@flowio/types 0.0.2 → 0.0.4
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 +429 -11
- package/dist/api.d.ts +65 -80
- package/package.json +2 -3
- package/src/api-internal.ts +533 -9
- package/src/api.ts +79 -102
- package/LICENSE +0 -21
package/dist/api-internal.d.ts
CHANGED
|
@@ -1,3 +1,294 @@
|
|
|
1
|
+
declare namespace io.flow.ratecard.v0.enums { }
|
|
2
|
+
declare namespace io.flow.ratecard.v0.models {
|
|
3
|
+
interface CrossdockRatecardFee {
|
|
4
|
+
readonly amount: io.flow.common.v0.models.Money;
|
|
5
|
+
}
|
|
6
|
+
interface DdpRatecardFee {
|
|
7
|
+
readonly amount: number;
|
|
8
|
+
}
|
|
9
|
+
interface DimensionEstimate {
|
|
10
|
+
readonly id: string;
|
|
11
|
+
readonly q: string;
|
|
12
|
+
readonly dimensions: io.flow.ratecard.v0.models.EstimatedDimensions;
|
|
13
|
+
readonly position: number;
|
|
14
|
+
}
|
|
15
|
+
interface DimensionEstimateForm {
|
|
16
|
+
readonly q: string;
|
|
17
|
+
readonly dimensions: io.flow.ratecard.v0.models.EstimatedDimensions;
|
|
18
|
+
readonly position?: number;
|
|
19
|
+
}
|
|
20
|
+
interface DimensionEstimateVersion {
|
|
21
|
+
readonly id: string;
|
|
22
|
+
readonly timestamp: string;
|
|
23
|
+
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
24
|
+
readonly dimension_estimate: io.flow.ratecard.v0.models.DimensionEstimate;
|
|
25
|
+
}
|
|
26
|
+
interface EstimatedDimensions {
|
|
27
|
+
readonly depth: io.flow.common.v0.models.Measurement;
|
|
28
|
+
readonly length: io.flow.common.v0.models.Measurement;
|
|
29
|
+
readonly weight: io.flow.common.v0.models.Measurement;
|
|
30
|
+
readonly width: io.flow.common.v0.models.Measurement;
|
|
31
|
+
}
|
|
32
|
+
interface FuelSurchargeRatecardFee {
|
|
33
|
+
readonly amount: io.flow.common.v0.models.Money;
|
|
34
|
+
}
|
|
35
|
+
interface FuelSurchargeServiceFee {
|
|
36
|
+
readonly percent: number;
|
|
37
|
+
}
|
|
38
|
+
interface Hop {
|
|
39
|
+
readonly hop_number: number;
|
|
40
|
+
readonly hop_estimate: io.flow.ratecard.v0.models.HopEstimate;
|
|
41
|
+
}
|
|
42
|
+
interface HopEstimate {
|
|
43
|
+
readonly origin_address: io.flow.fulfillment.v0.models.ShippingAddress;
|
|
44
|
+
readonly destination_address: io.flow.fulfillment.v0.models.ShippingAddress;
|
|
45
|
+
readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
|
|
46
|
+
readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
|
|
47
|
+
readonly currency: string;
|
|
48
|
+
readonly amount: number;
|
|
49
|
+
readonly fees: ({
|
|
50
|
+
discriminator: 'ddp_ratecard_fee';
|
|
51
|
+
} & io.flow.ratecard.v0.models.DdpRatecardFee | {
|
|
52
|
+
discriminator: 'fuel_surcharge_ratecard_fee';
|
|
53
|
+
} & io.flow.ratecard.v0.models.FuelSurchargeRatecardFee | {
|
|
54
|
+
discriminator: 'oversized_shipment_ratecard_fee';
|
|
55
|
+
} & io.flow.ratecard.v0.models.OversizedShipmentRatecardFee | {
|
|
56
|
+
discriminator: 'return_package_ratecard_fee';
|
|
57
|
+
} & io.flow.ratecard.v0.models.ReturnPackageRatecardFee | {
|
|
58
|
+
discriminator: 'crossdock_ratecard_fee';
|
|
59
|
+
} & io.flow.ratecard.v0.models.CrossdockRatecardFee | {
|
|
60
|
+
discriminator: 'remote_area_ratecard_fee';
|
|
61
|
+
} & io.flow.ratecard.v0.models.RemoteAreaRatecardFee)[];
|
|
62
|
+
readonly total: number;
|
|
63
|
+
}
|
|
64
|
+
interface OversizedShipmentRatecardFee {
|
|
65
|
+
readonly weight_threshold: number;
|
|
66
|
+
readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
67
|
+
readonly margin?: number;
|
|
68
|
+
readonly amount?: number;
|
|
69
|
+
}
|
|
70
|
+
interface Ratecard {
|
|
71
|
+
readonly id: string;
|
|
72
|
+
readonly direction: io.flow.label.v0.enums.Direction;
|
|
73
|
+
readonly effective_at: string;
|
|
74
|
+
readonly origination_zones: io.flow.common.v0.models.Zone[];
|
|
75
|
+
readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
|
|
76
|
+
readonly number?: string;
|
|
77
|
+
readonly published_at?: string;
|
|
78
|
+
}
|
|
79
|
+
interface RatecardCarrierSummary {
|
|
80
|
+
readonly id: string;
|
|
81
|
+
readonly name: string;
|
|
82
|
+
}
|
|
83
|
+
interface RatecardEstimateFormV1 {
|
|
84
|
+
readonly origin?: string;
|
|
85
|
+
readonly destination?: string;
|
|
86
|
+
readonly weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
87
|
+
readonly distance_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
88
|
+
readonly service?: string;
|
|
89
|
+
readonly weight?: number;
|
|
90
|
+
readonly length?: number;
|
|
91
|
+
readonly width?: number;
|
|
92
|
+
readonly depth?: number;
|
|
93
|
+
readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
|
|
94
|
+
readonly line_items?: io.flow.common.v0.models.LineItemForm[];
|
|
95
|
+
}
|
|
96
|
+
interface RatecardEstimateFormV2 {
|
|
97
|
+
readonly origin_address: io.flow.common.v0.models.Address;
|
|
98
|
+
readonly destination_address: io.flow.common.v0.models.Address;
|
|
99
|
+
readonly weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
100
|
+
readonly distance_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
101
|
+
readonly service?: string;
|
|
102
|
+
readonly weight?: number;
|
|
103
|
+
readonly length?: number;
|
|
104
|
+
readonly width?: number;
|
|
105
|
+
readonly depth?: number;
|
|
106
|
+
readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
|
|
107
|
+
readonly line_items?: io.flow.common.v0.models.LineItemForm[];
|
|
108
|
+
readonly center_id?: string;
|
|
109
|
+
}
|
|
110
|
+
interface RatecardEstimateSummaryForm {
|
|
111
|
+
readonly origin?: string;
|
|
112
|
+
readonly destination?: string;
|
|
113
|
+
readonly service?: string;
|
|
114
|
+
readonly center_key?: string;
|
|
115
|
+
}
|
|
116
|
+
interface RatecardEstimateV1 {
|
|
117
|
+
readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
|
|
118
|
+
readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
|
|
119
|
+
readonly currency: string;
|
|
120
|
+
readonly amount: number;
|
|
121
|
+
readonly fees: ({
|
|
122
|
+
discriminator: 'ddp_ratecard_fee';
|
|
123
|
+
} & io.flow.ratecard.v0.models.DdpRatecardFee | {
|
|
124
|
+
discriminator: 'fuel_surcharge_ratecard_fee';
|
|
125
|
+
} & io.flow.ratecard.v0.models.FuelSurchargeRatecardFee | {
|
|
126
|
+
discriminator: 'oversized_shipment_ratecard_fee';
|
|
127
|
+
} & io.flow.ratecard.v0.models.OversizedShipmentRatecardFee | {
|
|
128
|
+
discriminator: 'return_package_ratecard_fee';
|
|
129
|
+
} & io.flow.ratecard.v0.models.ReturnPackageRatecardFee | {
|
|
130
|
+
discriminator: 'crossdock_ratecard_fee';
|
|
131
|
+
} & io.flow.ratecard.v0.models.CrossdockRatecardFee | {
|
|
132
|
+
discriminator: 'remote_area_ratecard_fee';
|
|
133
|
+
} & io.flow.ratecard.v0.models.RemoteAreaRatecardFee)[];
|
|
134
|
+
readonly total: number;
|
|
135
|
+
readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
|
|
136
|
+
readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
|
|
137
|
+
readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
|
|
138
|
+
readonly line_items?: io.flow.common.v0.models.LineItemForm[];
|
|
139
|
+
}
|
|
140
|
+
interface RatecardEstimateV2 {
|
|
141
|
+
readonly hops: io.flow.ratecard.v0.models.Hop[];
|
|
142
|
+
readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
|
|
143
|
+
readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
|
|
144
|
+
readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
|
|
145
|
+
readonly line_items?: io.flow.common.v0.models.LineItemForm[];
|
|
146
|
+
}
|
|
147
|
+
interface RatecardForm {
|
|
148
|
+
readonly direction: io.flow.label.v0.enums.Direction;
|
|
149
|
+
readonly effective_at: string;
|
|
150
|
+
readonly origination_zones: io.flow.common.v0.models.Zone[];
|
|
151
|
+
readonly service: string;
|
|
152
|
+
readonly number?: string;
|
|
153
|
+
}
|
|
154
|
+
interface RatecardLane {
|
|
155
|
+
readonly id: string;
|
|
156
|
+
readonly ratecard: io.flow.ratecard.v0.models.RatecardReference;
|
|
157
|
+
readonly currency: string;
|
|
158
|
+
readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
|
|
159
|
+
readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
|
|
160
|
+
readonly destination: io.flow.common.v0.models.Zone;
|
|
161
|
+
readonly dim_factor: number;
|
|
162
|
+
readonly fees: ({
|
|
163
|
+
discriminator: 'ddp_ratecard_fee';
|
|
164
|
+
} & io.flow.ratecard.v0.models.DdpRatecardFee | {
|
|
165
|
+
discriminator: 'fuel_surcharge_ratecard_fee';
|
|
166
|
+
} & io.flow.ratecard.v0.models.FuelSurchargeRatecardFee | {
|
|
167
|
+
discriminator: 'oversized_shipment_ratecard_fee';
|
|
168
|
+
} & io.flow.ratecard.v0.models.OversizedShipmentRatecardFee | {
|
|
169
|
+
discriminator: 'return_package_ratecard_fee';
|
|
170
|
+
} & io.flow.ratecard.v0.models.ReturnPackageRatecardFee | {
|
|
171
|
+
discriminator: 'crossdock_ratecard_fee';
|
|
172
|
+
} & io.flow.ratecard.v0.models.CrossdockRatecardFee | {
|
|
173
|
+
discriminator: 'remote_area_ratecard_fee';
|
|
174
|
+
} & io.flow.ratecard.v0.models.RemoteAreaRatecardFee)[];
|
|
175
|
+
readonly origin: io.flow.common.v0.models.Zone;
|
|
176
|
+
readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
|
|
177
|
+
readonly rates: io.flow.ratecard.v0.models.RatecardRate[];
|
|
178
|
+
readonly rounding: io.flow.common.v0.models.Rounding;
|
|
179
|
+
readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
180
|
+
readonly distance_unit: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
181
|
+
}
|
|
182
|
+
interface RatecardLaneForm {
|
|
183
|
+
readonly ratecard_id: string;
|
|
184
|
+
readonly currency: string;
|
|
185
|
+
readonly destination: io.flow.common.v0.models.Zone;
|
|
186
|
+
readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
|
|
187
|
+
readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
|
|
188
|
+
readonly dim_factor: number;
|
|
189
|
+
readonly fees: ({
|
|
190
|
+
discriminator: 'ddp_ratecard_fee';
|
|
191
|
+
} & io.flow.ratecard.v0.models.DdpRatecardFee | {
|
|
192
|
+
discriminator: 'fuel_surcharge_ratecard_fee';
|
|
193
|
+
} & io.flow.ratecard.v0.models.FuelSurchargeRatecardFee | {
|
|
194
|
+
discriminator: 'oversized_shipment_ratecard_fee';
|
|
195
|
+
} & io.flow.ratecard.v0.models.OversizedShipmentRatecardFee | {
|
|
196
|
+
discriminator: 'return_package_ratecard_fee';
|
|
197
|
+
} & io.flow.ratecard.v0.models.ReturnPackageRatecardFee | {
|
|
198
|
+
discriminator: 'crossdock_ratecard_fee';
|
|
199
|
+
} & io.flow.ratecard.v0.models.CrossdockRatecardFee | {
|
|
200
|
+
discriminator: 'remote_area_ratecard_fee';
|
|
201
|
+
} & io.flow.ratecard.v0.models.RemoteAreaRatecardFee)[];
|
|
202
|
+
readonly origin: io.flow.common.v0.models.Zone;
|
|
203
|
+
readonly rounding: io.flow.common.v0.models.Rounding;
|
|
204
|
+
readonly rates: io.flow.ratecard.v0.models.RatecardRateForm[];
|
|
205
|
+
readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
206
|
+
readonly distance_unit: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
207
|
+
}
|
|
208
|
+
interface RatecardLaneVersion {
|
|
209
|
+
readonly id: string;
|
|
210
|
+
readonly timestamp: string;
|
|
211
|
+
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
212
|
+
readonly ratecard_lane: io.flow.ratecard.v0.models.RatecardLane;
|
|
213
|
+
}
|
|
214
|
+
interface RatecardLanesImportRequestData {
|
|
215
|
+
readonly id: string;
|
|
216
|
+
readonly source_url: string;
|
|
217
|
+
readonly filename?: string;
|
|
218
|
+
}
|
|
219
|
+
interface RatecardRate {
|
|
220
|
+
readonly id: string;
|
|
221
|
+
readonly amount: number;
|
|
222
|
+
readonly weight: number;
|
|
223
|
+
}
|
|
224
|
+
interface RatecardRateForm {
|
|
225
|
+
readonly amount: number;
|
|
226
|
+
readonly weight: number;
|
|
227
|
+
}
|
|
228
|
+
interface RatecardRateVersion {
|
|
229
|
+
readonly id: string;
|
|
230
|
+
readonly timestamp: string;
|
|
231
|
+
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
232
|
+
readonly ratecard_rate: io.flow.ratecard.v0.models.RatecardRate;
|
|
233
|
+
}
|
|
234
|
+
interface RatecardReference {
|
|
235
|
+
readonly id: string;
|
|
236
|
+
}
|
|
237
|
+
interface RatecardServiceSummary {
|
|
238
|
+
readonly id: string;
|
|
239
|
+
readonly name: string;
|
|
240
|
+
readonly carrier: io.flow.ratecard.v0.models.RatecardCarrierSummary;
|
|
241
|
+
}
|
|
242
|
+
interface RatecardVersion {
|
|
243
|
+
readonly id: string;
|
|
244
|
+
readonly timestamp: string;
|
|
245
|
+
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
246
|
+
readonly ratecard: io.flow.ratecard.v0.models.Ratecard;
|
|
247
|
+
}
|
|
248
|
+
interface RemoteAreaRatecardFee {
|
|
249
|
+
readonly amount: io.flow.common.v0.models.Money;
|
|
250
|
+
}
|
|
251
|
+
interface RemoteAreaServiceFee {
|
|
252
|
+
readonly amount: io.flow.common.v0.models.Money;
|
|
253
|
+
}
|
|
254
|
+
interface ReturnPackageRatecardFee {
|
|
255
|
+
readonly amount: number;
|
|
256
|
+
}
|
|
257
|
+
interface ShipmentWindow {
|
|
258
|
+
readonly from: number;
|
|
259
|
+
readonly to: number;
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
declare namespace io.flow.ratecard.v0.unions {
|
|
263
|
+
type RatecardEstimate = {
|
|
264
|
+
discriminator: 'ratecard_estimate_v1';
|
|
265
|
+
} & io.flow.ratecard.v0.models.RatecardEstimateV1 | {
|
|
266
|
+
discriminator: 'ratecard_estimate_v2';
|
|
267
|
+
} & io.flow.ratecard.v0.models.RatecardEstimateV2;
|
|
268
|
+
type RatecardEstimateForm = {
|
|
269
|
+
discriminator: 'ratecard_estimate_form_v1';
|
|
270
|
+
} & io.flow.ratecard.v0.models.RatecardEstimateFormV1 | {
|
|
271
|
+
discriminator: 'ratecard_estimate_form_v2';
|
|
272
|
+
} & io.flow.ratecard.v0.models.RatecardEstimateFormV2;
|
|
273
|
+
type RatecardFee = {
|
|
274
|
+
discriminator: 'ddp_ratecard_fee';
|
|
275
|
+
} & io.flow.ratecard.v0.models.DdpRatecardFee | {
|
|
276
|
+
discriminator: 'fuel_surcharge_ratecard_fee';
|
|
277
|
+
} & io.flow.ratecard.v0.models.FuelSurchargeRatecardFee | {
|
|
278
|
+
discriminator: 'oversized_shipment_ratecard_fee';
|
|
279
|
+
} & io.flow.ratecard.v0.models.OversizedShipmentRatecardFee | {
|
|
280
|
+
discriminator: 'return_package_ratecard_fee';
|
|
281
|
+
} & io.flow.ratecard.v0.models.ReturnPackageRatecardFee | {
|
|
282
|
+
discriminator: 'crossdock_ratecard_fee';
|
|
283
|
+
} & io.flow.ratecard.v0.models.CrossdockRatecardFee | {
|
|
284
|
+
discriminator: 'remote_area_ratecard_fee';
|
|
285
|
+
} & io.flow.ratecard.v0.models.RemoteAreaRatecardFee;
|
|
286
|
+
type ServiceFee = {
|
|
287
|
+
discriminator: 'fuel_surcharge_service_fee';
|
|
288
|
+
} & io.flow.ratecard.v0.models.FuelSurchargeServiceFee | {
|
|
289
|
+
discriminator: 'remote_area_service_fee';
|
|
290
|
+
} & io.flow.ratecard.v0.models.RemoteAreaServiceFee;
|
|
291
|
+
}
|
|
1
292
|
declare namespace io.flow.optin.internal.v0.enums {
|
|
2
293
|
type PromptAction = 'prompt_displayed' | 'consent_granted' | 'consent_denied';
|
|
3
294
|
type PromptCheckoutDisplayPosition = 'email' | 'submission';
|
|
@@ -1425,7 +1716,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
1425
1716
|
readonly product_title: string;
|
|
1426
1717
|
readonly product_description?: string;
|
|
1427
1718
|
readonly product_type: string;
|
|
1428
|
-
readonly variant_title
|
|
1719
|
+
readonly variant_title?: string;
|
|
1429
1720
|
readonly variant_options?: string[];
|
|
1430
1721
|
readonly line_level_discount_allocations?: io.flow.shopify.external.v0.models.ShopifyLineLevelDiscountAllocation[];
|
|
1431
1722
|
}
|
|
@@ -3210,7 +3501,7 @@ declare namespace io.flow.bitpay.v0.models {
|
|
|
3210
3501
|
readonly url: string;
|
|
3211
3502
|
readonly posData?: string;
|
|
3212
3503
|
readonly status: io.flow.bitpay.v0.enums.InvoiceStatus;
|
|
3213
|
-
readonly exceptionStatus:
|
|
3504
|
+
readonly exceptionStatus: string;
|
|
3214
3505
|
readonly price: number;
|
|
3215
3506
|
readonly currency: string;
|
|
3216
3507
|
readonly amountPaid: number;
|
|
@@ -3881,6 +4172,16 @@ declare namespace io.flow.shopify.v0.models {
|
|
|
3881
4172
|
[key: string]: string;
|
|
3882
4173
|
};
|
|
3883
4174
|
}
|
|
4175
|
+
interface ShopifyCartConversion {
|
|
4176
|
+
readonly flow: io.flow.shopify.v0.models.ShopifyCartConversionFlowOrder;
|
|
4177
|
+
readonly shopify: io.flow.shopify.v0.models.ShopifyCartConversionShopifyCart;
|
|
4178
|
+
}
|
|
4179
|
+
interface ShopifyCartConversionFlowOrder {
|
|
4180
|
+
readonly order: io.flow.experience.v0.models.Order;
|
|
4181
|
+
}
|
|
4182
|
+
interface ShopifyCartConversionShopifyCart {
|
|
4183
|
+
readonly cart: io.flow.shopify.external.v0.models.ShopifyCart;
|
|
4184
|
+
}
|
|
3884
4185
|
interface ShopifyCartItem {
|
|
3885
4186
|
readonly id: string;
|
|
3886
4187
|
readonly handle: string;
|
|
@@ -5367,6 +5668,11 @@ declare namespace io.flow.experience.internal.v0.models {
|
|
|
5367
5668
|
readonly input_specification?: io.flow.common.v0.models.InputFormSpecification;
|
|
5368
5669
|
readonly cards: io.flow.experience.internal.v0.models.GiftCard[];
|
|
5369
5670
|
}
|
|
5671
|
+
interface InternalOrder {
|
|
5672
|
+
readonly order: io.flow.experience.v0.models.Order;
|
|
5673
|
+
readonly session?: unknown;
|
|
5674
|
+
readonly rates: io.flow.currency.internal.v0.models.RateDataV3[];
|
|
5675
|
+
}
|
|
5370
5676
|
interface ItemFilterResponse {
|
|
5371
5677
|
readonly filter: string;
|
|
5372
5678
|
readonly responses: io.flow.experience.internal.v0.models.ItemFilterValueResponse[];
|
|
@@ -9607,8 +9913,8 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
9607
9913
|
type DutyCompoundExpressionType = 'sum' | 'max' | 'min';
|
|
9608
9914
|
type DutyRateUnitOfMeasure = 'kg' | 'sq m' | 'item' | 'pair';
|
|
9609
9915
|
type DutySimpleExpressionType = 'free' | 'percent' | 'per_uom' | 'flat';
|
|
9610
|
-
type EcommercePlatformType = 'custom' | 'magento' | 'shopify' | 'sfcc' | 'solidus' | 'workarea';
|
|
9611
|
-
type EventType = 'adyen_authorization_deleted' | 'adyen_authorization_upserted' | 'adyen_cancel_deleted' | 'adyen_cancel_upserted' | 'adyen_capture_deleted' | 'adyen_capture_upserted' | 'adyen_refund_deleted' | 'adyen_refund_upserted' | 'billing_statement_upserted' | 'billing_statement_deleted' | 'tax_remittance_transaction_upserted' | 'tax_remittance_transaction_deleted' | 'account_transactions_export_request' | 'account_orders_export_request' | 'carrier_account_upserted' | 'catalog_import_request' | 'catalog_item_region_availabilities_published' | 'checkout_configuration_upserted' | 'checkout_configuration_deleted' | 'product_classification_upserted' | 'product_classification_deleted' | 'localized_content_upserted' | 'localization_upserted' | 'rate_deleted' | 'rate_upserted' | 'spot_rate_deleted' | 'spot_rate_upserted' | 'organization_currency_settings_upserted' | 'organization_currency_settings_deleted' | 'rate_deleted_v2' | 'rate_upserted_v2' | 'customs_description_import' | 'customs_description_tariffs_import' | 'item_dimension_estimate_upserted' | 'item_dimension_estimate_deleted' | 'duty_rate_request' | 'duty_rate_bulk_request' | 'duty_raw_upserted' | 'duty_raw_bulk_upserted' | 'duty_rate_upserted' | 'duty_rate_response' | 'duty_rate_bulk_response' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'order_attribute_deleted' | 'order_attribute_upserted' | 'experience_export_request' | 'experience_import_request' | 'submitted_order_upserted' | 'experiment_upserted' | 'experiment_deleted' | 'export_completed' | 'export_failed' | 'fraud_review_upserted' | 'fraud_review_deleted' | 'fraud_pending_review_upserted' | 'fraud_pending_review_deleted' | 'fraud_review_decision_upserted' | 'fraud_review_decision_deleted' | 'ftp_file_upserted' | 'ftp_file_deleted' | 'ftp_file_to_process_uploaded' | 'blacklisted_item_created' | 'blacklisted_item_updated' | 'blacklisted_item_deleted' | 'all_items_export' | 'harmonized_items_hs6_export' | 'unharmonized_items_export' | 'dutied_items_export' | 'landed_cost_export' | 'harmonization_phrase_suggestion_request_import' | 'harmonization_codes_import' | 'customs_description_sugestion_created' | 'harmonize_fully_with_rate' | 'item_harmonized' | 'harmonize_fully_request' | 'import_completed' | 'import_failed' | 'next_installment_upserted' | 'next_installment_deleted' | 'installment_upserted' | 'installment_deleted' | 'installment_program_upserted' | 'installment_program_deleted' | 'installment_plan_upserted' | 'installment_plan_deleted' | 'installment_plan_authorization_upserted' | 'installment_plan_authorization_deleted' | 'issuer_upserted' | 'issuer_deleted' | 'label_invoice_upserted' | 'label_invoice_deleted' | 'localized_item_upserted_v2' | 'localized_item_deleted' | 'localized_item_deleted_v2' | 'localized_item_snapshot' | 'localized_item_prices_export_request' | 'optin_prompt_upserted' | 'optin_prompt_deleted' | 'order_fulfillment_deleted' | 'order_fulfillment_upserted' | 'order_placed' | 'ready_to_fulfill' | 'fulfillment_cancel' | 'order_shipped' | 'items_shipped' | 'internal_authorization_upserted' | 'internal_authorization_deleted' | 'afterpay_authorization_upserted' | 'afterpay_authorization_deleted' | 'afterpay_capture_upserted' | 'afterpay_capture_deleted' | 'afterpay_refund_upserted' | 'afterpay_refund_deleted' | 'adyen_merchant_account_upserted' | 'adyen_merchant_account_deleted' | 'paypal_payment_deleted' | 'paypal_payment_upserted' | 'paypal_execution_deleted' | 'paypal_execution_upserted' | 'paypal_refund_deleted' | 'paypal_refund_upserted' | 'order_rates_published_v3' | 'shopify_shop_upserted' | 'shopify_shop_deleted' | 'shopify_experience_short_id_upserted' | 'shopify_experience_short_id_deleted' | 'stripe_authorization_deleted' | 'stripe_authorization_upserted' | 'stripe_reversal_deleted' | 'stripe_reversal_upserted' | 'stripe_capture_deleted' | 'stripe_capture_upserted' | 'stripe_refund_deleted' | 'stripe_refund_upserted' | 'svb_virtual_card_clearing_upserted' | 'svb_virtual_card_clearing_deleted' | 'tracking_request_upserted' | 'tracking_response_upserted' | 'user_upserted' | 'user_deleted';
|
|
9916
|
+
type EcommercePlatformType = 'commercetools' | 'custom' | 'magento' | 'shopify' | 'sfcc' | 'solidus' | 'workarea';
|
|
9917
|
+
type EventType = 'adyen_authorization_deleted' | 'adyen_authorization_upserted' | 'adyen_cancel_deleted' | 'adyen_cancel_upserted' | 'adyen_capture_deleted' | 'adyen_capture_upserted' | 'adyen_refund_deleted' | 'adyen_refund_upserted' | 'billing_statement_upserted' | 'billing_statement_deleted' | 'tax_remittance_transaction_upserted' | 'tax_remittance_transaction_deleted' | 'account_transactions_export_request' | 'account_orders_export_request' | 'carrier_account_upserted' | 'catalog_import_request' | 'catalog_item_region_availabilities_published' | 'checkout_configuration_upserted' | 'checkout_configuration_deleted' | 'product_classification_upserted' | 'product_classification_deleted' | 'localized_content_upserted' | 'localization_upserted' | 'rate_deleted' | 'rate_upserted' | 'spot_rate_deleted' | 'spot_rate_upserted' | 'organization_currency_settings_upserted' | 'organization_currency_settings_deleted' | 'rate_deleted_v2' | 'rate_upserted_v2' | 'customs_description_import' | 'customs_description_tariffs_import' | 'item_dimension_estimate_upserted' | 'item_dimension_estimate_deleted' | 'duty_rate_request' | 'duty_rate_bulk_request' | 'duty_raw_upserted' | 'duty_raw_bulk_upserted' | 'duty_rate_upserted' | 'duty_rate_response' | 'duty_rate_bulk_response' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'order_attribute_deleted' | 'order_attribute_upserted' | 'experience_export_request' | 'experience_import_request' | 'submitted_order_upserted' | 'experiment_upserted' | 'experiment_deleted' | 'export_completed' | 'export_failed' | 'fraud_review_upserted' | 'fraud_review_deleted' | 'fraud_pending_review_upserted' | 'fraud_pending_review_deleted' | 'fraud_review_decision_upserted' | 'fraud_review_decision_deleted' | 'ftp_file_upserted' | 'ftp_file_deleted' | 'ftp_file_to_process_uploaded' | 'blacklisted_item_created' | 'blacklisted_item_updated' | 'blacklisted_item_deleted' | 'all_items_export' | 'harmonized_items_hs6_export' | 'unharmonized_items_export' | 'dutied_items_export' | 'landed_cost_export' | 'harmonization_phrase_suggestion_request_import' | 'harmonization_codes_import' | 'customs_description_sugestion_created' | 'harmonize_fully_with_rate' | 'item_harmonized' | 'harmonize_fully_request' | 'import_completed' | 'import_failed' | 'next_installment_upserted' | 'next_installment_deleted' | 'installment_upserted' | 'installment_deleted' | 'installment_program_upserted' | 'installment_program_deleted' | 'installment_plan_upserted' | 'installment_plan_deleted' | 'installment_plan_authorization_upserted' | 'installment_plan_authorization_deleted' | 'issuer_upserted' | 'issuer_deleted' | 'label_invoice_upserted' | 'label_invoice_deleted' | 'localized_item_upserted_v2' | 'localized_item_deleted' | 'localized_item_deleted_v2' | 'localized_item_snapshot' | 'localized_item_prices_export_request' | 'optin_prompt_upserted' | 'optin_prompt_deleted' | 'order_fulfillment_deleted' | 'order_fulfillment_upserted' | 'order_placed' | 'ready_to_fulfill' | 'fulfillment_cancel' | 'order_shipped' | 'items_shipped' | 'internal_authorization_upserted' | 'internal_authorization_deleted' | 'afterpay_authorization_upserted' | 'afterpay_authorization_deleted' | 'afterpay_capture_upserted' | 'afterpay_capture_deleted' | 'afterpay_refund_upserted' | 'afterpay_refund_deleted' | 'adyen_merchant_account_upserted' | 'adyen_merchant_account_deleted' | 'paypal_payment_deleted' | 'paypal_payment_upserted' | 'paypal_execution_deleted' | 'paypal_execution_upserted' | 'paypal_refund_deleted' | 'paypal_refund_upserted' | 'order_rates_published_v3' | 'ratecard_lanes_import_request' | 'shopify_shop_upserted' | 'shopify_shop_deleted' | 'shopify_experience_short_id_upserted' | 'shopify_experience_short_id_deleted' | 'stripe_authorization_deleted' | 'stripe_authorization_upserted' | 'stripe_reversal_deleted' | 'stripe_reversal_upserted' | 'stripe_capture_deleted' | 'stripe_capture_upserted' | 'stripe_refund_deleted' | 'stripe_refund_upserted' | 'svb_virtual_card_clearing_upserted' | 'svb_virtual_card_clearing_deleted' | 'tracking_request_upserted' | 'tracking_response_upserted' | 'user_upserted' | 'user_deleted';
|
|
9612
9918
|
type ExclusionRuleState = 'current' | 'deleting' | 'updating';
|
|
9613
9919
|
type ExperienceImportType = 'experience_with_settings';
|
|
9614
9920
|
type ExperienceOrderAction = 'submit';
|
|
@@ -9617,10 +9923,13 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
9617
9923
|
type FeatureStatus = 'draft' | 'active' | 'archived';
|
|
9618
9924
|
type FeatureType = 'boolean' | 'decimal' | 'string';
|
|
9619
9925
|
type FlowApp = 'console';
|
|
9926
|
+
type FlowFieldName = 'item-number' | 'sku-attribute' | 'product_id-attribute';
|
|
9620
9927
|
type Format = 'text' | 'phone' | 'email';
|
|
9621
9928
|
type FtpIntent = 'orders_from_flow' | 'pricebooks_from_flow' | 'pricebooks_to_flow' | 'catalog_to_flow' | 'inventory_to_flow';
|
|
9622
9929
|
type FtpProtocol = 'sftp' | 'ftp';
|
|
9623
9930
|
type HttpMethod = 'get' | 'post';
|
|
9931
|
+
type IncomingFeedFormat = 'google-xml' | 'google-sheet';
|
|
9932
|
+
type IncomingFieldName = 'id' | 'mpn';
|
|
9624
9933
|
type InstallmentPaymentType = 'balance' | 'fixed_amount' | 'percentage' | 'fraction';
|
|
9625
9934
|
type InstallmentPlanStatus = 'active' | 'completed' | 'failed';
|
|
9626
9935
|
type InstallmentProgramStatus = 'draft' | 'active' | 'archived';
|
|
@@ -9632,6 +9941,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
9632
9941
|
type LabelInvoiceDetailKey = 'package' | 'duty_tax' | 'fuel_surcharge' | 'other';
|
|
9633
9942
|
type MarketingGatewayAccountConnectionStatus = 'not_connected' | 'connected' | 'invalid_token' | 'deletion_in_progress';
|
|
9634
9943
|
type MarketingGatewayAccountMarketLocalizationError = 'no_localization' | 'no_existing_market' | 'already_configured_external' | 'already_configured_flow';
|
|
9944
|
+
type MarketingGatewayFeedDownloadFormat = 'tsv';
|
|
9635
9945
|
type MarketingGatewayGoogleProductDestinationApprovalStatus = 'approved' | 'disapproved';
|
|
9636
9946
|
type MarketingGatewayGoogleProductItemLevelIssueSeverity = 'critical' | 'error' | 'suggestion';
|
|
9637
9947
|
type MarketingGatewayPlatform = 'google' | 'facebook';
|
|
@@ -9642,6 +9952,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
9642
9952
|
type OrderChargeTrigger = 'first_shipment' | 'last_shipment' | 'shipment_exhausted';
|
|
9643
9953
|
type OrderEventType = 'order_shipment' | 'order_submission';
|
|
9644
9954
|
type OrderLifecycleEvent = 'order_placed' | 'ready_to_fulfill';
|
|
9955
|
+
type OutgoingFeedFormat = 'facebook-xml' | 'google-tsv' | 'google-xml' | 'criteo-xml';
|
|
9645
9956
|
type PaymentSummaryStatus = 'authorized' | 'canceled' | 'declined' | 'expired' | 'failed' | 'pending' | 'processed' | 'reversed' | 'review' | 'succeeded';
|
|
9646
9957
|
type PaymentSummaryType = 'authorization' | 'capture' | 'refund' | 'reversal' | 'credit';
|
|
9647
9958
|
type PaymentTerm = 'net7' | 'net15' | 'net30';
|
|
@@ -10289,6 +10600,24 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10289
10600
|
readonly number: string;
|
|
10290
10601
|
readonly timestamp: string;
|
|
10291
10602
|
}
|
|
10603
|
+
interface CatalogFeed {
|
|
10604
|
+
readonly id: string;
|
|
10605
|
+
readonly experience_feed_summaries: io.flow.internal.v0.models.ExperienceFeedSummary[];
|
|
10606
|
+
readonly incoming_feed: io.flow.internal.v0.models.IncomingFeed;
|
|
10607
|
+
readonly outgoing_feed: io.flow.internal.v0.models.OutgoingFeed;
|
|
10608
|
+
readonly feed_statistics_summary: io.flow.internal.v0.models.FeedStatisticsSummary;
|
|
10609
|
+
}
|
|
10610
|
+
interface CatalogFeedFormPost {
|
|
10611
|
+
readonly experience_keys: string[];
|
|
10612
|
+
readonly incoming_feed: io.flow.internal.v0.models.IncomingFeed;
|
|
10613
|
+
readonly outgoing_feed_form: io.flow.internal.v0.models.OutgoingFeed;
|
|
10614
|
+
}
|
|
10615
|
+
interface CatalogFeedFormPut {
|
|
10616
|
+
readonly id: string;
|
|
10617
|
+
readonly experience_keys: string[];
|
|
10618
|
+
readonly incoming_feed: io.flow.internal.v0.models.IncomingFeed;
|
|
10619
|
+
readonly outgoing_feed_form: io.flow.internal.v0.models.OutgoingFeed;
|
|
10620
|
+
}
|
|
10292
10621
|
interface CatalogImportRequest {
|
|
10293
10622
|
readonly event_id: string;
|
|
10294
10623
|
readonly timestamp: string;
|
|
@@ -10342,11 +10671,17 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10342
10671
|
readonly organization: io.flow.common.v0.models.OrganizationSummary;
|
|
10343
10672
|
readonly builder: io.flow.experience.v0.models.OrderBuilder;
|
|
10344
10673
|
readonly content: io.flow.internal.v0.models.CheckoutContent;
|
|
10674
|
+
readonly destinations: io.flow.reference.v0.models.Country[];
|
|
10345
10675
|
readonly optins: io.flow.optin.internal.v0.models.OptinPrompt[];
|
|
10346
10676
|
readonly addresses: unknown[];
|
|
10347
10677
|
readonly features: io.flow.feature.v0.models.FeatureValueResult;
|
|
10348
10678
|
readonly configuration: io.flow.checkout.configuration.v0.models.CheckoutConfiguration;
|
|
10349
10679
|
readonly cart?: io.flow.shopify.v0.models.ShopifyCart;
|
|
10680
|
+
readonly customer?: io.flow.customer.v0.models.Customer;
|
|
10681
|
+
readonly address_book?: io.flow.customer.v0.models.CustomerAddressBook;
|
|
10682
|
+
readonly gift_card_program?: io.flow.experience.internal.v0.models.GiftCardProgram;
|
|
10683
|
+
readonly loyalty_program?: io.flow.experience.internal.v0.models.LoyaltyProgram;
|
|
10684
|
+
readonly payment: io.flow.internal.v0.models.CheckoutPayment;
|
|
10350
10685
|
}
|
|
10351
10686
|
interface CheckoutBehavior {
|
|
10352
10687
|
readonly shipping_address: io.flow.internal.v0.models.CheckoutBehaviorShippingAddress;
|
|
@@ -10459,18 +10794,32 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10459
10794
|
readonly expected_order_summary: io.flow.internal.v0.models.ExpectedOrderSummary;
|
|
10460
10795
|
readonly order_put_form: io.flow.experience.v0.models.OrderPutForm;
|
|
10461
10796
|
}
|
|
10462
|
-
interface
|
|
10797
|
+
interface CheckoutMarketingContent {
|
|
10798
|
+
readonly optins: io.flow.internal.v0.models.Checkbox[];
|
|
10799
|
+
}
|
|
10800
|
+
interface CheckoutOrderForm {
|
|
10463
10801
|
readonly organization: string;
|
|
10464
10802
|
readonly order: io.flow.experience.v0.models.OrderPutForm;
|
|
10465
|
-
readonly
|
|
10803
|
+
readonly feature_keys?: string[];
|
|
10466
10804
|
}
|
|
10467
|
-
interface
|
|
10468
|
-
readonly
|
|
10805
|
+
interface CheckoutOrderNumberForm {
|
|
10806
|
+
readonly organization: string;
|
|
10807
|
+
readonly order_number: string;
|
|
10808
|
+
readonly feature_keys?: string[];
|
|
10809
|
+
}
|
|
10810
|
+
interface CheckoutPayment {
|
|
10811
|
+
readonly sources: unknown[];
|
|
10812
|
+
readonly public_key: io.flow.payment.v0.models.PublicKey;
|
|
10813
|
+
readonly method_types: io.flow.reference.v0.enums.PaymentMethodType[];
|
|
10814
|
+
readonly method_rules: io.flow.experience.v0.models.PaymentMethodRule[];
|
|
10469
10815
|
}
|
|
10470
10816
|
interface CheckoutPaymentContent {
|
|
10471
10817
|
readonly default: io.flow.internal.v0.models.ApmContent;
|
|
10472
10818
|
readonly paypal?: io.flow.internal.v0.models.ApmContent;
|
|
10473
10819
|
}
|
|
10820
|
+
interface CheckoutReferenceForm {
|
|
10821
|
+
readonly order_number: string;
|
|
10822
|
+
}
|
|
10474
10823
|
interface CheckoutSettings {
|
|
10475
10824
|
readonly session_persistence_timeout?: io.flow.common.v0.models.Duration;
|
|
10476
10825
|
readonly session_persistence_attribute_keys?: string[];
|
|
@@ -10481,13 +10830,13 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10481
10830
|
}
|
|
10482
10831
|
interface CheckoutSubmission {
|
|
10483
10832
|
readonly builder: io.flow.experience.v0.models.OrderBuilder;
|
|
10484
|
-
readonly
|
|
10833
|
+
readonly action?: unknown;
|
|
10485
10834
|
}
|
|
10486
10835
|
interface CheckoutSubmissionForm {
|
|
10487
10836
|
readonly authorization_form: unknown;
|
|
10488
10837
|
readonly installment_program_id?: string;
|
|
10489
10838
|
readonly expected_order_summary?: io.flow.internal.v0.models.ExpectedOrderSummary;
|
|
10490
|
-
readonly
|
|
10839
|
+
readonly feature_keys?: string[];
|
|
10491
10840
|
}
|
|
10492
10841
|
interface CheckoutSubmitOrderBundle {
|
|
10493
10842
|
readonly order?: io.flow.experience.v0.models.Order;
|
|
@@ -10949,6 +11298,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10949
11298
|
readonly keys?: string[];
|
|
10950
11299
|
readonly export_id: string;
|
|
10951
11300
|
}
|
|
11301
|
+
interface ExperienceFeedSummary {
|
|
11302
|
+
readonly experience: io.flow.experience.v0.models.ExperienceReference;
|
|
11303
|
+
readonly url: string;
|
|
11304
|
+
readonly last_construct_date?: string;
|
|
11305
|
+
}
|
|
10952
11306
|
interface ExperienceImportRequest {
|
|
10953
11307
|
readonly event_id: string;
|
|
10954
11308
|
readonly timestamp: string;
|
|
@@ -11137,6 +11491,9 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11137
11491
|
readonly value: io.flow.common.v0.models.Price;
|
|
11138
11492
|
readonly description?: string;
|
|
11139
11493
|
}
|
|
11494
|
+
interface FeedStatisticsSummary {
|
|
11495
|
+
readonly last_incoming_date?: string;
|
|
11496
|
+
}
|
|
11140
11497
|
interface Fees {
|
|
11141
11498
|
readonly processing: io.flow.internal.v0.models.Fee;
|
|
11142
11499
|
readonly rate_lock: io.flow.internal.v0.models.Fee;
|
|
@@ -11451,6 +11808,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11451
11808
|
readonly import_id: string;
|
|
11452
11809
|
readonly error: string;
|
|
11453
11810
|
}
|
|
11811
|
+
interface IncomingFeed {
|
|
11812
|
+
readonly url: string;
|
|
11813
|
+
readonly format: io.flow.internal.v0.enums.IncomingFeedFormat;
|
|
11814
|
+
readonly minute: number;
|
|
11815
|
+
readonly item_link: io.flow.internal.v0.models.ItemLink;
|
|
11816
|
+
}
|
|
11454
11817
|
interface InstallForm {
|
|
11455
11818
|
readonly token: string;
|
|
11456
11819
|
}
|
|
@@ -11751,6 +12114,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11751
12114
|
[key: string]: io.flow.harmonization.internal.v0.models.TariffCodeDuty;
|
|
11752
12115
|
};
|
|
11753
12116
|
}
|
|
12117
|
+
interface ItemLink {
|
|
12118
|
+
readonly incoming_field_name: io.flow.internal.v0.enums.IncomingFieldName;
|
|
12119
|
+
readonly flow_field_name: io.flow.internal.v0.enums.FlowFieldName;
|
|
12120
|
+
}
|
|
11754
12121
|
interface ItemQueryResponse {
|
|
11755
12122
|
readonly q: string;
|
|
11756
12123
|
readonly items: io.flow.catalog.v0.models.Item[];
|
|
@@ -12161,9 +12528,15 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12161
12528
|
readonly organization: io.flow.common.v0.models.OrganizationSummary;
|
|
12162
12529
|
readonly experience: io.flow.common.v0.models.ExperienceSummary;
|
|
12163
12530
|
readonly schema: io.flow.internal.v0.models.MarketingGatewaySchemaSummary;
|
|
12531
|
+
readonly filter: io.flow.internal.v0.models.MarketingGatewayFilterSummary;
|
|
12164
12532
|
readonly country: string;
|
|
12165
12533
|
readonly currency: string;
|
|
12166
12534
|
readonly language: string;
|
|
12535
|
+
readonly url: string;
|
|
12536
|
+
}
|
|
12537
|
+
interface MarketingGatewayFilterSummary {
|
|
12538
|
+
readonly id: string;
|
|
12539
|
+
readonly name: string;
|
|
12167
12540
|
}
|
|
12168
12541
|
interface MarketingGatewayGoogleCustomLabels {
|
|
12169
12542
|
readonly custom_label_0?: string;
|
|
@@ -12608,6 +12981,14 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12608
12981
|
readonly respect_item_sales_margins_on_override: boolean;
|
|
12609
12982
|
readonly respect_session_currency: boolean;
|
|
12610
12983
|
}
|
|
12984
|
+
interface OutgoingFeed {
|
|
12985
|
+
readonly format: io.flow.internal.v0.enums.OutgoingFeedFormat;
|
|
12986
|
+
readonly minute: number;
|
|
12987
|
+
}
|
|
12988
|
+
interface OutgoingFeedForm {
|
|
12989
|
+
readonly format: io.flow.internal.v0.enums.OutgoingFeedFormat;
|
|
12990
|
+
readonly minute: number;
|
|
12991
|
+
}
|
|
12611
12992
|
interface Partner {
|
|
12612
12993
|
readonly id: string;
|
|
12613
12994
|
readonly name: string;
|
|
@@ -12965,6 +13346,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12965
13346
|
readonly timestamp: string;
|
|
12966
13347
|
readonly rate: io.flow.currency.internal.v0.models.Rate;
|
|
12967
13348
|
}
|
|
13349
|
+
interface RatecardLanesImportRequest {
|
|
13350
|
+
readonly event_id: string;
|
|
13351
|
+
readonly timestamp: string;
|
|
13352
|
+
readonly organization: string;
|
|
13353
|
+
readonly data: io.flow.ratecard.v0.models.RatecardLanesImportRequestData;
|
|
13354
|
+
}
|
|
12968
13355
|
interface ReadyToFulfill {
|
|
12969
13356
|
readonly event_id: string;
|
|
12970
13357
|
readonly timestamp: string;
|
|
@@ -13700,6 +14087,11 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
13700
14087
|
} & io.flow.internal.v0.models.Landmark | {
|
|
13701
14088
|
discriminator: 'dhl';
|
|
13702
14089
|
} & io.flow.internal.v0.models.Dhl;
|
|
14090
|
+
type CheckoutForm = {
|
|
14091
|
+
discriminator: 'order';
|
|
14092
|
+
} & io.flow.internal.v0.models.CheckoutOrderForm | {
|
|
14093
|
+
discriminator: 'order_number';
|
|
14094
|
+
} & io.flow.internal.v0.models.CheckoutOrderNumberForm;
|
|
13703
14095
|
type CheckoutSubmitOrderBundles = {
|
|
13704
14096
|
discriminator: 'checkout_submit_order_bundle';
|
|
13705
14097
|
} & io.flow.internal.v0.models.CheckoutSubmitOrderBundle;
|
|
@@ -13970,6 +14362,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
13970
14362
|
} & io.flow.internal.v0.models.PaypalRefundUpserted | {
|
|
13971
14363
|
discriminator: 'order_rates_published_v3';
|
|
13972
14364
|
} & io.flow.internal.v0.models.OrderRatesPublishedV3 | {
|
|
14365
|
+
discriminator: 'ratecard_lanes_import_request';
|
|
14366
|
+
} & io.flow.internal.v0.models.RatecardLanesImportRequest | {
|
|
13973
14367
|
discriminator: 'shopify_shop_upserted';
|
|
13974
14368
|
} & io.flow.internal.v0.models.ShopifyShopUpserted | {
|
|
13975
14369
|
discriminator: 'shopify_shop_deleted';
|
|
@@ -14031,6 +14425,9 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
14031
14425
|
} & io.flow.internal.v0.models.BooleanFeatureValue | {
|
|
14032
14426
|
discriminator: 'string';
|
|
14033
14427
|
} & io.flow.internal.v0.models.StringFeatureValue;
|
|
14428
|
+
type Feed = {
|
|
14429
|
+
discriminator: 'catalog_feed';
|
|
14430
|
+
} & io.flow.internal.v0.models.CatalogFeed;
|
|
14034
14431
|
type IndexTaskType = {
|
|
14035
14432
|
discriminator: 'catalog_item_index_task';
|
|
14036
14433
|
} & io.flow.internal.v0.models.CatalogItemIndexTask | {
|
|
@@ -14276,6 +14673,9 @@ export declare type CarrierAccountUpserted = io.flow.internal.v0.models.CarrierA
|
|
|
14276
14673
|
export declare type CarrierCredentials = io.flow.internal.v0.unions.CarrierCredentials;
|
|
14277
14674
|
export declare type CarrierInvoice = io.flow.internal.v0.models.CarrierInvoice;
|
|
14278
14675
|
export declare type CarrierLabelGenerationMethod = io.flow.internal.v0.enums.CarrierLabelGenerationMethod;
|
|
14676
|
+
export declare type CatalogFeed = io.flow.internal.v0.models.CatalogFeed;
|
|
14677
|
+
export declare type CatalogFeedFormPost = io.flow.internal.v0.models.CatalogFeedFormPost;
|
|
14678
|
+
export declare type CatalogFeedFormPut = io.flow.internal.v0.models.CatalogFeedFormPut;
|
|
14279
14679
|
export declare type CatalogImportRequest = io.flow.internal.v0.models.CatalogImportRequest;
|
|
14280
14680
|
export declare type CatalogImportType = io.flow.internal.v0.enums.CatalogImportType;
|
|
14281
14681
|
export declare type CatalogItemBatchIndexTask = io.flow.internal.v0.models.CatalogItemBatchIndexTask;
|
|
@@ -14303,10 +14703,14 @@ export declare type CheckoutContent = io.flow.internal.v0.models.CheckoutContent
|
|
|
14303
14703
|
export declare type CheckoutContentDetails = io.flow.internal.v0.models.CheckoutContentDetails;
|
|
14304
14704
|
export declare type CheckoutContentSummary = io.flow.internal.v0.models.CheckoutContentSummary;
|
|
14305
14705
|
export declare type CheckoutFinalizeOrderForm = io.flow.internal.v0.models.CheckoutFinalizeOrderForm;
|
|
14306
|
-
export declare type CheckoutForm = io.flow.internal.v0.
|
|
14706
|
+
export declare type CheckoutForm = io.flow.internal.v0.unions.CheckoutForm;
|
|
14307
14707
|
export declare type CheckoutMarketingContent = io.flow.internal.v0.models.CheckoutMarketingContent;
|
|
14708
|
+
export declare type CheckoutOrderForm = io.flow.internal.v0.models.CheckoutOrderForm;
|
|
14709
|
+
export declare type CheckoutOrderNumberForm = io.flow.internal.v0.models.CheckoutOrderNumberForm;
|
|
14710
|
+
export declare type CheckoutPayment = io.flow.internal.v0.models.CheckoutPayment;
|
|
14308
14711
|
export declare type CheckoutPaymentContent = io.flow.internal.v0.models.CheckoutPaymentContent;
|
|
14309
14712
|
export declare type CheckoutPromptBehavior = io.flow.internal.v0.enums.CheckoutPromptBehavior;
|
|
14713
|
+
export declare type CheckoutReferenceForm = io.flow.internal.v0.models.CheckoutReferenceForm;
|
|
14310
14714
|
export declare type CheckoutSettings = io.flow.internal.v0.models.CheckoutSettings;
|
|
14311
14715
|
export declare type CheckoutShippingMethodPromptBehavior = io.flow.internal.v0.enums.CheckoutShippingMethodPromptBehavior;
|
|
14312
14716
|
export declare type CheckoutSourceOrderForm = io.flow.internal.v0.models.CheckoutSourceOrderForm;
|
|
@@ -14408,6 +14812,7 @@ export declare type ExclusionRuleStatistic = io.flow.internal.v0.models.Exclusio
|
|
|
14408
14812
|
export declare type ExclusionRuleVersion = io.flow.internal.v0.models.ExclusionRuleVersion;
|
|
14409
14813
|
export declare type ExpectedOrderSummary = io.flow.internal.v0.models.ExpectedOrderSummary;
|
|
14410
14814
|
export declare type ExperienceExportRequest = io.flow.internal.v0.models.ExperienceExportRequest;
|
|
14815
|
+
export declare type ExperienceFeedSummary = io.flow.internal.v0.models.ExperienceFeedSummary;
|
|
14411
14816
|
export declare type ExperienceImportRequest = io.flow.internal.v0.models.ExperienceImportRequest;
|
|
14412
14817
|
export declare type ExperienceImportType = io.flow.internal.v0.enums.ExperienceImportType;
|
|
14413
14818
|
export declare type ExperienceOrderAction = io.flow.internal.v0.enums.ExperienceOrderAction;
|
|
@@ -14448,6 +14853,8 @@ export declare type FeatureValue = io.flow.internal.v0.unions.FeatureValue;
|
|
|
14448
14853
|
export declare type FeatureValueForm = io.flow.internal.v0.models.FeatureValueForm;
|
|
14449
14854
|
export declare type FeatureValueResult = io.flow.internal.v0.models.FeatureValueResult;
|
|
14450
14855
|
export declare type Fee = io.flow.internal.v0.models.Fee;
|
|
14856
|
+
export declare type Feed = io.flow.internal.v0.unions.Feed;
|
|
14857
|
+
export declare type FeedStatisticsSummary = io.flow.internal.v0.models.FeedStatisticsSummary;
|
|
14451
14858
|
export declare type Fees = io.flow.internal.v0.models.Fees;
|
|
14452
14859
|
export declare type FixedAmountInstallmentStep = io.flow.internal.v0.models.FixedAmountInstallmentStep;
|
|
14453
14860
|
export declare type FixedAmountInstallmentStepForm = io.flow.internal.v0.models.FixedAmountInstallmentStepForm;
|
|
@@ -14455,6 +14862,7 @@ export declare type FlowApp = io.flow.internal.v0.enums.FlowApp;
|
|
|
14455
14862
|
export declare type FlowCurrencySetting = io.flow.internal.v0.models.FlowCurrencySetting;
|
|
14456
14863
|
export declare type FlowCurrencySettingForm = io.flow.internal.v0.models.FlowCurrencySettingForm;
|
|
14457
14864
|
export declare type FlowCurrencySettingVersion = io.flow.internal.v0.models.FlowCurrencySettingVersion;
|
|
14865
|
+
export declare type FlowFieldName = io.flow.internal.v0.enums.FlowFieldName;
|
|
14458
14866
|
export declare type FlowLabelSetting = io.flow.internal.v0.models.FlowLabelSetting;
|
|
14459
14867
|
export declare type FlowLabelSettingForm = io.flow.internal.v0.models.FlowLabelSettingForm;
|
|
14460
14868
|
export declare type Format = io.flow.internal.v0.enums.Format;
|
|
@@ -14503,6 +14911,9 @@ export declare type Href = io.flow.internal.v0.models.Href;
|
|
|
14503
14911
|
export declare type HttpMethod = io.flow.internal.v0.enums.HttpMethod;
|
|
14504
14912
|
export declare type ImportCompleted = io.flow.internal.v0.models.ImportCompleted;
|
|
14505
14913
|
export declare type ImportFailed = io.flow.internal.v0.models.ImportFailed;
|
|
14914
|
+
export declare type IncomingFeed = io.flow.internal.v0.models.IncomingFeed;
|
|
14915
|
+
export declare type IncomingFeedFormat = io.flow.internal.v0.enums.IncomingFeedFormat;
|
|
14916
|
+
export declare type IncomingFieldName = io.flow.internal.v0.enums.IncomingFieldName;
|
|
14506
14917
|
export declare type IndexTaskType = io.flow.internal.v0.unions.IndexTaskType;
|
|
14507
14918
|
export declare type InstallForm = io.flow.internal.v0.models.InstallForm;
|
|
14508
14919
|
export declare type Installment = io.flow.internal.v0.models.Installment;
|
|
@@ -14561,6 +14972,7 @@ export declare type ItemFilterValueResponse = io.flow.internal.v0.models.ItemFil
|
|
|
14561
14972
|
export declare type ItemFilterValuesForm = io.flow.internal.v0.models.ItemFilterValuesForm;
|
|
14562
14973
|
export declare type ItemHarmonization = io.flow.internal.v0.models.ItemHarmonization;
|
|
14563
14974
|
export declare type ItemHarmonized = io.flow.internal.v0.models.ItemHarmonized;
|
|
14975
|
+
export declare type ItemLink = io.flow.internal.v0.models.ItemLink;
|
|
14564
14976
|
export declare type ItemQuantityAction = io.flow.internal.v0.enums.ItemQuantityAction;
|
|
14565
14977
|
export declare type ItemQueryResponse = io.flow.internal.v0.models.ItemQueryResponse;
|
|
14566
14978
|
export declare type ItemRestriction = io.flow.internal.v0.models.ItemRestriction;
|
|
@@ -14631,6 +15043,8 @@ export declare type MarketingGatewayConfiguredMarketForm = io.flow.internal.v0.m
|
|
|
14631
15043
|
export declare type MarketingGatewayExistingMarket = io.flow.internal.v0.models.MarketingGatewayExistingMarket;
|
|
14632
15044
|
export declare type MarketingGatewayExperience = io.flow.internal.v0.models.MarketingGatewayExperience;
|
|
14633
15045
|
export declare type MarketingGatewayFeed = io.flow.internal.v0.models.MarketingGatewayFeed;
|
|
15046
|
+
export declare type MarketingGatewayFeedDownloadFormat = io.flow.internal.v0.enums.MarketingGatewayFeedDownloadFormat;
|
|
15047
|
+
export declare type MarketingGatewayFilterSummary = io.flow.internal.v0.models.MarketingGatewayFilterSummary;
|
|
14634
15048
|
export declare type MarketingGatewayGoogleCustomLabels = io.flow.internal.v0.models.MarketingGatewayGoogleCustomLabels;
|
|
14635
15049
|
export declare type MarketingGatewayGoogleCustomProductShippingLocation = io.flow.internal.v0.models.MarketingGatewayGoogleCustomProductShippingLocation;
|
|
14636
15050
|
export declare type MarketingGatewayGoogleMarket = io.flow.internal.v0.models.MarketingGatewayGoogleMarket;
|
|
@@ -14712,6 +15126,9 @@ export declare type OrganizationMembershipCopy = io.flow.internal.v0.models.Orga
|
|
|
14712
15126
|
export declare type OrganizationMembershipCopyForm = io.flow.internal.v0.models.OrganizationMembershipCopyForm;
|
|
14713
15127
|
export declare type OrganizationSettings = io.flow.internal.v0.models.OrganizationSettings;
|
|
14714
15128
|
export declare type OrganizationSettingsForm = io.flow.internal.v0.models.OrganizationSettingsForm;
|
|
15129
|
+
export declare type OutgoingFeed = io.flow.internal.v0.models.OutgoingFeed;
|
|
15130
|
+
export declare type OutgoingFeedForm = io.flow.internal.v0.models.OutgoingFeedForm;
|
|
15131
|
+
export declare type OutgoingFeedFormat = io.flow.internal.v0.enums.OutgoingFeedFormat;
|
|
14715
15132
|
export declare type Partner = io.flow.internal.v0.models.Partner;
|
|
14716
15133
|
export declare type PartnerAuthorization = io.flow.internal.v0.models.PartnerAuthorization;
|
|
14717
15134
|
export declare type PartnerAuthorizationForm = io.flow.internal.v0.models.PartnerAuthorizationForm;
|
|
@@ -14773,6 +15190,7 @@ export declare type RateDeletedV2 = io.flow.internal.v0.models.RateDeletedV2;
|
|
|
14773
15190
|
export declare type RateSource = io.flow.internal.v0.enums.RateSource;
|
|
14774
15191
|
export declare type RateUpserted = io.flow.internal.v0.models.RateUpserted;
|
|
14775
15192
|
export declare type RateUpsertedV2 = io.flow.internal.v0.models.RateUpsertedV2;
|
|
15193
|
+
export declare type RatecardLanesImportRequest = io.flow.internal.v0.models.RatecardLanesImportRequest;
|
|
14776
15194
|
export declare type ReadyToFulfill = io.flow.internal.v0.models.ReadyToFulfill;
|
|
14777
15195
|
export declare type RedactedSecret = io.flow.internal.v0.models.RedactedSecret;
|
|
14778
15196
|
export declare type RedactedSecretConfig = io.flow.internal.v0.models.RedactedSecretConfig;
|