@flowio/types 11.22.0 → 11.22.2
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 +171 -537
- package/dist/api.d.ts +85 -6
- package/package.json +2 -2
- package/src/api-internal.ts +285 -765
- package/src/api.ts +101 -5
package/src/api-internal.ts
CHANGED
|
@@ -2356,28 +2356,6 @@ 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
|
-
|
|
2381
2359
|
declare namespace io.flow.token.internal.v0.models {
|
|
2382
2360
|
interface ChannelTokenForm {
|
|
2383
2361
|
readonly channel_id: string;
|
|
@@ -3459,6 +3437,19 @@ declare namespace io.flow.payment.v0.models {
|
|
|
3459
3437
|
readonly country?: string;
|
|
3460
3438
|
}
|
|
3461
3439
|
|
|
3440
|
+
interface KlarnaPaymentMethodCategory {
|
|
3441
|
+
readonly id: string;
|
|
3442
|
+
readonly name?: string;
|
|
3443
|
+
readonly standard_asset_url?: string;
|
|
3444
|
+
readonly descriptive_asset_url?: string;
|
|
3445
|
+
}
|
|
3446
|
+
|
|
3447
|
+
interface KlarnaSdkAuthorizationResultActionDetails {
|
|
3448
|
+
readonly discriminator: 'klarna_sdk_authorization_result_action_details';
|
|
3449
|
+
readonly client_token: string;
|
|
3450
|
+
readonly payment_method_categories: io.flow.payment.v0.models.KlarnaPaymentMethodCategory[];
|
|
3451
|
+
}
|
|
3452
|
+
|
|
3462
3453
|
interface MerchantOfRecordAuthorizationForm {
|
|
3463
3454
|
readonly discriminator: 'merchant_of_record_authorization_form';
|
|
3464
3455
|
readonly token: string;
|
|
@@ -3898,7 +3889,8 @@ declare namespace io.flow.payment.v0.unions {
|
|
|
3898
3889
|
| io.flow.payment.v0.models.AdyenNativeActionDetails
|
|
3899
3890
|
| io.flow.payment.v0.models.StripeAuthorizationResultActionDetails
|
|
3900
3891
|
| io.flow.payment.v0.models.ThreedsIdentifyActionDetails
|
|
3901
|
-
| io.flow.payment.v0.models.ThreedsChallengeActionDetails
|
|
3892
|
+
| io.flow.payment.v0.models.ThreedsChallengeActionDetails
|
|
3893
|
+
| io.flow.payment.v0.models.KlarnaSdkAuthorizationResultActionDetails;
|
|
3902
3894
|
type BrowserActionConfiguration = io.flow.payment.v0.models.CardBrowserActionConfiguration;
|
|
3903
3895
|
type ConfirmationDetails = io.flow.payment.v0.models.DirectDebit;
|
|
3904
3896
|
type ExpandableCard =
|
|
@@ -4066,6 +4058,13 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
4066
4058
|
| 'source.canceled'
|
|
4067
4059
|
| 'source.chargeable'
|
|
4068
4060
|
| 'source.failed';
|
|
4061
|
+
type KlarnaPaymentMethodCategoryType =
|
|
4062
|
+
| 'direct_bank_transfer'
|
|
4063
|
+
| 'direct_debit'
|
|
4064
|
+
| 'pay_later'
|
|
4065
|
+
| 'pay_now'
|
|
4066
|
+
| 'pay_over_time';
|
|
4067
|
+
type KlarnaProduct = 'payment';
|
|
4069
4068
|
type NetworkStatus =
|
|
4070
4069
|
| 'approved_by_network'
|
|
4071
4070
|
| 'declined_by_network'
|
|
@@ -4369,7 +4368,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
4369
4368
|
}
|
|
4370
4369
|
|
|
4371
4370
|
interface OrderItem {
|
|
4372
|
-
readonly object
|
|
4371
|
+
readonly object?: string;
|
|
4373
4372
|
readonly amount: number;
|
|
4374
4373
|
readonly currency: string;
|
|
4375
4374
|
readonly description?: string;
|
|
@@ -4611,7 +4610,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
4611
4610
|
|
|
4612
4611
|
interface Shipping {
|
|
4613
4612
|
readonly address: io.flow.stripe.v0.models.Address;
|
|
4614
|
-
readonly name
|
|
4613
|
+
readonly name?: string;
|
|
4615
4614
|
readonly phone?: string;
|
|
4616
4615
|
}
|
|
4617
4616
|
|
|
@@ -4634,6 +4633,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
4634
4633
|
readonly status: io.flow.stripe.v0.enums.SourceStatus;
|
|
4635
4634
|
readonly type: io.flow.stripe.v0.enums.SourceType;
|
|
4636
4635
|
readonly usage: io.flow.stripe.v0.enums.SourceUsageType;
|
|
4636
|
+
readonly source_order?: io.flow.stripe.v0.models.SourceOrder;
|
|
4637
4637
|
}
|
|
4638
4638
|
|
|
4639
4639
|
interface SourceCard {
|
|
@@ -4664,12 +4664,50 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
4664
4664
|
readonly first_name?: string;
|
|
4665
4665
|
readonly last_name?: string;
|
|
4666
4666
|
readonly client_token: string;
|
|
4667
|
+
readonly payment_method_categories?: string;
|
|
4668
|
+
readonly purchase_country?: string;
|
|
4669
|
+
readonly shipping_first_name?: string;
|
|
4670
|
+
readonly shipping_last_name?: string;
|
|
4671
|
+
readonly locale?: string;
|
|
4672
|
+
readonly pay_later_name?: string;
|
|
4673
|
+
readonly pay_later_asset_urls_standard?: string;
|
|
4674
|
+
readonly pay_later_asset_urls_descriptive?: string;
|
|
4675
|
+
readonly pay_now_name?: string;
|
|
4676
|
+
readonly pay_now_asset_urls_standard?: string;
|
|
4677
|
+
readonly pay_now_asset_urls_descriptive?: string;
|
|
4678
|
+
readonly pay_over_time_name?: string;
|
|
4679
|
+
readonly pay_over_time_asset_urls_standard?: string;
|
|
4680
|
+
readonly pay_over_time_asset_urls_descriptive?: string;
|
|
4681
|
+
readonly direct_bank_transfer_name?: string;
|
|
4682
|
+
readonly direct_bank_transfer_asset_urls_standard?: string;
|
|
4683
|
+
readonly direct_bank_transfer_asset_urls_descriptive?: string;
|
|
4684
|
+
readonly direct_debit_name?: string;
|
|
4685
|
+
readonly direct_debit_asset_urls_standard?: string;
|
|
4686
|
+
readonly direct_debit_asset_urls_descriptive?: string;
|
|
4667
4687
|
}
|
|
4668
4688
|
|
|
4669
4689
|
interface SourceKlarnaRequest {
|
|
4670
4690
|
readonly first_name: string;
|
|
4671
4691
|
readonly last_name: string;
|
|
4692
|
+
readonly purchase_country?: string;
|
|
4693
|
+
readonly product?: io.flow.stripe.v0.enums.KlarnaProduct;
|
|
4672
4694
|
readonly attachment?: string;
|
|
4695
|
+
readonly shipping_first_name?: string;
|
|
4696
|
+
readonly shipping_last_name?: string;
|
|
4697
|
+
readonly locale?: string;
|
|
4698
|
+
}
|
|
4699
|
+
|
|
4700
|
+
interface SourceOrder {
|
|
4701
|
+
readonly amount?: number;
|
|
4702
|
+
readonly currency?: string;
|
|
4703
|
+
readonly email?: string;
|
|
4704
|
+
readonly items?: io.flow.stripe.v0.models.OrderItem[];
|
|
4705
|
+
readonly shipping?: io.flow.stripe.v0.models.Shipping;
|
|
4706
|
+
}
|
|
4707
|
+
|
|
4708
|
+
interface SourceOrderRequest {
|
|
4709
|
+
readonly items?: io.flow.stripe.v0.models.OrderItemRequest[];
|
|
4710
|
+
readonly shipping?: io.flow.stripe.v0.models.Shipping;
|
|
4673
4711
|
}
|
|
4674
4712
|
|
|
4675
4713
|
interface SourceRequest {
|
|
@@ -4687,6 +4725,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
4687
4725
|
readonly three_d_secure?: io.flow.stripe.v0.models.ThreeDSecure;
|
|
4688
4726
|
readonly token?: string;
|
|
4689
4727
|
readonly usage: io.flow.stripe.v0.enums.SourceUsageType;
|
|
4728
|
+
readonly source_order?: io.flow.stripe.v0.models.SourceOrderRequest;
|
|
4690
4729
|
}
|
|
4691
4730
|
|
|
4692
4731
|
interface Stripe3Ds2Fingerprint {
|
|
@@ -6040,7 +6079,7 @@ declare namespace io.flow.brickftp.v0.models {
|
|
|
6040
6079
|
readonly id: number;
|
|
6041
6080
|
readonly path: string;
|
|
6042
6081
|
readonly behavior: io.flow.brickftp.v0.enums.BehaviorType;
|
|
6043
|
-
readonly value:
|
|
6082
|
+
readonly value: any /*object*/;
|
|
6044
6083
|
}
|
|
6045
6084
|
|
|
6046
6085
|
interface BehaviorForm {
|
|
@@ -6279,6 +6318,11 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
6279
6318
|
readonly currency: string;
|
|
6280
6319
|
}
|
|
6281
6320
|
|
|
6321
|
+
interface Applepay {
|
|
6322
|
+
readonly type: 'applepay';
|
|
6323
|
+
readonly applePayToken: string;
|
|
6324
|
+
}
|
|
6325
|
+
|
|
6282
6326
|
interface Authentication {
|
|
6283
6327
|
readonly 'threeds2.fingerprintToken'?: string;
|
|
6284
6328
|
readonly 'threeds2.challengeToken'?: string;
|
|
@@ -6306,6 +6350,8 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
6306
6350
|
readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
|
|
6307
6351
|
readonly threeDS2RequestData?: io.flow.adyen.v0.models.Threeds2RequestData;
|
|
6308
6352
|
readonly recurringProcessingModel?: io.flow.adyen.v0.enums.RecurringProcessingModel;
|
|
6353
|
+
readonly mcc?: string;
|
|
6354
|
+
readonly metadata?: any /*object*/;
|
|
6309
6355
|
}
|
|
6310
6356
|
|
|
6311
6357
|
interface AuthorizeRequest3D {
|
|
@@ -6462,6 +6508,14 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
6462
6508
|
readonly paymentData?: string;
|
|
6463
6509
|
}
|
|
6464
6510
|
|
|
6511
|
+
interface PaymentDetailsV663Ds2Challenge {
|
|
6512
|
+
readonly 'threeds2.challengeResult': string;
|
|
6513
|
+
}
|
|
6514
|
+
|
|
6515
|
+
interface PaymentDetailsV663Ds2Fingerprint {
|
|
6516
|
+
readonly 'threeds2.fingerprint': string;
|
|
6517
|
+
}
|
|
6518
|
+
|
|
6465
6519
|
interface PaymentRequest {
|
|
6466
6520
|
readonly reference: string;
|
|
6467
6521
|
readonly merchantAccount: string;
|
|
@@ -6483,7 +6537,9 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
6483
6537
|
readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
|
|
6484
6538
|
readonly origin?: string;
|
|
6485
6539
|
readonly channel?: io.flow.adyen.v0.enums.Channel;
|
|
6486
|
-
readonly
|
|
6540
|
+
readonly returnUrl?: string;
|
|
6541
|
+
readonly mcc?: string;
|
|
6542
|
+
readonly metadata?: any /*object*/;
|
|
6487
6543
|
}
|
|
6488
6544
|
|
|
6489
6545
|
interface PaymentResponse {
|
|
@@ -6539,6 +6595,15 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
6539
6595
|
readonly cvc?: string;
|
|
6540
6596
|
}
|
|
6541
6597
|
|
|
6598
|
+
interface SdkV3OnCompleteData {
|
|
6599
|
+
readonly details: any /*object*/;
|
|
6600
|
+
readonly payment_data?: string;
|
|
6601
|
+
}
|
|
6602
|
+
|
|
6603
|
+
interface SdkV3OnCompleteResult {
|
|
6604
|
+
readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
|
|
6605
|
+
}
|
|
6606
|
+
|
|
6542
6607
|
interface ThreeDSecureData {
|
|
6543
6608
|
readonly authenticationResponse?: string;
|
|
6544
6609
|
readonly cavv?: string;
|
|
@@ -6570,7 +6635,9 @@ declare namespace io.flow.adyen.v0.unions {
|
|
|
6570
6635
|
type BrowserInfo =
|
|
6571
6636
|
| io.flow.adyen.v0.models.BrowserInfo3Ds1
|
|
6572
6637
|
| io.flow.adyen.v0.models.BrowserInfo3Ds2;
|
|
6573
|
-
type PaymentMethodData =
|
|
6638
|
+
type PaymentMethodData =
|
|
6639
|
+
| io.flow.adyen.v0.models.Scheme
|
|
6640
|
+
| io.flow.adyen.v0.models.Applepay;
|
|
6574
6641
|
}
|
|
6575
6642
|
|
|
6576
6643
|
declare namespace io.flow.order.management.v0.enums {
|
|
@@ -8646,7 +8713,7 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
8646
8713
|
readonly type: 'use_sdk_klarna_v1';
|
|
8647
8714
|
readonly expires_at?: string;
|
|
8648
8715
|
readonly client_token: string;
|
|
8649
|
-
readonly payment_method_categories:
|
|
8716
|
+
readonly payment_method_categories: io.flow.payment.gateway.v0.models.KlarnaPaymentCategory[];
|
|
8650
8717
|
}
|
|
8651
8718
|
|
|
8652
8719
|
interface ActionUseSdkPaypal {
|
|
@@ -8705,6 +8772,13 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
8705
8772
|
readonly time_zone_offset: number;
|
|
8706
8773
|
}
|
|
8707
8774
|
|
|
8775
|
+
interface KlarnaPaymentCategory {
|
|
8776
|
+
readonly id: string;
|
|
8777
|
+
readonly name: string;
|
|
8778
|
+
readonly standard_asset_url?: string;
|
|
8779
|
+
readonly descriptive_asset_url?: string;
|
|
8780
|
+
}
|
|
8781
|
+
|
|
8708
8782
|
interface OrderDetails {
|
|
8709
8783
|
readonly line_items: io.flow.payment.gateway.v0.models.PaymentOrderDetailsLineItem[];
|
|
8710
8784
|
readonly shipping?: io.flow.payment.gateway.v0.models.Shipping;
|
|
@@ -8880,6 +8954,21 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
8880
8954
|
readonly payment_data: any /*object*/;
|
|
8881
8955
|
}
|
|
8882
8956
|
|
|
8957
|
+
interface PaymentMethodDataAuthorizeKlarna {
|
|
8958
|
+
readonly type: 'authorize_klarna';
|
|
8959
|
+
readonly result: io.flow.payment.gateway.v0.unions.PaymentMethodDataAuthorizeKlarnaResult;
|
|
8960
|
+
}
|
|
8961
|
+
|
|
8962
|
+
interface PaymentMethodDataAuthorizeKlarnaResultFailure {
|
|
8963
|
+
readonly type: 'failure';
|
|
8964
|
+
readonly placeholder?: string;
|
|
8965
|
+
}
|
|
8966
|
+
|
|
8967
|
+
interface PaymentMethodDataAuthorizeKlarnaResultSuccess {
|
|
8968
|
+
readonly type: 'success';
|
|
8969
|
+
readonly authorization_token: string;
|
|
8970
|
+
}
|
|
8971
|
+
|
|
8883
8972
|
interface PaymentMethodDataAuthorizePaypal {
|
|
8884
8973
|
readonly type: 'authorize_paypal';
|
|
8885
8974
|
readonly payment_id: string;
|
|
@@ -9123,7 +9212,11 @@ declare namespace io.flow.payment.gateway.v0.unions {
|
|
|
9123
9212
|
| io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeGooglepay
|
|
9124
9213
|
| io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeApplepay
|
|
9125
9214
|
| io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizePaypal
|
|
9215
|
+
| io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarna
|
|
9126
9216
|
| io.flow.payment.gateway.v0.models.PaymentMethodDataCompleteAuthorizationCard;
|
|
9217
|
+
type PaymentMethodDataAuthorizeKlarnaResult =
|
|
9218
|
+
| io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarnaResultSuccess
|
|
9219
|
+
| io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarnaResultFailure;
|
|
9127
9220
|
type PaymentMethodSummary =
|
|
9128
9221
|
| io.flow.payment.gateway.v0.models.PaymentMethodSummaryCard
|
|
9129
9222
|
| io.flow.payment.gateway.v0.models.PaymentMethodSummaryKlarna
|
|
@@ -10002,10 +10095,14 @@ declare namespace io.flow.crypto.v0.models {
|
|
|
10002
10095
|
readonly publishable_key: string;
|
|
10003
10096
|
}
|
|
10004
10097
|
|
|
10098
|
+
interface Error {
|
|
10099
|
+
readonly type?: io.flow.crypto.v0.enums.ErrorType;
|
|
10100
|
+
readonly code?: string;
|
|
10101
|
+
readonly param?: string;
|
|
10102
|
+
}
|
|
10103
|
+
|
|
10005
10104
|
interface ErrorResponse {
|
|
10006
|
-
readonly
|
|
10007
|
-
readonly code: string;
|
|
10008
|
-
readonly param: string;
|
|
10105
|
+
readonly error?: io.flow.crypto.v0.models.Error;
|
|
10009
10106
|
}
|
|
10010
10107
|
|
|
10011
10108
|
interface Payment {
|
|
@@ -10025,7 +10122,6 @@ declare namespace io.flow.crypto.v0.models {
|
|
|
10025
10122
|
readonly recipient: string;
|
|
10026
10123
|
readonly refunded: boolean;
|
|
10027
10124
|
readonly status: io.flow.crypto.v0.enums.PaymentStatus;
|
|
10028
|
-
readonly time_window: number;
|
|
10029
10125
|
}
|
|
10030
10126
|
|
|
10031
10127
|
interface PaymentRequest {
|
|
@@ -10768,734 +10864,113 @@ declare namespace io.flow.item.v0.models {
|
|
|
10768
10864
|
}
|
|
10769
10865
|
}
|
|
10770
10866
|
|
|
10771
|
-
declare namespace io.flow.
|
|
10772
|
-
type
|
|
10773
|
-
|
|
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';
|
|
10867
|
+
declare namespace io.flow.harmonization.v0.enums {
|
|
10868
|
+
type TaxApplicability = 'none' | 'all';
|
|
10869
|
+
type TaxVerificationResult = 'valid' | 'invalid' | 'unable_to_validate';
|
|
10818
10870
|
}
|
|
10819
10871
|
|
|
10820
|
-
declare namespace io.flow.
|
|
10821
|
-
interface
|
|
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 {
|
|
10872
|
+
declare namespace io.flow.harmonization.v0.models {
|
|
10873
|
+
interface DetailedTaxRegistration {
|
|
10830
10874
|
readonly id: string;
|
|
10831
10875
|
readonly key: string;
|
|
10832
|
-
readonly
|
|
10833
|
-
readonly
|
|
10834
|
-
readonly
|
|
10835
|
-
readonly
|
|
10836
|
-
readonly
|
|
10876
|
+
readonly consumer_company_name?: string;
|
|
10877
|
+
readonly number: string;
|
|
10878
|
+
readonly country: string;
|
|
10879
|
+
readonly success: boolean;
|
|
10880
|
+
readonly timestamp: string;
|
|
10881
|
+
readonly vies_result: io.flow.harmonization.v0.enums.TaxVerificationResult;
|
|
10882
|
+
readonly vies_result_reason?: string;
|
|
10883
|
+
readonly vies_company_name?: string;
|
|
10884
|
+
readonly vies_company_address?: string;
|
|
10885
|
+
readonly company_name_match_result: io.flow.harmonization.v0.enums.TaxVerificationResult;
|
|
10886
|
+
readonly company_name_match_result_reason?: string;
|
|
10837
10887
|
}
|
|
10838
10888
|
|
|
10839
|
-
interface
|
|
10840
|
-
readonly
|
|
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[];
|
|
10889
|
+
interface HarmonizedCategoryReference {
|
|
10890
|
+
readonly id: string;
|
|
10847
10891
|
}
|
|
10848
10892
|
|
|
10849
|
-
interface
|
|
10893
|
+
interface HarmonizedItem {
|
|
10850
10894
|
readonly id: string;
|
|
10895
|
+
readonly number: string;
|
|
10896
|
+
readonly name: string;
|
|
10897
|
+
readonly categories: string[];
|
|
10898
|
+
readonly attributes: Record<string, string>;
|
|
10899
|
+
readonly description?: string;
|
|
10851
10900
|
}
|
|
10852
10901
|
|
|
10853
|
-
interface
|
|
10854
|
-
readonly
|
|
10855
|
-
readonly
|
|
10902
|
+
interface HarmonizedItemForm {
|
|
10903
|
+
readonly name: string;
|
|
10904
|
+
readonly number: string;
|
|
10905
|
+
readonly currency: string;
|
|
10906
|
+
readonly price: number;
|
|
10907
|
+
readonly categories?: string[];
|
|
10908
|
+
readonly description?: string;
|
|
10909
|
+
readonly attributes?: Record<string, string>;
|
|
10856
10910
|
}
|
|
10857
10911
|
|
|
10858
|
-
interface
|
|
10859
|
-
readonly
|
|
10860
|
-
readonly
|
|
10861
|
-
readonly
|
|
10862
|
-
readonly
|
|
10912
|
+
interface HarmonizedItemPutForm {
|
|
10913
|
+
readonly name: string;
|
|
10914
|
+
readonly currency: string;
|
|
10915
|
+
readonly price: number;
|
|
10916
|
+
readonly categories?: string[];
|
|
10917
|
+
readonly description?: string;
|
|
10918
|
+
readonly attributes?: Record<string, string>;
|
|
10863
10919
|
}
|
|
10864
10920
|
|
|
10865
|
-
interface
|
|
10921
|
+
interface HarmonizedItemReference {
|
|
10922
|
+
readonly id: string;
|
|
10866
10923
|
readonly number: string;
|
|
10867
|
-
readonly
|
|
10868
|
-
readonly primary_identifier?: string;
|
|
10869
|
-
readonly destination?: io.flow.billing.internal.v0.models.BillingOrderDestination;
|
|
10924
|
+
readonly description?: string;
|
|
10870
10925
|
}
|
|
10871
10926
|
|
|
10872
|
-
interface
|
|
10873
|
-
readonly
|
|
10874
|
-
readonly
|
|
10875
|
-
readonly
|
|
10876
|
-
readonly fraud: number;
|
|
10927
|
+
interface HarmonizedLandedCost {
|
|
10928
|
+
readonly address: io.flow.common.v0.models.Address;
|
|
10929
|
+
readonly items: io.flow.harmonization.v0.models.HarmonizedLandedCostItem[];
|
|
10930
|
+
readonly tax_registration?: io.flow.harmonization.v0.models.TaxRegistration;
|
|
10877
10931
|
}
|
|
10878
10932
|
|
|
10879
|
-
interface
|
|
10880
|
-
readonly
|
|
10881
|
-
readonly
|
|
10882
|
-
readonly
|
|
10883
|
-
readonly
|
|
10884
|
-
readonly
|
|
10885
|
-
readonly
|
|
10933
|
+
interface HarmonizedLandedCostForm {
|
|
10934
|
+
readonly address: io.flow.common.v0.models.Address;
|
|
10935
|
+
readonly item_numbers: string[];
|
|
10936
|
+
readonly source_address?: io.flow.common.v0.models.Address;
|
|
10937
|
+
readonly order_number?: string;
|
|
10938
|
+
readonly line_items?: io.flow.common.v0.models.LineItem[];
|
|
10939
|
+
readonly tax_registration_id?: string;
|
|
10940
|
+
readonly billing_address?: io.flow.common.v0.models.BillingAddress;
|
|
10886
10941
|
}
|
|
10887
10942
|
|
|
10888
|
-
interface
|
|
10889
|
-
readonly
|
|
10943
|
+
interface HarmonizedLandedCostItem {
|
|
10944
|
+
readonly item: io.flow.harmonization.v0.models.HarmonizedItemReference;
|
|
10945
|
+
readonly duty: io.flow.price.v0.models.Duty;
|
|
10946
|
+
readonly tax: io.flow.price.v0.models.Tax;
|
|
10947
|
+
readonly tax_applicability?: io.flow.harmonization.v0.enums.TaxApplicability;
|
|
10948
|
+
readonly origin?: string;
|
|
10949
|
+
readonly hs_code?: string;
|
|
10950
|
+
readonly tariff_code?: string;
|
|
10951
|
+
readonly customs_description?: string;
|
|
10952
|
+
readonly source_address?: io.flow.common.v0.models.Address;
|
|
10890
10953
|
}
|
|
10891
10954
|
|
|
10892
|
-
interface
|
|
10955
|
+
interface Hs10 {
|
|
10893
10956
|
readonly id: string;
|
|
10894
|
-
readonly
|
|
10895
|
-
readonly
|
|
10896
|
-
readonly
|
|
10897
|
-
readonly
|
|
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;
|
|
10957
|
+
readonly item: io.flow.harmonization.v0.models.HarmonizedItemReference;
|
|
10958
|
+
readonly origin: string;
|
|
10959
|
+
readonly destination: string;
|
|
10960
|
+
readonly code: string;
|
|
10902
10961
|
}
|
|
10903
10962
|
|
|
10904
|
-
interface
|
|
10963
|
+
interface Hs10Version {
|
|
10905
10964
|
readonly id: string;
|
|
10906
|
-
readonly
|
|
10907
|
-
|
|
10908
|
-
|
|
10909
|
-
interface BillingStatementPendingReview {
|
|
10910
|
-
readonly organization: string;
|
|
10911
|
-
readonly statement: io.flow.billing.v0.models.BillingStatement;
|
|
10965
|
+
readonly timestamp: string;
|
|
10966
|
+
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
10967
|
+
readonly hs10: io.flow.harmonization.v0.models.Hs10;
|
|
10912
10968
|
}
|
|
10913
10969
|
|
|
10914
|
-
interface
|
|
10970
|
+
interface Hs6 {
|
|
10915
10971
|
readonly id: string;
|
|
10916
|
-
readonly
|
|
10917
|
-
readonly
|
|
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;
|
|
11271
|
-
}
|
|
11272
|
-
|
|
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;
|
|
11279
|
-
}
|
|
11280
|
-
|
|
11281
|
-
interface AccountContactForm {
|
|
11282
|
-
readonly email: string;
|
|
11283
|
-
readonly first_name?: string;
|
|
11284
|
-
readonly last_name?: string;
|
|
11285
|
-
readonly phone?: string;
|
|
11286
|
-
}
|
|
11287
|
-
|
|
11288
|
-
interface AccountDepositRule {
|
|
11289
|
-
readonly target: number;
|
|
11290
|
-
readonly rate: number;
|
|
11291
|
-
}
|
|
11292
|
-
|
|
11293
|
-
interface AccountDepositRuleForm {
|
|
11294
|
-
readonly target: number;
|
|
11295
|
-
readonly rate: number;
|
|
11296
|
-
}
|
|
11297
|
-
|
|
11298
|
-
interface AccountReference {
|
|
11299
|
-
readonly id: string;
|
|
11300
|
-
readonly currency: string;
|
|
11301
|
-
}
|
|
11302
|
-
|
|
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;
|
|
11307
|
-
}
|
|
11308
|
-
|
|
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[];
|
|
11315
|
-
}
|
|
11316
|
-
|
|
11317
|
-
interface BillingStatementAttachment {
|
|
11318
|
-
readonly key: io.flow.billing.v0.enums.BillingStatementAttachmentKey;
|
|
11319
|
-
readonly name: string;
|
|
11320
|
-
readonly url: string;
|
|
11321
|
-
}
|
|
11322
|
-
|
|
11323
|
-
interface BillingStatementReference {
|
|
11324
|
-
readonly id: string;
|
|
11325
|
-
}
|
|
11326
|
-
|
|
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;
|
|
11341
|
-
}
|
|
11342
|
-
|
|
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;
|
|
11352
|
-
}
|
|
11353
|
-
|
|
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;
|
|
11358
|
-
}
|
|
11359
|
-
|
|
11360
|
-
interface EmailForm {
|
|
11361
|
-
readonly to: string[];
|
|
11362
|
-
readonly cc?: string[];
|
|
11363
|
-
readonly bcc?: string[];
|
|
11364
|
-
}
|
|
11365
|
-
|
|
11366
|
-
interface NextBillingStatement {
|
|
11367
|
-
readonly date: string;
|
|
11368
|
-
readonly amount: io.flow.common.v0.models.Price;
|
|
11369
|
-
readonly conditions?: string;
|
|
11370
|
-
}
|
|
11371
|
-
|
|
11372
|
-
interface OrganizationAccount {
|
|
11373
|
-
readonly id: string;
|
|
11374
|
-
readonly organization: io.flow.common.v0.models.OrganizationReference;
|
|
11375
|
-
readonly account: io.flow.billing.v0.models.SimpleAccountReference;
|
|
11376
|
-
}
|
|
11377
|
-
|
|
11378
|
-
interface SimpleAccountReference {
|
|
11379
|
-
readonly id: string;
|
|
11380
|
-
}
|
|
11381
|
-
|
|
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;
|
|
11389
|
-
}
|
|
11390
|
-
}
|
|
11391
|
-
|
|
11392
|
-
declare namespace io.flow.harmonization.v0.enums {
|
|
11393
|
-
type TaxApplicability = 'none' | 'all';
|
|
11394
|
-
type TaxVerificationResult = 'valid' | 'invalid' | 'unable_to_validate';
|
|
11395
|
-
}
|
|
11396
|
-
|
|
11397
|
-
declare namespace io.flow.harmonization.v0.models {
|
|
11398
|
-
interface DetailedTaxRegistration {
|
|
11399
|
-
readonly id: string;
|
|
11400
|
-
readonly key: string;
|
|
11401
|
-
readonly consumer_company_name?: string;
|
|
11402
|
-
readonly number: string;
|
|
11403
|
-
readonly country: string;
|
|
11404
|
-
readonly success: boolean;
|
|
11405
|
-
readonly timestamp: string;
|
|
11406
|
-
readonly vies_result: io.flow.harmonization.v0.enums.TaxVerificationResult;
|
|
11407
|
-
readonly vies_result_reason?: string;
|
|
11408
|
-
readonly vies_company_name?: string;
|
|
11409
|
-
readonly vies_company_address?: string;
|
|
11410
|
-
readonly company_name_match_result: io.flow.harmonization.v0.enums.TaxVerificationResult;
|
|
11411
|
-
readonly company_name_match_result_reason?: string;
|
|
11412
|
-
}
|
|
11413
|
-
|
|
11414
|
-
interface HarmonizedCategoryReference {
|
|
11415
|
-
readonly id: string;
|
|
11416
|
-
}
|
|
11417
|
-
|
|
11418
|
-
interface HarmonizedItem {
|
|
11419
|
-
readonly id: string;
|
|
11420
|
-
readonly number: string;
|
|
11421
|
-
readonly name: string;
|
|
11422
|
-
readonly categories: string[];
|
|
11423
|
-
readonly attributes: Record<string, string>;
|
|
11424
|
-
readonly description?: string;
|
|
11425
|
-
}
|
|
11426
|
-
|
|
11427
|
-
interface HarmonizedItemForm {
|
|
11428
|
-
readonly name: string;
|
|
11429
|
-
readonly number: string;
|
|
11430
|
-
readonly currency: string;
|
|
11431
|
-
readonly price: number;
|
|
11432
|
-
readonly categories?: string[];
|
|
11433
|
-
readonly description?: string;
|
|
11434
|
-
readonly attributes?: Record<string, string>;
|
|
11435
|
-
}
|
|
11436
|
-
|
|
11437
|
-
interface HarmonizedItemPutForm {
|
|
11438
|
-
readonly name: string;
|
|
11439
|
-
readonly currency: string;
|
|
11440
|
-
readonly price: number;
|
|
11441
|
-
readonly categories?: string[];
|
|
11442
|
-
readonly description?: string;
|
|
11443
|
-
readonly attributes?: Record<string, string>;
|
|
11444
|
-
}
|
|
11445
|
-
|
|
11446
|
-
interface HarmonizedItemReference {
|
|
11447
|
-
readonly id: string;
|
|
11448
|
-
readonly number: string;
|
|
11449
|
-
readonly description?: string;
|
|
11450
|
-
}
|
|
11451
|
-
|
|
11452
|
-
interface HarmonizedLandedCost {
|
|
11453
|
-
readonly address: io.flow.common.v0.models.Address;
|
|
11454
|
-
readonly items: io.flow.harmonization.v0.models.HarmonizedLandedCostItem[];
|
|
11455
|
-
readonly tax_registration?: io.flow.harmonization.v0.models.TaxRegistration;
|
|
11456
|
-
}
|
|
11457
|
-
|
|
11458
|
-
interface HarmonizedLandedCostForm {
|
|
11459
|
-
readonly address: io.flow.common.v0.models.Address;
|
|
11460
|
-
readonly item_numbers: string[];
|
|
11461
|
-
readonly source_address?: io.flow.common.v0.models.Address;
|
|
11462
|
-
readonly order_number?: string;
|
|
11463
|
-
readonly line_items?: io.flow.common.v0.models.LineItem[];
|
|
11464
|
-
readonly tax_registration_id?: string;
|
|
11465
|
-
readonly billing_address?: io.flow.common.v0.models.BillingAddress;
|
|
11466
|
-
}
|
|
11467
|
-
|
|
11468
|
-
interface HarmonizedLandedCostItem {
|
|
11469
|
-
readonly item: io.flow.harmonization.v0.models.HarmonizedItemReference;
|
|
11470
|
-
readonly duty: io.flow.price.v0.models.Duty;
|
|
11471
|
-
readonly tax: io.flow.price.v0.models.Tax;
|
|
11472
|
-
readonly tax_applicability?: io.flow.harmonization.v0.enums.TaxApplicability;
|
|
11473
|
-
readonly origin?: string;
|
|
11474
|
-
readonly hs_code?: string;
|
|
11475
|
-
readonly tariff_code?: string;
|
|
11476
|
-
readonly customs_description?: string;
|
|
11477
|
-
readonly source_address?: io.flow.common.v0.models.Address;
|
|
11478
|
-
}
|
|
11479
|
-
|
|
11480
|
-
interface Hs10 {
|
|
11481
|
-
readonly id: string;
|
|
11482
|
-
readonly item: io.flow.harmonization.v0.models.HarmonizedItemReference;
|
|
11483
|
-
readonly origin: string;
|
|
11484
|
-
readonly destination: string;
|
|
11485
|
-
readonly code: string;
|
|
11486
|
-
}
|
|
11487
|
-
|
|
11488
|
-
interface Hs10Version {
|
|
11489
|
-
readonly id: string;
|
|
11490
|
-
readonly timestamp: string;
|
|
11491
|
-
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
11492
|
-
readonly hs10: io.flow.harmonization.v0.models.Hs10;
|
|
11493
|
-
}
|
|
11494
|
-
|
|
11495
|
-
interface Hs6 {
|
|
11496
|
-
readonly id: string;
|
|
11497
|
-
readonly item: io.flow.harmonization.v0.models.HarmonizedItemReference;
|
|
11498
|
-
readonly code: string;
|
|
10972
|
+
readonly item: io.flow.harmonization.v0.models.HarmonizedItemReference;
|
|
10973
|
+
readonly code: string;
|
|
11499
10974
|
}
|
|
11500
10975
|
|
|
11501
10976
|
interface LaneLandedCost {
|
|
@@ -13076,6 +12551,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13076
12551
|
| 'purchase';
|
|
13077
12552
|
type BlazeCheckoutStep = 'customer_info' | 'delivery' | 'payment';
|
|
13078
12553
|
type BrowserBundleErrorCode = 'generic_error' | 'country_invalid';
|
|
12554
|
+
type CalculatorEngine = 'flow_rate_and_rule' | 'dtce';
|
|
13079
12555
|
type CarrierLabelGenerationMethod = 'direct' | 'easypost';
|
|
13080
12556
|
type CatalogImportType =
|
|
13081
12557
|
| 'catalog_items'
|
|
@@ -13443,8 +12919,6 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13443
12919
|
| 'billing_statement_deleted'
|
|
13444
12920
|
| 'tax_remittance_transaction_upserted'
|
|
13445
12921
|
| 'tax_remittance_transaction_deleted'
|
|
13446
|
-
| 'channel_transaction_upserted'
|
|
13447
|
-
| 'channel_transaction_deleted'
|
|
13448
12922
|
| 'channel_account_upserted'
|
|
13449
12923
|
| 'channel_account_deleted'
|
|
13450
12924
|
| 'organization_account_upserted'
|
|
@@ -13527,6 +13001,10 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13527
13001
|
| 'feature_deleted'
|
|
13528
13002
|
| 'organization_boolean_value_upserted'
|
|
13529
13003
|
| 'organization_boolean_value_deleted'
|
|
13004
|
+
| 'account_settings_upserted'
|
|
13005
|
+
| 'account_settings_deleted'
|
|
13006
|
+
| 'account_processing_rates_upserted'
|
|
13007
|
+
| 'account_processing_rates_deleted'
|
|
13530
13008
|
| 'billing_organization_processing_rates_upserted'
|
|
13531
13009
|
| 'billing_organization_processing_rates_deleted'
|
|
13532
13010
|
| 'billing_organization_settings_upserted'
|
|
@@ -14011,11 +13489,73 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14011
13489
|
readonly transaction_created_before?: string;
|
|
14012
13490
|
}
|
|
14013
13491
|
|
|
13492
|
+
interface AccountProcessingRateForm {
|
|
13493
|
+
readonly query: string;
|
|
13494
|
+
readonly capture: number;
|
|
13495
|
+
readonly refund: number;
|
|
13496
|
+
readonly fraud: number;
|
|
13497
|
+
}
|
|
13498
|
+
|
|
13499
|
+
interface AccountProcessingRates {
|
|
13500
|
+
readonly id: string;
|
|
13501
|
+
readonly query: string;
|
|
13502
|
+
readonly capture: number;
|
|
13503
|
+
readonly refund: number;
|
|
13504
|
+
readonly fraud: number;
|
|
13505
|
+
readonly position: number;
|
|
13506
|
+
}
|
|
13507
|
+
|
|
13508
|
+
interface AccountProcessingRatesDeleted {
|
|
13509
|
+
readonly discriminator: 'account_processing_rates_deleted';
|
|
13510
|
+
readonly event_id: string;
|
|
13511
|
+
readonly timestamp: string;
|
|
13512
|
+
readonly id: string;
|
|
13513
|
+
}
|
|
13514
|
+
|
|
13515
|
+
interface AccountProcessingRatesForm {
|
|
13516
|
+
readonly processing_rates: io.flow.internal.v0.models.AccountProcessingRateForm[];
|
|
13517
|
+
}
|
|
13518
|
+
|
|
13519
|
+
interface AccountProcessingRatesUpserted {
|
|
13520
|
+
readonly discriminator: 'account_processing_rates_upserted';
|
|
13521
|
+
readonly event_id: string;
|
|
13522
|
+
readonly timestamp: string;
|
|
13523
|
+
readonly rates: io.flow.internal.v0.models.AccountProcessingRates;
|
|
13524
|
+
}
|
|
13525
|
+
|
|
14014
13526
|
interface AccountReference {
|
|
14015
13527
|
readonly id: string;
|
|
14016
13528
|
readonly currency: string;
|
|
14017
13529
|
}
|
|
14018
13530
|
|
|
13531
|
+
interface AccountSettings {
|
|
13532
|
+
readonly id: string;
|
|
13533
|
+
readonly days_until_posted: number;
|
|
13534
|
+
readonly logistics: io.flow.internal.v0.enums.ResponsibleParty;
|
|
13535
|
+
readonly include_transaction_created_at: boolean;
|
|
13536
|
+
readonly include_order_exchange_rate: boolean;
|
|
13537
|
+
readonly send_statements_to_flow_ftp_server: boolean;
|
|
13538
|
+
readonly invoicing_terms?: io.flow.internal.v0.enums.PaymentTerm;
|
|
13539
|
+
readonly transfer_method?: io.flow.internal.v0.enums.TransferMethod;
|
|
13540
|
+
readonly b2b_tax_remittance_days?: number;
|
|
13541
|
+
readonly merchant_of_record_fee?: number;
|
|
13542
|
+
readonly order_service_fee?: io.flow.internal.v0.models.OrderServiceFee;
|
|
13543
|
+
}
|
|
13544
|
+
|
|
13545
|
+
interface AccountSettingsDeleted {
|
|
13546
|
+
readonly discriminator: 'account_settings_deleted';
|
|
13547
|
+
readonly event_id: string;
|
|
13548
|
+
readonly timestamp: string;
|
|
13549
|
+
readonly id: string;
|
|
13550
|
+
}
|
|
13551
|
+
|
|
13552
|
+
interface AccountSettingsUpserted {
|
|
13553
|
+
readonly discriminator: 'account_settings_upserted';
|
|
13554
|
+
readonly event_id: string;
|
|
13555
|
+
readonly timestamp: string;
|
|
13556
|
+
readonly settings: io.flow.internal.v0.models.AccountSettings;
|
|
13557
|
+
}
|
|
13558
|
+
|
|
14019
13559
|
interface AccountStatistics {
|
|
14020
13560
|
readonly transfers: io.flow.common.v0.models.Price;
|
|
14021
13561
|
readonly balance: io.flow.common.v0.models.Price;
|
|
@@ -14635,13 +14175,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14635
14175
|
readonly destination?: io.flow.internal.v0.models.BillingOrderDestination;
|
|
14636
14176
|
}
|
|
14637
14177
|
|
|
14638
|
-
interface BillingOrganizationProcessingRateForm {
|
|
14639
|
-
readonly query: string;
|
|
14640
|
-
readonly capture: number;
|
|
14641
|
-
readonly refund: number;
|
|
14642
|
-
readonly fraud: number;
|
|
14643
|
-
}
|
|
14644
|
-
|
|
14645
14178
|
interface BillingOrganizationProcessingRates {
|
|
14646
14179
|
readonly id: string;
|
|
14647
14180
|
readonly query: string;
|
|
@@ -14659,10 +14192,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14659
14192
|
readonly id: string;
|
|
14660
14193
|
}
|
|
14661
14194
|
|
|
14662
|
-
interface BillingOrganizationProcessingRatesForm {
|
|
14663
|
-
readonly processing_rates: io.flow.internal.v0.models.BillingOrganizationProcessingRateForm[];
|
|
14664
|
-
}
|
|
14665
|
-
|
|
14666
14195
|
interface BillingOrganizationProcessingRatesUpserted {
|
|
14667
14196
|
readonly discriminator: 'billing_organization_processing_rates_upserted';
|
|
14668
14197
|
readonly event_id: string;
|
|
@@ -15279,22 +14808,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15279
14808
|
readonly description?: string;
|
|
15280
14809
|
}
|
|
15281
14810
|
|
|
15282
|
-
interface ChannelTransactionDeleted {
|
|
15283
|
-
readonly discriminator: 'channel_transaction_deleted';
|
|
15284
|
-
readonly event_id: string;
|
|
15285
|
-
readonly timestamp: string;
|
|
15286
|
-
readonly organization: string;
|
|
15287
|
-
readonly channel_transaction: io.flow.billing.internal.v0.models.ChannelTransaction;
|
|
15288
|
-
}
|
|
15289
|
-
|
|
15290
|
-
interface ChannelTransactionUpserted {
|
|
15291
|
-
readonly discriminator: 'channel_transaction_upserted';
|
|
15292
|
-
readonly event_id: string;
|
|
15293
|
-
readonly timestamp: string;
|
|
15294
|
-
readonly organization: string;
|
|
15295
|
-
readonly channel_transaction: io.flow.billing.internal.v0.models.ChannelTransaction;
|
|
15296
|
-
}
|
|
15297
|
-
|
|
15298
14811
|
interface Chargeback {
|
|
15299
14812
|
readonly id: string;
|
|
15300
14813
|
readonly key: string;
|
|
@@ -24380,8 +23893,6 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
24380
23893
|
| io.flow.internal.v0.models.BillingStatementDeleted
|
|
24381
23894
|
| io.flow.internal.v0.models.TaxRemittanceTransactionUpserted
|
|
24382
23895
|
| io.flow.internal.v0.models.TaxRemittanceTransactionDeleted
|
|
24383
|
-
| io.flow.internal.v0.models.ChannelTransactionUpserted
|
|
24384
|
-
| io.flow.internal.v0.models.ChannelTransactionDeleted
|
|
24385
23896
|
| io.flow.internal.v0.models.ChannelAccountUpserted
|
|
24386
23897
|
| io.flow.internal.v0.models.ChannelAccountDeleted
|
|
24387
23898
|
| io.flow.internal.v0.models.OrganizationAccountUpserted
|
|
@@ -24464,6 +23975,10 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
24464
23975
|
| io.flow.internal.v0.models.FeatureDeleted
|
|
24465
23976
|
| io.flow.internal.v0.models.OrganizationBooleanValueUpserted
|
|
24466
23977
|
| io.flow.internal.v0.models.OrganizationBooleanValueDeleted
|
|
23978
|
+
| io.flow.internal.v0.models.AccountSettingsUpserted
|
|
23979
|
+
| io.flow.internal.v0.models.AccountSettingsDeleted
|
|
23980
|
+
| io.flow.internal.v0.models.AccountProcessingRatesUpserted
|
|
23981
|
+
| io.flow.internal.v0.models.AccountProcessingRatesDeleted
|
|
24467
23982
|
| io.flow.internal.v0.models.BillingOrganizationProcessingRatesUpserted
|
|
24468
23983
|
| io.flow.internal.v0.models.BillingOrganizationProcessingRatesDeleted
|
|
24469
23984
|
| io.flow.internal.v0.models.BillingOrganizationSettingsUpserted
|
|
@@ -24827,7 +24342,15 @@ export type AccountDepositRule = io.flow.internal.v0.models.AccountDepositRule;
|
|
|
24827
24342
|
export type AccountDepositRuleForm = io.flow.internal.v0.models.AccountDepositRuleForm;
|
|
24828
24343
|
export type AccountForm = io.flow.internal.v0.models.AccountForm;
|
|
24829
24344
|
export type AccountOrdersExportRequest = io.flow.internal.v0.models.AccountOrdersExportRequest;
|
|
24345
|
+
export type AccountProcessingRateForm = io.flow.internal.v0.models.AccountProcessingRateForm;
|
|
24346
|
+
export type AccountProcessingRates = io.flow.internal.v0.models.AccountProcessingRates;
|
|
24347
|
+
export type AccountProcessingRatesDeleted = io.flow.internal.v0.models.AccountProcessingRatesDeleted;
|
|
24348
|
+
export type AccountProcessingRatesForm = io.flow.internal.v0.models.AccountProcessingRatesForm;
|
|
24349
|
+
export type AccountProcessingRatesUpserted = io.flow.internal.v0.models.AccountProcessingRatesUpserted;
|
|
24830
24350
|
export type AccountReference = io.flow.internal.v0.models.AccountReference;
|
|
24351
|
+
export type AccountSettings = io.flow.internal.v0.models.AccountSettings;
|
|
24352
|
+
export type AccountSettingsDeleted = io.flow.internal.v0.models.AccountSettingsDeleted;
|
|
24353
|
+
export type AccountSettingsUpserted = io.flow.internal.v0.models.AccountSettingsUpserted;
|
|
24831
24354
|
export type AccountStatistics = io.flow.internal.v0.models.AccountStatistics;
|
|
24832
24355
|
export type AccountTransactionsExportRequest = io.flow.internal.v0.models.AccountTransactionsExportRequest;
|
|
24833
24356
|
export type AccountUpserted = io.flow.internal.v0.models.AccountUpserted;
|
|
@@ -24915,10 +24438,8 @@ export type BillingAuthorizationReference = io.flow.internal.v0.models.BillingAu
|
|
|
24915
24438
|
export type BillingInvoiceSummary = io.flow.internal.v0.models.BillingInvoiceSummary;
|
|
24916
24439
|
export type BillingOrderDestination = io.flow.internal.v0.models.BillingOrderDestination;
|
|
24917
24440
|
export type BillingOrderSummary = io.flow.internal.v0.models.BillingOrderSummary;
|
|
24918
|
-
export type BillingOrganizationProcessingRateForm = io.flow.internal.v0.models.BillingOrganizationProcessingRateForm;
|
|
24919
24441
|
export type BillingOrganizationProcessingRates = io.flow.internal.v0.models.BillingOrganizationProcessingRates;
|
|
24920
24442
|
export type BillingOrganizationProcessingRatesDeleted = io.flow.internal.v0.models.BillingOrganizationProcessingRatesDeleted;
|
|
24921
|
-
export type BillingOrganizationProcessingRatesForm = io.flow.internal.v0.models.BillingOrganizationProcessingRatesForm;
|
|
24922
24443
|
export type BillingOrganizationProcessingRatesUpserted = io.flow.internal.v0.models.BillingOrganizationProcessingRatesUpserted;
|
|
24923
24444
|
export type BillingOrganizationSettings = io.flow.internal.v0.models.BillingOrganizationSettings;
|
|
24924
24445
|
export type BillingOrganizationSettingsDeleted = io.flow.internal.v0.models.BillingOrganizationSettingsDeleted;
|
|
@@ -24990,6 +24511,7 @@ export type BrowserBundlePaymentMethod = io.flow.internal.v0.models.BrowserBundl
|
|
|
24990
24511
|
export type BrowserBundlePaymentMethodForm = io.flow.internal.v0.models.BrowserBundlePaymentMethodForm;
|
|
24991
24512
|
export type BrowserBundlePaymentMethods = io.flow.internal.v0.models.BrowserBundlePaymentMethods;
|
|
24992
24513
|
export type CalculatedTaxAmount = io.flow.internal.v0.models.CalculatedTaxAmount;
|
|
24514
|
+
export type CalculatorEngine = io.flow.internal.v0.enums.CalculatorEngine;
|
|
24993
24515
|
export type CarrierAccount = io.flow.internal.v0.models.CarrierAccount;
|
|
24994
24516
|
export type CarrierAccountForm = io.flow.internal.v0.models.CarrierAccountForm;
|
|
24995
24517
|
export type CarrierAccountUpserted = io.flow.internal.v0.models.CarrierAccountUpserted;
|
|
@@ -25029,8 +24551,6 @@ export type ChannelOrderAcceptanceUpserted = io.flow.internal.v0.models.ChannelO
|
|
|
25029
24551
|
export type ChannelOrganizationShopify = io.flow.internal.v0.models.ChannelOrganizationShopify;
|
|
25030
24552
|
export type ChannelOrganizationShopifyForm = io.flow.internal.v0.models.ChannelOrganizationShopifyForm;
|
|
25031
24553
|
export type ChannelTokenForm = io.flow.internal.v0.models.ChannelTokenForm;
|
|
25032
|
-
export type ChannelTransactionDeleted = io.flow.internal.v0.models.ChannelTransactionDeleted;
|
|
25033
|
-
export type ChannelTransactionUpserted = io.flow.internal.v0.models.ChannelTransactionUpserted;
|
|
25034
24554
|
export type Chargeback = io.flow.internal.v0.models.Chargeback;
|
|
25035
24555
|
export type ChargebackDeleted = io.flow.internal.v0.models.ChargebackDeleted;
|
|
25036
24556
|
export type ChargebackPaymentStatus = io.flow.internal.v0.enums.ChargebackPaymentStatus;
|