@flowio/api-factories 0.0.83 → 0.0.85
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 +75 -21
- package/dist/esm/api.js +69 -17
- package/dist/types/api.d.ts +4 -2
- package/package.json +2 -2
- package/src/api.ts +75 -18
package/dist/cjs/api.js
CHANGED
|
@@ -36,8 +36,8 @@ exports.makeShopifyCartConversionFlowOrder = exports.makeShopifyCartConversion =
|
|
|
36
36
|
exports.makeStoredMethodUsageStep = exports.makeStatementUpserted = exports.makeStatementDeleted = exports.makeStatementAttachmentType = exports.makeStatement = exports.makeSortDirection = exports.makeSolidusVariantExportType = exports.makeSolidusProductExportType = exports.makeSnapshotUpserted = exports.makeSnapshotDeleted = exports.makeSinglePackageShippingNotificationForm = exports.makeSimplePermissionCheck = exports.makeShopifyVariantInventoryMetafield = exports.makeShopifyVariantFlowMetafield = exports.makeShopifySyncStatus = exports.makeShopifySyncCheck = exports.makeShopifyPrivateAppForm = exports.makeShopifyPrivateApp = exports.makeShopifyPrice = exports.makeShopifyOrderRomanizationMetafield = exports.makeShopifyOrderPriceAttributesMetafield = exports.makeShopifyOrderDeliveryMetafieldItem = exports.makeShopifyOrderDeliveryMetafield = exports.makeShopifyOrderAttributesForm = exports.makeShopifyMerchantApplicationsSummary = exports.makeShopifyMerchantApplicationPutForm = exports.makeShopifyMerchantApplicationForm = exports.makeShopifyMerchantApplication = exports.makeShopifyLocationReference = exports.makeShopifyLocationFlowCenterMappingForm = exports.makeShopifyLocationFlowCenterMapping = exports.makeShopifyLocalizedVariantPrices = exports.makeShopifyLocalizedVariant = exports.makeShopifyLocalizedOrder = exports.makeShopifyLocalizationSettingUpserted = exports.makeShopifyLocalizationSettingForm = exports.makeShopifyLocalizationSettingDeleted = exports.makeShopifyLocalizationSetting = exports.makeShopifyLocalizationMethod = exports.makeShopifyLocalPriceMetadata = exports.makeShopifyLocalCartMetadata = exports.makeShopifyLocalCartItemMetadata = exports.makeShopifyLine = exports.makeShopifyItemEventData = exports.makeShopifyItemEventBucket = exports.makeShopifyGrant = exports.makeShopifyEventBucket = exports.makeShopifyCustomerMetafieldValue = exports.makeShopifyCartItem = exports.makeShopifyCartConversionShopifyCart = void 0;
|
|
37
37
|
exports.makeTaxDutyQuoteLineItemForm = exports.makeTaxDutyQuoteLineItem = exports.makeTaxDutyQuoteLevyValue = exports.makeTaxDutyQuoteForm = exports.makeTaxDutyQuoteFeeValue = exports.makeTaxDutyQuote = exports.makeTaxDutyCalculatorValidationErrorCode = exports.makeTaxDutyCalculatorValidationError = exports.makeTaxApplicability = exports.makeTax = exports.makeSyncUnitOfTime = exports.makeSyncStreamType = exports.makeSyncStreamSettingsForm = exports.makeSyncStreamSettings = exports.makeSyncStreamReference = exports.makeSyncStreamForm = exports.makeSyncStream = exports.makeSyncRecordForm = exports.makeSyncRecordFailureReason = exports.makeSyncRecordFailureForm = exports.makeSyncRecordFailure = exports.makeSyncRecord = exports.makeSyncPendingRecord = exports.makeSyncDuration = exports.makeSurchargeSettingDisplay = exports.makeSurchargeSetting = exports.makeSurchargeResponsiblePartyDisplay = exports.makeSurchargeResponsibleParty = exports.makeSummaryShippingNotificationForm = exports.makeSummaryShippingLabelForm = exports.makeSuggestion = exports.makeSubcatalogVersion = exports.makeSubcatalogUpserted = exports.makeSubcatalogStatistics = exports.makeSubcatalogSettingsForm = exports.makeSubcatalogSettings = exports.makeSubcatalogReference = exports.makeSubcatalogItemVersion = exports.makeSubcatalogItemUpserted = exports.makeSubcatalogItemStatus = exports.makeSubcatalogItemDeleted = exports.makeSubcatalogItem = exports.makeSubcatalogForm = exports.makeSubcatalogDeleted = exports.makeSubcatalog = exports.makeStripeAuthorizationResultActionDetails = exports.makeStripeAuthenticationDataForm = exports.makeStripeAuthenticationData = exports.makeStreetAddress = exports.makeStrategy = void 0;
|
|
38
38
|
exports.makeTokenValidation = exports.makeTokenType = exports.makeTokenReference = exports.makeTokenRbacAuthenticationForm = exports.makeTokenPartnerReference = exports.makeTokenAuthenticationForm = exports.makeToken = exports.makeTimezone = exports.makeTierVersion = exports.makeTierUpsertedV2 = exports.makeTierSummary = exports.makeTierStrategy = exports.makeTierSettings = exports.makeTierRuleVersion = exports.makeTierRuleOutcomeForm = exports.makeTierRuleOutcome = exports.makeTierRuleForm = exports.makeTierRule = exports.makeTierReference = exports.makeTierForm = exports.makeTierEstimateType = exports.makeTierEstimate = exports.makeTierDisplayForm = exports.makeTierDisplay = exports.makeTierDeletedV2 = exports.makeTierAvailability = exports.makeTier = exports.makeThreedsTwoMethod = exports.makeThreedsTwoChallengeViewport = exports.makeThreedsTwoChallengeRequest = exports.makeThreedsIdentifyActionDetails = exports.makeThreedsIdentifyAction = exports.makeThreedsChallengeActionDetails = exports.makeThreedsChallengeAction = exports.makeThreeDSecureCode = exports.makeThreeDSecure = exports.makeThirdPartyLogisticsPartner = exports.makeTestUpserted = exports.makeTaxabilityValue = exports.makeTaxabilityType = exports.makeTaxVerificationResult = exports.makeTaxSetting = exports.makeTaxReportType = exports.makeTaxReport = exports.makeTaxRegistrationForm = exports.makeTaxRegistration = exports.makeTaxDutyQuoteValues = exports.makeTaxDutyQuoteSimpleShippingForm = exports.makeTaxDutyQuoteSimpleShipping = exports.makeTaxDutyQuoteSimpleLevyValue = void 0;
|
|
39
|
-
exports.
|
|
40
|
-
exports.makeZone = exports.makeZeroLevyReasonCode = exports.makeZeroAmountIndicator = exports.makeWithholdingDeductionType = exports.makeWithholdingDeduction = exports.makeWebhookStatus = exports.makeWebhookSettings = exports.makeWebhookResponse = exports.makeWebhookRequestReference = exports.makeWebhookRequest = exports.makeWebhookReference = exports.makeWebhookForm = exports.makeWebhookDelivery = exports.makeWebhook = exports.makeVisibility = exports.makeVirtualCardVersion = exports.makeVirtualCardRefundVersion = exports.makeVirtualCardRefundUpserted = exports.makeVirtualCardRefundDeleted = exports.makeVirtualCardRefund = exports.makeVirtualCardReference = exports.
|
|
39
|
+
exports.makeTrueupSurchargeType = exports.makeTrueupSource = exports.makeTrueupLabelUnits = exports.makeTrueupLabelSurcharge = exports.makeTrueupLabelBase = exports.makeTransitWindow = exports.makeTransitEstimate = exports.makeTransactionUpserted = exports.makeTransactionSource = exports.makeTransactionReference = exports.makeTransactionNetworkDetailsCard = exports.makeTransactionMetadataTrueupData = exports.makeTransactionMetadataTrueup = exports.makeTransactionMetadataShippingLabelCarrier = exports.makeTransactionMetadataShippingLabel = exports.makeTransactionMetadataPaymentTransaction = exports.makeTransactionMetadataOutboundTransaction = exports.makeTransactionMetadataOriginalTransaction = exports.makeTransactionMetadataManual = exports.makeTransactionMetadataChannelCardMetadataIssuerSummary = exports.makeTransactionMetadataChannelCardMetadata = exports.makeTransactionMetadataChannel = exports.makeTransactionMetadataCarrierFeeData = exports.makeTransactionMetadataCarrierFee = 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 = void 0;
|
|
40
|
+
exports.makeZone = exports.makeZeroLevyReasonCode = exports.makeZeroAmountIndicator = exports.makeWithholdingDeductionType = exports.makeWithholdingDeduction = exports.makeWebhookStatus = exports.makeWebhookSettings = exports.makeWebhookResponse = exports.makeWebhookRequestReference = exports.makeWebhookRequest = exports.makeWebhookReference = exports.makeWebhookForm = exports.makeWebhookDelivery = exports.makeWebhook = exports.makeVisibility = exports.makeVirtualCardVersion = exports.makeVirtualCardRefundVersion = exports.makeVirtualCardRefundUpserted = exports.makeVirtualCardRefundDeleted = exports.makeVirtualCardRefund = exports.makeVirtualCardReference = exports.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 = void 0;
|
|
41
41
|
var faker_1 = __importDefault(require("@faker-js/faker"));
|
|
42
42
|
var arrayOf = function (f) {
|
|
43
43
|
var length = 3;
|
|
@@ -342,6 +342,28 @@ var factories = {
|
|
|
342
342
|
'io.flow.shopify.external.v0.enums.shopify_customer_state': function () { return faker_1.default.helpers.arrayElement(['disabled', 'invited', 'enabled']); },
|
|
343
343
|
'io.flow.shopify.external.v0.enums.shopify_discount_pagination_direction': function () { return faker_1.default.helpers.arrayElement(['next', 'prev']); },
|
|
344
344
|
'io.flow.shopify.external.v0.enums.shopify_gift_card_status': function () { return faker_1.default.helpers.arrayElement(['any', 'enabled', 'disabled']); },
|
|
345
|
+
'io.flow.shopify.external.v0.enums.shopify_plan_name': function () { return faker_1.default.helpers.arrayElement([
|
|
346
|
+
'basic',
|
|
347
|
+
'business',
|
|
348
|
+
'cancelled',
|
|
349
|
+
'dormant',
|
|
350
|
+
'enterprise',
|
|
351
|
+
'fraudulent',
|
|
352
|
+
'frozen',
|
|
353
|
+
'npo_full',
|
|
354
|
+
'npo_lite',
|
|
355
|
+
'open_learning',
|
|
356
|
+
'paid_trial',
|
|
357
|
+
'professional',
|
|
358
|
+
'retail',
|
|
359
|
+
'shopify_alumni',
|
|
360
|
+
'shopify_plus',
|
|
361
|
+
'staff',
|
|
362
|
+
'staff_business',
|
|
363
|
+
'starter',
|
|
364
|
+
'starter_2022',
|
|
365
|
+
'unlimited',
|
|
366
|
+
]); },
|
|
345
367
|
'io.flow.shopify.external.v0.enums.shopify_processing_method_type': function () { return faker_1.default.helpers.arrayElement(['checkout', 'direct', 'manual', 'offsite', 'express']); },
|
|
346
368
|
'io.flow.shopify.external.v0.enums.shopify_transaction_error_code': function () { return faker_1.default.helpers.arrayElement([
|
|
347
369
|
'incorrect_number',
|
|
@@ -1080,6 +1102,11 @@ var factories = {
|
|
|
1080
1102
|
tax_lines: arrayOf(function () { return factories['io.flow.shopify.external.v0.models.shopify_tax_line'](); }),
|
|
1081
1103
|
carrier_identifier: factories.string(),
|
|
1082
1104
|
}); },
|
|
1105
|
+
'io.flow.shopify.external.v0.models.shopify_shop_update': function () { return ({
|
|
1106
|
+
id: factories.long(),
|
|
1107
|
+
plan_display_name: factories.string(),
|
|
1108
|
+
plan_name: factories['io.flow.shopify.external.v0.enums.shopify_plan_name'](),
|
|
1109
|
+
}); },
|
|
1083
1110
|
'io.flow.shopify.external.v0.models.shopify_tax_line': function () { return ({
|
|
1084
1111
|
price: factories.string(),
|
|
1085
1112
|
rate: factories.double(),
|
|
@@ -3272,6 +3299,7 @@ var factories = {
|
|
|
3272
3299
|
'trueup',
|
|
3273
3300
|
'carrier_charge',
|
|
3274
3301
|
'carrier_charge_revenue_share',
|
|
3302
|
+
'carrier_fee',
|
|
3275
3303
|
'platform_fee',
|
|
3276
3304
|
'tax',
|
|
3277
3305
|
'duty',
|
|
@@ -5376,6 +5404,7 @@ var factories = {
|
|
|
5376
5404
|
}); },
|
|
5377
5405
|
'io.flow.v0.models.deactivation_put_form': function () { return ({
|
|
5378
5406
|
reason: factories.string(),
|
|
5407
|
+
deactivate_at: factories.date_time_iso_8601(),
|
|
5379
5408
|
}); },
|
|
5380
5409
|
'io.flow.v0.models.dead_weight': function () { return ({
|
|
5381
5410
|
weight: factories.decimal(),
|
|
@@ -7593,6 +7622,7 @@ var factories = {
|
|
|
7593
7622
|
'io.flow.v0.models.merchant_deactivated': function () { return ({
|
|
7594
7623
|
discriminator: 'merchant_deactivated',
|
|
7595
7624
|
reason: factories.string(),
|
|
7625
|
+
deactivate_at: factories.date_time_iso_8601(),
|
|
7596
7626
|
}); },
|
|
7597
7627
|
'io.flow.v0.models.merchant_disabled': function () { return ({
|
|
7598
7628
|
discriminator: 'merchant_disabled',
|
|
@@ -8755,6 +8785,7 @@ var factories = {
|
|
|
8755
8785
|
currency: factories.string(),
|
|
8756
8786
|
base_amount: factories.decimal(),
|
|
8757
8787
|
base_currency: factories.string(),
|
|
8788
|
+
reference: factories.string(),
|
|
8758
8789
|
}); },
|
|
8759
8790
|
'io.flow.v0.models.payment_authorization_status': function () { return ({
|
|
8760
8791
|
status: factories['io.flow.v0.enums.authorization_status'](),
|
|
@@ -8766,6 +8797,7 @@ var factories = {
|
|
|
8766
8797
|
currency: factories.string(),
|
|
8767
8798
|
base_amount: factories.decimal(),
|
|
8768
8799
|
base_currency: factories.string(),
|
|
8800
|
+
reference: factories.string(),
|
|
8769
8801
|
created_at: factories.date_time_iso_8601(),
|
|
8770
8802
|
updated_at: factories.date_time_iso_8601(),
|
|
8771
8803
|
status: factories['io.flow.v0.models.payment_capture_status'](),
|
|
@@ -8773,6 +8805,7 @@ var factories = {
|
|
|
8773
8805
|
'io.flow.v0.models.payment_capture_form': function () { return ({
|
|
8774
8806
|
amount: factories.decimal(),
|
|
8775
8807
|
currency: factories.string(),
|
|
8808
|
+
reference: factories.string(),
|
|
8776
8809
|
attributes: objectOf(function () { return factories.string(); }),
|
|
8777
8810
|
}); },
|
|
8778
8811
|
'io.flow.v0.models.payment_capture_option_automatic_immediate': function () { return ({
|
|
@@ -8898,6 +8931,7 @@ var factories = {
|
|
|
8898
8931
|
device_fingerprint_details: factories['io.flow.v0.unions.device_fingerprint_details'](),
|
|
8899
8932
|
cvv: factories.string(),
|
|
8900
8933
|
stored_details_card: factories['io.flow.v0.unions.payment_method_stored_details_card'](),
|
|
8934
|
+
reference: factories.string(),
|
|
8901
8935
|
}); },
|
|
8902
8936
|
'io.flow.v0.models.payment_method_data_authorize_googlepay': function () { return ({
|
|
8903
8937
|
type: 'authorize_googlepay',
|
|
@@ -8926,35 +8960,36 @@ var factories = {
|
|
|
8926
8960
|
}); },
|
|
8927
8961
|
'io.flow.v0.models.payment_method_data_init_afterpay': function () { return ({
|
|
8928
8962
|
type: 'init_afterpay',
|
|
8929
|
-
|
|
8963
|
+
reference: factories.string(),
|
|
8930
8964
|
}); },
|
|
8931
8965
|
'io.flow.v0.models.payment_method_data_init_applepay': function () { return ({
|
|
8932
8966
|
type: 'init_applepay',
|
|
8933
|
-
|
|
8967
|
+
reference: factories.string(),
|
|
8934
8968
|
}); },
|
|
8935
8969
|
'io.flow.v0.models.payment_method_data_init_bancontact': function () { return ({
|
|
8936
8970
|
type: 'init_bancontact',
|
|
8937
|
-
|
|
8971
|
+
reference: factories.string(),
|
|
8938
8972
|
}); },
|
|
8939
8973
|
'io.flow.v0.models.payment_method_data_init_googlepay': function () { return ({
|
|
8940
8974
|
type: 'init_googlepay',
|
|
8941
|
-
|
|
8975
|
+
reference: factories.string(),
|
|
8942
8976
|
}); },
|
|
8943
8977
|
'io.flow.v0.models.payment_method_data_init_ideal': function () { return ({
|
|
8944
8978
|
type: 'init_ideal',
|
|
8945
8979
|
issuer: factories.string(),
|
|
8980
|
+
reference: factories.string(),
|
|
8946
8981
|
}); },
|
|
8947
8982
|
'io.flow.v0.models.payment_method_data_init_klarna': function () { return ({
|
|
8948
8983
|
type: 'init_klarna',
|
|
8949
|
-
|
|
8984
|
+
reference: factories.string(),
|
|
8950
8985
|
}); },
|
|
8951
8986
|
'io.flow.v0.models.payment_method_data_init_paypal': function () { return ({
|
|
8952
8987
|
type: 'init_paypal',
|
|
8953
|
-
|
|
8988
|
+
reference: factories.string(),
|
|
8954
8989
|
}); },
|
|
8955
8990
|
'io.flow.v0.models.payment_method_data_init_sofort': function () { return ({
|
|
8956
8991
|
type: 'init_sofort',
|
|
8957
|
-
|
|
8992
|
+
reference: factories.string(),
|
|
8958
8993
|
}); },
|
|
8959
8994
|
'io.flow.v0.models.payment_method_data_option_logo_svg': function () { return ({
|
|
8960
8995
|
type: 'svg',
|
|
@@ -9130,6 +9165,7 @@ var factories = {
|
|
|
9130
9165
|
currency: factories.string(),
|
|
9131
9166
|
base_amount: factories.decimal(),
|
|
9132
9167
|
base_currency: factories.string(),
|
|
9168
|
+
reference: factories.string(),
|
|
9133
9169
|
created_at: factories.date_time_iso_8601(),
|
|
9134
9170
|
updated_at: factories.date_time_iso_8601(),
|
|
9135
9171
|
status: factories['io.flow.v0.models.payment_refund_status'](),
|
|
@@ -9137,6 +9173,7 @@ var factories = {
|
|
|
9137
9173
|
'io.flow.v0.models.payment_refund_form': function () { return ({
|
|
9138
9174
|
amount: factories.decimal(),
|
|
9139
9175
|
currency: factories.string(),
|
|
9176
|
+
reference: factories.string(),
|
|
9140
9177
|
}); },
|
|
9141
9178
|
'io.flow.v0.models.payment_refund_status': function () { return ({
|
|
9142
9179
|
status: factories['io.flow.v0.enums.refund_status'](),
|
|
@@ -9230,6 +9267,7 @@ var factories = {
|
|
|
9230
9267
|
currency: factories.string(),
|
|
9231
9268
|
base_amount: factories.decimal(),
|
|
9232
9269
|
base_currency: factories.string(),
|
|
9270
|
+
reference: factories.string(),
|
|
9233
9271
|
created_at: factories.date_time_iso_8601(),
|
|
9234
9272
|
updated_at: factories.date_time_iso_8601(),
|
|
9235
9273
|
status: factories['io.flow.v0.models.payment_reversal_status'](),
|
|
@@ -9237,6 +9275,7 @@ var factories = {
|
|
|
9237
9275
|
'io.flow.v0.models.payment_reversal_form': function () { return ({
|
|
9238
9276
|
amount: factories.decimal(),
|
|
9239
9277
|
currency: factories.string(),
|
|
9278
|
+
reference: factories.string(),
|
|
9240
9279
|
}); },
|
|
9241
9280
|
'io.flow.v0.models.payment_reversal_status': function () { return ({
|
|
9242
9281
|
status: factories['io.flow.v0.enums.reversal_status'](),
|
|
@@ -9623,7 +9662,7 @@ var factories = {
|
|
|
9623
9662
|
event_id: factories.string(),
|
|
9624
9663
|
timestamp: factories.date_time_iso_8601(),
|
|
9625
9664
|
organization: factories.string(),
|
|
9626
|
-
|
|
9665
|
+
id: factories.string(),
|
|
9627
9666
|
}); },
|
|
9628
9667
|
'io.flow.v0.models.product_restriction_result_upserted': function () { return ({
|
|
9629
9668
|
discriminator: 'product_restriction_result_upserted',
|
|
@@ -11826,10 +11865,16 @@ var factories = {
|
|
|
11826
11865
|
carrier_id: factories.string(),
|
|
11827
11866
|
carrier_tracking_number: factories.string(),
|
|
11828
11867
|
revenue_share_percentage: factories.decimal(),
|
|
11829
|
-
outbound: factories['io.flow.v0.models.
|
|
11868
|
+
outbound: factories['io.flow.v0.models.transaction_metadata_outbound_transaction'](),
|
|
11830
11869
|
}); },
|
|
11831
|
-
'io.flow.v0.models.
|
|
11832
|
-
|
|
11870
|
+
'io.flow.v0.models.transaction_metadata_carrier_fee': function () { return ({
|
|
11871
|
+
discriminator: 'carrier_fee',
|
|
11872
|
+
outbound: factories['io.flow.v0.models.transaction_metadata_outbound_transaction'](),
|
|
11873
|
+
estimate: factories['io.flow.v0.models.transaction_metadata_carrier_fee_data'](),
|
|
11874
|
+
actual: factories['io.flow.v0.models.transaction_metadata_carrier_fee_data'](),
|
|
11875
|
+
}); },
|
|
11876
|
+
'io.flow.v0.models.transaction_metadata_carrier_fee_data': function () { return ({
|
|
11877
|
+
surcharges: arrayOf(function () { return factories['io.flow.v0.models.trueup_label_surcharge'](); }),
|
|
11833
11878
|
}); },
|
|
11834
11879
|
'io.flow.v0.models.transaction_metadata_channel': function () { return ({
|
|
11835
11880
|
discriminator: 'channel',
|
|
@@ -11853,6 +11898,13 @@ var factories = {
|
|
|
11853
11898
|
'io.flow.v0.models.transaction_metadata_original_transaction': function () { return ({
|
|
11854
11899
|
id: factories.string(),
|
|
11855
11900
|
}); },
|
|
11901
|
+
'io.flow.v0.models.transaction_metadata_outbound_transaction': function () { return ({
|
|
11902
|
+
transaction_id: factories.string(),
|
|
11903
|
+
}); },
|
|
11904
|
+
'io.flow.v0.models.transaction_metadata_payment_transaction': function () { return ({
|
|
11905
|
+
discriminator: 'payment_transaction',
|
|
11906
|
+
key: factories.string(),
|
|
11907
|
+
}); },
|
|
11856
11908
|
'io.flow.v0.models.transaction_metadata_shipping_label': function () { return ({
|
|
11857
11909
|
discriminator: 'shipping_label',
|
|
11858
11910
|
request_method: factories['io.flow.v0.enums.label_request_method'](),
|
|
@@ -12006,10 +12058,6 @@ var factories = {
|
|
|
12006
12058
|
type: factories['io.flow.v0.enums.change_type'](),
|
|
12007
12059
|
virtual_card_capture: factories['io.flow.v0.models.virtual_card_capture'](),
|
|
12008
12060
|
}); },
|
|
12009
|
-
'io.flow.v0.models.virtual_card_form': function () { return ({
|
|
12010
|
-
limit: factories['io.flow.v0.models.money'](),
|
|
12011
|
-
attributes: objectOf(function () { return factories.string(); }),
|
|
12012
|
-
}); },
|
|
12013
12061
|
'io.flow.v0.models.virtual_card_reference': function () { return ({
|
|
12014
12062
|
id: factories.string(),
|
|
12015
12063
|
}); },
|
|
@@ -13132,7 +13180,9 @@ var factories = {
|
|
|
13132
13180
|
function () { return factories['io.flow.v0.models.transaction_metadata_channel'](); },
|
|
13133
13181
|
function () { return factories['io.flow.v0.models.transaction_metadata_trueup'](); },
|
|
13134
13182
|
function () { return factories['io.flow.v0.models.transaction_metadata_carrier_charge'](); },
|
|
13183
|
+
function () { return factories['io.flow.v0.models.transaction_metadata_carrier_fee'](); },
|
|
13135
13184
|
function () { return factories['io.flow.v0.models.transaction_metadata_manual'](); },
|
|
13185
|
+
function () { return factories['io.flow.v0.models.transaction_metadata_payment_transaction'](); },
|
|
13136
13186
|
]);
|
|
13137
13187
|
return f();
|
|
13138
13188
|
},
|
|
@@ -16489,8 +16539,10 @@ var makeTransactionMetadata = function () { return factories['io.flow.v0.unions.
|
|
|
16489
16539
|
exports.makeTransactionMetadata = makeTransactionMetadata;
|
|
16490
16540
|
var makeTransactionMetadataCarrierCharge = function () { return factories['io.flow.v0.models.transaction_metadata_carrier_charge'](); };
|
|
16491
16541
|
exports.makeTransactionMetadataCarrierCharge = makeTransactionMetadataCarrierCharge;
|
|
16492
|
-
var
|
|
16493
|
-
exports.
|
|
16542
|
+
var makeTransactionMetadataCarrierFee = function () { return factories['io.flow.v0.models.transaction_metadata_carrier_fee'](); };
|
|
16543
|
+
exports.makeTransactionMetadataCarrierFee = makeTransactionMetadataCarrierFee;
|
|
16544
|
+
var makeTransactionMetadataCarrierFeeData = function () { return factories['io.flow.v0.models.transaction_metadata_carrier_fee_data'](); };
|
|
16545
|
+
exports.makeTransactionMetadataCarrierFeeData = makeTransactionMetadataCarrierFeeData;
|
|
16494
16546
|
var makeTransactionMetadataChannel = function () { return factories['io.flow.v0.models.transaction_metadata_channel'](); };
|
|
16495
16547
|
exports.makeTransactionMetadataChannel = makeTransactionMetadataChannel;
|
|
16496
16548
|
var makeTransactionMetadataChannelCardMetadata = function () { return factories['io.flow.v0.models.transaction_metadata_channel_card_metadata'](); };
|
|
@@ -16501,6 +16553,10 @@ var makeTransactionMetadataManual = function () { return factories['io.flow.v0.m
|
|
|
16501
16553
|
exports.makeTransactionMetadataManual = makeTransactionMetadataManual;
|
|
16502
16554
|
var makeTransactionMetadataOriginalTransaction = function () { return factories['io.flow.v0.models.transaction_metadata_original_transaction'](); };
|
|
16503
16555
|
exports.makeTransactionMetadataOriginalTransaction = makeTransactionMetadataOriginalTransaction;
|
|
16556
|
+
var makeTransactionMetadataOutboundTransaction = function () { return factories['io.flow.v0.models.transaction_metadata_outbound_transaction'](); };
|
|
16557
|
+
exports.makeTransactionMetadataOutboundTransaction = makeTransactionMetadataOutboundTransaction;
|
|
16558
|
+
var makeTransactionMetadataPaymentTransaction = function () { return factories['io.flow.v0.models.transaction_metadata_payment_transaction'](); };
|
|
16559
|
+
exports.makeTransactionMetadataPaymentTransaction = makeTransactionMetadataPaymentTransaction;
|
|
16504
16560
|
var makeTransactionMetadataShippingLabel = function () { return factories['io.flow.v0.models.transaction_metadata_shipping_label'](); };
|
|
16505
16561
|
exports.makeTransactionMetadataShippingLabel = makeTransactionMetadataShippingLabel;
|
|
16506
16562
|
var makeTransactionMetadataShippingLabelCarrier = function () { return factories['io.flow.v0.models.transaction_metadata_shipping_label_carrier'](); };
|
|
@@ -16577,8 +16633,6 @@ var makeVirtualCardCaptureUpserted = function () { return factories['io.flow.v0.
|
|
|
16577
16633
|
exports.makeVirtualCardCaptureUpserted = makeVirtualCardCaptureUpserted;
|
|
16578
16634
|
var makeVirtualCardCaptureVersion = function () { return factories['io.flow.v0.models.virtual_card_capture_version'](); };
|
|
16579
16635
|
exports.makeVirtualCardCaptureVersion = makeVirtualCardCaptureVersion;
|
|
16580
|
-
var makeVirtualCardForm = function () { return factories['io.flow.v0.models.virtual_card_form'](); };
|
|
16581
|
-
exports.makeVirtualCardForm = makeVirtualCardForm;
|
|
16582
16636
|
var makeVirtualCardReference = function () { return factories['io.flow.v0.models.virtual_card_reference'](); };
|
|
16583
16637
|
exports.makeVirtualCardReference = makeVirtualCardReference;
|
|
16584
16638
|
var makeVirtualCardRefund = function () { return factories['io.flow.v0.models.virtual_card_refund'](); };
|
package/dist/esm/api.js
CHANGED
|
@@ -302,6 +302,28 @@ var factories = {
|
|
|
302
302
|
'io.flow.shopify.external.v0.enums.shopify_customer_state': function () { return faker.helpers.arrayElement(['disabled', 'invited', 'enabled']); },
|
|
303
303
|
'io.flow.shopify.external.v0.enums.shopify_discount_pagination_direction': function () { return faker.helpers.arrayElement(['next', 'prev']); },
|
|
304
304
|
'io.flow.shopify.external.v0.enums.shopify_gift_card_status': function () { return faker.helpers.arrayElement(['any', 'enabled', 'disabled']); },
|
|
305
|
+
'io.flow.shopify.external.v0.enums.shopify_plan_name': function () { return faker.helpers.arrayElement([
|
|
306
|
+
'basic',
|
|
307
|
+
'business',
|
|
308
|
+
'cancelled',
|
|
309
|
+
'dormant',
|
|
310
|
+
'enterprise',
|
|
311
|
+
'fraudulent',
|
|
312
|
+
'frozen',
|
|
313
|
+
'npo_full',
|
|
314
|
+
'npo_lite',
|
|
315
|
+
'open_learning',
|
|
316
|
+
'paid_trial',
|
|
317
|
+
'professional',
|
|
318
|
+
'retail',
|
|
319
|
+
'shopify_alumni',
|
|
320
|
+
'shopify_plus',
|
|
321
|
+
'staff',
|
|
322
|
+
'staff_business',
|
|
323
|
+
'starter',
|
|
324
|
+
'starter_2022',
|
|
325
|
+
'unlimited',
|
|
326
|
+
]); },
|
|
305
327
|
'io.flow.shopify.external.v0.enums.shopify_processing_method_type': function () { return faker.helpers.arrayElement(['checkout', 'direct', 'manual', 'offsite', 'express']); },
|
|
306
328
|
'io.flow.shopify.external.v0.enums.shopify_transaction_error_code': function () { return faker.helpers.arrayElement([
|
|
307
329
|
'incorrect_number',
|
|
@@ -1040,6 +1062,11 @@ var factories = {
|
|
|
1040
1062
|
tax_lines: arrayOf(function () { return factories['io.flow.shopify.external.v0.models.shopify_tax_line'](); }),
|
|
1041
1063
|
carrier_identifier: factories.string(),
|
|
1042
1064
|
}); },
|
|
1065
|
+
'io.flow.shopify.external.v0.models.shopify_shop_update': function () { return ({
|
|
1066
|
+
id: factories.long(),
|
|
1067
|
+
plan_display_name: factories.string(),
|
|
1068
|
+
plan_name: factories['io.flow.shopify.external.v0.enums.shopify_plan_name'](),
|
|
1069
|
+
}); },
|
|
1043
1070
|
'io.flow.shopify.external.v0.models.shopify_tax_line': function () { return ({
|
|
1044
1071
|
price: factories.string(),
|
|
1045
1072
|
rate: factories.double(),
|
|
@@ -3232,6 +3259,7 @@ var factories = {
|
|
|
3232
3259
|
'trueup',
|
|
3233
3260
|
'carrier_charge',
|
|
3234
3261
|
'carrier_charge_revenue_share',
|
|
3262
|
+
'carrier_fee',
|
|
3235
3263
|
'platform_fee',
|
|
3236
3264
|
'tax',
|
|
3237
3265
|
'duty',
|
|
@@ -5336,6 +5364,7 @@ var factories = {
|
|
|
5336
5364
|
}); },
|
|
5337
5365
|
'io.flow.v0.models.deactivation_put_form': function () { return ({
|
|
5338
5366
|
reason: factories.string(),
|
|
5367
|
+
deactivate_at: factories.date_time_iso_8601(),
|
|
5339
5368
|
}); },
|
|
5340
5369
|
'io.flow.v0.models.dead_weight': function () { return ({
|
|
5341
5370
|
weight: factories.decimal(),
|
|
@@ -7553,6 +7582,7 @@ var factories = {
|
|
|
7553
7582
|
'io.flow.v0.models.merchant_deactivated': function () { return ({
|
|
7554
7583
|
discriminator: 'merchant_deactivated',
|
|
7555
7584
|
reason: factories.string(),
|
|
7585
|
+
deactivate_at: factories.date_time_iso_8601(),
|
|
7556
7586
|
}); },
|
|
7557
7587
|
'io.flow.v0.models.merchant_disabled': function () { return ({
|
|
7558
7588
|
discriminator: 'merchant_disabled',
|
|
@@ -8715,6 +8745,7 @@ var factories = {
|
|
|
8715
8745
|
currency: factories.string(),
|
|
8716
8746
|
base_amount: factories.decimal(),
|
|
8717
8747
|
base_currency: factories.string(),
|
|
8748
|
+
reference: factories.string(),
|
|
8718
8749
|
}); },
|
|
8719
8750
|
'io.flow.v0.models.payment_authorization_status': function () { return ({
|
|
8720
8751
|
status: factories['io.flow.v0.enums.authorization_status'](),
|
|
@@ -8726,6 +8757,7 @@ var factories = {
|
|
|
8726
8757
|
currency: factories.string(),
|
|
8727
8758
|
base_amount: factories.decimal(),
|
|
8728
8759
|
base_currency: factories.string(),
|
|
8760
|
+
reference: factories.string(),
|
|
8729
8761
|
created_at: factories.date_time_iso_8601(),
|
|
8730
8762
|
updated_at: factories.date_time_iso_8601(),
|
|
8731
8763
|
status: factories['io.flow.v0.models.payment_capture_status'](),
|
|
@@ -8733,6 +8765,7 @@ var factories = {
|
|
|
8733
8765
|
'io.flow.v0.models.payment_capture_form': function () { return ({
|
|
8734
8766
|
amount: factories.decimal(),
|
|
8735
8767
|
currency: factories.string(),
|
|
8768
|
+
reference: factories.string(),
|
|
8736
8769
|
attributes: objectOf(function () { return factories.string(); }),
|
|
8737
8770
|
}); },
|
|
8738
8771
|
'io.flow.v0.models.payment_capture_option_automatic_immediate': function () { return ({
|
|
@@ -8858,6 +8891,7 @@ var factories = {
|
|
|
8858
8891
|
device_fingerprint_details: factories['io.flow.v0.unions.device_fingerprint_details'](),
|
|
8859
8892
|
cvv: factories.string(),
|
|
8860
8893
|
stored_details_card: factories['io.flow.v0.unions.payment_method_stored_details_card'](),
|
|
8894
|
+
reference: factories.string(),
|
|
8861
8895
|
}); },
|
|
8862
8896
|
'io.flow.v0.models.payment_method_data_authorize_googlepay': function () { return ({
|
|
8863
8897
|
type: 'authorize_googlepay',
|
|
@@ -8886,35 +8920,36 @@ var factories = {
|
|
|
8886
8920
|
}); },
|
|
8887
8921
|
'io.flow.v0.models.payment_method_data_init_afterpay': function () { return ({
|
|
8888
8922
|
type: 'init_afterpay',
|
|
8889
|
-
|
|
8923
|
+
reference: factories.string(),
|
|
8890
8924
|
}); },
|
|
8891
8925
|
'io.flow.v0.models.payment_method_data_init_applepay': function () { return ({
|
|
8892
8926
|
type: 'init_applepay',
|
|
8893
|
-
|
|
8927
|
+
reference: factories.string(),
|
|
8894
8928
|
}); },
|
|
8895
8929
|
'io.flow.v0.models.payment_method_data_init_bancontact': function () { return ({
|
|
8896
8930
|
type: 'init_bancontact',
|
|
8897
|
-
|
|
8931
|
+
reference: factories.string(),
|
|
8898
8932
|
}); },
|
|
8899
8933
|
'io.flow.v0.models.payment_method_data_init_googlepay': function () { return ({
|
|
8900
8934
|
type: 'init_googlepay',
|
|
8901
|
-
|
|
8935
|
+
reference: factories.string(),
|
|
8902
8936
|
}); },
|
|
8903
8937
|
'io.flow.v0.models.payment_method_data_init_ideal': function () { return ({
|
|
8904
8938
|
type: 'init_ideal',
|
|
8905
8939
|
issuer: factories.string(),
|
|
8940
|
+
reference: factories.string(),
|
|
8906
8941
|
}); },
|
|
8907
8942
|
'io.flow.v0.models.payment_method_data_init_klarna': function () { return ({
|
|
8908
8943
|
type: 'init_klarna',
|
|
8909
|
-
|
|
8944
|
+
reference: factories.string(),
|
|
8910
8945
|
}); },
|
|
8911
8946
|
'io.flow.v0.models.payment_method_data_init_paypal': function () { return ({
|
|
8912
8947
|
type: 'init_paypal',
|
|
8913
|
-
|
|
8948
|
+
reference: factories.string(),
|
|
8914
8949
|
}); },
|
|
8915
8950
|
'io.flow.v0.models.payment_method_data_init_sofort': function () { return ({
|
|
8916
8951
|
type: 'init_sofort',
|
|
8917
|
-
|
|
8952
|
+
reference: factories.string(),
|
|
8918
8953
|
}); },
|
|
8919
8954
|
'io.flow.v0.models.payment_method_data_option_logo_svg': function () { return ({
|
|
8920
8955
|
type: 'svg',
|
|
@@ -9090,6 +9125,7 @@ var factories = {
|
|
|
9090
9125
|
currency: factories.string(),
|
|
9091
9126
|
base_amount: factories.decimal(),
|
|
9092
9127
|
base_currency: factories.string(),
|
|
9128
|
+
reference: factories.string(),
|
|
9093
9129
|
created_at: factories.date_time_iso_8601(),
|
|
9094
9130
|
updated_at: factories.date_time_iso_8601(),
|
|
9095
9131
|
status: factories['io.flow.v0.models.payment_refund_status'](),
|
|
@@ -9097,6 +9133,7 @@ var factories = {
|
|
|
9097
9133
|
'io.flow.v0.models.payment_refund_form': function () { return ({
|
|
9098
9134
|
amount: factories.decimal(),
|
|
9099
9135
|
currency: factories.string(),
|
|
9136
|
+
reference: factories.string(),
|
|
9100
9137
|
}); },
|
|
9101
9138
|
'io.flow.v0.models.payment_refund_status': function () { return ({
|
|
9102
9139
|
status: factories['io.flow.v0.enums.refund_status'](),
|
|
@@ -9190,6 +9227,7 @@ var factories = {
|
|
|
9190
9227
|
currency: factories.string(),
|
|
9191
9228
|
base_amount: factories.decimal(),
|
|
9192
9229
|
base_currency: factories.string(),
|
|
9230
|
+
reference: factories.string(),
|
|
9193
9231
|
created_at: factories.date_time_iso_8601(),
|
|
9194
9232
|
updated_at: factories.date_time_iso_8601(),
|
|
9195
9233
|
status: factories['io.flow.v0.models.payment_reversal_status'](),
|
|
@@ -9197,6 +9235,7 @@ var factories = {
|
|
|
9197
9235
|
'io.flow.v0.models.payment_reversal_form': function () { return ({
|
|
9198
9236
|
amount: factories.decimal(),
|
|
9199
9237
|
currency: factories.string(),
|
|
9238
|
+
reference: factories.string(),
|
|
9200
9239
|
}); },
|
|
9201
9240
|
'io.flow.v0.models.payment_reversal_status': function () { return ({
|
|
9202
9241
|
status: factories['io.flow.v0.enums.reversal_status'](),
|
|
@@ -9583,7 +9622,7 @@ var factories = {
|
|
|
9583
9622
|
event_id: factories.string(),
|
|
9584
9623
|
timestamp: factories.date_time_iso_8601(),
|
|
9585
9624
|
organization: factories.string(),
|
|
9586
|
-
|
|
9625
|
+
id: factories.string(),
|
|
9587
9626
|
}); },
|
|
9588
9627
|
'io.flow.v0.models.product_restriction_result_upserted': function () { return ({
|
|
9589
9628
|
discriminator: 'product_restriction_result_upserted',
|
|
@@ -11786,10 +11825,16 @@ var factories = {
|
|
|
11786
11825
|
carrier_id: factories.string(),
|
|
11787
11826
|
carrier_tracking_number: factories.string(),
|
|
11788
11827
|
revenue_share_percentage: factories.decimal(),
|
|
11789
|
-
outbound: factories['io.flow.v0.models.
|
|
11828
|
+
outbound: factories['io.flow.v0.models.transaction_metadata_outbound_transaction'](),
|
|
11790
11829
|
}); },
|
|
11791
|
-
'io.flow.v0.models.
|
|
11792
|
-
|
|
11830
|
+
'io.flow.v0.models.transaction_metadata_carrier_fee': function () { return ({
|
|
11831
|
+
discriminator: 'carrier_fee',
|
|
11832
|
+
outbound: factories['io.flow.v0.models.transaction_metadata_outbound_transaction'](),
|
|
11833
|
+
estimate: factories['io.flow.v0.models.transaction_metadata_carrier_fee_data'](),
|
|
11834
|
+
actual: factories['io.flow.v0.models.transaction_metadata_carrier_fee_data'](),
|
|
11835
|
+
}); },
|
|
11836
|
+
'io.flow.v0.models.transaction_metadata_carrier_fee_data': function () { return ({
|
|
11837
|
+
surcharges: arrayOf(function () { return factories['io.flow.v0.models.trueup_label_surcharge'](); }),
|
|
11793
11838
|
}); },
|
|
11794
11839
|
'io.flow.v0.models.transaction_metadata_channel': function () { return ({
|
|
11795
11840
|
discriminator: 'channel',
|
|
@@ -11813,6 +11858,13 @@ var factories = {
|
|
|
11813
11858
|
'io.flow.v0.models.transaction_metadata_original_transaction': function () { return ({
|
|
11814
11859
|
id: factories.string(),
|
|
11815
11860
|
}); },
|
|
11861
|
+
'io.flow.v0.models.transaction_metadata_outbound_transaction': function () { return ({
|
|
11862
|
+
transaction_id: factories.string(),
|
|
11863
|
+
}); },
|
|
11864
|
+
'io.flow.v0.models.transaction_metadata_payment_transaction': function () { return ({
|
|
11865
|
+
discriminator: 'payment_transaction',
|
|
11866
|
+
key: factories.string(),
|
|
11867
|
+
}); },
|
|
11816
11868
|
'io.flow.v0.models.transaction_metadata_shipping_label': function () { return ({
|
|
11817
11869
|
discriminator: 'shipping_label',
|
|
11818
11870
|
request_method: factories['io.flow.v0.enums.label_request_method'](),
|
|
@@ -11966,10 +12018,6 @@ var factories = {
|
|
|
11966
12018
|
type: factories['io.flow.v0.enums.change_type'](),
|
|
11967
12019
|
virtual_card_capture: factories['io.flow.v0.models.virtual_card_capture'](),
|
|
11968
12020
|
}); },
|
|
11969
|
-
'io.flow.v0.models.virtual_card_form': function () { return ({
|
|
11970
|
-
limit: factories['io.flow.v0.models.money'](),
|
|
11971
|
-
attributes: objectOf(function () { return factories.string(); }),
|
|
11972
|
-
}); },
|
|
11973
12021
|
'io.flow.v0.models.virtual_card_reference': function () { return ({
|
|
11974
12022
|
id: factories.string(),
|
|
11975
12023
|
}); },
|
|
@@ -13092,7 +13140,9 @@ var factories = {
|
|
|
13092
13140
|
function () { return factories['io.flow.v0.models.transaction_metadata_channel'](); },
|
|
13093
13141
|
function () { return factories['io.flow.v0.models.transaction_metadata_trueup'](); },
|
|
13094
13142
|
function () { return factories['io.flow.v0.models.transaction_metadata_carrier_charge'](); },
|
|
13143
|
+
function () { return factories['io.flow.v0.models.transaction_metadata_carrier_fee'](); },
|
|
13095
13144
|
function () { return factories['io.flow.v0.models.transaction_metadata_manual'](); },
|
|
13145
|
+
function () { return factories['io.flow.v0.models.transaction_metadata_payment_transaction'](); },
|
|
13096
13146
|
]);
|
|
13097
13147
|
return f();
|
|
13098
13148
|
},
|
|
@@ -14773,12 +14823,15 @@ export var makeTransactionDetails = function () { return factories['io.flow.v0.u
|
|
|
14773
14823
|
export var makeTransactionDetailsCard = function () { return factories['io.flow.v0.models.transaction_details_card'](); };
|
|
14774
14824
|
export var makeTransactionMetadata = function () { return factories['io.flow.v0.unions.transaction_metadata'](); };
|
|
14775
14825
|
export var makeTransactionMetadataCarrierCharge = function () { return factories['io.flow.v0.models.transaction_metadata_carrier_charge'](); };
|
|
14776
|
-
export var
|
|
14826
|
+
export var makeTransactionMetadataCarrierFee = function () { return factories['io.flow.v0.models.transaction_metadata_carrier_fee'](); };
|
|
14827
|
+
export var makeTransactionMetadataCarrierFeeData = function () { return factories['io.flow.v0.models.transaction_metadata_carrier_fee_data'](); };
|
|
14777
14828
|
export var makeTransactionMetadataChannel = function () { return factories['io.flow.v0.models.transaction_metadata_channel'](); };
|
|
14778
14829
|
export var makeTransactionMetadataChannelCardMetadata = function () { return factories['io.flow.v0.models.transaction_metadata_channel_card_metadata'](); };
|
|
14779
14830
|
export var makeTransactionMetadataChannelCardMetadataIssuerSummary = function () { return factories['io.flow.v0.models.transaction_metadata_channel_card_metadata_issuer_summary'](); };
|
|
14780
14831
|
export var makeTransactionMetadataManual = function () { return factories['io.flow.v0.models.transaction_metadata_manual'](); };
|
|
14781
14832
|
export var makeTransactionMetadataOriginalTransaction = function () { return factories['io.flow.v0.models.transaction_metadata_original_transaction'](); };
|
|
14833
|
+
export var makeTransactionMetadataOutboundTransaction = function () { return factories['io.flow.v0.models.transaction_metadata_outbound_transaction'](); };
|
|
14834
|
+
export var makeTransactionMetadataPaymentTransaction = function () { return factories['io.flow.v0.models.transaction_metadata_payment_transaction'](); };
|
|
14782
14835
|
export var makeTransactionMetadataShippingLabel = function () { return factories['io.flow.v0.models.transaction_metadata_shipping_label'](); };
|
|
14783
14836
|
export var makeTransactionMetadataShippingLabelCarrier = function () { return factories['io.flow.v0.models.transaction_metadata_shipping_label_carrier'](); };
|
|
14784
14837
|
export var makeTransactionMetadataTrueup = function () { return factories['io.flow.v0.models.transaction_metadata_trueup'](); };
|
|
@@ -14817,7 +14870,6 @@ export var makeVirtualCardCapture = function () { return factories['io.flow.v0.m
|
|
|
14817
14870
|
export var makeVirtualCardCaptureDeleted = function () { return factories['io.flow.v0.models.virtual_card_capture_deleted'](); };
|
|
14818
14871
|
export var makeVirtualCardCaptureUpserted = function () { return factories['io.flow.v0.models.virtual_card_capture_upserted'](); };
|
|
14819
14872
|
export var makeVirtualCardCaptureVersion = function () { return factories['io.flow.v0.models.virtual_card_capture_version'](); };
|
|
14820
|
-
export var makeVirtualCardForm = function () { return factories['io.flow.v0.models.virtual_card_form'](); };
|
|
14821
14873
|
export var makeVirtualCardReference = function () { return factories['io.flow.v0.models.virtual_card_reference'](); };
|
|
14822
14874
|
export var makeVirtualCardRefund = function () { return factories['io.flow.v0.models.virtual_card_refund'](); };
|
|
14823
14875
|
export var makeVirtualCardRefundDeleted = function () { return factories['io.flow.v0.models.virtual_card_refund_deleted'](); };
|
package/dist/types/api.d.ts
CHANGED
|
@@ -1675,12 +1675,15 @@ export declare const makeTransactionDetails: () => io.flow.v0.models.Transaction
|
|
|
1675
1675
|
export declare const makeTransactionDetailsCard: () => io.flow.v0.models.TransactionDetailsCard;
|
|
1676
1676
|
export declare const makeTransactionMetadata: () => io.flow.v0.unions.TransactionMetadata;
|
|
1677
1677
|
export declare const makeTransactionMetadataCarrierCharge: () => io.flow.v0.models.TransactionMetadataCarrierCharge;
|
|
1678
|
-
export declare const
|
|
1678
|
+
export declare const makeTransactionMetadataCarrierFee: () => io.flow.v0.models.TransactionMetadataCarrierFee;
|
|
1679
|
+
export declare const makeTransactionMetadataCarrierFeeData: () => io.flow.v0.models.TransactionMetadataCarrierFeeData;
|
|
1679
1680
|
export declare const makeTransactionMetadataChannel: () => io.flow.v0.models.TransactionMetadataChannel;
|
|
1680
1681
|
export declare const makeTransactionMetadataChannelCardMetadata: () => io.flow.v0.models.TransactionMetadataChannelCardMetadata;
|
|
1681
1682
|
export declare const makeTransactionMetadataChannelCardMetadataIssuerSummary: () => io.flow.v0.models.TransactionMetadataChannelCardMetadataIssuerSummary;
|
|
1682
1683
|
export declare const makeTransactionMetadataManual: () => io.flow.v0.models.TransactionMetadataManual;
|
|
1683
1684
|
export declare const makeTransactionMetadataOriginalTransaction: () => io.flow.v0.models.TransactionMetadataOriginalTransaction;
|
|
1685
|
+
export declare const makeTransactionMetadataOutboundTransaction: () => io.flow.v0.models.TransactionMetadataOutboundTransaction;
|
|
1686
|
+
export declare const makeTransactionMetadataPaymentTransaction: () => io.flow.v0.models.TransactionMetadataPaymentTransaction;
|
|
1684
1687
|
export declare const makeTransactionMetadataShippingLabel: () => io.flow.v0.models.TransactionMetadataShippingLabel;
|
|
1685
1688
|
export declare const makeTransactionMetadataShippingLabelCarrier: () => io.flow.v0.models.TransactionMetadataShippingLabelCarrier;
|
|
1686
1689
|
export declare const makeTransactionMetadataTrueup: () => io.flow.v0.models.TransactionMetadataTrueup;
|
|
@@ -1719,7 +1722,6 @@ export declare const makeVirtualCardCapture: () => io.flow.v0.models.VirtualCard
|
|
|
1719
1722
|
export declare const makeVirtualCardCaptureDeleted: () => io.flow.v0.models.VirtualCardCaptureDeleted;
|
|
1720
1723
|
export declare const makeVirtualCardCaptureUpserted: () => io.flow.v0.models.VirtualCardCaptureUpserted;
|
|
1721
1724
|
export declare const makeVirtualCardCaptureVersion: () => io.flow.v0.models.VirtualCardCaptureVersion;
|
|
1722
|
-
export declare const makeVirtualCardForm: () => io.flow.v0.models.VirtualCardForm;
|
|
1723
1725
|
export declare const makeVirtualCardReference: () => io.flow.v0.models.VirtualCardReference;
|
|
1724
1726
|
export declare const makeVirtualCardRefund: () => io.flow.v0.models.VirtualCardRefund;
|
|
1725
1727
|
export declare const makeVirtualCardRefundDeleted: () => io.flow.v0.models.VirtualCardRefundDeleted;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-factories",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.85",
|
|
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": "237a816e178ccd4501b30aaf454fb6a93392afd9"
|
|
40
40
|
}
|
package/src/api.ts
CHANGED
|
@@ -359,6 +359,30 @@ const factories = {
|
|
|
359
359
|
'io.flow.shopify.external.v0.enums.shopify_customer_state': (): io.flow.shopify.external.v0.enums.ShopifyCustomerState => faker.helpers.arrayElement(['disabled', 'invited', 'enabled']),
|
|
360
360
|
'io.flow.shopify.external.v0.enums.shopify_discount_pagination_direction': (): io.flow.shopify.external.v0.enums.ShopifyDiscountPaginationDirection => faker.helpers.arrayElement(['next', 'prev']),
|
|
361
361
|
'io.flow.shopify.external.v0.enums.shopify_gift_card_status': (): io.flow.shopify.external.v0.enums.ShopifyGiftCardStatus => faker.helpers.arrayElement(['any', 'enabled', 'disabled']),
|
|
362
|
+
|
|
363
|
+
'io.flow.shopify.external.v0.enums.shopify_plan_name': (): io.flow.shopify.external.v0.enums.ShopifyPlanName => faker.helpers.arrayElement([
|
|
364
|
+
'basic',
|
|
365
|
+
'business',
|
|
366
|
+
'cancelled',
|
|
367
|
+
'dormant',
|
|
368
|
+
'enterprise',
|
|
369
|
+
'fraudulent',
|
|
370
|
+
'frozen',
|
|
371
|
+
'npo_full',
|
|
372
|
+
'npo_lite',
|
|
373
|
+
'open_learning',
|
|
374
|
+
'paid_trial',
|
|
375
|
+
'professional',
|
|
376
|
+
'retail',
|
|
377
|
+
'shopify_alumni',
|
|
378
|
+
'shopify_plus',
|
|
379
|
+
'staff',
|
|
380
|
+
'staff_business',
|
|
381
|
+
'starter',
|
|
382
|
+
'starter_2022',
|
|
383
|
+
'unlimited',
|
|
384
|
+
]),
|
|
385
|
+
|
|
362
386
|
'io.flow.shopify.external.v0.enums.shopify_processing_method_type': (): io.flow.shopify.external.v0.enums.ShopifyProcessingMethodType => faker.helpers.arrayElement(['checkout', 'direct', 'manual', 'offsite', 'express']),
|
|
363
387
|
|
|
364
388
|
'io.flow.shopify.external.v0.enums.shopify_transaction_error_code': (): io.flow.shopify.external.v0.enums.ShopifyTransactionErrorCode => faker.helpers.arrayElement([
|
|
@@ -1246,6 +1270,12 @@ const factories = {
|
|
|
1246
1270
|
carrier_identifier: factories.string(),
|
|
1247
1271
|
}),
|
|
1248
1272
|
|
|
1273
|
+
'io.flow.shopify.external.v0.models.shopify_shop_update': (): io.flow.shopify.external.v0.models.ShopifyShopUpdate => ({
|
|
1274
|
+
id: factories.long(),
|
|
1275
|
+
plan_display_name: factories.string(),
|
|
1276
|
+
plan_name: factories['io.flow.shopify.external.v0.enums.shopify_plan_name'](),
|
|
1277
|
+
}),
|
|
1278
|
+
|
|
1249
1279
|
'io.flow.shopify.external.v0.models.shopify_tax_line': (): io.flow.shopify.external.v0.models.ShopifyTaxLine => ({
|
|
1250
1280
|
price: factories.string(),
|
|
1251
1281
|
rate: factories.double(),
|
|
@@ -3662,6 +3692,7 @@ const factories = {
|
|
|
3662
3692
|
'trueup',
|
|
3663
3693
|
'carrier_charge',
|
|
3664
3694
|
'carrier_charge_revenue_share',
|
|
3695
|
+
'carrier_fee',
|
|
3665
3696
|
'platform_fee',
|
|
3666
3697
|
'tax',
|
|
3667
3698
|
'duty',
|
|
@@ -6105,6 +6136,7 @@ const factories = {
|
|
|
6105
6136
|
|
|
6106
6137
|
'io.flow.v0.models.deactivation_put_form': (): io.flow.v0.models.DeactivationPutForm => ({
|
|
6107
6138
|
reason: factories.string(),
|
|
6139
|
+
deactivate_at: factories.date_time_iso_8601(),
|
|
6108
6140
|
}),
|
|
6109
6141
|
|
|
6110
6142
|
'io.flow.v0.models.dead_weight': (): io.flow.v0.models.DeadWeight => ({
|
|
@@ -8690,6 +8722,7 @@ const factories = {
|
|
|
8690
8722
|
'io.flow.v0.models.merchant_deactivated': (): io.flow.v0.models.MerchantDeactivated => ({
|
|
8691
8723
|
discriminator: 'merchant_deactivated',
|
|
8692
8724
|
reason: factories.string(),
|
|
8725
|
+
deactivate_at: factories.date_time_iso_8601(),
|
|
8693
8726
|
}),
|
|
8694
8727
|
|
|
8695
8728
|
'io.flow.v0.models.merchant_disabled': (): io.flow.v0.models.MerchantDisabled => ({
|
|
@@ -10037,6 +10070,7 @@ const factories = {
|
|
|
10037
10070
|
currency: factories.string(),
|
|
10038
10071
|
base_amount: factories.decimal(),
|
|
10039
10072
|
base_currency: factories.string(),
|
|
10073
|
+
reference: factories.string(),
|
|
10040
10074
|
}),
|
|
10041
10075
|
|
|
10042
10076
|
'io.flow.v0.models.payment_authorization_status': (): io.flow.v0.models.PaymentAuthorizationStatus => ({
|
|
@@ -10050,6 +10084,7 @@ const factories = {
|
|
|
10050
10084
|
currency: factories.string(),
|
|
10051
10085
|
base_amount: factories.decimal(),
|
|
10052
10086
|
base_currency: factories.string(),
|
|
10087
|
+
reference: factories.string(),
|
|
10053
10088
|
created_at: factories.date_time_iso_8601(),
|
|
10054
10089
|
updated_at: factories.date_time_iso_8601(),
|
|
10055
10090
|
status: factories['io.flow.v0.models.payment_capture_status'](),
|
|
@@ -10058,6 +10093,7 @@ const factories = {
|
|
|
10058
10093
|
'io.flow.v0.models.payment_capture_form': (): io.flow.v0.models.PaymentCaptureForm => ({
|
|
10059
10094
|
amount: factories.decimal(),
|
|
10060
10095
|
currency: factories.string(),
|
|
10096
|
+
reference: factories.string(),
|
|
10061
10097
|
attributes: objectOf(() => factories.string()),
|
|
10062
10098
|
}),
|
|
10063
10099
|
|
|
@@ -10206,6 +10242,7 @@ const factories = {
|
|
|
10206
10242
|
device_fingerprint_details: factories['io.flow.v0.unions.device_fingerprint_details'](),
|
|
10207
10243
|
cvv: factories.string(),
|
|
10208
10244
|
stored_details_card: factories['io.flow.v0.unions.payment_method_stored_details_card'](),
|
|
10245
|
+
reference: factories.string(),
|
|
10209
10246
|
}),
|
|
10210
10247
|
|
|
10211
10248
|
'io.flow.v0.models.payment_method_data_authorize_googlepay': (): io.flow.v0.models.PaymentMethodDataAuthorizeGooglepay => ({
|
|
@@ -10241,42 +10278,43 @@ const factories = {
|
|
|
10241
10278
|
|
|
10242
10279
|
'io.flow.v0.models.payment_method_data_init_afterpay': (): io.flow.v0.models.PaymentMethodDataInitAfterpay => ({
|
|
10243
10280
|
type: 'init_afterpay',
|
|
10244
|
-
|
|
10281
|
+
reference: factories.string(),
|
|
10245
10282
|
}),
|
|
10246
10283
|
|
|
10247
10284
|
'io.flow.v0.models.payment_method_data_init_applepay': (): io.flow.v0.models.PaymentMethodDataInitApplepay => ({
|
|
10248
10285
|
type: 'init_applepay',
|
|
10249
|
-
|
|
10286
|
+
reference: factories.string(),
|
|
10250
10287
|
}),
|
|
10251
10288
|
|
|
10252
10289
|
'io.flow.v0.models.payment_method_data_init_bancontact': (): io.flow.v0.models.PaymentMethodDataInitBancontact => ({
|
|
10253
10290
|
type: 'init_bancontact',
|
|
10254
|
-
|
|
10291
|
+
reference: factories.string(),
|
|
10255
10292
|
}),
|
|
10256
10293
|
|
|
10257
10294
|
'io.flow.v0.models.payment_method_data_init_googlepay': (): io.flow.v0.models.PaymentMethodDataInitGooglepay => ({
|
|
10258
10295
|
type: 'init_googlepay',
|
|
10259
|
-
|
|
10296
|
+
reference: factories.string(),
|
|
10260
10297
|
}),
|
|
10261
10298
|
|
|
10262
10299
|
'io.flow.v0.models.payment_method_data_init_ideal': (): io.flow.v0.models.PaymentMethodDataInitIdeal => ({
|
|
10263
10300
|
type: 'init_ideal',
|
|
10264
10301
|
issuer: factories.string(),
|
|
10302
|
+
reference: factories.string(),
|
|
10265
10303
|
}),
|
|
10266
10304
|
|
|
10267
10305
|
'io.flow.v0.models.payment_method_data_init_klarna': (): io.flow.v0.models.PaymentMethodDataInitKlarna => ({
|
|
10268
10306
|
type: 'init_klarna',
|
|
10269
|
-
|
|
10307
|
+
reference: factories.string(),
|
|
10270
10308
|
}),
|
|
10271
10309
|
|
|
10272
10310
|
'io.flow.v0.models.payment_method_data_init_paypal': (): io.flow.v0.models.PaymentMethodDataInitPaypal => ({
|
|
10273
10311
|
type: 'init_paypal',
|
|
10274
|
-
|
|
10312
|
+
reference: factories.string(),
|
|
10275
10313
|
}),
|
|
10276
10314
|
|
|
10277
10315
|
'io.flow.v0.models.payment_method_data_init_sofort': (): io.flow.v0.models.PaymentMethodDataInitSofort => ({
|
|
10278
10316
|
type: 'init_sofort',
|
|
10279
|
-
|
|
10317
|
+
reference: factories.string(),
|
|
10280
10318
|
}),
|
|
10281
10319
|
|
|
10282
10320
|
'io.flow.v0.models.payment_method_data_option_logo_svg': (): io.flow.v0.models.PaymentMethodDataOptionLogoSvg => ({
|
|
@@ -10484,6 +10522,7 @@ const factories = {
|
|
|
10484
10522
|
currency: factories.string(),
|
|
10485
10523
|
base_amount: factories.decimal(),
|
|
10486
10524
|
base_currency: factories.string(),
|
|
10525
|
+
reference: factories.string(),
|
|
10487
10526
|
created_at: factories.date_time_iso_8601(),
|
|
10488
10527
|
updated_at: factories.date_time_iso_8601(),
|
|
10489
10528
|
status: factories['io.flow.v0.models.payment_refund_status'](),
|
|
@@ -10492,6 +10531,7 @@ const factories = {
|
|
|
10492
10531
|
'io.flow.v0.models.payment_refund_form': (): io.flow.v0.models.PaymentRefundForm => ({
|
|
10493
10532
|
amount: factories.decimal(),
|
|
10494
10533
|
currency: factories.string(),
|
|
10534
|
+
reference: factories.string(),
|
|
10495
10535
|
}),
|
|
10496
10536
|
|
|
10497
10537
|
'io.flow.v0.models.payment_refund_status': (): io.flow.v0.models.PaymentRefundStatus => ({
|
|
@@ -10599,6 +10639,7 @@ const factories = {
|
|
|
10599
10639
|
currency: factories.string(),
|
|
10600
10640
|
base_amount: factories.decimal(),
|
|
10601
10641
|
base_currency: factories.string(),
|
|
10642
|
+
reference: factories.string(),
|
|
10602
10643
|
created_at: factories.date_time_iso_8601(),
|
|
10603
10644
|
updated_at: factories.date_time_iso_8601(),
|
|
10604
10645
|
status: factories['io.flow.v0.models.payment_reversal_status'](),
|
|
@@ -10607,6 +10648,7 @@ const factories = {
|
|
|
10607
10648
|
'io.flow.v0.models.payment_reversal_form': (): io.flow.v0.models.PaymentReversalForm => ({
|
|
10608
10649
|
amount: factories.decimal(),
|
|
10609
10650
|
currency: factories.string(),
|
|
10651
|
+
reference: factories.string(),
|
|
10610
10652
|
}),
|
|
10611
10653
|
|
|
10612
10654
|
'io.flow.v0.models.payment_reversal_status': (): io.flow.v0.models.PaymentReversalStatus => ({
|
|
@@ -11055,7 +11097,7 @@ const factories = {
|
|
|
11055
11097
|
event_id: factories.string(),
|
|
11056
11098
|
timestamp: factories.date_time_iso_8601(),
|
|
11057
11099
|
organization: factories.string(),
|
|
11058
|
-
|
|
11100
|
+
id: factories.string(),
|
|
11059
11101
|
}),
|
|
11060
11102
|
|
|
11061
11103
|
'io.flow.v0.models.product_restriction_result_upserted': (): io.flow.v0.models.ProductRestrictionResultUpserted => ({
|
|
@@ -13602,11 +13644,18 @@ const factories = {
|
|
|
13602
13644
|
carrier_id: factories.string(),
|
|
13603
13645
|
carrier_tracking_number: factories.string(),
|
|
13604
13646
|
revenue_share_percentage: factories.decimal(),
|
|
13605
|
-
outbound: factories['io.flow.v0.models.
|
|
13647
|
+
outbound: factories['io.flow.v0.models.transaction_metadata_outbound_transaction'](),
|
|
13606
13648
|
}),
|
|
13607
13649
|
|
|
13608
|
-
'io.flow.v0.models.
|
|
13609
|
-
|
|
13650
|
+
'io.flow.v0.models.transaction_metadata_carrier_fee': (): io.flow.v0.models.TransactionMetadataCarrierFee => ({
|
|
13651
|
+
discriminator: 'carrier_fee',
|
|
13652
|
+
outbound: factories['io.flow.v0.models.transaction_metadata_outbound_transaction'](),
|
|
13653
|
+
estimate: factories['io.flow.v0.models.transaction_metadata_carrier_fee_data'](),
|
|
13654
|
+
actual: factories['io.flow.v0.models.transaction_metadata_carrier_fee_data'](),
|
|
13655
|
+
}),
|
|
13656
|
+
|
|
13657
|
+
'io.flow.v0.models.transaction_metadata_carrier_fee_data': (): io.flow.v0.models.TransactionMetadataCarrierFeeData => ({
|
|
13658
|
+
surcharges: arrayOf(() => factories['io.flow.v0.models.trueup_label_surcharge']()),
|
|
13610
13659
|
}),
|
|
13611
13660
|
|
|
13612
13661
|
'io.flow.v0.models.transaction_metadata_channel': (): io.flow.v0.models.TransactionMetadataChannel => ({
|
|
@@ -13636,6 +13685,15 @@ const factories = {
|
|
|
13636
13685
|
id: factories.string(),
|
|
13637
13686
|
}),
|
|
13638
13687
|
|
|
13688
|
+
'io.flow.v0.models.transaction_metadata_outbound_transaction': (): io.flow.v0.models.TransactionMetadataOutboundTransaction => ({
|
|
13689
|
+
transaction_id: factories.string(),
|
|
13690
|
+
}),
|
|
13691
|
+
|
|
13692
|
+
'io.flow.v0.models.transaction_metadata_payment_transaction': (): io.flow.v0.models.TransactionMetadataPaymentTransaction => ({
|
|
13693
|
+
discriminator: 'payment_transaction',
|
|
13694
|
+
key: factories.string(),
|
|
13695
|
+
}),
|
|
13696
|
+
|
|
13639
13697
|
'io.flow.v0.models.transaction_metadata_shipping_label': (): io.flow.v0.models.TransactionMetadataShippingLabel => ({
|
|
13640
13698
|
discriminator: 'shipping_label',
|
|
13641
13699
|
request_method: factories['io.flow.v0.enums.label_request_method'](),
|
|
@@ -13815,11 +13873,6 @@ const factories = {
|
|
|
13815
13873
|
virtual_card_capture: factories['io.flow.v0.models.virtual_card_capture'](),
|
|
13816
13874
|
}),
|
|
13817
13875
|
|
|
13818
|
-
'io.flow.v0.models.virtual_card_form': (): io.flow.v0.models.VirtualCardForm => ({
|
|
13819
|
-
limit: factories['io.flow.v0.models.money'](),
|
|
13820
|
-
attributes: objectOf(() => factories.string()),
|
|
13821
|
-
}),
|
|
13822
|
-
|
|
13823
13876
|
'io.flow.v0.models.virtual_card_reference': (): io.flow.v0.models.VirtualCardReference => ({
|
|
13824
13877
|
id: factories.string(),
|
|
13825
13878
|
}),
|
|
@@ -15170,7 +15223,9 @@ const factories = {
|
|
|
15170
15223
|
() => factories['io.flow.v0.models.transaction_metadata_channel'](),
|
|
15171
15224
|
() => factories['io.flow.v0.models.transaction_metadata_trueup'](),
|
|
15172
15225
|
() => factories['io.flow.v0.models.transaction_metadata_carrier_charge'](),
|
|
15226
|
+
() => factories['io.flow.v0.models.transaction_metadata_carrier_fee'](),
|
|
15173
15227
|
() => factories['io.flow.v0.models.transaction_metadata_manual'](),
|
|
15228
|
+
() => factories['io.flow.v0.models.transaction_metadata_payment_transaction'](),
|
|
15174
15229
|
]);
|
|
15175
15230
|
|
|
15176
15231
|
return f();
|
|
@@ -16853,12 +16908,15 @@ export const makeTransactionDetails = () => factories['io.flow.v0.unions.transac
|
|
|
16853
16908
|
export const makeTransactionDetailsCard = () => factories['io.flow.v0.models.transaction_details_card']();
|
|
16854
16909
|
export const makeTransactionMetadata = () => factories['io.flow.v0.unions.transaction_metadata']();
|
|
16855
16910
|
export const makeTransactionMetadataCarrierCharge = () => factories['io.flow.v0.models.transaction_metadata_carrier_charge']();
|
|
16856
|
-
export const
|
|
16911
|
+
export const makeTransactionMetadataCarrierFee = () => factories['io.flow.v0.models.transaction_metadata_carrier_fee']();
|
|
16912
|
+
export const makeTransactionMetadataCarrierFeeData = () => factories['io.flow.v0.models.transaction_metadata_carrier_fee_data']();
|
|
16857
16913
|
export const makeTransactionMetadataChannel = () => factories['io.flow.v0.models.transaction_metadata_channel']();
|
|
16858
16914
|
export const makeTransactionMetadataChannelCardMetadata = () => factories['io.flow.v0.models.transaction_metadata_channel_card_metadata']();
|
|
16859
16915
|
export const makeTransactionMetadataChannelCardMetadataIssuerSummary = () => factories['io.flow.v0.models.transaction_metadata_channel_card_metadata_issuer_summary']();
|
|
16860
16916
|
export const makeTransactionMetadataManual = () => factories['io.flow.v0.models.transaction_metadata_manual']();
|
|
16861
16917
|
export const makeTransactionMetadataOriginalTransaction = () => factories['io.flow.v0.models.transaction_metadata_original_transaction']();
|
|
16918
|
+
export const makeTransactionMetadataOutboundTransaction = () => factories['io.flow.v0.models.transaction_metadata_outbound_transaction']();
|
|
16919
|
+
export const makeTransactionMetadataPaymentTransaction = () => factories['io.flow.v0.models.transaction_metadata_payment_transaction']();
|
|
16862
16920
|
export const makeTransactionMetadataShippingLabel = () => factories['io.flow.v0.models.transaction_metadata_shipping_label']();
|
|
16863
16921
|
export const makeTransactionMetadataShippingLabelCarrier = () => factories['io.flow.v0.models.transaction_metadata_shipping_label_carrier']();
|
|
16864
16922
|
export const makeTransactionMetadataTrueup = () => factories['io.flow.v0.models.transaction_metadata_trueup']();
|
|
@@ -16897,7 +16955,6 @@ export const makeVirtualCardCapture = () => factories['io.flow.v0.models.virtual
|
|
|
16897
16955
|
export const makeVirtualCardCaptureDeleted = () => factories['io.flow.v0.models.virtual_card_capture_deleted']();
|
|
16898
16956
|
export const makeVirtualCardCaptureUpserted = () => factories['io.flow.v0.models.virtual_card_capture_upserted']();
|
|
16899
16957
|
export const makeVirtualCardCaptureVersion = () => factories['io.flow.v0.models.virtual_card_capture_version']();
|
|
16900
|
-
export const makeVirtualCardForm = () => factories['io.flow.v0.models.virtual_card_form']();
|
|
16901
16958
|
export const makeVirtualCardReference = () => factories['io.flow.v0.models.virtual_card_reference']();
|
|
16902
16959
|
export const makeVirtualCardRefund = () => factories['io.flow.v0.models.virtual_card_refund']();
|
|
16903
16960
|
export const makeVirtualCardRefundDeleted = () => factories['io.flow.v0.models.virtual_card_refund_deleted']();
|