@flowio/types 0.0.5 → 0.0.7
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 +239 -968
- package/dist/api.d.ts +169 -636
- package/dist/index.d.ts +1 -1
- package/package.json +8 -3
- package/src/api-internal.ts +255 -1341
- package/src/api.ts +190 -889
- package/src/index.ts +1 -4
- package/LICENSE +0 -21
package/dist/api.d.ts
CHANGED
|
@@ -370,9 +370,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
370
370
|
}
|
|
371
371
|
interface ShopifyCustomer {
|
|
372
372
|
readonly id: number;
|
|
373
|
-
readonly addresses:
|
|
374
|
-
[key: string]: string;
|
|
375
|
-
}[];
|
|
373
|
+
readonly addresses: io.flow.shopify.external.v0.models.ShopifyCustomerAddress[];
|
|
376
374
|
readonly created_at: string;
|
|
377
375
|
readonly tags: string;
|
|
378
376
|
readonly tax_exempt: boolean;
|
|
@@ -393,6 +391,25 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
393
391
|
readonly total_spent?: string;
|
|
394
392
|
readonly updated_at?: string;
|
|
395
393
|
}
|
|
394
|
+
interface ShopifyCustomerAddress {
|
|
395
|
+
readonly id: number;
|
|
396
|
+
readonly customer_id: number;
|
|
397
|
+
readonly default: boolean;
|
|
398
|
+
readonly address1?: string;
|
|
399
|
+
readonly address2?: string;
|
|
400
|
+
readonly city?: string;
|
|
401
|
+
readonly company?: string;
|
|
402
|
+
readonly first_name?: string;
|
|
403
|
+
readonly last_name?: string;
|
|
404
|
+
readonly name?: string;
|
|
405
|
+
readonly phone?: string;
|
|
406
|
+
readonly country?: string;
|
|
407
|
+
readonly country_code?: string;
|
|
408
|
+
readonly country_name?: string;
|
|
409
|
+
readonly province?: string;
|
|
410
|
+
readonly province_code?: string;
|
|
411
|
+
readonly zip?: string;
|
|
412
|
+
}
|
|
396
413
|
interface ShopifyCustomerDelete {
|
|
397
414
|
readonly id: number;
|
|
398
415
|
}
|
|
@@ -496,9 +513,10 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
496
513
|
}
|
|
497
514
|
interface ShopifyInventoryItem {
|
|
498
515
|
readonly id: number;
|
|
499
|
-
readonly sku: string;
|
|
500
516
|
readonly tracked: boolean;
|
|
517
|
+
readonly sku?: string;
|
|
501
518
|
readonly cost?: string;
|
|
519
|
+
readonly country_code_of_origin?: string;
|
|
502
520
|
readonly created_at: string;
|
|
503
521
|
readonly updated_at?: string;
|
|
504
522
|
}
|
|
@@ -841,9 +859,10 @@ declare namespace io.flow.v0.enums {
|
|
|
841
859
|
type DeliveryWindowLocation = 'center' | 'crossdock' | 'customer';
|
|
842
860
|
type Direction = 'outbound' | 'return';
|
|
843
861
|
type DiscountTarget = 'item' | 'shipping';
|
|
862
|
+
type EcommercePlatformType = 'commercetools' | 'custom' | 'magento' | 'shopify' | 'sfcc' | 'solidus' | 'workarea';
|
|
844
863
|
type EconomicTitleLocation = 'high_seas' | 'origination' | 'destination';
|
|
845
864
|
type Environment = 'sandbox' | 'production';
|
|
846
|
-
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' | 'consumer_invoice_upserted' | 'consumer_invoice_deleted' | 'credit_memo_upserted' | 'credit_memo_deleted' | 'crossdock_shipment_upserted' | 'rate_deleted' | 'rate_upserted' | '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' | 'fraud_status_changed' | 'center_upserted' | 'center_deleted' | 'delivery_option_upserted' | 'delivery_option_deleted' | 'shipping_configuration_upserted' | 'shipping_configuration_deleted' | 'tier_upserted_v2' | 'tier_deleted_v2' | 'shipping_lane_upserted' | 'shipping_lane_deleted' | 'shipping_configuration_item_availability_upserted' | 'shipping_configuration_item_availability_deleted' | 'shipping_configuration_item_shipping_pricing_upserted' | 'shipping_configuration_item_shipping_pricing_deleted' | 'hs6_code_upserted' | 'hs6_code_deleted' | 'hs10_code_upserted' | 'hs10_code_deleted' | 'item_origin_upserted' | 'item_origin_deleted' | 'harmonized_item_upserted' | 'harmonized_item_deleted' | 'harmonized_landed_cost_upserted' | 'fully_harmonized_item_upserted' | 'rule_upserted' | 'rule_deleted' | 'serial_upserted' | 'serial_deleted' | 'snapshot_upserted' | 'snapshot_deleted' | 'label_upserted' | 'notification_upserted' | 'notification_deleted' | 'manifested_label_upserted' | 'manifested_label_deleted' | 'local_item_upserted' | 'local_item_deleted' | 'checkout_optin_responses_upserted' | 'checkout_optin_responses_deleted' | 'browse_optin_responses_upserted' | 'browse_optin_responses_deleted' | 'order_placed' | 'order_placed_v2' | 'ready_to_fulfill' | 'membership_upserted_v2' | 'membership_deleted_v2' | 'organization_upserted' | 'organization_deleted' | 'organization_upserted_v2' | 'organization_deleted_v2' | 'organization_short_id_upserted' | 'organization_short_id_deleted' | 'organization_default_configurations_upserted' | 'organization_default_configurations_deleted' | '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' | 'return_upserted' | 'return_deleted' | 'shopify_localization_setting_upserted' | 'shopify_localization_setting_deleted' | 'targeting_item_upserted' | 'targeting_item_upserted_v2' | 'targeting_item_deleted' | 'targeting_item_deleted_v3' | 'tracking_label_event_upserted';
|
|
865
|
+
type EventType = 'attribute_upserted' | 'attribute_deleted' | 'attribute_upserted_v2' | 'attribute_deleted_v2' | 'catalog_upserted' | 'catalog_deleted' | 'subcatalog_upserted' | 'subcatalog_deleted' | 'catalog_item_upserted' | 'catalog_item_deleted' | 'catalog_item_upserted_v2' | 'catalog_item_deleted_v2' | 'subcatalog_item_upserted' | 'subcatalog_item_deleted' | 'b2b_invoice_upserted' | 'b2b_invoice_deleted' | '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' | 'fraud_status_changed' | 'center_upserted' | 'center_deleted' | 'delivery_option_upserted' | 'delivery_option_deleted' | 'shipping_configuration_upserted' | 'shipping_configuration_deleted' | 'tier_upserted_v2' | 'tier_deleted_v2' | 'shipping_lane_upserted' | 'shipping_lane_deleted' | 'shipping_configuration_item_availability_upserted' | 'shipping_configuration_item_availability_deleted' | 'shipping_configuration_item_shipping_pricing_upserted' | 'shipping_configuration_item_shipping_pricing_deleted' | 'hs6_code_upserted' | 'hs6_code_deleted' | 'hs10_code_upserted' | 'hs10_code_deleted' | 'item_origin_upserted' | 'item_origin_deleted' | 'harmonized_item_upserted' | 'harmonized_item_deleted' | 'harmonized_landed_cost_upserted' | 'fully_harmonized_item_upserted' | 'rule_upserted' | 'rule_deleted' | 'serial_upserted' | 'serial_deleted' | 'snapshot_upserted' | 'snapshot_deleted' | 'label_upserted' | 'notification_upserted' | 'notification_deleted' | 'manifested_label_upserted' | 'manifested_label_deleted' | 'local_item_upserted' | 'local_item_deleted' | 'checkout_optin_responses_upserted' | 'checkout_optin_responses_deleted' | 'browse_optin_responses_upserted' | 'browse_optin_responses_deleted' | 'order_placed' | 'order_placed_v2' | 'ready_to_fulfill' | 'membership_upserted_v2' | 'membership_deleted_v2' | 'organization_upserted' | 'organization_deleted' | 'organization_upserted_v2' | 'organization_deleted_v2' | 'organization_short_id_upserted' | 'organization_short_id_deleted' | 'organization_default_configurations_upserted' | 'organization_default_configurations_deleted' | 'ecommerce_platform_upserted' | 'ecommerce_platform_deleted' | 'authorization_deleted_v2' | 'authorization_status_changed' | 'card_authorization_upserted_v2' | 'card_authorization_deleted_v2' | 'online_authorization_upserted_v2' | 'online_authorization_deleted_v2' | 'capture_upserted_v2' | 'capture_deleted' | 'card_upserted_v2' | 'card_deleted' | 'payment_upserted' | 'payment_deleted' | 'refund_upserted_v2' | 'refund_deleted_v2' | 'refund_capture_upserted_v2' | 'reversal_upserted' | 'reversal_deleted' | 'capture_identifier_upserted' | 'capture_identifier_deleted' | 'refund_identifier_upserted' | 'refund_identifier_deleted' | 'virtual_card_capture_upserted' | 'virtual_card_capture_deleted' | 'virtual_card_refund_upserted' | 'virtual_card_refund_deleted' | 'price_book_upserted' | 'price_book_deleted' | 'price_book_item_upserted' | 'price_book_item_deleted' | 'organization_rates_published' | 'organization_countries_published' | 'ratecard_lane_upserted' | 'ratecard_lane_deleted' | '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';
|
|
847
866
|
type ExceptionType = 'open' | 'closed';
|
|
848
867
|
type ExperienceCloneStatus = 'pending' | 'updating' | 'completed' | 'failed';
|
|
849
868
|
type ExperiencePaymentMethodTag = 'display';
|
|
@@ -1007,78 +1026,14 @@ declare namespace io.flow.v0.models {
|
|
|
1007
1026
|
readonly provinces: io.flow.v0.models.Province[];
|
|
1008
1027
|
}
|
|
1009
1028
|
interface AddressFieldValidation {
|
|
1010
|
-
readonly first_name:
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
} & io.flow.v0.models.FieldValidationPattern)[];
|
|
1019
|
-
readonly last_name: ({
|
|
1020
|
-
discriminator: 'required';
|
|
1021
|
-
} & io.flow.v0.models.FieldValidationRequired | {
|
|
1022
|
-
discriminator: 'min';
|
|
1023
|
-
} & io.flow.v0.models.FieldValidationMin | {
|
|
1024
|
-
discriminator: 'max';
|
|
1025
|
-
} & io.flow.v0.models.FieldValidationMax | {
|
|
1026
|
-
discriminator: 'pattern';
|
|
1027
|
-
} & io.flow.v0.models.FieldValidationPattern)[];
|
|
1028
|
-
readonly street_1: ({
|
|
1029
|
-
discriminator: 'required';
|
|
1030
|
-
} & io.flow.v0.models.FieldValidationRequired | {
|
|
1031
|
-
discriminator: 'min';
|
|
1032
|
-
} & io.flow.v0.models.FieldValidationMin | {
|
|
1033
|
-
discriminator: 'max';
|
|
1034
|
-
} & io.flow.v0.models.FieldValidationMax | {
|
|
1035
|
-
discriminator: 'pattern';
|
|
1036
|
-
} & io.flow.v0.models.FieldValidationPattern)[];
|
|
1037
|
-
readonly street_2: ({
|
|
1038
|
-
discriminator: 'required';
|
|
1039
|
-
} & io.flow.v0.models.FieldValidationRequired | {
|
|
1040
|
-
discriminator: 'min';
|
|
1041
|
-
} & io.flow.v0.models.FieldValidationMin | {
|
|
1042
|
-
discriminator: 'max';
|
|
1043
|
-
} & io.flow.v0.models.FieldValidationMax | {
|
|
1044
|
-
discriminator: 'pattern';
|
|
1045
|
-
} & io.flow.v0.models.FieldValidationPattern)[];
|
|
1046
|
-
readonly city: ({
|
|
1047
|
-
discriminator: 'required';
|
|
1048
|
-
} & io.flow.v0.models.FieldValidationRequired | {
|
|
1049
|
-
discriminator: 'min';
|
|
1050
|
-
} & io.flow.v0.models.FieldValidationMin | {
|
|
1051
|
-
discriminator: 'max';
|
|
1052
|
-
} & io.flow.v0.models.FieldValidationMax | {
|
|
1053
|
-
discriminator: 'pattern';
|
|
1054
|
-
} & io.flow.v0.models.FieldValidationPattern)[];
|
|
1055
|
-
readonly province: ({
|
|
1056
|
-
discriminator: 'required';
|
|
1057
|
-
} & io.flow.v0.models.FieldValidationRequired | {
|
|
1058
|
-
discriminator: 'min';
|
|
1059
|
-
} & io.flow.v0.models.FieldValidationMin | {
|
|
1060
|
-
discriminator: 'max';
|
|
1061
|
-
} & io.flow.v0.models.FieldValidationMax | {
|
|
1062
|
-
discriminator: 'pattern';
|
|
1063
|
-
} & io.flow.v0.models.FieldValidationPattern)[];
|
|
1064
|
-
readonly postal: ({
|
|
1065
|
-
discriminator: 'required';
|
|
1066
|
-
} & io.flow.v0.models.FieldValidationRequired | {
|
|
1067
|
-
discriminator: 'min';
|
|
1068
|
-
} & io.flow.v0.models.FieldValidationMin | {
|
|
1069
|
-
discriminator: 'max';
|
|
1070
|
-
} & io.flow.v0.models.FieldValidationMax | {
|
|
1071
|
-
discriminator: 'pattern';
|
|
1072
|
-
} & io.flow.v0.models.FieldValidationPattern)[];
|
|
1073
|
-
readonly phone: ({
|
|
1074
|
-
discriminator: 'required';
|
|
1075
|
-
} & io.flow.v0.models.FieldValidationRequired | {
|
|
1076
|
-
discriminator: 'min';
|
|
1077
|
-
} & io.flow.v0.models.FieldValidationMin | {
|
|
1078
|
-
discriminator: 'max';
|
|
1079
|
-
} & io.flow.v0.models.FieldValidationMax | {
|
|
1080
|
-
discriminator: 'pattern';
|
|
1081
|
-
} & io.flow.v0.models.FieldValidationPattern)[];
|
|
1029
|
+
readonly first_name: io.flow.v0.unions.FieldValidationRule[];
|
|
1030
|
+
readonly last_name: io.flow.v0.unions.FieldValidationRule[];
|
|
1031
|
+
readonly street_1: io.flow.v0.unions.FieldValidationRule[];
|
|
1032
|
+
readonly street_2: io.flow.v0.unions.FieldValidationRule[];
|
|
1033
|
+
readonly city: io.flow.v0.unions.FieldValidationRule[];
|
|
1034
|
+
readonly province: io.flow.v0.unions.FieldValidationRule[];
|
|
1035
|
+
readonly postal: io.flow.v0.unions.FieldValidationRule[];
|
|
1036
|
+
readonly phone: io.flow.v0.unions.FieldValidationRule[];
|
|
1082
1037
|
}
|
|
1083
1038
|
interface AddressSuggestion {
|
|
1084
1039
|
readonly address: io.flow.v0.models.Address;
|
|
@@ -1099,11 +1054,7 @@ declare namespace io.flow.v0.models {
|
|
|
1099
1054
|
}
|
|
1100
1055
|
interface Allocation {
|
|
1101
1056
|
readonly order: io.flow.v0.models.AllocationOrderSummary;
|
|
1102
|
-
readonly details:
|
|
1103
|
-
discriminator: 'allocation_line_detail';
|
|
1104
|
-
} & io.flow.v0.models.AllocationLineDetail | {
|
|
1105
|
-
discriminator: 'allocation_order_detail';
|
|
1106
|
-
} & io.flow.v0.models.AllocationOrderDetail)[];
|
|
1057
|
+
readonly details: io.flow.v0.unions.AllocationDetail[];
|
|
1107
1058
|
}
|
|
1108
1059
|
interface AllocationDeletedV2 {
|
|
1109
1060
|
readonly event_id: string;
|
|
@@ -1131,30 +1082,14 @@ declare namespace io.flow.v0.models {
|
|
|
1131
1082
|
readonly key: io.flow.v0.enums.OrderPriceDetailKey;
|
|
1132
1083
|
readonly price: io.flow.v0.models.PriceWithBase;
|
|
1133
1084
|
readonly total: io.flow.v0.models.PriceWithBase;
|
|
1134
|
-
readonly included:
|
|
1135
|
-
|
|
1136
|
-
} & io.flow.v0.models.AllocationDetailComponent | {
|
|
1137
|
-
discriminator: 'allocation_levy_component';
|
|
1138
|
-
} & io.flow.v0.models.AllocationLevyComponent)[];
|
|
1139
|
-
readonly not_included: ({
|
|
1140
|
-
discriminator: 'allocation_detail_component';
|
|
1141
|
-
} & io.flow.v0.models.AllocationDetailComponent | {
|
|
1142
|
-
discriminator: 'allocation_levy_component';
|
|
1143
|
-
} & io.flow.v0.models.AllocationLevyComponent)[];
|
|
1085
|
+
readonly included: io.flow.v0.unions.AllocationComponent[];
|
|
1086
|
+
readonly not_included: io.flow.v0.unions.AllocationComponent[];
|
|
1144
1087
|
}
|
|
1145
1088
|
interface AllocationOrderDetail {
|
|
1146
1089
|
readonly key: io.flow.v0.enums.OrderPriceDetailKey;
|
|
1147
1090
|
readonly total: io.flow.v0.models.PriceWithBase;
|
|
1148
|
-
readonly included:
|
|
1149
|
-
|
|
1150
|
-
} & io.flow.v0.models.AllocationDetailComponent | {
|
|
1151
|
-
discriminator: 'allocation_levy_component';
|
|
1152
|
-
} & io.flow.v0.models.AllocationLevyComponent)[];
|
|
1153
|
-
readonly not_included: ({
|
|
1154
|
-
discriminator: 'allocation_detail_component';
|
|
1155
|
-
} & io.flow.v0.models.AllocationDetailComponent | {
|
|
1156
|
-
discriminator: 'allocation_levy_component';
|
|
1157
|
-
} & io.flow.v0.models.AllocationLevyComponent)[];
|
|
1091
|
+
readonly included: io.flow.v0.unions.AllocationComponent[];
|
|
1092
|
+
readonly not_included: io.flow.v0.unions.AllocationComponent[];
|
|
1158
1093
|
}
|
|
1159
1094
|
interface AllocationOrderSummary {
|
|
1160
1095
|
readonly id: string;
|
|
@@ -1170,11 +1105,7 @@ declare namespace io.flow.v0.models {
|
|
|
1170
1105
|
interface AllocationV2 {
|
|
1171
1106
|
readonly id: string;
|
|
1172
1107
|
readonly order: io.flow.v0.models.AllocationOrderSummary;
|
|
1173
|
-
readonly details:
|
|
1174
|
-
discriminator: 'allocation_line_detail';
|
|
1175
|
-
} & io.flow.v0.models.AllocationLineDetail | {
|
|
1176
|
-
discriminator: 'allocation_order_detail';
|
|
1177
|
-
} & io.flow.v0.models.AllocationOrderDetail)[];
|
|
1108
|
+
readonly details: io.flow.v0.unions.AllocationDetail[];
|
|
1178
1109
|
readonly total: io.flow.v0.models.LocalizedTotal;
|
|
1179
1110
|
}
|
|
1180
1111
|
interface AmountMargin {
|
|
@@ -1274,11 +1205,7 @@ declare namespace io.flow.v0.models {
|
|
|
1274
1205
|
readonly number: string;
|
|
1275
1206
|
}
|
|
1276
1207
|
interface AuthorizationPayload {
|
|
1277
|
-
readonly parameters:
|
|
1278
|
-
discriminator: 'google_pay_authorization_payload';
|
|
1279
|
-
} & io.flow.v0.models.GooglePayAuthorizationPayload | {
|
|
1280
|
-
discriminator: 'apple_pay_merchant_validation_payload';
|
|
1281
|
-
} & io.flow.v0.models.ApplePayMerchantValidationPayload;
|
|
1208
|
+
readonly parameters: io.flow.v0.unions.AuthorizationPayloadParameters;
|
|
1282
1209
|
}
|
|
1283
1210
|
interface AuthorizationReference {
|
|
1284
1211
|
readonly id: string;
|
|
@@ -1287,13 +1214,7 @@ declare namespace io.flow.v0.models {
|
|
|
1287
1214
|
}
|
|
1288
1215
|
interface AuthorizationResult {
|
|
1289
1216
|
readonly status: io.flow.v0.enums.AuthorizationStatus;
|
|
1290
|
-
readonly action?:
|
|
1291
|
-
discriminator: 'authorization_result_action_get';
|
|
1292
|
-
} & io.flow.v0.models.AuthorizationResultActionGet | {
|
|
1293
|
-
discriminator: 'authorization_result_action_post';
|
|
1294
|
-
} & io.flow.v0.models.AuthorizationResultActionPost | {
|
|
1295
|
-
discriminator: 'authorization_result_action_wait';
|
|
1296
|
-
} & io.flow.v0.models.AuthorizationResultActionWait;
|
|
1217
|
+
readonly action?: io.flow.v0.unions.AuthorizationResultAction;
|
|
1297
1218
|
readonly decline_code?: io.flow.v0.enums.AuthorizationDeclineCode;
|
|
1298
1219
|
readonly avs?: io.flow.v0.models.Avs;
|
|
1299
1220
|
readonly cvv?: io.flow.v0.models.Cvv;
|
|
@@ -1322,21 +1243,13 @@ declare namespace io.flow.v0.models {
|
|
|
1322
1243
|
readonly timestamp: string;
|
|
1323
1244
|
readonly organization: string;
|
|
1324
1245
|
readonly id: string;
|
|
1325
|
-
readonly authorization:
|
|
1326
|
-
discriminator: 'card_authorization';
|
|
1327
|
-
} & io.flow.v0.models.CardAuthorization | {
|
|
1328
|
-
discriminator: 'online_authorization';
|
|
1329
|
-
} & io.flow.v0.models.OnlineAuthorization;
|
|
1246
|
+
readonly authorization: io.flow.v0.unions.Authorization;
|
|
1330
1247
|
}
|
|
1331
1248
|
interface AuthorizationVersion {
|
|
1332
1249
|
readonly id: string;
|
|
1333
1250
|
readonly timestamp: string;
|
|
1334
1251
|
readonly type: io.flow.v0.enums.ChangeType;
|
|
1335
|
-
readonly authorization:
|
|
1336
|
-
discriminator: 'card_authorization';
|
|
1337
|
-
} & io.flow.v0.models.CardAuthorization | {
|
|
1338
|
-
discriminator: 'online_authorization';
|
|
1339
|
-
} & io.flow.v0.models.OnlineAuthorization;
|
|
1252
|
+
readonly authorization: io.flow.v0.unions.Authorization;
|
|
1340
1253
|
}
|
|
1341
1254
|
interface AvailableFilterStructured {
|
|
1342
1255
|
readonly field: string;
|
|
@@ -1352,11 +1265,7 @@ declare namespace io.flow.v0.models {
|
|
|
1352
1265
|
readonly id: string;
|
|
1353
1266
|
readonly shipping_configuration: io.flow.v0.models.ShippingConfigurationReference;
|
|
1354
1267
|
readonly region: io.flow.v0.models.RegionReference;
|
|
1355
|
-
readonly promotions:
|
|
1356
|
-
discriminator: 'free_shipping';
|
|
1357
|
-
} & io.flow.v0.models.FreeShipping | {
|
|
1358
|
-
discriminator: 'discount';
|
|
1359
|
-
} & io.flow.v0.models.Discount)[];
|
|
1268
|
+
readonly promotions: io.flow.v0.unions.Promotion[];
|
|
1360
1269
|
}
|
|
1361
1270
|
interface AvailablePromotionsDeleted {
|
|
1362
1271
|
readonly event_id: string;
|
|
@@ -1391,13 +1300,7 @@ declare namespace io.flow.v0.models {
|
|
|
1391
1300
|
readonly lead_days?: io.flow.v0.models.NumberRange;
|
|
1392
1301
|
}
|
|
1393
1302
|
interface AvalaraTaxCsvSetting {
|
|
1394
|
-
readonly schedule:
|
|
1395
|
-
discriminator: 'repeat_daily';
|
|
1396
|
-
} & io.flow.v0.models.RepeatDaily | {
|
|
1397
|
-
discriminator: 'repeat_weekly';
|
|
1398
|
-
} & io.flow.v0.models.RepeatWeekly | {
|
|
1399
|
-
discriminator: 'repeat_monthly';
|
|
1400
|
-
} & io.flow.v0.models.RepeatMonthly;
|
|
1303
|
+
readonly schedule: io.flow.v0.unions.RepeatSchedule;
|
|
1401
1304
|
readonly timezone: string;
|
|
1402
1305
|
readonly email_recipients?: string[];
|
|
1403
1306
|
}
|
|
@@ -1426,13 +1329,7 @@ declare namespace io.flow.v0.models {
|
|
|
1426
1329
|
readonly center?: io.flow.v0.models.ConsumerInvoiceCenterReference;
|
|
1427
1330
|
readonly destination?: io.flow.v0.models.OrderAddress;
|
|
1428
1331
|
readonly tax: io.flow.v0.models.Money;
|
|
1429
|
-
readonly lines:
|
|
1430
|
-
discriminator: 'item';
|
|
1431
|
-
} & io.flow.v0.models.ConsumerInvoiceLineItem | {
|
|
1432
|
-
discriminator: 'discount';
|
|
1433
|
-
} & io.flow.v0.models.ConsumerInvoiceLineDiscount | {
|
|
1434
|
-
discriminator: 'shipping';
|
|
1435
|
-
} & io.flow.v0.models.ConsumerInvoiceLineShipping)[];
|
|
1332
|
+
readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[];
|
|
1436
1333
|
readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[];
|
|
1437
1334
|
readonly attributes: {
|
|
1438
1335
|
[key: string]: string;
|
|
@@ -1453,13 +1350,7 @@ declare namespace io.flow.v0.models {
|
|
|
1453
1350
|
interface BehaviorAudit {
|
|
1454
1351
|
readonly behavior: io.flow.v0.enums.FlowBehavior;
|
|
1455
1352
|
readonly authentication_techniques: io.flow.v0.enums.AuthenticationTechnique[];
|
|
1456
|
-
readonly roles:
|
|
1457
|
-
discriminator: 'flow_user_role';
|
|
1458
|
-
value: io.flow.v0.enums.FlowUserRole;
|
|
1459
|
-
} | {
|
|
1460
|
-
discriminator: 'flow_addon_role';
|
|
1461
|
-
value: io.flow.v0.enums.FlowAddonRole;
|
|
1462
|
-
})[];
|
|
1353
|
+
readonly roles: io.flow.v0.unions.FlowRole[];
|
|
1463
1354
|
}
|
|
1464
1355
|
interface BillingAddress {
|
|
1465
1356
|
readonly name?: io.flow.v0.models.Name;
|
|
@@ -1572,13 +1463,7 @@ declare namespace io.flow.v0.models {
|
|
|
1572
1463
|
readonly key: string;
|
|
1573
1464
|
readonly merchant_of_record?: io.flow.v0.enums.MerchantOfRecord;
|
|
1574
1465
|
readonly method?: io.flow.v0.models.PaymentMethod;
|
|
1575
|
-
readonly card:
|
|
1576
|
-
discriminator: 'card';
|
|
1577
|
-
} & io.flow.v0.models.Card | {
|
|
1578
|
-
discriminator: 'card_reference';
|
|
1579
|
-
} & io.flow.v0.models.CardReference | {
|
|
1580
|
-
discriminator: 'card_summary';
|
|
1581
|
-
} & io.flow.v0.models.CardSummary;
|
|
1466
|
+
readonly card: io.flow.v0.unions.ExpandableCard;
|
|
1582
1467
|
readonly amount: number;
|
|
1583
1468
|
readonly currency: string;
|
|
1584
1469
|
readonly requested?: io.flow.v0.models.Money;
|
|
@@ -1869,11 +1754,13 @@ declare namespace io.flow.v0.models {
|
|
|
1869
1754
|
readonly id: string;
|
|
1870
1755
|
readonly experience: io.flow.v0.models.ExperienceReference;
|
|
1871
1756
|
readonly key: string;
|
|
1757
|
+
readonly name: string;
|
|
1872
1758
|
readonly attribute_keys: string[];
|
|
1873
1759
|
readonly position: number;
|
|
1874
1760
|
}
|
|
1875
1761
|
interface CheckoutAttributeForm {
|
|
1876
1762
|
readonly key: string;
|
|
1763
|
+
readonly name?: string;
|
|
1877
1764
|
readonly experience_key: string;
|
|
1878
1765
|
readonly attribute_keys: string[];
|
|
1879
1766
|
readonly position?: number;
|
|
@@ -1887,6 +1774,7 @@ declare namespace io.flow.v0.models {
|
|
|
1887
1774
|
}
|
|
1888
1775
|
interface CheckoutItemContentAttribute {
|
|
1889
1776
|
readonly key: string;
|
|
1777
|
+
readonly name: string;
|
|
1890
1778
|
readonly value: string;
|
|
1891
1779
|
}
|
|
1892
1780
|
interface CheckoutOptinResponses {
|
|
@@ -1916,20 +1804,18 @@ declare namespace io.flow.v0.models {
|
|
|
1916
1804
|
interface CheckoutToken {
|
|
1917
1805
|
readonly id: string;
|
|
1918
1806
|
readonly organization: io.flow.v0.models.OrganizationReference;
|
|
1807
|
+
readonly checkout: io.flow.v0.models.CheckoutReference;
|
|
1919
1808
|
readonly order: io.flow.v0.models.OrderNumberReference;
|
|
1920
1809
|
readonly urls: io.flow.v0.models.CheckoutUrls;
|
|
1921
1810
|
readonly expires_at: string;
|
|
1922
|
-
readonly session
|
|
1811
|
+
readonly session: io.flow.v0.models.SessionReference;
|
|
1923
1812
|
readonly customer?: io.flow.v0.models.CustomerReference;
|
|
1924
|
-
readonly checkout?: io.flow.v0.models.CheckoutReference;
|
|
1925
1813
|
}
|
|
1926
1814
|
interface CheckoutTokenOrderForm {
|
|
1927
1815
|
readonly order_form: io.flow.v0.models.OrderForm;
|
|
1928
1816
|
readonly customer?: io.flow.v0.models.CustomerForm;
|
|
1929
1817
|
readonly address_book?: io.flow.v0.models.CustomerAddressBookForm;
|
|
1930
|
-
readonly payment_sources?:
|
|
1931
|
-
discriminator: 'card_payment_source_form';
|
|
1932
|
-
} & io.flow.v0.models.CardPaymentSourceForm)[];
|
|
1818
|
+
readonly payment_sources?: io.flow.v0.unions.PaymentSourceForm[];
|
|
1933
1819
|
readonly session_id: string;
|
|
1934
1820
|
readonly urls?: io.flow.v0.models.CheckoutUrlsForm;
|
|
1935
1821
|
}
|
|
@@ -1962,13 +1848,7 @@ declare namespace io.flow.v0.models {
|
|
|
1962
1848
|
readonly center?: io.flow.v0.models.ConsumerInvoiceCenterReference;
|
|
1963
1849
|
readonly destination: io.flow.v0.models.OrderAddress;
|
|
1964
1850
|
readonly billing_address?: io.flow.v0.models.BillingAddress;
|
|
1965
|
-
readonly lines:
|
|
1966
|
-
discriminator: 'item';
|
|
1967
|
-
} & io.flow.v0.models.ConsumerInvoiceLineItem | {
|
|
1968
|
-
discriminator: 'discount';
|
|
1969
|
-
} & io.flow.v0.models.ConsumerInvoiceLineDiscount | {
|
|
1970
|
-
discriminator: 'shipping';
|
|
1971
|
-
} & io.flow.v0.models.ConsumerInvoiceLineShipping)[];
|
|
1851
|
+
readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[];
|
|
1972
1852
|
readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[];
|
|
1973
1853
|
readonly attributes: {
|
|
1974
1854
|
[key: string]: string;
|
|
@@ -2106,13 +1986,7 @@ declare namespace io.flow.v0.models {
|
|
|
2106
1986
|
readonly invoice: io.flow.v0.models.ConsumerInvoiceReference;
|
|
2107
1987
|
readonly entity: io.flow.v0.models.MerchantOfRecordEntity;
|
|
2108
1988
|
readonly payments: io.flow.v0.models.ConsumerInvoicePayment[];
|
|
2109
|
-
readonly lines:
|
|
2110
|
-
discriminator: 'item';
|
|
2111
|
-
} & io.flow.v0.models.ConsumerInvoiceLineItem | {
|
|
2112
|
-
discriminator: 'discount';
|
|
2113
|
-
} & io.flow.v0.models.ConsumerInvoiceLineDiscount | {
|
|
2114
|
-
discriminator: 'shipping';
|
|
2115
|
-
} & io.flow.v0.models.ConsumerInvoiceLineShipping)[];
|
|
1989
|
+
readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[];
|
|
2116
1990
|
readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[];
|
|
2117
1991
|
readonly attributes: {
|
|
2118
1992
|
[key: string]: string;
|
|
@@ -2129,13 +2003,7 @@ declare namespace io.flow.v0.models {
|
|
|
2129
2003
|
readonly refund_id?: string;
|
|
2130
2004
|
readonly refund_key?: string;
|
|
2131
2005
|
readonly refund_identifier?: string;
|
|
2132
|
-
readonly lines:
|
|
2133
|
-
discriminator: 'item';
|
|
2134
|
-
} & io.flow.v0.models.ConsumerInvoiceLineItemForm | {
|
|
2135
|
-
discriminator: 'discount';
|
|
2136
|
-
} & io.flow.v0.models.ConsumerInvoiceLineDiscountForm | {
|
|
2137
|
-
discriminator: 'shipping';
|
|
2138
|
-
} & io.flow.v0.models.ConsumerInvoiceLineShippingForm)[];
|
|
2006
|
+
readonly lines: io.flow.v0.unions.ConsumerInvoiceLineForm[];
|
|
2139
2007
|
readonly attributes?: {
|
|
2140
2008
|
[key: string]: string;
|
|
2141
2009
|
};
|
|
@@ -2148,11 +2016,7 @@ declare namespace io.flow.v0.models {
|
|
|
2148
2016
|
}
|
|
2149
2017
|
interface CreditPayment {
|
|
2150
2018
|
readonly id: string;
|
|
2151
|
-
readonly order:
|
|
2152
|
-
discriminator: 'order';
|
|
2153
|
-
} & io.flow.v0.models.Order | {
|
|
2154
|
-
discriminator: 'order_reference';
|
|
2155
|
-
} & io.flow.v0.models.OrderReference;
|
|
2019
|
+
readonly order: io.flow.v0.unions.ExpandableOrder;
|
|
2156
2020
|
readonly key: string;
|
|
2157
2021
|
readonly description: string;
|
|
2158
2022
|
readonly value: io.flow.v0.models.PriceWithBase;
|
|
@@ -2290,6 +2154,11 @@ declare namespace io.flow.v0.models {
|
|
|
2290
2154
|
interface CustomerReference {
|
|
2291
2155
|
readonly number: string;
|
|
2292
2156
|
}
|
|
2157
|
+
interface CustomerToken {
|
|
2158
|
+
readonly id: string;
|
|
2159
|
+
readonly customer: io.flow.v0.models.CustomerReference;
|
|
2160
|
+
readonly token: string;
|
|
2161
|
+
}
|
|
2293
2162
|
interface CustomerUpserted {
|
|
2294
2163
|
readonly event_id: string;
|
|
2295
2164
|
readonly timestamp: string;
|
|
@@ -2322,6 +2191,7 @@ declare namespace io.flow.v0.models {
|
|
|
2322
2191
|
};
|
|
2323
2192
|
readonly center?: string;
|
|
2324
2193
|
readonly discount?: io.flow.v0.models.MoneyWithOptionalBase;
|
|
2194
|
+
readonly line_number?: number;
|
|
2325
2195
|
}
|
|
2326
2196
|
interface DeliveryOption {
|
|
2327
2197
|
readonly id: string;
|
|
@@ -2331,18 +2201,13 @@ declare namespace io.flow.v0.models {
|
|
|
2331
2201
|
readonly service: io.flow.v0.models.ServiceSummary;
|
|
2332
2202
|
readonly tier: io.flow.v0.models.TierSummary;
|
|
2333
2203
|
readonly window: io.flow.v0.models.DeliveryWindow;
|
|
2334
|
-
readonly rule_outcome?:
|
|
2335
|
-
discriminator: 'amount_margin';
|
|
2336
|
-
} & io.flow.v0.models.AmountMargin | {
|
|
2337
|
-
discriminator: 'at_cost';
|
|
2338
|
-
} & io.flow.v0.models.AtCost | {
|
|
2339
|
-
discriminator: 'flat_rate';
|
|
2340
|
-
} & io.flow.v0.models.FlatRate | {
|
|
2341
|
-
discriminator: 'percent_margin';
|
|
2342
|
-
} & io.flow.v0.models.PercentMargin;
|
|
2204
|
+
readonly rule_outcome?: io.flow.v0.unions.TierRuleOutcome;
|
|
2343
2205
|
readonly weight?: io.flow.v0.models.OptionWeightEstimates;
|
|
2344
2206
|
readonly send_to?: io.flow.v0.models.ShippingAddress;
|
|
2345
2207
|
readonly surcharge?: io.flow.v0.models.PriceWithBaseAndDetails;
|
|
2208
|
+
readonly merchant_of_record_override?: io.flow.v0.enums.OrderMerchantOfRecord;
|
|
2209
|
+
readonly prices?: io.flow.v0.models.OrderPriceDetail[];
|
|
2210
|
+
readonly total?: io.flow.v0.models.LocalizedTotal;
|
|
2346
2211
|
}
|
|
2347
2212
|
interface DeliveryOptionCostComponent {
|
|
2348
2213
|
readonly key: io.flow.v0.enums.DeliveryOptionCostDetailComponentKey;
|
|
@@ -2546,11 +2411,7 @@ declare namespace io.flow.v0.models {
|
|
|
2546
2411
|
};
|
|
2547
2412
|
}
|
|
2548
2413
|
interface DiscountForm {
|
|
2549
|
-
readonly offer:
|
|
2550
|
-
discriminator: 'discount_offer_fixed';
|
|
2551
|
-
} & io.flow.v0.models.DiscountOfferFixed | {
|
|
2552
|
-
discriminator: 'discount_offer_percent';
|
|
2553
|
-
} & io.flow.v0.models.DiscountOfferPercent;
|
|
2414
|
+
readonly offer: io.flow.v0.unions.DiscountOffer;
|
|
2554
2415
|
readonly target?: io.flow.v0.enums.DiscountTarget;
|
|
2555
2416
|
readonly label?: string;
|
|
2556
2417
|
}
|
|
@@ -2570,13 +2431,26 @@ declare namespace io.flow.v0.models {
|
|
|
2570
2431
|
interface Duty {
|
|
2571
2432
|
readonly rate: number;
|
|
2572
2433
|
readonly components: io.flow.v0.enums.LevyComponent[];
|
|
2573
|
-
readonly deminimis?:
|
|
2574
|
-
discriminator: 'deminimis_simple';
|
|
2575
|
-
} & io.flow.v0.models.DeminimisSimple | {
|
|
2576
|
-
discriminator: 'deminimis_per_item';
|
|
2577
|
-
} & io.flow.v0.models.DeminimisPerItem;
|
|
2434
|
+
readonly deminimis?: io.flow.v0.unions.Deminimis;
|
|
2578
2435
|
readonly name?: string;
|
|
2579
2436
|
}
|
|
2437
|
+
interface EcommercePlatform {
|
|
2438
|
+
readonly id: string;
|
|
2439
|
+
readonly type: io.flow.v0.enums.EcommercePlatformType;
|
|
2440
|
+
readonly version?: string;
|
|
2441
|
+
}
|
|
2442
|
+
interface EcommercePlatformDeleted {
|
|
2443
|
+
readonly event_id: string;
|
|
2444
|
+
readonly timestamp: string;
|
|
2445
|
+
readonly organization: string;
|
|
2446
|
+
readonly ecommerce_platform: io.flow.v0.models.EcommercePlatform;
|
|
2447
|
+
}
|
|
2448
|
+
interface EcommercePlatformUpserted {
|
|
2449
|
+
readonly event_id: string;
|
|
2450
|
+
readonly timestamp: string;
|
|
2451
|
+
readonly organization: string;
|
|
2452
|
+
readonly ecommerce_platform: io.flow.v0.models.EcommercePlatform;
|
|
2453
|
+
}
|
|
2580
2454
|
interface EmailVerification {
|
|
2581
2455
|
readonly email: string;
|
|
2582
2456
|
}
|
|
@@ -2802,78 +2676,20 @@ declare namespace io.flow.v0.models {
|
|
|
2802
2676
|
}
|
|
2803
2677
|
interface Export {
|
|
2804
2678
|
readonly id: string;
|
|
2805
|
-
readonly type:
|
|
2806
|
-
discriminator: 'account_transactions_export_type';
|
|
2807
|
-
} & io.flow.v0.models.AccountTransactionsExportType | {
|
|
2808
|
-
discriminator: 'account_orders_export_type';
|
|
2809
|
-
} & io.flow.v0.models.AccountOrdersExportType | {
|
|
2810
|
-
discriminator: 'analytics_export_type';
|
|
2811
|
-
} & io.flow.v0.models.AnalyticsExportType | {
|
|
2812
|
-
discriminator: 'catalog_item_export_type';
|
|
2813
|
-
} & io.flow.v0.models.CatalogItemExportType | {
|
|
2814
|
-
discriminator: 'experience_export_type';
|
|
2815
|
-
} & io.flow.v0.models.ExperienceExportType | {
|
|
2816
|
-
discriminator: 'harmonization_overview_export_type';
|
|
2817
|
-
} & io.flow.v0.models.HarmonizationOverviewExportType | {
|
|
2818
|
-
discriminator: 'harmonization_hs6_export_type';
|
|
2819
|
-
} & io.flow.v0.models.HarmonizationHs6ExportType | {
|
|
2820
|
-
discriminator: 'harmonization_hs10_export_type';
|
|
2821
|
-
} & io.flow.v0.models.HarmonizationHs10ExportType | {
|
|
2822
|
-
discriminator: 'unharmonized_item_export_type';
|
|
2823
|
-
} & io.flow.v0.models.UnharmonizedItemExportType | {
|
|
2824
|
-
discriminator: 'harmonization_landed_cost_export_type';
|
|
2825
|
-
} & io.flow.v0.models.HarmonizationLandedCostExportType | {
|
|
2826
|
-
discriminator: 'order_export_type';
|
|
2827
|
-
} & io.flow.v0.models.OrderExportType | {
|
|
2828
|
-
discriminator: 'solidus_product_export_type';
|
|
2829
|
-
} & io.flow.v0.models.SolidusProductExportType | {
|
|
2830
|
-
discriminator: 'solidus_variant_export_type';
|
|
2831
|
-
} & io.flow.v0.models.SolidusVariantExportType | {
|
|
2832
|
-
discriminator: 'localized_item_prices_export_type';
|
|
2833
|
-
} & io.flow.v0.models.LocalizedItemPricesExportType;
|
|
2679
|
+
readonly type: io.flow.v0.unions.ExportType;
|
|
2834
2680
|
readonly status: io.flow.v0.enums.ExportStatus;
|
|
2835
2681
|
readonly organization_q: string;
|
|
2836
2682
|
readonly created_at: string;
|
|
2837
2683
|
readonly started_at?: string;
|
|
2838
2684
|
readonly completed_at?: string;
|
|
2839
2685
|
readonly url?: string;
|
|
2840
|
-
readonly deliveries:
|
|
2841
|
-
discriminator: 'export_delivery_email';
|
|
2842
|
-
} & io.flow.v0.models.ExportDeliveryEmail)[];
|
|
2686
|
+
readonly deliveries: io.flow.v0.unions.ExportDelivery[];
|
|
2843
2687
|
}
|
|
2844
2688
|
interface ExportDeliveryEmail {
|
|
2845
2689
|
readonly email: string;
|
|
2846
2690
|
}
|
|
2847
2691
|
interface ExportForm {
|
|
2848
|
-
readonly type:
|
|
2849
|
-
discriminator: 'account_transactions_export_type';
|
|
2850
|
-
} & io.flow.v0.models.AccountTransactionsExportType | {
|
|
2851
|
-
discriminator: 'account_orders_export_type';
|
|
2852
|
-
} & io.flow.v0.models.AccountOrdersExportType | {
|
|
2853
|
-
discriminator: 'analytics_export_type';
|
|
2854
|
-
} & io.flow.v0.models.AnalyticsExportType | {
|
|
2855
|
-
discriminator: 'catalog_item_export_type';
|
|
2856
|
-
} & io.flow.v0.models.CatalogItemExportType | {
|
|
2857
|
-
discriminator: 'experience_export_type';
|
|
2858
|
-
} & io.flow.v0.models.ExperienceExportType | {
|
|
2859
|
-
discriminator: 'harmonization_overview_export_type';
|
|
2860
|
-
} & io.flow.v0.models.HarmonizationOverviewExportType | {
|
|
2861
|
-
discriminator: 'harmonization_hs6_export_type';
|
|
2862
|
-
} & io.flow.v0.models.HarmonizationHs6ExportType | {
|
|
2863
|
-
discriminator: 'harmonization_hs10_export_type';
|
|
2864
|
-
} & io.flow.v0.models.HarmonizationHs10ExportType | {
|
|
2865
|
-
discriminator: 'unharmonized_item_export_type';
|
|
2866
|
-
} & io.flow.v0.models.UnharmonizedItemExportType | {
|
|
2867
|
-
discriminator: 'harmonization_landed_cost_export_type';
|
|
2868
|
-
} & io.flow.v0.models.HarmonizationLandedCostExportType | {
|
|
2869
|
-
discriminator: 'order_export_type';
|
|
2870
|
-
} & io.flow.v0.models.OrderExportType | {
|
|
2871
|
-
discriminator: 'solidus_product_export_type';
|
|
2872
|
-
} & io.flow.v0.models.SolidusProductExportType | {
|
|
2873
|
-
discriminator: 'solidus_variant_export_type';
|
|
2874
|
-
} & io.flow.v0.models.SolidusVariantExportType | {
|
|
2875
|
-
discriminator: 'localized_item_prices_export_type';
|
|
2876
|
-
} & io.flow.v0.models.LocalizedItemPricesExportType;
|
|
2692
|
+
readonly type: io.flow.v0.unions.ExportType;
|
|
2877
2693
|
readonly emails?: string[];
|
|
2878
2694
|
readonly organization_q?: string;
|
|
2879
2695
|
}
|
|
@@ -2948,11 +2764,7 @@ declare namespace io.flow.v0.models {
|
|
|
2948
2764
|
}
|
|
2949
2765
|
interface FreeShippingOrderPromotion {
|
|
2950
2766
|
readonly id: string;
|
|
2951
|
-
readonly order:
|
|
2952
|
-
discriminator: 'order';
|
|
2953
|
-
} & io.flow.v0.models.Order | {
|
|
2954
|
-
discriminator: 'order_reference';
|
|
2955
|
-
} & io.flow.v0.models.OrderReference;
|
|
2767
|
+
readonly order: io.flow.v0.unions.ExpandableOrder;
|
|
2956
2768
|
readonly key: string;
|
|
2957
2769
|
readonly trigger: io.flow.v0.models.OrderPromotionTrigger;
|
|
2958
2770
|
readonly max?: io.flow.v0.models.Price;
|
|
@@ -3214,19 +3026,7 @@ declare namespace io.flow.v0.models {
|
|
|
3214
3026
|
readonly shipment_window: io.flow.v0.models.ShipmentWindow;
|
|
3215
3027
|
readonly currency: string;
|
|
3216
3028
|
readonly amount: number;
|
|
3217
|
-
readonly fees:
|
|
3218
|
-
discriminator: 'ddp_ratecard_fee';
|
|
3219
|
-
} & io.flow.v0.models.DdpRatecardFee | {
|
|
3220
|
-
discriminator: 'fuel_surcharge_ratecard_fee';
|
|
3221
|
-
} & io.flow.v0.models.FuelSurchargeRatecardFee | {
|
|
3222
|
-
discriminator: 'oversized_shipment_ratecard_fee';
|
|
3223
|
-
} & io.flow.v0.models.OversizedShipmentRatecardFee | {
|
|
3224
|
-
discriminator: 'return_package_ratecard_fee';
|
|
3225
|
-
} & io.flow.v0.models.ReturnPackageRatecardFee | {
|
|
3226
|
-
discriminator: 'crossdock_ratecard_fee';
|
|
3227
|
-
} & io.flow.v0.models.CrossdockRatecardFee | {
|
|
3228
|
-
discriminator: 'remote_area_ratecard_fee';
|
|
3229
|
-
} & io.flow.v0.models.RemoteAreaRatecardFee)[];
|
|
3029
|
+
readonly fees: io.flow.v0.unions.RatecardFee[];
|
|
3230
3030
|
readonly total: number;
|
|
3231
3031
|
}
|
|
3232
3032
|
interface Hs10 {
|
|
@@ -3298,9 +3098,7 @@ declare namespace io.flow.v0.models {
|
|
|
3298
3098
|
readonly started_at?: string;
|
|
3299
3099
|
readonly completed_at?: string;
|
|
3300
3100
|
readonly results?: io.flow.v0.models.ImportResults;
|
|
3301
|
-
readonly deliveries:
|
|
3302
|
-
discriminator: 'export_delivery_email';
|
|
3303
|
-
} & io.flow.v0.models.ExportDeliveryEmail)[];
|
|
3101
|
+
readonly deliveries: io.flow.v0.unions.ExportDelivery[];
|
|
3304
3102
|
}
|
|
3305
3103
|
interface ImportForm {
|
|
3306
3104
|
readonly type: io.flow.v0.enums.ImportType;
|
|
@@ -3375,9 +3173,7 @@ declare namespace io.flow.v0.models {
|
|
|
3375
3173
|
readonly max: number;
|
|
3376
3174
|
}
|
|
3377
3175
|
interface InputSpecificationLimitations {
|
|
3378
|
-
readonly limitations?:
|
|
3379
|
-
discriminator: 'input_specification_limitation_max';
|
|
3380
|
-
} & io.flow.v0.models.InputSpecificationLimitationMax)[];
|
|
3176
|
+
readonly limitations?: io.flow.v0.unions.InputSpecificationLimitation[];
|
|
3381
3177
|
}
|
|
3382
3178
|
interface InstallmentPlanPaymentError {
|
|
3383
3179
|
readonly code: io.flow.v0.enums.InstallmentPlanPaymentErrorCode;
|
|
@@ -3424,24 +3220,12 @@ declare namespace io.flow.v0.models {
|
|
|
3424
3220
|
readonly id: string;
|
|
3425
3221
|
readonly position: number;
|
|
3426
3222
|
readonly query: string;
|
|
3427
|
-
readonly strategy:
|
|
3428
|
-
discriminator: 'inventory_backorder';
|
|
3429
|
-
} & io.flow.v0.models.InventoryBackorder | {
|
|
3430
|
-
discriminator: 'inventory_stock';
|
|
3431
|
-
} & io.flow.v0.models.InventoryStock | {
|
|
3432
|
-
discriminator: 'inventory_unlimited';
|
|
3433
|
-
} & io.flow.v0.models.InventoryUnlimited;
|
|
3223
|
+
readonly strategy: io.flow.v0.unions.InventoryStrategy;
|
|
3434
3224
|
}
|
|
3435
3225
|
interface InventoryRuleForm {
|
|
3436
3226
|
readonly position: number;
|
|
3437
3227
|
readonly query: string;
|
|
3438
|
-
readonly strategy:
|
|
3439
|
-
discriminator: 'inventory_backorder';
|
|
3440
|
-
} & io.flow.v0.models.InventoryBackorder | {
|
|
3441
|
-
discriminator: 'inventory_stock';
|
|
3442
|
-
} & io.flow.v0.models.InventoryStock | {
|
|
3443
|
-
discriminator: 'inventory_unlimited';
|
|
3444
|
-
} & io.flow.v0.models.InventoryUnlimited;
|
|
3228
|
+
readonly strategy: io.flow.v0.unions.InventoryStrategy;
|
|
3445
3229
|
}
|
|
3446
3230
|
interface InventoryRuleVersion {
|
|
3447
3231
|
readonly id: string;
|
|
@@ -3497,21 +3281,11 @@ declare namespace io.flow.v0.models {
|
|
|
3497
3281
|
}
|
|
3498
3282
|
interface Invitation {
|
|
3499
3283
|
readonly id: string;
|
|
3500
|
-
readonly organization:
|
|
3501
|
-
discriminator: 'organization';
|
|
3502
|
-
} & io.flow.v0.models.Organization | {
|
|
3503
|
-
discriminator: 'organization_reference';
|
|
3504
|
-
} & io.flow.v0.models.OrganizationReference;
|
|
3284
|
+
readonly organization: io.flow.v0.unions.ExpandableOrganization;
|
|
3505
3285
|
readonly email: string;
|
|
3506
3286
|
readonly name: io.flow.v0.models.Name;
|
|
3507
3287
|
readonly role?: io.flow.v0.enums.Role;
|
|
3508
|
-
readonly roles?:
|
|
3509
|
-
discriminator: 'flow_user_role';
|
|
3510
|
-
value: io.flow.v0.enums.FlowUserRole;
|
|
3511
|
-
} | {
|
|
3512
|
-
discriminator: 'flow_addon_role';
|
|
3513
|
-
value: io.flow.v0.enums.FlowAddonRole;
|
|
3514
|
-
})[];
|
|
3288
|
+
readonly roles?: io.flow.v0.unions.FlowRole[];
|
|
3515
3289
|
readonly expiration: string;
|
|
3516
3290
|
}
|
|
3517
3291
|
interface InvitationError {
|
|
@@ -3523,13 +3297,7 @@ declare namespace io.flow.v0.models {
|
|
|
3523
3297
|
readonly email: string;
|
|
3524
3298
|
readonly name?: io.flow.v0.models.Name;
|
|
3525
3299
|
readonly role?: io.flow.v0.enums.Role;
|
|
3526
|
-
readonly roles?:
|
|
3527
|
-
discriminator: 'flow_user_role';
|
|
3528
|
-
value: io.flow.v0.enums.FlowUserRole;
|
|
3529
|
-
} | {
|
|
3530
|
-
discriminator: 'flow_addon_role';
|
|
3531
|
-
value: io.flow.v0.enums.FlowAddonRole;
|
|
3532
|
-
})[];
|
|
3300
|
+
readonly roles?: io.flow.v0.unions.FlowRole[];
|
|
3533
3301
|
}
|
|
3534
3302
|
interface InvitationVersion {
|
|
3535
3303
|
readonly id: string;
|
|
@@ -3596,6 +3364,7 @@ declare namespace io.flow.v0.models {
|
|
|
3596
3364
|
interface ItemFormOverlay {
|
|
3597
3365
|
readonly id: string;
|
|
3598
3366
|
readonly number: string;
|
|
3367
|
+
readonly key: string;
|
|
3599
3368
|
readonly position: number;
|
|
3600
3369
|
readonly price?: io.flow.v0.models.Price;
|
|
3601
3370
|
readonly categories?: string[];
|
|
@@ -3852,15 +3621,7 @@ declare namespace io.flow.v0.models {
|
|
|
3852
3621
|
}
|
|
3853
3622
|
interface Local {
|
|
3854
3623
|
readonly experience: io.flow.v0.models.ExperienceSummary;
|
|
3855
|
-
readonly prices:
|
|
3856
|
-
key: 'localized_item_price';
|
|
3857
|
-
} & io.flow.v0.models.LocalizedItemPrice | {
|
|
3858
|
-
key: 'localized_item_vat';
|
|
3859
|
-
} & io.flow.v0.models.LocalizedItemVat | {
|
|
3860
|
-
key: 'localized_item_duty';
|
|
3861
|
-
} & io.flow.v0.models.LocalizedItemDuty | {
|
|
3862
|
-
key: 'localized_total';
|
|
3863
|
-
} & io.flow.v0.models.LocalizedTotal)[];
|
|
3624
|
+
readonly prices: io.flow.v0.unions.LocalizedPrice[];
|
|
3864
3625
|
readonly rates: io.flow.v0.models.Rate[];
|
|
3865
3626
|
readonly spot_rates: {
|
|
3866
3627
|
[key: string]: string;
|
|
@@ -3971,13 +3732,7 @@ declare namespace io.flow.v0.models {
|
|
|
3971
3732
|
};
|
|
3972
3733
|
readonly local: io.flow.v0.models.Local;
|
|
3973
3734
|
readonly shipment_estimate?: io.flow.v0.models.DatetimeRange;
|
|
3974
|
-
readonly price_source?:
|
|
3975
|
-
discriminator: 'price_book';
|
|
3976
|
-
} & io.flow.v0.models.PriceSourcePriceBook | {
|
|
3977
|
-
discriminator: 'catalog';
|
|
3978
|
-
} & io.flow.v0.models.PriceSourceCatalog | {
|
|
3979
|
-
discriminator: 'provided';
|
|
3980
|
-
} & io.flow.v0.models.PriceSourceProvided;
|
|
3735
|
+
readonly price_source?: io.flow.v0.unions.PriceSource;
|
|
3981
3736
|
}
|
|
3982
3737
|
interface LocalizedLineItemDiscount {
|
|
3983
3738
|
readonly amount: number;
|
|
@@ -4038,24 +3793,10 @@ declare namespace io.flow.v0.models {
|
|
|
4038
3793
|
}
|
|
4039
3794
|
interface Membership {
|
|
4040
3795
|
readonly id: string;
|
|
4041
|
-
readonly organization:
|
|
4042
|
-
|
|
4043
|
-
} & io.flow.v0.models.Organization | {
|
|
4044
|
-
discriminator: 'organization_reference';
|
|
4045
|
-
} & io.flow.v0.models.OrganizationReference;
|
|
4046
|
-
readonly user: {
|
|
4047
|
-
discriminator: 'user';
|
|
4048
|
-
} & io.flow.v0.models.User | {
|
|
4049
|
-
discriminator: 'user_reference';
|
|
4050
|
-
} & io.flow.v0.models.UserReference;
|
|
3796
|
+
readonly organization: io.flow.v0.unions.ExpandableOrganization;
|
|
3797
|
+
readonly user: io.flow.v0.unions.ExpandableUser;
|
|
4051
3798
|
readonly role?: io.flow.v0.enums.Role;
|
|
4052
|
-
readonly roles:
|
|
4053
|
-
discriminator: 'flow_user_role';
|
|
4054
|
-
value: io.flow.v0.enums.FlowUserRole;
|
|
4055
|
-
} | {
|
|
4056
|
-
discriminator: 'flow_addon_role';
|
|
4057
|
-
value: io.flow.v0.enums.FlowAddonRole;
|
|
4058
|
-
})[];
|
|
3799
|
+
readonly roles: io.flow.v0.unions.FlowRole[];
|
|
4059
3800
|
}
|
|
4060
3801
|
interface MembershipDeletedV2 {
|
|
4061
3802
|
readonly event_id: string;
|
|
@@ -4066,23 +3807,11 @@ declare namespace io.flow.v0.models {
|
|
|
4066
3807
|
readonly organization: string;
|
|
4067
3808
|
readonly user: string;
|
|
4068
3809
|
readonly role?: io.flow.v0.enums.Role;
|
|
4069
|
-
readonly roles?:
|
|
4070
|
-
discriminator: 'flow_user_role';
|
|
4071
|
-
value: io.flow.v0.enums.FlowUserRole;
|
|
4072
|
-
} | {
|
|
4073
|
-
discriminator: 'flow_addon_role';
|
|
4074
|
-
value: io.flow.v0.enums.FlowAddonRole;
|
|
4075
|
-
})[];
|
|
3810
|
+
readonly roles?: io.flow.v0.unions.FlowRole[];
|
|
4076
3811
|
}
|
|
4077
3812
|
interface MembershipPutForm {
|
|
4078
3813
|
readonly role?: io.flow.v0.enums.Role;
|
|
4079
|
-
readonly roles?:
|
|
4080
|
-
discriminator: 'flow_user_role';
|
|
4081
|
-
value: io.flow.v0.enums.FlowUserRole;
|
|
4082
|
-
} | {
|
|
4083
|
-
discriminator: 'flow_addon_role';
|
|
4084
|
-
value: io.flow.v0.enums.FlowAddonRole;
|
|
4085
|
-
})[];
|
|
3814
|
+
readonly roles?: io.flow.v0.unions.FlowRole[];
|
|
4086
3815
|
}
|
|
4087
3816
|
interface MembershipUpsertedV2 {
|
|
4088
3817
|
readonly event_id: string;
|
|
@@ -4202,13 +3931,7 @@ declare namespace io.flow.v0.models {
|
|
|
4202
3931
|
readonly key: string;
|
|
4203
3932
|
readonly method?: io.flow.v0.models.PaymentMethod;
|
|
4204
3933
|
readonly merchant_of_record?: io.flow.v0.enums.MerchantOfRecord;
|
|
4205
|
-
readonly details?:
|
|
4206
|
-
discriminator: 'paypal_authorization_details';
|
|
4207
|
-
} & io.flow.v0.models.PaypalAuthorizationDetails | {
|
|
4208
|
-
discriminator: 'redirect_authorization_details';
|
|
4209
|
-
} & io.flow.v0.models.RedirectAuthorizationDetails | {
|
|
4210
|
-
discriminator: 'inline_authorization_details';
|
|
4211
|
-
} & io.flow.v0.models.InlineAuthorizationDetails;
|
|
3934
|
+
readonly details?: io.flow.v0.unions.OnlineAuthorizationDetails;
|
|
4212
3935
|
readonly payment?: {
|
|
4213
3936
|
[key: string]: string;
|
|
4214
3937
|
};
|
|
@@ -4258,21 +3981,13 @@ declare namespace io.flow.v0.models {
|
|
|
4258
3981
|
readonly id: string;
|
|
4259
3982
|
readonly number: string;
|
|
4260
3983
|
readonly merchant_of_record?: io.flow.v0.enums.OrderMerchantOfRecord;
|
|
4261
|
-
readonly experience?:
|
|
4262
|
-
discriminator: 'experience';
|
|
4263
|
-
} & io.flow.v0.models.Experience | {
|
|
4264
|
-
discriminator: 'experience_reference';
|
|
4265
|
-
} & io.flow.v0.models.ExperienceReference;
|
|
3984
|
+
readonly experience?: io.flow.v0.unions.ExpandableExperience;
|
|
4266
3985
|
readonly customer: io.flow.v0.models.OrderCustomer;
|
|
4267
3986
|
readonly delivered_duty: io.flow.v0.enums.DeliveredDuty;
|
|
4268
3987
|
readonly destination: io.flow.v0.models.OrderAddress;
|
|
4269
3988
|
readonly expires_at: string;
|
|
4270
3989
|
readonly items: io.flow.v0.models.LocalizedLineItem[];
|
|
4271
|
-
readonly deliveries:
|
|
4272
|
-
discriminator: 'digital_delivery';
|
|
4273
|
-
} & io.flow.v0.models.DigitalDelivery | {
|
|
4274
|
-
discriminator: 'physical_delivery';
|
|
4275
|
-
} & io.flow.v0.models.PhysicalDelivery)[];
|
|
3990
|
+
readonly deliveries: io.flow.v0.unions.Delivery[];
|
|
4276
3991
|
readonly selections: string[];
|
|
4277
3992
|
readonly prices: io.flow.v0.models.OrderPriceDetail[];
|
|
4278
3993
|
readonly total: io.flow.v0.models.LocalizedTotal;
|
|
@@ -4363,11 +4078,7 @@ declare namespace io.flow.v0.models {
|
|
|
4363
4078
|
readonly id: string;
|
|
4364
4079
|
readonly items: io.flow.v0.models.LocalizedLineItem[];
|
|
4365
4080
|
readonly destination: io.flow.v0.models.OrderAddress;
|
|
4366
|
-
readonly deliveries:
|
|
4367
|
-
discriminator: 'digital_delivery';
|
|
4368
|
-
} & io.flow.v0.models.DigitalDelivery | {
|
|
4369
|
-
discriminator: 'physical_delivery';
|
|
4370
|
-
} & io.flow.v0.models.PhysicalDelivery)[];
|
|
4081
|
+
readonly deliveries: io.flow.v0.unions.Delivery[];
|
|
4371
4082
|
readonly prices: io.flow.v0.models.OrderPriceDetail[];
|
|
4372
4083
|
readonly selections: string[];
|
|
4373
4084
|
readonly total: io.flow.v0.models.LocalizedTotal;
|
|
@@ -4583,11 +4294,7 @@ declare namespace io.flow.v0.models {
|
|
|
4583
4294
|
readonly selections: string[];
|
|
4584
4295
|
readonly items: io.flow.v0.models.LocalizedLineItem[];
|
|
4585
4296
|
readonly destination: io.flow.v0.models.OrderAddress;
|
|
4586
|
-
readonly deliveries:
|
|
4587
|
-
discriminator: 'digital_delivery';
|
|
4588
|
-
} & io.flow.v0.models.DigitalDelivery | {
|
|
4589
|
-
discriminator: 'physical_delivery';
|
|
4590
|
-
} & io.flow.v0.models.PhysicalDelivery)[];
|
|
4297
|
+
readonly deliveries: io.flow.v0.unions.Delivery[];
|
|
4591
4298
|
readonly prices: io.flow.v0.models.OrderPriceDetail[];
|
|
4592
4299
|
readonly order_id?: string;
|
|
4593
4300
|
readonly payments?: io.flow.v0.models.OrderPayment[];
|
|
@@ -4827,24 +4534,12 @@ declare namespace io.flow.v0.models {
|
|
|
4827
4534
|
interface PartnerCenter {
|
|
4828
4535
|
readonly partner_reference: io.flow.v0.models.PartnerReference;
|
|
4829
4536
|
readonly number?: string;
|
|
4830
|
-
readonly fees?:
|
|
4831
|
-
discriminator: 'commercial_invoice_fee';
|
|
4832
|
-
} & io.flow.v0.models.CommercialInvoiceFee | {
|
|
4833
|
-
discriminator: 'inbound_carton_fee';
|
|
4834
|
-
} & io.flow.v0.models.InboundCartonFee | {
|
|
4835
|
-
discriminator: 'outbound_carton_fee';
|
|
4836
|
-
} & io.flow.v0.models.OutboundCartonFee)[];
|
|
4537
|
+
readonly fees?: io.flow.v0.unions.PartnerCenterFee[];
|
|
4837
4538
|
}
|
|
4838
4539
|
interface PartnerCenterForm {
|
|
4839
4540
|
readonly partner_id: string;
|
|
4840
4541
|
readonly number?: string;
|
|
4841
|
-
readonly fees?:
|
|
4842
|
-
discriminator: 'commercial_invoice_fee';
|
|
4843
|
-
} & io.flow.v0.models.CommercialInvoiceFee | {
|
|
4844
|
-
discriminator: 'inbound_carton_fee';
|
|
4845
|
-
} & io.flow.v0.models.InboundCartonFee | {
|
|
4846
|
-
discriminator: 'outbound_carton_fee';
|
|
4847
|
-
} & io.flow.v0.models.OutboundCartonFee)[];
|
|
4542
|
+
readonly fees?: io.flow.v0.unions.PartnerCenterFee[];
|
|
4848
4543
|
}
|
|
4849
4544
|
interface PartnerReference {
|
|
4850
4545
|
readonly id: string;
|
|
@@ -4912,13 +4607,7 @@ declare namespace io.flow.v0.models {
|
|
|
4912
4607
|
readonly name: string;
|
|
4913
4608
|
}
|
|
4914
4609
|
interface PaymentMethodRule {
|
|
4915
|
-
readonly tags:
|
|
4916
|
-
discriminator: 'organization_payment_method_tag';
|
|
4917
|
-
value: io.flow.v0.enums.OrganizationPaymentMethodTag;
|
|
4918
|
-
} | {
|
|
4919
|
-
discriminator: 'experience_payment_method_tag';
|
|
4920
|
-
value: io.flow.v0.enums.ExperiencePaymentMethodTag;
|
|
4921
|
-
})[];
|
|
4610
|
+
readonly tags: io.flow.v0.unions.PaymentMethodTag[];
|
|
4922
4611
|
readonly payment_method: io.flow.v0.models.PaymentMethod;
|
|
4923
4612
|
readonly display_position: number;
|
|
4924
4613
|
readonly content?: io.flow.v0.models.PaymentMethodRuleContent[];
|
|
@@ -4950,17 +4639,13 @@ declare namespace io.flow.v0.models {
|
|
|
4950
4639
|
readonly timestamp: string;
|
|
4951
4640
|
readonly organization: string;
|
|
4952
4641
|
readonly id: string;
|
|
4953
|
-
readonly payment:
|
|
4954
|
-
discriminator: 'payment_paypal';
|
|
4955
|
-
} & io.flow.v0.models.PaymentPaypal;
|
|
4642
|
+
readonly payment: io.flow.v0.unions.Payment;
|
|
4956
4643
|
}
|
|
4957
4644
|
interface PaymentVersion {
|
|
4958
4645
|
readonly id: string;
|
|
4959
4646
|
readonly timestamp: string;
|
|
4960
4647
|
readonly type: io.flow.v0.enums.ChangeType;
|
|
4961
|
-
readonly payment:
|
|
4962
|
-
discriminator: 'payment_paypal';
|
|
4963
|
-
} & io.flow.v0.models.PaymentPaypal;
|
|
4648
|
+
readonly payment: io.flow.v0.unions.Payment;
|
|
4964
4649
|
}
|
|
4965
4650
|
interface PaypalAuthorizationDetails {
|
|
4966
4651
|
readonly payment_id: string;
|
|
@@ -4983,31 +4668,15 @@ declare namespace io.flow.v0.models {
|
|
|
4983
4668
|
}
|
|
4984
4669
|
interface PermissionCheck {
|
|
4985
4670
|
readonly authentication_technique: io.flow.v0.enums.AuthenticationTechnique;
|
|
4986
|
-
readonly user?:
|
|
4987
|
-
|
|
4988
|
-
} & io.flow.v0.models.User | {
|
|
4989
|
-
discriminator: 'user_reference';
|
|
4990
|
-
} & io.flow.v0.models.UserReference;
|
|
4991
|
-
readonly roles: ({
|
|
4992
|
-
discriminator: 'flow_user_role';
|
|
4993
|
-
value: io.flow.v0.enums.FlowUserRole;
|
|
4994
|
-
} | {
|
|
4995
|
-
discriminator: 'flow_addon_role';
|
|
4996
|
-
value: io.flow.v0.enums.FlowAddonRole;
|
|
4997
|
-
})[];
|
|
4671
|
+
readonly user?: io.flow.v0.unions.ExpandableUser;
|
|
4672
|
+
readonly roles: io.flow.v0.unions.FlowRole[];
|
|
4998
4673
|
readonly behaviors: io.flow.v0.enums.FlowBehavior[];
|
|
4999
4674
|
readonly routes: io.flow.v0.models.PermittedRoute[];
|
|
5000
4675
|
}
|
|
5001
4676
|
interface PermissionError {
|
|
5002
4677
|
readonly code: io.flow.v0.enums.GenericErrorCode;
|
|
5003
4678
|
readonly messages: string[];
|
|
5004
|
-
readonly granting_roles?:
|
|
5005
|
-
discriminator: 'flow_user_role';
|
|
5006
|
-
value: io.flow.v0.enums.FlowUserRole;
|
|
5007
|
-
} | {
|
|
5008
|
-
discriminator: 'flow_addon_role';
|
|
5009
|
-
value: io.flow.v0.enums.FlowAddonRole;
|
|
5010
|
-
})[];
|
|
4679
|
+
readonly granting_roles?: io.flow.v0.unions.FlowRole[];
|
|
5011
4680
|
readonly admin_users?: io.flow.v0.models.User[];
|
|
5012
4681
|
}
|
|
5013
4682
|
interface PermittedRoute {
|
|
@@ -5236,16 +4905,8 @@ declare namespace io.flow.v0.models {
|
|
|
5236
4905
|
readonly min?: io.flow.v0.models.PriceForm;
|
|
5237
4906
|
}
|
|
5238
4907
|
interface Promotions {
|
|
5239
|
-
readonly applied:
|
|
5240
|
-
|
|
5241
|
-
} & io.flow.v0.models.FreeShipping | {
|
|
5242
|
-
discriminator: 'discount';
|
|
5243
|
-
} & io.flow.v0.models.Discount)[];
|
|
5244
|
-
readonly available: ({
|
|
5245
|
-
discriminator: 'free_shipping';
|
|
5246
|
-
} & io.flow.v0.models.FreeShipping | {
|
|
5247
|
-
discriminator: 'discount';
|
|
5248
|
-
} & io.flow.v0.models.Discount)[];
|
|
4908
|
+
readonly applied: io.flow.v0.unions.Promotion[];
|
|
4909
|
+
readonly available: io.flow.v0.unions.Promotion[];
|
|
5249
4910
|
}
|
|
5250
4911
|
interface Province {
|
|
5251
4912
|
readonly id: string;
|
|
@@ -5260,31 +4921,15 @@ declare namespace io.flow.v0.models {
|
|
|
5260
4921
|
}
|
|
5261
4922
|
interface Query {
|
|
5262
4923
|
readonly q: string;
|
|
5263
|
-
readonly filters:
|
|
5264
|
-
discriminator: 'structured';
|
|
5265
|
-
} & io.flow.v0.models.QueryFilterStructured | {
|
|
5266
|
-
discriminator: 'unstructured';
|
|
5267
|
-
} & io.flow.v0.models.QueryFilterUnstructured)[];
|
|
4924
|
+
readonly filters: io.flow.v0.unions.QueryFilter[];
|
|
5268
4925
|
}
|
|
5269
4926
|
interface QueryBuilder {
|
|
5270
4927
|
readonly q: string;
|
|
5271
|
-
readonly filters:
|
|
5272
|
-
|
|
5273
|
-
} & io.flow.v0.models.QueryFilterStructured | {
|
|
5274
|
-
discriminator: 'unstructured';
|
|
5275
|
-
} & io.flow.v0.models.QueryFilterUnstructured)[];
|
|
5276
|
-
readonly available: ({
|
|
5277
|
-
discriminator: 'structured';
|
|
5278
|
-
} & io.flow.v0.models.AvailableFilterStructured | {
|
|
5279
|
-
discriminator: 'unstructured';
|
|
5280
|
-
} & io.flow.v0.models.AvailableFilterUnstructured)[];
|
|
4928
|
+
readonly filters: io.flow.v0.unions.QueryFilter[];
|
|
4929
|
+
readonly available: io.flow.v0.unions.AvailableFilter[];
|
|
5281
4930
|
}
|
|
5282
4931
|
interface QueryBuilderFilterForm {
|
|
5283
|
-
readonly filters:
|
|
5284
|
-
discriminator: 'structured';
|
|
5285
|
-
} & io.flow.v0.models.QueryFilterStructuredForm | {
|
|
5286
|
-
discriminator: 'unstructured';
|
|
5287
|
-
} & io.flow.v0.models.QueryFilterUnstructuredForm)[];
|
|
4932
|
+
readonly filters: io.flow.v0.unions.QueryFilterForm[];
|
|
5288
4933
|
}
|
|
5289
4934
|
interface QueryBuilderQueryForm {
|
|
5290
4935
|
readonly q: string;
|
|
@@ -5309,11 +4954,7 @@ declare namespace io.flow.v0.models {
|
|
|
5309
4954
|
interface Quote {
|
|
5310
4955
|
readonly id: string;
|
|
5311
4956
|
readonly destination: io.flow.v0.models.ShippingAddress;
|
|
5312
|
-
readonly deliveries:
|
|
5313
|
-
discriminator: 'digital_delivery';
|
|
5314
|
-
} & io.flow.v0.models.DigitalDelivery | {
|
|
5315
|
-
discriminator: 'physical_delivery';
|
|
5316
|
-
} & io.flow.v0.models.PhysicalDelivery)[];
|
|
4957
|
+
readonly deliveries: io.flow.v0.unions.Delivery[];
|
|
5317
4958
|
readonly selections: io.flow.v0.models.DeliveryOptionReference[];
|
|
5318
4959
|
readonly delivered_duty: io.flow.v0.enums.DeliveredDuty;
|
|
5319
4960
|
readonly delivered_duties: io.flow.v0.enums.DeliveredDuty[];
|
|
@@ -5335,7 +4976,7 @@ declare namespace io.flow.v0.models {
|
|
|
5335
4976
|
readonly number: string;
|
|
5336
4977
|
readonly quantity: number;
|
|
5337
4978
|
readonly shipment_estimate?: io.flow.v0.models.DatetimeRange;
|
|
5338
|
-
readonly price
|
|
4979
|
+
readonly price: io.flow.v0.models.MoneyWithBase;
|
|
5339
4980
|
readonly attributes?: {
|
|
5340
4981
|
[key: string]: string;
|
|
5341
4982
|
};
|
|
@@ -5365,6 +5006,12 @@ declare namespace io.flow.v0.models {
|
|
|
5365
5006
|
readonly timestamp: string;
|
|
5366
5007
|
readonly rate_id: string;
|
|
5367
5008
|
}
|
|
5009
|
+
interface RateDeletedV3 {
|
|
5010
|
+
readonly event_id: string;
|
|
5011
|
+
readonly timestamp: string;
|
|
5012
|
+
readonly organization: string;
|
|
5013
|
+
readonly rate: io.flow.v0.models.Rate;
|
|
5014
|
+
}
|
|
5368
5015
|
interface RateForm {
|
|
5369
5016
|
readonly base: string;
|
|
5370
5017
|
readonly target: string;
|
|
@@ -5380,6 +5027,12 @@ declare namespace io.flow.v0.models {
|
|
|
5380
5027
|
readonly effective_at: string;
|
|
5381
5028
|
readonly value: number;
|
|
5382
5029
|
}
|
|
5030
|
+
interface RateUpsertedV3 {
|
|
5031
|
+
readonly event_id: string;
|
|
5032
|
+
readonly timestamp: string;
|
|
5033
|
+
readonly organization: string;
|
|
5034
|
+
readonly rate: io.flow.v0.models.Rate;
|
|
5035
|
+
}
|
|
5383
5036
|
interface RateVersion {
|
|
5384
5037
|
readonly id: string;
|
|
5385
5038
|
readonly timestamp: string;
|
|
@@ -5437,19 +5090,7 @@ declare namespace io.flow.v0.models {
|
|
|
5437
5090
|
readonly shipment_window: io.flow.v0.models.ShipmentWindow;
|
|
5438
5091
|
readonly currency: string;
|
|
5439
5092
|
readonly amount: number;
|
|
5440
|
-
readonly fees:
|
|
5441
|
-
discriminator: 'ddp_ratecard_fee';
|
|
5442
|
-
} & io.flow.v0.models.DdpRatecardFee | {
|
|
5443
|
-
discriminator: 'fuel_surcharge_ratecard_fee';
|
|
5444
|
-
} & io.flow.v0.models.FuelSurchargeRatecardFee | {
|
|
5445
|
-
discriminator: 'oversized_shipment_ratecard_fee';
|
|
5446
|
-
} & io.flow.v0.models.OversizedShipmentRatecardFee | {
|
|
5447
|
-
discriminator: 'return_package_ratecard_fee';
|
|
5448
|
-
} & io.flow.v0.models.ReturnPackageRatecardFee | {
|
|
5449
|
-
discriminator: 'crossdock_ratecard_fee';
|
|
5450
|
-
} & io.flow.v0.models.CrossdockRatecardFee | {
|
|
5451
|
-
discriminator: 'remote_area_ratecard_fee';
|
|
5452
|
-
} & io.flow.v0.models.RemoteAreaRatecardFee)[];
|
|
5093
|
+
readonly fees: io.flow.v0.unions.RatecardFee[];
|
|
5453
5094
|
readonly total: number;
|
|
5454
5095
|
readonly delivered_duty: io.flow.v0.enums.DeliveredDuty;
|
|
5455
5096
|
readonly dimensional_weight?: io.flow.v0.models.Measurement;
|
|
@@ -5478,19 +5119,7 @@ declare namespace io.flow.v0.models {
|
|
|
5478
5119
|
readonly shipment_window: io.flow.v0.models.ShipmentWindow;
|
|
5479
5120
|
readonly destination: io.flow.v0.models.Zone;
|
|
5480
5121
|
readonly dim_factor: number;
|
|
5481
|
-
readonly fees:
|
|
5482
|
-
discriminator: 'ddp_ratecard_fee';
|
|
5483
|
-
} & io.flow.v0.models.DdpRatecardFee | {
|
|
5484
|
-
discriminator: 'fuel_surcharge_ratecard_fee';
|
|
5485
|
-
} & io.flow.v0.models.FuelSurchargeRatecardFee | {
|
|
5486
|
-
discriminator: 'oversized_shipment_ratecard_fee';
|
|
5487
|
-
} & io.flow.v0.models.OversizedShipmentRatecardFee | {
|
|
5488
|
-
discriminator: 'return_package_ratecard_fee';
|
|
5489
|
-
} & io.flow.v0.models.ReturnPackageRatecardFee | {
|
|
5490
|
-
discriminator: 'crossdock_ratecard_fee';
|
|
5491
|
-
} & io.flow.v0.models.CrossdockRatecardFee | {
|
|
5492
|
-
discriminator: 'remote_area_ratecard_fee';
|
|
5493
|
-
} & io.flow.v0.models.RemoteAreaRatecardFee)[];
|
|
5122
|
+
readonly fees: io.flow.v0.unions.RatecardFee[];
|
|
5494
5123
|
readonly origin: io.flow.v0.models.Zone;
|
|
5495
5124
|
readonly service: io.flow.v0.models.RatecardServiceSummary;
|
|
5496
5125
|
readonly rates: io.flow.v0.models.RatecardRate[];
|
|
@@ -5511,19 +5140,7 @@ declare namespace io.flow.v0.models {
|
|
|
5511
5140
|
readonly shipment_window: io.flow.v0.models.ShipmentWindow;
|
|
5512
5141
|
readonly delivered_duty: io.flow.v0.enums.DeliveredDuty;
|
|
5513
5142
|
readonly dim_factor: number;
|
|
5514
|
-
readonly fees:
|
|
5515
|
-
discriminator: 'ddp_ratecard_fee';
|
|
5516
|
-
} & io.flow.v0.models.DdpRatecardFee | {
|
|
5517
|
-
discriminator: 'fuel_surcharge_ratecard_fee';
|
|
5518
|
-
} & io.flow.v0.models.FuelSurchargeRatecardFee | {
|
|
5519
|
-
discriminator: 'oversized_shipment_ratecard_fee';
|
|
5520
|
-
} & io.flow.v0.models.OversizedShipmentRatecardFee | {
|
|
5521
|
-
discriminator: 'return_package_ratecard_fee';
|
|
5522
|
-
} & io.flow.v0.models.ReturnPackageRatecardFee | {
|
|
5523
|
-
discriminator: 'crossdock_ratecard_fee';
|
|
5524
|
-
} & io.flow.v0.models.CrossdockRatecardFee | {
|
|
5525
|
-
discriminator: 'remote_area_ratecard_fee';
|
|
5526
|
-
} & io.flow.v0.models.RemoteAreaRatecardFee)[];
|
|
5143
|
+
readonly fees: io.flow.v0.unions.RatecardFee[];
|
|
5527
5144
|
readonly origin: io.flow.v0.models.Zone;
|
|
5528
5145
|
readonly rounding: io.flow.v0.models.Rounding;
|
|
5529
5146
|
readonly rates: io.flow.v0.models.RatecardRateForm[];
|
|
@@ -5600,9 +5217,7 @@ declare namespace io.flow.v0.models {
|
|
|
5600
5217
|
interface RedirectAuthorizationDetails {
|
|
5601
5218
|
readonly id: string;
|
|
5602
5219
|
readonly payment_redirect_url: string;
|
|
5603
|
-
readonly confirmation_details?:
|
|
5604
|
-
discriminator: 'direct_debit';
|
|
5605
|
-
} & io.flow.v0.models.DirectDebit;
|
|
5220
|
+
readonly confirmation_details?: io.flow.v0.unions.ConfirmationDetails;
|
|
5606
5221
|
}
|
|
5607
5222
|
interface RedirectAuthorizationForm {
|
|
5608
5223
|
readonly method: string;
|
|
@@ -5912,13 +5527,7 @@ declare namespace io.flow.v0.models {
|
|
|
5912
5527
|
readonly method: io.flow.v0.enums.PermittedHttpMethod;
|
|
5913
5528
|
readonly path: string;
|
|
5914
5529
|
readonly authentication_techniques: io.flow.v0.enums.AuthenticationTechnique[];
|
|
5915
|
-
readonly roles:
|
|
5916
|
-
discriminator: 'flow_user_role';
|
|
5917
|
-
value: io.flow.v0.enums.FlowUserRole;
|
|
5918
|
-
} | {
|
|
5919
|
-
discriminator: 'flow_addon_role';
|
|
5920
|
-
value: io.flow.v0.enums.FlowAddonRole;
|
|
5921
|
-
})[];
|
|
5530
|
+
readonly roles: io.flow.v0.unions.FlowRole[];
|
|
5922
5531
|
}
|
|
5923
5532
|
interface RuleDeleted {
|
|
5924
5533
|
readonly event_id: string;
|
|
@@ -5946,35 +5555,7 @@ declare namespace io.flow.v0.models {
|
|
|
5946
5555
|
readonly hour: number;
|
|
5947
5556
|
readonly minute: number;
|
|
5948
5557
|
readonly timezone: string;
|
|
5949
|
-
readonly types:
|
|
5950
|
-
discriminator: 'account_transactions_export_type';
|
|
5951
|
-
} & io.flow.v0.models.AccountTransactionsExportType | {
|
|
5952
|
-
discriminator: 'account_orders_export_type';
|
|
5953
|
-
} & io.flow.v0.models.AccountOrdersExportType | {
|
|
5954
|
-
discriminator: 'analytics_export_type';
|
|
5955
|
-
} & io.flow.v0.models.AnalyticsExportType | {
|
|
5956
|
-
discriminator: 'catalog_item_export_type';
|
|
5957
|
-
} & io.flow.v0.models.CatalogItemExportType | {
|
|
5958
|
-
discriminator: 'experience_export_type';
|
|
5959
|
-
} & io.flow.v0.models.ExperienceExportType | {
|
|
5960
|
-
discriminator: 'harmonization_overview_export_type';
|
|
5961
|
-
} & io.flow.v0.models.HarmonizationOverviewExportType | {
|
|
5962
|
-
discriminator: 'harmonization_hs6_export_type';
|
|
5963
|
-
} & io.flow.v0.models.HarmonizationHs6ExportType | {
|
|
5964
|
-
discriminator: 'harmonization_hs10_export_type';
|
|
5965
|
-
} & io.flow.v0.models.HarmonizationHs10ExportType | {
|
|
5966
|
-
discriminator: 'unharmonized_item_export_type';
|
|
5967
|
-
} & io.flow.v0.models.UnharmonizedItemExportType | {
|
|
5968
|
-
discriminator: 'harmonization_landed_cost_export_type';
|
|
5969
|
-
} & io.flow.v0.models.HarmonizationLandedCostExportType | {
|
|
5970
|
-
discriminator: 'order_export_type';
|
|
5971
|
-
} & io.flow.v0.models.OrderExportType | {
|
|
5972
|
-
discriminator: 'solidus_product_export_type';
|
|
5973
|
-
} & io.flow.v0.models.SolidusProductExportType | {
|
|
5974
|
-
discriminator: 'solidus_variant_export_type';
|
|
5975
|
-
} & io.flow.v0.models.SolidusVariantExportType | {
|
|
5976
|
-
discriminator: 'localized_item_prices_export_type';
|
|
5977
|
-
} & io.flow.v0.models.LocalizedItemPricesExportType)[];
|
|
5558
|
+
readonly types: io.flow.v0.unions.ExportType[];
|
|
5978
5559
|
readonly last_sent_at?: string;
|
|
5979
5560
|
}
|
|
5980
5561
|
interface ScheduledExportForm {
|
|
@@ -5983,35 +5564,7 @@ declare namespace io.flow.v0.models {
|
|
|
5983
5564
|
readonly hour: number;
|
|
5984
5565
|
readonly minute: number;
|
|
5985
5566
|
readonly timezone: string;
|
|
5986
|
-
readonly types:
|
|
5987
|
-
discriminator: 'account_transactions_export_type';
|
|
5988
|
-
} & io.flow.v0.models.AccountTransactionsExportType | {
|
|
5989
|
-
discriminator: 'account_orders_export_type';
|
|
5990
|
-
} & io.flow.v0.models.AccountOrdersExportType | {
|
|
5991
|
-
discriminator: 'analytics_export_type';
|
|
5992
|
-
} & io.flow.v0.models.AnalyticsExportType | {
|
|
5993
|
-
discriminator: 'catalog_item_export_type';
|
|
5994
|
-
} & io.flow.v0.models.CatalogItemExportType | {
|
|
5995
|
-
discriminator: 'experience_export_type';
|
|
5996
|
-
} & io.flow.v0.models.ExperienceExportType | {
|
|
5997
|
-
discriminator: 'harmonization_overview_export_type';
|
|
5998
|
-
} & io.flow.v0.models.HarmonizationOverviewExportType | {
|
|
5999
|
-
discriminator: 'harmonization_hs6_export_type';
|
|
6000
|
-
} & io.flow.v0.models.HarmonizationHs6ExportType | {
|
|
6001
|
-
discriminator: 'harmonization_hs10_export_type';
|
|
6002
|
-
} & io.flow.v0.models.HarmonizationHs10ExportType | {
|
|
6003
|
-
discriminator: 'unharmonized_item_export_type';
|
|
6004
|
-
} & io.flow.v0.models.UnharmonizedItemExportType | {
|
|
6005
|
-
discriminator: 'harmonization_landed_cost_export_type';
|
|
6006
|
-
} & io.flow.v0.models.HarmonizationLandedCostExportType | {
|
|
6007
|
-
discriminator: 'order_export_type';
|
|
6008
|
-
} & io.flow.v0.models.OrderExportType | {
|
|
6009
|
-
discriminator: 'solidus_product_export_type';
|
|
6010
|
-
} & io.flow.v0.models.SolidusProductExportType | {
|
|
6011
|
-
discriminator: 'solidus_variant_export_type';
|
|
6012
|
-
} & io.flow.v0.models.SolidusVariantExportType | {
|
|
6013
|
-
discriminator: 'localized_item_prices_export_type';
|
|
6014
|
-
} & io.flow.v0.models.LocalizedItemPricesExportType)[];
|
|
5567
|
+
readonly types: io.flow.v0.unions.ExportType[];
|
|
6015
5568
|
}
|
|
6016
5569
|
interface ScheduledPickup {
|
|
6017
5570
|
readonly day_of_week: io.flow.v0.enums.DayOfWeek;
|
|
@@ -6275,11 +5828,7 @@ declare namespace io.flow.v0.models {
|
|
|
6275
5828
|
readonly id: string;
|
|
6276
5829
|
readonly shipping_configuration: io.flow.v0.models.ShippingConfigurationReference;
|
|
6277
5830
|
readonly region: string;
|
|
6278
|
-
readonly centers:
|
|
6279
|
-
discriminator: 'center';
|
|
6280
|
-
} & io.flow.v0.models.Center | {
|
|
6281
|
-
discriminator: 'center_reference';
|
|
6282
|
-
} & io.flow.v0.models.CenterReference)[];
|
|
5831
|
+
readonly centers: io.flow.v0.unions.ExpandableCenter[];
|
|
6283
5832
|
readonly tiers: io.flow.v0.models.Tier[];
|
|
6284
5833
|
readonly query: io.flow.v0.models.Query;
|
|
6285
5834
|
readonly strategy: io.flow.v0.enums.LaneStrategy;
|
|
@@ -6370,6 +5919,7 @@ declare namespace io.flow.v0.models {
|
|
|
6370
5919
|
}
|
|
6371
5920
|
interface ShopifyCartConversionFlowOrder {
|
|
6372
5921
|
readonly order: io.flow.v0.models.Order;
|
|
5922
|
+
readonly errors?: io.flow.v0.models.OrderError[];
|
|
6373
5923
|
}
|
|
6374
5924
|
interface ShopifyCartConversionShopifyCart {
|
|
6375
5925
|
readonly cart: io.flow.shopify.external.v0.models.ShopifyCart;
|
|
@@ -6417,13 +5967,7 @@ declare namespace io.flow.v0.models {
|
|
|
6417
5967
|
readonly quantity: number;
|
|
6418
5968
|
readonly price: io.flow.v0.models.ShopifyPrice;
|
|
6419
5969
|
readonly total: io.flow.v0.models.ShopifyPrice;
|
|
6420
|
-
readonly price_source?:
|
|
6421
|
-
discriminator: 'price_book';
|
|
6422
|
-
} & io.flow.v0.models.PriceSourcePriceBook | {
|
|
6423
|
-
discriminator: 'catalog';
|
|
6424
|
-
} & io.flow.v0.models.PriceSourceCatalog | {
|
|
6425
|
-
discriminator: 'provided';
|
|
6426
|
-
} & io.flow.v0.models.PriceSourceProvided;
|
|
5970
|
+
readonly price_source?: io.flow.v0.unions.PriceSource;
|
|
6427
5971
|
}
|
|
6428
5972
|
interface ShopifyLocalCartItemMetadata {
|
|
6429
5973
|
readonly line_price: io.flow.v0.models.PriceWithBase;
|
|
@@ -6467,11 +6011,7 @@ declare namespace io.flow.v0.models {
|
|
|
6467
6011
|
readonly lines: io.flow.v0.models.ShopifyLine[];
|
|
6468
6012
|
readonly prices: io.flow.v0.models.ShopifyPrice[];
|
|
6469
6013
|
readonly total: io.flow.v0.models.ShopifyPrice;
|
|
6470
|
-
readonly allocation_details:
|
|
6471
|
-
discriminator: 'allocation_line_detail';
|
|
6472
|
-
} & io.flow.v0.models.AllocationLineDetail | {
|
|
6473
|
-
discriminator: 'allocation_order_detail';
|
|
6474
|
-
} & io.flow.v0.models.AllocationOrderDetail)[];
|
|
6014
|
+
readonly allocation_details: io.flow.v0.unions.AllocationDetail[];
|
|
6475
6015
|
readonly merchant_of_record?: io.flow.v0.enums.OrderMerchantOfRecord;
|
|
6476
6016
|
readonly merchant_of_record_entity?: io.flow.v0.models.MerchantOfRecordEntity;
|
|
6477
6017
|
readonly incoterm?: io.flow.v0.enums.Incoterm;
|
|
@@ -6551,9 +6091,7 @@ declare namespace io.flow.v0.models {
|
|
|
6551
6091
|
readonly range: io.flow.v0.models.DatetimeRange;
|
|
6552
6092
|
readonly interval_seconds: number;
|
|
6553
6093
|
readonly total: number;
|
|
6554
|
-
readonly buckets:
|
|
6555
|
-
discriminator: 'shopify_item_event_bucket';
|
|
6556
|
-
} & io.flow.v0.models.ShopifyItemEventBucket)[];
|
|
6094
|
+
readonly buckets: io.flow.v0.unions.ShopifyEventBucket[];
|
|
6557
6095
|
}
|
|
6558
6096
|
interface ShopifyVariantFlowMetafield {
|
|
6559
6097
|
readonly prices_item: string;
|
|
@@ -6792,11 +6330,7 @@ declare namespace io.flow.v0.models {
|
|
|
6792
6330
|
readonly name: string;
|
|
6793
6331
|
readonly rate: number;
|
|
6794
6332
|
readonly components: io.flow.v0.enums.LevyComponent[];
|
|
6795
|
-
readonly deminimis?:
|
|
6796
|
-
discriminator: 'deminimis_simple';
|
|
6797
|
-
} & io.flow.v0.models.DeminimisSimple | {
|
|
6798
|
-
discriminator: 'deminimis_per_item';
|
|
6799
|
-
} & io.flow.v0.models.DeminimisPerItem;
|
|
6333
|
+
readonly deminimis?: io.flow.v0.unions.Deminimis;
|
|
6800
6334
|
}
|
|
6801
6335
|
interface TaxRegistration {
|
|
6802
6336
|
readonly id: string;
|
|
@@ -6871,28 +6405,12 @@ declare namespace io.flow.v0.models {
|
|
|
6871
6405
|
readonly id: string;
|
|
6872
6406
|
readonly position: number;
|
|
6873
6407
|
readonly query: string;
|
|
6874
|
-
readonly outcome:
|
|
6875
|
-
discriminator: 'amount_margin';
|
|
6876
|
-
} & io.flow.v0.models.AmountMargin | {
|
|
6877
|
-
discriminator: 'at_cost';
|
|
6878
|
-
} & io.flow.v0.models.AtCost | {
|
|
6879
|
-
discriminator: 'flat_rate';
|
|
6880
|
-
} & io.flow.v0.models.FlatRate | {
|
|
6881
|
-
discriminator: 'percent_margin';
|
|
6882
|
-
} & io.flow.v0.models.PercentMargin;
|
|
6408
|
+
readonly outcome: io.flow.v0.unions.TierRuleOutcome;
|
|
6883
6409
|
}
|
|
6884
6410
|
interface TierRuleForm {
|
|
6885
6411
|
readonly position?: number;
|
|
6886
6412
|
readonly query: string;
|
|
6887
|
-
readonly outcome:
|
|
6888
|
-
discriminator: 'amount_margin_form';
|
|
6889
|
-
} & io.flow.v0.models.AmountMarginForm | {
|
|
6890
|
-
discriminator: 'flat_rate_form';
|
|
6891
|
-
} & io.flow.v0.models.FlatRateForm | {
|
|
6892
|
-
discriminator: 'at_cost';
|
|
6893
|
-
} & io.flow.v0.models.AtCost | {
|
|
6894
|
-
discriminator: 'percent_margin';
|
|
6895
|
-
} & io.flow.v0.models.PercentMargin;
|
|
6413
|
+
readonly outcome: io.flow.v0.unions.TierRuleOutcomeForm;
|
|
6896
6414
|
}
|
|
6897
6415
|
interface TierRuleVersion {
|
|
6898
6416
|
readonly id: string;
|
|
@@ -7371,6 +6889,10 @@ declare namespace io.flow.v0.unions {
|
|
|
7371
6889
|
} & io.flow.v0.models.RateDeleted | {
|
|
7372
6890
|
discriminator: 'rate_upserted';
|
|
7373
6891
|
} & io.flow.v0.models.RateUpserted | {
|
|
6892
|
+
discriminator: 'rate_deleted_v3';
|
|
6893
|
+
} & io.flow.v0.models.RateDeletedV3 | {
|
|
6894
|
+
discriminator: 'rate_upserted_v3';
|
|
6895
|
+
} & io.flow.v0.models.RateUpsertedV3 | {
|
|
7374
6896
|
discriminator: 'customer_upserted';
|
|
7375
6897
|
} & io.flow.v0.models.CustomerUpserted | {
|
|
7376
6898
|
discriminator: 'customer_deleted';
|
|
@@ -7555,6 +7077,10 @@ declare namespace io.flow.v0.unions {
|
|
|
7555
7077
|
} & io.flow.v0.models.OrganizationDefaultConfigurationsUpserted | {
|
|
7556
7078
|
discriminator: 'organization_default_configurations_deleted';
|
|
7557
7079
|
} & io.flow.v0.models.OrganizationDefaultConfigurationsDeleted | {
|
|
7080
|
+
discriminator: 'ecommerce_platform_upserted';
|
|
7081
|
+
} & io.flow.v0.models.EcommercePlatformUpserted | {
|
|
7082
|
+
discriminator: 'ecommerce_platform_deleted';
|
|
7083
|
+
} & io.flow.v0.models.EcommercePlatformDeleted | {
|
|
7558
7084
|
discriminator: 'authorization_deleted_v2';
|
|
7559
7085
|
} & io.flow.v0.models.AuthorizationDeletedV2 | {
|
|
7560
7086
|
discriminator: 'authorization_status_changed';
|
|
@@ -8147,6 +7673,7 @@ export declare type CustomerForm = io.flow.v0.models.CustomerForm;
|
|
|
8147
7673
|
export declare type CustomerInvoice = io.flow.v0.models.CustomerInvoice;
|
|
8148
7674
|
export declare type CustomerPutForm = io.flow.v0.models.CustomerPutForm;
|
|
8149
7675
|
export declare type CustomerReference = io.flow.v0.models.CustomerReference;
|
|
7676
|
+
export declare type CustomerToken = io.flow.v0.models.CustomerToken;
|
|
8150
7677
|
export declare type CustomerUpserted = io.flow.v0.models.CustomerUpserted;
|
|
8151
7678
|
export declare type Cvv = io.flow.v0.models.Cvv;
|
|
8152
7679
|
export declare type CvvCode = io.flow.v0.enums.CvvCode;
|
|
@@ -8201,6 +7728,10 @@ export declare type DiscountsForm = io.flow.v0.models.DiscountsForm;
|
|
|
8201
7728
|
export declare type Document = io.flow.v0.unions.Document;
|
|
8202
7729
|
export declare type Duration = io.flow.v0.models.Duration;
|
|
8203
7730
|
export declare type Duty = io.flow.v0.models.Duty;
|
|
7731
|
+
export declare type EcommercePlatform = io.flow.v0.models.EcommercePlatform;
|
|
7732
|
+
export declare type EcommercePlatformDeleted = io.flow.v0.models.EcommercePlatformDeleted;
|
|
7733
|
+
export declare type EcommercePlatformType = io.flow.v0.enums.EcommercePlatformType;
|
|
7734
|
+
export declare type EcommercePlatformUpserted = io.flow.v0.models.EcommercePlatformUpserted;
|
|
8204
7735
|
export declare type EconomicTitleLocation = io.flow.v0.enums.EconomicTitleLocation;
|
|
8205
7736
|
export declare type EmailVerification = io.flow.v0.models.EmailVerification;
|
|
8206
7737
|
export declare type Environment = io.flow.v0.enums.Environment;
|
|
@@ -8713,9 +8244,11 @@ export declare type QuoteSummary = io.flow.v0.models.QuoteSummary;
|
|
|
8713
8244
|
export declare type QuoteVersion = io.flow.v0.models.QuoteVersion;
|
|
8714
8245
|
export declare type Rate = io.flow.v0.models.Rate;
|
|
8715
8246
|
export declare type RateDeleted = io.flow.v0.models.RateDeleted;
|
|
8247
|
+
export declare type RateDeletedV3 = io.flow.v0.models.RateDeletedV3;
|
|
8716
8248
|
export declare type RateForm = io.flow.v0.models.RateForm;
|
|
8717
8249
|
export declare type RateType = io.flow.v0.enums.RateType;
|
|
8718
8250
|
export declare type RateUpserted = io.flow.v0.models.RateUpserted;
|
|
8251
|
+
export declare type RateUpsertedV3 = io.flow.v0.models.RateUpsertedV3;
|
|
8719
8252
|
export declare type RateVersion = io.flow.v0.models.RateVersion;
|
|
8720
8253
|
export declare type Ratecard = io.flow.v0.models.Ratecard;
|
|
8721
8254
|
export declare type RatecardCarrierSummary = io.flow.v0.models.RatecardCarrierSummary;
|