@flowio/api-factories 0.0.84 → 0.0.86
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 +192 -41
- package/dist/esm/api.js +156 -19
- package/dist/types/api.d.ts +15 -2
- package/package.json +2 -2
- package/src/api.ts +174 -21
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(),
|
|
@@ -3000,6 +3030,8 @@ const factories = {
|
|
|
3000
3030
|
'notification_deleted_v2',
|
|
3001
3031
|
'manifested_label_upserted',
|
|
3002
3032
|
'manifested_label_deleted',
|
|
3033
|
+
'label_processing_modification_upserted',
|
|
3034
|
+
'label_processing_modification_deleted',
|
|
3003
3035
|
'local_item_upserted',
|
|
3004
3036
|
'local_item_deleted',
|
|
3005
3037
|
'merchant_application_upserted',
|
|
@@ -3660,6 +3692,8 @@ const factories = {
|
|
|
3660
3692
|
'shipping_label_service',
|
|
3661
3693
|
'shipping_label_revenue_share',
|
|
3662
3694
|
'trueup',
|
|
3695
|
+
'trueup_base',
|
|
3696
|
+
'trueup_surcharge',
|
|
3663
3697
|
'carrier_charge',
|
|
3664
3698
|
'carrier_charge_revenue_share',
|
|
3665
3699
|
'platform_fee',
|
|
@@ -3673,9 +3707,10 @@ const factories = {
|
|
|
3673
3707
|
'order_service',
|
|
3674
3708
|
'virtual_card_capture',
|
|
3675
3709
|
'virtual_card_refund',
|
|
3710
|
+
'failed_payout',
|
|
3676
3711
|
]),
|
|
3677
3712
|
|
|
3678
|
-
'io.flow.v0.enums.trueup_source': (): io.flow.v0.enums.TrueupSource => faker.helpers.arrayElement(['flow', 'channel', 'dhl-parcel', 'dhl']),
|
|
3713
|
+
'io.flow.v0.enums.trueup_source': (): io.flow.v0.enums.TrueupSource => faker.helpers.arrayElement(['flow', 'channel', 'dhl-parcel', 'dhl', 'ups']),
|
|
3679
3714
|
|
|
3680
3715
|
'io.flow.v0.enums.trueup_surcharge_type': (): io.flow.v0.enums.TrueupSurchargeType => faker.helpers.arrayElement([
|
|
3681
3716
|
'fuel',
|
|
@@ -3689,6 +3724,12 @@ const factories = {
|
|
|
3689
3724
|
'eei_filing',
|
|
3690
3725
|
'fixed_ddp',
|
|
3691
3726
|
'fixed_currency_conversion',
|
|
3727
|
+
'prohibited_item',
|
|
3728
|
+
'undeliverable_shipment',
|
|
3729
|
+
'signature_required',
|
|
3730
|
+
'direct_delivery',
|
|
3731
|
+
'saturday_stop',
|
|
3732
|
+
'residential_extended_area_pickup',
|
|
3692
3733
|
]),
|
|
3693
3734
|
|
|
3694
3735
|
'io.flow.v0.enums.unit_of_length': (): io.flow.v0.enums.UnitOfLength => faker.helpers.arrayElement(['millimeter', 'centimeter', 'inch', 'foot', 'meter']),
|
|
@@ -6105,6 +6146,7 @@ const factories = {
|
|
|
6105
6146
|
|
|
6106
6147
|
'io.flow.v0.models.deactivation_put_form': (): io.flow.v0.models.DeactivationPutForm => ({
|
|
6107
6148
|
reason: factories.string(),
|
|
6149
|
+
deactivate_at: factories.date_time_iso_8601(),
|
|
6108
6150
|
}),
|
|
6109
6151
|
|
|
6110
6152
|
'io.flow.v0.models.dead_weight': (): io.flow.v0.models.DeadWeight => ({
|
|
@@ -8222,6 +8264,29 @@ const factories = {
|
|
|
8222
8264
|
number: factories.string(),
|
|
8223
8265
|
}),
|
|
8224
8266
|
|
|
8267
|
+
'io.flow.v0.models.label_processing_modification': (): io.flow.v0.models.LabelProcessingModification => ({
|
|
8268
|
+
id: factories.string(),
|
|
8269
|
+
modifications: arrayOf(() => factories.string()),
|
|
8270
|
+
destination: factories['io.flow.v0.models.shipping_address'](),
|
|
8271
|
+
destination_provided_to_carrier: factories['io.flow.v0.models.shipping_address'](),
|
|
8272
|
+
}),
|
|
8273
|
+
|
|
8274
|
+
'io.flow.v0.models.label_processing_modification_deleted': (): io.flow.v0.models.LabelProcessingModificationDeleted => ({
|
|
8275
|
+
discriminator: 'label_processing_modification_deleted',
|
|
8276
|
+
event_id: factories.string(),
|
|
8277
|
+
timestamp: factories.date_time_iso_8601(),
|
|
8278
|
+
organization: factories.string(),
|
|
8279
|
+
id: factories.string(),
|
|
8280
|
+
}),
|
|
8281
|
+
|
|
8282
|
+
'io.flow.v0.models.label_processing_modification_upserted': (): io.flow.v0.models.LabelProcessingModificationUpserted => ({
|
|
8283
|
+
discriminator: 'label_processing_modification_upserted',
|
|
8284
|
+
event_id: factories.string(),
|
|
8285
|
+
timestamp: factories.date_time_iso_8601(),
|
|
8286
|
+
organization: factories.string(),
|
|
8287
|
+
label_processing_modification: factories['io.flow.v0.models.label_processing_modification'](),
|
|
8288
|
+
}),
|
|
8289
|
+
|
|
8225
8290
|
'io.flow.v0.models.label_reference': (): io.flow.v0.models.LabelReference => ({
|
|
8226
8291
|
id: factories.string(),
|
|
8227
8292
|
}),
|
|
@@ -8690,6 +8755,7 @@ const factories = {
|
|
|
8690
8755
|
'io.flow.v0.models.merchant_deactivated': (): io.flow.v0.models.MerchantDeactivated => ({
|
|
8691
8756
|
discriminator: 'merchant_deactivated',
|
|
8692
8757
|
reason: factories.string(),
|
|
8758
|
+
deactivate_at: factories.date_time_iso_8601(),
|
|
8693
8759
|
}),
|
|
8694
8760
|
|
|
8695
8761
|
'io.flow.v0.models.merchant_disabled': (): io.flow.v0.models.MerchantDisabled => ({
|
|
@@ -10037,6 +10103,7 @@ const factories = {
|
|
|
10037
10103
|
currency: factories.string(),
|
|
10038
10104
|
base_amount: factories.decimal(),
|
|
10039
10105
|
base_currency: factories.string(),
|
|
10106
|
+
reference: factories.string(),
|
|
10040
10107
|
}),
|
|
10041
10108
|
|
|
10042
10109
|
'io.flow.v0.models.payment_authorization_status': (): io.flow.v0.models.PaymentAuthorizationStatus => ({
|
|
@@ -10050,6 +10117,7 @@ const factories = {
|
|
|
10050
10117
|
currency: factories.string(),
|
|
10051
10118
|
base_amount: factories.decimal(),
|
|
10052
10119
|
base_currency: factories.string(),
|
|
10120
|
+
reference: factories.string(),
|
|
10053
10121
|
created_at: factories.date_time_iso_8601(),
|
|
10054
10122
|
updated_at: factories.date_time_iso_8601(),
|
|
10055
10123
|
status: factories['io.flow.v0.models.payment_capture_status'](),
|
|
@@ -10058,6 +10126,7 @@ const factories = {
|
|
|
10058
10126
|
'io.flow.v0.models.payment_capture_form': (): io.flow.v0.models.PaymentCaptureForm => ({
|
|
10059
10127
|
amount: factories.decimal(),
|
|
10060
10128
|
currency: factories.string(),
|
|
10129
|
+
reference: factories.string(),
|
|
10061
10130
|
attributes: objectOf(() => factories.string()),
|
|
10062
10131
|
}),
|
|
10063
10132
|
|
|
@@ -10206,6 +10275,7 @@ const factories = {
|
|
|
10206
10275
|
device_fingerprint_details: factories['io.flow.v0.unions.device_fingerprint_details'](),
|
|
10207
10276
|
cvv: factories.string(),
|
|
10208
10277
|
stored_details_card: factories['io.flow.v0.unions.payment_method_stored_details_card'](),
|
|
10278
|
+
reference: factories.string(),
|
|
10209
10279
|
}),
|
|
10210
10280
|
|
|
10211
10281
|
'io.flow.v0.models.payment_method_data_authorize_googlepay': (): io.flow.v0.models.PaymentMethodDataAuthorizeGooglepay => ({
|
|
@@ -10241,42 +10311,43 @@ const factories = {
|
|
|
10241
10311
|
|
|
10242
10312
|
'io.flow.v0.models.payment_method_data_init_afterpay': (): io.flow.v0.models.PaymentMethodDataInitAfterpay => ({
|
|
10243
10313
|
type: 'init_afterpay',
|
|
10244
|
-
|
|
10314
|
+
reference: factories.string(),
|
|
10245
10315
|
}),
|
|
10246
10316
|
|
|
10247
10317
|
'io.flow.v0.models.payment_method_data_init_applepay': (): io.flow.v0.models.PaymentMethodDataInitApplepay => ({
|
|
10248
10318
|
type: 'init_applepay',
|
|
10249
|
-
|
|
10319
|
+
reference: factories.string(),
|
|
10250
10320
|
}),
|
|
10251
10321
|
|
|
10252
10322
|
'io.flow.v0.models.payment_method_data_init_bancontact': (): io.flow.v0.models.PaymentMethodDataInitBancontact => ({
|
|
10253
10323
|
type: 'init_bancontact',
|
|
10254
|
-
|
|
10324
|
+
reference: factories.string(),
|
|
10255
10325
|
}),
|
|
10256
10326
|
|
|
10257
10327
|
'io.flow.v0.models.payment_method_data_init_googlepay': (): io.flow.v0.models.PaymentMethodDataInitGooglepay => ({
|
|
10258
10328
|
type: 'init_googlepay',
|
|
10259
|
-
|
|
10329
|
+
reference: factories.string(),
|
|
10260
10330
|
}),
|
|
10261
10331
|
|
|
10262
10332
|
'io.flow.v0.models.payment_method_data_init_ideal': (): io.flow.v0.models.PaymentMethodDataInitIdeal => ({
|
|
10263
10333
|
type: 'init_ideal',
|
|
10264
10334
|
issuer: factories.string(),
|
|
10335
|
+
reference: factories.string(),
|
|
10265
10336
|
}),
|
|
10266
10337
|
|
|
10267
10338
|
'io.flow.v0.models.payment_method_data_init_klarna': (): io.flow.v0.models.PaymentMethodDataInitKlarna => ({
|
|
10268
10339
|
type: 'init_klarna',
|
|
10269
|
-
|
|
10340
|
+
reference: factories.string(),
|
|
10270
10341
|
}),
|
|
10271
10342
|
|
|
10272
10343
|
'io.flow.v0.models.payment_method_data_init_paypal': (): io.flow.v0.models.PaymentMethodDataInitPaypal => ({
|
|
10273
10344
|
type: 'init_paypal',
|
|
10274
|
-
|
|
10345
|
+
reference: factories.string(),
|
|
10275
10346
|
}),
|
|
10276
10347
|
|
|
10277
10348
|
'io.flow.v0.models.payment_method_data_init_sofort': (): io.flow.v0.models.PaymentMethodDataInitSofort => ({
|
|
10278
10349
|
type: 'init_sofort',
|
|
10279
|
-
|
|
10350
|
+
reference: factories.string(),
|
|
10280
10351
|
}),
|
|
10281
10352
|
|
|
10282
10353
|
'io.flow.v0.models.payment_method_data_option_logo_svg': (): io.flow.v0.models.PaymentMethodDataOptionLogoSvg => ({
|
|
@@ -10484,6 +10555,7 @@ const factories = {
|
|
|
10484
10555
|
currency: factories.string(),
|
|
10485
10556
|
base_amount: factories.decimal(),
|
|
10486
10557
|
base_currency: factories.string(),
|
|
10558
|
+
reference: factories.string(),
|
|
10487
10559
|
created_at: factories.date_time_iso_8601(),
|
|
10488
10560
|
updated_at: factories.date_time_iso_8601(),
|
|
10489
10561
|
status: factories['io.flow.v0.models.payment_refund_status'](),
|
|
@@ -10492,6 +10564,7 @@ const factories = {
|
|
|
10492
10564
|
'io.flow.v0.models.payment_refund_form': (): io.flow.v0.models.PaymentRefundForm => ({
|
|
10493
10565
|
amount: factories.decimal(),
|
|
10494
10566
|
currency: factories.string(),
|
|
10567
|
+
reference: factories.string(),
|
|
10495
10568
|
}),
|
|
10496
10569
|
|
|
10497
10570
|
'io.flow.v0.models.payment_refund_status': (): io.flow.v0.models.PaymentRefundStatus => ({
|
|
@@ -10599,6 +10672,7 @@ const factories = {
|
|
|
10599
10672
|
currency: factories.string(),
|
|
10600
10673
|
base_amount: factories.decimal(),
|
|
10601
10674
|
base_currency: factories.string(),
|
|
10675
|
+
reference: factories.string(),
|
|
10602
10676
|
created_at: factories.date_time_iso_8601(),
|
|
10603
10677
|
updated_at: factories.date_time_iso_8601(),
|
|
10604
10678
|
status: factories['io.flow.v0.models.payment_reversal_status'](),
|
|
@@ -10607,6 +10681,7 @@ const factories = {
|
|
|
10607
10681
|
'io.flow.v0.models.payment_reversal_form': (): io.flow.v0.models.PaymentReversalForm => ({
|
|
10608
10682
|
amount: factories.decimal(),
|
|
10609
10683
|
currency: factories.string(),
|
|
10684
|
+
reference: factories.string(),
|
|
10610
10685
|
}),
|
|
10611
10686
|
|
|
10612
10687
|
'io.flow.v0.models.payment_reversal_status': (): io.flow.v0.models.PaymentReversalStatus => ({
|
|
@@ -11055,7 +11130,7 @@ const factories = {
|
|
|
11055
11130
|
event_id: factories.string(),
|
|
11056
11131
|
timestamp: factories.date_time_iso_8601(),
|
|
11057
11132
|
organization: factories.string(),
|
|
11058
|
-
|
|
11133
|
+
id: factories.string(),
|
|
11059
11134
|
}),
|
|
11060
11135
|
|
|
11061
11136
|
'io.flow.v0.models.product_restriction_result_upserted': (): io.flow.v0.models.ProductRestrictionResultUpserted => ({
|
|
@@ -13602,17 +13677,14 @@ const factories = {
|
|
|
13602
13677
|
carrier_id: factories.string(),
|
|
13603
13678
|
carrier_tracking_number: factories.string(),
|
|
13604
13679
|
revenue_share_percentage: factories.decimal(),
|
|
13605
|
-
outbound: factories['io.flow.v0.models.
|
|
13606
|
-
}),
|
|
13607
|
-
|
|
13608
|
-
'io.flow.v0.models.transaction_metadata_carrier_charge_outbound': (): io.flow.v0.models.TransactionMetadataCarrierChargeOutbound => ({
|
|
13609
|
-
transaction_id: factories.string(),
|
|
13680
|
+
outbound: factories['io.flow.v0.models.transaction_metadata_outbound_transaction'](),
|
|
13610
13681
|
}),
|
|
13611
13682
|
|
|
13612
13683
|
'io.flow.v0.models.transaction_metadata_channel': (): io.flow.v0.models.TransactionMetadataChannel => ({
|
|
13613
13684
|
discriminator: 'channel',
|
|
13614
13685
|
method: factories.string(),
|
|
13615
13686
|
card: factories['io.flow.v0.models.transaction_metadata_channel_card_metadata'](),
|
|
13687
|
+
organization_transaction: factories['io.flow.v0.models.transaction_reference'](),
|
|
13616
13688
|
}),
|
|
13617
13689
|
|
|
13618
13690
|
'io.flow.v0.models.transaction_metadata_channel_card_metadata': (): io.flow.v0.models.TransactionMetadataChannelCardMetadata => ({
|
|
@@ -13625,6 +13697,15 @@ const factories = {
|
|
|
13625
13697
|
country: factories.string(),
|
|
13626
13698
|
}),
|
|
13627
13699
|
|
|
13700
|
+
'io.flow.v0.models.transaction_metadata_failed_payout': (): io.flow.v0.models.TransactionMetadataFailedPayout => ({
|
|
13701
|
+
discriminator: 'failed_payout',
|
|
13702
|
+
failed_payout: factories['io.flow.v0.models.transaction_metadata_failed_payout_reference'](),
|
|
13703
|
+
}),
|
|
13704
|
+
|
|
13705
|
+
'io.flow.v0.models.transaction_metadata_failed_payout_reference': (): io.flow.v0.models.TransactionMetadataFailedPayoutReference => ({
|
|
13706
|
+
id: factories.string(),
|
|
13707
|
+
}),
|
|
13708
|
+
|
|
13628
13709
|
'io.flow.v0.models.transaction_metadata_manual': (): io.flow.v0.models.TransactionMetadataManual => ({
|
|
13629
13710
|
discriminator: 'manual',
|
|
13630
13711
|
description: factories.string(),
|
|
@@ -13636,6 +13717,16 @@ const factories = {
|
|
|
13636
13717
|
id: factories.string(),
|
|
13637
13718
|
}),
|
|
13638
13719
|
|
|
13720
|
+
'io.flow.v0.models.transaction_metadata_outbound_transaction': (): io.flow.v0.models.TransactionMetadataOutboundTransaction => ({
|
|
13721
|
+
transaction_id: factories.string(),
|
|
13722
|
+
}),
|
|
13723
|
+
|
|
13724
|
+
'io.flow.v0.models.transaction_metadata_payment_transaction': (): io.flow.v0.models.TransactionMetadataPaymentTransaction => ({
|
|
13725
|
+
discriminator: 'payment_transaction',
|
|
13726
|
+
id: factories.string(),
|
|
13727
|
+
key: factories.string(),
|
|
13728
|
+
}),
|
|
13729
|
+
|
|
13639
13730
|
'io.flow.v0.models.transaction_metadata_shipping_label': (): io.flow.v0.models.TransactionMetadataShippingLabel => ({
|
|
13640
13731
|
discriminator: 'shipping_label',
|
|
13641
13732
|
request_method: factories['io.flow.v0.enums.label_request_method'](),
|
|
@@ -13655,6 +13746,22 @@ const factories = {
|
|
|
13655
13746
|
actual: factories['io.flow.v0.models.transaction_metadata_trueup_data'](),
|
|
13656
13747
|
}),
|
|
13657
13748
|
|
|
13749
|
+
'io.flow.v0.models.transaction_metadata_trueup_base': (): io.flow.v0.models.TransactionMetadataTrueupBase => ({
|
|
13750
|
+
discriminator: 'trueup_base',
|
|
13751
|
+
original: factories['io.flow.v0.models.transaction_metadata_original_transaction'](),
|
|
13752
|
+
estimate: factories['io.flow.v0.models.transaction_metadata_trueup_base_data'](),
|
|
13753
|
+
actual: factories['io.flow.v0.models.transaction_metadata_trueup_base_data'](),
|
|
13754
|
+
}),
|
|
13755
|
+
|
|
13756
|
+
'io.flow.v0.models.transaction_metadata_trueup_base_data': (): io.flow.v0.models.TransactionMetadataTrueupBaseData => ({
|
|
13757
|
+
source: factories['io.flow.v0.enums.trueup_source'](),
|
|
13758
|
+
weights: factories['io.flow.v0.models.trueup_label_weights'](),
|
|
13759
|
+
units: factories['io.flow.v0.models.trueup_label_units'](),
|
|
13760
|
+
base: factories['io.flow.v0.models.trueup_label_base_v2'](),
|
|
13761
|
+
fuel: factories['io.flow.v0.models.trueup_label_fuel'](),
|
|
13762
|
+
total: factories.decimal(),
|
|
13763
|
+
}),
|
|
13764
|
+
|
|
13658
13765
|
'io.flow.v0.models.transaction_metadata_trueup_data': (): io.flow.v0.models.TransactionMetadataTrueupData => ({
|
|
13659
13766
|
source: factories['io.flow.v0.enums.trueup_source'](),
|
|
13660
13767
|
units: factories['io.flow.v0.models.trueup_label_units'](),
|
|
@@ -13665,6 +13772,18 @@ const factories = {
|
|
|
13665
13772
|
dimensional: factories['io.flow.v0.models.dimensional_weight'](),
|
|
13666
13773
|
}),
|
|
13667
13774
|
|
|
13775
|
+
'io.flow.v0.models.transaction_metadata_trueup_surcharge': (): io.flow.v0.models.TransactionMetadataTrueupSurcharge => ({
|
|
13776
|
+
discriminator: 'trueup_surcharge',
|
|
13777
|
+
original: factories['io.flow.v0.models.transaction_metadata_original_transaction'](),
|
|
13778
|
+
estimate: factories['io.flow.v0.models.transaction_metadata_trueup_surcharge_data'](),
|
|
13779
|
+
actual: factories['io.flow.v0.models.transaction_metadata_trueup_surcharge_data'](),
|
|
13780
|
+
}),
|
|
13781
|
+
|
|
13782
|
+
'io.flow.v0.models.transaction_metadata_trueup_surcharge_data': (): io.flow.v0.models.TransactionMetadataTrueupSurchargeData => ({
|
|
13783
|
+
source: factories['io.flow.v0.enums.trueup_source'](),
|
|
13784
|
+
surcharge: factories['io.flow.v0.models.trueup_label_surcharge'](),
|
|
13785
|
+
}),
|
|
13786
|
+
|
|
13668
13787
|
'io.flow.v0.models.transaction_network_details_card': (): io.flow.v0.models.TransactionNetworkDetailsCard => ({
|
|
13669
13788
|
network_transaction_id: factories.string(),
|
|
13670
13789
|
network: factories['io.flow.v0.enums.card_type'](),
|
|
@@ -13702,6 +13821,20 @@ const factories = {
|
|
|
13702
13821
|
weight: factories.decimal(),
|
|
13703
13822
|
}),
|
|
13704
13823
|
|
|
13824
|
+
'io.flow.v0.models.trueup_label_base_v2': (): io.flow.v0.models.TrueupLabelBaseV2 => ({
|
|
13825
|
+
amount: factories.decimal(),
|
|
13826
|
+
}),
|
|
13827
|
+
|
|
13828
|
+
'io.flow.v0.models.trueup_label_base_weight': (): io.flow.v0.models.TrueupLabelBaseWeight => ({
|
|
13829
|
+
weight: factories.decimal(),
|
|
13830
|
+
}),
|
|
13831
|
+
|
|
13832
|
+
'io.flow.v0.models.trueup_label_fuel': (): io.flow.v0.models.TrueupLabelFuel => ({
|
|
13833
|
+
amount: factories.decimal(),
|
|
13834
|
+
percentage: factories.decimal(),
|
|
13835
|
+
per_weight_unit: factories.decimal(),
|
|
13836
|
+
}),
|
|
13837
|
+
|
|
13705
13838
|
'io.flow.v0.models.trueup_label_surcharge': (): io.flow.v0.models.TrueupLabelSurcharge => ({
|
|
13706
13839
|
amount: factories.decimal(),
|
|
13707
13840
|
type: factories['io.flow.v0.enums.trueup_surcharge_type'](),
|
|
@@ -13714,6 +13847,12 @@ const factories = {
|
|
|
13714
13847
|
length: factories['io.flow.v0.enums.unit_of_length'](),
|
|
13715
13848
|
}),
|
|
13716
13849
|
|
|
13850
|
+
'io.flow.v0.models.trueup_label_weights': (): io.flow.v0.models.TrueupLabelWeights => ({
|
|
13851
|
+
base: factories['io.flow.v0.models.trueup_label_base_weight'](),
|
|
13852
|
+
dead: factories['io.flow.v0.models.dead_weight'](),
|
|
13853
|
+
dimensional: factories['io.flow.v0.models.dimensional_weight'](),
|
|
13854
|
+
}),
|
|
13855
|
+
|
|
13717
13856
|
'io.flow.v0.models.ultimate_beneficiary_owner': (): io.flow.v0.models.UltimateBeneficiaryOwner => ({
|
|
13718
13857
|
name: factories.string(),
|
|
13719
13858
|
dob: factories.date_time_iso_8601(),
|
|
@@ -13815,11 +13954,6 @@ const factories = {
|
|
|
13815
13954
|
virtual_card_capture: factories['io.flow.v0.models.virtual_card_capture'](),
|
|
13816
13955
|
}),
|
|
13817
13956
|
|
|
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
13957
|
'io.flow.v0.models.virtual_card_reference': (): io.flow.v0.models.VirtualCardReference => ({
|
|
13824
13958
|
id: factories.string(),
|
|
13825
13959
|
}),
|
|
@@ -14347,6 +14481,8 @@ const factories = {
|
|
|
14347
14481
|
() => factories['io.flow.v0.models.notification_deleted_v2'](),
|
|
14348
14482
|
() => factories['io.flow.v0.models.manifested_label_upserted'](),
|
|
14349
14483
|
() => factories['io.flow.v0.models.manifested_label_deleted'](),
|
|
14484
|
+
() => factories['io.flow.v0.models.label_processing_modification_upserted'](),
|
|
14485
|
+
() => factories['io.flow.v0.models.label_processing_modification_deleted'](),
|
|
14350
14486
|
() => factories['io.flow.v0.models.local_item_upserted'](),
|
|
14351
14487
|
() => factories['io.flow.v0.models.local_item_deleted'](),
|
|
14352
14488
|
() => factories['io.flow.v0.models.merchant_application_upserted'](),
|
|
@@ -15169,8 +15305,12 @@ const factories = {
|
|
|
15169
15305
|
() => factories['io.flow.v0.models.transaction_metadata_shipping_label'](),
|
|
15170
15306
|
() => factories['io.flow.v0.models.transaction_metadata_channel'](),
|
|
15171
15307
|
() => factories['io.flow.v0.models.transaction_metadata_trueup'](),
|
|
15308
|
+
() => factories['io.flow.v0.models.transaction_metadata_trueup_base'](),
|
|
15309
|
+
() => factories['io.flow.v0.models.transaction_metadata_trueup_surcharge'](),
|
|
15172
15310
|
() => factories['io.flow.v0.models.transaction_metadata_carrier_charge'](),
|
|
15173
15311
|
() => factories['io.flow.v0.models.transaction_metadata_manual'](),
|
|
15312
|
+
() => factories['io.flow.v0.models.transaction_metadata_failed_payout'](),
|
|
15313
|
+
() => factories['io.flow.v0.models.transaction_metadata_payment_transaction'](),
|
|
15174
15314
|
]);
|
|
15175
15315
|
|
|
15176
15316
|
return f();
|
|
@@ -15948,6 +16088,9 @@ export const makeLabelDeletedV2 = () => factories['io.flow.v0.models.label_delet
|
|
|
15948
16088
|
export const makeLabelFormatDeleted = () => factories['io.flow.v0.models.label_format_deleted']();
|
|
15949
16089
|
export const makeLabelFormatUpserted = () => factories['io.flow.v0.models.label_format_upserted']();
|
|
15950
16090
|
export const makeLabelOrderSummary = () => factories['io.flow.v0.models.label_order_summary']();
|
|
16091
|
+
export const makeLabelProcessingModification = () => factories['io.flow.v0.models.label_processing_modification']();
|
|
16092
|
+
export const makeLabelProcessingModificationDeleted = () => factories['io.flow.v0.models.label_processing_modification_deleted']();
|
|
16093
|
+
export const makeLabelProcessingModificationUpserted = () => factories['io.flow.v0.models.label_processing_modification_upserted']();
|
|
15951
16094
|
export const makeLabelReference = () => factories['io.flow.v0.models.label_reference']();
|
|
15952
16095
|
export const makeLabelRequestMethod = () => factories['io.flow.v0.enums.label_request_method']();
|
|
15953
16096
|
export const makeLabelSurcharge = () => factories['io.flow.v0.models.label_surcharge']();
|
|
@@ -16853,16 +16996,23 @@ export const makeTransactionDetails = () => factories['io.flow.v0.unions.transac
|
|
|
16853
16996
|
export const makeTransactionDetailsCard = () => factories['io.flow.v0.models.transaction_details_card']();
|
|
16854
16997
|
export const makeTransactionMetadata = () => factories['io.flow.v0.unions.transaction_metadata']();
|
|
16855
16998
|
export const makeTransactionMetadataCarrierCharge = () => factories['io.flow.v0.models.transaction_metadata_carrier_charge']();
|
|
16856
|
-
export const makeTransactionMetadataCarrierChargeOutbound = () => factories['io.flow.v0.models.transaction_metadata_carrier_charge_outbound']();
|
|
16857
16999
|
export const makeTransactionMetadataChannel = () => factories['io.flow.v0.models.transaction_metadata_channel']();
|
|
16858
17000
|
export const makeTransactionMetadataChannelCardMetadata = () => factories['io.flow.v0.models.transaction_metadata_channel_card_metadata']();
|
|
16859
17001
|
export const makeTransactionMetadataChannelCardMetadataIssuerSummary = () => factories['io.flow.v0.models.transaction_metadata_channel_card_metadata_issuer_summary']();
|
|
17002
|
+
export const makeTransactionMetadataFailedPayout = () => factories['io.flow.v0.models.transaction_metadata_failed_payout']();
|
|
17003
|
+
export const makeTransactionMetadataFailedPayoutReference = () => factories['io.flow.v0.models.transaction_metadata_failed_payout_reference']();
|
|
16860
17004
|
export const makeTransactionMetadataManual = () => factories['io.flow.v0.models.transaction_metadata_manual']();
|
|
16861
17005
|
export const makeTransactionMetadataOriginalTransaction = () => factories['io.flow.v0.models.transaction_metadata_original_transaction']();
|
|
17006
|
+
export const makeTransactionMetadataOutboundTransaction = () => factories['io.flow.v0.models.transaction_metadata_outbound_transaction']();
|
|
17007
|
+
export const makeTransactionMetadataPaymentTransaction = () => factories['io.flow.v0.models.transaction_metadata_payment_transaction']();
|
|
16862
17008
|
export const makeTransactionMetadataShippingLabel = () => factories['io.flow.v0.models.transaction_metadata_shipping_label']();
|
|
16863
17009
|
export const makeTransactionMetadataShippingLabelCarrier = () => factories['io.flow.v0.models.transaction_metadata_shipping_label_carrier']();
|
|
16864
17010
|
export const makeTransactionMetadataTrueup = () => factories['io.flow.v0.models.transaction_metadata_trueup']();
|
|
17011
|
+
export const makeTransactionMetadataTrueupBase = () => factories['io.flow.v0.models.transaction_metadata_trueup_base']();
|
|
17012
|
+
export const makeTransactionMetadataTrueupBaseData = () => factories['io.flow.v0.models.transaction_metadata_trueup_base_data']();
|
|
16865
17013
|
export const makeTransactionMetadataTrueupData = () => factories['io.flow.v0.models.transaction_metadata_trueup_data']();
|
|
17014
|
+
export const makeTransactionMetadataTrueupSurcharge = () => factories['io.flow.v0.models.transaction_metadata_trueup_surcharge']();
|
|
17015
|
+
export const makeTransactionMetadataTrueupSurchargeData = () => factories['io.flow.v0.models.transaction_metadata_trueup_surcharge_data']();
|
|
16866
17016
|
export const makeTransactionNetworkDetailsCard = () => factories['io.flow.v0.models.transaction_network_details_card']();
|
|
16867
17017
|
export const makeTransactionReference = () => factories['io.flow.v0.models.transaction_reference']();
|
|
16868
17018
|
export const makeTransactionSource = () => factories['io.flow.v0.enums.transaction_source']();
|
|
@@ -16870,8 +17020,12 @@ export const makeTransactionUpserted = () => factories['io.flow.v0.models.transa
|
|
|
16870
17020
|
export const makeTransitEstimate = () => factories['io.flow.v0.models.transit_estimate']();
|
|
16871
17021
|
export const makeTransitWindow = () => factories['io.flow.v0.models.transit_window']();
|
|
16872
17022
|
export const makeTrueupLabelBase = () => factories['io.flow.v0.models.trueup_label_base']();
|
|
17023
|
+
export const makeTrueupLabelBaseV2 = () => factories['io.flow.v0.models.trueup_label_base_v2']();
|
|
17024
|
+
export const makeTrueupLabelBaseWeight = () => factories['io.flow.v0.models.trueup_label_base_weight']();
|
|
17025
|
+
export const makeTrueupLabelFuel = () => factories['io.flow.v0.models.trueup_label_fuel']();
|
|
16873
17026
|
export const makeTrueupLabelSurcharge = () => factories['io.flow.v0.models.trueup_label_surcharge']();
|
|
16874
17027
|
export const makeTrueupLabelUnits = () => factories['io.flow.v0.models.trueup_label_units']();
|
|
17028
|
+
export const makeTrueupLabelWeights = () => factories['io.flow.v0.models.trueup_label_weights']();
|
|
16875
17029
|
export const makeTrueupSource = () => factories['io.flow.v0.enums.trueup_source']();
|
|
16876
17030
|
export const makeTrueupSurchargeType = () => factories['io.flow.v0.enums.trueup_surcharge_type']();
|
|
16877
17031
|
export const makeUltimateBeneficiaryOwner = () => factories['io.flow.v0.models.ultimate_beneficiary_owner']();
|
|
@@ -16897,7 +17051,6 @@ export const makeVirtualCardCapture = () => factories['io.flow.v0.models.virtual
|
|
|
16897
17051
|
export const makeVirtualCardCaptureDeleted = () => factories['io.flow.v0.models.virtual_card_capture_deleted']();
|
|
16898
17052
|
export const makeVirtualCardCaptureUpserted = () => factories['io.flow.v0.models.virtual_card_capture_upserted']();
|
|
16899
17053
|
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
17054
|
export const makeVirtualCardReference = () => factories['io.flow.v0.models.virtual_card_reference']();
|
|
16902
17055
|
export const makeVirtualCardRefund = () => factories['io.flow.v0.models.virtual_card_refund']();
|
|
16903
17056
|
export const makeVirtualCardRefundDeleted = () => factories['io.flow.v0.models.virtual_card_refund_deleted']();
|