@flowio/types 11.24.74 → 11.24.76
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 +401 -55
- package/dist/api.d.ts +9 -1
- package/package.json +2 -2
- package/src/api-internal.ts +594 -101
- package/src/api.ts +10 -1
package/src/api-internal.ts
CHANGED
|
@@ -105,78 +105,6 @@ declare namespace io.flow.RESERVED_WORD_return.v0.unions {
|
|
|
105
105
|
| io.flow.RESERVED_WORD_return.v0.models.ReturnSourceExternalVendor;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
declare namespace io.flow.units.v0.enums {
|
|
109
|
-
type UnitOfLength = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'meter';
|
|
110
|
-
type UnitOfVolume = 'cubic_inch' | 'cubic_meter';
|
|
111
|
-
type UnitOfWeight = 'gram' | 'kilogram' | 'ounce' | 'pound';
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
declare namespace io.flow.order.price.v0.enums {
|
|
115
|
-
type OrderPriceDetailComponentKey =
|
|
116
|
-
| 'adjustment'
|
|
117
|
-
| 'vat_deminimis'
|
|
118
|
-
| 'duty_deminimis'
|
|
119
|
-
| 'duties_item_price'
|
|
120
|
-
| 'duties_freight'
|
|
121
|
-
| 'duties_insurance'
|
|
122
|
-
| 'vat_item_price'
|
|
123
|
-
| 'vat_freight'
|
|
124
|
-
| 'vat_insurance'
|
|
125
|
-
| 'vat_duties_item_price'
|
|
126
|
-
| 'vat_duties_freight'
|
|
127
|
-
| 'vat_duties_insurance'
|
|
128
|
-
| 'item_price'
|
|
129
|
-
| 'item_discount'
|
|
130
|
-
| 'rounding'
|
|
131
|
-
| 'insurance'
|
|
132
|
-
| 'shipping'
|
|
133
|
-
| 'shipping_discount'
|
|
134
|
-
| 'order_discount'
|
|
135
|
-
| 'subtotal_percent_sales_margin'
|
|
136
|
-
| 'subtotal_vat_percent_sales_margin'
|
|
137
|
-
| 'subtotal_duty_percent_sales_margin'
|
|
138
|
-
| 'vat_subsidy'
|
|
139
|
-
| 'duty_subsidy'
|
|
140
|
-
| 'remote_area_surcharge'
|
|
141
|
-
| 'fuel_surcharge'
|
|
142
|
-
| 'emergency_situation_surcharge'
|
|
143
|
-
| 'peak_surcharge'
|
|
144
|
-
| 'duties_taxes_paid_surcharge';
|
|
145
|
-
type OrderPriceDetailKey =
|
|
146
|
-
| 'adjustment'
|
|
147
|
-
| 'subtotal'
|
|
148
|
-
| 'vat'
|
|
149
|
-
| 'duty'
|
|
150
|
-
| 'shipping'
|
|
151
|
-
| 'insurance'
|
|
152
|
-
| 'discount'
|
|
153
|
-
| 'surcharges';
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
declare namespace io.flow.order.price.v0.models {
|
|
157
|
-
interface OrderPriceDetail {
|
|
158
|
-
readonly key: io.flow.order.price.v0.enums.OrderPriceDetailKey;
|
|
159
|
-
readonly currency: string;
|
|
160
|
-
readonly amount: number;
|
|
161
|
-
readonly label: string;
|
|
162
|
-
readonly base: io.flow.common.v0.models.Price;
|
|
163
|
-
readonly components: io.flow.order.price.v0.models.OrderPriceDetailComponent[];
|
|
164
|
-
readonly name?: string;
|
|
165
|
-
readonly rate?: number;
|
|
166
|
-
readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
|
|
167
|
-
readonly rate_label?: string;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
interface OrderPriceDetailComponent {
|
|
171
|
-
readonly key: io.flow.order.price.v0.enums.OrderPriceDetailComponentKey;
|
|
172
|
-
readonly currency: string;
|
|
173
|
-
readonly amount: number;
|
|
174
|
-
readonly label: string;
|
|
175
|
-
readonly base: io.flow.common.v0.models.Price;
|
|
176
|
-
readonly name?: string;
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
|
|
180
108
|
declare namespace io.flow.error.v0.enums {
|
|
181
109
|
type GenericErrorCode = 'generic_error' | 'client_error' | 'server_error';
|
|
182
110
|
}
|
|
@@ -2482,7 +2410,8 @@ declare namespace io.flow.billing.csv.v0.models {
|
|
|
2482
2410
|
}
|
|
2483
2411
|
|
|
2484
2412
|
interface BillingCsvTransactionMetadataManual {
|
|
2485
|
-
readonly original
|
|
2413
|
+
readonly original?: io.flow.billing.v0.models.TransactionMetadataOriginalTransaction;
|
|
2414
|
+
readonly url?: string;
|
|
2486
2415
|
}
|
|
2487
2416
|
|
|
2488
2417
|
interface BillingCsvTransactionMetadataShippingLabel {
|
|
@@ -3193,6 +3122,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3193
3122
|
readonly status: io.flow.stripe.v0.enums.PaymentIntentStatus;
|
|
3194
3123
|
readonly transfer_data?: io.flow.stripe.v0.models.TransferData;
|
|
3195
3124
|
readonly transfer_group?: string;
|
|
3125
|
+
readonly shipping?: io.flow.stripe.v0.models.PaymentIntentShipping;
|
|
3196
3126
|
}
|
|
3197
3127
|
|
|
3198
3128
|
interface PaymentIntentCancellationForm {
|
|
@@ -3249,6 +3179,13 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3249
3179
|
readonly statement_descriptor_suffix?: string;
|
|
3250
3180
|
readonly transfer_data?: io.flow.stripe.v0.models.TransferData;
|
|
3251
3181
|
readonly transfer_group?: string;
|
|
3182
|
+
readonly shipping?: io.flow.stripe.v0.models.PaymentIntentShipping;
|
|
3183
|
+
}
|
|
3184
|
+
|
|
3185
|
+
interface PaymentIntentShipping {
|
|
3186
|
+
readonly address: io.flow.stripe.v0.models.Address;
|
|
3187
|
+
readonly name: string;
|
|
3188
|
+
readonly phone?: string;
|
|
3252
3189
|
}
|
|
3253
3190
|
|
|
3254
3191
|
interface PaymentIntentUpdateForm {
|
|
@@ -5213,6 +5150,241 @@ declare namespace io.flow.brickftp.v0.unions {
|
|
|
5213
5150
|
| io.flow.brickftp.v0.models.FileSummary;
|
|
5214
5151
|
}
|
|
5215
5152
|
|
|
5153
|
+
declare namespace io.flow.units.v0.enums {
|
|
5154
|
+
type UnitOfLength = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'meter';
|
|
5155
|
+
type UnitOfVolume = 'cubic_inch' | 'cubic_meter';
|
|
5156
|
+
type UnitOfWeight = 'gram' | 'kilogram' | 'ounce' | 'pound';
|
|
5157
|
+
}
|
|
5158
|
+
|
|
5159
|
+
declare namespace io.flow.shopify.markets.internal.v0.enums {
|
|
5160
|
+
type AnyDangerousGoods = 'yes' | 'no' | 'i_dont_know';
|
|
5161
|
+
type ApiCallReferenceId =
|
|
5162
|
+
| 'duty_rates_data_event'
|
|
5163
|
+
| 'integration_test'
|
|
5164
|
+
| 'unit_test';
|
|
5165
|
+
type ChannelOrderFulfillmentStatusCode =
|
|
5166
|
+
| 'unfulfilled'
|
|
5167
|
+
| 'fulfilled'
|
|
5168
|
+
| 'partial'
|
|
5169
|
+
| 'cancelled';
|
|
5170
|
+
type ProductStatus = 'active' | 'archived' | 'draft';
|
|
5171
|
+
type ShopifyMarketsDangerousGoods =
|
|
5172
|
+
| 'aerosols'
|
|
5173
|
+
| 'air_bag_inflators_or_seat_belt_pretensioners'
|
|
5174
|
+
| 'alcoholic_beverages_containing_more_than_24_percent_alcohol_by_volume'
|
|
5175
|
+
| 'batteries'
|
|
5176
|
+
| 'carbon_dioxide_or_dry_ice'
|
|
5177
|
+
| 'corrosives'
|
|
5178
|
+
| 'cannabidiol_products'
|
|
5179
|
+
| 'cologne_or_perfume'
|
|
5180
|
+
| 'currency_or_gift_cards_or_monetary_instruments'
|
|
5181
|
+
| 'exotic_leather_goods'
|
|
5182
|
+
| 'environmental_waste'
|
|
5183
|
+
| 'explosives_or_ammunition'
|
|
5184
|
+
| 'flammable_liquids'
|
|
5185
|
+
| 'gases'
|
|
5186
|
+
| 'hazardous_or_combustible_materials'
|
|
5187
|
+
| 'infectious_or_biological_substances'
|
|
5188
|
+
| 'knives'
|
|
5189
|
+
| 'matches_or_lighter_or_lighter_refills'
|
|
5190
|
+
| 'nail_polish'
|
|
5191
|
+
| 'oxidizing_materials_or_organic_peroxides'
|
|
5192
|
+
| 'pornography'
|
|
5193
|
+
| 'prohibited_carriage'
|
|
5194
|
+
| 'pesticides_or_toxic_herbicides_or_insecticides_or_poisonous_toxic_substances';
|
|
5195
|
+
type ShopifyMarketsHtsNumberAvailable = 'yes' | 'no' | 'i_dont_know';
|
|
5196
|
+
type ShopifyMarketsTradeSector =
|
|
5197
|
+
| 'apparel_and_accessories'
|
|
5198
|
+
| 'beauty_and_cosmetics'
|
|
5199
|
+
| 'electronics'
|
|
5200
|
+
| 'food_or_perishables'
|
|
5201
|
+
| 'jewellery_and_watches'
|
|
5202
|
+
| 'paper_and_art'
|
|
5203
|
+
| 'sports_and_fitness'
|
|
5204
|
+
| 'toys_hobbies_gifts'
|
|
5205
|
+
| 'other';
|
|
5206
|
+
}
|
|
5207
|
+
|
|
5208
|
+
declare namespace io.flow.shopify.markets.internal.v0.models {
|
|
5209
|
+
interface CatalogPublicationSyncValidationError {
|
|
5210
|
+
readonly message: string;
|
|
5211
|
+
readonly reason: string;
|
|
5212
|
+
readonly next_action_from: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
|
|
5213
|
+
}
|
|
5214
|
+
|
|
5215
|
+
interface ChannelOrderSummary {
|
|
5216
|
+
readonly id: string;
|
|
5217
|
+
readonly organization: io.flow.common.v0.models.OrganizationReference;
|
|
5218
|
+
readonly external_order_reference: string;
|
|
5219
|
+
readonly order_number: string;
|
|
5220
|
+
readonly fulfullment_details: io.flow.shopify.markets.internal.v0.models.ChannelOrderSummaryFulfillmentDetails;
|
|
5221
|
+
}
|
|
5222
|
+
|
|
5223
|
+
interface ChannelOrderSummaryFulfillmentDetails {
|
|
5224
|
+
readonly fulfillment_status: io.flow.shopify.markets.internal.v0.enums.ChannelOrderFulfillmentStatusCode;
|
|
5225
|
+
readonly timestamp: string;
|
|
5226
|
+
}
|
|
5227
|
+
|
|
5228
|
+
interface FlowShopValidationError {
|
|
5229
|
+
readonly message: string;
|
|
5230
|
+
readonly reason: string;
|
|
5231
|
+
readonly next_action_from: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
|
|
5232
|
+
}
|
|
5233
|
+
|
|
5234
|
+
interface GenericValidationError {
|
|
5235
|
+
readonly message: string;
|
|
5236
|
+
readonly reason: string;
|
|
5237
|
+
readonly next_action_from: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
|
|
5238
|
+
}
|
|
5239
|
+
|
|
5240
|
+
interface MarketsOrder {
|
|
5241
|
+
readonly shopify_order: io.flow.shopify.markets.v0.models.ShopifyOrder;
|
|
5242
|
+
readonly flow_authorization?: io.flow.payment.v0.unions.Authorization;
|
|
5243
|
+
}
|
|
5244
|
+
|
|
5245
|
+
interface OrderValidationError {
|
|
5246
|
+
readonly message: string;
|
|
5247
|
+
readonly reason: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceRejectionReason;
|
|
5248
|
+
readonly action?: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceErrorAction;
|
|
5249
|
+
readonly next_action_from: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
|
|
5250
|
+
}
|
|
5251
|
+
|
|
5252
|
+
interface ProductRestrictionResultValidationError {
|
|
5253
|
+
readonly message: string;
|
|
5254
|
+
readonly reason: string;
|
|
5255
|
+
readonly next_action_from: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
|
|
5256
|
+
}
|
|
5257
|
+
|
|
5258
|
+
interface ShippingLane {
|
|
5259
|
+
readonly origin: string;
|
|
5260
|
+
readonly destination: string;
|
|
5261
|
+
}
|
|
5262
|
+
|
|
5263
|
+
interface ShopifyMarketsDiscrepancy {
|
|
5264
|
+
readonly organization_id: string;
|
|
5265
|
+
readonly count: number;
|
|
5266
|
+
}
|
|
5267
|
+
|
|
5268
|
+
interface ShopifyMarketsDiscrepancyData {
|
|
5269
|
+
readonly total_count: number;
|
|
5270
|
+
readonly discrepancies: io.flow.shopify.markets.internal.v0.models.ShopifyMarketsDiscrepancy[];
|
|
5271
|
+
}
|
|
5272
|
+
|
|
5273
|
+
interface ShopifyMarketsIncorporationCountry {
|
|
5274
|
+
readonly country: string;
|
|
5275
|
+
readonly state?: string;
|
|
5276
|
+
readonly province?: string;
|
|
5277
|
+
readonly jurisdiction?: string;
|
|
5278
|
+
}
|
|
5279
|
+
|
|
5280
|
+
interface ShopifyMarketsInternalOrderMetrics {
|
|
5281
|
+
readonly total_order_count: number;
|
|
5282
|
+
}
|
|
5283
|
+
|
|
5284
|
+
interface ShopifyMarketsOrdersMetrics {
|
|
5285
|
+
readonly id: string;
|
|
5286
|
+
readonly range: io.flow.common.v0.models.DatetimeRange;
|
|
5287
|
+
readonly shopify: io.flow.shopify.markets.internal.v0.models.ShopifyMarketsShopifyOrderMetrics;
|
|
5288
|
+
readonly internal: io.flow.shopify.markets.internal.v0.models.ShopifyMarketsInternalOrderMetrics;
|
|
5289
|
+
readonly discrepancy_data: io.flow.shopify.markets.internal.v0.models.ShopifyMarketsDiscrepancyData;
|
|
5290
|
+
}
|
|
5291
|
+
|
|
5292
|
+
interface ShopifyMarketsQueuedRecord {
|
|
5293
|
+
readonly id: string;
|
|
5294
|
+
readonly type: string;
|
|
5295
|
+
readonly type_id: string;
|
|
5296
|
+
readonly organization_id: string;
|
|
5297
|
+
readonly environment?: string;
|
|
5298
|
+
readonly num_attempts: number;
|
|
5299
|
+
readonly next_attempt_at: string;
|
|
5300
|
+
readonly errors?: string[];
|
|
5301
|
+
readonly stacktrace?: string;
|
|
5302
|
+
}
|
|
5303
|
+
|
|
5304
|
+
interface ShopifyMarketsShop {
|
|
5305
|
+
readonly id: string;
|
|
5306
|
+
readonly shopify_shop_id?: string;
|
|
5307
|
+
readonly channel: io.flow.common.v0.models.ChannelReference;
|
|
5308
|
+
readonly domain: string;
|
|
5309
|
+
readonly myshopify_domain: string;
|
|
5310
|
+
readonly organization_id: string;
|
|
5311
|
+
readonly shop: string;
|
|
5312
|
+
readonly created_at: string;
|
|
5313
|
+
readonly shared_secret_masked: string;
|
|
5314
|
+
readonly api_key_masked?: string;
|
|
5315
|
+
readonly api_password_masked?: string;
|
|
5316
|
+
readonly access_token_masked?: string;
|
|
5317
|
+
}
|
|
5318
|
+
|
|
5319
|
+
interface ShopifyMarketsShopForm {
|
|
5320
|
+
readonly shop: string;
|
|
5321
|
+
readonly domain: string;
|
|
5322
|
+
readonly myshopify_domain: string;
|
|
5323
|
+
readonly shared_secret: string;
|
|
5324
|
+
readonly api_key?: string;
|
|
5325
|
+
readonly api_password?: string;
|
|
5326
|
+
readonly access_token?: string;
|
|
5327
|
+
}
|
|
5328
|
+
|
|
5329
|
+
interface ShopifyMarketsShopSummary {
|
|
5330
|
+
readonly organization: io.flow.common.v0.models.OrganizationSummary;
|
|
5331
|
+
readonly channel: io.flow.common.v0.models.ChannelReference;
|
|
5332
|
+
}
|
|
5333
|
+
|
|
5334
|
+
interface ShopifyMarketsShopifyOrderMetrics {
|
|
5335
|
+
readonly total_order_count: number;
|
|
5336
|
+
}
|
|
5337
|
+
|
|
5338
|
+
interface ShopifyMarketsSubsidiaryCompany {
|
|
5339
|
+
readonly legal_name?: string;
|
|
5340
|
+
readonly incorporation_country?: io.flow.shopify.markets.internal.v0.models.ShopifyMarketsIncorporationCountry;
|
|
5341
|
+
}
|
|
5342
|
+
|
|
5343
|
+
interface ShopifyMarketsSync {
|
|
5344
|
+
readonly force_resync?: boolean;
|
|
5345
|
+
}
|
|
5346
|
+
|
|
5347
|
+
interface ShopifyMarketsWebhookRegistration {
|
|
5348
|
+
readonly id: string;
|
|
5349
|
+
readonly response: io.flow.shopify.markets.v0.models.ShopifyWebhookResponse;
|
|
5350
|
+
}
|
|
5351
|
+
|
|
5352
|
+
interface ShopifyOrderCancelForm {
|
|
5353
|
+
readonly note?: string;
|
|
5354
|
+
}
|
|
5355
|
+
|
|
5356
|
+
interface ShopifyOrderCancelResponse {
|
|
5357
|
+
readonly shopify_order_cancellation_id: string;
|
|
5358
|
+
readonly shopify_order_id: number;
|
|
5359
|
+
readonly message: string;
|
|
5360
|
+
}
|
|
5361
|
+
|
|
5362
|
+
interface ShopifyOrderDestinationForm {
|
|
5363
|
+
readonly destination: io.flow.common.v0.models.Address;
|
|
5364
|
+
}
|
|
5365
|
+
|
|
5366
|
+
interface ShopifyShopStatistics {
|
|
5367
|
+
readonly id: string;
|
|
5368
|
+
readonly initial_catalog_synced_at?: string;
|
|
5369
|
+
readonly catalog_sync_duration?: number;
|
|
5370
|
+
readonly catalog_products_count?: number;
|
|
5371
|
+
}
|
|
5372
|
+
|
|
5373
|
+
interface ThirdPartyLogisticsPartner {
|
|
5374
|
+
readonly warehouse_address: io.flow.common.v0.models.BillingAddress;
|
|
5375
|
+
readonly warehouse_url?: string;
|
|
5376
|
+
}
|
|
5377
|
+
|
|
5378
|
+
interface ThirdPartyLogisticsPickUpTimeWindow {
|
|
5379
|
+
readonly from: string;
|
|
5380
|
+
readonly to: string;
|
|
5381
|
+
}
|
|
5382
|
+
|
|
5383
|
+
interface Webhook {
|
|
5384
|
+
readonly placeholder?: any /*json*/;
|
|
5385
|
+
}
|
|
5386
|
+
}
|
|
5387
|
+
|
|
5216
5388
|
declare namespace io.flow.consumer.invoice.v0.enums {
|
|
5217
5389
|
type B2BInvoiceType = 'self_bill_invoice' | 'invoice';
|
|
5218
5390
|
type ConsumerInvoiceCustomerType =
|
|
@@ -8789,6 +8961,159 @@ declare namespace io.flow.payment.gateway.v0.unions {
|
|
|
8789
8961
|
| io.flow.payment.gateway.v0.models.AdyenV3ChallengeToken;
|
|
8790
8962
|
}
|
|
8791
8963
|
|
|
8964
|
+
declare namespace io.flow.order.price.v0.enums {
|
|
8965
|
+
type OrderPriceDetailComponentKey =
|
|
8966
|
+
| 'adjustment'
|
|
8967
|
+
| 'vat_deminimis'
|
|
8968
|
+
| 'duty_deminimis'
|
|
8969
|
+
| 'duties_item_price'
|
|
8970
|
+
| 'duties_freight'
|
|
8971
|
+
| 'duties_insurance'
|
|
8972
|
+
| 'vat_item_price'
|
|
8973
|
+
| 'vat_freight'
|
|
8974
|
+
| 'vat_insurance'
|
|
8975
|
+
| 'vat_duties_item_price'
|
|
8976
|
+
| 'vat_duties_freight'
|
|
8977
|
+
| 'vat_duties_insurance'
|
|
8978
|
+
| 'item_price'
|
|
8979
|
+
| 'item_discount'
|
|
8980
|
+
| 'rounding'
|
|
8981
|
+
| 'insurance'
|
|
8982
|
+
| 'shipping'
|
|
8983
|
+
| 'shipping_discount'
|
|
8984
|
+
| 'order_discount'
|
|
8985
|
+
| 'subtotal_percent_sales_margin'
|
|
8986
|
+
| 'subtotal_vat_percent_sales_margin'
|
|
8987
|
+
| 'subtotal_duty_percent_sales_margin'
|
|
8988
|
+
| 'vat_subsidy'
|
|
8989
|
+
| 'duty_subsidy'
|
|
8990
|
+
| 'remote_area_surcharge'
|
|
8991
|
+
| 'fuel_surcharge'
|
|
8992
|
+
| 'emergency_situation_surcharge'
|
|
8993
|
+
| 'peak_surcharge'
|
|
8994
|
+
| 'duties_taxes_paid_surcharge';
|
|
8995
|
+
type OrderPriceDetailKey =
|
|
8996
|
+
| 'adjustment'
|
|
8997
|
+
| 'subtotal'
|
|
8998
|
+
| 'vat'
|
|
8999
|
+
| 'duty'
|
|
9000
|
+
| 'shipping'
|
|
9001
|
+
| 'insurance'
|
|
9002
|
+
| 'discount'
|
|
9003
|
+
| 'surcharges';
|
|
9004
|
+
}
|
|
9005
|
+
|
|
9006
|
+
declare namespace io.flow.order.price.v0.models {
|
|
9007
|
+
interface OrderPriceDetail {
|
|
9008
|
+
readonly key: io.flow.order.price.v0.enums.OrderPriceDetailKey;
|
|
9009
|
+
readonly currency: string;
|
|
9010
|
+
readonly amount: number;
|
|
9011
|
+
readonly label: string;
|
|
9012
|
+
readonly base: io.flow.common.v0.models.Price;
|
|
9013
|
+
readonly components: io.flow.order.price.v0.models.OrderPriceDetailComponent[];
|
|
9014
|
+
readonly name?: string;
|
|
9015
|
+
readonly rate?: number;
|
|
9016
|
+
readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
|
|
9017
|
+
readonly rate_label?: string;
|
|
9018
|
+
}
|
|
9019
|
+
|
|
9020
|
+
interface OrderPriceDetailComponent {
|
|
9021
|
+
readonly key: io.flow.order.price.v0.enums.OrderPriceDetailComponentKey;
|
|
9022
|
+
readonly currency: string;
|
|
9023
|
+
readonly amount: number;
|
|
9024
|
+
readonly label: string;
|
|
9025
|
+
readonly base: io.flow.common.v0.models.Price;
|
|
9026
|
+
readonly name?: string;
|
|
9027
|
+
}
|
|
9028
|
+
}
|
|
9029
|
+
|
|
9030
|
+
declare namespace io.flow.channel.internal.v0.enums {
|
|
9031
|
+
type ChannelOrderAcceptanceErrorAction = 'auto_reject' | 'auto_accept';
|
|
9032
|
+
type ChannelOrderAcceptanceNextActionFrom =
|
|
9033
|
+
| 'cx_team'
|
|
9034
|
+
| 'core_team'
|
|
9035
|
+
| 'core_team_investigate'
|
|
9036
|
+
| 'mex_team'
|
|
9037
|
+
| 'payments_team'
|
|
9038
|
+
| 'tc_team'
|
|
9039
|
+
| 'logistics_team';
|
|
9040
|
+
type ChannelOrderAcceptanceRejectionReason =
|
|
9041
|
+
| 'unsupported_origin_country'
|
|
9042
|
+
| 'unsupported_destination_country'
|
|
9043
|
+
| 'domestic_order'
|
|
9044
|
+
| 'order_contains_gift_card'
|
|
9045
|
+
| 'order_contains_restricted_goods'
|
|
9046
|
+
| 'missing_order_information'
|
|
9047
|
+
| 'unsupported_payment_information'
|
|
9048
|
+
| 'unsupported_shop_currency'
|
|
9049
|
+
| 'unsupported_free_order'
|
|
9050
|
+
| 'extracting_distribution_info_failed'
|
|
9051
|
+
| 'shipping_estimation_failed'
|
|
9052
|
+
| 'payment_authorization_failed'
|
|
9053
|
+
| 'unsupported_subsidized_order'
|
|
9054
|
+
| 'unsupported_virtual_goods'
|
|
9055
|
+
| 'non_matching_currencies';
|
|
9056
|
+
type ChannelOrderAcceptanceStatus = 'accepted' | 'rejected' | 'review';
|
|
9057
|
+
}
|
|
9058
|
+
|
|
9059
|
+
declare namespace io.flow.channel.internal.v0.models {
|
|
9060
|
+
interface ChannelCurrencyForm {
|
|
9061
|
+
readonly currency: string;
|
|
9062
|
+
readonly channel_id: string;
|
|
9063
|
+
readonly capabilities: io.flow.channel.v0.enums.ChannelCurrencyCapability[];
|
|
9064
|
+
}
|
|
9065
|
+
|
|
9066
|
+
interface ChannelForm {
|
|
9067
|
+
readonly name: string;
|
|
9068
|
+
readonly environment: io.flow.common.v0.enums.Environment;
|
|
9069
|
+
readonly organization_id_prefix?: string;
|
|
9070
|
+
}
|
|
9071
|
+
|
|
9072
|
+
interface ChannelMembership {
|
|
9073
|
+
readonly id: string;
|
|
9074
|
+
readonly channel: io.flow.common.v0.models.ChannelReference;
|
|
9075
|
+
readonly user: io.flow.common.v0.unions.ExpandableUser;
|
|
9076
|
+
readonly role?: io.flow.common.v0.enums.Role;
|
|
9077
|
+
}
|
|
9078
|
+
|
|
9079
|
+
interface ChannelMembershipForm {
|
|
9080
|
+
readonly channel_id: string;
|
|
9081
|
+
readonly user_id: string;
|
|
9082
|
+
readonly role?: io.flow.common.v0.enums.Role;
|
|
9083
|
+
}
|
|
9084
|
+
|
|
9085
|
+
interface ChannelMembershipPutForm {
|
|
9086
|
+
readonly role?: io.flow.common.v0.enums.Role;
|
|
9087
|
+
}
|
|
9088
|
+
|
|
9089
|
+
interface ChannelOrderAcceptance {
|
|
9090
|
+
readonly id: string;
|
|
9091
|
+
readonly organization_id: string;
|
|
9092
|
+
readonly order_number: string;
|
|
9093
|
+
readonly channel_id: string;
|
|
9094
|
+
readonly external_order_reference: string;
|
|
9095
|
+
readonly payment_request_id?: string;
|
|
9096
|
+
readonly status: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus;
|
|
9097
|
+
readonly reasons: io.flow.channel.internal.v0.models.ChannelOrderAcceptanceReason[];
|
|
9098
|
+
readonly next_action_from?: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
|
|
9099
|
+
readonly order_created_at?: string;
|
|
9100
|
+
readonly order_updated_at?: string;
|
|
9101
|
+
}
|
|
9102
|
+
|
|
9103
|
+
interface ChannelOrderAcceptanceForm {
|
|
9104
|
+
readonly status: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus;
|
|
9105
|
+
}
|
|
9106
|
+
|
|
9107
|
+
interface ChannelOrderAcceptanceReason {
|
|
9108
|
+
readonly description: string;
|
|
9109
|
+
readonly rejection_reason?: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceRejectionReason;
|
|
9110
|
+
}
|
|
9111
|
+
|
|
9112
|
+
interface FlowChannelOrganization {
|
|
9113
|
+
readonly placeholder?: string;
|
|
9114
|
+
}
|
|
9115
|
+
}
|
|
9116
|
+
|
|
8792
9117
|
declare namespace io.flow.payment.internal.v0.enums {
|
|
8793
9118
|
type AdyenIntegrationType =
|
|
8794
9119
|
| 'hosted_payment_page'
|
|
@@ -10783,6 +11108,123 @@ declare namespace io.flow.order.management.event.v0.unions {
|
|
|
10783
11108
|
| io.flow.order.management.event.v0.models.ReadyToFulfillV2;
|
|
10784
11109
|
}
|
|
10785
11110
|
|
|
11111
|
+
declare namespace io.flow.shopify.markets.internal.event.v0.models {
|
|
11112
|
+
interface ChannelOrderSummaryDeleted {
|
|
11113
|
+
readonly discriminator: 'channel_order_summary_deleted';
|
|
11114
|
+
readonly event_id: string;
|
|
11115
|
+
readonly timestamp: string;
|
|
11116
|
+
readonly channel_id: string;
|
|
11117
|
+
readonly id: string;
|
|
11118
|
+
}
|
|
11119
|
+
|
|
11120
|
+
interface ChannelOrderSummaryUpserted {
|
|
11121
|
+
readonly discriminator: 'channel_order_summary_upserted';
|
|
11122
|
+
readonly event_id: string;
|
|
11123
|
+
readonly timestamp: string;
|
|
11124
|
+
readonly channel_id: string;
|
|
11125
|
+
readonly channel_order_summary: io.flow.shopify.markets.internal.v0.models.ChannelOrderSummary;
|
|
11126
|
+
}
|
|
11127
|
+
|
|
11128
|
+
interface ShopifyMarketsMetricsDeleted {
|
|
11129
|
+
readonly discriminator: 'shopify_markets_metrics_deleted';
|
|
11130
|
+
readonly event_id: string;
|
|
11131
|
+
readonly timestamp: string;
|
|
11132
|
+
readonly id: string;
|
|
11133
|
+
}
|
|
11134
|
+
|
|
11135
|
+
interface ShopifyMarketsMetricsUpserted {
|
|
11136
|
+
readonly discriminator: 'shopify_markets_metrics_upserted';
|
|
11137
|
+
readonly event_id: string;
|
|
11138
|
+
readonly timestamp: string;
|
|
11139
|
+
readonly shopify_markets_metrics: io.flow.shopify.markets.internal.v0.models.ShopifyMarketsOrdersMetrics;
|
|
11140
|
+
}
|
|
11141
|
+
|
|
11142
|
+
interface ShopifyMarketsOrder {
|
|
11143
|
+
readonly id: string;
|
|
11144
|
+
readonly model: io.flow.shopify.markets.v0.models.ShopifyOrder;
|
|
11145
|
+
}
|
|
11146
|
+
|
|
11147
|
+
interface ShopifyMarketsOrderDeleted {
|
|
11148
|
+
readonly discriminator: 'shopify_markets_order_deleted';
|
|
11149
|
+
readonly event_id: string;
|
|
11150
|
+
readonly timestamp: string;
|
|
11151
|
+
readonly organization: string;
|
|
11152
|
+
readonly shopify_markets_order: io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsOrder;
|
|
11153
|
+
}
|
|
11154
|
+
|
|
11155
|
+
interface ShopifyMarketsOrderUpserted {
|
|
11156
|
+
readonly discriminator: 'shopify_markets_order_upserted';
|
|
11157
|
+
readonly event_id: string;
|
|
11158
|
+
readonly timestamp: string;
|
|
11159
|
+
readonly organization: string;
|
|
11160
|
+
readonly shopify_markets_order: io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsOrder;
|
|
11161
|
+
}
|
|
11162
|
+
|
|
11163
|
+
interface ShopifyMarketsShopDeleted {
|
|
11164
|
+
readonly discriminator: 'shopify_markets_shop_deleted';
|
|
11165
|
+
readonly event_id: string;
|
|
11166
|
+
readonly timestamp: string;
|
|
11167
|
+
readonly organization: string;
|
|
11168
|
+
readonly id: string;
|
|
11169
|
+
}
|
|
11170
|
+
|
|
11171
|
+
interface ShopifyMarketsShopStatisticsDeleted {
|
|
11172
|
+
readonly discriminator: 'shopify_markets_shop_statistics_deleted';
|
|
11173
|
+
readonly event_id: string;
|
|
11174
|
+
readonly timestamp: string;
|
|
11175
|
+
readonly organization: string;
|
|
11176
|
+
readonly id: string;
|
|
11177
|
+
}
|
|
11178
|
+
|
|
11179
|
+
interface ShopifyMarketsShopStatisticsUpserted {
|
|
11180
|
+
readonly discriminator: 'shopify_markets_shop_statistics_upserted';
|
|
11181
|
+
readonly event_id: string;
|
|
11182
|
+
readonly timestamp: string;
|
|
11183
|
+
readonly organization: string;
|
|
11184
|
+
readonly shopify_markets_shop_statistics: io.flow.shopify.markets.internal.v0.models.ShopifyShopStatistics;
|
|
11185
|
+
}
|
|
11186
|
+
|
|
11187
|
+
interface ShopifyMarketsShopUpserted {
|
|
11188
|
+
readonly discriminator: 'shopify_markets_shop_upserted';
|
|
11189
|
+
readonly event_id: string;
|
|
11190
|
+
readonly timestamp: string;
|
|
11191
|
+
readonly organization: string;
|
|
11192
|
+
readonly shopify_markets_shop: io.flow.shopify.markets.internal.v0.models.ShopifyMarketsShop;
|
|
11193
|
+
}
|
|
11194
|
+
|
|
11195
|
+
interface ShopifyMarketsWebhookRegistrationDeleted {
|
|
11196
|
+
readonly discriminator: 'shopify_markets_webhook_registration_deleted';
|
|
11197
|
+
readonly event_id: string;
|
|
11198
|
+
readonly timestamp: string;
|
|
11199
|
+
readonly organization: string;
|
|
11200
|
+
readonly id: string;
|
|
11201
|
+
}
|
|
11202
|
+
|
|
11203
|
+
interface ShopifyMarketsWebhookRegistrationUpserted {
|
|
11204
|
+
readonly discriminator: 'shopify_markets_webhook_registration_upserted';
|
|
11205
|
+
readonly event_id: string;
|
|
11206
|
+
readonly timestamp: string;
|
|
11207
|
+
readonly organization: string;
|
|
11208
|
+
readonly registration: io.flow.shopify.markets.internal.v0.models.ShopifyMarketsWebhookRegistration;
|
|
11209
|
+
}
|
|
11210
|
+
}
|
|
11211
|
+
|
|
11212
|
+
declare namespace io.flow.shopify.markets.internal.event.v0.unions {
|
|
11213
|
+
type ShopifyMarketsInternalEvent =
|
|
11214
|
+
| io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsOrderUpserted
|
|
11215
|
+
| io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsOrderDeleted
|
|
11216
|
+
| io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsShopUpserted
|
|
11217
|
+
| io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsShopDeleted
|
|
11218
|
+
| io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsWebhookRegistrationUpserted
|
|
11219
|
+
| io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsWebhookRegistrationDeleted
|
|
11220
|
+
| io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsShopStatisticsUpserted
|
|
11221
|
+
| io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsShopStatisticsDeleted
|
|
11222
|
+
| io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsMetricsUpserted
|
|
11223
|
+
| io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsMetricsDeleted
|
|
11224
|
+
| io.flow.shopify.markets.internal.event.v0.models.ChannelOrderSummaryUpserted
|
|
11225
|
+
| io.flow.shopify.markets.internal.event.v0.models.ChannelOrderSummaryDeleted;
|
|
11226
|
+
}
|
|
11227
|
+
|
|
10786
11228
|
declare namespace io.flow.experience.v0.enums {
|
|
10787
11229
|
type AddressFieldName =
|
|
10788
11230
|
| 'first_name'
|
|
@@ -14259,7 +14701,8 @@ declare namespace io.flow.billing.internal.v0.enums {
|
|
|
14259
14701
|
| 'platform_fee'
|
|
14260
14702
|
| 'shipping_true_up'
|
|
14261
14703
|
| 'tax_credit'
|
|
14262
|
-
| 'carrier_credit'
|
|
14704
|
+
| 'carrier_credit'
|
|
14705
|
+
| 'negative_balance_guarantee';
|
|
14263
14706
|
type OrderCancellationInitiatedBy = 'flow' | 'organization';
|
|
14264
14707
|
type OrderTransactionType = 'adjustment' | 'reversal' | 'order_service';
|
|
14265
14708
|
type PreferredBillingSchedule = 'monthly' | 'bi-monthly';
|
|
@@ -14277,7 +14720,6 @@ declare namespace io.flow.billing.internal.v0.enums {
|
|
|
14277
14720
|
| 'fulfillment_in_transit'
|
|
14278
14721
|
| 'fulfillment_shipping_notification'
|
|
14279
14722
|
| 'fulfillment_external'
|
|
14280
|
-
| 'fulfillment_order_cancellation'
|
|
14281
14723
|
| 'fulfillment_order_combined_shipment'
|
|
14282
14724
|
| 'fulfillment_order_time'
|
|
14283
14725
|
| 'label_tracking_summary'
|
|
@@ -14294,7 +14736,9 @@ declare namespace io.flow.billing.internal.v0.enums {
|
|
|
14294
14736
|
| 'statement_batch'
|
|
14295
14737
|
| 'statement_email'
|
|
14296
14738
|
| 'statement_summary_email'
|
|
14297
|
-
| 'pending_payout_transaction_event'
|
|
14739
|
+
| 'pending_payout_transaction_event'
|
|
14740
|
+
| 'credit_and_subsidy'
|
|
14741
|
+
| 'negative_balance_guarantee';
|
|
14298
14742
|
type ResponsibleParty = 'flow' | 'organization';
|
|
14299
14743
|
type StatementTransferTransactionLocation = 'transactions_file' | 'summary';
|
|
14300
14744
|
type SubscriptionFrequency = 'yearly' | 'monthly';
|
|
@@ -14374,6 +14818,7 @@ declare namespace io.flow.billing.internal.v0.models {
|
|
|
14374
14818
|
readonly merchant_of_record_fee?: number;
|
|
14375
14819
|
readonly duty_guarantee_fee?: number;
|
|
14376
14820
|
readonly transfer_fee?: number;
|
|
14821
|
+
readonly negative_balance_guarantee_fee?: number;
|
|
14377
14822
|
readonly order_service_fee?: io.flow.billing.internal.v0.models.TieredFee;
|
|
14378
14823
|
readonly label_fees?: io.flow.billing.internal.v0.models.AccountSettingLabelFees;
|
|
14379
14824
|
readonly charge_label_cost_directly: boolean;
|
|
@@ -15662,7 +16107,8 @@ declare namespace io.flow.billing.v0.models {
|
|
|
15662
16107
|
|
|
15663
16108
|
interface TransactionMetadataManual {
|
|
15664
16109
|
readonly discriminator: 'manual';
|
|
15665
|
-
readonly original
|
|
16110
|
+
readonly original?: io.flow.billing.v0.models.TransactionMetadataOriginalTransaction;
|
|
16111
|
+
readonly url?: string;
|
|
15666
16112
|
}
|
|
15667
16113
|
|
|
15668
16114
|
interface TransactionMetadataOriginalTransaction {
|
|
@@ -17623,7 +18069,12 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
17623
18069
|
| 'payouts_failed_count'
|
|
17624
18070
|
| 'payouts_failed_total'
|
|
17625
18071
|
| 'average_payout_amount'
|
|
17626
|
-
| 'capture_transaction_with_zero_fees_and_no_channel_transaction_count'
|
|
18072
|
+
| 'capture_transaction_with_zero_fees_and_no_channel_transaction_count'
|
|
18073
|
+
| 'percentage_billable_label_transactions_with_carrier_charge_10_days'
|
|
18074
|
+
| 'percentage_billable_label_transactions_with_carrier_charge_20_days'
|
|
18075
|
+
| 'percentage_billable_label_transactions_with_carrier_charge_30_days'
|
|
18076
|
+
| 'percentage_billable_label_transactions_with_carrier_charge_60_days'
|
|
18077
|
+
| 'percentage_billable_label_transactions_with_carrier_charge_90_days';
|
|
17627
18078
|
type BillingStatementAttachmentKey =
|
|
17628
18079
|
| 'invoice'
|
|
17629
18080
|
| 'statement'
|
|
@@ -17679,6 +18130,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
17679
18130
|
| 'dtce_two_calls'
|
|
17680
18131
|
| 'dtce_with_deminimis'
|
|
17681
18132
|
| 'dtce_merged_with_tax';
|
|
18133
|
+
type CarrierChargeOtherReason = 'return_to_origin' | 'other';
|
|
17682
18134
|
type CarrierLabelGenerationMethod = 'direct' | 'easypost';
|
|
17683
18135
|
type CarrierValidationStatus = 'success' | 'error';
|
|
17684
18136
|
type CatalogImportType =
|
|
@@ -18466,6 +18918,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
18466
18918
|
| 'low_value_goods_tax'
|
|
18467
18919
|
| 'high_value_goods_tax'
|
|
18468
18920
|
| 'duties';
|
|
18921
|
+
type LogisticsResponsibility = 'organization' | 'flow';
|
|
18469
18922
|
type MainTransactionStatus = 'scheduled' | 'pending_proof';
|
|
18470
18923
|
type ManualReviewRuleStatus = 'active' | 'archived';
|
|
18471
18924
|
type ManualTransactionCategory =
|
|
@@ -18477,7 +18930,8 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
18477
18930
|
| 'platform_fee'
|
|
18478
18931
|
| 'shipping_true_up'
|
|
18479
18932
|
| 'tax_credit'
|
|
18480
|
-
| 'carrier_credit'
|
|
18933
|
+
| 'carrier_credit'
|
|
18934
|
+
| 'negative_balance_guarantee';
|
|
18481
18935
|
type MarketingGatewayAccountConnectionStatus =
|
|
18482
18936
|
| 'not_connected'
|
|
18483
18937
|
| 'connecting'
|
|
@@ -18677,7 +19131,6 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
18677
19131
|
| 'fulfillment_in_transit'
|
|
18678
19132
|
| 'fulfillment_shipping_notification'
|
|
18679
19133
|
| 'fulfillment_external'
|
|
18680
|
-
| 'fulfillment_order_cancellation'
|
|
18681
19134
|
| 'fulfillment_order_combined_shipment'
|
|
18682
19135
|
| 'fulfillment_order_time'
|
|
18683
19136
|
| 'label_tracking_summary'
|
|
@@ -18694,7 +19147,9 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
18694
19147
|
| 'statement_batch'
|
|
18695
19148
|
| 'statement_email'
|
|
18696
19149
|
| 'statement_summary_email'
|
|
18697
|
-
| 'pending_payout_transaction_event'
|
|
19150
|
+
| 'pending_payout_transaction_event'
|
|
19151
|
+
| 'credit_and_subsidy'
|
|
19152
|
+
| 'negative_balance_guarantee';
|
|
18698
19153
|
type QuoteRequestType =
|
|
18699
19154
|
| 'generate'
|
|
18700
19155
|
| 'delete'
|
|
@@ -18721,7 +19176,10 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
18721
19176
|
| 'completed'
|
|
18722
19177
|
| 'completed_no_records'
|
|
18723
19178
|
| 'failed';
|
|
18724
|
-
type ReportType =
|
|
19179
|
+
type ReportType =
|
|
19180
|
+
| 'sales_record'
|
|
19181
|
+
| 'trueup_overview'
|
|
19182
|
+
| 'non_channel_payment_bank_account';
|
|
18725
19183
|
type ReportingScheme =
|
|
18726
19184
|
| 'immediate_reporting_to_tax_authority'
|
|
18727
19185
|
| 'periodic_reporting_to_tax_authority'
|
|
@@ -18996,6 +19454,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18996
19454
|
readonly merchant_of_record_fee?: number;
|
|
18997
19455
|
readonly duty_guarantee_fee?: number;
|
|
18998
19456
|
readonly transfer_fee?: number;
|
|
19457
|
+
readonly negative_balance_guarantee_fee?: number;
|
|
18999
19458
|
readonly order_service_fee?: io.flow.internal.v0.models.TieredFee;
|
|
19000
19459
|
readonly label_fees?: io.flow.internal.v0.models.AccountSettingLabelFees;
|
|
19001
19460
|
readonly charge_label_cost_directly: boolean;
|
|
@@ -20335,9 +20794,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20335
20794
|
readonly attributes?: Record<string, string>;
|
|
20336
20795
|
}
|
|
20337
20796
|
|
|
20338
|
-
interface
|
|
20339
|
-
readonly discriminator: '
|
|
20797
|
+
interface CarrierChargeFormOther {
|
|
20798
|
+
readonly discriminator: 'other';
|
|
20340
20799
|
readonly id: string;
|
|
20800
|
+
readonly reason: io.flow.internal.v0.enums.CarrierChargeOtherReason;
|
|
20341
20801
|
readonly organization_id: string;
|
|
20342
20802
|
readonly order_number: string;
|
|
20343
20803
|
readonly carrier_id: string;
|
|
@@ -25087,6 +25547,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
25087
25547
|
interface Fulfillment {
|
|
25088
25548
|
readonly id: string;
|
|
25089
25549
|
readonly fulfilled_at: string;
|
|
25550
|
+
readonly owner: io.flow.internal.v0.enums.LogisticsResponsibility;
|
|
25090
25551
|
readonly currency: string;
|
|
25091
25552
|
readonly order: io.flow.internal.v0.models.OrderSummary;
|
|
25092
25553
|
readonly origin?: io.flow.internal.v0.models.FulfillmentOrigin;
|
|
@@ -27753,6 +28214,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
27753
28214
|
readonly harmonization_status: io.flow.internal.v0.enums.ItemHarmonizationStatus;
|
|
27754
28215
|
}
|
|
27755
28216
|
|
|
28217
|
+
interface NonChannelPaymentBankAccount {
|
|
28218
|
+
readonly payment: io.flow.internal.v0.models.ReportPayment;
|
|
28219
|
+
readonly bank_account: io.flow.internal.v0.models.ReportBankAccount;
|
|
28220
|
+
readonly account: io.flow.internal.v0.models.ReportAccount;
|
|
28221
|
+
}
|
|
28222
|
+
|
|
27756
28223
|
interface Notification {
|
|
27757
28224
|
readonly order: io.flow.internal.v0.models.Decision;
|
|
27758
28225
|
}
|
|
@@ -29189,6 +29656,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
29189
29656
|
readonly status: io.flow.internal.v0.enums.RestrictionStatus;
|
|
29190
29657
|
readonly matching_positive_keywords: string[];
|
|
29191
29658
|
readonly matching_negative_keywords: string[];
|
|
29659
|
+
readonly positive_search_matches?: string[];
|
|
29660
|
+
readonly negative_search_matches?: string[];
|
|
29192
29661
|
readonly updated_by_user_id: string;
|
|
29193
29662
|
}
|
|
29194
29663
|
|
|
@@ -29709,12 +30178,27 @@ declare namespace io.flow.internal.v0.models {
|
|
|
29709
30178
|
readonly processed_at?: string;
|
|
29710
30179
|
}
|
|
29711
30180
|
|
|
30181
|
+
interface ReportAccount {
|
|
30182
|
+
readonly id: string;
|
|
30183
|
+
readonly source: io.flow.internal.v0.models.AccountSource;
|
|
30184
|
+
}
|
|
30185
|
+
|
|
30186
|
+
interface ReportBankAccount {
|
|
30187
|
+
readonly id?: string;
|
|
30188
|
+
readonly last4?: string;
|
|
30189
|
+
}
|
|
30190
|
+
|
|
29712
30191
|
interface ReportForm {
|
|
29713
30192
|
readonly from: string;
|
|
29714
30193
|
readonly to: string;
|
|
29715
30194
|
readonly type: io.flow.internal.v0.enums.ReportType;
|
|
29716
30195
|
}
|
|
29717
30196
|
|
|
30197
|
+
interface ReportPayment {
|
|
30198
|
+
readonly id: string;
|
|
30199
|
+
readonly created_at: string;
|
|
30200
|
+
}
|
|
30201
|
+
|
|
29718
30202
|
interface ReportRuleDecision {
|
|
29719
30203
|
readonly rule_id: string;
|
|
29720
30204
|
readonly rule_name: string;
|
|
@@ -29910,6 +30394,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
29910
30394
|
readonly accepted_rules?: string[];
|
|
29911
30395
|
readonly positive_keywords?: string[];
|
|
29912
30396
|
readonly negative_keywords?: string[];
|
|
30397
|
+
readonly positive_search_matches?: string[];
|
|
30398
|
+
readonly negative_search_matches?: string[];
|
|
29913
30399
|
readonly user_ids?: string[];
|
|
29914
30400
|
readonly categories?: string[];
|
|
29915
30401
|
readonly product_name_query?: string;
|
|
@@ -30193,14 +30679,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
30193
30679
|
readonly total: io.flow.common.v0.models.PriceWithBase;
|
|
30194
30680
|
}
|
|
30195
30681
|
|
|
30196
|
-
interface ShipperAccountInfoForm {
|
|
30197
|
-
readonly account_name?: string;
|
|
30198
|
-
readonly account_number: string;
|
|
30199
|
-
readonly postal: string;
|
|
30200
|
-
readonly country: string;
|
|
30201
|
-
readonly invoice_info?: io.flow.internal.v0.models.InvoiceInfoForm;
|
|
30202
|
-
}
|
|
30203
|
-
|
|
30204
30682
|
interface ShippingLane {
|
|
30205
30683
|
readonly origin: string;
|
|
30206
30684
|
readonly destination: string;
|
|
@@ -30374,6 +30852,13 @@ declare namespace io.flow.internal.v0.models {
|
|
|
30374
30852
|
readonly shopify_markets_order: io.flow.internal.v0.models.ShopifyMarketsOrder;
|
|
30375
30853
|
}
|
|
30376
30854
|
|
|
30855
|
+
interface ShopifyMarketsOrderVersion {
|
|
30856
|
+
readonly id: string;
|
|
30857
|
+
readonly timestamp: string;
|
|
30858
|
+
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
30859
|
+
readonly shopify_markets_order: io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsOrder;
|
|
30860
|
+
}
|
|
30861
|
+
|
|
30377
30862
|
interface ShopifyMarketsOrdersMetrics {
|
|
30378
30863
|
readonly id: string;
|
|
30379
30864
|
readonly range: io.flow.common.v0.models.DatetimeRange;
|
|
@@ -31707,6 +32192,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
31707
32192
|
interface TrueupLabelSummary {
|
|
31708
32193
|
readonly id: string;
|
|
31709
32194
|
readonly organization: io.flow.common.v0.models.OrganizationReference;
|
|
32195
|
+
readonly order_number: string;
|
|
31710
32196
|
readonly carrier_id: string;
|
|
31711
32197
|
readonly carrier_service_id: string;
|
|
31712
32198
|
readonly carrier_tracking_number: string;
|
|
@@ -31776,11 +32262,9 @@ declare namespace io.flow.internal.v0.models {
|
|
|
31776
32262
|
|
|
31777
32263
|
interface Ups {
|
|
31778
32264
|
readonly discriminator: 'ups';
|
|
31779
|
-
readonly
|
|
31780
|
-
readonly
|
|
31781
|
-
readonly access_license_number: string;
|
|
32265
|
+
readonly client_id: string;
|
|
32266
|
+
readonly client_secret: string;
|
|
31782
32267
|
readonly account_number: string;
|
|
31783
|
-
readonly direct_feed_location_code?: string;
|
|
31784
32268
|
}
|
|
31785
32269
|
|
|
31786
32270
|
interface UsdSpotRate {
|
|
@@ -31997,7 +32481,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
31997
32481
|
| io.flow.internal.v0.models.BlazePaymentAuthCompleteMessage;
|
|
31998
32482
|
type CarrierChargeForm =
|
|
31999
32483
|
| io.flow.internal.v0.models.CarrierChargeFormLabel
|
|
32000
|
-
| io.flow.internal.v0.models.
|
|
32484
|
+
| io.flow.internal.v0.models.CarrierChargeFormOther;
|
|
32001
32485
|
type CarrierCredentials =
|
|
32002
32486
|
| io.flow.internal.v0.models.SfExpress
|
|
32003
32487
|
| io.flow.internal.v0.models.DhlEcommerce
|
|
@@ -33415,8 +33899,10 @@ export type CarrierChargeFileResult =
|
|
|
33415
33899
|
export type CarrierChargeForm = io.flow.internal.v0.unions.CarrierChargeForm;
|
|
33416
33900
|
export type CarrierChargeFormLabel =
|
|
33417
33901
|
io.flow.internal.v0.models.CarrierChargeFormLabel;
|
|
33418
|
-
export type
|
|
33419
|
-
io.flow.internal.v0.models.
|
|
33902
|
+
export type CarrierChargeFormOther =
|
|
33903
|
+
io.flow.internal.v0.models.CarrierChargeFormOther;
|
|
33904
|
+
export type CarrierChargeOtherReason =
|
|
33905
|
+
io.flow.internal.v0.enums.CarrierChargeOtherReason;
|
|
33420
33906
|
export type CarrierChargeUnits = io.flow.internal.v0.models.CarrierChargeUnits;
|
|
33421
33907
|
export type CarrierCredentials = io.flow.internal.v0.unions.CarrierCredentials;
|
|
33422
33908
|
export type CarrierInvoice = io.flow.internal.v0.models.CarrierInvoice;
|
|
@@ -35562,6 +36048,8 @@ export type LocalizedPriceBookItemDeleted =
|
|
|
35562
36048
|
export type LocalizedPriceBookItemUpserted =
|
|
35563
36049
|
io.flow.internal.v0.models.LocalizedPriceBookItemUpserted;
|
|
35564
36050
|
export type Location = io.flow.internal.v0.models.Location;
|
|
36051
|
+
export type LogisticsResponsibility =
|
|
36052
|
+
io.flow.internal.v0.enums.LogisticsResponsibility;
|
|
35565
36053
|
export type Logo = io.flow.internal.v0.models.Logo;
|
|
35566
36054
|
export type LoyaltyProgram = io.flow.internal.v0.models.LoyaltyProgram;
|
|
35567
36055
|
export type LoyaltyProgramMessage =
|
|
@@ -35740,6 +36228,8 @@ export type NoClassificationForm =
|
|
|
35740
36228
|
io.flow.internal.v0.models.NoClassificationForm;
|
|
35741
36229
|
export type NoLiabilityReasonCode =
|
|
35742
36230
|
io.flow.internal.v0.enums.NoLiabilityReasonCode;
|
|
36231
|
+
export type NonChannelPaymentBankAccount =
|
|
36232
|
+
io.flow.internal.v0.models.NonChannelPaymentBankAccount;
|
|
35743
36233
|
export type Notification = io.flow.internal.v0.models.Notification;
|
|
35744
36234
|
export type OnboardingAuditMessage =
|
|
35745
36235
|
io.flow.internal.v0.models.OnboardingAuditMessage;
|
|
@@ -36278,8 +36768,11 @@ export type RegisteredExporterTariffEligibilityForm =
|
|
|
36278
36768
|
io.flow.internal.v0.models.RegisteredExporterTariffEligibilityForm;
|
|
36279
36769
|
export type RejectionReason = io.flow.internal.v0.enums.RejectionReason;
|
|
36280
36770
|
export type Report = io.flow.internal.v0.models.Report;
|
|
36771
|
+
export type ReportAccount = io.flow.internal.v0.models.ReportAccount;
|
|
36772
|
+
export type ReportBankAccount = io.flow.internal.v0.models.ReportBankAccount;
|
|
36281
36773
|
export type ReportForm = io.flow.internal.v0.models.ReportForm;
|
|
36282
36774
|
export type ReportInterval = io.flow.internal.v0.enums.ReportInterval;
|
|
36775
|
+
export type ReportPayment = io.flow.internal.v0.models.ReportPayment;
|
|
36283
36776
|
export type ReportRuleDecision = io.flow.internal.v0.models.ReportRuleDecision;
|
|
36284
36777
|
export type ReportStatus = io.flow.internal.v0.enums.ReportStatus;
|
|
36285
36778
|
export type ReportSummary = io.flow.internal.v0.models.ReportSummary;
|
|
@@ -36398,8 +36891,6 @@ export type SessionRolloutForm = io.flow.internal.v0.models.SessionRolloutForm;
|
|
|
36398
36891
|
export type SetupBlockPutForm = io.flow.internal.v0.models.SetupBlockPutForm;
|
|
36399
36892
|
export type SfExpress = io.flow.internal.v0.models.SfExpress;
|
|
36400
36893
|
export type ShippedItemValue = io.flow.internal.v0.models.ShippedItemValue;
|
|
36401
|
-
export type ShipperAccountInfoForm =
|
|
36402
|
-
io.flow.internal.v0.models.ShipperAccountInfoForm;
|
|
36403
36894
|
export type ShippingLane = io.flow.internal.v0.models.ShippingLane;
|
|
36404
36895
|
export type ShippingMethodReference =
|
|
36405
36896
|
io.flow.internal.v0.models.ShippingMethodReference;
|
|
@@ -36459,6 +36950,8 @@ export type ShopifyMarketsOrderDeleted =
|
|
|
36459
36950
|
io.flow.internal.v0.models.ShopifyMarketsOrderDeleted;
|
|
36460
36951
|
export type ShopifyMarketsOrderUpserted =
|
|
36461
36952
|
io.flow.internal.v0.models.ShopifyMarketsOrderUpserted;
|
|
36953
|
+
export type ShopifyMarketsOrderVersion =
|
|
36954
|
+
io.flow.internal.v0.models.ShopifyMarketsOrderVersion;
|
|
36462
36955
|
export type ShopifyMarketsOrdersMetrics =
|
|
36463
36956
|
io.flow.internal.v0.models.ShopifyMarketsOrdersMetrics;
|
|
36464
36957
|
export type ShopifyMarketsQueuedRecord =
|