@flowio/types 11.10.1 → 11.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-internal.d.ts +728 -4
- package/dist/api.d.ts +6 -1
- package/package.json +2 -2
- package/src/api-internal.ts +893 -4
- package/src/api.ts +12 -0
package/dist/api-internal.d.ts
CHANGED
|
@@ -73,6 +73,119 @@ declare namespace io.flow.tracking.internal.v0.models {
|
|
|
73
73
|
declare namespace io.flow.tracking.internal.v0.unions {
|
|
74
74
|
type CarrierCredentials = io.flow.tracking.internal.v0.models.SfExpress | io.flow.tracking.internal.v0.models.DhlEcommerce | io.flow.tracking.internal.v0.models.Landmark | io.flow.tracking.internal.v0.models.Dhl | io.flow.tracking.internal.v0.models.FedexCrossborder | io.flow.tracking.internal.v0.models.Ups | io.flow.tracking.internal.v0.models.Fedex;
|
|
75
75
|
}
|
|
76
|
+
declare namespace io.flow.ups.license.v0.models {
|
|
77
|
+
interface AccessLicenceAgreementRequest {
|
|
78
|
+
readonly Request: io.flow.ups.license.v0.models.UpsLicenseRequest;
|
|
79
|
+
readonly DeveloperLicenseNumber: string;
|
|
80
|
+
readonly AccessLicenseProfile: io.flow.ups.license.v0.models.AccessLicenseProfile;
|
|
81
|
+
}
|
|
82
|
+
interface AccessLicenceAgreementRequestWrapper {
|
|
83
|
+
readonly UPSSecurity: io.flow.ups.license.v0.models.UpsSecurity;
|
|
84
|
+
readonly AccessLicenseAgreementRequest: io.flow.ups.license.v0.models.AccessLicenceAgreementRequest;
|
|
85
|
+
}
|
|
86
|
+
interface AccessLicenceAgreementResponse {
|
|
87
|
+
readonly Response: io.flow.ups.license.v0.models.UpsLicenseResponse;
|
|
88
|
+
readonly AccessLicenseText: string;
|
|
89
|
+
}
|
|
90
|
+
interface AccessLicenceAgreementResponseWrapper {
|
|
91
|
+
readonly AccessLicenseAgreementResponse?: io.flow.ups.license.v0.models.AccessLicenceAgreementResponse;
|
|
92
|
+
readonly Fault?: io.flow.ups.license.v0.models.Fault;
|
|
93
|
+
}
|
|
94
|
+
interface AccessLicenceRequest {
|
|
95
|
+
readonly Request: io.flow.ups.license.v0.models.UpsLicenseRequest;
|
|
96
|
+
readonly CompanyName: string;
|
|
97
|
+
readonly Address: io.flow.ups.license.v0.models.RequestAddress;
|
|
98
|
+
readonly PrimaryContact: io.flow.ups.license.v0.models.RequestContact;
|
|
99
|
+
readonly SecondaryContact?: io.flow.ups.license.v0.models.RequestContact;
|
|
100
|
+
readonly CompanyURL: string;
|
|
101
|
+
readonly ShipperNumber?: string;
|
|
102
|
+
readonly DeveloperLicenseNumber: string;
|
|
103
|
+
readonly AccessLicenseProfile: io.flow.ups.license.v0.models.AccessLicenseProfile;
|
|
104
|
+
readonly ClientSoftwareProfile: io.flow.ups.license.v0.models.ClientSoftwareProfile;
|
|
105
|
+
}
|
|
106
|
+
interface AccessLicenceResponse {
|
|
107
|
+
readonly Response?: io.flow.ups.license.v0.models.UpsLicenseResponse;
|
|
108
|
+
readonly AccessLicenseNumber?: string;
|
|
109
|
+
}
|
|
110
|
+
interface AccessLicenseProfile {
|
|
111
|
+
readonly CountryCode: string;
|
|
112
|
+
readonly LanguageCode: string;
|
|
113
|
+
readonly AccessLicenseText?: string;
|
|
114
|
+
}
|
|
115
|
+
interface AccessLicenseRequestWrapper {
|
|
116
|
+
readonly UPSSecurity: io.flow.ups.license.v0.models.UpsSecurity;
|
|
117
|
+
readonly AccessLicenseRequest: io.flow.ups.license.v0.models.AccessLicenceRequest;
|
|
118
|
+
}
|
|
119
|
+
interface AccessLicenseResponseWrapper {
|
|
120
|
+
readonly AccessLicenseResponse?: io.flow.ups.license.v0.models.AccessLicenceResponse;
|
|
121
|
+
readonly Fault?: io.flow.ups.license.v0.models.Fault;
|
|
122
|
+
}
|
|
123
|
+
interface ClientSoftwareProfile {
|
|
124
|
+
readonly SoftwareInstaller: string;
|
|
125
|
+
readonly SoftwareProductName: string;
|
|
126
|
+
readonly SoftwareProvider: string;
|
|
127
|
+
readonly SoftwareVersionNumber: string;
|
|
128
|
+
}
|
|
129
|
+
interface Fault {
|
|
130
|
+
readonly faultcode: string;
|
|
131
|
+
readonly faultstring: string;
|
|
132
|
+
readonly detail: io.flow.ups.license.v0.models.UpsLicenseDetail;
|
|
133
|
+
}
|
|
134
|
+
interface PrimaryErrorCode {
|
|
135
|
+
readonly Code: string;
|
|
136
|
+
readonly Description: string;
|
|
137
|
+
}
|
|
138
|
+
interface RequestAddress {
|
|
139
|
+
readonly AddressLine1: string;
|
|
140
|
+
readonly AddressLine2?: string;
|
|
141
|
+
readonly AddressLine3?: string;
|
|
142
|
+
readonly City: string;
|
|
143
|
+
readonly StateProvinceCode: string;
|
|
144
|
+
readonly PostalCode: string;
|
|
145
|
+
readonly CountryCode: string;
|
|
146
|
+
}
|
|
147
|
+
interface RequestContact {
|
|
148
|
+
readonly Name: string;
|
|
149
|
+
readonly Title: string;
|
|
150
|
+
readonly EMailAddress: string;
|
|
151
|
+
readonly PhoneNumber: string;
|
|
152
|
+
readonly FaxNumber?: string;
|
|
153
|
+
}
|
|
154
|
+
interface TransactionReference {
|
|
155
|
+
readonly CustomerContext: string;
|
|
156
|
+
readonly TransactionIdentifier?: string;
|
|
157
|
+
}
|
|
158
|
+
interface UpsLicenseDetail {
|
|
159
|
+
readonly Errors: io.flow.ups.license.v0.models.UpsLicenseErrors;
|
|
160
|
+
}
|
|
161
|
+
interface UpsLicenseErrorDetail {
|
|
162
|
+
readonly Severity: string;
|
|
163
|
+
readonly PrimaryErrorCode: io.flow.ups.license.v0.models.PrimaryErrorCode;
|
|
164
|
+
}
|
|
165
|
+
interface UpsLicenseErrors {
|
|
166
|
+
readonly ErrorDetail: io.flow.ups.license.v0.models.UpsLicenseErrorDetail;
|
|
167
|
+
}
|
|
168
|
+
interface UpsLicenseRequest {
|
|
169
|
+
readonly RequestOption: string;
|
|
170
|
+
readonly TransactionReference: io.flow.ups.license.v0.models.TransactionReference;
|
|
171
|
+
}
|
|
172
|
+
interface UpsLicenseResponse {
|
|
173
|
+
readonly ResponseStatus: io.flow.ups.license.v0.models.UpsLicenseResponseStatus;
|
|
174
|
+
readonly TransactionReference: io.flow.ups.license.v0.models.TransactionReference;
|
|
175
|
+
}
|
|
176
|
+
interface UpsLicenseResponseStatus {
|
|
177
|
+
readonly Code: string;
|
|
178
|
+
readonly Description: string;
|
|
179
|
+
}
|
|
180
|
+
interface UpsSecurity {
|
|
181
|
+
readonly UsernameToken: io.flow.ups.license.v0.models.UsernameToken;
|
|
182
|
+
readonly ServiceAccessToken: string;
|
|
183
|
+
}
|
|
184
|
+
interface UsernameToken {
|
|
185
|
+
readonly Username: string;
|
|
186
|
+
readonly Password: string;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
76
189
|
declare namespace io.flow.item.dimension.estimate.v0.models {
|
|
77
190
|
interface ItemDimensionEstimate {
|
|
78
191
|
readonly id: string;
|
|
@@ -929,6 +1042,419 @@ declare namespace io.flow.experience.v0.unions {
|
|
|
929
1042
|
};
|
|
930
1043
|
type Promotion = io.flow.experience.v0.models.FreeShipping | io.flow.experience.v0.models.Discount;
|
|
931
1044
|
}
|
|
1045
|
+
declare namespace io.flow.shopify.xborder.v0.enums {
|
|
1046
|
+
type ShopifyOrderCancelReason = 'customer' | 'fraud' | 'inventory' | 'declined' | 'other';
|
|
1047
|
+
type ShopifyOrderDiscountAllocationMethod = 'across' | 'each' | 'one';
|
|
1048
|
+
type ShopifyOrderDiscountApplicationTargetSelection = 'all' | 'entitled' | 'explicit';
|
|
1049
|
+
type ShopifyOrderDiscountApplicationTargetType = 'line_item' | 'shipping_line';
|
|
1050
|
+
type ShopifyOrderDiscountApplicationType = 'automatic' | 'discount_code' | 'manual' | 'script';
|
|
1051
|
+
type ShopifyOrderDiscountApplicationValueType = 'fixed_amount' | 'percentage';
|
|
1052
|
+
type ShopifyOrderDiscountType = 'fixed_amount' | 'percentage' | 'shipping';
|
|
1053
|
+
type ShopifyOrderFinancialStatusType = 'pending' | 'authorized' | 'partially_paid' | 'paid' | 'partially_refunded' | 'refunded' | 'voided';
|
|
1054
|
+
type ShopifyOrderFulfillmentShipmentStatus = 'label_printed' | 'label_purchased' | 'attempted_delivery' | 'ready_for_pickup' | 'confirmed' | 'in_transit' | 'out_for_delivery' | 'delivered' | 'failure';
|
|
1055
|
+
type ShopifyOrderFulfillmentStatus = 'pending' | 'open' | 'success' | 'cancelled' | 'error' | 'failure';
|
|
1056
|
+
type ShopifyOrderFulfillmentStatusType = 'fulfilled' | 'null' | 'partial';
|
|
1057
|
+
type ShopifyOrderInventoryBehaviour = 'bypass' | 'decrement_ignoring_policy' | 'decrement_obeying_policy';
|
|
1058
|
+
type ShopifyOrderKindType = 'authorization' | 'capture' | 'sale' | 'void' | 'refund';
|
|
1059
|
+
type ShopifyOrderProcessingMethodType = 'checkout' | 'direct' | 'manual' | 'offsite' | 'express';
|
|
1060
|
+
type ShopifyOrderRestockType = 'no_restock' | 'cancel' | 'return';
|
|
1061
|
+
type ShopifyOrderStatusType = 'open' | 'closed' | 'cancelled' | 'any';
|
|
1062
|
+
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';
|
|
1063
|
+
type ShopifyOrderTransactionStatus = 'pending' | 'failure' | 'success' | 'error';
|
|
1064
|
+
type ShopifyOrderValueType = 'string' | 'integer';
|
|
1065
|
+
type ShopifyWebhookFormat = 'json' | 'xml';
|
|
1066
|
+
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';
|
|
1067
|
+
}
|
|
1068
|
+
declare namespace io.flow.shopify.xborder.v0.models {
|
|
1069
|
+
interface ShopifyOrder {
|
|
1070
|
+
readonly id: number;
|
|
1071
|
+
readonly order_number: number;
|
|
1072
|
+
readonly billing_address?: io.flow.shopify.xborder.v0.models.ShopifyOrderAddress;
|
|
1073
|
+
readonly browser_ip?: string;
|
|
1074
|
+
readonly buyer_accepts_marketing: boolean;
|
|
1075
|
+
readonly cancel_reason?: io.flow.shopify.xborder.v0.enums.ShopifyOrderCancelReason;
|
|
1076
|
+
readonly cancelled_at?: string;
|
|
1077
|
+
readonly cart_token?: string;
|
|
1078
|
+
readonly client_details: io.flow.shopify.xborder.v0.models.ShopifyOrderClientDetail;
|
|
1079
|
+
readonly closed_at?: string;
|
|
1080
|
+
readonly created_at: string;
|
|
1081
|
+
readonly currency: string;
|
|
1082
|
+
readonly total_discounts_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1083
|
+
readonly current_total_discounts_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1084
|
+
readonly total_duties_set?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1085
|
+
readonly current_total_duties_set?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1086
|
+
readonly original_total_duties_set?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1087
|
+
readonly total_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1088
|
+
readonly current_total_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1089
|
+
readonly subtotal_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1090
|
+
readonly current_subtotal_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1091
|
+
readonly total_tax_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1092
|
+
readonly current_total_tax_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1093
|
+
readonly total_line_items_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1094
|
+
readonly customer: io.flow.shopify.xborder.v0.models.ShopifyOrderCustomer;
|
|
1095
|
+
readonly customer_locale?: string;
|
|
1096
|
+
readonly discount_applications: io.flow.shopify.xborder.v0.models.ShopifyOrderDiscountApplication[];
|
|
1097
|
+
readonly discount_codes: io.flow.shopify.xborder.v0.models.ShopifyOrderDiscountCode[];
|
|
1098
|
+
readonly email?: string;
|
|
1099
|
+
readonly financial_status: io.flow.shopify.xborder.v0.enums.ShopifyOrderFinancialStatusType;
|
|
1100
|
+
readonly fulfillments: io.flow.shopify.xborder.v0.models.ShopifyOrderFulfillment[];
|
|
1101
|
+
readonly fulfillment_status?: io.flow.shopify.xborder.v0.enums.ShopifyOrderFulfillmentStatusType;
|
|
1102
|
+
readonly landing_site?: string;
|
|
1103
|
+
readonly line_items: io.flow.shopify.xborder.v0.models.ShopifyOrderLineItem[];
|
|
1104
|
+
readonly location_id?: number;
|
|
1105
|
+
readonly name: string;
|
|
1106
|
+
readonly note?: string;
|
|
1107
|
+
readonly note_attributes: io.flow.shopify.xborder.v0.models.ShopifyOrderAttribute[];
|
|
1108
|
+
readonly number?: number;
|
|
1109
|
+
readonly payment_gateway_names: string[];
|
|
1110
|
+
readonly processed_at?: string;
|
|
1111
|
+
readonly processing_method?: io.flow.shopify.xborder.v0.enums.ShopifyOrderProcessingMethodType;
|
|
1112
|
+
readonly referring_site?: string;
|
|
1113
|
+
readonly refunds: io.flow.shopify.xborder.v0.models.ShopifyOrderRefund[];
|
|
1114
|
+
readonly shipping_address?: io.flow.shopify.xborder.v0.models.ShopifyOrderAddress;
|
|
1115
|
+
readonly shipping_lines: io.flow.shopify.xborder.v0.models.ShopifyOrderShippingLine[];
|
|
1116
|
+
readonly source_name?: string;
|
|
1117
|
+
readonly tags?: string;
|
|
1118
|
+
readonly tax_lines: io.flow.shopify.xborder.v0.models.ShopifyOrderTaxLine[];
|
|
1119
|
+
readonly taxes_included: boolean;
|
|
1120
|
+
readonly token?: string;
|
|
1121
|
+
readonly total_weight?: number;
|
|
1122
|
+
readonly updated_at?: string;
|
|
1123
|
+
readonly user_id?: number;
|
|
1124
|
+
readonly order_status_url?: string;
|
|
1125
|
+
readonly inventory_behaviour?: io.flow.shopify.xborder.v0.enums.ShopifyOrderInventoryBehaviour;
|
|
1126
|
+
readonly gateway?: string;
|
|
1127
|
+
readonly transactions?: io.flow.shopify.xborder.v0.models.ShopifyOrderTransaction[];
|
|
1128
|
+
readonly send_receipt?: boolean;
|
|
1129
|
+
readonly metafields?: io.flow.shopify.xborder.v0.models.ShopifyOrderMetafield[];
|
|
1130
|
+
}
|
|
1131
|
+
interface ShopifyOrderAddress {
|
|
1132
|
+
readonly id?: number;
|
|
1133
|
+
readonly address1?: string;
|
|
1134
|
+
readonly address2?: string;
|
|
1135
|
+
readonly city?: string;
|
|
1136
|
+
readonly company?: string;
|
|
1137
|
+
readonly country?: string;
|
|
1138
|
+
readonly country_code?: string;
|
|
1139
|
+
readonly default?: boolean;
|
|
1140
|
+
readonly first_name?: string;
|
|
1141
|
+
readonly last_name?: string;
|
|
1142
|
+
readonly latitude?: number;
|
|
1143
|
+
readonly longitude?: number;
|
|
1144
|
+
readonly name?: string;
|
|
1145
|
+
readonly phone?: string;
|
|
1146
|
+
readonly province?: string;
|
|
1147
|
+
readonly province_code?: string;
|
|
1148
|
+
readonly zip?: string;
|
|
1149
|
+
}
|
|
1150
|
+
interface ShopifyOrderAttribute {
|
|
1151
|
+
readonly name: string;
|
|
1152
|
+
readonly value: string;
|
|
1153
|
+
}
|
|
1154
|
+
interface ShopifyOrderClientDetail {
|
|
1155
|
+
readonly accept_language?: string;
|
|
1156
|
+
readonly browser_height?: number;
|
|
1157
|
+
readonly browser_ip?: string;
|
|
1158
|
+
readonly browser_width?: number;
|
|
1159
|
+
readonly session_hash?: string;
|
|
1160
|
+
readonly user_agent?: string;
|
|
1161
|
+
}
|
|
1162
|
+
interface ShopifyOrderCustomer {
|
|
1163
|
+
readonly id?: number;
|
|
1164
|
+
readonly email?: string;
|
|
1165
|
+
readonly accepts_marketing?: boolean;
|
|
1166
|
+
readonly created_at?: string;
|
|
1167
|
+
readonly updated_at?: string;
|
|
1168
|
+
readonly first_name?: string;
|
|
1169
|
+
readonly last_name?: string;
|
|
1170
|
+
readonly orders_count?: number;
|
|
1171
|
+
readonly state?: string;
|
|
1172
|
+
readonly total_spent?: string;
|
|
1173
|
+
readonly last_order_id?: number;
|
|
1174
|
+
readonly note?: string;
|
|
1175
|
+
readonly verified_email?: boolean;
|
|
1176
|
+
readonly multipass_identifier?: string;
|
|
1177
|
+
readonly tax_exempt?: boolean;
|
|
1178
|
+
readonly tax_exemptions?: any[];
|
|
1179
|
+
readonly phone?: string;
|
|
1180
|
+
readonly tags?: string;
|
|
1181
|
+
readonly last_order_name?: string;
|
|
1182
|
+
readonly currency?: string;
|
|
1183
|
+
readonly addresses?: io.flow.shopify.xborder.v0.models.ShopifyOrderAddress;
|
|
1184
|
+
readonly default_address?: io.flow.shopify.xborder.v0.models.ShopifyOrderAddress;
|
|
1185
|
+
}
|
|
1186
|
+
interface ShopifyOrderDiscountAllocation {
|
|
1187
|
+
readonly amount: string;
|
|
1188
|
+
readonly discount_application_index: number;
|
|
1189
|
+
readonly amount_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1190
|
+
}
|
|
1191
|
+
interface ShopifyOrderDiscountApplication {
|
|
1192
|
+
readonly type: io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountApplicationType;
|
|
1193
|
+
readonly allocation_method: io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountAllocationMethod;
|
|
1194
|
+
readonly code?: string;
|
|
1195
|
+
readonly description?: string;
|
|
1196
|
+
readonly target_selection: io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountApplicationTargetSelection;
|
|
1197
|
+
readonly target_type: io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountApplicationTargetType;
|
|
1198
|
+
readonly title?: string;
|
|
1199
|
+
readonly value: string;
|
|
1200
|
+
readonly value_type: io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountApplicationValueType;
|
|
1201
|
+
}
|
|
1202
|
+
interface ShopifyOrderDiscountCode {
|
|
1203
|
+
readonly amount: string;
|
|
1204
|
+
readonly code: string;
|
|
1205
|
+
readonly type: io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountType;
|
|
1206
|
+
}
|
|
1207
|
+
interface ShopifyOrderDuty {
|
|
1208
|
+
readonly id: string;
|
|
1209
|
+
readonly harmonized_system_code: string;
|
|
1210
|
+
readonly country_code_of_origin: string;
|
|
1211
|
+
readonly presentment_money: io.flow.shopify.xborder.v0.models.ShopifyOrderMoney;
|
|
1212
|
+
readonly shop_money: io.flow.shopify.xborder.v0.models.ShopifyOrderMoney;
|
|
1213
|
+
readonly tax_lines: io.flow.shopify.xborder.v0.models.ShopifyOrderTaxLine[];
|
|
1214
|
+
}
|
|
1215
|
+
interface ShopifyOrderFulfillment {
|
|
1216
|
+
readonly created_at?: string;
|
|
1217
|
+
readonly id?: number;
|
|
1218
|
+
readonly line_items: io.flow.shopify.xborder.v0.models.ShopifyOrderLineItem[];
|
|
1219
|
+
readonly location_id: number;
|
|
1220
|
+
readonly name: string;
|
|
1221
|
+
readonly notify_customer?: boolean;
|
|
1222
|
+
readonly order_id?: number;
|
|
1223
|
+
readonly receipt?: any;
|
|
1224
|
+
readonly service: string;
|
|
1225
|
+
readonly shipment_status?: io.flow.shopify.xborder.v0.enums.ShopifyOrderFulfillmentShipmentStatus;
|
|
1226
|
+
readonly status?: io.flow.shopify.xborder.v0.enums.ShopifyOrderFulfillmentStatus;
|
|
1227
|
+
readonly tracking_company?: string;
|
|
1228
|
+
readonly tracking_number?: string;
|
|
1229
|
+
readonly tracking_numbers?: string[];
|
|
1230
|
+
readonly tracking_urls?: string[];
|
|
1231
|
+
readonly updated_at?: string;
|
|
1232
|
+
readonly variant_inventory_management?: string;
|
|
1233
|
+
}
|
|
1234
|
+
interface ShopifyOrderLineItem {
|
|
1235
|
+
readonly fulfillable_quantity?: number;
|
|
1236
|
+
readonly fulfillment_service: string;
|
|
1237
|
+
readonly fulfillment_status?: io.flow.shopify.xborder.v0.enums.ShopifyOrderFulfillmentStatusType;
|
|
1238
|
+
readonly grams?: number;
|
|
1239
|
+
readonly id: number;
|
|
1240
|
+
readonly price?: string;
|
|
1241
|
+
readonly price_set?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1242
|
+
readonly product_id?: number;
|
|
1243
|
+
readonly quantity: number;
|
|
1244
|
+
readonly requires_shipping: boolean;
|
|
1245
|
+
readonly sku?: string;
|
|
1246
|
+
readonly title?: string;
|
|
1247
|
+
readonly variant_id?: number;
|
|
1248
|
+
readonly variant_title?: string;
|
|
1249
|
+
readonly vendor?: string;
|
|
1250
|
+
readonly name?: string;
|
|
1251
|
+
readonly gift_card: boolean;
|
|
1252
|
+
readonly properties: io.flow.shopify.xborder.v0.models.ShopifyOrderProperty[];
|
|
1253
|
+
readonly taxable: boolean;
|
|
1254
|
+
readonly tax_lines: io.flow.shopify.xborder.v0.models.ShopifyOrderTaxLine[];
|
|
1255
|
+
readonly tip_payment_gateway?: string;
|
|
1256
|
+
readonly tip_payment_method?: string;
|
|
1257
|
+
readonly total_discount?: string;
|
|
1258
|
+
readonly total_discount_set?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1259
|
+
readonly discount_allocations?: io.flow.shopify.xborder.v0.models.ShopifyOrderDiscountAllocation[];
|
|
1260
|
+
readonly origin_location?: io.flow.shopify.xborder.v0.models.ShopifyOrderOriginLocation;
|
|
1261
|
+
readonly variant_inventory_management?: string;
|
|
1262
|
+
readonly product_exists?: boolean;
|
|
1263
|
+
readonly duties: io.flow.shopify.xborder.v0.models.ShopifyOrderDuty[];
|
|
1264
|
+
}
|
|
1265
|
+
interface ShopifyOrderMetafield {
|
|
1266
|
+
readonly id: number;
|
|
1267
|
+
readonly key: string;
|
|
1268
|
+
readonly namespace: string;
|
|
1269
|
+
readonly value: string;
|
|
1270
|
+
readonly value_type: io.flow.shopify.xborder.v0.enums.ShopifyOrderValueType;
|
|
1271
|
+
readonly description?: string;
|
|
1272
|
+
readonly owner_id: number;
|
|
1273
|
+
readonly owner_resource: string;
|
|
1274
|
+
}
|
|
1275
|
+
interface ShopifyOrderMetafieldForm {
|
|
1276
|
+
readonly key: string;
|
|
1277
|
+
readonly namespace: string;
|
|
1278
|
+
readonly value: string;
|
|
1279
|
+
readonly value_type: io.flow.shopify.xborder.v0.enums.ShopifyOrderValueType;
|
|
1280
|
+
readonly description?: string;
|
|
1281
|
+
}
|
|
1282
|
+
interface ShopifyOrderMoney {
|
|
1283
|
+
readonly amount: number;
|
|
1284
|
+
readonly currency_code: string;
|
|
1285
|
+
}
|
|
1286
|
+
interface ShopifyOrderMoneySet {
|
|
1287
|
+
readonly shop_money: io.flow.shopify.xborder.v0.models.ShopifyOrderMoney;
|
|
1288
|
+
readonly presentment_money: io.flow.shopify.xborder.v0.models.ShopifyOrderMoney;
|
|
1289
|
+
}
|
|
1290
|
+
interface ShopifyOrderOriginLocation {
|
|
1291
|
+
readonly id: number;
|
|
1292
|
+
readonly country_code: string;
|
|
1293
|
+
readonly province_code: string;
|
|
1294
|
+
readonly name: string;
|
|
1295
|
+
readonly address1: string;
|
|
1296
|
+
readonly address2: string;
|
|
1297
|
+
readonly city: string;
|
|
1298
|
+
readonly zip: string;
|
|
1299
|
+
}
|
|
1300
|
+
interface ShopifyOrderPaymentDetail {
|
|
1301
|
+
readonly avs_result_code?: string;
|
|
1302
|
+
readonly credit_card_bin?: string;
|
|
1303
|
+
readonly credit_card_company: string;
|
|
1304
|
+
readonly credit_card_number: string;
|
|
1305
|
+
readonly cvv_result_code?: string;
|
|
1306
|
+
}
|
|
1307
|
+
interface ShopifyOrderProperty {
|
|
1308
|
+
readonly name: string;
|
|
1309
|
+
readonly value: any;
|
|
1310
|
+
}
|
|
1311
|
+
interface ShopifyOrderRefund {
|
|
1312
|
+
readonly id: number;
|
|
1313
|
+
readonly order_id: number;
|
|
1314
|
+
readonly created_at: string;
|
|
1315
|
+
readonly processed_at: string;
|
|
1316
|
+
readonly note?: string;
|
|
1317
|
+
readonly refund_line_items?: io.flow.shopify.xborder.v0.models.ShopifyOrderRefundLineItem[];
|
|
1318
|
+
readonly restock?: boolean;
|
|
1319
|
+
readonly transactions?: io.flow.shopify.xborder.v0.models.ShopifyOrderTransaction[];
|
|
1320
|
+
readonly user_id?: number;
|
|
1321
|
+
}
|
|
1322
|
+
interface ShopifyOrderRefundLineItem {
|
|
1323
|
+
readonly id: number;
|
|
1324
|
+
readonly line_item: io.flow.shopify.xborder.v0.models.ShopifyOrderLineItem;
|
|
1325
|
+
readonly line_item_id: number;
|
|
1326
|
+
readonly quantity: number;
|
|
1327
|
+
readonly restock_type: io.flow.shopify.xborder.v0.enums.ShopifyOrderRestockType;
|
|
1328
|
+
readonly location_id?: number;
|
|
1329
|
+
readonly subtotal?: number;
|
|
1330
|
+
readonly total_tax?: number;
|
|
1331
|
+
}
|
|
1332
|
+
interface ShopifyOrderShippingLine {
|
|
1333
|
+
readonly code?: string;
|
|
1334
|
+
readonly price: string;
|
|
1335
|
+
readonly source: string;
|
|
1336
|
+
readonly title: string;
|
|
1337
|
+
readonly tax_lines: io.flow.shopify.xborder.v0.models.ShopifyOrderTaxLine[];
|
|
1338
|
+
readonly carrier_identifier?: string;
|
|
1339
|
+
readonly requested_fulfillment_service_id?: string;
|
|
1340
|
+
readonly price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1341
|
+
readonly discounted_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1342
|
+
}
|
|
1343
|
+
interface ShopifyOrderTaxLine {
|
|
1344
|
+
readonly price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1345
|
+
readonly rate: number;
|
|
1346
|
+
readonly title: string;
|
|
1347
|
+
}
|
|
1348
|
+
interface ShopifyOrderTransaction {
|
|
1349
|
+
readonly id: number;
|
|
1350
|
+
readonly order_id: number;
|
|
1351
|
+
readonly amount: number;
|
|
1352
|
+
readonly kind: io.flow.shopify.xborder.v0.enums.ShopifyOrderKindType;
|
|
1353
|
+
readonly gateway: string;
|
|
1354
|
+
readonly currency: string;
|
|
1355
|
+
readonly status: io.flow.shopify.xborder.v0.enums.ShopifyOrderTransactionStatus;
|
|
1356
|
+
readonly payment_details?: io.flow.shopify.xborder.v0.models.ShopifyOrderPaymentDetail;
|
|
1357
|
+
readonly receipt: any;
|
|
1358
|
+
readonly authorization?: string;
|
|
1359
|
+
readonly created_at: string;
|
|
1360
|
+
readonly device_id?: number;
|
|
1361
|
+
readonly gift_card_id?: number;
|
|
1362
|
+
readonly source_name: string;
|
|
1363
|
+
readonly error_code?: io.flow.shopify.xborder.v0.enums.ShopifyOrderTransactionErrorCode;
|
|
1364
|
+
readonly test: boolean;
|
|
1365
|
+
readonly parent_id?: number;
|
|
1366
|
+
readonly user_id?: number;
|
|
1367
|
+
}
|
|
1368
|
+
interface ShopifyOrderWrapper {
|
|
1369
|
+
readonly order: any;
|
|
1370
|
+
}
|
|
1371
|
+
interface ShopifyOrdersWrapper {
|
|
1372
|
+
readonly orders: io.flow.shopify.xborder.v0.models.ShopifyOrder[];
|
|
1373
|
+
}
|
|
1374
|
+
interface ShopifyWebhookOrder {
|
|
1375
|
+
readonly id: number;
|
|
1376
|
+
readonly order_number: number;
|
|
1377
|
+
readonly billing_address?: io.flow.shopify.xborder.v0.models.ShopifyOrderAddress;
|
|
1378
|
+
readonly browser_ip?: string;
|
|
1379
|
+
readonly buyer_accepts_marketing: boolean;
|
|
1380
|
+
readonly cancel_reason?: io.flow.shopify.xborder.v0.enums.ShopifyOrderCancelReason;
|
|
1381
|
+
readonly cancelled_at?: string;
|
|
1382
|
+
readonly cart_token?: string;
|
|
1383
|
+
readonly client_details?: io.flow.shopify.xborder.v0.models.ShopifyOrderClientDetail;
|
|
1384
|
+
readonly closed_at?: string;
|
|
1385
|
+
readonly created_at: string;
|
|
1386
|
+
readonly currency: string;
|
|
1387
|
+
readonly total_discounts_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1388
|
+
readonly total_duties_set?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1389
|
+
readonly original_total_duties_set?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1390
|
+
readonly total_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1391
|
+
readonly subtotal_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1392
|
+
readonly total_tax_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1393
|
+
readonly total_line_items_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1394
|
+
readonly customer: io.flow.shopify.xborder.v0.models.ShopifyOrderCustomer;
|
|
1395
|
+
readonly customer_locale?: string;
|
|
1396
|
+
readonly discount_applications: io.flow.shopify.xborder.v0.models.ShopifyOrderDiscountApplication[];
|
|
1397
|
+
readonly discount_codes: io.flow.shopify.xborder.v0.models.ShopifyOrderDiscountCode[];
|
|
1398
|
+
readonly email?: string;
|
|
1399
|
+
readonly financial_status: io.flow.shopify.xborder.v0.enums.ShopifyOrderFinancialStatusType;
|
|
1400
|
+
readonly fulfillments: io.flow.shopify.xborder.v0.models.ShopifyOrderFulfillment[];
|
|
1401
|
+
readonly fulfillment_status?: io.flow.shopify.xborder.v0.enums.ShopifyOrderFulfillmentStatusType;
|
|
1402
|
+
readonly landing_site?: string;
|
|
1403
|
+
readonly line_items: io.flow.shopify.xborder.v0.models.ShopifyOrderLineItem[];
|
|
1404
|
+
readonly location_id?: number;
|
|
1405
|
+
readonly name: string;
|
|
1406
|
+
readonly note?: string;
|
|
1407
|
+
readonly note_attributes: io.flow.shopify.xborder.v0.models.ShopifyOrderAttribute[];
|
|
1408
|
+
readonly number?: number;
|
|
1409
|
+
readonly payment_gateway_names: string[];
|
|
1410
|
+
readonly processed_at?: string;
|
|
1411
|
+
readonly processing_method?: io.flow.shopify.xborder.v0.enums.ShopifyOrderProcessingMethodType;
|
|
1412
|
+
readonly referring_site?: string;
|
|
1413
|
+
readonly refunds: io.flow.shopify.xborder.v0.models.ShopifyOrderRefund[];
|
|
1414
|
+
readonly shipping_address?: io.flow.shopify.xborder.v0.models.ShopifyOrderAddress;
|
|
1415
|
+
readonly shipping_lines?: io.flow.shopify.xborder.v0.models.ShopifyOrderShippingLine[];
|
|
1416
|
+
readonly source_name?: string;
|
|
1417
|
+
readonly tags?: string;
|
|
1418
|
+
readonly tax_lines: io.flow.shopify.xborder.v0.models.ShopifyOrderTaxLine[];
|
|
1419
|
+
readonly taxes_included: boolean;
|
|
1420
|
+
readonly token?: string;
|
|
1421
|
+
readonly total_weight?: number;
|
|
1422
|
+
readonly updated_at?: string;
|
|
1423
|
+
readonly user_id?: number;
|
|
1424
|
+
readonly order_status_url?: string;
|
|
1425
|
+
readonly inventory_behaviour?: io.flow.shopify.xborder.v0.enums.ShopifyOrderInventoryBehaviour;
|
|
1426
|
+
readonly gateway?: string;
|
|
1427
|
+
readonly transactions?: io.flow.shopify.xborder.v0.models.ShopifyOrderTransaction[];
|
|
1428
|
+
readonly send_receipt?: boolean;
|
|
1429
|
+
readonly metafields?: io.flow.shopify.xborder.v0.models.ShopifyOrderMetafield[];
|
|
1430
|
+
}
|
|
1431
|
+
interface ShopifyWebhookRequest {
|
|
1432
|
+
readonly topic: io.flow.shopify.xborder.v0.enums.ShopifyWebhookTopic;
|
|
1433
|
+
readonly address: string;
|
|
1434
|
+
readonly format: io.flow.shopify.xborder.v0.enums.ShopifyWebhookFormat;
|
|
1435
|
+
}
|
|
1436
|
+
interface ShopifyWebhookRequestWrapper {
|
|
1437
|
+
readonly webhook: io.flow.shopify.xborder.v0.models.ShopifyWebhookRequest;
|
|
1438
|
+
}
|
|
1439
|
+
interface ShopifyWebhookResponse {
|
|
1440
|
+
readonly id: number;
|
|
1441
|
+
readonly address: string;
|
|
1442
|
+
readonly topic: io.flow.shopify.xborder.v0.enums.ShopifyWebhookTopic;
|
|
1443
|
+
readonly created_at: string;
|
|
1444
|
+
readonly updated_at: string;
|
|
1445
|
+
readonly format: io.flow.shopify.xborder.v0.enums.ShopifyWebhookFormat;
|
|
1446
|
+
readonly fields: any[];
|
|
1447
|
+
readonly metafield_namespaces: any[];
|
|
1448
|
+
readonly api_version: string;
|
|
1449
|
+
readonly private_metafield_namespaces: any[];
|
|
1450
|
+
}
|
|
1451
|
+
interface ShopifyWebhookResponseWrapper {
|
|
1452
|
+
readonly webhook: io.flow.shopify.xborder.v0.models.ShopifyWebhookResponse;
|
|
1453
|
+
}
|
|
1454
|
+
interface ShopifyWebhooksResponseWrapper {
|
|
1455
|
+
readonly webhooks: io.flow.shopify.xborder.v0.models.ShopifyWebhookResponse[];
|
|
1456
|
+
}
|
|
1457
|
+
}
|
|
932
1458
|
declare namespace io.flow.reference.v0.enums {
|
|
933
1459
|
type PaymentMethodCapability = 'credit' | 'debit';
|
|
934
1460
|
type PaymentMethodType = 'card' | 'online' | 'offline';
|
|
@@ -7749,6 +8275,13 @@ declare namespace io.flow.label.internal.v0.models {
|
|
|
7749
8275
|
readonly organization: string;
|
|
7750
8276
|
readonly default_contents: string;
|
|
7751
8277
|
}
|
|
8278
|
+
interface InvoiceInfoForm {
|
|
8279
|
+
readonly invoice_number: string;
|
|
8280
|
+
readonly invoice_date: string;
|
|
8281
|
+
readonly currency_code: string;
|
|
8282
|
+
readonly invoice_amount: string;
|
|
8283
|
+
readonly control_id?: string;
|
|
8284
|
+
}
|
|
7752
8285
|
interface LabelGenerationSettings {
|
|
7753
8286
|
readonly id: string;
|
|
7754
8287
|
readonly item_identifier?: string;
|
|
@@ -7760,6 +8293,41 @@ declare namespace io.flow.label.internal.v0.models {
|
|
|
7760
8293
|
readonly auto_generate_query?: string;
|
|
7761
8294
|
readonly commercial_invoice_only_query?: string;
|
|
7762
8295
|
}
|
|
8296
|
+
interface ShipperAccountInfoForm {
|
|
8297
|
+
readonly account_name?: string;
|
|
8298
|
+
readonly account_number: string;
|
|
8299
|
+
readonly postal: string;
|
|
8300
|
+
readonly country: string;
|
|
8301
|
+
readonly invoice_info?: io.flow.label.internal.v0.models.InvoiceInfoForm;
|
|
8302
|
+
}
|
|
8303
|
+
interface UpsLicense {
|
|
8304
|
+
readonly access_license_number: string;
|
|
8305
|
+
readonly address: io.flow.common.v0.models.BillingAddress;
|
|
8306
|
+
readonly contact: io.flow.common.v0.models.Contact;
|
|
8307
|
+
readonly secondary_contact?: io.flow.common.v0.models.Contact;
|
|
8308
|
+
readonly company_url: string;
|
|
8309
|
+
}
|
|
8310
|
+
interface UpsLicenseForm {
|
|
8311
|
+
readonly address: io.flow.common.v0.models.BillingAddress;
|
|
8312
|
+
readonly contact: io.flow.common.v0.models.Contact;
|
|
8313
|
+
readonly secondary_contact?: io.flow.common.v0.models.Contact;
|
|
8314
|
+
readonly developer_license_number: string;
|
|
8315
|
+
readonly company_url: string;
|
|
8316
|
+
}
|
|
8317
|
+
interface UpsRegistration {
|
|
8318
|
+
readonly username: string;
|
|
8319
|
+
readonly address: io.flow.common.v0.models.BillingAddress;
|
|
8320
|
+
readonly contact: io.flow.common.v0.models.Contact;
|
|
8321
|
+
readonly suggest_username_indicator?: string;
|
|
8322
|
+
}
|
|
8323
|
+
interface UpsRegistrationForm {
|
|
8324
|
+
readonly username: string;
|
|
8325
|
+
readonly password: string;
|
|
8326
|
+
readonly access_license_number: string;
|
|
8327
|
+
readonly address: io.flow.common.v0.models.BillingAddress;
|
|
8328
|
+
readonly contact: io.flow.common.v0.models.Contact;
|
|
8329
|
+
readonly shipper_account?: io.flow.label.internal.v0.models.ShipperAccountInfoForm;
|
|
8330
|
+
}
|
|
7763
8331
|
}
|
|
7764
8332
|
declare namespace io.flow.catalog.v0.enums {
|
|
7765
8333
|
type AdjustmentReasonKey = 'duty_deminimis' | 'vat_deminimis';
|
|
@@ -8278,6 +8846,7 @@ declare namespace io.flow.item.v0.models {
|
|
|
8278
8846
|
readonly item: io.flow.common.v0.models.CatalogItemReference;
|
|
8279
8847
|
readonly pricing: io.flow.item.v0.models.LocalItemPricing;
|
|
8280
8848
|
readonly status: io.flow.catalog.v0.enums.SubcatalogItemStatus;
|
|
8849
|
+
readonly attributes?: Record<string, string>;
|
|
8281
8850
|
}
|
|
8282
8851
|
interface LocalItemAttributePricing {
|
|
8283
8852
|
readonly pretax_price: io.flow.common.v0.models.PriceWithBase;
|
|
@@ -10512,7 +11081,6 @@ declare namespace io.flow.checkout.protocol.v0.models {
|
|
|
10512
11081
|
}
|
|
10513
11082
|
interface CheckoutSequencedInitiatePaymentResponseSuccess {
|
|
10514
11083
|
readonly discriminator: 'checkout_sequenced_initiate_payment_response_success';
|
|
10515
|
-
readonly authorization_key?: string;
|
|
10516
11084
|
readonly action_requirement: io.flow.checkout.backend.v0.unions.CheckoutPaymentActionRequirement;
|
|
10517
11085
|
}
|
|
10518
11086
|
interface CheckoutSequencedPaymentAuthorizationParametersRequestForm {
|
|
@@ -13149,6 +13717,104 @@ declare namespace io.flow.experiment.internal.v0.unions {
|
|
|
13149
13717
|
type Variant = io.flow.experiment.internal.v0.models.ExperienceVariant | io.flow.experiment.internal.v0.models.FeatureVariant;
|
|
13150
13718
|
type VariantForm = io.flow.experiment.internal.v0.models.ExperienceVariantForm | io.flow.experiment.internal.v0.models.FeatureVariantForm;
|
|
13151
13719
|
}
|
|
13720
|
+
declare namespace io.flow.ups.registration.v0.models {
|
|
13721
|
+
interface Fault {
|
|
13722
|
+
readonly faultcode: string;
|
|
13723
|
+
readonly faultstring: string;
|
|
13724
|
+
readonly detail: io.flow.ups.registration.v0.models.UpsRegistrationDetail;
|
|
13725
|
+
}
|
|
13726
|
+
interface PrimaryErrorCode {
|
|
13727
|
+
readonly Code: string;
|
|
13728
|
+
readonly Description: string;
|
|
13729
|
+
}
|
|
13730
|
+
interface RegisterResponse {
|
|
13731
|
+
readonly Response: io.flow.ups.registration.v0.models.UpsRegistrationResponse;
|
|
13732
|
+
readonly SuggestedUsername: string;
|
|
13733
|
+
}
|
|
13734
|
+
interface Request {
|
|
13735
|
+
readonly RequestOption: string;
|
|
13736
|
+
readonly TransactionReference: io.flow.ups.registration.v0.models.TransactionReference;
|
|
13737
|
+
}
|
|
13738
|
+
interface RequestAddress {
|
|
13739
|
+
readonly AddressLine: string[];
|
|
13740
|
+
readonly City: string;
|
|
13741
|
+
readonly StateProvinceCode?: string;
|
|
13742
|
+
readonly PostalCode?: string;
|
|
13743
|
+
readonly CountryCode: string;
|
|
13744
|
+
}
|
|
13745
|
+
interface RequestInvoiceInfo {
|
|
13746
|
+
readonly InvoiceNumber: string;
|
|
13747
|
+
readonly InvoiceDate: string;
|
|
13748
|
+
readonly CurrencyCode: string;
|
|
13749
|
+
readonly InvoiceAmount: string;
|
|
13750
|
+
readonly ControlID?: string;
|
|
13751
|
+
}
|
|
13752
|
+
interface RequestShipperAccount {
|
|
13753
|
+
readonly AccountName?: string;
|
|
13754
|
+
readonly AccountNumber: string;
|
|
13755
|
+
readonly PostalCode: string;
|
|
13756
|
+
readonly CountryCode: string;
|
|
13757
|
+
readonly InvoiceInfo?: io.flow.ups.registration.v0.models.RequestInvoiceInfo;
|
|
13758
|
+
}
|
|
13759
|
+
interface ResponseStatus {
|
|
13760
|
+
readonly Code: string;
|
|
13761
|
+
readonly Description: string;
|
|
13762
|
+
}
|
|
13763
|
+
interface ServiceAccessToken {
|
|
13764
|
+
readonly AccessLicenseNumber: string;
|
|
13765
|
+
}
|
|
13766
|
+
interface TransactionReference {
|
|
13767
|
+
readonly CustomerContext: string;
|
|
13768
|
+
readonly TransactionIdentifier?: string;
|
|
13769
|
+
}
|
|
13770
|
+
interface UpsRegistrationDetail {
|
|
13771
|
+
readonly Errors: io.flow.ups.registration.v0.models.UpsRegistrationErrors;
|
|
13772
|
+
}
|
|
13773
|
+
interface UpsRegistrationErrorDetail {
|
|
13774
|
+
readonly Severity: string;
|
|
13775
|
+
readonly PrimaryErrorCode: io.flow.ups.registration.v0.models.PrimaryErrorCode;
|
|
13776
|
+
}
|
|
13777
|
+
interface UpsRegistrationErrors {
|
|
13778
|
+
readonly ErrorDetail: io.flow.ups.registration.v0.models.UpsRegistrationErrorDetail;
|
|
13779
|
+
}
|
|
13780
|
+
interface UpsRegistrationRequest {
|
|
13781
|
+
readonly Request: io.flow.ups.registration.v0.models.Request;
|
|
13782
|
+
readonly Username: string;
|
|
13783
|
+
readonly Password: string;
|
|
13784
|
+
readonly CompanyName: string;
|
|
13785
|
+
readonly CustomerName: string;
|
|
13786
|
+
readonly EndUserIPAddress: string;
|
|
13787
|
+
readonly Title?: string;
|
|
13788
|
+
readonly Address: io.flow.ups.registration.v0.models.RequestAddress;
|
|
13789
|
+
readonly PhoneNumber: string;
|
|
13790
|
+
readonly PhoneExtension?: string;
|
|
13791
|
+
readonly EmailAddress: string;
|
|
13792
|
+
readonly NotificationCode: string;
|
|
13793
|
+
readonly DeviceIdentity?: string;
|
|
13794
|
+
readonly SuggestUsernameIndicator: string;
|
|
13795
|
+
readonly ShipperAccount?: io.flow.ups.registration.v0.models.RequestShipperAccount;
|
|
13796
|
+
}
|
|
13797
|
+
interface UpsRegistrationRequestWrapper {
|
|
13798
|
+
readonly UPSSecurity: io.flow.ups.registration.v0.models.UpsSecurity;
|
|
13799
|
+
readonly RegisterRequest: io.flow.ups.registration.v0.models.UpsRegistrationRequest;
|
|
13800
|
+
}
|
|
13801
|
+
interface UpsRegistrationResponse {
|
|
13802
|
+
readonly ResponseStatus: io.flow.ups.registration.v0.models.ResponseStatus;
|
|
13803
|
+
readonly TransactionReference: io.flow.ups.registration.v0.models.TransactionReference;
|
|
13804
|
+
}
|
|
13805
|
+
interface UpsRegistrationResponseWrapper {
|
|
13806
|
+
readonly RegisterResponse?: io.flow.ups.registration.v0.models.RegisterResponse;
|
|
13807
|
+
readonly Fault?: io.flow.ups.registration.v0.models.Fault;
|
|
13808
|
+
}
|
|
13809
|
+
interface UpsSecurity {
|
|
13810
|
+
readonly UsernameToken: io.flow.ups.registration.v0.models.UsernameToken;
|
|
13811
|
+
readonly ServiceAccessToken: io.flow.ups.registration.v0.models.ServiceAccessToken;
|
|
13812
|
+
}
|
|
13813
|
+
interface UsernameToken {
|
|
13814
|
+
readonly Username: string;
|
|
13815
|
+
readonly Password: string;
|
|
13816
|
+
}
|
|
13817
|
+
}
|
|
13152
13818
|
declare namespace io.flow.internal.v0.enums {
|
|
13153
13819
|
type AddressConfigurationSettingProvinceCode = 'iso_3166_2' | 'name';
|
|
13154
13820
|
type BillingAllocationKey = 'freight_cost' | 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'fuel_surcharge' | 'remote_area_surcharge';
|
|
@@ -15339,7 +16005,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15339
16005
|
}
|
|
15340
16006
|
interface CheckoutSequencedInitiatePaymentResponseSuccess {
|
|
15341
16007
|
readonly discriminator: 'checkout_sequenced_initiate_payment_response_success';
|
|
15342
|
-
readonly authorization_key?: string;
|
|
15343
16008
|
readonly action_requirement: io.flow.checkout.backend.v0.unions.CheckoutPaymentActionRequirement;
|
|
15344
16009
|
}
|
|
15345
16010
|
interface CheckoutSequencedPaymentAuthorizationParametersRequestForm {
|
|
@@ -17688,6 +18353,13 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17688
18353
|
readonly lines: io.flow.internal.v0.models.InvoiceLine[];
|
|
17689
18354
|
readonly total: io.flow.common.v0.models.Price;
|
|
17690
18355
|
}
|
|
18356
|
+
interface InvoiceInfoForm {
|
|
18357
|
+
readonly invoice_number: string;
|
|
18358
|
+
readonly invoice_date: string;
|
|
18359
|
+
readonly currency_code: string;
|
|
18360
|
+
readonly invoice_amount: string;
|
|
18361
|
+
readonly control_id?: string;
|
|
18362
|
+
}
|
|
17691
18363
|
interface InvoiceLine {
|
|
17692
18364
|
readonly id: string;
|
|
17693
18365
|
readonly description: string;
|
|
@@ -18199,7 +18871,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18199
18871
|
readonly event_id: string;
|
|
18200
18872
|
readonly timestamp: string;
|
|
18201
18873
|
readonly organization: string;
|
|
18202
|
-
readonly
|
|
18874
|
+
readonly id: string;
|
|
18203
18875
|
}
|
|
18204
18876
|
interface LocalizedPriceBookItemUpserted {
|
|
18205
18877
|
readonly discriminator: 'localized_price_book_item_upserted';
|
|
@@ -19669,6 +20341,13 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19669
20341
|
readonly duties: io.flow.common.v0.models.PriceWithBase;
|
|
19670
20342
|
readonly total: io.flow.common.v0.models.PriceWithBase;
|
|
19671
20343
|
}
|
|
20344
|
+
interface ShipperAccountInfoForm {
|
|
20345
|
+
readonly account_name?: string;
|
|
20346
|
+
readonly account_number: string;
|
|
20347
|
+
readonly postal: string;
|
|
20348
|
+
readonly country: string;
|
|
20349
|
+
readonly invoice_info?: io.flow.internal.v0.models.InvoiceInfoForm;
|
|
20350
|
+
}
|
|
19672
20351
|
interface Shop {
|
|
19673
20352
|
readonly id: string;
|
|
19674
20353
|
readonly organization?: io.flow.common.v0.models.OrganizationReference;
|
|
@@ -19685,6 +20364,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19685
20364
|
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
19686
20365
|
readonly shop: io.flow.internal.v0.models.Shop;
|
|
19687
20366
|
}
|
|
20367
|
+
interface ShopifyXborderShop {
|
|
20368
|
+
readonly id: string;
|
|
20369
|
+
readonly organization_id: string;
|
|
20370
|
+
readonly shop: string;
|
|
20371
|
+
readonly created_at: string;
|
|
20372
|
+
}
|
|
19688
20373
|
interface ShopifyCheckInventoryError {
|
|
19689
20374
|
readonly code: io.flow.internal.v0.enums.ShopifyCheckInventoryErrorCode;
|
|
19690
20375
|
readonly messages: string[];
|
|
@@ -20508,6 +21193,34 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20508
21193
|
readonly account_number: string;
|
|
20509
21194
|
readonly direct_feed_location_code?: string;
|
|
20510
21195
|
}
|
|
21196
|
+
interface UpsLicense {
|
|
21197
|
+
readonly access_license_number: string;
|
|
21198
|
+
readonly address: io.flow.common.v0.models.BillingAddress;
|
|
21199
|
+
readonly contact: io.flow.common.v0.models.Contact;
|
|
21200
|
+
readonly secondary_contact?: io.flow.common.v0.models.Contact;
|
|
21201
|
+
readonly company_url: string;
|
|
21202
|
+
}
|
|
21203
|
+
interface UpsLicenseForm {
|
|
21204
|
+
readonly address: io.flow.common.v0.models.BillingAddress;
|
|
21205
|
+
readonly contact: io.flow.common.v0.models.Contact;
|
|
21206
|
+
readonly secondary_contact?: io.flow.common.v0.models.Contact;
|
|
21207
|
+
readonly developer_license_number: string;
|
|
21208
|
+
readonly company_url: string;
|
|
21209
|
+
}
|
|
21210
|
+
interface UpsRegistration {
|
|
21211
|
+
readonly username: string;
|
|
21212
|
+
readonly address: io.flow.common.v0.models.BillingAddress;
|
|
21213
|
+
readonly contact: io.flow.common.v0.models.Contact;
|
|
21214
|
+
readonly suggest_username_indicator?: string;
|
|
21215
|
+
}
|
|
21216
|
+
interface UpsRegistrationForm {
|
|
21217
|
+
readonly username: string;
|
|
21218
|
+
readonly password: string;
|
|
21219
|
+
readonly access_license_number: string;
|
|
21220
|
+
readonly address: io.flow.common.v0.models.BillingAddress;
|
|
21221
|
+
readonly contact: io.flow.common.v0.models.Contact;
|
|
21222
|
+
readonly shipper_account?: io.flow.internal.v0.models.ShipperAccountInfoForm;
|
|
21223
|
+
}
|
|
20511
21224
|
interface UserDeletedV2 {
|
|
20512
21225
|
readonly discriminator: 'user_deleted_v2';
|
|
20513
21226
|
readonly event_id: string;
|
|
@@ -20593,12 +21306,15 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20593
21306
|
readonly label: string;
|
|
20594
21307
|
readonly number: string;
|
|
20595
21308
|
}
|
|
21309
|
+
interface Webhook {
|
|
21310
|
+
readonly placeholder?: any;
|
|
21311
|
+
}
|
|
20596
21312
|
interface WholeOrderActionForm {
|
|
20597
21313
|
readonly discriminator: 'whole_order_action_form';
|
|
20598
21314
|
readonly action: io.flow.internal.v0.enums.OrderAction;
|
|
20599
21315
|
}
|
|
20600
21316
|
interface XborderOrder {
|
|
20601
|
-
readonly shopify_order: io.flow.shopify.
|
|
21317
|
+
readonly shopify_order: io.flow.shopify.xborder.v0.models.ShopifyOrder;
|
|
20602
21318
|
readonly flow_authorization: io.flow.payment.v0.unions.Authorization;
|
|
20603
21319
|
}
|
|
20604
21320
|
}
|
|
@@ -21654,6 +22370,7 @@ export declare type InventoryOrganizationSettings = io.flow.internal.v0.models.I
|
|
|
21654
22370
|
export declare type InventoryOrganizationSettingsForm = io.flow.internal.v0.models.InventoryOrganizationSettingsForm;
|
|
21655
22371
|
export declare type InventoryReservation = io.flow.internal.v0.enums.InventoryReservation;
|
|
21656
22372
|
export declare type Invoice = io.flow.internal.v0.models.Invoice;
|
|
22373
|
+
export declare type InvoiceInfoForm = io.flow.internal.v0.models.InvoiceInfoForm;
|
|
21657
22374
|
export declare type InvoiceLine = io.flow.internal.v0.models.InvoiceLine;
|
|
21658
22375
|
export declare type InvoiceTransaction = io.flow.internal.v0.models.InvoiceTransaction;
|
|
21659
22376
|
export declare type Issuer = io.flow.internal.v0.models.Issuer;
|
|
@@ -22031,9 +22748,11 @@ export declare type SessionRollout = io.flow.internal.v0.models.SessionRollout;
|
|
|
22031
22748
|
export declare type SessionRolloutForm = io.flow.internal.v0.models.SessionRolloutForm;
|
|
22032
22749
|
export declare type SfExpress = io.flow.internal.v0.models.SfExpress;
|
|
22033
22750
|
export declare type ShippedItemValue = io.flow.internal.v0.models.ShippedItemValue;
|
|
22751
|
+
export declare type ShipperAccountInfoForm = io.flow.internal.v0.models.ShipperAccountInfoForm;
|
|
22034
22752
|
export declare type Shop = io.flow.internal.v0.models.Shop;
|
|
22035
22753
|
export declare type ShopForm = io.flow.internal.v0.models.ShopForm;
|
|
22036
22754
|
export declare type ShopVersion = io.flow.internal.v0.models.ShopVersion;
|
|
22755
|
+
export declare type ShopifyXborderShop = io.flow.internal.v0.models.ShopifyXborderShop;
|
|
22037
22756
|
export declare type ShopifyCheckInventoryError = io.flow.internal.v0.models.ShopifyCheckInventoryError;
|
|
22038
22757
|
export declare type ShopifyCheckInventoryErrorCode = io.flow.internal.v0.enums.ShopifyCheckInventoryErrorCode;
|
|
22039
22758
|
export declare type ShopifyCodeForm = io.flow.internal.v0.models.ShopifyCodeForm;
|
|
@@ -22196,6 +22915,10 @@ export declare type UnclassifiedProductsSummary = io.flow.internal.v0.models.Unc
|
|
|
22196
22915
|
export declare type UnharmonizedItemsExport = io.flow.internal.v0.models.UnharmonizedItemsExport;
|
|
22197
22916
|
export declare type UnphrasedProductsExport = io.flow.internal.v0.models.UnphrasedProductsExport;
|
|
22198
22917
|
export declare type Ups = io.flow.internal.v0.models.Ups;
|
|
22918
|
+
export declare type UpsLicense = io.flow.internal.v0.models.UpsLicense;
|
|
22919
|
+
export declare type UpsLicenseForm = io.flow.internal.v0.models.UpsLicenseForm;
|
|
22920
|
+
export declare type UpsRegistration = io.flow.internal.v0.models.UpsRegistration;
|
|
22921
|
+
export declare type UpsRegistrationForm = io.flow.internal.v0.models.UpsRegistrationForm;
|
|
22199
22922
|
export declare type UserDeletedV2 = io.flow.internal.v0.models.UserDeletedV2;
|
|
22200
22923
|
export declare type UserOneTimeToken = io.flow.internal.v0.models.UserOneTimeToken;
|
|
22201
22924
|
export declare type UserStatusForm = io.flow.internal.v0.models.UserStatusForm;
|
|
@@ -22211,6 +22934,7 @@ export declare type ViesResult = io.flow.internal.v0.models.ViesResult;
|
|
|
22211
22934
|
export declare type VirtualCardTransaction = io.flow.internal.v0.models.VirtualCardTransaction;
|
|
22212
22935
|
export declare type WasteElectricalAndElectronicEquipmentComplianceData = io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceData;
|
|
22213
22936
|
export declare type WasteElectricalAndElectronicEquipmentComplianceForm = io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceForm;
|
|
22937
|
+
export declare type Webhook = io.flow.internal.v0.models.Webhook;
|
|
22214
22938
|
export declare type WholeOrderActionForm = io.flow.internal.v0.models.WholeOrderActionForm;
|
|
22215
22939
|
export declare type XborderOrder = io.flow.internal.v0.models.XborderOrder;
|
|
22216
22940
|
export {};
|