@flowio/api-factories 0.0.20 → 0.0.21
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 +74 -45
- package/dist/esm/api.js +53 -27
- package/dist/types/api.d.ts +4 -1
- package/package.json +2 -2
- package/src/api.ts +62 -30
package/dist/cjs/api.js
CHANGED
|
@@ -18,23 +18,23 @@ exports.makeImport = exports.makeImageTag = exports.makeImageForm = exports.make
|
|
|
18
18
|
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 = exports.makeInputForm = exports.makeInlineWindowViewportSize = exports.makeInlineAuthorizationForm = exports.makeInlineAuthorizationDetails = exports.makeInlineActionConfiguration = exports.makeIncoterm = exports.makeIncludedLevyKey = exports.makeIncludedLevies = exports.makeInboundCartonFee = exports.makeImportVersion = exports.makeImportType = exports.makeImportTemplateForm = exports.makeImportTemplateExample = exports.makeImportTemplate = exports.makeImportResults = exports.makeImportForm = exports.makeImportFailedV2 = exports.makeImportCompletedV2 = void 0;
|
|
19
19
|
exports.makeLevyComponent = exports.makeLanguage = exports.makeLaneSummary = exports.makeLaneStrategy = exports.makeLanePreselectPreference = exports.makeLaneLandedCost = exports.makeLaneDirection = exports.makeLandedCostItem = exports.makeLabelUpsertedV2 = exports.makeLabelUpserted = exports.makeLabelOrderSummary = exports.makeLabelFormatUpserted = exports.makeLabelFormatDeleted = exports.makeLabelDeletedV2 = exports.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 = 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 = void 0;
|
|
20
20
|
exports.makeMerchantGiftCardBalanceForm = exports.makeMerchantGiftCardBalance = exports.makeMerchantApplicationForm = exports.makeMerchantApplication = exports.makeMembershipVersion = exports.makeMembershipUpsertedV2 = exports.makeMembershipPutForm = exports.makeMembershipForm = exports.makeMembershipDeletedV2 = exports.makeMembership = exports.makeMeasurementSystem = exports.makeMeasurement = exports.makeMarketingFeedsExportType = exports.makeMarginType = exports.makeMargin = exports.makeManifestedLabelUpserted = exports.makeManifestedLabelDeleted = exports.makeManifestForm = exports.makeManifest = exports.makeLogisticsSettings = exports.makeLocationErrorCode = exports.makeLocationError = exports.makeLocalizedTranslation = exports.makeLocalizedTotal = exports.makeLocalizedPrice = exports.makeLocalizedLineItemDiscount = exports.makeLocalizedLineItem = exports.makeLocalizedItemVat = exports.makeLocalizedItemPricesExportType = exports.makeLocalizedItemPrice = exports.makeLocalizedItemDuty = exports.makeLocalizedAdjustment = exports.makeLocaleNumbers = exports.makeLocale = exports.makeLocalSession = exports.makeLocalPriceDetails = exports.makeLocalItemUpserted = exports.makeLocalItemPricing = exports.makeLocalItemDeleted = exports.makeLocalItemAttributePricing = exports.makeLocalItem = exports.makeLocal = exports.makeLink = exports.makeLineItemQuantityForm = exports.makeLineItemForm = exports.makeLineItemAttributesForm = exports.makeLineItem = exports.makeLine = exports.makeLevyStrategy = exports.makeLevyInclusion = void 0;
|
|
21
|
-
exports.
|
|
22
|
-
exports.
|
|
23
|
-
exports.
|
|
24
|
-
exports.
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
34
|
-
exports.
|
|
35
|
-
exports.
|
|
36
|
-
exports.
|
|
37
|
-
exports.makeZone = exports.makeZeroLevyReasonCode = exports.makeZeroAmountIndicator = exports.makeWithholdingDeductionType = exports.makeWithholdingDeduction = exports.makeWebhookStatus = exports.makeWebhookSettings = exports.makeWebhookResponse = exports.makeWebhookRequestReference = exports.makeWebhookRequest = void 0;
|
|
21
|
+
exports.makeOrderBuilderSelectionsForm = exports.makeOrderBuilderDestinationForm = exports.makeOrderBuilderDestinationCountryForm = exports.makeOrderBuilderDeliveredDutyForm = exports.makeOrderBuilderCustomerInvoiceAddressForm = exports.makeOrderBuilderCustomerForm = exports.makeOrderBuilderAttributesForm = exports.makeOrderBuilder = exports.makeOrderAddress = exports.makeOrder = exports.makeOptions = exports.makeOptionWeightEstimates = exports.makeOptinResponseType = exports.makeOptinResponse = exports.makeOperationsContact = exports.makeOnlinePaymentAuthorizationForm = exports.makeOnlineAuthorizationUpsertedV2 = exports.makeOnlineAuthorizationDetails = exports.makeOnlineAuthorizationDeletedV2 = exports.makeOnlineAuthorization = exports.makeOnboardingTradeSector = exports.makeOnboardingMerchantTime = exports.makeOnboardingMerchantScheduledPickup = exports.makeOnboardingMerchantPickupWindow = 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.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;
|
|
22
|
+
exports.makeOrderPutForm = exports.makeOrderPromotionTrigger = exports.makeOrderPromotionForm = exports.makeOrderPromotion = exports.makeOrderPriceDetailKey = exports.makeOrderPriceDetailComponentKey = exports.makeOrderPriceDetailComponent = exports.makeOrderPriceDetail = exports.makeOrderPlacedV2 = exports.makeOrderPlacedDetails = exports.makeOrderPlaced = exports.makeOrderPaymentType = exports.makeOrderPayment = exports.makeOrderOptions = exports.makeOrderNumberReference = exports.makeOrderNumberGeneratorUuid = exports.makeOrderNumberGeneratorPrefixSuffix = exports.makeOrderNumberGeneratorHexadecimal = exports.makeOrderNumberGeneratorGeneratedNumber = exports.makeOrderNumberGeneratorFixedLength = exports.makeOrderNumberGeneratorDefaults = exports.makeOrderNumberGenerator = exports.makeOrderMerchantOfRecord = exports.makeOrderInformationFlow = exports.makeOrderInformationDetails = exports.makeOrderInformation = exports.makeOrderIdentifierVersion = exports.makeOrderIdentifierUpsertedV3 = exports.makeOrderIdentifierUpsertedV2 = exports.makeOrderIdentifierUpserted = 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 = void 0;
|
|
23
|
+
exports.makeOrderStorage = exports.makeOrderStatus = exports.makeOrderServiceChangeRequestData = exports.makeOrderServiceChangeRequest = exports.makeOrderServiceChangeForm = exports.makeOrderServiceChange = exports.makeOrderRulesSummary = exports.makeOrderRuleReference = exports.makeOrderReplacementUpserted = exports.makeOrderReplacementForm = exports.makeOrderReplacementDeleted = exports.makeOrderReplacement = exports.makeOrderRefundSummaryPartialIncludes = exports.makeOrderRefundSummaryPartialForm = exports.makeOrderRefundSummaryPartialCharged = exports.makeOrderRefundSummaryItem = exports.makeOrderRefundSummaryIncludes = exports.makeOrderRefundSummaryFullForm = exports.makeOrderRefundSummaryForm = exports.makeOrderRefundSummaryAmounts = exports.makeOrderRefundSummary = exports.makeOrderReference = exports.makeOrderQuoteSummaryTotal = exports.makeOrderQuoteSummaryTax = exports.makeOrderQuoteSummaryShippingSurcharges = exports.makeOrderQuoteSummaryShippingFreight = exports.makeOrderQuoteSummaryShipping = exports.makeOrderQuoteSummaryItems = exports.makeOrderQuoteSummaryDuty = exports.makeOrderQuoteSummary = 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 = void 0;
|
|
24
|
+
exports.makePartnerCenterForm = exports.makePartnerCenterFee = exports.makePartnerCenter = exports.makePackaging = exports.makeOversizedShipmentRatecardFee = exports.makeOutboundCartonFee = exports.makeOriginalPrices = exports.makeOrganizationVersion = exports.makeOrganizationUpsertedV2 = exports.makeOrganizationUpserted = exports.makeOrganizationTokenV2Reference = exports.makeOrganizationTokenV2 = exports.makeOrganizationTokenReference = exports.makeOrganizationTokenFormV2 = exports.makeOrganizationTokenForm = exports.makeOrganizationToken = exports.makeOrganizationSummary = exports.makeOrganizationStatus = exports.makeOrganizationSessionAuthorization = exports.makeOrganizationSession = exports.makeOrganizationReference = exports.makeOrganizationRatesPublished = exports.makeOrganizationRatesData = exports.makeOrganizationPutForm = exports.makeOrganizationPaymentMethodTag = exports.makeOrganizationForm = exports.makeOrganizationDeletedV2 = exports.makeOrganizationDeleted = exports.makeOrganizationDefaults = exports.makeOrganizationDefaultConfigurationsUpserted = exports.makeOrganizationDefaultConfigurationsForm = exports.makeOrganizationDefaultConfigurationsDeleted = exports.makeOrganizationDefaultConfigurations = exports.makeOrganizationConfigurationReference = 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 = void 0;
|
|
25
|
+
exports.makePaymentMethodDataCompleteAuthorizationCard = exports.makePaymentMethodDataAuthorizePaypal = exports.makePaymentMethodDataAuthorizeKlarnaResultSuccess = exports.makePaymentMethodDataAuthorizeKlarnaResultFailure = exports.makePaymentMethodDataAuthorizeKlarnaResult = exports.makePaymentMethodDataAuthorizeKlarna = exports.makePaymentMethodDataAuthorizeGooglepay = exports.makePaymentMethodDataAuthorizeCard = exports.makePaymentMethodDataAuthorizeApplepay = exports.makePaymentMethodData = exports.makePaymentMethodCardToken = exports.makePaymentMethodCardPciDetails = exports.makePaymentMethodCardNumberCleartext = exports.makePaymentMethodCardNumberCipher = exports.makePaymentMethodCard = exports.makePaymentMethodCapability = exports.makePaymentMethodBrand = exports.makePaymentMethod = exports.makePaymentInformation = exports.makePaymentForm = exports.makePaymentFailureCode = exports.makePaymentFailure = exports.makePaymentErrorCode = exports.makePaymentError = exports.makePaymentDuty = exports.makePaymentDiscount = exports.makePaymentDeleted = exports.makePaymentCryptopay = exports.makePaymentContactShipping = exports.makePaymentContactBilling = exports.makePaymentCaptureStatus = exports.makePaymentCaptureOptionManual = 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 = void 0;
|
|
26
|
+
exports.makePaymentRequestBundle = exports.makePaymentRequestBillingFees = exports.makePaymentRequestBilling = exports.makePaymentRequest = exports.makePaymentRefundStatus = exports.makePaymentRefundForm = exports.makePaymentRefund = exports.makePaymentReference = exports.makePaymentProcessorReference = exports.makePaymentProcessorIdentifier = exports.makePaymentProcessorAccountReference = exports.makePaymentProcessorAccount = exports.makePaymentProcessor = exports.makePaymentPaypal = exports.makePaymentPaymentRequestReference = exports.makePaymentPaymentMethod = exports.makePaymentOrderReference = exports.makePaymentOrderDetailsLineItem = exports.makePaymentMethodType = exports.makePaymentMethodTag = exports.makePaymentMethodSummarySofort = exports.makePaymentMethodSummaryPaypal = exports.makePaymentMethodSummaryKlarna = exports.makePaymentMethodSummaryIdeal = exports.makePaymentMethodSummaryGooglepay = exports.makePaymentMethodSummaryCard = exports.makePaymentMethodSummaryBancontact = exports.makePaymentMethodSummaryApplepay = exports.makePaymentMethodSummaryAfterpay = exports.makePaymentMethodSummary = exports.makePaymentMethodRuleContentKey = exports.makePaymentMethodRuleContent = 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 = void 0;
|
|
27
|
+
exports.makePriceBookReference = exports.makePriceBookItemUpserted = exports.makePriceBookItemSchedule = exports.makePriceBookItemQueryForm = exports.makePriceBookItemForm = exports.makePriceBookItemExportType = exports.makePriceBookItemExportOptions = exports.makePriceBookItemDeleted = exports.makePriceBookItem = exports.makePriceBookForm = exports.makePriceBookDeleted = exports.makePriceBook = exports.makePriceAccuracy = exports.makePrice = exports.makePostalType = exports.makePostPaymentRedirectUrls = exports.makePhysicalDeliverySpecialSerivce = exports.makePhysicalDelivery = exports.makePfsInventoryStatus = exports.makePfsInventoryCheckResponseItem = exports.makePfsInventoryCheckResponse = exports.makePermittedRoute = exports.makePermittedHttpMethod = exports.makePermissionCheck = exports.makePermissionAudit = exports.makePercentMargin = exports.makePeakSurchargeServiceFee = exports.makePeakSurchargeRatecardFee = exports.makePeakSurchargeByWeightServiceFee = exports.makePaypalAuthorizationForm = exports.makePaypalAuthorizationDetails = exports.makePayoutStatusCode = exports.makePayoutStatus = exports.makePayout = exports.makePaymentVersion = exports.makePaymentUpserted = exports.makePaymentType = exports.makePaymentTax = exports.makePaymentStatus = exports.makePaymentSourceForm = exports.makePaymentSourceConfirmationActionType = exports.makePaymentSourceConfirmationAction = exports.makePaymentSource = exports.makePaymentReversalStatus = exports.makePaymentReversalForm = exports.makePaymentReversal = exports.makePaymentRequestUpserted = exports.makePaymentRequestReference = exports.makePaymentRequestForm = exports.makePaymentRequestBundleForm = void 0;
|
|
28
|
+
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 = 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 = void 0;
|
|
29
|
+
exports.makeRefundDeclineCode = exports.makeRefundCaptureUpsertedV2 = exports.makeRefundCaptureSummary = exports.makeRefundCapture = exports.makeRefund = exports.makeRedirectAuthorizationForm = exports.makeRedirectAuthorizationDetails = exports.makeReadyToFulfillV2 = exports.makeReadyToFulfillDetails = exports.makeReadyToFulfill = exports.makeRatecardVersion = exports.makeRatecardUpserted = exports.makeRatecardSummary = exports.makeRatecardServiceSummary = exports.makeRatecardRegionReference = exports.makeRatecardReference = exports.makeRatecardRateVersion = exports.makeRatecardRateForm = exports.makeRatecardRate = exports.makeRatecardOwner = exports.makeRatecardLanesImportRequestData = exports.makeRatecardLaneVersion = exports.makeRatecardLaneUpserted = exports.makeRatecardLaneImportForm = exports.makeRatecardLaneForm = exports.makeRatecardLaneDeleted = exports.makeRatecardLane = exports.makeRatecardForm = exports.makeRatecardFee = exports.makeRatecardEstimateV4 = exports.makeRatecardEstimateV3 = exports.makeRatecardEstimateV2 = exports.makeRatecardEstimateV1 = exports.makeRatecardEstimateSummaryForm = exports.makeRatecardEstimateForm = exports.makeRatecardEstimate = exports.makeRatecardDeleted = exports.makeRatecardCarrierSummary = exports.makeRatecard = exports.makeRateVersion = exports.makeRateUpsertedV3 = exports.makeRateUpserted = exports.makeRateForm = exports.makeRateDeletedV3 = exports.makeRateDeleted = exports.makeRate = exports.makeQuoteVersion = exports.makeQuoteSummary = exports.makeQuoteLineItemForm = exports.makeQuoteForm = void 0;
|
|
30
|
+
exports.makeReturnSource = exports.makeReturnReasonPutForm = exports.makeReturnReasonForm = exports.makeReturnReason = exports.makeReturnPolicyVersion = exports.makeReturnPolicyStatistic = exports.makeReturnPolicyState = exports.makeReturnPolicyItemResult = exports.makeReturnPolicyForm = exports.makeReturnPolicy = exports.makeReturnPackageRatecardFee = exports.makeReturnOrderReference = exports.makeReturnLineItem = exports.makeReturnItemStatus = exports.makeReturnItemReference = exports.makeReturnForm = exports.makeReturnDeletedV2 = exports.makeReturnDeleted = exports.makeReturn = exports.makeReservationOrderReference = exports.makeReservationItemReference = exports.makeReservationItemForm = exports.makeReservationItem = exports.makeReservationForm = exports.makeReservationError = exports.makeReservation = exports.makeRepeatWeekly = exports.makeRepeatSchedule = exports.makeRepeatMonthly = exports.makeRepeatHourly = exports.makeRepeatDaily = exports.makeRemoteAreaServiceFee = exports.makeRemoteAreaRatecardFee = exports.makeRegionType = exports.makeRegionSettingForm = exports.makeRegionSetting = exports.makeRegionReference = exports.makeRegion = exports.makeRefundVersion = exports.makeRefundUpsertedV2 = exports.makeRefundStatus = exports.makeRefundReference = exports.makeRefundOrderSummaryAmounts = exports.makeRefundOrderSummary = exports.makeRefundIdentifierUpserted = exports.makeRefundIdentifierDeleted = exports.makeRefundIdentifier = exports.makeRefundForm = exports.makeRefundError = exports.makeRefundDeletedV2 = void 0;
|
|
31
|
+
exports.makeSessionReference = exports.makeSessionPutForm = exports.makeSessionGeo = exports.makeSessionFormat = exports.makeSessionForm = exports.makeSessionExpirationConfig = exports.makeSessionExperimentVariantForm = exports.makeSessionExperimentVariant = exports.makeSessionExperimentForm = exports.makeSessionExperiment = exports.makeSessionCurrencyFormat = exports.makeSessionContextExperiment = exports.makeSessionAuthorizationForm = exports.makeSessionAuthorization = exports.makeSession = exports.makeServiceSummary = exports.makeServiceReference = exports.makeServiceFee = exports.makeSelectIssuerOptionActionDetails = exports.makeSdkAdyenV3AuthenticationToken = exports.makeScheduledPickup = exports.makeScheduledExportForm = exports.makeScheduledExport = exports.makeScheduleExceptionStatus = exports.makeSchedule = exports.makeRuleUpserted = exports.makeRuleDeleted = exports.makeRouteAudit = exports.makeRoundingType = exports.makeRoundingMethod = exports.makeRounding = exports.makeRomanizationForm = exports.makeRomanization = exports.makeRole = exports.makeReversalVersion = exports.makeReversalUpserted = exports.makeReversalStatus = exports.makeReversalPutForm = exports.makeReversalForm = exports.makeReversalErrorCode = exports.makeReversalError = exports.makeReversalDeleted = exports.makeReversal = exports.makeReturnVersion = exports.makeReturnUpsertedV2 = exports.makeReturnUpserted = exports.makeReturnTrackingStatus = exports.makeReturnStatus = exports.makeReturnSourceFlow = exports.makeReturnSourceExternalVendor = void 0;
|
|
32
|
+
exports.makeShopifyCartConversionFlowOrder = exports.makeShopifyCartConversion = exports.makeShopifyCartChangeForm = exports.makeShopifyCartAddSingleForm = exports.makeShopifyCartAddMultipleForm = exports.makeShopifyCartAddForm = exports.makeShopifyCart = exports.makeShippingNotificationVersion = exports.makeShippingNotificationForm = exports.makeShippingNotification = exports.makeShippingLaneVersion = exports.makeShippingLaneUpserted = exports.makeShippingLaneSummary = exports.makeShippingLaneForm = exports.makeShippingLaneDeleted = exports.makeShippingLaneDefaultTierForm = exports.makeShippingLaneDefaultTier = exports.makeShippingLane = exports.makeShippingLabelVersion = exports.makeShippingLabelSummary = exports.makeShippingLabelRatecardSummary = exports.makeShippingLabelPackage = exports.makeShippingLabelLaneSummary = exports.makeShippingLabelHopSummary = exports.makeShippingLabelForm = exports.makeShippingLabelDocument = exports.makeShippingLabel = exports.makeShippingConfigurationVersion = exports.makeShippingConfigurationUpserted = exports.makeShippingConfigurationType = exports.makeShippingConfigurationSummary = exports.makeShippingConfigurationReference = exports.makeShippingConfigurationItemShippingPricingUpserted = exports.makeShippingConfigurationItemShippingPricingDeleted = exports.makeShippingConfigurationItemShippingPricing = exports.makeShippingConfigurationItemAvailabilityUpserted = exports.makeShippingConfigurationItemAvailabilityDeleted = exports.makeShippingConfigurationItemAvailability = exports.makeShippingConfigurationForm = exports.makeShippingConfigurationDeleted = exports.makeShippingConfigurationCopyForm = exports.makeShippingConfigurationCopy = exports.makeShippingConfiguration = exports.makeShippingAddress = exports.makeShipping = exports.makeShipmentWindow = exports.makeShipmentRecipient = exports.makeShipmentIntegrationType = exports.makeSessionVisitor = exports.makeSessionVisit = void 0;
|
|
33
|
+
exports.makeStripeAuthenticationDataForm = exports.makeStripeAuthenticationData = exports.makeStreetAddress = exports.makeStrategy = exports.makeStatementUpserted = exports.makeStatementDeleted = exports.makeStatement = exports.makeSortDirection = exports.makeSolidusVariantExportType = exports.makeSolidusProductExportType = exports.makeSnapshotUpserted = exports.makeSnapshotDeleted = exports.makeSinglePackageShippingNotificationForm = exports.makeSimplePermissionCheck = exports.makeShopifyVariantInventoryMetafield = exports.makeShopifyVariantFlowMetafield = exports.makeShopifySyncStatus = exports.makeShopifySyncCheck = exports.makeShopifyPrivateAppForm = exports.makeShopifyPrivateApp = exports.makeShopifyPrice = exports.makeShopifyOrderRomanizationMetafield = exports.makeShopifyOrderPriceAttributesMetafield = exports.makeShopifyOrderDeliveryMetafieldItem = exports.makeShopifyOrderDeliveryMetafield = exports.makeShopifyOrderAttributesForm = exports.makeShopifyMerchantApplicationForm = exports.makeShopifyMerchantApplication = exports.makeShopifyLocationReference = exports.makeShopifyLocationFlowCenterMappingForm = exports.makeShopifyLocationFlowCenterMapping = exports.makeShopifyLocalizedVariantPrices = exports.makeShopifyLocalizedVariant = exports.makeShopifyLocalizedOrder = exports.makeShopifyLocalizationSettingUpserted = exports.makeShopifyLocalizationSettingForm = exports.makeShopifyLocalizationSettingDeleted = exports.makeShopifyLocalizationSetting = exports.makeShopifyLocalizationMethod = exports.makeShopifyLocalPriceMetadata = exports.makeShopifyLocalCartMetadata = exports.makeShopifyLocalCartItemMetadata = exports.makeShopifyLine = exports.makeShopifyItemEventData = exports.makeShopifyItemEventBucket = exports.makeShopifyGrant = exports.makeShopifyEventBucket = exports.makeShopifyCustomerMetafieldValue = exports.makeShopifyCartItem = exports.makeShopifyCartConversionShopifyCart = void 0;
|
|
34
|
+
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 = exports.makeSubcatalogItem = exports.makeSubcatalogForm = exports.makeSubcatalogDeleted = exports.makeSubcatalog = exports.makeStripeAuthorizationResultActionDetails = void 0;
|
|
35
|
+
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.makeTaxabilityValue = exports.makeTaxabilityType = exports.makeTaxVerificationResult = exports.makeTaxSetting = exports.makeTaxReportType = exports.makeTaxReport = exports.makeTaxRegistrationForm = exports.makeTaxRegistration = void 0;
|
|
36
|
+
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.makeTransitWindow = exports.makeTransitEstimate = exports.makeTransactionUpserted = exports.makeTransactionSource = exports.makeTransactionDeleted = exports.makeTransaction = exports.makeTradeAgreementStatus = exports.makeTradeAgreementName = exports.makeTradeAgreementDuty = exports.makeTradeAgreementCertifier = exports.makeTradeAgreement = exports.makeTrackingVersion = exports.makeTrackingSummary = exports.makeTrackingStatus = exports.makeTrackingNumberType = exports.makeTrackingLabelVersion = exports.makeTrackingLabelSummary = exports.makeTrackingLabelForm = exports.makeTrackingLabelEventUpserted = exports.makeTrackingLabel = exports.makeTrackingForm = exports.makeTrackingEventVersion = void 0;
|
|
37
|
+
exports.makeZone = exports.makeZeroLevyReasonCode = exports.makeZeroAmountIndicator = exports.makeWithholdingDeductionType = exports.makeWithholdingDeduction = exports.makeWebhookStatus = exports.makeWebhookSettings = exports.makeWebhookResponse = exports.makeWebhookRequestReference = exports.makeWebhookRequest = exports.makeWebhookReference = exports.makeWebhookForm = exports.makeWebhookDelivery = void 0;
|
|
38
38
|
var faker_1 = __importDefault(require("@faker-js/faker"));
|
|
39
39
|
var arrayOf = function (f) {
|
|
40
40
|
var length = 3;
|
|
@@ -2914,15 +2914,7 @@ var factories = {
|
|
|
2914
2914
|
'io.flow.v0.enums.experience_status': function () { return faker_1.default.random.arrayElement(['draft', 'active', 'archiving', 'archived']); },
|
|
2915
2915
|
'io.flow.v0.enums.export_status': function () { return faker_1.default.random.arrayElement(['created', 'processing', 'completed', 'failed']); },
|
|
2916
2916
|
'io.flow.v0.enums.exporter_of_record': function () { return faker_1.default.random.arrayElement(['flow', 'organization']); },
|
|
2917
|
-
'io.flow.v0.enums.fee_deduction_type': function () { return faker_1.default.random.arrayElement([
|
|
2918
|
-
'mor',
|
|
2919
|
-
'fx',
|
|
2920
|
-
'processing',
|
|
2921
|
-
'rate_lock',
|
|
2922
|
-
'duty_guarantee',
|
|
2923
|
-
'revenue_share',
|
|
2924
|
-
'transfer',
|
|
2925
|
-
]); },
|
|
2917
|
+
'io.flow.v0.enums.fee_deduction_type': function () { return faker_1.default.random.arrayElement(['mor', 'fx', 'processing', 'rate_lock', 'duty_guarantee', 'transfer']); },
|
|
2926
2918
|
'io.flow.v0.enums.flow_behavior': function () { return faker_1.default.random.arrayElement(['view_consumer_data']); },
|
|
2927
2919
|
'io.flow.v0.enums.flow_entity': function () { return faker_1.default.random.arrayElement(['flow-usa', 'flow-irl', 'flow-can']); },
|
|
2928
2920
|
'io.flow.v0.enums.flow_role': function () { return faker_1.default.random.arrayElement([
|
|
@@ -3004,29 +2996,34 @@ var factories = {
|
|
|
3004
2996
|
'io.flow.v0.enums.merchant_of_record': function () { return faker_1.default.random.arrayElement(['flow', 'organization']); },
|
|
3005
2997
|
'io.flow.v0.enums.method': function () { return faker_1.default.random.arrayElement(['post']); },
|
|
3006
2998
|
'io.flow.v0.enums.onboarding_trade_sector': function () { return faker_1.default.random.arrayElement([
|
|
3007
|
-
'apparel',
|
|
3008
2999
|
'accessories',
|
|
3009
|
-
'arts_and_entertainment',
|
|
3010
3000
|
'animals_and_pet_supplies',
|
|
3001
|
+
'apparel',
|
|
3002
|
+
'apparel_and_accessories',
|
|
3003
|
+
'arts_and_entertainment',
|
|
3011
3004
|
'baby_and_toddler',
|
|
3012
3005
|
'business_and_industrial',
|
|
3013
|
-
'
|
|
3006
|
+
'cameras_and_optics',
|
|
3014
3007
|
'electronics',
|
|
3015
|
-
'furniture',
|
|
3016
3008
|
'food_beverages_and_tobacco',
|
|
3009
|
+
'furniture',
|
|
3010
|
+
'gift_cards',
|
|
3011
|
+
'hardware',
|
|
3017
3012
|
'health_and_beauty',
|
|
3018
3013
|
'home_and_garden',
|
|
3019
|
-
'hardware',
|
|
3020
3014
|
'jewelry',
|
|
3021
3015
|
'luggage_and_bags',
|
|
3016
|
+
'mature',
|
|
3022
3017
|
'media',
|
|
3023
3018
|
'office_supplies',
|
|
3024
|
-
'sporting_goods',
|
|
3025
|
-
'toys_and_games',
|
|
3026
|
-
'vehicles_and_parts',
|
|
3027
3019
|
'paper_and_art',
|
|
3020
|
+
'religious_and_ceremonial',
|
|
3021
|
+
'software',
|
|
3022
|
+
'sporting_goods',
|
|
3028
3023
|
'sports_and_fitness',
|
|
3024
|
+
'toys_and_games',
|
|
3029
3025
|
'toys_hobbies_gifts',
|
|
3026
|
+
'vehicles_and_parts',
|
|
3030
3027
|
'other',
|
|
3031
3028
|
]); },
|
|
3032
3029
|
'io.flow.v0.enums.optin_response_type': function () { return faker_1.default.random.arrayElement(['not_shown', 'opted_in', 'opted_out']); },
|
|
@@ -3362,7 +3359,15 @@ var factories = {
|
|
|
3362
3359
|
]); },
|
|
3363
3360
|
'io.flow.v0.enums.trade_agreement_name': function () { return faker_1.default.random.arrayElement(['USMCA', 'T-MEC', 'CUSMA', 'TCA']); },
|
|
3364
3361
|
'io.flow.v0.enums.trade_agreement_status': function () { return faker_1.default.random.arrayElement(['supported', 'not_supported']); },
|
|
3365
|
-
'io.flow.v0.enums.transaction_source': function () { return faker_1.default.random.arrayElement([
|
|
3362
|
+
'io.flow.v0.enums.transaction_source': function () { return faker_1.default.random.arrayElement([
|
|
3363
|
+
'capture',
|
|
3364
|
+
'refund',
|
|
3365
|
+
'dispute',
|
|
3366
|
+
'adjustment',
|
|
3367
|
+
'shipping_label',
|
|
3368
|
+
'other_adjustement',
|
|
3369
|
+
'tax_adjustement',
|
|
3370
|
+
]); },
|
|
3366
3371
|
'io.flow.v0.enums.unit_of_measurement': function () { return faker_1.default.random.arrayElement([
|
|
3367
3372
|
'millimeter',
|
|
3368
3373
|
'centimeter',
|
|
@@ -7211,6 +7216,14 @@ var factories = {
|
|
|
7211
7216
|
amount: factories.decimal(),
|
|
7212
7217
|
currency: factories.string(),
|
|
7213
7218
|
}); },
|
|
7219
|
+
'io.flow.v0.models.merchant_onboarding_address': function () { return ({
|
|
7220
|
+
full_name: factories.string(),
|
|
7221
|
+
streets: arrayOf(function () { return factories.string(); }),
|
|
7222
|
+
city: factories.string(),
|
|
7223
|
+
province: factories.string(),
|
|
7224
|
+
postal: factories.string(),
|
|
7225
|
+
country: factories.string(),
|
|
7226
|
+
}); },
|
|
7214
7227
|
'io.flow.v0.models.money': function () { return ({
|
|
7215
7228
|
amount: factories.double(),
|
|
7216
7229
|
currency: factories.string(),
|
|
@@ -7269,6 +7282,20 @@ var factories = {
|
|
|
7269
7282
|
min: factories.long(),
|
|
7270
7283
|
max: factories.long(),
|
|
7271
7284
|
}); },
|
|
7285
|
+
'io.flow.v0.models.onboarding_merchant_pickup_window': function () { return ({
|
|
7286
|
+
from: factories['io.flow.v0.models.onboarding_merchant_time'](),
|
|
7287
|
+
to: factories['io.flow.v0.models.onboarding_merchant_time'](),
|
|
7288
|
+
}); },
|
|
7289
|
+
'io.flow.v0.models.onboarding_merchant_scheduled_pickup': function () { return ({
|
|
7290
|
+
day_of_week: factories['io.flow.v0.enums.day_of_week'](),
|
|
7291
|
+
window: factories['io.flow.v0.models.onboarding_merchant_pickup_window'](),
|
|
7292
|
+
instructions: factories.string(),
|
|
7293
|
+
}); },
|
|
7294
|
+
'io.flow.v0.models.onboarding_merchant_time': function () { return ({
|
|
7295
|
+
hour_of_day: factories.string(),
|
|
7296
|
+
minute_of_hour: factories.string(),
|
|
7297
|
+
timezone: factories.string(),
|
|
7298
|
+
}); },
|
|
7272
7299
|
'io.flow.v0.models.online_authorization': function () { return ({
|
|
7273
7300
|
discriminator: 'online_authorization',
|
|
7274
7301
|
id: factories.string(),
|
|
@@ -10311,6 +10338,7 @@ var factories = {
|
|
|
10311
10338
|
'io.flow.v0.models.shopify_merchant_application': function () { return ({
|
|
10312
10339
|
discriminator: 'shopify_merchant_application',
|
|
10313
10340
|
id: factories.string(),
|
|
10341
|
+
organization_id: factories.string(),
|
|
10314
10342
|
company: factories['io.flow.v0.models.merchant_info'](),
|
|
10315
10343
|
indirect_tax_number: factories.string(),
|
|
10316
10344
|
parent_company: factories['io.flow.v0.models.merchant_info'](),
|
|
@@ -10779,17 +10807,12 @@ var factories = {
|
|
|
10779
10807
|
email_recipients: arrayOf(function () { return factories.string(); }),
|
|
10780
10808
|
}); },
|
|
10781
10809
|
'io.flow.v0.models.third_party_logistics_partner': function () { return ({
|
|
10782
|
-
warehouse_address: factories['io.flow.v0.models.
|
|
10810
|
+
warehouse_address: factories['io.flow.v0.models.merchant_onboarding_address'](),
|
|
10783
10811
|
warehouse_url: factories.string(),
|
|
10784
|
-
|
|
10785
|
-
|
|
10786
|
-
pickup_instructions: factories.string(),
|
|
10812
|
+
location: factories['io.flow.v0.models.merchant_onboarding_address'](),
|
|
10813
|
+
scheduled_pickups: arrayOf(function () { return factories['io.flow.v0.models.onboarding_merchant_scheduled_pickup'](); }),
|
|
10787
10814
|
operations_contact: factories['io.flow.v0.models.operations_contact'](),
|
|
10788
10815
|
}); },
|
|
10789
|
-
'io.flow.v0.models.third_party_logistics_pick_up_time_window': function () { return ({
|
|
10790
|
-
from: factories.string(),
|
|
10791
|
-
to: factories.string(),
|
|
10792
|
-
}); },
|
|
10793
10816
|
'io.flow.v0.models.three_d_secure': function () { return ({
|
|
10794
10817
|
code: factories['io.flow.v0.enums.three_d_secure_code'](),
|
|
10795
10818
|
description: factories.string(),
|
|
@@ -13671,6 +13694,8 @@ var makeMerchantOfRecordEntityRegistration = function () { return factories['io.
|
|
|
13671
13694
|
exports.makeMerchantOfRecordEntityRegistration = makeMerchantOfRecordEntityRegistration;
|
|
13672
13695
|
var makeMerchantOfRecordPaymentForm = function () { return factories['io.flow.v0.models.merchant_of_record_payment_form'](); };
|
|
13673
13696
|
exports.makeMerchantOfRecordPaymentForm = makeMerchantOfRecordPaymentForm;
|
|
13697
|
+
var makeMerchantOnboardingAddress = function () { return factories['io.flow.v0.models.merchant_onboarding_address'](); };
|
|
13698
|
+
exports.makeMerchantOnboardingAddress = makeMerchantOnboardingAddress;
|
|
13674
13699
|
var makeMethod = function () { return factories['io.flow.v0.enums.method'](); };
|
|
13675
13700
|
exports.makeMethod = makeMethod;
|
|
13676
13701
|
var makeMoney = function () { return factories['io.flow.v0.models.money'](); };
|
|
@@ -13697,6 +13722,12 @@ var makeNotificationUpsertedV2 = function () { return factories['io.flow.v0.mode
|
|
|
13697
13722
|
exports.makeNotificationUpsertedV2 = makeNotificationUpsertedV2;
|
|
13698
13723
|
var makeNumberRange = function () { return factories['io.flow.v0.models.number_range'](); };
|
|
13699
13724
|
exports.makeNumberRange = makeNumberRange;
|
|
13725
|
+
var makeOnboardingMerchantPickupWindow = function () { return factories['io.flow.v0.models.onboarding_merchant_pickup_window'](); };
|
|
13726
|
+
exports.makeOnboardingMerchantPickupWindow = makeOnboardingMerchantPickupWindow;
|
|
13727
|
+
var makeOnboardingMerchantScheduledPickup = function () { return factories['io.flow.v0.models.onboarding_merchant_scheduled_pickup'](); };
|
|
13728
|
+
exports.makeOnboardingMerchantScheduledPickup = makeOnboardingMerchantScheduledPickup;
|
|
13729
|
+
var makeOnboardingMerchantTime = function () { return factories['io.flow.v0.models.onboarding_merchant_time'](); };
|
|
13730
|
+
exports.makeOnboardingMerchantTime = makeOnboardingMerchantTime;
|
|
13700
13731
|
var makeOnboardingTradeSector = function () { return factories['io.flow.v0.enums.onboarding_trade_sector'](); };
|
|
13701
13732
|
exports.makeOnboardingTradeSector = makeOnboardingTradeSector;
|
|
13702
13733
|
var makeOnlineAuthorization = function () { return factories['io.flow.v0.models.online_authorization'](); };
|
|
@@ -15057,8 +15088,6 @@ var makeTaxabilityValue = function () { return factories['io.flow.v0.enums.taxab
|
|
|
15057
15088
|
exports.makeTaxabilityValue = makeTaxabilityValue;
|
|
15058
15089
|
var makeThirdPartyLogisticsPartner = function () { return factories['io.flow.v0.models.third_party_logistics_partner'](); };
|
|
15059
15090
|
exports.makeThirdPartyLogisticsPartner = makeThirdPartyLogisticsPartner;
|
|
15060
|
-
var makeThirdPartyLogisticsPickUpTimeWindow = function () { return factories['io.flow.v0.models.third_party_logistics_pick_up_time_window'](); };
|
|
15061
|
-
exports.makeThirdPartyLogisticsPickUpTimeWindow = makeThirdPartyLogisticsPickUpTimeWindow;
|
|
15062
15091
|
var makeThreeDSecure = function () { return factories['io.flow.v0.models.three_d_secure'](); };
|
|
15063
15092
|
exports.makeThreeDSecure = makeThreeDSecure;
|
|
15064
15093
|
var makeThreeDSecureCode = function () { return factories['io.flow.v0.enums.three_d_secure_code'](); };
|
package/dist/esm/api.js
CHANGED
|
@@ -2877,15 +2877,7 @@ var factories = {
|
|
|
2877
2877
|
'io.flow.v0.enums.experience_status': function () { return faker.random.arrayElement(['draft', 'active', 'archiving', 'archived']); },
|
|
2878
2878
|
'io.flow.v0.enums.export_status': function () { return faker.random.arrayElement(['created', 'processing', 'completed', 'failed']); },
|
|
2879
2879
|
'io.flow.v0.enums.exporter_of_record': function () { return faker.random.arrayElement(['flow', 'organization']); },
|
|
2880
|
-
'io.flow.v0.enums.fee_deduction_type': function () { return faker.random.arrayElement([
|
|
2881
|
-
'mor',
|
|
2882
|
-
'fx',
|
|
2883
|
-
'processing',
|
|
2884
|
-
'rate_lock',
|
|
2885
|
-
'duty_guarantee',
|
|
2886
|
-
'revenue_share',
|
|
2887
|
-
'transfer',
|
|
2888
|
-
]); },
|
|
2880
|
+
'io.flow.v0.enums.fee_deduction_type': function () { return faker.random.arrayElement(['mor', 'fx', 'processing', 'rate_lock', 'duty_guarantee', 'transfer']); },
|
|
2889
2881
|
'io.flow.v0.enums.flow_behavior': function () { return faker.random.arrayElement(['view_consumer_data']); },
|
|
2890
2882
|
'io.flow.v0.enums.flow_entity': function () { return faker.random.arrayElement(['flow-usa', 'flow-irl', 'flow-can']); },
|
|
2891
2883
|
'io.flow.v0.enums.flow_role': function () { return faker.random.arrayElement([
|
|
@@ -2967,29 +2959,34 @@ var factories = {
|
|
|
2967
2959
|
'io.flow.v0.enums.merchant_of_record': function () { return faker.random.arrayElement(['flow', 'organization']); },
|
|
2968
2960
|
'io.flow.v0.enums.method': function () { return faker.random.arrayElement(['post']); },
|
|
2969
2961
|
'io.flow.v0.enums.onboarding_trade_sector': function () { return faker.random.arrayElement([
|
|
2970
|
-
'apparel',
|
|
2971
2962
|
'accessories',
|
|
2972
|
-
'arts_and_entertainment',
|
|
2973
2963
|
'animals_and_pet_supplies',
|
|
2964
|
+
'apparel',
|
|
2965
|
+
'apparel_and_accessories',
|
|
2966
|
+
'arts_and_entertainment',
|
|
2974
2967
|
'baby_and_toddler',
|
|
2975
2968
|
'business_and_industrial',
|
|
2976
|
-
'
|
|
2969
|
+
'cameras_and_optics',
|
|
2977
2970
|
'electronics',
|
|
2978
|
-
'furniture',
|
|
2979
2971
|
'food_beverages_and_tobacco',
|
|
2972
|
+
'furniture',
|
|
2973
|
+
'gift_cards',
|
|
2974
|
+
'hardware',
|
|
2980
2975
|
'health_and_beauty',
|
|
2981
2976
|
'home_and_garden',
|
|
2982
|
-
'hardware',
|
|
2983
2977
|
'jewelry',
|
|
2984
2978
|
'luggage_and_bags',
|
|
2979
|
+
'mature',
|
|
2985
2980
|
'media',
|
|
2986
2981
|
'office_supplies',
|
|
2987
|
-
'sporting_goods',
|
|
2988
|
-
'toys_and_games',
|
|
2989
|
-
'vehicles_and_parts',
|
|
2990
2982
|
'paper_and_art',
|
|
2983
|
+
'religious_and_ceremonial',
|
|
2984
|
+
'software',
|
|
2985
|
+
'sporting_goods',
|
|
2991
2986
|
'sports_and_fitness',
|
|
2987
|
+
'toys_and_games',
|
|
2992
2988
|
'toys_hobbies_gifts',
|
|
2989
|
+
'vehicles_and_parts',
|
|
2993
2990
|
'other',
|
|
2994
2991
|
]); },
|
|
2995
2992
|
'io.flow.v0.enums.optin_response_type': function () { return faker.random.arrayElement(['not_shown', 'opted_in', 'opted_out']); },
|
|
@@ -3325,7 +3322,15 @@ var factories = {
|
|
|
3325
3322
|
]); },
|
|
3326
3323
|
'io.flow.v0.enums.trade_agreement_name': function () { return faker.random.arrayElement(['USMCA', 'T-MEC', 'CUSMA', 'TCA']); },
|
|
3327
3324
|
'io.flow.v0.enums.trade_agreement_status': function () { return faker.random.arrayElement(['supported', 'not_supported']); },
|
|
3328
|
-
'io.flow.v0.enums.transaction_source': function () { return faker.random.arrayElement([
|
|
3325
|
+
'io.flow.v0.enums.transaction_source': function () { return faker.random.arrayElement([
|
|
3326
|
+
'capture',
|
|
3327
|
+
'refund',
|
|
3328
|
+
'dispute',
|
|
3329
|
+
'adjustment',
|
|
3330
|
+
'shipping_label',
|
|
3331
|
+
'other_adjustement',
|
|
3332
|
+
'tax_adjustement',
|
|
3333
|
+
]); },
|
|
3329
3334
|
'io.flow.v0.enums.unit_of_measurement': function () { return faker.random.arrayElement([
|
|
3330
3335
|
'millimeter',
|
|
3331
3336
|
'centimeter',
|
|
@@ -7174,6 +7179,14 @@ var factories = {
|
|
|
7174
7179
|
amount: factories.decimal(),
|
|
7175
7180
|
currency: factories.string(),
|
|
7176
7181
|
}); },
|
|
7182
|
+
'io.flow.v0.models.merchant_onboarding_address': function () { return ({
|
|
7183
|
+
full_name: factories.string(),
|
|
7184
|
+
streets: arrayOf(function () { return factories.string(); }),
|
|
7185
|
+
city: factories.string(),
|
|
7186
|
+
province: factories.string(),
|
|
7187
|
+
postal: factories.string(),
|
|
7188
|
+
country: factories.string(),
|
|
7189
|
+
}); },
|
|
7177
7190
|
'io.flow.v0.models.money': function () { return ({
|
|
7178
7191
|
amount: factories.double(),
|
|
7179
7192
|
currency: factories.string(),
|
|
@@ -7232,6 +7245,20 @@ var factories = {
|
|
|
7232
7245
|
min: factories.long(),
|
|
7233
7246
|
max: factories.long(),
|
|
7234
7247
|
}); },
|
|
7248
|
+
'io.flow.v0.models.onboarding_merchant_pickup_window': function () { return ({
|
|
7249
|
+
from: factories['io.flow.v0.models.onboarding_merchant_time'](),
|
|
7250
|
+
to: factories['io.flow.v0.models.onboarding_merchant_time'](),
|
|
7251
|
+
}); },
|
|
7252
|
+
'io.flow.v0.models.onboarding_merchant_scheduled_pickup': function () { return ({
|
|
7253
|
+
day_of_week: factories['io.flow.v0.enums.day_of_week'](),
|
|
7254
|
+
window: factories['io.flow.v0.models.onboarding_merchant_pickup_window'](),
|
|
7255
|
+
instructions: factories.string(),
|
|
7256
|
+
}); },
|
|
7257
|
+
'io.flow.v0.models.onboarding_merchant_time': function () { return ({
|
|
7258
|
+
hour_of_day: factories.string(),
|
|
7259
|
+
minute_of_hour: factories.string(),
|
|
7260
|
+
timezone: factories.string(),
|
|
7261
|
+
}); },
|
|
7235
7262
|
'io.flow.v0.models.online_authorization': function () { return ({
|
|
7236
7263
|
discriminator: 'online_authorization',
|
|
7237
7264
|
id: factories.string(),
|
|
@@ -10274,6 +10301,7 @@ var factories = {
|
|
|
10274
10301
|
'io.flow.v0.models.shopify_merchant_application': function () { return ({
|
|
10275
10302
|
discriminator: 'shopify_merchant_application',
|
|
10276
10303
|
id: factories.string(),
|
|
10304
|
+
organization_id: factories.string(),
|
|
10277
10305
|
company: factories['io.flow.v0.models.merchant_info'](),
|
|
10278
10306
|
indirect_tax_number: factories.string(),
|
|
10279
10307
|
parent_company: factories['io.flow.v0.models.merchant_info'](),
|
|
@@ -10742,17 +10770,12 @@ var factories = {
|
|
|
10742
10770
|
email_recipients: arrayOf(function () { return factories.string(); }),
|
|
10743
10771
|
}); },
|
|
10744
10772
|
'io.flow.v0.models.third_party_logistics_partner': function () { return ({
|
|
10745
|
-
warehouse_address: factories['io.flow.v0.models.
|
|
10773
|
+
warehouse_address: factories['io.flow.v0.models.merchant_onboarding_address'](),
|
|
10746
10774
|
warehouse_url: factories.string(),
|
|
10747
|
-
|
|
10748
|
-
|
|
10749
|
-
pickup_instructions: factories.string(),
|
|
10775
|
+
location: factories['io.flow.v0.models.merchant_onboarding_address'](),
|
|
10776
|
+
scheduled_pickups: arrayOf(function () { return factories['io.flow.v0.models.onboarding_merchant_scheduled_pickup'](); }),
|
|
10750
10777
|
operations_contact: factories['io.flow.v0.models.operations_contact'](),
|
|
10751
10778
|
}); },
|
|
10752
|
-
'io.flow.v0.models.third_party_logistics_pick_up_time_window': function () { return ({
|
|
10753
|
-
from: factories.string(),
|
|
10754
|
-
to: factories.string(),
|
|
10755
|
-
}); },
|
|
10756
10779
|
'io.flow.v0.models.three_d_secure': function () { return ({
|
|
10757
10780
|
code: factories['io.flow.v0.enums.three_d_secure_code'](),
|
|
10758
10781
|
description: factories.string(),
|
|
@@ -12872,6 +12895,7 @@ export var makeMerchantOfRecordAuthorizationForm = function () { return factorie
|
|
|
12872
12895
|
export var makeMerchantOfRecordEntity = function () { return factories['io.flow.v0.models.merchant_of_record_entity'](); };
|
|
12873
12896
|
export var makeMerchantOfRecordEntityRegistration = function () { return factories['io.flow.v0.models.merchant_of_record_entity_registration'](); };
|
|
12874
12897
|
export var makeMerchantOfRecordPaymentForm = function () { return factories['io.flow.v0.models.merchant_of_record_payment_form'](); };
|
|
12898
|
+
export var makeMerchantOnboardingAddress = function () { return factories['io.flow.v0.models.merchant_onboarding_address'](); };
|
|
12875
12899
|
export var makeMethod = function () { return factories['io.flow.v0.enums.method'](); };
|
|
12876
12900
|
export var makeMoney = function () { return factories['io.flow.v0.models.money'](); };
|
|
12877
12901
|
export var makeMoneyWithBase = function () { return factories['io.flow.v0.models.money_with_base'](); };
|
|
@@ -12885,6 +12909,9 @@ export var makeNoInventoryReservationErrorItem = function () { return factories[
|
|
|
12885
12909
|
export var makeNotificationDeletedV2 = function () { return factories['io.flow.v0.models.notification_deleted_v2'](); };
|
|
12886
12910
|
export var makeNotificationUpsertedV2 = function () { return factories['io.flow.v0.models.notification_upserted_v2'](); };
|
|
12887
12911
|
export var makeNumberRange = function () { return factories['io.flow.v0.models.number_range'](); };
|
|
12912
|
+
export var makeOnboardingMerchantPickupWindow = function () { return factories['io.flow.v0.models.onboarding_merchant_pickup_window'](); };
|
|
12913
|
+
export var makeOnboardingMerchantScheduledPickup = function () { return factories['io.flow.v0.models.onboarding_merchant_scheduled_pickup'](); };
|
|
12914
|
+
export var makeOnboardingMerchantTime = function () { return factories['io.flow.v0.models.onboarding_merchant_time'](); };
|
|
12888
12915
|
export var makeOnboardingTradeSector = function () { return factories['io.flow.v0.enums.onboarding_trade_sector'](); };
|
|
12889
12916
|
export var makeOnlineAuthorization = function () { return factories['io.flow.v0.models.online_authorization'](); };
|
|
12890
12917
|
export var makeOnlineAuthorizationDeletedV2 = function () { return factories['io.flow.v0.models.online_authorization_deleted_v2'](); };
|
|
@@ -13565,7 +13592,6 @@ export var makeTaxVerificationResult = function () { return factories['io.flow.v
|
|
|
13565
13592
|
export var makeTaxabilityType = function () { return factories['io.flow.v0.enums.taxability_type'](); };
|
|
13566
13593
|
export var makeTaxabilityValue = function () { return factories['io.flow.v0.enums.taxability_value'](); };
|
|
13567
13594
|
export var makeThirdPartyLogisticsPartner = function () { return factories['io.flow.v0.models.third_party_logistics_partner'](); };
|
|
13568
|
-
export var makeThirdPartyLogisticsPickUpTimeWindow = function () { return factories['io.flow.v0.models.third_party_logistics_pick_up_time_window'](); };
|
|
13569
13595
|
export var makeThreeDSecure = function () { return factories['io.flow.v0.models.three_d_secure'](); };
|
|
13570
13596
|
export var makeThreeDSecureCode = function () { return factories['io.flow.v0.enums.three_d_secure_code'](); };
|
|
13571
13597
|
export var makeThreedsChallengeAction = function () { return factories['io.flow.v0.unions.threeds_challenge_action'](); };
|
package/dist/types/api.d.ts
CHANGED
|
@@ -761,6 +761,7 @@ export declare const makeMerchantOfRecordAuthorizationForm: () => io.flow.v0.mod
|
|
|
761
761
|
export declare const makeMerchantOfRecordEntity: () => io.flow.v0.models.MerchantOfRecordEntity;
|
|
762
762
|
export declare const makeMerchantOfRecordEntityRegistration: () => io.flow.v0.models.MerchantOfRecordEntityRegistration;
|
|
763
763
|
export declare const makeMerchantOfRecordPaymentForm: () => io.flow.v0.models.MerchantOfRecordPaymentForm;
|
|
764
|
+
export declare const makeMerchantOnboardingAddress: () => io.flow.v0.models.MerchantOnboardingAddress;
|
|
764
765
|
export declare const makeMethod: () => "post";
|
|
765
766
|
export declare const makeMoney: () => io.flow.v0.models.Money;
|
|
766
767
|
export declare const makeMoneyWithBase: () => io.flow.v0.models.MoneyWithBase;
|
|
@@ -774,6 +775,9 @@ export declare const makeNoInventoryReservationErrorItem: () => io.flow.v0.model
|
|
|
774
775
|
export declare const makeNotificationDeletedV2: () => io.flow.v0.models.NotificationDeletedV2;
|
|
775
776
|
export declare const makeNotificationUpsertedV2: () => io.flow.v0.models.NotificationUpsertedV2;
|
|
776
777
|
export declare const makeNumberRange: () => io.flow.v0.models.NumberRange;
|
|
778
|
+
export declare const makeOnboardingMerchantPickupWindow: () => io.flow.v0.models.OnboardingMerchantPickupWindow;
|
|
779
|
+
export declare const makeOnboardingMerchantScheduledPickup: () => io.flow.v0.models.OnboardingMerchantScheduledPickup;
|
|
780
|
+
export declare const makeOnboardingMerchantTime: () => io.flow.v0.models.OnboardingMerchantTime;
|
|
777
781
|
export declare const makeOnboardingTradeSector: () => io.flow.v0.enums.OnboardingTradeSector;
|
|
778
782
|
export declare const makeOnlineAuthorization: () => io.flow.v0.models.OnlineAuthorization;
|
|
779
783
|
export declare const makeOnlineAuthorizationDeletedV2: () => io.flow.v0.models.OnlineAuthorizationDeletedV2;
|
|
@@ -1454,7 +1458,6 @@ export declare const makeTaxVerificationResult: () => io.flow.v0.enums.TaxVerifi
|
|
|
1454
1458
|
export declare const makeTaxabilityType: () => "tax_rule";
|
|
1455
1459
|
export declare const makeTaxabilityValue: () => "exempt";
|
|
1456
1460
|
export declare const makeThirdPartyLogisticsPartner: () => io.flow.v0.models.ThirdPartyLogisticsPartner;
|
|
1457
|
-
export declare const makeThirdPartyLogisticsPickUpTimeWindow: () => io.flow.v0.models.ThirdPartyLogisticsPickUpTimeWindow;
|
|
1458
1461
|
export declare const makeThreeDSecure: () => io.flow.v0.models.ThreeDSecure;
|
|
1459
1462
|
export declare const makeThreeDSecureCode: () => io.flow.v0.enums.ThreeDSecureCode;
|
|
1460
1463
|
export declare const makeThreedsChallengeAction: () => io.flow.v0.models.ThreedsTwoChallengeRequest;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-factories",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.21",
|
|
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": "file:../api-types"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "ff2134f64115a5c626909157c3b9470881542b36"
|
|
40
40
|
}
|
package/src/api.ts
CHANGED
|
@@ -3329,17 +3329,7 @@ const factories = {
|
|
|
3329
3329
|
'io.flow.v0.enums.experience_status': (): io.flow.v0.enums.ExperienceStatus => faker.random.arrayElement(['draft', 'active', 'archiving', 'archived']),
|
|
3330
3330
|
'io.flow.v0.enums.export_status': (): io.flow.v0.enums.ExportStatus => faker.random.arrayElement(['created', 'processing', 'completed', 'failed']),
|
|
3331
3331
|
'io.flow.v0.enums.exporter_of_record': (): io.flow.v0.enums.ExporterOfRecord => faker.random.arrayElement(['flow', 'organization']),
|
|
3332
|
-
|
|
3333
|
-
'io.flow.v0.enums.fee_deduction_type': (): io.flow.v0.enums.FeeDeductionType => faker.random.arrayElement([
|
|
3334
|
-
'mor',
|
|
3335
|
-
'fx',
|
|
3336
|
-
'processing',
|
|
3337
|
-
'rate_lock',
|
|
3338
|
-
'duty_guarantee',
|
|
3339
|
-
'revenue_share',
|
|
3340
|
-
'transfer',
|
|
3341
|
-
]),
|
|
3342
|
-
|
|
3332
|
+
'io.flow.v0.enums.fee_deduction_type': (): io.flow.v0.enums.FeeDeductionType => faker.random.arrayElement(['mor', 'fx', 'processing', 'rate_lock', 'duty_guarantee', 'transfer']),
|
|
3343
3333
|
'io.flow.v0.enums.flow_behavior': (): io.flow.v0.enums.FlowBehavior => faker.random.arrayElement(['view_consumer_data']),
|
|
3344
3334
|
'io.flow.v0.enums.flow_entity': (): io.flow.v0.enums.FlowEntity => faker.random.arrayElement(['flow-usa', 'flow-irl', 'flow-can']),
|
|
3345
3335
|
|
|
@@ -3430,29 +3420,34 @@ const factories = {
|
|
|
3430
3420
|
'io.flow.v0.enums.method': (): io.flow.v0.enums.Method => faker.random.arrayElement(['post']),
|
|
3431
3421
|
|
|
3432
3422
|
'io.flow.v0.enums.onboarding_trade_sector': (): io.flow.v0.enums.OnboardingTradeSector => faker.random.arrayElement([
|
|
3433
|
-
'apparel',
|
|
3434
3423
|
'accessories',
|
|
3435
|
-
'arts_and_entertainment',
|
|
3436
3424
|
'animals_and_pet_supplies',
|
|
3425
|
+
'apparel',
|
|
3426
|
+
'apparel_and_accessories',
|
|
3427
|
+
'arts_and_entertainment',
|
|
3437
3428
|
'baby_and_toddler',
|
|
3438
3429
|
'business_and_industrial',
|
|
3439
|
-
'
|
|
3430
|
+
'cameras_and_optics',
|
|
3440
3431
|
'electronics',
|
|
3441
|
-
'furniture',
|
|
3442
3432
|
'food_beverages_and_tobacco',
|
|
3433
|
+
'furniture',
|
|
3434
|
+
'gift_cards',
|
|
3435
|
+
'hardware',
|
|
3443
3436
|
'health_and_beauty',
|
|
3444
3437
|
'home_and_garden',
|
|
3445
|
-
'hardware',
|
|
3446
3438
|
'jewelry',
|
|
3447
3439
|
'luggage_and_bags',
|
|
3440
|
+
'mature',
|
|
3448
3441
|
'media',
|
|
3449
3442
|
'office_supplies',
|
|
3450
|
-
'sporting_goods',
|
|
3451
|
-
'toys_and_games',
|
|
3452
|
-
'vehicles_and_parts',
|
|
3453
3443
|
'paper_and_art',
|
|
3444
|
+
'religious_and_ceremonial',
|
|
3445
|
+
'software',
|
|
3446
|
+
'sporting_goods',
|
|
3454
3447
|
'sports_and_fitness',
|
|
3448
|
+
'toys_and_games',
|
|
3455
3449
|
'toys_hobbies_gifts',
|
|
3450
|
+
'vehicles_and_parts',
|
|
3456
3451
|
'other',
|
|
3457
3452
|
]),
|
|
3458
3453
|
|
|
@@ -3816,7 +3811,16 @@ const factories = {
|
|
|
3816
3811
|
|
|
3817
3812
|
'io.flow.v0.enums.trade_agreement_name': (): io.flow.v0.enums.TradeAgreementName => faker.random.arrayElement(['USMCA', 'T-MEC', 'CUSMA', 'TCA']),
|
|
3818
3813
|
'io.flow.v0.enums.trade_agreement_status': (): io.flow.v0.enums.TradeAgreementStatus => faker.random.arrayElement(['supported', 'not_supported']),
|
|
3819
|
-
|
|
3814
|
+
|
|
3815
|
+
'io.flow.v0.enums.transaction_source': (): io.flow.v0.enums.TransactionSource => faker.random.arrayElement([
|
|
3816
|
+
'capture',
|
|
3817
|
+
'refund',
|
|
3818
|
+
'dispute',
|
|
3819
|
+
'adjustment',
|
|
3820
|
+
'shipping_label',
|
|
3821
|
+
'other_adjustement',
|
|
3822
|
+
'tax_adjustement',
|
|
3823
|
+
]),
|
|
3820
3824
|
|
|
3821
3825
|
'io.flow.v0.enums.unit_of_measurement': (): io.flow.v0.enums.UnitOfMeasurement => faker.random.arrayElement([
|
|
3822
3826
|
'millimeter',
|
|
@@ -8294,6 +8298,15 @@ const factories = {
|
|
|
8294
8298
|
currency: factories.string(),
|
|
8295
8299
|
}),
|
|
8296
8300
|
|
|
8301
|
+
'io.flow.v0.models.merchant_onboarding_address': (): io.flow.v0.models.MerchantOnboardingAddress => ({
|
|
8302
|
+
full_name: factories.string(),
|
|
8303
|
+
streets: arrayOf(() => factories.string()),
|
|
8304
|
+
city: factories.string(),
|
|
8305
|
+
province: factories.string(),
|
|
8306
|
+
postal: factories.string(),
|
|
8307
|
+
country: factories.string(),
|
|
8308
|
+
}),
|
|
8309
|
+
|
|
8297
8310
|
'io.flow.v0.models.money': (): io.flow.v0.models.Money => ({
|
|
8298
8311
|
amount: factories.double(),
|
|
8299
8312
|
currency: factories.string(),
|
|
@@ -8364,6 +8377,23 @@ const factories = {
|
|
|
8364
8377
|
max: factories.long(),
|
|
8365
8378
|
}),
|
|
8366
8379
|
|
|
8380
|
+
'io.flow.v0.models.onboarding_merchant_pickup_window': (): io.flow.v0.models.OnboardingMerchantPickupWindow => ({
|
|
8381
|
+
from: factories['io.flow.v0.models.onboarding_merchant_time'](),
|
|
8382
|
+
to: factories['io.flow.v0.models.onboarding_merchant_time'](),
|
|
8383
|
+
}),
|
|
8384
|
+
|
|
8385
|
+
'io.flow.v0.models.onboarding_merchant_scheduled_pickup': (): io.flow.v0.models.OnboardingMerchantScheduledPickup => ({
|
|
8386
|
+
day_of_week: factories['io.flow.v0.enums.day_of_week'](),
|
|
8387
|
+
window: factories['io.flow.v0.models.onboarding_merchant_pickup_window'](),
|
|
8388
|
+
instructions: factories.string(),
|
|
8389
|
+
}),
|
|
8390
|
+
|
|
8391
|
+
'io.flow.v0.models.onboarding_merchant_time': (): io.flow.v0.models.OnboardingMerchantTime => ({
|
|
8392
|
+
hour_of_day: factories.string(),
|
|
8393
|
+
minute_of_hour: factories.string(),
|
|
8394
|
+
timezone: factories.string(),
|
|
8395
|
+
}),
|
|
8396
|
+
|
|
8367
8397
|
'io.flow.v0.models.online_authorization': (): io.flow.v0.models.OnlineAuthorization => ({
|
|
8368
8398
|
discriminator: 'online_authorization',
|
|
8369
8399
|
id: factories.string(),
|
|
@@ -11905,6 +11935,7 @@ const factories = {
|
|
|
11905
11935
|
'io.flow.v0.models.shopify_merchant_application': (): io.flow.v0.models.ShopifyMerchantApplication => ({
|
|
11906
11936
|
discriminator: 'shopify_merchant_application',
|
|
11907
11937
|
id: factories.string(),
|
|
11938
|
+
organization_id: factories.string(),
|
|
11908
11939
|
company: factories['io.flow.v0.models.merchant_info'](),
|
|
11909
11940
|
indirect_tax_number: factories.string(),
|
|
11910
11941
|
parent_company: factories['io.flow.v0.models.merchant_info'](),
|
|
@@ -12447,17 +12478,15 @@ const factories = {
|
|
|
12447
12478
|
}),
|
|
12448
12479
|
|
|
12449
12480
|
'io.flow.v0.models.third_party_logistics_partner': (): io.flow.v0.models.ThirdPartyLogisticsPartner => ({
|
|
12450
|
-
warehouse_address: factories['io.flow.v0.models.
|
|
12481
|
+
warehouse_address: factories['io.flow.v0.models.merchant_onboarding_address'](),
|
|
12451
12482
|
warehouse_url: factories.string(),
|
|
12452
|
-
|
|
12453
|
-
pickup_location: factories['io.flow.v0.models.billing_address'](),
|
|
12454
|
-
pickup_instructions: factories.string(),
|
|
12455
|
-
operations_contact: factories['io.flow.v0.models.operations_contact'](),
|
|
12456
|
-
}),
|
|
12483
|
+
location: factories['io.flow.v0.models.merchant_onboarding_address'](),
|
|
12457
12484
|
|
|
12458
|
-
|
|
12459
|
-
|
|
12460
|
-
|
|
12485
|
+
scheduled_pickups: arrayOf(
|
|
12486
|
+
() => factories['io.flow.v0.models.onboarding_merchant_scheduled_pickup'](),
|
|
12487
|
+
),
|
|
12488
|
+
|
|
12489
|
+
operations_contact: factories['io.flow.v0.models.operations_contact'](),
|
|
12461
12490
|
}),
|
|
12462
12491
|
|
|
12463
12492
|
'io.flow.v0.models.three_d_secure': (): io.flow.v0.models.ThreeDSecure => ({
|
|
@@ -14835,6 +14864,7 @@ export const makeMerchantOfRecordAuthorizationForm = () => factories['io.flow.v0
|
|
|
14835
14864
|
export const makeMerchantOfRecordEntity = () => factories['io.flow.v0.models.merchant_of_record_entity']();
|
|
14836
14865
|
export const makeMerchantOfRecordEntityRegistration = () => factories['io.flow.v0.models.merchant_of_record_entity_registration']();
|
|
14837
14866
|
export const makeMerchantOfRecordPaymentForm = () => factories['io.flow.v0.models.merchant_of_record_payment_form']();
|
|
14867
|
+
export const makeMerchantOnboardingAddress = () => factories['io.flow.v0.models.merchant_onboarding_address']();
|
|
14838
14868
|
export const makeMethod = () => factories['io.flow.v0.enums.method']();
|
|
14839
14869
|
export const makeMoney = () => factories['io.flow.v0.models.money']();
|
|
14840
14870
|
export const makeMoneyWithBase = () => factories['io.flow.v0.models.money_with_base']();
|
|
@@ -14848,6 +14878,9 @@ export const makeNoInventoryReservationErrorItem = () => factories['io.flow.v0.m
|
|
|
14848
14878
|
export const makeNotificationDeletedV2 = () => factories['io.flow.v0.models.notification_deleted_v2']();
|
|
14849
14879
|
export const makeNotificationUpsertedV2 = () => factories['io.flow.v0.models.notification_upserted_v2']();
|
|
14850
14880
|
export const makeNumberRange = () => factories['io.flow.v0.models.number_range']();
|
|
14881
|
+
export const makeOnboardingMerchantPickupWindow = () => factories['io.flow.v0.models.onboarding_merchant_pickup_window']();
|
|
14882
|
+
export const makeOnboardingMerchantScheduledPickup = () => factories['io.flow.v0.models.onboarding_merchant_scheduled_pickup']();
|
|
14883
|
+
export const makeOnboardingMerchantTime = () => factories['io.flow.v0.models.onboarding_merchant_time']();
|
|
14851
14884
|
export const makeOnboardingTradeSector = () => factories['io.flow.v0.enums.onboarding_trade_sector']();
|
|
14852
14885
|
export const makeOnlineAuthorization = () => factories['io.flow.v0.models.online_authorization']();
|
|
14853
14886
|
export const makeOnlineAuthorizationDeletedV2 = () => factories['io.flow.v0.models.online_authorization_deleted_v2']();
|
|
@@ -15528,7 +15561,6 @@ export const makeTaxVerificationResult = () => factories['io.flow.v0.enums.tax_v
|
|
|
15528
15561
|
export const makeTaxabilityType = () => factories['io.flow.v0.enums.taxability_type']();
|
|
15529
15562
|
export const makeTaxabilityValue = () => factories['io.flow.v0.enums.taxability_value']();
|
|
15530
15563
|
export const makeThirdPartyLogisticsPartner = () => factories['io.flow.v0.models.third_party_logistics_partner']();
|
|
15531
|
-
export const makeThirdPartyLogisticsPickUpTimeWindow = () => factories['io.flow.v0.models.third_party_logistics_pick_up_time_window']();
|
|
15532
15564
|
export const makeThreeDSecure = () => factories['io.flow.v0.models.three_d_secure']();
|
|
15533
15565
|
export const makeThreeDSecureCode = () => factories['io.flow.v0.enums.three_d_secure_code']();
|
|
15534
15566
|
export const makeThreedsChallengeAction = () => factories['io.flow.v0.unions.threeds_challenge_action']();
|