@flowio/api-internal-prop-types 9.21.1 → 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 +729 -228
- package/lib/api-internal.js +1 -1
- package/package.json +2 -2
- package/src/api-internal.d.ts +729 -228
- package/src/api-internal.js +683 -116
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;
|
|
@@ -3615,8 +3637,6 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
3615
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';
|
|
3616
3638
|
type ErrorType = 'api_connection_error' | 'api_error' | 'authentication_error' | 'card_error' | 'idempotency_error' | 'invalid_request_error' | 'rate_limit_error' | 'validation_error';
|
|
3617
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';
|
|
3618
|
-
type KlarnaPaymentMethodCategoryType = 'direct_bank_transfer' | 'direct_debit' | 'pay_later' | 'pay_now' | 'pay_over_time';
|
|
3619
|
-
type KlarnaProduct = 'payment';
|
|
3620
3640
|
type NetworkStatus = 'approved_by_network' | 'declined_by_network' | 'not_sent_to_network' | 'reversed_after_approval';
|
|
3621
3641
|
type NextActionType = 'redirect_to_url' | 'use_stripe_sdk';
|
|
3622
3642
|
type OrderItemType = 'sku' | 'tax' | 'shipping' | 'discount';
|
|
@@ -3874,7 +3894,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3874
3894
|
}
|
|
3875
3895
|
|
|
3876
3896
|
interface OrderItem {
|
|
3877
|
-
readonly 'object'
|
|
3897
|
+
readonly 'object': string;
|
|
3878
3898
|
readonly 'amount': number;
|
|
3879
3899
|
readonly 'currency': string;
|
|
3880
3900
|
readonly 'description'?: string;
|
|
@@ -4116,7 +4136,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
4116
4136
|
|
|
4117
4137
|
interface Shipping {
|
|
4118
4138
|
readonly 'address': io.flow.stripe.v0.models.Address;
|
|
4119
|
-
readonly 'name'
|
|
4139
|
+
readonly 'name': string;
|
|
4120
4140
|
readonly 'phone'?: string;
|
|
4121
4141
|
}
|
|
4122
4142
|
|
|
@@ -4139,7 +4159,6 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
4139
4159
|
readonly 'status': io.flow.stripe.v0.enums.SourceStatus;
|
|
4140
4160
|
readonly 'type': io.flow.stripe.v0.enums.SourceType;
|
|
4141
4161
|
readonly 'usage': io.flow.stripe.v0.enums.SourceUsageType;
|
|
4142
|
-
readonly 'source_order'?: io.flow.stripe.v0.models.SourceOrder;
|
|
4143
4162
|
}
|
|
4144
4163
|
|
|
4145
4164
|
interface SourceCard {
|
|
@@ -4170,50 +4189,12 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
4170
4189
|
readonly 'first_name'?: string;
|
|
4171
4190
|
readonly 'last_name'?: string;
|
|
4172
4191
|
readonly 'client_token': string;
|
|
4173
|
-
readonly 'payment_method_categories'?: string;
|
|
4174
|
-
readonly 'purchase_country'?: string;
|
|
4175
|
-
readonly 'shipping_first_name'?: string;
|
|
4176
|
-
readonly 'shipping_last_name'?: string;
|
|
4177
|
-
readonly 'locale'?: string;
|
|
4178
|
-
readonly 'pay_later_name'?: string;
|
|
4179
|
-
readonly 'pay_later_asset_urls_standard'?: string;
|
|
4180
|
-
readonly 'pay_later_asset_urls_descriptive'?: string;
|
|
4181
|
-
readonly 'pay_now_name'?: string;
|
|
4182
|
-
readonly 'pay_now_asset_urls_standard'?: string;
|
|
4183
|
-
readonly 'pay_now_asset_urls_descriptive'?: string;
|
|
4184
|
-
readonly 'pay_over_time_name'?: string;
|
|
4185
|
-
readonly 'pay_over_time_asset_urls_standard'?: string;
|
|
4186
|
-
readonly 'pay_over_time_asset_urls_descriptive'?: string;
|
|
4187
|
-
readonly 'direct_bank_transfer_name'?: string;
|
|
4188
|
-
readonly 'direct_bank_transfer_asset_urls_standard'?: string;
|
|
4189
|
-
readonly 'direct_bank_transfer_asset_urls_descriptive'?: string;
|
|
4190
|
-
readonly 'direct_debit_name'?: string;
|
|
4191
|
-
readonly 'direct_debit_asset_urls_standard'?: string;
|
|
4192
|
-
readonly 'direct_debit_asset_urls_descriptive'?: string;
|
|
4193
4192
|
}
|
|
4194
4193
|
|
|
4195
4194
|
interface SourceKlarnaRequest {
|
|
4196
4195
|
readonly 'first_name': string;
|
|
4197
4196
|
readonly 'last_name': string;
|
|
4198
|
-
readonly 'purchase_country'?: string;
|
|
4199
|
-
readonly 'product'?: io.flow.stripe.v0.enums.KlarnaProduct;
|
|
4200
4197
|
readonly 'attachment'?: string;
|
|
4201
|
-
readonly 'shipping_first_name'?: string;
|
|
4202
|
-
readonly 'shipping_last_name'?: string;
|
|
4203
|
-
readonly 'locale'?: string;
|
|
4204
|
-
}
|
|
4205
|
-
|
|
4206
|
-
interface SourceOrder {
|
|
4207
|
-
readonly 'amount'?: number;
|
|
4208
|
-
readonly 'currency'?: string;
|
|
4209
|
-
readonly 'email'?: string;
|
|
4210
|
-
readonly 'items'?: io.flow.stripe.v0.models.OrderItem[];
|
|
4211
|
-
readonly 'shipping'?: io.flow.stripe.v0.models.Shipping;
|
|
4212
|
-
}
|
|
4213
|
-
|
|
4214
|
-
interface SourceOrderRequest {
|
|
4215
|
-
readonly 'items'?: io.flow.stripe.v0.models.OrderItemRequest[];
|
|
4216
|
-
readonly 'shipping'?: io.flow.stripe.v0.models.Shipping;
|
|
4217
4198
|
}
|
|
4218
4199
|
|
|
4219
4200
|
interface SourceRequest {
|
|
@@ -4231,7 +4212,6 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
4231
4212
|
readonly 'three_d_secure'?: io.flow.stripe.v0.models.ThreeDSecure;
|
|
4232
4213
|
readonly 'token'?: string;
|
|
4233
4214
|
readonly 'usage': io.flow.stripe.v0.enums.SourceUsageType;
|
|
4234
|
-
readonly 'source_order'?: io.flow.stripe.v0.models.SourceOrderRequest;
|
|
4235
4215
|
}
|
|
4236
4216
|
|
|
4237
4217
|
interface Stripe3Ds2Fingerprint {
|
|
@@ -5258,7 +5238,7 @@ declare namespace io.flow.brickftp.v0.models {
|
|
|
5258
5238
|
readonly 'id': number;
|
|
5259
5239
|
readonly 'path': string;
|
|
5260
5240
|
readonly 'behavior': io.flow.brickftp.v0.enums.BehaviorType;
|
|
5261
|
-
readonly 'value':
|
|
5241
|
+
readonly 'value': string[];
|
|
5262
5242
|
}
|
|
5263
5243
|
|
|
5264
5244
|
interface BehaviorForm {
|
|
@@ -5409,11 +5389,6 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5409
5389
|
readonly 'currency': string;
|
|
5410
5390
|
}
|
|
5411
5391
|
|
|
5412
|
-
interface Applepay {
|
|
5413
|
-
readonly 'type': 'applepay';
|
|
5414
|
-
readonly 'applePayToken': string;
|
|
5415
|
-
}
|
|
5416
|
-
|
|
5417
5392
|
interface Authentication {
|
|
5418
5393
|
readonly 'threeds2.fingerprintToken'?: string;
|
|
5419
5394
|
readonly 'threeds2.challengeToken'?: string;
|
|
@@ -5441,8 +5416,6 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5441
5416
|
readonly 'browserInfo'?: io.flow.adyen.v0.unions.BrowserInfo;
|
|
5442
5417
|
readonly 'threeDS2RequestData'?: io.flow.adyen.v0.models.Threeds2RequestData;
|
|
5443
5418
|
readonly 'recurringProcessingModel'?: io.flow.adyen.v0.enums.RecurringProcessingModel;
|
|
5444
|
-
readonly 'mcc'?: string;
|
|
5445
|
-
readonly 'metadata'?: any/*object*/;
|
|
5446
5419
|
}
|
|
5447
5420
|
|
|
5448
5421
|
interface AuthorizeRequest3D {
|
|
@@ -5599,14 +5572,6 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5599
5572
|
readonly 'paymentData'?: string;
|
|
5600
5573
|
}
|
|
5601
5574
|
|
|
5602
|
-
interface PaymentDetailsV663Ds2Challenge {
|
|
5603
|
-
readonly 'threeds2.challengeResult': string;
|
|
5604
|
-
}
|
|
5605
|
-
|
|
5606
|
-
interface PaymentDetailsV663Ds2Fingerprint {
|
|
5607
|
-
readonly 'threeds2.fingerprint': string;
|
|
5608
|
-
}
|
|
5609
|
-
|
|
5610
5575
|
interface PaymentRequest {
|
|
5611
5576
|
readonly 'reference': string;
|
|
5612
5577
|
readonly 'merchantAccount': string;
|
|
@@ -5628,9 +5593,7 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5628
5593
|
readonly 'browserInfo'?: io.flow.adyen.v0.unions.BrowserInfo;
|
|
5629
5594
|
readonly 'origin'?: string;
|
|
5630
5595
|
readonly 'channel'?: io.flow.adyen.v0.enums.Channel;
|
|
5631
|
-
readonly '
|
|
5632
|
-
readonly 'mcc'?: string;
|
|
5633
|
-
readonly 'metadata'?: any/*object*/;
|
|
5596
|
+
readonly 'returnURL'?: string;
|
|
5634
5597
|
}
|
|
5635
5598
|
|
|
5636
5599
|
interface PaymentResponse {
|
|
@@ -5686,15 +5649,6 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5686
5649
|
readonly 'cvc'?: string;
|
|
5687
5650
|
}
|
|
5688
5651
|
|
|
5689
|
-
interface SdkV3OnCompleteData {
|
|
5690
|
-
readonly 'details': any/*object*/;
|
|
5691
|
-
readonly 'payment_data'?: string;
|
|
5692
|
-
}
|
|
5693
|
-
|
|
5694
|
-
interface SdkV3OnCompleteResult {
|
|
5695
|
-
readonly 'data': io.flow.adyen.v0.models.SdkV3OnCompleteData;
|
|
5696
|
-
}
|
|
5697
|
-
|
|
5698
5652
|
interface ThreeDSecureData {
|
|
5699
5653
|
readonly 'authenticationResponse'?: string;
|
|
5700
5654
|
readonly 'cavv'?: string;
|
|
@@ -5724,7 +5678,7 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5724
5678
|
|
|
5725
5679
|
declare namespace io.flow.adyen.v0.unions {
|
|
5726
5680
|
type BrowserInfo = (io.flow.adyen.v0.models.BrowserInfo3Ds1 | io.flow.adyen.v0.models.BrowserInfo3Ds2);
|
|
5727
|
-
type PaymentMethodData = (io.flow.adyen.v0.models.Scheme
|
|
5681
|
+
type PaymentMethodData = (io.flow.adyen.v0.models.Scheme);
|
|
5728
5682
|
}
|
|
5729
5683
|
|
|
5730
5684
|
declare namespace io.flow.order.management.v0.enums {
|
|
@@ -8769,14 +8723,10 @@ declare namespace io.flow.crypto.v0.models {
|
|
|
8769
8723
|
readonly 'publishable_key': string;
|
|
8770
8724
|
}
|
|
8771
8725
|
|
|
8772
|
-
interface Error {
|
|
8773
|
-
readonly 'type'?: io.flow.crypto.v0.enums.ErrorType;
|
|
8774
|
-
readonly 'code'?: string;
|
|
8775
|
-
readonly 'param'?: string;
|
|
8776
|
-
}
|
|
8777
|
-
|
|
8778
8726
|
interface ErrorResponse {
|
|
8779
|
-
readonly '
|
|
8727
|
+
readonly 'type': io.flow.crypto.v0.enums.ErrorType;
|
|
8728
|
+
readonly 'code': string;
|
|
8729
|
+
readonly 'param': string;
|
|
8780
8730
|
}
|
|
8781
8731
|
|
|
8782
8732
|
interface Payment {
|
|
@@ -8796,6 +8746,7 @@ declare namespace io.flow.crypto.v0.models {
|
|
|
8796
8746
|
readonly 'recipient': string;
|
|
8797
8747
|
readonly 'refunded': boolean;
|
|
8798
8748
|
readonly 'status': io.flow.crypto.v0.enums.PaymentStatus;
|
|
8749
|
+
readonly 'time_window': number;
|
|
8799
8750
|
}
|
|
8800
8751
|
|
|
8801
8752
|
interface PaymentRequest {
|
|
@@ -9303,165 +9254,712 @@ declare namespace io.flow.inventory.v0.models {
|
|
|
9303
9254
|
readonly 'number': string;
|
|
9304
9255
|
}
|
|
9305
9256
|
|
|
9306
|
-
interface ReservationOrderReference {
|
|
9307
|
-
readonly 'number': string;
|
|
9257
|
+
interface ReservationOrderReference {
|
|
9258
|
+
readonly 'number': string;
|
|
9259
|
+
}
|
|
9260
|
+
}
|
|
9261
|
+
|
|
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;
|
|
9308
9817
|
}
|
|
9309
9818
|
}
|
|
9310
9819
|
|
|
9311
|
-
declare namespace io.flow.
|
|
9312
|
-
type
|
|
9313
|
-
type
|
|
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);
|
|
9314
9823
|
}
|
|
9315
9824
|
|
|
9316
|
-
declare namespace io.flow.
|
|
9317
|
-
type
|
|
9318
|
-
type
|
|
9319
|
-
type
|
|
9320
|
-
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';
|
|
9321
9830
|
}
|
|
9322
9831
|
|
|
9323
|
-
declare namespace io.flow.
|
|
9324
|
-
interface
|
|
9325
|
-
readonly '
|
|
9326
|
-
readonly '
|
|
9327
|
-
readonly '
|
|
9328
|
-
|
|
9329
|
-
|
|
9330
|
-
|
|
9331
|
-
readonly '
|
|
9332
|
-
readonly '
|
|
9333
|
-
|
|
9334
|
-
|
|
9335
|
-
|
|
9336
|
-
readonly 'authentication_technique': io.flow.permission.v0.enums.AuthenticationTechnique;
|
|
9337
|
-
readonly 'user'?: io.flow.common.v0.unions.ExpandableUser;
|
|
9338
|
-
readonly 'roles': io.flow.permission.v0.enums.FlowRole[];
|
|
9339
|
-
readonly 'behaviors': io.flow.permission.v0.enums.FlowBehavior[];
|
|
9340
|
-
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;
|
|
9341
9845
|
}
|
|
9342
9846
|
|
|
9343
|
-
interface
|
|
9344
|
-
readonly '
|
|
9345
|
-
readonly '
|
|
9346
|
-
readonly '
|
|
9347
|
-
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;
|
|
9348
9853
|
}
|
|
9349
9854
|
|
|
9350
|
-
interface
|
|
9351
|
-
readonly '
|
|
9352
|
-
readonly '
|
|
9855
|
+
interface AccountContactForm {
|
|
9856
|
+
readonly 'email': string;
|
|
9857
|
+
readonly 'first_name'?: string;
|
|
9858
|
+
readonly 'last_name'?: string;
|
|
9859
|
+
readonly 'phone'?: string;
|
|
9353
9860
|
}
|
|
9354
9861
|
|
|
9355
|
-
interface
|
|
9356
|
-
readonly '
|
|
9357
|
-
readonly '
|
|
9358
|
-
readonly 'authentication_techniques': io.flow.permission.v0.enums.AuthenticationTechnique[];
|
|
9359
|
-
readonly 'roles': io.flow.permission.v0.enums.FlowRole[];
|
|
9862
|
+
interface AccountDepositRule {
|
|
9863
|
+
readonly 'target': number;
|
|
9864
|
+
readonly 'rate': number;
|
|
9360
9865
|
}
|
|
9361
9866
|
|
|
9362
|
-
interface
|
|
9363
|
-
readonly '
|
|
9867
|
+
interface AccountDepositRuleForm {
|
|
9868
|
+
readonly 'target': number;
|
|
9869
|
+
readonly 'rate': number;
|
|
9364
9870
|
}
|
|
9365
|
-
}
|
|
9366
9871
|
|
|
9367
|
-
|
|
9368
|
-
|
|
9369
|
-
|
|
9370
|
-
|
|
9371
|
-
declare namespace io.flow.query.builder.v0.models {
|
|
9372
|
-
interface AvailableFilterStructured {
|
|
9373
|
-
readonly 'discriminator': 'structured';
|
|
9374
|
-
readonly 'field': string;
|
|
9375
|
-
readonly 'operators': string[];
|
|
9376
|
-
readonly 'format': io.flow.query.builder.v0.enums.AvailableFilterFormat;
|
|
9377
|
-
readonly 'valid_values'?: string[];
|
|
9378
|
-
readonly 'placeholder'?: string;
|
|
9872
|
+
interface AccountReference {
|
|
9873
|
+
readonly 'id': string;
|
|
9874
|
+
readonly 'currency': string;
|
|
9379
9875
|
}
|
|
9380
9876
|
|
|
9381
|
-
interface
|
|
9382
|
-
readonly '
|
|
9383
|
-
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;
|
|
9384
9881
|
}
|
|
9385
9882
|
|
|
9386
|
-
interface
|
|
9387
|
-
readonly '
|
|
9388
|
-
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[];
|
|
9389
9889
|
}
|
|
9390
9890
|
|
|
9391
|
-
interface
|
|
9392
|
-
readonly '
|
|
9393
|
-
readonly '
|
|
9394
|
-
readonly '
|
|
9891
|
+
interface BillingStatementAttachment {
|
|
9892
|
+
readonly 'key': io.flow.billing.v0.enums.BillingStatementAttachmentKey;
|
|
9893
|
+
readonly 'name': string;
|
|
9894
|
+
readonly 'url': string;
|
|
9395
9895
|
}
|
|
9396
9896
|
|
|
9397
|
-
interface
|
|
9398
|
-
readonly '
|
|
9399
|
-
readonly 'filters': io.flow.query.builder.v0.unions.QueryFilterForm[];
|
|
9897
|
+
interface BillingStatementReference {
|
|
9898
|
+
readonly 'id': string;
|
|
9400
9899
|
}
|
|
9401
9900
|
|
|
9402
|
-
interface
|
|
9403
|
-
readonly '
|
|
9404
|
-
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;
|
|
9405
9915
|
}
|
|
9406
9916
|
|
|
9407
|
-
interface
|
|
9408
|
-
readonly '
|
|
9409
|
-
readonly '
|
|
9410
|
-
readonly '
|
|
9411
|
-
readonly '
|
|
9412
|
-
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;
|
|
9413
9926
|
}
|
|
9414
9927
|
|
|
9415
|
-
interface
|
|
9416
|
-
readonly '
|
|
9417
|
-
readonly '
|
|
9418
|
-
readonly '
|
|
9419
|
-
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;
|
|
9420
9932
|
}
|
|
9421
9933
|
|
|
9422
|
-
interface
|
|
9423
|
-
readonly '
|
|
9424
|
-
readonly '
|
|
9934
|
+
interface EmailForm {
|
|
9935
|
+
readonly 'to': string[];
|
|
9936
|
+
readonly 'cc'?: string[];
|
|
9937
|
+
readonly 'bcc'?: string[];
|
|
9425
9938
|
}
|
|
9426
9939
|
|
|
9427
|
-
interface
|
|
9428
|
-
readonly '
|
|
9429
|
-
readonly '
|
|
9940
|
+
interface NextBillingStatement {
|
|
9941
|
+
readonly 'date': string;
|
|
9942
|
+
readonly 'amount': io.flow.common.v0.models.Price;
|
|
9943
|
+
readonly 'conditions'?: string;
|
|
9430
9944
|
}
|
|
9431
|
-
}
|
|
9432
|
-
|
|
9433
|
-
declare namespace io.flow.query.builder.v0.unions {
|
|
9434
|
-
type AvailableFilter = (io.flow.query.builder.v0.models.AvailableFilterStructured | io.flow.query.builder.v0.models.AvailableFilterUnstructured);
|
|
9435
|
-
type QueryBuilderForm = (io.flow.query.builder.v0.models.QueryBuilderFilterForm | io.flow.query.builder.v0.models.QueryBuilderQueryForm);
|
|
9436
|
-
type QueryFilter = (io.flow.query.builder.v0.models.QueryFilterStructured | io.flow.query.builder.v0.models.QueryFilterUnstructured);
|
|
9437
|
-
type QueryFilterForm = (io.flow.query.builder.v0.models.QueryFilterStructuredForm | io.flow.query.builder.v0.models.QueryFilterUnstructuredForm);
|
|
9438
|
-
}
|
|
9439
9945
|
|
|
9440
|
-
|
|
9441
|
-
interface LocalItem {
|
|
9946
|
+
interface OrganizationAccount {
|
|
9442
9947
|
readonly 'id': string;
|
|
9443
|
-
readonly '
|
|
9444
|
-
readonly '
|
|
9445
|
-
readonly 'item': io.flow.common.v0.models.CatalogItemReference;
|
|
9446
|
-
readonly 'pricing': io.flow.item.v0.models.LocalItemPricing;
|
|
9447
|
-
readonly 'status': io.flow.catalog.v0.enums.SubcatalogItemStatus;
|
|
9448
|
-
readonly 'attributes'?: Record<string, string>;
|
|
9948
|
+
readonly 'organization': io.flow.common.v0.models.OrganizationReference;
|
|
9949
|
+
readonly 'account': io.flow.billing.v0.models.SimpleAccountReference;
|
|
9449
9950
|
}
|
|
9450
9951
|
|
|
9451
|
-
interface
|
|
9452
|
-
readonly '
|
|
9453
|
-
readonly 'vat'?: io.flow.catalog.v0.models.LocalizedItemVat;
|
|
9454
|
-
readonly 'duty'?: io.flow.catalog.v0.models.LocalizedItemDuty;
|
|
9455
|
-
readonly 'price': io.flow.catalog.v0.models.LocalizedItemPrice;
|
|
9952
|
+
interface SimpleAccountReference {
|
|
9953
|
+
readonly 'id': string;
|
|
9456
9954
|
}
|
|
9457
9955
|
|
|
9458
|
-
interface
|
|
9459
|
-
readonly '
|
|
9460
|
-
readonly '
|
|
9461
|
-
readonly '
|
|
9462
|
-
readonly '
|
|
9463
|
-
readonly '
|
|
9464
|
-
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;
|
|
9465
9963
|
}
|
|
9466
9964
|
}
|
|
9467
9965
|
|
|
@@ -11003,7 +11501,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
11003
11501
|
type AddressConfigurationSettingProvinceCode = 'iso_3166_2' | 'name';
|
|
11004
11502
|
type ApiCallReferenceId = 'duty_rates_data_event' | 'integration_test' | 'unit_test';
|
|
11005
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';
|
|
11006
|
-
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';
|
|
11007
11505
|
type BillingStatementBatchFileKey = 'archive' | 'summary';
|
|
11008
11506
|
type BillingStatementReviewStatus = 'approved' | 'pending';
|
|
11009
11507
|
type BillingTransactionStatus = 'pending' | 'posted';
|
|
@@ -12577,41 +13075,17 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12577
13075
|
readonly 'metadata': io.flow.internal.v0.models.ShopifyMetadata;
|
|
12578
13076
|
}
|
|
12579
13077
|
|
|
12580
|
-
interface ChannelServiceFee {
|
|
12581
|
-
readonly 'tiers': io.flow.internal.v0.models.ChannelServiceFeeTier[];
|
|
12582
|
-
}
|
|
12583
|
-
|
|
12584
|
-
interface ChannelServiceFeeTier {
|
|
12585
|
-
readonly 'minimum_orders': number;
|
|
12586
|
-
readonly 'amount': number;
|
|
12587
|
-
}
|
|
12588
|
-
|
|
12589
13078
|
interface ChannelTokenForm {
|
|
12590
13079
|
readonly 'channel_id': string;
|
|
12591
13080
|
readonly 'description'?: string;
|
|
12592
13081
|
}
|
|
12593
13082
|
|
|
12594
|
-
interface ChannelTransaction {
|
|
12595
|
-
readonly 'id': string;
|
|
12596
|
-
readonly 'organization_id': string;
|
|
12597
|
-
readonly 'processing_transaction_id': string;
|
|
12598
|
-
readonly 'order_number': string;
|
|
12599
|
-
readonly 'channel_currency': string;
|
|
12600
|
-
readonly 'mor_convenience_fee': number;
|
|
12601
|
-
readonly 'flow_fx_fee_on_mor': number;
|
|
12602
|
-
readonly 'flow_processing_fee': number;
|
|
12603
|
-
readonly 'flow_fraud_fee': number;
|
|
12604
|
-
readonly 'service_fee': number;
|
|
12605
|
-
readonly 'logistics_fee': number;
|
|
12606
|
-
readonly 'total': number;
|
|
12607
|
-
}
|
|
12608
|
-
|
|
12609
13083
|
interface ChannelTransactionDeleted {
|
|
12610
13084
|
readonly 'discriminator': 'channel_transaction_deleted';
|
|
12611
13085
|
readonly 'event_id': string;
|
|
12612
13086
|
readonly 'timestamp': string;
|
|
12613
13087
|
readonly 'organization': string;
|
|
12614
|
-
readonly 'channel_transaction': io.flow.internal.v0.models.ChannelTransaction;
|
|
13088
|
+
readonly 'channel_transaction': io.flow.billing.internal.v0.models.ChannelTransaction;
|
|
12615
13089
|
}
|
|
12616
13090
|
|
|
12617
13091
|
interface ChannelTransactionUpserted {
|
|
@@ -12619,7 +13093,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12619
13093
|
readonly 'event_id': string;
|
|
12620
13094
|
readonly 'timestamp': string;
|
|
12621
13095
|
readonly 'organization': string;
|
|
12622
|
-
readonly 'channel_transaction': io.flow.internal.v0.models.ChannelTransaction;
|
|
13096
|
+
readonly 'channel_transaction': io.flow.billing.internal.v0.models.ChannelTransaction;
|
|
12623
13097
|
}
|
|
12624
13098
|
|
|
12625
13099
|
interface Chargeback {
|
|
@@ -12734,6 +13208,16 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12734
13208
|
readonly 'id': string;
|
|
12735
13209
|
}
|
|
12736
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
|
+
|
|
12737
13221
|
interface CheckoutAddressPrediction {
|
|
12738
13222
|
readonly 'description': string;
|
|
12739
13223
|
readonly 'id': string;
|
|
@@ -13377,6 +13861,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13377
13861
|
readonly 'value': string;
|
|
13378
13862
|
}
|
|
13379
13863
|
|
|
13864
|
+
interface CheckoutInfoAddressCountriesFormData {
|
|
13865
|
+
readonly 'discriminator': 'checkout_info_address_countries_form_data';
|
|
13866
|
+
readonly 'data': io.flow.internal.v0.models.CheckoutAddressCountriesFormData;
|
|
13867
|
+
}
|
|
13868
|
+
|
|
13380
13869
|
interface CheckoutInfoAddressPredictions {
|
|
13381
13870
|
readonly 'discriminator': 'checkout_info_address_predictions';
|
|
13382
13871
|
readonly 'key': io.flow.internal.v0.models.CheckoutInfoAddressPredictionsKey[];
|
|
@@ -18717,6 +19206,16 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18717
19206
|
readonly 'to_service_id': string;
|
|
18718
19207
|
}
|
|
18719
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
|
+
|
|
18720
19219
|
interface OrderShipped {
|
|
18721
19220
|
readonly 'discriminator': 'order_shipped';
|
|
18722
19221
|
readonly 'event_id': string;
|
|
@@ -21275,7 +21774,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
21275
21774
|
type CheckoutFeaturesResponse = (io.flow.internal.v0.models.CheckoutFeaturesResponseError | io.flow.internal.v0.models.CheckoutFeaturesResponseSuccess);
|
|
21276
21775
|
type CheckoutForm = (io.flow.internal.v0.models.CheckoutOrderForm | io.flow.internal.v0.models.CheckoutOrderNumberForm);
|
|
21277
21776
|
type CheckoutGetResponse = (io.flow.internal.v0.models.CheckoutGetResponseError | io.flow.internal.v0.models.CheckoutGetResponseSuccess);
|
|
21278
|
-
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);
|
|
21279
21778
|
type CheckoutInitiatePaymentForm = (io.flow.internal.v0.models.CheckoutInitiateRedirectPaymentForm | io.flow.internal.v0.models.CheckoutInitiateInlinePaymentForm | io.flow.internal.v0.models.CheckoutInitiateDirectPaymentForm);
|
|
21280
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);
|
|
21281
21780
|
type CheckoutOrder = (io.flow.internal.v0.models.CheckoutOpenOrder | io.flow.internal.v0.models.CheckoutSubmittedOrder);
|
|
@@ -21807,10 +22306,7 @@ export const channelOrderAcceptanceForm: PropTypes.Requireable<io.flow.internal.
|
|
|
21807
22306
|
export const channelOrderAcceptanceUpserted: PropTypes.Requireable<io.flow.internal.v0.models.ChannelOrderAcceptanceUpserted>;
|
|
21808
22307
|
export const channelOrganizationShopify: PropTypes.Requireable<io.flow.internal.v0.models.ChannelOrganizationShopify>;
|
|
21809
22308
|
export const channelOrganizationShopifyForm: PropTypes.Requireable<io.flow.internal.v0.models.ChannelOrganizationShopifyForm>;
|
|
21810
|
-
export const channelServiceFee: PropTypes.Requireable<io.flow.internal.v0.models.ChannelServiceFee>;
|
|
21811
|
-
export const channelServiceFeeTier: PropTypes.Requireable<io.flow.internal.v0.models.ChannelServiceFeeTier>;
|
|
21812
22309
|
export const channelTokenForm: PropTypes.Requireable<io.flow.internal.v0.models.ChannelTokenForm>;
|
|
21813
|
-
export const channelTransaction: PropTypes.Requireable<io.flow.internal.v0.models.ChannelTransaction>;
|
|
21814
22310
|
export const channelTransactionDeleted: PropTypes.Requireable<io.flow.internal.v0.models.ChannelTransactionDeleted>;
|
|
21815
22311
|
export const channelTransactionUpserted: PropTypes.Requireable<io.flow.internal.v0.models.ChannelTransactionUpserted>;
|
|
21816
22312
|
export const chargeback: PropTypes.Requireable<io.flow.internal.v0.models.Chargeback>;
|
|
@@ -21829,6 +22325,8 @@ export const checkoutAddressBook: PropTypes.Requireable<io.flow.internal.v0.mode
|
|
|
21829
22325
|
export const checkoutAddressBookContact: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutAddressBookContact>;
|
|
21830
22326
|
export const checkoutAddressBookContactReference: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutAddressBookContactReference>;
|
|
21831
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>;
|
|
21832
22330
|
export const checkoutAddressPrediction: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutAddressPrediction>;
|
|
21833
22331
|
export const checkoutAddressPredictionMetadata: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutAddressPredictionMetadata>;
|
|
21834
22332
|
export const checkoutAddressPredictions: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutAddressPredictions>;
|
|
@@ -21948,6 +22446,7 @@ export const checkoutInfoAddressBookContacts: PropTypes.Requireable<io.flow.inte
|
|
|
21948
22446
|
export const checkoutInfoAddressBookContactsKey: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutInfoAddressBookContactsKey>;
|
|
21949
22447
|
export const checkoutInfoAddressConfigurationFormData: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutInfoAddressConfigurationFormData>;
|
|
21950
22448
|
export const checkoutInfoAddressConfigurationFormDataKey: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutInfoAddressConfigurationFormDataKey>;
|
|
22449
|
+
export const checkoutInfoAddressCountriesFormData: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutInfoAddressCountriesFormData>;
|
|
21951
22450
|
export const checkoutInfoAddressPredictions: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutInfoAddressPredictions>;
|
|
21952
22451
|
export const checkoutInfoAddressPredictionsKey: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutInfoAddressPredictionsKey>;
|
|
21953
22452
|
export const checkoutInfoAnalyticsOrder: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutInfoAnalyticsOrder>;
|
|
@@ -22694,6 +23193,8 @@ export const orderRevenueRegionDataPoint: PropTypes.Requireable<io.flow.internal
|
|
|
22694
23193
|
export const orderRevenueTimelineChart: PropTypes.Requireable<io.flow.internal.v0.models.OrderRevenueTimelineChart>;
|
|
22695
23194
|
export const orderRevenueTimelineDataPoint: PropTypes.Requireable<io.flow.internal.v0.models.OrderRevenueTimelineDataPoint>;
|
|
22696
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>;
|
|
22697
23198
|
export const orderShipped: PropTypes.Requireable<io.flow.internal.v0.models.OrderShipped>;
|
|
22698
23199
|
export const orderSubmissionForm: PropTypes.Requireable<io.flow.internal.v0.models.OrderSubmissionForm>;
|
|
22699
23200
|
export const organizationAccount: PropTypes.Requireable<io.flow.internal.v0.models.OrganizationAccount>;
|