@flowio/api-internal-factories 0.0.103 → 0.0.104

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.
@@ -632,6 +632,7 @@ const factories = {
632
632
  posting_cutoff: factories.date_time_iso_8601(),
633
633
  trigger: factories['io.flow.billing.accounting.v0.unions.fulfillment_trigger'](),
634
634
  fulfilled_at: factories.date_time_iso_8601(),
635
+ carrier: factories['io.flow.billing.accounting.v0.models.fulfillment_carrier'](),
635
636
  owner: factories['io.flow.billing.internal.v0.enums.responsible_party'](),
636
637
  origin: factories['io.flow.billing.accounting.v0.models.fulfillment_origin'](),
637
638
  business: factories['io.flow.billing.accounting.v0.models.fulfillment_business'](),
@@ -642,6 +643,12 @@ const factories = {
642
643
  vat_registration_number: factories.string(),
643
644
  }),
644
645
 
646
+ 'io.flow.billing.accounting.v0.models.fulfillment_carrier': (): io.flow.billing.accounting.v0.models.FulfillmentCarrier => ({
647
+ id: factories.string(),
648
+ service_id: factories.string(),
649
+ tracking_number: factories.string(),
650
+ }),
651
+
645
652
  'io.flow.billing.accounting.v0.models.fulfillment_origin': (): io.flow.billing.accounting.v0.models.FulfillmentOrigin => ({
646
653
  country: factories.string(),
647
654
  province_code: factories.string(),
@@ -1100,6 +1107,10 @@ const factories = {
1100
1107
  source: factories['io.flow.label.v0.enums.cost_estimate_source'](),
1101
1108
  }),
1102
1109
 
1110
+ 'io.flow.billing.csv.v0.models.billing_csv_merchant_reference': (): io.flow.billing.csv.v0.models.BillingCsvMerchantReference => ({
1111
+ id: factories.string(),
1112
+ }),
1113
+
1103
1114
  'io.flow.billing.csv.v0.models.billing_csv_order': (): io.flow.billing.csv.v0.models.BillingCsvOrder => ({
1104
1115
  number: factories.string(),
1105
1116
  primary_identifier: factories.string(),
@@ -1249,6 +1260,7 @@ const factories = {
1249
1260
 
1250
1261
  'io.flow.billing.csv.v0.models.billing_csv_transaction_account': (): io.flow.billing.csv.v0.models.BillingCsvTransactionAccount => ({
1251
1262
  id: factories.string(),
1263
+ merchant: factories['io.flow.billing.csv.v0.models.billing_csv_merchant_reference'](),
1252
1264
  environment: factories['io.flow.common.v0.enums.environment'](),
1253
1265
  source: factories['io.flow.billing.csv.v0.models.billing_csv_transaction_account_source_summary'](),
1254
1266
  }),
@@ -1284,8 +1296,8 @@ const factories = {
1284
1296
  shipping_label_revenue_share: factories['io.flow.billing.csv.v0.models.billing_csv_transaction_metadata_shipping_label_revenue_share'](),
1285
1297
  trueup: factories['io.flow.billing.csv.v0.models.billing_csv_transaction_metadata_trueup'](),
1286
1298
  carrier_charge: factories['io.flow.billing.csv.v0.models.billing_csv_transaction_metadata_carrier_charge'](),
1287
- carrier_fee: factories['io.flow.billing.csv.v0.models.billing_csv_transaction_metadata_carrier_fee'](),
1288
1299
  manual: factories['io.flow.billing.csv.v0.models.billing_csv_transaction_metadata_manual'](),
1300
+ failed_payout: factories['io.flow.billing.csv.v0.models.billing_csv_transaction_metadata_failed_payout'](),
1289
1301
  }),
1290
1302
 
1291
1303
  'io.flow.billing.csv.v0.models.billing_csv_transaction_metadata_carrier_charge': (): io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataCarrierCharge => ({
@@ -1297,21 +1309,19 @@ const factories = {
1297
1309
  outbound_transaction_id: factories.string(),
1298
1310
  }),
1299
1311
 
1300
- 'io.flow.billing.csv.v0.models.billing_csv_transaction_metadata_carrier_fee': (): io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataCarrierFee => ({
1301
- outbound_transaction_id: factories.string(),
1302
- estimate_fixed_ddp: factories.decimal(),
1303
- estimate_fixed_currency_conversion: factories.decimal(),
1304
- actual_fixed_ddp: factories.decimal(),
1305
- actual_fixed_currency_conversion: factories.decimal(),
1306
- }),
1307
-
1308
1312
  'io.flow.billing.csv.v0.models.billing_csv_transaction_metadata_channel': (): io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataChannel => ({
1309
1313
  method: factories.string(),
1310
1314
  card: factories['io.flow.billing.v0.models.transaction_metadata_channel_card_metadata'](),
1311
1315
  }),
1312
1316
 
1317
+ 'io.flow.billing.csv.v0.models.billing_csv_transaction_metadata_failed_payout': (): io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataFailedPayout => ({
1318
+ failed_payment: factories['io.flow.billing.v0.models.transaction_metadata_failed_payout_reference'](),
1319
+ }),
1320
+
1313
1321
  'io.flow.billing.csv.v0.models.billing_csv_transaction_metadata_manual': (): io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataManual => ({
1322
+ description: factories.string(),
1314
1323
  original: factories['io.flow.billing.v0.models.transaction_metadata_original_transaction'](),
1324
+ category: factories['io.flow.billing.internal.v0.enums.manual_transaction_category'](),
1315
1325
  url: factories.string(),
1316
1326
  }),
1317
1327
 
@@ -1423,7 +1433,6 @@ const factories = {
1423
1433
  'duty',
1424
1434
  'trueup',
1425
1435
  'carrier_charge',
1426
- 'carrier_fee',
1427
1436
  'all',
1428
1437
  ]),
1429
1438
 
@@ -1452,11 +1461,9 @@ const factories = {
1452
1461
  'duty',
1453
1462
  'trueup',
1454
1463
  'carrier_charge',
1455
- 'carrier_fee',
1456
1464
  ]),
1457
1465
 
1458
1466
  'io.flow.billing.internal.v0.enums.carrier_charge_transaction_type': (): io.flow.billing.internal.v0.enums.CarrierChargeTransactionType => faker.helpers.arrayElement(['adjustment', 'reversal', 'charge', 'revenue_share']),
1459
- 'io.flow.billing.internal.v0.enums.carrier_fee_transaction_type': (): io.flow.billing.internal.v0.enums.CarrierFeeTransactionType => faker.helpers.arrayElement(['adjustment', 'reversal', 'fee']),
1460
1467
  'io.flow.billing.internal.v0.enums.channel_billed_transaction_type': (): io.flow.billing.internal.v0.enums.ChannelBilledTransactionType => faker.helpers.arrayElement(['adjustment', 'reversal', 'channel_initiated']),
1461
1468
  'io.flow.billing.internal.v0.enums.channel_transaction_type': (): io.flow.billing.internal.v0.enums.ChannelTransactionType => faker.helpers.arrayElement(['adjustment', 'reversal', 'processing']),
1462
1469
  'io.flow.billing.internal.v0.enums.dispute_transaction_type': (): io.flow.billing.internal.v0.enums.DisputeTransactionType => faker.helpers.arrayElement(['adjustment', 'dispute']),
@@ -1466,10 +1473,8 @@ const factories = {
1466
1473
 
1467
1474
  'io.flow.billing.internal.v0.enums.manual_transaction_category': (): io.flow.billing.internal.v0.enums.ManualTransactionCategory => faker.helpers.arrayElement([
1468
1475
  'cancelled_order_refund',
1469
- 'channel_partner_initiated',
1470
1476
  'client_accepted_chargeback',
1471
1477
  'fee_reimbursement',
1472
- 'partial_refund',
1473
1478
  'platform_fee',
1474
1479
  'shipping_true_up',
1475
1480
  'tax_credit',
@@ -1592,6 +1597,7 @@ const factories = {
1592
1597
  liabilities_method: factories['io.flow.billing.internal.v0.enums.account_setting_liabilities_method'](),
1593
1598
  enable_fee_reversals: factories.boolean(),
1594
1599
  record_reason_for_transactions_pending_payout: factories.boolean(),
1600
+ enable_negative_debits: factories.boolean(),
1595
1601
  }),
1596
1602
 
1597
1603
  'io.flow.billing.internal.v0.models.account_source': (): io.flow.billing.internal.v0.models.AccountSource => ({
@@ -1678,6 +1684,16 @@ const factories = {
1678
1684
  attributes: objectOf(() => factories.string()),
1679
1685
  }),
1680
1686
 
1687
+ 'io.flow.billing.internal.v0.models.bank_payment_order': (): io.flow.billing.internal.v0.models.BankPaymentOrder => ({
1688
+ id: factories.string(),
1689
+ payment: factories['io.flow.billing.internal.v0.models.bank_payment_reference'](),
1690
+ order: factories['io.flow.billing.internal.v0.models.billing_order_transaction_order_reference'](),
1691
+ }),
1692
+
1693
+ 'io.flow.billing.internal.v0.models.bank_payment_reference': (): io.flow.billing.internal.v0.models.BankPaymentReference => ({
1694
+ id: factories.string(),
1695
+ }),
1696
+
1681
1697
  'io.flow.billing.internal.v0.models.bank_payment_status_form': (): io.flow.billing.internal.v0.models.BankPaymentStatusForm => ({
1682
1698
  code: factories['io.flow.billing.internal.v0.enums.bank_payment_status_code'](),
1683
1699
  failure_reason: factories['io.flow.billing.v0.enums.payout_status_failure_code'](),
@@ -1827,7 +1843,6 @@ const factories = {
1827
1843
  duty: factories['io.flow.common.v0.models.price'](),
1828
1844
  trueup: factories['io.flow.common.v0.models.price'](),
1829
1845
  carrier_charge: factories['io.flow.common.v0.models.price'](),
1830
- carrier_fee: factories['io.flow.common.v0.models.price'](),
1831
1846
  ending_balance: factories['io.flow.common.v0.models.price'](),
1832
1847
  }),
1833
1848
 
@@ -1861,23 +1876,6 @@ const factories = {
1861
1876
  created_at: factories.date_time_iso_8601(),
1862
1877
  }),
1863
1878
 
1864
- 'io.flow.billing.internal.v0.models.carrier_fee_transaction': (): io.flow.billing.internal.v0.models.CarrierFeeTransaction => ({
1865
- discriminator: 'carrier_fee_transaction',
1866
- label_reference: factories['io.flow.billing.internal.v0.models.carrier_fee_transaction_label_reference'](),
1867
- id: factories.string(),
1868
- type: factories['io.flow.billing.internal.v0.enums.billing_transaction_type'](),
1869
- status: factories['io.flow.billing.internal.v0.enums.billing_transaction_status'](),
1870
- posted_at: factories.date_time_iso_8601(),
1871
- value: factories['io.flow.common.v0.models.price'](),
1872
- description: factories.string(),
1873
- statement: factories['io.flow.billing.internal.v0.models.billing_statement_reference'](),
1874
- created_at: factories.date_time_iso_8601(),
1875
- }),
1876
-
1877
- 'io.flow.billing.internal.v0.models.carrier_fee_transaction_label_reference': (): io.flow.billing.internal.v0.models.CarrierFeeTransactionLabelReference => ({
1878
- id: factories.string(),
1879
- }),
1880
-
1881
1879
  'io.flow.billing.internal.v0.models.channel_account': (): io.flow.billing.internal.v0.models.ChannelAccount => ({
1882
1880
  channel: factories['io.flow.common.v0.models.channel_reference'](),
1883
1881
  id: factories.string(),
@@ -1981,6 +1979,17 @@ const factories = {
1981
1979
  timestamp: factories.date_time_iso_8601(),
1982
1980
  }),
1983
1981
 
1982
+ 'io.flow.billing.internal.v0.models.cli_log_entry': (): io.flow.billing.internal.v0.models.CliLogEntry => ({
1983
+ id: factories.string(),
1984
+ user: factories['io.flow.common.v0.models.user_reference'](),
1985
+ task: factories.string(),
1986
+ }),
1987
+
1988
+ 'io.flow.billing.internal.v0.models.cli_log_entry_form': (): io.flow.billing.internal.v0.models.CliLogEntryForm => ({
1989
+ user_id: factories.string(),
1990
+ task: factories.string(),
1991
+ }),
1992
+
1984
1993
  'io.flow.billing.internal.v0.models.components': (): io.flow.billing.internal.v0.models.Components => ({
1985
1994
  vat: factories['io.flow.common.v0.models.price'](),
1986
1995
  duty: factories['io.flow.common.v0.models.price'](),
@@ -2720,7 +2729,6 @@ const factories = {
2720
2729
  () => factories['io.flow.billing.internal.v0.models.duty_transaction'](),
2721
2730
  () => factories['io.flow.billing.internal.v0.models.trueup_transaction'](),
2722
2731
  () => factories['io.flow.billing.internal.v0.models.carrier_charge_transaction'](),
2723
- () => factories['io.flow.billing.internal.v0.models.carrier_fee_transaction'](),
2724
2732
  ]);
2725
2733
 
2726
2734
  return f();
@@ -2761,6 +2769,7 @@ const factories = {
2761
2769
  marked_as_final: factories['io.flow.billing.reporting.v0.models.marked_as_final'](),
2762
2770
  }),
2763
2771
 
2772
+ 'io.flow.billing.reporting.v0.enums.report_payment_type': (): io.flow.billing.reporting.v0.enums.ReportPaymentType => faker.helpers.arrayElement(['credit', 'debit']),
2764
2773
  'io.flow.billing.reporting.v0.enums.report_status': (): io.flow.billing.reporting.v0.enums.ReportStatus => faker.helpers.arrayElement(['created', 'completed', 'completed_no_records', 'failed']),
2765
2774
 
2766
2775
  'io.flow.billing.reporting.v0.enums.report_type': (): io.flow.billing.reporting.v0.enums.ReportType => faker.helpers.arrayElement([
@@ -2769,6 +2778,7 @@ const factories = {
2769
2778
  'non_channel_payment_bank_account',
2770
2779
  'scheduled_payment',
2771
2780
  'account_quarterly_balances',
2781
+ 'invariants',
2772
2782
  ]),
2773
2783
 
2774
2784
  'io.flow.billing.reporting.v0.enums.reporting_fulfillment_is_virtual': (): io.flow.billing.reporting.v0.enums.ReportingFulfillmentIsVirtual => faker.helpers.arrayElement(['all', 'mixed', 'none']),
@@ -2806,6 +2816,7 @@ const factories = {
2806
2816
  type: factories['io.flow.billing.reporting.v0.enums.report_type'](),
2807
2817
  from: factories.date_time_iso_8601(),
2808
2818
  to: factories.date_time_iso_8601(),
2819
+ payment_type: factories['io.flow.billing.reporting.v0.enums.report_payment_type'](),
2809
2820
  url: factories.string(),
2810
2821
  processed_at: factories.date_time_iso_8601(),
2811
2822
  }),
@@ -2828,9 +2839,23 @@ const factories = {
2828
2839
  }),
2829
2840
 
2830
2841
  'io.flow.billing.reporting.v0.models.report_form': (): io.flow.billing.reporting.v0.models.ReportForm => ({
2842
+ type: factories['io.flow.billing.reporting.v0.enums.report_type'](),
2831
2843
  from: factories.date_time_iso_8601(),
2832
2844
  to: factories.date_time_iso_8601(),
2833
- type: factories['io.flow.billing.reporting.v0.enums.report_type'](),
2845
+ payment_type: factories['io.flow.billing.reporting.v0.enums.report_payment_type'](),
2846
+
2847
+ orders: arrayOf(
2848
+ () => factories['io.flow.billing.reporting.v0.models.report_order_reference'](),
2849
+ ),
2850
+ }),
2851
+
2852
+ 'io.flow.billing.reporting.v0.models.report_merchant': (): io.flow.billing.reporting.v0.models.ReportMerchant => ({
2853
+ id: factories.string(),
2854
+ }),
2855
+
2856
+ 'io.flow.billing.reporting.v0.models.report_order_reference': (): io.flow.billing.reporting.v0.models.ReportOrderReference => ({
2857
+ organization_id: factories.string(),
2858
+ order_number: factories.string(),
2834
2859
  }),
2835
2860
 
2836
2861
  'io.flow.billing.reporting.v0.models.report_owner': (): io.flow.billing.reporting.v0.models.ReportOwner => ({
@@ -2961,7 +2986,6 @@ const factories = {
2961
2986
  tax: factories['io.flow.billing.reporting.v0.models.reporting_monetary_value'](),
2962
2987
  duty: factories['io.flow.billing.reporting.v0.models.reporting_monetary_value'](),
2963
2988
  freight: factories['io.flow.billing.reporting.v0.models.reporting_monetary_value'](),
2964
- refund: factories['io.flow.billing.reporting.v0.models.reporting_monetary_value'](),
2965
2989
  }),
2966
2990
 
2967
2991
  'io.flow.billing.reporting.v0.models.reporting_monetary_value': (): io.flow.billing.reporting.v0.models.ReportingMonetaryValue => ({
@@ -3072,6 +3096,7 @@ const factories = {
3072
3096
  payment: factories['io.flow.billing.reporting.v0.models.report_payment'](),
3073
3097
  bank_account: factories['io.flow.billing.reporting.v0.models.report_bank_account_cleartext'](),
3074
3098
  account: factories['io.flow.billing.reporting.v0.models.report_account'](),
3099
+ merchant: factories['io.flow.billing.reporting.v0.models.report_merchant'](),
3075
3100
  owner: factories['io.flow.billing.reporting.v0.models.report_owner'](),
3076
3101
  description: factories.string(),
3077
3102
  }),
@@ -3111,9 +3136,10 @@ const factories = {
3111
3136
  'shipping_label_service',
3112
3137
  'shipping_label_revenue_share',
3113
3138
  'trueup',
3139
+ 'trueup_base',
3140
+ 'trueup_surcharge',
3114
3141
  'carrier_charge',
3115
3142
  'carrier_charge_revenue_share',
3116
- 'carrier_fee',
3117
3143
  'platform_fee',
3118
3144
  'tax',
3119
3145
  'duty',
@@ -3125,9 +3151,10 @@ const factories = {
3125
3151
  'order_service',
3126
3152
  'virtual_card_capture',
3127
3153
  'virtual_card_refund',
3154
+ 'failed_payout',
3128
3155
  ]),
3129
3156
 
3130
- 'io.flow.billing.v0.enums.trueup_source': (): io.flow.billing.v0.enums.TrueupSource => faker.helpers.arrayElement(['flow', 'channel', 'dhl-parcel', 'dhl']),
3157
+ 'io.flow.billing.v0.enums.trueup_source': (): io.flow.billing.v0.enums.TrueupSource => faker.helpers.arrayElement(['flow', 'channel', 'dhl-parcel', 'dhl', 'ups']),
3131
3158
  'io.flow.billing.v0.enums.withholding_deduction_type': (): io.flow.billing.v0.enums.WithholdingDeductionType => faker.helpers.arrayElement(['tax', 'duty', 'freight', 'insurance']),
3132
3159
 
3133
3160
  'io.flow.billing.v0.models.account_id_reference': (): io.flow.billing.v0.models.AccountIdReference => ({
@@ -3417,21 +3444,11 @@ const factories = {
3417
3444
  outbound: factories['io.flow.billing.v0.models.transaction_metadata_outbound_transaction'](),
3418
3445
  }),
3419
3446
 
3420
- 'io.flow.billing.v0.models.transaction_metadata_carrier_fee': (): io.flow.billing.v0.models.TransactionMetadataCarrierFee => ({
3421
- discriminator: 'carrier_fee',
3422
- outbound: factories['io.flow.billing.v0.models.transaction_metadata_outbound_transaction'](),
3423
- estimate: factories['io.flow.billing.v0.models.transaction_metadata_carrier_fee_data'](),
3424
- actual: factories['io.flow.billing.v0.models.transaction_metadata_carrier_fee_data'](),
3425
- }),
3426
-
3427
- 'io.flow.billing.v0.models.transaction_metadata_carrier_fee_data': (): io.flow.billing.v0.models.TransactionMetadataCarrierFeeData => ({
3428
- surcharges: arrayOf(() => factories['io.flow.billing.v0.models.trueup_label_surcharge']()),
3429
- }),
3430
-
3431
3447
  'io.flow.billing.v0.models.transaction_metadata_channel': (): io.flow.billing.v0.models.TransactionMetadataChannel => ({
3432
3448
  discriminator: 'channel',
3433
3449
  method: factories.string(),
3434
3450
  card: factories['io.flow.billing.v0.models.transaction_metadata_channel_card_metadata'](),
3451
+ organization_transaction: factories['io.flow.billing.v0.models.transaction_reference'](),
3435
3452
  }),
3436
3453
 
3437
3454
  'io.flow.billing.v0.models.transaction_metadata_channel_card_metadata': (): io.flow.billing.v0.models.TransactionMetadataChannelCardMetadata => ({
@@ -3444,6 +3461,15 @@ const factories = {
3444
3461
  country: factories.string(),
3445
3462
  }),
3446
3463
 
3464
+ 'io.flow.billing.v0.models.transaction_metadata_failed_payout': (): io.flow.billing.v0.models.TransactionMetadataFailedPayout => ({
3465
+ discriminator: 'failed_payout',
3466
+ failed_payout: factories['io.flow.billing.v0.models.transaction_metadata_failed_payout_reference'](),
3467
+ }),
3468
+
3469
+ 'io.flow.billing.v0.models.transaction_metadata_failed_payout_reference': (): io.flow.billing.v0.models.TransactionMetadataFailedPayoutReference => ({
3470
+ id: factories.string(),
3471
+ }),
3472
+
3447
3473
  'io.flow.billing.v0.models.transaction_metadata_manual': (): io.flow.billing.v0.models.TransactionMetadataManual => ({
3448
3474
  discriminator: 'manual',
3449
3475
  description: factories.string(),
@@ -3461,6 +3487,7 @@ const factories = {
3461
3487
 
3462
3488
  'io.flow.billing.v0.models.transaction_metadata_payment_transaction': (): io.flow.billing.v0.models.TransactionMetadataPaymentTransaction => ({
3463
3489
  discriminator: 'payment_transaction',
3490
+ id: factories.string(),
3464
3491
  key: factories.string(),
3465
3492
  }),
3466
3493
 
@@ -3483,6 +3510,22 @@ const factories = {
3483
3510
  actual: factories['io.flow.billing.v0.models.transaction_metadata_trueup_data'](),
3484
3511
  }),
3485
3512
 
3513
+ 'io.flow.billing.v0.models.transaction_metadata_trueup_base': (): io.flow.billing.v0.models.TransactionMetadataTrueupBase => ({
3514
+ discriminator: 'trueup_base',
3515
+ original: factories['io.flow.billing.v0.models.transaction_metadata_original_transaction'](),
3516
+ estimate: factories['io.flow.billing.v0.models.transaction_metadata_trueup_base_data'](),
3517
+ actual: factories['io.flow.billing.v0.models.transaction_metadata_trueup_base_data'](),
3518
+ }),
3519
+
3520
+ 'io.flow.billing.v0.models.transaction_metadata_trueup_base_data': (): io.flow.billing.v0.models.TransactionMetadataTrueupBaseData => ({
3521
+ source: factories['io.flow.billing.v0.enums.trueup_source'](),
3522
+ weights: factories['io.flow.billing.v0.models.trueup_label_weights'](),
3523
+ units: factories['io.flow.billing.v0.models.trueup_label_units'](),
3524
+ base: factories['io.flow.billing.v0.models.trueup_label_base_v2'](),
3525
+ fuel: factories['io.flow.billing.v0.models.trueup_label_fuel'](),
3526
+ total: factories.decimal(),
3527
+ }),
3528
+
3486
3529
  'io.flow.billing.v0.models.transaction_metadata_trueup_data': (): io.flow.billing.v0.models.TransactionMetadataTrueupData => ({
3487
3530
  source: factories['io.flow.billing.v0.enums.trueup_source'](),
3488
3531
  units: factories['io.flow.billing.v0.models.trueup_label_units'](),
@@ -3493,6 +3536,18 @@ const factories = {
3493
3536
  dimensional: factories['io.flow.trueup.v0.models.dimensional_weight'](),
3494
3537
  }),
3495
3538
 
3539
+ 'io.flow.billing.v0.models.transaction_metadata_trueup_surcharge': (): io.flow.billing.v0.models.TransactionMetadataTrueupSurcharge => ({
3540
+ discriminator: 'trueup_surcharge',
3541
+ original: factories['io.flow.billing.v0.models.transaction_metadata_original_transaction'](),
3542
+ estimate: factories['io.flow.billing.v0.models.transaction_metadata_trueup_surcharge_data'](),
3543
+ actual: factories['io.flow.billing.v0.models.transaction_metadata_trueup_surcharge_data'](),
3544
+ }),
3545
+
3546
+ 'io.flow.billing.v0.models.transaction_metadata_trueup_surcharge_data': (): io.flow.billing.v0.models.TransactionMetadataTrueupSurchargeData => ({
3547
+ source: factories['io.flow.billing.v0.enums.trueup_source'](),
3548
+ surcharge: factories['io.flow.billing.v0.models.trueup_label_surcharge'](),
3549
+ }),
3550
+
3496
3551
  'io.flow.billing.v0.models.transaction_reference': (): io.flow.billing.v0.models.TransactionReference => ({
3497
3552
  id: factories.string(),
3498
3553
  }),
@@ -3502,6 +3557,20 @@ const factories = {
3502
3557
  weight: factories.decimal(),
3503
3558
  }),
3504
3559
 
3560
+ 'io.flow.billing.v0.models.trueup_label_base_v2': (): io.flow.billing.v0.models.TrueupLabelBaseV2 => ({
3561
+ amount: factories.decimal(),
3562
+ }),
3563
+
3564
+ 'io.flow.billing.v0.models.trueup_label_base_weight': (): io.flow.billing.v0.models.TrueupLabelBaseWeight => ({
3565
+ weight: factories.decimal(),
3566
+ }),
3567
+
3568
+ 'io.flow.billing.v0.models.trueup_label_fuel': (): io.flow.billing.v0.models.TrueupLabelFuel => ({
3569
+ amount: factories.decimal(),
3570
+ percentage: factories.decimal(),
3571
+ per_weight_unit: factories.decimal(),
3572
+ }),
3573
+
3505
3574
  'io.flow.billing.v0.models.trueup_label_surcharge': (): io.flow.billing.v0.models.TrueupLabelSurcharge => ({
3506
3575
  amount: factories.decimal(),
3507
3576
  type: factories['io.flow.trueup.v0.enums.trueup_surcharge_type'](),
@@ -3514,6 +3583,12 @@ const factories = {
3514
3583
  length: factories['io.flow.units.v0.enums.unit_of_length'](),
3515
3584
  }),
3516
3585
 
3586
+ 'io.flow.billing.v0.models.trueup_label_weights': (): io.flow.billing.v0.models.TrueupLabelWeights => ({
3587
+ base: factories['io.flow.billing.v0.models.trueup_label_base_weight'](),
3588
+ dead: factories['io.flow.trueup.v0.models.dead_weight'](),
3589
+ dimensional: factories['io.flow.trueup.v0.models.dimensional_weight'](),
3590
+ }),
3591
+
3517
3592
  'io.flow.billing.v0.models.withholding_deduction': (): io.flow.billing.v0.models.WithholdingDeduction => ({
3518
3593
  type: factories['io.flow.billing.v0.enums.withholding_deduction_type'](),
3519
3594
  amount: factories.decimal(),
@@ -3553,9 +3628,11 @@ const factories = {
3553
3628
  () => factories['io.flow.billing.v0.models.transaction_metadata_shipping_label'](),
3554
3629
  () => factories['io.flow.billing.v0.models.transaction_metadata_channel'](),
3555
3630
  () => factories['io.flow.billing.v0.models.transaction_metadata_trueup'](),
3631
+ () => factories['io.flow.billing.v0.models.transaction_metadata_trueup_base'](),
3632
+ () => factories['io.flow.billing.v0.models.transaction_metadata_trueup_surcharge'](),
3556
3633
  () => factories['io.flow.billing.v0.models.transaction_metadata_carrier_charge'](),
3557
- () => factories['io.flow.billing.v0.models.transaction_metadata_carrier_fee'](),
3558
3634
  () => factories['io.flow.billing.v0.models.transaction_metadata_manual'](),
3635
+ () => factories['io.flow.billing.v0.models.transaction_metadata_failed_payout'](),
3559
3636
  () => factories['io.flow.billing.v0.models.transaction_metadata_payment_transaction'](),
3560
3637
  ]);
3561
3638
 
@@ -9403,16 +9480,19 @@ const factories = {
9403
9480
  'adjustment_transactions_count',
9404
9481
  'adjustment_transactions_total',
9405
9482
  'capture_transactions_count',
9483
+ 'capture_transactions_reconcile_payments_count',
9406
9484
  'capture_transactions_ignored_fraud_count',
9407
9485
  'capture_transactions_ignored_fully_refunded_count',
9408
9486
  'capture_transactions_ignored_other_count',
9409
9487
  'capture_transactions_ignored_previously_processed_count',
9488
+ 'capture_transactions_succeeded_then_failed_count',
9489
+ 'capture_transactions_succeeded_then_failed_total',
9490
+ 'capture_transactions_succeeded_then_failed_same_day_count',
9491
+ 'capture_transactions_succeeded_then_failed_same_day_total',
9410
9492
  'capture_queued_count',
9411
9493
  'capture_transactions_total',
9412
9494
  'carrier_charge_transactions_count',
9413
9495
  'carrier_charge_transactions_total',
9414
- 'carrier_fee_transactions_count',
9415
- 'carrier_fee_transactions_total',
9416
9496
  'channel_transactions_processing_count',
9417
9497
  'channel_transactions_processing_total',
9418
9498
  'channel_transactions_adjustment_count',
@@ -9423,6 +9503,7 @@ const factories = {
9423
9503
  'channel_billed_transactions_total',
9424
9504
  'credit_payment_transactions_count',
9425
9505
  'credit_payment_transactions_total',
9506
+ 'duty_to_labels_ratio',
9426
9507
  'duty_transactions_count',
9427
9508
  'duty_transactions_total',
9428
9509
  'fully_subsidized_order_transactions_count',
@@ -9440,6 +9521,7 @@ const factories = {
9440
9521
  'order_transactions_count',
9441
9522
  'order_transactions_total',
9442
9523
  'refund_transactions_count',
9524
+ 'refund_transactions_reconcile_payments_count',
9443
9525
  'refund_transactions_ignored_fraud_count',
9444
9526
  'refund_transactions_ignored_fully_refunded_count',
9445
9527
  'refund_transactions_ignored_other_count',
@@ -9448,6 +9530,8 @@ const factories = {
9448
9530
  'refund_transactions_total',
9449
9531
  'refund_transactions_succeeded_then_failed_count',
9450
9532
  'refund_transactions_succeeded_then_failed_total',
9533
+ 'refund_transactions_succeeded_then_failed_same_day_count',
9534
+ 'refund_transactions_succeeded_then_failed_same_day_total',
9451
9535
  'reversal_order_cancellations_transactions_count',
9452
9536
  'reversal_order_cancellations_transactions_total',
9453
9537
  'reversal_external_fulfillment_transactions_count',
@@ -9456,6 +9540,7 @@ const factories = {
9456
9540
  'reversal_other_transactions_total',
9457
9541
  'reversal_all_transactions_count',
9458
9542
  'reversal_all_transactions_total',
9543
+ 'tax_to_labels_ratio',
9459
9544
  'tax_transactions_count',
9460
9545
  'tax_transactions_total',
9461
9546
  'transfer_transactions_count',
@@ -9507,9 +9592,8 @@ const factories = {
9507
9592
  'accounts_with_final_statements_count',
9508
9593
  'accounts_with_final_statements_pending_transaction_count',
9509
9594
  'accounts_with_final_statements_pending_transaction_total',
9510
- 'orders_wyol_then_label_count',
9511
- 'orders_wyol_then_label_tax_subsidized_total',
9512
- 'orders_wyol_then_label_duty_subsidized_total',
9595
+ 'edited_order_tax_amount_exceeding_transaction',
9596
+ 'edited_order_duty_amount_exceeding_transaction',
9513
9597
  ]),
9514
9598
 
9515
9599
  'io.flow.internal.v0.enums.billing_statement_attachment_key': (): io.flow.internal.v0.enums.BillingStatementAttachmentKey => faker.helpers.arrayElement([
@@ -9529,7 +9613,6 @@ const factories = {
9529
9613
  'duty',
9530
9614
  'trueup',
9531
9615
  'carrier_charge',
9532
- 'carrier_fee',
9533
9616
  'all',
9534
9617
  ]),
9535
9618
 
@@ -9558,7 +9641,6 @@ const factories = {
9558
9641
  'duty',
9559
9642
  'trueup',
9560
9643
  'carrier_charge',
9561
- 'carrier_fee',
9562
9644
  ]),
9563
9645
 
9564
9646
  'io.flow.internal.v0.enums.browser_bundle_error_code': (): io.flow.internal.v0.enums.BrowserBundleErrorCode => faker.helpers.arrayElement(['generic_error', 'country_invalid']),
@@ -9573,9 +9655,8 @@ const factories = {
9573
9655
  ]),
9574
9656
 
9575
9657
  'io.flow.internal.v0.enums.carrier_charge_transaction_type': (): io.flow.internal.v0.enums.CarrierChargeTransactionType => faker.helpers.arrayElement(['adjustment', 'reversal', 'charge', 'revenue_share']),
9576
- 'io.flow.internal.v0.enums.carrier_charge_type': (): io.flow.internal.v0.enums.CarrierChargeType => faker.helpers.arrayElement(['label', 'other']),
9577
- 'io.flow.internal.v0.enums.carrier_fee_transaction_type': (): io.flow.internal.v0.enums.CarrierFeeTransactionType => faker.helpers.arrayElement(['adjustment', 'reversal', 'fee']),
9578
- 'io.flow.internal.v0.enums.carrier_file_type': (): io.flow.internal.v0.enums.CarrierFileType => faker.helpers.arrayElement(['charge', 'fee']),
9658
+ 'io.flow.internal.v0.enums.carrier_charge_type': (): io.flow.internal.v0.enums.CarrierChargeType => faker.helpers.arrayElement(['label', 'tax', 'other']),
9659
+ 'io.flow.internal.v0.enums.carrier_file_type': (): io.flow.internal.v0.enums.CarrierFileType => faker.helpers.arrayElement(['freight', 'tax']),
9579
9660
  'io.flow.internal.v0.enums.carrier_label_generation_method': (): io.flow.internal.v0.enums.CarrierLabelGenerationMethod => faker.helpers.arrayElement(['direct', 'easypost']),
9580
9661
  'io.flow.internal.v0.enums.carrier_validation_status': (): io.flow.internal.v0.enums.CarrierValidationStatus => faker.helpers.arrayElement(['success', 'error']),
9581
9662
 
@@ -9640,6 +9721,8 @@ const factories = {
9640
9721
  'security_surcharge',
9641
9722
  'duties_fx_surcharge',
9642
9723
  'electronic_export_information_surcharge',
9724
+ 'additional_handling',
9725
+ 'large_package_surcharge',
9643
9726
  ]),
9644
9727
 
9645
9728
  'io.flow.internal.v0.enums.chargeback_payment_status': (): io.flow.internal.v0.enums.ChargebackPaymentStatus => faker.helpers.arrayElement(['captured', 'refunded']),
@@ -9664,7 +9747,11 @@ const factories = {
9664
9747
  'io.flow.internal.v0.enums.checkout_redirect_method': (): io.flow.internal.v0.enums.CheckoutRedirectMethod => faker.helpers.arrayElement(['get', 'post']),
9665
9748
  'io.flow.internal.v0.enums.checkout_shipping_method_prompt_behavior': (): io.flow.internal.v0.enums.CheckoutShippingMethodPromptBehavior => faker.helpers.arrayElement(['always', 'multiple']),
9666
9749
  'io.flow.internal.v0.enums.checkout_url_type': (): io.flow.internal.v0.enums.CheckoutUrlType => faker.helpers.arrayElement(['continue_shopping', 'confirmation', 'invalid_checkout']),
9750
+ 'io.flow.internal.v0.enums.classification_decision': (): io.flow.internal.v0.enums.ClassificationDecision => faker.helpers.arrayElement(['Accept', 'Reject']),
9667
9751
  'io.flow.internal.v0.enums.classification_error_code': (): io.flow.internal.v0.enums.ClassificationErrorCode => faker.helpers.arrayElement(['generic_error']),
9752
+ 'io.flow.internal.v0.enums.classification_platform': (): io.flow.internal.v0.enums.ClassificationPlatform => faker.helpers.arrayElement(['GlobalE', 'Flow', 'Borderfree']),
9753
+ 'io.flow.internal.v0.enums.classification_type': (): io.flow.internal.v0.enums.ClassificationType => faker.helpers.arrayElement(['None', 'Manual', 'ML']),
9754
+ 'io.flow.internal.v0.enums.clothing_age_classification': (): io.flow.internal.v0.enums.ClothingAgeClassification => faker.helpers.arrayElement(['None', 'AgeKidsGeneral', 'Age0_10', 'Age10_13', 'Age13_14']),
9668
9755
  'io.flow.internal.v0.enums.colm_item_type': (): io.flow.internal.v0.enums.ColmItemType => faker.helpers.arrayElement(['physical', 'digital']),
9669
9756
  'io.flow.internal.v0.enums.compliance_type': (): io.flow.internal.v0.enums.ComplianceType => faker.helpers.arrayElement(['weee']),
9670
9757
  'io.flow.internal.v0.enums.content_element_type': (): io.flow.internal.v0.enums.ContentElementType => faker.helpers.arrayElement(['markdown', 'html', 'plain_text', 'href']),
@@ -9870,8 +9957,8 @@ const factories = {
9870
9957
  'label_invoice_request_deleted',
9871
9958
  'carrier_charge_upserted',
9872
9959
  'carrier_charge_deleted',
9873
- 'carrier_fee_upserted',
9874
- 'carrier_fee_deleted',
9960
+ 'bank_payment_order_upserted',
9961
+ 'bank_payment_order_deleted',
9875
9962
  'fraud_review_upserted',
9876
9963
  'fraud_review_deleted',
9877
9964
  'fraud_pending_review_upserted',
@@ -10028,6 +10115,8 @@ const factories = {
10028
10115
  'shopify_markets_metrics_deleted',
10029
10116
  'channel_order_summary_upserted',
10030
10117
  'channel_order_summary_deleted',
10118
+ 'channel_organization_identifier_upserted',
10119
+ 'channel_organization_identifier_deleted',
10031
10120
  'shopify_monitoring_order_monitor_event_upserted',
10032
10121
  'shopify_monitoring_order_monitor_event_deleted',
10033
10122
  'shopify_order_fulfillments_snapshot_upserted',
@@ -10125,6 +10214,7 @@ const factories = {
10125
10214
  'merchant_integration',
10126
10215
  'shopify_integration',
10127
10216
  'globale_cx',
10217
+ 'merchant_operations',
10128
10218
  'globale_system',
10129
10219
  ]),
10130
10220
 
@@ -10139,10 +10229,8 @@ const factories = {
10139
10229
 
10140
10230
  'io.flow.internal.v0.enums.manual_transaction_category': (): io.flow.internal.v0.enums.ManualTransactionCategory => faker.helpers.arrayElement([
10141
10231
  'cancelled_order_refund',
10142
- 'channel_partner_initiated',
10143
10232
  'client_accepted_chargeback',
10144
10233
  'fee_reimbursement',
10145
- 'partial_refund',
10146
10234
  'platform_fee',
10147
10235
  'shipping_true_up',
10148
10236
  'tax_credit',
@@ -10362,6 +10450,7 @@ const factories = {
10362
10450
  ]),
10363
10451
 
10364
10452
  'io.flow.internal.v0.enums.report_interval': (): io.flow.internal.v0.enums.ReportInterval => faker.helpers.arrayElement(['hourly', 'daily', 'weekly', 'monthly']),
10453
+ 'io.flow.internal.v0.enums.report_payment_type': (): io.flow.internal.v0.enums.ReportPaymentType => faker.helpers.arrayElement(['credit', 'debit']),
10365
10454
  'io.flow.internal.v0.enums.report_status': (): io.flow.internal.v0.enums.ReportStatus => faker.helpers.arrayElement(['created', 'completed', 'completed_no_records', 'failed']),
10366
10455
 
10367
10456
  'io.flow.internal.v0.enums.report_type': (): io.flow.internal.v0.enums.ReportType => faker.helpers.arrayElement([
@@ -10370,6 +10459,7 @@ const factories = {
10370
10459
  'non_channel_payment_bank_account',
10371
10460
  'scheduled_payment',
10372
10461
  'account_quarterly_balances',
10462
+ 'invariants',
10373
10463
  ]),
10374
10464
 
10375
10465
  'io.flow.internal.v0.enums.reporting_fulfillment_is_virtual': (): io.flow.internal.v0.enums.ReportingFulfillmentIsVirtual => faker.helpers.arrayElement(['all', 'mixed', 'none']),
@@ -10433,6 +10523,7 @@ const factories = {
10433
10523
  'product_restriction_result',
10434
10524
  'product_sync',
10435
10525
  'webhook_registrations',
10526
+ 'channel_organization_identifier',
10436
10527
  ]),
10437
10528
 
10438
10529
  'io.flow.internal.v0.enums.shopify_markets_trade_sector': (): io.flow.internal.v0.enums.ShopifyMarketsTradeSector => faker.helpers.arrayElement([
@@ -10679,6 +10770,7 @@ const factories = {
10679
10770
  liabilities_method: factories['io.flow.internal.v0.enums.account_setting_liabilities_method'](),
10680
10771
  enable_fee_reversals: factories.boolean(),
10681
10772
  record_reason_for_transactions_pending_payout: factories.boolean(),
10773
+ enable_negative_debits: factories.boolean(),
10682
10774
  }),
10683
10775
 
10684
10776
  'io.flow.internal.v0.models.account_settings_deleted': (): io.flow.internal.v0.models.AccountSettingsDeleted => ({
@@ -10750,13 +10842,6 @@ const factories = {
10750
10842
  account: factories['io.flow.internal.v0.models.flow_account'](),
10751
10843
  }),
10752
10844
 
10753
- 'io.flow.internal.v0.models.accounting_fulfillment_metadata': (): io.flow.internal.v0.models.AccountingFulfillmentMetadata => ({
10754
- discriminator: 'accounting_fulfillment_metadata',
10755
- order: factories['io.flow.internal.v0.models.order_reference'](),
10756
- proof: factories['io.flow.internal.v0.unions.fulfillment_proof'](),
10757
- posting_cutoff: factories.date_time_iso_8601(),
10758
- }),
10759
-
10760
10845
  'io.flow.internal.v0.models.accounting_pending_order_metadata': (): io.flow.internal.v0.models.AccountingPendingOrderMetadata => ({
10761
10846
  discriminator: 'accounting_pending_order_metadata',
10762
10847
  order: factories['io.flow.internal.v0.models.order_reference'](),
@@ -11383,6 +11468,20 @@ const factories = {
11383
11468
  order: factories['io.flow.internal.v0.models.billing_order_transaction_order_reference'](),
11384
11469
  }),
11385
11470
 
11471
+ 'io.flow.internal.v0.models.bank_payment_order_deleted': (): io.flow.internal.v0.models.BankPaymentOrderDeleted => ({
11472
+ discriminator: 'bank_payment_order_deleted',
11473
+ event_id: factories.string(),
11474
+ timestamp: factories.date_time_iso_8601(),
11475
+ id: factories.string(),
11476
+ }),
11477
+
11478
+ 'io.flow.internal.v0.models.bank_payment_order_upserted': (): io.flow.internal.v0.models.BankPaymentOrderUpserted => ({
11479
+ discriminator: 'bank_payment_order_upserted',
11480
+ event_id: factories.string(),
11481
+ timestamp: factories.date_time_iso_8601(),
11482
+ bank_payment_order: factories['io.flow.internal.v0.models.bank_payment_order'](),
11483
+ }),
11484
+
11386
11485
  'io.flow.internal.v0.models.bank_payment_reference': (): io.flow.internal.v0.models.BankPaymentReference => ({
11387
11486
  id: factories.string(),
11388
11487
  }),
@@ -11604,7 +11703,6 @@ const factories = {
11604
11703
  duty: factories['io.flow.common.v0.models.price'](),
11605
11704
  trueup: factories['io.flow.common.v0.models.price'](),
11606
11705
  carrier_charge: factories['io.flow.common.v0.models.price'](),
11607
- carrier_fee: factories['io.flow.common.v0.models.price'](),
11608
11706
  ending_balance: factories['io.flow.common.v0.models.price'](),
11609
11707
  }),
11610
11708
 
@@ -12015,61 +12113,6 @@ const factories = {
12015
12113
  carrier_charge: factories['io.flow.internal.v0.models.carrier_charge'](),
12016
12114
  }),
12017
12115
 
12018
- 'io.flow.internal.v0.models.carrier_fee': (): io.flow.internal.v0.models.CarrierFee => ({
12019
- id: factories.string(),
12020
- label_invoice_request_id: factories.string(),
12021
- units: factories['io.flow.internal.v0.models.carrier_fee_units'](),
12022
- surcharges: factories['io.flow.internal.v0.models.label_surcharge_form'](),
12023
- total: factories.decimal(),
12024
- attributes: objectOf(() => factories.string()),
12025
- }),
12026
-
12027
- 'io.flow.internal.v0.models.carrier_fee_deleted': (): io.flow.internal.v0.models.CarrierFeeDeleted => ({
12028
- discriminator: 'carrier_fee_deleted',
12029
- event_id: factories.string(),
12030
- timestamp: factories.date_time_iso_8601(),
12031
- organization: factories.string(),
12032
- id: factories.string(),
12033
- }),
12034
-
12035
- 'io.flow.internal.v0.models.carrier_fee_form': (): io.flow.internal.v0.models.CarrierFeeForm => ({
12036
- id: factories.string(),
12037
- label_invoice_request_id: factories.string(),
12038
- units: factories['io.flow.internal.v0.models.carrier_fee_units'](),
12039
- surcharges: factories['io.flow.internal.v0.models.label_surcharge_form'](),
12040
- total: factories.decimal(),
12041
- attributes: objectOf(() => factories.string()),
12042
- }),
12043
-
12044
- 'io.flow.internal.v0.models.carrier_fee_transaction': (): io.flow.internal.v0.models.CarrierFeeTransaction => ({
12045
- discriminator: 'carrier_fee_transaction',
12046
- label_reference: factories['io.flow.internal.v0.models.carrier_fee_transaction_label_reference'](),
12047
- id: factories.string(),
12048
- type: factories['io.flow.internal.v0.enums.billing_transaction_type'](),
12049
- status: factories['io.flow.internal.v0.enums.billing_transaction_status'](),
12050
- posted_at: factories.date_time_iso_8601(),
12051
- value: factories['io.flow.common.v0.models.price'](),
12052
- description: factories.string(),
12053
- statement: factories['io.flow.internal.v0.models.billing_statement_reference'](),
12054
- created_at: factories.date_time_iso_8601(),
12055
- }),
12056
-
12057
- 'io.flow.internal.v0.models.carrier_fee_transaction_label_reference': (): io.flow.internal.v0.models.CarrierFeeTransactionLabelReference => ({
12058
- id: factories.string(),
12059
- }),
12060
-
12061
- 'io.flow.internal.v0.models.carrier_fee_units': (): io.flow.internal.v0.models.CarrierFeeUnits => ({
12062
- currency: factories.string(),
12063
- }),
12064
-
12065
- 'io.flow.internal.v0.models.carrier_fee_upserted': (): io.flow.internal.v0.models.CarrierFeeUpserted => ({
12066
- discriminator: 'carrier_fee_upserted',
12067
- event_id: factories.string(),
12068
- timestamp: factories.date_time_iso_8601(),
12069
- organization: factories.string(),
12070
- carrier_fee: factories['io.flow.internal.v0.models.carrier_fee'](),
12071
- }),
12072
-
12073
12116
  'io.flow.internal.v0.models.carrier_file': (): io.flow.internal.v0.models.CarrierFile => ({
12074
12117
  id: factories.string(),
12075
12118
  type: factories['io.flow.internal.v0.enums.carrier_file_type'](),
@@ -12097,6 +12140,19 @@ const factories = {
12097
12140
  timestamp: factories.date_time_iso_8601(),
12098
12141
  }),
12099
12142
 
12143
+ 'io.flow.internal.v0.models.carrier_tax_form': (): io.flow.internal.v0.models.CarrierTaxForm => ({
12144
+ id: factories.string(),
12145
+ label_invoice_request_id: factories.string(),
12146
+ units: factories['io.flow.internal.v0.models.carrier_tax_units'](),
12147
+ surcharges: factories['io.flow.internal.v0.models.label_surcharge_form'](),
12148
+ total: factories.decimal(),
12149
+ attributes: objectOf(() => factories.string()),
12150
+ }),
12151
+
12152
+ 'io.flow.internal.v0.models.carrier_tax_units': (): io.flow.internal.v0.models.CarrierTaxUnits => ({
12153
+ currency: factories.string(),
12154
+ }),
12155
+
12100
12156
  'io.flow.internal.v0.models.catalog_import_request': (): io.flow.internal.v0.models.CatalogImportRequest => ({
12101
12157
  discriminator: 'catalog_import_request',
12102
12158
  event_id: factories.string(),
@@ -12475,6 +12531,28 @@ const factories = {
12475
12531
  channel_order_summary: factories['io.flow.internal.v0.models.channel_order_summary'](),
12476
12532
  }),
12477
12533
 
12534
+ 'io.flow.internal.v0.models.channel_organization_identifier': (): io.flow.internal.v0.models.ChannelOrganizationIdentifier => ({
12535
+ id: factories.string(),
12536
+ organization: factories['io.flow.common.v0.models.organization_reference'](),
12537
+ identifier: factories.string(),
12538
+ }),
12539
+
12540
+ 'io.flow.internal.v0.models.channel_organization_identifier_deleted': (): io.flow.internal.v0.models.ChannelOrganizationIdentifierDeleted => ({
12541
+ discriminator: 'channel_organization_identifier_deleted',
12542
+ event_id: factories.string(),
12543
+ timestamp: factories.date_time_iso_8601(),
12544
+ channel_id: factories.string(),
12545
+ id: factories.string(),
12546
+ }),
12547
+
12548
+ 'io.flow.internal.v0.models.channel_organization_identifier_upserted': (): io.flow.internal.v0.models.ChannelOrganizationIdentifierUpserted => ({
12549
+ discriminator: 'channel_organization_identifier_upserted',
12550
+ event_id: factories.string(),
12551
+ timestamp: factories.date_time_iso_8601(),
12552
+ channel_id: factories.string(),
12553
+ channel_organization_identifier: factories['io.flow.internal.v0.models.channel_organization_identifier'](),
12554
+ }),
12555
+
12478
12556
  'io.flow.internal.v0.models.channel_organization_shopify': (): io.flow.internal.v0.models.ChannelOrganizationShopify => ({
12479
12557
  organization: factories['io.flow.channel.v0.models.channel_organization'](),
12480
12558
 
@@ -12947,6 +13025,31 @@ const factories = {
12947
13025
  product_id: factories.string(),
12948
13026
  }),
12949
13027
 
13028
+ 'io.flow.internal.v0.models.classification_product_request': (): io.flow.internal.v0.models.ClassificationProductRequest => ({
13029
+ merchant_id: factories.string(),
13030
+ product_name: factories.string(),
13031
+ product_description: factories.string(),
13032
+ product_id_internal: factories.string(),
13033
+ product_id_external: factories.string(),
13034
+ product_group_code: factories.string(),
13035
+ product_url: factories.string(),
13036
+ product_image: factories.string(),
13037
+ product_attributes: objectOf(() => factories.string()),
13038
+ categories: arrayOf(() => factories.string()),
13039
+ platform_id: factories['io.flow.internal.v0.enums.classification_platform'](),
13040
+ }),
13041
+
13042
+ 'io.flow.internal.v0.models.classification_product_result': (): io.flow.internal.v0.models.ClassificationProductResult => ({
13043
+ product_id: factories.string(),
13044
+ merchant_id: factories.string(),
13045
+ platform_id: factories['io.flow.internal.v0.enums.classification_platform'](),
13046
+ hs_code: factories.string(),
13047
+ probability: factories.integer(),
13048
+ classification_decision: factories['io.flow.internal.v0.enums.classification_decision'](),
13049
+ classification_type: factories['io.flow.internal.v0.enums.classification_type'](),
13050
+ clothing_age_classification: factories['io.flow.internal.v0.enums.clothing_age_classification'](),
13051
+ }),
13052
+
12950
13053
  'io.flow.internal.v0.models.classification_product_summary': (): io.flow.internal.v0.models.ClassificationProductSummary => ({
12951
13054
  product_id: factories.string(),
12952
13055
  organization_id: factories.string(),
@@ -13003,6 +13106,17 @@ const factories = {
13003
13106
  classified_by: factories.string(),
13004
13107
  }),
13005
13108
 
13109
+ 'io.flow.internal.v0.models.cli_log_entry': (): io.flow.internal.v0.models.CliLogEntry => ({
13110
+ id: factories.string(),
13111
+ user: factories['io.flow.common.v0.models.user_reference'](),
13112
+ task: factories.string(),
13113
+ }),
13114
+
13115
+ 'io.flow.internal.v0.models.cli_log_entry_form': (): io.flow.internal.v0.models.CliLogEntryForm => ({
13116
+ user_id: factories.string(),
13117
+ task: factories.string(),
13118
+ }),
13119
+
13006
13120
  'io.flow.internal.v0.models.colm_item': (): io.flow.internal.v0.models.ColmItem => ({
13007
13121
  id: factories.string(),
13008
13122
  number: factories.string(),
@@ -13465,6 +13579,8 @@ const factories = {
13465
13579
  refunds: arrayOf(
13466
13580
  () => factories['io.flow.internal.v0.models.debug_payment_transaction_summary'](),
13467
13581
  ),
13582
+
13583
+ allocation: factories['io.flow.experience.v0.models.allocation_v2'](),
13468
13584
  }),
13469
13585
 
13470
13586
  'io.flow.internal.v0.models.debug_fulfillment_delta': (): io.flow.internal.v0.models.DebugFulfillmentDelta => ({
@@ -13493,6 +13609,8 @@ const factories = {
13493
13609
  'io.flow.internal.v0.models.debug_order': (): io.flow.internal.v0.models.DebugOrder => ({
13494
13610
  organization_id: factories.string(),
13495
13611
  number: factories.string(),
13612
+ prices: arrayOf(() => factories['io.flow.order.price.v0.models.order_price_detail']()),
13613
+ total: factories['io.flow.common.v0.models.money_with_base'](),
13496
13614
  identifiers: objectOf(() => factories.string()),
13497
13615
  submitted_at: factories.date_time_iso_8601(),
13498
13616
  }),
@@ -13678,14 +13796,14 @@ const factories = {
13678
13796
 
13679
13797
  'io.flow.internal.v0.models.dimension_estimate_ops_input': (): io.flow.internal.v0.models.DimensionEstimateOpsInput => ({
13680
13798
  organization_id: factories.string(),
13681
- length_unit: factories['io.flow.common.v0.enums.unit_of_measurement'](),
13682
- length_val: factories.string(),
13683
- width_unit: factories['io.flow.common.v0.enums.unit_of_measurement'](),
13684
- width_val: factories.string(),
13685
- depth_unit: factories['io.flow.common.v0.enums.unit_of_measurement'](),
13686
- depth_val: factories.string(),
13687
- weight_unit: factories['io.flow.common.v0.enums.unit_of_measurement'](),
13688
- weight_val: factories.string(),
13799
+ length_units: factories['io.flow.common.v0.enums.unit_of_measurement'](),
13800
+ length_value: factories.string(),
13801
+ width_units: factories['io.flow.common.v0.enums.unit_of_measurement'](),
13802
+ width_value: factories.string(),
13803
+ depth_units: factories['io.flow.common.v0.enums.unit_of_measurement'](),
13804
+ depth_value: factories.string(),
13805
+ weight_units: factories['io.flow.common.v0.enums.unit_of_measurement'](),
13806
+ weight_value: factories.string(),
13689
13807
  }),
13690
13808
 
13691
13809
  'io.flow.internal.v0.models.discount': (): io.flow.internal.v0.models.Discount => ({
@@ -14565,6 +14683,19 @@ const factories = {
14565
14683
  tracker_id: factories.string(),
14566
14684
  }),
14567
14685
 
14686
+ 'io.flow.internal.v0.models.failed_dimension_estimate_ops_input_with_reason': (): io.flow.internal.v0.models.FailedDimensionEstimateOpsInputWithReason => ({
14687
+ organization_id: factories.string(),
14688
+ length_units: factories['io.flow.common.v0.enums.unit_of_measurement'](),
14689
+ length_value: factories.string(),
14690
+ width_units: factories['io.flow.common.v0.enums.unit_of_measurement'](),
14691
+ width_value: factories.string(),
14692
+ depth_units: factories['io.flow.common.v0.enums.unit_of_measurement'](),
14693
+ depth_value: factories.string(),
14694
+ weight_units: factories['io.flow.common.v0.enums.unit_of_measurement'](),
14695
+ weight_value: factories.string(),
14696
+ reason: factories.string(),
14697
+ }),
14698
+
14568
14699
  'io.flow.internal.v0.models.feature': (): io.flow.internal.v0.models.Feature => ({
14569
14700
  id: factories.string(),
14570
14701
  key: factories.string(),
@@ -14948,6 +15079,10 @@ const factories = {
14948
15079
  next_action_from: factories['io.flow.internal.v0.enums.channel_order_acceptance_next_action_from'](),
14949
15080
  }),
14950
15081
 
15082
+ 'io.flow.internal.v0.models.force_transit_form': (): io.flow.internal.v0.models.ForceTransitForm => ({
15083
+ description: factories.string(),
15084
+ }),
15085
+
14951
15086
  'io.flow.internal.v0.models.fraud_pending_review': (): io.flow.internal.v0.models.FraudPendingReview => ({
14952
15087
  id: factories.string(),
14953
15088
  fraud_review_id: factories.string(),
@@ -15175,6 +15310,7 @@ const factories = {
15175
15310
  posting_cutoff: factories.date_time_iso_8601(),
15176
15311
  trigger: factories['io.flow.internal.v0.unions.fulfillment_trigger'](),
15177
15312
  fulfilled_at: factories.date_time_iso_8601(),
15313
+ carrier: factories['io.flow.internal.v0.models.fulfillment_carrier'](),
15178
15314
  owner: factories['io.flow.internal.v0.enums.responsible_party'](),
15179
15315
  origin: factories['io.flow.internal.v0.models.fulfillment_origin'](),
15180
15316
  business: factories['io.flow.internal.v0.models.fulfillment_business'](),
@@ -15207,6 +15343,12 @@ const factories = {
15207
15343
  ),
15208
15344
  }),
15209
15345
 
15346
+ 'io.flow.internal.v0.models.fulfillment_carrier': (): io.flow.internal.v0.models.FulfillmentCarrier => ({
15347
+ id: factories.string(),
15348
+ service_id: factories.string(),
15349
+ tracking_number: factories.string(),
15350
+ }),
15351
+
15210
15352
  'io.flow.internal.v0.models.fulfillment_deleted': (): io.flow.internal.v0.models.FulfillmentDeleted => ({
15211
15353
  discriminator: 'fulfillment_deleted',
15212
15354
  event_id: factories.string(),
@@ -15755,6 +15897,13 @@ const factories = {
15755
15897
  order: factories['io.flow.experience.v0.models.order_put_form'](),
15756
15898
  }),
15757
15899
 
15900
+ 'io.flow.internal.v0.models.invariant': (): io.flow.internal.v0.models.Invariant => ({
15901
+ name: factories.string(),
15902
+ count: factories.long(),
15903
+ fired_at: factories.date_time_iso_8601(),
15904
+ sql: factories.string(),
15905
+ }),
15906
+
15758
15907
  'io.flow.internal.v0.models.inventory_organization_settings': (): io.flow.internal.v0.models.InventoryOrganizationSettings => ({
15759
15908
  id: factories.string(),
15760
15909
  inventory_reservation: factories['io.flow.internal.v0.enums.inventory_reservation'](),
@@ -15895,6 +16044,9 @@ const factories = {
15895
16044
 
15896
16045
  'io.flow.internal.v0.models.item_customs_details': (): io.flow.internal.v0.models.ItemCustomsDetails => ({
15897
16046
  item_number: factories.string(),
16047
+ product_title: factories.string(),
16048
+ sanitized_product_title: factories.string(),
16049
+ sanitized_rule_ids: arrayOf(() => factories.string()),
15898
16050
  sub_item_number: factories.string(),
15899
16051
  customs_description: factories.string(),
15900
16052
  origin: factories.string(),
@@ -16302,6 +16454,8 @@ const factories = {
16302
16454
  }),
16303
16455
 
16304
16456
  'io.flow.internal.v0.models.label_surcharge_form': (): io.flow.internal.v0.models.LabelSurchargeForm => ({
16457
+ all: factories['io.flow.internal.v0.models.label_surcharge_single_form'](),
16458
+ base_and_fuel: factories['io.flow.internal.v0.models.label_surcharge_single_form'](),
16305
16459
  fuel: factories['io.flow.internal.v0.models.label_surcharge_single_form'](),
16306
16460
  remote_area: factories['io.flow.internal.v0.models.label_surcharge_single_form'](),
16307
16461
  oversize: factories['io.flow.internal.v0.models.label_surcharge_single_form'](),
@@ -16313,6 +16467,12 @@ const factories = {
16313
16467
  eei_filing: factories['io.flow.internal.v0.models.label_surcharge_single_form'](),
16314
16468
  fixed_ddp: factories['io.flow.internal.v0.models.label_surcharge_single_form'](),
16315
16469
  fixed_currency_conversion: factories['io.flow.internal.v0.models.label_surcharge_single_form'](),
16470
+ prohibited_item: factories['io.flow.internal.v0.models.label_surcharge_single_form'](),
16471
+ undeliverable_shipment: factories['io.flow.internal.v0.models.label_surcharge_single_form'](),
16472
+ signature_required: factories['io.flow.internal.v0.models.label_surcharge_single_form'](),
16473
+ direct_delivery: factories['io.flow.internal.v0.models.label_surcharge_single_form'](),
16474
+ saturday_stop: factories['io.flow.internal.v0.models.label_surcharge_single_form'](),
16475
+ residential_extended_area_pickup: factories['io.flow.internal.v0.models.label_surcharge_single_form'](),
16316
16476
  }),
16317
16477
 
16318
16478
  'io.flow.internal.v0.models.label_surcharge_single_form': (): io.flow.internal.v0.models.LabelSurchargeSingleForm => ({
@@ -18872,6 +19032,7 @@ const factories = {
18872
19032
  auto_review_status: factories['io.flow.internal.v0.enums.restriction_status'](),
18873
19033
  manually_reviewed_at: factories.date_time_iso_8601(),
18874
19034
  manually_reviewed_by: factories.string(),
19035
+ cause_rule_id: factories.string(),
18875
19036
  }),
18876
19037
 
18877
19038
  'io.flow.internal.v0.models.product_restriction_rule_decision_deleted': (): io.flow.internal.v0.models.ProductRestrictionRuleDecisionDeleted => ({
@@ -19423,6 +19584,7 @@ const factories = {
19423
19584
  type: factories['io.flow.internal.v0.enums.report_type'](),
19424
19585
  from: factories.date_time_iso_8601(),
19425
19586
  to: factories.date_time_iso_8601(),
19587
+ payment_type: factories['io.flow.internal.v0.enums.report_payment_type'](),
19426
19588
  url: factories.string(),
19427
19589
  processed_at: factories.date_time_iso_8601(),
19428
19590
  }),
@@ -19445,9 +19607,20 @@ const factories = {
19445
19607
  }),
19446
19608
 
19447
19609
  'io.flow.internal.v0.models.report_form': (): io.flow.internal.v0.models.ReportForm => ({
19610
+ type: factories['io.flow.internal.v0.enums.report_type'](),
19448
19611
  from: factories.date_time_iso_8601(),
19449
19612
  to: factories.date_time_iso_8601(),
19450
- type: factories['io.flow.internal.v0.enums.report_type'](),
19613
+ payment_type: factories['io.flow.internal.v0.enums.report_payment_type'](),
19614
+ orders: arrayOf(() => factories['io.flow.internal.v0.models.report_order_reference']()),
19615
+ }),
19616
+
19617
+ 'io.flow.internal.v0.models.report_merchant': (): io.flow.internal.v0.models.ReportMerchant => ({
19618
+ id: factories.string(),
19619
+ }),
19620
+
19621
+ 'io.flow.internal.v0.models.report_order_reference': (): io.flow.internal.v0.models.ReportOrderReference => ({
19622
+ organization_id: factories.string(),
19623
+ order_number: factories.string(),
19451
19624
  }),
19452
19625
 
19453
19626
  'io.flow.internal.v0.models.report_owner': (): io.flow.internal.v0.models.ReportOwner => ({
@@ -19597,7 +19770,6 @@ const factories = {
19597
19770
  tax: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
19598
19771
  duty: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
19599
19772
  freight: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
19600
- refund: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
19601
19773
  }),
19602
19774
 
19603
19775
  'io.flow.internal.v0.models.reporting_monetary_value': (): io.flow.internal.v0.models.ReportingMonetaryValue => ({
@@ -20116,6 +20288,7 @@ const factories = {
20116
20288
  payment: factories['io.flow.internal.v0.models.report_payment'](),
20117
20289
  bank_account: factories['io.flow.internal.v0.models.report_bank_account_cleartext'](),
20118
20290
  account: factories['io.flow.internal.v0.models.report_account'](),
20291
+ merchant: factories['io.flow.internal.v0.models.report_merchant'](),
20119
20292
  owner: factories['io.flow.internal.v0.models.report_owner'](),
20120
20293
  description: factories.string(),
20121
20294
  }),
@@ -20861,6 +21034,7 @@ const factories = {
20861
21034
  initial_catalog_synced_at: factories.date_time_iso_8601(),
20862
21035
  catalog_sync_duration: factories.long(),
20863
21036
  catalog_products_count: factories.long(),
21037
+ initial_product_restrictions_synced_at: factories.date_time_iso_8601(),
20864
21038
  }),
20865
21039
 
20866
21040
  'io.flow.internal.v0.models.shopify_shop_upserted': (): io.flow.internal.v0.models.ShopifyShopUpserted => ({
@@ -20870,9 +21044,9 @@ const factories = {
20870
21044
  shop: factories['io.flow.internal.v0.models.shop'](),
20871
21045
  }),
20872
21046
 
20873
- 'io.flow.internal.v0.models.shopify_store_password': (): io.flow.internal.v0.models.ShopifyStorePassword => ({
20874
- temporary_password: factories.string(),
20875
- expiry: factories.date_time_iso_8601(),
21047
+ 'io.flow.internal.v0.models.shopify_store_detail': (): io.flow.internal.v0.models.ShopifyStoreDetail => ({
21048
+ shopify_domain: factories.string(),
21049
+ shop_id: factories.string(),
20876
21050
  }),
20877
21051
 
20878
21052
  'io.flow.internal.v0.models.shopify_webhook': (): io.flow.internal.v0.models.ShopifyWebhook => ({
@@ -21482,7 +21656,7 @@ const factories = {
21482
21656
  type_id: factories.string(),
21483
21657
  source_type: factories.string(),
21484
21658
  source_id: factories.string(),
21485
- environment: factories.string(),
21659
+ environment: factories['io.flow.common.v0.enums.environment'](),
21486
21660
  created_at: factories.date_time_iso_8601(),
21487
21661
  num_attempts: factories.integer(),
21488
21662
  next_attempt_at: factories.date_time_iso_8601(),
@@ -22555,8 +22729,8 @@ const factories = {
22555
22729
  () => factories['io.flow.internal.v0.models.label_invoice_request_deleted'](),
22556
22730
  () => factories['io.flow.internal.v0.models.carrier_charge_upserted'](),
22557
22731
  () => factories['io.flow.internal.v0.models.carrier_charge_deleted'](),
22558
- () => factories['io.flow.internal.v0.models.carrier_fee_upserted'](),
22559
- () => factories['io.flow.internal.v0.models.carrier_fee_deleted'](),
22732
+ () => factories['io.flow.internal.v0.models.bank_payment_order_upserted'](),
22733
+ () => factories['io.flow.internal.v0.models.bank_payment_order_deleted'](),
22560
22734
  () => factories['io.flow.internal.v0.models.fraud_review_upserted'](),
22561
22735
  () => factories['io.flow.internal.v0.models.fraud_review_deleted'](),
22562
22736
  () => factories['io.flow.internal.v0.models.fraud_pending_review_upserted'](),
@@ -22713,6 +22887,8 @@ const factories = {
22713
22887
  () => factories['io.flow.internal.v0.models.shopify_markets_metrics_deleted'](),
22714
22888
  () => factories['io.flow.internal.v0.models.channel_order_summary_upserted'](),
22715
22889
  () => factories['io.flow.internal.v0.models.channel_order_summary_deleted'](),
22890
+ () => factories['io.flow.internal.v0.models.channel_organization_identifier_upserted'](),
22891
+ () => factories['io.flow.internal.v0.models.channel_organization_identifier_deleted'](),
22716
22892
  () => factories['io.flow.internal.v0.models.shopify_monitoring_order_monitor_event_upserted'](),
22717
22893
  () => factories['io.flow.internal.v0.models.shopify_monitoring_order_monitor_event_deleted'](),
22718
22894
  () => factories['io.flow.internal.v0.models.shopify_order_fulfillments_snapshot_upserted'](),
@@ -23257,7 +23433,6 @@ const factories = {
23257
23433
  'io.flow.internal.v0.unions.task_metadata': (): io.flow.internal.v0.unions.TaskMetadata => {
23258
23434
  const f = faker.helpers.arrayElement([
23259
23435
  () => factories['io.flow.internal.v0.models.statement_creation_metadata'](),
23260
- () => factories['io.flow.internal.v0.models.accounting_fulfillment_metadata'](),
23261
23436
  () => factories['io.flow.internal.v0.models.accounting_pending_order_metadata'](),
23262
23437
  ]);
23263
23438
 
@@ -23303,7 +23478,6 @@ const factories = {
23303
23478
  () => factories['io.flow.internal.v0.models.duty_transaction'](),
23304
23479
  () => factories['io.flow.internal.v0.models.trueup_transaction'](),
23305
23480
  () => factories['io.flow.internal.v0.models.carrier_charge_transaction'](),
23306
- () => factories['io.flow.internal.v0.models.carrier_fee_transaction'](),
23307
23481
  ]);
23308
23482
 
23309
23483
  return f();
@@ -23690,6 +23864,13 @@ const factories = {
23690
23864
  number: factories.string(),
23691
23865
  }),
23692
23866
 
23867
+ 'io.flow.label.v0.models.label_processing_modification': (): io.flow.label.v0.models.LabelProcessingModification => ({
23868
+ id: factories.string(),
23869
+ modifications: arrayOf(() => factories.string()),
23870
+ destination: factories['io.flow.fulfillment.v0.models.shipping_address'](),
23871
+ destination_provided_to_carrier: factories['io.flow.fulfillment.v0.models.shipping_address'](),
23872
+ }),
23873
+
23693
23874
  'io.flow.label.v0.models.label_reference': (): io.flow.label.v0.models.LabelReference => ({
23694
23875
  id: factories.string(),
23695
23876
  }),
@@ -30258,6 +30439,22 @@ const factories = {
30258
30439
  channel_order_summary: factories['io.flow.shopify.markets.internal.v0.models.channel_order_summary'](),
30259
30440
  }),
30260
30441
 
30442
+ 'io.flow.shopify.markets.internal.event.v0.models.channel_organization_identifier_deleted': (): io.flow.shopify.markets.internal.event.v0.models.ChannelOrganizationIdentifierDeleted => ({
30443
+ discriminator: 'channel_organization_identifier_deleted',
30444
+ event_id: factories.string(),
30445
+ timestamp: factories.date_time_iso_8601(),
30446
+ channel_id: factories.string(),
30447
+ id: factories.string(),
30448
+ }),
30449
+
30450
+ 'io.flow.shopify.markets.internal.event.v0.models.channel_organization_identifier_upserted': (): io.flow.shopify.markets.internal.event.v0.models.ChannelOrganizationIdentifierUpserted => ({
30451
+ discriminator: 'channel_organization_identifier_upserted',
30452
+ event_id: factories.string(),
30453
+ timestamp: factories.date_time_iso_8601(),
30454
+ channel_id: factories.string(),
30455
+ channel_organization_identifier: factories['io.flow.shopify.markets.internal.v0.models.channel_organization_identifier'](),
30456
+ }),
30457
+
30261
30458
  'io.flow.shopify.markets.internal.event.v0.models.shopify_markets_metrics_deleted': (): io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsMetricsDeleted => ({
30262
30459
  discriminator: 'shopify_markets_metrics_deleted',
30263
30460
  event_id: factories.string(),
@@ -30355,6 +30552,8 @@ const factories = {
30355
30552
  () => factories['io.flow.shopify.markets.internal.event.v0.models.shopify_markets_metrics_deleted'](),
30356
30553
  () => factories['io.flow.shopify.markets.internal.event.v0.models.channel_order_summary_upserted'](),
30357
30554
  () => factories['io.flow.shopify.markets.internal.event.v0.models.channel_order_summary_deleted'](),
30555
+ () => factories['io.flow.shopify.markets.internal.event.v0.models.channel_organization_identifier_upserted'](),
30556
+ () => factories['io.flow.shopify.markets.internal.event.v0.models.channel_organization_identifier_deleted'](),
30358
30557
  ]);
30359
30558
 
30360
30559
  return f();
@@ -30424,6 +30623,12 @@ const factories = {
30424
30623
  timestamp: factories.date_time_iso_8601(),
30425
30624
  }),
30426
30625
 
30626
+ 'io.flow.shopify.markets.internal.v0.models.channel_organization_identifier': (): io.flow.shopify.markets.internal.v0.models.ChannelOrganizationIdentifier => ({
30627
+ id: factories.string(),
30628
+ organization: factories['io.flow.common.v0.models.organization_reference'](),
30629
+ identifier: factories.string(),
30630
+ }),
30631
+
30427
30632
  'io.flow.shopify.markets.internal.v0.models.flow_shop_validation_error': (): io.flow.shopify.markets.internal.v0.models.FlowShopValidationError => ({
30428
30633
  message: factories.string(),
30429
30634
  reason: factories.string(),
@@ -30577,6 +30782,7 @@ const factories = {
30577
30782
  initial_catalog_synced_at: factories.date_time_iso_8601(),
30578
30783
  catalog_sync_duration: factories.long(),
30579
30784
  catalog_products_count: factories.long(),
30785
+ initial_product_restrictions_synced_at: factories.date_time_iso_8601(),
30580
30786
  }),
30581
30787
 
30582
30788
  'io.flow.shopify.markets.internal.v0.models.third_party_logistics_partner': (): io.flow.shopify.markets.internal.v0.models.ThirdPartyLogisticsPartner => ({
@@ -30680,7 +30886,7 @@ const factories = {
30680
30886
  'io.flow.shopify.markets.v0.enums.shopify_order_fulfillment_status_type': (): io.flow.shopify.markets.v0.enums.ShopifyOrderFulfillmentStatusType => faker.helpers.arrayElement(['fulfilled', 'null', 'partial']),
30681
30887
  'io.flow.shopify.markets.v0.enums.shopify_order_inventory_behaviour': (): io.flow.shopify.markets.v0.enums.ShopifyOrderInventoryBehaviour => faker.helpers.arrayElement(['bypass', 'decrement_ignoring_policy', 'decrement_obeying_policy']),
30682
30888
  'io.flow.shopify.markets.v0.enums.shopify_order_kind_type': (): io.flow.shopify.markets.v0.enums.ShopifyOrderKindType => faker.helpers.arrayElement(['authorization', 'capture', 'sale', 'void', 'refund']),
30683
- 'io.flow.shopify.markets.v0.enums.shopify_order_payment_gateway_names': (): io.flow.shopify.markets.v0.enums.ShopifyOrderPaymentGatewayNames => faker.helpers.arrayElement(['flow_commerce', 'gift_card', 'manual', 'shopify_payments']),
30889
+ 'io.flow.shopify.markets.v0.enums.shopify_order_payment_gateway_names': (): io.flow.shopify.markets.v0.enums.ShopifyOrderPaymentGatewayNames => faker.helpers.arrayElement(['flow_commerce', 'gift_card', 'manual', 'shopify_payments', 'shop_cash']),
30684
30890
  'io.flow.shopify.markets.v0.enums.shopify_order_processing_method_type': (): io.flow.shopify.markets.v0.enums.ShopifyOrderProcessingMethodType => faker.helpers.arrayElement(['checkout', 'direct', 'manual', 'offsite', 'express', 'deferred_payment']),
30685
30891
  'io.flow.shopify.markets.v0.enums.shopify_order_restock_type': (): io.flow.shopify.markets.v0.enums.ShopifyOrderRestockType => faker.helpers.arrayElement(['no_restock', 'cancel', 'return']),
30686
30892
  'io.flow.shopify.markets.v0.enums.shopify_order_status_type': (): io.flow.shopify.markets.v0.enums.ShopifyOrderStatusType => faker.helpers.arrayElement(['open', 'closed', 'cancelled', 'any']),
@@ -33536,6 +33742,12 @@ const factories = {
33536
33742
  'eei_filing',
33537
33743
  'fixed_ddp',
33538
33744
  'fixed_currency_conversion',
33745
+ 'prohibited_item',
33746
+ 'undeliverable_shipment',
33747
+ 'signature_required',
33748
+ 'direct_delivery',
33749
+ 'saturday_stop',
33750
+ 'residential_extended_area_pickup',
33539
33751
  ]),
33540
33752
 
33541
33753
  'io.flow.trueup.v0.models.dead_weight': (): io.flow.trueup.v0.models.DeadWeight => ({
@@ -33627,7 +33839,6 @@ export const makeAccountTransactionsExportRequest = () => factories['io.flow.int
33627
33839
  export const makeAccountType = () => factories['io.flow.internal.v0.enums.account_type']();
33628
33840
  export const makeAccountUpserted = () => factories['io.flow.internal.v0.models.account_upserted']();
33629
33841
  export const makeAccountUpsertedV2 = () => factories['io.flow.internal.v0.models.account_upserted_v2']();
33630
- export const makeAccountingFulfillmentMetadata = () => factories['io.flow.internal.v0.models.accounting_fulfillment_metadata']();
33631
33842
  export const makeAccountingPendingOrderMetadata = () => factories['io.flow.internal.v0.models.accounting_pending_order_metadata']();
33632
33843
  export const makeActionQuantity = () => factories['io.flow.internal.v0.models.action_quantity']();
33633
33844
  export const makeAdditionalImportTax = () => factories['io.flow.internal.v0.models.additional_import_tax']();
@@ -33724,6 +33935,8 @@ export const makeBankPayment = () => factories['io.flow.internal.v0.models.bank_
33724
33935
  export const makeBankPaymentDeletedV2 = () => factories['io.flow.internal.v0.models.bank_payment_deleted_v2']();
33725
33936
  export const makeBankPaymentForm = () => factories['io.flow.internal.v0.models.bank_payment_form']();
33726
33937
  export const makeBankPaymentOrder = () => factories['io.flow.internal.v0.models.bank_payment_order']();
33938
+ export const makeBankPaymentOrderDeleted = () => factories['io.flow.internal.v0.models.bank_payment_order_deleted']();
33939
+ export const makeBankPaymentOrderUpserted = () => factories['io.flow.internal.v0.models.bank_payment_order_upserted']();
33727
33940
  export const makeBankPaymentPromiseCompletedMethod = () => factories['io.flow.internal.v0.enums.bank_payment_promise_completed_method']();
33728
33941
  export const makeBankPaymentReference = () => factories['io.flow.internal.v0.models.bank_payment_reference']();
33729
33942
  export const makeBankPaymentStatusCode = () => factories['io.flow.internal.v0.enums.bank_payment_status_code']();
@@ -33817,20 +34030,14 @@ export const makeCarrierChargeType = () => factories['io.flow.internal.v0.enums.
33817
34030
  export const makeCarrierChargeUnits = () => factories['io.flow.internal.v0.models.carrier_charge_units']();
33818
34031
  export const makeCarrierChargeUpserted = () => factories['io.flow.internal.v0.models.carrier_charge_upserted']();
33819
34032
  export const makeCarrierCredentials = () => factories['io.flow.internal.v0.unions.carrier_credentials']();
33820
- export const makeCarrierFee = () => factories['io.flow.internal.v0.models.carrier_fee']();
33821
- export const makeCarrierFeeDeleted = () => factories['io.flow.internal.v0.models.carrier_fee_deleted']();
33822
- export const makeCarrierFeeForm = () => factories['io.flow.internal.v0.models.carrier_fee_form']();
33823
- export const makeCarrierFeeTransaction = () => factories['io.flow.internal.v0.models.carrier_fee_transaction']();
33824
- export const makeCarrierFeeTransactionLabelReference = () => factories['io.flow.internal.v0.models.carrier_fee_transaction_label_reference']();
33825
- export const makeCarrierFeeTransactionType = () => factories['io.flow.internal.v0.enums.carrier_fee_transaction_type']();
33826
- export const makeCarrierFeeUnits = () => factories['io.flow.internal.v0.models.carrier_fee_units']();
33827
- export const makeCarrierFeeUpserted = () => factories['io.flow.internal.v0.models.carrier_fee_upserted']();
33828
34033
  export const makeCarrierFile = () => factories['io.flow.internal.v0.models.carrier_file']();
33829
34034
  export const makeCarrierFileForm = () => factories['io.flow.internal.v0.models.carrier_file_form']();
33830
34035
  export const makeCarrierFileResult = () => factories['io.flow.internal.v0.models.carrier_file_result']();
33831
34036
  export const makeCarrierFileType = () => factories['io.flow.internal.v0.enums.carrier_file_type']();
33832
34037
  export const makeCarrierInvoice = () => factories['io.flow.internal.v0.models.carrier_invoice']();
33833
34038
  export const makeCarrierLabelGenerationMethod = () => factories['io.flow.internal.v0.enums.carrier_label_generation_method']();
34039
+ export const makeCarrierTaxForm = () => factories['io.flow.internal.v0.models.carrier_tax_form']();
34040
+ export const makeCarrierTaxUnits = () => factories['io.flow.internal.v0.models.carrier_tax_units']();
33834
34041
  export const makeCarrierValidationStatus = () => factories['io.flow.internal.v0.enums.carrier_validation_status']();
33835
34042
  export const makeCatalogImportRequest = () => factories['io.flow.internal.v0.models.catalog_import_request']();
33836
34043
  export const makeCatalogImportType = () => factories['io.flow.internal.v0.enums.catalog_import_type']();
@@ -33889,6 +34096,9 @@ export const makeChannelOrderSummary = () => factories['io.flow.internal.v0.mode
33889
34096
  export const makeChannelOrderSummaryDeleted = () => factories['io.flow.internal.v0.models.channel_order_summary_deleted']();
33890
34097
  export const makeChannelOrderSummaryFulfillmentDetails = () => factories['io.flow.internal.v0.models.channel_order_summary_fulfillment_details']();
33891
34098
  export const makeChannelOrderSummaryUpserted = () => factories['io.flow.internal.v0.models.channel_order_summary_upserted']();
34099
+ export const makeChannelOrganizationIdentifier = () => factories['io.flow.internal.v0.models.channel_organization_identifier']();
34100
+ export const makeChannelOrganizationIdentifierDeleted = () => factories['io.flow.internal.v0.models.channel_organization_identifier_deleted']();
34101
+ export const makeChannelOrganizationIdentifierUpserted = () => factories['io.flow.internal.v0.models.channel_organization_identifier_upserted']();
33892
34102
  export const makeChannelOrganizationShopify = () => factories['io.flow.internal.v0.models.channel_organization_shopify']();
33893
34103
  export const makeChannelOrganizationShopifyForm = () => factories['io.flow.internal.v0.models.channel_organization_shopify_form']();
33894
34104
  export const makeChannelOrganizationShopifyPostForm = () => factories['io.flow.internal.v0.models.channel_organization_shopify_post_form']();
@@ -33961,6 +34171,7 @@ export const makeClassification = () => factories['io.flow.internal.v0.models.cl
33961
34171
  export const makeClassificationAction = () => factories['io.flow.internal.v0.unions.classification_action']();
33962
34172
  export const makeClassificationActionForm = () => factories['io.flow.internal.v0.unions.classification_action_form']();
33963
34173
  export const makeClassificationActionFormUndo = () => factories['io.flow.internal.v0.models.classification_action_form_undo']();
34174
+ export const makeClassificationDecision = () => factories['io.flow.internal.v0.enums.classification_decision']();
33964
34175
  export const makeClassificationDetails = () => factories['io.flow.internal.v0.models.classification_details']();
33965
34176
  export const makeClassificationError = () => factories['io.flow.internal.v0.models.classification_error']();
33966
34177
  export const makeClassificationErrorCode = () => factories['io.flow.internal.v0.enums.classification_error_code']();
@@ -33969,9 +34180,12 @@ export const makeClassificationFormWrapper = () => factories['io.flow.internal.v
33969
34180
  export const makeClassificationItem = () => factories['io.flow.internal.v0.models.classification_item']();
33970
34181
  export const makeClassificationJudgementForm = () => factories['io.flow.internal.v0.unions.classification_judgement_form']();
33971
34182
  export const makeClassificationLabelAttribute = () => factories['io.flow.internal.v0.unions.classification_label_attribute']();
34183
+ export const makeClassificationPlatform = () => factories['io.flow.internal.v0.enums.classification_platform']();
33972
34184
  export const makeClassificationProduct = () => factories['io.flow.internal.v0.models.classification_product']();
33973
34185
  export const makeClassificationProductHarmonization = () => factories['io.flow.internal.v0.models.classification_product_harmonization']();
33974
34186
  export const makeClassificationProductId = () => factories['io.flow.internal.v0.models.classification_product_id']();
34187
+ export const makeClassificationProductRequest = () => factories['io.flow.internal.v0.models.classification_product_request']();
34188
+ export const makeClassificationProductResult = () => factories['io.flow.internal.v0.models.classification_product_result']();
33975
34189
  export const makeClassificationProductSummary = () => factories['io.flow.internal.v0.models.classification_product_summary']();
33976
34190
  export const makeClassificationProductSummaryPage = () => factories['io.flow.internal.v0.models.classification_product_summary_page']();
33977
34191
  export const makeClassificationRequeueRequest = () => factories['io.flow.internal.v0.models.classification_requeue_request']();
@@ -33979,9 +34193,13 @@ export const makeClassificationResponse = () => factories['io.flow.internal.v0.u
33979
34193
  export const makeClassificationStatistics = () => factories['io.flow.internal.v0.models.classification_statistics']();
33980
34194
  export const makeClassificationSummaryReportPayload = () => factories['io.flow.internal.v0.models.classification_summary_report_payload']();
33981
34195
  export const makeClassificationTaxonomy = () => factories['io.flow.internal.v0.unions.classification_taxonomy']();
34196
+ export const makeClassificationType = () => factories['io.flow.internal.v0.enums.classification_type']();
33982
34197
  export const makeClassificationWrapper = () => factories['io.flow.internal.v0.models.classification_wrapper']();
33983
34198
  export const makeClassifiedProduct = () => factories['io.flow.internal.v0.models.classified_product']();
33984
34199
  export const makeClassifiedProductDetail = () => factories['io.flow.internal.v0.models.classified_product_detail']();
34200
+ export const makeCliLogEntry = () => factories['io.flow.internal.v0.models.cli_log_entry']();
34201
+ export const makeCliLogEntryForm = () => factories['io.flow.internal.v0.models.cli_log_entry_form']();
34202
+ export const makeClothingAgeClassification = () => factories['io.flow.internal.v0.enums.clothing_age_classification']();
33985
34203
  export const makeColmItem = () => factories['io.flow.internal.v0.models.colm_item']();
33986
34204
  export const makeColmItemDeleted = () => factories['io.flow.internal.v0.models.colm_item_deleted']();
33987
34205
  export const makeColmItemForm = () => factories['io.flow.internal.v0.models.colm_item_form']();
@@ -34221,6 +34439,7 @@ export const makeExternalFulfillmentProofForm = () => factories['io.flow.interna
34221
34439
  export const makeExternalFulfillmentProofTracking = () => factories['io.flow.internal.v0.models.external_fulfillment_proof_tracking']();
34222
34440
  export const makeExternalFulfillmentProofTrackingForm = () => factories['io.flow.internal.v0.models.external_fulfillment_proof_tracking_form']();
34223
34441
  export const makeFacebookPixel = () => factories['io.flow.internal.v0.models.facebook_pixel']();
34442
+ export const makeFailedDimensionEstimateOpsInputWithReason = () => factories['io.flow.internal.v0.models.failed_dimension_estimate_ops_input_with_reason']();
34224
34443
  export const makeFeature = () => factories['io.flow.internal.v0.models.feature']();
34225
34444
  export const makeFeatureContextForm = () => factories['io.flow.internal.v0.models.feature_context_form']();
34226
34445
  export const makeFeatureDefaultValue = () => factories['io.flow.internal.v0.unions.feature_default_value']();
@@ -34282,6 +34501,7 @@ export const makeFlowLabProjectPutForm = () => factories['io.flow.internal.v0.mo
34282
34501
  export const makeFlowLabelSetting = () => factories['io.flow.internal.v0.models.flow_label_setting']();
34283
34502
  export const makeFlowLabelSettingForm = () => factories['io.flow.internal.v0.models.flow_label_setting_form']();
34284
34503
  export const makeFlowShopValidationError = () => factories['io.flow.internal.v0.models.flow_shop_validation_error']();
34504
+ export const makeForceTransitForm = () => factories['io.flow.internal.v0.models.force_transit_form']();
34285
34505
  export const makeFormat = () => factories['io.flow.internal.v0.enums.format']();
34286
34506
  export const makeFraudPendingReview = () => factories['io.flow.internal.v0.models.fraud_pending_review']();
34287
34507
  export const makeFraudPendingReviewDeleted = () => factories['io.flow.internal.v0.models.fraud_pending_review_deleted']();
@@ -34321,6 +34541,7 @@ export const makeFulfillment = () => factories['io.flow.internal.v0.models.fulfi
34321
34541
  export const makeFulfillmentActionForm = () => factories['io.flow.internal.v0.models.fulfillment_action_form']();
34322
34542
  export const makeFulfillmentBusiness = () => factories['io.flow.internal.v0.models.fulfillment_business']();
34323
34543
  export const makeFulfillmentCancel = () => factories['io.flow.internal.v0.models.fulfillment_cancel']();
34544
+ export const makeFulfillmentCarrier = () => factories['io.flow.internal.v0.models.fulfillment_carrier']();
34324
34545
  export const makeFulfillmentDeleted = () => factories['io.flow.internal.v0.models.fulfillment_deleted']();
34325
34546
  export const makeFulfillmentInternalExperienceReference = () => factories['io.flow.internal.v0.models.fulfillment_internal_experience_reference']();
34326
34547
  export const makeFulfillmentOrigin = () => factories['io.flow.internal.v0.models.fulfillment_origin']();
@@ -34414,6 +34635,7 @@ export const makeInternalStripeAuthorizationDetails = () => factories['io.flow.i
34414
34635
  export const makeInternalTransactionDetails = () => factories['io.flow.internal.v0.unions.internal_transaction_details']();
34415
34636
  export const makeInternalTransactionDetailsCard = () => factories['io.flow.internal.v0.models.internal_transaction_details_card']();
34416
34637
  export const makeInvalidCheckoutData = () => factories['io.flow.internal.v0.models.invalid_checkout_data']();
34638
+ export const makeInvariant = () => factories['io.flow.internal.v0.models.invariant']();
34417
34639
  export const makeInventoryCheckService = () => factories['io.flow.internal.v0.enums.inventory_check_service']();
34418
34640
  export const makeInventoryOrganizationSettings = () => factories['io.flow.internal.v0.models.inventory_organization_settings']();
34419
34641
  export const makeInventoryOrganizationSettingsForm = () => factories['io.flow.internal.v0.models.inventory_organization_settings_form']();
@@ -34983,8 +35205,11 @@ export const makeReportBankAccount = () => factories['io.flow.internal.v0.models
34983
35205
  export const makeReportBankAccountCleartext = () => factories['io.flow.internal.v0.models.report_bank_account_cleartext']();
34984
35206
  export const makeReportForm = () => factories['io.flow.internal.v0.models.report_form']();
34985
35207
  export const makeReportInterval = () => factories['io.flow.internal.v0.enums.report_interval']();
35208
+ export const makeReportMerchant = () => factories['io.flow.internal.v0.models.report_merchant']();
35209
+ export const makeReportOrderReference = () => factories['io.flow.internal.v0.models.report_order_reference']();
34986
35210
  export const makeReportOwner = () => factories['io.flow.internal.v0.models.report_owner']();
34987
35211
  export const makeReportPayment = () => factories['io.flow.internal.v0.models.report_payment']();
35212
+ export const makeReportPaymentType = () => factories['io.flow.internal.v0.enums.report_payment_type']();
34988
35213
  export const makeReportRuleDecision = () => factories['io.flow.internal.v0.models.report_rule_decision']();
34989
35214
  export const makeReportStatus = () => factories['io.flow.internal.v0.enums.report_status']();
34990
35215
  export const makeReportSummary = () => factories['io.flow.internal.v0.models.report_summary']();
@@ -35217,7 +35442,7 @@ export const makeShopifyService = () => factories['io.flow.internal.v0.enums.sho
35217
35442
  export const makeShopifyShopDeleted = () => factories['io.flow.internal.v0.models.shopify_shop_deleted']();
35218
35443
  export const makeShopifyShopStatistics = () => factories['io.flow.internal.v0.models.shopify_shop_statistics']();
35219
35444
  export const makeShopifyShopUpserted = () => factories['io.flow.internal.v0.models.shopify_shop_upserted']();
35220
- export const makeShopifyStorePassword = () => factories['io.flow.internal.v0.models.shopify_store_password']();
35445
+ export const makeShopifyStoreDetail = () => factories['io.flow.internal.v0.models.shopify_store_detail']();
35221
35446
  export const makeShopifyWebhook = () => factories['io.flow.internal.v0.models.shopify_webhook']();
35222
35447
  export const makeShopifyWebhookEvent = () => factories['io.flow.internal.v0.models.shopify_webhook_event']();
35223
35448
  export const makeShopifyWebhookForm = () => factories['io.flow.internal.v0.models.shopify_webhook_form']();