@flowio/types 11.24.3 → 11.24.5
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 +224 -94
- package/dist/api.d.ts +48 -89
- package/package.json +2 -2
- package/src/api-internal.ts +300 -106
- package/src/api.ts +65 -126
package/src/api-internal.ts
CHANGED
|
@@ -9746,6 +9746,15 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
9746
9746
|
readonly unit: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
9747
9747
|
}
|
|
9748
9748
|
|
|
9749
|
+
interface FuelSurchargeAmountByWeightServiceFee {
|
|
9750
|
+
readonly discriminator: 'fuel_surcharge_amount_by_weight_service_fee';
|
|
9751
|
+
readonly amount: io.flow.common.v0.models.Money;
|
|
9752
|
+
readonly weight: io.flow.ratecard.v0.models.FeeWeight;
|
|
9753
|
+
readonly regions?: string[];
|
|
9754
|
+
readonly starts_at?: string;
|
|
9755
|
+
readonly ends_at?: string;
|
|
9756
|
+
}
|
|
9757
|
+
|
|
9749
9758
|
interface FuelSurchargeRatecardFee {
|
|
9750
9759
|
readonly discriminator: 'fuel_surcharge_ratecard_fee';
|
|
9751
9760
|
readonly amount: io.flow.common.v0.models.Money;
|
|
@@ -10058,6 +10067,7 @@ declare namespace io.flow.ratecard.v0.unions {
|
|
|
10058
10067
|
| io.flow.ratecard.v0.models.DutiesTaxesPaidSurchargeRatecardFee;
|
|
10059
10068
|
type ServiceFee =
|
|
10060
10069
|
| io.flow.ratecard.v0.models.FuelSurchargeServiceFee
|
|
10070
|
+
| io.flow.ratecard.v0.models.FuelSurchargeAmountByWeightServiceFee
|
|
10061
10071
|
| io.flow.ratecard.v0.models.RemoteAreaServiceFee
|
|
10062
10072
|
| io.flow.ratecard.v0.models.EmergencySituationSurchargeServiceFee
|
|
10063
10073
|
| io.flow.ratecard.v0.models.PeakSurchargeServiceFee
|
|
@@ -10906,13 +10916,6 @@ declare namespace io.flow.permission.v0.models {
|
|
|
10906
10916
|
readonly routes: io.flow.permission.v0.models.PermittedRoute[];
|
|
10907
10917
|
}
|
|
10908
10918
|
|
|
10909
|
-
interface PermissionError {
|
|
10910
|
-
readonly code: io.flow.error.v0.enums.GenericErrorCode;
|
|
10911
|
-
readonly messages: string[];
|
|
10912
|
-
readonly granting_roles?: io.flow.permission.v0.enums.FlowRole[];
|
|
10913
|
-
readonly admin_users?: io.flow.common.v0.models.User[];
|
|
10914
|
-
}
|
|
10915
|
-
|
|
10916
10919
|
interface PermittedRoute {
|
|
10917
10920
|
readonly method: io.flow.permission.v0.enums.PermittedHttpMethod;
|
|
10918
10921
|
readonly path: string;
|
|
@@ -11049,6 +11052,176 @@ declare namespace io.flow.item.v0.models {
|
|
|
11049
11052
|
}
|
|
11050
11053
|
}
|
|
11051
11054
|
|
|
11055
|
+
declare namespace io.flow.billing.v0.enums {
|
|
11056
|
+
type BillingStatementAttachmentKey =
|
|
11057
|
+
| 'invoice'
|
|
11058
|
+
| 'statement'
|
|
11059
|
+
| 'consumer_invoice'
|
|
11060
|
+
| 'credit_memo'
|
|
11061
|
+
| 'transactions'
|
|
11062
|
+
| 'virtual_card'
|
|
11063
|
+
| 'tax_remittance'
|
|
11064
|
+
| 'manual'
|
|
11065
|
+
| 'orders'
|
|
11066
|
+
| 'all';
|
|
11067
|
+
type BillingTransactionStatus = 'pending' | 'posted';
|
|
11068
|
+
type BillingTransactionType =
|
|
11069
|
+
| 'manual'
|
|
11070
|
+
| 'subscription'
|
|
11071
|
+
| 'invoice'
|
|
11072
|
+
| 'transfer'
|
|
11073
|
+
| 'transfer_fee'
|
|
11074
|
+
| 'adjustment'
|
|
11075
|
+
| 'capture'
|
|
11076
|
+
| 'refund'
|
|
11077
|
+
| 'virtual_card_capture'
|
|
11078
|
+
| 'virtual_card_refund'
|
|
11079
|
+
| 'tax_remittance'
|
|
11080
|
+
| 'fully_subsidized_order'
|
|
11081
|
+
| 'credit_payment'
|
|
11082
|
+
| 'dispute'
|
|
11083
|
+
| 'channel'
|
|
11084
|
+
| 'label';
|
|
11085
|
+
type SubscriptionFrequency = 'yearly' | 'monthly';
|
|
11086
|
+
}
|
|
11087
|
+
|
|
11088
|
+
declare namespace io.flow.billing.v0.models {
|
|
11089
|
+
interface Account {
|
|
11090
|
+
readonly id: string;
|
|
11091
|
+
readonly currency: string;
|
|
11092
|
+
readonly updated_at: string;
|
|
11093
|
+
readonly timezone: io.flow.reference.v0.models.Timezone;
|
|
11094
|
+
readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule;
|
|
11095
|
+
readonly payment_conditions?: string;
|
|
11096
|
+
readonly deposit_rule?: io.flow.billing.v0.models.AccountDepositRule;
|
|
11097
|
+
readonly center_key?: string;
|
|
11098
|
+
readonly statistics: io.flow.billing.v0.models.AccountStatistics;
|
|
11099
|
+
readonly next_statement: io.flow.billing.v0.models.NextBillingStatement;
|
|
11100
|
+
readonly created_at: string;
|
|
11101
|
+
}
|
|
11102
|
+
|
|
11103
|
+
interface AccountContact {
|
|
11104
|
+
readonly id: string;
|
|
11105
|
+
readonly email: string;
|
|
11106
|
+
readonly first_name?: string;
|
|
11107
|
+
readonly last_name?: string;
|
|
11108
|
+
readonly phone?: string;
|
|
11109
|
+
}
|
|
11110
|
+
|
|
11111
|
+
interface AccountContactForm {
|
|
11112
|
+
readonly email: string;
|
|
11113
|
+
readonly first_name?: string;
|
|
11114
|
+
readonly last_name?: string;
|
|
11115
|
+
readonly phone?: string;
|
|
11116
|
+
}
|
|
11117
|
+
|
|
11118
|
+
interface AccountDepositRule {
|
|
11119
|
+
readonly target: number;
|
|
11120
|
+
readonly rate: number;
|
|
11121
|
+
}
|
|
11122
|
+
|
|
11123
|
+
interface AccountDepositRuleForm {
|
|
11124
|
+
readonly target: number;
|
|
11125
|
+
readonly rate: number;
|
|
11126
|
+
}
|
|
11127
|
+
|
|
11128
|
+
interface AccountReference {
|
|
11129
|
+
readonly id: string;
|
|
11130
|
+
readonly currency: string;
|
|
11131
|
+
}
|
|
11132
|
+
|
|
11133
|
+
interface AccountStatistics {
|
|
11134
|
+
readonly transfers: io.flow.common.v0.models.Price;
|
|
11135
|
+
readonly balance: io.flow.common.v0.models.Price;
|
|
11136
|
+
readonly pending: io.flow.common.v0.models.Price;
|
|
11137
|
+
}
|
|
11138
|
+
|
|
11139
|
+
interface BillingStatement {
|
|
11140
|
+
readonly id: string;
|
|
11141
|
+
readonly account: io.flow.billing.v0.models.AccountReference;
|
|
11142
|
+
readonly period: io.flow.common.v0.models.DatetimeRange;
|
|
11143
|
+
readonly totals: io.flow.billing.v0.models.BillingStatementTotals;
|
|
11144
|
+
readonly attachments: io.flow.billing.v0.models.BillingStatementAttachment[];
|
|
11145
|
+
}
|
|
11146
|
+
|
|
11147
|
+
interface BillingStatementAttachment {
|
|
11148
|
+
readonly key: io.flow.billing.v0.enums.BillingStatementAttachmentKey;
|
|
11149
|
+
readonly name: string;
|
|
11150
|
+
readonly url: string;
|
|
11151
|
+
}
|
|
11152
|
+
|
|
11153
|
+
interface BillingStatementReference {
|
|
11154
|
+
readonly id: string;
|
|
11155
|
+
}
|
|
11156
|
+
|
|
11157
|
+
interface BillingStatementTotals {
|
|
11158
|
+
readonly starting_balance: io.flow.common.v0.models.Price;
|
|
11159
|
+
readonly subscription: io.flow.common.v0.models.Price;
|
|
11160
|
+
readonly transfer: io.flow.common.v0.models.Price;
|
|
11161
|
+
readonly transfer_fee: io.flow.common.v0.models.Price;
|
|
11162
|
+
readonly invoice: io.flow.common.v0.models.Price;
|
|
11163
|
+
readonly manual: io.flow.common.v0.models.Price;
|
|
11164
|
+
readonly adjustment: io.flow.common.v0.models.Price;
|
|
11165
|
+
readonly capture: io.flow.common.v0.models.Price;
|
|
11166
|
+
readonly refund: io.flow.common.v0.models.Price;
|
|
11167
|
+
readonly virtual_card_capture: io.flow.common.v0.models.Price;
|
|
11168
|
+
readonly virtual_card_refund: io.flow.common.v0.models.Price;
|
|
11169
|
+
readonly tax_remittance: io.flow.common.v0.models.Price;
|
|
11170
|
+
readonly dispute: io.flow.common.v0.models.Price;
|
|
11171
|
+
readonly channel: io.flow.common.v0.models.Price;
|
|
11172
|
+
readonly label: io.flow.common.v0.models.Price;
|
|
11173
|
+
readonly ending_balance: io.flow.common.v0.models.Price;
|
|
11174
|
+
}
|
|
11175
|
+
|
|
11176
|
+
interface BillingTransaction {
|
|
11177
|
+
readonly id: string;
|
|
11178
|
+
readonly type: io.flow.billing.v0.enums.BillingTransactionType;
|
|
11179
|
+
readonly status: io.flow.billing.v0.enums.BillingTransactionStatus;
|
|
11180
|
+
readonly posted_at?: string;
|
|
11181
|
+
readonly value: io.flow.common.v0.models.Price;
|
|
11182
|
+
readonly description: string;
|
|
11183
|
+
readonly created_at: string;
|
|
11184
|
+
readonly statement?: io.flow.billing.v0.models.BillingStatementReference;
|
|
11185
|
+
}
|
|
11186
|
+
|
|
11187
|
+
interface ChannelAccount {
|
|
11188
|
+
readonly id: string;
|
|
11189
|
+
readonly channel: io.flow.common.v0.models.ChannelReference;
|
|
11190
|
+
readonly account: io.flow.billing.v0.models.SimpleAccountReference;
|
|
11191
|
+
}
|
|
11192
|
+
|
|
11193
|
+
interface EmailForm {
|
|
11194
|
+
readonly to: string[];
|
|
11195
|
+
readonly cc?: string[];
|
|
11196
|
+
readonly bcc?: string[];
|
|
11197
|
+
}
|
|
11198
|
+
|
|
11199
|
+
interface NextBillingStatement {
|
|
11200
|
+
readonly date: string;
|
|
11201
|
+
readonly amount: io.flow.common.v0.models.Price;
|
|
11202
|
+
readonly conditions?: string;
|
|
11203
|
+
}
|
|
11204
|
+
|
|
11205
|
+
interface OrganizationAccount {
|
|
11206
|
+
readonly id: string;
|
|
11207
|
+
readonly organization: io.flow.common.v0.models.OrganizationReference;
|
|
11208
|
+
readonly account: io.flow.billing.v0.models.SimpleAccountReference;
|
|
11209
|
+
}
|
|
11210
|
+
|
|
11211
|
+
interface SimpleAccountReference {
|
|
11212
|
+
readonly id: string;
|
|
11213
|
+
}
|
|
11214
|
+
|
|
11215
|
+
interface Subscription {
|
|
11216
|
+
readonly id: string;
|
|
11217
|
+
readonly organization: string;
|
|
11218
|
+
readonly value: io.flow.common.v0.models.Price;
|
|
11219
|
+
readonly frequency: io.flow.billing.v0.enums.SubscriptionFrequency;
|
|
11220
|
+
readonly starts_at: string;
|
|
11221
|
+
readonly created_at: string;
|
|
11222
|
+
}
|
|
11223
|
+
}
|
|
11224
|
+
|
|
11052
11225
|
declare namespace io.flow.harmonization.v0.enums {
|
|
11053
11226
|
type TaxApplicability = 'none' | 'all';
|
|
11054
11227
|
type TaxVerificationResult = 'valid' | 'invalid' | 'unable_to_validate';
|
|
@@ -12695,6 +12868,8 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
12695
12868
|
| 'tax_remittance'
|
|
12696
12869
|
| 'manual'
|
|
12697
12870
|
| 'orders'
|
|
12871
|
+
| 'label'
|
|
12872
|
+
| 'order_service'
|
|
12698
12873
|
| 'all';
|
|
12699
12874
|
type BillingStatementBatchFileKey = 'archive' | 'summary';
|
|
12700
12875
|
type BillingStatementReviewStatus = 'approved' | 'pending';
|
|
@@ -12715,7 +12890,8 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
12715
12890
|
| 'credit_payment'
|
|
12716
12891
|
| 'dispute'
|
|
12717
12892
|
| 'channel'
|
|
12718
|
-
| 'label'
|
|
12893
|
+
| 'label'
|
|
12894
|
+
| 'order';
|
|
12719
12895
|
type BlazeCheckoutEvent =
|
|
12720
12896
|
| 'begin_checkout'
|
|
12721
12897
|
| 'select_promotion'
|
|
@@ -13287,6 +13463,8 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13287
13463
|
| 'ratecard_service_fee_deleted'
|
|
13288
13464
|
| 'ratecard_lane_aggregate_upserted'
|
|
13289
13465
|
| 'ratecard_lane_aggregate_deleted'
|
|
13466
|
+
| 'product_restriction_upserted'
|
|
13467
|
+
| 'product_restriction_deleted'
|
|
13290
13468
|
| 'shopify_shop_upserted'
|
|
13291
13469
|
| 'shopify_shop_deleted'
|
|
13292
13470
|
| 'shopify_experience_short_id_upserted'
|
|
@@ -13508,6 +13686,12 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13508
13686
|
| 'fiserv'
|
|
13509
13687
|
| 'crypto';
|
|
13510
13688
|
type ProcessorEntityStatus = 'active' | 'draft' | 'archived';
|
|
13689
|
+
type ProductRestrictionDecision = 'accept_restriction' | 'reject_restriction';
|
|
13690
|
+
type ProductRestrictionStatus =
|
|
13691
|
+
| 'pending'
|
|
13692
|
+
| 'in_review'
|
|
13693
|
+
| 'accepted'
|
|
13694
|
+
| 'restricted';
|
|
13511
13695
|
type PromptAction = 'prompt_displayed' | 'consent_granted' | 'consent_denied';
|
|
13512
13696
|
type PromptCheckoutDisplayPosition = 'email' | 'submission';
|
|
13513
13697
|
type PromptOptions = 'notice_only' | 'require_consent' | 'consent_by_default';
|
|
@@ -13527,6 +13711,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13527
13711
|
| 'paid_at_border'
|
|
13528
13712
|
| 'paid_on_delivery';
|
|
13529
13713
|
type ResponsibleParty = 'flow' | 'organization';
|
|
13714
|
+
type RestrictionAction = 'prohibited' | 'restricted';
|
|
13530
13715
|
type RiskCheck = 'three_d_secure';
|
|
13531
13716
|
type RiskEvaluation =
|
|
13532
13717
|
| 'Pending'
|
|
@@ -13668,7 +13853,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13668
13853
|
readonly discriminator: 'account_contact_upserted';
|
|
13669
13854
|
readonly event_id: string;
|
|
13670
13855
|
readonly timestamp: string;
|
|
13671
|
-
readonly account_contact: io.flow.
|
|
13856
|
+
readonly account_contact: io.flow.billing.v0.models.AccountContact;
|
|
13672
13857
|
}
|
|
13673
13858
|
|
|
13674
13859
|
interface AccountDeletedV2 {
|
|
@@ -13704,8 +13889,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13704
13889
|
readonly export_id: string;
|
|
13705
13890
|
readonly account_id?: string;
|
|
13706
13891
|
readonly statement_id?: string;
|
|
13707
|
-
readonly transaction_type?: io.flow.
|
|
13708
|
-
readonly transaction_status?: io.flow.
|
|
13892
|
+
readonly transaction_type?: io.flow.billing.v0.enums.BillingTransactionType;
|
|
13893
|
+
readonly transaction_status?: io.flow.billing.v0.enums.BillingTransactionStatus;
|
|
13709
13894
|
readonly transaction_posted_from?: string;
|
|
13710
13895
|
readonly transaction_posted_to?: string;
|
|
13711
13896
|
readonly transaction_posted_on_or_after?: string;
|
|
@@ -13810,7 +13995,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13810
13995
|
readonly export_id: string;
|
|
13811
13996
|
readonly account_id?: string;
|
|
13812
13997
|
readonly statement_id?: string;
|
|
13813
|
-
readonly status?: io.flow.
|
|
13998
|
+
readonly status?: io.flow.billing.v0.enums.BillingTransactionStatus;
|
|
13814
13999
|
readonly posted_from?: string;
|
|
13815
14000
|
readonly posted_to?: string;
|
|
13816
14001
|
readonly posted_on_or_after?: string;
|
|
@@ -13830,14 +14015,14 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13830
14015
|
readonly event_id: string;
|
|
13831
14016
|
readonly timestamp: string;
|
|
13832
14017
|
readonly organization: string;
|
|
13833
|
-
readonly account: io.flow.
|
|
14018
|
+
readonly account: io.flow.billing.v0.models.Account;
|
|
13834
14019
|
}
|
|
13835
14020
|
|
|
13836
14021
|
interface AccountUpsertedV2 {
|
|
13837
14022
|
readonly discriminator: 'account_upserted_v2';
|
|
13838
14023
|
readonly event_id: string;
|
|
13839
14024
|
readonly timestamp: string;
|
|
13840
|
-
readonly account: io.flow.
|
|
14025
|
+
readonly account: io.flow.billing.v0.models.Account;
|
|
13841
14026
|
}
|
|
13842
14027
|
|
|
13843
14028
|
interface ActionQuantity {
|
|
@@ -14466,6 +14651,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14466
14651
|
readonly destination?: io.flow.internal.v0.models.BillingOrderDestination;
|
|
14467
14652
|
}
|
|
14468
14653
|
|
|
14654
|
+
interface BillingOrderTransactionOrderReference {
|
|
14655
|
+
readonly organization: io.flow.common.v0.models.OrganizationReference;
|
|
14656
|
+
readonly number: string;
|
|
14657
|
+
}
|
|
14658
|
+
|
|
14469
14659
|
interface BillingOrganizationProcessingRates {
|
|
14470
14660
|
readonly id: string;
|
|
14471
14661
|
readonly query: string;
|
|
@@ -14586,6 +14776,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14586
14776
|
readonly dispute: io.flow.common.v0.models.Price;
|
|
14587
14777
|
readonly channel: io.flow.common.v0.models.Price;
|
|
14588
14778
|
readonly label: io.flow.common.v0.models.Price;
|
|
14779
|
+
readonly order: io.flow.common.v0.models.Price;
|
|
14589
14780
|
readonly ending_balance: io.flow.common.v0.models.Price;
|
|
14590
14781
|
}
|
|
14591
14782
|
|
|
@@ -14593,7 +14784,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14593
14784
|
readonly discriminator: 'billing_statement_upserted';
|
|
14594
14785
|
readonly event_id: string;
|
|
14595
14786
|
readonly timestamp: string;
|
|
14596
|
-
readonly statement: io.flow.
|
|
14787
|
+
readonly statement: io.flow.billing.v0.models.BillingStatement;
|
|
14597
14788
|
}
|
|
14598
14789
|
|
|
14599
14790
|
interface BillingTransaction {
|
|
@@ -15009,7 +15200,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15009
15200
|
readonly discriminator: 'channel_account_upserted';
|
|
15010
15201
|
readonly event_id: string;
|
|
15011
15202
|
readonly timestamp: string;
|
|
15012
|
-
readonly channel_account: io.flow.
|
|
15203
|
+
readonly channel_account: io.flow.billing.v0.models.ChannelAccount;
|
|
15013
15204
|
}
|
|
15014
15205
|
|
|
15015
15206
|
interface ChannelCurrency {
|
|
@@ -18625,7 +18816,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18625
18816
|
readonly mor?: io.flow.internal.v0.models.Fee;
|
|
18626
18817
|
readonly fx?: io.flow.internal.v0.models.Fee;
|
|
18627
18818
|
readonly duty_guarantee?: io.flow.internal.v0.models.Fee;
|
|
18628
|
-
readonly order_service?: io.flow.internal.v0.models.Fee;
|
|
18629
18819
|
}
|
|
18630
18820
|
|
|
18631
18821
|
interface FinancialMerchantCategory {
|
|
@@ -18940,7 +19130,14 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18940
19130
|
readonly outbound: string;
|
|
18941
19131
|
}
|
|
18942
19132
|
|
|
18943
|
-
interface
|
|
19133
|
+
interface FuelSurchargeServiceFeeAmountByWeightPutForm {
|
|
19134
|
+
readonly discriminator: 'fuel_surcharge_service_fee_amount_by_weight_put_form';
|
|
19135
|
+
readonly amount: io.flow.common.v0.models.Money;
|
|
19136
|
+
readonly weight: io.flow.ratecard.v0.models.FeeWeight;
|
|
19137
|
+
}
|
|
19138
|
+
|
|
19139
|
+
interface FuelSurchargeServiceFeePercentPutForm {
|
|
19140
|
+
readonly discriminator: 'fuel_surcharge_service_fee_percent_put_form';
|
|
18944
19141
|
readonly percent: number;
|
|
18945
19142
|
}
|
|
18946
19143
|
|
|
@@ -19990,10 +20187,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19990
20187
|
readonly fiserv_authentication_data: io.flow.internal.v0.models.FiservAuthenticationDataReference;
|
|
19991
20188
|
}
|
|
19992
20189
|
|
|
19993
|
-
interface InternalFuelSurchargeRatecardFee {
|
|
19994
|
-
readonly percent: number;
|
|
19995
|
-
}
|
|
19996
|
-
|
|
19997
20190
|
interface InternalItemForm {
|
|
19998
20191
|
readonly id: string;
|
|
19999
20192
|
readonly item_form: io.flow.catalog.v0.models.ItemForm;
|
|
@@ -20427,7 +20620,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20427
20620
|
|
|
20428
20621
|
interface LabelCreationRequestForm {
|
|
20429
20622
|
readonly shipping_label_form: io.flow.label.v0.unions.ShippingLabelForm;
|
|
20430
|
-
readonly organization_id: string;
|
|
20431
20623
|
readonly shipment_cost?: io.flow.common.v0.models.Money;
|
|
20432
20624
|
readonly reference_id?: string;
|
|
20433
20625
|
}
|
|
@@ -21180,22 +21372,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21180
21372
|
readonly order: io.flow.internal.v0.models.Decision;
|
|
21181
21373
|
}
|
|
21182
21374
|
|
|
21183
|
-
interface Onboarding {
|
|
21184
|
-
readonly placeholder?: string;
|
|
21185
|
-
}
|
|
21186
|
-
|
|
21187
|
-
interface OnboardingClassification {
|
|
21188
|
-
readonly country_of_origin_populated: boolean;
|
|
21189
|
-
}
|
|
21190
|
-
|
|
21191
|
-
interface OnboardingForm {
|
|
21192
|
-
readonly payment_processing: io.flow.internal.v0.models.ShopifyMarketsOnboardingPaymentProcessing;
|
|
21193
|
-
readonly product_and_logistics: io.flow.internal.v0.models.ShopifyMarketsProductLogistics;
|
|
21194
|
-
readonly classification: io.flow.internal.v0.models.OnboardingClassification;
|
|
21195
|
-
readonly bank_account_details: io.flow.internal.v0.models.ShopifyMarketsBankAccountDetails;
|
|
21196
|
-
readonly preparer_details?: io.flow.internal.v0.models.ShopifyMarketsPreparerDetails;
|
|
21197
|
-
}
|
|
21198
|
-
|
|
21199
21375
|
interface OneTimeTokenRedemptionForm {
|
|
21200
21376
|
readonly token: string;
|
|
21201
21377
|
}
|
|
@@ -21434,6 +21610,18 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21434
21610
|
readonly authorization?: io.flow.payment.v0.unions.AuthorizationForm;
|
|
21435
21611
|
}
|
|
21436
21612
|
|
|
21613
|
+
interface OrderTransaction {
|
|
21614
|
+
readonly discriminator: 'order_transaction';
|
|
21615
|
+
readonly id: string;
|
|
21616
|
+
readonly type: io.flow.internal.v0.enums.BillingTransactionType;
|
|
21617
|
+
readonly order: io.flow.internal.v0.models.BillingOrderTransactionOrderReference;
|
|
21618
|
+
readonly posted_at: string;
|
|
21619
|
+
readonly value: io.flow.common.v0.models.Price;
|
|
21620
|
+
readonly description: string;
|
|
21621
|
+
readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
|
|
21622
|
+
readonly created_at: string;
|
|
21623
|
+
}
|
|
21624
|
+
|
|
21437
21625
|
interface OrganizationAccount {
|
|
21438
21626
|
readonly id: string;
|
|
21439
21627
|
readonly organization: io.flow.common.v0.models.OrganizationReference;
|
|
@@ -21451,7 +21639,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21451
21639
|
readonly discriminator: 'organization_account_upserted';
|
|
21452
21640
|
readonly event_id: string;
|
|
21453
21641
|
readonly timestamp: string;
|
|
21454
|
-
readonly organization_account: io.flow.
|
|
21642
|
+
readonly organization_account: io.flow.billing.v0.models.OrganizationAccount;
|
|
21455
21643
|
}
|
|
21456
21644
|
|
|
21457
21645
|
interface OrganizationBooleanValue {
|
|
@@ -22178,6 +22366,36 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22178
22366
|
readonly column_settings: io.flow.internal.v0.models.HarmonizationColumnSetting[];
|
|
22179
22367
|
}
|
|
22180
22368
|
|
|
22369
|
+
interface ProductRestriction {
|
|
22370
|
+
readonly id: string;
|
|
22371
|
+
readonly organization_id: string;
|
|
22372
|
+
readonly product_id: string;
|
|
22373
|
+
readonly status: io.flow.internal.v0.enums.ProductRestrictionStatus;
|
|
22374
|
+
readonly restrictions: io.flow.internal.v0.models.Restriction[];
|
|
22375
|
+
}
|
|
22376
|
+
|
|
22377
|
+
interface ProductRestrictionDecisionForm {
|
|
22378
|
+
readonly product_id: string;
|
|
22379
|
+
readonly rule_id: string;
|
|
22380
|
+
readonly decision: io.flow.internal.v0.enums.ProductRestrictionDecision;
|
|
22381
|
+
}
|
|
22382
|
+
|
|
22383
|
+
interface ProductRestrictionDeleted {
|
|
22384
|
+
readonly discriminator: 'product_restriction_deleted';
|
|
22385
|
+
readonly event_id: string;
|
|
22386
|
+
readonly timestamp: string;
|
|
22387
|
+
readonly organization: string;
|
|
22388
|
+
readonly product_restriction: io.flow.internal.v0.models.ProductRestriction;
|
|
22389
|
+
}
|
|
22390
|
+
|
|
22391
|
+
interface ProductRestrictionUpserted {
|
|
22392
|
+
readonly discriminator: 'product_restriction_upserted';
|
|
22393
|
+
readonly event_id: string;
|
|
22394
|
+
readonly timestamp: string;
|
|
22395
|
+
readonly organization: string;
|
|
22396
|
+
readonly product_restriction: io.flow.internal.v0.models.ProductRestriction;
|
|
22397
|
+
}
|
|
22398
|
+
|
|
22181
22399
|
interface QuoteRequest {
|
|
22182
22400
|
readonly id: string;
|
|
22183
22401
|
readonly request_type: io.flow.internal.v0.enums.QuoteRequestType;
|
|
@@ -22551,6 +22769,13 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22551
22769
|
readonly select_mismatching_item_types: boolean;
|
|
22552
22770
|
}
|
|
22553
22771
|
|
|
22772
|
+
interface Restriction {
|
|
22773
|
+
readonly name: string;
|
|
22774
|
+
readonly rule_id: string;
|
|
22775
|
+
readonly action: io.flow.internal.v0.enums.RestrictionAction;
|
|
22776
|
+
readonly regions: io.flow.reference.v0.models.Region[];
|
|
22777
|
+
}
|
|
22778
|
+
|
|
22554
22779
|
interface ResyncByDestinations {
|
|
22555
22780
|
readonly destinations: io.flow.reference.v0.models.Country[];
|
|
22556
22781
|
}
|
|
@@ -22872,14 +23097,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22872
23097
|
readonly placeholder: string;
|
|
22873
23098
|
}
|
|
22874
23099
|
|
|
22875
|
-
interface ShopifyMarketsBankAccountDetails {
|
|
22876
|
-
readonly name: string;
|
|
22877
|
-
readonly address: io.flow.common.v0.models.Address;
|
|
22878
|
-
readonly contact: io.flow.common.v0.models.Contact;
|
|
22879
|
-
readonly account_number: string;
|
|
22880
|
-
readonly aba_routing_transit_number: string;
|
|
22881
|
-
}
|
|
22882
|
-
|
|
22883
23100
|
interface ShopifyMarketsIncorporationCountry {
|
|
22884
23101
|
readonly country: string;
|
|
22885
23102
|
readonly state?: string;
|
|
@@ -22887,47 +23104,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22887
23104
|
readonly jurisdiction?: string;
|
|
22888
23105
|
}
|
|
22889
23106
|
|
|
22890
|
-
interface ShopifyMarketsOnboardingPaymentProcessing {
|
|
22891
|
-
readonly legal_name: string;
|
|
22892
|
-
readonly incorporation_country: io.flow.internal.v0.models.ShopifyMarketsIncorporationCountry;
|
|
22893
|
-
readonly indirect_tax_number: number;
|
|
22894
|
-
readonly subsidiary_company?: io.flow.internal.v0.models.ShopifyMarketsSubsidiaryCompany;
|
|
22895
|
-
readonly beneficiary?: string;
|
|
22896
|
-
readonly business_url: string;
|
|
22897
|
-
readonly business_description?: string;
|
|
22898
|
-
readonly business_address?: io.flow.common.v0.models.Address;
|
|
22899
|
-
readonly refund_percentage: number;
|
|
22900
|
-
readonly chargeback_percentage: number;
|
|
22901
|
-
}
|
|
22902
|
-
|
|
22903
|
-
interface ShopifyMarketsPreparerDetails {
|
|
22904
|
-
readonly name: string;
|
|
22905
|
-
readonly title: string;
|
|
22906
|
-
readonly company: string;
|
|
22907
|
-
}
|
|
22908
|
-
|
|
22909
|
-
interface ShopifyMarketsProductLogistics {
|
|
22910
|
-
readonly trade_sector: io.flow.internal.v0.enums.ShopifyMarketsTradeSector;
|
|
22911
|
-
readonly other_trade_sector?: string;
|
|
22912
|
-
readonly ship_internationally: boolean;
|
|
22913
|
-
readonly hts_number_available?: io.flow.internal.v0.enums.ShopifyMarketsHtsNumberAvailable;
|
|
22914
|
-
readonly shipped_prohibited_products_before: boolean;
|
|
22915
|
-
readonly third_party_logistics_partner: io.flow.internal.v0.models.ThirdPartyLogisticsPartner;
|
|
22916
|
-
readonly third_party_logistics_pick_up_time_window: io.flow.internal.v0.models.ThirdPartyLogisticsPickUpTimeWindow;
|
|
22917
|
-
readonly pickup_location: io.flow.common.v0.models.BillingAddress;
|
|
22918
|
-
readonly pickup_instructions?: string;
|
|
22919
|
-
readonly operations_contact: io.flow.common.v0.models.Contact;
|
|
22920
|
-
readonly average_order_weight: number;
|
|
22921
|
-
readonly package_dimensions: io.flow.common.v0.models.Dimensions;
|
|
22922
|
-
readonly average_order_value: number;
|
|
22923
|
-
readonly maximum_order_value: number;
|
|
22924
|
-
readonly monthly_average_volume: number;
|
|
22925
|
-
readonly monthly_average_transactions: number;
|
|
22926
|
-
readonly expected_international_markets: string[];
|
|
22927
|
-
readonly any_dangerous_goods: io.flow.internal.v0.enums.AnyDangerousGoods;
|
|
22928
|
-
readonly dangerous_goods?: io.flow.internal.v0.enums.ShopifyMarketsDangerousGoods[];
|
|
22929
|
-
}
|
|
22930
|
-
|
|
22931
23107
|
interface ShopifyMarketsShop {
|
|
22932
23108
|
readonly id: string;
|
|
22933
23109
|
readonly domain: string;
|
|
@@ -22951,6 +23127,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22951
23127
|
readonly access_token?: string;
|
|
22952
23128
|
}
|
|
22953
23129
|
|
|
23130
|
+
interface ShopifyMarketsShopSummary {
|
|
23131
|
+
readonly organization: io.flow.common.v0.models.OrganizationSummary;
|
|
23132
|
+
}
|
|
23133
|
+
|
|
22954
23134
|
interface ShopifyMarketsSubsidiaryCompany {
|
|
22955
23135
|
readonly legal_name?: string;
|
|
22956
23136
|
readonly incorporation_country?: io.flow.internal.v0.models.ShopifyMarketsIncorporationCountry;
|
|
@@ -24805,6 +24985,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
24805
24985
|
| io.flow.internal.v0.models.RatecardServiceFeeDeleted
|
|
24806
24986
|
| io.flow.internal.v0.models.RatecardLaneAggregateUpserted
|
|
24807
24987
|
| io.flow.internal.v0.models.RatecardLaneAggregateDeleted
|
|
24988
|
+
| io.flow.internal.v0.models.ProductRestrictionUpserted
|
|
24989
|
+
| io.flow.internal.v0.models.ProductRestrictionDeleted
|
|
24808
24990
|
| io.flow.internal.v0.models.ShopifyShopUpserted
|
|
24809
24991
|
| io.flow.internal.v0.models.ShopifyShopDeleted
|
|
24810
24992
|
| io.flow.internal.v0.models.ShopifyExperienceShortIdUpserted
|
|
@@ -24856,6 +25038,9 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
24856
25038
|
io.flow.internal.v0.models.FraudProviderConfigurationRiskified;
|
|
24857
25039
|
type FraudProviderConfigurationForm =
|
|
24858
25040
|
io.flow.internal.v0.models.FraudProviderConfigurationFormRiskified;
|
|
25041
|
+
type FuelSurchargeServiceFeePutForm =
|
|
25042
|
+
| io.flow.internal.v0.models.FuelSurchargeServiceFeePercentPutForm
|
|
25043
|
+
| io.flow.internal.v0.models.FuelSurchargeServiceFeeAmountByWeightPutForm;
|
|
24859
25044
|
type GlobalSearchResult =
|
|
24860
25045
|
| io.flow.internal.v0.models.SearchExperienceSummary
|
|
24861
25046
|
| io.flow.internal.v0.models.SearchExperimentSummary
|
|
@@ -25060,7 +25245,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
25060
25245
|
| io.flow.internal.v0.models.VirtualCardTransaction
|
|
25061
25246
|
| io.flow.internal.v0.models.DisputeTransaction
|
|
25062
25247
|
| io.flow.internal.v0.models.ChannelTransaction
|
|
25063
|
-
| io.flow.internal.v0.models.LabelTransaction
|
|
25248
|
+
| io.flow.internal.v0.models.LabelTransaction
|
|
25249
|
+
| io.flow.internal.v0.models.OrderTransaction;
|
|
25064
25250
|
type TransactionSummary =
|
|
25065
25251
|
| io.flow.internal.v0.models.PaymentSummaryV2
|
|
25066
25252
|
| io.flow.internal.v0.models.FraudSummary;
|
|
@@ -25271,6 +25457,8 @@ export type BillingOrderDestination =
|
|
|
25271
25457
|
io.flow.internal.v0.models.BillingOrderDestination;
|
|
25272
25458
|
export type BillingOrderSummary =
|
|
25273
25459
|
io.flow.internal.v0.models.BillingOrderSummary;
|
|
25460
|
+
export type BillingOrderTransactionOrderReference =
|
|
25461
|
+
io.flow.internal.v0.models.BillingOrderTransactionOrderReference;
|
|
25274
25462
|
export type BillingOrganizationProcessingRates =
|
|
25275
25463
|
io.flow.internal.v0.models.BillingOrganizationProcessingRates;
|
|
25276
25464
|
export type BillingOrganizationProcessingRatesDeleted =
|
|
@@ -26946,8 +27134,12 @@ export type FtpSetting = io.flow.internal.v0.models.FtpSetting;
|
|
|
26946
27134
|
export type FtpSettingForm = io.flow.internal.v0.models.FtpSettingForm;
|
|
26947
27135
|
export type FtpSettingVersion = io.flow.internal.v0.models.FtpSettingVersion;
|
|
26948
27136
|
export type FtpSettingsPaths = io.flow.internal.v0.models.FtpSettingsPaths;
|
|
26949
|
-
export type
|
|
26950
|
-
io.flow.internal.v0.models.
|
|
27137
|
+
export type FuelSurchargeServiceFeeAmountByWeightPutForm =
|
|
27138
|
+
io.flow.internal.v0.models.FuelSurchargeServiceFeeAmountByWeightPutForm;
|
|
27139
|
+
export type FuelSurchargeServiceFeePercentPutForm =
|
|
27140
|
+
io.flow.internal.v0.models.FuelSurchargeServiceFeePercentPutForm;
|
|
27141
|
+
export type FuelSurchargeServiceFeePutForm =
|
|
27142
|
+
io.flow.internal.v0.unions.FuelSurchargeServiceFeePutForm;
|
|
26951
27143
|
export type FulfillmentActionForm =
|
|
26952
27144
|
io.flow.internal.v0.models.FulfillmentActionForm;
|
|
26953
27145
|
export type FulfillmentCancel = io.flow.internal.v0.models.FulfillmentCancel;
|
|
@@ -27135,8 +27327,6 @@ export type InternalExclusionRuleForm =
|
|
|
27135
27327
|
io.flow.internal.v0.models.InternalExclusionRuleForm;
|
|
27136
27328
|
export type InternalFiservAuthorizationDetails =
|
|
27137
27329
|
io.flow.internal.v0.models.InternalFiservAuthorizationDetails;
|
|
27138
|
-
export type InternalFuelSurchargeRatecardFee =
|
|
27139
|
-
io.flow.internal.v0.models.InternalFuelSurchargeRatecardFee;
|
|
27140
27330
|
export type InternalHarmonizationStatistic =
|
|
27141
27331
|
io.flow.internal.v0.unions.InternalHarmonizationStatistic;
|
|
27142
27332
|
export type InternalItemForm = io.flow.internal.v0.models.InternalItemForm;
|
|
@@ -27464,10 +27654,6 @@ export type NoClassificationForm =
|
|
|
27464
27654
|
export type NoLiabilityReasonCode =
|
|
27465
27655
|
io.flow.internal.v0.enums.NoLiabilityReasonCode;
|
|
27466
27656
|
export type Notification = io.flow.internal.v0.models.Notification;
|
|
27467
|
-
export type Onboarding = io.flow.internal.v0.models.Onboarding;
|
|
27468
|
-
export type OnboardingClassification =
|
|
27469
|
-
io.flow.internal.v0.models.OnboardingClassification;
|
|
27470
|
-
export type OnboardingForm = io.flow.internal.v0.models.OnboardingForm;
|
|
27471
27657
|
export type OneTimeTokenRedemptionForm =
|
|
27472
27658
|
io.flow.internal.v0.models.OneTimeTokenRedemptionForm;
|
|
27473
27659
|
export type OnlineAuthorizationCompleted =
|
|
@@ -27524,6 +27710,7 @@ export type OrderServiceChangeCsvForm =
|
|
|
27524
27710
|
export type OrderShipped = io.flow.internal.v0.models.OrderShipped;
|
|
27525
27711
|
export type OrderSubmissionForm =
|
|
27526
27712
|
io.flow.internal.v0.models.OrderSubmissionForm;
|
|
27713
|
+
export type OrderTransaction = io.flow.internal.v0.models.OrderTransaction;
|
|
27527
27714
|
export type OrganizationAccount =
|
|
27528
27715
|
io.flow.internal.v0.models.OrganizationAccount;
|
|
27529
27716
|
export type OrganizationAccountDeleted =
|
|
@@ -27731,6 +27918,17 @@ export type ProductHarmonizationForm =
|
|
|
27731
27918
|
export type ProductLabels = io.flow.internal.v0.models.ProductLabels;
|
|
27732
27919
|
export type ProductListSettingsForm =
|
|
27733
27920
|
io.flow.internal.v0.models.ProductListSettingsForm;
|
|
27921
|
+
export type ProductRestriction = io.flow.internal.v0.models.ProductRestriction;
|
|
27922
|
+
export type ProductRestrictionDecision =
|
|
27923
|
+
io.flow.internal.v0.enums.ProductRestrictionDecision;
|
|
27924
|
+
export type ProductRestrictionDecisionForm =
|
|
27925
|
+
io.flow.internal.v0.models.ProductRestrictionDecisionForm;
|
|
27926
|
+
export type ProductRestrictionDeleted =
|
|
27927
|
+
io.flow.internal.v0.models.ProductRestrictionDeleted;
|
|
27928
|
+
export type ProductRestrictionStatus =
|
|
27929
|
+
io.flow.internal.v0.enums.ProductRestrictionStatus;
|
|
27930
|
+
export type ProductRestrictionUpserted =
|
|
27931
|
+
io.flow.internal.v0.models.ProductRestrictionUpserted;
|
|
27734
27932
|
export type PromptAction = io.flow.internal.v0.enums.PromptAction;
|
|
27735
27933
|
export type PromptCheckoutDisplayPosition =
|
|
27736
27934
|
io.flow.internal.v0.enums.PromptCheckoutDisplayPosition;
|
|
@@ -27822,6 +28020,8 @@ export type ReportInterval = io.flow.internal.v0.enums.ReportInterval;
|
|
|
27822
28020
|
export type ReportingScheme = io.flow.internal.v0.enums.ReportingScheme;
|
|
27823
28021
|
export type RequeueRequestForm = io.flow.internal.v0.models.RequeueRequestForm;
|
|
27824
28022
|
export type ResponsibleParty = io.flow.internal.v0.enums.ResponsibleParty;
|
|
28023
|
+
export type Restriction = io.flow.internal.v0.models.Restriction;
|
|
28024
|
+
export type RestrictionAction = io.flow.internal.v0.enums.RestrictionAction;
|
|
27825
28025
|
export type ResyncByDestinations =
|
|
27826
28026
|
io.flow.internal.v0.models.ResyncByDestinations;
|
|
27827
28027
|
export type ResyncByHs6Destinations =
|
|
@@ -27913,23 +28113,17 @@ export type ShopifyGiftCardReversalForm =
|
|
|
27913
28113
|
io.flow.internal.v0.models.ShopifyGiftCardReversalForm;
|
|
27914
28114
|
export type ShopifyGrantStatus = io.flow.internal.v0.enums.ShopifyGrantStatus;
|
|
27915
28115
|
export type ShopifyGrantsCheck = io.flow.internal.v0.models.ShopifyGrantsCheck;
|
|
27916
|
-
export type ShopifyMarketsBankAccountDetails =
|
|
27917
|
-
io.flow.internal.v0.models.ShopifyMarketsBankAccountDetails;
|
|
27918
28116
|
export type ShopifyMarketsDangerousGoods =
|
|
27919
28117
|
io.flow.internal.v0.enums.ShopifyMarketsDangerousGoods;
|
|
27920
28118
|
export type ShopifyMarketsHtsNumberAvailable =
|
|
27921
28119
|
io.flow.internal.v0.enums.ShopifyMarketsHtsNumberAvailable;
|
|
27922
28120
|
export type ShopifyMarketsIncorporationCountry =
|
|
27923
28121
|
io.flow.internal.v0.models.ShopifyMarketsIncorporationCountry;
|
|
27924
|
-
export type ShopifyMarketsOnboardingPaymentProcessing =
|
|
27925
|
-
io.flow.internal.v0.models.ShopifyMarketsOnboardingPaymentProcessing;
|
|
27926
|
-
export type ShopifyMarketsPreparerDetails =
|
|
27927
|
-
io.flow.internal.v0.models.ShopifyMarketsPreparerDetails;
|
|
27928
|
-
export type ShopifyMarketsProductLogistics =
|
|
27929
|
-
io.flow.internal.v0.models.ShopifyMarketsProductLogistics;
|
|
27930
28122
|
export type ShopifyMarketsShop = io.flow.internal.v0.models.ShopifyMarketsShop;
|
|
27931
28123
|
export type ShopifyMarketsShopForm =
|
|
27932
28124
|
io.flow.internal.v0.models.ShopifyMarketsShopForm;
|
|
28125
|
+
export type ShopifyMarketsShopSummary =
|
|
28126
|
+
io.flow.internal.v0.models.ShopifyMarketsShopSummary;
|
|
27933
28127
|
export type ShopifyMarketsSubsidiaryCompany =
|
|
27934
28128
|
io.flow.internal.v0.models.ShopifyMarketsSubsidiaryCompany;
|
|
27935
28129
|
export type ShopifyMarketsTradeSector =
|