@flowio/types 11.11.0 → 11.12.1
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 +574 -423
- package/dist/api.d.ts +6 -1
- package/package.json +2 -2
- package/src/api-internal.ts +1229 -1042
- package/src/api.ts +12 -0
package/dist/api-internal.d.ts
CHANGED
|
@@ -245,6 +245,8 @@ declare namespace io.flow.experience.v0.models {
|
|
|
245
245
|
readonly field_validation: io.flow.experience.v0.models.AddressFieldValidation;
|
|
246
246
|
readonly provinces: io.flow.experience.v0.models.AddressConfigurationProvince[];
|
|
247
247
|
readonly formats?: io.flow.experience.v0.models.AddressConfigurationFormat[];
|
|
248
|
+
readonly province_type?: io.flow.reference.v0.enums.ProvinceType;
|
|
249
|
+
readonly postal_type?: io.flow.reference.v0.enums.PostalType;
|
|
248
250
|
}
|
|
249
251
|
interface AddressConfigurationFieldPlacement {
|
|
250
252
|
readonly name: io.flow.experience.v0.enums.AddressFieldName;
|
|
@@ -1042,10 +1044,424 @@ declare namespace io.flow.experience.v0.unions {
|
|
|
1042
1044
|
};
|
|
1043
1045
|
type Promotion = io.flow.experience.v0.models.FreeShipping | io.flow.experience.v0.models.Discount;
|
|
1044
1046
|
}
|
|
1047
|
+
declare namespace io.flow.shopify.xborder.v0.enums {
|
|
1048
|
+
type ShopifyOrderCancelReason = 'customer' | 'fraud' | 'inventory' | 'declined' | 'other';
|
|
1049
|
+
type ShopifyOrderDiscountAllocationMethod = 'across' | 'each' | 'one';
|
|
1050
|
+
type ShopifyOrderDiscountApplicationTargetSelection = 'all' | 'entitled' | 'explicit';
|
|
1051
|
+
type ShopifyOrderDiscountApplicationTargetType = 'line_item' | 'shipping_line';
|
|
1052
|
+
type ShopifyOrderDiscountApplicationType = 'automatic' | 'discount_code' | 'manual' | 'script';
|
|
1053
|
+
type ShopifyOrderDiscountApplicationValueType = 'fixed_amount' | 'percentage';
|
|
1054
|
+
type ShopifyOrderDiscountType = 'fixed_amount' | 'percentage' | 'shipping';
|
|
1055
|
+
type ShopifyOrderFinancialStatusType = 'pending' | 'authorized' | 'partially_paid' | 'paid' | 'partially_refunded' | 'refunded' | 'voided';
|
|
1056
|
+
type ShopifyOrderFulfillmentShipmentStatus = 'label_printed' | 'label_purchased' | 'attempted_delivery' | 'ready_for_pickup' | 'confirmed' | 'in_transit' | 'out_for_delivery' | 'delivered' | 'failure';
|
|
1057
|
+
type ShopifyOrderFulfillmentStatus = 'pending' | 'open' | 'success' | 'cancelled' | 'error' | 'failure';
|
|
1058
|
+
type ShopifyOrderFulfillmentStatusType = 'fulfilled' | 'null' | 'partial';
|
|
1059
|
+
type ShopifyOrderInventoryBehaviour = 'bypass' | 'decrement_ignoring_policy' | 'decrement_obeying_policy';
|
|
1060
|
+
type ShopifyOrderKindType = 'authorization' | 'capture' | 'sale' | 'void' | 'refund';
|
|
1061
|
+
type ShopifyOrderProcessingMethodType = 'checkout' | 'direct' | 'manual' | 'offsite' | 'express';
|
|
1062
|
+
type ShopifyOrderRestockType = 'no_restock' | 'cancel' | 'return';
|
|
1063
|
+
type ShopifyOrderStatusType = 'open' | 'closed' | 'cancelled' | 'any';
|
|
1064
|
+
type ShopifyOrderTransactionErrorCode = 'incorrect_number' | 'invalid_number' | 'invalid_expiry_date' | 'invalid_cvc' | 'expired_card' | 'incorrect_cvc' | 'incorrect_zip' | 'incorrect_address' | 'card_declined' | 'processing_error' | 'call_issuer' | 'pick_up_card';
|
|
1065
|
+
type ShopifyOrderTransactionStatus = 'pending' | 'failure' | 'success' | 'error';
|
|
1066
|
+
type ShopifyOrderValueType = 'string' | 'integer';
|
|
1067
|
+
type ShopifyWebhookFormat = 'json' | 'xml';
|
|
1068
|
+
type ShopifyWebhookTopic = 'orders/cancelled' | 'orders/create' | 'orders/fulfilled' | 'orders/paid' | 'orders/partially_fulfilled' | 'orders/updated' | 'orders/delete' | 'orders/edited' | 'refunds/create' | 'fulfillment_events/create' | 'fulfillment_events/delete' | 'themes/update';
|
|
1069
|
+
}
|
|
1070
|
+
declare namespace io.flow.shopify.xborder.v0.models {
|
|
1071
|
+
interface ShopifyOrder {
|
|
1072
|
+
readonly id: number;
|
|
1073
|
+
readonly order_number: number;
|
|
1074
|
+
readonly billing_address?: io.flow.shopify.xborder.v0.models.ShopifyOrderAddress;
|
|
1075
|
+
readonly browser_ip?: string;
|
|
1076
|
+
readonly buyer_accepts_marketing: boolean;
|
|
1077
|
+
readonly cancel_reason?: io.flow.shopify.xborder.v0.enums.ShopifyOrderCancelReason;
|
|
1078
|
+
readonly cancelled_at?: string;
|
|
1079
|
+
readonly cart_token?: string;
|
|
1080
|
+
readonly client_details: io.flow.shopify.xborder.v0.models.ShopifyOrderClientDetail;
|
|
1081
|
+
readonly closed_at?: string;
|
|
1082
|
+
readonly created_at: string;
|
|
1083
|
+
readonly currency: string;
|
|
1084
|
+
readonly total_discounts_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1085
|
+
readonly current_total_discounts_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1086
|
+
readonly total_duties_set?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1087
|
+
readonly current_total_duties_set?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1088
|
+
readonly original_total_duties_set?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1089
|
+
readonly total_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1090
|
+
readonly current_total_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1091
|
+
readonly subtotal_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1092
|
+
readonly current_subtotal_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1093
|
+
readonly total_tax_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1094
|
+
readonly current_total_tax_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1095
|
+
readonly total_line_items_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1096
|
+
readonly customer: io.flow.shopify.xborder.v0.models.ShopifyOrderCustomer;
|
|
1097
|
+
readonly customer_locale?: string;
|
|
1098
|
+
readonly discount_applications: io.flow.shopify.xborder.v0.models.ShopifyOrderDiscountApplication[];
|
|
1099
|
+
readonly discount_codes: io.flow.shopify.xborder.v0.models.ShopifyOrderDiscountCode[];
|
|
1100
|
+
readonly email?: string;
|
|
1101
|
+
readonly financial_status: io.flow.shopify.xborder.v0.enums.ShopifyOrderFinancialStatusType;
|
|
1102
|
+
readonly fulfillments: io.flow.shopify.xborder.v0.models.ShopifyOrderFulfillment[];
|
|
1103
|
+
readonly fulfillment_status?: io.flow.shopify.xborder.v0.enums.ShopifyOrderFulfillmentStatusType;
|
|
1104
|
+
readonly landing_site?: string;
|
|
1105
|
+
readonly line_items: io.flow.shopify.xborder.v0.models.ShopifyOrderLineItem[];
|
|
1106
|
+
readonly location_id?: number;
|
|
1107
|
+
readonly name: string;
|
|
1108
|
+
readonly note?: string;
|
|
1109
|
+
readonly note_attributes: io.flow.shopify.xborder.v0.models.ShopifyOrderAttribute[];
|
|
1110
|
+
readonly number?: number;
|
|
1111
|
+
readonly payment_gateway_names: string[];
|
|
1112
|
+
readonly processed_at?: string;
|
|
1113
|
+
readonly processing_method?: io.flow.shopify.xborder.v0.enums.ShopifyOrderProcessingMethodType;
|
|
1114
|
+
readonly referring_site?: string;
|
|
1115
|
+
readonly refunds: io.flow.shopify.xborder.v0.models.ShopifyOrderRefund[];
|
|
1116
|
+
readonly shipping_address?: io.flow.shopify.xborder.v0.models.ShopifyOrderAddress;
|
|
1117
|
+
readonly shipping_lines: io.flow.shopify.xborder.v0.models.ShopifyOrderShippingLine[];
|
|
1118
|
+
readonly source_name?: string;
|
|
1119
|
+
readonly tags?: string;
|
|
1120
|
+
readonly tax_lines: io.flow.shopify.xborder.v0.models.ShopifyOrderTaxLine[];
|
|
1121
|
+
readonly taxes_included: boolean;
|
|
1122
|
+
readonly token?: string;
|
|
1123
|
+
readonly total_weight?: number;
|
|
1124
|
+
readonly updated_at?: string;
|
|
1125
|
+
readonly user_id?: number;
|
|
1126
|
+
readonly order_status_url?: string;
|
|
1127
|
+
readonly inventory_behaviour?: io.flow.shopify.xborder.v0.enums.ShopifyOrderInventoryBehaviour;
|
|
1128
|
+
readonly gateway?: string;
|
|
1129
|
+
readonly transactions?: io.flow.shopify.xborder.v0.models.ShopifyOrderTransaction[];
|
|
1130
|
+
readonly send_receipt?: boolean;
|
|
1131
|
+
readonly metafields?: io.flow.shopify.xborder.v0.models.ShopifyOrderMetafield[];
|
|
1132
|
+
}
|
|
1133
|
+
interface ShopifyOrderAddress {
|
|
1134
|
+
readonly id?: number;
|
|
1135
|
+
readonly address1?: string;
|
|
1136
|
+
readonly address2?: string;
|
|
1137
|
+
readonly city?: string;
|
|
1138
|
+
readonly company?: string;
|
|
1139
|
+
readonly country?: string;
|
|
1140
|
+
readonly country_code?: string;
|
|
1141
|
+
readonly default?: boolean;
|
|
1142
|
+
readonly first_name?: string;
|
|
1143
|
+
readonly last_name?: string;
|
|
1144
|
+
readonly latitude?: number;
|
|
1145
|
+
readonly longitude?: number;
|
|
1146
|
+
readonly name?: string;
|
|
1147
|
+
readonly phone?: string;
|
|
1148
|
+
readonly province?: string;
|
|
1149
|
+
readonly province_code?: string;
|
|
1150
|
+
readonly zip?: string;
|
|
1151
|
+
}
|
|
1152
|
+
interface ShopifyOrderAttribute {
|
|
1153
|
+
readonly name: string;
|
|
1154
|
+
readonly value: string;
|
|
1155
|
+
}
|
|
1156
|
+
interface ShopifyOrderClientDetail {
|
|
1157
|
+
readonly accept_language?: string;
|
|
1158
|
+
readonly browser_height?: number;
|
|
1159
|
+
readonly browser_ip?: string;
|
|
1160
|
+
readonly browser_width?: number;
|
|
1161
|
+
readonly session_hash?: string;
|
|
1162
|
+
readonly user_agent?: string;
|
|
1163
|
+
}
|
|
1164
|
+
interface ShopifyOrderCustomer {
|
|
1165
|
+
readonly id?: number;
|
|
1166
|
+
readonly email?: string;
|
|
1167
|
+
readonly accepts_marketing?: boolean;
|
|
1168
|
+
readonly created_at?: string;
|
|
1169
|
+
readonly updated_at?: string;
|
|
1170
|
+
readonly first_name?: string;
|
|
1171
|
+
readonly last_name?: string;
|
|
1172
|
+
readonly orders_count?: number;
|
|
1173
|
+
readonly state?: string;
|
|
1174
|
+
readonly total_spent?: string;
|
|
1175
|
+
readonly last_order_id?: number;
|
|
1176
|
+
readonly note?: string;
|
|
1177
|
+
readonly verified_email?: boolean;
|
|
1178
|
+
readonly multipass_identifier?: string;
|
|
1179
|
+
readonly tax_exempt?: boolean;
|
|
1180
|
+
readonly tax_exemptions?: any[];
|
|
1181
|
+
readonly phone?: string;
|
|
1182
|
+
readonly tags?: string;
|
|
1183
|
+
readonly last_order_name?: string;
|
|
1184
|
+
readonly currency?: string;
|
|
1185
|
+
readonly addresses?: io.flow.shopify.xborder.v0.models.ShopifyOrderAddress;
|
|
1186
|
+
readonly default_address?: io.flow.shopify.xborder.v0.models.ShopifyOrderAddress;
|
|
1187
|
+
}
|
|
1188
|
+
interface ShopifyOrderDiscountAllocation {
|
|
1189
|
+
readonly amount: string;
|
|
1190
|
+
readonly discount_application_index: number;
|
|
1191
|
+
readonly amount_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1192
|
+
}
|
|
1193
|
+
interface ShopifyOrderDiscountApplication {
|
|
1194
|
+
readonly type: io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountApplicationType;
|
|
1195
|
+
readonly allocation_method: io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountAllocationMethod;
|
|
1196
|
+
readonly code?: string;
|
|
1197
|
+
readonly description?: string;
|
|
1198
|
+
readonly target_selection: io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountApplicationTargetSelection;
|
|
1199
|
+
readonly target_type: io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountApplicationTargetType;
|
|
1200
|
+
readonly title?: string;
|
|
1201
|
+
readonly value: string;
|
|
1202
|
+
readonly value_type: io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountApplicationValueType;
|
|
1203
|
+
}
|
|
1204
|
+
interface ShopifyOrderDiscountCode {
|
|
1205
|
+
readonly amount: string;
|
|
1206
|
+
readonly code: string;
|
|
1207
|
+
readonly type: io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountType;
|
|
1208
|
+
}
|
|
1209
|
+
interface ShopifyOrderDuty {
|
|
1210
|
+
readonly id: string;
|
|
1211
|
+
readonly harmonized_system_code: string;
|
|
1212
|
+
readonly country_code_of_origin: string;
|
|
1213
|
+
readonly presentment_money: io.flow.shopify.xborder.v0.models.ShopifyOrderMoney;
|
|
1214
|
+
readonly shop_money: io.flow.shopify.xborder.v0.models.ShopifyOrderMoney;
|
|
1215
|
+
readonly tax_lines: io.flow.shopify.xborder.v0.models.ShopifyOrderTaxLine[];
|
|
1216
|
+
}
|
|
1217
|
+
interface ShopifyOrderFulfillment {
|
|
1218
|
+
readonly created_at?: string;
|
|
1219
|
+
readonly id?: number;
|
|
1220
|
+
readonly line_items: io.flow.shopify.xborder.v0.models.ShopifyOrderLineItem[];
|
|
1221
|
+
readonly location_id: number;
|
|
1222
|
+
readonly name: string;
|
|
1223
|
+
readonly notify_customer?: boolean;
|
|
1224
|
+
readonly order_id?: number;
|
|
1225
|
+
readonly receipt?: any;
|
|
1226
|
+
readonly service: string;
|
|
1227
|
+
readonly shipment_status?: io.flow.shopify.xborder.v0.enums.ShopifyOrderFulfillmentShipmentStatus;
|
|
1228
|
+
readonly status?: io.flow.shopify.xborder.v0.enums.ShopifyOrderFulfillmentStatus;
|
|
1229
|
+
readonly tracking_company?: string;
|
|
1230
|
+
readonly tracking_number?: string;
|
|
1231
|
+
readonly tracking_numbers?: string[];
|
|
1232
|
+
readonly tracking_urls?: string[];
|
|
1233
|
+
readonly updated_at?: string;
|
|
1234
|
+
readonly variant_inventory_management?: string;
|
|
1235
|
+
}
|
|
1236
|
+
interface ShopifyOrderLineItem {
|
|
1237
|
+
readonly fulfillable_quantity?: number;
|
|
1238
|
+
readonly fulfillment_service: string;
|
|
1239
|
+
readonly fulfillment_status?: io.flow.shopify.xborder.v0.enums.ShopifyOrderFulfillmentStatusType;
|
|
1240
|
+
readonly grams?: number;
|
|
1241
|
+
readonly id: number;
|
|
1242
|
+
readonly price?: string;
|
|
1243
|
+
readonly price_set?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1244
|
+
readonly product_id?: number;
|
|
1245
|
+
readonly quantity: number;
|
|
1246
|
+
readonly requires_shipping: boolean;
|
|
1247
|
+
readonly sku?: string;
|
|
1248
|
+
readonly title?: string;
|
|
1249
|
+
readonly variant_id?: number;
|
|
1250
|
+
readonly variant_title?: string;
|
|
1251
|
+
readonly vendor?: string;
|
|
1252
|
+
readonly name?: string;
|
|
1253
|
+
readonly gift_card: boolean;
|
|
1254
|
+
readonly properties: io.flow.shopify.xborder.v0.models.ShopifyOrderProperty[];
|
|
1255
|
+
readonly taxable: boolean;
|
|
1256
|
+
readonly tax_lines: io.flow.shopify.xborder.v0.models.ShopifyOrderTaxLine[];
|
|
1257
|
+
readonly tip_payment_gateway?: string;
|
|
1258
|
+
readonly tip_payment_method?: string;
|
|
1259
|
+
readonly total_discount?: string;
|
|
1260
|
+
readonly total_discount_set?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1261
|
+
readonly discount_allocations?: io.flow.shopify.xborder.v0.models.ShopifyOrderDiscountAllocation[];
|
|
1262
|
+
readonly origin_location?: io.flow.shopify.xborder.v0.models.ShopifyOrderOriginLocation;
|
|
1263
|
+
readonly variant_inventory_management?: string;
|
|
1264
|
+
readonly product_exists?: boolean;
|
|
1265
|
+
readonly duties: io.flow.shopify.xborder.v0.models.ShopifyOrderDuty[];
|
|
1266
|
+
}
|
|
1267
|
+
interface ShopifyOrderMetafield {
|
|
1268
|
+
readonly id: number;
|
|
1269
|
+
readonly key: string;
|
|
1270
|
+
readonly namespace: string;
|
|
1271
|
+
readonly value: string;
|
|
1272
|
+
readonly value_type: io.flow.shopify.xborder.v0.enums.ShopifyOrderValueType;
|
|
1273
|
+
readonly description?: string;
|
|
1274
|
+
readonly owner_id: number;
|
|
1275
|
+
readonly owner_resource: string;
|
|
1276
|
+
}
|
|
1277
|
+
interface ShopifyOrderMetafieldForm {
|
|
1278
|
+
readonly key: string;
|
|
1279
|
+
readonly namespace: string;
|
|
1280
|
+
readonly value: string;
|
|
1281
|
+
readonly value_type: io.flow.shopify.xborder.v0.enums.ShopifyOrderValueType;
|
|
1282
|
+
readonly description?: string;
|
|
1283
|
+
}
|
|
1284
|
+
interface ShopifyOrderMoney {
|
|
1285
|
+
readonly amount: number;
|
|
1286
|
+
readonly currency_code: string;
|
|
1287
|
+
}
|
|
1288
|
+
interface ShopifyOrderMoneySet {
|
|
1289
|
+
readonly shop_money: io.flow.shopify.xborder.v0.models.ShopifyOrderMoney;
|
|
1290
|
+
readonly presentment_money: io.flow.shopify.xborder.v0.models.ShopifyOrderMoney;
|
|
1291
|
+
}
|
|
1292
|
+
interface ShopifyOrderOriginLocation {
|
|
1293
|
+
readonly id: number;
|
|
1294
|
+
readonly country_code: string;
|
|
1295
|
+
readonly province_code: string;
|
|
1296
|
+
readonly name: string;
|
|
1297
|
+
readonly address1: string;
|
|
1298
|
+
readonly address2: string;
|
|
1299
|
+
readonly city: string;
|
|
1300
|
+
readonly zip: string;
|
|
1301
|
+
}
|
|
1302
|
+
interface ShopifyOrderPaymentDetail {
|
|
1303
|
+
readonly avs_result_code?: string;
|
|
1304
|
+
readonly credit_card_bin?: string;
|
|
1305
|
+
readonly credit_card_company: string;
|
|
1306
|
+
readonly credit_card_number: string;
|
|
1307
|
+
readonly cvv_result_code?: string;
|
|
1308
|
+
}
|
|
1309
|
+
interface ShopifyOrderProperty {
|
|
1310
|
+
readonly name: string;
|
|
1311
|
+
readonly value: any;
|
|
1312
|
+
}
|
|
1313
|
+
interface ShopifyOrderRefund {
|
|
1314
|
+
readonly id: number;
|
|
1315
|
+
readonly order_id: number;
|
|
1316
|
+
readonly created_at: string;
|
|
1317
|
+
readonly processed_at: string;
|
|
1318
|
+
readonly note?: string;
|
|
1319
|
+
readonly refund_line_items?: io.flow.shopify.xborder.v0.models.ShopifyOrderRefundLineItem[];
|
|
1320
|
+
readonly restock?: boolean;
|
|
1321
|
+
readonly transactions?: io.flow.shopify.xborder.v0.models.ShopifyOrderTransaction[];
|
|
1322
|
+
readonly user_id?: number;
|
|
1323
|
+
}
|
|
1324
|
+
interface ShopifyOrderRefundLineItem {
|
|
1325
|
+
readonly id: number;
|
|
1326
|
+
readonly line_item: io.flow.shopify.xborder.v0.models.ShopifyOrderLineItem;
|
|
1327
|
+
readonly line_item_id: number;
|
|
1328
|
+
readonly quantity: number;
|
|
1329
|
+
readonly restock_type: io.flow.shopify.xborder.v0.enums.ShopifyOrderRestockType;
|
|
1330
|
+
readonly location_id?: number;
|
|
1331
|
+
readonly subtotal?: number;
|
|
1332
|
+
readonly total_tax?: number;
|
|
1333
|
+
}
|
|
1334
|
+
interface ShopifyOrderShippingLine {
|
|
1335
|
+
readonly code?: string;
|
|
1336
|
+
readonly price: string;
|
|
1337
|
+
readonly source: string;
|
|
1338
|
+
readonly title: string;
|
|
1339
|
+
readonly tax_lines: io.flow.shopify.xborder.v0.models.ShopifyOrderTaxLine[];
|
|
1340
|
+
readonly carrier_identifier?: string;
|
|
1341
|
+
readonly requested_fulfillment_service_id?: string;
|
|
1342
|
+
readonly price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1343
|
+
readonly discounted_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1344
|
+
}
|
|
1345
|
+
interface ShopifyOrderTaxLine {
|
|
1346
|
+
readonly price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1347
|
+
readonly rate: number;
|
|
1348
|
+
readonly title: string;
|
|
1349
|
+
}
|
|
1350
|
+
interface ShopifyOrderTransaction {
|
|
1351
|
+
readonly id: number;
|
|
1352
|
+
readonly order_id: number;
|
|
1353
|
+
readonly amount: number;
|
|
1354
|
+
readonly kind: io.flow.shopify.xborder.v0.enums.ShopifyOrderKindType;
|
|
1355
|
+
readonly gateway: string;
|
|
1356
|
+
readonly currency: string;
|
|
1357
|
+
readonly status: io.flow.shopify.xborder.v0.enums.ShopifyOrderTransactionStatus;
|
|
1358
|
+
readonly payment_details?: io.flow.shopify.xborder.v0.models.ShopifyOrderPaymentDetail;
|
|
1359
|
+
readonly receipt: any;
|
|
1360
|
+
readonly authorization?: string;
|
|
1361
|
+
readonly created_at: string;
|
|
1362
|
+
readonly device_id?: number;
|
|
1363
|
+
readonly gift_card_id?: number;
|
|
1364
|
+
readonly source_name: string;
|
|
1365
|
+
readonly error_code?: io.flow.shopify.xborder.v0.enums.ShopifyOrderTransactionErrorCode;
|
|
1366
|
+
readonly test: boolean;
|
|
1367
|
+
readonly parent_id?: number;
|
|
1368
|
+
readonly user_id?: number;
|
|
1369
|
+
}
|
|
1370
|
+
interface ShopifyOrderWrapper {
|
|
1371
|
+
readonly order: any;
|
|
1372
|
+
}
|
|
1373
|
+
interface ShopifyOrdersWrapper {
|
|
1374
|
+
readonly orders: io.flow.shopify.xborder.v0.models.ShopifyOrder[];
|
|
1375
|
+
}
|
|
1376
|
+
interface ShopifyWebhookOrder {
|
|
1377
|
+
readonly id: number;
|
|
1378
|
+
readonly order_number: number;
|
|
1379
|
+
readonly billing_address?: io.flow.shopify.xborder.v0.models.ShopifyOrderAddress;
|
|
1380
|
+
readonly browser_ip?: string;
|
|
1381
|
+
readonly buyer_accepts_marketing: boolean;
|
|
1382
|
+
readonly cancel_reason?: io.flow.shopify.xborder.v0.enums.ShopifyOrderCancelReason;
|
|
1383
|
+
readonly cancelled_at?: string;
|
|
1384
|
+
readonly cart_token?: string;
|
|
1385
|
+
readonly client_details?: io.flow.shopify.xborder.v0.models.ShopifyOrderClientDetail;
|
|
1386
|
+
readonly closed_at?: string;
|
|
1387
|
+
readonly created_at: string;
|
|
1388
|
+
readonly currency: string;
|
|
1389
|
+
readonly total_discounts_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1390
|
+
readonly total_duties_set?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1391
|
+
readonly original_total_duties_set?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1392
|
+
readonly total_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1393
|
+
readonly subtotal_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1394
|
+
readonly total_tax_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1395
|
+
readonly total_line_items_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1396
|
+
readonly customer: io.flow.shopify.xborder.v0.models.ShopifyOrderCustomer;
|
|
1397
|
+
readonly customer_locale?: string;
|
|
1398
|
+
readonly discount_applications: io.flow.shopify.xborder.v0.models.ShopifyOrderDiscountApplication[];
|
|
1399
|
+
readonly discount_codes: io.flow.shopify.xborder.v0.models.ShopifyOrderDiscountCode[];
|
|
1400
|
+
readonly email?: string;
|
|
1401
|
+
readonly financial_status: io.flow.shopify.xborder.v0.enums.ShopifyOrderFinancialStatusType;
|
|
1402
|
+
readonly fulfillments: io.flow.shopify.xborder.v0.models.ShopifyOrderFulfillment[];
|
|
1403
|
+
readonly fulfillment_status?: io.flow.shopify.xborder.v0.enums.ShopifyOrderFulfillmentStatusType;
|
|
1404
|
+
readonly landing_site?: string;
|
|
1405
|
+
readonly line_items: io.flow.shopify.xborder.v0.models.ShopifyOrderLineItem[];
|
|
1406
|
+
readonly location_id?: number;
|
|
1407
|
+
readonly name: string;
|
|
1408
|
+
readonly note?: string;
|
|
1409
|
+
readonly note_attributes: io.flow.shopify.xborder.v0.models.ShopifyOrderAttribute[];
|
|
1410
|
+
readonly number?: number;
|
|
1411
|
+
readonly payment_gateway_names: string[];
|
|
1412
|
+
readonly processed_at?: string;
|
|
1413
|
+
readonly processing_method?: io.flow.shopify.xborder.v0.enums.ShopifyOrderProcessingMethodType;
|
|
1414
|
+
readonly referring_site?: string;
|
|
1415
|
+
readonly refunds: io.flow.shopify.xborder.v0.models.ShopifyOrderRefund[];
|
|
1416
|
+
readonly shipping_address?: io.flow.shopify.xborder.v0.models.ShopifyOrderAddress;
|
|
1417
|
+
readonly shipping_lines?: io.flow.shopify.xborder.v0.models.ShopifyOrderShippingLine[];
|
|
1418
|
+
readonly source_name?: string;
|
|
1419
|
+
readonly tags?: string;
|
|
1420
|
+
readonly tax_lines: io.flow.shopify.xborder.v0.models.ShopifyOrderTaxLine[];
|
|
1421
|
+
readonly taxes_included: boolean;
|
|
1422
|
+
readonly token?: string;
|
|
1423
|
+
readonly total_weight?: number;
|
|
1424
|
+
readonly updated_at?: string;
|
|
1425
|
+
readonly user_id?: number;
|
|
1426
|
+
readonly order_status_url?: string;
|
|
1427
|
+
readonly inventory_behaviour?: io.flow.shopify.xborder.v0.enums.ShopifyOrderInventoryBehaviour;
|
|
1428
|
+
readonly gateway?: string;
|
|
1429
|
+
readonly transactions?: io.flow.shopify.xborder.v0.models.ShopifyOrderTransaction[];
|
|
1430
|
+
readonly send_receipt?: boolean;
|
|
1431
|
+
readonly metafields?: io.flow.shopify.xborder.v0.models.ShopifyOrderMetafield[];
|
|
1432
|
+
}
|
|
1433
|
+
interface ShopifyWebhookRequest {
|
|
1434
|
+
readonly topic: io.flow.shopify.xborder.v0.enums.ShopifyWebhookTopic;
|
|
1435
|
+
readonly address: string;
|
|
1436
|
+
readonly format: io.flow.shopify.xborder.v0.enums.ShopifyWebhookFormat;
|
|
1437
|
+
}
|
|
1438
|
+
interface ShopifyWebhookRequestWrapper {
|
|
1439
|
+
readonly webhook: io.flow.shopify.xborder.v0.models.ShopifyWebhookRequest;
|
|
1440
|
+
}
|
|
1441
|
+
interface ShopifyWebhookResponse {
|
|
1442
|
+
readonly id: number;
|
|
1443
|
+
readonly address: string;
|
|
1444
|
+
readonly topic: io.flow.shopify.xborder.v0.enums.ShopifyWebhookTopic;
|
|
1445
|
+
readonly created_at: string;
|
|
1446
|
+
readonly updated_at: string;
|
|
1447
|
+
readonly format: io.flow.shopify.xborder.v0.enums.ShopifyWebhookFormat;
|
|
1448
|
+
readonly fields: any[];
|
|
1449
|
+
readonly metafield_namespaces: any[];
|
|
1450
|
+
readonly api_version: string;
|
|
1451
|
+
readonly private_metafield_namespaces: any[];
|
|
1452
|
+
}
|
|
1453
|
+
interface ShopifyWebhookResponseWrapper {
|
|
1454
|
+
readonly webhook: io.flow.shopify.xborder.v0.models.ShopifyWebhookResponse;
|
|
1455
|
+
}
|
|
1456
|
+
interface ShopifyWebhooksResponseWrapper {
|
|
1457
|
+
readonly webhooks: io.flow.shopify.xborder.v0.models.ShopifyWebhookResponse[];
|
|
1458
|
+
}
|
|
1459
|
+
}
|
|
1045
1460
|
declare namespace io.flow.reference.v0.enums {
|
|
1046
1461
|
type PaymentMethodCapability = 'credit' | 'debit';
|
|
1047
1462
|
type PaymentMethodType = 'card' | 'online' | 'offline';
|
|
1048
|
-
type
|
|
1463
|
+
type PostalType = 'eircode' | 'pin' | 'postal' | 'zip';
|
|
1464
|
+
type ProvinceType = 'area' | 'city' | 'county' | 'department' | 'dependency' | 'district' | 'do_si' | 'emirate' | 'entity' | 'island' | 'municipality' | 'oblast' | 'outlying_area' | 'parish' | 'prefecture' | 'province' | 'state' | 'territory' | 'other';
|
|
1049
1465
|
}
|
|
1050
1466
|
declare namespace io.flow.reference.v0.models {
|
|
1051
1467
|
interface Carrier {
|
|
@@ -1594,436 +2010,108 @@ declare namespace io.flow.RESERVED_WORD_return.v0.models {
|
|
|
1594
2010
|
interface ReturnItemReference {
|
|
1595
2011
|
readonly number: string;
|
|
1596
2012
|
}
|
|
1597
|
-
interface ReturnLineItem {
|
|
1598
|
-
readonly item_number: string;
|
|
1599
|
-
readonly order_number?: string;
|
|
1600
|
-
readonly quantity: number;
|
|
1601
|
-
readonly reason?: io.flow.RESERVED_WORD_return.v0.models.ReturnReason;
|
|
1602
|
-
readonly notes?: string;
|
|
1603
|
-
readonly attributes?: Record<string, string>;
|
|
1604
|
-
}
|
|
1605
|
-
interface ReturnOrderReference {
|
|
1606
|
-
readonly number: string;
|
|
1607
|
-
}
|
|
1608
|
-
interface ReturnReason {
|
|
1609
|
-
readonly name: string;
|
|
1610
|
-
}
|
|
1611
|
-
interface ReturnReasonForm {
|
|
1612
|
-
readonly name?: string;
|
|
1613
|
-
}
|
|
1614
|
-
interface ReturnReasonPutForm {
|
|
1615
|
-
readonly name?: string;
|
|
1616
|
-
}
|
|
1617
|
-
interface ReturnSourceExternalVendor {
|
|
1618
|
-
readonly discriminator: 'return_source_external_vendor';
|
|
1619
|
-
readonly key: string;
|
|
1620
|
-
}
|
|
1621
|
-
interface ReturnSourceFlow {
|
|
1622
|
-
readonly discriminator: 'return_source_flow';
|
|
1623
|
-
readonly attributes?: Record<string, string>;
|
|
1624
|
-
}
|
|
1625
|
-
interface ReturnVersion {
|
|
1626
|
-
readonly id: string;
|
|
1627
|
-
readonly timestamp: string;
|
|
1628
|
-
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
1629
|
-
readonly return: io.flow.RESERVED_WORD_return.v0.models.Return;
|
|
1630
|
-
}
|
|
1631
|
-
}
|
|
1632
|
-
declare namespace io.flow.RESERVED_WORD_return.v0.unions {
|
|
1633
|
-
type ReturnSource = io.flow.RESERVED_WORD_return.v0.models.ReturnSourceFlow | io.flow.RESERVED_WORD_return.v0.models.ReturnSourceExternalVendor;
|
|
1634
|
-
}
|
|
1635
|
-
declare namespace io.flow.harmonization.engine.internal.v0.enums {
|
|
1636
|
-
type StatisticType = 'time-to-classify' | 'time-to-classify-aggregated' | 'rate-source' | 'rate-freshness';
|
|
1637
|
-
}
|
|
1638
|
-
declare namespace io.flow.harmonization.engine.internal.v0.models {
|
|
1639
|
-
interface ClassificationRequeueRequest {
|
|
1640
|
-
readonly message: string;
|
|
1641
|
-
}
|
|
1642
|
-
interface RateDestinationFreshnessSummary {
|
|
1643
|
-
readonly destination: io.flow.reference.v0.models.Country;
|
|
1644
|
-
readonly percentage_updated: number;
|
|
1645
|
-
}
|
|
1646
|
-
interface RateFreshnessSummary {
|
|
1647
|
-
readonly discriminator: 'rate-freshness';
|
|
1648
|
-
readonly key: string;
|
|
1649
|
-
readonly updated_since: string;
|
|
1650
|
-
readonly destination_freshness_summaries: io.flow.harmonization.engine.internal.v0.models.RateDestinationFreshnessSummary[];
|
|
1651
|
-
}
|
|
1652
|
-
interface RateSourceCompositionSummary {
|
|
1653
|
-
readonly rate_name: string;
|
|
1654
|
-
readonly percentage_composition: number;
|
|
1655
|
-
}
|
|
1656
|
-
interface RateSourceSummary {
|
|
1657
|
-
readonly discriminator: 'rate-source';
|
|
1658
|
-
readonly key: string;
|
|
1659
|
-
readonly destination: io.flow.reference.v0.models.Country;
|
|
1660
|
-
readonly rate_source_composition_summaries: io.flow.harmonization.engine.internal.v0.models.RateSourceCompositionSummary[];
|
|
1661
|
-
}
|
|
1662
|
-
interface RequeueRequestForm {
|
|
1663
|
-
readonly product_ids?: string[];
|
|
1664
|
-
readonly hs6_codes?: string[];
|
|
1665
|
-
readonly preferred_item_type?: string;
|
|
1666
|
-
readonly ignore_classification_status: boolean;
|
|
1667
|
-
readonly select_mismatching_item_types: boolean;
|
|
1668
|
-
}
|
|
1669
|
-
interface TimeToClassify {
|
|
1670
|
-
readonly discriminator: 'time-to-classify';
|
|
1671
|
-
readonly key: string;
|
|
1672
|
-
readonly from: string;
|
|
1673
|
-
readonly to: string;
|
|
1674
|
-
readonly organization_id: string;
|
|
1675
|
-
readonly average_hours: number;
|
|
1676
|
-
readonly median_hours: number;
|
|
1677
|
-
readonly percentile_75_hours: number;
|
|
1678
|
-
readonly percentile_90_hours: number;
|
|
1679
|
-
readonly percentile_99_hours: number;
|
|
1680
|
-
}
|
|
1681
|
-
interface TimeToClassifyAggregated {
|
|
1682
|
-
readonly discriminator: 'time-to-classify-aggregated';
|
|
1683
|
-
readonly key: string;
|
|
1684
|
-
readonly from: string;
|
|
1685
|
-
readonly to: string;
|
|
1686
|
-
readonly average_hours: number;
|
|
1687
|
-
readonly median_hours: number;
|
|
1688
|
-
readonly percentile_75_hours: number;
|
|
1689
|
-
readonly percentile_90_hours: number;
|
|
1690
|
-
readonly percentile_99_hours: number;
|
|
1691
|
-
}
|
|
1692
|
-
interface UnclassifiedProductsPurgeRequest {
|
|
1693
|
-
readonly num_deleted_products: Record<string, number>;
|
|
1694
|
-
}
|
|
1695
|
-
}
|
|
1696
|
-
declare namespace io.flow.harmonization.engine.internal.v0.unions {
|
|
1697
|
-
type InternalHarmonizationStatistic = io.flow.harmonization.engine.internal.v0.models.TimeToClassify | io.flow.harmonization.engine.internal.v0.models.TimeToClassifyAggregated | io.flow.harmonization.engine.internal.v0.models.RateSourceSummary | io.flow.harmonization.engine.internal.v0.models.RateFreshnessSummary;
|
|
1698
|
-
}
|
|
1699
|
-
declare namespace io.flow.shopify.xborder.integration.test.v0.enums {
|
|
1700
|
-
type ShopifyOrderCancelReason = 'customer' | 'fraud' | 'inventory' | 'declined' | 'other';
|
|
1701
|
-
type ShopifyOrderDiscountAllocationMethod = 'across' | 'each' | 'one';
|
|
1702
|
-
type ShopifyOrderDiscountApplicationTargetSelection = 'all' | 'entitled' | 'explicit';
|
|
1703
|
-
type ShopifyOrderDiscountApplicationTargetType = 'line_item' | 'shipping_line';
|
|
1704
|
-
type ShopifyOrderDiscountApplicationType = 'automatic' | 'discount_code' | 'manual' | 'script';
|
|
1705
|
-
type ShopifyOrderDiscountApplicationValueType = 'fixed_amount' | 'percentage';
|
|
1706
|
-
type ShopifyOrderDiscountType = 'fixed_amount' | 'percentage' | 'shipping';
|
|
1707
|
-
type ShopifyOrderFinancialStatusType = 'pending' | 'authorized' | 'partially_paid' | 'paid' | 'partially_refunded' | 'refunded' | 'voided';
|
|
1708
|
-
type ShopifyOrderFulfillmentShipmentStatus = 'label_printed' | 'label_purchased' | 'attempted_delivery' | 'ready_for_pickup' | 'confirmed' | 'in_transit' | 'out_for_delivery' | 'delivered' | 'failure';
|
|
1709
|
-
type ShopifyOrderFulfillmentStatus = 'pending' | 'open' | 'success' | 'cancelled' | 'error' | 'failure';
|
|
1710
|
-
type ShopifyOrderFulfillmentStatusType = 'fulfilled' | 'null' | 'partial';
|
|
1711
|
-
type ShopifyOrderInventoryBehaviour = 'bypass' | 'decrement_ignoring_policy' | 'decrement_obeying_policy';
|
|
1712
|
-
type ShopifyOrderKindType = 'authorization' | 'capture' | 'sale' | 'void' | 'refund';
|
|
1713
|
-
type ShopifyOrderProcessingMethodType = 'checkout' | 'direct' | 'manual' | 'offsite' | 'express';
|
|
1714
|
-
type ShopifyOrderRestockType = 'no_restock' | 'cancel' | 'return';
|
|
1715
|
-
type ShopifyOrderStatusType = 'open' | 'closed' | 'cancelled' | 'any';
|
|
1716
|
-
type ShopifyOrderTransactionErrorCode = 'incorrect_number' | 'invalid_number' | 'invalid_expiry_date' | 'invalid_cvc' | 'expired_card' | 'incorrect_cvc' | 'incorrect_zip' | 'incorrect_address' | 'card_declined' | 'processing_error' | 'call_issuer' | 'pick_up_card';
|
|
1717
|
-
type ShopifyOrderTransactionStatus = 'pending' | 'failure' | 'success' | 'error';
|
|
1718
|
-
type ShopifyOrderValueType = 'string' | 'integer';
|
|
1719
|
-
}
|
|
1720
|
-
declare namespace io.flow.shopify.xborder.integration.test.v0.models {
|
|
1721
|
-
interface ShopifyOrder {
|
|
1722
|
-
readonly id: number;
|
|
1723
|
-
readonly order_number: number;
|
|
1724
|
-
readonly billing_address?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderAddress;
|
|
1725
|
-
readonly browser_ip?: string;
|
|
1726
|
-
readonly buyer_accepts_marketing: boolean;
|
|
1727
|
-
readonly cancel_reason?: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderCancelReason;
|
|
1728
|
-
readonly cancelled_at?: string;
|
|
1729
|
-
readonly cart_token?: string;
|
|
1730
|
-
readonly client_details: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderClientDetail;
|
|
1731
|
-
readonly closed_at?: string;
|
|
1732
|
-
readonly created_at: string;
|
|
1733
|
-
readonly currency: string;
|
|
1734
|
-
readonly total_discounts_set: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
|
|
1735
|
-
readonly current_total_discounts_set: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
|
|
1736
|
-
readonly total_duties_set?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
|
|
1737
|
-
readonly current_total_duties_set?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
|
|
1738
|
-
readonly original_total_duties_set?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
|
|
1739
|
-
readonly total_price_set: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
|
|
1740
|
-
readonly current_total_price_set: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
|
|
1741
|
-
readonly subtotal_price_set: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
|
|
1742
|
-
readonly current_subtotal_price_set: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
|
|
1743
|
-
readonly total_tax_set: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
|
|
1744
|
-
readonly current_total_tax_set: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
|
|
1745
|
-
readonly total_line_items_price_set: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
|
|
1746
|
-
readonly customer: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderCustomer;
|
|
1747
|
-
readonly customer_locale?: string;
|
|
1748
|
-
readonly discount_applications: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderDiscountApplication[];
|
|
1749
|
-
readonly discount_codes: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderDiscountCode[];
|
|
1750
|
-
readonly email?: string;
|
|
1751
|
-
readonly financial_status: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderFinancialStatusType;
|
|
1752
|
-
readonly fulfillments: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderFulfillment[];
|
|
1753
|
-
readonly fulfillment_status?: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderFulfillmentStatusType;
|
|
1754
|
-
readonly landing_site?: string;
|
|
1755
|
-
readonly line_items: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderLineItem[];
|
|
1756
|
-
readonly location_id?: number;
|
|
1757
|
-
readonly name: string;
|
|
1758
|
-
readonly note?: string;
|
|
1759
|
-
readonly note_attributes: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderAttribute[];
|
|
1760
|
-
readonly number?: number;
|
|
1761
|
-
readonly payment_gateway_names: string[];
|
|
1762
|
-
readonly processed_at?: string;
|
|
1763
|
-
readonly processing_method?: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderProcessingMethodType;
|
|
1764
|
-
readonly referring_site?: string;
|
|
1765
|
-
readonly refunds: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderRefund[];
|
|
1766
|
-
readonly shipping_address?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderAddress;
|
|
1767
|
-
readonly shipping_lines: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderShippingLine[];
|
|
1768
|
-
readonly source_name?: string;
|
|
1769
|
-
readonly tags?: string;
|
|
1770
|
-
readonly tax_lines: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderTaxLine[];
|
|
1771
|
-
readonly taxes_included: boolean;
|
|
1772
|
-
readonly token?: string;
|
|
1773
|
-
readonly total_weight?: number;
|
|
1774
|
-
readonly updated_at?: string;
|
|
1775
|
-
readonly user_id?: number;
|
|
1776
|
-
readonly order_status_url?: string;
|
|
1777
|
-
readonly inventory_behaviour?: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderInventoryBehaviour;
|
|
1778
|
-
readonly gateway?: string;
|
|
1779
|
-
readonly transactions?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderTransaction[];
|
|
1780
|
-
readonly send_receipt?: boolean;
|
|
1781
|
-
readonly metafields?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMetafield[];
|
|
1782
|
-
}
|
|
1783
|
-
interface ShopifyOrderAddress {
|
|
1784
|
-
readonly id?: number;
|
|
1785
|
-
readonly address1?: string;
|
|
1786
|
-
readonly address2?: string;
|
|
1787
|
-
readonly city?: string;
|
|
1788
|
-
readonly company?: string;
|
|
1789
|
-
readonly country?: string;
|
|
1790
|
-
readonly country_code?: string;
|
|
1791
|
-
readonly default?: boolean;
|
|
1792
|
-
readonly first_name?: string;
|
|
1793
|
-
readonly last_name?: string;
|
|
1794
|
-
readonly latitude?: number;
|
|
1795
|
-
readonly longitude?: number;
|
|
1796
|
-
readonly name?: string;
|
|
1797
|
-
readonly phone?: string;
|
|
1798
|
-
readonly province?: string;
|
|
1799
|
-
readonly province_code?: string;
|
|
1800
|
-
readonly zip?: string;
|
|
1801
|
-
}
|
|
1802
|
-
interface ShopifyOrderAttribute {
|
|
1803
|
-
readonly name: string;
|
|
1804
|
-
readonly value: string;
|
|
1805
|
-
}
|
|
1806
|
-
interface ShopifyOrderClientDetail {
|
|
1807
|
-
readonly accept_language?: string;
|
|
1808
|
-
readonly browser_height?: number;
|
|
1809
|
-
readonly browser_ip?: string;
|
|
1810
|
-
readonly browser_width?: number;
|
|
1811
|
-
readonly session_hash?: string;
|
|
1812
|
-
readonly user_agent?: string;
|
|
1813
|
-
}
|
|
1814
|
-
interface ShopifyOrderCustomer {
|
|
1815
|
-
readonly id?: number;
|
|
1816
|
-
readonly email?: string;
|
|
1817
|
-
readonly accepts_marketing?: boolean;
|
|
1818
|
-
readonly created_at?: string;
|
|
1819
|
-
readonly updated_at?: string;
|
|
1820
|
-
readonly first_name?: string;
|
|
1821
|
-
readonly last_name?: string;
|
|
1822
|
-
readonly orders_count?: number;
|
|
1823
|
-
readonly state?: string;
|
|
1824
|
-
readonly total_spent?: string;
|
|
1825
|
-
readonly last_order_id?: number;
|
|
1826
|
-
readonly note?: string;
|
|
1827
|
-
readonly verified_email?: boolean;
|
|
1828
|
-
readonly multipass_identifier?: string;
|
|
1829
|
-
readonly tax_exempt?: boolean;
|
|
1830
|
-
readonly tax_exemptions?: any[];
|
|
1831
|
-
readonly phone?: string;
|
|
1832
|
-
readonly tags?: string;
|
|
1833
|
-
readonly last_order_name?: string;
|
|
1834
|
-
readonly currency?: string;
|
|
1835
|
-
readonly addresses?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderAddress;
|
|
1836
|
-
readonly default_address?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderAddress;
|
|
1837
|
-
}
|
|
1838
|
-
interface ShopifyOrderDiscountAllocation {
|
|
1839
|
-
readonly amount: string;
|
|
1840
|
-
readonly discount_application_index: number;
|
|
1841
|
-
readonly amount_set: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
|
|
1842
|
-
}
|
|
1843
|
-
interface ShopifyOrderDiscountApplication {
|
|
1844
|
-
readonly type: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderDiscountApplicationType;
|
|
1845
|
-
readonly allocation_method: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderDiscountAllocationMethod;
|
|
1846
|
-
readonly code?: string;
|
|
1847
|
-
readonly description?: string;
|
|
1848
|
-
readonly target_selection: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderDiscountApplicationTargetSelection;
|
|
1849
|
-
readonly target_type: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderDiscountApplicationTargetType;
|
|
1850
|
-
readonly title?: string;
|
|
1851
|
-
readonly value: string;
|
|
1852
|
-
readonly value_type: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderDiscountApplicationValueType;
|
|
1853
|
-
}
|
|
1854
|
-
interface ShopifyOrderDiscountCode {
|
|
1855
|
-
readonly amount: string;
|
|
1856
|
-
readonly code: string;
|
|
1857
|
-
readonly type: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderDiscountType;
|
|
2013
|
+
interface ReturnLineItem {
|
|
2014
|
+
readonly item_number: string;
|
|
2015
|
+
readonly order_number?: string;
|
|
2016
|
+
readonly quantity: number;
|
|
2017
|
+
readonly reason?: io.flow.RESERVED_WORD_return.v0.models.ReturnReason;
|
|
2018
|
+
readonly notes?: string;
|
|
2019
|
+
readonly attributes?: Record<string, string>;
|
|
1858
2020
|
}
|
|
1859
|
-
interface
|
|
1860
|
-
readonly
|
|
1861
|
-
readonly harmonized_system_code: string;
|
|
1862
|
-
readonly country_code_of_origin: string;
|
|
1863
|
-
readonly presentment_money: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoney;
|
|
1864
|
-
readonly shop_money: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoney;
|
|
1865
|
-
readonly tax_lines: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderTaxLine[];
|
|
2021
|
+
interface ReturnOrderReference {
|
|
2022
|
+
readonly number: string;
|
|
1866
2023
|
}
|
|
1867
|
-
interface
|
|
1868
|
-
readonly created_at?: string;
|
|
1869
|
-
readonly id?: number;
|
|
1870
|
-
readonly line_items: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderLineItem[];
|
|
1871
|
-
readonly location_id: number;
|
|
2024
|
+
interface ReturnReason {
|
|
1872
2025
|
readonly name: string;
|
|
1873
|
-
readonly notify_customer?: boolean;
|
|
1874
|
-
readonly order_id?: number;
|
|
1875
|
-
readonly receipt?: any;
|
|
1876
|
-
readonly service: string;
|
|
1877
|
-
readonly shipment_status?: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderFulfillmentShipmentStatus;
|
|
1878
|
-
readonly status?: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderFulfillmentStatus;
|
|
1879
|
-
readonly tracking_company?: string;
|
|
1880
|
-
readonly tracking_number?: string;
|
|
1881
|
-
readonly tracking_numbers?: string[];
|
|
1882
|
-
readonly tracking_urls?: string[];
|
|
1883
|
-
readonly updated_at?: string;
|
|
1884
|
-
readonly variant_inventory_management?: string;
|
|
1885
2026
|
}
|
|
1886
|
-
interface
|
|
1887
|
-
readonly fulfillable_quantity?: number;
|
|
1888
|
-
readonly fulfillment_service: string;
|
|
1889
|
-
readonly fulfillment_status?: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderFulfillmentStatusType;
|
|
1890
|
-
readonly grams?: number;
|
|
1891
|
-
readonly id: number;
|
|
1892
|
-
readonly price?: string;
|
|
1893
|
-
readonly price_set?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
|
|
1894
|
-
readonly product_id?: number;
|
|
1895
|
-
readonly quantity: number;
|
|
1896
|
-
readonly requires_shipping: boolean;
|
|
1897
|
-
readonly sku?: string;
|
|
1898
|
-
readonly title?: string;
|
|
1899
|
-
readonly variant_id?: number;
|
|
1900
|
-
readonly variant_title?: string;
|
|
1901
|
-
readonly vendor?: string;
|
|
2027
|
+
interface ReturnReasonForm {
|
|
1902
2028
|
readonly name?: string;
|
|
1903
|
-
readonly gift_card: boolean;
|
|
1904
|
-
readonly properties: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderProperty[];
|
|
1905
|
-
readonly taxable: boolean;
|
|
1906
|
-
readonly tax_lines: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderTaxLine[];
|
|
1907
|
-
readonly tip_payment_gateway?: string;
|
|
1908
|
-
readonly tip_payment_method?: string;
|
|
1909
|
-
readonly total_discount?: string;
|
|
1910
|
-
readonly total_discount_set?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
|
|
1911
|
-
readonly discount_allocations?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderDiscountAllocation[];
|
|
1912
|
-
readonly origin_location: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderOriginLocation;
|
|
1913
|
-
readonly variant_inventory_management?: string;
|
|
1914
|
-
readonly product_exists?: boolean;
|
|
1915
|
-
readonly duties: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderDuty[];
|
|
1916
2029
|
}
|
|
1917
|
-
interface
|
|
1918
|
-
readonly
|
|
1919
|
-
readonly key: string;
|
|
1920
|
-
readonly namespace: string;
|
|
1921
|
-
readonly value: string;
|
|
1922
|
-
readonly value_type: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderValueType;
|
|
1923
|
-
readonly description?: string;
|
|
1924
|
-
readonly owner_id: number;
|
|
1925
|
-
readonly owner_resource: string;
|
|
2030
|
+
interface ReturnReasonPutForm {
|
|
2031
|
+
readonly name?: string;
|
|
1926
2032
|
}
|
|
1927
|
-
interface
|
|
2033
|
+
interface ReturnSourceExternalVendor {
|
|
2034
|
+
readonly discriminator: 'return_source_external_vendor';
|
|
1928
2035
|
readonly key: string;
|
|
1929
|
-
readonly namespace: string;
|
|
1930
|
-
readonly value: string;
|
|
1931
|
-
readonly value_type: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderValueType;
|
|
1932
|
-
readonly description?: string;
|
|
1933
|
-
}
|
|
1934
|
-
interface ShopifyOrderMoney {
|
|
1935
|
-
readonly amount: number;
|
|
1936
|
-
readonly currency_code: string;
|
|
1937
2036
|
}
|
|
1938
|
-
interface
|
|
1939
|
-
readonly
|
|
1940
|
-
readonly
|
|
2037
|
+
interface ReturnSourceFlow {
|
|
2038
|
+
readonly discriminator: 'return_source_flow';
|
|
2039
|
+
readonly attributes?: Record<string, string>;
|
|
1941
2040
|
}
|
|
1942
|
-
interface
|
|
1943
|
-
readonly id:
|
|
1944
|
-
readonly
|
|
1945
|
-
readonly
|
|
1946
|
-
readonly
|
|
1947
|
-
readonly address1: string;
|
|
1948
|
-
readonly address2: string;
|
|
1949
|
-
readonly city: string;
|
|
1950
|
-
readonly zip: string;
|
|
2041
|
+
interface ReturnVersion {
|
|
2042
|
+
readonly id: string;
|
|
2043
|
+
readonly timestamp: string;
|
|
2044
|
+
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
2045
|
+
readonly return: io.flow.RESERVED_WORD_return.v0.models.Return;
|
|
1951
2046
|
}
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
2047
|
+
}
|
|
2048
|
+
declare namespace io.flow.RESERVED_WORD_return.v0.unions {
|
|
2049
|
+
type ReturnSource = io.flow.RESERVED_WORD_return.v0.models.ReturnSourceFlow | io.flow.RESERVED_WORD_return.v0.models.ReturnSourceExternalVendor;
|
|
2050
|
+
}
|
|
2051
|
+
declare namespace io.flow.harmonization.engine.internal.v0.enums {
|
|
2052
|
+
type StatisticType = 'time-to-classify' | 'time-to-classify-aggregated' | 'rate-source' | 'rate-freshness';
|
|
2053
|
+
}
|
|
2054
|
+
declare namespace io.flow.harmonization.engine.internal.v0.models {
|
|
2055
|
+
interface ClassificationRequeueRequest {
|
|
2056
|
+
readonly message: string;
|
|
1958
2057
|
}
|
|
1959
|
-
interface
|
|
1960
|
-
readonly
|
|
1961
|
-
readonly
|
|
2058
|
+
interface RateDestinationFreshnessSummary {
|
|
2059
|
+
readonly destination: io.flow.reference.v0.models.Country;
|
|
2060
|
+
readonly percentage_updated: number;
|
|
1962
2061
|
}
|
|
1963
|
-
interface
|
|
1964
|
-
readonly
|
|
1965
|
-
readonly
|
|
1966
|
-
readonly
|
|
1967
|
-
readonly
|
|
1968
|
-
readonly note?: string;
|
|
1969
|
-
readonly refund_line_items?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderRefundLineItem[];
|
|
1970
|
-
readonly restock?: boolean;
|
|
1971
|
-
readonly transactions?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderTransaction[];
|
|
1972
|
-
readonly user_id?: number;
|
|
2062
|
+
interface RateFreshnessSummary {
|
|
2063
|
+
readonly discriminator: 'rate-freshness';
|
|
2064
|
+
readonly key: string;
|
|
2065
|
+
readonly updated_since: string;
|
|
2066
|
+
readonly destination_freshness_summaries: io.flow.harmonization.engine.internal.v0.models.RateDestinationFreshnessSummary[];
|
|
1973
2067
|
}
|
|
1974
|
-
interface
|
|
1975
|
-
readonly
|
|
1976
|
-
readonly
|
|
1977
|
-
readonly line_item_id: number;
|
|
1978
|
-
readonly quantity: number;
|
|
1979
|
-
readonly restock_type: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderRestockType;
|
|
1980
|
-
readonly location_id?: number;
|
|
1981
|
-
readonly subtotal?: number;
|
|
1982
|
-
readonly total_tax?: number;
|
|
2068
|
+
interface RateSourceCompositionSummary {
|
|
2069
|
+
readonly rate_name: string;
|
|
2070
|
+
readonly percentage_composition: number;
|
|
1983
2071
|
}
|
|
1984
|
-
interface
|
|
1985
|
-
readonly
|
|
1986
|
-
readonly
|
|
1987
|
-
readonly
|
|
1988
|
-
readonly
|
|
1989
|
-
readonly tax_lines: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderTaxLine[];
|
|
1990
|
-
readonly carrier_identifier?: string;
|
|
1991
|
-
readonly requested_fulfillment_service_id?: string;
|
|
1992
|
-
readonly price_set: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
|
|
1993
|
-
readonly discounted_price_set: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
|
|
2072
|
+
interface RateSourceSummary {
|
|
2073
|
+
readonly discriminator: 'rate-source';
|
|
2074
|
+
readonly key: string;
|
|
2075
|
+
readonly destination: io.flow.reference.v0.models.Country;
|
|
2076
|
+
readonly rate_source_composition_summaries: io.flow.harmonization.engine.internal.v0.models.RateSourceCompositionSummary[];
|
|
1994
2077
|
}
|
|
1995
|
-
interface
|
|
1996
|
-
readonly
|
|
1997
|
-
readonly
|
|
1998
|
-
readonly
|
|
2078
|
+
interface RequeueRequestForm {
|
|
2079
|
+
readonly product_ids?: string[];
|
|
2080
|
+
readonly hs6_codes?: string[];
|
|
2081
|
+
readonly preferred_item_type?: string;
|
|
2082
|
+
readonly ignore_classification_status: boolean;
|
|
2083
|
+
readonly select_mismatching_item_types: boolean;
|
|
1999
2084
|
}
|
|
2000
|
-
interface
|
|
2001
|
-
readonly
|
|
2002
|
-
readonly
|
|
2003
|
-
readonly
|
|
2004
|
-
readonly
|
|
2005
|
-
readonly
|
|
2006
|
-
readonly
|
|
2007
|
-
readonly
|
|
2008
|
-
readonly
|
|
2009
|
-
readonly
|
|
2010
|
-
readonly
|
|
2011
|
-
readonly created_at: string;
|
|
2012
|
-
readonly device_id?: number;
|
|
2013
|
-
readonly gift_card_id?: number;
|
|
2014
|
-
readonly source_name: string;
|
|
2015
|
-
readonly error_code?: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderTransactionErrorCode;
|
|
2016
|
-
readonly test: boolean;
|
|
2017
|
-
readonly parent_id?: number;
|
|
2018
|
-
readonly user_id?: number;
|
|
2085
|
+
interface TimeToClassify {
|
|
2086
|
+
readonly discriminator: 'time-to-classify';
|
|
2087
|
+
readonly key: string;
|
|
2088
|
+
readonly from: string;
|
|
2089
|
+
readonly to: string;
|
|
2090
|
+
readonly organization_id: string;
|
|
2091
|
+
readonly average_hours: number;
|
|
2092
|
+
readonly median_hours: number;
|
|
2093
|
+
readonly percentile_75_hours: number;
|
|
2094
|
+
readonly percentile_90_hours: number;
|
|
2095
|
+
readonly percentile_99_hours: number;
|
|
2019
2096
|
}
|
|
2020
|
-
interface
|
|
2021
|
-
readonly
|
|
2097
|
+
interface TimeToClassifyAggregated {
|
|
2098
|
+
readonly discriminator: 'time-to-classify-aggregated';
|
|
2099
|
+
readonly key: string;
|
|
2100
|
+
readonly from: string;
|
|
2101
|
+
readonly to: string;
|
|
2102
|
+
readonly average_hours: number;
|
|
2103
|
+
readonly median_hours: number;
|
|
2104
|
+
readonly percentile_75_hours: number;
|
|
2105
|
+
readonly percentile_90_hours: number;
|
|
2106
|
+
readonly percentile_99_hours: number;
|
|
2022
2107
|
}
|
|
2023
|
-
interface
|
|
2024
|
-
readonly
|
|
2108
|
+
interface UnclassifiedProductsPurgeRequest {
|
|
2109
|
+
readonly num_deleted_products: Record<string, number>;
|
|
2025
2110
|
}
|
|
2026
2111
|
}
|
|
2112
|
+
declare namespace io.flow.harmonization.engine.internal.v0.unions {
|
|
2113
|
+
type InternalHarmonizationStatistic = io.flow.harmonization.engine.internal.v0.models.TimeToClassify | io.flow.harmonization.engine.internal.v0.models.TimeToClassifyAggregated | io.flow.harmonization.engine.internal.v0.models.RateSourceSummary | io.flow.harmonization.engine.internal.v0.models.RateFreshnessSummary;
|
|
2114
|
+
}
|
|
2027
2115
|
declare namespace io.flow.catalog.internal.v0.models {
|
|
2028
2116
|
interface CatalogItemBatchIndexTask {
|
|
2029
2117
|
readonly discriminator: 'catalog_item_batch_index_task';
|
|
@@ -3552,7 +3640,7 @@ declare namespace io.flow.brickftp.v0.models {
|
|
|
3552
3640
|
readonly id: number;
|
|
3553
3641
|
readonly path: string;
|
|
3554
3642
|
readonly behavior: io.flow.brickftp.v0.enums.BehaviorType;
|
|
3555
|
-
readonly value:
|
|
3643
|
+
readonly value: string[];
|
|
3556
3644
|
}
|
|
3557
3645
|
interface BehaviorForm {
|
|
3558
3646
|
readonly path: string;
|
|
@@ -3684,10 +3772,6 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
3684
3772
|
readonly value: number;
|
|
3685
3773
|
readonly currency: string;
|
|
3686
3774
|
}
|
|
3687
|
-
interface Applepay {
|
|
3688
|
-
readonly type: 'applepay';
|
|
3689
|
-
readonly applePayToken: string;
|
|
3690
|
-
}
|
|
3691
3775
|
interface Authentication {
|
|
3692
3776
|
readonly 'threeds2.fingerprintToken'?: string;
|
|
3693
3777
|
readonly 'threeds2.challengeToken'?: string;
|
|
@@ -3868,7 +3952,7 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
3868
3952
|
readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
|
|
3869
3953
|
readonly origin?: string;
|
|
3870
3954
|
readonly channel?: io.flow.adyen.v0.enums.Channel;
|
|
3871
|
-
readonly
|
|
3955
|
+
readonly returnURL?: string;
|
|
3872
3956
|
}
|
|
3873
3957
|
interface PaymentResponse {
|
|
3874
3958
|
readonly resultCode: io.flow.adyen.v0.enums.ResultCode;
|
|
@@ -3941,7 +4025,7 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
3941
4025
|
}
|
|
3942
4026
|
declare namespace io.flow.adyen.v0.unions {
|
|
3943
4027
|
type BrowserInfo = io.flow.adyen.v0.models.BrowserInfo3Ds1 | io.flow.adyen.v0.models.BrowserInfo3Ds2;
|
|
3944
|
-
type PaymentMethodData = io.flow.adyen.v0.models.Scheme
|
|
4028
|
+
type PaymentMethodData = io.flow.adyen.v0.models.Scheme;
|
|
3945
4029
|
}
|
|
3946
4030
|
declare namespace io.flow.order.management.v0.enums {
|
|
3947
4031
|
type CancelReason = 'out_of_stock' | 'consumer_requested' | 'flow_cancel';
|
|
@@ -8190,6 +8274,13 @@ declare namespace io.flow.label.internal.v0.models {
|
|
|
8190
8274
|
readonly organization: string;
|
|
8191
8275
|
readonly default_contents: string;
|
|
8192
8276
|
}
|
|
8277
|
+
interface InvoiceInfoForm {
|
|
8278
|
+
readonly invoice_number: string;
|
|
8279
|
+
readonly invoice_date: string;
|
|
8280
|
+
readonly currency_code: string;
|
|
8281
|
+
readonly invoice_amount: string;
|
|
8282
|
+
readonly control_id?: string;
|
|
8283
|
+
}
|
|
8193
8284
|
interface LabelGenerationSettings {
|
|
8194
8285
|
readonly id: string;
|
|
8195
8286
|
readonly item_identifier?: string;
|
|
@@ -8201,6 +8292,41 @@ declare namespace io.flow.label.internal.v0.models {
|
|
|
8201
8292
|
readonly auto_generate_query?: string;
|
|
8202
8293
|
readonly commercial_invoice_only_query?: string;
|
|
8203
8294
|
}
|
|
8295
|
+
interface ShipperAccountInfoForm {
|
|
8296
|
+
readonly account_name?: string;
|
|
8297
|
+
readonly account_number: string;
|
|
8298
|
+
readonly postal: string;
|
|
8299
|
+
readonly country: string;
|
|
8300
|
+
readonly invoice_info?: io.flow.label.internal.v0.models.InvoiceInfoForm;
|
|
8301
|
+
}
|
|
8302
|
+
interface UpsLicense {
|
|
8303
|
+
readonly access_license_number: string;
|
|
8304
|
+
readonly address: io.flow.common.v0.models.BillingAddress;
|
|
8305
|
+
readonly contact: io.flow.common.v0.models.Contact;
|
|
8306
|
+
readonly secondary_contact?: io.flow.common.v0.models.Contact;
|
|
8307
|
+
readonly company_url: string;
|
|
8308
|
+
}
|
|
8309
|
+
interface UpsLicenseForm {
|
|
8310
|
+
readonly address: io.flow.common.v0.models.BillingAddress;
|
|
8311
|
+
readonly contact: io.flow.common.v0.models.Contact;
|
|
8312
|
+
readonly secondary_contact?: io.flow.common.v0.models.Contact;
|
|
8313
|
+
readonly developer_license_number: string;
|
|
8314
|
+
readonly company_url: string;
|
|
8315
|
+
}
|
|
8316
|
+
interface UpsRegistration {
|
|
8317
|
+
readonly username: string;
|
|
8318
|
+
readonly address: io.flow.common.v0.models.BillingAddress;
|
|
8319
|
+
readonly contact: io.flow.common.v0.models.Contact;
|
|
8320
|
+
readonly suggest_username_indicator?: string;
|
|
8321
|
+
}
|
|
8322
|
+
interface UpsRegistrationForm {
|
|
8323
|
+
readonly username: string;
|
|
8324
|
+
readonly password: string;
|
|
8325
|
+
readonly access_license_number: string;
|
|
8326
|
+
readonly address: io.flow.common.v0.models.BillingAddress;
|
|
8327
|
+
readonly contact: io.flow.common.v0.models.Contact;
|
|
8328
|
+
readonly shipper_account?: io.flow.label.internal.v0.models.ShipperAccountInfoForm;
|
|
8329
|
+
}
|
|
8204
8330
|
}
|
|
8205
8331
|
declare namespace io.flow.catalog.v0.enums {
|
|
8206
8332
|
type AdjustmentReasonKey = 'duty_deminimis' | 'vat_deminimis';
|
|
@@ -8719,6 +8845,7 @@ declare namespace io.flow.item.v0.models {
|
|
|
8719
8845
|
readonly item: io.flow.common.v0.models.CatalogItemReference;
|
|
8720
8846
|
readonly pricing: io.flow.item.v0.models.LocalItemPricing;
|
|
8721
8847
|
readonly status: io.flow.catalog.v0.enums.SubcatalogItemStatus;
|
|
8848
|
+
readonly attributes?: Record<string, string>;
|
|
8722
8849
|
}
|
|
8723
8850
|
interface LocalItemAttributePricing {
|
|
8724
8851
|
readonly pretax_price: io.flow.common.v0.models.PriceWithBase;
|
|
@@ -12715,6 +12842,10 @@ declare namespace io.flow.checkout.backend.v0.models {
|
|
|
12715
12842
|
readonly discriminator: 'static';
|
|
12716
12843
|
readonly message: string;
|
|
12717
12844
|
}
|
|
12845
|
+
interface CheckoutDirectAuthorizationRequirement {
|
|
12846
|
+
readonly discriminator: 'checkout_direct_authorization_requirement';
|
|
12847
|
+
readonly authorization_result: io.flow.payment.v0.models.AuthorizationResult;
|
|
12848
|
+
}
|
|
12718
12849
|
interface CheckoutDirectDebit {
|
|
12719
12850
|
readonly discriminator: 'checkout_direct_debit';
|
|
12720
12851
|
readonly routing_number: string;
|
|
@@ -12739,6 +12870,13 @@ declare namespace io.flow.checkout.backend.v0.models {
|
|
|
12739
12870
|
interface CheckoutHostedConfirmationPage {
|
|
12740
12871
|
readonly url: string;
|
|
12741
12872
|
}
|
|
12873
|
+
interface CheckoutInitiateDirectPaymentForm {
|
|
12874
|
+
readonly discriminator: 'initiate_direct_payment_form';
|
|
12875
|
+
readonly token: string;
|
|
12876
|
+
readonly redirect_urls?: io.flow.payment.v0.models.PostPaymentRedirectUrls;
|
|
12877
|
+
readonly browser_info?: io.flow.payment.v0.models.BrowserInfo;
|
|
12878
|
+
readonly inline_action_configuration?: io.flow.payment.v0.unions.InlineActionConfiguration;
|
|
12879
|
+
}
|
|
12742
12880
|
interface CheckoutInitiateInlinePaymentForm {
|
|
12743
12881
|
readonly discriminator: 'initiate_inline_payment_form';
|
|
12744
12882
|
readonly payment_method_id: string;
|
|
@@ -13031,13 +13169,13 @@ declare namespace io.flow.checkout.backend.v0.models {
|
|
|
13031
13169
|
declare namespace io.flow.checkout.backend.v0.unions {
|
|
13032
13170
|
type CheckoutConfirmationDetails = io.flow.checkout.backend.v0.models.CheckoutDirectDebit;
|
|
13033
13171
|
type CheckoutDeliveryWindow = io.flow.checkout.backend.v0.models.CheckoutDeliveryWindowStatic | io.flow.checkout.backend.v0.models.CheckoutDeliveryWindowEstimate;
|
|
13034
|
-
type CheckoutInitiatePaymentForm = io.flow.checkout.backend.v0.models.CheckoutInitiateRedirectPaymentForm | io.flow.checkout.backend.v0.models.CheckoutInitiateInlinePaymentForm;
|
|
13172
|
+
type CheckoutInitiatePaymentForm = io.flow.checkout.backend.v0.models.CheckoutInitiateRedirectPaymentForm | io.flow.checkout.backend.v0.models.CheckoutInitiateInlinePaymentForm | io.flow.checkout.backend.v0.models.CheckoutInitiateDirectPaymentForm;
|
|
13035
13173
|
type CheckoutOrder = io.flow.checkout.backend.v0.models.CheckoutOpenOrder | io.flow.checkout.backend.v0.models.CheckoutSubmittedOrder;
|
|
13036
13174
|
type CheckoutOrderDeliveryOption = io.flow.checkout.backend.v0.models.CheckoutOrderDigitalDeliveryOption | io.flow.checkout.backend.v0.models.CheckoutOrderPhysicalDeliveryOption;
|
|
13037
13175
|
type CheckoutOrderFormPaymentDataGroup = io.flow.checkout.backend.v0.models.CheckoutOrderFormPaymentDataGroupSingle | io.flow.checkout.backend.v0.models.CheckoutOrderFormPaymentDataGroupMulti;
|
|
13038
13176
|
type CheckoutOrderPayment = io.flow.checkout.backend.v0.models.CheckoutOrderPaymentCard | io.flow.checkout.backend.v0.models.CheckoutOrderPaymentGiftCard | io.flow.checkout.backend.v0.models.CheckoutOrderPaymentOnline;
|
|
13039
13177
|
type CheckoutOrderPromotion = io.flow.checkout.backend.v0.models.CheckoutOrderPromotionDiscount | io.flow.checkout.backend.v0.models.CheckoutOrderPromotionFreeShipping;
|
|
13040
|
-
type CheckoutPaymentActionRequirement = io.flow.checkout.backend.v0.models.CheckoutRedirectAuthorizationRequirement | io.flow.checkout.backend.v0.models.CheckoutInlineAuthorizationRequirement;
|
|
13178
|
+
type CheckoutPaymentActionRequirement = io.flow.checkout.backend.v0.models.CheckoutRedirectAuthorizationRequirement | io.flow.checkout.backend.v0.models.CheckoutInlineAuthorizationRequirement | io.flow.checkout.backend.v0.models.CheckoutDirectAuthorizationRequirement;
|
|
13041
13179
|
type CheckoutPaymentDetailsForm = io.flow.checkout.backend.v0.models.CheckoutPaypalAuthorizationPayload | io.flow.checkout.backend.v0.models.CheckoutGooglePayAuthorizationPayload | io.flow.checkout.backend.v0.models.CheckoutCreditPaymentPayload;
|
|
13042
13180
|
type CheckoutPrice = io.flow.checkout.backend.v0.models.CheckoutPriceFree | io.flow.checkout.backend.v0.models.CheckoutPriceNotYetKnown | io.flow.checkout.backend.v0.models.CheckoutPriceIncluded | io.flow.checkout.backend.v0.models.CheckoutPriceStandard;
|
|
13043
13181
|
}
|
|
@@ -15132,6 +15270,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15132
15270
|
readonly discriminator: 'static';
|
|
15133
15271
|
readonly message: string;
|
|
15134
15272
|
}
|
|
15273
|
+
interface CheckoutDirectAuthorizationRequirement {
|
|
15274
|
+
readonly discriminator: 'checkout_direct_authorization_requirement';
|
|
15275
|
+
readonly authorization_result: io.flow.payment.v0.models.AuthorizationResult;
|
|
15276
|
+
}
|
|
15135
15277
|
interface CheckoutDirectDebit {
|
|
15136
15278
|
readonly discriminator: 'checkout_direct_debit';
|
|
15137
15279
|
readonly routing_number: string;
|
|
@@ -15334,6 +15476,13 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15334
15476
|
readonly discriminator: 'checkout_info_public_key';
|
|
15335
15477
|
readonly data: io.flow.payment.v0.models.PublicKey;
|
|
15336
15478
|
}
|
|
15479
|
+
interface CheckoutInitiateDirectPaymentForm {
|
|
15480
|
+
readonly discriminator: 'initiate_direct_payment_form';
|
|
15481
|
+
readonly token: string;
|
|
15482
|
+
readonly redirect_urls?: io.flow.payment.v0.models.PostPaymentRedirectUrls;
|
|
15483
|
+
readonly browser_info?: io.flow.payment.v0.models.BrowserInfo;
|
|
15484
|
+
readonly inline_action_configuration?: io.flow.payment.v0.unions.InlineActionConfiguration;
|
|
15485
|
+
}
|
|
15337
15486
|
interface CheckoutInitiateInlinePaymentForm {
|
|
15338
15487
|
readonly discriminator: 'initiate_inline_payment_form';
|
|
15339
15488
|
readonly payment_method_id: string;
|
|
@@ -18743,7 +18892,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18743
18892
|
readonly event_id: string;
|
|
18744
18893
|
readonly timestamp: string;
|
|
18745
18894
|
readonly organization: string;
|
|
18746
|
-
readonly
|
|
18895
|
+
readonly id: string;
|
|
18747
18896
|
}
|
|
18748
18897
|
interface LocalizedPriceBookItemUpserted {
|
|
18749
18898
|
readonly discriminator: 'localized_price_book_item_upserted';
|
|
@@ -21186,7 +21335,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21186
21335
|
readonly action: io.flow.internal.v0.enums.OrderAction;
|
|
21187
21336
|
}
|
|
21188
21337
|
interface XborderOrder {
|
|
21189
|
-
readonly shopify_order: io.flow.shopify.xborder.
|
|
21338
|
+
readonly shopify_order: io.flow.shopify.xborder.v0.models.ShopifyOrder;
|
|
21190
21339
|
readonly flow_authorization: io.flow.payment.v0.unions.Authorization;
|
|
21191
21340
|
}
|
|
21192
21341
|
}
|
|
@@ -21207,14 +21356,14 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
21207
21356
|
type CheckoutForm = io.flow.internal.v0.models.CheckoutOrderForm | io.flow.internal.v0.models.CheckoutOrderNumberForm;
|
|
21208
21357
|
type CheckoutGetResponse = io.flow.internal.v0.models.CheckoutGetResponseError | io.flow.internal.v0.models.CheckoutGetResponseSuccess;
|
|
21209
21358
|
type CheckoutInfo = io.flow.internal.v0.models.CheckoutInfoAddressConfigurationFormData | io.flow.internal.v0.models.CheckoutInfoAddressPredictions | io.flow.internal.v0.models.CheckoutInfoAnalyticsOrder | io.flow.internal.v0.models.CheckoutInfoAnalyticsSession | io.flow.internal.v0.models.CheckoutInfoContent | io.flow.internal.v0.models.CheckoutInfoCountriesFormData | io.flow.internal.v0.models.CheckoutInfoDeliveriesFormData | io.flow.internal.v0.models.CheckoutInfoHostedConfirmationPage | io.flow.internal.v0.models.CheckoutInfoMustUseOrder | io.flow.internal.v0.models.CheckoutInfoNationalIdNumberConfigurationFormData | io.flow.internal.v0.models.CheckoutInfoOptins | io.flow.internal.v0.models.CheckoutInfoOrderSummary | io.flow.internal.v0.models.CheckoutInfoPaymentDetails | io.flow.internal.v0.models.CheckoutInfoPaymentsFormData | io.flow.internal.v0.models.CheckoutInfoPublicKey;
|
|
21210
|
-
type CheckoutInitiatePaymentForm = io.flow.internal.v0.models.CheckoutInitiateRedirectPaymentForm | io.flow.internal.v0.models.CheckoutInitiateInlinePaymentForm;
|
|
21359
|
+
type CheckoutInitiatePaymentForm = io.flow.internal.v0.models.CheckoutInitiateRedirectPaymentForm | io.flow.internal.v0.models.CheckoutInitiateInlinePaymentForm | io.flow.internal.v0.models.CheckoutInitiateDirectPaymentForm;
|
|
21211
21360
|
type CheckoutInput = io.flow.internal.v0.models.CheckoutInputAddAttributes | io.flow.internal.v0.models.CheckoutInputDeleteAddressStreet | io.flow.internal.v0.models.CheckoutInputSetAddressCity | io.flow.internal.v0.models.CheckoutInputSetAddressCountry | io.flow.internal.v0.models.CheckoutInputSetAddressName | io.flow.internal.v0.models.CheckoutInputSetAddressPostal | io.flow.internal.v0.models.CheckoutInputSetAddressProvince | io.flow.internal.v0.models.CheckoutInputSetAddressStreet | io.flow.internal.v0.models.CheckoutInputSetAttributes | io.flow.internal.v0.models.CheckoutInputSetContactEmail | io.flow.internal.v0.models.CheckoutInputSetContactPhone | io.flow.internal.v0.models.CheckoutInputSetCurrency | io.flow.internal.v0.models.CheckoutInputSetDeliveryOption | io.flow.internal.v0.models.CheckoutInputSetLanguage | io.flow.internal.v0.models.CheckoutInputSetLocale | io.flow.internal.v0.models.CheckoutInputSetNationalIdNumber | io.flow.internal.v0.models.CheckoutInputSetOptinPrompt;
|
|
21212
21361
|
type CheckoutOrder = io.flow.internal.v0.models.CheckoutOpenOrder | io.flow.internal.v0.models.CheckoutSubmittedOrder;
|
|
21213
21362
|
type CheckoutOrderDeliveryOption = io.flow.internal.v0.models.CheckoutOrderDigitalDeliveryOption | io.flow.internal.v0.models.CheckoutOrderPhysicalDeliveryOption;
|
|
21214
21363
|
type CheckoutOrderFormPaymentDataGroup = io.flow.internal.v0.models.CheckoutOrderFormPaymentDataGroupSingle | io.flow.internal.v0.models.CheckoutOrderFormPaymentDataGroupMulti;
|
|
21215
21364
|
type CheckoutOrderPayment = io.flow.internal.v0.models.CheckoutOrderPaymentCard | io.flow.internal.v0.models.CheckoutOrderPaymentGiftCard | io.flow.internal.v0.models.CheckoutOrderPaymentOnline;
|
|
21216
21365
|
type CheckoutOrderPromotion = io.flow.internal.v0.models.CheckoutOrderPromotionDiscount | io.flow.internal.v0.models.CheckoutOrderPromotionFreeShipping;
|
|
21217
|
-
type CheckoutPaymentActionRequirement = io.flow.internal.v0.models.CheckoutRedirectAuthorizationRequirement | io.flow.internal.v0.models.CheckoutInlineAuthorizationRequirement;
|
|
21366
|
+
type CheckoutPaymentActionRequirement = io.flow.internal.v0.models.CheckoutRedirectAuthorizationRequirement | io.flow.internal.v0.models.CheckoutInlineAuthorizationRequirement | io.flow.internal.v0.models.CheckoutDirectAuthorizationRequirement;
|
|
21218
21367
|
type CheckoutPaymentDetailsForm = io.flow.internal.v0.models.CheckoutPaypalAuthorizationPayload | io.flow.internal.v0.models.CheckoutGooglePayAuthorizationPayload | io.flow.internal.v0.models.CheckoutCreditPaymentPayload;
|
|
21219
21368
|
type CheckoutPrice = io.flow.internal.v0.models.CheckoutPriceFree | io.flow.internal.v0.models.CheckoutPriceNotYetKnown | io.flow.internal.v0.models.CheckoutPriceIncluded | io.flow.internal.v0.models.CheckoutPriceStandard;
|
|
21220
21369
|
type CheckoutRequestForm = io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsRequestForm | io.flow.internal.v0.models.CheckoutCreateBySessionRequestForm | io.flow.internal.v0.models.CheckoutFeaturesRequestForm | io.flow.internal.v0.models.CheckoutGetRequestForm;
|
|
@@ -21580,6 +21729,7 @@ export declare type CheckoutDeliveryWindow = io.flow.internal.v0.unions.Checkout
|
|
|
21580
21729
|
export declare type CheckoutDeliveryWindowEstimate = io.flow.internal.v0.models.CheckoutDeliveryWindowEstimate;
|
|
21581
21730
|
export declare type CheckoutDeliveryWindowEstimateDays = io.flow.internal.v0.models.CheckoutDeliveryWindowEstimateDays;
|
|
21582
21731
|
export declare type CheckoutDeliveryWindowStatic = io.flow.internal.v0.models.CheckoutDeliveryWindowStatic;
|
|
21732
|
+
export declare type CheckoutDirectAuthorizationRequirement = io.flow.internal.v0.models.CheckoutDirectAuthorizationRequirement;
|
|
21583
21733
|
export declare type CheckoutDirectDebit = io.flow.internal.v0.models.CheckoutDirectDebit;
|
|
21584
21734
|
export declare type CheckoutError = io.flow.internal.v0.models.CheckoutError;
|
|
21585
21735
|
export declare type CheckoutErrorCode = io.flow.internal.v0.enums.CheckoutErrorCode;
|
|
@@ -21643,6 +21793,7 @@ export declare type CheckoutInfoPaymentsFormData = io.flow.internal.v0.models.Ch
|
|
|
21643
21793
|
export declare type CheckoutInfoPaymentsFormDataKey = io.flow.internal.v0.models.CheckoutInfoPaymentsFormDataKey;
|
|
21644
21794
|
export declare type CheckoutInfoPaymentsFormDataKeyField = io.flow.internal.v0.enums.CheckoutInfoPaymentsFormDataKeyField;
|
|
21645
21795
|
export declare type CheckoutInfoPublicKey = io.flow.internal.v0.models.CheckoutInfoPublicKey;
|
|
21796
|
+
export declare type CheckoutInitiateDirectPaymentForm = io.flow.internal.v0.models.CheckoutInitiateDirectPaymentForm;
|
|
21646
21797
|
export declare type CheckoutInitiateInlinePaymentForm = io.flow.internal.v0.models.CheckoutInitiateInlinePaymentForm;
|
|
21647
21798
|
export declare type CheckoutInitiatePaymentError = io.flow.internal.v0.models.CheckoutInitiatePaymentError;
|
|
21648
21799
|
export declare type CheckoutInitiatePaymentErrorCode = io.flow.internal.v0.enums.CheckoutInitiatePaymentErrorCode;
|