@flowio/api-internal-prop-types 9.21.0 → 9.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api-internal.d.ts +740 -226
- package/lib/api-internal.js +1 -1
- package/package.json +2 -2
- package/src/api-internal.d.ts +740 -226
- package/src/api-internal.js +701 -121
package/src/api-internal.d.ts
CHANGED
|
@@ -2158,6 +2158,28 @@ declare namespace io.flow.tracking.v0.models {
|
|
|
2158
2158
|
}
|
|
2159
2159
|
}
|
|
2160
2160
|
|
|
2161
|
+
declare namespace io.flow.invoice.v0.enums {
|
|
2162
|
+
type PaymentTerm = 'net7' | 'net15' | 'net30';
|
|
2163
|
+
}
|
|
2164
|
+
|
|
2165
|
+
declare namespace io.flow.invoice.v0.models {
|
|
2166
|
+
interface Invoice {
|
|
2167
|
+
readonly 'id': string;
|
|
2168
|
+
readonly 'number': string;
|
|
2169
|
+
readonly 'date': string;
|
|
2170
|
+
readonly 'terms': io.flow.invoice.v0.enums.PaymentTerm;
|
|
2171
|
+
readonly 'due_date': string;
|
|
2172
|
+
readonly 'lines': io.flow.invoice.v0.models.InvoiceLine[];
|
|
2173
|
+
readonly 'total': io.flow.common.v0.models.Price;
|
|
2174
|
+
}
|
|
2175
|
+
|
|
2176
|
+
interface InvoiceLine {
|
|
2177
|
+
readonly 'id': string;
|
|
2178
|
+
readonly 'description': string;
|
|
2179
|
+
readonly 'value': io.flow.common.v0.models.Price;
|
|
2180
|
+
}
|
|
2181
|
+
}
|
|
2182
|
+
|
|
2161
2183
|
declare namespace io.flow.token.internal.v0.models {
|
|
2162
2184
|
interface ChannelTokenForm {
|
|
2163
2185
|
readonly 'channel_id': string;
|
|
@@ -3272,6 +3294,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
3272
3294
|
readonly 'payment_state'?: string;
|
|
3273
3295
|
readonly 'payer_email'?: string;
|
|
3274
3296
|
readonly 'payer_status'?: string;
|
|
3297
|
+
readonly 'approval_url'?: string;
|
|
3275
3298
|
}
|
|
3276
3299
|
|
|
3277
3300
|
interface PaypalAuthorizationForm {
|
|
@@ -3614,8 +3637,6 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
3614
3637
|
type DeclineCode = 'approve_with_id' | 'call_issuer' | 'card_not_supported' | 'card_velocity_exceeded' | 'currency_not_supported' | 'do_not_honor' | 'do_not_try_again' | 'duplicate_transaction' | 'expired_card' | 'fraudulent' | 'generic_decline' | 'incorrect_number' | 'incorrect_cvc' | 'incorrect_pin' | 'incorrect_zip' | 'insufficient_funds' | 'invalid_account' | 'invalid_amount' | 'invalid_cvc' | 'invalid_expiry_year' | 'invalid_number' | 'invalid_pin' | 'issuer_not_available' | 'lost_card' | 'new_account_information_available' | 'no_action_taken' | 'not_permitted' | 'pickup_card' | 'pin_try_exceeded' | 'processing_error' | 'reenter_transaction' | 'restricted_card' | 'revocation_of_all_authorizations' | 'revocation_of_authorization' | 'security_violation' | 'service_not_allowed' | 'stolen_card' | 'stop_payment_order' | 'testmode_decline' | 'transaction_not_allowed' | 'try_again_later' | 'withdrawal_count_limit_exceeded';
|
|
3615
3638
|
type ErrorType = 'api_connection_error' | 'api_error' | 'authentication_error' | 'card_error' | 'idempotency_error' | 'invalid_request_error' | 'rate_limit_error' | 'validation_error';
|
|
3616
3639
|
type EventType = 'charge.captured' | 'charge.failed' | 'charge.pending' | 'charge.refunded' | 'charge.refund.updated' | 'charge.succeeded' | 'charge.updated' | 'payment_intent.amount_capturable_updated' | 'payment_intent.payment_failed' | 'payment_intent.succeeded' | 'source.canceled' | 'source.chargeable' | 'source.failed';
|
|
3617
|
-
type KlarnaPaymentMethodCategoryType = 'direct_bank_transfer' | 'direct_debit' | 'pay_later' | 'pay_now' | 'pay_over_time';
|
|
3618
|
-
type KlarnaProduct = 'payment';
|
|
3619
3640
|
type NetworkStatus = 'approved_by_network' | 'declined_by_network' | 'not_sent_to_network' | 'reversed_after_approval';
|
|
3620
3641
|
type NextActionType = 'redirect_to_url' | 'use_stripe_sdk';
|
|
3621
3642
|
type OrderItemType = 'sku' | 'tax' | 'shipping' | 'discount';
|
|
@@ -3873,7 +3894,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3873
3894
|
}
|
|
3874
3895
|
|
|
3875
3896
|
interface OrderItem {
|
|
3876
|
-
readonly 'object'
|
|
3897
|
+
readonly 'object': string;
|
|
3877
3898
|
readonly 'amount': number;
|
|
3878
3899
|
readonly 'currency': string;
|
|
3879
3900
|
readonly 'description'?: string;
|
|
@@ -4115,7 +4136,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
4115
4136
|
|
|
4116
4137
|
interface Shipping {
|
|
4117
4138
|
readonly 'address': io.flow.stripe.v0.models.Address;
|
|
4118
|
-
readonly 'name'
|
|
4139
|
+
readonly 'name': string;
|
|
4119
4140
|
readonly 'phone'?: string;
|
|
4120
4141
|
}
|
|
4121
4142
|
|
|
@@ -4138,7 +4159,6 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
4138
4159
|
readonly 'status': io.flow.stripe.v0.enums.SourceStatus;
|
|
4139
4160
|
readonly 'type': io.flow.stripe.v0.enums.SourceType;
|
|
4140
4161
|
readonly 'usage': io.flow.stripe.v0.enums.SourceUsageType;
|
|
4141
|
-
readonly 'source_order'?: io.flow.stripe.v0.models.SourceOrder;
|
|
4142
4162
|
}
|
|
4143
4163
|
|
|
4144
4164
|
interface SourceCard {
|
|
@@ -4169,50 +4189,12 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
4169
4189
|
readonly 'first_name'?: string;
|
|
4170
4190
|
readonly 'last_name'?: string;
|
|
4171
4191
|
readonly 'client_token': string;
|
|
4172
|
-
readonly 'payment_method_categories'?: string;
|
|
4173
|
-
readonly 'purchase_country'?: string;
|
|
4174
|
-
readonly 'shipping_first_name'?: string;
|
|
4175
|
-
readonly 'shipping_last_name'?: string;
|
|
4176
|
-
readonly 'locale'?: string;
|
|
4177
|
-
readonly 'pay_later_name'?: string;
|
|
4178
|
-
readonly 'pay_later_asset_urls_standard'?: string;
|
|
4179
|
-
readonly 'pay_later_asset_urls_descriptive'?: string;
|
|
4180
|
-
readonly 'pay_now_name'?: string;
|
|
4181
|
-
readonly 'pay_now_asset_urls_standard'?: string;
|
|
4182
|
-
readonly 'pay_now_asset_urls_descriptive'?: string;
|
|
4183
|
-
readonly 'pay_over_time_name'?: string;
|
|
4184
|
-
readonly 'pay_over_time_asset_urls_standard'?: string;
|
|
4185
|
-
readonly 'pay_over_time_asset_urls_descriptive'?: string;
|
|
4186
|
-
readonly 'direct_bank_transfer_name'?: string;
|
|
4187
|
-
readonly 'direct_bank_transfer_asset_urls_standard'?: string;
|
|
4188
|
-
readonly 'direct_bank_transfer_asset_urls_descriptive'?: string;
|
|
4189
|
-
readonly 'direct_debit_name'?: string;
|
|
4190
|
-
readonly 'direct_debit_asset_urls_standard'?: string;
|
|
4191
|
-
readonly 'direct_debit_asset_urls_descriptive'?: string;
|
|
4192
4192
|
}
|
|
4193
4193
|
|
|
4194
4194
|
interface SourceKlarnaRequest {
|
|
4195
4195
|
readonly 'first_name': string;
|
|
4196
4196
|
readonly 'last_name': string;
|
|
4197
|
-
readonly 'purchase_country'?: string;
|
|
4198
|
-
readonly 'product'?: io.flow.stripe.v0.enums.KlarnaProduct;
|
|
4199
4197
|
readonly 'attachment'?: string;
|
|
4200
|
-
readonly 'shipping_first_name'?: string;
|
|
4201
|
-
readonly 'shipping_last_name'?: string;
|
|
4202
|
-
readonly 'locale'?: string;
|
|
4203
|
-
}
|
|
4204
|
-
|
|
4205
|
-
interface SourceOrder {
|
|
4206
|
-
readonly 'amount'?: number;
|
|
4207
|
-
readonly 'currency'?: string;
|
|
4208
|
-
readonly 'email'?: string;
|
|
4209
|
-
readonly 'items'?: io.flow.stripe.v0.models.OrderItem[];
|
|
4210
|
-
readonly 'shipping'?: io.flow.stripe.v0.models.Shipping;
|
|
4211
|
-
}
|
|
4212
|
-
|
|
4213
|
-
interface SourceOrderRequest {
|
|
4214
|
-
readonly 'items'?: io.flow.stripe.v0.models.OrderItemRequest[];
|
|
4215
|
-
readonly 'shipping'?: io.flow.stripe.v0.models.Shipping;
|
|
4216
4198
|
}
|
|
4217
4199
|
|
|
4218
4200
|
interface SourceRequest {
|
|
@@ -4230,7 +4212,6 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
4230
4212
|
readonly 'three_d_secure'?: io.flow.stripe.v0.models.ThreeDSecure;
|
|
4231
4213
|
readonly 'token'?: string;
|
|
4232
4214
|
readonly 'usage': io.flow.stripe.v0.enums.SourceUsageType;
|
|
4233
|
-
readonly 'source_order'?: io.flow.stripe.v0.models.SourceOrderRequest;
|
|
4234
4215
|
}
|
|
4235
4216
|
|
|
4236
4217
|
interface Stripe3Ds2Fingerprint {
|
|
@@ -5257,7 +5238,7 @@ declare namespace io.flow.brickftp.v0.models {
|
|
|
5257
5238
|
readonly 'id': number;
|
|
5258
5239
|
readonly 'path': string;
|
|
5259
5240
|
readonly 'behavior': io.flow.brickftp.v0.enums.BehaviorType;
|
|
5260
|
-
readonly 'value':
|
|
5241
|
+
readonly 'value': string[];
|
|
5261
5242
|
}
|
|
5262
5243
|
|
|
5263
5244
|
interface BehaviorForm {
|
|
@@ -5408,11 +5389,6 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5408
5389
|
readonly 'currency': string;
|
|
5409
5390
|
}
|
|
5410
5391
|
|
|
5411
|
-
interface Applepay {
|
|
5412
|
-
readonly 'type': 'applepay';
|
|
5413
|
-
readonly 'applePayToken': string;
|
|
5414
|
-
}
|
|
5415
|
-
|
|
5416
5392
|
interface Authentication {
|
|
5417
5393
|
readonly 'threeds2.fingerprintToken'?: string;
|
|
5418
5394
|
readonly 'threeds2.challengeToken'?: string;
|
|
@@ -5440,8 +5416,6 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5440
5416
|
readonly 'browserInfo'?: io.flow.adyen.v0.unions.BrowserInfo;
|
|
5441
5417
|
readonly 'threeDS2RequestData'?: io.flow.adyen.v0.models.Threeds2RequestData;
|
|
5442
5418
|
readonly 'recurringProcessingModel'?: io.flow.adyen.v0.enums.RecurringProcessingModel;
|
|
5443
|
-
readonly 'mcc'?: string;
|
|
5444
|
-
readonly 'metadata'?: any/*object*/;
|
|
5445
5419
|
}
|
|
5446
5420
|
|
|
5447
5421
|
interface AuthorizeRequest3D {
|
|
@@ -5598,14 +5572,6 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5598
5572
|
readonly 'paymentData'?: string;
|
|
5599
5573
|
}
|
|
5600
5574
|
|
|
5601
|
-
interface PaymentDetailsV663Ds2Challenge {
|
|
5602
|
-
readonly 'threeds2.challengeResult': string;
|
|
5603
|
-
}
|
|
5604
|
-
|
|
5605
|
-
interface PaymentDetailsV663Ds2Fingerprint {
|
|
5606
|
-
readonly 'threeds2.fingerprint': string;
|
|
5607
|
-
}
|
|
5608
|
-
|
|
5609
5575
|
interface PaymentRequest {
|
|
5610
5576
|
readonly 'reference': string;
|
|
5611
5577
|
readonly 'merchantAccount': string;
|
|
@@ -5627,9 +5593,7 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5627
5593
|
readonly 'browserInfo'?: io.flow.adyen.v0.unions.BrowserInfo;
|
|
5628
5594
|
readonly 'origin'?: string;
|
|
5629
5595
|
readonly 'channel'?: io.flow.adyen.v0.enums.Channel;
|
|
5630
|
-
readonly '
|
|
5631
|
-
readonly 'mcc'?: string;
|
|
5632
|
-
readonly 'metadata'?: any/*object*/;
|
|
5596
|
+
readonly 'returnURL'?: string;
|
|
5633
5597
|
}
|
|
5634
5598
|
|
|
5635
5599
|
interface PaymentResponse {
|
|
@@ -5685,15 +5649,6 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5685
5649
|
readonly 'cvc'?: string;
|
|
5686
5650
|
}
|
|
5687
5651
|
|
|
5688
|
-
interface SdkV3OnCompleteData {
|
|
5689
|
-
readonly 'details': any/*object*/;
|
|
5690
|
-
readonly 'payment_data'?: string;
|
|
5691
|
-
}
|
|
5692
|
-
|
|
5693
|
-
interface SdkV3OnCompleteResult {
|
|
5694
|
-
readonly 'data': io.flow.adyen.v0.models.SdkV3OnCompleteData;
|
|
5695
|
-
}
|
|
5696
|
-
|
|
5697
5652
|
interface ThreeDSecureData {
|
|
5698
5653
|
readonly 'authenticationResponse'?: string;
|
|
5699
5654
|
readonly 'cavv'?: string;
|
|
@@ -5723,7 +5678,7 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5723
5678
|
|
|
5724
5679
|
declare namespace io.flow.adyen.v0.unions {
|
|
5725
5680
|
type BrowserInfo = (io.flow.adyen.v0.models.BrowserInfo3Ds1 | io.flow.adyen.v0.models.BrowserInfo3Ds2);
|
|
5726
|
-
type PaymentMethodData = (io.flow.adyen.v0.models.Scheme
|
|
5681
|
+
type PaymentMethodData = (io.flow.adyen.v0.models.Scheme);
|
|
5727
5682
|
}
|
|
5728
5683
|
|
|
5729
5684
|
declare namespace io.flow.order.management.v0.enums {
|
|
@@ -8768,14 +8723,10 @@ declare namespace io.flow.crypto.v0.models {
|
|
|
8768
8723
|
readonly 'publishable_key': string;
|
|
8769
8724
|
}
|
|
8770
8725
|
|
|
8771
|
-
interface Error {
|
|
8772
|
-
readonly 'type'?: io.flow.crypto.v0.enums.ErrorType;
|
|
8773
|
-
readonly 'code'?: string;
|
|
8774
|
-
readonly 'param'?: string;
|
|
8775
|
-
}
|
|
8776
|
-
|
|
8777
8726
|
interface ErrorResponse {
|
|
8778
|
-
readonly '
|
|
8727
|
+
readonly 'type': io.flow.crypto.v0.enums.ErrorType;
|
|
8728
|
+
readonly 'code': string;
|
|
8729
|
+
readonly 'param': string;
|
|
8779
8730
|
}
|
|
8780
8731
|
|
|
8781
8732
|
interface Payment {
|
|
@@ -8795,6 +8746,7 @@ declare namespace io.flow.crypto.v0.models {
|
|
|
8795
8746
|
readonly 'recipient': string;
|
|
8796
8747
|
readonly 'refunded': boolean;
|
|
8797
8748
|
readonly 'status': io.flow.crypto.v0.enums.PaymentStatus;
|
|
8749
|
+
readonly 'time_window': number;
|
|
8798
8750
|
}
|
|
8799
8751
|
|
|
8800
8752
|
interface PaymentRequest {
|
|
@@ -9307,160 +9259,707 @@ declare namespace io.flow.inventory.v0.models {
|
|
|
9307
9259
|
}
|
|
9308
9260
|
}
|
|
9309
9261
|
|
|
9310
|
-
declare namespace io.flow.inventory.v0.unions {
|
|
9311
|
-
type InventoryStrategy = (io.flow.inventory.v0.models.InventoryBackorder | io.flow.inventory.v0.models.InventoryStock | io.flow.inventory.v0.models.InventoryUnlimited | io.flow.inventory.v0.models.InventoryFollowEcommercePlatform);
|
|
9312
|
-
type ReservationError = (io.flow.inventory.v0.models.NoInventoryReservationError | io.flow.inventory.v0.models.ExternalApiTimeoutReservationError | io.flow.inventory.v0.models.GenericReservationError);
|
|
9262
|
+
declare namespace io.flow.inventory.v0.unions {
|
|
9263
|
+
type InventoryStrategy = (io.flow.inventory.v0.models.InventoryBackorder | io.flow.inventory.v0.models.InventoryStock | io.flow.inventory.v0.models.InventoryUnlimited | io.flow.inventory.v0.models.InventoryFollowEcommercePlatform);
|
|
9264
|
+
type ReservationError = (io.flow.inventory.v0.models.NoInventoryReservationError | io.flow.inventory.v0.models.ExternalApiTimeoutReservationError | io.flow.inventory.v0.models.GenericReservationError);
|
|
9265
|
+
}
|
|
9266
|
+
|
|
9267
|
+
declare namespace io.flow.permission.v0.enums {
|
|
9268
|
+
type AuthenticationTechnique = 'anonymous' | 'session' | 'token' | 'partner_token' | 'user';
|
|
9269
|
+
type FlowBehavior = 'view_consumer_data';
|
|
9270
|
+
type FlowRole = 'organization_admin' | 'organization_merchant' | 'organization_customer_service' | 'organization_fulfillment' | 'organization_marketing' | 'organization_finance' | 'flow_operations' | 'channel_admin' | 'channel_organization_admin';
|
|
9271
|
+
type PermittedHttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
|
|
9272
|
+
}
|
|
9273
|
+
|
|
9274
|
+
declare namespace io.flow.permission.v0.models {
|
|
9275
|
+
interface BehaviorAudit {
|
|
9276
|
+
readonly 'behavior': io.flow.permission.v0.enums.FlowBehavior;
|
|
9277
|
+
readonly 'authentication_techniques': io.flow.permission.v0.enums.AuthenticationTechnique[];
|
|
9278
|
+
readonly 'roles': io.flow.permission.v0.enums.FlowRole[];
|
|
9279
|
+
}
|
|
9280
|
+
|
|
9281
|
+
interface PermissionAudit {
|
|
9282
|
+
readonly 'routes': io.flow.permission.v0.models.RouteAudit[];
|
|
9283
|
+
readonly 'behaviors': io.flow.permission.v0.models.BehaviorAudit[];
|
|
9284
|
+
}
|
|
9285
|
+
|
|
9286
|
+
interface PermissionCheck {
|
|
9287
|
+
readonly 'authentication_technique': io.flow.permission.v0.enums.AuthenticationTechnique;
|
|
9288
|
+
readonly 'user'?: io.flow.common.v0.unions.ExpandableUser;
|
|
9289
|
+
readonly 'roles': io.flow.permission.v0.enums.FlowRole[];
|
|
9290
|
+
readonly 'behaviors': io.flow.permission.v0.enums.FlowBehavior[];
|
|
9291
|
+
readonly 'routes': io.flow.permission.v0.models.PermittedRoute[];
|
|
9292
|
+
}
|
|
9293
|
+
|
|
9294
|
+
interface PermissionError {
|
|
9295
|
+
readonly 'code': io.flow.error.v0.enums.GenericErrorCode;
|
|
9296
|
+
readonly 'messages': string[];
|
|
9297
|
+
readonly 'granting_roles'?: io.flow.permission.v0.enums.FlowRole[];
|
|
9298
|
+
readonly 'admin_users'?: io.flow.common.v0.models.User[];
|
|
9299
|
+
}
|
|
9300
|
+
|
|
9301
|
+
interface PermittedRoute {
|
|
9302
|
+
readonly 'method': io.flow.permission.v0.enums.PermittedHttpMethod;
|
|
9303
|
+
readonly 'path': string;
|
|
9304
|
+
}
|
|
9305
|
+
|
|
9306
|
+
interface RouteAudit {
|
|
9307
|
+
readonly 'method': io.flow.permission.v0.enums.PermittedHttpMethod;
|
|
9308
|
+
readonly 'path': string;
|
|
9309
|
+
readonly 'authentication_techniques': io.flow.permission.v0.enums.AuthenticationTechnique[];
|
|
9310
|
+
readonly 'roles': io.flow.permission.v0.enums.FlowRole[];
|
|
9311
|
+
}
|
|
9312
|
+
|
|
9313
|
+
interface SimplePermissionCheck {
|
|
9314
|
+
readonly 'behaviors': io.flow.permission.v0.enums.FlowBehavior[];
|
|
9315
|
+
}
|
|
9316
|
+
}
|
|
9317
|
+
|
|
9318
|
+
declare namespace io.flow.query.builder.v0.enums {
|
|
9319
|
+
type AvailableFilterFormat = 'boolean' | 'date' | 'money' | 'decimal' | 'string' | 'unit_of_length' | 'unit_of_mass';
|
|
9320
|
+
}
|
|
9321
|
+
|
|
9322
|
+
declare namespace io.flow.query.builder.v0.models {
|
|
9323
|
+
interface AvailableFilterStructured {
|
|
9324
|
+
readonly 'discriminator': 'structured';
|
|
9325
|
+
readonly 'field': string;
|
|
9326
|
+
readonly 'operators': string[];
|
|
9327
|
+
readonly 'format': io.flow.query.builder.v0.enums.AvailableFilterFormat;
|
|
9328
|
+
readonly 'valid_values'?: string[];
|
|
9329
|
+
readonly 'placeholder'?: string;
|
|
9330
|
+
}
|
|
9331
|
+
|
|
9332
|
+
interface AvailableFilterUnstructured {
|
|
9333
|
+
readonly 'discriminator': 'unstructured';
|
|
9334
|
+
readonly 'placeholder'?: string;
|
|
9335
|
+
}
|
|
9336
|
+
|
|
9337
|
+
interface Query {
|
|
9338
|
+
readonly 'q': string;
|
|
9339
|
+
readonly 'filters': io.flow.query.builder.v0.unions.QueryFilter[];
|
|
9340
|
+
}
|
|
9341
|
+
|
|
9342
|
+
interface QueryBuilder {
|
|
9343
|
+
readonly 'q': string;
|
|
9344
|
+
readonly 'filters': io.flow.query.builder.v0.unions.QueryFilter[];
|
|
9345
|
+
readonly 'available': io.flow.query.builder.v0.unions.AvailableFilter[];
|
|
9346
|
+
}
|
|
9347
|
+
|
|
9348
|
+
interface QueryBuilderFilterForm {
|
|
9349
|
+
readonly 'discriminator': 'filter';
|
|
9350
|
+
readonly 'filters': io.flow.query.builder.v0.unions.QueryFilterForm[];
|
|
9351
|
+
}
|
|
9352
|
+
|
|
9353
|
+
interface QueryBuilderQueryForm {
|
|
9354
|
+
readonly 'discriminator': 'query';
|
|
9355
|
+
readonly 'q': string;
|
|
9356
|
+
}
|
|
9357
|
+
|
|
9358
|
+
interface QueryFilterStructured {
|
|
9359
|
+
readonly 'discriminator': 'structured';
|
|
9360
|
+
readonly 'q': string;
|
|
9361
|
+
readonly 'field': string;
|
|
9362
|
+
readonly 'operator': string;
|
|
9363
|
+
readonly 'values': string[];
|
|
9364
|
+
}
|
|
9365
|
+
|
|
9366
|
+
interface QueryFilterStructuredForm {
|
|
9367
|
+
readonly 'discriminator': 'structured';
|
|
9368
|
+
readonly 'field': string;
|
|
9369
|
+
readonly 'operator': string;
|
|
9370
|
+
readonly 'values': string[];
|
|
9371
|
+
}
|
|
9372
|
+
|
|
9373
|
+
interface QueryFilterUnstructured {
|
|
9374
|
+
readonly 'discriminator': 'unstructured';
|
|
9375
|
+
readonly 'q': string;
|
|
9376
|
+
}
|
|
9377
|
+
|
|
9378
|
+
interface QueryFilterUnstructuredForm {
|
|
9379
|
+
readonly 'discriminator': 'unstructured';
|
|
9380
|
+
readonly 'q': string;
|
|
9381
|
+
}
|
|
9382
|
+
}
|
|
9383
|
+
|
|
9384
|
+
declare namespace io.flow.query.builder.v0.unions {
|
|
9385
|
+
type AvailableFilter = (io.flow.query.builder.v0.models.AvailableFilterStructured | io.flow.query.builder.v0.models.AvailableFilterUnstructured);
|
|
9386
|
+
type QueryBuilderForm = (io.flow.query.builder.v0.models.QueryBuilderFilterForm | io.flow.query.builder.v0.models.QueryBuilderQueryForm);
|
|
9387
|
+
type QueryFilter = (io.flow.query.builder.v0.models.QueryFilterStructured | io.flow.query.builder.v0.models.QueryFilterUnstructured);
|
|
9388
|
+
type QueryFilterForm = (io.flow.query.builder.v0.models.QueryFilterStructuredForm | io.flow.query.builder.v0.models.QueryFilterUnstructuredForm);
|
|
9389
|
+
}
|
|
9390
|
+
|
|
9391
|
+
declare namespace io.flow.item.v0.models {
|
|
9392
|
+
interface LocalItem {
|
|
9393
|
+
readonly 'id': string;
|
|
9394
|
+
readonly 'experience': io.flow.common.v0.models.ExperienceSummary;
|
|
9395
|
+
readonly 'center'?: io.flow.fulfillment.v0.models.CenterSummary;
|
|
9396
|
+
readonly 'item': io.flow.common.v0.models.CatalogItemReference;
|
|
9397
|
+
readonly 'pricing': io.flow.item.v0.models.LocalItemPricing;
|
|
9398
|
+
readonly 'status': io.flow.catalog.v0.enums.SubcatalogItemStatus;
|
|
9399
|
+
readonly 'attributes'?: Record<string, string>;
|
|
9400
|
+
}
|
|
9401
|
+
|
|
9402
|
+
interface LocalItemAttributePricing {
|
|
9403
|
+
readonly 'pretax_price': io.flow.common.v0.models.PriceWithBase;
|
|
9404
|
+
readonly 'vat'?: io.flow.catalog.v0.models.LocalizedItemVat;
|
|
9405
|
+
readonly 'duty'?: io.flow.catalog.v0.models.LocalizedItemDuty;
|
|
9406
|
+
readonly 'price': io.flow.catalog.v0.models.LocalizedItemPrice;
|
|
9407
|
+
}
|
|
9408
|
+
|
|
9409
|
+
interface LocalItemPricing {
|
|
9410
|
+
readonly 'price': io.flow.catalog.v0.models.LocalizedItemPrice;
|
|
9411
|
+
readonly 'vat'?: io.flow.catalog.v0.models.LocalizedItemVat;
|
|
9412
|
+
readonly 'duty'?: io.flow.catalog.v0.models.LocalizedItemDuty;
|
|
9413
|
+
readonly 'shipping'?: io.flow.common.v0.models.Price;
|
|
9414
|
+
readonly 'attributes': Record<string, io.flow.common.v0.models.PriceWithBase>;
|
|
9415
|
+
readonly 'price_attributes'?: Record<string, io.flow.item.v0.models.LocalItemAttributePricing>;
|
|
9416
|
+
}
|
|
9417
|
+
}
|
|
9418
|
+
|
|
9419
|
+
declare namespace io.flow.billing.internal.v0.enums {
|
|
9420
|
+
type BillingAllocationKey = 'freight_cost' | 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'fuel_surcharge' | 'remote_area_surcharge';
|
|
9421
|
+
type BillingStatementBatchFileKey = 'archive' | 'summary';
|
|
9422
|
+
type BillingStatementReviewStatus = 'approved' | 'pending';
|
|
9423
|
+
type ManualTransactionCategory = 'cancelled_order_refund' | 'client_accepted_chargeback' | 'fee_reimbursement' | 'partial_refund' | 'platform_fee' | 'shipping_true_up' | 'tax_credit';
|
|
9424
|
+
type PreferredBillingSchedule = 'monthly' | 'bi-monthly';
|
|
9425
|
+
type ProcessingTransactionType = 'adjustment' | 'capture' | 'refund' | 'fully_subsidized_order' | 'credit_payment';
|
|
9426
|
+
type ResponsibleParty = 'flow' | 'organization';
|
|
9427
|
+
type TransferMethod = 'ach';
|
|
9428
|
+
}
|
|
9429
|
+
|
|
9430
|
+
declare namespace io.flow.billing.internal.v0.models {
|
|
9431
|
+
interface AccountForm {
|
|
9432
|
+
readonly 'timezone': string;
|
|
9433
|
+
readonly 'payment_schedule': io.flow.common.v0.unions.RepeatSchedule;
|
|
9434
|
+
readonly 'payment_conditions'?: string;
|
|
9435
|
+
readonly 'deposit_rule'?: io.flow.billing.v0.models.AccountDepositRuleForm;
|
|
9436
|
+
readonly 'center_key'?: string;
|
|
9437
|
+
}
|
|
9438
|
+
|
|
9439
|
+
interface BankPayment {
|
|
9440
|
+
readonly 'id': string;
|
|
9441
|
+
readonly 'key': string;
|
|
9442
|
+
readonly 'account': io.flow.billing.v0.models.AccountReference;
|
|
9443
|
+
readonly 'reference'?: string;
|
|
9444
|
+
readonly 'sent_on': string;
|
|
9445
|
+
readonly 'expected_delivery_by': string;
|
|
9446
|
+
readonly 'total': io.flow.common.v0.models.Price;
|
|
9447
|
+
}
|
|
9448
|
+
|
|
9449
|
+
interface BankPaymentForm {
|
|
9450
|
+
readonly 'account_id': string;
|
|
9451
|
+
readonly 'reference'?: string;
|
|
9452
|
+
readonly 'sent_on': string;
|
|
9453
|
+
readonly 'expected_delivery_by': string;
|
|
9454
|
+
readonly 'amount': number;
|
|
9455
|
+
readonly 'currency': string;
|
|
9456
|
+
readonly 'transfer_transaction_ids': string[];
|
|
9457
|
+
}
|
|
9458
|
+
|
|
9459
|
+
interface BillingAuthorizationReference {
|
|
9460
|
+
readonly 'id': string;
|
|
9461
|
+
}
|
|
9462
|
+
|
|
9463
|
+
interface BillingInvoiceSummary {
|
|
9464
|
+
readonly 'id': string;
|
|
9465
|
+
readonly 'url': string;
|
|
9466
|
+
}
|
|
9467
|
+
|
|
9468
|
+
interface BillingOrderDestination {
|
|
9469
|
+
readonly 'city'?: string;
|
|
9470
|
+
readonly 'province'?: string;
|
|
9471
|
+
readonly 'postal'?: string;
|
|
9472
|
+
readonly 'country': string;
|
|
9473
|
+
}
|
|
9474
|
+
|
|
9475
|
+
interface BillingOrderSummary {
|
|
9476
|
+
readonly 'number': string;
|
|
9477
|
+
readonly 'submitted_at': string;
|
|
9478
|
+
readonly 'primary_identifier'?: string;
|
|
9479
|
+
readonly 'destination'?: io.flow.billing.internal.v0.models.BillingOrderDestination;
|
|
9480
|
+
}
|
|
9481
|
+
|
|
9482
|
+
interface BillingOrganizationProcessingRateForm {
|
|
9483
|
+
readonly 'query': string;
|
|
9484
|
+
readonly 'capture': number;
|
|
9485
|
+
readonly 'refund': number;
|
|
9486
|
+
readonly 'fraud': number;
|
|
9487
|
+
}
|
|
9488
|
+
|
|
9489
|
+
interface BillingOrganizationProcessingRates {
|
|
9490
|
+
readonly 'id': string;
|
|
9491
|
+
readonly 'query': string;
|
|
9492
|
+
readonly 'capture': number;
|
|
9493
|
+
readonly 'refund': number;
|
|
9494
|
+
readonly 'fraud': number;
|
|
9495
|
+
readonly 'position': number;
|
|
9496
|
+
}
|
|
9497
|
+
|
|
9498
|
+
interface BillingOrganizationProcessingRatesForm {
|
|
9499
|
+
readonly 'processing_rates': io.flow.billing.internal.v0.models.BillingOrganizationProcessingRateForm[];
|
|
9500
|
+
}
|
|
9501
|
+
|
|
9502
|
+
interface BillingOrganizationSettings {
|
|
9503
|
+
readonly 'id': string;
|
|
9504
|
+
readonly 'days_until_posted': number;
|
|
9505
|
+
readonly 'logistics': io.flow.billing.internal.v0.enums.ResponsibleParty;
|
|
9506
|
+
readonly 'include_transaction_created_at': boolean;
|
|
9507
|
+
readonly 'include_order_exchange_rate': boolean;
|
|
9508
|
+
readonly 'send_statements_to_flow_ftp_server': boolean;
|
|
9509
|
+
readonly 'invoicing_terms'?: io.flow.invoice.v0.enums.PaymentTerm;
|
|
9510
|
+
readonly 'transfer_method'?: io.flow.billing.internal.v0.enums.TransferMethod;
|
|
9511
|
+
readonly 'b2b_tax_remittance_days'?: number;
|
|
9512
|
+
}
|
|
9513
|
+
|
|
9514
|
+
interface BillingStatementBatch {
|
|
9515
|
+
readonly 'id': string;
|
|
9516
|
+
readonly 'period': io.flow.common.v0.models.DatetimeRange;
|
|
9517
|
+
}
|
|
9518
|
+
|
|
9519
|
+
interface BillingStatementPendingReview {
|
|
9520
|
+
readonly 'organization': string;
|
|
9521
|
+
readonly 'statement': io.flow.billing.v0.models.BillingStatement;
|
|
9522
|
+
}
|
|
9523
|
+
|
|
9524
|
+
interface BillingStatementReview {
|
|
9525
|
+
readonly 'id': string;
|
|
9526
|
+
readonly 'billing_statement': io.flow.billing.v0.models.BillingStatementReference;
|
|
9527
|
+
readonly 'reviewed_by': io.flow.common.v0.models.UserReference;
|
|
9528
|
+
readonly 'reviewed_at': string;
|
|
9529
|
+
}
|
|
9530
|
+
|
|
9531
|
+
interface BillingStatementReviewForm {
|
|
9532
|
+
readonly 'reviewed_by_id': string;
|
|
9533
|
+
readonly 'reviewed_at': string;
|
|
9534
|
+
}
|
|
9535
|
+
|
|
9536
|
+
interface ChannelServiceFee {
|
|
9537
|
+
readonly 'tiers': io.flow.billing.internal.v0.models.ChannelServiceFeeTier[];
|
|
9538
|
+
}
|
|
9539
|
+
|
|
9540
|
+
interface ChannelServiceFeeTier {
|
|
9541
|
+
readonly 'minimum_orders': number;
|
|
9542
|
+
readonly 'amount': number;
|
|
9543
|
+
}
|
|
9544
|
+
|
|
9545
|
+
interface ChannelTransaction {
|
|
9546
|
+
readonly 'id': string;
|
|
9547
|
+
readonly 'organization_id': string;
|
|
9548
|
+
readonly 'processing_transaction_id': string;
|
|
9549
|
+
readonly 'order_number': string;
|
|
9550
|
+
readonly 'channel_currency': string;
|
|
9551
|
+
readonly 'mor_convenience_fee': number;
|
|
9552
|
+
readonly 'flow_fx_fee_on_mor': number;
|
|
9553
|
+
readonly 'flow_processing_fee': number;
|
|
9554
|
+
readonly 'flow_fraud_fee': number;
|
|
9555
|
+
readonly 'service_fee': number;
|
|
9556
|
+
readonly 'logistics_fee': number;
|
|
9557
|
+
readonly 'total': number;
|
|
9558
|
+
}
|
|
9559
|
+
|
|
9560
|
+
interface Components {
|
|
9561
|
+
readonly 'vat': io.flow.common.v0.models.Price;
|
|
9562
|
+
readonly 'duty': io.flow.common.v0.models.Price;
|
|
9563
|
+
readonly 'freight': io.flow.common.v0.models.Price;
|
|
9564
|
+
readonly 'insurance': io.flow.common.v0.models.Price;
|
|
9565
|
+
}
|
|
9566
|
+
|
|
9567
|
+
interface DisputeTransaction {
|
|
9568
|
+
readonly 'discriminator': 'dispute_transaction';
|
|
9569
|
+
readonly 'id': string;
|
|
9570
|
+
readonly 'type': io.flow.billing.v0.enums.BillingTransactionType;
|
|
9571
|
+
readonly 'authorization': io.flow.payment.v0.models.AuthorizationReference;
|
|
9572
|
+
readonly 'posted_at': string;
|
|
9573
|
+
readonly 'value': io.flow.common.v0.models.Price;
|
|
9574
|
+
readonly 'description': string;
|
|
9575
|
+
readonly 'statement'?: io.flow.billing.v0.models.BillingStatementReference;
|
|
9576
|
+
readonly 'created_at': string;
|
|
9577
|
+
}
|
|
9578
|
+
|
|
9579
|
+
interface Fee {
|
|
9580
|
+
readonly 'value': io.flow.common.v0.models.Price;
|
|
9581
|
+
readonly 'description'?: string;
|
|
9582
|
+
}
|
|
9583
|
+
|
|
9584
|
+
interface Fees {
|
|
9585
|
+
readonly 'processing': io.flow.billing.internal.v0.models.Fee;
|
|
9586
|
+
readonly 'rate_lock': io.flow.billing.internal.v0.models.Fee;
|
|
9587
|
+
readonly 'mor': io.flow.billing.internal.v0.models.Fee;
|
|
9588
|
+
}
|
|
9589
|
+
|
|
9590
|
+
interface FxFee {
|
|
9591
|
+
readonly 'base': io.flow.common.v0.models.Money;
|
|
9592
|
+
readonly 'local': io.flow.common.v0.models.Money;
|
|
9593
|
+
}
|
|
9594
|
+
|
|
9595
|
+
interface FxRevenueRecognition {
|
|
9596
|
+
readonly 'id': string;
|
|
9597
|
+
readonly 'organization': io.flow.billing.internal.v0.models.FxRevenueRecognitionOrganization;
|
|
9598
|
+
readonly 'account': io.flow.billing.internal.v0.models.FxRevenueRecognitionAccount;
|
|
9599
|
+
readonly 'fx': io.flow.billing.internal.v0.models.FxFee;
|
|
9600
|
+
readonly 'spot_rate': io.flow.billing.internal.v0.models.FxRevenueRecognitionRate;
|
|
9601
|
+
readonly 'created_at': string;
|
|
9602
|
+
readonly 'order': io.flow.billing.internal.v0.models.FxRevenueRecognitionOrder;
|
|
9603
|
+
readonly 'merchant_of_record': io.flow.common.v0.enums.MerchantOfRecord;
|
|
9604
|
+
readonly 'source': io.flow.billing.internal.v0.models.FxRevenueRecognitionSource;
|
|
9605
|
+
readonly 'reporting_date'?: string;
|
|
9606
|
+
}
|
|
9607
|
+
|
|
9608
|
+
interface FxRevenueRecognitionAccount {
|
|
9609
|
+
readonly 'value': io.flow.common.v0.models.Money;
|
|
9610
|
+
readonly 'spot_rate': io.flow.billing.internal.v0.models.FxRevenueRecognitionAccountRate;
|
|
9611
|
+
}
|
|
9612
|
+
|
|
9613
|
+
interface FxRevenueRecognitionAccountRate {
|
|
9614
|
+
readonly 'value': number;
|
|
9615
|
+
}
|
|
9616
|
+
|
|
9617
|
+
interface FxRevenueRecognitionOrder {
|
|
9618
|
+
readonly 'number': string;
|
|
9619
|
+
readonly 'submitted_at': string;
|
|
9620
|
+
}
|
|
9621
|
+
|
|
9622
|
+
interface FxRevenueRecognitionOrganization {
|
|
9623
|
+
readonly 'id': string;
|
|
9624
|
+
}
|
|
9625
|
+
|
|
9626
|
+
interface FxRevenueRecognitionRate {
|
|
9627
|
+
readonly 'value': number;
|
|
9628
|
+
readonly 'margin': number;
|
|
9629
|
+
readonly 'timestamp': string;
|
|
9630
|
+
}
|
|
9631
|
+
|
|
9632
|
+
interface FxRevenueRecognitionSource {
|
|
9633
|
+
readonly 'id': string;
|
|
9634
|
+
readonly 'local': io.flow.common.v0.models.Money;
|
|
9635
|
+
readonly 'transaction_created_at': string;
|
|
9636
|
+
}
|
|
9637
|
+
|
|
9638
|
+
interface InvoiceTransaction {
|
|
9639
|
+
readonly 'discriminator': 'invoice_transaction';
|
|
9640
|
+
readonly 'id': string;
|
|
9641
|
+
readonly 'type': io.flow.billing.v0.enums.BillingTransactionType;
|
|
9642
|
+
readonly 'posted_at': string;
|
|
9643
|
+
readonly 'value': io.flow.common.v0.models.Price;
|
|
9644
|
+
readonly 'description': string;
|
|
9645
|
+
readonly 'statement'?: io.flow.billing.v0.models.BillingStatementReference;
|
|
9646
|
+
readonly 'created_at': string;
|
|
9647
|
+
readonly 'invoice': io.flow.invoice.v0.models.Invoice;
|
|
9648
|
+
}
|
|
9649
|
+
|
|
9650
|
+
interface MainTransaction {
|
|
9651
|
+
readonly 'id': string;
|
|
9652
|
+
readonly 'account': io.flow.billing.v0.models.AccountReference;
|
|
9653
|
+
readonly 'type': io.flow.billing.v0.enums.BillingTransactionType;
|
|
9654
|
+
readonly 'value': io.flow.common.v0.models.Price;
|
|
9655
|
+
readonly 'posted_at': string;
|
|
9656
|
+
readonly 'statement'?: io.flow.billing.v0.models.BillingStatementReference;
|
|
9657
|
+
readonly 'created_at': string;
|
|
9658
|
+
readonly 'original_at'?: string;
|
|
9659
|
+
readonly 'disposition'?: io.flow.billing.internal.v0.enums.BillingStatementReviewStatus;
|
|
9660
|
+
}
|
|
9661
|
+
|
|
9662
|
+
interface ManualTransaction {
|
|
9663
|
+
readonly 'discriminator': 'manual_transaction';
|
|
9664
|
+
readonly 'id': string;
|
|
9665
|
+
readonly 'type': io.flow.billing.v0.enums.BillingTransactionType;
|
|
9666
|
+
readonly 'posted_at': string;
|
|
9667
|
+
readonly 'value': io.flow.common.v0.models.Price;
|
|
9668
|
+
readonly 'description': string;
|
|
9669
|
+
readonly 'category'?: io.flow.billing.internal.v0.enums.ManualTransactionCategory;
|
|
9670
|
+
readonly 'statement'?: io.flow.billing.v0.models.BillingStatementReference;
|
|
9671
|
+
readonly 'created_at': string;
|
|
9672
|
+
}
|
|
9673
|
+
|
|
9674
|
+
interface ManualTransactionForm {
|
|
9675
|
+
readonly 'amount': number;
|
|
9676
|
+
readonly 'description': string;
|
|
9677
|
+
readonly 'category'?: io.flow.billing.internal.v0.enums.ManualTransactionCategory;
|
|
9678
|
+
readonly 'posted_at'?: string;
|
|
9679
|
+
}
|
|
9680
|
+
|
|
9681
|
+
interface PendingBankPayment {
|
|
9682
|
+
readonly 'organization': string;
|
|
9683
|
+
readonly 'account': io.flow.billing.v0.models.AccountReference;
|
|
9684
|
+
readonly 'recommended_reference': string;
|
|
9685
|
+
readonly 'total': io.flow.common.v0.models.Price;
|
|
9686
|
+
readonly 'details': io.flow.billing.internal.v0.models.PendingBankPaymentDetail[];
|
|
9687
|
+
}
|
|
9688
|
+
|
|
9689
|
+
interface PendingBankPaymentDetail {
|
|
9690
|
+
readonly 'transaction': io.flow.billing.internal.v0.models.TransactionReference;
|
|
9691
|
+
readonly 'statement': io.flow.billing.v0.models.BillingStatementReference;
|
|
9692
|
+
}
|
|
9693
|
+
|
|
9694
|
+
interface PlatformFeeChange {
|
|
9695
|
+
readonly 'organization_id': string;
|
|
9696
|
+
readonly 'key': string;
|
|
9697
|
+
readonly 'platform_fee': io.flow.billing.internal.v0.unions.PlatformFee;
|
|
9698
|
+
readonly 'starts_at': string;
|
|
9699
|
+
}
|
|
9700
|
+
|
|
9701
|
+
interface PlatformFeeChangeForm {
|
|
9702
|
+
readonly 'platform_fee': io.flow.billing.internal.v0.unions.PlatformFee;
|
|
9703
|
+
readonly 'starts_at': string;
|
|
9704
|
+
}
|
|
9705
|
+
|
|
9706
|
+
interface PlatformFeeDisabled {
|
|
9707
|
+
readonly 'discriminator': 'platform_fee_disabled';
|
|
9708
|
+
readonly 'attributes'?: Record<string, string>;
|
|
9709
|
+
}
|
|
9710
|
+
|
|
9711
|
+
interface PlatformFeeFlat {
|
|
9712
|
+
readonly 'discriminator': 'platform_fee_flat';
|
|
9713
|
+
readonly 'amount': number;
|
|
9714
|
+
readonly 'currency': string;
|
|
9715
|
+
readonly 'frequency': io.flow.billing.v0.enums.SubscriptionFrequency;
|
|
9716
|
+
}
|
|
9717
|
+
|
|
9718
|
+
interface PlatformFeePause {
|
|
9719
|
+
readonly 'discriminator': 'platform_fee_pause';
|
|
9720
|
+
readonly 'attributes'?: Record<string, string>;
|
|
9721
|
+
}
|
|
9722
|
+
|
|
9723
|
+
interface PlatformFeePercentage {
|
|
9724
|
+
readonly 'discriminator': 'platform_fee_percentage';
|
|
9725
|
+
readonly 'tiers': io.flow.billing.internal.v0.models.PlatformFeePercentageTier[];
|
|
9726
|
+
}
|
|
9727
|
+
|
|
9728
|
+
interface PlatformFeePercentageTier {
|
|
9729
|
+
readonly 'minimum_amount_base': number;
|
|
9730
|
+
readonly 'rate': number;
|
|
9731
|
+
}
|
|
9732
|
+
|
|
9733
|
+
interface ProcessingTransaction {
|
|
9734
|
+
readonly 'discriminator': 'processing_transaction';
|
|
9735
|
+
readonly 'id': string;
|
|
9736
|
+
readonly 'type': io.flow.billing.v0.enums.BillingTransactionType;
|
|
9737
|
+
readonly 'merchant_of_record': io.flow.common.v0.enums.MerchantOfRecord;
|
|
9738
|
+
readonly 'posted_at': string;
|
|
9739
|
+
readonly 'value': io.flow.common.v0.models.Price;
|
|
9740
|
+
readonly 'description': string;
|
|
9741
|
+
readonly 'statement'?: io.flow.billing.v0.models.BillingStatementReference;
|
|
9742
|
+
readonly 'created_at': string;
|
|
9743
|
+
readonly 'original_at'?: string;
|
|
9744
|
+
readonly 'reference': string;
|
|
9745
|
+
readonly 'primary_identifier'?: string;
|
|
9746
|
+
readonly 'payment_method': string;
|
|
9747
|
+
readonly 'original': io.flow.common.v0.models.PriceWithBase;
|
|
9748
|
+
readonly 'original_base_at_spot_rate'?: io.flow.common.v0.models.Price;
|
|
9749
|
+
readonly 'fees': io.flow.billing.internal.v0.models.Fees;
|
|
9750
|
+
readonly 'components'?: io.flow.billing.internal.v0.models.Components;
|
|
9751
|
+
readonly 'withholdings': io.flow.billing.internal.v0.models.Components;
|
|
9752
|
+
readonly 'parent_transaction_id'?: string;
|
|
9753
|
+
readonly 'order'?: io.flow.billing.internal.v0.models.BillingOrderSummary;
|
|
9754
|
+
readonly 'spot_rate': number;
|
|
9755
|
+
readonly 'flow_rate': number;
|
|
9756
|
+
readonly 'organization_rate': number;
|
|
9757
|
+
readonly 'flow_margin': number;
|
|
9758
|
+
readonly 'organization_margin': number;
|
|
9759
|
+
readonly 'revenue_share'?: io.flow.common.v0.models.Price;
|
|
9760
|
+
readonly 'disposition'?: io.flow.billing.internal.v0.enums.BillingStatementReviewStatus;
|
|
9761
|
+
}
|
|
9762
|
+
|
|
9763
|
+
interface SubscriptionTransaction {
|
|
9764
|
+
readonly 'discriminator': 'subscription_transaction';
|
|
9765
|
+
readonly 'id': string;
|
|
9766
|
+
readonly 'type': io.flow.billing.v0.enums.BillingTransactionType;
|
|
9767
|
+
readonly 'posted_at': string;
|
|
9768
|
+
readonly 'value': io.flow.common.v0.models.Price;
|
|
9769
|
+
readonly 'description': string;
|
|
9770
|
+
readonly 'statement'?: io.flow.billing.v0.models.BillingStatementReference;
|
|
9771
|
+
readonly 'created_at': string;
|
|
9772
|
+
readonly 'period': io.flow.common.v0.models.DatetimeRange;
|
|
9773
|
+
}
|
|
9774
|
+
|
|
9775
|
+
interface TaxRemittanceTransaction {
|
|
9776
|
+
readonly 'discriminator': 'tax_remittance_transaction';
|
|
9777
|
+
readonly 'id': string;
|
|
9778
|
+
readonly 'type': io.flow.billing.v0.enums.BillingTransactionType;
|
|
9779
|
+
readonly 'posted_at': string;
|
|
9780
|
+
readonly 'value': io.flow.common.v0.models.Price;
|
|
9781
|
+
readonly 'description': string;
|
|
9782
|
+
readonly 'statement'?: io.flow.billing.v0.models.BillingStatementReference;
|
|
9783
|
+
readonly 'created_at': string;
|
|
9784
|
+
readonly 'order': io.flow.billing.internal.v0.models.BillingOrderSummary;
|
|
9785
|
+
readonly 'invoice': io.flow.billing.internal.v0.models.BillingInvoiceSummary;
|
|
9786
|
+
}
|
|
9787
|
+
|
|
9788
|
+
interface TransactionReference {
|
|
9789
|
+
readonly 'id': string;
|
|
9790
|
+
}
|
|
9791
|
+
|
|
9792
|
+
interface TransferTransaction {
|
|
9793
|
+
readonly 'discriminator': 'transfer_transaction';
|
|
9794
|
+
readonly 'id': string;
|
|
9795
|
+
readonly 'type': io.flow.billing.v0.enums.BillingTransactionType;
|
|
9796
|
+
readonly 'posted_at': string;
|
|
9797
|
+
readonly 'value': io.flow.common.v0.models.Price;
|
|
9798
|
+
readonly 'description': string;
|
|
9799
|
+
readonly 'statement'?: io.flow.billing.v0.models.BillingStatementReference;
|
|
9800
|
+
readonly 'created_at': string;
|
|
9801
|
+
readonly 'method': io.flow.billing.internal.v0.enums.TransferMethod;
|
|
9802
|
+
}
|
|
9803
|
+
|
|
9804
|
+
interface VirtualCardTransaction {
|
|
9805
|
+
readonly 'discriminator': 'virtual_card_transaction';
|
|
9806
|
+
readonly 'id': string;
|
|
9807
|
+
readonly 'type': io.flow.billing.v0.enums.BillingTransactionType;
|
|
9808
|
+
readonly 'posted_at': string;
|
|
9809
|
+
readonly 'value': io.flow.common.v0.models.Price;
|
|
9810
|
+
readonly 'description': string;
|
|
9811
|
+
readonly 'statement'?: io.flow.billing.v0.models.BillingStatementReference;
|
|
9812
|
+
readonly 'created_at': string;
|
|
9813
|
+
readonly 'virtual_card': io.flow.payment.v0.models.VirtualCardReference;
|
|
9814
|
+
readonly 'authorization': io.flow.payment.v0.models.AuthorizationReference;
|
|
9815
|
+
readonly 'original': io.flow.common.v0.models.PriceWithBase;
|
|
9816
|
+
readonly 'processing_fee': io.flow.billing.internal.v0.models.Fee;
|
|
9817
|
+
}
|
|
9818
|
+
}
|
|
9819
|
+
|
|
9820
|
+
declare namespace io.flow.billing.internal.v0.unions {
|
|
9821
|
+
type PlatformFee = (io.flow.billing.internal.v0.models.PlatformFeePause | io.flow.billing.internal.v0.models.PlatformFeeFlat | io.flow.billing.internal.v0.models.PlatformFeePercentage | io.flow.billing.internal.v0.models.PlatformFeeDisabled);
|
|
9822
|
+
type Transaction = (io.flow.billing.internal.v0.models.InvoiceTransaction | io.flow.billing.internal.v0.models.ManualTransaction | io.flow.billing.internal.v0.models.ProcessingTransaction | io.flow.billing.internal.v0.models.SubscriptionTransaction | io.flow.billing.internal.v0.models.TaxRemittanceTransaction | io.flow.billing.internal.v0.models.TransferTransaction | io.flow.billing.internal.v0.models.VirtualCardTransaction | io.flow.billing.internal.v0.models.DisputeTransaction);
|
|
9313
9823
|
}
|
|
9314
9824
|
|
|
9315
|
-
declare namespace io.flow.
|
|
9316
|
-
type
|
|
9317
|
-
type
|
|
9318
|
-
type
|
|
9319
|
-
type
|
|
9825
|
+
declare namespace io.flow.billing.v0.enums {
|
|
9826
|
+
type BillingStatementAttachmentKey = 'invoice' | 'statement' | 'consumer_invoice' | 'credit_memo' | 'transactions' | 'channel_transactions' | 'virtual_card' | 'tax_remittance' | 'manual' | 'orders' | 'all';
|
|
9827
|
+
type BillingTransactionStatus = 'pending' | 'posted';
|
|
9828
|
+
type BillingTransactionType = 'manual' | 'subscription' | 'invoice' | 'transfer' | 'adjustment' | 'capture' | 'refund' | 'virtual_card_capture' | 'virtual_card_refund' | 'tax_remittance' | 'fully_subsidized_order' | 'credit_payment' | 'dispute';
|
|
9829
|
+
type SubscriptionFrequency = 'yearly' | 'monthly';
|
|
9320
9830
|
}
|
|
9321
9831
|
|
|
9322
|
-
declare namespace io.flow.
|
|
9323
|
-
interface
|
|
9324
|
-
readonly '
|
|
9325
|
-
readonly '
|
|
9326
|
-
readonly '
|
|
9327
|
-
|
|
9328
|
-
|
|
9329
|
-
|
|
9330
|
-
readonly '
|
|
9331
|
-
readonly '
|
|
9332
|
-
|
|
9333
|
-
|
|
9334
|
-
|
|
9335
|
-
readonly 'authentication_technique': io.flow.permission.v0.enums.AuthenticationTechnique;
|
|
9336
|
-
readonly 'user'?: io.flow.common.v0.unions.ExpandableUser;
|
|
9337
|
-
readonly 'roles': io.flow.permission.v0.enums.FlowRole[];
|
|
9338
|
-
readonly 'behaviors': io.flow.permission.v0.enums.FlowBehavior[];
|
|
9339
|
-
readonly 'routes': io.flow.permission.v0.models.PermittedRoute[];
|
|
9832
|
+
declare namespace io.flow.billing.v0.models {
|
|
9833
|
+
interface Account {
|
|
9834
|
+
readonly 'id': string;
|
|
9835
|
+
readonly 'currency': string;
|
|
9836
|
+
readonly 'updated_at': string;
|
|
9837
|
+
readonly 'timezone': io.flow.reference.v0.models.Timezone;
|
|
9838
|
+
readonly 'payment_schedule': io.flow.common.v0.unions.RepeatSchedule;
|
|
9839
|
+
readonly 'payment_conditions'?: string;
|
|
9840
|
+
readonly 'deposit_rule'?: io.flow.billing.v0.models.AccountDepositRule;
|
|
9841
|
+
readonly 'center_key'?: string;
|
|
9842
|
+
readonly 'statistics': io.flow.billing.v0.models.AccountStatistics;
|
|
9843
|
+
readonly 'next_statement': io.flow.billing.v0.models.NextBillingStatement;
|
|
9844
|
+
readonly 'created_at': string;
|
|
9340
9845
|
}
|
|
9341
9846
|
|
|
9342
|
-
interface
|
|
9343
|
-
readonly '
|
|
9344
|
-
readonly '
|
|
9345
|
-
readonly '
|
|
9346
|
-
readonly '
|
|
9847
|
+
interface AccountContact {
|
|
9848
|
+
readonly 'id': string;
|
|
9849
|
+
readonly 'email': string;
|
|
9850
|
+
readonly 'first_name'?: string;
|
|
9851
|
+
readonly 'last_name'?: string;
|
|
9852
|
+
readonly 'phone'?: string;
|
|
9347
9853
|
}
|
|
9348
9854
|
|
|
9349
|
-
interface
|
|
9350
|
-
readonly '
|
|
9351
|
-
readonly '
|
|
9855
|
+
interface AccountContactForm {
|
|
9856
|
+
readonly 'email': string;
|
|
9857
|
+
readonly 'first_name'?: string;
|
|
9858
|
+
readonly 'last_name'?: string;
|
|
9859
|
+
readonly 'phone'?: string;
|
|
9352
9860
|
}
|
|
9353
9861
|
|
|
9354
|
-
interface
|
|
9355
|
-
readonly '
|
|
9356
|
-
readonly '
|
|
9357
|
-
readonly 'authentication_techniques': io.flow.permission.v0.enums.AuthenticationTechnique[];
|
|
9358
|
-
readonly 'roles': io.flow.permission.v0.enums.FlowRole[];
|
|
9862
|
+
interface AccountDepositRule {
|
|
9863
|
+
readonly 'target': number;
|
|
9864
|
+
readonly 'rate': number;
|
|
9359
9865
|
}
|
|
9360
9866
|
|
|
9361
|
-
interface
|
|
9362
|
-
readonly '
|
|
9867
|
+
interface AccountDepositRuleForm {
|
|
9868
|
+
readonly 'target': number;
|
|
9869
|
+
readonly 'rate': number;
|
|
9363
9870
|
}
|
|
9364
|
-
}
|
|
9365
|
-
|
|
9366
|
-
declare namespace io.flow.query.builder.v0.enums {
|
|
9367
|
-
type AvailableFilterFormat = 'boolean' | 'date' | 'money' | 'decimal' | 'string' | 'unit_of_length' | 'unit_of_mass';
|
|
9368
|
-
}
|
|
9369
9871
|
|
|
9370
|
-
|
|
9371
|
-
|
|
9372
|
-
readonly '
|
|
9373
|
-
readonly 'field': string;
|
|
9374
|
-
readonly 'operators': string[];
|
|
9375
|
-
readonly 'format': io.flow.query.builder.v0.enums.AvailableFilterFormat;
|
|
9376
|
-
readonly 'valid_values'?: string[];
|
|
9377
|
-
readonly 'placeholder'?: string;
|
|
9872
|
+
interface AccountReference {
|
|
9873
|
+
readonly 'id': string;
|
|
9874
|
+
readonly 'currency': string;
|
|
9378
9875
|
}
|
|
9379
9876
|
|
|
9380
|
-
interface
|
|
9381
|
-
readonly '
|
|
9382
|
-
readonly '
|
|
9877
|
+
interface AccountStatistics {
|
|
9878
|
+
readonly 'transfers': io.flow.common.v0.models.Price;
|
|
9879
|
+
readonly 'balance': io.flow.common.v0.models.Price;
|
|
9880
|
+
readonly 'pending': io.flow.common.v0.models.Price;
|
|
9383
9881
|
}
|
|
9384
9882
|
|
|
9385
|
-
interface
|
|
9386
|
-
readonly '
|
|
9387
|
-
readonly '
|
|
9883
|
+
interface BillingStatement {
|
|
9884
|
+
readonly 'id': string;
|
|
9885
|
+
readonly 'account': io.flow.billing.v0.models.AccountReference;
|
|
9886
|
+
readonly 'period': io.flow.common.v0.models.DatetimeRange;
|
|
9887
|
+
readonly 'totals': io.flow.billing.v0.models.BillingStatementTotals;
|
|
9888
|
+
readonly 'attachments': io.flow.billing.v0.models.BillingStatementAttachment[];
|
|
9388
9889
|
}
|
|
9389
9890
|
|
|
9390
|
-
interface
|
|
9391
|
-
readonly '
|
|
9392
|
-
readonly '
|
|
9393
|
-
readonly '
|
|
9891
|
+
interface BillingStatementAttachment {
|
|
9892
|
+
readonly 'key': io.flow.billing.v0.enums.BillingStatementAttachmentKey;
|
|
9893
|
+
readonly 'name': string;
|
|
9894
|
+
readonly 'url': string;
|
|
9394
9895
|
}
|
|
9395
9896
|
|
|
9396
|
-
interface
|
|
9397
|
-
readonly '
|
|
9398
|
-
readonly 'filters': io.flow.query.builder.v0.unions.QueryFilterForm[];
|
|
9897
|
+
interface BillingStatementReference {
|
|
9898
|
+
readonly 'id': string;
|
|
9399
9899
|
}
|
|
9400
9900
|
|
|
9401
|
-
interface
|
|
9402
|
-
readonly '
|
|
9403
|
-
readonly '
|
|
9901
|
+
interface BillingStatementTotals {
|
|
9902
|
+
readonly 'starting_balance': io.flow.common.v0.models.Price;
|
|
9903
|
+
readonly 'subscription': io.flow.common.v0.models.Price;
|
|
9904
|
+
readonly 'transfer': io.flow.common.v0.models.Price;
|
|
9905
|
+
readonly 'invoice': io.flow.common.v0.models.Price;
|
|
9906
|
+
readonly 'manual': io.flow.common.v0.models.Price;
|
|
9907
|
+
readonly 'adjustment': io.flow.common.v0.models.Price;
|
|
9908
|
+
readonly 'capture': io.flow.common.v0.models.Price;
|
|
9909
|
+
readonly 'refund': io.flow.common.v0.models.Price;
|
|
9910
|
+
readonly 'virtual_card_capture': io.flow.common.v0.models.Price;
|
|
9911
|
+
readonly 'virtual_card_refund': io.flow.common.v0.models.Price;
|
|
9912
|
+
readonly 'tax_remittance': io.flow.common.v0.models.Price;
|
|
9913
|
+
readonly 'dispute': io.flow.common.v0.models.Price;
|
|
9914
|
+
readonly 'ending_balance': io.flow.common.v0.models.Price;
|
|
9404
9915
|
}
|
|
9405
9916
|
|
|
9406
|
-
interface
|
|
9407
|
-
readonly '
|
|
9408
|
-
readonly '
|
|
9409
|
-
readonly '
|
|
9410
|
-
readonly '
|
|
9411
|
-
readonly '
|
|
9917
|
+
interface BillingTransaction {
|
|
9918
|
+
readonly 'id': string;
|
|
9919
|
+
readonly 'type': io.flow.billing.v0.enums.BillingTransactionType;
|
|
9920
|
+
readonly 'status': io.flow.billing.v0.enums.BillingTransactionStatus;
|
|
9921
|
+
readonly 'posted_at'?: string;
|
|
9922
|
+
readonly 'value': io.flow.common.v0.models.Price;
|
|
9923
|
+
readonly 'description': string;
|
|
9924
|
+
readonly 'created_at': string;
|
|
9925
|
+
readonly 'statement'?: io.flow.billing.v0.models.BillingStatementReference;
|
|
9412
9926
|
}
|
|
9413
9927
|
|
|
9414
|
-
interface
|
|
9415
|
-
readonly '
|
|
9416
|
-
readonly '
|
|
9417
|
-
readonly '
|
|
9418
|
-
readonly 'values': string[];
|
|
9928
|
+
interface ChannelAccount {
|
|
9929
|
+
readonly 'id': string;
|
|
9930
|
+
readonly 'channel': io.flow.common.v0.models.ChannelReference;
|
|
9931
|
+
readonly 'account': io.flow.billing.v0.models.SimpleAccountReference;
|
|
9419
9932
|
}
|
|
9420
9933
|
|
|
9421
|
-
interface
|
|
9422
|
-
readonly '
|
|
9423
|
-
readonly '
|
|
9934
|
+
interface EmailForm {
|
|
9935
|
+
readonly 'to': string[];
|
|
9936
|
+
readonly 'cc'?: string[];
|
|
9937
|
+
readonly 'bcc'?: string[];
|
|
9424
9938
|
}
|
|
9425
9939
|
|
|
9426
|
-
interface
|
|
9427
|
-
readonly '
|
|
9428
|
-
readonly '
|
|
9940
|
+
interface NextBillingStatement {
|
|
9941
|
+
readonly 'date': string;
|
|
9942
|
+
readonly 'amount': io.flow.common.v0.models.Price;
|
|
9943
|
+
readonly 'conditions'?: string;
|
|
9429
9944
|
}
|
|
9430
|
-
}
|
|
9431
|
-
|
|
9432
|
-
declare namespace io.flow.query.builder.v0.unions {
|
|
9433
|
-
type AvailableFilter = (io.flow.query.builder.v0.models.AvailableFilterStructured | io.flow.query.builder.v0.models.AvailableFilterUnstructured);
|
|
9434
|
-
type QueryBuilderForm = (io.flow.query.builder.v0.models.QueryBuilderFilterForm | io.flow.query.builder.v0.models.QueryBuilderQueryForm);
|
|
9435
|
-
type QueryFilter = (io.flow.query.builder.v0.models.QueryFilterStructured | io.flow.query.builder.v0.models.QueryFilterUnstructured);
|
|
9436
|
-
type QueryFilterForm = (io.flow.query.builder.v0.models.QueryFilterStructuredForm | io.flow.query.builder.v0.models.QueryFilterUnstructuredForm);
|
|
9437
|
-
}
|
|
9438
9945
|
|
|
9439
|
-
|
|
9440
|
-
interface LocalItem {
|
|
9946
|
+
interface OrganizationAccount {
|
|
9441
9947
|
readonly 'id': string;
|
|
9442
|
-
readonly '
|
|
9443
|
-
readonly '
|
|
9444
|
-
readonly 'item': io.flow.common.v0.models.CatalogItemReference;
|
|
9445
|
-
readonly 'pricing': io.flow.item.v0.models.LocalItemPricing;
|
|
9446
|
-
readonly 'status': io.flow.catalog.v0.enums.SubcatalogItemStatus;
|
|
9447
|
-
readonly 'attributes'?: Record<string, string>;
|
|
9948
|
+
readonly 'organization': io.flow.common.v0.models.OrganizationReference;
|
|
9949
|
+
readonly 'account': io.flow.billing.v0.models.SimpleAccountReference;
|
|
9448
9950
|
}
|
|
9449
9951
|
|
|
9450
|
-
interface
|
|
9451
|
-
readonly '
|
|
9452
|
-
readonly 'vat'?: io.flow.catalog.v0.models.LocalizedItemVat;
|
|
9453
|
-
readonly 'duty'?: io.flow.catalog.v0.models.LocalizedItemDuty;
|
|
9454
|
-
readonly 'price': io.flow.catalog.v0.models.LocalizedItemPrice;
|
|
9952
|
+
interface SimpleAccountReference {
|
|
9953
|
+
readonly 'id': string;
|
|
9455
9954
|
}
|
|
9456
9955
|
|
|
9457
|
-
interface
|
|
9458
|
-
readonly '
|
|
9459
|
-
readonly '
|
|
9460
|
-
readonly '
|
|
9461
|
-
readonly '
|
|
9462
|
-
readonly '
|
|
9463
|
-
readonly '
|
|
9956
|
+
interface Subscription {
|
|
9957
|
+
readonly 'id': string;
|
|
9958
|
+
readonly 'organization': string;
|
|
9959
|
+
readonly 'value': io.flow.common.v0.models.Price;
|
|
9960
|
+
readonly 'frequency': io.flow.billing.v0.enums.SubscriptionFrequency;
|
|
9961
|
+
readonly 'starts_at': string;
|
|
9962
|
+
readonly 'created_at': string;
|
|
9464
9963
|
}
|
|
9465
9964
|
}
|
|
9466
9965
|
|
|
@@ -11002,7 +11501,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
11002
11501
|
type AddressConfigurationSettingProvinceCode = 'iso_3166_2' | 'name';
|
|
11003
11502
|
type ApiCallReferenceId = 'duty_rates_data_event' | 'integration_test' | 'unit_test';
|
|
11004
11503
|
type BillingAllocationKey = 'freight_cost' | 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'fuel_surcharge' | 'remote_area_surcharge';
|
|
11005
|
-
type BillingStatementAttachmentKey = 'invoice' | 'statement' | 'consumer_invoice' | 'credit_memo' | 'transactions' | '
|
|
11504
|
+
type BillingStatementAttachmentKey = 'invoice' | 'statement' | 'consumer_invoice' | 'credit_memo' | 'transactions' | 'virtual_card' | 'tax_remittance' | 'manual' | 'orders' | 'all';
|
|
11006
11505
|
type BillingStatementBatchFileKey = 'archive' | 'summary';
|
|
11007
11506
|
type BillingStatementReviewStatus = 'approved' | 'pending';
|
|
11008
11507
|
type BillingTransactionStatus = 'pending' | 'posted';
|
|
@@ -12576,41 +13075,17 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12576
13075
|
readonly 'metadata': io.flow.internal.v0.models.ShopifyMetadata;
|
|
12577
13076
|
}
|
|
12578
13077
|
|
|
12579
|
-
interface ChannelServiceFee {
|
|
12580
|
-
readonly 'tiers': io.flow.internal.v0.models.ChannelServiceFeeTier[];
|
|
12581
|
-
}
|
|
12582
|
-
|
|
12583
|
-
interface ChannelServiceFeeTier {
|
|
12584
|
-
readonly 'minimum_orders': number;
|
|
12585
|
-
readonly 'amount': number;
|
|
12586
|
-
}
|
|
12587
|
-
|
|
12588
13078
|
interface ChannelTokenForm {
|
|
12589
13079
|
readonly 'channel_id': string;
|
|
12590
13080
|
readonly 'description'?: string;
|
|
12591
13081
|
}
|
|
12592
13082
|
|
|
12593
|
-
interface ChannelTransaction {
|
|
12594
|
-
readonly 'id': string;
|
|
12595
|
-
readonly 'organization_id': string;
|
|
12596
|
-
readonly 'processing_transaction_id': string;
|
|
12597
|
-
readonly 'order_number': string;
|
|
12598
|
-
readonly 'channel_currency': string;
|
|
12599
|
-
readonly 'mor_convenience_fee': number;
|
|
12600
|
-
readonly 'flow_fx_fee_on_mor': number;
|
|
12601
|
-
readonly 'flow_processing_fee': number;
|
|
12602
|
-
readonly 'flow_fraud_fee': number;
|
|
12603
|
-
readonly 'service_fee': number;
|
|
12604
|
-
readonly 'logistics_fee': number;
|
|
12605
|
-
readonly 'total': number;
|
|
12606
|
-
}
|
|
12607
|
-
|
|
12608
13083
|
interface ChannelTransactionDeleted {
|
|
12609
13084
|
readonly 'discriminator': 'channel_transaction_deleted';
|
|
12610
13085
|
readonly 'event_id': string;
|
|
12611
13086
|
readonly 'timestamp': string;
|
|
12612
13087
|
readonly 'organization': string;
|
|
12613
|
-
readonly 'channel_transaction': io.flow.internal.v0.models.ChannelTransaction;
|
|
13088
|
+
readonly 'channel_transaction': io.flow.billing.internal.v0.models.ChannelTransaction;
|
|
12614
13089
|
}
|
|
12615
13090
|
|
|
12616
13091
|
interface ChannelTransactionUpserted {
|
|
@@ -12618,7 +13093,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12618
13093
|
readonly 'event_id': string;
|
|
12619
13094
|
readonly 'timestamp': string;
|
|
12620
13095
|
readonly 'organization': string;
|
|
12621
|
-
readonly 'channel_transaction': io.flow.internal.v0.models.ChannelTransaction;
|
|
13096
|
+
readonly 'channel_transaction': io.flow.billing.internal.v0.models.ChannelTransaction;
|
|
12622
13097
|
}
|
|
12623
13098
|
|
|
12624
13099
|
interface Chargeback {
|
|
@@ -12733,6 +13208,16 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12733
13208
|
readonly 'id': string;
|
|
12734
13209
|
}
|
|
12735
13210
|
|
|
13211
|
+
interface CheckoutAddressCountriesFormData {
|
|
13212
|
+
readonly 'countries': io.flow.internal.v0.models.CheckoutAddressCountry[];
|
|
13213
|
+
}
|
|
13214
|
+
|
|
13215
|
+
interface CheckoutAddressCountry {
|
|
13216
|
+
readonly 'name': string;
|
|
13217
|
+
readonly 'code': string;
|
|
13218
|
+
readonly 'availability': io.flow.internal.v0.enums.CheckoutAddressType[];
|
|
13219
|
+
}
|
|
13220
|
+
|
|
12736
13221
|
interface CheckoutAddressPrediction {
|
|
12737
13222
|
readonly 'description': string;
|
|
12738
13223
|
readonly 'id': string;
|
|
@@ -13376,6 +13861,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13376
13861
|
readonly 'value': string;
|
|
13377
13862
|
}
|
|
13378
13863
|
|
|
13864
|
+
interface CheckoutInfoAddressCountriesFormData {
|
|
13865
|
+
readonly 'discriminator': 'checkout_info_address_countries_form_data';
|
|
13866
|
+
readonly 'data': io.flow.internal.v0.models.CheckoutAddressCountriesFormData;
|
|
13867
|
+
}
|
|
13868
|
+
|
|
13379
13869
|
interface CheckoutInfoAddressPredictions {
|
|
13380
13870
|
readonly 'discriminator': 'checkout_info_address_predictions';
|
|
13381
13871
|
readonly 'key': io.flow.internal.v0.models.CheckoutInfoAddressPredictionsKey[];
|
|
@@ -14888,6 +15378,17 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14888
15378
|
readonly 'classification_model_id': string;
|
|
14889
15379
|
}
|
|
14890
15380
|
|
|
15381
|
+
interface ClassifiedProductDetail {
|
|
15382
|
+
readonly 'product_id': string;
|
|
15383
|
+
readonly 'description'?: string;
|
|
15384
|
+
readonly 'items': io.flow.common.v0.models.CatalogItemSummary[];
|
|
15385
|
+
readonly 'images': io.flow.catalog.v0.models.Image[];
|
|
15386
|
+
readonly 'categories': string[];
|
|
15387
|
+
readonly 'product_harmonization': io.flow.internal.v0.models.ClassificationProductHarmonization;
|
|
15388
|
+
readonly 'status': io.flow.internal.v0.enums.ItemClassificationStatus;
|
|
15389
|
+
readonly 'classified_by': string;
|
|
15390
|
+
}
|
|
15391
|
+
|
|
14891
15392
|
interface Compliance {
|
|
14892
15393
|
readonly 'id': string;
|
|
14893
15394
|
readonly 'destination': string;
|
|
@@ -18705,6 +19206,16 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18705
19206
|
readonly 'to_service_id': string;
|
|
18706
19207
|
}
|
|
18707
19208
|
|
|
19209
|
+
interface OrderServiceFee {
|
|
19210
|
+
readonly 'currency': string;
|
|
19211
|
+
readonly 'tiers': io.flow.internal.v0.models.OrderServiceFeeTier[];
|
|
19212
|
+
}
|
|
19213
|
+
|
|
19214
|
+
interface OrderServiceFeeTier {
|
|
19215
|
+
readonly 'minimum_orders': number;
|
|
19216
|
+
readonly 'amount': number;
|
|
19217
|
+
}
|
|
19218
|
+
|
|
18708
19219
|
interface OrderShipped {
|
|
18709
19220
|
readonly 'discriminator': 'order_shipped';
|
|
18710
19221
|
readonly 'event_id': string;
|
|
@@ -21263,7 +21774,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
21263
21774
|
type CheckoutFeaturesResponse = (io.flow.internal.v0.models.CheckoutFeaturesResponseError | io.flow.internal.v0.models.CheckoutFeaturesResponseSuccess);
|
|
21264
21775
|
type CheckoutForm = (io.flow.internal.v0.models.CheckoutOrderForm | io.flow.internal.v0.models.CheckoutOrderNumberForm);
|
|
21265
21776
|
type CheckoutGetResponse = (io.flow.internal.v0.models.CheckoutGetResponseError | io.flow.internal.v0.models.CheckoutGetResponseSuccess);
|
|
21266
|
-
type CheckoutInfo = (io.flow.internal.v0.models.CheckoutInfoAddressBookContacts | io.flow.internal.v0.models.CheckoutInfoAddressConfigurationFormData | io.flow.internal.v0.models.CheckoutInfoAddressPredictions | io.flow.internal.v0.models.CheckoutInfoAnalyticsOrder | io.flow.internal.v0.models.CheckoutInfoAnalyticsSession | io.flow.internal.v0.models.CheckoutInfoContent | io.flow.internal.v0.models.CheckoutInfoCountriesFormData | io.flow.internal.v0.models.CheckoutInfoDeliveriesFormData | io.flow.internal.v0.models.CheckoutInfoHostedConfirmationPage | io.flow.internal.v0.models.CheckoutInfoMustUseOrder | io.flow.internal.v0.models.CheckoutInfoNationalIdNumberConfigurationFormData | io.flow.internal.v0.models.CheckoutInfoOptins | io.flow.internal.v0.models.CheckoutInfoOrderSummary | io.flow.internal.v0.models.CheckoutInfoPaymentDetails | io.flow.internal.v0.models.CheckoutInfoPaymentSourceOptions | io.flow.internal.v0.models.CheckoutInfoPaymentsFormData | io.flow.internal.v0.models.CheckoutInfoPublicKey | io.flow.internal.v0.models.CheckoutInfoTranslations);
|
|
21777
|
+
type CheckoutInfo = (io.flow.internal.v0.models.CheckoutInfoAddressBookContacts | io.flow.internal.v0.models.CheckoutInfoAddressConfigurationFormData | io.flow.internal.v0.models.CheckoutInfoAddressCountriesFormData | io.flow.internal.v0.models.CheckoutInfoAddressPredictions | io.flow.internal.v0.models.CheckoutInfoAnalyticsOrder | io.flow.internal.v0.models.CheckoutInfoAnalyticsSession | io.flow.internal.v0.models.CheckoutInfoContent | io.flow.internal.v0.models.CheckoutInfoCountriesFormData | io.flow.internal.v0.models.CheckoutInfoDeliveriesFormData | io.flow.internal.v0.models.CheckoutInfoHostedConfirmationPage | io.flow.internal.v0.models.CheckoutInfoMustUseOrder | io.flow.internal.v0.models.CheckoutInfoNationalIdNumberConfigurationFormData | io.flow.internal.v0.models.CheckoutInfoOptins | io.flow.internal.v0.models.CheckoutInfoOrderSummary | io.flow.internal.v0.models.CheckoutInfoPaymentDetails | io.flow.internal.v0.models.CheckoutInfoPaymentSourceOptions | io.flow.internal.v0.models.CheckoutInfoPaymentsFormData | io.flow.internal.v0.models.CheckoutInfoPublicKey | io.flow.internal.v0.models.CheckoutInfoTranslations);
|
|
21267
21778
|
type CheckoutInitiatePaymentForm = (io.flow.internal.v0.models.CheckoutInitiateRedirectPaymentForm | io.flow.internal.v0.models.CheckoutInitiateInlinePaymentForm | io.flow.internal.v0.models.CheckoutInitiateDirectPaymentForm);
|
|
21268
21779
|
type CheckoutInput = (io.flow.internal.v0.models.CheckoutInputAddAttributes | io.flow.internal.v0.models.CheckoutInputDeleteAddressBookContact | io.flow.internal.v0.models.CheckoutInputDeleteAddressStreet | io.flow.internal.v0.models.CheckoutInputDeletePaymentSource | io.flow.internal.v0.models.CheckoutInputSaveAddressBook | io.flow.internal.v0.models.CheckoutInputSavePaymentSource | io.flow.internal.v0.models.CheckoutInputSelectAddressBookContact | io.flow.internal.v0.models.CheckoutInputSetAddressCity | io.flow.internal.v0.models.CheckoutInputSetAddressCompany | io.flow.internal.v0.models.CheckoutInputSetAddressCountry | io.flow.internal.v0.models.CheckoutInputSetAddressFirstName | io.flow.internal.v0.models.CheckoutInputSetAddressLastName | io.flow.internal.v0.models.CheckoutInputSetAddressName | io.flow.internal.v0.models.CheckoutInputSetAddressPostal | io.flow.internal.v0.models.CheckoutInputSetAddressProvince | io.flow.internal.v0.models.CheckoutInputSetAddressSource | io.flow.internal.v0.models.CheckoutInputSetAddressStreet | io.flow.internal.v0.models.CheckoutInputSetAttributes | io.flow.internal.v0.models.CheckoutInputSetContactEmail | io.flow.internal.v0.models.CheckoutInputSetContactPhone | io.flow.internal.v0.models.CheckoutInputSetCurrency | io.flow.internal.v0.models.CheckoutInputSetDeliveryOption | io.flow.internal.v0.models.CheckoutInputSetLanguage | io.flow.internal.v0.models.CheckoutInputSetLocale | io.flow.internal.v0.models.CheckoutInputSetNationalIdNumber | io.flow.internal.v0.models.CheckoutInputSetOptinPrompt | io.flow.internal.v0.models.CheckoutInputSetPaymentSource);
|
|
21269
21780
|
type CheckoutOrder = (io.flow.internal.v0.models.CheckoutOpenOrder | io.flow.internal.v0.models.CheckoutSubmittedOrder);
|
|
@@ -21795,10 +22306,7 @@ export const channelOrderAcceptanceForm: PropTypes.Requireable<io.flow.internal.
|
|
|
21795
22306
|
export const channelOrderAcceptanceUpserted: PropTypes.Requireable<io.flow.internal.v0.models.ChannelOrderAcceptanceUpserted>;
|
|
21796
22307
|
export const channelOrganizationShopify: PropTypes.Requireable<io.flow.internal.v0.models.ChannelOrganizationShopify>;
|
|
21797
22308
|
export const channelOrganizationShopifyForm: PropTypes.Requireable<io.flow.internal.v0.models.ChannelOrganizationShopifyForm>;
|
|
21798
|
-
export const channelServiceFee: PropTypes.Requireable<io.flow.internal.v0.models.ChannelServiceFee>;
|
|
21799
|
-
export const channelServiceFeeTier: PropTypes.Requireable<io.flow.internal.v0.models.ChannelServiceFeeTier>;
|
|
21800
22309
|
export const channelTokenForm: PropTypes.Requireable<io.flow.internal.v0.models.ChannelTokenForm>;
|
|
21801
|
-
export const channelTransaction: PropTypes.Requireable<io.flow.internal.v0.models.ChannelTransaction>;
|
|
21802
22310
|
export const channelTransactionDeleted: PropTypes.Requireable<io.flow.internal.v0.models.ChannelTransactionDeleted>;
|
|
21803
22311
|
export const channelTransactionUpserted: PropTypes.Requireable<io.flow.internal.v0.models.ChannelTransactionUpserted>;
|
|
21804
22312
|
export const chargeback: PropTypes.Requireable<io.flow.internal.v0.models.Chargeback>;
|
|
@@ -21817,6 +22325,8 @@ export const checkoutAddressBook: PropTypes.Requireable<io.flow.internal.v0.mode
|
|
|
21817
22325
|
export const checkoutAddressBookContact: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutAddressBookContact>;
|
|
21818
22326
|
export const checkoutAddressBookContactReference: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutAddressBookContactReference>;
|
|
21819
22327
|
export const checkoutAddressBookContactRemoved: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutAddressBookContactRemoved>;
|
|
22328
|
+
export const checkoutAddressCountriesFormData: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutAddressCountriesFormData>;
|
|
22329
|
+
export const checkoutAddressCountry: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutAddressCountry>;
|
|
21820
22330
|
export const checkoutAddressPrediction: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutAddressPrediction>;
|
|
21821
22331
|
export const checkoutAddressPredictionMetadata: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutAddressPredictionMetadata>;
|
|
21822
22332
|
export const checkoutAddressPredictions: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutAddressPredictions>;
|
|
@@ -21936,6 +22446,7 @@ export const checkoutInfoAddressBookContacts: PropTypes.Requireable<io.flow.inte
|
|
|
21936
22446
|
export const checkoutInfoAddressBookContactsKey: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutInfoAddressBookContactsKey>;
|
|
21937
22447
|
export const checkoutInfoAddressConfigurationFormData: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutInfoAddressConfigurationFormData>;
|
|
21938
22448
|
export const checkoutInfoAddressConfigurationFormDataKey: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutInfoAddressConfigurationFormDataKey>;
|
|
22449
|
+
export const checkoutInfoAddressCountriesFormData: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutInfoAddressCountriesFormData>;
|
|
21939
22450
|
export const checkoutInfoAddressPredictions: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutInfoAddressPredictions>;
|
|
21940
22451
|
export const checkoutInfoAddressPredictionsKey: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutInfoAddressPredictionsKey>;
|
|
21941
22452
|
export const checkoutInfoAnalyticsOrder: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutInfoAnalyticsOrder>;
|
|
@@ -22201,6 +22712,7 @@ export const classificationRequeueRequest: PropTypes.Requireable<io.flow.interna
|
|
|
22201
22712
|
export const classificationStatistics: PropTypes.Requireable<io.flow.internal.v0.models.ClassificationStatistics>;
|
|
22202
22713
|
export const classificationWrapper: PropTypes.Requireable<io.flow.internal.v0.models.ClassificationWrapper>;
|
|
22203
22714
|
export const classifiedProduct: PropTypes.Requireable<io.flow.internal.v0.models.ClassifiedProduct>;
|
|
22715
|
+
export const classifiedProductDetail: PropTypes.Requireable<io.flow.internal.v0.models.ClassifiedProductDetail>;
|
|
22204
22716
|
export const compliance: PropTypes.Requireable<io.flow.internal.v0.models.Compliance>;
|
|
22205
22717
|
export const components: PropTypes.Requireable<io.flow.internal.v0.models.Components>;
|
|
22206
22718
|
export const consumerOptinActivity: PropTypes.Requireable<io.flow.internal.v0.models.ConsumerOptinActivity>;
|
|
@@ -22681,6 +23193,8 @@ export const orderRevenueRegionDataPoint: PropTypes.Requireable<io.flow.internal
|
|
|
22681
23193
|
export const orderRevenueTimelineChart: PropTypes.Requireable<io.flow.internal.v0.models.OrderRevenueTimelineChart>;
|
|
22682
23194
|
export const orderRevenueTimelineDataPoint: PropTypes.Requireable<io.flow.internal.v0.models.OrderRevenueTimelineDataPoint>;
|
|
22683
23195
|
export const orderServiceChangeCsvForm: PropTypes.Requireable<io.flow.internal.v0.models.OrderServiceChangeCsvForm>;
|
|
23196
|
+
export const orderServiceFee: PropTypes.Requireable<io.flow.internal.v0.models.OrderServiceFee>;
|
|
23197
|
+
export const orderServiceFeeTier: PropTypes.Requireable<io.flow.internal.v0.models.OrderServiceFeeTier>;
|
|
22684
23198
|
export const orderShipped: PropTypes.Requireable<io.flow.internal.v0.models.OrderShipped>;
|
|
22685
23199
|
export const orderSubmissionForm: PropTypes.Requireable<io.flow.internal.v0.models.OrderSubmissionForm>;
|
|
22686
23200
|
export const organizationAccount: PropTypes.Requireable<io.flow.internal.v0.models.OrganizationAccount>;
|