@flowio/api-internal-prop-types 9.24.87 → 9.24.88

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.
@@ -2457,11 +2457,6 @@ T['io.flow.billing.reporting.v0.models.reporting_fulfillment_is'] = PropTypes.ex
2457
2457
  domestic: PropTypes.bool.isRequired,
2458
2458
  });
2459
2459
 
2460
- T['io.flow.billing.reporting.v0.models.reporting_shipment'] = PropTypes.exact({
2461
- carrier: PropTypes.string.isRequired,
2462
- tracking_number: PropTypes.string,
2463
- });
2464
-
2465
2460
  T['io.flow.billing.reporting.v0.models.reporting_refund_reference'] = PropTypes.exact({
2466
2461
  id: PropTypes.string.isRequired,
2467
2462
  });
@@ -2558,23 +2553,6 @@ T['io.flow.billing.reporting.v0.models.fulfillment_shopper_breakdown'] = PropTyp
2558
2553
  total: T['io.flow.billing.reporting.v0.models.reporting_monetary_value'].isRequired,
2559
2554
  });
2560
2555
 
2561
- T['io.flow.billing.reporting.v0.models.reporting_fulfillment'] = PropTypes.exact({
2562
- id: PropTypes.string.isRequired,
2563
- sequence_number: PropTypes.number.isRequired,
2564
- fulfilled_at: PropTypes.string.isRequired,
2565
- completes_order: PropTypes.bool.isRequired,
2566
- payment: T['io.flow.billing.reporting.v0.models.reporting_payment'].isRequired,
2567
- refund: T['io.flow.billing.reporting.v0.models.reporting_refund_reference'],
2568
- value: T['io.flow.billing.reporting.v0.models.fulfillment_shopper_breakdown'].isRequired,
2569
- dispatch_country: T['io.flow.billing.reporting.v0.models.reporting_country'],
2570
- destination: T['io.flow.billing.reporting.v0.models.reporting_destination'],
2571
- shipment: T['io.flow.billing.reporting.v0.models.reporting_shipment'],
2572
- is: T['io.flow.billing.reporting.v0.models.reporting_fulfillment_is'].isRequired,
2573
- has: T['io.flow.billing.reporting.v0.models.reporting_fulfillment_has'].isRequired,
2574
- fx: T['io.flow.billing.reporting.v0.models.reporting_fx'].isRequired,
2575
- business: T['io.flow.billing.reporting.v0.models.reporting_business'],
2576
- });
2577
-
2578
2556
  T['io.flow.common.v0.enums.holiday_calendar'] = PropTypes.oneOf(['us_bank_holidays', 'jewish_holidays']);
2579
2557
  T['io.flow.common.v0.enums.calendar'] = PropTypes.oneOf(['weekdays', 'everyday']);
2580
2558
 
@@ -7546,45 +7524,10 @@ T['io.flow.billing.csv.v0.models.billing_csv_tier'] = PropTypes.exact({
7546
7524
  name: PropTypes.string.isRequired,
7547
7525
  });
7548
7526
 
7549
- T['io.flow.billing.internal.v0.enums.responsible_party'] = PropTypes.oneOf(['flow', 'organization']);
7550
-
7551
- T['io.flow.billing.internal.v0.models.external_fulfillment_proof_form'] = PropTypes.exact({
7552
- responsible_party: T['io.flow.billing.internal.v0.enums.responsible_party'].isRequired,
7553
-
7554
- tracking: PropTypes.arrayOf(
7555
- T['io.flow.billing.internal.v0.models.external_fulfillment_proof_tracking_form'],
7556
- ),
7557
- });
7558
-
7559
7527
  T['io.flow.billing.csv.v0.models.billing_csv_service'] = PropTypes.exact({
7560
7528
  id: PropTypes.string.isRequired,
7561
7529
  });
7562
7530
 
7563
- T['io.flow.billing.csv.v0.models.billing_csv_processing_transaction_delivery'] = PropTypes.exact({
7564
- delivery_option_id: PropTypes.string.isRequired,
7565
- ratecard_owner: T['io.flow.billing.internal.v0.enums.responsible_party'].isRequired,
7566
- service: T['io.flow.billing.csv.v0.models.billing_csv_service'].isRequired,
7567
- center: T['io.flow.billing.csv.v0.models.billing_csv_center'].isRequired,
7568
- ship_from_country: PropTypes.string.isRequired,
7569
- delivered_duty: PropTypes.string.isRequired,
7570
- });
7571
-
7572
- T['io.flow.billing.csv.v0.models.billing_csv_processing_transaction_order_detail'] = PropTypes.exact({
7573
- total: PropTypes.number.isRequired,
7574
- subtotal: PropTypes.number.isRequired,
7575
- discount: PropTypes.number.isRequired,
7576
- vat: PropTypes.number.isRequired,
7577
- duty: PropTypes.number.isRequired,
7578
- shipping: PropTypes.number.isRequired,
7579
- vat_subsidy: PropTypes.number,
7580
- duty_subsidy: PropTypes.number,
7581
- estimated_freight: PropTypes.number.isRequired,
7582
-
7583
- selected_deliveries: PropTypes.arrayOf(
7584
- T['io.flow.billing.csv.v0.models.billing_csv_processing_transaction_delivery'],
7585
- ).isRequired,
7586
- });
7587
-
7588
7531
  T['io.flow.billing.csv.v0.models.billing_csv_carrier'] = PropTypes.exact({
7589
7532
  id: PropTypes.string.isRequired,
7590
7533
  });
@@ -8538,6 +8481,200 @@ T['io.flow.export.v0.models.account_transactions_export_type'] = PropTypes.exact
8538
8481
 
8539
8482
  T['io.flow.export.v0.unions.export_delivery'] = PropTypes.oneOfType([T['io.flow.export.v0.models.export_delivery_email']]);
8540
8483
  T['io.flow.export.v0.enums.export_status'] = PropTypes.oneOf(['created', 'processing', 'completed', 'failed']);
