@flowio/types 4.0.0 → 4.0.2

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2017 Flow Commerce
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -10717,8 +10717,8 @@ declare namespace io.flow.internal.v0.models {
10717
10717
  readonly id: string;
10718
10718
  }
10719
10719
  interface BrowserBundlePaymentMethodForm {
10720
- readonly experience_key?: string;
10721
- readonly country?: string;
10720
+ readonly experience_key: string;
10721
+ readonly country: string;
10722
10722
  }
10723
10723
  interface BrowserBundlePaymentMethods {
10724
10724
  readonly displayed?: io.flow.internal.v0.models.BrowserBundlePaymentMethod[];
@@ -10814,6 +10814,7 @@ declare namespace io.flow.internal.v0.models {
10814
10814
  readonly id: string;
10815
10815
  readonly organization: io.flow.common.v0.models.OrganizationSummary;
10816
10816
  readonly builder: io.flow.experience.v0.models.OrderBuilder;
10817
+ readonly platform: io.flow.internal.v0.models.CheckoutPlatformData;
10817
10818
  readonly content: io.flow.internal.v0.models.CheckoutContent;
10818
10819
  readonly destinations: io.flow.reference.v0.models.Country[];
10819
10820
  readonly optins: io.flow.optin.internal.v0.models.OptinPrompt[];
@@ -10951,6 +10952,9 @@ declare namespace io.flow.internal.v0.models {
10951
10952
  readonly default: io.flow.internal.v0.models.ApmContent;
10952
10953
  readonly paypal?: io.flow.internal.v0.models.ApmContent;
10953
10954
  }
10955
+ interface CheckoutPlatformData {
10956
+ readonly order_number?: string;
10957
+ }
10954
10958
  interface CheckoutRedirect {
10955
10959
  readonly method: io.flow.internal.v0.enums.CheckoutRedirectMethod;
10956
10960
  readonly url: string;
@@ -11479,11 +11483,12 @@ declare namespace io.flow.internal.v0.models {
11479
11483
  readonly carrier: string;
11480
11484
  readonly carrier_tracking_number: string;
11481
11485
  readonly status: io.flow.tracking.v0.enums.TrackingStatus;
11482
- readonly timestamp: string;
11486
+ readonly created_at: string;
11483
11487
  readonly delivery_estimate?: string;
11484
11488
  readonly description?: string;
11485
11489
  }
11486
11490
  interface ExportTrackingLabelEvent {
11491
+ readonly id: string;
11487
11492
  readonly address?: io.flow.common.v0.models.Address;
11488
11493
  readonly carrier: string;
11489
11494
  readonly carrier_timestamp: string;
@@ -14990,6 +14995,7 @@ export declare type CheckoutOrderForm = io.flow.internal.v0.models.CheckoutOrder
14990
14995
  export declare type CheckoutOrderNumberForm = io.flow.internal.v0.models.CheckoutOrderNumberForm;
14991
14996
  export declare type CheckoutPayment = io.flow.internal.v0.models.CheckoutPayment;
14992
14997
  export declare type CheckoutPaymentContent = io.flow.internal.v0.models.CheckoutPaymentContent;
14998
+ export declare type CheckoutPlatformData = io.flow.internal.v0.models.CheckoutPlatformData;
14993
14999
  export declare type CheckoutPromptBehavior = io.flow.internal.v0.enums.CheckoutPromptBehavior;
14994
15000
  export declare type CheckoutRedirect = io.flow.internal.v0.models.CheckoutRedirect;
14995
15001
  export declare type CheckoutRedirectMethod = io.flow.internal.v0.enums.CheckoutRedirectMethod;
package/dist/api.d.ts CHANGED
@@ -862,7 +862,7 @@ declare namespace io.flow.v0.enums {
862
862
  type EcommercePlatformType = 'commercetools' | 'custom' | 'magento' | 'shopify' | 'sfcc' | 'solidus' | 'workarea';
863
863
  type EconomicTitleLocation = 'high_seas' | 'origination' | 'destination';
864
864
  type Environment = 'sandbox' | 'production';
865
- type EventType = 'attribute_upserted' | 'attribute_deleted' | 'attribute_upserted_v2' | 'attribute_deleted_v2' | 'catalog_upserted' | 'catalog_deleted' | 'subcatalog_upserted' | 'subcatalog_deleted' | 'catalog_item_upserted' | 'catalog_item_deleted' | 'catalog_item_upserted_v2' | 'catalog_item_deleted_v2' | 'subcatalog_item_upserted' | 'subcatalog_item_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' | 'customer_upserted' | 'customer_deleted' | 'customer_address_book_contact_upserted' | 'customer_address_book_contact_deleted' | 'available_promotions_upserted' | 'available_promotions_deleted' | 'available_promotions_upserted_v2' | 'available_promotions_deleted_v2' | 'allocation_deleted_v2' | 'allocation_upserted_v2' | 'currency_format_deleted' | 'currency_format_upserted' | 'experience_deleted' | 'experience_upserted' | 'experience_deleted_v2' | 'experience_upserted_v2' | 'experience_price_book_mapping_deleted' | 'experience_price_book_mapping_upserted' | 'experience_logistics_settings_upserted' | 'experience_logistics_settings_deleted' | 'item_margin_deleted' | 'item_margin_upserted' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'label_format_deleted' | 'label_format_upserted' | 'order_deleted' | 'order_upserted' | 'order_deleted_v2' | 'order_upserted_v2' | 'order_identifier_deleted' | 'order_identifier_upserted' | 'order_identifier_deleted_v2' | 'order_identifier_upserted_v2' | 'order_identifier_upserted_v3' | 'pricing_deleted' | 'pricing_upserted' | 'order_service_change_request' | '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' | 'hs6_code_upserted' | 'hs6_code_deleted' | 'hs10_code_upserted' | 'hs10_code_deleted' | 'item_origin_upserted' | 'item_origin_deleted' | 'harmonized_item_upserted' | 'harmonized_item_deleted' | 'harmonized_landed_cost_upserted' | 'fully_harmonized_item_upserted' | 'rule_upserted' | 'rule_deleted' | 'serial_upserted' | 'serial_deleted' | 'snapshot_upserted' | 'snapshot_deleted' | 'label_upserted' | 'notification_upserted' | 'notification_deleted' | 'manifested_label_upserted' | 'manifested_label_deleted' | 'local_item_upserted' | 'local_item_deleted' | 'checkout_optin_responses_upserted' | 'checkout_optin_responses_deleted' | 'browse_optin_responses_upserted' | 'browse_optin_responses_deleted' | 'order_placed' | 'order_placed_v2' | 'ready_to_fulfill' | 'membership_upserted_v2' | 'membership_deleted_v2' | 'organization_upserted' | 'organization_deleted' | 'organization_upserted_v2' | 'organization_deleted_v2' | 'organization_short_id_upserted' | 'organization_short_id_deleted' | 'organization_default_configurations_upserted' | 'organization_default_configurations_deleted' | 'ecommerce_platform_upserted' | 'ecommerce_platform_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' | 'price_book_upserted' | 'price_book_deleted' | 'price_book_item_upserted' | 'price_book_item_deleted' | 'organization_rates_published' | 'organization_countries_published' | 'ratecard_lane_upserted' | 'ratecard_lane_deleted' | 'ratecard_upserted' | 'ratecard_deleted' | 'return_upserted' | 'return_deleted' | 'shopify_localization_setting_upserted' | 'shopify_localization_setting_deleted' | 'targeting_item_upserted' | 'targeting_item_upserted_v2' | 'targeting_item_deleted' | 'targeting_item_deleted_v3' | 'tracking_label_event_upserted';
865
+ type EventType = 'attribute_upserted' | 'attribute_deleted' | 'attribute_upserted_v2' | 'attribute_deleted_v2' | 'catalog_upserted' | 'catalog_deleted' | 'subcatalog_upserted' | 'subcatalog_deleted' | 'catalog_item_upserted' | 'catalog_item_deleted' | 'catalog_item_upserted_v2' | 'catalog_item_deleted_v2' | 'subcatalog_item_upserted' | 'subcatalog_item_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' | 'customer_upserted' | 'customer_deleted' | 'customer_address_book_contact_upserted' | 'customer_address_book_contact_deleted' | 'available_promotions_upserted' | 'available_promotions_deleted' | 'available_promotions_upserted_v2' | 'available_promotions_deleted_v2' | 'allocation_deleted_v2' | 'allocation_upserted_v2' | 'currency_format_deleted' | 'currency_format_upserted' | 'experience_deleted' | 'experience_upserted' | 'experience_deleted_v2' | 'experience_upserted_v2' | 'experience_price_book_mapping_deleted' | 'experience_price_book_mapping_upserted' | 'experience_logistics_settings_upserted' | 'experience_logistics_settings_deleted' | 'item_margin_deleted' | 'item_margin_upserted' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'label_format_deleted' | 'label_format_upserted' | 'order_deleted' | 'order_upserted' | 'order_deleted_v2' | 'order_upserted_v2' | 'order_identifier_deleted' | 'order_identifier_upserted' | 'order_identifier_deleted_v2' | 'order_identifier_upserted_v2' | 'order_identifier_upserted_v3' | 'pricing_deleted' | 'pricing_upserted' | 'order_service_change_request' | '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' | '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' | 'rule_upserted' | 'rule_deleted' | 'serial_upserted' | 'serial_deleted' | 'snapshot_upserted' | 'snapshot_deleted' | 'label_upserted' | 'notification_upserted' | 'notification_deleted' | 'manifested_label_upserted' | 'manifested_label_deleted' | 'local_item_upserted' | 'local_item_deleted' | 'checkout_optin_responses_upserted' | 'checkout_optin_responses_deleted' | 'browse_optin_responses_upserted' | 'browse_optin_responses_deleted' | 'order_placed' | 'order_placed_v2' | 'ready_to_fulfill' | 'membership_upserted_v2' | 'membership_deleted_v2' | 'organization_upserted' | 'organization_deleted' | 'organization_upserted_v2' | 'organization_deleted_v2' | 'organization_short_id_upserted' | 'organization_short_id_deleted' | 'organization_default_configurations_upserted' | 'organization_default_configurations_deleted' | 'ecommerce_platform_upserted' | 'ecommerce_platform_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' | 'price_book_upserted' | 'price_book_deleted' | 'price_book_item_upserted' | 'price_book_item_deleted' | 'organization_rates_published' | 'organization_countries_published' | 'ratecard_lane_upserted' | 'ratecard_lane_deleted' | 'ratecard_upserted' | 'ratecard_deleted' | 'return_upserted' | 'return_deleted' | 'shopify_localization_setting_upserted' | 'shopify_localization_setting_deleted' | 'targeting_item_upserted' | 'targeting_item_upserted_v2' | 'targeting_item_deleted' | 'targeting_item_deleted_v3' | 'tracking_label_event_upserted';
866
866
  type ExceptionType = 'open' | 'closed';
867
867
  type ExclusionRuleState = 'current' | 'deleting' | 'updating';
868
868
  type ExperienceCloneStatus = 'pending' | 'updating' | 'completed' | 'failed';
@@ -1617,6 +1617,7 @@ declare namespace io.flow.v0.models {
1617
1617
  readonly order_number: string;
1618
1618
  readonly amount: number;
1619
1619
  readonly currency: string;
1620
+ readonly browser_info?: io.flow.v0.models.BrowserInfo;
1620
1621
  }
1621
1622
  interface CardPaymentSourceForm {
1622
1623
  readonly customer_number: string;
@@ -3050,12 +3051,6 @@ declare namespace io.flow.v0.models {
3050
3051
  };
3051
3052
  readonly description?: string;
3052
3053
  }
3053
- interface HarmonizedItemDeleted {
3054
- readonly event_id: string;
3055
- readonly timestamp: string;
3056
- readonly organization: string;
3057
- readonly number: string;
3058
- }
3059
3054
  interface HarmonizedItemForm {
3060
3055
  readonly name: string;
3061
3056
  readonly number: string;
@@ -3082,18 +3077,6 @@ declare namespace io.flow.v0.models {
3082
3077
  readonly number: string;
3083
3078
  readonly description?: string;
3084
3079
  }
3085
- interface HarmonizedItemUpserted {
3086
- readonly event_id: string;
3087
- readonly timestamp: string;
3088
- readonly organization: string;
3089
- readonly number: string;
3090
- readonly name: string;
3091
- readonly categories: string[];
3092
- readonly attributes: {
3093
- [key: string]: string;
3094
- };
3095
- readonly description?: string;
3096
- }
3097
3080
  interface HarmonizedLandedCost {
3098
3081
  readonly address: io.flow.v0.models.Address;
3099
3082
  readonly items: io.flow.v0.models.HarmonizedLandedCostItem[];
@@ -4458,13 +4441,15 @@ declare namespace io.flow.v0.models {
4458
4441
  readonly primary?: boolean;
4459
4442
  }
4460
4443
  interface OrderSummary {
4444
+ readonly number: string;
4461
4445
  readonly subtotal: io.flow.v0.models.OrderSummaryPriceDetail;
4462
- readonly shipping: io.flow.v0.models.OrderSummaryPriceDetail;
4446
+ readonly shipping?: io.flow.v0.models.OrderSummaryPriceDetail;
4463
4447
  readonly tax?: io.flow.v0.models.OrderSummaryPriceDetail;
4464
4448
  readonly duty?: io.flow.v0.models.OrderSummaryPriceDetail;
4465
4449
  readonly insurance?: io.flow.v0.models.OrderSummaryPriceDetail;
4466
4450
  readonly discount?: io.flow.v0.models.OrderSummaryPriceDetail;
4467
4451
  readonly surcharges?: io.flow.v0.models.OrderSummaryPriceDetail;
4452
+ readonly adjustment?: io.flow.v0.models.OrderSummaryPriceDetail;
4468
4453
  readonly total: io.flow.v0.models.OrderSummaryPriceDetail;
4469
4454
  readonly lines: io.flow.v0.models.OrderSummaryLineItem[];
4470
4455
  }
@@ -4481,6 +4466,9 @@ declare namespace io.flow.v0.models {
4481
4466
  readonly discount?: io.flow.v0.models.Price;
4482
4467
  readonly tax?: io.flow.v0.models.OrderSummaryLevy;
4483
4468
  readonly duty?: io.flow.v0.models.OrderSummaryLevy;
4469
+ readonly price_attributes: {
4470
+ [key: string]: io.flow.v0.models.PriceWithBase;
4471
+ };
4484
4472
  }
4485
4473
  interface OrderSummaryLevy {
4486
4474
  readonly rate: number;
@@ -4493,6 +4481,9 @@ declare namespace io.flow.v0.models {
4493
4481
  readonly tax?: io.flow.v0.models.OrderSummaryLevy;
4494
4482
  readonly duty?: io.flow.v0.models.OrderSummaryLevy;
4495
4483
  readonly total: io.flow.v0.models.Price;
4484
+ readonly price_attributes: {
4485
+ [key: string]: io.flow.v0.models.PriceWithBase;
4486
+ };
4496
4487
  }
4497
4488
  interface OrderSummaryPriceDetail {
4498
4489
  readonly price: io.flow.v0.models.Price;
@@ -7299,10 +7290,6 @@ declare namespace io.flow.v0.unions {
7299
7290
  } & io.flow.v0.models.ItemOriginUpserted | {
7300
7291
  discriminator: 'item_origin_deleted';
7301
7292
  } & io.flow.v0.models.ItemOriginDeleted | {
7302
- discriminator: 'harmonized_item_upserted';
7303
- } & io.flow.v0.models.HarmonizedItemUpserted | {
7304
- discriminator: 'harmonized_item_deleted';
7305
- } & io.flow.v0.models.HarmonizedItemDeleted | {
7306
7293
  discriminator: 'harmonized_landed_cost_upserted';
7307
7294
  } & io.flow.v0.models.HarmonizedLandedCostUpserted | {
7308
7295
  discriminator: 'fully_harmonized_item_upserted';
@@ -8181,11 +8168,9 @@ export declare type HarmonizationOverviewExportType = io.flow.v0.models.Harmoniz
8181
8168
  export declare type HarmonizedCategory = io.flow.v0.models.HarmonizedCategory;
8182
8169
  export declare type HarmonizedCategoryReference = io.flow.v0.models.HarmonizedCategoryReference;
8183
8170
  export declare type HarmonizedItem = io.flow.v0.models.HarmonizedItem;
8184
- export declare type HarmonizedItemDeleted = io.flow.v0.models.HarmonizedItemDeleted;
8185
8171
  export declare type HarmonizedItemForm = io.flow.v0.models.HarmonizedItemForm;
8186
8172
  export declare type HarmonizedItemPutForm = io.flow.v0.models.HarmonizedItemPutForm;
8187
8173
  export declare type HarmonizedItemReference = io.flow.v0.models.HarmonizedItemReference;
8188
- export declare type HarmonizedItemUpserted = io.flow.v0.models.HarmonizedItemUpserted;
8189
8174
  export declare type HarmonizedLandedCost = io.flow.v0.models.HarmonizedLandedCost;
8190
8175
  export declare type HarmonizedLandedCostForm = io.flow.v0.models.HarmonizedLandedCostForm;
8191
8176
  export declare type HarmonizedLandedCostItem = io.flow.v0.models.HarmonizedLandedCostItem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "4.0.0",
3
+ "version": "4.0.2",
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",
@@ -26,5 +26,6 @@
26
26
  "devDependencies": {
27
27
  "prettier": "^1.18.2",
28
28
  "typescript": "^3.6.3"
29
- }
29
+ },
30
+ "gitHead": "e79ec9bee713b7409147b90978ad1eff12e4e0a3"
30
31
  }
@@ -13564,8 +13564,8 @@ declare namespace io.flow.internal.v0.models {
13564
13564
  }
13565
13565
 
13566
13566
  interface BrowserBundlePaymentMethodForm {
13567
- readonly experience_key?: string;
13568
- readonly country?: string;
13567
+ readonly experience_key: string;
13568
+ readonly country: string;
13569
13569
  }
13570
13570
 
13571
13571
  interface BrowserBundlePaymentMethods {
@@ -13680,6 +13680,7 @@ declare namespace io.flow.internal.v0.models {
13680
13680
  readonly id: string;
13681
13681
  readonly organization: io.flow.common.v0.models.OrganizationSummary;
13682
13682
  readonly builder: io.flow.experience.v0.models.OrderBuilder;
13683
+ readonly platform: io.flow.internal.v0.models.CheckoutPlatformData;
13683
13684
  readonly content: io.flow.internal.v0.models.CheckoutContent;
13684
13685
  readonly destinations: io.flow.reference.v0.models.Country[];
13685
13686
  readonly optins: io.flow.optin.internal.v0.models.OptinPrompt[];
@@ -13839,6 +13840,10 @@ declare namespace io.flow.internal.v0.models {
13839
13840
  readonly paypal?: io.flow.internal.v0.models.ApmContent;
13840
13841
  }
13841
13842
 
13843
+ interface CheckoutPlatformData {
13844
+ readonly order_number?: string;
13845
+ }
13846
+
13842
13847
  interface CheckoutRedirect {
13843
13848
  readonly method: io.flow.internal.v0.enums.CheckoutRedirectMethod;
13844
13849
  readonly url: string;
@@ -14457,12 +14462,13 @@ declare namespace io.flow.internal.v0.models {
14457
14462
  readonly carrier: string;
14458
14463
  readonly carrier_tracking_number: string;
14459
14464
  readonly status: io.flow.tracking.v0.enums.TrackingStatus;
14460
- readonly timestamp: string;
14465
+ readonly created_at: string;
14461
14466
  readonly delivery_estimate?: string;
14462
14467
  readonly description?: string;
14463
14468
  }
14464
14469
 
14465
14470
  interface ExportTrackingLabelEvent {
14471
+ readonly id: string;
14466
14472
  readonly address?: io.flow.common.v0.models.Address;
14467
14473
  readonly carrier: string;
14468
14474
  readonly carrier_timestamp: string;
@@ -18728,6 +18734,7 @@ export type CheckoutOrderForm = io.flow.internal.v0.models.CheckoutOrderForm;
18728
18734
  export type CheckoutOrderNumberForm = io.flow.internal.v0.models.CheckoutOrderNumberForm;
18729
18735
  export type CheckoutPayment = io.flow.internal.v0.models.CheckoutPayment;
18730
18736
  export type CheckoutPaymentContent = io.flow.internal.v0.models.CheckoutPaymentContent;
18737
+ export type CheckoutPlatformData = io.flow.internal.v0.models.CheckoutPlatformData;
18731
18738
  export type CheckoutPromptBehavior = io.flow.internal.v0.enums.CheckoutPromptBehavior;
18732
18739
  export type CheckoutRedirect = io.flow.internal.v0.models.CheckoutRedirect;
18733
18740
  export type CheckoutRedirectMethod = io.flow.internal.v0.enums.CheckoutRedirectMethod;
package/src/api.ts CHANGED
@@ -1247,8 +1247,6 @@ declare namespace io.flow.v0.enums {
1247
1247
  | 'hs10_code_deleted'
1248
1248
  | 'item_origin_upserted'
1249
1249
  | 'item_origin_deleted'
1250
- | 'harmonized_item_upserted'
1251
- | 'harmonized_item_deleted'
1252
1250
  | 'harmonized_landed_cost_upserted'
1253
1251
  | 'fully_harmonized_item_upserted'
1254
1252
  | 'rule_upserted'
@@ -2372,6 +2370,7 @@ declare namespace io.flow.v0.models {
2372
2370
  readonly order_number: string;
2373
2371
  readonly amount: number;
2374
2372
  readonly currency: string;
2373
+ readonly browser_info?: io.flow.v0.models.BrowserInfo;
2375
2374
  }
2376
2375
 
2377
2376
  interface CardPaymentSourceForm {
@@ -4054,13 +4053,6 @@ declare namespace io.flow.v0.models {
4054
4053
  readonly description?: string;
4055
4054
  }
4056
4055
 
4057
- interface HarmonizedItemDeleted {
4058
- readonly event_id: string;
4059
- readonly timestamp: string;
4060
- readonly organization: string;
4061
- readonly number: string;
4062
- }
4063
-
4064
4056
  interface HarmonizedItemForm {
4065
4057
  readonly name: string;
4066
4058
  readonly number: string;
@@ -4090,19 +4082,6 @@ declare namespace io.flow.v0.models {
4090
4082
  readonly description?: string;
4091
4083
  }
4092
4084
 
4093
- interface HarmonizedItemUpserted {
4094
- readonly event_id: string;
4095
- readonly timestamp: string;
4096
- readonly organization: string;
4097
- readonly number: string;
4098
- readonly name: string;
4099
- readonly categories: string[];
4100
- readonly attributes: {
4101
- [key: string]: string;
4102
- };
4103
- readonly description?: string;
4104
- }
4105
-
4106
4085
  interface HarmonizedLandedCost {
4107
4086
  readonly address: io.flow.v0.models.Address;
4108
4087
  readonly items: io.flow.v0.models.HarmonizedLandedCostItem[];
@@ -5678,13 +5657,15 @@ declare namespace io.flow.v0.models {
5678
5657
  }
5679
5658
 
5680
5659
  interface OrderSummary {
5660
+ readonly number: string;
5681
5661
  readonly subtotal: io.flow.v0.models.OrderSummaryPriceDetail;
5682
- readonly shipping: io.flow.v0.models.OrderSummaryPriceDetail;
5662
+ readonly shipping?: io.flow.v0.models.OrderSummaryPriceDetail;
5683
5663
  readonly tax?: io.flow.v0.models.OrderSummaryPriceDetail;
5684
5664
  readonly duty?: io.flow.v0.models.OrderSummaryPriceDetail;
5685
5665
  readonly insurance?: io.flow.v0.models.OrderSummaryPriceDetail;
5686
5666
  readonly discount?: io.flow.v0.models.OrderSummaryPriceDetail;
5687
5667
  readonly surcharges?: io.flow.v0.models.OrderSummaryPriceDetail;
5668
+ readonly adjustment?: io.flow.v0.models.OrderSummaryPriceDetail;
5688
5669
  readonly total: io.flow.v0.models.OrderSummaryPriceDetail;
5689
5670
  readonly lines: io.flow.v0.models.OrderSummaryLineItem[];
5690
5671
  }
@@ -5703,6 +5684,9 @@ declare namespace io.flow.v0.models {
5703
5684
  readonly discount?: io.flow.v0.models.Price;
5704
5685
  readonly tax?: io.flow.v0.models.OrderSummaryLevy;
5705
5686
  readonly duty?: io.flow.v0.models.OrderSummaryLevy;
5687
+ readonly price_attributes: {
5688
+ [key: string]: io.flow.v0.models.PriceWithBase;
5689
+ };
5706
5690
  }
5707
5691
 
5708
5692
  interface OrderSummaryLevy {
@@ -5717,6 +5701,9 @@ declare namespace io.flow.v0.models {
5717
5701
  readonly tax?: io.flow.v0.models.OrderSummaryLevy;
5718
5702
  readonly duty?: io.flow.v0.models.OrderSummaryLevy;
5719
5703
  readonly total: io.flow.v0.models.Price;
5704
+ readonly price_attributes: {
5705
+ [key: string]: io.flow.v0.models.PriceWithBase;
5706
+ };
5720
5707
  }
5721
5708
 
5722
5709
  interface OrderSummaryPriceDetail {
@@ -9079,12 +9066,6 @@ declare namespace io.flow.v0.unions {
9079
9066
  | {
9080
9067
  discriminator: 'item_origin_deleted';
9081
9068
  } & io.flow.v0.models.ItemOriginDeleted
9082
- | {
9083
- discriminator: 'harmonized_item_upserted';
9084
- } & io.flow.v0.models.HarmonizedItemUpserted
9085
- | {
9086
- discriminator: 'harmonized_item_deleted';
9087
- } & io.flow.v0.models.HarmonizedItemDeleted
9088
9069
  | {
9089
9070
  discriminator: 'harmonized_landed_cost_upserted';
9090
9071
  } & io.flow.v0.models.HarmonizedLandedCostUpserted
@@ -10194,11 +10175,9 @@ export type HarmonizationOverviewExportType = io.flow.v0.models.HarmonizationOve
10194
10175
  export type HarmonizedCategory = io.flow.v0.models.HarmonizedCategory;
10195
10176
  export type HarmonizedCategoryReference = io.flow.v0.models.HarmonizedCategoryReference;
10196
10177
  export type HarmonizedItem = io.flow.v0.models.HarmonizedItem;
10197
- export type HarmonizedItemDeleted = io.flow.v0.models.HarmonizedItemDeleted;
10198
10178
  export type HarmonizedItemForm = io.flow.v0.models.HarmonizedItemForm;
10199
10179
  export type HarmonizedItemPutForm = io.flow.v0.models.HarmonizedItemPutForm;
10200
10180
  export type HarmonizedItemReference = io.flow.v0.models.HarmonizedItemReference;
10201
- export type HarmonizedItemUpserted = io.flow.v0.models.HarmonizedItemUpserted;
10202
10181
  export type HarmonizedLandedCost = io.flow.v0.models.HarmonizedLandedCost;
10203
10182
  export type HarmonizedLandedCostForm = io.flow.v0.models.HarmonizedLandedCostForm;
10204
10183
  export type HarmonizedLandedCostItem = io.flow.v0.models.HarmonizedLandedCostItem;