@flowio/api-types 0.0.203 → 0.0.205

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.
@@ -0,0 +1,21 @@
1
+ declare namespace io.flow.invoice.v0.enums {
2
+ type PaymentTerm = 'net7' | 'net15' | 'net30';
3
+ }
4
+
5
+ declare namespace io.flow.invoice.v0.models {
6
+ interface Invoice {
7
+ readonly 'id': string;
8
+ readonly 'number': string;
9
+ readonly 'date': string;
10
+ readonly 'terms': io.flow.invoice.v0.enums.PaymentTerm;
11
+ readonly 'due_date': string;
12
+ readonly 'lines': io.flow.invoice.v0.models.InvoiceLine[];
13
+ readonly 'total': io.flow.common.v0.models.Price;
14
+ }
15
+
16
+ interface InvoiceLine {
17
+ readonly 'id': string;
18
+ readonly 'description': string;
19
+ readonly 'value': io.flow.common.v0.models.Price;
20
+ }
21
+ }
@@ -129,9 +129,9 @@ declare namespace io.flow.label.v0.models {
129
129
  }
130
130
 
131
131
  interface ShippingLabelHopCostItemizedEstimate {
132
- readonly 'units': io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelUnits;
133
- readonly 'base': io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelBase;
134
- readonly 'surcharges': io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurcharge[];
132
+ readonly 'units': io.flow.trueup.v0.models.LabelUnits;
133
+ readonly 'base': io.flow.trueup.v0.models.LabelBase;
134
+ readonly 'surcharges': io.flow.trueup.v0.models.LabelSurcharge[];
135
135
  }
136
136
 