8484
+
8485
+ T['io.flow.billing.accounting.v0.models.fulfillment_subsidy_breakdown'] = PropTypes.exact({
8486
+ tax: PropTypes.number.isRequired,
8487
+ duty: PropTypes.number.isRequired,
8488
+ total: PropTypes.number.isRequired,
8489
+ });
8490
+
8491
+ T['io.flow.billing.accounting.v0.models.fulfillment_proof_order_combined_shipment_reference'] = PropTypes.exact({
8492
+ discriminator: PropTypes.oneOf(['order_combined_shipment']).isRequired,
8493
+ id: PropTypes.string.isRequired,
8494
+ carrier_id: PropTypes.string,
8495
+ carrier_service_id: PropTypes.string,
8496
+ carrier_tracking_number: PropTypes.string,
8497
+ label_id: PropTypes.string,
8498
+ created_at: PropTypes.string,
8499
+ });
8500
+
8501
+ T['io.flow.billing.accounting.v0.models.fulfillment_proof_external_fulfillment_proof_reference'] = PropTypes.exact({
8502
+ discriminator: PropTypes.oneOf(['external_fulfillment']).isRequired,
8503
+ id: PropTypes.string.isRequired,
8504
+ carrier_id: PropTypes.string,
8505
+ carrier_service_id: PropTypes.string,
8506
+ carrier_tracking_number: PropTypes.string,
8507
+ label_id: PropTypes.string,
8508
+ created_at: PropTypes.string,
8509
+ });
8510
+
8511
+ T['io.flow.billing.accounting.v0.models.fulfillment_proof_shipping_notification_reference'] = PropTypes.exact({
8512
+ discriminator: PropTypes.oneOf(['shipping_notification']).isRequired,
8513
+ id: PropTypes.string.isRequired,
8514
+ carrier_id: PropTypes.string,
8515
+ carrier_service_id: PropTypes.string,
8516
+ carrier_tracking_number: PropTypes.string,
8517
+ label_id: PropTypes.string,
8518
+ created_at: PropTypes.string,
8519
+ });
8520
+
8521
+ T['io.flow.billing.accounting.v0.models.fulfillment_proof_label_tracking_reference'] = PropTypes.exact({
8522
+ discriminator: PropTypes.oneOf(['label_tracking']).isRequired,
8523
+ id: PropTypes.string.isRequired,
8524
+ carrier_id: PropTypes.string,
8525
+ carrier_service_id: PropTypes.string,
8526
+ carrier_tracking_number: PropTypes.string,
8527
+ label_id: PropTypes.string,
8528
+ created_at: PropTypes.string,
8529
+ });
8530
+
8531
+ T['io.flow.billing.accounting.v0.unions.fulfillment_proof'] = PropTypes.oneOfType([
8532
+ T['io.flow.billing.accounting.v0.models.fulfillment_proof_label_tracking_reference'],
8533
+ T['io.flow.billing.accounting.v0.models.fulfillment_proof_shipping_notification_reference'],
8534
+ T['io.flow.billing.accounting.v0.models.fulfillment_proof_external_fulfillment_proof_reference'],
8535
+ T['io.flow.billing.accounting.v0.models.fulfillment_proof_order_combined_shipment_reference'],
8536
+ ]);
8537
+
8538
+ T['io.flow.billing.accounting.v0.models.fulfillment_trigger_time'] = PropTypes.exact({
8539
+ discriminator: PropTypes.oneOf(['by_time']).isRequired,
8540
+ placeholder: PropTypes.string,
8541
+ });
8542
+
8543
+ T['io.flow.billing.accounting.v0.models.fulfillment_trigger_proof'] = PropTypes.exact({
8544
+ discriminator: PropTypes.oneOf(['by_proof']).isRequired,
8545
+ proof: T['io.flow.billing.accounting.v0.unions.fulfillment_proof'].isRequired,
8546
+ });
8547
+
8548
+ T['io.flow.billing.accounting.v0.models.merchant_transactions'] = PropTypes.exact({
8549
+ adjustment: PropTypes.number.isRequired,
8550
+ reversal: PropTypes.number.isRequired,
8551
+ tax: PropTypes.number.isRequired,
8552
+ duty: PropTypes.number.isRequired,
8553
+ freight: PropTypes.number.isRequired,
8554
+ total: PropTypes.number.isRequired,
8555
+ });
8556
+
8557
+ T['io.flow.billing.accounting.v0.models.merchant_fees'] = PropTypes.exact({
8558
+ duty_guarantee: PropTypes.number.isRequired,
8559
+ mor: PropTypes.number.isRequired,
8560
+ fraud: PropTypes.number.isRequired,
8561
+ fx: PropTypes.number.isRequired,
8562
+ processing: PropTypes.number.isRequired,
8563
+ rate_lock: PropTypes.number.isRequired,
8564
+ transfer: PropTypes.number.isRequired,
8565
+ total: PropTypes.number.isRequired,
8566
+ });
8567
+
8568
+ T['io.flow.billing.accounting.v0.models.shopper_freight'] = PropTypes.exact({
8569
+ price: PropTypes.number.isRequired,
8570
+ discount: PropTypes.number.isRequired,
8571
+ tax: PropTypes.number.isRequired,
8572
+ duty: PropTypes.number.isRequired,
8573
+ subsidies: T['io.flow.billing.accounting.v0.models.fulfillment_subsidy_breakdown'].isRequired,
8574
+ total: PropTypes.number.isRequired,
8575
+ });
8576
+
8577
+ T['io.flow.billing.accounting.v0.models.shopper_fees'] = PropTypes.exact({
8578
+ fuel: PropTypes.number.isRequired,
8579
+ remote_area: PropTypes.number.isRequired,
8580
+ oversize: PropTypes.number.isRequired,
8581
+ ccf: PropTypes.number.isRequired,
8582
+ emergency: PropTypes.number.isRequired,
8583
+ peak: PropTypes.number.isRequired,
8584
+ total: PropTypes.number.isRequired,
8585
+ });
8586
+
8587
+ T['io.flow.billing.accounting.v0.models.merchant_subsidies'] = PropTypes.exact({
8588
+ fees: T['io.flow.billing.accounting.v0.models.shopper_fees'].isRequired,
8589
+ tax: PropTypes.number.isRequired,
8590
+ duty: PropTypes.number.isRequired,
8591
+ total: PropTypes.number.isRequired,
8592
+ });
8593
+
8594
+ T['io.flow.billing.accounting.v0.models.fulfillment_business'] = PropTypes.exact({
8595
+ vat_registration_number: PropTypes.string.isRequired,
8596
+ });
8597
+
8598
+ T['io.flow.billing.accounting.v0.models.fulfillment_origin'] = PropTypes.exact({
8599
+ country: PropTypes.string.isRequired,
8600
+ province_code: PropTypes.string,
8601
+ });
8602
+
8603
+ T['io.flow.billing.internal.v0.enums.responsible_party'] = PropTypes.oneOf(['flow', 'organization']);
8604
+
8605
+ T['io.flow.billing.internal.v0.models.external_fulfillment_proof_form'] = PropTypes.exact({
8606
+ responsible_party: T['io.flow.billing.internal.v0.enums.responsible_party'].isRequired,
8607
+
8608
+ tracking: PropTypes.arrayOf(
8609
+ T['io.flow.billing.internal.v0.models.external_fulfillment_proof_tracking_form'],
8610
+ ),
8611
+ });
8612
+
8613
+ T['io.flow.billing.csv.v0.models.billing_csv_processing_transaction_delivery'] = PropTypes.exact({
8614
+ delivery_option_id: PropTypes.string.isRequired,
8615
+ ratecard_owner: T['io.flow.billing.internal.v0.enums.responsible_party'].isRequired,
8616
+ service: T['io.flow.billing.csv.v0.models.billing_csv_service'].isRequired,
8617
+ center: T['io.flow.billing.csv.v0.models.billing_csv_center'].isRequired,
8618
+ ship_from_country: PropTypes.string.isRequired,
8619
+ delivered_duty: PropTypes.string.isRequired,
8620
+ });
8621
+
8622
+ T['io.flow.billing.csv.v0.models.billing_csv_processing_transaction_order_detail'] = PropTypes.exact({
8623
+ total: PropTypes.number.isRequired,
8624
+ subtotal: PropTypes.number.isRequired,
8625
+ discount: PropTypes.number.isRequired,
8626
+ vat: PropTypes.number.isRequired,
8627
+ duty: PropTypes.number.isRequired,
8628
+ shipping: PropTypes.number.isRequired,
8629
+ vat_subsidy: PropTypes.number,
8630
+ duty_subsidy: PropTypes.number,
8631
+ estimated_freight: PropTypes.number.isRequired,
8632
+
8633
+ selected_deliveries: PropTypes.arrayOf(
8634
+ T['io.flow.billing.csv.v0.models.billing_csv_processing_transaction_delivery'],
8635
+ ).isRequired,
8636
+ });
8637
+
8638
+ T['io.flow.billing.accounting.v0.unions.fulfillment_trigger'] = PropTypes.oneOfType([
8639
+ T['io.flow.billing.accounting.v0.models.fulfillment_trigger_proof'],
8640
+ T['io.flow.billing.accounting.v0.models.fulfillment_trigger_time'],
8641
+ ]);
8642
+
8643
+ T['io.flow.billing.accounting.v0.models.merchant_summary'] = PropTypes.exact({
8644
+ subsidies: T['io.flow.billing.accounting.v0.models.merchant_subsidies'].isRequired,
8645
+ fees: T['io.flow.billing.accounting.v0.models.merchant_fees'].isRequired,
8646
+ transactions: T['io.flow.billing.accounting.v0.models.merchant_transactions'].isRequired,
8647
+ total: PropTypes.number.isRequired,
8648
+ });
8649
+
8650
+ T['io.flow.billing.accounting.v0.models.remittance_responsibility'] = PropTypes.exact({
8651
+ tax: T['io.flow.billing.internal.v0.enums.responsible_party'].isRequired,
8652
+ duty: T['io.flow.billing.internal.v0.enums.responsible_party'].isRequired,
8653
+ });
8654
+
8655
+ T['io.flow.billing.reporting.v0.models.reporting_shipment'] = PropTypes.exact({
8656
+ remittance: T['io.flow.billing.accounting.v0.models.remittance_responsibility'],
8657
+ carrier: PropTypes.string.isRequired,
8658
+ tracking_number: PropTypes.string,
8659
+ });
8660
+
8661
+ T['io.flow.billing.reporting.v0.models.reporting_fulfillment'] = PropTypes.exact({
8662
+ id: PropTypes.string.isRequired,
8663
+ sequence_number: PropTypes.number.isRequired,
8664
+ fulfilled_at: PropTypes.string.isRequired,
8665
+ completes_order: PropTypes.bool.isRequired,
8666
+ payment: T['io.flow.billing.reporting.v0.models.reporting_payment'].isRequired,
8667
+ refund: T['io.flow.billing.reporting.v0.models.reporting_refund_reference'],
8668
+ value: T['io.flow.billing.reporting.v0.models.fulfillment_shopper_breakdown'].isRequired,
8669
+ dispatch_country: T['io.flow.billing.reporting.v0.models.reporting_country'],
8670
+ destination: T['io.flow.billing.reporting.v0.models.reporting_destination'],
8671
+ shipment: T['io.flow.billing.reporting.v0.models.reporting_shipment'],
8672
+ is: T['io.flow.billing.reporting.v0.models.reporting_fulfillment_is'].isRequired,
8673
+ has: T['io.flow.billing.reporting.v0.models.reporting_fulfillment_has'].isRequired,
8674
+ fx: T['io.flow.billing.reporting.v0.models.reporting_fx'].isRequired,
8675
+ business: T['io.flow.billing.reporting.v0.models.reporting_business'],
8676
+ });
8677
+
8541
8678
  T['io.flow.invoice.v0.enums.payment_term'] = PropTypes.oneOf(['net7', 'net15', 'net30']);
