@flowio/api-factories 0.0.86 → 0.0.87
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 +169 -15
- package/dist/esm/api.js +151 -2
- package/dist/types/api.d.ts +6 -1
- package/package.json +2 -2
- package/src/api.ts +172 -2
package/dist/cjs/api.js
CHANGED
|
@@ -26,19 +26,19 @@ exports.makeOrderUpserted = exports.makeOrderType = exports.makeOrderSummaryPric
|
|
|
26
26
|
exports.makeOversizePieceSurchargeRatecardFee = exports.makeOutboundCartonFee = exports.makeOriginalPrices = exports.makeOrganizationVersion = exports.makeOrganizationUpsertedV2 = exports.makeOrganizationUpserted = exports.makeOrganizationType = exports.makeOrganizationTransactionUpserted = exports.makeOrganizationTransactionDeleted = 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.makeOrganizationPendingPayoutTransactionUpserted = exports.makeOrganizationPendingPayoutTransactionDeleted = exports.makeOrganizationPendingPayoutTransaction = exports.makeOrganizationPayoutUpserted = exports.makeOrganizationPayoutDeleted = exports.makeOrganizationPayout = exports.makeOrganizationPaymentMethodTag = exports.makeOrganizationOnboardingStateUpserted = exports.makeOrganizationOnboardingStateDeleted = exports.makeOrganizationOnboardingState = exports.makeOrganizationForm = exports.makeOrganizationDeletedV2 = exports.makeOrganizationDeleted = exports.makeOrganizationDefaults = exports.makeOrganizationDefaultConfigurationsUpserted = exports.makeOrganizationDefaultConfigurationsForm = exports.makeOrganizationDefaultConfigurationsDeleted = exports.makeOrganizationDefaultConfigurations = exports.makeOrganizationDefaultBankAccount = exports.makeOrganizationConfigurationReference = exports.makeOrganizationBankAccount = exports.makeOrganizationAuthorizationForm = exports.makeOrganizationAuthorization = exports.makeOrganization = exports.makeOrderWithDiscountsForm = exports.makeOrderVersion = exports.makeOrderUpsertedV2 = void 0;
|
|
27
27
|
exports.makePaymentMethodCardToken = exports.makePaymentMethodCardPciDetails = exports.makePaymentMethodCardNumberCleartext = exports.makePaymentMethodCardNumberCipher = exports.makePaymentMethodCard = exports.makePaymentMethodCapability = exports.makePaymentMethodBrand = exports.makePaymentMethodActionCancellation = 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.makePackageDimensionsSource = exports.makePackageDimensionsForm = exports.makePackageDimensions = exports.makeOversizePieceSurchargeServiceFee = void 0;
|
|
28
28
|
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.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 = void 0;
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
34
|
-
exports.
|
|
35
|
-
exports.
|
|
36
|
-
exports.
|
|
37
|
-
exports.
|
|
38
|
-
exports.
|
|
39
|
-
exports.
|
|
40
|
-
exports.
|
|
41
|
-
exports.makeZone = exports.makeZeroLevyReasonCode = exports.makeZeroAmountIndicator = exports.makeWithholdingDeductionType = exports.makeWithholdingDeduction = void 0;
|
|
29
|
+
exports.makePayoutStatusFailureCode = exports.makePayoutStatusFailed = exports.makePayoutStatus = exports.makePayoutReference = exports.makePayoutAttachmentType = exports.makePayoutAttachment = exports.makePaymentVersion = exports.makePaymentUpserted = exports.makePaymentType = exports.makePaymentTax = exports.makePaymentStatus = exports.makePaymentSourceForm = exports.makePaymentSourceConfirmationActionType = exports.makePaymentSourceConfirmationAction = exports.makePaymentSource = exports.makePaymentReversalStatus = exports.makePaymentReversalForm = exports.makePaymentReversal = exports.makePaymentRequestUpserted = exports.makePaymentRequestReviewStatus = exports.makePaymentRequestReviewCheckType = exports.makePaymentRequestReviewCheckStatus = exports.makePaymentRequestReviewCheck = exports.makePaymentRequestReview = exports.makePaymentRequestReference = exports.makePaymentRequestForm = exports.makePaymentRequestDeleted = exports.makePaymentRequestCancellationReasonOrderMissing = exports.makePaymentRequestCancellationReason = exports.makePaymentRequestBundleForm = exports.makePaymentRequestBundle = exports.makePaymentRequestBillingFees = exports.makePaymentRequestBillingCurrencyRate = exports.makePaymentRequestBilling = exports.makePaymentRequest = exports.makePaymentRefundStatus = exports.makePaymentRefundForm = exports.makePaymentRefund = exports.makePaymentReference = exports.makePaymentProcessorTransactionDetailsCard = exports.makePaymentProcessorTransactionDetailsApm = exports.makePaymentProcessorTransactionDetails = exports.makePaymentProcessorReference = exports.makePaymentProcessorIdentifier = exports.makePaymentProcessorAccountReference = exports.makePaymentProcessorAccount = exports.makePaymentProcessor = exports.makePaymentPaypal = exports.makePaymentPaymentRequestReference = exports.makePaymentPaymentMethod = void 0;
|
|
30
|
+
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.makePreferredServiceSelectionStrategy = exports.makePostalType = exports.makePostPaymentRedirectUrls = exports.makePhysicalDeliverySpecialSerivce = exports.makePhysicalDeliveryPreferredService = exports.makePhysicalDelivery = exports.makePfsInventoryStatus = exports.makePfsInventoryCheckResponseItem = exports.makePfsInventoryCheckResponse = exports.makePermittedRoute = exports.makePermittedHttpMethod = exports.makePermissionCheck = exports.makePermissionAudit = exports.makePercentMargin = exports.makePendingPayoutTransactionTimeout = exports.makePendingPayoutTransactionReasonCode = exports.makePendingPayoutTransactionReason = exports.makePeakSurchargeServiceFee = exports.makePeakSurchargeRatecardFee = exports.makePeakSurchargeByWeightServiceFee = exports.makePaypalAuthorizationForm = exports.makePaypalAuthorizationDetails = exports.makePayoutTransaction = exports.makePayoutStatusSent = exports.makePayoutStatusScheduled = void 0;
|
|
31
|
+
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.makeProductRestrictionRule = exports.makeProductRestrictionResultUpserted = exports.makeProductRestrictionResultDeleted = exports.makeProductRestrictionResult = exports.makeProcessingEstimate = exports.makePricingVersion = exports.makePricingUpserted = exports.makePricingSettings = exports.makePricingLevySetting = exports.makePricingDeleted = exports.makePricing = exports.makePriceWithBaseAndDetails = exports.makePriceWithBase = exports.makePriceSourceProvided = exports.makePriceSourcePriceBookReference = exports.makePriceSourcePriceBook = exports.makePriceSourceCatalog = exports.makePriceSource = void 0;
|
|
32
|
+
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.makeReasonsPerRegion = exports.makeReadyToFulfillV2 = exports.makeReadyToFulfillDetails = exports.makeReadyToFulfill = exports.makeRatecardVersion = exports.makeRatecardUpserted = exports.makeRatecardSummary = exports.makeRatecardServiceSummary = exports.makeRatecardRegionReference = exports.makeRatecardReference = exports.makeRatecardRateVersion = exports.makeRatecardRateForm = exports.makeRatecardRate = exports.makeRatecardOwner = exports.makeRatecardLanesImportRequestData = exports.makeRatecardLaneVersion = exports.makeRatecardLaneUpserted = 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 = void 0;
|
|
33
|
+
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.makeRestrictedReviewStatus = 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.makeRemoteAreaByWeightServiceFee = exports.makeRejectionPutForm = exports.makeRegionType = exports.makeRegionSettingForm = exports.makeRegionSetting = exports.makeRegionReference = exports.makeRegion = exports.makeRefundVersion = exports.makeRefundUpsertedV2 = exports.makeRefundStatus = void 0;
|
|
34
|
+
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.makeSecurityServiceFee = exports.makeSecurityRatecardFee = exports.makeSdkAdyenV3AuthenticationToken = exports.makeScheduledPickup = exports.makeScheduledExportForm = exports.makeScheduledExport = exports.makeScheduleExceptionStatus = exports.makeSchedule = exports.makeRuleUpserted = exports.makeRuleDeleted = exports.makeRouteAudit = exports.makeRoundingType = exports.makeRoundingMethod = exports.makeRounding = exports.makeRomanizationForm = exports.makeRomanization = exports.makeRole = exports.makeReviewStatus = exports.makeReversalVersion = exports.makeReversalUpserted = exports.makeReversalStatus = exports.makeReversalPutForm = exports.makeReversalForm = exports.makeReversalErrorCode = exports.makeReversalError = exports.makeReversalDeleted = exports.makeReversal = exports.makeReturnVersion = void 0;
|
|
35
|
+
exports.makeShop = exports.makeShippingNotificationVersion = exports.makeShippingNotificationForm = exports.makeShippingNotification = exports.makeShippingLaneVersion = exports.makeShippingLaneUpserted = exports.makeShippingLaneSummary = exports.makeShippingLaneForm = exports.makeShippingLaneDeleted = exports.makeShippingLaneDefaultTierForm = exports.makeShippingLaneDefaultTier = exports.makeShippingLane = exports.makeShippingLabelVersion = exports.makeShippingLabelSummary = exports.makeShippingLabelRatecardSummary = exports.makeShippingLabelPackage = exports.makeShippingLabelLaneSummary = exports.makeShippingLabelHopSummary = exports.makeShippingLabelHopCostItemizedEstimate = exports.makeShippingLabelForm = exports.makeShippingLabelDocument = exports.makeShippingLabel = exports.makeShippingConfigurationVersion = exports.makeShippingConfigurationUpserted = exports.makeShippingConfigurationType = exports.makeShippingConfigurationSummary = exports.makeShippingConfigurationReference = exports.makeShippingConfigurationItemShippingPricingUpserted = exports.makeShippingConfigurationItemShippingPricingDeleted = exports.makeShippingConfigurationItemShippingPricing = exports.makeShippingConfigurationItemAvailabilityUpserted = exports.makeShippingConfigurationItemAvailabilityDeleted = exports.makeShippingConfigurationItemAvailability = exports.makeShippingConfigurationForm = exports.makeShippingConfigurationDeleted = exports.makeShippingConfigurationCopyForm = exports.makeShippingConfigurationCopy = exports.makeShippingConfiguration = exports.makeShippingAddress = exports.makeShipping = exports.makeShipmentWindow = exports.makeShipmentRecipient = exports.makeShipmentIntegrationType = exports.makeSetupInProgress = exports.makeSetupCompleted = exports.makeSetupBlocked = exports.makeSettlementPayout = exports.makeSettlementNoPayout = exports.makeSettlement = exports.makeSessionVisitor = void 0;
|
|
36
|
+
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 = 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 = void 0;
|
|
37
|
+
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 = exports.makeStripeAuthenticationDataForm = exports.makeStripeAuthenticationData = exports.makeStreetAddress = exports.makeStrategy = exports.makeStoredMethodUsageStep = exports.makeStatementUpserted = exports.makeStatementDeleted = exports.makeStatementAttachmentType = exports.makeStatement = exports.makeSortDirection = exports.makeSolidusVariantExportType = void 0;
|
|
38
|
+
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.makeTaxabilityValue = exports.makeTaxabilityType = exports.makeTaxVerificationResult = exports.makeTaxSetting = exports.makeTaxReportType = exports.makeTaxReport = exports.makeTaxRegistrationForm = exports.makeTaxRegistration = exports.makeTaxDutyQuoteValues = exports.makeTaxDutyQuoteSimpleShippingForm = exports.makeTaxDutyQuoteSimpleShipping = exports.makeTaxDutyQuoteSimpleLevyValue = exports.makeTaxDutyQuoteLineItemForm = exports.makeTaxDutyQuoteLineItem = exports.makeTaxDutyQuoteLevyValue = exports.makeTaxDutyQuoteForm = exports.makeTaxDutyQuoteFeeValue = exports.makeTaxDutyQuote = exports.makeTaxDutyCalculatorValidationErrorCode = void 0;
|
|
39
|
+
exports.makeTransactionMetadataTrueupSurcharge = exports.makeTransactionMetadataTrueupData = exports.makeTransactionMetadataTrueupBaseData = exports.makeTransactionMetadataTrueupBase = exports.makeTransactionMetadataTrueup = exports.makeTransactionMetadataShippingLabelCarrier = exports.makeTransactionMetadataShippingLabel = exports.makeTransactionMetadataPaymentTransaction = exports.makeTransactionMetadataOutboundTransaction = exports.makeTransactionMetadataOriginalTransaction = exports.makeTransactionMetadataManual = exports.makeTransactionMetadataFailedPayoutReference = exports.makeTransactionMetadataFailedPayout = exports.makeTransactionMetadataChannelOrganizationTransaction = exports.makeTransactionMetadataChannelCardMetadataIssuerSummary = exports.makeTransactionMetadataChannelCardMetadata = exports.makeTransactionMetadataChannel = exports.makeTransactionMetadataCarrierCharge = exports.makeTransactionMetadata = exports.makeTransactionDetailsCard = exports.makeTransactionDetails = exports.makeTransaction = exports.makeTradeAgreementStatus = exports.makeTradeAgreementName = exports.makeTradeAgreementDuty = exports.makeTradeAgreementCertifier = exports.makeTradeAgreement = exports.makeTrackingVersion = exports.makeTrackingSummary = exports.makeTrackingStatus = exports.makeTrackingNumberType = exports.makeTrackingLabelVersion = exports.makeTrackingLabelSummary = exports.makeTrackingLabelForm = exports.makeTrackingLabelEventUpserted = exports.makeTrackingLabel = exports.makeTrackingForm = exports.makeTrackingEventVersion = exports.makeTrackingEventSummary = exports.makeTrackingEventForm = exports.makeTrackingEvent = exports.makeTracking = exports.makeTokenValidationForm = exports.makeTokenValidation = exports.makeTokenType = exports.makeTokenReference = exports.makeTokenRbacAuthenticationForm = exports.makeTokenPartnerReference = exports.makeTokenAuthenticationForm = exports.makeToken = void 0;
|
|
40
|
+
exports.makeWebhookReference = exports.makeWebhookForm = exports.makeWebhookDelivery = exports.makeWebhook = exports.makeVisibility = exports.makeVirtualCardVersion = exports.makeVirtualCardRefundVersion = exports.makeVirtualCardRefundUpserted = exports.makeVirtualCardRefundDeleted = exports.makeVirtualCardRefund = exports.makeVirtualCardReference = exports.makeVirtualCardCaptureVersion = exports.makeVirtualCardCaptureUpserted = exports.makeVirtualCardCaptureDeleted = exports.makeVirtualCardCapture = exports.makeVirtualCard = exports.makeValueThresholdExceededDetails = exports.makeValueAddedService = exports.makeUserVersion = exports.makeUserStatus = exports.makeUserReference = exports.makeUserPutForm = exports.makeUserForm = exports.makeUser = exports.makeUpload = exports.makeUpdateType = exports.makeUpdatePolicy = exports.makeUnitOfWeight = exports.makeUnitOfVolume = exports.makeUnitOfTime = exports.makeUnitOfMeasurement = exports.makeUnitOfLength = exports.makeUnharmonizedItemExportType = exports.makeUltimateBeneficiaryOwner = exports.makeTrueupSurchargeType = exports.makeTrueupSource = exports.makeTrueupLabelWeights = exports.makeTrueupLabelUnits = exports.makeTrueupLabelSurcharge = exports.makeTrueupLabelFuel = exports.makeTrueupLabelBaseWeight = exports.makeTrueupLabelBaseV2 = exports.makeTrueupLabelBase = exports.makeTransitWindow = exports.makeTransitEstimate = exports.makeTransactionUpserted = exports.makeTransactionSource = exports.makeTransactionReference = exports.makeTransactionNetworkDetailsCard = exports.makeTransactionMetadataTrueupSurchargeData = void 0;
|
|
41
|
+
exports.makeZone = exports.makeZeroLevyReasonCode = exports.makeZeroAmountIndicator = exports.makeWithholdingDeductionType = exports.makeWithholdingDeduction = exports.makeWebhookStatus = exports.makeWebhookSettings = exports.makeWebhookResponse = exports.makeWebhookRequestReference = exports.makeWebhookRequest = void 0;
|
|
42
42
|
var faker_1 = __importDefault(require("@faker-js/faker"));
|
|
43
43
|
var arrayOf = function (f) {
|
|
44
44
|
var length = 3;
|
|
@@ -552,6 +552,7 @@ var factories = {
|
|
|
552
552
|
published_at: factories.date_time_iso_8601(),
|
|
553
553
|
created_at: factories.date_time_iso_8601(),
|
|
554
554
|
updated_at: factories.date_time_iso_8601(),
|
|
555
|
+
has_variants_that_requires_components: factories.boolean(),
|
|
555
556
|
}); },
|
|
556
557
|
'io.flow.shopify.external.v0.models.product_delete': function () { return ({
|
|
557
558
|
id: factories.long(),
|
|
@@ -1211,6 +1212,43 @@ var factories = {
|
|
|
1211
1212
|
}); },
|
|
1212
1213
|
'io.flow.stripe.v0.enums.account_type': function () { return faker_1.default.helpers.arrayElement(['platform', 'custom', 'standard', 'express']); },
|
|
1213
1214
|
'io.flow.stripe.v0.enums.apple_pay_type': function () { return faker_1.default.helpers.arrayElement(['apple_pay', 'apple_pay_later']); },
|
|
1215
|
+
'io.flow.stripe.v0.enums.bank_ideal': function () { return faker_1.default.helpers.arrayElement([
|
|
1216
|
+
'abn_amro',
|
|
1217
|
+
'asn_bank',
|
|
1218
|
+
'bunq',
|
|
1219
|
+
'handelsbanken',
|
|
1220
|
+
'ing',
|
|
1221
|
+
'knab',
|
|
1222
|
+
'moneyou',
|
|
1223
|
+
'n26',
|
|
1224
|
+
'nn',
|
|
1225
|
+
'rabobank',
|
|
1226
|
+
'regiobank',
|
|
1227
|
+
'revolut',
|
|
1228
|
+
'sns_bank',
|
|
1229
|
+
'triodos_bank',
|
|
1230
|
+
'van_lanschot',
|
|
1231
|
+
'yoursafe',
|
|
1232
|
+
]); },
|
|
1233
|
+
'io.flow.stripe.v0.enums.bic_ideal': function () { return faker_1.default.helpers.arrayElement([
|
|
1234
|
+
'ABNANL2A',
|
|
1235
|
+
'ASNBNL21',
|
|
1236
|
+
'BITSNL2A',
|
|
1237
|
+
'BUNQNL2A',
|
|
1238
|
+
'FVLBNL22',
|
|
1239
|
+
'HANDNL2A',
|
|
1240
|
+
'INGBNL2A',
|
|
1241
|
+
'KNABNL2H',
|
|
1242
|
+
'MOYONL21',
|
|
1243
|
+
'NNBANL2G',
|
|
1244
|
+
'NTSBDEB1',
|
|
1245
|
+
'RABONL2U',
|
|
1246
|
+
'RBRBNL21',
|
|
1247
|
+
'REVOIE23',
|
|
1248
|
+
'REVOLT21',
|
|
1249
|
+
'SNSBNL2A',
|
|
1250
|
+
'TRIONL2U',
|
|
1251
|
+
]); },
|
|
1214
1252
|
'io.flow.stripe.v0.enums.cancellation_reason': function () { return faker_1.default.helpers.arrayElement([
|
|
1215
1253
|
'abandoned',
|
|
1216
1254
|
'automatic',
|
|
@@ -1425,9 +1463,10 @@ var factories = {
|
|
|
1425
1463
|
'succeeded',
|
|
1426
1464
|
]); },
|
|
1427
1465
|
'io.flow.stripe.v0.enums.payment_method_category_klarna': function () { return faker_1.default.helpers.arrayElement(['pay_later', 'pay_now', 'pay_with_financing', 'pay_in_installments']); },
|
|
1428
|
-
'io.flow.stripe.v0.enums.payment_method_type': function () { return faker_1.default.helpers.arrayElement(['card', 'card_present', 'klarna']); },
|
|
1466
|
+
'io.flow.stripe.v0.enums.payment_method_type': function () { return faker_1.default.helpers.arrayElement(['card', 'card_present', 'ideal', 'klarna', 'bancontact']); },
|
|
1429
1467
|
'io.flow.stripe.v0.enums.payment_outcome_type': function () { return faker_1.default.helpers.arrayElement(['authorized', 'manual_review', 'issuer_declined', 'blocked', 'invalid']); },
|
|
1430
1468
|
'io.flow.stripe.v0.enums.payment_status': function () { return faker_1.default.helpers.arrayElement(['succeeded', 'pending', 'failed']); },
|
|
1469
|
+
'io.flow.stripe.v0.enums.preferred_language_bancontact': function () { return faker_1.default.helpers.arrayElement(['de', 'en', 'fr', 'nl']); },
|
|
1431
1470
|
'io.flow.stripe.v0.enums.preferred_locale_klarna': function () { return faker_1.default.helpers.arrayElement([
|
|
1432
1471
|
'de-AT',
|
|
1433
1472
|
'en-AT',
|
|
@@ -1952,8 +1991,10 @@ var factories = {
|
|
|
1952
1991
|
id: factories.string(),
|
|
1953
1992
|
object: factories.string(),
|
|
1954
1993
|
billing_details: factories['io.flow.stripe.v0.models.payment_method_billing_details'](),
|
|
1994
|
+
bancontact: factories.object(),
|
|
1955
1995
|
card: factories['io.flow.stripe.v0.models.payment_method_card_details'](),
|
|
1956
1996
|
card_present: factories.object(),
|
|
1997
|
+
ideal: factories.object(),
|
|
1957
1998
|
klarna: factories.object(),
|
|
1958
1999
|
created: factories.long(),
|
|
1959
2000
|
customer: factories.string(),
|
|
@@ -1984,18 +2025,43 @@ var factories = {
|
|
|
1984
2025
|
number: factories.string(),
|
|
1985
2026
|
cvc: factories.string(),
|
|
1986
2027
|
}); },
|
|
2028
|
+
'io.flow.stripe.v0.models.payment_method_data_bancontact': function () { return ({
|
|
2029
|
+
type: 'bancontact',
|
|
2030
|
+
billing_details: factories['io.flow.stripe.v0.models.payment_method_billing_details'](),
|
|
2031
|
+
metadata: factories.object(),
|
|
2032
|
+
}); },
|
|
1987
2033
|
'io.flow.stripe.v0.models.payment_method_data_card': function () { return ({
|
|
1988
2034
|
type: 'card',
|
|
1989
2035
|
billing_details: factories['io.flow.stripe.v0.models.payment_method_billing_details'](),
|
|
1990
2036
|
metadata: factories.object(),
|
|
1991
2037
|
card: factories['io.flow.stripe.v0.models.payment_method_card_form'](),
|
|
1992
2038
|
}); },
|
|
2039
|
+
'io.flow.stripe.v0.models.payment_method_data_ideal': function () { return ({
|
|
2040
|
+
type: 'ideal',
|
|
2041
|
+
billing_details: factories['io.flow.stripe.v0.models.payment_method_billing_details'](),
|
|
2042
|
+
metadata: factories.object(),
|
|
2043
|
+
ideal: factories['io.flow.stripe.v0.models.payment_method_ideal_form'](),
|
|
2044
|
+
}); },
|
|
1993
2045
|
'io.flow.stripe.v0.models.payment_method_data_klarna': function () { return ({
|
|
1994
2046
|
type: 'klarna',
|
|
1995
2047
|
billing_details: factories['io.flow.stripe.v0.models.payment_method_billing_details'](),
|
|
1996
2048
|
metadata: factories.object(),
|
|
1997
2049
|
klarna: factories['io.flow.stripe.v0.models.payment_method_klarna_form'](),
|
|
1998
2050
|
}); },
|
|
2051
|
+
'io.flow.stripe.v0.models.payment_method_details_bancontact': function () { return ({
|
|
2052
|
+
type: 'bancontact',
|
|
2053
|
+
bancontact: factories['io.flow.stripe.v0.models.payment_method_details_bancontact_information'](),
|
|
2054
|
+
}); },
|
|
2055
|
+
'io.flow.stripe.v0.models.payment_method_details_bancontact_information': function () { return ({
|
|
2056
|
+
bank_code: factories.string(),
|
|
2057
|
+
bank_name: factories.string(),
|
|
2058
|
+
bic: factories.string(),
|
|
2059
|
+
generated_sepa_debit: factories.string(),
|
|
2060
|
+
generated_sepa_debit_mandate: factories.string(),
|
|
2061
|
+
iban_last4: factories.string(),
|
|
2062
|
+
preferred_language: factories['io.flow.stripe.v0.enums.preferred_language_bancontact'](),
|
|
2063
|
+
verified_name: factories.string(),
|
|
2064
|
+
}); },
|
|
1999
2065
|
'io.flow.stripe.v0.models.payment_method_details_card': function () { return ({
|
|
2000
2066
|
type: 'card',
|
|
2001
2067
|
card: factories['io.flow.stripe.v0.models.payment_method_details_card_information'](),
|
|
@@ -2025,6 +2091,18 @@ var factories = {
|
|
|
2025
2091
|
multicapture: factories['io.flow.stripe.v0.models.multicapture'](),
|
|
2026
2092
|
overcapture: factories['io.flow.stripe.v0.models.overcapture'](),
|
|
2027
2093
|
}); },
|
|
2094
|
+
'io.flow.stripe.v0.models.payment_method_details_ideal': function () { return ({
|
|
2095
|
+
type: 'ideal',
|
|
2096
|
+
ideal: factories['io.flow.stripe.v0.models.payment_method_details_ideal_information'](),
|
|
2097
|
+
}); },
|
|
2098
|
+
'io.flow.stripe.v0.models.payment_method_details_ideal_information': function () { return ({
|
|
2099
|
+
bank: factories['io.flow.stripe.v0.enums.bank_ideal'](),
|
|
2100
|
+
bic: factories['io.flow.stripe.v0.enums.bic_ideal'](),
|
|
2101
|
+
generated_sepa_debit: factories.string(),
|
|
2102
|
+
generated_sepa_debit_mandate: factories.string(),
|
|
2103
|
+
iban_last4: factories.string(),
|
|
2104
|
+
verified_name: factories.string(),
|
|
2105
|
+
}); },
|
|
2028
2106
|
'io.flow.stripe.v0.models.payment_method_details_klarna': function () { return ({
|
|
2029
2107
|
type: 'klarna',
|
|
2030
2108
|
klarna: factories['io.flow.stripe.v0.models.payment_method_details_klarna_information'](),
|
|
@@ -2033,24 +2111,47 @@ var factories = {
|
|
|
2033
2111
|
payment_method_category: factories['io.flow.stripe.v0.enums.payment_method_category_klarna'](),
|
|
2034
2112
|
preferred_locale: factories['io.flow.stripe.v0.enums.preferred_locale_klarna'](),
|
|
2035
2113
|
}); },
|
|
2114
|
+
'io.flow.stripe.v0.models.payment_method_form_bancontact': function () { return ({
|
|
2115
|
+
type: 'bancontact',
|
|
2116
|
+
billing_details: factories['io.flow.stripe.v0.models.payment_method_billing_details'](),
|
|
2117
|
+
metadata: factories.object(),
|
|
2118
|
+
bancontact: factories.object(),
|
|
2119
|
+
}); },
|
|
2036
2120
|
'io.flow.stripe.v0.models.payment_method_form_card': function () { return ({
|
|
2037
2121
|
type: 'card',
|
|
2038
2122
|
billing_details: factories['io.flow.stripe.v0.models.payment_method_billing_details'](),
|
|
2039
2123
|
metadata: factories.object(),
|
|
2040
2124
|
card: factories['io.flow.stripe.v0.models.payment_method_card_form'](),
|
|
2041
2125
|
}); },
|
|
2126
|
+
'io.flow.stripe.v0.models.payment_method_form_ideal': function () { return ({
|
|
2127
|
+
type: 'ideal',
|
|
2128
|
+
billing_details: factories['io.flow.stripe.v0.models.payment_method_billing_details'](),
|
|
2129
|
+
metadata: factories.object(),
|
|
2130
|
+
ideal: factories['io.flow.stripe.v0.models.payment_method_ideal_form'](),
|
|
2131
|
+
}); },
|
|
2042
2132
|
'io.flow.stripe.v0.models.payment_method_form_klarna': function () { return ({
|
|
2043
2133
|
type: 'klarna',
|
|
2044
2134
|
billing_details: factories['io.flow.stripe.v0.models.payment_method_billing_details'](),
|
|
2045
2135
|
metadata: factories.object(),
|
|
2046
2136
|
klarna: factories['io.flow.stripe.v0.models.payment_method_klarna_form'](),
|
|
2047
2137
|
}); },
|
|
2138
|
+
'io.flow.stripe.v0.models.payment_method_ideal_form': function () { return ({
|
|
2139
|
+
bank: factories.string(),
|
|
2140
|
+
}); },
|
|
2048
2141
|
'io.flow.stripe.v0.models.payment_method_klarna_form': function () { return ({
|
|
2049
2142
|
dob: factories['io.flow.stripe.v0.models.klarna_dob_form'](),
|
|
2050
2143
|
}); },
|
|
2051
2144
|
'io.flow.stripe.v0.models.payment_method_options': function () { return ({
|
|
2052
2145
|
card: factories['io.flow.stripe.v0.models.payment_method_options_card'](),
|
|
2146
|
+
ideal: factories['io.flow.stripe.v0.models.payment_method_options_ideal'](),
|
|
2053
2147
|
klarna: factories['io.flow.stripe.v0.models.payment_method_options_klarna'](),
|
|
2148
|
+
bancontact: factories['io.flow.stripe.v0.models.payment_method_options_bancontact'](),
|
|
2149
|
+
}); },
|
|
2150
|
+
'io.flow.stripe.v0.models.payment_method_options_bancontact': function () { return ({
|
|
2151
|
+
preferred_language: factories['io.flow.stripe.v0.enums.preferred_language_bancontact'](),
|
|
2152
|
+
}); },
|
|
2153
|
+
'io.flow.stripe.v0.models.payment_method_options_bancontact_form': function () { return ({
|
|
2154
|
+
preferred_language: factories['io.flow.stripe.v0.enums.preferred_language_bancontact'](),
|
|
2054
2155
|
}); },
|
|
2055
2156
|
'io.flow.stripe.v0.models.payment_method_options_card': function () { return ({
|
|
2056
2157
|
network: factories.string(),
|
|
@@ -2067,7 +2168,15 @@ var factories = {
|
|
|
2067
2168
|
}); },
|
|
2068
2169
|
'io.flow.stripe.v0.models.payment_method_options_form': function () { return ({
|
|
2069
2170
|
card: factories['io.flow.stripe.v0.models.payment_method_options_card_form'](),
|
|
2171
|
+
ideal: factories['io.flow.stripe.v0.models.payment_method_options_ideal_form'](),
|
|
2070
2172
|
klarna: factories['io.flow.stripe.v0.models.payment_method_options_klarna_form'](),
|
|
2173
|
+
bancontact: factories['io.flow.stripe.v0.models.payment_method_options_bancontact_form'](),
|
|
2174
|
+
}); },
|
|
2175
|
+
'io.flow.stripe.v0.models.payment_method_options_ideal': function () { return ({
|
|
2176
|
+
setup_future_usage: factories['io.flow.stripe.v0.enums.setup_future_usage'](),
|
|
2177
|
+
}); },
|
|
2178
|
+
'io.flow.stripe.v0.models.payment_method_options_ideal_form': function () { return ({
|
|
2179
|
+
setup_future_usage: factories['io.flow.stripe.v0.enums.setup_future_usage'](),
|
|
2071
2180
|
}); },
|
|
2072
2181
|
'io.flow.stripe.v0.models.payment_method_options_klarna': function () { return ({
|
|
2073
2182
|
capture_method: factories['io.flow.stripe.v0.enums.capture_method'](),
|
|
@@ -2353,21 +2462,27 @@ var factories = {
|
|
|
2353
2462
|
'io.flow.stripe.v0.unions.payment_method_data': function () {
|
|
2354
2463
|
var f = faker_1.default.helpers.arrayElement([
|
|
2355
2464
|
function () { return factories['io.flow.stripe.v0.models.payment_method_data_card'](); },
|
|
2465
|
+
function () { return factories['io.flow.stripe.v0.models.payment_method_data_ideal'](); },
|
|
2356
2466
|
function () { return factories['io.flow.stripe.v0.models.payment_method_data_klarna'](); },
|
|
2467
|
+
function () { return factories['io.flow.stripe.v0.models.payment_method_data_bancontact'](); },
|
|
2357
2468
|
]);
|
|
2358
2469
|
return f();
|
|
2359
2470
|
},
|
|
2360
2471
|
'io.flow.stripe.v0.unions.payment_method_details': function () {
|
|
2361
2472
|
var f = faker_1.default.helpers.arrayElement([
|
|
2362
2473
|
function () { return factories['io.flow.stripe.v0.models.payment_method_details_card'](); },
|
|
2474
|
+
function () { return factories['io.flow.stripe.v0.models.payment_method_details_ideal'](); },
|
|
2363
2475
|
function () { return factories['io.flow.stripe.v0.models.payment_method_details_klarna'](); },
|
|
2476
|
+
function () { return factories['io.flow.stripe.v0.models.payment_method_details_bancontact'](); },
|
|
2364
2477
|
]);
|
|
2365
2478
|
return f();
|
|
2366
2479
|
},
|
|
2367
2480
|
'io.flow.stripe.v0.unions.payment_method_form': function () {
|
|
2368
2481
|
var f = faker_1.default.helpers.arrayElement([
|
|
2369
2482
|
function () { return factories['io.flow.stripe.v0.models.payment_method_form_card'](); },
|
|
2483
|
+
function () { return factories['io.flow.stripe.v0.models.payment_method_form_ideal'](); },
|
|
2370
2484
|
function () { return factories['io.flow.stripe.v0.models.payment_method_form_klarna'](); },
|
|
2485
|
+
function () { return factories['io.flow.stripe.v0.models.payment_method_form_bancontact'](); },
|
|
2371
2486
|
]);
|
|
2372
2487
|
return f();
|
|
2373
2488
|
},
|
|
@@ -3055,6 +3170,7 @@ var factories = {
|
|
|
3055
3170
|
'order_missing_information',
|
|
3056
3171
|
'order_domestic',
|
|
3057
3172
|
'order_mismatched_currencies',
|
|
3173
|
+
'order_missing',
|
|
3058
3174
|
]); },
|
|
3059
3175
|
'io.flow.v0.enums.payment_request_review_status': function () { return faker_1.default.helpers.arrayElement(['pending', 'approved', 'rejected']); },
|
|
3060
3176
|
'io.flow.v0.enums.payment_source_confirmation_action_type': function () { return faker_1.default.helpers.arrayElement(['cvv', 'billing_address', 'number']); },
|
|
@@ -9177,6 +9293,14 @@ var factories = {
|
|
|
9177
9293
|
discriminator: 'payment_processor_reference',
|
|
9178
9294
|
processor: factories.string(),
|
|
9179
9295
|
}); },
|
|
9296
|
+
'io.flow.v0.models.payment_processor_transaction_details_apm': function () { return ({
|
|
9297
|
+
discriminator: 'apm',
|
|
9298
|
+
transaction_identifier: factories.string(),
|
|
9299
|
+
capture_identifier: factories.string(),
|
|
9300
|
+
method_type: factories.string(),
|
|
9301
|
+
result_status: factories.string(),
|
|
9302
|
+
reason_code: factories.string(),
|
|
9303
|
+
}); },
|
|
9180
9304
|
'io.flow.v0.models.payment_processor_transaction_details_card': function () { return ({
|
|
9181
9305
|
discriminator: 'card',
|
|
9182
9306
|
transaction_identifier: factories.string(),
|
|
@@ -9253,6 +9377,10 @@ var factories = {
|
|
|
9253
9377
|
payment_request: factories['io.flow.v0.models.payment_request_form'](),
|
|
9254
9378
|
billing: factories['io.flow.v0.models.payment_request_billing'](),
|
|
9255
9379
|
}); },
|
|
9380
|
+
'io.flow.v0.models.payment_request_cancellation_reason_order_missing': function () { return ({
|
|
9381
|
+
type: 'order_missing',
|
|
9382
|
+
description: factories.string(),
|
|
9383
|
+
}); },
|
|
9256
9384
|
'io.flow.v0.models.payment_request_deleted': function () { return ({
|
|
9257
9385
|
discriminator: 'payment_request_deleted',
|
|
9258
9386
|
event_id: factories.string(),
|
|
@@ -9374,6 +9502,7 @@ var factories = {
|
|
|
9374
9502
|
'io.flow.v0.models.paypal_authorization_details': function () { return ({
|
|
9375
9503
|
discriminator: 'paypal_authorization_details',
|
|
9376
9504
|
payment_id: factories.string(),
|
|
9505
|
+
internal_payment_id: factories.string(),
|
|
9377
9506
|
payment_method: factories.string(),
|
|
9378
9507
|
payment_state: factories.string(),
|
|
9379
9508
|
payer_id: factories.string(),
|
|
@@ -10241,6 +10370,10 @@ var factories = {
|
|
|
10241
10370
|
'io.flow.v0.models.region_setting_form': function () { return ({
|
|
10242
10371
|
status: factories['io.flow.v0.enums.availability_status'](),
|
|
10243
10372
|
}); },
|
|
10373
|
+
'io.flow.v0.models.rejection_put_form': function () { return ({
|
|
10374
|
+
reason: factories['io.flow.v0.enums.merchant_rejected_reason'](),
|
|
10375
|
+
description: factories.string(),
|
|
10376
|
+
}); },
|
|
10244
10377
|
'io.flow.v0.models.remote_area_by_weight_service_fee': function () { return ({
|
|
10245
10378
|
discriminator: 'remote_area_by_weight_service_fee',
|
|
10246
10379
|
amount: factories['io.flow.v0.models.money'](),
|
|
@@ -11902,7 +12035,7 @@ var factories = {
|
|
|
11902
12035
|
discriminator: 'channel',
|
|
11903
12036
|
method: factories.string(),
|
|
11904
12037
|
card: factories['io.flow.v0.models.transaction_metadata_channel_card_metadata'](),
|
|
11905
|
-
organization_transaction: factories['io.flow.v0.models.
|
|
12038
|
+
organization_transaction: factories['io.flow.v0.models.transaction_metadata_channel_organization_transaction'](),
|
|
11906
12039
|
}); },
|
|
11907
12040
|
'io.flow.v0.models.transaction_metadata_channel_card_metadata': function () { return ({
|
|
11908
12041
|
type: factories['io.flow.v0.enums.card_type'](),
|
|
@@ -11912,6 +12045,10 @@ var factories = {
|
|
|
11912
12045
|
iin: factories.string(),
|
|
11913
12046
|
country: factories.string(),
|
|
11914
12047
|
}); },
|
|
12048
|
+
'io.flow.v0.models.transaction_metadata_channel_organization_transaction': function () { return ({
|
|
12049
|
+
id: factories.string(),
|
|
12050
|
+
metadata: factories['io.flow.v0.models.transaction_metadata_payment_transaction'](),
|
|
12051
|
+
}); },
|
|
11915
12052
|
'io.flow.v0.models.transaction_metadata_failed_payout': function () { return ({
|
|
11916
12053
|
discriminator: 'failed_payout',
|
|
11917
12054
|
failed_payout: factories['io.flow.v0.models.transaction_metadata_failed_payout_reference'](),
|
|
@@ -13006,6 +13143,13 @@ var factories = {
|
|
|
13006
13143
|
'io.flow.v0.unions.payment_processor_transaction_details': function () {
|
|
13007
13144
|
var f = faker_1.default.helpers.arrayElement([
|
|
13008
13145
|
function () { return factories['io.flow.v0.models.payment_processor_transaction_details_card'](); },
|
|
13146
|
+
function () { return factories['io.flow.v0.models.payment_processor_transaction_details_apm'](); },
|
|
13147
|
+
]);
|
|
13148
|
+
return f();
|
|
13149
|
+
},
|
|
13150
|
+
'io.flow.v0.unions.payment_request_cancellation_reason': function () {
|
|
13151
|
+
var f = faker_1.default.helpers.arrayElement([
|
|
13152
|
+
function () { return factories['io.flow.v0.models.payment_request_cancellation_reason_order_missing'](); },
|
|
13009
13153
|
]);
|
|
13010
13154
|
return f();
|
|
13011
13155
|
},
|
|
@@ -15580,6 +15724,8 @@ var makePaymentProcessorReference = function () { return factories['io.flow.v0.m
|
|
|
15580
15724
|
exports.makePaymentProcessorReference = makePaymentProcessorReference;
|
|
15581
15725
|
var makePaymentProcessorTransactionDetails = function () { return factories['io.flow.v0.unions.payment_processor_transaction_details'](); };
|
|
15582
15726
|
exports.makePaymentProcessorTransactionDetails = makePaymentProcessorTransactionDetails;
|
|
15727
|
+
var makePaymentProcessorTransactionDetailsApm = function () { return factories['io.flow.v0.models.payment_processor_transaction_details_apm'](); };
|
|
15728
|
+
exports.makePaymentProcessorTransactionDetailsApm = makePaymentProcessorTransactionDetailsApm;
|
|
15583
15729
|
var makePaymentProcessorTransactionDetailsCard = function () { return factories['io.flow.v0.models.payment_processor_transaction_details_card'](); };
|
|
15584
15730
|
exports.makePaymentProcessorTransactionDetailsCard = makePaymentProcessorTransactionDetailsCard;
|
|
15585
15731
|
var makePaymentReference = function () { return factories['io.flow.v0.models.payment_reference'](); };
|
|
@@ -15602,6 +15748,10 @@ var makePaymentRequestBundle = function () { return factories['io.flow.v0.models
|
|
|
15602
15748
|
exports.makePaymentRequestBundle = makePaymentRequestBundle;
|
|
15603
15749
|
var makePaymentRequestBundleForm = function () { return factories['io.flow.v0.models.payment_request_bundle_form'](); };
|
|
15604
15750
|
exports.makePaymentRequestBundleForm = makePaymentRequestBundleForm;
|
|
15751
|
+
var makePaymentRequestCancellationReason = function () { return factories['io.flow.v0.unions.payment_request_cancellation_reason'](); };
|
|
15752
|
+
exports.makePaymentRequestCancellationReason = makePaymentRequestCancellationReason;
|
|
15753
|
+
var makePaymentRequestCancellationReasonOrderMissing = function () { return factories['io.flow.v0.models.payment_request_cancellation_reason_order_missing'](); };
|
|
15754
|
+
exports.makePaymentRequestCancellationReasonOrderMissing = makePaymentRequestCancellationReasonOrderMissing;
|
|
15605
15755
|
var makePaymentRequestDeleted = function () { return factories['io.flow.v0.models.payment_request_deleted'](); };
|
|
15606
15756
|
exports.makePaymentRequestDeleted = makePaymentRequestDeleted;
|
|
15607
15757
|
var makePaymentRequestForm = function () { return factories['io.flow.v0.models.payment_request_form'](); };
|
|
@@ -15972,6 +16122,8 @@ var makeRegionSettingForm = function () { return factories['io.flow.v0.models.re
|
|
|
15972
16122
|
exports.makeRegionSettingForm = makeRegionSettingForm;
|
|
15973
16123
|
var makeRegionType = function () { return factories['io.flow.v0.enums.region_type'](); };
|
|
15974
16124
|
exports.makeRegionType = makeRegionType;
|
|
16125
|
+
var makeRejectionPutForm = function () { return factories['io.flow.v0.models.rejection_put_form'](); };
|
|
16126
|
+
exports.makeRejectionPutForm = makeRejectionPutForm;
|
|
15975
16127
|
var makeRemoteAreaByWeightServiceFee = function () { return factories['io.flow.v0.models.remote_area_by_weight_service_fee'](); };
|
|
15976
16128
|
exports.makeRemoteAreaByWeightServiceFee = makeRemoteAreaByWeightServiceFee;
|
|
15977
16129
|
var makeRemoteAreaRatecardFee = function () { return factories['io.flow.v0.models.remote_area_ratecard_fee'](); };
|
|
@@ -16626,6 +16778,8 @@ var makeTransactionMetadataChannelCardMetadata = function () { return factories[
|
|
|
16626
16778
|
exports.makeTransactionMetadataChannelCardMetadata = makeTransactionMetadataChannelCardMetadata;
|
|
16627
16779
|
var makeTransactionMetadataChannelCardMetadataIssuerSummary = function () { return factories['io.flow.v0.models.transaction_metadata_channel_card_metadata_issuer_summary'](); };
|
|
16628
16780
|
exports.makeTransactionMetadataChannelCardMetadataIssuerSummary = makeTransactionMetadataChannelCardMetadataIssuerSummary;
|
|
16781
|
+
var makeTransactionMetadataChannelOrganizationTransaction = function () { return factories['io.flow.v0.models.transaction_metadata_channel_organization_transaction'](); };
|
|
16782
|
+
exports.makeTransactionMetadataChannelOrganizationTransaction = makeTransactionMetadataChannelOrganizationTransaction;
|
|
16629
16783
|
var makeTransactionMetadataFailedPayout = function () { return factories['io.flow.v0.models.transaction_metadata_failed_payout'](); };
|
|
16630
16784
|
exports.makeTransactionMetadataFailedPayout = makeTransactionMetadataFailedPayout;
|
|
16631
16785
|
var makeTransactionMetadataFailedPayoutReference = function () { return factories['io.flow.v0.models.transaction_metadata_failed_payout_reference'](); };
|
package/dist/esm/api.js
CHANGED
|
@@ -511,6 +511,7 @@ var factories = {
|
|
|
511
511
|
published_at: factories.date_time_iso_8601(),
|
|
512
512
|
created_at: factories.date_time_iso_8601(),
|
|
513
513
|
updated_at: factories.date_time_iso_8601(),
|
|
514
|
+
has_variants_that_requires_components: factories.boolean(),
|
|
514
515
|
}); },
|
|
515
516
|
'io.flow.shopify.external.v0.models.product_delete': function () { return ({
|
|
516
517
|
id: factories.long(),
|
|
@@ -1170,6 +1171,43 @@ var factories = {
|
|
|
1170
1171
|
}); },
|
|
1171
1172
|
'io.flow.stripe.v0.enums.account_type': function () { return faker.helpers.arrayElement(['platform', 'custom', 'standard', 'express']); },
|
|
1172
1173
|
'io.flow.stripe.v0.enums.apple_pay_type': function () { return faker.helpers.arrayElement(['apple_pay', 'apple_pay_later']); },
|
|
1174
|
+
'io.flow.stripe.v0.enums.bank_ideal': function () { return faker.helpers.arrayElement([
|
|
1175
|
+
'abn_amro',
|
|
1176
|
+
'asn_bank',
|
|
1177
|
+
'bunq',
|
|
1178
|
+
'handelsbanken',
|
|
1179
|
+
'ing',
|
|
1180
|
+
'knab',
|
|
1181
|
+
'moneyou',
|
|
1182
|
+
'n26',
|
|
1183
|
+
'nn',
|
|
1184
|
+
'rabobank',
|
|
1185
|
+
'regiobank',
|
|
1186
|
+
'revolut',
|
|
1187
|
+
'sns_bank',
|
|
1188
|
+
'triodos_bank',
|
|
1189
|
+
'van_lanschot',
|
|
1190
|
+
'yoursafe',
|
|
1191
|
+
]); },
|
|
1192
|
+
'io.flow.stripe.v0.enums.bic_ideal': function () { return faker.helpers.arrayElement([
|
|
1193
|
+
'ABNANL2A',
|
|
1194
|
+
'ASNBNL21',
|
|
1195
|
+
'BITSNL2A',
|
|
1196
|
+
'BUNQNL2A',
|
|
1197
|
+
'FVLBNL22',
|
|
1198
|
+
'HANDNL2A',
|
|
1199
|
+
'INGBNL2A',
|
|
1200
|
+
'KNABNL2H',
|
|
1201
|
+
'MOYONL21',
|
|
1202
|
+
'NNBANL2G',
|
|
1203
|
+
'NTSBDEB1',
|
|
1204
|
+
'RABONL2U',
|
|
1205
|
+
'RBRBNL21',
|
|
1206
|
+
'REVOIE23',
|
|
1207
|
+
'REVOLT21',
|
|
1208
|
+
'SNSBNL2A',
|
|
1209
|
+
'TRIONL2U',
|
|
1210
|
+
]); },
|
|
1173
1211
|
'io.flow.stripe.v0.enums.cancellation_reason': function () { return faker.helpers.arrayElement([
|
|
1174
1212
|
'abandoned',
|
|
1175
1213
|
'automatic',
|
|
@@ -1384,9 +1422,10 @@ var factories = {
|
|
|
1384
1422
|
'succeeded',
|
|
1385
1423
|
]); },
|
|
1386
1424
|
'io.flow.stripe.v0.enums.payment_method_category_klarna': function () { return faker.helpers.arrayElement(['pay_later', 'pay_now', 'pay_with_financing', 'pay_in_installments']); },
|
|
1387
|
-
'io.flow.stripe.v0.enums.payment_method_type': function () { return faker.helpers.arrayElement(['card', 'card_present', 'klarna']); },
|
|
1425
|
+
'io.flow.stripe.v0.enums.payment_method_type': function () { return faker.helpers.arrayElement(['card', 'card_present', 'ideal', 'klarna', 'bancontact']); },
|
|
1388
1426
|
'io.flow.stripe.v0.enums.payment_outcome_type': function () { return faker.helpers.arrayElement(['authorized', 'manual_review', 'issuer_declined', 'blocked', 'invalid']); },
|
|
1389
1427
|
'io.flow.stripe.v0.enums.payment_status': function () { return faker.helpers.arrayElement(['succeeded', 'pending', 'failed']); },
|
|
1428
|
+
'io.flow.stripe.v0.enums.preferred_language_bancontact': function () { return faker.helpers.arrayElement(['de', 'en', 'fr', 'nl']); },
|
|
1390
1429
|
'io.flow.stripe.v0.enums.preferred_locale_klarna': function () { return faker.helpers.arrayElement([
|
|
1391
1430
|
'de-AT',
|
|
1392
1431
|
'en-AT',
|
|
@@ -1911,8 +1950,10 @@ var factories = {
|
|
|
1911
1950
|
id: factories.string(),
|
|
1912
1951
|
object: factories.string(),
|
|
1913
1952
|
billing_details: factories['io.flow.stripe.v0.models.payment_method_billing_details'](),
|
|
1953
|
+
bancontact: factories.object(),
|
|
1914
1954
|
card: factories['io.flow.stripe.v0.models.payment_method_card_details'](),
|
|
1915
1955
|
card_present: factories.object(),
|
|
1956
|
+
ideal: factories.object(),
|
|
1916
1957
|
klarna: factories.object(),
|
|
1917
1958
|
created: factories.long(),
|
|
1918
1959
|
customer: factories.string(),
|
|
@@ -1943,18 +1984,43 @@ var factories = {
|
|
|
1943
1984
|
number: factories.string(),
|
|
1944
1985
|
cvc: factories.string(),
|
|
1945
1986
|
}); },
|
|
1987
|
+
'io.flow.stripe.v0.models.payment_method_data_bancontact': function () { return ({
|
|
1988
|
+
type: 'bancontact',
|
|
1989
|
+
billing_details: factories['io.flow.stripe.v0.models.payment_method_billing_details'](),
|
|
1990
|
+
metadata: factories.object(),
|
|
1991
|
+
}); },
|
|
1946
1992
|
'io.flow.stripe.v0.models.payment_method_data_card': function () { return ({
|
|
1947
1993
|
type: 'card',
|
|
1948
1994
|
billing_details: factories['io.flow.stripe.v0.models.payment_method_billing_details'](),
|
|
1949
1995
|
metadata: factories.object(),
|
|
1950
1996
|
card: factories['io.flow.stripe.v0.models.payment_method_card_form'](),
|
|
1951
1997
|
}); },
|
|
1998
|
+
'io.flow.stripe.v0.models.payment_method_data_ideal': function () { return ({
|
|
1999
|
+
type: 'ideal',
|
|
2000
|
+
billing_details: factories['io.flow.stripe.v0.models.payment_method_billing_details'](),
|
|
2001
|
+
metadata: factories.object(),
|
|
2002
|
+
ideal: factories['io.flow.stripe.v0.models.payment_method_ideal_form'](),
|
|
2003
|
+
}); },
|
|
1952
2004
|
'io.flow.stripe.v0.models.payment_method_data_klarna': function () { return ({
|
|
1953
2005
|
type: 'klarna',
|
|
1954
2006
|
billing_details: factories['io.flow.stripe.v0.models.payment_method_billing_details'](),
|
|
1955
2007
|
metadata: factories.object(),
|
|
1956
2008
|
klarna: factories['io.flow.stripe.v0.models.payment_method_klarna_form'](),
|
|
1957
2009
|
}); },
|
|
2010
|
+
'io.flow.stripe.v0.models.payment_method_details_bancontact': function () { return ({
|
|
2011
|
+
type: 'bancontact',
|
|
2012
|
+
bancontact: factories['io.flow.stripe.v0.models.payment_method_details_bancontact_information'](),
|
|
2013
|
+
}); },
|
|
2014
|
+
'io.flow.stripe.v0.models.payment_method_details_bancontact_information': function () { return ({
|
|
2015
|
+
bank_code: factories.string(),
|
|
2016
|
+
bank_name: factories.string(),
|
|
2017
|
+
bic: factories.string(),
|
|
2018
|
+
generated_sepa_debit: factories.string(),
|
|
2019
|
+
generated_sepa_debit_mandate: factories.string(),
|
|
2020
|
+
iban_last4: factories.string(),
|
|
2021
|
+
preferred_language: factories['io.flow.stripe.v0.enums.preferred_language_bancontact'](),
|
|
2022
|
+
verified_name: factories.string(),
|
|
2023
|
+
}); },
|
|
1958
2024
|
'io.flow.stripe.v0.models.payment_method_details_card': function () { return ({
|
|
1959
2025
|
type: 'card',
|
|
1960
2026
|
card: factories['io.flow.stripe.v0.models.payment_method_details_card_information'](),
|
|
@@ -1984,6 +2050,18 @@ var factories = {
|
|
|
1984
2050
|
multicapture: factories['io.flow.stripe.v0.models.multicapture'](),
|
|
1985
2051
|
overcapture: factories['io.flow.stripe.v0.models.overcapture'](),
|
|
1986
2052
|
}); },
|
|
2053
|
+
'io.flow.stripe.v0.models.payment_method_details_ideal': function () { return ({
|
|
2054
|
+
type: 'ideal',
|
|
2055
|
+
ideal: factories['io.flow.stripe.v0.models.payment_method_details_ideal_information'](),
|
|
2056
|
+
}); },
|
|
2057
|
+
'io.flow.stripe.v0.models.payment_method_details_ideal_information': function () { return ({
|
|
2058
|
+
bank: factories['io.flow.stripe.v0.enums.bank_ideal'](),
|
|
2059
|
+
bic: factories['io.flow.stripe.v0.enums.bic_ideal'](),
|
|
2060
|
+
generated_sepa_debit: factories.string(),
|
|
2061
|
+
generated_sepa_debit_mandate: factories.string(),
|
|
2062
|
+
iban_last4: factories.string(),
|
|
2063
|
+
verified_name: factories.string(),
|
|
2064
|
+
}); },
|
|
1987
2065
|
'io.flow.stripe.v0.models.payment_method_details_klarna': function () { return ({
|
|
1988
2066
|
type: 'klarna',
|
|
1989
2067
|
klarna: factories['io.flow.stripe.v0.models.payment_method_details_klarna_information'](),
|
|
@@ -1992,24 +2070,47 @@ var factories = {
|
|
|
1992
2070
|
payment_method_category: factories['io.flow.stripe.v0.enums.payment_method_category_klarna'](),
|
|
1993
2071
|
preferred_locale: factories['io.flow.stripe.v0.enums.preferred_locale_klarna'](),
|
|
1994
2072
|
}); },
|
|
2073
|
+
'io.flow.stripe.v0.models.payment_method_form_bancontact': function () { return ({
|
|
2074
|
+
type: 'bancontact',
|
|
2075
|
+
billing_details: factories['io.flow.stripe.v0.models.payment_method_billing_details'](),
|
|
2076
|
+
metadata: factories.object(),
|
|
2077
|
+
bancontact: factories.object(),
|
|
2078
|
+
}); },
|
|
1995
2079
|
'io.flow.stripe.v0.models.payment_method_form_card': function () { return ({
|
|
1996
2080
|
type: 'card',
|
|
1997
2081
|
billing_details: factories['io.flow.stripe.v0.models.payment_method_billing_details'](),
|
|
1998
2082
|
metadata: factories.object(),
|
|
1999
2083
|
card: factories['io.flow.stripe.v0.models.payment_method_card_form'](),
|
|
2000
2084
|
}); },
|
|
2085
|
+
'io.flow.stripe.v0.models.payment_method_form_ideal': function () { return ({
|
|
2086
|
+
type: 'ideal',
|
|
2087
|
+
billing_details: factories['io.flow.stripe.v0.models.payment_method_billing_details'](),
|
|
2088
|
+
metadata: factories.object(),
|
|
2089
|
+
ideal: factories['io.flow.stripe.v0.models.payment_method_ideal_form'](),
|
|
2090
|
+
}); },
|
|
2001
2091
|
'io.flow.stripe.v0.models.payment_method_form_klarna': function () { return ({
|
|
2002
2092
|
type: 'klarna',
|
|
2003
2093
|
billing_details: factories['io.flow.stripe.v0.models.payment_method_billing_details'](),
|
|
2004
2094
|
metadata: factories.object(),
|
|
2005
2095
|
klarna: factories['io.flow.stripe.v0.models.payment_method_klarna_form'](),
|
|
2006
2096
|
}); },
|
|
2097
|
+
'io.flow.stripe.v0.models.payment_method_ideal_form': function () { return ({
|
|
2098
|
+
bank: factories.string(),
|
|
2099
|
+
}); },
|
|
2007
2100
|
'io.flow.stripe.v0.models.payment_method_klarna_form': function () { return ({
|
|
2008
2101
|
dob: factories['io.flow.stripe.v0.models.klarna_dob_form'](),
|
|
2009
2102
|
}); },
|
|
2010
2103
|
'io.flow.stripe.v0.models.payment_method_options': function () { return ({
|
|
2011
2104
|
card: factories['io.flow.stripe.v0.models.payment_method_options_card'](),
|
|
2105
|
+
ideal: factories['io.flow.stripe.v0.models.payment_method_options_ideal'](),
|
|
2012
2106
|
klarna: factories['io.flow.stripe.v0.models.payment_method_options_klarna'](),
|
|
2107
|
+
bancontact: factories['io.flow.stripe.v0.models.payment_method_options_bancontact'](),
|
|
2108
|
+
}); },
|
|
2109
|
+
'io.flow.stripe.v0.models.payment_method_options_bancontact': function () { return ({
|
|
2110
|
+
preferred_language: factories['io.flow.stripe.v0.enums.preferred_language_bancontact'](),
|
|
2111
|
+
}); },
|
|
2112
|
+
'io.flow.stripe.v0.models.payment_method_options_bancontact_form': function () { return ({
|
|
2113
|
+
preferred_language: factories['io.flow.stripe.v0.enums.preferred_language_bancontact'](),
|
|
2013
2114
|
}); },
|
|
2014
2115
|
'io.flow.stripe.v0.models.payment_method_options_card': function () { return ({
|
|
2015
2116
|
network: factories.string(),
|
|
@@ -2026,7 +2127,15 @@ var factories = {
|
|
|
2026
2127
|
}); },
|
|
2027
2128
|
'io.flow.stripe.v0.models.payment_method_options_form': function () { return ({
|
|
2028
2129
|
card: factories['io.flow.stripe.v0.models.payment_method_options_card_form'](),
|
|
2130
|
+
ideal: factories['io.flow.stripe.v0.models.payment_method_options_ideal_form'](),
|
|
2029
2131
|
klarna: factories['io.flow.stripe.v0.models.payment_method_options_klarna_form'](),
|
|
2132
|
+
bancontact: factories['io.flow.stripe.v0.models.payment_method_options_bancontact_form'](),
|
|
2133
|
+
}); },
|
|
2134
|
+
'io.flow.stripe.v0.models.payment_method_options_ideal': function () { return ({
|
|
2135
|
+
setup_future_usage: factories['io.flow.stripe.v0.enums.setup_future_usage'](),
|
|
2136
|
+
}); },
|
|
2137
|
+
'io.flow.stripe.v0.models.payment_method_options_ideal_form': function () { return ({
|
|
2138
|
+
setup_future_usage: factories['io.flow.stripe.v0.enums.setup_future_usage'](),
|
|
2030
2139
|
}); },
|
|
2031
2140
|
'io.flow.stripe.v0.models.payment_method_options_klarna': function () { return ({
|
|
2032
2141
|
capture_method: factories['io.flow.stripe.v0.enums.capture_method'](),
|
|
@@ -2312,21 +2421,27 @@ var factories = {
|
|
|
2312
2421
|
'io.flow.stripe.v0.unions.payment_method_data': function () {
|
|
2313
2422
|
var f = faker.helpers.arrayElement([
|
|
2314
2423
|
function () { return factories['io.flow.stripe.v0.models.payment_method_data_card'](); },
|
|
2424
|
+
function () { return factories['io.flow.stripe.v0.models.payment_method_data_ideal'](); },
|
|
2315
2425
|
function () { return factories['io.flow.stripe.v0.models.payment_method_data_klarna'](); },
|
|
2426
|
+
function () { return factories['io.flow.stripe.v0.models.payment_method_data_bancontact'](); },
|
|
2316
2427
|
]);
|
|
2317
2428
|
return f();
|
|
2318
2429
|
},
|
|
2319
2430
|
'io.flow.stripe.v0.unions.payment_method_details': function () {
|
|
2320
2431
|
var f = faker.helpers.arrayElement([
|
|
2321
2432
|
function () { return factories['io.flow.stripe.v0.models.payment_method_details_card'](); },
|
|
2433
|
+
function () { return factories['io.flow.stripe.v0.models.payment_method_details_ideal'](); },
|
|
2322
2434
|
function () { return factories['io.flow.stripe.v0.models.payment_method_details_klarna'](); },
|
|
2435
|
+
function () { return factories['io.flow.stripe.v0.models.payment_method_details_bancontact'](); },
|
|
2323
2436
|
]);
|
|
2324
2437
|
return f();
|
|
2325
2438
|
},
|
|
2326
2439
|
'io.flow.stripe.v0.unions.payment_method_form': function () {
|
|
2327
2440
|
var f = faker.helpers.arrayElement([
|
|
2328
2441
|
function () { return factories['io.flow.stripe.v0.models.payment_method_form_card'](); },
|
|
2442
|
+
function () { return factories['io.flow.stripe.v0.models.payment_method_form_ideal'](); },
|
|
2329
2443
|
function () { return factories['io.flow.stripe.v0.models.payment_method_form_klarna'](); },
|
|
2444
|
+
function () { return factories['io.flow.stripe.v0.models.payment_method_form_bancontact'](); },
|
|
2330
2445
|
]);
|
|
2331
2446
|
return f();
|
|
2332
2447
|
},
|
|
@@ -3014,6 +3129,7 @@ var factories = {
|
|
|
3014
3129
|
'order_missing_information',
|
|
3015
3130
|
'order_domestic',
|
|
3016
3131
|
'order_mismatched_currencies',
|
|
3132
|
+
'order_missing',
|
|
3017
3133
|
]); },
|
|
3018
3134
|
'io.flow.v0.enums.payment_request_review_status': function () { return faker.helpers.arrayElement(['pending', 'approved', 'rejected']); },
|
|
3019
3135
|
'io.flow.v0.enums.payment_source_confirmation_action_type': function () { return faker.helpers.arrayElement(['cvv', 'billing_address', 'number']); },
|
|
@@ -9136,6 +9252,14 @@ var factories = {
|
|
|
9136
9252
|
discriminator: 'payment_processor_reference',
|
|
9137
9253
|
processor: factories.string(),
|
|
9138
9254
|
}); },
|
|
9255
|
+
'io.flow.v0.models.payment_processor_transaction_details_apm': function () { return ({
|
|
9256
|
+
discriminator: 'apm',
|
|
9257
|
+
transaction_identifier: factories.string(),
|
|
9258
|
+
capture_identifier: factories.string(),
|
|
9259
|
+
method_type: factories.string(),
|
|
9260
|
+
result_status: factories.string(),
|
|
9261
|
+
reason_code: factories.string(),
|
|
9262
|
+
}); },
|
|
9139
9263
|
'io.flow.v0.models.payment_processor_transaction_details_card': function () { return ({
|
|
9140
9264
|
discriminator: 'card',
|
|
9141
9265
|
transaction_identifier: factories.string(),
|
|
@@ -9212,6 +9336,10 @@ var factories = {
|
|
|
9212
9336
|
payment_request: factories['io.flow.v0.models.payment_request_form'](),
|
|
9213
9337
|
billing: factories['io.flow.v0.models.payment_request_billing'](),
|
|
9214
9338
|
}); },
|
|
9339
|
+
'io.flow.v0.models.payment_request_cancellation_reason_order_missing': function () { return ({
|
|
9340
|
+
type: 'order_missing',
|
|
9341
|
+
description: factories.string(),
|
|
9342
|
+
}); },
|
|
9215
9343
|
'io.flow.v0.models.payment_request_deleted': function () { return ({
|
|
9216
9344
|
discriminator: 'payment_request_deleted',
|
|
9217
9345
|
event_id: factories.string(),
|
|
@@ -9333,6 +9461,7 @@ var factories = {
|
|
|
9333
9461
|
'io.flow.v0.models.paypal_authorization_details': function () { return ({
|
|
9334
9462
|
discriminator: 'paypal_authorization_details',
|
|
9335
9463
|
payment_id: factories.string(),
|
|
9464
|
+
internal_payment_id: factories.string(),
|
|
9336
9465
|
payment_method: factories.string(),
|
|
9337
9466
|
payment_state: factories.string(),
|
|
9338
9467
|
payer_id: factories.string(),
|
|
@@ -10200,6 +10329,10 @@ var factories = {
|
|
|
10200
10329
|
'io.flow.v0.models.region_setting_form': function () { return ({
|
|
10201
10330
|
status: factories['io.flow.v0.enums.availability_status'](),
|
|
10202
10331
|
}); },
|
|
10332
|
+
'io.flow.v0.models.rejection_put_form': function () { return ({
|
|
10333
|
+
reason: factories['io.flow.v0.enums.merchant_rejected_reason'](),
|
|
10334
|
+
description: factories.string(),
|
|
10335
|
+
}); },
|
|
10203
10336
|
'io.flow.v0.models.remote_area_by_weight_service_fee': function () { return ({
|
|
10204
10337
|
discriminator: 'remote_area_by_weight_service_fee',
|
|
10205
10338
|
amount: factories['io.flow.v0.models.money'](),
|
|
@@ -11861,7 +11994,7 @@ var factories = {
|
|
|
11861
11994
|
discriminator: 'channel',
|
|
11862
11995
|
method: factories.string(),
|
|
11863
11996
|
card: factories['io.flow.v0.models.transaction_metadata_channel_card_metadata'](),
|
|
11864
|
-
organization_transaction: factories['io.flow.v0.models.
|
|
11997
|
+
organization_transaction: factories['io.flow.v0.models.transaction_metadata_channel_organization_transaction'](),
|
|
11865
11998
|
}); },
|
|
11866
11999
|
'io.flow.v0.models.transaction_metadata_channel_card_metadata': function () { return ({
|
|
11867
12000
|
type: factories['io.flow.v0.enums.card_type'](),
|
|
@@ -11871,6 +12004,10 @@ var factories = {
|
|
|
11871
12004
|
iin: factories.string(),
|
|
11872
12005
|
country: factories.string(),
|
|
11873
12006
|
}); },
|
|
12007
|
+
'io.flow.v0.models.transaction_metadata_channel_organization_transaction': function () { return ({
|
|
12008
|
+
id: factories.string(),
|
|
12009
|
+
metadata: factories['io.flow.v0.models.transaction_metadata_payment_transaction'](),
|
|
12010
|
+
}); },
|
|
11874
12011
|
'io.flow.v0.models.transaction_metadata_failed_payout': function () { return ({
|
|
11875
12012
|
discriminator: 'failed_payout',
|
|
11876
12013
|
failed_payout: factories['io.flow.v0.models.transaction_metadata_failed_payout_reference'](),
|
|
@@ -12965,6 +13102,13 @@ var factories = {
|
|
|
12965
13102
|
'io.flow.v0.unions.payment_processor_transaction_details': function () {
|
|
12966
13103
|
var f = faker.helpers.arrayElement([
|
|
12967
13104
|
function () { return factories['io.flow.v0.models.payment_processor_transaction_details_card'](); },
|
|
13105
|
+
function () { return factories['io.flow.v0.models.payment_processor_transaction_details_apm'](); },
|
|
13106
|
+
]);
|
|
13107
|
+
return f();
|
|
13108
|
+
},
|
|
13109
|
+
'io.flow.v0.unions.payment_request_cancellation_reason': function () {
|
|
13110
|
+
var f = faker.helpers.arrayElement([
|
|
13111
|
+
function () { return factories['io.flow.v0.models.payment_request_cancellation_reason_order_missing'](); },
|
|
12968
13112
|
]);
|
|
12969
13113
|
return f();
|
|
12970
13114
|
},
|
|
@@ -14380,6 +14524,7 @@ export var makePaymentProcessorAccountReference = function () { return factories
|
|
|
14380
14524
|
export var makePaymentProcessorIdentifier = function () { return factories['io.flow.v0.models.payment_processor_identifier'](); };
|
|
14381
14525
|
export var makePaymentProcessorReference = function () { return factories['io.flow.v0.models.payment_processor_reference'](); };
|
|
14382
14526
|
export var makePaymentProcessorTransactionDetails = function () { return factories['io.flow.v0.unions.payment_processor_transaction_details'](); };
|
|
14527
|
+
export var makePaymentProcessorTransactionDetailsApm = function () { return factories['io.flow.v0.models.payment_processor_transaction_details_apm'](); };
|
|
14383
14528
|
export var makePaymentProcessorTransactionDetailsCard = function () { return factories['io.flow.v0.models.payment_processor_transaction_details_card'](); };
|
|
14384
14529
|
export var makePaymentReference = function () { return factories['io.flow.v0.models.payment_reference'](); };
|
|
14385
14530
|
export var makePaymentRefund = function () { return factories['io.flow.v0.models.payment_refund'](); };
|
|
@@ -14391,6 +14536,8 @@ export var makePaymentRequestBillingCurrencyRate = function () { return factorie
|
|
|
14391
14536
|
export var makePaymentRequestBillingFees = function () { return factories['io.flow.v0.models.payment_request_billing_fees'](); };
|
|
14392
14537
|
export var makePaymentRequestBundle = function () { return factories['io.flow.v0.models.payment_request_bundle'](); };
|
|
14393
14538
|
export var makePaymentRequestBundleForm = function () { return factories['io.flow.v0.models.payment_request_bundle_form'](); };
|
|
14539
|
+
export var makePaymentRequestCancellationReason = function () { return factories['io.flow.v0.unions.payment_request_cancellation_reason'](); };
|
|
14540
|
+
export var makePaymentRequestCancellationReasonOrderMissing = function () { return factories['io.flow.v0.models.payment_request_cancellation_reason_order_missing'](); };
|
|
14394
14541
|
export var makePaymentRequestDeleted = function () { return factories['io.flow.v0.models.payment_request_deleted'](); };
|
|
14395
14542
|
export var makePaymentRequestForm = function () { return factories['io.flow.v0.models.payment_request_form'](); };
|
|
14396
14543
|
export var makePaymentRequestReference = function () { return factories['io.flow.v0.models.payment_request_reference'](); };
|
|
@@ -14576,6 +14723,7 @@ export var makeRegionReference = function () { return factories['io.flow.v0.mode
|
|
|
14576
14723
|
export var makeRegionSetting = function () { return factories['io.flow.v0.models.region_setting'](); };
|
|
14577
14724
|
export var makeRegionSettingForm = function () { return factories['io.flow.v0.models.region_setting_form'](); };
|
|
14578
14725
|
export var makeRegionType = function () { return factories['io.flow.v0.enums.region_type'](); };
|
|
14726
|
+
export var makeRejectionPutForm = function () { return factories['io.flow.v0.models.rejection_put_form'](); };
|
|
14579
14727
|
export var makeRemoteAreaByWeightServiceFee = function () { return factories['io.flow.v0.models.remote_area_by_weight_service_fee'](); };
|
|
14580
14728
|
export var makeRemoteAreaRatecardFee = function () { return factories['io.flow.v0.models.remote_area_ratecard_fee'](); };
|
|
14581
14729
|
export var makeRemoteAreaServiceFee = function () { return factories['io.flow.v0.models.remote_area_service_fee'](); };
|
|
@@ -14903,6 +15051,7 @@ export var makeTransactionMetadataCarrierCharge = function () { return factories
|
|
|
14903
15051
|
export var makeTransactionMetadataChannel = function () { return factories['io.flow.v0.models.transaction_metadata_channel'](); };
|
|
14904
15052
|
export var makeTransactionMetadataChannelCardMetadata = function () { return factories['io.flow.v0.models.transaction_metadata_channel_card_metadata'](); };
|
|
14905
15053
|
export var makeTransactionMetadataChannelCardMetadataIssuerSummary = function () { return factories['io.flow.v0.models.transaction_metadata_channel_card_metadata_issuer_summary'](); };
|
|
15054
|
+
export var makeTransactionMetadataChannelOrganizationTransaction = function () { return factories['io.flow.v0.models.transaction_metadata_channel_organization_transaction'](); };
|
|
14906
15055
|
export var makeTransactionMetadataFailedPayout = function () { return factories['io.flow.v0.models.transaction_metadata_failed_payout'](); };
|
|
14907
15056
|
export var makeTransactionMetadataFailedPayoutReference = function () { return factories['io.flow.v0.models.transaction_metadata_failed_payout_reference'](); };
|
|
14908
15057
|
export var makeTransactionMetadataManual = function () { return factories['io.flow.v0.models.transaction_metadata_manual'](); };
|
package/dist/types/api.d.ts
CHANGED
|
@@ -1157,7 +1157,8 @@ export declare const makePaymentProcessorAccount: () => io.flow.v0.models.Paymen
|
|
|
1157
1157
|
export declare const makePaymentProcessorAccountReference: () => io.flow.v0.models.PaymentProcessorAccountReference;
|
|
1158
1158
|
export declare const makePaymentProcessorIdentifier: () => io.flow.v0.models.PaymentProcessorIdentifier;
|
|
1159
1159
|
export declare const makePaymentProcessorReference: () => io.flow.v0.models.PaymentProcessorReference;
|
|
1160
|
-
export declare const makePaymentProcessorTransactionDetails: () => io.flow.v0.
|
|
1160
|
+
export declare const makePaymentProcessorTransactionDetails: () => io.flow.v0.unions.PaymentProcessorTransactionDetails;
|
|
1161
|
+
export declare const makePaymentProcessorTransactionDetailsApm: () => io.flow.v0.models.PaymentProcessorTransactionDetailsApm;
|
|
1161
1162
|
export declare const makePaymentProcessorTransactionDetailsCard: () => io.flow.v0.models.PaymentProcessorTransactionDetailsCard;
|
|
1162
1163
|
export declare const makePaymentReference: () => io.flow.v0.models.PaymentReference;
|
|
1163
1164
|
export declare const makePaymentRefund: () => io.flow.v0.models.PaymentRefund;
|
|
@@ -1169,6 +1170,8 @@ export declare const makePaymentRequestBillingCurrencyRate: () => io.flow.v0.mod
|
|
|
1169
1170
|
export declare const makePaymentRequestBillingFees: () => io.flow.v0.models.PaymentRequestBillingFees;
|
|
1170
1171
|
export declare const makePaymentRequestBundle: () => io.flow.v0.models.PaymentRequestBundle;
|
|
1171
1172
|
export declare const makePaymentRequestBundleForm: () => io.flow.v0.models.PaymentRequestBundleForm;
|
|
1173
|
+
export declare const makePaymentRequestCancellationReason: () => io.flow.v0.models.PaymentRequestCancellationReasonOrderMissing;
|
|
1174
|
+
export declare const makePaymentRequestCancellationReasonOrderMissing: () => io.flow.v0.models.PaymentRequestCancellationReasonOrderMissing;
|
|
1172
1175
|
export declare const makePaymentRequestDeleted: () => io.flow.v0.models.PaymentRequestDeleted;
|
|
1173
1176
|
export declare const makePaymentRequestForm: () => io.flow.v0.models.PaymentRequestForm;
|
|
1174
1177
|
export declare const makePaymentRequestReference: () => io.flow.v0.models.PaymentRequestReference;
|
|
@@ -1354,6 +1357,7 @@ export declare const makeRegionReference: () => io.flow.v0.models.RegionReferenc
|
|
|
1354
1357
|
export declare const makeRegionSetting: () => io.flow.v0.models.RegionSetting;
|
|
1355
1358
|
export declare const makeRegionSettingForm: () => io.flow.v0.models.RegionSettingForm;
|
|
1356
1359
|
export declare const makeRegionType: () => io.flow.v0.enums.RegionType;
|
|
1360
|
+
export declare const makeRejectionPutForm: () => io.flow.v0.models.RejectionPutForm;
|
|
1357
1361
|
export declare const makeRemoteAreaByWeightServiceFee: () => io.flow.v0.models.RemoteAreaByWeightServiceFee;
|
|
1358
1362
|
export declare const makeRemoteAreaRatecardFee: () => io.flow.v0.models.RemoteAreaRatecardFee;
|
|
1359
1363
|
export declare const makeRemoteAreaServiceFee: () => io.flow.v0.models.RemoteAreaServiceFee;
|
|
@@ -1681,6 +1685,7 @@ export declare const makeTransactionMetadataCarrierCharge: () => io.flow.v0.mode
|
|
|
1681
1685
|
export declare const makeTransactionMetadataChannel: () => io.flow.v0.models.TransactionMetadataChannel;
|
|
1682
1686
|
export declare const makeTransactionMetadataChannelCardMetadata: () => io.flow.v0.models.TransactionMetadataChannelCardMetadata;
|
|
1683
1687
|
export declare const makeTransactionMetadataChannelCardMetadataIssuerSummary: () => io.flow.v0.models.TransactionMetadataChannelCardMetadataIssuerSummary;
|
|
1688
|
+
export declare const makeTransactionMetadataChannelOrganizationTransaction: () => io.flow.v0.models.TransactionMetadataChannelOrganizationTransaction;
|
|
1684
1689
|
export declare const makeTransactionMetadataFailedPayout: () => io.flow.v0.models.TransactionMetadataFailedPayout;
|
|
1685
1690
|
export declare const makeTransactionMetadataFailedPayoutReference: () => io.flow.v0.models.TransactionMetadataFailedPayoutReference;
|
|
1686
1691
|
export declare const makeTransactionMetadataManual: () => io.flow.v0.models.TransactionMetadataManual;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-factories",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.87",
|
|
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": "25d6ba675365a3fb318abcc4bc935dd549089238"
|
|
40
40
|
}
|
package/src/api.ts
CHANGED
|
@@ -588,6 +588,7 @@ const factories = {
|
|
|
588
588
|
published_at: factories.date_time_iso_8601(),
|
|
589
589
|
created_at: factories.date_time_iso_8601(),
|
|
590
590
|
updated_at: factories.date_time_iso_8601(),
|
|
591
|
+
has_variants_that_requires_components: factories.boolean(),
|
|
591
592
|
}),
|
|
592
593
|
|
|
593
594
|
'io.flow.shopify.external.v0.models.product_delete': (): io.flow.shopify.external.v0.models.ProductDelete => ({
|
|
@@ -1399,6 +1400,45 @@ const factories = {
|
|
|
1399
1400
|
'io.flow.stripe.v0.enums.account_type': (): io.flow.stripe.v0.enums.AccountType => faker.helpers.arrayElement(['platform', 'custom', 'standard', 'express']),
|
|
1400
1401
|
'io.flow.stripe.v0.enums.apple_pay_type': (): io.flow.stripe.v0.enums.ApplePayType => faker.helpers.arrayElement(['apple_pay', 'apple_pay_later']),
|
|
1401
1402
|
|
|
1403
|
+
'io.flow.stripe.v0.enums.bank_ideal': (): io.flow.stripe.v0.enums.BankIdeal => faker.helpers.arrayElement([
|
|
1404
|
+
'abn_amro',
|
|
1405
|
+
'asn_bank',
|
|
1406
|
+
'bunq',
|
|
1407
|
+
'handelsbanken',
|
|
1408
|
+
'ing',
|
|
1409
|
+
'knab',
|
|
1410
|
+
'moneyou',
|
|
1411
|
+
'n26',
|
|
1412
|
+
'nn',
|
|
1413
|
+
'rabobank',
|
|
1414
|
+
'regiobank',
|
|
1415
|
+
'revolut',
|
|
1416
|
+
'sns_bank',
|
|
1417
|
+
'triodos_bank',
|
|
1418
|
+
'van_lanschot',
|
|
1419
|
+
'yoursafe',
|
|
1420
|
+
]),
|
|
1421
|
+
|
|
1422
|
+
'io.flow.stripe.v0.enums.bic_ideal': (): io.flow.stripe.v0.enums.BicIdeal => faker.helpers.arrayElement([
|
|
1423
|
+
'ABNANL2A',
|
|
1424
|
+
'ASNBNL21',
|
|
1425
|
+
'BITSNL2A',
|
|
1426
|
+
'BUNQNL2A',
|
|
1427
|
+
'FVLBNL22',
|
|
1428
|
+
'HANDNL2A',
|
|
1429
|
+
'INGBNL2A',
|
|
1430
|
+
'KNABNL2H',
|
|
1431
|
+
'MOYONL21',
|
|
1432
|
+
'NNBANL2G',
|
|
1433
|
+
'NTSBDEB1',
|
|
1434
|
+
'RABONL2U',
|
|
1435
|
+
'RBRBNL21',
|
|
1436
|
+
'REVOIE23',
|
|
1437
|
+
'REVOLT21',
|
|
1438
|
+
'SNSBNL2A',
|
|
1439
|
+
'TRIONL2U',
|
|
1440
|
+
]),
|
|
1441
|
+
|
|
1402
1442
|
'io.flow.stripe.v0.enums.cancellation_reason': (): io.flow.stripe.v0.enums.CancellationReason => faker.helpers.arrayElement([
|
|
1403
1443
|
'abandoned',
|
|
1404
1444
|
'automatic',
|
|
@@ -1629,9 +1669,10 @@ const factories = {
|
|
|
1629
1669
|
]),
|
|
1630
1670
|
|
|
1631
1671
|
'io.flow.stripe.v0.enums.payment_method_category_klarna': (): io.flow.stripe.v0.enums.PaymentMethodCategoryKlarna => faker.helpers.arrayElement(['pay_later', 'pay_now', 'pay_with_financing', 'pay_in_installments']),
|
|
1632
|
-
'io.flow.stripe.v0.enums.payment_method_type': (): io.flow.stripe.v0.enums.PaymentMethodType => faker.helpers.arrayElement(['card', 'card_present', 'klarna']),
|
|
1672
|
+
'io.flow.stripe.v0.enums.payment_method_type': (): io.flow.stripe.v0.enums.PaymentMethodType => faker.helpers.arrayElement(['card', 'card_present', 'ideal', 'klarna', 'bancontact']),
|
|
1633
1673
|
'io.flow.stripe.v0.enums.payment_outcome_type': (): io.flow.stripe.v0.enums.PaymentOutcomeType => faker.helpers.arrayElement(['authorized', 'manual_review', 'issuer_declined', 'blocked', 'invalid']),
|
|
1634
1674
|
'io.flow.stripe.v0.enums.payment_status': (): io.flow.stripe.v0.enums.PaymentStatus => faker.helpers.arrayElement(['succeeded', 'pending', 'failed']),
|
|
1675
|
+
'io.flow.stripe.v0.enums.preferred_language_bancontact': (): io.flow.stripe.v0.enums.PreferredLanguageBancontact => faker.helpers.arrayElement(['de', 'en', 'fr', 'nl']),
|
|
1635
1676
|
|
|
1636
1677
|
'io.flow.stripe.v0.enums.preferred_locale_klarna': (): io.flow.stripe.v0.enums.PreferredLocaleKlarna => faker.helpers.arrayElement([
|
|
1637
1678
|
'de-AT',
|
|
@@ -2214,8 +2255,10 @@ const factories = {
|
|
|
2214
2255
|
id: factories.string(),
|
|
2215
2256
|
object: factories.string(),
|
|
2216
2257
|
billing_details: factories['io.flow.stripe.v0.models.payment_method_billing_details'](),
|
|
2258
|
+
bancontact: factories.object(),
|
|
2217
2259
|
card: factories['io.flow.stripe.v0.models.payment_method_card_details'](),
|
|
2218
2260
|
card_present: factories.object(),
|
|
2261
|
+
ideal: factories.object(),
|
|
2219
2262
|
klarna: factories.object(),
|
|
2220
2263
|
created: factories.long(),
|
|
2221
2264
|
customer: factories.string(),
|
|
@@ -2250,6 +2293,12 @@ const factories = {
|
|
|
2250
2293
|
cvc: factories.string(),
|
|
2251
2294
|
}),
|
|
2252
2295
|
|
|
2296
|
+
'io.flow.stripe.v0.models.payment_method_data_bancontact': (): io.flow.stripe.v0.models.PaymentMethodDataBancontact => ({
|
|
2297
|
+
type: 'bancontact',
|
|
2298
|
+
billing_details: factories['io.flow.stripe.v0.models.payment_method_billing_details'](),
|
|
2299
|
+
metadata: factories.object(),
|
|
2300
|
+
}),
|
|
2301
|
+
|
|
2253
2302
|
'io.flow.stripe.v0.models.payment_method_data_card': (): io.flow.stripe.v0.models.PaymentMethodDataCard => ({
|
|
2254
2303
|
type: 'card',
|
|
2255
2304
|
billing_details: factories['io.flow.stripe.v0.models.payment_method_billing_details'](),
|
|
@@ -2257,6 +2306,13 @@ const factories = {
|
|
|
2257
2306
|
card: factories['io.flow.stripe.v0.models.payment_method_card_form'](),
|
|
2258
2307
|
}),
|
|
2259
2308
|
|
|
2309
|
+
'io.flow.stripe.v0.models.payment_method_data_ideal': (): io.flow.stripe.v0.models.PaymentMethodDataIdeal => ({
|
|
2310
|
+
type: 'ideal',
|
|
2311
|
+
billing_details: factories['io.flow.stripe.v0.models.payment_method_billing_details'](),
|
|
2312
|
+
metadata: factories.object(),
|
|
2313
|
+
ideal: factories['io.flow.stripe.v0.models.payment_method_ideal_form'](),
|
|
2314
|
+
}),
|
|
2315
|
+
|
|
2260
2316
|
'io.flow.stripe.v0.models.payment_method_data_klarna': (): io.flow.stripe.v0.models.PaymentMethodDataKlarna => ({
|
|
2261
2317
|
type: 'klarna',
|
|
2262
2318
|
billing_details: factories['io.flow.stripe.v0.models.payment_method_billing_details'](),
|
|
@@ -2264,6 +2320,22 @@ const factories = {
|
|
|
2264
2320
|
klarna: factories['io.flow.stripe.v0.models.payment_method_klarna_form'](),
|
|
2265
2321
|
}),
|
|
2266
2322
|
|
|
2323
|
+
'io.flow.stripe.v0.models.payment_method_details_bancontact': (): io.flow.stripe.v0.models.PaymentMethodDetailsBancontact => ({
|
|
2324
|
+
type: 'bancontact',
|
|
2325
|
+
bancontact: factories['io.flow.stripe.v0.models.payment_method_details_bancontact_information'](),
|
|
2326
|
+
}),
|
|
2327
|
+
|
|
2328
|
+
'io.flow.stripe.v0.models.payment_method_details_bancontact_information': (): io.flow.stripe.v0.models.PaymentMethodDetailsBancontactInformation => ({
|
|
2329
|
+
bank_code: factories.string(),
|
|
2330
|
+
bank_name: factories.string(),
|
|
2331
|
+
bic: factories.string(),
|
|
2332
|
+
generated_sepa_debit: factories.string(),
|
|
2333
|
+
generated_sepa_debit_mandate: factories.string(),
|
|
2334
|
+
iban_last4: factories.string(),
|
|
2335
|
+
preferred_language: factories['io.flow.stripe.v0.enums.preferred_language_bancontact'](),
|
|
2336
|
+
verified_name: factories.string(),
|
|
2337
|
+
}),
|
|
2338
|
+
|
|
2267
2339
|
'io.flow.stripe.v0.models.payment_method_details_card': (): io.flow.stripe.v0.models.PaymentMethodDetailsCard => ({
|
|
2268
2340
|
type: 'card',
|
|
2269
2341
|
card: factories['io.flow.stripe.v0.models.payment_method_details_card_information'](),
|
|
@@ -2295,6 +2367,20 @@ const factories = {
|
|
|
2295
2367
|
overcapture: factories['io.flow.stripe.v0.models.overcapture'](),
|
|
2296
2368
|
}),
|
|
2297
2369
|
|
|
2370
|
+
'io.flow.stripe.v0.models.payment_method_details_ideal': (): io.flow.stripe.v0.models.PaymentMethodDetailsIdeal => ({
|
|
2371
|
+
type: 'ideal',
|
|
2372
|
+
ideal: factories['io.flow.stripe.v0.models.payment_method_details_ideal_information'](),
|
|
2373
|
+
}),
|
|
2374
|
+
|
|
2375
|
+
'io.flow.stripe.v0.models.payment_method_details_ideal_information': (): io.flow.stripe.v0.models.PaymentMethodDetailsIdealInformation => ({
|
|
2376
|
+
bank: factories['io.flow.stripe.v0.enums.bank_ideal'](),
|
|
2377
|
+
bic: factories['io.flow.stripe.v0.enums.bic_ideal'](),
|
|
2378
|
+
generated_sepa_debit: factories.string(),
|
|
2379
|
+
generated_sepa_debit_mandate: factories.string(),
|
|
2380
|
+
iban_last4: factories.string(),
|
|
2381
|
+
verified_name: factories.string(),
|
|
2382
|
+
}),
|
|
2383
|
+
|
|
2298
2384
|
'io.flow.stripe.v0.models.payment_method_details_klarna': (): io.flow.stripe.v0.models.PaymentMethodDetailsKlarna => ({
|
|
2299
2385
|
type: 'klarna',
|
|
2300
2386
|
klarna: factories['io.flow.stripe.v0.models.payment_method_details_klarna_information'](),
|
|
@@ -2305,6 +2391,13 @@ const factories = {
|
|
|
2305
2391
|
preferred_locale: factories['io.flow.stripe.v0.enums.preferred_locale_klarna'](),
|
|
2306
2392
|
}),
|
|
2307
2393
|
|
|
2394
|
+
'io.flow.stripe.v0.models.payment_method_form_bancontact': (): io.flow.stripe.v0.models.PaymentMethodFormBancontact => ({
|
|
2395
|
+
type: 'bancontact',
|
|
2396
|
+
billing_details: factories['io.flow.stripe.v0.models.payment_method_billing_details'](),
|
|
2397
|
+
metadata: factories.object(),
|
|
2398
|
+
bancontact: factories.object(),
|
|
2399
|
+
}),
|
|
2400
|
+
|
|
2308
2401
|
'io.flow.stripe.v0.models.payment_method_form_card': (): io.flow.stripe.v0.models.PaymentMethodFormCard => ({
|
|
2309
2402
|
type: 'card',
|
|
2310
2403
|
billing_details: factories['io.flow.stripe.v0.models.payment_method_billing_details'](),
|
|
@@ -2312,6 +2405,13 @@ const factories = {
|
|
|
2312
2405
|
card: factories['io.flow.stripe.v0.models.payment_method_card_form'](),
|
|
2313
2406
|
}),
|
|
2314
2407
|
|
|
2408
|
+
'io.flow.stripe.v0.models.payment_method_form_ideal': (): io.flow.stripe.v0.models.PaymentMethodFormIdeal => ({
|
|
2409
|
+
type: 'ideal',
|
|
2410
|
+
billing_details: factories['io.flow.stripe.v0.models.payment_method_billing_details'](),
|
|
2411
|
+
metadata: factories.object(),
|
|
2412
|
+
ideal: factories['io.flow.stripe.v0.models.payment_method_ideal_form'](),
|
|
2413
|
+
}),
|
|
2414
|
+
|
|
2315
2415
|
'io.flow.stripe.v0.models.payment_method_form_klarna': (): io.flow.stripe.v0.models.PaymentMethodFormKlarna => ({
|
|
2316
2416
|
type: 'klarna',
|
|
2317
2417
|
billing_details: factories['io.flow.stripe.v0.models.payment_method_billing_details'](),
|
|
@@ -2319,13 +2419,27 @@ const factories = {
|
|
|
2319
2419
|
klarna: factories['io.flow.stripe.v0.models.payment_method_klarna_form'](),
|
|
2320
2420
|
}),
|
|
2321
2421
|
|
|
2422
|
+
'io.flow.stripe.v0.models.payment_method_ideal_form': (): io.flow.stripe.v0.models.PaymentMethodIdealForm => ({
|
|
2423
|
+
bank: factories.string(),
|
|
2424
|
+
}),
|
|
2425
|
+
|
|
2322
2426
|
'io.flow.stripe.v0.models.payment_method_klarna_form': (): io.flow.stripe.v0.models.PaymentMethodKlarnaForm => ({
|
|
2323
2427
|
dob: factories['io.flow.stripe.v0.models.klarna_dob_form'](),
|
|
2324
2428
|
}),
|
|
2325
2429
|
|
|
2326
2430
|
'io.flow.stripe.v0.models.payment_method_options': (): io.flow.stripe.v0.models.PaymentMethodOptions => ({
|
|
2327
2431
|
card: factories['io.flow.stripe.v0.models.payment_method_options_card'](),
|
|
2432
|
+
ideal: factories['io.flow.stripe.v0.models.payment_method_options_ideal'](),
|
|
2328
2433
|
klarna: factories['io.flow.stripe.v0.models.payment_method_options_klarna'](),
|
|
2434
|
+
bancontact: factories['io.flow.stripe.v0.models.payment_method_options_bancontact'](),
|
|
2435
|
+
}),
|
|
2436
|
+
|
|
2437
|
+
'io.flow.stripe.v0.models.payment_method_options_bancontact': (): io.flow.stripe.v0.models.PaymentMethodOptionsBancontact => ({
|
|
2438
|
+
preferred_language: factories['io.flow.stripe.v0.enums.preferred_language_bancontact'](),
|
|
2439
|
+
}),
|
|
2440
|
+
|
|
2441
|
+
'io.flow.stripe.v0.models.payment_method_options_bancontact_form': (): io.flow.stripe.v0.models.PaymentMethodOptionsBancontactForm => ({
|
|
2442
|
+
preferred_language: factories['io.flow.stripe.v0.enums.preferred_language_bancontact'](),
|
|
2329
2443
|
}),
|
|
2330
2444
|
|
|
2331
2445
|
'io.flow.stripe.v0.models.payment_method_options_card': (): io.flow.stripe.v0.models.PaymentMethodOptionsCard => ({
|
|
@@ -2345,7 +2459,17 @@ const factories = {
|
|
|
2345
2459
|
|
|
2346
2460
|
'io.flow.stripe.v0.models.payment_method_options_form': (): io.flow.stripe.v0.models.PaymentMethodOptionsForm => ({
|
|
2347
2461
|
card: factories['io.flow.stripe.v0.models.payment_method_options_card_form'](),
|
|
2462
|
+
ideal: factories['io.flow.stripe.v0.models.payment_method_options_ideal_form'](),
|
|
2348
2463
|
klarna: factories['io.flow.stripe.v0.models.payment_method_options_klarna_form'](),
|
|
2464
|
+
bancontact: factories['io.flow.stripe.v0.models.payment_method_options_bancontact_form'](),
|
|
2465
|
+
}),
|
|
2466
|
+
|
|
2467
|
+
'io.flow.stripe.v0.models.payment_method_options_ideal': (): io.flow.stripe.v0.models.PaymentMethodOptionsIdeal => ({
|
|
2468
|
+
setup_future_usage: factories['io.flow.stripe.v0.enums.setup_future_usage'](),
|
|
2469
|
+
}),
|
|
2470
|
+
|
|
2471
|
+
'io.flow.stripe.v0.models.payment_method_options_ideal_form': (): io.flow.stripe.v0.models.PaymentMethodOptionsIdealForm => ({
|
|
2472
|
+
setup_future_usage: factories['io.flow.stripe.v0.enums.setup_future_usage'](),
|
|
2349
2473
|
}),
|
|
2350
2474
|
|
|
2351
2475
|
'io.flow.stripe.v0.models.payment_method_options_klarna': (): io.flow.stripe.v0.models.PaymentMethodOptionsKlarna => ({
|
|
@@ -2667,7 +2791,9 @@ const factories = {
|
|
|
2667
2791
|
'io.flow.stripe.v0.unions.payment_method_data': (): io.flow.stripe.v0.unions.PaymentMethodData => {
|
|
2668
2792
|
const f = faker.helpers.arrayElement([
|
|
2669
2793
|
() => factories['io.flow.stripe.v0.models.payment_method_data_card'](),
|
|
2794
|
+
() => factories['io.flow.stripe.v0.models.payment_method_data_ideal'](),
|
|
2670
2795
|
() => factories['io.flow.stripe.v0.models.payment_method_data_klarna'](),
|
|
2796
|
+
() => factories['io.flow.stripe.v0.models.payment_method_data_bancontact'](),
|
|
2671
2797
|
]);
|
|
2672
2798
|
|
|
2673
2799
|
return f();
|
|
@@ -2676,7 +2802,9 @@ const factories = {
|
|
|
2676
2802
|
'io.flow.stripe.v0.unions.payment_method_details': (): io.flow.stripe.v0.unions.PaymentMethodDetails => {
|
|
2677
2803
|
const f = faker.helpers.arrayElement([
|
|
2678
2804
|
() => factories['io.flow.stripe.v0.models.payment_method_details_card'](),
|
|
2805
|
+
() => factories['io.flow.stripe.v0.models.payment_method_details_ideal'](),
|
|
2679
2806
|
() => factories['io.flow.stripe.v0.models.payment_method_details_klarna'](),
|
|
2807
|
+
() => factories['io.flow.stripe.v0.models.payment_method_details_bancontact'](),
|
|
2680
2808
|
]);
|
|
2681
2809
|
|
|
2682
2810
|
return f();
|
|
@@ -2685,7 +2813,9 @@ const factories = {
|
|
|
2685
2813
|
'io.flow.stripe.v0.unions.payment_method_form': (): io.flow.stripe.v0.unions.PaymentMethodForm => {
|
|
2686
2814
|
const f = faker.helpers.arrayElement([
|
|
2687
2815
|
() => factories['io.flow.stripe.v0.models.payment_method_form_card'](),
|
|
2816
|
+
() => factories['io.flow.stripe.v0.models.payment_method_form_ideal'](),
|
|
2688
2817
|
() => factories['io.flow.stripe.v0.models.payment_method_form_klarna'](),
|
|
2818
|
+
() => factories['io.flow.stripe.v0.models.payment_method_form_bancontact'](),
|
|
2689
2819
|
]);
|
|
2690
2820
|
|
|
2691
2821
|
return f();
|
|
@@ -3427,6 +3557,7 @@ const factories = {
|
|
|
3427
3557
|
'order_missing_information',
|
|
3428
3558
|
'order_domestic',
|
|
3429
3559
|
'order_mismatched_currencies',
|
|
3560
|
+
'order_missing',
|
|
3430
3561
|
]),
|
|
3431
3562
|
|
|
3432
3563
|
'io.flow.v0.enums.payment_request_review_status': (): io.flow.v0.enums.PaymentRequestReviewStatus => faker.helpers.arrayElement(['pending', 'approved', 'rejected']),
|
|
@@ -10534,6 +10665,15 @@ const factories = {
|
|
|
10534
10665
|
processor: factories.string(),
|
|
10535
10666
|
}),
|
|
10536
10667
|
|
|
10668
|
+
'io.flow.v0.models.payment_processor_transaction_details_apm': (): io.flow.v0.models.PaymentProcessorTransactionDetailsApm => ({
|
|
10669
|
+
discriminator: 'apm',
|
|
10670
|
+
transaction_identifier: factories.string(),
|
|
10671
|
+
capture_identifier: factories.string(),
|
|
10672
|
+
method_type: factories.string(),
|
|
10673
|
+
result_status: factories.string(),
|
|
10674
|
+
reason_code: factories.string(),
|
|
10675
|
+
}),
|
|
10676
|
+
|
|
10537
10677
|
'io.flow.v0.models.payment_processor_transaction_details_card': (): io.flow.v0.models.PaymentProcessorTransactionDetailsCard => ({
|
|
10538
10678
|
discriminator: 'card',
|
|
10539
10679
|
transaction_identifier: factories.string(),
|
|
@@ -10621,6 +10761,11 @@ const factories = {
|
|
|
10621
10761
|
billing: factories['io.flow.v0.models.payment_request_billing'](),
|
|
10622
10762
|
}),
|
|
10623
10763
|
|
|
10764
|
+
'io.flow.v0.models.payment_request_cancellation_reason_order_missing': (): io.flow.v0.models.PaymentRequestCancellationReasonOrderMissing => ({
|
|
10765
|
+
type: 'order_missing',
|
|
10766
|
+
description: factories.string(),
|
|
10767
|
+
}),
|
|
10768
|
+
|
|
10624
10769
|
'io.flow.v0.models.payment_request_deleted': (): io.flow.v0.models.PaymentRequestDeleted => ({
|
|
10625
10770
|
discriminator: 'payment_request_deleted',
|
|
10626
10771
|
event_id: factories.string(),
|
|
@@ -10761,6 +10906,7 @@ const factories = {
|
|
|
10761
10906
|
'io.flow.v0.models.paypal_authorization_details': (): io.flow.v0.models.PaypalAuthorizationDetails => ({
|
|
10762
10907
|
discriminator: 'paypal_authorization_details',
|
|
10763
10908
|
payment_id: factories.string(),
|
|
10909
|
+
internal_payment_id: factories.string(),
|
|
10764
10910
|
payment_method: factories.string(),
|
|
10765
10911
|
payment_state: factories.string(),
|
|
10766
10912
|
payer_id: factories.string(),
|
|
@@ -11757,6 +11903,11 @@ const factories = {
|
|
|
11757
11903
|
status: factories['io.flow.v0.enums.availability_status'](),
|
|
11758
11904
|
}),
|
|
11759
11905
|
|
|
11906
|
+
'io.flow.v0.models.rejection_put_form': (): io.flow.v0.models.RejectionPutForm => ({
|
|
11907
|
+
reason: factories['io.flow.v0.enums.merchant_rejected_reason'](),
|
|
11908
|
+
description: factories.string(),
|
|
11909
|
+
}),
|
|
11910
|
+
|
|
11760
11911
|
'io.flow.v0.models.remote_area_by_weight_service_fee': (): io.flow.v0.models.RemoteAreaByWeightServiceFee => ({
|
|
11761
11912
|
discriminator: 'remote_area_by_weight_service_fee',
|
|
11762
11913
|
amount: factories['io.flow.v0.models.money'](),
|
|
@@ -13684,7 +13835,7 @@ const factories = {
|
|
|
13684
13835
|
discriminator: 'channel',
|
|
13685
13836
|
method: factories.string(),
|
|
13686
13837
|
card: factories['io.flow.v0.models.transaction_metadata_channel_card_metadata'](),
|
|
13687
|
-
organization_transaction: factories['io.flow.v0.models.
|
|
13838
|
+
organization_transaction: factories['io.flow.v0.models.transaction_metadata_channel_organization_transaction'](),
|
|
13688
13839
|
}),
|
|
13689
13840
|
|
|
13690
13841
|
'io.flow.v0.models.transaction_metadata_channel_card_metadata': (): io.flow.v0.models.TransactionMetadataChannelCardMetadata => ({
|
|
@@ -13697,6 +13848,11 @@ const factories = {
|
|
|
13697
13848
|
country: factories.string(),
|
|
13698
13849
|
}),
|
|
13699
13850
|
|
|
13851
|
+
'io.flow.v0.models.transaction_metadata_channel_organization_transaction': (): io.flow.v0.models.TransactionMetadataChannelOrganizationTransaction => ({
|
|
13852
|
+
id: factories.string(),
|
|
13853
|
+
metadata: factories['io.flow.v0.models.transaction_metadata_payment_transaction'](),
|
|
13854
|
+
}),
|
|
13855
|
+
|
|
13700
13856
|
'io.flow.v0.models.transaction_metadata_failed_payout': (): io.flow.v0.models.TransactionMetadataFailedPayout => ({
|
|
13701
13857
|
discriminator: 'failed_payout',
|
|
13702
13858
|
failed_payout: factories['io.flow.v0.models.transaction_metadata_failed_payout_reference'](),
|
|
@@ -14999,6 +15155,15 @@ const factories = {
|
|
|
14999
15155
|
'io.flow.v0.unions.payment_processor_transaction_details': (): io.flow.v0.unions.PaymentProcessorTransactionDetails => {
|
|
15000
15156
|
const f = faker.helpers.arrayElement([
|
|
15001
15157
|
() => factories['io.flow.v0.models.payment_processor_transaction_details_card'](),
|
|
15158
|
+
() => factories['io.flow.v0.models.payment_processor_transaction_details_apm'](),
|
|
15159
|
+
]);
|
|
15160
|
+
|
|
15161
|
+
return f();
|
|
15162
|
+
},
|
|
15163
|
+
|
|
15164
|
+
'io.flow.v0.unions.payment_request_cancellation_reason': (): io.flow.v0.unions.PaymentRequestCancellationReason => {
|
|
15165
|
+
const f = faker.helpers.arrayElement([
|
|
15166
|
+
() => factories['io.flow.v0.models.payment_request_cancellation_reason_order_missing'](),
|
|
15002
15167
|
]);
|
|
15003
15168
|
|
|
15004
15169
|
return f();
|
|
@@ -16476,6 +16641,7 @@ export const makePaymentProcessorAccountReference = () => factories['io.flow.v0.
|
|
|
16476
16641
|
export const makePaymentProcessorIdentifier = () => factories['io.flow.v0.models.payment_processor_identifier']();
|
|
16477
16642
|
export const makePaymentProcessorReference = () => factories['io.flow.v0.models.payment_processor_reference']();
|
|
16478
16643
|
export const makePaymentProcessorTransactionDetails = () => factories['io.flow.v0.unions.payment_processor_transaction_details']();
|
|
16644
|
+
export const makePaymentProcessorTransactionDetailsApm = () => factories['io.flow.v0.models.payment_processor_transaction_details_apm']();
|
|
16479
16645
|
export const makePaymentProcessorTransactionDetailsCard = () => factories['io.flow.v0.models.payment_processor_transaction_details_card']();
|
|
16480
16646
|
export const makePaymentReference = () => factories['io.flow.v0.models.payment_reference']();
|
|
16481
16647
|
export const makePaymentRefund = () => factories['io.flow.v0.models.payment_refund']();
|
|
@@ -16487,6 +16653,8 @@ export const makePaymentRequestBillingCurrencyRate = () => factories['io.flow.v0
|
|
|
16487
16653
|
export const makePaymentRequestBillingFees = () => factories['io.flow.v0.models.payment_request_billing_fees']();
|
|
16488
16654
|
export const makePaymentRequestBundle = () => factories['io.flow.v0.models.payment_request_bundle']();
|
|
16489
16655
|
export const makePaymentRequestBundleForm = () => factories['io.flow.v0.models.payment_request_bundle_form']();
|
|
16656
|
+
export const makePaymentRequestCancellationReason = () => factories['io.flow.v0.unions.payment_request_cancellation_reason']();
|
|
16657
|
+
export const makePaymentRequestCancellationReasonOrderMissing = () => factories['io.flow.v0.models.payment_request_cancellation_reason_order_missing']();
|
|
16490
16658
|
export const makePaymentRequestDeleted = () => factories['io.flow.v0.models.payment_request_deleted']();
|
|
16491
16659
|
export const makePaymentRequestForm = () => factories['io.flow.v0.models.payment_request_form']();
|
|
16492
16660
|
export const makePaymentRequestReference = () => factories['io.flow.v0.models.payment_request_reference']();
|
|
@@ -16672,6 +16840,7 @@ export const makeRegionReference = () => factories['io.flow.v0.models.region_ref
|
|
|
16672
16840
|
export const makeRegionSetting = () => factories['io.flow.v0.models.region_setting']();
|
|
16673
16841
|
export const makeRegionSettingForm = () => factories['io.flow.v0.models.region_setting_form']();
|
|
16674
16842
|
export const makeRegionType = () => factories['io.flow.v0.enums.region_type']();
|
|
16843
|
+
export const makeRejectionPutForm = () => factories['io.flow.v0.models.rejection_put_form']();
|
|
16675
16844
|
export const makeRemoteAreaByWeightServiceFee = () => factories['io.flow.v0.models.remote_area_by_weight_service_fee']();
|
|
16676
16845
|
export const makeRemoteAreaRatecardFee = () => factories['io.flow.v0.models.remote_area_ratecard_fee']();
|
|
16677
16846
|
export const makeRemoteAreaServiceFee = () => factories['io.flow.v0.models.remote_area_service_fee']();
|
|
@@ -16999,6 +17168,7 @@ export const makeTransactionMetadataCarrierCharge = () => factories['io.flow.v0.
|
|
|
16999
17168
|
export const makeTransactionMetadataChannel = () => factories['io.flow.v0.models.transaction_metadata_channel']();
|
|
17000
17169
|
export const makeTransactionMetadataChannelCardMetadata = () => factories['io.flow.v0.models.transaction_metadata_channel_card_metadata']();
|
|
17001
17170
|
export const makeTransactionMetadataChannelCardMetadataIssuerSummary = () => factories['io.flow.v0.models.transaction_metadata_channel_card_metadata_issuer_summary']();
|
|
17171
|
+
export const makeTransactionMetadataChannelOrganizationTransaction = () => factories['io.flow.v0.models.transaction_metadata_channel_organization_transaction']();
|
|
17002
17172
|
export const makeTransactionMetadataFailedPayout = () => factories['io.flow.v0.models.transaction_metadata_failed_payout']();
|
|
17003
17173
|
export const makeTransactionMetadataFailedPayoutReference = () => factories['io.flow.v0.models.transaction_metadata_failed_payout_reference']();
|
|
17004
17174
|
export const makeTransactionMetadataManual = () => factories['io.flow.v0.models.transaction_metadata_manual']();
|