@flowio/types 3.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/dist/api-internal.d.ts +98 -24
- package/dist/api.d.ts +62 -28
- package/package.json +3 -3
- package/src/api-internal.ts +121 -28
- package/src/api.ts +67 -33
package/dist/api-internal.d.ts
CHANGED
|
@@ -10019,7 +10019,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
10019
10019
|
type DutyCompoundExpressionType = 'sum' | 'max' | 'min';
|
|
10020
10020
|
type DutyRateUnitOfMeasure = 'kg' | 'sq m' | 'item' | 'pair';
|
|
10021
10021
|
type DutySimpleExpressionType = 'free' | 'percent' | 'per_uom' | 'flat';
|
|
10022
|
-
type EventType = 'adyen_authorization_deleted' | 'adyen_authorization_upserted' | 'adyen_cancel_deleted' | 'adyen_cancel_upserted' | 'adyen_capture_deleted' | 'adyen_capture_upserted' | 'adyen_refund_deleted' | 'adyen_refund_upserted' | 'billing_statement_upserted' | 'billing_statement_deleted' | 'tax_remittance_transaction_upserted' | 'tax_remittance_transaction_deleted' | 'account_transactions_export_request' | 'account_orders_export_request' | 'carrier_account_upserted' | 'catalog_import_request' | 'catalog_item_region_availabilities_published' | 'checkout_configuration_upserted' | 'checkout_configuration_deleted' | 'localized_content_upserted' | 'localization_upserted' | 'rate_deleted' | 'rate_upserted' | 'spot_rate_deleted' | 'spot_rate_upserted' | 'organization_currency_settings_upserted' | 'organization_currency_settings_deleted' | 'rate_deleted_v2' | 'rate_upserted_v2' | 'customs_description_import' | 'customs_description_tariffs_import' | 'item_dimension_estimate_upserted' | 'item_dimension_estimate_deleted' | 'duty_rate_request' | 'duty_rate_bulk_request' | 'duty_raw_upserted' | 'duty_raw_bulk_upserted' | 'duty_rate_upserted' | 'duty_rate_response' | 'duty_rate_bulk_response' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'order_attribute_deleted' | 'order_attribute_upserted' | 'experience_export_request' | 'experience_import_request' | 'submitted_order_upserted' | 'experiment_upserted' | 'experiment_deleted' | 'experiment_results_upserted' | 'experiment_results_deleted' | 'export_completed' | 'export_failed' | 'feature_upserted' | 'feature_deleted' | 'organization_boolean_value_upserted' | 'organization_boolean_value_deleted' | 'fraud_review_upserted' | 'fraud_review_deleted' | 'fraud_pending_review_upserted' | 'fraud_pending_review_deleted' | 'fraud_review_decision_upserted' | 'fraud_review_decision_deleted' | 'ftp_file_upserted' | 'ftp_file_deleted' | 'ftp_file_to_process_uploaded' | 'pregenerated_quote_upserted' | 'pregenerated_quote_deleted' | 'pregenerated_request_event' | 'blacklisted_item_created' | 'blacklisted_item_updated' | 'blacklisted_item_deleted' | 'all_items_export' | 'harmonized_items_hs6_export' | 'unharmonized_items_export' | 'dutied_items_export' | 'landed_cost_export' | 'harmonization_phrase_suggestion_request_import' | 'harmonization_codes_import' | 'customs_description_sugestion_created' | '
|
|
10022
|
+
type EventType = 'adyen_authorization_deleted' | 'adyen_authorization_upserted' | 'adyen_cancel_deleted' | 'adyen_cancel_upserted' | 'adyen_capture_deleted' | 'adyen_capture_upserted' | 'adyen_refund_deleted' | 'adyen_refund_upserted' | 'billing_statement_upserted' | 'billing_statement_deleted' | 'tax_remittance_transaction_upserted' | 'tax_remittance_transaction_deleted' | 'account_transactions_export_request' | 'account_orders_export_request' | 'carrier_account_upserted' | 'catalog_import_request' | 'catalog_item_region_availabilities_published' | 'checkout_configuration_upserted' | 'checkout_configuration_deleted' | 'localized_content_upserted' | 'localization_upserted' | 'rate_deleted' | 'rate_upserted' | 'spot_rate_deleted' | 'spot_rate_upserted' | 'organization_currency_settings_upserted' | 'organization_currency_settings_deleted' | 'rate_deleted_v2' | 'rate_upserted_v2' | 'customs_description_import' | 'customs_description_tariffs_import' | 'item_dimension_estimate_upserted' | 'item_dimension_estimate_deleted' | 'duty_rate_request' | 'duty_rate_bulk_request' | 'duty_raw_upserted' | 'duty_raw_bulk_upserted' | 'duty_rate_upserted' | 'duty_rate_response' | 'duty_rate_bulk_response' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'order_attribute_deleted' | 'order_attribute_upserted' | 'experience_export_request' | 'experience_import_request' | 'submitted_order_upserted' | 'experiment_upserted' | 'experiment_deleted' | 'experiment_results_upserted' | 'experiment_results_deleted' | 'export_completed' | 'export_failed' | 'feature_upserted' | 'feature_deleted' | 'organization_boolean_value_upserted' | 'organization_boolean_value_deleted' | 'fraud_review_upserted' | 'fraud_review_deleted' | 'fraud_pending_review_upserted' | 'fraud_pending_review_deleted' | 'fraud_review_decision_upserted' | 'fraud_review_decision_deleted' | 'ftp_file_upserted' | 'ftp_file_deleted' | 'ftp_file_to_process_uploaded' | 'pregenerated_quote_upserted' | 'pregenerated_quote_deleted' | 'pregenerated_request_event' | 'blacklisted_item_created' | 'blacklisted_item_updated' | 'blacklisted_item_deleted' | 'all_items_export' | 'harmonized_items_hs6_export' | 'unharmonized_items_export' | 'dutied_items_export' | 'landed_cost_export' | 'harmonization_phrase_suggestion_request_import' | 'harmonization_codes_import' | 'customs_description_sugestion_created' | 'harmonize_fully_with_rate' | 'item_harmonized' | 'harmonize_fully_request' | 'import_completed' | 'import_failed' | 'next_installment_upserted' | 'next_installment_deleted' | 'installment_upserted' | 'installment_deleted' | 'installment_program_upserted' | 'installment_program_deleted' | 'installment_plan_upserted' | 'installment_plan_deleted' | 'installment_plan_authorization_upserted' | 'installment_plan_authorization_deleted' | 'issuer_upserted' | 'issuer_deleted' | 'localized_item_upserted_v2' | 'localized_item_deleted' | 'localized_item_deleted_v2' | 'localized_item_snapshot' | 'localized_item_prices_export_request' | 'optin_prompt_upserted' | 'optin_prompt_deleted' | 'order_fulfillment_deleted' | 'order_fulfillment_upserted' | 'order_placed' | 'ready_to_fulfill' | 'fulfillment_cancel' | 'order_shipped' | 'items_shipped' | 'internal_authorization_upserted' | 'internal_authorization_deleted' | 'afterpay_authorization_upserted' | 'afterpay_authorization_deleted' | 'afterpay_capture_upserted' | 'afterpay_capture_deleted' | 'afterpay_refund_upserted' | 'afterpay_refund_deleted' | 'adyen_merchant_account_upserted' | 'adyen_merchant_account_deleted' | 'paypal_payment_deleted' | 'paypal_payment_upserted' | 'paypal_execution_deleted' | 'paypal_execution_upserted' | 'paypal_refund_deleted' | 'paypal_refund_upserted' | 'order_rates_published_v3' | 'ratecard_lanes_import_request' | 'shopify_shop_upserted' | 'shopify_shop_deleted' | 'shopify_experience_short_id_upserted' | 'shopify_experience_short_id_deleted' | 'stripe_authorization_deleted' | 'stripe_authorization_upserted' | 'stripe_reversal_deleted' | 'stripe_reversal_upserted' | 'stripe_capture_deleted' | 'stripe_capture_upserted' | 'stripe_refund_deleted' | 'stripe_refund_upserted' | 'svb_virtual_card_clearing_upserted' | 'svb_virtual_card_clearing_deleted' | 'tracking_label_event_upserted_v2' | 'tracking_label_event_deleted_v2' | 'tracking_label_upserted' | 'tracking_label_deleted' | 'tracking_upserted' | 'tracking_deleted' | 'tracking_request_upserted' | 'tracking_response_upserted' | 'user_upserted_v2' | 'user_deleted_v2';
|
|
10023
10023
|
type ExperienceImportType = 'experience_with_settings';
|
|
10024
10024
|
type ExperienceOrderAction = 'submit' | 'refund_gift_cards';
|
|
10025
10025
|
type ExperienceOrderActionTrigger = 'zero_balance' | 'unsubmitted_order';
|
|
@@ -10689,6 +10689,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10689
10689
|
readonly country_picker: io.flow.country.picker.v0.models.CountryPickerData;
|
|
10690
10690
|
readonly optins: io.flow.optin.internal.v0.models.OptinPrompt[];
|
|
10691
10691
|
readonly features: io.flow.feature.v0.models.FeatureValueResult;
|
|
10692
|
+
readonly payment_methods?: io.flow.internal.v0.models.BrowserBundlePaymentMethods;
|
|
10692
10693
|
}
|
|
10693
10694
|
interface BrowserBundleCountryPickerForm {
|
|
10694
10695
|
readonly country?: string;
|
|
@@ -10707,10 +10708,21 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10707
10708
|
readonly optin?: io.flow.internal.v0.models.BrowserBundleOptinForm;
|
|
10708
10709
|
readonly country_picker?: io.flow.internal.v0.models.BrowserBundleCountryPickerForm;
|
|
10709
10710
|
readonly feature?: io.flow.internal.v0.models.BrowserBundleFeatureForm;
|
|
10711
|
+
readonly payment_method?: io.flow.internal.v0.models.BrowserBundlePaymentMethodForm;
|
|
10710
10712
|
}
|
|
10711
10713
|
interface BrowserBundleOptinForm {
|
|
10712
10714
|
readonly country: string;
|
|
10713
10715
|
}
|
|
10716
|
+
interface BrowserBundlePaymentMethod {
|
|
10717
|
+
readonly id: string;
|
|
10718
|
+
}
|
|
10719
|
+
interface BrowserBundlePaymentMethodForm {
|
|
10720
|
+
readonly experience_key: string;
|
|
10721
|
+
readonly country: string;
|
|
10722
|
+
}
|
|
10723
|
+
interface BrowserBundlePaymentMethods {
|
|
10724
|
+
readonly displayed?: io.flow.internal.v0.models.BrowserBundlePaymentMethod[];
|
|
10725
|
+
}
|
|
10714
10726
|
interface CalculatedTaxAmount {
|
|
10715
10727
|
readonly amount: number;
|
|
10716
10728
|
readonly rate: number;
|
|
@@ -10802,6 +10814,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10802
10814
|
readonly id: string;
|
|
10803
10815
|
readonly organization: io.flow.common.v0.models.OrganizationSummary;
|
|
10804
10816
|
readonly builder: io.flow.experience.v0.models.OrderBuilder;
|
|
10817
|
+
readonly platform: io.flow.internal.v0.models.CheckoutPlatformData;
|
|
10805
10818
|
readonly content: io.flow.internal.v0.models.CheckoutContent;
|
|
10806
10819
|
readonly destinations: io.flow.reference.v0.models.Country[];
|
|
10807
10820
|
readonly optins: io.flow.optin.internal.v0.models.OptinPrompt[];
|
|
@@ -10939,6 +10952,9 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10939
10952
|
readonly default: io.flow.internal.v0.models.ApmContent;
|
|
10940
10953
|
readonly paypal?: io.flow.internal.v0.models.ApmContent;
|
|
10941
10954
|
}
|
|
10955
|
+
interface CheckoutPlatformData {
|
|
10956
|
+
readonly order_number?: string;
|
|
10957
|
+
}
|
|
10942
10958
|
interface CheckoutRedirect {
|
|
10943
10959
|
readonly method: io.flow.internal.v0.enums.CheckoutRedirectMethod;
|
|
10944
10960
|
readonly url: string;
|
|
@@ -11462,6 +11478,27 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11462
11478
|
readonly repeat_every_minutes: number;
|
|
11463
11479
|
readonly count: number;
|
|
11464
11480
|
}
|
|
11481
|
+
interface ExportTrackingLabel {
|
|
11482
|
+
readonly id: string;
|
|
11483
|
+
readonly carrier: string;
|
|
11484
|
+
readonly carrier_tracking_number: string;
|
|
11485
|
+
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
11486
|
+
readonly created_at: string;
|
|
11487
|
+
readonly delivery_estimate?: string;
|
|
11488
|
+
readonly description?: string;
|
|
11489
|
+
}
|
|
11490
|
+
interface ExportTrackingLabelEvent {
|
|
11491
|
+
readonly id: string;
|
|
11492
|
+
readonly address?: io.flow.common.v0.models.Address;
|
|
11493
|
+
readonly carrier: string;
|
|
11494
|
+
readonly carrier_timestamp: string;
|
|
11495
|
+
readonly carrier_tracking_number: string;
|
|
11496
|
+
readonly flow_tracking_number: string;
|
|
11497
|
+
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
11498
|
+
readonly delivery_estimate?: string;
|
|
11499
|
+
readonly description?: string;
|
|
11500
|
+
readonly order_number?: string;
|
|
11501
|
+
}
|
|
11465
11502
|
interface ExternalVariant {
|
|
11466
11503
|
readonly key: string;
|
|
11467
11504
|
readonly traffic_percentage: number;
|
|
@@ -12240,10 +12277,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12240
12277
|
readonly format: io.flow.internal.v0.enums.Format;
|
|
12241
12278
|
readonly value: string;
|
|
12242
12279
|
}
|
|
12243
|
-
interface LabelProbability {
|
|
12244
|
-
readonly label: string;
|
|
12245
|
-
readonly probability: number;
|
|
12246
|
-
}
|
|
12247
12280
|
interface LabelSummary {
|
|
12248
12281
|
readonly commercial_invoice?: string;
|
|
12249
12282
|
readonly pdf?: string;
|
|
@@ -13357,20 +13390,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13357
13390
|
readonly parent_transaction_id?: string;
|
|
13358
13391
|
readonly order?: io.flow.internal.v0.models.BillingOrderSummary;
|
|
13359
13392
|
}
|
|
13360
|
-
interface ProductClassification {
|
|
13361
|
-
readonly material: io.flow.internal.v0.models.LabelProbability[];
|
|
13362
|
-
readonly gender: io.flow.internal.v0.models.LabelProbability[];
|
|
13363
|
-
readonly construction: io.flow.internal.v0.models.LabelProbability[];
|
|
13364
|
-
readonly product_type: io.flow.internal.v0.models.LabelProbability[];
|
|
13365
|
-
}
|
|
13366
|
-
interface ProductClassificationCreated {
|
|
13367
|
-
readonly event_id: string;
|
|
13368
|
-
readonly timestamp: string;
|
|
13369
|
-
readonly organization: string;
|
|
13370
|
-
readonly product_id: string;
|
|
13371
|
-
readonly model_id: string;
|
|
13372
|
-
readonly classification: io.flow.internal.v0.models.ProductClassification;
|
|
13373
|
-
}
|
|
13374
13393
|
interface ProductClassificationJudgementForm {
|
|
13375
13394
|
readonly organization_id: string;
|
|
13376
13395
|
readonly product_id: string;
|
|
@@ -14102,12 +14121,42 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14102
14121
|
readonly time: string;
|
|
14103
14122
|
readonly timezone: string;
|
|
14104
14123
|
}
|
|
14124
|
+
interface TrackingDeleted {
|
|
14125
|
+
readonly event_id: string;
|
|
14126
|
+
readonly timestamp: string;
|
|
14127
|
+
readonly organization: string;
|
|
14128
|
+
readonly tracking: io.flow.tracking.v0.models.Tracking;
|
|
14129
|
+
}
|
|
14105
14130
|
interface TrackingEvent {
|
|
14106
14131
|
readonly timestamp: string;
|
|
14107
14132
|
readonly carrier_status_code: string;
|
|
14108
14133
|
readonly location?: string;
|
|
14109
14134
|
readonly description?: string;
|
|
14110
14135
|
}
|
|
14136
|
+
interface TrackingLabelDeleted {
|
|
14137
|
+
readonly event_id: string;
|
|
14138
|
+
readonly timestamp: string;
|
|
14139
|
+
readonly organization: string;
|
|
14140
|
+
readonly tracking_label: io.flow.internal.v0.models.ExportTrackingLabel;
|
|
14141
|
+
}
|
|
14142
|
+
interface TrackingLabelEventDeletedV2 {
|
|
14143
|
+
readonly event_id: string;
|
|
14144
|
+
readonly timestamp: string;
|
|
14145
|
+
readonly organization: string;
|
|
14146
|
+
readonly tracking_label_event: io.flow.internal.v0.models.ExportTrackingLabelEvent;
|
|
14147
|
+
}
|
|
14148
|
+
interface TrackingLabelEventUpsertedV2 {
|
|
14149
|
+
readonly event_id: string;
|
|
14150
|
+
readonly timestamp: string;
|
|
14151
|
+
readonly organization: string;
|
|
14152
|
+
readonly tracking_label_event: io.flow.internal.v0.models.ExportTrackingLabelEvent;
|
|
14153
|
+
}
|
|
14154
|
+
interface TrackingLabelUpserted {
|
|
14155
|
+
readonly event_id: string;
|
|
14156
|
+
readonly timestamp: string;
|
|
14157
|
+
readonly organization: string;
|
|
14158
|
+
readonly tracking_label: io.flow.internal.v0.models.ExportTrackingLabel;
|
|
14159
|
+
}
|
|
14111
14160
|
interface TrackingRequest {
|
|
14112
14161
|
readonly carrier: string;
|
|
14113
14162
|
readonly carrier_tracking_number: string;
|
|
@@ -14139,6 +14188,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14139
14188
|
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
14140
14189
|
readonly label: io.flow.internal.v0.models.LabelSummary;
|
|
14141
14190
|
}
|
|
14191
|
+
interface TrackingUpserted {
|
|
14192
|
+
readonly event_id: string;
|
|
14193
|
+
readonly timestamp: string;
|
|
14194
|
+
readonly organization: string;
|
|
14195
|
+
readonly tracking: io.flow.tracking.v0.models.Tracking;
|
|
14196
|
+
}
|
|
14142
14197
|
interface TransactionReference {
|
|
14143
14198
|
readonly id: string;
|
|
14144
14199
|
}
|
|
@@ -14425,8 +14480,6 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
14425
14480
|
} & io.flow.internal.v0.models.HarmonizationCodesImport | {
|
|
14426
14481
|
discriminator: 'customs_description_sugestion_created';
|
|
14427
14482
|
} & io.flow.internal.v0.models.CustomsDescriptionSugestionCreated | {
|
|
14428
|
-
discriminator: 'product_classification_created';
|
|
14429
|
-
} & io.flow.internal.v0.models.ProductClassificationCreated | {
|
|
14430
14483
|
discriminator: 'harmonize_fully_with_rate';
|
|
14431
14484
|
} & io.flow.internal.v0.models.HarmonizeFullyWithRate | {
|
|
14432
14485
|
discriminator: 'item_harmonized';
|
|
@@ -14553,6 +14606,18 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
14553
14606
|
} & io.flow.internal.v0.models.SvbVirtualCardClearingUpserted | {
|
|
14554
14607
|
discriminator: 'svb_virtual_card_clearing_deleted';
|
|
14555
14608
|
} & io.flow.internal.v0.models.SvbVirtualCardClearingDeleted | {
|
|
14609
|
+
discriminator: 'tracking_label_event_upserted_v2';
|
|
14610
|
+
} & io.flow.internal.v0.models.TrackingLabelEventUpsertedV2 | {
|
|
14611
|
+
discriminator: 'tracking_label_event_deleted_v2';
|
|
14612
|
+
} & io.flow.internal.v0.models.TrackingLabelEventDeletedV2 | {
|
|
14613
|
+
discriminator: 'tracking_label_upserted';
|
|
14614
|
+
} & io.flow.internal.v0.models.TrackingLabelUpserted | {
|
|
14615
|
+
discriminator: 'tracking_label_deleted';
|
|
14616
|
+
} & io.flow.internal.v0.models.TrackingLabelDeleted | {
|
|
14617
|
+
discriminator: 'tracking_upserted';
|
|
14618
|
+
} & io.flow.internal.v0.models.TrackingUpserted | {
|
|
14619
|
+
discriminator: 'tracking_deleted';
|
|
14620
|
+
} & io.flow.internal.v0.models.TrackingDeleted | {
|
|
14556
14621
|
discriminator: 'tracking_request_upserted';
|
|
14557
14622
|
} & io.flow.internal.v0.models.TrackingRequestUpserted | {
|
|
14558
14623
|
discriminator: 'tracking_response_upserted';
|
|
@@ -14883,6 +14948,9 @@ export declare type BrowserBundleErrorCode = io.flow.internal.v0.enums.BrowserBu
|
|
|
14883
14948
|
export declare type BrowserBundleFeatureForm = io.flow.internal.v0.models.BrowserBundleFeatureForm;
|
|
14884
14949
|
export declare type BrowserBundleForm = io.flow.internal.v0.models.BrowserBundleForm;
|
|
14885
14950
|
export declare type BrowserBundleOptinForm = io.flow.internal.v0.models.BrowserBundleOptinForm;
|
|
14951
|
+
export declare type BrowserBundlePaymentMethod = io.flow.internal.v0.models.BrowserBundlePaymentMethod;
|
|
14952
|
+
export declare type BrowserBundlePaymentMethodForm = io.flow.internal.v0.models.BrowserBundlePaymentMethodForm;
|
|
14953
|
+
export declare type BrowserBundlePaymentMethods = io.flow.internal.v0.models.BrowserBundlePaymentMethods;
|
|
14886
14954
|
export declare type CalculatedTaxAmount = io.flow.internal.v0.models.CalculatedTaxAmount;
|
|
14887
14955
|
export declare type CarrierAccount = io.flow.internal.v0.models.CarrierAccount;
|
|
14888
14956
|
export declare type CarrierAccountUpserted = io.flow.internal.v0.models.CarrierAccountUpserted;
|
|
@@ -14927,6 +14995,7 @@ export declare type CheckoutOrderForm = io.flow.internal.v0.models.CheckoutOrder
|
|
|
14927
14995
|
export declare type CheckoutOrderNumberForm = io.flow.internal.v0.models.CheckoutOrderNumberForm;
|
|
14928
14996
|
export declare type CheckoutPayment = io.flow.internal.v0.models.CheckoutPayment;
|
|
14929
14997
|
export declare type CheckoutPaymentContent = io.flow.internal.v0.models.CheckoutPaymentContent;
|
|
14998
|
+
export declare type CheckoutPlatformData = io.flow.internal.v0.models.CheckoutPlatformData;
|
|
14930
14999
|
export declare type CheckoutPromptBehavior = io.flow.internal.v0.enums.CheckoutPromptBehavior;
|
|
14931
15000
|
export declare type CheckoutRedirect = io.flow.internal.v0.models.CheckoutRedirect;
|
|
14932
15001
|
export declare type CheckoutRedirectMethod = io.flow.internal.v0.enums.CheckoutRedirectMethod;
|
|
@@ -15042,6 +15111,8 @@ export declare type ExportFailed = io.flow.internal.v0.models.ExportFailed;
|
|
|
15042
15111
|
export declare type ExportSchedule = io.flow.internal.v0.unions.ExportSchedule;
|
|
15043
15112
|
export declare type ExportScheduleDaily = io.flow.internal.v0.models.ExportScheduleDaily;
|
|
15044
15113
|
export declare type ExportScheduleRepeated = io.flow.internal.v0.models.ExportScheduleRepeated;
|
|
15114
|
+
export declare type ExportTrackingLabel = io.flow.internal.v0.models.ExportTrackingLabel;
|
|
15115
|
+
export declare type ExportTrackingLabelEvent = io.flow.internal.v0.models.ExportTrackingLabelEvent;
|
|
15045
15116
|
export declare type ExternalVariant = io.flow.internal.v0.models.ExternalVariant;
|
|
15046
15117
|
export declare type Feature = io.flow.internal.v0.models.Feature;
|
|
15047
15118
|
export declare type FeatureContextForm = io.flow.internal.v0.models.FeatureContextForm;
|
|
@@ -15211,7 +15282,6 @@ export declare type Key = io.flow.internal.v0.models.Key;
|
|
|
15211
15282
|
export declare type KeyReference = io.flow.internal.v0.models.KeyReference;
|
|
15212
15283
|
export declare type Label = io.flow.internal.v0.models.Label;
|
|
15213
15284
|
export declare type LabelBillingStrategy = io.flow.internal.v0.enums.LabelBillingStrategy;
|
|
15214
|
-
export declare type LabelProbability = io.flow.internal.v0.models.LabelProbability;
|
|
15215
15285
|
export declare type LabelSummary = io.flow.internal.v0.models.LabelSummary;
|
|
15216
15286
|
export declare type LabeledContent = io.flow.internal.v0.models.LabeledContent;
|
|
15217
15287
|
export declare type LandedCostExport = io.flow.internal.v0.models.LandedCostExport;
|
|
@@ -15427,8 +15497,6 @@ export declare type PrioritizedCenterReference = io.flow.internal.v0.models.Prio
|
|
|
15427
15497
|
export declare type ProcessingTransaction = io.flow.internal.v0.models.ProcessingTransaction;
|
|
15428
15498
|
export declare type ProcessingTransactionType = io.flow.internal.v0.enums.ProcessingTransactionType;
|
|
15429
15499
|
export declare type Processor = io.flow.internal.v0.enums.Processor;
|
|
15430
|
-
export declare type ProductClassification = io.flow.internal.v0.models.ProductClassification;
|
|
15431
|
-
export declare type ProductClassificationCreated = io.flow.internal.v0.models.ProductClassificationCreated;
|
|
15432
15500
|
export declare type ProductClassificationJudgementForm = io.flow.internal.v0.models.ProductClassificationJudgementForm;
|
|
15433
15501
|
export declare type ProductClassificationResult = io.flow.internal.v0.models.ProductClassificationResult;
|
|
15434
15502
|
export declare type PromptAction = io.flow.internal.v0.enums.PromptAction;
|
|
@@ -15581,13 +15649,19 @@ export declare type TaxRemittanceTransactionUpserted = io.flow.internal.v0.model
|
|
|
15581
15649
|
export declare type TimeCondition = io.flow.internal.v0.models.TimeCondition;
|
|
15582
15650
|
export declare type TimeWithTimezone = io.flow.internal.v0.models.TimeWithTimezone;
|
|
15583
15651
|
export declare type TimeseriesType = io.flow.internal.v0.enums.TimeseriesType;
|
|
15652
|
+
export declare type TrackingDeleted = io.flow.internal.v0.models.TrackingDeleted;
|
|
15584
15653
|
export declare type TrackingEvent = io.flow.internal.v0.models.TrackingEvent;
|
|
15585
15654
|
export declare type TrackingIntegrationType = io.flow.internal.v0.enums.TrackingIntegrationType;
|
|
15655
|
+
export declare type TrackingLabelDeleted = io.flow.internal.v0.models.TrackingLabelDeleted;
|
|
15656
|
+
export declare type TrackingLabelEventDeletedV2 = io.flow.internal.v0.models.TrackingLabelEventDeletedV2;
|
|
15657
|
+
export declare type TrackingLabelEventUpsertedV2 = io.flow.internal.v0.models.TrackingLabelEventUpsertedV2;
|
|
15658
|
+
export declare type TrackingLabelUpserted = io.flow.internal.v0.models.TrackingLabelUpserted;
|
|
15586
15659
|
export declare type TrackingRequest = io.flow.internal.v0.models.TrackingRequest;
|
|
15587
15660
|
export declare type TrackingRequestUpserted = io.flow.internal.v0.models.TrackingRequestUpserted;
|
|
15588
15661
|
export declare type TrackingResponse = io.flow.internal.v0.models.TrackingResponse;
|
|
15589
15662
|
export declare type TrackingResponseUpserted = io.flow.internal.v0.models.TrackingResponseUpserted;
|
|
15590
15663
|
export declare type TrackingSummary = io.flow.internal.v0.models.TrackingSummary;
|
|
15664
|
+
export declare type TrackingUpserted = io.flow.internal.v0.models.TrackingUpserted;
|
|
15591
15665
|
export declare type Transaction = io.flow.internal.v0.unions.Transaction;
|
|
15592
15666
|
export declare type TransactionReference = io.flow.internal.v0.models.TransactionReference;
|
|
15593
15667
|
export declare type TransactionSummary = io.flow.internal.v0.unions.TransactionSummary;
|
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' | '
|
|
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;
|
|
@@ -2309,7 +2310,6 @@ declare namespace io.flow.v0.models {
|
|
|
2309
2310
|
[key: string]: string;
|
|
2310
2311
|
};
|
|
2311
2312
|
readonly center?: string;
|
|
2312
|
-
readonly discount?: io.flow.v0.models.MoneyWithOptionalBase;
|
|
2313
2313
|
readonly line_number?: number;
|
|
2314
2314
|
}
|
|
2315
2315
|
interface DeliveryOption {
|
|
@@ -3051,15 +3051,11 @@ declare namespace io.flow.v0.models {
|
|
|
3051
3051
|
};
|
|
3052
3052
|
readonly description?: string;
|
|
3053
3053
|
}
|
|
3054
|
-
interface HarmonizedItemDeleted {
|
|
3055
|
-
readonly event_id: string;
|
|
3056
|
-
readonly timestamp: string;
|
|
3057
|
-
readonly organization: string;
|
|
3058
|
-
readonly number: string;
|
|
3059
|
-
}
|
|
3060
3054
|
interface HarmonizedItemForm {
|
|
3061
3055
|
readonly name: string;
|
|
3062
3056
|
readonly number: string;
|
|
3057
|
+
readonly currency: string;
|
|
3058
|
+
readonly price: number;
|
|
3063
3059
|
readonly categories?: string[];
|
|
3064
3060
|
readonly description?: string;
|
|
3065
3061
|
readonly attributes?: {
|
|
@@ -3068,6 +3064,8 @@ declare namespace io.flow.v0.models {
|
|
|
3068
3064
|
}
|
|
3069
3065
|
interface HarmonizedItemPutForm {
|
|
3070
3066
|
readonly name: string;
|
|
3067
|
+
readonly currency: string;
|
|
3068
|
+
readonly price: number;
|
|
3071
3069
|
readonly categories?: string[];
|
|
3072
3070
|
readonly description?: string;
|
|
3073
3071
|
readonly attributes?: {
|
|
@@ -3079,18 +3077,6 @@ declare namespace io.flow.v0.models {
|
|
|
3079
3077
|
readonly number: string;
|
|
3080
3078
|
readonly description?: string;
|
|
3081
3079
|
}
|
|
3082
|
-
interface HarmonizedItemUpserted {
|
|
3083
|
-
readonly event_id: string;
|
|
3084
|
-
readonly timestamp: string;
|
|
3085
|
-
readonly organization: string;
|
|
3086
|
-
readonly number: string;
|
|
3087
|
-
readonly name: string;
|
|
3088
|
-
readonly categories: string[];
|
|
3089
|
-
readonly attributes: {
|
|
3090
|
-
[key: string]: string;
|
|
3091
|
-
};
|
|
3092
|
-
readonly description?: string;
|
|
3093
|
-
}
|
|
3094
3080
|
interface HarmonizedLandedCost {
|
|
3095
3081
|
readonly address: io.flow.v0.models.Address;
|
|
3096
3082
|
readonly items: io.flow.v0.models.HarmonizedLandedCostItem[];
|
|
@@ -4454,6 +4440,56 @@ declare namespace io.flow.v0.models {
|
|
|
4454
4440
|
readonly identifier: string;
|
|
4455
4441
|
readonly primary?: boolean;
|
|
4456
4442
|
}
|
|
4443
|
+
interface OrderSummary {
|
|
4444
|
+
readonly number: string;
|
|
4445
|
+
readonly subtotal: io.flow.v0.models.OrderSummaryPriceDetail;
|
|
4446
|
+
readonly shipping?: io.flow.v0.models.OrderSummaryPriceDetail;
|
|
4447
|
+
readonly tax?: io.flow.v0.models.OrderSummaryPriceDetail;
|
|
4448
|
+
readonly duty?: io.flow.v0.models.OrderSummaryPriceDetail;
|
|
4449
|
+
readonly insurance?: io.flow.v0.models.OrderSummaryPriceDetail;
|
|
4450
|
+
readonly discount?: io.flow.v0.models.OrderSummaryPriceDetail;
|
|
4451
|
+
readonly surcharges?: io.flow.v0.models.OrderSummaryPriceDetail;
|
|
4452
|
+
readonly adjustment?: io.flow.v0.models.OrderSummaryPriceDetail;
|
|
4453
|
+
readonly total: io.flow.v0.models.OrderSummaryPriceDetail;
|
|
4454
|
+
readonly lines: io.flow.v0.models.OrderSummaryLineItem[];
|
|
4455
|
+
}
|
|
4456
|
+
interface OrderSummaryImage {
|
|
4457
|
+
readonly url: string;
|
|
4458
|
+
}
|
|
4459
|
+
interface OrderSummaryItem {
|
|
4460
|
+
readonly number: string;
|
|
4461
|
+
readonly name: string;
|
|
4462
|
+
readonly description?: string;
|
|
4463
|
+
readonly attributes: io.flow.v0.models.CheckoutItemContentAttribute[];
|
|
4464
|
+
readonly image?: io.flow.v0.models.OrderSummaryImage;
|
|
4465
|
+
readonly price: io.flow.v0.models.Price;
|
|
4466
|
+
readonly discount?: io.flow.v0.models.Price;
|
|
4467
|
+
readonly tax?: io.flow.v0.models.OrderSummaryLevy;
|
|
4468
|
+
readonly duty?: io.flow.v0.models.OrderSummaryLevy;
|
|
4469
|
+
readonly price_attributes: {
|
|
4470
|
+
[key: string]: io.flow.v0.models.PriceWithBase;
|
|
4471
|
+
};
|
|
4472
|
+
}
|
|
4473
|
+
interface OrderSummaryLevy {
|
|
4474
|
+
readonly rate: number;
|
|
4475
|
+
readonly value: io.flow.v0.models.Price;
|
|
4476
|
+
}
|
|
4477
|
+
interface OrderSummaryLineItem {
|
|
4478
|
+
readonly item: io.flow.v0.models.OrderSummaryItem;
|
|
4479
|
+
readonly quantity: number;
|
|
4480
|
+
readonly discount?: io.flow.v0.models.Price;
|
|
4481
|
+
readonly tax?: io.flow.v0.models.OrderSummaryLevy;
|
|
4482
|
+
readonly duty?: io.flow.v0.models.OrderSummaryLevy;
|
|
4483
|
+
readonly total: io.flow.v0.models.Price;
|
|
4484
|
+
readonly price_attributes: {
|
|
4485
|
+
[key: string]: io.flow.v0.models.PriceWithBase;
|
|
4486
|
+
};
|
|
4487
|
+
}
|
|
4488
|
+
interface OrderSummaryPriceDetail {
|
|
4489
|
+
readonly price: io.flow.v0.models.Price;
|
|
4490
|
+
readonly name?: string;
|
|
4491
|
+
readonly rate?: number;
|
|
4492
|
+
}
|
|
4457
4493
|
interface OrderUpserted {
|
|
4458
4494
|
readonly event_id: string;
|
|
4459
4495
|
readonly timestamp: string;
|
|
@@ -5164,8 +5200,6 @@ declare namespace io.flow.v0.models {
|
|
|
5164
5200
|
[key: string]: string;
|
|
5165
5201
|
};
|
|
5166
5202
|
readonly center?: string;
|
|
5167
|
-
readonly discount?: io.flow.v0.models.Money;
|
|
5168
|
-
readonly discounts?: io.flow.v0.models.DiscountsForm;
|
|
5169
5203
|
}
|
|
5170
5204
|
interface QuoteSummary {
|
|
5171
5205
|
readonly id: string;
|
|
@@ -7256,10 +7290,6 @@ declare namespace io.flow.v0.unions {
|
|
|
7256
7290
|
} & io.flow.v0.models.ItemOriginUpserted | {
|
|
7257
7291
|
discriminator: 'item_origin_deleted';
|
|
7258
7292
|
} & io.flow.v0.models.ItemOriginDeleted | {
|
|
7259
|
-
discriminator: 'harmonized_item_upserted';
|
|
7260
|
-
} & io.flow.v0.models.HarmonizedItemUpserted | {
|
|
7261
|
-
discriminator: 'harmonized_item_deleted';
|
|
7262
|
-
} & io.flow.v0.models.HarmonizedItemDeleted | {
|
|
7263
7293
|
discriminator: 'harmonized_landed_cost_upserted';
|
|
7264
7294
|
} & io.flow.v0.models.HarmonizedLandedCostUpserted | {
|
|
7265
7295
|
discriminator: 'fully_harmonized_item_upserted';
|
|
@@ -8138,11 +8168,9 @@ export declare type HarmonizationOverviewExportType = io.flow.v0.models.Harmoniz
|
|
|
8138
8168
|
export declare type HarmonizedCategory = io.flow.v0.models.HarmonizedCategory;
|
|
8139
8169
|
export declare type HarmonizedCategoryReference = io.flow.v0.models.HarmonizedCategoryReference;
|
|
8140
8170
|
export declare type HarmonizedItem = io.flow.v0.models.HarmonizedItem;
|
|
8141
|
-
export declare type HarmonizedItemDeleted = io.flow.v0.models.HarmonizedItemDeleted;
|
|
8142
8171
|
export declare type HarmonizedItemForm = io.flow.v0.models.HarmonizedItemForm;
|
|
8143
8172
|
export declare type HarmonizedItemPutForm = io.flow.v0.models.HarmonizedItemPutForm;
|
|
8144
8173
|
export declare type HarmonizedItemReference = io.flow.v0.models.HarmonizedItemReference;
|
|
8145
|
-
export declare type HarmonizedItemUpserted = io.flow.v0.models.HarmonizedItemUpserted;
|
|
8146
8174
|
export declare type HarmonizedLandedCost = io.flow.v0.models.HarmonizedLandedCost;
|
|
8147
8175
|
export declare type HarmonizedLandedCostForm = io.flow.v0.models.HarmonizedLandedCostForm;
|
|
8148
8176
|
export declare type HarmonizedLandedCostItem = io.flow.v0.models.HarmonizedLandedCostItem;
|
|
@@ -8390,6 +8418,12 @@ export declare type OrderServiceChangeRequestData = io.flow.v0.models.OrderServi
|
|
|
8390
8418
|
export declare type OrderStatus = io.flow.v0.enums.OrderStatus;
|
|
8391
8419
|
export declare type OrderSubmissionForm = io.flow.v0.models.OrderSubmissionForm;
|
|
8392
8420
|
export declare type OrderSubmissionIdentifierForm = io.flow.v0.models.OrderSubmissionIdentifierForm;
|
|
8421
|
+
export declare type OrderSummary = io.flow.v0.models.OrderSummary;
|
|
8422
|
+
export declare type OrderSummaryImage = io.flow.v0.models.OrderSummaryImage;
|
|
8423
|
+
export declare type OrderSummaryItem = io.flow.v0.models.OrderSummaryItem;
|
|
8424
|
+
export declare type OrderSummaryLevy = io.flow.v0.models.OrderSummaryLevy;
|
|
8425
|
+
export declare type OrderSummaryLineItem = io.flow.v0.models.OrderSummaryLineItem;
|
|
8426
|
+
export declare type OrderSummaryPriceDetail = io.flow.v0.models.OrderSummaryPriceDetail;
|
|
8393
8427
|
export declare type OrderUpserted = io.flow.v0.models.OrderUpserted;
|
|
8394
8428
|
export declare type OrderUpsertedV2 = io.flow.v0.models.OrderUpsertedV2;
|
|
8395
8429
|
export declare type OrderVersion = io.flow.v0.models.OrderVersion;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "
|
|
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",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
],
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"prettier": "^1.18.2",
|
|
28
|
-
"typescript": "^3.
|
|
28
|
+
"typescript": "^3.6.3"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "e79ec9bee713b7409147b90978ad1eff12e4e0a3"
|
|
31
31
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -12612,7 +12612,6 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
12612
12612
|
| 'harmonization_phrase_suggestion_request_import'
|
|
12613
12613
|
| 'harmonization_codes_import'
|
|
12614
12614
|
| 'customs_description_sugestion_created'
|
|
12615
|
-
| 'product_classification_created'
|
|
12616
12615
|
| 'harmonize_fully_with_rate'
|
|
12617
12616
|
| 'item_harmonized'
|
|
12618
12617
|
| 'harmonize_fully_request'
|
|
@@ -12676,6 +12675,12 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
12676
12675
|
| 'stripe_refund_upserted'
|
|
12677
12676
|
| 'svb_virtual_card_clearing_upserted'
|
|
12678
12677
|
| 'svb_virtual_card_clearing_deleted'
|
|
12678
|
+
| 'tracking_label_event_upserted_v2'
|
|
12679
|
+
| 'tracking_label_event_deleted_v2'
|
|
12680
|
+
| 'tracking_label_upserted'
|
|
12681
|
+
| 'tracking_label_deleted'
|
|
12682
|
+
| 'tracking_upserted'
|
|
12683
|
+
| 'tracking_deleted'
|
|
12679
12684
|
| 'tracking_request_upserted'
|
|
12680
12685
|
| 'tracking_response_upserted'
|
|
12681
12686
|
| 'user_upserted_v2'
|
|
@@ -13524,6 +13529,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13524
13529
|
readonly country_picker: io.flow.country.picker.v0.models.CountryPickerData;
|
|
13525
13530
|
readonly optins: io.flow.optin.internal.v0.models.OptinPrompt[];
|
|
13526
13531
|
readonly features: io.flow.feature.v0.models.FeatureValueResult;
|
|
13532
|
+
readonly payment_methods?: io.flow.internal.v0.models.BrowserBundlePaymentMethods;
|
|
13527
13533
|
}
|
|
13528
13534
|
|
|
13529
13535
|
interface BrowserBundleCountryPickerForm {
|
|
@@ -13546,12 +13552,26 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13546
13552
|
readonly optin?: io.flow.internal.v0.models.BrowserBundleOptinForm;
|
|
13547
13553
|
readonly country_picker?: io.flow.internal.v0.models.BrowserBundleCountryPickerForm;
|
|
13548
13554
|
readonly feature?: io.flow.internal.v0.models.BrowserBundleFeatureForm;
|
|
13555
|
+
readonly payment_method?: io.flow.internal.v0.models.BrowserBundlePaymentMethodForm;
|
|
13549
13556
|
}
|
|
13550
13557
|
|
|
13551
13558
|
interface BrowserBundleOptinForm {
|
|
13552
13559
|
readonly country: string;
|
|
13553
13560
|
}
|
|
13554
13561
|
|
|
13562
|
+
interface BrowserBundlePaymentMethod {
|
|
13563
|
+
readonly id: string;
|
|
13564
|
+
}
|
|
13565
|
+
|
|
13566
|
+
interface BrowserBundlePaymentMethodForm {
|
|
13567
|
+
readonly experience_key: string;
|
|
13568
|
+
readonly country: string;
|
|
13569
|
+
}
|
|
13570
|
+
|
|
13571
|
+
interface BrowserBundlePaymentMethods {
|
|
13572
|
+
readonly displayed?: io.flow.internal.v0.models.BrowserBundlePaymentMethod[];
|
|
13573
|
+
}
|
|
13574
|
+
|
|
13555
13575
|
interface CalculatedTaxAmount {
|
|
13556
13576
|
readonly amount: number;
|
|
13557
13577
|
readonly rate: number;
|
|
@@ -13660,6 +13680,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13660
13680
|
readonly id: string;
|
|
13661
13681
|
readonly organization: io.flow.common.v0.models.OrganizationSummary;
|
|
13662
13682
|
readonly builder: io.flow.experience.v0.models.OrderBuilder;
|
|
13683
|
+
readonly platform: io.flow.internal.v0.models.CheckoutPlatformData;
|
|
13663
13684
|
readonly content: io.flow.internal.v0.models.CheckoutContent;
|
|
13664
13685
|
readonly destinations: io.flow.reference.v0.models.Country[];
|
|
13665
13686
|
readonly optins: io.flow.optin.internal.v0.models.OptinPrompt[];
|
|
@@ -13819,6 +13840,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13819
13840
|
readonly paypal?: io.flow.internal.v0.models.ApmContent;
|
|
13820
13841
|
}
|
|
13821
13842
|
|
|
13843
|
+
interface CheckoutPlatformData {
|
|
13844
|
+
readonly order_number?: string;
|
|
13845
|
+
}
|
|
13846
|
+
|
|
13822
13847
|
interface CheckoutRedirect {
|
|
13823
13848
|
readonly method: io.flow.internal.v0.enums.CheckoutRedirectMethod;
|
|
13824
13849
|
readonly url: string;
|
|
@@ -14432,6 +14457,29 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14432
14457
|
readonly count: number;
|
|
14433
14458
|
}
|
|
14434
14459
|
|
|
14460
|
+
interface ExportTrackingLabel {
|
|
14461
|
+
readonly id: string;
|
|
14462
|
+
readonly carrier: string;
|
|
14463
|
+
readonly carrier_tracking_number: string;
|
|
14464
|
+
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
14465
|
+
readonly created_at: string;
|
|
14466
|
+
readonly delivery_estimate?: string;
|
|
14467
|
+
readonly description?: string;
|
|
14468
|
+
}
|
|
14469
|
+
|
|
14470
|
+
interface ExportTrackingLabelEvent {
|
|
14471
|
+
readonly id: string;
|
|
14472
|
+
readonly address?: io.flow.common.v0.models.Address;
|
|
14473
|
+
readonly carrier: string;
|
|
14474
|
+
readonly carrier_timestamp: string;
|
|
14475
|
+
readonly carrier_tracking_number: string;
|
|
14476
|
+
readonly flow_tracking_number: string;
|
|
14477
|
+
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
14478
|
+
readonly delivery_estimate?: string;
|
|
14479
|
+
readonly description?: string;
|
|
14480
|
+
readonly order_number?: string;
|
|
14481
|
+
}
|
|
14482
|
+
|
|
14435
14483
|
interface ExternalVariant {
|
|
14436
14484
|
readonly key: string;
|
|
14437
14485
|
readonly traffic_percentage: number;
|
|
@@ -15345,11 +15393,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15345
15393
|
readonly value: string;
|
|
15346
15394
|
}
|
|
15347
15395
|
|
|
15348
|
-
interface LabelProbability {
|
|
15349
|
-
readonly label: string;
|
|
15350
|
-
readonly probability: number;
|
|
15351
|
-
}
|
|
15352
|
-
|
|
15353
15396
|
interface LabelSummary {
|
|
15354
15397
|
readonly commercial_invoice?: string;
|
|
15355
15398
|
readonly pdf?: string;
|
|
@@ -16642,22 +16685,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16642
16685
|
readonly order?: io.flow.internal.v0.models.BillingOrderSummary;
|
|
16643
16686
|
}
|
|
16644
16687
|
|
|
16645
|
-
interface ProductClassification {
|
|
16646
|
-
readonly material: io.flow.internal.v0.models.LabelProbability[];
|
|
16647
|
-
readonly gender: io.flow.internal.v0.models.LabelProbability[];
|
|
16648
|
-
readonly construction: io.flow.internal.v0.models.LabelProbability[];
|
|
16649
|
-
readonly product_type: io.flow.internal.v0.models.LabelProbability[];
|
|
16650
|
-
}
|
|
16651
|
-
|
|
16652
|
-
interface ProductClassificationCreated {
|
|
16653
|
-
readonly event_id: string;
|
|
16654
|
-
readonly timestamp: string;
|
|
16655
|
-
readonly organization: string;
|
|
16656
|
-
readonly product_id: string;
|
|
16657
|
-
readonly model_id: string;
|
|
16658
|
-
readonly classification: io.flow.internal.v0.models.ProductClassification;
|
|
16659
|
-
}
|
|
16660
|
-
|
|
16661
16688
|
interface ProductClassificationJudgementForm {
|
|
16662
16689
|
readonly organization_id: string;
|
|
16663
16690
|
readonly product_id: string;
|
|
@@ -17513,6 +17540,13 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17513
17540
|
readonly timezone: string;
|
|
17514
17541
|
}
|
|
17515
17542
|
|
|
17543
|
+
interface TrackingDeleted {
|
|
17544
|
+
readonly event_id: string;
|
|
17545
|
+
readonly timestamp: string;
|
|
17546
|
+
readonly organization: string;
|
|
17547
|
+
readonly tracking: io.flow.tracking.v0.models.Tracking;
|
|
17548
|
+
}
|
|
17549
|
+
|
|
17516
17550
|
interface TrackingEvent {
|
|
17517
17551
|
readonly timestamp: string;
|
|
17518
17552
|
readonly carrier_status_code: string;
|
|
@@ -17520,6 +17554,34 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17520
17554
|
readonly description?: string;
|
|
17521
17555
|
}
|
|
17522
17556
|
|
|
17557
|
+
interface TrackingLabelDeleted {
|
|
17558
|
+
readonly event_id: string;
|
|
17559
|
+
readonly timestamp: string;
|
|
17560
|
+
readonly organization: string;
|
|
17561
|
+
readonly tracking_label: io.flow.internal.v0.models.ExportTrackingLabel;
|
|
17562
|
+
}
|
|
17563
|
+
|
|
17564
|
+
interface TrackingLabelEventDeletedV2 {
|
|
17565
|
+
readonly event_id: string;
|
|
17566
|
+
readonly timestamp: string;
|
|
17567
|
+
readonly organization: string;
|
|
17568
|
+
readonly tracking_label_event: io.flow.internal.v0.models.ExportTrackingLabelEvent;
|
|
17569
|
+
}
|
|
17570
|
+
|
|
17571
|
+
interface TrackingLabelEventUpsertedV2 {
|
|
17572
|
+
readonly event_id: string;
|
|
17573
|
+
readonly timestamp: string;
|
|
17574
|
+
readonly organization: string;
|
|
17575
|
+
readonly tracking_label_event: io.flow.internal.v0.models.ExportTrackingLabelEvent;
|
|
17576
|
+
}
|
|
17577
|
+
|
|
17578
|
+
interface TrackingLabelUpserted {
|
|
17579
|
+
readonly event_id: string;
|
|
17580
|
+
readonly timestamp: string;
|
|
17581
|
+
readonly organization: string;
|
|
17582
|
+
readonly tracking_label: io.flow.internal.v0.models.ExportTrackingLabel;
|
|
17583
|
+
}
|
|
17584
|
+
|
|
17523
17585
|
interface TrackingRequest {
|
|
17524
17586
|
readonly carrier: string;
|
|
17525
17587
|
readonly carrier_tracking_number: string;
|
|
@@ -17556,6 +17618,13 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17556
17618
|
readonly label: io.flow.internal.v0.models.LabelSummary;
|
|
17557
17619
|
}
|
|
17558
17620
|
|
|
17621
|
+
interface TrackingUpserted {
|
|
17622
|
+
readonly event_id: string;
|
|
17623
|
+
readonly timestamp: string;
|
|
17624
|
+
readonly organization: string;
|
|
17625
|
+
readonly tracking: io.flow.tracking.v0.models.Tracking;
|
|
17626
|
+
}
|
|
17627
|
+
|
|
17559
17628
|
interface TransactionReference {
|
|
17560
17629
|
readonly id: string;
|
|
17561
17630
|
}
|
|
@@ -17960,9 +18029,6 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
17960
18029
|
| {
|
|
17961
18030
|
discriminator: 'customs_description_sugestion_created';
|
|
17962
18031
|
} & io.flow.internal.v0.models.CustomsDescriptionSugestionCreated
|
|
17963
|
-
| {
|
|
17964
|
-
discriminator: 'product_classification_created';
|
|
17965
|
-
} & io.flow.internal.v0.models.ProductClassificationCreated
|
|
17966
18032
|
| {
|
|
17967
18033
|
discriminator: 'harmonize_fully_with_rate';
|
|
17968
18034
|
} & io.flow.internal.v0.models.HarmonizeFullyWithRate
|
|
@@ -18152,6 +18218,24 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
18152
18218
|
| {
|
|
18153
18219
|
discriminator: 'svb_virtual_card_clearing_deleted';
|
|
18154
18220
|
} & io.flow.internal.v0.models.SvbVirtualCardClearingDeleted
|
|
18221
|
+
| {
|
|
18222
|
+
discriminator: 'tracking_label_event_upserted_v2';
|
|
18223
|
+
} & io.flow.internal.v0.models.TrackingLabelEventUpsertedV2
|
|
18224
|
+
| {
|
|
18225
|
+
discriminator: 'tracking_label_event_deleted_v2';
|
|
18226
|
+
} & io.flow.internal.v0.models.TrackingLabelEventDeletedV2
|
|
18227
|
+
| {
|
|
18228
|
+
discriminator: 'tracking_label_upserted';
|
|
18229
|
+
} & io.flow.internal.v0.models.TrackingLabelUpserted
|
|
18230
|
+
| {
|
|
18231
|
+
discriminator: 'tracking_label_deleted';
|
|
18232
|
+
} & io.flow.internal.v0.models.TrackingLabelDeleted
|
|
18233
|
+
| {
|
|
18234
|
+
discriminator: 'tracking_upserted';
|
|
18235
|
+
} & io.flow.internal.v0.models.TrackingUpserted
|
|
18236
|
+
| {
|
|
18237
|
+
discriminator: 'tracking_deleted';
|
|
18238
|
+
} & io.flow.internal.v0.models.TrackingDeleted
|
|
18155
18239
|
| {
|
|
18156
18240
|
discriminator: 'tracking_request_upserted';
|
|
18157
18241
|
} & io.flow.internal.v0.models.TrackingRequestUpserted
|
|
@@ -18603,6 +18687,9 @@ export type BrowserBundleErrorCode = io.flow.internal.v0.enums.BrowserBundleErro
|
|
|
18603
18687
|
export type BrowserBundleFeatureForm = io.flow.internal.v0.models.BrowserBundleFeatureForm;
|
|
18604
18688
|
export type BrowserBundleForm = io.flow.internal.v0.models.BrowserBundleForm;
|
|
18605
18689
|
export type BrowserBundleOptinForm = io.flow.internal.v0.models.BrowserBundleOptinForm;
|
|
18690
|
+
export type BrowserBundlePaymentMethod = io.flow.internal.v0.models.BrowserBundlePaymentMethod;
|
|
18691
|
+
export type BrowserBundlePaymentMethodForm = io.flow.internal.v0.models.BrowserBundlePaymentMethodForm;
|
|
18692
|
+
export type BrowserBundlePaymentMethods = io.flow.internal.v0.models.BrowserBundlePaymentMethods;
|
|
18606
18693
|
export type CalculatedTaxAmount = io.flow.internal.v0.models.CalculatedTaxAmount;
|
|
18607
18694
|
export type CarrierAccount = io.flow.internal.v0.models.CarrierAccount;
|
|
18608
18695
|
export type CarrierAccountUpserted = io.flow.internal.v0.models.CarrierAccountUpserted;
|
|
@@ -18647,6 +18734,7 @@ export type CheckoutOrderForm = io.flow.internal.v0.models.CheckoutOrderForm;
|
|
|
18647
18734
|
export type CheckoutOrderNumberForm = io.flow.internal.v0.models.CheckoutOrderNumberForm;
|
|
18648
18735
|
export type CheckoutPayment = io.flow.internal.v0.models.CheckoutPayment;
|
|
18649
18736
|
export type CheckoutPaymentContent = io.flow.internal.v0.models.CheckoutPaymentContent;
|
|
18737
|
+
export type CheckoutPlatformData = io.flow.internal.v0.models.CheckoutPlatformData;
|
|
18650
18738
|
export type CheckoutPromptBehavior = io.flow.internal.v0.enums.CheckoutPromptBehavior;
|
|
18651
18739
|
export type CheckoutRedirect = io.flow.internal.v0.models.CheckoutRedirect;
|
|
18652
18740
|
export type CheckoutRedirectMethod = io.flow.internal.v0.enums.CheckoutRedirectMethod;
|
|
@@ -18762,6 +18850,8 @@ export type ExportFailed = io.flow.internal.v0.models.ExportFailed;
|
|
|
18762
18850
|
export type ExportSchedule = io.flow.internal.v0.unions.ExportSchedule;
|
|
18763
18851
|
export type ExportScheduleDaily = io.flow.internal.v0.models.ExportScheduleDaily;
|
|
18764
18852
|
export type ExportScheduleRepeated = io.flow.internal.v0.models.ExportScheduleRepeated;
|
|
18853
|
+
export type ExportTrackingLabel = io.flow.internal.v0.models.ExportTrackingLabel;
|
|
18854
|
+
export type ExportTrackingLabelEvent = io.flow.internal.v0.models.ExportTrackingLabelEvent;
|
|
18765
18855
|
export type ExternalVariant = io.flow.internal.v0.models.ExternalVariant;
|
|
18766
18856
|
export type Feature = io.flow.internal.v0.models.Feature;
|
|
18767
18857
|
export type FeatureContextForm = io.flow.internal.v0.models.FeatureContextForm;
|
|
@@ -18931,7 +19021,6 @@ export type Key = io.flow.internal.v0.models.Key;
|
|
|
18931
19021
|
export type KeyReference = io.flow.internal.v0.models.KeyReference;
|
|
18932
19022
|
export type Label = io.flow.internal.v0.models.Label;
|
|
18933
19023
|
export type LabelBillingStrategy = io.flow.internal.v0.enums.LabelBillingStrategy;
|
|
18934
|
-
export type LabelProbability = io.flow.internal.v0.models.LabelProbability;
|
|
18935
19024
|
export type LabelSummary = io.flow.internal.v0.models.LabelSummary;
|
|
18936
19025
|
export type LabeledContent = io.flow.internal.v0.models.LabeledContent;
|
|
18937
19026
|
export type LandedCostExport = io.flow.internal.v0.models.LandedCostExport;
|
|
@@ -19147,8 +19236,6 @@ export type PrioritizedCenterReference = io.flow.internal.v0.models.PrioritizedC
|
|
|
19147
19236
|
export type ProcessingTransaction = io.flow.internal.v0.models.ProcessingTransaction;
|
|
19148
19237
|
export type ProcessingTransactionType = io.flow.internal.v0.enums.ProcessingTransactionType;
|
|
19149
19238
|
export type Processor = io.flow.internal.v0.enums.Processor;
|
|
19150
|
-
export type ProductClassification = io.flow.internal.v0.models.ProductClassification;
|
|
19151
|
-
export type ProductClassificationCreated = io.flow.internal.v0.models.ProductClassificationCreated;
|
|
19152
19239
|
export type ProductClassificationJudgementForm = io.flow.internal.v0.models.ProductClassificationJudgementForm;
|
|
19153
19240
|
export type ProductClassificationResult = io.flow.internal.v0.models.ProductClassificationResult;
|
|
19154
19241
|
export type PromptAction = io.flow.internal.v0.enums.PromptAction;
|
|
@@ -19301,13 +19388,19 @@ export type TaxRemittanceTransactionUpserted = io.flow.internal.v0.models.TaxRem
|
|
|
19301
19388
|
export type TimeCondition = io.flow.internal.v0.models.TimeCondition;
|
|
19302
19389
|
export type TimeWithTimezone = io.flow.internal.v0.models.TimeWithTimezone;
|
|
19303
19390
|
export type TimeseriesType = io.flow.internal.v0.enums.TimeseriesType;
|
|
19391
|
+
export type TrackingDeleted = io.flow.internal.v0.models.TrackingDeleted;
|
|
19304
19392
|
export type TrackingEvent = io.flow.internal.v0.models.TrackingEvent;
|
|
19305
19393
|
export type TrackingIntegrationType = io.flow.internal.v0.enums.TrackingIntegrationType;
|
|
19394
|
+
export type TrackingLabelDeleted = io.flow.internal.v0.models.TrackingLabelDeleted;
|
|
19395
|
+
export type TrackingLabelEventDeletedV2 = io.flow.internal.v0.models.TrackingLabelEventDeletedV2;
|
|
19396
|
+
export type TrackingLabelEventUpsertedV2 = io.flow.internal.v0.models.TrackingLabelEventUpsertedV2;
|
|
19397
|
+
export type TrackingLabelUpserted = io.flow.internal.v0.models.TrackingLabelUpserted;
|
|
19306
19398
|
export type TrackingRequest = io.flow.internal.v0.models.TrackingRequest;
|
|
19307
19399
|
export type TrackingRequestUpserted = io.flow.internal.v0.models.TrackingRequestUpserted;
|
|
19308
19400
|
export type TrackingResponse = io.flow.internal.v0.models.TrackingResponse;
|
|
19309
19401
|
export type TrackingResponseUpserted = io.flow.internal.v0.models.TrackingResponseUpserted;
|
|
19310
19402
|
export type TrackingSummary = io.flow.internal.v0.models.TrackingSummary;
|
|
19403
|
+
export type TrackingUpserted = io.flow.internal.v0.models.TrackingUpserted;
|
|
19311
19404
|
export type Transaction = io.flow.internal.v0.unions.Transaction;
|
|
19312
19405
|
export type TransactionReference = io.flow.internal.v0.models.TransactionReference;
|
|
19313
19406
|
export type TransactionSummary = io.flow.internal.v0.unions.TransactionSummary;
|
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 {
|
|
@@ -3180,7 +3179,6 @@ declare namespace io.flow.v0.models {
|
|
|
3180
3179
|
[key: string]: string;
|
|
3181
3180
|
};
|
|
3182
3181
|
readonly center?: string;
|
|
3183
|
-
readonly discount?: io.flow.v0.models.MoneyWithOptionalBase;
|
|
3184
3182
|
readonly line_number?: number;
|
|
3185
3183
|
}
|
|
3186
3184
|
|
|
@@ -4055,16 +4053,11 @@ declare namespace io.flow.v0.models {
|
|
|
4055
4053
|
readonly description?: string;
|
|
4056
4054
|
}
|
|
4057
4055
|
|
|
4058
|
-
interface HarmonizedItemDeleted {
|
|
4059
|
-
readonly event_id: string;
|
|
4060
|
-
readonly timestamp: string;
|
|
4061
|
-
readonly organization: string;
|
|
4062
|
-
readonly number: string;
|
|
4063
|
-
}
|
|
4064
|
-
|
|
4065
4056
|
interface HarmonizedItemForm {
|
|
4066
4057
|
readonly name: string;
|
|
4067
4058
|
readonly number: string;
|
|
4059
|
+
readonly currency: string;
|
|
4060
|
+
readonly price: number;
|
|
4068
4061
|
readonly categories?: string[];
|
|
4069
4062
|
readonly description?: string;
|
|
4070
4063
|
readonly attributes?: {
|
|
@@ -4074,6 +4067,8 @@ declare namespace io.flow.v0.models {
|
|
|
4074
4067
|
|
|
4075
4068
|
interface HarmonizedItemPutForm {
|
|
4076
4069
|
readonly name: string;
|
|
4070
|
+
readonly currency: string;
|
|
4071
|
+
readonly price: number;
|
|
4077
4072
|
readonly categories?: string[];
|
|
4078
4073
|
readonly description?: string;
|
|
4079
4074
|
readonly attributes?: {
|
|
@@ -4087,19 +4082,6 @@ declare namespace io.flow.v0.models {
|
|
|
4087
4082
|
readonly description?: string;
|
|
4088
4083
|
}
|
|
4089
4084
|
|
|
4090
|
-
interface HarmonizedItemUpserted {
|
|
4091
|
-
readonly event_id: string;
|
|
4092
|
-
readonly timestamp: string;
|
|
4093
|
-
readonly organization: string;
|
|
4094
|
-
readonly number: string;
|
|
4095
|
-
readonly name: string;
|
|
4096
|
-
readonly categories: string[];
|
|
4097
|
-
readonly attributes: {
|
|
4098
|
-
[key: string]: string;
|
|
4099
|
-
};
|
|
4100
|
-
readonly description?: string;
|
|
4101
|
-
}
|
|
4102
|
-
|
|
4103
4085
|
interface HarmonizedLandedCost {
|
|
4104
4086
|
readonly address: io.flow.v0.models.Address;
|
|
4105
4087
|
readonly items: io.flow.v0.models.HarmonizedLandedCostItem[];
|
|
@@ -5674,6 +5656,62 @@ declare namespace io.flow.v0.models {
|
|
|
5674
5656
|
readonly primary?: boolean;
|
|
5675
5657
|
}
|
|
5676
5658
|
|
|
5659
|
+
interface OrderSummary {
|
|
5660
|
+
readonly number: string;
|
|
5661
|
+
readonly subtotal: io.flow.v0.models.OrderSummaryPriceDetail;
|
|
5662
|
+
readonly shipping?: io.flow.v0.models.OrderSummaryPriceDetail;
|
|
5663
|
+
readonly tax?: io.flow.v0.models.OrderSummaryPriceDetail;
|
|
5664
|
+
readonly duty?: io.flow.v0.models.OrderSummaryPriceDetail;
|
|
5665
|
+
readonly insurance?: io.flow.v0.models.OrderSummaryPriceDetail;
|
|
5666
|
+
readonly discount?: io.flow.v0.models.OrderSummaryPriceDetail;
|
|
5667
|
+
readonly surcharges?: io.flow.v0.models.OrderSummaryPriceDetail;
|
|
5668
|
+
readonly adjustment?: io.flow.v0.models.OrderSummaryPriceDetail;
|
|
5669
|
+
readonly total: io.flow.v0.models.OrderSummaryPriceDetail;
|
|
5670
|
+
readonly lines: io.flow.v0.models.OrderSummaryLineItem[];
|
|
5671
|
+
}
|
|
5672
|
+
|
|
5673
|
+
interface OrderSummaryImage {
|
|
5674
|
+
readonly url: string;
|
|
5675
|
+
}
|
|
5676
|
+
|
|
5677
|
+
interface OrderSummaryItem {
|
|
5678
|
+
readonly number: string;
|
|
5679
|
+
readonly name: string;
|
|
5680
|
+
readonly description?: string;
|
|
5681
|
+
readonly attributes: io.flow.v0.models.CheckoutItemContentAttribute[];
|
|
5682
|
+
readonly image?: io.flow.v0.models.OrderSummaryImage;
|
|
5683
|
+
readonly price: io.flow.v0.models.Price;
|
|
5684
|
+
readonly discount?: io.flow.v0.models.Price;
|
|
5685
|
+
readonly tax?: io.flow.v0.models.OrderSummaryLevy;
|
|
5686
|
+
readonly duty?: io.flow.v0.models.OrderSummaryLevy;
|
|
5687
|
+
readonly price_attributes: {
|
|
5688
|
+
[key: string]: io.flow.v0.models.PriceWithBase;
|
|
5689
|
+
};
|
|
5690
|
+
}
|
|
5691
|
+
|
|
5692
|
+
interface OrderSummaryLevy {
|
|
5693
|
+
readonly rate: number;
|
|
5694
|
+
readonly value: io.flow.v0.models.Price;
|
|
5695
|
+
}
|
|
5696
|
+
|
|
5697
|
+
interface OrderSummaryLineItem {
|
|
5698
|
+
readonly item: io.flow.v0.models.OrderSummaryItem;
|
|
5699
|
+
readonly quantity: number;
|
|
5700
|
+
readonly discount?: io.flow.v0.models.Price;
|
|
5701
|
+
readonly tax?: io.flow.v0.models.OrderSummaryLevy;
|
|
5702
|
+
readonly duty?: io.flow.v0.models.OrderSummaryLevy;
|
|
5703
|
+
readonly total: io.flow.v0.models.Price;
|
|
5704
|
+
readonly price_attributes: {
|
|
5705
|
+
[key: string]: io.flow.v0.models.PriceWithBase;
|
|
5706
|
+
};
|
|
5707
|
+
}
|
|
5708
|
+
|
|
5709
|
+
interface OrderSummaryPriceDetail {
|
|
5710
|
+
readonly price: io.flow.v0.models.Price;
|
|
5711
|
+
readonly name?: string;
|
|
5712
|
+
readonly rate?: number;
|
|
5713
|
+
}
|
|
5714
|
+
|
|
5677
5715
|
interface OrderUpserted {
|
|
5678
5716
|
readonly event_id: string;
|
|
5679
5717
|
readonly timestamp: string;
|
|
@@ -6505,8 +6543,6 @@ declare namespace io.flow.v0.models {
|
|
|
6505
6543
|
[key: string]: string;
|
|
6506
6544
|
};
|
|
6507
6545
|
readonly center?: string;
|
|
6508
|
-
readonly discount?: io.flow.v0.models.Money;
|
|
6509
|
-
readonly discounts?: io.flow.v0.models.DiscountsForm;
|
|
6510
6546
|
}
|
|
6511
6547
|
|
|
6512
6548
|
interface QuoteSummary {
|
|
@@ -9030,12 +9066,6 @@ declare namespace io.flow.v0.unions {
|
|
|
9030
9066
|
| {
|
|
9031
9067
|
discriminator: 'item_origin_deleted';
|
|
9032
9068
|
} & io.flow.v0.models.ItemOriginDeleted
|
|
9033
|
-
| {
|
|
9034
|
-
discriminator: 'harmonized_item_upserted';
|
|
9035
|
-
} & io.flow.v0.models.HarmonizedItemUpserted
|
|
9036
|
-
| {
|
|
9037
|
-
discriminator: 'harmonized_item_deleted';
|
|
9038
|
-
} & io.flow.v0.models.HarmonizedItemDeleted
|
|
9039
9069
|
| {
|
|
9040
9070
|
discriminator: 'harmonized_landed_cost_upserted';
|
|
9041
9071
|
} & io.flow.v0.models.HarmonizedLandedCostUpserted
|
|
@@ -10145,11 +10175,9 @@ export type HarmonizationOverviewExportType = io.flow.v0.models.HarmonizationOve
|
|
|
10145
10175
|
export type HarmonizedCategory = io.flow.v0.models.HarmonizedCategory;
|
|
10146
10176
|
export type HarmonizedCategoryReference = io.flow.v0.models.HarmonizedCategoryReference;
|
|
10147
10177
|
export type HarmonizedItem = io.flow.v0.models.HarmonizedItem;
|
|
10148
|
-
export type HarmonizedItemDeleted = io.flow.v0.models.HarmonizedItemDeleted;
|
|
10149
10178
|
export type HarmonizedItemForm = io.flow.v0.models.HarmonizedItemForm;
|
|
10150
10179
|
export type HarmonizedItemPutForm = io.flow.v0.models.HarmonizedItemPutForm;
|
|
10151
10180
|
export type HarmonizedItemReference = io.flow.v0.models.HarmonizedItemReference;
|
|
10152
|
-
export type HarmonizedItemUpserted = io.flow.v0.models.HarmonizedItemUpserted;
|
|
10153
10181
|
export type HarmonizedLandedCost = io.flow.v0.models.HarmonizedLandedCost;
|
|
10154
10182
|
export type HarmonizedLandedCostForm = io.flow.v0.models.HarmonizedLandedCostForm;
|
|
10155
10183
|
export type HarmonizedLandedCostItem = io.flow.v0.models.HarmonizedLandedCostItem;
|
|
@@ -10397,6 +10425,12 @@ export type OrderServiceChangeRequestData = io.flow.v0.models.OrderServiceChange
|
|
|
10397
10425
|
export type OrderStatus = io.flow.v0.enums.OrderStatus;
|
|
10398
10426
|
export type OrderSubmissionForm = io.flow.v0.models.OrderSubmissionForm;
|
|
10399
10427
|
export type OrderSubmissionIdentifierForm = io.flow.v0.models.OrderSubmissionIdentifierForm;
|
|
10428
|
+
export type OrderSummary = io.flow.v0.models.OrderSummary;
|
|
10429
|
+
export type OrderSummaryImage = io.flow.v0.models.OrderSummaryImage;
|
|
10430
|
+
export type OrderSummaryItem = io.flow.v0.models.OrderSummaryItem;
|
|
10431
|
+
export type OrderSummaryLevy = io.flow.v0.models.OrderSummaryLevy;
|
|
10432
|
+
export type OrderSummaryLineItem = io.flow.v0.models.OrderSummaryLineItem;
|
|
10433
|
+
export type OrderSummaryPriceDetail = io.flow.v0.models.OrderSummaryPriceDetail;
|
|
10400
10434
|
export type OrderUpserted = io.flow.v0.models.OrderUpserted;
|
|
10401
10435
|
export type OrderUpsertedV2 = io.flow.v0.models.OrderUpsertedV2;
|
|
10402
10436
|
export type OrderVersion = io.flow.v0.models.OrderVersion;
|