@flowio/types 11.21.0 → 11.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/dist/api-internal.d.ts +546 -100
- package/dist/api.d.ts +5 -43
- package/package.json +2 -2
- package/src/api-internal.ts +823 -242
- package/src/api.ts +6 -50
package/src/api-internal.ts
CHANGED
|
@@ -2356,6 +2356,28 @@ declare namespace io.flow.tracking.v0.models {
|
|
|
2356
2356
|
}
|
|
2357
2357
|
}
|
|
2358
2358
|
|
|
2359
|
+
declare namespace io.flow.invoice.v0.enums {
|
|
2360
|
+
type PaymentTerm = 'net7' | 'net15' | 'net30';
|
|
2361
|
+
}
|
|
2362
|
+
|
|
2363
|
+
declare namespace io.flow.invoice.v0.models {
|
|
2364
|
+
interface Invoice {
|
|
2365
|
+
readonly id: string;
|
|
2366
|
+
readonly number: string;
|
|
2367
|
+
readonly date: string;
|
|
2368
|
+
readonly terms: io.flow.invoice.v0.enums.PaymentTerm;
|
|
2369
|
+
readonly due_date: string;
|
|
2370
|
+
readonly lines: io.flow.invoice.v0.models.InvoiceLine[];
|
|
2371
|
+
readonly total: io.flow.common.v0.models.Price;
|
|
2372
|
+
}
|
|
2373
|
+
|
|
2374
|
+
interface InvoiceLine {
|
|
2375
|
+
readonly id: string;
|
|
2376
|
+
readonly description: string;
|
|
2377
|
+
readonly value: io.flow.common.v0.models.Price;
|
|
2378
|
+
}
|
|
2379
|
+
}
|
|
2380
|
+
|
|
2359
2381
|
declare namespace io.flow.token.internal.v0.models {
|
|
2360
2382
|
interface ChannelTokenForm {
|
|
2361
2383
|
readonly channel_id: string;
|
|
@@ -3572,6 +3594,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
3572
3594
|
readonly payment_state?: string;
|
|
3573
3595
|
readonly payer_email?: string;
|
|
3574
3596
|
readonly payer_status?: string;
|
|
3597
|
+
readonly approval_url?: string;
|
|
3575
3598
|
}
|
|
3576
3599
|
|
|
3577
3600
|
interface PaypalAuthorizationForm {
|
|
@@ -4043,13 +4066,6 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
4043
4066
|
| 'source.canceled'
|
|
4044
4067
|
| 'source.chargeable'
|
|
4045
4068
|
| 'source.failed';
|
|
4046
|
-
type KlarnaPaymentMethodCategoryType =
|
|
4047
|
-
| 'direct_bank_transfer'
|
|
4048
|
-
| 'direct_debit'
|
|
4049
|
-
| 'pay_later'
|
|
4050
|
-
| 'pay_now'
|
|
4051
|
-
| 'pay_over_time';
|
|
4052
|
-
type KlarnaProduct = 'payment';
|
|
4053
4069
|
type NetworkStatus =
|
|
4054
4070
|
| 'approved_by_network'
|
|
4055
4071
|
| 'declined_by_network'
|
|
@@ -4353,7 +4369,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
4353
4369
|
}
|
|
4354
4370
|
|
|
4355
4371
|
interface OrderItem {
|
|
4356
|
-
readonly object
|
|
4372
|
+
readonly object: string;
|
|
4357
4373
|
readonly amount: number;
|
|
4358
4374
|
readonly currency: string;
|
|
4359
4375
|
readonly description?: string;
|
|
@@ -4595,7 +4611,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
4595
4611
|
|
|
4596
4612
|
interface Shipping {
|
|
4597
4613
|
readonly address: io.flow.stripe.v0.models.Address;
|
|
4598
|
-
readonly name
|
|
4614
|
+
readonly name: string;
|
|
4599
4615
|
readonly phone?: string;
|
|
4600
4616
|
}
|
|
4601
4617
|
|
|
@@ -4618,7 +4634,6 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
4618
4634
|
readonly status: io.flow.stripe.v0.enums.SourceStatus;
|
|
4619
4635
|
readonly type: io.flow.stripe.v0.enums.SourceType;
|
|
4620
4636
|
readonly usage: io.flow.stripe.v0.enums.SourceUsageType;
|
|
4621
|
-
readonly source_order?: io.flow.stripe.v0.models.SourceOrder;
|
|
4622
4637
|
}
|
|
4623
4638
|
|
|
4624
4639
|
interface SourceCard {
|
|
@@ -4649,50 +4664,12 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
4649
4664
|
readonly first_name?: string;
|
|
4650
4665
|
readonly last_name?: string;
|
|
4651
4666
|
readonly client_token: string;
|
|
4652
|
-
readonly payment_method_categories?: string;
|
|
4653
|
-
readonly purchase_country?: string;
|
|
4654
|
-
readonly shipping_first_name?: string;
|
|
4655
|
-
readonly shipping_last_name?: string;
|
|
4656
|
-
readonly locale?: string;
|
|
4657
|
-
readonly pay_later_name?: string;
|
|
4658
|
-
readonly pay_later_asset_urls_standard?: string;
|
|
4659
|
-
readonly pay_later_asset_urls_descriptive?: string;
|
|
4660
|
-
readonly pay_now_name?: string;
|
|
4661
|
-
readonly pay_now_asset_urls_standard?: string;
|
|
4662
|
-
readonly pay_now_asset_urls_descriptive?: string;
|
|
4663
|
-
readonly pay_over_time_name?: string;
|
|
4664
|
-
readonly pay_over_time_asset_urls_standard?: string;
|
|
4665
|
-
readonly pay_over_time_asset_urls_descriptive?: string;
|
|
4666
|
-
readonly direct_bank_transfer_name?: string;
|
|
4667
|
-
readonly direct_bank_transfer_asset_urls_standard?: string;
|
|
4668
|
-
readonly direct_bank_transfer_asset_urls_descriptive?: string;
|
|
4669
|
-
readonly direct_debit_name?: string;
|
|
4670
|
-
readonly direct_debit_asset_urls_standard?: string;
|
|
4671
|
-
readonly direct_debit_asset_urls_descriptive?: string;
|
|
4672
4667
|
}
|
|
4673
4668
|
|
|
4674
4669
|
interface SourceKlarnaRequest {
|
|
4675
4670
|
readonly first_name: string;
|
|
4676
4671
|
readonly last_name: string;
|
|
4677
|
-
readonly purchase_country?: string;
|
|
4678
|
-
readonly product?: io.flow.stripe.v0.enums.KlarnaProduct;
|
|
4679
4672
|
readonly attachment?: string;
|
|
4680
|
-
readonly shipping_first_name?: string;
|
|
4681
|
-
readonly shipping_last_name?: string;
|
|
4682
|
-
readonly locale?: string;
|
|
4683
|
-
}
|
|
4684
|
-
|
|
4685
|
-
interface SourceOrder {
|
|
4686
|
-
readonly amount?: number;
|
|
4687
|
-
readonly currency?: string;
|
|
4688
|
-
readonly email?: string;
|
|
4689
|
-
readonly items?: io.flow.stripe.v0.models.OrderItem[];
|
|
4690
|
-
readonly shipping?: io.flow.stripe.v0.models.Shipping;
|
|
4691
|
-
}
|
|
4692
|
-
|
|
4693
|
-
interface SourceOrderRequest {
|
|
4694
|
-
readonly items?: io.flow.stripe.v0.models.OrderItemRequest[];
|
|
4695
|
-
readonly shipping?: io.flow.stripe.v0.models.Shipping;
|
|
4696
4673
|
}
|
|
4697
4674
|
|
|
4698
4675
|
interface SourceRequest {
|
|
@@ -4710,7 +4687,6 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
4710
4687
|
readonly three_d_secure?: io.flow.stripe.v0.models.ThreeDSecure;
|
|
4711
4688
|
readonly token?: string;
|
|
4712
4689
|
readonly usage: io.flow.stripe.v0.enums.SourceUsageType;
|
|
4713
|
-
readonly source_order?: io.flow.stripe.v0.models.SourceOrderRequest;
|
|
4714
4690
|
}
|
|
4715
4691
|
|
|
4716
4692
|
interface Stripe3Ds2Fingerprint {
|
|
@@ -6064,7 +6040,7 @@ declare namespace io.flow.brickftp.v0.models {
|
|
|
6064
6040
|
readonly id: number;
|
|
6065
6041
|
readonly path: string;
|
|
6066
6042
|
readonly behavior: io.flow.brickftp.v0.enums.BehaviorType;
|
|
6067
|
-
readonly value:
|
|
6043
|
+
readonly value: string[];
|
|
6068
6044
|
}
|
|
6069
6045
|
|
|
6070
6046
|
interface BehaviorForm {
|
|
@@ -6303,11 +6279,6 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
6303
6279
|
readonly currency: string;
|
|
6304
6280
|
}
|
|
6305
6281
|
|
|
6306
|
-
interface Applepay {
|
|
6307
|
-
readonly type: 'applepay';
|
|
6308
|
-
readonly applePayToken: string;
|
|
6309
|
-
}
|
|
6310
|
-
|
|
6311
6282
|
interface Authentication {
|
|
6312
6283
|
readonly 'threeds2.fingerprintToken'?: string;
|
|
6313
6284
|
readonly 'threeds2.challengeToken'?: string;
|
|
@@ -6335,8 +6306,6 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
6335
6306
|
readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
|
|
6336
6307
|
readonly threeDS2RequestData?: io.flow.adyen.v0.models.Threeds2RequestData;
|
|
6337
6308
|
readonly recurringProcessingModel?: io.flow.adyen.v0.enums.RecurringProcessingModel;
|
|
6338
|
-
readonly mcc?: string;
|
|
6339
|
-
readonly metadata?: any /*object*/;
|
|
6340
6309
|
}
|
|
6341
6310
|
|
|
6342
6311
|
interface AuthorizeRequest3D {
|
|
@@ -6493,14 +6462,6 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
6493
6462
|
readonly paymentData?: string;
|
|
6494
6463
|
}
|
|
6495
6464
|
|
|
6496
|
-
interface PaymentDetailsV663Ds2Challenge {
|
|
6497
|
-
readonly 'threeds2.challengeResult': string;
|
|
6498
|
-
}
|
|
6499
|
-
|
|
6500
|
-
interface PaymentDetailsV663Ds2Fingerprint {
|
|
6501
|
-
readonly 'threeds2.fingerprint': string;
|
|
6502
|
-
}
|
|
6503
|
-
|
|
6504
6465
|
interface PaymentRequest {
|
|
6505
6466
|
readonly reference: string;
|
|
6506
6467
|
readonly merchantAccount: string;
|
|
@@ -6522,9 +6483,7 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
6522
6483
|
readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
|
|
6523
6484
|
readonly origin?: string;
|
|
6524
6485
|
readonly channel?: io.flow.adyen.v0.enums.Channel;
|
|
6525
|
-
readonly
|
|
6526
|
-
readonly mcc?: string;
|
|
6527
|
-
readonly metadata?: any /*object*/;
|
|
6486
|
+
readonly returnURL?: string;
|
|
6528
6487
|
}
|
|
6529
6488
|
|
|
6530
6489
|
interface PaymentResponse {
|
|
@@ -6580,15 +6539,6 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
6580
6539
|
readonly cvc?: string;
|
|
6581
6540
|
}
|
|
6582
6541
|
|
|
6583
|
-
interface SdkV3OnCompleteData {
|
|
6584
|
-
readonly details: any /*object*/;
|
|
6585
|
-
readonly payment_data?: string;
|
|
6586
|
-
}
|
|
6587
|
-
|
|
6588
|
-
interface SdkV3OnCompleteResult {
|
|
6589
|
-
readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
|
|
6590
|
-
}
|
|
6591
|
-
|
|
6592
6542
|
interface ThreeDSecureData {
|
|
6593
6543
|
readonly authenticationResponse?: string;
|
|
6594
6544
|
readonly cavv?: string;
|
|
@@ -6620,9 +6570,7 @@ declare namespace io.flow.adyen.v0.unions {
|
|
|
6620
6570
|
type BrowserInfo =
|
|
6621
6571
|
| io.flow.adyen.v0.models.BrowserInfo3Ds1
|
|
6622
6572
|
| io.flow.adyen.v0.models.BrowserInfo3Ds2;
|
|
6623
|
-
type PaymentMethodData =
|
|
6624
|
-
| io.flow.adyen.v0.models.Scheme
|
|
6625
|
-
| io.flow.adyen.v0.models.Applepay;
|
|
6573
|
+
type PaymentMethodData = io.flow.adyen.v0.models.Scheme;
|
|
6626
6574
|
}
|
|
6627
6575
|
|
|
6628
6576
|
declare namespace io.flow.order.management.v0.enums {
|
|
@@ -10054,14 +10002,10 @@ declare namespace io.flow.crypto.v0.models {
|
|
|
10054
10002
|
readonly publishable_key: string;
|
|
10055
10003
|
}
|
|
10056
10004
|
|
|
10057
|
-
interface Error {
|
|
10058
|
-
readonly type?: io.flow.crypto.v0.enums.ErrorType;
|
|
10059
|
-
readonly code?: string;
|
|
10060
|
-
readonly param?: string;
|
|
10061
|
-
}
|
|
10062
|
-
|
|
10063
10005
|
interface ErrorResponse {
|
|
10064
|
-
readonly
|
|
10006
|
+
readonly type: io.flow.crypto.v0.enums.ErrorType;
|
|
10007
|
+
readonly code: string;
|
|
10008
|
+
readonly param: string;
|
|
10065
10009
|
}
|
|
10066
10010
|
|
|
10067
10011
|
interface Payment {
|
|
@@ -10081,6 +10025,7 @@ declare namespace io.flow.crypto.v0.models {
|
|
|
10081
10025
|
readonly recipient: string;
|
|
10082
10026
|
readonly refunded: boolean;
|
|
10083
10027
|
readonly status: io.flow.crypto.v0.enums.PaymentStatus;
|
|
10028
|
+
readonly time_window: number;
|
|
10084
10029
|
}
|
|
10085
10030
|
|
|
10086
10031
|
interface PaymentRequest {
|
|
@@ -10660,166 +10605,787 @@ declare namespace io.flow.permission.v0.enums {
|
|
|
10660
10605
|
type PermittedHttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
|
|
10661
10606
|
}
|
|
10662
10607
|
|
|
10663
|
-
declare namespace io.flow.permission.v0.models {
|
|
10664
|
-
interface BehaviorAudit {
|
|
10665
|
-
readonly behavior: io.flow.permission.v0.enums.FlowBehavior;
|
|
10666
|
-
readonly authentication_techniques: io.flow.permission.v0.enums.AuthenticationTechnique[];
|
|
10667
|
-
readonly roles: io.flow.permission.v0.enums.FlowRole[];
|
|
10668
|
-
}
|
|
10669
|
-
|
|
10670
|
-
interface PermissionAudit {
|
|
10671
|
-
readonly routes: io.flow.permission.v0.models.RouteAudit[];
|
|
10672
|
-
readonly behaviors: io.flow.permission.v0.models.BehaviorAudit[];
|
|
10673
|
-
}
|
|
10674
|
-
|
|
10675
|
-
interface PermissionCheck {
|
|
10676
|
-
readonly authentication_technique: io.flow.permission.v0.enums.AuthenticationTechnique;
|
|
10677
|
-
readonly user?: io.flow.common.v0.unions.ExpandableUser;
|
|
10678
|
-
readonly roles: io.flow.permission.v0.enums.FlowRole[];
|
|
10679
|
-
readonly behaviors: io.flow.permission.v0.enums.FlowBehavior[];
|
|
10680
|
-
readonly routes: io.flow.permission.v0.models.PermittedRoute[];
|
|
10608
|
+
declare namespace io.flow.permission.v0.models {
|
|
10609
|
+
interface BehaviorAudit {
|
|
10610
|
+
readonly behavior: io.flow.permission.v0.enums.FlowBehavior;
|
|
10611
|
+
readonly authentication_techniques: io.flow.permission.v0.enums.AuthenticationTechnique[];
|
|
10612
|
+
readonly roles: io.flow.permission.v0.enums.FlowRole[];
|
|
10613
|
+
}
|
|
10614
|
+
|
|
10615
|
+
interface PermissionAudit {
|
|
10616
|
+
readonly routes: io.flow.permission.v0.models.RouteAudit[];
|
|
10617
|
+
readonly behaviors: io.flow.permission.v0.models.BehaviorAudit[];
|
|
10618
|
+
}
|
|
10619
|
+
|
|
10620
|
+
interface PermissionCheck {
|
|
10621
|
+
readonly authentication_technique: io.flow.permission.v0.enums.AuthenticationTechnique;
|
|
10622
|
+
readonly user?: io.flow.common.v0.unions.ExpandableUser;
|
|
10623
|
+
readonly roles: io.flow.permission.v0.enums.FlowRole[];
|
|
10624
|
+
readonly behaviors: io.flow.permission.v0.enums.FlowBehavior[];
|
|
10625
|
+
readonly routes: io.flow.permission.v0.models.PermittedRoute[];
|
|
10626
|
+
}
|
|
10627
|
+
|
|
10628
|
+
interface PermissionError {
|
|
10629
|
+
readonly code: io.flow.error.v0.enums.GenericErrorCode;
|
|
10630
|
+
readonly messages: string[];
|
|
10631
|
+
readonly granting_roles?: io.flow.permission.v0.enums.FlowRole[];
|
|
10632
|
+
readonly admin_users?: io.flow.common.v0.models.User[];
|
|
10633
|
+
}
|
|
10634
|
+
|
|
10635
|
+
interface PermittedRoute {
|
|
10636
|
+
readonly method: io.flow.permission.v0.enums.PermittedHttpMethod;
|
|
10637
|
+
readonly path: string;
|
|
10638
|
+
}
|
|
10639
|
+
|
|
10640
|
+
interface RouteAudit {
|
|
10641
|
+
readonly method: io.flow.permission.v0.enums.PermittedHttpMethod;
|
|
10642
|
+
readonly path: string;
|
|
10643
|
+
readonly authentication_techniques: io.flow.permission.v0.enums.AuthenticationTechnique[];
|
|
10644
|
+
readonly roles: io.flow.permission.v0.enums.FlowRole[];
|
|
10645
|
+
}
|
|
10646
|
+
|
|
10647
|
+
interface SimplePermissionCheck {
|
|
10648
|
+
readonly behaviors: io.flow.permission.v0.enums.FlowBehavior[];
|
|
10649
|
+
}
|
|
10650
|
+
}
|
|
10651
|
+
|
|
10652
|
+
declare namespace io.flow.query.builder.v0.enums {
|
|
10653
|
+
type AvailableFilterFormat =
|
|
10654
|
+
| 'boolean'
|
|
10655
|
+
| 'date'
|
|
10656
|
+
| 'money'
|
|
10657
|
+
| 'decimal'
|
|
10658
|
+
| 'string'
|
|
10659
|
+
| 'unit_of_length'
|
|
10660
|
+
| 'unit_of_mass';
|
|
10661
|
+
}
|
|
10662
|
+
|
|
10663
|
+
declare namespace io.flow.query.builder.v0.models {
|
|
10664
|
+
interface AvailableFilterStructured {
|
|
10665
|
+
readonly discriminator: 'structured';
|
|
10666
|
+
readonly field: string;
|
|
10667
|
+
readonly operators: string[];
|
|
10668
|
+
readonly format: io.flow.query.builder.v0.enums.AvailableFilterFormat;
|
|
10669
|
+
readonly valid_values?: string[];
|
|
10670
|
+
readonly placeholder?: string;
|
|
10671
|
+
}
|
|
10672
|
+
|
|
10673
|
+
interface AvailableFilterUnstructured {
|
|
10674
|
+
readonly discriminator: 'unstructured';
|
|
10675
|
+
readonly placeholder?: string;
|
|
10676
|
+
}
|
|
10677
|
+
|
|
10678
|
+
interface Query {
|
|
10679
|
+
readonly q: string;
|
|
10680
|
+
readonly filters: io.flow.query.builder.v0.unions.QueryFilter[];
|
|
10681
|
+
}
|
|
10682
|
+
|
|
10683
|
+
interface QueryBuilder {
|
|
10684
|
+
readonly q: string;
|
|
10685
|
+
readonly filters: io.flow.query.builder.v0.unions.QueryFilter[];
|
|
10686
|
+
readonly available: io.flow.query.builder.v0.unions.AvailableFilter[];
|
|
10687
|
+
}
|
|
10688
|
+
|
|
10689
|
+
interface QueryBuilderFilterForm {
|
|
10690
|
+
readonly discriminator: 'filter';
|
|
10691
|
+
readonly filters: io.flow.query.builder.v0.unions.QueryFilterForm[];
|
|
10692
|
+
}
|
|
10693
|
+
|
|
10694
|
+
interface QueryBuilderQueryForm {
|
|
10695
|
+
readonly discriminator: 'query';
|
|
10696
|
+
readonly q: string;
|
|
10697
|
+
}
|
|
10698
|
+
|
|
10699
|
+
interface QueryFilterStructured {
|
|
10700
|
+
readonly discriminator: 'structured';
|
|
10701
|
+
readonly q: string;
|
|
10702
|
+
readonly field: string;
|
|
10703
|
+
readonly operator: string;
|
|
10704
|
+
readonly values: string[];
|
|
10705
|
+
}
|
|
10706
|
+
|
|
10707
|
+
interface QueryFilterStructuredForm {
|
|
10708
|
+
readonly discriminator: 'structured';
|
|
10709
|
+
readonly field: string;
|
|
10710
|
+
readonly operator: string;
|
|
10711
|
+
readonly values: string[];
|
|
10712
|
+
}
|
|
10713
|
+
|
|
10714
|
+
interface QueryFilterUnstructured {
|
|
10715
|
+
readonly discriminator: 'unstructured';
|
|
10716
|
+
readonly q: string;
|
|
10717
|
+
}
|
|
10718
|
+
|
|
10719
|
+
interface QueryFilterUnstructuredForm {
|
|
10720
|
+
readonly discriminator: 'unstructured';
|
|
10721
|
+
readonly q: string;
|
|
10722
|
+
}
|
|
10723
|
+
}
|
|
10724
|
+
|
|
10725
|
+
declare namespace io.flow.query.builder.v0.unions {
|
|
10726
|
+
type AvailableFilter =
|
|
10727
|
+
| io.flow.query.builder.v0.models.AvailableFilterStructured
|
|
10728
|
+
| io.flow.query.builder.v0.models.AvailableFilterUnstructured;
|
|
10729
|
+
type QueryBuilderForm =
|
|
10730
|
+
| io.flow.query.builder.v0.models.QueryBuilderFilterForm
|
|
10731
|
+
| io.flow.query.builder.v0.models.QueryBuilderQueryForm;
|
|
10732
|
+
type QueryFilter =
|
|
10733
|
+
| io.flow.query.builder.v0.models.QueryFilterStructured
|
|
10734
|
+
| io.flow.query.builder.v0.models.QueryFilterUnstructured;
|
|
10735
|
+
type QueryFilterForm =
|
|
10736
|
+
| io.flow.query.builder.v0.models.QueryFilterStructuredForm
|
|
10737
|
+
| io.flow.query.builder.v0.models.QueryFilterUnstructuredForm;
|
|
10738
|
+
}
|
|
10739
|
+
|
|
10740
|
+
declare namespace io.flow.item.v0.models {
|
|
10741
|
+
interface LocalItem {
|
|
10742
|
+
readonly id: string;
|
|
10743
|
+
readonly experience: io.flow.common.v0.models.ExperienceSummary;
|
|
10744
|
+
readonly center?: io.flow.fulfillment.v0.models.CenterSummary;
|
|
10745
|
+
readonly item: io.flow.common.v0.models.CatalogItemReference;
|
|
10746
|
+
readonly pricing: io.flow.item.v0.models.LocalItemPricing;
|
|
10747
|
+
readonly status: io.flow.catalog.v0.enums.SubcatalogItemStatus;
|
|
10748
|
+
readonly attributes?: Record<string, string>;
|
|
10749
|
+
}
|
|
10750
|
+
|
|
10751
|
+
interface LocalItemAttributePricing {
|
|
10752
|
+
readonly pretax_price: io.flow.common.v0.models.PriceWithBase;
|
|
10753
|
+
readonly vat?: io.flow.catalog.v0.models.LocalizedItemVat;
|
|
10754
|
+
readonly duty?: io.flow.catalog.v0.models.LocalizedItemDuty;
|
|
10755
|
+
readonly price: io.flow.catalog.v0.models.LocalizedItemPrice;
|
|
10756
|
+
}
|
|
10757
|
+
|
|
10758
|
+
interface LocalItemPricing {
|
|
10759
|
+
readonly price: io.flow.catalog.v0.models.LocalizedItemPrice;
|
|
10760
|
+
readonly vat?: io.flow.catalog.v0.models.LocalizedItemVat;
|
|
10761
|
+
readonly duty?: io.flow.catalog.v0.models.LocalizedItemDuty;
|
|
10762
|
+
readonly shipping?: io.flow.common.v0.models.Price;
|
|
10763
|
+
readonly attributes: Record<string, io.flow.common.v0.models.PriceWithBase>;
|
|
10764
|
+
readonly price_attributes?: Record<
|
|
10765
|
+
string,
|
|
10766
|
+
io.flow.item.v0.models.LocalItemAttributePricing
|
|
10767
|
+
>;
|
|
10768
|
+
}
|
|
10769
|
+
}
|
|
10770
|
+
|
|
10771
|
+
declare namespace io.flow.billing.internal.v0.enums {
|
|
10772
|
+
type BillingAllocationKey =
|
|
10773
|
+
| 'freight_cost'
|
|
10774
|
+
| 'adjustment'
|
|
10775
|
+
| 'vat_deminimis'
|
|
10776
|
+
| 'duty_deminimis'
|
|
10777
|
+
| 'duties_item_price'
|
|
10778
|
+
| 'duties_freight'
|
|
10779
|
+
| 'duties_insurance'
|
|
10780
|
+
| 'vat_item_price'
|
|
10781
|
+
| 'vat_freight'
|
|
10782
|
+
| 'vat_insurance'
|
|
10783
|
+
| 'vat_duties_item_price'
|
|
10784
|
+
| 'vat_duties_freight'
|
|
10785
|
+
| 'vat_duties_insurance'
|
|
10786
|
+
| 'item_price'
|
|
10787
|
+
| 'item_discount'
|
|
10788
|
+
| 'rounding'
|
|
10789
|
+
| 'insurance'
|
|
10790
|
+
| 'shipping'
|
|
10791
|
+
| 'order_discount'
|
|
10792
|
+
| 'subtotal_percent_sales_margin'
|
|
10793
|
+
| 'subtotal_vat_percent_sales_margin'
|
|
10794
|
+
| 'subtotal_duty_percent_sales_margin'
|
|
10795
|
+
| 'vat_subsidy'
|
|
10796
|
+
| 'duty_subsidy'
|
|
10797
|
+
| 'fuel_surcharge'
|
|
10798
|
+
| 'remote_area_surcharge';
|
|
10799
|
+
type BillingStatementBatchFileKey = 'archive' | 'summary';
|
|
10800
|
+
type BillingStatementReviewStatus = 'approved' | 'pending';
|
|
10801
|
+
type ManualTransactionCategory =
|
|
10802
|
+
| 'cancelled_order_refund'
|
|
10803
|
+
| 'client_accepted_chargeback'
|
|
10804
|
+
| 'fee_reimbursement'
|
|
10805
|
+
| 'partial_refund'
|
|
10806
|
+
| 'platform_fee'
|
|
10807
|
+
| 'shipping_true_up'
|
|
10808
|
+
| 'tax_credit';
|
|
10809
|
+
type PreferredBillingSchedule = 'monthly' | 'bi-monthly';
|
|
10810
|
+
type ProcessingTransactionType =
|
|
10811
|
+
| 'adjustment'
|
|
10812
|
+
| 'capture'
|
|
10813
|
+
| 'refund'
|
|
10814
|
+
| 'fully_subsidized_order'
|
|
10815
|
+
| 'credit_payment';
|
|
10816
|
+
type ResponsibleParty = 'flow' | 'organization';
|
|
10817
|
+
type TransferMethod = 'ach';
|
|
10818
|
+
}
|
|
10819
|
+
|
|
10820
|
+
declare namespace io.flow.billing.internal.v0.models {
|
|
10821
|
+
interface AccountForm {
|
|
10822
|
+
readonly timezone: string;
|
|
10823
|
+
readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule;
|
|
10824
|
+
readonly payment_conditions?: string;
|
|
10825
|
+
readonly deposit_rule?: io.flow.billing.v0.models.AccountDepositRuleForm;
|
|
10826
|
+
readonly center_key?: string;
|
|
10827
|
+
}
|
|
10828
|
+
|
|
10829
|
+
interface BankPayment {
|
|
10830
|
+
readonly id: string;
|
|
10831
|
+
readonly key: string;
|
|
10832
|
+
readonly account: io.flow.billing.v0.models.AccountReference;
|
|
10833
|
+
readonly reference?: string;
|
|
10834
|
+
readonly sent_on: string;
|
|
10835
|
+
readonly expected_delivery_by: string;
|
|
10836
|
+
readonly total: io.flow.common.v0.models.Price;
|
|
10837
|
+
}
|
|
10838
|
+
|
|
10839
|
+
interface BankPaymentForm {
|
|
10840
|
+
readonly account_id: string;
|
|
10841
|
+
readonly reference?: string;
|
|
10842
|
+
readonly sent_on: string;
|
|
10843
|
+
readonly expected_delivery_by: string;
|
|
10844
|
+
readonly amount: number;
|
|
10845
|
+
readonly currency: string;
|
|
10846
|
+
readonly transfer_transaction_ids: string[];
|
|
10847
|
+
}
|
|
10848
|
+
|
|
10849
|
+
interface BillingAuthorizationReference {
|
|
10850
|
+
readonly id: string;
|
|
10851
|
+
}
|
|
10852
|
+
|
|
10853
|
+
interface BillingInvoiceSummary {
|
|
10854
|
+
readonly id: string;
|
|
10855
|
+
readonly url: string;
|
|
10856
|
+
}
|
|
10857
|
+
|
|
10858
|
+
interface BillingOrderDestination {
|
|
10859
|
+
readonly city?: string;
|
|
10860
|
+
readonly province?: string;
|
|
10861
|
+
readonly postal?: string;
|
|
10862
|
+
readonly country: string;
|
|
10863
|
+
}
|
|
10864
|
+
|
|
10865
|
+
interface BillingOrderSummary {
|
|
10866
|
+
readonly number: string;
|
|
10867
|
+
readonly submitted_at: string;
|
|
10868
|
+
readonly primary_identifier?: string;
|
|
10869
|
+
readonly destination?: io.flow.billing.internal.v0.models.BillingOrderDestination;
|
|
10870
|
+
}
|
|
10871
|
+
|
|
10872
|
+
interface BillingOrganizationProcessingRateForm {
|
|
10873
|
+
readonly query: string;
|
|
10874
|
+
readonly capture: number;
|
|
10875
|
+
readonly refund: number;
|
|
10876
|
+
readonly fraud: number;
|
|
10877
|
+
}
|
|
10878
|
+
|
|
10879
|
+
interface BillingOrganizationProcessingRates {
|
|
10880
|
+
readonly id: string;
|
|
10881
|
+
readonly query: string;
|
|
10882
|
+
readonly capture: number;
|
|
10883
|
+
readonly refund: number;
|
|
10884
|
+
readonly fraud: number;
|
|
10885
|
+
readonly position: number;
|
|
10886
|
+
}
|
|
10887
|
+
|
|
10888
|
+
interface BillingOrganizationProcessingRatesForm {
|
|
10889
|
+
readonly processing_rates: io.flow.billing.internal.v0.models.BillingOrganizationProcessingRateForm[];
|
|
10890
|
+
}
|
|
10891
|
+
|
|
10892
|
+
interface BillingOrganizationSettings {
|
|
10893
|
+
readonly id: string;
|
|
10894
|
+
readonly days_until_posted: number;
|
|
10895
|
+
readonly logistics: io.flow.billing.internal.v0.enums.ResponsibleParty;
|
|
10896
|
+
readonly include_transaction_created_at: boolean;
|
|
10897
|
+
readonly include_order_exchange_rate: boolean;
|
|
10898
|
+
readonly send_statements_to_flow_ftp_server: boolean;
|
|
10899
|
+
readonly invoicing_terms?: io.flow.invoice.v0.enums.PaymentTerm;
|
|
10900
|
+
readonly transfer_method?: io.flow.billing.internal.v0.enums.TransferMethod;
|
|
10901
|
+
readonly b2b_tax_remittance_days?: number;
|
|
10902
|
+
}
|
|
10903
|
+
|
|
10904
|
+
interface BillingStatementBatch {
|
|
10905
|
+
readonly id: string;
|
|
10906
|
+
readonly period: io.flow.common.v0.models.DatetimeRange;
|
|
10907
|
+
}
|
|
10908
|
+
|
|
10909
|
+
interface BillingStatementPendingReview {
|
|
10910
|
+
readonly organization: string;
|
|
10911
|
+
readonly statement: io.flow.billing.v0.models.BillingStatement;
|
|
10912
|
+
}
|
|
10913
|
+
|
|
10914
|
+
interface BillingStatementReview {
|
|
10915
|
+
readonly id: string;
|
|
10916
|
+
readonly billing_statement: io.flow.billing.v0.models.BillingStatementReference;
|
|
10917
|
+
readonly reviewed_by: io.flow.common.v0.models.UserReference;
|
|
10918
|
+
readonly reviewed_at: string;
|
|
10919
|
+
}
|
|
10920
|
+
|
|
10921
|
+
interface BillingStatementReviewForm {
|
|
10922
|
+
readonly reviewed_by_id: string;
|
|
10923
|
+
readonly reviewed_at: string;
|
|
10924
|
+
}
|
|
10925
|
+
|
|
10926
|
+
interface ChannelServiceFee {
|
|
10927
|
+
readonly tiers: io.flow.billing.internal.v0.models.ChannelServiceFeeTier[];
|
|
10928
|
+
}
|
|
10929
|
+
|
|
10930
|
+
interface ChannelServiceFeeTier {
|
|
10931
|
+
readonly minimum_orders: number;
|
|
10932
|
+
readonly amount: number;
|
|
10933
|
+
}
|
|
10934
|
+
|
|
10935
|
+
interface ChannelTransaction {
|
|
10936
|
+
readonly id: string;
|
|
10937
|
+
readonly organization_id: string;
|
|
10938
|
+
readonly processing_transaction_id: string;
|
|
10939
|
+
readonly order_number: string;
|
|
10940
|
+
readonly channel_currency: string;
|
|
10941
|
+
readonly mor_convenience_fee: number;
|
|
10942
|
+
readonly flow_fx_fee_on_mor: number;
|
|
10943
|
+
readonly flow_processing_fee: number;
|
|
10944
|
+
readonly flow_fraud_fee: number;
|
|
10945
|
+
readonly service_fee: number;
|
|
10946
|
+
readonly logistics_fee: number;
|
|
10947
|
+
readonly total: number;
|
|
10948
|
+
}
|
|
10949
|
+
|
|
10950
|
+
interface Components {
|
|
10951
|
+
readonly vat: io.flow.common.v0.models.Price;
|
|
10952
|
+
readonly duty: io.flow.common.v0.models.Price;
|
|
10953
|
+
readonly freight: io.flow.common.v0.models.Price;
|
|
10954
|
+
readonly insurance: io.flow.common.v0.models.Price;
|
|
10955
|
+
}
|
|
10956
|
+
|
|
10957
|
+
interface DisputeTransaction {
|
|
10958
|
+
readonly discriminator: 'dispute_transaction';
|
|
10959
|
+
readonly id: string;
|
|
10960
|
+
readonly type: io.flow.billing.v0.enums.BillingTransactionType;
|
|
10961
|
+
readonly authorization: io.flow.payment.v0.models.AuthorizationReference;
|
|
10962
|
+
readonly posted_at: string;
|
|
10963
|
+
readonly value: io.flow.common.v0.models.Price;
|
|
10964
|
+
readonly description: string;
|
|
10965
|
+
readonly statement?: io.flow.billing.v0.models.BillingStatementReference;
|
|
10966
|
+
readonly created_at: string;
|
|
10967
|
+
}
|
|
10968
|
+
|
|
10969
|
+
interface Fee {
|
|
10970
|
+
readonly value: io.flow.common.v0.models.Price;
|
|
10971
|
+
readonly description?: string;
|
|
10972
|
+
}
|
|
10973
|
+
|
|
10974
|
+
interface Fees {
|
|
10975
|
+
readonly processing: io.flow.billing.internal.v0.models.Fee;
|
|
10976
|
+
readonly rate_lock: io.flow.billing.internal.v0.models.Fee;
|
|
10977
|
+
readonly mor: io.flow.billing.internal.v0.models.Fee;
|
|
10978
|
+
}
|
|
10979
|
+
|
|
10980
|
+
interface FxFee {
|
|
10981
|
+
readonly base: io.flow.common.v0.models.Money;
|
|
10982
|
+
readonly local: io.flow.common.v0.models.Money;
|
|
10983
|
+
}
|
|
10984
|
+
|
|
10985
|
+
interface FxRevenueRecognition {
|
|
10986
|
+
readonly id: string;
|
|
10987
|
+
readonly organization: io.flow.billing.internal.v0.models.FxRevenueRecognitionOrganization;
|
|
10988
|
+
readonly account: io.flow.billing.internal.v0.models.FxRevenueRecognitionAccount;
|
|
10989
|
+
readonly fx: io.flow.billing.internal.v0.models.FxFee;
|
|
10990
|
+
readonly spot_rate: io.flow.billing.internal.v0.models.FxRevenueRecognitionRate;
|
|
10991
|
+
readonly created_at: string;
|
|
10992
|
+
readonly order: io.flow.billing.internal.v0.models.FxRevenueRecognitionOrder;
|
|
10993
|
+
readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
|
|
10994
|
+
readonly source: io.flow.billing.internal.v0.models.FxRevenueRecognitionSource;
|
|
10995
|
+
readonly reporting_date?: string;
|
|
10996
|
+
}
|
|
10997
|
+
|
|
10998
|
+
interface FxRevenueRecognitionAccount {
|
|
10999
|
+
readonly value: io.flow.common.v0.models.Money;
|
|
11000
|
+
readonly spot_rate: io.flow.billing.internal.v0.models.FxRevenueRecognitionAccountRate;
|
|
11001
|
+
}
|
|
11002
|
+
|
|
11003
|
+
interface FxRevenueRecognitionAccountRate {
|
|
11004
|
+
readonly value: number;
|
|
11005
|
+
}
|
|
11006
|
+
|
|
11007
|
+
interface FxRevenueRecognitionOrder {
|
|
11008
|
+
readonly number: string;
|
|
11009
|
+
readonly submitted_at: string;
|
|
11010
|
+
}
|
|
11011
|
+
|
|
11012
|
+
interface FxRevenueRecognitionOrganization {
|
|
11013
|
+
readonly id: string;
|
|
11014
|
+
}
|
|
11015
|
+
|
|
11016
|
+
interface FxRevenueRecognitionRate {
|
|
11017
|
+
readonly value: number;
|
|
11018
|
+
readonly margin: number;
|
|
11019
|
+
readonly timestamp: string;
|
|
11020
|
+
}
|
|
11021
|
+
|
|
11022
|
+
interface FxRevenueRecognitionSource {
|
|
11023
|
+
readonly id: string;
|
|
11024
|
+
readonly local: io.flow.common.v0.models.Money;
|
|
11025
|
+
readonly transaction_created_at: string;
|
|
11026
|
+
}
|
|
11027
|
+
|
|
11028
|
+
interface InvoiceTransaction {
|
|
11029
|
+
readonly discriminator: 'invoice_transaction';
|
|
11030
|
+
readonly id: string;
|
|
11031
|
+
readonly type: io.flow.billing.v0.enums.BillingTransactionType;
|
|
11032
|
+
readonly posted_at: string;
|
|
11033
|
+
readonly value: io.flow.common.v0.models.Price;
|
|
11034
|
+
readonly description: string;
|
|
11035
|
+
readonly statement?: io.flow.billing.v0.models.BillingStatementReference;
|
|
11036
|
+
readonly created_at: string;
|
|
11037
|
+
readonly invoice: io.flow.invoice.v0.models.Invoice;
|
|
11038
|
+
}
|
|
11039
|
+
|
|
11040
|
+
interface MainTransaction {
|
|
11041
|
+
readonly id: string;
|
|
11042
|
+
readonly account: io.flow.billing.v0.models.AccountReference;
|
|
11043
|
+
readonly type: io.flow.billing.v0.enums.BillingTransactionType;
|
|
11044
|
+
readonly value: io.flow.common.v0.models.Price;
|
|
11045
|
+
readonly posted_at: string;
|
|
11046
|
+
readonly statement?: io.flow.billing.v0.models.BillingStatementReference;
|
|
11047
|
+
readonly created_at: string;
|
|
11048
|
+
readonly original_at?: string;
|
|
11049
|
+
readonly disposition?: io.flow.billing.internal.v0.enums.BillingStatementReviewStatus;
|
|
11050
|
+
}
|
|
11051
|
+
|
|
11052
|
+
interface ManualTransaction {
|
|
11053
|
+
readonly discriminator: 'manual_transaction';
|
|
11054
|
+
readonly id: string;
|
|
11055
|
+
readonly type: io.flow.billing.v0.enums.BillingTransactionType;
|
|
11056
|
+
readonly posted_at: string;
|
|
11057
|
+
readonly value: io.flow.common.v0.models.Price;
|
|
11058
|
+
readonly description: string;
|
|
11059
|
+
readonly category?: io.flow.billing.internal.v0.enums.ManualTransactionCategory;
|
|
11060
|
+
readonly statement?: io.flow.billing.v0.models.BillingStatementReference;
|
|
11061
|
+
readonly created_at: string;
|
|
11062
|
+
}
|
|
11063
|
+
|
|
11064
|
+
interface ManualTransactionForm {
|
|
11065
|
+
readonly amount: number;
|
|
11066
|
+
readonly description: string;
|
|
11067
|
+
readonly category?: io.flow.billing.internal.v0.enums.ManualTransactionCategory;
|
|
11068
|
+
readonly posted_at?: string;
|
|
11069
|
+
}
|
|
11070
|
+
|
|
11071
|
+
interface PendingBankPayment {
|
|
11072
|
+
readonly organization: string;
|
|
11073
|
+
readonly account: io.flow.billing.v0.models.AccountReference;
|
|
11074
|
+
readonly recommended_reference: string;
|
|
11075
|
+
readonly total: io.flow.common.v0.models.Price;
|
|
11076
|
+
readonly details: io.flow.billing.internal.v0.models.PendingBankPaymentDetail[];
|
|
11077
|
+
}
|
|
11078
|
+
|
|
11079
|
+
interface PendingBankPaymentDetail {
|
|
11080
|
+
readonly transaction: io.flow.billing.internal.v0.models.TransactionReference;
|
|
11081
|
+
readonly statement: io.flow.billing.v0.models.BillingStatementReference;
|
|
11082
|
+
}
|
|
11083
|
+
|
|
11084
|
+
interface PlatformFeeChange {
|
|
11085
|
+
readonly organization_id: string;
|
|
11086
|
+
readonly key: string;
|
|
11087
|
+
readonly platform_fee: io.flow.billing.internal.v0.unions.PlatformFee;
|
|
11088
|
+
readonly starts_at: string;
|
|
11089
|
+
}
|
|
11090
|
+
|
|
11091
|
+
interface PlatformFeeChangeForm {
|
|
11092
|
+
readonly platform_fee: io.flow.billing.internal.v0.unions.PlatformFee;
|
|
11093
|
+
readonly starts_at: string;
|
|
11094
|
+
}
|
|
11095
|
+
|
|
11096
|
+
interface PlatformFeeDisabled {
|
|
11097
|
+
readonly discriminator: 'platform_fee_disabled';
|
|
11098
|
+
readonly attributes?: Record<string, string>;
|
|
11099
|
+
}
|
|
11100
|
+
|
|
11101
|
+
interface PlatformFeeFlat {
|
|
11102
|
+
readonly discriminator: 'platform_fee_flat';
|
|
11103
|
+
readonly amount: number;
|
|
11104
|
+
readonly currency: string;
|
|
11105
|
+
readonly frequency: io.flow.billing.v0.enums.SubscriptionFrequency;
|
|
11106
|
+
}
|
|
11107
|
+
|
|
11108
|
+
interface PlatformFeePause {
|
|
11109
|
+
readonly discriminator: 'platform_fee_pause';
|
|
11110
|
+
readonly attributes?: Record<string, string>;
|
|
11111
|
+
}
|
|
11112
|
+
|
|
11113
|
+
interface PlatformFeePercentage {
|
|
11114
|
+
readonly discriminator: 'platform_fee_percentage';
|
|
11115
|
+
readonly tiers: io.flow.billing.internal.v0.models.PlatformFeePercentageTier[];
|
|
11116
|
+
}
|
|
11117
|
+
|
|
11118
|
+
interface PlatformFeePercentageTier {
|
|
11119
|
+
readonly minimum_amount_base: number;
|
|
11120
|
+
readonly rate: number;
|
|
11121
|
+
}
|
|
11122
|
+
|
|
11123
|
+
interface ProcessingTransaction {
|
|
11124
|
+
readonly discriminator: 'processing_transaction';
|
|
11125
|
+
readonly id: string;
|
|
11126
|
+
readonly type: io.flow.billing.v0.enums.BillingTransactionType;
|
|
11127
|
+
readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
|
|
11128
|
+
readonly posted_at: string;
|
|
11129
|
+
readonly value: io.flow.common.v0.models.Price;
|
|
11130
|
+
readonly description: string;
|
|
11131
|
+
readonly statement?: io.flow.billing.v0.models.BillingStatementReference;
|
|
11132
|
+
readonly created_at: string;
|
|
11133
|
+
readonly original_at?: string;
|
|
11134
|
+
readonly reference: string;
|
|
11135
|
+
readonly primary_identifier?: string;
|
|
11136
|
+
readonly payment_method: string;
|
|
11137
|
+
readonly original: io.flow.common.v0.models.PriceWithBase;
|
|
11138
|
+
readonly original_base_at_spot_rate?: io.flow.common.v0.models.Price;
|
|
11139
|
+
readonly fees: io.flow.billing.internal.v0.models.Fees;
|
|
11140
|
+
readonly components?: io.flow.billing.internal.v0.models.Components;
|
|
11141
|
+
readonly withholdings: io.flow.billing.internal.v0.models.Components;
|
|
11142
|
+
readonly parent_transaction_id?: string;
|
|
11143
|
+
readonly order?: io.flow.billing.internal.v0.models.BillingOrderSummary;
|
|
11144
|
+
readonly spot_rate: number;
|
|
11145
|
+
readonly flow_rate: number;
|
|
11146
|
+
readonly organization_rate: number;
|
|
11147
|
+
readonly flow_margin: number;
|
|
11148
|
+
readonly organization_margin: number;
|
|
11149
|
+
readonly revenue_share?: io.flow.common.v0.models.Price;
|
|
11150
|
+
readonly disposition?: io.flow.billing.internal.v0.enums.BillingStatementReviewStatus;
|
|
11151
|
+
}
|
|
11152
|
+
|
|
11153
|
+
interface SubscriptionTransaction {
|
|
11154
|
+
readonly discriminator: 'subscription_transaction';
|
|
11155
|
+
readonly id: string;
|
|
11156
|
+
readonly type: io.flow.billing.v0.enums.BillingTransactionType;
|
|
11157
|
+
readonly posted_at: string;
|
|
11158
|
+
readonly value: io.flow.common.v0.models.Price;
|
|
11159
|
+
readonly description: string;
|
|
11160
|
+
readonly statement?: io.flow.billing.v0.models.BillingStatementReference;
|
|
11161
|
+
readonly created_at: string;
|
|
11162
|
+
readonly period: io.flow.common.v0.models.DatetimeRange;
|
|
11163
|
+
}
|
|
11164
|
+
|
|
11165
|
+
interface TaxRemittanceTransaction {
|
|
11166
|
+
readonly discriminator: 'tax_remittance_transaction';
|
|
11167
|
+
readonly id: string;
|
|
11168
|
+
readonly type: io.flow.billing.v0.enums.BillingTransactionType;
|
|
11169
|
+
readonly posted_at: string;
|
|
11170
|
+
readonly value: io.flow.common.v0.models.Price;
|
|
11171
|
+
readonly description: string;
|
|
11172
|
+
readonly statement?: io.flow.billing.v0.models.BillingStatementReference;
|
|
11173
|
+
readonly created_at: string;
|
|
11174
|
+
readonly order: io.flow.billing.internal.v0.models.BillingOrderSummary;
|
|
11175
|
+
readonly invoice: io.flow.billing.internal.v0.models.BillingInvoiceSummary;
|
|
11176
|
+
}
|
|
11177
|
+
|
|
11178
|
+
interface TransactionReference {
|
|
11179
|
+
readonly id: string;
|
|
11180
|
+
}
|
|
11181
|
+
|
|
11182
|
+
interface TransferTransaction {
|
|
11183
|
+
readonly discriminator: 'transfer_transaction';
|
|
11184
|
+
readonly id: string;
|
|
11185
|
+
readonly type: io.flow.billing.v0.enums.BillingTransactionType;
|
|
11186
|
+
readonly posted_at: string;
|
|
11187
|
+
readonly value: io.flow.common.v0.models.Price;
|
|
11188
|
+
readonly description: string;
|
|
11189
|
+
readonly statement?: io.flow.billing.v0.models.BillingStatementReference;
|
|
11190
|
+
readonly created_at: string;
|
|
11191
|
+
readonly method: io.flow.billing.internal.v0.enums.TransferMethod;
|
|
11192
|
+
}
|
|
11193
|
+
|
|
11194
|
+
interface VirtualCardTransaction {
|
|
11195
|
+
readonly discriminator: 'virtual_card_transaction';
|
|
11196
|
+
readonly id: string;
|
|
11197
|
+
readonly type: io.flow.billing.v0.enums.BillingTransactionType;
|
|
11198
|
+
readonly posted_at: string;
|
|
11199
|
+
readonly value: io.flow.common.v0.models.Price;
|
|
11200
|
+
readonly description: string;
|
|
11201
|
+
readonly statement?: io.flow.billing.v0.models.BillingStatementReference;
|
|
11202
|
+
readonly created_at: string;
|
|
11203
|
+
readonly virtual_card: io.flow.payment.v0.models.VirtualCardReference;
|
|
11204
|
+
readonly authorization: io.flow.payment.v0.models.AuthorizationReference;
|
|
11205
|
+
readonly original: io.flow.common.v0.models.PriceWithBase;
|
|
11206
|
+
readonly processing_fee: io.flow.billing.internal.v0.models.Fee;
|
|
11207
|
+
}
|
|
11208
|
+
}
|
|
11209
|
+
|
|
11210
|
+
declare namespace io.flow.billing.internal.v0.unions {
|
|
11211
|
+
type PlatformFee =
|
|
11212
|
+
| io.flow.billing.internal.v0.models.PlatformFeePause
|
|
11213
|
+
| io.flow.billing.internal.v0.models.PlatformFeeFlat
|
|
11214
|
+
| io.flow.billing.internal.v0.models.PlatformFeePercentage
|
|
11215
|
+
| io.flow.billing.internal.v0.models.PlatformFeeDisabled;
|
|
11216
|
+
type Transaction =
|
|
11217
|
+
| io.flow.billing.internal.v0.models.InvoiceTransaction
|
|
11218
|
+
| io.flow.billing.internal.v0.models.ManualTransaction
|
|
11219
|
+
| io.flow.billing.internal.v0.models.ProcessingTransaction
|
|
11220
|
+
| io.flow.billing.internal.v0.models.SubscriptionTransaction
|
|
11221
|
+
| io.flow.billing.internal.v0.models.TaxRemittanceTransaction
|
|
11222
|
+
| io.flow.billing.internal.v0.models.TransferTransaction
|
|
11223
|
+
| io.flow.billing.internal.v0.models.VirtualCardTransaction
|
|
11224
|
+
| io.flow.billing.internal.v0.models.DisputeTransaction;
|
|
11225
|
+
}
|
|
11226
|
+
|
|
11227
|
+
declare namespace io.flow.billing.v0.enums {
|
|
11228
|
+
type BillingStatementAttachmentKey =
|
|
11229
|
+
| 'invoice'
|
|
11230
|
+
| 'statement'
|
|
11231
|
+
| 'consumer_invoice'
|
|
11232
|
+
| 'credit_memo'
|
|
11233
|
+
| 'transactions'
|
|
11234
|
+
| 'channel_transactions'
|
|
11235
|
+
| 'virtual_card'
|
|
11236
|
+
| 'tax_remittance'
|
|
11237
|
+
| 'manual'
|
|
11238
|
+
| 'orders'
|
|
11239
|
+
| 'all';
|
|
11240
|
+
type BillingTransactionStatus = 'pending' | 'posted';
|
|
11241
|
+
type BillingTransactionType =
|
|
11242
|
+
| 'manual'
|
|
11243
|
+
| 'subscription'
|
|
11244
|
+
| 'invoice'
|
|
11245
|
+
| 'transfer'
|
|
11246
|
+
| 'adjustment'
|
|
11247
|
+
| 'capture'
|
|
11248
|
+
| 'refund'
|
|
11249
|
+
| 'virtual_card_capture'
|
|
11250
|
+
| 'virtual_card_refund'
|
|
11251
|
+
| 'tax_remittance'
|
|
11252
|
+
| 'fully_subsidized_order'
|
|
11253
|
+
| 'credit_payment'
|
|
11254
|
+
| 'dispute';
|
|
11255
|
+
type SubscriptionFrequency = 'yearly' | 'monthly';
|
|
11256
|
+
}
|
|
11257
|
+
|
|
11258
|
+
declare namespace io.flow.billing.v0.models {
|
|
11259
|
+
interface Account {
|
|
11260
|
+
readonly id: string;
|
|
11261
|
+
readonly currency: string;
|
|
11262
|
+
readonly updated_at: string;
|
|
11263
|
+
readonly timezone: io.flow.reference.v0.models.Timezone;
|
|
11264
|
+
readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule;
|
|
11265
|
+
readonly payment_conditions?: string;
|
|
11266
|
+
readonly deposit_rule?: io.flow.billing.v0.models.AccountDepositRule;
|
|
11267
|
+
readonly center_key?: string;
|
|
11268
|
+
readonly statistics: io.flow.billing.v0.models.AccountStatistics;
|
|
11269
|
+
readonly next_statement: io.flow.billing.v0.models.NextBillingStatement;
|
|
11270
|
+
readonly created_at: string;
|
|
10681
11271
|
}
|
|
10682
11272
|
|
|
10683
|
-
interface
|
|
10684
|
-
readonly
|
|
10685
|
-
readonly
|
|
10686
|
-
readonly
|
|
10687
|
-
readonly
|
|
11273
|
+
interface AccountContact {
|
|
11274
|
+
readonly id: string;
|
|
11275
|
+
readonly email: string;
|
|
11276
|
+
readonly first_name?: string;
|
|
11277
|
+
readonly last_name?: string;
|
|
11278
|
+
readonly phone?: string;
|
|
10688
11279
|
}
|
|
10689
11280
|
|
|
10690
|
-
interface
|
|
10691
|
-
readonly
|
|
10692
|
-
readonly
|
|
11281
|
+
interface AccountContactForm {
|
|
11282
|
+
readonly email: string;
|
|
11283
|
+
readonly first_name?: string;
|
|
11284
|
+
readonly last_name?: string;
|
|
11285
|
+
readonly phone?: string;
|
|
10693
11286
|
}
|
|
10694
11287
|
|
|
10695
|
-
interface
|
|
10696
|
-
readonly
|
|
10697
|
-
readonly
|
|
10698
|
-
readonly authentication_techniques: io.flow.permission.v0.enums.AuthenticationTechnique[];
|
|
10699
|
-
readonly roles: io.flow.permission.v0.enums.FlowRole[];
|
|
11288
|
+
interface AccountDepositRule {
|
|
11289
|
+
readonly target: number;
|
|
11290
|
+
readonly rate: number;
|
|
10700
11291
|
}
|
|
10701
11292
|
|
|
10702
|
-
interface
|
|
10703
|
-
readonly
|
|
11293
|
+
interface AccountDepositRuleForm {
|
|
11294
|
+
readonly target: number;
|
|
11295
|
+
readonly rate: number;
|
|
10704
11296
|
}
|
|
10705
|
-
}
|
|
10706
|
-
|
|
10707
|
-
declare namespace io.flow.query.builder.v0.enums {
|
|
10708
|
-
type AvailableFilterFormat =
|
|
10709
|
-
| 'boolean'
|
|
10710
|
-
| 'date'
|
|
10711
|
-
| 'money'
|
|
10712
|
-
| 'decimal'
|
|
10713
|
-
| 'string'
|
|
10714
|
-
| 'unit_of_length'
|
|
10715
|
-
| 'unit_of_mass';
|
|
10716
|
-
}
|
|
10717
11297
|
|
|
10718
|
-
|
|
10719
|
-
|
|
10720
|
-
readonly
|
|
10721
|
-
readonly field: string;
|
|
10722
|
-
readonly operators: string[];
|
|
10723
|
-
readonly format: io.flow.query.builder.v0.enums.AvailableFilterFormat;
|
|
10724
|
-
readonly valid_values?: string[];
|
|
10725
|
-
readonly placeholder?: string;
|
|
11298
|
+
interface AccountReference {
|
|
11299
|
+
readonly id: string;
|
|
11300
|
+
readonly currency: string;
|
|
10726
11301
|
}
|
|
10727
11302
|
|
|
10728
|
-
interface
|
|
10729
|
-
readonly
|
|
10730
|
-
readonly
|
|
11303
|
+
interface AccountStatistics {
|
|
11304
|
+
readonly transfers: io.flow.common.v0.models.Price;
|
|
11305
|
+
readonly balance: io.flow.common.v0.models.Price;
|
|
11306
|
+
readonly pending: io.flow.common.v0.models.Price;
|
|
10731
11307
|
}
|
|
10732
11308
|
|
|
10733
|
-
interface
|
|
10734
|
-
readonly
|
|
10735
|
-
readonly
|
|
11309
|
+
interface BillingStatement {
|
|
11310
|
+
readonly id: string;
|
|
11311
|
+
readonly account: io.flow.billing.v0.models.AccountReference;
|
|
11312
|
+
readonly period: io.flow.common.v0.models.DatetimeRange;
|
|
11313
|
+
readonly totals: io.flow.billing.v0.models.BillingStatementTotals;
|
|
11314
|
+
readonly attachments: io.flow.billing.v0.models.BillingStatementAttachment[];
|
|
10736
11315
|
}
|
|
10737
11316
|
|
|
10738
|
-
interface
|
|
10739
|
-
readonly
|
|
10740
|
-
readonly
|
|
10741
|
-
readonly
|
|
11317
|
+
interface BillingStatementAttachment {
|
|
11318
|
+
readonly key: io.flow.billing.v0.enums.BillingStatementAttachmentKey;
|
|
11319
|
+
readonly name: string;
|
|
11320
|
+
readonly url: string;
|
|
10742
11321
|
}
|
|
10743
11322
|
|
|
10744
|
-
interface
|
|
10745
|
-
readonly
|
|
10746
|
-
readonly filters: io.flow.query.builder.v0.unions.QueryFilterForm[];
|
|
11323
|
+
interface BillingStatementReference {
|
|
11324
|
+
readonly id: string;
|
|
10747
11325
|
}
|
|
10748
11326
|
|
|
10749
|
-
interface
|
|
10750
|
-
readonly
|
|
10751
|
-
readonly
|
|
11327
|
+
interface BillingStatementTotals {
|
|
11328
|
+
readonly starting_balance: io.flow.common.v0.models.Price;
|
|
11329
|
+
readonly subscription: io.flow.common.v0.models.Price;
|
|
11330
|
+
readonly transfer: io.flow.common.v0.models.Price;
|
|
11331
|
+
readonly invoice: io.flow.common.v0.models.Price;
|
|
11332
|
+
readonly manual: io.flow.common.v0.models.Price;
|
|
11333
|
+
readonly adjustment: io.flow.common.v0.models.Price;
|
|
11334
|
+
readonly capture: io.flow.common.v0.models.Price;
|
|
11335
|
+
readonly refund: io.flow.common.v0.models.Price;
|
|
11336
|
+
readonly virtual_card_capture: io.flow.common.v0.models.Price;
|
|
11337
|
+
readonly virtual_card_refund: io.flow.common.v0.models.Price;
|
|
11338
|
+
readonly tax_remittance: io.flow.common.v0.models.Price;
|
|
11339
|
+
readonly dispute: io.flow.common.v0.models.Price;
|
|
11340
|
+
readonly ending_balance: io.flow.common.v0.models.Price;
|
|
10752
11341
|
}
|
|
10753
11342
|
|
|
10754
|
-
interface
|
|
10755
|
-
readonly
|
|
10756
|
-
readonly
|
|
10757
|
-
readonly
|
|
10758
|
-
readonly
|
|
10759
|
-
readonly
|
|
11343
|
+
interface BillingTransaction {
|
|
11344
|
+
readonly id: string;
|
|
11345
|
+
readonly type: io.flow.billing.v0.enums.BillingTransactionType;
|
|
11346
|
+
readonly status: io.flow.billing.v0.enums.BillingTransactionStatus;
|
|
11347
|
+
readonly posted_at?: string;
|
|
11348
|
+
readonly value: io.flow.common.v0.models.Price;
|
|
11349
|
+
readonly description: string;
|
|
11350
|
+
readonly created_at: string;
|
|
11351
|
+
readonly statement?: io.flow.billing.v0.models.BillingStatementReference;
|
|
10760
11352
|
}
|
|
10761
11353
|
|
|
10762
|
-
interface
|
|
10763
|
-
readonly
|
|
10764
|
-
readonly
|
|
10765
|
-
readonly
|
|
10766
|
-
readonly values: string[];
|
|
11354
|
+
interface ChannelAccount {
|
|
11355
|
+
readonly id: string;
|
|
11356
|
+
readonly channel: io.flow.common.v0.models.ChannelReference;
|
|
11357
|
+
readonly account: io.flow.billing.v0.models.SimpleAccountReference;
|
|
10767
11358
|
}
|
|
10768
11359
|
|
|
10769
|
-
interface
|
|
10770
|
-
readonly
|
|
10771
|
-
readonly
|
|
11360
|
+
interface EmailForm {
|
|
11361
|
+
readonly to: string[];
|
|
11362
|
+
readonly cc?: string[];
|
|
11363
|
+
readonly bcc?: string[];
|
|
10772
11364
|
}
|
|
10773
11365
|
|
|
10774
|
-
interface
|
|
10775
|
-
readonly
|
|
10776
|
-
readonly
|
|
11366
|
+
interface NextBillingStatement {
|
|
11367
|
+
readonly date: string;
|
|
11368
|
+
readonly amount: io.flow.common.v0.models.Price;
|
|
11369
|
+
readonly conditions?: string;
|
|
10777
11370
|
}
|
|
10778
|
-
}
|
|
10779
11371
|
|
|
10780
|
-
|
|
10781
|
-
type AvailableFilter =
|
|
10782
|
-
| io.flow.query.builder.v0.models.AvailableFilterStructured
|
|
10783
|
-
| io.flow.query.builder.v0.models.AvailableFilterUnstructured;
|
|
10784
|
-
type QueryBuilderForm =
|
|
10785
|
-
| io.flow.query.builder.v0.models.QueryBuilderFilterForm
|
|
10786
|
-
| io.flow.query.builder.v0.models.QueryBuilderQueryForm;
|
|
10787
|
-
type QueryFilter =
|
|
10788
|
-
| io.flow.query.builder.v0.models.QueryFilterStructured
|
|
10789
|
-
| io.flow.query.builder.v0.models.QueryFilterUnstructured;
|
|
10790
|
-
type QueryFilterForm =
|
|
10791
|
-
| io.flow.query.builder.v0.models.QueryFilterStructuredForm
|
|
10792
|
-
| io.flow.query.builder.v0.models.QueryFilterUnstructuredForm;
|
|
10793
|
-
}
|
|
10794
|
-
|
|
10795
|
-
declare namespace io.flow.item.v0.models {
|
|
10796
|
-
interface LocalItem {
|
|
11372
|
+
interface OrganizationAccount {
|
|
10797
11373
|
readonly id: string;
|
|
10798
|
-
readonly
|
|
10799
|
-
readonly
|
|
10800
|
-
readonly item: io.flow.common.v0.models.CatalogItemReference;
|
|
10801
|
-
readonly pricing: io.flow.item.v0.models.LocalItemPricing;
|
|
10802
|
-
readonly status: io.flow.catalog.v0.enums.SubcatalogItemStatus;
|
|
10803
|
-
readonly attributes?: Record<string, string>;
|
|
11374
|
+
readonly organization: io.flow.common.v0.models.OrganizationReference;
|
|
11375
|
+
readonly account: io.flow.billing.v0.models.SimpleAccountReference;
|
|
10804
11376
|
}
|
|
10805
11377
|
|
|
10806
|
-
interface
|
|
10807
|
-
readonly
|
|
10808
|
-
readonly vat?: io.flow.catalog.v0.models.LocalizedItemVat;
|
|
10809
|
-
readonly duty?: io.flow.catalog.v0.models.LocalizedItemDuty;
|
|
10810
|
-
readonly price: io.flow.catalog.v0.models.LocalizedItemPrice;
|
|
11378
|
+
interface SimpleAccountReference {
|
|
11379
|
+
readonly id: string;
|
|
10811
11380
|
}
|
|
10812
11381
|
|
|
10813
|
-
interface
|
|
10814
|
-
readonly
|
|
10815
|
-
readonly
|
|
10816
|
-
readonly
|
|
10817
|
-
readonly
|
|
10818
|
-
readonly
|
|
10819
|
-
readonly
|
|
10820
|
-
string,
|
|
10821
|
-
io.flow.item.v0.models.LocalItemAttributePricing
|
|
10822
|
-
>;
|
|
11382
|
+
interface Subscription {
|
|
11383
|
+
readonly id: string;
|
|
11384
|
+
readonly organization: string;
|
|
11385
|
+
readonly value: io.flow.common.v0.models.Price;
|
|
11386
|
+
readonly frequency: io.flow.billing.v0.enums.SubscriptionFrequency;
|
|
11387
|
+
readonly starts_at: string;
|
|
11388
|
+
readonly created_at: string;
|
|
10823
11389
|
}
|
|
10824
11390
|
}
|
|
10825
11391
|
|
|
@@ -12480,7 +13046,6 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
12480
13046
|
| 'consumer_invoice'
|
|
12481
13047
|
| 'credit_memo'
|
|
12482
13048
|
| 'transactions'
|
|
12483
|
-
| 'channel_transactions'
|
|
12484
13049
|
| 'virtual_card'
|
|
12485
13050
|
| 'tax_remittance'
|
|
12486
13051
|
| 'manual'
|
|
@@ -14709,41 +15274,17 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14709
15274
|
readonly metadata: io.flow.internal.v0.models.ShopifyMetadata;
|
|
14710
15275
|
}
|
|
14711
15276
|
|
|
14712
|
-
interface ChannelServiceFee {
|
|
14713
|
-
readonly tiers: io.flow.internal.v0.models.ChannelServiceFeeTier[];
|
|
14714
|
-
}
|
|
14715
|
-
|
|
14716
|
-
interface ChannelServiceFeeTier {
|
|
14717
|
-
readonly minimum_orders: number;
|
|
14718
|
-
readonly amount: number;
|
|
14719
|
-
}
|
|
14720
|
-
|
|
14721
15277
|
interface ChannelTokenForm {
|
|
14722
15278
|
readonly channel_id: string;
|
|
14723
15279
|
readonly description?: string;
|
|
14724
15280
|
}
|
|
14725
15281
|
|
|
14726
|
-
interface ChannelTransaction {
|
|
14727
|
-
readonly id: string;
|
|
14728
|
-
readonly organization_id: string;
|
|
14729
|
-
readonly processing_transaction_id: string;
|
|
14730
|
-
readonly order_number: string;
|
|
14731
|
-
readonly channel_currency: string;
|
|
14732
|
-
readonly mor_convenience_fee: number;
|
|
14733
|
-
readonly flow_fx_fee_on_mor: number;
|
|
14734
|
-
readonly flow_processing_fee: number;
|
|
14735
|
-
readonly flow_fraud_fee: number;
|
|
14736
|
-
readonly service_fee: number;
|
|
14737
|
-
readonly logistics_fee: number;
|
|
14738
|
-
readonly total: number;
|
|
14739
|
-
}
|
|
14740
|
-
|
|
14741
15282
|
interface ChannelTransactionDeleted {
|
|
14742
15283
|
readonly discriminator: 'channel_transaction_deleted';
|
|
14743
15284
|
readonly event_id: string;
|
|
14744
15285
|
readonly timestamp: string;
|
|
14745
15286
|
readonly organization: string;
|
|
14746
|
-
readonly channel_transaction: io.flow.internal.v0.models.ChannelTransaction;
|
|
15287
|
+
readonly channel_transaction: io.flow.billing.internal.v0.models.ChannelTransaction;
|
|
14747
15288
|
}
|
|
14748
15289
|
|
|
14749
15290
|
interface ChannelTransactionUpserted {
|
|
@@ -14751,7 +15292,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14751
15292
|
readonly event_id: string;
|
|
14752
15293
|
readonly timestamp: string;
|
|
14753
15294
|
readonly organization: string;
|
|
14754
|
-
readonly channel_transaction: io.flow.internal.v0.models.ChannelTransaction;
|
|
15295
|
+
readonly channel_transaction: io.flow.billing.internal.v0.models.ChannelTransaction;
|
|
14755
15296
|
}
|
|
14756
15297
|
|
|
14757
15298
|
interface Chargeback {
|
|
@@ -14866,6 +15407,16 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14866
15407
|
readonly id: string;
|
|
14867
15408
|
}
|
|
14868
15409
|
|
|
15410
|
+
interface CheckoutAddressCountriesFormData {
|
|
15411
|
+
readonly countries: io.flow.internal.v0.models.CheckoutAddressCountry[];
|
|
15412
|
+
}
|
|
15413
|
+
|
|
15414
|
+
interface CheckoutAddressCountry {
|
|
15415
|
+
readonly name: string;
|
|
15416
|
+
readonly code: string;
|
|
15417
|
+
readonly availability: io.flow.internal.v0.enums.CheckoutAddressType[];
|
|
15418
|
+
}
|
|
15419
|
+
|
|
14869
15420
|
interface CheckoutAddressPrediction {
|
|
14870
15421
|
readonly description: string;
|
|
14871
15422
|
readonly id: string;
|
|
@@ -15509,6 +16060,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15509
16060
|
readonly value: string;
|
|
15510
16061
|
}
|
|
15511
16062
|
|
|
16063
|
+
interface CheckoutInfoAddressCountriesFormData {
|
|
16064
|
+
readonly discriminator: 'checkout_info_address_countries_form_data';
|
|
16065
|
+
readonly data: io.flow.internal.v0.models.CheckoutAddressCountriesFormData;
|
|
16066
|
+
}
|
|
16067
|
+
|
|
15512
16068
|
interface CheckoutInfoAddressPredictions {
|
|
15513
16069
|
readonly discriminator: 'checkout_info_address_predictions';
|
|
15514
16070
|
readonly key: io.flow.internal.v0.models.CheckoutInfoAddressPredictionsKey[];
|
|
@@ -17024,6 +17580,17 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17024
17580
|
readonly classification_model_id: string;
|
|
17025
17581
|
}
|
|
17026
17582
|
|
|
17583
|
+
interface ClassifiedProductDetail {
|
|
17584
|
+
readonly product_id: string;
|
|
17585
|
+
readonly description?: string;
|
|
17586
|
+
readonly items: io.flow.common.v0.models.CatalogItemSummary[];
|
|
17587
|
+
readonly images: io.flow.catalog.v0.models.Image[];
|
|
17588
|
+
readonly categories: string[];
|
|
17589
|
+
readonly product_harmonization: io.flow.internal.v0.models.ClassificationProductHarmonization;
|
|
17590
|
+
readonly status: io.flow.internal.v0.enums.ItemClassificationStatus;
|
|
17591
|
+
readonly classified_by: string;
|
|
17592
|
+
}
|
|
17593
|
+
|
|
17027
17594
|
interface Compliance {
|
|
17028
17595
|
readonly id: string;
|
|
17029
17596
|
readonly destination: string;
|
|
@@ -20862,6 +21429,16 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20862
21429
|
readonly to_service_id: string;
|
|
20863
21430
|
}
|
|
20864
21431
|
|
|
21432
|
+
interface OrderServiceFee {
|
|
21433
|
+
readonly currency: string;
|
|
21434
|
+
readonly tiers: io.flow.internal.v0.models.OrderServiceFeeTier[];
|
|
21435
|
+
}
|
|
21436
|
+
|
|
21437
|
+
interface OrderServiceFeeTier {
|
|
21438
|
+
readonly minimum_orders: number;
|
|
21439
|
+
readonly amount: number;
|
|
21440
|
+
}
|
|
21441
|
+
|
|
20865
21442
|
interface OrderShipped {
|
|
20866
21443
|
readonly discriminator: 'order_shipped';
|
|
20867
21444
|
readonly event_id: string;
|
|
@@ -23486,6 +24063,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
23486
24063
|
type CheckoutInfo =
|
|
23487
24064
|
| io.flow.internal.v0.models.CheckoutInfoAddressBookContacts
|
|
23488
24065
|
| io.flow.internal.v0.models.CheckoutInfoAddressConfigurationFormData
|
|
24066
|
+
| io.flow.internal.v0.models.CheckoutInfoAddressCountriesFormData
|
|
23489
24067
|
| io.flow.internal.v0.models.CheckoutInfoAddressPredictions
|
|
23490
24068
|
| io.flow.internal.v0.models.CheckoutInfoAnalyticsOrder
|
|
23491
24069
|
| io.flow.internal.v0.models.CheckoutInfoAnalyticsSession
|
|
@@ -24450,10 +25028,7 @@ export type ChannelOrderAcceptanceStatus = io.flow.internal.v0.enums.ChannelOrde
|
|
|
24450
25028
|
export type ChannelOrderAcceptanceUpserted = io.flow.internal.v0.models.ChannelOrderAcceptanceUpserted;
|
|
24451
25029
|
export type ChannelOrganizationShopify = io.flow.internal.v0.models.ChannelOrganizationShopify;
|
|
24452
25030
|
export type ChannelOrganizationShopifyForm = io.flow.internal.v0.models.ChannelOrganizationShopifyForm;
|
|
24453
|
-
export type ChannelServiceFee = io.flow.internal.v0.models.ChannelServiceFee;
|
|
24454
|
-
export type ChannelServiceFeeTier = io.flow.internal.v0.models.ChannelServiceFeeTier;
|
|
24455
25031
|
export type ChannelTokenForm = io.flow.internal.v0.models.ChannelTokenForm;
|
|
24456
|
-
export type ChannelTransaction = io.flow.internal.v0.models.ChannelTransaction;
|
|
24457
25032
|
export type ChannelTransactionDeleted = io.flow.internal.v0.models.ChannelTransactionDeleted;
|
|
24458
25033
|
export type ChannelTransactionUpserted = io.flow.internal.v0.models.ChannelTransactionUpserted;
|
|
24459
25034
|
export type Chargeback = io.flow.internal.v0.models.Chargeback;
|
|
@@ -24481,6 +25056,8 @@ export type CheckoutAddressBookContact = io.flow.internal.v0.models.CheckoutAddr
|
|
|
24481
25056
|
export type CheckoutAddressBookContactReference = io.flow.internal.v0.models.CheckoutAddressBookContactReference;
|
|
24482
25057
|
export type CheckoutAddressBookContactRemoved = io.flow.internal.v0.models.CheckoutAddressBookContactRemoved;
|
|
24483
25058
|
export type CheckoutAddressBookEdit = io.flow.internal.v0.unions.CheckoutAddressBookEdit;
|
|
25059
|
+
export type CheckoutAddressCountriesFormData = io.flow.internal.v0.models.CheckoutAddressCountriesFormData;
|
|
25060
|
+
export type CheckoutAddressCountry = io.flow.internal.v0.models.CheckoutAddressCountry;
|
|
24484
25061
|
export type CheckoutAddressPrediction = io.flow.internal.v0.models.CheckoutAddressPrediction;
|
|
24485
25062
|
export type CheckoutAddressPredictionMetadata = io.flow.internal.v0.models.CheckoutAddressPredictionMetadata;
|
|
24486
25063
|
export type CheckoutAddressPredictions = io.flow.internal.v0.models.CheckoutAddressPredictions;
|
|
@@ -24642,6 +25219,7 @@ export type CheckoutInfoAddressBookContactsKeyField = io.flow.internal.v0.enums.
|
|
|
24642
25219
|
export type CheckoutInfoAddressConfigurationFormData = io.flow.internal.v0.models.CheckoutInfoAddressConfigurationFormData;
|
|
24643
25220
|
export type CheckoutInfoAddressConfigurationFormDataKey = io.flow.internal.v0.models.CheckoutInfoAddressConfigurationFormDataKey;
|
|
24644
25221
|
export type CheckoutInfoAddressConfigurationFormDataKeyField = io.flow.internal.v0.enums.CheckoutInfoAddressConfigurationFormDataKeyField;
|
|
25222
|
+
export type CheckoutInfoAddressCountriesFormData = io.flow.internal.v0.models.CheckoutInfoAddressCountriesFormData;
|
|
24645
25223
|
export type CheckoutInfoAddressPredictions = io.flow.internal.v0.models.CheckoutInfoAddressPredictions;
|
|
24646
25224
|
export type CheckoutInfoAddressPredictionsKey = io.flow.internal.v0.models.CheckoutInfoAddressPredictionsKey;
|
|
24647
25225
|
export type CheckoutInfoAddressPredictionsKeyField = io.flow.internal.v0.enums.CheckoutInfoAddressPredictionsKeyField;
|
|
@@ -25012,6 +25590,7 @@ export type ClassificationStatistics = io.flow.internal.v0.models.Classification
|
|
|
25012
25590
|
export type ClassificationTaxonomy = io.flow.internal.v0.unions.ClassificationTaxonomy;
|
|
25013
25591
|
export type ClassificationWrapper = io.flow.internal.v0.models.ClassificationWrapper;
|
|
25014
25592
|
export type ClassifiedProduct = io.flow.internal.v0.models.ClassifiedProduct;
|
|
25593
|
+
export type ClassifiedProductDetail = io.flow.internal.v0.models.ClassifiedProductDetail;
|
|
25015
25594
|
export type Compliance = io.flow.internal.v0.models.Compliance;
|
|
25016
25595
|
export type ComplianceData = io.flow.internal.v0.unions.ComplianceData;
|
|
25017
25596
|
export type ComplianceForm = io.flow.internal.v0.unions.ComplianceForm;
|
|
@@ -25595,6 +26174,8 @@ export type OrderRevenueRegionDataPoint = io.flow.internal.v0.models.OrderRevenu
|
|
|
25595
26174
|
export type OrderRevenueTimelineChart = io.flow.internal.v0.models.OrderRevenueTimelineChart;
|
|
25596
26175
|
export type OrderRevenueTimelineDataPoint = io.flow.internal.v0.models.OrderRevenueTimelineDataPoint;
|
|
25597
26176
|
export type OrderServiceChangeCsvForm = io.flow.internal.v0.models.OrderServiceChangeCsvForm;
|
|
26177
|
+
export type OrderServiceFee = io.flow.internal.v0.models.OrderServiceFee;
|
|
26178
|
+
export type OrderServiceFeeTier = io.flow.internal.v0.models.OrderServiceFeeTier;
|
|
25598
26179
|
export type OrderShipped = io.flow.internal.v0.models.OrderShipped;
|
|
25599
26180
|
export type OrderSubmissionForm = io.flow.internal.v0.models.OrderSubmissionForm;
|
|
25600
26181
|
export type OrganizationAccount = io.flow.internal.v0.models.OrganizationAccount;
|