@flowio/types 4.0.2 → 6.0.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 +1 -30
- package/dist/api.d.ts +90 -16
- package/package.json +2 -2
- package/src/api-internal.ts +1 -34
- package/src/api.ts +105 -19
package/dist/api-internal.d.ts
CHANGED
|
@@ -11104,6 +11104,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11104
11104
|
readonly iso_3166_2: string;
|
|
11105
11105
|
readonly iso_3166_3: string;
|
|
11106
11106
|
readonly name: string;
|
|
11107
|
+
readonly default_currency?: string;
|
|
11107
11108
|
}
|
|
11108
11109
|
interface CountryPickerCurrency {
|
|
11109
11110
|
readonly iso_4217_3: string;
|
|
@@ -12803,32 +12804,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12803
12804
|
readonly name: string;
|
|
12804
12805
|
readonly schema_compatibility: io.flow.internal.v0.enums.MarketingGatewaySchemaCompatibility;
|
|
12805
12806
|
}
|
|
12806
|
-
interface MultiProductItem {
|
|
12807
|
-
readonly item_id: string;
|
|
12808
|
-
readonly item_number: string;
|
|
12809
|
-
readonly product_id?: string;
|
|
12810
|
-
readonly organization_id: string;
|
|
12811
|
-
readonly sub_items: io.flow.internal.v0.models.MultiProductSubItem[];
|
|
12812
|
-
}
|
|
12813
|
-
interface MultiProductItemForm {
|
|
12814
|
-
readonly sub_item_forms: io.flow.internal.v0.models.MultiProductSubItemForm[];
|
|
12815
|
-
}
|
|
12816
|
-
interface MultiProductSubItem {
|
|
12817
|
-
readonly id: string;
|
|
12818
|
-
readonly origin: string;
|
|
12819
|
-
readonly composition_proportion: number;
|
|
12820
|
-
readonly description: string;
|
|
12821
|
-
readonly hs6_code?: string;
|
|
12822
|
-
readonly phrase_id?: string;
|
|
12823
|
-
readonly customs_description?: string;
|
|
12824
|
-
readonly classification_status: io.flow.internal.v0.enums.ItemClassificationStatus;
|
|
12825
|
-
}
|
|
12826
|
-
interface MultiProductSubItemForm {
|
|
12827
|
-
readonly composition_proportion: number;
|
|
12828
|
-
readonly origin: string;
|
|
12829
|
-
readonly description: string;
|
|
12830
|
-
readonly customs_description: string;
|
|
12831
|
-
}
|
|
12832
12807
|
interface NextBillingStatement {
|
|
12833
12808
|
readonly date: string;
|
|
12834
12809
|
readonly amount: io.flow.common.v0.models.Price;
|
|
@@ -15387,10 +15362,6 @@ export declare type MarketingGatewayProductsStatusCount = io.flow.internal.v0.mo
|
|
|
15387
15362
|
export declare type MarketingGatewaySchemaCompatibility = io.flow.internal.v0.enums.MarketingGatewaySchemaCompatibility;
|
|
15388
15363
|
export declare type MarketingGatewaySchemaSummary = io.flow.internal.v0.models.MarketingGatewaySchemaSummary;
|
|
15389
15364
|
export declare type MarketingGatewaySyncStatus = io.flow.internal.v0.enums.MarketingGatewaySyncStatus;
|
|
15390
|
-
export declare type MultiProductItem = io.flow.internal.v0.models.MultiProductItem;
|
|
15391
|
-
export declare type MultiProductItemForm = io.flow.internal.v0.models.MultiProductItemForm;
|
|
15392
|
-
export declare type MultiProductSubItem = io.flow.internal.v0.models.MultiProductSubItem;
|
|
15393
|
-
export declare type MultiProductSubItemForm = io.flow.internal.v0.models.MultiProductSubItemForm;
|
|
15394
15365
|
export declare type NextBillingStatement = io.flow.internal.v0.models.NextBillingStatement;
|
|
15395
15366
|
export declare type NextInstallment = io.flow.internal.v0.models.NextInstallment;
|
|
15396
15367
|
export declare type NextInstallmentDeleted = io.flow.internal.v0.models.NextInstallmentDeleted;
|
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_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' | '
|
|
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' | 'email_notification_upserted' | 'email_notification_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' | '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';
|
|
@@ -921,6 +921,7 @@ declare namespace io.flow.v0.enums {
|
|
|
921
921
|
type PriceBookStatus = 'draft' | 'published' | 'archived';
|
|
922
922
|
type PriceDetailComponentKey = 'base_price' | 'discount' | 'currency_margin' | 'percent_item_margin' | 'fixed_item_margin' | 'duties_item_price' | 'duties_added_margin' | 'duties_rounding' | 'duties_deminimis' | 'vat_item_price' | 'vat_added_margin' | 'vat_rounding' | 'vat_duties_item_price' | 'vat_duties_added_margin' | 'vat_duties_rounding' | 'vat_deminimis' | 'item_price_percent_sales_margin' | 'margins_percent_sales_margin' | 'rounding_percent_sales_margin' | 'vat_percent_sales_margin' | 'vat_duty_percent_sales_margin' | 'duty_percent_sales_margin';
|
|
923
923
|
type PriceDetailKey = 'item_price' | 'margins' | 'vat' | 'duty' | 'rounding' | 'adjustment';
|
|
924
|
+
type PriceFacetBoundary = 'min' | 'max';
|
|
924
925
|
type PricingLevySetting = 'included' | 'displayed' | 'ignored';
|
|
925
926
|
type PromotionTriggerType = 'automatic' | 'order_subtotal';
|
|
926
927
|
type ProvinceType = 'city' | 'dependency' | 'district' | 'emirate' | 'entity' | 'municipality' | 'outlying_area' | 'parish' | 'province' | 'state' | 'territory' | 'other';
|
|
@@ -1494,6 +1495,7 @@ declare namespace io.flow.v0.models {
|
|
|
1494
1495
|
interface CaptureIdentifier {
|
|
1495
1496
|
readonly id: string;
|
|
1496
1497
|
readonly capture: io.flow.v0.models.CaptureReference;
|
|
1498
|
+
readonly name: string;
|
|
1497
1499
|
readonly identifier: string;
|
|
1498
1500
|
readonly primary: boolean;
|
|
1499
1501
|
}
|
|
@@ -2002,6 +2004,7 @@ declare namespace io.flow.v0.models {
|
|
|
2002
2004
|
readonly item_number: string;
|
|
2003
2005
|
readonly quantity: number;
|
|
2004
2006
|
readonly unit_price: number;
|
|
2007
|
+
readonly unit_discount?: number;
|
|
2005
2008
|
readonly unit_tax?: io.flow.v0.models.ConsumerInvoiceLevyForm;
|
|
2006
2009
|
readonly unit_duty?: io.flow.v0.models.ConsumerInvoiceLevyForm;
|
|
2007
2010
|
}
|
|
@@ -2013,6 +2016,7 @@ declare namespace io.flow.v0.models {
|
|
|
2013
2016
|
}
|
|
2014
2017
|
interface ConsumerInvoiceLineShippingForm {
|
|
2015
2018
|
readonly price: number;
|
|
2019
|
+
readonly discount?: number;
|
|
2016
2020
|
readonly tax?: io.flow.v0.models.ConsumerInvoiceLevyForm;
|
|
2017
2021
|
readonly duty?: io.flow.v0.models.ConsumerInvoiceLevyForm;
|
|
2018
2022
|
}
|
|
@@ -2536,6 +2540,41 @@ declare namespace io.flow.v0.models {
|
|
|
2536
2540
|
readonly organization: string;
|
|
2537
2541
|
readonly ecommerce_platform: io.flow.v0.models.EcommercePlatform;
|
|
2538
2542
|
}
|
|
2543
|
+
interface EmailNotification {
|
|
2544
|
+
readonly id: string;
|
|
2545
|
+
readonly to: io.flow.v0.models.EmailRecipient;
|
|
2546
|
+
readonly created_at: string;
|
|
2547
|
+
readonly data: io.flow.v0.unions.EmailNotificationData;
|
|
2548
|
+
}
|
|
2549
|
+
interface EmailNotificationDataRefund {
|
|
2550
|
+
readonly order: io.flow.v0.models.OrderSummary;
|
|
2551
|
+
readonly return: io.flow.v0.models.OrderSummary;
|
|
2552
|
+
readonly payment: io.flow.v0.models.EmailPaymentSummary;
|
|
2553
|
+
}
|
|
2554
|
+
interface EmailNotificationDeleted {
|
|
2555
|
+
readonly event_id: string;
|
|
2556
|
+
readonly timestamp: string;
|
|
2557
|
+
readonly organization: string;
|
|
2558
|
+
readonly notification: io.flow.v0.models.EmailNotification;
|
|
2559
|
+
}
|
|
2560
|
+
interface EmailNotificationForm {
|
|
2561
|
+
readonly to: io.flow.v0.models.EmailRecipient;
|
|
2562
|
+
readonly created_at: string;
|
|
2563
|
+
readonly data: io.flow.v0.unions.EmailNotificationData;
|
|
2564
|
+
}
|
|
2565
|
+
interface EmailNotificationUpserted {
|
|
2566
|
+
readonly event_id: string;
|
|
2567
|
+
readonly timestamp: string;
|
|
2568
|
+
readonly organization: string;
|
|
2569
|
+
readonly notification: io.flow.v0.models.EmailNotification;
|
|
2570
|
+
}
|
|
2571
|
+
interface EmailPaymentSummary {
|
|
2572
|
+
readonly refund: io.flow.v0.models.Refund;
|
|
2573
|
+
}
|
|
2574
|
+
interface EmailRecipient {
|
|
2575
|
+
readonly email: string;
|
|
2576
|
+
readonly name?: io.flow.v0.models.Name;
|
|
2577
|
+
}
|
|
2539
2578
|
interface EmailVerification {
|
|
2540
2579
|
readonly email: string;
|
|
2541
2580
|
}
|
|
@@ -2732,6 +2771,19 @@ declare namespace io.flow.v0.models {
|
|
|
2732
2771
|
readonly organization: string;
|
|
2733
2772
|
readonly experience_price_book_mapping: io.flow.v0.models.ExperiencePriceBookMapping;
|
|
2734
2773
|
}
|
|
2774
|
+
interface ExperiencePriceFacetConversion {
|
|
2775
|
+
readonly request: io.flow.v0.models.ExperiencePriceFacetConversionRequest;
|
|
2776
|
+
readonly price: io.flow.v0.models.PriceWithBase;
|
|
2777
|
+
}
|
|
2778
|
+
interface ExperiencePriceFacetConversionRequest {
|
|
2779
|
+
readonly boundary: io.flow.v0.enums.PriceFacetBoundary;
|
|
2780
|
+
readonly value: number;
|
|
2781
|
+
readonly base: string;
|
|
2782
|
+
readonly local: string;
|
|
2783
|
+
}
|
|
2784
|
+
interface ExperiencePriceFacetConversionResponse {
|
|
2785
|
+
readonly facets: io.flow.v0.models.ExperiencePriceFacetConversion[];
|
|
2786
|
+
}
|
|
2735
2787
|
interface ExperienceReference {
|
|
2736
2788
|
readonly key: string;
|
|
2737
2789
|
}
|
|
@@ -3175,6 +3227,7 @@ declare namespace io.flow.v0.models {
|
|
|
3175
3227
|
}
|
|
3176
3228
|
interface IdentifierForm {
|
|
3177
3229
|
readonly primary?: boolean;
|
|
3230
|
+
readonly name?: string;
|
|
3178
3231
|
}
|
|
3179
3232
|
interface Image {
|
|
3180
3233
|
readonly url: string;
|
|
@@ -4256,6 +4309,7 @@ declare namespace io.flow.v0.models {
|
|
|
4256
4309
|
interface OrderIdentifier {
|
|
4257
4310
|
readonly id: string;
|
|
4258
4311
|
readonly order: io.flow.v0.models.OrderReference;
|
|
4312
|
+
readonly name: string;
|
|
4259
4313
|
readonly identifier: string;
|
|
4260
4314
|
readonly primary: boolean;
|
|
4261
4315
|
readonly number?: string;
|
|
@@ -4273,12 +4327,14 @@ declare namespace io.flow.v0.models {
|
|
|
4273
4327
|
}
|
|
4274
4328
|
interface OrderIdentifierForm {
|
|
4275
4329
|
readonly order: string;
|
|
4330
|
+
readonly name?: string;
|
|
4276
4331
|
readonly identifier?: string;
|
|
4277
4332
|
readonly number?: string;
|
|
4278
4333
|
readonly primary?: boolean;
|
|
4279
4334
|
}
|
|
4280
4335
|
interface OrderIdentifierPutForm {
|
|
4281
4336
|
readonly order: string;
|
|
4337
|
+
readonly name?: string;
|
|
4282
4338
|
readonly primary?: boolean;
|
|
4283
4339
|
}
|
|
4284
4340
|
interface OrderIdentifierUpserted {
|
|
@@ -4376,6 +4432,7 @@ declare namespace io.flow.v0.models {
|
|
|
4376
4432
|
readonly name?: string;
|
|
4377
4433
|
readonly rate?: number;
|
|
4378
4434
|
readonly accuracy?: io.flow.v0.enums.PriceAccuracy;
|
|
4435
|
+
readonly rate_label?: string;
|
|
4379
4436
|
}
|
|
4380
4437
|
interface OrderPriceDetailComponent {
|
|
4381
4438
|
readonly key: io.flow.v0.enums.OrderPriceDetailComponentKey;
|
|
@@ -4438,6 +4495,7 @@ declare namespace io.flow.v0.models {
|
|
|
4438
4495
|
}
|
|
4439
4496
|
interface OrderSubmissionIdentifierForm {
|
|
4440
4497
|
readonly identifier: string;
|
|
4498
|
+
readonly name?: string;
|
|
4441
4499
|
readonly primary?: boolean;
|
|
4442
4500
|
}
|
|
4443
4501
|
interface OrderSummary {
|
|
@@ -4452,6 +4510,12 @@ declare namespace io.flow.v0.models {
|
|
|
4452
4510
|
readonly adjustment?: io.flow.v0.models.OrderSummaryPriceDetail;
|
|
4453
4511
|
readonly total: io.flow.v0.models.OrderSummaryPriceDetail;
|
|
4454
4512
|
readonly lines: io.flow.v0.models.OrderSummaryLineItem[];
|
|
4513
|
+
readonly identifiers?: io.flow.v0.models.OrderSummaryIdentifier[];
|
|
4514
|
+
}
|
|
4515
|
+
interface OrderSummaryIdentifier {
|
|
4516
|
+
readonly name: string;
|
|
4517
|
+
readonly identifier: string;
|
|
4518
|
+
readonly primary: boolean;
|
|
4455
4519
|
}
|
|
4456
4520
|
interface OrderSummaryImage {
|
|
4457
4521
|
readonly url: string;
|
|
@@ -4467,11 +4531,12 @@ declare namespace io.flow.v0.models {
|
|
|
4467
4531
|
readonly tax?: io.flow.v0.models.OrderSummaryLevy;
|
|
4468
4532
|
readonly duty?: io.flow.v0.models.OrderSummaryLevy;
|
|
4469
4533
|
readonly price_attributes: {
|
|
4470
|
-
[key: string]: io.flow.v0.models.
|
|
4534
|
+
[key: string]: io.flow.v0.models.Price;
|
|
4471
4535
|
};
|
|
4472
4536
|
}
|
|
4473
4537
|
interface OrderSummaryLevy {
|
|
4474
4538
|
readonly rate: number;
|
|
4539
|
+
readonly rate_label?: string;
|
|
4475
4540
|
readonly value: io.flow.v0.models.Price;
|
|
4476
4541
|
}
|
|
4477
4542
|
interface OrderSummaryLineItem {
|
|
@@ -4482,13 +4547,14 @@ declare namespace io.flow.v0.models {
|
|
|
4482
4547
|
readonly duty?: io.flow.v0.models.OrderSummaryLevy;
|
|
4483
4548
|
readonly total: io.flow.v0.models.Price;
|
|
4484
4549
|
readonly price_attributes: {
|
|
4485
|
-
[key: string]: io.flow.v0.models.
|
|
4550
|
+
[key: string]: io.flow.v0.models.Price;
|
|
4486
4551
|
};
|
|
4487
4552
|
}
|
|
4488
4553
|
interface OrderSummaryPriceDetail {
|
|
4489
4554
|
readonly price: io.flow.v0.models.Price;
|
|
4490
4555
|
readonly name?: string;
|
|
4491
4556
|
readonly rate?: number;
|
|
4557
|
+
readonly rate_label?: string;
|
|
4492
4558
|
}
|
|
4493
4559
|
interface OrderUpserted {
|
|
4494
4560
|
readonly event_id: string;
|
|
@@ -4551,15 +4617,6 @@ declare namespace io.flow.v0.models {
|
|
|
4551
4617
|
interface OrganizationConfigurationReference {
|
|
4552
4618
|
readonly id: string;
|
|
4553
4619
|
}
|
|
4554
|
-
interface OrganizationCountriesData {
|
|
4555
|
-
readonly available: string[];
|
|
4556
|
-
}
|
|
4557
|
-
interface OrganizationCountriesPublished {
|
|
4558
|
-
readonly event_id: string;
|
|
4559
|
-
readonly timestamp: string;
|
|
4560
|
-
readonly organization: string;
|
|
4561
|
-
readonly data: io.flow.v0.models.OrganizationCountriesData;
|
|
4562
|
-
}
|
|
4563
4620
|
interface OrganizationCurrencySetting {
|
|
4564
4621
|
readonly id: string;
|
|
4565
4622
|
readonly base: string;
|
|
@@ -5526,6 +5583,7 @@ declare namespace io.flow.v0.models {
|
|
|
5526
5583
|
interface RefundIdentifier {
|
|
5527
5584
|
readonly id: string;
|
|
5528
5585
|
readonly refund: io.flow.v0.models.RefundReference;
|
|
5586
|
+
readonly name: string;
|
|
5529
5587
|
readonly identifier: string;
|
|
5530
5588
|
readonly primary: boolean;
|
|
5531
5589
|
}
|
|
@@ -7121,6 +7179,9 @@ declare namespace io.flow.v0.unions {
|
|
|
7121
7179
|
} & io.flow.v0.models.CatalogItemDocument | {
|
|
7122
7180
|
discriminator: 'harmonization_document';
|
|
7123
7181
|
} & io.flow.v0.models.HarmonizationDocument;
|
|
7182
|
+
type EmailNotificationData = {
|
|
7183
|
+
discriminator: 'refund';
|
|
7184
|
+
} & io.flow.v0.models.EmailNotificationDataRefund;
|
|
7124
7185
|
type Event = {
|
|
7125
7186
|
discriminator: 'attribute_upserted';
|
|
7126
7187
|
} & io.flow.v0.models.AttributeUpserted | {
|
|
@@ -7184,6 +7245,10 @@ declare namespace io.flow.v0.unions {
|
|
|
7184
7245
|
} & io.flow.v0.models.CustomerAddressBookContactUpserted | {
|
|
7185
7246
|
discriminator: 'customer_address_book_contact_deleted';
|
|
7186
7247
|
} & io.flow.v0.models.CustomerAddressBookContactDeleted | {
|
|
7248
|
+
discriminator: 'email_notification_upserted';
|
|
7249
|
+
} & io.flow.v0.models.EmailNotificationUpserted | {
|
|
7250
|
+
discriminator: 'email_notification_deleted';
|
|
7251
|
+
} & io.flow.v0.models.EmailNotificationDeleted | {
|
|
7187
7252
|
discriminator: 'available_promotions_upserted';
|
|
7188
7253
|
} & io.flow.v0.models.AvailablePromotionsUpserted | {
|
|
7189
7254
|
discriminator: 'available_promotions_deleted';
|
|
@@ -7418,8 +7483,6 @@ declare namespace io.flow.v0.unions {
|
|
|
7418
7483
|
} & io.flow.v0.models.PriceBookItemDeleted | {
|
|
7419
7484
|
discriminator: 'organization_rates_published';
|
|
7420
7485
|
} & io.flow.v0.models.OrganizationRatesPublished | {
|
|
7421
|
-
discriminator: 'organization_countries_published';
|
|
7422
|
-
} & io.flow.v0.models.OrganizationCountriesPublished | {
|
|
7423
7486
|
discriminator: 'ratecard_lane_upserted';
|
|
7424
7487
|
} & io.flow.v0.models.RatecardLaneUpserted | {
|
|
7425
7488
|
discriminator: 'ratecard_lane_deleted';
|
|
@@ -8037,6 +8100,14 @@ export declare type EcommercePlatformDeleted = io.flow.v0.models.EcommercePlatfo
|
|
|
8037
8100
|
export declare type EcommercePlatformType = io.flow.v0.enums.EcommercePlatformType;
|
|
8038
8101
|
export declare type EcommercePlatformUpserted = io.flow.v0.models.EcommercePlatformUpserted;
|
|
8039
8102
|
export declare type EconomicTitleLocation = io.flow.v0.enums.EconomicTitleLocation;
|
|
8103
|
+
export declare type EmailNotification = io.flow.v0.models.EmailNotification;
|
|
8104
|
+
export declare type EmailNotificationData = io.flow.v0.unions.EmailNotificationData;
|
|
8105
|
+
export declare type EmailNotificationDataRefund = io.flow.v0.models.EmailNotificationDataRefund;
|
|
8106
|
+
export declare type EmailNotificationDeleted = io.flow.v0.models.EmailNotificationDeleted;
|
|
8107
|
+
export declare type EmailNotificationForm = io.flow.v0.models.EmailNotificationForm;
|
|
8108
|
+
export declare type EmailNotificationUpserted = io.flow.v0.models.EmailNotificationUpserted;
|
|
8109
|
+
export declare type EmailPaymentSummary = io.flow.v0.models.EmailPaymentSummary;
|
|
8110
|
+
export declare type EmailRecipient = io.flow.v0.models.EmailRecipient;
|
|
8040
8111
|
export declare type EmailVerification = io.flow.v0.models.EmailVerification;
|
|
8041
8112
|
export declare type Environment = io.flow.v0.enums.Environment;
|
|
8042
8113
|
export declare type EstimatedDimensions = io.flow.v0.models.EstimatedDimensions;
|
|
@@ -8087,6 +8158,9 @@ export declare type ExperiencePriceBookMappingDeleted = io.flow.v0.models.Experi
|
|
|
8087
8158
|
export declare type ExperiencePriceBookMappingForm = io.flow.v0.models.ExperiencePriceBookMappingForm;
|
|
8088
8159
|
export declare type ExperiencePriceBookMappingPutForm = io.flow.v0.models.ExperiencePriceBookMappingPutForm;
|
|
8089
8160
|
export declare type ExperiencePriceBookMappingUpserted = io.flow.v0.models.ExperiencePriceBookMappingUpserted;
|
|
8161
|
+
export declare type ExperiencePriceFacetConversion = io.flow.v0.models.ExperiencePriceFacetConversion;
|
|
8162
|
+
export declare type ExperiencePriceFacetConversionRequest = io.flow.v0.models.ExperiencePriceFacetConversionRequest;
|
|
8163
|
+
export declare type ExperiencePriceFacetConversionResponse = io.flow.v0.models.ExperiencePriceFacetConversionResponse;
|
|
8090
8164
|
export declare type ExperienceReference = io.flow.v0.models.ExperienceReference;
|
|
8091
8165
|
export declare type ExperienceSettings = io.flow.v0.models.ExperienceSettings;
|
|
8092
8166
|
export declare type ExperienceStatus = io.flow.v0.enums.ExperienceStatus;
|
|
@@ -8419,6 +8493,7 @@ export declare type OrderStatus = io.flow.v0.enums.OrderStatus;
|
|
|
8419
8493
|
export declare type OrderSubmissionForm = io.flow.v0.models.OrderSubmissionForm;
|
|
8420
8494
|
export declare type OrderSubmissionIdentifierForm = io.flow.v0.models.OrderSubmissionIdentifierForm;
|
|
8421
8495
|
export declare type OrderSummary = io.flow.v0.models.OrderSummary;
|
|
8496
|
+
export declare type OrderSummaryIdentifier = io.flow.v0.models.OrderSummaryIdentifier;
|
|
8422
8497
|
export declare type OrderSummaryImage = io.flow.v0.models.OrderSummaryImage;
|
|
8423
8498
|
export declare type OrderSummaryItem = io.flow.v0.models.OrderSummaryItem;
|
|
8424
8499
|
export declare type OrderSummaryLevy = io.flow.v0.models.OrderSummaryLevy;
|
|
@@ -8431,8 +8506,6 @@ export declare type Organization = io.flow.v0.models.Organization;
|
|
|
8431
8506
|
export declare type OrganizationAuthorization = io.flow.v0.models.OrganizationAuthorization;
|
|
8432
8507
|
export declare type OrganizationAuthorizationForm = io.flow.v0.models.OrganizationAuthorizationForm;
|
|
8433
8508
|
export declare type OrganizationConfigurationReference = io.flow.v0.models.OrganizationConfigurationReference;
|
|
8434
|
-
export declare type OrganizationCountriesData = io.flow.v0.models.OrganizationCountriesData;
|
|
8435
|
-
export declare type OrganizationCountriesPublished = io.flow.v0.models.OrganizationCountriesPublished;
|
|
8436
8509
|
export declare type OrganizationCurrencySetting = io.flow.v0.models.OrganizationCurrencySetting;
|
|
8437
8510
|
export declare type OrganizationCurrencySettingForm = io.flow.v0.models.OrganizationCurrencySettingForm;
|
|
8438
8511
|
export declare type OrganizationCurrencySettingVersion = io.flow.v0.models.OrganizationCurrencySettingVersion;
|
|
@@ -8534,6 +8607,7 @@ export declare type PriceDetailComponentKey = io.flow.v0.enums.PriceDetailCompon
|
|
|
8534
8607
|
export declare type PriceDetailKey = io.flow.v0.enums.PriceDetailKey;
|
|
8535
8608
|
export declare type PriceDetails = io.flow.v0.models.PriceDetails;
|
|
8536
8609
|
export declare type PriceEquation = io.flow.v0.models.PriceEquation;
|
|
8610
|
+
export declare type PriceFacetBoundary = io.flow.v0.enums.PriceFacetBoundary;
|
|
8537
8611
|
export declare type PriceForm = io.flow.v0.models.PriceForm;
|
|
8538
8612
|
export declare type PriceSource = io.flow.v0.unions.PriceSource;
|
|
8539
8613
|
export declare type PriceSourceCatalog = io.flow.v0.models.PriceSourceCatalog;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.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.6.3"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "616e112b78f12a40dccbb97b7c6cc695d5c1ad80"
|
|
31
31
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -14018,6 +14018,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14018
14018
|
readonly iso_3166_2: string;
|
|
14019
14019
|
readonly iso_3166_3: string;
|
|
14020
14020
|
readonly name: string;
|
|
14021
|
+
readonly default_currency?: string;
|
|
14021
14022
|
}
|
|
14022
14023
|
|
|
14023
14024
|
interface CountryPickerCurrency {
|
|
@@ -16006,36 +16007,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16006
16007
|
readonly schema_compatibility: io.flow.internal.v0.enums.MarketingGatewaySchemaCompatibility;
|
|
16007
16008
|
}
|
|
16008
16009
|
|
|
16009
|
-
interface MultiProductItem {
|
|
16010
|
-
readonly item_id: string;
|
|
16011
|
-
readonly item_number: string;
|
|
16012
|
-
readonly product_id?: string;
|
|
16013
|
-
readonly organization_id: string;
|
|
16014
|
-
readonly sub_items: io.flow.internal.v0.models.MultiProductSubItem[];
|
|
16015
|
-
}
|
|
16016
|
-
|
|
16017
|
-
interface MultiProductItemForm {
|
|
16018
|
-
readonly sub_item_forms: io.flow.internal.v0.models.MultiProductSubItemForm[];
|
|
16019
|
-
}
|
|
16020
|
-
|
|
16021
|
-
interface MultiProductSubItem {
|
|
16022
|
-
readonly id: string;
|
|
16023
|
-
readonly origin: string;
|
|
16024
|
-
readonly composition_proportion: number;
|
|
16025
|
-
readonly description: string;
|
|
16026
|
-
readonly hs6_code?: string;
|
|
16027
|
-
readonly phrase_id?: string;
|
|
16028
|
-
readonly customs_description?: string;
|
|
16029
|
-
readonly classification_status: io.flow.internal.v0.enums.ItemClassificationStatus;
|
|
16030
|
-
}
|
|
16031
|
-
|
|
16032
|
-
interface MultiProductSubItemForm {
|
|
16033
|
-
readonly composition_proportion: number;
|
|
16034
|
-
readonly origin: string;
|
|
16035
|
-
readonly description: string;
|
|
16036
|
-
readonly customs_description: string;
|
|
16037
|
-
}
|
|
16038
|
-
|
|
16039
16010
|
interface NextBillingStatement {
|
|
16040
16011
|
readonly date: string;
|
|
16041
16012
|
readonly amount: io.flow.common.v0.models.Price;
|
|
@@ -19126,10 +19097,6 @@ export type MarketingGatewayProductsStatusCount = io.flow.internal.v0.models.Mar
|
|
|
19126
19097
|
export type MarketingGatewaySchemaCompatibility = io.flow.internal.v0.enums.MarketingGatewaySchemaCompatibility;
|
|
19127
19098
|
export type MarketingGatewaySchemaSummary = io.flow.internal.v0.models.MarketingGatewaySchemaSummary;
|
|
19128
19099
|
export type MarketingGatewaySyncStatus = io.flow.internal.v0.enums.MarketingGatewaySyncStatus;
|
|
19129
|
-
export type MultiProductItem = io.flow.internal.v0.models.MultiProductItem;
|
|
19130
|
-
export type MultiProductItemForm = io.flow.internal.v0.models.MultiProductItemForm;
|
|
19131
|
-
export type MultiProductSubItem = io.flow.internal.v0.models.MultiProductSubItem;
|
|
19132
|
-
export type MultiProductSubItemForm = io.flow.internal.v0.models.MultiProductSubItemForm;
|
|
19133
19100
|
export type NextBillingStatement = io.flow.internal.v0.models.NextBillingStatement;
|
|
19134
19101
|
export type NextInstallment = io.flow.internal.v0.models.NextInstallment;
|
|
19135
19102
|
export type NextInstallmentDeleted = io.flow.internal.v0.models.NextInstallmentDeleted;
|
package/src/api.ts
CHANGED
|
@@ -1194,6 +1194,8 @@ declare namespace io.flow.v0.enums {
|
|
|
1194
1194
|
| 'customer_deleted'
|
|
1195
1195
|
| 'customer_address_book_contact_upserted'
|
|
1196
1196
|
| 'customer_address_book_contact_deleted'
|
|
1197
|
+
| 'email_notification_upserted'
|
|
1198
|
+
| 'email_notification_deleted'
|
|
1197
1199
|
| 'available_promotions_upserted'
|
|
1198
1200
|
| 'available_promotions_deleted'
|
|
1199
1201
|
| 'available_promotions_upserted_v2'
|
|
@@ -1311,7 +1313,6 @@ declare namespace io.flow.v0.enums {
|
|
|
1311
1313
|
| 'price_book_item_upserted'
|
|
1312
1314
|
| 'price_book_item_deleted'
|
|
1313
1315
|
| 'organization_rates_published'
|
|
1314
|
-
| 'organization_countries_published'
|
|
1315
1316
|
| 'ratecard_lane_upserted'
|
|
1316
1317
|
| 'ratecard_lane_deleted'
|
|
1317
1318
|
| 'ratecard_upserted'
|
|
@@ -1526,6 +1527,7 @@ declare namespace io.flow.v0.enums {
|
|
|
1526
1527
|
| 'duty'
|
|
1527
1528
|
| 'rounding'
|
|
1528
1529
|
| 'adjustment';
|
|
1530
|
+
type PriceFacetBoundary = 'min' | 'max';
|
|
1529
1531
|
type PricingLevySetting = 'included' | 'displayed' | 'ignored';
|
|
1530
1532
|
type PromotionTriggerType = 'automatic' | 'order_subtotal';
|
|
1531
1533
|
type ProvinceType =
|
|
@@ -2231,6 +2233,7 @@ declare namespace io.flow.v0.models {
|
|
|
2231
2233
|
interface CaptureIdentifier {
|
|
2232
2234
|
readonly id: string;
|
|
2233
2235
|
readonly capture: io.flow.v0.models.CaptureReference;
|
|
2236
|
+
readonly name: string;
|
|
2234
2237
|
readonly identifier: string;
|
|
2235
2238
|
readonly primary: boolean;
|
|
2236
2239
|
}
|
|
@@ -2819,6 +2822,7 @@ declare namespace io.flow.v0.models {
|
|
|
2819
2822
|
readonly item_number: string;
|
|
2820
2823
|
readonly quantity: number;
|
|
2821
2824
|
readonly unit_price: number;
|
|
2825
|
+
readonly unit_discount?: number;
|
|
2822
2826
|
readonly unit_tax?: io.flow.v0.models.ConsumerInvoiceLevyForm;
|
|
2823
2827
|
readonly unit_duty?: io.flow.v0.models.ConsumerInvoiceLevyForm;
|
|
2824
2828
|
}
|
|
@@ -2832,6 +2836,7 @@ declare namespace io.flow.v0.models {
|
|
|
2832
2836
|
|
|
2833
2837
|
interface ConsumerInvoiceLineShippingForm {
|
|
2834
2838
|
readonly price: number;
|
|
2839
|
+
readonly discount?: number;
|
|
2835
2840
|
readonly tax?: io.flow.v0.models.ConsumerInvoiceLevyForm;
|
|
2836
2841
|
readonly duty?: io.flow.v0.models.ConsumerInvoiceLevyForm;
|
|
2837
2842
|
}
|
|
@@ -3441,6 +3446,48 @@ declare namespace io.flow.v0.models {
|
|
|
3441
3446
|
readonly ecommerce_platform: io.flow.v0.models.EcommercePlatform;
|
|
3442
3447
|
}
|
|
3443
3448
|
|
|
3449
|
+
interface EmailNotification {
|
|
3450
|
+
readonly id: string;
|
|
3451
|
+
readonly to: io.flow.v0.models.EmailRecipient;
|
|
3452
|
+
readonly created_at: string;
|
|
3453
|
+
readonly data: io.flow.v0.unions.EmailNotificationData;
|
|
3454
|
+
}
|
|
3455
|
+
|
|
3456
|
+
interface EmailNotificationDataRefund {
|
|
3457
|
+
readonly order: io.flow.v0.models.OrderSummary;
|
|
3458
|
+
readonly return: io.flow.v0.models.OrderSummary;
|
|
3459
|
+
readonly payment: io.flow.v0.models.EmailPaymentSummary;
|
|
3460
|
+
}
|
|
3461
|
+
|
|
3462
|
+
interface EmailNotificationDeleted {
|
|
3463
|
+
readonly event_id: string;
|
|
3464
|
+
readonly timestamp: string;
|
|
3465
|
+
readonly organization: string;
|
|
3466
|
+
readonly notification: io.flow.v0.models.EmailNotification;
|
|
3467
|
+
}
|
|
3468
|
+
|
|
3469
|
+
interface EmailNotificationForm {
|
|
3470
|
+
readonly to: io.flow.v0.models.EmailRecipient;
|
|
3471
|
+
readonly created_at: string;
|
|
3472
|
+
readonly data: io.flow.v0.unions.EmailNotificationData;
|
|
3473
|
+
}
|
|
3474
|
+
|
|
3475
|
+
interface EmailNotificationUpserted {
|
|
3476
|
+
readonly event_id: string;
|
|
3477
|
+
readonly timestamp: string;
|
|
3478
|
+
readonly organization: string;
|
|
3479
|
+
readonly notification: io.flow.v0.models.EmailNotification;
|
|
3480
|
+
}
|
|
3481
|
+
|
|
3482
|
+
interface EmailPaymentSummary {
|
|
3483
|
+
readonly refund: io.flow.v0.models.Refund;
|
|
3484
|
+
}
|
|
3485
|
+
|
|
3486
|
+
interface EmailRecipient {
|
|
3487
|
+
readonly email: string;
|
|
3488
|
+
readonly name?: io.flow.v0.models.Name;
|
|
3489
|
+
}
|
|
3490
|
+
|
|
3444
3491
|
interface EmailVerification {
|
|
3445
3492
|
readonly email: string;
|
|
3446
3493
|
}
|
|
@@ -3673,6 +3720,22 @@ declare namespace io.flow.v0.models {
|
|
|
3673
3720
|
readonly experience_price_book_mapping: io.flow.v0.models.ExperiencePriceBookMapping;
|
|
3674
3721
|
}
|
|
3675
3722
|
|
|
3723
|
+
interface ExperiencePriceFacetConversion {
|
|
3724
|
+
readonly request: io.flow.v0.models.ExperiencePriceFacetConversionRequest;
|
|
3725
|
+
readonly price: io.flow.v0.models.PriceWithBase;
|
|
3726
|
+
}
|
|
3727
|
+
|
|
3728
|
+
interface ExperiencePriceFacetConversionRequest {
|
|
3729
|
+
readonly boundary: io.flow.v0.enums.PriceFacetBoundary;
|
|
3730
|
+
readonly value: number;
|
|
3731
|
+
readonly base: string;
|
|
3732
|
+
readonly local: string;
|
|
3733
|
+
}
|
|
3734
|
+
|
|
3735
|
+
interface ExperiencePriceFacetConversionResponse {
|
|
3736
|
+
readonly facets: io.flow.v0.models.ExperiencePriceFacetConversion[];
|
|
3737
|
+
}
|
|
3738
|
+
|
|
3676
3739
|
interface ExperienceReference {
|
|
3677
3740
|
readonly key: string;
|
|
3678
3741
|
}
|
|
@@ -4195,6 +4258,7 @@ declare namespace io.flow.v0.models {
|
|
|
4195
4258
|
|
|
4196
4259
|
interface IdentifierForm {
|
|
4197
4260
|
readonly primary?: boolean;
|
|
4261
|
+
readonly name?: string;
|
|
4198
4262
|
}
|
|
4199
4263
|
|
|
4200
4264
|
interface Image {
|
|
@@ -5440,6 +5504,7 @@ declare namespace io.flow.v0.models {
|
|
|
5440
5504
|
interface OrderIdentifier {
|
|
5441
5505
|
readonly id: string;
|
|
5442
5506
|
readonly order: io.flow.v0.models.OrderReference;
|
|
5507
|
+
readonly name: string;
|
|
5443
5508
|
readonly identifier: string;
|
|
5444
5509
|
readonly primary: boolean;
|
|
5445
5510
|
readonly number?: string;
|
|
@@ -5460,6 +5525,7 @@ declare namespace io.flow.v0.models {
|
|
|
5460
5525
|
|
|
5461
5526
|
interface OrderIdentifierForm {
|
|
5462
5527
|
readonly order: string;
|
|
5528
|
+
readonly name?: string;
|
|
5463
5529
|
readonly identifier?: string;
|
|
5464
5530
|
readonly number?: string;
|
|
5465
5531
|
readonly primary?: boolean;
|
|
@@ -5467,6 +5533,7 @@ declare namespace io.flow.v0.models {
|
|
|
5467
5533
|
|
|
5468
5534
|
interface OrderIdentifierPutForm {
|
|
5469
5535
|
readonly order: string;
|
|
5536
|
+
readonly name?: string;
|
|
5470
5537
|
readonly primary?: boolean;
|
|
5471
5538
|
}
|
|
5472
5539
|
|
|
@@ -5579,6 +5646,7 @@ declare namespace io.flow.v0.models {
|
|
|
5579
5646
|
readonly name?: string;
|
|
5580
5647
|
readonly rate?: number;
|
|
5581
5648
|
readonly accuracy?: io.flow.v0.enums.PriceAccuracy;
|
|
5649
|
+
readonly rate_label?: string;
|
|
5582
5650
|
}
|
|
5583
5651
|
|
|
5584
5652
|
interface OrderPriceDetailComponent {
|
|
@@ -5653,6 +5721,7 @@ declare namespace io.flow.v0.models {
|
|
|
5653
5721
|
|
|
5654
5722
|
interface OrderSubmissionIdentifierForm {
|
|
5655
5723
|
readonly identifier: string;
|
|
5724
|
+
readonly name?: string;
|
|
5656
5725
|
readonly primary?: boolean;
|
|
5657
5726
|
}
|
|
5658
5727
|
|
|
@@ -5668,6 +5737,13 @@ declare namespace io.flow.v0.models {
|
|
|
5668
5737
|
readonly adjustment?: io.flow.v0.models.OrderSummaryPriceDetail;
|
|
5669
5738
|
readonly total: io.flow.v0.models.OrderSummaryPriceDetail;
|
|
5670
5739
|
readonly lines: io.flow.v0.models.OrderSummaryLineItem[];
|
|
5740
|
+
readonly identifiers?: io.flow.v0.models.OrderSummaryIdentifier[];
|
|
5741
|
+
}
|
|
5742
|
+
|
|
5743
|
+
interface OrderSummaryIdentifier {
|
|
5744
|
+
readonly name: string;
|
|
5745
|
+
readonly identifier: string;
|
|
5746
|
+
readonly primary: boolean;
|
|
5671
5747
|
}
|
|
5672
5748
|
|
|
5673
5749
|
interface OrderSummaryImage {
|
|
@@ -5685,12 +5761,13 @@ declare namespace io.flow.v0.models {
|
|
|
5685
5761
|
readonly tax?: io.flow.v0.models.OrderSummaryLevy;
|
|
5686
5762
|
readonly duty?: io.flow.v0.models.OrderSummaryLevy;
|
|
5687
5763
|
readonly price_attributes: {
|
|
5688
|
-
[key: string]: io.flow.v0.models.
|
|
5764
|
+
[key: string]: io.flow.v0.models.Price;
|
|
5689
5765
|
};
|
|
5690
5766
|
}
|
|
5691
5767
|
|
|
5692
5768
|
interface OrderSummaryLevy {
|
|
5693
5769
|
readonly rate: number;
|
|
5770
|
+
readonly rate_label?: string;
|
|
5694
5771
|
readonly value: io.flow.v0.models.Price;
|
|
5695
5772
|
}
|
|
5696
5773
|
|
|
@@ -5702,7 +5779,7 @@ declare namespace io.flow.v0.models {
|
|
|
5702
5779
|
readonly duty?: io.flow.v0.models.OrderSummaryLevy;
|
|
5703
5780
|
readonly total: io.flow.v0.models.Price;
|
|
5704
5781
|
readonly price_attributes: {
|
|
5705
|
-
[key: string]: io.flow.v0.models.
|
|
5782
|
+
[key: string]: io.flow.v0.models.Price;
|
|
5706
5783
|
};
|
|
5707
5784
|
}
|
|
5708
5785
|
|
|
@@ -5710,6 +5787,7 @@ declare namespace io.flow.v0.models {
|
|
|
5710
5787
|
readonly price: io.flow.v0.models.Price;
|
|
5711
5788
|
readonly name?: string;
|
|
5712
5789
|
readonly rate?: number;
|
|
5790
|
+
readonly rate_label?: string;
|
|
5713
5791
|
}
|
|
5714
5792
|
|
|
5715
5793
|
interface OrderUpserted {
|
|
@@ -5780,17 +5858,6 @@ declare namespace io.flow.v0.models {
|
|
|
5780
5858
|
readonly id: string;
|
|
5781
5859
|
}
|
|
5782
5860
|
|
|
5783
|
-
interface OrganizationCountriesData {
|
|
5784
|
-
readonly available: string[];
|
|
5785
|
-
}
|
|
5786
|
-
|
|
5787
|
-
interface OrganizationCountriesPublished {
|
|
5788
|
-
readonly event_id: string;
|
|
5789
|
-
readonly timestamp: string;
|
|
5790
|
-
readonly organization: string;
|
|
5791
|
-
readonly data: io.flow.v0.models.OrganizationCountriesData;
|
|
5792
|
-
}
|
|
5793
|
-
|
|
5794
5861
|
interface OrganizationCurrencySetting {
|
|
5795
5862
|
readonly id: string;
|
|
5796
5863
|
readonly base: string;
|
|
@@ -6912,6 +6979,7 @@ declare namespace io.flow.v0.models {
|
|
|
6912
6979
|
interface RefundIdentifier {
|
|
6913
6980
|
readonly id: string;
|
|
6914
6981
|
readonly refund: io.flow.v0.models.RefundReference;
|
|
6982
|
+
readonly name: string;
|
|
6915
6983
|
readonly identifier: string;
|
|
6916
6984
|
readonly primary: boolean;
|
|
6917
6985
|
}
|
|
@@ -8813,6 +8881,10 @@ declare namespace io.flow.v0.unions {
|
|
|
8813
8881
|
discriminator: 'harmonization_document';
|
|
8814
8882
|
} & io.flow.v0.models.HarmonizationDocument;
|
|
8815
8883
|
|
|
8884
|
+
type EmailNotificationData = {
|
|
8885
|
+
discriminator: 'refund';
|
|
8886
|
+
} & io.flow.v0.models.EmailNotificationDataRefund;
|
|
8887
|
+
|
|
8816
8888
|
type Event =
|
|
8817
8889
|
| {
|
|
8818
8890
|
discriminator: 'attribute_upserted';
|
|
@@ -8907,6 +8979,12 @@ declare namespace io.flow.v0.unions {
|
|
|
8907
8979
|
| {
|
|
8908
8980
|
discriminator: 'customer_address_book_contact_deleted';
|
|
8909
8981
|
} & io.flow.v0.models.CustomerAddressBookContactDeleted
|
|
8982
|
+
| {
|
|
8983
|
+
discriminator: 'email_notification_upserted';
|
|
8984
|
+
} & io.flow.v0.models.EmailNotificationUpserted
|
|
8985
|
+
| {
|
|
8986
|
+
discriminator: 'email_notification_deleted';
|
|
8987
|
+
} & io.flow.v0.models.EmailNotificationDeleted
|
|
8910
8988
|
| {
|
|
8911
8989
|
discriminator: 'available_promotions_upserted';
|
|
8912
8990
|
} & io.flow.v0.models.AvailablePromotionsUpserted
|
|
@@ -9258,9 +9336,6 @@ declare namespace io.flow.v0.unions {
|
|
|
9258
9336
|
| {
|
|
9259
9337
|
discriminator: 'organization_rates_published';
|
|
9260
9338
|
} & io.flow.v0.models.OrganizationRatesPublished
|
|
9261
|
-
| {
|
|
9262
|
-
discriminator: 'organization_countries_published';
|
|
9263
|
-
} & io.flow.v0.models.OrganizationCountriesPublished
|
|
9264
9339
|
| {
|
|
9265
9340
|
discriminator: 'ratecard_lane_upserted';
|
|
9266
9341
|
} & io.flow.v0.models.RatecardLaneUpserted
|
|
@@ -10044,6 +10119,14 @@ export type EcommercePlatformDeleted = io.flow.v0.models.EcommercePlatformDelete
|
|
|
10044
10119
|
export type EcommercePlatformType = io.flow.v0.enums.EcommercePlatformType;
|
|
10045
10120
|
export type EcommercePlatformUpserted = io.flow.v0.models.EcommercePlatformUpserted;
|
|
10046
10121
|
export type EconomicTitleLocation = io.flow.v0.enums.EconomicTitleLocation;
|
|
10122
|
+
export type EmailNotification = io.flow.v0.models.EmailNotification;
|
|
10123
|
+
export type EmailNotificationData = io.flow.v0.unions.EmailNotificationData;
|
|
10124
|
+
export type EmailNotificationDataRefund = io.flow.v0.models.EmailNotificationDataRefund;
|
|
10125
|
+
export type EmailNotificationDeleted = io.flow.v0.models.EmailNotificationDeleted;
|
|
10126
|
+
export type EmailNotificationForm = io.flow.v0.models.EmailNotificationForm;
|
|
10127
|
+
export type EmailNotificationUpserted = io.flow.v0.models.EmailNotificationUpserted;
|
|
10128
|
+
export type EmailPaymentSummary = io.flow.v0.models.EmailPaymentSummary;
|
|
10129
|
+
export type EmailRecipient = io.flow.v0.models.EmailRecipient;
|
|
10047
10130
|
export type EmailVerification = io.flow.v0.models.EmailVerification;
|
|
10048
10131
|
export type Environment = io.flow.v0.enums.Environment;
|
|
10049
10132
|
export type EstimatedDimensions = io.flow.v0.models.EstimatedDimensions;
|
|
@@ -10094,6 +10177,9 @@ export type ExperiencePriceBookMappingDeleted = io.flow.v0.models.ExperiencePric
|
|
|
10094
10177
|
export type ExperiencePriceBookMappingForm = io.flow.v0.models.ExperiencePriceBookMappingForm;
|
|
10095
10178
|
export type ExperiencePriceBookMappingPutForm = io.flow.v0.models.ExperiencePriceBookMappingPutForm;
|
|
10096
10179
|
export type ExperiencePriceBookMappingUpserted = io.flow.v0.models.ExperiencePriceBookMappingUpserted;
|
|
10180
|
+
export type ExperiencePriceFacetConversion = io.flow.v0.models.ExperiencePriceFacetConversion;
|
|
10181
|
+
export type ExperiencePriceFacetConversionRequest = io.flow.v0.models.ExperiencePriceFacetConversionRequest;
|
|
10182
|
+
export type ExperiencePriceFacetConversionResponse = io.flow.v0.models.ExperiencePriceFacetConversionResponse;
|
|
10097
10183
|
export type ExperienceReference = io.flow.v0.models.ExperienceReference;
|
|
10098
10184
|
export type ExperienceSettings = io.flow.v0.models.ExperienceSettings;
|
|
10099
10185
|
export type ExperienceStatus = io.flow.v0.enums.ExperienceStatus;
|
|
@@ -10426,6 +10512,7 @@ export type OrderStatus = io.flow.v0.enums.OrderStatus;
|
|
|
10426
10512
|
export type OrderSubmissionForm = io.flow.v0.models.OrderSubmissionForm;
|
|
10427
10513
|
export type OrderSubmissionIdentifierForm = io.flow.v0.models.OrderSubmissionIdentifierForm;
|
|
10428
10514
|
export type OrderSummary = io.flow.v0.models.OrderSummary;
|
|
10515
|
+
export type OrderSummaryIdentifier = io.flow.v0.models.OrderSummaryIdentifier;
|
|
10429
10516
|
export type OrderSummaryImage = io.flow.v0.models.OrderSummaryImage;
|
|
10430
10517
|
export type OrderSummaryItem = io.flow.v0.models.OrderSummaryItem;
|
|
10431
10518
|
export type OrderSummaryLevy = io.flow.v0.models.OrderSummaryLevy;
|
|
@@ -10438,8 +10525,6 @@ export type Organization = io.flow.v0.models.Organization;
|
|
|
10438
10525
|
export type OrganizationAuthorization = io.flow.v0.models.OrganizationAuthorization;
|
|
10439
10526
|
export type OrganizationAuthorizationForm = io.flow.v0.models.OrganizationAuthorizationForm;
|
|
10440
10527
|
export type OrganizationConfigurationReference = io.flow.v0.models.OrganizationConfigurationReference;
|
|
10441
|
-
export type OrganizationCountriesData = io.flow.v0.models.OrganizationCountriesData;
|
|
10442
|
-
export type OrganizationCountriesPublished = io.flow.v0.models.OrganizationCountriesPublished;
|
|
10443
10528
|
export type OrganizationCurrencySetting = io.flow.v0.models.OrganizationCurrencySetting;
|
|
10444
10529
|
export type OrganizationCurrencySettingForm = io.flow.v0.models.OrganizationCurrencySettingForm;
|
|
10445
10530
|
export type OrganizationCurrencySettingVersion = io.flow.v0.models.OrganizationCurrencySettingVersion;
|
|
@@ -10541,6 +10626,7 @@ export type PriceDetailComponentKey = io.flow.v0.enums.PriceDetailComponentKey;
|
|
|
10541
10626
|
export type PriceDetailKey = io.flow.v0.enums.PriceDetailKey;
|
|
10542
10627
|
export type PriceDetails = io.flow.v0.models.PriceDetails;
|
|
10543
10628
|
export type PriceEquation = io.flow.v0.models.PriceEquation;
|
|
10629
|
+
export type PriceFacetBoundary = io.flow.v0.enums.PriceFacetBoundary;
|
|
10544
10630
|
export type PriceForm = io.flow.v0.models.PriceForm;
|
|
10545
10631
|
export type PriceSource = io.flow.v0.unions.PriceSource;
|
|
10546
10632
|
export type PriceSourceCatalog = io.flow.v0.models.PriceSourceCatalog;
|