@flowio/api-factories 0.0.110 → 0.0.111
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/api.js +284 -1894
- package/dist/esm/api.js +240 -1859
- package/dist/types/api.d.ts +10 -1
- package/package.json +2 -2
- package/src/api.ts +229 -2155
package/dist/cjs/api.js
CHANGED
|
@@ -4,40 +4,40 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.makeAdyenV3ChallengeToken = exports.makeAdyenNativeData = exports.makeAdyenNativeActionDetails = exports.makeAdyenIdentifyShopperData = exports.makeAdyenChallengeShopperData = exports.makeAdjustmentReasonKey = exports.makeAdjustmentReason = exports.makeAddressVerificationResultFieldCode = exports.makeAddressVerificationResult = exports.makeAddressVerification = exports.makeAddressSuggestion = exports.makeAddressFieldValidation = exports.makeAddressFieldName = exports.makeAddressConfigurationProvinceTranslationLocale = exports.makeAddressConfigurationProvinceTranslation = exports.makeAddressConfigurationProvince = exports.makeAddressConfigurationFormat = exports.makeAddressConfigurationFieldPlacement = exports.makeAddressConfiguration = exports.makeAddress = exports.makeAdditionalServicesRequested = exports.makeAdditionalHandlingServiceFee = exports.makeActivationPutForm = exports.makeActionWait = exports.makeActionUseSdkStripeV3 = exports.makeActionUseSdkPaypal = exports.makeActionUseSdkKlarnaV1 = exports.makeActionUseSdkGooglepay = exports.makeActionUseSdkApplepayJsCreateSession = exports.makeActionUseSdkApplepayJsCompleteValidation = exports.makeActionUseSdkAdyenV4 = exports.makeActionUseSdkAdyenV3 = exports.makeActionSelectPaymentOption = exports.makeActionRedirect = exports.makeActionExecuteScript = exports.makeActionDisplayInlineWindow = exports.makeAction = exports.makeAchAuthorizationForm = exports.makeAccountTransactionsExportType = exports.makeAccountReference = exports.makeAccountOrdersExportType = exports.makeAccountIdReference = exports.makeAbandonedOrderSettings = exports.makeAbandonedOrderSettingStatus = exports.makeAbandonedOrderPromotionStatus = exports.makeAbandonedOrderPromotionForm = exports.makeAbandonedOrderPromotionDiscountDetails = exports.makeAbandonedOrderPromotionDetails = exports.makeAbandonedOrderPromotion = exports.makeAbandonedOrderEmailSettings = void 0;
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
12
|
-
exports.
|
|
13
|
-
exports.
|
|
14
|
-
exports.
|
|
15
|
-
exports.
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
exports.
|
|
22
|
-
exports.
|
|
23
|
-
exports.
|
|
24
|
-
exports.
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
34
|
-
exports.
|
|
35
|
-
exports.
|
|
36
|
-
exports.
|
|
37
|
-
exports.
|
|
38
|
-
exports.
|
|
39
|
-
exports.
|
|
40
|
-
exports.makeZone = exports.makeZeroLevyReasonCode = exports.makeZeroAmountIndicator = exports.makeWithholdingDeductionType = exports.makeWithholdingDeduction = exports.makeWebhookStatus = exports.makeWebhookSettings = exports.makeWebhookResponse = exports.makeWebhookRequestReference = exports.makeWebhookRequest = exports.makeWebhookReference = exports.makeWebhookForm = exports.makeWebhookDelivery = exports.makeWebhook = exports.makeVisibility = exports.makeVirtualCardVersion = exports.makeVirtualCardRefundVersion = exports.makeVirtualCardRefundUpserted = exports.makeVirtualCardRefundDeleted = exports.makeVirtualCardRefund = exports.makeVirtualCardReference = void 0;
|
|
7
|
+
exports.makeAuthorizationOption = exports.makeAuthorizationForm = exports.makeAuthorizationError = exports.makeAuthorizationDeletedV2 = exports.makeAuthorizationDeclineCode = exports.makeAuthorizationCopyForm = exports.makeAuthorizationCode = exports.makeAuthorizationActionResultAdyenV4 = exports.makeAuthorizationActionResultAdyenV3 = exports.makeAuthorization = exports.makeAuthenticationTechnique = exports.makeAuthenticationForm = exports.makeAttributeVersion = exports.makeAttributeUpsertedV2 = exports.makeAttributeUpserted = exports.makeAttributeIntent = exports.makeAttributeForm = exports.makeAttributeDeletedV2 = exports.makeAttributeDeleted = exports.makeAttributeDataType = exports.makeAttribute = exports.makeAttachment = exports.makeAtCost = exports.makeApplepaySdkValidateResultActionDetails = exports.makeApplepaySdkCreateResultActionDetails = exports.makeApplePayMerchantValidationPayload = exports.makeAnshItemUpserted = exports.makeAnshItemDeleted = exports.makeAnirbanItemUpserted = exports.makeAnirbanItemDeleted = exports.makeAnalyticsExportType = exports.makeAmountMarginForm = exports.makeAmountMargin = exports.makeAllocationV2 = exports.makeAllocationUpsertedV2 = exports.makeAllocationOrderSummary = exports.makeAllocationOrderDetail = exports.makeAllocationLineSummaryShipping = exports.makeAllocationLineSummaryLineItem = exports.makeAllocationLineSummary = exports.makeAllocationLineDetail = exports.makeAllocationLevyComponent = exports.makeAllocationDetailComponent = exports.makeAllocationDetail = exports.makeAllocationDeletedV2 = exports.makeAllocationComponent = exports.makeAllocation = exports.makeAldoItemUpserted = exports.makeAldoItemDeleted = exports.makeAdyenV3FingerprintToken = void 0;
|
|
8
|
+
exports.makeBehaviorAudit = exports.makeBankAccountSummary = exports.makeBankAccountReference = exports.makeBankAccountInfoUsa = exports.makeBankAccountInfoIta = exports.makeBankAccountInfoGbr = exports.makeBankAccountInfoFra = exports.makeBankAccountInfoCan = exports.makeBankAccountInfo = exports.makeBankAccountFormSimple = exports.makeBankAccountFormInfo = exports.makeBankAccountForm = exports.makeB2BInvoiceUpserted = exports.makeB2BInvoiceType = exports.makeB2BInvoiceReference = exports.makeB2BInvoiceDeleted = exports.makeB2BInvoice = exports.makeB2BCreditMemoUpserted = exports.makeB2BCreditMemoDeleted = exports.makeB2BCreditMemo = exports.makeAvsCode = exports.makeAvs = exports.makeAvalaraTaxSetting = exports.makeAvalaraTaxCsvSetting = exports.makeAvailableService = exports.makeAvailablePromotion = exports.makeAvailableFilterUnstructured = exports.makeAvailableFilterStructured = exports.makeAvailableFilterFormat = exports.makeAvailableFilter = exports.makeAvailabilityStatus = exports.makeAuthorizationVersion = exports.makeAuthorizationStatusChanged = exports.makeAuthorizationStatus = exports.makeAuthorizationRetryUpserted = exports.makeAuthorizationRetryDeleted = exports.makeAuthorizationRetry = exports.makeAuthorizationResultDescription = exports.makeAuthorizationResultActionWait = exports.makeAuthorizationResultActionType = exports.makeAuthorizationResultActionPost = exports.makeAuthorizationResultActionNative = exports.makeAuthorizationResultActionGet = exports.makeAuthorizationResultActionDetails = exports.makeAuthorizationResultAction = exports.makeAuthorizationResult = exports.makeAuthorizationReference = exports.makeAuthorizationPayloadParameters = exports.makeAuthorizationPayload = exports.makeAuthorizationOrderReference = void 0;
|
|
9
|
+
exports.makeCardType = exports.makeCardTokenForm = exports.makeCardSummary = exports.makeCardReference = exports.makeCardPaymentSourceSummary = exports.makeCardPaymentSourceForm = exports.makeCardPaymentSourceAuthorizationForm = exports.makeCardPaymentSource = exports.makeCardNumber = exports.makeCardNonceForm = exports.makeCardMetadata = exports.makeCardForm = exports.makeCardErrorCode = exports.makeCardError = exports.makeCardDeletedV2 = exports.makeCardDeleted = exports.makeCardConfirmationSummary = exports.makeCardBrowserActionConfiguration = exports.makeCardAuthorizationUpsertedV2 = exports.makeCardAuthorizationDeletedV2 = exports.makeCardAuthorizationActionResult = exports.makeCardAuthorization = exports.makeCard = exports.makeCaptureVersion = exports.makeCaptureUpsertedV2 = exports.makeCaptureStatus = exports.makeCaptureReference = exports.makeCaptureIdentifierUpserted = exports.makeCaptureIdentifierDeleted = exports.makeCaptureIdentifier = exports.makeCaptureForm = exports.makeCaptureError = exports.makeCaptureDeleted = exports.makeCaptureDeclineCode = exports.makeCapture = exports.makeCapability = exports.makeCancelReason = exports.makeCalendar = exports.makeBrowserInlineActionConfiguration = exports.makeBrowserInfo = exports.makeBrowserActionConfiguration = exports.makeBridgeShippingLabelForm = exports.makeBridgeManifestForm = exports.makeBridgeManifest = exports.makeBillingDiscount = exports.makeBillingChannelStatementReference = exports.makeBillingChannelPaymentRequestReference = exports.makeBillingChannelOrganizationSummary = exports.makeBillingChannelOrderSummary = exports.makeBillingAddress = void 0;
|
|
10
|
+
exports.makeChannelOrganizationForm = exports.makeChannelOrganizationDeleted = exports.makeChannelOrganizationAuthorizationForm = exports.makeChannelOrganizationAuthorization = exports.makeChannelOrganization = exports.makeChannelDeleted = exports.makeChannelDefaultBankAccount = exports.makeChannelCurrencyUpserted = exports.makeChannelCurrencyRate = exports.makeChannelCurrencyPair = exports.makeChannelCurrencyDeleted = exports.makeChannelCurrencyCapability = exports.makeChannelCurrency = exports.makeChannelBankAccount = exports.makeChannelAuthorizationForm = exports.makeChannelAuthorization = exports.makeChannel = exports.makeChangeType = exports.makeCenterVersion = exports.makeCenterUpserted = exports.makeCenterSummary = exports.makeCenterReference = exports.makeCenterQuery = exports.makeCenterForm = exports.makeCenterDeleted = exports.makeCenterCapability = exports.makeCenter = exports.makeCategorySummary = exports.makeCatalogVersion = exports.makeCatalogUpserted = exports.makeCatalogStatisticsUpserted = exports.makeCatalogStatisticsDeleted = exports.makeCatalogStatistics = exports.makeCatalogReference = exports.makeCatalogPriceBookItemDocument = exports.makeCatalogItemSummary = exports.makeCatalogItemReference = exports.makeCatalogItemExportType = exports.makeCatalogItemDocumentImages = exports.makeCatalogItemDocument = exports.makeCatalogDeleted = exports.makeCatalog = exports.makeCartReference = exports.makeCarrierService = exports.makeCarrierRestrictions = exports.makeCarrierReference = exports.makeCarrierChargeReason = exports.makeCarrier = exports.makeCardVersion = exports.makeCardUpsertedV2 = void 0;
|
|
11
|
+
exports.makeConsumerInvoiceDocumentType = exports.makeConsumerInvoiceDocument = exports.makeConsumerInvoiceDeleted = exports.makeConsumerInvoiceCustomerType = exports.makeConsumerInvoiceCenterReference = exports.makeConsumerInvoice = exports.makeConfirmationDetails = exports.makeCompany = exports.makeCommercialInvoiceFee = exports.makeCleartext = exports.makeCheckoutUrlsForm = exports.makeCheckoutUrls = exports.makeCheckoutTokenReferenceForm = exports.makeCheckoutTokenOrderForm = exports.makeCheckoutTokenForm = exports.makeCheckoutToken = exports.makeCheckoutReference = exports.makeCheckoutItemContentAttribute = exports.makeCheckoutItemContent = exports.makeCheckoutAttributeForm = exports.makeCheckoutAttribute = exports.makeChannelViesRegistrationForm = exports.makeChannelViesRegistration = exports.makeChannelUpserted = exports.makeChannelTransactionUpserted = exports.makeChannelTransactionDeletedV2 = exports.makeChannelTransactionDeleted = exports.makeChannelTransaction = exports.makeChannelTokenReference = exports.makeChannelTokenForm = exports.makeChannelToken = exports.makeChannelStatementUpserted = exports.makeChannelStatementDeleted = exports.makeChannelStatement = exports.makeChannelShopifyOrderSummary = exports.makeChannelShopifyOrderStateUpserted = exports.makeChannelShopifyOrderStateReasonCode = exports.makeChannelShopifyOrderStateReason = exports.makeChannelShopifyOrderStateDeleted = exports.makeChannelShopifyOrderState = exports.makeChannelReference = exports.makeChannelRate = exports.makeChannelPendingPayoutTransactionUpserted = exports.makeChannelPendingPayoutTransactionDeleted = exports.makeChannelPendingPayoutTransaction = exports.makeChannelPayoutUpserted = exports.makeChannelPayoutDeleted = exports.makeChannelPayout = exports.makeChannelOrganizationUpserted = exports.makeChannelOrganizationPutForm = void 0;
|
|
12
|
+
exports.makeCurrencySymbols = exports.makeCurrencySymbolFormat = exports.makeCurrencyLabelFormatter = exports.makeCurrencyFormat = exports.makeCurrency = exports.makeCsvPriceBookItemExportRowBySku = exports.makeCsvPriceBookItemExportRowByItemNumber = exports.makeCryptopayAuthorizationDetails = exports.makeCrossdockShipmentUpserted = exports.makeCrossdockShipment = exports.makeCrossdockRatecardFee = exports.makeCreditPaymentVersion = exports.makeCreditPaymentForm = exports.makeCreditPaymentErrorCode = exports.makeCreditPaymentError = exports.makeCreditPayment = exports.makeCreditMemoUpserted = exports.makeCreditMemoForm = exports.makeCreditMemoDeleted = exports.makeCreditMemo = exports.makeCountryStatusForm = exports.makeCountryStatus = exports.makeCountryShippingPricing = exports.makeCountryPickerSource = exports.makeCountryPickerForm = exports.makeCountryPicker = exports.makeCountryOfOriginForm = exports.makeCountryOfOrigin = exports.makeCountryDefaults = exports.makeCountryAvailability = exports.makeCountry = exports.makeCostEstimateSource = exports.makeContact = exports.makeConsumerInvoiceUpserted = exports.makeConsumerInvoiceStatus = exports.makeConsumerInvoiceReference = exports.makeConsumerInvoicePayment = exports.makeConsumerInvoiceOrderSummary = exports.makeConsumerInvoiceLineShippingForm = exports.makeConsumerInvoiceLineShipping = exports.makeConsumerInvoiceLineItemForm = exports.makeConsumerInvoiceLineItem = exports.makeConsumerInvoiceLineForm = exports.makeConsumerInvoiceLineDiscountForm = exports.makeConsumerInvoiceLineDiscount = exports.makeConsumerInvoiceLine = exports.makeConsumerInvoiceLevyForm = exports.makeConsumerInvoiceLevy = exports.makeConsumerInvoiceFormByOrder = exports.makeConsumerInvoiceForm = void 0;
|
|
13
|
+
exports.makeDeliveryWindowComponents = exports.makeDeliveryWindowComponentSource = exports.makeDeliveryWindowComponent = exports.makeDeliveryWindow = exports.makeDeliveryVersion = exports.makeDeliverySummary = exports.makeDeliveryOptionVersion = exports.makeDeliveryOptionSummary = exports.makeDeliveryOptionReference = exports.makeDeliveryOptionForm = exports.makeDeliveryOptionCostDetailSource = exports.makeDeliveryOptionCostDetailComponentKey = exports.makeDeliveryOptionCostDetail = exports.makeDeliveryOptionCostComponent = exports.makeDeliveryOption = exports.makeDeliveryItem = exports.makeDelivery = exports.makeDeliveredDutySetting = exports.makeDeliveredDutyDisplayType = exports.makeDeliveredDuty = exports.makeDefaultBankAccountForm = exports.makeDeadWeight = exports.makeDeactivationPutForm = exports.makeDdpRatecardFee = exports.makeDayOfWeek = exports.makeDatetimeWithTimezone = exports.makeDatetimeRange = exports.makeCvvResultCode = exports.makeCvvResult = exports.makeCvvCode = exports.makeCvv = exports.makeCustomerToken = exports.makeCustomerReference = exports.makeCustomerPutForm = exports.makeCustomerPurgeSettingsForm = exports.makeCustomerPurgeSettings = exports.makeCustomerPayment = exports.makeCustomerOrder = exports.makeCustomerLastUsed = exports.makeCustomerInvoice = exports.makeCustomerForm = exports.makeCustomerClientToken = exports.makeCustomerBundle = exports.makeCustomerAddressType = exports.makeCustomerAddressPreference = exports.makeCustomerAddressBookForm = exports.makeCustomerAddressBookContactForm = exports.makeCustomerAddressBookContact = exports.makeCustomerAddressBook = exports.makeCustomer = void 0;
|
|
14
|
+
exports.makeDutyItemForm = exports.makeDutyItemApprovalStatus = exports.makeDutyItemApprovalForm = exports.makeDutyItemApproval = exports.makeDutyItem = exports.makeDuty = exports.makeDutiesTaxesPaidSurchargeServiceFee = exports.makeDutiesTaxesPaidSurchargeRatecardFee = exports.makeDuration = exports.makeDocument = exports.makeDisputeReference = exports.makeDiscountsForm = exports.makeDiscountTarget = exports.makeDiscountRuleSubsidyTarget = exports.makeDiscountRuleSubsidyEntitlement = exports.makeDiscountRuleStatus = exports.makeDiscountRuleSettingsForm = exports.makeDiscountRuleSettings = exports.makeDiscountRuleOffer = exports.makeDiscountRuleEntitlement = exports.makeDiscountRule = exports.makeDiscountOfferPercent = exports.makeDiscountOfferFixed = exports.makeDiscountOffer = exports.makeDiscountForm = exports.makeDiscount = exports.makeDirection = exports.makeDirectDebit = exports.makeDirectAuthorizationForm = exports.makeDimensions = exports.makeDimensionalWeight = exports.makeDimensionEstimateVersion = exports.makeDimensionEstimateForm = exports.makeDimensionEstimate = exports.makeDimension = exports.makeDigitalDelivery = exports.makeDeviceFingerprintDetailsBrowser = exports.makeDeviceFingerprintDetails = exports.makeDeviceDetailsBrowser = exports.makeDeviceDetails = exports.makeDetailedTaxRegistration = exports.makeDetailedShippingNotificationForm = exports.makeDetailedShippingLabelForm = exports.makeDestinationContactDetail = exports.makeDeminimisSimple = exports.makeDeminimisPerItem = exports.makeDeminimis = exports.makeDeliveryWindowSummary = exports.makeDeliveryWindowLocation = exports.makeDeliveryWindowComponentsV2 = void 0;
|
|
15
|
+
exports.makeExperienceCheckoutSettings = exports.makeExperienceCheckoutConfigurationSettings = exports.makeExperience = exports.makeExpandableUser = exports.makeExpandableSubcatalog = exports.makeExpandablePaymentProcessor = exports.makeExpandableOrganization = exports.makeExpandableOrder = exports.makeExpandableExperience = exports.makeExpandableCenter = exports.makeExpandableCard = exports.makeExclusionRulesExportType = exports.makeExclusionRuleVersion = exports.makeExclusionRuleStatistic = exports.makeExclusionRuleState = exports.makeExclusionRuleForm = exports.makeExclusionRule = exports.makeExchangedMoney = exports.makeExceptionType = exports.makeException = exports.makeEventType = exports.makeEvent = exports.makeEstimatedWindow = exports.makeEstimatedDimensions = exports.makeEnvironment = exports.makeEntityIdentifierType = exports.makeEntityIdentifier = exports.makeEntity = exports.makeEmergencySituationSurchargeServiceFee = exports.makeEmergencySituationSurchargeRatecardFee = exports.makeEmailVerification = exports.makeEmailRecipient = exports.makeEmailPaymentSummary = exports.makeEmailNotificationForm = exports.makeEmailNotificationDataRefund = exports.makeEmailNotificationData = exports.makeEmailNotificationAbandonedOrder = exports.makeEmailNotification = exports.makeEmailAbandonedOrderUrls = exports.makeEmailAbandonedOrderPromotion = exports.makeEeiFilingServiceFee = exports.makeEeiFilingRatecardFee = exports.makeEditSummary = exports.makeEconomicTitleLocation = exports.makeEcommercePlatformUpserted = exports.makeEcommercePlatformType = exports.makeEcommercePlatformForm = exports.makeEcommercePlatformDeleted = exports.makeEcommercePlatform = exports.makeDutyItemProducer = void 0;
|
|
16
|
+
exports.makeFeeDeductionType = exports.makeFeeDeduction = exports.makeExternalCard = exports.makeExporterOfRecord = exports.makeExportVersion = exports.makeExportType = exports.makeExportStatus = exports.makeExportLocalizedItemPricesDetail = exports.makeExportLocalizedItemPrices = exports.makeExportForm = exports.makeExportDeliveryEmail = exports.makeExportDelivery = exports.makeExport = exports.makeExpiration = exports.makeExperienceVersion = exports.makeExperienceSummary = exports.makeExperienceStatusForm = exports.makeExperienceStatus = exports.makeExperienceSettings = exports.makeExperienceReference = exports.makeExperiencePriceFacetConversionResponse = exports.makeExperiencePriceFacetConversionRequest = exports.makeExperiencePriceFacetConversion = exports.makeExperiencePriceConversionResponse = exports.makeExperiencePriceConversionRequest = exports.makeExperiencePriceConversion = exports.makeExperiencePriceBookMappingPutForm = exports.makeExperiencePriceBookMappingForm = exports.makeExperiencePriceBookMapping = exports.makeExperiencePaymentMethodTag = exports.makeExperiencePaymentMethodRuleForm = exports.makeExperiencePaymentMethodRule = exports.makeExperienceOverview = exports.makeExperienceLogisticsTierSummaryPrices = exports.makeExperienceLogisticsTierSummary = exports.makeExperienceLogisticsSummary = exports.makeExperienceLogisticsSettingsPutForm = exports.makeExperienceLogisticsSettings = exports.makeExperienceGeo = exports.makeExperienceForm = exports.makeExperienceExportType = exports.makeExperienceDefaults = exports.makeExperienceCurrencyFormatForm = exports.makeExperienceCurrencyFormat = exports.makeExperienceCountryStatus = exports.makeExperienceConfigurationReference = exports.makeExperienceCloneStatus = exports.makeExperienceCloneForm = exports.makeExperienceClone = exports.makeExperienceCheckoutSettingsForm = void 0;
|
|
17
|
+
exports.makeFulfillmentCancellationForm = exports.makeFulfillment = exports.makeFuelSurchargeServiceFee = exports.makeFuelSurchargeRatecardFee = exports.makeFuelSurchargeRate = exports.makeFuelSurchargePercent = exports.makeFuelSurchargeByWeight = exports.makeFuelSurchargeAmountByWeightServiceFee = exports.makeFtpUser = exports.makeFtpServer = exports.makeFtpOrganizationSettingsForm = exports.makeFtpOrganizationSettings = exports.makeFtpFolderForm = exports.makeFtpFolder = exports.makeFtpFileSource = exports.makeFtpFileForm = exports.makeFtpFile = exports.makeFtpAccount = exports.makeFreeShippingOrderPromotionForm = exports.makeFreeShippingOrderPromotion = exports.makeFreeShipping = exports.makeFraudStatusChanged = exports.makeFraudStatus = exports.makeFraudPaymentRequestReference = exports.makeFraudOrderReference = exports.makeFraudLiability = exports.makeFraudFlowOrderReference = exports.makeFraudEmailRuleForm = exports.makeFraudEmailRuleDecision = exports.makeFraudEmailRule = exports.makeFlowTransaction = exports.makeFlowRole = exports.makeFlowItemIndexMetadata = exports.makeFlowEntity = exports.makeFlowCenterReference = exports.makeFlowBehavior = exports.makeFlatRateForm = exports.makeFlatRate = exports.makeFixedFeeCondition = exports.makeFixedDdpServiceFee = exports.makeFixedDdpRatecardFee = exports.makeFixedCurrencyConversionServiceFee = exports.makeFixedCurrencyConversionRatecardFee = exports.makeFieldValidationRule = exports.makeFieldValidationRequiredIfPresent = exports.makeFieldValidationRequired = exports.makeFieldValidationPattern = exports.makeFieldValidationMin = exports.makeFieldValidationMax = exports.makeFeeWeight = void 0;
|
|
18
|
+
exports.makeHolidayCalendar = exports.makeHealthcheck = exports.makeHeader = exports.makeHarmonizedLandedCostUpserted = exports.makeHarmonizedLandedCostItem = exports.makeHarmonizedLandedCostForm = exports.makeHarmonizedLandedCost = exports.makeHarmonizedItemReference = exports.makeHarmonizedItemPutForm = exports.makeHarmonizedItemForm = exports.makeHarmonizedItem = exports.makeHarmonizedCategoryReference = exports.makeHarmonizationTariffCodesExportType = exports.makeHarmonizationOverviewExportType = exports.makeHarmonizationHs6ExportType = exports.makeHarmonizationHs10ExportType = exports.makeHarmonizationDocument = exports.makeGraphqlResponse = exports.makeGraphqlRequest = exports.makeGooglePayAuthorizationPayload = exports.makeGoodsSupply = exports.makeGeoForm = exports.makeGenericErrorCode = exports.makeGenericError = exports.makeGenerateLoad = exports.makeGeRestrictionEvent = exports.makeGeProductRestrictionResultUpsert = exports.makeGeProductRestrictionResultDelete = exports.makeGeItemUpdated = exports.makeGeItemInserted = exports.makeGeItemDeleted = exports.makeGeInputPrice = exports.makeGeInputAttributes = exports.makeGeEventType = exports.makeGeCatalogItemInput = exports.makeGeCatalogItemIngestionResult = exports.makeGeCatalogItemIngestionResponse = exports.makeGatewayAuthenticationDataForm = exports.makeGatewayAuthenticationData = exports.makeFullyHarmonizedItemUpserted = exports.makeFulfillmentRouting = exports.makeFulfillmentMethodValue = exports.makeFulfillmentMethodType = exports.makeFulfillmentLineCancelForm = exports.makeFulfillmentItemQuantityStatus = exports.makeFulfillmentItemQuantity = exports.makeFulfillmentItemAllocationDetails = exports.makeFulfillmentItem = exports.makeFulfillmentExperienceReference = exports.makeFulfillmentCompleteCancellationForm = void 0;
|
|
19
|
+
exports.makeInvitationForm = exports.makeInvitationErrorCode = exports.makeInvitationError = exports.makeInvitation = exports.makeInputSpecificationType = exports.makeInputSpecificationLimitations = exports.makeInputSpecificationLimitationMax = exports.makeInputSpecificationLimitation = exports.makeInputSpecification = exports.makeInputFormSpecification = exports.makeInputForm = exports.makeInlineWindowViewportSize = exports.makeInlineAuthorizationForm = exports.makeInlineAuthorizationDetails = exports.makeInlineActionConfiguration = exports.makeIndividual = exports.makeIndirectTax = exports.makeIncotermSummary = exports.makeIncotermIncludes = exports.makeIncotermConfiguration = exports.makeIncoterm = exports.makeIncludedLevyKey = exports.makeIncludedLevies = exports.makeInboundCartonFee = exports.makeInComplianceReview = exports.makeImportVersion = exports.makeImportType = exports.makeImportTemplateForm = exports.makeImportTemplateExample = exports.makeImportTemplate = exports.makeImportResults = exports.makeImportForm = exports.makeImport = exports.makeImageTag = exports.makeImageForm = exports.makeImage = exports.makeIdentifierForm = exports.makeHs6CodeUpserted = exports.makeHs6CodeDeleted = exports.makeHs6 = exports.makeHs10Version = exports.makeHs10CodeUpserted = exports.makeHs10CodeDeleted = exports.makeHs10 = exports.makeHoseinItemUpserted = exports.makeHoseinItemDeleted = exports.makeHopV2 = exports.makeHopEstimateV2 = exports.makeHopEstimate = exports.makeHop = void 0;
|
|
20
|
+
exports.makeLabelSurcharge = exports.makeLabelRequestMethod = exports.makeLabelReference = exports.makeLabelProcessingModificationUpserted = exports.makeLabelProcessingModificationDeleted = exports.makeLabelProcessingModification = exports.makeLabelOrderSummary = exports.makeLabelDeletedV2 = exports.makeLabelBase = exports.makeKubeHealthcheck = exports.makeKnowYourBusinessUsaForm = exports.makeKnowYourBusinessUsa = exports.makeKnowYourBusinessForm = exports.makeKnowYourBusiness = exports.makeKlaviyoOrderPrices = exports.makeKlaviyoOrderContent = exports.makeKlaviyoLineItem = exports.makeKlarnaSdkAuthorizationResultActionDetails = exports.makeKlarnaPaymentMethodCategory = exports.makeKlarnaPaymentCategory = exports.makeJsonpResponse = exports.makeItemVersion = exports.makeItemUpdated = exports.makeItemStatistics = exports.makeItemShippingPricing = exports.makeItemReference = exports.makeItemQuerySuggestion = exports.makeItemPriceUpdatePutForm = exports.makeItemPriceUpdateForm = exports.makeItemOriginUpserted = exports.makeItemOriginDeleted = exports.makeItemMarginVersion = exports.makeItemMarginPutForm = exports.makeItemMarginPostForm = exports.makeItemMargin = exports.makeItemInserted = exports.makeItemIdentifier = exports.makeItemFormOverlayForm = exports.makeItemFormOverlay = exports.makeItemForm = exports.makeItemDeleted = exports.makeItemAvailabilityStatus = exports.makeItemAttributesPatchForm = exports.makeItem = exports.makeIssuerV1 = exports.makeIssuerSummary = exports.makeIssuerReference = exports.makeInvoiceExportForm = exports.makeInvoiceExport = exports.makeInvitationVersion = void 0;
|
|
21
|
+
exports.makeLogisticsFormatPreference = exports.makeLogisticsFormat = exports.makeLocationErrorCode = exports.makeLocationError = exports.makeLocalizedTranslation = exports.makeLocalizedTotal = exports.makeLocalizedPrice = exports.makeLocalizedLineItemDiscount = exports.makeLocalizedLineItem = exports.makeLocalizedItemVat = exports.makeLocalizedItemPricesExportType = exports.makeLocalizedItemPrice = exports.makeLocalizedItemDuty = exports.makeLocalizedAdjustment = exports.makeLocaleNumbers = exports.makeLocale = exports.makeLocalSession = exports.makeLocalPriceDetails = exports.makeLocalItemPricing = exports.makeLocalItemAttributePricing = exports.makeLocalItem = exports.makeLocal = exports.makeLink = exports.makeLineItemQuantityForm = exports.makeLineItemForm = exports.makeLineItemAttributesForm = exports.makeLineItem = exports.makeLine = exports.makeLevyStrategy = exports.makeLevyInclusion = exports.makeLevyComponent = exports.makeLargePackageServiceFee = exports.makeLanguage = exports.makeLaneSummary = exports.makeLaneStrategy = exports.makeLanePreselectPreference = exports.makeLaneLandedCost = exports.makeLaneDirection = exports.makeLandedCostItem = exports.makeLabelUpsertedV2 = exports.makeLabelUpserted = exports.makeLabelUnits = exports.makeLabelTriggerMethod = exports.makeLabelTrackingSummaryUpdate = exports.makeLabelTrackingSummary = exports.makeLabelTrackingCarrierService = exports.makeLabelSurchargeDetailPercentage = exports.makeLabelSurchargeDetailPerWeightUnit = exports.makeLabelSurchargeDetailFlat = exports.makeLabelSurchargeDetail = void 0;
|
|
22
|
+
exports.makeMoneyWithBase = exports.makeMoney = exports.makeMethod = exports.makeMerchantRejectedReason = exports.makeMerchantRejected = exports.makeMerchantOnboardingAddress = exports.makeMerchantOfRecordPaymentForm = exports.makeMerchantOfRecordEntityRegistration = exports.makeMerchantOfRecordEntity = exports.makeMerchantOfRecordAuthorizationForm = exports.makeMerchantOfRecord = exports.makeMerchantInfo = exports.makeMerchantGiftCardReversalForm = exports.makeMerchantGiftCardReversal = exports.makeMerchantGiftCardRedemptionForm = exports.makeMerchantGiftCardRedemption = exports.makeMerchantGiftCardErrorCode = exports.makeMerchantGiftCardError = exports.makeMerchantGiftCardBalanceForm = exports.makeMerchantGiftCardBalance = exports.makeMerchantDisabledReason = exports.makeMerchantDisabled = exports.makeMerchantDeactivated = exports.makeMerchantApplicationsSummary = exports.makeMerchantApplicationUpserted = exports.makeMerchantApplicationPutForm = exports.makeMerchantApplicationForm = exports.makeMerchantApplicationDeleted = exports.makeMerchantApplication = exports.makeMerchantActivated = exports.makeMembershipVersion = exports.makeMembershipUpsertedV2 = exports.makeMembershipPutForm = exports.makeMembershipForm = exports.makeMembershipDeletedV2 = exports.makeMembership = exports.makeMeasurementSystem = exports.makeMeasurement = exports.makeMarketingFeedsExportType = exports.makeMarginType = exports.makeMargin = exports.makeManifestedLabelUpserted = exports.makeManifestedLabelDeleted = exports.makeManifestForm = exports.makeManifest = exports.makeLogoImageSvg = exports.makeLogoImageStatic = exports.makeLogoImageSetStatic = exports.makeLogoImage = exports.makeLogisticsSettings = void 0;
|
|
23
|
+
exports.makeOrderForm = exports.makeOrderExportType = exports.makeOrderEstimateForm = exports.makeOrderEstimate = exports.makeOrderErrorCode = exports.makeOrderError = exports.makeOrderDetails = exports.makeOrderDestinationPutForm = exports.makeOrderDeletedV2 = exports.makeOrderCustomerForm = exports.makeOrderCustomer = exports.makeOrderChangeSource = exports.makeOrderBuilderSelectionsForm = exports.makeOrderBuilderDestinationForm = exports.makeOrderBuilderDestinationCountryForm = exports.makeOrderBuilderDeliveredDutyForm = exports.makeOrderBuilderCustomerInvoiceAddressForm = exports.makeOrderBuilderCustomerForm = exports.makeOrderBuilderAttributesForm = exports.makeOrderBuilder = exports.makeOrderAddress = exports.makeOrder = exports.makeOptions = exports.makeOptionWeightEstimates = exports.makeOperationsContact = exports.makeOnlinePaymentAuthorizationForm = exports.makeOnlineAuthorizationUpsertedV2 = exports.makeOnlineAuthorizationDetails = exports.makeOnlineAuthorizationDeletedV2 = exports.makeOnlineAuthorization = exports.makeOnboardingTradeSector = exports.makeOnboardingStateTransition = exports.makeOnboardingState = exports.makeOnboardingOrganizationReference = exports.makeOnboardingMerchantTime = exports.makeOnboardingMerchantScheduledPickup = exports.makeOnboardingMerchantPickupWindow = exports.makeOnboardingBlockedReason = exports.makeOnboardingApplicationStatus = exports.makeNumberRange = exports.makeNotificationUpsertedV2 = exports.makeNotificationDeletedV2 = exports.makeNiallItemUpserted = exports.makeNiallItemDeleted = exports.makeNeedsActionAttributes = exports.makeNameForm = exports.makeName = exports.makeMonthlyAverageVolume = exports.makeMonthlyAverage = exports.makeMoneyWithOptionalBase = void 0;
|
|
24
|
+
exports.makeOrderReplacement = exports.makeOrderRefundSummaryPartialIncludes = exports.makeOrderRefundSummaryPartialForm = exports.makeOrderRefundSummaryPartialCharged = exports.makeOrderRefundSummaryItem = exports.makeOrderRefundSummaryIncludes = exports.makeOrderRefundSummaryFullForm = exports.makeOrderRefundSummaryForm = exports.makeOrderRefundSummaryAmounts = exports.makeOrderRefundSummary = exports.makeOrderReference = exports.makeOrderRate = exports.makeOrderPutForm = exports.makeOrderPromotionTrigger = exports.makeOrderPromotionForm = exports.makeOrderPromotion = exports.makeOrderPriceFeeType = exports.makeOrderPriceFee = exports.makeOrderPriceDetailKey = exports.makeOrderPriceDetailComponentKey = exports.makeOrderPriceDetailComponent = exports.makeOrderPriceDetailBreakdown = exports.makeOrderPriceDetail = exports.makeOrderPlacedV2 = exports.makeOrderPlacedDetails = exports.makeOrderPlaced = exports.makeOrderPaymentType = exports.makeOrderPaymentSourceType = exports.makeOrderPayment = exports.makeOrderOptions = exports.makeOrderNumberReference = exports.makeOrderNumberGeneratorUuid = exports.makeOrderNumberGeneratorPrefixSuffix = exports.makeOrderNumberGeneratorHexadecimal = exports.makeOrderNumberGeneratorGeneratedNumber = exports.makeOrderNumberGeneratorFixedLength = exports.makeOrderNumberGeneratorDefaults = exports.makeOrderNumberGenerator = exports.makeOrderMerchantOfRecord = exports.makeOrderInformationFlow = exports.makeOrderInformationDetails = exports.makeOrderInformation = exports.makeOrderIdentifierVersion = exports.makeOrderIdentifierUpsertedV3 = exports.makeOrderIdentifierPutForm = exports.makeOrderIdentifierForm = exports.makeOrderIdentifierDeletedV2 = exports.makeOrderIdentifier = exports.makeOrderGeo = exports.makeOrderFraudStatus = void 0;
|
|
25
|
+
exports.makeOrganizationTokenFormV2 = exports.makeOrganizationTokenForm = exports.makeOrganizationToken = exports.makeOrganizationSummary = exports.makeOrganizationStatus = exports.makeOrganizationSessionAuthorization = exports.makeOrganizationSession = exports.makeOrganizationReference = exports.makeOrganizationRatesPublished = exports.makeOrganizationRatesData = exports.makeOrganizationPutForm = exports.makeOrganizationPendingPayoutTransactionUpserted = exports.makeOrganizationPendingPayoutTransactionDeleted = exports.makeOrganizationPendingPayoutTransaction = exports.makeOrganizationPayoutUpserted = exports.makeOrganizationPayoutDeleted = exports.makeOrganizationPayout = exports.makeOrganizationPaymentMethodTag = exports.makeOrganizationOnboardingStateUpserted = exports.makeOrganizationOnboardingStateDeleted = exports.makeOrganizationOnboardingState = exports.makeOrganizationForm = exports.makeOrganizationDeletedV2 = exports.makeOrganizationDeleted = exports.makeOrganizationDefaults = exports.makeOrganizationDefaultBankAccount = exports.makeOrganizationBankAccount = exports.makeOrganizationAuthorizationForm = exports.makeOrganizationAuthorization = exports.makeOrganization = exports.makeOrderWithDiscountsForm = exports.makeOrderVersion = exports.makeOrderUpsertedV2 = exports.makeOrderType = exports.makeOrderSummaryPriceDetail = exports.makeOrderSummaryLineItem = exports.makeOrderSummaryLevy = exports.makeOrderSummaryItem = exports.makeOrderSummaryImage = exports.makeOrderSummary = exports.makeOrderSubmissionIdentifierForm = exports.makeOrderSubmissionForm = exports.makeOrderStorage = exports.makeOrderStatus = exports.makeOrderServiceChangeRequestData = exports.makeOrderServiceChangeForm = exports.makeOrderServiceChange = exports.makeOrderRulesSummary = exports.makeOrderRuleReference = exports.makeOrderReplacementForm = void 0;
|
|
26
|
+
exports.makePaymentError = exports.makePaymentDuty = exports.makePaymentDiscount = exports.makePaymentDeleted = exports.makePaymentCryptopay = exports.makePaymentContactShipping = exports.makePaymentContactBilling = exports.makePaymentCaptureStatus = exports.makePaymentCaptureOptionManual = exports.makePaymentCaptureOptionAutomaticImmediate = exports.makePaymentCaptureOption = exports.makePaymentCaptureForm = exports.makePaymentCapture = exports.makePaymentAuthorizationStatus = exports.makePaymentAuthorization = exports.makePaymentAddressShipping = exports.makePaymentAddressBilling = exports.makePaymentAddress = exports.makePaymentActionType = exports.makePayment = exports.makePasswordResetRequestForm = exports.makePasswordResetForm = exports.makePasswordChangeForm = exports.makePartnerTokenReference = exports.makePartnerTokenForm = exports.makePartnerToken = exports.makePartnerReference = exports.makePartnerCenterForm = exports.makePartnerCenterFee = exports.makePartnerCenter = exports.makeParentTransactionSummary = exports.makePackaging = exports.makePackageDimensionsSource = exports.makePackageDimensionsForm = exports.makePackageDimensions = exports.makeOverweightPieceSurchargeServiceFee = exports.makeOversizePieceSurchargeServiceFee = exports.makeOversizePieceSurchargeRatecardFee = exports.makeOutboundCartonFee = exports.makeOriginalPrices = exports.makeOriginLocationSource = exports.makeOrganizationVersion = exports.makeOrganizationUpsertedV2 = exports.makeOrganizationUpserted = exports.makeOrganizationType = exports.makeOrganizationTransactionUpserted = exports.makeOrganizationTransactionDeleted = exports.makeOrganizationTokenV2Reference = exports.makeOrganizationTokenV2 = exports.makeOrganizationTokenReference = void 0;
|
|
27
|
+
exports.makePaymentMethodImage = exports.makePaymentMethodDataValidateApplepay = exports.makePaymentMethodDataSelectedPaymentOption = exports.makePaymentMethodDataPaymentOption = exports.makePaymentMethodDataOptionType = exports.makePaymentMethodDataOptionLogoSvg = exports.makePaymentMethodDataOptionLogo = exports.makePaymentMethodDataInitVipps = exports.makePaymentMethodDataInitTwint = exports.makePaymentMethodDataInitSofort = exports.makePaymentMethodDataInitPrzelewy24 = exports.makePaymentMethodDataInitPaypal = exports.makePaymentMethodDataInitMobilepay = exports.makePaymentMethodDataInitKlarna = exports.makePaymentMethodDataInitKcpCreditcard = exports.makePaymentMethodDataInitIdeal = exports.makePaymentMethodDataInitGrabpay = exports.makePaymentMethodDataInitGooglepay = exports.makePaymentMethodDataInitBancontact = exports.makePaymentMethodDataInitApplepay = exports.makePaymentMethodDataInitAfterpay = exports.makePaymentMethodDataCompleteAuthorizationCard = exports.makePaymentMethodDataAuthorizePaypal = exports.makePaymentMethodDataAuthorizeKlarnaResultSuccess = exports.makePaymentMethodDataAuthorizeKlarnaResultFailure = exports.makePaymentMethodDataAuthorizeKlarnaResult = exports.makePaymentMethodDataAuthorizeKlarna = exports.makePaymentMethodDataAuthorizeGooglepay = exports.makePaymentMethodDataAuthorizeCard = exports.makePaymentMethodDataAuthorizeApplepayResultSuccess = exports.makePaymentMethodDataAuthorizeApplepayResultFailure = exports.makePaymentMethodDataAuthorizeApplepayResult = exports.makePaymentMethodDataAuthorizeApplepay = exports.makePaymentMethodData = exports.makePaymentMethodCardToken = exports.makePaymentMethodCardPciDetails = exports.makePaymentMethodCardNumberCleartext = exports.makePaymentMethodCardNumberCipher = exports.makePaymentMethodCard = exports.makePaymentMethodCapability = exports.makePaymentMethodBrand = exports.makePaymentMethodActionCancellation = exports.makePaymentMethod = exports.makePaymentInformation = exports.makePaymentForm = exports.makePaymentFeeType = exports.makePaymentFee = exports.makePaymentFailureCode = exports.makePaymentFailure = exports.makePaymentErrorCode = void 0;
|
|
28
|
+
exports.makePaymentRequestCancellationReason = exports.makePaymentRequestBundleForm = exports.makePaymentRequestBundle = exports.makePaymentRequestBillingFees = exports.makePaymentRequestBillingCurrencyRate = exports.makePaymentRequestBilling = exports.makePaymentRequest = exports.makePaymentRefundStatus = exports.makePaymentRefundForm = exports.makePaymentRefund = exports.makePaymentReference = exports.makePaymentProcessorTransactionDetailsCard = exports.makePaymentProcessorTransactionDetailsApm = exports.makePaymentProcessorTransactionDetails = exports.makePaymentProcessorReference = exports.makePaymentProcessorIdentifier = exports.makePaymentProcessorAccountReference = exports.makePaymentProcessorAccount = exports.makePaymentProcessor = exports.makePaymentPaypal = exports.makePaymentPaymentRequestReference = exports.makePaymentPaymentMethod = exports.makePaymentOrderReference = exports.makePaymentOrderDetailsLineItem = exports.makePaymentMethodType = exports.makePaymentMethodTag = exports.makePaymentMethodSummaryVipps = exports.makePaymentMethodSummaryTwint = exports.makePaymentMethodSummarySofort = exports.makePaymentMethodSummaryPrzelewy24 = exports.makePaymentMethodSummaryPaypal = exports.makePaymentMethodSummaryMobilepay = exports.makePaymentMethodSummaryKlarna = exports.makePaymentMethodSummaryKcpCreditcard = exports.makePaymentMethodSummaryIdeal = exports.makePaymentMethodSummaryGrabpay = exports.makePaymentMethodSummaryGooglepay = exports.makePaymentMethodSummaryCard = exports.makePaymentMethodSummaryBancontact = exports.makePaymentMethodSummaryApplepay = exports.makePaymentMethodSummaryAfterpay = exports.makePaymentMethodSummary = exports.makePaymentMethodStoredDetailsCardSubsequent = exports.makePaymentMethodStoredDetailsCardInitial = exports.makePaymentMethodStoredDetailsCard = exports.makePaymentMethodRuleContentKey = exports.makePaymentMethodRuleContent = exports.makePaymentMethodRule = exports.makePaymentMethodIssuer = exports.makePaymentMethodImages = void 0;
|
|
29
|
+
exports.makePreferentialRateEligibility = exports.makePostalType = exports.makePostPaymentRedirectUrls = exports.makePhysicalDeliverySpecialSerivce = exports.makePhysicalDeliveryPreferredService = exports.makePhysicalDelivery = exports.makePermittedRoute = exports.makePermittedHttpMethod = exports.makePermissionCheck = exports.makePermissionAudit = exports.makePercentMargin = exports.makePendingPayoutTransactionTimeout = exports.makePendingPayoutTransactionReasonCode = exports.makePendingPayoutTransactionReason = exports.makePeakSurchargeServiceFee = exports.makePeakSurchargeRatecardFee = exports.makePeakSurchargeByWeightServiceFee = exports.makePaypalAuthorizationForm = exports.makePaypalAuthorizationDetails = exports.makePayoutTransaction = exports.makePayoutStatusSent = exports.makePayoutStatusScheduled = exports.makePayoutStatusFailureCode = exports.makePayoutStatusFailed = exports.makePayoutStatus = exports.makePayoutReference = exports.makePayoutAttachmentType = exports.makePayoutAttachment = exports.makePaymentVersion = exports.makePaymentUpserted = exports.makePaymentType = exports.makePaymentTax = exports.makePaymentStatus = exports.makePaymentSourceForm = exports.makePaymentSourceConfirmationActionType = exports.makePaymentSourceConfirmationAction = exports.makePaymentSource = exports.makePaymentReversalStatus = exports.makePaymentReversalForm = exports.makePaymentReversal = exports.makePaymentRequestUpserted = exports.makePaymentRequestReviewStatus = exports.makePaymentRequestReviewCheckType = exports.makePaymentRequestReviewCheckStatus = exports.makePaymentRequestReviewCheck = exports.makePaymentRequestReview = exports.makePaymentRequestReference = exports.makePaymentRequestForm = exports.makePaymentRequestDeleted = exports.makePaymentRequestCancellationReasonOrderMissing = void 0;
|
|
30
|
+
exports.makePromotion = exports.makeProductUpdated = exports.makeProductTaxonomyValue = exports.makeProductTaxonomyData = exports.makeProductTaxonomyCategory = exports.makeProductSellabilityForm = exports.makeProductSellability = exports.makeProductRestrictionResultUpserted = exports.makeProductRestrictionResultDeleted = exports.makeProductRestrictionResult = exports.makeProductInserted = exports.makeProductDeleted = exports.makeProduct = exports.makeProcessingEstimate = exports.makePricingVersion = exports.makePricingSettings = exports.makePricingLevySetting = exports.makePricing = exports.makePriceWithBaseAndDetails = exports.makePriceWithBase = exports.makePriceSourceProvided = exports.makePriceSourcePriceBookReference = exports.makePriceSourcePriceBook = exports.makePriceSourceCatalog = exports.makePriceSource = exports.makePriceForm = exports.makePriceFacetBoundary = exports.makePriceEquation = exports.makePriceDetails = exports.makePriceDetailKey = exports.makePriceDetailComponentKey = exports.makePriceDetailComponent = exports.makePriceDetail = exports.makePriceCheck = exports.makePriceBookUpserted = exports.makePriceBookStatus = exports.makePriceBookReference = exports.makePriceBookItemUpserted = exports.makePriceBookItemSchedule = exports.makePriceBookItemQueryForm = exports.makePriceBookItemForm = exports.makePriceBookItemExportType = exports.makePriceBookItemDeleted = exports.makePriceBookItem = exports.makePriceBookForm = exports.makePriceBookDeleted = exports.makePriceBook = exports.makePriceAccuracy = exports.makePrice = exports.makePreferredServiceSelectionStrategy = void 0;
|
|
31
|
+
exports.makeRatecardLaneImportForm = exports.makeRatecardLaneForm = exports.makeRatecardLaneDeleted = exports.makeRatecardLane = exports.makeRatecardForm = exports.makeRatecardFeeSummary = exports.makeRatecardFee = exports.makeRatecardEstimateV4 = exports.makeRatecardEstimateV3 = exports.makeRatecardEstimateV2 = exports.makeRatecardEstimateV1 = exports.makeRatecardEstimateSummaryForm = exports.makeRatecardEstimateForm = exports.makeRatecardEstimate = exports.makeRatecardDeleted = exports.makeRatecardCarrierSummary = exports.makeRatecard = exports.makeRateVersion = exports.makeRateUpsertedV3 = exports.makeRateUpserted = exports.makeRateForm = exports.makeRateDeletedV3 = exports.makeRateDeleted = exports.makeRate = exports.makeQuoteVersion = exports.makeQuoteSummary = exports.makeQuoteLineItemForm = exports.makeQuoteForm = exports.makeQuoteErrorCode = exports.makeQuoteError = exports.makeQuote = exports.makeQueryFilterUnstructuredForm = exports.makeQueryFilterUnstructured = exports.makeQueryFilterStructuredForm = exports.makeQueryFilterStructured = exports.makeQueryFilterForm = exports.makeQueryFilter = exports.makeQueryBuilderQueryForm = exports.makeQueryBuilderForm = exports.makeQueryBuilderFilterForm = exports.makeQueryBuilder = exports.makeQuery = exports.makePurchasePriceBreakdown = exports.makePublicKey = exports.makeProvinceType = exports.makeProvince = exports.makePromotions = exports.makePromotionTriggerType = exports.makePromotionTriggerForm = exports.makePromotionTrigger = void 0;
|
|
32
|
+
exports.makeRepeatSchedule = exports.makeRepeatMonthly = exports.makeRepeatHourly = exports.makeRepeatDaily = exports.makeRemoteAreaServiceFee = exports.makeRemoteAreaRatecardFee = exports.makeRemoteAreaByWeightServiceFee = exports.makeRejectionPutForm = exports.makeRegionType = exports.makeRegionSettingForm = exports.makeRegionSetting = exports.makeRegionReference = exports.makeRegion = exports.makeRefundVersion = exports.makeRefundUpsertedV2 = exports.makeRefundStatus = exports.makeRefundReference = exports.makeRefundOrderSummaryAmounts = exports.makeRefundOrderSummary = exports.makeRefundIdentifierUpserted = exports.makeRefundIdentifierDeleted = exports.makeRefundIdentifier = exports.makeRefundForm = exports.makeRefundFailureCategory = exports.makeRefundError = exports.makeRefundDeletedV2 = exports.makeRefundDeclineCode = exports.makeRefundCaptureUpsertedV2 = exports.makeRefundCaptureSummary = exports.makeRefundCapture = exports.makeRefund = exports.makeRedirectAuthorizationForm = exports.makeRedirectAuthorizationDetails = exports.makeReasonsPerRegion = exports.makeReadyToFulfillV2 = exports.makeReadyToFulfillDetails = exports.makeReadyToFulfill = exports.makeRatecardVersion = exports.makeRatecardUpserted = exports.makeRatecardSummary = exports.makeRatecardServiceSummary = exports.makeRatecardRegionReference = exports.makeRatecardReference = exports.makeRatecardRateVersion = exports.makeRatecardRateForm = exports.makeRatecardRate = exports.makeRatecardOwner = exports.makeRatecardLanesImportRequestData = exports.makeRatecardLaneVersion = exports.makeRatecardLaneUpserted = void 0;
|
|
33
|
+
exports.makeScheduledExportForm = exports.makeScheduledExport = exports.makeScheduleExceptionStatus = exports.makeSchedule = exports.makeSarveshItemUpserted = exports.makeSarveshItemDeleted = exports.makeRuleEffectType = exports.makeRouteAudit = exports.makeRoundingType = exports.makeRoundingMethod = exports.makeRounding = exports.makeRomanizationForm = exports.makeRomanization = exports.makeRole = exports.makeRohanItemUpserted = exports.makeRohanItemDeleted = exports.makeReviewStatus = exports.makeReversalVersion = exports.makeReversalUpserted = exports.makeReversalStatus = exports.makeReversalPutForm = exports.makeReversalForm = exports.makeReversalErrorCode = exports.makeReversalError = exports.makeReversalDeleted = exports.makeReversal = exports.makeReturnVersion = exports.makeReturnTrackingStatus = exports.makeReturnStatus = exports.makeReturnSourceFlow = exports.makeReturnSourceExternalVendor = exports.makeReturnSource = exports.makeReturnReasonPutForm = exports.makeReturnReasonForm = exports.makeReturnReason = exports.makeReturnPolicyVersion = exports.makeReturnPolicyStatistic = exports.makeReturnPolicyState = exports.makeReturnPolicyItemResult = exports.makeReturnPolicyForm = exports.makeReturnPolicy = exports.makeReturnPackageRatecardFee = exports.makeReturnOrderReference = exports.makeReturnLineItem = exports.makeReturnItemStatus = exports.makeReturnItemReference = exports.makeReturnForm = exports.makeReturn = exports.makeRestrictedReviewStatus = exports.makeRepeatWeekly = void 0;
|
|
34
|
+
exports.makeShippingConfigurationReference = exports.makeShippingConfigurationItemShippingPricingUpserted = exports.makeShippingConfigurationItemShippingPricingDeleted = exports.makeShippingConfigurationItemShippingPricing = exports.makeShippingConfigurationItemAvailabilityUpserted = exports.makeShippingConfigurationItemAvailabilityDeleted = exports.makeShippingConfigurationItemAvailability = exports.makeShippingConfigurationForm = exports.makeShippingConfigurationDeleted = exports.makeShippingConfigurationCopyForm = exports.makeShippingConfigurationCopy = exports.makeShippingConfiguration = exports.makeShippingAddress = exports.makeShipping = exports.makeShipmentWindow = exports.makeShipmentRecipient = exports.makeShipmentIntegrationType = exports.makeSetupInProgress = exports.makeSetupCompleted = exports.makeSetupBlocked = exports.makeSettlementPayout = exports.makeSettlementNoPayout = exports.makeSettlement = exports.makeSessionVisitor = exports.makeSessionVisit = exports.makeSessionReference = exports.makeSessionPutForm = exports.makeSessionGeo = exports.makeSessionFormat = exports.makeSessionForm = exports.makeSessionExpirationConfig = exports.makeSessionCurrencyFormat = exports.makeSessionAuthorizationForm = exports.makeSessionAuthorization = exports.makeSession = exports.makeServiceUnknown = exports.makeServiceSummary = exports.makeServiceReference = exports.makeServiceFee = exports.makeServiceDescription = exports.makeSellablilityRegionResult = exports.makeSellabilityResponse = exports.makeSellabilityRequestStatus = exports.makeSellabilityErrorCode = exports.makeSellabilityError = exports.makeSelectIssuerOptionActionDetails = exports.makeSecurityServiceFee = exports.makeSecurityRatecardFee = exports.makeSdkAdyenV3AuthenticationToken = exports.makeScheduledPickup = void 0;
|
|
35
|
+
exports.makeShopifyLocalizationSettingForm = exports.makeShopifyLocalizationSettingDeleted = exports.makeShopifyLocalizationSetting = exports.makeShopifyLocalizationMethod = exports.makeShopifyLocalPriceMetadata = exports.makeShopifyLocalCartMetadata = exports.makeShopifyLocalCartItemMetadata = exports.makeShopifyLine = exports.makeShopifyItemEventData = exports.makeShopifyItemEventBucket = exports.makeShopifyGrant = exports.makeShopifyEventBucket = exports.makeShopifyCustomerMetafieldValue = exports.makeShopifyCartItem = exports.makeShopifyCartConversionShopifyCart = exports.makeShopifyCartConversionFlowOrder = exports.makeShopifyCartConversion = exports.makeShopifyCartChangeForm = exports.makeShopifyCartAddSingleForm = exports.makeShopifyCartAddMultipleForm = exports.makeShopifyCartAddForm = exports.makeShopifyCart = exports.makeShop = exports.makeShippingNotificationVersion = exports.makeShippingNotificationForm = exports.makeShippingNotification = exports.makeShippingLaneVersion = exports.makeShippingLaneUpserted = exports.makeShippingLaneSummary = exports.makeShippingLaneForm = exports.makeShippingLaneDeleted = exports.makeShippingLaneDefaultTierForm = exports.makeShippingLaneDefaultTier = exports.makeShippingLane = exports.makeShippingLabelVersion = exports.makeShippingLabelSummary = exports.makeShippingLabelRatecardSummary = exports.makeShippingLabelPackage = exports.makeShippingLabelLaneSummary = exports.makeShippingLabelHopSummary = exports.makeShippingLabelHopCostItemizedEstimate = exports.makeShippingLabelForm = exports.makeShippingLabelErrorCode = exports.makeShippingLabelError = exports.makeShippingLabelDocument = exports.makeShippingLabel = exports.makeShippingConfigurationVersion = exports.makeShippingConfigurationUpserted = exports.makeShippingConfigurationType = exports.makeShippingConfigurationSummary = void 0;
|
|
36
|
+
exports.makeSubcatalogStatistics = exports.makeSubcatalogSettingsForm = exports.makeSubcatalogSettings = exports.makeSubcatalogReference = exports.makeSubcatalogItemVersion = exports.makeSubcatalogItemUpserted = exports.makeSubcatalogItemStatus = exports.makeSubcatalogItemDeleted = exports.makeSubcatalogItem = exports.makeSubcatalogForm = exports.makeSubcatalogDeleted = exports.makeSubcatalog = exports.makeStripeAuthorizationResultActionDetails = exports.makeStripeAuthenticationDataForm = exports.makeStripeAuthenticationData = exports.makeStreetAddress = exports.makeStrategy = exports.makeStoredMethodUsageStep = exports.makeStatementUpserted = exports.makeStatementDeleted = exports.makeStatementAttachmentType = exports.makeStatement = exports.makeSortDirection = exports.makeSolidusVariantExportType = exports.makeSolidusProductExportType = exports.makeSinglePackageShippingNotificationForm = exports.makeSimplePermissionCheck = exports.makeShopifyVariantInventoryMetafield = exports.makeShopifyVariantFlowMetafield = exports.makeShopifySyncStatus = exports.makeShopifySyncCheck = exports.makeShopifyPrivateAppForm = exports.makeShopifyPrivateApp = exports.makeShopifyPrice = exports.makeShopifyOrderRomanizationMetafield = exports.makeShopifyOrderPriceAttributesMetafield = exports.makeShopifyOrderDeliveryMetafieldItem = exports.makeShopifyOrderDeliveryMetafield = exports.makeShopifyOrderAttributesForm = exports.makeShopifyMerchantApplicationsSummary = exports.makeShopifyMerchantApplicationPutForm = exports.makeShopifyMerchantApplicationForm = exports.makeShopifyMerchantApplication = exports.makeShopifyLocationReference = exports.makeShopifyLocationFlowCenterMappingForm = exports.makeShopifyLocationFlowCenterMapping = exports.makeShopifyLocalizedVariantPrices = exports.makeShopifyLocalizedVariant = exports.makeShopifyLocalizedOrder = exports.makeShopifyLocalizationSettingUpserted = void 0;
|
|
37
|
+
exports.makeTierEstimate = exports.makeTierDisplayForm = exports.makeTierDisplay = exports.makeTierDeletedV2 = exports.makeTierAvailability = exports.makeTier = exports.makeThreedsTwoMethod = exports.makeThreedsTwoChallengeViewport = exports.makeThreedsTwoChallengeRequest = exports.makeThreedsIdentifyActionDetails = exports.makeThreedsIdentifyAction = exports.makeThreedsChallengeActionDetails = exports.makeThreedsChallengeAction = exports.makeThreeDSecureCode = exports.makeThreeDSecure = exports.makeThirdPartyLogisticsPartner = exports.makeTestUpserted = exports.makeTaxabilityValue = exports.makeTaxabilityType = exports.makeTaxVerificationResult = exports.makeTaxSetting = exports.makeTaxReportType = exports.makeTaxReport = exports.makeTaxRegistrationForm = exports.makeTaxRegistration = exports.makeTaxDutyTransactionReasonCode = exports.makeTaxDutyQuoteValues = exports.makeTaxDutyQuoteSimpleShippingForm = exports.makeTaxDutyQuoteSimpleShipping = exports.makeTaxDutyQuoteSimpleLevyValue = exports.makeTaxDutyQuoteLineItemForm = exports.makeTaxDutyQuoteLineItem = exports.makeTaxDutyQuoteLevyValue = exports.makeTaxDutyQuoteForm = exports.makeTaxDutyQuoteFeeValue = exports.makeTaxDutyQuote = exports.makeTaxDutyCalculatorValidationErrorCode = exports.makeTaxDutyCalculatorValidationError = exports.makeTaxApplicability = exports.makeTax = exports.makeSurchargeSettingDisplay = exports.makeSurchargeSetting = exports.makeSurchargeResponsiblePartyDisplay = exports.makeSurchargeResponsibleParty = exports.makeSummaryShippingNotificationForm = exports.makeSummaryShippingLabelForm = exports.makeSuggestion = exports.makeSubstatusCode = exports.makeSubcatalogVersion = exports.makeSubcatalogUpserted = void 0;
|
|
38
|
+
exports.makeTransactionMetadataChannelCardMetadataIssuerSummary = exports.makeTransactionMetadataChannelCardMetadata = exports.makeTransactionMetadataChannel = exports.makeTransactionMetadataCarrierCharge = exports.makeTransactionMetadata = exports.makeTransactionDetailsCard = exports.makeTransactionDetails = exports.makeTransaction = exports.makeTradeAgreementStatus = exports.makeTradeAgreementName = exports.makeTradeAgreementDuty = exports.makeTradeAgreementCertifier = exports.makeTradeAgreement = exports.makeTrackingVersion = exports.makeTrackingSummary = exports.makeTrackingStatus = exports.makeTrackingNumberType = exports.makeTrackingLabelVersion = exports.makeTrackingLabelSummary = exports.makeTrackingLabelForm = exports.makeTrackingLabelEventUpserted = exports.makeTrackingLabel = exports.makeTrackingForm = exports.makeTrackingEventVersion = exports.makeTrackingEventSummary = exports.makeTrackingEventForm = exports.makeTrackingEvent = exports.makeTracking = exports.makeTokenValidationForm = exports.makeTokenValidation = exports.makeTokenType = exports.makeTokenReference = exports.makeTokenRbacAuthenticationForm = exports.makeTokenPartnerReference = exports.makeTokenAuthenticationForm = exports.makeToken = exports.makeTimezone = exports.makeTierVersion = exports.makeTierUpsertedV2 = exports.makeTierSummary = exports.makeTierStrategy = exports.makeTierSettings = exports.makeTierRuleVersion = exports.makeTierRuleOutcomeForm = exports.makeTierRuleOutcome = exports.makeTierRuleForm = exports.makeTierRule = exports.makeTierReference = exports.makeTierForm = exports.makeTierEstimateType = void 0;
|
|
39
|
+
exports.makeUserReference = exports.makeUserPutForm = exports.makeUserForm = exports.makeUser = exports.makeUpload = exports.makeUpdatePolicy = exports.makeUnitOfWeight = exports.makeUnitOfVolume = exports.makeUnitOfTime = exports.makeUnitOfMeasurement = exports.makeUnitOfLength = exports.makeUnharmonizedItemExportType = exports.makeUltimateBeneficiaryOwner = exports.makeTrueupSurchargeType = exports.makeTrueupSource = exports.makeTrueupLabelWeights = exports.makeTrueupLabelUnits = exports.makeTrueupLabelSurcharge = exports.makeTrueupLabelFuel = exports.makeTrueupLabelBaseWeight = exports.makeTrueupLabelBaseV2 = exports.makeTrueupLabelBase = exports.makeTransitWindow = exports.makeTransitEstimate = exports.makeTransferUpserted = exports.makeTransferType = exports.makeTransferStatus = exports.makeTransferReference = exports.makeTransferDeleted = exports.makeTransfer = exports.makeTransactionUpserted = exports.makeTransactionSource = exports.makeTransactionReference = exports.makeTransactionNetworkDetailsCard = exports.makeTransactionMetadataTrueupSurchargeData = exports.makeTransactionMetadataTrueupSurcharge = exports.makeTransactionMetadataTrueupData = exports.makeTransactionMetadataTrueupBaseData = exports.makeTransactionMetadataTrueupBase = exports.makeTransactionMetadataTrueup = exports.makeTransactionMetadataTaxDuty = exports.makeTransactionMetadataShippingLabelCarrier = exports.makeTransactionMetadataShippingLabel = exports.makeTransactionMetadataPaymentTransaction = exports.makeTransactionMetadataOutboundTransaction = exports.makeTransactionMetadataOriginalTransaction = exports.makeTransactionMetadataManual = exports.makeTransactionMetadataFailedPayoutReference = exports.makeTransactionMetadataFailedPayout = exports.makeTransactionMetadataChannelOrganizationTransaction = void 0;
|
|
40
|
+
exports.makeZone = exports.makeZeroLevyReasonCode = exports.makeZeroAmountIndicator = exports.makeWithholdingDeductionType = exports.makeWithholdingDeduction = exports.makeWebhookStatus = exports.makeWebhookSettings = exports.makeWebhookResponse = exports.makeWebhookRequestReference = exports.makeWebhookRequest = exports.makeWebhookReference = exports.makeWebhookForm = exports.makeWebhookDelivery = exports.makeWebhook = exports.makeVisibility = exports.makeVirtualCardVersion = exports.makeVirtualCardRefundVersion = exports.makeVirtualCardRefundUpserted = exports.makeVirtualCardRefundDeleted = exports.makeVirtualCardRefund = exports.makeVirtualCardReference = exports.makeVirtualCardCaptureVersion = exports.makeVirtualCardCaptureUpserted = exports.makeVirtualCardCaptureDeleted = exports.makeVirtualCardCapture = exports.makeVirtualCard = exports.makeValueThresholdExceededDetails = exports.makeValueAddedService = exports.makeUserVersion = exports.makeUserStatus = void 0;
|
|
41
41
|
var faker_1 = __importDefault(require("@faker-js/faker"));
|
|
42
42
|
var arrayOf = function (f) {
|
|
43
43
|
var length = 3;
|
|
@@ -155,289 +155,6 @@ var factories = {
|
|
|
155
155
|
]);
|
|
156
156
|
return f();
|
|
157
157
|
},
|
|
158
|
-
'io.flow.catalog.v0.enums.adjustment_reason_key': function () { return faker_1.default.helpers.arrayElement(['duty_deminimis', 'vat_deminimis']); },
|
|
159
|
-
'io.flow.catalog.v0.enums.attribute_intent': function () { return faker_1.default.helpers.arrayElement([
|
|
160
|
-
'brand',
|
|
161
|
-
'color',
|
|
162
|
-
'countries_of_origin',
|
|
163
|
-
'product_id',
|
|
164
|
-
'fulfillment_method',
|
|
165
|
-
'hazardous',
|
|
166
|
-
'price',
|
|
167
|
-
'size',
|
|
168
|
-
'sku',
|
|
169
|
-
'taxability',
|
|
170
|
-
'consumer_url',
|
|
171
|
-
'gtin',
|
|
172
|
-
'mpn',
|
|
173
|
-
'facet',
|
|
174
|
-
'eccn',
|
|
175
|
-
'returnable',
|
|
176
|
-
'searchable',
|
|
177
|
-
'barcode',
|
|
178
|
-
'min_days_to_ship',
|
|
179
|
-
'max_days_to_ship',
|
|
180
|
-
'commercial_invoice_item_number',
|
|
181
|
-
'include_in_product_feeds',
|
|
182
|
-
]); },
|
|
183
|
-
'io.flow.catalog.v0.enums.fulfillment_method_type': function () { return faker_1.default.helpers.arrayElement(['fulfillment_method']); },
|
|
184
|
-
'io.flow.catalog.v0.enums.fulfillment_method_value': function () { return faker_1.default.helpers.arrayElement(['digital', 'physical']); },
|
|
185
|
-
'io.flow.catalog.v0.enums.image_tag': function () { return faker_1.default.helpers.arrayElement(['thumbnail', 'checkout']); },
|
|
186
|
-
'io.flow.catalog.v0.enums.return_item_status': function () { return faker_1.default.helpers.arrayElement(['returnable', 'non-returnable']); },
|
|
187
|
-
'io.flow.catalog.v0.enums.subcatalog_item_status': function () { return faker_1.default.helpers.arrayElement(['excluded', 'included', 'restricted']); },
|
|
188
|
-
'io.flow.catalog.v0.enums.taxability_type': function () { return faker_1.default.helpers.arrayElement(['tax_rule']); },
|
|
189
|
-
'io.flow.catalog.v0.enums.taxability_value': function () { return faker_1.default.helpers.arrayElement(['exempt']); },
|
|
190
|
-
'io.flow.catalog.v0.enums.update_policy': function () { return faker_1.default.helpers.arrayElement(['auto', 'queue', 'discard']); },
|
|
191
|
-
'io.flow.catalog.v0.models.adjustment_reason': function () { return ({
|
|
192
|
-
key: factories['io.flow.catalog.v0.enums.adjustment_reason_key'](),
|
|
193
|
-
label: factories.string(),
|
|
194
|
-
}); },
|
|
195
|
-
'io.flow.catalog.v0.models.attribute': function () { return ({
|
|
196
|
-
id: factories.string(),
|
|
197
|
-
key: factories.string(),
|
|
198
|
-
options: factories['io.flow.catalog.v0.models.options'](),
|
|
199
|
-
label: factories.string(),
|
|
200
|
-
intent: factories['io.flow.catalog.v0.enums.attribute_intent'](),
|
|
201
|
-
type: factories['io.flow.common.v0.enums.attribute_data_type'](),
|
|
202
|
-
position: factories.long(),
|
|
203
|
-
}); },
|
|
204
|
-
'io.flow.catalog.v0.models.attribute_form': function () { return ({
|
|
205
|
-
key: factories.string(),
|
|
206
|
-
options: factories['io.flow.catalog.v0.models.options'](),
|
|
207
|
-
label: factories.string(),
|
|
208
|
-
intent: factories['io.flow.catalog.v0.enums.attribute_intent'](),
|
|
209
|
-
type: factories['io.flow.common.v0.enums.attribute_data_type'](),
|
|
210
|
-
position: factories.long(),
|
|
211
|
-
}); },
|
|
212
|
-
'io.flow.catalog.v0.models.attribute_version': function () { return ({
|
|
213
|
-
id: factories.string(),
|
|
214
|
-
timestamp: factories.date_time_iso_8601(),
|
|
215
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
216
|
-
attribute: factories['io.flow.catalog.v0.models.attribute'](),
|
|
217
|
-
}); },
|
|
218
|
-
'io.flow.catalog.v0.models.catalog': function () { return ({
|
|
219
|
-
id: factories.string(),
|
|
220
|
-
}); },
|
|
221
|
-
'io.flow.catalog.v0.models.catalog_reference': function () { return ({
|
|
222
|
-
id: factories.string(),
|
|
223
|
-
}); },
|
|
224
|
-
'io.flow.catalog.v0.models.catalog_statistics': function () { return ({
|
|
225
|
-
id: factories.string(),
|
|
226
|
-
items: factories.long(),
|
|
227
|
-
categories: factories.long(),
|
|
228
|
-
}); },
|
|
229
|
-
'io.flow.catalog.v0.models.catalog_version': function () { return ({
|
|
230
|
-
id: factories.string(),
|
|
231
|
-
timestamp: factories.date_time_iso_8601(),
|
|
232
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
233
|
-
catalog: factories['io.flow.catalog.v0.models.catalog'](),
|
|
234
|
-
}); },
|
|
235
|
-
'io.flow.catalog.v0.models.flow_item_index_metadata': function () { return ({
|
|
236
|
-
status: factories['io.flow.catalog.v0.enums.subcatalog_item_status'](),
|
|
237
|
-
}); },
|
|
238
|
-
'io.flow.catalog.v0.models.image': function () { return ({
|
|
239
|
-
url: factories.string(),
|
|
240
|
-
tags: arrayOf(function () { return factories['io.flow.catalog.v0.enums.image_tag'](); }),
|
|
241
|
-
attributes: objectOf(function () { return factories.string(); }),
|
|
242
|
-
}); },
|
|
243
|
-
'io.flow.catalog.v0.models.image_form': function () { return ({
|
|
244
|
-
url: factories.string(),
|
|
245
|
-
tags: arrayOf(function () { return factories['io.flow.catalog.v0.enums.image_tag'](); }),
|
|
246
|
-
attributes: objectOf(function () { return factories.string(); }),
|
|
247
|
-
}); },
|
|
248
|
-
'io.flow.catalog.v0.models.item': function () { return ({
|
|
249
|
-
id: factories.string(),
|
|
250
|
-
number: factories.string(),
|
|
251
|
-
locale: factories.string(),
|
|
252
|
-
name: factories.string(),
|
|
253
|
-
price: factories['io.flow.common.v0.models.price'](),
|
|
254
|
-
categories: arrayOf(function () { return factories.string(); }),
|
|
255
|
-
description: factories.string(),
|
|
256
|
-
attributes: objectOf(function () { return factories.string(); }),
|
|
257
|
-
dimensions: factories['io.flow.common.v0.models.dimensions'](),
|
|
258
|
-
images: arrayOf(function () { return factories['io.flow.catalog.v0.models.image'](); }),
|
|
259
|
-
local: factories['io.flow.catalog.v0.models.local'](),
|
|
260
|
-
created_at: factories.date_time_iso_8601(),
|
|
261
|
-
updated_at: factories.date_time_iso_8601(),
|
|
262
|
-
deleted_at: factories.date_time_iso_8601(),
|
|
263
|
-
}); },
|
|
264
|
-
'io.flow.catalog.v0.models.item_attributes_patch_form': function () { return ({
|
|
265
|
-
attributes: objectOf(function () { return factories.string(); }),
|
|
266
|
-
}); },
|
|
267
|
-
'io.flow.catalog.v0.models.item_form': function () { return ({
|
|
268
|
-
number: factories.string(),
|
|
269
|
-
locale: factories.string(),
|
|
270
|
-
name: factories.string(),
|
|
271
|
-
currency: factories.string(),
|
|
272
|
-
price: factories.double(),
|
|
273
|
-
categories: arrayOf(function () { return factories.string(); }),
|
|
274
|
-
description: factories.string(),
|
|
275
|
-
attributes: objectOf(function () { return factories.string(); }),
|
|
276
|
-
dimensions: factories['io.flow.common.v0.models.dimensions'](),
|
|
277
|
-
images: arrayOf(function () { return factories['io.flow.catalog.v0.models.image_form'](); }),
|
|
278
|
-
deleted_at: factories.date_time_iso_8601(),
|
|
279
|
-
}); },
|
|
280
|
-
'io.flow.catalog.v0.models.item_form_overlay': function () { return ({
|
|
281
|
-
id: factories.string(),
|
|
282
|
-
number: factories.string(),
|
|
283
|
-
key: factories.string(),
|
|
284
|
-
position: factories.long(),
|
|
285
|
-
price: factories['io.flow.common.v0.models.price'](),
|
|
286
|
-
categories: arrayOf(function () { return factories.string(); }),
|
|
287
|
-
description: factories.string(),
|
|
288
|
-
attributes: objectOf(function () { return factories.string(); }),
|
|
289
|
-
dimensions: factories['io.flow.common.v0.models.dimensions'](),
|
|
290
|
-
images: arrayOf(function () { return factories['io.flow.catalog.v0.models.image_form'](); }),
|
|
291
|
-
deleted_at: factories.date_time_iso_8601(),
|
|
292
|
-
}); },
|
|
293
|
-
'io.flow.catalog.v0.models.item_form_overlay_form': function () { return ({
|
|
294
|
-
number: factories.string(),
|
|
295
|
-
price: factories.double(),
|
|
296
|
-
currency: factories.string(),
|
|
297
|
-
position: factories.long(),
|
|
298
|
-
categories: arrayOf(function () { return factories.string(); }),
|
|
299
|
-
description: factories.string(),
|
|
300
|
-
attributes: objectOf(function () { return factories.string(); }),
|
|
301
|
-
dimensions: factories['io.flow.common.v0.models.dimensions'](),
|
|
302
|
-
images: arrayOf(function () { return factories['io.flow.catalog.v0.models.image_form'](); }),
|
|
303
|
-
deleted_at: factories.date_time_iso_8601(),
|
|
304
|
-
}); },
|
|
305
|
-
'io.flow.catalog.v0.models.item_price_update_form': function () { return ({
|
|
306
|
-
number: factories.string(),
|
|
307
|
-
currency: factories.string(),
|
|
308
|
-
price: factories.decimal(),
|
|
309
|
-
attributes: objectOf(function () { return factories.string(); }),
|
|
310
|
-
}); },
|
|
311
|
-
'io.flow.catalog.v0.models.item_price_update_put_form': function () { return ({
|
|
312
|
-
currency: factories.string(),
|
|
313
|
-
price: factories.decimal(),
|
|
314
|
-
attributes: objectOf(function () { return factories.string(); }),
|
|
315
|
-
}); },
|
|
316
|
-
'io.flow.catalog.v0.models.item_statistics': function () { return ({
|
|
317
|
-
items: factories.long(),
|
|
318
|
-
categories: factories.long(),
|
|
319
|
-
}); },
|
|
320
|
-
'io.flow.catalog.v0.models.item_version': function () { return ({
|
|
321
|
-
id: factories.string(),
|
|
322
|
-
timestamp: factories.date_time_iso_8601(),
|
|
323
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
324
|
-
item: factories['io.flow.catalog.v0.models.item'](),
|
|
325
|
-
}); },
|
|
326
|
-
'io.flow.catalog.v0.models.local': function () { return ({
|
|
327
|
-
experience: factories['io.flow.common.v0.models.experience_summary'](),
|
|
328
|
-
prices: arrayOf(function () { return factories['io.flow.catalog.v0.unions.localized_price'](); }),
|
|
329
|
-
rates: arrayOf(function () { return factories['io.flow.currency.v0.models.rate'](); }),
|
|
330
|
-
spot_rates: arrayOf(function () { return factories.object(); }),
|
|
331
|
-
status: factories['io.flow.catalog.v0.enums.subcatalog_item_status'](),
|
|
332
|
-
attributes: objectOf(function () { return factories.string(); }),
|
|
333
|
-
price_attributes: objectOf(function () { return factories['io.flow.common.v0.models.price_with_base'](); }),
|
|
334
|
-
}); },
|
|
335
|
-
'io.flow.catalog.v0.models.localized_adjustment': function () { return ({
|
|
336
|
-
currency: factories.string(),
|
|
337
|
-
amount: factories.double(),
|
|
338
|
-
label: factories.string(),
|
|
339
|
-
base: factories['io.flow.common.v0.models.price'](),
|
|
340
|
-
reason: factories['io.flow.catalog.v0.models.adjustment_reason'](),
|
|
341
|
-
}); },
|
|
342
|
-
'io.flow.catalog.v0.models.localized_item_duty': function () { return ({
|
|
343
|
-
key: 'localized_item_duty',
|
|
344
|
-
currency: factories.string(),
|
|
345
|
-
amount: factories.double(),
|
|
346
|
-
label: factories.string(),
|
|
347
|
-
base: factories['io.flow.common.v0.models.price'](),
|
|
348
|
-
adjustment: factories['io.flow.catalog.v0.models.localized_adjustment'](),
|
|
349
|
-
basis: factories['io.flow.common.v0.models.money_with_base'](),
|
|
350
|
-
}); },
|
|
351
|
-
'io.flow.catalog.v0.models.localized_item_price': function () { return ({
|
|
352
|
-
key: 'localized_item_price',
|
|
353
|
-
currency: factories.string(),
|
|
354
|
-
amount: factories.double(),
|
|
355
|
-
label: factories.string(),
|
|
356
|
-
base: factories['io.flow.common.v0.models.price'](),
|
|
357
|
-
includes: factories['io.flow.common.v0.models.included_levies'](),
|
|
358
|
-
}); },
|
|
359
|
-
'io.flow.catalog.v0.models.localized_item_vat': function () { return ({
|
|
360
|
-
key: 'localized_item_vat',
|
|
361
|
-
currency: factories.string(),
|
|
362
|
-
amount: factories.double(),
|
|
363
|
-
label: factories.string(),
|
|
364
|
-
base: factories['io.flow.common.v0.models.price'](),
|
|
365
|
-
name: factories.string(),
|
|
366
|
-
adjustment: factories['io.flow.catalog.v0.models.localized_adjustment'](),
|
|
367
|
-
accuracy: factories['io.flow.price.v0.enums.price_accuracy'](),
|
|
368
|
-
basis: factories['io.flow.common.v0.models.money_with_base'](),
|
|
369
|
-
}); },
|
|
370
|
-
'io.flow.catalog.v0.models.localized_total': function () { return ({
|
|
371
|
-
key: 'localized_total',
|
|
372
|
-
currency: factories.string(),
|
|
373
|
-
amount: factories.double(),
|
|
374
|
-
label: factories.string(),
|
|
375
|
-
base: factories['io.flow.common.v0.models.price'](),
|
|
376
|
-
}); },
|
|
377
|
-
'io.flow.catalog.v0.models.options': function () { return ({
|
|
378
|
-
required: factories.boolean(),
|
|
379
|
-
show_in_catalog: factories.boolean(),
|
|
380
|
-
show_in_harmonization: factories.boolean(),
|
|
381
|
-
}); },
|
|
382
|
-
'io.flow.catalog.v0.models.subcatalog': function () { return ({
|
|
383
|
-
discriminator: 'subcatalog',
|
|
384
|
-
id: factories.string(),
|
|
385
|
-
catalog: factories['io.flow.catalog.v0.models.catalog'](),
|
|
386
|
-
settings: factories['io.flow.catalog.v0.models.subcatalog_settings'](),
|
|
387
|
-
}); },
|
|
388
|
-
'io.flow.catalog.v0.models.subcatalog_form': function () { return ({
|
|
389
|
-
settings: factories['io.flow.catalog.v0.models.subcatalog_settings_form'](),
|
|
390
|
-
}); },
|
|
391
|
-
'io.flow.catalog.v0.models.subcatalog_item': function () { return ({
|
|
392
|
-
id: factories.string(),
|
|
393
|
-
item: factories['io.flow.catalog.v0.models.item'](),
|
|
394
|
-
status: factories['io.flow.catalog.v0.enums.subcatalog_item_status'](),
|
|
395
|
-
}); },
|
|
396
|
-
'io.flow.catalog.v0.models.subcatalog_item_version': function () { return ({
|
|
397
|
-
id: factories.string(),
|
|
398
|
-
timestamp: factories.date_time_iso_8601(),
|
|
399
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
400
|
-
subcatalog_item: factories['io.flow.catalog.v0.models.subcatalog_item'](),
|
|
401
|
-
}); },
|
|
402
|
-
'io.flow.catalog.v0.models.subcatalog_reference': function () { return ({
|
|
403
|
-
discriminator: 'subcatalog_reference',
|
|
404
|
-
id: factories.string(),
|
|
405
|
-
}); },
|
|
406
|
-
'io.flow.catalog.v0.models.subcatalog_settings': function () { return ({
|
|
407
|
-
update_policy: factories['io.flow.catalog.v0.enums.update_policy'](),
|
|
408
|
-
}); },
|
|
409
|
-
'io.flow.catalog.v0.models.subcatalog_settings_form': function () { return ({
|
|
410
|
-
update_policy: factories['io.flow.catalog.v0.enums.update_policy'](),
|
|
411
|
-
}); },
|
|
412
|
-
'io.flow.catalog.v0.models.subcatalog_statistics': function () { return ({
|
|
413
|
-
excluded: factories['io.flow.catalog.v0.models.item_statistics'](),
|
|
414
|
-
included: factories['io.flow.catalog.v0.models.item_statistics'](),
|
|
415
|
-
restricted: factories['io.flow.catalog.v0.models.item_statistics'](),
|
|
416
|
-
queue: factories['io.flow.catalog.v0.models.item_statistics'](),
|
|
417
|
-
catalog: factories['io.flow.catalog.v0.models.catalog_statistics'](),
|
|
418
|
-
}); },
|
|
419
|
-
'io.flow.catalog.v0.models.subcatalog_version': function () { return ({
|
|
420
|
-
id: factories.string(),
|
|
421
|
-
timestamp: factories.date_time_iso_8601(),
|
|
422
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
423
|
-
subcatalog: factories['io.flow.catalog.v0.models.subcatalog'](),
|
|
424
|
-
}); },
|
|
425
|
-
'io.flow.catalog.v0.unions.expandable_subcatalog': function () {
|
|
426
|
-
var f = faker_1.default.helpers.arrayElement([
|
|
427
|
-
function () { return factories['io.flow.catalog.v0.models.subcatalog'](); },
|
|
428
|
-
function () { return factories['io.flow.catalog.v0.models.subcatalog_reference'](); },
|
|
429
|
-
]);
|
|
430
|
-
return f();
|
|
431
|
-
},
|
|
432
|
-
'io.flow.catalog.v0.unions.localized_price': function () {
|
|
433
|
-
var f = faker_1.default.helpers.arrayElement([
|
|
434
|
-
function () { return factories['io.flow.catalog.v0.models.localized_item_price'](); },
|
|
435
|
-
function () { return factories['io.flow.catalog.v0.models.localized_item_vat'](); },
|
|
436
|
-
function () { return factories['io.flow.catalog.v0.models.localized_item_duty'](); },
|
|
437
|
-
function () { return factories['io.flow.catalog.v0.models.localized_total'](); },
|
|
438
|
-
]);
|
|
439
|
-
return f();
|
|
440
|
-
},
|
|
441
158
|
'io.flow.channel.internal.v0.enums.channel_order_acceptance_error_action': function () { return faker_1.default.helpers.arrayElement(['auto_reject', 'auto_accept']); },
|
|
442
159
|
'io.flow.channel.internal.v0.enums.channel_order_acceptance_failure_reason_code': function () { return faker_1.default.helpers.arrayElement(['channel_order_mor_invalid', 'channel_order_does_not_exist']); },
|
|
443
160
|
'io.flow.channel.internal.v0.enums.channel_order_acceptance_next_action_from': function () { return faker_1.default.helpers.arrayElement([
|
|
@@ -502,6 +219,7 @@ var factories = {
|
|
|
502
219
|
channel_id: factories.string(),
|
|
503
220
|
external_order_reference: factories.string(),
|
|
504
221
|
payment_request_id: factories.string(),
|
|
222
|
+
order_payment_request_ids: arrayOf(function () { return factories.string(); }),
|
|
505
223
|
order_edit_payment_request_ids: arrayOf(function () { return factories.string(); }),
|
|
506
224
|
status: factories['io.flow.channel.internal.v0.enums.channel_order_acceptance_status'](),
|
|
507
225
|
reasons: arrayOf(function () { return factories['io.flow.channel.internal.v0.models.channel_order_acceptance_reason'](); }),
|
|
@@ -1014,1579 +732,193 @@ var factories = {
|
|
|
1014
732
|
function () { return factories['io.flow.common.v0.models.user'](); },
|
|
1015
733
|
function () { return factories['io.flow.common.v0.models.user_reference'](); },
|
|
1016
734
|
]);
|
|
1017
|
-
return f();
|
|
1018
|
-
},
|
|
1019
|
-
'io.flow.common.v0.unions.input_specification_limitation': function () {
|
|
1020
|
-
var f = faker_1.default.helpers.arrayElement([
|
|
1021
|
-
function () { return factories['io.flow.common.v0.models.input_specification_limitation_max'](); },
|
|
1022
|
-
]);
|
|
1023
|
-
return f();
|
|
1024
|
-
},
|
|
1025
|
-
'io.flow.common.v0.unions.logo_image': function () {
|
|
1026
|
-
var f = faker_1.default.helpers.arrayElement([
|
|
1027
|
-
function () { return factories['io.flow.common.v0.models.logo_image_svg'](); },
|
|
1028
|
-
function () { return factories['io.flow.common.v0.models.logo_image_set_static'](); },
|
|
1029
|
-
]);
|
|
1030
|
-
return f();
|
|
1031
|
-
},
|
|
1032
|
-
'io.flow.common.v0.unions.price_source': function () {
|
|
1033
|
-
var f = faker_1.default.helpers.arrayElement([
|
|
1034
|
-
function () { return factories['io.flow.common.v0.models.price_source_price_book'](); },
|
|
1035
|
-
function () { return factories['io.flow.common.v0.models.price_source_catalog'](); },
|
|
1036
|
-
function () { return factories['io.flow.common.v0.models.price_source_provided'](); },
|
|
1037
|
-
]);
|
|
1038
|
-
return f();
|
|
1039
|
-
},
|
|
1040
|
-
'io.flow.common.v0.unions.repeat_schedule': function () {
|
|
1041
|
-
var f = faker_1.default.helpers.arrayElement([
|
|
1042
|
-
function () { return factories['io.flow.common.v0.models.repeat_hourly'](); },
|
|
1043
|
-
function () { return factories['io.flow.common.v0.models.repeat_daily'](); },
|
|
1044
|
-
function () { return factories['io.flow.common.v0.models.repeat_weekly'](); },
|
|
1045
|
-
function () { return factories['io.flow.common.v0.models.repeat_monthly'](); },
|
|
1046
|
-
]);
|
|
1047
|
-
return f();
|
|
1048
|
-
},
|
|
1049
|
-
'io.flow.currency.v0.models.rate': function () { return ({
|
|
1050
|
-
id: factories.string(),
|
|
1051
|
-
base: factories.string(),
|
|
1052
|
-
target: factories.string(),
|
|
1053
|
-
effective_at: factories.date_time_iso_8601(),
|
|
1054
|
-
value: factories.decimal(),
|
|
1055
|
-
}); },
|
|
1056
|
-
'io.flow.currency.v0.models.rate_form': function () { return ({
|
|
1057
|
-
base: factories.string(),
|
|
1058
|
-
target: factories.string(),
|
|
1059
|
-
effective_at: factories.date_time_iso_8601(),
|
|
1060
|
-
}); },
|
|
1061
|
-
'io.flow.currency.v0.models.rate_version': function () { return ({
|
|
1062
|
-
id: factories.string(),
|
|
1063
|
-
timestamp: factories.date_time_iso_8601(),
|
|
1064
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
1065
|
-
rate: factories['io.flow.currency.v0.models.rate'](),
|
|
1066
|
-
}); },
|
|
1067
|
-
'io.flow.error.v0.enums.generic_error_code': function () { return faker_1.default.helpers.arrayElement(['generic_error', 'client_error', 'server_error']); },
|
|
1068
|
-
'io.flow.error.v0.models.generic_error': function () { return ({
|
|
1069
|
-
code: factories['io.flow.error.v0.enums.generic_error_code'](),
|
|
1070
|
-
messages: arrayOf(function () { return factories.string(); }),
|
|
1071
|
-
}); },
|
|
1072
|
-
'io.flow.fulfillment.v0.enums.center_capability': function () { return faker_1.default.helpers.arrayElement(['international', 'domestic', 'crossdock', 'commercial_invoice']); },
|
|
1073
|
-
'io.flow.fulfillment.v0.enums.delivery_option_cost_detail_component_key': function () { return faker_1.default.helpers.arrayElement([
|
|
1074
|
-
'ratecard_base_cost',
|
|
1075
|
-
'ratecard_ddp_fee',
|
|
1076
|
-
'ratecard_fuel_surcharge',
|
|
1077
|
-
'ratecard_oversized_shipment_fee',
|
|
1078
|
-
'ratecard_rural_shipment_fee',
|
|
1079
|
-
'ratecard_emergency_situation_surcharge_fee',
|
|
1080
|
-
'ratecard_peak_surcharge_fee',
|
|
1081
|
-
'ratecard_duties_taxes_paid_surcharge_fee',
|
|
1082
|
-
'center_commercial_invoice_fee',
|
|
1083
|
-
'center_inbound_carton_fee',
|
|
1084
|
-
'center_outbound_carton_fee',
|
|
1085
|
-
]); },
|
|
1086
|
-
'io.flow.fulfillment.v0.enums.delivery_option_cost_detail_source': function () { return faker_1.default.helpers.arrayElement(['center', 'ratecard']); },
|
|
1087
|
-
'io.flow.fulfillment.v0.enums.delivery_window_component_source': function () { return faker_1.default.helpers.arrayElement(['flow', 'organization', 'carrier', 'center', 'mixed']); },
|
|
1088
|
-
'io.flow.fulfillment.v0.enums.delivery_window_location': function () { return faker_1.default.helpers.arrayElement(['center', 'crossdock', 'customer']); },
|
|
1089
|
-
'io.flow.fulfillment.v0.enums.fulfillment_routing': function () { return faker_1.default.helpers.arrayElement(['fulfilled_from_center', 'fulfillment_service']); },
|
|
1090
|
-
'io.flow.fulfillment.v0.enums.item_availability_status': function () { return faker_1.default.helpers.arrayElement(['available', 'low', 'out_of_stock']); },
|
|
1091
|
-
'io.flow.fulfillment.v0.enums.lane_direction': function () { return faker_1.default.helpers.arrayElement(['outbound', 'return']); },
|
|
1092
|
-
'io.flow.fulfillment.v0.enums.lane_preselect_preference': function () { return faker_1.default.helpers.arrayElement(['lowest_cost', 'default_tier']); },
|
|
1093
|
-
'io.flow.fulfillment.v0.enums.lane_strategy': function () { return faker_1.default.helpers.arrayElement(['oldest', 'fastest', 'lowest_cost', 'highest_priority']); },
|
|
1094
|
-
'io.flow.fulfillment.v0.enums.physical_delivery_special_serivce': function () { return faker_1.default.helpers.arrayElement(['cold_storage', 'hazardous', 'perishable']); },
|
|
1095
|
-
'io.flow.fulfillment.v0.enums.preferred_service_selection_strategy': function () { return faker_1.default.helpers.arrayElement(['calculated_rate', 'flat_rate', 'custom_rate']); },
|
|
1096
|
-
'io.flow.fulfillment.v0.enums.quote_error_code': function () { return faker_1.default.helpers.arrayElement(['generic_error', 'items_not_available', 'shipping_unavailable']); },
|
|
1097
|
-
'io.flow.fulfillment.v0.enums.ratecard_owner': function () { return faker_1.default.helpers.arrayElement(['flow', 'organization']); },
|
|
1098
|
-
'io.flow.fulfillment.v0.enums.shipment_integration_type': function () { return faker_1.default.helpers.arrayElement(['direct', 'information', 'preadvice']); },
|
|
1099
|
-
'io.flow.fulfillment.v0.enums.shipping_configuration_type': function () { return faker_1.default.helpers.arrayElement(['default', 'variant']); },
|
|
1100
|
-
'io.flow.fulfillment.v0.enums.strategy': function () { return faker_1.default.helpers.arrayElement(['range', 'from', 'to']); },
|
|
1101
|
-
'io.flow.fulfillment.v0.enums.surcharge_responsible_party': function () { return faker_1.default.helpers.arrayElement(['organization', 'customer']); },
|
|
1102
|
-
'io.flow.fulfillment.v0.enums.tier_availability': function () { return faker_1.default.helpers.arrayElement(['always', 'backup']); },
|
|
1103
|
-
'io.flow.fulfillment.v0.enums.tier_estimate_type': function () { return faker_1.default.helpers.arrayElement(['calculated', 'custom']); },
|
|
1104
|
-
'io.flow.fulfillment.v0.enums.tier_strategy': function () { return faker_1.default.helpers.arrayElement(['fastest', 'lowest_cost']); },
|
|
1105
|
-
'io.flow.fulfillment.v0.enums.zero_amount_indicator': function () { return faker_1.default.helpers.arrayElement(['zero', 'free']); },
|
|
1106
|
-
'io.flow.fulfillment.v0.models.amount_margin': function () { return ({
|
|
1107
|
-
discriminator: 'amount_margin',
|
|
1108
|
-
margin: factories['io.flow.common.v0.models.price'](),
|
|
1109
|
-
}); },
|
|
1110
|
-
'io.flow.fulfillment.v0.models.amount_margin_form': function () { return ({
|
|
1111
|
-
discriminator: 'amount_margin_form',
|
|
1112
|
-
margin: factories['io.flow.common.v0.models.money'](),
|
|
1113
|
-
}); },
|
|
1114
|
-
'io.flow.fulfillment.v0.models.at_cost': function () { return ({
|
|
1115
|
-
discriminator: 'at_cost',
|
|
1116
|
-
ignore: factories.string(),
|
|
1117
|
-
}); },
|
|
1118
|
-
'io.flow.fulfillment.v0.models.available_service': function () { return ({
|
|
1119
|
-
service: factories.string(),
|
|
1120
|
-
scheduled_pickups: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.scheduled_pickup'](); }),
|
|
1121
|
-
lead_days: factories['io.flow.fulfillment.v0.models.number_range'](),
|
|
1122
|
-
}); },
|
|
1123
|
-
'io.flow.fulfillment.v0.models.carrier_reference': function () { return ({
|
|
1124
|
-
id: factories.string(),
|
|
1125
|
-
}); },
|
|
1126
|
-
'io.flow.fulfillment.v0.models.center': function () { return ({
|
|
1127
|
-
discriminator: 'center',
|
|
1128
|
-
id: factories.string(),
|
|
1129
|
-
key: factories.string(),
|
|
1130
|
-
address: factories['io.flow.fulfillment.v0.models.shipping_address'](),
|
|
1131
|
-
packaging: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.packaging'](); }),
|
|
1132
|
-
name: factories.string(),
|
|
1133
|
-
services: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.available_service'](); }),
|
|
1134
|
-
schedule: factories['io.flow.common.v0.models.schedule'](),
|
|
1135
|
-
timezone: factories.string(),
|
|
1136
|
-
capabilities: arrayOf(function () { return factories['io.flow.fulfillment.v0.enums.center_capability'](); }),
|
|
1137
|
-
partner_center: factories['io.flow.fulfillment.v0.models.partner_center'](),
|
|
1138
|
-
}); },
|
|
1139
|
-
'io.flow.fulfillment.v0.models.center_form': function () { return ({
|
|
1140
|
-
address: factories['io.flow.fulfillment.v0.models.shipping_address'](),
|
|
1141
|
-
packaging: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.packaging'](); }),
|
|
1142
|
-
name: factories.string(),
|
|
1143
|
-
services: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.available_service'](); }),
|
|
1144
|
-
schedule: factories['io.flow.common.v0.models.schedule'](),
|
|
1145
|
-
timezone: factories.string(),
|
|
1146
|
-
key: factories.string(),
|
|
1147
|
-
capabilities: arrayOf(function () { return factories['io.flow.fulfillment.v0.enums.center_capability'](); }),
|
|
1148
|
-
partner_center_form: factories['io.flow.fulfillment.v0.models.partner_center_form'](),
|
|
1149
|
-
}); },
|
|
1150
|
-
'io.flow.fulfillment.v0.models.center_query': function () { return ({
|
|
1151
|
-
q: factories.string(),
|
|
1152
|
-
}); },
|
|
1153
|
-
'io.flow.fulfillment.v0.models.center_reference': function () { return ({
|
|
1154
|
-
discriminator: 'center_reference',
|
|
1155
|
-
organization_id: factories.string(),
|
|
1156
|
-
center_key: factories.string(),
|
|
1157
|
-
}); },
|
|
1158
|
-
'io.flow.fulfillment.v0.models.center_summary': function () { return ({
|
|
1159
|
-
id: factories.string(),
|
|
1160
|
-
key: factories.string(),
|
|
1161
|
-
address: factories['io.flow.fulfillment.v0.models.shipping_address'](),
|
|
1162
|
-
}); },
|
|
1163
|
-
'io.flow.fulfillment.v0.models.center_version': function () { return ({
|
|
1164
|
-
id: factories.string(),
|
|
1165
|
-
timestamp: factories.date_time_iso_8601(),
|
|
1166
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
1167
|
-
center: factories['io.flow.fulfillment.v0.models.center'](),
|
|
1168
|
-
}); },
|
|
1169
|
-
'io.flow.fulfillment.v0.models.commercial_invoice_fee': function () { return ({
|
|
1170
|
-
discriminator: 'commercial_invoice_fee',
|
|
1171
|
-
amount: factories['io.flow.common.v0.models.money'](),
|
|
1172
|
-
}); },
|
|
1173
|
-
'io.flow.fulfillment.v0.models.country_availability': function () { return ({
|
|
1174
|
-
status: factories['io.flow.fulfillment.v0.enums.item_availability_status'](),
|
|
1175
|
-
countries: arrayOf(function () { return factories.string(); }),
|
|
1176
|
-
}); },
|
|
1177
|
-
'io.flow.fulfillment.v0.models.country_shipping_pricing': function () { return ({
|
|
1178
|
-
pricing: factories['io.flow.fulfillment.v0.models.item_shipping_pricing'](),
|
|
1179
|
-
countries: arrayOf(function () { return factories.string(); }),
|
|
1180
|
-
}); },
|
|
1181
|
-
'io.flow.fulfillment.v0.models.delivery_item': function () { return ({
|
|
1182
|
-
id: factories.string(),
|
|
1183
|
-
number: factories.string(),
|
|
1184
|
-
quantity: factories.long(),
|
|
1185
|
-
shipment_estimate: factories['io.flow.common.v0.models.datetime_range'](),
|
|
1186
|
-
price: factories['io.flow.common.v0.models.money_with_optional_base'](),
|
|
1187
|
-
attributes: objectOf(function () { return factories.string(); }),
|
|
1188
|
-
center: factories.string(),
|
|
1189
|
-
line_number: factories.long(),
|
|
1190
|
-
}); },
|
|
1191
|
-
'io.flow.fulfillment.v0.models.delivery_option': function () { return ({
|
|
1192
|
-
id: factories.string(),
|
|
1193
|
-
cost: factories['io.flow.fulfillment.v0.models.price_with_base_and_details'](),
|
|
1194
|
-
delivered_duty: factories['io.flow.common.v0.enums.delivered_duty'](),
|
|
1195
|
-
price: factories['io.flow.fulfillment.v0.models.price_with_base_and_details'](),
|
|
1196
|
-
service: factories['io.flow.fulfillment.v0.models.service_summary'](),
|
|
1197
|
-
tier: factories['io.flow.fulfillment.v0.models.tier_summary'](),
|
|
1198
|
-
window: factories['io.flow.fulfillment.v0.models.delivery_window'](),
|
|
1199
|
-
rule_outcome: factories['io.flow.fulfillment.v0.unions.tier_rule_outcome'](),
|
|
1200
|
-
weight: factories['io.flow.fulfillment.v0.models.option_weight_estimates'](),
|
|
1201
|
-
send_to: factories['io.flow.fulfillment.v0.models.shipping_address'](),
|
|
1202
|
-
surcharge: factories['io.flow.fulfillment.v0.models.price_with_base_and_details'](),
|
|
1203
|
-
ratecard_owner: factories['io.flow.fulfillment.v0.enums.ratecard_owner'](),
|
|
1204
|
-
}); },
|
|
1205
|
-
'io.flow.fulfillment.v0.models.delivery_option_cost_component': function () { return ({
|
|
1206
|
-
key: factories['io.flow.fulfillment.v0.enums.delivery_option_cost_detail_component_key'](),
|
|
1207
|
-
currency: factories.string(),
|
|
1208
|
-
amount: factories.decimal(),
|
|
1209
|
-
label: factories.string(),
|
|
1210
|
-
base: factories['io.flow.common.v0.models.price'](),
|
|
1211
|
-
}); },
|
|
1212
|
-
'io.flow.fulfillment.v0.models.delivery_option_cost_detail': function () { return ({
|
|
1213
|
-
source: factories['io.flow.fulfillment.v0.enums.delivery_option_cost_detail_source'](),
|
|
1214
|
-
ratecard_id: factories.string(),
|
|
1215
|
-
currency: factories.string(),
|
|
1216
|
-
amount: factories.decimal(),
|
|
1217
|
-
label: factories.string(),
|
|
1218
|
-
base: factories['io.flow.common.v0.models.price'](),
|
|
1219
|
-
components: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.delivery_option_cost_component'](); }),
|
|
1220
|
-
}); },
|
|
1221
|
-
'io.flow.fulfillment.v0.models.delivery_option_form': function () { return ({
|
|
1222
|
-
delivery: factories.string(),
|
|
1223
|
-
items: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.quote_line_item_form'](); }),
|
|
1224
|
-
destination: factories['io.flow.fulfillment.v0.models.shipping_address'](),
|
|
1225
|
-
}); },
|
|
1226
|
-
'io.flow.fulfillment.v0.models.delivery_option_reference': function () { return ({
|
|
1227
|
-
id: factories.string(),
|
|
1228
|
-
}); },
|
|
1229
|
-
'io.flow.fulfillment.v0.models.delivery_option_summary': function () { return ({
|
|
1230
|
-
id: factories.string(),
|
|
1231
|
-
cost: factories['io.flow.common.v0.models.price'](),
|
|
1232
|
-
delivered_duty: factories['io.flow.common.v0.enums.delivered_duty'](),
|
|
1233
|
-
price: factories['io.flow.common.v0.models.price'](),
|
|
1234
|
-
service: factories['io.flow.fulfillment.v0.models.service_reference'](),
|
|
1235
|
-
tier: factories['io.flow.fulfillment.v0.models.tier_reference'](),
|
|
1236
|
-
window: factories['io.flow.common.v0.models.datetime_range'](),
|
|
1237
|
-
}); },
|
|
1238
|
-
'io.flow.fulfillment.v0.models.delivery_option_version': function () { return ({
|
|
1239
|
-
id: factories.string(),
|
|
1240
|
-
timestamp: factories.date_time_iso_8601(),
|
|
1241
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
1242
|
-
delivery_option: factories['io.flow.fulfillment.v0.models.delivery_option_summary'](),
|
|
1243
|
-
}); },
|
|
1244
|
-
'io.flow.fulfillment.v0.models.delivery_summary': function () { return ({
|
|
1245
|
-
id: factories.string(),
|
|
1246
|
-
items: arrayOf(function () { return factories['io.flow.common.v0.models.line_item_form'](); }),
|
|
1247
|
-
}); },
|
|
1248
|
-
'io.flow.fulfillment.v0.models.delivery_version': function () { return ({
|
|
1249
|
-
id: factories.string(),
|
|
1250
|
-
timestamp: factories.date_time_iso_8601(),
|
|
1251
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
1252
|
-
delivery: factories['io.flow.fulfillment.v0.models.delivery_summary'](),
|
|
1253
|
-
}); },
|
|
1254
|
-
'io.flow.fulfillment.v0.models.delivery_window': function () { return ({
|
|
1255
|
-
from: factories.date_time_iso_8601(),
|
|
1256
|
-
to: factories.date_time_iso_8601(),
|
|
1257
|
-
timezone: factories.string(),
|
|
1258
|
-
label: factories.string(),
|
|
1259
|
-
min_days: factories.long(),
|
|
1260
|
-
max_days: factories.long(),
|
|
1261
|
-
}); },
|
|
1262
|
-
'io.flow.fulfillment.v0.models.delivery_window_component': function () { return ({
|
|
1263
|
-
from: factories.date_time_iso_8601(),
|
|
1264
|
-
to: factories.date_time_iso_8601(),
|
|
1265
|
-
source: factories['io.flow.fulfillment.v0.enums.delivery_window_component_source'](),
|
|
1266
|
-
}); },
|
|
1267
|
-
'io.flow.fulfillment.v0.models.delivery_window_components': function () { return ({
|
|
1268
|
-
shipment_estimate: factories['io.flow.fulfillment.v0.models.delivery_window_component'](),
|
|
1269
|
-
transit_estimate: factories['io.flow.fulfillment.v0.models.delivery_window_component'](),
|
|
1270
|
-
}); },
|
|
1271
|
-
'io.flow.fulfillment.v0.models.delivery_window_components_v2': function () { return ({
|
|
1272
|
-
processing_estimates: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.processing_estimate'](); }),
|
|
1273
|
-
transit_estimates: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.transit_estimate'](); }),
|
|
1274
|
-
}); },
|
|
1275
|
-
'io.flow.fulfillment.v0.models.delivery_window_summary': function () { return ({
|
|
1276
|
-
country: factories.string(),
|
|
1277
|
-
delivery_window: factories['io.flow.fulfillment.v0.models.delivery_window'](),
|
|
1278
|
-
}); },
|
|
1279
|
-
'io.flow.fulfillment.v0.models.digital_delivery': function () { return ({
|
|
1280
|
-
discriminator: 'digital_delivery',
|
|
1281
|
-
id: factories.string(),
|
|
1282
|
-
key: factories.string(),
|
|
1283
|
-
items: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.delivery_item'](); }),
|
|
1284
|
-
prices: arrayOf(function () { return factories['io.flow.order.price.v0.models.order_price_detail'](); }),
|
|
1285
|
-
total: factories['io.flow.catalog.v0.models.localized_total'](),
|
|
1286
|
-
}); },
|
|
1287
|
-
'io.flow.fulfillment.v0.models.estimated_window': function () { return ({
|
|
1288
|
-
from: factories.long(),
|
|
1289
|
-
to: factories.long(),
|
|
1290
|
-
unit: factories['io.flow.common.v0.enums.unit_of_time'](),
|
|
1291
|
-
}); },
|
|
1292
|
-
'io.flow.fulfillment.v0.models.flat_rate': function () { return ({
|
|
1293
|
-
discriminator: 'flat_rate',
|
|
1294
|
-
price: factories['io.flow.common.v0.models.price'](),
|
|
1295
|
-
zero_amount_indicator: factories['io.flow.fulfillment.v0.enums.zero_amount_indicator'](),
|
|
1296
|
-
}); },
|
|
1297
|
-
'io.flow.fulfillment.v0.models.flat_rate_form': function () { return ({
|
|
1298
|
-
discriminator: 'flat_rate_form',
|
|
1299
|
-
price: factories['io.flow.common.v0.models.money'](),
|
|
1300
|
-
zero_amount_indicator: factories['io.flow.fulfillment.v0.enums.zero_amount_indicator'](),
|
|
1301
|
-
}); },
|
|
1302
|
-
'io.flow.fulfillment.v0.models.fulfillment_experience_reference': function () { return ({
|
|
1303
|
-
id: factories.string(),
|
|
1304
|
-
currency: factories.string(),
|
|
1305
|
-
}); },
|
|
1306
|
-
'io.flow.fulfillment.v0.models.inbound_carton_fee': function () { return ({
|
|
1307
|
-
discriminator: 'inbound_carton_fee',
|
|
1308
|
-
amount: factories['io.flow.common.v0.models.money'](),
|
|
1309
|
-
}); },
|
|
1310
|
-
'io.flow.fulfillment.v0.models.item_shipping_pricing': function () { return ({
|
|
1311
|
-
min: factories['io.flow.common.v0.models.price'](),
|
|
1312
|
-
max: factories['io.flow.common.v0.models.price'](),
|
|
1313
|
-
}); },
|
|
1314
|
-
'io.flow.fulfillment.v0.models.number_range': function () { return ({
|
|
1315
|
-
min: factories.long(),
|
|
1316
|
-
max: factories.long(),
|
|
1317
|
-
}); },
|
|
1318
|
-
'io.flow.fulfillment.v0.models.option_weight_estimates': function () { return ({
|
|
1319
|
-
gravitational: factories['io.flow.common.v0.models.measurement'](),
|
|
1320
|
-
dimensional: factories['io.flow.common.v0.models.measurement'](),
|
|
1321
|
-
}); },
|
|
1322
|
-
'io.flow.fulfillment.v0.models.outbound_carton_fee': function () { return ({
|
|
1323
|
-
discriminator: 'outbound_carton_fee',
|
|
1324
|
-
amount: factories['io.flow.common.v0.models.money'](),
|
|
1325
|
-
}); },
|
|
1326
|
-
'io.flow.fulfillment.v0.models.packaging': function () { return ({
|
|
1327
|
-
dimensions: factories['io.flow.common.v0.models.dimensions'](),
|
|
1328
|
-
name: factories.string(),
|
|
1329
|
-
number: factories.string(),
|
|
1330
|
-
}); },
|
|
1331
|
-
'io.flow.fulfillment.v0.models.partner_center': function () { return ({
|
|
1332
|
-
partner_reference: factories['io.flow.common.v0.models.partner_reference'](),
|
|
1333
|
-
number: factories.string(),
|
|
1334
|
-
fees: arrayOf(function () { return factories['io.flow.fulfillment.v0.unions.partner_center_fee'](); }),
|
|
1335
|
-
}); },
|
|
1336
|
-
'io.flow.fulfillment.v0.models.partner_center_form': function () { return ({
|
|
1337
|
-
partner_id: factories.string(),
|
|
1338
|
-
number: factories.string(),
|
|
1339
|
-
fees: arrayOf(function () { return factories['io.flow.fulfillment.v0.unions.partner_center_fee'](); }),
|
|
1340
|
-
}); },
|
|
1341
|
-
'io.flow.fulfillment.v0.models.percent_margin': function () { return ({
|
|
1342
|
-
discriminator: 'percent_margin',
|
|
1343
|
-
percentage: factories.double(),
|
|
1344
|
-
}); },
|
|
1345
|
-
'io.flow.fulfillment.v0.models.physical_delivery': function () { return ({
|
|
1346
|
-
discriminator: 'physical_delivery',
|
|
1347
|
-
id: factories.string(),
|
|
1348
|
-
key: factories.string(),
|
|
1349
|
-
center: factories['io.flow.fulfillment.v0.models.center_summary'](),
|
|
1350
|
-
fulfillment_routing: factories['io.flow.fulfillment.v0.enums.fulfillment_routing'](),
|
|
1351
|
-
ship_from_country: factories.string(),
|
|
1352
|
-
items: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.delivery_item'](); }),
|
|
1353
|
-
options: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.delivery_option'](); }),
|
|
1354
|
-
special_services: arrayOf(function () { return factories['io.flow.fulfillment.v0.enums.physical_delivery_special_serivce'](); }),
|
|
1355
|
-
prices: arrayOf(function () { return factories['io.flow.order.price.v0.models.order_price_detail'](); }),
|
|
1356
|
-
total: factories['io.flow.catalog.v0.models.localized_total'](),
|
|
1357
|
-
goods_supply: factories['io.flow.common.v0.enums.goods_supply'](),
|
|
1358
|
-
merchant_of_record_flow_entity: factories['io.flow.merchant.of.record.v0.enums.flow_entity'](),
|
|
1359
|
-
preferred_service: factories['io.flow.fulfillment.v0.models.physical_delivery_preferred_service'](),
|
|
1360
|
-
}); },
|
|
1361
|
-
'io.flow.fulfillment.v0.models.physical_delivery_preferred_service': function () { return ({
|
|
1362
|
-
id: factories.string(),
|
|
1363
|
-
selection_stratey: factories['io.flow.fulfillment.v0.enums.preferred_service_selection_strategy'](),
|
|
1364
|
-
}); },
|
|
1365
|
-
'io.flow.fulfillment.v0.models.price_with_base_and_details': function () { return ({
|
|
1366
|
-
currency: factories.string(),
|
|
1367
|
-
amount: factories.double(),
|
|
1368
|
-
label: factories.string(),
|
|
1369
|
-
base: factories['io.flow.common.v0.models.price'](),
|
|
1370
|
-
details: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.delivery_option_cost_detail'](); }),
|
|
1371
|
-
}); },
|
|
1372
|
-
'io.flow.fulfillment.v0.models.processing_estimate': function () { return ({
|
|
1373
|
-
location: factories['io.flow.fulfillment.v0.enums.delivery_window_location'](),
|
|
1374
|
-
min_date: factories.date_time_iso_8601(),
|
|
1375
|
-
max_date: factories.date_time_iso_8601(),
|
|
1376
|
-
source: factories['io.flow.fulfillment.v0.enums.delivery_window_component_source'](),
|
|
1377
|
-
}); },
|
|
1378
|
-
'io.flow.fulfillment.v0.models.quote': function () { return ({
|
|
1379
|
-
id: factories.string(),
|
|
1380
|
-
destination: factories['io.flow.fulfillment.v0.models.shipping_address'](),
|
|
1381
|
-
deliveries: arrayOf(function () { return factories['io.flow.fulfillment.v0.unions.delivery'](); }),
|
|
1382
|
-
selections: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.delivery_option_reference'](); }),
|
|
1383
|
-
delivered_duty: factories['io.flow.common.v0.enums.delivered_duty'](),
|
|
1384
|
-
delivered_duties: arrayOf(function () { return factories['io.flow.common.v0.enums.delivered_duty'](); }),
|
|
1385
|
-
}); },
|
|
1386
|
-
'io.flow.fulfillment.v0.models.quote_error': function () { return ({
|
|
1387
|
-
code: factories['io.flow.fulfillment.v0.enums.quote_error_code'](),
|
|
1388
|
-
messages: arrayOf(function () { return factories.string(); }),
|
|
1389
|
-
item_numbers: arrayOf(function () { return factories.string(); }),
|
|
1390
|
-
}); },
|
|
1391
|
-
'io.flow.fulfillment.v0.models.quote_form': function () { return ({
|
|
1392
|
-
destination: factories['io.flow.fulfillment.v0.models.shipping_address'](),
|
|
1393
|
-
experience: factories.string(),
|
|
1394
|
-
items: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.quote_line_item_form'](); }),
|
|
1395
|
-
delivered_duty: factories['io.flow.common.v0.enums.delivered_duty'](),
|
|
1396
|
-
delivered_duties: arrayOf(function () { return factories['io.flow.common.v0.enums.delivered_duty'](); }),
|
|
1397
|
-
direction: factories['io.flow.fulfillment.v0.enums.lane_direction'](),
|
|
1398
|
-
}); },
|
|
1399
|
-
'io.flow.fulfillment.v0.models.quote_line_item_form': function () { return ({
|
|
1400
|
-
number: factories.string(),
|
|
1401
|
-
quantity: factories.long(),
|
|
1402
|
-
shipment_estimate: factories['io.flow.common.v0.models.datetime_range'](),
|
|
1403
|
-
price: factories['io.flow.common.v0.models.money_with_base'](),
|
|
1404
|
-
attributes: objectOf(function () { return factories.string(); }),
|
|
1405
|
-
center: factories.string(),
|
|
1406
|
-
}); },
|
|
1407
|
-
'io.flow.fulfillment.v0.models.quote_summary': function () { return ({
|
|
1408
|
-
id: factories.string(),
|
|
1409
|
-
destination: factories['io.flow.fulfillment.v0.models.shipping_address'](),
|
|
1410
|
-
}); },
|
|
1411
|
-
'io.flow.fulfillment.v0.models.quote_version': function () { return ({
|
|
1412
|
-
id: factories.string(),
|
|
1413
|
-
timestamp: factories.date_time_iso_8601(),
|
|
1414
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
1415
|
-
quote: factories['io.flow.fulfillment.v0.models.quote_summary'](),
|
|
1416
|
-
}); },
|
|
1417
|
-
'io.flow.fulfillment.v0.models.scheduled_pickup': function () { return ({
|
|
1418
|
-
day_of_week: factories['io.flow.common.v0.enums.day_of_week'](),
|
|
1419
|
-
hour_of_day: factories.string(),
|
|
1420
|
-
minute_of_hour: factories.string(),
|
|
1421
|
-
}); },
|
|
1422
|
-
'io.flow.fulfillment.v0.models.service_reference': function () { return ({
|
|
1423
|
-
id: factories.string(),
|
|
1424
|
-
}); },
|
|
1425
|
-
'io.flow.fulfillment.v0.models.service_summary': function () { return ({
|
|
1426
|
-
discriminator: 'service_summary',
|
|
1427
|
-
id: factories.string(),
|
|
1428
|
-
carrier: factories['io.flow.fulfillment.v0.models.carrier_reference'](),
|
|
1429
|
-
name: factories.string(),
|
|
1430
|
-
center_code: factories.string(),
|
|
1431
|
-
}); },
|
|
1432
|
-
'io.flow.fulfillment.v0.models.service_unknown': function () { return ({
|
|
1433
|
-
discriminator: 'service_unknown',
|
|
1434
|
-
name: factories.string(),
|
|
1435
|
-
}); },
|
|
1436
|
-
'io.flow.fulfillment.v0.models.shipping_address': function () { return ({
|
|
1437
|
-
contact: factories['io.flow.common.v0.models.contact'](),
|
|
1438
|
-
location: factories['io.flow.common.v0.models.address'](),
|
|
1439
|
-
center_key: factories.string(),
|
|
1440
|
-
center_reference: factories['io.flow.fulfillment.v0.models.center_reference'](),
|
|
1441
|
-
service: factories['io.flow.fulfillment.v0.models.service_summary'](),
|
|
1442
|
-
}); },
|
|
1443
|
-
'io.flow.fulfillment.v0.models.shipping_configuration': function () { return ({
|
|
1444
|
-
id: factories.string(),
|
|
1445
|
-
name: factories.string(),
|
|
1446
|
-
key: factories.string(),
|
|
1447
|
-
type: factories['io.flow.fulfillment.v0.enums.shipping_configuration_type'](),
|
|
1448
|
-
shipping_lanes: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.shipping_lane'](); }),
|
|
1449
|
-
}); },
|
|
1450
|
-
'io.flow.fulfillment.v0.models.shipping_configuration_copy': function () { return ({
|
|
1451
|
-
original: factories['io.flow.fulfillment.v0.models.shipping_configuration_reference'](),
|
|
1452
|
-
'new': factories['io.flow.fulfillment.v0.models.shipping_configuration_reference'](),
|
|
1453
|
-
}); },
|
|
1454
|
-
'io.flow.fulfillment.v0.models.shipping_configuration_copy_form': function () { return ({
|
|
1455
|
-
name: factories.string(),
|
|
1456
|
-
}); },
|
|
1457
|
-
'io.flow.fulfillment.v0.models.shipping_configuration_form': function () { return ({
|
|
1458
|
-
name: factories.string(),
|
|
1459
|
-
}); },
|
|
1460
|
-
'io.flow.fulfillment.v0.models.shipping_configuration_item_availability': function () { return ({
|
|
1461
|
-
id: factories.string(),
|
|
1462
|
-
item: factories['io.flow.common.v0.models.item_reference'](),
|
|
1463
|
-
shipping_configuration: factories['io.flow.fulfillment.v0.models.shipping_configuration_summary'](),
|
|
1464
|
-
availabilities: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.country_availability'](); }),
|
|
1465
|
-
}); },
|
|
1466
|
-
'io.flow.fulfillment.v0.models.shipping_configuration_item_shipping_pricing': function () { return ({
|
|
1467
|
-
id: factories.string(),
|
|
1468
|
-
item: factories['io.flow.common.v0.models.item_reference'](),
|
|
1469
|
-
shipping_configuration: factories['io.flow.fulfillment.v0.models.shipping_configuration_summary'](),
|
|
1470
|
-
country_shipping_pricings: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.country_shipping_pricing'](); }),
|
|
1471
|
-
}); },
|
|
1472
|
-
'io.flow.fulfillment.v0.models.shipping_configuration_reference': function () { return ({
|
|
1473
|
-
key: factories.string(),
|
|
1474
|
-
}); },
|
|
1475
|
-
'io.flow.fulfillment.v0.models.shipping_configuration_summary': function () { return ({
|
|
1476
|
-
id: factories.string(),
|
|
1477
|
-
name: factories.string(),
|
|
1478
|
-
key: factories.string(),
|
|
1479
|
-
type: factories['io.flow.fulfillment.v0.enums.shipping_configuration_type'](),
|
|
1480
|
-
}); },
|
|
1481
|
-
'io.flow.fulfillment.v0.models.shipping_configuration_version': function () { return ({
|
|
1482
|
-
id: factories.string(),
|
|
1483
|
-
timestamp: factories.date_time_iso_8601(),
|
|
1484
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
1485
|
-
shipping_configuration: factories['io.flow.fulfillment.v0.models.shipping_configuration'](),
|
|
1486
|
-
}); },
|
|
1487
|
-
'io.flow.fulfillment.v0.models.shipping_lane': function () { return ({
|
|
1488
|
-
id: factories.string(),
|
|
1489
|
-
shipping_configuration: factories['io.flow.fulfillment.v0.models.shipping_configuration_reference'](),
|
|
1490
|
-
region: factories.string(),
|
|
1491
|
-
centers: arrayOf(function () { return factories['io.flow.fulfillment.v0.unions.expandable_center'](); }),
|
|
1492
|
-
tiers: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.tier'](); }),
|
|
1493
|
-
query: factories['io.flow.query.builder.v0.models.query'](),
|
|
1494
|
-
strategy: factories['io.flow.fulfillment.v0.enums.lane_strategy'](),
|
|
1495
|
-
direction: factories['io.flow.fulfillment.v0.enums.lane_direction'](),
|
|
1496
|
-
preference: factories['io.flow.fulfillment.v0.enums.lane_preselect_preference'](),
|
|
1497
|
-
}); },
|
|
1498
|
-
'io.flow.fulfillment.v0.models.shipping_lane_default_tier': function () { return ({
|
|
1499
|
-
id: factories.string(),
|
|
1500
|
-
tier: factories['io.flow.fulfillment.v0.models.tier_reference'](),
|
|
1501
|
-
}); },
|
|
1502
|
-
'io.flow.fulfillment.v0.models.shipping_lane_default_tier_form': function () { return ({
|
|
1503
|
-
tier_id: factories.string(),
|
|
1504
|
-
}); },
|
|
1505
|
-
'io.flow.fulfillment.v0.models.shipping_lane_form': function () { return ({
|
|
1506
|
-
from: factories.string(),
|
|
1507
|
-
to: factories.string(),
|
|
1508
|
-
strategy: factories['io.flow.fulfillment.v0.enums.lane_strategy'](),
|
|
1509
|
-
direction: factories['io.flow.fulfillment.v0.enums.lane_direction'](),
|
|
1510
|
-
preference: factories['io.flow.fulfillment.v0.enums.lane_preselect_preference'](),
|
|
1511
|
-
}); },
|
|
1512
|
-
'io.flow.fulfillment.v0.models.shipping_lane_summary': function () { return ({
|
|
1513
|
-
shipping_lane_id: factories.string(),
|
|
1514
|
-
region: factories.string(),
|
|
1515
|
-
centers: arrayOf(function () { return factories['io.flow.fulfillment.v0.unions.expandable_center'](); }),
|
|
1516
|
-
}); },
|
|
1517
|
-
'io.flow.fulfillment.v0.models.shipping_lane_version': function () { return ({
|
|
1518
|
-
id: factories.string(),
|
|
1519
|
-
timestamp: factories.date_time_iso_8601(),
|
|
1520
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
1521
|
-
shipping_lane: factories['io.flow.fulfillment.v0.models.shipping_lane'](),
|
|
1522
|
-
}); },
|
|
1523
|
-
'io.flow.fulfillment.v0.models.surcharge_responsible_party_display': function () { return ({
|
|
1524
|
-
name: factories.string(),
|
|
1525
|
-
responsible_party: factories['io.flow.fulfillment.v0.enums.surcharge_responsible_party'](),
|
|
1526
|
-
}); },
|
|
1527
|
-
'io.flow.fulfillment.v0.models.surcharge_setting': function () { return ({
|
|
1528
|
-
key: factories['io.flow.fulfillment.v0.enums.delivery_option_cost_detail_component_key'](),
|
|
1529
|
-
responsible_party: factories['io.flow.fulfillment.v0.enums.surcharge_responsible_party'](),
|
|
1530
|
-
}); },
|
|
1531
|
-
'io.flow.fulfillment.v0.models.surcharge_setting_display': function () { return ({
|
|
1532
|
-
name: factories.string(),
|
|
1533
|
-
description: factories.string(),
|
|
1534
|
-
key: factories['io.flow.fulfillment.v0.enums.delivery_option_cost_detail_component_key'](),
|
|
1535
|
-
available: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.surcharge_responsible_party_display'](); }),
|
|
1536
|
-
}); },
|
|
1537
|
-
'io.flow.fulfillment.v0.models.tier': function () { return ({
|
|
1538
|
-
id: factories.string(),
|
|
1539
|
-
direction: factories['io.flow.fulfillment.v0.enums.lane_direction'](),
|
|
1540
|
-
integration: factories['io.flow.fulfillment.v0.enums.shipment_integration_type'](),
|
|
1541
|
-
name: factories.string(),
|
|
1542
|
-
message: factories.string(),
|
|
1543
|
-
rules: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.tier_rule'](); }),
|
|
1544
|
-
services: arrayOf(function () { return factories['io.flow.reference.v0.models.carrier_service'](); }),
|
|
1545
|
-
strategy: factories['io.flow.fulfillment.v0.enums.tier_strategy'](),
|
|
1546
|
-
visibility: factories['io.flow.common.v0.enums.visibility'](),
|
|
1547
|
-
currency: factories.string(),
|
|
1548
|
-
description: factories.string(),
|
|
1549
|
-
display: factories['io.flow.fulfillment.v0.models.tier_display'](),
|
|
1550
|
-
shipping_lane: factories.string(),
|
|
1551
|
-
surcharge_settings: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.surcharge_setting'](); }),
|
|
1552
|
-
lane: factories['io.flow.fulfillment.v0.models.shipping_lane_summary'](),
|
|
1553
|
-
settings: factories['io.flow.fulfillment.v0.models.tier_settings'](),
|
|
1554
|
-
}); },
|
|
1555
|
-
'io.flow.fulfillment.v0.models.tier_display': function () { return ({
|
|
1556
|
-
estimate: factories['io.flow.fulfillment.v0.models.tier_estimate'](),
|
|
1557
|
-
}); },
|
|
1558
|
-
'io.flow.fulfillment.v0.models.tier_display_form': function () { return ({
|
|
1559
|
-
estimate: factories['io.flow.fulfillment.v0.models.tier_estimate'](),
|
|
1560
|
-
}); },
|
|
1561
|
-
'io.flow.fulfillment.v0.models.tier_estimate': function () { return ({
|
|
1562
|
-
type: factories['io.flow.fulfillment.v0.enums.tier_estimate_type'](),
|
|
1563
|
-
label: factories.string(),
|
|
1564
|
-
}); },
|
|
1565
|
-
'io.flow.fulfillment.v0.models.tier_form': function () { return ({
|
|
1566
|
-
currency: factories.string(),
|
|
1567
|
-
integration: factories['io.flow.fulfillment.v0.enums.shipment_integration_type'](),
|
|
1568
|
-
name: factories.string(),
|
|
1569
|
-
message: factories.string(),
|
|
1570
|
-
rules: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.tier_rule_form'](); }),
|
|
1571
|
-
services: arrayOf(function () { return factories.string(); }),
|
|
1572
|
-
strategy: factories['io.flow.fulfillment.v0.enums.tier_strategy'](),
|
|
1573
|
-
visibility: factories['io.flow.common.v0.enums.visibility'](),
|
|
1574
|
-
description: factories.string(),
|
|
1575
|
-
direction: factories['io.flow.fulfillment.v0.enums.lane_direction'](),
|
|
1576
|
-
display: factories['io.flow.fulfillment.v0.models.tier_display_form'](),
|
|
1577
|
-
shipping_lane: factories.string(),
|
|
1578
|
-
surcharge_settings: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.surcharge_setting'](); }),
|
|
1579
|
-
settings: factories['io.flow.fulfillment.v0.models.tier_settings'](),
|
|
1580
|
-
}); },
|
|
1581
|
-
'io.flow.fulfillment.v0.models.tier_reference': function () { return ({
|
|
1582
|
-
id: factories.string(),
|
|
1583
|
-
}); },
|
|
1584
|
-
'io.flow.fulfillment.v0.models.tier_rule': function () { return ({
|
|
1585
|
-
id: factories.string(),
|
|
1586
|
-
position: factories.long(),
|
|
1587
|
-
query: factories.string(),
|
|
1588
|
-
outcome: factories['io.flow.fulfillment.v0.unions.tier_rule_outcome'](),
|
|
1589
|
-
}); },
|
|
1590
|
-
'io.flow.fulfillment.v0.models.tier_rule_form': function () { return ({
|
|
1591
|
-
position: factories.long(),
|
|
1592
|
-
query: factories.string(),
|
|
1593
|
-
outcome: factories['io.flow.fulfillment.v0.unions.tier_rule_outcome_form'](),
|
|
1594
|
-
}); },
|
|
1595
|
-
'io.flow.fulfillment.v0.models.tier_rule_version': function () { return ({
|
|
1596
|
-
id: factories.string(),
|
|
1597
|
-
timestamp: factories.date_time_iso_8601(),
|
|
1598
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
1599
|
-
tier_rule: factories['io.flow.fulfillment.v0.models.tier_rule'](),
|
|
1600
|
-
}); },
|
|
1601
|
-
'io.flow.fulfillment.v0.models.tier_settings': function () { return ({
|
|
1602
|
-
availability: factories['io.flow.fulfillment.v0.enums.tier_availability'](),
|
|
1603
|
-
}); },
|
|
1604
|
-
'io.flow.fulfillment.v0.models.tier_summary': function () { return ({
|
|
1605
|
-
id: factories.string(),
|
|
1606
|
-
experience: factories['io.flow.fulfillment.v0.models.fulfillment_experience_reference'](),
|
|
1607
|
-
integration: factories['io.flow.fulfillment.v0.enums.shipment_integration_type'](),
|
|
1608
|
-
name: factories.string(),
|
|
1609
|
-
services: arrayOf(function () { return factories.string(); }),
|
|
1610
|
-
strategy: factories['io.flow.fulfillment.v0.enums.tier_strategy'](),
|
|
1611
|
-
visibility: factories['io.flow.common.v0.enums.visibility'](),
|
|
1612
|
-
currency: factories.string(),
|
|
1613
|
-
display: factories['io.flow.fulfillment.v0.models.tier_display'](),
|
|
1614
|
-
message: factories.string(),
|
|
1615
|
-
settings: factories['io.flow.fulfillment.v0.models.tier_settings'](),
|
|
1616
|
-
}); },
|
|
1617
|
-
'io.flow.fulfillment.v0.models.tier_version': function () { return ({
|
|
1618
|
-
id: factories.string(),
|
|
1619
|
-
timestamp: factories.date_time_iso_8601(),
|
|
1620
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
1621
|
-
tier: factories['io.flow.fulfillment.v0.models.tier_summary'](),
|
|
1622
|
-
}); },
|
|
1623
|
-
'io.flow.fulfillment.v0.models.transit_estimate': function () { return ({
|
|
1624
|
-
origin: factories['io.flow.fulfillment.v0.enums.delivery_window_location'](),
|
|
1625
|
-
destination: factories['io.flow.fulfillment.v0.enums.delivery_window_location'](),
|
|
1626
|
-
min_date: factories.date_time_iso_8601(),
|
|
1627
|
-
max_date: factories.date_time_iso_8601(),
|
|
1628
|
-
source: factories['io.flow.fulfillment.v0.enums.delivery_window_component_source'](),
|
|
1629
|
-
}); },
|
|
1630
|
-
'io.flow.fulfillment.v0.unions.delivery': function () {
|
|
1631
|
-
var f = faker_1.default.helpers.arrayElement([
|
|
1632
|
-
function () { return factories['io.flow.fulfillment.v0.models.digital_delivery'](); },
|
|
1633
|
-
function () { return factories['io.flow.fulfillment.v0.models.physical_delivery'](); },
|
|
1634
|
-
]);
|
|
1635
|
-
return f();
|
|
1636
|
-
},
|
|
1637
|
-
'io.flow.fulfillment.v0.unions.expandable_center': function () {
|
|
1638
|
-
var f = faker_1.default.helpers.arrayElement([
|
|
1639
|
-
function () { return factories['io.flow.fulfillment.v0.models.center'](); },
|
|
1640
|
-
function () { return factories['io.flow.fulfillment.v0.models.center_reference'](); },
|
|
1641
|
-
]);
|
|
1642
|
-
return f();
|
|
1643
|
-
},
|
|
1644
|
-
'io.flow.fulfillment.v0.unions.partner_center_fee': function () {
|
|
1645
|
-
var f = faker_1.default.helpers.arrayElement([
|
|
1646
|
-
function () { return factories['io.flow.fulfillment.v0.models.commercial_invoice_fee'](); },
|
|
1647
|
-
function () { return factories['io.flow.fulfillment.v0.models.inbound_carton_fee'](); },
|
|
1648
|
-
function () { return factories['io.flow.fulfillment.v0.models.outbound_carton_fee'](); },
|
|
1649
|
-
]);
|
|
1650
|
-
return f();
|
|
1651
|
-
},
|
|
1652
|
-
'io.flow.fulfillment.v0.unions.service_description': function () {
|
|
1653
|
-
var f = faker_1.default.helpers.arrayElement([
|
|
1654
|
-
function () { return factories['io.flow.fulfillment.v0.models.service_summary'](); },
|
|
1655
|
-
function () { return factories['io.flow.fulfillment.v0.models.service_unknown'](); },
|
|
1656
|
-
]);
|
|
1657
|
-
return f();
|
|
1658
|
-
},
|
|
1659
|
-
'io.flow.fulfillment.v0.unions.tier_rule_outcome': function () {
|
|
1660
|
-
var f = faker_1.default.helpers.arrayElement([
|
|
1661
|
-
function () { return factories['io.flow.fulfillment.v0.models.amount_margin'](); },
|
|
1662
|
-
function () { return factories['io.flow.fulfillment.v0.models.at_cost'](); },
|
|
1663
|
-
function () { return factories['io.flow.fulfillment.v0.models.flat_rate'](); },
|
|
1664
|
-
function () { return factories['io.flow.fulfillment.v0.models.percent_margin'](); },
|
|
1665
|
-
]);
|
|
1666
|
-
return f();
|
|
1667
|
-
},
|
|
1668
|
-
'io.flow.fulfillment.v0.unions.tier_rule_outcome_form': function () {
|
|
1669
|
-
var f = faker_1.default.helpers.arrayElement([
|
|
1670
|
-
function () { return factories['io.flow.fulfillment.v0.models.amount_margin_form'](); },
|
|
1671
|
-
function () { return factories['io.flow.fulfillment.v0.models.flat_rate_form'](); },
|
|
1672
|
-
function () { return factories['io.flow.fulfillment.v0.models.at_cost'](); },
|
|
1673
|
-
function () { return factories['io.flow.fulfillment.v0.models.percent_margin'](); },
|
|
1674
|
-
]);
|
|
1675
|
-
return f();
|
|
1676
|
-
},
|
|
1677
|
-
'io.flow.google.pay.v0.enums.auth_method': function () { return faker_1.default.helpers.arrayElement(['PAN_ONLY', 'CRYPTOGRAM_3DS']); },
|
|
1678
|
-
'io.flow.google.pay.v0.enums.billing_address_format': function () { return faker_1.default.helpers.arrayElement(['MIN', 'FULL']); },
|
|
1679
|
-
'io.flow.google.pay.v0.enums.card_gateway': function () { return faker_1.default.helpers.arrayElement(['adyen', 'stripe']); },
|
|
1680
|
-
'io.flow.google.pay.v0.enums.card_network': function () { return faker_1.default.helpers.arrayElement(['AMEX', 'DISCOVER', 'JCB', 'MASTERCARD', 'VISA']); },
|
|
1681
|
-
'io.flow.google.pay.v0.enums.payment_method_type': function () { return faker_1.default.helpers.arrayElement(['CARD']); },
|
|
1682
|
-
'io.flow.google.pay.v0.enums.tokenization_type': function () { return faker_1.default.helpers.arrayElement(['PAYMENT_GATEWAY', 'DIRECT']); },
|
|
1683
|
-
'io.flow.google.pay.v0.enums.total_price_status': function () { return faker_1.default.helpers.arrayElement(['NOT_CURRENTLY_KNOWN', 'ESTIMATED', 'FINAL']); },
|
|
1684
|
-
'io.flow.google.pay.v0.models.address': function () { return ({
|
|
1685
|
-
name: factories.string(),
|
|
1686
|
-
postalCode: factories.string(),
|
|
1687
|
-
countryCode: factories.string(),
|
|
1688
|
-
phoneNumber: factories.string(),
|
|
1689
|
-
companyName: factories.string(),
|
|
1690
|
-
address1: factories.string(),
|
|
1691
|
-
address2: factories.string(),
|
|
1692
|
-
address3: factories.string(),
|
|
1693
|
-
locality: factories.string(),
|
|
1694
|
-
administrativeArea: factories.string(),
|
|
1695
|
-
sortingCode: factories.string(),
|
|
1696
|
-
}); },
|
|
1697
|
-
'io.flow.google.pay.v0.models.billing_address_parameters': function () { return ({
|
|
1698
|
-
format: factories['io.flow.google.pay.v0.enums.billing_address_format'](),
|
|
1699
|
-
phoneNumberRequired: factories.boolean(),
|
|
1700
|
-
}); },
|
|
1701
|
-
'io.flow.google.pay.v0.models.card_adyen_tokenization_parameters': function () { return ({
|
|
1702
|
-
gateway: factories.string(),
|
|
1703
|
-
gatewayMerchantId: factories.string(),
|
|
1704
|
-
}); },
|
|
1705
|
-
'io.flow.google.pay.v0.models.card_direct_tokenization_parameters': function () { return ({
|
|
1706
|
-
protocolVersion: factories.string(),
|
|
1707
|
-
publicKey: factories.string(),
|
|
1708
|
-
}); },
|
|
1709
|
-
'io.flow.google.pay.v0.models.card_payment_method_data_info': function () { return ({
|
|
1710
|
-
cardDetails: factories.string(),
|
|
1711
|
-
cardNetwork: factories.string(),
|
|
1712
|
-
billingAddress: factories['io.flow.google.pay.v0.models.address'](),
|
|
1713
|
-
}); },
|
|
1714
|
-
'io.flow.google.pay.v0.models.card_payment_method_parameters': function () { return ({
|
|
1715
|
-
allowedAuthMethods: arrayOf(function () { return factories['io.flow.google.pay.v0.enums.auth_method'](); }),
|
|
1716
|
-
allowedCardNetworks: arrayOf(function () { return factories['io.flow.google.pay.v0.enums.card_network'](); }),
|
|
1717
|
-
billingAddressRequired: factories.boolean(),
|
|
1718
|
-
billingAddressParameters: factories['io.flow.google.pay.v0.models.billing_address_parameters'](),
|
|
1719
|
-
}); },
|
|
1720
|
-
'io.flow.google.pay.v0.models.direct_payment_method_token': function () { return ({
|
|
1721
|
-
discriminator: 'direct_payment_method_token',
|
|
1722
|
-
protocolVersion: factories.string(),
|
|
1723
|
-
signature: factories.string(),
|
|
1724
|
-
signedMessage: factories.string(),
|
|
1725
|
-
}); },
|
|
1726
|
-
'io.flow.google.pay.v0.models.encrypted_message': function () { return ({
|
|
1727
|
-
messageExpiration: factories.string(),
|
|
1728
|
-
messageId: factories.string(),
|
|
1729
|
-
paymentMethod: factories['io.flow.google.pay.v0.models.payment_method'](),
|
|
1730
|
-
paymentMethodDetails: factories['io.flow.google.pay.v0.models.payment_method_details'](),
|
|
1731
|
-
}); },
|
|
1732
|
-
'io.flow.google.pay.v0.models.merchant_info': function () { return ({
|
|
1733
|
-
merchantId: factories.string(),
|
|
1734
|
-
merchantName: factories.string(),
|
|
1735
|
-
authJwt: factories.string(),
|
|
1736
|
-
}); },
|
|
1737
|
-
'io.flow.google.pay.v0.models.payment_data': function () { return ({
|
|
1738
|
-
apiVersion: factories.integer(),
|
|
1739
|
-
apiVersionMinor: factories.integer(),
|
|
1740
|
-
paymentMethodData: factories['io.flow.google.pay.v0.models.payment_method_data'](),
|
|
1741
|
-
email: factories.string(),
|
|
1742
|
-
shippingAddress: factories['io.flow.google.pay.v0.models.address'](),
|
|
1743
|
-
}); },
|
|
1744
|
-
'io.flow.google.pay.v0.models.payment_data_request': function () { return ({
|
|
1745
|
-
apiVersion: factories.integer(),
|
|
1746
|
-
apiVersionMinor: factories.integer(),
|
|
1747
|
-
merchantInfo: factories['io.flow.google.pay.v0.models.merchant_info'](),
|
|
1748
|
-
allowedPaymentMethods: arrayOf(function () { return factories['io.flow.google.pay.v0.models.payment_method'](); }),
|
|
1749
|
-
transactionInfo: factories['io.flow.google.pay.v0.models.transaction_info'](),
|
|
1750
|
-
emailRequired: factories.boolean(),
|
|
1751
|
-
shippingAddressRequired: factories.boolean(),
|
|
1752
|
-
shippingAddressParameters: factories['io.flow.google.pay.v0.models.shipping_address_parameters'](),
|
|
1753
|
-
}); },
|
|
1754
|
-
'io.flow.google.pay.v0.models.payment_method': function () { return ({
|
|
1755
|
-
type: factories['io.flow.google.pay.v0.enums.payment_method_type'](),
|
|
1756
|
-
parameters: factories['io.flow.google.pay.v0.models.card_payment_method_parameters'](),
|
|
1757
|
-
tokenizationSpecification: factories['io.flow.google.pay.v0.models.payment_method_tokenization_specification'](),
|
|
1758
|
-
}); },
|
|
1759
|
-
'io.flow.google.pay.v0.models.payment_method_data': function () { return ({
|
|
1760
|
-
type: factories['io.flow.google.pay.v0.enums.payment_method_type'](),
|
|
1761
|
-
description: factories.string(),
|
|
1762
|
-
info: factories['io.flow.google.pay.v0.models.card_payment_method_data_info'](),
|
|
1763
|
-
tokenizationData: factories['io.flow.google.pay.v0.models.payment_method_tokenization_data'](),
|
|
1764
|
-
}); },
|
|
1765
|
-
'io.flow.google.pay.v0.models.payment_method_details': function () { return ({
|
|
1766
|
-
pan: factories.string(),
|
|
1767
|
-
expirationMonth: factories.integer(),
|
|
1768
|
-
expirationYear: factories.integer(),
|
|
1769
|
-
authMethod: factories['io.flow.google.pay.v0.enums.auth_method'](),
|
|
1770
|
-
cryptogram: factories.string(),
|
|
1771
|
-
eciIndicator: factories.string(),
|
|
1772
|
-
}); },
|
|
1773
|
-
'io.flow.google.pay.v0.models.payment_method_tokenization_data': function () { return ({
|
|
1774
|
-
type: factories.string(),
|
|
1775
|
-
token: factories.string(),
|
|
1776
|
-
}); },
|
|
1777
|
-
'io.flow.google.pay.v0.models.payment_method_tokenization_specification': function () { return ({
|
|
1778
|
-
type: factories['io.flow.google.pay.v0.enums.tokenization_type'](),
|
|
1779
|
-
parameters: factories.object(),
|
|
1780
|
-
}); },
|
|
1781
|
-
'io.flow.google.pay.v0.models.shipping_address_parameters': function () { return ({
|
|
1782
|
-
allowedCountryCodes: arrayOf(function () { return factories.string(); }),
|
|
1783
|
-
}); },
|
|
1784
|
-
'io.flow.google.pay.v0.models.signed_message': function () { return ({
|
|
1785
|
-
encryptedMessage: factories.string(),
|
|
1786
|
-
ephemeralPublicKey: factories.string(),
|
|
1787
|
-
tag: factories.string(),
|
|
1788
|
-
}); },
|
|
1789
|
-
'io.flow.google.pay.v0.models.stripe_payment_method_token': function () { return ({
|
|
1790
|
-
discriminator: 'stripe_payment_method_token',
|
|
1791
|
-
token: factories['io.flow.stripe.v0.models.token'](),
|
|
1792
|
-
}); },
|
|
1793
|
-
'io.flow.google.pay.v0.models.transaction_info': function () { return ({
|
|
1794
|
-
totalPriceStatus: factories['io.flow.google.pay.v0.enums.total_price_status'](),
|
|
1795
|
-
totalPrice: factories.string(),
|
|
1796
|
-
currencyCode: factories.string(),
|
|
1797
|
-
}); },
|
|
1798
|
-
'io.flow.google.pay.v0.unions.payment_method_token': function () {
|
|
1799
|
-
var f = faker_1.default.helpers.arrayElement([
|
|
1800
|
-
function () { return factories['io.flow.google.pay.v0.models.direct_payment_method_token'](); },
|
|
1801
|
-
function () { return factories['io.flow.google.pay.v0.models.stripe_payment_method_token'](); },
|
|
1802
|
-
]);
|
|
1803
|
-
return f();
|
|
1804
|
-
},
|
|
1805
|
-
'io.flow.inventory.v0.enums.aggregate': function () { return faker_1.default.helpers.arrayElement(['maximum', 'minimum']); },
|
|
1806
|
-
'io.flow.inventory.v0.enums.inventory_status': function () { return faker_1.default.helpers.arrayElement(['has_inventory', 'no_inventory']); },
|
|
1807
|
-
'io.flow.inventory.v0.enums.update_type': function () { return faker_1.default.helpers.arrayElement(['change', 'set']); },
|
|
1808
|
-
'io.flow.inventory.v0.models.external_api_timeout_reservation_error': function () { return ({
|
|
1809
|
-
code: 'external_api_timeout',
|
|
1810
|
-
messages: arrayOf(function () { return factories.string(); }),
|
|
1811
|
-
}); },
|
|
1812
|
-
'io.flow.inventory.v0.models.generic_reservation_error': function () { return ({
|
|
1813
|
-
code: 'generic_reservation_error',
|
|
1814
|
-
messages: arrayOf(function () { return factories.string(); }),
|
|
1815
|
-
}); },
|
|
1816
|
-
'io.flow.inventory.v0.models.inventory_backorder': function () { return ({
|
|
1817
|
-
discriminator: 'inventory_backorder',
|
|
1818
|
-
quantity: factories.long(),
|
|
1819
|
-
}); },
|
|
1820
|
-
'io.flow.inventory.v0.models.inventory_center_reference': function () { return ({
|
|
1821
|
-
key: factories.string(),
|
|
1822
|
-
}); },
|
|
1823
|
-
'io.flow.inventory.v0.models.inventory_check_response': function () { return ({
|
|
1824
|
-
items: arrayOf(function () { return factories['io.flow.inventory.v0.models.inventory_check_response_item'](); }),
|
|
1825
|
-
}); },
|
|
1826
|
-
'io.flow.inventory.v0.models.inventory_check_response_item': function () { return ({
|
|
1827
|
-
number: factories.string(),
|
|
1828
|
-
quantity: factories.long(),
|
|
1829
|
-
inventory_status: factories['io.flow.inventory.v0.enums.inventory_status'](),
|
|
1830
|
-
}); },
|
|
1831
|
-
'io.flow.inventory.v0.models.inventory_experience_reference': function () { return ({
|
|
1832
|
-
key: factories.string(),
|
|
1833
|
-
}); },
|
|
1834
|
-
'io.flow.inventory.v0.models.inventory_follow_ecommerce_platform': function () { return ({
|
|
1835
|
-
discriminator: 'inventory_follow_ecommerce_platform',
|
|
1836
|
-
quantity: factories.long(),
|
|
1837
|
-
}); },
|
|
1838
|
-
'io.flow.inventory.v0.models.inventory_item_reference': function () { return ({
|
|
1839
|
-
number: factories.string(),
|
|
1840
|
-
}); },
|
|
1841
|
-
'io.flow.inventory.v0.models.inventory_request': function () { return ({
|
|
1842
|
-
items: arrayOf(function () { return factories['io.flow.inventory.v0.models.inventory_request_item'](); }),
|
|
1843
|
-
}); },
|
|
1844
|
-
'io.flow.inventory.v0.models.inventory_request_item': function () { return ({
|
|
1845
|
-
number: factories.string(),
|
|
1846
|
-
quantity: factories.long(),
|
|
1847
|
-
}); },
|
|
1848
|
-
'io.flow.inventory.v0.models.inventory_rule': function () { return ({
|
|
1849
|
-
id: factories.string(),
|
|
1850
|
-
position: factories.long(),
|
|
1851
|
-
query: factories.string(),
|
|
1852
|
-
strategy: factories['io.flow.inventory.v0.unions.inventory_strategy'](),
|
|
1853
|
-
}); },
|
|
1854
|
-
'io.flow.inventory.v0.models.inventory_rule_form': function () { return ({
|
|
1855
|
-
position: factories.long(),
|
|
1856
|
-
query: factories.string(),
|
|
1857
|
-
strategy: factories['io.flow.inventory.v0.unions.inventory_strategy'](),
|
|
1858
|
-
}); },
|
|
1859
|
-
'io.flow.inventory.v0.models.inventory_rule_version': function () { return ({
|
|
1860
|
-
id: factories.string(),
|
|
1861
|
-
timestamp: factories.date_time_iso_8601(),
|
|
1862
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
1863
|
-
inventory_rule: factories['io.flow.inventory.v0.models.inventory_rule'](),
|
|
1864
|
-
}); },
|
|
1865
|
-
'io.flow.inventory.v0.models.inventory_snapshot': function () { return ({
|
|
1866
|
-
id: factories.string(),
|
|
1867
|
-
available: factories.long(),
|
|
1868
|
-
center: factories['io.flow.inventory.v0.models.inventory_center_reference'](),
|
|
1869
|
-
item: factories['io.flow.inventory.v0.models.inventory_item_reference'](),
|
|
1870
|
-
quantity: factories.long(),
|
|
1871
|
-
}); },
|
|
1872
|
-
'io.flow.inventory.v0.models.inventory_snapshot_version': function () { return ({
|
|
1873
|
-
id: factories.string(),
|
|
1874
|
-
timestamp: factories.date_time_iso_8601(),
|
|
1875
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
1876
|
-
inventory_snapshot: factories['io.flow.inventory.v0.models.inventory_snapshot'](),
|
|
1877
|
-
}); },
|
|
1878
|
-
'io.flow.inventory.v0.models.inventory_stock': function () { return ({
|
|
1879
|
-
discriminator: 'inventory_stock',
|
|
1880
|
-
quantity: factories.long(),
|
|
1881
|
-
}); },
|
|
1882
|
-
'io.flow.inventory.v0.models.inventory_unlimited': function () { return ({
|
|
1883
|
-
discriminator: 'inventory_unlimited',
|
|
1884
|
-
placeholder: factories.string(),
|
|
1885
|
-
}); },
|
|
1886
|
-
'io.flow.inventory.v0.models.inventory_update': function () { return ({
|
|
1887
|
-
id: factories.string(),
|
|
1888
|
-
idempotency_key: factories.string(),
|
|
1889
|
-
center: factories['io.flow.inventory.v0.models.inventory_center_reference'](),
|
|
1890
|
-
item: factories['io.flow.inventory.v0.models.inventory_item_reference'](),
|
|
1891
|
-
notes: factories.object(),
|
|
1892
|
-
quantity: factories.long(),
|
|
1893
|
-
type: factories['io.flow.inventory.v0.enums.update_type'](),
|
|
1894
|
-
}); },
|
|
1895
|
-
'io.flow.inventory.v0.models.inventory_update_form': function () { return ({
|
|
1896
|
-
center: factories.string(),
|
|
1897
|
-
idempotency_key: factories.string(),
|
|
1898
|
-
item_number: factories.string(),
|
|
1899
|
-
quantity: factories.long(),
|
|
1900
|
-
type: factories['io.flow.inventory.v0.enums.update_type'](),
|
|
1901
|
-
notes: factories.object(),
|
|
1902
|
-
}); },
|
|
1903
|
-
'io.flow.inventory.v0.models.inventory_update_version': function () { return ({
|
|
1904
|
-
id: factories.string(),
|
|
1905
|
-
timestamp: factories.date_time_iso_8601(),
|
|
1906
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
1907
|
-
inventory_update: factories['io.flow.inventory.v0.models.inventory_update'](),
|
|
1908
|
-
}); },
|
|
1909
|
-
'io.flow.inventory.v0.models.no_inventory_reservation_error': function () { return ({
|
|
1910
|
-
code: 'no_inventory',
|
|
1911
|
-
messages: arrayOf(function () { return factories.string(); }),
|
|
1912
|
-
items: arrayOf(function () { return factories['io.flow.inventory.v0.models.no_inventory_reservation_error_item'](); }),
|
|
1913
|
-
}); },
|
|
1914
|
-
'io.flow.inventory.v0.models.no_inventory_reservation_error_item': function () { return ({
|
|
1915
|
-
number: factories.string(),
|
|
1916
|
-
requested_quantity: factories.long(),
|
|
1917
|
-
available_quantity: factories.long(),
|
|
1918
|
-
}); },
|
|
1919
|
-
'io.flow.inventory.v0.models.pfs_inventory_check_response': function () { return ({
|
|
1920
|
-
items: objectOf(function () { return factories['io.flow.inventory.v0.models.pfs_inventory_check_response_item'](); }),
|
|
1921
|
-
}); },
|
|
1922
|
-
'io.flow.inventory.v0.models.pfs_inventory_check_response_item': function () { return ({
|
|
1923
|
-
number: factories.string(),
|
|
1924
|
-
ats: factories.long(),
|
|
1925
|
-
in_stock: factories.boolean(),
|
|
1926
|
-
}); },
|
|
1927
|
-
'io.flow.inventory.v0.models.pfs_inventory_status': function () { return ({
|
|
1928
|
-
status: factories.string(),
|
|
1929
|
-
}); },
|
|
1930
|
-
'io.flow.inventory.v0.models.reservation': function () { return ({
|
|
1931
|
-
id: factories.string(),
|
|
1932
|
-
key: factories.string(),
|
|
1933
|
-
order: factories['io.flow.inventory.v0.models.reservation_order_reference'](),
|
|
1934
|
-
items: arrayOf(function () { return factories['io.flow.inventory.v0.models.reservation_item'](); }),
|
|
1935
|
-
reserved_until: factories.date_time_iso_8601(),
|
|
1936
|
-
}); },
|
|
1937
|
-
'io.flow.inventory.v0.models.reservation_form': function () { return ({
|
|
1938
|
-
order_number: factories.string(),
|
|
1939
|
-
items: arrayOf(function () { return factories['io.flow.inventory.v0.models.reservation_item_form'](); }),
|
|
1940
|
-
}); },
|
|
1941
|
-
'io.flow.inventory.v0.models.reservation_item': function () { return ({
|
|
1942
|
-
item: factories['io.flow.inventory.v0.models.reservation_item_reference'](),
|
|
1943
|
-
quantity: factories.long(),
|
|
1944
|
-
}); },
|
|
1945
|
-
'io.flow.inventory.v0.models.reservation_item_form': function () { return ({
|
|
1946
|
-
item_number: factories.string(),
|
|
1947
|
-
quantity: factories.long(),
|
|
1948
|
-
}); },
|
|
1949
|
-
'io.flow.inventory.v0.models.reservation_item_reference': function () { return ({
|
|
1950
|
-
number: factories.string(),
|
|
1951
|
-
}); },
|
|
1952
|
-
'io.flow.inventory.v0.models.reservation_order_reference': function () { return ({
|
|
1953
|
-
number: factories.string(),
|
|
1954
|
-
}); },
|
|
1955
|
-
'io.flow.inventory.v0.unions.inventory_strategy': function () {
|
|
1956
|
-
var f = faker_1.default.helpers.arrayElement([
|
|
1957
|
-
function () { return factories['io.flow.inventory.v0.models.inventory_backorder'](); },
|
|
1958
|
-
function () { return factories['io.flow.inventory.v0.models.inventory_stock'](); },
|
|
1959
|
-
function () { return factories['io.flow.inventory.v0.models.inventory_unlimited'](); },
|
|
1960
|
-
function () { return factories['io.flow.inventory.v0.models.inventory_follow_ecommerce_platform'](); },
|
|
1961
|
-
]);
|
|
1962
|
-
return f();
|
|
1963
|
-
},
|
|
1964
|
-
'io.flow.inventory.v0.unions.reservation_error': function () {
|
|
1965
|
-
var f = faker_1.default.helpers.arrayElement([
|
|
1966
|
-
function () { return factories['io.flow.inventory.v0.models.no_inventory_reservation_error'](); },
|
|
1967
|
-
function () { return factories['io.flow.inventory.v0.models.external_api_timeout_reservation_error'](); },
|
|
1968
|
-
function () { return factories['io.flow.inventory.v0.models.generic_reservation_error'](); },
|
|
1969
|
-
]);
|
|
1970
|
-
return f();
|
|
1971
|
-
},
|
|
1972
|
-
'io.flow.merchant.of.record.v0.enums.economic_title_location': function () { return faker_1.default.helpers.arrayElement(['high_seas', 'origination', 'destination']); },
|
|
1973
|
-
'io.flow.merchant.of.record.v0.enums.flow_entity': function () { return faker_1.default.helpers.arrayElement(['flow-usa', 'flow-irl', 'flow-can', 'ge-usa']); },
|
|
1974
|
-
'io.flow.order.price.v0.enums.order_price_detail_component_key': function () { return faker_1.default.helpers.arrayElement([
|
|
1975
|
-
'adjustment',
|
|
1976
|
-
'vat_deminimis',
|
|
1977
|
-
'duty_deminimis',
|
|
1978
|
-
'duties_item_price',
|
|
1979
|
-
'duties_freight',
|
|
1980
|
-
'duties_insurance',
|
|
1981
|
-
'vat_item_price',
|
|
1982
|
-
'vat_freight',
|
|
1983
|
-
'vat_insurance',
|
|
1984
|
-
'vat_duties_item_price',
|
|
1985
|
-
'vat_duties_freight',
|
|
1986
|
-
'vat_duties_insurance',
|
|
1987
|
-
'item_price',
|
|
1988
|
-
'item_discount',
|
|
1989
|
-
'rounding',
|
|
1990
|
-
'insurance',
|
|
1991
|
-
'shipping',
|
|
1992
|
-
'shipping_discount',
|
|
1993
|
-
'order_discount',
|
|
1994
|
-
'subtotal_percent_sales_margin',
|
|
1995
|
-
'subtotal_vat_percent_sales_margin',
|
|
1996
|
-
'subtotal_duty_percent_sales_margin',
|
|
1997
|
-
'vat_subsidy',
|
|
1998
|
-
'duty_subsidy',
|
|
1999
|
-
'remote_area_surcharge',
|
|
2000
|
-
'fuel_surcharge',
|
|
2001
|
-
'emergency_situation_surcharge',
|
|
2002
|
-
'peak_surcharge',
|
|
2003
|
-
'duties_taxes_paid_surcharge',
|
|
2004
|
-
'tip',
|
|
2005
|
-
]); },
|
|
2006
|
-
'io.flow.order.price.v0.enums.order_price_detail_key': function () { return faker_1.default.helpers.arrayElement([
|
|
2007
|
-
'adjustment',
|
|
2008
|
-
'subtotal',
|
|
2009
|
-
'vat',
|
|
2010
|
-
'duty',
|
|
2011
|
-
'shipping',
|
|
2012
|
-
'insurance',
|
|
2013
|
-
'discount',
|
|
2014
|
-
'surcharges',
|
|
2015
|
-
'tip',
|
|
2016
|
-
]); },
|
|
2017
|
-
'io.flow.order.price.v0.models.order_price_detail': function () { return ({
|
|
2018
|
-
key: factories['io.flow.order.price.v0.enums.order_price_detail_key'](),
|
|
2019
|
-
currency: factories.string(),
|
|
2020
|
-
amount: factories.decimal(),
|
|
2021
|
-
label: factories.string(),
|
|
2022
|
-
base: factories['io.flow.common.v0.models.price'](),
|
|
2023
|
-
components: arrayOf(function () { return factories['io.flow.order.price.v0.models.order_price_detail_component'](); }),
|
|
2024
|
-
name: factories.string(),
|
|
2025
|
-
rate: factories.decimal(),
|
|
2026
|
-
accuracy: factories['io.flow.price.v0.enums.price_accuracy'](),
|
|
2027
|
-
rate_label: factories.string(),
|
|
2028
|
-
}); },
|
|
2029
|
-
'io.flow.order.price.v0.models.order_price_detail_component': function () { return ({
|
|
2030
|
-
key: factories['io.flow.order.price.v0.enums.order_price_detail_component_key'](),
|
|
2031
|
-
currency: factories.string(),
|
|
2032
|
-
amount: factories.decimal(),
|
|
2033
|
-
label: factories.string(),
|
|
2034
|
-
base: factories['io.flow.common.v0.models.price'](),
|
|
2035
|
-
name: factories.string(),
|
|
2036
|
-
}); },
|
|
2037
|
-
'io.flow.organization.v0.enums.country_picker_source': function () { return faker_1.default.helpers.arrayElement(['experience', 'destination']); },
|
|
2038
|
-
'io.flow.organization.v0.enums.ecommerce_platform_type': function () { return faker_1.default.helpers.arrayElement([
|
|
2039
|
-
'commercetools',
|
|
2040
|
-
'custom',
|
|
2041
|
-
'hybris',
|
|
2042
|
-
'magento',
|
|
2043
|
-
'shopify',
|
|
2044
|
-
'shopify_markets',
|
|
2045
|
-
'sfcc',
|
|
2046
|
-
'solidus',
|
|
2047
|
-
'workarea',
|
|
2048
|
-
]); },
|
|
2049
|
-
'io.flow.organization.v0.enums.invitation_error_code': function () { return faker_1.default.helpers.arrayElement(['expired', 'invalid_email']); },
|
|
2050
|
-
'io.flow.organization.v0.models.country_picker': function () { return ({
|
|
2051
|
-
id: factories.string(),
|
|
2052
|
-
source: factories['io.flow.organization.v0.enums.country_picker_source'](),
|
|
2053
|
-
}); },
|
|
2054
|
-
'io.flow.organization.v0.models.country_picker_form': function () { return ({
|
|
2055
|
-
source: factories['io.flow.organization.v0.enums.country_picker_source'](),
|
|
2056
|
-
}); },
|
|
2057
|
-
'io.flow.organization.v0.models.ecommerce_platform': function () { return ({
|
|
2058
|
-
id: factories.string(),
|
|
2059
|
-
type: factories['io.flow.organization.v0.enums.ecommerce_platform_type'](),
|
|
2060
|
-
version: factories.string(),
|
|
2061
|
-
}); },
|
|
2062
|
-
'io.flow.organization.v0.models.ecommerce_platform_form': function () { return ({
|
|
2063
|
-
type: factories['io.flow.organization.v0.enums.ecommerce_platform_type'](),
|
|
2064
|
-
version: factories.string(),
|
|
2065
|
-
}); },
|
|
2066
|
-
'io.flow.organization.v0.models.invitation': function () { return ({
|
|
2067
|
-
id: factories.string(),
|
|
2068
|
-
organization: factories['io.flow.common.v0.unions.expandable_organization'](),
|
|
2069
|
-
email: factories.string(),
|
|
2070
|
-
name: factories['io.flow.common.v0.models.name'](),
|
|
2071
|
-
role: factories['io.flow.common.v0.enums.role'](),
|
|
2072
|
-
roles: arrayOf(function () { return factories['io.flow.permission.v0.enums.flow_role'](); }),
|
|
2073
|
-
expiration: factories.date_time_iso_8601(),
|
|
2074
|
-
}); },
|
|
2075
|
-
'io.flow.organization.v0.models.invitation_error': function () { return ({
|
|
2076
|
-
code: factories['io.flow.organization.v0.enums.invitation_error_code'](),
|
|
2077
|
-
messages: arrayOf(function () { return factories.string(); }),
|
|
2078
|
-
}); },
|
|
2079
|
-
'io.flow.organization.v0.models.invitation_form': function () { return ({
|
|
2080
|
-
organization: factories.string(),
|
|
2081
|
-
email: factories.string(),
|
|
2082
|
-
name: factories['io.flow.common.v0.models.name'](),
|
|
2083
|
-
role: factories['io.flow.common.v0.enums.role'](),
|
|
2084
|
-
roles: arrayOf(function () { return factories['io.flow.permission.v0.enums.flow_role'](); }),
|
|
2085
|
-
}); },
|
|
2086
|
-
'io.flow.organization.v0.models.invitation_version': function () { return ({
|
|
2087
|
-
id: factories.string(),
|
|
2088
|
-
timestamp: factories.date_time_iso_8601(),
|
|
2089
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
2090
|
-
invitation: factories['io.flow.organization.v0.models.invitation'](),
|
|
2091
|
-
}); },
|
|
2092
|
-
'io.flow.organization.v0.models.membership': function () { return ({
|
|
2093
|
-
id: factories.string(),
|
|
2094
|
-
organization: factories['io.flow.common.v0.unions.expandable_organization'](),
|
|
2095
|
-
user: factories['io.flow.common.v0.unions.expandable_user'](),
|
|
2096
|
-
role: factories['io.flow.common.v0.enums.role'](),
|
|
2097
|
-
roles: arrayOf(function () { return factories['io.flow.permission.v0.enums.flow_role'](); }),
|
|
2098
|
-
}); },
|
|
2099
|
-
'io.flow.organization.v0.models.membership_form': function () { return ({
|
|
2100
|
-
organization: factories.string(),
|
|
2101
|
-
user: factories.string(),
|
|
2102
|
-
role: factories['io.flow.common.v0.enums.role'](),
|
|
2103
|
-
roles: arrayOf(function () { return factories['io.flow.permission.v0.enums.flow_role'](); }),
|
|
2104
|
-
}); },
|
|
2105
|
-
'io.flow.organization.v0.models.membership_put_form': function () { return ({
|
|
2106
|
-
role: factories['io.flow.common.v0.enums.role'](),
|
|
2107
|
-
roles: arrayOf(function () { return factories['io.flow.permission.v0.enums.flow_role'](); }),
|
|
2108
|
-
}); },
|
|
2109
|
-
'io.flow.organization.v0.models.membership_version': function () { return ({
|
|
2110
|
-
id: factories.string(),
|
|
2111
|
-
timestamp: factories.date_time_iso_8601(),
|
|
2112
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
2113
|
-
membership: factories['io.flow.organization.v0.models.membership'](),
|
|
2114
|
-
}); },
|
|
2115
|
-
'io.flow.organization.v0.models.organization_authorization': function () { return ({
|
|
2116
|
-
role: factories['io.flow.common.v0.enums.role'](),
|
|
2117
|
-
environment: factories['io.flow.common.v0.enums.environment'](),
|
|
2118
|
-
}); },
|
|
2119
|
-
'io.flow.organization.v0.models.organization_authorization_form': function () { return ({
|
|
2120
|
-
organization: factories.string(),
|
|
2121
|
-
environment: factories['io.flow.common.v0.enums.environment'](),
|
|
2122
|
-
}); },
|
|
2123
|
-
'io.flow.organization.v0.models.organization_configuration_reference': function () { return ({
|
|
2124
|
-
id: factories.string(),
|
|
2125
|
-
}); },
|
|
2126
|
-
'io.flow.organization.v0.models.organization_default_configurations': function () { return ({
|
|
2127
|
-
id: factories.string(),
|
|
2128
|
-
checkout_configuration: factories['io.flow.organization.v0.models.organization_configuration_reference'](),
|
|
2129
|
-
}); },
|
|
2130
|
-
'io.flow.organization.v0.models.organization_default_configurations_form': function () { return ({
|
|
2131
|
-
id: factories.string(),
|
|
2132
|
-
}); },
|
|
2133
|
-
'io.flow.organization.v0.models.organization_form': function () { return ({
|
|
2134
|
-
id: factories.string(),
|
|
2135
|
-
name: factories.string(),
|
|
2136
|
-
environment: factories['io.flow.common.v0.enums.environment'](),
|
|
2137
|
-
parent_id: factories.string(),
|
|
2138
|
-
defaults: factories['io.flow.common.v0.models.organization_defaults'](),
|
|
2139
|
-
status: factories['io.flow.common.v0.enums.organization_status'](),
|
|
2140
|
-
type: factories['io.flow.common.v0.enums.organization_type'](),
|
|
2141
|
-
}); },
|
|
2142
|
-
'io.flow.organization.v0.models.organization_put_form': function () { return ({
|
|
2143
|
-
name: factories.string(),
|
|
2144
|
-
environment: factories['io.flow.common.v0.enums.environment'](),
|
|
2145
|
-
parent_id: factories.string(),
|
|
2146
|
-
defaults: factories['io.flow.common.v0.models.organization_defaults'](),
|
|
2147
|
-
status: factories['io.flow.common.v0.enums.organization_status'](),
|
|
2148
|
-
}); },
|
|
2149
|
-
'io.flow.organization.v0.models.organization_version': function () { return ({
|
|
2150
|
-
id: factories.string(),
|
|
2151
|
-
timestamp: factories.date_time_iso_8601(),
|
|
2152
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
2153
|
-
organization: factories['io.flow.common.v0.models.organization'](),
|
|
2154
|
-
}); },
|
|
2155
|
-
'io.flow.organization.v0.models.region_setting': function () { return ({
|
|
2156
|
-
id: factories.string(),
|
|
2157
|
-
region: factories.string(),
|
|
2158
|
-
status: factories['io.flow.common.v0.enums.availability_status'](),
|
|
2159
|
-
}); },
|
|
2160
|
-
'io.flow.organization.v0.models.region_setting_form': function () { return ({
|
|
2161
|
-
status: factories['io.flow.common.v0.enums.availability_status'](),
|
|
2162
|
-
}); },
|
|
2163
|
-
'io.flow.permission.v0.enums.authentication_technique': function () { return faker_1.default.helpers.arrayElement(['anonymous', 'session', 'token', 'partner_token', 'user']); },
|
|
2164
|
-
'io.flow.permission.v0.enums.flow_behavior': function () { return faker_1.default.helpers.arrayElement(['view_consumer_data']); },
|
|
2165
|
-
'io.flow.permission.v0.enums.flow_role': function () { return faker_1.default.helpers.arrayElement([
|
|
2166
|
-
'organization_admin',
|
|
2167
|
-
'organization_merchant',
|
|
2168
|
-
'organization_customer_service',
|
|
2169
|
-
'organization_fulfillment',
|
|
2170
|
-
'organization_marketing',
|
|
2171
|
-
'organization_finance',
|
|
2172
|
-
'organization_classification',
|
|
2173
|
-
'flow_operations',
|
|
2174
|
-
'channel_admin',
|
|
2175
|
-
'channel_organization_admin',
|
|
2176
|
-
]); },
|
|
2177
|
-
'io.flow.permission.v0.enums.permitted_http_method': function () { return faker_1.default.helpers.arrayElement(['GET', 'POST', 'PUT', 'DELETE', 'PATCH']); },
|
|
2178
|
-
'io.flow.permission.v0.models.behavior_audit': function () { return ({
|
|
2179
|
-
behavior: factories['io.flow.permission.v0.enums.flow_behavior'](),
|
|
2180
|
-
authentication_techniques: arrayOf(function () { return factories['io.flow.permission.v0.enums.authentication_technique'](); }),
|
|
2181
|
-
roles: arrayOf(function () { return factories['io.flow.permission.v0.enums.flow_role'](); }),
|
|
2182
|
-
}); },
|
|
2183
|
-
'io.flow.permission.v0.models.permission_audit': function () { return ({
|
|
2184
|
-
routes: arrayOf(function () { return factories['io.flow.permission.v0.models.route_audit'](); }),
|
|
2185
|
-
behaviors: arrayOf(function () { return factories['io.flow.permission.v0.models.behavior_audit'](); }),
|
|
2186
|
-
}); },
|
|
2187
|
-
'io.flow.permission.v0.models.permission_check': function () { return ({
|
|
2188
|
-
authentication_technique: factories['io.flow.permission.v0.enums.authentication_technique'](),
|
|
2189
|
-
user: factories['io.flow.common.v0.unions.expandable_user'](),
|
|
2190
|
-
roles: arrayOf(function () { return factories['io.flow.permission.v0.enums.flow_role'](); }),
|
|
2191
|
-
behaviors: arrayOf(function () { return factories['io.flow.permission.v0.enums.flow_behavior'](); }),
|
|
2192
|
-
routes: arrayOf(function () { return factories['io.flow.permission.v0.models.permitted_route'](); }),
|
|
2193
|
-
}); },
|
|
2194
|
-
'io.flow.permission.v0.models.permitted_route': function () { return ({
|
|
2195
|
-
method: factories['io.flow.permission.v0.enums.permitted_http_method'](),
|
|
2196
|
-
path: factories.string(),
|
|
2197
|
-
}); },
|
|
2198
|
-
'io.flow.permission.v0.models.route_audit': function () { return ({
|
|
2199
|
-
method: factories['io.flow.permission.v0.enums.permitted_http_method'](),
|
|
2200
|
-
path: factories.string(),
|
|
2201
|
-
authentication_techniques: arrayOf(function () { return factories['io.flow.permission.v0.enums.authentication_technique'](); }),
|
|
2202
|
-
roles: arrayOf(function () { return factories['io.flow.permission.v0.enums.flow_role'](); }),
|
|
2203
|
-
}); },
|
|
2204
|
-
'io.flow.permission.v0.models.simple_permission_check': function () { return ({
|
|
2205
|
-
behaviors: arrayOf(function () { return factories['io.flow.permission.v0.enums.flow_behavior'](); }),
|
|
2206
|
-
}); },
|
|
2207
|
-
'io.flow.price.v0.enums.levy_component': function () { return faker_1.default.helpers.arrayElement(['goods', 'duty', 'insurance', 'freight', 'vat']); },
|
|
2208
|
-
'io.flow.price.v0.enums.levy_strategy': function () { return faker_1.default.helpers.arrayElement(['minimum', 'average', 'maximum']); },
|
|
2209
|
-
'io.flow.price.v0.enums.price_accuracy': function () { return faker_1.default.helpers.arrayElement(['calculated', 'estimated_from_partial_destination']); },
|
|
2210
|
-
'io.flow.price.v0.enums.price_detail_component_key': function () { return faker_1.default.helpers.arrayElement([
|
|
2211
|
-
'base_price',
|
|
2212
|
-
'discount',
|
|
2213
|
-
'currency_margin',
|
|
2214
|
-
'percent_item_margin',
|
|
2215
|
-
'fixed_item_margin',
|
|
2216
|
-
'duties_item_price',
|
|
2217
|
-
'duties_added_margin',
|
|
2218
|
-
'duties_rounding',
|
|
2219
|
-
'duties_deminimis',
|
|
2220
|
-
'vat_item_price',
|
|
2221
|
-
'vat_added_margin',
|
|
2222
|
-
'vat_rounding',
|
|
2223
|
-
'vat_duties_item_price',
|
|
2224
|
-
'vat_duties_added_margin',
|
|
2225
|
-
'vat_duties_rounding',
|
|
2226
|
-
'vat_deminimis',
|
|
2227
|
-
'item_price_percent_sales_margin',
|
|
2228
|
-
'margins_percent_sales_margin',
|
|
2229
|
-
'rounding_percent_sales_margin',
|
|
2230
|
-
'vat_percent_sales_margin',
|
|
2231
|
-
'vat_duty_percent_sales_margin',
|
|
2232
|
-
'duty_percent_sales_margin',
|
|
2233
|
-
]); },
|
|
2234
|
-
'io.flow.price.v0.enums.price_detail_key': function () { return faker_1.default.helpers.arrayElement(['item_price', 'margins', 'vat', 'duty', 'rounding', 'adjustment']); },
|
|
2235
|
-
'io.flow.price.v0.enums.pricing_levy_setting': function () { return faker_1.default.helpers.arrayElement(['included', 'displayed', 'ignored']); },
|
|
2236
|
-
'io.flow.price.v0.models.currency_format': function () { return ({
|
|
2237
|
-
symbol: factories['io.flow.common.v0.enums.currency_symbol_format'](),
|
|
2238
|
-
label_formatters: arrayOf(function () { return factories['io.flow.common.v0.enums.currency_label_formatter'](); }),
|
|
2239
|
-
}); },
|
|
2240
|
-
'io.flow.price.v0.models.deminimis_per_item': function () { return ({
|
|
2241
|
-
discriminator: 'deminimis_per_item',
|
|
2242
|
-
currency: factories.string(),
|
|
2243
|
-
minimum: factories.decimal(),
|
|
2244
|
-
maximum: factories.decimal(),
|
|
2245
|
-
}); },
|
|
2246
|
-
'io.flow.price.v0.models.deminimis_simple': function () { return ({
|
|
2247
|
-
discriminator: 'deminimis_simple',
|
|
2248
|
-
value: factories.decimal(),
|
|
2249
|
-
currency: factories.string(),
|
|
2250
|
-
components: arrayOf(function () { return factories['io.flow.price.v0.enums.levy_component'](); }),
|
|
2251
|
-
minimum: factories.decimal(),
|
|
2252
|
-
}); },
|
|
2253
|
-
'io.flow.price.v0.models.duty': function () { return ({
|
|
2254
|
-
rate: factories.decimal(),
|
|
2255
|
-
components: arrayOf(function () { return factories['io.flow.price.v0.enums.levy_component'](); }),
|
|
2256
|
-
deminimis: factories['io.flow.price.v0.unions.deminimis'](),
|
|
2257
|
-
name: factories.string(),
|
|
2258
|
-
}); },
|
|
2259
|
-
'io.flow.price.v0.models.local_price_details': function () { return ({
|
|
2260
|
-
base: factories['io.flow.price.v0.models.price_details'](),
|
|
2261
|
-
local: factories['io.flow.price.v0.models.price_details'](),
|
|
2262
|
-
discount: factories['io.flow.price.v0.models.price_detail'](),
|
|
2263
|
-
local_before_discount: factories['io.flow.price.v0.models.price_detail'](),
|
|
2264
|
-
}); },
|
|
2265
|
-
'io.flow.price.v0.models.price_book': function () { return ({
|
|
2266
|
-
id: factories.string(),
|
|
2267
|
-
key: factories.string(),
|
|
2268
|
-
currency: factories.string(),
|
|
2269
|
-
name: factories.string(),
|
|
2270
|
-
includes: factories['io.flow.common.v0.models.included_levies'](),
|
|
2271
|
-
status: factories['io.flow.common.v0.enums.price_book_status'](),
|
|
2272
|
-
}); },
|
|
2273
|
-
'io.flow.price.v0.models.price_book_form': function () { return ({
|
|
2274
|
-
currency: factories.string(),
|
|
2275
|
-
name: factories.string(),
|
|
2276
|
-
includes: factories['io.flow.common.v0.enums.included_levy_key'](),
|
|
2277
|
-
status: factories['io.flow.common.v0.enums.price_book_status'](),
|
|
2278
|
-
}); },
|
|
2279
|
-
'io.flow.price.v0.models.price_book_item': function () { return ({
|
|
2280
|
-
id: factories.string(),
|
|
2281
|
-
key: factories.string(),
|
|
2282
|
-
price_book: factories['io.flow.price.v0.models.price_book_reference'](),
|
|
2283
|
-
price: factories['io.flow.common.v0.models.price'](),
|
|
2284
|
-
item_number: factories.string(),
|
|
2285
|
-
schedule: factories['io.flow.price.v0.models.price_book_item_schedule'](),
|
|
2286
|
-
item_attributes: objectOf(function () { return factories.string(); }),
|
|
2287
|
-
}); },
|
|
2288
|
-
'io.flow.price.v0.models.price_book_item_form': function () { return ({
|
|
2289
|
-
price_book_key: factories.string(),
|
|
2290
|
-
item_number: factories.string(),
|
|
2291
|
-
amount: factories.decimal(),
|
|
2292
|
-
schedule: factories['io.flow.price.v0.models.price_book_item_schedule'](),
|
|
2293
|
-
item_attributes: objectOf(function () { return factories.string(); }),
|
|
2294
|
-
}); },
|
|
2295
|
-
'io.flow.price.v0.models.price_book_item_query_form': function () { return ({
|
|
2296
|
-
price_book_key: factories.string(),
|
|
2297
|
-
item_query: factories.string(),
|
|
2298
|
-
amount: factories.decimal(),
|
|
2299
|
-
schedule: factories['io.flow.price.v0.models.price_book_item_schedule'](),
|
|
2300
|
-
item_attributes: objectOf(function () { return factories.string(); }),
|
|
2301
|
-
}); },
|
|
2302
|
-
'io.flow.price.v0.models.price_book_item_schedule': function () { return ({
|
|
2303
|
-
starts_at: factories.date_time_iso_8601(),
|
|
2304
|
-
ends_at: factories.date_time_iso_8601(),
|
|
2305
|
-
}); },
|
|
2306
|
-
'io.flow.price.v0.models.price_book_reference': function () { return ({
|
|
2307
|
-
id: factories.string(),
|
|
2308
|
-
key: factories.string(),
|
|
2309
|
-
}); },
|
|
2310
|
-
'io.flow.price.v0.models.price_check': function () { return ({
|
|
2311
|
-
display: factories['io.flow.price.v0.models.local_price_details'](),
|
|
2312
|
-
'final': factories['io.flow.price.v0.models.local_price_details'](),
|
|
2313
|
-
}); },
|
|
2314
|
-
'io.flow.price.v0.models.price_detail': function () { return ({
|
|
2315
|
-
key: factories['io.flow.price.v0.enums.price_detail_key'](),
|
|
2316
|
-
components: arrayOf(function () { return factories['io.flow.price.v0.models.price_detail_component'](); }),
|
|
2317
|
-
amount: factories.decimal(),
|
|
2318
|
-
label: factories.string(),
|
|
2319
|
-
name: factories.string(),
|
|
2320
|
-
basis: factories.decimal(),
|
|
2321
|
-
}); },
|
|
2322
|
-
'io.flow.price.v0.models.price_detail_component': function () { return ({
|
|
2323
|
-
key: factories['io.flow.price.v0.enums.price_detail_component_key'](),
|
|
2324
|
-
amount: factories.decimal(),
|
|
2325
|
-
label: factories.string(),
|
|
2326
|
-
name: factories.string(),
|
|
2327
|
-
}); },
|
|
2328
|
-
'io.flow.price.v0.models.price_details': function () { return ({
|
|
2329
|
-
currency: factories.string(),
|
|
2330
|
-
item_price: factories['io.flow.price.v0.models.price_detail'](),
|
|
2331
|
-
margins: factories['io.flow.price.v0.models.price_detail'](),
|
|
2332
|
-
vat: factories['io.flow.price.v0.models.price_detail'](),
|
|
2333
|
-
duty: factories['io.flow.price.v0.models.price_detail'](),
|
|
2334
|
-
rounding: factories['io.flow.price.v0.models.price_detail'](),
|
|
2335
|
-
price: factories['io.flow.common.v0.models.price'](),
|
|
2336
|
-
total: factories['io.flow.common.v0.models.price'](),
|
|
2337
|
-
adjustment: factories['io.flow.price.v0.models.price_detail'](),
|
|
2338
|
-
}); },
|
|
2339
|
-
'io.flow.price.v0.models.price_equation': function () { return ({
|
|
2340
|
-
contracted_rate: factories.decimal(),
|
|
2341
|
-
rate: factories.decimal(),
|
|
2342
|
-
pricing: factories['io.flow.price.v0.models.pricing'](),
|
|
2343
|
-
base_price: factories.decimal(),
|
|
2344
|
-
discount: factories.decimal(),
|
|
2345
|
-
fixed_margin: factories.decimal(),
|
|
2346
|
-
percent_margin: factories.decimal(),
|
|
2347
|
-
insurance: factories.decimal(),
|
|
2348
|
-
freight: factories.decimal(),
|
|
2349
|
-
duty: factories['io.flow.price.v0.models.duty'](),
|
|
2350
|
-
tax: factories['io.flow.price.v0.models.tax'](),
|
|
2351
|
-
percent_sales_margin: factories.decimal(),
|
|
2352
|
-
}); },
|
|
2353
|
-
'io.flow.price.v0.models.pricing': function () { return ({
|
|
2354
|
-
vat: factories['io.flow.price.v0.enums.pricing_levy_setting'](),
|
|
2355
|
-
duty: factories['io.flow.price.v0.enums.pricing_levy_setting'](),
|
|
2356
|
-
rounding: factories['io.flow.common.v0.models.rounding'](),
|
|
2357
|
-
}); },
|
|
2358
|
-
'io.flow.price.v0.models.tax': function () { return ({
|
|
2359
|
-
name: factories.string(),
|
|
2360
|
-
rate: factories.decimal(),
|
|
2361
|
-
components: arrayOf(function () { return factories['io.flow.price.v0.enums.levy_component'](); }),
|
|
2362
|
-
deminimis: factories['io.flow.price.v0.unions.deminimis'](),
|
|
2363
|
-
}); },
|
|
2364
|
-
'io.flow.price.v0.unions.deminimis': function () {
|
|
2365
|
-
var f = faker_1.default.helpers.arrayElement([
|
|
2366
|
-
function () { return factories['io.flow.price.v0.models.deminimis_simple'](); },
|
|
2367
|
-
function () { return factories['io.flow.price.v0.models.deminimis_per_item'](); },
|
|
2368
|
-
]);
|
|
2369
|
-
return f();
|
|
2370
|
-
},
|
|
2371
|
-
'io.flow.product.v0.models.product': function () { return ({
|
|
2372
|
-
organization_id: factories.string(),
|
|
2373
|
-
number: factories.string(),
|
|
2374
|
-
taxonomy_category: factories['io.flow.product.v0.models.product_taxonomy_category'](),
|
|
2375
|
-
taxonomy_data: arrayOf(function () { return factories['io.flow.product.v0.models.product_taxonomy_data'](); }),
|
|
2376
|
-
item_numbers: arrayOf(function () { return factories.string(); }),
|
|
2377
|
-
highest_value_item_number: factories.string(),
|
|
2378
|
-
updated_at: factories.date_time_iso_8601(),
|
|
2379
|
-
deleted_at: factories.date_time_iso_8601(),
|
|
2380
|
-
}); },
|
|
2381
|
-
'io.flow.product.v0.models.product_taxonomy_category': function () { return ({
|
|
2382
|
-
name: factories.string(),
|
|
2383
|
-
full_name: factories.string(),
|
|
2384
|
-
}); },
|
|
2385
|
-
'io.flow.product.v0.models.product_taxonomy_data': function () { return ({
|
|
2386
|
-
key: factories.string(),
|
|
2387
|
-
value: arrayOf(function () { return factories.string(); }),
|
|
2388
|
-
}); },
|
|
2389
|
-
'io.flow.query.builder.v0.enums.available_filter_format': function () { return faker_1.default.helpers.arrayElement([
|
|
2390
|
-
'boolean',
|
|
2391
|
-
'date',
|
|
2392
|
-
'money',
|
|
2393
|
-
'decimal',
|
|
2394
|
-
'string',
|
|
2395
|
-
'unit_of_length',
|
|
2396
|
-
'unit_of_mass',
|
|
2397
|
-
]); },
|
|
2398
|
-
'io.flow.query.builder.v0.models.available_filter_structured': function () { return ({
|
|
2399
|
-
discriminator: 'structured',
|
|
2400
|
-
field: factories.string(),
|
|
2401
|
-
operators: arrayOf(function () { return factories.string(); }),
|
|
2402
|
-
format: factories['io.flow.query.builder.v0.enums.available_filter_format'](),
|
|
2403
|
-
valid_values: arrayOf(function () { return factories.string(); }),
|
|
2404
|
-
placeholder: factories.string(),
|
|
2405
|
-
}); },
|
|
2406
|
-
'io.flow.query.builder.v0.models.available_filter_unstructured': function () { return ({
|
|
2407
|
-
discriminator: 'unstructured',
|
|
2408
|
-
placeholder: factories.string(),
|
|
2409
|
-
}); },
|
|
2410
|
-
'io.flow.query.builder.v0.models.query': function () { return ({
|
|
2411
|
-
q: factories.string(),
|
|
2412
|
-
filters: arrayOf(function () { return factories['io.flow.query.builder.v0.unions.query_filter'](); }),
|
|
2413
|
-
}); },
|
|
2414
|
-
'io.flow.query.builder.v0.models.query_builder': function () { return ({
|
|
2415
|
-
q: factories.string(),
|
|
2416
|
-
filters: arrayOf(function () { return factories['io.flow.query.builder.v0.unions.query_filter'](); }),
|
|
2417
|
-
available: arrayOf(function () { return factories['io.flow.query.builder.v0.unions.available_filter'](); }),
|
|
2418
|
-
}); },
|
|
2419
|
-
'io.flow.query.builder.v0.models.query_builder_filter_form': function () { return ({
|
|
2420
|
-
discriminator: 'filter',
|
|
2421
|
-
filters: arrayOf(function () { return factories['io.flow.query.builder.v0.unions.query_filter_form'](); }),
|
|
2422
|
-
}); },
|
|
2423
|
-
'io.flow.query.builder.v0.models.query_builder_query_form': function () { return ({
|
|
2424
|
-
discriminator: 'query',
|
|
2425
|
-
q: factories.string(),
|
|
2426
|
-
}); },
|
|
2427
|
-
'io.flow.query.builder.v0.models.query_filter_structured': function () { return ({
|
|
2428
|
-
discriminator: 'structured',
|
|
2429
|
-
q: factories.string(),
|
|
2430
|
-
field: factories.string(),
|
|
2431
|
-
operator: factories.string(),
|
|
2432
|
-
values: arrayOf(function () { return factories.string(); }),
|
|
2433
|
-
}); },
|
|
2434
|
-
'io.flow.query.builder.v0.models.query_filter_structured_form': function () { return ({
|
|
2435
|
-
discriminator: 'structured',
|
|
2436
|
-
field: factories.string(),
|
|
2437
|
-
operator: factories.string(),
|
|
2438
|
-
values: arrayOf(function () { return factories.string(); }),
|
|
2439
|
-
}); },
|
|
2440
|
-
'io.flow.query.builder.v0.models.query_filter_unstructured': function () { return ({
|
|
2441
|
-
discriminator: 'unstructured',
|
|
2442
|
-
q: factories.string(),
|
|
2443
|
-
}); },
|
|
2444
|
-
'io.flow.query.builder.v0.models.query_filter_unstructured_form': function () { return ({
|
|
2445
|
-
discriminator: 'unstructured',
|
|
2446
|
-
q: factories.string(),
|
|
2447
|
-
}); },
|
|
2448
|
-
'io.flow.query.builder.v0.unions.available_filter': function () {
|
|
735
|
+
return f();
|
|
736
|
+
},
|
|
737
|
+
'io.flow.common.v0.unions.input_specification_limitation': function () {
|
|
2449
738
|
var f = faker_1.default.helpers.arrayElement([
|
|
2450
|
-
function () { return factories['io.flow.
|
|
2451
|
-
function () { return factories['io.flow.query.builder.v0.models.available_filter_unstructured'](); },
|
|
739
|
+
function () { return factories['io.flow.common.v0.models.input_specification_limitation_max'](); },
|
|
2452
740
|
]);
|
|
2453
741
|
return f();
|
|
2454
742
|
},
|
|
2455
|
-
'io.flow.
|
|
743
|
+
'io.flow.common.v0.unions.logo_image': function () {
|
|
2456
744
|
var f = faker_1.default.helpers.arrayElement([
|
|
2457
|
-
function () { return factories['io.flow.
|
|
2458
|
-
function () { return factories['io.flow.
|
|
745
|
+
function () { return factories['io.flow.common.v0.models.logo_image_svg'](); },
|
|
746
|
+
function () { return factories['io.flow.common.v0.models.logo_image_set_static'](); },
|
|
2459
747
|
]);
|
|
2460
748
|
return f();
|
|
2461
749
|
},
|
|
2462
|
-
'io.flow.
|
|
750
|
+
'io.flow.common.v0.unions.price_source': function () {
|
|
2463
751
|
var f = faker_1.default.helpers.arrayElement([
|
|
2464
|
-
function () { return factories['io.flow.
|
|
2465
|
-
function () { return factories['io.flow.
|
|
752
|
+
function () { return factories['io.flow.common.v0.models.price_source_price_book'](); },
|
|
753
|
+
function () { return factories['io.flow.common.v0.models.price_source_catalog'](); },
|
|
754
|
+
function () { return factories['io.flow.common.v0.models.price_source_provided'](); },
|
|
2466
755
|
]);
|
|
2467
756
|
return f();
|
|
2468
757
|
},
|
|
2469
|
-
'io.flow.
|
|
758
|
+
'io.flow.common.v0.unions.repeat_schedule': function () {
|
|
2470
759
|
var f = faker_1.default.helpers.arrayElement([
|
|
2471
|
-
function () { return factories['io.flow.
|
|
2472
|
-
function () { return factories['io.flow.
|
|
760
|
+
function () { return factories['io.flow.common.v0.models.repeat_hourly'](); },
|
|
761
|
+
function () { return factories['io.flow.common.v0.models.repeat_daily'](); },
|
|
762
|
+
function () { return factories['io.flow.common.v0.models.repeat_weekly'](); },
|
|
763
|
+
function () { return factories['io.flow.common.v0.models.repeat_monthly'](); },
|
|
2473
764
|
]);
|
|
2474
765
|
return f();
|
|
2475
766
|
},
|
|
2476
|
-
'io.flow.
|
|
2477
|
-
'io.flow.
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
'area',
|
|
2481
|
-
'city',
|
|
2482
|
-
'county',
|
|
2483
|
-
'department',
|
|
2484
|
-
'dependency',
|
|
2485
|
-
'district',
|
|
2486
|
-
'do_si',
|
|
2487
|
-
'emirate',
|
|
2488
|
-
'entity',
|
|
2489
|
-
'island',
|
|
2490
|
-
'municipality',
|
|
2491
|
-
'oblast',
|
|
2492
|
-
'outlying_area',
|
|
2493
|
-
'parish',
|
|
2494
|
-
'prefecture',
|
|
2495
|
-
'province',
|
|
2496
|
-
'state',
|
|
2497
|
-
'territory',
|
|
2498
|
-
'other',
|
|
2499
|
-
]); },
|
|
2500
|
-
'io.flow.reference.v0.models.carrier': function () { return ({
|
|
2501
|
-
id: factories.string(),
|
|
2502
|
-
name: factories.string(),
|
|
2503
|
-
tracking_url: factories.string(),
|
|
767
|
+
'io.flow.error.v0.enums.generic_error_code': function () { return faker_1.default.helpers.arrayElement(['generic_error', 'client_error', 'server_error']); },
|
|
768
|
+
'io.flow.error.v0.models.generic_error': function () { return ({
|
|
769
|
+
code: factories['io.flow.error.v0.enums.generic_error_code'](),
|
|
770
|
+
messages: arrayOf(function () { return factories.string(); }),
|
|
2504
771
|
}); },
|
|
2505
|
-
'io.flow.
|
|
2506
|
-
|
|
2507
|
-
|
|
772
|
+
'io.flow.google.pay.v0.enums.auth_method': function () { return faker_1.default.helpers.arrayElement(['PAN_ONLY', 'CRYPTOGRAM_3DS']); },
|
|
773
|
+
'io.flow.google.pay.v0.enums.billing_address_format': function () { return faker_1.default.helpers.arrayElement(['MIN', 'FULL']); },
|
|
774
|
+
'io.flow.google.pay.v0.enums.card_gateway': function () { return faker_1.default.helpers.arrayElement(['adyen', 'stripe']); },
|
|
775
|
+
'io.flow.google.pay.v0.enums.card_network': function () { return faker_1.default.helpers.arrayElement(['AMEX', 'DISCOVER', 'JCB', 'MASTERCARD', 'VISA']); },
|
|
776
|
+
'io.flow.google.pay.v0.enums.payment_method_type': function () { return faker_1.default.helpers.arrayElement(['CARD']); },
|
|
777
|
+
'io.flow.google.pay.v0.enums.tokenization_type': function () { return faker_1.default.helpers.arrayElement(['PAYMENT_GATEWAY', 'DIRECT']); },
|
|
778
|
+
'io.flow.google.pay.v0.enums.total_price_status': function () { return faker_1.default.helpers.arrayElement(['NOT_CURRENTLY_KNOWN', 'ESTIMATED', 'FINAL']); },
|
|
779
|
+
'io.flow.google.pay.v0.models.address': function () { return ({
|
|
2508
780
|
name: factories.string(),
|
|
781
|
+
postalCode: factories.string(),
|
|
782
|
+
countryCode: factories.string(),
|
|
783
|
+
phoneNumber: factories.string(),
|
|
784
|
+
companyName: factories.string(),
|
|
785
|
+
address1: factories.string(),
|
|
786
|
+
address2: factories.string(),
|
|
787
|
+
address3: factories.string(),
|
|
788
|
+
locality: factories.string(),
|
|
789
|
+
administrativeArea: factories.string(),
|
|
790
|
+
sortingCode: factories.string(),
|
|
2509
791
|
}); },
|
|
2510
|
-
'io.flow.
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
iso_3166_3: factories.string(),
|
|
2514
|
-
languages: arrayOf(function () { return factories.string(); }),
|
|
2515
|
-
measurement_system: factories.string(),
|
|
2516
|
-
default_currency: factories.string(),
|
|
2517
|
-
default_language: factories.string(),
|
|
2518
|
-
timezones: arrayOf(function () { return factories.string(); }),
|
|
2519
|
-
default_delivered_duty: factories.string(),
|
|
792
|
+
'io.flow.google.pay.v0.models.billing_address_parameters': function () { return ({
|
|
793
|
+
format: factories['io.flow.google.pay.v0.enums.billing_address_format'](),
|
|
794
|
+
phoneNumberRequired: factories.boolean(),
|
|
2520
795
|
}); },
|
|
2521
|
-
'io.flow.
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
number_decimals: factories.integer(),
|
|
2525
|
-
symbols: factories['io.flow.reference.v0.models.currency_symbols'](),
|
|
2526
|
-
default_locale: factories.string(),
|
|
796
|
+
'io.flow.google.pay.v0.models.card_adyen_tokenization_parameters': function () { return ({
|
|
797
|
+
gateway: factories.string(),
|
|
798
|
+
gatewayMerchantId: factories.string(),
|
|
2527
799
|
}); },
|
|
2528
|
-
'io.flow.
|
|
2529
|
-
|
|
2530
|
-
|
|
800
|
+
'io.flow.google.pay.v0.models.card_direct_tokenization_parameters': function () { return ({
|
|
801
|
+
protocolVersion: factories.string(),
|
|
802
|
+
publicKey: factories.string(),
|
|
2531
803
|
}); },
|
|
2532
|
-
'io.flow.
|
|
2533
|
-
|
|
2534
|
-
|
|
804
|
+
'io.flow.google.pay.v0.models.card_payment_method_data_info': function () { return ({
|
|
805
|
+
cardDetails: factories.string(),
|
|
806
|
+
cardNetwork: factories.string(),
|
|
807
|
+
billingAddress: factories['io.flow.google.pay.v0.models.address'](),
|
|
2535
808
|
}); },
|
|
2536
|
-
'io.flow.
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
numbers: factories['io.flow.reference.v0.models.locale_numbers'](),
|
|
809
|
+
'io.flow.google.pay.v0.models.card_payment_method_parameters': function () { return ({
|
|
810
|
+
allowedAuthMethods: arrayOf(function () { return factories['io.flow.google.pay.v0.enums.auth_method'](); }),
|
|
811
|
+
allowedCardNetworks: arrayOf(function () { return factories['io.flow.google.pay.v0.enums.card_network'](); }),
|
|
812
|
+
billingAddressRequired: factories.boolean(),
|
|
813
|
+
billingAddressParameters: factories['io.flow.google.pay.v0.models.billing_address_parameters'](),
|
|
2542
814
|
}); },
|
|
2543
|
-
'io.flow.
|
|
2544
|
-
|
|
2545
|
-
|
|
815
|
+
'io.flow.google.pay.v0.models.direct_payment_method_token': function () { return ({
|
|
816
|
+
discriminator: 'direct_payment_method_token',
|
|
817
|
+
protocolVersion: factories.string(),
|
|
818
|
+
signature: factories.string(),
|
|
819
|
+
signedMessage: factories.string(),
|
|
2546
820
|
}); },
|
|
2547
|
-
'io.flow.
|
|
2548
|
-
|
|
2549
|
-
|
|
821
|
+
'io.flow.google.pay.v0.models.encrypted_message': function () { return ({
|
|
822
|
+
messageExpiration: factories.string(),
|
|
823
|
+
messageId: factories.string(),
|
|
824
|
+
paymentMethod: factories['io.flow.google.pay.v0.models.payment_method'](),
|
|
825
|
+
paymentMethodDetails: factories['io.flow.google.pay.v0.models.payment_method_details'](),
|
|
2550
826
|
}); },
|
|
2551
|
-
'io.flow.
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
images: factories['io.flow.reference.v0.models.payment_method_images'](),
|
|
2556
|
-
regions: arrayOf(function () { return factories.string(); }),
|
|
2557
|
-
capabilities: arrayOf(function () { return factories['io.flow.reference.v0.enums.payment_method_capability'](); }),
|
|
827
|
+
'io.flow.google.pay.v0.models.merchant_info': function () { return ({
|
|
828
|
+
merchantId: factories.string(),
|
|
829
|
+
merchantName: factories.string(),
|
|
830
|
+
authJwt: factories.string(),
|
|
2558
831
|
}); },
|
|
2559
|
-
'io.flow.
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
832
|
+
'io.flow.google.pay.v0.models.payment_data': function () { return ({
|
|
833
|
+
apiVersion: factories.integer(),
|
|
834
|
+
apiVersionMinor: factories.integer(),
|
|
835
|
+
paymentMethodData: factories['io.flow.google.pay.v0.models.payment_method_data'](),
|
|
836
|
+
email: factories.string(),
|
|
837
|
+
shippingAddress: factories['io.flow.google.pay.v0.models.address'](),
|
|
2563
838
|
}); },
|
|
2564
|
-
'io.flow.
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
839
|
+
'io.flow.google.pay.v0.models.payment_data_request': function () { return ({
|
|
840
|
+
apiVersion: factories.integer(),
|
|
841
|
+
apiVersionMinor: factories.integer(),
|
|
842
|
+
merchantInfo: factories['io.flow.google.pay.v0.models.merchant_info'](),
|
|
843
|
+
allowedPaymentMethods: arrayOf(function () { return factories['io.flow.google.pay.v0.models.payment_method'](); }),
|
|
844
|
+
transactionInfo: factories['io.flow.google.pay.v0.models.transaction_info'](),
|
|
845
|
+
emailRequired: factories.boolean(),
|
|
846
|
+
shippingAddressRequired: factories.boolean(),
|
|
847
|
+
shippingAddressParameters: factories['io.flow.google.pay.v0.models.shipping_address_parameters'](),
|
|
2568
848
|
}); },
|
|
2569
|
-
'io.flow.
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
country: factories.string(),
|
|
2574
|
-
province_type: factories['io.flow.reference.v0.enums.province_type'](),
|
|
2575
|
-
translations: arrayOf(function () { return factories['io.flow.reference.v0.models.localized_translation'](); }),
|
|
849
|
+
'io.flow.google.pay.v0.models.payment_method': function () { return ({
|
|
850
|
+
type: factories['io.flow.google.pay.v0.enums.payment_method_type'](),
|
|
851
|
+
parameters: factories['io.flow.google.pay.v0.models.card_payment_method_parameters'](),
|
|
852
|
+
tokenizationSpecification: factories['io.flow.google.pay.v0.models.payment_method_tokenization_specification'](),
|
|
2576
853
|
}); },
|
|
2577
|
-
'io.flow.
|
|
2578
|
-
|
|
854
|
+
'io.flow.google.pay.v0.models.payment_method_data': function () { return ({
|
|
855
|
+
type: factories['io.flow.google.pay.v0.enums.payment_method_type'](),
|
|
856
|
+
description: factories.string(),
|
|
857
|
+
info: factories['io.flow.google.pay.v0.models.card_payment_method_data_info'](),
|
|
858
|
+
tokenizationData: factories['io.flow.google.pay.v0.models.payment_method_tokenization_data'](),
|
|
859
|
+
}); },
|
|
860
|
+
'io.flow.google.pay.v0.models.payment_method_details': function () { return ({
|
|
861
|
+
pan: factories.string(),
|
|
862
|
+
expirationMonth: factories.integer(),
|
|
863
|
+
expirationYear: factories.integer(),
|
|
864
|
+
authMethod: factories['io.flow.google.pay.v0.enums.auth_method'](),
|
|
865
|
+
cryptogram: factories.string(),
|
|
866
|
+
eciIndicator: factories.string(),
|
|
867
|
+
}); },
|
|
868
|
+
'io.flow.google.pay.v0.models.payment_method_tokenization_data': function () { return ({
|
|
869
|
+
type: factories.string(),
|
|
870
|
+
token: factories.string(),
|
|
871
|
+
}); },
|
|
872
|
+
'io.flow.google.pay.v0.models.payment_method_tokenization_specification': function () { return ({
|
|
873
|
+
type: factories['io.flow.google.pay.v0.enums.tokenization_type'](),
|
|
874
|
+
parameters: factories.object(),
|
|
875
|
+
}); },
|
|
876
|
+
'io.flow.google.pay.v0.models.shipping_address_parameters': function () { return ({
|
|
877
|
+
allowedCountryCodes: arrayOf(function () { return factories.string(); }),
|
|
878
|
+
}); },
|
|
879
|
+
'io.flow.google.pay.v0.models.signed_message': function () { return ({
|
|
880
|
+
encryptedMessage: factories.string(),
|
|
881
|
+
ephemeralPublicKey: factories.string(),
|
|
882
|
+
tag: factories.string(),
|
|
883
|
+
}); },
|
|
884
|
+
'io.flow.google.pay.v0.models.stripe_payment_method_token': function () { return ({
|
|
885
|
+
discriminator: 'stripe_payment_method_token',
|
|
886
|
+
token: factories['io.flow.stripe.v0.models.token'](),
|
|
887
|
+
}); },
|
|
888
|
+
'io.flow.google.pay.v0.models.transaction_info': function () { return ({
|
|
889
|
+
totalPriceStatus: factories['io.flow.google.pay.v0.enums.total_price_status'](),
|
|
890
|
+
totalPrice: factories.string(),
|
|
891
|
+
currencyCode: factories.string(),
|
|
892
|
+
}); },
|
|
893
|
+
'io.flow.google.pay.v0.unions.payment_method_token': function () {
|
|
894
|
+
var f = faker_1.default.helpers.arrayElement([
|
|
895
|
+
function () { return factories['io.flow.google.pay.v0.models.direct_payment_method_token'](); },
|
|
896
|
+
function () { return factories['io.flow.google.pay.v0.models.stripe_payment_method_token'](); },
|
|
897
|
+
]);
|
|
898
|
+
return f();
|
|
899
|
+
},
|
|
900
|
+
'io.flow.product.v0.models.product': function () { return ({
|
|
901
|
+
organization_id: factories.string(),
|
|
902
|
+
number: factories.string(),
|
|
903
|
+
taxonomy_category: factories['io.flow.product.v0.models.product_taxonomy_category'](),
|
|
904
|
+
taxonomy_data: arrayOf(function () { return factories['io.flow.product.v0.models.product_taxonomy_data'](); }),
|
|
905
|
+
item_numbers: arrayOf(function () { return factories.string(); }),
|
|
906
|
+
highest_value_item_number: factories.string(),
|
|
907
|
+
updated_at: factories.date_time_iso_8601(),
|
|
908
|
+
deleted_at: factories.date_time_iso_8601(),
|
|
909
|
+
}); },
|
|
910
|
+
'io.flow.product.v0.models.product_taxonomy_category': function () { return ({
|
|
2579
911
|
name: factories.string(),
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
912
|
+
full_name: factories.string(),
|
|
913
|
+
}); },
|
|
914
|
+
'io.flow.product.v0.models.product_taxonomy_data': function () { return ({
|
|
915
|
+
key: factories.string(),
|
|
916
|
+
value: arrayOf(function () { return factories.string(); }),
|
|
917
|
+
value_obj: arrayOf(function () { return factories['io.flow.product.v0.models.product_taxonomy_value'](); }),
|
|
2585
918
|
}); },
|
|
2586
|
-
'io.flow.
|
|
919
|
+
'io.flow.product.v0.models.product_taxonomy_value': function () { return ({
|
|
920
|
+
handle: factories.string(),
|
|
2587
921
|
name: factories.string(),
|
|
2588
|
-
description: factories.string(),
|
|
2589
|
-
offset: factories.integer(),
|
|
2590
922
|
}); },
|
|
2591
923
|
'io.flow.shopify.external.v0.enums.cancel_reason': function () { return faker_1.default.helpers.arrayElement(['customer', 'fraud', 'inventory', 'declined', 'other']); },
|
|
2592
924
|
'io.flow.shopify.external.v0.enums.discount_status': function () { return faker_1.default.helpers.arrayElement(['enabled', 'disabled', 'depleted']); },
|
|
@@ -2775,6 +1107,7 @@ var factories = {
|
|
|
2775
1107
|
'io.flow.shopify.external.v0.models.graphql_metaobject_field': function () { return ({
|
|
2776
1108
|
key: factories.string(),
|
|
2777
1109
|
value: factories.string(),
|
|
1110
|
+
type: factories.string(),
|
|
2778
1111
|
}); },
|
|
2779
1112
|
'io.flow.shopify.external.v0.models.graphql_option': function () { return ({
|
|
2780
1113
|
id: factories.string(),
|
|
@@ -5298,6 +3631,7 @@ var factories = {
|
|
|
5298
3631
|
return f();
|
|
5299
3632
|
},
|
|
5300
3633
|
'io.flow.tech.onboarding.playground.v0.enums.aldo_item_type': function () { return faker_1.default.helpers.arrayElement(['physical', 'digital']); },
|
|
3634
|
+
'io.flow.tech.onboarding.playground.v0.enums.anirban_item_type': function () { return faker_1.default.helpers.arrayElement(['physical', 'digital']); },
|
|
5301
3635
|
'io.flow.tech.onboarding.playground.v0.enums.ansh_item_type': function () { return faker_1.default.helpers.arrayElement(['physical', 'digital']); },
|
|
5302
3636
|
'io.flow.tech.onboarding.playground.v0.enums.hosein_item_type': function () { return faker_1.default.helpers.arrayElement(['physical', 'digital']); },
|
|
5303
3637
|
'io.flow.tech.onboarding.playground.v0.enums.niall_item_type': function () { return faker_1.default.helpers.arrayElement(['physical', 'digital']); },
|
|
@@ -5319,6 +3653,21 @@ var factories = {
|
|
|
5319
3653
|
type: factories['io.flow.tech.onboarding.playground.v0.enums.aldo_item_type'](),
|
|
5320
3654
|
added_on: factories.date_iso_8601(),
|
|
5321
3655
|
}); },
|
|
3656
|
+
'io.flow.tech.onboarding.playground.v0.models.anirban_item': function () { return ({
|
|
3657
|
+
id: factories.string(),
|
|
3658
|
+
number: factories.string(),
|
|
3659
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
3660
|
+
description: factories.string(),
|
|
3661
|
+
type: factories['io.flow.tech.onboarding.playground.v0.enums.anirban_item_type'](),
|
|
3662
|
+
added_on: factories.date_time_iso_8601(),
|
|
3663
|
+
}); },
|
|
3664
|
+
'io.flow.tech.onboarding.playground.v0.models.anirban_item_form': function () { return ({
|
|
3665
|
+
number: factories.string(),
|
|
3666
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
3667
|
+
description: factories.string(),
|
|
3668
|
+
type: factories['io.flow.tech.onboarding.playground.v0.enums.anirban_item_type'](),
|
|
3669
|
+
added_on: factories.date_time_iso_8601(),
|
|
3670
|
+
}); },
|
|
5322
3671
|
'io.flow.tech.onboarding.playground.v0.models.ansh_item': function () { return ({
|
|
5323
3672
|
id: factories.string(),
|
|
5324
3673
|
number: factories.string(),
|
|
@@ -5614,6 +3963,8 @@ var factories = {
|
|
|
5614
3963
|
'aldo_item_deleted',
|
|
5615
3964
|
'ansh_item_upserted',
|
|
5616
3965
|
'ansh_item_deleted',
|
|
3966
|
+
'anirban_item_upserted',
|
|
3967
|
+
'anirban_item_deleted',
|
|
5617
3968
|
'transaction_upserted',
|
|
5618
3969
|
'organization_transaction_upserted',
|
|
5619
3970
|
'organization_transaction_deleted',
|
|
@@ -6006,6 +4357,7 @@ var factories = {
|
|
|
6006
4357
|
'surcharges',
|
|
6007
4358
|
'tip',
|
|
6008
4359
|
]); },
|
|
4360
|
+
'io.flow.v0.enums.order_price_fee_type': function () { return faker_1.default.helpers.arrayElement(['service', 'fx', 'tax', 'duties', 'tax_and_duties', 'product']); },
|
|
6009
4361
|
'io.flow.v0.enums.order_refund_summary_includes': function () { return faker_1.default.helpers.arrayElement(['duties', 'vat', 'shipping']); },
|
|
6010
4362
|
'io.flow.v0.enums.order_refund_summary_partial_charged': function () { return faker_1.default.helpers.arrayElement(['per_item', 'for_order', 'by_value_percentage', 'by_quantity_percentage']); },
|
|
6011
4363
|
'io.flow.v0.enums.order_status': function () { return faker_1.default.helpers.arrayElement(['open', 'submitted']); },
|
|
@@ -6158,40 +4510,6 @@ var factories = {
|
|
|
6158
4510
|
'io.flow.v0.enums.price_detail_key': function () { return faker_1.default.helpers.arrayElement(['item_price', 'margins', 'vat', 'duty', 'rounding', 'adjustment']); },
|
|
6159
4511
|
'io.flow.v0.enums.price_facet_boundary': function () { return faker_1.default.helpers.arrayElement(['min', 'max']); },
|
|
6160
4512
|
'io.flow.v0.enums.pricing_levy_setting': function () { return faker_1.default.helpers.arrayElement(['included', 'displayed', 'ignored']); },
|
|
6161
|
-
'io.flow.v0.enums.product_restriction_rule': function () { return faker_1.default.helpers.arrayElement([
|
|
6162
|
-
'Adult Products',
|
|
6163
|
-
'Alcohol',
|
|
6164
|
-
'Anti Money Laundering',
|
|
6165
|
-
'Collagen',
|
|
6166
|
-
'Consumer Safety',
|
|
6167
|
-
'Cosmetics',
|
|
6168
|
-
'DG - Batteries',
|
|
6169
|
-
'DG - Hazmat',
|
|
6170
|
-
'Drugs',
|
|
6171
|
-
'Dual Use',
|
|
6172
|
-
'Fine Art',
|
|
6173
|
-
'Fish & Wildlife - CITES',
|
|
6174
|
-
'Fish & Wildlife - Plant',
|
|
6175
|
-
'Fish & Wildlife - USFWS',
|
|
6176
|
-
'Food',
|
|
6177
|
-
'Gambling',
|
|
6178
|
-
'Health',
|
|
6179
|
-
'Human hair',
|
|
6180
|
-
'Insufficient Details',
|
|
6181
|
-
'Intangible',
|
|
6182
|
-
'Jewelry',
|
|
6183
|
-
'Jewelry & Watches Over 5000',
|
|
6184
|
-
'Knives',
|
|
6185
|
-
'Liquids',
|
|
6186
|
-
'Oversized',
|
|
6187
|
-
'Pending Classification',
|
|
6188
|
-
'Restrict by Default',
|
|
6189
|
-
'Supplements',
|
|
6190
|
-
'Tattoo Ink And PMU',
|
|
6191
|
-
'Unknown Bundles',
|
|
6192
|
-
'Weapon',
|
|
6193
|
-
'Wood',
|
|
6194
|
-
]); },
|
|
6195
4513
|
'io.flow.v0.enums.promotion_trigger_type': function () { return faker_1.default.helpers.arrayElement(['automatic', 'order_subtotal']); },
|
|
6196
4514
|
'io.flow.v0.enums.province_type': function () { return faker_1.default.helpers.arrayElement([
|
|
6197
4515
|
'area',
|
|
@@ -6478,6 +4796,7 @@ var factories = {
|
|
|
6478
4796
|
'saturday_stop',
|
|
6479
4797
|
'residential_extended_area_pickup',
|
|
6480
4798
|
'package_level_detail',
|
|
4799
|
+
'pickup',
|
|
6481
4800
|
]); },
|
|
6482
4801
|
'io.flow.v0.enums.unit_of_length': function () { return faker_1.default.helpers.arrayElement(['millimeter', 'centimeter', 'inch', 'foot', 'meter']); },
|
|
6483
4802
|
'io.flow.v0.enums.unit_of_measurement': function () { return faker_1.default.helpers.arrayElement([
|
|
@@ -6913,6 +5232,18 @@ var factories = {
|
|
|
6913
5232
|
region: factories.string(),
|
|
6914
5233
|
interval: factories['io.flow.v0.enums.unit_of_time'](),
|
|
6915
5234
|
}); },
|
|
5235
|
+
'io.flow.v0.models.anirban_item_deleted': function () { return ({
|
|
5236
|
+
discriminator: 'anirban_item_deleted',
|
|
5237
|
+
event_id: factories.string(),
|
|
5238
|
+
timestamp: factories.date_time_iso_8601(),
|
|
5239
|
+
id: factories.string(),
|
|
5240
|
+
}); },
|
|
5241
|
+
'io.flow.v0.models.anirban_item_upserted': function () { return ({
|
|
5242
|
+
discriminator: 'anirban_item_upserted',
|
|
5243
|
+
event_id: factories.string(),
|
|
5244
|
+
timestamp: factories.date_time_iso_8601(),
|
|
5245
|
+
item: factories['io.flow.tech.onboarding.playground.v0.models.anirban_item'](),
|
|
5246
|
+
}); },
|
|
6916
5247
|
'io.flow.v0.models.ansh_item_deleted': function () { return ({
|
|
6917
5248
|
discriminator: 'ansh_item_deleted',
|
|
6918
5249
|
event_id: factories.string(),
|
|
@@ -8621,6 +6952,7 @@ var factories = {
|
|
|
8621
6952
|
package_dimensions_source: factories['io.flow.v0.enums.package_dimensions_source'](),
|
|
8622
6953
|
origin_location_source: factories['io.flow.v0.enums.origin_location_source'](),
|
|
8623
6954
|
reference_id: factories.string(),
|
|
6955
|
+
shipping_date_time: factories.date_time_iso_8601(),
|
|
8624
6956
|
}); },
|
|
8625
6957
|
'io.flow.v0.models.detailed_shipping_notification_form': function () { return ({
|
|
8626
6958
|
discriminator: 'detailed_shipping_notification_form',
|
|
@@ -8882,6 +7214,10 @@ var factories = {
|
|
|
8882
7214
|
organization: factories.string(),
|
|
8883
7215
|
ecommerce_platform: factories['io.flow.v0.models.ecommerce_platform'](),
|
|
8884
7216
|
}); },
|
|
7217
|
+
'io.flow.v0.models.edit_summary': function () { return ({
|
|
7218
|
+
id: factories.string(),
|
|
7219
|
+
edited_at: factories.date_time_iso_8601(),
|
|
7220
|
+
}); },
|
|
8885
7221
|
'io.flow.v0.models.eei_filing_ratecard_fee': function () { return ({
|
|
8886
7222
|
discriminator: 'eei_filing_ratecard_fee',
|
|
8887
7223
|
amount: factories['io.flow.v0.models.money'](),
|
|
@@ -10461,6 +8797,7 @@ var factories = {
|
|
|
10461
8797
|
local: factories['io.flow.v0.models.local'](),
|
|
10462
8798
|
shipment_estimate: factories['io.flow.v0.models.datetime_range'](),
|
|
10463
8799
|
price_source: factories['io.flow.v0.unions.price_source'](),
|
|
8800
|
+
breakdown: factories['io.flow.v0.models.order_price_detail_breakdown'](),
|
|
10464
8801
|
}); },
|
|
10465
8802
|
'io.flow.v0.models.localized_line_item_discount': function () { return ({
|
|
10466
8803
|
amount: factories.double(),
|
|
@@ -10476,6 +8813,7 @@ var factories = {
|
|
|
10476
8813
|
amount: factories.double(),
|
|
10477
8814
|
label: factories.string(),
|
|
10478
8815
|
base: factories['io.flow.v0.models.price'](),
|
|
8816
|
+
breakdown: factories['io.flow.v0.models.order_price_detail_breakdown'](),
|
|
10479
8817
|
}); },
|
|
10480
8818
|
'io.flow.v0.models.localized_translation': function () { return ({
|
|
10481
8819
|
locale: factories['io.flow.v0.models.locale'](),
|
|
@@ -10727,6 +9065,10 @@ var factories = {
|
|
|
10727
9065
|
first: factories.string(),
|
|
10728
9066
|
last: factories.string(),
|
|
10729
9067
|
}); },
|
|
9068
|
+
'io.flow.v0.models.needs_action_attributes': function () { return ({
|
|
9069
|
+
reason_code: factories.string(),
|
|
9070
|
+
category_metafield_handles: arrayOf(function () { return factories.string(); }),
|
|
9071
|
+
}); },
|
|
10730
9072
|
'io.flow.v0.models.niall_item_deleted': function () { return ({
|
|
10731
9073
|
discriminator: 'niall_item_deleted',
|
|
10732
9074
|
event_id: factories.string(),
|
|
@@ -10871,6 +9213,8 @@ var factories = {
|
|
|
10871
9213
|
destination_contact_details: arrayOf(function () { return factories['io.flow.v0.models.destination_contact_detail'](); }),
|
|
10872
9214
|
incoterm_summary: factories['io.flow.v0.models.incoterm_summary'](),
|
|
10873
9215
|
payment_source: factories['io.flow.v0.enums.order_payment_source_type'](),
|
|
9216
|
+
edits: arrayOf(function () { return factories['io.flow.v0.models.edit_summary'](); }),
|
|
9217
|
+
rates: arrayOf(function () { return factories['io.flow.v0.models.order_rate'](); }),
|
|
10874
9218
|
}); },
|
|
10875
9219
|
'io.flow.v0.models.order_address': function () { return ({
|
|
10876
9220
|
text: factories.string(),
|
|
@@ -11127,6 +9471,11 @@ var factories = {
|
|
|
11127
9471
|
rate: factories.decimal(),
|
|
11128
9472
|
accuracy: factories['io.flow.v0.enums.price_accuracy'](),
|
|
11129
9473
|
rate_label: factories.string(),
|
|
9474
|
+
breakdown: factories['io.flow.v0.models.order_price_detail_breakdown'](),
|
|
9475
|
+
}); },
|
|
9476
|
+
'io.flow.v0.models.order_price_detail_breakdown': function () { return ({
|
|
9477
|
+
purchase_price: factories['io.flow.v0.models.purchase_price_breakdown'](),
|
|
9478
|
+
fees: arrayOf(function () { return factories['io.flow.v0.models.order_price_fee'](); }),
|
|
11130
9479
|
}); },
|
|
11131
9480
|
'io.flow.v0.models.order_price_detail_component': function () { return ({
|
|
11132
9481
|
key: factories['io.flow.v0.enums.order_price_detail_component_key'](),
|
|
@@ -11136,6 +9485,11 @@ var factories = {
|
|
|
11136
9485
|
base: factories['io.flow.v0.models.price'](),
|
|
11137
9486
|
name: factories.string(),
|
|
11138
9487
|
}); },
|
|
9488
|
+
'io.flow.v0.models.order_price_fee': function () { return ({
|
|
9489
|
+
key: factories.string(),
|
|
9490
|
+
value: factories['io.flow.v0.models.price_with_base'](),
|
|
9491
|
+
type: factories['io.flow.v0.enums.order_price_fee_type'](),
|
|
9492
|
+
}); },
|
|
11139
9493
|
'io.flow.v0.models.order_promotion_trigger': function () { return ({
|
|
11140
9494
|
type: factories['io.flow.v0.enums.promotion_trigger_type'](),
|
|
11141
9495
|
min: factories['io.flow.v0.models.price'](),
|
|
@@ -11155,6 +9509,11 @@ var factories = {
|
|
|
11155
9509
|
device_details: factories['io.flow.v0.unions.device_details'](),
|
|
11156
9510
|
payment_source: factories['io.flow.v0.enums.order_payment_source_type'](),
|
|
11157
9511
|
}); },
|
|
9512
|
+
'io.flow.v0.models.order_rate': function () { return ({
|
|
9513
|
+
from: factories.string(),
|
|
9514
|
+
to: factories.string(),
|
|
9515
|
+
rate: factories.decimal(),
|
|
9516
|
+
}); },
|
|
11158
9517
|
'io.flow.v0.models.order_reference': function () { return ({
|
|
11159
9518
|
discriminator: 'order_reference',
|
|
11160
9519
|
id: factories.string(),
|
|
@@ -12598,11 +10957,12 @@ var factories = {
|
|
|
12598
10957
|
sellability_restricted_regions: arrayOf(function () { return factories.string(); }),
|
|
12599
10958
|
reasons_per_region: arrayOf(function () { return factories['io.flow.v0.models.reasons_per_region'](); }),
|
|
12600
10959
|
review_status: factories['io.flow.v0.enums.review_status'](),
|
|
12601
|
-
rules: arrayOf(function () { return factories
|
|
10960
|
+
rules: arrayOf(function () { return factories.string(); }),
|
|
12602
10961
|
updated_by: factories.string(),
|
|
12603
10962
|
product_restriction_id: factories.string(),
|
|
12604
10963
|
hs_code: factories.string(),
|
|
12605
10964
|
restricted_regions_by_type: arrayOf(function () { return factories['io.flow.v0.models.sellablility_region_result'](); }),
|
|
10965
|
+
needs_action_attributes: arrayOf(function () { return factories['io.flow.v0.models.needs_action_attributes'](); }),
|
|
12606
10966
|
}); },
|
|
12607
10967
|
'io.flow.v0.models.product_restriction_result_deleted': function () { return ({
|
|
12608
10968
|
discriminator: 'product_restriction_result_deleted',
|
|
@@ -12643,6 +11003,11 @@ var factories = {
|
|
|
12643
11003
|
'io.flow.v0.models.product_taxonomy_data': function () { return ({
|
|
12644
11004
|
key: factories.string(),
|
|
12645
11005
|
value: arrayOf(function () { return factories.string(); }),
|
|
11006
|
+
value_obj: arrayOf(function () { return factories['io.flow.v0.models.product_taxonomy_value'](); }),
|
|
11007
|
+
}); },
|
|
11008
|
+
'io.flow.v0.models.product_taxonomy_value': function () { return ({
|
|
11009
|
+
handle: factories.string(),
|
|
11010
|
+
name: factories.string(),
|
|
12646
11011
|
}); },
|
|
12647
11012
|
'io.flow.v0.models.product_updated': function () { return ({
|
|
12648
11013
|
discriminator: 'product_updated',
|
|
@@ -12675,6 +11040,11 @@ var factories = {
|
|
|
12675
11040
|
'io.flow.v0.models.public_key': function () { return ({
|
|
12676
11041
|
id: factories.string(),
|
|
12677
11042
|
}); },
|
|
11043
|
+
'io.flow.v0.models.purchase_price_breakdown': function () { return ({
|
|
11044
|
+
total_price: factories['io.flow.v0.models.price_with_base'](),
|
|
11045
|
+
product_price: factories['io.flow.v0.models.price_with_base'](),
|
|
11046
|
+
fees: arrayOf(function () { return factories['io.flow.v0.models.order_price_fee'](); }),
|
|
11047
|
+
}); },
|
|
12678
11048
|
'io.flow.v0.models.query': function () { return ({
|
|
12679
11049
|
q: factories.string(),
|
|
12680
11050
|
filters: arrayOf(function () { return factories['io.flow.v0.unions.query_filter'](); }),
|
|
@@ -15338,6 +13708,8 @@ var factories = {
|
|
|
15338
13708
|
function () { return factories['io.flow.v0.models.aldo_item_deleted'](); },
|
|
15339
13709
|
function () { return factories['io.flow.v0.models.ansh_item_upserted'](); },
|
|
15340
13710
|
function () { return factories['io.flow.v0.models.ansh_item_deleted'](); },
|
|
13711
|
+
function () { return factories['io.flow.v0.models.anirban_item_upserted'](); },
|
|
13712
|
+
function () { return factories['io.flow.v0.models.anirban_item_deleted'](); },
|
|
15341
13713
|
function () { return factories['io.flow.v0.models.transaction_upserted'](); },
|
|
15342
13714
|
function () { return factories['io.flow.v0.models.organization_transaction_upserted'](); },
|
|
15343
13715
|
function () { return factories['io.flow.v0.models.organization_transaction_deleted'](); },
|
|
@@ -16271,6 +14643,10 @@ var makeAmountMarginForm = function () { return factories['io.flow.v0.models.amo
|
|
|
16271
14643
|
exports.makeAmountMarginForm = makeAmountMarginForm;
|
|
16272
14644
|
var makeAnalyticsExportType = function () { return factories['io.flow.v0.models.analytics_export_type'](); };
|
|
16273
14645
|
exports.makeAnalyticsExportType = makeAnalyticsExportType;
|
|
14646
|
+
var makeAnirbanItemDeleted = function () { return factories['io.flow.v0.models.anirban_item_deleted'](); };
|
|
14647
|
+
exports.makeAnirbanItemDeleted = makeAnirbanItemDeleted;
|
|
14648
|
+
var makeAnirbanItemUpserted = function () { return factories['io.flow.v0.models.anirban_item_upserted'](); };
|
|
14649
|
+
exports.makeAnirbanItemUpserted = makeAnirbanItemUpserted;
|
|
16274
14650
|
var makeAnshItemDeleted = function () { return factories['io.flow.v0.models.ansh_item_deleted'](); };
|
|
16275
14651
|
exports.makeAnshItemDeleted = makeAnshItemDeleted;
|
|
16276
14652
|
var makeAnshItemUpserted = function () { return factories['io.flow.v0.models.ansh_item_upserted'](); };
|
|
@@ -17041,6 +15417,8 @@ var makeEcommercePlatformUpserted = function () { return factories['io.flow.v0.m
|
|
|
17041
15417
|
exports.makeEcommercePlatformUpserted = makeEcommercePlatformUpserted;
|
|
17042
15418
|
var makeEconomicTitleLocation = function () { return factories['io.flow.v0.enums.economic_title_location'](); };
|
|
17043
15419
|
exports.makeEconomicTitleLocation = makeEconomicTitleLocation;
|
|
15420
|
+
var makeEditSummary = function () { return factories['io.flow.v0.models.edit_summary'](); };
|
|
15421
|
+
exports.makeEditSummary = makeEditSummary;
|
|
17044
15422
|
var makeEeiFilingRatecardFee = function () { return factories['io.flow.v0.models.eei_filing_ratecard_fee'](); };
|
|
17045
15423
|
exports.makeEeiFilingRatecardFee = makeEeiFilingRatecardFee;
|
|
17046
15424
|
var makeEeiFilingServiceFee = function () { return factories['io.flow.v0.models.eei_filing_service_fee'](); };
|
|
@@ -17835,6 +16213,8 @@ var makeName = function () { return factories['io.flow.v0.models.name'](); };
|
|
|
17835
16213
|
exports.makeName = makeName;
|
|
17836
16214
|
var makeNameForm = function () { return factories['io.flow.v0.models.name_form'](); };
|
|
17837
16215
|
exports.makeNameForm = makeNameForm;
|
|
16216
|
+
var makeNeedsActionAttributes = function () { return factories['io.flow.v0.models.needs_action_attributes'](); };
|
|
16217
|
+
exports.makeNeedsActionAttributes = makeNeedsActionAttributes;
|
|
17838
16218
|
var makeNiallItemDeleted = function () { return factories['io.flow.v0.models.niall_item_deleted'](); };
|
|
17839
16219
|
exports.makeNiallItemDeleted = makeNiallItemDeleted;
|
|
17840
16220
|
var makeNiallItemUpserted = function () { return factories['io.flow.v0.models.niall_item_upserted'](); };
|
|
@@ -17979,12 +16359,18 @@ var makeOrderPlacedV2 = function () { return factories['io.flow.v0.models.order_
|
|
|
17979
16359
|
exports.makeOrderPlacedV2 = makeOrderPlacedV2;
|
|
17980
16360
|
var makeOrderPriceDetail = function () { return factories['io.flow.v0.models.order_price_detail'](); };
|
|
17981
16361
|
exports.makeOrderPriceDetail = makeOrderPriceDetail;
|
|
16362
|
+
var makeOrderPriceDetailBreakdown = function () { return factories['io.flow.v0.models.order_price_detail_breakdown'](); };
|
|
16363
|
+
exports.makeOrderPriceDetailBreakdown = makeOrderPriceDetailBreakdown;
|
|
17982
16364
|
var makeOrderPriceDetailComponent = function () { return factories['io.flow.v0.models.order_price_detail_component'](); };
|
|
17983
16365
|
exports.makeOrderPriceDetailComponent = makeOrderPriceDetailComponent;
|
|
17984
16366
|
var makeOrderPriceDetailComponentKey = function () { return factories['io.flow.v0.enums.order_price_detail_component_key'](); };
|
|
17985
16367
|
exports.makeOrderPriceDetailComponentKey = makeOrderPriceDetailComponentKey;
|
|
17986
16368
|
var makeOrderPriceDetailKey = function () { return factories['io.flow.v0.enums.order_price_detail_key'](); };
|
|
17987
16369
|
exports.makeOrderPriceDetailKey = makeOrderPriceDetailKey;
|
|
16370
|
+
var makeOrderPriceFee = function () { return factories['io.flow.v0.models.order_price_fee'](); };
|
|
16371
|
+
exports.makeOrderPriceFee = makeOrderPriceFee;
|
|
16372
|
+
var makeOrderPriceFeeType = function () { return factories['io.flow.v0.enums.order_price_fee_type'](); };
|
|
16373
|
+
exports.makeOrderPriceFeeType = makeOrderPriceFeeType;
|
|
17988
16374
|
var makeOrderPromotion = function () { return factories['io.flow.v0.unions.order_promotion'](); };
|
|
17989
16375
|
exports.makeOrderPromotion = makeOrderPromotion;
|
|
17990
16376
|
var makeOrderPromotionForm = function () { return factories['io.flow.v0.unions.order_promotion_form'](); };
|
|
@@ -17993,6 +16379,8 @@ var makeOrderPromotionTrigger = function () { return factories['io.flow.v0.model
|
|
|
17993
16379
|
exports.makeOrderPromotionTrigger = makeOrderPromotionTrigger;
|
|
17994
16380
|
var makeOrderPutForm = function () { return factories['io.flow.v0.models.order_put_form'](); };
|
|
17995
16381
|
exports.makeOrderPutForm = makeOrderPutForm;
|
|
16382
|
+
var makeOrderRate = function () { return factories['io.flow.v0.models.order_rate'](); };
|
|
16383
|
+
exports.makeOrderRate = makeOrderRate;
|
|
17996
16384
|
var makeOrderReference = function () { return factories['io.flow.v0.models.order_reference'](); };
|
|
17997
16385
|
exports.makeOrderReference = makeOrderReference;
|
|
17998
16386
|
var makeOrderRefundSummary = function () { return factories['io.flow.v0.models.order_refund_summary'](); };
|
|
@@ -18601,8 +16989,6 @@ var makeProductRestrictionResultDeleted = function () { return factories['io.flo
|
|
|
18601
16989
|
exports.makeProductRestrictionResultDeleted = makeProductRestrictionResultDeleted;
|
|
18602
16990
|
var makeProductRestrictionResultUpserted = function () { return factories['io.flow.v0.models.product_restriction_result_upserted'](); };
|
|
18603
16991
|
exports.makeProductRestrictionResultUpserted = makeProductRestrictionResultUpserted;
|
|
18604
|
-
var makeProductRestrictionRule = function () { return factories['io.flow.v0.enums.product_restriction_rule'](); };
|
|
18605
|
-
exports.makeProductRestrictionRule = makeProductRestrictionRule;
|
|
18606
16992
|
var makeProductSellability = function () { return factories['io.flow.v0.models.product_sellability'](); };
|
|
18607
16993
|
exports.makeProductSellability = makeProductSellability;
|
|
18608
16994
|
var makeProductSellabilityForm = function () { return factories['io.flow.v0.models.product_sellability_form'](); };
|
|
@@ -18611,6 +16997,8 @@ var makeProductTaxonomyCategory = function () { return factories['io.flow.v0.mod
|
|
|
18611
16997
|
exports.makeProductTaxonomyCategory = makeProductTaxonomyCategory;
|
|
18612
16998
|
var makeProductTaxonomyData = function () { return factories['io.flow.v0.models.product_taxonomy_data'](); };
|
|
18613
16999
|
exports.makeProductTaxonomyData = makeProductTaxonomyData;
|
|
17000
|
+
var makeProductTaxonomyValue = function () { return factories['io.flow.v0.models.product_taxonomy_value'](); };
|
|
17001
|
+
exports.makeProductTaxonomyValue = makeProductTaxonomyValue;
|
|
18614
17002
|
var makeProductUpdated = function () { return factories['io.flow.v0.models.product_updated'](); };
|
|
18615
17003
|
exports.makeProductUpdated = makeProductUpdated;
|
|
18616
17004
|
var makePromotion = function () { return factories['io.flow.v0.unions.promotion'](); };
|
|
@@ -18629,6 +17017,8 @@ var makeProvinceType = function () { return factories['io.flow.v0.enums.province
|
|
|
18629
17017
|
exports.makeProvinceType = makeProvinceType;
|
|
18630
17018
|
var makePublicKey = function () { return factories['io.flow.v0.models.public_key'](); };
|
|
18631
17019
|
exports.makePublicKey = makePublicKey;
|
|
17020
|
+
var makePurchasePriceBreakdown = function () { return factories['io.flow.v0.models.purchase_price_breakdown'](); };
|
|
17021
|
+
exports.makePurchasePriceBreakdown = makePurchasePriceBreakdown;
|
|
18632
17022
|
var makeQuery = function () { return factories['io.flow.v0.models.query'](); };
|
|
18633
17023
|
exports.makeQuery = makeQuery;
|
|
18634
17024
|
var makeQueryBuilder = function () { return factories['io.flow.v0.models.query_builder'](); };
|