@flowio/api-types 0.0.254 → 0.0.256
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/generated/io.flow.catalog.v0.catalog.d.ts +1 -0
- package/generated/io.flow.channel.internal.v0.channel-internal.d.ts +1 -0
- package/generated/io.flow.experience.v0.experience.d.ts +14 -0
- package/generated/io.flow.internal.v0.api-internal.d.ts +309 -25
- package/generated/io.flow.order.price.v0.order-price.d.ts +19 -0
- package/generated/io.flow.organization.v0.organization.d.ts +0 -13
- package/generated/io.flow.product.v0.product.d.ts +6 -0
- package/generated/io.flow.shopify.external.v0.shopify-external.d.ts +1 -0
- package/generated/io.flow.shopify.markets.internal.event.v0.shopify-markets-internal-event.d.ts +29 -1
- package/generated/io.flow.shopify.markets.internal.v0.shopify-markets-internal.d.ts +39 -0
- package/generated/io.flow.tech.onboarding.playground.v0.tech-onboarding-playground.d.ts +18 -0
- package/generated/io.flow.trueup.v0.trueup.d.ts +1 -1
- package/generated/io.flow.v0.api.d.ts +66 -5
- package/package.json +2 -2
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
declare namespace io.flow.order.price.v0.enums {
|
|
2
2
|
type OrderPriceDetailComponentKey = 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'shipping_discount' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'remote_area_surcharge' | 'fuel_surcharge' | 'emergency_situation_surcharge' | 'peak_surcharge' | 'duties_taxes_paid_surcharge' | 'tip';
|
|
3
3
|
type OrderPriceDetailKey = 'adjustment' | 'subtotal' | 'vat' | 'duty' | 'shipping' | 'insurance' | 'discount' | 'surcharges' | 'tip';
|
|
4
|
+
type OrderPriceFeeType = 'service' | 'fx' | 'tax' | 'duties' | 'tax_and_duties' | 'product';
|
|
4
5
|
}
|
|
5
6
|
|
|
6
7
|
declare namespace io.flow.order.price.v0.models {
|
|
@@ -15,6 +16,12 @@ declare namespace io.flow.order.price.v0.models {
|
|
|
15
16
|
readonly 'rate'?: number;
|
|
16
17
|
readonly 'accuracy'?: io.flow.price.v0.enums.PriceAccuracy;
|
|
17
18
|
readonly 'rate_label'?: string;
|
|
19
|
+
readonly 'breakdown'?: io.flow.order.price.v0.models.OrderPriceDetailBreakdown;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
interface OrderPriceDetailBreakdown {
|
|
23
|
+
readonly 'purchase_price': io.flow.order.price.v0.models.PurchasePriceBreakdown;
|
|
24
|
+
readonly 'fees': io.flow.order.price.v0.models.OrderPriceFee[];
|
|
18
25
|
}
|
|
19
26
|
|
|
20
27
|
interface OrderPriceDetailComponent {
|
|
@@ -25,4 +32,16 @@ declare namespace io.flow.order.price.v0.models {
|
|
|
25
32
|
readonly 'base': io.flow.common.v0.models.Price;
|
|
26
33
|
readonly 'name'?: string;
|
|
27
34
|
}
|
|
35
|
+
|
|
36
|
+
interface OrderPriceFee {
|
|
37
|
+
readonly 'key': string;
|
|
38
|
+
readonly 'value': io.flow.common.v0.models.PriceWithBase;
|
|
39
|
+
readonly 'type': io.flow.order.price.v0.enums.OrderPriceFeeType;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
interface PurchasePriceBreakdown {
|
|
43
|
+
readonly 'total_price': io.flow.common.v0.models.PriceWithBase;
|
|
44
|
+
readonly 'product_price': io.flow.common.v0.models.PriceWithBase;
|
|
45
|
+
readonly 'fees': io.flow.order.price.v0.models.OrderPriceFee[];
|
|
46
|
+
}
|
|
28
47
|
}
|
|
@@ -92,19 +92,6 @@ declare namespace io.flow.organization.v0.models {
|
|
|
92
92
|
readonly 'environment': io.flow.common.v0.enums.Environment;
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
interface OrganizationConfigurationReference {
|
|
96
|
-
readonly 'id': string;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
interface OrganizationDefaultConfigurations {
|
|
100
|
-
readonly 'id': string;
|
|
101
|
-
readonly 'checkout_configuration': io.flow.organization.v0.models.OrganizationConfigurationReference;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
interface OrganizationDefaultConfigurationsForm {
|
|
105
|
-
readonly 'id': string;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
95
|
interface OrganizationForm {
|
|
109
96
|
readonly 'id'?: string;
|
|
110
97
|
readonly 'name'?: string;
|
|
@@ -18,5 +18,11 @@ declare namespace io.flow.product.v0.models {
|
|
|
18
18
|
interface ProductTaxonomyData {
|
|
19
19
|
readonly 'key': string;
|
|
20
20
|
readonly 'value': string[];
|
|
21
|
+
readonly 'value_obj'?: io.flow.product.v0.models.ProductTaxonomyValue[];
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
interface ProductTaxonomyValue {
|
|
25
|
+
readonly 'handle': string;
|
|
26
|
+
readonly 'name': string;
|
|
21
27
|
}
|
|
22
28
|
}
|
package/generated/io.flow.shopify.markets.internal.event.v0.shopify-markets-internal-event.d.ts
CHANGED
|
@@ -224,8 +224,36 @@ declare namespace io.flow.shopify.markets.internal.event.v0.models {
|
|
|
224
224
|
readonly 'organization': string;
|
|
225
225
|
readonly 'shopify_product_bundle': io.flow.shopify.markets.internal.v0.models.ShopifyProductBundle;
|
|
226
226
|
}
|
|
227
|
+
|
|
228
|
+
interface ShopifyProductTaxonomyAttributeDeleted {
|
|
229
|
+
readonly 'discriminator': 'shopify_product_taxonomy_attribute_deleted';
|
|
230
|
+
readonly 'event_id': string;
|
|
231
|
+
readonly 'timestamp': string;
|
|
232
|
+
readonly 'id': string;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
interface ShopifyProductTaxonomyAttributeUpserted {
|
|
236
|
+
readonly 'discriminator': 'shopify_product_taxonomy_attribute_upserted';
|
|
237
|
+
readonly 'event_id': string;
|
|
238
|
+
readonly 'timestamp': string;
|
|
239
|
+
readonly 'shopify_product_taxonomy_attribute': io.flow.shopify.markets.internal.v0.models.ShopifyProductTaxonomyAttribute;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
interface ShopifyProductTaxonomyAttributeValueDeleted {
|
|
243
|
+
readonly 'discriminator': 'shopify_product_taxonomy_attribute_value_deleted';
|
|
244
|
+
readonly 'event_id': string;
|
|
245
|
+
readonly 'timestamp': string;
|
|
246
|
+
readonly 'id': string;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
interface ShopifyProductTaxonomyAttributeValueUpserted {
|
|
250
|
+
readonly 'discriminator': 'shopify_product_taxonomy_attribute_value_upserted';
|
|
251
|
+
readonly 'event_id': string;
|
|
252
|
+
readonly 'timestamp': string;
|
|
253
|
+
readonly 'shopify_product_taxonomy_attribute_value': io.flow.shopify.markets.internal.v0.models.ShopifyProductTaxonomyAttributeValue;
|
|
254
|
+
}
|
|
227
255
|
}
|
|
228
256
|
|
|
229
257
|
declare namespace io.flow.shopify.markets.internal.event.v0.unions {
|
|
230
|
-
type ShopifyMarketsInternalEvent = (io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsOrderUpserted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsOrderDeleted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsShopUpserted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsShopDeleted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsWebhookRegistrationUpserted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsWebhookRegistrationDeleted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsShopStatisticsUpserted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsShopStatisticsDeleted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsMetricsUpserted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsMetricsDeleted | io.flow.shopify.markets.internal.event.v0.models.ChannelOrderSummaryUpserted | io.flow.shopify.markets.internal.event.v0.models.ChannelOrderSummaryDeleted | io.flow.shopify.markets.internal.event.v0.models.ChannelOrganizationIdentifierUpserted | io.flow.shopify.markets.internal.event.v0.models.ChannelOrganizationIdentifierDeleted | io.flow.shopify.markets.internal.event.v0.models.OrderTaxAndDutyInclusivitySettingUpserted | io.flow.shopify.markets.internal.event.v0.models.OrderTaxAndDutyInclusivitySettingDeleted | io.flow.shopify.markets.internal.event.v0.models.ShopifyProductBundleUpserted | io.flow.shopify.markets.internal.event.v0.models.ShopifyProductBundleDeleted | io.flow.shopify.markets.internal.event.v0.models.ShopifyIncotermSummaryErrorPublished | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsBestSellingProductUpserted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsBestSellingProductDeleted | io.flow.shopify.markets.internal.event.v0.models.ShopifyOrderRiskAssessmentUpserted | io.flow.shopify.markets.internal.event.v0.models.ShopifyOrderRiskAssessmentDeleted | io.flow.shopify.markets.internal.event.v0.models.ShopifyOrderTransactionUpserted | io.flow.shopify.markets.internal.event.v0.models.ShopifyOrderTransactionDeleted);
|
|
258
|
+
type ShopifyMarketsInternalEvent = (io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsOrderUpserted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsOrderDeleted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsShopUpserted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsShopDeleted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsWebhookRegistrationUpserted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsWebhookRegistrationDeleted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsShopStatisticsUpserted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsShopStatisticsDeleted | io.flow.shopify.markets.internal.event.v0.models.ShopifyProductTaxonomyAttributeUpserted | io.flow.shopify.markets.internal.event.v0.models.ShopifyProductTaxonomyAttributeDeleted | io.flow.shopify.markets.internal.event.v0.models.ShopifyProductTaxonomyAttributeValueUpserted | io.flow.shopify.markets.internal.event.v0.models.ShopifyProductTaxonomyAttributeValueDeleted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsMetricsUpserted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsMetricsDeleted | io.flow.shopify.markets.internal.event.v0.models.ChannelOrderSummaryUpserted | io.flow.shopify.markets.internal.event.v0.models.ChannelOrderSummaryDeleted | io.flow.shopify.markets.internal.event.v0.models.ChannelOrganizationIdentifierUpserted | io.flow.shopify.markets.internal.event.v0.models.ChannelOrganizationIdentifierDeleted | io.flow.shopify.markets.internal.event.v0.models.OrderTaxAndDutyInclusivitySettingUpserted | io.flow.shopify.markets.internal.event.v0.models.OrderTaxAndDutyInclusivitySettingDeleted | io.flow.shopify.markets.internal.event.v0.models.ShopifyProductBundleUpserted | io.flow.shopify.markets.internal.event.v0.models.ShopifyProductBundleDeleted | io.flow.shopify.markets.internal.event.v0.models.ShopifyIncotermSummaryErrorPublished | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsBestSellingProductUpserted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsBestSellingProductDeleted | io.flow.shopify.markets.internal.event.v0.models.ShopifyOrderRiskAssessmentUpserted | io.flow.shopify.markets.internal.event.v0.models.ShopifyOrderRiskAssessmentDeleted | io.flow.shopify.markets.internal.event.v0.models.ShopifyOrderTransactionUpserted | io.flow.shopify.markets.internal.event.v0.models.ShopifyOrderTransactionDeleted);
|
|
231
259
|
}
|
|
@@ -4,6 +4,7 @@ declare namespace io.flow.shopify.markets.internal.v0.enums {
|
|
|
4
4
|
type ChannelOrderFulfillmentStatusCode = 'unfulfilled' | 'fulfilled' | 'partial' | 'cancelled';
|
|
5
5
|
type GraphqlServiceTypes = 'order_update_mutation' | 'shipping_address_validation' | 'bulk_publication_status' | 'country_catalog_sync' | 'inventory_item' | 'product_bundle' | 'shopify_location' | 'shopify_order' | 'sync_product_catalog' | 'shopify_webhook';
|
|
6
6
|
type ProductStatus = 'active' | 'archived' | 'draft' | 'unlisted';
|
|
7
|
+
type SellabilityStatus = 'complete' | 'incomplete';
|
|
7
8
|
type ShopifyMarketsDangerousGoods = 'aerosols' | 'air_bag_inflators_or_seat_belt_pretensioners' | 'alcoholic_beverages_containing_more_than_24_percent_alcohol_by_volume' | 'batteries' | 'carbon_dioxide_or_dry_ice' | 'corrosives' | 'cannabidiol_products' | 'cologne_or_perfume' | 'currency_or_gift_cards_or_monetary_instruments' | 'exotic_leather_goods' | 'environmental_waste' | 'explosives_or_ammunition' | 'flammable_liquids' | 'gases' | 'hazardous_or_combustible_materials' | 'infectious_or_biological_substances' | 'knives' | 'matches_or_lighter_or_lighter_refills' | 'nail_polish' | 'oxidizing_materials_or_organic_peroxides' | 'pornography' | 'prohibited_carriage' | 'pesticides_or_toxic_herbicides_or_insecticides_or_poisonous_toxic_substances';
|
|
8
9
|
type ShopifyMarketsHtsNumberAvailable = 'yes' | 'no' | 'i_dont_know';
|
|
9
10
|
type ShopifyMarketsTradeSector = 'apparel_and_accessories' | 'beauty_and_cosmetics' | 'electronics' | 'food_or_perishables' | 'jewellery_and_watches' | 'paper_and_art' | 'sports_and_fitness' | 'toys_hobbies_gifts' | 'other';
|
|
@@ -42,6 +43,22 @@ declare namespace io.flow.shopify.markets.internal.v0.models {
|
|
|
42
43
|
readonly 'identifier': string;
|
|
43
44
|
}
|
|
44
45
|
|
|
46
|
+
interface ChannelOrganizationPublicationOwner {
|
|
47
|
+
readonly 'owner': io.flow.channel.shopify.internal.v0.enums.CatalogPublicationOwner;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
interface ChannelOrganizationPublicationOwnerPutForm {
|
|
51
|
+
readonly 'owner': io.flow.channel.shopify.internal.v0.enums.CatalogPublicationOwner;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
interface ChannelOrganizationSellabilityStatus {
|
|
55
|
+
readonly 'status': io.flow.shopify.markets.internal.v0.enums.SellabilityStatus;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
interface ChannelOrganizationSellabilityStatusPutForm {
|
|
59
|
+
readonly 'status': io.flow.shopify.markets.internal.v0.enums.SellabilityStatus;
|
|
60
|
+
}
|
|
61
|
+
|
|
45
62
|
interface FlowShopValidationError {
|
|
46
63
|
readonly 'message': string;
|
|
47
64
|
readonly 'reason': string;
|
|
@@ -85,6 +102,11 @@ declare namespace io.flow.shopify.markets.internal.v0.models {
|
|
|
85
102
|
readonly 'next_action_from': io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
|
|
86
103
|
}
|
|
87
104
|
|
|
105
|
+
interface PaymentRequestAuthorization {
|
|
106
|
+
readonly 'payment_request_id': string;
|
|
107
|
+
readonly 'authorization_id': string;
|
|
108
|
+
}
|
|
109
|
+
|
|
88
110
|
interface ProductRestrictionResultValidationError {
|
|
89
111
|
readonly 'message': string;
|
|
90
112
|
readonly 'reason': string;
|
|
@@ -166,6 +188,7 @@ declare namespace io.flow.shopify.markets.internal.v0.models {
|
|
|
166
188
|
readonly 'api_password_masked'?: string;
|
|
167
189
|
readonly 'access_token_masked'?: string;
|
|
168
190
|
readonly 'shopify_plan_name'?: io.flow.shopify.external.v0.enums.ShopifyPlanName;
|
|
191
|
+
readonly 'catalog_publication_owner'?: io.flow.channel.shopify.internal.v0.enums.CatalogPublicationOwner;
|
|
169
192
|
}
|
|
170
193
|
|
|
171
194
|
interface ShopifyMarketsShopForm {
|
|
@@ -233,6 +256,22 @@ declare namespace io.flow.shopify.markets.internal.v0.models {
|
|
|
233
256
|
readonly 'product_ids': string[];
|
|
234
257
|
}
|
|
235
258
|
|
|
259
|
+
interface ShopifyProductTaxonomyAttribute {
|
|
260
|
+
readonly 'id': string;
|
|
261
|
+
readonly 'handle': string;
|
|
262
|
+
readonly 'name': string;
|
|
263
|
+
readonly 'friendly_id': string;
|
|
264
|
+
readonly 'description'?: string;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
interface ShopifyProductTaxonomyAttributeValue {
|
|
268
|
+
readonly 'id': string;
|
|
269
|
+
readonly 'attribute_id': string;
|
|
270
|
+
readonly 'handle': string;
|
|
271
|
+
readonly 'name': string;
|
|
272
|
+
readonly 'friendly_id': string;
|
|
273
|
+
}
|
|
274
|
+
|
|
236
275
|
interface ShopifyProductWrapper {
|
|
237
276
|
readonly 'shopify_product': io.flow.shopify.external.v0.models.Product;
|
|
238
277
|
readonly 'deleted_at'?: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
declare namespace io.flow.tech.onboarding.playground.v0.enums {
|
|
2
2
|
type AldoItemType = 'physical' | 'digital';
|
|
3
|
+
type AnirbanItemType = 'physical' | 'digital';
|
|
3
4
|
type AnshItemType = 'physical' | 'digital';
|
|
4
5
|
type HoseinItemType = 'physical' | 'digital';
|
|
5
6
|
type NiallItemType = 'physical' | 'digital';
|
|
@@ -26,6 +27,23 @@ declare namespace io.flow.tech.onboarding.playground.v0.models {
|
|
|
26
27
|
readonly 'added_on': string;
|
|
27
28
|
}
|
|
28
29
|
|
|
30
|
+
interface AnirbanItem {
|
|
31
|
+
readonly 'id': string;
|
|
32
|
+
readonly 'number': string;
|
|
33
|
+
readonly 'amount': io.flow.common.v0.models.Price;
|
|
34
|
+
readonly 'description'?: string;
|
|
35
|
+
readonly 'type': io.flow.tech.onboarding.playground.v0.enums.AnirbanItemType;
|
|
36
|
+
readonly 'added_on': string;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
interface AnirbanItemForm {
|
|
40
|
+
readonly 'number': string;
|
|
41
|
+
readonly 'amount': io.flow.common.v0.models.Price;
|
|
42
|
+
readonly 'description'?: string;
|
|
43
|
+
readonly 'type': io.flow.tech.onboarding.playground.v0.enums.AnirbanItemType;
|
|
44
|
+
readonly 'added_on': string;
|
|
45
|
+
}
|
|
46
|
+
|
|
29
47
|
interface AnshItem {
|
|
30
48
|
readonly 'id': string;
|
|
31
49
|
readonly 'number': string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare namespace io.flow.trueup.v0.enums {
|
|
2
2
|
type CarrierChargeReason = 'return_to_origin' | 'rejection' | 'other';
|
|
3
|
-
type TrueupSurchargeType = 'fuel' | 'remote_area' | 'oversize' | 'duties_paid' | 'emergency' | 'peak' | 'address_correction' | 'security' | 'eei_filing' | 'fixed_ddp' | 'fixed_currency_conversion' | 'prohibited_item' | 'undeliverable_shipment' | 'signature_required' | 'direct_delivery' | 'saturday_stop' | 'residential_extended_area_pickup' | 'package_level_detail';
|
|
3
|
+
type TrueupSurchargeType = 'fuel' | 'remote_area' | 'oversize' | 'duties_paid' | 'emergency' | 'peak' | 'address_correction' | 'security' | 'eei_filing' | 'fixed_ddp' | 'fixed_currency_conversion' | 'prohibited_item' | 'undeliverable_shipment' | 'signature_required' | 'direct_delivery' | 'saturday_stop' | 'residential_extended_area_pickup' | 'package_level_detail' | 'pickup';
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
declare namespace io.flow.trueup.v0.models {
|
|
@@ -54,7 +54,7 @@ declare namespace io.flow.v0.enums {
|
|
|
54
54
|
type EconomicTitleLocation = 'high_seas' | 'origination' | 'destination';
|
|
55
55
|
type EntityIdentifierType = 'ioss' | 'voec' | 'zaz';
|
|
56
56
|
type Environment = 'sandbox' | 'production';
|
|
57
|
-
type EventType = 'test_upserted' | 'generate_load' | 'sarvesh_item_upserted' | 'sarvesh_item_deleted' | 'hosein_item_upserted' | 'hosein_item_deleted' | 'niall_item_upserted' | 'niall_item_deleted' | 'rohan_item_upserted' | 'rohan_item_deleted' | 'aldo_item_upserted' | 'aldo_item_deleted' | 'ansh_item_upserted' | 'ansh_item_deleted' | 'transaction_upserted' | 'organization_transaction_upserted' | 'organization_transaction_deleted' | 'statement_upserted' | 'statement_deleted' | 'channel_transaction_upserted' | 'channel_transaction_deleted' | 'channel_transaction_deleted_v2' | 'channel_statement_upserted' | 'channel_statement_deleted' | 'channel_payout_upserted' | 'channel_payout_deleted' | 'organization_payout_upserted' | 'organization_payout_deleted' | 'channel_pending_payout_transaction_upserted' | 'channel_pending_payout_transaction_deleted' | 'organization_pending_payout_transaction_upserted' | 'organization_pending_payout_transaction_deleted' | 'attribute_upserted' | 'attribute_deleted' | 'attribute_upserted_v2' | 'attribute_deleted_v2' | 'catalog_upserted' | 'catalog_deleted' | 'subcatalog_upserted' | 'subcatalog_deleted' | 'subcatalog_item_upserted' | 'subcatalog_item_deleted' | 'catalog_statistics_upserted' | 'catalog_statistics_deleted' | 'item_inserted' | 'item_updated' | 'item_deleted' | 'channel_upserted' | 'channel_deleted' | 'channel_currency_upserted' | 'channel_currency_deleted' | 'channel_organization_upserted' | 'channel_organization_deleted' | 'channel_shopify_order_state_upserted' | 'channel_shopify_order_state_deleted' | 'b2b_invoice_upserted' | 'b2b_invoice_deleted' | 'b2b_credit_memo_upserted' | 'b2b_credit_memo_deleted' | 'consumer_invoice_upserted' | 'consumer_invoice_deleted' | 'credit_memo_upserted' | 'credit_memo_deleted' | 'crossdock_shipment_upserted' | 'rate_deleted' | 'rate_upserted' | 'rate_deleted_v3' | 'rate_upserted_v3' | 'allocation_deleted_v2' | 'allocation_upserted_v2' | 'order_deleted_v2' | 'order_upserted_v2' | 'order_identifier_deleted_v2' | 'order_identifier_upserted_v3' | 'fraud_status_changed' | 'center_upserted' | 'center_deleted' | 'shipping_configuration_upserted' | 'shipping_configuration_deleted' | 'tier_upserted_v2' | 'tier_deleted_v2' | 'shipping_lane_upserted' | 'shipping_lane_deleted' | 'shipping_configuration_item_availability_upserted' | 'shipping_configuration_item_availability_deleted' | 'shipping_configuration_item_shipping_pricing_upserted' | 'shipping_configuration_item_shipping_pricing_deleted' | 'ge_item_inserted' | 'ge_item_updated' | 'ge_item_deleted' | 'hs6_code_upserted' | 'hs6_code_deleted' | 'hs10_code_upserted' | 'hs10_code_deleted' | 'item_origin_upserted' | 'item_origin_deleted' | 'harmonized_landed_cost_upserted' | 'fully_harmonized_item_upserted' | 'label_upserted' | 'label_deleted_v2' | 'label_upserted_v2' | 'notification_upserted_v2' | 'notification_deleted_v2' | 'manifested_label_upserted' | 'manifested_label_deleted' | 'label_processing_modification_upserted' | 'label_processing_modification_deleted' | 'merchant_application_upserted' | 'merchant_application_deleted' | 'order_placed' | 'order_placed_v2' | 'ready_to_fulfill' | 'ready_to_fulfill_v2' | 'membership_upserted_v2' | 'membership_deleted_v2' | 'organization_upserted' | 'organization_deleted' | 'organization_upserted_v2' | 'organization_deleted_v2' | 'ecommerce_platform_upserted' | 'ecommerce_platform_deleted' | 'organization_onboarding_state_upserted' | 'organization_onboarding_state_deleted' | 'authorization_deleted_v2' | 'authorization_status_changed' | 'card_authorization_upserted_v2' | 'card_authorization_deleted_v2' | 'online_authorization_upserted_v2' | 'online_authorization_deleted_v2' | 'capture_upserted_v2' | 'capture_deleted' | 'card_upserted_v2' | 'card_deleted' | 'payment_upserted' | 'payment_deleted' | 'refund_upserted_v2' | 'refund_deleted_v2' | 'refund_capture_upserted_v2' | 'reversal_upserted' | 'reversal_deleted' | 'capture_identifier_upserted' | 'capture_identifier_deleted' | 'refund_identifier_upserted' | 'refund_identifier_deleted' | 'virtual_card_capture_upserted' | 'virtual_card_capture_deleted' | 'virtual_card_refund_upserted' | 'virtual_card_refund_deleted' | 'authorization_retry_upserted' | 'authorization_retry_deleted' | 'transfer_upserted' | 'transfer_deleted' | 'payment_request_upserted' | 'payment_request_deleted' | 'price_book_upserted' | 'price_book_deleted' | 'price_book_item_upserted' | 'price_book_item_deleted' | 'product_inserted' | 'product_updated' | 'product_deleted' | 'organization_rates_published' | 'ratecard_lane_upserted' | 'ratecard_lane_deleted' | 'ratecard_upserted' | 'ratecard_deleted' | 'product_restriction_result_upserted' | 'product_restriction_result_deleted' | 'shopify_localization_setting_upserted' | 'shopify_localization_setting_deleted' | 'tracking_label_event_upserted';
|
|
57
|
+
type EventType = 'test_upserted' | 'generate_load' | 'sarvesh_item_upserted' | 'sarvesh_item_deleted' | 'hosein_item_upserted' | 'hosein_item_deleted' | 'niall_item_upserted' | 'niall_item_deleted' | 'rohan_item_upserted' | 'rohan_item_deleted' | 'aldo_item_upserted' | 'aldo_item_deleted' | 'ansh_item_upserted' | 'ansh_item_deleted' | 'anirban_item_upserted' | 'anirban_item_deleted' | 'transaction_upserted' | 'organization_transaction_upserted' | 'organization_transaction_deleted' | 'statement_upserted' | 'statement_deleted' | 'channel_transaction_upserted' | 'channel_transaction_deleted' | 'channel_transaction_deleted_v2' | 'channel_statement_upserted' | 'channel_statement_deleted' | 'channel_payout_upserted' | 'channel_payout_deleted' | 'organization_payout_upserted' | 'organization_payout_deleted' | 'channel_pending_payout_transaction_upserted' | 'channel_pending_payout_transaction_deleted' | 'organization_pending_payout_transaction_upserted' | 'organization_pending_payout_transaction_deleted' | 'attribute_upserted' | 'attribute_deleted' | 'attribute_upserted_v2' | 'attribute_deleted_v2' | 'catalog_upserted' | 'catalog_deleted' | 'subcatalog_upserted' | 'subcatalog_deleted' | 'subcatalog_item_upserted' | 'subcatalog_item_deleted' | 'catalog_statistics_upserted' | 'catalog_statistics_deleted' | 'item_inserted' | 'item_updated' | 'item_deleted' | 'channel_upserted' | 'channel_deleted' | 'channel_currency_upserted' | 'channel_currency_deleted' | 'channel_organization_upserted' | 'channel_organization_deleted' | 'channel_shopify_order_state_upserted' | 'channel_shopify_order_state_deleted' | 'b2b_invoice_upserted' | 'b2b_invoice_deleted' | 'b2b_credit_memo_upserted' | 'b2b_credit_memo_deleted' | 'consumer_invoice_upserted' | 'consumer_invoice_deleted' | 'credit_memo_upserted' | 'credit_memo_deleted' | 'crossdock_shipment_upserted' | 'rate_deleted' | 'rate_upserted' | 'rate_deleted_v3' | 'rate_upserted_v3' | 'allocation_deleted_v2' | 'allocation_upserted_v2' | 'order_deleted_v2' | 'order_upserted_v2' | 'order_identifier_deleted_v2' | 'order_identifier_upserted_v3' | 'fraud_status_changed' | 'center_upserted' | 'center_deleted' | 'shipping_configuration_upserted' | 'shipping_configuration_deleted' | 'tier_upserted_v2' | 'tier_deleted_v2' | 'shipping_lane_upserted' | 'shipping_lane_deleted' | 'shipping_configuration_item_availability_upserted' | 'shipping_configuration_item_availability_deleted' | 'shipping_configuration_item_shipping_pricing_upserted' | 'shipping_configuration_item_shipping_pricing_deleted' | 'ge_item_inserted' | 'ge_item_updated' | 'ge_item_deleted' | 'hs6_code_upserted' | 'hs6_code_deleted' | 'hs10_code_upserted' | 'hs10_code_deleted' | 'item_origin_upserted' | 'item_origin_deleted' | 'harmonized_landed_cost_upserted' | 'fully_harmonized_item_upserted' | 'label_upserted' | 'label_deleted_v2' | 'label_upserted_v2' | 'notification_upserted_v2' | 'notification_deleted_v2' | 'manifested_label_upserted' | 'manifested_label_deleted' | 'label_processing_modification_upserted' | 'label_processing_modification_deleted' | 'merchant_application_upserted' | 'merchant_application_deleted' | 'order_placed' | 'order_placed_v2' | 'ready_to_fulfill' | 'ready_to_fulfill_v2' | 'membership_upserted_v2' | 'membership_deleted_v2' | 'organization_upserted' | 'organization_deleted' | 'organization_upserted_v2' | 'organization_deleted_v2' | 'ecommerce_platform_upserted' | 'ecommerce_platform_deleted' | 'organization_onboarding_state_upserted' | 'organization_onboarding_state_deleted' | 'authorization_deleted_v2' | 'authorization_status_changed' | 'card_authorization_upserted_v2' | 'card_authorization_deleted_v2' | 'online_authorization_upserted_v2' | 'online_authorization_deleted_v2' | 'capture_upserted_v2' | 'capture_deleted' | 'card_upserted_v2' | 'card_deleted' | 'payment_upserted' | 'payment_deleted' | 'refund_upserted_v2' | 'refund_deleted_v2' | 'refund_capture_upserted_v2' | 'reversal_upserted' | 'reversal_deleted' | 'capture_identifier_upserted' | 'capture_identifier_deleted' | 'refund_identifier_upserted' | 'refund_identifier_deleted' | 'virtual_card_capture_upserted' | 'virtual_card_capture_deleted' | 'virtual_card_refund_upserted' | 'virtual_card_refund_deleted' | 'authorization_retry_upserted' | 'authorization_retry_deleted' | 'transfer_upserted' | 'transfer_deleted' | 'payment_request_upserted' | 'payment_request_deleted' | 'price_book_upserted' | 'price_book_deleted' | 'price_book_item_upserted' | 'price_book_item_deleted' | 'product_inserted' | 'product_updated' | 'product_deleted' | 'organization_rates_published' | 'ratecard_lane_upserted' | 'ratecard_lane_deleted' | 'ratecard_upserted' | 'ratecard_deleted' | 'product_restriction_result_upserted' | 'product_restriction_result_deleted' | 'shopify_localization_setting_upserted' | 'shopify_localization_setting_deleted' | 'tracking_label_event_upserted';
|
|
58
58
|
type ExceptionType = 'open' | 'closed';
|
|
59
59
|
type ExclusionRuleState = 'current' | 'deleting' | 'updating';
|
|
60
60
|
type ExperienceCloneStatus = 'pending' | 'updating' | 'completed' | 'failed';
|
|
@@ -117,6 +117,7 @@ declare namespace io.flow.v0.enums {
|
|
|
117
117
|
type OrderPaymentType = 'card' | 'online' | 'credit' | 'external' | 'subsidized' | 'installment_plan' | 'cash_on_delivery';
|
|
118
118
|
type OrderPriceDetailComponentKey = 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'shipping_discount' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'remote_area_surcharge' | 'fuel_surcharge' | 'emergency_situation_surcharge' | 'peak_surcharge' | 'duties_taxes_paid_surcharge' | 'tip';
|
|
119
119
|
type OrderPriceDetailKey = 'adjustment' | 'subtotal' | 'vat' | 'duty' | 'shipping' | 'insurance' | 'discount' | 'surcharges' | 'tip';
|
|
120
|
+
type OrderPriceFeeType = 'service' | 'fx' | 'tax' | 'duties' | 'tax_and_duties' | 'product';
|
|
120
121
|
type OrderRefundSummaryIncludes = 'duties' | 'vat' | 'shipping';
|
|
121
122
|
type OrderRefundSummaryPartialCharged = 'per_item' | 'for_order' | 'by_value_percentage' | 'by_quantity_percentage';
|
|
122
123
|
type OrderStatus = 'open' | 'submitted';
|
|
@@ -155,7 +156,6 @@ declare namespace io.flow.v0.enums {
|
|
|
155
156
|
type PriceDetailKey = 'item_price' | 'margins' | 'vat' | 'duty' | 'rounding' | 'adjustment';
|
|
156
157
|
type PriceFacetBoundary = 'min' | 'max';
|
|
157
158
|
type PricingLevySetting = 'included' | 'displayed' | 'ignored';
|
|
158
|
-
type ProductRestrictionRule = 'Adult Products' | 'Alcohol' | 'Anti Money Laundering' | 'Collagen' | 'Consumer Safety' | 'Cosmetics' | 'DG - Batteries' | 'DG - Hazmat' | 'Drugs' | 'Dual Use' | 'Fine Art' | 'Fish & Wildlife - CITES' | 'Fish & Wildlife - Plant' | 'Fish & Wildlife - USFWS' | 'Food' | 'Gambling' | 'Health' | 'Human hair' | 'Insufficient Details' | 'Intangible' | 'Jewelry' | 'Jewelry & Watches Over 5000' | 'Knives' | 'Liquids' | 'Oversized' | 'Pending Classification' | 'Restrict by Default' | 'Supplements' | 'Tattoo Ink And PMU' | 'Unknown Bundles' | 'Weapon' | 'Wood';
|
|
159
159
|
type PromotionTriggerType = 'automatic' | 'order_subtotal';
|
|
160
160
|
type ProvinceType = 'area' | 'city' | 'county' | 'department' | 'dependency' | 'district' | 'do_si' | 'emirate' | 'entity' | 'island' | 'municipality' | 'oblast' | 'outlying_area' | 'parish' | 'prefecture' | 'province' | 'state' | 'territory' | 'other';
|
|
161
161
|
type QuoteErrorCode = 'generic_error' | 'items_not_available' | 'shipping_unavailable';
|
|
@@ -214,7 +214,7 @@ declare namespace io.flow.v0.enums {
|
|
|
214
214
|
type TransferStatus = 'succeeded' | 'canceled';
|
|
215
215
|
type TransferType = 'payout_to_merchant' | 'disputed_amount_to_merchant' | 'duties_and_taxes_adjustment_to_merchant' | 'disputed_amount_from_merchant' | 'duties_and_taxes_adjustment_from_merchant' | 'refund_from_merchant';
|
|
216
216
|
type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl' | 'ups';
|
|
217
|
-
type TrueupSurchargeType = 'fuel' | 'remote_area' | 'oversize' | 'duties_paid' | 'emergency' | 'peak' | 'address_correction' | 'security' | 'eei_filing' | 'fixed_ddp' | 'fixed_currency_conversion' | 'prohibited_item' | 'undeliverable_shipment' | 'signature_required' | 'direct_delivery' | 'saturday_stop' | 'residential_extended_area_pickup' | 'package_level_detail';
|
|
217
|
+
type TrueupSurchargeType = 'fuel' | 'remote_area' | 'oversize' | 'duties_paid' | 'emergency' | 'peak' | 'address_correction' | 'security' | 'eei_filing' | 'fixed_ddp' | 'fixed_currency_conversion' | 'prohibited_item' | 'undeliverable_shipment' | 'signature_required' | 'direct_delivery' | 'saturday_stop' | 'residential_extended_area_pickup' | 'package_level_detail' | 'pickup';
|
|
218
218
|
type UnitOfLength = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'meter';
|
|
219
219
|
type UnitOfMeasurement = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'cubic_inch' | 'cubic_foot' | 'cubic_millimeter' | 'cubic_centimeter' | 'cubic_meter' | 'gram' | 'kilogram' | 'meter' | 'ounce' | 'pound';
|
|
220
220
|
type UnitOfTime = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute';
|
|
@@ -680,6 +680,20 @@ declare namespace io.flow.v0.models {
|
|
|
680
680
|
readonly 'interval'?: io.flow.v0.enums.UnitOfTime;
|
|
681
681
|
}
|
|
682
682
|
|
|
683
|
+
interface AnirbanItemDeleted {
|
|
684
|
+
readonly 'discriminator': 'anirban_item_deleted';
|
|
685
|
+
readonly 'event_id': string;
|
|
686
|
+
readonly 'timestamp': string;
|
|
687
|
+
readonly 'id': string;
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
interface AnirbanItemUpserted {
|
|
691
|
+
readonly 'discriminator': 'anirban_item_upserted';
|
|
692
|
+
readonly 'event_id': string;
|
|
693
|
+
readonly 'timestamp': string;
|
|
694
|
+
readonly 'item': io.flow.tech.onboarding.playground.v0.models.AnirbanItem;
|
|
695
|
+
}
|
|
696
|
+
|
|
683
697
|
interface AnshItemDeleted {
|
|
684
698
|
readonly 'discriminator': 'ansh_item_deleted';
|
|
685
699
|
readonly 'event_id': string;
|
|
@@ -2665,6 +2679,7 @@ declare namespace io.flow.v0.models {
|
|
|
2665
2679
|
readonly 'package_dimensions_source'?: io.flow.v0.enums.PackageDimensionsSource;
|
|
2666
2680
|
readonly 'origin_location_source'?: io.flow.v0.enums.OriginLocationSource;
|
|
2667
2681
|
readonly 'reference_id'?: string;
|
|
2682
|
+
readonly 'shipping_date_time'?: string;
|
|
2668
2683
|
}
|
|
2669
2684
|
|
|
2670
2685
|
interface DetailedShippingNotificationForm {
|
|
@@ -2964,6 +2979,11 @@ declare namespace io.flow.v0.models {
|
|
|
2964
2979
|
readonly 'ecommerce_platform': io.flow.v0.models.EcommercePlatform;
|
|
2965
2980
|
}
|
|
2966
2981
|
|
|
2982
|
+
interface EditSummary {
|
|
2983
|
+
readonly 'id': string;
|
|
2984
|
+
readonly 'edited_at': string;
|
|
2985
|
+
}
|
|
2986
|
+
|
|
2967
2987
|
interface EeiFilingRatecardFee {
|
|
2968
2988
|
readonly 'discriminator': 'eei_filing_ratecard_fee';
|
|
2969
2989
|
readonly 'amount': io.flow.v0.models.Money;
|
|
@@ -3703,6 +3723,7 @@ declare namespace io.flow.v0.models {
|
|
|
3703
3723
|
readonly 'product_id': string;
|
|
3704
3724
|
readonly 'ge_organization_name': string;
|
|
3705
3725
|
readonly 'ge_shipping_origin_country'?: string;
|
|
3726
|
+
readonly 'product_url'?: string;
|
|
3706
3727
|
}
|
|
3707
3728
|
|
|
3708
3729
|
interface GeInputPrice {
|
|
@@ -4806,6 +4827,7 @@ declare namespace io.flow.v0.models {
|
|
|
4806
4827
|
readonly 'local': io.flow.v0.models.Local;
|
|
4807
4828
|
readonly 'shipment_estimate'?: io.flow.v0.models.DatetimeRange;
|
|
4808
4829
|
readonly 'price_source'?: io.flow.v0.unions.PriceSource;
|
|
4830
|
+
readonly 'breakdown'?: io.flow.v0.models.OrderPriceDetailBreakdown;
|
|
4809
4831
|
}
|
|
4810
4832
|
|
|
4811
4833
|
interface LocalizedLineItemDiscount {
|
|
@@ -4823,6 +4845,7 @@ declare namespace io.flow.v0.models {
|
|
|
4823
4845
|
readonly 'amount': number;
|
|
4824
4846
|
readonly 'label': string;
|
|
4825
4847
|
readonly 'base': io.flow.v0.models.Price;
|
|
4848
|
+
readonly 'breakdown'?: io.flow.v0.models.OrderPriceDetailBreakdown;
|
|
4826
4849
|
}
|
|
4827
4850
|
|
|
4828
4851
|
interface LocalizedTranslation {
|
|
@@ -5121,6 +5144,11 @@ declare namespace io.flow.v0.models {
|
|
|
5121
5144
|
readonly 'last'?: string;
|
|
5122
5145
|
}
|
|
5123
5146
|
|
|
5147
|
+
interface NeedsActionAttributes {
|
|
5148
|
+
readonly 'reason_code': string;
|
|
5149
|
+
readonly 'category_metafield_handles': string[];
|
|
5150
|
+
}
|
|
5151
|
+
|
|
5124
5152
|
interface NiallItemDeleted {
|
|
5125
5153
|
readonly 'discriminator': 'niall_item_deleted';
|
|
5126
5154
|
readonly 'event_id': string;
|
|
@@ -5282,6 +5310,8 @@ declare namespace io.flow.v0.models {
|
|
|
5282
5310
|
readonly 'destination_contact_details'?: io.flow.v0.models.DestinationContactDetail[];
|
|
5283
5311
|
readonly 'incoterm_summary'?: io.flow.v0.models.IncotermSummary;
|
|
5284
5312
|
readonly 'payment_source'?: io.flow.v0.enums.OrderPaymentSourceType;
|
|
5313
|
+
readonly 'edits'?: io.flow.v0.models.EditSummary[];
|
|
5314
|
+
readonly 'rates'?: io.flow.v0.models.OrderRate[];
|
|
5285
5315
|
}
|
|
5286
5316
|
|
|
5287
5317
|
interface OrderAddress {
|
|
@@ -5580,6 +5610,12 @@ declare namespace io.flow.v0.models {
|
|
|
5580
5610
|
readonly 'rate'?: number;
|
|
5581
5611
|
readonly 'accuracy'?: io.flow.v0.enums.PriceAccuracy;
|
|
5582
5612
|
readonly 'rate_label'?: string;
|
|
5613
|
+
readonly 'breakdown'?: io.flow.v0.models.OrderPriceDetailBreakdown;
|
|
5614
|
+
}
|
|
5615
|
+
|
|
5616
|
+
interface OrderPriceDetailBreakdown {
|
|
5617
|
+
readonly 'purchase_price': io.flow.v0.models.PurchasePriceBreakdown;
|
|
5618
|
+
readonly 'fees': io.flow.v0.models.OrderPriceFee[];
|
|
5583
5619
|
}
|
|
5584
5620
|
|
|
5585
5621
|
interface OrderPriceDetailComponent {
|
|
@@ -5591,6 +5627,12 @@ declare namespace io.flow.v0.models {
|
|
|
5591
5627
|
readonly 'name'?: string;
|
|
5592
5628
|
}
|
|
5593
5629
|
|
|
5630
|
+
interface OrderPriceFee {
|
|
5631
|
+
readonly 'key': string;
|
|
5632
|
+
readonly 'value': io.flow.v0.models.PriceWithBase;
|
|
5633
|
+
readonly 'type': io.flow.v0.enums.OrderPriceFeeType;
|
|
5634
|
+
}
|
|
5635
|
+
|
|
5594
5636
|
interface OrderPromotionTrigger {
|
|
5595
5637
|
readonly 'type': io.flow.v0.enums.PromotionTriggerType;
|
|
5596
5638
|
readonly 'min'?: io.flow.v0.models.Price;
|
|
@@ -5612,6 +5654,12 @@ declare namespace io.flow.v0.models {
|
|
|
5612
5654
|
readonly 'payment_source'?: io.flow.v0.enums.OrderPaymentSourceType;
|
|
5613
5655
|
}
|
|
5614
5656
|
|
|
5657
|
+
interface OrderRate {
|
|
5658
|
+
readonly 'from': string;
|
|
5659
|
+
readonly 'to': string;
|
|
5660
|
+
readonly 'rate': number;
|
|
5661
|
+
}
|
|
5662
|
+
|
|
5615
5663
|
interface OrderReference {
|
|
5616
5664
|
readonly 'discriminator': 'order_reference';
|
|
5617
5665
|
readonly 'id': string;
|
|
@@ -7298,11 +7346,12 @@ declare namespace io.flow.v0.models {
|
|
|
7298
7346
|
readonly 'sellability_restricted_regions'?: string[];
|
|
7299
7347
|
readonly 'reasons_per_region'?: io.flow.v0.models.ReasonsPerRegion[];
|
|
7300
7348
|
readonly 'review_status'?: io.flow.v0.enums.ReviewStatus;
|
|
7301
|
-
readonly 'rules'?:
|
|
7349
|
+
readonly 'rules'?: string[];
|
|
7302
7350
|
readonly 'updated_by'?: string;
|
|
7303
7351
|
readonly 'product_restriction_id'?: string;
|
|
7304
7352
|
readonly 'hs_code'?: string;
|
|
7305
7353
|
readonly 'restricted_regions_by_type'?: io.flow.v0.models.SellablilityRegionResult[];
|
|
7354
|
+
readonly 'needs_action_attributes'?: io.flow.v0.models.NeedsActionAttributes[];
|
|
7306
7355
|
}
|
|
7307
7356
|
|
|
7308
7357
|
interface ProductRestrictionResultDeleted {
|
|
@@ -7349,6 +7398,12 @@ declare namespace io.flow.v0.models {
|
|
|
7349
7398
|
interface ProductTaxonomyData {
|
|
7350
7399
|
readonly 'key': string;
|
|
7351
7400
|
readonly 'value': string[];
|
|
7401
|
+
readonly 'value_obj'?: io.flow.v0.models.ProductTaxonomyValue[];
|
|
7402
|
+
}
|
|
7403
|
+
|
|
7404
|
+
interface ProductTaxonomyValue {
|
|
7405
|
+
readonly 'handle': string;
|
|
7406
|
+
readonly 'name': string;
|
|
7352
7407
|
}
|
|
7353
7408
|
|
|
7354
7409
|
interface ProductUpdated {
|
|
@@ -7388,6 +7443,12 @@ declare namespace io.flow.v0.models {
|
|
|
7388
7443
|
readonly 'id': string;
|
|
7389
7444
|
}
|
|
7390
7445
|
|
|
7446
|
+
interface PurchasePriceBreakdown {
|
|
7447
|
+
readonly 'total_price': io.flow.v0.models.PriceWithBase;
|
|
7448
|
+
readonly 'product_price': io.flow.v0.models.PriceWithBase;
|
|
7449
|
+
readonly 'fees': io.flow.v0.models.OrderPriceFee[];
|
|
7450
|
+
}
|
|
7451
|
+
|
|
7391
7452
|
interface Query {
|
|
7392
7453
|
readonly 'q': string;
|
|
7393
7454
|
readonly 'filters': io.flow.v0.unions.QueryFilter[];
|
|
@@ -10218,7 +10279,7 @@ declare namespace io.flow.v0.unions {
|
|
|
10218
10279
|
type Document = (io.flow.v0.models.CatalogItemDocument | io.flow.v0.models.HarmonizationDocument);
|
|
10219
10280
|
type EmailNotificationData = (io.flow.v0.models.EmailNotificationDataRefund | io.flow.v0.models.EmailNotificationAbandonedOrder);
|
|
10220
10281
|
type Entity = (io.flow.v0.models.Company | io.flow.v0.models.Individual);
|
|
10221
|
-
type Event = (io.flow.v0.models.TestUpserted | io.flow.v0.models.GenerateLoad | io.flow.v0.models.SarveshItemUpserted | io.flow.v0.models.SarveshItemDeleted | io.flow.v0.models.HoseinItemUpserted | io.flow.v0.models.HoseinItemDeleted | io.flow.v0.models.NiallItemUpserted | io.flow.v0.models.NiallItemDeleted | io.flow.v0.models.RohanItemUpserted | io.flow.v0.models.RohanItemDeleted | io.flow.v0.models.AldoItemUpserted | io.flow.v0.models.AldoItemDeleted | io.flow.v0.models.AnshItemUpserted | io.flow.v0.models.AnshItemDeleted | io.flow.v0.models.TransactionUpserted | io.flow.v0.models.OrganizationTransactionUpserted | io.flow.v0.models.OrganizationTransactionDeleted | io.flow.v0.models.StatementUpserted | io.flow.v0.models.StatementDeleted | io.flow.v0.models.ChannelTransactionUpserted | io.flow.v0.models.ChannelTransactionDeleted | io.flow.v0.models.ChannelTransactionDeletedV2 | io.flow.v0.models.ChannelStatementUpserted | io.flow.v0.models.ChannelStatementDeleted | io.flow.v0.models.ChannelPayoutUpserted | io.flow.v0.models.ChannelPayoutDeleted | io.flow.v0.models.OrganizationPayoutUpserted | io.flow.v0.models.OrganizationPayoutDeleted | io.flow.v0.models.ChannelPendingPayoutTransactionUpserted | io.flow.v0.models.ChannelPendingPayoutTransactionDeleted | io.flow.v0.models.OrganizationPendingPayoutTransactionUpserted | io.flow.v0.models.OrganizationPendingPayoutTransactionDeleted | io.flow.v0.models.AttributeUpserted | io.flow.v0.models.AttributeDeleted | io.flow.v0.models.AttributeUpsertedV2 | io.flow.v0.models.AttributeDeletedV2 | io.flow.v0.models.CatalogUpserted | io.flow.v0.models.CatalogDeleted | io.flow.v0.models.SubcatalogUpserted | io.flow.v0.models.SubcatalogDeleted | io.flow.v0.models.SubcatalogItemUpserted | io.flow.v0.models.SubcatalogItemDeleted | io.flow.v0.models.CatalogStatisticsUpserted | io.flow.v0.models.CatalogStatisticsDeleted | io.flow.v0.models.ItemInserted | io.flow.v0.models.ItemUpdated | io.flow.v0.models.ItemDeleted | io.flow.v0.models.ChannelUpserted | io.flow.v0.models.ChannelDeleted | io.flow.v0.models.ChannelCurrencyUpserted | io.flow.v0.models.ChannelCurrencyDeleted | io.flow.v0.models.ChannelOrganizationUpserted | io.flow.v0.models.ChannelOrganizationDeleted | io.flow.v0.models.ChannelShopifyOrderStateUpserted | io.flow.v0.models.ChannelShopifyOrderStateDeleted | io.flow.v0.models.B2BInvoiceUpserted | io.flow.v0.models.B2BInvoiceDeleted | io.flow.v0.models.B2BCreditMemoUpserted | io.flow.v0.models.B2BCreditMemoDeleted | io.flow.v0.models.ConsumerInvoiceUpserted | io.flow.v0.models.ConsumerInvoiceDeleted | io.flow.v0.models.CreditMemoUpserted | io.flow.v0.models.CreditMemoDeleted | io.flow.v0.models.CrossdockShipmentUpserted | io.flow.v0.models.RateDeleted | io.flow.v0.models.RateUpserted | io.flow.v0.models.RateDeletedV3 | io.flow.v0.models.RateUpsertedV3 | io.flow.v0.models.AllocationDeletedV2 | io.flow.v0.models.AllocationUpsertedV2 | io.flow.v0.models.OrderDeletedV2 | io.flow.v0.models.OrderUpsertedV2 | io.flow.v0.models.OrderIdentifierDeletedV2 | io.flow.v0.models.OrderIdentifierUpsertedV3 | io.flow.v0.models.FraudStatusChanged | io.flow.v0.models.CenterUpserted | io.flow.v0.models.CenterDeleted | io.flow.v0.models.ShippingConfigurationUpserted | io.flow.v0.models.ShippingConfigurationDeleted | io.flow.v0.models.TierUpsertedV2 | io.flow.v0.models.TierDeletedV2 | io.flow.v0.models.ShippingLaneUpserted | io.flow.v0.models.ShippingLaneDeleted | io.flow.v0.models.ShippingConfigurationItemAvailabilityUpserted | io.flow.v0.models.ShippingConfigurationItemAvailabilityDeleted | io.flow.v0.models.ShippingConfigurationItemShippingPricingUpserted | io.flow.v0.models.ShippingConfigurationItemShippingPricingDeleted | io.flow.v0.models.GeItemInserted | io.flow.v0.models.GeItemUpdated | io.flow.v0.models.GeItemDeleted | io.flow.v0.models.Hs6CodeUpserted | io.flow.v0.models.Hs6CodeDeleted | io.flow.v0.models.Hs10CodeUpserted | io.flow.v0.models.Hs10CodeDeleted | io.flow.v0.models.ItemOriginUpserted | io.flow.v0.models.ItemOriginDeleted | io.flow.v0.models.HarmonizedLandedCostUpserted | io.flow.v0.models.FullyHarmonizedItemUpserted | io.flow.v0.models.LabelUpserted | io.flow.v0.models.LabelDeletedV2 | io.flow.v0.models.LabelUpsertedV2 | io.flow.v0.models.NotificationUpsertedV2 | io.flow.v0.models.NotificationDeletedV2 | io.flow.v0.models.ManifestedLabelUpserted | io.flow.v0.models.ManifestedLabelDeleted | io.flow.v0.models.LabelProcessingModificationUpserted | io.flow.v0.models.LabelProcessingModificationDeleted | io.flow.v0.models.MerchantApplicationUpserted | io.flow.v0.models.MerchantApplicationDeleted | io.flow.v0.models.OrderPlaced | io.flow.v0.models.OrderPlacedV2 | io.flow.v0.models.ReadyToFulfill | io.flow.v0.models.ReadyToFulfillV2 | io.flow.v0.models.MembershipUpsertedV2 | io.flow.v0.models.MembershipDeletedV2 | io.flow.v0.models.OrganizationUpserted | io.flow.v0.models.OrganizationDeleted | io.flow.v0.models.OrganizationUpsertedV2 | io.flow.v0.models.OrganizationDeletedV2 | io.flow.v0.models.EcommercePlatformUpserted | io.flow.v0.models.EcommercePlatformDeleted | io.flow.v0.models.OrganizationOnboardingStateUpserted | io.flow.v0.models.OrganizationOnboardingStateDeleted | io.flow.v0.models.AuthorizationDeletedV2 | io.flow.v0.models.AuthorizationStatusChanged | io.flow.v0.models.CardAuthorizationUpsertedV2 | io.flow.v0.models.CardAuthorizationDeletedV2 | io.flow.v0.models.OnlineAuthorizationUpsertedV2 | io.flow.v0.models.OnlineAuthorizationDeletedV2 | io.flow.v0.models.CaptureUpsertedV2 | io.flow.v0.models.CaptureDeleted | io.flow.v0.models.CardUpsertedV2 | io.flow.v0.models.CardDeleted | io.flow.v0.models.PaymentUpserted | io.flow.v0.models.PaymentDeleted | io.flow.v0.models.RefundUpsertedV2 | io.flow.v0.models.RefundDeletedV2 | io.flow.v0.models.RefundCaptureUpsertedV2 | io.flow.v0.models.ReversalUpserted | io.flow.v0.models.ReversalDeleted | io.flow.v0.models.CaptureIdentifierUpserted | io.flow.v0.models.CaptureIdentifierDeleted | io.flow.v0.models.RefundIdentifierUpserted | io.flow.v0.models.RefundIdentifierDeleted | io.flow.v0.models.VirtualCardCaptureUpserted | io.flow.v0.models.VirtualCardCaptureDeleted | io.flow.v0.models.VirtualCardRefundUpserted | io.flow.v0.models.VirtualCardRefundDeleted | io.flow.v0.models.AuthorizationRetryUpserted | io.flow.v0.models.AuthorizationRetryDeleted | io.flow.v0.models.TransferUpserted | io.flow.v0.models.TransferDeleted | io.flow.v0.models.PaymentRequestUpserted | io.flow.v0.models.PaymentRequestDeleted | io.flow.v0.models.PriceBookUpserted | io.flow.v0.models.PriceBookDeleted | io.flow.v0.models.PriceBookItemUpserted | io.flow.v0.models.PriceBookItemDeleted | io.flow.v0.models.ProductInserted | io.flow.v0.models.ProductUpdated | io.flow.v0.models.ProductDeleted | io.flow.v0.models.OrganizationRatesPublished | io.flow.v0.models.RatecardLaneUpserted | io.flow.v0.models.RatecardLaneDeleted | io.flow.v0.models.RatecardUpserted | io.flow.v0.models.RatecardDeleted | io.flow.v0.models.ProductRestrictionResultUpserted | io.flow.v0.models.ProductRestrictionResultDeleted | io.flow.v0.models.ShopifyLocalizationSettingUpserted | io.flow.v0.models.ShopifyLocalizationSettingDeleted | io.flow.v0.models.TrackingLabelEventUpserted);
|
|
10282
|
+
type Event = (io.flow.v0.models.TestUpserted | io.flow.v0.models.GenerateLoad | io.flow.v0.models.SarveshItemUpserted | io.flow.v0.models.SarveshItemDeleted | io.flow.v0.models.HoseinItemUpserted | io.flow.v0.models.HoseinItemDeleted | io.flow.v0.models.NiallItemUpserted | io.flow.v0.models.NiallItemDeleted | io.flow.v0.models.RohanItemUpserted | io.flow.v0.models.RohanItemDeleted | io.flow.v0.models.AldoItemUpserted | io.flow.v0.models.AldoItemDeleted | io.flow.v0.models.AnshItemUpserted | io.flow.v0.models.AnshItemDeleted | io.flow.v0.models.AnirbanItemUpserted | io.flow.v0.models.AnirbanItemDeleted | io.flow.v0.models.TransactionUpserted | io.flow.v0.models.OrganizationTransactionUpserted | io.flow.v0.models.OrganizationTransactionDeleted | io.flow.v0.models.StatementUpserted | io.flow.v0.models.StatementDeleted | io.flow.v0.models.ChannelTransactionUpserted | io.flow.v0.models.ChannelTransactionDeleted | io.flow.v0.models.ChannelTransactionDeletedV2 | io.flow.v0.models.ChannelStatementUpserted | io.flow.v0.models.ChannelStatementDeleted | io.flow.v0.models.ChannelPayoutUpserted | io.flow.v0.models.ChannelPayoutDeleted | io.flow.v0.models.OrganizationPayoutUpserted | io.flow.v0.models.OrganizationPayoutDeleted | io.flow.v0.models.ChannelPendingPayoutTransactionUpserted | io.flow.v0.models.ChannelPendingPayoutTransactionDeleted | io.flow.v0.models.OrganizationPendingPayoutTransactionUpserted | io.flow.v0.models.OrganizationPendingPayoutTransactionDeleted | io.flow.v0.models.AttributeUpserted | io.flow.v0.models.AttributeDeleted | io.flow.v0.models.AttributeUpsertedV2 | io.flow.v0.models.AttributeDeletedV2 | io.flow.v0.models.CatalogUpserted | io.flow.v0.models.CatalogDeleted | io.flow.v0.models.SubcatalogUpserted | io.flow.v0.models.SubcatalogDeleted | io.flow.v0.models.SubcatalogItemUpserted | io.flow.v0.models.SubcatalogItemDeleted | io.flow.v0.models.CatalogStatisticsUpserted | io.flow.v0.models.CatalogStatisticsDeleted | io.flow.v0.models.ItemInserted | io.flow.v0.models.ItemUpdated | io.flow.v0.models.ItemDeleted | io.flow.v0.models.ChannelUpserted | io.flow.v0.models.ChannelDeleted | io.flow.v0.models.ChannelCurrencyUpserted | io.flow.v0.models.ChannelCurrencyDeleted | io.flow.v0.models.ChannelOrganizationUpserted | io.flow.v0.models.ChannelOrganizationDeleted | io.flow.v0.models.ChannelShopifyOrderStateUpserted | io.flow.v0.models.ChannelShopifyOrderStateDeleted | io.flow.v0.models.B2BInvoiceUpserted | io.flow.v0.models.B2BInvoiceDeleted | io.flow.v0.models.B2BCreditMemoUpserted | io.flow.v0.models.B2BCreditMemoDeleted | io.flow.v0.models.ConsumerInvoiceUpserted | io.flow.v0.models.ConsumerInvoiceDeleted | io.flow.v0.models.CreditMemoUpserted | io.flow.v0.models.CreditMemoDeleted | io.flow.v0.models.CrossdockShipmentUpserted | io.flow.v0.models.RateDeleted | io.flow.v0.models.RateUpserted | io.flow.v0.models.RateDeletedV3 | io.flow.v0.models.RateUpsertedV3 | io.flow.v0.models.AllocationDeletedV2 | io.flow.v0.models.AllocationUpsertedV2 | io.flow.v0.models.OrderDeletedV2 | io.flow.v0.models.OrderUpsertedV2 | io.flow.v0.models.OrderIdentifierDeletedV2 | io.flow.v0.models.OrderIdentifierUpsertedV3 | io.flow.v0.models.FraudStatusChanged | io.flow.v0.models.CenterUpserted | io.flow.v0.models.CenterDeleted | io.flow.v0.models.ShippingConfigurationUpserted | io.flow.v0.models.ShippingConfigurationDeleted | io.flow.v0.models.TierUpsertedV2 | io.flow.v0.models.TierDeletedV2 | io.flow.v0.models.ShippingLaneUpserted | io.flow.v0.models.ShippingLaneDeleted | io.flow.v0.models.ShippingConfigurationItemAvailabilityUpserted | io.flow.v0.models.ShippingConfigurationItemAvailabilityDeleted | io.flow.v0.models.ShippingConfigurationItemShippingPricingUpserted | io.flow.v0.models.ShippingConfigurationItemShippingPricingDeleted | io.flow.v0.models.GeItemInserted | io.flow.v0.models.GeItemUpdated | io.flow.v0.models.GeItemDeleted | io.flow.v0.models.Hs6CodeUpserted | io.flow.v0.models.Hs6CodeDeleted | io.flow.v0.models.Hs10CodeUpserted | io.flow.v0.models.Hs10CodeDeleted | io.flow.v0.models.ItemOriginUpserted | io.flow.v0.models.ItemOriginDeleted | io.flow.v0.models.HarmonizedLandedCostUpserted | io.flow.v0.models.FullyHarmonizedItemUpserted | io.flow.v0.models.LabelUpserted | io.flow.v0.models.LabelDeletedV2 | io.flow.v0.models.LabelUpsertedV2 | io.flow.v0.models.NotificationUpsertedV2 | io.flow.v0.models.NotificationDeletedV2 | io.flow.v0.models.ManifestedLabelUpserted | io.flow.v0.models.ManifestedLabelDeleted | io.flow.v0.models.LabelProcessingModificationUpserted | io.flow.v0.models.LabelProcessingModificationDeleted | io.flow.v0.models.MerchantApplicationUpserted | io.flow.v0.models.MerchantApplicationDeleted | io.flow.v0.models.OrderPlaced | io.flow.v0.models.OrderPlacedV2 | io.flow.v0.models.ReadyToFulfill | io.flow.v0.models.ReadyToFulfillV2 | io.flow.v0.models.MembershipUpsertedV2 | io.flow.v0.models.MembershipDeletedV2 | io.flow.v0.models.OrganizationUpserted | io.flow.v0.models.OrganizationDeleted | io.flow.v0.models.OrganizationUpsertedV2 | io.flow.v0.models.OrganizationDeletedV2 | io.flow.v0.models.EcommercePlatformUpserted | io.flow.v0.models.EcommercePlatformDeleted | io.flow.v0.models.OrganizationOnboardingStateUpserted | io.flow.v0.models.OrganizationOnboardingStateDeleted | io.flow.v0.models.AuthorizationDeletedV2 | io.flow.v0.models.AuthorizationStatusChanged | io.flow.v0.models.CardAuthorizationUpsertedV2 | io.flow.v0.models.CardAuthorizationDeletedV2 | io.flow.v0.models.OnlineAuthorizationUpsertedV2 | io.flow.v0.models.OnlineAuthorizationDeletedV2 | io.flow.v0.models.CaptureUpsertedV2 | io.flow.v0.models.CaptureDeleted | io.flow.v0.models.CardUpsertedV2 | io.flow.v0.models.CardDeleted | io.flow.v0.models.PaymentUpserted | io.flow.v0.models.PaymentDeleted | io.flow.v0.models.RefundUpsertedV2 | io.flow.v0.models.RefundDeletedV2 | io.flow.v0.models.RefundCaptureUpsertedV2 | io.flow.v0.models.ReversalUpserted | io.flow.v0.models.ReversalDeleted | io.flow.v0.models.CaptureIdentifierUpserted | io.flow.v0.models.CaptureIdentifierDeleted | io.flow.v0.models.RefundIdentifierUpserted | io.flow.v0.models.RefundIdentifierDeleted | io.flow.v0.models.VirtualCardCaptureUpserted | io.flow.v0.models.VirtualCardCaptureDeleted | io.flow.v0.models.VirtualCardRefundUpserted | io.flow.v0.models.VirtualCardRefundDeleted | io.flow.v0.models.AuthorizationRetryUpserted | io.flow.v0.models.AuthorizationRetryDeleted | io.flow.v0.models.TransferUpserted | io.flow.v0.models.TransferDeleted | io.flow.v0.models.PaymentRequestUpserted | io.flow.v0.models.PaymentRequestDeleted | io.flow.v0.models.PriceBookUpserted | io.flow.v0.models.PriceBookDeleted | io.flow.v0.models.PriceBookItemUpserted | io.flow.v0.models.PriceBookItemDeleted | io.flow.v0.models.ProductInserted | io.flow.v0.models.ProductUpdated | io.flow.v0.models.ProductDeleted | io.flow.v0.models.OrganizationRatesPublished | io.flow.v0.models.RatecardLaneUpserted | io.flow.v0.models.RatecardLaneDeleted | io.flow.v0.models.RatecardUpserted | io.flow.v0.models.RatecardDeleted | io.flow.v0.models.ProductRestrictionResultUpserted | io.flow.v0.models.ProductRestrictionResultDeleted | io.flow.v0.models.ShopifyLocalizationSettingUpserted | io.flow.v0.models.ShopifyLocalizationSettingDeleted | io.flow.v0.models.TrackingLabelEventUpserted);
|
|
10222
10283
|
type ExpandableCard = (io.flow.v0.models.Card | io.flow.v0.models.CardReference | io.flow.v0.models.CardSummary | io.flow.v0.models.ExternalCard);
|
|
10223
10284
|
type ExpandableCenter = (io.flow.v0.models.Center | io.flow.v0.models.CenterReference);
|
|
10224
10285
|
type ExpandableExperience = (io.flow.v0.models.Experience | io.flow.v0.models.ExperienceReference);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-types",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.256",
|
|
4
4
|
"description": "Global TypeScript typings for Flow Commerce API",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
"scripts": {
|
|
15
15
|
"generate": "apibuilder update && node scripts/generate-index.js"
|
|
16
16
|
},
|
|
17
|
-
"gitHead": "
|
|
17
|
+
"gitHead": "303d0c0519735bb00069173b130ffc2680e7f93b"
|
|
18
18
|
}
|