@flowio/api-factories 0.0.33 → 0.0.35
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 +72 -31
- package/dist/esm/api.js +35 -1
- package/dist/types/api.d.ts +7 -0
- package/package.json +2 -2
- package/src/api.ts +40 -1
package/dist/cjs/api.js
CHANGED
|
@@ -5,36 +5,36 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.makeAllocationDetail = exports.makeAllocationDeletedV2 = exports.makeAllocationComponent = exports.makeAllocation = exports.makeAggregate = exports.makeAdyenV3FingerprintToken = exports.makeAdyenV3ChallengeToken = exports.makeAdyenNativeData = exports.makeAdyenNativeActionDetails = exports.makeAdyenIdentifyShopperData = exports.makeAdyenChallengeShopperData = exports.makeAdjustmentReasonKey = exports.makeAdjustmentReason = exports.makeAddressVerification = exports.makeAddressSuggestion = exports.makeAddressFieldValidation = exports.makeAddressFieldName = exports.makeAddressConfigurationProvinceTranslationLocale = exports.makeAddressConfigurationProvinceTranslation = exports.makeAddressConfigurationProvince = exports.makeAddressConfigurationFormat = exports.makeAddressConfigurationFieldPlacement = exports.makeAddressConfiguration = exports.makeAddress = exports.makeActionWait = exports.makeActionUseSdkStripeV3 = exports.makeActionUseSdkPaypal = exports.makeActionUseSdkKlarnaV1 = exports.makeActionUseSdkGooglepay = exports.makeActionUseSdkApplepayJsCreateSession = exports.makeActionUseSdkApplepayJsCompleteValidation = exports.makeActionUseSdkAdyenV4 = exports.makeActionUseSdkAdyenV3 = exports.makeActionSelectPaymentOption = exports.makeActionRedirect = exports.makeActionExecuteScript = exports.makeActionDisplayInlineWindow = exports.makeAction = exports.makeAchAuthorizationForm = exports.makeAccountTransactionsExportType = exports.makeAccountReference = exports.makeAccountOrdersExportType = exports.makeAbandonedOrderSettings = exports.makeAbandonedOrderSettingStatus = exports.makeAbandonedOrderPromotionStatus = exports.makeAbandonedOrderPromotionForm = exports.makeAbandonedOrderPromotionDiscountDetails = exports.makeAbandonedOrderPromotionDetails = exports.makeAbandonedOrderPromotion = exports.makeAbandonedOrderEmailSettings = void 0;
|
|
7
7
|
exports.makeAuthorizationResultActionWait = exports.makeAuthorizationResultActionType = exports.makeAuthorizationResultActionPost = exports.makeAuthorizationResultActionNative = exports.makeAuthorizationResultActionGet = 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.makeAttachmentType = exports.makeAttachment = exports.makeAtCost = 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 = void 0;
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
12
|
-
exports.
|
|
13
|
-
exports.
|
|
14
|
-
exports.
|
|
15
|
-
exports.
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
exports.
|
|
22
|
-
exports.
|
|
23
|
-
exports.
|
|
24
|
-
exports.
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
34
|
-
exports.
|
|
35
|
-
exports.
|
|
36
|
-
exports.
|
|
37
|
-
exports.makeZone = exports.makeZeroLevyReasonCode = exports.makeZeroAmountIndicator = exports.makeWithholdingDeductionType = exports.makeWithholdingDeduction = exports.makeWebhookStatus = exports.makeWebhookSettings = exports.makeWebhookResponse = exports.makeWebhookRequestReference = exports.makeWebhookRequest = exports.makeWebhookReference = exports.makeWebhookForm = exports.makeWebhookDelivery = exports.makeWebhook = exports.makeVisibility = exports.makeVirtualCardVersion = exports.makeVirtualCardRefundVersion = exports.makeVirtualCardRefundUpserted = exports.makeVirtualCardRefundDeleted = exports.makeVirtualCardRefund = exports.makeVirtualCardReference = exports.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.makeUnitOfTime = exports.makeUnitOfMeasurement = exports.makeUnharmonizedItemExportType = exports.makeUltimateBeneficiaryOwner = void 0;
|
|
8
|
+
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.makeBridgeManifestForm = exports.makeBridgeManifest = exports.makeBillingChannelStatementReference = exports.makeBillingChannelPaymentRequestReference = exports.makeBillingChannelOrganizationSummary = exports.makeBillingChannelOrderSummary = exports.makeBillingAddress = exports.makeBehaviorAudit = exports.makeBankAccountInfoUsa = exports.makeBankAccountInfo = 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 = void 0;
|
|
9
|
+
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.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.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 = void 0;
|
|
10
|
+
exports.makeCheckoutOptinResponsesUpserted = exports.makeCheckoutOptinResponsesDeleted = exports.makeCheckoutOptinResponses = exports.makeCheckoutItemContentAttribute = exports.makeCheckoutItemContent = exports.makeCheckoutAttributeForm = exports.makeCheckoutAttribute = exports.makeChannelViesRegistrationForm = exports.makeChannelViesRegistration = exports.makeChannelUpserted = exports.makeChannelTransactionUpserted = exports.makeChannelTransactionDeleted = exports.makeChannelTransaction = exports.makeChannelTokenReference = exports.makeChannelTokenForm = exports.makeChannelToken = exports.makeChannelStatementUpserted = exports.makeChannelStatementDeleted = exports.makeChannelStatement = exports.makeChannelReference = exports.makeChannelRate = exports.makeChannelOrganizationUpserted = exports.makeChannelOrganizationPutForm = exports.makeChannelOrganizationForm = exports.makeChannelOrganizationDeleted = exports.makeChannelOrganizationAuthorizationForm = exports.makeChannelOrganizationAuthorization = exports.makeChannelOrganization = exports.makeChannelDeleted = exports.makeChannelCurrencyUpserted = exports.makeChannelCurrencyDeleted = exports.makeChannelCurrencyCapability = exports.makeChannelCurrency = 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.makeCatalogStatistics = void 0;
|
|
11
|
+
exports.makeCreditMemo = exports.makeCountryStatusUpserted = exports.makeCountryStatusForm = exports.makeCountryStatusDeleted = exports.makeCountryStatus = exports.makeCountryShippingPricing = exports.makeCountryPickerSource = exports.makeCountryPickerForm = exports.makeCountryPicker = 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 = exports.makeConsumerInvoiceLevy = exports.makeConsumerInvoiceFormByOrder = exports.makeConsumerInvoiceForm = exports.makeConsumerInvoiceDocumentType = exports.makeConsumerInvoiceDocument = exports.makeConsumerInvoiceDeleted = exports.makeConsumerInvoiceCustomerType = exports.makeConsumerInvoiceCenterReference = exports.makeConsumerInvoice = exports.makeConfirmationDetails = exports.makeCommercialInvoiceFee = exports.makeCleartext = exports.makeCheckoutUrlsForm = exports.makeCheckoutUrls = exports.makeCheckoutTokenReferenceForm = exports.makeCheckoutTokenOrderForm = exports.makeCheckoutTokenForm = exports.makeCheckoutToken = exports.makeCheckoutReference = void 0;
|
|
12
|
+
exports.makeDdpRatecardFee = exports.makeDayOfWeek = exports.makeDatetimeWithTimezone = exports.makeDatetimeRange = 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 = 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 = void 0;
|
|
13
|
+
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.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 = exports.makeDeliveryOptionReference = exports.makeDeliveryOptionForm = exports.makeDeliveryOptionCostDetailSource = exports.makeDeliveryOptionCostDetailComponentKey = exports.makeDeliveryOptionCostDetail = exports.makeDeliveryOptionCostComponent = exports.makeDeliveryOption = exports.makeDeliveryItem = exports.makeDelivery = exports.makeDeliveredDutySetting = exports.makeDeliveredDutyDisplayType = exports.makeDeliveredDuty = void 0;
|
|
14
|
+
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.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 = exports.makeDutiesTaxesPaidSurchargeServiceFee = exports.makeDutiesTaxesPaidSurchargeRatecardFee = exports.makeDuration = exports.makeDocument = exports.makeDiscountsForm = exports.makeDiscountTarget = exports.makeDiscountRuleSubsidyTarget = exports.makeDiscountRuleSubsidyEntitlement = exports.makeDiscountRuleStatus = exports.makeDiscountRuleSettingsForm = exports.makeDiscountRuleSettings = void 0;
|
|
15
|
+
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 = exports.makeExpandableSubcatalog = exports.makeExpandablePaymentProcessor = exports.makeExpandableOrganization = exports.makeExpandableOrder = exports.makeExpandableExperience = exports.makeExpandableCenter = exports.makeExpandableCard = exports.makeExclusionRulesExportType = exports.makeExclusionRuleVersion = exports.makeExclusionRuleStatistic = void 0;
|
|
16
|
+
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 = exports.makeExpiration = exports.makeExperimentVariant = exports.makeExperienceVersion = exports.makeExperienceUpsertedV2 = exports.makeExperienceUpserted = exports.makeExperienceSummary = exports.makeExperienceStatusForm = exports.makeExperienceStatus = exports.makeExperienceSettings = exports.makeExperienceReference = void 0;
|
|
17
|
+
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.makeGatewayAuthenticationDataForm = exports.makeGatewayAuthenticationData = exports.makeFullyHarmonizedItemUpserted = 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.makeFuelSurchargeAmountByWeightServiceFee = exports.makeFtpUser = exports.makeFtpServer = exports.makeFtpOrganizationSettingsForm = exports.makeFtpOrganizationSettings = exports.makeFtpFolderForm = exports.makeFtpFolder = exports.makeFtpFileSource = exports.makeFtpFileForm = exports.makeFtpFile = void 0;
|
|
18
|
+
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.makeIndirectTax = exports.makeIncoterm = exports.makeIncludedLevyKey = exports.makeIncludedLevies = exports.makeInboundCartonFee = 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 = exports.makeHopV2 = exports.makeHopEstimateV2 = exports.makeHopEstimate = exports.makeHop = exports.makeHolidayCalendar = void 0;
|
|
19
|
+
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 = exports.makeInventoryRuleForm = exports.makeInventoryRule = exports.makeInventoryRequestItem = void 0;
|
|
20
|
+
exports.makeLogisticsSettings = exports.makeLocationErrorCode = exports.makeLocationError = exports.makeLocalizedTranslation = exports.makeLocalizedTotal = exports.makeLocalizedPrice = exports.makeLocalizedLineItemDiscount = exports.makeLocalizedLineItem = exports.makeLocalizedItemVat = exports.makeLocalizedItemPricesExportType = exports.makeLocalizedItemPrice = exports.makeLocalizedItemDuty = exports.makeLocalizedAdjustment = exports.makeLocaleNumbers = exports.makeLocale = exports.makeLocalSession = exports.makeLocalPriceDetails = exports.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.makeLabelOrderSummary = exports.makeLabelFormatUpserted = exports.makeLabelFormatDeleted = exports.makeLabelDeletedV2 = exports.makeKubeHealthcheck = exports.makeKlaviyoOrderPrices = exports.makeKlaviyoOrderContent = exports.makeKlaviyoLineItem = exports.makeKlarnaSdkAuthorizationResultActionDetails = void 0;
|
|
21
|
+
exports.makeNoInventoryReservationErrorItem = exports.makeNoInventoryReservationError = exports.makeNameForm = exports.makeName = exports.makeMonthlyAverageVolume = exports.makeMonthlyAverage = exports.makeMoneyWithOptionalBase = exports.makeMoneyWithBase = exports.makeMoney = exports.makeMethod = exports.makeMerchantOnboardingAddress = exports.makeMerchantOfRecordPaymentForm = exports.makeMerchantOfRecordEntityRegistration = exports.makeMerchantOfRecordEntity = exports.makeMerchantOfRecordAuthorizationForm = exports.makeMerchantOfRecord = exports.makeMerchantInfo = exports.makeMerchantGiftCardReversalForm = exports.makeMerchantGiftCardReversal = exports.makeMerchantGiftCardRedemptionForm = exports.makeMerchantGiftCardRedemption = exports.makeMerchantGiftCardErrorCode = exports.makeMerchantGiftCardError = exports.makeMerchantGiftCardBalanceForm = exports.makeMerchantGiftCardBalance = exports.makeMerchantApplicationsSummary = exports.makeMerchantApplicationUpserted = exports.makeMerchantApplicationPutForm = exports.makeMerchantApplicationForm = exports.makeMerchantApplicationDeleted = exports.makeMerchantApplication = 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 = void 0;
|
|
22
|
+
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 = 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.makeOnboardingOrganizationReference = exports.makeOnboardingMerchantTime = exports.makeOnboardingMerchantScheduledPickup = exports.makeOnboardingMerchantPickupWindow = exports.makeOnboardingApplicationStatus = exports.makeNumberRange = exports.makeNotificationUpsertedV2 = exports.makeNotificationDeletedV2 = exports.makeNoPayout = void 0;
|
|
23
|
+
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 = 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 = void 0;
|
|
24
|
+
exports.makeOrganizationDefaultConfigurationsDeleted = exports.makeOrganizationDefaultConfigurations = 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 = 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 = void 0;
|
|
25
|
+
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.makePackaging = exports.makeOversizedShipmentRatecardFee = exports.makeOutboundCartonFee = exports.makeOriginalPrices = exports.makeOrganizationVersion = exports.makeOrganizationUpsertedV2 = exports.makeOrganizationUpserted = exports.makeOrganizationType = exports.makeOrganizationTokenV2Reference = exports.makeOrganizationTokenV2 = exports.makeOrganizationTokenReference = exports.makeOrganizationTokenFormV2 = exports.makeOrganizationTokenForm = exports.makeOrganizationToken = exports.makeOrganizationSummary = exports.makeOrganizationStatus = exports.makeOrganizationSessionAuthorization = exports.makeOrganizationSession = exports.makeOrganizationReference = exports.makeOrganizationRatesPublished = exports.makeOrganizationRatesData = exports.makeOrganizationPutForm = exports.makeOrganizationPaymentMethodTag = exports.makeOrganizationForm = exports.makeOrganizationDeletedV2 = exports.makeOrganizationDeleted = exports.makeOrganizationDefaults = exports.makeOrganizationDefaultConfigurationsUpserted = exports.makeOrganizationDefaultConfigurationsForm = void 0;
|
|
26
|
+
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.makePaymentMethodDataAuthorizeApplepay = exports.makePaymentMethodData = exports.makePaymentMethodCardToken = exports.makePaymentMethodCardPciDetails = exports.makePaymentMethodCardNumberCleartext = exports.makePaymentMethodCardNumberCipher = exports.makePaymentMethodCard = exports.makePaymentMethodCapability = exports.makePaymentMethodBrand = exports.makePaymentMethod = exports.makePaymentInformation = exports.makePaymentForm = exports.makePaymentFailureCode = exports.makePaymentFailure = exports.makePaymentErrorCode = exports.makePaymentError = exports.makePaymentDuty = exports.makePaymentDiscount = exports.makePaymentDeleted = exports.makePaymentCryptopay = exports.makePaymentContactShipping = exports.makePaymentContactBilling = exports.makePaymentCaptureStatus = exports.makePaymentCaptureOptionManual = void 0;
|
|
27
|
+
exports.makePayoutStatus = exports.makePayout = exports.makePaymentVersion = exports.makePaymentUpserted = exports.makePaymentType = exports.makePaymentTax = exports.makePaymentStatus = exports.makePaymentSourceForm = exports.makePaymentSourceConfirmationActionType = exports.makePaymentSourceConfirmationAction = exports.makePaymentSource = exports.makePaymentReversalStatus = exports.makePaymentReversalForm = exports.makePaymentReversal = exports.makePaymentRequestUpserted = exports.makePaymentRequestReference = exports.makePaymentRequestForm = exports.makePaymentRequestBundleForm = exports.makePaymentRequestBundle = exports.makePaymentRequestBillingFees = exports.makePaymentRequestBilling = exports.makePaymentRequest = exports.makePaymentRefundStatus = exports.makePaymentRefundForm = exports.makePaymentRefund = exports.makePaymentReference = 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 = exports.makePaymentMethodSummaryAfterpay = exports.makePaymentMethodSummary = exports.makePaymentMethodRuleContentKey = exports.makePaymentMethodRuleContent = void 0;
|
|
28
|
+
exports.makePriceWithBaseAndDetails = exports.makePriceWithBase = exports.makePriceSourceProvided = exports.makePriceSourcePriceBookReference = exports.makePriceSourcePriceBook = exports.makePriceSourceCatalog = exports.makePriceSource = exports.makePriceForm = exports.makePriceFacetBoundary = exports.makePriceEquation = exports.makePriceDetails = exports.makePriceDetailKey = exports.makePriceDetailComponentKey = exports.makePriceDetailComponent = exports.makePriceDetail = exports.makePriceCheck = exports.makePriceBookUpserted = exports.makePriceBookStatus = exports.makePriceBookReference = exports.makePriceBookItemUpserted = exports.makePriceBookItemSchedule = exports.makePriceBookItemQueryForm = exports.makePriceBookItemForm = exports.makePriceBookItemExportType = exports.makePriceBookItemExportOptions = exports.makePriceBookItemDeleted = exports.makePriceBookItem = exports.makePriceBookForm = exports.makePriceBookDeleted = exports.makePriceBook = exports.makePriceAccuracy = exports.makePrice = exports.makePostalType = exports.makePostPaymentRedirectUrls = exports.makePhysicalDeliverySpecialSerivce = exports.makePhysicalDelivery = exports.makePfsInventoryStatus = exports.makePfsInventoryCheckResponseItem = exports.makePfsInventoryCheckResponse = exports.makePermittedRoute = exports.makePermittedHttpMethod = exports.makePermissionCheck = exports.makePermissionAudit = exports.makePercentMargin = exports.makePeakSurchargeServiceFee = exports.makePeakSurchargeRatecardFee = exports.makePeakSurchargeByWeightServiceFee = exports.makePaypalAuthorizationForm = exports.makePaypalAuthorizationDetails = exports.makePayoutStatusCode = void 0;
|
|
29
|
+
exports.makeRatecardEstimateV1 = exports.makeRatecardEstimateSummaryForm = exports.makeRatecardEstimateForm = exports.makeRatecardEstimate = exports.makeRatecardDeleted = exports.makeRatecardCarrierSummary = exports.makeRatecard = exports.makeRateVersion = exports.makeRateUpsertedV3 = exports.makeRateUpserted = exports.makeRateForm = exports.makeRateDeletedV3 = exports.makeRateDeleted = exports.makeRate = exports.makeQuoteVersion = exports.makeQuoteSummary = exports.makeQuoteLineItemForm = exports.makeQuoteForm = exports.makeQuoteErrorCode = exports.makeQuoteError = exports.makeQuote = exports.makeQueryFilterUnstructuredForm = exports.makeQueryFilterUnstructured = exports.makeQueryFilterStructuredForm = exports.makeQueryFilterStructured = exports.makeQueryFilterForm = exports.makeQueryFilter = exports.makeQueryBuilderQueryForm = exports.makeQueryBuilderForm = exports.makeQueryBuilderFilterForm = exports.makeQueryBuilder = exports.makeQuery = exports.makePublicKey = exports.makeProvinceType = exports.makeProvince = exports.makePromotions = exports.makePromotionTriggerType = exports.makePromotionTriggerForm = exports.makePromotionTrigger = exports.makePromotion = exports.makeProductRestrictionResultUpserted = exports.makeProductRestrictionResultDeleted = exports.makeProductRestrictionResult = exports.makeProcessingEstimate = exports.makePricingVersion = exports.makePricingUpserted = exports.makePricingSettings = exports.makePricingLevySetting = exports.makePricingDeleted = exports.makePricing = void 0;
|
|
30
|
+
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 = 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 = void 0;
|
|
31
|
+
exports.makeRomanization = exports.makeRole = 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 = 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 = void 0;
|
|
32
|
+
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.makeSettlement = exports.makeSessionVisitor = exports.makeSessionVisit = exports.makeSessionReference = exports.makeSessionPutForm = 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.makeServiceSummary = exports.makeServiceReference = exports.makeServiceFee = 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 = void 0;
|
|
33
|
+
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.makeShippingNotificationVersion = exports.makeShippingNotificationForm = exports.makeShippingNotification = exports.makeShippingLaneVersion = exports.makeShippingLaneUpserted = exports.makeShippingLaneSummary = exports.makeShippingLaneForm = exports.makeShippingLaneDeleted = exports.makeShippingLaneDefaultTierForm = exports.makeShippingLaneDefaultTier = exports.makeShippingLane = exports.makeShippingLabelVersion = exports.makeShippingLabelSummary = exports.makeShippingLabelRatecardSummary = exports.makeShippingLabelPackage = exports.makeShippingLabelLaneSummary = exports.makeShippingLabelHopSummary = exports.makeShippingLabelForm = exports.makeShippingLabelDocument = exports.makeShippingLabel = exports.makeShippingConfigurationVersion = exports.makeShippingConfigurationUpserted = exports.makeShippingConfigurationType = exports.makeShippingConfigurationSummary = exports.makeShippingConfigurationReference = exports.makeShippingConfigurationItemShippingPricingUpserted = void 0;
|
|
34
|
+
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.makeStatementUpserted = exports.makeStatementDeleted = exports.makeStatement = exports.makeSortDirection = exports.makeSolidusVariantExportType = exports.makeSolidusProductExportType = exports.makeSnapshotUpserted = exports.makeSnapshotDeleted = 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 = void 0;
|
|
35
|
+
exports.makeThreedsIdentifyActionDetails = exports.makeThreedsIdentifyAction = exports.makeThreedsChallengeActionDetails = exports.makeThreedsChallengeAction = exports.makeThreeDSecureCode = exports.makeThreeDSecure = exports.makeThirdPartyLogisticsPartner = 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 = 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 = void 0;
|
|
36
|
+
exports.makeTradeAgreementName = exports.makeTradeAgreementDuty = exports.makeTradeAgreementCertifier = exports.makeTradeAgreement = exports.makeTrackingVersion = exports.makeTrackingSummary = exports.makeTrackingStatus = exports.makeTrackingNumberType = exports.makeTrackingLabelVersion = exports.makeTrackingLabelSummary = exports.makeTrackingLabelForm = exports.makeTrackingLabelEventUpserted = exports.makeTrackingLabel = exports.makeTrackingForm = exports.makeTrackingEventVersion = exports.makeTrackingEventSummary = exports.makeTrackingEventForm = exports.makeTrackingEvent = exports.makeTracking = exports.makeTokenValidationForm = exports.makeTokenValidation = exports.makeTokenType = exports.makeTokenReference = exports.makeTokenRbacAuthenticationForm = exports.makeTokenPartnerReference = exports.makeTokenAuthenticationForm = exports.makeToken = exports.makeTimezone = exports.makeTierVersion = exports.makeTierUpsertedV2 = exports.makeTierSummary = exports.makeTierStrategy = exports.makeTierSettings = exports.makeTierRuleVersion = exports.makeTierRuleOutcomeForm = exports.makeTierRuleOutcome = exports.makeTierRuleForm = exports.makeTierRule = exports.makeTierReference = exports.makeTierForm = exports.makeTierEstimateType = exports.makeTierEstimate = exports.makeTierDisplayForm = exports.makeTierDisplay = exports.makeTierDeletedV2 = exports.makeTierAvailability = exports.makeTier = exports.makeThreedsTwoMethod = exports.makeThreedsTwoChallengeViewport = exports.makeThreedsTwoChallengeRequest = void 0;
|
|
37
|
+
exports.makeZone = exports.makeZeroLevyReasonCode = exports.makeZeroAmountIndicator = exports.makeWithholdingDeductionType = exports.makeWithholdingDeduction = exports.makeWebhookStatus = exports.makeWebhookSettings = exports.makeWebhookResponse = exports.makeWebhookRequestReference = exports.makeWebhookRequest = exports.makeWebhookReference = exports.makeWebhookForm = exports.makeWebhookDelivery = exports.makeWebhook = exports.makeVisibility = exports.makeVirtualCardVersion = exports.makeVirtualCardRefundVersion = exports.makeVirtualCardRefundUpserted = exports.makeVirtualCardRefundDeleted = exports.makeVirtualCardRefund = exports.makeVirtualCardReference = exports.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.makeUnitOfTime = exports.makeUnitOfMeasurement = exports.makeUnharmonizedItemExportType = exports.makeUltimateBeneficiaryOwner = exports.makeTransitWindow = exports.makeTransitEstimate = exports.makeTransactionUpserted = exports.makeTransactionSource = exports.makeTransactionDeleted = exports.makeTransaction = exports.makeTradeAgreementStatus = void 0;
|
|
38
38
|
var faker_1 = __importDefault(require("@faker-js/faker"));
|
|
39
39
|
var arrayOf = function (f) {
|
|
40
40
|
var length = 3;
|
|
@@ -2010,7 +2010,7 @@ var factories = {
|
|
|
2010
2010
|
'io.flow.v0.enums.cancel_reason': function () { return faker_1.default.random.arrayElement(['out_of_stock', 'consumer_requested', 'flow_cancel']); },
|
|
2011
2011
|
'io.flow.v0.enums.capability': function () { return faker_1.default.random.arrayElement(['crossdock']); },
|
|
2012
2012
|
'io.flow.v0.enums.capture_decline_code': function () { return faker_1.default.random.arrayElement(['expired', 'insufficient_funds', 'unknown']); },
|
|
2013
|
-
'io.flow.v0.enums.capture_status': function () { return faker_1.default.random.arrayElement(['pending', 'succeeded', 'failed', 'canceled']); },
|
|
2013
|
+
'io.flow.v0.enums.capture_status': function () { return faker_1.default.random.arrayElement(['initiated', 'pending', 'succeeded', 'failed', 'canceled']); },
|
|
2014
2014
|
'io.flow.v0.enums.card_error_code': function () { return faker_1.default.random.arrayElement([
|
|
2015
2015
|
'invalid_address',
|
|
2016
2016
|
'invalid_currency',
|
|
@@ -2041,6 +2041,7 @@ var factories = {
|
|
|
2041
2041
|
'io.flow.v0.enums.consumer_invoice_customer_type': function () { return faker_1.default.random.arrayElement(['business_eu_verified', 'business_non_verified', 'individual']); },
|
|
2042
2042
|
'io.flow.v0.enums.consumer_invoice_document_type': function () { return faker_1.default.random.arrayElement(['pdf']); },
|
|
2043
2043
|
'io.flow.v0.enums.consumer_invoice_status': function () { return faker_1.default.random.arrayElement(['pending', 'available', 'invalid']); },
|
|
2044
|
+
'io.flow.v0.enums.cost_estimate_source': function () { return faker_1.default.random.arrayElement(['flow', 'channel']); },
|
|
2044
2045
|
'io.flow.v0.enums.country_picker_source': function () { return faker_1.default.random.arrayElement(['experience', 'destination']); },
|
|
2045
2046
|
'io.flow.v0.enums.credit_payment_error_code': function () { return faker_1.default.random.arrayElement([
|
|
2046
2047
|
'generic_error',
|
|
@@ -2524,6 +2525,7 @@ var factories = {
|
|
|
2524
2525
|
'io.flow.v0.enums.order_type': function () { return faker_1.default.random.arrayElement(['standard', 'replacement']); },
|
|
2525
2526
|
'io.flow.v0.enums.organization_payment_method_tag': function () { return faker_1.default.random.arrayElement(['deny']); },
|
|
2526
2527
|
'io.flow.v0.enums.organization_status': function () { return faker_1.default.random.arrayElement(['active', 'inactive', 'deactivated', 'provisioned']); },
|
|
2528
|
+
'io.flow.v0.enums.organization_type': function () { return faker_1.default.random.arrayElement(['standalone', 'channel']); },
|
|
2527
2529
|
'io.flow.v0.enums.payment_action_type': function () { return faker_1.default.random.arrayElement([
|
|
2528
2530
|
'redirect',
|
|
2529
2531
|
'redirect_get',
|
|
@@ -3451,6 +3453,15 @@ var factories = {
|
|
|
3451
3453
|
organization: factories.string(),
|
|
3452
3454
|
b2b_invoice: factories['io.flow.v0.models.b2b_invoice'](),
|
|
3453
3455
|
}); },
|
|
3456
|
+
'io.flow.v0.models.bank_account_form': function () { return ({
|
|
3457
|
+
last4: factories.string(),
|
|
3458
|
+
info: factories['io.flow.v0.unions.bank_account_info'](),
|
|
3459
|
+
}); },
|
|
3460
|
+
'io.flow.v0.models.bank_account_info_usa': function () { return ({
|
|
3461
|
+
discriminator: 'usa',
|
|
3462
|
+
routing_number: factories.string(),
|
|
3463
|
+
account_number: factories.string(),
|
|
3464
|
+
}); },
|
|
3454
3465
|
'io.flow.v0.models.behavior_audit': function () { return ({
|
|
3455
3466
|
behavior: factories['io.flow.v0.enums.flow_behavior'](),
|
|
3456
3467
|
authentication_techniques: arrayOf(function () { return factories['io.flow.v0.enums.authentication_technique'](); }),
|
|
@@ -3466,9 +3477,13 @@ var factories = {
|
|
|
3466
3477
|
company: factories.string(),
|
|
3467
3478
|
}); },
|
|
3468
3479
|
'io.flow.v0.models.billing_channel_order_summary': function () { return ({
|
|
3480
|
+
organization: factories['io.flow.v0.models.billing_channel_organization_summary'](),
|
|
3469
3481
|
number: factories.string(),
|
|
3470
3482
|
identifiers: objectOf(function () { return factories.string(); }),
|
|
3471
3483
|
}); },
|
|
3484
|
+
'io.flow.v0.models.billing_channel_organization_summary': function () { return ({
|
|
3485
|
+
id: factories.string(),
|
|
3486
|
+
}); },
|
|
3472
3487
|
'io.flow.v0.models.billing_channel_payment_request_reference': function () { return ({
|
|
3473
3488
|
id: factories.string(),
|
|
3474
3489
|
reference: factories.string(),
|
|
@@ -7541,6 +7556,7 @@ var factories = {
|
|
|
7541
7556
|
defaults: factories['io.flow.v0.models.organization_defaults'](),
|
|
7542
7557
|
created_at: factories.date_time_iso_8601(),
|
|
7543
7558
|
status: factories['io.flow.v0.enums.organization_status'](),
|
|
7559
|
+
type: factories['io.flow.v0.enums.organization_type'](),
|
|
7544
7560
|
}); },
|
|
7545
7561
|
'io.flow.v0.models.organization_authorization': function () { return ({
|
|
7546
7562
|
role: factories['io.flow.v0.enums.role'](),
|
|
@@ -7550,6 +7566,10 @@ var factories = {
|
|
|
7550
7566
|
organization: factories.string(),
|
|
7551
7567
|
environment: factories['io.flow.v0.enums.environment'](),
|
|
7552
7568
|
}); },
|
|
7569
|
+
'io.flow.v0.models.organization_bank_account': function () { return ({
|
|
7570
|
+
id: factories.string(),
|
|
7571
|
+
last4: factories.string(),
|
|
7572
|
+
}); },
|
|
7553
7573
|
'io.flow.v0.models.organization_configuration_reference': function () { return ({
|
|
7554
7574
|
id: factories.string(),
|
|
7555
7575
|
}); },
|
|
@@ -7600,6 +7620,7 @@ var factories = {
|
|
|
7600
7620
|
parent_id: factories.string(),
|
|
7601
7621
|
defaults: factories['io.flow.v0.models.organization_defaults'](),
|
|
7602
7622
|
status: factories['io.flow.v0.enums.organization_status'](),
|
|
7623
|
+
type: factories['io.flow.v0.enums.organization_type'](),
|
|
7603
7624
|
}); },
|
|
7604
7625
|
'io.flow.v0.models.organization_put_form': function () { return ({
|
|
7605
7626
|
name: factories.string(),
|
|
@@ -9574,9 +9595,11 @@ var factories = {
|
|
|
9574
9595
|
'io.flow.v0.models.shipping_label': function () { return ({
|
|
9575
9596
|
id: factories.string(),
|
|
9576
9597
|
hop: factories['io.flow.v0.models.shipping_label_hop_summary'](),
|
|
9598
|
+
reference_id: factories.string(),
|
|
9577
9599
|
attributes: objectOf(function () { return factories.string(); }),
|
|
9578
9600
|
carrier_tracking_number: factories.string(),
|
|
9579
9601
|
carrier_tracking_number_url: factories.string(),
|
|
9602
|
+
cost_estimate_source: factories['io.flow.v0.enums.cost_estimate_source'](),
|
|
9580
9603
|
cost: factories['io.flow.v0.models.price'](),
|
|
9581
9604
|
destination: factories['io.flow.v0.models.shipping_address'](),
|
|
9582
9605
|
flow_tracking_number: factories.string(),
|
|
@@ -10957,6 +10980,10 @@ var factories = {
|
|
|
10957
10980
|
]);
|
|
10958
10981
|
return f();
|
|
10959
10982
|
},
|
|
10983
|
+
'io.flow.v0.unions.bank_account_info': function () {
|
|
10984
|
+
var f = faker_1.default.random.arrayElement([function () { return factories['io.flow.v0.models.bank_account_info_usa'](); }]);
|
|
10985
|
+
return f();
|
|
10986
|
+
},
|
|
10960
10987
|
'io.flow.v0.unions.browser_action_configuration': function () {
|
|
10961
10988
|
var f = faker_1.default.random.arrayElement([function () { return factories['io.flow.v0.models.card_browser_action_configuration'](); }]);
|
|
10962
10989
|
return f();
|
|
@@ -12006,12 +12033,20 @@ var makeB2BInvoiceType = function () { return factories['io.flow.v0.enums.b2b_in
|
|
|
12006
12033
|
exports.makeB2BInvoiceType = makeB2BInvoiceType;
|
|
12007
12034
|
var makeB2BInvoiceUpserted = function () { return factories['io.flow.v0.models.b2b_invoice_upserted'](); };
|
|
12008
12035
|
exports.makeB2BInvoiceUpserted = makeB2BInvoiceUpserted;
|
|
12036
|
+
var makeBankAccountForm = function () { return factories['io.flow.v0.models.bank_account_form'](); };
|
|
12037
|
+
exports.makeBankAccountForm = makeBankAccountForm;
|
|
12038
|
+
var makeBankAccountInfo = function () { return factories['io.flow.v0.unions.bank_account_info'](); };
|
|
12039
|
+
exports.makeBankAccountInfo = makeBankAccountInfo;
|
|
12040
|
+
var makeBankAccountInfoUsa = function () { return factories['io.flow.v0.models.bank_account_info_usa'](); };
|
|
12041
|
+
exports.makeBankAccountInfoUsa = makeBankAccountInfoUsa;
|
|
12009
12042
|
var makeBehaviorAudit = function () { return factories['io.flow.v0.models.behavior_audit'](); };
|
|
12010
12043
|
exports.makeBehaviorAudit = makeBehaviorAudit;
|
|
12011
12044
|
var makeBillingAddress = function () { return factories['io.flow.v0.models.billing_address'](); };
|
|
12012
12045
|
exports.makeBillingAddress = makeBillingAddress;
|
|
12013
12046
|
var makeBillingChannelOrderSummary = function () { return factories['io.flow.v0.models.billing_channel_order_summary'](); };
|
|
12014
12047
|
exports.makeBillingChannelOrderSummary = makeBillingChannelOrderSummary;
|
|
12048
|
+
var makeBillingChannelOrganizationSummary = function () { return factories['io.flow.v0.models.billing_channel_organization_summary'](); };
|
|
12049
|
+
exports.makeBillingChannelOrganizationSummary = makeBillingChannelOrganizationSummary;
|
|
12015
12050
|
var makeBillingChannelPaymentRequestReference = function () { return factories['io.flow.v0.models.billing_channel_payment_request_reference'](); };
|
|
12016
12051
|
exports.makeBillingChannelPaymentRequestReference = makeBillingChannelPaymentRequestReference;
|
|
12017
12052
|
var makeBillingChannelStatementReference = function () { return factories['io.flow.v0.models.billing_channel_statement_reference'](); };
|
|
@@ -12318,6 +12353,8 @@ var makeContextForm = function () { return factories['io.flow.v0.models.context_
|
|
|
12318
12353
|
exports.makeContextForm = makeContextForm;
|
|
12319
12354
|
var makeContextReference = function () { return factories['io.flow.v0.models.context_reference'](); };
|
|
12320
12355
|
exports.makeContextReference = makeContextReference;
|
|
12356
|
+
var makeCostEstimateSource = function () { return factories['io.flow.v0.enums.cost_estimate_source'](); };
|
|
12357
|
+
exports.makeCostEstimateSource = makeCostEstimateSource;
|
|
12321
12358
|
var makeCountry = function () { return factories['io.flow.v0.models.country'](); };
|
|
12322
12359
|
exports.makeCountry = makeCountry;
|
|
12323
12360
|
var makeCountryAvailability = function () { return factories['io.flow.v0.models.country_availability'](); };
|
|
@@ -13634,6 +13671,8 @@ var makeOrganizationAuthorization = function () { return factories['io.flow.v0.m
|
|
|
13634
13671
|
exports.makeOrganizationAuthorization = makeOrganizationAuthorization;
|
|
13635
13672
|
var makeOrganizationAuthorizationForm = function () { return factories['io.flow.v0.models.organization_authorization_form'](); };
|
|
13636
13673
|
exports.makeOrganizationAuthorizationForm = makeOrganizationAuthorizationForm;
|
|
13674
|
+
var makeOrganizationBankAccount = function () { return factories['io.flow.v0.models.organization_bank_account'](); };
|
|
13675
|
+
exports.makeOrganizationBankAccount = makeOrganizationBankAccount;
|
|
13637
13676
|
var makeOrganizationConfigurationReference = function () { return factories['io.flow.v0.models.organization_configuration_reference'](); };
|
|
13638
13677
|
exports.makeOrganizationConfigurationReference = makeOrganizationConfigurationReference;
|
|
13639
13678
|
var makeOrganizationDefaultConfigurations = function () { return factories['io.flow.v0.models.organization_default_configurations'](); };
|
|
@@ -13682,6 +13721,8 @@ var makeOrganizationTokenV2 = function () { return factories['io.flow.v0.models.
|
|
|
13682
13721
|
exports.makeOrganizationTokenV2 = makeOrganizationTokenV2;
|
|
13683
13722
|
var makeOrganizationTokenV2Reference = function () { return factories['io.flow.v0.models.organization_token_v2_reference'](); };
|
|
13684
13723
|
exports.makeOrganizationTokenV2Reference = makeOrganizationTokenV2Reference;
|
|
13724
|
+
var makeOrganizationType = function () { return factories['io.flow.v0.enums.organization_type'](); };
|
|
13725
|
+
exports.makeOrganizationType = makeOrganizationType;
|
|
13685
13726
|
var makeOrganizationUpserted = function () { return factories['io.flow.v0.models.organization_upserted'](); };
|
|
13686
13727
|
exports.makeOrganizationUpserted = makeOrganizationUpserted;
|
|
13687
13728
|
var makeOrganizationUpsertedV2 = function () { return factories['io.flow.v0.models.organization_upserted_v2'](); };
|
package/dist/esm/api.js
CHANGED
|
@@ -1973,7 +1973,7 @@ var factories = {
|
|
|
1973
1973
|
'io.flow.v0.enums.cancel_reason': function () { return faker.random.arrayElement(['out_of_stock', 'consumer_requested', 'flow_cancel']); },
|
|
1974
1974
|
'io.flow.v0.enums.capability': function () { return faker.random.arrayElement(['crossdock']); },
|
|
1975
1975
|
'io.flow.v0.enums.capture_decline_code': function () { return faker.random.arrayElement(['expired', 'insufficient_funds', 'unknown']); },
|
|
1976
|
-
'io.flow.v0.enums.capture_status': function () { return faker.random.arrayElement(['pending', 'succeeded', 'failed', 'canceled']); },
|
|
1976
|
+
'io.flow.v0.enums.capture_status': function () { return faker.random.arrayElement(['initiated', 'pending', 'succeeded', 'failed', 'canceled']); },
|
|
1977
1977
|
'io.flow.v0.enums.card_error_code': function () { return faker.random.arrayElement([
|
|
1978
1978
|
'invalid_address',
|
|
1979
1979
|
'invalid_currency',
|
|
@@ -2004,6 +2004,7 @@ var factories = {
|
|
|
2004
2004
|
'io.flow.v0.enums.consumer_invoice_customer_type': function () { return faker.random.arrayElement(['business_eu_verified', 'business_non_verified', 'individual']); },
|
|
2005
2005
|
'io.flow.v0.enums.consumer_invoice_document_type': function () { return faker.random.arrayElement(['pdf']); },
|
|
2006
2006
|
'io.flow.v0.enums.consumer_invoice_status': function () { return faker.random.arrayElement(['pending', 'available', 'invalid']); },
|
|
2007
|
+
'io.flow.v0.enums.cost_estimate_source': function () { return faker.random.arrayElement(['flow', 'channel']); },
|
|
2007
2008
|
'io.flow.v0.enums.country_picker_source': function () { return faker.random.arrayElement(['experience', 'destination']); },
|
|
2008
2009
|
'io.flow.v0.enums.credit_payment_error_code': function () { return faker.random.arrayElement([
|
|
2009
2010
|
'generic_error',
|
|
@@ -2487,6 +2488,7 @@ var factories = {
|
|
|
2487
2488
|
'io.flow.v0.enums.order_type': function () { return faker.random.arrayElement(['standard', 'replacement']); },
|
|
2488
2489
|
'io.flow.v0.enums.organization_payment_method_tag': function () { return faker.random.arrayElement(['deny']); },
|
|
2489
2490
|
'io.flow.v0.enums.organization_status': function () { return faker.random.arrayElement(['active', 'inactive', 'deactivated', 'provisioned']); },
|
|
2491
|
+
'io.flow.v0.enums.organization_type': function () { return faker.random.arrayElement(['standalone', 'channel']); },
|
|
2490
2492
|
'io.flow.v0.enums.payment_action_type': function () { return faker.random.arrayElement([
|
|
2491
2493
|
'redirect',
|
|
2492
2494
|
'redirect_get',
|
|
@@ -3414,6 +3416,15 @@ var factories = {
|
|
|
3414
3416
|
organization: factories.string(),
|
|
3415
3417
|
b2b_invoice: factories['io.flow.v0.models.b2b_invoice'](),
|
|
3416
3418
|
}); },
|
|
3419
|
+
'io.flow.v0.models.bank_account_form': function () { return ({
|
|
3420
|
+
last4: factories.string(),
|
|
3421
|
+
info: factories['io.flow.v0.unions.bank_account_info'](),
|
|
3422
|
+
}); },
|
|
3423
|
+
'io.flow.v0.models.bank_account_info_usa': function () { return ({
|
|
3424
|
+
discriminator: 'usa',
|
|
3425
|
+
routing_number: factories.string(),
|
|
3426
|
+
account_number: factories.string(),
|
|
3427
|
+
}); },
|
|
3417
3428
|
'io.flow.v0.models.behavior_audit': function () { return ({
|
|
3418
3429
|
behavior: factories['io.flow.v0.enums.flow_behavior'](),
|
|
3419
3430
|
authentication_techniques: arrayOf(function () { return factories['io.flow.v0.enums.authentication_technique'](); }),
|
|
@@ -3429,9 +3440,13 @@ var factories = {
|
|
|
3429
3440
|
company: factories.string(),
|
|
3430
3441
|
}); },
|
|
3431
3442
|
'io.flow.v0.models.billing_channel_order_summary': function () { return ({
|
|
3443
|
+
organization: factories['io.flow.v0.models.billing_channel_organization_summary'](),
|
|
3432
3444
|
number: factories.string(),
|
|
3433
3445
|
identifiers: objectOf(function () { return factories.string(); }),
|
|
3434
3446
|
}); },
|
|
3447
|
+
'io.flow.v0.models.billing_channel_organization_summary': function () { return ({
|
|
3448
|
+
id: factories.string(),
|
|
3449
|
+
}); },
|
|
3435
3450
|
'io.flow.v0.models.billing_channel_payment_request_reference': function () { return ({
|
|
3436
3451
|
id: factories.string(),
|
|
3437
3452
|
reference: factories.string(),
|
|
@@ -7504,6 +7519,7 @@ var factories = {
|
|
|
7504
7519
|
defaults: factories['io.flow.v0.models.organization_defaults'](),
|
|
7505
7520
|
created_at: factories.date_time_iso_8601(),
|
|
7506
7521
|
status: factories['io.flow.v0.enums.organization_status'](),
|
|
7522
|
+
type: factories['io.flow.v0.enums.organization_type'](),
|
|
7507
7523
|
}); },
|
|
7508
7524
|
'io.flow.v0.models.organization_authorization': function () { return ({
|
|
7509
7525
|
role: factories['io.flow.v0.enums.role'](),
|
|
@@ -7513,6 +7529,10 @@ var factories = {
|
|
|
7513
7529
|
organization: factories.string(),
|
|
7514
7530
|
environment: factories['io.flow.v0.enums.environment'](),
|
|
7515
7531
|
}); },
|
|
7532
|
+
'io.flow.v0.models.organization_bank_account': function () { return ({
|
|
7533
|
+
id: factories.string(),
|
|
7534
|
+
last4: factories.string(),
|
|
7535
|
+
}); },
|
|
7516
7536
|
'io.flow.v0.models.organization_configuration_reference': function () { return ({
|
|
7517
7537
|
id: factories.string(),
|
|
7518
7538
|
}); },
|
|
@@ -7563,6 +7583,7 @@ var factories = {
|
|
|
7563
7583
|
parent_id: factories.string(),
|
|
7564
7584
|
defaults: factories['io.flow.v0.models.organization_defaults'](),
|
|
7565
7585
|
status: factories['io.flow.v0.enums.organization_status'](),
|
|
7586
|
+
type: factories['io.flow.v0.enums.organization_type'](),
|
|
7566
7587
|
}); },
|
|
7567
7588
|
'io.flow.v0.models.organization_put_form': function () { return ({
|
|
7568
7589
|
name: factories.string(),
|
|
@@ -9537,9 +9558,11 @@ var factories = {
|
|
|
9537
9558
|
'io.flow.v0.models.shipping_label': function () { return ({
|
|
9538
9559
|
id: factories.string(),
|
|
9539
9560
|
hop: factories['io.flow.v0.models.shipping_label_hop_summary'](),
|
|
9561
|
+
reference_id: factories.string(),
|
|
9540
9562
|
attributes: objectOf(function () { return factories.string(); }),
|
|
9541
9563
|
carrier_tracking_number: factories.string(),
|
|
9542
9564
|
carrier_tracking_number_url: factories.string(),
|
|
9565
|
+
cost_estimate_source: factories['io.flow.v0.enums.cost_estimate_source'](),
|
|
9543
9566
|
cost: factories['io.flow.v0.models.price'](),
|
|
9544
9567
|
destination: factories['io.flow.v0.models.shipping_address'](),
|
|
9545
9568
|
flow_tracking_number: factories.string(),
|
|
@@ -10920,6 +10943,10 @@ var factories = {
|
|
|
10920
10943
|
]);
|
|
10921
10944
|
return f();
|
|
10922
10945
|
},
|
|
10946
|
+
'io.flow.v0.unions.bank_account_info': function () {
|
|
10947
|
+
var f = faker.random.arrayElement([function () { return factories['io.flow.v0.models.bank_account_info_usa'](); }]);
|
|
10948
|
+
return f();
|
|
10949
|
+
},
|
|
10923
10950
|
'io.flow.v0.unions.browser_action_configuration': function () {
|
|
10924
10951
|
var f = faker.random.arrayElement([function () { return factories['io.flow.v0.models.card_browser_action_configuration'](); }]);
|
|
10925
10952
|
return f();
|
|
@@ -11842,9 +11869,13 @@ export var makeB2BInvoiceDeleted = function () { return factories['io.flow.v0.mo
|
|
|
11842
11869
|
export var makeB2BInvoiceReference = function () { return factories['io.flow.v0.models.b2b_invoice_reference'](); };
|
|
11843
11870
|
export var makeB2BInvoiceType = function () { return factories['io.flow.v0.enums.b2b_invoice_type'](); };
|
|
11844
11871
|
export var makeB2BInvoiceUpserted = function () { return factories['io.flow.v0.models.b2b_invoice_upserted'](); };
|
|
11872
|
+
export var makeBankAccountForm = function () { return factories['io.flow.v0.models.bank_account_form'](); };
|
|
11873
|
+
export var makeBankAccountInfo = function () { return factories['io.flow.v0.unions.bank_account_info'](); };
|
|
11874
|
+
export var makeBankAccountInfoUsa = function () { return factories['io.flow.v0.models.bank_account_info_usa'](); };
|
|
11845
11875
|
export var makeBehaviorAudit = function () { return factories['io.flow.v0.models.behavior_audit'](); };
|
|
11846
11876
|
export var makeBillingAddress = function () { return factories['io.flow.v0.models.billing_address'](); };
|
|
11847
11877
|
export var makeBillingChannelOrderSummary = function () { return factories['io.flow.v0.models.billing_channel_order_summary'](); };
|
|
11878
|
+
export var makeBillingChannelOrganizationSummary = function () { return factories['io.flow.v0.models.billing_channel_organization_summary'](); };
|
|
11848
11879
|
export var makeBillingChannelPaymentRequestReference = function () { return factories['io.flow.v0.models.billing_channel_payment_request_reference'](); };
|
|
11849
11880
|
export var makeBillingChannelStatementReference = function () { return factories['io.flow.v0.models.billing_channel_statement_reference'](); };
|
|
11850
11881
|
export var makeBridgeManifest = function () { return factories['io.flow.v0.models.bridge_manifest'](); };
|
|
@@ -11998,6 +12029,7 @@ export var makeContact = function () { return factories['io.flow.v0.models.conta
|
|
|
11998
12029
|
export var makeContext = function () { return factories['io.flow.v0.models.context'](); };
|
|
11999
12030
|
export var makeContextForm = function () { return factories['io.flow.v0.models.context_form'](); };
|
|
12000
12031
|
export var makeContextReference = function () { return factories['io.flow.v0.models.context_reference'](); };
|
|
12032
|
+
export var makeCostEstimateSource = function () { return factories['io.flow.v0.enums.cost_estimate_source'](); };
|
|
12001
12033
|
export var makeCountry = function () { return factories['io.flow.v0.models.country'](); };
|
|
12002
12034
|
export var makeCountryAvailability = function () { return factories['io.flow.v0.models.country_availability'](); };
|
|
12003
12035
|
export var makeCountryDefaults = function () { return factories['io.flow.v0.models.country_defaults'](); };
|
|
@@ -12656,6 +12688,7 @@ export var makeOrderWithDiscountsForm = function () { return factories['io.flow.
|
|
|
12656
12688
|
export var makeOrganization = function () { return factories['io.flow.v0.models.organization'](); };
|
|
12657
12689
|
export var makeOrganizationAuthorization = function () { return factories['io.flow.v0.models.organization_authorization'](); };
|
|
12658
12690
|
export var makeOrganizationAuthorizationForm = function () { return factories['io.flow.v0.models.organization_authorization_form'](); };
|
|
12691
|
+
export var makeOrganizationBankAccount = function () { return factories['io.flow.v0.models.organization_bank_account'](); };
|
|
12659
12692
|
export var makeOrganizationConfigurationReference = function () { return factories['io.flow.v0.models.organization_configuration_reference'](); };
|
|
12660
12693
|
export var makeOrganizationDefaultConfigurations = function () { return factories['io.flow.v0.models.organization_default_configurations'](); };
|
|
12661
12694
|
export var makeOrganizationDefaultConfigurationsDeleted = function () { return factories['io.flow.v0.models.organization_default_configurations_deleted'](); };
|
|
@@ -12680,6 +12713,7 @@ export var makeOrganizationTokenFormV2 = function () { return factories['io.flow
|
|
|
12680
12713
|
export var makeOrganizationTokenReference = function () { return factories['io.flow.v0.models.organization_token_reference'](); };
|
|
12681
12714
|
export var makeOrganizationTokenV2 = function () { return factories['io.flow.v0.models.organization_token_v2'](); };
|
|
12682
12715
|
export var makeOrganizationTokenV2Reference = function () { return factories['io.flow.v0.models.organization_token_v2_reference'](); };
|
|
12716
|
+
export var makeOrganizationType = function () { return factories['io.flow.v0.enums.organization_type'](); };
|
|
12683
12717
|
export var makeOrganizationUpserted = function () { return factories['io.flow.v0.models.organization_upserted'](); };
|
|
12684
12718
|
export var makeOrganizationUpsertedV2 = function () { return factories['io.flow.v0.models.organization_upserted_v2'](); };
|
|
12685
12719
|
export var makeOrganizationVersion = function () { return factories['io.flow.v0.models.organization_version'](); };
|
package/dist/types/api.d.ts
CHANGED
|
@@ -126,9 +126,13 @@ export declare const makeB2BInvoiceDeleted: () => io.flow.v0.models.B2BInvoiceDe
|
|
|
126
126
|
export declare const makeB2BInvoiceReference: () => io.flow.v0.models.B2BInvoiceReference;
|
|
127
127
|
export declare const makeB2BInvoiceType: () => io.flow.v0.enums.B2BInvoiceType;
|
|
128
128
|
export declare const makeB2BInvoiceUpserted: () => io.flow.v0.models.B2BInvoiceUpserted;
|
|
129
|
+
export declare const makeBankAccountForm: () => io.flow.v0.models.BankAccountForm;
|
|
130
|
+
export declare const makeBankAccountInfo: () => io.flow.v0.models.BankAccountInfoUsa;
|
|
131
|
+
export declare const makeBankAccountInfoUsa: () => io.flow.v0.models.BankAccountInfoUsa;
|
|
129
132
|
export declare const makeBehaviorAudit: () => io.flow.v0.models.BehaviorAudit;
|
|
130
133
|
export declare const makeBillingAddress: () => io.flow.v0.models.BillingAddress;
|
|
131
134
|
export declare const makeBillingChannelOrderSummary: () => io.flow.v0.models.BillingChannelOrderSummary;
|
|
135
|
+
export declare const makeBillingChannelOrganizationSummary: () => io.flow.v0.models.BillingChannelOrganizationSummary;
|
|
132
136
|
export declare const makeBillingChannelPaymentRequestReference: () => io.flow.v0.models.BillingChannelPaymentRequestReference;
|
|
133
137
|
export declare const makeBillingChannelStatementReference: () => io.flow.v0.models.BillingChannelStatementReference;
|
|
134
138
|
export declare const makeBridgeManifest: () => io.flow.v0.models.BridgeManifest;
|
|
@@ -282,6 +286,7 @@ export declare const makeContact: () => io.flow.v0.models.Contact;
|
|
|
282
286
|
export declare const makeContext: () => io.flow.v0.models.Context;
|
|
283
287
|
export declare const makeContextForm: () => io.flow.v0.models.ContextForm;
|
|
284
288
|
export declare const makeContextReference: () => io.flow.v0.models.ContextReference;
|
|
289
|
+
export declare const makeCostEstimateSource: () => io.flow.v0.enums.CostEstimateSource;
|
|
285
290
|
export declare const makeCountry: () => io.flow.v0.models.Country;
|
|
286
291
|
export declare const makeCountryAvailability: () => io.flow.v0.models.CountryAvailability;
|
|
287
292
|
export declare const makeCountryDefaults: () => io.flow.v0.models.CountryDefaults;
|
|
@@ -940,6 +945,7 @@ export declare const makeOrderWithDiscountsForm: () => io.flow.v0.models.OrderWi
|
|
|
940
945
|
export declare const makeOrganization: () => io.flow.v0.models.Organization;
|
|
941
946
|
export declare const makeOrganizationAuthorization: () => io.flow.v0.models.OrganizationAuthorization;
|
|
942
947
|
export declare const makeOrganizationAuthorizationForm: () => io.flow.v0.models.OrganizationAuthorizationForm;
|
|
948
|
+
export declare const makeOrganizationBankAccount: () => io.flow.v0.models.OrganizationBankAccount;
|
|
943
949
|
export declare const makeOrganizationConfigurationReference: () => io.flow.v0.models.OrganizationConfigurationReference;
|
|
944
950
|
export declare const makeOrganizationDefaultConfigurations: () => io.flow.v0.models.OrganizationDefaultConfigurations;
|
|
945
951
|
export declare const makeOrganizationDefaultConfigurationsDeleted: () => io.flow.v0.models.OrganizationDefaultConfigurationsDeleted;
|
|
@@ -964,6 +970,7 @@ export declare const makeOrganizationTokenFormV2: () => io.flow.v0.models.Organi
|
|
|
964
970
|
export declare const makeOrganizationTokenReference: () => io.flow.v0.models.OrganizationTokenReference;
|
|
965
971
|
export declare const makeOrganizationTokenV2: () => io.flow.v0.models.OrganizationTokenV2;
|
|
966
972
|
export declare const makeOrganizationTokenV2Reference: () => io.flow.v0.models.OrganizationTokenV2Reference;
|
|
973
|
+
export declare const makeOrganizationType: () => io.flow.v0.enums.OrganizationType;
|
|
967
974
|
export declare const makeOrganizationUpserted: () => io.flow.v0.models.OrganizationUpserted;
|
|
968
975
|
export declare const makeOrganizationUpsertedV2: () => io.flow.v0.models.OrganizationUpsertedV2;
|
|
969
976
|
export declare const makeOrganizationVersion: () => io.flow.v0.models.OrganizationVersion;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-factories",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.35",
|
|
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": "6b3aead1ceea76805fc5a5a04f2e485c6180aed2"
|
|
40
40
|
}
|
package/src/api.ts
CHANGED
|
@@ -2281,7 +2281,7 @@ const factories = {
|
|
|
2281
2281
|
'io.flow.v0.enums.cancel_reason': (): io.flow.v0.enums.CancelReason => faker.random.arrayElement(['out_of_stock', 'consumer_requested', 'flow_cancel']),
|
|
2282
2282
|
'io.flow.v0.enums.capability': (): io.flow.v0.enums.Capability => faker.random.arrayElement(['crossdock']),
|
|
2283
2283
|
'io.flow.v0.enums.capture_decline_code': (): io.flow.v0.enums.CaptureDeclineCode => faker.random.arrayElement(['expired', 'insufficient_funds', 'unknown']),
|
|
2284
|
-
'io.flow.v0.enums.capture_status': (): io.flow.v0.enums.CaptureStatus => faker.random.arrayElement(['pending', 'succeeded', 'failed', 'canceled']),
|
|
2284
|
+
'io.flow.v0.enums.capture_status': (): io.flow.v0.enums.CaptureStatus => faker.random.arrayElement(['initiated', 'pending', 'succeeded', 'failed', 'canceled']),
|
|
2285
2285
|
|
|
2286
2286
|
'io.flow.v0.enums.card_error_code': (): io.flow.v0.enums.CardErrorCode => faker.random.arrayElement([
|
|
2287
2287
|
'invalid_address',
|
|
@@ -2315,6 +2315,7 @@ const factories = {
|
|
|
2315
2315
|
'io.flow.v0.enums.consumer_invoice_customer_type': (): io.flow.v0.enums.ConsumerInvoiceCustomerType => faker.random.arrayElement(['business_eu_verified', 'business_non_verified', 'individual']),
|
|
2316
2316
|
'io.flow.v0.enums.consumer_invoice_document_type': (): io.flow.v0.enums.ConsumerInvoiceDocumentType => faker.random.arrayElement(['pdf']),
|
|
2317
2317
|
'io.flow.v0.enums.consumer_invoice_status': (): io.flow.v0.enums.ConsumerInvoiceStatus => faker.random.arrayElement(['pending', 'available', 'invalid']),
|
|
2318
|
+
'io.flow.v0.enums.cost_estimate_source': (): io.flow.v0.enums.CostEstimateSource => faker.random.arrayElement(['flow', 'channel']),
|
|
2318
2319
|
'io.flow.v0.enums.country_picker_source': (): io.flow.v0.enums.CountryPickerSource => faker.random.arrayElement(['experience', 'destination']),
|
|
2319
2320
|
|
|
2320
2321
|
'io.flow.v0.enums.credit_payment_error_code': (): io.flow.v0.enums.CreditPaymentErrorCode => faker.random.arrayElement([
|
|
@@ -2829,6 +2830,7 @@ const factories = {
|
|
|
2829
2830
|
'io.flow.v0.enums.order_type': (): io.flow.v0.enums.OrderType => faker.random.arrayElement(['standard', 'replacement']),
|
|
2830
2831
|
'io.flow.v0.enums.organization_payment_method_tag': (): io.flow.v0.enums.OrganizationPaymentMethodTag => faker.random.arrayElement(['deny']),
|
|
2831
2832
|
'io.flow.v0.enums.organization_status': (): io.flow.v0.enums.OrganizationStatus => faker.random.arrayElement(['active', 'inactive', 'deactivated', 'provisioned']),
|
|
2833
|
+
'io.flow.v0.enums.organization_type': (): io.flow.v0.enums.OrganizationType => faker.random.arrayElement(['standalone', 'channel']),
|
|
2832
2834
|
|
|
2833
2835
|
'io.flow.v0.enums.payment_action_type': (): io.flow.v0.enums.PaymentActionType => faker.random.arrayElement([
|
|
2834
2836
|
'redirect',
|
|
@@ -3883,6 +3885,17 @@ const factories = {
|
|
|
3883
3885
|
b2b_invoice: factories['io.flow.v0.models.b2b_invoice'](),
|
|
3884
3886
|
}),
|
|
3885
3887
|
|
|
3888
|
+
'io.flow.v0.models.bank_account_form': (): io.flow.v0.models.BankAccountForm => ({
|
|
3889
|
+
last4: factories.string(),
|
|
3890
|
+
info: factories['io.flow.v0.unions.bank_account_info'](),
|
|
3891
|
+
}),
|
|
3892
|
+
|
|
3893
|
+
'io.flow.v0.models.bank_account_info_usa': (): io.flow.v0.models.BankAccountInfoUsa => ({
|
|
3894
|
+
discriminator: 'usa',
|
|
3895
|
+
routing_number: factories.string(),
|
|
3896
|
+
account_number: factories.string(),
|
|
3897
|
+
}),
|
|
3898
|
+
|
|
3886
3899
|
'io.flow.v0.models.behavior_audit': (): io.flow.v0.models.BehaviorAudit => ({
|
|
3887
3900
|
behavior: factories['io.flow.v0.enums.flow_behavior'](),
|
|
3888
3901
|
authentication_techniques: arrayOf(() => factories['io.flow.v0.enums.authentication_technique']()),
|
|
@@ -3900,10 +3913,15 @@ const factories = {
|
|
|
3900
3913
|
}),
|
|
3901
3914
|
|
|
3902
3915
|
'io.flow.v0.models.billing_channel_order_summary': (): io.flow.v0.models.BillingChannelOrderSummary => ({
|
|
3916
|
+
organization: factories['io.flow.v0.models.billing_channel_organization_summary'](),
|
|
3903
3917
|
number: factories.string(),
|
|
3904
3918
|
identifiers: objectOf(() => factories.string()),
|
|
3905
3919
|
}),
|
|
3906
3920
|
|
|
3921
|
+
'io.flow.v0.models.billing_channel_organization_summary': (): io.flow.v0.models.BillingChannelOrganizationSummary => ({
|
|
3922
|
+
id: factories.string(),
|
|
3923
|
+
}),
|
|
3924
|
+
|
|
3907
3925
|
'io.flow.v0.models.billing_channel_payment_request_reference': (): io.flow.v0.models.BillingChannelPaymentRequestReference => ({
|
|
3908
3926
|
id: factories.string(),
|
|
3909
3927
|
reference: factories.string(),
|
|
@@ -8645,6 +8663,7 @@ const factories = {
|
|
|
8645
8663
|
defaults: factories['io.flow.v0.models.organization_defaults'](),
|
|
8646
8664
|
created_at: factories.date_time_iso_8601(),
|
|
8647
8665
|
status: factories['io.flow.v0.enums.organization_status'](),
|
|
8666
|
+
type: factories['io.flow.v0.enums.organization_type'](),
|
|
8648
8667
|
}),
|
|
8649
8668
|
|
|
8650
8669
|
'io.flow.v0.models.organization_authorization': (): io.flow.v0.models.OrganizationAuthorization => ({
|
|
@@ -8657,6 +8676,11 @@ const factories = {
|
|
|
8657
8676
|
environment: factories['io.flow.v0.enums.environment'](),
|
|
8658
8677
|
}),
|
|
8659
8678
|
|
|
8679
|
+
'io.flow.v0.models.organization_bank_account': (): io.flow.v0.models.OrganizationBankAccount => ({
|
|
8680
|
+
id: factories.string(),
|
|
8681
|
+
last4: factories.string(),
|
|
8682
|
+
}),
|
|
8683
|
+
|
|
8660
8684
|
'io.flow.v0.models.organization_configuration_reference': (): io.flow.v0.models.OrganizationConfigurationReference => ({
|
|
8661
8685
|
id: factories.string(),
|
|
8662
8686
|
}),
|
|
@@ -8715,6 +8739,7 @@ const factories = {
|
|
|
8715
8739
|
parent_id: factories.string(),
|
|
8716
8740
|
defaults: factories['io.flow.v0.models.organization_defaults'](),
|
|
8717
8741
|
status: factories['io.flow.v0.enums.organization_status'](),
|
|
8742
|
+
type: factories['io.flow.v0.enums.organization_type'](),
|
|
8718
8743
|
}),
|
|
8719
8744
|
|
|
8720
8745
|
'io.flow.v0.models.organization_put_form': (): io.flow.v0.models.OrganizationPutForm => ({
|
|
@@ -11019,9 +11044,11 @@ const factories = {
|
|
|
11019
11044
|
'io.flow.v0.models.shipping_label': (): io.flow.v0.models.ShippingLabel => ({
|
|
11020
11045
|
id: factories.string(),
|
|
11021
11046
|
hop: factories['io.flow.v0.models.shipping_label_hop_summary'](),
|
|
11047
|
+
reference_id: factories.string(),
|
|
11022
11048
|
attributes: objectOf(() => factories.string()),
|
|
11023
11049
|
carrier_tracking_number: factories.string(),
|
|
11024
11050
|
carrier_tracking_number_url: factories.string(),
|
|
11051
|
+
cost_estimate_source: factories['io.flow.v0.enums.cost_estimate_source'](),
|
|
11025
11052
|
cost: factories['io.flow.v0.models.price'](),
|
|
11026
11053
|
destination: factories['io.flow.v0.models.shipping_address'](),
|
|
11027
11054
|
flow_tracking_number: factories.string(),
|
|
@@ -12625,6 +12652,11 @@ const factories = {
|
|
|
12625
12652
|
return f();
|
|
12626
12653
|
},
|
|
12627
12654
|
|
|
12655
|
+
'io.flow.v0.unions.bank_account_info': (): io.flow.v0.unions.BankAccountInfo => {
|
|
12656
|
+
const f = faker.random.arrayElement([() => factories['io.flow.v0.models.bank_account_info_usa']()]);
|
|
12657
|
+
return f();
|
|
12658
|
+
},
|
|
12659
|
+
|
|
12628
12660
|
'io.flow.v0.unions.browser_action_configuration': (): io.flow.v0.unions.BrowserActionConfiguration => {
|
|
12629
12661
|
const f = faker.random.arrayElement([() => factories['io.flow.v0.models.card_browser_action_configuration']()]);
|
|
12630
12662
|
return f();
|
|
@@ -13713,9 +13745,13 @@ export const makeB2BInvoiceDeleted = () => factories['io.flow.v0.models.b2b_invo
|
|
|
13713
13745
|
export const makeB2BInvoiceReference = () => factories['io.flow.v0.models.b2b_invoice_reference']();
|
|
13714
13746
|
export const makeB2BInvoiceType = () => factories['io.flow.v0.enums.b2b_invoice_type']();
|
|
13715
13747
|
export const makeB2BInvoiceUpserted = () => factories['io.flow.v0.models.b2b_invoice_upserted']();
|
|
13748
|
+
export const makeBankAccountForm = () => factories['io.flow.v0.models.bank_account_form']();
|
|
13749
|
+
export const makeBankAccountInfo = () => factories['io.flow.v0.unions.bank_account_info']();
|
|
13750
|
+
export const makeBankAccountInfoUsa = () => factories['io.flow.v0.models.bank_account_info_usa']();
|
|
13716
13751
|
export const makeBehaviorAudit = () => factories['io.flow.v0.models.behavior_audit']();
|
|
13717
13752
|
export const makeBillingAddress = () => factories['io.flow.v0.models.billing_address']();
|
|
13718
13753
|
export const makeBillingChannelOrderSummary = () => factories['io.flow.v0.models.billing_channel_order_summary']();
|
|
13754
|
+
export const makeBillingChannelOrganizationSummary = () => factories['io.flow.v0.models.billing_channel_organization_summary']();
|
|
13719
13755
|
export const makeBillingChannelPaymentRequestReference = () => factories['io.flow.v0.models.billing_channel_payment_request_reference']();
|
|
13720
13756
|
export const makeBillingChannelStatementReference = () => factories['io.flow.v0.models.billing_channel_statement_reference']();
|
|
13721
13757
|
export const makeBridgeManifest = () => factories['io.flow.v0.models.bridge_manifest']();
|
|
@@ -13869,6 +13905,7 @@ export const makeContact = () => factories['io.flow.v0.models.contact']();
|
|
|
13869
13905
|
export const makeContext = () => factories['io.flow.v0.models.context']();
|
|
13870
13906
|
export const makeContextForm = () => factories['io.flow.v0.models.context_form']();
|
|
13871
13907
|
export const makeContextReference = () => factories['io.flow.v0.models.context_reference']();
|
|
13908
|
+
export const makeCostEstimateSource = () => factories['io.flow.v0.enums.cost_estimate_source']();
|
|
13872
13909
|
export const makeCountry = () => factories['io.flow.v0.models.country']();
|
|
13873
13910
|
export const makeCountryAvailability = () => factories['io.flow.v0.models.country_availability']();
|
|
13874
13911
|
export const makeCountryDefaults = () => factories['io.flow.v0.models.country_defaults']();
|
|
@@ -14527,6 +14564,7 @@ export const makeOrderWithDiscountsForm = () => factories['io.flow.v0.models.ord
|
|
|
14527
14564
|
export const makeOrganization = () => factories['io.flow.v0.models.organization']();
|
|
14528
14565
|
export const makeOrganizationAuthorization = () => factories['io.flow.v0.models.organization_authorization']();
|
|
14529
14566
|
export const makeOrganizationAuthorizationForm = () => factories['io.flow.v0.models.organization_authorization_form']();
|
|
14567
|
+
export const makeOrganizationBankAccount = () => factories['io.flow.v0.models.organization_bank_account']();
|
|
14530
14568
|
export const makeOrganizationConfigurationReference = () => factories['io.flow.v0.models.organization_configuration_reference']();
|
|
14531
14569
|
export const makeOrganizationDefaultConfigurations = () => factories['io.flow.v0.models.organization_default_configurations']();
|
|
14532
14570
|
export const makeOrganizationDefaultConfigurationsDeleted = () => factories['io.flow.v0.models.organization_default_configurations_deleted']();
|
|
@@ -14551,6 +14589,7 @@ export const makeOrganizationTokenFormV2 = () => factories['io.flow.v0.models.or
|
|
|
14551
14589
|
export const makeOrganizationTokenReference = () => factories['io.flow.v0.models.organization_token_reference']();
|
|
14552
14590
|
export const makeOrganizationTokenV2 = () => factories['io.flow.v0.models.organization_token_v2']();
|
|
14553
14591
|
export const makeOrganizationTokenV2Reference = () => factories['io.flow.v0.models.organization_token_v2_reference']();
|
|
14592
|
+
export const makeOrganizationType = () => factories['io.flow.v0.enums.organization_type']();
|
|
14554
14593
|
export const makeOrganizationUpserted = () => factories['io.flow.v0.models.organization_upserted']();
|
|
14555
14594
|
export const makeOrganizationUpsertedV2 = () => factories['io.flow.v0.models.organization_upserted_v2']();
|
|
14556
14595
|
export const makeOrganizationVersion = () => factories['io.flow.v0.models.organization_version']();
|