@flowio/types 11.24.94 → 11.24.96

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.
@@ -1,3 +1,155 @@
1
+ declare namespace io.flow.google.pay.v0.enums {
2
+ type AuthMethod = 'PAN_ONLY' | 'CRYPTOGRAM_3DS';
3
+ type BillingAddressFormat = 'MIN' | 'FULL';
4
+ type CardGateway = 'adyen' | 'stripe';
5
+ type CardNetwork = 'AMEX' | 'DISCOVER' | 'JCB' | 'MASTERCARD' | 'VISA';
6
+ type PaymentMethodType = 'CARD';
7
+ type TokenizationType = 'PAYMENT_GATEWAY' | 'DIRECT';
8
+ type TotalPriceStatus = 'NOT_CURRENTLY_KNOWN' | 'ESTIMATED' | 'FINAL';
9
+ }
10
+
11
+ declare namespace io.flow.google.pay.v0.models {
12
+ interface Address {
13
+ readonly name: string;
14
+ readonly postalCode: string;
15
+ readonly countryCode: string;
16
+ readonly phoneNumber: string;
17
+ readonly companyName: string;
18
+ readonly address1: string;
19
+ readonly address2: string;
20
+ readonly address3: string;
21
+ readonly locality: string;
22
+ readonly administrativeArea: string;
23
+ readonly sortingCode: string;
24
+ }
25
+
26
+ interface BillingAddressParameters {
27
+ readonly format?: io.flow.google.pay.v0.enums.BillingAddressFormat;
28
+ readonly phoneNumberRequired?: boolean;
29
+ }
30
+
31
+ interface CardAdyenTokenizationParameters {
32
+ readonly gateway: string;
33
+ readonly gatewayMerchantId: string;
34
+ }
35
+
36
+ interface CardDirectTokenizationParameters {
37
+ readonly protocolVersion: string;
38
+ readonly publicKey: string;
39
+ }
40
+
41
+ interface CardPaymentMethodDataInfo {
42
+ readonly cardDetails: string;
43
+ readonly cardNetwork: string;
44
+ readonly billingAddress?: io.flow.google.pay.v0.models.Address;
45
+ }
46
+
47
+ interface CardPaymentMethodParameters {
48
+ readonly allowedAuthMethods: io.flow.google.pay.v0.enums.AuthMethod[];
49
+ readonly allowedCardNetworks: io.flow.google.pay.v0.enums.CardNetwork[];
50
+ readonly billingAddressRequired?: boolean;
51
+ readonly billingAddressParameters?: io.flow.google.pay.v0.models.BillingAddressParameters;
52
+ }
53
+
54
+ interface DirectPaymentMethodToken {
55
+ readonly discriminator: 'direct_payment_method_token';
56
+ readonly protocolVersion: string;
57
+ readonly signature: string;
58
+ readonly signedMessage: string;
59
+ }
60
+
61
+ interface EncryptedMessage {
62
+ readonly messageExpiration: string;
63
+ readonly messageId: string;
64
+ readonly paymentMethod: io.flow.google.pay.v0.models.PaymentMethod;
65
+ readonly paymentMethodDetails: io.flow.google.pay.v0.models.PaymentMethodDetails;
66
+ }
67
+
68
+ interface MerchantInfo {
69
+ readonly merchantId: string;
70
+ readonly merchantName?: string;
71
+ readonly authJwt?: string;
72
+ }
73
+
74
+ interface PaymentData {
75
+ readonly apiVersion: number;
76
+ readonly apiVersionMinor: number;
77
+ readonly paymentMethodData: io.flow.google.pay.v0.models.PaymentMethodData;
78
+ readonly email?: string;
79
+ readonly shippingAddress?: io.flow.google.pay.v0.models.Address;
80
+ }
81
+
82
+ interface PaymentDataRequest {
83
+ readonly apiVersion: number;
84
+ readonly apiVersionMinor: number;
85
+ readonly merchantInfo: io.flow.google.pay.v0.models.MerchantInfo;
86
+ readonly allowedPaymentMethods: io.flow.google.pay.v0.models.PaymentMethod[];
87
+ readonly transactionInfo: io.flow.google.pay.v0.models.TransactionInfo;
88
+ readonly emailRequired?: boolean;
89
+ readonly shippingAddressRequired?: boolean;
90
+ readonly shippingAddressParameters?: io.flow.google.pay.v0.models.ShippingAddressParameters;
91
+ }
92
+
93
+ interface PaymentMethod {
94
+ readonly type: io.flow.google.pay.v0.enums.PaymentMethodType;
95
+ readonly parameters: io.flow.google.pay.v0.models.CardPaymentMethodParameters;
96
+ readonly tokenizationSpecification: io.flow.google.pay.v0.models.PaymentMethodTokenizationSpecification;
97
+ }
98
+
99
+ interface PaymentMethodData {
100
+ readonly type: io.flow.google.pay.v0.enums.PaymentMethodType;
101
+ readonly description: string;
102
+ readonly info: io.flow.google.pay.v0.models.CardPaymentMethodDataInfo;
103
+ readonly tokenizationData: io.flow.google.pay.v0.models.PaymentMethodTokenizationData;
104
+ }
105
+
106
+ interface PaymentMethodDetails {
107
+ readonly pan: string;
108
+ readonly expirationMonth: number;
109
+ readonly expirationYear: number;
110
+ readonly authMethod: io.flow.google.pay.v0.enums.AuthMethod;
111
+ readonly cryptogram?: string;
112
+ readonly eciIndicator?: string;
113
+ }
114
+
115
+ interface PaymentMethodTokenizationData {
116
+ readonly type: string;
117
+ readonly token?: string;
118
+ }
119
+
120
+ interface PaymentMethodTokenizationSpecification {
121
+ readonly type: io.flow.google.pay.v0.enums.TokenizationType;
122
+ readonly parameters: any /*object*/;
123
+ }
124
+
125
+ interface ShippingAddressParameters {
126
+ readonly allowedCountryCodes?: string[];
127
+ }
128
+
129
+ interface SignedMessage {
130
+ readonly encryptedMessage: string;
131
+ readonly ephemeralPublicKey: string;
132
+ readonly tag: string;
133
+ }
134
+
135
+ interface StripePaymentMethodToken {
136
+ readonly discriminator: 'stripe_payment_method_token';
137
+ readonly token: io.flow.stripe.v0.models.Token;
138
+ }
139
+
140
+ interface TransactionInfo {
141
+ readonly totalPriceStatus: io.flow.google.pay.v0.enums.TotalPriceStatus;
142
+ readonly totalPrice?: string;
143
+ readonly currencyCode?: string;
144
+ }
145
+ }
146
+
147
+ declare namespace io.flow.google.pay.v0.unions {
148
+ type PaymentMethodToken =
149
+ | io.flow.google.pay.v0.models.DirectPaymentMethodToken
150
+ | io.flow.google.pay.v0.models.StripePaymentMethodToken;
151
+ }
152
+
1
153
  declare namespace io.flow.RESERVED_WORD_return.v0.enums {
2
154
  type ReturnStatus = 'open' | 'refunded';
3
155
  type ReturnTrackingStatus =
@@ -148,7 +300,8 @@ declare namespace io.flow.payment.gateway.v0.enums {
148
300
  | 'order_unsupported_destination'
149
301
  | 'order_missing_information'
150
302
  | 'order_domestic'
151
- | 'order_mismatched_currencies';
303
+ | 'order_mismatched_currencies'
304
+ | 'order_missing';
152
305
  type PaymentRequestReviewStatus = 'pending' | 'approved' | 'rejected';
153
306
  type PaymentStatus =
154
307
  | 'requires_payment_method'
@@ -720,6 +873,11 @@ declare namespace io.flow.payment.gateway.v0.models {
720
873
  readonly review?: io.flow.payment.gateway.v0.models.PaymentRequestReview;
721
874
  }
722
875
 
876
+ interface PaymentRequestCancellationReasonOrderMissing {
877
+ readonly type: 'order_missing';
878
+ readonly description?: string;
879
+ }
880
+
723
881
  interface PaymentRequestForm {
724
882
  readonly amount: number;
725
883
  readonly currency: string;
@@ -856,6 +1014,8 @@ declare namespace io.flow.payment.gateway.v0.unions {
856
1014
  | io.flow.payment.gateway.v0.models.PaymentMethodSummaryIdeal
857
1015
  | io.flow.payment.gateway.v0.models.PaymentMethodSummarySofort
858
1016
  | io.flow.payment.gateway.v0.models.PaymentMethodSummaryBancontact;
1017
+ type PaymentRequestCancellationReason =
1018
+ io.flow.payment.gateway.v0.models.PaymentRequestCancellationReasonOrderMissing;
859
1019
  type SdkAdyenV3AuthenticationToken =
860
1020
  | io.flow.payment.gateway.v0.models.AdyenV3FingerprintToken
861
1021
  | io.flow.payment.gateway.v0.models.AdyenV3ChallengeToken;
@@ -965,11 +1125,13 @@ declare namespace io.flow.billing.accounting.v0.models {
965
1125
  readonly order: io.flow.billing.accounting.v0.models.OrderSummary;
966
1126
  readonly shopper: io.flow.billing.accounting.v0.models.ShopperSummary;
967
1127
  readonly remittance: io.flow.billing.accounting.v0.models.RemittanceResponsibility;
1128
+ readonly payment?: io.flow.billing.accounting.v0.models.PaymentSummary;
968
1129
  readonly merchant: io.flow.billing.accounting.v0.models.MerchantSummary;
969
1130
  readonly sequence_number: number;
970
1131
  readonly posting_cutoff: string;
971
- readonly trigger: io.flow.billing.accounting.v0.unions.FulfillmentTrigger;
1132
+ readonly trigger?: io.flow.billing.accounting.v0.unions.FulfillmentTrigger;
972
1133
  readonly fulfilled_at: string;
1134
+ readonly carrier?: io.flow.billing.accounting.v0.models.FulfillmentCarrier;
973
1135
  readonly owner: io.flow.billing.internal.v0.enums.ResponsibleParty;
974
1136
  readonly origin?: io.flow.billing.accounting.v0.models.FulfillmentOrigin;
975
1137
  readonly business?: io.flow.billing.accounting.v0.models.FulfillmentBusiness;
@@ -980,6 +1142,12 @@ declare namespace io.flow.billing.accounting.v0.models {
980
1142
  readonly vat_registration_number: string;
981
1143
  }
982
1144
 
1145
+ interface FulfillmentCarrier {
1146
+ readonly id: string;
1147
+ readonly service_id?: string;
1148
+ readonly tracking_number?: string;
1149
+ }
1150
+
983
1151
  interface FulfillmentOrigin {
984
1152
  readonly country: string;
985
1153
  readonly province_code?: string;
@@ -1102,11 +1270,21 @@ declare namespace io.flow.billing.accounting.v0.models {
1102
1270
  readonly currency: string;
1103
1271
  }
1104
1272
 
1273
+ interface PaymentSummary {
1274
+ readonly psp: number;
1275
+ readonly credit: number;
1276
+ readonly subsidized: number;
1277
+ readonly manual: number;
1278
+ readonly cod: number;
1279
+ readonly total: number;
1280
+ }
1281
+
1105
1282
  interface PendingOrder {
1106
1283
  readonly id: string;
1107
1284
  readonly order: io.flow.billing.accounting.v0.models.OrderSummary;
1108
1285
  readonly shopper: io.flow.billing.accounting.v0.models.ShopperSummary;
1109
1286
  readonly merchant: io.flow.billing.accounting.v0.models.MerchantSummary;
1287
+ readonly payment?: io.flow.billing.accounting.v0.models.PaymentSummary;
1110
1288
  readonly remittance: io.flow.billing.accounting.v0.models.RemittanceResponsibility;
1111
1289
  readonly sequence_number: number;
1112
1290
  readonly posting_cutoff: string;
@@ -1123,6 +1301,7 @@ declare namespace io.flow.billing.accounting.v0.models {
1123
1301
  readonly shopper: io.flow.billing.accounting.v0.models.ShopperSummary;
1124
1302
  readonly merchant: io.flow.billing.accounting.v0.models.MerchantSummary;
1125
1303
  readonly remittance: io.flow.billing.accounting.v0.models.RemittanceResponsibility;
1304
+ readonly payment?: io.flow.billing.accounting.v0.models.PaymentSummary;
1126
1305
  readonly sequence_number: number;
1127
1306
  readonly posting_cutoff: string;
1128
1307
  readonly trigger: io.flow.billing.accounting.v0.unions.ReturnTrigger;
@@ -1175,6 +1354,7 @@ declare namespace io.flow.billing.accounting.v0.models {
1175
1354
  readonly product: io.flow.billing.accounting.v0.models.ShopperLines;
1176
1355
  readonly fees: io.flow.billing.accounting.v0.models.ShopperFees;
1177
1356
  readonly freight: io.flow.billing.accounting.v0.models.ShopperFreight;
1357
+ readonly tips?: number;
1178
1358
  readonly order_discount: number;
1179
1359
  readonly total: number;
1180
1360
  }
@@ -2475,6 +2655,15 @@ declare namespace io.flow.payment.v0.models {
2475
2655
  readonly processor: string;
2476
2656
  }
2477
2657
 
2658
+ interface PaymentProcessorTransactionDetailsApm {
2659
+ readonly discriminator: 'apm';
2660
+ readonly transaction_identifier?: string;
2661
+ readonly capture_identifier?: string;
2662
+ readonly method_type?: string;
2663
+ readonly result_status?: string;
2664
+ readonly reason_code?: string;
2665
+ }
2666
+
2478
2667
  interface PaymentProcessorTransactionDetailsCard {
2479
2668
  readonly discriminator: 'card';
2480
2669
  readonly transaction_identifier?: string;
@@ -2504,6 +2693,7 @@ declare namespace io.flow.payment.v0.models {
2504
2693
  interface PaypalAuthorizationDetails {
2505
2694
  readonly discriminator: 'paypal_authorization_details';
2506
2695
  readonly payment_id: string;
2696
+ readonly internal_payment_id?: string;
2507
2697
  readonly payment_method?: string;
2508
2698
  readonly payment_state?: string;
2509
2699
  readonly payer_id?: string;
@@ -2864,7 +3054,8 @@ declare namespace io.flow.payment.v0.unions {
2864
3054
  | io.flow.payment.v0.models.AuthorizationOrderReference
2865
3055
  | io.flow.payment.v0.models.PaymentPaymentRequestReference;
2866
3056
  type PaymentProcessorTransactionDetails =
2867
- io.flow.payment.v0.models.PaymentProcessorTransactionDetailsCard;
3057
+ | io.flow.payment.v0.models.PaymentProcessorTransactionDetailsCard
3058
+ | io.flow.payment.v0.models.PaymentProcessorTransactionDetailsApm;
2868
3059
  type PaymentSource = io.flow.payment.v0.models.CardPaymentSource;
2869
3060
  type PaymentSourceForm = io.flow.payment.v0.models.CardPaymentSourceForm;
2870
3061
  type ThreedsChallengeAction =
@@ -2873,610 +3064,6 @@ declare namespace io.flow.payment.v0.unions {
2873
3064
  type TransactionDetails = io.flow.payment.v0.models.TransactionDetailsCard;
2874
3065
  }
2875
3066
 
2876
- declare namespace io.flow.google.pay.v0.enums {
2877
- type AuthMethod = 'PAN_ONLY' | 'CRYPTOGRAM_3DS';
2878
- type BillingAddressFormat = 'MIN' | 'FULL';
2879
- type CardGateway = 'adyen' | 'stripe';
2880
- type CardNetwork = 'AMEX' | 'DISCOVER' | 'JCB' | 'MASTERCARD' | 'VISA';
2881
- type PaymentMethodType = 'CARD';
2882
- type TokenizationType = 'PAYMENT_GATEWAY' | 'DIRECT';
2883
- type TotalPriceStatus = 'NOT_CURRENTLY_KNOWN' | 'ESTIMATED' | 'FINAL';
2884
- }
2885
-
2886
- declare namespace io.flow.google.pay.v0.models {
2887
- interface Address {
2888
- readonly name: string;
2889
- readonly postalCode: string;
2890
- readonly countryCode: string;
2891
- readonly phoneNumber: string;
2892
- readonly companyName: string;
2893
- readonly address1: string;
2894
- readonly address2: string;
2895
- readonly address3: string;
2896
- readonly locality: string;
2897
- readonly administrativeArea: string;
2898
- readonly sortingCode: string;
2899
- }
2900
-
2901
- interface BillingAddressParameters {
2902
- readonly format?: io.flow.google.pay.v0.enums.BillingAddressFormat;
2903
- readonly phoneNumberRequired?: boolean;
2904
- }
2905
-
2906
- interface CardAdyenTokenizationParameters {
2907
- readonly gateway: string;
2908
- readonly gatewayMerchantId: string;
2909
- }
2910
-
2911
- interface CardDirectTokenizationParameters {
2912
- readonly protocolVersion: string;
2913
- readonly publicKey: string;
2914
- }
2915
-
2916
- interface CardPaymentMethodDataInfo {
2917
- readonly cardDetails: string;
2918
- readonly cardNetwork: string;
2919
- readonly billingAddress?: io.flow.google.pay.v0.models.Address;
2920
- }
2921
-
2922
- interface CardPaymentMethodParameters {
2923
- readonly allowedAuthMethods: io.flow.google.pay.v0.enums.AuthMethod[];
2924
- readonly allowedCardNetworks: io.flow.google.pay.v0.enums.CardNetwork[];
2925
- readonly billingAddressRequired?: boolean;
2926
- readonly billingAddressParameters?: io.flow.google.pay.v0.models.BillingAddressParameters;
2927
- }
2928
-
2929
- interface DirectPaymentMethodToken {
2930
- readonly discriminator: 'direct_payment_method_token';
2931
- readonly protocolVersion: string;
2932
- readonly signature: string;
2933
- readonly signedMessage: string;
2934
- }
2935
-
2936
- interface EncryptedMessage {
2937
- readonly messageExpiration: string;
2938
- readonly messageId: string;
2939
- readonly paymentMethod: io.flow.google.pay.v0.models.PaymentMethod;
2940
- readonly paymentMethodDetails: io.flow.google.pay.v0.models.PaymentMethodDetails;
2941
- }
2942
-
2943
- interface MerchantInfo {
2944
- readonly merchantId: string;
2945
- readonly merchantName?: string;
2946
- readonly authJwt?: string;
2947
- }
2948
-
2949
- interface PaymentData {
2950
- readonly apiVersion: number;
2951
- readonly apiVersionMinor: number;
2952
- readonly paymentMethodData: io.flow.google.pay.v0.models.PaymentMethodData;
2953
- readonly email?: string;
2954
- readonly shippingAddress?: io.flow.google.pay.v0.models.Address;
2955
- }
2956
-
2957
- interface PaymentDataRequest {
2958
- readonly apiVersion: number;
2959
- readonly apiVersionMinor: number;
2960
- readonly merchantInfo: io.flow.google.pay.v0.models.MerchantInfo;
2961
- readonly allowedPaymentMethods: io.flow.google.pay.v0.models.PaymentMethod[];
2962
- readonly transactionInfo: io.flow.google.pay.v0.models.TransactionInfo;
2963
- readonly emailRequired?: boolean;
2964
- readonly shippingAddressRequired?: boolean;
2965
- readonly shippingAddressParameters?: io.flow.google.pay.v0.models.ShippingAddressParameters;
2966
- }
2967
-
2968
- interface PaymentMethod {
2969
- readonly type: io.flow.google.pay.v0.enums.PaymentMethodType;
2970
- readonly parameters: io.flow.google.pay.v0.models.CardPaymentMethodParameters;
2971
- readonly tokenizationSpecification: io.flow.google.pay.v0.models.PaymentMethodTokenizationSpecification;
2972
- }
2973
-
2974
- interface PaymentMethodData {
2975
- readonly type: io.flow.google.pay.v0.enums.PaymentMethodType;
2976
- readonly description: string;
2977
- readonly info: io.flow.google.pay.v0.models.CardPaymentMethodDataInfo;
2978
- readonly tokenizationData: io.flow.google.pay.v0.models.PaymentMethodTokenizationData;
2979
- }
2980
-
2981
- interface PaymentMethodDetails {
2982
- readonly pan: string;
2983
- readonly expirationMonth: number;
2984
- readonly expirationYear: number;
2985
- readonly authMethod: io.flow.google.pay.v0.enums.AuthMethod;
2986
- readonly cryptogram?: string;
2987
- readonly eciIndicator?: string;
2988
- }
2989
-
2990
- interface PaymentMethodTokenizationData {
2991
- readonly type: string;
2992
- readonly token?: string;
2993
- }
2994
-
2995
- interface PaymentMethodTokenizationSpecification {
2996
- readonly type: io.flow.google.pay.v0.enums.TokenizationType;
2997
- readonly parameters: any /*object*/;
2998
- }
2999
-
3000
- interface ShippingAddressParameters {
3001
- readonly allowedCountryCodes?: string[];
3002
- }
3003
-
3004
- interface SignedMessage {
3005
- readonly encryptedMessage: string;
3006
- readonly ephemeralPublicKey: string;
3007
- readonly tag: string;
3008
- }
3009
-
3010
- interface StripePaymentMethodToken {
3011
- readonly discriminator: 'stripe_payment_method_token';
3012
- readonly token: io.flow.stripe.v0.models.Token;
3013
- }
3014
-
3015
- interface TransactionInfo {
3016
- readonly totalPriceStatus: io.flow.google.pay.v0.enums.TotalPriceStatus;
3017
- readonly totalPrice?: string;
3018
- readonly currencyCode?: string;
3019
- }
3020
- }
3021
-
3022
- declare namespace io.flow.google.pay.v0.unions {
3023
- type PaymentMethodToken =
3024
- | io.flow.google.pay.v0.models.DirectPaymentMethodToken
3025
- | io.flow.google.pay.v0.models.StripePaymentMethodToken;
3026
- }
3027
-
3028
- declare namespace io.flow.billing.csv.v0.models {
3029
- interface AccountSummary {
3030
- readonly id: string;
3031
- readonly currency: string;
3032
- }
3033
-
3034
- interface BillingChannelCsvOrder {
3035
- readonly number: string;
3036
- readonly submitted_at: string;
3037
- readonly local: io.flow.billing.csv.v0.models.BillingChannelCsvOrderDetail;
3038
- readonly deliveries: io.flow.billing.csv.v0.models.BillingChannelCsvOrderDelivery[];
3039
- }
3040
-
3041
- interface BillingChannelCsvOrderDelivery {
3042
- readonly carrier: io.flow.billing.csv.v0.models.BillingCsvCarrier;
3043
- readonly service: io.flow.billing.csv.v0.models.BillingCsvService;
3044
- readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
3045
- readonly ratecard_owner: io.flow.billing.internal.v0.enums.ResponsibleParty;
3046
- readonly tier: io.flow.billing.csv.v0.models.BillingCsvTier;
3047
- }
3048
-
3049
- interface BillingChannelCsvOrderDetail {
3050
- readonly currency: string;
3051
- readonly freight: number;
3052
- readonly total: number;
3053
- readonly subtotal: number;
3054
- readonly vat: number;
3055
- readonly duty: number;
3056
- readonly discount: number;
3057
- readonly adjustment: number;
3058
- readonly insurance: number;
3059
- readonly shipping: number;
3060
- }
3061
-
3062
- interface BillingCsvCarrier {
3063
- readonly id: string;
3064
- }
3065
-
3066
- interface BillingCsvCenter {
3067
- readonly key: string;
3068
- }
3069
-
3070
- interface BillingCsvChannelBilledTransaction {
3071
- readonly id: string;
3072
- readonly type: string;
3073
- readonly net: number;
3074
- readonly description: string;
3075
- readonly account: io.flow.billing.csv.v0.models.AccountSummary;
3076
- readonly organization?: io.flow.common.v0.models.OrganizationReference;
3077
- readonly order?: io.flow.billing.csv.v0.models.BillingCsvOrderSummary;
3078
- }
3079
-
3080
- interface BillingCsvChannelTransaction {
3081
- readonly id: string;
3082
- readonly account: io.flow.billing.csv.v0.models.AccountSummary;
3083
- readonly type: string;
3084
- readonly description?: string;
3085
- readonly organization: io.flow.common.v0.models.OrganizationReference;
3086
- readonly order: io.flow.billing.csv.v0.models.BillingCsvOrderWithMorSummary;
3087
- readonly processing_transaction: io.flow.billing.csv.v0.models.BillingCsvChannelTransactionProcessingTransaction;
3088
- readonly spot_rate: io.flow.billing.csv.v0.models.BillingCsvExchangeRate;
3089
- readonly processing_transaction_base_amount_in_channel_account_currency: number;
3090
- readonly processing_transaction_total_fees_in_channel_account_currency: number;
3091
- readonly processing_fee?: io.flow.billing.csv.v0.models.BillingCsvFee;
3092
- readonly fraud_fee?: io.flow.billing.csv.v0.models.BillingCsvFee;
3093
- readonly mor_fee?: io.flow.billing.csv.v0.models.BillingCsvFee;
3094
- readonly fx_fee?: io.flow.billing.csv.v0.models.BillingCsvFee;
3095
- readonly duty_guarantee_fee?: io.flow.billing.csv.v0.models.BillingCsvFee;
3096
- readonly rate_lock_fee?: io.flow.billing.csv.v0.models.BillingCsvFee;
3097
- readonly transfer_fee?: io.flow.billing.csv.v0.models.BillingCsvFee;
3098
- readonly total_fees: number;
3099
- readonly amount: number;
3100
- }
3101
-
3102
- interface BillingCsvChannelTransactionProcessingTransaction {
3103
- readonly id: string;
3104
- readonly account: io.flow.billing.csv.v0.models.AccountSummary;
3105
- readonly local_currency: string;
3106
- readonly base_amount: number;
3107
- readonly total_fees: number;
3108
- readonly payment_method: string;
3109
- }
3110
-
3111
- interface BillingCsvConsumerInvoice {
3112
- readonly invoice: io.flow.billing.csv.v0.models.BillingCsvConsumerInvoiceSummary;
3113
- readonly order: io.flow.billing.internal.v0.models.BillingOrderSummary;
3114
- readonly lines: io.flow.billing.csv.v0.models.BillingCsvConsumerInvoiceLineDetail[];
3115
- }
3116
-
3117
- interface BillingCsvConsumerInvoiceLine {
3118
- readonly invoice: io.flow.billing.csv.v0.models.BillingCsvConsumerInvoiceSummary;
3119
- readonly order: io.flow.billing.internal.v0.models.BillingOrderSummary;
3120
- readonly line: io.flow.billing.csv.v0.models.BillingCsvConsumerInvoiceLineDetail;
3121
- }
3122
-
3123
- interface BillingCsvConsumerInvoiceLineDetail {
3124
- readonly discriminator: string;
3125
- readonly item_number?: string;
3126
- readonly quantity: number;
3127
- readonly unit_price: io.flow.common.v0.models.Price;
3128
- readonly unit_discount?: io.flow.common.v0.models.Price;
3129
- readonly unit_tax?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceLevy;
3130
- readonly unit_duty?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceLevy;
3131
- }
3132
-
3133
- interface BillingCsvConsumerInvoiceSummary {
3134
- readonly id: string;
3135
- readonly number: string;
3136
- readonly date: string;
3137
- readonly key: string;
3138
- }
3139
-
3140
- interface BillingCsvDelivery {
3141
- readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
3142
- readonly carrier: io.flow.billing.csv.v0.models.BillingCsvCarrier;
3143
- readonly center: io.flow.billing.csv.v0.models.BillingCsvCenter;
3144
- readonly service: io.flow.billing.csv.v0.models.BillingCsvService;
3145
- readonly tier: io.flow.billing.csv.v0.models.BillingCsvTier;
3146
- readonly cost: io.flow.billing.csv.v0.models.BillingCsvDeliveryCostDetail;
3147
- readonly ratecard_owner: io.flow.billing.internal.v0.enums.ResponsibleParty;
3148
- }
3149
-
3150
- interface BillingCsvDeliveryCostDetail {
3151
- readonly ratecard_base_cost: number;
3152
- readonly ratecard_ddp_fee: number;
3153
- readonly ratecard_emergency_situation_surcharge: number;
3154
- readonly ratecard_peak_surcharge: number;
3155
- readonly ratecard_fuel_surcharge: number;
3156
- readonly ratecard_oversized_shipment_fee: number;
3157
- readonly ratecard_rural_shipment_fee: number;
3158
- readonly center_commercial_invoice_fee: number;
3159
- readonly center_inbound_carton_fee: number;
3160
- readonly center_outbound_carton_fee: number;
3161
- }
3162
-
3163
- interface BillingCsvExchangeRate {
3164
- readonly base_currency: string;
3165
- readonly local_currency: string;
3166
- readonly rate: number;
3167
- }
3168
-
3169
- interface BillingCsvFee {
3170
- readonly amount: number;
3171
- readonly description?: string;
3172
- }
3173
-
3174
- interface BillingCsvGenericTransaction {
3175
- readonly id: string;
3176
- readonly posted_at?: string;
3177
- readonly type: io.flow.billing.internal.v0.enums.BillingTransactionType;
3178
- readonly amount: number;
3179
- readonly description: string;
3180
- }
3181
-
3182
- interface BillingCsvLabelTransaction {
3183
- readonly id: string;
3184
- readonly type: string;
3185
- readonly gross: number;
3186
- readonly net: number;
3187
- readonly discounts: io.flow.billing.internal.v0.models.Discount[];
3188
- readonly description?: string;
3189
- readonly account: io.flow.billing.csv.v0.models.AccountSummary;
3190
- readonly label: io.flow.billing.csv.v0.models.BillingCsvLabelTransactionBillableLabelSummary;
3191
- readonly organization: io.flow.common.v0.models.OrganizationReference;
3192
- readonly order?: io.flow.billing.csv.v0.models.BillingCsvOrderWithMorSummary;
3193
- }
3194
-
3195
- interface BillingCsvLabelTransactionBillableLabelSummary {
3196
- readonly id: string;
3197
- readonly owner?: io.flow.fulfillment.v0.enums.RatecardOwner;
3198
- readonly carrier_id: string;
3199
- readonly carrier_tracking_number: string;
3200
- readonly cost: io.flow.billing.csv.v0.models.BillingCsvLabelTransactionBillableLabelSummaryCost;
3201
- readonly request_method?: io.flow.label.v0.enums.LabelRequestMethod;
3202
- readonly trigger_method?: io.flow.label.v0.enums.LabelTriggerMethod;
3203
- readonly identifiers?: Record<string, string>;
3204
- }
3205
-
3206
- interface BillingCsvLabelTransactionBillableLabelSummaryCost {
3207
- readonly amount: number;
3208
- readonly currency: string;
3209
- readonly source?: io.flow.label.v0.enums.CostEstimateSource;
3210
- }
3211
-
3212
- interface BillingCsvOrder {
3213
- readonly number: string;
3214
- readonly primary_identifier?: string;
3215
- readonly submitted_at?: string;
3216
- readonly timezone: string;
3217
- readonly local: io.flow.billing.csv.v0.models.BillingCsvOrderDetail;
3218
- readonly base: io.flow.billing.csv.v0.models.BillingCsvOrderDetail;
3219
- readonly transaction_amount: number;
3220
- readonly deliveries: io.flow.billing.csv.v0.models.BillingCsvDelivery[];
3221
- readonly exchange_rate?: io.flow.billing.csv.v0.models.BillingCsvExchangeRate;
3222
- }
3223
-
3224
- interface BillingCsvOrderDestination {
3225
- readonly city?: string;
3226
- readonly province?: string;
3227
- readonly postal?: string;
3228
- readonly country?: string;
3229
- }
3230
-
3231
- interface BillingCsvOrderDetail {
3232
- readonly currency: string;
3233
- readonly adjustment: number;
3234
- readonly subtotal: number;
3235
- readonly vat: number;
3236
- readonly duty: number;
3237
- readonly shipping: number;
3238
- readonly insurance: number;
3239
- readonly discount: number;
3240
- readonly total: number;
3241
- readonly freight: number;
3242
- }
3243
-
3244
- interface BillingCsvOrderSummary {
3245
- readonly number: string;
3246
- readonly identifiers: Record<string, string>;
3247
- }
3248
-
3249
- interface BillingCsvOrderTransaction {
3250
- readonly id: string;
3251
- readonly type: string;
3252
- readonly amount: number;
3253
- readonly description?: string;
3254
- readonly account: io.flow.billing.csv.v0.models.AccountSummary;
3255
- readonly organization: io.flow.common.v0.models.OrganizationReference;
3256
- readonly order: io.flow.billing.csv.v0.models.BillingCsvOrderWithMorSummary;
3257
- }
3258
-
3259
- interface BillingCsvOrderWithMorSummary {
3260
- readonly number: string;
3261
- readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
3262
- readonly identifiers: Record<string, string>;
3263
- }
3264
-
3265
- interface BillingCsvProcessingTransaction {
3266
- readonly id: string;
3267
- readonly reference: string;
3268
- readonly primary_identifier?: string;
3269
- readonly parent_id?: string;
3270
- readonly created_at?: string;
3271
- readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
3272
- readonly posted_at?: string;
3273
- readonly type: io.flow.billing.internal.v0.enums.BillingTransactionType;
3274
- readonly timezone: string;
3275
- readonly order_number?: string;
3276
- readonly order_primary_identifier?: string;
3277
- readonly order_identifiers?: Record<string, string>;
3278
- readonly order_submitted_at?: string;
3279
- readonly order?: io.flow.billing.internal.v0.models.BillingOrderSummary;
3280
- readonly payment_method: string;
3281
- readonly local_amount: number;
3282
- readonly local_currency: string;
3283
- readonly base_amount: number;
3284
- readonly base_currency: string;
3285
- readonly processing_fee?: number;
3286
- readonly processing_fee_description?: string;
3287
- readonly rate_lock_fee: number;
3288
- readonly rate_lock_fee_description?: string;
3289
- readonly vat_withholding: number;
3290
- readonly duty_withholding: number;
3291
- readonly freight_withholding?: number;
3292
- readonly insurance_withholding: number;
3293
- readonly revenue_share?: number;
3294
- readonly revenue_share_currency?: string;
3295
- readonly amount: number;
3296
- readonly order_detail?: io.flow.billing.csv.v0.models.BillingCsvProcessingTransactionOrderDetail;
3297
- readonly mor_fee?: number;
3298
- readonly mor_fee_description?: string;
3299
- readonly fx_fee?: number;
3300
- readonly fx_fee_description?: string;
3301
- readonly duty_guarantee_fee?: number;
3302
- readonly duty_guarantee_fee_description?: string;
3303
- readonly negative_balance_fee?: number;
3304
- readonly negative_balance_fee_description?: string;
3305
- }
3306
-
3307
- interface BillingCsvProcessingTransactionDelivery {
3308
- readonly delivery_option_id: string;
3309
- readonly ratecard_owner: io.flow.billing.internal.v0.enums.ResponsibleParty;
3310
- readonly service: io.flow.billing.csv.v0.models.BillingCsvService;
3311
- readonly center: io.flow.billing.csv.v0.models.BillingCsvCenter;
3312
- readonly ship_from_country: string;
3313
- readonly delivered_duty: string;
3314
- }
3315
-
3316
- interface BillingCsvProcessingTransactionOrderDetail {
3317
- readonly total: number;
3318
- readonly subtotal: number;
3319
- readonly discount: number;
3320
- readonly vat: number;
3321
- readonly duty: number;
3322
- readonly shipping: number;
3323
- readonly vat_subsidy?: number;
3324
- readonly duty_subsidy?: number;
3325
- readonly estimated_freight: number;
3326
- readonly selected_deliveries: io.flow.billing.csv.v0.models.BillingCsvProcessingTransactionDelivery[];
3327
- }
3328
-
3329
- interface BillingCsvService {
3330
- readonly id: string;
3331
- }
3332
-
3333
- interface BillingCsvTier {
3334
- readonly name: string;
3335
- }
3336
-
3337
- interface BillingCsvTransaction {
3338
- readonly id: string;
3339
- readonly type: io.flow.billing.internal.v0.enums.BillingTransactionType;
3340
- readonly account: io.flow.billing.csv.v0.models.BillingCsvTransactionAccount;
3341
- readonly metadata?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadata;
3342
- readonly order?: io.flow.billing.csv.v0.models.BillingCsvTransactionOrderSummary;
3343
- readonly currency: string;
3344
- readonly source: io.flow.billing.v0.enums.TransactionSource;
3345
- readonly parent?: io.flow.billing.v0.models.ParentTransactionSummary;
3346
- readonly gross: number;
3347
- readonly fees: io.flow.billing.csv.v0.models.BillingCsvTransactionFees;
3348
- readonly withholdings: io.flow.billing.csv.v0.models.BillingCsvTransactionWithholdings;
3349
- readonly discount: io.flow.billing.csv.v0.models.BillingCsvTransactionDiscount;
3350
- readonly net: number;
3351
- readonly identifiers: io.flow.billing.csv.v0.models.BillingCsvTransactionIdentifiers;
3352
- readonly created_at: string;
3353
- readonly updated_at: string;
3354
- }
3355
-
3356
- interface BillingCsvTransactionAccount {
3357
- readonly id: string;
3358
- readonly environment: io.flow.common.v0.enums.Environment;
3359
- readonly source: io.flow.billing.csv.v0.models.BillingCsvTransactionAccountSourceSummary;
3360
- }
3361
-
3362
- interface BillingCsvTransactionAccountSourceSummary {
3363
- readonly id: string;
3364
- readonly type: io.flow.billing.internal.v0.enums.AccountType;
3365
- }
3366
-
3367
- interface BillingCsvTransactionDiscount {
3368
- readonly amount: number;
3369
- readonly description?: string;
3370
- }
3371
-
3372
- interface BillingCsvTransactionFees {
3373
- readonly duty_guarantee: number;
3374
- readonly mor: number;
3375
- readonly fraud: number;
3376
- readonly fx: number;
3377
- readonly processing: number;
3378
- readonly rate_lock: number;
3379
- readonly transfer: number;
3380
- readonly negative_balance: number;
3381
- }
3382
-
3383
- interface BillingCsvTransactionIdentifiers {
3384
- readonly reference_id?: string;
3385
- }
3386
-
3387
- interface BillingCsvTransactionMetadata {
3388
- readonly channel?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataChannel;
3389
- readonly shipping_label?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataShippingLabel;
3390
- readonly shipping_label_revenue_share?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataShippingLabelRevenueShare;
3391
- readonly trueup?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataTrueup;
3392
- readonly carrier_charge?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataCarrierCharge;
3393
- readonly carrier_fee?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataCarrierFee;
3394
- readonly manual?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataManual;
3395
- }
3396
-
3397
- interface BillingCsvTransactionMetadataCarrierCharge {
3398
- readonly reason: io.flow.trueup.v0.enums.CarrierChargeReason;
3399
- readonly label_created_at: string;
3400
- readonly carrier_id: string;
3401
- readonly carrier_tracking_number: string;
3402
- readonly revenue_share_percentage: number;
3403
- readonly outbound_transaction_id?: string;
3404
- }
3405
-
3406
- interface BillingCsvTransactionMetadataCarrierFee {
3407
- readonly outbound_transaction_id: string;
3408
- readonly estimate_fixed_ddp?: number;
3409
- readonly estimate_fixed_currency_conversion?: number;
3410
- readonly actual_fixed_ddp?: number;
3411
- readonly actual_fixed_currency_conversion?: number;
3412
- }
3413
-
3414
- interface BillingCsvTransactionMetadataChannel {
3415
- readonly method: string;
3416
- readonly card?: io.flow.billing.v0.models.TransactionMetadataChannelCardMetadata;
3417
- }
3418
-
3419
- interface BillingCsvTransactionMetadataManual {
3420
- readonly original?: io.flow.billing.v0.models.TransactionMetadataOriginalTransaction;
3421
- readonly url?: string;
3422
- }
3423
-
3424
- interface BillingCsvTransactionMetadataShippingLabel {
3425
- readonly request_method?: io.flow.label.v0.enums.LabelRequestMethod;
3426
- }
3427
-
3428
- interface BillingCsvTransactionMetadataShippingLabelRevenueShare {
3429
- readonly label_id: string;
3430
- readonly base_amount?: number;
3431
- readonly percentage?: number;
3432
- }
3433
-
3434
- interface BillingCsvTransactionMetadataTrueup {
3435
- readonly original: io.flow.billing.v0.models.TransactionMetadataOriginalTransaction;
3436
- readonly label_transaction_id: string;
3437
- readonly label_invoice_request_id: string;
3438
- readonly carrier_charge_id: string;
3439
- }
3440
-
3441
- interface BillingCsvTransactionOrderSummary {
3442
- readonly organization: io.flow.common.v0.models.OrganizationReference;
3443
- readonly number: string;
3444
- readonly identifiers: io.flow.billing.csv.v0.models.BillingCsvTransactionOrderSummaryIdentifiers;
3445
- }
3446
-
3447
- interface BillingCsvTransactionOrderSummaryIdentifiers {
3448
- readonly shopify_order_id?: string;
3449
- }
3450
-
3451
- interface BillingCsvTransactionWithholdings {
3452
- readonly tax: number;
3453
- readonly duty: number;
3454
- readonly freight: number;
3455
- readonly insurance: number;
3456
- }
3457
-
3458
- interface FlowFinancePaymentSummary {
3459
- readonly id: string;
3460
- readonly status: io.flow.billing.internal.v0.enums.BankPaymentStatusCode;
3461
- readonly amount: number;
3462
- readonly bank_account_last4?: string;
3463
- }
3464
-
3465
- interface FlowFinanceStatementSummary {
3466
- readonly account_id: string;
3467
- readonly payment?: io.flow.billing.csv.v0.models.FlowFinancePaymentSummary;
3468
- readonly statement_id: string;
3469
- readonly settlement_currency: string;
3470
- readonly starting_balance: number;
3471
- readonly balance_forward: number;
3472
- readonly transactions_posted: number;
3473
- readonly platform_fee: number;
3474
- readonly account_balance: number;
3475
- readonly dispute_balance: number;
3476
- readonly one_time_adjustments: Record<string, number>;
3477
- }
3478
- }
3479
-
3480
3067
  declare namespace io.flow.field.validation.v0.models {
3481
3068
  interface FieldValidationMax {
3482
3069
  readonly discriminator: 'max';
@@ -3516,6 +3103,41 @@ declare namespace io.flow.field.validation.v0.unions {
3516
3103
  declare namespace io.flow.stripe.v0.enums {
3517
3104
  type AccountType = 'platform' | 'custom' | 'standard' | 'express';
3518
3105
  type ApplePayType = 'apple_pay' | 'apple_pay_later';
3106
+ type BankIdeal =
3107
+ | 'abn_amro'
3108
+ | 'asn_bank'
3109
+ | 'bunq'
3110
+ | 'handelsbanken'
3111
+ | 'ing'
3112
+ | 'knab'
3113
+ | 'moneyou'
3114
+ | 'n26'
3115
+ | 'nn'
3116
+ | 'rabobank'
3117
+ | 'regiobank'
3118
+ | 'revolut'
3119
+ | 'sns_bank'
3120
+ | 'triodos_bank'
3121
+ | 'van_lanschot'
3122
+ | 'yoursafe';
3123
+ type BicIdeal =
3124
+ | 'ABNANL2A'
3125
+ | 'ASNBNL21'
3126
+ | 'BITSNL2A'
3127
+ | 'BUNQNL2A'
3128
+ | 'FVLBNL22'
3129
+ | 'HANDNL2A'
3130
+ | 'INGBNL2A'
3131
+ | 'KNABNL2H'
3132
+ | 'MOYONL21'
3133
+ | 'NNBANL2G'
3134
+ | 'NTSBDEB1'
3135
+ | 'RABONL2U'
3136
+ | 'RBRBNL21'
3137
+ | 'REVOIE23'
3138
+ | 'REVOLT21'
3139
+ | 'SNSBNL2A'
3140
+ | 'TRIONL2U';
3519
3141
  type CancellationReason =
3520
3142
  | 'abandoned'
3521
3143
  | 'automatic'
@@ -3595,6 +3217,37 @@ declare namespace io.flow.stripe.v0.enums {
3595
3217
  | 'previously_declined_do_not_retry'
3596
3218
  | 'highest_risk_level'
3597
3219
  | 'requested_block_on_incorrect_cvc';
3220
+ type DisputeEventType =
3221
+ | 'charge.dispute.closed'
3222
+ | 'charge.dispute.created'
3223
+ | 'charge.dispute.funds_reinstated'
3224
+ | 'charge.dispute.funds_withdrawn'
3225
+ | 'charge.dispute.updated';
3226
+ type DisputePaymentMethodDetailsCardCaseType = 'chargeback' | 'inquiry';
3227
+ type DisputePaymentMethodDetailsType = 'card' | 'klarna' | 'paypal';
3228
+ type DisputeReason =
3229
+ | 'bank_cannot_process'
3230
+ | 'check_returned'
3231
+ | 'credit_not_processed'
3232
+ | 'customer_initiated'
3233
+ | 'debit_not_authorized'
3234
+ | 'duplicate'
3235
+ | 'fraudulent'
3236
+ | 'general'
3237
+ | 'incorrect_account_details'
3238
+ | 'insufficient_funds'
3239
+ | 'product_not_received'
3240
+ | 'product_unacceptable'
3241
+ | 'subscription_canceled'
3242
+ | 'unrecognized';
3243
+ type DisputeStatus =
3244
+ | 'warning_needs_response'
3245
+ | 'warning_under_review'
3246
+ | 'warning_closed'
3247
+ | 'needs_response'
3248
+ | 'under_review'
3249
+ | 'won'
3250
+ | 'lost';
3598
3251
  type ErrorCode =
3599
3252
  | 'invalid_number'
3600
3253
  | 'invalid_expiry_month'
@@ -3685,6 +3338,11 @@ declare namespace io.flow.stripe.v0.enums {
3685
3338
  | 'charge.succeeded'
3686
3339
  | 'charge.updated'
3687
3340
  | 'charge.refund.updated'
3341
+ | 'charge.dispute.closed'
3342
+ | 'charge.dispute.created'
3343
+ | 'charge.dispute.funds_reinstated'
3344
+ | 'charge.dispute.funds_withdrawn'
3345
+ | 'charge.dispute.updated'
3688
3346
  | 'payment_intent.created'
3689
3347
  | 'payment_intent.amount_capturable_updated'
3690
3348
  | 'payment_intent.payment_failed'
@@ -3724,7 +3382,12 @@ declare namespace io.flow.stripe.v0.enums {
3724
3382
  | 'pay_now'
3725
3383
  | 'pay_with_financing'
3726
3384
  | 'pay_in_installments';
3727
- type PaymentMethodType = 'card' | 'card_present' | 'klarna';
3385
+ type PaymentMethodType =
3386
+ | 'card'
3387
+ | 'card_present'
3388
+ | 'ideal'
3389
+ | 'klarna'
3390
+ | 'bancontact';
3728
3391
  type PaymentOutcomeType =
3729
3392
  | 'authorized'
3730
3393
  | 'manual_review'
@@ -3732,6 +3395,7 @@ declare namespace io.flow.stripe.v0.enums {
3732
3395
  | 'blocked'
3733
3396
  | 'invalid';
3734
3397
  type PaymentStatus = 'succeeded' | 'pending' | 'failed';
3398
+ type PreferredLanguageBancontact = 'de' | 'en' | 'fr' | 'nl';
3735
3399
  type PreferredLocaleKlarna =
3736
3400
  | 'de-AT'
3737
3401
  | 'en-AT'
@@ -4059,6 +3723,54 @@ declare namespace io.flow.stripe.v0.models {
4059
3723
  readonly description?: string;
4060
3724
  }
4061
3725
 
3726
+ interface Dispute {
3727
+ readonly id: string;
3728
+ readonly amount: number;
3729
+ readonly charge: string;
3730
+ readonly currency: string;
3731
+ readonly evidence: any /*object*/;
3732
+ readonly metadata: Record<string, string>;
3733
+ readonly payment_intent: string;
3734
+ readonly reason: io.flow.stripe.v0.enums.DisputeReason;
3735
+ readonly status: io.flow.stripe.v0.enums.DisputeStatus;
3736
+ readonly object: string;
3737
+ readonly balance_transactions: any /*object*/[];
3738
+ readonly created: number;
3739
+ readonly evidence_details: io.flow.stripe.v0.models.DisputeEvidenceDetails;
3740
+ readonly is_charge_refundable: boolean;
3741
+ readonly livemode: boolean;
3742
+ readonly payment_method_details?: io.flow.stripe.v0.models.DisputePaymentMethodDetails;
3743
+ }
3744
+
3745
+ interface DisputeEvidenceDetails {
3746
+ readonly due_by?: number;
3747
+ readonly has_evidence: boolean;
3748
+ readonly past_due: boolean;
3749
+ readonly submission_count: number;
3750
+ }
3751
+
3752
+ interface DisputePaymentMethodDetails {
3753
+ readonly card?: io.flow.stripe.v0.models.DisputePaymentMethodDetailsCard;
3754
+ readonly klarna?: io.flow.stripe.v0.models.DisputePaymentMethodDetailsKlarna;
3755
+ readonly paypal?: io.flow.stripe.v0.models.DisputePaymentMethodDetailsPaypal;
3756
+ readonly type: io.flow.stripe.v0.enums.DisputePaymentMethodDetailsType;
3757
+ }
3758
+
3759
+ interface DisputePaymentMethodDetailsCard {
3760
+ readonly brand: string;
3761
+ readonly case_type: io.flow.stripe.v0.enums.DisputePaymentMethodDetailsCardCaseType;
3762
+ readonly network_reason_code?: string;
3763
+ }
3764
+
3765
+ interface DisputePaymentMethodDetailsKlarna {
3766
+ readonly reason_code?: string;
3767
+ }
3768
+
3769
+ interface DisputePaymentMethodDetailsPaypal {
3770
+ readonly case_id?: string;
3771
+ readonly reason_code?: string;
3772
+ }
3773
+
4062
3774
  interface Error {
4063
3775
  readonly error: io.flow.stripe.v0.models.StripeError;
4064
3776
  }
@@ -4315,8 +4027,10 @@ declare namespace io.flow.stripe.v0.models {
4315
4027
  readonly id: string;
4316
4028
  readonly object: string;
4317
4029
  readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
4030
+ readonly bancontact?: any /*object*/;
4318
4031
  readonly card?: io.flow.stripe.v0.models.PaymentMethodCardDetails;
4319
4032
  readonly card_present?: any /*object*/;
4033
+ readonly ideal?: any /*object*/;
4320
4034
  readonly klarna?: any /*object*/;
4321
4035
  readonly created: number;
4322
4036
  readonly customer?: string;
@@ -4351,6 +4065,12 @@ declare namespace io.flow.stripe.v0.models {
4351
4065
  readonly cvc?: string;
4352
4066
  }
4353
4067
 
4068
+ interface PaymentMethodDataBancontact {
4069
+ readonly type: 'bancontact';
4070
+ readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
4071
+ readonly metadata?: any /*object*/;
4072
+ }
4073
+
4354
4074
  interface PaymentMethodDataCard {
4355
4075
  readonly type: 'card';
4356
4076
  readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
@@ -4358,6 +4078,13 @@ declare namespace io.flow.stripe.v0.models {
4358
4078
  readonly card: io.flow.stripe.v0.models.PaymentMethodCardForm;
4359
4079
  }
4360
4080
 
4081
+ interface PaymentMethodDataIdeal {
4082
+ readonly type: 'ideal';
4083
+ readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
4084
+ readonly metadata?: any /*object*/;
4085
+ readonly ideal: io.flow.stripe.v0.models.PaymentMethodIdealForm;
4086
+ }
4087
+
4361
4088
  interface PaymentMethodDataKlarna {
4362
4089
  readonly type: 'klarna';
4363
4090
  readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
@@ -4365,6 +4092,22 @@ declare namespace io.flow.stripe.v0.models {
4365
4092
  readonly klarna: io.flow.stripe.v0.models.PaymentMethodKlarnaForm;
4366
4093
  }
4367
4094
 
4095
+ interface PaymentMethodDetailsBancontact {
4096
+ readonly type: 'bancontact';
4097
+ readonly bancontact: io.flow.stripe.v0.models.PaymentMethodDetailsBancontactInformation;
4098
+ }
4099
+
4100
+ interface PaymentMethodDetailsBancontactInformation {
4101
+ readonly bank_code?: string;
4102
+ readonly bank_name?: string;
4103
+ readonly bic?: string;
4104
+ readonly generated_sepa_debit?: string;
4105
+ readonly generated_sepa_debit_mandate?: string;
4106
+ readonly iban_last4?: string;
4107
+ readonly preferred_language?: io.flow.stripe.v0.enums.PreferredLanguageBancontact;
4108
+ readonly verified_name?: string;
4109
+ }
4110
+
4368
4111
  interface PaymentMethodDetailsCard {
4369
4112
  readonly type: 'card';
4370
4113
  readonly card: io.flow.stripe.v0.models.PaymentMethodDetailsCardInformation;
@@ -4396,6 +4139,20 @@ declare namespace io.flow.stripe.v0.models {
4396
4139
  readonly overcapture?: io.flow.stripe.v0.models.Overcapture;
4397
4140
  }
4398
4141
 
4142
+ interface PaymentMethodDetailsIdeal {
4143
+ readonly type: 'ideal';
4144
+ readonly ideal: io.flow.stripe.v0.models.PaymentMethodDetailsIdealInformation;
4145
+ }
4146
+
4147
+ interface PaymentMethodDetailsIdealInformation {
4148
+ readonly bank?: io.flow.stripe.v0.enums.BankIdeal;
4149
+ readonly bic?: io.flow.stripe.v0.enums.BicIdeal;
4150
+ readonly generated_sepa_debit?: string;
4151
+ readonly generated_sepa_debit_mandate?: string;
4152
+ readonly iban_last4?: string;
4153
+ readonly verified_name?: string;
4154
+ }
4155
+
4399
4156
  interface PaymentMethodDetailsKlarna {
4400
4157
  readonly type: 'klarna';
4401
4158
  readonly klarna: io.flow.stripe.v0.models.PaymentMethodDetailsKlarnaInformation;
@@ -4406,6 +4163,13 @@ declare namespace io.flow.stripe.v0.models {
4406
4163
  readonly preferred_locale?: io.flow.stripe.v0.enums.PreferredLocaleKlarna;
4407
4164
  }
4408
4165
 
4166
+ interface PaymentMethodFormBancontact {
4167
+ readonly type: 'bancontact';
4168
+ readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
4169
+ readonly metadata?: any /*object*/;
4170
+ readonly bancontact: any /*object*/;
4171
+ }
4172
+
4409
4173
  interface PaymentMethodFormCard {
4410
4174
  readonly type: 'card';
4411
4175
  readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
@@ -4413,6 +4177,13 @@ declare namespace io.flow.stripe.v0.models {
4413
4177
  readonly card: io.flow.stripe.v0.models.PaymentMethodCardForm;
4414
4178
  }
4415
4179
 
4180
+ interface PaymentMethodFormIdeal {
4181
+ readonly type: 'ideal';
4182
+ readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
4183
+ readonly metadata?: any /*object*/;
4184
+ readonly ideal: io.flow.stripe.v0.models.PaymentMethodIdealForm;
4185
+ }
4186
+
4416
4187
  interface PaymentMethodFormKlarna {
4417
4188
  readonly type: 'klarna';
4418
4189
  readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
@@ -4420,13 +4191,27 @@ declare namespace io.flow.stripe.v0.models {
4420
4191
  readonly klarna: io.flow.stripe.v0.models.PaymentMethodKlarnaForm;
4421
4192
  }
4422
4193
 
4194
+ interface PaymentMethodIdealForm {
4195
+ readonly bank?: string;
4196
+ }
4197
+
4423
4198
  interface PaymentMethodKlarnaForm {
4424
4199
  readonly dob?: io.flow.stripe.v0.models.KlarnaDobForm;
4425
4200
  }
4426
4201
 
4427
4202
  interface PaymentMethodOptions {
4428
4203
  readonly card?: io.flow.stripe.v0.models.PaymentMethodOptionsCard;
4204
+ readonly ideal?: io.flow.stripe.v0.models.PaymentMethodOptionsIdeal;
4429
4205
  readonly klarna?: io.flow.stripe.v0.models.PaymentMethodOptionsKlarna;
4206
+ readonly bancontact?: io.flow.stripe.v0.models.PaymentMethodOptionsBancontact;
4207
+ }
4208
+
4209
+ interface PaymentMethodOptionsBancontact {
4210
+ readonly preferred_language: io.flow.stripe.v0.enums.PreferredLanguageBancontact;
4211
+ }
4212
+
4213
+ interface PaymentMethodOptionsBancontactForm {
4214
+ readonly preferred_language: io.flow.stripe.v0.enums.PreferredLanguageBancontact;
4430
4215
  }
4431
4216
 
4432
4217
  interface PaymentMethodOptionsCard {
@@ -4446,7 +4231,17 @@ declare namespace io.flow.stripe.v0.models {
4446
4231
 
4447
4232
  interface PaymentMethodOptionsForm {
4448
4233
  readonly card?: io.flow.stripe.v0.models.PaymentMethodOptionsCardForm;
4234
+ readonly ideal?: io.flow.stripe.v0.models.PaymentMethodOptionsIdealForm;
4449
4235
  readonly klarna?: io.flow.stripe.v0.models.PaymentMethodOptionsKlarnaForm;
4236
+ readonly bancontact?: io.flow.stripe.v0.models.PaymentMethodOptionsBancontactForm;
4237
+ }
4238
+
4239
+ interface PaymentMethodOptionsIdeal {
4240
+ readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
4241
+ }
4242
+
4243
+ interface PaymentMethodOptionsIdealForm {
4244
+ readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
4450
4245
  }
4451
4246
 
4452
4247
  interface PaymentMethodOptionsKlarna {
@@ -4661,6 +4456,24 @@ declare namespace io.flow.stripe.v0.models {
4661
4456
  readonly directory_server_encryption?: any /*object*/;
4662
4457
  }
4663
4458
 
4459
+ interface StripeDisputeEvent {
4460
+ readonly id: string;
4461
+ readonly api_version?: string;
4462
+ readonly data: io.flow.stripe.v0.models.StripeDisputeEventData;
4463
+ readonly request?: any /*object*/;
4464
+ readonly type: io.flow.stripe.v0.enums.DisputeEventType;
4465
+ readonly object: string;
4466
+ readonly account?: string;
4467
+ readonly created: number;
4468
+ readonly livemode: boolean;
4469
+ readonly pending_webhooks: number;
4470
+ }
4471
+
4472
+ interface StripeDisputeEventData {
4473
+ readonly object: io.flow.stripe.v0.models.Dispute;
4474
+ readonly previous_attributes?: any /*object*/;
4475
+ }
4476
+
4664
4477
  interface StripeError {
4665
4478
  readonly type: io.flow.stripe.v0.enums.ErrorType;
4666
4479
  readonly charge?: string;
@@ -4763,13 +4576,19 @@ declare namespace io.flow.stripe.v0.unions {
4763
4576
  | io.flow.stripe.v0.models.VisaCheckout;
4764
4577
  type PaymentMethodData =
4765
4578
  | io.flow.stripe.v0.models.PaymentMethodDataCard
4766
- | io.flow.stripe.v0.models.PaymentMethodDataKlarna;
4579
+ | io.flow.stripe.v0.models.PaymentMethodDataIdeal
4580
+ | io.flow.stripe.v0.models.PaymentMethodDataKlarna
4581
+ | io.flow.stripe.v0.models.PaymentMethodDataBancontact;
4767
4582
  type PaymentMethodDetails =
4768
4583
  | io.flow.stripe.v0.models.PaymentMethodDetailsCard
4769
- | io.flow.stripe.v0.models.PaymentMethodDetailsKlarna;
4584
+ | io.flow.stripe.v0.models.PaymentMethodDetailsIdeal
4585
+ | io.flow.stripe.v0.models.PaymentMethodDetailsKlarna
4586
+ | io.flow.stripe.v0.models.PaymentMethodDetailsBancontact;
4770
4587
  type PaymentMethodForm =
4771
4588
  | io.flow.stripe.v0.models.PaymentMethodFormCard
4772
- | io.flow.stripe.v0.models.PaymentMethodFormKlarna;
4589
+ | io.flow.stripe.v0.models.PaymentMethodFormIdeal
4590
+ | io.flow.stripe.v0.models.PaymentMethodFormKlarna
4591
+ | io.flow.stripe.v0.models.PaymentMethodFormBancontact;
4773
4592
  }
4774
4593
 
4775
4594
  declare namespace io.flow.customer.v0.enums {
@@ -4954,6 +4773,13 @@ declare namespace io.flow.label.v0.models {
4954
4773
  readonly number: string;
4955
4774
  }
4956
4775
 
4776
+ interface LabelProcessingModification {
4777
+ readonly id: string;
4778
+ readonly modifications: string[];
4779
+ readonly destination: io.flow.fulfillment.v0.models.ShippingAddress;
4780
+ readonly destination_provided_to_carrier?: io.flow.fulfillment.v0.models.ShippingAddress;
4781
+ }
4782
+
4957
4783
  interface LabelReference {
4958
4784
  readonly id: string;
4959
4785
  }
@@ -6380,6 +6206,11 @@ declare namespace io.flow.shopify.markets.internal.v0.enums {
6380
6206
  | 'sports_and_fitness'
6381
6207
  | 'toys_hobbies_gifts'
6382
6208
  | 'other';
6209
+ type TaxAndDutyInclusivitySetting =
6210
+ | 'duty_exclusive_tax_exclusive'
6211
+ | 'duty_inclusive_tax_exclusive'
6212
+ | 'duty_exclusive_tax_inclusive'
6213
+ | 'duty_inclusive_tax_inclusive';
6383
6214
  }
6384
6215
 
6385
6216
  declare namespace io.flow.shopify.markets.internal.v0.models {
@@ -6402,6 +6233,12 @@ declare namespace io.flow.shopify.markets.internal.v0.models {
6402
6233
  readonly timestamp: string;
6403
6234
  }
6404
6235
 
6236
+ interface ChannelOrganizationIdentifier {
6237
+ readonly id: string;
6238
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
6239
+ readonly identifier: string;
6240
+ }
6241
+
6405
6242
  interface FlowShopValidationError {
6406
6243
  readonly message: string;
6407
6244
  readonly reason: string;
@@ -6423,6 +6260,14 @@ declare namespace io.flow.shopify.markets.internal.v0.models {
6423
6260
  readonly id: string;
6424
6261
  }
6425
6262
 
6263
+ interface OrderTaxAndDutyInclusivitySetting {
6264
+ readonly id: string;
6265
+ readonly organization_id: string;
6266
+ readonly shopify_order_id: string;
6267
+ readonly order_number: string;
6268
+ readonly tax_and_duty_inclusivity_setting: io.flow.shopify.markets.internal.v0.enums.TaxAndDutyInclusivitySetting;
6269
+ }
6270
+
6426
6271
  interface OrderValidationError {
6427
6272
  readonly message: string;
6428
6273
  readonly reason: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceRejectionReason;
@@ -6551,7 +6396,10 @@ declare namespace io.flow.shopify.markets.internal.v0.models {
6551
6396
  readonly id: string;
6552
6397
  readonly initial_catalog_synced_at?: string;
6553
6398
  readonly catalog_sync_duration?: number;
6399
+ readonly restrictions_sync_duration?: number;
6400
+ readonly classifications_sync_duration?: number;
6554
6401
  readonly catalog_products_count?: number;
6402
+ readonly initial_product_restrictions_synced_at?: string;
6555
6403
  }
6556
6404
 
6557
6405
  interface ThirdPartyLogisticsPartner {
@@ -6569,220 +6417,6 @@ declare namespace io.flow.shopify.markets.internal.v0.models {
6569
6417
  }
6570
6418
  }
6571
6419
 
6572
- declare namespace io.flow.consumer.invoice.v0.enums {
6573
- type B2BInvoiceType = 'self_bill_invoice' | 'invoice';
6574
- type ConsumerInvoiceCustomerType =
6575
- | 'business_eu_verified'
6576
- | 'business_non_verified'
6577
- | 'individual';
6578
- type ConsumerInvoiceDocumentType = 'pdf';
6579
- type ConsumerInvoiceStatus = 'pending' | 'available' | 'invalid';
6580
- }
6581
-
6582
- declare namespace io.flow.consumer.invoice.v0.models {
6583
- interface B2BCreditMemo {
6584
- readonly id: string;
6585
- readonly number: string;
6586
- readonly buyer: io.flow.common.v0.models.MerchantOfRecordEntity;
6587
- readonly seller: io.flow.common.v0.models.MerchantOfRecordEntity;
6588
- readonly status: io.flow.consumer.invoice.v0.enums.ConsumerInvoiceStatus;
6589
- readonly date: string;
6590
- readonly key: string;
6591
- readonly invoice: io.flow.consumer.invoice.v0.models.B2BInvoiceReference;
6592
- readonly lines: io.flow.consumer.invoice.v0.unions.ConsumerInvoiceLine[];
6593
- readonly documents: io.flow.consumer.invoice.v0.models.ConsumerInvoiceDocument[];
6594
- readonly attributes: Record<string, string>;
6595
- readonly b2b_invoice_type: io.flow.consumer.invoice.v0.enums.B2BInvoiceType;
6596
- }
6597
-
6598
- interface B2BInvoice {
6599
- readonly id: string;
6600
- readonly number: string;
6601
- readonly buyer: io.flow.common.v0.models.MerchantOfRecordEntity;
6602
- readonly seller: io.flow.common.v0.models.MerchantOfRecordEntity;
6603
- readonly status: io.flow.consumer.invoice.v0.enums.ConsumerInvoiceStatus;
6604
- readonly date: string;
6605
- readonly key: string;
6606
- readonly order: io.flow.consumer.invoice.v0.models.ConsumerInvoiceOrderSummary;
6607
- readonly economic_title_location: io.flow.merchant.of.record.v0.enums.EconomicTitleLocation;
6608
- readonly center?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceCenterReference;
6609
- readonly destination?: io.flow.experience.v0.models.OrderAddress;
6610
- readonly tax: io.flow.common.v0.models.Money;
6611
- readonly lines: io.flow.consumer.invoice.v0.unions.ConsumerInvoiceLine[];
6612
- readonly documents: io.flow.consumer.invoice.v0.models.ConsumerInvoiceDocument[];
6613
- readonly attributes: Record<string, string>;
6614
- readonly estimated_delivery_date?: string;
6615
- readonly b2b_invoice_type: io.flow.consumer.invoice.v0.enums.B2BInvoiceType;
6616
- }
6617
-
6618
- interface B2BInvoiceReference {
6619
- readonly id: string;
6620
- readonly key: string;
6621
- readonly number: string;
6622
- }
6623
-
6624
- interface ConsumerInvoice {
6625
- readonly id: string;
6626
- readonly number: string;
6627
- readonly status: io.flow.consumer.invoice.v0.enums.ConsumerInvoiceStatus;
6628
- readonly date: string;
6629
- readonly key: string;
6630
- readonly order: io.flow.consumer.invoice.v0.models.ConsumerInvoiceOrderSummary;
6631
- readonly entity: io.flow.common.v0.models.MerchantOfRecordEntity;
6632
- readonly payments: io.flow.consumer.invoice.v0.models.ConsumerInvoicePayment[];
6633
- readonly center?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceCenterReference;
6634
- readonly destination: io.flow.experience.v0.models.OrderAddress;
6635
- readonly billing_address?: io.flow.common.v0.models.BillingAddress;
6636
- readonly lines: io.flow.consumer.invoice.v0.unions.ConsumerInvoiceLine[];
6637
- readonly documents: io.flow.consumer.invoice.v0.models.ConsumerInvoiceDocument[];
6638
- readonly attributes: Record<string, string>;
6639
- readonly tax_registration?: io.flow.harmonization.v0.models.TaxRegistration;
6640
- readonly customer_type?: io.flow.consumer.invoice.v0.enums.ConsumerInvoiceCustomerType;
6641
- readonly estimated_delivery_date?: string;
6642
- }
6643
-
6644
- interface ConsumerInvoiceCenterReference {
6645
- readonly id: string;
6646
- readonly key: string;
6647
- readonly name: string;
6648
- readonly address: io.flow.common.v0.models.Address;
6649
- }
6650
-
6651
- interface ConsumerInvoiceDocument {
6652
- readonly type: io.flow.consumer.invoice.v0.enums.ConsumerInvoiceDocumentType;
6653
- readonly language: string;
6654
- readonly url: string;
6655
- }
6656
-
6657
- interface ConsumerInvoiceForm {
6658
- readonly order_number: string;
6659
- readonly attributes?: Record<string, string>;
6660
- }
6661
-
6662
- interface ConsumerInvoiceFormByOrder {
6663
- readonly attributes?: Record<string, string>;
6664
- }
6665
-
6666
- interface ConsumerInvoiceLevy {
6667
- readonly rate: number;
6668
- readonly value: io.flow.common.v0.models.Price;
6669
- }
6670
-
6671
- interface ConsumerInvoiceLevyForm {
6672
- readonly rate: number;
6673
- readonly amount: number;
6674
- }
6675
-
6676
- interface ConsumerInvoiceLineDiscount {
6677
- readonly discriminator: 'discount';
6678
- readonly price: io.flow.common.v0.models.Price;
6679
- }
6680
-
6681
- interface ConsumerInvoiceLineDiscountForm {
6682
- readonly discriminator: 'discount';
6683
- readonly price: number;
6684
- }
6685
-
6686
- interface ConsumerInvoiceLineItem {
6687
- readonly discriminator: 'item';
6688
- readonly item: io.flow.common.v0.models.ItemReference;
6689
- readonly description: string;
6690
- readonly quantity: number;
6691
- readonly unit_price: io.flow.common.v0.models.Price;
6692
- readonly unit_discount?: io.flow.common.v0.models.Price;
6693
- readonly unit_tax?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceLevy;
6694
- readonly unit_duty?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceLevy;
6695
- }
6696
-
6697
- interface ConsumerInvoiceLineItemForm {
6698
- readonly discriminator: 'item';
6699
- readonly item_number: string;
6700
- readonly quantity: number;
6701
- readonly unit_price: number;
6702
- readonly unit_discount?: number;
6703
- readonly unit_tax?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceLevyForm;
6704
- readonly unit_duty?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceLevyForm;
6705
- }
6706
-
6707
- interface ConsumerInvoiceLineShipping {
6708
- readonly discriminator: 'shipping';
6709
- readonly price: io.flow.common.v0.models.Price;
6710
- readonly discount?: io.flow.common.v0.models.Price;
6711
- readonly tax?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceLevy;
6712
- readonly duty?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceLevy;
6713
- }
6714
-
6715
- interface ConsumerInvoiceLineShippingForm {
6716
- readonly discriminator: 'shipping';
6717
- readonly price: number;
6718
- readonly discount?: number;
6719
- readonly tax?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceLevyForm;
6720
- readonly duty?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceLevyForm;
6721
- }
6722
-
6723
- interface ConsumerInvoiceOrderSummary {
6724
- readonly id: string;
6725
- readonly number: string;
6726
- readonly submitted_at: string;
6727
- }
6728
-
6729
- interface ConsumerInvoicePayment {
6730
- readonly date: string;
6731
- readonly description: string;
6732
- readonly value: io.flow.common.v0.models.Price;
6733
- readonly billing_address?: io.flow.common.v0.models.BillingAddress;
6734
- }
6735
-
6736
- interface ConsumerInvoiceReference {
6737
- readonly id: string;
6738
- readonly key: string;
6739
- readonly number: string;
6740
- }
6741
-
6742
- interface CreditMemo {
6743
- readonly id: string;
6744
- readonly number?: string;
6745
- readonly status: io.flow.consumer.invoice.v0.enums.ConsumerInvoiceStatus;
6746
- readonly date: string;
6747
- readonly key: string;
6748
- readonly invoice: io.flow.consumer.invoice.v0.models.ConsumerInvoiceReference;
6749
- readonly entity: io.flow.common.v0.models.MerchantOfRecordEntity;
6750
- readonly payments: io.flow.consumer.invoice.v0.models.ConsumerInvoicePayment[];
6751
- readonly lines: io.flow.consumer.invoice.v0.unions.ConsumerInvoiceLine[];
6752
- readonly documents: io.flow.consumer.invoice.v0.models.ConsumerInvoiceDocument[];
6753
- readonly attributes: Record<string, string>;
6754
- readonly tax_registration?: io.flow.harmonization.v0.models.TaxRegistration;
6755
- }
6756
-
6757
- interface CreditMemoForm {
6758
- readonly refund_id?: string;
6759
- readonly refund_key?: string;
6760
- readonly refund_identifier?: string;
6761
- readonly lines: io.flow.consumer.invoice.v0.unions.ConsumerInvoiceLineForm[];
6762
- readonly attributes?: Record<string, string>;
6763
- }
6764
-
6765
- interface InvoiceExport {
6766
- readonly id: string;
6767
- }
6768
-
6769
- interface InvoiceExportForm {
6770
- readonly date_from?: string;
6771
- readonly date_to?: string;
6772
- }
6773
- }
6774
-
6775
- declare namespace io.flow.consumer.invoice.v0.unions {
6776
- type ConsumerInvoiceLine =
6777
- | io.flow.consumer.invoice.v0.models.ConsumerInvoiceLineItem
6778
- | io.flow.consumer.invoice.v0.models.ConsumerInvoiceLineDiscount
6779
- | io.flow.consumer.invoice.v0.models.ConsumerInvoiceLineShipping;
6780
- type ConsumerInvoiceLineForm =
6781
- | io.flow.consumer.invoice.v0.models.ConsumerInvoiceLineItemForm
6782
- | io.flow.consumer.invoice.v0.models.ConsumerInvoiceLineDiscountForm
6783
- | io.flow.consumer.invoice.v0.models.ConsumerInvoiceLineShippingForm;
6784
- }
6785
-
6786
6420
  declare namespace io.flow.adyen.v0.enums {
6787
6421
  type Channel = 'web';
6788
6422
  type Contract = 'RECURRING';
@@ -7614,6 +7248,7 @@ declare namespace io.flow.shopify.external.v0.models {
7614
7248
  readonly published_at?: string;
7615
7249
  readonly created_at: string;
7616
7250
  readonly updated_at: string;
7251
+ readonly has_variants_that_requires_components?: boolean;
7617
7252
  }
7618
7253
 
7619
7254
  interface ProductDelete {
@@ -8473,7 +8108,9 @@ declare namespace io.flow.shopify.markets.v0.enums {
8473
8108
  | 'flow_commerce'
8474
8109
  | 'gift_card'
8475
8110
  | 'manual'
8476
- | 'shopify_payments';
8111
+ | 'shopify_payments'
8112
+ | 'shop_cash'
8113
+ | 'shopify_store_credit';
8477
8114
  type ShopifyOrderProcessingMethodType =
8478
8115
  | 'checkout'
8479
8116
  | 'direct'
@@ -9377,7 +9014,8 @@ declare namespace io.flow.channel.internal.v0.enums {
9377
9014
  | 'unsupported_subsidized_order'
9378
9015
  | 'unsupported_virtual_goods'
9379
9016
  | 'non_matching_currencies'
9380
- | 'unsupported_order_edit';
9017
+ | 'unsupported_order_edit'
9018
+ | 'order_missing';
9381
9019
  type ChannelOrderAcceptanceStatus =
9382
9020
  | 'accepted'
9383
9021
  | 'rejected'
@@ -10110,6 +9748,7 @@ declare namespace io.flow.common.v0.unions {
10110
9748
  }
10111
9749
 
10112
9750
  declare namespace io.flow.billing.reporting.v0.enums {
9751
+ type ReportPaymentType = 'credit' | 'debit';
10113
9752
  type ReportStatus =
10114
9753
  | 'created'
10115
9754
  | 'completed'
@@ -10117,10 +9756,15 @@ declare namespace io.flow.billing.reporting.v0.enums {
10117
9756
  | 'failed';
10118
9757
  type ReportType =
10119
9758
  | 'sales_record'
9759
+ | 'refund_record'
9760
+ | 'other_record'
9761
+ | 'pending_record'
10120
9762
  | 'trueup_overview'
10121
9763
  | 'non_channel_payment_bank_account'
10122
9764
  | 'scheduled_payment'
10123
- | 'account_quarterly_balances';
9765
+ | 'account_quarterly_balances'
9766
+ | 'invariants'
9767
+ | 'payments';
10124
9768
  type ReportingFulfillmentIsVirtual = 'all' | 'mixed' | 'none';
10125
9769
  type RevenueRecordType = 'pending' | 'sales' | 'refund';
10126
9770
  }
@@ -10133,6 +9777,7 @@ declare namespace io.flow.billing.reporting.v0.models {
10133
9777
  readonly subtotal: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
10134
9778
  readonly tax: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
10135
9779
  readonly duty: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
9780
+ readonly tips?: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
10136
9781
  readonly discount: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
10137
9782
  readonly total: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
10138
9783
  }
@@ -10156,8 +9801,9 @@ declare namespace io.flow.billing.reporting.v0.models {
10156
9801
  readonly id: string;
10157
9802
  readonly status: io.flow.billing.reporting.v0.enums.ReportStatus;
10158
9803
  readonly type: io.flow.billing.reporting.v0.enums.ReportType;
10159
- readonly from: string;
10160
- readonly to: string;
9804
+ readonly from?: string;
9805
+ readonly to?: string;
9806
+ readonly payment_type?: io.flow.billing.reporting.v0.enums.ReportPaymentType;
10161
9807
  readonly url?: string;
10162
9808
  readonly processed_at?: string;
10163
9809
  }
@@ -10180,9 +9826,20 @@ declare namespace io.flow.billing.reporting.v0.models {
10180
9826
  }
10181
9827
 
10182
9828
  interface ReportForm {
10183
- readonly from: string;
10184
- readonly to: string;
10185
9829
  readonly type: io.flow.billing.reporting.v0.enums.ReportType;
9830
+ readonly from?: string;
9831
+ readonly to?: string;
9832
+ readonly payment_type?: io.flow.billing.reporting.v0.enums.ReportPaymentType;
9833
+ readonly orders?: io.flow.billing.reporting.v0.models.ReportOrderReference[];
9834
+ }
9835
+
9836
+ interface ReportMerchant {
9837
+ readonly id: string;
9838
+ }
9839
+
9840
+ interface ReportOrderReference {
9841
+ readonly organization_id: string;
9842
+ readonly order_number: string;
10186
9843
  }
10187
9844
 
10188
9845
  interface ReportOwner {
@@ -10250,11 +9907,11 @@ declare namespace io.flow.billing.reporting.v0.models {
10250
9907
  readonly sequence_number: number;
10251
9908
  readonly fulfilled_at: string;
10252
9909
  readonly completes_order: boolean;
10253
- readonly payment: io.flow.billing.reporting.v0.models.ReportingPayment;
10254
9910
  readonly refund?: io.flow.billing.reporting.v0.models.ReportingRefundReference;
10255
9911
  readonly value: io.flow.billing.reporting.v0.models.FulfillmentShopperBreakdown;
10256
9912
  readonly dispatch_country?: io.flow.billing.reporting.v0.models.ReportingCountry;
10257
9913
  readonly destination?: io.flow.billing.reporting.v0.models.ReportingDestination;
9914
+ readonly payment?: io.flow.billing.reporting.v0.models.ReportingPayment;
10258
9915
  readonly shipment?: io.flow.billing.reporting.v0.models.ReportingShipment;
10259
9916
  readonly is: io.flow.billing.reporting.v0.models.ReportingFulfillmentIs;
10260
9917
  readonly has: io.flow.billing.reporting.v0.models.ReportingFulfillmentHas;
@@ -10273,6 +9930,9 @@ declare namespace io.flow.billing.reporting.v0.models {
10273
9930
  readonly wyol: boolean;
10274
9931
  readonly b2b: boolean;
10275
9932
  readonly domestic: boolean;
9933
+ readonly combined_shipment?: boolean;
9934
+ readonly order_cancelled?: boolean;
9935
+ readonly lvg?: boolean;
10276
9936
  }
10277
9937
 
10278
9938
  interface ReportingFx {
@@ -10281,6 +9941,7 @@ declare namespace io.flow.billing.reporting.v0.models {
10281
9941
  readonly product: io.flow.billing.reporting.v0.models.ReportingUsd;
10282
9942
  readonly tax: io.flow.billing.reporting.v0.models.ReportingUsd;
10283
9943
  readonly duty: io.flow.billing.reporting.v0.models.ReportingUsd;
9944
+ readonly tips?: io.flow.billing.reporting.v0.models.ReportingUsd;
10284
9945
  readonly total: io.flow.billing.reporting.v0.models.ReportingUsd;
10285
9946
  }
10286
9947
 
@@ -10298,6 +9959,7 @@ declare namespace io.flow.billing.reporting.v0.models {
10298
9959
  readonly processing: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
10299
9960
  readonly rate_lock: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
10300
9961
  readonly transfer: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
9962
+ readonly total?: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
10301
9963
  }
10302
9964
 
10303
9965
  interface ReportingMerchantSubsidies {
@@ -10305,6 +9967,7 @@ declare namespace io.flow.billing.reporting.v0.models {
10305
9967
  readonly tax: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
10306
9968
  readonly duty: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
10307
9969
  readonly ccf: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
9970
+ readonly total?: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
10308
9971
  }
10309
9972
 
10310
9973
  interface ReportingMerchantTransactions {
@@ -10313,7 +9976,8 @@ declare namespace io.flow.billing.reporting.v0.models {
10313
9976
  readonly tax: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
10314
9977
  readonly duty: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
10315
9978
  readonly freight: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
10316
- readonly refund: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
9979
+ readonly discount?: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
9980
+ readonly total?: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
10317
9981
  }
10318
9982
 
10319
9983
  interface ReportingMonetaryValue {
@@ -10336,25 +10000,14 @@ declare namespace io.flow.billing.reporting.v0.models {
10336
10000
  }
10337
10001
 
10338
10002
  interface ReportingPayment {
10339
- readonly metadata?: io.flow.billing.reporting.v0.models.ReportingPaymentMetadata;
10340
10003
  readonly psp: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
10341
10004
  readonly credit: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
10005
+ readonly subsidized: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
10006
+ readonly manual: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
10007
+ readonly cod: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
10342
10008
  readonly total: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
10343
10009
  }
10344
10010
 
10345
- interface ReportingPaymentMetadata {
10346
- readonly gateway: io.flow.payment.internal.v0.enums.Processor;
10347
- readonly method: string;
10348
- readonly psp_reference?: string;
10349
- readonly authorization?: io.flow.billing.reporting.v0.models.ReportingAuthorizationReference;
10350
- readonly settlement_date: string;
10351
- readonly additional_authorizations?: io.flow.billing.reporting.v0.models.ReportingPaymentMetadataAdditionalAuthorizations;
10352
- }
10353
-
10354
- interface ReportingPaymentMetadataAdditionalAuthorizations {
10355
- readonly ids: string;
10356
- }
10357
-
10358
10011
  interface ReportingProvince {
10359
10012
  readonly code?: string;
10360
10013
  readonly name: string;
@@ -10383,6 +10036,7 @@ declare namespace io.flow.billing.reporting.v0.models {
10383
10036
  readonly ccf: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
10384
10037
  readonly emergency: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
10385
10038
  readonly peak: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
10039
+ readonly total?: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
10386
10040
  }
10387
10041
 
10388
10042
  interface ReportingUsd {
@@ -10424,6 +10078,7 @@ declare namespace io.flow.billing.reporting.v0.models {
10424
10078
  readonly payment: io.flow.billing.reporting.v0.models.ReportPayment;
10425
10079
  readonly bank_account: io.flow.billing.reporting.v0.models.ReportBankAccountCleartext;
10426
10080
  readonly account: io.flow.billing.reporting.v0.models.ReportAccount;
10081
+ readonly merchant: io.flow.billing.reporting.v0.models.ReportMerchant;
10427
10082
  readonly owner: io.flow.billing.reporting.v0.models.ReportOwner;
10428
10083
  readonly description: string;
10429
10084
  }
@@ -11408,7 +11063,6 @@ declare namespace io.flow.billing.reporting.csv.v0.models {
11408
11063
  readonly sequence_number: number;
11409
11064
  readonly fulfilled_at: string;
11410
11065
  readonly completes_order: boolean;
11411
- readonly payment: io.flow.billing.reporting.v0.models.ReportingPayment;
11412
11066
  readonly value: io.flow.billing.reporting.v0.models.FulfillmentShopperBreakdown;
11413
11067
  readonly dispatch_country?: io.flow.billing.reporting.v0.models.ReportingCountry;
11414
11068
  readonly destination: io.flow.billing.reporting.v0.models.ReportingDestination;
@@ -11518,6 +11172,37 @@ declare namespace io.flow.shopify.markets.internal.event.v0.models {
11518
11172
  readonly channel_order_summary: io.flow.shopify.markets.internal.v0.models.ChannelOrderSummary;
11519
11173
  }
11520
11174
 
11175
+ interface ChannelOrganizationIdentifierDeleted {
11176
+ readonly discriminator: 'channel_organization_identifier_deleted';
11177
+ readonly event_id: string;
11178
+ readonly timestamp: string;
11179
+ readonly channel_id: string;
11180
+ readonly id: string;
11181
+ }
11182
+
11183
+ interface ChannelOrganizationIdentifierUpserted {
11184
+ readonly discriminator: 'channel_organization_identifier_upserted';
11185
+ readonly event_id: string;
11186
+ readonly timestamp: string;
11187
+ readonly channel_id: string;
11188
+ readonly channel_organization_identifier: io.flow.shopify.markets.internal.v0.models.ChannelOrganizationIdentifier;
11189
+ }
11190
+
11191
+ interface OrderTaxAndDutyInclusivitySettingDeleted {
11192
+ readonly discriminator: 'order_tax_and_duty_inclusivity_setting_deleted';
11193
+ readonly event_id: string;
11194
+ readonly timestamp: string;
11195
+ readonly organization: string;
11196
+ readonly id: string;
11197
+ }
11198
+
11199
+ interface OrderTaxAndDutyInclusivitySettingUpserted {
11200
+ readonly discriminator: 'order_tax_and_duty_inclusivity_setting_upserted';
11201
+ readonly event_id: string;
11202
+ readonly timestamp: string;
11203
+ readonly order_tax_and_duty_inclusivity_setting: io.flow.shopify.markets.internal.v0.models.OrderTaxAndDutyInclusivitySetting;
11204
+ }
11205
+
11521
11206
  interface ShopifyMarketsMetricsDeleted {
11522
11207
  readonly discriminator: 'shopify_markets_metrics_deleted';
11523
11208
  readonly event_id: string;
@@ -11615,7 +11300,11 @@ declare namespace io.flow.shopify.markets.internal.event.v0.unions {
11615
11300
  | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsMetricsUpserted
11616
11301
  | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsMetricsDeleted
11617
11302
  | io.flow.shopify.markets.internal.event.v0.models.ChannelOrderSummaryUpserted
11618
- | io.flow.shopify.markets.internal.event.v0.models.ChannelOrderSummaryDeleted;
11303
+ | io.flow.shopify.markets.internal.event.v0.models.ChannelOrderSummaryDeleted
11304
+ | io.flow.shopify.markets.internal.event.v0.models.ChannelOrganizationIdentifierUpserted
11305
+ | io.flow.shopify.markets.internal.event.v0.models.ChannelOrganizationIdentifierDeleted
11306
+ | io.flow.shopify.markets.internal.event.v0.models.OrderTaxAndDutyInclusivitySettingUpserted
11307
+ | io.flow.shopify.markets.internal.event.v0.models.OrderTaxAndDutyInclusivitySettingDeleted;
11619
11308
  }
11620
11309
 
11621
11310
  declare namespace io.flow.experience.v0.enums {
@@ -13855,7 +13544,13 @@ declare namespace io.flow.trueup.v0.enums {
13855
13544
  | 'security'
13856
13545
  | 'eei_filing'
13857
13546
  | 'fixed_ddp'
13858
- | 'fixed_currency_conversion';
13547
+ | 'fixed_currency_conversion'
13548
+ | 'prohibited_item'
13549
+ | 'undeliverable_shipment'
13550
+ | 'signature_required'
13551
+ | 'direct_delivery'
13552
+ | 'saturday_stop'
13553
+ | 'residential_extended_area_pickup';
13859
13554
  }
13860
13555
 
13861
13556
  declare namespace io.flow.trueup.v0.models {
@@ -15097,7 +14792,10 @@ declare namespace io.flow.item.v0.models {
15097
14792
  }
15098
14793
 
15099
14794
  declare namespace io.flow.billing.internal.v0.enums {
15100
- type AccountPaymentHoldReason = 'fraudulent' | 'invalid_bank_account';
14795
+ type AccountPaymentHoldReason =
14796
+ | 'fraudulent'
14797
+ | 'frozen'
14798
+ | 'invalid_bank_account';
15101
14799
  type AccountSettingLiabilitiesMethod = 'withholding' | 'transaction';
15102
14800
  type AccountType = 'channel' | 'organization';
15103
14801
  type AdjustmentTransactionType = 'adjustment' | 'reversal';
@@ -15147,7 +14845,6 @@ declare namespace io.flow.billing.internal.v0.enums {
15147
14845
  | 'duty'
15148
14846
  | 'trueup'
15149
14847
  | 'carrier_charge'
15150
- | 'carrier_fee'
15151
14848
  | 'all';
15152
14849
  type BillingTransactionStatus = 'pending_proof' | 'posted';
15153
14850
  type BillingTransactionType =
@@ -15172,14 +14869,12 @@ declare namespace io.flow.billing.internal.v0.enums {
15172
14869
  | 'tax'
15173
14870
  | 'duty'
15174
14871
  | 'trueup'
15175
- | 'carrier_charge'
15176
- | 'carrier_fee';
14872
+ | 'carrier_charge';
15177
14873
  type CarrierChargeTransactionType =
15178
14874
  | 'adjustment'
15179
14875
  | 'reversal'
15180
14876
  | 'charge'
15181
14877
  | 'revenue_share';
15182
- type CarrierFeeTransactionType = 'adjustment' | 'reversal' | 'fee';
15183
14878
  type ChannelBilledTransactionType =
15184
14879
  | 'adjustment'
15185
14880
  | 'reversal'
@@ -15196,10 +14891,8 @@ declare namespace io.flow.billing.internal.v0.enums {
15196
14891
  | 'revenue_share';
15197
14892
  type ManualTransactionCategory =
15198
14893
  | 'cancelled_order_refund'
15199
- | 'channel_partner_initiated'
15200
14894
  | 'client_accepted_chargeback'
15201
14895
  | 'fee_reimbursement'
15202
- | 'partial_refund'
15203
14896
  | 'platform_fee'
15204
14897
  | 'shipping_true_up'
15205
14898
  | 'tax_credit'
@@ -15317,6 +15010,7 @@ declare namespace io.flow.billing.internal.v0.models {
15317
15010
  readonly liabilities_method: io.flow.billing.internal.v0.enums.AccountSettingLiabilitiesMethod;
15318
15011
  readonly enable_fee_reversals: boolean;
15319
15012
  readonly record_reason_for_transactions_pending_payout: boolean;
15013
+ readonly enable_negative_debits: boolean;
15320
15014
  }
15321
15015
 
15322
15016
  interface AccountSource {
@@ -15397,6 +15091,16 @@ declare namespace io.flow.billing.internal.v0.models {
15397
15091
  readonly attributes?: Record<string, string>;
15398
15092
  }
15399
15093
 
15094
+ interface BankPaymentOrder {
15095
+ readonly id: string;
15096
+ readonly payment: io.flow.billing.internal.v0.models.BankPaymentReference;
15097
+ readonly order: io.flow.billing.internal.v0.models.BillingOrderTransactionOrderReference;
15098
+ }
15099
+
15100
+ interface BankPaymentReference {
15101
+ readonly id: string;
15102
+ }
15103
+
15400
15104
  interface BankPaymentStatusForm {
15401
15105
  readonly code: io.flow.billing.internal.v0.enums.BankPaymentStatusCode;
15402
15106
  readonly failure_reason?: io.flow.billing.v0.enums.PayoutStatusFailureCode;
@@ -15541,7 +15245,6 @@ declare namespace io.flow.billing.internal.v0.models {
15541
15245
  readonly duty: io.flow.common.v0.models.Price;
15542
15246
  readonly trueup: io.flow.common.v0.models.Price;
15543
15247
  readonly carrier_charge: io.flow.common.v0.models.Price;
15544
- readonly carrier_fee: io.flow.common.v0.models.Price;
15545
15248
  readonly ending_balance: io.flow.common.v0.models.Price;
15546
15249
  }
15547
15250
 
@@ -15575,23 +15278,6 @@ declare namespace io.flow.billing.internal.v0.models {
15575
15278
  readonly created_at: string;
15576
15279
  }
15577
15280
 
15578
- interface CarrierFeeTransaction {
15579
- readonly discriminator: 'carrier_fee_transaction';
15580
- readonly label_reference: io.flow.billing.internal.v0.models.CarrierFeeTransactionLabelReference;
15581
- readonly id: string;
15582
- readonly type: io.flow.billing.internal.v0.enums.BillingTransactionType;
15583
- readonly status: io.flow.billing.internal.v0.enums.BillingTransactionStatus;
15584
- readonly posted_at?: string;
15585
- readonly value: io.flow.common.v0.models.Price;
15586
- readonly description: string;
15587
- readonly statement?: io.flow.billing.internal.v0.models.BillingStatementReference;
15588
- readonly created_at: string;
15589
- }
15590
-
15591
- interface CarrierFeeTransactionLabelReference {
15592
- readonly id: string;
15593
- }
15594
-
15595
15281
  interface ChannelAccount {
15596
15282
  readonly channel: io.flow.common.v0.models.ChannelReference;
15597
15283
  readonly id: string;
@@ -15692,6 +15378,17 @@ declare namespace io.flow.billing.internal.v0.models {
15692
15378
  readonly timestamp: string;
15693
15379
  }
15694
15380
 
15381
+ interface CliLogEntry {
15382
+ readonly id: string;
15383
+ readonly user: io.flow.common.v0.models.UserReference;
15384
+ readonly task: string;
15385
+ }
15386
+
15387
+ interface CliLogEntryForm {
15388
+ readonly user_id: string;
15389
+ readonly task: string;
15390
+ }
15391
+
15695
15392
  interface Components {
15696
15393
  readonly vat: io.flow.common.v0.models.Price;
15697
15394
  readonly duty: io.flow.common.v0.models.Price;
@@ -16365,8 +16062,7 @@ declare namespace io.flow.billing.internal.v0.unions {
16365
16062
  | io.flow.billing.internal.v0.models.TaxTransaction
16366
16063
  | io.flow.billing.internal.v0.models.DutyTransaction
16367
16064
  | io.flow.billing.internal.v0.models.TrueupTransaction
16368
- | io.flow.billing.internal.v0.models.CarrierChargeTransaction
16369
- | io.flow.billing.internal.v0.models.CarrierFeeTransaction;
16065
+ | io.flow.billing.internal.v0.models.CarrierChargeTransaction;
16370
16066
  }
16371
16067
 
16372
16068
  declare namespace io.flow.billing.v0.enums {
@@ -16402,9 +16098,10 @@ declare namespace io.flow.billing.v0.enums {
16402
16098
  | 'shipping_label_service'
16403
16099
  | 'shipping_label_revenue_share'
16404
16100
  | 'trueup'
16101
+ | 'trueup_base'
16102
+ | 'trueup_surcharge'
16405
16103
  | 'carrier_charge'
16406
16104
  | 'carrier_charge_revenue_share'
16407
- | 'carrier_fee'
16408
16105
  | 'platform_fee'
16409
16106
  | 'tax'
16410
16107
  | 'duty'
@@ -16415,8 +16112,9 @@ declare namespace io.flow.billing.v0.enums {
16415
16112
  | 'channel_billed'
16416
16113
  | 'order_service'
16417
16114
  | 'virtual_card_capture'
16418
- | 'virtual_card_refund';
16419
- type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl';
16115
+ | 'virtual_card_refund'
16116
+ | 'failed_payout';
16117
+ type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl' | 'ups';
16420
16118
  type WithholdingDeductionType = 'tax' | 'duty' | 'freight' | 'insurance';
16421
16119
  }
16422
16120
 
@@ -16708,21 +16406,11 @@ declare namespace io.flow.billing.v0.models {
16708
16406
  readonly outbound?: io.flow.billing.v0.models.TransactionMetadataOutboundTransaction;
16709
16407
  }
16710
16408
 
16711
- interface TransactionMetadataCarrierFee {
16712
- readonly discriminator: 'carrier_fee';
16713
- readonly outbound: io.flow.billing.v0.models.TransactionMetadataOutboundTransaction;
16714
- readonly estimate: io.flow.billing.v0.models.TransactionMetadataCarrierFeeData;
16715
- readonly actual: io.flow.billing.v0.models.TransactionMetadataCarrierFeeData;
16716
- }
16717
-
16718
- interface TransactionMetadataCarrierFeeData {
16719
- readonly surcharges: io.flow.billing.v0.models.TrueupLabelSurcharge[];
16720
- }
16721
-
16722
16409
  interface TransactionMetadataChannel {
16723
16410
  readonly discriminator: 'channel';
16724
16411
  readonly method: string;
16725
16412
  readonly card?: io.flow.billing.v0.models.TransactionMetadataChannelCardMetadata;
16413
+ readonly organization_transaction: io.flow.billing.v0.models.TransactionMetadataChannelOrganizationTransaction;
16726
16414
  }
16727
16415
 
16728
16416
  interface TransactionMetadataChannelCardMetadata {
@@ -16735,6 +16423,20 @@ declare namespace io.flow.billing.v0.models {
16735
16423
  readonly country: string;
16736
16424
  }
16737
16425
 
16426
+ interface TransactionMetadataChannelOrganizationTransaction {
16427
+ readonly id: string;
16428
+ readonly metadata: io.flow.billing.v0.models.TransactionMetadataPaymentTransaction;
16429
+ }
16430
+
16431
+ interface TransactionMetadataFailedPayout {
16432
+ readonly discriminator: 'failed_payout';
16433
+ readonly failed_payout: io.flow.billing.v0.models.TransactionMetadataFailedPayoutReference;
16434
+ }
16435
+
16436
+ interface TransactionMetadataFailedPayoutReference {
16437
+ readonly id: string;
16438
+ }
16439
+
16738
16440
  interface TransactionMetadataManual {
16739
16441
  readonly discriminator: 'manual';
16740
16442
  readonly description: string;
@@ -16752,6 +16454,7 @@ declare namespace io.flow.billing.v0.models {
16752
16454
 
16753
16455
  interface TransactionMetadataPaymentTransaction {
16754
16456
  readonly discriminator: 'payment_transaction';
16457
+ readonly id?: string;
16755
16458
  readonly key?: string;
16756
16459
  }
16757
16460
 
@@ -16774,6 +16477,22 @@ declare namespace io.flow.billing.v0.models {
16774
16477
  readonly actual: io.flow.billing.v0.models.TransactionMetadataTrueupData;
16775
16478
  }
16776
16479
 
16480
+ interface TransactionMetadataTrueupBase {
16481
+ readonly discriminator: 'trueup_base';
16482
+ readonly original: io.flow.billing.v0.models.TransactionMetadataOriginalTransaction;
16483
+ readonly estimate: io.flow.billing.v0.models.TransactionMetadataTrueupBaseData;
16484
+ readonly actual: io.flow.billing.v0.models.TransactionMetadataTrueupBaseData;
16485
+ }
16486
+
16487
+ interface TransactionMetadataTrueupBaseData {
16488
+ readonly source: io.flow.billing.v0.enums.TrueupSource;
16489
+ readonly weights: io.flow.billing.v0.models.TrueupLabelWeights;
16490
+ readonly units: io.flow.billing.v0.models.TrueupLabelUnits;
16491
+ readonly base: io.flow.billing.v0.models.TrueupLabelBaseV2;
16492
+ readonly fuel?: io.flow.billing.v0.models.TrueupLabelFuel;
16493
+ readonly total: number;
16494
+ }
16495
+
16777
16496
  interface TransactionMetadataTrueupData {
16778
16497
  readonly source: io.flow.billing.v0.enums.TrueupSource;
16779
16498
  readonly units: io.flow.billing.v0.models.TrueupLabelUnits;
@@ -16784,6 +16503,18 @@ declare namespace io.flow.billing.v0.models {
16784
16503
  readonly dimensional?: io.flow.trueup.v0.models.DimensionalWeight;
16785
16504
  }
16786
16505
 
16506
+ interface TransactionMetadataTrueupSurcharge {
16507
+ readonly discriminator: 'trueup_surcharge';
16508
+ readonly original: io.flow.billing.v0.models.TransactionMetadataOriginalTransaction;
16509
+ readonly estimate: io.flow.billing.v0.models.TransactionMetadataTrueupSurchargeData;
16510
+ readonly actual: io.flow.billing.v0.models.TransactionMetadataTrueupSurchargeData;
16511
+ }
16512
+
16513
+ interface TransactionMetadataTrueupSurchargeData {
16514
+ readonly source: io.flow.billing.v0.enums.TrueupSource;
16515
+ readonly surcharge: io.flow.billing.v0.models.TrueupLabelSurcharge;
16516
+ }
16517
+
16787
16518
  interface TransactionReference {
16788
16519
  readonly id: string;
16789
16520
  }
@@ -16793,6 +16524,20 @@ declare namespace io.flow.billing.v0.models {
16793
16524
  readonly weight: number;
16794
16525
  }
16795
16526
 
16527
+ interface TrueupLabelBaseV2 {
16528
+ readonly amount: number;
16529
+ }
16530
+
16531
+ interface TrueupLabelBaseWeight {
16532
+ readonly weight: number;
16533
+ }
16534
+
16535
+ interface TrueupLabelFuel {
16536
+ readonly amount: number;
16537
+ readonly percentage?: number;
16538
+ readonly per_weight_unit?: number;
16539
+ }
16540
+
16796
16541
  interface TrueupLabelSurcharge {
16797
16542
  readonly amount: number;
16798
16543
  readonly type: io.flow.trueup.v0.enums.TrueupSurchargeType;
@@ -16805,6 +16550,12 @@ declare namespace io.flow.billing.v0.models {
16805
16550
  readonly length?: io.flow.units.v0.enums.UnitOfLength;
16806
16551
  }
16807
16552
 
16553
+ interface TrueupLabelWeights {
16554
+ readonly base: io.flow.billing.v0.models.TrueupLabelBaseWeight;
16555
+ readonly dead?: io.flow.trueup.v0.models.DeadWeight;
16556
+ readonly dimensional?: io.flow.trueup.v0.models.DimensionalWeight;
16557
+ }
16558
+
16808
16559
  interface WithholdingDeduction {
16809
16560
  readonly type: io.flow.billing.v0.enums.WithholdingDeductionType;
16810
16561
  readonly amount: number;
@@ -16827,9 +16578,11 @@ declare namespace io.flow.billing.v0.unions {
16827
16578
  | io.flow.billing.v0.models.TransactionMetadataShippingLabel
16828
16579
  | io.flow.billing.v0.models.TransactionMetadataChannel
16829
16580
  | io.flow.billing.v0.models.TransactionMetadataTrueup
16581
+ | io.flow.billing.v0.models.TransactionMetadataTrueupBase
16582
+ | io.flow.billing.v0.models.TransactionMetadataTrueupSurcharge
16830
16583
  | io.flow.billing.v0.models.TransactionMetadataCarrierCharge
16831
- | io.flow.billing.v0.models.TransactionMetadataCarrierFee
16832
16584
  | io.flow.billing.v0.models.TransactionMetadataManual
16585
+ | io.flow.billing.v0.models.TransactionMetadataFailedPayout
16833
16586
  | io.flow.billing.v0.models.TransactionMetadataPaymentTransaction;
16834
16587
  }
16835
16588
 
@@ -18139,7 +17892,8 @@ declare namespace io.flow.organization.onboarding.state.v0.enums {
18139
17892
  | 'business_street_address_is_blank'
18140
17893
  | 'business_street_address_is_po_box'
18141
17894
  | 'exception_merchant'
18142
- | 'application_missing';
17895
+ | 'application_missing'
17896
+ | 'missing_logistics_contact_info';
18143
17897
  }
18144
17898
 
18145
17899
  declare namespace io.flow.organization.onboarding.state.v0.models {
@@ -18199,6 +17953,11 @@ declare namespace io.flow.organization.onboarding.state.v0.models {
18199
17953
  readonly onboarding_started_at?: string;
18200
17954
  }
18201
17955
 
17956
+ interface RejectionPutForm {
17957
+ readonly reason: io.flow.organization.onboarding.state.v0.enums.MerchantRejectedReason;
17958
+ readonly description: string;
17959
+ }
17960
+
18202
17961
  interface SetupBlocked {
18203
17962
  readonly discriminator: 'setup_blocked';
18204
17963
  readonly reasons: io.flow.organization.onboarding.state.v0.enums.OnboardingBlockedReason[];
@@ -18599,8 +18358,212 @@ declare namespace io.flow.billing.bank.account.v0.unions {
18599
18358
  | io.flow.billing.bank.account.v0.models.BankAccountInfoIta;
18600
18359
  }
18601
18360
 
18361
+ declare namespace io.flow.experiment.internal.v0.enums {
18362
+ type ExperimentDiscriminatorKey = 'experience' | 'feature';
18363
+ type Scope = 'organization' | 'global';
18364
+ type SignificanceAction =
18365
+ | 'end_and_implement_winner'
18366
+ | 'end_and_revert'
18367
+ | 'do_nothing';
18368
+ type Status = 'draft' | 'scheduled' | 'live' | 'ended' | 'archived';
18369
+ type TimeseriesType = 'daily' | 'weekly' | 'monthly' | 'yearly';
18370
+ }
18371
+
18372
+ declare namespace io.flow.experiment.internal.v0.models {
18373
+ interface DailyExperimentResults {
18374
+ readonly id: string;
18375
+ readonly day: string;
18376
+ readonly experiment_key: string;
18377
+ readonly experiment_variant_key: string;
18378
+ readonly visitor_count: number;
18379
+ readonly visitors_with_transactions_count: number;
18380
+ readonly conversion_rate: number;
18381
+ readonly lower_bound: number;
18382
+ readonly upper_bound: number;
18383
+ readonly probability_of_being_best?: number;
18384
+ readonly currency?: string;
18385
+ readonly average_order_value?: number;
18386
+ readonly revenue_generated?: number;
18387
+ readonly total_order_count?: number;
18388
+ readonly conversion_rate_uplift?: number;
18389
+ readonly average_order_value_uplift?: number;
18390
+ readonly revenue_generated_uplift?: number;
18391
+ }
18392
+
18393
+ interface ExperienceExperiment {
18394
+ readonly discriminator: 'experience';
18395
+ readonly id: string;
18396
+ readonly key: string;
18397
+ readonly name: string;
18398
+ readonly description?: string;
18399
+ readonly status: io.flow.experiment.internal.v0.enums.Status;
18400
+ readonly emails: string[];
18401
+ readonly started_at?: string;
18402
+ readonly ended_at?: string;
18403
+ readonly variants: io.flow.experiment.internal.v0.models.ExperienceVariant[];
18404
+ readonly transitions?: io.flow.experiment.internal.v0.enums.Status[];
18405
+ readonly significance_action?: io.flow.experiment.internal.v0.enums.SignificanceAction;
18406
+ }
18407
+
18408
+ interface ExperienceVariant {
18409
+ readonly discriminator: 'experience_variant';
18410
+ readonly experience: io.flow.experiment.internal.v0.models.ExperienceVariantSummary;
18411
+ readonly traffic_percentage: number;
18412
+ readonly experiment_results?: io.flow.experiment.internal.v0.models.ExperimentResults;
18413
+ }
18414
+
18415
+ interface ExperienceVariantForm {
18416
+ readonly discriminator: 'experience';
18417
+ readonly key: string;
18418
+ readonly traffic_percentage: number;
18419
+ }
18420
+
18421
+ interface ExperienceVariantSummary {
18422
+ readonly key: string;
18423
+ readonly name?: string;
18424
+ }
18425
+
18426
+ interface ExperimentForm {
18427
+ readonly name: string;
18428
+ readonly description?: string;
18429
+ readonly emails: string[];
18430
+ readonly variants: io.flow.experiment.internal.v0.unions.VariantForm[];
18431
+ readonly significance_action?: io.flow.experiment.internal.v0.enums.SignificanceAction;
18432
+ readonly session_query?: string;
18433
+ }
18434
+
18435
+ interface ExperimentFormDefault {
18436
+ readonly discriminator: io.flow.experiment.internal.v0.models.ExperimentFormDefaultDiscriminator;
18437
+ readonly variants?: io.flow.experiment.internal.v0.models.ExperimentFormDefaultVariant[];
18438
+ }
18439
+
18440
+ interface ExperimentFormDefaultDiscriminator {
18441
+ readonly key: io.flow.experiment.internal.v0.enums.ExperimentDiscriminatorKey;
18442
+ readonly values: io.flow.experiment.internal.v0.models.ExperimentFormDefaultDiscriminatorValue[];
18443
+ }
18444
+
18445
+ interface ExperimentFormDefaultDiscriminatorValue {
18446
+ readonly key: string;
18447
+ readonly name: string;
18448
+ readonly scope: io.flow.experiment.internal.v0.enums.Scope;
18449
+ }
18450
+
18451
+ interface ExperimentFormDefaultVariant {
18452
+ readonly key: string;
18453
+ readonly name: string;
18454
+ readonly traffic_percentage?: number;
18455
+ }
18456
+
18457
+ interface ExperimentMilestone {
18458
+ readonly id: string;
18459
+ readonly experiment: io.flow.experiment.internal.v0.models.ExperimentReference;
18460
+ readonly timestamp: string;
18461
+ readonly description: string;
18462
+ }
18463
+
18464
+ interface ExperimentMilestoneForm {
18465
+ readonly timestamp?: string;
18466
+ readonly description: string;
18467
+ }
18468
+
18469
+ interface ExperimentReference {
18470
+ readonly key: string;
18471
+ }
18472
+
18473
+ interface ExperimentResults {
18474
+ readonly id: string;
18475
+ readonly experiment_key: string;
18476
+ readonly experiment_variant_key: string;
18477
+ readonly visitor_count: number;
18478
+ readonly visitors_with_transactions_count: number;
18479
+ readonly conversion_rate: number;
18480
+ readonly lower_bound: number;
18481
+ readonly upper_bound: number;
18482
+ readonly probability_of_being_best?: number;
18483
+ readonly currency?: string;
18484
+ readonly average_order_value?: number;
18485
+ readonly revenue_generated?: number;
18486
+ readonly total_order_count?: number;
18487
+ readonly conversion_rate_uplift?: number;
18488
+ readonly average_order_value_uplift?: number;
18489
+ readonly revenue_generated_uplift?: number;
18490
+ }
18491
+
18492
+ interface ExperimentResultsWithTimestamp {
18493
+ readonly timestamp: string;
18494
+ readonly results: io.flow.experiment.internal.v0.models.ExperimentResults[];
18495
+ }
18496
+
18497
+ interface ExperimentSessionQueryForm {
18498
+ readonly session_query?: string;
18499
+ }
18500
+
18501
+ interface ExperimentVersion {
18502
+ readonly id: string;
18503
+ readonly timestamp: string;
18504
+ readonly type: io.flow.common.v0.enums.ChangeType;
18505
+ readonly experiment: io.flow.experiment.internal.v0.unions.Experiment;
18506
+ }
18507
+
18508
+ interface FeatureExperiment {
18509
+ readonly discriminator: 'feature';
18510
+ readonly id: string;
18511
+ readonly key: string;
18512
+ readonly name: string;
18513
+ readonly description?: string;
18514
+ readonly status: io.flow.experiment.internal.v0.enums.Status;
18515
+ readonly emails: string[];
18516
+ readonly scope: io.flow.experiment.internal.v0.enums.Scope;
18517
+ readonly started_at?: string;
18518
+ readonly ended_at?: string;
18519
+ readonly variants: io.flow.experiment.internal.v0.models.FeatureVariant[];
18520
+ readonly transitions?: io.flow.experiment.internal.v0.enums.Status[];
18521
+ readonly significance_action?: io.flow.experiment.internal.v0.enums.SignificanceAction;
18522
+ readonly session_query?: string;
18523
+ }
18524
+
18525
+ interface FeatureValueReference {
18526
+ readonly feature_key: string;
18527
+ readonly value: string;
18528
+ }
18529
+
18530
+ interface FeatureVariant {
18531
+ readonly discriminator: 'feature_variant';
18532
+ readonly value: io.flow.experiment.internal.v0.models.FeatureVariantSummary;
18533
+ readonly traffic_percentage: number;
18534
+ readonly experiment_results?: io.flow.experiment.internal.v0.models.ExperimentResults;
18535
+ }
18536
+
18537
+ interface FeatureVariantForm {
18538
+ readonly discriminator: 'feature';
18539
+ readonly key: string;
18540
+ readonly traffic_percentage: number;
18541
+ }
18542
+
18543
+ interface FeatureVariantSummary {
18544
+ readonly key: string;
18545
+ readonly feature_value: io.flow.experiment.internal.v0.models.FeatureValueReference;
18546
+ readonly name?: string;
18547
+ }
18548
+ }
18549
+
18550
+ declare namespace io.flow.experiment.internal.v0.unions {
18551
+ type Experiment =
18552
+ | io.flow.experiment.internal.v0.models.ExperienceExperiment
18553
+ | io.flow.experiment.internal.v0.models.FeatureExperiment;
18554
+ type Variant =
18555
+ | io.flow.experiment.internal.v0.models.ExperienceVariant
18556
+ | io.flow.experiment.internal.v0.models.FeatureVariant;
18557
+ type VariantForm =
18558
+ | io.flow.experiment.internal.v0.models.ExperienceVariantForm
18559
+ | io.flow.experiment.internal.v0.models.FeatureVariantForm;
18560
+ }
18561
+
18602
18562
  declare namespace io.flow.internal.v0.enums {
18603
- type AccountPaymentHoldReason = 'fraudulent' | 'invalid_bank_account';
18563
+ type AccountPaymentHoldReason =
18564
+ | 'fraudulent'
18565
+ | 'frozen'
18566
+ | 'invalid_bank_account';
18604
18567
  type AccountSettingLiabilitiesMethod = 'withholding' | 'transaction';
18605
18568
  type AccountType = 'channel' | 'organization';
18606
18569
  type AddressConfigurationSettingProvinceCode = 'iso_3166_2' | 'name';
@@ -18653,16 +18616,19 @@ declare namespace io.flow.internal.v0.enums {
18653
18616
  | 'adjustment_transactions_count'
18654
18617
  | 'adjustment_transactions_total'
18655
18618
  | 'capture_transactions_count'
18619
+ | 'capture_transactions_reconcile_payments_count'
18656
18620
  | 'capture_transactions_ignored_fraud_count'
18657
18621
  | 'capture_transactions_ignored_fully_refunded_count'
18658
18622
  | 'capture_transactions_ignored_other_count'
18659
18623
  | 'capture_transactions_ignored_previously_processed_count'
18624
+ | 'capture_transactions_succeeded_then_failed_count'
18625
+ | 'capture_transactions_succeeded_then_failed_total'
18626
+ | 'capture_transactions_succeeded_then_failed_same_day_count'
18627
+ | 'capture_transactions_succeeded_then_failed_same_day_total'
18660
18628
  | 'capture_queued_count'
18661
18629
  | 'capture_transactions_total'
18662
18630
  | 'carrier_charge_transactions_count'
18663
18631
  | 'carrier_charge_transactions_total'
18664
- | 'carrier_fee_transactions_count'
18665
- | 'carrier_fee_transactions_total'
18666
18632
  | 'channel_transactions_processing_count'
18667
18633
  | 'channel_transactions_processing_total'
18668
18634
  | 'channel_transactions_adjustment_count'
@@ -18673,6 +18639,7 @@ declare namespace io.flow.internal.v0.enums {
18673
18639
  | 'channel_billed_transactions_total'
18674
18640
  | 'credit_payment_transactions_count'
18675
18641
  | 'credit_payment_transactions_total'
18642
+ | 'duty_to_labels_ratio'
18676
18643
  | 'duty_transactions_count'
18677
18644
  | 'duty_transactions_total'
18678
18645
  | 'fully_subsidized_order_transactions_count'
@@ -18690,6 +18657,7 @@ declare namespace io.flow.internal.v0.enums {
18690
18657
  | 'order_transactions_count'
18691
18658
  | 'order_transactions_total'
18692
18659
  | 'refund_transactions_count'
18660
+ | 'refund_transactions_reconcile_payments_count'
18693
18661
  | 'refund_transactions_ignored_fraud_count'
18694
18662
  | 'refund_transactions_ignored_fully_refunded_count'
18695
18663
  | 'refund_transactions_ignored_other_count'
@@ -18698,6 +18666,8 @@ declare namespace io.flow.internal.v0.enums {
18698
18666
  | 'refund_transactions_total'
18699
18667
  | 'refund_transactions_succeeded_then_failed_count'
18700
18668
  | 'refund_transactions_succeeded_then_failed_total'
18669
+ | 'refund_transactions_succeeded_then_failed_same_day_count'
18670
+ | 'refund_transactions_succeeded_then_failed_same_day_total'
18701
18671
  | 'reversal_order_cancellations_transactions_count'
18702
18672
  | 'reversal_order_cancellations_transactions_total'
18703
18673
  | 'reversal_external_fulfillment_transactions_count'
@@ -18706,6 +18676,7 @@ declare namespace io.flow.internal.v0.enums {
18706
18676
  | 'reversal_other_transactions_total'
18707
18677
  | 'reversal_all_transactions_count'
18708
18678
  | 'reversal_all_transactions_total'
18679
+ | 'tax_to_labels_ratio'
18709
18680
  | 'tax_transactions_count'
18710
18681
  | 'tax_transactions_total'
18711
18682
  | 'transfer_transactions_count'
@@ -18757,9 +18728,8 @@ declare namespace io.flow.internal.v0.enums {
18757
18728
  | 'accounts_with_final_statements_count'
18758
18729
  | 'accounts_with_final_statements_pending_transaction_count'
18759
18730
  | 'accounts_with_final_statements_pending_transaction_total'
18760
- | 'orders_wyol_then_label_count'
18761
- | 'orders_wyol_then_label_tax_subsidized_total'
18762
- | 'orders_wyol_then_label_duty_subsidized_total';
18731
+ | 'edited_order_tax_amount_exceeding_transaction'
18732
+ | 'edited_order_duty_amount_exceeding_transaction';
18763
18733
  type BillingStatementAttachmentKey =
18764
18734
  | 'invoice'
18765
18735
  | 'statement'
@@ -18777,7 +18747,6 @@ declare namespace io.flow.internal.v0.enums {
18777
18747
  | 'duty'
18778
18748
  | 'trueup'
18779
18749
  | 'carrier_charge'
18780
- | 'carrier_fee'
18781
18750
  | 'all';
18782
18751
  type BillingTransactionStatus = 'pending_proof' | 'posted';
18783
18752
  type BillingTransactionType =
@@ -18802,8 +18771,7 @@ declare namespace io.flow.internal.v0.enums {
18802
18771
  | 'tax'
18803
18772
  | 'duty'
18804
18773
  | 'trueup'
18805
- | 'carrier_charge'
18806
- | 'carrier_fee';
18774
+ | 'carrier_charge';
18807
18775
  type BrowserBundleErrorCode = 'generic_error' | 'country_invalid';
18808
18776
  type CalculatorEngine =
18809
18777
  | 'flow_rate_and_rule'
@@ -18817,9 +18785,8 @@ declare namespace io.flow.internal.v0.enums {
18817
18785
  | 'reversal'
18818
18786
  | 'charge'
18819
18787
  | 'revenue_share';
18820
- type CarrierChargeType = 'label' | 'other';
18821
- type CarrierFeeTransactionType = 'adjustment' | 'reversal' | 'fee';
18822
- type CarrierFileType = 'charge' | 'fee';
18788
+ type CarrierChargeType = 'label' | 'tax' | 'other';
18789
+ type CarrierFileType = 'freight' | 'tax';
18823
18790
  type CarrierLabelGenerationMethod = 'direct' | 'easypost';
18824
18791
  type CarrierValidationStatus = 'success' | 'error';
18825
18792
  type CatalogImportType =
@@ -18857,7 +18824,8 @@ declare namespace io.flow.internal.v0.enums {
18857
18824
  | 'unsupported_subsidized_order'
18858
18825
  | 'unsupported_virtual_goods'
18859
18826
  | 'non_matching_currencies'
18860
- | 'unsupported_order_edit';
18827
+ | 'unsupported_order_edit'
18828
+ | 'order_missing';
18861
18829
  type ChannelOrderAcceptanceStatus =
18862
18830
  | 'accepted'
18863
18831
  | 'rejected'
@@ -18886,7 +18854,9 @@ declare namespace io.flow.internal.v0.enums {
18886
18854
  | 'customs_clearance_surcharge'
18887
18855
  | 'security_surcharge'
18888
18856
  | 'duties_fx_surcharge'
18889
- | 'electronic_export_information_surcharge';
18857
+ | 'electronic_export_information_surcharge'
18858
+ | 'additional_handling'
18859
+ | 'large_package_surcharge';
18890
18860
  type ChargebackPaymentStatus = 'captured' | 'refunded';
18891
18861
  type ChargebackProcessStatus = 'inquiry' | 'open' | 'closed';
18892
18862
  type CheckoutAssetType = 'stylesheet' | 'javascript';
@@ -18909,8 +18879,18 @@ declare namespace io.flow.internal.v0.enums {
18909
18879
  | 'continue_shopping'
18910
18880
  | 'confirmation'
18911
18881
  | 'invalid_checkout';
18882
+ type ClassificationDecision = 'Accept' | 'Reject';
18912
18883
  type ClassificationErrorCode = 'generic_error';
18884
+ type ClassificationPlatform = 'GlobalE' | 'Flow' | 'Borderfree';
18885
+ type ClassificationType = 'None' | 'Manual' | 'ML';
18886
+ type ClothingAgeClassification =
18887
+ | 'None'
18888
+ | 'AgeKidsGeneral'
18889
+ | 'Age0_10'
18890
+ | 'Age10_13'
18891
+ | 'Age13_14';
18913
18892
  type ColmItemType = 'physical' | 'digital';
18893
+ type Company = 'globale' | 'flow';
18914
18894
  type ComplianceType = 'weee';
18915
18895
  type ContentElementType = 'markdown' | 'html' | 'plain_text' | 'href';
18916
18896
  type ContentStatus = 'draft' | 'live' | 'archived';
@@ -19019,6 +18999,8 @@ declare namespace io.flow.internal.v0.enums {
19019
18999
  | 'sales_record_deleted'
19020
19000
  | 'revenue_record_upserted'
19021
19001
  | 'revenue_record_deleted'
19002
+ | 'other_record_upserted'
19003
+ | 'other_record_deleted'
19022
19004
  | 'calculator_organization_settings_upserted'
19023
19005
  | 'calculator_organization_settings_deleted'
19024
19006
  | 'carrier_account_upserted_v2'
@@ -19081,14 +19063,6 @@ declare namespace io.flow.internal.v0.enums {
19081
19063
  | 'experience_import_request'
19082
19064
  | 'submitted_order_upserted'
19083
19065
  | 'levy_rate_summary_upserted'
19084
- | 'experiment_upserted'
19085
- | 'experiment_deleted'
19086
- | 'experiment_results_upserted'
19087
- | 'experiment_results_deleted'
19088
- | 'daily_experiment_results_upserted'
19089
- | 'daily_experiment_results_deleted'
19090
- | 'experiment_milestone_upserted'
19091
- | 'experiment_milestone_deleted'
19092
19066
  | 'export_completed'
19093
19067
  | 'export_failed'
19094
19068
  | 'feature_upserted'
@@ -19115,14 +19089,20 @@ declare namespace io.flow.internal.v0.enums {
19115
19089
  | 'label_invoice_request_deleted'
19116
19090
  | 'carrier_charge_upserted'
19117
19091
  | 'carrier_charge_deleted'
19118
- | 'carrier_fee_upserted'
19119
- | 'carrier_fee_deleted'
19092
+ | 'bank_payment_order_upserted'
19093
+ | 'bank_payment_order_deleted'
19120
19094
  | 'fraud_review_upserted'
19121
19095
  | 'fraud_review_deleted'
19122
19096
  | 'fraud_pending_review_upserted'
19123
19097
  | 'fraud_pending_review_deleted'
19124
19098
  | 'fraud_review_decision_upserted'
19125
19099
  | 'fraud_review_decision_deleted'
19100
+ | 'fraud_review_authorization_upserted'
19101
+ | 'fraud_review_authorization_deleted'
19102
+ | 'fraud_pending_review_authorization_upserted'
19103
+ | 'fraud_pending_review_authorization_deleted'
19104
+ | 'fraud_review_authorization_decision_upserted'
19105
+ | 'fraud_review_authorization_decision_deleted'
19126
19106
  | 'fraud_provider_configuration_upserted'
19127
19107
  | 'fraud_provider_configuration_deleted'
19128
19108
  | 'manual_review_rule_upserted'
@@ -19200,6 +19180,8 @@ declare namespace io.flow.internal.v0.enums {
19200
19180
  | 'organization_deactivation_deleted'
19201
19181
  | 'merchant_guid_assignment_upserted'
19202
19182
  | 'merchant_guid_assignment_deleted'
19183
+ | 'organization_metadata_upserted'
19184
+ | 'organization_metadata_deleted'
19203
19185
  | 'partner_organization_settings_upserted'
19204
19186
  | 'partner_organization_settings_deleted'
19205
19187
  | 'unassigned_merchant_guid_upserted'
@@ -19273,6 +19255,10 @@ declare namespace io.flow.internal.v0.enums {
19273
19255
  | 'shopify_markets_metrics_deleted'
19274
19256
  | 'channel_order_summary_upserted'
19275
19257
  | 'channel_order_summary_deleted'
19258
+ | 'channel_organization_identifier_upserted'
19259
+ | 'channel_organization_identifier_deleted'
19260
+ | 'order_tax_and_duty_inclusivity_setting_upserted'
19261
+ | 'order_tax_and_duty_inclusivity_setting_deleted'
19276
19262
  | 'shopify_monitoring_order_monitor_event_upserted'
19277
19263
  | 'shopify_monitoring_order_monitor_event_deleted'
19278
19264
  | 'shopify_order_fulfillments_snapshot_upserted'
@@ -19291,8 +19277,16 @@ declare namespace io.flow.internal.v0.enums {
19291
19277
  | 'svitlana_item_deleted'
19292
19278
  | 'colm_item_upserted'
19293
19279
  | 'colm_item_deleted'
19280
+ | 'harinath_item_upserted'
19281
+ | 'harinath_item_deleted'
19282
+ | 'konstantin_item_upserted'
19283
+ | 'konstantin_item_deleted'
19294
19284
  | 'matias_item_upserted'
19295
19285
  | 'matias_item_deleted'
19286
+ | 'michaelyan_item_upserted'
19287
+ | 'michaelyan_item_deleted'
19288
+ | 'miljenko_item_upserted'
19289
+ | 'miljenko_item_deleted'
19296
19290
  | 'shruti_demo_item_upserted'
19297
19291
  | 'shruti_demo_item_deleted'
19298
19292
  | 'tam_item_upserted'
@@ -19305,6 +19299,8 @@ declare namespace io.flow.internal.v0.enums {
19305
19299
  | 'tracking_label_deleted'
19306
19300
  | 'tracking_upserted'
19307
19301
  | 'tracking_deleted'
19302
+ | 'tracking_assurance_analysis_upserted'
19303
+ | 'tracking_assurance_analysis_deleted'
19308
19304
  | 'tracking_request_upserted'
19309
19305
  | 'tracking_response_upserted'
19310
19306
  | 'user_upserted_v2'
@@ -19312,7 +19308,6 @@ declare namespace io.flow.internal.v0.enums {
19312
19308
  type ExperienceImportType = 'experience_with_settings';
19313
19309
  type ExperienceOrderAction = 'submit' | 'refund_gift_cards';
19314
19310
  type ExperienceOrderActionTrigger = 'zero_balance' | 'unsubmitted_order';
19315
- type ExperimentDiscriminatorKey = 'experience' | 'feature';
19316
19311
  type ExportContentType = 'item' | 'price_book_item';
19317
19312
  type FeatureScope = 'global' | 'organization';
19318
19313
  type FeatureStatus = 'draft' | 'active' | 'archived';
@@ -19339,6 +19334,11 @@ declare namespace io.flow.internal.v0.enums {
19339
19334
  | 'inventory_to_flow';
19340
19335
  type FtpProtocol = 'sftp' | 'ftp';
19341
19336
  type GoogleAnalyticsPlugin = 'ec';
19337
+ type HarinathItemType = 'digital' | 'physical';
19338
+ type HarmonizationDecisionSource =
19339
+ | 'human'
19340
+ | 'legacy_model'
19341
+ | 'enterprise_model';
19342
19342
  type HttpMethod = 'get' | 'post';
19343
19343
  type InventoryCheckService = 'sfcc' | 'gymboree';
19344
19344
  type InventoryReservation = 'synchronous-on-submit';
@@ -19361,6 +19361,7 @@ declare namespace io.flow.internal.v0.enums {
19361
19361
  | 'fulfillment_generate_label';
19362
19362
  type ItemType = 'standard' | 'multi_product';
19363
19363
  type KeywordType = 'positive' | 'negative';
19364
+ type KonstantinItemType = 'physical' | 'digital';
19364
19365
  type LabelBillingStrategy = 'quote' | 'carrier';
19365
19366
  type LabelCancellationErrorCode = 'already_used' | 'carrier_unsupported';
19366
19367
  type LabelCreationStatus = 'success' | 'error' | 'pending' | 'cancelled';
@@ -19369,6 +19370,7 @@ declare namespace io.flow.internal.v0.enums {
19369
19370
  | 'merchant_integration'
19370
19371
  | 'shopify_integration'
19371
19372
  | 'globale_cx'
19373
+ | 'merchant_operations'
19372
19374
  | 'globale_system';
19373
19375
  type LabelTransactionType =
19374
19376
  | 'adjustment'
@@ -19382,13 +19384,15 @@ declare namespace io.flow.internal.v0.enums {
19382
19384
  | 'high_value_goods_tax'
19383
19385
  | 'duties';
19384
19386
  type LogisticsCapability = 'logistics_address_correction';
19387
+ type LogisticsPayoutResolutionMethod =
19388
+ | 'order_combined_shipment'
19389
+ | 'intransit_label_event'
19390
+ | 'shipping_notification';
19385
19391
  type ManualReviewRuleStatus = 'active' | 'archived';
19386
19392
  type ManualTransactionCategory =
19387
19393
  | 'cancelled_order_refund'
19388
- | 'channel_partner_initiated'
19389
19394
  | 'client_accepted_chargeback'
19390
19395
  | 'fee_reimbursement'
19391
- | 'partial_refund'
19392
19396
  | 'platform_fee'
19393
19397
  | 'shipping_true_up'
19394
19398
  | 'tax_credit'
@@ -19448,6 +19452,8 @@ declare namespace io.flow.internal.v0.enums {
19448
19452
  | 'facebook_country_override'
19449
19453
  | 'supplemental';
19450
19454
  type MatiasItemType = 'physical' | 'digital';
19455
+ type MichaelyanItemType = 'physical' | 'digital';
19456
+ type MiljenkoItemType = 'physical' | 'digital';
19451
19457
  type MixedBagWeight = '0' | '1' | '2';
19452
19458
  type NatureOfSale =
19453
19459
  | 'consumer'
@@ -19499,6 +19505,7 @@ declare namespace io.flow.internal.v0.enums {
19499
19505
  | 'unit_test'
19500
19506
  | 'api'
19501
19507
  | 'api_activation'
19508
+ | 'api_reject'
19502
19509
  | 'audit_auto_activation'
19503
19510
  | 'api_deactivation'
19504
19511
  | 'api_sandbox_setup'
@@ -19614,6 +19621,7 @@ declare namespace io.flow.internal.v0.enums {
19614
19621
  | 'suspicious_behavior'
19615
19622
  | 'suspicious_past_activity';
19616
19623
  type ReportInterval = 'hourly' | 'daily' | 'weekly' | 'monthly';
19624
+ type ReportPaymentType = 'credit' | 'debit';
19617
19625
  type ReportStatus =
19618
19626
  | 'created'
19619
19627
  | 'completed'
@@ -19621,10 +19629,15 @@ declare namespace io.flow.internal.v0.enums {
19621
19629
  | 'failed';
19622
19630
  type ReportType =
19623
19631
  | 'sales_record'
19632
+ | 'refund_record'
19633
+ | 'other_record'
19634
+ | 'pending_record'
19624
19635
  | 'trueup_overview'
19625
19636
  | 'non_channel_payment_bank_account'
19626
19637
  | 'scheduled_payment'
19627
- | 'account_quarterly_balances';
19638
+ | 'account_quarterly_balances'
19639
+ | 'invariants'
19640
+ | 'payments';
19628
19641
  type ReportingFulfillmentIsVirtual = 'all' | 'mixed' | 'none';
19629
19642
  type ReportingScheme =
19630
19643
  | 'immediate_reporting_to_tax_authority'
@@ -19648,7 +19661,6 @@ declare namespace io.flow.internal.v0.enums {
19648
19661
  | 'Low-Risk'
19649
19662
  | 'Restricted-Party'
19650
19663
  | 'none';
19651
- type Scope = 'organization' | 'global';
19652
19664
  type SerialReservationError =
19653
19665
  | 'duration_too_long'
19654
19666
  | 'items_not_found'
@@ -19691,7 +19703,8 @@ declare namespace io.flow.internal.v0.enums {
19691
19703
  | 'order_edit'
19692
19704
  | 'product_restriction_result'
19693
19705
  | 'product_sync'
19694
- | 'webhook_registrations';
19706
+ | 'webhook_registrations'
19707
+ | 'channel_organization_identifier';
19695
19708
  type ShopifyMarketsTradeSector =
19696
19709
  | 'apparel_and_accessories'
19697
19710
  | 'beauty_and_cosmetics'
@@ -19717,10 +19730,6 @@ declare namespace io.flow.internal.v0.enums {
19717
19730
  type ShopifyPromotionStatus = 'active' | 'inactive';
19718
19731
  type ShopifyService = 'payment' | 'duty_tax_calculator';
19719
19732
  type ShrutiDemoType = 'digital' | 'physical';
19720
- type SignificanceAction =
19721
- | 'end_and_implement_winner'
19722
- | 'end_and_revert'
19723
- | 'do_nothing';
19724
19733
  type SimpleRoundingStrategy = 'no_rounding' | 'currency_precision';
19725
19734
  type SnoozeNextActionWith = 'customer_service' | 'engineering';
19726
19735
  type SnoozeSourceType = 'task' | 'invariant';
@@ -19737,7 +19746,6 @@ declare namespace io.flow.internal.v0.enums {
19737
19746
  | 'time-to-classify-aggregated'
19738
19747
  | 'rate-source'
19739
19748
  | 'rate-freshness';
19740
- type Status = 'draft' | 'scheduled' | 'live' | 'ended' | 'archived';
19741
19749
  type SubscriptionFrequency = 'yearly' | 'monthly';
19742
19750
  type SuggestionAction = 'accept' | 'validate' | 'review';
19743
19751
  type SvitlanaType = 'physical' | 'digital';
@@ -19751,10 +19759,15 @@ declare namespace io.flow.internal.v0.enums {
19751
19759
  | 'payment'
19752
19760
  | 'rate_levels'
19753
19761
  | 'center_defaults';
19762
+ type TaxAndDutyInclusivitySetting =
19763
+ | 'duty_exclusive_tax_exclusive'
19764
+ | 'duty_inclusive_tax_exclusive'
19765
+ | 'duty_exclusive_tax_inclusive'
19766
+ | 'duty_inclusive_tax_inclusive';
19754
19767
  type TaxCalculationErrorCode = 'generic_error' | 'outside_of_jurisdiction';
19755
19768
  type TaxParty = 'consumer' | 'organization' | 'flow' | 'carrier';
19756
19769
  type TaxTransactionType = 'adjustment' | 'reversal' | 'tax';
19757
- type TimeseriesType = 'daily' | 'weekly' | 'monthly' | 'yearly';
19770
+ type ThiagoItemType = 'digital' | 'physical';
19758
19771
  type TrackingIntegrationType = 'api' | 'bulk' | 'aftership';
19759
19772
  type TrackingProcessingFailureClassification =
19760
19773
  | 'tracking_expired'
@@ -19935,6 +19948,7 @@ declare namespace io.flow.internal.v0.models {
19935
19948
  readonly liabilities_method: io.flow.internal.v0.enums.AccountSettingLiabilitiesMethod;
19936
19949
  readonly enable_fee_reversals: boolean;
19937
19950
  readonly record_reason_for_transactions_pending_payout: boolean;
19951
+ readonly enable_negative_debits: boolean;
19938
19952
  }
19939
19953
 
19940
19954
  interface AccountSettingsDeleted {
@@ -20006,13 +20020,6 @@ declare namespace io.flow.internal.v0.models {
20006
20020
  readonly account: io.flow.internal.v0.models.FlowAccount;
20007
20021
  }
20008
20022
 
20009
- interface AccountingFulfillmentMetadata {
20010
- readonly discriminator: 'accounting_fulfillment_metadata';
20011
- readonly order: io.flow.internal.v0.models.OrderReference;
20012
- readonly proof?: io.flow.internal.v0.unions.FulfillmentProof;
20013
- readonly posting_cutoff: string;
20014
- }
20015
-
20016
20023
  interface AccountingPendingOrderMetadata {
20017
20024
  readonly discriminator: 'accounting_pending_order_metadata';
20018
20025
  readonly order: io.flow.internal.v0.models.OrderReference;
@@ -20576,17 +20583,6 @@ declare namespace io.flow.internal.v0.models {
20576
20583
  readonly action?: io.flow.internal.v0.enums.RestrictionStatus;
20577
20584
  }
20578
20585
 
20579
- interface Backfill {
20580
- readonly days_to_backfill: string[];
20581
- }
20582
-
20583
- interface BackfillForm {
20584
- readonly start_date: string;
20585
- readonly end_date: string;
20586
- readonly organization_id?: string;
20587
- readonly experiment_key?: string;
20588
- }
20589
-
20590
20586
  interface BankAccountReference {
20591
20587
  readonly id: string;
20592
20588
  }
@@ -20627,6 +20623,20 @@ declare namespace io.flow.internal.v0.models {
20627
20623
  readonly order: io.flow.internal.v0.models.BillingOrderTransactionOrderReference;
20628
20624
  }
20629
20625
 
20626
+ interface BankPaymentOrderDeleted {
20627
+ readonly discriminator: 'bank_payment_order_deleted';
20628
+ readonly event_id: string;
20629
+ readonly timestamp: string;
20630
+ readonly id: string;
20631
+ }
20632
+
20633
+ interface BankPaymentOrderUpserted {
20634
+ readonly discriminator: 'bank_payment_order_upserted';
20635
+ readonly event_id: string;
20636
+ readonly timestamp: string;
20637
+ readonly bank_payment_order: io.flow.internal.v0.models.BankPaymentOrder;
20638
+ }
20639
+
20630
20640
  interface BankPaymentReference {
20631
20641
  readonly id: string;
20632
20642
  }
@@ -20693,7 +20703,7 @@ declare namespace io.flow.internal.v0.models {
20693
20703
  readonly discriminator: 'billing_csv_transaction_upserted';
20694
20704
  readonly event_id: string;
20695
20705
  readonly timestamp: string;
20696
- readonly transaction: io.flow.billing.csv.v0.models.BillingCsvTransaction;
20706
+ readonly transaction: io.flow.internal.v0.models.CsvTransaction;
20697
20707
  }
20698
20708
 
20699
20709
  interface BillingInvoiceSummary {
@@ -20843,7 +20853,6 @@ declare namespace io.flow.internal.v0.models {
20843
20853
  readonly duty: io.flow.common.v0.models.Price;
20844
20854
  readonly trueup: io.flow.common.v0.models.Price;
20845
20855
  readonly carrier_charge: io.flow.common.v0.models.Price;
20846
- readonly carrier_fee: io.flow.common.v0.models.Price;
20847
20856
  readonly ending_balance: io.flow.common.v0.models.Price;
20848
20857
  }
20849
20858
 
@@ -21161,7 +21170,7 @@ declare namespace io.flow.internal.v0.models {
21161
21170
  readonly carrier_tracking_number: string;
21162
21171
  readonly label_created_at: string;
21163
21172
  readonly units: io.flow.internal.v0.models.CarrierChargeUnits;
21164
- readonly base: io.flow.trueup.v0.models.LabelBase;
21173
+ readonly base?: io.flow.trueup.v0.models.LabelBase;
21165
21174
  readonly surcharges: io.flow.internal.v0.models.LabelSurchargeForm;
21166
21175
  readonly total: number;
21167
21176
  readonly dead?: io.flow.trueup.v0.models.DeadWeight;
@@ -21233,7 +21242,7 @@ declare namespace io.flow.internal.v0.models {
21233
21242
 
21234
21243
  interface CarrierChargeUnits {
21235
21244
  readonly currency: string;
21236
- readonly weight: io.flow.units.v0.enums.UnitOfWeight;
21245
+ readonly weight?: io.flow.units.v0.enums.UnitOfWeight;
21237
21246
  readonly length?: io.flow.units.v0.enums.UnitOfLength;
21238
21247
  }
21239
21248
 
@@ -21245,61 +21254,6 @@ declare namespace io.flow.internal.v0.models {
21245
21254
  readonly carrier_charge: io.flow.internal.v0.models.CarrierCharge;
21246
21255
  }
21247
21256
 
21248
- interface CarrierFee {
21249
- readonly id: string;
21250
- readonly label_invoice_request_id: string;
21251
- readonly units: io.flow.internal.v0.models.CarrierFeeUnits;
21252
- readonly surcharges: io.flow.internal.v0.models.LabelSurchargeForm;
21253
- readonly total: number;
21254
- readonly attributes?: Record<string, string>;
21255
- }
21256
-
21257
- interface CarrierFeeDeleted {
21258
- readonly discriminator: 'carrier_fee_deleted';
21259
- readonly event_id: string;
21260
- readonly timestamp: string;
21261
- readonly organization: string;
21262
- readonly id: string;
21263
- }
21264
-
21265
- interface CarrierFeeForm {
21266
- readonly id: string;
21267
- readonly label_invoice_request_id: string;
21268
- readonly units: io.flow.internal.v0.models.CarrierFeeUnits;
21269
- readonly surcharges: io.flow.internal.v0.models.LabelSurchargeForm;
21270
- readonly total: number;
21271
- readonly attributes?: Record<string, string>;
21272
- }
21273
-
21274
- interface CarrierFeeTransaction {
21275
- readonly discriminator: 'carrier_fee_transaction';
21276
- readonly label_reference: io.flow.internal.v0.models.CarrierFeeTransactionLabelReference;
21277
- readonly id: string;
21278
- readonly type: io.flow.internal.v0.enums.BillingTransactionType;
21279
- readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
21280
- readonly posted_at?: string;
21281
- readonly value: io.flow.common.v0.models.Price;
21282
- readonly description: string;
21283
- readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
21284
- readonly created_at: string;
21285
- }
21286
-
21287
- interface CarrierFeeTransactionLabelReference {
21288
- readonly id: string;
21289
- }
21290
-
21291
- interface CarrierFeeUnits {
21292
- readonly currency: string;
21293
- }
21294
-
21295
- interface CarrierFeeUpserted {
21296
- readonly discriminator: 'carrier_fee_upserted';
21297
- readonly event_id: string;
21298
- readonly timestamp: string;
21299
- readonly organization: string;
21300
- readonly carrier_fee: io.flow.internal.v0.models.CarrierFee;
21301
- }
21302
-
21303
21257
  interface CarrierFile {
21304
21258
  readonly id: string;
21305
21259
  readonly type: io.flow.internal.v0.enums.CarrierFileType;
@@ -21327,6 +21281,19 @@ declare namespace io.flow.internal.v0.models {
21327
21281
  readonly timestamp: string;
21328
21282
  }
21329
21283
 
21284
+ interface CarrierTaxForm {
21285
+ readonly id: string;
21286
+ readonly label_invoice_request_id: string;
21287
+ readonly units: io.flow.internal.v0.models.CarrierTaxUnits;
21288
+ readonly surcharges: io.flow.internal.v0.models.LabelSurchargeForm;
21289
+ readonly total: number;
21290
+ readonly attributes?: Record<string, string>;
21291
+ }
21292
+
21293
+ interface CarrierTaxUnits {
21294
+ readonly currency: string;
21295
+ }
21296
+
21330
21297
  interface CatalogImportRequest {
21331
21298
  readonly discriminator: 'catalog_import_request';
21332
21299
  readonly event_id: string;
@@ -21695,6 +21662,28 @@ declare namespace io.flow.internal.v0.models {
21695
21662
  readonly channel_order_summary: io.flow.internal.v0.models.ChannelOrderSummary;
21696
21663
  }
21697
21664
 
21665
+ interface ChannelOrganizationIdentifier {
21666
+ readonly id: string;
21667
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
21668
+ readonly identifier: string;
21669
+ }
21670
+
21671
+ interface ChannelOrganizationIdentifierDeleted {
21672
+ readonly discriminator: 'channel_organization_identifier_deleted';
21673
+ readonly event_id: string;
21674
+ readonly timestamp: string;
21675
+ readonly channel_id: string;
21676
+ readonly id: string;
21677
+ }
21678
+
21679
+ interface ChannelOrganizationIdentifierUpserted {
21680
+ readonly discriminator: 'channel_organization_identifier_upserted';
21681
+ readonly event_id: string;
21682
+ readonly timestamp: string;
21683
+ readonly channel_id: string;
21684
+ readonly channel_organization_identifier: io.flow.internal.v0.models.ChannelOrganizationIdentifier;
21685
+ }
21686
+
21698
21687
  interface ChannelOrganizationShopify {
21699
21688
  readonly organization: io.flow.channel.v0.models.ChannelOrganization;
21700
21689
  readonly tokens: io.flow.internal.v0.models.ShopifyChannelOrganizationTokens[];
@@ -22150,6 +22139,41 @@ declare namespace io.flow.internal.v0.models {
22150
22139
  readonly product_id: string;
22151
22140
  }
22152
22141
 
22142
+ interface ClassificationProductRequest {
22143
+ readonly MerchantId: string;
22144
+ readonly ProductName: string;
22145
+ readonly ProductDescription: string;
22146
+ readonly ProductIdInternal: string;
22147
+ readonly ProductIdExternal: string;
22148
+ readonly ProductGroupCode?: string;
22149
+ readonly ProductUrl?: string;
22150
+ readonly ProductImage?: string;
22151
+ readonly ProductAttributes: Record<string, string>;
22152
+ readonly Categories?: string[];
22153
+ readonly PlatformId: io.flow.internal.v0.enums.ClassificationPlatform;
22154
+ }
22155
+
22156
+ interface ClassificationProductRequestEnvelope {
22157
+ readonly messageType: string[];
22158
+ readonly message: io.flow.internal.v0.models.ClassificationProductRequest;
22159
+ }
22160
+
22161
+ interface ClassificationProductResult {
22162
+ readonly productId: string;
22163
+ readonly merchantId: string;
22164
+ readonly platformId: io.flow.internal.v0.enums.ClassificationPlatform;
22165
+ readonly hsCode?: string;
22166
+ readonly probability?: number;
22167
+ readonly classificationDecision: io.flow.internal.v0.enums.ClassificationDecision;
22168
+ readonly classificationType: io.flow.internal.v0.enums.ClassificationType;
22169
+ readonly clothingAgeClassification?: io.flow.internal.v0.enums.ClothingAgeClassification;
22170
+ }
22171
+
22172
+ interface ClassificationProductResultEnvelope {
22173
+ readonly messageType: string[];
22174
+ readonly message: io.flow.internal.v0.models.ClassificationProductResult;
22175
+ }
22176
+
22153
22177
  interface ClassificationProductSummary {
22154
22178
  readonly product_id: string;
22155
22179
  readonly organization_id: string;
@@ -22203,6 +22227,17 @@ declare namespace io.flow.internal.v0.models {
22203
22227
  readonly classified_by: string;
22204
22228
  }
22205
22229
 
22230
+ interface CliLogEntry {
22231
+ readonly id: string;
22232
+ readonly user: io.flow.common.v0.models.UserReference;
22233
+ readonly task: string;
22234
+ }
22235
+
22236
+ interface CliLogEntryForm {
22237
+ readonly user_id: string;
22238
+ readonly task: string;
22239
+ }
22240
+
22206
22241
  interface ColmItem {
22207
22242
  readonly id: string;
22208
22243
  readonly number: string;
@@ -22470,6 +22505,25 @@ declare namespace io.flow.internal.v0.models {
22470
22505
  readonly signature_secret: string;
22471
22506
  }
22472
22507
 
22508
+ interface CsvTransaction {
22509
+ readonly id: string;
22510
+ readonly type: io.flow.internal.v0.enums.BillingTransactionType;
22511
+ readonly account: io.flow.internal.v0.models.OtherRecordAccount;
22512
+ readonly metadata?: io.flow.internal.v0.models.OtherRecordMetadata;
22513
+ readonly order?: io.flow.internal.v0.models.OtherRecordOrderSummary;
22514
+ readonly currency: string;
22515
+ readonly source: io.flow.billing.v0.enums.TransactionSource;
22516
+ readonly parent?: io.flow.billing.v0.models.ParentTransactionSummary;
22517
+ readonly gross: number;
22518
+ readonly fees: io.flow.internal.v0.models.OtherRecordFees;
22519
+ readonly withholdings: io.flow.internal.v0.models.OtherRecordWithholdings;
22520
+ readonly discount: io.flow.internal.v0.models.OtherRecordDiscount;
22521
+ readonly net: number;
22522
+ readonly identifiers: io.flow.internal.v0.models.OtherRecordIdentifiers;
22523
+ readonly created_at: string;
22524
+ readonly updated_at: string;
22525
+ }
22526
+
22473
22527
  interface CurrencyInternalRate {
22474
22528
  readonly id: string;
22475
22529
  readonly organization_id: string;
@@ -22581,53 +22635,6 @@ declare namespace io.flow.internal.v0.models {
22581
22635
  readonly construction?: io.flow.internal.v0.models.CustomsProductAttributeLabel;
22582
22636
  }
22583
22637
 
22584
- interface DailyExperimentEngineResults {
22585
- readonly day: string;
22586
- readonly organization_id: string;
22587
- readonly experiment_key: string;
22588
- readonly experiment_variant_key: string;
22589
- readonly distinct_visitors_count: number;
22590
- readonly visitors_with_transactions_count: number;
22591
- readonly total_visitors_count: number;
22592
- readonly total_revenue: number;
22593
- }
22594
-
22595
- interface DailyExperimentResults {
22596
- readonly id: string;
22597
- readonly day: string;
22598
- readonly experiment_key: string;
22599
- readonly experiment_variant_key: string;
22600
- readonly visitor_count: number;
22601
- readonly visitors_with_transactions_count: number;
22602
- readonly conversion_rate: number;
22603
- readonly lower_bound: number;
22604
- readonly upper_bound: number;
22605
- readonly probability_of_being_best?: number;
22606
- readonly currency?: string;
22607
- readonly average_order_value?: number;
22608
- readonly revenue_generated?: number;
22609
- readonly total_order_count?: number;
22610
- readonly conversion_rate_uplift?: number;
22611
- readonly average_order_value_uplift?: number;
22612
- readonly revenue_generated_uplift?: number;
22613
- }
22614
-
22615
- interface DailyExperimentResultsDeleted {
22616
- readonly discriminator: 'daily_experiment_results_deleted';
22617
- readonly event_id: string;
22618
- readonly timestamp: string;
22619
- readonly organization_id: string;
22620
- readonly daily_experiment_results: io.flow.internal.v0.models.DailyExperimentResults;
22621
- }
22622
-
22623
- interface DailyExperimentResultsUpserted {
22624
- readonly discriminator: 'daily_experiment_results_upserted';
22625
- readonly event_id: string;
22626
- readonly timestamp: string;
22627
- readonly organization_id: string;
22628
- readonly daily_experiment_results: io.flow.internal.v0.models.DailyExperimentResults;
22629
- }
22630
-
22631
22638
  interface DailyValue {
22632
22639
  readonly id: string;
22633
22640
  readonly key: io.flow.internal.v0.enums.BillingMetricKey;
@@ -22659,6 +22666,7 @@ declare namespace io.flow.internal.v0.models {
22659
22666
  readonly labels: io.flow.internal.v0.models.DebugLabel[];
22660
22667
  readonly captures: io.flow.internal.v0.models.DebugPaymentTransactionSummary[];
22661
22668
  readonly refunds: io.flow.internal.v0.models.DebugPaymentTransactionSummary[];
22669
+ readonly allocation: io.flow.experience.v0.models.AllocationV2;
22662
22670
  }
22663
22671
 
22664
22672
  interface DebugFulfillmentDelta {
@@ -22684,6 +22692,8 @@ declare namespace io.flow.internal.v0.models {
22684
22692
  interface DebugOrder {
22685
22693
  readonly organization_id: string;
22686
22694
  readonly number: string;
22695
+ readonly prices: io.flow.order.price.v0.models.OrderPriceDetail[];
22696
+ readonly total: io.flow.common.v0.models.MoneyWithBase;
22687
22697
  readonly identifiers?: Record<string, string>;
22688
22698
  readonly submitted_at?: string;
22689
22699
  }
@@ -22866,14 +22876,14 @@ declare namespace io.flow.internal.v0.models {
22866
22876
 
22867
22877
  interface DimensionEstimateOpsInput {
22868
22878
  readonly organization_id: string;
22869
- readonly length_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
22870
- readonly length_val?: string;
22871
- readonly width_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
22872
- readonly width_val?: string;
22873
- readonly depth_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
22874
- readonly depth_val?: string;
22875
- readonly weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
22876
- readonly weight_val?: string;
22879
+ readonly length_units?: io.flow.common.v0.enums.UnitOfMeasurement;
22880
+ readonly length_value?: string;
22881
+ readonly width_units?: io.flow.common.v0.enums.UnitOfMeasurement;
22882
+ readonly width_value?: string;
22883
+ readonly depth_units?: io.flow.common.v0.enums.UnitOfMeasurement;
22884
+ readonly depth_value?: string;
22885
+ readonly weight_units?: io.flow.common.v0.enums.UnitOfMeasurement;
22886
+ readonly weight_value?: string;
22877
22887
  }
22878
22888
 
22879
22889
  interface Discount {
@@ -23334,6 +23344,7 @@ declare namespace io.flow.internal.v0.models {
23334
23344
  }
23335
23345
 
23336
23346
  interface ErpPriorityVendorForm {
23347
+ readonly company?: io.flow.internal.v0.enums.Company;
23337
23348
  readonly acc_des?: string;
23338
23349
  readonly tax_code?: string;
23339
23350
  readonly tax_code_2?: string;
@@ -23433,21 +23444,6 @@ declare namespace io.flow.internal.v0.models {
23433
23444
  readonly total?: io.flow.common.v0.models.Money;
23434
23445
  }
23435
23446
 
23436
- interface ExperienceExperiment {
23437
- readonly discriminator: 'experience';
23438
- readonly id: string;
23439
- readonly key: string;
23440
- readonly name: string;
23441
- readonly description?: string;
23442
- readonly status: io.flow.internal.v0.enums.Status;
23443
- readonly emails: string[];
23444
- readonly started_at?: string;
23445
- readonly ended_at?: string;
23446
- readonly variants: io.flow.internal.v0.models.ExperienceVariant[];
23447
- readonly transitions?: io.flow.internal.v0.enums.Status[];
23448
- readonly significance_action?: io.flow.internal.v0.enums.SignificanceAction;
23449
- }
23450
-
23451
23447
  interface ExperienceExportRequest {
23452
23448
  readonly discriminator: 'experience_export_request';
23453
23449
  readonly event_id: string;
@@ -23478,165 +23474,6 @@ declare namespace io.flow.internal.v0.models {
23478
23474
  readonly id: string;
23479
23475
  }
23480
23476
 
23481
- interface ExperienceVariant {
23482
- readonly discriminator: 'experience_variant';
23483
- readonly experience: io.flow.internal.v0.models.ExperienceVariantSummary;
23484
- readonly traffic_percentage: number;
23485
- readonly experiment_results?: io.flow.internal.v0.models.ExperimentResults;
23486
- }
23487
-
23488
- interface ExperienceVariantForm {
23489
- readonly discriminator: 'experience';
23490
- readonly key: string;
23491
- readonly traffic_percentage: number;
23492
- }
23493
-
23494
- interface ExperienceVariantSummary {
23495
- readonly key: string;
23496
- readonly name?: string;
23497
- }
23498
-
23499
- interface ExperimentDeleted {
23500
- readonly discriminator: 'experiment_deleted';
23501
- readonly event_id: string;
23502
- readonly timestamp: string;
23503
- readonly organization_id: string;
23504
- readonly id: string;
23505
- }
23506
-
23507
- interface ExperimentEngineResults {
23508
- readonly organization_id: string;
23509
- readonly experiment_key: string;
23510
- readonly experiment_variant_key: string;
23511
- readonly distinct_visitors_count: number;
23512
- readonly visitors_with_transactions_count: number;
23513
- readonly total_visitors_count: number;
23514
- readonly total_revenue: number;
23515
- readonly day?: string;
23516
- }
23517
-
23518
- interface ExperimentForm {
23519
- readonly name: string;
23520
- readonly description?: string;
23521
- readonly emails: string[];
23522
- readonly variants: io.flow.internal.v0.unions.VariantForm[];
23523
- readonly significance_action?: io.flow.internal.v0.enums.SignificanceAction;
23524
- readonly session_query?: string;
23525
- }
23526
-
23527
- interface ExperimentFormDefault {
23528
- readonly discriminator: io.flow.internal.v0.models.ExperimentFormDefaultDiscriminator;
23529
- readonly variants?: io.flow.internal.v0.models.ExperimentFormDefaultVariant[];
23530
- }
23531
-
23532
- interface ExperimentFormDefaultDiscriminator {
23533
- readonly key: io.flow.internal.v0.enums.ExperimentDiscriminatorKey;
23534
- readonly values: io.flow.internal.v0.models.ExperimentFormDefaultDiscriminatorValue[];
23535
- }
23536
-
23537
- interface ExperimentFormDefaultDiscriminatorValue {
23538
- readonly key: string;
23539
- readonly name: string;
23540
- readonly scope: io.flow.internal.v0.enums.Scope;
23541
- }
23542
-
23543
- interface ExperimentFormDefaultVariant {
23544
- readonly key: string;
23545
- readonly name: string;
23546
- readonly traffic_percentage?: number;
23547
- }
23548
-
23549
- interface ExperimentMilestone {
23550
- readonly id: string;
23551
- readonly experiment: io.flow.internal.v0.models.ExperimentReference;
23552
- readonly timestamp: string;
23553
- readonly description: string;
23554
- }
23555
-
23556
- interface ExperimentMilestoneDeleted {
23557
- readonly discriminator: 'experiment_milestone_deleted';
23558
- readonly event_id: string;
23559
- readonly timestamp: string;
23560
- readonly organization: string;
23561
- readonly id: string;
23562
- }
23563
-
23564
- interface ExperimentMilestoneForm {
23565
- readonly timestamp?: string;
23566
- readonly description: string;
23567
- }
23568
-
23569
- interface ExperimentMilestoneUpserted {
23570
- readonly discriminator: 'experiment_milestone_upserted';
23571
- readonly event_id: string;
23572
- readonly timestamp: string;
23573
- readonly organization: string;
23574
- readonly experiment_milestone: io.flow.internal.v0.models.ExperimentMilestone;
23575
- }
23576
-
23577
- interface ExperimentReference {
23578
- readonly key: string;
23579
- }
23580
-
23581
- interface ExperimentResults {
23582
- readonly id: string;
23583
- readonly experiment_key: string;
23584
- readonly experiment_variant_key: string;
23585
- readonly visitor_count: number;
23586
- readonly visitors_with_transactions_count: number;
23587
- readonly conversion_rate: number;
23588
- readonly lower_bound: number;
23589
- readonly upper_bound: number;
23590
- readonly probability_of_being_best?: number;
23591
- readonly currency?: string;
23592
- readonly average_order_value?: number;
23593
- readonly revenue_generated?: number;
23594
- readonly total_order_count?: number;
23595
- readonly conversion_rate_uplift?: number;
23596
- readonly average_order_value_uplift?: number;
23597
- readonly revenue_generated_uplift?: number;
23598
- }
23599
-
23600
- interface ExperimentResultsDeleted {
23601
- readonly discriminator: 'experiment_results_deleted';
23602
- readonly event_id: string;
23603
- readonly timestamp: string;
23604
- readonly organization_id: string;
23605
- readonly experiment_results: io.flow.internal.v0.models.ExperimentResults;
23606
- }
23607
-
23608
- interface ExperimentResultsUpserted {
23609
- readonly discriminator: 'experiment_results_upserted';
23610
- readonly event_id: string;
23611
- readonly timestamp: string;
23612
- readonly organization_id: string;
23613
- readonly experiment_results: io.flow.internal.v0.models.ExperimentResults;
23614
- }
23615
-
23616
- interface ExperimentResultsWithTimestamp {
23617
- readonly timestamp: string;
23618
- readonly results: io.flow.internal.v0.models.ExperimentResults[];
23619
- }
23620
-
23621
- interface ExperimentSessionQueryForm {
23622
- readonly session_query?: string;
23623
- }
23624
-
23625
- interface ExperimentUpserted {
23626
- readonly discriminator: 'experiment_upserted';
23627
- readonly event_id: string;
23628
- readonly timestamp: string;
23629
- readonly organization_id: string;
23630
- readonly experiment: io.flow.internal.v0.unions.Experiment;
23631
- }
23632
-
23633
- interface ExperimentVersion {
23634
- readonly id: string;
23635
- readonly timestamp: string;
23636
- readonly type: io.flow.common.v0.enums.ChangeType;
23637
- readonly experiment: io.flow.internal.v0.unions.Experiment;
23638
- }
23639
-
23640
23477
  interface ExplicitStatement {
23641
23478
  readonly id: string;
23642
23479
  readonly statement: io.flow.internal.v0.models.BillingStatementReference;
@@ -23705,6 +23542,7 @@ declare namespace io.flow.internal.v0.models {
23705
23542
  readonly delivery_estimate?: string;
23706
23543
  readonly description?: string;
23707
23544
  readonly order_number?: string;
23545
+ readonly raw_carrier_event_code?: string;
23708
23546
  }
23709
23547
 
23710
23548
  interface ExternalFulfillmentProof {
@@ -23739,6 +23577,19 @@ declare namespace io.flow.internal.v0.models {
23739
23577
  readonly tracker_id: string;
23740
23578
  }
23741
23579
 
23580
+ interface FailedDimensionEstimateOpsInputWithReason {
23581
+ readonly organization_id: string;
23582
+ readonly length_units?: io.flow.common.v0.enums.UnitOfMeasurement;
23583
+ readonly length_value?: string;
23584
+ readonly width_units?: io.flow.common.v0.enums.UnitOfMeasurement;
23585
+ readonly width_value?: string;
23586
+ readonly depth_units?: io.flow.common.v0.enums.UnitOfMeasurement;
23587
+ readonly depth_value?: string;
23588
+ readonly weight_units?: io.flow.common.v0.enums.UnitOfMeasurement;
23589
+ readonly weight_value?: string;
23590
+ readonly reason?: string;
23591
+ }
23592
+
23742
23593
  interface Feature {
23743
23594
  readonly id: string;
23744
23595
  readonly key: string;
@@ -23765,23 +23616,6 @@ declare namespace io.flow.internal.v0.models {
23765
23616
  readonly feature: io.flow.internal.v0.models.Feature;
23766
23617
  }
23767
23618
 
23768
- interface FeatureExperiment {
23769
- readonly discriminator: 'feature';
23770
- readonly id: string;
23771
- readonly key: string;
23772
- readonly name: string;
23773
- readonly description?: string;
23774
- readonly status: io.flow.internal.v0.enums.Status;
23775
- readonly emails: string[];
23776
- readonly scope: io.flow.internal.v0.enums.Scope;
23777
- readonly started_at?: string;
23778
- readonly ended_at?: string;
23779
- readonly variants: io.flow.internal.v0.models.FeatureVariant[];
23780
- readonly transitions?: io.flow.internal.v0.enums.Status[];
23781
- readonly significance_action?: io.flow.internal.v0.enums.SignificanceAction;
23782
- readonly session_query?: string;
23783
- }
23784
-
23785
23619
  interface FeatureForm {
23786
23620
  readonly name: string;
23787
23621
  readonly description?: string;
@@ -23839,34 +23673,10 @@ declare namespace io.flow.internal.v0.models {
23839
23673
  readonly context: io.flow.internal.v0.models.FeatureContextForm;
23840
23674
  }
23841
23675
 
23842
- interface FeatureValueReference {
23843
- readonly feature_key: string;
23844
- readonly value: string;
23845
- }
23846
-
23847
23676
  interface FeatureValueResult {
23848
23677
  readonly values: io.flow.internal.v0.unions.FeatureValue[];
23849
23678
  }
23850
23679
 
23851
- interface FeatureVariant {
23852
- readonly discriminator: 'feature_variant';
23853
- readonly value: io.flow.internal.v0.models.FeatureVariantSummary;
23854
- readonly traffic_percentage: number;
23855
- readonly experiment_results?: io.flow.internal.v0.models.ExperimentResults;
23856
- }
23857
-
23858
- interface FeatureVariantForm {
23859
- readonly discriminator: 'feature';
23860
- readonly key: string;
23861
- readonly traffic_percentage: number;
23862
- }
23863
-
23864
- interface FeatureVariantSummary {
23865
- readonly key: string;
23866
- readonly feature_value: io.flow.internal.v0.models.FeatureValueReference;
23867
- readonly name?: string;
23868
- }
23869
-
23870
23680
  interface Fedex {
23871
23681
  readonly discriminator: 'fedex';
23872
23682
  readonly key: string;
@@ -24119,6 +23929,12 @@ declare namespace io.flow.internal.v0.models {
24119
23929
  readonly next_action_from: io.flow.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
24120
23930
  }
24121
23931
 
23932
+ interface FraudAuthorizationSummary {
23933
+ readonly fraud_review_authorization: io.flow.internal.v0.models.FraudReviewAuthorization;
23934
+ readonly fraud_pending_review_authorization?: io.flow.internal.v0.models.FraudPendingReviewAuthorization;
23935
+ readonly fraud_review_authorization_decision?: io.flow.internal.v0.models.FraudReviewAuthorizationDecision;
23936
+ }
23937
+
24122
23938
  interface FraudPendingReview {
24123
23939
  readonly id: string;
24124
23940
  readonly fraud_review_id: string;
@@ -24129,6 +23945,32 @@ declare namespace io.flow.internal.v0.models {
24129
23945
  readonly liability?: io.flow.fraud.v0.enums.FraudLiability;
24130
23946
  }
24131
23947
 
23948
+ interface FraudPendingReviewAuthorization {
23949
+ readonly id: string;
23950
+ readonly fraud_review_authorization_id: string;
23951
+ readonly order: io.flow.experience.v0.models.OrderReference;
23952
+ readonly fraud_order_reference?: io.flow.fraud.v0.unions.FraudOrderReference;
23953
+ readonly recommended_status: io.flow.fraud.v0.enums.FraudStatus;
23954
+ readonly apply_at?: string;
23955
+ readonly liability?: io.flow.fraud.v0.enums.FraudLiability;
23956
+ }
23957
+
23958
+ interface FraudPendingReviewAuthorizationDeleted {
23959
+ readonly discriminator: 'fraud_pending_review_authorization_deleted';
23960
+ readonly event_id: string;
23961
+ readonly timestamp: string;
23962
+ readonly organization: string;
23963
+ readonly id: string;
23964
+ }
23965
+
23966
+ interface FraudPendingReviewAuthorizationUpserted {
23967
+ readonly discriminator: 'fraud_pending_review_authorization_upserted';
23968
+ readonly event_id: string;
23969
+ readonly timestamp: string;
23970
+ readonly organization: string;
23971
+ readonly fraud_pending_review_authorization: io.flow.internal.v0.models.FraudPendingReviewAuthorization;
23972
+ }
23973
+
24132
23974
  interface FraudPendingReviewDeleted {
24133
23975
  readonly discriminator: 'fraud_pending_review_deleted';
24134
23976
  readonly event_id: string;
@@ -24209,6 +24051,67 @@ declare namespace io.flow.internal.v0.models {
24209
24051
  readonly created_at?: string;
24210
24052
  }
24211
24053
 
24054
+ interface FraudReviewAuthorization {
24055
+ readonly id: string;
24056
+ readonly organization_id: string;
24057
+ readonly order: io.flow.experience.v0.models.OrderReference;
24058
+ readonly fraud_order_reference?: io.flow.fraud.v0.unions.FraudOrderReference;
24059
+ readonly status: io.flow.fraud.v0.enums.FraudStatus;
24060
+ readonly responsible_party: io.flow.internal.v0.enums.FraudReviewResponsibleParty;
24061
+ readonly description?: string;
24062
+ readonly risk_evaluation?: io.flow.internal.v0.enums.RiskEvaluation;
24063
+ readonly liability?: io.flow.fraud.v0.enums.FraudLiability;
24064
+ readonly status_updated_at?: string;
24065
+ readonly attributes?: Record<string, string>;
24066
+ readonly provider?: io.flow.internal.v0.enums.FraudProvider;
24067
+ readonly payment_authorization_id?: string;
24068
+ readonly decline_reason?: io.flow.internal.v0.unions.DeclineReason;
24069
+ readonly created_at?: string;
24070
+ }
24071
+
24072
+ interface FraudReviewAuthorizationDecision {
24073
+ readonly id: string;
24074
+ readonly fraud_review_authorization_id: string;
24075
+ readonly order: io.flow.experience.v0.models.OrderReference;
24076
+ readonly fraud_order_reference?: io.flow.fraud.v0.unions.FraudOrderReference;
24077
+ readonly status: io.flow.fraud.v0.enums.FraudStatus;
24078
+ readonly created_at: string;
24079
+ readonly liability?: io.flow.fraud.v0.enums.FraudLiability;
24080
+ readonly updated_by_user?: io.flow.common.v0.models.UserReference;
24081
+ }
24082
+
24083
+ interface FraudReviewAuthorizationDecisionDeleted {
24084
+ readonly discriminator: 'fraud_review_authorization_decision_deleted';
24085
+ readonly event_id: string;
24086
+ readonly timestamp: string;
24087
+ readonly organization: string;
24088
+ readonly id: string;
24089
+ }
24090
+
24091
+ interface FraudReviewAuthorizationDecisionUpserted {
24092
+ readonly discriminator: 'fraud_review_authorization_decision_upserted';
24093
+ readonly event_id: string;
24094
+ readonly timestamp: string;
24095
+ readonly organization: string;
24096
+ readonly fraud_review_authorization_decision: io.flow.internal.v0.models.FraudReviewAuthorizationDecision;
24097
+ }
24098
+
24099
+ interface FraudReviewAuthorizationDeleted {
24100
+ readonly discriminator: 'fraud_review_authorization_deleted';
24101
+ readonly event_id: string;
24102
+ readonly timestamp: string;
24103
+ readonly organization: string;
24104
+ readonly id: string;
24105
+ }
24106
+
24107
+ interface FraudReviewAuthorizationUpserted {
24108
+ readonly discriminator: 'fraud_review_authorization_upserted';
24109
+ readonly event_id: string;
24110
+ readonly timestamp: string;
24111
+ readonly organization: string;
24112
+ readonly fraud_review_authorization: io.flow.internal.v0.models.FraudReviewAuthorization;
24113
+ }
24114
+
24212
24115
  interface FraudReviewDecision {
24213
24116
  readonly id: string;
24214
24117
  readonly fraud_review_id: string;
@@ -24267,6 +24170,7 @@ declare namespace io.flow.internal.v0.models {
24267
24170
  readonly fraud_review: io.flow.internal.v0.models.FraudReview;
24268
24171
  readonly fraud_pending_review?: io.flow.internal.v0.models.FraudPendingReview;
24269
24172
  readonly fraud_review_decision?: io.flow.internal.v0.models.FraudReviewDecision;
24173
+ readonly fraud_review_authorizations?: io.flow.internal.v0.models.FraudAuthorizationSummary[];
24270
24174
  }
24271
24175
 
24272
24176
  interface FtpFileDeleted {
@@ -24341,11 +24245,13 @@ declare namespace io.flow.internal.v0.models {
24341
24245
  readonly order: io.flow.internal.v0.models.OrderSummary;
24342
24246
  readonly shopper: io.flow.internal.v0.models.ShopperSummary;
24343
24247
  readonly remittance: io.flow.internal.v0.models.RemittanceResponsibility;
24248
+ readonly payment?: io.flow.internal.v0.models.PaymentSummary;
24344
24249
  readonly merchant: io.flow.internal.v0.models.MerchantSummary;
24345
24250
  readonly sequence_number: number;
24346
24251
  readonly posting_cutoff: string;
24347
- readonly trigger: io.flow.internal.v0.unions.FulfillmentTrigger;
24252
+ readonly trigger?: io.flow.internal.v0.unions.FulfillmentTrigger;
24348
24253
  readonly fulfilled_at: string;
24254
+ readonly carrier?: io.flow.internal.v0.models.FulfillmentCarrier;
24349
24255
  readonly owner: io.flow.internal.v0.enums.ResponsibleParty;
24350
24256
  readonly origin?: io.flow.internal.v0.models.FulfillmentOrigin;
24351
24257
  readonly business?: io.flow.internal.v0.models.FulfillmentBusiness;
@@ -24375,6 +24281,12 @@ declare namespace io.flow.internal.v0.models {
24375
24281
  readonly cancelled_lines: io.flow.order.management.v0.models.FulfillmentLineCancelForm[];
24376
24282
  }
24377
24283
 
24284
+ interface FulfillmentCarrier {
24285
+ readonly id: string;
24286
+ readonly service_id?: string;
24287
+ readonly tracking_number?: string;
24288
+ }
24289
+
24378
24290
  interface FulfillmentDeleted {
24379
24291
  readonly discriminator: 'fulfillment_deleted';
24380
24292
  readonly event_id: string;
@@ -24452,6 +24364,7 @@ declare namespace io.flow.internal.v0.models {
24452
24364
  readonly subtotal: io.flow.internal.v0.models.ReportingMonetaryValue;
24453
24365
  readonly tax: io.flow.internal.v0.models.ReportingMonetaryValue;
24454
24366
  readonly duty: io.flow.internal.v0.models.ReportingMonetaryValue;
24367
+ readonly tips?: io.flow.internal.v0.models.ReportingMonetaryValue;
24455
24368
  readonly discount: io.flow.internal.v0.models.ReportingMonetaryValue;
24456
24369
  readonly total: io.flow.internal.v0.models.ReportingMonetaryValue;
24457
24370
  }
@@ -24616,6 +24529,37 @@ declare namespace io.flow.internal.v0.models {
24616
24529
  readonly tracker_id: string;
24617
24530
  }
24618
24531
 
24532
+ interface HarinathItem {
24533
+ readonly id: string;
24534
+ readonly number: string;
24535
+ readonly amount: io.flow.common.v0.models.Price;
24536
+ readonly description?: string;
24537
+ readonly type: io.flow.internal.v0.enums.HarinathItemType;
24538
+ readonly added_on: string;
24539
+ }
24540
+
24541
+ interface HarinathItemDeleted {
24542
+ readonly discriminator: 'harinath_item_deleted';
24543
+ readonly event_id: string;
24544
+ readonly timestamp: string;
24545
+ readonly id: string;
24546
+ }
24547
+
24548
+ interface HarinathItemForm {
24549
+ readonly number: string;
24550
+ readonly amount: io.flow.common.v0.models.Price;
24551
+ readonly description?: string;
24552
+ readonly type: io.flow.internal.v0.enums.HarinathItemType;
24553
+ readonly added_on: string;
24554
+ }
24555
+
24556
+ interface HarinathItemUpserted {
24557
+ readonly discriminator: 'harinath_item_upserted';
24558
+ readonly event_id: string;
24559
+ readonly timestamp: string;
24560
+ readonly item: io.flow.internal.v0.models.HarinathItem;
24561
+ }
24562
+
24619
24563
  interface HarmonizationClassificationStatisticsData {
24620
24564
  readonly statistics: io.flow.internal.v0.models.ClassificationStatistics;
24621
24565
  }
@@ -24916,6 +24860,13 @@ declare namespace io.flow.internal.v0.models {
24916
24860
  readonly order: io.flow.experience.v0.models.OrderPutForm;
24917
24861
  }
24918
24862
 
24863
+ interface Invariant {
24864
+ readonly name: string;
24865
+ readonly count: number;
24866
+ readonly fired_at: string;
24867
+ readonly sql: string;
24868
+ }
24869
+
24919
24870
  interface InventoryOrganizationSettings {
24920
24871
  readonly id: string;
24921
24872
  readonly inventory_reservation: io.flow.internal.v0.enums.InventoryReservation;
@@ -25056,6 +25007,9 @@ declare namespace io.flow.internal.v0.models {
25056
25007
 
25057
25008
  interface ItemCustomsDetails {
25058
25009
  readonly item_number: string;
25010
+ readonly product_title?: string;
25011
+ readonly sanitized_product_title?: string;
25012
+ readonly sanitized_rule_ids?: string[];
25059
25013
  readonly sub_item_number?: string;
25060
25014
  readonly customs_description?: string;
25061
25015
  readonly origin: string;
@@ -25138,6 +25092,7 @@ declare namespace io.flow.internal.v0.models {
25138
25092
  string,
25139
25093
  io.flow.internal.v0.models.TariffCodeDuty
25140
25094
  >;
25095
+ readonly decision_source?: io.flow.internal.v0.enums.HarmonizationDecisionSource;
25141
25096
  readonly created_at?: string;
25142
25097
  readonly updated_at?: string;
25143
25098
  readonly updated_by_user_id?: string;
@@ -25294,6 +25249,37 @@ declare namespace io.flow.internal.v0.models {
25294
25249
  readonly descriptive_asset_urls?: string;
25295
25250
  }
25296
25251
 
25252
+ interface KonstantinItem {
25253
+ readonly id: string;
25254
+ readonly number: string;
25255
+ readonly amount: io.flow.common.v0.models.Price;
25256
+ readonly description?: string;
25257
+ readonly type: io.flow.internal.v0.enums.KonstantinItemType;
25258
+ readonly added_on: string;
25259
+ }
25260
+
25261
+ interface KonstantinItemDeleted {
25262
+ readonly discriminator: 'konstantin_item_deleted';
25263
+ readonly event_id: string;
25264
+ readonly timestamp: string;
25265
+ readonly id: string;
25266
+ }
25267
+
25268
+ interface KonstantinItemForm {
25269
+ readonly number: string;
25270
+ readonly amount: io.flow.common.v0.models.Price;
25271
+ readonly description?: string;
25272
+ readonly type: io.flow.internal.v0.enums.KonstantinItemType;
25273
+ readonly added_on: string;
25274
+ }
25275
+
25276
+ interface KonstantinItemUpserted {
25277
+ readonly discriminator: 'konstantin_item_upserted';
25278
+ readonly event_id: string;
25279
+ readonly timestamp: string;
25280
+ readonly item: io.flow.internal.v0.models.KonstantinItem;
25281
+ }
25282
+
25297
25283
  interface LabProjectSettings {
25298
25284
  readonly id: string;
25299
25285
  readonly flow_lab_project_key: string;
@@ -25463,6 +25449,8 @@ declare namespace io.flow.internal.v0.models {
25463
25449
  }
25464
25450
 
25465
25451
  interface LabelSurchargeForm {
25452
+ readonly all?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
25453
+ readonly base_and_fuel?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
25466
25454
  readonly fuel?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
25467
25455
  readonly remote_area?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
25468
25456
  readonly oversize?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
@@ -25474,6 +25462,12 @@ declare namespace io.flow.internal.v0.models {
25474
25462
  readonly eei_filing?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
25475
25463
  readonly fixed_ddp?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
25476
25464
  readonly fixed_currency_conversion?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
25465
+ readonly prohibited_item?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
25466
+ readonly undeliverable_shipment?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
25467
+ readonly signature_required?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
25468
+ readonly direct_delivery?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
25469
+ readonly saturday_stop?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
25470
+ readonly residential_extended_area_pickup?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
25477
25471
  }
25478
25472
 
25479
25473
  interface LabelSurchargeSingleForm {
@@ -25840,6 +25834,26 @@ declare namespace io.flow.internal.v0.models {
25840
25834
  readonly capabilities: io.flow.internal.v0.enums.LogisticsCapability[];
25841
25835
  }
25842
25836
 
25837
+ interface LogisticsPayoutRequest {
25838
+ readonly organization_id: string;
25839
+ readonly order_number: string;
25840
+ readonly carrier: string;
25841
+ readonly carrier_tracking_number: string;
25842
+ readonly dry_run: boolean;
25843
+ readonly payout_resolution_method: io.flow.internal.v0.enums.LogisticsPayoutResolutionMethod;
25844
+ readonly label_id?: string;
25845
+ readonly combined_shipment_order_number?: string;
25846
+ }
25847
+
25848
+ interface LogisticsPayoutRequestForm {
25849
+ readonly organization_id: string;
25850
+ readonly order_identifier: string;
25851
+ readonly carrier_id?: string;
25852
+ readonly carrier_name?: string;
25853
+ readonly carrier_tracking_number?: string;
25854
+ readonly external_reference_number?: string;
25855
+ }
25856
+
25843
25857
  interface Logo {
25844
25858
  readonly url: string;
25845
25859
  }
@@ -26410,6 +26424,68 @@ declare namespace io.flow.internal.v0.models {
26410
26424
  readonly proposition: io.flow.internal.v0.models.MetadataProposition;
26411
26425
  }
26412
26426
 
26427
+ interface MichaelyanItem {
26428
+ readonly id: string;
26429
+ readonly number: string;
26430
+ readonly amount: io.flow.common.v0.models.Price;
26431
+ readonly description?: string;
26432
+ readonly type: io.flow.internal.v0.enums.MichaelyanItemType;
26433
+ readonly added_on: string;
26434
+ }
26435
+
26436
+ interface MichaelyanItemDeleted {
26437
+ readonly discriminator: 'michaelyan_item_deleted';
26438
+ readonly event_id: string;
26439
+ readonly timestamp: string;
26440
+ readonly id: string;
26441
+ }
26442
+
26443
+ interface MichaelyanItemForm {
26444
+ readonly number: string;
26445
+ readonly amount: io.flow.common.v0.models.Price;
26446
+ readonly description?: string;
26447
+ readonly type: io.flow.internal.v0.enums.MichaelyanItemType;
26448
+ readonly added_on: string;
26449
+ }
26450
+
26451
+ interface MichaelyanItemUpserted {
26452
+ readonly discriminator: 'michaelyan_item_upserted';
26453
+ readonly event_id: string;
26454
+ readonly timestamp: string;
26455
+ readonly item: io.flow.internal.v0.models.MichaelyanItem;
26456
+ }
26457
+
26458
+ interface MiljenkoItem {
26459
+ readonly id: string;
26460
+ readonly number: string;
26461
+ readonly amount: io.flow.common.v0.models.Price;
26462
+ readonly description?: string;
26463
+ readonly type: io.flow.internal.v0.enums.MiljenkoItemType;
26464
+ readonly added_on: string;
26465
+ }
26466
+
26467
+ interface MiljenkoItemDeleted {
26468
+ readonly discriminator: 'miljenko_item_deleted';
26469
+ readonly event_id: string;
26470
+ readonly timestamp: string;
26471
+ readonly id: string;
26472
+ }
26473
+
26474
+ interface MiljenkoItemForm {
26475
+ readonly number: string;
26476
+ readonly amount: io.flow.common.v0.models.Price;
26477
+ readonly description?: string;
26478
+ readonly type: io.flow.internal.v0.enums.MiljenkoItemType;
26479
+ readonly added_on: string;
26480
+ }
26481
+
26482
+ interface MiljenkoItemUpserted {
26483
+ readonly discriminator: 'miljenko_item_upserted';
26484
+ readonly event_id: string;
26485
+ readonly timestamp: string;
26486
+ readonly item: io.flow.internal.v0.models.MiljenkoItem;
26487
+ }
26488
+
26413
26489
  interface NextBillingStatement {
26414
26490
  readonly date: string;
26415
26491
  readonly amount: io.flow.common.v0.models.Price;
@@ -26818,6 +26894,29 @@ declare namespace io.flow.internal.v0.models {
26818
26894
  readonly currency: string;
26819
26895
  }
26820
26896
 
26897
+ interface OrderTaxAndDutyInclusivitySetting {
26898
+ readonly id: string;
26899
+ readonly organization_id: string;
26900
+ readonly shopify_order_id: string;
26901
+ readonly order_number: string;
26902
+ readonly tax_and_duty_inclusivity_setting: io.flow.internal.v0.enums.TaxAndDutyInclusivitySetting;
26903
+ }
26904
+
26905
+ interface OrderTaxAndDutyInclusivitySettingDeleted {
26906
+ readonly discriminator: 'order_tax_and_duty_inclusivity_setting_deleted';
26907
+ readonly event_id: string;
26908
+ readonly timestamp: string;
26909
+ readonly organization: string;
26910
+ readonly id: string;
26911
+ }
26912
+
26913
+ interface OrderTaxAndDutyInclusivitySettingUpserted {
26914
+ readonly discriminator: 'order_tax_and_duty_inclusivity_setting_upserted';
26915
+ readonly event_id: string;
26916
+ readonly timestamp: string;
26917
+ readonly order_tax_and_duty_inclusivity_setting: io.flow.internal.v0.models.OrderTaxAndDutyInclusivitySetting;
26918
+ }
26919
+
26821
26920
  interface OrderTransaction {
26822
26921
  readonly discriminator: 'order_transaction';
26823
26922
  readonly order: io.flow.internal.v0.models.BillingOrderTransactionOrderReference;
@@ -27108,6 +27207,34 @@ declare namespace io.flow.internal.v0.models {
27108
27207
  readonly to: string;
27109
27208
  }
27110
27209
 
27210
+ interface OrganizationMetadata {
27211
+ readonly id: string;
27212
+ readonly organization_id: string;
27213
+ readonly pending_restriction_count: number;
27214
+ readonly pending_verification_count: number;
27215
+ readonly oldest_pending_restriction_date?: string;
27216
+ readonly oldest_pending_verification_date?: string;
27217
+ readonly product_count: number;
27218
+ readonly restricted_product_count: number;
27219
+ readonly last_order_submitted_at?: string;
27220
+ }
27221
+
27222
+ interface OrganizationMetadataDeleted {
27223
+ readonly discriminator: 'organization_metadata_deleted';
27224
+ readonly event_id: string;
27225
+ readonly timestamp: string;
27226
+ readonly organization: string;
27227
+ readonly id: string;
27228
+ }
27229
+
27230
+ interface OrganizationMetadataUpserted {
27231
+ readonly discriminator: 'organization_metadata_upserted';
27232
+ readonly event_id: string;
27233
+ readonly timestamp: string;
27234
+ readonly organization: string;
27235
+ readonly organization_metadata: io.flow.internal.v0.models.OrganizationMetadata;
27236
+ }
27237
+
27111
27238
  interface OrganizationOnboardingStateAdjustmentResult {
27112
27239
  readonly organization_onboarding_state?: io.flow.organization.onboarding.state.v0.models.OrganizationOnboardingState;
27113
27240
  }
@@ -27295,6 +27422,144 @@ declare namespace io.flow.internal.v0.models {
27295
27422
  readonly audit_result: io.flow.internal.v0.enums.OnboardingAuditResult;
27296
27423
  }
27297
27424
 
27425
+ interface OtherRecord {
27426
+ readonly id: string;
27427
+ readonly type: io.flow.internal.v0.enums.BillingTransactionType;
27428
+ readonly account: io.flow.internal.v0.models.OtherRecordAccount;
27429
+ readonly metadata?: io.flow.internal.v0.models.OtherRecordMetadata;
27430
+ readonly order?: io.flow.internal.v0.models.OtherRecordOrderSummary;
27431
+ readonly currency: string;
27432
+ readonly source: io.flow.billing.v0.enums.TransactionSource;
27433
+ readonly parent?: io.flow.billing.v0.models.ParentTransactionSummary;
27434
+ readonly gross: number;
27435
+ readonly fees: io.flow.internal.v0.models.OtherRecordFees;
27436
+ readonly withholdings: io.flow.internal.v0.models.OtherRecordWithholdings;
27437
+ readonly discount: io.flow.internal.v0.models.OtherRecordDiscount;
27438
+ readonly net: number;
27439
+ readonly identifiers: io.flow.internal.v0.models.OtherRecordIdentifiers;
27440
+ readonly created_at: string;
27441
+ readonly updated_at: string;
27442
+ }
27443
+
27444
+ interface OtherRecordAccount {
27445
+ readonly id: string;
27446
+ readonly merchant?: io.flow.internal.v0.models.OtherRecordMerchantReference;
27447
+ readonly environment: io.flow.common.v0.enums.Environment;
27448
+ readonly source: io.flow.internal.v0.models.OtherRecordAccountSourceSummary;
27449
+ }
27450
+
27451
+ interface OtherRecordAccountSourceSummary {
27452
+ readonly id: string;
27453
+ readonly type: io.flow.internal.v0.enums.AccountType;
27454
+ }
27455
+
27456
+ interface OtherRecordDeleted {
27457
+ readonly discriminator: 'other_record_deleted';
27458
+ readonly event_id: string;
27459
+ readonly timestamp: string;
27460
+ readonly id: string;
27461
+ }
27462
+
27463
+ interface OtherRecordDiscount {
27464
+ readonly amount: number;
27465
+ readonly description?: string;
27466
+ }
27467
+
27468
+ interface OtherRecordFees {
27469
+ readonly duty_guarantee: number;
27470
+ readonly mor: number;
27471
+ readonly fraud: number;
27472
+ readonly fx: number;
27473
+ readonly processing: number;
27474
+ readonly rate_lock: number;
27475
+ readonly transfer: number;
27476
+ readonly negative_balance: number;
27477
+ }
27478
+
27479
+ interface OtherRecordIdentifiers {
27480
+ readonly reference_id?: string;
27481
+ }
27482
+
27483
+ interface OtherRecordMerchantReference {
27484
+ readonly id: string;
27485
+ }
27486
+
27487
+ interface OtherRecordMetadata {
27488
+ readonly channel?: io.flow.internal.v0.models.OtherRecordMetadataChannel;
27489
+ readonly shipping_label?: io.flow.internal.v0.models.OtherRecordMetadataShippingLabel;
27490
+ readonly shipping_label_revenue_share?: io.flow.internal.v0.models.OtherRecordMetadataShippingLabelRevenueShare;
27491
+ readonly trueup?: io.flow.internal.v0.models.OtherRecordMetadataTrueup;
27492
+ readonly carrier_charge?: io.flow.internal.v0.models.OtherRecordMetadataCarrierCharge;
27493
+ readonly manual?: io.flow.internal.v0.models.OtherRecordMetadataManual;
27494
+ readonly failed_payout?: io.flow.internal.v0.models.OtherRecordMetadataFailedPayout;
27495
+ }
27496
+
27497
+ interface OtherRecordMetadataCarrierCharge {
27498
+ readonly reason: io.flow.trueup.v0.enums.CarrierChargeReason;
27499
+ readonly label_created_at: string;
27500
+ readonly carrier_id: string;
27501
+ readonly carrier_tracking_number: string;
27502
+ readonly revenue_share_percentage: number;
27503
+ readonly outbound_transaction_id?: string;
27504
+ }
27505
+
27506
+ interface OtherRecordMetadataChannel {
27507
+ readonly method: string;
27508
+ readonly card?: io.flow.billing.v0.models.TransactionMetadataChannelCardMetadata;
27509
+ }
27510
+
27511
+ interface OtherRecordMetadataFailedPayout {
27512
+ readonly failed_payment: io.flow.billing.v0.models.TransactionMetadataFailedPayoutReference;
27513
+ }
27514
+
27515
+ interface OtherRecordMetadataManual {
27516
+ readonly description: string;
27517
+ readonly original?: io.flow.billing.v0.models.TransactionMetadataOriginalTransaction;
27518
+ readonly category?: io.flow.internal.v0.enums.ManualTransactionCategory;
27519
+ readonly url?: string;
27520
+ }
27521
+
27522
+ interface OtherRecordMetadataShippingLabel {
27523
+ readonly request_method?: io.flow.label.v0.enums.LabelRequestMethod;
27524
+ }
27525
+
27526
+ interface OtherRecordMetadataShippingLabelRevenueShare {
27527
+ readonly label_id: string;
27528
+ readonly base_amount?: number;
27529
+ readonly percentage?: number;
27530
+ }
27531
+
27532
+ interface OtherRecordMetadataTrueup {
27533
+ readonly original: io.flow.billing.v0.models.TransactionMetadataOriginalTransaction;
27534
+ readonly label_transaction_id: string;
27535
+ readonly label_invoice_request_id: string;
27536
+ readonly carrier_charge_id: string;
27537
+ }
27538
+
27539
+ interface OtherRecordOrderSummary {
27540
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
27541
+ readonly number: string;
27542
+ readonly identifiers: io.flow.internal.v0.models.OtherRecordOrderSummaryIdentifiers;
27543
+ }
27544
+
27545
+ interface OtherRecordOrderSummaryIdentifiers {
27546
+ readonly shopify_order_id?: string;
27547
+ }
27548
+
27549
+ interface OtherRecordUpserted {
27550
+ readonly discriminator: 'other_record_upserted';
27551
+ readonly event_id: string;
27552
+ readonly timestamp: string;
27553
+ readonly other_record: io.flow.internal.v0.models.OtherRecord;
27554
+ }
27555
+
27556
+ interface OtherRecordWithholdings {
27557
+ readonly tax: number;
27558
+ readonly duty: number;
27559
+ readonly freight: number;
27560
+ readonly insurance: number;
27561
+ }
27562
+
27298
27563
  interface Partner {
27299
27564
  readonly id: string;
27300
27565
  readonly name: string;
@@ -27466,6 +27731,15 @@ declare namespace io.flow.internal.v0.models {
27466
27731
  readonly merchant: io.flow.internal.v0.unions.ProcessorMerchant;
27467
27732
  }
27468
27733
 
27734
+ interface PaymentSummary {
27735
+ readonly psp: number;
27736
+ readonly credit: number;
27737
+ readonly subsidized: number;
27738
+ readonly manual: number;
27739
+ readonly cod: number;
27740
+ readonly total: number;
27741
+ }
27742
+
27469
27743
  interface PaymentSummaryV2 {
27470
27744
  readonly discriminator: 'payment_summary_v2';
27471
27745
  readonly id: string;
@@ -27683,6 +27957,7 @@ declare namespace io.flow.internal.v0.models {
27683
27957
  readonly order: io.flow.internal.v0.models.OrderSummary;
27684
27958
  readonly shopper: io.flow.internal.v0.models.ShopperSummary;
27685
27959
  readonly merchant: io.flow.internal.v0.models.MerchantSummary;
27960
+ readonly payment?: io.flow.internal.v0.models.PaymentSummary;
27686
27961
  readonly remittance: io.flow.internal.v0.models.RemittanceResponsibility;
27687
27962
  readonly sequence_number: number;
27688
27963
  readonly posting_cutoff: string;
@@ -27972,6 +28247,7 @@ declare namespace io.flow.internal.v0.models {
27972
28247
  readonly auto_review_status?: io.flow.internal.v0.enums.RestrictionStatus;
27973
28248
  readonly manually_reviewed_at?: string;
27974
28249
  readonly manually_reviewed_by?: string;
28250
+ readonly cause_rule_id?: string;
27975
28251
  }
27976
28252
 
27977
28253
  interface ProductRestrictionRuleDecisionDeleted {
@@ -28509,8 +28785,9 @@ declare namespace io.flow.internal.v0.models {
28509
28785
  readonly id: string;
28510
28786
  readonly status: io.flow.internal.v0.enums.ReportStatus;
28511
28787
  readonly type: io.flow.internal.v0.enums.ReportType;
28512
- readonly from: string;
28513
- readonly to: string;
28788
+ readonly from?: string;
28789
+ readonly to?: string;
28790
+ readonly payment_type?: io.flow.internal.v0.enums.ReportPaymentType;
28514
28791
  readonly url?: string;
28515
28792
  readonly processed_at?: string;
28516
28793
  }
@@ -28533,9 +28810,20 @@ declare namespace io.flow.internal.v0.models {
28533
28810
  }
28534
28811
 
28535
28812
  interface ReportForm {
28536
- readonly from: string;
28537
- readonly to: string;
28538
28813
  readonly type: io.flow.internal.v0.enums.ReportType;
28814
+ readonly from?: string;
28815
+ readonly to?: string;
28816
+ readonly payment_type?: io.flow.internal.v0.enums.ReportPaymentType;
28817
+ readonly orders?: io.flow.internal.v0.models.ReportOrderReference[];
28818
+ }
28819
+
28820
+ interface ReportMerchant {
28821
+ readonly id: string;
28822
+ }
28823
+
28824
+ interface ReportOrderReference {
28825
+ readonly organization_id: string;
28826
+ readonly order_number: string;
28539
28827
  }
28540
28828
 
28541
28829
  interface ReportOwner {
@@ -28622,11 +28910,11 @@ declare namespace io.flow.internal.v0.models {
28622
28910
  readonly sequence_number: number;
28623
28911
  readonly fulfilled_at: string;
28624
28912
  readonly completes_order: boolean;
28625
- readonly payment: io.flow.internal.v0.models.ReportingPayment;
28626
28913
  readonly refund?: io.flow.internal.v0.models.ReportingRefundReference;
28627
28914
  readonly value: io.flow.internal.v0.models.FulfillmentShopperBreakdown;
28628
28915
  readonly dispatch_country?: io.flow.internal.v0.models.ReportingCountry;
28629
28916
  readonly destination?: io.flow.internal.v0.models.ReportingDestination;
28917
+ readonly payment?: io.flow.internal.v0.models.ReportingPayment;
28630
28918
  readonly shipment?: io.flow.internal.v0.models.ReportingShipment;
28631
28919
  readonly is: io.flow.internal.v0.models.ReportingFulfillmentIs;
28632
28920
  readonly has: io.flow.internal.v0.models.ReportingFulfillmentHas;
@@ -28645,6 +28933,11 @@ declare namespace io.flow.internal.v0.models {
28645
28933
  readonly wyol: boolean;
28646
28934
  readonly b2b: boolean;
28647
28935
  readonly domestic: boolean;
28936
+ readonly combined_shipment?: boolean;
28937
+ readonly order_cancelled?: boolean;
28938
+ readonly lvg?: boolean;
28939
+ readonly tax_inclusive?: boolean;
28940
+ readonly duty_inclusive?: boolean;
28648
28941
  }
28649
28942
 
28650
28943
  interface ReportingFx {
@@ -28653,6 +28946,7 @@ declare namespace io.flow.internal.v0.models {
28653
28946
  readonly product: io.flow.internal.v0.models.ReportingUsd;
28654
28947
  readonly tax: io.flow.internal.v0.models.ReportingUsd;
28655
28948
  readonly duty: io.flow.internal.v0.models.ReportingUsd;
28949
+ readonly tips?: io.flow.internal.v0.models.ReportingUsd;
28656
28950
  readonly total: io.flow.internal.v0.models.ReportingUsd;
28657
28951
  }
28658
28952
 
@@ -28670,6 +28964,7 @@ declare namespace io.flow.internal.v0.models {
28670
28964
  readonly processing: io.flow.internal.v0.models.ReportingMonetaryValue;
28671
28965
  readonly rate_lock: io.flow.internal.v0.models.ReportingMonetaryValue;
28672
28966
  readonly transfer: io.flow.internal.v0.models.ReportingMonetaryValue;
28967
+ readonly total?: io.flow.internal.v0.models.ReportingMonetaryValue;
28673
28968
  }
28674
28969
 
28675
28970
  interface ReportingMerchantSubsidies {
@@ -28677,6 +28972,7 @@ declare namespace io.flow.internal.v0.models {
28677
28972
  readonly tax: io.flow.internal.v0.models.ReportingMonetaryValue;
28678
28973
  readonly duty: io.flow.internal.v0.models.ReportingMonetaryValue;
28679
28974
  readonly ccf: io.flow.internal.v0.models.ReportingMonetaryValue;
28975
+ readonly total?: io.flow.internal.v0.models.ReportingMonetaryValue;
28680
28976
  }
28681
28977
 
28682
28978
  interface ReportingMerchantTransactions {
@@ -28685,7 +28981,8 @@ declare namespace io.flow.internal.v0.models {
28685
28981
  readonly tax: io.flow.internal.v0.models.ReportingMonetaryValue;
28686
28982
  readonly duty: io.flow.internal.v0.models.ReportingMonetaryValue;
28687
28983
  readonly freight: io.flow.internal.v0.models.ReportingMonetaryValue;
28688
- readonly refund: io.flow.internal.v0.models.ReportingMonetaryValue;
28984
+ readonly discount?: io.flow.internal.v0.models.ReportingMonetaryValue;
28985
+ readonly total?: io.flow.internal.v0.models.ReportingMonetaryValue;
28689
28986
  }
28690
28987
 
28691
28988
  interface ReportingMonetaryValue {
@@ -28708,25 +29005,14 @@ declare namespace io.flow.internal.v0.models {
28708
29005
  }
28709
29006
 
28710
29007
  interface ReportingPayment {
28711
- readonly metadata?: io.flow.internal.v0.models.ReportingPaymentMetadata;
28712
29008
  readonly psp: io.flow.internal.v0.models.ReportingMonetaryValue;
28713
29009
  readonly credit: io.flow.internal.v0.models.ReportingMonetaryValue;
29010
+ readonly subsidized: io.flow.internal.v0.models.ReportingMonetaryValue;
29011
+ readonly manual: io.flow.internal.v0.models.ReportingMonetaryValue;
29012
+ readonly cod: io.flow.internal.v0.models.ReportingMonetaryValue;
28714
29013
  readonly total: io.flow.internal.v0.models.ReportingMonetaryValue;
28715
29014
  }
28716
29015
 
28717
- interface ReportingPaymentMetadata {
28718
- readonly gateway: io.flow.internal.v0.enums.Processor;
28719
- readonly method: string;
28720
- readonly psp_reference?: string;
28721
- readonly authorization?: io.flow.internal.v0.models.ReportingAuthorizationReference;
28722
- readonly settlement_date: string;
28723
- readonly additional_authorizations?: io.flow.internal.v0.models.ReportingPaymentMetadataAdditionalAuthorizations;
28724
- }
28725
-
28726
- interface ReportingPaymentMetadataAdditionalAuthorizations {
28727
- readonly ids: string;
28728
- }
28729
-
28730
29016
  interface ReportingProvince {
28731
29017
  readonly code?: string;
28732
29018
  readonly name: string;
@@ -28755,6 +29041,7 @@ declare namespace io.flow.internal.v0.models {
28755
29041
  readonly ccf: io.flow.internal.v0.models.ReportingMonetaryValue;
28756
29042
  readonly emergency: io.flow.internal.v0.models.ReportingMonetaryValue;
28757
29043
  readonly peak: io.flow.internal.v0.models.ReportingMonetaryValue;
29044
+ readonly total?: io.flow.internal.v0.models.ReportingMonetaryValue;
28758
29045
  }
28759
29046
 
28760
29047
  interface ReportingUsd {
@@ -28782,6 +29069,10 @@ declare namespace io.flow.internal.v0.models {
28782
29069
  readonly select_mismatching_item_types: boolean;
28783
29070
  }
28784
29071
 
29072
+ interface RescreenRestrictionsProducts {
29073
+ readonly placeholder?: boolean;
29074
+ }
29075
+
28785
29076
  interface RestrictionCategory {
28786
29077
  readonly category: string;
28787
29078
  }
@@ -29055,6 +29346,7 @@ declare namespace io.flow.internal.v0.models {
29055
29346
  readonly shopper: io.flow.internal.v0.models.ShopperSummary;
29056
29347
  readonly merchant: io.flow.internal.v0.models.MerchantSummary;
29057
29348
  readonly remittance: io.flow.internal.v0.models.RemittanceResponsibility;
29349
+ readonly payment?: io.flow.internal.v0.models.PaymentSummary;
29058
29350
  readonly sequence_number: number;
29059
29351
  readonly posting_cutoff: string;
29060
29352
  readonly trigger: io.flow.internal.v0.unions.ReturnTrigger;
@@ -29186,6 +29478,7 @@ declare namespace io.flow.internal.v0.models {
29186
29478
  readonly payment: io.flow.internal.v0.models.ReportPayment;
29187
29479
  readonly bank_account: io.flow.internal.v0.models.ReportBankAccountCleartext;
29188
29480
  readonly account: io.flow.internal.v0.models.ReportAccount;
29481
+ readonly merchant: io.flow.internal.v0.models.ReportMerchant;
29189
29482
  readonly owner: io.flow.internal.v0.models.ReportOwner;
29190
29483
  readonly description: string;
29191
29484
  }
@@ -29254,7 +29547,7 @@ declare namespace io.flow.internal.v0.models {
29254
29547
  readonly discriminator: 'search_experiment_summary';
29255
29548
  readonly key: string;
29256
29549
  readonly name: string;
29257
- readonly status: io.flow.internal.v0.enums.Status;
29550
+ readonly status: io.flow.experiment.internal.v0.enums.Status;
29258
29551
  }
29259
29552
 
29260
29553
  interface SearchItemSummary {
@@ -29899,7 +30192,10 @@ declare namespace io.flow.internal.v0.models {
29899
30192
  readonly id: string;
29900
30193
  readonly initial_catalog_synced_at?: string;
29901
30194
  readonly catalog_sync_duration?: number;
30195
+ readonly restrictions_sync_duration?: number;
30196
+ readonly classifications_sync_duration?: number;
29902
30197
  readonly catalog_products_count?: number;
30198
+ readonly initial_product_restrictions_synced_at?: string;
29903
30199
  }
29904
30200
 
29905
30201
  interface ShopifyShopUpserted {
@@ -29909,9 +30205,9 @@ declare namespace io.flow.internal.v0.models {
29909
30205
  readonly shop: io.flow.internal.v0.models.Shop;
29910
30206
  }
29911
30207
 
29912
- interface ShopifyStorePassword {
29913
- readonly temporary_password: string;
29914
- readonly expiry: string;
30208
+ interface ShopifyStoreDetail {
30209
+ readonly shopify_domain: string;
30210
+ readonly shop_id: string;
29915
30211
  }
29916
30212
 
29917
30213
  interface ShopifyWebhook {
@@ -29971,6 +30267,7 @@ declare namespace io.flow.internal.v0.models {
29971
30267
  readonly product: io.flow.internal.v0.models.ShopperLines;
29972
30268
  readonly fees: io.flow.internal.v0.models.ShopperFees;
29973
30269
  readonly freight: io.flow.internal.v0.models.ShopperFreight;
30270
+ readonly tips?: number;
29974
30271
  readonly order_discount: number;
29975
30272
  readonly total: number;
29976
30273
  }
@@ -30514,7 +30811,7 @@ declare namespace io.flow.internal.v0.models {
30514
30811
  readonly type_id: string;
30515
30812
  readonly source_type?: string;
30516
30813
  readonly source_id?: string;
30517
- readonly environment?: string;
30814
+ readonly environment: io.flow.common.v0.enums.Environment;
30518
30815
  readonly created_at: string;
30519
30816
  readonly num_attempts: number;
30520
30817
  readonly next_attempt_at: string;
@@ -30683,6 +30980,23 @@ declare namespace io.flow.internal.v0.models {
30683
30980
  readonly name: string;
30684
30981
  }
30685
30982
 
30983
+ interface ThiagoItem {
30984
+ readonly id: string;
30985
+ readonly number: string;
30986
+ readonly amount: io.flow.common.v0.models.Price;
30987
+ readonly description?: string;
30988
+ readonly type: io.flow.internal.v0.enums.ThiagoItemType;
30989
+ readonly added_on: string;
30990
+ }
30991
+
30992
+ interface ThiagoItemForm {
30993
+ readonly number: string;
30994
+ readonly amount: io.flow.common.v0.models.Price;
30995
+ readonly description?: string;
30996
+ readonly type: io.flow.internal.v0.enums.ThiagoItemType;
30997
+ readonly added_on: string;
30998
+ }
30999
+
30686
31000
  interface ThirdPartyLogisticsPartner {
30687
31001
  readonly warehouse_address: io.flow.common.v0.models.BillingAddress;
30688
31002
  readonly warehouse_url?: string;
@@ -30761,6 +31075,47 @@ declare namespace io.flow.internal.v0.models {
30761
31075
  readonly timezone: string;
30762
31076
  }
30763
31077
 
31078
+ interface TrackingAssuranceAnalysis {
31079
+ readonly id: string;
31080
+ readonly job_id: string;
31081
+ readonly label_id: string;
31082
+ readonly order_number: string;
31083
+ readonly carrier_tracking_number: string;
31084
+ readonly flow_tracking_number: string;
31085
+ readonly carrier_status: string;
31086
+ readonly aftership_status: string;
31087
+ readonly flow_status: string;
31088
+ readonly latest_carrier_event_date: string;
31089
+ readonly latest_aftership_event_date: string;
31090
+ readonly latest_flow_event_date: string;
31091
+ readonly label_created_at: string;
31092
+ readonly carrier_id: string;
31093
+ readonly carrier_origin_country?: string;
31094
+ readonly label_origin_country: string;
31095
+ readonly label_destination_country: string;
31096
+ readonly carrier_destination_country?: string;
31097
+ }
31098
+
31099
+ interface TrackingAssuranceAnalysisDeleted {
31100
+ readonly discriminator: 'tracking_assurance_analysis_deleted';
31101
+ readonly event_id: string;
31102
+ readonly timestamp: string;
31103
+ readonly organization: string;
31104
+ readonly id: string;
31105
+ }
31106
+
31107
+ interface TrackingAssuranceAnalysisUpserted {
31108
+ readonly discriminator: 'tracking_assurance_analysis_upserted';
31109
+ readonly event_id: string;
31110
+ readonly timestamp: string;
31111
+ readonly organization: string;
31112
+ readonly analysis: io.flow.internal.v0.models.TrackingAssuranceAnalysis;
31113
+ }
31114
+
31115
+ interface TrackingDebugForceTransitForm {
31116
+ readonly description: string;
31117
+ }
31118
+
30764
31119
  interface TrackingDebugLabel {
30765
31120
  readonly in_transit_location?: io.flow.internal.v0.models.TrackingDebugLabelLocation;
30766
31121
  readonly delivery_location?: io.flow.internal.v0.models.TrackingDebugLabelLocation;
@@ -31335,6 +31690,8 @@ declare namespace io.flow.internal.v0.unions {
31335
31690
  | io.flow.internal.v0.models.SalesRecordDeleted
31336
31691
  | io.flow.internal.v0.models.RevenueRecordUpserted
31337
31692
  | io.flow.internal.v0.models.RevenueRecordDeleted
31693
+ | io.flow.internal.v0.models.OtherRecordUpserted
31694
+ | io.flow.internal.v0.models.OtherRecordDeleted
31338
31695
  | io.flow.internal.v0.models.CalculatorOrganizationSettingsUpserted
31339
31696
  | io.flow.internal.v0.models.CalculatorOrganizationSettingsDeleted
31340
31697
  | io.flow.internal.v0.models.CarrierAccountUpsertedV2
@@ -31397,14 +31754,6 @@ declare namespace io.flow.internal.v0.unions {
31397
31754
  | io.flow.internal.v0.models.ExperienceImportRequest
31398
31755
  | io.flow.internal.v0.models.SubmittedOrderUpserted
31399
31756
  | io.flow.internal.v0.models.LevyRateSummaryUpserted
31400
- | io.flow.internal.v0.models.ExperimentUpserted
31401
- | io.flow.internal.v0.models.ExperimentDeleted
31402
- | io.flow.internal.v0.models.ExperimentResultsUpserted
31403
- | io.flow.internal.v0.models.ExperimentResultsDeleted
31404
- | io.flow.internal.v0.models.DailyExperimentResultsUpserted
31405
- | io.flow.internal.v0.models.DailyExperimentResultsDeleted
31406
- | io.flow.internal.v0.models.ExperimentMilestoneUpserted
31407
- | io.flow.internal.v0.models.ExperimentMilestoneDeleted
31408
31757
  | io.flow.internal.v0.models.ExportCompleted
31409
31758
  | io.flow.internal.v0.models.ExportFailed
31410
31759
  | io.flow.internal.v0.models.FeatureUpserted
@@ -31431,14 +31780,20 @@ declare namespace io.flow.internal.v0.unions {
31431
31780
  | io.flow.internal.v0.models.LabelInvoiceRequestDeleted
31432
31781
  | io.flow.internal.v0.models.CarrierChargeUpserted
31433
31782
  | io.flow.internal.v0.models.CarrierChargeDeleted
31434
- | io.flow.internal.v0.models.CarrierFeeUpserted
31435
- | io.flow.internal.v0.models.CarrierFeeDeleted
31783
+ | io.flow.internal.v0.models.BankPaymentOrderUpserted
31784
+ | io.flow.internal.v0.models.BankPaymentOrderDeleted
31436
31785
  | io.flow.internal.v0.models.FraudReviewUpserted
31437
31786
  | io.flow.internal.v0.models.FraudReviewDeleted
31438
31787
  | io.flow.internal.v0.models.FraudPendingReviewUpserted
31439
31788
  | io.flow.internal.v0.models.FraudPendingReviewDeleted
31440
31789
  | io.flow.internal.v0.models.FraudReviewDecisionUpserted
31441
31790
  | io.flow.internal.v0.models.FraudReviewDecisionDeleted
31791
+ | io.flow.internal.v0.models.FraudReviewAuthorizationUpserted
31792
+ | io.flow.internal.v0.models.FraudReviewAuthorizationDeleted
31793
+ | io.flow.internal.v0.models.FraudPendingReviewAuthorizationUpserted
31794
+ | io.flow.internal.v0.models.FraudPendingReviewAuthorizationDeleted
31795
+ | io.flow.internal.v0.models.FraudReviewAuthorizationDecisionUpserted
31796
+ | io.flow.internal.v0.models.FraudReviewAuthorizationDecisionDeleted
31442
31797
  | io.flow.internal.v0.models.FraudProviderConfigurationUpserted
31443
31798
  | io.flow.internal.v0.models.FraudProviderConfigurationDeleted
31444
31799
  | io.flow.internal.v0.models.ManualReviewRuleUpserted
@@ -31516,6 +31871,8 @@ declare namespace io.flow.internal.v0.unions {
31516
31871
  | io.flow.internal.v0.models.OrganizationDeactivationDeleted
31517
31872
  | io.flow.internal.v0.models.MerchantGuidAssignmentUpserted
31518
31873
  | io.flow.internal.v0.models.MerchantGuidAssignmentDeleted
31874
+ | io.flow.internal.v0.models.OrganizationMetadataUpserted
31875
+ | io.flow.internal.v0.models.OrganizationMetadataDeleted
31519
31876
  | io.flow.internal.v0.models.PartnerOrganizationSettingsUpserted
31520
31877
  | io.flow.internal.v0.models.PartnerOrganizationSettingsDeleted
31521
31878
  | io.flow.internal.v0.models.UnassignedMerchantGuidUpserted
@@ -31589,6 +31946,10 @@ declare namespace io.flow.internal.v0.unions {
31589
31946
  | io.flow.internal.v0.models.ShopifyMarketsMetricsDeleted
31590
31947
  | io.flow.internal.v0.models.ChannelOrderSummaryUpserted
31591
31948
  | io.flow.internal.v0.models.ChannelOrderSummaryDeleted
31949
+ | io.flow.internal.v0.models.ChannelOrganizationIdentifierUpserted
31950
+ | io.flow.internal.v0.models.ChannelOrganizationIdentifierDeleted
31951
+ | io.flow.internal.v0.models.OrderTaxAndDutyInclusivitySettingUpserted
31952
+ | io.flow.internal.v0.models.OrderTaxAndDutyInclusivitySettingDeleted
31592
31953
  | io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorEventUpserted
31593
31954
  | io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorEventDeleted
31594
31955
  | io.flow.internal.v0.models.ShopifyOrderFulfillmentsSnapshotUpserted
@@ -31607,8 +31968,16 @@ declare namespace io.flow.internal.v0.unions {
31607
31968
  | io.flow.internal.v0.models.SvitlanaItemDeleted
31608
31969
  | io.flow.internal.v0.models.ColmItemUpserted
31609
31970
  | io.flow.internal.v0.models.ColmItemDeleted
31971
+ | io.flow.internal.v0.models.HarinathItemUpserted
31972
+ | io.flow.internal.v0.models.HarinathItemDeleted
31973
+ | io.flow.internal.v0.models.KonstantinItemUpserted
31974
+ | io.flow.internal.v0.models.KonstantinItemDeleted
31610
31975
  | io.flow.internal.v0.models.MatiasItemUpserted
31611
31976
  | io.flow.internal.v0.models.MatiasItemDeleted
31977
+ | io.flow.internal.v0.models.MichaelyanItemUpserted
31978
+ | io.flow.internal.v0.models.MichaelyanItemDeleted
31979
+ | io.flow.internal.v0.models.MiljenkoItemUpserted
31980
+ | io.flow.internal.v0.models.MiljenkoItemDeleted
31612
31981
  | io.flow.internal.v0.models.ShrutiDemoItemUpserted
31613
31982
  | io.flow.internal.v0.models.ShrutiDemoItemDeleted
31614
31983
  | io.flow.internal.v0.models.TamItemUpserted
@@ -31621,13 +31990,12 @@ declare namespace io.flow.internal.v0.unions {
31621
31990
  | io.flow.internal.v0.models.TrackingLabelDeleted
31622
31991
  | io.flow.internal.v0.models.TrackingUpserted
31623
31992
  | io.flow.internal.v0.models.TrackingDeleted
31993
+ | io.flow.internal.v0.models.TrackingAssuranceAnalysisUpserted
31994
+ | io.flow.internal.v0.models.TrackingAssuranceAnalysisDeleted
31624
31995
  | io.flow.internal.v0.models.TrackingRequestUpserted
31625
31996
  | io.flow.internal.v0.models.TrackingResponseUpserted
31626
31997
  | io.flow.internal.v0.models.UserUpsertedV2
31627
31998
  | io.flow.internal.v0.models.UserDeletedV2;
31628
- type Experiment =
31629
- | io.flow.internal.v0.models.ExperienceExperiment
31630
- | io.flow.internal.v0.models.FeatureExperiment;
31631
31999
  type ExplicitStatementForm =
31632
32000
  | io.flow.internal.v0.models.ExplicitStatementFormTransactionIds
31633
32001
  | io.flow.internal.v0.models.ExplicitStatementFormAllPendingPostedTransactions;
@@ -31817,7 +32185,6 @@ declare namespace io.flow.internal.v0.unions {
31817
32185
  | io.flow.internal.v0.models.TaskImport;
31818
32186
  type TaskMetadata =
31819
32187
  | io.flow.internal.v0.models.StatementCreationMetadata
31820
- | io.flow.internal.v0.models.AccountingFulfillmentMetadata
31821
32188
  | io.flow.internal.v0.models.AccountingPendingOrderMetadata;
31822
32189
  type TaxAmount =
31823
32190
  | io.flow.internal.v0.models.CalculatedTaxAmount
@@ -31844,18 +32211,11 @@ declare namespace io.flow.internal.v0.unions {
31844
32211
  | io.flow.internal.v0.models.TaxTransaction
31845
32212
  | io.flow.internal.v0.models.DutyTransaction
31846
32213
  | io.flow.internal.v0.models.TrueupTransaction
31847
- | io.flow.internal.v0.models.CarrierChargeTransaction
31848
- | io.flow.internal.v0.models.CarrierFeeTransaction;
32214
+ | io.flow.internal.v0.models.CarrierChargeTransaction;
31849
32215
  type TransactionSummary =
31850
32216
  | io.flow.internal.v0.models.PaymentSummaryV2
31851
32217
  | io.flow.internal.v0.models.FraudSummary;
31852
32218
  type ValidationRule = io.flow.internal.v0.models.ValidationCharacterLength;
31853
- type Variant =
31854
- | io.flow.internal.v0.models.ExperienceVariant
31855
- | io.flow.internal.v0.models.FeatureVariant;
31856
- type VariantForm =
31857
- | io.flow.internal.v0.models.ExperienceVariantForm
31858
- | io.flow.internal.v0.models.FeatureVariantForm;
31859
32219
  }
31860
32220
 
31861
32221
  export type Acceptance = io.flow.internal.v0.models.Acceptance;
@@ -31905,8 +32265,6 @@ export type AccountTransactionsExportRequest =
31905
32265
  export type AccountType = io.flow.internal.v0.enums.AccountType;
31906
32266
  export type AccountUpserted = io.flow.internal.v0.models.AccountUpserted;
31907
32267
  export type AccountUpsertedV2 = io.flow.internal.v0.models.AccountUpsertedV2;
31908
- export type AccountingFulfillmentMetadata =
31909
- io.flow.internal.v0.models.AccountingFulfillmentMetadata;
31910
32268
  export type AccountingPendingOrderMetadata =
31911
32269
  io.flow.internal.v0.models.AccountingPendingOrderMetadata;
31912
32270
  export type ActionQuantity = io.flow.internal.v0.models.ActionQuantity;
@@ -32062,8 +32420,6 @@ export type AuthorizedShippingCharge =
32062
32420
  io.flow.internal.v0.models.AuthorizedShippingCharge;
32063
32421
  export type AutoRestrictRule = io.flow.internal.v0.enums.AutoRestrictRule;
32064
32422
  export type AutoReviewCriteria = io.flow.internal.v0.models.AutoReviewCriteria;
32065
- export type Backfill = io.flow.internal.v0.models.Backfill;
32066
- export type BackfillForm = io.flow.internal.v0.models.BackfillForm;
32067
32423
  export type BankAccountReference =
32068
32424
  io.flow.internal.v0.models.BankAccountReference;
32069
32425
  export type BankPayment = io.flow.internal.v0.models.BankPayment;
@@ -32071,6 +32427,10 @@ export type BankPaymentDeletedV2 =
32071
32427
  io.flow.internal.v0.models.BankPaymentDeletedV2;
32072
32428
  export type BankPaymentForm = io.flow.internal.v0.models.BankPaymentForm;
32073
32429
  export type BankPaymentOrder = io.flow.internal.v0.models.BankPaymentOrder;
32430
+ export type BankPaymentOrderDeleted =
32431
+ io.flow.internal.v0.models.BankPaymentOrderDeleted;
32432
+ export type BankPaymentOrderUpserted =
32433
+ io.flow.internal.v0.models.BankPaymentOrderUpserted;
32074
32434
  export type BankPaymentPromiseCompletedMethod =
32075
32435
  io.flow.internal.v0.enums.BankPaymentPromiseCompletedMethod;
32076
32436
  export type BankPaymentReference =
@@ -32237,17 +32597,6 @@ export type CarrierChargeUnits = io.flow.internal.v0.models.CarrierChargeUnits;
32237
32597
  export type CarrierChargeUpserted =
32238
32598
  io.flow.internal.v0.models.CarrierChargeUpserted;
32239
32599
  export type CarrierCredentials = io.flow.internal.v0.unions.CarrierCredentials;
32240
- export type CarrierFee = io.flow.internal.v0.models.CarrierFee;
32241
- export type CarrierFeeDeleted = io.flow.internal.v0.models.CarrierFeeDeleted;
32242
- export type CarrierFeeForm = io.flow.internal.v0.models.CarrierFeeForm;
32243
- export type CarrierFeeTransaction =
32244
- io.flow.internal.v0.models.CarrierFeeTransaction;
32245
- export type CarrierFeeTransactionLabelReference =
32246
- io.flow.internal.v0.models.CarrierFeeTransactionLabelReference;
32247
- export type CarrierFeeTransactionType =
32248
- io.flow.internal.v0.enums.CarrierFeeTransactionType;
32249
- export type CarrierFeeUnits = io.flow.internal.v0.models.CarrierFeeUnits;
32250
- export type CarrierFeeUpserted = io.flow.internal.v0.models.CarrierFeeUpserted;
32251
32600
  export type CarrierFile = io.flow.internal.v0.models.CarrierFile;
32252
32601
  export type CarrierFileForm = io.flow.internal.v0.models.CarrierFileForm;
32253
32602
  export type CarrierFileResult = io.flow.internal.v0.models.CarrierFileResult;
@@ -32255,6 +32604,8 @@ export type CarrierFileType = io.flow.internal.v0.enums.CarrierFileType;
32255
32604
  export type CarrierInvoice = io.flow.internal.v0.models.CarrierInvoice;
32256
32605
  export type CarrierLabelGenerationMethod =
32257
32606
  io.flow.internal.v0.enums.CarrierLabelGenerationMethod;
32607
+ export type CarrierTaxForm = io.flow.internal.v0.models.CarrierTaxForm;
32608
+ export type CarrierTaxUnits = io.flow.internal.v0.models.CarrierTaxUnits;
32258
32609
  export type CarrierValidationStatus =
32259
32610
  io.flow.internal.v0.enums.CarrierValidationStatus;
32260
32611
  export type CatalogImportRequest =
@@ -32361,6 +32712,12 @@ export type ChannelOrderSummaryFulfillmentDetails =
32361
32712
  io.flow.internal.v0.models.ChannelOrderSummaryFulfillmentDetails;
32362
32713
  export type ChannelOrderSummaryUpserted =
32363
32714
  io.flow.internal.v0.models.ChannelOrderSummaryUpserted;
32715
+ export type ChannelOrganizationIdentifier =
32716
+ io.flow.internal.v0.models.ChannelOrganizationIdentifier;
32717
+ export type ChannelOrganizationIdentifierDeleted =
32718
+ io.flow.internal.v0.models.ChannelOrganizationIdentifierDeleted;
32719
+ export type ChannelOrganizationIdentifierUpserted =
32720
+ io.flow.internal.v0.models.ChannelOrganizationIdentifierUpserted;
32364
32721
  export type ChannelOrganizationShopify =
32365
32722
  io.flow.internal.v0.models.ChannelOrganizationShopify;
32366
32723
  export type ChannelOrganizationShopifyForm =
@@ -32477,6 +32834,8 @@ export type ClassificationActionForm =
32477
32834
  io.flow.internal.v0.unions.ClassificationActionForm;
32478
32835
  export type ClassificationActionFormUndo =
32479
32836
  io.flow.internal.v0.models.ClassificationActionFormUndo;
32837
+ export type ClassificationDecision =
32838
+ io.flow.internal.v0.enums.ClassificationDecision;
32480
32839
  export type ClassificationDetails =
32481
32840
  io.flow.internal.v0.models.ClassificationDetails;
32482
32841
  export type ClassificationError =
@@ -32491,12 +32850,22 @@ export type ClassificationJudgementForm =
32491
32850
  io.flow.internal.v0.unions.ClassificationJudgementForm;
32492
32851
  export type ClassificationLabelAttribute =
32493
32852
  io.flow.internal.v0.unions.ClassificationLabelAttribute;
32853
+ export type ClassificationPlatform =
32854
+ io.flow.internal.v0.enums.ClassificationPlatform;
32494
32855
  export type ClassificationProduct =
32495
32856
  io.flow.internal.v0.models.ClassificationProduct;
32496
32857
  export type ClassificationProductHarmonization =
32497
32858
  io.flow.internal.v0.models.ClassificationProductHarmonization;
32498
32859
  export type ClassificationProductId =
32499
32860
  io.flow.internal.v0.models.ClassificationProductId;
32861
+ export type ClassificationProductRequest =
32862
+ io.flow.internal.v0.models.ClassificationProductRequest;
32863
+ export type ClassificationProductRequestEnvelope =
32864
+ io.flow.internal.v0.models.ClassificationProductRequestEnvelope;
32865
+ export type ClassificationProductResult =
32866
+ io.flow.internal.v0.models.ClassificationProductResult;
32867
+ export type ClassificationProductResultEnvelope =
32868
+ io.flow.internal.v0.models.ClassificationProductResultEnvelope;
32500
32869
  export type ClassificationProductSummary =
32501
32870
  io.flow.internal.v0.models.ClassificationProductSummary;
32502
32871
  export type ClassificationProductSummaryPage =
@@ -32511,11 +32880,16 @@ export type ClassificationSummaryReportPayload =
32511
32880
  io.flow.internal.v0.models.ClassificationSummaryReportPayload;
32512
32881
  export type ClassificationTaxonomy =
32513
32882
  io.flow.internal.v0.unions.ClassificationTaxonomy;
32883
+ export type ClassificationType = io.flow.internal.v0.enums.ClassificationType;
32514
32884
  export type ClassificationWrapper =
32515
32885
  io.flow.internal.v0.models.ClassificationWrapper;
32516
32886
  export type ClassifiedProduct = io.flow.internal.v0.models.ClassifiedProduct;
32517
32887
  export type ClassifiedProductDetail =
32518
32888
  io.flow.internal.v0.models.ClassifiedProductDetail;
32889
+ export type CliLogEntry = io.flow.internal.v0.models.CliLogEntry;
32890
+ export type CliLogEntryForm = io.flow.internal.v0.models.CliLogEntryForm;
32891
+ export type ClothingAgeClassification =
32892
+ io.flow.internal.v0.enums.ClothingAgeClassification;
32519
32893
  export type ColmItem = io.flow.internal.v0.models.ColmItem;
32520
32894
  export type ColmItemDeleted = io.flow.internal.v0.models.ColmItemDeleted;
32521
32895
  export type ColmItemForm = io.flow.internal.v0.models.ColmItemForm;
@@ -32531,6 +32905,7 @@ export type CommercialInvoiceInternalUpserted =
32531
32905
  io.flow.internal.v0.models.CommercialInvoiceInternalUpserted;
32532
32906
  export type CommercialInvoiceSummary =
32533
32907
  io.flow.internal.v0.models.CommercialInvoiceSummary;
32908
+ export type Company = io.flow.internal.v0.enums.Company;
32534
32909
  export type CompanyReference = io.flow.internal.v0.models.CompanyReference;
32535
32910
  export type Compliance = io.flow.internal.v0.models.Compliance;
32536
32911
  export type ComplianceData = io.flow.internal.v0.unions.ComplianceData;
@@ -32583,6 +32958,7 @@ export type CryptoAuthentication =
32583
32958
  io.flow.internal.v0.models.CryptoAuthentication;
32584
32959
  export type CryptoAuthenticationForm =
32585
32960
  io.flow.internal.v0.models.CryptoAuthenticationForm;
32961
+ export type CsvTransaction = io.flow.internal.v0.models.CsvTransaction;
32586
32962
  export type CurrencyInternalRate =
32587
32963
  io.flow.internal.v0.models.CurrencyInternalRate;
32588
32964
  export type CustomerPurgeUpserted =
@@ -32606,14 +32982,6 @@ export type CustomsProductAttributeLabel =
32606
32982
  io.flow.internal.v0.models.CustomsProductAttributeLabel;
32607
32983
  export type CustomsProductLabels =
32608
32984
  io.flow.internal.v0.models.CustomsProductLabels;
32609
- export type DailyExperimentEngineResults =
32610
- io.flow.internal.v0.models.DailyExperimentEngineResults;
32611
- export type DailyExperimentResults =
32612
- io.flow.internal.v0.models.DailyExperimentResults;
32613
- export type DailyExperimentResultsDeleted =
32614
- io.flow.internal.v0.models.DailyExperimentResultsDeleted;
32615
- export type DailyExperimentResultsUpserted =
32616
- io.flow.internal.v0.models.DailyExperimentResultsUpserted;
32617
32985
  export type DailyValue = io.flow.internal.v0.models.DailyValue;
32618
32986
  export type DailyValueDeleted = io.flow.internal.v0.models.DailyValueDeleted;
32619
32987
  export type DailyValueUpserted = io.flow.internal.v0.models.DailyValueUpserted;
@@ -32803,8 +33171,6 @@ export type ExclusionRuleUpserted =
32803
33171
  io.flow.internal.v0.models.ExclusionRuleUpserted;
32804
33172
  export type ExpectedOrderSummary =
32805
33173
  io.flow.internal.v0.models.ExpectedOrderSummary;
32806
- export type ExperienceExperiment =
32807
- io.flow.internal.v0.models.ExperienceExperiment;
32808
33174
  export type ExperienceExportRequest =
32809
33175
  io.flow.internal.v0.models.ExperienceExportRequest;
32810
33176
  export type ExperienceImportRequest =
@@ -32819,47 +33185,6 @@ export type ExperienceOrderActionTrigger =
32819
33185
  io.flow.internal.v0.enums.ExperienceOrderActionTrigger;
32820
33186
  export type ExperienceSessionReference =
32821
33187
  io.flow.internal.v0.models.ExperienceSessionReference;
32822
- export type ExperienceVariant = io.flow.internal.v0.models.ExperienceVariant;
32823
- export type ExperienceVariantForm =
32824
- io.flow.internal.v0.models.ExperienceVariantForm;
32825
- export type ExperienceVariantSummary =
32826
- io.flow.internal.v0.models.ExperienceVariantSummary;
32827
- export type Experiment = io.flow.internal.v0.unions.Experiment;
32828
- export type ExperimentDeleted = io.flow.internal.v0.models.ExperimentDeleted;
32829
- export type ExperimentDiscriminatorKey =
32830
- io.flow.internal.v0.enums.ExperimentDiscriminatorKey;
32831
- export type ExperimentEngineResults =
32832
- io.flow.internal.v0.models.ExperimentEngineResults;
32833
- export type ExperimentForm = io.flow.internal.v0.models.ExperimentForm;
32834
- export type ExperimentFormDefault =
32835
- io.flow.internal.v0.models.ExperimentFormDefault;
32836
- export type ExperimentFormDefaultDiscriminator =
32837
- io.flow.internal.v0.models.ExperimentFormDefaultDiscriminator;
32838
- export type ExperimentFormDefaultDiscriminatorValue =
32839
- io.flow.internal.v0.models.ExperimentFormDefaultDiscriminatorValue;
32840
- export type ExperimentFormDefaultVariant =
32841
- io.flow.internal.v0.models.ExperimentFormDefaultVariant;
32842
- export type ExperimentMilestone =
32843
- io.flow.internal.v0.models.ExperimentMilestone;
32844
- export type ExperimentMilestoneDeleted =
32845
- io.flow.internal.v0.models.ExperimentMilestoneDeleted;
32846
- export type ExperimentMilestoneForm =
32847
- io.flow.internal.v0.models.ExperimentMilestoneForm;
32848
- export type ExperimentMilestoneUpserted =
32849
- io.flow.internal.v0.models.ExperimentMilestoneUpserted;
32850
- export type ExperimentReference =
32851
- io.flow.internal.v0.models.ExperimentReference;
32852
- export type ExperimentResults = io.flow.internal.v0.models.ExperimentResults;
32853
- export type ExperimentResultsDeleted =
32854
- io.flow.internal.v0.models.ExperimentResultsDeleted;
32855
- export type ExperimentResultsUpserted =
32856
- io.flow.internal.v0.models.ExperimentResultsUpserted;
32857
- export type ExperimentResultsWithTimestamp =
32858
- io.flow.internal.v0.models.ExperimentResultsWithTimestamp;
32859
- export type ExperimentSessionQueryForm =
32860
- io.flow.internal.v0.models.ExperimentSessionQueryForm;
32861
- export type ExperimentUpserted = io.flow.internal.v0.models.ExperimentUpserted;
32862
- export type ExperimentVersion = io.flow.internal.v0.models.ExperimentVersion;
32863
33188
  export type ExplicitStatement = io.flow.internal.v0.models.ExplicitStatement;
32864
33189
  export type ExplicitStatementForm =
32865
33190
  io.flow.internal.v0.unions.ExplicitStatementForm;
@@ -32888,12 +33213,13 @@ export type ExternalFulfillmentProofTracking =
32888
33213
  export type ExternalFulfillmentProofTrackingForm =
32889
33214
  io.flow.internal.v0.models.ExternalFulfillmentProofTrackingForm;
32890
33215
  export type FacebookPixel = io.flow.internal.v0.models.FacebookPixel;
33216
+ export type FailedDimensionEstimateOpsInputWithReason =
33217
+ io.flow.internal.v0.models.FailedDimensionEstimateOpsInputWithReason;
32891
33218
  export type Feature = io.flow.internal.v0.models.Feature;
32892
33219
  export type FeatureContextForm = io.flow.internal.v0.models.FeatureContextForm;
32893
33220
  export type FeatureDefaultValue =
32894
33221
  io.flow.internal.v0.unions.FeatureDefaultValue;
32895
33222
  export type FeatureDeleted = io.flow.internal.v0.models.FeatureDeleted;
32896
- export type FeatureExperiment = io.flow.internal.v0.models.FeatureExperiment;
32897
33223
  export type FeatureForm = io.flow.internal.v0.models.FeatureForm;
32898
33224
  export type FeatureGeoForm = io.flow.internal.v0.models.FeatureGeoForm;
32899
33225
  export type FeatureIdReference = io.flow.internal.v0.models.FeatureIdReference;
@@ -32913,13 +33239,7 @@ export type FeatureType = io.flow.internal.v0.enums.FeatureType;
32913
33239
  export type FeatureUpserted = io.flow.internal.v0.models.FeatureUpserted;
32914
33240
  export type FeatureValue = io.flow.internal.v0.unions.FeatureValue;
32915
33241
  export type FeatureValueForm = io.flow.internal.v0.models.FeatureValueForm;
32916
- export type FeatureValueReference =
32917
- io.flow.internal.v0.models.FeatureValueReference;
32918
33242
  export type FeatureValueResult = io.flow.internal.v0.models.FeatureValueResult;
32919
- export type FeatureVariant = io.flow.internal.v0.models.FeatureVariant;
32920
- export type FeatureVariantForm = io.flow.internal.v0.models.FeatureVariantForm;
32921
- export type FeatureVariantSummary =
32922
- io.flow.internal.v0.models.FeatureVariantSummary;
32923
33243
  export type Fedex = io.flow.internal.v0.models.Fedex;
32924
33244
  export type FedexCrossborder = io.flow.internal.v0.models.FedexCrossborder;
32925
33245
  export type Fee = io.flow.internal.v0.models.Fee;
@@ -32973,7 +33293,15 @@ export type FlowLabelSettingForm =
32973
33293
  export type FlowShopValidationError =
32974
33294
  io.flow.internal.v0.models.FlowShopValidationError;
32975
33295
  export type Format = io.flow.internal.v0.enums.Format;
33296
+ export type FraudAuthorizationSummary =
33297
+ io.flow.internal.v0.models.FraudAuthorizationSummary;
32976
33298
  export type FraudPendingReview = io.flow.internal.v0.models.FraudPendingReview;
33299
+ export type FraudPendingReviewAuthorization =
33300
+ io.flow.internal.v0.models.FraudPendingReviewAuthorization;
33301
+ export type FraudPendingReviewAuthorizationDeleted =
33302
+ io.flow.internal.v0.models.FraudPendingReviewAuthorizationDeleted;
33303
+ export type FraudPendingReviewAuthorizationUpserted =
33304
+ io.flow.internal.v0.models.FraudPendingReviewAuthorizationUpserted;
32977
33305
  export type FraudPendingReviewDeleted =
32978
33306
  io.flow.internal.v0.models.FraudPendingReviewDeleted;
32979
33307
  export type FraudPendingReviewDetail =
@@ -32995,6 +33323,18 @@ export type FraudProviderConfigurationUpserted =
32995
33323
  io.flow.internal.v0.models.FraudProviderConfigurationUpserted;
32996
33324
  export type FraudProviderStatus = io.flow.internal.v0.enums.FraudProviderStatus;
32997
33325
  export type FraudReview = io.flow.internal.v0.models.FraudReview;
33326
+ export type FraudReviewAuthorization =
33327
+ io.flow.internal.v0.models.FraudReviewAuthorization;
33328
+ export type FraudReviewAuthorizationDecision =
33329
+ io.flow.internal.v0.models.FraudReviewAuthorizationDecision;
33330
+ export type FraudReviewAuthorizationDecisionDeleted =
33331
+ io.flow.internal.v0.models.FraudReviewAuthorizationDecisionDeleted;
33332
+ export type FraudReviewAuthorizationDecisionUpserted =
33333
+ io.flow.internal.v0.models.FraudReviewAuthorizationDecisionUpserted;
33334
+ export type FraudReviewAuthorizationDeleted =
33335
+ io.flow.internal.v0.models.FraudReviewAuthorizationDeleted;
33336
+ export type FraudReviewAuthorizationUpserted =
33337
+ io.flow.internal.v0.models.FraudReviewAuthorizationUpserted;
32998
33338
  export type FraudReviewDecision =
32999
33339
  io.flow.internal.v0.models.FraudReviewDecision;
33000
33340
  export type FraudReviewDecisionDeleted =
@@ -33032,6 +33372,7 @@ export type FulfillmentActionForm =
33032
33372
  export type FulfillmentBusiness =
33033
33373
  io.flow.internal.v0.models.FulfillmentBusiness;
33034
33374
  export type FulfillmentCancel = io.flow.internal.v0.models.FulfillmentCancel;
33375
+ export type FulfillmentCarrier = io.flow.internal.v0.models.FulfillmentCarrier;
33035
33376
  export type FulfillmentDeleted = io.flow.internal.v0.models.FulfillmentDeleted;
33036
33377
  export type FulfillmentInternalExperienceReference =
33037
33378
  io.flow.internal.v0.models.FulfillmentInternalExperienceReference;
@@ -33101,6 +33442,13 @@ export type GoogleShoppingAccountParameters =
33101
33442
  export type GoogleShoppingSetting =
33102
33443
  io.flow.internal.v0.models.GoogleShoppingSetting;
33103
33444
  export type GoogleTagManager = io.flow.internal.v0.models.GoogleTagManager;
33445
+ export type HarinathItem = io.flow.internal.v0.models.HarinathItem;
33446
+ export type HarinathItemDeleted =
33447
+ io.flow.internal.v0.models.HarinathItemDeleted;
33448
+ export type HarinathItemForm = io.flow.internal.v0.models.HarinathItemForm;
33449
+ export type HarinathItemType = io.flow.internal.v0.enums.HarinathItemType;
33450
+ export type HarinathItemUpserted =
33451
+ io.flow.internal.v0.models.HarinathItemUpserted;
33104
33452
  export type HarmonizationClassificationStatisticsData =
33105
33453
  io.flow.internal.v0.models.HarmonizationClassificationStatisticsData;
33106
33454
  export type HarmonizationClassificationStatisticsPublished =
@@ -33109,6 +33457,8 @@ export type HarmonizationCodesImport =
33109
33457
  io.flow.internal.v0.models.HarmonizationCodesImport;
33110
33458
  export type HarmonizationColumnSetting =
33111
33459
  io.flow.internal.v0.models.HarmonizationColumnSetting;
33460
+ export type HarmonizationDecisionSource =
33461
+ io.flow.internal.v0.enums.HarmonizationDecisionSource;
33112
33462
  export type HarmonizationItemClassification =
33113
33463
  io.flow.internal.v0.models.HarmonizationItemClassification;
33114
33464
  export type HarmonizationItemClassificationDeleted =
@@ -33194,6 +33544,7 @@ export type InternalTransactionDetailsCard =
33194
33544
  io.flow.internal.v0.models.InternalTransactionDetailsCard;
33195
33545
  export type InvalidCheckoutData =
33196
33546
  io.flow.internal.v0.models.InvalidCheckoutData;
33547
+ export type Invariant = io.flow.internal.v0.models.Invariant;
33197
33548
  export type InventoryCheckService =
33198
33549
  io.flow.internal.v0.enums.InventoryCheckService;
33199
33550
  export type InventoryOrganizationSettings =
@@ -33277,6 +33628,13 @@ export type KlarnaAuthorizationParameters =
33277
33628
  io.flow.internal.v0.models.KlarnaAuthorizationParameters;
33278
33629
  export type KlarnaPaymentMethodCategory =
33279
33630
  io.flow.internal.v0.models.KlarnaPaymentMethodCategory;
33631
+ export type KonstantinItem = io.flow.internal.v0.models.KonstantinItem;
33632
+ export type KonstantinItemDeleted =
33633
+ io.flow.internal.v0.models.KonstantinItemDeleted;
33634
+ export type KonstantinItemForm = io.flow.internal.v0.models.KonstantinItemForm;
33635
+ export type KonstantinItemType = io.flow.internal.v0.enums.KonstantinItemType;
33636
+ export type KonstantinItemUpserted =
33637
+ io.flow.internal.v0.models.KonstantinItemUpserted;
33280
33638
  export type LabProjectSettings = io.flow.internal.v0.models.LabProjectSettings;
33281
33639
  export type LabProjectSettingsForm =
33282
33640
  io.flow.internal.v0.models.LabProjectSettingsForm;
@@ -33399,6 +33757,12 @@ export type LogisticsCapabilities =
33399
33757
  export type LogisticsCapabilitiesForm =
33400
33758
  io.flow.internal.v0.models.LogisticsCapabilitiesForm;
33401
33759
  export type LogisticsCapability = io.flow.internal.v0.enums.LogisticsCapability;
33760
+ export type LogisticsPayoutRequest =
33761
+ io.flow.internal.v0.models.LogisticsPayoutRequest;
33762
+ export type LogisticsPayoutRequestForm =
33763
+ io.flow.internal.v0.models.LogisticsPayoutRequestForm;
33764
+ export type LogisticsPayoutResolutionMethod =
33765
+ io.flow.internal.v0.enums.LogisticsPayoutResolutionMethod;
33402
33766
  export type Logo = io.flow.internal.v0.models.Logo;
33403
33767
  export type LostChargeback = io.flow.internal.v0.models.LostChargeback;
33404
33768
  export type LoyaltyProgram = io.flow.internal.v0.models.LoyaltyProgram;
@@ -33575,6 +33939,20 @@ export type MessageStamp = io.flow.internal.v0.models.MessageStamp;
33575
33939
  export type MetadataProposition =
33576
33940
  io.flow.internal.v0.models.MetadataProposition;
33577
33941
  export type MetadataRatecard = io.flow.internal.v0.models.MetadataRatecard;
33942
+ export type MichaelyanItem = io.flow.internal.v0.models.MichaelyanItem;
33943
+ export type MichaelyanItemDeleted =
33944
+ io.flow.internal.v0.models.MichaelyanItemDeleted;
33945
+ export type MichaelyanItemForm = io.flow.internal.v0.models.MichaelyanItemForm;
33946
+ export type MichaelyanItemType = io.flow.internal.v0.enums.MichaelyanItemType;
33947
+ export type MichaelyanItemUpserted =
33948
+ io.flow.internal.v0.models.MichaelyanItemUpserted;
33949
+ export type MiljenkoItem = io.flow.internal.v0.models.MiljenkoItem;
33950
+ export type MiljenkoItemDeleted =
33951
+ io.flow.internal.v0.models.MiljenkoItemDeleted;
33952
+ export type MiljenkoItemForm = io.flow.internal.v0.models.MiljenkoItemForm;
33953
+ export type MiljenkoItemType = io.flow.internal.v0.enums.MiljenkoItemType;
33954
+ export type MiljenkoItemUpserted =
33955
+ io.flow.internal.v0.models.MiljenkoItemUpserted;
33578
33956
  export type MixedBagWeight = io.flow.internal.v0.enums.MixedBagWeight;
33579
33957
  export type NatureOfSale = io.flow.internal.v0.enums.NatureOfSale;
33580
33958
  export type NextBillingStatement =
@@ -33697,6 +34075,12 @@ export type OrderShipped = io.flow.internal.v0.models.OrderShipped;
33697
34075
  export type OrderSubmissionForm =
33698
34076
  io.flow.internal.v0.models.OrderSubmissionForm;
33699
34077
  export type OrderSummary = io.flow.internal.v0.models.OrderSummary;
34078
+ export type OrderTaxAndDutyInclusivitySetting =
34079
+ io.flow.internal.v0.models.OrderTaxAndDutyInclusivitySetting;
34080
+ export type OrderTaxAndDutyInclusivitySettingDeleted =
34081
+ io.flow.internal.v0.models.OrderTaxAndDutyInclusivitySettingDeleted;
34082
+ export type OrderTaxAndDutyInclusivitySettingUpserted =
34083
+ io.flow.internal.v0.models.OrderTaxAndDutyInclusivitySettingUpserted;
33700
34084
  export type OrderTransaction = io.flow.internal.v0.models.OrderTransaction;
33701
34085
  export type OrderTransactionDeleted =
33702
34086
  io.flow.internal.v0.models.OrderTransactionDeleted;
@@ -33773,6 +34157,12 @@ export type OrganizationMembershipCopy =
33773
34157
  io.flow.internal.v0.models.OrganizationMembershipCopy;
33774
34158
  export type OrganizationMembershipCopyForm =
33775
34159
  io.flow.internal.v0.models.OrganizationMembershipCopyForm;
34160
+ export type OrganizationMetadata =
34161
+ io.flow.internal.v0.models.OrganizationMetadata;
34162
+ export type OrganizationMetadataDeleted =
34163
+ io.flow.internal.v0.models.OrganizationMetadataDeleted;
34164
+ export type OrganizationMetadataUpserted =
34165
+ io.flow.internal.v0.models.OrganizationMetadataUpserted;
33776
34166
  export type OrganizationMetricType =
33777
34167
  io.flow.internal.v0.enums.OrganizationMetricType;
33778
34168
  export type OrganizationOnboardingStateAdjustmentResult =
@@ -33831,6 +34221,42 @@ export type OrganizationStatusChangeUpserted =
33831
34221
  io.flow.internal.v0.models.OrganizationStatusChangeUpserted;
33832
34222
  export type OrganizationsAuditCheckReport =
33833
34223
  io.flow.internal.v0.models.OrganizationsAuditCheckReport;
34224
+ export type OtherRecord = io.flow.internal.v0.models.OtherRecord;
34225
+ export type OtherRecordAccount = io.flow.internal.v0.models.OtherRecordAccount;
34226
+ export type OtherRecordAccountSourceSummary =
34227
+ io.flow.internal.v0.models.OtherRecordAccountSourceSummary;
34228
+ export type OtherRecordDeleted = io.flow.internal.v0.models.OtherRecordDeleted;
34229
+ export type OtherRecordDiscount =
34230
+ io.flow.internal.v0.models.OtherRecordDiscount;
34231
+ export type OtherRecordFees = io.flow.internal.v0.models.OtherRecordFees;
34232
+ export type OtherRecordIdentifiers =
34233
+ io.flow.internal.v0.models.OtherRecordIdentifiers;
34234
+ export type OtherRecordMerchantReference =
34235
+ io.flow.internal.v0.models.OtherRecordMerchantReference;
34236
+ export type OtherRecordMetadata =
34237
+ io.flow.internal.v0.models.OtherRecordMetadata;
34238
+ export type OtherRecordMetadataCarrierCharge =
34239
+ io.flow.internal.v0.models.OtherRecordMetadataCarrierCharge;
34240
+ export type OtherRecordMetadataChannel =
34241
+ io.flow.internal.v0.models.OtherRecordMetadataChannel;
34242
+ export type OtherRecordMetadataFailedPayout =
34243
+ io.flow.internal.v0.models.OtherRecordMetadataFailedPayout;
34244
+ export type OtherRecordMetadataManual =
34245
+ io.flow.internal.v0.models.OtherRecordMetadataManual;
34246
+ export type OtherRecordMetadataShippingLabel =
34247
+ io.flow.internal.v0.models.OtherRecordMetadataShippingLabel;
34248
+ export type OtherRecordMetadataShippingLabelRevenueShare =
34249
+ io.flow.internal.v0.models.OtherRecordMetadataShippingLabelRevenueShare;
34250
+ export type OtherRecordMetadataTrueup =
34251
+ io.flow.internal.v0.models.OtherRecordMetadataTrueup;
34252
+ export type OtherRecordOrderSummary =
34253
+ io.flow.internal.v0.models.OtherRecordOrderSummary;
34254
+ export type OtherRecordOrderSummaryIdentifiers =
34255
+ io.flow.internal.v0.models.OtherRecordOrderSummaryIdentifiers;
34256
+ export type OtherRecordUpserted =
34257
+ io.flow.internal.v0.models.OtherRecordUpserted;
34258
+ export type OtherRecordWithholdings =
34259
+ io.flow.internal.v0.models.OtherRecordWithholdings;
33834
34260
  export type OutputStyle = io.flow.internal.v0.enums.OutputStyle;
33835
34261
  export type Owner = io.flow.internal.v0.enums.Owner;
33836
34262
  export type Partner = io.flow.internal.v0.models.Partner;
@@ -33880,6 +34306,7 @@ export type PaymentProcessorMerchantDeleted =
33880
34306
  export type PaymentProcessorMerchantUpserted =
33881
34307
  io.flow.internal.v0.models.PaymentProcessorMerchantUpserted;
33882
34308
  export type PaymentRedirect = io.flow.internal.v0.unions.PaymentRedirect;
34309
+ export type PaymentSummary = io.flow.internal.v0.models.PaymentSummary;
33883
34310
  export type PaymentSummaryDetails =
33884
34311
  io.flow.internal.v0.unions.PaymentSummaryDetails;
33885
34312
  export type PaymentSummaryStatus =
@@ -34158,8 +34585,12 @@ export type ReportBankAccountCleartext =
34158
34585
  io.flow.internal.v0.models.ReportBankAccountCleartext;
34159
34586
  export type ReportForm = io.flow.internal.v0.models.ReportForm;
34160
34587
  export type ReportInterval = io.flow.internal.v0.enums.ReportInterval;
34588
+ export type ReportMerchant = io.flow.internal.v0.models.ReportMerchant;
34589
+ export type ReportOrderReference =
34590
+ io.flow.internal.v0.models.ReportOrderReference;
34161
34591
  export type ReportOwner = io.flow.internal.v0.models.ReportOwner;
34162
34592
  export type ReportPayment = io.flow.internal.v0.models.ReportPayment;
34593
+ export type ReportPaymentType = io.flow.internal.v0.enums.ReportPaymentType;
34163
34594
  export type ReportRuleDecision = io.flow.internal.v0.models.ReportRuleDecision;
34164
34595
  export type ReportStatus = io.flow.internal.v0.enums.ReportStatus;
34165
34596
  export type ReportSummary = io.flow.internal.v0.models.ReportSummary;
@@ -34203,10 +34634,6 @@ export type ReportingOrderSummary =
34203
34634
  export type ReportingOrganizationSummary =
34204
34635
  io.flow.internal.v0.models.ReportingOrganizationSummary;
34205
34636
  export type ReportingPayment = io.flow.internal.v0.models.ReportingPayment;
34206
- export type ReportingPaymentMetadata =
34207
- io.flow.internal.v0.models.ReportingPaymentMetadata;
34208
- export type ReportingPaymentMetadataAdditionalAuthorizations =
34209
- io.flow.internal.v0.models.ReportingPaymentMetadataAdditionalAuthorizations;
34210
34637
  export type ReportingProvince = io.flow.internal.v0.models.ReportingProvince;
34211
34638
  export type ReportingReconciliation =
34212
34639
  io.flow.internal.v0.models.ReportingReconciliation;
@@ -34223,6 +34650,8 @@ export type ReportingVatRemittanceRate =
34223
34650
  io.flow.internal.v0.models.ReportingVatRemittanceRate;
34224
34651
  export type ReportingVendor = io.flow.internal.v0.models.ReportingVendor;
34225
34652
  export type RequeueRequestForm = io.flow.internal.v0.models.RequeueRequestForm;
34653
+ export type RescreenRestrictionsProducts =
34654
+ io.flow.internal.v0.models.RescreenRestrictionsProducts;
34226
34655
  export type ResponsibleParty = io.flow.internal.v0.enums.ResponsibleParty;
34227
34656
  export type RestrictionAction = io.flow.internal.v0.enums.RestrictionAction;
34228
34657
  export type RestrictionCategory =
@@ -34316,7 +34745,6 @@ export type SalesRecordUpserted =
34316
34745
  export type SandboxSetup = io.flow.internal.v0.models.SandboxSetup;
34317
34746
  export type SandboxSetupForm = io.flow.internal.v0.models.SandboxSetupForm;
34318
34747
  export type ScheduledPayment = io.flow.internal.v0.models.ScheduledPayment;
34319
- export type Scope = io.flow.internal.v0.enums.Scope;
34320
34748
  export type Screen = io.flow.internal.v0.models.Screen;
34321
34749
  export type ScreenForm = io.flow.internal.v0.models.ScreenForm;
34322
34750
  export type ScreeningStatusChange =
@@ -34550,8 +34978,7 @@ export type ShopifyShopStatistics =
34550
34978
  io.flow.internal.v0.models.ShopifyShopStatistics;
34551
34979
  export type ShopifyShopUpserted =
34552
34980
  io.flow.internal.v0.models.ShopifyShopUpserted;
34553
- export type ShopifyStorePassword =
34554
- io.flow.internal.v0.models.ShopifyStorePassword;
34981
+ export type ShopifyStoreDetail = io.flow.internal.v0.models.ShopifyStoreDetail;
34555
34982
  export type ShopifyWebhook = io.flow.internal.v0.models.ShopifyWebhook;
34556
34983
  export type ShopifyWebhookEvent =
34557
34984
  io.flow.internal.v0.models.ShopifyWebhookEvent;
@@ -34568,7 +34995,6 @@ export type ShrutiDemoItemForm = io.flow.internal.v0.models.ShrutiDemoItemForm;
34568
34995
  export type ShrutiDemoItemUpserted =
34569
34996
  io.flow.internal.v0.models.ShrutiDemoItemUpserted;
34570
34997
  export type ShrutiDemoType = io.flow.internal.v0.enums.ShrutiDemoType;
34571
- export type SignificanceAction = io.flow.internal.v0.enums.SignificanceAction;
34572
34998
  export type SimpleAccountReference =
34573
34999
  io.flow.internal.v0.models.SimpleAccountReference;
34574
35000
  export type SimpleRoundingStrategy =
@@ -34614,7 +35040,6 @@ export type StatementStatus = io.flow.internal.v0.enums.StatementStatus;
34614
35040
  export type StatementTransferTransactionLocation =
34615
35041
  io.flow.internal.v0.enums.StatementTransferTransactionLocation;
34616
35042
  export type StatisticType = io.flow.internal.v0.enums.StatisticType;
34617
- export type Status = io.flow.internal.v0.enums.Status;
34618
35043
  export type StoreConnection = io.flow.internal.v0.models.StoreConnection;
34619
35044
  export type StoreConnectionForm =
34620
35045
  io.flow.internal.v0.models.StoreConnectionForm;
@@ -34709,6 +35134,8 @@ export type TaskProcessQueuedEvent =
34709
35134
  export type TaskProcessorKey = io.flow.internal.v0.enums.TaskProcessorKey;
34710
35135
  export type TaskSummarizeCode = io.flow.internal.v0.models.TaskSummarizeCode;
34711
35136
  export type TaxAmount = io.flow.internal.v0.unions.TaxAmount;
35137
+ export type TaxAndDutyInclusivitySetting =
35138
+ io.flow.internal.v0.enums.TaxAndDutyInclusivitySetting;
34712
35139
  export type TaxCalculation = io.flow.internal.v0.models.TaxCalculation;
34713
35140
  export type TaxCalculationError =
34714
35141
  io.flow.internal.v0.models.TaxCalculationError;
@@ -34738,6 +35165,9 @@ export type TechOnboardingDescription =
34738
35165
  io.flow.internal.v0.models.TechOnboardingDescription;
34739
35166
  export type Test = io.flow.internal.v0.models.Test;
34740
35167
  export type TestForm = io.flow.internal.v0.models.TestForm;
35168
+ export type ThiagoItem = io.flow.internal.v0.models.ThiagoItem;
35169
+ export type ThiagoItemForm = io.flow.internal.v0.models.ThiagoItemForm;
35170
+ export type ThiagoItemType = io.flow.internal.v0.enums.ThiagoItemType;
34741
35171
  export type ThirdPartyLogisticsPartner =
34742
35172
  io.flow.internal.v0.models.ThirdPartyLogisticsPartner;
34743
35173
  export type ThirdPartyLogisticsPickUpTimeWindow =
@@ -34756,8 +35186,15 @@ export type TimeToClassifyDeleted =
34756
35186
  export type TimeToClassifyUpserted =
34757
35187
  io.flow.internal.v0.models.TimeToClassifyUpserted;
34758
35188
  export type TimeWithTimezone = io.flow.internal.v0.models.TimeWithTimezone;
34759
- export type TimeseriesType = io.flow.internal.v0.enums.TimeseriesType;
34760
35189
  export type Tracker = io.flow.internal.v0.unions.Tracker;
35190
+ export type TrackingAssuranceAnalysis =
35191
+ io.flow.internal.v0.models.TrackingAssuranceAnalysis;
35192
+ export type TrackingAssuranceAnalysisDeleted =
35193
+ io.flow.internal.v0.models.TrackingAssuranceAnalysisDeleted;
35194
+ export type TrackingAssuranceAnalysisUpserted =
35195
+ io.flow.internal.v0.models.TrackingAssuranceAnalysisUpserted;
35196
+ export type TrackingDebugForceTransitForm =
35197
+ io.flow.internal.v0.models.TrackingDebugForceTransitForm;
34761
35198
  export type TrackingDebugLabel = io.flow.internal.v0.models.TrackingDebugLabel;
34762
35199
  export type TrackingDebugLabelEvent =
34763
35200
  io.flow.internal.v0.models.TrackingDebugLabelEvent;
@@ -34859,8 +35296,6 @@ export type V1Checkout = io.flow.internal.v0.models.V1Checkout;
34859
35296
  export type ValidationCharacterLength =
34860
35297
  io.flow.internal.v0.models.ValidationCharacterLength;
34861
35298
  export type ValidationRule = io.flow.internal.v0.unions.ValidationRule;
34862
- export type Variant = io.flow.internal.v0.unions.Variant;
34863
- export type VariantForm = io.flow.internal.v0.unions.VariantForm;
34864
35299
  export type ViesResult = io.flow.internal.v0.models.ViesResult;
34865
35300
  export type VirtualCardTransaction =
34866
35301
  io.flow.internal.v0.models.VirtualCardTransaction;