8542
8679
 
8543
8680
  T['io.flow.billing.internal.v0.models.billing_organization_settings'] = PropTypes.exact({
@@ -12001,6 +12138,13 @@ T['io.flow.payment.v0.models.refund_identifier'] = PropTypes.exact({
12001
12138
  primary: PropTypes.bool.isRequired,
12002
12139
  });
12003
12140
 
12141
+ T['io.flow.billing.accounting.v0.models.return_trigger_refund'] = PropTypes.exact({
12142
+ discriminator: PropTypes.oneOf(['by_refund']).isRequired,
12143
+ refund: T['io.flow.payment.v0.models.refund_reference'].isRequired,
12144
+ });
12145
+
12146
+ T['io.flow.billing.accounting.v0.unions.return_trigger'] = PropTypes.oneOfType([T['io.flow.billing.accounting.v0.models.return_trigger_refund']]);
12147
+
12004
12148
  T['io.flow.return.v0.models.return_reason'] = PropTypes.exact({
12005
12149
  name: PropTypes.string.isRequired,
12006
12150
  });
@@ -12118,11 +12262,6 @@ T['io.flow.internal.v0.models.reporting_fulfillment_is'] = PropTypes.exact({
12118
12262
  domestic: PropTypes.bool.isRequired,
12119
12263
  });
12120
12264
 
12121
- T['io.flow.internal.v0.models.reporting_shipment'] = PropTypes.exact({
12122
- carrier: PropTypes.string.isRequired,
12123
- tracking_number: PropTypes.string,
12124
- });
12125
-
12126
12265
  T['io.flow.internal.v0.models.reporting_refund_reference'] = PropTypes.exact({
12127
12266
  id: PropTypes.string.isRequired,
12128
12267
  });
@@ -12969,7 +13108,7 @@ T['io.flow.internal.v0.models.organization_bank_account_upserted'] = PropTypes.e
12969
13108
  });