137
137
  interface ShippingLabelHopSummary {
@@ -143,6 +143,7 @@ declare namespace io.flow.label.v0.models {
143
143
  interface ShippingLabelLaneSummary {
144
144
  readonly 'id'?: string;
145
145
  readonly 'ratecard': io.flow.label.v0.models.ShippingLabelRatecardSummary;
146
+ readonly 'weight_break'?: number;
146
147
  }
147
148
 
148
149
  interface ShippingLabelPackage {
@@ -596,6 +596,7 @@ declare namespace io.flow.payment.v0.models {
596
596
  readonly 'processor': string;
597
597
  readonly 'operation_identifier'?: io.flow.payment.v0.models.PaymentProcessorIdentifier;
598
598
  readonly 'account'?: io.flow.payment.v0.models.PaymentProcessorAccount;
599
+ readonly 'transaction_details'?: io.flow.payment.v0.unions.PaymentProcessorTransactionDetails;
599
600
  }
600
601
 
601
602
  interface PaymentProcessorAccount {
@@ -620,6 +621,17 @@ declare namespace io.flow.payment.v0.models {
620
621
  readonly 'processor': string;
621
622
  }
622
623
 
624
+ interface PaymentProcessorTransactionDetailsCard {
625
+ readonly 'discriminator': 'card';
626
+ readonly 'transaction_identifier'?: string;
627
+ readonly 'method_type'?: string;
628
+ readonly 'result_status'?: string;
629
+ readonly 'reason_code'?: string;
630
+ readonly 'avs_result_code'?: string;
631
+ readonly 'cvv_result_code'?: string;
632
+ readonly 'threeds_result_code'?: string;
633
+ }
634
+
623
635
  interface PaymentReference {
624
636
  readonly 'id': string;
625
637
  }
@@ -956,6 +968,7 @@ declare namespace io.flow.payment.v0.unions {
956
968
  type Payment = (io.flow.payment.v0.models.PaymentPaypal | io.flow.payment.v0.models.PaymentCryptopay);
957
969
  type PaymentForm = (io.flow.payment.v0.models.MerchantOfRecordPaymentForm);
958
970
  type PaymentOrderReference = (io.flow.payment.v0.models.AuthorizationOrderReference | io.flow.payment.v0.models.PaymentPaymentRequestReference);
971
+ type PaymentProcessorTransactionDetails = (io.flow.payment.v0.models.PaymentProcessorTransactionDetailsCard);
959
972
  type PaymentSource = (io.flow.payment.v0.models.CardPaymentSource);
960
973
  type PaymentSourceForm = (io.flow.payment.v0.models.CardPaymentSourceForm);
961
974
  type ThreedsChallengeAction = (io.flow.payment.v0.models.ThreedsTwoChallengeRequest);
@@ -77,9 +77,21 @@ declare namespace io.flow.ratecard.v0.models {
77
77
  readonly 'ends_at'?: string;
78
78
  }
79
79
 
80
+ interface FuelSurchargeByWeight {
81
+ readonly 'discriminator': 'fuel_surcharge_by_weight';
82
+ readonly 'amount': number;
83
+ readonly 'weight_unit': io.flow.common.v0.enums.UnitOfMeasurement;
84
+ }
85
+
86
+ interface FuelSurchargePercent {
87
+ readonly 'discriminator': 'fuel_surcharge_percent';
88
+ readonly 'percent': number;
89
+ }
90
+
80
91
  interface FuelSurchargeRatecardFee {
81
92
  readonly 'discriminator': 'fuel_surcharge_ratecard_fee';
82
93
  readonly 'amount': io.flow.common.v0.models.Money;
94
+ readonly 'fuel_surcharge_rate'?: io.flow.ratecard.v0.unions.FuelSurchargeRate;
83
95
  }
84
96
 
85
97
  interface FuelSurchargeServiceFee {
@@ -111,6 +123,7 @@ declare namespace io.flow.ratecard.v0.models {
111
123
  readonly 'currency': string;
112
124
  readonly 'amount': number;
113
125
  readonly 'fees': io.flow.ratecard.v0.unions.RatecardFee[];
126
+ readonly 'weight_break'?: number;
114
127
  readonly 'total': number;
115
128
  readonly 'lane': io.flow.ratecard.v0.models.LaneSummary;
116
129
  }
@@ -396,6 +409,7 @@ declare namespace io.flow.ratecard.v0.models {
396
409
  }
397
410
 
398
411
  declare namespace io.flow.ratecard.v0.unions {
412
+ type FuelSurchargeRate = (io.flow.ratecard.v0.models.FuelSurchargePercent | io.flow.ratecard.v0.models.FuelSurchargeByWeight);
399
413
  type RatecardEstimate = (io.flow.ratecard.v0.models.RatecardEstimateV1 | io.flow.ratecard.v0.models.RatecardEstimateV2 | io.flow.ratecard.v0.models.RatecardEstimateV3 | io.flow.ratecard.v0.models.RatecardEstimateV4);
400
414
  type RatecardFee = (io.flow.ratecard.v0.models.DdpRatecardFee | io.flow.ratecard.v0.models.FuelSurchargeRatecardFee | io.flow.ratecard.v0.models.OversizePieceSurchargeRatecardFee | io.flow.ratecard.v0.models.ReturnPackageRatecardFee | io.flow.ratecard.v0.models.CrossdockRatecardFee | io.flow.ratecard.v0.models.RemoteAreaRatecardFee | io.flow.ratecard.v0.models.EmergencySituationSurchargeRatecardFee | io.flow.ratecard.v0.models.PeakSurchargeRatecardFee | io.flow.ratecard.v0.models.DutiesTaxesPaidSurchargeRatecardFee);
401
415
  type ServiceFee = (io.flow.ratecard.v0.models.FuelSurchargeServiceFee | io.flow.ratecard.v0.models.FuelSurchargeAmountByWeightServiceFee | io.flow.ratecard.v0.models.RemoteAreaServiceFee | io.flow.ratecard.v0.models.EmergencySituationSurchargeServiceFee | io.flow.ratecard.v0.models.PeakSurchargeServiceFee | io.flow.ratecard.v0.models.PeakSurchargeByWeightServiceFee | io.flow.ratecard.v0.models.DutiesTaxesPaidSurchargeServiceFee | io.flow.ratecard.v0.models.OversizePieceSurchargeServiceFee);
@@ -21,7 +21,7 @@ declare namespace io.flow.shopify.markets.v0.enums {
21
21
  type ShopifyOrderInventoryBehaviour = 'bypass' | 'decrement_ignoring_policy' | 'decrement_obeying_policy';
22
22
  type ShopifyOrderKindType = 'authorization' | 'capture' | 'sale' | 'void' | 'refund';
23
23
  type ShopifyOrderPaymentGatewayNames = 'flow_commerce' | 'gift_card' | 'manual' | 'shopify_payments';
24
- type ShopifyOrderProcessingMethodType = 'checkout' | 'direct' | 'manual' | 'offsite' | 'express';
24
+ type ShopifyOrderProcessingMethodType = 'checkout' | 'direct' | 'manual' | 'offsite' | 'express' | 'deferred_payment';
25
25
  type ShopifyOrderRestockType = 'no_restock' | 'cancel' | 'return';
26
26
  type ShopifyOrderStatusType = 'open' | 'closed' | 'cancelled' | 'any';
27
27
  type ShopifyOrderTransactionErrorCode = 'incorrect_number' | 'invalid_number' | 'invalid_expiry_date' | 'invalid_cvc' | 'expired_card' | 'incorrect_cvc' | 'incorrect_zip' | 'incorrect_address' | 'card_declined' | 'processing_error' | 'call_issuer' | 'pick_up_card';
@@ -573,6 +573,7 @@ declare namespace io.flow.stripe.v0.models {
573
573
  readonly 'network'?: string;
574
574
  readonly 'request_three_d_secure'?: io.flow.stripe.v0.enums.RequestThreeDSecureType;
575
575
  readonly 'stored_credential_transaction_type'?: io.flow.stripe.v0.enums.StoredCredentialTransactionType;
576
+ readonly 'mcc'?: string;
576
577
  }
577
578
 
578
579
  interface PaymentOutcome {
@@ -0,0 +1,52 @@
1
+ declare namespace io.flow.trueup.v0.enums {
2
+ type TrueupSurchargeType = 'fuel' | 'remote_area' | 'oversize' | 'duties_paid' | 'emergency' | 'peak' | 'address_correction';
3
+ }
4
+
5
+ declare namespace io.flow.trueup.v0.models {
6
+ interface DeadWeight {
7
+ readonly 'weight': number;
8
+ }
9
+
10
+ interface DimensionalWeight {
11
+ readonly 'weight': number;
12
+ readonly 'length'?: number;
13
+ readonly 'width'?: number;
14
+ readonly 'height'?: number;
15
+ }
16
+
17
+ interface LabelBase {
18
+ readonly 'amount': number;
19
+ readonly 'weight': number;
20
+ }
21
+
22
+ interface LabelSurcharge {
23
+ readonly 'amount': number;
24
+ readonly 'type': io.flow.trueup.v0.enums.TrueupSurchargeType;
25
+ readonly 'detail': io.flow.trueup.v0.unions.LabelSurchargeDetail;
26
+ }
27
+
28
+ interface LabelSurchargeDetailFlat {
29
+ readonly 'discriminator': 'flat';
30
+ readonly 'placeholder'?: string;
31
+ }
32
+
33
+ interface LabelSurchargeDetailPerWeightUnit {
34
+ readonly 'discriminator': 'per_weight_unit';
35
+ readonly 'fee': number;
36
+ }
37
+
38
+ interface LabelSurchargeDetailPercentage {
39
+ readonly 'discriminator': 'percentage';
40
+ readonly 'percentage': number;
41
+ }
42
+
43
+ interface LabelUnits {
44
+ readonly 'currency': string;
45
+ readonly 'weight': io.flow.units.v0.enums.UnitOfWeight;
46
+ readonly 'length': io.flow.units.v0.enums.UnitOfLength;
47
+ }
48
+ }
49
+
50
+ declare namespace io.flow.trueup.v0.unions {
51
+ type LabelSurchargeDetail = (io.flow.trueup.v0.models.LabelSurchargeDetailFlat | io.flow.trueup.v0.models.LabelSurchargeDetailPercentage | io.flow.trueup.v0.models.LabelSurchargeDetailPerWeightUnit);
52
+ }
@@ -53,7 +53,7 @@ declare namespace io.flow.v0.enums {
53
53
  type EconomicTitleLocation = 'high_seas' | 'origination' | 'destination';
54
54
  type EntityIdentifierType = 'ioss' | 'voec';
55
55
  type Environment = 'sandbox' | 'production';
56
- type EventType = 'test_upserted' | 'generate_load' | 'transaction_upserted' | 'organization_transaction_upserted' | 'organization_transaction_deleted' | 'statement_upserted' | 'statement_deleted' | 'channel_transaction_upserted' | 'channel_transaction_deleted' | 'channel_transaction_deleted_v2' | 'channel_statement_upserted' | 'channel_statement_deleted' | 'channel_payout_upserted' | 'channel_payout_deleted' | 'organization_payout_upserted' | 'organization_payout_deleted' | 'attribute_upserted' | 'attribute_deleted' | 'attribute_upserted_v2' | 'attribute_deleted_v2' | 'catalog_upserted' | 'catalog_deleted' | 'subcatalog_upserted' | 'subcatalog_deleted' | 'catalog_item_upserted' | 'catalog_item_deleted' | 'catalog_item_upserted_v2' | 'catalog_item_deleted_v2' | 'subcatalog_item_upserted' | 'subcatalog_item_deleted' | 'catalog_statistics_upserted' | 'catalog_statistics_deleted' | 'channel_upserted' | 'channel_deleted' | 'channel_currency_upserted' | 'channel_currency_deleted' | 'channel_organization_upserted' | 'channel_organization_deleted' | 'b2b_invoice_upserted' | 'b2b_invoice_deleted' | 'b2b_credit_memo_upserted' | 'b2b_credit_memo_deleted' | 'consumer_invoice_upserted' | 'consumer_invoice_deleted' | 'credit_memo_upserted' | 'credit_memo_deleted' | 'crossdock_shipment_upserted' | 'rate_deleted' | 'rate_upserted' | 'rate_deleted_v3' | 'rate_upserted_v3' | 'customer_upserted' | 'customer_deleted' | 'customer_address_book_contact_upserted' | 'customer_address_book_contact_deleted' | 'email_notification_upserted' | 'email_notification_deleted' | 'available_promotions_upserted' | 'available_promotions_deleted' | 'available_promotions_upserted_v2' | 'available_promotions_deleted_v2' | 'allocation_deleted_v2' | 'allocation_upserted_v2' | 'currency_format_deleted' | 'currency_format_upserted' | 'experience_deleted' | 'experience_upserted' | 'experience_deleted_v2' | 'experience_upserted_v2' | 'country_status_upserted' | 'country_status_deleted' | 'experience_price_book_mapping_deleted' | 'experience_price_book_mapping_upserted' | 'experience_logistics_settings_upserted' | 'experience_logistics_settings_deleted' | 'item_margin_deleted_v2' | 'item_margin_upserted_v2' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'label_format_deleted' | 'label_format_upserted' | 'order_deleted' | 'order_upserted' | 'order_deleted_v2' | 'order_upserted_v2' | 'order_identifier_deleted' | 'order_identifier_upserted' | 'order_identifier_deleted_v2' | 'order_identifier_upserted_v2' | 'order_identifier_upserted_v3' | 'order_replacement_upserted' | 'order_replacement_deleted' | 'pricing_deleted' | 'pricing_upserted' | 'order_service_change_request' | 'fraud_status_changed' | 'center_upserted' | 'center_deleted' | 'shipping_configuration_upserted' | 'shipping_configuration_deleted' | 'tier_upserted_v2' | 'tier_deleted_v2' | 'shipping_lane_upserted' | 'shipping_lane_deleted' | 'shipping_configuration_item_availability_upserted' | 'shipping_configuration_item_availability_deleted' | 'shipping_configuration_item_shipping_pricing_upserted' | 'shipping_configuration_item_shipping_pricing_deleted' | 'hs6_code_upserted' | 'hs6_code_deleted' | 'hs10_code_upserted' | 'hs10_code_deleted' | 'item_origin_upserted' | 'item_origin_deleted' | 'harmonized_landed_cost_upserted' | 'fully_harmonized_item_upserted' | 'import_completed_v2' | 'import_failed_v2' | 'rule_upserted' | 'rule_deleted' | 'snapshot_upserted' | 'snapshot_deleted' | 'label_upserted' | 'label_deleted_v2' | 'label_upserted_v2' | 'notification_upserted_v2' | 'notification_deleted_v2' | 'manifested_label_upserted' | 'manifested_label_deleted' | 'local_item_upserted' | 'local_item_deleted' | 'merchant_application_upserted' | 'merchant_application_deleted' | 'checkout_optin_responses_upserted' | 'checkout_optin_responses_deleted' | 'browse_optin_responses_upserted' | 'browse_optin_responses_deleted' | 'order_placed' | 'order_placed_v2' | 'ready_to_fulfill' | 'ready_to_fulfill_v2' | 'membership_upserted_v2' | 'membership_deleted_v2' | 'organization_upserted' | 'organization_deleted' | 'organization_upserted_v2' | 'organization_deleted_v2' | 'organization_default_configurations_upserted' | 'organization_default_configurations_deleted' | 'ecommerce_platform_upserted' | 'ecommerce_platform_deleted' | 'organization_onboarding_state_upserted' | 'organization_onboarding_state_deleted' | 'authorization_deleted_v2' | 'authorization_status_changed' | 'card_authorization_upserted_v2' | 'card_authorization_deleted_v2' | 'online_authorization_upserted_v2' | 'online_authorization_deleted_v2' | 'capture_upserted_v2' | 'capture_deleted' | 'card_upserted_v2' | 'card_deleted' | 'payment_upserted' | 'payment_deleted' | 'refund_upserted_v2' | 'refund_deleted_v2' | 'refund_capture_upserted_v2' | 'reversal_upserted' | 'reversal_deleted' | 'capture_identifier_upserted' | 'capture_identifier_deleted' | 'refund_identifier_upserted' | 'refund_identifier_deleted' | 'virtual_card_capture_upserted' | 'virtual_card_capture_deleted' | 'virtual_card_refund_upserted' | 'virtual_card_refund_deleted' | 'payment_request_upserted' | 'payment_request_deleted' | 'price_book_upserted' | 'price_book_deleted' | 'price_book_item_upserted' | 'price_book_item_deleted' | 'organization_rates_published' | 'ratecard_lane_upserted' | 'ratecard_lane_deleted' | 'ratecard_upserted' | 'ratecard_deleted' | 'product_restriction_result_upserted' | 'product_restriction_result_deleted' | 'return_upserted' | 'return_deleted' | 'return_upserted_v2' | 'return_deleted_v2' | 'shopify_localization_setting_upserted' | 'shopify_localization_setting_deleted' | 'tracking_label_event_upserted';
56
+ type EventType = 'test_upserted' | 'generate_load' | 'transaction_upserted' | 'organization_transaction_upserted' | 'organization_transaction_deleted' | 'statement_upserted' | 'statement_deleted' | 'channel_transaction_upserted' | 'channel_transaction_deleted' | 'channel_transaction_deleted_v2' | 'channel_statement_upserted' | 'channel_statement_deleted' | 'channel_payout_upserted' | 'channel_payout_deleted' | 'organization_payout_upserted' | 'organization_payout_deleted' | 'channel_pending_payout_transaction_upserted' | 'channel_pending_payout_transaction_deleted' | 'organization_pending_payout_transaction_upserted' | 'organization_pending_payout_transaction_deleted' | 'attribute_upserted' | 'attribute_deleted' | 'attribute_upserted_v2' | 'attribute_deleted_v2' | 'catalog_upserted' | 'catalog_deleted' | 'subcatalog_upserted' | 'subcatalog_deleted' | 'catalog_item_upserted' | 'catalog_item_deleted' | 'catalog_item_upserted_v2' | 'catalog_item_deleted_v2' | 'subcatalog_item_upserted' | 'subcatalog_item_deleted' | 'catalog_statistics_upserted' | 'catalog_statistics_deleted' | 'channel_upserted' | 'channel_deleted' | 'channel_currency_upserted' | 'channel_currency_deleted' | 'channel_organization_upserted' | 'channel_organization_deleted' | 'b2b_invoice_upserted' | 'b2b_invoice_deleted' | 'b2b_credit_memo_upserted' | 'b2b_credit_memo_deleted' | 'consumer_invoice_upserted' | 'consumer_invoice_deleted' | 'credit_memo_upserted' | 'credit_memo_deleted' | 'crossdock_shipment_upserted' | 'rate_deleted' | 'rate_upserted' | 'rate_deleted_v3' | 'rate_upserted_v3' | 'customer_upserted' | 'customer_deleted' | 'customer_address_book_contact_upserted' | 'customer_address_book_contact_deleted' | 'email_notification_upserted' | 'email_notification_deleted' | 'available_promotions_upserted' | 'available_promotions_deleted' | 'available_promotions_upserted_v2' | 'available_promotions_deleted_v2' | 'allocation_deleted_v2' | 'allocation_upserted_v2' | 'currency_format_deleted' | 'currency_format_upserted' | 'experience_deleted' | 'experience_upserted' | 'experience_deleted_v2' | 'experience_upserted_v2' | 'country_status_upserted' | 'country_status_deleted' | 'experience_price_book_mapping_deleted' | 'experience_price_book_mapping_upserted' | 'experience_logistics_settings_upserted' | 'experience_logistics_settings_deleted' | 'item_margin_deleted_v2' | 'item_margin_upserted_v2' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'label_format_deleted' | 'label_format_upserted' | 'order_deleted' | 'order_upserted' | 'order_deleted_v2' | 'order_upserted_v2' | 'order_identifier_deleted' | 'order_identifier_upserted' | 'order_identifier_deleted_v2' | 'order_identifier_upserted_v2' | 'order_identifier_upserted_v3' | 'order_replacement_upserted' | 'order_replacement_deleted' | 'pricing_deleted' | 'pricing_upserted' | 'order_service_change_request' | 'fraud_status_changed' | 'center_upserted' | 'center_deleted' | 'shipping_configuration_upserted' | 'shipping_configuration_deleted' | 'tier_upserted_v2' | 'tier_deleted_v2' | 'shipping_lane_upserted' | 'shipping_lane_deleted' | 'shipping_configuration_item_availability_upserted' | 'shipping_configuration_item_availability_deleted' | 'shipping_configuration_item_shipping_pricing_upserted' | 'shipping_configuration_item_shipping_pricing_deleted' | 'hs6_code_upserted' | 'hs6_code_deleted' | 'hs10_code_upserted' | 'hs10_code_deleted' | 'item_origin_upserted' | 'item_origin_deleted' | 'harmonized_landed_cost_upserted' | 'fully_harmonized_item_upserted' | 'import_completed_v2' | 'import_failed_v2' | 'rule_upserted' | 'rule_deleted' | 'snapshot_upserted' | 'snapshot_deleted' | 'label_upserted' | 'label_deleted_v2' | 'label_upserted_v2' | 'notification_upserted_v2' | 'notification_deleted_v2' | 'manifested_label_upserted' | 'manifested_label_deleted' | 'local_item_upserted' | 'local_item_deleted' | 'merchant_application_upserted' | 'merchant_application_deleted' | 'checkout_optin_responses_upserted' | 'checkout_optin_responses_deleted' | 'browse_optin_responses_upserted' | 'browse_optin_responses_deleted' | 'order_placed' | 'order_placed_v2' | 'ready_to_fulfill' | 'ready_to_fulfill_v2' | 'membership_upserted_v2' | 'membership_deleted_v2' | 'organization_upserted' | 'organization_deleted' | 'organization_upserted_v2' | 'organization_deleted_v2' | 'organization_default_configurations_upserted' | 'organization_default_configurations_deleted' | 'ecommerce_platform_upserted' | 'ecommerce_platform_deleted' | 'organization_onboarding_state_upserted' | 'organization_onboarding_state_deleted' | 'authorization_deleted_v2' | 'authorization_status_changed' | 'card_authorization_upserted_v2' | 'card_authorization_deleted_v2' | 'online_authorization_upserted_v2' | 'online_authorization_deleted_v2' | 'capture_upserted_v2' | 'capture_deleted' | 'card_upserted_v2' | 'card_deleted' | 'payment_upserted' | 'payment_deleted' | 'refund_upserted_v2' | 'refund_deleted_v2' | 'refund_capture_upserted_v2' | 'reversal_upserted' | 'reversal_deleted' | 'capture_identifier_upserted' | 'capture_identifier_deleted' | 'refund_identifier_upserted' | 'refund_identifier_deleted' | 'virtual_card_capture_upserted' | 'virtual_card_capture_deleted' | 'virtual_card_refund_upserted' | 'virtual_card_refund_deleted' | 'payment_request_upserted' | 'payment_request_deleted' | 'price_book_upserted' | 'price_book_deleted' | 'price_book_item_upserted' | 'price_book_item_deleted' | 'organization_rates_published' | 'ratecard_lane_upserted' | 'ratecard_lane_deleted' | 'ratecard_upserted' | 'ratecard_deleted' | 'product_restriction_result_upserted' | 'product_restriction_result_deleted' | 'return_upserted' | 'return_deleted' | 'return_upserted_v2' | 'return_deleted_v2' | 'shopify_localization_setting_upserted' | 'shopify_localization_setting_deleted' | 'tracking_label_event_upserted';
57
57
  type ExceptionType = 'open' | 'closed';
58
58
  type ExclusionRuleState = 'current' | 'deleting' | 'updating';
59
59
  type ExperienceCloneStatus = 'pending' | 'updating' | 'completed' | 'failed';
@@ -140,6 +140,7 @@ declare namespace io.flow.v0.enums {
140
140
  type PaymentType = 'card' | 'klarna' | 'googlepay' | 'paypal' | 'applepay' | 'ideal' | 'sofort' | 'afterpay' | 'bancontact';
141
141
  type PayoutAttachmentType = 'transactions';
142
142
  type PayoutStatusFailureCode = 'invalid_account_number' | 'account_closed' | 'could_not_process';
143
+ type PendingPayoutTransactionReasonCode = 'waiting_for_full_refund' | 'waiting_for_fulfillment' | 'waiting_for_in_transit' | 'waiting_for_next_payout_date' | 'waiting_for_tracking_info' | 'waiting_for_positive_account_balance';
143
144
  type PermittedHttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
144
145
  type PhysicalDeliverySpecialSerivce = 'cold_storage' | 'hazardous' | 'perishable';
145
146
  type PostalType = 'eircode' | 'pin' | 'postal' | 'zip';
@@ -198,7 +199,6 @@ declare namespace io.flow.v0.enums {
198
199
  type TrackingStatus = 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired';
199
200
  type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
200
201
  type TradeAgreementStatus = 'supported' | 'not_supported';
201
- type TransactionPayoutPendingReason = 'waiting_for_full_refund' | 'waiting_for_fulfillment' | 'waiting_for_in_transit' | 'waiting_for_next_payout_date' | 'external_fulfillment_missing_tracking_info' | 'waiting_for_positive_account_balance';
202
202
  type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'reversal' | 'shipping_label' | 'shipping_label_service' | 'trueup' | 'shipping_label_revenue_share' | 'platform_fee' | 'tax' | 'duty' | 'withholding' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'channel_billed' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund';
203
203
  type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl';
204
204
  type TrueupSurchargeType = 'fuel' | 'remote_area' | 'oversize' | 'duties_paid' | 'emergency' | 'peak' | 'address_correction';
@@ -1661,6 +1661,18 @@ declare namespace io.flow.v0.models {
1661
1661
  readonly 'id': string;
1662
1662
  }
1663
1663
 
1664
+ interface ChannelCurrencyPair {
1665
+ readonly 'id': string;
1666
+ readonly 'base': string;
1667
+ readonly 'target': string;
1668
+ readonly 'rate': io.flow.v0.models.ChannelCurrencyRate;
1669
+ }
1670
+
1671
+ interface ChannelCurrencyRate {
1672
+ readonly 'id': string;
1673
+ readonly 'value': number;
1674
+ }
1675
+
1664
1676
  interface ChannelCurrencyUpserted {
1665
1677
  readonly 'discriminator': 'channel_currency_upserted';
1666
1678
  readonly 'event_id': string;
@@ -1756,6 +1768,31 @@ declare namespace io.flow.v0.models {
1756
1768
  readonly 'payout': io.flow.v0.models.ChannelPayout;
1757
1769
  }
1758
1770
 
1771
+ interface ChannelPendingPayoutTransaction {
1772
+ readonly 'id': string;
1773
+ readonly 'reason': io.flow.v0.models.PendingPayoutTransactionReason;
1774
+ readonly 'timeout'?: io.flow.v0.models.PendingPayoutTransactionTimeout;
1775
+ readonly 'created_at': string;
1776
+ readonly 'updated_at': string;
1777
+ readonly 'deleted_at'?: string;
1778
+ }
1779
+
1780
+ interface ChannelPendingPayoutTransactionDeleted {
1781
+ readonly 'discriminator': 'channel_pending_payout_transaction_deleted';
1782
+ readonly 'event_id': string;
1783
+ readonly 'timestamp': string;
1784
+ readonly 'channel_id': string;
1785
+ readonly 'id': string;
1786
+ }
1787
+
1788
+ interface ChannelPendingPayoutTransactionUpserted {
1789
+ readonly 'discriminator': 'channel_pending_payout_transaction_upserted';
1790
+ readonly 'event_id': string;
1791
+ readonly 'timestamp': string;
1792
+ readonly 'channel_id': string;
1793
+ readonly 'channel_pending_payout_transaction': io.flow.v0.models.ChannelPendingPayoutTransaction;
1794
+ }
1795
+
1759
1796
  interface ChannelRate {
1760
1797
  readonly 'placeholder'?: string;
1761
1798
  }
@@ -1847,12 +1884,6 @@ declare namespace io.flow.v0.models {
1847
1884
  readonly 'id': string;
1848
1885
  }
1849
1886
 
1850
- interface ChannelTransactionPayout {
1851
- readonly 'transaction': io.flow.v0.models.TransactionReference;
1852
- readonly 'waiting_for'?: io.flow.v0.enums.TransactionPayoutPendingReason;
1853
- readonly 'payout'?: io.flow.v0.models.PayoutReference;
1854
- }
1855
-
1856
1887
  interface ChannelTransactionUpserted {
1857
1888
  readonly 'discriminator': 'channel_transaction_upserted';
1858
1889
  readonly 'event_id': string;
@@ -2537,6 +2568,10 @@ declare namespace io.flow.v0.models {
2537
2568
  readonly 'reason': string;
2538
2569
  }
2539
2570
 
2571
+ interface DeadWeight {
2572
+ readonly 'weight': number;
2573
+ }
2574
+
2540
2575
  interface DefaultBankAccountForm {
2541
2576
  readonly 'bank_account_id': string;
2542
2577
  }
@@ -2781,6 +2816,13 @@ declare namespace io.flow.v0.models {
2781
2816
  readonly 'dimension_estimate': io.flow.v0.models.DimensionEstimate;
2782
2817
  }
2783
2818
 
2819
+ interface DimensionalWeight {
2820
+ readonly 'weight': number;
2821
+ readonly 'length'?: number;
2822
+ readonly 'width'?: number;
2823
+ readonly 'height'?: number;
2824
+ }
2825
+
2784
2826
  interface Dimensions {
2785
2827
  readonly 'product'?: io.flow.v0.models.Dimension;
2786
2828
  readonly 'packaging'?: io.flow.v0.models.Dimension;
@@ -3628,9 +3670,21 @@ declare namespace io.flow.v0.models {
3628
3670
  readonly 'ends_at'?: string;
3629
3671
  }
3630
3672
 
3673
+ interface FuelSurchargeByWeight {
3674
+ readonly 'discriminator': 'fuel_surcharge_by_weight';
3675
+ readonly 'amount': number;
3676
+ readonly 'weight_unit': io.flow.v0.enums.UnitOfMeasurement;
3677
+ }
3678
+
3679
+ interface FuelSurchargePercent {
3680
+ readonly 'discriminator': 'fuel_surcharge_percent';
3681
+ readonly 'percent': number;
3682
+ }
3683
+
3631
3684
  interface FuelSurchargeRatecardFee {
3632
3685
  readonly 'discriminator': 'fuel_surcharge_ratecard_fee';
3633
3686
  readonly 'amount': io.flow.v0.models.Money;
3687
+ readonly 'fuel_surcharge_rate'?: io.flow.v0.unions.FuelSurchargeRate;
3634
3688
  }
3635
3689
 
3636
3690
  interface FuelSurchargeServiceFee {
@@ -3884,6 +3938,7 @@ declare namespace io.flow.v0.models {
3884
3938
  readonly 'currency': string;
3885
3939
  readonly 'amount': number;
3886
3940
  readonly 'fees': io.flow.v0.unions.RatecardFee[];
3941
+ readonly 'weight_break'?: number;
3887
3942
  readonly 'total': number;
3888
3943
  readonly 'lane': io.flow.v0.models.LaneSummary;
3889
3944
  }
@@ -4537,6 +4592,11 @@ declare namespace io.flow.v0.models {
4537
4592
  readonly 'status': string;
4538
4593
  }
4539
4594
 
4595
+ interface LabelBase {
4596
+ readonly 'amount': number;
4597
+ readonly 'weight': number;
4598
+ }
4599
+
4540
4600
  interface LabelDeletedV2 {
4541
4601
  readonly 'discriminator': 'label_deleted_v2';
4542
4602
  readonly 'event_id': string;
@@ -4571,6 +4631,27 @@ declare namespace io.flow.v0.models {
4571
4631
  readonly 'id': string;
4572
4632
  }
4573
4633
 
4634
+ interface LabelSurcharge {
4635
+ readonly 'amount': number;
4636
+ readonly 'type': io.flow.v0.enums.TrueupSurchargeType;
4637
+ readonly 'detail': io.flow.v0.unions.LabelSurchargeDetail;
4638
+ }
4639
+
4640
+ interface LabelSurchargeDetailFlat {
4641
+ readonly 'discriminator': 'flat';
4642
+ readonly 'placeholder'?: string;
4643
+ }
4644
+
4645
+ interface LabelSurchargeDetailPerWeightUnit {
4646
+ readonly 'discriminator': 'per_weight_unit';
4647
+ readonly 'fee': number;
4648
+ }
4649
+
4650
+ interface LabelSurchargeDetailPercentage {
4651
+ readonly 'discriminator': 'percentage';
4652
+ readonly 'percentage': number;
4653
+ }
4654
+
4574
4655
  interface LabelTrackingCarrierService {
4575
4656
  readonly 'carrier_id': string;
4576
4657
  readonly 'service_id'?: string;
@@ -4592,6 +4673,12 @@ declare namespace io.flow.v0.models {
4592
4673
  readonly 'created_at'?: string;
4593
4674
  }
4594
4675
 
4676
+ interface LabelUnits {
4677
+ readonly 'currency': string;
4678
+ readonly 'weight': io.flow.v0.enums.UnitOfWeight;
4679
+ readonly 'length': io.flow.v0.enums.UnitOfLength;
4680
+ }
4681
+
4595
4682
  interface LabelUpserted {
4596
4683
  readonly 'discriminator': 'label_upserted';
4597
4684
  readonly 'event_id': string;
@@ -6176,6 +6263,31 @@ declare namespace io.flow.v0.models {
6176
6263
  readonly 'payout': io.flow.v0.models.OrganizationPayout;
6177
6264
  }
6178
6265
 
6266
+ interface OrganizationPendingPayoutTransaction {
6267
+ readonly 'id': string;
6268
+ readonly 'reason': io.flow.v0.models.PendingPayoutTransactionReason;
6269
+ readonly 'timeout'?: io.flow.v0.models.PendingPayoutTransactionTimeout;
6270
+ readonly 'created_at': string;
6271
+ readonly 'updated_at': string;
6272
+ readonly 'deleted_at'?: string;
6273
+ }
6274
+
6275
+ interface OrganizationPendingPayoutTransactionDeleted {
6276
+ readonly 'discriminator': 'organization_pending_payout_transaction_deleted';
6277
+ readonly 'event_id': string;
6278
+ readonly 'timestamp': string;
6279
+ readonly 'organization': string;
6280
+ readonly 'id': string;
6281
+ }
6282
+
6283
+ interface OrganizationPendingPayoutTransactionUpserted {
6284
+ readonly 'discriminator': 'organization_pending_payout_transaction_upserted';
6285
+ readonly 'event_id': string;
6286
+ readonly 'timestamp': string;
6287
+ readonly 'organization': string;
6288
+ readonly 'organization_pending_payout_transaction': io.flow.v0.models.OrganizationPendingPayoutTransaction;
6289
+ }
6290
+
6179
6291
  interface OrganizationPutForm {
6180
6292
  readonly 'name'?: string;
6181
6293
  readonly 'environment'?: io.flow.v0.enums.Environment;
@@ -6284,12 +6396,6 @@ declare namespace io.flow.v0.models {
6284
6396
  readonly 'id': string;
6285
6397
  }
6286
6398
 
6287
- interface OrganizationTransactionPayout {
6288
- readonly 'transaction': io.flow.v0.models.TransactionReference;
6289
- readonly 'waiting_for'?: io.flow.v0.enums.TransactionPayoutPendingReason;
6290
- readonly 'payout'?: io.flow.v0.models.PayoutReference;
6291
- }
6292
-
6293
6399
  interface OrganizationTransactionUpserted {
6294
6400
  readonly 'discriminator': 'organization_transaction_upserted';
6295
6401
  readonly 'event_id': string;
@@ -6857,6 +6963,7 @@ declare namespace io.flow.v0.models {
6857
6963
  readonly 'processor': string;
6858
6964
  readonly 'operation_identifier'?: io.flow.v0.models.PaymentProcessorIdentifier;
6859
6965
  readonly 'account'?: io.flow.v0.models.PaymentProcessorAccount;
6966
+ readonly 'transaction_details'?: io.flow.v0.unions.PaymentProcessorTransactionDetails;
6860
6967
  }
6861
6968
 
6862
6969
  interface PaymentProcessorAccount {
@@ -6881,6 +6988,17 @@ declare namespace io.flow.v0.models {
6881
6988
  readonly 'processor': string;
6882
6989
  }
6883
6990
 
6991
+ interface PaymentProcessorTransactionDetailsCard {
6992
+ readonly 'discriminator': 'card';
6993
+ readonly 'transaction_identifier'?: string;
6994
+ readonly 'method_type'?: string;
6995
+ readonly 'result_status'?: string;
6996
+ readonly 'reason_code'?: string;
6997
+ readonly 'avs_result_code'?: string;
6998
+ readonly 'cvv_result_code'?: string;
6999
+ readonly 'threeds_result_code'?: string;
7000
+ }
7001
+
6884
7002
  interface PaymentReference {
6885
7003
  readonly 'id': string;
6886
7004
  }
@@ -7120,10 +7238,13 @@ declare namespace io.flow.v0.models {
7120
7238
  readonly 'ends_at'?: string;
7121
7239
  }
7122
7240
 
7123
- interface PendingTransaction {
7124
- readonly 'id': string;
7125
- readonly 'reason': io.flow.v0.enums.TransactionPayoutPendingReason;
7126
- readonly 'reason_set_at': string;
7241
+ interface PendingPayoutTransactionReason {
7242
+ readonly 'code': io.flow.v0.enums.PendingPayoutTransactionReasonCode;
7243
+ readonly 'created_at': string;
7244
+ }
7245
+
7246
+ interface PendingPayoutTransactionTimeout {
7247
+ readonly 'created_at': string;
7127
7248
  }
7128
7249
 
7129
7250
  interface PercentMargin {
@@ -8704,9 +8825,9 @@ declare namespace io.flow.v0.models {
8704
8825
  }
8705
8826
 
8706
8827
  interface ShippingLabelHopCostItemizedEstimate {
8707
- readonly 'units': io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelUnits;
8708
- readonly 'base': io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelBase;
8709
- readonly 'surcharges': io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurcharge[];
8828
+ readonly 'units': io.flow.v0.models.LabelUnits;
8829
+ readonly 'base': io.flow.v0.models.LabelBase;
8830
+ readonly 'surcharges': io.flow.v0.models.LabelSurcharge[];
8710
8831
  }
8711
8832
 
8712
8833
  interface ShippingLabelHopSummary {
@@ -8718,6 +8839,7 @@ declare namespace io.flow.v0.models {
8718
8839
  interface ShippingLabelLaneSummary {
8719
8840
  readonly 'id'?: string;
8720
8841
  readonly 'ratecard': io.flow.v0.models.ShippingLabelRatecardSummary;
8842
+ readonly 'weight_break'?: number;
8721
8843
  }
8722
8844
 
8723
8845
  interface ShippingLabelPackage {
@@ -9961,13 +10083,29 @@ declare namespace io.flow.v0.models {
9961
10083
  readonly 'country': string;
9962
10084
  }
9963
10085
 
10086
+ interface TransactionMetadataManual {
10087
+ readonly 'discriminator': 'manual';
10088
+ readonly 'original': io.flow.v0.models.TransactionMetadataOriginalTransaction;
10089
+ }
10090
+
10091
+ interface TransactionMetadataOriginalTransaction {
10092
+ readonly 'id': string;
10093
+ }
10094
+
9964
10095
  interface TransactionMetadataShippingLabel {
9965
10096
  readonly 'discriminator': 'shipping_label';
9966
10097
  readonly 'request_method'?: io.flow.v0.enums.LabelRequestMethod;
10098
+ readonly 'carrier': io.flow.v0.models.TransactionMetadataShippingLabelCarrier;
10099
+ }
10100
+
10101
+ interface TransactionMetadataShippingLabelCarrier {
10102
+ readonly 'id': string;
10103
+ readonly 'tracking_number': string;
9967
10104
  }
9968
10105
 
9969
10106
  interface TransactionMetadataTrueup {
9970
10107
  readonly 'discriminator': 'trueup';
10108
+ readonly 'original': io.flow.v0.models.TransactionMetadataOriginalTransaction;
9971
10109
  readonly 'estimate': io.flow.v0.models.TransactionMetadataTrueupData;
9972
10110
  readonly 'actual': io.flow.v0.models.TransactionMetadataTrueupData;
9973
10111
  }
@@ -9978,6 +10116,8 @@ declare namespace io.flow.v0.models {
9978
10116
  readonly 'base': io.flow.v0.models.TrueupLabelBase;
9979
10117
  readonly 'surcharges': io.flow.v0.models.TrueupLabelSurcharge[];
9980
10118
  readonly 'total': number;
10119
+ readonly 'dead'?: io.flow.v0.models.DeadWeight;
10120
+ readonly 'dimensional'?: io.flow.v0.models.DimensionalWeight;
9981
10121
  }
9982
10122
 
9983
10123
  interface TransactionNetworkDetailsCard {
@@ -10280,7 +10420,7 @@ declare namespace io.flow.v0.unions {
10280
10420
  type Document = (io.flow.v0.models.CatalogItemDocument | io.flow.v0.models.HarmonizationDocument);
10281
10421
  type EmailNotificationData = (io.flow.v0.models.EmailNotificationDataRefund | io.flow.v0.models.EmailNotificationAbandonedOrder);
10282
10422
  type Entity = (io.flow.v0.models.Company | io.flow.v0.models.Individual);
10283
- type Event = (io.flow.v0.models.TestUpserted | io.flow.v0.models.GenerateLoad | io.flow.v0.models.TransactionUpserted | io.flow.v0.models.OrganizationTransactionUpserted | io.flow.v0.models.OrganizationTransactionDeleted | io.flow.v0.models.StatementUpserted | io.flow.v0.models.StatementDeleted | io.flow.v0.models.ChannelTransactionUpserted | io.flow.v0.models.ChannelTransactionDeleted | io.flow.v0.models.ChannelTransactionDeletedV2 | io.flow.v0.models.ChannelStatementUpserted | io.flow.v0.models.ChannelStatementDeleted | io.flow.v0.models.ChannelPayoutUpserted | io.flow.v0.models.ChannelPayoutDeleted | io.flow.v0.models.OrganizationPayoutUpserted | io.flow.v0.models.OrganizationPayoutDeleted | io.flow.v0.models.AttributeUpserted | io.flow.v0.models.AttributeDeleted | io.flow.v0.models.AttributeUpsertedV2 | io.flow.v0.models.AttributeDeletedV2 | io.flow.v0.models.CatalogUpserted | io.flow.v0.models.CatalogDeleted | io.flow.v0.models.SubcatalogUpserted | io.flow.v0.models.SubcatalogDeleted | io.flow.v0.models.CatalogItemUpserted | io.flow.v0.models.CatalogItemDeleted | io.flow.v0.models.CatalogItemUpsertedV2 | io.flow.v0.models.CatalogItemDeletedV2 | io.flow.v0.models.SubcatalogItemUpserted | io.flow.v0.models.SubcatalogItemDeleted | io.flow.v0.models.CatalogStatisticsUpserted | io.flow.v0.models.CatalogStatisticsDeleted | io.flow.v0.models.ChannelUpserted | io.flow.v0.models.ChannelDeleted | io.flow.v0.models.ChannelCurrencyUpserted | io.flow.v0.models.ChannelCurrencyDeleted | io.flow.v0.models.ChannelOrganizationUpserted | io.flow.v0.models.ChannelOrganizationDeleted | io.flow.v0.models.B2BInvoiceUpserted | io.flow.v0.models.B2BInvoiceDeleted | io.flow.v0.models.B2BCreditMemoUpserted | io.flow.v0.models.B2BCreditMemoDeleted | io.flow.v0.models.ConsumerInvoiceUpserted | io.flow.v0.models.ConsumerInvoiceDeleted | io.flow.v0.models.CreditMemoUpserted | io.flow.v0.models.CreditMemoDeleted | io.flow.v0.models.CrossdockShipmentUpserted | io.flow.v0.models.RateDeleted | io.flow.v0.models.RateUpserted | io.flow.v0.models.RateDeletedV3 | io.flow.v0.models.RateUpsertedV3 | io.flow.v0.models.CustomerUpserted | io.flow.v0.models.CustomerDeleted | io.flow.v0.models.CustomerAddressBookContactUpserted | io.flow.v0.models.CustomerAddressBookContactDeleted | io.flow.v0.models.EmailNotificationUpserted | io.flow.v0.models.EmailNotificationDeleted | io.flow.v0.models.AvailablePromotionsUpserted | io.flow.v0.models.AvailablePromotionsDeleted | io.flow.v0.models.AvailablePromotionsUpsertedV2 | io.flow.v0.models.AvailablePromotionsDeletedV2 | io.flow.v0.models.AllocationDeletedV2 | io.flow.v0.models.AllocationUpsertedV2 | io.flow.v0.models.CurrencyFormatDeleted | io.flow.v0.models.CurrencyFormatUpserted | io.flow.v0.models.ExperienceDeleted | io.flow.v0.models.ExperienceUpserted | io.flow.v0.models.ExperienceDeletedV2 | io.flow.v0.models.ExperienceUpsertedV2 | io.flow.v0.models.CountryStatusUpserted | io.flow.v0.models.CountryStatusDeleted | io.flow.v0.models.ExperiencePriceBookMappingDeleted | io.flow.v0.models.ExperiencePriceBookMappingUpserted | io.flow.v0.models.ExperienceLogisticsSettingsUpserted | io.flow.v0.models.ExperienceLogisticsSettingsDeleted | io.flow.v0.models.ItemMarginDeletedV2 | io.flow.v0.models.ItemMarginUpsertedV2 | io.flow.v0.models.ItemSalesMarginDeleted | io.flow.v0.models.ItemSalesMarginUpserted | io.flow.v0.models.LabelFormatDeleted | io.flow.v0.models.LabelFormatUpserted | io.flow.v0.models.OrderDeleted | io.flow.v0.models.OrderUpserted | io.flow.v0.models.OrderDeletedV2 | io.flow.v0.models.OrderUpsertedV2 | io.flow.v0.models.OrderIdentifierDeleted | io.flow.v0.models.OrderIdentifierUpserted | io.flow.v0.models.OrderIdentifierDeletedV2 | io.flow.v0.models.OrderIdentifierUpsertedV2 | io.flow.v0.models.OrderIdentifierUpsertedV3 | io.flow.v0.models.OrderReplacementUpserted | io.flow.v0.models.OrderReplacementDeleted | io.flow.v0.models.PricingDeleted | io.flow.v0.models.PricingUpserted | io.flow.v0.models.OrderServiceChangeRequest | io.flow.v0.models.FraudStatusChanged | io.flow.v0.models.CenterUpserted | io.flow.v0.models.CenterDeleted | io.flow.v0.models.ShippingConfigurationUpserted | io.flow.v0.models.ShippingConfigurationDeleted | io.flow.v0.models.TierUpsertedV2 | io.flow.v0.models.TierDeletedV2 | io.flow.v0.models.ShippingLaneUpserted | io.flow.v0.models.ShippingLaneDeleted | io.flow.v0.models.ShippingConfigurationItemAvailabilityUpserted | io.flow.v0.models.ShippingConfigurationItemAvailabilityDeleted | io.flow.v0.models.ShippingConfigurationItemShippingPricingUpserted | io.flow.v0.models.ShippingConfigurationItemShippingPricingDeleted | io.flow.v0.models.Hs6CodeUpserted | io.flow.v0.models.Hs6CodeDeleted | io.flow.v0.models.Hs10CodeUpserted | io.flow.v0.models.Hs10CodeDeleted | io.flow.v0.models.ItemOriginUpserted | io.flow.v0.models.ItemOriginDeleted | io.flow.v0.models.HarmonizedLandedCostUpserted | io.flow.v0.models.FullyHarmonizedItemUpserted | io.flow.v0.models.ImportCompletedV2 | io.flow.v0.models.ImportFailedV2 | io.flow.v0.models.RuleUpserted | io.flow.v0.models.RuleDeleted | io.flow.v0.models.SnapshotUpserted | io.flow.v0.models.SnapshotDeleted | io.flow.v0.models.LabelUpserted | io.flow.v0.models.LabelDeletedV2 | io.flow.v0.models.LabelUpsertedV2 | io.flow.v0.models.NotificationUpsertedV2 | io.flow.v0.models.NotificationDeletedV2 | io.flow.v0.models.ManifestedLabelUpserted | io.flow.v0.models.ManifestedLabelDeleted | io.flow.v0.models.LocalItemUpserted | io.flow.v0.models.LocalItemDeleted | io.flow.v0.models.MerchantApplicationUpserted | io.flow.v0.models.MerchantApplicationDeleted | io.flow.v0.models.CheckoutOptinResponsesUpserted | io.flow.v0.models.CheckoutOptinResponsesDeleted | io.flow.v0.models.BrowseOptinResponsesUpserted | io.flow.v0.models.BrowseOptinResponsesDeleted | io.flow.v0.models.OrderPlaced | io.flow.v0.models.OrderPlacedV2 | io.flow.v0.models.ReadyToFulfill | io.flow.v0.models.ReadyToFulfillV2 | io.flow.v0.models.MembershipUpsertedV2 | io.flow.v0.models.MembershipDeletedV2 | io.flow.v0.models.OrganizationUpserted | io.flow.v0.models.OrganizationDeleted | io.flow.v0.models.OrganizationUpsertedV2 | io.flow.v0.models.OrganizationDeletedV2 | io.flow.v0.models.OrganizationDefaultConfigurationsUpserted | io.flow.v0.models.OrganizationDefaultConfigurationsDeleted | io.flow.v0.models.EcommercePlatformUpserted | io.flow.v0.models.EcommercePlatformDeleted | io.flow.v0.models.OrganizationOnboardingStateUpserted | io.flow.v0.models.OrganizationOnboardingStateDeleted | io.flow.v0.models.AuthorizationDeletedV2 | io.flow.v0.models.AuthorizationStatusChanged | io.flow.v0.models.CardAuthorizationUpsertedV2 | io.flow.v0.models.CardAuthorizationDeletedV2 | io.flow.v0.models.OnlineAuthorizationUpsertedV2 | io.flow.v0.models.OnlineAuthorizationDeletedV2 | io.flow.v0.models.CaptureUpsertedV2 | io.flow.v0.models.CaptureDeleted | io.flow.v0.models.CardUpsertedV2 | io.flow.v0.models.CardDeleted | io.flow.v0.models.PaymentUpserted | io.flow.v0.models.PaymentDeleted | io.flow.v0.models.RefundUpsertedV2 | io.flow.v0.models.RefundDeletedV2 | io.flow.v0.models.RefundCaptureUpsertedV2 | io.flow.v0.models.ReversalUpserted | io.flow.v0.models.ReversalDeleted | io.flow.v0.models.CaptureIdentifierUpserted | io.flow.v0.models.CaptureIdentifierDeleted | io.flow.v0.models.RefundIdentifierUpserted | io.flow.v0.models.RefundIdentifierDeleted | io.flow.v0.models.VirtualCardCaptureUpserted | io.flow.v0.models.VirtualCardCaptureDeleted | io.flow.v0.models.VirtualCardRefundUpserted | io.flow.v0.models.VirtualCardRefundDeleted | io.flow.v0.models.PaymentRequestUpserted | io.flow.v0.models.PaymentRequestDeleted | io.flow.v0.models.PriceBookUpserted | io.flow.v0.models.PriceBookDeleted | io.flow.v0.models.PriceBookItemUpserted | io.flow.v0.models.PriceBookItemDeleted | io.flow.v0.models.OrganizationRatesPublished | io.flow.v0.models.RatecardLaneUpserted | io.flow.v0.models.RatecardLaneDeleted | io.flow.v0.models.RatecardUpserted | io.flow.v0.models.RatecardDeleted | io.flow.v0.models.ProductRestrictionResultUpserted | io.flow.v0.models.ProductRestrictionResultDeleted | io.flow.v0.models.ReturnUpserted | io.flow.v0.models.ReturnDeleted | io.flow.v0.models.ReturnUpsertedV2 | io.flow.v0.models.ReturnDeletedV2 | io.flow.v0.models.ShopifyLocalizationSettingUpserted | io.flow.v0.models.ShopifyLocalizationSettingDeleted | io.flow.v0.models.TrackingLabelEventUpserted);
10423
+ type Event = (io.flow.v0.models.TestUpserted | io.flow.v0.models.GenerateLoad | io.flow.v0.models.TransactionUpserted | io.flow.v0.models.OrganizationTransactionUpserted | io.flow.v0.models.OrganizationTransactionDeleted | io.flow.v0.models.StatementUpserted | io.flow.v0.models.StatementDeleted | io.flow.v0.models.ChannelTransactionUpserted | io.flow.v0.models.ChannelTransactionDeleted | io.flow.v0.models.ChannelTransactionDeletedV2 | io.flow.v0.models.ChannelStatementUpserted | io.flow.v0.models.ChannelStatementDeleted | io.flow.v0.models.ChannelPayoutUpserted | io.flow.v0.models.ChannelPayoutDeleted | io.flow.v0.models.OrganizationPayoutUpserted | io.flow.v0.models.OrganizationPayoutDeleted | io.flow.v0.models.ChannelPendingPayoutTransactionUpserted | io.flow.v0.models.ChannelPendingPayoutTransactionDeleted | io.flow.v0.models.OrganizationPendingPayoutTransactionUpserted | io.flow.v0.models.OrganizationPendingPayoutTransactionDeleted | io.flow.v0.models.AttributeUpserted | io.flow.v0.models.AttributeDeleted | io.flow.v0.models.AttributeUpsertedV2 | io.flow.v0.models.AttributeDeletedV2 | io.flow.v0.models.CatalogUpserted | io.flow.v0.models.CatalogDeleted | io.flow.v0.models.SubcatalogUpserted | io.flow.v0.models.SubcatalogDeleted | io.flow.v0.models.CatalogItemUpserted | io.flow.v0.models.CatalogItemDeleted | io.flow.v0.models.CatalogItemUpsertedV2 | io.flow.v0.models.CatalogItemDeletedV2 | io.flow.v0.models.SubcatalogItemUpserted | io.flow.v0.models.SubcatalogItemDeleted | io.flow.v0.models.CatalogStatisticsUpserted | io.flow.v0.models.CatalogStatisticsDeleted | io.flow.v0.models.ChannelUpserted | io.flow.v0.models.ChannelDeleted | io.flow.v0.models.ChannelCurrencyUpserted | io.flow.v0.models.ChannelCurrencyDeleted | io.flow.v0.models.ChannelOrganizationUpserted | io.flow.v0.models.ChannelOrganizationDeleted | io.flow.v0.models.B2BInvoiceUpserted | io.flow.v0.models.B2BInvoiceDeleted | io.flow.v0.models.B2BCreditMemoUpserted | io.flow.v0.models.B2BCreditMemoDeleted | io.flow.v0.models.ConsumerInvoiceUpserted | io.flow.v0.models.ConsumerInvoiceDeleted | io.flow.v0.models.CreditMemoUpserted | io.flow.v0.models.CreditMemoDeleted | io.flow.v0.models.CrossdockShipmentUpserted | io.flow.v0.models.RateDeleted | io.flow.v0.models.RateUpserted | io.flow.v0.models.RateDeletedV3 | io.flow.v0.models.RateUpsertedV3 | io.flow.v0.models.CustomerUpserted | io.flow.v0.models.CustomerDeleted | io.flow.v0.models.CustomerAddressBookContactUpserted | io.flow.v0.models.CustomerAddressBookContactDeleted | io.flow.v0.models.EmailNotificationUpserted | io.flow.v0.models.EmailNotificationDeleted | io.flow.v0.models.AvailablePromotionsUpserted | io.flow.v0.models.AvailablePromotionsDeleted | io.flow.v0.models.AvailablePromotionsUpsertedV2 | io.flow.v0.models.AvailablePromotionsDeletedV2 | io.flow.v0.models.AllocationDeletedV2 | io.flow.v0.models.AllocationUpsertedV2 | io.flow.v0.models.CurrencyFormatDeleted | io.flow.v0.models.CurrencyFormatUpserted | io.flow.v0.models.ExperienceDeleted | io.flow.v0.models.ExperienceUpserted | io.flow.v0.models.ExperienceDeletedV2 | io.flow.v0.models.ExperienceUpsertedV2 | io.flow.v0.models.CountryStatusUpserted | io.flow.v0.models.CountryStatusDeleted | io.flow.v0.models.ExperiencePriceBookMappingDeleted | io.flow.v0.models.ExperiencePriceBookMappingUpserted | io.flow.v0.models.ExperienceLogisticsSettingsUpserted | io.flow.v0.models.ExperienceLogisticsSettingsDeleted | io.flow.v0.models.ItemMarginDeletedV2 | io.flow.v0.models.ItemMarginUpsertedV2 | io.flow.v0.models.ItemSalesMarginDeleted | io.flow.v0.models.ItemSalesMarginUpserted | io.flow.v0.models.LabelFormatDeleted | io.flow.v0.models.LabelFormatUpserted | io.flow.v0.models.OrderDeleted | io.flow.v0.models.OrderUpserted | io.flow.v0.models.OrderDeletedV2 | io.flow.v0.models.OrderUpsertedV2 | io.flow.v0.models.OrderIdentifierDeleted | io.flow.v0.models.OrderIdentifierUpserted | io.flow.v0.models.OrderIdentifierDeletedV2 | io.flow.v0.models.OrderIdentifierUpsertedV2 | io.flow.v0.models.OrderIdentifierUpsertedV3 | io.flow.v0.models.OrderReplacementUpserted | io.flow.v0.models.OrderReplacementDeleted | io.flow.v0.models.PricingDeleted | io.flow.v0.models.PricingUpserted | io.flow.v0.models.OrderServiceChangeRequest | io.flow.v0.models.FraudStatusChanged | io.flow.v0.models.CenterUpserted | io.flow.v0.models.CenterDeleted | io.flow.v0.models.ShippingConfigurationUpserted | io.flow.v0.models.ShippingConfigurationDeleted | io.flow.v0.models.TierUpsertedV2 | io.flow.v0.models.TierDeletedV2 | io.flow.v0.models.ShippingLaneUpserted | io.flow.v0.models.ShippingLaneDeleted | io.flow.v0.models.ShippingConfigurationItemAvailabilityUpserted | io.flow.v0.models.ShippingConfigurationItemAvailabilityDeleted | io.flow.v0.models.ShippingConfigurationItemShippingPricingUpserted | io.flow.v0.models.ShippingConfigurationItemShippingPricingDeleted | io.flow.v0.models.Hs6CodeUpserted | io.flow.v0.models.Hs6CodeDeleted | io.flow.v0.models.Hs10CodeUpserted | io.flow.v0.models.Hs10CodeDeleted | io.flow.v0.models.ItemOriginUpserted | io.flow.v0.models.ItemOriginDeleted | io.flow.v0.models.HarmonizedLandedCostUpserted | io.flow.v0.models.FullyHarmonizedItemUpserted | io.flow.v0.models.ImportCompletedV2 | io.flow.v0.models.ImportFailedV2 | io.flow.v0.models.RuleUpserted | io.flow.v0.models.RuleDeleted | io.flow.v0.models.SnapshotUpserted | io.flow.v0.models.SnapshotDeleted | io.flow.v0.models.LabelUpserted | io.flow.v0.models.LabelDeletedV2 | io.flow.v0.models.LabelUpsertedV2 | io.flow.v0.models.NotificationUpsertedV2 | io.flow.v0.models.NotificationDeletedV2 | io.flow.v0.models.ManifestedLabelUpserted | io.flow.v0.models.ManifestedLabelDeleted | io.flow.v0.models.LocalItemUpserted | io.flow.v0.models.LocalItemDeleted | io.flow.v0.models.MerchantApplicationUpserted | io.flow.v0.models.MerchantApplicationDeleted | io.flow.v0.models.CheckoutOptinResponsesUpserted | io.flow.v0.models.CheckoutOptinResponsesDeleted | io.flow.v0.models.BrowseOptinResponsesUpserted | io.flow.v0.models.BrowseOptinResponsesDeleted | io.flow.v0.models.OrderPlaced | io.flow.v0.models.OrderPlacedV2 | io.flow.v0.models.ReadyToFulfill | io.flow.v0.models.ReadyToFulfillV2 | io.flow.v0.models.MembershipUpsertedV2 | io.flow.v0.models.MembershipDeletedV2 | io.flow.v0.models.OrganizationUpserted | io.flow.v0.models.OrganizationDeleted | io.flow.v0.models.OrganizationUpsertedV2 | io.flow.v0.models.OrganizationDeletedV2 | io.flow.v0.models.OrganizationDefaultConfigurationsUpserted | io.flow.v0.models.OrganizationDefaultConfigurationsDeleted | io.flow.v0.models.EcommercePlatformUpserted | io.flow.v0.models.EcommercePlatformDeleted | io.flow.v0.models.OrganizationOnboardingStateUpserted | io.flow.v0.models.OrganizationOnboardingStateDeleted | io.flow.v0.models.AuthorizationDeletedV2 | io.flow.v0.models.AuthorizationStatusChanged | io.flow.v0.models.CardAuthorizationUpsertedV2 | io.flow.v0.models.CardAuthorizationDeletedV2 | io.flow.v0.models.OnlineAuthorizationUpsertedV2 | io.flow.v0.models.OnlineAuthorizationDeletedV2 | io.flow.v0.models.CaptureUpsertedV2 | io.flow.v0.models.CaptureDeleted | io.flow.v0.models.CardUpsertedV2 | io.flow.v0.models.CardDeleted | io.flow.v0.models.PaymentUpserted | io.flow.v0.models.PaymentDeleted | io.flow.v0.models.RefundUpsertedV2 | io.flow.v0.models.RefundDeletedV2 | io.flow.v0.models.RefundCaptureUpsertedV2 | io.flow.v0.models.ReversalUpserted | io.flow.v0.models.ReversalDeleted | io.flow.v0.models.CaptureIdentifierUpserted | io.flow.v0.models.CaptureIdentifierDeleted | io.flow.v0.models.RefundIdentifierUpserted | io.flow.v0.models.RefundIdentifierDeleted | io.flow.v0.models.VirtualCardCaptureUpserted | io.flow.v0.models.VirtualCardCaptureDeleted | io.flow.v0.models.VirtualCardRefundUpserted | io.flow.v0.models.VirtualCardRefundDeleted | io.flow.v0.models.PaymentRequestUpserted | io.flow.v0.models.PaymentRequestDeleted | io.flow.v0.models.PriceBookUpserted | io.flow.v0.models.PriceBookDeleted | io.flow.v0.models.PriceBookItemUpserted | io.flow.v0.models.PriceBookItemDeleted | io.flow.v0.models.OrganizationRatesPublished | io.flow.v0.models.RatecardLaneUpserted | io.flow.v0.models.RatecardLaneDeleted | io.flow.v0.models.RatecardUpserted | io.flow.v0.models.RatecardDeleted | io.flow.v0.models.ProductRestrictionResultUpserted | io.flow.v0.models.ProductRestrictionResultDeleted | io.flow.v0.models.ReturnUpserted | io.flow.v0.models.ReturnDeleted | io.flow.v0.models.ReturnUpsertedV2 | io.flow.v0.models.ReturnDeletedV2 | io.flow.v0.models.ShopifyLocalizationSettingUpserted | io.flow.v0.models.ShopifyLocalizationSettingDeleted | io.flow.v0.models.TrackingLabelEventUpserted);
10284
10424
  type ExpandableCard = (io.flow.v0.models.Card | io.flow.v0.models.CardReference | io.flow.v0.models.CardSummary);
10285
10425
  type ExpandableCenter = (io.flow.v0.models.Center | io.flow.v0.models.CenterReference);
10286
10426
  type ExpandableExperience = (io.flow.v0.models.Experience | io.flow.v0.models.ExperienceReference);
@@ -10293,6 +10433,7 @@ declare namespace io.flow.v0.unions {
10293
10433
  type ExportType = (io.flow.v0.models.AccountTransactionsExportType | io.flow.v0.models.AccountOrdersExportType | io.flow.v0.models.AnalyticsExportType | io.flow.v0.models.CatalogItemExportType | io.flow.v0.models.ExperienceExportType | io.flow.v0.models.HarmonizationOverviewExportType | io.flow.v0.models.HarmonizationHs6ExportType | io.flow.v0.models.HarmonizationHs10ExportType | io.flow.v0.models.HarmonizationTariffCodesExportType | io.flow.v0.models.UnharmonizedItemExportType | io.flow.v0.models.OrderExportType | io.flow.v0.models.PriceBookItemExportType | io.flow.v0.models.SolidusProductExportType | io.flow.v0.models.SolidusVariantExportType | io.flow.v0.models.LocalizedItemPricesExportType | io.flow.v0.models.MarketingFeedsExportType | io.flow.v0.models.ExclusionRulesExportType);
10294
10434
  type FieldValidationRule = (io.flow.v0.models.FieldValidationRequired | io.flow.v0.models.FieldValidationRequiredIfPresent | io.flow.v0.models.FieldValidationMin | io.flow.v0.models.FieldValidationMax | io.flow.v0.models.FieldValidationPattern);
10295
10435
  type FraudOrderReference = (io.flow.v0.models.FraudFlowOrderReference | io.flow.v0.models.FraudPaymentRequestReference);
10436
+ type FuelSurchargeRate = (io.flow.v0.models.FuelSurchargePercent | io.flow.v0.models.FuelSurchargeByWeight);
10296
10437
  type GatewayAuthenticationData = (io.flow.v0.models.StripeAuthenticationData);
10297
10438
  type GatewayAuthenticationDataForm = (io.flow.v0.models.StripeAuthenticationDataForm);
10298
10439
  type InlineActionConfiguration = (io.flow.v0.models.BrowserInlineActionConfiguration);
@@ -10300,6 +10441,7 @@ declare namespace io.flow.v0.unions {
10300
10441
  type InventoryStrategy = (io.flow.v0.models.InventoryBackorder | io.flow.v0.models.InventoryStock | io.flow.v0.models.InventoryUnlimited | io.flow.v0.models.InventoryFollowEcommercePlatform);
10301
10442
  type KnowYourBusiness = (io.flow.v0.models.KnowYourBusinessUsa);
10302
10443
  type KnowYourBusinessForm = (io.flow.v0.models.KnowYourBusinessUsaForm);
10444
+ type LabelSurchargeDetail = (io.flow.v0.models.LabelSurchargeDetailFlat | io.flow.v0.models.LabelSurchargeDetailPercentage | io.flow.v0.models.LabelSurchargeDetailPerWeightUnit);
10303
10445
  type LocalizedPrice = (io.flow.v0.models.LocalizedItemPrice | io.flow.v0.models.LocalizedItemVat | io.flow.v0.models.LocalizedItemDuty | io.flow.v0.models.LocalizedTotal);
10304
10446
  type LogoImage = (io.flow.v0.models.LogoImageSvg | io.flow.v0.models.LogoImageSetStatic);
10305
10447
  type MerchantApplication = (io.flow.v0.models.ShopifyMerchantApplication);
@@ -10335,6 +10477,7 @@ declare namespace io.flow.v0.unions {
10335
10477
  });
10336
10478
 
10337
10479
  type PaymentOrderReference = (io.flow.v0.models.AuthorizationOrderReference | io.flow.v0.models.PaymentPaymentRequestReference);
10480
+ type PaymentProcessorTransactionDetails = (io.flow.v0.models.PaymentProcessorTransactionDetailsCard);
10338
10481
  type PaymentSource = (io.flow.v0.models.CardPaymentSource);
10339
10482
  type PaymentSourceForm = (io.flow.v0.models.CardPaymentSourceForm);
10340
10483
  type PayoutStatus = (io.flow.v0.models.PayoutStatusScheduled | io.flow.v0.models.PayoutStatusSent | io.flow.v0.models.PayoutStatusFailed);
@@ -10367,5 +10510,5 @@ declare namespace io.flow.v0.unions {
10367
10510
  type Token = (io.flow.v0.models.ChannelToken | io.flow.v0.models.OrganizationToken | io.flow.v0.models.OrganizationTokenV2 | io.flow.v0.models.PartnerToken);
10368
10511
  type TokenReference = (io.flow.v0.models.ChannelTokenReference | io.flow.v0.models.OrganizationTokenReference | io.flow.v0.models.OrganizationTokenV2Reference | io.flow.v0.models.PartnerTokenReference);
10369
10512
  type TransactionDetails = (io.flow.v0.models.TransactionDetailsCard);
10370
- type TransactionMetadata = (io.flow.v0.models.TransactionMetadataShippingLabel | io.flow.v0.models.TransactionMetadataChannel | io.flow.v0.models.TransactionMetadataTrueup);
10513
+ type TransactionMetadata = (io.flow.v0.models.TransactionMetadataShippingLabel | io.flow.v0.models.TransactionMetadataChannel | io.flow.v0.models.TransactionMetadataTrueup | io.flow.v0.models.TransactionMetadataManual);
10371
10514
  }