@teemill/platform 0.34.1 → 0.36.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/README.md +5 -5
- package/api.ts +35 -2185
- package/base.ts +1 -25
- package/common.ts +1 -2
- package/configuration.ts +1 -18
- package/dist/api.d.ts +39 -2189
- package/dist/api.js +1 -122
- package/dist/base.d.ts +1 -25
- package/dist/base.js +1 -20
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -18
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +39 -2189
- package/dist/esm/api.js +1 -122
- package/dist/esm/base.d.ts +1 -25
- package/dist/esm/base.js +1 -20
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -18
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/CreateOrder.md +4 -0
- package/docs/CustomersApi.md +2 -2
- package/docs/ListCustomerTags200Response.md +22 -0
- package/docs/ListDomains200Response.md +22 -0
- package/docs/Order.md +2 -0
- package/docs/PaymentApi.md +2 -2
- package/docs/Platform.md +2 -0
- package/docs/PlatformApi.md +4 -4
- package/docs/UpdatePlatformRequest.md +2 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Platform API
|
|
5
5
|
* Manage Your podOS platform
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.36.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -25,107 +25,52 @@ import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerM
|
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* A person\'s address.
|
|
28
|
-
* @export
|
|
29
|
-
* @interface Address
|
|
30
28
|
*/
|
|
31
29
|
export interface Address {
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof Address
|
|
36
|
-
*/
|
|
37
30
|
'contactName': string;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof Address
|
|
42
|
-
*/
|
|
43
31
|
'company'?: string;
|
|
44
32
|
/**
|
|
45
33
|
* First line of the address.
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @memberof Address
|
|
48
34
|
*/
|
|
49
35
|
'line1': string;
|
|
50
36
|
/**
|
|
51
37
|
* Second line of the address.
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof Address
|
|
54
38
|
*/
|
|
55
39
|
'line2'?: string;
|
|
56
40
|
/**
|
|
57
41
|
* City of the address.
|
|
58
|
-
* @type {string}
|
|
59
|
-
* @memberof Address
|
|
60
42
|
*/
|
|
61
43
|
'city': string;
|
|
62
44
|
/**
|
|
63
45
|
* Postal code of the address.
|
|
64
|
-
* @type {string}
|
|
65
|
-
* @memberof Address
|
|
66
46
|
*/
|
|
67
47
|
'postalCode'?: string;
|
|
68
48
|
/**
|
|
69
49
|
* Country of the address (ISO 3166-1 alpha-2).
|
|
70
|
-
* @type {string}
|
|
71
|
-
* @memberof Address
|
|
72
50
|
*/
|
|
73
51
|
'country': string;
|
|
74
52
|
/**
|
|
75
53
|
* State of the address.
|
|
76
|
-
* @type {string}
|
|
77
|
-
* @memberof Address
|
|
78
54
|
*/
|
|
79
55
|
'state'?: string;
|
|
80
56
|
}
|
|
81
|
-
/**
|
|
82
|
-
*
|
|
83
|
-
* @export
|
|
84
|
-
* @interface AmendOrderRequest
|
|
85
|
-
*/
|
|
86
57
|
export interface AmendOrderRequest {
|
|
87
|
-
/**
|
|
88
|
-
*
|
|
89
|
-
* @type {Array<AmendOrderRequestAmendmentsInner>}
|
|
90
|
-
* @memberof AmendOrderRequest
|
|
91
|
-
*/
|
|
92
58
|
'amendments': Array<AmendOrderRequestAmendmentsInner>;
|
|
93
59
|
}
|
|
94
|
-
/**
|
|
95
|
-
*
|
|
96
|
-
* @export
|
|
97
|
-
* @interface AmendOrderRequestAmendmentsInner
|
|
98
|
-
*/
|
|
99
60
|
export interface AmendOrderRequestAmendmentsInner {
|
|
100
61
|
/**
|
|
101
62
|
* Unique order item identifier
|
|
102
|
-
* @type {string}
|
|
103
|
-
* @memberof AmendOrderRequestAmendmentsInner
|
|
104
63
|
*/
|
|
105
64
|
'id': string;
|
|
106
|
-
/**
|
|
107
|
-
*
|
|
108
|
-
* @type {string}
|
|
109
|
-
* @memberof AmendOrderRequestAmendmentsInner
|
|
110
|
-
*/
|
|
111
65
|
'action': AmendOrderRequestAmendmentsInnerActionEnum;
|
|
112
66
|
/**
|
|
113
67
|
* The quantity of the item to refund or exchange. This must be less than or equal to the quantity of the item in the order.
|
|
114
|
-
* @type {number}
|
|
115
|
-
* @memberof AmendOrderRequestAmendmentsInner
|
|
116
68
|
*/
|
|
117
69
|
'quantity': number;
|
|
118
70
|
/**
|
|
119
71
|
* A reference to the variant being ordered
|
|
120
|
-
* @type {string}
|
|
121
|
-
* @memberof AmendOrderRequestAmendmentsInner
|
|
122
72
|
*/
|
|
123
73
|
'newVariantRef'?: string;
|
|
124
|
-
/**
|
|
125
|
-
*
|
|
126
|
-
* @type {AmendOrderRequestAmendmentsInnerReason}
|
|
127
|
-
* @memberof AmendOrderRequestAmendmentsInner
|
|
128
|
-
*/
|
|
129
74
|
'reason': AmendOrderRequestAmendmentsInnerReason;
|
|
130
75
|
}
|
|
131
76
|
|
|
@@ -136,65 +81,33 @@ export const AmendOrderRequestAmendmentsInnerActionEnum = {
|
|
|
136
81
|
|
|
137
82
|
export type AmendOrderRequestAmendmentsInnerActionEnum = typeof AmendOrderRequestAmendmentsInnerActionEnum[keyof typeof AmendOrderRequestAmendmentsInnerActionEnum];
|
|
138
83
|
|
|
139
|
-
/**
|
|
140
|
-
*
|
|
141
|
-
* @export
|
|
142
|
-
* @interface AmendOrderRequestAmendmentsInnerReason
|
|
143
|
-
*/
|
|
144
84
|
export interface AmendOrderRequestAmendmentsInnerReason {
|
|
145
85
|
/**
|
|
146
86
|
* A reference to the resource location
|
|
147
|
-
* @type {string}
|
|
148
|
-
* @memberof AmendOrderRequestAmendmentsInnerReason
|
|
149
87
|
*/
|
|
150
88
|
'reasonRef': string;
|
|
151
89
|
/**
|
|
152
90
|
* Additional comments as to why the item is being returned or exchanged.
|
|
153
|
-
* @type {string}
|
|
154
|
-
* @memberof AmendOrderRequestAmendmentsInnerReason
|
|
155
91
|
*/
|
|
156
92
|
'additionalComments'?: string | null;
|
|
157
93
|
}
|
|
158
|
-
/**
|
|
159
|
-
*
|
|
160
|
-
* @export
|
|
161
|
-
* @interface AmendmentLog
|
|
162
|
-
*/
|
|
163
94
|
export interface AmendmentLog {
|
|
164
95
|
/**
|
|
165
96
|
* Unique object identifier
|
|
166
|
-
* @type {string}
|
|
167
|
-
* @memberof AmendmentLog
|
|
168
97
|
*/
|
|
169
98
|
'id': string;
|
|
170
99
|
/**
|
|
171
100
|
* A reference to the order item that was amended.
|
|
172
|
-
* @type {string}
|
|
173
|
-
* @memberof AmendmentLog
|
|
174
101
|
*/
|
|
175
102
|
'orderItemId': string;
|
|
176
103
|
/**
|
|
177
104
|
* A reference to the top level order item that was amended, useful for finding the original item within a chain of exchanges, for example.
|
|
178
|
-
* @type {string}
|
|
179
|
-
* @memberof AmendmentLog
|
|
180
105
|
*/
|
|
181
106
|
'originalOrderItemId': string;
|
|
182
|
-
/**
|
|
183
|
-
*
|
|
184
|
-
* @type {string}
|
|
185
|
-
* @memberof AmendmentLog
|
|
186
|
-
*/
|
|
187
107
|
'amendmentType': AmendmentLogAmendmentTypeEnum;
|
|
188
|
-
/**
|
|
189
|
-
*
|
|
190
|
-
* @type {number}
|
|
191
|
-
* @memberof AmendmentLog
|
|
192
|
-
*/
|
|
193
108
|
'quantity': number;
|
|
194
109
|
/**
|
|
195
110
|
* ISO 8601 Timestamp
|
|
196
|
-
* @type {string}
|
|
197
|
-
* @memberof AmendmentLog
|
|
198
111
|
*/
|
|
199
112
|
'createdAt': string;
|
|
200
113
|
}
|
|
@@ -206,491 +119,204 @@ export const AmendmentLogAmendmentTypeEnum = {
|
|
|
206
119
|
|
|
207
120
|
export type AmendmentLogAmendmentTypeEnum = typeof AmendmentLogAmendmentTypeEnum[keyof typeof AmendmentLogAmendmentTypeEnum];
|
|
208
121
|
|
|
209
|
-
/**
|
|
210
|
-
*
|
|
211
|
-
* @export
|
|
212
|
-
* @interface ApiError
|
|
213
|
-
*/
|
|
214
122
|
export interface ApiError {
|
|
215
|
-
/**
|
|
216
|
-
*
|
|
217
|
-
* @type {string}
|
|
218
|
-
* @memberof ApiError
|
|
219
|
-
*/
|
|
220
123
|
'code'?: string;
|
|
221
|
-
/**
|
|
222
|
-
*
|
|
223
|
-
* @type {string}
|
|
224
|
-
* @memberof ApiError
|
|
225
|
-
*/
|
|
226
124
|
'message': string;
|
|
227
125
|
}
|
|
228
|
-
|
|
229
|
-
*
|
|
230
|
-
* @export
|
|
231
|
-
* @interface BulkCreateReviewPayload
|
|
232
|
-
*/
|
|
233
|
-
export interface BulkCreateReviewPayload {
|
|
126
|
+
export interface AuthorizeStripe200Response {
|
|
234
127
|
/**
|
|
235
|
-
*
|
|
236
|
-
* @type {Array<CreateReviewPayload>}
|
|
237
|
-
* @memberof BulkCreateReviewPayload
|
|
128
|
+
* The URL to redirect to
|
|
238
129
|
*/
|
|
130
|
+
'redirect_url': string;
|
|
131
|
+
}
|
|
132
|
+
export interface BulkCreateReviewPayload {
|
|
239
133
|
'reviews': Array<CreateReviewPayload>;
|
|
240
134
|
}
|
|
241
|
-
/**
|
|
242
|
-
*
|
|
243
|
-
* @export
|
|
244
|
-
* @interface BulkCreatedReviews
|
|
245
|
-
*/
|
|
246
135
|
export interface BulkCreatedReviews {
|
|
247
|
-
/**
|
|
248
|
-
*
|
|
249
|
-
* @type {Array<Review>}
|
|
250
|
-
* @memberof BulkCreatedReviews
|
|
251
|
-
*/
|
|
252
136
|
'reviews': Array<Review>;
|
|
253
137
|
}
|
|
254
|
-
/**
|
|
255
|
-
*
|
|
256
|
-
* @export
|
|
257
|
-
* @interface Client
|
|
258
|
-
*/
|
|
259
138
|
export interface Client {
|
|
260
|
-
/**
|
|
261
|
-
*
|
|
262
|
-
* @type {string}
|
|
263
|
-
* @memberof Client
|
|
264
|
-
*/
|
|
265
139
|
'id'?: string;
|
|
266
140
|
/**
|
|
267
141
|
* API reference for the client
|
|
268
|
-
* @type {string}
|
|
269
|
-
* @memberof Client
|
|
270
142
|
*/
|
|
271
143
|
'ref'?: string;
|
|
272
|
-
/**
|
|
273
|
-
*
|
|
274
|
-
* @type {string}
|
|
275
|
-
* @memberof Client
|
|
276
|
-
*/
|
|
277
144
|
'name'?: string;
|
|
278
145
|
}
|
|
279
|
-
/**
|
|
280
|
-
*
|
|
281
|
-
* @export
|
|
282
|
-
* @interface ConfirmOrderFulfillment
|
|
283
|
-
*/
|
|
284
146
|
export interface ConfirmOrderFulfillment {
|
|
285
147
|
/**
|
|
286
148
|
* Unique object identifier
|
|
287
|
-
* @type {string}
|
|
288
|
-
* @memberof ConfirmOrderFulfillment
|
|
289
149
|
*/
|
|
290
150
|
'fulfillmentId': string;
|
|
291
151
|
/**
|
|
292
152
|
* Unique object identifier
|
|
293
|
-
* @type {string}
|
|
294
|
-
* @memberof ConfirmOrderFulfillment
|
|
295
153
|
*/
|
|
296
154
|
'shippingMethodId'?: string;
|
|
297
|
-
/**
|
|
298
|
-
*
|
|
299
|
-
* @type {ConfirmOrderFulfillmentShipment}
|
|
300
|
-
* @memberof ConfirmOrderFulfillment
|
|
301
|
-
*/
|
|
302
155
|
'shipment'?: ConfirmOrderFulfillmentShipment;
|
|
303
156
|
}
|
|
304
157
|
/**
|
|
305
158
|
* This field is only required if you are using your own shipping label.
|
|
306
|
-
* @export
|
|
307
|
-
* @interface ConfirmOrderFulfillmentShipment
|
|
308
159
|
*/
|
|
309
160
|
export interface ConfirmOrderFulfillmentShipment {
|
|
310
161
|
/**
|
|
311
162
|
* Only required if you are generating shipping labels outside of PodOS
|
|
312
|
-
* @type {string}
|
|
313
|
-
* @memberof ConfirmOrderFulfillmentShipment
|
|
314
163
|
*/
|
|
315
164
|
'image': string;
|
|
316
165
|
}
|
|
317
|
-
/**
|
|
318
|
-
*
|
|
319
|
-
* @export
|
|
320
|
-
* @interface ConfirmOrderRequest
|
|
321
|
-
*/
|
|
322
166
|
export interface ConfirmOrderRequest {
|
|
323
|
-
/**
|
|
324
|
-
*
|
|
325
|
-
* @type {Array<ConfirmOrderFulfillment>}
|
|
326
|
-
* @memberof ConfirmOrderRequest
|
|
327
|
-
*/
|
|
328
167
|
'fulfillments': Array<ConfirmOrderFulfillment>;
|
|
329
168
|
}
|
|
330
169
|
/**
|
|
331
170
|
* Order recipient contact information, used only for courier tracking/updates.
|
|
332
|
-
* @export
|
|
333
|
-
* @interface ContactInformation
|
|
334
171
|
*/
|
|
335
172
|
export interface ContactInformation {
|
|
336
|
-
/**
|
|
337
|
-
*
|
|
338
|
-
* @type {string}
|
|
339
|
-
* @memberof ContactInformation
|
|
340
|
-
*/
|
|
341
173
|
'email': string;
|
|
342
|
-
/**
|
|
343
|
-
*
|
|
344
|
-
* @type {string}
|
|
345
|
-
* @memberof ContactInformation
|
|
346
|
-
*/
|
|
347
174
|
'phone'?: string | null;
|
|
348
175
|
}
|
|
349
|
-
/**
|
|
350
|
-
*
|
|
351
|
-
* @export
|
|
352
|
-
* @interface Coupon
|
|
353
|
-
*/
|
|
354
176
|
export interface Coupon {
|
|
355
177
|
/**
|
|
356
178
|
* Unique object identifier
|
|
357
|
-
* @type {string}
|
|
358
|
-
* @memberof Coupon
|
|
359
179
|
*/
|
|
360
180
|
'id': string;
|
|
361
|
-
/**
|
|
362
|
-
*
|
|
363
|
-
* @type {string}
|
|
364
|
-
* @memberof Coupon
|
|
365
|
-
*/
|
|
366
181
|
'code': string;
|
|
367
182
|
}
|
|
368
|
-
/**
|
|
369
|
-
*
|
|
370
|
-
* @export
|
|
371
|
-
* @interface CreateChatChannel200Response
|
|
372
|
-
*/
|
|
373
183
|
export interface CreateChatChannel200Response {
|
|
374
184
|
/**
|
|
375
185
|
* Reference to the chat channel resource
|
|
376
|
-
* @type {string}
|
|
377
|
-
* @memberof CreateChatChannel200Response
|
|
378
186
|
*/
|
|
379
187
|
'chatChannelRef': string;
|
|
380
188
|
}
|
|
381
|
-
/**
|
|
382
|
-
*
|
|
383
|
-
* @export
|
|
384
|
-
* @interface CreateDomainRequest
|
|
385
|
-
*/
|
|
386
189
|
export interface CreateDomainRequest {
|
|
387
|
-
/**
|
|
388
|
-
*
|
|
389
|
-
* @type {string}
|
|
390
|
-
* @memberof CreateDomainRequest
|
|
391
|
-
*/
|
|
392
190
|
'domain'?: string;
|
|
393
191
|
}
|
|
394
192
|
/**
|
|
395
193
|
* Create an order
|
|
396
|
-
* @export
|
|
397
|
-
* @interface CreateOrder
|
|
398
194
|
*/
|
|
399
195
|
export interface CreateOrder {
|
|
400
196
|
/**
|
|
401
197
|
* A custom reference to the merchant\'s order.
|
|
402
|
-
* @type {string}
|
|
403
|
-
* @memberof CreateOrder
|
|
404
198
|
*/
|
|
405
199
|
'merchantReference'?: string | null;
|
|
406
|
-
/**
|
|
407
|
-
*
|
|
408
|
-
* @type {CreateOrderContactInformation}
|
|
409
|
-
* @memberof CreateOrder
|
|
410
|
-
*/
|
|
411
200
|
'contactInformation': CreateOrderContactInformation;
|
|
412
|
-
/**
|
|
413
|
-
*
|
|
414
|
-
* @type {Address}
|
|
415
|
-
* @memberof CreateOrder
|
|
416
|
-
*/
|
|
417
201
|
'shippingAddress': Address;
|
|
418
|
-
|
|
419
|
-
*
|
|
420
|
-
* @type {CustomsInformation}
|
|
421
|
-
* @memberof CreateOrder
|
|
422
|
-
*/
|
|
202
|
+
'billingAddress'?: Address;
|
|
423
203
|
'customsInformation'?: CustomsInformation;
|
|
424
204
|
/**
|
|
425
205
|
* Items to be ordered
|
|
426
|
-
* @type {Array<OrderItem1>}
|
|
427
|
-
* @memberof CreateOrder
|
|
428
206
|
*/
|
|
429
207
|
'items': Array<OrderItem1>;
|
|
430
|
-
/**
|
|
431
|
-
*
|
|
432
|
-
* @type {Array<string>}
|
|
433
|
-
* @memberof CreateOrder
|
|
434
|
-
*/
|
|
435
208
|
'preferredFulfillers'?: Array<string>;
|
|
436
209
|
/**
|
|
437
210
|
* A reference to the resource location
|
|
438
|
-
* @type {string}
|
|
439
|
-
* @memberof CreateOrder
|
|
440
211
|
*/
|
|
441
212
|
'originalOrderRef'?: string;
|
|
213
|
+
/**
|
|
214
|
+
* The project code of a client you want to order on the behalf of. If provided, the order will be created for the client\'s project.
|
|
215
|
+
*/
|
|
216
|
+
'client'?: string;
|
|
442
217
|
}
|
|
443
218
|
/**
|
|
444
219
|
* Contact information for the order
|
|
445
|
-
* @export
|
|
446
|
-
* @interface CreateOrderContactInformation
|
|
447
220
|
*/
|
|
448
221
|
export interface CreateOrderContactInformation {
|
|
449
|
-
/**
|
|
450
|
-
*
|
|
451
|
-
* @type {string}
|
|
452
|
-
* @memberof CreateOrderContactInformation
|
|
453
|
-
*/
|
|
454
222
|
'email': string;
|
|
455
|
-
/**
|
|
456
|
-
*
|
|
457
|
-
* @type {string}
|
|
458
|
-
* @memberof CreateOrderContactInformation
|
|
459
|
-
*/
|
|
460
223
|
'phone'?: string | null;
|
|
461
224
|
}
|
|
462
|
-
/**
|
|
463
|
-
*
|
|
464
|
-
* @export
|
|
465
|
-
* @interface CreatePixelRequest
|
|
466
|
-
*/
|
|
467
225
|
export interface CreatePixelRequest {
|
|
468
|
-
/**
|
|
469
|
-
*
|
|
470
|
-
* @type {string}
|
|
471
|
-
* @memberof CreatePixelRequest
|
|
472
|
-
*/
|
|
473
226
|
'name': string;
|
|
474
|
-
/**
|
|
475
|
-
*
|
|
476
|
-
* @type {Array<string>}
|
|
477
|
-
* @memberof CreatePixelRequest
|
|
478
|
-
*/
|
|
479
227
|
'sourceProjects': Array<string>;
|
|
480
|
-
/**
|
|
481
|
-
*
|
|
482
|
-
* @type {CreatePixelRequestFilters}
|
|
483
|
-
* @memberof CreatePixelRequest
|
|
484
|
-
*/
|
|
485
228
|
'filters': CreatePixelRequestFilters;
|
|
486
229
|
}
|
|
487
|
-
/**
|
|
488
|
-
*
|
|
489
|
-
* @export
|
|
490
|
-
* @interface CreatePixelRequestFilters
|
|
491
|
-
*/
|
|
492
230
|
export interface CreatePixelRequestFilters {
|
|
493
|
-
/**
|
|
494
|
-
*
|
|
495
|
-
* @type {Array<string>}
|
|
496
|
-
* @memberof CreatePixelRequestFilters
|
|
497
|
-
*/
|
|
498
231
|
'projects': Array<string> | null;
|
|
499
|
-
/**
|
|
500
|
-
*
|
|
501
|
-
* @type {Array<string>}
|
|
502
|
-
* @memberof CreatePixelRequestFilters
|
|
503
|
-
*/
|
|
504
232
|
'demographics': Array<string> | null;
|
|
505
|
-
/**
|
|
506
|
-
*
|
|
507
|
-
* @type {Array<string>}
|
|
508
|
-
* @memberof CreatePixelRequestFilters
|
|
509
|
-
*/
|
|
510
233
|
'tags': Array<string> | null;
|
|
511
234
|
}
|
|
512
235
|
/**
|
|
513
236
|
* @type CreateReview201Response
|
|
514
|
-
* @export
|
|
515
237
|
*/
|
|
516
238
|
export type CreateReview201Response = BulkCreatedReviews | Review;
|
|
517
239
|
|
|
518
|
-
/**
|
|
519
|
-
*
|
|
520
|
-
* @export
|
|
521
|
-
* @interface CreateReviewPayload
|
|
522
|
-
*/
|
|
523
240
|
export interface CreateReviewPayload {
|
|
524
|
-
/**
|
|
525
|
-
*
|
|
526
|
-
* @type {CreateReviewPayloadAuthor}
|
|
527
|
-
* @memberof CreateReviewPayload
|
|
528
|
-
*/
|
|
529
241
|
'author': CreateReviewPayloadAuthor;
|
|
530
242
|
/**
|
|
531
243
|
* The title of the review
|
|
532
|
-
* @type {string}
|
|
533
|
-
* @memberof CreateReviewPayload
|
|
534
244
|
*/
|
|
535
245
|
'title'?: string;
|
|
536
246
|
/**
|
|
537
247
|
* The text of the review
|
|
538
|
-
* @type {string}
|
|
539
|
-
* @memberof CreateReviewPayload
|
|
540
248
|
*/
|
|
541
249
|
'text': string;
|
|
542
250
|
/**
|
|
543
251
|
* A reference to the product being ordered
|
|
544
|
-
* @type {string}
|
|
545
|
-
* @memberof CreateReviewPayload
|
|
546
252
|
*/
|
|
547
253
|
'productRef': string;
|
|
548
254
|
/**
|
|
549
255
|
* The rating of the review
|
|
550
|
-
* @type {number}
|
|
551
|
-
* @memberof CreateReviewPayload
|
|
552
256
|
*/
|
|
553
257
|
'rating': number;
|
|
554
|
-
/**
|
|
555
|
-
*
|
|
556
|
-
* @type {Array<Image>}
|
|
557
|
-
* @memberof CreateReviewPayload
|
|
558
|
-
*/
|
|
559
258
|
'images'?: Array<Image>;
|
|
560
259
|
/**
|
|
561
260
|
* Whether the review has been approved or not. If the review is not enabled, it will not be visible to the public.
|
|
562
|
-
* @type {boolean}
|
|
563
|
-
* @memberof CreateReviewPayload
|
|
564
261
|
*/
|
|
565
262
|
'enabled': boolean;
|
|
566
263
|
/**
|
|
567
264
|
* A reference to the project being ordered
|
|
568
|
-
* @type {string}
|
|
569
|
-
* @memberof CreateReviewPayload
|
|
570
265
|
*/
|
|
571
266
|
'projectRef': string;
|
|
572
267
|
}
|
|
573
|
-
/**
|
|
574
|
-
*
|
|
575
|
-
* @export
|
|
576
|
-
* @interface CreateReviewPayloadAuthor
|
|
577
|
-
*/
|
|
578
268
|
export interface CreateReviewPayloadAuthor {
|
|
579
269
|
/**
|
|
580
270
|
* The name of the author
|
|
581
|
-
* @type {string}
|
|
582
|
-
* @memberof CreateReviewPayloadAuthor
|
|
583
271
|
*/
|
|
584
272
|
'name'?: string;
|
|
585
273
|
/**
|
|
586
274
|
* The email of the author
|
|
587
|
-
* @type {string}
|
|
588
|
-
* @memberof CreateReviewPayloadAuthor
|
|
589
275
|
*/
|
|
590
276
|
'email'?: string;
|
|
591
277
|
}
|
|
592
278
|
/**
|
|
593
279
|
* @type CreateReviewRequest
|
|
594
|
-
* @export
|
|
595
280
|
*/
|
|
596
281
|
export type CreateReviewRequest = BulkCreateReviewPayload | CreateReviewPayload;
|
|
597
282
|
|
|
598
283
|
/**
|
|
599
284
|
* The customer that has placed an order on your platform
|
|
600
|
-
* @export
|
|
601
|
-
* @interface Customer
|
|
602
285
|
*/
|
|
603
286
|
export interface Customer {
|
|
604
287
|
/**
|
|
605
288
|
* Unique object identifier
|
|
606
|
-
* @type {string}
|
|
607
|
-
* @memberof Customer
|
|
608
289
|
*/
|
|
609
290
|
'id': string;
|
|
610
|
-
/**
|
|
611
|
-
*
|
|
612
|
-
* @type {string}
|
|
613
|
-
* @memberof Customer
|
|
614
|
-
*/
|
|
615
291
|
'email': string;
|
|
616
|
-
/**
|
|
617
|
-
*
|
|
618
|
-
* @type {string}
|
|
619
|
-
* @memberof Customer
|
|
620
|
-
*/
|
|
621
292
|
'firstName': string;
|
|
622
|
-
/**
|
|
623
|
-
*
|
|
624
|
-
* @type {string}
|
|
625
|
-
* @memberof Customer
|
|
626
|
-
*/
|
|
627
293
|
'lastName': string;
|
|
628
|
-
/**
|
|
629
|
-
*
|
|
630
|
-
* @type {string}
|
|
631
|
-
* @memberof Customer
|
|
632
|
-
*/
|
|
633
294
|
'gender': string | null;
|
|
634
|
-
/**
|
|
635
|
-
*
|
|
636
|
-
* @type {string}
|
|
637
|
-
* @memberof Customer
|
|
638
|
-
*/
|
|
639
295
|
'country': string | null;
|
|
640
|
-
/**
|
|
641
|
-
*
|
|
642
|
-
* @type {Statistics}
|
|
643
|
-
* @memberof Customer
|
|
644
|
-
*/
|
|
645
296
|
'statistics': Statistics;
|
|
646
297
|
}
|
|
647
|
-
/**
|
|
648
|
-
*
|
|
649
|
-
* @export
|
|
650
|
-
* @interface CustomersResponse
|
|
651
|
-
*/
|
|
652
298
|
export interface CustomersResponse {
|
|
653
|
-
/**
|
|
654
|
-
*
|
|
655
|
-
* @type {Array<Customer>}
|
|
656
|
-
* @memberof CustomersResponse
|
|
657
|
-
*/
|
|
658
299
|
'customers': Array<Customer>;
|
|
659
|
-
/**
|
|
660
|
-
*
|
|
661
|
-
* @type {number}
|
|
662
|
-
* @memberof CustomersResponse
|
|
663
|
-
*/
|
|
664
300
|
'nextPageToken'?: number | null;
|
|
665
301
|
}
|
|
666
302
|
/**
|
|
667
303
|
* Customs information for the order. **Note:** Adding customs information to an order is only compatible with Shipmate at this time
|
|
668
|
-
* @export
|
|
669
|
-
* @interface CustomsInformation
|
|
670
304
|
*/
|
|
671
305
|
export interface CustomsInformation {
|
|
672
306
|
/**
|
|
673
307
|
* Pre-registration type
|
|
674
|
-
* @type {string}
|
|
675
|
-
* @memberof CustomsInformation
|
|
676
308
|
*/
|
|
677
309
|
'preRegistrationType'?: CustomsInformationPreRegistrationTypeEnum;
|
|
678
310
|
/**
|
|
679
311
|
* Pre-registration number
|
|
680
|
-
* @type {string}
|
|
681
|
-
* @memberof CustomsInformation
|
|
682
312
|
*/
|
|
683
313
|
'preRegistrationNumber'?: string;
|
|
684
314
|
/**
|
|
685
315
|
* VAT number
|
|
686
|
-
* @type {string}
|
|
687
|
-
* @memberof CustomsInformation
|
|
688
316
|
*/
|
|
689
317
|
'vatNumber'?: string;
|
|
690
318
|
/**
|
|
691
319
|
* EORI number
|
|
692
|
-
* @type {string}
|
|
693
|
-
* @memberof CustomsInformation
|
|
694
320
|
*/
|
|
695
321
|
'eoriNumber'?: string;
|
|
696
322
|
}
|
|
@@ -701,187 +327,52 @@ export const CustomsInformationPreRegistrationTypeEnum = {
|
|
|
701
327
|
|
|
702
328
|
export type CustomsInformationPreRegistrationTypeEnum = typeof CustomsInformationPreRegistrationTypeEnum[keyof typeof CustomsInformationPreRegistrationTypeEnum];
|
|
703
329
|
|
|
704
|
-
/**
|
|
705
|
-
*
|
|
706
|
-
* @export
|
|
707
|
-
* @interface DashboardItem
|
|
708
|
-
*/
|
|
709
330
|
export interface DashboardItem {
|
|
710
|
-
/**
|
|
711
|
-
*
|
|
712
|
-
* @type {string}
|
|
713
|
-
* @memberof DashboardItem
|
|
714
|
-
*/
|
|
715
331
|
'id': string;
|
|
716
|
-
/**
|
|
717
|
-
*
|
|
718
|
-
* @type {string}
|
|
719
|
-
* @memberof DashboardItem
|
|
720
|
-
*/
|
|
721
332
|
'type': string;
|
|
722
|
-
/**
|
|
723
|
-
*
|
|
724
|
-
* @type {{ [key: string]: any; }}
|
|
725
|
-
* @memberof DashboardItem
|
|
726
|
-
*/
|
|
727
333
|
'properties': { [key: string]: any; } | null;
|
|
728
|
-
/**
|
|
729
|
-
*
|
|
730
|
-
* @type {boolean}
|
|
731
|
-
* @memberof DashboardItem
|
|
732
|
-
*/
|
|
733
334
|
'published': boolean;
|
|
734
|
-
/**
|
|
735
|
-
*
|
|
736
|
-
* @type {number}
|
|
737
|
-
* @memberof DashboardItem
|
|
738
|
-
*/
|
|
739
335
|
'sortOrder': number;
|
|
740
|
-
/**
|
|
741
|
-
*
|
|
742
|
-
* @type {Array<DashboardItem>}
|
|
743
|
-
* @memberof DashboardItem
|
|
744
|
-
*/
|
|
745
336
|
'items'?: Array<DashboardItem> | null;
|
|
746
337
|
}
|
|
747
|
-
/**
|
|
748
|
-
*
|
|
749
|
-
* @export
|
|
750
|
-
* @interface DeliveryEstimates
|
|
751
|
-
*/
|
|
752
338
|
export interface DeliveryEstimates {
|
|
753
339
|
/**
|
|
754
340
|
* ISO 8601 Timestamp
|
|
755
|
-
* @type {string}
|
|
756
|
-
* @memberof DeliveryEstimates
|
|
757
341
|
*/
|
|
758
342
|
'min'?: string;
|
|
759
343
|
/**
|
|
760
344
|
* ISO 8601 Timestamp
|
|
761
|
-
* @type {string}
|
|
762
|
-
* @memberof DeliveryEstimates
|
|
763
345
|
*/
|
|
764
346
|
'max'?: string;
|
|
765
347
|
}
|
|
766
|
-
/**
|
|
767
|
-
*
|
|
768
|
-
* @export
|
|
769
|
-
* @interface Domain
|
|
770
|
-
*/
|
|
771
348
|
export interface Domain {
|
|
772
|
-
/**
|
|
773
|
-
*
|
|
774
|
-
* @type {number}
|
|
775
|
-
* @memberof Domain
|
|
776
|
-
*/
|
|
777
349
|
'id': number;
|
|
778
|
-
/**
|
|
779
|
-
*
|
|
780
|
-
* @type {string}
|
|
781
|
-
* @memberof Domain
|
|
782
|
-
*/
|
|
783
350
|
'name': string;
|
|
784
|
-
/**
|
|
785
|
-
*
|
|
786
|
-
* @type {number}
|
|
787
|
-
* @memberof Domain
|
|
788
|
-
*/
|
|
789
351
|
'priority': number;
|
|
790
|
-
/**
|
|
791
|
-
*
|
|
792
|
-
* @type {string}
|
|
793
|
-
* @memberof Domain
|
|
794
|
-
*/
|
|
795
352
|
'enabledAt': string | null;
|
|
796
353
|
}
|
|
797
|
-
/**
|
|
798
|
-
*
|
|
799
|
-
* @export
|
|
800
|
-
* @interface Enquiry
|
|
801
|
-
*/
|
|
802
354
|
export interface Enquiry {
|
|
803
|
-
/**
|
|
804
|
-
*
|
|
805
|
-
* @type {string}
|
|
806
|
-
* @memberof Enquiry
|
|
807
|
-
*/
|
|
808
355
|
'id': string;
|
|
809
356
|
/**
|
|
810
357
|
* API reference for the enquiry
|
|
811
|
-
* @type {string}
|
|
812
|
-
* @memberof Enquiry
|
|
813
358
|
*/
|
|
814
359
|
'ref': string;
|
|
815
|
-
/**
|
|
816
|
-
*
|
|
817
|
-
* @type {ListCustomerEnquiryLogs200ResponseLogsInnerCustomer}
|
|
818
|
-
* @memberof Enquiry
|
|
819
|
-
*/
|
|
820
360
|
'customer': ListCustomerEnquiryLogs200ResponseLogsInnerCustomer;
|
|
821
|
-
/**
|
|
822
|
-
*
|
|
823
|
-
* @type {Client}
|
|
824
|
-
* @memberof Enquiry
|
|
825
|
-
*/
|
|
826
361
|
'client': Client;
|
|
827
|
-
/**
|
|
828
|
-
*
|
|
829
|
-
* @type {string}
|
|
830
|
-
* @memberof Enquiry
|
|
831
|
-
*/
|
|
832
362
|
'subject': string;
|
|
833
|
-
/**
|
|
834
|
-
*
|
|
835
|
-
* @type {string}
|
|
836
|
-
* @memberof Enquiry
|
|
837
|
-
*/
|
|
838
363
|
'body': string;
|
|
839
|
-
/**
|
|
840
|
-
*
|
|
841
|
-
* @type {string}
|
|
842
|
-
* @memberof Enquiry
|
|
843
|
-
*/
|
|
844
364
|
'createdAt': string;
|
|
845
|
-
/**
|
|
846
|
-
*
|
|
847
|
-
* @type {string}
|
|
848
|
-
* @memberof Enquiry
|
|
849
|
-
*/
|
|
850
365
|
'updatedAt': string;
|
|
851
|
-
/**
|
|
852
|
-
*
|
|
853
|
-
* @type {Array<string>}
|
|
854
|
-
* @memberof Enquiry
|
|
855
|
-
*/
|
|
856
366
|
'tags': Array<string>;
|
|
857
|
-
/**
|
|
858
|
-
*
|
|
859
|
-
* @type {string}
|
|
860
|
-
* @memberof Enquiry
|
|
861
|
-
*/
|
|
862
367
|
'status': EnquiryStatusEnum;
|
|
863
|
-
/**
|
|
864
|
-
*
|
|
865
|
-
* @type {boolean}
|
|
866
|
-
* @memberof Enquiry
|
|
867
|
-
*/
|
|
868
368
|
'read': boolean;
|
|
869
|
-
|
|
870
|
-
*
|
|
871
|
-
* @type {Array<EnquiryExtraInputsInner>}
|
|
872
|
-
* @memberof Enquiry
|
|
873
|
-
*/
|
|
874
|
-
'extraInputs': Array<EnquiryExtraInputsInner> | null;
|
|
369
|
+
'extraInputs': Array<EnquiryExtraInputsInner> | null;
|
|
875
370
|
/**
|
|
876
371
|
* Reference to the chat channel resource
|
|
877
|
-
* @type {string}
|
|
878
|
-
* @memberof Enquiry
|
|
879
372
|
*/
|
|
880
373
|
'chatChannelRef'?: string | null;
|
|
881
374
|
/**
|
|
882
375
|
* The unique id of the user who owns the enquiry
|
|
883
|
-
* @type {string}
|
|
884
|
-
* @memberof Enquiry
|
|
885
376
|
*/
|
|
886
377
|
'owner': string | null;
|
|
887
378
|
}
|
|
@@ -894,674 +385,231 @@ export const EnquiryStatusEnum = {
|
|
|
894
385
|
|
|
895
386
|
export type EnquiryStatusEnum = typeof EnquiryStatusEnum[keyof typeof EnquiryStatusEnum];
|
|
896
387
|
|
|
897
|
-
/**
|
|
898
|
-
*
|
|
899
|
-
* @export
|
|
900
|
-
* @interface EnquiryExtraInputsInner
|
|
901
|
-
*/
|
|
902
388
|
export interface EnquiryExtraInputsInner {
|
|
903
|
-
/**
|
|
904
|
-
*
|
|
905
|
-
* @type {string}
|
|
906
|
-
* @memberof EnquiryExtraInputsInner
|
|
907
|
-
*/
|
|
908
389
|
'name': string;
|
|
909
|
-
/**
|
|
910
|
-
*
|
|
911
|
-
* @type {string}
|
|
912
|
-
* @memberof EnquiryExtraInputsInner
|
|
913
|
-
*/
|
|
914
390
|
'type': string;
|
|
915
|
-
/**
|
|
916
|
-
*
|
|
917
|
-
* @type {EnquiryExtraInputsInnerValue}
|
|
918
|
-
* @memberof EnquiryExtraInputsInner
|
|
919
|
-
*/
|
|
920
391
|
'value': EnquiryExtraInputsInnerValue;
|
|
921
392
|
}
|
|
922
393
|
/**
|
|
923
394
|
* @type EnquiryExtraInputsInnerValue
|
|
924
|
-
* @export
|
|
925
395
|
*/
|
|
926
396
|
export type EnquiryExtraInputsInnerValue = Array<string | null> | string;
|
|
927
397
|
|
|
928
|
-
/**
|
|
929
|
-
*
|
|
930
|
-
* @export
|
|
931
|
-
* @interface ExportOrders202Response
|
|
932
|
-
*/
|
|
933
398
|
export interface ExportOrders202Response {
|
|
934
399
|
/**
|
|
935
400
|
* A message describing the export status
|
|
936
|
-
* @type {string}
|
|
937
|
-
* @memberof ExportOrders202Response
|
|
938
401
|
*/
|
|
939
402
|
'message'?: string;
|
|
940
403
|
}
|
|
941
404
|
/**
|
|
942
405
|
* The fulfiller that will be processing this order.
|
|
943
|
-
* @export
|
|
944
|
-
* @interface Fulfiller
|
|
945
406
|
*/
|
|
946
407
|
export interface Fulfiller {
|
|
947
408
|
/**
|
|
948
409
|
* Unique object identifier
|
|
949
|
-
* @type {string}
|
|
950
|
-
* @memberof Fulfiller
|
|
951
410
|
*/
|
|
952
411
|
'id'?: string;
|
|
953
|
-
/**
|
|
954
|
-
*
|
|
955
|
-
* @type {FulfillerLocation}
|
|
956
|
-
* @memberof Fulfiller
|
|
957
|
-
*/
|
|
958
412
|
'location'?: FulfillerLocation;
|
|
959
413
|
}
|
|
960
|
-
/**
|
|
961
|
-
*
|
|
962
|
-
* @export
|
|
963
|
-
* @interface FulfillerLocation
|
|
964
|
-
*/
|
|
965
414
|
export interface FulfillerLocation {
|
|
966
|
-
/**
|
|
967
|
-
*
|
|
968
|
-
* @type {string}
|
|
969
|
-
* @memberof FulfillerLocation
|
|
970
|
-
*/
|
|
971
415
|
'city'?: string | null;
|
|
972
|
-
/**
|
|
973
|
-
*
|
|
974
|
-
* @type {string}
|
|
975
|
-
* @memberof FulfillerLocation
|
|
976
|
-
*/
|
|
977
416
|
'country'?: string | null;
|
|
978
417
|
}
|
|
979
|
-
/**
|
|
980
|
-
*
|
|
981
|
-
* @export
|
|
982
|
-
* @interface FulfillersResponse
|
|
983
|
-
*/
|
|
984
418
|
export interface FulfillersResponse {
|
|
985
|
-
/**
|
|
986
|
-
*
|
|
987
|
-
* @type {Array<Fulfiller>}
|
|
988
|
-
* @memberof FulfillersResponse
|
|
989
|
-
*/
|
|
990
419
|
'fulfillers'?: Array<Fulfiller>;
|
|
991
|
-
/**
|
|
992
|
-
*
|
|
993
|
-
* @type {number}
|
|
994
|
-
* @memberof FulfillersResponse
|
|
995
|
-
*/
|
|
996
420
|
'nextPageToken'?: number;
|
|
997
421
|
}
|
|
998
|
-
/**
|
|
999
|
-
*
|
|
1000
|
-
* @export
|
|
1001
|
-
* @interface Fulfillment
|
|
1002
|
-
*/
|
|
1003
422
|
export interface Fulfillment {
|
|
1004
423
|
/**
|
|
1005
424
|
* Unique fulfillment id
|
|
1006
|
-
* @type {string}
|
|
1007
|
-
* @memberof Fulfillment
|
|
1008
425
|
*/
|
|
1009
426
|
'id'?: string;
|
|
1010
|
-
/**
|
|
1011
|
-
*
|
|
1012
|
-
* @type {OrderStatus}
|
|
1013
|
-
* @memberof Fulfillment
|
|
1014
|
-
*/
|
|
1015
427
|
'status'?: OrderStatus;
|
|
1016
|
-
/**
|
|
1017
|
-
*
|
|
1018
|
-
* @type {Fulfiller}
|
|
1019
|
-
* @memberof Fulfillment
|
|
1020
|
-
*/
|
|
1021
428
|
'fulfiller'?: Fulfiller;
|
|
1022
|
-
/**
|
|
1023
|
-
*
|
|
1024
|
-
* @type {Array<FulfillmentItem>}
|
|
1025
|
-
* @memberof Fulfillment
|
|
1026
|
-
*/
|
|
1027
429
|
'items'?: Array<FulfillmentItem>;
|
|
1028
|
-
/**
|
|
1029
|
-
*
|
|
1030
|
-
* @type {OrderTracking}
|
|
1031
|
-
* @memberof Fulfillment
|
|
1032
|
-
*/
|
|
1033
430
|
'tracking'?: OrderTracking | null;
|
|
1034
431
|
/**
|
|
1035
432
|
* Shipping method currently set
|
|
1036
|
-
* @type {ShippingMethod}
|
|
1037
|
-
* @memberof Fulfillment
|
|
1038
433
|
*/
|
|
1039
434
|
'shippingMethod'?: ShippingMethod;
|
|
1040
435
|
/**
|
|
1041
436
|
* Shipping methods available for this fulfillment. One of these should be used to confirm the fulfillment.
|
|
1042
|
-
* @type {Array<ShippingMethod>}
|
|
1043
|
-
* @memberof Fulfillment
|
|
1044
437
|
*/
|
|
1045
438
|
'availableShippingMethods'?: Array<ShippingMethod>;
|
|
1046
439
|
/**
|
|
1047
440
|
* Weight of the package being shipped in grams
|
|
1048
|
-
* @type {number}
|
|
1049
|
-
* @memberof Fulfillment
|
|
1050
441
|
*/
|
|
1051
442
|
'packageWeight'?: number;
|
|
1052
443
|
}
|
|
1053
444
|
|
|
1054
445
|
|
|
1055
|
-
/**
|
|
1056
|
-
*
|
|
1057
|
-
* @export
|
|
1058
|
-
* @interface FulfillmentItem
|
|
1059
|
-
*/
|
|
1060
446
|
export interface FulfillmentItem {
|
|
1061
447
|
/**
|
|
1062
448
|
* Unique fulfillment item id
|
|
1063
|
-
* @type {string}
|
|
1064
|
-
* @memberof FulfillmentItem
|
|
1065
449
|
*/
|
|
1066
450
|
'id'?: string;
|
|
1067
451
|
/**
|
|
1068
452
|
* Id of the order item being fulfilled
|
|
1069
|
-
* @type {string}
|
|
1070
|
-
* @memberof FulfillmentItem
|
|
1071
453
|
*/
|
|
1072
454
|
'itemId'?: string;
|
|
1073
455
|
/**
|
|
1074
456
|
* Number of this item being fulfilled
|
|
1075
|
-
* @type {number}
|
|
1076
|
-
* @memberof FulfillmentItem
|
|
1077
457
|
*/
|
|
1078
458
|
'quantity'?: number;
|
|
1079
459
|
}
|
|
1080
|
-
/**
|
|
1081
|
-
*
|
|
1082
|
-
* @export
|
|
1083
|
-
* @interface GetDashboardResponse
|
|
1084
|
-
*/
|
|
1085
460
|
export interface GetDashboardResponse {
|
|
1086
|
-
/**
|
|
1087
|
-
*
|
|
1088
|
-
* @type {Array<DashboardItem>}
|
|
1089
|
-
* @memberof GetDashboardResponse
|
|
1090
|
-
*/
|
|
1091
461
|
'items'?: Array<DashboardItem>;
|
|
1092
462
|
}
|
|
1093
463
|
/**
|
|
1094
464
|
* Image description
|
|
1095
|
-
* @export
|
|
1096
|
-
* @interface Image
|
|
1097
465
|
*/
|
|
1098
466
|
export interface Image {
|
|
1099
467
|
/**
|
|
1100
468
|
* Unique object identifier
|
|
1101
|
-
* @type {string}
|
|
1102
|
-
* @memberof Image
|
|
1103
469
|
*/
|
|
1104
470
|
'id'?: string;
|
|
1105
|
-
/**
|
|
1106
|
-
*
|
|
1107
|
-
* @type {string}
|
|
1108
|
-
* @memberof Image
|
|
1109
|
-
*/
|
|
1110
471
|
'src'?: string;
|
|
1111
|
-
/**
|
|
1112
|
-
*
|
|
1113
|
-
* @type {string}
|
|
1114
|
-
* @memberof Image
|
|
1115
|
-
*/
|
|
1116
472
|
'alt'?: string;
|
|
1117
|
-
/**
|
|
1118
|
-
*
|
|
1119
|
-
* @type {number}
|
|
1120
|
-
* @memberof Image
|
|
1121
|
-
*/
|
|
1122
473
|
'sortOrder'?: number;
|
|
1123
474
|
}
|
|
1124
|
-
/**
|
|
1125
|
-
*
|
|
1126
|
-
* @export
|
|
1127
|
-
* @interface InlineObject
|
|
1128
|
-
*/
|
|
1129
|
-
export interface InlineObject {
|
|
1130
|
-
/**
|
|
1131
|
-
*
|
|
1132
|
-
* @type {Array<Domain>}
|
|
1133
|
-
* @memberof InlineObject
|
|
1134
|
-
*/
|
|
1135
|
-
'domains': Array<Domain>;
|
|
1136
|
-
/**
|
|
1137
|
-
*
|
|
1138
|
-
* @type {number}
|
|
1139
|
-
* @memberof InlineObject
|
|
1140
|
-
*/
|
|
1141
|
-
'nextPageToken': number;
|
|
1142
|
-
}
|
|
1143
|
-
/**
|
|
1144
|
-
*
|
|
1145
|
-
* @export
|
|
1146
|
-
* @interface InlineObject1
|
|
1147
|
-
*/
|
|
1148
|
-
export interface InlineObject1 {
|
|
1149
|
-
/**
|
|
1150
|
-
*
|
|
1151
|
-
* @type {Array<string>}
|
|
1152
|
-
* @memberof InlineObject1
|
|
1153
|
-
*/
|
|
1154
|
-
'tags': Array<string>;
|
|
1155
|
-
/**
|
|
1156
|
-
*
|
|
1157
|
-
* @type {number}
|
|
1158
|
-
* @memberof InlineObject1
|
|
1159
|
-
*/
|
|
1160
|
-
'nextPageToken'?: number | null;
|
|
1161
|
-
}
|
|
1162
|
-
/**
|
|
1163
|
-
*
|
|
1164
|
-
* @export
|
|
1165
|
-
* @interface InlineObject2
|
|
1166
|
-
*/
|
|
1167
|
-
export interface InlineObject2 {
|
|
1168
|
-
/**
|
|
1169
|
-
* The URL to redirect to
|
|
1170
|
-
* @type {string}
|
|
1171
|
-
* @memberof InlineObject2
|
|
1172
|
-
*/
|
|
1173
|
-
'redirect_url': string;
|
|
1174
|
-
}
|
|
1175
|
-
/**
|
|
1176
|
-
*
|
|
1177
|
-
* @export
|
|
1178
|
-
* @interface ListCustomerEnquiries200Response
|
|
1179
|
-
*/
|
|
1180
475
|
export interface ListCustomerEnquiries200Response {
|
|
1181
|
-
/**
|
|
1182
|
-
*
|
|
1183
|
-
* @type {Array<Enquiry>}
|
|
1184
|
-
* @memberof ListCustomerEnquiries200Response
|
|
1185
|
-
*/
|
|
1186
476
|
'enquiries'?: Array<Enquiry>;
|
|
1187
|
-
/**
|
|
1188
|
-
*
|
|
1189
|
-
* @type {number}
|
|
1190
|
-
* @memberof ListCustomerEnquiries200Response
|
|
1191
|
-
*/
|
|
1192
477
|
'nextPageToken'?: number | null;
|
|
1193
478
|
}
|
|
1194
|
-
/**
|
|
1195
|
-
*
|
|
1196
|
-
* @export
|
|
1197
|
-
* @interface ListCustomerEnquiryLogs200Response
|
|
1198
|
-
*/
|
|
1199
479
|
export interface ListCustomerEnquiryLogs200Response {
|
|
1200
|
-
/**
|
|
1201
|
-
*
|
|
1202
|
-
* @type {Array<ListCustomerEnquiryLogs200ResponseLogsInner>}
|
|
1203
|
-
* @memberof ListCustomerEnquiryLogs200Response
|
|
1204
|
-
*/
|
|
1205
480
|
'logs': Array<ListCustomerEnquiryLogs200ResponseLogsInner>;
|
|
1206
481
|
}
|
|
1207
|
-
/**
|
|
1208
|
-
*
|
|
1209
|
-
* @export
|
|
1210
|
-
* @interface ListCustomerEnquiryLogs200ResponseLogsInner
|
|
1211
|
-
*/
|
|
1212
482
|
export interface ListCustomerEnquiryLogs200ResponseLogsInner {
|
|
1213
|
-
/**
|
|
1214
|
-
*
|
|
1215
|
-
* @type {ListCustomerEnquiryLogs200ResponseLogsInnerCustomer}
|
|
1216
|
-
* @memberof ListCustomerEnquiryLogs200ResponseLogsInner
|
|
1217
|
-
*/
|
|
1218
483
|
'customer': ListCustomerEnquiryLogs200ResponseLogsInnerCustomer;
|
|
1219
|
-
/**
|
|
1220
|
-
*
|
|
1221
|
-
* @type {string}
|
|
1222
|
-
* @memberof ListCustomerEnquiryLogs200ResponseLogsInner
|
|
1223
|
-
*/
|
|
1224
484
|
'createdAt': string;
|
|
1225
485
|
}
|
|
1226
|
-
/**
|
|
1227
|
-
*
|
|
1228
|
-
* @export
|
|
1229
|
-
* @interface ListCustomerEnquiryLogs200ResponseLogsInnerCustomer
|
|
1230
|
-
*/
|
|
1231
486
|
export interface ListCustomerEnquiryLogs200ResponseLogsInnerCustomer {
|
|
1232
|
-
/**
|
|
1233
|
-
*
|
|
1234
|
-
* @type {string}
|
|
1235
|
-
* @memberof ListCustomerEnquiryLogs200ResponseLogsInnerCustomer
|
|
1236
|
-
*/
|
|
1237
487
|
'id'?: string;
|
|
1238
488
|
/**
|
|
1239
489
|
* API reference for the customer
|
|
1240
|
-
* @type {string}
|
|
1241
|
-
* @memberof ListCustomerEnquiryLogs200ResponseLogsInnerCustomer
|
|
1242
490
|
*/
|
|
1243
491
|
'ref'?: string;
|
|
1244
|
-
/**
|
|
1245
|
-
*
|
|
1246
|
-
* @type {string}
|
|
1247
|
-
* @memberof ListCustomerEnquiryLogs200ResponseLogsInnerCustomer
|
|
1248
|
-
*/
|
|
1249
492
|
'firstName'?: string;
|
|
1250
|
-
/**
|
|
1251
|
-
*
|
|
1252
|
-
* @type {string}
|
|
1253
|
-
* @memberof ListCustomerEnquiryLogs200ResponseLogsInnerCustomer
|
|
1254
|
-
*/
|
|
1255
493
|
'lastName'?: string;
|
|
1256
|
-
/**
|
|
1257
|
-
*
|
|
1258
|
-
* @type {string}
|
|
1259
|
-
* @memberof ListCustomerEnquiryLogs200ResponseLogsInnerCustomer
|
|
1260
|
-
*/
|
|
1261
494
|
'email'?: string;
|
|
1262
495
|
}
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
496
|
+
export interface ListCustomerTags200Response {
|
|
497
|
+
'tags': Array<string>;
|
|
498
|
+
'nextPageToken'?: number | null;
|
|
499
|
+
}
|
|
500
|
+
export interface ListDomains200Response {
|
|
501
|
+
'domains': Array<Domain>;
|
|
502
|
+
'nextPageToken': number;
|
|
503
|
+
}
|
|
1268
504
|
export interface ModerateReviewRequest {
|
|
1269
505
|
/**
|
|
1270
506
|
* Whether the review has been approved or not. If the review is not enabled, it will not be visible to the public.
|
|
1271
|
-
* @type {boolean}
|
|
1272
|
-
* @memberof ModerateReviewRequest
|
|
1273
507
|
*/
|
|
1274
508
|
'enabled'?: boolean;
|
|
1275
509
|
}
|
|
1276
|
-
/**
|
|
1277
|
-
*
|
|
1278
|
-
* @export
|
|
1279
|
-
* @interface Option
|
|
1280
|
-
*/
|
|
1281
510
|
export interface Option {
|
|
1282
511
|
/**
|
|
1283
512
|
* Option name
|
|
1284
|
-
* @type {string}
|
|
1285
|
-
* @memberof Option
|
|
1286
513
|
*/
|
|
1287
514
|
'name': string;
|
|
1288
515
|
/**
|
|
1289
516
|
* Option value
|
|
1290
|
-
* @type {string}
|
|
1291
|
-
* @memberof Option
|
|
1292
517
|
*/
|
|
1293
518
|
'value': string;
|
|
1294
519
|
}
|
|
1295
|
-
/**
|
|
1296
|
-
*
|
|
1297
|
-
* @export
|
|
1298
|
-
* @interface Order
|
|
1299
|
-
*/
|
|
1300
520
|
export interface Order {
|
|
1301
521
|
/**
|
|
1302
522
|
* Unique object identifier
|
|
1303
|
-
* @type {string}
|
|
1304
|
-
* @memberof Order
|
|
1305
523
|
*/
|
|
1306
524
|
'id'?: string;
|
|
1307
525
|
/**
|
|
1308
526
|
* A reference to the resource location
|
|
1309
|
-
* @type {string}
|
|
1310
|
-
* @memberof Order
|
|
1311
527
|
*/
|
|
1312
528
|
'ref'?: string;
|
|
1313
|
-
/**
|
|
1314
|
-
*
|
|
1315
|
-
* @type {OrderStatus}
|
|
1316
|
-
* @memberof Order
|
|
1317
|
-
*/
|
|
1318
529
|
'status'?: OrderStatus;
|
|
1319
|
-
/**
|
|
1320
|
-
*
|
|
1321
|
-
* @type {ContactInformation}
|
|
1322
|
-
* @memberof Order
|
|
1323
|
-
*/
|
|
1324
530
|
'contactInformation': ContactInformation;
|
|
1325
|
-
/**
|
|
1326
|
-
*
|
|
1327
|
-
* @type {Address}
|
|
1328
|
-
* @memberof Order
|
|
1329
|
-
*/
|
|
1330
531
|
'shippingAddress': Address;
|
|
532
|
+
'billingAddress'?: Address;
|
|
1331
533
|
/**
|
|
1332
534
|
* ISO 8601 Timestamp
|
|
1333
|
-
* @type {string}
|
|
1334
|
-
* @memberof Order
|
|
1335
535
|
*/
|
|
1336
536
|
'createdAt'?: string;
|
|
1337
537
|
/**
|
|
1338
538
|
* ISO 8601 Timestamp
|
|
1339
|
-
* @type {string}
|
|
1340
|
-
* @memberof Order
|
|
1341
539
|
*/
|
|
1342
540
|
'updatedAt'?: string;
|
|
1343
541
|
/**
|
|
1344
542
|
* A custom reference to the merchant\'s order that will be displayed on the shipping label.
|
|
1345
|
-
* @type {string}
|
|
1346
|
-
* @memberof Order
|
|
1347
543
|
*/
|
|
1348
544
|
'merchantReference'?: string | null;
|
|
1349
|
-
/**
|
|
1350
|
-
*
|
|
1351
|
-
* @type {Array<Fulfillment>}
|
|
1352
|
-
* @memberof Order
|
|
1353
|
-
*/
|
|
1354
545
|
'fulfillments'?: Array<Fulfillment>;
|
|
1355
|
-
/**
|
|
1356
|
-
*
|
|
1357
|
-
* @type {Array<OrderItem>}
|
|
1358
|
-
* @memberof Order
|
|
1359
|
-
*/
|
|
1360
546
|
'items': Array<OrderItem>;
|
|
1361
|
-
/**
|
|
1362
|
-
*
|
|
1363
|
-
* @type {Price}
|
|
1364
|
-
* @memberof Order
|
|
1365
|
-
*/
|
|
1366
547
|
'totalPrice'?: Price;
|
|
1367
|
-
/**
|
|
1368
|
-
*
|
|
1369
|
-
* @type {Price}
|
|
1370
|
-
* @memberof Order
|
|
1371
|
-
*/
|
|
1372
548
|
'taxPrice'?: Price;
|
|
1373
|
-
/**
|
|
1374
|
-
*
|
|
1375
|
-
* @type {Price}
|
|
1376
|
-
* @memberof Order
|
|
1377
|
-
*/
|
|
1378
549
|
'subtotalPrice'?: Price;
|
|
1379
|
-
/**
|
|
1380
|
-
*
|
|
1381
|
-
* @type {Price}
|
|
1382
|
-
* @memberof Order
|
|
1383
|
-
*/
|
|
1384
550
|
'discountPrice'?: Price;
|
|
1385
|
-
/**
|
|
1386
|
-
*
|
|
1387
|
-
* @type {Coupon}
|
|
1388
|
-
* @memberof Order
|
|
1389
|
-
*/
|
|
1390
551
|
'coupon'?: Coupon | null;
|
|
1391
|
-
/**
|
|
1392
|
-
*
|
|
1393
|
-
* @type {Price}
|
|
1394
|
-
* @memberof Order
|
|
1395
|
-
*/
|
|
1396
552
|
'shippingPrice'?: Price;
|
|
1397
|
-
/**
|
|
1398
|
-
*
|
|
1399
|
-
* @type {Origin}
|
|
1400
|
-
* @memberof Order
|
|
1401
|
-
*/
|
|
1402
553
|
'origin'?: Origin;
|
|
1403
|
-
/**
|
|
1404
|
-
*
|
|
1405
|
-
* @type {Array<StatusHistoryItem>}
|
|
1406
|
-
* @memberof Order
|
|
1407
|
-
*/
|
|
1408
554
|
'statusHistory'?: Array<StatusHistoryItem>;
|
|
1409
|
-
/**
|
|
1410
|
-
*
|
|
1411
|
-
* @type {Project}
|
|
1412
|
-
* @memberof Order
|
|
1413
|
-
*/
|
|
1414
555
|
'project': Project;
|
|
1415
|
-
/**
|
|
1416
|
-
*
|
|
1417
|
-
* @type {Array<PaymentAttempt>}
|
|
1418
|
-
* @memberof Order
|
|
1419
|
-
*/
|
|
1420
556
|
'paymentAttempts'?: Array<PaymentAttempt>;
|
|
1421
557
|
/**
|
|
1422
558
|
* The integration type of the order, e.g. \"website\" or \"shopify\"
|
|
1423
|
-
* @type {string}
|
|
1424
|
-
* @memberof Order
|
|
1425
559
|
*/
|
|
1426
560
|
'integrationType'?: string;
|
|
1427
561
|
}
|
|
1428
562
|
|
|
1429
563
|
|
|
1430
|
-
/**
|
|
1431
|
-
*
|
|
1432
|
-
* @export
|
|
1433
|
-
* @interface OrderItem
|
|
1434
|
-
*/
|
|
1435
564
|
export interface OrderItem {
|
|
1436
565
|
/**
|
|
1437
566
|
* Unique object identifier
|
|
1438
|
-
* @type {string}
|
|
1439
|
-
* @memberof OrderItem
|
|
1440
567
|
*/
|
|
1441
568
|
'id'?: string;
|
|
1442
569
|
/**
|
|
1443
570
|
* Reference URL to the order item variant
|
|
1444
|
-
* @type {string}
|
|
1445
|
-
* @memberof OrderItem
|
|
1446
571
|
* @deprecated
|
|
1447
572
|
*/
|
|
1448
573
|
'variantRef': string;
|
|
1449
|
-
/**
|
|
1450
|
-
*
|
|
1451
|
-
* @type {Variant}
|
|
1452
|
-
* @memberof OrderItem
|
|
1453
|
-
*/
|
|
1454
574
|
'variant': Variant;
|
|
1455
575
|
/**
|
|
1456
576
|
* Options associated to an order item\'s variant, such as color and size.
|
|
1457
|
-
* @type {Array<Option>}
|
|
1458
|
-
* @memberof OrderItem
|
|
1459
577
|
*/
|
|
1460
578
|
'options'?: Array<Option>;
|
|
1461
|
-
/**
|
|
1462
|
-
*
|
|
1463
|
-
* @type {number}
|
|
1464
|
-
* @memberof OrderItem
|
|
1465
|
-
*/
|
|
1466
579
|
'quantity': number;
|
|
1467
580
|
/**
|
|
1468
581
|
* The name of the product
|
|
1469
|
-
* @type {string}
|
|
1470
|
-
* @memberof OrderItem
|
|
1471
582
|
*/
|
|
1472
583
|
'name'?: string;
|
|
1473
584
|
/**
|
|
1474
585
|
* Images
|
|
1475
|
-
* @type {Array<Image>}
|
|
1476
|
-
* @memberof OrderItem
|
|
1477
586
|
*/
|
|
1478
587
|
'images'?: Array<Image>;
|
|
1479
|
-
/**
|
|
1480
|
-
*
|
|
1481
|
-
* @type {Price}
|
|
1482
|
-
* @memberof OrderItem
|
|
1483
|
-
*/
|
|
1484
588
|
'totalPrice'?: Price;
|
|
1485
589
|
/**
|
|
1486
590
|
* This is an estimate until the order has been confirmed
|
|
1487
|
-
* @type {Price}
|
|
1488
|
-
* @memberof OrderItem
|
|
1489
591
|
*/
|
|
1490
592
|
'taxPrice'?: Price;
|
|
1491
|
-
/**
|
|
1492
|
-
*
|
|
1493
|
-
* @type {Price}
|
|
1494
|
-
* @memberof OrderItem
|
|
1495
|
-
*/
|
|
1496
593
|
'subtotalPrice'?: Price;
|
|
1497
|
-
/**
|
|
1498
|
-
*
|
|
1499
|
-
* @type {Price}
|
|
1500
|
-
* @memberof OrderItem
|
|
1501
|
-
*/
|
|
1502
594
|
'discountPrice'?: Price;
|
|
1503
595
|
/**
|
|
1504
596
|
* The price you charged the recipient for each item. It\'s highly recommended if you have international orders as it aids customs issues.
|
|
1505
|
-
* @type {Price}
|
|
1506
|
-
* @memberof OrderItem
|
|
1507
597
|
*/
|
|
1508
598
|
'recipientCost'?: Price;
|
|
1509
|
-
/**
|
|
1510
|
-
*
|
|
1511
|
-
* @type {Array<AmendmentLog>}
|
|
1512
|
-
* @memberof OrderItem
|
|
1513
|
-
*/
|
|
1514
599
|
'amendmentLogs'?: Array<AmendmentLog>;
|
|
1515
600
|
}
|
|
1516
|
-
/**
|
|
1517
|
-
*
|
|
1518
|
-
* @export
|
|
1519
|
-
* @interface OrderItem1
|
|
1520
|
-
*/
|
|
1521
601
|
export interface OrderItem1 {
|
|
1522
602
|
/**
|
|
1523
603
|
* A reference to the variant being ordered
|
|
1524
|
-
* @type {string}
|
|
1525
|
-
* @memberof OrderItem1
|
|
1526
604
|
*/
|
|
1527
605
|
'variantRef': string;
|
|
1528
|
-
/**
|
|
1529
|
-
*
|
|
1530
|
-
* @type {number}
|
|
1531
|
-
* @memberof OrderItem1
|
|
1532
|
-
*/
|
|
1533
606
|
'quantity': number;
|
|
1534
|
-
/**
|
|
1535
|
-
*
|
|
1536
|
-
* @type {OrderItem1RecipientCost}
|
|
1537
|
-
* @memberof OrderItem1
|
|
1538
|
-
*/
|
|
1539
607
|
'recipientCost'?: OrderItem1RecipientCost;
|
|
1540
608
|
}
|
|
1541
|
-
/**
|
|
1542
|
-
*
|
|
1543
|
-
* @export
|
|
1544
|
-
* @interface OrderItem1RecipientCost
|
|
1545
|
-
*/
|
|
1546
609
|
export interface OrderItem1RecipientCost {
|
|
1547
|
-
/**
|
|
1548
|
-
*
|
|
1549
|
-
* @type {string}
|
|
1550
|
-
* @memberof OrderItem1RecipientCost
|
|
1551
|
-
*/
|
|
1552
610
|
'amount': string;
|
|
1553
|
-
/**
|
|
1554
|
-
*
|
|
1555
|
-
* @type {string}
|
|
1556
|
-
* @memberof OrderItem1RecipientCost
|
|
1557
|
-
*/
|
|
1558
611
|
'currencyCode': string;
|
|
1559
612
|
}
|
|
1560
|
-
/**
|
|
1561
|
-
*
|
|
1562
|
-
* @export
|
|
1563
|
-
* @enum {string}
|
|
1564
|
-
*/
|
|
1565
613
|
|
|
1566
614
|
export const OrderStatus = {
|
|
1567
615
|
New: 'new',
|
|
@@ -1574,91 +622,30 @@ export const OrderStatus = {
|
|
|
1574
622
|
export type OrderStatus = typeof OrderStatus[keyof typeof OrderStatus];
|
|
1575
623
|
|
|
1576
624
|
|
|
1577
|
-
/**
|
|
1578
|
-
*
|
|
1579
|
-
* @export
|
|
1580
|
-
* @interface OrderTracking
|
|
1581
|
-
*/
|
|
1582
625
|
export interface OrderTracking {
|
|
1583
|
-
/**
|
|
1584
|
-
*
|
|
1585
|
-
* @type {string}
|
|
1586
|
-
* @memberof OrderTracking
|
|
1587
|
-
*/
|
|
1588
626
|
'courier'?: string;
|
|
1589
|
-
/**
|
|
1590
|
-
*
|
|
1591
|
-
* @type {string}
|
|
1592
|
-
* @memberof OrderTracking
|
|
1593
|
-
*/
|
|
1594
627
|
'code'?: string;
|
|
1595
|
-
/**
|
|
1596
|
-
*
|
|
1597
|
-
* @type {string}
|
|
1598
|
-
* @memberof OrderTracking
|
|
1599
|
-
*/
|
|
1600
628
|
'url'?: string;
|
|
1601
629
|
}
|
|
1602
|
-
/**
|
|
1603
|
-
*
|
|
1604
|
-
* @export
|
|
1605
|
-
* @interface OrdersResponse
|
|
1606
|
-
*/
|
|
1607
630
|
export interface OrdersResponse {
|
|
1608
|
-
/**
|
|
1609
|
-
*
|
|
1610
|
-
* @type {Array<Order>}
|
|
1611
|
-
* @memberof OrdersResponse
|
|
1612
|
-
*/
|
|
1613
631
|
'orders'?: Array<Order>;
|
|
1614
|
-
/**
|
|
1615
|
-
*
|
|
1616
|
-
* @type {number}
|
|
1617
|
-
* @memberof OrdersResponse
|
|
1618
|
-
*/
|
|
1619
632
|
'nextPageToken'?: number;
|
|
1620
633
|
}
|
|
1621
|
-
/**
|
|
1622
|
-
*
|
|
1623
|
-
* @export
|
|
1624
|
-
* @interface Origin
|
|
1625
|
-
*/
|
|
1626
634
|
export interface Origin {
|
|
1627
|
-
/**
|
|
1628
|
-
*
|
|
1629
|
-
* @type {string}
|
|
1630
|
-
* @memberof Origin
|
|
1631
|
-
*/
|
|
1632
635
|
'code'?: string;
|
|
1633
|
-
/**
|
|
1634
|
-
*
|
|
1635
|
-
* @type {boolean}
|
|
1636
|
-
* @memberof Origin
|
|
1637
|
-
*/
|
|
1638
636
|
'isPaid'?: boolean;
|
|
1639
637
|
}
|
|
1640
|
-
/**
|
|
1641
|
-
*
|
|
1642
|
-
* @export
|
|
1643
|
-
* @interface PaymentAccount
|
|
1644
|
-
*/
|
|
1645
638
|
export interface PaymentAccount {
|
|
1646
639
|
/**
|
|
1647
640
|
* The name of the payment account
|
|
1648
|
-
* @type {string}
|
|
1649
|
-
* @memberof PaymentAccount
|
|
1650
641
|
*/
|
|
1651
642
|
'name': string;
|
|
1652
643
|
/**
|
|
1653
644
|
* The payment method
|
|
1654
|
-
* @type {string}
|
|
1655
|
-
* @memberof PaymentAccount
|
|
1656
645
|
*/
|
|
1657
646
|
'method': PaymentAccountMethodEnum;
|
|
1658
647
|
/**
|
|
1659
648
|
* The configuration for the payment account
|
|
1660
|
-
* @type {{ [key: string]: string; }}
|
|
1661
|
-
* @memberof PaymentAccount
|
|
1662
649
|
*/
|
|
1663
650
|
'config': { [key: string]: string; };
|
|
1664
651
|
}
|
|
@@ -1671,38 +658,14 @@ export type PaymentAccountMethodEnum = typeof PaymentAccountMethodEnum[keyof typ
|
|
|
1671
658
|
|
|
1672
659
|
/**
|
|
1673
660
|
* List of payment attempts for this order
|
|
1674
|
-
* @export
|
|
1675
|
-
* @interface PaymentAttempt
|
|
1676
661
|
*/
|
|
1677
662
|
export interface PaymentAttempt {
|
|
1678
|
-
/**
|
|
1679
|
-
*
|
|
1680
|
-
* @type {string}
|
|
1681
|
-
* @memberof PaymentAttempt
|
|
1682
|
-
*/
|
|
1683
663
|
'paymentProvider'?: PaymentAttemptPaymentProviderEnum;
|
|
1684
|
-
/**
|
|
1685
|
-
*
|
|
1686
|
-
* @type {string}
|
|
1687
|
-
* @memberof PaymentAttempt
|
|
1688
|
-
*/
|
|
1689
664
|
'status'?: PaymentAttemptStatusEnum;
|
|
1690
|
-
/**
|
|
1691
|
-
*
|
|
1692
|
-
* @type {string}
|
|
1693
|
-
* @memberof PaymentAttempt
|
|
1694
|
-
*/
|
|
1695
665
|
'transactionId'?: string | null;
|
|
1696
|
-
/**
|
|
1697
|
-
*
|
|
1698
|
-
* @type {string}
|
|
1699
|
-
* @memberof PaymentAttempt
|
|
1700
|
-
*/
|
|
1701
666
|
'message'?: string;
|
|
1702
667
|
/**
|
|
1703
668
|
* ISO 8601 Timestamp
|
|
1704
|
-
* @type {string}
|
|
1705
|
-
* @memberof PaymentAttempt
|
|
1706
669
|
*/
|
|
1707
670
|
'createdAt'?: string;
|
|
1708
671
|
}
|
|
@@ -1723,228 +686,88 @@ export const PaymentAttemptStatusEnum = {
|
|
|
1723
686
|
|
|
1724
687
|
export type PaymentAttemptStatusEnum = typeof PaymentAttemptStatusEnum[keyof typeof PaymentAttemptStatusEnum];
|
|
1725
688
|
|
|
1726
|
-
/**
|
|
1727
|
-
*
|
|
1728
|
-
* @export
|
|
1729
|
-
* @interface Pixel
|
|
1730
|
-
*/
|
|
1731
689
|
export interface Pixel {
|
|
1732
690
|
/**
|
|
1733
691
|
* Unique object identifier
|
|
1734
|
-
* @type {string}
|
|
1735
|
-
* @memberof Pixel
|
|
1736
692
|
*/
|
|
1737
693
|
'id': string;
|
|
1738
|
-
/**
|
|
1739
|
-
*
|
|
1740
|
-
* @type {string}
|
|
1741
|
-
* @memberof Pixel
|
|
1742
|
-
*/
|
|
1743
694
|
'name': string;
|
|
1744
|
-
/**
|
|
1745
|
-
*
|
|
1746
|
-
* @type {Array<string>}
|
|
1747
|
-
* @memberof Pixel
|
|
1748
|
-
*/
|
|
1749
695
|
'sourceProjects': Array<string>;
|
|
1750
|
-
/**
|
|
1751
|
-
*
|
|
1752
|
-
* @type {CreatePixelRequestFilters}
|
|
1753
|
-
* @memberof Pixel
|
|
1754
|
-
*/
|
|
1755
696
|
'filters': CreatePixelRequestFilters;
|
|
1756
697
|
}
|
|
1757
|
-
/**
|
|
1758
|
-
*
|
|
1759
|
-
* @export
|
|
1760
|
-
* @interface PixelsResponse
|
|
1761
|
-
*/
|
|
1762
698
|
export interface PixelsResponse {
|
|
1763
|
-
/**
|
|
1764
|
-
*
|
|
1765
|
-
* @type {Array<Pixel>}
|
|
1766
|
-
* @memberof PixelsResponse
|
|
1767
|
-
*/
|
|
1768
699
|
'pixels': Array<Pixel>;
|
|
1769
|
-
/**
|
|
1770
|
-
*
|
|
1771
|
-
* @type {number}
|
|
1772
|
-
* @memberof PixelsResponse
|
|
1773
|
-
*/
|
|
1774
700
|
'nextPageToken'?: number | null;
|
|
1775
701
|
}
|
|
1776
|
-
/**
|
|
1777
|
-
*
|
|
1778
|
-
* @export
|
|
1779
|
-
* @interface Platform
|
|
1780
|
-
*/
|
|
1781
702
|
export interface Platform {
|
|
1782
|
-
/**
|
|
1783
|
-
*
|
|
1784
|
-
* @type {string}
|
|
1785
|
-
* @memberof Platform
|
|
1786
|
-
*/
|
|
1787
703
|
'id': string;
|
|
1788
|
-
|
|
1789
|
-
*
|
|
1790
|
-
* @type {string}
|
|
1791
|
-
* @memberof Platform
|
|
1792
|
-
*/
|
|
1793
|
-
'name': string;
|
|
1794
|
-
/**
|
|
1795
|
-
*
|
|
1796
|
-
* @type {Array<string>}
|
|
1797
|
-
* @memberof Platform
|
|
1798
|
-
*/
|
|
704
|
+
'name': string;
|
|
1799
705
|
'domains': Array<string>;
|
|
1800
|
-
/**
|
|
1801
|
-
*
|
|
1802
|
-
* @type {Array<PlatformLogo>}
|
|
1803
|
-
* @memberof Platform
|
|
1804
|
-
*/
|
|
1805
706
|
'logos': Array<PlatformLogo>;
|
|
1806
|
-
/**
|
|
1807
|
-
*
|
|
1808
|
-
* @type {string}
|
|
1809
|
-
* @memberof Platform
|
|
1810
|
-
*/
|
|
1811
707
|
'favicon': string | null;
|
|
1812
|
-
/**
|
|
1813
|
-
*
|
|
1814
|
-
* @type {boolean}
|
|
1815
|
-
* @memberof Platform
|
|
1816
|
-
*/
|
|
1817
708
|
'clientGiftWrapAvailable': boolean;
|
|
1818
709
|
/**
|
|
1819
710
|
* The subscription fee for the platform
|
|
1820
|
-
* @type {number}
|
|
1821
|
-
* @memberof Platform
|
|
1822
711
|
*/
|
|
1823
712
|
'storeSubscriptionFee': number;
|
|
1824
713
|
/**
|
|
1825
714
|
* The order handling fee for the platform
|
|
1826
|
-
* @type {number}
|
|
1827
|
-
* @memberof Platform
|
|
1828
715
|
*/
|
|
1829
716
|
'orderHandlingFee': number;
|
|
1830
717
|
/**
|
|
1831
718
|
* The item handling fee for the platform
|
|
1832
|
-
* @type {number}
|
|
1833
|
-
* @memberof Platform
|
|
1834
719
|
*/
|
|
1835
720
|
'itemHandlingFee': number;
|
|
721
|
+
/**
|
|
722
|
+
* The neck print fee for the platform
|
|
723
|
+
*/
|
|
724
|
+
'neckPrintFee': number;
|
|
1836
725
|
/**
|
|
1837
726
|
* Whether the platform can charge clients for orders
|
|
1838
|
-
* @type {boolean}
|
|
1839
|
-
* @memberof Platform
|
|
1840
727
|
*/
|
|
1841
728
|
'chargeClients': boolean;
|
|
1842
729
|
}
|
|
1843
|
-
/**
|
|
1844
|
-
*
|
|
1845
|
-
* @export
|
|
1846
|
-
* @interface PlatformLogo
|
|
1847
|
-
*/
|
|
1848
730
|
export interface PlatformLogo {
|
|
1849
|
-
/**
|
|
1850
|
-
*
|
|
1851
|
-
* @type {string}
|
|
1852
|
-
* @memberof PlatformLogo
|
|
1853
|
-
*/
|
|
1854
731
|
'url': string;
|
|
1855
|
-
/**
|
|
1856
|
-
*
|
|
1857
|
-
* @type {{ [key: string]: string; }}
|
|
1858
|
-
* @memberof PlatformLogo
|
|
1859
|
-
*/
|
|
1860
732
|
'meta': { [key: string]: string; };
|
|
1861
733
|
}
|
|
1862
734
|
/**
|
|
1863
735
|
* Standard price definition that defines the amount and currency.
|
|
1864
|
-
* @export
|
|
1865
|
-
* @interface Price
|
|
1866
736
|
*/
|
|
1867
737
|
export interface Price {
|
|
1868
738
|
/**
|
|
1869
739
|
* Price including tax in the specified currency.
|
|
1870
|
-
* @type {string}
|
|
1871
|
-
* @memberof Price
|
|
1872
740
|
*/
|
|
1873
741
|
'amount'?: string;
|
|
1874
742
|
/**
|
|
1875
743
|
* Currency code for the currency the price is valued in.
|
|
1876
|
-
* @type {string}
|
|
1877
|
-
* @memberof Price
|
|
1878
744
|
*/
|
|
1879
745
|
'currencyCode'?: string;
|
|
1880
746
|
}
|
|
1881
|
-
/**
|
|
1882
|
-
*
|
|
1883
|
-
* @export
|
|
1884
|
-
* @interface Project
|
|
1885
|
-
*/
|
|
1886
747
|
export interface Project {
|
|
1887
|
-
/**
|
|
1888
|
-
*
|
|
1889
|
-
* @type {string}
|
|
1890
|
-
* @memberof Project
|
|
1891
|
-
*/
|
|
1892
748
|
'id': string;
|
|
1893
749
|
/**
|
|
1894
750
|
* The name of the project
|
|
1895
|
-
* @type {string}
|
|
1896
|
-
* @memberof Project
|
|
1897
751
|
*/
|
|
1898
752
|
'name': string;
|
|
1899
753
|
}
|
|
1900
|
-
/**
|
|
1901
|
-
*
|
|
1902
|
-
* @export
|
|
1903
|
-
* @interface ReturnOrderRequest
|
|
1904
|
-
*/
|
|
1905
754
|
export interface ReturnOrderRequest {
|
|
1906
|
-
/**
|
|
1907
|
-
*
|
|
1908
|
-
* @type {Array<ReturnOrderRequestReturnsInner>}
|
|
1909
|
-
* @memberof ReturnOrderRequest
|
|
1910
|
-
*/
|
|
1911
755
|
'returns': Array<ReturnOrderRequestReturnsInner>;
|
|
1912
756
|
}
|
|
1913
|
-
/**
|
|
1914
|
-
*
|
|
1915
|
-
* @export
|
|
1916
|
-
* @interface ReturnOrderRequestReturnsInner
|
|
1917
|
-
*/
|
|
1918
757
|
export interface ReturnOrderRequestReturnsInner {
|
|
1919
758
|
/**
|
|
1920
759
|
* Unique order item identifier
|
|
1921
|
-
* @type {string}
|
|
1922
|
-
* @memberof ReturnOrderRequestReturnsInner
|
|
1923
760
|
*/
|
|
1924
761
|
'id': string;
|
|
1925
|
-
/**
|
|
1926
|
-
*
|
|
1927
|
-
* @type {string}
|
|
1928
|
-
* @memberof ReturnOrderRequestReturnsInner
|
|
1929
|
-
*/
|
|
1930
762
|
'action': ReturnOrderRequestReturnsInnerActionEnum;
|
|
1931
763
|
/**
|
|
1932
764
|
* The quantity of the item to refund or exchange. This must be less than or equal to the quantity of the item in the order.
|
|
1933
|
-
* @type {number}
|
|
1934
|
-
* @memberof ReturnOrderRequestReturnsInner
|
|
1935
765
|
*/
|
|
1936
766
|
'quantity': number;
|
|
1937
767
|
/**
|
|
1938
768
|
* A reference to the variant being ordered
|
|
1939
|
-
* @type {string}
|
|
1940
|
-
* @memberof ReturnOrderRequestReturnsInner
|
|
1941
769
|
*/
|
|
1942
770
|
'newVariantRef'?: string;
|
|
1943
|
-
/**
|
|
1944
|
-
*
|
|
1945
|
-
* @type {ReturnOrderRequestReturnsInnerReason}
|
|
1946
|
-
* @memberof ReturnOrderRequestReturnsInner
|
|
1947
|
-
*/
|
|
1948
771
|
'reason': ReturnOrderRequestReturnsInnerReason;
|
|
1949
772
|
}
|
|
1950
773
|
|
|
@@ -1955,547 +778,195 @@ export const ReturnOrderRequestReturnsInnerActionEnum = {
|
|
|
1955
778
|
|
|
1956
779
|
export type ReturnOrderRequestReturnsInnerActionEnum = typeof ReturnOrderRequestReturnsInnerActionEnum[keyof typeof ReturnOrderRequestReturnsInnerActionEnum];
|
|
1957
780
|
|
|
1958
|
-
/**
|
|
1959
|
-
*
|
|
1960
|
-
* @export
|
|
1961
|
-
* @interface ReturnOrderRequestReturnsInnerReason
|
|
1962
|
-
*/
|
|
1963
781
|
export interface ReturnOrderRequestReturnsInnerReason {
|
|
1964
782
|
/**
|
|
1965
783
|
* A reference to the reason for the return or exchange.
|
|
1966
|
-
* @type {string}
|
|
1967
|
-
* @memberof ReturnOrderRequestReturnsInnerReason
|
|
1968
784
|
*/
|
|
1969
785
|
'reasonRef': string;
|
|
1970
786
|
/**
|
|
1971
787
|
* Additional comments as to why the item is being returned or exchanged.
|
|
1972
|
-
* @type {string}
|
|
1973
|
-
* @memberof ReturnOrderRequestReturnsInnerReason
|
|
1974
788
|
*/
|
|
1975
789
|
'additionalComments'?: string | null;
|
|
1976
790
|
}
|
|
1977
|
-
/**
|
|
1978
|
-
*
|
|
1979
|
-
* @export
|
|
1980
|
-
* @interface Review
|
|
1981
|
-
*/
|
|
1982
791
|
export interface Review {
|
|
1983
792
|
/**
|
|
1984
793
|
* Unique object identifier
|
|
1985
|
-
* @type {string}
|
|
1986
|
-
* @memberof Review
|
|
1987
794
|
*/
|
|
1988
795
|
'id': string;
|
|
1989
796
|
/**
|
|
1990
797
|
* Text content of the review
|
|
1991
|
-
* @type {string}
|
|
1992
|
-
* @memberof Review
|
|
1993
798
|
*/
|
|
1994
799
|
'text': string;
|
|
1995
|
-
/**
|
|
1996
|
-
*
|
|
1997
|
-
* @type {ReviewProduct}
|
|
1998
|
-
* @memberof Review
|
|
1999
|
-
*/
|
|
2000
800
|
'product'?: ReviewProduct;
|
|
2001
|
-
/**
|
|
2002
|
-
*
|
|
2003
|
-
* @type {ReviewAuthor}
|
|
2004
|
-
* @memberof Review
|
|
2005
|
-
*/
|
|
2006
801
|
'author'?: ReviewAuthor;
|
|
2007
802
|
/**
|
|
2008
803
|
* Rating of the review
|
|
2009
|
-
* @type {number}
|
|
2010
|
-
* @memberof Review
|
|
2011
804
|
*/
|
|
2012
805
|
'rating'?: number;
|
|
2013
806
|
/**
|
|
2014
807
|
* Google\'s sentiment analysis score
|
|
2015
|
-
* @type {number}
|
|
2016
|
-
* @memberof Review
|
|
2017
808
|
*/
|
|
2018
809
|
'sentiment'?: number;
|
|
2019
810
|
/**
|
|
2020
811
|
* Whether the review has been approved or not. If the review is not enabled, it will not be visible to the public.
|
|
2021
|
-
* @type {boolean}
|
|
2022
|
-
* @memberof Review
|
|
2023
812
|
*/
|
|
2024
813
|
'enabled': boolean;
|
|
2025
|
-
/**
|
|
2026
|
-
*
|
|
2027
|
-
* @type {string}
|
|
2028
|
-
* @memberof Review
|
|
2029
|
-
*/
|
|
2030
814
|
'createdAt'?: string;
|
|
2031
|
-
/**
|
|
2032
|
-
*
|
|
2033
|
-
* @type {Project}
|
|
2034
|
-
* @memberof Review
|
|
2035
|
-
*/
|
|
2036
815
|
'project': Project;
|
|
2037
|
-
/**
|
|
2038
|
-
*
|
|
2039
|
-
* @type {Array<ReviewImagesInner>}
|
|
2040
|
-
* @memberof Review
|
|
2041
|
-
*/
|
|
2042
816
|
'images'?: Array<ReviewImagesInner>;
|
|
2043
|
-
/**
|
|
2044
|
-
*
|
|
2045
|
-
* @type {Array<ReviewReply>}
|
|
2046
|
-
* @memberof Review
|
|
2047
|
-
*/
|
|
2048
817
|
'replies'?: Array<ReviewReply> | null;
|
|
2049
818
|
}
|
|
2050
|
-
/**
|
|
2051
|
-
*
|
|
2052
|
-
* @export
|
|
2053
|
-
* @interface ReviewAuthor
|
|
2054
|
-
*/
|
|
2055
819
|
export interface ReviewAuthor {
|
|
2056
820
|
/**
|
|
2057
821
|
* Name of the review\'s author
|
|
2058
|
-
* @type {string}
|
|
2059
|
-
* @memberof ReviewAuthor
|
|
2060
822
|
*/
|
|
2061
823
|
'name'?: string;
|
|
2062
824
|
/**
|
|
2063
825
|
* Email of the review\'s author
|
|
2064
|
-
* @type {string}
|
|
2065
|
-
* @memberof ReviewAuthor
|
|
2066
826
|
*/
|
|
2067
827
|
'email'?: string;
|
|
2068
828
|
}
|
|
2069
|
-
/**
|
|
2070
|
-
*
|
|
2071
|
-
* @export
|
|
2072
|
-
* @interface ReviewImagesInner
|
|
2073
|
-
*/
|
|
2074
829
|
export interface ReviewImagesInner {
|
|
2075
830
|
/**
|
|
2076
831
|
* URL of the image
|
|
2077
|
-
* @type {string}
|
|
2078
|
-
* @memberof ReviewImagesInner
|
|
2079
832
|
*/
|
|
2080
833
|
'src'?: string;
|
|
2081
834
|
/**
|
|
2082
835
|
* Alternative text for the image
|
|
2083
|
-
* @type {string}
|
|
2084
|
-
* @memberof ReviewImagesInner
|
|
2085
836
|
*/
|
|
2086
837
|
'alt'?: string;
|
|
2087
838
|
}
|
|
2088
839
|
/**
|
|
2089
840
|
* The product that the review is for
|
|
2090
|
-
* @export
|
|
2091
|
-
* @interface ReviewProduct
|
|
2092
841
|
*/
|
|
2093
842
|
export interface ReviewProduct {
|
|
2094
843
|
/**
|
|
2095
844
|
* Unique object identifier
|
|
2096
|
-
* @type {string}
|
|
2097
|
-
* @memberof ReviewProduct
|
|
2098
845
|
*/
|
|
2099
846
|
'id'?: string;
|
|
2100
847
|
/**
|
|
2101
848
|
* The title of the product
|
|
2102
|
-
* @type {string}
|
|
2103
|
-
* @memberof ReviewProduct
|
|
2104
849
|
*/
|
|
2105
850
|
'title'?: string;
|
|
2106
851
|
}
|
|
2107
|
-
/**
|
|
2108
|
-
*
|
|
2109
|
-
* @export
|
|
2110
|
-
* @interface ReviewReply
|
|
2111
|
-
*/
|
|
2112
852
|
export interface ReviewReply {
|
|
2113
853
|
/**
|
|
2114
854
|
* Unique object identifier
|
|
2115
|
-
* @type {string}
|
|
2116
|
-
* @memberof ReviewReply
|
|
2117
855
|
*/
|
|
2118
856
|
'id': string;
|
|
2119
857
|
/**
|
|
2120
858
|
* Text content of the reply
|
|
2121
|
-
* @type {string}
|
|
2122
|
-
* @memberof ReviewReply
|
|
2123
859
|
*/
|
|
2124
860
|
'text': string;
|
|
2125
|
-
/**
|
|
2126
|
-
*
|
|
2127
|
-
* @type {ReviewReplyAuthor}
|
|
2128
|
-
* @memberof ReviewReply
|
|
2129
|
-
*/
|
|
2130
861
|
'author'?: ReviewReplyAuthor;
|
|
2131
|
-
/**
|
|
2132
|
-
*
|
|
2133
|
-
* @type {string}
|
|
2134
|
-
* @memberof ReviewReply
|
|
2135
|
-
*/
|
|
2136
862
|
'createdAt'?: string;
|
|
2137
863
|
}
|
|
2138
|
-
/**
|
|
2139
|
-
*
|
|
2140
|
-
* @export
|
|
2141
|
-
* @interface ReviewReplyAuthor
|
|
2142
|
-
*/
|
|
2143
864
|
export interface ReviewReplyAuthor {
|
|
2144
865
|
/**
|
|
2145
866
|
* Name of the reply\'s author
|
|
2146
|
-
* @type {string}
|
|
2147
|
-
* @memberof ReviewReplyAuthor
|
|
2148
867
|
*/
|
|
2149
868
|
'name'?: string;
|
|
2150
869
|
}
|
|
2151
|
-
/**
|
|
2152
|
-
*
|
|
2153
|
-
* @export
|
|
2154
|
-
* @interface ReviewsResponse
|
|
2155
|
-
*/
|
|
2156
870
|
export interface ReviewsResponse {
|
|
2157
|
-
/**
|
|
2158
|
-
*
|
|
2159
|
-
* @type {Array<Review>}
|
|
2160
|
-
* @memberof ReviewsResponse
|
|
2161
|
-
*/
|
|
2162
871
|
'reviews'?: Array<Review>;
|
|
2163
872
|
/**
|
|
2164
873
|
* The token referencing the next page number
|
|
2165
|
-
* @type {number}
|
|
2166
|
-
* @memberof ReviewsResponse
|
|
2167
874
|
*/
|
|
2168
875
|
'nextPageToken'?: number | null;
|
|
2169
876
|
}
|
|
2170
|
-
/**
|
|
2171
|
-
*
|
|
2172
|
-
* @export
|
|
2173
|
-
* @interface SaveDashboardRequest
|
|
2174
|
-
*/
|
|
2175
877
|
export interface SaveDashboardRequest {
|
|
2176
|
-
/**
|
|
2177
|
-
*
|
|
2178
|
-
* @type {Array<DashboardItem>}
|
|
2179
|
-
* @memberof SaveDashboardRequest
|
|
2180
|
-
*/
|
|
2181
878
|
'items'?: Array<DashboardItem>;
|
|
2182
879
|
}
|
|
2183
|
-
/**
|
|
2184
|
-
*
|
|
2185
|
-
* @export
|
|
2186
|
-
* @interface SaveTermsRequest
|
|
2187
|
-
*/
|
|
2188
880
|
export interface SaveTermsRequest {
|
|
2189
|
-
/**
|
|
2190
|
-
*
|
|
2191
|
-
* @type {string}
|
|
2192
|
-
* @memberof SaveTermsRequest
|
|
2193
|
-
*/
|
|
2194
881
|
'title': string;
|
|
2195
|
-
/**
|
|
2196
|
-
*
|
|
2197
|
-
* @type {string}
|
|
2198
|
-
* @memberof SaveTermsRequest
|
|
2199
|
-
*/
|
|
2200
882
|
'content': string;
|
|
2201
|
-
/**
|
|
2202
|
-
*
|
|
2203
|
-
* @type {boolean}
|
|
2204
|
-
* @memberof SaveTermsRequest
|
|
2205
|
-
*/
|
|
2206
883
|
'enabled': boolean;
|
|
2207
|
-
/**
|
|
2208
|
-
*
|
|
2209
|
-
* @type {boolean}
|
|
2210
|
-
* @memberof SaveTermsRequest
|
|
2211
|
-
*/
|
|
2212
884
|
'updateVersion': boolean;
|
|
2213
885
|
}
|
|
2214
|
-
/**
|
|
2215
|
-
*
|
|
2216
|
-
* @export
|
|
2217
|
-
* @interface ShippingMethod
|
|
2218
|
-
*/
|
|
2219
886
|
export interface ShippingMethod {
|
|
2220
887
|
/**
|
|
2221
888
|
* Unique object identifier
|
|
2222
|
-
* @type {string}
|
|
2223
|
-
* @memberof ShippingMethod
|
|
2224
889
|
*/
|
|
2225
890
|
'id'?: string;
|
|
2226
|
-
/**
|
|
2227
|
-
*
|
|
2228
|
-
* @type {string}
|
|
2229
|
-
* @memberof ShippingMethod
|
|
2230
|
-
*/
|
|
2231
891
|
'name'?: string;
|
|
2232
|
-
/**
|
|
2233
|
-
*
|
|
2234
|
-
* @type {string}
|
|
2235
|
-
* @memberof ShippingMethod
|
|
2236
|
-
*/
|
|
2237
892
|
'description'?: string;
|
|
2238
|
-
/**
|
|
2239
|
-
*
|
|
2240
|
-
* @type {DeliveryEstimates}
|
|
2241
|
-
* @memberof ShippingMethod
|
|
2242
|
-
*/
|
|
2243
893
|
'deliveryEstimates'?: DeliveryEstimates;
|
|
2244
|
-
/**
|
|
2245
|
-
*
|
|
2246
|
-
* @type {Price}
|
|
2247
|
-
* @memberof ShippingMethod
|
|
2248
|
-
*/
|
|
2249
894
|
'totalPrice'?: Price;
|
|
2250
|
-
/**
|
|
2251
|
-
*
|
|
2252
|
-
* @type {Price}
|
|
2253
|
-
* @memberof ShippingMethod
|
|
2254
|
-
*/
|
|
2255
895
|
'taxPrice'?: Price;
|
|
2256
|
-
/**
|
|
2257
|
-
*
|
|
2258
|
-
* @type {Price}
|
|
2259
|
-
* @memberof ShippingMethod
|
|
2260
|
-
*/
|
|
2261
896
|
'subtotalPrice'?: Price;
|
|
2262
|
-
/**
|
|
2263
|
-
*
|
|
2264
|
-
* @type {Price}
|
|
2265
|
-
* @memberof ShippingMethod
|
|
2266
|
-
*/
|
|
2267
897
|
'discountPrice'?: Price;
|
|
2268
898
|
}
|
|
2269
|
-
/**
|
|
2270
|
-
*
|
|
2271
|
-
* @export
|
|
2272
|
-
* @interface Statistics
|
|
2273
|
-
*/
|
|
2274
899
|
export interface Statistics {
|
|
2275
|
-
/**
|
|
2276
|
-
*
|
|
2277
|
-
* @type {number}
|
|
2278
|
-
* @memberof Statistics
|
|
2279
|
-
*/
|
|
2280
900
|
'lifetimeValue': number;
|
|
2281
|
-
/**
|
|
2282
|
-
*
|
|
2283
|
-
* @type {number}
|
|
2284
|
-
* @memberof Statistics
|
|
2285
|
-
*/
|
|
2286
901
|
'totalOrderCount': number;
|
|
2287
|
-
/**
|
|
2288
|
-
*
|
|
2289
|
-
* @type {number}
|
|
2290
|
-
* @memberof Statistics
|
|
2291
|
-
*/
|
|
2292
902
|
'refundedOrderCount': number;
|
|
2293
|
-
/**
|
|
2294
|
-
*
|
|
2295
|
-
* @type {string}
|
|
2296
|
-
* @memberof Statistics
|
|
2297
|
-
*/
|
|
2298
903
|
'lastPurchased': string | null;
|
|
2299
|
-
/**
|
|
2300
|
-
*
|
|
2301
|
-
* @type {boolean}
|
|
2302
|
-
* @memberof Statistics
|
|
2303
|
-
*/
|
|
2304
904
|
'usedDiscount': boolean;
|
|
2305
905
|
}
|
|
2306
|
-
/**
|
|
2307
|
-
*
|
|
2308
|
-
* @export
|
|
2309
|
-
* @interface StatusHistoryItem
|
|
2310
|
-
*/
|
|
2311
906
|
export interface StatusHistoryItem {
|
|
2312
|
-
/**
|
|
2313
|
-
*
|
|
2314
|
-
* @type {OrderStatus}
|
|
2315
|
-
* @memberof StatusHistoryItem
|
|
2316
|
-
*/
|
|
2317
907
|
'status'?: OrderStatus;
|
|
2318
908
|
/**
|
|
2319
909
|
* ISO 8601 Timestamp
|
|
2320
|
-
* @type {string}
|
|
2321
|
-
* @memberof StatusHistoryItem
|
|
2322
910
|
*/
|
|
2323
911
|
'createdAt'?: string;
|
|
2324
912
|
}
|
|
2325
913
|
|
|
2326
914
|
|
|
2327
|
-
/**
|
|
2328
|
-
*
|
|
2329
|
-
* @export
|
|
2330
|
-
* @interface Terms
|
|
2331
|
-
*/
|
|
2332
915
|
export interface Terms {
|
|
2333
|
-
/**
|
|
2334
|
-
*
|
|
2335
|
-
* @type {string}
|
|
2336
|
-
* @memberof Terms
|
|
2337
|
-
*/
|
|
2338
916
|
'id': string;
|
|
2339
|
-
/**
|
|
2340
|
-
*
|
|
2341
|
-
* @type {string}
|
|
2342
|
-
* @memberof Terms
|
|
2343
|
-
*/
|
|
2344
917
|
'title': string;
|
|
2345
|
-
/**
|
|
2346
|
-
*
|
|
2347
|
-
* @type {string}
|
|
2348
|
-
* @memberof Terms
|
|
2349
|
-
*/
|
|
2350
918
|
'content': string;
|
|
2351
|
-
/**
|
|
2352
|
-
*
|
|
2353
|
-
* @type {number}
|
|
2354
|
-
* @memberof Terms
|
|
2355
|
-
*/
|
|
2356
919
|
'version': number;
|
|
2357
|
-
/**
|
|
2358
|
-
*
|
|
2359
|
-
* @type {boolean}
|
|
2360
|
-
* @memberof Terms
|
|
2361
|
-
*/
|
|
2362
920
|
'enabled': boolean;
|
|
2363
|
-
/**
|
|
2364
|
-
*
|
|
2365
|
-
* @type {string}
|
|
2366
|
-
* @memberof Terms
|
|
2367
|
-
*/
|
|
2368
921
|
'createdAt': string;
|
|
2369
|
-
/**
|
|
2370
|
-
*
|
|
2371
|
-
* @type {string}
|
|
2372
|
-
* @memberof Terms
|
|
2373
|
-
*/
|
|
2374
922
|
'updatedAt': string;
|
|
2375
923
|
}
|
|
2376
|
-
/**
|
|
2377
|
-
*
|
|
2378
|
-
* @export
|
|
2379
|
-
* @interface UpdateCustomerEnquiryRequest
|
|
2380
|
-
*/
|
|
2381
924
|
export interface UpdateCustomerEnquiryRequest {
|
|
2382
925
|
/**
|
|
2383
926
|
* The unique id of the user who owns the enquiry
|
|
2384
|
-
* @type {string}
|
|
2385
|
-
* @memberof UpdateCustomerEnquiryRequest
|
|
2386
927
|
*/
|
|
2387
928
|
'owner'?: string | null;
|
|
2388
929
|
}
|
|
2389
|
-
/**
|
|
2390
|
-
*
|
|
2391
|
-
* @export
|
|
2392
|
-
* @interface UpdateFulfillmentRequest
|
|
2393
|
-
*/
|
|
2394
930
|
export interface UpdateFulfillmentRequest {
|
|
2395
931
|
/**
|
|
2396
932
|
* Unique object identifier
|
|
2397
|
-
* @type {string}
|
|
2398
|
-
* @memberof UpdateFulfillmentRequest
|
|
2399
933
|
*/
|
|
2400
934
|
'fulfillerId'?: string;
|
|
2401
935
|
}
|
|
2402
|
-
/**
|
|
2403
|
-
*
|
|
2404
|
-
* @export
|
|
2405
|
-
* @interface UpdatePlatformRequest
|
|
2406
|
-
*/
|
|
2407
936
|
export interface UpdatePlatformRequest {
|
|
2408
|
-
/**
|
|
2409
|
-
*
|
|
2410
|
-
* @type {Array<PlatformLogo>}
|
|
2411
|
-
* @memberof UpdatePlatformRequest
|
|
2412
|
-
*/
|
|
2413
937
|
'logos'?: Array<PlatformLogo>;
|
|
2414
|
-
/**
|
|
2415
|
-
*
|
|
2416
|
-
* @type {string}
|
|
2417
|
-
* @memberof UpdatePlatformRequest
|
|
2418
|
-
*/
|
|
2419
938
|
'favicon'?: string;
|
|
2420
|
-
/**
|
|
2421
|
-
*
|
|
2422
|
-
* @type {boolean}
|
|
2423
|
-
* @memberof UpdatePlatformRequest
|
|
2424
|
-
*/
|
|
2425
939
|
'clientGiftWrapAvailable'?: boolean;
|
|
2426
|
-
/**
|
|
2427
|
-
*
|
|
2428
|
-
* @type {number}
|
|
2429
|
-
* @memberof UpdatePlatformRequest
|
|
2430
|
-
*/
|
|
2431
940
|
'storeSubscriptionFee'?: number;
|
|
2432
|
-
/**
|
|
2433
|
-
*
|
|
2434
|
-
* @type {number}
|
|
2435
|
-
* @memberof UpdatePlatformRequest
|
|
2436
|
-
*/
|
|
2437
941
|
'orderHandlingFee'?: number;
|
|
2438
|
-
/**
|
|
2439
|
-
*
|
|
2440
|
-
* @type {number}
|
|
2441
|
-
* @memberof UpdatePlatformRequest
|
|
2442
|
-
*/
|
|
2443
942
|
'itemHandlingFee'?: number;
|
|
2444
|
-
|
|
2445
|
-
*
|
|
2446
|
-
* @type {boolean}
|
|
2447
|
-
* @memberof UpdatePlatformRequest
|
|
2448
|
-
*/
|
|
943
|
+
'neckPrintFee'?: number;
|
|
2449
944
|
'chargeClients'?: boolean;
|
|
2450
945
|
}
|
|
2451
|
-
/**
|
|
2452
|
-
*
|
|
2453
|
-
* @export
|
|
2454
|
-
* @interface ValidationError
|
|
2455
|
-
*/
|
|
2456
946
|
export interface ValidationError {
|
|
2457
|
-
/**
|
|
2458
|
-
*
|
|
2459
|
-
* @type {string}
|
|
2460
|
-
* @memberof ValidationError
|
|
2461
|
-
*/
|
|
2462
947
|
'message': string;
|
|
2463
948
|
}
|
|
2464
|
-
/**
|
|
2465
|
-
*
|
|
2466
|
-
* @export
|
|
2467
|
-
* @interface Variant
|
|
2468
|
-
*/
|
|
2469
949
|
export interface Variant {
|
|
2470
950
|
/**
|
|
2471
951
|
* Unique object identifier
|
|
2472
|
-
* @type {string}
|
|
2473
|
-
* @memberof Variant
|
|
2474
952
|
*/
|
|
2475
953
|
'id': string;
|
|
2476
954
|
/**
|
|
2477
955
|
* A reference to the resource location
|
|
2478
|
-
* @type {string}
|
|
2479
|
-
* @memberof Variant
|
|
2480
956
|
*/
|
|
2481
957
|
'ref': string;
|
|
2482
958
|
/**
|
|
2483
959
|
* A reference to the resource location
|
|
2484
|
-
* @type {string}
|
|
2485
|
-
* @memberof Variant
|
|
2486
960
|
*/
|
|
2487
961
|
'productRef': string;
|
|
2488
962
|
/**
|
|
2489
963
|
* A reference to the resource location
|
|
2490
|
-
* @type {string}
|
|
2491
|
-
* @memberof Variant
|
|
2492
964
|
*/
|
|
2493
965
|
'warehouseVariantRef': string;
|
|
2494
966
|
}
|
|
2495
967
|
|
|
2496
968
|
/**
|
|
2497
969
|
* CustomersApi - axios parameter creator
|
|
2498
|
-
* @export
|
|
2499
970
|
*/
|
|
2500
971
|
export const CustomersApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
2501
972
|
return {
|
|
@@ -2894,7 +1365,6 @@ export const CustomersApiAxiosParamCreator = function (configuration?: Configura
|
|
|
2894
1365
|
|
|
2895
1366
|
/**
|
|
2896
1367
|
* CustomersApi - functional programming interface
|
|
2897
|
-
* @export
|
|
2898
1368
|
*/
|
|
2899
1369
|
export const CustomersApiFp = function(configuration?: Configuration) {
|
|
2900
1370
|
const localVarAxiosParamCreator = CustomersApiAxiosParamCreator(configuration)
|
|
@@ -2955,7 +1425,7 @@ export const CustomersApiFp = function(configuration?: Configuration) {
|
|
|
2955
1425
|
* @param {*} [options] Override http request option.
|
|
2956
1426
|
* @throws {RequiredError}
|
|
2957
1427
|
*/
|
|
2958
|
-
async listCustomerTags(project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1428
|
+
async listCustomerTags(project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCustomerTags200Response>> {
|
|
2959
1429
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listCustomerTags(project, platformId, pageToken, pageSize, search, options);
|
|
2960
1430
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2961
1431
|
const localVarOperationServerBasePath = operationServerMap['CustomersApi.listCustomerTags']?.[localVarOperationServerIndex]?.url;
|
|
@@ -2999,7 +1469,6 @@ export const CustomersApiFp = function(configuration?: Configuration) {
|
|
|
2999
1469
|
|
|
3000
1470
|
/**
|
|
3001
1471
|
* CustomersApi - factory interface
|
|
3002
|
-
* @export
|
|
3003
1472
|
*/
|
|
3004
1473
|
export const CustomersApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
3005
1474
|
const localVarFp = CustomersApiFp(configuration)
|
|
@@ -3031,7 +1500,7 @@ export const CustomersApiFactory = function (configuration?: Configuration, base
|
|
|
3031
1500
|
* @param {*} [options] Override http request option.
|
|
3032
1501
|
* @throws {RequiredError}
|
|
3033
1502
|
*/
|
|
3034
|
-
listCustomerTags(requestParameters: CustomersApiListCustomerTagsRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1503
|
+
listCustomerTags(requestParameters: CustomersApiListCustomerTagsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListCustomerTags200Response> {
|
|
3035
1504
|
return localVarFp.listCustomerTags(requestParameters.project, requestParameters.platformId, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
3036
1505
|
},
|
|
3037
1506
|
/**
|
|
@@ -3049,366 +1518,261 @@ export const CustomersApiFactory = function (configuration?: Configuration, base
|
|
|
3049
1518
|
|
|
3050
1519
|
/**
|
|
3051
1520
|
* Request parameters for exportCustomers operation in CustomersApi.
|
|
3052
|
-
* @export
|
|
3053
|
-
* @interface CustomersApiExportCustomersRequest
|
|
3054
1521
|
*/
|
|
3055
1522
|
export interface CustomersApiExportCustomersRequest {
|
|
3056
1523
|
/**
|
|
3057
1524
|
* Project unique identifier
|
|
3058
|
-
* @type {string}
|
|
3059
|
-
* @memberof CustomersApiExportCustomers
|
|
3060
1525
|
*/
|
|
3061
1526
|
readonly project: string
|
|
3062
1527
|
|
|
3063
1528
|
/**
|
|
3064
1529
|
* The platform identifier
|
|
3065
|
-
* @type {string}
|
|
3066
|
-
* @memberof CustomersApiExportCustomers
|
|
3067
1530
|
*/
|
|
3068
1531
|
readonly platformId: string
|
|
3069
1532
|
|
|
3070
1533
|
/**
|
|
3071
1534
|
* An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
3072
|
-
* @type {Array<'+lifetimeValue' | '-lifetimeValue' | '+totalOrderCount' | '-totalOrderCount' | '+refundedOrderCount' | '-refundedOrderCount' | '+lastPurchased' | '-lastPurchased' | '+usedDiscount' | '-usedDiscount'>}
|
|
3073
|
-
* @memberof CustomersApiExportCustomers
|
|
3074
1535
|
*/
|
|
3075
1536
|
readonly sortBy?: Array<ExportCustomersSortByEnum>
|
|
3076
1537
|
|
|
3077
1538
|
/**
|
|
3078
1539
|
* Filter customers by country code
|
|
3079
|
-
* @type {Array<string>}
|
|
3080
|
-
* @memberof CustomersApiExportCustomers
|
|
3081
1540
|
*/
|
|
3082
1541
|
readonly countries?: Array<string>
|
|
3083
1542
|
|
|
3084
1543
|
/**
|
|
3085
1544
|
* Filter customers by project. In the absence of this field, all projects will be included in the export.
|
|
3086
|
-
* @type {Array<string>}
|
|
3087
|
-
* @memberof CustomersApiExportCustomers
|
|
3088
1545
|
*/
|
|
3089
1546
|
readonly projects?: Array<string>
|
|
3090
1547
|
|
|
3091
1548
|
/**
|
|
3092
1549
|
* Filter customers by gender equal to the value provided
|
|
3093
|
-
* @type {'male' | 'female'}
|
|
3094
|
-
* @memberof CustomersApiExportCustomers
|
|
3095
1550
|
*/
|
|
3096
1551
|
readonly gender?: ExportCustomersGenderEnum
|
|
3097
1552
|
|
|
3098
1553
|
/**
|
|
3099
1554
|
* Filter customers by purchased product types. In the absence of this field, all customers will be included in the export.
|
|
3100
|
-
* @type {Array<number>}
|
|
3101
|
-
* @memberof CustomersApiExportCustomers
|
|
3102
1555
|
*/
|
|
3103
1556
|
readonly productTypes?: Array<number>
|
|
3104
1557
|
|
|
3105
1558
|
/**
|
|
3106
1559
|
* Filter customers by purchase demographics. In the absence of this field, all customers will be included in the export.
|
|
3107
|
-
* @type {Array<string>}
|
|
3108
|
-
* @memberof CustomersApiExportCustomers
|
|
3109
1560
|
*/
|
|
3110
1561
|
readonly demographics?: Array<string>
|
|
3111
1562
|
|
|
3112
1563
|
/**
|
|
3113
1564
|
* Filter customers by purchase tags. In the absence of this field, all customers will be included in the export.
|
|
3114
|
-
* @type {Array<string>}
|
|
3115
|
-
* @memberof CustomersApiExportCustomers
|
|
3116
1565
|
*/
|
|
3117
1566
|
readonly tags?: Array<string>
|
|
3118
1567
|
|
|
3119
1568
|
/**
|
|
3120
1569
|
* Filter customers by whether they have used a discount
|
|
3121
|
-
* @type {boolean}
|
|
3122
|
-
* @memberof CustomersApiExportCustomers
|
|
3123
1570
|
*/
|
|
3124
1571
|
readonly usedDiscount?: boolean
|
|
3125
1572
|
|
|
3126
1573
|
/**
|
|
3127
1574
|
* Filter customers by total order count greater than or equal to the value provided
|
|
3128
|
-
* @type {number}
|
|
3129
|
-
* @memberof CustomersApiExportCustomers
|
|
3130
1575
|
*/
|
|
3131
1576
|
readonly minimumTotalOrderCount?: number
|
|
3132
1577
|
|
|
3133
1578
|
/**
|
|
3134
1579
|
* Filter customers by total order count less than or equal to the value provided
|
|
3135
|
-
* @type {number}
|
|
3136
|
-
* @memberof CustomersApiExportCustomers
|
|
3137
1580
|
*/
|
|
3138
1581
|
readonly maximumTotalOrderCount?: number
|
|
3139
1582
|
|
|
3140
1583
|
/**
|
|
3141
1584
|
* Filter customers by refunded order count greater than or equal to the value provided
|
|
3142
|
-
* @type {number}
|
|
3143
|
-
* @memberof CustomersApiExportCustomers
|
|
3144
1585
|
*/
|
|
3145
1586
|
readonly minimumRefundedOrderCount?: number
|
|
3146
1587
|
|
|
3147
1588
|
/**
|
|
3148
1589
|
* Filter customers by refunded order count less than or equal to the value provided
|
|
3149
|
-
* @type {number}
|
|
3150
|
-
* @memberof CustomersApiExportCustomers
|
|
3151
1590
|
*/
|
|
3152
1591
|
readonly maximumRefundedOrderCount?: number
|
|
3153
1592
|
|
|
3154
1593
|
/**
|
|
3155
1594
|
* Filter customers by lifetime value greater than or equal to the value provided
|
|
3156
|
-
* @type {number}
|
|
3157
|
-
* @memberof CustomersApiExportCustomers
|
|
3158
1595
|
*/
|
|
3159
1596
|
readonly minimumLifetimeValue?: number
|
|
3160
1597
|
|
|
3161
1598
|
/**
|
|
3162
1599
|
* Filter customers by lifetime value less than or equal to the value provided
|
|
3163
|
-
* @type {number}
|
|
3164
|
-
* @memberof CustomersApiExportCustomers
|
|
3165
1600
|
*/
|
|
3166
1601
|
readonly maximumLifetimeValue?: number
|
|
3167
1602
|
|
|
3168
1603
|
/**
|
|
3169
1604
|
* Start of date range to filter customers by last purchase date
|
|
3170
|
-
* @type {string}
|
|
3171
|
-
* @memberof CustomersApiExportCustomers
|
|
3172
1605
|
*/
|
|
3173
1606
|
readonly lastPurchasedStart?: string
|
|
3174
1607
|
|
|
3175
1608
|
/**
|
|
3176
1609
|
* End of date range to filter customers by last purchase date
|
|
3177
|
-
* @type {string}
|
|
3178
|
-
* @memberof CustomersApiExportCustomers
|
|
3179
1610
|
*/
|
|
3180
1611
|
readonly lastPurchasedEnd?: string
|
|
3181
1612
|
}
|
|
3182
1613
|
|
|
3183
1614
|
/**
|
|
3184
1615
|
* Request parameters for getCustomer operation in CustomersApi.
|
|
3185
|
-
* @export
|
|
3186
|
-
* @interface CustomersApiGetCustomerRequest
|
|
3187
1616
|
*/
|
|
3188
1617
|
export interface CustomersApiGetCustomerRequest {
|
|
3189
1618
|
/**
|
|
3190
1619
|
* Project unique identifier
|
|
3191
|
-
* @type {string}
|
|
3192
|
-
* @memberof CustomersApiGetCustomer
|
|
3193
1620
|
*/
|
|
3194
1621
|
readonly project: string
|
|
3195
1622
|
|
|
3196
1623
|
/**
|
|
3197
1624
|
* The platform identifier
|
|
3198
|
-
* @type {string}
|
|
3199
|
-
* @memberof CustomersApiGetCustomer
|
|
3200
1625
|
*/
|
|
3201
1626
|
readonly platformId: string
|
|
3202
1627
|
|
|
3203
1628
|
/**
|
|
3204
1629
|
* The customer identifier
|
|
3205
|
-
* @type {string}
|
|
3206
|
-
* @memberof CustomersApiGetCustomer
|
|
3207
1630
|
*/
|
|
3208
1631
|
readonly customerId: string
|
|
3209
1632
|
}
|
|
3210
1633
|
|
|
3211
1634
|
/**
|
|
3212
1635
|
* Request parameters for listCustomerTags operation in CustomersApi.
|
|
3213
|
-
* @export
|
|
3214
|
-
* @interface CustomersApiListCustomerTagsRequest
|
|
3215
1636
|
*/
|
|
3216
1637
|
export interface CustomersApiListCustomerTagsRequest {
|
|
3217
1638
|
/**
|
|
3218
1639
|
* Project unique identifier
|
|
3219
|
-
* @type {string}
|
|
3220
|
-
* @memberof CustomersApiListCustomerTags
|
|
3221
1640
|
*/
|
|
3222
1641
|
readonly project: string
|
|
3223
1642
|
|
|
3224
1643
|
/**
|
|
3225
1644
|
* The platform identifier
|
|
3226
|
-
* @type {string}
|
|
3227
|
-
* @memberof CustomersApiListCustomerTags
|
|
3228
1645
|
*/
|
|
3229
1646
|
readonly platformId: string
|
|
3230
1647
|
|
|
3231
1648
|
/**
|
|
3232
1649
|
* Page reference token
|
|
3233
|
-
* @type {number}
|
|
3234
|
-
* @memberof CustomersApiListCustomerTags
|
|
3235
1650
|
*/
|
|
3236
1651
|
readonly pageToken?: number
|
|
3237
1652
|
|
|
3238
1653
|
/**
|
|
3239
1654
|
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
3240
|
-
* @type {number}
|
|
3241
|
-
* @memberof CustomersApiListCustomerTags
|
|
3242
1655
|
*/
|
|
3243
1656
|
readonly pageSize?: number
|
|
3244
1657
|
|
|
3245
1658
|
/**
|
|
3246
1659
|
* Search term to filter results
|
|
3247
|
-
* @type {string}
|
|
3248
|
-
* @memberof CustomersApiListCustomerTags
|
|
3249
1660
|
*/
|
|
3250
1661
|
readonly search?: string
|
|
3251
1662
|
}
|
|
3252
1663
|
|
|
3253
1664
|
/**
|
|
3254
1665
|
* Request parameters for listCustomers operation in CustomersApi.
|
|
3255
|
-
* @export
|
|
3256
|
-
* @interface CustomersApiListCustomersRequest
|
|
3257
1666
|
*/
|
|
3258
1667
|
export interface CustomersApiListCustomersRequest {
|
|
3259
1668
|
/**
|
|
3260
1669
|
* Project unique identifier
|
|
3261
|
-
* @type {string}
|
|
3262
|
-
* @memberof CustomersApiListCustomers
|
|
3263
1670
|
*/
|
|
3264
1671
|
readonly project: string
|
|
3265
1672
|
|
|
3266
1673
|
/**
|
|
3267
1674
|
* The platform identifier
|
|
3268
|
-
* @type {string}
|
|
3269
|
-
* @memberof CustomersApiListCustomers
|
|
3270
1675
|
*/
|
|
3271
1676
|
readonly platformId: string
|
|
3272
1677
|
|
|
3273
1678
|
/**
|
|
3274
1679
|
* Page reference token
|
|
3275
|
-
* @type {number}
|
|
3276
|
-
* @memberof CustomersApiListCustomers
|
|
3277
1680
|
*/
|
|
3278
1681
|
readonly pageToken?: number
|
|
3279
1682
|
|
|
3280
1683
|
/**
|
|
3281
1684
|
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
3282
|
-
* @type {number}
|
|
3283
|
-
* @memberof CustomersApiListCustomers
|
|
3284
1685
|
*/
|
|
3285
1686
|
readonly pageSize?: number
|
|
3286
1687
|
|
|
3287
1688
|
/**
|
|
3288
1689
|
* Search term to filter results
|
|
3289
|
-
* @type {string}
|
|
3290
|
-
* @memberof CustomersApiListCustomers
|
|
3291
1690
|
*/
|
|
3292
1691
|
readonly search?: string
|
|
3293
1692
|
|
|
3294
1693
|
/**
|
|
3295
1694
|
* An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
3296
|
-
* @type {Array<'+lifetimeValue' | '-lifetimeValue' | '+totalOrderCount' | '-totalOrderCount' | '+refundedOrderCount' | '-refundedOrderCount' | '+lastPurchased' | '-lastPurchased' | '+usedDiscount' | '-usedDiscount'>}
|
|
3297
|
-
* @memberof CustomersApiListCustomers
|
|
3298
1695
|
*/
|
|
3299
1696
|
readonly sortBy?: Array<ListCustomersSortByEnum>
|
|
3300
1697
|
|
|
3301
1698
|
/**
|
|
3302
1699
|
* Filter customers by country code
|
|
3303
|
-
* @type {Array<string>}
|
|
3304
|
-
* @memberof CustomersApiListCustomers
|
|
3305
1700
|
*/
|
|
3306
1701
|
readonly countries?: Array<string>
|
|
3307
1702
|
|
|
3308
1703
|
/**
|
|
3309
1704
|
* Filter customers by project. In the absence of this field, all projects will be included in the export.
|
|
3310
|
-
* @type {Array<string>}
|
|
3311
|
-
* @memberof CustomersApiListCustomers
|
|
3312
1705
|
*/
|
|
3313
1706
|
readonly projects?: Array<string>
|
|
3314
1707
|
|
|
3315
1708
|
/**
|
|
3316
1709
|
* Filter customers by gender equal to the value provided
|
|
3317
|
-
* @type {'male' | 'female'}
|
|
3318
|
-
* @memberof CustomersApiListCustomers
|
|
3319
1710
|
*/
|
|
3320
1711
|
readonly gender?: ListCustomersGenderEnum
|
|
3321
1712
|
|
|
3322
1713
|
/**
|
|
3323
1714
|
* Filter customers by purchased product types. In the absence of this field, all customers will be included in the export.
|
|
3324
|
-
* @type {Array<number>}
|
|
3325
|
-
* @memberof CustomersApiListCustomers
|
|
3326
1715
|
*/
|
|
3327
1716
|
readonly productTypes?: Array<number>
|
|
3328
1717
|
|
|
3329
1718
|
/**
|
|
3330
1719
|
* Filter customers by purchase demographics. In the absence of this field, all customers will be included in the export.
|
|
3331
|
-
* @type {Array<string>}
|
|
3332
|
-
* @memberof CustomersApiListCustomers
|
|
3333
1720
|
*/
|
|
3334
1721
|
readonly demographics?: Array<string>
|
|
3335
1722
|
|
|
3336
1723
|
/**
|
|
3337
1724
|
* Filter customers by purchase tags. In the absence of this field, all customers will be included in the export.
|
|
3338
|
-
* @type {Array<string>}
|
|
3339
|
-
* @memberof CustomersApiListCustomers
|
|
3340
1725
|
*/
|
|
3341
1726
|
readonly tags?: Array<string>
|
|
3342
1727
|
|
|
3343
1728
|
/**
|
|
3344
1729
|
* Filter customers by whether they have used a discount
|
|
3345
|
-
* @type {boolean}
|
|
3346
|
-
* @memberof CustomersApiListCustomers
|
|
3347
1730
|
*/
|
|
3348
1731
|
readonly usedDiscount?: boolean
|
|
3349
1732
|
|
|
3350
1733
|
/**
|
|
3351
1734
|
* Filter customers by total order count greater than or equal to the value provided
|
|
3352
|
-
* @type {number}
|
|
3353
|
-
* @memberof CustomersApiListCustomers
|
|
3354
1735
|
*/
|
|
3355
1736
|
readonly minimumTotalOrderCount?: number
|
|
3356
1737
|
|
|
3357
1738
|
/**
|
|
3358
1739
|
* Filter customers by total order count less than or equal to the value provided
|
|
3359
|
-
* @type {number}
|
|
3360
|
-
* @memberof CustomersApiListCustomers
|
|
3361
1740
|
*/
|
|
3362
1741
|
readonly maximumTotalOrderCount?: number
|
|
3363
1742
|
|
|
3364
1743
|
/**
|
|
3365
1744
|
* Filter customers by refunded order count greater than or equal to the value provided
|
|
3366
|
-
* @type {number}
|
|
3367
|
-
* @memberof CustomersApiListCustomers
|
|
3368
1745
|
*/
|
|
3369
1746
|
readonly minimumRefundedOrderCount?: number
|
|
3370
1747
|
|
|
3371
1748
|
/**
|
|
3372
1749
|
* Filter customers by refunded order count less than or equal to the value provided
|
|
3373
|
-
* @type {number}
|
|
3374
|
-
* @memberof CustomersApiListCustomers
|
|
3375
1750
|
*/
|
|
3376
1751
|
readonly maximumRefundedOrderCount?: number
|
|
3377
1752
|
|
|
3378
1753
|
/**
|
|
3379
1754
|
* Filter customers by lifetime value greater than or equal to the value provided
|
|
3380
|
-
* @type {number}
|
|
3381
|
-
* @memberof CustomersApiListCustomers
|
|
3382
1755
|
*/
|
|
3383
1756
|
readonly minimumLifetimeValue?: number
|
|
3384
1757
|
|
|
3385
1758
|
/**
|
|
3386
1759
|
* Filter customers by lifetime value less than or equal to the value provided
|
|
3387
|
-
* @type {number}
|
|
3388
|
-
* @memberof CustomersApiListCustomers
|
|
3389
1760
|
*/
|
|
3390
1761
|
readonly maximumLifetimeValue?: number
|
|
3391
1762
|
|
|
3392
1763
|
/**
|
|
3393
1764
|
* Start of date range to filter customers by last purchase date
|
|
3394
|
-
* @type {string}
|
|
3395
|
-
* @memberof CustomersApiListCustomers
|
|
3396
1765
|
*/
|
|
3397
1766
|
readonly lastPurchasedStart?: string
|
|
3398
1767
|
|
|
3399
1768
|
/**
|
|
3400
1769
|
* End of date range to filter customers by last purchase date
|
|
3401
|
-
* @type {string}
|
|
3402
|
-
* @memberof CustomersApiListCustomers
|
|
3403
1770
|
*/
|
|
3404
1771
|
readonly lastPurchasedEnd?: string
|
|
3405
1772
|
}
|
|
3406
1773
|
|
|
3407
1774
|
/**
|
|
3408
1775
|
* CustomersApi - object-oriented interface
|
|
3409
|
-
* @export
|
|
3410
|
-
* @class CustomersApi
|
|
3411
|
-
* @extends {BaseAPI}
|
|
3412
1776
|
*/
|
|
3413
1777
|
export class CustomersApi extends BaseAPI {
|
|
3414
1778
|
/**
|
|
@@ -3417,7 +1781,6 @@ export class CustomersApi extends BaseAPI {
|
|
|
3417
1781
|
* @param {CustomersApiExportCustomersRequest} requestParameters Request parameters.
|
|
3418
1782
|
* @param {*} [options] Override http request option.
|
|
3419
1783
|
* @throws {RequiredError}
|
|
3420
|
-
* @memberof CustomersApi
|
|
3421
1784
|
*/
|
|
3422
1785
|
public exportCustomers(requestParameters: CustomersApiExportCustomersRequest, options?: RawAxiosRequestConfig) {
|
|
3423
1786
|
return CustomersApiFp(this.configuration).exportCustomers(requestParameters.project, requestParameters.platformId, requestParameters.sortBy, requestParameters.countries, requestParameters.projects, requestParameters.gender, requestParameters.productTypes, requestParameters.demographics, requestParameters.tags, requestParameters.usedDiscount, requestParameters.minimumTotalOrderCount, requestParameters.maximumTotalOrderCount, requestParameters.minimumRefundedOrderCount, requestParameters.maximumRefundedOrderCount, requestParameters.minimumLifetimeValue, requestParameters.maximumLifetimeValue, requestParameters.lastPurchasedStart, requestParameters.lastPurchasedEnd, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3429,7 +1792,6 @@ export class CustomersApi extends BaseAPI {
|
|
|
3429
1792
|
* @param {CustomersApiGetCustomerRequest} requestParameters Request parameters.
|
|
3430
1793
|
* @param {*} [options] Override http request option.
|
|
3431
1794
|
* @throws {RequiredError}
|
|
3432
|
-
* @memberof CustomersApi
|
|
3433
1795
|
*/
|
|
3434
1796
|
public getCustomer(requestParameters: CustomersApiGetCustomerRequest, options?: RawAxiosRequestConfig) {
|
|
3435
1797
|
return CustomersApiFp(this.configuration).getCustomer(requestParameters.project, requestParameters.platformId, requestParameters.customerId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3441,7 +1803,6 @@ export class CustomersApi extends BaseAPI {
|
|
|
3441
1803
|
* @param {CustomersApiListCustomerTagsRequest} requestParameters Request parameters.
|
|
3442
1804
|
* @param {*} [options] Override http request option.
|
|
3443
1805
|
* @throws {RequiredError}
|
|
3444
|
-
* @memberof CustomersApi
|
|
3445
1806
|
*/
|
|
3446
1807
|
public listCustomerTags(requestParameters: CustomersApiListCustomerTagsRequest, options?: RawAxiosRequestConfig) {
|
|
3447
1808
|
return CustomersApiFp(this.configuration).listCustomerTags(requestParameters.project, requestParameters.platformId, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3453,16 +1814,12 @@ export class CustomersApi extends BaseAPI {
|
|
|
3453
1814
|
* @param {CustomersApiListCustomersRequest} requestParameters Request parameters.
|
|
3454
1815
|
* @param {*} [options] Override http request option.
|
|
3455
1816
|
* @throws {RequiredError}
|
|
3456
|
-
* @memberof CustomersApi
|
|
3457
1817
|
*/
|
|
3458
1818
|
public listCustomers(requestParameters: CustomersApiListCustomersRequest, options?: RawAxiosRequestConfig) {
|
|
3459
1819
|
return CustomersApiFp(this.configuration).listCustomers(requestParameters.project, requestParameters.platformId, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.sortBy, requestParameters.countries, requestParameters.projects, requestParameters.gender, requestParameters.productTypes, requestParameters.demographics, requestParameters.tags, requestParameters.usedDiscount, requestParameters.minimumTotalOrderCount, requestParameters.maximumTotalOrderCount, requestParameters.minimumRefundedOrderCount, requestParameters.maximumRefundedOrderCount, requestParameters.minimumLifetimeValue, requestParameters.maximumLifetimeValue, requestParameters.lastPurchasedStart, requestParameters.lastPurchasedEnd, options).then((request) => request(this.axios, this.basePath));
|
|
3460
1820
|
}
|
|
3461
1821
|
}
|
|
3462
1822
|
|
|
3463
|
-
/**
|
|
3464
|
-
* @export
|
|
3465
|
-
*/
|
|
3466
1823
|
export const ExportCustomersSortByEnum = {
|
|
3467
1824
|
LifetimeValue: '+lifetimeValue',
|
|
3468
1825
|
LifetimeValue2: '-lifetimeValue',
|
|
@@ -3476,17 +1833,11 @@ export const ExportCustomersSortByEnum = {
|
|
|
3476
1833
|
UsedDiscount2: '-usedDiscount'
|
|
3477
1834
|
} as const;
|
|
3478
1835
|
export type ExportCustomersSortByEnum = typeof ExportCustomersSortByEnum[keyof typeof ExportCustomersSortByEnum];
|
|
3479
|
-
/**
|
|
3480
|
-
* @export
|
|
3481
|
-
*/
|
|
3482
1836
|
export const ExportCustomersGenderEnum = {
|
|
3483
1837
|
Male: 'male',
|
|
3484
1838
|
Female: 'female'
|
|
3485
1839
|
} as const;
|
|
3486
1840
|
export type ExportCustomersGenderEnum = typeof ExportCustomersGenderEnum[keyof typeof ExportCustomersGenderEnum];
|
|
3487
|
-
/**
|
|
3488
|
-
* @export
|
|
3489
|
-
*/
|
|
3490
1841
|
export const ListCustomersSortByEnum = {
|
|
3491
1842
|
LifetimeValue: '+lifetimeValue',
|
|
3492
1843
|
LifetimeValue2: '-lifetimeValue',
|
|
@@ -3500,9 +1851,6 @@ export const ListCustomersSortByEnum = {
|
|
|
3500
1851
|
UsedDiscount2: '-usedDiscount'
|
|
3501
1852
|
} as const;
|
|
3502
1853
|
export type ListCustomersSortByEnum = typeof ListCustomersSortByEnum[keyof typeof ListCustomersSortByEnum];
|
|
3503
|
-
/**
|
|
3504
|
-
* @export
|
|
3505
|
-
*/
|
|
3506
1854
|
export const ListCustomersGenderEnum = {
|
|
3507
1855
|
Male: 'male',
|
|
3508
1856
|
Female: 'female'
|
|
@@ -3512,7 +1860,6 @@ export type ListCustomersGenderEnum = typeof ListCustomersGenderEnum[keyof typeo
|
|
|
3512
1860
|
|
|
3513
1861
|
/**
|
|
3514
1862
|
* DashboardApi - axios parameter creator
|
|
3515
|
-
* @export
|
|
3516
1863
|
*/
|
|
3517
1864
|
export const DashboardApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
3518
1865
|
return {
|
|
@@ -3623,7 +1970,6 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
|
|
|
3623
1970
|
|
|
3624
1971
|
/**
|
|
3625
1972
|
* DashboardApi - functional programming interface
|
|
3626
|
-
* @export
|
|
3627
1973
|
*/
|
|
3628
1974
|
export const DashboardApiFp = function(configuration?: Configuration) {
|
|
3629
1975
|
const localVarAxiosParamCreator = DashboardApiAxiosParamCreator(configuration)
|
|
@@ -3662,7 +2008,6 @@ export const DashboardApiFp = function(configuration?: Configuration) {
|
|
|
3662
2008
|
|
|
3663
2009
|
/**
|
|
3664
2010
|
* DashboardApi - factory interface
|
|
3665
|
-
* @export
|
|
3666
2011
|
*/
|
|
3667
2012
|
export const DashboardApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
3668
2013
|
const localVarFp = DashboardApiFp(configuration)
|
|
@@ -3692,58 +2037,41 @@ export const DashboardApiFactory = function (configuration?: Configuration, base
|
|
|
3692
2037
|
|
|
3693
2038
|
/**
|
|
3694
2039
|
* Request parameters for getDashboard operation in DashboardApi.
|
|
3695
|
-
* @export
|
|
3696
|
-
* @interface DashboardApiGetDashboardRequest
|
|
3697
2040
|
*/
|
|
3698
2041
|
export interface DashboardApiGetDashboardRequest {
|
|
3699
2042
|
/**
|
|
3700
2043
|
* Project unique identifier
|
|
3701
|
-
* @type {string}
|
|
3702
|
-
* @memberof DashboardApiGetDashboard
|
|
3703
2044
|
*/
|
|
3704
2045
|
readonly project: string
|
|
3705
2046
|
|
|
3706
2047
|
/**
|
|
3707
2048
|
* The platform identifier
|
|
3708
|
-
* @type {string}
|
|
3709
|
-
* @memberof DashboardApiGetDashboard
|
|
3710
2049
|
*/
|
|
3711
2050
|
readonly platformId: string
|
|
3712
2051
|
}
|
|
3713
2052
|
|
|
3714
2053
|
/**
|
|
3715
2054
|
* Request parameters for saveDashboard operation in DashboardApi.
|
|
3716
|
-
* @export
|
|
3717
|
-
* @interface DashboardApiSaveDashboardRequest
|
|
3718
2055
|
*/
|
|
3719
2056
|
export interface DashboardApiSaveDashboardRequest {
|
|
3720
2057
|
/**
|
|
3721
2058
|
* Project unique identifier
|
|
3722
|
-
* @type {string}
|
|
3723
|
-
* @memberof DashboardApiSaveDashboard
|
|
3724
2059
|
*/
|
|
3725
2060
|
readonly project: string
|
|
3726
2061
|
|
|
3727
2062
|
/**
|
|
3728
2063
|
* The platform identifier
|
|
3729
|
-
* @type {string}
|
|
3730
|
-
* @memberof DashboardApiSaveDashboard
|
|
3731
2064
|
*/
|
|
3732
2065
|
readonly platformId: string
|
|
3733
2066
|
|
|
3734
2067
|
/**
|
|
3735
2068
|
* Save dashboard
|
|
3736
|
-
* @type {SaveDashboardRequest}
|
|
3737
|
-
* @memberof DashboardApiSaveDashboard
|
|
3738
2069
|
*/
|
|
3739
2070
|
readonly saveDashboardRequest: SaveDashboardRequest
|
|
3740
2071
|
}
|
|
3741
2072
|
|
|
3742
2073
|
/**
|
|
3743
2074
|
* DashboardApi - object-oriented interface
|
|
3744
|
-
* @export
|
|
3745
|
-
* @class DashboardApi
|
|
3746
|
-
* @extends {BaseAPI}
|
|
3747
2075
|
*/
|
|
3748
2076
|
export class DashboardApi extends BaseAPI {
|
|
3749
2077
|
/**
|
|
@@ -3752,7 +2080,6 @@ export class DashboardApi extends BaseAPI {
|
|
|
3752
2080
|
* @param {DashboardApiGetDashboardRequest} requestParameters Request parameters.
|
|
3753
2081
|
* @param {*} [options] Override http request option.
|
|
3754
2082
|
* @throws {RequiredError}
|
|
3755
|
-
* @memberof DashboardApi
|
|
3756
2083
|
*/
|
|
3757
2084
|
public getDashboard(requestParameters: DashboardApiGetDashboardRequest, options?: RawAxiosRequestConfig) {
|
|
3758
2085
|
return DashboardApiFp(this.configuration).getDashboard(requestParameters.project, requestParameters.platformId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3764,7 +2091,6 @@ export class DashboardApi extends BaseAPI {
|
|
|
3764
2091
|
* @param {DashboardApiSaveDashboardRequest} requestParameters Request parameters.
|
|
3765
2092
|
* @param {*} [options] Override http request option.
|
|
3766
2093
|
* @throws {RequiredError}
|
|
3767
|
-
* @memberof DashboardApi
|
|
3768
2094
|
*/
|
|
3769
2095
|
public saveDashboard(requestParameters: DashboardApiSaveDashboardRequest, options?: RawAxiosRequestConfig) {
|
|
3770
2096
|
return DashboardApiFp(this.configuration).saveDashboard(requestParameters.project, requestParameters.platformId, requestParameters.saveDashboardRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3775,7 +2101,6 @@ export class DashboardApi extends BaseAPI {
|
|
|
3775
2101
|
|
|
3776
2102
|
/**
|
|
3777
2103
|
* EnquiriesApi - axios parameter creator
|
|
3778
|
-
* @export
|
|
3779
2104
|
*/
|
|
3780
2105
|
export const EnquiriesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
3781
2106
|
return {
|
|
@@ -4075,7 +2400,6 @@ export const EnquiriesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
4075
2400
|
|
|
4076
2401
|
/**
|
|
4077
2402
|
* EnquiriesApi - functional programming interface
|
|
4078
|
-
* @export
|
|
4079
2403
|
*/
|
|
4080
2404
|
export const EnquiriesApiFp = function(configuration?: Configuration) {
|
|
4081
2405
|
const localVarAxiosParamCreator = EnquiriesApiAxiosParamCreator(configuration)
|
|
@@ -4165,7 +2489,6 @@ export const EnquiriesApiFp = function(configuration?: Configuration) {
|
|
|
4165
2489
|
|
|
4166
2490
|
/**
|
|
4167
2491
|
* EnquiriesApi - factory interface
|
|
4168
|
-
* @export
|
|
4169
2492
|
*/
|
|
4170
2493
|
export const EnquiriesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
4171
2494
|
const localVarFp = EnquiriesApiFp(configuration)
|
|
@@ -4225,184 +2548,131 @@ export const EnquiriesApiFactory = function (configuration?: Configuration, base
|
|
|
4225
2548
|
|
|
4226
2549
|
/**
|
|
4227
2550
|
* Request parameters for createChatChannel operation in EnquiriesApi.
|
|
4228
|
-
* @export
|
|
4229
|
-
* @interface EnquiriesApiCreateChatChannelRequest
|
|
4230
2551
|
*/
|
|
4231
2552
|
export interface EnquiriesApiCreateChatChannelRequest {
|
|
4232
2553
|
/**
|
|
4233
2554
|
* Project unique identifier
|
|
4234
|
-
* @type {string}
|
|
4235
|
-
* @memberof EnquiriesApiCreateChatChannel
|
|
4236
2555
|
*/
|
|
4237
2556
|
readonly project: string
|
|
4238
2557
|
|
|
4239
2558
|
/**
|
|
4240
2559
|
* The platform identifier
|
|
4241
|
-
* @type {string}
|
|
4242
|
-
* @memberof EnquiriesApiCreateChatChannel
|
|
4243
2560
|
*/
|
|
4244
2561
|
readonly platformId: string
|
|
4245
2562
|
|
|
4246
2563
|
/**
|
|
4247
2564
|
* The enquiry identifier
|
|
4248
|
-
* @type {string}
|
|
4249
|
-
* @memberof EnquiriesApiCreateChatChannel
|
|
4250
2565
|
*/
|
|
4251
2566
|
readonly enquiryId: string
|
|
4252
2567
|
}
|
|
4253
2568
|
|
|
4254
2569
|
/**
|
|
4255
2570
|
* Request parameters for getCustomerEnquiry operation in EnquiriesApi.
|
|
4256
|
-
* @export
|
|
4257
|
-
* @interface EnquiriesApiGetCustomerEnquiryRequest
|
|
4258
2571
|
*/
|
|
4259
2572
|
export interface EnquiriesApiGetCustomerEnquiryRequest {
|
|
4260
2573
|
/**
|
|
4261
2574
|
* Project unique identifier
|
|
4262
|
-
* @type {string}
|
|
4263
|
-
* @memberof EnquiriesApiGetCustomerEnquiry
|
|
4264
2575
|
*/
|
|
4265
2576
|
readonly project: string
|
|
4266
2577
|
|
|
4267
2578
|
/**
|
|
4268
2579
|
* The platform identifier
|
|
4269
|
-
* @type {string}
|
|
4270
|
-
* @memberof EnquiriesApiGetCustomerEnquiry
|
|
4271
2580
|
*/
|
|
4272
2581
|
readonly platformId: string
|
|
4273
2582
|
|
|
4274
2583
|
/**
|
|
4275
2584
|
* The enquiry identifier
|
|
4276
|
-
* @type {string}
|
|
4277
|
-
* @memberof EnquiriesApiGetCustomerEnquiry
|
|
4278
2585
|
*/
|
|
4279
2586
|
readonly enquiryId: string
|
|
4280
2587
|
}
|
|
4281
2588
|
|
|
4282
2589
|
/**
|
|
4283
2590
|
* Request parameters for listCustomerEnquiries operation in EnquiriesApi.
|
|
4284
|
-
* @export
|
|
4285
|
-
* @interface EnquiriesApiListCustomerEnquiriesRequest
|
|
4286
2591
|
*/
|
|
4287
2592
|
export interface EnquiriesApiListCustomerEnquiriesRequest {
|
|
4288
2593
|
/**
|
|
4289
2594
|
* Project unique identifier
|
|
4290
|
-
* @type {string}
|
|
4291
|
-
* @memberof EnquiriesApiListCustomerEnquiries
|
|
4292
2595
|
*/
|
|
4293
2596
|
readonly project: string
|
|
4294
2597
|
|
|
4295
2598
|
/**
|
|
4296
2599
|
* The platform identifier
|
|
4297
|
-
* @type {string}
|
|
4298
|
-
* @memberof EnquiriesApiListCustomerEnquiries
|
|
4299
2600
|
*/
|
|
4300
2601
|
readonly platformId: string
|
|
4301
2602
|
|
|
4302
2603
|
/**
|
|
4303
2604
|
* Page reference token
|
|
4304
|
-
* @type {number}
|
|
4305
|
-
* @memberof EnquiriesApiListCustomerEnquiries
|
|
4306
2605
|
*/
|
|
4307
2606
|
readonly pageToken?: number
|
|
4308
2607
|
|
|
4309
2608
|
/**
|
|
4310
2609
|
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
4311
|
-
* @type {number}
|
|
4312
|
-
* @memberof EnquiriesApiListCustomerEnquiries
|
|
4313
2610
|
*/
|
|
4314
2611
|
readonly pageSize?: number
|
|
4315
2612
|
|
|
4316
2613
|
/**
|
|
4317
2614
|
* Search term to filter based on enquiry title, content, customer name and customer email.
|
|
4318
|
-
* @type {string}
|
|
4319
|
-
* @memberof EnquiriesApiListCustomerEnquiries
|
|
4320
2615
|
*/
|
|
4321
2616
|
readonly search?: string
|
|
4322
2617
|
|
|
4323
2618
|
/**
|
|
4324
2619
|
* Start of date range to filter by
|
|
4325
|
-
* @type {string}
|
|
4326
|
-
* @memberof EnquiriesApiListCustomerEnquiries
|
|
4327
2620
|
*/
|
|
4328
2621
|
readonly start?: string
|
|
4329
2622
|
|
|
4330
2623
|
/**
|
|
4331
2624
|
* End of date range to filter by
|
|
4332
|
-
* @type {string}
|
|
4333
|
-
* @memberof EnquiriesApiListCustomerEnquiries
|
|
4334
2625
|
*/
|
|
4335
2626
|
readonly end?: string
|
|
4336
2627
|
}
|
|
4337
2628
|
|
|
4338
2629
|
/**
|
|
4339
2630
|
* Request parameters for listCustomerEnquiryLogs operation in EnquiriesApi.
|
|
4340
|
-
* @export
|
|
4341
|
-
* @interface EnquiriesApiListCustomerEnquiryLogsRequest
|
|
4342
2631
|
*/
|
|
4343
2632
|
export interface EnquiriesApiListCustomerEnquiryLogsRequest {
|
|
4344
2633
|
/**
|
|
4345
2634
|
* Project unique identifier
|
|
4346
|
-
* @type {string}
|
|
4347
|
-
* @memberof EnquiriesApiListCustomerEnquiryLogs
|
|
4348
2635
|
*/
|
|
4349
2636
|
readonly project: string
|
|
4350
2637
|
|
|
4351
2638
|
/**
|
|
4352
2639
|
* The platform identifier
|
|
4353
|
-
* @type {string}
|
|
4354
|
-
* @memberof EnquiriesApiListCustomerEnquiryLogs
|
|
4355
2640
|
*/
|
|
4356
2641
|
readonly platformId: string
|
|
4357
2642
|
|
|
4358
2643
|
/**
|
|
4359
2644
|
* The enquiry identifier
|
|
4360
|
-
* @type {string}
|
|
4361
|
-
* @memberof EnquiriesApiListCustomerEnquiryLogs
|
|
4362
2645
|
*/
|
|
4363
2646
|
readonly enquiryId: string
|
|
4364
2647
|
}
|
|
4365
2648
|
|
|
4366
2649
|
/**
|
|
4367
2650
|
* Request parameters for updateCustomerEnquiry operation in EnquiriesApi.
|
|
4368
|
-
* @export
|
|
4369
|
-
* @interface EnquiriesApiUpdateCustomerEnquiryRequest
|
|
4370
2651
|
*/
|
|
4371
2652
|
export interface EnquiriesApiUpdateCustomerEnquiryRequest {
|
|
4372
2653
|
/**
|
|
4373
2654
|
* Project unique identifier
|
|
4374
|
-
* @type {string}
|
|
4375
|
-
* @memberof EnquiriesApiUpdateCustomerEnquiry
|
|
4376
2655
|
*/
|
|
4377
2656
|
readonly project: string
|
|
4378
2657
|
|
|
4379
2658
|
/**
|
|
4380
2659
|
* The platform identifier
|
|
4381
|
-
* @type {string}
|
|
4382
|
-
* @memberof EnquiriesApiUpdateCustomerEnquiry
|
|
4383
2660
|
*/
|
|
4384
2661
|
readonly platformId: string
|
|
4385
2662
|
|
|
4386
2663
|
/**
|
|
4387
2664
|
* The enquiry identifier
|
|
4388
|
-
* @type {string}
|
|
4389
|
-
* @memberof EnquiriesApiUpdateCustomerEnquiry
|
|
4390
2665
|
*/
|
|
4391
2666
|
readonly enquiryId: string
|
|
4392
2667
|
|
|
4393
2668
|
/**
|
|
4394
2669
|
* Enquiry update
|
|
4395
|
-
* @type {UpdateCustomerEnquiryRequest}
|
|
4396
|
-
* @memberof EnquiriesApiUpdateCustomerEnquiry
|
|
4397
2670
|
*/
|
|
4398
2671
|
readonly updateCustomerEnquiryRequest: UpdateCustomerEnquiryRequest
|
|
4399
2672
|
}
|
|
4400
2673
|
|
|
4401
2674
|
/**
|
|
4402
2675
|
* EnquiriesApi - object-oriented interface
|
|
4403
|
-
* @export
|
|
4404
|
-
* @class EnquiriesApi
|
|
4405
|
-
* @extends {BaseAPI}
|
|
4406
2676
|
*/
|
|
4407
2677
|
export class EnquiriesApi extends BaseAPI {
|
|
4408
2678
|
/**
|
|
@@ -4411,7 +2681,6 @@ export class EnquiriesApi extends BaseAPI {
|
|
|
4411
2681
|
* @param {EnquiriesApiCreateChatChannelRequest} requestParameters Request parameters.
|
|
4412
2682
|
* @param {*} [options] Override http request option.
|
|
4413
2683
|
* @throws {RequiredError}
|
|
4414
|
-
* @memberof EnquiriesApi
|
|
4415
2684
|
*/
|
|
4416
2685
|
public createChatChannel(requestParameters: EnquiriesApiCreateChatChannelRequest, options?: RawAxiosRequestConfig) {
|
|
4417
2686
|
return EnquiriesApiFp(this.configuration).createChatChannel(requestParameters.project, requestParameters.platformId, requestParameters.enquiryId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4423,7 +2692,6 @@ export class EnquiriesApi extends BaseAPI {
|
|
|
4423
2692
|
* @param {EnquiriesApiGetCustomerEnquiryRequest} requestParameters Request parameters.
|
|
4424
2693
|
* @param {*} [options] Override http request option.
|
|
4425
2694
|
* @throws {RequiredError}
|
|
4426
|
-
* @memberof EnquiriesApi
|
|
4427
2695
|
*/
|
|
4428
2696
|
public getCustomerEnquiry(requestParameters: EnquiriesApiGetCustomerEnquiryRequest, options?: RawAxiosRequestConfig) {
|
|
4429
2697
|
return EnquiriesApiFp(this.configuration).getCustomerEnquiry(requestParameters.project, requestParameters.platformId, requestParameters.enquiryId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4435,7 +2703,6 @@ export class EnquiriesApi extends BaseAPI {
|
|
|
4435
2703
|
* @param {EnquiriesApiListCustomerEnquiriesRequest} requestParameters Request parameters.
|
|
4436
2704
|
* @param {*} [options] Override http request option.
|
|
4437
2705
|
* @throws {RequiredError}
|
|
4438
|
-
* @memberof EnquiriesApi
|
|
4439
2706
|
*/
|
|
4440
2707
|
public listCustomerEnquiries(requestParameters: EnquiriesApiListCustomerEnquiriesRequest, options?: RawAxiosRequestConfig) {
|
|
4441
2708
|
return EnquiriesApiFp(this.configuration).listCustomerEnquiries(requestParameters.project, requestParameters.platformId, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.start, requestParameters.end, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4447,7 +2714,6 @@ export class EnquiriesApi extends BaseAPI {
|
|
|
4447
2714
|
* @param {EnquiriesApiListCustomerEnquiryLogsRequest} requestParameters Request parameters.
|
|
4448
2715
|
* @param {*} [options] Override http request option.
|
|
4449
2716
|
* @throws {RequiredError}
|
|
4450
|
-
* @memberof EnquiriesApi
|
|
4451
2717
|
*/
|
|
4452
2718
|
public listCustomerEnquiryLogs(requestParameters: EnquiriesApiListCustomerEnquiryLogsRequest, options?: RawAxiosRequestConfig) {
|
|
4453
2719
|
return EnquiriesApiFp(this.configuration).listCustomerEnquiryLogs(requestParameters.project, requestParameters.platformId, requestParameters.enquiryId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4459,7 +2725,6 @@ export class EnquiriesApi extends BaseAPI {
|
|
|
4459
2725
|
* @param {EnquiriesApiUpdateCustomerEnquiryRequest} requestParameters Request parameters.
|
|
4460
2726
|
* @param {*} [options] Override http request option.
|
|
4461
2727
|
* @throws {RequiredError}
|
|
4462
|
-
* @memberof EnquiriesApi
|
|
4463
2728
|
*/
|
|
4464
2729
|
public updateCustomerEnquiry(requestParameters: EnquiriesApiUpdateCustomerEnquiryRequest, options?: RawAxiosRequestConfig) {
|
|
4465
2730
|
return EnquiriesApiFp(this.configuration).updateCustomerEnquiry(requestParameters.project, requestParameters.platformId, requestParameters.enquiryId, requestParameters.updateCustomerEnquiryRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4470,7 +2735,6 @@ export class EnquiriesApi extends BaseAPI {
|
|
|
4470
2735
|
|
|
4471
2736
|
/**
|
|
4472
2737
|
* OrdersApi - axios parameter creator
|
|
4473
|
-
* @export
|
|
4474
2738
|
*/
|
|
4475
2739
|
export const OrdersApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
4476
2740
|
return {
|
|
@@ -5238,7 +3502,6 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
5238
3502
|
|
|
5239
3503
|
/**
|
|
5240
3504
|
* OrdersApi - functional programming interface
|
|
5241
|
-
* @export
|
|
5242
3505
|
*/
|
|
5243
3506
|
export const OrdersApiFp = function(configuration?: Configuration) {
|
|
5244
3507
|
const localVarAxiosParamCreator = OrdersApiAxiosParamCreator(configuration)
|
|
@@ -5456,7 +3719,6 @@ export const OrdersApiFp = function(configuration?: Configuration) {
|
|
|
5456
3719
|
|
|
5457
3720
|
/**
|
|
5458
3721
|
* OrdersApi - factory interface
|
|
5459
|
-
* @export
|
|
5460
3722
|
*/
|
|
5461
3723
|
export const OrdersApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
5462
3724
|
const localVarFp = OrdersApiFp(configuration)
|
|
@@ -5596,464 +3858,328 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
5596
3858
|
|
|
5597
3859
|
/**
|
|
5598
3860
|
* Request parameters for amendOrder operation in OrdersApi.
|
|
5599
|
-
* @export
|
|
5600
|
-
* @interface OrdersApiAmendOrderRequest
|
|
5601
3861
|
*/
|
|
5602
3862
|
export interface OrdersApiAmendOrderRequest {
|
|
5603
3863
|
/**
|
|
5604
3864
|
* Project unique identifier
|
|
5605
|
-
* @type {string}
|
|
5606
|
-
* @memberof OrdersApiAmendOrder
|
|
5607
3865
|
*/
|
|
5608
3866
|
readonly project: string
|
|
5609
3867
|
|
|
5610
3868
|
/**
|
|
5611
3869
|
* The platform identifier
|
|
5612
|
-
* @type {string}
|
|
5613
|
-
* @memberof OrdersApiAmendOrder
|
|
5614
3870
|
*/
|
|
5615
3871
|
readonly platformId: string
|
|
5616
3872
|
|
|
5617
3873
|
/**
|
|
5618
3874
|
* The order identifier
|
|
5619
|
-
* @type {string}
|
|
5620
|
-
* @memberof OrdersApiAmendOrder
|
|
5621
3875
|
*/
|
|
5622
3876
|
readonly orderId: string
|
|
5623
3877
|
|
|
5624
3878
|
/**
|
|
5625
3879
|
* AmendOrder schema
|
|
5626
|
-
* @type {AmendOrderRequest}
|
|
5627
|
-
* @memberof OrdersApiAmendOrder
|
|
5628
3880
|
*/
|
|
5629
3881
|
readonly amendOrderRequest: AmendOrderRequest
|
|
5630
3882
|
}
|
|
5631
3883
|
|
|
5632
3884
|
/**
|
|
5633
3885
|
* Request parameters for confirmOrder operation in OrdersApi.
|
|
5634
|
-
* @export
|
|
5635
|
-
* @interface OrdersApiConfirmOrderRequest
|
|
5636
3886
|
*/
|
|
5637
3887
|
export interface OrdersApiConfirmOrderRequest {
|
|
5638
3888
|
/**
|
|
5639
3889
|
* Project unique identifier
|
|
5640
|
-
* @type {string}
|
|
5641
|
-
* @memberof OrdersApiConfirmOrder
|
|
5642
3890
|
*/
|
|
5643
3891
|
readonly project: string
|
|
5644
3892
|
|
|
5645
3893
|
/**
|
|
5646
3894
|
* The platform identifier
|
|
5647
|
-
* @type {string}
|
|
5648
|
-
* @memberof OrdersApiConfirmOrder
|
|
5649
3895
|
*/
|
|
5650
3896
|
readonly platformId: string
|
|
5651
3897
|
|
|
5652
3898
|
/**
|
|
5653
3899
|
* The order identifier
|
|
5654
|
-
* @type {string}
|
|
5655
|
-
* @memberof OrdersApiConfirmOrder
|
|
5656
3900
|
*/
|
|
5657
3901
|
readonly orderId: string
|
|
5658
3902
|
|
|
5659
3903
|
/**
|
|
5660
3904
|
* ConfirmFulfillment schema
|
|
5661
|
-
* @type {ConfirmOrderRequest}
|
|
5662
|
-
* @memberof OrdersApiConfirmOrder
|
|
5663
3905
|
*/
|
|
5664
3906
|
readonly confirmOrderRequest: ConfirmOrderRequest
|
|
5665
3907
|
}
|
|
5666
3908
|
|
|
5667
3909
|
/**
|
|
5668
3910
|
* Request parameters for createOrder operation in OrdersApi.
|
|
5669
|
-
* @export
|
|
5670
|
-
* @interface OrdersApiCreateOrderRequest
|
|
5671
3911
|
*/
|
|
5672
3912
|
export interface OrdersApiCreateOrderRequest {
|
|
5673
3913
|
/**
|
|
5674
3914
|
* Project unique identifier
|
|
5675
|
-
* @type {string}
|
|
5676
|
-
* @memberof OrdersApiCreateOrder
|
|
5677
3915
|
*/
|
|
5678
3916
|
readonly project: string
|
|
5679
3917
|
|
|
5680
3918
|
/**
|
|
5681
3919
|
* The platform identifier
|
|
5682
|
-
* @type {string}
|
|
5683
|
-
* @memberof OrdersApiCreateOrder
|
|
5684
3920
|
*/
|
|
5685
3921
|
readonly platformId: string
|
|
5686
3922
|
|
|
5687
3923
|
/**
|
|
5688
3924
|
* Create Order schema
|
|
5689
|
-
* @type {CreateOrder}
|
|
5690
|
-
* @memberof OrdersApiCreateOrder
|
|
5691
3925
|
*/
|
|
5692
3926
|
readonly createOrder: CreateOrder
|
|
5693
3927
|
}
|
|
5694
3928
|
|
|
5695
3929
|
/**
|
|
5696
3930
|
* Request parameters for exportOrders operation in OrdersApi.
|
|
5697
|
-
* @export
|
|
5698
|
-
* @interface OrdersApiExportOrdersRequest
|
|
5699
3931
|
*/
|
|
5700
3932
|
export interface OrdersApiExportOrdersRequest {
|
|
5701
3933
|
/**
|
|
5702
3934
|
* Project unique identifier
|
|
5703
|
-
* @type {string}
|
|
5704
|
-
* @memberof OrdersApiExportOrders
|
|
5705
3935
|
*/
|
|
5706
3936
|
readonly project: string
|
|
5707
3937
|
|
|
5708
3938
|
/**
|
|
5709
3939
|
* The platform identifier
|
|
5710
|
-
* @type {string}
|
|
5711
|
-
* @memberof OrdersApiExportOrders
|
|
5712
3940
|
*/
|
|
5713
3941
|
readonly platformId: string
|
|
5714
3942
|
|
|
5715
3943
|
/**
|
|
5716
3944
|
* Start of date range to filter by when orders were placed
|
|
5717
|
-
* @type {string}
|
|
5718
|
-
* @memberof OrdersApiExportOrders
|
|
5719
3945
|
*/
|
|
5720
3946
|
readonly start: string
|
|
5721
3947
|
|
|
5722
3948
|
/**
|
|
5723
3949
|
* End of date range to filter when orders were placed
|
|
5724
|
-
* @type {string}
|
|
5725
|
-
* @memberof OrdersApiExportOrders
|
|
5726
3950
|
*/
|
|
5727
3951
|
readonly end?: string
|
|
5728
3952
|
|
|
5729
3953
|
/**
|
|
5730
3954
|
* Search term to filter based on order reference, customer name and email
|
|
5731
|
-
* @type {string}
|
|
5732
|
-
* @memberof OrdersApiExportOrders
|
|
5733
3955
|
*/
|
|
5734
3956
|
readonly search?: string
|
|
5735
3957
|
}
|
|
5736
3958
|
|
|
5737
3959
|
/**
|
|
5738
3960
|
* Request parameters for getFulfillment operation in OrdersApi.
|
|
5739
|
-
* @export
|
|
5740
|
-
* @interface OrdersApiGetFulfillmentRequest
|
|
5741
3961
|
*/
|
|
5742
3962
|
export interface OrdersApiGetFulfillmentRequest {
|
|
5743
3963
|
/**
|
|
5744
3964
|
* Project unique identifier
|
|
5745
|
-
* @type {string}
|
|
5746
|
-
* @memberof OrdersApiGetFulfillment
|
|
5747
3965
|
*/
|
|
5748
3966
|
readonly project: string
|
|
5749
3967
|
|
|
5750
3968
|
/**
|
|
5751
3969
|
* The platform identifier
|
|
5752
|
-
* @type {string}
|
|
5753
|
-
* @memberof OrdersApiGetFulfillment
|
|
5754
3970
|
*/
|
|
5755
3971
|
readonly platformId: string
|
|
5756
3972
|
|
|
5757
3973
|
/**
|
|
5758
3974
|
* The fulfillment identifier
|
|
5759
|
-
* @type {string}
|
|
5760
|
-
* @memberof OrdersApiGetFulfillment
|
|
5761
3975
|
*/
|
|
5762
3976
|
readonly fulfillmentId: string
|
|
5763
3977
|
}
|
|
5764
3978
|
|
|
5765
3979
|
/**
|
|
5766
3980
|
* Request parameters for getOrder operation in OrdersApi.
|
|
5767
|
-
* @export
|
|
5768
|
-
* @interface OrdersApiGetOrderRequest
|
|
5769
3981
|
*/
|
|
5770
3982
|
export interface OrdersApiGetOrderRequest {
|
|
5771
3983
|
/**
|
|
5772
3984
|
* Project unique identifier
|
|
5773
|
-
* @type {string}
|
|
5774
|
-
* @memberof OrdersApiGetOrder
|
|
5775
3985
|
*/
|
|
5776
3986
|
readonly project: string
|
|
5777
3987
|
|
|
5778
3988
|
/**
|
|
5779
3989
|
* The platform identifier
|
|
5780
|
-
* @type {string}
|
|
5781
|
-
* @memberof OrdersApiGetOrder
|
|
5782
3990
|
*/
|
|
5783
3991
|
readonly platformId: string
|
|
5784
3992
|
|
|
5785
3993
|
/**
|
|
5786
3994
|
* The order identifier
|
|
5787
|
-
* @type {string}
|
|
5788
|
-
* @memberof OrdersApiGetOrder
|
|
5789
3995
|
*/
|
|
5790
3996
|
readonly orderId: string
|
|
5791
3997
|
}
|
|
5792
3998
|
|
|
5793
3999
|
/**
|
|
5794
4000
|
* Request parameters for getOrderReceipt operation in OrdersApi.
|
|
5795
|
-
* @export
|
|
5796
|
-
* @interface OrdersApiGetOrderReceiptRequest
|
|
5797
4001
|
*/
|
|
5798
4002
|
export interface OrdersApiGetOrderReceiptRequest {
|
|
5799
4003
|
/**
|
|
5800
4004
|
* Project unique identifier
|
|
5801
|
-
* @type {string}
|
|
5802
|
-
* @memberof OrdersApiGetOrderReceipt
|
|
5803
4005
|
*/
|
|
5804
4006
|
readonly project: string
|
|
5805
4007
|
|
|
5806
4008
|
/**
|
|
5807
4009
|
* The platform identifier
|
|
5808
|
-
* @type {string}
|
|
5809
|
-
* @memberof OrdersApiGetOrderReceipt
|
|
5810
4010
|
*/
|
|
5811
4011
|
readonly platformId: string
|
|
5812
4012
|
|
|
5813
4013
|
/**
|
|
5814
4014
|
* The order identifier
|
|
5815
|
-
* @type {string}
|
|
5816
|
-
* @memberof OrdersApiGetOrderReceipt
|
|
5817
4015
|
*/
|
|
5818
4016
|
readonly orderId: string
|
|
5819
4017
|
}
|
|
5820
4018
|
|
|
5821
4019
|
/**
|
|
5822
4020
|
* Request parameters for listAvailableFulfillers operation in OrdersApi.
|
|
5823
|
-
* @export
|
|
5824
|
-
* @interface OrdersApiListAvailableFulfillersRequest
|
|
5825
4021
|
*/
|
|
5826
4022
|
export interface OrdersApiListAvailableFulfillersRequest {
|
|
5827
4023
|
/**
|
|
5828
4024
|
* Project unique identifier
|
|
5829
|
-
* @type {string}
|
|
5830
|
-
* @memberof OrdersApiListAvailableFulfillers
|
|
5831
4025
|
*/
|
|
5832
4026
|
readonly project: string
|
|
5833
4027
|
|
|
5834
4028
|
/**
|
|
5835
4029
|
* The platform identifier
|
|
5836
|
-
* @type {string}
|
|
5837
|
-
* @memberof OrdersApiListAvailableFulfillers
|
|
5838
4030
|
*/
|
|
5839
4031
|
readonly platformId: string
|
|
5840
4032
|
|
|
5841
4033
|
/**
|
|
5842
4034
|
* The fulfillment identifier
|
|
5843
|
-
* @type {string}
|
|
5844
|
-
* @memberof OrdersApiListAvailableFulfillers
|
|
5845
4035
|
*/
|
|
5846
4036
|
readonly fulfillmentId: string
|
|
5847
4037
|
}
|
|
5848
4038
|
|
|
5849
4039
|
/**
|
|
5850
4040
|
* Request parameters for listOrders operation in OrdersApi.
|
|
5851
|
-
* @export
|
|
5852
|
-
* @interface OrdersApiListOrdersRequest
|
|
5853
4041
|
*/
|
|
5854
4042
|
export interface OrdersApiListOrdersRequest {
|
|
5855
4043
|
/**
|
|
5856
4044
|
* Project unique identifier
|
|
5857
|
-
* @type {string}
|
|
5858
|
-
* @memberof OrdersApiListOrders
|
|
5859
4045
|
*/
|
|
5860
4046
|
readonly project: string
|
|
5861
4047
|
|
|
5862
4048
|
/**
|
|
5863
4049
|
* The platform identifier
|
|
5864
|
-
* @type {string}
|
|
5865
|
-
* @memberof OrdersApiListOrders
|
|
5866
4050
|
*/
|
|
5867
4051
|
readonly platformId: string
|
|
5868
4052
|
|
|
5869
4053
|
/**
|
|
5870
4054
|
* Page reference token
|
|
5871
|
-
* @type {number}
|
|
5872
|
-
* @memberof OrdersApiListOrders
|
|
5873
4055
|
*/
|
|
5874
4056
|
readonly pageToken?: number
|
|
5875
4057
|
|
|
5876
4058
|
/**
|
|
5877
4059
|
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
5878
|
-
* @type {number}
|
|
5879
|
-
* @memberof OrdersApiListOrders
|
|
5880
4060
|
*/
|
|
5881
4061
|
readonly pageSize?: number
|
|
5882
4062
|
|
|
5883
4063
|
/**
|
|
5884
4064
|
* Search term to filter based on order reference, customer name and email
|
|
5885
|
-
* @type {string}
|
|
5886
|
-
* @memberof OrdersApiListOrders
|
|
5887
4065
|
*/
|
|
5888
4066
|
readonly search?: string
|
|
5889
4067
|
|
|
5890
4068
|
/**
|
|
5891
4069
|
* Start of date range to filter when orders were placed
|
|
5892
|
-
* @type {string}
|
|
5893
|
-
* @memberof OrdersApiListOrders
|
|
5894
4070
|
*/
|
|
5895
4071
|
readonly start?: string
|
|
5896
4072
|
|
|
5897
4073
|
/**
|
|
5898
4074
|
* End of date range to filter when orders were placed
|
|
5899
|
-
* @type {string}
|
|
5900
|
-
* @memberof OrdersApiListOrders
|
|
5901
4075
|
*/
|
|
5902
4076
|
readonly end?: string
|
|
5903
4077
|
|
|
5904
4078
|
/**
|
|
5905
4079
|
* Specifies the type of date range filter to apply. Determines which date field the `start` and `end` fields should query.
|
|
5906
|
-
* @type {'createdAt' | 'updatedAt' | 'statusChangedAt'}
|
|
5907
|
-
* @memberof OrdersApiListOrders
|
|
5908
4080
|
*/
|
|
5909
4081
|
readonly dateFilterType?: ListOrdersDateFilterTypeEnum
|
|
5910
4082
|
|
|
5911
4083
|
/**
|
|
5912
4084
|
* The maximum value of the order
|
|
5913
|
-
* @type {number}
|
|
5914
|
-
* @memberof OrdersApiListOrders
|
|
5915
4085
|
*/
|
|
5916
4086
|
readonly maxOrderTotal?: number
|
|
5917
4087
|
|
|
5918
4088
|
/**
|
|
5919
4089
|
* The minimum value of the order
|
|
5920
|
-
* @type {number}
|
|
5921
|
-
* @memberof OrdersApiListOrders
|
|
5922
4090
|
*/
|
|
5923
4091
|
readonly minOrderTotal?: number
|
|
5924
4092
|
}
|
|
5925
4093
|
|
|
5926
4094
|
/**
|
|
5927
4095
|
* Request parameters for retryPlatformPayment operation in OrdersApi.
|
|
5928
|
-
* @export
|
|
5929
|
-
* @interface OrdersApiRetryPlatformPaymentRequest
|
|
5930
4096
|
*/
|
|
5931
4097
|
export interface OrdersApiRetryPlatformPaymentRequest {
|
|
5932
4098
|
/**
|
|
5933
4099
|
* Project unique identifier
|
|
5934
|
-
* @type {string}
|
|
5935
|
-
* @memberof OrdersApiRetryPlatformPayment
|
|
5936
4100
|
*/
|
|
5937
4101
|
readonly project: string
|
|
5938
4102
|
|
|
5939
4103
|
/**
|
|
5940
4104
|
* The platform identifier
|
|
5941
|
-
* @type {string}
|
|
5942
|
-
* @memberof OrdersApiRetryPlatformPayment
|
|
5943
4105
|
*/
|
|
5944
4106
|
readonly platformId: string
|
|
5945
4107
|
|
|
5946
4108
|
/**
|
|
5947
4109
|
* The order identifier
|
|
5948
|
-
* @type {string}
|
|
5949
|
-
* @memberof OrdersApiRetryPlatformPayment
|
|
5950
4110
|
*/
|
|
5951
4111
|
readonly orderId: string
|
|
5952
4112
|
}
|
|
5953
4113
|
|
|
5954
4114
|
/**
|
|
5955
4115
|
* Request parameters for returnOrder operation in OrdersApi.
|
|
5956
|
-
* @export
|
|
5957
|
-
* @interface OrdersApiReturnOrderRequest
|
|
5958
4116
|
*/
|
|
5959
4117
|
export interface OrdersApiReturnOrderRequest {
|
|
5960
4118
|
/**
|
|
5961
4119
|
* Project unique identifier
|
|
5962
|
-
* @type {string}
|
|
5963
|
-
* @memberof OrdersApiReturnOrder
|
|
5964
4120
|
*/
|
|
5965
4121
|
readonly project: string
|
|
5966
4122
|
|
|
5967
4123
|
/**
|
|
5968
4124
|
* The platform identifier
|
|
5969
|
-
* @type {string}
|
|
5970
|
-
* @memberof OrdersApiReturnOrder
|
|
5971
4125
|
*/
|
|
5972
4126
|
readonly platformId: string
|
|
5973
4127
|
|
|
5974
4128
|
/**
|
|
5975
4129
|
* The order identifier
|
|
5976
|
-
* @type {string}
|
|
5977
|
-
* @memberof OrdersApiReturnOrder
|
|
5978
4130
|
*/
|
|
5979
4131
|
readonly orderId: string
|
|
5980
4132
|
|
|
5981
4133
|
/**
|
|
5982
4134
|
* ReturnOrder schema
|
|
5983
|
-
* @type {ReturnOrderRequest}
|
|
5984
|
-
* @memberof OrdersApiReturnOrder
|
|
5985
4135
|
*/
|
|
5986
4136
|
readonly returnOrderRequest: ReturnOrderRequest
|
|
5987
4137
|
}
|
|
5988
4138
|
|
|
5989
4139
|
/**
|
|
5990
4140
|
* Request parameters for sendOrderReceipt operation in OrdersApi.
|
|
5991
|
-
* @export
|
|
5992
|
-
* @interface OrdersApiSendOrderReceiptRequest
|
|
5993
4141
|
*/
|
|
5994
4142
|
export interface OrdersApiSendOrderReceiptRequest {
|
|
5995
4143
|
/**
|
|
5996
4144
|
* Project unique identifier
|
|
5997
|
-
* @type {string}
|
|
5998
|
-
* @memberof OrdersApiSendOrderReceipt
|
|
5999
4145
|
*/
|
|
6000
4146
|
readonly project: string
|
|
6001
4147
|
|
|
6002
4148
|
/**
|
|
6003
4149
|
* The platform identifier
|
|
6004
|
-
* @type {string}
|
|
6005
|
-
* @memberof OrdersApiSendOrderReceipt
|
|
6006
4150
|
*/
|
|
6007
4151
|
readonly platformId: string
|
|
6008
4152
|
|
|
6009
4153
|
/**
|
|
6010
4154
|
* The order identifier
|
|
6011
|
-
* @type {string}
|
|
6012
|
-
* @memberof OrdersApiSendOrderReceipt
|
|
6013
4155
|
*/
|
|
6014
4156
|
readonly orderId: string
|
|
6015
4157
|
}
|
|
6016
4158
|
|
|
6017
4159
|
/**
|
|
6018
4160
|
* Request parameters for updateFulfillment operation in OrdersApi.
|
|
6019
|
-
* @export
|
|
6020
|
-
* @interface OrdersApiUpdateFulfillmentRequest
|
|
6021
4161
|
*/
|
|
6022
4162
|
export interface OrdersApiUpdateFulfillmentRequest {
|
|
6023
4163
|
/**
|
|
6024
4164
|
* Project unique identifier
|
|
6025
|
-
* @type {string}
|
|
6026
|
-
* @memberof OrdersApiUpdateFulfillment
|
|
6027
4165
|
*/
|
|
6028
4166
|
readonly project: string
|
|
6029
4167
|
|
|
6030
4168
|
/**
|
|
6031
4169
|
* The platform identifier
|
|
6032
|
-
* @type {string}
|
|
6033
|
-
* @memberof OrdersApiUpdateFulfillment
|
|
6034
4170
|
*/
|
|
6035
4171
|
readonly platformId: string
|
|
6036
4172
|
|
|
6037
4173
|
/**
|
|
6038
4174
|
* The fulfillment identifier
|
|
6039
|
-
* @type {string}
|
|
6040
|
-
* @memberof OrdersApiUpdateFulfillment
|
|
6041
4175
|
*/
|
|
6042
4176
|
readonly fulfillmentId: string
|
|
6043
4177
|
|
|
6044
|
-
/**
|
|
6045
|
-
*
|
|
6046
|
-
* @type {UpdateFulfillmentRequest}
|
|
6047
|
-
* @memberof OrdersApiUpdateFulfillment
|
|
6048
|
-
*/
|
|
6049
4178
|
readonly updateFulfillmentRequest: UpdateFulfillmentRequest
|
|
6050
4179
|
}
|
|
6051
4180
|
|
|
6052
4181
|
/**
|
|
6053
4182
|
* OrdersApi - object-oriented interface
|
|
6054
|
-
* @export
|
|
6055
|
-
* @class OrdersApi
|
|
6056
|
-
* @extends {BaseAPI}
|
|
6057
4183
|
*/
|
|
6058
4184
|
export class OrdersApi extends BaseAPI {
|
|
6059
4185
|
/**
|
|
@@ -6062,7 +4188,6 @@ export class OrdersApi extends BaseAPI {
|
|
|
6062
4188
|
* @param {OrdersApiAmendOrderRequest} requestParameters Request parameters.
|
|
6063
4189
|
* @param {*} [options] Override http request option.
|
|
6064
4190
|
* @throws {RequiredError}
|
|
6065
|
-
* @memberof OrdersApi
|
|
6066
4191
|
*/
|
|
6067
4192
|
public amendOrder(requestParameters: OrdersApiAmendOrderRequest, options?: RawAxiosRequestConfig) {
|
|
6068
4193
|
return OrdersApiFp(this.configuration).amendOrder(requestParameters.project, requestParameters.platformId, requestParameters.orderId, requestParameters.amendOrderRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -6074,7 +4199,6 @@ export class OrdersApi extends BaseAPI {
|
|
|
6074
4199
|
* @param {OrdersApiConfirmOrderRequest} requestParameters Request parameters.
|
|
6075
4200
|
* @param {*} [options] Override http request option.
|
|
6076
4201
|
* @throws {RequiredError}
|
|
6077
|
-
* @memberof OrdersApi
|
|
6078
4202
|
*/
|
|
6079
4203
|
public confirmOrder(requestParameters: OrdersApiConfirmOrderRequest, options?: RawAxiosRequestConfig) {
|
|
6080
4204
|
return OrdersApiFp(this.configuration).confirmOrder(requestParameters.project, requestParameters.platformId, requestParameters.orderId, requestParameters.confirmOrderRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -6086,7 +4210,6 @@ export class OrdersApi extends BaseAPI {
|
|
|
6086
4210
|
* @param {OrdersApiCreateOrderRequest} requestParameters Request parameters.
|
|
6087
4211
|
* @param {*} [options] Override http request option.
|
|
6088
4212
|
* @throws {RequiredError}
|
|
6089
|
-
* @memberof OrdersApi
|
|
6090
4213
|
*/
|
|
6091
4214
|
public createOrder(requestParameters: OrdersApiCreateOrderRequest, options?: RawAxiosRequestConfig) {
|
|
6092
4215
|
return OrdersApiFp(this.configuration).createOrder(requestParameters.project, requestParameters.platformId, requestParameters.createOrder, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -6098,7 +4221,6 @@ export class OrdersApi extends BaseAPI {
|
|
|
6098
4221
|
* @param {OrdersApiExportOrdersRequest} requestParameters Request parameters.
|
|
6099
4222
|
* @param {*} [options] Override http request option.
|
|
6100
4223
|
* @throws {RequiredError}
|
|
6101
|
-
* @memberof OrdersApi
|
|
6102
4224
|
*/
|
|
6103
4225
|
public exportOrders(requestParameters: OrdersApiExportOrdersRequest, options?: RawAxiosRequestConfig) {
|
|
6104
4226
|
return OrdersApiFp(this.configuration).exportOrders(requestParameters.project, requestParameters.platformId, requestParameters.start, requestParameters.end, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -6110,7 +4232,6 @@ export class OrdersApi extends BaseAPI {
|
|
|
6110
4232
|
* @param {OrdersApiGetFulfillmentRequest} requestParameters Request parameters.
|
|
6111
4233
|
* @param {*} [options] Override http request option.
|
|
6112
4234
|
* @throws {RequiredError}
|
|
6113
|
-
* @memberof OrdersApi
|
|
6114
4235
|
*/
|
|
6115
4236
|
public getFulfillment(requestParameters: OrdersApiGetFulfillmentRequest, options?: RawAxiosRequestConfig) {
|
|
6116
4237
|
return OrdersApiFp(this.configuration).getFulfillment(requestParameters.project, requestParameters.platformId, requestParameters.fulfillmentId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -6122,7 +4243,6 @@ export class OrdersApi extends BaseAPI {
|
|
|
6122
4243
|
* @param {OrdersApiGetOrderRequest} requestParameters Request parameters.
|
|
6123
4244
|
* @param {*} [options] Override http request option.
|
|
6124
4245
|
* @throws {RequiredError}
|
|
6125
|
-
* @memberof OrdersApi
|
|
6126
4246
|
*/
|
|
6127
4247
|
public getOrder(requestParameters: OrdersApiGetOrderRequest, options?: RawAxiosRequestConfig) {
|
|
6128
4248
|
return OrdersApiFp(this.configuration).getOrder(requestParameters.project, requestParameters.platformId, requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -6134,7 +4254,6 @@ export class OrdersApi extends BaseAPI {
|
|
|
6134
4254
|
* @param {OrdersApiGetOrderReceiptRequest} requestParameters Request parameters.
|
|
6135
4255
|
* @param {*} [options] Override http request option.
|
|
6136
4256
|
* @throws {RequiredError}
|
|
6137
|
-
* @memberof OrdersApi
|
|
6138
4257
|
*/
|
|
6139
4258
|
public getOrderReceipt(requestParameters: OrdersApiGetOrderReceiptRequest, options?: RawAxiosRequestConfig) {
|
|
6140
4259
|
return OrdersApiFp(this.configuration).getOrderReceipt(requestParameters.project, requestParameters.platformId, requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -6146,7 +4265,6 @@ export class OrdersApi extends BaseAPI {
|
|
|
6146
4265
|
* @param {OrdersApiListAvailableFulfillersRequest} requestParameters Request parameters.
|
|
6147
4266
|
* @param {*} [options] Override http request option.
|
|
6148
4267
|
* @throws {RequiredError}
|
|
6149
|
-
* @memberof OrdersApi
|
|
6150
4268
|
*/
|
|
6151
4269
|
public listAvailableFulfillers(requestParameters: OrdersApiListAvailableFulfillersRequest, options?: RawAxiosRequestConfig) {
|
|
6152
4270
|
return OrdersApiFp(this.configuration).listAvailableFulfillers(requestParameters.project, requestParameters.platformId, requestParameters.fulfillmentId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -6158,7 +4276,6 @@ export class OrdersApi extends BaseAPI {
|
|
|
6158
4276
|
* @param {OrdersApiListOrdersRequest} requestParameters Request parameters.
|
|
6159
4277
|
* @param {*} [options] Override http request option.
|
|
6160
4278
|
* @throws {RequiredError}
|
|
6161
|
-
* @memberof OrdersApi
|
|
6162
4279
|
*/
|
|
6163
4280
|
public listOrders(requestParameters: OrdersApiListOrdersRequest, options?: RawAxiosRequestConfig) {
|
|
6164
4281
|
return OrdersApiFp(this.configuration).listOrders(requestParameters.project, requestParameters.platformId, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.start, requestParameters.end, requestParameters.dateFilterType, requestParameters.maxOrderTotal, requestParameters.minOrderTotal, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -6170,7 +4287,6 @@ export class OrdersApi extends BaseAPI {
|
|
|
6170
4287
|
* @param {OrdersApiRetryPlatformPaymentRequest} requestParameters Request parameters.
|
|
6171
4288
|
* @param {*} [options] Override http request option.
|
|
6172
4289
|
* @throws {RequiredError}
|
|
6173
|
-
* @memberof OrdersApi
|
|
6174
4290
|
*/
|
|
6175
4291
|
public retryPlatformPayment(requestParameters: OrdersApiRetryPlatformPaymentRequest, options?: RawAxiosRequestConfig) {
|
|
6176
4292
|
return OrdersApiFp(this.configuration).retryPlatformPayment(requestParameters.project, requestParameters.platformId, requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -6182,7 +4298,6 @@ export class OrdersApi extends BaseAPI {
|
|
|
6182
4298
|
* @param {OrdersApiReturnOrderRequest} requestParameters Request parameters.
|
|
6183
4299
|
* @param {*} [options] Override http request option.
|
|
6184
4300
|
* @throws {RequiredError}
|
|
6185
|
-
* @memberof OrdersApi
|
|
6186
4301
|
*/
|
|
6187
4302
|
public returnOrder(requestParameters: OrdersApiReturnOrderRequest, options?: RawAxiosRequestConfig) {
|
|
6188
4303
|
return OrdersApiFp(this.configuration).returnOrder(requestParameters.project, requestParameters.platformId, requestParameters.orderId, requestParameters.returnOrderRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -6194,7 +4309,6 @@ export class OrdersApi extends BaseAPI {
|
|
|
6194
4309
|
* @param {OrdersApiSendOrderReceiptRequest} requestParameters Request parameters.
|
|
6195
4310
|
* @param {*} [options] Override http request option.
|
|
6196
4311
|
* @throws {RequiredError}
|
|
6197
|
-
* @memberof OrdersApi
|
|
6198
4312
|
*/
|
|
6199
4313
|
public sendOrderReceipt(requestParameters: OrdersApiSendOrderReceiptRequest, options?: RawAxiosRequestConfig) {
|
|
6200
4314
|
return OrdersApiFp(this.configuration).sendOrderReceipt(requestParameters.project, requestParameters.platformId, requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -6206,16 +4320,12 @@ export class OrdersApi extends BaseAPI {
|
|
|
6206
4320
|
* @param {OrdersApiUpdateFulfillmentRequest} requestParameters Request parameters.
|
|
6207
4321
|
* @param {*} [options] Override http request option.
|
|
6208
4322
|
* @throws {RequiredError}
|
|
6209
|
-
* @memberof OrdersApi
|
|
6210
4323
|
*/
|
|
6211
4324
|
public updateFulfillment(requestParameters: OrdersApiUpdateFulfillmentRequest, options?: RawAxiosRequestConfig) {
|
|
6212
4325
|
return OrdersApiFp(this.configuration).updateFulfillment(requestParameters.project, requestParameters.platformId, requestParameters.fulfillmentId, requestParameters.updateFulfillmentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6213
4326
|
}
|
|
6214
4327
|
}
|
|
6215
4328
|
|
|
6216
|
-
/**
|
|
6217
|
-
* @export
|
|
6218
|
-
*/
|
|
6219
4329
|
export const ListOrdersDateFilterTypeEnum = {
|
|
6220
4330
|
CreatedAt: 'createdAt',
|
|
6221
4331
|
UpdatedAt: 'updatedAt',
|
|
@@ -6226,7 +4336,6 @@ export type ListOrdersDateFilterTypeEnum = typeof ListOrdersDateFilterTypeEnum[k
|
|
|
6226
4336
|
|
|
6227
4337
|
/**
|
|
6228
4338
|
* PaymentApi - axios parameter creator
|
|
6229
|
-
* @export
|
|
6230
4339
|
*/
|
|
6231
4340
|
export const PaymentApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
6232
4341
|
return {
|
|
@@ -6367,7 +4476,6 @@ export const PaymentApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
6367
4476
|
|
|
6368
4477
|
/**
|
|
6369
4478
|
* PaymentApi - functional programming interface
|
|
6370
|
-
* @export
|
|
6371
4479
|
*/
|
|
6372
4480
|
export const PaymentApiFp = function(configuration?: Configuration) {
|
|
6373
4481
|
const localVarAxiosParamCreator = PaymentApiAxiosParamCreator(configuration)
|
|
@@ -6379,7 +4487,7 @@ export const PaymentApiFp = function(configuration?: Configuration) {
|
|
|
6379
4487
|
* @param {*} [options] Override http request option.
|
|
6380
4488
|
* @throws {RequiredError}
|
|
6381
4489
|
*/
|
|
6382
|
-
async authorizeStripe(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
4490
|
+
async authorizeStripe(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthorizeStripe200Response>> {
|
|
6383
4491
|
const localVarAxiosArgs = await localVarAxiosParamCreator.authorizeStripe(project, options);
|
|
6384
4492
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6385
4493
|
const localVarOperationServerBasePath = operationServerMap['PaymentApi.authorizeStripe']?.[localVarOperationServerIndex]?.url;
|
|
@@ -6416,7 +4524,6 @@ export const PaymentApiFp = function(configuration?: Configuration) {
|
|
|
6416
4524
|
|
|
6417
4525
|
/**
|
|
6418
4526
|
* PaymentApi - factory interface
|
|
6419
|
-
* @export
|
|
6420
4527
|
*/
|
|
6421
4528
|
export const PaymentApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
6422
4529
|
const localVarFp = PaymentApiFp(configuration)
|
|
@@ -6428,7 +4535,7 @@ export const PaymentApiFactory = function (configuration?: Configuration, basePa
|
|
|
6428
4535
|
* @param {*} [options] Override http request option.
|
|
6429
4536
|
* @throws {RequiredError}
|
|
6430
4537
|
*/
|
|
6431
|
-
authorizeStripe(requestParameters: PaymentApiAuthorizeStripeRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
4538
|
+
authorizeStripe(requestParameters: PaymentApiAuthorizeStripeRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthorizeStripe200Response> {
|
|
6432
4539
|
return localVarFp.authorizeStripe(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
6433
4540
|
},
|
|
6434
4541
|
/**
|
|
@@ -6456,51 +4563,36 @@ export const PaymentApiFactory = function (configuration?: Configuration, basePa
|
|
|
6456
4563
|
|
|
6457
4564
|
/**
|
|
6458
4565
|
* Request parameters for authorizeStripe operation in PaymentApi.
|
|
6459
|
-
* @export
|
|
6460
|
-
* @interface PaymentApiAuthorizeStripeRequest
|
|
6461
4566
|
*/
|
|
6462
4567
|
export interface PaymentApiAuthorizeStripeRequest {
|
|
6463
4568
|
/**
|
|
6464
4569
|
* Project unique identifier
|
|
6465
|
-
* @type {string}
|
|
6466
|
-
* @memberof PaymentApiAuthorizeStripe
|
|
6467
4570
|
*/
|
|
6468
4571
|
readonly project: string
|
|
6469
4572
|
}
|
|
6470
4573
|
|
|
6471
4574
|
/**
|
|
6472
4575
|
* Request parameters for deauthorizeStripe operation in PaymentApi.
|
|
6473
|
-
* @export
|
|
6474
|
-
* @interface PaymentApiDeauthorizeStripeRequest
|
|
6475
4576
|
*/
|
|
6476
4577
|
export interface PaymentApiDeauthorizeStripeRequest {
|
|
6477
4578
|
/**
|
|
6478
4579
|
* Project unique identifier
|
|
6479
|
-
* @type {string}
|
|
6480
|
-
* @memberof PaymentApiDeauthorizeStripe
|
|
6481
4580
|
*/
|
|
6482
4581
|
readonly project: string
|
|
6483
4582
|
}
|
|
6484
4583
|
|
|
6485
4584
|
/**
|
|
6486
4585
|
* Request parameters for getStripePaymentAccount operation in PaymentApi.
|
|
6487
|
-
* @export
|
|
6488
|
-
* @interface PaymentApiGetStripePaymentAccountRequest
|
|
6489
4586
|
*/
|
|
6490
4587
|
export interface PaymentApiGetStripePaymentAccountRequest {
|
|
6491
4588
|
/**
|
|
6492
4589
|
* Project unique identifier
|
|
6493
|
-
* @type {string}
|
|
6494
|
-
* @memberof PaymentApiGetStripePaymentAccount
|
|
6495
4590
|
*/
|
|
6496
4591
|
readonly project: string
|
|
6497
4592
|
}
|
|
6498
4593
|
|
|
6499
4594
|
/**
|
|
6500
4595
|
* PaymentApi - object-oriented interface
|
|
6501
|
-
* @export
|
|
6502
|
-
* @class PaymentApi
|
|
6503
|
-
* @extends {BaseAPI}
|
|
6504
4596
|
*/
|
|
6505
4597
|
export class PaymentApi extends BaseAPI {
|
|
6506
4598
|
/**
|
|
@@ -6509,7 +4601,6 @@ export class PaymentApi extends BaseAPI {
|
|
|
6509
4601
|
* @param {PaymentApiAuthorizeStripeRequest} requestParameters Request parameters.
|
|
6510
4602
|
* @param {*} [options] Override http request option.
|
|
6511
4603
|
* @throws {RequiredError}
|
|
6512
|
-
* @memberof PaymentApi
|
|
6513
4604
|
*/
|
|
6514
4605
|
public authorizeStripe(requestParameters: PaymentApiAuthorizeStripeRequest, options?: RawAxiosRequestConfig) {
|
|
6515
4606
|
return PaymentApiFp(this.configuration).authorizeStripe(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -6521,7 +4612,6 @@ export class PaymentApi extends BaseAPI {
|
|
|
6521
4612
|
* @param {PaymentApiDeauthorizeStripeRequest} requestParameters Request parameters.
|
|
6522
4613
|
* @param {*} [options] Override http request option.
|
|
6523
4614
|
* @throws {RequiredError}
|
|
6524
|
-
* @memberof PaymentApi
|
|
6525
4615
|
*/
|
|
6526
4616
|
public deauthorizeStripe(requestParameters: PaymentApiDeauthorizeStripeRequest, options?: RawAxiosRequestConfig) {
|
|
6527
4617
|
return PaymentApiFp(this.configuration).deauthorizeStripe(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -6533,7 +4623,6 @@ export class PaymentApi extends BaseAPI {
|
|
|
6533
4623
|
* @param {PaymentApiGetStripePaymentAccountRequest} requestParameters Request parameters.
|
|
6534
4624
|
* @param {*} [options] Override http request option.
|
|
6535
4625
|
* @throws {RequiredError}
|
|
6536
|
-
* @memberof PaymentApi
|
|
6537
4626
|
*/
|
|
6538
4627
|
public getStripePaymentAccount(requestParameters: PaymentApiGetStripePaymentAccountRequest, options?: RawAxiosRequestConfig) {
|
|
6539
4628
|
return PaymentApiFp(this.configuration).getStripePaymentAccount(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -6544,7 +4633,6 @@ export class PaymentApi extends BaseAPI {
|
|
|
6544
4633
|
|
|
6545
4634
|
/**
|
|
6546
4635
|
* PixelsApi - axios parameter creator
|
|
6547
|
-
* @export
|
|
6548
4636
|
*/
|
|
6549
4637
|
export const PixelsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
6550
4638
|
return {
|
|
@@ -6843,7 +4931,6 @@ export const PixelsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
6843
4931
|
|
|
6844
4932
|
/**
|
|
6845
4933
|
* PixelsApi - functional programming interface
|
|
6846
|
-
* @export
|
|
6847
4934
|
*/
|
|
6848
4935
|
export const PixelsApiFp = function(configuration?: Configuration) {
|
|
6849
4936
|
const localVarAxiosParamCreator = PixelsApiAxiosParamCreator(configuration)
|
|
@@ -6934,7 +5021,6 @@ export const PixelsApiFp = function(configuration?: Configuration) {
|
|
|
6934
5021
|
|
|
6935
5022
|
/**
|
|
6936
5023
|
* PixelsApi - factory interface
|
|
6937
|
-
* @export
|
|
6938
5024
|
*/
|
|
6939
5025
|
export const PixelsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
6940
5026
|
const localVarFp = PixelsApiFp(configuration)
|
|
@@ -6994,191 +5080,130 @@ export const PixelsApiFactory = function (configuration?: Configuration, basePat
|
|
|
6994
5080
|
|
|
6995
5081
|
/**
|
|
6996
5082
|
* Request parameters for createPixel operation in PixelsApi.
|
|
6997
|
-
* @export
|
|
6998
|
-
* @interface PixelsApiCreatePixelRequest
|
|
6999
5083
|
*/
|
|
7000
5084
|
export interface PixelsApiCreatePixelRequest {
|
|
7001
5085
|
/**
|
|
7002
5086
|
* Project unique identifier
|
|
7003
|
-
* @type {string}
|
|
7004
|
-
* @memberof PixelsApiCreatePixel
|
|
7005
5087
|
*/
|
|
7006
5088
|
readonly project: string
|
|
7007
5089
|
|
|
7008
5090
|
/**
|
|
7009
5091
|
* The platform identifier
|
|
7010
|
-
* @type {string}
|
|
7011
|
-
* @memberof PixelsApiCreatePixel
|
|
7012
5092
|
*/
|
|
7013
5093
|
readonly platformId: string
|
|
7014
5094
|
|
|
7015
5095
|
/**
|
|
7016
5096
|
* Page reference token
|
|
7017
|
-
* @type {number}
|
|
7018
|
-
* @memberof PixelsApiCreatePixel
|
|
7019
5097
|
*/
|
|
7020
5098
|
readonly pageToken?: number
|
|
7021
5099
|
|
|
7022
5100
|
/**
|
|
7023
5101
|
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
7024
|
-
* @type {number}
|
|
7025
|
-
* @memberof PixelsApiCreatePixel
|
|
7026
5102
|
*/
|
|
7027
5103
|
readonly pageSize?: number
|
|
7028
5104
|
|
|
7029
5105
|
/**
|
|
7030
5106
|
* Search term to filter results
|
|
7031
|
-
* @type {string}
|
|
7032
|
-
* @memberof PixelsApiCreatePixel
|
|
7033
5107
|
*/
|
|
7034
5108
|
readonly search?: string
|
|
7035
5109
|
|
|
7036
|
-
/**
|
|
7037
|
-
*
|
|
7038
|
-
* @type {CreatePixelRequest}
|
|
7039
|
-
* @memberof PixelsApiCreatePixel
|
|
7040
|
-
*/
|
|
7041
5110
|
readonly createPixelRequest?: CreatePixelRequest
|
|
7042
5111
|
}
|
|
7043
5112
|
|
|
7044
5113
|
/**
|
|
7045
5114
|
* Request parameters for deletePixel operation in PixelsApi.
|
|
7046
|
-
* @export
|
|
7047
|
-
* @interface PixelsApiDeletePixelRequest
|
|
7048
5115
|
*/
|
|
7049
5116
|
export interface PixelsApiDeletePixelRequest {
|
|
7050
5117
|
/**
|
|
7051
5118
|
* Project unique identifier
|
|
7052
|
-
* @type {string}
|
|
7053
|
-
* @memberof PixelsApiDeletePixel
|
|
7054
5119
|
*/
|
|
7055
5120
|
readonly project: string
|
|
7056
5121
|
|
|
7057
5122
|
/**
|
|
7058
5123
|
* The platform identifier
|
|
7059
|
-
* @type {string}
|
|
7060
|
-
* @memberof PixelsApiDeletePixel
|
|
7061
5124
|
*/
|
|
7062
5125
|
readonly platformId: string
|
|
7063
5126
|
|
|
7064
5127
|
/**
|
|
7065
5128
|
* The pixel identifier
|
|
7066
|
-
* @type {string}
|
|
7067
|
-
* @memberof PixelsApiDeletePixel
|
|
7068
5129
|
*/
|
|
7069
5130
|
readonly pixelId: string
|
|
7070
5131
|
}
|
|
7071
5132
|
|
|
7072
5133
|
/**
|
|
7073
5134
|
* Request parameters for getPixel operation in PixelsApi.
|
|
7074
|
-
* @export
|
|
7075
|
-
* @interface PixelsApiGetPixelRequest
|
|
7076
5135
|
*/
|
|
7077
5136
|
export interface PixelsApiGetPixelRequest {
|
|
7078
5137
|
/**
|
|
7079
5138
|
* Project unique identifier
|
|
7080
|
-
* @type {string}
|
|
7081
|
-
* @memberof PixelsApiGetPixel
|
|
7082
5139
|
*/
|
|
7083
5140
|
readonly project: string
|
|
7084
5141
|
|
|
7085
5142
|
/**
|
|
7086
5143
|
* The platform identifier
|
|
7087
|
-
* @type {string}
|
|
7088
|
-
* @memberof PixelsApiGetPixel
|
|
7089
5144
|
*/
|
|
7090
5145
|
readonly platformId: string
|
|
7091
5146
|
|
|
7092
5147
|
/**
|
|
7093
5148
|
* The pixel identifier
|
|
7094
|
-
* @type {string}
|
|
7095
|
-
* @memberof PixelsApiGetPixel
|
|
7096
5149
|
*/
|
|
7097
5150
|
readonly pixelId: string
|
|
7098
5151
|
}
|
|
7099
5152
|
|
|
7100
5153
|
/**
|
|
7101
5154
|
* Request parameters for listPixels operation in PixelsApi.
|
|
7102
|
-
* @export
|
|
7103
|
-
* @interface PixelsApiListPixelsRequest
|
|
7104
5155
|
*/
|
|
7105
5156
|
export interface PixelsApiListPixelsRequest {
|
|
7106
5157
|
/**
|
|
7107
5158
|
* Project unique identifier
|
|
7108
|
-
* @type {string}
|
|
7109
|
-
* @memberof PixelsApiListPixels
|
|
7110
5159
|
*/
|
|
7111
5160
|
readonly project: string
|
|
7112
5161
|
|
|
7113
5162
|
/**
|
|
7114
5163
|
* The platform identifier
|
|
7115
|
-
* @type {string}
|
|
7116
|
-
* @memberof PixelsApiListPixels
|
|
7117
5164
|
*/
|
|
7118
5165
|
readonly platformId: string
|
|
7119
5166
|
|
|
7120
5167
|
/**
|
|
7121
5168
|
* Page reference token
|
|
7122
|
-
* @type {number}
|
|
7123
|
-
* @memberof PixelsApiListPixels
|
|
7124
5169
|
*/
|
|
7125
5170
|
readonly pageToken?: number
|
|
7126
5171
|
|
|
7127
5172
|
/**
|
|
7128
5173
|
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
7129
|
-
* @type {number}
|
|
7130
|
-
* @memberof PixelsApiListPixels
|
|
7131
5174
|
*/
|
|
7132
5175
|
readonly pageSize?: number
|
|
7133
5176
|
|
|
7134
5177
|
/**
|
|
7135
5178
|
* Search term to filter results
|
|
7136
|
-
* @type {string}
|
|
7137
|
-
* @memberof PixelsApiListPixels
|
|
7138
5179
|
*/
|
|
7139
5180
|
readonly search?: string
|
|
7140
5181
|
}
|
|
7141
5182
|
|
|
7142
5183
|
/**
|
|
7143
5184
|
* Request parameters for updatePixel operation in PixelsApi.
|
|
7144
|
-
* @export
|
|
7145
|
-
* @interface PixelsApiUpdatePixelRequest
|
|
7146
5185
|
*/
|
|
7147
5186
|
export interface PixelsApiUpdatePixelRequest {
|
|
7148
5187
|
/**
|
|
7149
5188
|
* Project unique identifier
|
|
7150
|
-
* @type {string}
|
|
7151
|
-
* @memberof PixelsApiUpdatePixel
|
|
7152
5189
|
*/
|
|
7153
5190
|
readonly project: string
|
|
7154
5191
|
|
|
7155
5192
|
/**
|
|
7156
5193
|
* The platform identifier
|
|
7157
|
-
* @type {string}
|
|
7158
|
-
* @memberof PixelsApiUpdatePixel
|
|
7159
5194
|
*/
|
|
7160
5195
|
readonly platformId: string
|
|
7161
5196
|
|
|
7162
5197
|
/**
|
|
7163
5198
|
* The pixel identifier
|
|
7164
|
-
* @type {string}
|
|
7165
|
-
* @memberof PixelsApiUpdatePixel
|
|
7166
5199
|
*/
|
|
7167
5200
|
readonly pixelId: string
|
|
7168
5201
|
|
|
7169
|
-
/**
|
|
7170
|
-
*
|
|
7171
|
-
* @type {CreatePixelRequest}
|
|
7172
|
-
* @memberof PixelsApiUpdatePixel
|
|
7173
|
-
*/
|
|
7174
5202
|
readonly createPixelRequest?: CreatePixelRequest
|
|
7175
5203
|
}
|
|
7176
5204
|
|
|
7177
5205
|
/**
|
|
7178
5206
|
* PixelsApi - object-oriented interface
|
|
7179
|
-
* @export
|
|
7180
|
-
* @class PixelsApi
|
|
7181
|
-
* @extends {BaseAPI}
|
|
7182
5207
|
*/
|
|
7183
5208
|
export class PixelsApi extends BaseAPI {
|
|
7184
5209
|
/**
|
|
@@ -7187,7 +5212,6 @@ export class PixelsApi extends BaseAPI {
|
|
|
7187
5212
|
* @param {PixelsApiCreatePixelRequest} requestParameters Request parameters.
|
|
7188
5213
|
* @param {*} [options] Override http request option.
|
|
7189
5214
|
* @throws {RequiredError}
|
|
7190
|
-
* @memberof PixelsApi
|
|
7191
5215
|
*/
|
|
7192
5216
|
public createPixel(requestParameters: PixelsApiCreatePixelRequest, options?: RawAxiosRequestConfig) {
|
|
7193
5217
|
return PixelsApiFp(this.configuration).createPixel(requestParameters.project, requestParameters.platformId, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.createPixelRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -7199,7 +5223,6 @@ export class PixelsApi extends BaseAPI {
|
|
|
7199
5223
|
* @param {PixelsApiDeletePixelRequest} requestParameters Request parameters.
|
|
7200
5224
|
* @param {*} [options] Override http request option.
|
|
7201
5225
|
* @throws {RequiredError}
|
|
7202
|
-
* @memberof PixelsApi
|
|
7203
5226
|
*/
|
|
7204
5227
|
public deletePixel(requestParameters: PixelsApiDeletePixelRequest, options?: RawAxiosRequestConfig) {
|
|
7205
5228
|
return PixelsApiFp(this.configuration).deletePixel(requestParameters.project, requestParameters.platformId, requestParameters.pixelId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -7211,7 +5234,6 @@ export class PixelsApi extends BaseAPI {
|
|
|
7211
5234
|
* @param {PixelsApiGetPixelRequest} requestParameters Request parameters.
|
|
7212
5235
|
* @param {*} [options] Override http request option.
|
|
7213
5236
|
* @throws {RequiredError}
|
|
7214
|
-
* @memberof PixelsApi
|
|
7215
5237
|
*/
|
|
7216
5238
|
public getPixel(requestParameters: PixelsApiGetPixelRequest, options?: RawAxiosRequestConfig) {
|
|
7217
5239
|
return PixelsApiFp(this.configuration).getPixel(requestParameters.project, requestParameters.platformId, requestParameters.pixelId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -7223,7 +5245,6 @@ export class PixelsApi extends BaseAPI {
|
|
|
7223
5245
|
* @param {PixelsApiListPixelsRequest} requestParameters Request parameters.
|
|
7224
5246
|
* @param {*} [options] Override http request option.
|
|
7225
5247
|
* @throws {RequiredError}
|
|
7226
|
-
* @memberof PixelsApi
|
|
7227
5248
|
*/
|
|
7228
5249
|
public listPixels(requestParameters: PixelsApiListPixelsRequest, options?: RawAxiosRequestConfig) {
|
|
7229
5250
|
return PixelsApiFp(this.configuration).listPixels(requestParameters.project, requestParameters.platformId, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -7235,7 +5256,6 @@ export class PixelsApi extends BaseAPI {
|
|
|
7235
5256
|
* @param {PixelsApiUpdatePixelRequest} requestParameters Request parameters.
|
|
7236
5257
|
* @param {*} [options] Override http request option.
|
|
7237
5258
|
* @throws {RequiredError}
|
|
7238
|
-
* @memberof PixelsApi
|
|
7239
5259
|
*/
|
|
7240
5260
|
public updatePixel(requestParameters: PixelsApiUpdatePixelRequest, options?: RawAxiosRequestConfig) {
|
|
7241
5261
|
return PixelsApiFp(this.configuration).updatePixel(requestParameters.project, requestParameters.platformId, requestParameters.pixelId, requestParameters.createPixelRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -7246,7 +5266,6 @@ export class PixelsApi extends BaseAPI {
|
|
|
7246
5266
|
|
|
7247
5267
|
/**
|
|
7248
5268
|
* PlatformApi - axios parameter creator
|
|
7249
|
-
* @export
|
|
7250
5269
|
*/
|
|
7251
5270
|
export const PlatformApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
7252
5271
|
return {
|
|
@@ -7629,7 +5648,6 @@ export const PlatformApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
7629
5648
|
|
|
7630
5649
|
/**
|
|
7631
5650
|
* PlatformApi - functional programming interface
|
|
7632
|
-
* @export
|
|
7633
5651
|
*/
|
|
7634
5652
|
export const PlatformApiFp = function(configuration?: Configuration) {
|
|
7635
5653
|
const localVarAxiosParamCreator = PlatformApiAxiosParamCreator(configuration)
|
|
@@ -7710,7 +5728,7 @@ export const PlatformApiFp = function(configuration?: Configuration) {
|
|
|
7710
5728
|
* @param {*} [options] Override http request option.
|
|
7711
5729
|
* @throws {RequiredError}
|
|
7712
5730
|
*/
|
|
7713
|
-
async listClientDomains(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
5731
|
+
async listClientDomains(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDomains200Response>> {
|
|
7714
5732
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listClientDomains(project, options);
|
|
7715
5733
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7716
5734
|
const localVarOperationServerBasePath = operationServerMap['PlatformApi.listClientDomains']?.[localVarOperationServerIndex]?.url;
|
|
@@ -7723,7 +5741,7 @@ export const PlatformApiFp = function(configuration?: Configuration) {
|
|
|
7723
5741
|
* @param {*} [options] Override http request option.
|
|
7724
5742
|
* @throws {RequiredError}
|
|
7725
5743
|
*/
|
|
7726
|
-
async listDomains(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
5744
|
+
async listDomains(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDomains200Response>> {
|
|
7727
5745
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listDomains(project, options);
|
|
7728
5746
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7729
5747
|
const localVarOperationServerBasePath = operationServerMap['PlatformApi.listDomains']?.[localVarOperationServerIndex]?.url;
|
|
@@ -7748,7 +5766,6 @@ export const PlatformApiFp = function(configuration?: Configuration) {
|
|
|
7748
5766
|
|
|
7749
5767
|
/**
|
|
7750
5768
|
* PlatformApi - factory interface
|
|
7751
|
-
* @export
|
|
7752
5769
|
*/
|
|
7753
5770
|
export const PlatformApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
7754
5771
|
const localVarFp = PlatformApiFp(configuration)
|
|
@@ -7810,7 +5827,7 @@ export const PlatformApiFactory = function (configuration?: Configuration, baseP
|
|
|
7810
5827
|
* @param {*} [options] Override http request option.
|
|
7811
5828
|
* @throws {RequiredError}
|
|
7812
5829
|
*/
|
|
7813
|
-
listClientDomains(requestParameters: PlatformApiListClientDomainsRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
5830
|
+
listClientDomains(requestParameters: PlatformApiListClientDomainsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListDomains200Response> {
|
|
7814
5831
|
return localVarFp.listClientDomains(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
7815
5832
|
},
|
|
7816
5833
|
/**
|
|
@@ -7820,7 +5837,7 @@ export const PlatformApiFactory = function (configuration?: Configuration, baseP
|
|
|
7820
5837
|
* @param {*} [options] Override http request option.
|
|
7821
5838
|
* @throws {RequiredError}
|
|
7822
5839
|
*/
|
|
7823
|
-
listDomains(requestParameters: PlatformApiListDomainsRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
5840
|
+
listDomains(requestParameters: PlatformApiListDomainsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListDomains200Response> {
|
|
7824
5841
|
return localVarFp.listDomains(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
7825
5842
|
},
|
|
7826
5843
|
/**
|
|
@@ -7838,156 +5855,102 @@ export const PlatformApiFactory = function (configuration?: Configuration, baseP
|
|
|
7838
5855
|
|
|
7839
5856
|
/**
|
|
7840
5857
|
* Request parameters for createClientDomain operation in PlatformApi.
|
|
7841
|
-
* @export
|
|
7842
|
-
* @interface PlatformApiCreateClientDomainRequest
|
|
7843
5858
|
*/
|
|
7844
5859
|
export interface PlatformApiCreateClientDomainRequest {
|
|
7845
5860
|
/**
|
|
7846
5861
|
* Project unique identifier
|
|
7847
|
-
* @type {string}
|
|
7848
|
-
* @memberof PlatformApiCreateClientDomain
|
|
7849
5862
|
*/
|
|
7850
5863
|
readonly project: string
|
|
7851
5864
|
|
|
7852
|
-
/**
|
|
7853
|
-
*
|
|
7854
|
-
* @type {CreateDomainRequest}
|
|
7855
|
-
* @memberof PlatformApiCreateClientDomain
|
|
7856
|
-
*/
|
|
7857
5865
|
readonly createDomainRequest?: CreateDomainRequest
|
|
7858
5866
|
}
|
|
7859
5867
|
|
|
7860
5868
|
/**
|
|
7861
5869
|
* Request parameters for createDomain operation in PlatformApi.
|
|
7862
|
-
* @export
|
|
7863
|
-
* @interface PlatformApiCreateDomainRequest
|
|
7864
5870
|
*/
|
|
7865
5871
|
export interface PlatformApiCreateDomainRequest {
|
|
7866
5872
|
/**
|
|
7867
5873
|
* Project unique identifier
|
|
7868
|
-
* @type {string}
|
|
7869
|
-
* @memberof PlatformApiCreateDomain
|
|
7870
5874
|
*/
|
|
7871
5875
|
readonly project: string
|
|
7872
5876
|
|
|
7873
|
-
/**
|
|
7874
|
-
*
|
|
7875
|
-
* @type {CreateDomainRequest}
|
|
7876
|
-
* @memberof PlatformApiCreateDomain
|
|
7877
|
-
*/
|
|
7878
5877
|
readonly createDomainRequest?: CreateDomainRequest
|
|
7879
5878
|
}
|
|
7880
5879
|
|
|
7881
5880
|
/**
|
|
7882
5881
|
* Request parameters for deleteClientDomain operation in PlatformApi.
|
|
7883
|
-
* @export
|
|
7884
|
-
* @interface PlatformApiDeleteClientDomainRequest
|
|
7885
5882
|
*/
|
|
7886
5883
|
export interface PlatformApiDeleteClientDomainRequest {
|
|
7887
5884
|
/**
|
|
7888
5885
|
* Project unique identifier
|
|
7889
|
-
* @type {string}
|
|
7890
|
-
* @memberof PlatformApiDeleteClientDomain
|
|
7891
5886
|
*/
|
|
7892
5887
|
readonly project: string
|
|
7893
5888
|
|
|
7894
5889
|
/**
|
|
7895
5890
|
* The domain identifier
|
|
7896
|
-
* @type {string}
|
|
7897
|
-
* @memberof PlatformApiDeleteClientDomain
|
|
7898
5891
|
*/
|
|
7899
5892
|
readonly domain: string
|
|
7900
5893
|
}
|
|
7901
5894
|
|
|
7902
5895
|
/**
|
|
7903
5896
|
* Request parameters for deleteDomain operation in PlatformApi.
|
|
7904
|
-
* @export
|
|
7905
|
-
* @interface PlatformApiDeleteDomainRequest
|
|
7906
5897
|
*/
|
|
7907
5898
|
export interface PlatformApiDeleteDomainRequest {
|
|
7908
5899
|
/**
|
|
7909
5900
|
* Project unique identifier
|
|
7910
|
-
* @type {string}
|
|
7911
|
-
* @memberof PlatformApiDeleteDomain
|
|
7912
5901
|
*/
|
|
7913
5902
|
readonly project: string
|
|
7914
5903
|
|
|
7915
5904
|
/**
|
|
7916
5905
|
* The domain identifier
|
|
7917
|
-
* @type {string}
|
|
7918
|
-
* @memberof PlatformApiDeleteDomain
|
|
7919
5906
|
*/
|
|
7920
5907
|
readonly domain: string
|
|
7921
5908
|
}
|
|
7922
5909
|
|
|
7923
5910
|
/**
|
|
7924
5911
|
* Request parameters for getPlatform operation in PlatformApi.
|
|
7925
|
-
* @export
|
|
7926
|
-
* @interface PlatformApiGetPlatformRequest
|
|
7927
5912
|
*/
|
|
7928
5913
|
export interface PlatformApiGetPlatformRequest {
|
|
7929
5914
|
/**
|
|
7930
5915
|
* Project unique identifier
|
|
7931
|
-
* @type {string}
|
|
7932
|
-
* @memberof PlatformApiGetPlatform
|
|
7933
5916
|
*/
|
|
7934
5917
|
readonly project: string
|
|
7935
5918
|
}
|
|
7936
5919
|
|
|
7937
5920
|
/**
|
|
7938
5921
|
* Request parameters for listClientDomains operation in PlatformApi.
|
|
7939
|
-
* @export
|
|
7940
|
-
* @interface PlatformApiListClientDomainsRequest
|
|
7941
5922
|
*/
|
|
7942
5923
|
export interface PlatformApiListClientDomainsRequest {
|
|
7943
5924
|
/**
|
|
7944
5925
|
* Project unique identifier
|
|
7945
|
-
* @type {string}
|
|
7946
|
-
* @memberof PlatformApiListClientDomains
|
|
7947
5926
|
*/
|
|
7948
5927
|
readonly project: string
|
|
7949
5928
|
}
|
|
7950
5929
|
|
|
7951
5930
|
/**
|
|
7952
5931
|
* Request parameters for listDomains operation in PlatformApi.
|
|
7953
|
-
* @export
|
|
7954
|
-
* @interface PlatformApiListDomainsRequest
|
|
7955
5932
|
*/
|
|
7956
5933
|
export interface PlatformApiListDomainsRequest {
|
|
7957
5934
|
/**
|
|
7958
5935
|
* Project unique identifier
|
|
7959
|
-
* @type {string}
|
|
7960
|
-
* @memberof PlatformApiListDomains
|
|
7961
5936
|
*/
|
|
7962
5937
|
readonly project: string
|
|
7963
5938
|
}
|
|
7964
5939
|
|
|
7965
5940
|
/**
|
|
7966
5941
|
* Request parameters for updatePlatform operation in PlatformApi.
|
|
7967
|
-
* @export
|
|
7968
|
-
* @interface PlatformApiUpdatePlatformRequest
|
|
7969
5942
|
*/
|
|
7970
5943
|
export interface PlatformApiUpdatePlatformRequest {
|
|
7971
5944
|
/**
|
|
7972
5945
|
* Project unique identifier
|
|
7973
|
-
* @type {string}
|
|
7974
|
-
* @memberof PlatformApiUpdatePlatform
|
|
7975
5946
|
*/
|
|
7976
5947
|
readonly project: string
|
|
7977
5948
|
|
|
7978
|
-
/**
|
|
7979
|
-
*
|
|
7980
|
-
* @type {UpdatePlatformRequest}
|
|
7981
|
-
* @memberof PlatformApiUpdatePlatform
|
|
7982
|
-
*/
|
|
7983
5949
|
readonly updatePlatformRequest: UpdatePlatformRequest
|
|
7984
5950
|
}
|
|
7985
5951
|
|
|
7986
5952
|
/**
|
|
7987
5953
|
* PlatformApi - object-oriented interface
|
|
7988
|
-
* @export
|
|
7989
|
-
* @class PlatformApi
|
|
7990
|
-
* @extends {BaseAPI}
|
|
7991
5954
|
*/
|
|
7992
5955
|
export class PlatformApi extends BaseAPI {
|
|
7993
5956
|
/**
|
|
@@ -7996,7 +5959,6 @@ export class PlatformApi extends BaseAPI {
|
|
|
7996
5959
|
* @param {PlatformApiCreateClientDomainRequest} requestParameters Request parameters.
|
|
7997
5960
|
* @param {*} [options] Override http request option.
|
|
7998
5961
|
* @throws {RequiredError}
|
|
7999
|
-
* @memberof PlatformApi
|
|
8000
5962
|
*/
|
|
8001
5963
|
public createClientDomain(requestParameters: PlatformApiCreateClientDomainRequest, options?: RawAxiosRequestConfig) {
|
|
8002
5964
|
return PlatformApiFp(this.configuration).createClientDomain(requestParameters.project, requestParameters.createDomainRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -8008,7 +5970,6 @@ export class PlatformApi extends BaseAPI {
|
|
|
8008
5970
|
* @param {PlatformApiCreateDomainRequest} requestParameters Request parameters.
|
|
8009
5971
|
* @param {*} [options] Override http request option.
|
|
8010
5972
|
* @throws {RequiredError}
|
|
8011
|
-
* @memberof PlatformApi
|
|
8012
5973
|
*/
|
|
8013
5974
|
public createDomain(requestParameters: PlatformApiCreateDomainRequest, options?: RawAxiosRequestConfig) {
|
|
8014
5975
|
return PlatformApiFp(this.configuration).createDomain(requestParameters.project, requestParameters.createDomainRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -8020,7 +5981,6 @@ export class PlatformApi extends BaseAPI {
|
|
|
8020
5981
|
* @param {PlatformApiDeleteClientDomainRequest} requestParameters Request parameters.
|
|
8021
5982
|
* @param {*} [options] Override http request option.
|
|
8022
5983
|
* @throws {RequiredError}
|
|
8023
|
-
* @memberof PlatformApi
|
|
8024
5984
|
*/
|
|
8025
5985
|
public deleteClientDomain(requestParameters: PlatformApiDeleteClientDomainRequest, options?: RawAxiosRequestConfig) {
|
|
8026
5986
|
return PlatformApiFp(this.configuration).deleteClientDomain(requestParameters.project, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -8032,7 +5992,6 @@ export class PlatformApi extends BaseAPI {
|
|
|
8032
5992
|
* @param {PlatformApiDeleteDomainRequest} requestParameters Request parameters.
|
|
8033
5993
|
* @param {*} [options] Override http request option.
|
|
8034
5994
|
* @throws {RequiredError}
|
|
8035
|
-
* @memberof PlatformApi
|
|
8036
5995
|
*/
|
|
8037
5996
|
public deleteDomain(requestParameters: PlatformApiDeleteDomainRequest, options?: RawAxiosRequestConfig) {
|
|
8038
5997
|
return PlatformApiFp(this.configuration).deleteDomain(requestParameters.project, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -8044,7 +6003,6 @@ export class PlatformApi extends BaseAPI {
|
|
|
8044
6003
|
* @param {PlatformApiGetPlatformRequest} requestParameters Request parameters.
|
|
8045
6004
|
* @param {*} [options] Override http request option.
|
|
8046
6005
|
* @throws {RequiredError}
|
|
8047
|
-
* @memberof PlatformApi
|
|
8048
6006
|
*/
|
|
8049
6007
|
public getPlatform(requestParameters: PlatformApiGetPlatformRequest, options?: RawAxiosRequestConfig) {
|
|
8050
6008
|
return PlatformApiFp(this.configuration).getPlatform(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -8056,7 +6014,6 @@ export class PlatformApi extends BaseAPI {
|
|
|
8056
6014
|
* @param {PlatformApiListClientDomainsRequest} requestParameters Request parameters.
|
|
8057
6015
|
* @param {*} [options] Override http request option.
|
|
8058
6016
|
* @throws {RequiredError}
|
|
8059
|
-
* @memberof PlatformApi
|
|
8060
6017
|
*/
|
|
8061
6018
|
public listClientDomains(requestParameters: PlatformApiListClientDomainsRequest, options?: RawAxiosRequestConfig) {
|
|
8062
6019
|
return PlatformApiFp(this.configuration).listClientDomains(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -8068,7 +6025,6 @@ export class PlatformApi extends BaseAPI {
|
|
|
8068
6025
|
* @param {PlatformApiListDomainsRequest} requestParameters Request parameters.
|
|
8069
6026
|
* @param {*} [options] Override http request option.
|
|
8070
6027
|
* @throws {RequiredError}
|
|
8071
|
-
* @memberof PlatformApi
|
|
8072
6028
|
*/
|
|
8073
6029
|
public listDomains(requestParameters: PlatformApiListDomainsRequest, options?: RawAxiosRequestConfig) {
|
|
8074
6030
|
return PlatformApiFp(this.configuration).listDomains(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -8080,7 +6036,6 @@ export class PlatformApi extends BaseAPI {
|
|
|
8080
6036
|
* @param {PlatformApiUpdatePlatformRequest} requestParameters Request parameters.
|
|
8081
6037
|
* @param {*} [options] Override http request option.
|
|
8082
6038
|
* @throws {RequiredError}
|
|
8083
|
-
* @memberof PlatformApi
|
|
8084
6039
|
*/
|
|
8085
6040
|
public updatePlatform(requestParameters: PlatformApiUpdatePlatformRequest, options?: RawAxiosRequestConfig) {
|
|
8086
6041
|
return PlatformApiFp(this.configuration).updatePlatform(requestParameters.project, requestParameters.updatePlatformRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -8091,7 +6046,6 @@ export class PlatformApi extends BaseAPI {
|
|
|
8091
6046
|
|
|
8092
6047
|
/**
|
|
8093
6048
|
* ReviewsApi - axios parameter creator
|
|
8094
|
-
* @export
|
|
8095
6049
|
*/
|
|
8096
6050
|
export const ReviewsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
8097
6051
|
return {
|
|
@@ -8442,7 +6396,6 @@ export const ReviewsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
8442
6396
|
|
|
8443
6397
|
/**
|
|
8444
6398
|
* ReviewsApi - functional programming interface
|
|
8445
|
-
* @export
|
|
8446
6399
|
*/
|
|
8447
6400
|
export const ReviewsApiFp = function(configuration?: Configuration) {
|
|
8448
6401
|
const localVarAxiosParamCreator = ReviewsApiAxiosParamCreator(configuration)
|
|
@@ -8540,7 +6493,6 @@ export const ReviewsApiFp = function(configuration?: Configuration) {
|
|
|
8540
6493
|
|
|
8541
6494
|
/**
|
|
8542
6495
|
* ReviewsApi - factory interface
|
|
8543
|
-
* @export
|
|
8544
6496
|
*/
|
|
8545
6497
|
export const ReviewsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
8546
6498
|
const localVarFp = ReviewsApiFp(configuration)
|
|
@@ -8600,240 +6552,165 @@ export const ReviewsApiFactory = function (configuration?: Configuration, basePa
|
|
|
8600
6552
|
|
|
8601
6553
|
/**
|
|
8602
6554
|
* Request parameters for createReview operation in ReviewsApi.
|
|
8603
|
-
* @export
|
|
8604
|
-
* @interface ReviewsApiCreateReviewRequest
|
|
8605
6555
|
*/
|
|
8606
6556
|
export interface ReviewsApiCreateReviewRequest {
|
|
8607
6557
|
/**
|
|
8608
6558
|
* Project unique identifier
|
|
8609
|
-
* @type {string}
|
|
8610
|
-
* @memberof ReviewsApiCreateReview
|
|
8611
6559
|
*/
|
|
8612
6560
|
readonly project: string
|
|
8613
6561
|
|
|
8614
6562
|
/**
|
|
8615
6563
|
* The platform identifier
|
|
8616
|
-
* @type {string}
|
|
8617
|
-
* @memberof ReviewsApiCreateReview
|
|
8618
6564
|
*/
|
|
8619
6565
|
readonly platformId: string
|
|
8620
6566
|
|
|
8621
|
-
/**
|
|
8622
|
-
*
|
|
8623
|
-
* @type {CreateReviewRequest}
|
|
8624
|
-
* @memberof ReviewsApiCreateReview
|
|
8625
|
-
*/
|
|
8626
6567
|
readonly createReviewRequest: CreateReviewRequest
|
|
8627
6568
|
|
|
8628
6569
|
/**
|
|
8629
6570
|
* Page reference token
|
|
8630
|
-
* @type {number}
|
|
8631
|
-
* @memberof ReviewsApiCreateReview
|
|
8632
6571
|
*/
|
|
8633
6572
|
readonly pageToken?: number
|
|
8634
6573
|
|
|
8635
6574
|
/**
|
|
8636
6575
|
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
8637
|
-
* @type {number}
|
|
8638
|
-
* @memberof ReviewsApiCreateReview
|
|
8639
6576
|
*/
|
|
8640
6577
|
readonly pageSize?: number
|
|
8641
6578
|
|
|
8642
6579
|
/**
|
|
8643
6580
|
* Search term to filter results
|
|
8644
|
-
* @type {string}
|
|
8645
|
-
* @memberof ReviewsApiCreateReview
|
|
8646
6581
|
*/
|
|
8647
6582
|
readonly search?: string
|
|
8648
6583
|
|
|
8649
6584
|
/**
|
|
8650
6585
|
* An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
8651
|
-
* @type {Array<string>}
|
|
8652
|
-
* @memberof ReviewsApiCreateReview
|
|
8653
6586
|
*/
|
|
8654
6587
|
readonly sortBy?: Array<string>
|
|
8655
6588
|
|
|
8656
6589
|
/**
|
|
8657
6590
|
* Start of date range to filter by
|
|
8658
|
-
* @type {string}
|
|
8659
|
-
* @memberof ReviewsApiCreateReview
|
|
8660
6591
|
*/
|
|
8661
6592
|
readonly start?: string
|
|
8662
6593
|
|
|
8663
6594
|
/**
|
|
8664
6595
|
* End of date range to filter by
|
|
8665
|
-
* @type {string}
|
|
8666
|
-
* @memberof ReviewsApiCreateReview
|
|
8667
6596
|
*/
|
|
8668
6597
|
readonly end?: string
|
|
8669
6598
|
}
|
|
8670
6599
|
|
|
8671
6600
|
/**
|
|
8672
6601
|
* Request parameters for exportReviews operation in ReviewsApi.
|
|
8673
|
-
* @export
|
|
8674
|
-
* @interface ReviewsApiExportReviewsRequest
|
|
8675
6602
|
*/
|
|
8676
6603
|
export interface ReviewsApiExportReviewsRequest {
|
|
8677
6604
|
/**
|
|
8678
6605
|
* Project unique identifier
|
|
8679
|
-
* @type {string}
|
|
8680
|
-
* @memberof ReviewsApiExportReviews
|
|
8681
6606
|
*/
|
|
8682
6607
|
readonly project: string
|
|
8683
6608
|
|
|
8684
6609
|
/**
|
|
8685
6610
|
* The platform identifier
|
|
8686
|
-
* @type {string}
|
|
8687
|
-
* @memberof ReviewsApiExportReviews
|
|
8688
6611
|
*/
|
|
8689
6612
|
readonly platformId: string
|
|
8690
6613
|
|
|
8691
6614
|
/**
|
|
8692
6615
|
* Start of date range to filter by
|
|
8693
|
-
* @type {string}
|
|
8694
|
-
* @memberof ReviewsApiExportReviews
|
|
8695
6616
|
*/
|
|
8696
6617
|
readonly start: string
|
|
8697
6618
|
|
|
8698
6619
|
/**
|
|
8699
6620
|
* End of date range to filter by
|
|
8700
|
-
* @type {string}
|
|
8701
|
-
* @memberof ReviewsApiExportReviews
|
|
8702
6621
|
*/
|
|
8703
6622
|
readonly end?: string
|
|
8704
6623
|
}
|
|
8705
6624
|
|
|
8706
6625
|
/**
|
|
8707
6626
|
* Request parameters for getReview operation in ReviewsApi.
|
|
8708
|
-
* @export
|
|
8709
|
-
* @interface ReviewsApiGetReviewRequest
|
|
8710
6627
|
*/
|
|
8711
6628
|
export interface ReviewsApiGetReviewRequest {
|
|
8712
6629
|
/**
|
|
8713
6630
|
* Project unique identifier
|
|
8714
|
-
* @type {string}
|
|
8715
|
-
* @memberof ReviewsApiGetReview
|
|
8716
6631
|
*/
|
|
8717
6632
|
readonly project: string
|
|
8718
6633
|
|
|
8719
6634
|
/**
|
|
8720
6635
|
* The platform identifier
|
|
8721
|
-
* @type {string}
|
|
8722
|
-
* @memberof ReviewsApiGetReview
|
|
8723
6636
|
*/
|
|
8724
6637
|
readonly platformId: string
|
|
8725
6638
|
|
|
8726
6639
|
/**
|
|
8727
6640
|
* The review identifier
|
|
8728
|
-
* @type {string}
|
|
8729
|
-
* @memberof ReviewsApiGetReview
|
|
8730
6641
|
*/
|
|
8731
6642
|
readonly reviewId: string
|
|
8732
6643
|
}
|
|
8733
6644
|
|
|
8734
6645
|
/**
|
|
8735
6646
|
* Request parameters for listReviews operation in ReviewsApi.
|
|
8736
|
-
* @export
|
|
8737
|
-
* @interface ReviewsApiListReviewsRequest
|
|
8738
6647
|
*/
|
|
8739
6648
|
export interface ReviewsApiListReviewsRequest {
|
|
8740
6649
|
/**
|
|
8741
6650
|
* Project unique identifier
|
|
8742
|
-
* @type {string}
|
|
8743
|
-
* @memberof ReviewsApiListReviews
|
|
8744
6651
|
*/
|
|
8745
6652
|
readonly project: string
|
|
8746
6653
|
|
|
8747
6654
|
/**
|
|
8748
6655
|
* The platform identifier
|
|
8749
|
-
* @type {string}
|
|
8750
|
-
* @memberof ReviewsApiListReviews
|
|
8751
6656
|
*/
|
|
8752
6657
|
readonly platformId: string
|
|
8753
6658
|
|
|
8754
6659
|
/**
|
|
8755
6660
|
* Page reference token
|
|
8756
|
-
* @type {number}
|
|
8757
|
-
* @memberof ReviewsApiListReviews
|
|
8758
6661
|
*/
|
|
8759
6662
|
readonly pageToken?: number
|
|
8760
6663
|
|
|
8761
6664
|
/**
|
|
8762
6665
|
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
8763
|
-
* @type {number}
|
|
8764
|
-
* @memberof ReviewsApiListReviews
|
|
8765
6666
|
*/
|
|
8766
6667
|
readonly pageSize?: number
|
|
8767
6668
|
|
|
8768
6669
|
/**
|
|
8769
6670
|
* Search term to filter results
|
|
8770
|
-
* @type {string}
|
|
8771
|
-
* @memberof ReviewsApiListReviews
|
|
8772
6671
|
*/
|
|
8773
6672
|
readonly search?: string
|
|
8774
6673
|
|
|
8775
6674
|
/**
|
|
8776
6675
|
* An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
8777
|
-
* @type {Array<string>}
|
|
8778
|
-
* @memberof ReviewsApiListReviews
|
|
8779
6676
|
*/
|
|
8780
6677
|
readonly sortBy?: Array<string>
|
|
8781
6678
|
|
|
8782
6679
|
/**
|
|
8783
6680
|
* Start of date range to filter by
|
|
8784
|
-
* @type {string}
|
|
8785
|
-
* @memberof ReviewsApiListReviews
|
|
8786
6681
|
*/
|
|
8787
6682
|
readonly start?: string
|
|
8788
6683
|
|
|
8789
6684
|
/**
|
|
8790
6685
|
* End of date range to filter by
|
|
8791
|
-
* @type {string}
|
|
8792
|
-
* @memberof ReviewsApiListReviews
|
|
8793
6686
|
*/
|
|
8794
6687
|
readonly end?: string
|
|
8795
6688
|
}
|
|
8796
6689
|
|
|
8797
6690
|
/**
|
|
8798
6691
|
* Request parameters for moderateReview operation in ReviewsApi.
|
|
8799
|
-
* @export
|
|
8800
|
-
* @interface ReviewsApiModerateReviewRequest
|
|
8801
6692
|
*/
|
|
8802
6693
|
export interface ReviewsApiModerateReviewRequest {
|
|
8803
6694
|
/**
|
|
8804
6695
|
* Project unique identifier
|
|
8805
|
-
* @type {string}
|
|
8806
|
-
* @memberof ReviewsApiModerateReview
|
|
8807
6696
|
*/
|
|
8808
6697
|
readonly project: string
|
|
8809
6698
|
|
|
8810
6699
|
/**
|
|
8811
6700
|
* The platform identifier
|
|
8812
|
-
* @type {string}
|
|
8813
|
-
* @memberof ReviewsApiModerateReview
|
|
8814
6701
|
*/
|
|
8815
6702
|
readonly platformId: string
|
|
8816
6703
|
|
|
8817
6704
|
/**
|
|
8818
6705
|
* The review identifier
|
|
8819
|
-
* @type {string}
|
|
8820
|
-
* @memberof ReviewsApiModerateReview
|
|
8821
6706
|
*/
|
|
8822
6707
|
readonly reviewId: string
|
|
8823
6708
|
|
|
8824
|
-
/**
|
|
8825
|
-
*
|
|
8826
|
-
* @type {ModerateReviewRequest}
|
|
8827
|
-
* @memberof ReviewsApiModerateReview
|
|
8828
|
-
*/
|
|
8829
6709
|
readonly moderateReviewRequest?: ModerateReviewRequest
|
|
8830
6710
|
}
|
|
8831
6711
|
|
|
8832
6712
|
/**
|
|
8833
6713
|
* ReviewsApi - object-oriented interface
|
|
8834
|
-
* @export
|
|
8835
|
-
* @class ReviewsApi
|
|
8836
|
-
* @extends {BaseAPI}
|
|
8837
6714
|
*/
|
|
8838
6715
|
export class ReviewsApi extends BaseAPI {
|
|
8839
6716
|
/**
|
|
@@ -8842,7 +6719,6 @@ export class ReviewsApi extends BaseAPI {
|
|
|
8842
6719
|
* @param {ReviewsApiCreateReviewRequest} requestParameters Request parameters.
|
|
8843
6720
|
* @param {*} [options] Override http request option.
|
|
8844
6721
|
* @throws {RequiredError}
|
|
8845
|
-
* @memberof ReviewsApi
|
|
8846
6722
|
*/
|
|
8847
6723
|
public createReview(requestParameters: ReviewsApiCreateReviewRequest, options?: RawAxiosRequestConfig) {
|
|
8848
6724
|
return ReviewsApiFp(this.configuration).createReview(requestParameters.project, requestParameters.platformId, requestParameters.createReviewRequest, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.sortBy, requestParameters.start, requestParameters.end, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -8854,7 +6730,6 @@ export class ReviewsApi extends BaseAPI {
|
|
|
8854
6730
|
* @param {ReviewsApiExportReviewsRequest} requestParameters Request parameters.
|
|
8855
6731
|
* @param {*} [options] Override http request option.
|
|
8856
6732
|
* @throws {RequiredError}
|
|
8857
|
-
* @memberof ReviewsApi
|
|
8858
6733
|
*/
|
|
8859
6734
|
public exportReviews(requestParameters: ReviewsApiExportReviewsRequest, options?: RawAxiosRequestConfig) {
|
|
8860
6735
|
return ReviewsApiFp(this.configuration).exportReviews(requestParameters.project, requestParameters.platformId, requestParameters.start, requestParameters.end, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -8866,7 +6741,6 @@ export class ReviewsApi extends BaseAPI {
|
|
|
8866
6741
|
* @param {ReviewsApiGetReviewRequest} requestParameters Request parameters.
|
|
8867
6742
|
* @param {*} [options] Override http request option.
|
|
8868
6743
|
* @throws {RequiredError}
|
|
8869
|
-
* @memberof ReviewsApi
|
|
8870
6744
|
*/
|
|
8871
6745
|
public getReview(requestParameters: ReviewsApiGetReviewRequest, options?: RawAxiosRequestConfig) {
|
|
8872
6746
|
return ReviewsApiFp(this.configuration).getReview(requestParameters.project, requestParameters.platformId, requestParameters.reviewId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -8878,7 +6752,6 @@ export class ReviewsApi extends BaseAPI {
|
|
|
8878
6752
|
* @param {ReviewsApiListReviewsRequest} requestParameters Request parameters.
|
|
8879
6753
|
* @param {*} [options] Override http request option.
|
|
8880
6754
|
* @throws {RequiredError}
|
|
8881
|
-
* @memberof ReviewsApi
|
|
8882
6755
|
*/
|
|
8883
6756
|
public listReviews(requestParameters: ReviewsApiListReviewsRequest, options?: RawAxiosRequestConfig) {
|
|
8884
6757
|
return ReviewsApiFp(this.configuration).listReviews(requestParameters.project, requestParameters.platformId, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.sortBy, requestParameters.start, requestParameters.end, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -8890,7 +6763,6 @@ export class ReviewsApi extends BaseAPI {
|
|
|
8890
6763
|
* @param {ReviewsApiModerateReviewRequest} requestParameters Request parameters.
|
|
8891
6764
|
* @param {*} [options] Override http request option.
|
|
8892
6765
|
* @throws {RequiredError}
|
|
8893
|
-
* @memberof ReviewsApi
|
|
8894
6766
|
*/
|
|
8895
6767
|
public moderateReview(requestParameters: ReviewsApiModerateReviewRequest, options?: RawAxiosRequestConfig) {
|
|
8896
6768
|
return ReviewsApiFp(this.configuration).moderateReview(requestParameters.project, requestParameters.platformId, requestParameters.reviewId, requestParameters.moderateReviewRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -8901,7 +6773,6 @@ export class ReviewsApi extends BaseAPI {
|
|
|
8901
6773
|
|
|
8902
6774
|
/**
|
|
8903
6775
|
* TermsApi - axios parameter creator
|
|
8904
|
-
* @export
|
|
8905
6776
|
*/
|
|
8906
6777
|
export const TermsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
8907
6778
|
return {
|
|
@@ -9012,7 +6883,6 @@ export const TermsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
9012
6883
|
|
|
9013
6884
|
/**
|
|
9014
6885
|
* TermsApi - functional programming interface
|
|
9015
|
-
* @export
|
|
9016
6886
|
*/
|
|
9017
6887
|
export const TermsApiFp = function(configuration?: Configuration) {
|
|
9018
6888
|
const localVarAxiosParamCreator = TermsApiAxiosParamCreator(configuration)
|
|
@@ -9051,7 +6921,6 @@ export const TermsApiFp = function(configuration?: Configuration) {
|
|
|
9051
6921
|
|
|
9052
6922
|
/**
|
|
9053
6923
|
* TermsApi - factory interface
|
|
9054
|
-
* @export
|
|
9055
6924
|
*/
|
|
9056
6925
|
export const TermsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
9057
6926
|
const localVarFp = TermsApiFp(configuration)
|
|
@@ -9081,58 +6950,41 @@ export const TermsApiFactory = function (configuration?: Configuration, basePath
|
|
|
9081
6950
|
|
|
9082
6951
|
/**
|
|
9083
6952
|
* Request parameters for getTerms operation in TermsApi.
|
|
9084
|
-
* @export
|
|
9085
|
-
* @interface TermsApiGetTermsRequest
|
|
9086
6953
|
*/
|
|
9087
6954
|
export interface TermsApiGetTermsRequest {
|
|
9088
6955
|
/**
|
|
9089
6956
|
* Project unique identifier
|
|
9090
|
-
* @type {string}
|
|
9091
|
-
* @memberof TermsApiGetTerms
|
|
9092
6957
|
*/
|
|
9093
6958
|
readonly project: string
|
|
9094
6959
|
|
|
9095
6960
|
/**
|
|
9096
6961
|
* The platform identifier
|
|
9097
|
-
* @type {string}
|
|
9098
|
-
* @memberof TermsApiGetTerms
|
|
9099
6962
|
*/
|
|
9100
6963
|
readonly platformId: string
|
|
9101
6964
|
}
|
|
9102
6965
|
|
|
9103
6966
|
/**
|
|
9104
6967
|
* Request parameters for saveTerms operation in TermsApi.
|
|
9105
|
-
* @export
|
|
9106
|
-
* @interface TermsApiSaveTermsRequest
|
|
9107
6968
|
*/
|
|
9108
6969
|
export interface TermsApiSaveTermsRequest {
|
|
9109
6970
|
/**
|
|
9110
6971
|
* Project unique identifier
|
|
9111
|
-
* @type {string}
|
|
9112
|
-
* @memberof TermsApiSaveTerms
|
|
9113
6972
|
*/
|
|
9114
6973
|
readonly project: string
|
|
9115
6974
|
|
|
9116
6975
|
/**
|
|
9117
6976
|
* The platform identifier
|
|
9118
|
-
* @type {string}
|
|
9119
|
-
* @memberof TermsApiSaveTerms
|
|
9120
6977
|
*/
|
|
9121
6978
|
readonly platformId: string
|
|
9122
6979
|
|
|
9123
6980
|
/**
|
|
9124
6981
|
* Save terms
|
|
9125
|
-
* @type {SaveTermsRequest}
|
|
9126
|
-
* @memberof TermsApiSaveTerms
|
|
9127
6982
|
*/
|
|
9128
6983
|
readonly saveTermsRequest: SaveTermsRequest
|
|
9129
6984
|
}
|
|
9130
6985
|
|
|
9131
6986
|
/**
|
|
9132
6987
|
* TermsApi - object-oriented interface
|
|
9133
|
-
* @export
|
|
9134
|
-
* @class TermsApi
|
|
9135
|
-
* @extends {BaseAPI}
|
|
9136
6988
|
*/
|
|
9137
6989
|
export class TermsApi extends BaseAPI {
|
|
9138
6990
|
/**
|
|
@@ -9141,7 +6993,6 @@ export class TermsApi extends BaseAPI {
|
|
|
9141
6993
|
* @param {TermsApiGetTermsRequest} requestParameters Request parameters.
|
|
9142
6994
|
* @param {*} [options] Override http request option.
|
|
9143
6995
|
* @throws {RequiredError}
|
|
9144
|
-
* @memberof TermsApi
|
|
9145
6996
|
*/
|
|
9146
6997
|
public getTerms(requestParameters: TermsApiGetTermsRequest, options?: RawAxiosRequestConfig) {
|
|
9147
6998
|
return TermsApiFp(this.configuration).getTerms(requestParameters.project, requestParameters.platformId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -9153,7 +7004,6 @@ export class TermsApi extends BaseAPI {
|
|
|
9153
7004
|
* @param {TermsApiSaveTermsRequest} requestParameters Request parameters.
|
|
9154
7005
|
* @param {*} [options] Override http request option.
|
|
9155
7006
|
* @throws {RequiredError}
|
|
9156
|
-
* @memberof TermsApi
|
|
9157
7007
|
*/
|
|
9158
7008
|
public saveTerms(requestParameters: TermsApiSaveTermsRequest, options?: RawAxiosRequestConfig) {
|
|
9159
7009
|
return TermsApiFp(this.configuration).saveTerms(requestParameters.project, requestParameters.platformId, requestParameters.saveTermsRequest, options).then((request) => request(this.axios, this.basePath));
|