@flowio/types 11.24.138 → 11.24.140
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 +734 -197
- package/dist/api.d.ts +120 -73
- package/package.json +1 -1
- package/src/api-internal.ts +951 -238
- package/src/api.ts +151 -82
package/src/api.ts
CHANGED
|
@@ -2222,6 +2222,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2222
2222
|
}
|
|
2223
2223
|
|
|
2224
2224
|
interface GraphqlTaxonomyCategory {
|
|
2225
|
+
readonly id?: string;
|
|
2225
2226
|
readonly name: string;
|
|
2226
2227
|
readonly fullName: string;
|
|
2227
2228
|
}
|
|
@@ -2343,7 +2344,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2343
2344
|
readonly created_at: string;
|
|
2344
2345
|
readonly updated_at: string;
|
|
2345
2346
|
readonly has_variants_that_requires_components?: boolean;
|
|
2346
|
-
readonly category?: io.flow.
|
|
2347
|
+
readonly category?: io.flow.shopify.external.v0.models.RestTaxonomyCategory;
|
|
2347
2348
|
readonly metafields?: io.flow.shopify.external.v0.models.ProductMetafield[];
|
|
2348
2349
|
}
|
|
2349
2350
|
|
|
@@ -2483,6 +2484,12 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2483
2484
|
readonly variant: io.flow.shopify.external.v0.models.ProductVariant;
|
|
2484
2485
|
}
|
|
2485
2486
|
|
|
2487
|
+
interface RestTaxonomyCategory {
|
|
2488
|
+
readonly name: string;
|
|
2489
|
+
readonly full_name: string;
|
|
2490
|
+
readonly admin_graphql_api_id?: string;
|
|
2491
|
+
}
|
|
2492
|
+
|
|
2486
2493
|
interface Shop {
|
|
2487
2494
|
readonly id: number;
|
|
2488
2495
|
readonly domain: string;
|
|
@@ -3210,7 +3217,7 @@ declare namespace io.flow.channel.internal.v0.models {
|
|
|
3210
3217
|
readonly order_updated_at?: string;
|
|
3211
3218
|
readonly order_edit_summary?: io.flow.channel.internal.v0.models.OrderEditSummary;
|
|
3212
3219
|
readonly payment_source?: io.flow.channel.internal.v0.enums.OrderPaymentSourceType;
|
|
3213
|
-
readonly external_order_summary?: io.flow.channel.
|
|
3220
|
+
readonly external_order_summary?: io.flow.channel.internal.v0.models.ExternalOrderSummary;
|
|
3214
3221
|
}
|
|
3215
3222
|
|
|
3216
3223
|
interface ChannelOrderAcceptanceDetails {
|
|
@@ -3273,6 +3280,12 @@ declare namespace io.flow.channel.internal.v0.models {
|
|
|
3273
3280
|
readonly catalog_products_count?: number;
|
|
3274
3281
|
}
|
|
3275
3282
|
|
|
3283
|
+
interface ExternalOrderSummary {
|
|
3284
|
+
readonly id: string;
|
|
3285
|
+
readonly edit_ids: string[];
|
|
3286
|
+
readonly created_at?: string;
|
|
3287
|
+
}
|
|
3288
|
+
|
|
3276
3289
|
interface FlowChannelOrganization {
|
|
3277
3290
|
readonly placeholder?: string;
|
|
3278
3291
|
}
|
|
@@ -3649,6 +3662,7 @@ declare namespace io.flow.common.v0.models {
|
|
|
3649
3662
|
readonly created_at?: string;
|
|
3650
3663
|
readonly status?: io.flow.common.v0.enums.OrganizationStatus;
|
|
3651
3664
|
readonly type?: io.flow.common.v0.enums.OrganizationType;
|
|
3665
|
+
readonly channel?: io.flow.common.v0.models.ChannelReference;
|
|
3652
3666
|
}
|
|
3653
3667
|
|
|
3654
3668
|
interface OrganizationDefaults {
|
|
@@ -3662,6 +3676,7 @@ declare namespace io.flow.common.v0.models {
|
|
|
3662
3676
|
interface OrganizationReference {
|
|
3663
3677
|
readonly discriminator: 'organization_reference';
|
|
3664
3678
|
readonly id: string;
|
|
3679
|
+
readonly channel?: io.flow.common.v0.models.ChannelReference;
|
|
3665
3680
|
}
|
|
3666
3681
|
|
|
3667
3682
|
interface OrganizationSummary {
|
|
@@ -3812,35 +3827,6 @@ declare namespace io.flow.error.v0.models {
|
|
|
3812
3827
|
}
|
|
3813
3828
|
}
|
|
3814
3829
|
|
|
3815
|
-
declare namespace io.flow.channel.shopify.v0.enums {
|
|
3816
|
-
type ChannelShopifyOrderStateReasonCode = 'placeholder_reason_code';
|
|
3817
|
-
}
|
|
3818
|
-
|
|
3819
|
-
declare namespace io.flow.channel.shopify.v0.models {
|
|
3820
|
-
interface ChannelShopifyOrderState {
|
|
3821
|
-
readonly id: string;
|
|
3822
|
-
readonly shopify_order_summary: io.flow.channel.shopify.v0.models.ChannelShopifyOrderSummary;
|
|
3823
|
-
readonly status: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus;
|
|
3824
|
-
readonly reasons?: io.flow.channel.shopify.v0.models.ChannelShopifyOrderStateReason[];
|
|
3825
|
-
readonly external_order_summary?: io.flow.channel.shopify.v0.models.ExternalOrderSummary;
|
|
3826
|
-
}
|
|
3827
|
-
|
|
3828
|
-
interface ChannelShopifyOrderStateReason {
|
|
3829
|
-
readonly code: io.flow.channel.shopify.v0.enums.ChannelShopifyOrderStateReasonCode;
|
|
3830
|
-
readonly message: string;
|
|
3831
|
-
}
|
|
3832
|
-
|
|
3833
|
-
interface ChannelShopifyOrderSummary {
|
|
3834
|
-
readonly order_id: number;
|
|
3835
|
-
readonly shop_id: number;
|
|
3836
|
-
}
|
|
3837
|
-
|
|
3838
|
-
interface ExternalOrderSummary {
|
|
3839
|
-
readonly id: string;
|
|
3840
|
-
readonly edit_ids: string[];
|
|
3841
|
-
}
|
|
3842
|
-
}
|
|
3843
|
-
|
|
3844
3830
|
declare namespace io.flow.channel.v0.enums {
|
|
3845
3831
|
type ChannelCurrencyCapability =
|
|
3846
3832
|
| 'payment_authorizations'
|
|
@@ -4127,6 +4113,7 @@ declare namespace io.flow.product.v0.models {
|
|
|
4127
4113
|
interface ProductTaxonomyCategory {
|
|
4128
4114
|
readonly name: string;
|
|
4129
4115
|
readonly full_name: string;
|
|
4116
|
+
readonly id?: string;
|
|
4130
4117
|
}
|
|
4131
4118
|
|
|
4132
4119
|
interface ProductTaxonomyData {
|
|
@@ -4321,6 +4308,19 @@ declare namespace io.flow.v0.enums {
|
|
|
4321
4308
|
type ConsumerInvoiceStatus = 'pending' | 'available' | 'invalid';
|
|
4322
4309
|
type CostEstimateSource = 'flow' | 'channel';
|
|
4323
4310
|
type CountryPickerSource = 'experience' | 'destination';
|
|
4311
|
+
type CpscAttribute =
|
|
4312
|
+
| 'certification_id'
|
|
4313
|
+
| 'citation_codes'
|
|
4314
|
+
| 'manufactured_date'
|
|
4315
|
+
| 'manufactured_location'
|
|
4316
|
+
| 'product_test_date'
|
|
4317
|
+
| 'test_lab_name'
|
|
4318
|
+
| 'point_of_contact'
|
|
4319
|
+
| 'certification_version'
|
|
4320
|
+
| 'certification_product_id'
|
|
4321
|
+
| 'certificate_type'
|
|
4322
|
+
| 'lab_type'
|
|
4323
|
+
| 'taxonomy_reference';
|
|
4324
4324
|
type CreditPaymentErrorCode =
|
|
4325
4325
|
| 'generic_error'
|
|
4326
4326
|
| 'invalid_order_number'
|
|
@@ -4785,6 +4785,7 @@ declare namespace io.flow.v0.enums {
|
|
|
4785
4785
|
| 'subsidized'
|
|
4786
4786
|
| 'installment_plan'
|
|
4787
4787
|
| 'cash_on_delivery';
|
|
4788
|
+
type OrderPriceCoefficientType = 'item_shipping';
|
|
4788
4789
|
type OrderPriceDetailComponentKey =
|
|
4789
4790
|
| 'adjustment'
|
|
4790
4791
|
| 'vat_deminimis'
|
|
@@ -4834,6 +4835,7 @@ declare namespace io.flow.v0.enums {
|
|
|
4834
4835
|
| 'tax_and_duties'
|
|
4835
4836
|
| 'product'
|
|
4836
4837
|
| 'mor_tax';
|
|
4838
|
+
type OrderPriceSubsidyType = 'shipping_subsidy';
|
|
4837
4839
|
type OrderRefundSummaryIncludes = 'duties' | 'vat' | 'shipping';
|
|
4838
4840
|
type OrderRefundSummaryPartialCharged =
|
|
4839
4841
|
| 'per_item'
|
|
@@ -5003,7 +5005,7 @@ declare namespace io.flow.v0.enums {
|
|
|
5003
5005
|
| 'adjustment';
|
|
5004
5006
|
type PriceFacetBoundary = 'min' | 'max';
|
|
5005
5007
|
type PricingLevySetting = 'included' | 'displayed' | 'ignored';
|
|
5006
|
-
type PricingType = 'inclusive_pricing';
|
|
5008
|
+
type PricingType = 'inclusive_pricing' | 'inclusive_pricing_with_shipping';
|
|
5007
5009
|
type PromotionTriggerType = 'automatic' | 'order_subtotal';
|
|
5008
5010
|
type ProvinceType =
|
|
5009
5011
|
| 'area'
|
|
@@ -5047,6 +5049,8 @@ declare namespace io.flow.v0.enums {
|
|
|
5047
5049
|
type RefundStatus = 'pending' | 'succeeded' | 'failed' | 'canceled';
|
|
5048
5050
|
type RegionType = 'state' | 'province' | 'jurisdiction';
|
|
5049
5051
|
type RestrictedReviewStatus = 'in_review' | 'reviewed';
|
|
5052
|
+
type RestrictionDecision = 'accept' | 'reject' | 'escalate' | 'review';
|
|
5053
|
+
type RestrictionDecisionReason = 'manual_dispute' | 'operations_decision';
|
|
5050
5054
|
type RestrictionEnvironment = 'sandbox' | 'production' | 'qa';
|
|
5051
5055
|
type ReturnItemStatus = 'returnable' | 'non-returnable';
|
|
5052
5056
|
type ReturnPolicyState = 'current' | 'deleting' | 'updating';
|
|
@@ -5130,7 +5134,7 @@ declare namespace io.flow.v0.enums {
|
|
|
5130
5134
|
type ShopifySyncCheck = 'localized_variants' | 'flow_variant_metafields';
|
|
5131
5135
|
type SortDirection = 'ascending' | 'descending';
|
|
5132
5136
|
type StatementAttachmentType = 'csv' | 'pdf';
|
|
5133
|
-
type StatementStatusCode = 'scheduled' | 'sent' | 'failed';
|
|
5137
|
+
type StatementStatusCode = 'scheduled' | 'sent' | 'failed' | 'paid';
|
|
5134
5138
|
type StoredMethodUsageStep = 'initial' | 'subsequent';
|
|
5135
5139
|
type Strategy = 'range' | 'from' | 'to';
|
|
5136
5140
|
type SubcatalogItemStatus = 'excluded' | 'included' | 'restricted';
|
|
@@ -5215,6 +5219,7 @@ declare namespace io.flow.v0.enums {
|
|
|
5215
5219
|
| 'us_inbound_tax_refund'
|
|
5216
5220
|
| 'order_cancellation_above_de_min'
|
|
5217
5221
|
| 'wyol_shipment_above_de_min'
|
|
5222
|
+
| 'wyol_shipment_lvg'
|
|
5218
5223
|
| 'full_refund_without_shipment'
|
|
5219
5224
|
| 'unfulfilled_order_above_de_min'
|
|
5220
5225
|
| 'order_cancellation_without_capture';
|
|
@@ -5289,7 +5294,8 @@ declare namespace io.flow.v0.enums {
|
|
|
5289
5294
|
| 'b2b_tax_refund'
|
|
5290
5295
|
| 'b2b_fee_mor_tax'
|
|
5291
5296
|
| 'b2b_fee_shipping_tax'
|
|
5292
|
-
| 'flat_rate_label'
|
|
5297
|
+
| 'flat_rate_label'
|
|
5298
|
+
| 'flat_rate_label_subsidy';
|
|
5293
5299
|
type TransferStatus = 'succeeded' | 'canceled';
|
|
5294
5300
|
type TransferType =
|
|
5295
5301
|
| 'payout_to_merchant'
|
|
@@ -6132,6 +6138,42 @@ declare namespace io.flow.v0.models {
|
|
|
6132
6138
|
readonly b2b_credit_memo: io.flow.v0.models.B2BCreditMemo;
|
|
6133
6139
|
}
|
|
6134
6140
|
|
|
6141
|
+
interface B2BCreditNote {
|
|
6142
|
+
readonly id: string;
|
|
6143
|
+
readonly number: string;
|
|
6144
|
+
readonly status: io.flow.v0.enums.ConsumerInvoiceStatus;
|
|
6145
|
+
readonly date: string;
|
|
6146
|
+
readonly key: string;
|
|
6147
|
+
readonly debit_note: io.flow.v0.models.B2BDebitNoteReference;
|
|
6148
|
+
readonly order?: io.flow.v0.models.ConsumerInvoiceOrderSummary;
|
|
6149
|
+
readonly center?: io.flow.v0.models.ConsumerInvoiceCenterReference;
|
|
6150
|
+
readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[];
|
|
6151
|
+
readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[];
|
|
6152
|
+
readonly attributes: Record<string, string>;
|
|
6153
|
+
readonly voids_b2b_debit_note?: boolean;
|
|
6154
|
+
}
|
|
6155
|
+
|
|
6156
|
+
interface B2BDebitNote {
|
|
6157
|
+
readonly id: string;
|
|
6158
|
+
readonly number: string;
|
|
6159
|
+
readonly buyer: io.flow.v0.models.MerchantOfRecordEntity;
|
|
6160
|
+
readonly seller: io.flow.v0.models.MerchantOfRecordEntity;
|
|
6161
|
+
readonly status: io.flow.v0.enums.ConsumerInvoiceStatus;
|
|
6162
|
+
readonly date: string;
|
|
6163
|
+
readonly key: string;
|
|
6164
|
+
readonly order: io.flow.v0.models.ConsumerInvoiceOrderSummary;
|
|
6165
|
+
readonly center?: io.flow.v0.models.ConsumerInvoiceCenterReference;
|
|
6166
|
+
readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[];
|
|
6167
|
+
readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[];
|
|
6168
|
+
readonly attributes: Record<string, string>;
|
|
6169
|
+
}
|
|
6170
|
+
|
|
6171
|
+
interface B2BDebitNoteReference {
|
|
6172
|
+
readonly id: string;
|
|
6173
|
+
readonly key: string;
|
|
6174
|
+
readonly number: string;
|
|
6175
|
+
}
|
|
6176
|
+
|
|
6135
6177
|
interface B2BInvoice {
|
|
6136
6178
|
readonly id: string;
|
|
6137
6179
|
readonly number: string;
|
|
@@ -6212,14 +6254,10 @@ declare namespace io.flow.v0.models {
|
|
|
6212
6254
|
|
|
6213
6255
|
interface BankAccountInfoKor {
|
|
6214
6256
|
readonly discriminator: 'kor';
|
|
6215
|
-
readonly name
|
|
6216
|
-
readonly address?: io.flow.v0.models.Address;
|
|
6217
|
-
readonly phone?: string;
|
|
6218
|
-
readonly email?: string;
|
|
6257
|
+
readonly name: string;
|
|
6219
6258
|
readonly bank_account_number: string;
|
|
6220
|
-
readonly bank_routing_number
|
|
6221
|
-
readonly bank_name
|
|
6222
|
-
readonly bank_address?: io.flow.v0.models.Address;
|
|
6259
|
+
readonly bank_routing_number: string;
|
|
6260
|
+
readonly bank_name: string;
|
|
6223
6261
|
}
|
|
6224
6262
|
|
|
6225
6263
|
interface BankAccountInfoKorV2 {
|
|
@@ -6960,7 +6998,7 @@ declare namespace io.flow.v0.models {
|
|
|
6960
6998
|
readonly shopify_order_summary: io.flow.v0.models.ChannelShopifyOrderSummary;
|
|
6961
6999
|
readonly status: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus;
|
|
6962
7000
|
readonly reasons?: io.flow.v0.models.ChannelShopifyOrderStateReason[];
|
|
6963
|
-
readonly external_order_summary?: io.flow.v0.models.ExternalOrderSummary;
|
|
7001
|
+
readonly external_order_summary?: io.flow.channel.internal.v0.models.ExternalOrderSummary;
|
|
6964
7002
|
}
|
|
6965
7003
|
|
|
6966
7004
|
interface ChannelShopifyOrderStateDeleted {
|
|
@@ -6996,6 +7034,7 @@ declare namespace io.flow.v0.models {
|
|
|
6996
7034
|
readonly settlement: io.flow.v0.unions.Settlement;
|
|
6997
7035
|
readonly attachments: io.flow.v0.models.Attachment[];
|
|
6998
7036
|
readonly created_at: string;
|
|
7037
|
+
readonly period?: io.flow.v0.models.DatetimeRange;
|
|
6999
7038
|
}
|
|
7000
7039
|
|
|
7001
7040
|
interface ChannelStatementDeleted {
|
|
@@ -8619,11 +8658,6 @@ declare namespace io.flow.v0.models {
|
|
|
8619
8658
|
readonly type?: io.flow.v0.enums.CardType;
|
|
8620
8659
|
}
|
|
8621
8660
|
|
|
8622
|
-
interface ExternalOrderSummary {
|
|
8623
|
-
readonly id: string;
|
|
8624
|
-
readonly edit_ids: string[];
|
|
8625
|
-
}
|
|
8626
|
-
|
|
8627
8661
|
interface FeeDeduction {
|
|
8628
8662
|
readonly type: io.flow.v0.enums.FeeDeductionType;
|
|
8629
8663
|
readonly amount: number;
|
|
@@ -9881,6 +9915,7 @@ declare namespace io.flow.v0.models {
|
|
|
9881
9915
|
interface LaneSummary {
|
|
9882
9916
|
readonly id: string;
|
|
9883
9917
|
readonly ratecard: io.flow.v0.models.RatecardSummary;
|
|
9918
|
+
readonly dim_factor: number;
|
|
9884
9919
|
}
|
|
9885
9920
|
|
|
9886
9921
|
interface Language {
|
|
@@ -10839,6 +10874,12 @@ declare namespace io.flow.v0.models {
|
|
|
10839
10874
|
readonly order_placed: io.flow.v0.models.OrderPlacedDetails;
|
|
10840
10875
|
}
|
|
10841
10876
|
|
|
10877
|
+
interface OrderPriceCoefficient {
|
|
10878
|
+
readonly type: io.flow.v0.enums.OrderPriceCoefficientType;
|
|
10879
|
+
readonly value: number;
|
|
10880
|
+
readonly price: io.flow.v0.models.PriceWithBase;
|
|
10881
|
+
}
|
|
10882
|
+
|
|
10842
10883
|
interface OrderPriceDetail {
|
|
10843
10884
|
readonly key: io.flow.v0.enums.OrderPriceDetailKey;
|
|
10844
10885
|
readonly currency: string;
|
|
@@ -10873,6 +10914,11 @@ declare namespace io.flow.v0.models {
|
|
|
10873
10914
|
readonly type: io.flow.v0.enums.OrderPriceFeeType;
|
|
10874
10915
|
}
|
|
10875
10916
|
|
|
10917
|
+
interface OrderPriceSubsidy {
|
|
10918
|
+
readonly type: io.flow.v0.enums.OrderPriceSubsidyType;
|
|
10919
|
+
readonly price: io.flow.v0.models.PriceWithBase;
|
|
10920
|
+
}
|
|
10921
|
+
|
|
10876
10922
|
interface OrderPromotionTrigger {
|
|
10877
10923
|
readonly type: io.flow.v0.enums.PromotionTriggerType;
|
|
10878
10924
|
readonly min?: io.flow.v0.models.Price;
|
|
@@ -11012,6 +11058,11 @@ declare namespace io.flow.v0.models {
|
|
|
11012
11058
|
readonly deactivated_at?: string;
|
|
11013
11059
|
}
|
|
11014
11060
|
|
|
11061
|
+
interface OrderStateRejectionReasonPaymentFraud {
|
|
11062
|
+
readonly discriminator: 'order_state_rejection_reason_payment_fraud';
|
|
11063
|
+
readonly payment_request_id: string;
|
|
11064
|
+
}
|
|
11065
|
+
|
|
11015
11066
|
interface OrderStateRejectionReasonRestrictedItem {
|
|
11016
11067
|
readonly discriminator: 'order_state_rejection_reason_restricted_item';
|
|
11017
11068
|
readonly item_numbers: string[];
|
|
@@ -11124,6 +11175,7 @@ declare namespace io.flow.v0.models {
|
|
|
11124
11175
|
readonly created_at?: string;
|
|
11125
11176
|
readonly status?: io.flow.v0.enums.OrganizationStatus;
|
|
11126
11177
|
readonly type?: io.flow.v0.enums.OrganizationType;
|
|
11178
|
+
readonly channel?: io.flow.v0.models.ChannelReference;
|
|
11127
11179
|
}
|
|
11128
11180
|
|
|
11129
11181
|
interface OrganizationAuthorization {
|
|
@@ -11284,6 +11336,7 @@ declare namespace io.flow.v0.models {
|
|
|
11284
11336
|
interface OrganizationReference {
|
|
11285
11337
|
readonly discriminator: 'organization_reference';
|
|
11286
11338
|
readonly id: string;
|
|
11339
|
+
readonly channel?: io.flow.v0.models.ChannelReference;
|
|
11287
11340
|
}
|
|
11288
11341
|
|
|
11289
11342
|
interface OrganizationSession {
|
|
@@ -11327,6 +11380,7 @@ declare namespace io.flow.v0.models {
|
|
|
11327
11380
|
readonly province?: string;
|
|
11328
11381
|
readonly self_billing_agreement_effective_at: string;
|
|
11329
11382
|
readonly self_billing_agreement_expires_at?: string;
|
|
11383
|
+
readonly legal_name?: string;
|
|
11330
11384
|
}
|
|
11331
11385
|
|
|
11332
11386
|
interface OrganizationToken {
|
|
@@ -12267,6 +12321,11 @@ declare namespace io.flow.v0.models {
|
|
|
12267
12321
|
readonly reason: io.flow.v0.enums.PayoutStatusFailureCode;
|
|
12268
12322
|
}
|
|
12269
12323
|
|
|
12324
|
+
interface PayoutStatusPaid {
|
|
12325
|
+
readonly code: 'paid';
|
|
12326
|
+
readonly timestamp: string;
|
|
12327
|
+
}
|
|
12328
|
+
|
|
12270
12329
|
interface PayoutStatusScheduled {
|
|
12271
12330
|
readonly code: 'scheduled';
|
|
12272
12331
|
readonly placeholder?: string;
|
|
@@ -12735,6 +12794,7 @@ declare namespace io.flow.v0.models {
|
|
|
12735
12794
|
interface ProductTaxonomyCategory {
|
|
12736
12795
|
readonly name: string;
|
|
12737
12796
|
readonly full_name: string;
|
|
12797
|
+
readonly id?: string;
|
|
12738
12798
|
}
|
|
12739
12799
|
|
|
12740
12800
|
interface ProductTaxonomyData {
|
|
@@ -12789,6 +12849,8 @@ declare namespace io.flow.v0.models {
|
|
|
12789
12849
|
readonly total_price: io.flow.v0.models.PriceWithBase;
|
|
12790
12850
|
readonly product_price: io.flow.v0.models.PriceWithBase;
|
|
12791
12851
|
readonly fees: io.flow.v0.models.OrderPriceFee[];
|
|
12852
|
+
readonly coefficients?: io.flow.v0.models.OrderPriceCoefficient[];
|
|
12853
|
+
readonly subsidies?: io.flow.v0.models.OrderPriceSubsidy[];
|
|
12792
12854
|
}
|
|
12793
12855
|
|
|
12794
12856
|
interface Query {
|
|
@@ -12952,6 +13014,7 @@ declare namespace io.flow.v0.models {
|
|
|
12952
13014
|
readonly glbe_shipping_method_id?: string;
|
|
12953
13015
|
readonly glbe_proposition_name?: string;
|
|
12954
13016
|
readonly channel_revenue_share_percentage?: number;
|
|
13017
|
+
readonly channel_id?: string;
|
|
12955
13018
|
}
|
|
12956
13019
|
|
|
12957
13020
|
interface RatecardCarrierSummary {
|
|
@@ -13062,6 +13125,7 @@ declare namespace io.flow.v0.models {
|
|
|
13062
13125
|
readonly glbe_shipping_method_id?: string;
|
|
13063
13126
|
readonly glbe_proposition_name?: string;
|
|
13064
13127
|
readonly channel_revenue_share_percentage?: number;
|
|
13128
|
+
readonly channel_id?: string;
|
|
13065
13129
|
readonly data?: io.flow.v0.models.RatecardData;
|
|
13066
13130
|
}
|
|
13067
13131
|
|
|
@@ -13105,20 +13169,6 @@ declare namespace io.flow.v0.models {
|
|
|
13105
13169
|
readonly distance_unit: io.flow.v0.enums.UnitOfMeasurement;
|
|
13106
13170
|
}
|
|
13107
13171
|
|
|
13108
|
-
interface RatecardLaneImportForm {
|
|
13109
|
-
readonly ratecard_owner: io.flow.v0.enums.RatecardOwner;
|
|
13110
|
-
readonly service: string;
|
|
13111
|
-
readonly currency: string;
|
|
13112
|
-
readonly delivered_duty: io.flow.v0.enums.DeliveredDuty;
|
|
13113
|
-
readonly origin: io.flow.v0.models.Zone;
|
|
13114
|
-
readonly destination: io.flow.v0.models.Zone;
|
|
13115
|
-
readonly shipment_window: io.flow.v0.models.ShipmentWindow;
|
|
13116
|
-
readonly dim_factor: number;
|
|
13117
|
-
readonly weight_unit: io.flow.v0.enums.UnitOfMeasurement;
|
|
13118
|
-
readonly distance_unit: io.flow.v0.enums.UnitOfMeasurement;
|
|
13119
|
-
readonly rates: io.flow.v0.models.RatecardRateForm[];
|
|
13120
|
-
}
|
|
13121
|
-
|
|
13122
13172
|
interface RatecardLaneUpserted {
|
|
13123
13173
|
readonly discriminator: 'ratecard_lane_upserted';
|
|
13124
13174
|
readonly event_id: string;
|
|
@@ -13134,14 +13184,7 @@ declare namespace io.flow.v0.models {
|
|
|
13134
13184
|
readonly ratecard_lane: io.flow.v0.models.RatecardLane;
|
|
13135
13185
|
}
|
|
13136
13186
|
|
|
13137
|
-
interface RatecardLanesImportRequestData {
|
|
13138
|
-
readonly id: string;
|
|
13139
|
-
readonly source_url: string;
|
|
13140
|
-
readonly filename?: string;
|
|
13141
|
-
}
|
|
13142
|
-
|
|
13143
13187
|
interface RatecardRate {
|
|
13144
|
-
readonly id: string;
|
|
13145
13188
|
readonly amount: number;
|
|
13146
13189
|
readonly weight: number;
|
|
13147
13190
|
}
|
|
@@ -13151,13 +13194,6 @@ declare namespace io.flow.v0.models {
|
|
|
13151
13194
|
readonly weight: number;
|
|
13152
13195
|
}
|
|
13153
13196
|
|
|
13154
|
-
interface RatecardRateVersion {
|
|
13155
|
-
readonly id: string;
|
|
13156
|
-
readonly timestamp: string;
|
|
13157
|
-
readonly type: io.flow.v0.enums.ChangeType;
|
|
13158
|
-
readonly ratecard_rate: io.flow.v0.models.RatecardRate;
|
|
13159
|
-
}
|
|
13160
|
-
|
|
13161
13197
|
interface RatecardReference {
|
|
13162
13198
|
readonly id: string;
|
|
13163
13199
|
}
|
|
@@ -13437,6 +13473,18 @@ declare namespace io.flow.v0.models {
|
|
|
13437
13473
|
readonly days_of_week: io.flow.v0.enums.DayOfWeek[];
|
|
13438
13474
|
}
|
|
13439
13475
|
|
|
13476
|
+
interface RestrictionDecisionsForm {
|
|
13477
|
+
readonly organization_id: string;
|
|
13478
|
+
readonly rule_decisions: io.flow.v0.models.RestrictionRuleDecisionForm[];
|
|
13479
|
+
}
|
|
13480
|
+
|
|
13481
|
+
interface RestrictionRuleDecisionForm {
|
|
13482
|
+
readonly product_id: string;
|
|
13483
|
+
readonly reason_code: string;
|
|
13484
|
+
readonly decision: io.flow.v0.enums.RestrictionDecision;
|
|
13485
|
+
readonly decision_reason: io.flow.v0.enums.RestrictionDecisionReason;
|
|
13486
|
+
}
|
|
13487
|
+
|
|
13440
13488
|
interface Return {
|
|
13441
13489
|
readonly id: string;
|
|
13442
13490
|
readonly key: string;
|
|
@@ -13745,6 +13793,7 @@ declare namespace io.flow.v0.models {
|
|
|
13745
13793
|
readonly price: io.flow.v0.models.Money;
|
|
13746
13794
|
readonly description: string;
|
|
13747
13795
|
readonly taxonomy_category: io.flow.v0.models.ProductTaxonomyCategory;
|
|
13796
|
+
readonly inferred_taxonomy_category?: io.flow.v0.models.ProductTaxonomyCategory;
|
|
13748
13797
|
readonly mode: io.flow.v0.enums.SellabilityScreeningMode;
|
|
13749
13798
|
readonly catalog_size?: number;
|
|
13750
13799
|
readonly relative_ranking?: number;
|
|
@@ -14047,6 +14096,7 @@ declare namespace io.flow.v0.models {
|
|
|
14047
14096
|
readonly id?: string;
|
|
14048
14097
|
readonly ratecard: io.flow.v0.models.ShippingLabelRatecardSummary;
|
|
14049
14098
|
readonly weight_break?: number;
|
|
14099
|
+
readonly dim_factor?: number;
|
|
14050
14100
|
}
|
|
14051
14101
|
|
|
14052
14102
|
interface ShippingLabelPackage {
|
|
@@ -14580,6 +14630,7 @@ declare namespace io.flow.v0.models {
|
|
|
14580
14630
|
readonly settlement: io.flow.v0.unions.Settlement;
|
|
14581
14631
|
readonly attachments: io.flow.v0.models.Attachment[];
|
|
14582
14632
|
readonly created_at: string;
|
|
14633
|
+
readonly period?: io.flow.v0.models.DatetimeRange;
|
|
14583
14634
|
}
|
|
14584
14635
|
|
|
14585
14636
|
interface StatementDeleted {
|
|
@@ -14908,6 +14959,7 @@ declare namespace io.flow.v0.models {
|
|
|
14908
14959
|
readonly country: string;
|
|
14909
14960
|
readonly tax_code: string;
|
|
14910
14961
|
readonly province?: string;
|
|
14962
|
+
readonly legal_name?: string;
|
|
14911
14963
|
}
|
|
14912
14964
|
|
|
14913
14965
|
interface TaxRegistrationForm {
|
|
@@ -15404,6 +15456,7 @@ declare namespace io.flow.v0.models {
|
|
|
15404
15456
|
readonly request_method?: io.flow.v0.enums.LabelRequestMethod;
|
|
15405
15457
|
readonly carrier: io.flow.v0.models.TransactionMetadataShippingLabelCarrier;
|
|
15406
15458
|
readonly revenue_share_percentage?: number;
|
|
15459
|
+
readonly actual?: io.flow.v0.models.TransactionMetadataTrueupData;
|
|
15407
15460
|
}
|
|
15408
15461
|
|
|
15409
15462
|
interface TransactionMetadataShippingLabelCarrier {
|
|
@@ -16203,7 +16256,8 @@ declare namespace io.flow.v0.unions {
|
|
|
16203
16256
|
| io.flow.v0.models.OrderStateRejectionReasonRestrictedItem
|
|
16204
16257
|
| io.flow.v0.models.OrderStateRejectionReasonDomesticOrder
|
|
16205
16258
|
| io.flow.v0.models.OrderStateRejectionReasonItemsEmpty
|
|
16206
|
-
| io.flow.v0.models.OrderStateRejectionReasonOrganizationDeactivated
|
|
16259
|
+
| io.flow.v0.models.OrderStateRejectionReasonOrganizationDeactivated
|
|
16260
|
+
| io.flow.v0.models.OrderStateRejectionReasonPaymentFraud;
|
|
16207
16261
|
type PartnerCenterFee =
|
|
16208
16262
|
| io.flow.v0.models.CommercialInvoiceFee
|
|
16209
16263
|
| io.flow.v0.models.InboundCartonFee
|
|
@@ -16292,7 +16346,8 @@ declare namespace io.flow.v0.unions {
|
|
|
16292
16346
|
type PayoutStatus =
|
|
16293
16347
|
| io.flow.v0.models.PayoutStatusScheduled
|
|
16294
16348
|
| io.flow.v0.models.PayoutStatusSent
|
|
16295
|
-
| io.flow.v0.models.PayoutStatusFailed
|
|
16349
|
+
| io.flow.v0.models.PayoutStatusFailed
|
|
16350
|
+
| io.flow.v0.models.PayoutStatusPaid;
|
|
16296
16351
|
type PriceSource =
|
|
16297
16352
|
| io.flow.v0.models.PriceSourcePriceBook
|
|
16298
16353
|
| io.flow.v0.models.PriceSourceCatalog
|
|
@@ -16604,6 +16659,9 @@ export type AvsCode = io.flow.v0.enums.AvsCode;
|
|
|
16604
16659
|
export type B2BCreditMemo = io.flow.v0.models.B2BCreditMemo;
|
|
16605
16660
|
export type B2BCreditMemoDeleted = io.flow.v0.models.B2BCreditMemoDeleted;
|
|
16606
16661
|
export type B2BCreditMemoUpserted = io.flow.v0.models.B2BCreditMemoUpserted;
|
|
16662
|
+
export type B2BCreditNote = io.flow.v0.models.B2BCreditNote;
|
|
16663
|
+
export type B2BDebitNote = io.flow.v0.models.B2BDebitNote;
|
|
16664
|
+
export type B2BDebitNoteReference = io.flow.v0.models.B2BDebitNoteReference;
|
|
16607
16665
|
export type B2BInvoice = io.flow.v0.models.B2BInvoice;
|
|
16608
16666
|
export type B2BInvoiceDeleted = io.flow.v0.models.B2BInvoiceDeleted;
|
|
16609
16667
|
export type B2BInvoiceReference = io.flow.v0.models.B2BInvoiceReference;
|
|
@@ -16868,6 +16926,7 @@ export type CountryPickerSource = io.flow.v0.enums.CountryPickerSource;
|
|
|
16868
16926
|
export type CountryShippingPricing = io.flow.v0.models.CountryShippingPricing;
|
|
16869
16927
|
export type CountryStatus = io.flow.v0.models.CountryStatus;
|
|
16870
16928
|
export type CountryStatusForm = io.flow.v0.models.CountryStatusForm;
|
|
16929
|
+
export type CpscAttribute = io.flow.v0.enums.CpscAttribute;
|
|
16871
16930
|
export type CreditMemo = io.flow.v0.models.CreditMemo;
|
|
16872
16931
|
export type CreditMemoDeleted = io.flow.v0.models.CreditMemoDeleted;
|
|
16873
16932
|
export type CreditMemoForm = io.flow.v0.models.CreditMemoForm;
|
|
@@ -17147,7 +17206,6 @@ export type ExportType = io.flow.v0.unions.ExportType;
|
|
|
17147
17206
|
export type ExportVersion = io.flow.v0.models.ExportVersion;
|
|
17148
17207
|
export type ExporterOfRecord = io.flow.v0.enums.ExporterOfRecord;
|
|
17149
17208
|
export type ExternalCard = io.flow.v0.models.ExternalCard;
|
|
17150
|
-
export type ExternalOrderSummary = io.flow.v0.models.ExternalOrderSummary;
|
|
17151
17209
|
export type FeeDeduction = io.flow.v0.models.FeeDeduction;
|
|
17152
17210
|
export type FeeDeductionType = io.flow.v0.enums.FeeDeductionType;
|
|
17153
17211
|
export type FeeInvoice = io.flow.v0.models.FeeInvoice;
|
|
@@ -17620,6 +17678,9 @@ export type OrderPaymentType = io.flow.v0.enums.OrderPaymentType;
|
|
|
17620
17678
|
export type OrderPlaced = io.flow.v0.models.OrderPlaced;
|
|
17621
17679
|
export type OrderPlacedDetails = io.flow.v0.models.OrderPlacedDetails;
|
|
17622
17680
|
export type OrderPlacedV2 = io.flow.v0.models.OrderPlacedV2;
|
|
17681
|
+
export type OrderPriceCoefficient = io.flow.v0.models.OrderPriceCoefficient;
|
|
17682
|
+
export type OrderPriceCoefficientType =
|
|
17683
|
+
io.flow.v0.enums.OrderPriceCoefficientType;
|
|
17623
17684
|
export type OrderPriceDetail = io.flow.v0.models.OrderPriceDetail;
|
|
17624
17685
|
export type OrderPriceDetailBreakdown =
|
|
17625
17686
|
io.flow.v0.models.OrderPriceDetailBreakdown;
|
|
@@ -17630,6 +17691,8 @@ export type OrderPriceDetailComponentKey =
|
|
|
17630
17691
|
export type OrderPriceDetailKey = io.flow.v0.enums.OrderPriceDetailKey;
|
|
17631
17692
|
export type OrderPriceFee = io.flow.v0.models.OrderPriceFee;
|
|
17632
17693
|
export type OrderPriceFeeType = io.flow.v0.enums.OrderPriceFeeType;
|
|
17694
|
+
export type OrderPriceSubsidy = io.flow.v0.models.OrderPriceSubsidy;
|
|
17695
|
+
export type OrderPriceSubsidyType = io.flow.v0.enums.OrderPriceSubsidyType;
|
|
17633
17696
|
export type OrderPromotion = io.flow.v0.unions.OrderPromotion;
|
|
17634
17697
|
export type OrderPromotionForm = io.flow.v0.unions.OrderPromotionForm;
|
|
17635
17698
|
export type OrderPromotionTrigger = io.flow.v0.models.OrderPromotionTrigger;
|
|
@@ -17669,6 +17732,8 @@ export type OrderStateRejectionReasonItemsEmpty =
|
|
|
17669
17732
|
io.flow.v0.models.OrderStateRejectionReasonItemsEmpty;
|
|
17670
17733
|
export type OrderStateRejectionReasonOrganizationDeactivated =
|
|
17671
17734
|
io.flow.v0.models.OrderStateRejectionReasonOrganizationDeactivated;
|
|
17735
|
+
export type OrderStateRejectionReasonPaymentFraud =
|
|
17736
|
+
io.flow.v0.models.OrderStateRejectionReasonPaymentFraud;
|
|
17672
17737
|
export type OrderStateRejectionReasonRestrictedItem =
|
|
17673
17738
|
io.flow.v0.models.OrderStateRejectionReasonRestrictedItem;
|
|
17674
17739
|
export type OrderStateStatus = io.flow.v0.enums.OrderStateStatus;
|
|
@@ -18001,6 +18066,7 @@ export type PayoutReference = io.flow.v0.models.PayoutReference;
|
|
|
18001
18066
|
export type PayoutStatus = io.flow.v0.unions.PayoutStatus;
|
|
18002
18067
|
export type PayoutStatusFailed = io.flow.v0.models.PayoutStatusFailed;
|
|
18003
18068
|
export type PayoutStatusFailureCode = io.flow.v0.enums.PayoutStatusFailureCode;
|
|
18069
|
+
export type PayoutStatusPaid = io.flow.v0.models.PayoutStatusPaid;
|
|
18004
18070
|
export type PayoutStatusScheduled = io.flow.v0.models.PayoutStatusScheduled;
|
|
18005
18071
|
export type PayoutStatusSent = io.flow.v0.models.PayoutStatusSent;
|
|
18006
18072
|
export type PayoutTransaction = io.flow.v0.models.PayoutTransaction;
|
|
@@ -18147,15 +18213,11 @@ export type RatecardForm = io.flow.v0.models.RatecardForm;
|
|
|
18147
18213
|
export type RatecardLane = io.flow.v0.models.RatecardLane;
|
|
18148
18214
|
export type RatecardLaneDeleted = io.flow.v0.models.RatecardLaneDeleted;
|
|
18149
18215
|
export type RatecardLaneForm = io.flow.v0.models.RatecardLaneForm;
|
|
18150
|
-
export type RatecardLaneImportForm = io.flow.v0.models.RatecardLaneImportForm;
|
|
18151
18216
|
export type RatecardLaneUpserted = io.flow.v0.models.RatecardLaneUpserted;
|
|
18152
18217
|
export type RatecardLaneVersion = io.flow.v0.models.RatecardLaneVersion;
|
|
18153
|
-
export type RatecardLanesImportRequestData =
|
|
18154
|
-
io.flow.v0.models.RatecardLanesImportRequestData;
|
|
18155
18218
|
export type RatecardOwner = io.flow.v0.enums.RatecardOwner;
|
|
18156
18219
|
export type RatecardRate = io.flow.v0.models.RatecardRate;
|
|
18157
18220
|
export type RatecardRateForm = io.flow.v0.models.RatecardRateForm;
|
|
18158
|
-
export type RatecardRateVersion = io.flow.v0.models.RatecardRateVersion;
|
|
18159
18221
|
export type RatecardReference = io.flow.v0.models.RatecardReference;
|
|
18160
18222
|
export type RatecardRegionReference = io.flow.v0.models.RatecardRegionReference;
|
|
18161
18223
|
export type RatecardServiceSummary = io.flow.v0.models.RatecardServiceSummary;
|
|
@@ -18206,7 +18268,14 @@ export type RepeatMonthly = io.flow.v0.models.RepeatMonthly;
|
|
|
18206
18268
|
export type RepeatSchedule = io.flow.v0.unions.RepeatSchedule;
|
|
18207
18269
|
export type RepeatWeekly = io.flow.v0.models.RepeatWeekly;
|
|
18208
18270
|
export type RestrictedReviewStatus = io.flow.v0.enums.RestrictedReviewStatus;
|
|
18271
|
+
export type RestrictionDecision = io.flow.v0.enums.RestrictionDecision;
|
|
18272
|
+
export type RestrictionDecisionReason =
|
|
18273
|
+
io.flow.v0.enums.RestrictionDecisionReason;
|
|
18274
|
+
export type RestrictionDecisionsForm =
|
|
18275
|
+
io.flow.v0.models.RestrictionDecisionsForm;
|
|
18209
18276
|
export type RestrictionEnvironment = io.flow.v0.enums.RestrictionEnvironment;
|
|
18277
|
+
export type RestrictionRuleDecisionForm =
|
|
18278
|
+
io.flow.v0.models.RestrictionRuleDecisionForm;
|
|
18210
18279
|
export type Return = io.flow.v0.models.Return;
|
|
18211
18280
|
export type ReturnForm = io.flow.v0.models.ReturnForm;
|
|
18212
18281
|
export type ReturnItemReference = io.flow.v0.models.ReturnItemReference;
|