21 lines
820 B
JavaScript
21 lines
820 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.resolveAssistantAddressLaneAttemptFollowupContext = resolveAssistantAddressLaneAttemptFollowupContext;
|
|
exports.buildAssistantAddressLaneAttemptQueryOptions = buildAssistantAddressLaneAttemptQueryOptions;
|
|
function resolveAssistantAddressLaneAttemptFollowupContext(carryMeta) {
|
|
return carryMeta?.followupContext && typeof carryMeta.followupContext === "object"
|
|
? carryMeta.followupContext
|
|
: null;
|
|
}
|
|
function buildAssistantAddressLaneAttemptQueryOptions(input) {
|
|
if (input.scopedFollowupContext) {
|
|
return {
|
|
followupContext: input.scopedFollowupContext,
|
|
analysisDateHint: input.analysisDateHint
|
|
};
|
|
}
|
|
return {
|
|
analysisDateHint: input.analysisDateHint
|
|
};
|
|
}
|