@flowio/api-factories 0.0.49 → 0.0.50
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 +130 -36
- package/dist/esm/api.js +85 -3
- package/dist/types/api.d.ts +12 -0
- package/package.json +2 -2
- package/src/api.ts +96 -3
package/dist/cjs/api.js
CHANGED
|
@@ -4,39 +4,39 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.makeAllocation = exports.makeAggregate = exports.makeAdyenV3FingerprintToken = exports.makeAdyenV3ChallengeToken = exports.makeAdyenNativeData = exports.makeAdyenNativeActionDetails = exports.makeAdyenIdentifyShopperData = exports.makeAdyenChallengeShopperData = exports.makeAdjustmentReasonKey = exports.makeAdjustmentReason = exports.makeAddressVerificationResultFieldCode = exports.makeAddressVerificationResult = exports.makeAddressVerification = exports.makeAddressSuggestion = exports.makeAddressFieldValidation = exports.makeAddressFieldName = exports.makeAddressConfigurationProvinceTranslationLocale = exports.makeAddressConfigurationProvinceTranslation = exports.makeAddressConfigurationProvince = exports.makeAddressConfigurationFormat = exports.makeAddressConfigurationFieldPlacement = exports.makeAddressConfiguration = exports.makeAddress = exports.makeActivationPutForm = exports.makeActionWait = exports.makeActionUseSdkStripeV3 = exports.makeActionUseSdkPaypal = exports.makeActionUseSdkKlarnaV1 = exports.makeActionUseSdkGooglepay = exports.makeActionUseSdkApplepayJsCreateSession = exports.makeActionUseSdkApplepayJsCompleteValidation = exports.makeActionUseSdkAdyenV4 = exports.makeActionUseSdkAdyenV3 = exports.makeActionSelectPaymentOption = exports.makeActionRedirect = exports.makeActionExecuteScript = exports.makeActionDisplayInlineWindow = exports.makeAction = exports.makeAchAuthorizationForm = exports.makeAccountTransactionsExportType = exports.makeAccountReference = exports.makeAccountOrdersExportType = exports.makeAbandonedOrderSettings = exports.makeAbandonedOrderSettingStatus = exports.makeAbandonedOrderPromotionStatus = exports.makeAbandonedOrderPromotionForm = exports.makeAbandonedOrderPromotionDiscountDetails = exports.makeAbandonedOrderPromotionDetails = exports.makeAbandonedOrderPromotion = exports.makeAbandonedOrderEmailSettings = void 0;
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
12
|
-
exports.
|
|
13
|
-
exports.
|
|
14
|
-
exports.
|
|
15
|
-
exports.
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
exports.
|
|
22
|
-
exports.
|
|
23
|
-
exports.
|
|
24
|
-
exports.
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
34
|
-
exports.
|
|
35
|
-
exports.
|
|
36
|
-
exports.
|
|
37
|
-
exports.
|
|
38
|
-
exports.
|
|
39
|
-
exports.makeZone = void 0;
|
|
7
|
+
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.makeAttachment = exports.makeAtCost = exports.makeApplepaySdkAuthorizationResultActionDetails = exports.makeApplePayMerchantValidationPayload = exports.makeAnalyticsExportType = exports.makeAmountMarginForm = exports.makeAmountMargin = exports.makeAllocationV2 = exports.makeAllocationUpsertedV2 = exports.makeAllocationOrderSummary = exports.makeAllocationOrderDetail = exports.makeAllocationLineSummaryShipping = exports.makeAllocationLineSummaryLineItem = exports.makeAllocationLineSummary = exports.makeAllocationLineDetail = exports.makeAllocationLevyComponent = exports.makeAllocationDetailComponent = exports.makeAllocationDetail = exports.makeAllocationDeletedV2 = exports.makeAllocationComponent = void 0;
|
|
8
|
+
exports.makeBrowserInlineActionConfiguration = exports.makeBrowserInfo = exports.makeBrowserActionConfiguration = exports.makeBrowseOptinResponsesUpserted = exports.makeBrowseOptinResponsesDeleted = exports.makeBrowseOptinResponses = exports.makeBridgeManifestForm = exports.makeBridgeManifest = exports.makeBillingDiscount = exports.makeBillingChannelStatementReference = exports.makeBillingChannelPaymentRequestReference = exports.makeBillingChannelOrganizationSummary = exports.makeBillingChannelOrderSummary = exports.makeBillingAddress = exports.makeBehaviorAudit = exports.makeBankAccountSummary = exports.makeBankAccountReference = 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 = exports.makeAuthorizationResultActionWait = exports.makeAuthorizationResultActionType = exports.makeAuthorizationResultActionPost = void 0;
|
|
9
|
+
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 = exports.makeCaptureDeleted = exports.makeCaptureDeclineCode = exports.makeCapture = exports.makeCapability = exports.makeCancelReason = exports.makeCalendar = void 0;
|
|
10
|
+
exports.makeChannelTransactionUpserted = exports.makeChannelTransactionDeletedV2 = exports.makeChannelTransactionDeleted = exports.makeChannelTransaction = exports.makeChannelTokenReference = exports.makeChannelTokenForm = exports.makeChannelToken = exports.makeChannelStatementUpserted = exports.makeChannelStatementDeleted = exports.makeChannelStatement = exports.makeChannelReference = exports.makeChannelRate = exports.makeChannelPayout = exports.makeChannelOrganizationUpserted = exports.makeChannelOrganizationPutForm = exports.makeChannelOrganizationForm = exports.makeChannelOrganizationDeleted = exports.makeChannelOrganizationAuthorizationForm = exports.makeChannelOrganizationAuthorization = exports.makeChannelOrganization = exports.makeChannelDeleted = exports.makeChannelDefaultBankAccount = exports.makeChannelCurrencyUpserted = exports.makeChannelCurrencyDeleted = exports.makeChannelCurrencyCapability = exports.makeChannelCurrency = exports.makeChannelBankAccount = exports.makeChannelAuthorizationForm = exports.makeChannelAuthorization = exports.makeChannel = exports.makeChangeType = exports.makeCenterVersion = exports.makeCenterUpserted = exports.makeCenterSummary = exports.makeCenterReference = exports.makeCenterQuery = exports.makeCenterForm = exports.makeCenterDeleted = exports.makeCenterCapability = exports.makeCenter = exports.makeCategorySummary = exports.makeCatalogVersion = exports.makeCatalogUpserted = exports.makeCatalogStatistics = exports.makeCatalogReference = exports.makeCatalogPriceBookItemDocument = exports.makeCatalogItemUpsertedV2 = exports.makeCatalogItemUpserted = exports.makeCatalogItemSummary = exports.makeCatalogItemReference = void 0;
|
|
11
|
+
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 = exports.makeCheckoutOptinResponsesUpserted = exports.makeCheckoutOptinResponsesDeleted = exports.makeCheckoutOptinResponses = exports.makeCheckoutItemContentAttribute = exports.makeCheckoutItemContent = exports.makeCheckoutAttributeForm = exports.makeCheckoutAttribute = exports.makeChannelViesRegistrationForm = exports.makeChannelViesRegistration = exports.makeChannelUpserted = void 0;
|
|
12
|
+
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 = exports.makeCreditMemo = exports.makeCountryStatusUpserted = exports.makeCountryStatusForm = exports.makeCountryStatusDeleted = exports.makeCountryStatus = exports.makeCountryShippingPricing = exports.makeCountryPickerSource = exports.makeCountryPickerForm = exports.makeCountryPicker = exports.makeCountryDefaults = void 0;
|
|
13
|
+
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 = exports.makeDefaultBankAccountForm = exports.makeDdpRatecardFee = exports.makeDayOfWeek = exports.makeDatetimeWithTimezone = exports.makeDatetimeRange = exports.makeCvvResultCode = exports.makeCvvResult = exports.makeCvvCode = exports.makeCvv = exports.makeCustomerUpserted = exports.makeCustomerToken = exports.makeCustomerReference = exports.makeCustomerPutForm = void 0;
|
|
14
|
+
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 = 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 = void 0;
|
|
15
|
+
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 = 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 = void 0;
|
|
16
|
+
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 = 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 = void 0;
|
|
17
|
+
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 = 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 = void 0;
|
|
18
|
+
exports.makeInputForm = exports.makeInlineWindowViewportSize = exports.makeInlineAuthorizationForm = exports.makeInlineAuthorizationDetails = exports.makeInlineActionConfiguration = exports.makeIndirectTax = exports.makeIncoterm = exports.makeIncludedLevyKey = exports.makeIncludedLevies = exports.makeInboundCartonFee = exports.makeInComplianceReview = exports.makeImportVersion = exports.makeImportType = exports.makeImportTemplateForm = exports.makeImportTemplateExample = exports.makeImportTemplate = exports.makeImportResults = exports.makeImportForm = exports.makeImportFailedV2 = exports.makeImportCompletedV2 = exports.makeImport = exports.makeImageTag = exports.makeImageForm = exports.makeImage = exports.makeIdentifierForm = exports.makeHs6CodeUpserted = exports.makeHs6CodeDeleted = exports.makeHs6 = exports.makeHs10Version = exports.makeHs10CodeUpserted = exports.makeHs10CodeDeleted = exports.makeHs10 = exports.makeHopV2 = exports.makeHopEstimateV2 = exports.makeHopEstimate = exports.makeHop = exports.makeHolidayCalendar = exports.makeHealthcheck = exports.makeHeader = exports.makeHarmonizedLandedCostUpserted = exports.makeHarmonizedLandedCostItem = exports.makeHarmonizedLandedCostForm = exports.makeHarmonizedLandedCost = exports.makeHarmonizedItemReference = exports.makeHarmonizedItemPutForm = exports.makeHarmonizedItemForm = exports.makeHarmonizedItem = exports.makeHarmonizedCategoryReference = exports.makeHarmonizationTariffCodesExportType = exports.makeHarmonizationOverviewExportType = void 0;
|
|
19
|
+
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 = 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 = void 0;
|
|
20
|
+
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.makeLabelTriggerMethod = exports.makeLabelTrackingSummaryUpdate = exports.makeLabelTrackingSummary = exports.makeLabelTrackingCarrierService = exports.makeLabelRequestMethod = exports.makeLabelReference = exports.makeLabelOrderSummary = exports.makeLabelFormatUpserted = exports.makeLabelFormatDeleted = exports.makeLabelDeletedV2 = exports.makeKubeHealthcheck = exports.makeKlaviyoOrderPrices = exports.makeKlaviyoOrderContent = exports.makeKlaviyoLineItem = exports.makeKlarnaSdkAuthorizationResultActionDetails = exports.makeKlarnaPaymentMethodCategory = exports.makeKlarnaPaymentCategory = exports.makeJsonpResponse = exports.makeItemVersion = exports.makeItemStatistics = exports.makeItemShippingPricing = exports.makeItemSalesMarginUpserted = exports.makeItemSalesMarginDeleted = exports.makeItemReference = exports.makeItemQuerySuggestion = exports.makeItemPriceUpdatePutForm = exports.makeItemPriceUpdateForm = exports.makeItemOriginUpserted = exports.makeItemOriginDeleted = void 0;
|
|
21
|
+
exports.makeMerchantGiftCardBalanceForm = exports.makeMerchantGiftCardBalance = exports.makeMerchantApplicationsSummary = exports.makeMerchantApplicationUpserted = exports.makeMerchantApplicationPutForm = exports.makeMerchantApplicationForm = exports.makeMerchantApplicationDeleted = exports.makeMerchantApplication = exports.makeMerchantActivated = exports.makeMembershipVersion = exports.makeMembershipUpsertedV2 = exports.makeMembershipPutForm = exports.makeMembershipForm = exports.makeMembershipDeletedV2 = exports.makeMembership = exports.makeMeasurementSystem = exports.makeMeasurement = exports.makeMarketingFeedsExportType = exports.makeMarginType = exports.makeMargin = exports.makeManifestedLabelUpserted = exports.makeManifestedLabelDeleted = exports.makeManifestForm = exports.makeManifest = exports.makeLogoImageSvg = exports.makeLogoImageStatic = exports.makeLogoImageSetStatic = exports.makeLogoImage = exports.makeLogisticsSettings = exports.makeLogisticsFormatPreference = exports.makeLogisticsFormat = exports.makeLocationErrorCode = exports.makeLocationError = exports.makeLocalizedTranslation = exports.makeLocalizedTotal = exports.makeLocalizedPrice = exports.makeLocalizedLineItemDiscount = exports.makeLocalizedLineItem = exports.makeLocalizedItemVat = exports.makeLocalizedItemPricesExportType = exports.makeLocalizedItemPrice = exports.makeLocalizedItemDuty = exports.makeLocalizedAdjustment = exports.makeLocaleNumbers = exports.makeLocale = exports.makeLocalSession = exports.makeLocalPriceDetails = exports.makeLocalItemUpserted = exports.makeLocalItemPricing = exports.makeLocalItemDeleted = void 0;
|
|
22
|
+
exports.makeOrderBuilder = exports.makeOrderAddress = exports.makeOrder = exports.makeOptions = exports.makeOptionWeightEstimates = exports.makeOptinResponseType = exports.makeOptinResponse = exports.makeOperationsContact = exports.makeOnlinePaymentAuthorizationForm = exports.makeOnlineAuthorizationUpsertedV2 = exports.makeOnlineAuthorizationDetails = exports.makeOnlineAuthorizationDeletedV2 = exports.makeOnlineAuthorization = exports.makeOnboardingTradeSector = exports.makeOnboardingStateTransition = exports.makeOnboardingState = exports.makeOnboardingOrganizationReference = exports.makeOnboardingMerchantTime = exports.makeOnboardingMerchantScheduledPickup = exports.makeOnboardingMerchantPickupWindow = exports.makeOnboardingBlockedReason = exports.makeOnboardingApplicationStatus = exports.makeNumberRange = exports.makeNotificationUpsertedV2 = exports.makeNotificationDeletedV2 = exports.makeNoInventoryReservationErrorItem = exports.makeNoInventoryReservationError = exports.makeNameForm = exports.makeName = exports.makeMonthlyAverageVolume = exports.makeMonthlyAverage = exports.makeMoneyWithOptionalBase = exports.makeMoneyWithBase = exports.makeMoney = exports.makeMethod = exports.makeMerchantRejectedReason = exports.makeMerchantRejected = exports.makeMerchantOnboardingAddress = exports.makeMerchantOfRecordPaymentForm = exports.makeMerchantOfRecordEntityRegistration = exports.makeMerchantOfRecordEntity = exports.makeMerchantOfRecordAuthorizationForm = exports.makeMerchantOfRecord = exports.makeMerchantInfo = exports.makeMerchantGiftCardReversalForm = exports.makeMerchantGiftCardReversal = exports.makeMerchantGiftCardRedemptionForm = exports.makeMerchantGiftCardRedemption = exports.makeMerchantGiftCardErrorCode = exports.makeMerchantGiftCardError = void 0;
|
|
23
|
+
exports.makeOrderPriceDetail = exports.makeOrderPlacedV2 = exports.makeOrderPlacedDetails = exports.makeOrderPlaced = exports.makeOrderPaymentType = exports.makeOrderPayment = exports.makeOrderOptions = exports.makeOrderNumberReference = exports.makeOrderNumberGeneratorUuid = exports.makeOrderNumberGeneratorPrefixSuffix = exports.makeOrderNumberGeneratorHexadecimal = exports.makeOrderNumberGeneratorGeneratedNumber = exports.makeOrderNumberGeneratorFixedLength = exports.makeOrderNumberGeneratorDefaults = exports.makeOrderNumberGenerator = exports.makeOrderMerchantOfRecord = exports.makeOrderInformationFlow = exports.makeOrderInformationDetails = exports.makeOrderInformation = exports.makeOrderIdentifierVersion = exports.makeOrderIdentifierUpsertedV3 = exports.makeOrderIdentifierUpsertedV2 = exports.makeOrderIdentifierUpserted = exports.makeOrderIdentifierPutForm = exports.makeOrderIdentifierForm = exports.makeOrderIdentifierDeletedV2 = exports.makeOrderIdentifierDeleted = exports.makeOrderIdentifier = exports.makeOrderGeo = exports.makeOrderFraudStatus = exports.makeOrderForm = exports.makeOrderExportType = exports.makeOrderEstimateForm = exports.makeOrderEstimate = exports.makeOrderErrorCode = exports.makeOrderError = exports.makeOrderDetails = exports.makeOrderDestinationPutForm = exports.makeOrderDeletedV2 = exports.makeOrderDeleted = exports.makeOrderCustomerForm = exports.makeOrderCustomer = exports.makeOrderChangeSource = exports.makeOrderBuilderSelectionsForm = exports.makeOrderBuilderDestinationForm = exports.makeOrderBuilderDestinationCountryForm = exports.makeOrderBuilderDeliveredDutyForm = exports.makeOrderBuilderCustomerInvoiceAddressForm = exports.makeOrderBuilderCustomerForm = exports.makeOrderBuilderAttributesForm = void 0;
|
|
24
|
+
exports.makeOrderRuleReference = exports.makeOrderReplacementUpserted = exports.makeOrderReplacementForm = exports.makeOrderReplacementDeleted = exports.makeOrderReplacement = exports.makeOrderRefundSummaryPartialIncludes = exports.makeOrderRefundSummaryPartialForm = exports.makeOrderRefundSummaryPartialCharged = exports.makeOrderRefundSummaryItem = exports.makeOrderRefundSummaryIncludes = exports.makeOrderRefundSummaryFullForm = exports.makeOrderRefundSummaryForm = exports.makeOrderRefundSummaryAmounts = exports.makeOrderRefundSummary = exports.makeOrderReference = exports.makeOrderQuoteSummaryTotal = exports.makeOrderQuoteSummaryTax = exports.makeOrderQuoteSummaryShippingSurcharges = exports.makeOrderQuoteSummaryShippingFreight = exports.makeOrderQuoteSummaryShipping = exports.makeOrderQuoteSummaryItems = exports.makeOrderQuoteSummaryDuty = exports.makeOrderQuoteSummary = exports.makeOrderQuoteReference = exports.makeOrderQuotePutForm = exports.makeOrderQuotePriceStandard = exports.makeOrderQuotePriceNotYetKnown = exports.makeOrderQuotePriceIncluded = exports.makeOrderQuotePriceFree = exports.makeOrderQuotePriceEstimated = exports.makeOrderQuotePrice = exports.makeOrderQuoteLineErrorCode = exports.makeOrderQuoteLineError = exports.makeOrderQuoteLineDiscount = exports.makeOrderQuoteLine = exports.makeOrderQuoteGeoPutForm = exports.makeOrderQuoteErrorDetails = exports.makeOrderQuoteErrorCode = exports.makeOrderQuoteError = exports.makeOrderQuoteContact = exports.makeOrderQuoteAddressType = exports.makeOrderQuoteAddress = exports.makeOrderQuote = exports.makeOrderPutForm = exports.makeOrderPromotionTrigger = exports.makeOrderPromotionForm = exports.makeOrderPromotion = exports.makeOrderPriceDetailKey = exports.makeOrderPriceDetailComponentKey = exports.makeOrderPriceDetailComponent = void 0;
|
|
25
|
+
exports.makeOrganizationTokenFormV2 = exports.makeOrganizationTokenForm = exports.makeOrganizationToken = exports.makeOrganizationSummary = exports.makeOrganizationStatus = exports.makeOrganizationSessionAuthorization = exports.makeOrganizationSession = exports.makeOrganizationReference = exports.makeOrganizationRatesPublished = exports.makeOrganizationRatesData = exports.makeOrganizationPutForm = exports.makeOrganizationPayout = exports.makeOrganizationPaymentMethodTag = exports.makeOrganizationOnboardingStateUpserted = exports.makeOrganizationOnboardingStateDeleted = exports.makeOrganizationOnboardingState = exports.makeOrganizationForm = exports.makeOrganizationDeletedV2 = exports.makeOrganizationDeleted = exports.makeOrganizationDefaults = exports.makeOrganizationDefaultConfigurationsUpserted = exports.makeOrganizationDefaultConfigurationsForm = exports.makeOrganizationDefaultConfigurationsDeleted = exports.makeOrganizationDefaultConfigurations = exports.makeOrganizationDefaultBankAccount = exports.makeOrganizationConfigurationReference = exports.makeOrganizationBankAccount = exports.makeOrganizationAuthorizationForm = exports.makeOrganizationAuthorization = exports.makeOrganization = exports.makeOrderWithDiscountsForm = exports.makeOrderVersion = exports.makeOrderUpsertedV2 = exports.makeOrderUpserted = exports.makeOrderType = exports.makeOrderSummaryPriceDetail = exports.makeOrderSummaryLineItem = exports.makeOrderSummaryLevy = exports.makeOrderSummaryItem = exports.makeOrderSummaryImage = exports.makeOrderSummary = exports.makeOrderSubmissionIdentifierForm = exports.makeOrderSubmissionForm = exports.makeOrderStorage = exports.makeOrderStatus = exports.makeOrderServiceChangeRequestData = exports.makeOrderServiceChangeRequest = exports.makeOrderServiceChangeForm = exports.makeOrderServiceChange = exports.makeOrderRulesSummary = void 0;
|
|
26
|
+
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 = exports.makePaymentCaptureOptionAutomaticImmediate = exports.makePaymentCaptureOption = exports.makePaymentCaptureForm = exports.makePaymentCapture = exports.makePaymentAuthorizationStatus = exports.makePaymentAuthorization = exports.makePaymentAddressShipping = exports.makePaymentAddressBilling = exports.makePaymentAddress = exports.makePaymentActionType = exports.makePayment = exports.makePasswordResetRequestForm = exports.makePasswordResetForm = exports.makePasswordChangeForm = exports.makePartnerTokenReference = exports.makePartnerTokenForm = exports.makePartnerToken = exports.makePartnerReference = exports.makePartnerCenterForm = exports.makePartnerCenterFee = exports.makePartnerCenter = exports.makeParentTransactionSummary = exports.makePackaging = exports.makeOversizedShipmentRatecardFee = exports.makeOutboundCartonFee = exports.makeOriginalPrices = exports.makeOrganizationVersion = exports.makeOrganizationUpsertedV2 = exports.makeOrganizationUpserted = exports.makeOrganizationType = exports.makeOrganizationTransactionUpserted = exports.makeOrganizationTransactionDeleted = exports.makeOrganizationTokenV2Reference = exports.makeOrganizationTokenV2 = exports.makeOrganizationTokenReference = void 0;
|
|
27
|
+
exports.makePaymentMethodSummaryIdeal = exports.makePaymentMethodSummaryGooglepay = exports.makePaymentMethodSummaryCard = exports.makePaymentMethodSummaryBancontact = exports.makePaymentMethodSummaryApplepay = exports.makePaymentMethodSummaryAfterpay = exports.makePaymentMethodSummary = exports.makePaymentMethodStoredDetailsCardSubsequent = exports.makePaymentMethodStoredDetailsCardInitial = exports.makePaymentMethodStoredDetailsCard = exports.makePaymentMethodRuleContentKey = exports.makePaymentMethodRuleContent = exports.makePaymentMethodRule = exports.makePaymentMethodIssuer = exports.makePaymentMethodImages = exports.makePaymentMethodImage = exports.makePaymentMethodDataValidateApplepay = exports.makePaymentMethodDataSelectedPaymentOption = exports.makePaymentMethodDataPaymentOption = exports.makePaymentMethodDataOptionType = exports.makePaymentMethodDataOptionLogoSvg = exports.makePaymentMethodDataOptionLogo = exports.makePaymentMethodDataInitSofort = exports.makePaymentMethodDataInitPaypal = exports.makePaymentMethodDataInitKlarna = exports.makePaymentMethodDataInitIdeal = exports.makePaymentMethodDataInitGooglepay = exports.makePaymentMethodDataInitBancontact = exports.makePaymentMethodDataInitApplepay = exports.makePaymentMethodDataInitAfterpay = exports.makePaymentMethodDataCompleteAuthorizationCard = exports.makePaymentMethodDataAuthorizePaypal = exports.makePaymentMethodDataAuthorizeKlarnaResultSuccess = exports.makePaymentMethodDataAuthorizeKlarnaResultFailure = exports.makePaymentMethodDataAuthorizeKlarnaResult = exports.makePaymentMethodDataAuthorizeKlarna = exports.makePaymentMethodDataAuthorizeGooglepay = exports.makePaymentMethodDataAuthorizeCard = exports.makePaymentMethodDataAuthorizeApplepayResultSuccess = exports.makePaymentMethodDataAuthorizeApplepayResultFailure = exports.makePaymentMethodDataAuthorizeApplepayResult = exports.makePaymentMethodDataAuthorizeApplepay = exports.makePaymentMethodData = exports.makePaymentMethodCardToken = exports.makePaymentMethodCardPciDetails = exports.makePaymentMethodCardNumberCleartext = exports.makePaymentMethodCardNumberCipher = exports.makePaymentMethodCard = exports.makePaymentMethodCapability = exports.makePaymentMethodBrand = void 0;
|
|
28
|
+
exports.makePayoutStatusScheduled = exports.makePayoutStatusFailureCode = exports.makePayoutStatusFailed = exports.makePayoutStatus = exports.makePayoutAttachmentType = exports.makePayoutAttachment = exports.makePaymentVersion = exports.makePaymentUpserted = exports.makePaymentType = exports.makePaymentTax = exports.makePaymentStatus = exports.makePaymentSourceForm = exports.makePaymentSourceConfirmationActionType = exports.makePaymentSourceConfirmationAction = exports.makePaymentSource = exports.makePaymentReversalStatus = exports.makePaymentReversalForm = exports.makePaymentReversal = exports.makePaymentRequestUpserted = exports.makePaymentRequestReviewStatus = exports.makePaymentRequestReviewCheckType = exports.makePaymentRequestReviewCheckStatus = exports.makePaymentRequestReviewCheck = exports.makePaymentRequestReview = exports.makePaymentRequestReference = exports.makePaymentRequestForm = exports.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 = void 0;
|
|
29
|
+
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.makePayoutTransaction = exports.makePayoutStatusSent = void 0;
|
|
30
|
+
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 = exports.makePriceWithBaseAndDetails = void 0;
|
|
31
|
+
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 = exports.makeRatecardEstimateV1 = void 0;
|
|
32
|
+
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 = exports.makeRemoteAreaRatecardFee = void 0;
|
|
33
|
+
exports.makeShippingConfigurationCopy = exports.makeShippingConfiguration = exports.makeShippingAddress = exports.makeShipping = exports.makeShipmentWindow = exports.makeShipmentRecipient = exports.makeShipmentIntegrationType = exports.makeSetupInProgress = exports.makeSetupCompleted = exports.makeSetupBlocked = exports.makeSettlementPayout = exports.makeSettlementNoPayout = exports.makeSettlement = exports.makeSessionVisitor = exports.makeSessionVisit = exports.makeSessionReference = exports.makeSessionPutForm = exports.makeSessionGeo = exports.makeSessionFormat = exports.makeSessionForm = exports.makeSessionExpirationConfig = exports.makeSessionExperimentVariantForm = exports.makeSessionExperimentVariant = exports.makeSessionExperimentForm = exports.makeSessionExperiment = exports.makeSessionCurrencyFormat = exports.makeSessionContextExperiment = exports.makeSessionAuthorizationForm = exports.makeSessionAuthorization = exports.makeSession = exports.makeServiceUnknown = exports.makeServiceSummary = exports.makeServiceReference = exports.makeServiceFee = exports.makeServiceDescription = exports.makeSelectIssuerOptionActionDetails = exports.makeSdkAdyenV3AuthenticationToken = exports.makeScheduledPickup = exports.makeScheduledExportForm = exports.makeScheduledExport = exports.makeScheduleExceptionStatus = exports.makeSchedule = exports.makeRuleUpserted = exports.makeRuleDeleted = exports.makeRouteAudit = exports.makeRoundingType = exports.makeRoundingMethod = exports.makeRounding = exports.makeRomanizationForm = exports.makeRomanization = void 0;
|
|
34
|
+
exports.makeShopifyLine = exports.makeShopifyItemEventData = exports.makeShopifyItemEventBucket = exports.makeShopifyGrant = exports.makeShopifyEventBucket = exports.makeShopifyCustomerMetafieldValue = exports.makeShopifyCartItem = exports.makeShopifyCartConversionShopifyCart = exports.makeShopifyCartConversionFlowOrder = exports.makeShopifyCartConversion = exports.makeShopifyCartChangeForm = exports.makeShopifyCartAddSingleForm = exports.makeShopifyCartAddMultipleForm = exports.makeShopifyCartAddForm = exports.makeShopifyCart = exports.makeShop = exports.makeShippingNotificationVersion = exports.makeShippingNotificationForm = exports.makeShippingNotification = exports.makeShippingLaneVersion = exports.makeShippingLaneUpserted = exports.makeShippingLaneSummary = exports.makeShippingLaneForm = exports.makeShippingLaneDeleted = exports.makeShippingLaneDefaultTierForm = exports.makeShippingLaneDefaultTier = exports.makeShippingLane = exports.makeShippingLabelVersion = exports.makeShippingLabelSummary = exports.makeShippingLabelRatecardSummary = exports.makeShippingLabelPackage = exports.makeShippingLabelLaneSummary = exports.makeShippingLabelHopSummary = exports.makeShippingLabelForm = exports.makeShippingLabelDocument = exports.makeShippingLabel = exports.makeShippingConfigurationVersion = exports.makeShippingConfigurationUpserted = exports.makeShippingConfigurationType = exports.makeShippingConfigurationSummary = exports.makeShippingConfigurationReference = exports.makeShippingConfigurationItemShippingPricingUpserted = exports.makeShippingConfigurationItemShippingPricingDeleted = exports.makeShippingConfigurationItemShippingPricing = exports.makeShippingConfigurationItemAvailabilityUpserted = exports.makeShippingConfigurationItemAvailabilityDeleted = exports.makeShippingConfigurationItemAvailability = exports.makeShippingConfigurationForm = exports.makeShippingConfigurationDeleted = exports.makeShippingConfigurationCopyForm = void 0;
|
|
35
|
+
exports.makeSubcatalogItem = exports.makeSubcatalogForm = exports.makeSubcatalogDeleted = exports.makeSubcatalog = exports.makeStripeAuthorizationResultActionDetails = exports.makeStripeAuthenticationDataForm = exports.makeStripeAuthenticationData = exports.makeStreetAddress = exports.makeStrategy = exports.makeStatementUpserted = exports.makeStatementDeleted = exports.makeStatementAttachmentType = 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 = exports.makeShopifyLocalizedOrder = exports.makeShopifyLocalizationSettingUpserted = exports.makeShopifyLocalizationSettingForm = exports.makeShopifyLocalizationSettingDeleted = exports.makeShopifyLocalizationSetting = exports.makeShopifyLocalizationMethod = exports.makeShopifyLocalPriceMetadata = exports.makeShopifyLocalCartMetadata = exports.makeShopifyLocalCartItemMetadata = void 0;
|
|
36
|
+
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 = exports.makeSubcatalogVersion = exports.makeSubcatalogUpserted = exports.makeSubcatalogStatistics = exports.makeSubcatalogSettingsForm = exports.makeSubcatalogSettings = exports.makeSubcatalogReference = exports.makeSubcatalogItemVersion = exports.makeSubcatalogItemUpserted = exports.makeSubcatalogItemStatus = exports.makeSubcatalogItemDeleted = void 0;
|
|
37
|
+
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 = exports.makeThreedsIdentifyActionDetails = exports.makeThreedsIdentifyAction = exports.makeThreedsChallengeActionDetails = exports.makeThreedsChallengeAction = exports.makeThreeDSecureCode = exports.makeThreeDSecure = exports.makeThirdPartyLogisticsPartner = exports.makeTestUpserted = exports.makeTest = exports.makeTaxabilityValue = exports.makeTaxabilityType = exports.makeTaxVerificationResult = void 0;
|
|
38
|
+
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.makeTransactionNetworkDetailsCard = exports.makeTransactionDetailsCard = exports.makeTransactionDetails = exports.makeTransaction = exports.makeTradeAgreementStatus = exports.makeTradeAgreementName = exports.makeTradeAgreementDuty = exports.makeTradeAgreementCertifier = exports.makeTradeAgreement = exports.makeTrackingVersion = exports.makeTrackingSummary = exports.makeTrackingStatus = exports.makeTrackingNumberType = exports.makeTrackingLabelVersion = exports.makeTrackingLabelSummary = exports.makeTrackingLabelForm = exports.makeTrackingLabelEventUpserted = void 0;
|
|
39
|
+
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 = void 0;
|
|
40
40
|
var faker_1 = __importDefault(require("@faker-js/faker"));
|
|
41
41
|
var arrayOf = function (f) {
|
|
42
42
|
var length = 3;
|
|
@@ -2103,6 +2103,7 @@ var factories = {
|
|
|
2103
2103
|
'io.flow.v0.enums.entity_identifier_type': function () { return faker_1.default.helpers.arrayElement(['ioss', 'voec']); },
|
|
2104
2104
|
'io.flow.v0.enums.environment': function () { return faker_1.default.helpers.arrayElement(['sandbox', 'production']); },
|
|
2105
2105
|
'io.flow.v0.enums.event_type': function () { return faker_1.default.helpers.arrayElement([
|
|
2106
|
+
'test_upserted',
|
|
2106
2107
|
'transaction_upserted',
|
|
2107
2108
|
'organization_transaction_upserted',
|
|
2108
2109
|
'organization_transaction_deleted',
|
|
@@ -2591,6 +2592,19 @@ var factories = {
|
|
|
2591
2592
|
'io.flow.v0.enums.payment_method_data_option_type': function () { return faker_1.default.helpers.arrayElement(['ideal_issuer_option']); },
|
|
2592
2593
|
'io.flow.v0.enums.payment_method_rule_content_key': function () { return faker_1.default.helpers.arrayElement(['description']); },
|
|
2593
2594
|
'io.flow.v0.enums.payment_method_type': function () { return faker_1.default.helpers.arrayElement(['card', 'online', 'offline']); },
|
|
2595
|
+
'io.flow.v0.enums.payment_request_review_check_status': function () { return faker_1.default.helpers.arrayElement(['passed', 'failed']); },
|
|
2596
|
+
'io.flow.v0.enums.payment_request_review_check_type': function () { return faker_1.default.helpers.arrayElement([
|
|
2597
|
+
'restricted_party_screening',
|
|
2598
|
+
'fraud_suspicious_behavior',
|
|
2599
|
+
'fraud_suspicious_past_activity',
|
|
2600
|
+
'fraud_risky_velocity',
|
|
2601
|
+
'fraud_previous_chargebacks',
|
|
2602
|
+
'order_restricted_goods',
|
|
2603
|
+
'order_unsupported_destination',
|
|
2604
|
+
'order_missing_information',
|
|
2605
|
+
'order_domestic',
|
|
2606
|
+
]); },
|
|
2607
|
+
'io.flow.v0.enums.payment_request_review_status': function () { return faker_1.default.helpers.arrayElement(['pending', 'approved', 'rejected']); },
|
|
2594
2608
|
'io.flow.v0.enums.payment_source_confirmation_action_type': function () { return faker_1.default.helpers.arrayElement(['cvv', 'billing_address', 'number']); },
|
|
2595
2609
|
'io.flow.v0.enums.payment_status': function () { return faker_1.default.helpers.arrayElement([
|
|
2596
2610
|
'requires_payment_method',
|
|
@@ -3200,6 +3214,11 @@ var factories = {
|
|
|
3200
3214
|
validation_url: factories.string(),
|
|
3201
3215
|
display_name: factories.string(),
|
|
3202
3216
|
}); },
|
|
3217
|
+
'io.flow.v0.models.applepay_sdk_authorization_result_action_details': function () { return ({
|
|
3218
|
+
discriminator: 'applepay_sdk_authorization_result_action_details',
|
|
3219
|
+
merchant_identifier: factories.string(),
|
|
3220
|
+
payment_data_request: factories.object(),
|
|
3221
|
+
}); },
|
|
3203
3222
|
'io.flow.v0.models.at_cost': function () { return ({
|
|
3204
3223
|
discriminator: 'at_cost',
|
|
3205
3224
|
ignore: factories.string(),
|
|
@@ -3495,7 +3514,6 @@ var factories = {
|
|
|
3495
3514
|
b2b_invoice: factories['io.flow.v0.models.b2b_invoice'](),
|
|
3496
3515
|
}); },
|
|
3497
3516
|
'io.flow.v0.models.bank_account_form': function () { return ({
|
|
3498
|
-
last4: factories.string(),
|
|
3499
3517
|
info: factories['io.flow.v0.unions.bank_account_info'](),
|
|
3500
3518
|
}); },
|
|
3501
3519
|
'io.flow.v0.models.bank_account_info_usa': function () { return ({
|
|
@@ -3506,6 +3524,9 @@ var factories = {
|
|
|
3506
3524
|
'io.flow.v0.models.bank_account_reference': function () { return ({
|
|
3507
3525
|
id: factories.string(),
|
|
3508
3526
|
}); },
|
|
3527
|
+
'io.flow.v0.models.bank_account_summary': function () { return ({
|
|
3528
|
+
last4: factories.string(),
|
|
3529
|
+
}); },
|
|
3509
3530
|
'io.flow.v0.models.behavior_audit': function () { return ({
|
|
3510
3531
|
behavior: factories['io.flow.v0.enums.flow_behavior'](),
|
|
3511
3532
|
authentication_techniques: arrayOf(function () { return factories['io.flow.v0.enums.authentication_technique'](); }),
|
|
@@ -3995,6 +4016,11 @@ var factories = {
|
|
|
3995
4016
|
'io.flow.v0.models.channel_authorization_form': function () { return ({
|
|
3996
4017
|
channel_id: factories.string(),
|
|
3997
4018
|
}); },
|
|
4019
|
+
'io.flow.v0.models.channel_bank_account': function () { return ({
|
|
4020
|
+
id: factories.string(),
|
|
4021
|
+
key: factories.string(),
|
|
4022
|
+
last4: factories.string(),
|
|
4023
|
+
}); },
|
|
3998
4024
|
'io.flow.v0.models.channel_currency': function () { return ({
|
|
3999
4025
|
id: factories.string(),
|
|
4000
4026
|
currency: factories.string(),
|
|
@@ -4013,6 +4039,10 @@ var factories = {
|
|
|
4013
4039
|
timestamp: factories.date_time_iso_8601(),
|
|
4014
4040
|
channel_currency: factories['io.flow.v0.models.channel_currency'](),
|
|
4015
4041
|
}); },
|
|
4042
|
+
'io.flow.v0.models.channel_default_bank_account': function () { return ({
|
|
4043
|
+
id: factories.string(),
|
|
4044
|
+
bank_account: factories['io.flow.v0.models.bank_account_reference'](),
|
|
4045
|
+
}); },
|
|
4016
4046
|
'io.flow.v0.models.channel_deleted': function () { return ({
|
|
4017
4047
|
discriminator: 'channel_deleted',
|
|
4018
4048
|
event_id: factories.string(),
|
|
@@ -4065,6 +4095,7 @@ var factories = {
|
|
|
4065
4095
|
id: factories.string(),
|
|
4066
4096
|
account: factories['io.flow.v0.models.account_reference'](),
|
|
4067
4097
|
status: factories['io.flow.v0.unions.payout_status'](),
|
|
4098
|
+
bank_account: factories['io.flow.v0.models.bank_account_summary'](),
|
|
4068
4099
|
amount: factories.decimal(),
|
|
4069
4100
|
attachments: arrayOf(function () { return factories['io.flow.v0.models.payout_attachment'](); }),
|
|
4070
4101
|
created_at: factories.date_time_iso_8601(),
|
|
@@ -4119,9 +4150,9 @@ var factories = {
|
|
|
4119
4150
|
user: factories['io.flow.v0.models.user_reference'](),
|
|
4120
4151
|
}); },
|
|
4121
4152
|
'io.flow.v0.models.channel_transaction': function () { return ({
|
|
4153
|
+
statement: factories['io.flow.v0.models.billing_channel_statement_reference'](),
|
|
4122
4154
|
id: factories.string(),
|
|
4123
4155
|
order: factories['io.flow.v0.models.billing_channel_order_summary'](),
|
|
4124
|
-
statement: factories['io.flow.v0.models.billing_channel_statement_reference'](),
|
|
4125
4156
|
payment_request: factories['io.flow.v0.models.billing_channel_payment_request_reference'](),
|
|
4126
4157
|
currency: factories.string(),
|
|
4127
4158
|
source: factories['io.flow.v0.enums.transaction_source'](),
|
|
@@ -7681,6 +7712,7 @@ var factories = {
|
|
|
7681
7712
|
}); },
|
|
7682
7713
|
'io.flow.v0.models.organization_bank_account': function () { return ({
|
|
7683
7714
|
id: factories.string(),
|
|
7715
|
+
key: factories.string(),
|
|
7684
7716
|
last4: factories.string(),
|
|
7685
7717
|
}); },
|
|
7686
7718
|
'io.flow.v0.models.organization_configuration_reference': function () { return ({
|
|
@@ -7762,6 +7794,7 @@ var factories = {
|
|
|
7762
7794
|
id: factories.string(),
|
|
7763
7795
|
account: factories['io.flow.v0.models.account_reference'](),
|
|
7764
7796
|
status: factories['io.flow.v0.unions.payout_status'](),
|
|
7797
|
+
bank_account: factories['io.flow.v0.models.bank_account_summary'](),
|
|
7765
7798
|
amount: factories.decimal(),
|
|
7766
7799
|
attachments: arrayOf(function () { return factories['io.flow.v0.models.payout_attachment'](); }),
|
|
7767
7800
|
created_at: factories.date_time_iso_8601(),
|
|
@@ -8377,6 +8410,7 @@ var factories = {
|
|
|
8377
8410
|
payment_information: factories['io.flow.v0.models.payment_information'](),
|
|
8378
8411
|
supported_actions: arrayOf(function () { return factories['io.flow.v0.enums.payment_action_type'](); }),
|
|
8379
8412
|
payment_capture_option: factories['io.flow.v0.unions.payment_capture_option'](),
|
|
8413
|
+
review: factories['io.flow.v0.models.payment_request_review'](),
|
|
8380
8414
|
}); },
|
|
8381
8415
|
'io.flow.v0.models.payment_request_billing': function () { return ({
|
|
8382
8416
|
fees: factories['io.flow.v0.models.payment_request_billing_fees'](),
|
|
@@ -8410,6 +8444,14 @@ var factories = {
|
|
|
8410
8444
|
id: factories.string(),
|
|
8411
8445
|
reference: factories.string(),
|
|
8412
8446
|
}); },
|
|
8447
|
+
'io.flow.v0.models.payment_request_review': function () { return ({
|
|
8448
|
+
status: factories['io.flow.v0.enums.payment_request_review_status'](),
|
|
8449
|
+
checks: arrayOf(function () { return factories['io.flow.v0.models.payment_request_review_check'](); }),
|
|
8450
|
+
}); },
|
|
8451
|
+
'io.flow.v0.models.payment_request_review_check': function () { return ({
|
|
8452
|
+
type: factories['io.flow.v0.enums.payment_request_review_check_type'](),
|
|
8453
|
+
status: factories['io.flow.v0.enums.payment_request_review_check_status'](),
|
|
8454
|
+
}); },
|
|
8413
8455
|
'io.flow.v0.models.payment_request_upserted': function () { return ({
|
|
8414
8456
|
discriminator: 'payment_request_upserted',
|
|
8415
8457
|
event_id: factories.string(),
|
|
@@ -8471,6 +8513,22 @@ var factories = {
|
|
|
8471
8513
|
code: 'sent',
|
|
8472
8514
|
timestamp: factories.date_time_iso_8601(),
|
|
8473
8515
|
}); },
|
|
8516
|
+
'io.flow.v0.models.payout_transaction': function () { return ({
|
|
8517
|
+
id: factories.string(),
|
|
8518
|
+
order: factories['io.flow.v0.models.billing_channel_order_summary'](),
|
|
8519
|
+
payment_request: factories['io.flow.v0.models.billing_channel_payment_request_reference'](),
|
|
8520
|
+
currency: factories.string(),
|
|
8521
|
+
source: factories['io.flow.v0.enums.transaction_source'](),
|
|
8522
|
+
parent: factories['io.flow.v0.models.parent_transaction_summary'](),
|
|
8523
|
+
gross: factories.decimal(),
|
|
8524
|
+
fees: arrayOf(function () { return factories['io.flow.v0.models.fee_deduction'](); }),
|
|
8525
|
+
withholdings: arrayOf(function () { return factories['io.flow.v0.models.withholding_deduction'](); }),
|
|
8526
|
+
discounts: arrayOf(function () { return factories['io.flow.v0.models.billing_discount'](); }),
|
|
8527
|
+
net: factories.decimal(),
|
|
8528
|
+
identifiers: objectOf(function () { return factories.string(); }),
|
|
8529
|
+
created_at: factories.date_time_iso_8601(),
|
|
8530
|
+
updated_at: factories.date_time_iso_8601(),
|
|
8531
|
+
}); },
|
|
8474
8532
|
'io.flow.v0.models.paypal_authorization_details': function () { return ({
|
|
8475
8533
|
discriminator: 'paypal_authorization_details',
|
|
8476
8534
|
payment_id: factories.string(),
|
|
@@ -10608,6 +10666,16 @@ var factories = {
|
|
|
10608
10666
|
types: arrayOf(function () { return factories['io.flow.v0.enums.tax_report_type'](); }),
|
|
10609
10667
|
email_recipients: arrayOf(function () { return factories.string(); }),
|
|
10610
10668
|
}); },
|
|
10669
|
+
'io.flow.v0.models.test': function () { return ({
|
|
10670
|
+
id: factories.string(),
|
|
10671
|
+
}); },
|
|
10672
|
+
'io.flow.v0.models.test_upserted': function () { return ({
|
|
10673
|
+
discriminator: 'test_upserted',
|
|
10674
|
+
event_id: factories.string(),
|
|
10675
|
+
timestamp: factories.date_time_iso_8601(),
|
|
10676
|
+
organization: factories.string(),
|
|
10677
|
+
test: factories['io.flow.v0.models.test'](),
|
|
10678
|
+
}); },
|
|
10611
10679
|
'io.flow.v0.models.third_party_logistics_partner': function () { return ({
|
|
10612
10680
|
warehouse_address: factories['io.flow.v0.models.merchant_onboarding_address'](),
|
|
10613
10681
|
warehouse_url: factories.string(),
|
|
@@ -10889,9 +10957,9 @@ var factories = {
|
|
|
10889
10957
|
duty: factories['io.flow.v0.models.duty'](),
|
|
10890
10958
|
}); },
|
|
10891
10959
|
'io.flow.v0.models.transaction': function () { return ({
|
|
10960
|
+
statement: factories['io.flow.v0.models.billing_channel_statement_reference'](),
|
|
10892
10961
|
id: factories.string(),
|
|
10893
10962
|
order: factories['io.flow.v0.models.billing_channel_order_summary'](),
|
|
10894
|
-
statement: factories['io.flow.v0.models.billing_channel_statement_reference'](),
|
|
10895
10963
|
payment_request: factories['io.flow.v0.models.billing_channel_payment_request_reference'](),
|
|
10896
10964
|
currency: factories.string(),
|
|
10897
10965
|
source: factories['io.flow.v0.enums.transaction_source'](),
|
|
@@ -11212,6 +11280,7 @@ var factories = {
|
|
|
11212
11280
|
function () { return factories['io.flow.v0.models.stripe_authorization_result_action_details'](); },
|
|
11213
11281
|
function () { return factories['io.flow.v0.models.threeds_identify_action_details'](); },
|
|
11214
11282
|
function () { return factories['io.flow.v0.models.threeds_challenge_action_details'](); },
|
|
11283
|
+
function () { return factories['io.flow.v0.models.applepay_sdk_authorization_result_action_details'](); },
|
|
11215
11284
|
function () { return factories['io.flow.v0.models.klarna_sdk_authorization_result_action_details'](); },
|
|
11216
11285
|
function () { return factories['io.flow.v0.models.select_issuer_option_action_details'](); },
|
|
11217
11286
|
]);
|
|
@@ -11322,6 +11391,7 @@ var factories = {
|
|
|
11322
11391
|
},
|
|
11323
11392
|
'io.flow.v0.unions.event': function () {
|
|
11324
11393
|
var f = faker_1.default.helpers.arrayElement([
|
|
11394
|
+
function () { return factories['io.flow.v0.models.test_upserted'](); },
|
|
11325
11395
|
function () { return factories['io.flow.v0.models.transaction_upserted'](); },
|
|
11326
11396
|
function () { return factories['io.flow.v0.models.organization_transaction_upserted'](); },
|
|
11327
11397
|
function () { return factories['io.flow.v0.models.organization_transaction_deleted'](); },
|
|
@@ -12205,6 +12275,8 @@ var makeAnalyticsExportType = function () { return factories['io.flow.v0.models.
|
|
|
12205
12275
|
exports.makeAnalyticsExportType = makeAnalyticsExportType;
|
|
12206
12276
|
var makeApplePayMerchantValidationPayload = function () { return factories['io.flow.v0.models.apple_pay_merchant_validation_payload'](); };
|
|
12207
12277
|
exports.makeApplePayMerchantValidationPayload = makeApplePayMerchantValidationPayload;
|
|
12278
|
+
var makeApplepaySdkAuthorizationResultActionDetails = function () { return factories['io.flow.v0.models.applepay_sdk_authorization_result_action_details'](); };
|
|
12279
|
+
exports.makeApplepaySdkAuthorizationResultActionDetails = makeApplepaySdkAuthorizationResultActionDetails;
|
|
12208
12280
|
var makeAtCost = function () { return factories['io.flow.v0.models.at_cost'](); };
|
|
12209
12281
|
exports.makeAtCost = makeAtCost;
|
|
12210
12282
|
var makeAttachment = function () { return factories['io.flow.v0.models.attachment'](); };
|
|
@@ -12337,6 +12409,8 @@ var makeBankAccountInfoUsa = function () { return factories['io.flow.v0.models.b
|
|
|
12337
12409
|
exports.makeBankAccountInfoUsa = makeBankAccountInfoUsa;
|
|
12338
12410
|
var makeBankAccountReference = function () { return factories['io.flow.v0.models.bank_account_reference'](); };
|
|
12339
12411
|
exports.makeBankAccountReference = makeBankAccountReference;
|
|
12412
|
+
var makeBankAccountSummary = function () { return factories['io.flow.v0.models.bank_account_summary'](); };
|
|
12413
|
+
exports.makeBankAccountSummary = makeBankAccountSummary;
|
|
12340
12414
|
var makeBehaviorAudit = function () { return factories['io.flow.v0.models.behavior_audit'](); };
|
|
12341
12415
|
exports.makeBehaviorAudit = makeBehaviorAudit;
|
|
12342
12416
|
var makeBillingAddress = function () { return factories['io.flow.v0.models.billing_address'](); };
|
|
@@ -12513,6 +12587,8 @@ var makeChannelAuthorization = function () { return factories['io.flow.v0.models
|
|
|
12513
12587
|
exports.makeChannelAuthorization = makeChannelAuthorization;
|
|
12514
12588
|
var makeChannelAuthorizationForm = function () { return factories['io.flow.v0.models.channel_authorization_form'](); };
|
|
12515
12589
|
exports.makeChannelAuthorizationForm = makeChannelAuthorizationForm;
|
|
12590
|
+
var makeChannelBankAccount = function () { return factories['io.flow.v0.models.channel_bank_account'](); };
|
|
12591
|
+
exports.makeChannelBankAccount = makeChannelBankAccount;
|
|
12516
12592
|
var makeChannelCurrency = function () { return factories['io.flow.v0.models.channel_currency'](); };
|
|
12517
12593
|
exports.makeChannelCurrency = makeChannelCurrency;
|
|
12518
12594
|
var makeChannelCurrencyCapability = function () { return factories['io.flow.v0.enums.channel_currency_capability'](); };
|
|
@@ -12521,6 +12597,8 @@ var makeChannelCurrencyDeleted = function () { return factories['io.flow.v0.mode
|
|
|
12521
12597
|
exports.makeChannelCurrencyDeleted = makeChannelCurrencyDeleted;
|
|
12522
12598
|
var makeChannelCurrencyUpserted = function () { return factories['io.flow.v0.models.channel_currency_upserted'](); };
|
|
12523
12599
|
exports.makeChannelCurrencyUpserted = makeChannelCurrencyUpserted;
|
|
12600
|
+
var makeChannelDefaultBankAccount = function () { return factories['io.flow.v0.models.channel_default_bank_account'](); };
|
|
12601
|
+
exports.makeChannelDefaultBankAccount = makeChannelDefaultBankAccount;
|
|
12524
12602
|
var makeChannelDeleted = function () { return factories['io.flow.v0.models.channel_deleted'](); };
|
|
12525
12603
|
exports.makeChannelDeleted = makeChannelDeleted;
|
|
12526
12604
|
var makeChannelOrganization = function () { return factories['io.flow.v0.models.channel_organization'](); };
|
|
@@ -14315,6 +14393,16 @@ var makePaymentRequestForm = function () { return factories['io.flow.v0.models.p
|
|
|
14315
14393
|
exports.makePaymentRequestForm = makePaymentRequestForm;
|
|
14316
14394
|
var makePaymentRequestReference = function () { return factories['io.flow.v0.models.payment_request_reference'](); };
|
|
14317
14395
|
exports.makePaymentRequestReference = makePaymentRequestReference;
|
|
14396
|
+
var makePaymentRequestReview = function () { return factories['io.flow.v0.models.payment_request_review'](); };
|
|
14397
|
+
exports.makePaymentRequestReview = makePaymentRequestReview;
|
|
14398
|
+
var makePaymentRequestReviewCheck = function () { return factories['io.flow.v0.models.payment_request_review_check'](); };
|
|
14399
|
+
exports.makePaymentRequestReviewCheck = makePaymentRequestReviewCheck;
|
|
14400
|
+
var makePaymentRequestReviewCheckStatus = function () { return factories['io.flow.v0.enums.payment_request_review_check_status'](); };
|
|
14401
|
+
exports.makePaymentRequestReviewCheckStatus = makePaymentRequestReviewCheckStatus;
|
|
14402
|
+
var makePaymentRequestReviewCheckType = function () { return factories['io.flow.v0.enums.payment_request_review_check_type'](); };
|
|
14403
|
+
exports.makePaymentRequestReviewCheckType = makePaymentRequestReviewCheckType;
|
|
14404
|
+
var makePaymentRequestReviewStatus = function () { return factories['io.flow.v0.enums.payment_request_review_status'](); };
|
|
14405
|
+
exports.makePaymentRequestReviewStatus = makePaymentRequestReviewStatus;
|
|
14318
14406
|
var makePaymentRequestUpserted = function () { return factories['io.flow.v0.models.payment_request_upserted'](); };
|
|
14319
14407
|
exports.makePaymentRequestUpserted = makePaymentRequestUpserted;
|
|
14320
14408
|
var makePaymentReversal = function () { return factories['io.flow.v0.models.payment_reversal'](); };
|
|
@@ -14355,6 +14443,8 @@ var makePayoutStatusScheduled = function () { return factories['io.flow.v0.model
|
|
|
14355
14443
|
exports.makePayoutStatusScheduled = makePayoutStatusScheduled;
|
|
14356
14444
|
var makePayoutStatusSent = function () { return factories['io.flow.v0.models.payout_status_sent'](); };
|
|
14357
14445
|
exports.makePayoutStatusSent = makePayoutStatusSent;
|
|
14446
|
+
var makePayoutTransaction = function () { return factories['io.flow.v0.models.payout_transaction'](); };
|
|
14447
|
+
exports.makePayoutTransaction = makePayoutTransaction;
|
|
14358
14448
|
var makePaypalAuthorizationDetails = function () { return factories['io.flow.v0.models.paypal_authorization_details'](); };
|
|
14359
14449
|
exports.makePaypalAuthorizationDetails = makePaypalAuthorizationDetails;
|
|
14360
14450
|
var makePaypalAuthorizationForm = function () { return factories['io.flow.v0.models.paypal_authorization_form'](); };
|
|
@@ -15157,6 +15247,10 @@ var makeTaxabilityType = function () { return factories['io.flow.v0.enums.taxabi
|
|
|
15157
15247
|
exports.makeTaxabilityType = makeTaxabilityType;
|
|
15158
15248
|
var makeTaxabilityValue = function () { return factories['io.flow.v0.enums.taxability_value'](); };
|
|
15159
15249
|
exports.makeTaxabilityValue = makeTaxabilityValue;
|
|
15250
|
+
var makeTest = function () { return factories['io.flow.v0.models.test'](); };
|
|
15251
|
+
exports.makeTest = makeTest;
|
|
15252
|
+
var makeTestUpserted = function () { return factories['io.flow.v0.models.test_upserted'](); };
|
|
15253
|
+
exports.makeTestUpserted = makeTestUpserted;
|
|
15160
15254
|
var makeThirdPartyLogisticsPartner = function () { return factories['io.flow.v0.models.third_party_logistics_partner'](); };
|
|
15161
15255
|
exports.makeThirdPartyLogisticsPartner = makeThirdPartyLogisticsPartner;
|
|
15162
15256
|
var makeThreeDSecure = function () { return factories['io.flow.v0.models.three_d_secure'](); };
|
package/dist/esm/api.js
CHANGED
|
@@ -2064,6 +2064,7 @@ var factories = {
|
|
|
2064
2064
|
'io.flow.v0.enums.entity_identifier_type': function () { return faker.helpers.arrayElement(['ioss', 'voec']); },
|
|
2065
2065
|
'io.flow.v0.enums.environment': function () { return faker.helpers.arrayElement(['sandbox', 'production']); },
|
|
2066
2066
|
'io.flow.v0.enums.event_type': function () { return faker.helpers.arrayElement([
|
|
2067
|
+
'test_upserted',
|
|
2067
2068
|
'transaction_upserted',
|
|
2068
2069
|
'organization_transaction_upserted',
|
|
2069
2070
|
'organization_transaction_deleted',
|
|
@@ -2552,6 +2553,19 @@ var factories = {
|
|
|
2552
2553
|
'io.flow.v0.enums.payment_method_data_option_type': function () { return faker.helpers.arrayElement(['ideal_issuer_option']); },
|
|
2553
2554
|
'io.flow.v0.enums.payment_method_rule_content_key': function () { return faker.helpers.arrayElement(['description']); },
|
|
2554
2555
|
'io.flow.v0.enums.payment_method_type': function () { return faker.helpers.arrayElement(['card', 'online', 'offline']); },
|
|
2556
|
+
'io.flow.v0.enums.payment_request_review_check_status': function () { return faker.helpers.arrayElement(['passed', 'failed']); },
|
|
2557
|
+
'io.flow.v0.enums.payment_request_review_check_type': function () { return faker.helpers.arrayElement([
|
|
2558
|
+
'restricted_party_screening',
|
|
2559
|
+
'fraud_suspicious_behavior',
|
|
2560
|
+
'fraud_suspicious_past_activity',
|
|
2561
|
+
'fraud_risky_velocity',
|
|
2562
|
+
'fraud_previous_chargebacks',
|
|
2563
|
+
'order_restricted_goods',
|
|
2564
|
+
'order_unsupported_destination',
|
|
2565
|
+
'order_missing_information',
|
|
2566
|
+
'order_domestic',
|
|
2567
|
+
]); },
|
|
2568
|
+
'io.flow.v0.enums.payment_request_review_status': function () { return faker.helpers.arrayElement(['pending', 'approved', 'rejected']); },
|
|
2555
2569
|
'io.flow.v0.enums.payment_source_confirmation_action_type': function () { return faker.helpers.arrayElement(['cvv', 'billing_address', 'number']); },
|
|
2556
2570
|
'io.flow.v0.enums.payment_status': function () { return faker.helpers.arrayElement([
|
|
2557
2571
|
'requires_payment_method',
|
|
@@ -3161,6 +3175,11 @@ var factories = {
|
|
|
3161
3175
|
validation_url: factories.string(),
|
|
3162
3176
|
display_name: factories.string(),
|
|
3163
3177
|
}); },
|
|
3178
|
+
'io.flow.v0.models.applepay_sdk_authorization_result_action_details': function () { return ({
|
|
3179
|
+
discriminator: 'applepay_sdk_authorization_result_action_details',
|
|
3180
|
+
merchant_identifier: factories.string(),
|
|
3181
|
+
payment_data_request: factories.object(),
|
|
3182
|
+
}); },
|
|
3164
3183
|
'io.flow.v0.models.at_cost': function () { return ({
|
|
3165
3184
|
discriminator: 'at_cost',
|
|
3166
3185
|
ignore: factories.string(),
|
|
@@ -3456,7 +3475,6 @@ var factories = {
|
|
|
3456
3475
|
b2b_invoice: factories['io.flow.v0.models.b2b_invoice'](),
|
|
3457
3476
|
}); },
|
|
3458
3477
|
'io.flow.v0.models.bank_account_form': function () { return ({
|
|
3459
|
-
last4: factories.string(),
|
|
3460
3478
|
info: factories['io.flow.v0.unions.bank_account_info'](),
|
|
3461
3479
|
}); },
|
|
3462
3480
|
'io.flow.v0.models.bank_account_info_usa': function () { return ({
|
|
@@ -3467,6 +3485,9 @@ var factories = {
|
|
|
3467
3485
|
'io.flow.v0.models.bank_account_reference': function () { return ({
|
|
3468
3486
|
id: factories.string(),
|
|
3469
3487
|
}); },
|
|
3488
|
+
'io.flow.v0.models.bank_account_summary': function () { return ({
|
|
3489
|
+
last4: factories.string(),
|
|
3490
|
+
}); },
|
|
3470
3491
|
'io.flow.v0.models.behavior_audit': function () { return ({
|
|
3471
3492
|
behavior: factories['io.flow.v0.enums.flow_behavior'](),
|
|
3472
3493
|
authentication_techniques: arrayOf(function () { return factories['io.flow.v0.enums.authentication_technique'](); }),
|
|
@@ -3956,6 +3977,11 @@ var factories = {
|
|
|
3956
3977
|
'io.flow.v0.models.channel_authorization_form': function () { return ({
|
|
3957
3978
|
channel_id: factories.string(),
|
|
3958
3979
|
}); },
|
|
3980
|
+
'io.flow.v0.models.channel_bank_account': function () { return ({
|
|
3981
|
+
id: factories.string(),
|
|
3982
|
+
key: factories.string(),
|
|
3983
|
+
last4: factories.string(),
|
|
3984
|
+
}); },
|
|
3959
3985
|
'io.flow.v0.models.channel_currency': function () { return ({
|
|
3960
3986
|
id: factories.string(),
|
|
3961
3987
|
currency: factories.string(),
|
|
@@ -3974,6 +4000,10 @@ var factories = {
|
|
|
3974
4000
|
timestamp: factories.date_time_iso_8601(),
|
|
3975
4001
|
channel_currency: factories['io.flow.v0.models.channel_currency'](),
|
|
3976
4002
|
}); },
|
|
4003
|
+
'io.flow.v0.models.channel_default_bank_account': function () { return ({
|
|
4004
|
+
id: factories.string(),
|
|
4005
|
+
bank_account: factories['io.flow.v0.models.bank_account_reference'](),
|
|
4006
|
+
}); },
|
|
3977
4007
|
'io.flow.v0.models.channel_deleted': function () { return ({
|
|
3978
4008
|
discriminator: 'channel_deleted',
|
|
3979
4009
|
event_id: factories.string(),
|
|
@@ -4026,6 +4056,7 @@ var factories = {
|
|
|
4026
4056
|
id: factories.string(),
|
|
4027
4057
|
account: factories['io.flow.v0.models.account_reference'](),
|
|
4028
4058
|
status: factories['io.flow.v0.unions.payout_status'](),
|
|
4059
|
+
bank_account: factories['io.flow.v0.models.bank_account_summary'](),
|
|
4029
4060
|
amount: factories.decimal(),
|
|
4030
4061
|
attachments: arrayOf(function () { return factories['io.flow.v0.models.payout_attachment'](); }),
|
|
4031
4062
|
created_at: factories.date_time_iso_8601(),
|
|
@@ -4080,9 +4111,9 @@ var factories = {
|
|
|
4080
4111
|
user: factories['io.flow.v0.models.user_reference'](),
|
|
4081
4112
|
}); },
|
|
4082
4113
|
'io.flow.v0.models.channel_transaction': function () { return ({
|
|
4114
|
+
statement: factories['io.flow.v0.models.billing_channel_statement_reference'](),
|
|
4083
4115
|
id: factories.string(),
|
|
4084
4116
|
order: factories['io.flow.v0.models.billing_channel_order_summary'](),
|
|
4085
|
-
statement: factories['io.flow.v0.models.billing_channel_statement_reference'](),
|
|
4086
4117
|
payment_request: factories['io.flow.v0.models.billing_channel_payment_request_reference'](),
|
|
4087
4118
|
currency: factories.string(),
|
|
4088
4119
|
source: factories['io.flow.v0.enums.transaction_source'](),
|
|
@@ -7642,6 +7673,7 @@ var factories = {
|
|
|
7642
7673
|
}); },
|
|
7643
7674
|
'io.flow.v0.models.organization_bank_account': function () { return ({
|
|
7644
7675
|
id: factories.string(),
|
|
7676
|
+
key: factories.string(),
|
|
7645
7677
|
last4: factories.string(),
|
|
7646
7678
|
}); },
|
|
7647
7679
|
'io.flow.v0.models.organization_configuration_reference': function () { return ({
|
|
@@ -7723,6 +7755,7 @@ var factories = {
|
|
|
7723
7755
|
id: factories.string(),
|
|
7724
7756
|
account: factories['io.flow.v0.models.account_reference'](),
|
|
7725
7757
|
status: factories['io.flow.v0.unions.payout_status'](),
|
|
7758
|
+
bank_account: factories['io.flow.v0.models.bank_account_summary'](),
|
|
7726
7759
|
amount: factories.decimal(),
|
|
7727
7760
|
attachments: arrayOf(function () { return factories['io.flow.v0.models.payout_attachment'](); }),
|
|
7728
7761
|
created_at: factories.date_time_iso_8601(),
|
|
@@ -8338,6 +8371,7 @@ var factories = {
|
|
|
8338
8371
|
payment_information: factories['io.flow.v0.models.payment_information'](),
|
|
8339
8372
|
supported_actions: arrayOf(function () { return factories['io.flow.v0.enums.payment_action_type'](); }),
|
|
8340
8373
|
payment_capture_option: factories['io.flow.v0.unions.payment_capture_option'](),
|
|
8374
|
+
review: factories['io.flow.v0.models.payment_request_review'](),
|
|
8341
8375
|
}); },
|
|
8342
8376
|
'io.flow.v0.models.payment_request_billing': function () { return ({
|
|
8343
8377
|
fees: factories['io.flow.v0.models.payment_request_billing_fees'](),
|
|
@@ -8371,6 +8405,14 @@ var factories = {
|
|
|
8371
8405
|
id: factories.string(),
|
|
8372
8406
|
reference: factories.string(),
|
|
8373
8407
|
}); },
|
|
8408
|
+
'io.flow.v0.models.payment_request_review': function () { return ({
|
|
8409
|
+
status: factories['io.flow.v0.enums.payment_request_review_status'](),
|
|
8410
|
+
checks: arrayOf(function () { return factories['io.flow.v0.models.payment_request_review_check'](); }),
|
|
8411
|
+
}); },
|
|
8412
|
+
'io.flow.v0.models.payment_request_review_check': function () { return ({
|
|
8413
|
+
type: factories['io.flow.v0.enums.payment_request_review_check_type'](),
|
|
8414
|
+
status: factories['io.flow.v0.enums.payment_request_review_check_status'](),
|
|
8415
|
+
}); },
|
|
8374
8416
|
'io.flow.v0.models.payment_request_upserted': function () { return ({
|
|
8375
8417
|
discriminator: 'payment_request_upserted',
|
|
8376
8418
|
event_id: factories.string(),
|
|
@@ -8432,6 +8474,22 @@ var factories = {
|
|
|
8432
8474
|
code: 'sent',
|
|
8433
8475
|
timestamp: factories.date_time_iso_8601(),
|
|
8434
8476
|
}); },
|
|
8477
|
+
'io.flow.v0.models.payout_transaction': function () { return ({
|
|
8478
|
+
id: factories.string(),
|
|
8479
|
+
order: factories['io.flow.v0.models.billing_channel_order_summary'](),
|
|
8480
|
+
payment_request: factories['io.flow.v0.models.billing_channel_payment_request_reference'](),
|
|
8481
|
+
currency: factories.string(),
|
|
8482
|
+
source: factories['io.flow.v0.enums.transaction_source'](),
|
|
8483
|
+
parent: factories['io.flow.v0.models.parent_transaction_summary'](),
|
|
8484
|
+
gross: factories.decimal(),
|
|
8485
|
+
fees: arrayOf(function () { return factories['io.flow.v0.models.fee_deduction'](); }),
|
|
8486
|
+
withholdings: arrayOf(function () { return factories['io.flow.v0.models.withholding_deduction'](); }),
|
|
8487
|
+
discounts: arrayOf(function () { return factories['io.flow.v0.models.billing_discount'](); }),
|
|
8488
|
+
net: factories.decimal(),
|
|
8489
|
+
identifiers: objectOf(function () { return factories.string(); }),
|
|
8490
|
+
created_at: factories.date_time_iso_8601(),
|
|
8491
|
+
updated_at: factories.date_time_iso_8601(),
|
|
8492
|
+
}); },
|
|
8435
8493
|
'io.flow.v0.models.paypal_authorization_details': function () { return ({
|
|
8436
8494
|
discriminator: 'paypal_authorization_details',
|
|
8437
8495
|
payment_id: factories.string(),
|
|
@@ -10569,6 +10627,16 @@ var factories = {
|
|
|
10569
10627
|
types: arrayOf(function () { return factories['io.flow.v0.enums.tax_report_type'](); }),
|
|
10570
10628
|
email_recipients: arrayOf(function () { return factories.string(); }),
|
|
10571
10629
|
}); },
|
|
10630
|
+
'io.flow.v0.models.test': function () { return ({
|
|
10631
|
+
id: factories.string(),
|
|
10632
|
+
}); },
|
|
10633
|
+
'io.flow.v0.models.test_upserted': function () { return ({
|
|
10634
|
+
discriminator: 'test_upserted',
|
|
10635
|
+
event_id: factories.string(),
|
|
10636
|
+
timestamp: factories.date_time_iso_8601(),
|
|
10637
|
+
organization: factories.string(),
|
|
10638
|
+
test: factories['io.flow.v0.models.test'](),
|
|
10639
|
+
}); },
|
|
10572
10640
|
'io.flow.v0.models.third_party_logistics_partner': function () { return ({
|
|
10573
10641
|
warehouse_address: factories['io.flow.v0.models.merchant_onboarding_address'](),
|
|
10574
10642
|
warehouse_url: factories.string(),
|
|
@@ -10850,9 +10918,9 @@ var factories = {
|
|
|
10850
10918
|
duty: factories['io.flow.v0.models.duty'](),
|
|
10851
10919
|
}); },
|
|
10852
10920
|
'io.flow.v0.models.transaction': function () { return ({
|
|
10921
|
+
statement: factories['io.flow.v0.models.billing_channel_statement_reference'](),
|
|
10853
10922
|
id: factories.string(),
|
|
10854
10923
|
order: factories['io.flow.v0.models.billing_channel_order_summary'](),
|
|
10855
|
-
statement: factories['io.flow.v0.models.billing_channel_statement_reference'](),
|
|
10856
10924
|
payment_request: factories['io.flow.v0.models.billing_channel_payment_request_reference'](),
|
|
10857
10925
|
currency: factories.string(),
|
|
10858
10926
|
source: factories['io.flow.v0.enums.transaction_source'](),
|
|
@@ -11173,6 +11241,7 @@ var factories = {
|
|
|
11173
11241
|
function () { return factories['io.flow.v0.models.stripe_authorization_result_action_details'](); },
|
|
11174
11242
|
function () { return factories['io.flow.v0.models.threeds_identify_action_details'](); },
|
|
11175
11243
|
function () { return factories['io.flow.v0.models.threeds_challenge_action_details'](); },
|
|
11244
|
+
function () { return factories['io.flow.v0.models.applepay_sdk_authorization_result_action_details'](); },
|
|
11176
11245
|
function () { return factories['io.flow.v0.models.klarna_sdk_authorization_result_action_details'](); },
|
|
11177
11246
|
function () { return factories['io.flow.v0.models.select_issuer_option_action_details'](); },
|
|
11178
11247
|
]);
|
|
@@ -11283,6 +11352,7 @@ var factories = {
|
|
|
11283
11352
|
},
|
|
11284
11353
|
'io.flow.v0.unions.event': function () {
|
|
11285
11354
|
var f = faker.helpers.arrayElement([
|
|
11355
|
+
function () { return factories['io.flow.v0.models.test_upserted'](); },
|
|
11286
11356
|
function () { return factories['io.flow.v0.models.transaction_upserted'](); },
|
|
11287
11357
|
function () { return factories['io.flow.v0.models.organization_transaction_upserted'](); },
|
|
11288
11358
|
function () { return factories['io.flow.v0.models.organization_transaction_deleted'](); },
|
|
@@ -12099,6 +12169,7 @@ export var makeAmountMargin = function () { return factories['io.flow.v0.models.
|
|
|
12099
12169
|
export var makeAmountMarginForm = function () { return factories['io.flow.v0.models.amount_margin_form'](); };
|
|
12100
12170
|
export var makeAnalyticsExportType = function () { return factories['io.flow.v0.models.analytics_export_type'](); };
|
|
12101
12171
|
export var makeApplePayMerchantValidationPayload = function () { return factories['io.flow.v0.models.apple_pay_merchant_validation_payload'](); };
|
|
12172
|
+
export var makeApplepaySdkAuthorizationResultActionDetails = function () { return factories['io.flow.v0.models.applepay_sdk_authorization_result_action_details'](); };
|
|
12102
12173
|
export var makeAtCost = function () { return factories['io.flow.v0.models.at_cost'](); };
|
|
12103
12174
|
export var makeAttachment = function () { return factories['io.flow.v0.models.attachment'](); };
|
|
12104
12175
|
export var makeAttribute = function () { return factories['io.flow.v0.models.attribute'](); };
|
|
@@ -12165,6 +12236,7 @@ export var makeBankAccountForm = function () { return factories['io.flow.v0.mode
|
|
|
12165
12236
|
export var makeBankAccountInfo = function () { return factories['io.flow.v0.unions.bank_account_info'](); };
|
|
12166
12237
|
export var makeBankAccountInfoUsa = function () { return factories['io.flow.v0.models.bank_account_info_usa'](); };
|
|
12167
12238
|
export var makeBankAccountReference = function () { return factories['io.flow.v0.models.bank_account_reference'](); };
|
|
12239
|
+
export var makeBankAccountSummary = function () { return factories['io.flow.v0.models.bank_account_summary'](); };
|
|
12168
12240
|
export var makeBehaviorAudit = function () { return factories['io.flow.v0.models.behavior_audit'](); };
|
|
12169
12241
|
export var makeBillingAddress = function () { return factories['io.flow.v0.models.billing_address'](); };
|
|
12170
12242
|
export var makeBillingChannelOrderSummary = function () { return factories['io.flow.v0.models.billing_channel_order_summary'](); };
|
|
@@ -12253,10 +12325,12 @@ export var makeChangeType = function () { return factories['io.flow.v0.enums.cha
|
|
|
12253
12325
|
export var makeChannel = function () { return factories['io.flow.v0.models.channel'](); };
|
|
12254
12326
|
export var makeChannelAuthorization = function () { return factories['io.flow.v0.models.channel_authorization'](); };
|
|
12255
12327
|
export var makeChannelAuthorizationForm = function () { return factories['io.flow.v0.models.channel_authorization_form'](); };
|
|
12328
|
+
export var makeChannelBankAccount = function () { return factories['io.flow.v0.models.channel_bank_account'](); };
|
|
12256
12329
|
export var makeChannelCurrency = function () { return factories['io.flow.v0.models.channel_currency'](); };
|
|
12257
12330
|
export var makeChannelCurrencyCapability = function () { return factories['io.flow.v0.enums.channel_currency_capability'](); };
|
|
12258
12331
|
export var makeChannelCurrencyDeleted = function () { return factories['io.flow.v0.models.channel_currency_deleted'](); };
|
|
12259
12332
|
export var makeChannelCurrencyUpserted = function () { return factories['io.flow.v0.models.channel_currency_upserted'](); };
|
|
12333
|
+
export var makeChannelDefaultBankAccount = function () { return factories['io.flow.v0.models.channel_default_bank_account'](); };
|
|
12260
12334
|
export var makeChannelDeleted = function () { return factories['io.flow.v0.models.channel_deleted'](); };
|
|
12261
12335
|
export var makeChannelOrganization = function () { return factories['io.flow.v0.models.channel_organization'](); };
|
|
12262
12336
|
export var makeChannelOrganizationAuthorization = function () { return factories['io.flow.v0.models.channel_organization_authorization'](); };
|
|
@@ -13154,6 +13228,11 @@ export var makePaymentRequestBundle = function () { return factories['io.flow.v0
|
|
|
13154
13228
|
export var makePaymentRequestBundleForm = function () { return factories['io.flow.v0.models.payment_request_bundle_form'](); };
|
|
13155
13229
|
export var makePaymentRequestForm = function () { return factories['io.flow.v0.models.payment_request_form'](); };
|
|
13156
13230
|
export var makePaymentRequestReference = function () { return factories['io.flow.v0.models.payment_request_reference'](); };
|
|
13231
|
+
export var makePaymentRequestReview = function () { return factories['io.flow.v0.models.payment_request_review'](); };
|
|
13232
|
+
export var makePaymentRequestReviewCheck = function () { return factories['io.flow.v0.models.payment_request_review_check'](); };
|
|
13233
|
+
export var makePaymentRequestReviewCheckStatus = function () { return factories['io.flow.v0.enums.payment_request_review_check_status'](); };
|
|
13234
|
+
export var makePaymentRequestReviewCheckType = function () { return factories['io.flow.v0.enums.payment_request_review_check_type'](); };
|
|
13235
|
+
export var makePaymentRequestReviewStatus = function () { return factories['io.flow.v0.enums.payment_request_review_status'](); };
|
|
13157
13236
|
export var makePaymentRequestUpserted = function () { return factories['io.flow.v0.models.payment_request_upserted'](); };
|
|
13158
13237
|
export var makePaymentReversal = function () { return factories['io.flow.v0.models.payment_reversal'](); };
|
|
13159
13238
|
export var makePaymentReversalForm = function () { return factories['io.flow.v0.models.payment_reversal_form'](); };
|
|
@@ -13174,6 +13253,7 @@ export var makePayoutStatusFailed = function () { return factories['io.flow.v0.m
|
|
|
13174
13253
|
export var makePayoutStatusFailureCode = function () { return factories['io.flow.v0.enums.payout_status_failure_code'](); };
|
|
13175
13254
|
export var makePayoutStatusScheduled = function () { return factories['io.flow.v0.models.payout_status_scheduled'](); };
|
|
13176
13255
|
export var makePayoutStatusSent = function () { return factories['io.flow.v0.models.payout_status_sent'](); };
|
|
13256
|
+
export var makePayoutTransaction = function () { return factories['io.flow.v0.models.payout_transaction'](); };
|
|
13177
13257
|
export var makePaypalAuthorizationDetails = function () { return factories['io.flow.v0.models.paypal_authorization_details'](); };
|
|
13178
13258
|
export var makePaypalAuthorizationForm = function () { return factories['io.flow.v0.models.paypal_authorization_form'](); };
|
|
13179
13259
|
export var makePeakSurchargeByWeightServiceFee = function () { return factories['io.flow.v0.models.peak_surcharge_by_weight_service_fee'](); };
|
|
@@ -13575,6 +13655,8 @@ export var makeTaxSetting = function () { return factories['io.flow.v0.unions.ta
|
|
|
13575
13655
|
export var makeTaxVerificationResult = function () { return factories['io.flow.v0.enums.tax_verification_result'](); };
|
|
13576
13656
|
export var makeTaxabilityType = function () { return factories['io.flow.v0.enums.taxability_type'](); };
|
|
13577
13657
|
export var makeTaxabilityValue = function () { return factories['io.flow.v0.enums.taxability_value'](); };
|
|
13658
|
+
export var makeTest = function () { return factories['io.flow.v0.models.test'](); };
|
|
13659
|
+
export var makeTestUpserted = function () { return factories['io.flow.v0.models.test_upserted'](); };
|
|
13578
13660
|
export var makeThirdPartyLogisticsPartner = function () { return factories['io.flow.v0.models.third_party_logistics_partner'](); };
|
|
13579
13661
|
export var makeThreeDSecure = function () { return factories['io.flow.v0.models.three_d_secure'](); };
|
|
13580
13662
|
export var makeThreeDSecureCode = function () { return factories['io.flow.v0.enums.three_d_secure_code'](); };
|
package/dist/types/api.d.ts
CHANGED
|
@@ -66,6 +66,7 @@ export declare const makeAmountMargin: () => io.flow.v0.models.AmountMargin;
|
|
|
66
66
|
export declare const makeAmountMarginForm: () => io.flow.v0.models.AmountMarginForm;
|
|
67
67
|
export declare const makeAnalyticsExportType: () => io.flow.v0.models.AnalyticsExportType;
|
|
68
68
|
export declare const makeApplePayMerchantValidationPayload: () => io.flow.v0.models.ApplePayMerchantValidationPayload;
|
|
69
|
+
export declare const makeApplepaySdkAuthorizationResultActionDetails: () => io.flow.v0.models.ApplepaySdkAuthorizationResultActionDetails;
|
|
69
70
|
export declare const makeAtCost: () => io.flow.v0.models.AtCost;
|
|
70
71
|
export declare const makeAttachment: () => io.flow.v0.models.Attachment;
|
|
71
72
|
export declare const makeAttribute: () => io.flow.v0.models.Attribute;
|
|
@@ -132,6 +133,7 @@ export declare const makeBankAccountForm: () => io.flow.v0.models.BankAccountFor
|
|
|
132
133
|
export declare const makeBankAccountInfo: () => io.flow.v0.models.BankAccountInfoUsa;
|
|
133
134
|
export declare const makeBankAccountInfoUsa: () => io.flow.v0.models.BankAccountInfoUsa;
|
|
134
135
|
export declare const makeBankAccountReference: () => io.flow.v0.models.BankAccountReference;
|
|
136
|
+
export declare const makeBankAccountSummary: () => io.flow.v0.models.BankAccountSummary;
|
|
135
137
|
export declare const makeBehaviorAudit: () => io.flow.v0.models.BehaviorAudit;
|
|
136
138
|
export declare const makeBillingAddress: () => io.flow.v0.models.BillingAddress;
|
|
137
139
|
export declare const makeBillingChannelOrderSummary: () => io.flow.v0.models.BillingChannelOrderSummary;
|
|
@@ -220,10 +222,12 @@ export declare const makeChangeType: () => io.flow.v0.enums.ChangeType;
|
|
|
220
222
|
export declare const makeChannel: () => io.flow.v0.models.Channel;
|
|
221
223
|
export declare const makeChannelAuthorization: () => io.flow.v0.models.ChannelAuthorization;
|
|
222
224
|
export declare const makeChannelAuthorizationForm: () => io.flow.v0.models.ChannelAuthorizationForm;
|
|
225
|
+
export declare const makeChannelBankAccount: () => io.flow.v0.models.ChannelBankAccount;
|
|
223
226
|
export declare const makeChannelCurrency: () => io.flow.v0.models.ChannelCurrency;
|
|
224
227
|
export declare const makeChannelCurrencyCapability: () => io.flow.v0.enums.ChannelCurrencyCapability;
|
|
225
228
|
export declare const makeChannelCurrencyDeleted: () => io.flow.v0.models.ChannelCurrencyDeleted;
|
|
226
229
|
export declare const makeChannelCurrencyUpserted: () => io.flow.v0.models.ChannelCurrencyUpserted;
|
|
230
|
+
export declare const makeChannelDefaultBankAccount: () => io.flow.v0.models.ChannelDefaultBankAccount;
|
|
227
231
|
export declare const makeChannelDeleted: () => io.flow.v0.models.ChannelDeleted;
|
|
228
232
|
export declare const makeChannelOrganization: () => io.flow.v0.models.ChannelOrganization;
|
|
229
233
|
export declare const makeChannelOrganizationAuthorization: () => io.flow.v0.models.ChannelOrganizationAuthorization;
|
|
@@ -1121,6 +1125,11 @@ export declare const makePaymentRequestBundle: () => io.flow.v0.models.PaymentRe
|
|
|
1121
1125
|
export declare const makePaymentRequestBundleForm: () => io.flow.v0.models.PaymentRequestBundleForm;
|
|
1122
1126
|
export declare const makePaymentRequestForm: () => io.flow.v0.models.PaymentRequestForm;
|
|
1123
1127
|
export declare const makePaymentRequestReference: () => io.flow.v0.models.PaymentRequestReference;
|
|
1128
|
+
export declare const makePaymentRequestReview: () => io.flow.v0.models.PaymentRequestReview;
|
|
1129
|
+
export declare const makePaymentRequestReviewCheck: () => io.flow.v0.models.PaymentRequestReviewCheck;
|
|
1130
|
+
export declare const makePaymentRequestReviewCheckStatus: () => io.flow.v0.enums.PaymentRequestReviewCheckStatus;
|
|
1131
|
+
export declare const makePaymentRequestReviewCheckType: () => io.flow.v0.enums.PaymentRequestReviewCheckType;
|
|
1132
|
+
export declare const makePaymentRequestReviewStatus: () => io.flow.v0.enums.PaymentRequestReviewStatus;
|
|
1124
1133
|
export declare const makePaymentRequestUpserted: () => io.flow.v0.models.PaymentRequestUpserted;
|
|
1125
1134
|
export declare const makePaymentReversal: () => io.flow.v0.models.PaymentReversal;
|
|
1126
1135
|
export declare const makePaymentReversalForm: () => io.flow.v0.models.PaymentReversalForm;
|
|
@@ -1141,6 +1150,7 @@ export declare const makePayoutStatusFailed: () => io.flow.v0.models.PayoutStatu
|
|
|
1141
1150
|
export declare const makePayoutStatusFailureCode: () => io.flow.v0.enums.PayoutStatusFailureCode;
|
|
1142
1151
|
export declare const makePayoutStatusScheduled: () => io.flow.v0.models.PayoutStatusScheduled;
|
|
1143
1152
|
export declare const makePayoutStatusSent: () => io.flow.v0.models.PayoutStatusSent;
|
|
1153
|
+
export declare const makePayoutTransaction: () => io.flow.v0.models.PayoutTransaction;
|
|
1144
1154
|
export declare const makePaypalAuthorizationDetails: () => io.flow.v0.models.PaypalAuthorizationDetails;
|
|
1145
1155
|
export declare const makePaypalAuthorizationForm: () => io.flow.v0.models.PaypalAuthorizationForm;
|
|
1146
1156
|
export declare const makePeakSurchargeByWeightServiceFee: () => io.flow.v0.models.PeakSurchargeByWeightServiceFee;
|
|
@@ -1542,6 +1552,8 @@ export declare const makeTaxSetting: () => io.flow.v0.unions.TaxSetting;
|
|
|
1542
1552
|
export declare const makeTaxVerificationResult: () => io.flow.v0.enums.TaxVerificationResult;
|
|
1543
1553
|
export declare const makeTaxabilityType: () => "tax_rule";
|
|
1544
1554
|
export declare const makeTaxabilityValue: () => "exempt";
|
|
1555
|
+
export declare const makeTest: () => io.flow.v0.models.Test;
|
|
1556
|
+
export declare const makeTestUpserted: () => io.flow.v0.models.TestUpserted;
|
|
1545
1557
|
export declare const makeThirdPartyLogisticsPartner: () => io.flow.v0.models.ThirdPartyLogisticsPartner;
|
|
1546
1558
|
export declare const makeThreeDSecure: () => io.flow.v0.models.ThreeDSecure;
|
|
1547
1559
|
export declare const makeThreeDSecureCode: () => io.flow.v0.enums.ThreeDSecureCode;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-factories",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.50",
|
|
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": "2a8c847a3c7fe6a3a62ff7d19d7bacba4063d9a9"
|
|
40
40
|
}
|
package/src/api.ts
CHANGED
|
@@ -2384,6 +2384,7 @@ const factories = {
|
|
|
2384
2384
|
'io.flow.v0.enums.environment': (): io.flow.v0.enums.Environment => faker.helpers.arrayElement(['sandbox', 'production']),
|
|
2385
2385
|
|
|
2386
2386
|
'io.flow.v0.enums.event_type': (): io.flow.v0.enums.EventType => faker.helpers.arrayElement([
|
|
2387
|
+
'test_upserted',
|
|
2387
2388
|
'transaction_upserted',
|
|
2388
2389
|
'organization_transaction_upserted',
|
|
2389
2390
|
'organization_transaction_deleted',
|
|
@@ -2903,6 +2904,21 @@ const factories = {
|
|
|
2903
2904
|
'io.flow.v0.enums.payment_method_data_option_type': (): io.flow.v0.enums.PaymentMethodDataOptionType => faker.helpers.arrayElement(['ideal_issuer_option']),
|
|
2904
2905
|
'io.flow.v0.enums.payment_method_rule_content_key': (): io.flow.v0.enums.PaymentMethodRuleContentKey => faker.helpers.arrayElement(['description']),
|
|
2905
2906
|
'io.flow.v0.enums.payment_method_type': (): io.flow.v0.enums.PaymentMethodType => faker.helpers.arrayElement(['card', 'online', 'offline']),
|
|
2907
|
+
'io.flow.v0.enums.payment_request_review_check_status': (): io.flow.v0.enums.PaymentRequestReviewCheckStatus => faker.helpers.arrayElement(['passed', 'failed']),
|
|
2908
|
+
|
|
2909
|
+
'io.flow.v0.enums.payment_request_review_check_type': (): io.flow.v0.enums.PaymentRequestReviewCheckType => faker.helpers.arrayElement([
|
|
2910
|
+
'restricted_party_screening',
|
|
2911
|
+
'fraud_suspicious_behavior',
|
|
2912
|
+
'fraud_suspicious_past_activity',
|
|
2913
|
+
'fraud_risky_velocity',
|
|
2914
|
+
'fraud_previous_chargebacks',
|
|
2915
|
+
'order_restricted_goods',
|
|
2916
|
+
'order_unsupported_destination',
|
|
2917
|
+
'order_missing_information',
|
|
2918
|
+
'order_domestic',
|
|
2919
|
+
]),
|
|
2920
|
+
|
|
2921
|
+
'io.flow.v0.enums.payment_request_review_status': (): io.flow.v0.enums.PaymentRequestReviewStatus => faker.helpers.arrayElement(['pending', 'approved', 'rejected']),
|
|
2906
2922
|
'io.flow.v0.enums.payment_source_confirmation_action_type': (): io.flow.v0.enums.PaymentSourceConfirmationActionType => faker.helpers.arrayElement(['cvv', 'billing_address', 'number']),
|
|
2907
2923
|
|
|
2908
2924
|
'io.flow.v0.enums.payment_status': (): io.flow.v0.enums.PaymentStatus => faker.helpers.arrayElement([
|
|
@@ -3592,6 +3608,12 @@ const factories = {
|
|
|
3592
3608
|
display_name: factories.string(),
|
|
3593
3609
|
}),
|
|
3594
3610
|
|
|
3611
|
+
'io.flow.v0.models.applepay_sdk_authorization_result_action_details': (): io.flow.v0.models.ApplepaySdkAuthorizationResultActionDetails => ({
|
|
3612
|
+
discriminator: 'applepay_sdk_authorization_result_action_details',
|
|
3613
|
+
merchant_identifier: factories.string(),
|
|
3614
|
+
payment_data_request: factories.object(),
|
|
3615
|
+
}),
|
|
3616
|
+
|
|
3595
3617
|
'io.flow.v0.models.at_cost': (): io.flow.v0.models.AtCost => ({
|
|
3596
3618
|
discriminator: 'at_cost',
|
|
3597
3619
|
ignore: factories.string(),
|
|
@@ -3932,7 +3954,6 @@ const factories = {
|
|
|
3932
3954
|
}),
|
|
3933
3955
|
|
|
3934
3956
|
'io.flow.v0.models.bank_account_form': (): io.flow.v0.models.BankAccountForm => ({
|
|
3935
|
-
last4: factories.string(),
|
|
3936
3957
|
info: factories['io.flow.v0.unions.bank_account_info'](),
|
|
3937
3958
|
}),
|
|
3938
3959
|
|
|
@@ -3946,6 +3967,10 @@ const factories = {
|
|
|
3946
3967
|
id: factories.string(),
|
|
3947
3968
|
}),
|
|
3948
3969
|
|
|
3970
|
+
'io.flow.v0.models.bank_account_summary': (): io.flow.v0.models.BankAccountSummary => ({
|
|
3971
|
+
last4: factories.string(),
|
|
3972
|
+
}),
|
|
3973
|
+
|
|
3949
3974
|
'io.flow.v0.models.behavior_audit': (): io.flow.v0.models.BehaviorAudit => ({
|
|
3950
3975
|
behavior: factories['io.flow.v0.enums.flow_behavior'](),
|
|
3951
3976
|
authentication_techniques: arrayOf(() => factories['io.flow.v0.enums.authentication_technique']()),
|
|
@@ -4511,6 +4536,12 @@ const factories = {
|
|
|
4511
4536
|
channel_id: factories.string(),
|
|
4512
4537
|
}),
|
|
4513
4538
|
|
|
4539
|
+
'io.flow.v0.models.channel_bank_account': (): io.flow.v0.models.ChannelBankAccount => ({
|
|
4540
|
+
id: factories.string(),
|
|
4541
|
+
key: factories.string(),
|
|
4542
|
+
last4: factories.string(),
|
|
4543
|
+
}),
|
|
4544
|
+
|
|
4514
4545
|
'io.flow.v0.models.channel_currency': (): io.flow.v0.models.ChannelCurrency => ({
|
|
4515
4546
|
id: factories.string(),
|
|
4516
4547
|
currency: factories.string(),
|
|
@@ -4532,6 +4563,11 @@ const factories = {
|
|
|
4532
4563
|
channel_currency: factories['io.flow.v0.models.channel_currency'](),
|
|
4533
4564
|
}),
|
|
4534
4565
|
|
|
4566
|
+
'io.flow.v0.models.channel_default_bank_account': (): io.flow.v0.models.ChannelDefaultBankAccount => ({
|
|
4567
|
+
id: factories.string(),
|
|
4568
|
+
bank_account: factories['io.flow.v0.models.bank_account_reference'](),
|
|
4569
|
+
}),
|
|
4570
|
+
|
|
4535
4571
|
'io.flow.v0.models.channel_deleted': (): io.flow.v0.models.ChannelDeleted => ({
|
|
4536
4572
|
discriminator: 'channel_deleted',
|
|
4537
4573
|
event_id: factories.string(),
|
|
@@ -4592,6 +4628,7 @@ const factories = {
|
|
|
4592
4628
|
id: factories.string(),
|
|
4593
4629
|
account: factories['io.flow.v0.models.account_reference'](),
|
|
4594
4630
|
status: factories['io.flow.v0.unions.payout_status'](),
|
|
4631
|
+
bank_account: factories['io.flow.v0.models.bank_account_summary'](),
|
|
4595
4632
|
amount: factories.decimal(),
|
|
4596
4633
|
attachments: arrayOf(() => factories['io.flow.v0.models.payout_attachment']()),
|
|
4597
4634
|
created_at: factories.date_time_iso_8601(),
|
|
@@ -4655,9 +4692,9 @@ const factories = {
|
|
|
4655
4692
|
}),
|
|
4656
4693
|
|
|
4657
4694
|
'io.flow.v0.models.channel_transaction': (): io.flow.v0.models.ChannelTransaction => ({
|
|
4695
|
+
statement: factories['io.flow.v0.models.billing_channel_statement_reference'](),
|
|
4658
4696
|
id: factories.string(),
|
|
4659
4697
|
order: factories['io.flow.v0.models.billing_channel_order_summary'](),
|
|
4660
|
-
statement: factories['io.flow.v0.models.billing_channel_statement_reference'](),
|
|
4661
4698
|
payment_request: factories['io.flow.v0.models.billing_channel_payment_request_reference'](),
|
|
4662
4699
|
currency: factories.string(),
|
|
4663
4700
|
source: factories['io.flow.v0.enums.transaction_source'](),
|
|
@@ -8810,6 +8847,7 @@ const factories = {
|
|
|
8810
8847
|
|
|
8811
8848
|
'io.flow.v0.models.organization_bank_account': (): io.flow.v0.models.OrganizationBankAccount => ({
|
|
8812
8849
|
id: factories.string(),
|
|
8850
|
+
key: factories.string(),
|
|
8813
8851
|
last4: factories.string(),
|
|
8814
8852
|
}),
|
|
8815
8853
|
|
|
@@ -8905,6 +8943,7 @@ const factories = {
|
|
|
8905
8943
|
id: factories.string(),
|
|
8906
8944
|
account: factories['io.flow.v0.models.account_reference'](),
|
|
8907
8945
|
status: factories['io.flow.v0.unions.payout_status'](),
|
|
8946
|
+
bank_account: factories['io.flow.v0.models.bank_account_summary'](),
|
|
8908
8947
|
amount: factories.decimal(),
|
|
8909
8948
|
attachments: arrayOf(() => factories['io.flow.v0.models.payout_attachment']()),
|
|
8910
8949
|
created_at: factories.date_time_iso_8601(),
|
|
@@ -9629,6 +9668,7 @@ const factories = {
|
|
|
9629
9668
|
payment_information: factories['io.flow.v0.models.payment_information'](),
|
|
9630
9669
|
supported_actions: arrayOf(() => factories['io.flow.v0.enums.payment_action_type']()),
|
|
9631
9670
|
payment_capture_option: factories['io.flow.v0.unions.payment_capture_option'](),
|
|
9671
|
+
review: factories['io.flow.v0.models.payment_request_review'](),
|
|
9632
9672
|
}),
|
|
9633
9673
|
|
|
9634
9674
|
'io.flow.v0.models.payment_request_billing': (): io.flow.v0.models.PaymentRequestBilling => ({
|
|
@@ -9669,6 +9709,16 @@ const factories = {
|
|
|
9669
9709
|
reference: factories.string(),
|
|
9670
9710
|
}),
|
|
9671
9711
|
|
|
9712
|
+
'io.flow.v0.models.payment_request_review': (): io.flow.v0.models.PaymentRequestReview => ({
|
|
9713
|
+
status: factories['io.flow.v0.enums.payment_request_review_status'](),
|
|
9714
|
+
checks: arrayOf(() => factories['io.flow.v0.models.payment_request_review_check']()),
|
|
9715
|
+
}),
|
|
9716
|
+
|
|
9717
|
+
'io.flow.v0.models.payment_request_review_check': (): io.flow.v0.models.PaymentRequestReviewCheck => ({
|
|
9718
|
+
type: factories['io.flow.v0.enums.payment_request_review_check_type'](),
|
|
9719
|
+
status: factories['io.flow.v0.enums.payment_request_review_check_status'](),
|
|
9720
|
+
}),
|
|
9721
|
+
|
|
9672
9722
|
'io.flow.v0.models.payment_request_upserted': (): io.flow.v0.models.PaymentRequestUpserted => ({
|
|
9673
9723
|
discriminator: 'payment_request_upserted',
|
|
9674
9724
|
event_id: factories.string(),
|
|
@@ -9742,6 +9792,23 @@ const factories = {
|
|
|
9742
9792
|
timestamp: factories.date_time_iso_8601(),
|
|
9743
9793
|
}),
|
|
9744
9794
|
|
|
9795
|
+
'io.flow.v0.models.payout_transaction': (): io.flow.v0.models.PayoutTransaction => ({
|
|
9796
|
+
id: factories.string(),
|
|
9797
|
+
order: factories['io.flow.v0.models.billing_channel_order_summary'](),
|
|
9798
|
+
payment_request: factories['io.flow.v0.models.billing_channel_payment_request_reference'](),
|
|
9799
|
+
currency: factories.string(),
|
|
9800
|
+
source: factories['io.flow.v0.enums.transaction_source'](),
|
|
9801
|
+
parent: factories['io.flow.v0.models.parent_transaction_summary'](),
|
|
9802
|
+
gross: factories.decimal(),
|
|
9803
|
+
fees: arrayOf(() => factories['io.flow.v0.models.fee_deduction']()),
|
|
9804
|
+
withholdings: arrayOf(() => factories['io.flow.v0.models.withholding_deduction']()),
|
|
9805
|
+
discounts: arrayOf(() => factories['io.flow.v0.models.billing_discount']()),
|
|
9806
|
+
net: factories.decimal(),
|
|
9807
|
+
identifiers: objectOf(() => factories.string()),
|
|
9808
|
+
created_at: factories.date_time_iso_8601(),
|
|
9809
|
+
updated_at: factories.date_time_iso_8601(),
|
|
9810
|
+
}),
|
|
9811
|
+
|
|
9745
9812
|
'io.flow.v0.models.paypal_authorization_details': (): io.flow.v0.models.PaypalAuthorizationDetails => ({
|
|
9746
9813
|
discriminator: 'paypal_authorization_details',
|
|
9747
9814
|
payment_id: factories.string(),
|
|
@@ -12216,6 +12283,18 @@ const factories = {
|
|
|
12216
12283
|
email_recipients: arrayOf(() => factories.string()),
|
|
12217
12284
|
}),
|
|
12218
12285
|
|
|
12286
|
+
'io.flow.v0.models.test': (): io.flow.v0.models.Test => ({
|
|
12287
|
+
id: factories.string(),
|
|
12288
|
+
}),
|
|
12289
|
+
|
|
12290
|
+
'io.flow.v0.models.test_upserted': (): io.flow.v0.models.TestUpserted => ({
|
|
12291
|
+
discriminator: 'test_upserted',
|
|
12292
|
+
event_id: factories.string(),
|
|
12293
|
+
timestamp: factories.date_time_iso_8601(),
|
|
12294
|
+
organization: factories.string(),
|
|
12295
|
+
test: factories['io.flow.v0.models.test'](),
|
|
12296
|
+
}),
|
|
12297
|
+
|
|
12219
12298
|
'io.flow.v0.models.third_party_logistics_partner': (): io.flow.v0.models.ThirdPartyLogisticsPartner => ({
|
|
12220
12299
|
warehouse_address: factories['io.flow.v0.models.merchant_onboarding_address'](),
|
|
12221
12300
|
warehouse_url: factories.string(),
|
|
@@ -12543,9 +12622,9 @@ const factories = {
|
|
|
12543
12622
|
}),
|
|
12544
12623
|
|
|
12545
12624
|
'io.flow.v0.models.transaction': (): io.flow.v0.models.Transaction => ({
|
|
12625
|
+
statement: factories['io.flow.v0.models.billing_channel_statement_reference'](),
|
|
12546
12626
|
id: factories.string(),
|
|
12547
12627
|
order: factories['io.flow.v0.models.billing_channel_order_summary'](),
|
|
12548
|
-
statement: factories['io.flow.v0.models.billing_channel_statement_reference'](),
|
|
12549
12628
|
payment_request: factories['io.flow.v0.models.billing_channel_payment_request_reference'](),
|
|
12550
12629
|
currency: factories.string(),
|
|
12551
12630
|
source: factories['io.flow.v0.enums.transaction_source'](),
|
|
@@ -12921,6 +13000,7 @@ const factories = {
|
|
|
12921
13000
|
() => factories['io.flow.v0.models.stripe_authorization_result_action_details'](),
|
|
12922
13001
|
() => factories['io.flow.v0.models.threeds_identify_action_details'](),
|
|
12923
13002
|
() => factories['io.flow.v0.models.threeds_challenge_action_details'](),
|
|
13003
|
+
() => factories['io.flow.v0.models.applepay_sdk_authorization_result_action_details'](),
|
|
12924
13004
|
() => factories['io.flow.v0.models.klarna_sdk_authorization_result_action_details'](),
|
|
12925
13005
|
() => factories['io.flow.v0.models.select_issuer_option_action_details'](),
|
|
12926
13006
|
]);
|
|
@@ -13064,6 +13144,7 @@ const factories = {
|
|
|
13064
13144
|
|
|
13065
13145
|
'io.flow.v0.unions.event': (): io.flow.v0.unions.Event => {
|
|
13066
13146
|
const f = faker.helpers.arrayElement([
|
|
13147
|
+
() => factories['io.flow.v0.models.test_upserted'](),
|
|
13067
13148
|
() => factories['io.flow.v0.models.transaction_upserted'](),
|
|
13068
13149
|
() => factories['io.flow.v0.models.organization_transaction_upserted'](),
|
|
13069
13150
|
() => factories['io.flow.v0.models.organization_transaction_deleted'](),
|
|
@@ -14029,6 +14110,7 @@ export const makeAmountMargin = () => factories['io.flow.v0.models.amount_margin
|
|
|
14029
14110
|
export const makeAmountMarginForm = () => factories['io.flow.v0.models.amount_margin_form']();
|
|
14030
14111
|
export const makeAnalyticsExportType = () => factories['io.flow.v0.models.analytics_export_type']();
|
|
14031
14112
|
export const makeApplePayMerchantValidationPayload = () => factories['io.flow.v0.models.apple_pay_merchant_validation_payload']();
|
|
14113
|
+
export const makeApplepaySdkAuthorizationResultActionDetails = () => factories['io.flow.v0.models.applepay_sdk_authorization_result_action_details']();
|
|
14032
14114
|
export const makeAtCost = () => factories['io.flow.v0.models.at_cost']();
|
|
14033
14115
|
export const makeAttachment = () => factories['io.flow.v0.models.attachment']();
|
|
14034
14116
|
export const makeAttribute = () => factories['io.flow.v0.models.attribute']();
|
|
@@ -14095,6 +14177,7 @@ export const makeBankAccountForm = () => factories['io.flow.v0.models.bank_accou
|
|
|
14095
14177
|
export const makeBankAccountInfo = () => factories['io.flow.v0.unions.bank_account_info']();
|
|
14096
14178
|
export const makeBankAccountInfoUsa = () => factories['io.flow.v0.models.bank_account_info_usa']();
|
|
14097
14179
|
export const makeBankAccountReference = () => factories['io.flow.v0.models.bank_account_reference']();
|
|
14180
|
+
export const makeBankAccountSummary = () => factories['io.flow.v0.models.bank_account_summary']();
|
|
14098
14181
|
export const makeBehaviorAudit = () => factories['io.flow.v0.models.behavior_audit']();
|
|
14099
14182
|
export const makeBillingAddress = () => factories['io.flow.v0.models.billing_address']();
|
|
14100
14183
|
export const makeBillingChannelOrderSummary = () => factories['io.flow.v0.models.billing_channel_order_summary']();
|
|
@@ -14183,10 +14266,12 @@ export const makeChangeType = () => factories['io.flow.v0.enums.change_type']();
|
|
|
14183
14266
|
export const makeChannel = () => factories['io.flow.v0.models.channel']();
|
|
14184
14267
|
export const makeChannelAuthorization = () => factories['io.flow.v0.models.channel_authorization']();
|
|
14185
14268
|
export const makeChannelAuthorizationForm = () => factories['io.flow.v0.models.channel_authorization_form']();
|
|
14269
|
+
export const makeChannelBankAccount = () => factories['io.flow.v0.models.channel_bank_account']();
|
|
14186
14270
|
export const makeChannelCurrency = () => factories['io.flow.v0.models.channel_currency']();
|
|
14187
14271
|
export const makeChannelCurrencyCapability = () => factories['io.flow.v0.enums.channel_currency_capability']();
|
|
14188
14272
|
export const makeChannelCurrencyDeleted = () => factories['io.flow.v0.models.channel_currency_deleted']();
|
|
14189
14273
|
export const makeChannelCurrencyUpserted = () => factories['io.flow.v0.models.channel_currency_upserted']();
|
|
14274
|
+
export const makeChannelDefaultBankAccount = () => factories['io.flow.v0.models.channel_default_bank_account']();
|
|
14190
14275
|
export const makeChannelDeleted = () => factories['io.flow.v0.models.channel_deleted']();
|
|
14191
14276
|
export const makeChannelOrganization = () => factories['io.flow.v0.models.channel_organization']();
|
|
14192
14277
|
export const makeChannelOrganizationAuthorization = () => factories['io.flow.v0.models.channel_organization_authorization']();
|
|
@@ -15084,6 +15169,11 @@ export const makePaymentRequestBundle = () => factories['io.flow.v0.models.payme
|
|
|
15084
15169
|
export const makePaymentRequestBundleForm = () => factories['io.flow.v0.models.payment_request_bundle_form']();
|
|
15085
15170
|
export const makePaymentRequestForm = () => factories['io.flow.v0.models.payment_request_form']();
|
|
15086
15171
|
export const makePaymentRequestReference = () => factories['io.flow.v0.models.payment_request_reference']();
|
|
15172
|
+
export const makePaymentRequestReview = () => factories['io.flow.v0.models.payment_request_review']();
|
|
15173
|
+
export const makePaymentRequestReviewCheck = () => factories['io.flow.v0.models.payment_request_review_check']();
|
|
15174
|
+
export const makePaymentRequestReviewCheckStatus = () => factories['io.flow.v0.enums.payment_request_review_check_status']();
|
|
15175
|
+
export const makePaymentRequestReviewCheckType = () => factories['io.flow.v0.enums.payment_request_review_check_type']();
|
|
15176
|
+
export const makePaymentRequestReviewStatus = () => factories['io.flow.v0.enums.payment_request_review_status']();
|
|
15087
15177
|
export const makePaymentRequestUpserted = () => factories['io.flow.v0.models.payment_request_upserted']();
|
|
15088
15178
|
export const makePaymentReversal = () => factories['io.flow.v0.models.payment_reversal']();
|
|
15089
15179
|
export const makePaymentReversalForm = () => factories['io.flow.v0.models.payment_reversal_form']();
|
|
@@ -15104,6 +15194,7 @@ export const makePayoutStatusFailed = () => factories['io.flow.v0.models.payout_
|
|
|
15104
15194
|
export const makePayoutStatusFailureCode = () => factories['io.flow.v0.enums.payout_status_failure_code']();
|
|
15105
15195
|
export const makePayoutStatusScheduled = () => factories['io.flow.v0.models.payout_status_scheduled']();
|
|
15106
15196
|
export const makePayoutStatusSent = () => factories['io.flow.v0.models.payout_status_sent']();
|
|
15197
|
+
export const makePayoutTransaction = () => factories['io.flow.v0.models.payout_transaction']();
|
|
15107
15198
|
export const makePaypalAuthorizationDetails = () => factories['io.flow.v0.models.paypal_authorization_details']();
|
|
15108
15199
|
export const makePaypalAuthorizationForm = () => factories['io.flow.v0.models.paypal_authorization_form']();
|
|
15109
15200
|
export const makePeakSurchargeByWeightServiceFee = () => factories['io.flow.v0.models.peak_surcharge_by_weight_service_fee']();
|
|
@@ -15505,6 +15596,8 @@ export const makeTaxSetting = () => factories['io.flow.v0.unions.tax_setting']()
|
|
|
15505
15596
|
export const makeTaxVerificationResult = () => factories['io.flow.v0.enums.tax_verification_result']();
|
|
15506
15597
|
export const makeTaxabilityType = () => factories['io.flow.v0.enums.taxability_type']();
|
|
15507
15598
|
export const makeTaxabilityValue = () => factories['io.flow.v0.enums.taxability_value']();
|
|
15599
|
+
export const makeTest = () => factories['io.flow.v0.models.test']();
|
|
15600
|
+
export const makeTestUpserted = () => factories['io.flow.v0.models.test_upserted']();
|
|
15508
15601
|
export const makeThirdPartyLogisticsPartner = () => factories['io.flow.v0.models.third_party_logistics_partner']();
|
|
15509
15602
|
export const makeThreeDSecure = () => factories['io.flow.v0.models.three_d_secure']();
|
|
15510
15603
|
export const makeThreeDSecureCode = () => factories['io.flow.v0.enums.three_d_secure_code']();
|