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