@flowio/types 11.24.135 → 11.24.137
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 +487 -87
- package/dist/api.d.ts +131 -32
- package/package.json +1 -1
- package/src/api-internal.ts +634 -117
- package/src/api.ts +165 -31
package/src/api.ts
CHANGED
|
@@ -2136,6 +2136,10 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2136
2136
|
readonly count: number;
|
|
2137
2137
|
}
|
|
2138
2138
|
|
|
2139
|
+
interface GraphqlInferredProductCategory {
|
|
2140
|
+
readonly category?: io.flow.shopify.external.v0.models.GraphqlTaxonomyCategory;
|
|
2141
|
+
}
|
|
2142
|
+
|
|
2139
2143
|
interface GraphqlInventoryItem {
|
|
2140
2144
|
readonly id: string;
|
|
2141
2145
|
readonly tracked: boolean;
|
|
@@ -2177,7 +2181,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2177
2181
|
readonly id: string;
|
|
2178
2182
|
readonly legacyResourceId: string;
|
|
2179
2183
|
readonly handle: string;
|
|
2180
|
-
readonly variants
|
|
2184
|
+
readonly variants?: io.flow.shopify.external.v0.models.GraphqlProductVariant[];
|
|
2181
2185
|
readonly images: io.flow.shopify.external.v0.models.GraphqlProductImage[];
|
|
2182
2186
|
readonly title: string;
|
|
2183
2187
|
readonly vendor?: string;
|
|
@@ -2192,6 +2196,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2192
2196
|
readonly updatedAt: string;
|
|
2193
2197
|
readonly hasVariantsThatRequiresComponents?: boolean;
|
|
2194
2198
|
readonly category?: io.flow.shopify.external.v0.models.GraphqlTaxonomyCategory;
|
|
2199
|
+
readonly inferredProductCategory?: io.flow.shopify.external.v0.models.GraphqlInferredProductCategory;
|
|
2195
2200
|
readonly metafields?: io.flow.shopify.external.v0.models.GraphqlMetafield[];
|
|
2196
2201
|
}
|
|
2197
2202
|
|
|
@@ -2323,7 +2328,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2323
2328
|
interface Product {
|
|
2324
2329
|
readonly id: number;
|
|
2325
2330
|
readonly handle: string;
|
|
2326
|
-
readonly variants
|
|
2331
|
+
readonly variants?: io.flow.shopify.external.v0.models.ProductVariant[];
|
|
2327
2332
|
readonly images: io.flow.shopify.external.v0.models.ProductImage[];
|
|
2328
2333
|
readonly title: string;
|
|
2329
2334
|
readonly vendor?: string;
|
|
@@ -2523,7 +2528,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2523
2528
|
}
|
|
2524
2529
|
|
|
2525
2530
|
interface ShopifyClientDetail {
|
|
2526
|
-
readonly accept_language
|
|
2531
|
+
readonly accept_language?: boolean;
|
|
2527
2532
|
readonly browser_height?: number;
|
|
2528
2533
|
readonly browser_ip?: string;
|
|
2529
2534
|
readonly browser_width?: number;
|
|
@@ -2544,7 +2549,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2544
2549
|
readonly tax_exempt: boolean;
|
|
2545
2550
|
readonly verified_email: boolean;
|
|
2546
2551
|
readonly state: io.flow.shopify.external.v0.enums.ShopifyCustomerState;
|
|
2547
|
-
readonly accepts_marketing
|
|
2552
|
+
readonly accepts_marketing?: boolean;
|
|
2548
2553
|
readonly default_address?: any /*object*/;
|
|
2549
2554
|
readonly email?: string;
|
|
2550
2555
|
readonly first_name?: string;
|
|
@@ -2623,7 +2628,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2623
2628
|
readonly requires_shipping: boolean;
|
|
2624
2629
|
readonly currency?: string;
|
|
2625
2630
|
readonly items: io.flow.shopify.external.v0.models.ShopifyExternalCartItem[];
|
|
2626
|
-
readonly cart_level_discount_applications
|
|
2631
|
+
readonly cart_level_discount_applications?: io.flow.shopify.external.v0.models.ShopifyDiscountApplication[];
|
|
2627
2632
|
}
|
|
2628
2633
|
|
|
2629
2634
|
interface ShopifyExternalCartItem {
|
|
@@ -2638,7 +2643,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2638
2643
|
readonly original_line_price: number;
|
|
2639
2644
|
readonly total_discount: number;
|
|
2640
2645
|
readonly discounted_price: number;
|
|
2641
|
-
readonly discounts
|
|
2646
|
+
readonly discounts?: io.flow.shopify.external.v0.models.ShopifyCartItemDiscount[];
|
|
2642
2647
|
readonly taxable: boolean;
|
|
2643
2648
|
readonly quantity: number;
|
|
2644
2649
|
readonly sku?: string;
|
|
@@ -2656,8 +2661,8 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2656
2661
|
readonly product_description?: string;
|
|
2657
2662
|
readonly product_type: string;
|
|
2658
2663
|
readonly variant_title?: string;
|
|
2659
|
-
readonly variant_options
|
|
2660
|
-
readonly line_level_discount_allocations
|
|
2664
|
+
readonly variant_options?: string[];
|
|
2665
|
+
readonly line_level_discount_allocations?: io.flow.shopify.external.v0.models.ShopifyLineLevelDiscountAllocation[];
|
|
2661
2666
|
}
|
|
2662
2667
|
|
|
2663
2668
|
interface ShopifyFulfillment {
|
|
@@ -2908,7 +2913,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2908
2913
|
readonly gateway?: string;
|
|
2909
2914
|
readonly transactions?: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
|
|
2910
2915
|
readonly send_receipt?: boolean;
|
|
2911
|
-
readonly metafields
|
|
2916
|
+
readonly metafields?: io.flow.shopify.external.v0.models.MetafieldForm[];
|
|
2912
2917
|
}
|
|
2913
2918
|
|
|
2914
2919
|
interface ShopifyOrderCount {
|
|
@@ -3051,7 +3056,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
3051
3056
|
|
|
3052
3057
|
interface ShopifyWebhookOrder {
|
|
3053
3058
|
readonly id?: number;
|
|
3054
|
-
readonly line_items
|
|
3059
|
+
readonly line_items?: io.flow.shopify.external.v0.models.ShopifyWebhookOrderLineItem[];
|
|
3055
3060
|
}
|
|
3056
3061
|
|
|
3057
3062
|
interface ShopifyWebhookOrderCancelled {
|
|
@@ -3142,7 +3147,8 @@ declare namespace io.flow.channel.internal.v0.enums {
|
|
|
3142
3147
|
| 'non_matching_currencies'
|
|
3143
3148
|
| 'unsupported_order_edit'
|
|
3144
3149
|
| 'order_allocation_duties_mismatch'
|
|
3145
|
-
| 'order_missing'
|
|
3150
|
+
| 'order_missing'
|
|
3151
|
+
| 'organization_deactivated';
|
|
3146
3152
|
type ChannelOrderAcceptanceStatus =
|
|
3147
3153
|
| 'accepted'
|
|
3148
3154
|
| 'rejected'
|
|
@@ -3258,6 +3264,14 @@ declare namespace io.flow.channel.internal.v0.models {
|
|
|
3258
3264
|
readonly cleartext: string;
|
|
3259
3265
|
}
|
|
3260
3266
|
|
|
3267
|
+
interface ChannelShopStatistics {
|
|
3268
|
+
readonly id: string;
|
|
3269
|
+
readonly channel: io.flow.common.v0.models.ChannelReference;
|
|
3270
|
+
readonly initial_catalog_synced_at?: string;
|
|
3271
|
+
readonly catalog_sync_duration?: number;
|
|
3272
|
+
readonly catalog_products_count?: number;
|
|
3273
|
+
}
|
|
3274
|
+
|
|
3261
3275
|
interface FlowChannelOrganization {
|
|
3262
3276
|
readonly placeholder?: string;
|
|
3263
3277
|
}
|
|
@@ -3430,7 +3444,7 @@ declare namespace io.flow.common.v0.models {
|
|
|
3430
3444
|
|
|
3431
3445
|
interface DiscountForm {
|
|
3432
3446
|
readonly offer: io.flow.common.v0.unions.DiscountOffer;
|
|
3433
|
-
readonly target
|
|
3447
|
+
readonly target?: io.flow.common.v0.enums.DiscountTarget;
|
|
3434
3448
|
readonly label?: string;
|
|
3435
3449
|
}
|
|
3436
3450
|
|
|
@@ -3632,7 +3646,7 @@ declare namespace io.flow.common.v0.models {
|
|
|
3632
3646
|
readonly parent?: io.flow.common.v0.models.OrganizationReference;
|
|
3633
3647
|
readonly defaults?: io.flow.common.v0.models.OrganizationDefaults;
|
|
3634
3648
|
readonly created_at?: string;
|
|
3635
|
-
readonly status
|
|
3649
|
+
readonly status?: io.flow.common.v0.enums.OrganizationStatus;
|
|
3636
3650
|
readonly type?: io.flow.common.v0.enums.OrganizationType;
|
|
3637
3651
|
}
|
|
3638
3652
|
|
|
@@ -3981,8 +3995,10 @@ declare namespace io.flow.apple.pay.v0.models {
|
|
|
3981
3995
|
|
|
3982
3996
|
declare namespace io.flow.tech.onboarding.playground.v0.enums {
|
|
3983
3997
|
type AmruthaItemType = 'physical' | 'digital';
|
|
3998
|
+
type BojanaItemType = 'physical' | 'digital';
|
|
3984
3999
|
type ChenglinItemType = 'physical' | 'digital';
|
|
3985
4000
|
type GabrielItemType = 'physical' | 'digital';
|
|
4001
|
+
type RaveenaItemType = 'physical' | 'digital';
|
|
3986
4002
|
}
|
|
3987
4003
|
|
|
3988
4004
|
declare namespace io.flow.tech.onboarding.playground.v0.models {
|
|
@@ -4003,6 +4019,23 @@ declare namespace io.flow.tech.onboarding.playground.v0.models {
|
|
|
4003
4019
|
readonly added_on: string;
|
|
4004
4020
|
}
|
|
4005
4021
|
|
|
4022
|
+
interface BojanaItem {
|
|
4023
|
+
readonly id: string;
|
|
4024
|
+
readonly number: string;
|
|
4025
|
+
readonly amount: io.flow.common.v0.models.Price;
|
|
4026
|
+
readonly description?: string;
|
|
4027
|
+
readonly type: io.flow.tech.onboarding.playground.v0.enums.BojanaItemType;
|
|
4028
|
+
readonly added_on: string;
|
|
4029
|
+
}
|
|
4030
|
+
|
|
4031
|
+
interface BojanaItemForm {
|
|
4032
|
+
readonly number: string;
|
|
4033
|
+
readonly amount: io.flow.common.v0.models.Price;
|
|
4034
|
+
readonly description?: string;
|
|
4035
|
+
readonly type: io.flow.tech.onboarding.playground.v0.enums.BojanaItemType;
|
|
4036
|
+
readonly added_on: string;
|
|
4037
|
+
}
|
|
4038
|
+
|
|
4006
4039
|
interface ChenglinItem {
|
|
4007
4040
|
readonly id: string;
|
|
4008
4041
|
readonly number: string;
|
|
@@ -4037,6 +4070,23 @@ declare namespace io.flow.tech.onboarding.playground.v0.models {
|
|
|
4037
4070
|
readonly added_on: string;
|
|
4038
4071
|
}
|
|
4039
4072
|
|
|
4073
|
+
interface RaveenaItem {
|
|
4074
|
+
readonly id: string;
|
|
4075
|
+
readonly number: string;
|
|
4076
|
+
readonly amount: io.flow.common.v0.models.Price;
|
|
4077
|
+
readonly description?: string;
|
|
4078
|
+
readonly type: io.flow.tech.onboarding.playground.v0.enums.RaveenaItemType;
|
|
4079
|
+
readonly added_on: string;
|
|
4080
|
+
}
|
|
4081
|
+
|
|
4082
|
+
interface RaveenaItemForm {
|
|
4083
|
+
readonly number: string;
|
|
4084
|
+
readonly amount: io.flow.common.v0.models.Price;
|
|
4085
|
+
readonly description?: string;
|
|
4086
|
+
readonly type: io.flow.tech.onboarding.playground.v0.enums.RaveenaItemType;
|
|
4087
|
+
readonly added_on: string;
|
|
4088
|
+
}
|
|
4089
|
+
|
|
4040
4090
|
interface TechOnboardingDescription {
|
|
4041
4091
|
readonly description: string;
|
|
4042
4092
|
}
|
|
@@ -4047,6 +4097,7 @@ declare namespace io.flow.product.v0.models {
|
|
|
4047
4097
|
readonly organization_id: string;
|
|
4048
4098
|
readonly number: string;
|
|
4049
4099
|
readonly taxonomy_category?: io.flow.product.v0.models.ProductTaxonomyCategory;
|
|
4100
|
+
readonly inferred_taxonomy_category?: io.flow.product.v0.models.ProductTaxonomyCategory;
|
|
4050
4101
|
readonly taxonomy_data?: io.flow.product.v0.models.ProductTaxonomyData[];
|
|
4051
4102
|
readonly item_numbers: string[];
|
|
4052
4103
|
readonly highest_value_item_number?: string;
|
|
@@ -4374,6 +4425,8 @@ declare namespace io.flow.v0.enums {
|
|
|
4374
4425
|
| 'consumer_invoice_deleted'
|
|
4375
4426
|
| 'credit_memo_upserted'
|
|
4376
4427
|
| 'credit_memo_deleted'
|
|
4428
|
+
| 'fee_invoice_upserted'
|
|
4429
|
+
| 'fee_invoice_deleted'
|
|
4377
4430
|
| 'crossdock_shipment_upserted'
|
|
4378
4431
|
| 'rate_deleted'
|
|
4379
4432
|
| 'rate_upserted'
|
|
@@ -4514,6 +4567,11 @@ declare namespace io.flow.v0.enums {
|
|
|
4514
4567
|
| 'negative_balance_guarantee'
|
|
4515
4568
|
| 'sp'
|
|
4516
4569
|
| 'rev_share';
|
|
4570
|
+
type FeeInvoiceType =
|
|
4571
|
+
| 'mor_invoice'
|
|
4572
|
+
| 'label_invoice'
|
|
4573
|
+
| 'mor_credit_memo'
|
|
4574
|
+
| 'label_credit_memo';
|
|
4517
4575
|
type FlowBehavior = 'view_consumer_data';
|
|
4518
4576
|
type FlowEntity =
|
|
4519
4577
|
| 'flow-usa'
|
|
@@ -4521,6 +4579,7 @@ declare namespace io.flow.v0.enums {
|
|
|
4521
4579
|
| 'flow-can'
|
|
4522
4580
|
| 'ge-usa'
|
|
4523
4581
|
| 'ge-can'
|
|
4582
|
+
| 'ge-can-ship'
|
|
4524
4583
|
| 'ge-gbr'
|
|
4525
4584
|
| 'ge-irl';
|
|
4526
4585
|
type FlowRole =
|
|
@@ -4754,7 +4813,8 @@ declare namespace io.flow.v0.enums {
|
|
|
4754
4813
|
| 'tax'
|
|
4755
4814
|
| 'duties'
|
|
4756
4815
|
| 'tax_and_duties'
|
|
4757
|
-
| 'product'
|
|
4816
|
+
| 'product'
|
|
4817
|
+
| 'mor_tax';
|
|
4758
4818
|
type OrderRefundSummaryIncludes = 'duties' | 'vat' | 'shipping';
|
|
4759
4819
|
type OrderRefundSummaryPartialCharged =
|
|
4760
4820
|
| 'per_item'
|
|
@@ -5027,6 +5087,7 @@ declare namespace io.flow.v0.enums {
|
|
|
5027
5087
|
type ShipmentIntegrationType = 'direct' | 'information' | 'preadvice';
|
|
5028
5088
|
type ShipmentRecipient = 'customer' | 'return' | 'crossdock';
|
|
5029
5089
|
type ShippingConfigurationType = 'default' | 'variant';
|
|
5090
|
+
type ShippingCostGuarantee = 'guaranteed' | 'non_guaranteed';
|
|
5030
5091
|
type ShippingLabelErrorCode =
|
|
5031
5092
|
| 'generic_error'
|
|
5032
5093
|
| 'cancelled_order'
|
|
@@ -5097,6 +5158,11 @@ declare namespace io.flow.v0.enums {
|
|
|
5097
5158
|
| 'Pending_006'
|
|
5098
5159
|
| 'Expired_001';
|
|
5099
5160
|
type SurchargeResponsibleParty = 'organization' | 'customer';
|
|
5161
|
+
type TaxAndDutyInclusivitySetting =
|
|
5162
|
+
| 'duty_exclusive_tax_exclusive'
|
|
5163
|
+
| 'duty_inclusive_tax_exclusive'
|
|
5164
|
+
| 'duty_exclusive_tax_inclusive'
|
|
5165
|
+
| 'duty_inclusive_tax_inclusive';
|
|
5100
5166
|
type TaxApplicability = 'none' | 'all';
|
|
5101
5167
|
type TaxDutyCalculatorValidationErrorCode =
|
|
5102
5168
|
| 'generic_error'
|
|
@@ -5202,7 +5268,9 @@ declare namespace io.flow.v0.enums {
|
|
|
5202
5268
|
| 'merchant_fee'
|
|
5203
5269
|
| 'b2b_tax'
|
|
5204
5270
|
| 'b2b_tax_refund'
|
|
5205
|
-
| 'b2b_fee_mor_tax'
|
|
5271
|
+
| 'b2b_fee_mor_tax'
|
|
5272
|
+
| 'b2b_fee_shipping_tax'
|
|
5273
|
+
| 'flat_rate_label';
|
|
5206
5274
|
type TransferStatus = 'succeeded' | 'canceled';
|
|
5207
5275
|
type TransferType =
|
|
5208
5276
|
| 'payout_to_merchant'
|
|
@@ -6135,6 +6203,14 @@ declare namespace io.flow.v0.models {
|
|
|
6135
6203
|
readonly bank_address?: io.flow.v0.models.Address;
|
|
6136
6204
|
}
|
|
6137
6205
|
|
|
6206
|
+
interface BankAccountInfoKorV2 {
|
|
6207
|
+
readonly discriminator: 'kor_v2';
|
|
6208
|
+
readonly name: string;
|
|
6209
|
+
readonly bank_account_number: string;
|
|
6210
|
+
readonly bank_routing_number: string;
|
|
6211
|
+
readonly bank_name: string;
|
|
6212
|
+
}
|
|
6213
|
+
|
|
6138
6214
|
interface BankAccountInfoUsa {
|
|
6139
6215
|
readonly discriminator: 'usa';
|
|
6140
6216
|
readonly routing_number: string;
|
|
@@ -7119,7 +7195,6 @@ declare namespace io.flow.v0.models {
|
|
|
7119
7195
|
readonly default_country_of_origin?: string;
|
|
7120
7196
|
readonly rate_card: string;
|
|
7121
7197
|
readonly shop?: io.flow.v0.models.Shop;
|
|
7122
|
-
readonly settlement_currency?: string;
|
|
7123
7198
|
readonly created_at: string;
|
|
7124
7199
|
readonly last_year_xborder_gmv?: io.flow.v0.models.Money;
|
|
7125
7200
|
readonly last_month_xborder_gmv?: io.flow.v0.models.Money;
|
|
@@ -7148,7 +7223,6 @@ declare namespace io.flow.v0.models {
|
|
|
7148
7223
|
readonly monthly_average_number_transactions?: number;
|
|
7149
7224
|
readonly default_country_of_origin?: string;
|
|
7150
7225
|
readonly shop?: io.flow.v0.models.Shop;
|
|
7151
|
-
readonly settlement_currency?: string;
|
|
7152
7226
|
readonly rate_card?: string;
|
|
7153
7227
|
readonly last_year_xborder_gmv?: io.flow.v0.models.Money;
|
|
7154
7228
|
readonly last_month_xborder_gmv?: io.flow.v0.models.Money;
|
|
@@ -8537,6 +8611,37 @@ declare namespace io.flow.v0.models {
|
|
|
8537
8611
|
readonly description?: string;
|
|
8538
8612
|
}
|
|
8539
8613
|
|
|
8614
|
+
interface FeeInvoice {
|
|
8615
|
+
readonly id: string;
|
|
8616
|
+
readonly number: string;
|
|
8617
|
+
readonly invoice_type: io.flow.v0.enums.FeeInvoiceType;
|
|
8618
|
+
readonly buyer: io.flow.v0.models.MerchantOfRecordEntity;
|
|
8619
|
+
readonly seller: io.flow.v0.models.MerchantOfRecordEntity;
|
|
8620
|
+
readonly date: string;
|
|
8621
|
+
readonly b2b_tax_transaction_id: string;
|
|
8622
|
+
readonly order_number: string;
|
|
8623
|
+
readonly tax: io.flow.v0.models.Money;
|
|
8624
|
+
readonly tax_lines?: io.flow.v0.models.InvoiceTaxLine[];
|
|
8625
|
+
readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[];
|
|
8626
|
+
readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[];
|
|
8627
|
+
}
|
|
8628
|
+
|
|
8629
|
+
interface FeeInvoiceDeleted {
|
|
8630
|
+
readonly discriminator: 'fee_invoice_deleted';
|
|
8631
|
+
readonly event_id: string;
|
|
8632
|
+
readonly timestamp: string;
|
|
8633
|
+
readonly organization: string;
|
|
8634
|
+
readonly id: string;
|
|
8635
|
+
}
|
|
8636
|
+
|
|
8637
|
+
interface FeeInvoiceUpserted {
|
|
8638
|
+
readonly discriminator: 'fee_invoice_upserted';
|
|
8639
|
+
readonly event_id: string;
|
|
8640
|
+
readonly timestamp: string;
|
|
8641
|
+
readonly organization: string;
|
|
8642
|
+
readonly fee_invoice: io.flow.v0.models.FeeInvoice;
|
|
8643
|
+
}
|
|
8644
|
+
|
|
8540
8645
|
interface FeeWeight {
|
|
8541
8646
|
readonly weight: number;
|
|
8542
8647
|
readonly unit: io.flow.v0.enums.UnitOfMeasurement;
|
|
@@ -9798,6 +9903,7 @@ declare namespace io.flow.v0.models {
|
|
|
9798
9903
|
interface LineItemForm {
|
|
9799
9904
|
readonly number: string;
|
|
9800
9905
|
readonly quantity: number;
|
|
9906
|
+
readonly line_item_identifier?: string;
|
|
9801
9907
|
readonly shipment_estimate?: io.flow.v0.models.DatetimeRange;
|
|
9802
9908
|
readonly price?: io.flow.v0.models.Money;
|
|
9803
9909
|
readonly attributes?: Record<string, string>;
|
|
@@ -10881,6 +10987,12 @@ declare namespace io.flow.v0.models {
|
|
|
10881
10987
|
readonly line_items: string[];
|
|
10882
10988
|
}
|
|
10883
10989
|
|
|
10990
|
+
interface OrderStateRejectionReasonOrganizationDeactivated {
|
|
10991
|
+
readonly discriminator: 'order_state_rejection_reason_organization_deactivated';
|
|
10992
|
+
readonly deactivation_requested_at: string;
|
|
10993
|
+
readonly deactivated_at?: string;
|
|
10994
|
+
}
|
|
10995
|
+
|
|
10884
10996
|
interface OrderStateRejectionReasonRestrictedItem {
|
|
10885
10997
|
readonly discriminator: 'order_state_rejection_reason_restricted_item';
|
|
10886
10998
|
readonly item_numbers: string[];
|
|
@@ -12489,6 +12601,7 @@ declare namespace io.flow.v0.models {
|
|
|
12489
12601
|
readonly organization_id: string;
|
|
12490
12602
|
readonly number: string;
|
|
12491
12603
|
readonly taxonomy_category?: io.flow.v0.models.ProductTaxonomyCategory;
|
|
12604
|
+
readonly inferred_taxonomy_category?: io.flow.v0.models.ProductTaxonomyCategory;
|
|
12492
12605
|
readonly taxonomy_data?: io.flow.v0.models.ProductTaxonomyData[];
|
|
12493
12606
|
readonly item_numbers: string[];
|
|
12494
12607
|
readonly highest_value_item_number?: string;
|
|
@@ -12812,6 +12925,7 @@ declare namespace io.flow.v0.models {
|
|
|
12812
12925
|
readonly rate_level_key?: string;
|
|
12813
12926
|
readonly direction: io.flow.v0.enums.Direction;
|
|
12814
12927
|
readonly effective_at: string;
|
|
12928
|
+
readonly effective_until?: string;
|
|
12815
12929
|
readonly origination_zones: io.flow.v0.models.Zone[];
|
|
12816
12930
|
readonly service: io.flow.v0.models.RatecardServiceSummary;
|
|
12817
12931
|
readonly published_at?: string;
|
|
@@ -12840,6 +12954,10 @@ declare namespace io.flow.v0.models {
|
|
|
12840
12954
|
readonly ratecard: io.flow.v0.models.Ratecard;
|
|
12841
12955
|
}
|
|
12842
12956
|
|
|
12957
|
+
interface RatecardEffectiveUntilForm {
|
|
12958
|
+
readonly effective_until?: string;
|
|
12959
|
+
}
|
|
12960
|
+
|
|
12843
12961
|
interface RatecardEstimateForm {
|
|
12844
12962
|
readonly origin_address: io.flow.v0.models.Address;
|
|
12845
12963
|
readonly destination_address: io.flow.v0.models.Address;
|
|
@@ -12858,13 +12976,6 @@ declare namespace io.flow.v0.models {
|
|
|
12858
12976
|
readonly commercial_invoice_mode?: io.flow.v0.enums.CommercialInvoiceMode;
|
|
12859
12977
|
}
|
|
12860
12978
|
|
|
12861
|
-
interface RatecardEstimateSummaryForm {
|
|
12862
|
-
readonly origin?: string;
|
|
12863
|
-
readonly destination?: string;
|
|
12864
|
-
readonly service?: string;
|
|
12865
|
-
readonly center_key?: string;
|
|
12866
|
-
}
|
|
12867
|
-
|
|
12868
12979
|
interface RatecardEstimateV1 {
|
|
12869
12980
|
readonly discriminator: 'ratecard_estimate_v1';
|
|
12870
12981
|
readonly service: io.flow.v0.models.RatecardServiceSummary;
|
|
@@ -13883,6 +13994,7 @@ declare namespace io.flow.v0.models {
|
|
|
13883
13994
|
readonly created_at?: string;
|
|
13884
13995
|
readonly updated_at?: string;
|
|
13885
13996
|
readonly direction?: io.flow.v0.enums.Direction;
|
|
13997
|
+
readonly shipping_cost_guarantee?: io.flow.v0.enums.ShippingCostGuarantee;
|
|
13886
13998
|
}
|
|
13887
13999
|
|
|
13888
14000
|
interface ShippingLabelDocument {
|
|
@@ -14053,6 +14165,7 @@ declare namespace io.flow.v0.models {
|
|
|
14053
14165
|
}
|
|
14054
14166
|
|
|
14055
14167
|
interface ShippingRateEstimateRequest {
|
|
14168
|
+
readonly carrier_id: string;
|
|
14056
14169
|
readonly origin_address: io.flow.v0.models.Address;
|
|
14057
14170
|
readonly destination_address: io.flow.v0.models.Address;
|
|
14058
14171
|
readonly package_dimensions: io.flow.v0.models.Dimension;
|
|
@@ -14290,7 +14403,6 @@ declare namespace io.flow.v0.models {
|
|
|
14290
14403
|
readonly activated_at?: string;
|
|
14291
14404
|
readonly status_updated_at?: string;
|
|
14292
14405
|
readonly shop?: io.flow.v0.models.Shop;
|
|
14293
|
-
readonly settlement_currency?: string;
|
|
14294
14406
|
readonly last_year_xborder_gmv?: io.flow.v0.models.Money;
|
|
14295
14407
|
readonly last_month_xborder_gmv?: io.flow.v0.models.Money;
|
|
14296
14408
|
readonly average_order_value?: io.flow.v0.models.Money;
|
|
@@ -14324,7 +14436,6 @@ declare namespace io.flow.v0.models {
|
|
|
14324
14436
|
readonly ratecard_id?: string;
|
|
14325
14437
|
readonly rate_card: string;
|
|
14326
14438
|
readonly shop?: io.flow.v0.models.Shop;
|
|
14327
|
-
readonly settlement_currency?: string;
|
|
14328
14439
|
readonly last_year_xborder_gmv?: io.flow.v0.models.Money;
|
|
14329
14440
|
readonly last_month_xborder_gmv?: io.flow.v0.models.Money;
|
|
14330
14441
|
readonly average_order_value?: io.flow.v0.models.Money;
|
|
@@ -15229,6 +15340,12 @@ declare namespace io.flow.v0.models {
|
|
|
15229
15340
|
readonly id: string;
|
|
15230
15341
|
}
|
|
15231
15342
|
|
|
15343
|
+
interface TransactionMetadataFlatRateLabel {
|
|
15344
|
+
readonly discriminator: 'flat_rate_label';
|
|
15345
|
+
readonly flat_rate?: number;
|
|
15346
|
+
readonly coefficient?: number;
|
|
15347
|
+
}
|
|
15348
|
+
|
|
15232
15349
|
interface TransactionMetadataManual {
|
|
15233
15350
|
readonly discriminator: 'manual';
|
|
15234
15351
|
readonly description: string;
|
|
@@ -15724,7 +15841,8 @@ declare namespace io.flow.v0.unions {
|
|
|
15724
15841
|
| io.flow.v0.models.BankAccountInfoGbr
|
|
15725
15842
|
| io.flow.v0.models.BankAccountInfoFra
|
|
15726
15843
|
| io.flow.v0.models.BankAccountInfoIta
|
|
15727
|
-
| io.flow.v0.models.BankAccountInfoKor
|
|
15844
|
+
| io.flow.v0.models.BankAccountInfoKor
|
|
15845
|
+
| io.flow.v0.models.BankAccountInfoKorV2;
|
|
15728
15846
|
type BrowserActionConfiguration =
|
|
15729
15847
|
io.flow.v0.models.CardBrowserActionConfiguration;
|
|
15730
15848
|
type CardAuthorizationActionResult =
|
|
@@ -15824,6 +15942,8 @@ declare namespace io.flow.v0.unions {
|
|
|
15824
15942
|
| io.flow.v0.models.ConsumerInvoiceDeleted
|
|
15825
15943
|
| io.flow.v0.models.CreditMemoUpserted
|
|
15826
15944
|
| io.flow.v0.models.CreditMemoDeleted
|
|
15945
|
+
| io.flow.v0.models.FeeInvoiceUpserted
|
|
15946
|
+
| io.flow.v0.models.FeeInvoiceDeleted
|
|
15827
15947
|
| io.flow.v0.models.CrossdockShipmentUpserted
|
|
15828
15948
|
| io.flow.v0.models.RateDeleted
|
|
15829
15949
|
| io.flow.v0.models.RateUpserted
|
|
@@ -16063,7 +16183,8 @@ declare namespace io.flow.v0.unions {
|
|
|
16063
16183
|
type OrderStateRejectionReason =
|
|
16064
16184
|
| io.flow.v0.models.OrderStateRejectionReasonRestrictedItem
|
|
16065
16185
|
| io.flow.v0.models.OrderStateRejectionReasonDomesticOrder
|
|
16066
|
-
| io.flow.v0.models.OrderStateRejectionReasonItemsEmpty
|
|
16186
|
+
| io.flow.v0.models.OrderStateRejectionReasonItemsEmpty
|
|
16187
|
+
| io.flow.v0.models.OrderStateRejectionReasonOrganizationDeactivated;
|
|
16067
16188
|
type PartnerCenterFee =
|
|
16068
16189
|
| io.flow.v0.models.CommercialInvoiceFee
|
|
16069
16190
|
| io.flow.v0.models.InboundCartonFee
|
|
@@ -16280,7 +16401,8 @@ declare namespace io.flow.v0.unions {
|
|
|
16280
16401
|
| io.flow.v0.models.TransactionMetadataFailedPayout
|
|
16281
16402
|
| io.flow.v0.models.TransactionMetadataPaymentTransaction
|
|
16282
16403
|
| io.flow.v0.models.TransactionMetadataTaxDuty
|
|
16283
|
-
| io.flow.v0.models.TransactionMetadataMerchantFee
|
|
16404
|
+
| io.flow.v0.models.TransactionMetadataMerchantFee
|
|
16405
|
+
| io.flow.v0.models.TransactionMetadataFlatRateLabel;
|
|
16284
16406
|
type TransferReference =
|
|
16285
16407
|
| io.flow.v0.models.CaptureReference
|
|
16286
16408
|
| io.flow.v0.models.RefundReference
|
|
@@ -16477,6 +16599,7 @@ export type BankAccountInfoFra = io.flow.v0.models.BankAccountInfoFra;
|
|
|
16477
16599
|
export type BankAccountInfoGbr = io.flow.v0.models.BankAccountInfoGbr;
|
|
16478
16600
|
export type BankAccountInfoIta = io.flow.v0.models.BankAccountInfoIta;
|
|
16479
16601
|
export type BankAccountInfoKor = io.flow.v0.models.BankAccountInfoKor;
|
|
16602
|
+
export type BankAccountInfoKorV2 = io.flow.v0.models.BankAccountInfoKorV2;
|
|
16480
16603
|
export type BankAccountInfoUsa = io.flow.v0.models.BankAccountInfoUsa;
|
|
16481
16604
|
export type BankAccountReference = io.flow.v0.models.BankAccountReference;
|
|
16482
16605
|
export type BankAccountSummary = io.flow.v0.models.BankAccountSummary;
|
|
@@ -17008,6 +17131,10 @@ export type ExternalCard = io.flow.v0.models.ExternalCard;
|
|
|
17008
17131
|
export type ExternalOrderSummary = io.flow.v0.models.ExternalOrderSummary;
|
|
17009
17132
|
export type FeeDeduction = io.flow.v0.models.FeeDeduction;
|
|
17010
17133
|
export type FeeDeductionType = io.flow.v0.enums.FeeDeductionType;
|
|
17134
|
+
export type FeeInvoice = io.flow.v0.models.FeeInvoice;
|
|
17135
|
+
export type FeeInvoiceDeleted = io.flow.v0.models.FeeInvoiceDeleted;
|
|
17136
|
+
export type FeeInvoiceType = io.flow.v0.enums.FeeInvoiceType;
|
|
17137
|
+
export type FeeInvoiceUpserted = io.flow.v0.models.FeeInvoiceUpserted;
|
|
17011
17138
|
export type FeeWeight = io.flow.v0.models.FeeWeight;
|
|
17012
17139
|
export type FieldValidationMax = io.flow.v0.models.FieldValidationMax;
|
|
17013
17140
|
export type FieldValidationMin = io.flow.v0.models.FieldValidationMin;
|
|
@@ -17521,6 +17648,8 @@ export type OrderStateRejectionReasonDomesticOrder =
|
|
|
17521
17648
|
io.flow.v0.models.OrderStateRejectionReasonDomesticOrder;
|
|
17522
17649
|
export type OrderStateRejectionReasonItemsEmpty =
|
|
17523
17650
|
io.flow.v0.models.OrderStateRejectionReasonItemsEmpty;
|
|
17651
|
+
export type OrderStateRejectionReasonOrganizationDeactivated =
|
|
17652
|
+
io.flow.v0.models.OrderStateRejectionReasonOrganizationDeactivated;
|
|
17524
17653
|
export type OrderStateRejectionReasonRestrictedItem =
|
|
17525
17654
|
io.flow.v0.models.OrderStateRejectionReasonRestrictedItem;
|
|
17526
17655
|
export type OrderStateStatus = io.flow.v0.enums.OrderStateStatus;
|
|
@@ -17985,10 +18114,10 @@ export type Ratecard = io.flow.v0.models.Ratecard;
|
|
|
17985
18114
|
export type RatecardCarrierSummary = io.flow.v0.models.RatecardCarrierSummary;
|
|
17986
18115
|
export type RatecardData = io.flow.v0.models.RatecardData;
|
|
17987
18116
|
export type RatecardDeleted = io.flow.v0.models.RatecardDeleted;
|
|
18117
|
+
export type RatecardEffectiveUntilForm =
|
|
18118
|
+
io.flow.v0.models.RatecardEffectiveUntilForm;
|
|
17988
18119
|
export type RatecardEstimate = io.flow.v0.unions.RatecardEstimate;
|
|
17989
18120
|
export type RatecardEstimateForm = io.flow.v0.models.RatecardEstimateForm;
|
|
17990
|
-
export type RatecardEstimateSummaryForm =
|
|
17991
|
-
io.flow.v0.models.RatecardEstimateSummaryForm;
|
|
17992
18121
|
export type RatecardEstimateV1 = io.flow.v0.models.RatecardEstimateV1;
|
|
17993
18122
|
export type RatecardEstimateV2 = io.flow.v0.models.RatecardEstimateV2;
|
|
17994
18123
|
export type RatecardEstimateV3 = io.flow.v0.models.RatecardEstimateV3;
|
|
@@ -18200,6 +18329,7 @@ export type ShippingConfigurationUpserted =
|
|
|
18200
18329
|
io.flow.v0.models.ShippingConfigurationUpserted;
|
|
18201
18330
|
export type ShippingConfigurationVersion =
|
|
18202
18331
|
io.flow.v0.models.ShippingConfigurationVersion;
|
|
18332
|
+
export type ShippingCostGuarantee = io.flow.v0.enums.ShippingCostGuarantee;
|
|
18203
18333
|
export type ShippingLabel = io.flow.v0.models.ShippingLabel;
|
|
18204
18334
|
export type ShippingLabelDocument = io.flow.v0.models.ShippingLabelDocument;
|
|
18205
18335
|
export type ShippingLabelError = io.flow.v0.models.ShippingLabelError;
|
|
@@ -18363,6 +18493,8 @@ export type TariffCodes = io.flow.v0.models.TariffCodes;
|
|
|
18363
18493
|
export type TariffCodesDeleted = io.flow.v0.models.TariffCodesDeleted;
|
|
18364
18494
|
export type TariffCodesUpserted = io.flow.v0.models.TariffCodesUpserted;
|
|
18365
18495
|
export type Tax = io.flow.v0.models.Tax;
|
|
18496
|
+
export type TaxAndDutyInclusivitySetting =
|
|
18497
|
+
io.flow.v0.enums.TaxAndDutyInclusivitySetting;
|
|
18366
18498
|
export type TaxApplicability = io.flow.v0.enums.TaxApplicability;
|
|
18367
18499
|
export type TaxBreakdown = io.flow.v0.models.TaxBreakdown;
|
|
18368
18500
|
export type TaxDutyCalculatorValidationError =
|
|
@@ -18485,6 +18617,8 @@ export type TransactionMetadataFailedPayout =
|
|
|
18485
18617
|
io.flow.v0.models.TransactionMetadataFailedPayout;
|
|
18486
18618
|
export type TransactionMetadataFailedPayoutReference =
|
|
18487
18619
|
io.flow.v0.models.TransactionMetadataFailedPayoutReference;
|
|
18620
|
+
export type TransactionMetadataFlatRateLabel =
|
|
18621
|
+
io.flow.v0.models.TransactionMetadataFlatRateLabel;
|
|
18488
18622
|
export type TransactionMetadataManual =
|
|
18489
18623
|
io.flow.v0.models.TransactionMetadataManual;
|
|
18490
18624
|
export type TransactionMetadataMerchantFee =
|