@flowio/types 9.1.8 → 9.2.0
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 +48 -55
- package/dist/api.d.ts +78 -24
- package/package.json +2 -2
- package/src/api-internal.ts +54 -60
- package/src/api.ts +86 -24
package/dist/api-internal.d.ts
CHANGED
|
@@ -2272,7 +2272,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2272
2272
|
readonly 'requires_shipping': boolean;
|
|
2273
2273
|
readonly 'currency'?: string;
|
|
2274
2274
|
readonly 'items': io.flow.shopify.external.v0.models.ShopifyCartItem[];
|
|
2275
|
-
readonly 'cart_level_discount_applications'
|
|
2275
|
+
readonly 'cart_level_discount_applications'?: io.flow.shopify.external.v0.models.ShopifyDiscountApplication[];
|
|
2276
2276
|
}
|
|
2277
2277
|
interface ShopifyCartItem {
|
|
2278
2278
|
readonly 'id': number;
|
|
@@ -2286,7 +2286,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2286
2286
|
readonly 'original_line_price': number;
|
|
2287
2287
|
readonly 'total_discount': number;
|
|
2288
2288
|
readonly 'discounted_price': number;
|
|
2289
|
-
readonly 'discounts'
|
|
2289
|
+
readonly 'discounts'?: io.flow.shopify.external.v0.models.ShopifyCartItemDiscount[];
|
|
2290
2290
|
readonly 'taxable': boolean;
|
|
2291
2291
|
readonly 'quantity': number;
|
|
2292
2292
|
readonly 'sku'?: string;
|
|
@@ -2304,8 +2304,8 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2304
2304
|
readonly 'product_description'?: string;
|
|
2305
2305
|
readonly 'product_type': string;
|
|
2306
2306
|
readonly 'variant_title'?: string;
|
|
2307
|
-
readonly 'variant_options'
|
|
2308
|
-
readonly 'line_level_discount_allocations'
|
|
2307
|
+
readonly 'variant_options'?: string[];
|
|
2308
|
+
readonly 'line_level_discount_allocations'?: io.flow.shopify.external.v0.models.ShopifyLineLevelDiscountAllocation[];
|
|
2309
2309
|
}
|
|
2310
2310
|
interface ShopifyCartItemDiscount {
|
|
2311
2311
|
readonly 'amount': number;
|
|
@@ -2327,7 +2327,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2327
2327
|
readonly 'tax_exempt': boolean;
|
|
2328
2328
|
readonly 'verified_email': boolean;
|
|
2329
2329
|
readonly 'state': io.flow.shopify.external.v0.enums.ShopifyCustomerState;
|
|
2330
|
-
readonly 'accepts_marketing'
|
|
2330
|
+
readonly 'accepts_marketing'?: boolean;
|
|
2331
2331
|
readonly 'default_address'?: any;
|
|
2332
2332
|
readonly 'email'?: string;
|
|
2333
2333
|
readonly 'first_name'?: string;
|
|
@@ -2498,7 +2498,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2498
2498
|
readonly 'vendor'?: string;
|
|
2499
2499
|
readonly 'name'?: string;
|
|
2500
2500
|
readonly 'gift_card': boolean;
|
|
2501
|
-
readonly 'properties':
|
|
2501
|
+
readonly 'properties': io.flow.shopify.external.v0.models.ShopifyProperty[];
|
|
2502
2502
|
readonly 'taxable': boolean;
|
|
2503
2503
|
readonly 'tax_lines': io.flow.shopify.external.v0.models.ShopifyTaxLine[];
|
|
2504
2504
|
readonly 'total_discount'?: string;
|
|
@@ -2519,7 +2519,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2519
2519
|
readonly 'vendor'?: string;
|
|
2520
2520
|
readonly 'name'?: string;
|
|
2521
2521
|
readonly 'gift_card': boolean;
|
|
2522
|
-
readonly 'properties'?: io.flow.shopify.external.v0.models.
|
|
2522
|
+
readonly 'properties'?: io.flow.shopify.external.v0.models.ShopifyProperty[];
|
|
2523
2523
|
readonly 'taxable': boolean;
|
|
2524
2524
|
readonly 'tax_lines': io.flow.shopify.external.v0.models.ShopifyTaxLine[];
|
|
2525
2525
|
readonly 'total_discount'?: string;
|
|
@@ -2599,11 +2599,11 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2599
2599
|
readonly 'updated_at'?: string;
|
|
2600
2600
|
readonly 'user_id'?: number;
|
|
2601
2601
|
readonly 'order_status_url'?: string;
|
|
2602
|
-
readonly 'inventory_behaviour'
|
|
2602
|
+
readonly 'inventory_behaviour'?: io.flow.shopify.external.v0.enums.InventoryBehaviour;
|
|
2603
2603
|
readonly 'gateway'?: string;
|
|
2604
2604
|
readonly 'transactions'?: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
|
|
2605
2605
|
readonly 'send_receipt'?: boolean;
|
|
2606
|
-
readonly 'metafields'
|
|
2606
|
+
readonly 'metafields'?: io.flow.shopify.external.v0.models.MetafieldForm[];
|
|
2607
2607
|
}
|
|
2608
2608
|
interface ShopifyOrderCount {
|
|
2609
2609
|
readonly 'count': number;
|
|
@@ -2624,6 +2624,10 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2624
2624
|
readonly 'credit_card_number': string;
|
|
2625
2625
|
readonly 'cvv_result_code'?: string;
|
|
2626
2626
|
}
|
|
2627
|
+
interface ShopifyProperty {
|
|
2628
|
+
readonly 'name': string;
|
|
2629
|
+
readonly 'value': any;
|
|
2630
|
+
}
|
|
2627
2631
|
interface ShopifyRefund {
|
|
2628
2632
|
readonly 'id': number;
|
|
2629
2633
|
readonly 'order_id': number;
|
|
@@ -2720,7 +2724,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2720
2724
|
}
|
|
2721
2725
|
interface ShopifyWebhookOrder {
|
|
2722
2726
|
readonly 'id'?: number;
|
|
2723
|
-
readonly 'line_items'
|
|
2727
|
+
readonly 'line_items'?: io.flow.shopify.external.v0.models.ShopifyWebhookOrderLineItem[];
|
|
2724
2728
|
}
|
|
2725
2729
|
interface ShopifyWebhookOrderCancelled {
|
|
2726
2730
|
readonly 'id': number;
|
|
@@ -4629,6 +4633,10 @@ declare namespace io.flow.country.picker.v0.models {
|
|
|
4629
4633
|
readonly 'name': string;
|
|
4630
4634
|
readonly 'default_currency'?: string;
|
|
4631
4635
|
}
|
|
4636
|
+
interface CountryPickerCountryData {
|
|
4637
|
+
readonly 'country': string;
|
|
4638
|
+
readonly 'delivery_window': io.flow.country.picker.v0.models.CountryPickerDeliveryWindow[];
|
|
4639
|
+
}
|
|
4632
4640
|
interface CountryPickerCurrency {
|
|
4633
4641
|
readonly 'iso_4217_3': string;
|
|
4634
4642
|
readonly 'name': string;
|
|
@@ -4636,6 +4644,21 @@ declare namespace io.flow.country.picker.v0.models {
|
|
|
4636
4644
|
interface CountryPickerData {
|
|
4637
4645
|
readonly 'countries': io.flow.country.picker.v0.models.CountryPickerCountry[];
|
|
4638
4646
|
readonly 'currencies': io.flow.country.picker.v0.models.CountryPickerCurrency[];
|
|
4647
|
+
readonly 'experience_data'?: io.flow.country.picker.v0.models.CountryPickerExperienceData[];
|
|
4648
|
+
readonly 'country_data'?: io.flow.country.picker.v0.models.CountryPickerCountryData[];
|
|
4649
|
+
}
|
|
4650
|
+
interface CountryPickerDeliveryWindow {
|
|
4651
|
+
readonly 'name'?: string;
|
|
4652
|
+
readonly 'from': string;
|
|
4653
|
+
readonly 'to': string;
|
|
4654
|
+
readonly 'timezone'?: string;
|
|
4655
|
+
}
|
|
4656
|
+
interface CountryPickerExperienceData {
|
|
4657
|
+
readonly 'experience_key': string;
|
|
4658
|
+
readonly 'payment_methods': io.flow.country.picker.v0.models.CountryPickerPaymentMethod[];
|
|
4659
|
+
}
|
|
4660
|
+
interface CountryPickerPaymentMethod {
|
|
4661
|
+
readonly 'id': string;
|
|
4639
4662
|
}
|
|
4640
4663
|
}
|
|
4641
4664
|
declare namespace io.flow.session.v0.models {
|
|
@@ -8605,6 +8628,7 @@ declare namespace io.flow.experiment.internal.v0.models {
|
|
|
8605
8628
|
interface ExperimentFormDefaultDiscriminatorValue {
|
|
8606
8629
|
readonly 'key': string;
|
|
8607
8630
|
readonly 'name': string;
|
|
8631
|
+
readonly 'scope': io.flow.experiment.internal.v0.enums.Scope;
|
|
8608
8632
|
}
|
|
8609
8633
|
interface ExperimentFormDefaultVariant {
|
|
8610
8634
|
readonly 'key': string;
|
|
@@ -10365,7 +10389,6 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
10365
10389
|
type MarketingGatewayPlatform = 'google' | 'facebook';
|
|
10366
10390
|
type MarketingGatewayProductStatus = 'approved' | 'not_approved' | 'pending' | 'not_found' | 'excluded';
|
|
10367
10391
|
type MarketingGatewaySchemaCompatibility = 'google' | 'facebook_master' | 'facebook_country_override';
|
|
10368
|
-
type MarketingGatewaySyncStatus = 'pending' | 'ongoing' | 'succeed' | 'failed';
|
|
10369
10392
|
type OrderAction = 'consumer_submit' | 'fraud_review_accept' | 'fraud_review_decline' | 'payment_fully_authorize' | 'payment_fully_capture';
|
|
10370
10393
|
type OrderAttributeIntent = 'discount_code';
|
|
10371
10394
|
type OrderChargeTrigger = 'first_shipment' | 'last_shipment' | 'shipment_exhausted';
|
|
@@ -11479,19 +11502,19 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11479
11502
|
readonly 'key': string;
|
|
11480
11503
|
readonly 'description'?: string;
|
|
11481
11504
|
readonly 'elements': Record<string, io.flow.internal.v0.models.ContentSchemaElement>;
|
|
11482
|
-
readonly 'allow_multiple'
|
|
11505
|
+
readonly 'allow_multiple': boolean;
|
|
11483
11506
|
}
|
|
11484
11507
|
interface ContentSchemaElement {
|
|
11485
11508
|
readonly 'type': io.flow.internal.v0.enums.ContentElementType;
|
|
11486
11509
|
readonly 'description'?: string;
|
|
11487
11510
|
readonly 'example'?: string;
|
|
11488
|
-
readonly 'required'
|
|
11489
|
-
readonly 'validation'
|
|
11511
|
+
readonly 'required': boolean;
|
|
11512
|
+
readonly 'validation': io.flow.internal.v0.unions.ValidationRule[];
|
|
11490
11513
|
}
|
|
11491
11514
|
interface ContentSchemaForm {
|
|
11492
11515
|
readonly 'description'?: string;
|
|
11493
11516
|
readonly 'elements': Record<string, io.flow.internal.v0.models.ContentSchemaElement>;
|
|
11494
|
-
readonly 'allow_multiple'
|
|
11517
|
+
readonly 'allow_multiple': boolean;
|
|
11495
11518
|
}
|
|
11496
11519
|
interface ContentSchemaSummary {
|
|
11497
11520
|
readonly 'key': string;
|
|
@@ -11537,6 +11560,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11537
11560
|
readonly 'organization': string;
|
|
11538
11561
|
readonly 'customer': io.flow.customer.v0.models.Customer;
|
|
11539
11562
|
}
|
|
11563
|
+
interface CustomerSecret {
|
|
11564
|
+
readonly 'id': string;
|
|
11565
|
+
readonly 'secret': string;
|
|
11566
|
+
}
|
|
11540
11567
|
interface Customs {
|
|
11541
11568
|
readonly 'description'?: string;
|
|
11542
11569
|
readonly 'hs6'?: string;
|
|
@@ -12042,7 +12069,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12042
12069
|
interface FeatureForm {
|
|
12043
12070
|
readonly 'name': string;
|
|
12044
12071
|
readonly 'description'?: string;
|
|
12045
|
-
readonly 'status'
|
|
12072
|
+
readonly 'status': io.flow.internal.v0.enums.FeatureStatus;
|
|
12046
12073
|
readonly 'type': io.flow.internal.v0.enums.FeatureType;
|
|
12047
12074
|
readonly 'rules': io.flow.internal.v0.unions.FeatureRuleForm[];
|
|
12048
12075
|
readonly 'default'?: io.flow.internal.v0.unions.FeatureDefaultValue;
|
|
@@ -12186,9 +12213,9 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12186
12213
|
readonly 'responsible_party': io.flow.internal.v0.enums.FraudReviewResponsibleParty;
|
|
12187
12214
|
readonly 'description'?: string;
|
|
12188
12215
|
readonly 'risk_evaluation'?: io.flow.internal.v0.enums.RiskEvaluation;
|
|
12189
|
-
readonly 'liability'
|
|
12216
|
+
readonly 'liability': io.flow.fraud.v0.enums.FraudLiability;
|
|
12190
12217
|
readonly 'status_updated_at'?: string;
|
|
12191
|
-
readonly 'attributes'
|
|
12218
|
+
readonly 'attributes': Record<string, string>;
|
|
12192
12219
|
readonly 'provider'?: io.flow.internal.v0.enums.FraudProvider;
|
|
12193
12220
|
}
|
|
12194
12221
|
interface FraudReviewDecision {
|
|
@@ -12807,7 +12834,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12807
12834
|
interface LeviesItem {
|
|
12808
12835
|
readonly 'number': string;
|
|
12809
12836
|
readonly 'name': string;
|
|
12810
|
-
readonly 'categories'
|
|
12837
|
+
readonly 'categories': string[];
|
|
12811
12838
|
readonly 'attributes': Record<string, string>;
|
|
12812
12839
|
readonly 'description': string;
|
|
12813
12840
|
}
|
|
@@ -12967,9 +12994,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12967
12994
|
interface MarketingGatewayAccountConnection {
|
|
12968
12995
|
readonly 'apibuilder': string;
|
|
12969
12996
|
}
|
|
12970
|
-
interface MarketingGatewayAccountMarkets {
|
|
12971
|
-
readonly 'apibuilder': string;
|
|
12972
|
-
}
|
|
12973
12997
|
interface MarketingGatewayChannelForm {
|
|
12974
12998
|
readonly 'platform': io.flow.internal.v0.enums.MarketingGatewayPlatform;
|
|
12975
12999
|
readonly 'account_id': number;
|
|
@@ -12980,18 +13004,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12980
13004
|
readonly 'source': io.flow.internal.v0.unions.MarketingGatewaySourceSummary;
|
|
12981
13005
|
}
|
|
12982
13006
|
interface MarketingGatewayConfiguredMarket {
|
|
12983
|
-
readonly '
|
|
12984
|
-
readonly 'market': io.flow.internal.v0.unions.MarketingGatewayPlatformMarket;
|
|
12985
|
-
readonly 'experience'?: io.flow.internal.v0.models.MarketingGatewayExperience;
|
|
12986
|
-
readonly 'existing_market_id': string;
|
|
12987
|
-
readonly 'products_status_counts': io.flow.internal.v0.models.MarketingGatewayProductsStatusCount[];
|
|
12988
|
-
readonly 'sync_status': io.flow.internal.v0.enums.MarketingGatewaySyncStatus;
|
|
12989
|
-
readonly 'synced_at'?: string;
|
|
12990
|
-
}
|
|
12991
|
-
interface MarketingGatewayConfiguredMarketForm {
|
|
12992
|
-
readonly 'market': io.flow.internal.v0.unions.MarketingGatewayPlatformMarket;
|
|
12993
|
-
readonly 'experience': io.flow.internal.v0.models.MarketingGatewayExperience;
|
|
12994
|
-
readonly 'existing_market_id': string;
|
|
13007
|
+
readonly 'apibuilder': string;
|
|
12995
13008
|
}
|
|
12996
13009
|
interface MarketingGatewayDistributionChannelGoogle {
|
|
12997
13010
|
readonly 'discriminator': 'marketing_gateway_distribution_channel_google';
|
|
@@ -13138,12 +13151,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13138
13151
|
readonly 'last_uploaded'?: string;
|
|
13139
13152
|
readonly 'statistics'?: io.flow.internal.v0.models.MarketingGatewayGoogleFeedStatistics;
|
|
13140
13153
|
}
|
|
13141
|
-
interface MarketingGatewayGoogleFeedChildForm {
|
|
13142
|
-
readonly 'country': string;
|
|
13143
|
-
readonly 'currency': string;
|
|
13144
|
-
readonly 'language': string;
|
|
13145
|
-
readonly 'parent_id': string;
|
|
13146
|
-
}
|
|
13147
13154
|
interface MarketingGatewayGoogleFeedParent {
|
|
13148
13155
|
readonly 'discriminator': 'marketing_gateway_google_feed_parent';
|
|
13149
13156
|
readonly 'id': string;
|
|
@@ -13155,10 +13162,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13155
13162
|
readonly 'last_uploaded'?: string;
|
|
13156
13163
|
readonly 'statistics'?: io.flow.internal.v0.models.MarketingGatewayGoogleFeedStatistics;
|
|
13157
13164
|
}
|
|
13158
|
-
interface MarketingGatewayGoogleFeedParentWithChildrenForm {
|
|
13159
|
-
readonly 'parent': io.flow.internal.v0.models.MarketingGatewayGoogleFeedParent;
|
|
13160
|
-
readonly 'children_forms': io.flow.internal.v0.models.MarketingGatewayGoogleFeedChildForm[];
|
|
13161
|
-
}
|
|
13162
13165
|
interface MarketingGatewayGoogleFeedStatistics {
|
|
13163
13166
|
readonly 'active_count': number;
|
|
13164
13167
|
readonly 'expiring_count': number;
|
|
@@ -13344,11 +13347,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13344
13347
|
readonly 'source': io.flow.internal.v0.unions.MarketingGatewayItem;
|
|
13345
13348
|
readonly 'localized': io.flow.internal.v0.unions.MarketingGatewayItem;
|
|
13346
13349
|
}
|
|
13347
|
-
interface MarketingGatewayProductResult {
|
|
13348
|
-
readonly 'base_product': io.flow.internal.v0.unions.MarketingGatewayProduct;
|
|
13349
|
-
readonly 'configured_product'?: io.flow.internal.v0.unions.MarketingGatewayProduct;
|
|
13350
|
-
readonly 'configurer_experience'?: io.flow.internal.v0.models.MarketingGatewayExperience;
|
|
13351
|
-
}
|
|
13352
13350
|
interface MarketingGatewayProductsStatusCount {
|
|
13353
13351
|
readonly 'status': io.flow.internal.v0.enums.MarketingGatewayProductStatus;
|
|
13354
13352
|
readonly 'count': number;
|
|
@@ -15292,6 +15290,7 @@ export declare type CountryPickerExperienceData = io.flow.internal.v0.models.Cou
|
|
|
15292
15290
|
export declare type CountryPickerPaymentMethod = io.flow.internal.v0.models.CountryPickerPaymentMethod;
|
|
15293
15291
|
export declare type CrossdockTrackingStatus = io.flow.internal.v0.enums.CrossdockTrackingStatus;
|
|
15294
15292
|
export declare type CustomerPurgeUpserted = io.flow.internal.v0.models.CustomerPurgeUpserted;
|
|
15293
|
+
export declare type CustomerSecret = io.flow.internal.v0.models.CustomerSecret;
|
|
15295
15294
|
export declare type Customs = io.flow.internal.v0.models.Customs;
|
|
15296
15295
|
export declare type CustomsDescriptionImport = io.flow.internal.v0.models.CustomsDescriptionImport;
|
|
15297
15296
|
export declare type CustomsDescriptionStatistics = io.flow.internal.v0.models.CustomsDescriptionStatistics;
|
|
@@ -15569,11 +15568,9 @@ export declare type MagentoInstallForm = io.flow.internal.v0.models.MagentoInsta
|
|
|
15569
15568
|
export declare type ManualTransaction = io.flow.internal.v0.models.ManualTransaction;
|
|
15570
15569
|
export declare type ManualTransactionForm = io.flow.internal.v0.models.ManualTransactionForm;
|
|
15571
15570
|
export declare type MarketingGatewayAccountConnection = io.flow.internal.v0.models.MarketingGatewayAccountConnection;
|
|
15572
|
-
export declare type MarketingGatewayAccountMarkets = io.flow.internal.v0.models.MarketingGatewayAccountMarkets;
|
|
15573
15571
|
export declare type MarketingGatewayChannelForm = io.flow.internal.v0.models.MarketingGatewayChannelForm;
|
|
15574
15572
|
export declare type MarketingGatewayChannelSourceSummary = io.flow.internal.v0.models.MarketingGatewayChannelSourceSummary;
|
|
15575
15573
|
export declare type MarketingGatewayConfiguredMarket = io.flow.internal.v0.models.MarketingGatewayConfiguredMarket;
|
|
15576
|
-
export declare type MarketingGatewayConfiguredMarketForm = io.flow.internal.v0.models.MarketingGatewayConfiguredMarketForm;
|
|
15577
15574
|
export declare type MarketingGatewayDistributionChannel = io.flow.internal.v0.unions.MarketingGatewayDistributionChannel;
|
|
15578
15575
|
export declare type MarketingGatewayDistributionChannelGoogle = io.flow.internal.v0.models.MarketingGatewayDistributionChannelGoogle;
|
|
15579
15576
|
export declare type MarketingGatewayExperience = io.flow.internal.v0.models.MarketingGatewayExperience;
|
|
@@ -15603,9 +15600,7 @@ export declare type MarketingGatewayGoogleCustomLabels = io.flow.internal.v0.mod
|
|
|
15603
15600
|
export declare type MarketingGatewayGoogleCustomProductShippingLocation = io.flow.internal.v0.models.MarketingGatewayGoogleCustomProductShippingLocation;
|
|
15604
15601
|
export declare type MarketingGatewayGoogleFeed = io.flow.internal.v0.unions.MarketingGatewayGoogleFeed;
|
|
15605
15602
|
export declare type MarketingGatewayGoogleFeedChild = io.flow.internal.v0.models.MarketingGatewayGoogleFeedChild;
|
|
15606
|
-
export declare type MarketingGatewayGoogleFeedChildForm = io.flow.internal.v0.models.MarketingGatewayGoogleFeedChildForm;
|
|
15607
15603
|
export declare type MarketingGatewayGoogleFeedParent = io.flow.internal.v0.models.MarketingGatewayGoogleFeedParent;
|
|
15608
|
-
export declare type MarketingGatewayGoogleFeedParentWithChildrenForm = io.flow.internal.v0.models.MarketingGatewayGoogleFeedParentWithChildrenForm;
|
|
15609
15604
|
export declare type MarketingGatewayGoogleFeedProcessingStatus = io.flow.internal.v0.enums.MarketingGatewayGoogleFeedProcessingStatus;
|
|
15610
15605
|
export declare type MarketingGatewayGoogleFeedStatistics = io.flow.internal.v0.models.MarketingGatewayGoogleFeedStatistics;
|
|
15611
15606
|
export declare type MarketingGatewayGoogleIssueScope = io.flow.internal.v0.unions.MarketingGatewayGoogleIssueScope;
|
|
@@ -15643,13 +15638,11 @@ export declare type MarketingGatewayLocalizedItem = io.flow.internal.v0.models.M
|
|
|
15643
15638
|
export declare type MarketingGatewayPlatform = io.flow.internal.v0.enums.MarketingGatewayPlatform;
|
|
15644
15639
|
export declare type MarketingGatewayPlatformMarket = io.flow.internal.v0.unions.MarketingGatewayPlatformMarket;
|
|
15645
15640
|
export declare type MarketingGatewayProduct = io.flow.internal.v0.unions.MarketingGatewayProduct;
|
|
15646
|
-
export declare type MarketingGatewayProductResult = io.flow.internal.v0.models.MarketingGatewayProductResult;
|
|
15647
15641
|
export declare type MarketingGatewayProductStatus = io.flow.internal.v0.enums.MarketingGatewayProductStatus;
|
|
15648
15642
|
export declare type MarketingGatewayProductsStatusCount = io.flow.internal.v0.models.MarketingGatewayProductsStatusCount;
|
|
15649
15643
|
export declare type MarketingGatewaySchemaCompatibility = io.flow.internal.v0.enums.MarketingGatewaySchemaCompatibility;
|
|
15650
15644
|
export declare type MarketingGatewaySchemaSummary = io.flow.internal.v0.models.MarketingGatewaySchemaSummary;
|
|
15651
15645
|
export declare type MarketingGatewaySourceSummary = io.flow.internal.v0.unions.MarketingGatewaySourceSummary;
|
|
15652
|
-
export declare type MarketingGatewaySyncStatus = io.flow.internal.v0.enums.MarketingGatewaySyncStatus;
|
|
15653
15646
|
export declare type MasterTransaction = io.flow.internal.v0.models.MasterTransaction;
|
|
15654
15647
|
export declare type MasterTransactionDeleted = io.flow.internal.v0.models.MasterTransactionDeleted;
|
|
15655
15648
|
export declare type MasterTransactionUpserted = io.flow.internal.v0.models.MasterTransactionUpserted;
|
package/dist/api.d.ts
CHANGED
|
@@ -317,7 +317,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
317
317
|
readonly 'requires_shipping': boolean;
|
|
318
318
|
readonly 'currency'?: string;
|
|
319
319
|
readonly 'items': io.flow.shopify.external.v0.models.ShopifyCartItem[];
|
|
320
|
-
readonly 'cart_level_discount_applications'
|
|
320
|
+
readonly 'cart_level_discount_applications'?: io.flow.shopify.external.v0.models.ShopifyDiscountApplication[];
|
|
321
321
|
}
|
|
322
322
|
interface ShopifyCartItem {
|
|
323
323
|
readonly 'id': number;
|
|
@@ -331,7 +331,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
331
331
|
readonly 'original_line_price': number;
|
|
332
332
|
readonly 'total_discount': number;
|
|
333
333
|
readonly 'discounted_price': number;
|
|
334
|
-
readonly 'discounts'
|
|
334
|
+
readonly 'discounts'?: io.flow.shopify.external.v0.models.ShopifyCartItemDiscount[];
|
|
335
335
|
readonly 'taxable': boolean;
|
|
336
336
|
readonly 'quantity': number;
|
|
337
337
|
readonly 'sku'?: string;
|
|
@@ -349,8 +349,8 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
349
349
|
readonly 'product_description'?: string;
|
|
350
350
|
readonly 'product_type': string;
|
|
351
351
|
readonly 'variant_title'?: string;
|
|
352
|
-
readonly 'variant_options'
|
|
353
|
-
readonly 'line_level_discount_allocations'
|
|
352
|
+
readonly 'variant_options'?: string[];
|
|
353
|
+
readonly 'line_level_discount_allocations'?: io.flow.shopify.external.v0.models.ShopifyLineLevelDiscountAllocation[];
|
|
354
354
|
}
|
|
355
355
|
interface ShopifyCartItemDiscount {
|
|
356
356
|
readonly 'amount': number;
|
|
@@ -372,7 +372,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
372
372
|
readonly 'tax_exempt': boolean;
|
|
373
373
|
readonly 'verified_email': boolean;
|
|
374
374
|
readonly 'state': io.flow.shopify.external.v0.enums.ShopifyCustomerState;
|
|
375
|
-
readonly 'accepts_marketing'
|
|
375
|
+
readonly 'accepts_marketing'?: boolean;
|
|
376
376
|
readonly 'default_address'?: any;
|
|
377
377
|
readonly 'email'?: string;
|
|
378
378
|
readonly 'first_name'?: string;
|
|
@@ -543,7 +543,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
543
543
|
readonly 'vendor'?: string;
|
|
544
544
|
readonly 'name'?: string;
|
|
545
545
|
readonly 'gift_card': boolean;
|
|
546
|
-
readonly 'properties':
|
|
546
|
+
readonly 'properties': io.flow.shopify.external.v0.models.ShopifyProperty[];
|
|
547
547
|
readonly 'taxable': boolean;
|
|
548
548
|
readonly 'tax_lines': io.flow.shopify.external.v0.models.ShopifyTaxLine[];
|
|
549
549
|
readonly 'total_discount'?: string;
|
|
@@ -564,7 +564,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
564
564
|
readonly 'vendor'?: string;
|
|
565
565
|
readonly 'name'?: string;
|
|
566
566
|
readonly 'gift_card': boolean;
|
|
567
|
-
readonly 'properties'?: io.flow.shopify.external.v0.models.
|
|
567
|
+
readonly 'properties'?: io.flow.shopify.external.v0.models.ShopifyProperty[];
|
|
568
568
|
readonly 'taxable': boolean;
|
|
569
569
|
readonly 'tax_lines': io.flow.shopify.external.v0.models.ShopifyTaxLine[];
|
|
570
570
|
readonly 'total_discount'?: string;
|
|
@@ -644,11 +644,11 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
644
644
|
readonly 'updated_at'?: string;
|
|
645
645
|
readonly 'user_id'?: number;
|
|
646
646
|
readonly 'order_status_url'?: string;
|
|
647
|
-
readonly 'inventory_behaviour'
|
|
647
|
+
readonly 'inventory_behaviour'?: io.flow.shopify.external.v0.enums.InventoryBehaviour;
|
|
648
648
|
readonly 'gateway'?: string;
|
|
649
649
|
readonly 'transactions'?: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
|
|
650
650
|
readonly 'send_receipt'?: boolean;
|
|
651
|
-
readonly 'metafields'
|
|
651
|
+
readonly 'metafields'?: io.flow.shopify.external.v0.models.MetafieldForm[];
|
|
652
652
|
}
|
|
653
653
|
interface ShopifyOrderCount {
|
|
654
654
|
readonly 'count': number;
|
|
@@ -669,6 +669,10 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
669
669
|
readonly 'credit_card_number': string;
|
|
670
670
|
readonly 'cvv_result_code'?: string;
|
|
671
671
|
}
|
|
672
|
+
interface ShopifyProperty {
|
|
673
|
+
readonly 'name': string;
|
|
674
|
+
readonly 'value': any;
|
|
675
|
+
}
|
|
672
676
|
interface ShopifyRefund {
|
|
673
677
|
readonly 'id': number;
|
|
674
678
|
readonly 'order_id': number;
|
|
@@ -765,7 +769,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
765
769
|
}
|
|
766
770
|
interface ShopifyWebhookOrder {
|
|
767
771
|
readonly 'id'?: number;
|
|
768
|
-
readonly 'line_items'
|
|
772
|
+
readonly 'line_items'?: io.flow.shopify.external.v0.models.ShopifyWebhookOrderLineItem[];
|
|
769
773
|
}
|
|
770
774
|
interface ShopifyWebhookOrderCancelled {
|
|
771
775
|
readonly 'id': number;
|
|
@@ -809,6 +813,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
809
813
|
}
|
|
810
814
|
}
|
|
811
815
|
declare namespace io.flow.v0.enums {
|
|
816
|
+
type AbandonedOrderSettingStatus = 'active' | 'inactive';
|
|
812
817
|
type AdjustmentReasonKey = 'duty_deminimis' | 'vat_deminimis';
|
|
813
818
|
type Aggregate = 'maximum' | 'minimum';
|
|
814
819
|
type AttributeDataType = 'boolean' | 'decimal' | 'string' | 'json_array';
|
|
@@ -847,6 +852,8 @@ declare namespace io.flow.v0.enums {
|
|
|
847
852
|
type DeliveryWindowComponentSource = 'flow' | 'organization' | 'carrier' | 'center' | 'mixed';
|
|
848
853
|
type DeliveryWindowLocation = 'center' | 'crossdock' | 'customer';
|
|
849
854
|
type Direction = 'outbound' | 'return';
|
|
855
|
+
type DiscountRuleStatus = 'active' | 'scheduled' | 'expired';
|
|
856
|
+
type DiscountRuleSubsidyTarget = 'vat' | 'duty';
|
|
850
857
|
type DiscountTarget = 'item' | 'shipping';
|
|
851
858
|
type EcommercePlatformType = 'commercetools' | 'custom' | 'magento' | 'shopify' | 'sfcc' | 'solidus' | 'workarea';
|
|
852
859
|
type EconomicTitleLocation = 'high_seas' | 'origination' | 'destination';
|
|
@@ -958,6 +965,14 @@ declare namespace io.flow.v0.enums {
|
|
|
958
965
|
type ZeroAmountIndicator = 'zero' | 'free';
|
|
959
966
|
}
|
|
960
967
|
declare namespace io.flow.v0.models {
|
|
968
|
+
interface AbandonedOrderEmailSettings {
|
|
969
|
+
readonly 'delay': io.flow.v0.models.Duration;
|
|
970
|
+
readonly 'frequency': io.flow.v0.models.Duration;
|
|
971
|
+
}
|
|
972
|
+
interface AbandonedOrderSettings {
|
|
973
|
+
readonly 'email_settings': io.flow.v0.models.AbandonedOrderEmailSettings;
|
|
974
|
+
readonly 'status': io.flow.v0.enums.AbandonedOrderSettingStatus;
|
|
975
|
+
}
|
|
961
976
|
interface AccountOrdersExportType {
|
|
962
977
|
readonly 'discriminator': 'account_orders_export_type';
|
|
963
978
|
readonly 'statement_id'?: string;
|
|
@@ -1486,7 +1501,7 @@ declare namespace io.flow.v0.models {
|
|
|
1486
1501
|
readonly 'requested'?: io.flow.v0.models.Money;
|
|
1487
1502
|
readonly 'created_at': string;
|
|
1488
1503
|
readonly 'attributes'?: Record<string, string>;
|
|
1489
|
-
readonly 'status'
|
|
1504
|
+
readonly 'status': io.flow.v0.enums.CaptureStatus;
|
|
1490
1505
|
readonly 'base'?: io.flow.v0.models.Money;
|
|
1491
1506
|
}
|
|
1492
1507
|
interface CaptureDeleted {
|
|
@@ -1563,7 +1578,7 @@ declare namespace io.flow.v0.models {
|
|
|
1563
1578
|
readonly 'discriminator': 'card_authorization';
|
|
1564
1579
|
readonly 'id': string;
|
|
1565
1580
|
readonly 'key': string;
|
|
1566
|
-
readonly 'merchant_of_record'
|
|
1581
|
+
readonly 'merchant_of_record': io.flow.v0.enums.MerchantOfRecord;
|
|
1567
1582
|
readonly 'method'?: io.flow.v0.models.PaymentMethod;
|
|
1568
1583
|
readonly 'card': io.flow.v0.unions.ExpandableCard;
|
|
1569
1584
|
readonly 'amount': number;
|
|
@@ -2583,6 +2598,33 @@ declare namespace io.flow.v0.models {
|
|
|
2583
2598
|
readonly 'discriminator': 'discount_offer_percent';
|
|
2584
2599
|
readonly 'percent': number;
|
|
2585
2600
|
}
|
|
2601
|
+
interface DiscountRule {
|
|
2602
|
+
readonly 'offers': io.flow.v0.models.DiscountRuleOffer[];
|
|
2603
|
+
}
|
|
2604
|
+
interface DiscountRuleOffer {
|
|
2605
|
+
readonly 'discount': io.flow.v0.unions.DiscountOffer;
|
|
2606
|
+
readonly 'entitlement': io.flow.v0.unions.DiscountRuleEntitlement;
|
|
2607
|
+
}
|
|
2608
|
+
interface DiscountRuleSettings {
|
|
2609
|
+
readonly 'id': string;
|
|
2610
|
+
readonly 'name': string;
|
|
2611
|
+
readonly 'from': string;
|
|
2612
|
+
readonly 'to'?: string;
|
|
2613
|
+
readonly 'status': io.flow.v0.enums.DiscountRuleStatus;
|
|
2614
|
+
readonly 'experience_keys': string[];
|
|
2615
|
+
readonly 'rule': io.flow.v0.models.DiscountRule;
|
|
2616
|
+
}
|
|
2617
|
+
interface DiscountRuleSettingsForm {
|
|
2618
|
+
readonly 'name': string;
|
|
2619
|
+
readonly 'from': string;
|
|
2620
|
+
readonly 'to'?: string;
|
|
2621
|
+
readonly 'experience_keys': string[];
|
|
2622
|
+
readonly 'rule': io.flow.v0.models.DiscountRule;
|
|
2623
|
+
}
|
|
2624
|
+
interface DiscountRuleSubsidyEntitlement {
|
|
2625
|
+
readonly 'discriminator': 'subsidy';
|
|
2626
|
+
readonly 'targets': io.flow.v0.enums.DiscountRuleSubsidyTarget[];
|
|
2627
|
+
}
|
|
2586
2628
|
interface DiscountsForm {
|
|
2587
2629
|
readonly 'discounts': io.flow.v0.models.DiscountForm[];
|
|
2588
2630
|
}
|
|
@@ -3578,7 +3620,7 @@ declare namespace io.flow.v0.models {
|
|
|
3578
3620
|
readonly 'organization': string;
|
|
3579
3621
|
readonly 'email': string;
|
|
3580
3622
|
readonly 'name'?: io.flow.v0.models.Name;
|
|
3581
|
-
readonly 'role'
|
|
3623
|
+
readonly 'role': io.flow.v0.enums.Role;
|
|
3582
3624
|
readonly 'roles'?: io.flow.v0.unions.FlowRole[];
|
|
3583
3625
|
}
|
|
3584
3626
|
interface InvitationVersion {
|
|
@@ -4006,7 +4048,7 @@ declare namespace io.flow.v0.models {
|
|
|
4006
4048
|
readonly 'base': io.flow.v0.models.Price;
|
|
4007
4049
|
readonly 'name': string;
|
|
4008
4050
|
readonly 'adjustment'?: io.flow.v0.models.LocalizedAdjustment;
|
|
4009
|
-
readonly 'accuracy'
|
|
4051
|
+
readonly 'accuracy': io.flow.v0.enums.PriceAccuracy;
|
|
4010
4052
|
readonly 'basis'?: io.flow.v0.models.MoneyWithBase;
|
|
4011
4053
|
}
|
|
4012
4054
|
interface LocalizedLineItem {
|
|
@@ -4107,12 +4149,12 @@ declare namespace io.flow.v0.models {
|
|
|
4107
4149
|
interface MembershipForm {
|
|
4108
4150
|
readonly 'organization': string;
|
|
4109
4151
|
readonly 'user': string;
|
|
4110
|
-
readonly 'role'
|
|
4111
|
-
readonly 'roles'
|
|
4152
|
+
readonly 'role': io.flow.v0.enums.Role;
|
|
4153
|
+
readonly 'roles': io.flow.v0.unions.FlowRole[];
|
|
4112
4154
|
}
|
|
4113
4155
|
interface MembershipPutForm {
|
|
4114
|
-
readonly 'role'
|
|
4115
|
-
readonly 'roles'
|
|
4156
|
+
readonly 'role': io.flow.v0.enums.Role;
|
|
4157
|
+
readonly 'roles': io.flow.v0.unions.FlowRole[];
|
|
4116
4158
|
}
|
|
4117
4159
|
interface MembershipUpsertedV2 {
|
|
4118
4160
|
readonly 'discriminator': 'membership_upserted_v2';
|
|
@@ -4263,7 +4305,7 @@ declare namespace io.flow.v0.models {
|
|
|
4263
4305
|
readonly 'id': string;
|
|
4264
4306
|
readonly 'key': string;
|
|
4265
4307
|
readonly 'method'?: io.flow.v0.models.PaymentMethod;
|
|
4266
|
-
readonly 'merchant_of_record'
|
|
4308
|
+
readonly 'merchant_of_record': io.flow.v0.enums.MerchantOfRecord;
|
|
4267
4309
|
readonly 'details'?: io.flow.v0.unions.OnlineAuthorizationDetails;
|
|
4268
4310
|
readonly 'payment'?: any;
|
|
4269
4311
|
readonly 'amount': number;
|
|
@@ -4593,7 +4635,7 @@ declare namespace io.flow.v0.models {
|
|
|
4593
4635
|
readonly 'components': io.flow.v0.models.OrderPriceDetailComponent[];
|
|
4594
4636
|
readonly 'name'?: string;
|
|
4595
4637
|
readonly 'rate'?: number;
|
|
4596
|
-
readonly 'accuracy'
|
|
4638
|
+
readonly 'accuracy': io.flow.v0.enums.PriceAccuracy;
|
|
4597
4639
|
readonly 'rate_label'?: string;
|
|
4598
4640
|
}
|
|
4599
4641
|
interface OrderPriceDetailComponent {
|
|
@@ -5185,7 +5227,7 @@ declare namespace io.flow.v0.models {
|
|
|
5185
5227
|
readonly 'currency': string;
|
|
5186
5228
|
readonly 'name': string;
|
|
5187
5229
|
readonly 'includes': io.flow.v0.enums.IncludedLevyKey;
|
|
5188
|
-
readonly 'status'
|
|
5230
|
+
readonly 'status': io.flow.v0.enums.PriceBookStatus;
|
|
5189
5231
|
}
|
|
5190
5232
|
interface PriceBookItem {
|
|
5191
5233
|
readonly 'id': string;
|
|
@@ -5593,7 +5635,7 @@ declare namespace io.flow.v0.models {
|
|
|
5593
5635
|
readonly 'origination_zones': io.flow.v0.models.Zone[];
|
|
5594
5636
|
readonly 'service': string;
|
|
5595
5637
|
readonly 'number'?: string;
|
|
5596
|
-
readonly 'ratecard_owner'
|
|
5638
|
+
readonly 'ratecard_owner': io.flow.v0.enums.RatecardOwner;
|
|
5597
5639
|
}
|
|
5598
5640
|
interface RatecardLane {
|
|
5599
5641
|
readonly 'id': string;
|
|
@@ -5740,7 +5782,7 @@ declare namespace io.flow.v0.models {
|
|
|
5740
5782
|
readonly 'captures': io.flow.v0.models.RefundCaptureSummary[];
|
|
5741
5783
|
readonly 'created_at': string;
|
|
5742
5784
|
readonly 'attributes'?: Record<string, string>;
|
|
5743
|
-
readonly 'status'
|
|
5785
|
+
readonly 'status': io.flow.v0.enums.RefundStatus;
|
|
5744
5786
|
readonly 'base'?: io.flow.v0.models.Money;
|
|
5745
5787
|
}
|
|
5746
5788
|
interface RefundCapture {
|
|
@@ -5750,7 +5792,7 @@ declare namespace io.flow.v0.models {
|
|
|
5750
5792
|
readonly 'amount': number;
|
|
5751
5793
|
readonly 'currency': string;
|
|
5752
5794
|
readonly 'base': io.flow.v0.models.Money;
|
|
5753
|
-
readonly 'status'
|
|
5795
|
+
readonly 'status': io.flow.v0.enums.RefundStatus;
|
|
5754
5796
|
}
|
|
5755
5797
|
interface RefundCaptureSummary {
|
|
5756
5798
|
readonly 'capture': io.flow.v0.models.Capture;
|
|
@@ -7200,6 +7242,7 @@ declare namespace io.flow.v0.unions {
|
|
|
7200
7242
|
type Delivery = (io.flow.v0.models.DigitalDelivery | io.flow.v0.models.PhysicalDelivery);
|
|
7201
7243
|
type Deminimis = (io.flow.v0.models.DeminimisSimple | io.flow.v0.models.DeminimisPerItem);
|
|
7202
7244
|
type DiscountOffer = (io.flow.v0.models.DiscountOfferFixed | io.flow.v0.models.DiscountOfferPercent);
|
|
7245
|
+
type DiscountRuleEntitlement = (io.flow.v0.models.DiscountRuleSubsidyEntitlement);
|
|
7203
7246
|
type Document = (io.flow.v0.models.CatalogItemDocument | io.flow.v0.models.HarmonizationDocument);
|
|
7204
7247
|
type EmailNotificationData = (io.flow.v0.models.EmailNotificationDataRefund | io.flow.v0.models.EmailNotificationAbandonedOrder);
|
|
7205
7248
|
type Event = (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.CatalogItemUpserted | io.flow.v0.models.CatalogItemDeleted | io.flow.v0.models.CatalogItemUpsertedV2 | io.flow.v0.models.CatalogItemDeletedV2 | io.flow.v0.models.SubcatalogItemUpserted | io.flow.v0.models.SubcatalogItemDeleted | 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.CustomerUpserted | io.flow.v0.models.CustomerDeleted | io.flow.v0.models.CustomerAddressBookContactUpserted | io.flow.v0.models.CustomerAddressBookContactDeleted | io.flow.v0.models.EmailNotificationUpserted | io.flow.v0.models.EmailNotificationDeleted | io.flow.v0.models.AvailablePromotionsUpserted | io.flow.v0.models.AvailablePromotionsDeleted | io.flow.v0.models.AvailablePromotionsUpsertedV2 | io.flow.v0.models.AvailablePromotionsDeletedV2 | io.flow.v0.models.AllocationDeletedV2 | io.flow.v0.models.AllocationUpsertedV2 | io.flow.v0.models.CurrencyFormatDeleted | io.flow.v0.models.CurrencyFormatUpserted | io.flow.v0.models.ExperienceDeleted | io.flow.v0.models.ExperienceUpserted | io.flow.v0.models.ExperienceDeletedV2 | io.flow.v0.models.ExperienceUpsertedV2 | io.flow.v0.models.ExperiencePriceBookMappingDeleted | io.flow.v0.models.ExperiencePriceBookMappingUpserted | io.flow.v0.models.ExperienceLogisticsSettingsUpserted | io.flow.v0.models.ExperienceLogisticsSettingsDeleted | io.flow.v0.models.ItemMarginDeleted | io.flow.v0.models.ItemMarginUpserted | io.flow.v0.models.ItemSalesMarginDeleted | io.flow.v0.models.ItemSalesMarginUpserted | io.flow.v0.models.LabelFormatDeleted | io.flow.v0.models.LabelFormatUpserted | io.flow.v0.models.OrderDeleted | io.flow.v0.models.OrderUpserted | io.flow.v0.models.OrderDeletedV2 | io.flow.v0.models.OrderUpsertedV2 | io.flow.v0.models.OrderIdentifierDeleted | io.flow.v0.models.OrderIdentifierUpserted | io.flow.v0.models.OrderIdentifierDeletedV2 | io.flow.v0.models.OrderIdentifierUpsertedV2 | io.flow.v0.models.OrderIdentifierUpsertedV3 | io.flow.v0.models.PricingDeleted | io.flow.v0.models.PricingUpserted | io.flow.v0.models.OrderServiceChangeRequest | 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.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.RuleUpserted | io.flow.v0.models.RuleDeleted | io.flow.v0.models.SnapshotUpserted | io.flow.v0.models.SnapshotDeleted | io.flow.v0.models.LabelUpserted | io.flow.v0.models.LabelDeletedV2 | io.flow.v0.models.LabelUpsertedV2 | io.flow.v0.models.NotificationUpserted | io.flow.v0.models.NotificationDeleted | io.flow.v0.models.ManifestedLabelUpserted | io.flow.v0.models.ManifestedLabelDeleted | io.flow.v0.models.LocalItemUpserted | io.flow.v0.models.LocalItemDeleted | io.flow.v0.models.CheckoutOptinResponsesUpserted | io.flow.v0.models.CheckoutOptinResponsesDeleted | io.flow.v0.models.BrowseOptinResponsesUpserted | io.flow.v0.models.BrowseOptinResponsesDeleted | io.flow.v0.models.OrderPlaced | io.flow.v0.models.OrderPlacedV2 | io.flow.v0.models.ReadyToFulfill | 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.OrganizationShortIdUpserted | io.flow.v0.models.OrganizationShortIdDeleted | io.flow.v0.models.OrganizationDefaultConfigurationsUpserted | io.flow.v0.models.OrganizationDefaultConfigurationsDeleted | io.flow.v0.models.EcommercePlatformUpserted | io.flow.v0.models.EcommercePlatformDeleted | 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.PriceBookUpserted | io.flow.v0.models.PriceBookDeleted | io.flow.v0.models.PriceBookItemUpserted | io.flow.v0.models.PriceBookItemDeleted | 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.ReturnUpserted | io.flow.v0.models.ReturnDeleted | io.flow.v0.models.ShopifyLocalizationSettingUpserted | io.flow.v0.models.ShopifyLocalizationSettingDeleted | io.flow.v0.models.TrackingLabelEventUpserted);
|
|
@@ -7264,6 +7307,9 @@ declare namespace io.flow.v0.unions {
|
|
|
7264
7307
|
type Token = (io.flow.v0.models.OrganizationToken | io.flow.v0.models.PartnerToken);
|
|
7265
7308
|
type TokenReference = (io.flow.v0.models.OrganizationTokenReference | io.flow.v0.models.PartnerTokenReference);
|
|
7266
7309
|
}
|
|
7310
|
+
export declare type AbandonedOrderEmailSettings = io.flow.v0.models.AbandonedOrderEmailSettings;
|
|
7311
|
+
export declare type AbandonedOrderSettingStatus = io.flow.v0.enums.AbandonedOrderSettingStatus;
|
|
7312
|
+
export declare type AbandonedOrderSettings = io.flow.v0.models.AbandonedOrderSettings;
|
|
7267
7313
|
export declare type AccountOrdersExportType = io.flow.v0.models.AccountOrdersExportType;
|
|
7268
7314
|
export declare type AccountTransactionsExportType = io.flow.v0.models.AccountTransactionsExportType;
|
|
7269
7315
|
export declare type AchAuthorizationForm = io.flow.v0.models.AchAuthorizationForm;
|
|
@@ -7568,6 +7614,14 @@ export declare type DiscountForm = io.flow.v0.models.DiscountForm;
|
|
|
7568
7614
|
export declare type DiscountOffer = io.flow.v0.unions.DiscountOffer;
|
|
7569
7615
|
export declare type DiscountOfferFixed = io.flow.v0.models.DiscountOfferFixed;
|
|
7570
7616
|
export declare type DiscountOfferPercent = io.flow.v0.models.DiscountOfferPercent;
|
|
7617
|
+
export declare type DiscountRule = io.flow.v0.models.DiscountRule;
|
|
7618
|
+
export declare type DiscountRuleEntitlement = io.flow.v0.unions.DiscountRuleEntitlement;
|
|
7619
|
+
export declare type DiscountRuleOffer = io.flow.v0.models.DiscountRuleOffer;
|
|
7620
|
+
export declare type DiscountRuleSettings = io.flow.v0.models.DiscountRuleSettings;
|
|
7621
|
+
export declare type DiscountRuleSettingsForm = io.flow.v0.models.DiscountRuleSettingsForm;
|
|
7622
|
+
export declare type DiscountRuleStatus = io.flow.v0.enums.DiscountRuleStatus;
|
|
7623
|
+
export declare type DiscountRuleSubsidyEntitlement = io.flow.v0.models.DiscountRuleSubsidyEntitlement;
|
|
7624
|
+
export declare type DiscountRuleSubsidyTarget = io.flow.v0.enums.DiscountRuleSubsidyTarget;
|
|
7571
7625
|
export declare type DiscountTarget = io.flow.v0.enums.DiscountTarget;
|
|
7572
7626
|
export declare type DiscountsForm = io.flow.v0.models.DiscountsForm;
|
|
7573
7627
|
export declare type Document = io.flow.v0.unions.Document;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.2.0",
|
|
4
4
|
"description": "TypeScript type definitions for custom types found in Flow API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"prettier": "^1.18.2",
|
|
28
28
|
"typescript": "3.8.3"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "0cf1456a1a8faed12e3684f000c965e9a700361c"
|
|
31
31
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -2636,7 +2636,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2636
2636
|
readonly 'requires_shipping': boolean;
|
|
2637
2637
|
readonly 'currency'?: string;
|
|
2638
2638
|
readonly 'items': io.flow.shopify.external.v0.models.ShopifyCartItem[];
|
|
2639
|
-
readonly 'cart_level_discount_applications'
|
|
2639
|
+
readonly 'cart_level_discount_applications'?: io.flow.shopify.external.v0.models.ShopifyDiscountApplication[];
|
|
2640
2640
|
}
|
|
2641
2641
|
|
|
2642
2642
|
interface ShopifyCartItem {
|
|
@@ -2651,7 +2651,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2651
2651
|
readonly 'original_line_price': number;
|
|
2652
2652
|
readonly 'total_discount': number;
|
|
2653
2653
|
readonly 'discounted_price': number;
|
|
2654
|
-
readonly 'discounts'
|
|
2654
|
+
readonly 'discounts'?: io.flow.shopify.external.v0.models.ShopifyCartItemDiscount[];
|
|
2655
2655
|
readonly 'taxable': boolean;
|
|
2656
2656
|
readonly 'quantity': number;
|
|
2657
2657
|
readonly 'sku'?: string;
|
|
@@ -2669,8 +2669,8 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2669
2669
|
readonly 'product_description'?: string;
|
|
2670
2670
|
readonly 'product_type': string;
|
|
2671
2671
|
readonly 'variant_title'?: string;
|
|
2672
|
-
readonly 'variant_options'
|
|
2673
|
-
readonly 'line_level_discount_allocations'
|
|
2672
|
+
readonly 'variant_options'?: string[];
|
|
2673
|
+
readonly 'line_level_discount_allocations'?: io.flow.shopify.external.v0.models.ShopifyLineLevelDiscountAllocation[];
|
|
2674
2674
|
}
|
|
2675
2675
|
|
|
2676
2676
|
interface ShopifyCartItemDiscount {
|
|
@@ -2695,7 +2695,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2695
2695
|
readonly 'tax_exempt': boolean;
|
|
2696
2696
|
readonly 'verified_email': boolean;
|
|
2697
2697
|
readonly 'state': io.flow.shopify.external.v0.enums.ShopifyCustomerState;
|
|
2698
|
-
readonly 'accepts_marketing'
|
|
2698
|
+
readonly 'accepts_marketing'?: boolean;
|
|
2699
2699
|
readonly 'default_address'?: any/*object*/;
|
|
2700
2700
|
readonly 'email'?: string;
|
|
2701
2701
|
readonly 'first_name'?: string;
|
|
@@ -2886,7 +2886,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2886
2886
|
readonly 'vendor'?: string;
|
|
2887
2887
|
readonly 'name'?: string;
|
|
2888
2888
|
readonly 'gift_card': boolean;
|
|
2889
|
-
readonly 'properties':
|
|
2889
|
+
readonly 'properties': io.flow.shopify.external.v0.models.ShopifyProperty[];
|
|
2890
2890
|
readonly 'taxable': boolean;
|
|
2891
2891
|
readonly 'tax_lines': io.flow.shopify.external.v0.models.ShopifyTaxLine[];
|
|
2892
2892
|
readonly 'total_discount'?: string;
|
|
@@ -2908,7 +2908,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2908
2908
|
readonly 'vendor'?: string;
|
|
2909
2909
|
readonly 'name'?: string;
|
|
2910
2910
|
readonly 'gift_card': boolean;
|
|
2911
|
-
readonly 'properties'?: io.flow.shopify.external.v0.models.
|
|
2911
|
+
readonly 'properties'?: io.flow.shopify.external.v0.models.ShopifyProperty[];
|
|
2912
2912
|
readonly 'taxable': boolean;
|
|
2913
2913
|
readonly 'tax_lines': io.flow.shopify.external.v0.models.ShopifyTaxLine[];
|
|
2914
2914
|
readonly 'total_discount'?: string;
|
|
@@ -2993,11 +2993,11 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2993
2993
|
readonly 'updated_at'?: string;
|
|
2994
2994
|
readonly 'user_id'?: number;
|
|
2995
2995
|
readonly 'order_status_url'?: string;
|
|
2996
|
-
readonly 'inventory_behaviour'
|
|
2996
|
+
readonly 'inventory_behaviour'?: io.flow.shopify.external.v0.enums.InventoryBehaviour;
|
|
2997
2997
|
readonly 'gateway'?: string;
|
|
2998
2998
|
readonly 'transactions'?: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
|
|
2999
2999
|
readonly 'send_receipt'?: boolean;
|
|
3000
|
-
readonly 'metafields'
|
|
3000
|
+
readonly 'metafields'?: io.flow.shopify.external.v0.models.MetafieldForm[];
|
|
3001
3001
|
}
|
|
3002
3002
|
|
|
3003
3003
|
interface ShopifyOrderCount {
|
|
@@ -3023,6 +3023,11 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
3023
3023
|
readonly 'cvv_result_code'?: string;
|
|
3024
3024
|
}
|
|
3025
3025
|
|
|
3026
|
+
interface ShopifyProperty {
|
|
3027
|
+
readonly 'name': string;
|
|
3028
|
+
readonly 'value': any/*json*/;
|
|
3029
|
+
}
|
|
3030
|
+
|
|
3026
3031
|
interface ShopifyRefund {
|
|
3027
3032
|
readonly 'id': number;
|
|
3028
3033
|
readonly 'order_id': number;
|
|
@@ -3130,7 +3135,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
3130
3135
|
|
|
3131
3136
|
interface ShopifyWebhookOrder {
|
|
3132
3137
|
readonly 'id'?: number;
|
|
3133
|
-
readonly 'line_items'
|
|
3138
|
+
readonly 'line_items'?: io.flow.shopify.external.v0.models.ShopifyWebhookOrderLineItem[];
|
|
3134
3139
|
}
|
|
3135
3140
|
|
|
3136
3141
|
interface ShopifyWebhookOrderCancelled {
|
|
@@ -5340,6 +5345,11 @@ declare namespace io.flow.country.picker.v0.models {
|
|
|
5340
5345
|
readonly 'default_currency'?: string;
|
|
5341
5346
|
}
|
|
5342
5347
|
|
|
5348
|
+
interface CountryPickerCountryData {
|
|
5349
|
+
readonly 'country': string;
|
|
5350
|
+
readonly 'delivery_window': io.flow.country.picker.v0.models.CountryPickerDeliveryWindow[];
|
|
5351
|
+
}
|
|
5352
|
+
|
|
5343
5353
|
interface CountryPickerCurrency {
|
|
5344
5354
|
readonly 'iso_4217_3': string;
|
|
5345
5355
|
readonly 'name': string;
|
|
@@ -5348,6 +5358,24 @@ declare namespace io.flow.country.picker.v0.models {
|
|
|
5348
5358
|
interface CountryPickerData {
|
|
5349
5359
|
readonly 'countries': io.flow.country.picker.v0.models.CountryPickerCountry[];
|
|
5350
5360
|
readonly 'currencies': io.flow.country.picker.v0.models.CountryPickerCurrency[];
|
|
5361
|
+
readonly 'experience_data'?: io.flow.country.picker.v0.models.CountryPickerExperienceData[];
|
|
5362
|
+
readonly 'country_data'?: io.flow.country.picker.v0.models.CountryPickerCountryData[];
|
|
5363
|
+
}
|
|
5364
|
+
|
|
5365
|
+
interface CountryPickerDeliveryWindow {
|
|
5366
|
+
readonly 'name'?: string;
|
|
5367
|
+
readonly 'from': string;
|
|
5368
|
+
readonly 'to': string;
|
|
5369
|
+
readonly 'timezone'?: string;
|
|
5370
|
+
}
|
|
5371
|
+
|
|
5372
|
+
interface CountryPickerExperienceData {
|
|
5373
|
+
readonly 'experience_key': string;
|
|
5374
|
+
readonly 'payment_methods': io.flow.country.picker.v0.models.CountryPickerPaymentMethod[];
|
|
5375
|
+
}
|
|
5376
|
+
|
|
5377
|
+
interface CountryPickerPaymentMethod {
|
|
5378
|
+
readonly 'id': string;
|
|
5351
5379
|
}
|
|
5352
5380
|
}
|
|
5353
5381
|
|
|
@@ -9943,6 +9971,7 @@ declare namespace io.flow.experiment.internal.v0.models {
|
|
|
9943
9971
|
interface ExperimentFormDefaultDiscriminatorValue {
|
|
9944
9972
|
readonly 'key': string;
|
|
9945
9973
|
readonly 'name': string;
|
|
9974
|
+
readonly 'scope': io.flow.experiment.internal.v0.enums.Scope;
|
|
9946
9975
|
}
|
|
9947
9976
|
|
|
9948
9977
|
interface ExperimentFormDefaultVariant {
|
|
@@ -11957,7 +11986,6 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
11957
11986
|
type MarketingGatewayPlatform = 'google' | 'facebook';
|
|
11958
11987
|
type MarketingGatewayProductStatus = 'approved' | 'not_approved' | 'pending' | 'not_found' | 'excluded';
|
|
11959
11988
|
type MarketingGatewaySchemaCompatibility = 'google' | 'facebook_master' | 'facebook_country_override';
|
|
11960
|
-
type MarketingGatewaySyncStatus = 'pending' | 'ongoing' | 'succeed' | 'failed';
|
|
11961
11989
|
type OrderAction = 'consumer_submit' | 'fraud_review_accept' | 'fraud_review_decline' | 'payment_fully_authorize' | 'payment_fully_capture';
|
|
11962
11990
|
type OrderAttributeIntent = 'discount_code';
|
|
11963
11991
|
type OrderChargeTrigger = 'first_shipment' | 'last_shipment' | 'shipment_exhausted';
|
|
@@ -13245,21 +13273,21 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13245
13273
|
readonly 'key': string;
|
|
13246
13274
|
readonly 'description'?: string;
|
|
13247
13275
|
readonly 'elements': Record<string, io.flow.internal.v0.models.ContentSchemaElement>;
|
|
13248
|
-
readonly 'allow_multiple'
|
|
13276
|
+
readonly 'allow_multiple': boolean;
|
|
13249
13277
|
}
|
|
13250
13278
|
|
|
13251
13279
|
interface ContentSchemaElement {
|
|
13252
13280
|
readonly 'type': io.flow.internal.v0.enums.ContentElementType;
|
|
13253
13281
|
readonly 'description'?: string;
|
|
13254
13282
|
readonly 'example'?: string;
|
|
13255
|
-
readonly 'required'
|
|
13256
|
-
readonly 'validation'
|
|
13283
|
+
readonly 'required': boolean;
|
|
13284
|
+
readonly 'validation': io.flow.internal.v0.unions.ValidationRule[];
|
|
13257
13285
|
}
|
|
13258
13286
|
|
|
13259
13287
|
interface ContentSchemaForm {
|
|
13260
13288
|
readonly 'description'?: string;
|
|
13261
13289
|
readonly 'elements': Record<string, io.flow.internal.v0.models.ContentSchemaElement>;
|
|
13262
|
-
readonly 'allow_multiple'
|
|
13290
|
+
readonly 'allow_multiple': boolean;
|
|
13263
13291
|
}
|
|
13264
13292
|
|
|
13265
13293
|
interface ContentSchemaSummary {
|
|
@@ -13315,6 +13343,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13315
13343
|
readonly 'customer': io.flow.customer.v0.models.Customer;
|
|
13316
13344
|
}
|
|
13317
13345
|
|
|
13346
|
+
interface CustomerSecret {
|
|
13347
|
+
readonly 'id': string;
|
|
13348
|
+
readonly 'secret': string;
|
|
13349
|
+
}
|
|
13350
|
+
|
|
13318
13351
|
interface Customs {
|
|
13319
13352
|
readonly 'description'?: string;
|
|
13320
13353
|
readonly 'hs6'?: string;
|
|
@@ -13898,7 +13931,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13898
13931
|
interface FeatureForm {
|
|
13899
13932
|
readonly 'name': string;
|
|
13900
13933
|
readonly 'description'?: string;
|
|
13901
|
-
readonly 'status'
|
|
13934
|
+
readonly 'status': io.flow.internal.v0.enums.FeatureStatus;
|
|
13902
13935
|
readonly 'type': io.flow.internal.v0.enums.FeatureType;
|
|
13903
13936
|
readonly 'rules': io.flow.internal.v0.unions.FeatureRuleForm[];
|
|
13904
13937
|
readonly 'default'?: io.flow.internal.v0.unions.FeatureDefaultValue;
|
|
@@ -14068,9 +14101,9 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14068
14101
|
readonly 'responsible_party': io.flow.internal.v0.enums.FraudReviewResponsibleParty;
|
|
14069
14102
|
readonly 'description'?: string;
|
|
14070
14103
|
readonly 'risk_evaluation'?: io.flow.internal.v0.enums.RiskEvaluation;
|
|
14071
|
-
readonly 'liability'
|
|
14104
|
+
readonly 'liability': io.flow.fraud.v0.enums.FraudLiability;
|
|
14072
14105
|
readonly 'status_updated_at'?: string;
|
|
14073
|
-
readonly 'attributes'
|
|
14106
|
+
readonly 'attributes': Record<string, string>;
|
|
14074
14107
|
readonly 'provider'?: io.flow.internal.v0.enums.FraudProvider;
|
|
14075
14108
|
}
|
|
14076
14109
|
|
|
@@ -14789,7 +14822,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14789
14822
|
interface LeviesItem {
|
|
14790
14823
|
readonly 'number': string;
|
|
14791
14824
|
readonly 'name': string;
|
|
14792
|
-
readonly 'categories'
|
|
14825
|
+
readonly 'categories': string[];
|
|
14793
14826
|
readonly 'attributes': Record<string, string>;
|
|
14794
14827
|
readonly 'description': string;
|
|
14795
14828
|
}
|
|
@@ -14978,10 +15011,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14978
15011
|
readonly 'apibuilder': string;
|
|
14979
15012
|
}
|
|
14980
15013
|
|
|
14981
|
-
interface MarketingGatewayAccountMarkets {
|
|
14982
|
-
readonly 'apibuilder': string;
|
|
14983
|
-
}
|
|
14984
|
-
|
|
14985
15014
|
interface MarketingGatewayChannelForm {
|
|
14986
15015
|
readonly 'platform': io.flow.internal.v0.enums.MarketingGatewayPlatform;
|
|
14987
15016
|
readonly 'account_id': number;
|
|
@@ -14994,19 +15023,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14994
15023
|
}
|
|
14995
15024
|
|
|
14996
15025
|
interface MarketingGatewayConfiguredMarket {
|
|
14997
|
-
readonly '
|
|
14998
|
-
readonly 'market': io.flow.internal.v0.unions.MarketingGatewayPlatformMarket;
|
|
14999
|
-
readonly 'experience'?: io.flow.internal.v0.models.MarketingGatewayExperience;
|
|
15000
|
-
readonly 'existing_market_id': string;
|
|
15001
|
-
readonly 'products_status_counts': io.flow.internal.v0.models.MarketingGatewayProductsStatusCount[];
|
|
15002
|
-
readonly 'sync_status': io.flow.internal.v0.enums.MarketingGatewaySyncStatus;
|
|
15003
|
-
readonly 'synced_at'?: string;
|
|
15004
|
-
}
|
|
15005
|
-
|
|
15006
|
-
interface MarketingGatewayConfiguredMarketForm {
|
|
15007
|
-
readonly 'market': io.flow.internal.v0.unions.MarketingGatewayPlatformMarket;
|
|
15008
|
-
readonly 'experience': io.flow.internal.v0.models.MarketingGatewayExperience;
|
|
15009
|
-
readonly 'existing_market_id': string;
|
|
15026
|
+
readonly 'apibuilder': string;
|
|
15010
15027
|
}
|
|
15011
15028
|
|
|
15012
15029
|
interface MarketingGatewayDistributionChannelGoogle {
|
|
@@ -15176,13 +15193,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15176
15193
|
readonly 'statistics'?: io.flow.internal.v0.models.MarketingGatewayGoogleFeedStatistics;
|
|
15177
15194
|
}
|
|
15178
15195
|
|
|
15179
|
-
interface MarketingGatewayGoogleFeedChildForm {
|
|
15180
|
-
readonly 'country': string;
|
|
15181
|
-
readonly 'currency': string;
|
|
15182
|
-
readonly 'language': string;
|
|
15183
|
-
readonly 'parent_id': string;
|
|
15184
|
-
}
|
|
15185
|
-
|
|
15186
15196
|
interface MarketingGatewayGoogleFeedParent {
|
|
15187
15197
|
readonly 'discriminator': 'marketing_gateway_google_feed_parent';
|
|
15188
15198
|
readonly 'id': string;
|
|
@@ -15195,11 +15205,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15195
15205
|
readonly 'statistics'?: io.flow.internal.v0.models.MarketingGatewayGoogleFeedStatistics;
|
|
15196
15206
|
}
|
|
15197
15207
|
|
|
15198
|
-
interface MarketingGatewayGoogleFeedParentWithChildrenForm {
|
|
15199
|
-
readonly 'parent': io.flow.internal.v0.models.MarketingGatewayGoogleFeedParent;
|
|
15200
|
-
readonly 'children_forms': io.flow.internal.v0.models.MarketingGatewayGoogleFeedChildForm[];
|
|
15201
|
-
}
|
|
15202
|
-
|
|
15203
15208
|
interface MarketingGatewayGoogleFeedStatistics {
|
|
15204
15209
|
readonly 'active_count': number;
|
|
15205
15210
|
readonly 'expiring_count': number;
|
|
@@ -15412,12 +15417,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15412
15417
|
readonly 'localized': io.flow.internal.v0.unions.MarketingGatewayItem;
|
|
15413
15418
|
}
|
|
15414
15419
|
|
|
15415
|
-
interface MarketingGatewayProductResult {
|
|
15416
|
-
readonly 'base_product': io.flow.internal.v0.unions.MarketingGatewayProduct;
|
|
15417
|
-
readonly 'configured_product'?: io.flow.internal.v0.unions.MarketingGatewayProduct;
|
|
15418
|
-
readonly 'configurer_experience'?: io.flow.internal.v0.models.MarketingGatewayExperience;
|
|
15419
|
-
}
|
|
15420
|
-
|
|
15421
15420
|
interface MarketingGatewayProductsStatusCount {
|
|
15422
15421
|
readonly 'status': io.flow.internal.v0.enums.MarketingGatewayProductStatus;
|
|
15423
15422
|
readonly 'count': number;
|
|
@@ -17626,6 +17625,7 @@ export type CountryPickerExperienceData = io.flow.internal.v0.models.CountryPick
|
|
|
17626
17625
|
export type CountryPickerPaymentMethod = io.flow.internal.v0.models.CountryPickerPaymentMethod;
|
|
17627
17626
|
export type CrossdockTrackingStatus = io.flow.internal.v0.enums.CrossdockTrackingStatus;
|
|
17628
17627
|
export type CustomerPurgeUpserted = io.flow.internal.v0.models.CustomerPurgeUpserted;
|
|
17628
|
+
export type CustomerSecret = io.flow.internal.v0.models.CustomerSecret;
|
|
17629
17629
|
export type Customs = io.flow.internal.v0.models.Customs;
|
|
17630
17630
|
export type CustomsDescriptionImport = io.flow.internal.v0.models.CustomsDescriptionImport;
|
|
17631
17631
|
export type CustomsDescriptionStatistics = io.flow.internal.v0.models.CustomsDescriptionStatistics;
|
|
@@ -17903,11 +17903,9 @@ export type MagentoInstallForm = io.flow.internal.v0.models.MagentoInstallForm;
|
|
|
17903
17903
|
export type ManualTransaction = io.flow.internal.v0.models.ManualTransaction;
|
|
17904
17904
|
export type ManualTransactionForm = io.flow.internal.v0.models.ManualTransactionForm;
|
|
17905
17905
|
export type MarketingGatewayAccountConnection = io.flow.internal.v0.models.MarketingGatewayAccountConnection;
|
|
17906
|
-
export type MarketingGatewayAccountMarkets = io.flow.internal.v0.models.MarketingGatewayAccountMarkets;
|
|
17907
17906
|
export type MarketingGatewayChannelForm = io.flow.internal.v0.models.MarketingGatewayChannelForm;
|
|
17908
17907
|
export type MarketingGatewayChannelSourceSummary = io.flow.internal.v0.models.MarketingGatewayChannelSourceSummary;
|
|
17909
17908
|
export type MarketingGatewayConfiguredMarket = io.flow.internal.v0.models.MarketingGatewayConfiguredMarket;
|
|
17910
|
-
export type MarketingGatewayConfiguredMarketForm = io.flow.internal.v0.models.MarketingGatewayConfiguredMarketForm;
|
|
17911
17909
|
export type MarketingGatewayDistributionChannel = io.flow.internal.v0.unions.MarketingGatewayDistributionChannel;
|
|
17912
17910
|
export type MarketingGatewayDistributionChannelGoogle = io.flow.internal.v0.models.MarketingGatewayDistributionChannelGoogle;
|
|
17913
17911
|
export type MarketingGatewayExperience = io.flow.internal.v0.models.MarketingGatewayExperience;
|
|
@@ -17937,9 +17935,7 @@ export type MarketingGatewayGoogleCustomLabels = io.flow.internal.v0.models.Mark
|
|
|
17937
17935
|
export type MarketingGatewayGoogleCustomProductShippingLocation = io.flow.internal.v0.models.MarketingGatewayGoogleCustomProductShippingLocation;
|
|
17938
17936
|
export type MarketingGatewayGoogleFeed = io.flow.internal.v0.unions.MarketingGatewayGoogleFeed;
|
|
17939
17937
|
export type MarketingGatewayGoogleFeedChild = io.flow.internal.v0.models.MarketingGatewayGoogleFeedChild;
|
|
17940
|
-
export type MarketingGatewayGoogleFeedChildForm = io.flow.internal.v0.models.MarketingGatewayGoogleFeedChildForm;
|
|
17941
17938
|
export type MarketingGatewayGoogleFeedParent = io.flow.internal.v0.models.MarketingGatewayGoogleFeedParent;
|
|
17942
|
-
export type MarketingGatewayGoogleFeedParentWithChildrenForm = io.flow.internal.v0.models.MarketingGatewayGoogleFeedParentWithChildrenForm;
|
|
17943
17939
|
export type MarketingGatewayGoogleFeedProcessingStatus = io.flow.internal.v0.enums.MarketingGatewayGoogleFeedProcessingStatus;
|
|
17944
17940
|
export type MarketingGatewayGoogleFeedStatistics = io.flow.internal.v0.models.MarketingGatewayGoogleFeedStatistics;
|
|
17945
17941
|
export type MarketingGatewayGoogleIssueScope = io.flow.internal.v0.unions.MarketingGatewayGoogleIssueScope;
|
|
@@ -17977,13 +17973,11 @@ export type MarketingGatewayLocalizedItem = io.flow.internal.v0.models.Marketing
|
|
|
17977
17973
|
export type MarketingGatewayPlatform = io.flow.internal.v0.enums.MarketingGatewayPlatform;
|
|
17978
17974
|
export type MarketingGatewayPlatformMarket = io.flow.internal.v0.unions.MarketingGatewayPlatformMarket;
|
|
17979
17975
|
export type MarketingGatewayProduct = io.flow.internal.v0.unions.MarketingGatewayProduct;
|
|
17980
|
-
export type MarketingGatewayProductResult = io.flow.internal.v0.models.MarketingGatewayProductResult;
|
|
17981
17976
|
export type MarketingGatewayProductStatus = io.flow.internal.v0.enums.MarketingGatewayProductStatus;
|
|
17982
17977
|
export type MarketingGatewayProductsStatusCount = io.flow.internal.v0.models.MarketingGatewayProductsStatusCount;
|
|
17983
17978
|
export type MarketingGatewaySchemaCompatibility = io.flow.internal.v0.enums.MarketingGatewaySchemaCompatibility;
|
|
17984
17979
|
export type MarketingGatewaySchemaSummary = io.flow.internal.v0.models.MarketingGatewaySchemaSummary;
|
|
17985
17980
|
export type MarketingGatewaySourceSummary = io.flow.internal.v0.unions.MarketingGatewaySourceSummary;
|
|
17986
|
-
export type MarketingGatewaySyncStatus = io.flow.internal.v0.enums.MarketingGatewaySyncStatus;
|
|
17987
17981
|
export type MasterTransaction = io.flow.internal.v0.models.MasterTransaction;
|
|
17988
17982
|
export type MasterTransactionDeleted = io.flow.internal.v0.models.MasterTransactionDeleted;
|
|
17989
17983
|
export type MasterTransactionUpserted = io.flow.internal.v0.models.MasterTransactionUpserted;
|
package/src/api.ts
CHANGED
|
@@ -362,7 +362,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
362
362
|
readonly 'requires_shipping': boolean;
|
|
363
363
|
readonly 'currency'?: string;
|
|
364
364
|
readonly 'items': io.flow.shopify.external.v0.models.ShopifyCartItem[];
|
|
365
|
-
readonly 'cart_level_discount_applications'
|
|
365
|
+
readonly 'cart_level_discount_applications'?: io.flow.shopify.external.v0.models.ShopifyDiscountApplication[];
|
|
366
366
|
}
|
|
367
367
|
|
|
368
368
|
interface ShopifyCartItem {
|
|
@@ -377,7 +377,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
377
377
|
readonly 'original_line_price': number;
|
|
378
378
|
readonly 'total_discount': number;
|
|
379
379
|
readonly 'discounted_price': number;
|
|
380
|
-
readonly 'discounts'
|
|
380
|
+
readonly 'discounts'?: io.flow.shopify.external.v0.models.ShopifyCartItemDiscount[];
|
|
381
381
|
readonly 'taxable': boolean;
|
|
382
382
|
readonly 'quantity': number;
|
|
383
383
|
readonly 'sku'?: string;
|
|
@@ -395,8 +395,8 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
395
395
|
readonly 'product_description'?: string;
|
|
396
396
|
readonly 'product_type': string;
|
|
397
397
|
readonly 'variant_title'?: string;
|
|
398
|
-
readonly 'variant_options'
|
|
399
|
-
readonly 'line_level_discount_allocations'
|
|
398
|
+
readonly 'variant_options'?: string[];
|
|
399
|
+
readonly 'line_level_discount_allocations'?: io.flow.shopify.external.v0.models.ShopifyLineLevelDiscountAllocation[];
|
|
400
400
|
}
|
|
401
401
|
|
|
402
402
|
interface ShopifyCartItemDiscount {
|
|
@@ -421,7 +421,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
421
421
|
readonly 'tax_exempt': boolean;
|
|
422
422
|
readonly 'verified_email': boolean;
|
|
423
423
|
readonly 'state': io.flow.shopify.external.v0.enums.ShopifyCustomerState;
|
|
424
|
-
readonly 'accepts_marketing'
|
|
424
|
+
readonly 'accepts_marketing'?: boolean;
|
|
425
425
|
readonly 'default_address'?: any/*object*/;
|
|
426
426
|
readonly 'email'?: string;
|
|
427
427
|
readonly 'first_name'?: string;
|
|
@@ -612,7 +612,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
612
612
|
readonly 'vendor'?: string;
|
|
613
613
|
readonly 'name'?: string;
|
|
614
614
|
readonly 'gift_card': boolean;
|
|
615
|
-
readonly 'properties':
|
|
615
|
+
readonly 'properties': io.flow.shopify.external.v0.models.ShopifyProperty[];
|
|
616
616
|
readonly 'taxable': boolean;
|
|
617
617
|
readonly 'tax_lines': io.flow.shopify.external.v0.models.ShopifyTaxLine[];
|
|
618
618
|
readonly 'total_discount'?: string;
|
|
@@ -634,7 +634,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
634
634
|
readonly 'vendor'?: string;
|
|
635
635
|
readonly 'name'?: string;
|
|
636
636
|
readonly 'gift_card': boolean;
|
|
637
|
-
readonly 'properties'?: io.flow.shopify.external.v0.models.
|
|
637
|
+
readonly 'properties'?: io.flow.shopify.external.v0.models.ShopifyProperty[];
|
|
638
638
|
readonly 'taxable': boolean;
|
|
639
639
|
readonly 'tax_lines': io.flow.shopify.external.v0.models.ShopifyTaxLine[];
|
|
640
640
|
readonly 'total_discount'?: string;
|
|
@@ -719,11 +719,11 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
719
719
|
readonly 'updated_at'?: string;
|
|
720
720
|
readonly 'user_id'?: number;
|
|
721
721
|
readonly 'order_status_url'?: string;
|
|
722
|
-
readonly 'inventory_behaviour'
|
|
722
|
+
readonly 'inventory_behaviour'?: io.flow.shopify.external.v0.enums.InventoryBehaviour;
|
|
723
723
|
readonly 'gateway'?: string;
|
|
724
724
|
readonly 'transactions'?: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
|
|
725
725
|
readonly 'send_receipt'?: boolean;
|
|
726
|
-
readonly 'metafields'
|
|
726
|
+
readonly 'metafields'?: io.flow.shopify.external.v0.models.MetafieldForm[];
|
|
727
727
|
}
|
|
728
728
|
|
|
729
729
|
interface ShopifyOrderCount {
|
|
@@ -749,6 +749,11 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
749
749
|
readonly 'cvv_result_code'?: string;
|
|
750
750
|
}
|
|
751
751
|
|
|
752
|
+
interface ShopifyProperty {
|
|
753
|
+
readonly 'name': string;
|
|
754
|
+
readonly 'value': any/*json*/;
|
|
755
|
+
}
|
|
756
|
+
|
|
752
757
|
interface ShopifyRefund {
|
|
753
758
|
readonly 'id': number;
|
|
754
759
|
readonly 'order_id': number;
|
|
@@ -856,7 +861,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
856
861
|
|
|
857
862
|
interface ShopifyWebhookOrder {
|
|
858
863
|
readonly 'id'?: number;
|
|
859
|
-
readonly 'line_items'
|
|
864
|
+
readonly 'line_items'?: io.flow.shopify.external.v0.models.ShopifyWebhookOrderLineItem[];
|
|
860
865
|
}
|
|
861
866
|
|
|
862
867
|
interface ShopifyWebhookOrderCancelled {
|
|
@@ -909,6 +914,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
909
914
|
}
|
|
910
915
|
|
|
911
916
|
declare namespace io.flow.v0.enums {
|
|
917
|
+
type AbandonedOrderSettingStatus = 'active' | 'inactive';
|
|
912
918
|
type AdjustmentReasonKey = 'duty_deminimis' | 'vat_deminimis';
|
|
913
919
|
type Aggregate = 'maximum' | 'minimum';
|
|
914
920
|
type AttributeDataType = 'boolean' | 'decimal' | 'string' | 'json_array';
|
|
@@ -947,6 +953,8 @@ declare namespace io.flow.v0.enums {
|
|
|
947
953
|
type DeliveryWindowComponentSource = 'flow' | 'organization' | 'carrier' | 'center' | 'mixed';
|
|
948
954
|
type DeliveryWindowLocation = 'center' | 'crossdock' | 'customer';
|
|
949
955
|
type Direction = 'outbound' | 'return';
|
|
956
|
+
type DiscountRuleStatus = 'active' | 'scheduled' | 'expired';
|
|
957
|
+
type DiscountRuleSubsidyTarget = 'vat' | 'duty';
|
|
950
958
|
type DiscountTarget = 'item' | 'shipping';
|
|
951
959
|
type EcommercePlatformType = 'commercetools' | 'custom' | 'magento' | 'shopify' | 'sfcc' | 'solidus' | 'workarea';
|
|
952
960
|
type EconomicTitleLocation = 'high_seas' | 'origination' | 'destination';
|
|
@@ -1059,6 +1067,16 @@ declare namespace io.flow.v0.enums {
|
|
|
1059
1067
|
}
|
|
1060
1068
|
|
|
1061
1069
|
declare namespace io.flow.v0.models {
|
|
1070
|
+
interface AbandonedOrderEmailSettings {
|
|
1071
|
+
readonly 'delay': io.flow.v0.models.Duration;
|
|
1072
|
+
readonly 'frequency': io.flow.v0.models.Duration;
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1075
|
+
interface AbandonedOrderSettings {
|
|
1076
|
+
readonly 'email_settings': io.flow.v0.models.AbandonedOrderEmailSettings;
|
|
1077
|
+
readonly 'status': io.flow.v0.enums.AbandonedOrderSettingStatus;
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1062
1080
|
interface AccountOrdersExportType {
|
|
1063
1081
|
readonly 'discriminator': 'account_orders_export_type';
|
|
1064
1082
|
readonly 'statement_id'?: string;
|
|
@@ -1662,7 +1680,7 @@ declare namespace io.flow.v0.models {
|
|
|
1662
1680
|
readonly 'requested'?: io.flow.v0.models.Money;
|
|
1663
1681
|
readonly 'created_at': string;
|
|
1664
1682
|
readonly 'attributes'?: Record<string, string>;
|
|
1665
|
-
readonly 'status'
|
|
1683
|
+
readonly 'status': io.flow.v0.enums.CaptureStatus;
|
|
1666
1684
|
readonly 'base'?: io.flow.v0.models.Money;
|
|
1667
1685
|
}
|
|
1668
1686
|
|
|
@@ -1750,7 +1768,7 @@ declare namespace io.flow.v0.models {
|
|
|
1750
1768
|
readonly 'discriminator': 'card_authorization';
|
|
1751
1769
|
readonly 'id': string;
|
|
1752
1770
|
readonly 'key': string;
|
|
1753
|
-
readonly 'merchant_of_record'
|
|
1771
|
+
readonly 'merchant_of_record': io.flow.v0.enums.MerchantOfRecord;
|
|
1754
1772
|
readonly 'method'?: io.flow.v0.models.PaymentMethod;
|
|
1755
1773
|
readonly 'card': io.flow.v0.unions.ExpandableCard;
|
|
1756
1774
|
readonly 'amount': number;
|
|
@@ -2934,6 +2952,38 @@ declare namespace io.flow.v0.models {
|
|
|
2934
2952
|
readonly 'percent': number;
|
|
2935
2953
|
}
|
|
2936
2954
|
|
|
2955
|
+
interface DiscountRule {
|
|
2956
|
+
readonly 'offers': io.flow.v0.models.DiscountRuleOffer[];
|
|
2957
|
+
}
|
|
2958
|
+
|
|
2959
|
+
interface DiscountRuleOffer {
|
|
2960
|
+
readonly 'discount': io.flow.v0.unions.DiscountOffer;
|
|
2961
|
+
readonly 'entitlement': io.flow.v0.unions.DiscountRuleEntitlement;
|
|
2962
|
+
}
|
|
2963
|
+
|
|
2964
|
+
interface DiscountRuleSettings {
|
|
2965
|
+
readonly 'id': string;
|
|
2966
|
+
readonly 'name': string;
|
|
2967
|
+
readonly 'from': string;
|
|
2968
|
+
readonly 'to'?: string;
|
|
2969
|
+
readonly 'status': io.flow.v0.enums.DiscountRuleStatus;
|
|
2970
|
+
readonly 'experience_keys': string[];
|
|
2971
|
+
readonly 'rule': io.flow.v0.models.DiscountRule;
|
|
2972
|
+
}
|
|
2973
|
+
|
|
2974
|
+
interface DiscountRuleSettingsForm {
|
|
2975
|
+
readonly 'name': string;
|
|
2976
|
+
readonly 'from': string;
|
|
2977
|
+
readonly 'to'?: string;
|
|
2978
|
+
readonly 'experience_keys': string[];
|
|
2979
|
+
readonly 'rule': io.flow.v0.models.DiscountRule;
|
|
2980
|
+
}
|
|
2981
|
+
|
|
2982
|
+
interface DiscountRuleSubsidyEntitlement {
|
|
2983
|
+
readonly 'discriminator': 'subsidy';
|
|
2984
|
+
readonly 'targets': io.flow.v0.enums.DiscountRuleSubsidyTarget[];
|
|
2985
|
+
}
|
|
2986
|
+
|
|
2937
2987
|
interface DiscountsForm {
|
|
2938
2988
|
readonly 'discounts': io.flow.v0.models.DiscountForm[];
|
|
2939
2989
|
}
|
|
@@ -4110,7 +4160,7 @@ declare namespace io.flow.v0.models {
|
|
|
4110
4160
|
readonly 'organization': string;
|
|
4111
4161
|
readonly 'email': string;
|
|
4112
4162
|
readonly 'name'?: io.flow.v0.models.Name;
|
|
4113
|
-
readonly 'role'
|
|
4163
|
+
readonly 'role': io.flow.v0.enums.Role;
|
|
4114
4164
|
readonly 'roles'?: io.flow.v0.unions.FlowRole[];
|
|
4115
4165
|
}
|
|
4116
4166
|
|
|
@@ -4597,7 +4647,7 @@ declare namespace io.flow.v0.models {
|
|
|
4597
4647
|
readonly 'base': io.flow.v0.models.Price;
|
|
4598
4648
|
readonly 'name': string;
|
|
4599
4649
|
readonly 'adjustment'?: io.flow.v0.models.LocalizedAdjustment;
|
|
4600
|
-
readonly 'accuracy'
|
|
4650
|
+
readonly 'accuracy': io.flow.v0.enums.PriceAccuracy;
|
|
4601
4651
|
readonly 'basis'?: io.flow.v0.models.MoneyWithBase;
|
|
4602
4652
|
}
|
|
4603
4653
|
|
|
@@ -4714,13 +4764,13 @@ declare namespace io.flow.v0.models {
|
|
|
4714
4764
|
interface MembershipForm {
|
|
4715
4765
|
readonly 'organization': string;
|
|
4716
4766
|
readonly 'user': string;
|
|
4717
|
-
readonly 'role'
|
|
4718
|
-
readonly 'roles'
|
|
4767
|
+
readonly 'role': io.flow.v0.enums.Role;
|
|
4768
|
+
readonly 'roles': io.flow.v0.unions.FlowRole[];
|
|
4719
4769
|
}
|
|
4720
4770
|
|
|
4721
4771
|
interface MembershipPutForm {
|
|
4722
|
-
readonly 'role'
|
|
4723
|
-
readonly 'roles'
|
|
4772
|
+
readonly 'role': io.flow.v0.enums.Role;
|
|
4773
|
+
readonly 'roles': io.flow.v0.unions.FlowRole[];
|
|
4724
4774
|
}
|
|
4725
4775
|
|
|
4726
4776
|
interface MembershipUpsertedV2 {
|
|
@@ -4895,7 +4945,7 @@ declare namespace io.flow.v0.models {
|
|
|
4895
4945
|
readonly 'id': string;
|
|
4896
4946
|
readonly 'key': string;
|
|
4897
4947
|
readonly 'method'?: io.flow.v0.models.PaymentMethod;
|
|
4898
|
-
readonly 'merchant_of_record'
|
|
4948
|
+
readonly 'merchant_of_record': io.flow.v0.enums.MerchantOfRecord;
|
|
4899
4949
|
readonly 'details'?: io.flow.v0.unions.OnlineAuthorizationDetails;
|
|
4900
4950
|
readonly 'payment'?: any/*object*/;
|
|
4901
4951
|
readonly 'amount': number;
|
|
@@ -5272,7 +5322,7 @@ declare namespace io.flow.v0.models {
|
|
|
5272
5322
|
readonly 'components': io.flow.v0.models.OrderPriceDetailComponent[];
|
|
5273
5323
|
readonly 'name'?: string;
|
|
5274
5324
|
readonly 'rate'?: number;
|
|
5275
|
-
readonly 'accuracy'
|
|
5325
|
+
readonly 'accuracy': io.flow.v0.enums.PriceAccuracy;
|
|
5276
5326
|
readonly 'rate_label'?: string;
|
|
5277
5327
|
}
|
|
5278
5328
|
|
|
@@ -5960,7 +6010,7 @@ declare namespace io.flow.v0.models {
|
|
|
5960
6010
|
readonly 'currency': string;
|
|
5961
6011
|
readonly 'name': string;
|
|
5962
6012
|
readonly 'includes': io.flow.v0.enums.IncludedLevyKey;
|
|
5963
|
-
readonly 'status'
|
|
6013
|
+
readonly 'status': io.flow.v0.enums.PriceBookStatus;
|
|
5964
6014
|
}
|
|
5965
6015
|
|
|
5966
6016
|
interface PriceBookItem {
|
|
@@ -6429,7 +6479,7 @@ declare namespace io.flow.v0.models {
|
|
|
6429
6479
|
readonly 'origination_zones': io.flow.v0.models.Zone[];
|
|
6430
6480
|
readonly 'service': string;
|
|
6431
6481
|
readonly 'number'?: string;
|
|
6432
|
-
readonly 'ratecard_owner'
|
|
6482
|
+
readonly 'ratecard_owner': io.flow.v0.enums.RatecardOwner;
|
|
6433
6483
|
}
|
|
6434
6484
|
|
|
6435
6485
|
interface RatecardLane {
|
|
@@ -6595,7 +6645,7 @@ declare namespace io.flow.v0.models {
|
|
|
6595
6645
|
readonly 'captures': io.flow.v0.models.RefundCaptureSummary[];
|
|
6596
6646
|
readonly 'created_at': string;
|
|
6597
6647
|
readonly 'attributes'?: Record<string, string>;
|
|
6598
|
-
readonly 'status'
|
|
6648
|
+
readonly 'status': io.flow.v0.enums.RefundStatus;
|
|
6599
6649
|
readonly 'base'?: io.flow.v0.models.Money;
|
|
6600
6650
|
}
|
|
6601
6651
|
|
|
@@ -6606,7 +6656,7 @@ declare namespace io.flow.v0.models {
|
|
|
6606
6656
|
readonly 'amount': number;
|
|
6607
6657
|
readonly 'currency': string;
|
|
6608
6658
|
readonly 'base': io.flow.v0.models.Money;
|
|
6609
|
-
readonly 'status'
|
|
6659
|
+
readonly 'status': io.flow.v0.enums.RefundStatus;
|
|
6610
6660
|
}
|
|
6611
6661
|
|
|
6612
6662
|
interface RefundCaptureSummary {
|
|
@@ -8291,6 +8341,7 @@ declare namespace io.flow.v0.unions {
|
|
|
8291
8341
|
type Delivery = (io.flow.v0.models.DigitalDelivery | io.flow.v0.models.PhysicalDelivery);
|
|
8292
8342
|
type Deminimis = (io.flow.v0.models.DeminimisSimple | io.flow.v0.models.DeminimisPerItem);
|
|
8293
8343
|
type DiscountOffer = (io.flow.v0.models.DiscountOfferFixed | io.flow.v0.models.DiscountOfferPercent);
|
|
8344
|
+
type DiscountRuleEntitlement = (io.flow.v0.models.DiscountRuleSubsidyEntitlement);
|
|
8294
8345
|
type Document = (io.flow.v0.models.CatalogItemDocument | io.flow.v0.models.HarmonizationDocument);
|
|
8295
8346
|
type EmailNotificationData = (io.flow.v0.models.EmailNotificationDataRefund | io.flow.v0.models.EmailNotificationAbandonedOrder);
|
|
8296
8347
|
type Event = (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.CatalogItemUpserted | io.flow.v0.models.CatalogItemDeleted | io.flow.v0.models.CatalogItemUpsertedV2 | io.flow.v0.models.CatalogItemDeletedV2 | io.flow.v0.models.SubcatalogItemUpserted | io.flow.v0.models.SubcatalogItemDeleted | 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.CustomerUpserted | io.flow.v0.models.CustomerDeleted | io.flow.v0.models.CustomerAddressBookContactUpserted | io.flow.v0.models.CustomerAddressBookContactDeleted | io.flow.v0.models.EmailNotificationUpserted | io.flow.v0.models.EmailNotificationDeleted | io.flow.v0.models.AvailablePromotionsUpserted | io.flow.v0.models.AvailablePromotionsDeleted | io.flow.v0.models.AvailablePromotionsUpsertedV2 | io.flow.v0.models.AvailablePromotionsDeletedV2 | io.flow.v0.models.AllocationDeletedV2 | io.flow.v0.models.AllocationUpsertedV2 | io.flow.v0.models.CurrencyFormatDeleted | io.flow.v0.models.CurrencyFormatUpserted | io.flow.v0.models.ExperienceDeleted | io.flow.v0.models.ExperienceUpserted | io.flow.v0.models.ExperienceDeletedV2 | io.flow.v0.models.ExperienceUpsertedV2 | io.flow.v0.models.ExperiencePriceBookMappingDeleted | io.flow.v0.models.ExperiencePriceBookMappingUpserted | io.flow.v0.models.ExperienceLogisticsSettingsUpserted | io.flow.v0.models.ExperienceLogisticsSettingsDeleted | io.flow.v0.models.ItemMarginDeleted | io.flow.v0.models.ItemMarginUpserted | io.flow.v0.models.ItemSalesMarginDeleted | io.flow.v0.models.ItemSalesMarginUpserted | io.flow.v0.models.LabelFormatDeleted | io.flow.v0.models.LabelFormatUpserted | io.flow.v0.models.OrderDeleted | io.flow.v0.models.OrderUpserted | io.flow.v0.models.OrderDeletedV2 | io.flow.v0.models.OrderUpsertedV2 | io.flow.v0.models.OrderIdentifierDeleted | io.flow.v0.models.OrderIdentifierUpserted | io.flow.v0.models.OrderIdentifierDeletedV2 | io.flow.v0.models.OrderIdentifierUpsertedV2 | io.flow.v0.models.OrderIdentifierUpsertedV3 | io.flow.v0.models.PricingDeleted | io.flow.v0.models.PricingUpserted | io.flow.v0.models.OrderServiceChangeRequest | 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.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.RuleUpserted | io.flow.v0.models.RuleDeleted | io.flow.v0.models.SnapshotUpserted | io.flow.v0.models.SnapshotDeleted | io.flow.v0.models.LabelUpserted | io.flow.v0.models.LabelDeletedV2 | io.flow.v0.models.LabelUpsertedV2 | io.flow.v0.models.NotificationUpserted | io.flow.v0.models.NotificationDeleted | io.flow.v0.models.ManifestedLabelUpserted | io.flow.v0.models.ManifestedLabelDeleted | io.flow.v0.models.LocalItemUpserted | io.flow.v0.models.LocalItemDeleted | io.flow.v0.models.CheckoutOptinResponsesUpserted | io.flow.v0.models.CheckoutOptinResponsesDeleted | io.flow.v0.models.BrowseOptinResponsesUpserted | io.flow.v0.models.BrowseOptinResponsesDeleted | io.flow.v0.models.OrderPlaced | io.flow.v0.models.OrderPlacedV2 | io.flow.v0.models.ReadyToFulfill | 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.OrganizationShortIdUpserted | io.flow.v0.models.OrganizationShortIdDeleted | io.flow.v0.models.OrganizationDefaultConfigurationsUpserted | io.flow.v0.models.OrganizationDefaultConfigurationsDeleted | io.flow.v0.models.EcommercePlatformUpserted | io.flow.v0.models.EcommercePlatformDeleted | 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.PriceBookUpserted | io.flow.v0.models.PriceBookDeleted | io.flow.v0.models.PriceBookItemUpserted | io.flow.v0.models.PriceBookItemDeleted | 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.ReturnUpserted | io.flow.v0.models.ReturnDeleted | io.flow.v0.models.ShopifyLocalizationSettingUpserted | io.flow.v0.models.ShopifyLocalizationSettingDeleted | io.flow.v0.models.TrackingLabelEventUpserted);
|
|
@@ -8360,6 +8411,9 @@ declare namespace io.flow.v0.unions {
|
|
|
8360
8411
|
type TokenReference = (io.flow.v0.models.OrganizationTokenReference | io.flow.v0.models.PartnerTokenReference);
|
|
8361
8412
|
}
|
|
8362
8413
|
|
|
8414
|
+
export type AbandonedOrderEmailSettings = io.flow.v0.models.AbandonedOrderEmailSettings;
|
|
8415
|
+
export type AbandonedOrderSettingStatus = io.flow.v0.enums.AbandonedOrderSettingStatus;
|
|
8416
|
+
export type AbandonedOrderSettings = io.flow.v0.models.AbandonedOrderSettings;
|
|
8363
8417
|
export type AccountOrdersExportType = io.flow.v0.models.AccountOrdersExportType;
|
|
8364
8418
|
export type AccountTransactionsExportType = io.flow.v0.models.AccountTransactionsExportType;
|
|
8365
8419
|
export type AchAuthorizationForm = io.flow.v0.models.AchAuthorizationForm;
|
|
@@ -8664,6 +8718,14 @@ export type DiscountForm = io.flow.v0.models.DiscountForm;
|
|
|
8664
8718
|
export type DiscountOffer = io.flow.v0.unions.DiscountOffer;
|
|
8665
8719
|
export type DiscountOfferFixed = io.flow.v0.models.DiscountOfferFixed;
|
|
8666
8720
|
export type DiscountOfferPercent = io.flow.v0.models.DiscountOfferPercent;
|
|
8721
|
+
export type DiscountRule = io.flow.v0.models.DiscountRule;
|
|
8722
|
+
export type DiscountRuleEntitlement = io.flow.v0.unions.DiscountRuleEntitlement;
|
|
8723
|
+
export type DiscountRuleOffer = io.flow.v0.models.DiscountRuleOffer;
|
|
8724
|
+
export type DiscountRuleSettings = io.flow.v0.models.DiscountRuleSettings;
|
|
8725
|
+
export type DiscountRuleSettingsForm = io.flow.v0.models.DiscountRuleSettingsForm;
|
|
8726
|
+
export type DiscountRuleStatus = io.flow.v0.enums.DiscountRuleStatus;
|
|
8727
|
+
export type DiscountRuleSubsidyEntitlement = io.flow.v0.models.DiscountRuleSubsidyEntitlement;
|
|
8728
|
+
export type DiscountRuleSubsidyTarget = io.flow.v0.enums.DiscountRuleSubsidyTarget;
|
|
8667
8729
|
export type DiscountTarget = io.flow.v0.enums.DiscountTarget;
|
|
8668
8730
|
export type DiscountsForm = io.flow.v0.models.DiscountsForm;
|
|
8669
8731
|
export type Document = io.flow.v0.unions.Document;
|