@flowio/api-factories 0.0.71 → 0.0.73
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 +100 -31
- package/dist/esm/api.js +63 -0
- package/dist/types/api.d.ts +5 -0
- package/package.json +2 -2
- package/src/api.ts +67 -0
package/dist/cjs/api.js
CHANGED
|
@@ -7,37 +7,38 @@ exports.makeAggregate = exports.makeAdyenV3FingerprintToken = exports.makeAdyenV
|
|
|
7
7
|
exports.makeAuthorizationResultActionDetails = exports.makeAuthorizationResultAction = exports.makeAuthorizationResult = exports.makeAuthorizationReference = exports.makeAuthorizationPayloadParameters = exports.makeAuthorizationPayload = exports.makeAuthorizationOrderReference = 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.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 = void 0;
|
|
8
8
|
exports.makeBillingDiscount = exports.makeBillingChannelStatementReference = exports.makeBillingChannelPaymentRequestReference = exports.makeBillingChannelOrganizationSummary = exports.makeBillingChannelOrderSummary = exports.makeBillingAddress = 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.makeAvailablePromotionsUpsertedV2 = exports.makeAvailablePromotionsUpserted = exports.makeAvailablePromotionsDeletedV2 = exports.makeAvailablePromotionsDeleted = exports.makeAvailablePromotion = exports.makeAvailableFilterUnstructured = exports.makeAvailableFilterStructured = exports.makeAvailableFilterFormat = exports.makeAvailableFilter = exports.makeAvailabilityStatus = exports.makeAuthorizationVersion = exports.makeAuthorizationStatusChanged = exports.makeAuthorizationStatus = exports.makeAuthorizationResultDescription = exports.makeAuthorizationResultActionWait = exports.makeAuthorizationResultActionType = exports.makeAuthorizationResultActionPost = exports.makeAuthorizationResultActionNative = exports.makeAuthorizationResultActionGet = void 0;
|
|
9
9
|
exports.makeCarrier = exports.makeCardVersion = exports.makeCardUpsertedV2 = 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.makeBrowseOptinResponsesUpserted = exports.makeBrowseOptinResponsesDeleted = exports.makeBrowseOptinResponses = exports.makeBridgeShippingLabelForm = exports.makeBridgeManifestForm = exports.makeBridgeManifest = void 0;
|
|
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.
|
|
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.makeCatalogItemUpsertedV2 = exports.makeCatalogItemUpserted = exports.makeCatalogItemSummary = exports.makeCatalogItemReference = exports.makeCatalogItemExportType = exports.makeCatalogItemDocumentImages = exports.makeCatalogItemDocument = exports.makeCatalogItemDeletedV2 = exports.makeCatalogItemDeleted = exports.makeCatalogDeleted = exports.makeCatalog = exports.makeCartReference = exports.makeCarrierService = exports.makeCarrierReference = exports.makeCarrierChargeReason = void 0;
|
|
11
|
+
exports.makeConsumerInvoiceLevy = exports.makeConsumerInvoiceFormByOrder = exports.makeConsumerInvoiceForm = 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.makeCheckoutOptinResponsesUpserted = exports.makeCheckoutOptinResponsesDeleted = exports.makeCheckoutOptinResponses = 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.makeChannelReference = exports.makeChannelRate = exports.makeChannelPendingPayoutTransactionUpserted = exports.makeChannelPendingPayoutTransactionDeleted = exports.makeChannelPendingPayoutTransaction = exports.makeChannelPayoutUpserted = exports.makeChannelPayoutDeleted = exports.makeChannelPayout = exports.makeChannelOrganizationUpserted = exports.makeChannelOrganizationPutForm = void 0;
|
|
12
|
+
exports.makeCurrencyFormatDeleted = 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.makeCountryStatusUpserted = exports.makeCountryStatusForm = exports.makeCountryStatusDeleted = exports.makeCountryStatus = exports.makeCountryShippingPricing = exports.makeCountryPickerSource = exports.makeCountryPickerForm = exports.makeCountryPicker = exports.makeCountryOfOriginForm = exports.makeCountryOfOrigin = exports.makeCountryDefaults = exports.makeCountryAvailability = exports.makeCountry = exports.makeCostEstimateSource = exports.makeContextReference = exports.makeContextForm = exports.makeContext = 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 = void 0;
|
|
13
|
+
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.makeCustomerUpserted = exports.makeCustomerToken = exports.makeCustomerReference = exports.makeCustomerPutForm = exports.makeCustomerPurgeSettingsForm = exports.makeCustomerPurgeSettings = exports.makeCustomerPayment = exports.makeCustomerOrder = exports.makeCustomerLastUsed = exports.makeCustomerInvoice = exports.makeCustomerForm = exports.makeCustomerDeleted = exports.makeCustomerClientToken = exports.makeCustomerBundle = exports.makeCustomerAddressType = exports.makeCustomerAddressPreference = exports.makeCustomerAddressBookForm = exports.makeCustomerAddressBookContactUpserted = exports.makeCustomerAddressBookContactForm = exports.makeCustomerAddressBookContactDeleted = exports.makeCustomerAddressBookContact = exports.makeCustomerAddressBook = exports.makeCustomer = exports.makeCurrencySymbols = exports.makeCurrencySymbolFormat = exports.makeCurrencyLabelFormatter = exports.makeCurrencyFormatUpserted = void 0;
|
|
14
|
+
exports.makeDutiesTaxesPaidSurchargeServiceFee = exports.makeDutiesTaxesPaidSurchargeRatecardFee = exports.makeDuration = exports.makeDocument = 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.makeDeminimisSimple = exports.makeDeminimisPerItem = exports.makeDeminimis = exports.makeDeliveryWindowSummary = exports.makeDeliveryWindowLocation = exports.makeDeliveryWindowComponentsV2 = exports.makeDeliveryWindowComponents = exports.makeDeliveryWindowComponentSource = exports.makeDeliveryWindowComponent = exports.makeDeliveryWindow = exports.makeDeliveryVersion = exports.makeDeliverySummary = exports.makeDeliveryOptionVersion = exports.makeDeliveryOptionSummary = void 0;
|
|
15
|
+
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.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.makeEmailNotificationUpserted = exports.makeEmailNotificationForm = exports.makeEmailNotificationDeleted = exports.makeEmailNotificationDataRefund = exports.makeEmailNotificationData = exports.makeEmailNotificationAbandonedOrder = exports.makeEmailNotification = exports.makeEmailAbandonedOrderUrls = exports.makeEmailAbandonedOrderPromotion = exports.makeEconomicTitleLocation = exports.makeEcommercePlatformUpserted = exports.makeEcommercePlatformType = exports.makeEcommercePlatformForm = exports.makeEcommercePlatformDeleted = exports.makeEcommercePlatform = exports.makeDutyItemProducer = exports.makeDutyItemForm = exports.makeDutyItemApprovalStatus = exports.makeDutyItemApprovalForm = exports.makeDutyItemApproval = exports.makeDutyItem = exports.makeDuty = void 0;
|
|
16
|
+
exports.makeExpiration = exports.makeExperimentVariant = exports.makeExperienceVersion = exports.makeExperienceUpsertedV2 = exports.makeExperienceUpserted = exports.makeExperienceSummary = exports.makeExperienceStatusForm = exports.makeExperienceStatus = exports.makeExperienceSettings = exports.makeExperienceReference = exports.makeExperiencePriceFacetConversionResponse = exports.makeExperiencePriceFacetConversionRequest = exports.makeExperiencePriceFacetConversion = exports.makeExperiencePriceConversionResponse = exports.makeExperiencePriceConversionRequest = exports.makeExperiencePriceConversion = exports.makeExperiencePriceBookMappingUpserted = exports.makeExperiencePriceBookMappingPutForm = exports.makeExperiencePriceBookMappingForm = exports.makeExperiencePriceBookMappingDeleted = exports.makeExperiencePriceBookMapping = exports.makeExperiencePaymentMethodTag = exports.makeExperiencePaymentMethodRuleForm = exports.makeExperiencePaymentMethodRule = exports.makeExperienceOverview = exports.makeExperienceLogisticsTierSummaryPrices = exports.makeExperienceLogisticsTierSummary = exports.makeExperienceLogisticsSummary = exports.makeExperienceLogisticsSettingsUpserted = exports.makeExperienceLogisticsSettingsPutForm = exports.makeExperienceLogisticsSettingsDeleted = exports.makeExperienceLogisticsSettings = exports.makeExperienceGeo = exports.makeExperienceForm = exports.makeExperienceExportType = exports.makeExperienceDeletedV2 = exports.makeExperienceDeleted = exports.makeExperienceDefaults = exports.makeExperienceCurrencyFormatForm = exports.makeExperienceCurrencyFormat = exports.makeExperienceCountryStatus = exports.makeExperienceConfigurationReference = exports.makeExperienceCloneStatus = exports.makeExperienceCloneForm = exports.makeExperienceClone = exports.makeExperienceCheckoutSettingsForm = exports.makeExperienceCheckoutSettings = exports.makeExperienceCheckoutConfigurationSettings = exports.makeExperience = exports.makeExpandableUser = void 0;
|
|
17
|
+
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.makeFlowRole = exports.makeFlowItemIndexMetadata = exports.makeFlowEntity = exports.makeFlowCenterReference = exports.makeFlowBehavior = exports.makeFlatRateForm = exports.makeFlatRate = exports.makeFieldValidationRule = exports.makeFieldValidationRequiredIfPresent = exports.makeFieldValidationRequired = exports.makeFieldValidationPattern = exports.makeFieldValidationMin = exports.makeFieldValidationMax = exports.makeFeeWeight = exports.makeFeeDeductionType = exports.makeFeeDeduction = exports.makeExternalApiTimeoutReservationError = exports.makeExporterOfRecord = exports.makeExportVersion = exports.makeExportType = exports.makeExportStatus = exports.makeExportLocalizedItemPricesDetail = exports.makeExportLocalizedItemPrices = exports.makeExportForm = exports.makeExportDeliveryEmail = exports.makeExportDelivery = exports.makeExport = void 0;
|
|
18
|
+
exports.makeHopV2 = exports.makeHopEstimateV2 = exports.makeHopEstimate = exports.makeHop = 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.makeGenericReservationError = exports.makeGenericErrorCode = exports.makeGenericError = exports.makeGenerateLoad = 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 = exports.makeFulfillmentCancellationForm = exports.makeFulfillment = exports.makeFuelSurchargeServiceFee = exports.makeFuelSurchargeRatecardFee = exports.makeFuelSurchargeRate = exports.makeFuelSurchargePercent = exports.makeFuelSurchargeByWeight = void 0;
|
|
19
|
+
exports.makeInventoryRuleForm = exports.makeInventoryRule = exports.makeInventoryRequestItem = exports.makeInventoryRequest = exports.makeInventoryItemReference = exports.makeInventoryFollowEcommercePlatform = exports.makeInventoryExperienceReference = exports.makeInventoryCheckResponseItem = exports.makeInventoryCheckResponse = exports.makeInventoryCenterReference = exports.makeInventoryBackorder = 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.makeIncoterm = exports.makeIncludedLevyKey = exports.makeIncludedLevies = exports.makeInboundCartonFee = exports.makeInComplianceReview = exports.makeImportVersion = exports.makeImportType = exports.makeImportTemplateForm = exports.makeImportTemplateExample = exports.makeImportTemplate = exports.makeImportResults = exports.makeImportForm = exports.makeImportFailedV2 = exports.makeImportCompletedV2 = exports.makeImport = exports.makeImageTag = exports.makeImageForm = exports.makeImage = exports.makeIdentifierForm = exports.makeHs6CodeUpserted = exports.makeHs6CodeDeleted = exports.makeHs6 = exports.makeHs10Version = exports.makeHs10CodeUpserted = exports.makeHs10CodeDeleted = exports.makeHs10 = void 0;
|
|
20
|
+
exports.makeKlaviyoOrderContent = exports.makeKlaviyoLineItem = exports.makeKlarnaSdkAuthorizationResultActionDetails = exports.makeKlarnaPaymentMethodCategory = exports.makeKlarnaPaymentCategory = exports.makeJsonpResponse = exports.makeItemVersion = exports.makeItemStatistics = exports.makeItemShippingPricing = exports.makeItemSalesMarginUpserted = exports.makeItemSalesMarginDeleted = exports.makeItemReference = exports.makeItemQuerySuggestion = exports.makeItemPriceUpdatePutForm = exports.makeItemPriceUpdateForm = exports.makeItemOriginUpserted = exports.makeItemOriginDeleted = exports.makeItemMarginVersion = exports.makeItemMarginUpsertedV2 = exports.makeItemMarginPutForm = exports.makeItemMarginPostForm = exports.makeItemMarginDeletedV2 = exports.makeItemMargin = exports.makeItemIdentifier = exports.makeItemFormOverlayForm = exports.makeItemFormOverlay = exports.makeItemForm = exports.makeItemAvailabilityStatus = exports.makeItemAttributesPatchForm = exports.makeItem = exports.makeIssuerV1 = exports.makeIssuerSummary = exports.makeIssuerReference = exports.makeInvoiceExportForm = exports.makeInvoiceExport = exports.makeInvitationVersion = exports.makeInvitationForm = exports.makeInvitationErrorCode = exports.makeInvitationError = exports.makeInvitation = exports.makeInventoryUpdateVersion = exports.makeInventoryUpdateForm = exports.makeInventoryUpdate = exports.makeInventoryUnlimited = exports.makeInventoryStrategy = exports.makeInventoryStock = exports.makeInventoryStatus = exports.makeInventorySnapshotVersion = exports.makeInventorySnapshot = exports.makeInventoryRuleVersion = void 0;
|
|
21
|
+
exports.makeLocale = exports.makeLocalSession = exports.makeLocalPriceDetails = exports.makeLocalItemUpserted = exports.makeLocalItemPricing = exports.makeLocalItemDeleted = 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.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 = exports.makeLabelSurcharge = exports.makeLabelRequestMethod = exports.makeLabelReference = exports.makeLabelOrderSummary = exports.makeLabelFormatUpserted = exports.makeLabelFormatDeleted = exports.makeLabelDeletedV2 = exports.makeLabelBase = exports.makeKubeHealthcheck = exports.makeKnowYourBusinessUsaForm = exports.makeKnowYourBusinessUsa = exports.makeKnowYourBusinessForm = exports.makeKnowYourBusiness = exports.makeKlaviyoOrderPrices = void 0;
|
|
22
|
+
exports.makeMerchantGiftCardReversal = exports.makeMerchantGiftCardRedemptionForm = exports.makeMerchantGiftCardRedemption = exports.makeMerchantGiftCardErrorCode = exports.makeMerchantGiftCardError = exports.makeMerchantGiftCardBalanceForm = exports.makeMerchantGiftCardBalance = 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 = 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 = void 0;
|
|
23
|
+
exports.makeOrderBuilderDestinationCountryForm = exports.makeOrderBuilderDeliveredDutyForm = exports.makeOrderBuilderCustomerInvoiceAddressForm = exports.makeOrderBuilderCustomerForm = exports.makeOrderBuilderAttributesForm = exports.makeOrderBuilder = exports.makeOrderAddress = exports.makeOrder = exports.makeOptions = exports.makeOptionWeightEstimates = exports.makeOptinResponseType = exports.makeOptinResponse = 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.makeNoInventoryReservationErrorItem = exports.makeNoInventoryReservationError = exports.makeNameForm = exports.makeName = exports.makeMonthlyAverageVolume = exports.makeMonthlyAverage = exports.makeMoneyWithOptionalBase = 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 = void 0;
|
|
24
|
+
exports.makeOrderPromotionForm = exports.makeOrderPromotion = exports.makeOrderPriceDetailKey = exports.makeOrderPriceDetailComponentKey = exports.makeOrderPriceDetailComponent = exports.makeOrderPriceDetail = exports.makeOrderPlacedV2 = exports.makeOrderPlacedDetails = exports.makeOrderPlaced = exports.makeOrderPaymentType = 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.makeOrderIdentifierUpsertedV2 = exports.makeOrderIdentifierUpserted = exports.makeOrderIdentifierPutForm = exports.makeOrderIdentifierForm = exports.makeOrderIdentifierDeletedV2 = exports.makeOrderIdentifierDeleted = exports.makeOrderIdentifier = exports.makeOrderGeo = exports.makeOrderFraudStatus = exports.makeOrderForm = exports.makeOrderExportType = exports.makeOrderEstimateForm = exports.makeOrderEstimate = exports.makeOrderErrorCode = exports.makeOrderError = exports.makeOrderDetails = exports.makeOrderDestinationPutForm = exports.makeOrderDeletedV2 = exports.makeOrderDeleted = exports.makeOrderCustomerForm = exports.makeOrderCustomer = exports.makeOrderChangeSource = exports.makeOrderBuilderSelectionsForm = exports.makeOrderBuilderDestinationForm = void 0;
|
|
25
|
+
exports.makeOrderServiceChangeRequestData = exports.makeOrderServiceChangeRequest = exports.makeOrderServiceChangeForm = exports.makeOrderServiceChange = exports.makeOrderRulesSummary = exports.makeOrderRuleReference = exports.makeOrderReplacementUpserted = exports.makeOrderReplacementForm = exports.makeOrderReplacementDeleted = exports.makeOrderReplacement = exports.makeOrderRefundSummaryPartialIncludes = exports.makeOrderRefundSummaryPartialForm = exports.makeOrderRefundSummaryPartialCharged = exports.makeOrderRefundSummaryItem = exports.makeOrderRefundSummaryIncludes = exports.makeOrderRefundSummaryFullForm = exports.makeOrderRefundSummaryForm = exports.makeOrderRefundSummaryAmounts = exports.makeOrderRefundSummary = exports.makeOrderReference = exports.makeOrderQuoteSummaryTotal = exports.makeOrderQuoteSummaryTax = exports.makeOrderQuoteSummaryShippingSurcharges = exports.makeOrderQuoteSummaryShippingFreight = exports.makeOrderQuoteSummaryShipping = exports.makeOrderQuoteSummaryItems = exports.makeOrderQuoteSummaryDuty = exports.makeOrderQuoteSummary = exports.makeOrderQuoteReference = exports.makeOrderQuotePutForm = exports.makeOrderQuotePriceStandard = exports.makeOrderQuotePriceNotYetKnown = exports.makeOrderQuotePriceIncluded = exports.makeOrderQuotePriceFree = exports.makeOrderQuotePriceEstimated = exports.makeOrderQuotePrice = exports.makeOrderQuoteLineErrorCode = exports.makeOrderQuoteLineError = exports.makeOrderQuoteLineDiscount = exports.makeOrderQuoteLine = exports.makeOrderQuoteGeoPutForm = exports.makeOrderQuoteErrorDetails = exports.makeOrderQuoteErrorCode = exports.makeOrderQuoteError = exports.makeOrderQuoteContact = exports.makeOrderQuoteAddressType = exports.makeOrderQuoteAddress = exports.makeOrderQuote = exports.makeOrderPutForm = exports.makeOrderPromotionTrigger = void 0;
|
|
26
|
+
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.makeOrganizationDefaultConfigurationsUpserted = exports.makeOrganizationDefaultConfigurationsForm = exports.makeOrganizationDefaultConfigurationsDeleted = exports.makeOrganizationDefaultConfigurations = exports.makeOrganizationDefaultBankAccount = exports.makeOrganizationConfigurationReference = exports.makeOrganizationBankAccount = exports.makeOrganizationAuthorizationForm = exports.makeOrganizationAuthorization = exports.makeOrganization = exports.makeOrderWithDiscountsForm = exports.makeOrderVersion = exports.makeOrderUpsertedV2 = exports.makeOrderUpserted = exports.makeOrderType = exports.makeOrderSummaryPriceDetail = exports.makeOrderSummaryLineItem = exports.makeOrderSummaryLevy = exports.makeOrderSummaryItem = exports.makeOrderSummaryImage = exports.makeOrderSummary = exports.makeOrderSubmissionIdentifierForm = exports.makeOrderSubmissionForm = exports.makeOrderStorage = exports.makeOrderStatus = void 0;
|
|
27
|
+
exports.makePaymentFailure = exports.makePaymentErrorCode = 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.makeOversizePieceSurchargeServiceFee = exports.makeOversizePieceSurchargeRatecardFee = exports.makeOutboundCartonFee = exports.makeOriginalPrices = exports.makeOrganizationVersion = exports.makeOrganizationUpsertedV2 = exports.makeOrganizationUpserted = exports.makeOrganizationType = exports.makeOrganizationTransactionUpserted = exports.makeOrganizationTransactionDeleted = exports.makeOrganizationTokenV2Reference = exports.makeOrganizationTokenV2 = exports.makeOrganizationTokenReference = void 0;
|
|
28
|
+
exports.makePaymentMethodSummaryAfterpay = exports.makePaymentMethodSummary = exports.makePaymentMethodStoredDetailsCardSubsequent = exports.makePaymentMethodStoredDetailsCardInitial = exports.makePaymentMethodStoredDetailsCard = exports.makePaymentMethodRuleContentKey = exports.makePaymentMethodRuleContent = exports.makePaymentMethodRule = exports.makePaymentMethodIssuer = exports.makePaymentMethodImages = exports.makePaymentMethodImage = exports.makePaymentMethodDataValidateApplepay = exports.makePaymentMethodDataSelectedPaymentOption = exports.makePaymentMethodDataPaymentOption = exports.makePaymentMethodDataOptionType = exports.makePaymentMethodDataOptionLogoSvg = exports.makePaymentMethodDataOptionLogo = exports.makePaymentMethodDataInitSofort = exports.makePaymentMethodDataInitPaypal = exports.makePaymentMethodDataInitKlarna = exports.makePaymentMethodDataInitIdeal = 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.makePaymentFailureCode = void 0;
|
|
29
|
+
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.makePaymentRequestBundleForm = exports.makePaymentRequestBundle = exports.makePaymentRequestBillingFees = exports.makePaymentRequestBillingCurrencyRate = exports.makePaymentRequestBilling = exports.makePaymentRequest = exports.makePaymentRefundStatus = exports.makePaymentRefundForm = exports.makePaymentRefund = exports.makePaymentReference = exports.makePaymentProcessorTransactionDetailsCard = 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.makePaymentMethodSummarySofort = exports.makePaymentMethodSummaryPaypal = exports.makePaymentMethodSummaryKlarna = exports.makePaymentMethodSummaryIdeal = exports.makePaymentMethodSummaryGooglepay = exports.makePaymentMethodSummaryCard = exports.makePaymentMethodSummaryBancontact = exports.makePaymentMethodSummaryApplepay = void 0;
|
|
30
|
+
exports.makePriceBookUpserted = exports.makePriceBookStatus = exports.makePriceBookReference = exports.makePriceBookItemUpserted = exports.makePriceBookItemSchedule = exports.makePriceBookItemQueryForm = exports.makePriceBookItemForm = exports.makePriceBookItemExportType = exports.makePriceBookItemExportOptions = exports.makePriceBookItemDeleted = exports.makePriceBookItem = exports.makePriceBookForm = exports.makePriceBookDeleted = exports.makePriceBook = exports.makePriceAccuracy = exports.makePrice = exports.makePreferredServiceSelectionStrategy = exports.makePostalType = exports.makePostPaymentRedirectUrls = exports.makePhysicalDeliverySpecialSerivce = exports.makePhysicalDeliveryPreferredService = exports.makePhysicalDelivery = exports.makePfsInventoryStatus = exports.makePfsInventoryCheckResponseItem = exports.makePfsInventoryCheckResponse = 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 = void 0;
|
|
31
|
+
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.makePublicKey = exports.makeProvinceType = exports.makeProvince = exports.makePromotions = exports.makePromotionTriggerType = exports.makePromotionTriggerForm = exports.makePromotionTrigger = exports.makePromotion = exports.makeProductRestrictionRule = exports.makeProductRestrictionResultUpserted = exports.makeProductRestrictionResultDeleted = exports.makeProductRestrictionResult = exports.makeProcessingEstimate = exports.makePricingVersion = exports.makePricingUpserted = exports.makePricingSettings = exports.makePricingLevySetting = exports.makePricingDeleted = 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 = void 0;
|
|
32
|
+
exports.makeRefundDeletedV2 = exports.makeRefundDeclineCode = exports.makeRefundCaptureUpsertedV2 = exports.makeRefundCaptureSummary = exports.makeRefundCapture = exports.makeRefund = exports.makeRedirectAuthorizationForm = exports.makeRedirectAuthorizationDetails = 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 = exports.makeRatecardLaneImportForm = exports.makeRatecardLaneForm = exports.makeRatecardLaneDeleted = exports.makeRatecardLane = exports.makeRatecardForm = 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 = void 0;
|
|
33
|
+
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.makeReturnDeletedV2 = exports.makeReturnDeleted = exports.makeReturn = exports.makeReservationOrderReference = exports.makeReservationItemReference = exports.makeReservationItemForm = exports.makeReservationItem = exports.makeReservationForm = exports.makeReservationError = exports.makeReservation = exports.makeRepeatWeekly = exports.makeRepeatSchedule = exports.makeRepeatMonthly = exports.makeRepeatHourly = exports.makeRepeatDaily = exports.makeRemoteAreaServiceFee = exports.makeRemoteAreaRatecardFee = 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.makeRefundError = void 0;
|
|
34
|
+
exports.makeSessionGeo = exports.makeSessionFormat = exports.makeSessionForm = exports.makeSessionExpirationConfig = exports.makeSessionExperimentVariantForm = exports.makeSessionExperimentVariant = exports.makeSessionExperimentForm = exports.makeSessionExperiment = exports.makeSessionCurrencyFormat = exports.makeSessionContextExperiment = exports.makeSessionAuthorizationForm = exports.makeSessionAuthorization = exports.makeSession = exports.makeServiceUnknown = exports.makeServiceSummary = exports.makeServiceReference = exports.makeServiceFee = exports.makeServiceDescription = exports.makeSelectIssuerOptionActionDetails = exports.makeSdkAdyenV3AuthenticationToken = exports.makeScheduledPickup = exports.makeScheduledExportForm = exports.makeScheduledExport = exports.makeScheduleExceptionStatus = exports.makeSchedule = exports.makeRuleUpserted = exports.makeRuleDeleted = exports.makeRouteAudit = exports.makeRoundingType = exports.makeRoundingMethod = exports.makeRounding = exports.makeRomanizationForm = exports.makeRomanization = exports.makeRole = exports.makeReviewStatus = exports.makeReversalVersion = exports.makeReversalUpserted = exports.makeReversalStatus = exports.makeReversalPutForm = exports.makeReversalForm = exports.makeReversalErrorCode = exports.makeReversalError = exports.makeReversalDeleted = exports.makeReversal = exports.makeReturnVersion = exports.makeReturnUpsertedV2 = exports.makeReturnUpserted = exports.makeReturnTrackingStatus = exports.makeReturnStatus = exports.makeReturnSourceFlow = void 0;
|
|
35
|
+
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.makeShippingLabelDocument = exports.makeShippingLabel = exports.makeShippingConfigurationVersion = exports.makeShippingConfigurationUpserted = exports.makeShippingConfigurationType = exports.makeShippingConfigurationSummary = 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 = void 0;
|
|
36
|
+
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 = 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 = void 0;
|
|
37
|
+
exports.makeSyncUnitOfTime = exports.makeSyncStreamType = exports.makeSyncStreamSettingsForm = exports.makeSyncStreamSettings = exports.makeSyncStreamReference = exports.makeSyncStreamForm = exports.makeSyncStream = exports.makeSyncRecordForm = exports.makeSyncRecordFailureReason = exports.makeSyncRecordFailureForm = exports.makeSyncRecordFailure = exports.makeSyncRecord = exports.makeSyncPendingRecord = exports.makeSyncDuration = exports.makeSurchargeSettingDisplay = exports.makeSurchargeSetting = exports.makeSurchargeResponsiblePartyDisplay = exports.makeSurchargeResponsibleParty = exports.makeSummaryShippingNotificationForm = exports.makeSummaryShippingLabelForm = exports.makeSuggestion = exports.makeSubcatalogVersion = exports.makeSubcatalogUpserted = 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.makeSnapshotUpserted = exports.makeSnapshotDeleted = void 0;
|
|
38
|
+
exports.makeTierSummary = exports.makeTierStrategy = exports.makeTierSettings = exports.makeTierRuleVersion = exports.makeTierRuleOutcomeForm = exports.makeTierRuleOutcome = exports.makeTierRuleForm = exports.makeTierRule = exports.makeTierReference = exports.makeTierForm = exports.makeTierEstimateType = 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.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 = void 0;
|
|
39
|
+
exports.makeTransitEstimate = exports.makeTransactionUpserted = exports.makeTransactionSource = exports.makeTransactionReference = exports.makeTransactionNetworkDetailsCard = exports.makeTransactionMetadataTrueupData = exports.makeTransactionMetadataTrueup = exports.makeTransactionMetadataShippingLabelCarrier = exports.makeTransactionMetadataShippingLabel = exports.makeTransactionMetadataOriginalTransaction = exports.makeTransactionMetadataManual = 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 = void 0;
|
|
40
|
+
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.makeVirtualCardForm = exports.makeVirtualCardCaptureVersion = exports.makeVirtualCardCaptureUpserted = exports.makeVirtualCardCaptureDeleted = exports.makeVirtualCardCapture = exports.makeVirtualCard = exports.makeValueThresholdExceededDetails = exports.makeValueAddedService = exports.makeUserVersion = exports.makeUserStatus = exports.makeUserReference = exports.makeUserPutForm = exports.makeUserForm = exports.makeUser = exports.makeUpload = exports.makeUpdateType = exports.makeUpdatePolicy = exports.makeUnitOfWeight = exports.makeUnitOfVolume = exports.makeUnitOfTime = exports.makeUnitOfMeasurement = exports.makeUnitOfLength = exports.makeUnharmonizedItemExportType = exports.makeUltimateBeneficiaryOwner = exports.makeTrueupSurchargeType = exports.makeTrueupSource = exports.makeTrueupLabelUnits = exports.makeTrueupLabelSurcharge = exports.makeTrueupLabelBase = exports.makeTransitWindow = void 0;
|
|
41
|
+
exports.makeZone = void 0;
|
|
41
42
|
var faker_1 = __importDefault(require("@faker-js/faker"));
|
|
42
43
|
var arrayOf = function (f) {
|
|
43
44
|
var length = 3;
|
|
@@ -2403,6 +2404,7 @@ var factories = {
|
|
|
2403
2404
|
'mastercard',
|
|
2404
2405
|
'visa',
|
|
2405
2406
|
]); },
|
|
2407
|
+
'io.flow.v0.enums.carrier_charge_reason': function () { return faker_1.default.helpers.arrayElement(['return_to_origin', 'rejection', 'other']); },
|
|
2406
2408
|
'io.flow.v0.enums.center_capability': function () { return faker_1.default.helpers.arrayElement(['international', 'domestic', 'crossdock', 'commercial_invoice']); },
|
|
2407
2409
|
'io.flow.v0.enums.change_type': function () { return faker_1.default.helpers.arrayElement(['insert', 'update', 'delete']); },
|
|
2408
2410
|
'io.flow.v0.enums.channel_currency_capability': function () { return faker_1.default.helpers.arrayElement(['payment_authorizations', 'settlement_currency']); },
|
|
@@ -3059,6 +3061,36 @@ var factories = {
|
|
|
3059
3061
|
'io.flow.v0.enums.price_detail_key': function () { return faker_1.default.helpers.arrayElement(['item_price', 'margins', 'vat', 'duty', 'rounding', 'adjustment']); },
|
|
3060
3062
|
'io.flow.v0.enums.price_facet_boundary': function () { return faker_1.default.helpers.arrayElement(['min', 'max']); },
|
|
3061
3063
|
'io.flow.v0.enums.pricing_levy_setting': function () { return faker_1.default.helpers.arrayElement(['included', 'displayed', 'ignored']); },
|
|
3064
|
+
'io.flow.v0.enums.product_restriction_rule': function () { return faker_1.default.helpers.arrayElement([
|
|
3065
|
+
'Adult Products',
|
|
3066
|
+
'Alcohol',
|
|
3067
|
+
'Anti Money Laundering',
|
|
3068
|
+
'Collagen',
|
|
3069
|
+
'Consumer Safety',
|
|
3070
|
+
'Cosmetics',
|
|
3071
|
+
'DG - Batteries',
|
|
3072
|
+
'DG - Hazmat',
|
|
3073
|
+
'Drugs',
|
|
3074
|
+
'Dual Use',
|
|
3075
|
+
'Fine Art',
|
|
3076
|
+
'Fish & Wildlife - CITES',
|
|
3077
|
+
'Fish & Wildlife - Plant',
|
|
3078
|
+
'Fish & Wildlife - USFWS',
|
|
3079
|
+
'Food',
|
|
3080
|
+
'Gambling',
|
|
3081
|
+
'Health',
|
|
3082
|
+
'Human hair',
|
|
3083
|
+
'Insufficient Details',
|
|
3084
|
+
'Intangible',
|
|
3085
|
+
'Jewelry',
|
|
3086
|
+
'Jewelry & Watches Over 5000',
|
|
3087
|
+
'Knives',
|
|
3088
|
+
'Liquids',
|
|
3089
|
+
'Oversized',
|
|
3090
|
+
'Supplements',
|
|
3091
|
+
'Weapon',
|
|
3092
|
+
'Wood',
|
|
3093
|
+
]); },
|
|
3062
3094
|
'io.flow.v0.enums.promotion_trigger_type': function () { return faker_1.default.helpers.arrayElement(['automatic', 'order_subtotal']); },
|
|
3063
3095
|
'io.flow.v0.enums.province_type': function () { return faker_1.default.helpers.arrayElement([
|
|
3064
3096
|
'area',
|
|
@@ -3122,6 +3154,7 @@ var factories = {
|
|
|
3122
3154
|
'unknown',
|
|
3123
3155
|
]); },
|
|
3124
3156
|
'io.flow.v0.enums.reversal_status': function () { return faker_1.default.helpers.arrayElement(['pending', 'processed', 'failed']); },
|
|
3157
|
+
'io.flow.v0.enums.review_status': function () { return faker_1.default.helpers.arrayElement(['high_risk_in_review', 'low_risk_in_review', 'reviewed']); },
|
|
3125
3158
|
'io.flow.v0.enums.role': function () { return faker_1.default.helpers.arrayElement(['admin', 'member']); },
|
|
3126
3159
|
'io.flow.v0.enums.rounding_method': function () { return faker_1.default.helpers.arrayElement(['up', 'down', 'nearest']); },
|
|
3127
3160
|
'io.flow.v0.enums.rounding_type': function () { return faker_1.default.helpers.arrayElement(['pattern', 'multiple']); },
|
|
@@ -3200,6 +3233,7 @@ var factories = {
|
|
|
3200
3233
|
'shipping_label',
|
|
3201
3234
|
'shipping_label_service',
|
|
3202
3235
|
'trueup',
|
|
3236
|
+
'carrier_charge',
|
|
3203
3237
|
'shipping_label_revenue_share',
|
|
3204
3238
|
'platform_fee',
|
|
3205
3239
|
'tax',
|
|
@@ -8722,6 +8756,8 @@ var factories = {
|
|
|
8722
8756
|
status: factories['io.flow.v0.models.payment_authorization_status'](),
|
|
8723
8757
|
amount: factories.decimal(),
|
|
8724
8758
|
currency: factories.string(),
|
|
8759
|
+
base_amount: factories.decimal(),
|
|
8760
|
+
base_currency: factories.string(),
|
|
8725
8761
|
}); },
|
|
8726
8762
|
'io.flow.v0.models.payment_authorization_status': function () { return ({
|
|
8727
8763
|
status: factories['io.flow.v0.enums.authorization_status'](),
|
|
@@ -8731,6 +8767,8 @@ var factories = {
|
|
|
8731
8767
|
id: factories.string(),
|
|
8732
8768
|
amount: factories.decimal(),
|
|
8733
8769
|
currency: factories.string(),
|
|
8770
|
+
base_amount: factories.decimal(),
|
|
8771
|
+
base_currency: factories.string(),
|
|
8734
8772
|
created_at: factories.date_time_iso_8601(),
|
|
8735
8773
|
updated_at: factories.date_time_iso_8601(),
|
|
8736
8774
|
status: factories['io.flow.v0.models.payment_capture_status'](),
|
|
@@ -9093,6 +9131,8 @@ var factories = {
|
|
|
9093
9131
|
id: factories.string(),
|
|
9094
9132
|
amount: factories.decimal(),
|
|
9095
9133
|
currency: factories.string(),
|
|
9134
|
+
base_amount: factories.decimal(),
|
|
9135
|
+
base_currency: factories.string(),
|
|
9096
9136
|
created_at: factories.date_time_iso_8601(),
|
|
9097
9137
|
updated_at: factories.date_time_iso_8601(),
|
|
9098
9138
|
status: factories['io.flow.v0.models.payment_refund_status'](),
|
|
@@ -9115,6 +9155,8 @@ var factories = {
|
|
|
9115
9155
|
next_action: factories['io.flow.v0.unions.action'](),
|
|
9116
9156
|
amount: factories.decimal(),
|
|
9117
9157
|
currency: factories.string(),
|
|
9158
|
+
base_amount: factories.decimal(),
|
|
9159
|
+
base_currency: factories.string(),
|
|
9118
9160
|
order_information: factories['io.flow.v0.unions.order_information'](),
|
|
9119
9161
|
device_details: factories['io.flow.v0.unions.device_details'](),
|
|
9120
9162
|
locale: factories.string(),
|
|
@@ -9128,6 +9170,11 @@ var factories = {
|
|
|
9128
9170
|
}); },
|
|
9129
9171
|
'io.flow.v0.models.payment_request_billing': function () { return ({
|
|
9130
9172
|
fees: factories['io.flow.v0.models.payment_request_billing_fees'](),
|
|
9173
|
+
currency_rate: factories['io.flow.v0.models.payment_request_billing_currency_rate'](),
|
|
9174
|
+
}); },
|
|
9175
|
+
'io.flow.v0.models.payment_request_billing_currency_rate': function () { return ({
|
|
9176
|
+
base_amount: factories.decimal(),
|
|
9177
|
+
base_currency: factories.string(),
|
|
9131
9178
|
}); },
|
|
9132
9179
|
'io.flow.v0.models.payment_request_billing_fees': function () { return ({
|
|
9133
9180
|
mor_fee_rate: factories.decimal(),
|
|
@@ -9184,6 +9231,8 @@ var factories = {
|
|
|
9184
9231
|
id: factories.string(),
|
|
9185
9232
|
amount: factories.decimal(),
|
|
9186
9233
|
currency: factories.string(),
|
|
9234
|
+
base_amount: factories.decimal(),
|
|
9235
|
+
base_currency: factories.string(),
|
|
9187
9236
|
created_at: factories.date_time_iso_8601(),
|
|
9188
9237
|
updated_at: factories.date_time_iso_8601(),
|
|
9189
9238
|
status: factories['io.flow.v0.models.payment_reversal_status'](),
|
|
@@ -9566,6 +9615,9 @@ var factories = {
|
|
|
9566
9615
|
product_id: factories.string(),
|
|
9567
9616
|
item_numbers: arrayOf(function () { return factories.string(); }),
|
|
9568
9617
|
prohibited_regions: arrayOf(function () { return factories.string(); }),
|
|
9618
|
+
review_status: factories['io.flow.v0.enums.review_status'](),
|
|
9619
|
+
rules: arrayOf(function () { return factories['io.flow.v0.enums.product_restriction_rule'](); }),
|
|
9620
|
+
updated_by_user_id: factories.string(),
|
|
9569
9621
|
}); },
|
|
9570
9622
|
'io.flow.v0.models.product_restriction_result_deleted': function () { return ({
|
|
9571
9623
|
discriminator: 'product_restriction_result_deleted',
|
|
@@ -11745,6 +11797,12 @@ var factories = {
|
|
|
11745
11797
|
cvv_result: factories['io.flow.v0.models.cvv_result'](),
|
|
11746
11798
|
network_details: factories['io.flow.v0.models.transaction_network_details_card'](),
|
|
11747
11799
|
}); },
|
|
11800
|
+
'io.flow.v0.models.transaction_metadata_carrier_charge': function () { return ({
|
|
11801
|
+
discriminator: 'carrier_charge',
|
|
11802
|
+
reason: factories['io.flow.v0.enums.carrier_charge_reason'](),
|
|
11803
|
+
carrier_id: factories.string(),
|
|
11804
|
+
carrier_tracking_number: factories.string(),
|
|
11805
|
+
}); },
|
|
11748
11806
|
'io.flow.v0.models.transaction_metadata_channel': function () { return ({
|
|
11749
11807
|
discriminator: 'channel',
|
|
11750
11808
|
method: factories.string(),
|
|
@@ -13042,6 +13100,7 @@ var factories = {
|
|
|
13042
13100
|
function () { return factories['io.flow.v0.models.transaction_metadata_shipping_label'](); },
|
|
13043
13101
|
function () { return factories['io.flow.v0.models.transaction_metadata_channel'](); },
|
|
13044
13102
|
function () { return factories['io.flow.v0.models.transaction_metadata_trueup'](); },
|
|
13103
|
+
function () { return factories['io.flow.v0.models.transaction_metadata_carrier_charge'](); },
|
|
13045
13104
|
function () { return factories['io.flow.v0.models.transaction_metadata_manual'](); },
|
|
13046
13105
|
]);
|
|
13047
13106
|
return f();
|
|
@@ -13447,6 +13506,8 @@ var makeCardVersion = function () { return factories['io.flow.v0.models.card_ver
|
|
|
13447
13506
|
exports.makeCardVersion = makeCardVersion;
|
|
13448
13507
|
var makeCarrier = function () { return factories['io.flow.v0.models.carrier'](); };
|
|
13449
13508
|
exports.makeCarrier = makeCarrier;
|
|
13509
|
+
var makeCarrierChargeReason = function () { return factories['io.flow.v0.enums.carrier_charge_reason'](); };
|
|
13510
|
+
exports.makeCarrierChargeReason = makeCarrierChargeReason;
|
|
13450
13511
|
var makeCarrierReference = function () { return factories['io.flow.v0.models.carrier_reference'](); };
|
|
13451
13512
|
exports.makeCarrierReference = makeCarrierReference;
|
|
13452
13513
|
var makeCarrierService = function () { return factories['io.flow.v0.models.carrier_service'](); };
|
|
@@ -15401,6 +15462,8 @@ var makePaymentRequest = function () { return factories['io.flow.v0.models.payme
|
|
|
15401
15462
|
exports.makePaymentRequest = makePaymentRequest;
|
|
15402
15463
|
var makePaymentRequestBilling = function () { return factories['io.flow.v0.models.payment_request_billing'](); };
|
|
15403
15464
|
exports.makePaymentRequestBilling = makePaymentRequestBilling;
|
|
15465
|
+
var makePaymentRequestBillingCurrencyRate = function () { return factories['io.flow.v0.models.payment_request_billing_currency_rate'](); };
|
|
15466
|
+
exports.makePaymentRequestBillingCurrencyRate = makePaymentRequestBillingCurrencyRate;
|
|
15404
15467
|
var makePaymentRequestBillingFees = function () { return factories['io.flow.v0.models.payment_request_billing_fees'](); };
|
|
15405
15468
|
exports.makePaymentRequestBillingFees = makePaymentRequestBillingFees;
|
|
15406
15469
|
var makePaymentRequestBundle = function () { return factories['io.flow.v0.models.payment_request_bundle'](); };
|
|
@@ -15595,6 +15658,8 @@ var makeProductRestrictionResultDeleted = function () { return factories['io.flo
|
|
|
15595
15658
|
exports.makeProductRestrictionResultDeleted = makeProductRestrictionResultDeleted;
|
|
15596
15659
|
var makeProductRestrictionResultUpserted = function () { return factories['io.flow.v0.models.product_restriction_result_upserted'](); };
|
|
15597
15660
|
exports.makeProductRestrictionResultUpserted = makeProductRestrictionResultUpserted;
|
|
15661
|
+
var makeProductRestrictionRule = function () { return factories['io.flow.v0.enums.product_restriction_rule'](); };
|
|
15662
|
+
exports.makeProductRestrictionRule = makeProductRestrictionRule;
|
|
15598
15663
|
var makePromotion = function () { return factories['io.flow.v0.unions.promotion'](); };
|
|
15599
15664
|
exports.makePromotion = makePromotion;
|
|
15600
15665
|
var makePromotionTrigger = function () { return factories['io.flow.v0.models.promotion_trigger'](); };
|
|
@@ -15871,6 +15936,8 @@ var makeReversalUpserted = function () { return factories['io.flow.v0.models.rev
|
|
|
15871
15936
|
exports.makeReversalUpserted = makeReversalUpserted;
|
|
15872
15937
|
var makeReversalVersion = function () { return factories['io.flow.v0.models.reversal_version'](); };
|
|
15873
15938
|
exports.makeReversalVersion = makeReversalVersion;
|
|
15939
|
+
var makeReviewStatus = function () { return factories['io.flow.v0.enums.review_status'](); };
|
|
15940
|
+
exports.makeReviewStatus = makeReviewStatus;
|
|
15874
15941
|
var makeRole = function () { return factories['io.flow.v0.enums.role'](); };
|
|
15875
15942
|
exports.makeRole = makeRole;
|
|
15876
15943
|
var makeRomanization = function () { return factories['io.flow.v0.models.romanization'](); };
|
|
@@ -16409,6 +16476,8 @@ var makeTransactionDetailsCard = function () { return factories['io.flow.v0.mode
|
|
|
16409
16476
|
exports.makeTransactionDetailsCard = makeTransactionDetailsCard;
|
|
16410
16477
|
var makeTransactionMetadata = function () { return factories['io.flow.v0.unions.transaction_metadata'](); };
|
|
16411
16478
|
exports.makeTransactionMetadata = makeTransactionMetadata;
|
|
16479
|
+
var makeTransactionMetadataCarrierCharge = function () { return factories['io.flow.v0.models.transaction_metadata_carrier_charge'](); };
|
|
16480
|
+
exports.makeTransactionMetadataCarrierCharge = makeTransactionMetadataCarrierCharge;
|
|
16412
16481
|
var makeTransactionMetadataChannel = function () { return factories['io.flow.v0.models.transaction_metadata_channel'](); };
|
|
16413
16482
|
exports.makeTransactionMetadataChannel = makeTransactionMetadataChannel;
|
|
16414
16483
|
var makeTransactionMetadataChannelCardMetadata = function () { return factories['io.flow.v0.models.transaction_metadata_channel_card_metadata'](); };
|
package/dist/esm/api.js
CHANGED
|
@@ -2363,6 +2363,7 @@ var factories = {
|
|
|
2363
2363
|
'mastercard',
|
|
2364
2364
|
'visa',
|
|
2365
2365
|
]); },
|
|
2366
|
+
'io.flow.v0.enums.carrier_charge_reason': function () { return faker.helpers.arrayElement(['return_to_origin', 'rejection', 'other']); },
|
|
2366
2367
|
'io.flow.v0.enums.center_capability': function () { return faker.helpers.arrayElement(['international', 'domestic', 'crossdock', 'commercial_invoice']); },
|
|
2367
2368
|
'io.flow.v0.enums.change_type': function () { return faker.helpers.arrayElement(['insert', 'update', 'delete']); },
|
|
2368
2369
|
'io.flow.v0.enums.channel_currency_capability': function () { return faker.helpers.arrayElement(['payment_authorizations', 'settlement_currency']); },
|
|
@@ -3019,6 +3020,36 @@ var factories = {
|
|
|
3019
3020
|
'io.flow.v0.enums.price_detail_key': function () { return faker.helpers.arrayElement(['item_price', 'margins', 'vat', 'duty', 'rounding', 'adjustment']); },
|
|
3020
3021
|
'io.flow.v0.enums.price_facet_boundary': function () { return faker.helpers.arrayElement(['min', 'max']); },
|
|
3021
3022
|
'io.flow.v0.enums.pricing_levy_setting': function () { return faker.helpers.arrayElement(['included', 'displayed', 'ignored']); },
|
|
3023
|
+
'io.flow.v0.enums.product_restriction_rule': function () { return faker.helpers.arrayElement([
|
|
3024
|
+
'Adult Products',
|
|
3025
|
+
'Alcohol',
|
|
3026
|
+
'Anti Money Laundering',
|
|
3027
|
+
'Collagen',
|
|
3028
|
+
'Consumer Safety',
|
|
3029
|
+
'Cosmetics',
|
|
3030
|
+
'DG - Batteries',
|
|
3031
|
+
'DG - Hazmat',
|
|
3032
|
+
'Drugs',
|
|
3033
|
+
'Dual Use',
|
|
3034
|
+
'Fine Art',
|
|
3035
|
+
'Fish & Wildlife - CITES',
|
|
3036
|
+
'Fish & Wildlife - Plant',
|
|
3037
|
+
'Fish & Wildlife - USFWS',
|
|
3038
|
+
'Food',
|
|
3039
|
+
'Gambling',
|
|
3040
|
+
'Health',
|
|
3041
|
+
'Human hair',
|
|
3042
|
+
'Insufficient Details',
|
|
3043
|
+
'Intangible',
|
|
3044
|
+
'Jewelry',
|
|
3045
|
+
'Jewelry & Watches Over 5000',
|
|
3046
|
+
'Knives',
|
|
3047
|
+
'Liquids',
|
|
3048
|
+
'Oversized',
|
|
3049
|
+
'Supplements',
|
|
3050
|
+
'Weapon',
|
|
3051
|
+
'Wood',
|
|
3052
|
+
]); },
|
|
3022
3053
|
'io.flow.v0.enums.promotion_trigger_type': function () { return faker.helpers.arrayElement(['automatic', 'order_subtotal']); },
|
|
3023
3054
|
'io.flow.v0.enums.province_type': function () { return faker.helpers.arrayElement([
|
|
3024
3055
|
'area',
|
|
@@ -3082,6 +3113,7 @@ var factories = {
|
|
|
3082
3113
|
'unknown',
|
|
3083
3114
|
]); },
|
|
3084
3115
|
'io.flow.v0.enums.reversal_status': function () { return faker.helpers.arrayElement(['pending', 'processed', 'failed']); },
|
|
3116
|
+
'io.flow.v0.enums.review_status': function () { return faker.helpers.arrayElement(['high_risk_in_review', 'low_risk_in_review', 'reviewed']); },
|
|
3085
3117
|
'io.flow.v0.enums.role': function () { return faker.helpers.arrayElement(['admin', 'member']); },
|
|
3086
3118
|
'io.flow.v0.enums.rounding_method': function () { return faker.helpers.arrayElement(['up', 'down', 'nearest']); },
|
|
3087
3119
|
'io.flow.v0.enums.rounding_type': function () { return faker.helpers.arrayElement(['pattern', 'multiple']); },
|
|
@@ -3160,6 +3192,7 @@ var factories = {
|
|
|
3160
3192
|
'shipping_label',
|
|
3161
3193
|
'shipping_label_service',
|
|
3162
3194
|
'trueup',
|
|
3195
|
+
'carrier_charge',
|
|
3163
3196
|
'shipping_label_revenue_share',
|
|
3164
3197
|
'platform_fee',
|
|
3165
3198
|
'tax',
|
|
@@ -8682,6 +8715,8 @@ var factories = {
|
|
|
8682
8715
|
status: factories['io.flow.v0.models.payment_authorization_status'](),
|
|
8683
8716
|
amount: factories.decimal(),
|
|
8684
8717
|
currency: factories.string(),
|
|
8718
|
+
base_amount: factories.decimal(),
|
|
8719
|
+
base_currency: factories.string(),
|
|
8685
8720
|
}); },
|
|
8686
8721
|
'io.flow.v0.models.payment_authorization_status': function () { return ({
|
|
8687
8722
|
status: factories['io.flow.v0.enums.authorization_status'](),
|
|
@@ -8691,6 +8726,8 @@ var factories = {
|
|
|
8691
8726
|
id: factories.string(),
|
|
8692
8727
|
amount: factories.decimal(),
|
|
8693
8728
|
currency: factories.string(),
|
|
8729
|
+
base_amount: factories.decimal(),
|
|
8730
|
+
base_currency: factories.string(),
|
|
8694
8731
|
created_at: factories.date_time_iso_8601(),
|
|
8695
8732
|
updated_at: factories.date_time_iso_8601(),
|
|
8696
8733
|
status: factories['io.flow.v0.models.payment_capture_status'](),
|
|
@@ -9053,6 +9090,8 @@ var factories = {
|
|
|
9053
9090
|
id: factories.string(),
|
|
9054
9091
|
amount: factories.decimal(),
|
|
9055
9092
|
currency: factories.string(),
|
|
9093
|
+
base_amount: factories.decimal(),
|
|
9094
|
+
base_currency: factories.string(),
|
|
9056
9095
|
created_at: factories.date_time_iso_8601(),
|
|
9057
9096
|
updated_at: factories.date_time_iso_8601(),
|
|
9058
9097
|
status: factories['io.flow.v0.models.payment_refund_status'](),
|
|
@@ -9075,6 +9114,8 @@ var factories = {
|
|
|
9075
9114
|
next_action: factories['io.flow.v0.unions.action'](),
|
|
9076
9115
|
amount: factories.decimal(),
|
|
9077
9116
|
currency: factories.string(),
|
|
9117
|
+
base_amount: factories.decimal(),
|
|
9118
|
+
base_currency: factories.string(),
|
|
9078
9119
|
order_information: factories['io.flow.v0.unions.order_information'](),
|
|
9079
9120
|
device_details: factories['io.flow.v0.unions.device_details'](),
|
|
9080
9121
|
locale: factories.string(),
|
|
@@ -9088,6 +9129,11 @@ var factories = {
|
|
|
9088
9129
|
}); },
|
|
9089
9130
|
'io.flow.v0.models.payment_request_billing': function () { return ({
|
|
9090
9131
|
fees: factories['io.flow.v0.models.payment_request_billing_fees'](),
|
|
9132
|
+
currency_rate: factories['io.flow.v0.models.payment_request_billing_currency_rate'](),
|
|
9133
|
+
}); },
|
|
9134
|
+
'io.flow.v0.models.payment_request_billing_currency_rate': function () { return ({
|
|
9135
|
+
base_amount: factories.decimal(),
|
|
9136
|
+
base_currency: factories.string(),
|
|
9091
9137
|
}); },
|
|
9092
9138
|
'io.flow.v0.models.payment_request_billing_fees': function () { return ({
|
|
9093
9139
|
mor_fee_rate: factories.decimal(),
|
|
@@ -9144,6 +9190,8 @@ var factories = {
|
|
|
9144
9190
|
id: factories.string(),
|
|
9145
9191
|
amount: factories.decimal(),
|
|
9146
9192
|
currency: factories.string(),
|
|
9193
|
+
base_amount: factories.decimal(),
|
|
9194
|
+
base_currency: factories.string(),
|
|
9147
9195
|
created_at: factories.date_time_iso_8601(),
|
|
9148
9196
|
updated_at: factories.date_time_iso_8601(),
|
|
9149
9197
|
status: factories['io.flow.v0.models.payment_reversal_status'](),
|
|
@@ -9526,6 +9574,9 @@ var factories = {
|
|
|
9526
9574
|
product_id: factories.string(),
|
|
9527
9575
|
item_numbers: arrayOf(function () { return factories.string(); }),
|
|
9528
9576
|
prohibited_regions: arrayOf(function () { return factories.string(); }),
|
|
9577
|
+
review_status: factories['io.flow.v0.enums.review_status'](),
|
|
9578
|
+
rules: arrayOf(function () { return factories['io.flow.v0.enums.product_restriction_rule'](); }),
|
|
9579
|
+
updated_by_user_id: factories.string(),
|
|
9529
9580
|
}); },
|
|
9530
9581
|
'io.flow.v0.models.product_restriction_result_deleted': function () { return ({
|
|
9531
9582
|
discriminator: 'product_restriction_result_deleted',
|
|
@@ -11705,6 +11756,12 @@ var factories = {
|
|
|
11705
11756
|
cvv_result: factories['io.flow.v0.models.cvv_result'](),
|
|
11706
11757
|
network_details: factories['io.flow.v0.models.transaction_network_details_card'](),
|
|
11707
11758
|
}); },
|
|
11759
|
+
'io.flow.v0.models.transaction_metadata_carrier_charge': function () { return ({
|
|
11760
|
+
discriminator: 'carrier_charge',
|
|
11761
|
+
reason: factories['io.flow.v0.enums.carrier_charge_reason'](),
|
|
11762
|
+
carrier_id: factories.string(),
|
|
11763
|
+
carrier_tracking_number: factories.string(),
|
|
11764
|
+
}); },
|
|
11708
11765
|
'io.flow.v0.models.transaction_metadata_channel': function () { return ({
|
|
11709
11766
|
discriminator: 'channel',
|
|
11710
11767
|
method: factories.string(),
|
|
@@ -13002,6 +13059,7 @@ var factories = {
|
|
|
13002
13059
|
function () { return factories['io.flow.v0.models.transaction_metadata_shipping_label'](); },
|
|
13003
13060
|
function () { return factories['io.flow.v0.models.transaction_metadata_channel'](); },
|
|
13004
13061
|
function () { return factories['io.flow.v0.models.transaction_metadata_trueup'](); },
|
|
13062
|
+
function () { return factories['io.flow.v0.models.transaction_metadata_carrier_charge'](); },
|
|
13005
13063
|
function () { return factories['io.flow.v0.models.transaction_metadata_manual'](); },
|
|
13006
13064
|
]);
|
|
13007
13065
|
return f();
|
|
@@ -13207,6 +13265,7 @@ export var makeCardType = function () { return factories['io.flow.v0.enums.card_
|
|
|
13207
13265
|
export var makeCardUpsertedV2 = function () { return factories['io.flow.v0.models.card_upserted_v2'](); };
|
|
13208
13266
|
export var makeCardVersion = function () { return factories['io.flow.v0.models.card_version'](); };
|
|
13209
13267
|
export var makeCarrier = function () { return factories['io.flow.v0.models.carrier'](); };
|
|
13268
|
+
export var makeCarrierChargeReason = function () { return factories['io.flow.v0.enums.carrier_charge_reason'](); };
|
|
13210
13269
|
export var makeCarrierReference = function () { return factories['io.flow.v0.models.carrier_reference'](); };
|
|
13211
13270
|
export var makeCarrierService = function () { return factories['io.flow.v0.models.carrier_service'](); };
|
|
13212
13271
|
export var makeCartReference = function () { return factories['io.flow.v0.models.cart_reference'](); };
|
|
@@ -14184,6 +14243,7 @@ export var makePaymentRefundForm = function () { return factories['io.flow.v0.mo
|
|
|
14184
14243
|
export var makePaymentRefundStatus = function () { return factories['io.flow.v0.models.payment_refund_status'](); };
|
|
14185
14244
|
export var makePaymentRequest = function () { return factories['io.flow.v0.models.payment_request'](); };
|
|
14186
14245
|
export var makePaymentRequestBilling = function () { return factories['io.flow.v0.models.payment_request_billing'](); };
|
|
14246
|
+
export var makePaymentRequestBillingCurrencyRate = function () { return factories['io.flow.v0.models.payment_request_billing_currency_rate'](); };
|
|
14187
14247
|
export var makePaymentRequestBillingFees = function () { return factories['io.flow.v0.models.payment_request_billing_fees'](); };
|
|
14188
14248
|
export var makePaymentRequestBundle = function () { return factories['io.flow.v0.models.payment_request_bundle'](); };
|
|
14189
14249
|
export var makePaymentRequestBundleForm = function () { return factories['io.flow.v0.models.payment_request_bundle_form'](); };
|
|
@@ -14281,6 +14341,7 @@ export var makeProcessingEstimate = function () { return factories['io.flow.v0.m
|
|
|
14281
14341
|
export var makeProductRestrictionResult = function () { return factories['io.flow.v0.models.product_restriction_result'](); };
|
|
14282
14342
|
export var makeProductRestrictionResultDeleted = function () { return factories['io.flow.v0.models.product_restriction_result_deleted'](); };
|
|
14283
14343
|
export var makeProductRestrictionResultUpserted = function () { return factories['io.flow.v0.models.product_restriction_result_upserted'](); };
|
|
14344
|
+
export var makeProductRestrictionRule = function () { return factories['io.flow.v0.enums.product_restriction_rule'](); };
|
|
14284
14345
|
export var makePromotion = function () { return factories['io.flow.v0.unions.promotion'](); };
|
|
14285
14346
|
export var makePromotionTrigger = function () { return factories['io.flow.v0.models.promotion_trigger'](); };
|
|
14286
14347
|
export var makePromotionTriggerForm = function () { return factories['io.flow.v0.models.promotion_trigger_form'](); };
|
|
@@ -14419,6 +14480,7 @@ export var makeReversalPutForm = function () { return factories['io.flow.v0.mode
|
|
|
14419
14480
|
export var makeReversalStatus = function () { return factories['io.flow.v0.enums.reversal_status'](); };
|
|
14420
14481
|
export var makeReversalUpserted = function () { return factories['io.flow.v0.models.reversal_upserted'](); };
|
|
14421
14482
|
export var makeReversalVersion = function () { return factories['io.flow.v0.models.reversal_version'](); };
|
|
14483
|
+
export var makeReviewStatus = function () { return factories['io.flow.v0.enums.review_status'](); };
|
|
14422
14484
|
export var makeRole = function () { return factories['io.flow.v0.enums.role'](); };
|
|
14423
14485
|
export var makeRomanization = function () { return factories['io.flow.v0.models.romanization'](); };
|
|
14424
14486
|
export var makeRomanizationForm = function () { return factories['io.flow.v0.models.romanization_form'](); };
|
|
@@ -14688,6 +14750,7 @@ export var makeTransaction = function () { return factories['io.flow.v0.models.t
|
|
|
14688
14750
|
export var makeTransactionDetails = function () { return factories['io.flow.v0.unions.transaction_details'](); };
|
|
14689
14751
|
export var makeTransactionDetailsCard = function () { return factories['io.flow.v0.models.transaction_details_card'](); };
|
|
14690
14752
|
export var makeTransactionMetadata = function () { return factories['io.flow.v0.unions.transaction_metadata'](); };
|
|
14753
|
+
export var makeTransactionMetadataCarrierCharge = function () { return factories['io.flow.v0.models.transaction_metadata_carrier_charge'](); };
|
|
14691
14754
|
export var makeTransactionMetadataChannel = function () { return factories['io.flow.v0.models.transaction_metadata_channel'](); };
|
|
14692
14755
|
export var makeTransactionMetadataChannelCardMetadata = function () { return factories['io.flow.v0.models.transaction_metadata_channel_card_metadata'](); };
|
|
14693
14756
|
export var makeTransactionMetadataChannelCardMetadataIssuerSummary = function () { return factories['io.flow.v0.models.transaction_metadata_channel_card_metadata_issuer_summary'](); };
|
package/dist/types/api.d.ts
CHANGED
|
@@ -199,6 +199,7 @@ export declare const makeCardType: () => io.flow.v0.enums.CardType;
|
|
|
199
199
|
export declare const makeCardUpsertedV2: () => io.flow.v0.models.CardUpsertedV2;
|
|
200
200
|
export declare const makeCardVersion: () => io.flow.v0.models.CardVersion;
|
|
201
201
|
export declare const makeCarrier: () => io.flow.v0.models.Carrier;
|
|
202
|
+
export declare const makeCarrierChargeReason: () => io.flow.v0.enums.CarrierChargeReason;
|
|
202
203
|
export declare const makeCarrierReference: () => io.flow.v0.models.CarrierReference;
|
|
203
204
|
export declare const makeCarrierService: () => io.flow.v0.models.CarrierService;
|
|
204
205
|
export declare const makeCartReference: () => io.flow.v0.models.CartReference;
|
|
@@ -1176,6 +1177,7 @@ export declare const makePaymentRefundForm: () => io.flow.v0.models.PaymentRefun
|
|
|
1176
1177
|
export declare const makePaymentRefundStatus: () => io.flow.v0.models.PaymentRefundStatus;
|
|
1177
1178
|
export declare const makePaymentRequest: () => io.flow.v0.models.PaymentRequest;
|
|
1178
1179
|
export declare const makePaymentRequestBilling: () => io.flow.v0.models.PaymentRequestBilling;
|
|
1180
|
+
export declare const makePaymentRequestBillingCurrencyRate: () => io.flow.v0.models.PaymentRequestBillingCurrencyRate;
|
|
1179
1181
|
export declare const makePaymentRequestBillingFees: () => io.flow.v0.models.PaymentRequestBillingFees;
|
|
1180
1182
|
export declare const makePaymentRequestBundle: () => io.flow.v0.models.PaymentRequestBundle;
|
|
1181
1183
|
export declare const makePaymentRequestBundleForm: () => io.flow.v0.models.PaymentRequestBundleForm;
|
|
@@ -1273,6 +1275,7 @@ export declare const makeProcessingEstimate: () => io.flow.v0.models.ProcessingE
|
|
|
1273
1275
|
export declare const makeProductRestrictionResult: () => io.flow.v0.models.ProductRestrictionResult;
|
|
1274
1276
|
export declare const makeProductRestrictionResultDeleted: () => io.flow.v0.models.ProductRestrictionResultDeleted;
|
|
1275
1277
|
export declare const makeProductRestrictionResultUpserted: () => io.flow.v0.models.ProductRestrictionResultUpserted;
|
|
1278
|
+
export declare const makeProductRestrictionRule: () => io.flow.v0.enums.ProductRestrictionRule;
|
|
1276
1279
|
export declare const makePromotion: () => io.flow.v0.unions.Promotion;
|
|
1277
1280
|
export declare const makePromotionTrigger: () => io.flow.v0.models.PromotionTrigger;
|
|
1278
1281
|
export declare const makePromotionTriggerForm: () => io.flow.v0.models.PromotionTriggerForm;
|
|
@@ -1411,6 +1414,7 @@ export declare const makeReversalPutForm: () => io.flow.v0.models.ReversalPutFor
|
|
|
1411
1414
|
export declare const makeReversalStatus: () => io.flow.v0.enums.ReversalStatus;
|
|
1412
1415
|
export declare const makeReversalUpserted: () => io.flow.v0.models.ReversalUpserted;
|
|
1413
1416
|
export declare const makeReversalVersion: () => io.flow.v0.models.ReversalVersion;
|
|
1417
|
+
export declare const makeReviewStatus: () => io.flow.v0.enums.ReviewStatus;
|
|
1414
1418
|
export declare const makeRole: () => io.flow.v0.enums.Role;
|
|
1415
1419
|
export declare const makeRomanization: () => io.flow.v0.models.Romanization;
|
|
1416
1420
|
export declare const makeRomanizationForm: () => io.flow.v0.models.RomanizationForm;
|
|
@@ -1680,6 +1684,7 @@ export declare const makeTransaction: () => io.flow.v0.models.Transaction;
|
|
|
1680
1684
|
export declare const makeTransactionDetails: () => io.flow.v0.models.TransactionDetailsCard;
|
|
1681
1685
|
export declare const makeTransactionDetailsCard: () => io.flow.v0.models.TransactionDetailsCard;
|
|
1682
1686
|
export declare const makeTransactionMetadata: () => io.flow.v0.unions.TransactionMetadata;
|
|
1687
|
+
export declare const makeTransactionMetadataCarrierCharge: () => io.flow.v0.models.TransactionMetadataCarrierCharge;
|
|
1683
1688
|
export declare const makeTransactionMetadataChannel: () => io.flow.v0.models.TransactionMetadataChannel;
|
|
1684
1689
|
export declare const makeTransactionMetadataChannelCardMetadata: () => io.flow.v0.models.TransactionMetadataChannelCardMetadata;
|
|
1685
1690
|
export declare const makeTransactionMetadataChannelCardMetadataIssuerSummary: () => io.flow.v0.models.TransactionMetadataChannelCardMetadataIssuerSummary;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-factories",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.73",
|
|
4
4
|
"description": "Flow API mock data factories",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"flow",
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"@faker-js/faker": "^6.2.0",
|
|
37
37
|
"@flowio/api-types": "*"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "69a80797baeb34690859818e5db7ef87aa6082a5"
|
|
40
40
|
}
|
package/src/api.ts
CHANGED
|
@@ -2723,6 +2723,7 @@ const factories = {
|
|
|
2723
2723
|
'visa',
|
|
2724
2724
|
]),
|
|
2725
2725
|
|
|
2726
|
+
'io.flow.v0.enums.carrier_charge_reason': (): io.flow.v0.enums.CarrierChargeReason => faker.helpers.arrayElement(['return_to_origin', 'rejection', 'other']),
|
|
2726
2727
|
'io.flow.v0.enums.center_capability': (): io.flow.v0.enums.CenterCapability => faker.helpers.arrayElement(['international', 'domestic', 'crossdock', 'commercial_invoice']),
|
|
2727
2728
|
'io.flow.v0.enums.change_type': (): io.flow.v0.enums.ChangeType => faker.helpers.arrayElement(['insert', 'update', 'delete']),
|
|
2728
2729
|
'io.flow.v0.enums.channel_currency_capability': (): io.flow.v0.enums.ChannelCurrencyCapability => faker.helpers.arrayElement(['payment_authorizations', 'settlement_currency']),
|
|
@@ -3428,6 +3429,38 @@ const factories = {
|
|
|
3428
3429
|
'io.flow.v0.enums.price_detail_key': (): io.flow.v0.enums.PriceDetailKey => faker.helpers.arrayElement(['item_price', 'margins', 'vat', 'duty', 'rounding', 'adjustment']),
|
|
3429
3430
|
'io.flow.v0.enums.price_facet_boundary': (): io.flow.v0.enums.PriceFacetBoundary => faker.helpers.arrayElement(['min', 'max']),
|
|
3430
3431
|
'io.flow.v0.enums.pricing_levy_setting': (): io.flow.v0.enums.PricingLevySetting => faker.helpers.arrayElement(['included', 'displayed', 'ignored']),
|
|
3432
|
+
|
|
3433
|
+
'io.flow.v0.enums.product_restriction_rule': (): io.flow.v0.enums.ProductRestrictionRule => faker.helpers.arrayElement([
|
|
3434
|
+
'Adult Products',
|
|
3435
|
+
'Alcohol',
|
|
3436
|
+
'Anti Money Laundering',
|
|
3437
|
+
'Collagen',
|
|
3438
|
+
'Consumer Safety',
|
|
3439
|
+
'Cosmetics',
|
|
3440
|
+
'DG - Batteries',
|
|
3441
|
+
'DG - Hazmat',
|
|
3442
|
+
'Drugs',
|
|
3443
|
+
'Dual Use',
|
|
3444
|
+
'Fine Art',
|
|
3445
|
+
'Fish & Wildlife - CITES',
|
|
3446
|
+
'Fish & Wildlife - Plant',
|
|
3447
|
+
'Fish & Wildlife - USFWS',
|
|
3448
|
+
'Food',
|
|
3449
|
+
'Gambling',
|
|
3450
|
+
'Health',
|
|
3451
|
+
'Human hair',
|
|
3452
|
+
'Insufficient Details',
|
|
3453
|
+
'Intangible',
|
|
3454
|
+
'Jewelry',
|
|
3455
|
+
'Jewelry & Watches Over 5000',
|
|
3456
|
+
'Knives',
|
|
3457
|
+
'Liquids',
|
|
3458
|
+
'Oversized',
|
|
3459
|
+
'Supplements',
|
|
3460
|
+
'Weapon',
|
|
3461
|
+
'Wood',
|
|
3462
|
+
]),
|
|
3463
|
+
|
|
3431
3464
|
'io.flow.v0.enums.promotion_trigger_type': (): io.flow.v0.enums.PromotionTriggerType => faker.helpers.arrayElement(['automatic', 'order_subtotal']),
|
|
3432
3465
|
|
|
3433
3466
|
'io.flow.v0.enums.province_type': (): io.flow.v0.enums.ProvinceType => faker.helpers.arrayElement([
|
|
@@ -3496,6 +3529,7 @@ const factories = {
|
|
|
3496
3529
|
]),
|
|
3497
3530
|
|
|
3498
3531
|
'io.flow.v0.enums.reversal_status': (): io.flow.v0.enums.ReversalStatus => faker.helpers.arrayElement(['pending', 'processed', 'failed']),
|
|
3532
|
+
'io.flow.v0.enums.review_status': (): io.flow.v0.enums.ReviewStatus => faker.helpers.arrayElement(['high_risk_in_review', 'low_risk_in_review', 'reviewed']),
|
|
3499
3533
|
'io.flow.v0.enums.role': (): io.flow.v0.enums.Role => faker.helpers.arrayElement(['admin', 'member']),
|
|
3500
3534
|
'io.flow.v0.enums.rounding_method': (): io.flow.v0.enums.RoundingMethod => faker.helpers.arrayElement(['up', 'down', 'nearest']),
|
|
3501
3535
|
'io.flow.v0.enums.rounding_type': (): io.flow.v0.enums.RoundingType => faker.helpers.arrayElement(['pattern', 'multiple']),
|
|
@@ -3579,6 +3613,7 @@ const factories = {
|
|
|
3579
3613
|
'shipping_label',
|
|
3580
3614
|
'shipping_label_service',
|
|
3581
3615
|
'trueup',
|
|
3616
|
+
'carrier_charge',
|
|
3582
3617
|
'shipping_label_revenue_share',
|
|
3583
3618
|
'platform_fee',
|
|
3584
3619
|
'tax',
|
|
@@ -10005,6 +10040,8 @@ const factories = {
|
|
|
10005
10040
|
status: factories['io.flow.v0.models.payment_authorization_status'](),
|
|
10006
10041
|
amount: factories.decimal(),
|
|
10007
10042
|
currency: factories.string(),
|
|
10043
|
+
base_amount: factories.decimal(),
|
|
10044
|
+
base_currency: factories.string(),
|
|
10008
10045
|
}),
|
|
10009
10046
|
|
|
10010
10047
|
'io.flow.v0.models.payment_authorization_status': (): io.flow.v0.models.PaymentAuthorizationStatus => ({
|
|
@@ -10016,6 +10053,8 @@ const factories = {
|
|
|
10016
10053
|
id: factories.string(),
|
|
10017
10054
|
amount: factories.decimal(),
|
|
10018
10055
|
currency: factories.string(),
|
|
10056
|
+
base_amount: factories.decimal(),
|
|
10057
|
+
base_currency: factories.string(),
|
|
10019
10058
|
created_at: factories.date_time_iso_8601(),
|
|
10020
10059
|
updated_at: factories.date_time_iso_8601(),
|
|
10021
10060
|
status: factories['io.flow.v0.models.payment_capture_status'](),
|
|
@@ -10448,6 +10487,8 @@ const factories = {
|
|
|
10448
10487
|
id: factories.string(),
|
|
10449
10488
|
amount: factories.decimal(),
|
|
10450
10489
|
currency: factories.string(),
|
|
10490
|
+
base_amount: factories.decimal(),
|
|
10491
|
+
base_currency: factories.string(),
|
|
10451
10492
|
created_at: factories.date_time_iso_8601(),
|
|
10452
10493
|
updated_at: factories.date_time_iso_8601(),
|
|
10453
10494
|
status: factories['io.flow.v0.models.payment_refund_status'](),
|
|
@@ -10473,6 +10514,8 @@ const factories = {
|
|
|
10473
10514
|
next_action: factories['io.flow.v0.unions.action'](),
|
|
10474
10515
|
amount: factories.decimal(),
|
|
10475
10516
|
currency: factories.string(),
|
|
10517
|
+
base_amount: factories.decimal(),
|
|
10518
|
+
base_currency: factories.string(),
|
|
10476
10519
|
order_information: factories['io.flow.v0.unions.order_information'](),
|
|
10477
10520
|
device_details: factories['io.flow.v0.unions.device_details'](),
|
|
10478
10521
|
locale: factories.string(),
|
|
@@ -10487,6 +10530,12 @@ const factories = {
|
|
|
10487
10530
|
|
|
10488
10531
|
'io.flow.v0.models.payment_request_billing': (): io.flow.v0.models.PaymentRequestBilling => ({
|
|
10489
10532
|
fees: factories['io.flow.v0.models.payment_request_billing_fees'](),
|
|
10533
|
+
currency_rate: factories['io.flow.v0.models.payment_request_billing_currency_rate'](),
|
|
10534
|
+
}),
|
|
10535
|
+
|
|
10536
|
+
'io.flow.v0.models.payment_request_billing_currency_rate': (): io.flow.v0.models.PaymentRequestBillingCurrencyRate => ({
|
|
10537
|
+
base_amount: factories.decimal(),
|
|
10538
|
+
base_currency: factories.string(),
|
|
10490
10539
|
}),
|
|
10491
10540
|
|
|
10492
10541
|
'io.flow.v0.models.payment_request_billing_fees': (): io.flow.v0.models.PaymentRequestBillingFees => ({
|
|
@@ -10553,6 +10602,8 @@ const factories = {
|
|
|
10553
10602
|
id: factories.string(),
|
|
10554
10603
|
amount: factories.decimal(),
|
|
10555
10604
|
currency: factories.string(),
|
|
10605
|
+
base_amount: factories.decimal(),
|
|
10606
|
+
base_currency: factories.string(),
|
|
10556
10607
|
created_at: factories.date_time_iso_8601(),
|
|
10557
10608
|
updated_at: factories.date_time_iso_8601(),
|
|
10558
10609
|
status: factories['io.flow.v0.models.payment_reversal_status'](),
|
|
@@ -10997,6 +11048,9 @@ const factories = {
|
|
|
10997
11048
|
product_id: factories.string(),
|
|
10998
11049
|
item_numbers: arrayOf(() => factories.string()),
|
|
10999
11050
|
prohibited_regions: arrayOf(() => factories.string()),
|
|
11051
|
+
review_status: factories['io.flow.v0.enums.review_status'](),
|
|
11052
|
+
rules: arrayOf(() => factories['io.flow.v0.enums.product_restriction_rule']()),
|
|
11053
|
+
updated_by_user_id: factories.string(),
|
|
11000
11054
|
}),
|
|
11001
11055
|
|
|
11002
11056
|
'io.flow.v0.models.product_restriction_result_deleted': (): io.flow.v0.models.ProductRestrictionResultDeleted => ({
|
|
@@ -13517,6 +13571,13 @@ const factories = {
|
|
|
13517
13571
|
network_details: factories['io.flow.v0.models.transaction_network_details_card'](),
|
|
13518
13572
|
}),
|
|
13519
13573
|
|
|
13574
|
+
'io.flow.v0.models.transaction_metadata_carrier_charge': (): io.flow.v0.models.TransactionMetadataCarrierCharge => ({
|
|
13575
|
+
discriminator: 'carrier_charge',
|
|
13576
|
+
reason: factories['io.flow.v0.enums.carrier_charge_reason'](),
|
|
13577
|
+
carrier_id: factories.string(),
|
|
13578
|
+
carrier_tracking_number: factories.string(),
|
|
13579
|
+
}),
|
|
13580
|
+
|
|
13520
13581
|
'io.flow.v0.models.transaction_metadata_channel': (): io.flow.v0.models.TransactionMetadataChannel => ({
|
|
13521
13582
|
discriminator: 'channel',
|
|
13522
13583
|
method: factories.string(),
|
|
@@ -15076,6 +15137,7 @@ const factories = {
|
|
|
15076
15137
|
() => factories['io.flow.v0.models.transaction_metadata_shipping_label'](),
|
|
15077
15138
|
() => factories['io.flow.v0.models.transaction_metadata_channel'](),
|
|
15078
15139
|
() => factories['io.flow.v0.models.transaction_metadata_trueup'](),
|
|
15140
|
+
() => factories['io.flow.v0.models.transaction_metadata_carrier_charge'](),
|
|
15079
15141
|
() => factories['io.flow.v0.models.transaction_metadata_manual'](),
|
|
15080
15142
|
]);
|
|
15081
15143
|
|
|
@@ -15283,6 +15345,7 @@ export const makeCardType = () => factories['io.flow.v0.enums.card_type']();
|
|
|
15283
15345
|
export const makeCardUpsertedV2 = () => factories['io.flow.v0.models.card_upserted_v2']();
|
|
15284
15346
|
export const makeCardVersion = () => factories['io.flow.v0.models.card_version']();
|
|
15285
15347
|
export const makeCarrier = () => factories['io.flow.v0.models.carrier']();
|
|
15348
|
+
export const makeCarrierChargeReason = () => factories['io.flow.v0.enums.carrier_charge_reason']();
|
|
15286
15349
|
export const makeCarrierReference = () => factories['io.flow.v0.models.carrier_reference']();
|
|
15287
15350
|
export const makeCarrierService = () => factories['io.flow.v0.models.carrier_service']();
|
|
15288
15351
|
export const makeCartReference = () => factories['io.flow.v0.models.cart_reference']();
|
|
@@ -16260,6 +16323,7 @@ export const makePaymentRefundForm = () => factories['io.flow.v0.models.payment_
|
|
|
16260
16323
|
export const makePaymentRefundStatus = () => factories['io.flow.v0.models.payment_refund_status']();
|
|
16261
16324
|
export const makePaymentRequest = () => factories['io.flow.v0.models.payment_request']();
|
|
16262
16325
|
export const makePaymentRequestBilling = () => factories['io.flow.v0.models.payment_request_billing']();
|
|
16326
|
+
export const makePaymentRequestBillingCurrencyRate = () => factories['io.flow.v0.models.payment_request_billing_currency_rate']();
|
|
16263
16327
|
export const makePaymentRequestBillingFees = () => factories['io.flow.v0.models.payment_request_billing_fees']();
|
|
16264
16328
|
export const makePaymentRequestBundle = () => factories['io.flow.v0.models.payment_request_bundle']();
|
|
16265
16329
|
export const makePaymentRequestBundleForm = () => factories['io.flow.v0.models.payment_request_bundle_form']();
|
|
@@ -16357,6 +16421,7 @@ export const makeProcessingEstimate = () => factories['io.flow.v0.models.process
|
|
|
16357
16421
|
export const makeProductRestrictionResult = () => factories['io.flow.v0.models.product_restriction_result']();
|
|
16358
16422
|
export const makeProductRestrictionResultDeleted = () => factories['io.flow.v0.models.product_restriction_result_deleted']();
|
|
16359
16423
|
export const makeProductRestrictionResultUpserted = () => factories['io.flow.v0.models.product_restriction_result_upserted']();
|
|
16424
|
+
export const makeProductRestrictionRule = () => factories['io.flow.v0.enums.product_restriction_rule']();
|
|
16360
16425
|
export const makePromotion = () => factories['io.flow.v0.unions.promotion']();
|
|
16361
16426
|
export const makePromotionTrigger = () => factories['io.flow.v0.models.promotion_trigger']();
|
|
16362
16427
|
export const makePromotionTriggerForm = () => factories['io.flow.v0.models.promotion_trigger_form']();
|
|
@@ -16495,6 +16560,7 @@ export const makeReversalPutForm = () => factories['io.flow.v0.models.reversal_p
|
|
|
16495
16560
|
export const makeReversalStatus = () => factories['io.flow.v0.enums.reversal_status']();
|
|
16496
16561
|
export const makeReversalUpserted = () => factories['io.flow.v0.models.reversal_upserted']();
|
|
16497
16562
|
export const makeReversalVersion = () => factories['io.flow.v0.models.reversal_version']();
|
|
16563
|
+
export const makeReviewStatus = () => factories['io.flow.v0.enums.review_status']();
|
|
16498
16564
|
export const makeRole = () => factories['io.flow.v0.enums.role']();
|
|
16499
16565
|
export const makeRomanization = () => factories['io.flow.v0.models.romanization']();
|
|
16500
16566
|
export const makeRomanizationForm = () => factories['io.flow.v0.models.romanization_form']();
|
|
@@ -16764,6 +16830,7 @@ export const makeTransaction = () => factories['io.flow.v0.models.transaction'](
|
|
|
16764
16830
|
export const makeTransactionDetails = () => factories['io.flow.v0.unions.transaction_details']();
|
|
16765
16831
|
export const makeTransactionDetailsCard = () => factories['io.flow.v0.models.transaction_details_card']();
|
|
16766
16832
|
export const makeTransactionMetadata = () => factories['io.flow.v0.unions.transaction_metadata']();
|
|
16833
|
+
export const makeTransactionMetadataCarrierCharge = () => factories['io.flow.v0.models.transaction_metadata_carrier_charge']();
|
|
16767
16834
|
export const makeTransactionMetadataChannel = () => factories['io.flow.v0.models.transaction_metadata_channel']();
|
|
16768
16835
|
export const makeTransactionMetadataChannelCardMetadata = () => factories['io.flow.v0.models.transaction_metadata_channel_card_metadata']();
|
|
16769
16836
|
export const makeTransactionMetadataChannelCardMetadataIssuerSummary = () => factories['io.flow.v0.models.transaction_metadata_channel_card_metadata_issuer_summary']();
|