12970
13109
 
12971
13110
  T['io.flow.internal.v0.enums.channel_order_acceptance_error_action'] = PropTypes.oneOf(['auto_reject', 'auto_accept']);
12972
- T['io.flow.internal.v0.enums.order_validation_status'] = PropTypes.oneOf(['success', 'failed', 'unresolvable']);
13111
+ T['io.flow.internal.v0.enums.order_validation_status'] = PropTypes.oneOf(['success', 'failed', 'label_created', 'unresolvable']);
12973
13112
 
12974
13113
  T['io.flow.internal.v0.models.order_validation'] = PropTypes.exact({
12975
13114
  id: PropTypes.string.isRequired,
@@ -14486,6 +14625,38 @@ T['io.flow.internal.v0.models.klarna_authorization_parameters'] = PropTypes.exac
14486
14625
  T['io.flow.internal.v0.unions.inline_authorization_parameters'] = PropTypes.oneOfType([T['io.flow.internal.v0.models.klarna_authorization_parameters']]);
14487
14626
  T['io.flow.catalog.v0.enums.fulfillment_method_value'] = PropTypes.oneOf(['digital', 'physical']);
14488
14627
 
14628
+ T['io.flow.billing.accounting.v0.models.item_summary'] = PropTypes.exact({
14629
+ number: PropTypes.string.isRequired,
14630
+ fulfillment_method: T['io.flow.catalog.v0.enums.fulfillment_method_value'].isRequired,
14631
+ country_of_origin: PropTypes.string,
14632
+ inferred: PropTypes.bool,
14633
+ });
14634
+
14635
+ T['io.flow.billing.accounting.v0.models.shopper_line'] = PropTypes.exact({
14636
+ item: T['io.flow.billing.accounting.v0.models.item_summary'].isRequired,
14637
+ quantity: PropTypes.number.isRequired,
14638
+ unit_price: PropTypes.number.isRequired,
14639
+ price: PropTypes.number.isRequired,
14640
+ discount: PropTypes.number.isRequired,
14641
+ tax: PropTypes.number.isRequired,
14642
+ duty: PropTypes.number.isRequired,
14643
+ subsidies: T['io.flow.billing.accounting.v0.models.fulfillment_subsidy_breakdown'].isRequired,
14644
+ total: PropTypes.number.isRequired,
14645
+ });
14646
+
14647
+ T['io.flow.billing.accounting.v0.models.shopper_lines'] = PropTypes.exact({
14648
+ lines: PropTypes.arrayOf(T['io.flow.billing.accounting.v0.models.shopper_line']).isRequired,
14649
+ total: PropTypes.number.isRequired,
14650
+ });
14651
+
14652
+ T['io.flow.billing.accounting.v0.models.shopper_summary'] = PropTypes.exact({
14653
+ product: T['io.flow.billing.accounting.v0.models.shopper_lines'].isRequired,
14654
+ fees: T['io.flow.billing.accounting.v0.models.shopper_fees'].isRequired,
14655
+ freight: T['io.flow.billing.accounting.v0.models.shopper_freight'].isRequired,
14656
+ order_discount: PropTypes.number.isRequired,
14657
+ total: PropTypes.number.isRequired,
14658
+ });
14659
+
14489
14660
  T['io.flow.internal.v0.models.item_summary'] = PropTypes.exact({
14490
14661
  number: PropTypes.string.isRequired,
14491
14662
  fulfillment_method: T['io.flow.catalog.v0.enums.fulfillment_method_value'].isRequired,
@@ -16741,6 +16912,10 @@ T['io.flow.billing.v0.models.billing_channel_order_summary'] = PropTypes.exact({
16741
16912
  identifiers: PropTypes.objectOf(PropTypes.string),
16742
16913
  });
16743
16914
 
16915
+ T['io.flow.billing.v0.models.account_id_reference'] = PropTypes.exact({
16916
+ id: PropTypes.string.isRequired,
16917
+ });
16918
+
16744
16919
  T['io.flow.billing.v0.models.billing_channel_statement_reference'] = PropTypes.exact({
16745
16920
  id: PropTypes.string.isRequired,
16746
16921
  });
@@ -22210,6 +22385,7 @@ T['io.flow.billing.v0.models.transaction_metadata_carrier_charge'] = PropTypes.e
22210
22385
  label_created_at: PropTypes.string.isRequired,
22211
22386
  carrier_id: PropTypes.string.isRequired,
22212
22387
  carrier_tracking_number: PropTypes.string.isRequired,
22388
+ revenue_share_percentage: PropTypes.number.isRequired,
22213
22389
  outbound: T['io.flow.billing.v0.models.transaction_metadata_carrier_charge_outbound'],
22214
22390
  });
22215
22391
 
@@ -23442,9 +23618,10 @@ T['io.flow.billing.v0.enums.transaction_source'] = PropTypes.oneOf([
23442
23618
  'reversal',
23443
23619
  'shipping_label',
23444
23620
  'shipping_label_service',
23621
+ 'shipping_label_revenue_share',
23445
23622
  'trueup',
23446
23623
  'carrier_charge',
23447
- 'shipping_label_revenue_share',
23624
+ 'carrier_charge_revenue_share',
23448
23625
  'platform_fee',
23449
23626
  'tax',
23450
23627
  'duty',
@@ -25019,49 +25196,6 @@ T['io.flow.internal.v0.models.reporting_payment'] = PropTypes.exact({
25019
25196
  total: T['io.flow.internal.v0.models.reporting_monetary_value'].isRequired,
25020
25197
  });
25021
25198
 
25022
- T['io.flow.internal.v0.models.reporting_fulfillment'] = PropTypes.exact({
25023
- id: PropTypes.string.isRequired,
25024
- sequence_number: PropTypes.number.isRequired,
25025
- fulfilled_at: PropTypes.string.isRequired,
25026
- completes_order: PropTypes.bool.isRequired,
25027
- payment: T['io.flow.internal.v0.models.reporting_payment'].isRequired,
25028
- refund: T['io.flow.internal.v0.models.reporting_refund_reference'],
25029
- value: T['io.flow.internal.v0.models.fulfillment_shopper_breakdown'].isRequired,
25030
- dispatch_country: T['io.flow.internal.v0.models.reporting_country'],
25031
- destination: T['io.flow.internal.v0.models.reporting_destination'],
25032
- shipment: T['io.flow.internal.v0.models.reporting_shipment'],
25033
- is: T['io.flow.internal.v0.models.reporting_fulfillment_is'].isRequired,
25034
- has: T['io.flow.internal.v0.models.reporting_fulfillment_has'].isRequired,
25035
- fx: T['io.flow.internal.v0.models.reporting_fx'].isRequired,
25036
- business: T['io.flow.internal.v0.models.reporting_business'],
25037
- });
25038
-
25039
- T['io.flow.internal.v0.models.revenue_record'] = PropTypes.exact({
25040
- id: PropTypes.string.isRequired,
25041
- organization: T['io.flow.internal.v0.models.reporting_organization_summary'].isRequired,
25042
- parent: T['io.flow.internal.v0.models.record_reference'],
25043
- type: T['io.flow.internal.v0.enums.revenue_record_type'].isRequired,
25044
- order: T['io.flow.internal.v0.models.reporting_order_summary'].isRequired,
25045
- entity: T['io.flow.internal.v0.models.reporting_entity'].isRequired,
25046
- vendor: T['io.flow.internal.v0.models.reporting_vendor'].isRequired,
25047
- currencies: T['io.flow.internal.v0.models.reporting_currencies'].isRequired,
25048
- conversion_rate: T['io.flow.internal.v0.models.reporting_conversion_rates'].isRequired,
25049
- reconciliation: T['io.flow.internal.v0.models.reporting_reconciliation'].isRequired,
25050
- merchant: T['io.flow.internal.v0.models.reporting_merchant_breakdown'].isRequired,
25051
- fulfillment: T['io.flow.internal.v0.models.reporting_fulfillment'].isRequired,
25052
- vat_remittance: T['io.flow.internal.v0.models.reporting_vat_remittance'].isRequired,
25053
- marked_as_final: T['io.flow.internal.v0.models.marked_as_final'].isRequired,
25054
- debug: T['io.flow.internal.v0.models.reporting_debug'].isRequired,
25055
- });
25056
-
25057
- T['io.flow.internal.v0.models.revenue_record_upserted'] = PropTypes.exact({
25058
- discriminator: PropTypes.oneOf(['revenue_record_upserted']).isRequired,
25059
- event_id: PropTypes.string.isRequired,
25060
- timestamp: PropTypes.string.isRequired,
25061
- organization: PropTypes.string.isRequired,
25062
- revenue_record: T['io.flow.internal.v0.models.revenue_record'].isRequired,
25063
- });
25064
-
25065
25199
  T['io.flow.internal.v0.models.internal_authorization'] = PropTypes.exact({
25066
25200
  id: PropTypes.string.isRequired,
25067
25201
  processor: T['io.flow.internal.v0.enums.processor'].isRequired,
@@ -25733,6 +25867,27 @@ T['io.flow.billing.v0.models.withholding_deduction'] = PropTypes.exact({
25733
25867
 
25734
25868
  T['io.flow.billing.v0.models.payout_transaction'] = PropTypes.exact({
25735
25869
  id: PropTypes.string.isRequired,
25870
+ account: T['io.flow.billing.v0.models.account_id_reference'].isRequired,
25871
+ metadata: T['io.flow.billing.v0.unions.transaction_metadata'],
25872
+ order: T['io.flow.billing.v0.models.billing_channel_order_summary'],
25873
+ payment_request: T['io.flow.billing.v0.models.billing_channel_payment_request_reference'],
25874
+ currency: PropTypes.string.isRequired,
25875
+ source: T['io.flow.billing.v0.enums.transaction_source'].isRequired,
25876
+ parent: T['io.flow.billing.v0.models.parent_transaction_summary'],
25877
+ gross: PropTypes.number.isRequired,
25878
+ fees: PropTypes.arrayOf(T['io.flow.billing.v0.models.fee_deduction']).isRequired,
25879
+ withholdings: PropTypes.arrayOf(T['io.flow.billing.v0.models.withholding_deduction']).isRequired,
25880
+ discounts: PropTypes.arrayOf(T['io.flow.billing.v0.models.billing_discount']).isRequired,
25881
+ net: PropTypes.number.isRequired,
25882
+ identifiers: PropTypes.objectOf(PropTypes.string).isRequired,
25883
+ created_at: PropTypes.string.isRequired,
25884
+ updated_at: PropTypes.string.isRequired,
25885
+ });
25886
+
25887
+ T['io.flow.billing.v0.models.flow_transaction'] = PropTypes.exact({
25888
+ statement: T['io.flow.billing.v0.models.billing_channel_statement_reference'],
25889
+ id: PropTypes.string.isRequired,
25890
+ account: T['io.flow.billing.v0.models.account_id_reference'].isRequired,
25736
25891
  metadata: T['io.flow.billing.v0.unions.transaction_metadata'],
25737
25892
  order: T['io.flow.billing.v0.models.billing_channel_order_summary'],
25738
25893
  payment_request: T['io.flow.billing.v0.models.billing_channel_payment_request_reference'],
@@ -25752,6 +25907,7 @@ T['io.flow.billing.v0.models.payout_transaction'] = PropTypes.exact({
25752
25907
  T['io.flow.billing.v0.models.channel_transaction'] = PropTypes.exact({
25753
25908
  statement: T['io.flow.billing.v0.models.billing_channel_statement_reference'],
25754
25909
  id: PropTypes.string.isRequired,
25910
+ account: T['io.flow.billing.v0.models.account_id_reference'].isRequired,
25755
25911
  metadata: T['io.flow.billing.v0.unions.transaction_metadata'],
25756
25912
  order: T['io.flow.billing.v0.models.billing_channel_order_summary'],
25757
25913
  payment_request: T['io.flow.billing.v0.models.billing_channel_payment_request_reference'],
@@ -25771,6 +25927,7 @@ T['io.flow.billing.v0.models.channel_transaction'] = PropTypes.exact({
25771
25927
  T['io.flow.billing.v0.models.transaction'] = PropTypes.exact({
25772
25928
  statement: T['io.flow.billing.v0.models.billing_channel_statement_reference'],
25773
25929
  id: PropTypes.string.isRequired,
25930
+ account: T['io.flow.billing.v0.models.account_id_reference'].isRequired,
25774
25931
  metadata: T['io.flow.billing.v0.unions.transaction_metadata'],
25775
25932
  order: T['io.flow.billing.v0.models.billing_channel_order_summary'],
25776
25933
  payment_request: T['io.flow.billing.v0.models.billing_channel_payment_request_reference'],
@@ -27725,6 +27882,45 @@ T['io.flow.export.v0.models.export_version'] = PropTypes.exact({
27725
27882
  'export': T['io.flow.export.v0.models.export'].isRequired,
27726
27883
  });
27727
27884
 
27885
+ T['io.flow.billing.accounting.v0.models.order_summary'] = PropTypes.exact({
27886
+ id: PropTypes.string.isRequired,
27887
+ organization: T['io.flow.common.v0.models.organization_reference'].isRequired,
27888
+ number: PropTypes.string.isRequired,
27889
+ type: T['io.flow.experience.v0.enums.order_type'].isRequired,
27890
+ submitted_at: PropTypes.string.isRequired,
27891
+ delivered_duty: T['io.flow.common.v0.enums.delivered_duty'].isRequired,
27892
+ currency: PropTypes.string.isRequired,
27893
+ });
27894
+
27895
+ T['io.flow.billing.accounting.v0.models.return'] = PropTypes.exact({
27896
+ id: PropTypes.string.isRequired,
27897
+ order: T['io.flow.billing.accounting.v0.models.order_summary'].isRequired,
27898
+ shopper: T['io.flow.billing.accounting.v0.models.shopper_summary'].isRequired,
27899
+ remittance: T['io.flow.billing.accounting.v0.models.remittance_responsibility'].isRequired,
27900
+ merchant: T['io.flow.billing.accounting.v0.models.merchant_summary'].isRequired,
27901
+ sequence_number: PropTypes.number.isRequired,
27902
+ posting_cutoff: PropTypes.string.isRequired,
27903
+ trigger: T['io.flow.billing.accounting.v0.unions.return_trigger'].isRequired,
27904
+ returned_at: PropTypes.string.isRequired,
27905
+ completes_order: PropTypes.bool.isRequired,
27906
+ });
27907
+
27908
+ T['io.flow.billing.accounting.v0.models.fulfillment'] = PropTypes.exact({
27909
+ id: PropTypes.string.isRequired,
27910
+ order: T['io.flow.billing.accounting.v0.models.order_summary'].isRequired,
27911
+ shopper: T['io.flow.billing.accounting.v0.models.shopper_summary'].isRequired,
27912
+ remittance: T['io.flow.billing.accounting.v0.models.remittance_responsibility'].isRequired,
27913
+ merchant: T['io.flow.billing.accounting.v0.models.merchant_summary'].isRequired,
27914
+ sequence_number: PropTypes.number.isRequired,
27915
+ posting_cutoff: PropTypes.string.isRequired,
27916
+ trigger: T['io.flow.billing.accounting.v0.unions.fulfillment_trigger'].isRequired,
27917
+ fulfilled_at: PropTypes.string.isRequired,
27918
+ owner: T['io.flow.billing.internal.v0.enums.responsible_party'].isRequired,
27919
+ origin: T['io.flow.billing.accounting.v0.models.fulfillment_origin'],
27920
+ business: T['io.flow.billing.accounting.v0.models.fulfillment_business'],
27921
+ completes_order: PropTypes.bool.isRequired,
27922
+ });
27923
+
27728
27924
  T['io.flow.internal.v0.models.store_connection'] = PropTypes.exact({
27729
27925
  organization: T['io.flow.common.v0.models.organization_reference'],
27730
27926
  id: PropTypes.string.isRequired,
@@ -28036,7 +28232,7 @@ T['io.flow.internal.v0.models.commercial_invoice_internal'] = PropTypes.exact({
28036
28232
  invoice_reference: PropTypes.string.isRequired,
28037
28233
  signature_url: PropTypes.string.isRequired,
28038
28234
  signature_date: PropTypes.string.isRequired,
28039
- signature_name: PropTypes.string.isRequired,
28235
+ signature_name: PropTypes.string,
28040
28236
  line_items: PropTypes.arrayOf(T['io.flow.internal.v0.models.invoice_line_item']).isRequired,
28041
28237
  currency: PropTypes.string.isRequired,
28042
28238
  delivered_duty: PropTypes.string.isRequired,
@@ -29744,14 +29940,6 @@ T['io.flow.internal.v0.models.bank_payment_upserted'] = PropTypes.exact({
29744
29940
  bank_payment: T['io.flow.internal.v0.models.bank_payment'].isRequired,
29745
29941
  });
29746
29942
 
29747
- T['io.flow.internal.v0.models.bank_payment_deleted'] = PropTypes.exact({
29748
- discriminator: PropTypes.oneOf(['bank_payment_deleted']).isRequired,
29749
- event_id: PropTypes.string.isRequired,
29750
- timestamp: PropTypes.string.isRequired,
29751
- organization: PropTypes.string.isRequired,
29752
- bank_payment: T['io.flow.internal.v0.models.bank_payment'].isRequired,
29753
- });
29754
-
29755
29943
  T['io.flow.common.v0.models.price_with_base'] = PropTypes.exact({
29756
29944
  currency: PropTypes.string.isRequired,
29757
29945
  amount: PropTypes.number.isRequired,
@@ -30825,7 +31013,7 @@ T['io.flow.internal.v0.models.return'] = PropTypes.exact({
30825
31013
  id: PropTypes.string.isRequired,
30826
31014
  order: T['io.flow.internal.v0.models.order_summary'].isRequired,
30827
31015
  shopper: T['io.flow.internal.v0.models.shopper_summary'].isRequired,
30828
- remittance: T['io.flow.internal.v0.models.remittance_responsibility'],
31016
+ remittance: T['io.flow.internal.v0.models.remittance_responsibility'].isRequired,
30829
31017
  merchant: T['io.flow.internal.v0.models.merchant_summary'].isRequired,
30830
31018
  sequence_number: PropTypes.number.isRequired,
30831
31019
  posting_cutoff: PropTypes.string.isRequired,
@@ -30834,11 +31022,60 @@ T['io.flow.internal.v0.models.return'] = PropTypes.exact({
30834
31022
  completes_order: PropTypes.bool.isRequired,
30835
31023
  });
30836
31024
 
31025
+ T['io.flow.internal.v0.models.reporting_shipment'] = PropTypes.exact({
31026
+ remittance: T['io.flow.internal.v0.models.remittance_responsibility'],
31027
+ carrier: PropTypes.string.isRequired,
31028
+ tracking_number: PropTypes.string,
31029
+ });
31030
+
31031
+ T['io.flow.internal.v0.models.reporting_fulfillment'] = PropTypes.exact({
31032
+ id: PropTypes.string.isRequired,
31033
+ sequence_number: PropTypes.number.isRequired,
31034
+ fulfilled_at: PropTypes.string.isRequired,
31035
+ completes_order: PropTypes.bool.isRequired,
31036
+ payment: T['io.flow.internal.v0.models.reporting_payment'].isRequired,
31037
+ refund: T['io.flow.internal.v0.models.reporting_refund_reference'],
31038
+ value: T['io.flow.internal.v0.models.fulfillment_shopper_breakdown'].isRequired,
31039
+ dispatch_country: T['io.flow.internal.v0.models.reporting_country'],
31040
+ destination: T['io.flow.internal.v0.models.reporting_destination'],
31041
+ shipment: T['io.flow.internal.v0.models.reporting_shipment'],
31042
+ is: T['io.flow.internal.v0.models.reporting_fulfillment_is'].isRequired,
31043
+ has: T['io.flow.internal.v0.models.reporting_fulfillment_has'].isRequired,
31044
+ fx: T['io.flow.internal.v0.models.reporting_fx'].isRequired,
31045
+ business: T['io.flow.internal.v0.models.reporting_business'],
31046
+ });
31047
+
31048
+ T['io.flow.internal.v0.models.revenue_record'] = PropTypes.exact({
31049
+ id: PropTypes.string.isRequired,
31050
+ organization: T['io.flow.internal.v0.models.reporting_organization_summary'].isRequired,
31051
+ parent: T['io.flow.internal.v0.models.record_reference'],
31052
+ type: T['io.flow.internal.v0.enums.revenue_record_type'].isRequired,
31053
+ order: T['io.flow.internal.v0.models.reporting_order_summary'].isRequired,
31054
+ entity: T['io.flow.internal.v0.models.reporting_entity'].isRequired,
31055
+ vendor: T['io.flow.internal.v0.models.reporting_vendor'].isRequired,
31056
+ currencies: T['io.flow.internal.v0.models.reporting_currencies'].isRequired,
31057
+ conversion_rate: T['io.flow.internal.v0.models.reporting_conversion_rates'].isRequired,
31058
+ reconciliation: T['io.flow.internal.v0.models.reporting_reconciliation'].isRequired,
31059
+ merchant: T['io.flow.internal.v0.models.reporting_merchant_breakdown'].isRequired,
31060
+ fulfillment: T['io.flow.internal.v0.models.reporting_fulfillment'].isRequired,
31061
+ vat_remittance: T['io.flow.internal.v0.models.reporting_vat_remittance'].isRequired,
31062
+ marked_as_final: T['io.flow.internal.v0.models.marked_as_final'].isRequired,
31063
+ debug: T['io.flow.internal.v0.models.reporting_debug'].isRequired,
31064
+ });
31065
+
31066
+ T['io.flow.internal.v0.models.revenue_record_upserted'] = PropTypes.exact({
31067
+ discriminator: PropTypes.oneOf(['revenue_record_upserted']).isRequired,
31068
+ event_id: PropTypes.string.isRequired,
31069
+ timestamp: PropTypes.string.isRequired,
31070
+ organization: PropTypes.string.isRequired,
31071
+ revenue_record: T['io.flow.internal.v0.models.revenue_record'].isRequired,
31072
+ });
31073
+
30837
31074
  T['io.flow.internal.v0.models.fulfillment'] = PropTypes.exact({
30838
31075
  id: PropTypes.string.isRequired,
30839
31076
  order: T['io.flow.internal.v0.models.order_summary'].isRequired,
30840
31077
  shopper: T['io.flow.internal.v0.models.shopper_summary'].isRequired,
30841
- remittance: T['io.flow.internal.v0.models.remittance_responsibility'],
31078
+ remittance: T['io.flow.internal.v0.models.remittance_responsibility'].isRequired,
30842
31079
  merchant: T['io.flow.internal.v0.models.merchant_summary'].isRequired,
30843
31080
  sequence_number: PropTypes.number.isRequired,
30844
31081
  posting_cutoff: PropTypes.string.isRequired,
@@ -31650,7 +31887,6 @@ T['io.flow.internal.v0.unions.event'] = PropTypes.oneOfType([
31650
31887
  T['io.flow.internal.v0.models.processing_transaction_upserted'],
31651
31888
  T['io.flow.internal.v0.models.processing_transaction_deleted'],
31652
31889
  T['io.flow.internal.v0.models.bank_payment_upserted'],
31653
- T['io.flow.internal.v0.models.bank_payment_deleted'],
31654
31890
  T['io.flow.internal.v0.models.bank_payment_upserted_v2'],
31655
31891
  T['io.flow.internal.v0.models.bank_payment_deleted_v2'],
31656
31892
  T['io.flow.internal.v0.models.channel_transaction_upserted'],
@@ -32075,7 +32311,7 @@ T['io.flow.internal.v0.enums.calculator_engine'] = PropTypes.oneOf([
32075
32311
  'dtce_with_inclusive_pricing',
32076
32312
  ]);
32077
32313
 
32078
- T['io.flow.internal.v0.enums.carrier_charge_transaction_type'] = PropTypes.oneOf(['adjustment', 'reversal', 'charge']);
32314
+ T['io.flow.internal.v0.enums.carrier_charge_transaction_type'] = PropTypes.oneOf(['adjustment', 'reversal', 'charge', 'revenue_share']);
32079
32315
  T['io.flow.internal.v0.enums.carrier_label_generation_method'] = PropTypes.oneOf(['direct', 'easypost']);
32080
32316
  T['io.flow.internal.v0.enums.channel_billed_transaction_type'] = PropTypes.oneOf(['adjustment', 'reversal', 'channel_initiated']);
32081
32317
  T['io.flow.internal.v0.enums.channel_transaction_type'] = PropTypes.oneOf(['adjustment', 'reversal', 'processing']);
@@ -32127,7 +32363,6 @@ T['io.flow.internal.v0.enums.event_type'] = PropTypes.oneOf([
32127
32363
  'processing_transaction_upserted',
32128
32364
  'processing_transaction_deleted',
32129
32365
  'bank_payment_upserted',
32130
- 'bank_payment_deleted',
32131
32366
  'bank_payment_upserted_v2',
32132
32367
  'bank_payment_deleted_v2',
32133
32368
  'channel_transaction_upserted',
@@ -33670,6 +33905,10 @@ T['io.flow.channel.v0.models.channel_organization_authorization_form'] = PropTyp
33670
33905
  organization_id: PropTypes.string.isRequired,
33671
33906
  });
33672
33907
 
33908
+ T['io.flow.billing.accounting.v0.models.fulfillment_reference'] = PropTypes.exact({
33909
+ id: PropTypes.string.isRequired,
33910
+ });
33911
+
33673
33912
  T['io.flow.export.v0.models.landed_cost_item'] = PropTypes.exact({
33674
33913
  number: PropTypes.string.isRequired,
33675
33914
  origin: PropTypes.string.isRequired,
@@ -35174,7 +35413,6 @@ export const backfill = T['io.flow.internal.v0.models.backfill'];
35174
35413
  export const backfillForm = T['io.flow.internal.v0.models.backfill_form'];
35175
35414
  export const bankAccountReference = T['io.flow.internal.v0.models.bank_account_reference'];
35176
35415
  export const bankPayment = T['io.flow.internal.v0.models.bank_payment'];
35177
- export const bankPaymentDeleted = T['io.flow.internal.v0.models.bank_payment_deleted'];
35178
35416
  export const bankPaymentDeletedV2 = T['io.flow.internal.v0.models.bank_payment_deleted_v2'];
35179
35417
  export const bankPaymentForm = T['io.flow.internal.v0.models.bank_payment_form'];
35180
35418
  export const bankPaymentPromiseCompletedMethod = T['io.flow.internal.v0.enums.bank_payment_promise_completed_method'];