@teemill/product-catalog 1.70.0 → 1.71.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/api.ts +20 -1691
- package/base.ts +1 -25
- package/common.ts +1 -2
- package/configuration.ts +1 -18
- package/dist/api.d.ts +21 -1692
- package/dist/api.js +1 -58
- 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 +21 -1692
- package/dist/esm/api.js +1 -58
- 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/ApplicationPropertiesProperties.md +2 -0
- package/docs/CreateApplicationProperties.md +2 -0
- package/docs/CreateProductVariantImagesInner.md +2 -0
- package/docs/ProductsApi.md +2 -2
- package/docs/TextApplicationProperties.md +2 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Product Catalog API
|
|
5
5
|
* Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.71.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -23,97 +23,46 @@ import type { RequestArgs } from './base';
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';
|
|
25
25
|
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @export
|
|
29
|
-
* @interface AdditionalFile
|
|
30
|
-
*/
|
|
31
26
|
export interface AdditionalFile {
|
|
32
27
|
/**
|
|
33
28
|
* Publicly available file URL.
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof AdditionalFile
|
|
36
29
|
*/
|
|
37
30
|
'src'?: string;
|
|
38
31
|
}
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
* @export
|
|
42
|
-
* @interface ApiError
|
|
43
|
-
*/
|
|
44
32
|
export interface ApiError {
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @type {string}
|
|
48
|
-
* @memberof ApiError
|
|
49
|
-
*/
|
|
50
33
|
'code'?: string;
|
|
51
|
-
/**
|
|
52
|
-
*
|
|
53
|
-
* @type {string}
|
|
54
|
-
* @memberof ApiError
|
|
55
|
-
*/
|
|
56
34
|
'message': string;
|
|
57
35
|
}
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @export
|
|
61
|
-
* @interface Application
|
|
62
|
-
*/
|
|
63
36
|
export interface Application {
|
|
64
37
|
/**
|
|
65
38
|
* Unique object identifier
|
|
66
|
-
* @type {string}
|
|
67
|
-
* @memberof Application
|
|
68
39
|
*/
|
|
69
40
|
'id'?: string;
|
|
70
41
|
/**
|
|
71
42
|
* Technology to use for the application.
|
|
72
|
-
* @type {string}
|
|
73
|
-
* @memberof Application
|
|
74
43
|
*/
|
|
75
44
|
'technology': ApplicationTechnologyEnum;
|
|
76
45
|
/**
|
|
77
46
|
* Placement of the application. Available placements depend on the chosen product and technology.
|
|
78
|
-
* @type {string}
|
|
79
|
-
* @memberof Application
|
|
80
47
|
*/
|
|
81
48
|
'placement': ApplicationPlacementEnum;
|
|
82
49
|
/**
|
|
83
50
|
* Any additional instructions for the application
|
|
84
|
-
* @type {string}
|
|
85
|
-
* @memberof Application
|
|
86
51
|
*/
|
|
87
52
|
'additionalInstructions'?: string | null;
|
|
88
53
|
/**
|
|
89
54
|
* Publicly available design file URL. This will fill the design area of the warehouse product. It will be centered horizontally and aligned to the top of the design area.
|
|
90
|
-
* @type {string}
|
|
91
|
-
* @memberof Application
|
|
92
55
|
*/
|
|
93
56
|
'src'?: string;
|
|
94
57
|
/**
|
|
95
58
|
* A reference to the application group. The src across all applications in the same group will be considered the same src. The is useful for DTF when using the same transfer across multiple products.
|
|
96
|
-
* @type {string}
|
|
97
|
-
* @memberof Application
|
|
98
59
|
*/
|
|
99
60
|
'groupRef'?: string | null;
|
|
100
|
-
/**
|
|
101
|
-
*
|
|
102
|
-
* @type {ApplicationMockup}
|
|
103
|
-
* @memberof Application
|
|
104
|
-
*/
|
|
105
61
|
'mockup'?: ApplicationMockup | null;
|
|
106
62
|
/**
|
|
107
63
|
* If set to true, transfers for this application will not be printed on demand, and will need to be stocked in trays in the factory. Note that this can only be set if the technology is stockable, such as DTF.
|
|
108
|
-
* @type {boolean}
|
|
109
|
-
* @memberof Application
|
|
110
64
|
*/
|
|
111
65
|
'stockedOnly'?: boolean;
|
|
112
|
-
/**
|
|
113
|
-
*
|
|
114
|
-
* @type {ApplicationPropertiesProperties}
|
|
115
|
-
* @memberof Application
|
|
116
|
-
*/
|
|
117
66
|
'properties'?: ApplicationPropertiesProperties | null;
|
|
118
67
|
}
|
|
119
68
|
|
|
@@ -141,166 +90,70 @@ export const ApplicationPlacementEnum = {
|
|
|
141
90
|
|
|
142
91
|
export type ApplicationPlacementEnum = typeof ApplicationPlacementEnum[keyof typeof ApplicationPlacementEnum];
|
|
143
92
|
|
|
144
|
-
/**
|
|
145
|
-
*
|
|
146
|
-
* @export
|
|
147
|
-
* @interface ApplicationGroup
|
|
148
|
-
*/
|
|
149
93
|
export interface ApplicationGroup {
|
|
150
94
|
/**
|
|
151
95
|
* Unique object identifier
|
|
152
|
-
* @type {string}
|
|
153
|
-
* @memberof ApplicationGroup
|
|
154
96
|
*/
|
|
155
97
|
'id': string;
|
|
156
98
|
/**
|
|
157
99
|
* A reference to the application group resource location
|
|
158
|
-
* @type {string}
|
|
159
|
-
* @memberof ApplicationGroup
|
|
160
100
|
*/
|
|
161
101
|
'ref': string;
|
|
162
102
|
/**
|
|
163
103
|
* Name of the application group
|
|
164
|
-
* @type {string}
|
|
165
|
-
* @memberof ApplicationGroup
|
|
166
104
|
*/
|
|
167
105
|
'name': string;
|
|
168
|
-
/**
|
|
169
|
-
*
|
|
170
|
-
* @type {string}
|
|
171
|
-
* @memberof ApplicationGroup
|
|
172
|
-
*/
|
|
173
106
|
'createdAt': string;
|
|
174
|
-
/**
|
|
175
|
-
*
|
|
176
|
-
* @type {string}
|
|
177
|
-
* @memberof ApplicationGroup
|
|
178
|
-
*/
|
|
179
107
|
'updatedAt': string;
|
|
180
108
|
}
|
|
181
|
-
/**
|
|
182
|
-
*
|
|
183
|
-
* @export
|
|
184
|
-
* @interface ApplicationGroupsResponse
|
|
185
|
-
*/
|
|
186
109
|
export interface ApplicationGroupsResponse {
|
|
187
|
-
/**
|
|
188
|
-
*
|
|
189
|
-
* @type {Array<ApplicationGroup>}
|
|
190
|
-
* @memberof ApplicationGroupsResponse
|
|
191
|
-
*/
|
|
192
110
|
'applicationGroups'?: Array<ApplicationGroup>;
|
|
193
111
|
/**
|
|
194
112
|
* The token referencing the next page number
|
|
195
|
-
* @type {number}
|
|
196
|
-
* @memberof ApplicationGroupsResponse
|
|
197
113
|
*/
|
|
198
114
|
'nextPageToken'?: number | null;
|
|
199
115
|
}
|
|
200
|
-
/**
|
|
201
|
-
*
|
|
202
|
-
* @export
|
|
203
|
-
* @interface ApplicationMockup
|
|
204
|
-
*/
|
|
205
116
|
export interface ApplicationMockup {
|
|
206
117
|
/**
|
|
207
118
|
* Drive image URL. If provided, this will be used as the mockup image for the variant application rather than generating a new one.
|
|
208
|
-
* @type {string}
|
|
209
|
-
* @memberof ApplicationMockup
|
|
210
119
|
*/
|
|
211
120
|
'file': string;
|
|
212
121
|
/**
|
|
213
122
|
* Publicly available mockup image URL. This is a preview of the mockup image for the given application.
|
|
214
|
-
* @type {string}
|
|
215
|
-
* @memberof ApplicationMockup
|
|
216
123
|
*/
|
|
217
124
|
'preview'?: string;
|
|
218
125
|
}
|
|
219
|
-
/**
|
|
220
|
-
*
|
|
221
|
-
* @export
|
|
222
|
-
* @interface ApplicationProperties
|
|
223
|
-
*/
|
|
224
126
|
export interface ApplicationProperties {
|
|
225
127
|
/**
|
|
226
128
|
* Width of the application in pixels
|
|
227
|
-
* @type {number}
|
|
228
|
-
* @memberof ApplicationProperties
|
|
229
129
|
*/
|
|
230
130
|
'width'?: number | null;
|
|
231
131
|
/**
|
|
232
132
|
* Height of the application in pixels
|
|
233
|
-
* @type {number}
|
|
234
|
-
* @memberof ApplicationProperties
|
|
235
133
|
*/
|
|
236
134
|
'height'?: number | null;
|
|
237
|
-
/**
|
|
238
|
-
*
|
|
239
|
-
* @type {ApplicationPropertiesPosition}
|
|
240
|
-
* @memberof ApplicationProperties
|
|
241
|
-
*/
|
|
242
135
|
'position'?: ApplicationPropertiesPosition | null;
|
|
243
|
-
/**
|
|
244
|
-
*
|
|
245
|
-
* @type {ApplicationPropertiesPositionInference}
|
|
246
|
-
* @memberof ApplicationProperties
|
|
247
|
-
*/
|
|
248
136
|
'positionInference'?: ApplicationPropertiesPositionInference | null;
|
|
249
|
-
/**
|
|
250
|
-
*
|
|
251
|
-
* @type {ApplicationPropertiesMetadata}
|
|
252
|
-
* @memberof ApplicationProperties
|
|
253
|
-
*/
|
|
254
137
|
'metadata'?: ApplicationPropertiesMetadata | null;
|
|
255
138
|
}
|
|
256
|
-
/**
|
|
257
|
-
*
|
|
258
|
-
* @export
|
|
259
|
-
* @interface ApplicationPropertiesMetadata
|
|
260
|
-
*/
|
|
261
139
|
export interface ApplicationPropertiesMetadata {
|
|
262
|
-
/**
|
|
263
|
-
*
|
|
264
|
-
* @type {ApplicationPropertiesMetadataPersonalization}
|
|
265
|
-
* @memberof ApplicationPropertiesMetadata
|
|
266
|
-
*/
|
|
267
140
|
'personalization'?: ApplicationPropertiesMetadataPersonalization;
|
|
268
141
|
}
|
|
269
142
|
/**
|
|
270
143
|
* @type ApplicationPropertiesMetadataPersonalization
|
|
271
|
-
* @export
|
|
272
144
|
*/
|
|
273
145
|
export type ApplicationPropertiesMetadataPersonalization = ApplicationPropertiesPersonalization | TextApplicationPropertiesPersonalization;
|
|
274
146
|
|
|
275
|
-
/**
|
|
276
|
-
*
|
|
277
|
-
* @export
|
|
278
|
-
* @interface ApplicationPropertiesPersonalization
|
|
279
|
-
*/
|
|
280
147
|
export interface ApplicationPropertiesPersonalization {
|
|
281
148
|
/**
|
|
282
149
|
* The label to be displayed on the personalization field.
|
|
283
|
-
* @type {string}
|
|
284
|
-
* @memberof ApplicationPropertiesPersonalization
|
|
285
150
|
*/
|
|
286
151
|
'label'?: string;
|
|
287
|
-
/**
|
|
288
|
-
*
|
|
289
|
-
* @type {ApplicationPropertiesPersonalizationRules}
|
|
290
|
-
* @memberof ApplicationPropertiesPersonalization
|
|
291
|
-
*/
|
|
292
152
|
'rules'?: ApplicationPropertiesPersonalizationRules;
|
|
293
153
|
}
|
|
294
|
-
/**
|
|
295
|
-
*
|
|
296
|
-
* @export
|
|
297
|
-
* @interface ApplicationPropertiesPersonalizationRules
|
|
298
|
-
*/
|
|
299
154
|
export interface ApplicationPropertiesPersonalizationRules {
|
|
300
155
|
/**
|
|
301
156
|
* The fit of the image. This determines how an uploaded image will be resized to fit the application.
|
|
302
|
-
* @type {string}
|
|
303
|
-
* @memberof ApplicationPropertiesPersonalizationRules
|
|
304
157
|
*/
|
|
305
158
|
'fit'?: ApplicationPropertiesPersonalizationRulesFitEnum;
|
|
306
159
|
}
|
|
@@ -316,119 +169,73 @@ export type ApplicationPropertiesPersonalizationRulesFitEnum = typeof Applicatio
|
|
|
316
169
|
|
|
317
170
|
/**
|
|
318
171
|
* Position of the application relative to the bounding box of the product
|
|
319
|
-
* @export
|
|
320
|
-
* @interface ApplicationPropertiesPosition
|
|
321
172
|
*/
|
|
322
173
|
export interface ApplicationPropertiesPosition {
|
|
323
174
|
/**
|
|
324
175
|
* X coordinate of the application in pixels
|
|
325
|
-
* @type {number}
|
|
326
|
-
* @memberof ApplicationPropertiesPosition
|
|
327
176
|
*/
|
|
328
177
|
'x': number;
|
|
329
178
|
/**
|
|
330
179
|
* Y coordinate of the application in pixels
|
|
331
|
-
* @type {number}
|
|
332
|
-
* @memberof ApplicationPropertiesPosition
|
|
333
180
|
*/
|
|
334
181
|
'y': number;
|
|
335
182
|
/**
|
|
336
183
|
* The z layer of the application. This doesn\'t affect printing, but is used for ordering the applications when displaying them in a mockup.
|
|
337
|
-
* @type {number}
|
|
338
|
-
* @memberof ApplicationPropertiesPosition
|
|
339
184
|
*/
|
|
340
185
|
'z'?: number;
|
|
341
186
|
}
|
|
342
187
|
/**
|
|
343
188
|
* Set these properties when you don\'t have position information for the application. We will use the mockup and baseFlat to calculate the position of the application relative to the bounding box of the warehouse product.
|
|
344
|
-
* @export
|
|
345
|
-
* @interface ApplicationPropertiesPositionInference
|
|
346
189
|
*/
|
|
347
190
|
export interface ApplicationPropertiesPositionInference {
|
|
348
191
|
/**
|
|
349
192
|
* Old mockup with applications. This is used to infer the position of the application.
|
|
350
|
-
* @type {string}
|
|
351
|
-
* @memberof ApplicationPropertiesPositionInference
|
|
352
193
|
*/
|
|
353
194
|
'mockup': string;
|
|
354
195
|
/**
|
|
355
196
|
* Base flat image. This is used to infer the position of the application.
|
|
356
|
-
* @type {string}
|
|
357
|
-
* @memberof ApplicationPropertiesPositionInference
|
|
358
197
|
*/
|
|
359
198
|
'baseFlat': string;
|
|
360
199
|
}
|
|
361
|
-
/**
|
|
362
|
-
*
|
|
363
|
-
* @export
|
|
364
|
-
* @interface ApplicationPropertiesProperties
|
|
365
|
-
*/
|
|
366
200
|
export interface ApplicationPropertiesProperties {
|
|
367
|
-
/**
|
|
368
|
-
*
|
|
369
|
-
* @type {ApplicationPropertiesPosition}
|
|
370
|
-
* @memberof ApplicationPropertiesProperties
|
|
371
|
-
*/
|
|
372
201
|
'position'?: ApplicationPropertiesPosition | null;
|
|
373
|
-
/**
|
|
374
|
-
*
|
|
375
|
-
* @type {ApplicationPropertiesPositionInference}
|
|
376
|
-
* @memberof ApplicationPropertiesProperties
|
|
377
|
-
*/
|
|
378
202
|
'positionInference'?: ApplicationPropertiesPositionInference | null;
|
|
379
203
|
/**
|
|
380
204
|
* An array of text lines.
|
|
381
|
-
* @type {Array<string>}
|
|
382
|
-
* @memberof ApplicationPropertiesProperties
|
|
383
205
|
*/
|
|
384
206
|
'lines'?: Array<string>;
|
|
385
207
|
/**
|
|
386
208
|
* The font to be used for the text. This font must be available in the PodOS font library.
|
|
387
|
-
* @type {string}
|
|
388
|
-
* @memberof ApplicationPropertiesProperties
|
|
389
209
|
*/
|
|
390
210
|
'font'?: string;
|
|
391
211
|
/**
|
|
392
212
|
* The size of the text in pixels.
|
|
393
|
-
* @type {number}
|
|
394
|
-
* @memberof ApplicationPropertiesProperties
|
|
395
213
|
*/
|
|
396
214
|
'fontSize'?: number;
|
|
397
215
|
/**
|
|
398
216
|
* The weight of the text. This must be a valid CSS font-weight value.
|
|
399
|
-
* @type {string}
|
|
400
|
-
* @memberof ApplicationPropertiesProperties
|
|
401
217
|
*/
|
|
402
218
|
'fontWeight'?: ApplicationPropertiesPropertiesFontWeightEnum;
|
|
403
219
|
/**
|
|
404
220
|
* The style of the text. This must be a valid CSS font-style value.
|
|
405
|
-
* @type {string}
|
|
406
|
-
* @memberof ApplicationPropertiesProperties
|
|
407
221
|
*/
|
|
408
222
|
'fontStyle'?: ApplicationPropertiesPropertiesFontStyleEnum;
|
|
409
223
|
/**
|
|
410
224
|
* The colour of the text in hex format.
|
|
411
|
-
* @type {string}
|
|
412
|
-
* @memberof ApplicationPropertiesProperties
|
|
413
225
|
*/
|
|
414
226
|
'color'?: string;
|
|
227
|
+
/**
|
|
228
|
+
* The rotation of the text in degrees.
|
|
229
|
+
*/
|
|
230
|
+
'rotation'?: number;
|
|
415
231
|
/**
|
|
416
232
|
* Width of the application in pixels
|
|
417
|
-
* @type {number}
|
|
418
|
-
* @memberof ApplicationPropertiesProperties
|
|
419
233
|
*/
|
|
420
234
|
'width'?: number | null;
|
|
421
235
|
/**
|
|
422
236
|
* Height of the application in pixels
|
|
423
|
-
* @type {number}
|
|
424
|
-
* @memberof ApplicationPropertiesProperties
|
|
425
237
|
*/
|
|
426
238
|
'height'?: number | null;
|
|
427
|
-
/**
|
|
428
|
-
*
|
|
429
|
-
* @type {ApplicationPropertiesMetadata}
|
|
430
|
-
* @memberof ApplicationPropertiesProperties
|
|
431
|
-
*/
|
|
432
239
|
'metadata'?: ApplicationPropertiesMetadata | null;
|
|
433
240
|
}
|
|
434
241
|
|
|
@@ -448,253 +255,122 @@ export const ApplicationPropertiesPropertiesFontStyleEnum = {
|
|
|
448
255
|
|
|
449
256
|
export type ApplicationPropertiesPropertiesFontStyleEnum = typeof ApplicationPropertiesPropertiesFontStyleEnum[keyof typeof ApplicationPropertiesPropertiesFontStyleEnum];
|
|
450
257
|
|
|
451
|
-
/**
|
|
452
|
-
*
|
|
453
|
-
* @export
|
|
454
|
-
* @interface ApplicationSet
|
|
455
|
-
*/
|
|
456
258
|
export interface ApplicationSet {
|
|
457
259
|
/**
|
|
458
260
|
* Unique object identifier
|
|
459
|
-
* @type {string}
|
|
460
|
-
* @memberof ApplicationSet
|
|
461
261
|
*/
|
|
462
262
|
'id': string;
|
|
463
263
|
/**
|
|
464
264
|
* A reference to the application set resource location
|
|
465
|
-
* @type {string}
|
|
466
|
-
* @memberof ApplicationSet
|
|
467
265
|
*/
|
|
468
266
|
'ref': string;
|
|
469
267
|
/**
|
|
470
268
|
* Name of the application set
|
|
471
|
-
* @type {string}
|
|
472
|
-
* @memberof ApplicationSet
|
|
473
269
|
*/
|
|
474
270
|
'name': string;
|
|
475
271
|
/**
|
|
476
272
|
* Description of the application set
|
|
477
|
-
* @type {string}
|
|
478
|
-
* @memberof ApplicationSet
|
|
479
273
|
*/
|
|
480
274
|
'description'?: string;
|
|
481
275
|
/**
|
|
482
276
|
* The width, in pixels of the images in the set
|
|
483
|
-
* @type {number}
|
|
484
|
-
* @memberof ApplicationSet
|
|
485
277
|
*/
|
|
486
278
|
'width': number;
|
|
487
279
|
/**
|
|
488
280
|
* The height, in pixels of the images in the set
|
|
489
|
-
* @type {number}
|
|
490
|
-
* @memberof ApplicationSet
|
|
491
281
|
*/
|
|
492
282
|
'height': number;
|
|
493
283
|
/**
|
|
494
284
|
* The DPI used when printing the images in the set
|
|
495
|
-
* @type {number}
|
|
496
|
-
* @memberof ApplicationSet
|
|
497
285
|
*/
|
|
498
286
|
'dpi': number;
|
|
499
287
|
/**
|
|
500
288
|
* List of application set records
|
|
501
|
-
* @type {Array<ApplicationSetRecord>}
|
|
502
|
-
* @memberof ApplicationSet
|
|
503
289
|
*/
|
|
504
290
|
'records': Array<ApplicationSetRecord>;
|
|
505
|
-
/**
|
|
506
|
-
*
|
|
507
|
-
* @type {string}
|
|
508
|
-
* @memberof ApplicationSet
|
|
509
|
-
*/
|
|
510
291
|
'createdAt': string;
|
|
511
|
-
/**
|
|
512
|
-
*
|
|
513
|
-
* @type {string}
|
|
514
|
-
* @memberof ApplicationSet
|
|
515
|
-
*/
|
|
516
292
|
'updatedAt': string;
|
|
517
293
|
}
|
|
518
|
-
/**
|
|
519
|
-
*
|
|
520
|
-
* @export
|
|
521
|
-
* @interface ApplicationSet1
|
|
522
|
-
*/
|
|
523
294
|
export interface ApplicationSet1 {
|
|
524
295
|
/**
|
|
525
296
|
* Unique object identifier
|
|
526
|
-
* @type {string}
|
|
527
|
-
* @memberof ApplicationSet1
|
|
528
297
|
*/
|
|
529
298
|
'id'?: string;
|
|
530
299
|
/**
|
|
531
300
|
* A reference to the application set resource location
|
|
532
|
-
* @type {string}
|
|
533
|
-
* @memberof ApplicationSet1
|
|
534
301
|
*/
|
|
535
302
|
'ref'?: string;
|
|
536
303
|
}
|
|
537
|
-
/**
|
|
538
|
-
*
|
|
539
|
-
* @export
|
|
540
|
-
* @interface ApplicationSetRecord
|
|
541
|
-
*/
|
|
542
304
|
export interface ApplicationSetRecord {
|
|
543
305
|
/**
|
|
544
306
|
* Unique object identifier
|
|
545
|
-
* @type {string}
|
|
546
|
-
* @memberof ApplicationSetRecord
|
|
547
307
|
*/
|
|
548
308
|
'id'?: string;
|
|
549
|
-
/**
|
|
550
|
-
*
|
|
551
|
-
* @type {ApplicationSet1}
|
|
552
|
-
* @memberof ApplicationSetRecord
|
|
553
|
-
*/
|
|
554
309
|
'set'?: ApplicationSet1;
|
|
555
310
|
/**
|
|
556
311
|
* Attributes associated to a variant such as Colour and Size.
|
|
557
|
-
* @type {Array<Attributes1Inner>}
|
|
558
|
-
* @memberof ApplicationSetRecord
|
|
559
312
|
*/
|
|
560
313
|
'attributes'?: Array<Attributes1Inner>;
|
|
561
314
|
/**
|
|
562
315
|
* List of applications for this record
|
|
563
|
-
* @type {Array<Application>}
|
|
564
|
-
* @memberof ApplicationSetRecord
|
|
565
316
|
*/
|
|
566
317
|
'applications'?: Array<Application>;
|
|
567
318
|
}
|
|
568
|
-
/**
|
|
569
|
-
*
|
|
570
|
-
* @export
|
|
571
|
-
* @interface ApplicationSetsResponse
|
|
572
|
-
*/
|
|
573
319
|
export interface ApplicationSetsResponse {
|
|
574
|
-
/**
|
|
575
|
-
*
|
|
576
|
-
* @type {Array<ApplicationSet>}
|
|
577
|
-
* @memberof ApplicationSetsResponse
|
|
578
|
-
*/
|
|
579
320
|
'applicationSets'?: Array<ApplicationSet>;
|
|
580
321
|
/**
|
|
581
322
|
* The token referencing the next page number
|
|
582
|
-
* @type {number}
|
|
583
|
-
* @memberof ApplicationSetsResponse
|
|
584
323
|
*/
|
|
585
324
|
'nextPageToken'?: number | null;
|
|
586
325
|
}
|
|
587
|
-
/**
|
|
588
|
-
*
|
|
589
|
-
* @export
|
|
590
|
-
* @interface ApplicationTechnologiesResponse
|
|
591
|
-
*/
|
|
592
326
|
export interface ApplicationTechnologiesResponse {
|
|
593
|
-
/**
|
|
594
|
-
*
|
|
595
|
-
* @type {Array<ApplicationTechnology>}
|
|
596
|
-
* @memberof ApplicationTechnologiesResponse
|
|
597
|
-
*/
|
|
598
327
|
'applicationTechnologies'?: Array<ApplicationTechnology>;
|
|
599
328
|
}
|
|
600
|
-
/**
|
|
601
|
-
*
|
|
602
|
-
* @export
|
|
603
|
-
* @interface ApplicationTechnology
|
|
604
|
-
*/
|
|
605
329
|
export interface ApplicationTechnology {
|
|
606
330
|
/**
|
|
607
331
|
* Unique object identifier
|
|
608
|
-
* @type {string}
|
|
609
|
-
* @memberof ApplicationTechnology
|
|
610
332
|
*/
|
|
611
333
|
'id'?: string;
|
|
612
334
|
/**
|
|
613
335
|
* Name of the application technology
|
|
614
|
-
* @type {string}
|
|
615
|
-
* @memberof ApplicationTechnology
|
|
616
336
|
*/
|
|
617
337
|
'name'?: string;
|
|
618
338
|
/**
|
|
619
339
|
* Code of the application technology
|
|
620
|
-
* @type {string}
|
|
621
|
-
* @memberof ApplicationTechnology
|
|
622
340
|
*/
|
|
623
341
|
'code'?: string;
|
|
624
|
-
/**
|
|
625
|
-
*
|
|
626
|
-
* @type {ApplicationTechnologyIntegrationProduct}
|
|
627
|
-
* @memberof ApplicationTechnology
|
|
628
|
-
*/
|
|
629
342
|
'integrationProduct'?: ApplicationTechnologyIntegrationProduct;
|
|
630
343
|
}
|
|
631
|
-
/**
|
|
632
|
-
*
|
|
633
|
-
* @export
|
|
634
|
-
* @interface ApplicationTechnologyIntegrationProduct
|
|
635
|
-
*/
|
|
636
344
|
export interface ApplicationTechnologyIntegrationProduct {
|
|
637
345
|
/**
|
|
638
346
|
* SKU of the product in the integration
|
|
639
|
-
* @type {string}
|
|
640
|
-
* @memberof ApplicationTechnologyIntegrationProduct
|
|
641
347
|
*/
|
|
642
348
|
'sku'?: string;
|
|
643
349
|
/**
|
|
644
350
|
* A reference to the integration product resource location
|
|
645
|
-
* @type {string}
|
|
646
|
-
* @memberof ApplicationTechnologyIntegrationProduct
|
|
647
351
|
*/
|
|
648
352
|
'ref'?: string;
|
|
649
353
|
}
|
|
650
|
-
/**
|
|
651
|
-
*
|
|
652
|
-
* @export
|
|
653
|
-
* @interface Attribute
|
|
654
|
-
*/
|
|
655
354
|
export interface Attribute {
|
|
656
355
|
/**
|
|
657
356
|
* Attribute name
|
|
658
|
-
* @type {string}
|
|
659
|
-
* @memberof Attribute
|
|
660
357
|
*/
|
|
661
358
|
'name': string;
|
|
662
359
|
/**
|
|
663
360
|
* Attribute value
|
|
664
|
-
* @type {string}
|
|
665
|
-
* @memberof Attribute
|
|
666
361
|
*/
|
|
667
362
|
'value': string;
|
|
668
|
-
/**
|
|
669
|
-
*
|
|
670
|
-
* @type {AttributeThumbnail}
|
|
671
|
-
* @memberof Attribute
|
|
672
|
-
*/
|
|
673
363
|
'thumbnail'?: AttributeThumbnail;
|
|
674
364
|
/**
|
|
675
365
|
* Attribute tags
|
|
676
|
-
* @type {Array<string>}
|
|
677
|
-
* @memberof Attribute
|
|
678
366
|
*/
|
|
679
367
|
'tags'?: Array<string>;
|
|
680
368
|
}
|
|
681
369
|
/**
|
|
682
370
|
* Attribute thumbnail, intended for interfaces like storefront colour selector.
|
|
683
|
-
* @export
|
|
684
|
-
* @interface AttributeThumbnail
|
|
685
371
|
*/
|
|
686
372
|
export interface AttributeThumbnail {
|
|
687
|
-
/**
|
|
688
|
-
*
|
|
689
|
-
* @type {string}
|
|
690
|
-
* @memberof AttributeThumbnail
|
|
691
|
-
*/
|
|
692
373
|
'type'?: AttributeThumbnailTypeEnum;
|
|
693
|
-
/**
|
|
694
|
-
*
|
|
695
|
-
* @type {string}
|
|
696
|
-
* @memberof AttributeThumbnail
|
|
697
|
-
*/
|
|
698
374
|
'value'?: string;
|
|
699
375
|
}
|
|
700
376
|
|
|
@@ -706,72 +382,35 @@ export const AttributeThumbnailTypeEnum = {
|
|
|
706
382
|
|
|
707
383
|
export type AttributeThumbnailTypeEnum = typeof AttributeThumbnailTypeEnum[keyof typeof AttributeThumbnailTypeEnum];
|
|
708
384
|
|
|
709
|
-
/**
|
|
710
|
-
*
|
|
711
|
-
* @export
|
|
712
|
-
* @interface Attributes1Inner
|
|
713
|
-
*/
|
|
714
385
|
export interface Attributes1Inner {
|
|
715
|
-
/**
|
|
716
|
-
*
|
|
717
|
-
* @type {string}
|
|
718
|
-
* @memberof Attributes1Inner
|
|
719
|
-
*/
|
|
720
386
|
'name'?: string;
|
|
721
|
-
/**
|
|
722
|
-
*
|
|
723
|
-
* @type {string}
|
|
724
|
-
* @memberof Attributes1Inner
|
|
725
|
-
*/
|
|
726
387
|
'value'?: string;
|
|
727
388
|
}
|
|
728
|
-
/**
|
|
729
|
-
*
|
|
730
|
-
* @export
|
|
731
|
-
* @interface CreateApplication
|
|
732
|
-
*/
|
|
733
389
|
export interface CreateApplication {
|
|
734
390
|
/**
|
|
735
391
|
* Technology to use for the application.
|
|
736
|
-
* @type {string}
|
|
737
|
-
* @memberof CreateApplication
|
|
738
392
|
*/
|
|
739
393
|
'technology': CreateApplicationTechnologyEnum;
|
|
740
394
|
/**
|
|
741
395
|
* Placement of the application. Available placements depend on the chosen product and technology.
|
|
742
|
-
* @type {string}
|
|
743
|
-
* @memberof CreateApplication
|
|
744
396
|
*/
|
|
745
397
|
'placement': CreateApplicationPlacementEnum;
|
|
746
398
|
/**
|
|
747
399
|
* Any additional instructions for the application
|
|
748
|
-
* @type {string}
|
|
749
|
-
* @memberof CreateApplication
|
|
750
400
|
*/
|
|
751
401
|
'additionalInstructions'?: string | null;
|
|
752
402
|
/**
|
|
753
403
|
* Publicly available design file URL. This will fill the design area of the warehouse product. It will be centered horizontally and aligned to the top of the design area.
|
|
754
|
-
* @type {string}
|
|
755
|
-
* @memberof CreateApplication
|
|
756
404
|
*/
|
|
757
405
|
'src': string;
|
|
758
406
|
/**
|
|
759
407
|
* A reference to the application group. The src across all applications in the same group will be considered the same src. The is useful for DTF when using the same transfer across multiple products.
|
|
760
|
-
* @type {string}
|
|
761
|
-
* @memberof CreateApplication
|
|
762
408
|
*/
|
|
763
409
|
'groupRef'?: string | null;
|
|
764
410
|
/**
|
|
765
411
|
* If set to true, transfers for this application will not be printed on demand, and will need to be stocked in trays in the factory. Note that this can only be set if the technology is stockable, such as DTF.
|
|
766
|
-
* @type {boolean}
|
|
767
|
-
* @memberof CreateApplication
|
|
768
412
|
*/
|
|
769
413
|
'stockedOnly'?: boolean;
|
|
770
|
-
/**
|
|
771
|
-
*
|
|
772
|
-
* @type {CreateApplicationProperties}
|
|
773
|
-
* @memberof CreateApplication
|
|
774
|
-
*/
|
|
775
414
|
'properties'?: CreateApplicationProperties | null;
|
|
776
415
|
}
|
|
777
416
|
|
|
@@ -799,90 +438,51 @@ export const CreateApplicationPlacementEnum = {
|
|
|
799
438
|
|
|
800
439
|
export type CreateApplicationPlacementEnum = typeof CreateApplicationPlacementEnum[keyof typeof CreateApplicationPlacementEnum];
|
|
801
440
|
|
|
802
|
-
/**
|
|
803
|
-
*
|
|
804
|
-
* @export
|
|
805
|
-
* @interface CreateApplicationGroupRequest
|
|
806
|
-
*/
|
|
807
441
|
export interface CreateApplicationGroupRequest {
|
|
808
442
|
/**
|
|
809
443
|
* Name of the application group
|
|
810
|
-
* @type {string}
|
|
811
|
-
* @memberof CreateApplicationGroupRequest
|
|
812
444
|
*/
|
|
813
445
|
'name': string;
|
|
814
446
|
}
|
|
815
|
-
/**
|
|
816
|
-
*
|
|
817
|
-
* @export
|
|
818
|
-
* @interface CreateApplicationProperties
|
|
819
|
-
*/
|
|
820
447
|
export interface CreateApplicationProperties {
|
|
821
|
-
/**
|
|
822
|
-
*
|
|
823
|
-
* @type {ApplicationPropertiesPosition}
|
|
824
|
-
* @memberof CreateApplicationProperties
|
|
825
|
-
*/
|
|
826
448
|
'position'?: ApplicationPropertiesPosition | null;
|
|
827
|
-
/**
|
|
828
|
-
*
|
|
829
|
-
* @type {ApplicationPropertiesPositionInference}
|
|
830
|
-
* @memberof CreateApplicationProperties
|
|
831
|
-
*/
|
|
832
449
|
'positionInference'?: ApplicationPropertiesPositionInference | null;
|
|
833
450
|
/**
|
|
834
451
|
* An array of text lines.
|
|
835
|
-
* @type {Array<string>}
|
|
836
|
-
* @memberof CreateApplicationProperties
|
|
837
452
|
*/
|
|
838
453
|
'lines'?: Array<string>;
|
|
839
454
|
/**
|
|
840
455
|
* The font to be used for the text. This font must be available in the PodOS font library.
|
|
841
|
-
* @type {string}
|
|
842
|
-
* @memberof CreateApplicationProperties
|
|
843
456
|
*/
|
|
844
457
|
'font'?: string;
|
|
845
458
|
/**
|
|
846
459
|
* The size of the text in pixels.
|
|
847
|
-
* @type {number}
|
|
848
|
-
* @memberof CreateApplicationProperties
|
|
849
460
|
*/
|
|
850
461
|
'fontSize'?: number;
|
|
851
462
|
/**
|
|
852
463
|
* The weight of the text. This must be a valid CSS font-weight value.
|
|
853
|
-
* @type {string}
|
|
854
|
-
* @memberof CreateApplicationProperties
|
|
855
464
|
*/
|
|
856
465
|
'fontWeight'?: CreateApplicationPropertiesFontWeightEnum;
|
|
857
466
|
/**
|
|
858
467
|
* The style of the text. This must be a valid CSS font-style value.
|
|
859
|
-
* @type {string}
|
|
860
|
-
* @memberof CreateApplicationProperties
|
|
861
468
|
*/
|
|
862
469
|
'fontStyle'?: CreateApplicationPropertiesFontStyleEnum;
|
|
863
470
|
/**
|
|
864
471
|
* The colour of the text in hex format.
|
|
865
|
-
* @type {string}
|
|
866
|
-
* @memberof CreateApplicationProperties
|
|
867
472
|
*/
|
|
868
473
|
'color'?: string;
|
|
474
|
+
/**
|
|
475
|
+
* The rotation of the text in degrees.
|
|
476
|
+
*/
|
|
477
|
+
'rotation'?: number;
|
|
869
478
|
/**
|
|
870
479
|
* Width of the application in pixels
|
|
871
|
-
* @type {number}
|
|
872
|
-
* @memberof CreateApplicationProperties
|
|
873
480
|
*/
|
|
874
481
|
'width'?: number | null;
|
|
875
482
|
/**
|
|
876
483
|
* Height of the application in pixels
|
|
877
|
-
* @type {number}
|
|
878
|
-
* @memberof CreateApplicationProperties
|
|
879
484
|
*/
|
|
880
485
|
'height'?: number | null;
|
|
881
|
-
/**
|
|
882
|
-
*
|
|
883
|
-
* @type {ApplicationPropertiesMetadata}
|
|
884
|
-
* @memberof CreateApplicationProperties
|
|
885
|
-
*/
|
|
886
486
|
'metadata'?: ApplicationPropertiesMetadata | null;
|
|
887
487
|
}
|
|
888
488
|
|
|
@@ -902,715 +502,385 @@ export const CreateApplicationPropertiesFontStyleEnum = {
|
|
|
902
502
|
|
|
903
503
|
export type CreateApplicationPropertiesFontStyleEnum = typeof CreateApplicationPropertiesFontStyleEnum[keyof typeof CreateApplicationPropertiesFontStyleEnum];
|
|
904
504
|
|
|
905
|
-
/**
|
|
906
|
-
*
|
|
907
|
-
* @export
|
|
908
|
-
* @interface CreateApplicationSetRequest
|
|
909
|
-
*/
|
|
910
505
|
export interface CreateApplicationSetRequest {
|
|
911
506
|
/**
|
|
912
507
|
* Name of the application set
|
|
913
|
-
* @type {string}
|
|
914
|
-
* @memberof CreateApplicationSetRequest
|
|
915
508
|
*/
|
|
916
509
|
'name': string;
|
|
917
510
|
/**
|
|
918
511
|
* Description of the application set
|
|
919
|
-
* @type {string}
|
|
920
|
-
* @memberof CreateApplicationSetRequest
|
|
921
512
|
*/
|
|
922
513
|
'description'?: string;
|
|
923
514
|
/**
|
|
924
515
|
* The width, in pixels of the images in the set
|
|
925
|
-
* @type {number}
|
|
926
|
-
* @memberof CreateApplicationSetRequest
|
|
927
516
|
*/
|
|
928
517
|
'width': number;
|
|
929
518
|
/**
|
|
930
519
|
* The height, in pixels of the images in the set
|
|
931
|
-
* @type {number}
|
|
932
|
-
* @memberof CreateApplicationSetRequest
|
|
933
520
|
*/
|
|
934
521
|
'height': number;
|
|
935
522
|
/**
|
|
936
523
|
* The DPI used when printing the images in the set
|
|
937
|
-
* @type {number}
|
|
938
|
-
* @memberof CreateApplicationSetRequest
|
|
939
524
|
*/
|
|
940
525
|
'dpi': number;
|
|
941
526
|
/**
|
|
942
527
|
* List of application set records
|
|
943
|
-
* @type {Array<CreateApplicationSetRequestRecordsInner>}
|
|
944
|
-
* @memberof CreateApplicationSetRequest
|
|
945
528
|
*/
|
|
946
529
|
'records': Array<CreateApplicationSetRequestRecordsInner>;
|
|
947
530
|
}
|
|
948
|
-
/**
|
|
949
|
-
*
|
|
950
|
-
* @export
|
|
951
|
-
* @interface CreateApplicationSetRequestRecordsInner
|
|
952
|
-
*/
|
|
953
531
|
export interface CreateApplicationSetRequestRecordsInner {
|
|
954
532
|
/**
|
|
955
533
|
* List of attributes this record applies to. Providing an empty array will apply the application set to all variants.
|
|
956
|
-
* @type {Array<CreateApplicationSetRequestRecordsInnerAttributesInner>}
|
|
957
|
-
* @memberof CreateApplicationSetRequestRecordsInner
|
|
958
534
|
*/
|
|
959
535
|
'attributes'?: Array<CreateApplicationSetRequestRecordsInnerAttributesInner>;
|
|
960
536
|
/**
|
|
961
537
|
* List of applications for this record
|
|
962
|
-
* @type {Array<CreateApplication>}
|
|
963
|
-
* @memberof CreateApplicationSetRequestRecordsInner
|
|
964
538
|
*/
|
|
965
539
|
'applications'?: Array<CreateApplication>;
|
|
966
540
|
}
|
|
967
|
-
/**
|
|
968
|
-
*
|
|
969
|
-
* @export
|
|
970
|
-
* @interface CreateApplicationSetRequestRecordsInnerAttributesInner
|
|
971
|
-
*/
|
|
972
541
|
export interface CreateApplicationSetRequestRecordsInnerAttributesInner {
|
|
973
542
|
/**
|
|
974
543
|
* The name of the option type. e.g. Size, Colour
|
|
975
|
-
* @type {string}
|
|
976
|
-
* @memberof CreateApplicationSetRequestRecordsInnerAttributesInner
|
|
977
544
|
*/
|
|
978
545
|
'name': string;
|
|
979
546
|
/**
|
|
980
547
|
* The value of the option this record applies to
|
|
981
|
-
* @type {string}
|
|
982
|
-
* @memberof CreateApplicationSetRequestRecordsInnerAttributesInner
|
|
983
548
|
*/
|
|
984
549
|
'value': string;
|
|
985
550
|
}
|
|
986
|
-
/**
|
|
987
|
-
*
|
|
988
|
-
* @export
|
|
989
|
-
* @interface CreateBundleProduct
|
|
990
|
-
*/
|
|
991
551
|
export interface CreateBundleProduct {
|
|
992
552
|
/**
|
|
993
553
|
* Product title
|
|
994
|
-
* @type {string}
|
|
995
|
-
* @memberof CreateBundleProduct
|
|
996
554
|
*/
|
|
997
555
|
'title'?: string;
|
|
998
556
|
/**
|
|
999
557
|
* Product description
|
|
1000
|
-
* @type {string}
|
|
1001
|
-
* @memberof CreateBundleProduct
|
|
1002
558
|
*/
|
|
1003
559
|
'description'?: string;
|
|
1004
560
|
/**
|
|
1005
561
|
* Whether the product is enabled upon creation.
|
|
1006
|
-
* @type {boolean}
|
|
1007
|
-
* @memberof CreateBundleProduct
|
|
1008
562
|
*/
|
|
1009
563
|
'enabled'?: boolean;
|
|
1010
564
|
/**
|
|
1011
565
|
* A custom URL slug for the product. This must be unique for each product on the project.
|
|
1012
|
-
* @type {string}
|
|
1013
|
-
* @memberof CreateBundleProduct
|
|
1014
566
|
*/
|
|
1015
567
|
'slug'?: string;
|
|
1016
|
-
/**
|
|
1017
|
-
*
|
|
1018
|
-
* @type {UpdateProductsRequestProductsInnerSeoMetadata}
|
|
1019
|
-
* @memberof CreateBundleProduct
|
|
1020
|
-
*/
|
|
1021
568
|
'seoMetadata'?: UpdateProductsRequestProductsInnerSeoMetadata;
|
|
1022
569
|
/**
|
|
1023
570
|
* The primary target search phrase for the product that you wish to rank for in search engine results. **Note:** This field requires the website integration
|
|
1024
|
-
* @type {string}
|
|
1025
|
-
* @memberof CreateBundleProduct
|
|
1026
571
|
*/
|
|
1027
572
|
'targetSearchPhrase'?: string;
|
|
1028
573
|
/**
|
|
1029
574
|
* Synonyms for the target search phrase. **Note:** This field requires the website integration
|
|
1030
|
-
* @type {Array<string>}
|
|
1031
|
-
* @memberof CreateBundleProduct
|
|
1032
575
|
*/
|
|
1033
576
|
'targetSearchPhraseSynonyms'?: Array<string>;
|
|
1034
577
|
/**
|
|
1035
578
|
* Additional product tags used for searching and filtering.
|
|
1036
|
-
* @type {Array<string>}
|
|
1037
|
-
* @memberof CreateBundleProduct
|
|
1038
579
|
*/
|
|
1039
580
|
'tags'?: Array<string>;
|
|
1040
581
|
/**
|
|
1041
582
|
* Internal tags used for internal searching and filtering.
|
|
1042
|
-
* @type {Array<string>}
|
|
1043
|
-
* @memberof CreateBundleProduct
|
|
1044
583
|
*/
|
|
1045
584
|
'internalTags'?: Array<string>;
|
|
1046
585
|
/**
|
|
1047
586
|
* Images to attach to the product. For example, photos of models using/wearing the product.
|
|
1048
|
-
* @type {Array<CreateProductImagesInner>}
|
|
1049
|
-
* @memberof CreateBundleProduct
|
|
1050
587
|
*/
|
|
1051
588
|
'images'?: Array<CreateProductImagesInner>;
|
|
1052
589
|
/**
|
|
1053
590
|
* Videos to attach to the product.
|
|
1054
|
-
* @type {Array<CreateProductVideosInner>}
|
|
1055
|
-
* @memberof CreateBundleProduct
|
|
1056
591
|
*/
|
|
1057
592
|
'videos'?: Array<CreateProductVideosInner>;
|
|
1058
593
|
/**
|
|
1059
594
|
* Additional files to attach to the product. For example, original design files e.g. PSD, AI, etc.
|
|
1060
|
-
* @type {Array<CreateProductAdditionalFilesInner>}
|
|
1061
|
-
* @memberof CreateBundleProduct
|
|
1062
595
|
*/
|
|
1063
596
|
'additionalFiles'?: Array<CreateProductAdditionalFilesInner>;
|
|
1064
597
|
/**
|
|
1065
598
|
* For use with the Shopify integration. Use this to provide a Shopify product ID to link to an existing Shopify product rather than creating a new one.
|
|
1066
|
-
* @type {number}
|
|
1067
|
-
* @memberof CreateBundleProduct
|
|
1068
599
|
*/
|
|
1069
600
|
'shopifyId'?: number | null;
|
|
1070
601
|
/**
|
|
1071
602
|
* Key/value pairs that can be used to store additional information about the product
|
|
1072
|
-
* @type {Array<MetaField>}
|
|
1073
|
-
* @memberof CreateBundleProduct
|
|
1074
603
|
*/
|
|
1075
604
|
'metafields'?: Array<MetaField>;
|
|
1076
605
|
/**
|
|
1077
606
|
* A list of product uuids to include in this bundle
|
|
1078
|
-
* @type {Array<string>}
|
|
1079
|
-
* @memberof CreateBundleProduct
|
|
1080
607
|
*/
|
|
1081
608
|
'bundleItems': Array<string>;
|
|
1082
|
-
/**
|
|
1083
|
-
*
|
|
1084
|
-
* @type {Price}
|
|
1085
|
-
* @memberof CreateBundleProduct
|
|
1086
|
-
*/
|
|
1087
609
|
'retailPrice'?: Price;
|
|
1088
|
-
/**
|
|
1089
|
-
*
|
|
1090
|
-
* @type {SalePrice}
|
|
1091
|
-
* @memberof CreateBundleProduct
|
|
1092
|
-
*/
|
|
1093
610
|
'salePrice'?: SalePrice | null;
|
|
1094
|
-
/**
|
|
1095
|
-
*
|
|
1096
|
-
* @type {Price}
|
|
1097
|
-
* @memberof CreateBundleProduct
|
|
1098
|
-
*/
|
|
1099
611
|
'price'?: Price;
|
|
1100
612
|
}
|
|
1101
|
-
/**
|
|
1102
|
-
*
|
|
1103
|
-
* @export
|
|
1104
|
-
* @interface CreateProduct
|
|
1105
|
-
*/
|
|
1106
613
|
export interface CreateProduct {
|
|
1107
614
|
/**
|
|
1108
615
|
* Reference to the product in the GFN catalog that will be used as a base for this product. A list of available products for the given project can be obtained from the GFN Catalog API.
|
|
1109
|
-
* @type {string}
|
|
1110
|
-
* @memberof CreateProduct
|
|
1111
616
|
*/
|
|
1112
617
|
'gfnProductRef': string;
|
|
1113
618
|
/**
|
|
1114
619
|
* Product title
|
|
1115
|
-
* @type {string}
|
|
1116
|
-
* @memberof CreateProduct
|
|
1117
620
|
*/
|
|
1118
621
|
'title'?: string;
|
|
1119
622
|
/**
|
|
1120
623
|
* Product description
|
|
1121
|
-
* @type {string}
|
|
1122
|
-
* @memberof CreateProduct
|
|
1123
624
|
*/
|
|
1124
625
|
'description'?: string;
|
|
1125
626
|
/**
|
|
1126
627
|
* Whether the product is enabled upon creation.
|
|
1127
|
-
* @type {boolean}
|
|
1128
|
-
* @memberof CreateProduct
|
|
1129
628
|
*/
|
|
1130
629
|
'enabled'?: boolean;
|
|
1131
630
|
/**
|
|
1132
631
|
* A custom URL slug for the product. This must be unique for each product on the project.
|
|
1133
|
-
* @type {string}
|
|
1134
|
-
* @memberof CreateProduct
|
|
1135
632
|
*/
|
|
1136
633
|
'slug'?: string;
|
|
1137
634
|
/**
|
|
1138
635
|
* The brand of the product.
|
|
1139
|
-
* @type {string}
|
|
1140
|
-
* @memberof CreateProduct
|
|
1141
636
|
*/
|
|
1142
637
|
'brand'?: string | null;
|
|
1143
|
-
/**
|
|
1144
|
-
*
|
|
1145
|
-
* @type {UpdateProductsRequestProductsInnerSeoMetadata}
|
|
1146
|
-
* @memberof CreateProduct
|
|
1147
|
-
*/
|
|
1148
638
|
'seoMetadata'?: UpdateProductsRequestProductsInnerSeoMetadata;
|
|
1149
639
|
/**
|
|
1150
640
|
* The primary target search phrase for the product that you wish to rank for in search engine results. **Note:** This field requires the website integration
|
|
1151
|
-
* @type {string}
|
|
1152
|
-
* @memberof CreateProduct
|
|
1153
641
|
*/
|
|
1154
642
|
'targetSearchPhrase'?: string;
|
|
1155
643
|
/**
|
|
1156
644
|
* Synonyms for the target search phrase. **Note:** This field requires the website integration
|
|
1157
|
-
* @type {Array<string>}
|
|
1158
|
-
* @memberof CreateProduct
|
|
1159
645
|
*/
|
|
1160
646
|
'targetSearchPhraseSynonyms'?: Array<string>;
|
|
1161
647
|
/**
|
|
1162
648
|
* Additional product tags used for searching and filtering.
|
|
1163
|
-
* @type {Array<string>}
|
|
1164
|
-
* @memberof CreateProduct
|
|
1165
649
|
*/
|
|
1166
650
|
'tags'?: Array<string>;
|
|
1167
651
|
/**
|
|
1168
652
|
* Internal tags used for internal searching and filtering.
|
|
1169
|
-
* @type {Array<string>}
|
|
1170
|
-
* @memberof CreateProduct
|
|
1171
653
|
*/
|
|
1172
654
|
'internalTags'?: Array<string>;
|
|
1173
655
|
/**
|
|
1174
656
|
* Variants
|
|
1175
|
-
* @type {Array<CreateProductVariant>}
|
|
1176
|
-
* @memberof CreateProduct
|
|
1177
657
|
*/
|
|
1178
658
|
'variants': Array<CreateProductVariant>;
|
|
1179
659
|
/**
|
|
1180
660
|
* Images to attach to the product. For example, photos of models using/wearing the product.
|
|
1181
|
-
* @type {Array<CreateProductImagesInner>}
|
|
1182
|
-
* @memberof CreateProduct
|
|
1183
661
|
*/
|
|
1184
662
|
'images'?: Array<CreateProductImagesInner>;
|
|
1185
663
|
/**
|
|
1186
664
|
* Videos to attach to the product.
|
|
1187
|
-
* @type {Array<CreateProductVideosInner>}
|
|
1188
|
-
* @memberof CreateProduct
|
|
1189
665
|
*/
|
|
1190
666
|
'videos'?: Array<CreateProductVideosInner>;
|
|
1191
667
|
/**
|
|
1192
668
|
* Additional files to attach to the product. For example, original design files e.g. PSD, AI, etc.
|
|
1193
|
-
* @type {Array<CreateProductAdditionalFilesInner>}
|
|
1194
|
-
* @memberof CreateProduct
|
|
1195
669
|
*/
|
|
1196
670
|
'additionalFiles'?: Array<CreateProductAdditionalFilesInner>;
|
|
1197
671
|
/**
|
|
1198
672
|
* List of application set UUIDs to associate with this product
|
|
1199
|
-
* @type {Array<string>}
|
|
1200
|
-
* @memberof CreateProduct
|
|
1201
673
|
*/
|
|
1202
674
|
'applicationSets'?: Array<string>;
|
|
1203
675
|
/**
|
|
1204
676
|
* Whether the product should be included in data feeds that can be provided to Google, Meta etc for advertising.
|
|
1205
|
-
* @type {boolean}
|
|
1206
|
-
* @memberof CreateProduct
|
|
1207
677
|
*/
|
|
1208
678
|
'includeInDataFeeds'?: boolean;
|
|
1209
679
|
/**
|
|
1210
680
|
* For use with the Shopify integration. Use this to provide a Shopify product ID to link to an existing Shopify product rather than creating a new one.
|
|
1211
|
-
* @type {number}
|
|
1212
|
-
* @memberof CreateProduct
|
|
1213
681
|
*/
|
|
1214
682
|
'shopifyId'?: number | null;
|
|
1215
683
|
/**
|
|
1216
684
|
* Key/value pairs that can be used to store additional information about the product
|
|
1217
|
-
* @type {Array<MetaField>}
|
|
1218
|
-
* @memberof CreateProduct
|
|
1219
685
|
*/
|
|
1220
686
|
'metafields'?: Array<MetaField>;
|
|
1221
687
|
/**
|
|
1222
688
|
* A JSON object that defines the personalization template for the product.
|
|
1223
|
-
* @type {string}
|
|
1224
|
-
* @memberof CreateProduct
|
|
1225
689
|
*/
|
|
1226
690
|
'personalizationTemplate'?: string;
|
|
1227
691
|
}
|
|
1228
|
-
/**
|
|
1229
|
-
*
|
|
1230
|
-
* @export
|
|
1231
|
-
* @interface CreateProductAdditionalFilesInner
|
|
1232
|
-
*/
|
|
1233
692
|
export interface CreateProductAdditionalFilesInner {
|
|
1234
693
|
/**
|
|
1235
694
|
* Publicly available file URL.
|
|
1236
|
-
* @type {string}
|
|
1237
|
-
* @memberof CreateProductAdditionalFilesInner
|
|
1238
695
|
*/
|
|
1239
696
|
'src'?: string;
|
|
1240
697
|
}
|
|
1241
|
-
/**
|
|
1242
|
-
*
|
|
1243
|
-
* @export
|
|
1244
|
-
* @interface CreateProductImagesInner
|
|
1245
|
-
*/
|
|
1246
698
|
export interface CreateProductImagesInner {
|
|
1247
699
|
/**
|
|
1248
700
|
* Publicly available file URL.
|
|
1249
|
-
* @type {string}
|
|
1250
|
-
* @memberof CreateProductImagesInner
|
|
1251
701
|
*/
|
|
1252
702
|
'src'?: string;
|
|
1253
703
|
/**
|
|
1254
704
|
* Image type.
|
|
1255
|
-
* @type {string}
|
|
1256
|
-
* @memberof CreateProductImagesInner
|
|
1257
705
|
*/
|
|
1258
706
|
'type'?: string | null;
|
|
1259
707
|
}
|
|
1260
708
|
/**
|
|
1261
709
|
* @type CreateProductRequest
|
|
1262
|
-
* @export
|
|
1263
710
|
*/
|
|
1264
711
|
export type CreateProductRequest = CreateBundleProduct | CreateProduct;
|
|
1265
712
|
|
|
1266
|
-
/**
|
|
1267
|
-
*
|
|
1268
|
-
* @export
|
|
1269
|
-
* @interface CreateProductVariant
|
|
1270
|
-
*/
|
|
1271
713
|
export interface CreateProductVariant {
|
|
1272
714
|
/**
|
|
1273
715
|
* Attributes associated to a variant such as Colour and Size.
|
|
1274
|
-
* @type {Array<UpdateProductsRequestProductsInnerVariantsInnerAttributesInner>}
|
|
1275
|
-
* @memberof CreateProductVariant
|
|
1276
716
|
*/
|
|
1277
717
|
'attributes': Array<UpdateProductsRequestProductsInnerVariantsInnerAttributesInner>;
|
|
1278
|
-
/**
|
|
1279
|
-
*
|
|
1280
|
-
* @type {UpdateProductsRequestProductsInnerVariantsInnerRetailPrice}
|
|
1281
|
-
* @memberof CreateProductVariant
|
|
1282
|
-
*/
|
|
1283
718
|
'retailPrice': UpdateProductsRequestProductsInnerVariantsInnerRetailPrice;
|
|
1284
|
-
/**
|
|
1285
|
-
*
|
|
1286
|
-
* @type {UpdateProductsRequestProductsInnerVariantsInnerSalePrice}
|
|
1287
|
-
* @memberof CreateProductVariant
|
|
1288
|
-
*/
|
|
1289
719
|
'salePrice'?: UpdateProductsRequestProductsInnerVariantsInnerSalePrice | null;
|
|
1290
720
|
/**
|
|
1291
721
|
* A custom stock keeping unit for the variant.
|
|
1292
|
-
* @type {string}
|
|
1293
|
-
* @memberof CreateProductVariant
|
|
1294
722
|
*/
|
|
1295
723
|
'sku'?: string;
|
|
1296
724
|
/**
|
|
1297
725
|
* Design applications. If not provided, the product will be blank.
|
|
1298
|
-
* @type {Array<Application>}
|
|
1299
|
-
* @memberof CreateProductVariant
|
|
1300
726
|
*/
|
|
1301
727
|
'applications'?: Array<Application>;
|
|
1302
728
|
/**
|
|
1303
729
|
* Only use if you want to override the main product image. If not provided, mockups will be generated using the design applications and the warehouse product provided. Accepts PNG and JPEG files.
|
|
1304
|
-
* @type {Array<CreateProductVariantImagesInner>}
|
|
1305
|
-
* @memberof CreateProductVariant
|
|
1306
730
|
*/
|
|
1307
731
|
'images'?: Array<CreateProductVariantImagesInner>;
|
|
1308
732
|
/**
|
|
1309
733
|
* The GTIN (Global Trade Item Number) or EAN (European Article Number) of the variant. Please note that a barcode can only be attached after the Barcodes module has been installed.
|
|
1310
|
-
* @type {string}
|
|
1311
|
-
* @memberof CreateProductVariant
|
|
1312
734
|
*/
|
|
1313
735
|
'barcode'?: string | null;
|
|
1314
736
|
/**
|
|
1315
737
|
* For use with the Shopify integration. Use this to provide a Shopify variant ID to link to an existing Shopify variant rather than creating a new one.
|
|
1316
|
-
* @type {number}
|
|
1317
|
-
* @memberof CreateProductVariant
|
|
1318
738
|
*/
|
|
1319
739
|
'shopifyId'?: number | null;
|
|
1320
|
-
/**
|
|
1321
|
-
*
|
|
1322
|
-
* @type {Array<UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner>}
|
|
1323
|
-
* @memberof CreateProductVariant
|
|
1324
|
-
*/
|
|
1325
740
|
'integrationConnections'?: Array<UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner>;
|
|
1326
741
|
}
|
|
1327
|
-
/**
|
|
1328
|
-
*
|
|
1329
|
-
* @export
|
|
1330
|
-
* @interface CreateProductVariantImagesInner
|
|
1331
|
-
*/
|
|
1332
742
|
export interface CreateProductVariantImagesInner {
|
|
743
|
+
/**
|
|
744
|
+
* ID of the image if it already exists. A new image will be created if this is not provided.
|
|
745
|
+
*/
|
|
746
|
+
'id'?: string | null;
|
|
1333
747
|
/**
|
|
1334
748
|
* Publicly available file URL.
|
|
1335
|
-
* @type {string}
|
|
1336
|
-
* @memberof CreateProductVariantImagesInner
|
|
1337
749
|
*/
|
|
1338
750
|
'src'?: string;
|
|
1339
751
|
}
|
|
1340
|
-
/**
|
|
1341
|
-
*
|
|
1342
|
-
* @export
|
|
1343
|
-
* @interface CreateProductVideosInner
|
|
1344
|
-
*/
|
|
1345
752
|
export interface CreateProductVideosInner {
|
|
1346
753
|
/**
|
|
1347
754
|
* Publicly available file URL.
|
|
1348
|
-
* @type {string}
|
|
1349
|
-
* @memberof CreateProductVideosInner
|
|
1350
755
|
*/
|
|
1351
756
|
'src'?: string;
|
|
1352
757
|
}
|
|
1353
|
-
/**
|
|
1354
|
-
*
|
|
1355
|
-
* @export
|
|
1356
|
-
* @interface DeleteProductsRequest
|
|
1357
|
-
*/
|
|
1358
758
|
export interface DeleteProductsRequest {
|
|
1359
|
-
/**
|
|
1360
|
-
*
|
|
1361
|
-
* @type {Array<string>}
|
|
1362
|
-
* @memberof DeleteProductsRequest
|
|
1363
|
-
*/
|
|
1364
759
|
'products'?: Array<string>;
|
|
1365
760
|
}
|
|
1366
|
-
/**
|
|
1367
|
-
*
|
|
1368
|
-
* @export
|
|
1369
|
-
* @interface DuplicateProducts202Response
|
|
1370
|
-
*/
|
|
1371
761
|
export interface DuplicateProducts202Response {
|
|
1372
762
|
/**
|
|
1373
763
|
* A message describing the duplication status
|
|
1374
|
-
* @type {string}
|
|
1375
|
-
* @memberof DuplicateProducts202Response
|
|
1376
764
|
*/
|
|
1377
765
|
'message'?: string;
|
|
1378
766
|
}
|
|
1379
|
-
/**
|
|
1380
|
-
*
|
|
1381
|
-
* @export
|
|
1382
|
-
* @interface DuplicateProductsRequest
|
|
1383
|
-
*/
|
|
1384
767
|
export interface DuplicateProductsRequest {
|
|
1385
768
|
/**
|
|
1386
769
|
* A set of product IDs to duplicate.
|
|
1387
|
-
* @type {Array<string>}
|
|
1388
|
-
* @memberof DuplicateProductsRequest
|
|
1389
770
|
*/
|
|
1390
771
|
'ids': Array<string>;
|
|
1391
772
|
/**
|
|
1392
773
|
* A set of project IDs to duplicate the products to.
|
|
1393
|
-
* @type {Array<string>}
|
|
1394
|
-
* @memberof DuplicateProductsRequest
|
|
1395
774
|
*/
|
|
1396
775
|
'projects': Array<string>;
|
|
1397
776
|
}
|
|
1398
|
-
/**
|
|
1399
|
-
*
|
|
1400
|
-
* @export
|
|
1401
|
-
* @interface ExportProducts202Response
|
|
1402
|
-
*/
|
|
1403
777
|
export interface ExportProducts202Response {
|
|
1404
778
|
/**
|
|
1405
779
|
* A message describing the export status
|
|
1406
|
-
* @type {string}
|
|
1407
|
-
* @memberof ExportProducts202Response
|
|
1408
780
|
*/
|
|
1409
781
|
'message'?: string;
|
|
1410
782
|
}
|
|
1411
783
|
/**
|
|
1412
784
|
* Image description
|
|
1413
|
-
* @export
|
|
1414
|
-
* @interface Image
|
|
1415
785
|
*/
|
|
1416
786
|
export interface Image {
|
|
1417
787
|
/**
|
|
1418
788
|
* Unique object identifier
|
|
1419
|
-
* @type {string}
|
|
1420
|
-
* @memberof Image
|
|
1421
789
|
*/
|
|
1422
790
|
'id'?: string;
|
|
1423
|
-
/**
|
|
1424
|
-
*
|
|
1425
|
-
* @type {string}
|
|
1426
|
-
* @memberof Image
|
|
1427
|
-
*/
|
|
1428
791
|
'src': string;
|
|
1429
|
-
/**
|
|
1430
|
-
*
|
|
1431
|
-
* @type {string}
|
|
1432
|
-
* @memberof Image
|
|
1433
|
-
*/
|
|
1434
792
|
'type'?: string | null;
|
|
1435
|
-
/**
|
|
1436
|
-
*
|
|
1437
|
-
* @type {string}
|
|
1438
|
-
* @memberof Image
|
|
1439
|
-
*/
|
|
1440
793
|
'alt'?: string;
|
|
1441
794
|
/**
|
|
1442
795
|
* List of variant Ids
|
|
1443
|
-
* @type {Array<string>}
|
|
1444
|
-
* @memberof Image
|
|
1445
796
|
*/
|
|
1446
797
|
'variantIds'?: Array<string>;
|
|
1447
|
-
/**
|
|
1448
|
-
*
|
|
1449
|
-
* @type {number}
|
|
1450
|
-
* @memberof Image
|
|
1451
|
-
*/
|
|
1452
798
|
'sortOrder'?: number;
|
|
1453
|
-
/**
|
|
1454
|
-
*
|
|
1455
|
-
* @type {string}
|
|
1456
|
-
* @memberof Image
|
|
1457
|
-
*/
|
|
1458
799
|
'createdAt'?: string;
|
|
1459
|
-
/**
|
|
1460
|
-
*
|
|
1461
|
-
* @type {string}
|
|
1462
|
-
* @memberof Image
|
|
1463
|
-
*/
|
|
1464
800
|
'updatedAt'?: string;
|
|
1465
801
|
}
|
|
1466
|
-
/**
|
|
1467
|
-
*
|
|
1468
|
-
* @export
|
|
1469
|
-
* @interface ImageFile
|
|
1470
|
-
*/
|
|
1471
802
|
export interface ImageFile {
|
|
1472
803
|
/**
|
|
1473
804
|
* Publicly available file URL.
|
|
1474
|
-
* @type {string}
|
|
1475
|
-
* @memberof ImageFile
|
|
1476
805
|
*/
|
|
1477
806
|
'src': string;
|
|
1478
807
|
/**
|
|
1479
808
|
* ID of the image if it already exists. A new image will be created if this is not provided.
|
|
1480
|
-
* @type {string}
|
|
1481
|
-
* @memberof ImageFile
|
|
1482
809
|
*/
|
|
1483
810
|
'id'?: string | null;
|
|
1484
811
|
/**
|
|
1485
812
|
* Image type.
|
|
1486
|
-
* @type {string}
|
|
1487
|
-
* @memberof ImageFile
|
|
1488
813
|
*/
|
|
1489
814
|
'type'?: string | null;
|
|
1490
815
|
/**
|
|
1491
816
|
* List of variant Ids to associate with the image.
|
|
1492
|
-
* @type {Array<string>}
|
|
1493
|
-
* @memberof ImageFile
|
|
1494
817
|
*/
|
|
1495
818
|
'variantIds'?: Array<string>;
|
|
1496
|
-
/**
|
|
1497
|
-
*
|
|
1498
|
-
* @type {ImageFileFocalPoint}
|
|
1499
|
-
* @memberof ImageFile
|
|
1500
|
-
*/
|
|
1501
819
|
'focalPoint'?: ImageFileFocalPoint;
|
|
1502
820
|
/**
|
|
1503
821
|
* The zoom level of the image, used for cropping the image when it\'s rendered to specific dimensions.
|
|
1504
|
-
* @type {number}
|
|
1505
|
-
* @memberof ImageFile
|
|
1506
822
|
*/
|
|
1507
823
|
'zoom'?: number;
|
|
1508
824
|
}
|
|
1509
825
|
/**
|
|
1510
826
|
* The focal point of the image, used for positioning the image when it\'s rendered to specific dimensions.
|
|
1511
|
-
* @export
|
|
1512
|
-
* @interface ImageFileFocalPoint
|
|
1513
827
|
*/
|
|
1514
828
|
export interface ImageFileFocalPoint {
|
|
1515
829
|
/**
|
|
1516
830
|
* The x-coordinate of the focal point, where 0 is the left edge and 1 is the right edge.
|
|
1517
|
-
* @type {number}
|
|
1518
|
-
* @memberof ImageFileFocalPoint
|
|
1519
831
|
*/
|
|
1520
832
|
'x': number;
|
|
1521
833
|
/**
|
|
1522
834
|
* The y-coordinate of the focal point, where 0 is the top edge and 1 is the bottom edge.
|
|
1523
|
-
* @type {number}
|
|
1524
|
-
* @memberof ImageFileFocalPoint
|
|
1525
835
|
*/
|
|
1526
836
|
'y': number;
|
|
1527
837
|
}
|
|
1528
|
-
|
|
1529
|
-
*
|
|
1530
|
-
* @export
|
|
1531
|
-
* @interface InlineObject
|
|
1532
|
-
*/
|
|
1533
|
-
export interface InlineObject {
|
|
838
|
+
export interface ImportProducts200Response {
|
|
1534
839
|
/**
|
|
1535
840
|
* Id of the product import
|
|
1536
|
-
* @type {string}
|
|
1537
|
-
* @memberof InlineObject
|
|
1538
841
|
*/
|
|
1539
842
|
'importId'?: string;
|
|
1540
843
|
}
|
|
1541
|
-
/**
|
|
1542
|
-
*
|
|
1543
|
-
* @export
|
|
1544
|
-
* @interface Location
|
|
1545
|
-
*/
|
|
1546
844
|
export interface Location {
|
|
1547
845
|
/**
|
|
1548
846
|
* The total number of units available at the location
|
|
1549
|
-
* @type {number}
|
|
1550
|
-
* @memberof Location
|
|
1551
847
|
*/
|
|
1552
848
|
'level': number;
|
|
1553
849
|
/**
|
|
1554
850
|
* ISO alpha-2 country code
|
|
1555
|
-
* @type {string}
|
|
1556
|
-
* @memberof Location
|
|
1557
851
|
*/
|
|
1558
852
|
'country': string;
|
|
1559
853
|
}
|
|
1560
854
|
/**
|
|
1561
855
|
* Key/value pairs that can be used to store additional information on the product
|
|
1562
|
-
* @export
|
|
1563
|
-
* @interface MetaField
|
|
1564
856
|
*/
|
|
1565
857
|
export interface MetaField {
|
|
1566
858
|
/**
|
|
1567
859
|
* The key of the property
|
|
1568
|
-
* @type {string}
|
|
1569
|
-
* @memberof MetaField
|
|
1570
860
|
*/
|
|
1571
861
|
'key': string;
|
|
1572
862
|
/**
|
|
1573
863
|
* The string value of the property
|
|
1574
|
-
* @type {string}
|
|
1575
|
-
* @memberof MetaField
|
|
1576
864
|
*/
|
|
1577
865
|
'value': string;
|
|
1578
866
|
}
|
|
1579
|
-
/**
|
|
1580
|
-
*
|
|
1581
|
-
* @export
|
|
1582
|
-
* @interface OptimisationHistoryItem
|
|
1583
|
-
*/
|
|
1584
867
|
export interface OptimisationHistoryItem {
|
|
1585
868
|
/**
|
|
1586
869
|
* Unique object identifier
|
|
1587
|
-
* @type {string}
|
|
1588
|
-
* @memberof OptimisationHistoryItem
|
|
1589
870
|
*/
|
|
1590
871
|
'id'?: string;
|
|
1591
|
-
/**
|
|
1592
|
-
*
|
|
1593
|
-
* @type {string}
|
|
1594
|
-
* @memberof OptimisationHistoryItem
|
|
1595
|
-
*/
|
|
1596
872
|
'createdAt'?: string;
|
|
1597
873
|
}
|
|
1598
874
|
/**
|
|
1599
875
|
* Standard price definition that defines the amount, tax rate and currency.
|
|
1600
|
-
* @export
|
|
1601
|
-
* @interface Price
|
|
1602
876
|
*/
|
|
1603
877
|
export interface Price {
|
|
1604
878
|
/**
|
|
1605
879
|
* Price including tax in the specified currency.
|
|
1606
|
-
* @type {number}
|
|
1607
|
-
* @memberof Price
|
|
1608
880
|
*/
|
|
1609
881
|
'amount'?: number;
|
|
1610
882
|
/**
|
|
1611
883
|
* Currency code for the currency the price is valued in.
|
|
1612
|
-
* @type {string}
|
|
1613
|
-
* @memberof Price
|
|
1614
884
|
*/
|
|
1615
885
|
'currencyCode'?: PriceCurrencyCodeEnum;
|
|
1616
886
|
}
|
|
@@ -1621,340 +891,152 @@ export const PriceCurrencyCodeEnum = {
|
|
|
1621
891
|
|
|
1622
892
|
export type PriceCurrencyCodeEnum = typeof PriceCurrencyCodeEnum[keyof typeof PriceCurrencyCodeEnum];
|
|
1623
893
|
|
|
1624
|
-
/**
|
|
1625
|
-
*
|
|
1626
|
-
* @export
|
|
1627
|
-
* @interface Product
|
|
1628
|
-
*/
|
|
1629
894
|
export interface Product {
|
|
1630
895
|
/**
|
|
1631
896
|
* Unique object identifier
|
|
1632
|
-
* @type {string}
|
|
1633
|
-
* @memberof Product
|
|
1634
897
|
*/
|
|
1635
898
|
'id'?: string;
|
|
1636
899
|
/**
|
|
1637
900
|
* A reference to the resource location
|
|
1638
|
-
* @type {string}
|
|
1639
|
-
* @memberof Product
|
|
1640
901
|
*/
|
|
1641
902
|
'ref'?: string;
|
|
1642
|
-
/**
|
|
1643
|
-
*
|
|
1644
|
-
* @type {string}
|
|
1645
|
-
* @memberof Product
|
|
1646
|
-
*/
|
|
1647
903
|
'title': string;
|
|
1648
|
-
/**
|
|
1649
|
-
*
|
|
1650
|
-
* @type {string}
|
|
1651
|
-
* @memberof Product
|
|
1652
|
-
*/
|
|
1653
904
|
'description': string;
|
|
1654
|
-
/**
|
|
1655
|
-
*
|
|
1656
|
-
* @type {string}
|
|
1657
|
-
* @memberof Product
|
|
1658
|
-
*/
|
|
1659
905
|
'slug'?: string;
|
|
1660
|
-
/**
|
|
1661
|
-
*
|
|
1662
|
-
* @type {string}
|
|
1663
|
-
* @memberof Product
|
|
1664
|
-
*/
|
|
1665
906
|
'brand'?: string;
|
|
1666
|
-
/**
|
|
1667
|
-
*
|
|
1668
|
-
* @type {boolean}
|
|
1669
|
-
* @memberof Product
|
|
1670
|
-
*/
|
|
1671
907
|
'enabled'?: boolean;
|
|
1672
|
-
/**
|
|
1673
|
-
*
|
|
1674
|
-
* @type {SEOMetadata}
|
|
1675
|
-
* @memberof Product
|
|
1676
|
-
*/
|
|
1677
908
|
'seoMetadata'?: SEOMetadata;
|
|
1678
|
-
/**
|
|
1679
|
-
*
|
|
1680
|
-
* @type {TargetSearchPhraseData}
|
|
1681
|
-
* @memberof Product
|
|
1682
|
-
*/
|
|
1683
909
|
'targetSearchPhraseData'?: TargetSearchPhraseData;
|
|
1684
|
-
/**
|
|
1685
|
-
*
|
|
1686
|
-
* @type {Array<string>}
|
|
1687
|
-
* @memberof Product
|
|
1688
|
-
*/
|
|
1689
910
|
'tags'?: Array<string>;
|
|
1690
|
-
/**
|
|
1691
|
-
*
|
|
1692
|
-
* @type {Array<string>}
|
|
1693
|
-
* @memberof Product
|
|
1694
|
-
*/
|
|
1695
911
|
'internalTags'?: Array<string>;
|
|
1696
|
-
/**
|
|
1697
|
-
*
|
|
1698
|
-
* @type {string}
|
|
1699
|
-
* @memberof Product
|
|
1700
|
-
*/
|
|
1701
912
|
'createdAt'?: string;
|
|
1702
|
-
/**
|
|
1703
|
-
*
|
|
1704
|
-
* @type {string}
|
|
1705
|
-
* @memberof Product
|
|
1706
|
-
*/
|
|
1707
913
|
'updatedAt'?: string;
|
|
1708
|
-
/**
|
|
1709
|
-
*
|
|
1710
|
-
* @type {string}
|
|
1711
|
-
* @memberof Product
|
|
1712
|
-
*/
|
|
1713
914
|
'publishedAt'?: string;
|
|
1714
915
|
/**
|
|
1715
916
|
* Images
|
|
1716
|
-
* @type {Array<Image>}
|
|
1717
|
-
* @memberof Product
|
|
1718
917
|
*/
|
|
1719
918
|
'images'?: Array<Image>;
|
|
1720
919
|
/**
|
|
1721
920
|
* Videos
|
|
1722
|
-
* @type {Array<Video>}
|
|
1723
|
-
* @memberof Product
|
|
1724
921
|
*/
|
|
1725
922
|
'videos'?: Array<Video>;
|
|
1726
923
|
/**
|
|
1727
924
|
* Variants
|
|
1728
|
-
* @type {Array<Variant>}
|
|
1729
|
-
* @memberof Product
|
|
1730
925
|
*/
|
|
1731
926
|
'variants'?: Array<Variant>;
|
|
1732
927
|
/**
|
|
1733
928
|
* Products in the bundle.
|
|
1734
|
-
* @type {Array<Product>}
|
|
1735
|
-
* @memberof Product
|
|
1736
929
|
*/
|
|
1737
930
|
'bundleItems'?: Array<Product>;
|
|
1738
|
-
/**
|
|
1739
|
-
*
|
|
1740
|
-
* @type {Price}
|
|
1741
|
-
* @memberof Product
|
|
1742
|
-
*/
|
|
1743
931
|
'retailPrice'?: Price;
|
|
1744
|
-
/**
|
|
1745
|
-
*
|
|
1746
|
-
* @type {SalePrice}
|
|
1747
|
-
* @memberof Product
|
|
1748
|
-
*/
|
|
1749
932
|
'salePrice'?: SalePrice | null;
|
|
1750
933
|
/**
|
|
1751
934
|
* Additional files attached to the product.
|
|
1752
|
-
* @type {Array<ProductAdditionalFilesInner>}
|
|
1753
|
-
* @memberof Product
|
|
1754
935
|
*/
|
|
1755
936
|
'additionalFiles'?: Array<ProductAdditionalFilesInner>;
|
|
1756
937
|
/**
|
|
1757
938
|
* List of application sets associated with this product
|
|
1758
|
-
* @type {Array<ProductApplicationSetsInner>}
|
|
1759
|
-
* @memberof Product
|
|
1760
939
|
*/
|
|
1761
940
|
'applicationSets'?: Array<ProductApplicationSetsInner>;
|
|
1762
941
|
/**
|
|
1763
942
|
* The average review rating. This field is only present if included in the fields query parameter
|
|
1764
|
-
* @type {number}
|
|
1765
|
-
* @memberof Product
|
|
1766
943
|
*/
|
|
1767
944
|
'reviewScore'?: number | null;
|
|
1768
945
|
/**
|
|
1769
946
|
* A count of reviews. This field is only present if included in the fields query parameter
|
|
1770
|
-
* @type {number}
|
|
1771
|
-
* @memberof Product
|
|
1772
947
|
*/
|
|
1773
948
|
'reviewCount'?: number;
|
|
1774
|
-
/**
|
|
1775
|
-
*
|
|
1776
|
-
* @type {string}
|
|
1777
|
-
* @memberof Product
|
|
1778
|
-
*/
|
|
1779
949
|
'sku'?: string;
|
|
1780
950
|
/**
|
|
1781
951
|
* A count of sales. This field is only present if included in the fields query parameter
|
|
1782
|
-
* @type {number}
|
|
1783
|
-
* @memberof Product
|
|
1784
952
|
*/
|
|
1785
953
|
'sales'?: number;
|
|
1786
|
-
/**
|
|
1787
|
-
*
|
|
1788
|
-
* @type {string}
|
|
1789
|
-
* @memberof Product
|
|
1790
|
-
*/
|
|
1791
954
|
'salesStart'?: string;
|
|
1792
|
-
/**
|
|
1793
|
-
*
|
|
1794
|
-
* @type {string}
|
|
1795
|
-
* @memberof Product
|
|
1796
|
-
*/
|
|
1797
955
|
'salesEnd'?: string;
|
|
1798
|
-
/**
|
|
1799
|
-
*
|
|
1800
|
-
* @type {boolean}
|
|
1801
|
-
* @memberof Product
|
|
1802
|
-
*/
|
|
1803
956
|
'includeInDataFeeds'?: boolean;
|
|
1804
957
|
/**
|
|
1805
958
|
* For use with the Shopify integration. The Shopify product ID that this product is linked to.
|
|
1806
|
-
* @type {number}
|
|
1807
|
-
* @memberof Product
|
|
1808
959
|
*/
|
|
1809
960
|
'shopifyId'?: number | null;
|
|
1810
|
-
/**
|
|
1811
|
-
*
|
|
1812
|
-
* @type {ProductWarehouseProduct}
|
|
1813
|
-
* @memberof Product
|
|
1814
|
-
*/
|
|
1815
961
|
'warehouseProduct'?: ProductWarehouseProduct;
|
|
1816
962
|
/**
|
|
1817
963
|
* Key/value pairs that can be used to store additional information about the product
|
|
1818
|
-
* @type {Array<MetaField>}
|
|
1819
|
-
* @memberof Product
|
|
1820
964
|
*/
|
|
1821
965
|
'metafields'?: Array<MetaField>;
|
|
1822
966
|
/**
|
|
1823
967
|
* a JSON string representing the personalization template for the product
|
|
1824
|
-
* @type {string}
|
|
1825
|
-
* @memberof Product
|
|
1826
968
|
*/
|
|
1827
969
|
'personalizationTemplate'?: string;
|
|
1828
970
|
/**
|
|
1829
971
|
* History of AI optimisations performed on the product
|
|
1830
|
-
* @type {Array<OptimisationHistoryItem>}
|
|
1831
|
-
* @memberof Product
|
|
1832
972
|
*/
|
|
1833
973
|
'optimisationHistory'?: Array<OptimisationHistoryItem>;
|
|
1834
|
-
/**
|
|
1835
|
-
*
|
|
1836
|
-
* @type {Array<UpdateProductsRequestProductsInnerIntegrationConnectionsInner>}
|
|
1837
|
-
* @memberof Product
|
|
1838
|
-
*/
|
|
1839
974
|
'integrationConnections'?: Array<UpdateProductsRequestProductsInnerIntegrationConnectionsInner>;
|
|
1840
975
|
}
|
|
1841
|
-
/**
|
|
1842
|
-
*
|
|
1843
|
-
* @export
|
|
1844
|
-
* @interface ProductAdditionalFilesInner
|
|
1845
|
-
*/
|
|
1846
976
|
export interface ProductAdditionalFilesInner {
|
|
1847
977
|
/**
|
|
1848
978
|
* Unique object identifier
|
|
1849
|
-
* @type {string}
|
|
1850
|
-
* @memberof ProductAdditionalFilesInner
|
|
1851
979
|
*/
|
|
1852
980
|
'id'?: string;
|
|
1853
981
|
/**
|
|
1854
982
|
* File URL
|
|
1855
|
-
* @type {string}
|
|
1856
|
-
* @memberof ProductAdditionalFilesInner
|
|
1857
983
|
*/
|
|
1858
984
|
'src'?: string;
|
|
1859
985
|
}
|
|
1860
|
-
/**
|
|
1861
|
-
*
|
|
1862
|
-
* @export
|
|
1863
|
-
* @interface ProductApplicationSetsInner
|
|
1864
|
-
*/
|
|
1865
986
|
export interface ProductApplicationSetsInner {
|
|
1866
987
|
/**
|
|
1867
988
|
* Unique object identifier
|
|
1868
|
-
* @type {string}
|
|
1869
|
-
* @memberof ProductApplicationSetsInner
|
|
1870
989
|
*/
|
|
1871
990
|
'id'?: string;
|
|
1872
991
|
/**
|
|
1873
992
|
* A reference to the application set resource location
|
|
1874
|
-
* @type {string}
|
|
1875
|
-
* @memberof ProductApplicationSetsInner
|
|
1876
993
|
*/
|
|
1877
994
|
'ref'?: string;
|
|
1878
995
|
/**
|
|
1879
996
|
* Name of the application set
|
|
1880
|
-
* @type {string}
|
|
1881
|
-
* @memberof ProductApplicationSetsInner
|
|
1882
997
|
*/
|
|
1883
998
|
'name'?: string;
|
|
1884
999
|
}
|
|
1885
|
-
/**
|
|
1886
|
-
*
|
|
1887
|
-
* @export
|
|
1888
|
-
* @interface ProductWarehouseProduct
|
|
1889
|
-
*/
|
|
1890
1000
|
export interface ProductWarehouseProduct {
|
|
1891
1001
|
/**
|
|
1892
1002
|
* Unique object identifier
|
|
1893
|
-
* @type {string}
|
|
1894
|
-
* @memberof ProductWarehouseProduct
|
|
1895
1003
|
*/
|
|
1896
1004
|
'id'?: string;
|
|
1897
1005
|
/**
|
|
1898
1006
|
* Reference to the product in the Global Fulfillment Network (GFN) catalog that will be used as a base for this product. A list of available products for the given project can be obtained from the GFN Catalog API.
|
|
1899
|
-
* @type {string}
|
|
1900
|
-
* @memberof ProductWarehouseProduct
|
|
1901
1007
|
*/
|
|
1902
1008
|
'gfnProductRef'?: string;
|
|
1903
1009
|
}
|
|
1904
|
-
/**
|
|
1905
|
-
*
|
|
1906
|
-
* @export
|
|
1907
|
-
* @interface ProductsResponse
|
|
1908
|
-
*/
|
|
1909
1010
|
export interface ProductsResponse {
|
|
1910
|
-
/**
|
|
1911
|
-
*
|
|
1912
|
-
* @type {Array<Product>}
|
|
1913
|
-
* @memberof ProductsResponse
|
|
1914
|
-
*/
|
|
1915
1011
|
'products'?: Array<Product>;
|
|
1916
1012
|
/**
|
|
1917
1013
|
* The token referencing the next page number
|
|
1918
|
-
* @type {number}
|
|
1919
|
-
* @memberof ProductsResponse
|
|
1920
1014
|
*/
|
|
1921
1015
|
'nextPageToken'?: number | null;
|
|
1922
1016
|
}
|
|
1923
1017
|
/**
|
|
1924
1018
|
* SEO metadata for the product
|
|
1925
|
-
* @export
|
|
1926
|
-
* @interface SEOMetadata
|
|
1927
1019
|
*/
|
|
1928
1020
|
export interface SEOMetadata {
|
|
1929
1021
|
/**
|
|
1930
1022
|
* Meta title for the product. This appears in search engine results and social shares. If not provided, the product title will be used.
|
|
1931
|
-
* @type {string}
|
|
1932
|
-
* @memberof SEOMetadata
|
|
1933
1023
|
*/
|
|
1934
1024
|
'title'?: string;
|
|
1935
1025
|
/**
|
|
1936
1026
|
* Meta description for the product. This appears in search engine results and social shares. If not provided, the product description will be used.
|
|
1937
|
-
* @type {string}
|
|
1938
|
-
* @memberof SEOMetadata
|
|
1939
1027
|
*/
|
|
1940
1028
|
'description'?: string | null;
|
|
1941
1029
|
}
|
|
1942
1030
|
/**
|
|
1943
1031
|
* Discounted price including tax.
|
|
1944
|
-
* @export
|
|
1945
|
-
* @interface SalePrice
|
|
1946
1032
|
*/
|
|
1947
1033
|
export interface SalePrice {
|
|
1948
1034
|
/**
|
|
1949
1035
|
* Discounted price including tax in the specified currency.
|
|
1950
|
-
* @type {number}
|
|
1951
|
-
* @memberof SalePrice
|
|
1952
1036
|
*/
|
|
1953
1037
|
'amount': number;
|
|
1954
1038
|
/**
|
|
1955
1039
|
* Currency code for the currency the sale price is valued in.
|
|
1956
|
-
* @type {string}
|
|
1957
|
-
* @memberof SalePrice
|
|
1958
1040
|
*/
|
|
1959
1041
|
'currencyCode': SalePriceCurrencyCodeEnum;
|
|
1960
1042
|
}
|
|
@@ -1965,130 +1047,67 @@ export const SalePriceCurrencyCodeEnum = {
|
|
|
1965
1047
|
|
|
1966
1048
|
export type SalePriceCurrencyCodeEnum = typeof SalePriceCurrencyCodeEnum[keyof typeof SalePriceCurrencyCodeEnum];
|
|
1967
1049
|
|
|
1968
|
-
/**
|
|
1969
|
-
*
|
|
1970
|
-
* @export
|
|
1971
|
-
* @interface SeoOptimiseProducts202Response
|
|
1972
|
-
*/
|
|
1973
1050
|
export interface SeoOptimiseProducts202Response {
|
|
1974
1051
|
/**
|
|
1975
1052
|
* A message describing the optimisation status
|
|
1976
|
-
* @type {string}
|
|
1977
|
-
* @memberof SeoOptimiseProducts202Response
|
|
1978
1053
|
*/
|
|
1979
1054
|
'message'?: string;
|
|
1980
1055
|
}
|
|
1981
|
-
/**
|
|
1982
|
-
*
|
|
1983
|
-
* @export
|
|
1984
|
-
* @interface SeoOptimiseProductsRequest
|
|
1985
|
-
*/
|
|
1986
1056
|
export interface SeoOptimiseProductsRequest {
|
|
1987
1057
|
/**
|
|
1988
1058
|
* A set of product IDs to AI SEO optimise.
|
|
1989
|
-
* @type {Array<string>}
|
|
1990
|
-
* @memberof SeoOptimiseProductsRequest
|
|
1991
1059
|
*/
|
|
1992
1060
|
'ids'?: Array<string>;
|
|
1993
1061
|
/**
|
|
1994
1062
|
* If provided, only the specified fields will be updated.
|
|
1995
|
-
* @type {Array<string>}
|
|
1996
|
-
* @memberof SeoOptimiseProductsRequest
|
|
1997
1063
|
*/
|
|
1998
1064
|
'fields'?: Array<string>;
|
|
1999
1065
|
}
|
|
2000
|
-
/**
|
|
2001
|
-
*
|
|
2002
|
-
* @export
|
|
2003
|
-
* @interface Stock
|
|
2004
|
-
*/
|
|
2005
1066
|
export interface Stock {
|
|
2006
|
-
/**
|
|
2007
|
-
*
|
|
2008
|
-
* @type {number}
|
|
2009
|
-
* @memberof Stock
|
|
2010
|
-
*/
|
|
2011
1067
|
'level'?: number;
|
|
2012
|
-
/**
|
|
2013
|
-
*
|
|
2014
|
-
* @type {Array<Location>}
|
|
2015
|
-
* @memberof Stock
|
|
2016
|
-
*/
|
|
2017
1068
|
'locations'?: Array<Location>;
|
|
2018
1069
|
}
|
|
2019
|
-
/**
|
|
2020
|
-
*
|
|
2021
|
-
* @export
|
|
2022
|
-
* @interface TargetSearchPhraseData
|
|
2023
|
-
*/
|
|
2024
1070
|
export interface TargetSearchPhraseData {
|
|
2025
1071
|
/**
|
|
2026
1072
|
* The primary target search phrase for the product that you wish to rank for in search engine results.
|
|
2027
|
-
* @type {string}
|
|
2028
|
-
* @memberof TargetSearchPhraseData
|
|
2029
1073
|
*/
|
|
2030
1074
|
'targetSearchPhrase'?: string;
|
|
2031
1075
|
/**
|
|
2032
1076
|
* Synonyms for the target search phrase.
|
|
2033
|
-
* @type {Array<string>}
|
|
2034
|
-
* @memberof TargetSearchPhraseData
|
|
2035
1077
|
*/
|
|
2036
1078
|
'targetSearchPhraseSynonyms'?: Array<string>;
|
|
2037
1079
|
}
|
|
2038
|
-
/**
|
|
2039
|
-
*
|
|
2040
|
-
* @export
|
|
2041
|
-
* @interface TextApplicationProperties
|
|
2042
|
-
*/
|
|
2043
1080
|
export interface TextApplicationProperties {
|
|
2044
|
-
/**
|
|
2045
|
-
*
|
|
2046
|
-
* @type {TextApplicationPropertiesPosition}
|
|
2047
|
-
* @memberof TextApplicationProperties
|
|
2048
|
-
*/
|
|
2049
1081
|
'position'?: TextApplicationPropertiesPosition;
|
|
2050
|
-
/**
|
|
2051
|
-
*
|
|
2052
|
-
* @type {ApplicationPropertiesPositionInference}
|
|
2053
|
-
* @memberof TextApplicationProperties
|
|
2054
|
-
*/
|
|
2055
1082
|
'positionInference'?: ApplicationPropertiesPositionInference | null;
|
|
2056
1083
|
/**
|
|
2057
1084
|
* An array of text lines.
|
|
2058
|
-
* @type {Array<string>}
|
|
2059
|
-
* @memberof TextApplicationProperties
|
|
2060
1085
|
*/
|
|
2061
1086
|
'lines'?: Array<string>;
|
|
2062
1087
|
/**
|
|
2063
1088
|
* The font to be used for the text. This font must be available in the PodOS font library.
|
|
2064
|
-
* @type {string}
|
|
2065
|
-
* @memberof TextApplicationProperties
|
|
2066
1089
|
*/
|
|
2067
1090
|
'font'?: string;
|
|
2068
1091
|
/**
|
|
2069
1092
|
* The size of the text in pixels.
|
|
2070
|
-
* @type {number}
|
|
2071
|
-
* @memberof TextApplicationProperties
|
|
2072
1093
|
*/
|
|
2073
1094
|
'fontSize'?: number;
|
|
2074
1095
|
/**
|
|
2075
1096
|
* The weight of the text. This must be a valid CSS font-weight value.
|
|
2076
|
-
* @type {string}
|
|
2077
|
-
* @memberof TextApplicationProperties
|
|
2078
1097
|
*/
|
|
2079
1098
|
'fontWeight'?: TextApplicationPropertiesFontWeightEnum;
|
|
2080
1099
|
/**
|
|
2081
1100
|
* The style of the text. This must be a valid CSS font-style value.
|
|
2082
|
-
* @type {string}
|
|
2083
|
-
* @memberof TextApplicationProperties
|
|
2084
1101
|
*/
|
|
2085
1102
|
'fontStyle'?: TextApplicationPropertiesFontStyleEnum;
|
|
2086
1103
|
/**
|
|
2087
1104
|
* The colour of the text in hex format.
|
|
2088
|
-
* @type {string}
|
|
2089
|
-
* @memberof TextApplicationProperties
|
|
2090
1105
|
*/
|
|
2091
1106
|
'color'?: string;
|
|
1107
|
+
/**
|
|
1108
|
+
* The rotation of the text in degrees.
|
|
1109
|
+
*/
|
|
1110
|
+
'rotation'?: number;
|
|
2092
1111
|
}
|
|
2093
1112
|
|
|
2094
1113
|
export const TextApplicationPropertiesFontWeightEnum = {
|
|
@@ -2107,29 +1126,15 @@ export const TextApplicationPropertiesFontStyleEnum = {
|
|
|
2107
1126
|
|
|
2108
1127
|
export type TextApplicationPropertiesFontStyleEnum = typeof TextApplicationPropertiesFontStyleEnum[keyof typeof TextApplicationPropertiesFontStyleEnum];
|
|
2109
1128
|
|
|
2110
|
-
/**
|
|
2111
|
-
*
|
|
2112
|
-
* @export
|
|
2113
|
-
* @interface TextApplicationPropertiesPersonalization
|
|
2114
|
-
*/
|
|
2115
1129
|
export interface TextApplicationPropertiesPersonalization {
|
|
2116
1130
|
/**
|
|
2117
1131
|
* The label to be displayed on the personalization field.
|
|
2118
|
-
* @type {string}
|
|
2119
|
-
* @memberof TextApplicationPropertiesPersonalization
|
|
2120
1132
|
*/
|
|
2121
1133
|
'label'?: string;
|
|
2122
1134
|
/**
|
|
2123
1135
|
* The type of the personalization field
|
|
2124
|
-
* @type {string}
|
|
2125
|
-
* @memberof TextApplicationPropertiesPersonalization
|
|
2126
1136
|
*/
|
|
2127
1137
|
'type'?: TextApplicationPropertiesPersonalizationTypeEnum | null;
|
|
2128
|
-
/**
|
|
2129
|
-
*
|
|
2130
|
-
* @type {TextApplicationPropertiesPersonalizationRules}
|
|
2131
|
-
* @memberof TextApplicationPropertiesPersonalization
|
|
2132
|
-
*/
|
|
2133
1138
|
'rules'?: TextApplicationPropertiesPersonalizationRules;
|
|
2134
1139
|
}
|
|
2135
1140
|
|
|
@@ -2140,533 +1145,289 @@ export const TextApplicationPropertiesPersonalizationTypeEnum = {
|
|
|
2140
1145
|
|
|
2141
1146
|
export type TextApplicationPropertiesPersonalizationTypeEnum = typeof TextApplicationPropertiesPersonalizationTypeEnum[keyof typeof TextApplicationPropertiesPersonalizationTypeEnum];
|
|
2142
1147
|
|
|
2143
|
-
/**
|
|
2144
|
-
*
|
|
2145
|
-
* @export
|
|
2146
|
-
* @interface TextApplicationPropertiesPersonalizationRules
|
|
2147
|
-
*/
|
|
2148
1148
|
export interface TextApplicationPropertiesPersonalizationRules {
|
|
2149
1149
|
/**
|
|
2150
1150
|
* The maximum length of the text, in characters.
|
|
2151
|
-
* @type {number}
|
|
2152
|
-
* @memberof TextApplicationPropertiesPersonalizationRules
|
|
2153
1151
|
*/
|
|
2154
1152
|
'maxLength'?: number;
|
|
2155
1153
|
/**
|
|
2156
1154
|
* If true, suspected profanities will be replaced by *. Only valid when metadata.personalization.type is \"text\"
|
|
2157
|
-
* @type {boolean}
|
|
2158
|
-
* @memberof TextApplicationPropertiesPersonalizationRules
|
|
2159
1155
|
*/
|
|
2160
1156
|
'profanityFilter'?: boolean;
|
|
2161
1157
|
/**
|
|
2162
1158
|
* If true, and the inputted text is longer than the original text, the font size will be reduced to keep the text within the application\'s original bounds.
|
|
2163
|
-
* @type {boolean}
|
|
2164
|
-
* @memberof TextApplicationPropertiesPersonalizationRules
|
|
2165
1159
|
*/
|
|
2166
1160
|
'scaleToFit'?: boolean;
|
|
2167
1161
|
/**
|
|
2168
1162
|
* The maximum value of the number. Only valid when metadata.personalization.type is \"number\"
|
|
2169
|
-
* @type {number}
|
|
2170
|
-
* @memberof TextApplicationPropertiesPersonalizationRules
|
|
2171
1163
|
*/
|
|
2172
1164
|
'maxValue'?: number;
|
|
2173
1165
|
/**
|
|
2174
1166
|
* The minimum value of the number. Only valid when metadata.personalization.type is \"number\"
|
|
2175
|
-
* @type {number}
|
|
2176
|
-
* @memberof TextApplicationPropertiesPersonalizationRules
|
|
2177
1167
|
*/
|
|
2178
1168
|
'minValue'?: number;
|
|
2179
1169
|
/**
|
|
2180
1170
|
* If the entered number is below the specified digits it will be padded with 0s. E.g. 7 will become 007 when pad is 3. Only valid when metadata.personalization.type is number
|
|
2181
|
-
* @type {number}
|
|
2182
|
-
* @memberof TextApplicationPropertiesPersonalizationRules
|
|
2183
1171
|
*/
|
|
2184
1172
|
'pad'?: number;
|
|
2185
1173
|
}
|
|
2186
|
-
/**
|
|
2187
|
-
*
|
|
2188
|
-
* @export
|
|
2189
|
-
* @interface TextApplicationPropertiesPosition
|
|
2190
|
-
*/
|
|
2191
1174
|
export interface TextApplicationPropertiesPosition {
|
|
2192
1175
|
/**
|
|
2193
1176
|
* The x position of the application in pixels.
|
|
2194
|
-
* @type {number}
|
|
2195
|
-
* @memberof TextApplicationPropertiesPosition
|
|
2196
1177
|
*/
|
|
2197
1178
|
'x': number;
|
|
2198
1179
|
/**
|
|
2199
1180
|
* The y position of the application in pixels.
|
|
2200
|
-
* @type {number}
|
|
2201
|
-
* @memberof TextApplicationPropertiesPosition
|
|
2202
1181
|
*/
|
|
2203
1182
|
'y': number;
|
|
2204
1183
|
/**
|
|
2205
1184
|
* The z layer of the application. This doesn\'t affect printing, but is used for ordering the applications when displaying them in a mockup.
|
|
2206
|
-
* @type {number}
|
|
2207
|
-
* @memberof TextApplicationPropertiesPosition
|
|
2208
1185
|
*/
|
|
2209
1186
|
'z'?: number;
|
|
2210
1187
|
}
|
|
2211
|
-
/**
|
|
2212
|
-
*
|
|
2213
|
-
* @export
|
|
2214
|
-
* @interface UpdateApplicationGroupRequest
|
|
2215
|
-
*/
|
|
2216
1188
|
export interface UpdateApplicationGroupRequest {
|
|
2217
1189
|
/**
|
|
2218
1190
|
* Name of the application group
|
|
2219
|
-
* @type {string}
|
|
2220
|
-
* @memberof UpdateApplicationGroupRequest
|
|
2221
1191
|
*/
|
|
2222
1192
|
'name'?: string;
|
|
2223
1193
|
}
|
|
2224
|
-
/**
|
|
2225
|
-
*
|
|
2226
|
-
* @export
|
|
2227
|
-
* @interface UpdateApplicationSetRequest
|
|
2228
|
-
*/
|
|
2229
1194
|
export interface UpdateApplicationSetRequest {
|
|
2230
1195
|
/**
|
|
2231
1196
|
* Name of the application set
|
|
2232
|
-
* @type {string}
|
|
2233
|
-
* @memberof UpdateApplicationSetRequest
|
|
2234
1197
|
*/
|
|
2235
1198
|
'name'?: string;
|
|
2236
1199
|
/**
|
|
2237
1200
|
* Description of the application set
|
|
2238
|
-
* @type {string}
|
|
2239
|
-
* @memberof UpdateApplicationSetRequest
|
|
2240
1201
|
*/
|
|
2241
1202
|
'description'?: string;
|
|
2242
1203
|
/**
|
|
2243
1204
|
* The width, in pixels of the images in the set
|
|
2244
|
-
* @type {number}
|
|
2245
|
-
* @memberof UpdateApplicationSetRequest
|
|
2246
1205
|
*/
|
|
2247
1206
|
'width'?: number;
|
|
2248
1207
|
/**
|
|
2249
1208
|
* The height, in pixels of the images in the set
|
|
2250
|
-
* @type {number}
|
|
2251
|
-
* @memberof UpdateApplicationSetRequest
|
|
2252
1209
|
*/
|
|
2253
1210
|
'height'?: number;
|
|
2254
1211
|
/**
|
|
2255
1212
|
* The DPI used when printing the images in the set
|
|
2256
|
-
* @type {number}
|
|
2257
|
-
* @memberof UpdateApplicationSetRequest
|
|
2258
1213
|
*/
|
|
2259
1214
|
'dpi'?: number;
|
|
2260
1215
|
/**
|
|
2261
1216
|
* List of application set records
|
|
2262
|
-
* @type {Array<UpdateApplicationSetRequestRecordsInner>}
|
|
2263
|
-
* @memberof UpdateApplicationSetRequest
|
|
2264
1217
|
*/
|
|
2265
1218
|
'records'?: Array<UpdateApplicationSetRequestRecordsInner>;
|
|
2266
1219
|
}
|
|
2267
|
-
/**
|
|
2268
|
-
*
|
|
2269
|
-
* @export
|
|
2270
|
-
* @interface UpdateApplicationSetRequestRecordsInner
|
|
2271
|
-
*/
|
|
2272
1220
|
export interface UpdateApplicationSetRequestRecordsInner {
|
|
2273
1221
|
/**
|
|
2274
1222
|
* List of attributes this record applies to. Providing an empty array will apply the application set to all variants.
|
|
2275
|
-
* @type {Array<UpdateApplicationSetRequestRecordsInnerAttributesInner>}
|
|
2276
|
-
* @memberof UpdateApplicationSetRequestRecordsInner
|
|
2277
1223
|
*/
|
|
2278
1224
|
'attributes'?: Array<UpdateApplicationSetRequestRecordsInnerAttributesInner>;
|
|
2279
1225
|
/**
|
|
2280
1226
|
* List of applications for this record
|
|
2281
|
-
* @type {Array<Application>}
|
|
2282
|
-
* @memberof UpdateApplicationSetRequestRecordsInner
|
|
2283
1227
|
*/
|
|
2284
1228
|
'applications'?: Array<Application>;
|
|
2285
1229
|
}
|
|
2286
|
-
/**
|
|
2287
|
-
*
|
|
2288
|
-
* @export
|
|
2289
|
-
* @interface UpdateApplicationSetRequestRecordsInnerAttributesInner
|
|
2290
|
-
*/
|
|
2291
1230
|
export interface UpdateApplicationSetRequestRecordsInnerAttributesInner {
|
|
2292
1231
|
/**
|
|
2293
1232
|
* The name of the option type. e.g. Size, Colour
|
|
2294
|
-
* @type {string}
|
|
2295
|
-
* @memberof UpdateApplicationSetRequestRecordsInnerAttributesInner
|
|
2296
1233
|
*/
|
|
2297
1234
|
'name'?: string;
|
|
2298
1235
|
/**
|
|
2299
1236
|
* The value of the option this record applies to
|
|
2300
|
-
* @type {string}
|
|
2301
|
-
* @memberof UpdateApplicationSetRequestRecordsInnerAttributesInner
|
|
2302
1237
|
*/
|
|
2303
1238
|
'value'?: string;
|
|
2304
1239
|
}
|
|
2305
|
-
/**
|
|
2306
|
-
*
|
|
2307
|
-
* @export
|
|
2308
|
-
* @interface UpdateProductRequest
|
|
2309
|
-
*/
|
|
2310
1240
|
export interface UpdateProductRequest {
|
|
2311
1241
|
/**
|
|
2312
1242
|
* Reference to the product in the GFN catalog that will be used as a base for this product. A list of available products for the given project can be obtained from the GFN Catalog API.
|
|
2313
|
-
* @type {string}
|
|
2314
|
-
* @memberof UpdateProductRequest
|
|
2315
1243
|
*/
|
|
2316
1244
|
'gfnProductRef'?: string;
|
|
2317
1245
|
/**
|
|
2318
1246
|
* Product title
|
|
2319
|
-
* @type {string}
|
|
2320
|
-
* @memberof UpdateProductRequest
|
|
2321
1247
|
*/
|
|
2322
1248
|
'title'?: string;
|
|
2323
1249
|
/**
|
|
2324
1250
|
* Product description
|
|
2325
|
-
* @type {string}
|
|
2326
|
-
* @memberof UpdateProductRequest
|
|
2327
1251
|
*/
|
|
2328
1252
|
'description'?: string;
|
|
2329
1253
|
/**
|
|
2330
1254
|
* Whether the product is enabled upon creation.
|
|
2331
|
-
* @type {boolean}
|
|
2332
|
-
* @memberof UpdateProductRequest
|
|
2333
1255
|
*/
|
|
2334
1256
|
'enabled'?: boolean;
|
|
2335
1257
|
/**
|
|
2336
1258
|
* A custom URL slug for the product. This must be unique for each product on the project.
|
|
2337
|
-
* @type {string}
|
|
2338
|
-
* @memberof UpdateProductRequest
|
|
2339
1259
|
*/
|
|
2340
1260
|
'slug'?: string;
|
|
2341
1261
|
/**
|
|
2342
1262
|
* The brand of the product.
|
|
2343
|
-
* @type {string}
|
|
2344
|
-
* @memberof UpdateProductRequest
|
|
2345
1263
|
*/
|
|
2346
1264
|
'brand'?: string | null;
|
|
2347
|
-
/**
|
|
2348
|
-
*
|
|
2349
|
-
* @type {UpdateProductsRequestProductsInnerSeoMetadata}
|
|
2350
|
-
* @memberof UpdateProductRequest
|
|
2351
|
-
*/
|
|
2352
1265
|
'seoMetadata'?: UpdateProductsRequestProductsInnerSeoMetadata;
|
|
2353
1266
|
/**
|
|
2354
1267
|
* The primary target search phrase for the product that you wish to rank for in search engine results. **Note:** This field requires the website integration
|
|
2355
|
-
* @type {string}
|
|
2356
|
-
* @memberof UpdateProductRequest
|
|
2357
1268
|
*/
|
|
2358
1269
|
'targetSearchPhrase'?: string | null;
|
|
2359
1270
|
/**
|
|
2360
1271
|
* Synonyms for the target search phrase. **Note:** This field requires the website integration
|
|
2361
|
-
* @type {Array<string>}
|
|
2362
|
-
* @memberof UpdateProductRequest
|
|
2363
1272
|
*/
|
|
2364
1273
|
'targetSearchPhraseSynonyms'?: Array<string> | null;
|
|
2365
1274
|
/**
|
|
2366
1275
|
* Additional product tags used for searching and filtering.
|
|
2367
|
-
* @type {Array<string>}
|
|
2368
|
-
* @memberof UpdateProductRequest
|
|
2369
1276
|
*/
|
|
2370
1277
|
'tags'?: Array<string>;
|
|
2371
1278
|
/**
|
|
2372
1279
|
* Additional product tags used for internal searching and filtering.
|
|
2373
|
-
* @type {Array<string>}
|
|
2374
|
-
* @memberof UpdateProductRequest
|
|
2375
1280
|
*/
|
|
2376
1281
|
'internalTags'?: Array<string>;
|
|
2377
1282
|
/**
|
|
2378
1283
|
* Variants
|
|
2379
|
-
* @type {Array<CreateProductVariant>}
|
|
2380
|
-
* @memberof UpdateProductRequest
|
|
2381
1284
|
*/
|
|
2382
1285
|
'variants'?: Array<CreateProductVariant>;
|
|
2383
1286
|
/**
|
|
2384
1287
|
* A list of product uuids to be in this bundle. Only valid if the product is already a bundle.
|
|
2385
|
-
* @type {Array<string>}
|
|
2386
|
-
* @memberof UpdateProductRequest
|
|
2387
1288
|
*/
|
|
2388
1289
|
'bundleItems'?: Array<string>;
|
|
2389
|
-
/**
|
|
2390
|
-
*
|
|
2391
|
-
* @type {Price}
|
|
2392
|
-
* @memberof UpdateProductRequest
|
|
2393
|
-
*/
|
|
2394
1290
|
'retailPrice'?: Price;
|
|
2395
|
-
/**
|
|
2396
|
-
*
|
|
2397
|
-
* @type {SalePrice}
|
|
2398
|
-
* @memberof UpdateProductRequest
|
|
2399
|
-
*/
|
|
2400
1291
|
'salePrice'?: SalePrice | null;
|
|
2401
1292
|
/**
|
|
2402
1293
|
* Images to attach to the product. For example, photos of models using/wearing the product.
|
|
2403
|
-
* @type {Array<ImageFile>}
|
|
2404
|
-
* @memberof UpdateProductRequest
|
|
2405
1294
|
*/
|
|
2406
1295
|
'images'?: Array<ImageFile>;
|
|
2407
1296
|
/**
|
|
2408
1297
|
* Videos to attach to the product.
|
|
2409
|
-
* @type {Array<VideoFile>}
|
|
2410
|
-
* @memberof UpdateProductRequest
|
|
2411
1298
|
*/
|
|
2412
1299
|
'videos'?: Array<VideoFile>;
|
|
2413
1300
|
/**
|
|
2414
1301
|
* Additional files to attach to the product. For example, original design files e.g. PSD, AI, etc.
|
|
2415
|
-
* @type {Array<AdditionalFile>}
|
|
2416
|
-
* @memberof UpdateProductRequest
|
|
2417
1302
|
*/
|
|
2418
1303
|
'additionalFiles'?: Array<AdditionalFile>;
|
|
2419
1304
|
/**
|
|
2420
1305
|
* List of application set UUIDs to associate with this product
|
|
2421
|
-
* @type {Array<string>}
|
|
2422
|
-
* @memberof UpdateProductRequest
|
|
2423
1306
|
*/
|
|
2424
1307
|
'applicationSets'?: Array<string>;
|
|
2425
1308
|
/**
|
|
2426
1309
|
* Whether the product should be included in data feeds that can be provided to Google, Meta etc for advertising.
|
|
2427
|
-
* @type {boolean}
|
|
2428
|
-
* @memberof UpdateProductRequest
|
|
2429
1310
|
*/
|
|
2430
1311
|
'includeInDataFeeds'?: boolean;
|
|
2431
1312
|
/**
|
|
2432
1313
|
* For use with the Shopify integration. Use this to provide a Shopify product ID to link to an existing Shopify product rather than creating a new one.
|
|
2433
|
-
* @type {number}
|
|
2434
|
-
* @memberof UpdateProductRequest
|
|
2435
1314
|
*/
|
|
2436
1315
|
'shopifyId'?: number | null;
|
|
2437
1316
|
/**
|
|
2438
1317
|
* Key/value pairs that can be used to store additional information about the product
|
|
2439
|
-
* @type {Array<MetaField>}
|
|
2440
|
-
* @memberof UpdateProductRequest
|
|
2441
1318
|
*/
|
|
2442
1319
|
'metafields'?: Array<MetaField>;
|
|
2443
1320
|
/**
|
|
2444
1321
|
* A JSON object that defines the personalization template for the product.
|
|
2445
|
-
* @type {string}
|
|
2446
|
-
* @memberof UpdateProductRequest
|
|
2447
1322
|
*/
|
|
2448
1323
|
'personalizationTemplate'?: string;
|
|
2449
1324
|
/**
|
|
2450
1325
|
* Integration connections for the product
|
|
2451
|
-
* @type {Array<UpdateProductRequestIntegrationConnectionsInner>}
|
|
2452
|
-
* @memberof UpdateProductRequest
|
|
2453
1326
|
*/
|
|
2454
1327
|
'integrationConnections'?: Array<UpdateProductRequestIntegrationConnectionsInner>;
|
|
2455
1328
|
}
|
|
2456
|
-
/**
|
|
2457
|
-
*
|
|
2458
|
-
* @export
|
|
2459
|
-
* @interface UpdateProductRequestIntegrationConnectionsInner
|
|
2460
|
-
*/
|
|
2461
1329
|
export interface UpdateProductRequestIntegrationConnectionsInner {
|
|
2462
1330
|
/**
|
|
2463
1331
|
* Code identifying the integration
|
|
2464
|
-
* @type {string}
|
|
2465
|
-
* @memberof UpdateProductRequestIntegrationConnectionsInner
|
|
2466
1332
|
*/
|
|
2467
1333
|
'integrationCode': string;
|
|
2468
1334
|
/**
|
|
2469
1335
|
* The value of the identifying property on the foreign product
|
|
2470
|
-
* @type {string}
|
|
2471
|
-
* @memberof UpdateProductRequestIntegrationConnectionsInner
|
|
2472
1336
|
*/
|
|
2473
1337
|
'foreignKey': string;
|
|
2474
1338
|
}
|
|
2475
|
-
/**
|
|
2476
|
-
*
|
|
2477
|
-
* @export
|
|
2478
|
-
* @interface UpdateProductsRequest
|
|
2479
|
-
*/
|
|
2480
1339
|
export interface UpdateProductsRequest {
|
|
2481
|
-
/**
|
|
2482
|
-
*
|
|
2483
|
-
* @type {Array<UpdateProductsRequestProductsInner>}
|
|
2484
|
-
* @memberof UpdateProductsRequest
|
|
2485
|
-
*/
|
|
2486
1340
|
'products'?: Array<UpdateProductsRequestProductsInner>;
|
|
2487
1341
|
}
|
|
2488
|
-
/**
|
|
2489
|
-
*
|
|
2490
|
-
* @export
|
|
2491
|
-
* @interface UpdateProductsRequestProductsInner
|
|
2492
|
-
*/
|
|
2493
1342
|
export interface UpdateProductsRequestProductsInner {
|
|
2494
1343
|
/**
|
|
2495
1344
|
* Unique object identifier
|
|
2496
|
-
* @type {string}
|
|
2497
|
-
* @memberof UpdateProductsRequestProductsInner
|
|
2498
1345
|
*/
|
|
2499
1346
|
'id': string;
|
|
2500
1347
|
/**
|
|
2501
1348
|
* Product title
|
|
2502
|
-
* @type {string}
|
|
2503
|
-
* @memberof UpdateProductsRequestProductsInner
|
|
2504
1349
|
*/
|
|
2505
1350
|
'title'?: string;
|
|
2506
1351
|
/**
|
|
2507
1352
|
* Product description
|
|
2508
|
-
* @type {string}
|
|
2509
|
-
* @memberof UpdateProductsRequestProductsInner
|
|
2510
1353
|
*/
|
|
2511
1354
|
'description'?: string;
|
|
2512
1355
|
/**
|
|
2513
1356
|
* Whether the product is enabled.
|
|
2514
|
-
* @type {boolean}
|
|
2515
|
-
* @memberof UpdateProductsRequestProductsInner
|
|
2516
1357
|
*/
|
|
2517
1358
|
'enabled'?: boolean;
|
|
2518
1359
|
/**
|
|
2519
1360
|
* The brand of the product.
|
|
2520
|
-
* @type {string}
|
|
2521
|
-
* @memberof UpdateProductsRequestProductsInner
|
|
2522
1361
|
*/
|
|
2523
1362
|
'brand'?: string | null;
|
|
2524
|
-
/**
|
|
2525
|
-
*
|
|
2526
|
-
* @type {UpdateProductsRequestProductsInnerSeoMetadata}
|
|
2527
|
-
* @memberof UpdateProductsRequestProductsInner
|
|
2528
|
-
*/
|
|
2529
1363
|
'seoMetadata'?: UpdateProductsRequestProductsInnerSeoMetadata;
|
|
2530
1364
|
/**
|
|
2531
1365
|
* The primary target search phrase for the product that you wish to rank for in search engine results. **Note:** This field requires the website integration
|
|
2532
|
-
* @type {string}
|
|
2533
|
-
* @memberof UpdateProductsRequestProductsInner
|
|
2534
1366
|
*/
|
|
2535
1367
|
'targetSearchPhrase'?: string;
|
|
2536
1368
|
/**
|
|
2537
1369
|
* Synonyms for the target search phrase. **Note:** This field requires the website integration
|
|
2538
|
-
* @type {Array<string>}
|
|
2539
|
-
* @memberof UpdateProductsRequestProductsInner
|
|
2540
1370
|
*/
|
|
2541
1371
|
'targetSearchPhraseSynonyms'?: Array<string>;
|
|
2542
1372
|
/**
|
|
2543
1373
|
* Additional product tags used for searching and filtering.
|
|
2544
|
-
* @type {Array<string>}
|
|
2545
|
-
* @memberof UpdateProductsRequestProductsInner
|
|
2546
1374
|
*/
|
|
2547
1375
|
'tags'?: Array<string>;
|
|
2548
1376
|
/**
|
|
2549
1377
|
* List of variants to update.
|
|
2550
|
-
* @type {Array<UpdateProductsRequestProductsInnerVariantsInner>}
|
|
2551
|
-
* @memberof UpdateProductsRequestProductsInner
|
|
2552
1378
|
*/
|
|
2553
1379
|
'variants'?: Array<UpdateProductsRequestProductsInnerVariantsInner>;
|
|
2554
1380
|
/**
|
|
2555
1381
|
* Whether the product should be included in data feeds that can be provided to Google, Meta etc for advertising.
|
|
2556
|
-
* @type {boolean}
|
|
2557
|
-
* @memberof UpdateProductsRequestProductsInner
|
|
2558
1382
|
*/
|
|
2559
1383
|
'includeInDataFeeds'?: boolean;
|
|
2560
1384
|
/**
|
|
2561
1385
|
* For use with the Shopify integration. Use this to provide a Shopify product ID to link to an existing Shopify product rather than creating a new one.
|
|
2562
|
-
* @type {number}
|
|
2563
|
-
* @memberof UpdateProductsRequestProductsInner
|
|
2564
1386
|
*/
|
|
2565
1387
|
'shopifyId'?: number | null;
|
|
2566
|
-
/**
|
|
2567
|
-
*
|
|
2568
|
-
* @type {Array<UpdateProductsRequestProductsInnerIntegrationConnectionsInner>}
|
|
2569
|
-
* @memberof UpdateProductsRequestProductsInner
|
|
2570
|
-
*/
|
|
2571
1388
|
'integrationConnections'?: Array<UpdateProductsRequestProductsInnerIntegrationConnectionsInner>;
|
|
2572
1389
|
}
|
|
2573
|
-
/**
|
|
2574
|
-
*
|
|
2575
|
-
* @export
|
|
2576
|
-
* @interface UpdateProductsRequestProductsInnerIntegrationConnectionsInner
|
|
2577
|
-
*/
|
|
2578
1390
|
export interface UpdateProductsRequestProductsInnerIntegrationConnectionsInner {
|
|
2579
|
-
/**
|
|
2580
|
-
*
|
|
2581
|
-
* @type {string}
|
|
2582
|
-
* @memberof UpdateProductsRequestProductsInnerIntegrationConnectionsInner
|
|
2583
|
-
*/
|
|
2584
1391
|
'integrationCode': string;
|
|
2585
1392
|
/**
|
|
2586
1393
|
* The value of the identifying property on the foreign product
|
|
2587
|
-
* @type {string}
|
|
2588
|
-
* @memberof UpdateProductsRequestProductsInnerIntegrationConnectionsInner
|
|
2589
1394
|
*/
|
|
2590
1395
|
'foreignKey': string;
|
|
2591
1396
|
}
|
|
2592
|
-
/**
|
|
2593
|
-
*
|
|
2594
|
-
* @export
|
|
2595
|
-
* @interface UpdateProductsRequestProductsInnerSeoMetadata
|
|
2596
|
-
*/
|
|
2597
1397
|
export interface UpdateProductsRequestProductsInnerSeoMetadata {
|
|
2598
1398
|
/**
|
|
2599
1399
|
* Meta title for the product. This appears in search engine results and social shares. If not provided, the product title will be used.
|
|
2600
|
-
* @type {string}
|
|
2601
|
-
* @memberof UpdateProductsRequestProductsInnerSeoMetadata
|
|
2602
1400
|
*/
|
|
2603
1401
|
'title'?: string;
|
|
2604
1402
|
/**
|
|
2605
1403
|
* Meta description for the product. This appears in search engine results and social shares. If not provided, the product description will be used.
|
|
2606
|
-
* @type {string}
|
|
2607
|
-
* @memberof UpdateProductsRequestProductsInnerSeoMetadata
|
|
2608
1404
|
*/
|
|
2609
1405
|
'description'?: string | null;
|
|
2610
1406
|
}
|
|
2611
|
-
/**
|
|
2612
|
-
*
|
|
2613
|
-
* @export
|
|
2614
|
-
* @interface UpdateProductsRequestProductsInnerVariantsInner
|
|
2615
|
-
*/
|
|
2616
1407
|
export interface UpdateProductsRequestProductsInnerVariantsInner {
|
|
2617
1408
|
/**
|
|
2618
1409
|
* Attributes associated to a variant such as Colour and Size.
|
|
2619
|
-
* @type {Array<UpdateProductsRequestProductsInnerVariantsInnerAttributesInner>}
|
|
2620
|
-
* @memberof UpdateProductsRequestProductsInnerVariantsInner
|
|
2621
1410
|
*/
|
|
2622
1411
|
'attributes': Array<UpdateProductsRequestProductsInnerVariantsInnerAttributesInner>;
|
|
2623
|
-
/**
|
|
2624
|
-
*
|
|
2625
|
-
* @type {UpdateProductsRequestProductsInnerVariantsInnerRetailPrice}
|
|
2626
|
-
* @memberof UpdateProductsRequestProductsInnerVariantsInner
|
|
2627
|
-
*/
|
|
2628
1412
|
'retailPrice': UpdateProductsRequestProductsInnerVariantsInnerRetailPrice;
|
|
2629
|
-
/**
|
|
2630
|
-
*
|
|
2631
|
-
* @type {UpdateProductsRequestProductsInnerVariantsInnerSalePrice}
|
|
2632
|
-
* @memberof UpdateProductsRequestProductsInnerVariantsInner
|
|
2633
|
-
*/
|
|
2634
1413
|
'salePrice'?: UpdateProductsRequestProductsInnerVariantsInnerSalePrice | null;
|
|
2635
1414
|
/**
|
|
2636
1415
|
* The GTIN (Global Trade Item Number) or EAN (European Article Number) of the variant. Please note that a barcode can only be attached after the Barcodes module has been installed.
|
|
2637
|
-
* @type {string}
|
|
2638
|
-
* @memberof UpdateProductsRequestProductsInnerVariantsInner
|
|
2639
1416
|
*/
|
|
2640
1417
|
'barcode'?: string | null;
|
|
2641
1418
|
/**
|
|
2642
1419
|
* For use with the Shopify integration. Use this to provide a Shopify variant ID to link to an existing Shopify variant rather than creating a new one.
|
|
2643
|
-
* @type {number}
|
|
2644
|
-
* @memberof UpdateProductsRequestProductsInnerVariantsInner
|
|
2645
1420
|
*/
|
|
2646
1421
|
'shopifyId'?: number | null;
|
|
2647
|
-
/**
|
|
2648
|
-
*
|
|
2649
|
-
* @type {Array<UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner>}
|
|
2650
|
-
* @memberof UpdateProductsRequestProductsInnerVariantsInner
|
|
2651
|
-
*/
|
|
2652
1422
|
'integrationConnections'?: Array<UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner>;
|
|
2653
1423
|
}
|
|
2654
|
-
/**
|
|
2655
|
-
*
|
|
2656
|
-
* @export
|
|
2657
|
-
* @interface UpdateProductsRequestProductsInnerVariantsInnerAttributesInner
|
|
2658
|
-
*/
|
|
2659
1424
|
export interface UpdateProductsRequestProductsInnerVariantsInnerAttributesInner {
|
|
2660
1425
|
/**
|
|
2661
1426
|
* Attribute name
|
|
2662
|
-
* @type {string}
|
|
2663
|
-
* @memberof UpdateProductsRequestProductsInnerVariantsInnerAttributesInner
|
|
2664
1427
|
*/
|
|
2665
1428
|
'name': UpdateProductsRequestProductsInnerVariantsInnerAttributesInnerNameEnum;
|
|
2666
1429
|
/**
|
|
2667
1430
|
* Attribute value
|
|
2668
|
-
* @type {string}
|
|
2669
|
-
* @memberof UpdateProductsRequestProductsInnerVariantsInnerAttributesInner
|
|
2670
1431
|
*/
|
|
2671
1432
|
'value': string;
|
|
2672
1433
|
}
|
|
@@ -2678,41 +1439,23 @@ export const UpdateProductsRequestProductsInnerVariantsInnerAttributesInnerNameE
|
|
|
2678
1439
|
|
|
2679
1440
|
export type UpdateProductsRequestProductsInnerVariantsInnerAttributesInnerNameEnum = typeof UpdateProductsRequestProductsInnerVariantsInnerAttributesInnerNameEnum[keyof typeof UpdateProductsRequestProductsInnerVariantsInnerAttributesInnerNameEnum];
|
|
2680
1441
|
|
|
2681
|
-
/**
|
|
2682
|
-
*
|
|
2683
|
-
* @export
|
|
2684
|
-
* @interface UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner
|
|
2685
|
-
*/
|
|
2686
1442
|
export interface UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner {
|
|
2687
|
-
/**
|
|
2688
|
-
*
|
|
2689
|
-
* @type {string}
|
|
2690
|
-
* @memberof UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner
|
|
2691
|
-
*/
|
|
2692
1443
|
'integrationCode': string;
|
|
2693
1444
|
/**
|
|
2694
1445
|
* The value of the identifying property on the foreign variant
|
|
2695
|
-
* @type {string}
|
|
2696
|
-
* @memberof UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner
|
|
2697
1446
|
*/
|
|
2698
1447
|
'foreignKey': string;
|
|
2699
1448
|
}
|
|
2700
1449
|
/**
|
|
2701
1450
|
* Variant retail price including tax.
|
|
2702
|
-
* @export
|
|
2703
|
-
* @interface UpdateProductsRequestProductsInnerVariantsInnerRetailPrice
|
|
2704
1451
|
*/
|
|
2705
1452
|
export interface UpdateProductsRequestProductsInnerVariantsInnerRetailPrice {
|
|
2706
1453
|
/**
|
|
2707
1454
|
* Price including tax in the specified currency.
|
|
2708
|
-
* @type {number}
|
|
2709
|
-
* @memberof UpdateProductsRequestProductsInnerVariantsInnerRetailPrice
|
|
2710
1455
|
*/
|
|
2711
1456
|
'amount': number;
|
|
2712
1457
|
/**
|
|
2713
1458
|
* Currency code for the currency the price is valued in.
|
|
2714
|
-
* @type {string}
|
|
2715
|
-
* @memberof UpdateProductsRequestProductsInnerVariantsInnerRetailPrice
|
|
2716
1459
|
*/
|
|
2717
1460
|
'currencyCode': UpdateProductsRequestProductsInnerVariantsInnerRetailPriceCurrencyCodeEnum;
|
|
2718
1461
|
}
|
|
@@ -2725,20 +1468,14 @@ export type UpdateProductsRequestProductsInnerVariantsInnerRetailPriceCurrencyCo
|
|
|
2725
1468
|
|
|
2726
1469
|
/**
|
|
2727
1470
|
* Variant discounted price including tax.
|
|
2728
|
-
* @export
|
|
2729
|
-
* @interface UpdateProductsRequestProductsInnerVariantsInnerSalePrice
|
|
2730
1471
|
*/
|
|
2731
1472
|
export interface UpdateProductsRequestProductsInnerVariantsInnerSalePrice {
|
|
2732
1473
|
/**
|
|
2733
1474
|
* Discounted price including tax in the specified currency.
|
|
2734
|
-
* @type {number}
|
|
2735
|
-
* @memberof UpdateProductsRequestProductsInnerVariantsInnerSalePrice
|
|
2736
1475
|
*/
|
|
2737
1476
|
'amount': number;
|
|
2738
1477
|
/**
|
|
2739
1478
|
* Currency code for the currency the sale price is valued in.
|
|
2740
|
-
* @type {string}
|
|
2741
|
-
* @memberof UpdateProductsRequestProductsInnerVariantsInnerSalePrice
|
|
2742
1479
|
*/
|
|
2743
1480
|
'currencyCode': UpdateProductsRequestProductsInnerVariantsInnerSalePriceCurrencyCodeEnum;
|
|
2744
1481
|
}
|
|
@@ -2749,276 +1486,108 @@ export const UpdateProductsRequestProductsInnerVariantsInnerSalePriceCurrencyCod
|
|
|
2749
1486
|
|
|
2750
1487
|
export type UpdateProductsRequestProductsInnerVariantsInnerSalePriceCurrencyCodeEnum = typeof UpdateProductsRequestProductsInnerVariantsInnerSalePriceCurrencyCodeEnum[keyof typeof UpdateProductsRequestProductsInnerVariantsInnerSalePriceCurrencyCodeEnum];
|
|
2751
1488
|
|
|
2752
|
-
/**
|
|
2753
|
-
*
|
|
2754
|
-
* @export
|
|
2755
|
-
* @interface Variant
|
|
2756
|
-
*/
|
|
2757
1489
|
export interface Variant {
|
|
2758
1490
|
/**
|
|
2759
1491
|
* Unique object identifier
|
|
2760
|
-
* @type {string}
|
|
2761
|
-
* @memberof Variant
|
|
2762
1492
|
*/
|
|
2763
1493
|
'id'?: string;
|
|
2764
1494
|
/**
|
|
2765
1495
|
* Attributes associated to a variant such as Colour and Size. An attribute can have thumbnail type of `text`, `color`, or `image`. Attribute tags are intended for grouping and filtering, e.g. by a group of colours.
|
|
2766
|
-
* @type {Array<Attribute>}
|
|
2767
|
-
* @memberof Variant
|
|
2768
1496
|
*/
|
|
2769
1497
|
'attributes': Array<Attribute>;
|
|
2770
|
-
/**
|
|
2771
|
-
*
|
|
2772
|
-
* @type {string}
|
|
2773
|
-
* @memberof Variant
|
|
2774
|
-
*/
|
|
2775
1498
|
'sku': string;
|
|
2776
1499
|
/**
|
|
2777
1500
|
* A reference to the variant resource location
|
|
2778
|
-
* @type {string}
|
|
2779
|
-
* @memberof Variant
|
|
2780
1501
|
*/
|
|
2781
1502
|
'ref'?: string;
|
|
2782
|
-
/**
|
|
2783
|
-
*
|
|
2784
|
-
* @type {VariantProduct}
|
|
2785
|
-
* @memberof Variant
|
|
2786
|
-
*/
|
|
2787
1503
|
'product'?: VariantProduct;
|
|
2788
|
-
/**
|
|
2789
|
-
*
|
|
2790
|
-
* @type {number}
|
|
2791
|
-
* @memberof Variant
|
|
2792
|
-
*/
|
|
2793
1504
|
'sortOrder'?: number;
|
|
2794
|
-
/**
|
|
2795
|
-
*
|
|
2796
|
-
* @type {Price}
|
|
2797
|
-
* @memberof Variant
|
|
2798
|
-
*/
|
|
2799
1505
|
'retailPrice'?: Price;
|
|
2800
|
-
/**
|
|
2801
|
-
*
|
|
2802
|
-
* @type {SalePrice}
|
|
2803
|
-
* @memberof Variant
|
|
2804
|
-
*/
|
|
2805
1506
|
'salePrice'?: SalePrice | null;
|
|
2806
|
-
/**
|
|
2807
|
-
*
|
|
2808
|
-
* @type {Price}
|
|
2809
|
-
* @memberof Variant
|
|
2810
|
-
*/
|
|
2811
1507
|
'price'?: Price;
|
|
2812
|
-
/**
|
|
2813
|
-
*
|
|
2814
|
-
* @type {Stock}
|
|
2815
|
-
* @memberof Variant
|
|
2816
|
-
*/
|
|
2817
1508
|
'stock'?: Stock;
|
|
2818
|
-
/**
|
|
2819
|
-
*
|
|
2820
|
-
* @type {string}
|
|
2821
|
-
* @memberof Variant
|
|
2822
|
-
*/
|
|
2823
1509
|
'createdAt'?: string;
|
|
2824
|
-
/**
|
|
2825
|
-
*
|
|
2826
|
-
* @type {string}
|
|
2827
|
-
* @memberof Variant
|
|
2828
|
-
*/
|
|
2829
1510
|
'updatedAt'?: string;
|
|
2830
|
-
/**
|
|
2831
|
-
*
|
|
2832
|
-
* @type {string}
|
|
2833
|
-
* @memberof Variant
|
|
2834
|
-
*/
|
|
2835
1511
|
'publishedAt'?: string;
|
|
2836
1512
|
/**
|
|
2837
1513
|
* Images
|
|
2838
|
-
* @type {Array<Image>}
|
|
2839
|
-
* @memberof Variant
|
|
2840
1514
|
*/
|
|
2841
1515
|
'images'?: Array<Image>;
|
|
2842
1516
|
/**
|
|
2843
1517
|
* Design applications. If not provided, the product will be blank.
|
|
2844
|
-
* @type {Array<Application>}
|
|
2845
|
-
* @memberof Variant
|
|
2846
1518
|
*/
|
|
2847
1519
|
'applications'?: Array<Application>;
|
|
2848
1520
|
/**
|
|
2849
1521
|
* The GTIN (Global Trade Item Number) or EAN (European Article Number) of the variant. Please note that a barcode can only be attached after the Barcodes module has been installed.
|
|
2850
|
-
* @type {string}
|
|
2851
|
-
* @memberof Variant
|
|
2852
1522
|
*/
|
|
2853
1523
|
'barcode'?: string | null;
|
|
2854
1524
|
/**
|
|
2855
1525
|
* Deprecated. Please use `barcode` instead.
|
|
2856
|
-
* @type {string}
|
|
2857
|
-
* @memberof Variant
|
|
2858
1526
|
* @deprecated
|
|
2859
1527
|
*/
|
|
2860
1528
|
'gtin'?: string | null;
|
|
2861
1529
|
/**
|
|
2862
1530
|
* For use with the Shopify integration. The Shopify variant ID that this variant is linked to.
|
|
2863
|
-
* @type {number}
|
|
2864
|
-
* @memberof Variant
|
|
2865
1531
|
*/
|
|
2866
1532
|
'shopifyId'?: number | null;
|
|
2867
1533
|
/**
|
|
2868
1534
|
* Key/value pairs that can be used to store additional information about the variant
|
|
2869
|
-
* @type {Array<MetaField>}
|
|
2870
|
-
* @memberof Variant
|
|
2871
1535
|
*/
|
|
2872
1536
|
'metafields'?: Array<MetaField>;
|
|
2873
|
-
/**
|
|
2874
|
-
*
|
|
2875
|
-
* @type {Array<VariantIntegrationConnectionsInner>}
|
|
2876
|
-
* @memberof Variant
|
|
2877
|
-
*/
|
|
2878
1537
|
'integrationConnections'?: Array<VariantIntegrationConnectionsInner>;
|
|
2879
|
-
/**
|
|
2880
|
-
*
|
|
2881
|
-
* @type {VariantWholesaleCost}
|
|
2882
|
-
* @memberof Variant
|
|
2883
|
-
*/
|
|
2884
1538
|
'wholesaleCost'?: VariantWholesaleCost;
|
|
2885
1539
|
}
|
|
2886
|
-
/**
|
|
2887
|
-
*
|
|
2888
|
-
* @export
|
|
2889
|
-
* @interface VariantIntegrationConnectionsInner
|
|
2890
|
-
*/
|
|
2891
1540
|
export interface VariantIntegrationConnectionsInner {
|
|
2892
|
-
/**
|
|
2893
|
-
*
|
|
2894
|
-
* @type {string}
|
|
2895
|
-
* @memberof VariantIntegrationConnectionsInner
|
|
2896
|
-
*/
|
|
2897
1541
|
'integrationCode': string;
|
|
2898
1542
|
/**
|
|
2899
1543
|
* The value of the identifying property on the foreign variant
|
|
2900
|
-
* @type {string}
|
|
2901
|
-
* @memberof VariantIntegrationConnectionsInner
|
|
2902
1544
|
*/
|
|
2903
1545
|
'foreignKey': string;
|
|
2904
1546
|
}
|
|
2905
|
-
/**
|
|
2906
|
-
*
|
|
2907
|
-
* @export
|
|
2908
|
-
* @interface VariantProduct
|
|
2909
|
-
*/
|
|
2910
1547
|
export interface VariantProduct {
|
|
2911
1548
|
/**
|
|
2912
1549
|
* Unique object identifier
|
|
2913
|
-
* @type {string}
|
|
2914
|
-
* @memberof VariantProduct
|
|
2915
1550
|
*/
|
|
2916
1551
|
'id'?: string;
|
|
2917
1552
|
/**
|
|
2918
1553
|
* A reference to the resource location
|
|
2919
|
-
* @type {string}
|
|
2920
|
-
* @memberof VariantProduct
|
|
2921
1554
|
*/
|
|
2922
1555
|
'ref'?: string;
|
|
2923
1556
|
}
|
|
2924
|
-
/**
|
|
2925
|
-
*
|
|
2926
|
-
* @export
|
|
2927
|
-
* @interface VariantWholesaleCost
|
|
2928
|
-
*/
|
|
2929
1557
|
export interface VariantWholesaleCost {
|
|
2930
|
-
/**
|
|
2931
|
-
*
|
|
2932
|
-
* @type {Price}
|
|
2933
|
-
* @memberof VariantWholesaleCost
|
|
2934
|
-
*/
|
|
2935
1558
|
'item'?: Price;
|
|
2936
|
-
/**
|
|
2937
|
-
*
|
|
2938
|
-
* @type {Price}
|
|
2939
|
-
* @memberof VariantWholesaleCost
|
|
2940
|
-
*/
|
|
2941
1559
|
'fulfillment'?: Price;
|
|
2942
1560
|
}
|
|
2943
|
-
/**
|
|
2944
|
-
*
|
|
2945
|
-
* @export
|
|
2946
|
-
* @interface VariantsResponse
|
|
2947
|
-
*/
|
|
2948
1561
|
export interface VariantsResponse {
|
|
2949
|
-
/**
|
|
2950
|
-
*
|
|
2951
|
-
* @type {Array<Variant>}
|
|
2952
|
-
* @memberof VariantsResponse
|
|
2953
|
-
*/
|
|
2954
1562
|
'variants'?: Array<Variant>;
|
|
2955
1563
|
/**
|
|
2956
1564
|
* The token referencing the next page number
|
|
2957
|
-
* @type {number}
|
|
2958
|
-
* @memberof VariantsResponse
|
|
2959
1565
|
*/
|
|
2960
1566
|
'nextPageToken'?: number | null;
|
|
2961
1567
|
}
|
|
2962
1568
|
/**
|
|
2963
1569
|
* Video object
|
|
2964
|
-
* @export
|
|
2965
|
-
* @interface Video
|
|
2966
1570
|
*/
|
|
2967
1571
|
export interface Video {
|
|
2968
1572
|
/**
|
|
2969
1573
|
* Unique object identifier
|
|
2970
|
-
* @type {string}
|
|
2971
|
-
* @memberof Video
|
|
2972
1574
|
*/
|
|
2973
1575
|
'id'?: string;
|
|
2974
|
-
/**
|
|
2975
|
-
*
|
|
2976
|
-
* @type {string}
|
|
2977
|
-
* @memberof Video
|
|
2978
|
-
*/
|
|
2979
1576
|
'src'?: string;
|
|
2980
|
-
/**
|
|
2981
|
-
*
|
|
2982
|
-
* @type {string}
|
|
2983
|
-
* @memberof Video
|
|
2984
|
-
*/
|
|
2985
1577
|
'alt'?: string;
|
|
2986
|
-
/**
|
|
2987
|
-
*
|
|
2988
|
-
* @type {number}
|
|
2989
|
-
* @memberof Video
|
|
2990
|
-
*/
|
|
2991
1578
|
'sortOrder'?: number;
|
|
2992
|
-
/**
|
|
2993
|
-
*
|
|
2994
|
-
* @type {string}
|
|
2995
|
-
* @memberof Video
|
|
2996
|
-
*/
|
|
2997
1579
|
'createdAt'?: string;
|
|
2998
|
-
/**
|
|
2999
|
-
*
|
|
3000
|
-
* @type {string}
|
|
3001
|
-
* @memberof Video
|
|
3002
|
-
*/
|
|
3003
1580
|
'updatedAt'?: string;
|
|
3004
1581
|
}
|
|
3005
|
-
/**
|
|
3006
|
-
*
|
|
3007
|
-
* @export
|
|
3008
|
-
* @interface VideoFile
|
|
3009
|
-
*/
|
|
3010
1582
|
export interface VideoFile {
|
|
3011
1583
|
/**
|
|
3012
1584
|
* Publicly available file URL.
|
|
3013
|
-
* @type {string}
|
|
3014
|
-
* @memberof VideoFile
|
|
3015
1585
|
*/
|
|
3016
1586
|
'src'?: string;
|
|
3017
1587
|
}
|
|
3018
1588
|
|
|
3019
1589
|
/**
|
|
3020
1590
|
* ApplicationGroupsApi - axios parameter creator
|
|
3021
|
-
* @export
|
|
3022
1591
|
*/
|
|
3023
1592
|
export const ApplicationGroupsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
3024
1593
|
return {
|
|
@@ -3282,7 +1851,6 @@ export const ApplicationGroupsApiAxiosParamCreator = function (configuration?: C
|
|
|
3282
1851
|
|
|
3283
1852
|
/**
|
|
3284
1853
|
* ApplicationGroupsApi - functional programming interface
|
|
3285
|
-
* @export
|
|
3286
1854
|
*/
|
|
3287
1855
|
export const ApplicationGroupsApiFp = function(configuration?: Configuration) {
|
|
3288
1856
|
const localVarAxiosParamCreator = ApplicationGroupsApiAxiosParamCreator(configuration)
|
|
@@ -3365,7 +1933,6 @@ export const ApplicationGroupsApiFp = function(configuration?: Configuration) {
|
|
|
3365
1933
|
|
|
3366
1934
|
/**
|
|
3367
1935
|
* ApplicationGroupsApi - factory interface
|
|
3368
|
-
* @export
|
|
3369
1936
|
*/
|
|
3370
1937
|
export const ApplicationGroupsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
3371
1938
|
const localVarFp = ApplicationGroupsApiFp(configuration)
|
|
@@ -3425,135 +1992,96 @@ export const ApplicationGroupsApiFactory = function (configuration?: Configurati
|
|
|
3425
1992
|
|
|
3426
1993
|
/**
|
|
3427
1994
|
* Request parameters for createApplicationGroup operation in ApplicationGroupsApi.
|
|
3428
|
-
* @export
|
|
3429
|
-
* @interface ApplicationGroupsApiCreateApplicationGroupRequest
|
|
3430
1995
|
*/
|
|
3431
1996
|
export interface ApplicationGroupsApiCreateApplicationGroupRequest {
|
|
3432
1997
|
/**
|
|
3433
1998
|
* What project it is
|
|
3434
|
-
* @type {string}
|
|
3435
|
-
* @memberof ApplicationGroupsApiCreateApplicationGroup
|
|
3436
1999
|
*/
|
|
3437
2000
|
readonly project: string
|
|
3438
2001
|
|
|
3439
2002
|
/**
|
|
3440
2003
|
* Create a new application group.
|
|
3441
|
-
* @type {CreateApplicationGroupRequest}
|
|
3442
|
-
* @memberof ApplicationGroupsApiCreateApplicationGroup
|
|
3443
2004
|
*/
|
|
3444
2005
|
readonly createApplicationGroupRequest?: CreateApplicationGroupRequest
|
|
3445
2006
|
}
|
|
3446
2007
|
|
|
3447
2008
|
/**
|
|
3448
2009
|
* Request parameters for deleteApplicationGroup operation in ApplicationGroupsApi.
|
|
3449
|
-
* @export
|
|
3450
|
-
* @interface ApplicationGroupsApiDeleteApplicationGroupRequest
|
|
3451
2010
|
*/
|
|
3452
2011
|
export interface ApplicationGroupsApiDeleteApplicationGroupRequest {
|
|
3453
2012
|
/**
|
|
3454
2013
|
* What project it is
|
|
3455
|
-
* @type {string}
|
|
3456
|
-
* @memberof ApplicationGroupsApiDeleteApplicationGroup
|
|
3457
2014
|
*/
|
|
3458
2015
|
readonly project: string
|
|
3459
2016
|
|
|
3460
2017
|
/**
|
|
3461
2018
|
* Application group\'s unique identifier
|
|
3462
|
-
* @type {string}
|
|
3463
|
-
* @memberof ApplicationGroupsApiDeleteApplicationGroup
|
|
3464
2019
|
*/
|
|
3465
2020
|
readonly applicationGroupId: string
|
|
3466
2021
|
}
|
|
3467
2022
|
|
|
3468
2023
|
/**
|
|
3469
2024
|
* Request parameters for getApplicationGroup operation in ApplicationGroupsApi.
|
|
3470
|
-
* @export
|
|
3471
|
-
* @interface ApplicationGroupsApiGetApplicationGroupRequest
|
|
3472
2025
|
*/
|
|
3473
2026
|
export interface ApplicationGroupsApiGetApplicationGroupRequest {
|
|
3474
2027
|
/**
|
|
3475
2028
|
* What project it is
|
|
3476
|
-
* @type {string}
|
|
3477
|
-
* @memberof ApplicationGroupsApiGetApplicationGroup
|
|
3478
2029
|
*/
|
|
3479
2030
|
readonly project: string
|
|
3480
2031
|
|
|
3481
2032
|
/**
|
|
3482
2033
|
* Application group\'s unique identifier
|
|
3483
|
-
* @type {string}
|
|
3484
|
-
* @memberof ApplicationGroupsApiGetApplicationGroup
|
|
3485
2034
|
*/
|
|
3486
2035
|
readonly applicationGroupId: string
|
|
3487
2036
|
}
|
|
3488
2037
|
|
|
3489
2038
|
/**
|
|
3490
2039
|
* Request parameters for listApplicationGroups operation in ApplicationGroupsApi.
|
|
3491
|
-
* @export
|
|
3492
|
-
* @interface ApplicationGroupsApiListApplicationGroupsRequest
|
|
3493
2040
|
*/
|
|
3494
2041
|
export interface ApplicationGroupsApiListApplicationGroupsRequest {
|
|
3495
2042
|
/**
|
|
3496
2043
|
* What project it is
|
|
3497
|
-
* @type {string}
|
|
3498
|
-
* @memberof ApplicationGroupsApiListApplicationGroups
|
|
3499
2044
|
*/
|
|
3500
2045
|
readonly project: string
|
|
3501
2046
|
|
|
3502
2047
|
/**
|
|
3503
2048
|
* Page reference token
|
|
3504
|
-
* @type {number}
|
|
3505
|
-
* @memberof ApplicationGroupsApiListApplicationGroups
|
|
3506
2049
|
*/
|
|
3507
2050
|
readonly pageToken?: number
|
|
3508
2051
|
|
|
3509
2052
|
/**
|
|
3510
2053
|
* Search query string to filter results. Supports field-specific filters like \'uuid:<id>\', \'name:\"application group name\"\'. Multiple filters can be combined with spaces and commas.
|
|
3511
|
-
* @type {string}
|
|
3512
|
-
* @memberof ApplicationGroupsApiListApplicationGroups
|
|
3513
2054
|
*/
|
|
3514
2055
|
readonly search?: string
|
|
3515
2056
|
|
|
3516
2057
|
/**
|
|
3517
2058
|
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
3518
|
-
* @type {number}
|
|
3519
|
-
* @memberof ApplicationGroupsApiListApplicationGroups
|
|
3520
2059
|
*/
|
|
3521
2060
|
readonly pageSize?: number
|
|
3522
2061
|
}
|
|
3523
2062
|
|
|
3524
2063
|
/**
|
|
3525
2064
|
* Request parameters for updateApplicationGroup operation in ApplicationGroupsApi.
|
|
3526
|
-
* @export
|
|
3527
|
-
* @interface ApplicationGroupsApiUpdateApplicationGroupRequest
|
|
3528
2065
|
*/
|
|
3529
2066
|
export interface ApplicationGroupsApiUpdateApplicationGroupRequest {
|
|
3530
2067
|
/**
|
|
3531
2068
|
* What project it is
|
|
3532
|
-
* @type {string}
|
|
3533
|
-
* @memberof ApplicationGroupsApiUpdateApplicationGroup
|
|
3534
2069
|
*/
|
|
3535
2070
|
readonly project: string
|
|
3536
2071
|
|
|
3537
2072
|
/**
|
|
3538
2073
|
* Application group\'s unique identifier
|
|
3539
|
-
* @type {string}
|
|
3540
|
-
* @memberof ApplicationGroupsApiUpdateApplicationGroup
|
|
3541
2074
|
*/
|
|
3542
2075
|
readonly applicationGroupId: string
|
|
3543
2076
|
|
|
3544
2077
|
/**
|
|
3545
2078
|
* Update an existing application group.
|
|
3546
|
-
* @type {UpdateApplicationGroupRequest}
|
|
3547
|
-
* @memberof ApplicationGroupsApiUpdateApplicationGroup
|
|
3548
2079
|
*/
|
|
3549
2080
|
readonly updateApplicationGroupRequest?: UpdateApplicationGroupRequest
|
|
3550
2081
|
}
|
|
3551
2082
|
|
|
3552
2083
|
/**
|
|
3553
2084
|
* ApplicationGroupsApi - object-oriented interface
|
|
3554
|
-
* @export
|
|
3555
|
-
* @class ApplicationGroupsApi
|
|
3556
|
-
* @extends {BaseAPI}
|
|
3557
2085
|
*/
|
|
3558
2086
|
export class ApplicationGroupsApi extends BaseAPI {
|
|
3559
2087
|
/**
|
|
@@ -3562,7 +2090,6 @@ export class ApplicationGroupsApi extends BaseAPI {
|
|
|
3562
2090
|
* @param {ApplicationGroupsApiCreateApplicationGroupRequest} requestParameters Request parameters.
|
|
3563
2091
|
* @param {*} [options] Override http request option.
|
|
3564
2092
|
* @throws {RequiredError}
|
|
3565
|
-
* @memberof ApplicationGroupsApi
|
|
3566
2093
|
*/
|
|
3567
2094
|
public createApplicationGroup(requestParameters: ApplicationGroupsApiCreateApplicationGroupRequest, options?: RawAxiosRequestConfig) {
|
|
3568
2095
|
return ApplicationGroupsApiFp(this.configuration).createApplicationGroup(requestParameters.project, requestParameters.createApplicationGroupRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3574,7 +2101,6 @@ export class ApplicationGroupsApi extends BaseAPI {
|
|
|
3574
2101
|
* @param {ApplicationGroupsApiDeleteApplicationGroupRequest} requestParameters Request parameters.
|
|
3575
2102
|
* @param {*} [options] Override http request option.
|
|
3576
2103
|
* @throws {RequiredError}
|
|
3577
|
-
* @memberof ApplicationGroupsApi
|
|
3578
2104
|
*/
|
|
3579
2105
|
public deleteApplicationGroup(requestParameters: ApplicationGroupsApiDeleteApplicationGroupRequest, options?: RawAxiosRequestConfig) {
|
|
3580
2106
|
return ApplicationGroupsApiFp(this.configuration).deleteApplicationGroup(requestParameters.project, requestParameters.applicationGroupId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3586,7 +2112,6 @@ export class ApplicationGroupsApi extends BaseAPI {
|
|
|
3586
2112
|
* @param {ApplicationGroupsApiGetApplicationGroupRequest} requestParameters Request parameters.
|
|
3587
2113
|
* @param {*} [options] Override http request option.
|
|
3588
2114
|
* @throws {RequiredError}
|
|
3589
|
-
* @memberof ApplicationGroupsApi
|
|
3590
2115
|
*/
|
|
3591
2116
|
public getApplicationGroup(requestParameters: ApplicationGroupsApiGetApplicationGroupRequest, options?: RawAxiosRequestConfig) {
|
|
3592
2117
|
return ApplicationGroupsApiFp(this.configuration).getApplicationGroup(requestParameters.project, requestParameters.applicationGroupId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3598,7 +2123,6 @@ export class ApplicationGroupsApi extends BaseAPI {
|
|
|
3598
2123
|
* @param {ApplicationGroupsApiListApplicationGroupsRequest} requestParameters Request parameters.
|
|
3599
2124
|
* @param {*} [options] Override http request option.
|
|
3600
2125
|
* @throws {RequiredError}
|
|
3601
|
-
* @memberof ApplicationGroupsApi
|
|
3602
2126
|
*/
|
|
3603
2127
|
public listApplicationGroups(requestParameters: ApplicationGroupsApiListApplicationGroupsRequest, options?: RawAxiosRequestConfig) {
|
|
3604
2128
|
return ApplicationGroupsApiFp(this.configuration).listApplicationGroups(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3610,7 +2134,6 @@ export class ApplicationGroupsApi extends BaseAPI {
|
|
|
3610
2134
|
* @param {ApplicationGroupsApiUpdateApplicationGroupRequest} requestParameters Request parameters.
|
|
3611
2135
|
* @param {*} [options] Override http request option.
|
|
3612
2136
|
* @throws {RequiredError}
|
|
3613
|
-
* @memberof ApplicationGroupsApi
|
|
3614
2137
|
*/
|
|
3615
2138
|
public updateApplicationGroup(requestParameters: ApplicationGroupsApiUpdateApplicationGroupRequest, options?: RawAxiosRequestConfig) {
|
|
3616
2139
|
return ApplicationGroupsApiFp(this.configuration).updateApplicationGroup(requestParameters.project, requestParameters.applicationGroupId, requestParameters.updateApplicationGroupRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3621,7 +2144,6 @@ export class ApplicationGroupsApi extends BaseAPI {
|
|
|
3621
2144
|
|
|
3622
2145
|
/**
|
|
3623
2146
|
* ApplicationSetsApi - axios parameter creator
|
|
3624
|
-
* @export
|
|
3625
2147
|
*/
|
|
3626
2148
|
export const ApplicationSetsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
3627
2149
|
return {
|
|
@@ -3885,7 +2407,6 @@ export const ApplicationSetsApiAxiosParamCreator = function (configuration?: Con
|
|
|
3885
2407
|
|
|
3886
2408
|
/**
|
|
3887
2409
|
* ApplicationSetsApi - functional programming interface
|
|
3888
|
-
* @export
|
|
3889
2410
|
*/
|
|
3890
2411
|
export const ApplicationSetsApiFp = function(configuration?: Configuration) {
|
|
3891
2412
|
const localVarAxiosParamCreator = ApplicationSetsApiAxiosParamCreator(configuration)
|
|
@@ -3968,7 +2489,6 @@ export const ApplicationSetsApiFp = function(configuration?: Configuration) {
|
|
|
3968
2489
|
|
|
3969
2490
|
/**
|
|
3970
2491
|
* ApplicationSetsApi - factory interface
|
|
3971
|
-
* @export
|
|
3972
2492
|
*/
|
|
3973
2493
|
export const ApplicationSetsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
3974
2494
|
const localVarFp = ApplicationSetsApiFp(configuration)
|
|
@@ -4028,135 +2548,96 @@ export const ApplicationSetsApiFactory = function (configuration?: Configuration
|
|
|
4028
2548
|
|
|
4029
2549
|
/**
|
|
4030
2550
|
* Request parameters for createApplicationSet operation in ApplicationSetsApi.
|
|
4031
|
-
* @export
|
|
4032
|
-
* @interface ApplicationSetsApiCreateApplicationSetRequest
|
|
4033
2551
|
*/
|
|
4034
2552
|
export interface ApplicationSetsApiCreateApplicationSetRequest {
|
|
4035
2553
|
/**
|
|
4036
2554
|
* What project it is
|
|
4037
|
-
* @type {string}
|
|
4038
|
-
* @memberof ApplicationSetsApiCreateApplicationSet
|
|
4039
2555
|
*/
|
|
4040
2556
|
readonly project: string
|
|
4041
2557
|
|
|
4042
2558
|
/**
|
|
4043
2559
|
* Create a new application set.
|
|
4044
|
-
* @type {CreateApplicationSetRequest}
|
|
4045
|
-
* @memberof ApplicationSetsApiCreateApplicationSet
|
|
4046
2560
|
*/
|
|
4047
2561
|
readonly createApplicationSetRequest?: CreateApplicationSetRequest
|
|
4048
2562
|
}
|
|
4049
2563
|
|
|
4050
2564
|
/**
|
|
4051
2565
|
* Request parameters for deleteApplicationSet operation in ApplicationSetsApi.
|
|
4052
|
-
* @export
|
|
4053
|
-
* @interface ApplicationSetsApiDeleteApplicationSetRequest
|
|
4054
2566
|
*/
|
|
4055
2567
|
export interface ApplicationSetsApiDeleteApplicationSetRequest {
|
|
4056
2568
|
/**
|
|
4057
2569
|
* What project it is
|
|
4058
|
-
* @type {string}
|
|
4059
|
-
* @memberof ApplicationSetsApiDeleteApplicationSet
|
|
4060
2570
|
*/
|
|
4061
2571
|
readonly project: string
|
|
4062
2572
|
|
|
4063
2573
|
/**
|
|
4064
2574
|
* Application set\'s unique identifier
|
|
4065
|
-
* @type {string}
|
|
4066
|
-
* @memberof ApplicationSetsApiDeleteApplicationSet
|
|
4067
2575
|
*/
|
|
4068
2576
|
readonly applicationSetId: string
|
|
4069
2577
|
}
|
|
4070
2578
|
|
|
4071
2579
|
/**
|
|
4072
2580
|
* Request parameters for getApplicationSet operation in ApplicationSetsApi.
|
|
4073
|
-
* @export
|
|
4074
|
-
* @interface ApplicationSetsApiGetApplicationSetRequest
|
|
4075
2581
|
*/
|
|
4076
2582
|
export interface ApplicationSetsApiGetApplicationSetRequest {
|
|
4077
2583
|
/**
|
|
4078
2584
|
* What project it is
|
|
4079
|
-
* @type {string}
|
|
4080
|
-
* @memberof ApplicationSetsApiGetApplicationSet
|
|
4081
2585
|
*/
|
|
4082
2586
|
readonly project: string
|
|
4083
2587
|
|
|
4084
2588
|
/**
|
|
4085
2589
|
* Application set\'s unique identifier
|
|
4086
|
-
* @type {string}
|
|
4087
|
-
* @memberof ApplicationSetsApiGetApplicationSet
|
|
4088
2590
|
*/
|
|
4089
2591
|
readonly applicationSetId: string
|
|
4090
2592
|
}
|
|
4091
2593
|
|
|
4092
2594
|
/**
|
|
4093
2595
|
* Request parameters for listApplicationSets operation in ApplicationSetsApi.
|
|
4094
|
-
* @export
|
|
4095
|
-
* @interface ApplicationSetsApiListApplicationSetsRequest
|
|
4096
2596
|
*/
|
|
4097
2597
|
export interface ApplicationSetsApiListApplicationSetsRequest {
|
|
4098
2598
|
/**
|
|
4099
2599
|
* What project it is
|
|
4100
|
-
* @type {string}
|
|
4101
|
-
* @memberof ApplicationSetsApiListApplicationSets
|
|
4102
2600
|
*/
|
|
4103
2601
|
readonly project: string
|
|
4104
2602
|
|
|
4105
2603
|
/**
|
|
4106
2604
|
* Page reference token
|
|
4107
|
-
* @type {number}
|
|
4108
|
-
* @memberof ApplicationSetsApiListApplicationSets
|
|
4109
2605
|
*/
|
|
4110
2606
|
readonly pageToken?: number
|
|
4111
2607
|
|
|
4112
2608
|
/**
|
|
4113
2609
|
* Search query string to filter results. Supports field-specific filters like \'enabled:true\', \'uuid:<id>\', \'name:\"product name\"\', and \'tag:\"tag name\"\'. Multiple filters can be combined with spaces and commas.
|
|
4114
|
-
* @type {string}
|
|
4115
|
-
* @memberof ApplicationSetsApiListApplicationSets
|
|
4116
2610
|
*/
|
|
4117
2611
|
readonly search?: string
|
|
4118
2612
|
|
|
4119
2613
|
/**
|
|
4120
2614
|
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
4121
|
-
* @type {number}
|
|
4122
|
-
* @memberof ApplicationSetsApiListApplicationSets
|
|
4123
2615
|
*/
|
|
4124
2616
|
readonly pageSize?: number
|
|
4125
2617
|
}
|
|
4126
2618
|
|
|
4127
2619
|
/**
|
|
4128
2620
|
* Request parameters for updateApplicationSet operation in ApplicationSetsApi.
|
|
4129
|
-
* @export
|
|
4130
|
-
* @interface ApplicationSetsApiUpdateApplicationSetRequest
|
|
4131
2621
|
*/
|
|
4132
2622
|
export interface ApplicationSetsApiUpdateApplicationSetRequest {
|
|
4133
2623
|
/**
|
|
4134
2624
|
* What project it is
|
|
4135
|
-
* @type {string}
|
|
4136
|
-
* @memberof ApplicationSetsApiUpdateApplicationSet
|
|
4137
2625
|
*/
|
|
4138
2626
|
readonly project: string
|
|
4139
2627
|
|
|
4140
2628
|
/**
|
|
4141
2629
|
* Application set\'s unique identifier
|
|
4142
|
-
* @type {string}
|
|
4143
|
-
* @memberof ApplicationSetsApiUpdateApplicationSet
|
|
4144
2630
|
*/
|
|
4145
2631
|
readonly applicationSetId: string
|
|
4146
2632
|
|
|
4147
2633
|
/**
|
|
4148
2634
|
* Create a new application set.
|
|
4149
|
-
* @type {UpdateApplicationSetRequest}
|
|
4150
|
-
* @memberof ApplicationSetsApiUpdateApplicationSet
|
|
4151
2635
|
*/
|
|
4152
2636
|
readonly updateApplicationSetRequest?: UpdateApplicationSetRequest
|
|
4153
2637
|
}
|
|
4154
2638
|
|
|
4155
2639
|
/**
|
|
4156
2640
|
* ApplicationSetsApi - object-oriented interface
|
|
4157
|
-
* @export
|
|
4158
|
-
* @class ApplicationSetsApi
|
|
4159
|
-
* @extends {BaseAPI}
|
|
4160
2641
|
*/
|
|
4161
2642
|
export class ApplicationSetsApi extends BaseAPI {
|
|
4162
2643
|
/**
|
|
@@ -4165,7 +2646,6 @@ export class ApplicationSetsApi extends BaseAPI {
|
|
|
4165
2646
|
* @param {ApplicationSetsApiCreateApplicationSetRequest} requestParameters Request parameters.
|
|
4166
2647
|
* @param {*} [options] Override http request option.
|
|
4167
2648
|
* @throws {RequiredError}
|
|
4168
|
-
* @memberof ApplicationSetsApi
|
|
4169
2649
|
*/
|
|
4170
2650
|
public createApplicationSet(requestParameters: ApplicationSetsApiCreateApplicationSetRequest, options?: RawAxiosRequestConfig) {
|
|
4171
2651
|
return ApplicationSetsApiFp(this.configuration).createApplicationSet(requestParameters.project, requestParameters.createApplicationSetRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4177,7 +2657,6 @@ export class ApplicationSetsApi extends BaseAPI {
|
|
|
4177
2657
|
* @param {ApplicationSetsApiDeleteApplicationSetRequest} requestParameters Request parameters.
|
|
4178
2658
|
* @param {*} [options] Override http request option.
|
|
4179
2659
|
* @throws {RequiredError}
|
|
4180
|
-
* @memberof ApplicationSetsApi
|
|
4181
2660
|
*/
|
|
4182
2661
|
public deleteApplicationSet(requestParameters: ApplicationSetsApiDeleteApplicationSetRequest, options?: RawAxiosRequestConfig) {
|
|
4183
2662
|
return ApplicationSetsApiFp(this.configuration).deleteApplicationSet(requestParameters.project, requestParameters.applicationSetId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4189,7 +2668,6 @@ export class ApplicationSetsApi extends BaseAPI {
|
|
|
4189
2668
|
* @param {ApplicationSetsApiGetApplicationSetRequest} requestParameters Request parameters.
|
|
4190
2669
|
* @param {*} [options] Override http request option.
|
|
4191
2670
|
* @throws {RequiredError}
|
|
4192
|
-
* @memberof ApplicationSetsApi
|
|
4193
2671
|
*/
|
|
4194
2672
|
public getApplicationSet(requestParameters: ApplicationSetsApiGetApplicationSetRequest, options?: RawAxiosRequestConfig) {
|
|
4195
2673
|
return ApplicationSetsApiFp(this.configuration).getApplicationSet(requestParameters.project, requestParameters.applicationSetId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4201,7 +2679,6 @@ export class ApplicationSetsApi extends BaseAPI {
|
|
|
4201
2679
|
* @param {ApplicationSetsApiListApplicationSetsRequest} requestParameters Request parameters.
|
|
4202
2680
|
* @param {*} [options] Override http request option.
|
|
4203
2681
|
* @throws {RequiredError}
|
|
4204
|
-
* @memberof ApplicationSetsApi
|
|
4205
2682
|
*/
|
|
4206
2683
|
public listApplicationSets(requestParameters: ApplicationSetsApiListApplicationSetsRequest, options?: RawAxiosRequestConfig) {
|
|
4207
2684
|
return ApplicationSetsApiFp(this.configuration).listApplicationSets(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4213,7 +2690,6 @@ export class ApplicationSetsApi extends BaseAPI {
|
|
|
4213
2690
|
* @param {ApplicationSetsApiUpdateApplicationSetRequest} requestParameters Request parameters.
|
|
4214
2691
|
* @param {*} [options] Override http request option.
|
|
4215
2692
|
* @throws {RequiredError}
|
|
4216
|
-
* @memberof ApplicationSetsApi
|
|
4217
2693
|
*/
|
|
4218
2694
|
public updateApplicationSet(requestParameters: ApplicationSetsApiUpdateApplicationSetRequest, options?: RawAxiosRequestConfig) {
|
|
4219
2695
|
return ApplicationSetsApiFp(this.configuration).updateApplicationSet(requestParameters.project, requestParameters.applicationSetId, requestParameters.updateApplicationSetRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4224,7 +2700,6 @@ export class ApplicationSetsApi extends BaseAPI {
|
|
|
4224
2700
|
|
|
4225
2701
|
/**
|
|
4226
2702
|
* ApplicationTechnologiesApi - axios parameter creator
|
|
4227
|
-
* @export
|
|
4228
2703
|
*/
|
|
4229
2704
|
export const ApplicationTechnologiesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
4230
2705
|
return {
|
|
@@ -4277,7 +2752,6 @@ export const ApplicationTechnologiesApiAxiosParamCreator = function (configurati
|
|
|
4277
2752
|
|
|
4278
2753
|
/**
|
|
4279
2754
|
* ApplicationTechnologiesApi - functional programming interface
|
|
4280
|
-
* @export
|
|
4281
2755
|
*/
|
|
4282
2756
|
export const ApplicationTechnologiesApiFp = function(configuration?: Configuration) {
|
|
4283
2757
|
const localVarAxiosParamCreator = ApplicationTechnologiesApiAxiosParamCreator(configuration)
|
|
@@ -4300,7 +2774,6 @@ export const ApplicationTechnologiesApiFp = function(configuration?: Configurati
|
|
|
4300
2774
|
|
|
4301
2775
|
/**
|
|
4302
2776
|
* ApplicationTechnologiesApi - factory interface
|
|
4303
|
-
* @export
|
|
4304
2777
|
*/
|
|
4305
2778
|
export const ApplicationTechnologiesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
4306
2779
|
const localVarFp = ApplicationTechnologiesApiFp(configuration)
|
|
@@ -4320,23 +2793,16 @@ export const ApplicationTechnologiesApiFactory = function (configuration?: Confi
|
|
|
4320
2793
|
|
|
4321
2794
|
/**
|
|
4322
2795
|
* Request parameters for listTechnologies operation in ApplicationTechnologiesApi.
|
|
4323
|
-
* @export
|
|
4324
|
-
* @interface ApplicationTechnologiesApiListTechnologiesRequest
|
|
4325
2796
|
*/
|
|
4326
2797
|
export interface ApplicationTechnologiesApiListTechnologiesRequest {
|
|
4327
2798
|
/**
|
|
4328
2799
|
* What project it is
|
|
4329
|
-
* @type {string}
|
|
4330
|
-
* @memberof ApplicationTechnologiesApiListTechnologies
|
|
4331
2800
|
*/
|
|
4332
2801
|
readonly project: string
|
|
4333
2802
|
}
|
|
4334
2803
|
|
|
4335
2804
|
/**
|
|
4336
2805
|
* ApplicationTechnologiesApi - object-oriented interface
|
|
4337
|
-
* @export
|
|
4338
|
-
* @class ApplicationTechnologiesApi
|
|
4339
|
-
* @extends {BaseAPI}
|
|
4340
2806
|
*/
|
|
4341
2807
|
export class ApplicationTechnologiesApi extends BaseAPI {
|
|
4342
2808
|
/**
|
|
@@ -4345,7 +2811,6 @@ export class ApplicationTechnologiesApi extends BaseAPI {
|
|
|
4345
2811
|
* @param {ApplicationTechnologiesApiListTechnologiesRequest} requestParameters Request parameters.
|
|
4346
2812
|
* @param {*} [options] Override http request option.
|
|
4347
2813
|
* @throws {RequiredError}
|
|
4348
|
-
* @memberof ApplicationTechnologiesApi
|
|
4349
2814
|
*/
|
|
4350
2815
|
public listTechnologies(requestParameters: ApplicationTechnologiesApiListTechnologiesRequest, options?: RawAxiosRequestConfig) {
|
|
4351
2816
|
return ApplicationTechnologiesApiFp(this.configuration).listTechnologies(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4356,7 +2821,6 @@ export class ApplicationTechnologiesApi extends BaseAPI {
|
|
|
4356
2821
|
|
|
4357
2822
|
/**
|
|
4358
2823
|
* ProductsApi - axios parameter creator
|
|
4359
|
-
* @export
|
|
4360
2824
|
*/
|
|
4361
2825
|
export const ProductsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
4362
2826
|
return {
|
|
@@ -4942,7 +3406,6 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
4942
3406
|
|
|
4943
3407
|
/**
|
|
4944
3408
|
* ProductsApi - functional programming interface
|
|
4945
|
-
* @export
|
|
4946
3409
|
*/
|
|
4947
3410
|
export const ProductsApiFp = function(configuration?: Configuration) {
|
|
4948
3411
|
const localVarAxiosParamCreator = ProductsApiAxiosParamCreator(configuration)
|
|
@@ -5039,7 +3502,7 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
5039
3502
|
* @param {*} [options] Override http request option.
|
|
5040
3503
|
* @throws {RequiredError}
|
|
5041
3504
|
*/
|
|
5042
|
-
async importProducts(project: string, body?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3505
|
+
async importProducts(project: string, body?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImportProducts200Response>> {
|
|
5043
3506
|
const localVarAxiosArgs = await localVarAxiosParamCreator.importProducts(project, body, options);
|
|
5044
3507
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5045
3508
|
const localVarOperationServerBasePath = operationServerMap['ProductsApi.importProducts']?.[localVarOperationServerIndex]?.url;
|
|
@@ -5114,7 +3577,6 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
5114
3577
|
|
|
5115
3578
|
/**
|
|
5116
3579
|
* ProductsApi - factory interface
|
|
5117
|
-
* @export
|
|
5118
3580
|
*/
|
|
5119
3581
|
export const ProductsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
5120
3582
|
const localVarFp = ProductsApiFp(configuration)
|
|
@@ -5186,7 +3648,7 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
5186
3648
|
* @param {*} [options] Override http request option.
|
|
5187
3649
|
* @throws {RequiredError}
|
|
5188
3650
|
*/
|
|
5189
|
-
importProducts(requestParameters: ProductsApiImportProductsRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
3651
|
+
importProducts(requestParameters: ProductsApiImportProductsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ImportProducts200Response> {
|
|
5190
3652
|
return localVarFp.importProducts(requestParameters.project, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
5191
3653
|
},
|
|
5192
3654
|
/**
|
|
@@ -5234,296 +3696,205 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
5234
3696
|
|
|
5235
3697
|
/**
|
|
5236
3698
|
* Request parameters for createProduct operation in ProductsApi.
|
|
5237
|
-
* @export
|
|
5238
|
-
* @interface ProductsApiCreateProductRequest
|
|
5239
3699
|
*/
|
|
5240
3700
|
export interface ProductsApiCreateProductRequest {
|
|
5241
3701
|
/**
|
|
5242
3702
|
* What project it is
|
|
5243
|
-
* @type {string}
|
|
5244
|
-
* @memberof ProductsApiCreateProduct
|
|
5245
3703
|
*/
|
|
5246
3704
|
readonly project: string
|
|
5247
3705
|
|
|
5248
|
-
/**
|
|
5249
|
-
*
|
|
5250
|
-
* @type {CreateProductRequest}
|
|
5251
|
-
* @memberof ProductsApiCreateProduct
|
|
5252
|
-
*/
|
|
5253
3706
|
readonly createProductRequest?: CreateProductRequest
|
|
5254
3707
|
}
|
|
5255
3708
|
|
|
5256
3709
|
/**
|
|
5257
3710
|
* Request parameters for deleteProduct operation in ProductsApi.
|
|
5258
|
-
* @export
|
|
5259
|
-
* @interface ProductsApiDeleteProductRequest
|
|
5260
3711
|
*/
|
|
5261
3712
|
export interface ProductsApiDeleteProductRequest {
|
|
5262
3713
|
/**
|
|
5263
3714
|
* What project it is
|
|
5264
|
-
* @type {string}
|
|
5265
|
-
* @memberof ProductsApiDeleteProduct
|
|
5266
3715
|
*/
|
|
5267
3716
|
readonly project: string
|
|
5268
3717
|
|
|
5269
3718
|
/**
|
|
5270
3719
|
* Product\'s unique identifier
|
|
5271
|
-
* @type {string}
|
|
5272
|
-
* @memberof ProductsApiDeleteProduct
|
|
5273
3720
|
*/
|
|
5274
3721
|
readonly productId: string
|
|
5275
3722
|
}
|
|
5276
3723
|
|
|
5277
3724
|
/**
|
|
5278
3725
|
* Request parameters for deleteProducts operation in ProductsApi.
|
|
5279
|
-
* @export
|
|
5280
|
-
* @interface ProductsApiDeleteProductsRequest
|
|
5281
3726
|
*/
|
|
5282
3727
|
export interface ProductsApiDeleteProductsRequest {
|
|
5283
3728
|
/**
|
|
5284
3729
|
* What project it is
|
|
5285
|
-
* @type {string}
|
|
5286
|
-
* @memberof ProductsApiDeleteProducts
|
|
5287
3730
|
*/
|
|
5288
3731
|
readonly project: string
|
|
5289
3732
|
|
|
5290
3733
|
/**
|
|
5291
3734
|
* Delete products in bulk.
|
|
5292
|
-
* @type {DeleteProductsRequest}
|
|
5293
|
-
* @memberof ProductsApiDeleteProducts
|
|
5294
3735
|
*/
|
|
5295
3736
|
readonly deleteProductsRequest: DeleteProductsRequest
|
|
5296
3737
|
}
|
|
5297
3738
|
|
|
5298
3739
|
/**
|
|
5299
3740
|
* Request parameters for duplicateProducts operation in ProductsApi.
|
|
5300
|
-
* @export
|
|
5301
|
-
* @interface ProductsApiDuplicateProductsRequest
|
|
5302
3741
|
*/
|
|
5303
3742
|
export interface ProductsApiDuplicateProductsRequest {
|
|
5304
3743
|
/**
|
|
5305
3744
|
* What project it is
|
|
5306
|
-
* @type {string}
|
|
5307
|
-
* @memberof ProductsApiDuplicateProducts
|
|
5308
3745
|
*/
|
|
5309
3746
|
readonly project: string
|
|
5310
3747
|
|
|
5311
3748
|
/**
|
|
5312
3749
|
* A set of product IDs to duplicate and the project IDs to duplicate them to.
|
|
5313
|
-
* @type {DuplicateProductsRequest}
|
|
5314
|
-
* @memberof ProductsApiDuplicateProducts
|
|
5315
3750
|
*/
|
|
5316
3751
|
readonly duplicateProductsRequest?: DuplicateProductsRequest
|
|
5317
3752
|
}
|
|
5318
3753
|
|
|
5319
3754
|
/**
|
|
5320
3755
|
* Request parameters for exportProducts operation in ProductsApi.
|
|
5321
|
-
* @export
|
|
5322
|
-
* @interface ProductsApiExportProductsRequest
|
|
5323
3756
|
*/
|
|
5324
3757
|
export interface ProductsApiExportProductsRequest {
|
|
5325
3758
|
/**
|
|
5326
3759
|
* What project it is
|
|
5327
|
-
* @type {string}
|
|
5328
|
-
* @memberof ProductsApiExportProducts
|
|
5329
3760
|
*/
|
|
5330
3761
|
readonly project: string
|
|
5331
3762
|
}
|
|
5332
3763
|
|
|
5333
3764
|
/**
|
|
5334
3765
|
* Request parameters for getProduct operation in ProductsApi.
|
|
5335
|
-
* @export
|
|
5336
|
-
* @interface ProductsApiGetProductRequest
|
|
5337
3766
|
*/
|
|
5338
3767
|
export interface ProductsApiGetProductRequest {
|
|
5339
3768
|
/**
|
|
5340
3769
|
* What project it is
|
|
5341
|
-
* @type {string}
|
|
5342
|
-
* @memberof ProductsApiGetProduct
|
|
5343
3770
|
*/
|
|
5344
3771
|
readonly project: string
|
|
5345
3772
|
|
|
5346
3773
|
/**
|
|
5347
3774
|
* Product\'s unique identifier
|
|
5348
|
-
* @type {string}
|
|
5349
|
-
* @memberof ProductsApiGetProduct
|
|
5350
3775
|
*/
|
|
5351
3776
|
readonly productId: string
|
|
5352
3777
|
|
|
5353
3778
|
/**
|
|
5354
3779
|
* Filter response fields to only include a subset of the resource.
|
|
5355
|
-
* @type {string}
|
|
5356
|
-
* @memberof ProductsApiGetProduct
|
|
5357
3780
|
*/
|
|
5358
3781
|
readonly fields?: string
|
|
5359
3782
|
}
|
|
5360
3783
|
|
|
5361
3784
|
/**
|
|
5362
3785
|
* Request parameters for importProducts operation in ProductsApi.
|
|
5363
|
-
* @export
|
|
5364
|
-
* @interface ProductsApiImportProductsRequest
|
|
5365
3786
|
*/
|
|
5366
3787
|
export interface ProductsApiImportProductsRequest {
|
|
5367
3788
|
/**
|
|
5368
3789
|
* What project it is
|
|
5369
|
-
* @type {string}
|
|
5370
|
-
* @memberof ProductsApiImportProducts
|
|
5371
3790
|
*/
|
|
5372
3791
|
readonly project: string
|
|
5373
3792
|
|
|
5374
3793
|
/**
|
|
5375
3794
|
* A base64 data URL of a CSV file containing data for one or more products.
|
|
5376
|
-
* @type {string}
|
|
5377
|
-
* @memberof ProductsApiImportProducts
|
|
5378
3795
|
*/
|
|
5379
3796
|
readonly body?: string
|
|
5380
3797
|
}
|
|
5381
3798
|
|
|
5382
3799
|
/**
|
|
5383
3800
|
* Request parameters for listProducts operation in ProductsApi.
|
|
5384
|
-
* @export
|
|
5385
|
-
* @interface ProductsApiListProductsRequest
|
|
5386
3801
|
*/
|
|
5387
3802
|
export interface ProductsApiListProductsRequest {
|
|
5388
3803
|
/**
|
|
5389
3804
|
* What project it is
|
|
5390
|
-
* @type {string}
|
|
5391
|
-
* @memberof ProductsApiListProducts
|
|
5392
3805
|
*/
|
|
5393
3806
|
readonly project: string
|
|
5394
3807
|
|
|
5395
3808
|
/**
|
|
5396
3809
|
* Page reference token
|
|
5397
|
-
* @type {number}
|
|
5398
|
-
* @memberof ProductsApiListProducts
|
|
5399
3810
|
*/
|
|
5400
3811
|
readonly pageToken?: number
|
|
5401
3812
|
|
|
5402
3813
|
/**
|
|
5403
3814
|
* Search query string to filter results. Supports field-specific filters like \'enabled:true\', \'uuid:<id>\', \'name:\"product name\"\', and \'tag:\"tag name\"\'. Multiple filters can be combined with spaces and commas.
|
|
5404
|
-
* @type {string}
|
|
5405
|
-
* @memberof ProductsApiListProducts
|
|
5406
3815
|
*/
|
|
5407
3816
|
readonly search?: string
|
|
5408
3817
|
|
|
5409
3818
|
/**
|
|
5410
3819
|
* An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
5411
|
-
* @type {Array<string>}
|
|
5412
|
-
* @memberof ProductsApiListProducts
|
|
5413
3820
|
*/
|
|
5414
3821
|
readonly sortBy?: Array<string>
|
|
5415
3822
|
|
|
5416
3823
|
/**
|
|
5417
3824
|
* Start of date range to filter
|
|
5418
|
-
* @type {string}
|
|
5419
|
-
* @memberof ProductsApiListProducts
|
|
5420
3825
|
*/
|
|
5421
3826
|
readonly start?: string
|
|
5422
3827
|
|
|
5423
3828
|
/**
|
|
5424
3829
|
* End of date range to filter
|
|
5425
|
-
* @type {string}
|
|
5426
|
-
* @memberof ProductsApiListProducts
|
|
5427
3830
|
*/
|
|
5428
3831
|
readonly end?: string
|
|
5429
3832
|
|
|
5430
3833
|
/**
|
|
5431
3834
|
* Specifies the type of date range filter to apply. Determines which date field the `start` and `end` fields should query.
|
|
5432
|
-
* @type {'createdAt' | 'updatedAt'}
|
|
5433
|
-
* @memberof ProductsApiListProducts
|
|
5434
3835
|
*/
|
|
5435
3836
|
readonly dateFilterType?: ListProductsDateFilterTypeEnum
|
|
5436
3837
|
|
|
5437
3838
|
/**
|
|
5438
3839
|
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
5439
|
-
* @type {number}
|
|
5440
|
-
* @memberof ProductsApiListProducts
|
|
5441
3840
|
*/
|
|
5442
3841
|
readonly pageSize?: number
|
|
5443
3842
|
|
|
5444
3843
|
/**
|
|
5445
3844
|
* Filter response fields to only include a subset of the resource.
|
|
5446
|
-
* @type {string}
|
|
5447
|
-
* @memberof ProductsApiListProducts
|
|
5448
3845
|
*/
|
|
5449
3846
|
readonly fields?: string
|
|
5450
3847
|
}
|
|
5451
3848
|
|
|
5452
3849
|
/**
|
|
5453
3850
|
* Request parameters for seoOptimiseProducts operation in ProductsApi.
|
|
5454
|
-
* @export
|
|
5455
|
-
* @interface ProductsApiSeoOptimiseProductsRequest
|
|
5456
3851
|
*/
|
|
5457
3852
|
export interface ProductsApiSeoOptimiseProductsRequest {
|
|
5458
3853
|
/**
|
|
5459
3854
|
* What project it is
|
|
5460
|
-
* @type {string}
|
|
5461
|
-
* @memberof ProductsApiSeoOptimiseProducts
|
|
5462
3855
|
*/
|
|
5463
3856
|
readonly project: string
|
|
5464
3857
|
|
|
5465
3858
|
/**
|
|
5466
3859
|
* A set of product IDs to AI SEO optimise.
|
|
5467
|
-
* @type {SeoOptimiseProductsRequest}
|
|
5468
|
-
* @memberof ProductsApiSeoOptimiseProducts
|
|
5469
3860
|
*/
|
|
5470
3861
|
readonly seoOptimiseProductsRequest?: SeoOptimiseProductsRequest
|
|
5471
3862
|
}
|
|
5472
3863
|
|
|
5473
3864
|
/**
|
|
5474
3865
|
* Request parameters for updateProduct operation in ProductsApi.
|
|
5475
|
-
* @export
|
|
5476
|
-
* @interface ProductsApiUpdateProductRequest
|
|
5477
3866
|
*/
|
|
5478
3867
|
export interface ProductsApiUpdateProductRequest {
|
|
5479
3868
|
/**
|
|
5480
3869
|
* What project it is
|
|
5481
|
-
* @type {string}
|
|
5482
|
-
* @memberof ProductsApiUpdateProduct
|
|
5483
3870
|
*/
|
|
5484
3871
|
readonly project: string
|
|
5485
3872
|
|
|
5486
3873
|
/**
|
|
5487
3874
|
* Product\'s unique identifier
|
|
5488
|
-
* @type {string}
|
|
5489
|
-
* @memberof ProductsApiUpdateProduct
|
|
5490
3875
|
*/
|
|
5491
3876
|
readonly productId: string
|
|
5492
3877
|
|
|
5493
|
-
/**
|
|
5494
|
-
*
|
|
5495
|
-
* @type {UpdateProductRequest}
|
|
5496
|
-
* @memberof ProductsApiUpdateProduct
|
|
5497
|
-
*/
|
|
5498
3878
|
readonly updateProductRequest?: UpdateProductRequest
|
|
5499
3879
|
}
|
|
5500
3880
|
|
|
5501
3881
|
/**
|
|
5502
3882
|
* Request parameters for updateProducts operation in ProductsApi.
|
|
5503
|
-
* @export
|
|
5504
|
-
* @interface ProductsApiUpdateProductsRequest
|
|
5505
3883
|
*/
|
|
5506
3884
|
export interface ProductsApiUpdateProductsRequest {
|
|
5507
3885
|
/**
|
|
5508
3886
|
* What project it is
|
|
5509
|
-
* @type {string}
|
|
5510
|
-
* @memberof ProductsApiUpdateProducts
|
|
5511
3887
|
*/
|
|
5512
3888
|
readonly project: string
|
|
5513
3889
|
|
|
5514
3890
|
/**
|
|
5515
3891
|
* Update products in bulk.
|
|
5516
|
-
* @type {UpdateProductsRequest}
|
|
5517
|
-
* @memberof ProductsApiUpdateProducts
|
|
5518
3892
|
*/
|
|
5519
3893
|
readonly updateProductsRequest: UpdateProductsRequest
|
|
5520
3894
|
}
|
|
5521
3895
|
|
|
5522
3896
|
/**
|
|
5523
3897
|
* ProductsApi - object-oriented interface
|
|
5524
|
-
* @export
|
|
5525
|
-
* @class ProductsApi
|
|
5526
|
-
* @extends {BaseAPI}
|
|
5527
3898
|
*/
|
|
5528
3899
|
export class ProductsApi extends BaseAPI {
|
|
5529
3900
|
/**
|
|
@@ -5532,7 +3903,6 @@ export class ProductsApi extends BaseAPI {
|
|
|
5532
3903
|
* @param {ProductsApiCreateProductRequest} requestParameters Request parameters.
|
|
5533
3904
|
* @param {*} [options] Override http request option.
|
|
5534
3905
|
* @throws {RequiredError}
|
|
5535
|
-
* @memberof ProductsApi
|
|
5536
3906
|
*/
|
|
5537
3907
|
public createProduct(requestParameters: ProductsApiCreateProductRequest, options?: RawAxiosRequestConfig) {
|
|
5538
3908
|
return ProductsApiFp(this.configuration).createProduct(requestParameters.project, requestParameters.createProductRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5544,7 +3914,6 @@ export class ProductsApi extends BaseAPI {
|
|
|
5544
3914
|
* @param {ProductsApiDeleteProductRequest} requestParameters Request parameters.
|
|
5545
3915
|
* @param {*} [options] Override http request option.
|
|
5546
3916
|
* @throws {RequiredError}
|
|
5547
|
-
* @memberof ProductsApi
|
|
5548
3917
|
*/
|
|
5549
3918
|
public deleteProduct(requestParameters: ProductsApiDeleteProductRequest, options?: RawAxiosRequestConfig) {
|
|
5550
3919
|
return ProductsApiFp(this.configuration).deleteProduct(requestParameters.project, requestParameters.productId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5556,7 +3925,6 @@ export class ProductsApi extends BaseAPI {
|
|
|
5556
3925
|
* @param {ProductsApiDeleteProductsRequest} requestParameters Request parameters.
|
|
5557
3926
|
* @param {*} [options] Override http request option.
|
|
5558
3927
|
* @throws {RequiredError}
|
|
5559
|
-
* @memberof ProductsApi
|
|
5560
3928
|
*/
|
|
5561
3929
|
public deleteProducts(requestParameters: ProductsApiDeleteProductsRequest, options?: RawAxiosRequestConfig) {
|
|
5562
3930
|
return ProductsApiFp(this.configuration).deleteProducts(requestParameters.project, requestParameters.deleteProductsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5568,7 +3936,6 @@ export class ProductsApi extends BaseAPI {
|
|
|
5568
3936
|
* @param {ProductsApiDuplicateProductsRequest} requestParameters Request parameters.
|
|
5569
3937
|
* @param {*} [options] Override http request option.
|
|
5570
3938
|
* @throws {RequiredError}
|
|
5571
|
-
* @memberof ProductsApi
|
|
5572
3939
|
*/
|
|
5573
3940
|
public duplicateProducts(requestParameters: ProductsApiDuplicateProductsRequest, options?: RawAxiosRequestConfig) {
|
|
5574
3941
|
return ProductsApiFp(this.configuration).duplicateProducts(requestParameters.project, requestParameters.duplicateProductsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5580,7 +3947,6 @@ export class ProductsApi extends BaseAPI {
|
|
|
5580
3947
|
* @param {ProductsApiExportProductsRequest} requestParameters Request parameters.
|
|
5581
3948
|
* @param {*} [options] Override http request option.
|
|
5582
3949
|
* @throws {RequiredError}
|
|
5583
|
-
* @memberof ProductsApi
|
|
5584
3950
|
*/
|
|
5585
3951
|
public exportProducts(requestParameters: ProductsApiExportProductsRequest, options?: RawAxiosRequestConfig) {
|
|
5586
3952
|
return ProductsApiFp(this.configuration).exportProducts(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5592,7 +3958,6 @@ export class ProductsApi extends BaseAPI {
|
|
|
5592
3958
|
* @param {ProductsApiGetProductRequest} requestParameters Request parameters.
|
|
5593
3959
|
* @param {*} [options] Override http request option.
|
|
5594
3960
|
* @throws {RequiredError}
|
|
5595
|
-
* @memberof ProductsApi
|
|
5596
3961
|
*/
|
|
5597
3962
|
public getProduct(requestParameters: ProductsApiGetProductRequest, options?: RawAxiosRequestConfig) {
|
|
5598
3963
|
return ProductsApiFp(this.configuration).getProduct(requestParameters.project, requestParameters.productId, requestParameters.fields, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5604,7 +3969,6 @@ export class ProductsApi extends BaseAPI {
|
|
|
5604
3969
|
* @param {ProductsApiImportProductsRequest} requestParameters Request parameters.
|
|
5605
3970
|
* @param {*} [options] Override http request option.
|
|
5606
3971
|
* @throws {RequiredError}
|
|
5607
|
-
* @memberof ProductsApi
|
|
5608
3972
|
*/
|
|
5609
3973
|
public importProducts(requestParameters: ProductsApiImportProductsRequest, options?: RawAxiosRequestConfig) {
|
|
5610
3974
|
return ProductsApiFp(this.configuration).importProducts(requestParameters.project, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5616,7 +3980,6 @@ export class ProductsApi extends BaseAPI {
|
|
|
5616
3980
|
* @param {ProductsApiListProductsRequest} requestParameters Request parameters.
|
|
5617
3981
|
* @param {*} [options] Override http request option.
|
|
5618
3982
|
* @throws {RequiredError}
|
|
5619
|
-
* @memberof ProductsApi
|
|
5620
3983
|
*/
|
|
5621
3984
|
public listProducts(requestParameters: ProductsApiListProductsRequest, options?: RawAxiosRequestConfig) {
|
|
5622
3985
|
return ProductsApiFp(this.configuration).listProducts(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.sortBy, requestParameters.start, requestParameters.end, requestParameters.dateFilterType, requestParameters.pageSize, requestParameters.fields, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5628,7 +3991,6 @@ export class ProductsApi extends BaseAPI {
|
|
|
5628
3991
|
* @param {ProductsApiSeoOptimiseProductsRequest} requestParameters Request parameters.
|
|
5629
3992
|
* @param {*} [options] Override http request option.
|
|
5630
3993
|
* @throws {RequiredError}
|
|
5631
|
-
* @memberof ProductsApi
|
|
5632
3994
|
*/
|
|
5633
3995
|
public seoOptimiseProducts(requestParameters: ProductsApiSeoOptimiseProductsRequest, options?: RawAxiosRequestConfig) {
|
|
5634
3996
|
return ProductsApiFp(this.configuration).seoOptimiseProducts(requestParameters.project, requestParameters.seoOptimiseProductsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5640,7 +4002,6 @@ export class ProductsApi extends BaseAPI {
|
|
|
5640
4002
|
* @param {ProductsApiUpdateProductRequest} requestParameters Request parameters.
|
|
5641
4003
|
* @param {*} [options] Override http request option.
|
|
5642
4004
|
* @throws {RequiredError}
|
|
5643
|
-
* @memberof ProductsApi
|
|
5644
4005
|
*/
|
|
5645
4006
|
public updateProduct(requestParameters: ProductsApiUpdateProductRequest, options?: RawAxiosRequestConfig) {
|
|
5646
4007
|
return ProductsApiFp(this.configuration).updateProduct(requestParameters.project, requestParameters.productId, requestParameters.updateProductRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5652,16 +4013,12 @@ export class ProductsApi extends BaseAPI {
|
|
|
5652
4013
|
* @param {ProductsApiUpdateProductsRequest} requestParameters Request parameters.
|
|
5653
4014
|
* @param {*} [options] Override http request option.
|
|
5654
4015
|
* @throws {RequiredError}
|
|
5655
|
-
* @memberof ProductsApi
|
|
5656
4016
|
*/
|
|
5657
4017
|
public updateProducts(requestParameters: ProductsApiUpdateProductsRequest, options?: RawAxiosRequestConfig) {
|
|
5658
4018
|
return ProductsApiFp(this.configuration).updateProducts(requestParameters.project, requestParameters.updateProductsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5659
4019
|
}
|
|
5660
4020
|
}
|
|
5661
4021
|
|
|
5662
|
-
/**
|
|
5663
|
-
* @export
|
|
5664
|
-
*/
|
|
5665
4022
|
export const ListProductsDateFilterTypeEnum = {
|
|
5666
4023
|
CreatedAt: 'createdAt',
|
|
5667
4024
|
UpdatedAt: 'updatedAt'
|
|
@@ -5671,7 +4028,6 @@ export type ListProductsDateFilterTypeEnum = typeof ListProductsDateFilterTypeEn
|
|
|
5671
4028
|
|
|
5672
4029
|
/**
|
|
5673
4030
|
* VariantsApi - axios parameter creator
|
|
5674
|
-
* @export
|
|
5675
4031
|
*/
|
|
5676
4032
|
export const VariantsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
5677
4033
|
return {
|
|
@@ -5797,7 +4153,6 @@ export const VariantsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
5797
4153
|
|
|
5798
4154
|
/**
|
|
5799
4155
|
* VariantsApi - functional programming interface
|
|
5800
|
-
* @export
|
|
5801
4156
|
*/
|
|
5802
4157
|
export const VariantsApiFp = function(configuration?: Configuration) {
|
|
5803
4158
|
const localVarAxiosParamCreator = VariantsApiAxiosParamCreator(configuration)
|
|
@@ -5839,7 +4194,6 @@ export const VariantsApiFp = function(configuration?: Configuration) {
|
|
|
5839
4194
|
|
|
5840
4195
|
/**
|
|
5841
4196
|
* VariantsApi - factory interface
|
|
5842
|
-
* @export
|
|
5843
4197
|
*/
|
|
5844
4198
|
export const VariantsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
5845
4199
|
const localVarFp = VariantsApiFp(configuration)
|
|
@@ -5869,79 +4223,56 @@ export const VariantsApiFactory = function (configuration?: Configuration, baseP
|
|
|
5869
4223
|
|
|
5870
4224
|
/**
|
|
5871
4225
|
* Request parameters for getVariant operation in VariantsApi.
|
|
5872
|
-
* @export
|
|
5873
|
-
* @interface VariantsApiGetVariantRequest
|
|
5874
4226
|
*/
|
|
5875
4227
|
export interface VariantsApiGetVariantRequest {
|
|
5876
4228
|
/**
|
|
5877
4229
|
* What project it is
|
|
5878
|
-
* @type {string}
|
|
5879
|
-
* @memberof VariantsApiGetVariant
|
|
5880
4230
|
*/
|
|
5881
4231
|
readonly project: string
|
|
5882
4232
|
|
|
5883
4233
|
/**
|
|
5884
4234
|
* Variants unique identifier
|
|
5885
|
-
* @type {string}
|
|
5886
|
-
* @memberof VariantsApiGetVariant
|
|
5887
4235
|
*/
|
|
5888
4236
|
readonly variantId: string
|
|
5889
4237
|
|
|
5890
4238
|
/**
|
|
5891
4239
|
* Filter response fields to only include a subset of the resource.
|
|
5892
|
-
* @type {string}
|
|
5893
|
-
* @memberof VariantsApiGetVariant
|
|
5894
4240
|
*/
|
|
5895
4241
|
readonly fields?: string
|
|
5896
4242
|
}
|
|
5897
4243
|
|
|
5898
4244
|
/**
|
|
5899
4245
|
* Request parameters for listVariants operation in VariantsApi.
|
|
5900
|
-
* @export
|
|
5901
|
-
* @interface VariantsApiListVariantsRequest
|
|
5902
4246
|
*/
|
|
5903
4247
|
export interface VariantsApiListVariantsRequest {
|
|
5904
4248
|
/**
|
|
5905
4249
|
* What project it is
|
|
5906
|
-
* @type {string}
|
|
5907
|
-
* @memberof VariantsApiListVariants
|
|
5908
4250
|
*/
|
|
5909
4251
|
readonly project: string
|
|
5910
4252
|
|
|
5911
4253
|
/**
|
|
5912
4254
|
* Search query string to filter results. Supports field-specific filters like \'enabled:true\', \'uuid:<id>\', \'name:\"product name\"\', and \'tag:\"tag name\"\'. Multiple filters can be combined with spaces and commas.
|
|
5913
|
-
* @type {string}
|
|
5914
|
-
* @memberof VariantsApiListVariants
|
|
5915
4255
|
*/
|
|
5916
4256
|
readonly search?: string
|
|
5917
4257
|
|
|
5918
4258
|
/**
|
|
5919
4259
|
* Page reference token
|
|
5920
|
-
* @type {number}
|
|
5921
|
-
* @memberof VariantsApiListVariants
|
|
5922
4260
|
*/
|
|
5923
4261
|
readonly pageToken?: number
|
|
5924
4262
|
|
|
5925
4263
|
/**
|
|
5926
4264
|
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
5927
|
-
* @type {number}
|
|
5928
|
-
* @memberof VariantsApiListVariants
|
|
5929
4265
|
*/
|
|
5930
4266
|
readonly pageSize?: number
|
|
5931
4267
|
|
|
5932
4268
|
/**
|
|
5933
4269
|
* Filter response fields to only include a subset of the resource.
|
|
5934
|
-
* @type {string}
|
|
5935
|
-
* @memberof VariantsApiListVariants
|
|
5936
4270
|
*/
|
|
5937
4271
|
readonly fields?: string
|
|
5938
4272
|
}
|
|
5939
4273
|
|
|
5940
4274
|
/**
|
|
5941
4275
|
* VariantsApi - object-oriented interface
|
|
5942
|
-
* @export
|
|
5943
|
-
* @class VariantsApi
|
|
5944
|
-
* @extends {BaseAPI}
|
|
5945
4276
|
*/
|
|
5946
4277
|
export class VariantsApi extends BaseAPI {
|
|
5947
4278
|
/**
|
|
@@ -5950,7 +4281,6 @@ export class VariantsApi extends BaseAPI {
|
|
|
5950
4281
|
* @param {VariantsApiGetVariantRequest} requestParameters Request parameters.
|
|
5951
4282
|
* @param {*} [options] Override http request option.
|
|
5952
4283
|
* @throws {RequiredError}
|
|
5953
|
-
* @memberof VariantsApi
|
|
5954
4284
|
*/
|
|
5955
4285
|
public getVariant(requestParameters: VariantsApiGetVariantRequest, options?: RawAxiosRequestConfig) {
|
|
5956
4286
|
return VariantsApiFp(this.configuration).getVariant(requestParameters.project, requestParameters.variantId, requestParameters.fields, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5962,7 +4292,6 @@ export class VariantsApi extends BaseAPI {
|
|
|
5962
4292
|
* @param {VariantsApiListVariantsRequest} requestParameters Request parameters.
|
|
5963
4293
|
* @param {*} [options] Override http request option.
|
|
5964
4294
|
* @throws {RequiredError}
|
|
5965
|
-
* @memberof VariantsApi
|
|
5966
4295
|
*/
|
|
5967
4296
|
public listVariants(requestParameters: VariantsApiListVariantsRequest, options?: RawAxiosRequestConfig) {
|
|
5968
4297
|
return VariantsApiFp(this.configuration).listVariants(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.fields, options).then((request) => request(this.axios, this.basePath));
|