@teemill/product-catalog 1.70.0 → 1.71.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/api.ts +16 -1691
- package/base.ts +1 -25
- package/common.ts +1 -2
- package/configuration.ts +1 -18
- package/dist/api.d.ts +17 -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 +17 -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/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.0
|
|
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,381 @@ 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 {
|
|
1333
743
|
/**
|
|
1334
744
|
* Publicly available file URL.
|
|
1335
|
-
* @type {string}
|
|
1336
|
-
* @memberof CreateProductVariantImagesInner
|
|
1337
745
|
*/
|
|
1338
746
|
'src'?: string;
|
|
1339
747
|
}
|
|
1340
|
-
/**
|
|
1341
|
-
*
|
|
1342
|
-
* @export
|
|
1343
|
-
* @interface CreateProductVideosInner
|
|
1344
|
-
*/
|
|
1345
748
|
export interface CreateProductVideosInner {
|
|
1346
749
|
/**
|
|
1347
750
|
* Publicly available file URL.
|
|
1348
|
-
* @type {string}
|
|
1349
|
-
* @memberof CreateProductVideosInner
|
|
1350
751
|
*/
|
|
1351
752
|
'src'?: string;
|
|
1352
753
|
}
|
|
1353
|
-
/**
|
|
1354
|
-
*
|
|
1355
|
-
* @export
|
|
1356
|
-
* @interface DeleteProductsRequest
|
|
1357
|
-
*/
|
|
1358
754
|
export interface DeleteProductsRequest {
|
|
1359
|
-
/**
|
|
1360
|
-
*
|
|
1361
|
-
* @type {Array<string>}
|
|
1362
|
-
* @memberof DeleteProductsRequest
|
|
1363
|
-
*/
|
|
1364
755
|
'products'?: Array<string>;
|
|
1365
756
|
}
|
|
1366
|
-
/**
|
|
1367
|
-
*
|
|
1368
|
-
* @export
|
|
1369
|
-
* @interface DuplicateProducts202Response
|
|
1370
|
-
*/
|
|
1371
757
|
export interface DuplicateProducts202Response {
|
|
1372
758
|
/**
|
|
1373
759
|
* A message describing the duplication status
|
|
1374
|
-
* @type {string}
|
|
1375
|
-
* @memberof DuplicateProducts202Response
|
|
1376
760
|
*/
|
|
1377
761
|
'message'?: string;
|
|
1378
762
|
}
|
|
1379
|
-
/**
|
|
1380
|
-
*
|
|
1381
|
-
* @export
|
|
1382
|
-
* @interface DuplicateProductsRequest
|
|
1383
|
-
*/
|
|
1384
763
|
export interface DuplicateProductsRequest {
|
|
1385
764
|
/**
|
|
1386
765
|
* A set of product IDs to duplicate.
|
|
1387
|
-
* @type {Array<string>}
|
|
1388
|
-
* @memberof DuplicateProductsRequest
|
|
1389
766
|
*/
|
|
1390
767
|
'ids': Array<string>;
|
|
1391
768
|
/**
|
|
1392
769
|
* A set of project IDs to duplicate the products to.
|
|
1393
|
-
* @type {Array<string>}
|
|
1394
|
-
* @memberof DuplicateProductsRequest
|
|
1395
770
|
*/
|
|
1396
771
|
'projects': Array<string>;
|
|
1397
772
|
}
|
|
1398
|
-
/**
|
|
1399
|
-
*
|
|
1400
|
-
* @export
|
|
1401
|
-
* @interface ExportProducts202Response
|
|
1402
|
-
*/
|
|
1403
773
|
export interface ExportProducts202Response {
|
|
1404
774
|
/**
|
|
1405
775
|
* A message describing the export status
|
|
1406
|
-
* @type {string}
|
|
1407
|
-
* @memberof ExportProducts202Response
|
|
1408
776
|
*/
|
|
1409
777
|
'message'?: string;
|
|
1410
778
|
}
|
|
1411
779
|
/**
|
|
1412
780
|
* Image description
|
|
1413
|
-
* @export
|
|
1414
|
-
* @interface Image
|
|
1415
781
|
*/
|
|
1416
782
|
export interface Image {
|
|
1417
783
|
/**
|
|
1418
784
|
* Unique object identifier
|
|
1419
|
-
* @type {string}
|
|
1420
|
-
* @memberof Image
|
|
1421
785
|
*/
|
|
1422
786
|
'id'?: string;
|
|
1423
|
-
/**
|
|
1424
|
-
*
|
|
1425
|
-
* @type {string}
|
|
1426
|
-
* @memberof Image
|
|
1427
|
-
*/
|
|
1428
787
|
'src': string;
|
|
1429
|
-
/**
|
|
1430
|
-
*
|
|
1431
|
-
* @type {string}
|
|
1432
|
-
* @memberof Image
|
|
1433
|
-
*/
|
|
1434
788
|
'type'?: string | null;
|
|
1435
|
-
/**
|
|
1436
|
-
*
|
|
1437
|
-
* @type {string}
|
|
1438
|
-
* @memberof Image
|
|
1439
|
-
*/
|
|
1440
789
|
'alt'?: string;
|
|
1441
790
|
/**
|
|
1442
791
|
* List of variant Ids
|
|
1443
|
-
* @type {Array<string>}
|
|
1444
|
-
* @memberof Image
|
|
1445
792
|
*/
|
|
1446
793
|
'variantIds'?: Array<string>;
|
|
1447
|
-
/**
|
|
1448
|
-
*
|
|
1449
|
-
* @type {number}
|
|
1450
|
-
* @memberof Image
|
|
1451
|
-
*/
|
|
1452
794
|
'sortOrder'?: number;
|
|
1453
|
-
/**
|
|
1454
|
-
*
|
|
1455
|
-
* @type {string}
|
|
1456
|
-
* @memberof Image
|
|
1457
|
-
*/
|
|
1458
795
|
'createdAt'?: string;
|
|
1459
|
-
/**
|
|
1460
|
-
*
|
|
1461
|
-
* @type {string}
|
|
1462
|
-
* @memberof Image
|
|
1463
|
-
*/
|
|
1464
796
|
'updatedAt'?: string;
|
|
1465
797
|
}
|
|
1466
|
-
/**
|
|
1467
|
-
*
|
|
1468
|
-
* @export
|
|
1469
|
-
* @interface ImageFile
|
|
1470
|
-
*/
|
|
1471
798
|
export interface ImageFile {
|
|
1472
799
|
/**
|
|
1473
800
|
* Publicly available file URL.
|
|
1474
|
-
* @type {string}
|
|
1475
|
-
* @memberof ImageFile
|
|
1476
801
|
*/
|
|
1477
802
|
'src': string;
|
|
1478
803
|
/**
|
|
1479
804
|
* 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
805
|
*/
|
|
1483
806
|
'id'?: string | null;
|
|
1484
807
|
/**
|
|
1485
808
|
* Image type.
|
|
1486
|
-
* @type {string}
|
|
1487
|
-
* @memberof ImageFile
|
|
1488
809
|
*/
|
|
1489
810
|
'type'?: string | null;
|
|
1490
811
|
/**
|
|
1491
812
|
* List of variant Ids to associate with the image.
|
|
1492
|
-
* @type {Array<string>}
|
|
1493
|
-
* @memberof ImageFile
|
|
1494
813
|
*/
|
|
1495
814
|
'variantIds'?: Array<string>;
|
|
1496
|
-
/**
|
|
1497
|
-
*
|
|
1498
|
-
* @type {ImageFileFocalPoint}
|
|
1499
|
-
* @memberof ImageFile
|
|
1500
|
-
*/
|
|
1501
815
|
'focalPoint'?: ImageFileFocalPoint;
|
|
1502
816
|
/**
|
|
1503
817
|
* 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
818
|
*/
|
|
1507
819
|
'zoom'?: number;
|
|
1508
820
|
}
|
|
1509
821
|
/**
|
|
1510
822
|
* The focal point of the image, used for positioning the image when it\'s rendered to specific dimensions.
|
|
1511
|
-
* @export
|
|
1512
|
-
* @interface ImageFileFocalPoint
|
|
1513
823
|
*/
|
|
1514
824
|
export interface ImageFileFocalPoint {
|
|
1515
825
|
/**
|
|
1516
826
|
* 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
827
|
*/
|
|
1520
828
|
'x': number;
|
|
1521
829
|
/**
|
|
1522
830
|
* 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
831
|
*/
|
|
1526
832
|
'y': number;
|
|
1527
833
|
}
|
|
1528
|
-
|
|
1529
|
-
*
|
|
1530
|
-
* @export
|
|
1531
|
-
* @interface InlineObject
|
|
1532
|
-
*/
|
|
1533
|
-
export interface InlineObject {
|
|
834
|
+
export interface ImportProducts200Response {
|
|
1534
835
|
/**
|
|
1535
836
|
* Id of the product import
|
|
1536
|
-
* @type {string}
|
|
1537
|
-
* @memberof InlineObject
|
|
1538
837
|
*/
|
|
1539
838
|
'importId'?: string;
|
|
1540
839
|
}
|
|
1541
|
-
/**
|
|
1542
|
-
*
|
|
1543
|
-
* @export
|
|
1544
|
-
* @interface Location
|
|
1545
|
-
*/
|
|
1546
840
|
export interface Location {
|
|
1547
841
|
/**
|
|
1548
842
|
* The total number of units available at the location
|
|
1549
|
-
* @type {number}
|
|
1550
|
-
* @memberof Location
|
|
1551
843
|
*/
|
|
1552
844
|
'level': number;
|
|
1553
845
|
/**
|
|
1554
846
|
* ISO alpha-2 country code
|
|
1555
|
-
* @type {string}
|
|
1556
|
-
* @memberof Location
|
|
1557
847
|
*/
|
|
1558
848
|
'country': string;
|
|
1559
849
|
}
|
|
1560
850
|
/**
|
|
1561
851
|
* Key/value pairs that can be used to store additional information on the product
|
|
1562
|
-
* @export
|
|
1563
|
-
* @interface MetaField
|
|
1564
852
|
*/
|
|
1565
853
|
export interface MetaField {
|
|
1566
854
|
/**
|
|
1567
855
|
* The key of the property
|
|
1568
|
-
* @type {string}
|
|
1569
|
-
* @memberof MetaField
|
|
1570
856
|
*/
|
|
1571
857
|
'key': string;
|
|
1572
858
|
/**
|
|
1573
859
|
* The string value of the property
|
|
1574
|
-
* @type {string}
|
|
1575
|
-
* @memberof MetaField
|
|
1576
860
|
*/
|
|
1577
861
|
'value': string;
|
|
1578
862
|
}
|
|
1579
|
-
/**
|
|
1580
|
-
*
|
|
1581
|
-
* @export
|
|
1582
|
-
* @interface OptimisationHistoryItem
|
|
1583
|
-
*/
|
|
1584
863
|
export interface OptimisationHistoryItem {
|
|
1585
864
|
/**
|
|
1586
865
|
* Unique object identifier
|
|
1587
|
-
* @type {string}
|
|
1588
|
-
* @memberof OptimisationHistoryItem
|
|
1589
866
|
*/
|
|
1590
867
|
'id'?: string;
|
|
1591
|
-
/**
|
|
1592
|
-
*
|
|
1593
|
-
* @type {string}
|
|
1594
|
-
* @memberof OptimisationHistoryItem
|
|
1595
|
-
*/
|
|
1596
868
|
'createdAt'?: string;
|
|
1597
869
|
}
|
|
1598
870
|
/**
|
|
1599
871
|
* Standard price definition that defines the amount, tax rate and currency.
|
|
1600
|
-
* @export
|
|
1601
|
-
* @interface Price
|
|
1602
872
|
*/
|
|
1603
873
|
export interface Price {
|
|
1604
874
|
/**
|
|
1605
875
|
* Price including tax in the specified currency.
|
|
1606
|
-
* @type {number}
|
|
1607
|
-
* @memberof Price
|
|
1608
876
|
*/
|
|
1609
877
|
'amount'?: number;
|
|
1610
878
|
/**
|
|
1611
879
|
* Currency code for the currency the price is valued in.
|
|
1612
|
-
* @type {string}
|
|
1613
|
-
* @memberof Price
|
|
1614
880
|
*/
|
|
1615
881
|
'currencyCode'?: PriceCurrencyCodeEnum;
|
|
1616
882
|
}
|
|
@@ -1621,340 +887,152 @@ export const PriceCurrencyCodeEnum = {
|
|
|
1621
887
|
|
|
1622
888
|
export type PriceCurrencyCodeEnum = typeof PriceCurrencyCodeEnum[keyof typeof PriceCurrencyCodeEnum];
|
|
1623
889
|
|
|
1624
|
-
/**
|
|
1625
|
-
*
|
|
1626
|
-
* @export
|
|
1627
|
-
* @interface Product
|
|
1628
|
-
*/
|
|
1629
890
|
export interface Product {
|
|
1630
891
|
/**
|
|
1631
892
|
* Unique object identifier
|
|
1632
|
-
* @type {string}
|
|
1633
|
-
* @memberof Product
|
|
1634
893
|
*/
|
|
1635
894
|
'id'?: string;
|
|
1636
895
|
/**
|
|
1637
896
|
* A reference to the resource location
|
|
1638
|
-
* @type {string}
|
|
1639
|
-
* @memberof Product
|
|
1640
897
|
*/
|
|
1641
898
|
'ref'?: string;
|
|
1642
|
-
/**
|
|
1643
|
-
*
|
|
1644
|
-
* @type {string}
|
|
1645
|
-
* @memberof Product
|
|
1646
|
-
*/
|
|
1647
899
|
'title': string;
|
|
1648
|
-
/**
|
|
1649
|
-
*
|
|
1650
|
-
* @type {string}
|
|
1651
|
-
* @memberof Product
|
|
1652
|
-
*/
|
|
1653
900
|
'description': string;
|
|
1654
|
-
/**
|
|
1655
|
-
*
|
|
1656
|
-
* @type {string}
|
|
1657
|
-
* @memberof Product
|
|
1658
|
-
*/
|
|
1659
901
|
'slug'?: string;
|
|
1660
|
-
/**
|
|
1661
|
-
*
|
|
1662
|
-
* @type {string}
|
|
1663
|
-
* @memberof Product
|
|
1664
|
-
*/
|
|
1665
902
|
'brand'?: string;
|
|
1666
|
-
/**
|
|
1667
|
-
*
|
|
1668
|
-
* @type {boolean}
|
|
1669
|
-
* @memberof Product
|
|
1670
|
-
*/
|
|
1671
903
|
'enabled'?: boolean;
|
|
1672
|
-
/**
|
|
1673
|
-
*
|
|
1674
|
-
* @type {SEOMetadata}
|
|
1675
|
-
* @memberof Product
|
|
1676
|
-
*/
|
|
1677
904
|
'seoMetadata'?: SEOMetadata;
|
|
1678
|
-
/**
|
|
1679
|
-
*
|
|
1680
|
-
* @type {TargetSearchPhraseData}
|
|
1681
|
-
* @memberof Product
|
|
1682
|
-
*/
|
|
1683
905
|
'targetSearchPhraseData'?: TargetSearchPhraseData;
|
|
1684
|
-
/**
|
|
1685
|
-
*
|
|
1686
|
-
* @type {Array<string>}
|
|
1687
|
-
* @memberof Product
|
|
1688
|
-
*/
|
|
1689
906
|
'tags'?: Array<string>;
|
|
1690
|
-
/**
|
|
1691
|
-
*
|
|
1692
|
-
* @type {Array<string>}
|
|
1693
|
-
* @memberof Product
|
|
1694
|
-
*/
|
|
1695
907
|
'internalTags'?: Array<string>;
|
|
1696
|
-
/**
|
|
1697
|
-
*
|
|
1698
|
-
* @type {string}
|
|
1699
|
-
* @memberof Product
|
|
1700
|
-
*/
|
|
1701
908
|
'createdAt'?: string;
|
|
1702
|
-
/**
|
|
1703
|
-
*
|
|
1704
|
-
* @type {string}
|
|
1705
|
-
* @memberof Product
|
|
1706
|
-
*/
|
|
1707
909
|
'updatedAt'?: string;
|
|
1708
|
-
/**
|
|
1709
|
-
*
|
|
1710
|
-
* @type {string}
|
|
1711
|
-
* @memberof Product
|
|
1712
|
-
*/
|
|
1713
910
|
'publishedAt'?: string;
|
|
1714
911
|
/**
|
|
1715
912
|
* Images
|
|
1716
|
-
* @type {Array<Image>}
|
|
1717
|
-
* @memberof Product
|
|
1718
913
|
*/
|
|
1719
914
|
'images'?: Array<Image>;
|
|
1720
915
|
/**
|
|
1721
916
|
* Videos
|
|
1722
|
-
* @type {Array<Video>}
|
|
1723
|
-
* @memberof Product
|
|
1724
917
|
*/
|
|
1725
918
|
'videos'?: Array<Video>;
|
|
1726
919
|
/**
|
|
1727
920
|
* Variants
|
|
1728
|
-
* @type {Array<Variant>}
|
|
1729
|
-
* @memberof Product
|
|
1730
921
|
*/
|
|
1731
922
|
'variants'?: Array<Variant>;
|
|
1732
923
|
/**
|
|
1733
924
|
* Products in the bundle.
|
|
1734
|
-
* @type {Array<Product>}
|
|
1735
|
-
* @memberof Product
|
|
1736
925
|
*/
|
|
1737
926
|
'bundleItems'?: Array<Product>;
|
|
1738
|
-
/**
|
|
1739
|
-
*
|
|
1740
|
-
* @type {Price}
|
|
1741
|
-
* @memberof Product
|
|
1742
|
-
*/
|
|
1743
927
|
'retailPrice'?: Price;
|
|
1744
|
-
/**
|
|
1745
|
-
*
|
|
1746
|
-
* @type {SalePrice}
|
|
1747
|
-
* @memberof Product
|
|
1748
|
-
*/
|
|
1749
928
|
'salePrice'?: SalePrice | null;
|
|
1750
929
|
/**
|
|
1751
930
|
* Additional files attached to the product.
|
|
1752
|
-
* @type {Array<ProductAdditionalFilesInner>}
|
|
1753
|
-
* @memberof Product
|
|
1754
931
|
*/
|
|
1755
932
|
'additionalFiles'?: Array<ProductAdditionalFilesInner>;
|
|
1756
933
|
/**
|
|
1757
934
|
* List of application sets associated with this product
|
|
1758
|
-
* @type {Array<ProductApplicationSetsInner>}
|
|
1759
|
-
* @memberof Product
|
|
1760
935
|
*/
|
|
1761
936
|
'applicationSets'?: Array<ProductApplicationSetsInner>;
|
|
1762
937
|
/**
|
|
1763
938
|
* The average review rating. This field is only present if included in the fields query parameter
|
|
1764
|
-
* @type {number}
|
|
1765
|
-
* @memberof Product
|
|
1766
939
|
*/
|
|
1767
940
|
'reviewScore'?: number | null;
|
|
1768
941
|
/**
|
|
1769
942
|
* A count of reviews. This field is only present if included in the fields query parameter
|
|
1770
|
-
* @type {number}
|
|
1771
|
-
* @memberof Product
|
|
1772
943
|
*/
|
|
1773
944
|
'reviewCount'?: number;
|
|
1774
|
-
/**
|
|
1775
|
-
*
|
|
1776
|
-
* @type {string}
|
|
1777
|
-
* @memberof Product
|
|
1778
|
-
*/
|
|
1779
945
|
'sku'?: string;
|
|
1780
946
|
/**
|
|
1781
947
|
* A count of sales. This field is only present if included in the fields query parameter
|
|
1782
|
-
* @type {number}
|
|
1783
|
-
* @memberof Product
|
|
1784
948
|
*/
|
|
1785
949
|
'sales'?: number;
|
|
1786
|
-
/**
|
|
1787
|
-
*
|
|
1788
|
-
* @type {string}
|
|
1789
|
-
* @memberof Product
|
|
1790
|
-
*/
|
|
1791
950
|
'salesStart'?: string;
|
|
1792
|
-
/**
|
|
1793
|
-
*
|
|
1794
|
-
* @type {string}
|
|
1795
|
-
* @memberof Product
|
|
1796
|
-
*/
|
|
1797
951
|
'salesEnd'?: string;
|
|
1798
|
-
/**
|
|
1799
|
-
*
|
|
1800
|
-
* @type {boolean}
|
|
1801
|
-
* @memberof Product
|
|
1802
|
-
*/
|
|
1803
952
|
'includeInDataFeeds'?: boolean;
|
|
1804
953
|
/**
|
|
1805
954
|
* For use with the Shopify integration. The Shopify product ID that this product is linked to.
|
|
1806
|
-
* @type {number}
|
|
1807
|
-
* @memberof Product
|
|
1808
955
|
*/
|
|
1809
956
|
'shopifyId'?: number | null;
|
|
1810
|
-
/**
|
|
1811
|
-
*
|
|
1812
|
-
* @type {ProductWarehouseProduct}
|
|
1813
|
-
* @memberof Product
|
|
1814
|
-
*/
|
|
1815
957
|
'warehouseProduct'?: ProductWarehouseProduct;
|
|
1816
958
|
/**
|
|
1817
959
|
* Key/value pairs that can be used to store additional information about the product
|
|
1818
|
-
* @type {Array<MetaField>}
|
|
1819
|
-
* @memberof Product
|
|
1820
960
|
*/
|
|
1821
961
|
'metafields'?: Array<MetaField>;
|
|
1822
962
|
/**
|
|
1823
963
|
* a JSON string representing the personalization template for the product
|
|
1824
|
-
* @type {string}
|
|
1825
|
-
* @memberof Product
|
|
1826
964
|
*/
|
|
1827
965
|
'personalizationTemplate'?: string;
|
|
1828
966
|
/**
|
|
1829
967
|
* History of AI optimisations performed on the product
|
|
1830
|
-
* @type {Array<OptimisationHistoryItem>}
|
|
1831
|
-
* @memberof Product
|
|
1832
968
|
*/
|
|
1833
969
|
'optimisationHistory'?: Array<OptimisationHistoryItem>;
|
|
1834
|
-
/**
|
|
1835
|
-
*
|
|
1836
|
-
* @type {Array<UpdateProductsRequestProductsInnerIntegrationConnectionsInner>}
|
|
1837
|
-
* @memberof Product
|
|
1838
|
-
*/
|
|
1839
970
|
'integrationConnections'?: Array<UpdateProductsRequestProductsInnerIntegrationConnectionsInner>;
|
|
1840
971
|
}
|
|
1841
|
-
/**
|
|
1842
|
-
*
|
|
1843
|
-
* @export
|
|
1844
|
-
* @interface ProductAdditionalFilesInner
|
|
1845
|
-
*/
|
|
1846
972
|
export interface ProductAdditionalFilesInner {
|
|
1847
973
|
/**
|
|
1848
974
|
* Unique object identifier
|
|
1849
|
-
* @type {string}
|
|
1850
|
-
* @memberof ProductAdditionalFilesInner
|
|
1851
975
|
*/
|
|
1852
976
|
'id'?: string;
|
|
1853
977
|
/**
|
|
1854
978
|
* File URL
|
|
1855
|
-
* @type {string}
|
|
1856
|
-
* @memberof ProductAdditionalFilesInner
|
|
1857
979
|
*/
|
|
1858
980
|
'src'?: string;
|
|
1859
981
|
}
|
|
1860
|
-
/**
|
|
1861
|
-
*
|
|
1862
|
-
* @export
|
|
1863
|
-
* @interface ProductApplicationSetsInner
|
|
1864
|
-
*/
|
|
1865
982
|
export interface ProductApplicationSetsInner {
|
|
1866
983
|
/**
|
|
1867
984
|
* Unique object identifier
|
|
1868
|
-
* @type {string}
|
|
1869
|
-
* @memberof ProductApplicationSetsInner
|
|
1870
985
|
*/
|
|
1871
986
|
'id'?: string;
|
|
1872
987
|
/**
|
|
1873
988
|
* A reference to the application set resource location
|
|
1874
|
-
* @type {string}
|
|
1875
|
-
* @memberof ProductApplicationSetsInner
|
|
1876
989
|
*/
|
|
1877
990
|
'ref'?: string;
|
|
1878
991
|
/**
|
|
1879
992
|
* Name of the application set
|
|
1880
|
-
* @type {string}
|
|
1881
|
-
* @memberof ProductApplicationSetsInner
|
|
1882
993
|
*/
|
|
1883
994
|
'name'?: string;
|
|
1884
995
|
}
|
|
1885
|
-
/**
|
|
1886
|
-
*
|
|
1887
|
-
* @export
|
|
1888
|
-
* @interface ProductWarehouseProduct
|
|
1889
|
-
*/
|
|
1890
996
|
export interface ProductWarehouseProduct {
|
|
1891
997
|
/**
|
|
1892
998
|
* Unique object identifier
|
|
1893
|
-
* @type {string}
|
|
1894
|
-
* @memberof ProductWarehouseProduct
|
|
1895
999
|
*/
|
|
1896
1000
|
'id'?: string;
|
|
1897
1001
|
/**
|
|
1898
1002
|
* 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
1003
|
*/
|
|
1902
1004
|
'gfnProductRef'?: string;
|
|
1903
1005
|
}
|
|
1904
|
-
/**
|
|
1905
|
-
*
|
|
1906
|
-
* @export
|
|
1907
|
-
* @interface ProductsResponse
|
|
1908
|
-
*/
|
|
1909
1006
|
export interface ProductsResponse {
|
|
1910
|
-
/**
|
|
1911
|
-
*
|
|
1912
|
-
* @type {Array<Product>}
|
|
1913
|
-
* @memberof ProductsResponse
|
|
1914
|
-
*/
|
|
1915
1007
|
'products'?: Array<Product>;
|
|
1916
1008
|
/**
|
|
1917
1009
|
* The token referencing the next page number
|
|
1918
|
-
* @type {number}
|
|
1919
|
-
* @memberof ProductsResponse
|
|
1920
1010
|
*/
|
|
1921
1011
|
'nextPageToken'?: number | null;
|
|
1922
1012
|
}
|
|
1923
1013
|
/**
|
|
1924
1014
|
* SEO metadata for the product
|
|
1925
|
-
* @export
|
|
1926
|
-
* @interface SEOMetadata
|
|
1927
1015
|
*/
|
|
1928
1016
|
export interface SEOMetadata {
|
|
1929
1017
|
/**
|
|
1930
1018
|
* 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
1019
|
*/
|
|
1934
1020
|
'title'?: string;
|
|
1935
1021
|
/**
|
|
1936
1022
|
* 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
1023
|
*/
|
|
1940
1024
|
'description'?: string | null;
|
|
1941
1025
|
}
|
|
1942
1026
|
/**
|
|
1943
1027
|
* Discounted price including tax.
|
|
1944
|
-
* @export
|
|
1945
|
-
* @interface SalePrice
|
|
1946
1028
|
*/
|
|
1947
1029
|
export interface SalePrice {
|
|
1948
1030
|
/**
|
|
1949
1031
|
* Discounted price including tax in the specified currency.
|
|
1950
|
-
* @type {number}
|
|
1951
|
-
* @memberof SalePrice
|
|
1952
1032
|
*/
|
|
1953
1033
|
'amount': number;
|
|
1954
1034
|
/**
|
|
1955
1035
|
* Currency code for the currency the sale price is valued in.
|
|
1956
|
-
* @type {string}
|
|
1957
|
-
* @memberof SalePrice
|
|
1958
1036
|
*/
|
|
1959
1037
|
'currencyCode': SalePriceCurrencyCodeEnum;
|
|
1960
1038
|
}
|
|
@@ -1965,130 +1043,67 @@ export const SalePriceCurrencyCodeEnum = {
|
|
|
1965
1043
|
|
|
1966
1044
|
export type SalePriceCurrencyCodeEnum = typeof SalePriceCurrencyCodeEnum[keyof typeof SalePriceCurrencyCodeEnum];
|
|
1967
1045
|
|
|
1968
|
-
/**
|
|
1969
|
-
*
|
|
1970
|
-
* @export
|
|
1971
|
-
* @interface SeoOptimiseProducts202Response
|
|
1972
|
-
*/
|
|
1973
1046
|
export interface SeoOptimiseProducts202Response {
|
|
1974
1047
|
/**
|
|
1975
1048
|
* A message describing the optimisation status
|
|
1976
|
-
* @type {string}
|
|
1977
|
-
* @memberof SeoOptimiseProducts202Response
|
|
1978
1049
|
*/
|
|
1979
1050
|
'message'?: string;
|
|
1980
1051
|
}
|
|
1981
|
-
/**
|
|
1982
|
-
*
|
|
1983
|
-
* @export
|
|
1984
|
-
* @interface SeoOptimiseProductsRequest
|
|
1985
|
-
*/
|
|
1986
1052
|
export interface SeoOptimiseProductsRequest {
|
|
1987
1053
|
/**
|
|
1988
1054
|
* A set of product IDs to AI SEO optimise.
|
|
1989
|
-
* @type {Array<string>}
|
|
1990
|
-
* @memberof SeoOptimiseProductsRequest
|
|
1991
1055
|
*/
|
|
1992
1056
|
'ids'?: Array<string>;
|
|
1993
1057
|
/**
|
|
1994
1058
|
* If provided, only the specified fields will be updated.
|
|
1995
|
-
* @type {Array<string>}
|
|
1996
|
-
* @memberof SeoOptimiseProductsRequest
|
|
1997
1059
|
*/
|
|
1998
1060
|
'fields'?: Array<string>;
|
|
1999
1061
|
}
|
|
2000
|
-
/**
|
|
2001
|
-
*
|
|
2002
|
-
* @export
|
|
2003
|
-
* @interface Stock
|
|
2004
|
-
*/
|
|
2005
1062
|
export interface Stock {
|
|
2006
|
-
/**
|
|
2007
|
-
*
|
|
2008
|
-
* @type {number}
|
|
2009
|
-
* @memberof Stock
|
|
2010
|
-
*/
|
|
2011
1063
|
'level'?: number;
|
|
2012
|
-
/**
|
|
2013
|
-
*
|
|
2014
|
-
* @type {Array<Location>}
|
|
2015
|
-
* @memberof Stock
|
|
2016
|
-
*/
|
|
2017
1064
|
'locations'?: Array<Location>;
|
|
2018
1065
|
}
|
|
2019
|
-
/**
|
|
2020
|
-
*
|
|
2021
|
-
* @export
|
|
2022
|
-
* @interface TargetSearchPhraseData
|
|
2023
|
-
*/
|
|
2024
1066
|
export interface TargetSearchPhraseData {
|
|
2025
1067
|
/**
|
|
2026
1068
|
* 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
1069
|
*/
|
|
2030
1070
|
'targetSearchPhrase'?: string;
|
|
2031
1071
|
/**
|
|
2032
1072
|
* Synonyms for the target search phrase.
|
|
2033
|
-
* @type {Array<string>}
|
|
2034
|
-
* @memberof TargetSearchPhraseData
|
|
2035
1073
|
*/
|
|
2036
1074
|
'targetSearchPhraseSynonyms'?: Array<string>;
|
|
2037
1075
|
}
|
|
2038
|
-
/**
|
|
2039
|
-
*
|
|
2040
|
-
* @export
|
|
2041
|
-
* @interface TextApplicationProperties
|
|
2042
|
-
*/
|
|
2043
1076
|
export interface TextApplicationProperties {
|
|
2044
|
-
/**
|
|
2045
|
-
*
|
|
2046
|
-
* @type {TextApplicationPropertiesPosition}
|
|
2047
|
-
* @memberof TextApplicationProperties
|
|
2048
|
-
*/
|
|
2049
1077
|
'position'?: TextApplicationPropertiesPosition;
|
|
2050
|
-
/**
|
|
2051
|
-
*
|
|
2052
|
-
* @type {ApplicationPropertiesPositionInference}
|
|
2053
|
-
* @memberof TextApplicationProperties
|
|
2054
|
-
*/
|
|
2055
1078
|
'positionInference'?: ApplicationPropertiesPositionInference | null;
|
|
2056
1079
|
/**
|
|
2057
1080
|
* An array of text lines.
|
|
2058
|
-
* @type {Array<string>}
|
|
2059
|
-
* @memberof TextApplicationProperties
|
|
2060
1081
|
*/
|
|
2061
1082
|
'lines'?: Array<string>;
|
|
2062
1083
|
/**
|
|
2063
1084
|
* 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
1085
|
*/
|
|
2067
1086
|
'font'?: string;
|
|
2068
1087
|
/**
|
|
2069
1088
|
* The size of the text in pixels.
|
|
2070
|
-
* @type {number}
|
|
2071
|
-
* @memberof TextApplicationProperties
|
|
2072
1089
|
*/
|
|
2073
1090
|
'fontSize'?: number;
|
|
2074
1091
|
/**
|
|
2075
1092
|
* The weight of the text. This must be a valid CSS font-weight value.
|
|
2076
|
-
* @type {string}
|
|
2077
|
-
* @memberof TextApplicationProperties
|
|
2078
1093
|
*/
|
|
2079
1094
|
'fontWeight'?: TextApplicationPropertiesFontWeightEnum;
|
|
2080
1095
|
/**
|
|
2081
1096
|
* The style of the text. This must be a valid CSS font-style value.
|
|
2082
|
-
* @type {string}
|
|
2083
|
-
* @memberof TextApplicationProperties
|
|
2084
1097
|
*/
|
|
2085
1098
|
'fontStyle'?: TextApplicationPropertiesFontStyleEnum;
|
|
2086
1099
|
/**
|
|
2087
1100
|
* The colour of the text in hex format.
|
|
2088
|
-
* @type {string}
|
|
2089
|
-
* @memberof TextApplicationProperties
|
|
2090
1101
|
*/
|
|
2091
1102
|
'color'?: string;
|
|
1103
|
+
/**
|
|
1104
|
+
* The rotation of the text in degrees.
|
|
1105
|
+
*/
|
|
1106
|
+
'rotation'?: number;
|
|
2092
1107
|
}
|
|
2093
1108
|
|
|
2094
1109
|
export const TextApplicationPropertiesFontWeightEnum = {
|
|
@@ -2107,29 +1122,15 @@ export const TextApplicationPropertiesFontStyleEnum = {
|
|
|
2107
1122
|
|
|
2108
1123
|
export type TextApplicationPropertiesFontStyleEnum = typeof TextApplicationPropertiesFontStyleEnum[keyof typeof TextApplicationPropertiesFontStyleEnum];
|
|
2109
1124
|
|
|
2110
|
-
/**
|
|
2111
|
-
*
|
|
2112
|
-
* @export
|
|
2113
|
-
* @interface TextApplicationPropertiesPersonalization
|
|
2114
|
-
*/
|
|
2115
1125
|
export interface TextApplicationPropertiesPersonalization {
|
|
2116
1126
|
/**
|
|
2117
1127
|
* The label to be displayed on the personalization field.
|
|
2118
|
-
* @type {string}
|
|
2119
|
-
* @memberof TextApplicationPropertiesPersonalization
|
|
2120
1128
|
*/
|
|
2121
1129
|
'label'?: string;
|
|
2122
1130
|
/**
|
|
2123
1131
|
* The type of the personalization field
|
|
2124
|
-
* @type {string}
|
|
2125
|
-
* @memberof TextApplicationPropertiesPersonalization
|
|
2126
1132
|
*/
|
|
2127
1133
|
'type'?: TextApplicationPropertiesPersonalizationTypeEnum | null;
|
|
2128
|
-
/**
|
|
2129
|
-
*
|
|
2130
|
-
* @type {TextApplicationPropertiesPersonalizationRules}
|
|
2131
|
-
* @memberof TextApplicationPropertiesPersonalization
|
|
2132
|
-
*/
|
|
2133
1134
|
'rules'?: TextApplicationPropertiesPersonalizationRules;
|
|
2134
1135
|
}
|
|
2135
1136
|
|
|
@@ -2140,533 +1141,289 @@ export const TextApplicationPropertiesPersonalizationTypeEnum = {
|
|
|
2140
1141
|
|
|
2141
1142
|
export type TextApplicationPropertiesPersonalizationTypeEnum = typeof TextApplicationPropertiesPersonalizationTypeEnum[keyof typeof TextApplicationPropertiesPersonalizationTypeEnum];
|
|
2142
1143
|
|
|
2143
|
-
/**
|
|
2144
|
-
*
|
|
2145
|
-
* @export
|
|
2146
|
-
* @interface TextApplicationPropertiesPersonalizationRules
|
|
2147
|
-
*/
|
|
2148
1144
|
export interface TextApplicationPropertiesPersonalizationRules {
|
|
2149
1145
|
/**
|
|
2150
1146
|
* The maximum length of the text, in characters.
|
|
2151
|
-
* @type {number}
|
|
2152
|
-
* @memberof TextApplicationPropertiesPersonalizationRules
|
|
2153
1147
|
*/
|
|
2154
1148
|
'maxLength'?: number;
|
|
2155
1149
|
/**
|
|
2156
1150
|
* If true, suspected profanities will be replaced by *. Only valid when metadata.personalization.type is \"text\"
|
|
2157
|
-
* @type {boolean}
|
|
2158
|
-
* @memberof TextApplicationPropertiesPersonalizationRules
|
|
2159
1151
|
*/
|
|
2160
1152
|
'profanityFilter'?: boolean;
|
|
2161
1153
|
/**
|
|
2162
1154
|
* 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
1155
|
*/
|
|
2166
1156
|
'scaleToFit'?: boolean;
|
|
2167
1157
|
/**
|
|
2168
1158
|
* The maximum value of the number. Only valid when metadata.personalization.type is \"number\"
|
|
2169
|
-
* @type {number}
|
|
2170
|
-
* @memberof TextApplicationPropertiesPersonalizationRules
|
|
2171
1159
|
*/
|
|
2172
1160
|
'maxValue'?: number;
|
|
2173
1161
|
/**
|
|
2174
1162
|
* The minimum value of the number. Only valid when metadata.personalization.type is \"number\"
|
|
2175
|
-
* @type {number}
|
|
2176
|
-
* @memberof TextApplicationPropertiesPersonalizationRules
|
|
2177
1163
|
*/
|
|
2178
1164
|
'minValue'?: number;
|
|
2179
1165
|
/**
|
|
2180
1166
|
* 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
1167
|
*/
|
|
2184
1168
|
'pad'?: number;
|
|
2185
1169
|
}
|
|
2186
|
-
/**
|
|
2187
|
-
*
|
|
2188
|
-
* @export
|
|
2189
|
-
* @interface TextApplicationPropertiesPosition
|
|
2190
|
-
*/
|
|
2191
1170
|
export interface TextApplicationPropertiesPosition {
|
|
2192
1171
|
/**
|
|
2193
1172
|
* The x position of the application in pixels.
|
|
2194
|
-
* @type {number}
|
|
2195
|
-
* @memberof TextApplicationPropertiesPosition
|
|
2196
1173
|
*/
|
|
2197
1174
|
'x': number;
|
|
2198
1175
|
/**
|
|
2199
1176
|
* The y position of the application in pixels.
|
|
2200
|
-
* @type {number}
|
|
2201
|
-
* @memberof TextApplicationPropertiesPosition
|
|
2202
1177
|
*/
|
|
2203
1178
|
'y': number;
|
|
2204
1179
|
/**
|
|
2205
1180
|
* 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
1181
|
*/
|
|
2209
1182
|
'z'?: number;
|
|
2210
1183
|
}
|
|
2211
|
-
/**
|
|
2212
|
-
*
|
|
2213
|
-
* @export
|
|
2214
|
-
* @interface UpdateApplicationGroupRequest
|
|
2215
|
-
*/
|
|
2216
1184
|
export interface UpdateApplicationGroupRequest {
|
|
2217
1185
|
/**
|
|
2218
1186
|
* Name of the application group
|
|
2219
|
-
* @type {string}
|
|
2220
|
-
* @memberof UpdateApplicationGroupRequest
|
|
2221
1187
|
*/
|
|
2222
1188
|
'name'?: string;
|
|
2223
1189
|
}
|
|
2224
|
-
/**
|
|
2225
|
-
*
|
|
2226
|
-
* @export
|
|
2227
|
-
* @interface UpdateApplicationSetRequest
|
|
2228
|
-
*/
|
|
2229
1190
|
export interface UpdateApplicationSetRequest {
|
|
2230
1191
|
/**
|
|
2231
1192
|
* Name of the application set
|
|
2232
|
-
* @type {string}
|
|
2233
|
-
* @memberof UpdateApplicationSetRequest
|
|
2234
1193
|
*/
|
|
2235
1194
|
'name'?: string;
|
|
2236
1195
|
/**
|
|
2237
1196
|
* Description of the application set
|
|
2238
|
-
* @type {string}
|
|
2239
|
-
* @memberof UpdateApplicationSetRequest
|
|
2240
1197
|
*/
|
|
2241
1198
|
'description'?: string;
|
|
2242
1199
|
/**
|
|
2243
1200
|
* The width, in pixels of the images in the set
|
|
2244
|
-
* @type {number}
|
|
2245
|
-
* @memberof UpdateApplicationSetRequest
|
|
2246
1201
|
*/
|
|
2247
1202
|
'width'?: number;
|
|
2248
1203
|
/**
|
|
2249
1204
|
* The height, in pixels of the images in the set
|
|
2250
|
-
* @type {number}
|
|
2251
|
-
* @memberof UpdateApplicationSetRequest
|
|
2252
1205
|
*/
|
|
2253
1206
|
'height'?: number;
|
|
2254
1207
|
/**
|
|
2255
1208
|
* The DPI used when printing the images in the set
|
|
2256
|
-
* @type {number}
|
|
2257
|
-
* @memberof UpdateApplicationSetRequest
|
|
2258
1209
|
*/
|
|
2259
1210
|
'dpi'?: number;
|
|
2260
1211
|
/**
|
|
2261
1212
|
* List of application set records
|
|
2262
|
-
* @type {Array<UpdateApplicationSetRequestRecordsInner>}
|
|
2263
|
-
* @memberof UpdateApplicationSetRequest
|
|
2264
1213
|
*/
|
|
2265
1214
|
'records'?: Array<UpdateApplicationSetRequestRecordsInner>;
|
|
2266
1215
|
}
|
|
2267
|
-
/**
|
|
2268
|
-
*
|
|
2269
|
-
* @export
|
|
2270
|
-
* @interface UpdateApplicationSetRequestRecordsInner
|
|
2271
|
-
*/
|
|
2272
1216
|
export interface UpdateApplicationSetRequestRecordsInner {
|
|
2273
1217
|
/**
|
|
2274
1218
|
* 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
1219
|
*/
|
|
2278
1220
|
'attributes'?: Array<UpdateApplicationSetRequestRecordsInnerAttributesInner>;
|
|
2279
1221
|
/**
|
|
2280
1222
|
* List of applications for this record
|
|
2281
|
-
* @type {Array<Application>}
|
|
2282
|
-
* @memberof UpdateApplicationSetRequestRecordsInner
|
|
2283
1223
|
*/
|
|
2284
1224
|
'applications'?: Array<Application>;
|
|
2285
1225
|
}
|
|
2286
|
-
/**
|
|
2287
|
-
*
|
|
2288
|
-
* @export
|
|
2289
|
-
* @interface UpdateApplicationSetRequestRecordsInnerAttributesInner
|
|
2290
|
-
*/
|
|
2291
1226
|
export interface UpdateApplicationSetRequestRecordsInnerAttributesInner {
|
|
2292
1227
|
/**
|
|
2293
1228
|
* The name of the option type. e.g. Size, Colour
|
|
2294
|
-
* @type {string}
|
|
2295
|
-
* @memberof UpdateApplicationSetRequestRecordsInnerAttributesInner
|
|
2296
1229
|
*/
|
|
2297
1230
|
'name'?: string;
|
|
2298
1231
|
/**
|
|
2299
1232
|
* The value of the option this record applies to
|
|
2300
|
-
* @type {string}
|
|
2301
|
-
* @memberof UpdateApplicationSetRequestRecordsInnerAttributesInner
|
|
2302
1233
|
*/
|
|
2303
1234
|
'value'?: string;
|
|
2304
1235
|
}
|
|
2305
|
-
/**
|
|
2306
|
-
*
|
|
2307
|
-
* @export
|
|
2308
|
-
* @interface UpdateProductRequest
|
|
2309
|
-
*/
|
|
2310
1236
|
export interface UpdateProductRequest {
|
|
2311
1237
|
/**
|
|
2312
1238
|
* 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
1239
|
*/
|
|
2316
1240
|
'gfnProductRef'?: string;
|
|
2317
1241
|
/**
|
|
2318
1242
|
* Product title
|
|
2319
|
-
* @type {string}
|
|
2320
|
-
* @memberof UpdateProductRequest
|
|
2321
1243
|
*/
|
|
2322
1244
|
'title'?: string;
|
|
2323
1245
|
/**
|
|
2324
1246
|
* Product description
|
|
2325
|
-
* @type {string}
|
|
2326
|
-
* @memberof UpdateProductRequest
|
|
2327
1247
|
*/
|
|
2328
1248
|
'description'?: string;
|
|
2329
1249
|
/**
|
|
2330
1250
|
* Whether the product is enabled upon creation.
|
|
2331
|
-
* @type {boolean}
|
|
2332
|
-
* @memberof UpdateProductRequest
|
|
2333
1251
|
*/
|
|
2334
1252
|
'enabled'?: boolean;
|
|
2335
1253
|
/**
|
|
2336
1254
|
* A custom URL slug for the product. This must be unique for each product on the project.
|
|
2337
|
-
* @type {string}
|
|
2338
|
-
* @memberof UpdateProductRequest
|
|
2339
1255
|
*/
|
|
2340
1256
|
'slug'?: string;
|
|
2341
1257
|
/**
|
|
2342
1258
|
* The brand of the product.
|
|
2343
|
-
* @type {string}
|
|
2344
|
-
* @memberof UpdateProductRequest
|
|
2345
1259
|
*/
|
|
2346
1260
|
'brand'?: string | null;
|
|
2347
|
-
/**
|
|
2348
|
-
*
|
|
2349
|
-
* @type {UpdateProductsRequestProductsInnerSeoMetadata}
|
|
2350
|
-
* @memberof UpdateProductRequest
|
|
2351
|
-
*/
|
|
2352
1261
|
'seoMetadata'?: UpdateProductsRequestProductsInnerSeoMetadata;
|
|
2353
1262
|
/**
|
|
2354
1263
|
* 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
1264
|
*/
|
|
2358
1265
|
'targetSearchPhrase'?: string | null;
|
|
2359
1266
|
/**
|
|
2360
1267
|
* Synonyms for the target search phrase. **Note:** This field requires the website integration
|
|
2361
|
-
* @type {Array<string>}
|
|
2362
|
-
* @memberof UpdateProductRequest
|
|
2363
1268
|
*/
|
|
2364
1269
|
'targetSearchPhraseSynonyms'?: Array<string> | null;
|
|
2365
1270
|
/**
|
|
2366
1271
|
* Additional product tags used for searching and filtering.
|
|
2367
|
-
* @type {Array<string>}
|
|
2368
|
-
* @memberof UpdateProductRequest
|
|
2369
1272
|
*/
|
|
2370
1273
|
'tags'?: Array<string>;
|
|
2371
1274
|
/**
|
|
2372
1275
|
* Additional product tags used for internal searching and filtering.
|
|
2373
|
-
* @type {Array<string>}
|
|
2374
|
-
* @memberof UpdateProductRequest
|
|
2375
1276
|
*/
|
|
2376
1277
|
'internalTags'?: Array<string>;
|
|
2377
1278
|
/**
|
|
2378
1279
|
* Variants
|
|
2379
|
-
* @type {Array<CreateProductVariant>}
|
|
2380
|
-
* @memberof UpdateProductRequest
|
|
2381
1280
|
*/
|
|
2382
1281
|
'variants'?: Array<CreateProductVariant>;
|
|
2383
1282
|
/**
|
|
2384
1283
|
* 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
1284
|
*/
|
|
2388
1285
|
'bundleItems'?: Array<string>;
|
|
2389
|
-
/**
|
|
2390
|
-
*
|
|
2391
|
-
* @type {Price}
|
|
2392
|
-
* @memberof UpdateProductRequest
|
|
2393
|
-
*/
|
|
2394
1286
|
'retailPrice'?: Price;
|
|
2395
|
-
/**
|
|
2396
|
-
*
|
|
2397
|
-
* @type {SalePrice}
|
|
2398
|
-
* @memberof UpdateProductRequest
|
|
2399
|
-
*/
|
|
2400
1287
|
'salePrice'?: SalePrice | null;
|
|
2401
1288
|
/**
|
|
2402
1289
|
* Images to attach to the product. For example, photos of models using/wearing the product.
|
|
2403
|
-
* @type {Array<ImageFile>}
|
|
2404
|
-
* @memberof UpdateProductRequest
|
|
2405
1290
|
*/
|
|
2406
1291
|
'images'?: Array<ImageFile>;
|
|
2407
1292
|
/**
|
|
2408
1293
|
* Videos to attach to the product.
|
|
2409
|
-
* @type {Array<VideoFile>}
|
|
2410
|
-
* @memberof UpdateProductRequest
|
|
2411
1294
|
*/
|
|
2412
1295
|
'videos'?: Array<VideoFile>;
|
|
2413
1296
|
/**
|
|
2414
1297
|
* 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
1298
|
*/
|
|
2418
1299
|
'additionalFiles'?: Array<AdditionalFile>;
|
|
2419
1300
|
/**
|
|
2420
1301
|
* List of application set UUIDs to associate with this product
|
|
2421
|
-
* @type {Array<string>}
|
|
2422
|
-
* @memberof UpdateProductRequest
|
|
2423
1302
|
*/
|
|
2424
1303
|
'applicationSets'?: Array<string>;
|
|
2425
1304
|
/**
|
|
2426
1305
|
* 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
1306
|
*/
|
|
2430
1307
|
'includeInDataFeeds'?: boolean;
|
|
2431
1308
|
/**
|
|
2432
1309
|
* 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
1310
|
*/
|
|
2436
1311
|
'shopifyId'?: number | null;
|
|
2437
1312
|
/**
|
|
2438
1313
|
* Key/value pairs that can be used to store additional information about the product
|
|
2439
|
-
* @type {Array<MetaField>}
|
|
2440
|
-
* @memberof UpdateProductRequest
|
|
2441
1314
|
*/
|
|
2442
1315
|
'metafields'?: Array<MetaField>;
|
|
2443
1316
|
/**
|
|
2444
1317
|
* A JSON object that defines the personalization template for the product.
|
|
2445
|
-
* @type {string}
|
|
2446
|
-
* @memberof UpdateProductRequest
|
|
2447
1318
|
*/
|
|
2448
1319
|
'personalizationTemplate'?: string;
|
|
2449
1320
|
/**
|
|
2450
1321
|
* Integration connections for the product
|
|
2451
|
-
* @type {Array<UpdateProductRequestIntegrationConnectionsInner>}
|
|
2452
|
-
* @memberof UpdateProductRequest
|
|
2453
1322
|
*/
|
|
2454
1323
|
'integrationConnections'?: Array<UpdateProductRequestIntegrationConnectionsInner>;
|
|
2455
1324
|
}
|
|
2456
|
-
/**
|
|
2457
|
-
*
|
|
2458
|
-
* @export
|
|
2459
|
-
* @interface UpdateProductRequestIntegrationConnectionsInner
|
|
2460
|
-
*/
|
|
2461
1325
|
export interface UpdateProductRequestIntegrationConnectionsInner {
|
|
2462
1326
|
/**
|
|
2463
1327
|
* Code identifying the integration
|
|
2464
|
-
* @type {string}
|
|
2465
|
-
* @memberof UpdateProductRequestIntegrationConnectionsInner
|
|
2466
1328
|
*/
|
|
2467
1329
|
'integrationCode': string;
|
|
2468
1330
|
/**
|
|
2469
1331
|
* The value of the identifying property on the foreign product
|
|
2470
|
-
* @type {string}
|
|
2471
|
-
* @memberof UpdateProductRequestIntegrationConnectionsInner
|
|
2472
1332
|
*/
|
|
2473
1333
|
'foreignKey': string;
|
|
2474
1334
|
}
|
|
2475
|
-
/**
|
|
2476
|
-
*
|
|
2477
|
-
* @export
|
|
2478
|
-
* @interface UpdateProductsRequest
|
|
2479
|
-
*/
|
|
2480
1335
|
export interface UpdateProductsRequest {
|
|
2481
|
-
/**
|
|
2482
|
-
*
|
|
2483
|
-
* @type {Array<UpdateProductsRequestProductsInner>}
|
|
2484
|
-
* @memberof UpdateProductsRequest
|
|
2485
|
-
*/
|
|
2486
1336
|
'products'?: Array<UpdateProductsRequestProductsInner>;
|
|
2487
1337
|
}
|
|
2488
|
-
/**
|
|
2489
|
-
*
|
|
2490
|
-
* @export
|
|
2491
|
-
* @interface UpdateProductsRequestProductsInner
|
|
2492
|
-
*/
|
|
2493
1338
|
export interface UpdateProductsRequestProductsInner {
|
|
2494
1339
|
/**
|
|
2495
1340
|
* Unique object identifier
|
|
2496
|
-
* @type {string}
|
|
2497
|
-
* @memberof UpdateProductsRequestProductsInner
|
|
2498
1341
|
*/
|
|
2499
1342
|
'id': string;
|
|
2500
1343
|
/**
|
|
2501
1344
|
* Product title
|
|
2502
|
-
* @type {string}
|
|
2503
|
-
* @memberof UpdateProductsRequestProductsInner
|
|
2504
1345
|
*/
|
|
2505
1346
|
'title'?: string;
|
|
2506
1347
|
/**
|
|
2507
1348
|
* Product description
|
|
2508
|
-
* @type {string}
|
|
2509
|
-
* @memberof UpdateProductsRequestProductsInner
|
|
2510
1349
|
*/
|
|
2511
1350
|
'description'?: string;
|
|
2512
1351
|
/**
|
|
2513
1352
|
* Whether the product is enabled.
|
|
2514
|
-
* @type {boolean}
|
|
2515
|
-
* @memberof UpdateProductsRequestProductsInner
|
|
2516
1353
|
*/
|
|
2517
1354
|
'enabled'?: boolean;
|
|
2518
1355
|
/**
|
|
2519
1356
|
* The brand of the product.
|
|
2520
|
-
* @type {string}
|
|
2521
|
-
* @memberof UpdateProductsRequestProductsInner
|
|
2522
1357
|
*/
|
|
2523
1358
|
'brand'?: string | null;
|
|
2524
|
-
/**
|
|
2525
|
-
*
|
|
2526
|
-
* @type {UpdateProductsRequestProductsInnerSeoMetadata}
|
|
2527
|
-
* @memberof UpdateProductsRequestProductsInner
|
|
2528
|
-
*/
|
|
2529
1359
|
'seoMetadata'?: UpdateProductsRequestProductsInnerSeoMetadata;
|
|
2530
1360
|
/**
|
|
2531
1361
|
* 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
1362
|
*/
|
|
2535
1363
|
'targetSearchPhrase'?: string;
|
|
2536
1364
|
/**
|
|
2537
1365
|
* Synonyms for the target search phrase. **Note:** This field requires the website integration
|
|
2538
|
-
* @type {Array<string>}
|
|
2539
|
-
* @memberof UpdateProductsRequestProductsInner
|
|
2540
1366
|
*/
|
|
2541
1367
|
'targetSearchPhraseSynonyms'?: Array<string>;
|
|
2542
1368
|
/**
|
|
2543
1369
|
* Additional product tags used for searching and filtering.
|
|
2544
|
-
* @type {Array<string>}
|
|
2545
|
-
* @memberof UpdateProductsRequestProductsInner
|
|
2546
1370
|
*/
|
|
2547
1371
|
'tags'?: Array<string>;
|
|
2548
1372
|
/**
|
|
2549
1373
|
* List of variants to update.
|
|
2550
|
-
* @type {Array<UpdateProductsRequestProductsInnerVariantsInner>}
|
|
2551
|
-
* @memberof UpdateProductsRequestProductsInner
|
|
2552
1374
|
*/
|
|
2553
1375
|
'variants'?: Array<UpdateProductsRequestProductsInnerVariantsInner>;
|
|
2554
1376
|
/**
|
|
2555
1377
|
* 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
1378
|
*/
|
|
2559
1379
|
'includeInDataFeeds'?: boolean;
|
|
2560
1380
|
/**
|
|
2561
1381
|
* 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
1382
|
*/
|
|
2565
1383
|
'shopifyId'?: number | null;
|
|
2566
|
-
/**
|
|
2567
|
-
*
|
|
2568
|
-
* @type {Array<UpdateProductsRequestProductsInnerIntegrationConnectionsInner>}
|
|
2569
|
-
* @memberof UpdateProductsRequestProductsInner
|
|
2570
|
-
*/
|
|
2571
1384
|
'integrationConnections'?: Array<UpdateProductsRequestProductsInnerIntegrationConnectionsInner>;
|
|
2572
1385
|
}
|
|
2573
|
-
/**
|
|
2574
|
-
*
|
|
2575
|
-
* @export
|
|
2576
|
-
* @interface UpdateProductsRequestProductsInnerIntegrationConnectionsInner
|
|
2577
|
-
*/
|
|
2578
1386
|
export interface UpdateProductsRequestProductsInnerIntegrationConnectionsInner {
|
|
2579
|
-
/**
|
|
2580
|
-
*
|
|
2581
|
-
* @type {string}
|
|
2582
|
-
* @memberof UpdateProductsRequestProductsInnerIntegrationConnectionsInner
|
|
2583
|
-
*/
|
|
2584
1387
|
'integrationCode': string;
|
|
2585
1388
|
/**
|
|
2586
1389
|
* The value of the identifying property on the foreign product
|
|
2587
|
-
* @type {string}
|
|
2588
|
-
* @memberof UpdateProductsRequestProductsInnerIntegrationConnectionsInner
|
|
2589
1390
|
*/
|
|
2590
1391
|
'foreignKey': string;
|
|
2591
1392
|
}
|
|
2592
|
-
/**
|
|
2593
|
-
*
|
|
2594
|
-
* @export
|
|
2595
|
-
* @interface UpdateProductsRequestProductsInnerSeoMetadata
|
|
2596
|
-
*/
|
|
2597
1393
|
export interface UpdateProductsRequestProductsInnerSeoMetadata {
|
|
2598
1394
|
/**
|
|
2599
1395
|
* 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
1396
|
*/
|
|
2603
1397
|
'title'?: string;
|
|
2604
1398
|
/**
|
|
2605
1399
|
* 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
1400
|
*/
|
|
2609
1401
|
'description'?: string | null;
|
|
2610
1402
|
}
|
|
2611
|
-
/**
|
|
2612
|
-
*
|
|
2613
|
-
* @export
|
|
2614
|
-
* @interface UpdateProductsRequestProductsInnerVariantsInner
|
|
2615
|
-
*/
|
|
2616
1403
|
export interface UpdateProductsRequestProductsInnerVariantsInner {
|
|
2617
1404
|
/**
|
|
2618
1405
|
* Attributes associated to a variant such as Colour and Size.
|
|
2619
|
-
* @type {Array<UpdateProductsRequestProductsInnerVariantsInnerAttributesInner>}
|
|
2620
|
-
* @memberof UpdateProductsRequestProductsInnerVariantsInner
|
|
2621
1406
|
*/
|
|
2622
1407
|
'attributes': Array<UpdateProductsRequestProductsInnerVariantsInnerAttributesInner>;
|
|
2623
|
-
/**
|
|
2624
|
-
*
|
|
2625
|
-
* @type {UpdateProductsRequestProductsInnerVariantsInnerRetailPrice}
|
|
2626
|
-
* @memberof UpdateProductsRequestProductsInnerVariantsInner
|
|
2627
|
-
*/
|
|
2628
1408
|
'retailPrice': UpdateProductsRequestProductsInnerVariantsInnerRetailPrice;
|
|
2629
|
-
/**
|
|
2630
|
-
*
|
|
2631
|
-
* @type {UpdateProductsRequestProductsInnerVariantsInnerSalePrice}
|
|
2632
|
-
* @memberof UpdateProductsRequestProductsInnerVariantsInner
|
|
2633
|
-
*/
|
|
2634
1409
|
'salePrice'?: UpdateProductsRequestProductsInnerVariantsInnerSalePrice | null;
|
|
2635
1410
|
/**
|
|
2636
1411
|
* 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
1412
|
*/
|
|
2640
1413
|
'barcode'?: string | null;
|
|
2641
1414
|
/**
|
|
2642
1415
|
* 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
1416
|
*/
|
|
2646
1417
|
'shopifyId'?: number | null;
|
|
2647
|
-
/**
|
|
2648
|
-
*
|
|
2649
|
-
* @type {Array<UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner>}
|
|
2650
|
-
* @memberof UpdateProductsRequestProductsInnerVariantsInner
|
|
2651
|
-
*/
|
|
2652
1418
|
'integrationConnections'?: Array<UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner>;
|
|
2653
1419
|
}
|
|
2654
|
-
/**
|
|
2655
|
-
*
|
|
2656
|
-
* @export
|
|
2657
|
-
* @interface UpdateProductsRequestProductsInnerVariantsInnerAttributesInner
|
|
2658
|
-
*/
|
|
2659
1420
|
export interface UpdateProductsRequestProductsInnerVariantsInnerAttributesInner {
|
|
2660
1421
|
/**
|
|
2661
1422
|
* Attribute name
|
|
2662
|
-
* @type {string}
|
|
2663
|
-
* @memberof UpdateProductsRequestProductsInnerVariantsInnerAttributesInner
|
|
2664
1423
|
*/
|
|
2665
1424
|
'name': UpdateProductsRequestProductsInnerVariantsInnerAttributesInnerNameEnum;
|
|
2666
1425
|
/**
|
|
2667
1426
|
* Attribute value
|
|
2668
|
-
* @type {string}
|
|
2669
|
-
* @memberof UpdateProductsRequestProductsInnerVariantsInnerAttributesInner
|
|
2670
1427
|
*/
|
|
2671
1428
|
'value': string;
|
|
2672
1429
|
}
|
|
@@ -2678,41 +1435,23 @@ export const UpdateProductsRequestProductsInnerVariantsInnerAttributesInnerNameE
|
|
|
2678
1435
|
|
|
2679
1436
|
export type UpdateProductsRequestProductsInnerVariantsInnerAttributesInnerNameEnum = typeof UpdateProductsRequestProductsInnerVariantsInnerAttributesInnerNameEnum[keyof typeof UpdateProductsRequestProductsInnerVariantsInnerAttributesInnerNameEnum];
|
|
2680
1437
|
|
|
2681
|
-
/**
|
|
2682
|
-
*
|
|
2683
|
-
* @export
|
|
2684
|
-
* @interface UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner
|
|
2685
|
-
*/
|
|
2686
1438
|
export interface UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner {
|
|
2687
|
-
/**
|
|
2688
|
-
*
|
|
2689
|
-
* @type {string}
|
|
2690
|
-
* @memberof UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner
|
|
2691
|
-
*/
|
|
2692
1439
|
'integrationCode': string;
|
|
2693
1440
|
/**
|
|
2694
1441
|
* The value of the identifying property on the foreign variant
|
|
2695
|
-
* @type {string}
|
|
2696
|
-
* @memberof UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner
|
|
2697
1442
|
*/
|
|
2698
1443
|
'foreignKey': string;
|
|
2699
1444
|
}
|
|
2700
1445
|
/**
|
|
2701
1446
|
* Variant retail price including tax.
|
|
2702
|
-
* @export
|
|
2703
|
-
* @interface UpdateProductsRequestProductsInnerVariantsInnerRetailPrice
|
|
2704
1447
|
*/
|
|
2705
1448
|
export interface UpdateProductsRequestProductsInnerVariantsInnerRetailPrice {
|
|
2706
1449
|
/**
|
|
2707
1450
|
* Price including tax in the specified currency.
|
|
2708
|
-
* @type {number}
|
|
2709
|
-
* @memberof UpdateProductsRequestProductsInnerVariantsInnerRetailPrice
|
|
2710
1451
|
*/
|
|
2711
1452
|
'amount': number;
|
|
2712
1453
|
/**
|
|
2713
1454
|
* Currency code for the currency the price is valued in.
|
|
2714
|
-
* @type {string}
|
|
2715
|
-
* @memberof UpdateProductsRequestProductsInnerVariantsInnerRetailPrice
|
|
2716
1455
|
*/
|
|
2717
1456
|
'currencyCode': UpdateProductsRequestProductsInnerVariantsInnerRetailPriceCurrencyCodeEnum;
|
|
2718
1457
|
}
|
|
@@ -2725,20 +1464,14 @@ export type UpdateProductsRequestProductsInnerVariantsInnerRetailPriceCurrencyCo
|
|
|
2725
1464
|
|
|
2726
1465
|
/**
|
|
2727
1466
|
* Variant discounted price including tax.
|
|
2728
|
-
* @export
|
|
2729
|
-
* @interface UpdateProductsRequestProductsInnerVariantsInnerSalePrice
|
|
2730
1467
|
*/
|
|
2731
1468
|
export interface UpdateProductsRequestProductsInnerVariantsInnerSalePrice {
|
|
2732
1469
|
/**
|
|
2733
1470
|
* Discounted price including tax in the specified currency.
|
|
2734
|
-
* @type {number}
|
|
2735
|
-
* @memberof UpdateProductsRequestProductsInnerVariantsInnerSalePrice
|
|
2736
1471
|
*/
|
|
2737
1472
|
'amount': number;
|
|
2738
1473
|
/**
|
|
2739
1474
|
* Currency code for the currency the sale price is valued in.
|
|
2740
|
-
* @type {string}
|
|
2741
|
-
* @memberof UpdateProductsRequestProductsInnerVariantsInnerSalePrice
|
|
2742
1475
|
*/
|
|
2743
1476
|
'currencyCode': UpdateProductsRequestProductsInnerVariantsInnerSalePriceCurrencyCodeEnum;
|
|
2744
1477
|
}
|
|
@@ -2749,276 +1482,108 @@ export const UpdateProductsRequestProductsInnerVariantsInnerSalePriceCurrencyCod
|
|
|
2749
1482
|
|
|
2750
1483
|
export type UpdateProductsRequestProductsInnerVariantsInnerSalePriceCurrencyCodeEnum = typeof UpdateProductsRequestProductsInnerVariantsInnerSalePriceCurrencyCodeEnum[keyof typeof UpdateProductsRequestProductsInnerVariantsInnerSalePriceCurrencyCodeEnum];
|
|
2751
1484
|
|
|
2752
|
-
/**
|
|
2753
|
-
*
|
|
2754
|
-
* @export
|
|
2755
|
-
* @interface Variant
|
|
2756
|
-
*/
|
|
2757
1485
|
export interface Variant {
|
|
2758
1486
|
/**
|
|
2759
1487
|
* Unique object identifier
|
|
2760
|
-
* @type {string}
|
|
2761
|
-
* @memberof Variant
|
|
2762
1488
|
*/
|
|
2763
1489
|
'id'?: string;
|
|
2764
1490
|
/**
|
|
2765
1491
|
* 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
1492
|
*/
|
|
2769
1493
|
'attributes': Array<Attribute>;
|
|
2770
|
-
/**
|
|
2771
|
-
*
|
|
2772
|
-
* @type {string}
|
|
2773
|
-
* @memberof Variant
|
|
2774
|
-
*/
|
|
2775
1494
|
'sku': string;
|
|
2776
1495
|
/**
|
|
2777
1496
|
* A reference to the variant resource location
|
|
2778
|
-
* @type {string}
|
|
2779
|
-
* @memberof Variant
|
|
2780
1497
|
*/
|
|
2781
1498
|
'ref'?: string;
|
|
2782
|
-
/**
|
|
2783
|
-
*
|
|
2784
|
-
* @type {VariantProduct}
|
|
2785
|
-
* @memberof Variant
|
|
2786
|
-
*/
|
|
2787
1499
|
'product'?: VariantProduct;
|
|
2788
|
-
/**
|
|
2789
|
-
*
|
|
2790
|
-
* @type {number}
|
|
2791
|
-
* @memberof Variant
|
|
2792
|
-
*/
|
|
2793
1500
|
'sortOrder'?: number;
|
|
2794
|
-
/**
|
|
2795
|
-
*
|
|
2796
|
-
* @type {Price}
|
|
2797
|
-
* @memberof Variant
|
|
2798
|
-
*/
|
|
2799
1501
|
'retailPrice'?: Price;
|
|
2800
|
-
/**
|
|
2801
|
-
*
|
|
2802
|
-
* @type {SalePrice}
|
|
2803
|
-
* @memberof Variant
|
|
2804
|
-
*/
|
|
2805
1502
|
'salePrice'?: SalePrice | null;
|
|
2806
|
-
/**
|
|
2807
|
-
*
|
|
2808
|
-
* @type {Price}
|
|
2809
|
-
* @memberof Variant
|
|
2810
|
-
*/
|
|
2811
1503
|
'price'?: Price;
|
|
2812
|
-
/**
|
|
2813
|
-
*
|
|
2814
|
-
* @type {Stock}
|
|
2815
|
-
* @memberof Variant
|
|
2816
|
-
*/
|
|
2817
1504
|
'stock'?: Stock;
|
|
2818
|
-
/**
|
|
2819
|
-
*
|
|
2820
|
-
* @type {string}
|
|
2821
|
-
* @memberof Variant
|
|
2822
|
-
*/
|
|
2823
1505
|
'createdAt'?: string;
|
|
2824
|
-
/**
|
|
2825
|
-
*
|
|
2826
|
-
* @type {string}
|
|
2827
|
-
* @memberof Variant
|
|
2828
|
-
*/
|
|
2829
1506
|
'updatedAt'?: string;
|
|
2830
|
-
/**
|
|
2831
|
-
*
|
|
2832
|
-
* @type {string}
|
|
2833
|
-
* @memberof Variant
|
|
2834
|
-
*/
|
|
2835
1507
|
'publishedAt'?: string;
|
|
2836
1508
|
/**
|
|
2837
1509
|
* Images
|
|
2838
|
-
* @type {Array<Image>}
|
|
2839
|
-
* @memberof Variant
|
|
2840
1510
|
*/
|
|
2841
1511
|
'images'?: Array<Image>;
|
|
2842
1512
|
/**
|
|
2843
1513
|
* Design applications. If not provided, the product will be blank.
|
|
2844
|
-
* @type {Array<Application>}
|
|
2845
|
-
* @memberof Variant
|
|
2846
1514
|
*/
|
|
2847
1515
|
'applications'?: Array<Application>;
|
|
2848
1516
|
/**
|
|
2849
1517
|
* 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
1518
|
*/
|
|
2853
1519
|
'barcode'?: string | null;
|
|
2854
1520
|
/**
|
|
2855
1521
|
* Deprecated. Please use `barcode` instead.
|
|
2856
|
-
* @type {string}
|
|
2857
|
-
* @memberof Variant
|
|
2858
1522
|
* @deprecated
|
|
2859
1523
|
*/
|
|
2860
1524
|
'gtin'?: string | null;
|
|
2861
1525
|
/**
|
|
2862
1526
|
* For use with the Shopify integration. The Shopify variant ID that this variant is linked to.
|
|
2863
|
-
* @type {number}
|
|
2864
|
-
* @memberof Variant
|
|
2865
1527
|
*/
|
|
2866
1528
|
'shopifyId'?: number | null;
|
|
2867
1529
|
/**
|
|
2868
1530
|
* Key/value pairs that can be used to store additional information about the variant
|
|
2869
|
-
* @type {Array<MetaField>}
|
|
2870
|
-
* @memberof Variant
|
|
2871
1531
|
*/
|
|
2872
1532
|
'metafields'?: Array<MetaField>;
|
|
2873
|
-
/**
|
|
2874
|
-
*
|
|
2875
|
-
* @type {Array<VariantIntegrationConnectionsInner>}
|
|
2876
|
-
* @memberof Variant
|
|
2877
|
-
*/
|
|
2878
1533
|
'integrationConnections'?: Array<VariantIntegrationConnectionsInner>;
|
|
2879
|
-
/**
|
|
2880
|
-
*
|
|
2881
|
-
* @type {VariantWholesaleCost}
|
|
2882
|
-
* @memberof Variant
|
|
2883
|
-
*/
|
|
2884
1534
|
'wholesaleCost'?: VariantWholesaleCost;
|
|
2885
1535
|
}
|
|
2886
|
-
/**
|
|
2887
|
-
*
|
|
2888
|
-
* @export
|
|
2889
|
-
* @interface VariantIntegrationConnectionsInner
|
|
2890
|
-
*/
|
|
2891
1536
|
export interface VariantIntegrationConnectionsInner {
|
|
2892
|
-
/**
|
|
2893
|
-
*
|
|
2894
|
-
* @type {string}
|
|
2895
|
-
* @memberof VariantIntegrationConnectionsInner
|
|
2896
|
-
*/
|
|
2897
1537
|
'integrationCode': string;
|
|
2898
1538
|
/**
|
|
2899
1539
|
* The value of the identifying property on the foreign variant
|
|
2900
|
-
* @type {string}
|
|
2901
|
-
* @memberof VariantIntegrationConnectionsInner
|
|
2902
1540
|
*/
|
|
2903
1541
|
'foreignKey': string;
|
|
2904
1542
|
}
|
|
2905
|
-
/**
|
|
2906
|
-
*
|
|
2907
|
-
* @export
|
|
2908
|
-
* @interface VariantProduct
|
|
2909
|
-
*/
|
|
2910
1543
|
export interface VariantProduct {
|
|
2911
1544
|
/**
|
|
2912
1545
|
* Unique object identifier
|
|
2913
|
-
* @type {string}
|
|
2914
|
-
* @memberof VariantProduct
|
|
2915
1546
|
*/
|
|
2916
1547
|
'id'?: string;
|
|
2917
1548
|
/**
|
|
2918
1549
|
* A reference to the resource location
|
|
2919
|
-
* @type {string}
|
|
2920
|
-
* @memberof VariantProduct
|
|
2921
1550
|
*/
|
|
2922
1551
|
'ref'?: string;
|
|
2923
1552
|
}
|
|
2924
|
-
/**
|
|
2925
|
-
*
|
|
2926
|
-
* @export
|
|
2927
|
-
* @interface VariantWholesaleCost
|
|
2928
|
-
*/
|
|
2929
1553
|
export interface VariantWholesaleCost {
|
|
2930
|
-
/**
|
|
2931
|
-
*
|
|
2932
|
-
* @type {Price}
|
|
2933
|
-
* @memberof VariantWholesaleCost
|
|
2934
|
-
*/
|
|
2935
1554
|
'item'?: Price;
|
|
2936
|
-
/**
|
|
2937
|
-
*
|
|
2938
|
-
* @type {Price}
|
|
2939
|
-
* @memberof VariantWholesaleCost
|
|
2940
|
-
*/
|
|
2941
1555
|
'fulfillment'?: Price;
|
|
2942
1556
|
}
|
|
2943
|
-
/**
|
|
2944
|
-
*
|
|
2945
|
-
* @export
|
|
2946
|
-
* @interface VariantsResponse
|
|
2947
|
-
*/
|
|
2948
1557
|
export interface VariantsResponse {
|
|
2949
|
-
/**
|
|
2950
|
-
*
|
|
2951
|
-
* @type {Array<Variant>}
|
|
2952
|
-
* @memberof VariantsResponse
|
|
2953
|
-
*/
|
|
2954
1558
|
'variants'?: Array<Variant>;
|
|
2955
1559
|
/**
|
|
2956
1560
|
* The token referencing the next page number
|
|
2957
|
-
* @type {number}
|
|
2958
|
-
* @memberof VariantsResponse
|
|
2959
1561
|
*/
|
|
2960
1562
|
'nextPageToken'?: number | null;
|
|
2961
1563
|
}
|
|
2962
1564
|
/**
|
|
2963
1565
|
* Video object
|
|
2964
|
-
* @export
|
|
2965
|
-
* @interface Video
|
|
2966
1566
|
*/
|
|
2967
1567
|
export interface Video {
|
|
2968
1568
|
/**
|
|
2969
1569
|
* Unique object identifier
|
|
2970
|
-
* @type {string}
|
|
2971
|
-
* @memberof Video
|
|
2972
1570
|
*/
|
|
2973
1571
|
'id'?: string;
|
|
2974
|
-
/**
|
|
2975
|
-
*
|
|
2976
|
-
* @type {string}
|
|
2977
|
-
* @memberof Video
|
|
2978
|
-
*/
|
|
2979
1572
|
'src'?: string;
|
|
2980
|
-
/**
|
|
2981
|
-
*
|
|
2982
|
-
* @type {string}
|
|
2983
|
-
* @memberof Video
|
|
2984
|
-
*/
|
|
2985
1573
|
'alt'?: string;
|
|
2986
|
-
/**
|
|
2987
|
-
*
|
|
2988
|
-
* @type {number}
|
|
2989
|
-
* @memberof Video
|
|
2990
|
-
*/
|
|
2991
1574
|
'sortOrder'?: number;
|
|
2992
|
-
/**
|
|
2993
|
-
*
|
|
2994
|
-
* @type {string}
|
|
2995
|
-
* @memberof Video
|
|
2996
|
-
*/
|
|
2997
1575
|
'createdAt'?: string;
|
|
2998
|
-
/**
|
|
2999
|
-
*
|
|
3000
|
-
* @type {string}
|
|
3001
|
-
* @memberof Video
|
|
3002
|
-
*/
|
|
3003
1576
|
'updatedAt'?: string;
|
|
3004
1577
|
}
|
|
3005
|
-
/**
|
|
3006
|
-
*
|
|
3007
|
-
* @export
|
|
3008
|
-
* @interface VideoFile
|
|
3009
|
-
*/
|
|
3010
1578
|
export interface VideoFile {
|
|
3011
1579
|
/**
|
|
3012
1580
|
* Publicly available file URL.
|
|
3013
|
-
* @type {string}
|
|
3014
|
-
* @memberof VideoFile
|
|
3015
1581
|
*/
|
|
3016
1582
|
'src'?: string;
|
|
3017
1583
|
}
|
|
3018
1584
|
|
|
3019
1585
|
/**
|
|
3020
1586
|
* ApplicationGroupsApi - axios parameter creator
|
|
3021
|
-
* @export
|
|
3022
1587
|
*/
|
|
3023
1588
|
export const ApplicationGroupsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
3024
1589
|
return {
|
|
@@ -3282,7 +1847,6 @@ export const ApplicationGroupsApiAxiosParamCreator = function (configuration?: C
|
|
|
3282
1847
|
|
|
3283
1848
|
/**
|
|
3284
1849
|
* ApplicationGroupsApi - functional programming interface
|
|
3285
|
-
* @export
|
|
3286
1850
|
*/
|
|
3287
1851
|
export const ApplicationGroupsApiFp = function(configuration?: Configuration) {
|
|
3288
1852
|
const localVarAxiosParamCreator = ApplicationGroupsApiAxiosParamCreator(configuration)
|
|
@@ -3365,7 +1929,6 @@ export const ApplicationGroupsApiFp = function(configuration?: Configuration) {
|
|
|
3365
1929
|
|
|
3366
1930
|
/**
|
|
3367
1931
|
* ApplicationGroupsApi - factory interface
|
|
3368
|
-
* @export
|
|
3369
1932
|
*/
|
|
3370
1933
|
export const ApplicationGroupsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
3371
1934
|
const localVarFp = ApplicationGroupsApiFp(configuration)
|
|
@@ -3425,135 +1988,96 @@ export const ApplicationGroupsApiFactory = function (configuration?: Configurati
|
|
|
3425
1988
|
|
|
3426
1989
|
/**
|
|
3427
1990
|
* Request parameters for createApplicationGroup operation in ApplicationGroupsApi.
|
|
3428
|
-
* @export
|
|
3429
|
-
* @interface ApplicationGroupsApiCreateApplicationGroupRequest
|
|
3430
1991
|
*/
|
|
3431
1992
|
export interface ApplicationGroupsApiCreateApplicationGroupRequest {
|
|
3432
1993
|
/**
|
|
3433
1994
|
* What project it is
|
|
3434
|
-
* @type {string}
|
|
3435
|
-
* @memberof ApplicationGroupsApiCreateApplicationGroup
|
|
3436
1995
|
*/
|
|
3437
1996
|
readonly project: string
|
|
3438
1997
|
|
|
3439
1998
|
/**
|
|
3440
1999
|
* Create a new application group.
|
|
3441
|
-
* @type {CreateApplicationGroupRequest}
|
|
3442
|
-
* @memberof ApplicationGroupsApiCreateApplicationGroup
|
|
3443
2000
|
*/
|
|
3444
2001
|
readonly createApplicationGroupRequest?: CreateApplicationGroupRequest
|
|
3445
2002
|
}
|
|
3446
2003
|
|
|
3447
2004
|
/**
|
|
3448
2005
|
* Request parameters for deleteApplicationGroup operation in ApplicationGroupsApi.
|
|
3449
|
-
* @export
|
|
3450
|
-
* @interface ApplicationGroupsApiDeleteApplicationGroupRequest
|
|
3451
2006
|
*/
|
|
3452
2007
|
export interface ApplicationGroupsApiDeleteApplicationGroupRequest {
|
|
3453
2008
|
/**
|
|
3454
2009
|
* What project it is
|
|
3455
|
-
* @type {string}
|
|
3456
|
-
* @memberof ApplicationGroupsApiDeleteApplicationGroup
|
|
3457
2010
|
*/
|
|
3458
2011
|
readonly project: string
|
|
3459
2012
|
|
|
3460
2013
|
/**
|
|
3461
2014
|
* Application group\'s unique identifier
|
|
3462
|
-
* @type {string}
|
|
3463
|
-
* @memberof ApplicationGroupsApiDeleteApplicationGroup
|
|
3464
2015
|
*/
|
|
3465
2016
|
readonly applicationGroupId: string
|
|
3466
2017
|
}
|
|
3467
2018
|
|
|
3468
2019
|
/**
|
|
3469
2020
|
* Request parameters for getApplicationGroup operation in ApplicationGroupsApi.
|
|
3470
|
-
* @export
|
|
3471
|
-
* @interface ApplicationGroupsApiGetApplicationGroupRequest
|
|
3472
2021
|
*/
|
|
3473
2022
|
export interface ApplicationGroupsApiGetApplicationGroupRequest {
|
|
3474
2023
|
/**
|
|
3475
2024
|
* What project it is
|
|
3476
|
-
* @type {string}
|
|
3477
|
-
* @memberof ApplicationGroupsApiGetApplicationGroup
|
|
3478
2025
|
*/
|
|
3479
2026
|
readonly project: string
|
|
3480
2027
|
|
|
3481
2028
|
/**
|
|
3482
2029
|
* Application group\'s unique identifier
|
|
3483
|
-
* @type {string}
|
|
3484
|
-
* @memberof ApplicationGroupsApiGetApplicationGroup
|
|
3485
2030
|
*/
|
|
3486
2031
|
readonly applicationGroupId: string
|
|
3487
2032
|
}
|
|
3488
2033
|
|
|
3489
2034
|
/**
|
|
3490
2035
|
* Request parameters for listApplicationGroups operation in ApplicationGroupsApi.
|
|
3491
|
-
* @export
|
|
3492
|
-
* @interface ApplicationGroupsApiListApplicationGroupsRequest
|
|
3493
2036
|
*/
|
|
3494
2037
|
export interface ApplicationGroupsApiListApplicationGroupsRequest {
|
|
3495
2038
|
/**
|
|
3496
2039
|
* What project it is
|
|
3497
|
-
* @type {string}
|
|
3498
|
-
* @memberof ApplicationGroupsApiListApplicationGroups
|
|
3499
2040
|
*/
|
|
3500
2041
|
readonly project: string
|
|
3501
2042
|
|
|
3502
2043
|
/**
|
|
3503
2044
|
* Page reference token
|
|
3504
|
-
* @type {number}
|
|
3505
|
-
* @memberof ApplicationGroupsApiListApplicationGroups
|
|
3506
2045
|
*/
|
|
3507
2046
|
readonly pageToken?: number
|
|
3508
2047
|
|
|
3509
2048
|
/**
|
|
3510
2049
|
* 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
2050
|
*/
|
|
3514
2051
|
readonly search?: string
|
|
3515
2052
|
|
|
3516
2053
|
/**
|
|
3517
2054
|
* 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
2055
|
*/
|
|
3521
2056
|
readonly pageSize?: number
|
|
3522
2057
|
}
|
|
3523
2058
|
|
|
3524
2059
|
/**
|
|
3525
2060
|
* Request parameters for updateApplicationGroup operation in ApplicationGroupsApi.
|
|
3526
|
-
* @export
|
|
3527
|
-
* @interface ApplicationGroupsApiUpdateApplicationGroupRequest
|
|
3528
2061
|
*/
|
|
3529
2062
|
export interface ApplicationGroupsApiUpdateApplicationGroupRequest {
|
|
3530
2063
|
/**
|
|
3531
2064
|
* What project it is
|
|
3532
|
-
* @type {string}
|
|
3533
|
-
* @memberof ApplicationGroupsApiUpdateApplicationGroup
|
|
3534
2065
|
*/
|
|
3535
2066
|
readonly project: string
|
|
3536
2067
|
|
|
3537
2068
|
/**
|
|
3538
2069
|
* Application group\'s unique identifier
|
|
3539
|
-
* @type {string}
|
|
3540
|
-
* @memberof ApplicationGroupsApiUpdateApplicationGroup
|
|
3541
2070
|
*/
|
|
3542
2071
|
readonly applicationGroupId: string
|
|
3543
2072
|
|
|
3544
2073
|
/**
|
|
3545
2074
|
* Update an existing application group.
|
|
3546
|
-
* @type {UpdateApplicationGroupRequest}
|
|
3547
|
-
* @memberof ApplicationGroupsApiUpdateApplicationGroup
|
|
3548
2075
|
*/
|
|
3549
2076
|
readonly updateApplicationGroupRequest?: UpdateApplicationGroupRequest
|
|
3550
2077
|
}
|
|
3551
2078
|
|
|
3552
2079
|
/**
|
|
3553
2080
|
* ApplicationGroupsApi - object-oriented interface
|
|
3554
|
-
* @export
|
|
3555
|
-
* @class ApplicationGroupsApi
|
|
3556
|
-
* @extends {BaseAPI}
|
|
3557
2081
|
*/
|
|
3558
2082
|
export class ApplicationGroupsApi extends BaseAPI {
|
|
3559
2083
|
/**
|
|
@@ -3562,7 +2086,6 @@ export class ApplicationGroupsApi extends BaseAPI {
|
|
|
3562
2086
|
* @param {ApplicationGroupsApiCreateApplicationGroupRequest} requestParameters Request parameters.
|
|
3563
2087
|
* @param {*} [options] Override http request option.
|
|
3564
2088
|
* @throws {RequiredError}
|
|
3565
|
-
* @memberof ApplicationGroupsApi
|
|
3566
2089
|
*/
|
|
3567
2090
|
public createApplicationGroup(requestParameters: ApplicationGroupsApiCreateApplicationGroupRequest, options?: RawAxiosRequestConfig) {
|
|
3568
2091
|
return ApplicationGroupsApiFp(this.configuration).createApplicationGroup(requestParameters.project, requestParameters.createApplicationGroupRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3574,7 +2097,6 @@ export class ApplicationGroupsApi extends BaseAPI {
|
|
|
3574
2097
|
* @param {ApplicationGroupsApiDeleteApplicationGroupRequest} requestParameters Request parameters.
|
|
3575
2098
|
* @param {*} [options] Override http request option.
|
|
3576
2099
|
* @throws {RequiredError}
|
|
3577
|
-
* @memberof ApplicationGroupsApi
|
|
3578
2100
|
*/
|
|
3579
2101
|
public deleteApplicationGroup(requestParameters: ApplicationGroupsApiDeleteApplicationGroupRequest, options?: RawAxiosRequestConfig) {
|
|
3580
2102
|
return ApplicationGroupsApiFp(this.configuration).deleteApplicationGroup(requestParameters.project, requestParameters.applicationGroupId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3586,7 +2108,6 @@ export class ApplicationGroupsApi extends BaseAPI {
|
|
|
3586
2108
|
* @param {ApplicationGroupsApiGetApplicationGroupRequest} requestParameters Request parameters.
|
|
3587
2109
|
* @param {*} [options] Override http request option.
|
|
3588
2110
|
* @throws {RequiredError}
|
|
3589
|
-
* @memberof ApplicationGroupsApi
|
|
3590
2111
|
*/
|
|
3591
2112
|
public getApplicationGroup(requestParameters: ApplicationGroupsApiGetApplicationGroupRequest, options?: RawAxiosRequestConfig) {
|
|
3592
2113
|
return ApplicationGroupsApiFp(this.configuration).getApplicationGroup(requestParameters.project, requestParameters.applicationGroupId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3598,7 +2119,6 @@ export class ApplicationGroupsApi extends BaseAPI {
|
|
|
3598
2119
|
* @param {ApplicationGroupsApiListApplicationGroupsRequest} requestParameters Request parameters.
|
|
3599
2120
|
* @param {*} [options] Override http request option.
|
|
3600
2121
|
* @throws {RequiredError}
|
|
3601
|
-
* @memberof ApplicationGroupsApi
|
|
3602
2122
|
*/
|
|
3603
2123
|
public listApplicationGroups(requestParameters: ApplicationGroupsApiListApplicationGroupsRequest, options?: RawAxiosRequestConfig) {
|
|
3604
2124
|
return ApplicationGroupsApiFp(this.configuration).listApplicationGroups(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3610,7 +2130,6 @@ export class ApplicationGroupsApi extends BaseAPI {
|
|
|
3610
2130
|
* @param {ApplicationGroupsApiUpdateApplicationGroupRequest} requestParameters Request parameters.
|
|
3611
2131
|
* @param {*} [options] Override http request option.
|
|
3612
2132
|
* @throws {RequiredError}
|
|
3613
|
-
* @memberof ApplicationGroupsApi
|
|
3614
2133
|
*/
|
|
3615
2134
|
public updateApplicationGroup(requestParameters: ApplicationGroupsApiUpdateApplicationGroupRequest, options?: RawAxiosRequestConfig) {
|
|
3616
2135
|
return ApplicationGroupsApiFp(this.configuration).updateApplicationGroup(requestParameters.project, requestParameters.applicationGroupId, requestParameters.updateApplicationGroupRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3621,7 +2140,6 @@ export class ApplicationGroupsApi extends BaseAPI {
|
|
|
3621
2140
|
|
|
3622
2141
|
/**
|
|
3623
2142
|
* ApplicationSetsApi - axios parameter creator
|
|
3624
|
-
* @export
|
|
3625
2143
|
*/
|
|
3626
2144
|
export const ApplicationSetsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
3627
2145
|
return {
|
|
@@ -3885,7 +2403,6 @@ export const ApplicationSetsApiAxiosParamCreator = function (configuration?: Con
|
|
|
3885
2403
|
|
|
3886
2404
|
/**
|
|
3887
2405
|
* ApplicationSetsApi - functional programming interface
|
|
3888
|
-
* @export
|
|
3889
2406
|
*/
|
|
3890
2407
|
export const ApplicationSetsApiFp = function(configuration?: Configuration) {
|
|
3891
2408
|
const localVarAxiosParamCreator = ApplicationSetsApiAxiosParamCreator(configuration)
|
|
@@ -3968,7 +2485,6 @@ export const ApplicationSetsApiFp = function(configuration?: Configuration) {
|
|
|
3968
2485
|
|
|
3969
2486
|
/**
|
|
3970
2487
|
* ApplicationSetsApi - factory interface
|
|
3971
|
-
* @export
|
|
3972
2488
|
*/
|
|
3973
2489
|
export const ApplicationSetsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
3974
2490
|
const localVarFp = ApplicationSetsApiFp(configuration)
|
|
@@ -4028,135 +2544,96 @@ export const ApplicationSetsApiFactory = function (configuration?: Configuration
|
|
|
4028
2544
|
|
|
4029
2545
|
/**
|
|
4030
2546
|
* Request parameters for createApplicationSet operation in ApplicationSetsApi.
|
|
4031
|
-
* @export
|
|
4032
|
-
* @interface ApplicationSetsApiCreateApplicationSetRequest
|
|
4033
2547
|
*/
|
|
4034
2548
|
export interface ApplicationSetsApiCreateApplicationSetRequest {
|
|
4035
2549
|
/**
|
|
4036
2550
|
* What project it is
|
|
4037
|
-
* @type {string}
|
|
4038
|
-
* @memberof ApplicationSetsApiCreateApplicationSet
|
|
4039
2551
|
*/
|
|
4040
2552
|
readonly project: string
|
|
4041
2553
|
|
|
4042
2554
|
/**
|
|
4043
2555
|
* Create a new application set.
|
|
4044
|
-
* @type {CreateApplicationSetRequest}
|
|
4045
|
-
* @memberof ApplicationSetsApiCreateApplicationSet
|
|
4046
2556
|
*/
|
|
4047
2557
|
readonly createApplicationSetRequest?: CreateApplicationSetRequest
|
|
4048
2558
|
}
|
|
4049
2559
|
|
|
4050
2560
|
/**
|
|
4051
2561
|
* Request parameters for deleteApplicationSet operation in ApplicationSetsApi.
|
|
4052
|
-
* @export
|
|
4053
|
-
* @interface ApplicationSetsApiDeleteApplicationSetRequest
|
|
4054
2562
|
*/
|
|
4055
2563
|
export interface ApplicationSetsApiDeleteApplicationSetRequest {
|
|
4056
2564
|
/**
|
|
4057
2565
|
* What project it is
|
|
4058
|
-
* @type {string}
|
|
4059
|
-
* @memberof ApplicationSetsApiDeleteApplicationSet
|
|
4060
2566
|
*/
|
|
4061
2567
|
readonly project: string
|
|
4062
2568
|
|
|
4063
2569
|
/**
|
|
4064
2570
|
* Application set\'s unique identifier
|
|
4065
|
-
* @type {string}
|
|
4066
|
-
* @memberof ApplicationSetsApiDeleteApplicationSet
|
|
4067
2571
|
*/
|
|
4068
2572
|
readonly applicationSetId: string
|
|
4069
2573
|
}
|
|
4070
2574
|
|
|
4071
2575
|
/**
|
|
4072
2576
|
* Request parameters for getApplicationSet operation in ApplicationSetsApi.
|
|
4073
|
-
* @export
|
|
4074
|
-
* @interface ApplicationSetsApiGetApplicationSetRequest
|
|
4075
2577
|
*/
|
|
4076
2578
|
export interface ApplicationSetsApiGetApplicationSetRequest {
|
|
4077
2579
|
/**
|
|
4078
2580
|
* What project it is
|
|
4079
|
-
* @type {string}
|
|
4080
|
-
* @memberof ApplicationSetsApiGetApplicationSet
|
|
4081
2581
|
*/
|
|
4082
2582
|
readonly project: string
|
|
4083
2583
|
|
|
4084
2584
|
/**
|
|
4085
2585
|
* Application set\'s unique identifier
|
|
4086
|
-
* @type {string}
|
|
4087
|
-
* @memberof ApplicationSetsApiGetApplicationSet
|
|
4088
2586
|
*/
|
|
4089
2587
|
readonly applicationSetId: string
|
|
4090
2588
|
}
|
|
4091
2589
|
|
|
4092
2590
|
/**
|
|
4093
2591
|
* Request parameters for listApplicationSets operation in ApplicationSetsApi.
|
|
4094
|
-
* @export
|
|
4095
|
-
* @interface ApplicationSetsApiListApplicationSetsRequest
|
|
4096
2592
|
*/
|
|
4097
2593
|
export interface ApplicationSetsApiListApplicationSetsRequest {
|
|
4098
2594
|
/**
|
|
4099
2595
|
* What project it is
|
|
4100
|
-
* @type {string}
|
|
4101
|
-
* @memberof ApplicationSetsApiListApplicationSets
|
|
4102
2596
|
*/
|
|
4103
2597
|
readonly project: string
|
|
4104
2598
|
|
|
4105
2599
|
/**
|
|
4106
2600
|
* Page reference token
|
|
4107
|
-
* @type {number}
|
|
4108
|
-
* @memberof ApplicationSetsApiListApplicationSets
|
|
4109
2601
|
*/
|
|
4110
2602
|
readonly pageToken?: number
|
|
4111
2603
|
|
|
4112
2604
|
/**
|
|
4113
2605
|
* 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
2606
|
*/
|
|
4117
2607
|
readonly search?: string
|
|
4118
2608
|
|
|
4119
2609
|
/**
|
|
4120
2610
|
* 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
2611
|
*/
|
|
4124
2612
|
readonly pageSize?: number
|
|
4125
2613
|
}
|
|
4126
2614
|
|
|
4127
2615
|
/**
|
|
4128
2616
|
* Request parameters for updateApplicationSet operation in ApplicationSetsApi.
|
|
4129
|
-
* @export
|
|
4130
|
-
* @interface ApplicationSetsApiUpdateApplicationSetRequest
|
|
4131
2617
|
*/
|
|
4132
2618
|
export interface ApplicationSetsApiUpdateApplicationSetRequest {
|
|
4133
2619
|
/**
|
|
4134
2620
|
* What project it is
|
|
4135
|
-
* @type {string}
|
|
4136
|
-
* @memberof ApplicationSetsApiUpdateApplicationSet
|
|
4137
2621
|
*/
|
|
4138
2622
|
readonly project: string
|
|
4139
2623
|
|
|
4140
2624
|
/**
|
|
4141
2625
|
* Application set\'s unique identifier
|
|
4142
|
-
* @type {string}
|
|
4143
|
-
* @memberof ApplicationSetsApiUpdateApplicationSet
|
|
4144
2626
|
*/
|
|
4145
2627
|
readonly applicationSetId: string
|
|
4146
2628
|
|
|
4147
2629
|
/**
|
|
4148
2630
|
* Create a new application set.
|
|
4149
|
-
* @type {UpdateApplicationSetRequest}
|
|
4150
|
-
* @memberof ApplicationSetsApiUpdateApplicationSet
|
|
4151
2631
|
*/
|
|
4152
2632
|
readonly updateApplicationSetRequest?: UpdateApplicationSetRequest
|
|
4153
2633
|
}
|
|
4154
2634
|
|
|
4155
2635
|
/**
|
|
4156
2636
|
* ApplicationSetsApi - object-oriented interface
|
|
4157
|
-
* @export
|
|
4158
|
-
* @class ApplicationSetsApi
|
|
4159
|
-
* @extends {BaseAPI}
|
|
4160
2637
|
*/
|
|
4161
2638
|
export class ApplicationSetsApi extends BaseAPI {
|
|
4162
2639
|
/**
|
|
@@ -4165,7 +2642,6 @@ export class ApplicationSetsApi extends BaseAPI {
|
|
|
4165
2642
|
* @param {ApplicationSetsApiCreateApplicationSetRequest} requestParameters Request parameters.
|
|
4166
2643
|
* @param {*} [options] Override http request option.
|
|
4167
2644
|
* @throws {RequiredError}
|
|
4168
|
-
* @memberof ApplicationSetsApi
|
|
4169
2645
|
*/
|
|
4170
2646
|
public createApplicationSet(requestParameters: ApplicationSetsApiCreateApplicationSetRequest, options?: RawAxiosRequestConfig) {
|
|
4171
2647
|
return ApplicationSetsApiFp(this.configuration).createApplicationSet(requestParameters.project, requestParameters.createApplicationSetRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4177,7 +2653,6 @@ export class ApplicationSetsApi extends BaseAPI {
|
|
|
4177
2653
|
* @param {ApplicationSetsApiDeleteApplicationSetRequest} requestParameters Request parameters.
|
|
4178
2654
|
* @param {*} [options] Override http request option.
|
|
4179
2655
|
* @throws {RequiredError}
|
|
4180
|
-
* @memberof ApplicationSetsApi
|
|
4181
2656
|
*/
|
|
4182
2657
|
public deleteApplicationSet(requestParameters: ApplicationSetsApiDeleteApplicationSetRequest, options?: RawAxiosRequestConfig) {
|
|
4183
2658
|
return ApplicationSetsApiFp(this.configuration).deleteApplicationSet(requestParameters.project, requestParameters.applicationSetId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4189,7 +2664,6 @@ export class ApplicationSetsApi extends BaseAPI {
|
|
|
4189
2664
|
* @param {ApplicationSetsApiGetApplicationSetRequest} requestParameters Request parameters.
|
|
4190
2665
|
* @param {*} [options] Override http request option.
|
|
4191
2666
|
* @throws {RequiredError}
|
|
4192
|
-
* @memberof ApplicationSetsApi
|
|
4193
2667
|
*/
|
|
4194
2668
|
public getApplicationSet(requestParameters: ApplicationSetsApiGetApplicationSetRequest, options?: RawAxiosRequestConfig) {
|
|
4195
2669
|
return ApplicationSetsApiFp(this.configuration).getApplicationSet(requestParameters.project, requestParameters.applicationSetId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4201,7 +2675,6 @@ export class ApplicationSetsApi extends BaseAPI {
|
|
|
4201
2675
|
* @param {ApplicationSetsApiListApplicationSetsRequest} requestParameters Request parameters.
|
|
4202
2676
|
* @param {*} [options] Override http request option.
|
|
4203
2677
|
* @throws {RequiredError}
|
|
4204
|
-
* @memberof ApplicationSetsApi
|
|
4205
2678
|
*/
|
|
4206
2679
|
public listApplicationSets(requestParameters: ApplicationSetsApiListApplicationSetsRequest, options?: RawAxiosRequestConfig) {
|
|
4207
2680
|
return ApplicationSetsApiFp(this.configuration).listApplicationSets(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4213,7 +2686,6 @@ export class ApplicationSetsApi extends BaseAPI {
|
|
|
4213
2686
|
* @param {ApplicationSetsApiUpdateApplicationSetRequest} requestParameters Request parameters.
|
|
4214
2687
|
* @param {*} [options] Override http request option.
|
|
4215
2688
|
* @throws {RequiredError}
|
|
4216
|
-
* @memberof ApplicationSetsApi
|
|
4217
2689
|
*/
|
|
4218
2690
|
public updateApplicationSet(requestParameters: ApplicationSetsApiUpdateApplicationSetRequest, options?: RawAxiosRequestConfig) {
|
|
4219
2691
|
return ApplicationSetsApiFp(this.configuration).updateApplicationSet(requestParameters.project, requestParameters.applicationSetId, requestParameters.updateApplicationSetRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4224,7 +2696,6 @@ export class ApplicationSetsApi extends BaseAPI {
|
|
|
4224
2696
|
|
|
4225
2697
|
/**
|
|
4226
2698
|
* ApplicationTechnologiesApi - axios parameter creator
|
|
4227
|
-
* @export
|
|
4228
2699
|
*/
|
|
4229
2700
|
export const ApplicationTechnologiesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
4230
2701
|
return {
|
|
@@ -4277,7 +2748,6 @@ export const ApplicationTechnologiesApiAxiosParamCreator = function (configurati
|
|
|
4277
2748
|
|
|
4278
2749
|
/**
|
|
4279
2750
|
* ApplicationTechnologiesApi - functional programming interface
|
|
4280
|
-
* @export
|
|
4281
2751
|
*/
|
|
4282
2752
|
export const ApplicationTechnologiesApiFp = function(configuration?: Configuration) {
|
|
4283
2753
|
const localVarAxiosParamCreator = ApplicationTechnologiesApiAxiosParamCreator(configuration)
|
|
@@ -4300,7 +2770,6 @@ export const ApplicationTechnologiesApiFp = function(configuration?: Configurati
|
|
|
4300
2770
|
|
|
4301
2771
|
/**
|
|
4302
2772
|
* ApplicationTechnologiesApi - factory interface
|
|
4303
|
-
* @export
|
|
4304
2773
|
*/
|
|
4305
2774
|
export const ApplicationTechnologiesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
4306
2775
|
const localVarFp = ApplicationTechnologiesApiFp(configuration)
|
|
@@ -4320,23 +2789,16 @@ export const ApplicationTechnologiesApiFactory = function (configuration?: Confi
|
|
|
4320
2789
|
|
|
4321
2790
|
/**
|
|
4322
2791
|
* Request parameters for listTechnologies operation in ApplicationTechnologiesApi.
|
|
4323
|
-
* @export
|
|
4324
|
-
* @interface ApplicationTechnologiesApiListTechnologiesRequest
|
|
4325
2792
|
*/
|
|
4326
2793
|
export interface ApplicationTechnologiesApiListTechnologiesRequest {
|
|
4327
2794
|
/**
|
|
4328
2795
|
* What project it is
|
|
4329
|
-
* @type {string}
|
|
4330
|
-
* @memberof ApplicationTechnologiesApiListTechnologies
|
|
4331
2796
|
*/
|
|
4332
2797
|
readonly project: string
|
|
4333
2798
|
}
|
|
4334
2799
|
|
|
4335
2800
|
/**
|
|
4336
2801
|
* ApplicationTechnologiesApi - object-oriented interface
|
|
4337
|
-
* @export
|
|
4338
|
-
* @class ApplicationTechnologiesApi
|
|
4339
|
-
* @extends {BaseAPI}
|
|
4340
2802
|
*/
|
|
4341
2803
|
export class ApplicationTechnologiesApi extends BaseAPI {
|
|
4342
2804
|
/**
|
|
@@ -4345,7 +2807,6 @@ export class ApplicationTechnologiesApi extends BaseAPI {
|
|
|
4345
2807
|
* @param {ApplicationTechnologiesApiListTechnologiesRequest} requestParameters Request parameters.
|
|
4346
2808
|
* @param {*} [options] Override http request option.
|
|
4347
2809
|
* @throws {RequiredError}
|
|
4348
|
-
* @memberof ApplicationTechnologiesApi
|
|
4349
2810
|
*/
|
|
4350
2811
|
public listTechnologies(requestParameters: ApplicationTechnologiesApiListTechnologiesRequest, options?: RawAxiosRequestConfig) {
|
|
4351
2812
|
return ApplicationTechnologiesApiFp(this.configuration).listTechnologies(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4356,7 +2817,6 @@ export class ApplicationTechnologiesApi extends BaseAPI {
|
|
|
4356
2817
|
|
|
4357
2818
|
/**
|
|
4358
2819
|
* ProductsApi - axios parameter creator
|
|
4359
|
-
* @export
|
|
4360
2820
|
*/
|
|
4361
2821
|
export const ProductsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
4362
2822
|
return {
|
|
@@ -4942,7 +3402,6 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
4942
3402
|
|
|
4943
3403
|
/**
|
|
4944
3404
|
* ProductsApi - functional programming interface
|
|
4945
|
-
* @export
|
|
4946
3405
|
*/
|
|
4947
3406
|
export const ProductsApiFp = function(configuration?: Configuration) {
|
|
4948
3407
|
const localVarAxiosParamCreator = ProductsApiAxiosParamCreator(configuration)
|
|
@@ -5039,7 +3498,7 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
5039
3498
|
* @param {*} [options] Override http request option.
|
|
5040
3499
|
* @throws {RequiredError}
|
|
5041
3500
|
*/
|
|
5042
|
-
async importProducts(project: string, body?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3501
|
+
async importProducts(project: string, body?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImportProducts200Response>> {
|
|
5043
3502
|
const localVarAxiosArgs = await localVarAxiosParamCreator.importProducts(project, body, options);
|
|
5044
3503
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5045
3504
|
const localVarOperationServerBasePath = operationServerMap['ProductsApi.importProducts']?.[localVarOperationServerIndex]?.url;
|
|
@@ -5114,7 +3573,6 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
5114
3573
|
|
|
5115
3574
|
/**
|
|
5116
3575
|
* ProductsApi - factory interface
|
|
5117
|
-
* @export
|
|
5118
3576
|
*/
|
|
5119
3577
|
export const ProductsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
5120
3578
|
const localVarFp = ProductsApiFp(configuration)
|
|
@@ -5186,7 +3644,7 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
5186
3644
|
* @param {*} [options] Override http request option.
|
|
5187
3645
|
* @throws {RequiredError}
|
|
5188
3646
|
*/
|
|
5189
|
-
importProducts(requestParameters: ProductsApiImportProductsRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
3647
|
+
importProducts(requestParameters: ProductsApiImportProductsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ImportProducts200Response> {
|
|
5190
3648
|
return localVarFp.importProducts(requestParameters.project, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
5191
3649
|
},
|
|
5192
3650
|
/**
|
|
@@ -5234,296 +3692,205 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
5234
3692
|
|
|
5235
3693
|
/**
|
|
5236
3694
|
* Request parameters for createProduct operation in ProductsApi.
|
|
5237
|
-
* @export
|
|
5238
|
-
* @interface ProductsApiCreateProductRequest
|
|
5239
3695
|
*/
|
|
5240
3696
|
export interface ProductsApiCreateProductRequest {
|
|
5241
3697
|
/**
|
|
5242
3698
|
* What project it is
|
|
5243
|
-
* @type {string}
|
|
5244
|
-
* @memberof ProductsApiCreateProduct
|
|
5245
3699
|
*/
|
|
5246
3700
|
readonly project: string
|
|
5247
3701
|
|
|
5248
|
-
/**
|
|
5249
|
-
*
|
|
5250
|
-
* @type {CreateProductRequest}
|
|
5251
|
-
* @memberof ProductsApiCreateProduct
|
|
5252
|
-
*/
|
|
5253
3702
|
readonly createProductRequest?: CreateProductRequest
|
|
5254
3703
|
}
|
|
5255
3704
|
|
|
5256
3705
|
/**
|
|
5257
3706
|
* Request parameters for deleteProduct operation in ProductsApi.
|
|
5258
|
-
* @export
|
|
5259
|
-
* @interface ProductsApiDeleteProductRequest
|
|
5260
3707
|
*/
|
|
5261
3708
|
export interface ProductsApiDeleteProductRequest {
|
|
5262
3709
|
/**
|
|
5263
3710
|
* What project it is
|
|
5264
|
-
* @type {string}
|
|
5265
|
-
* @memberof ProductsApiDeleteProduct
|
|
5266
3711
|
*/
|
|
5267
3712
|
readonly project: string
|
|
5268
3713
|
|
|
5269
3714
|
/**
|
|
5270
3715
|
* Product\'s unique identifier
|
|
5271
|
-
* @type {string}
|
|
5272
|
-
* @memberof ProductsApiDeleteProduct
|
|
5273
3716
|
*/
|
|
5274
3717
|
readonly productId: string
|
|
5275
3718
|
}
|
|
5276
3719
|
|
|
5277
3720
|
/**
|
|
5278
3721
|
* Request parameters for deleteProducts operation in ProductsApi.
|
|
5279
|
-
* @export
|
|
5280
|
-
* @interface ProductsApiDeleteProductsRequest
|
|
5281
3722
|
*/
|
|
5282
3723
|
export interface ProductsApiDeleteProductsRequest {
|
|
5283
3724
|
/**
|
|
5284
3725
|
* What project it is
|
|
5285
|
-
* @type {string}
|
|
5286
|
-
* @memberof ProductsApiDeleteProducts
|
|
5287
3726
|
*/
|
|
5288
3727
|
readonly project: string
|
|
5289
3728
|
|
|
5290
3729
|
/**
|
|
5291
3730
|
* Delete products in bulk.
|
|
5292
|
-
* @type {DeleteProductsRequest}
|
|
5293
|
-
* @memberof ProductsApiDeleteProducts
|
|
5294
3731
|
*/
|
|
5295
3732
|
readonly deleteProductsRequest: DeleteProductsRequest
|
|
5296
3733
|
}
|
|
5297
3734
|
|
|
5298
3735
|
/**
|
|
5299
3736
|
* Request parameters for duplicateProducts operation in ProductsApi.
|
|
5300
|
-
* @export
|
|
5301
|
-
* @interface ProductsApiDuplicateProductsRequest
|
|
5302
3737
|
*/
|
|
5303
3738
|
export interface ProductsApiDuplicateProductsRequest {
|
|
5304
3739
|
/**
|
|
5305
3740
|
* What project it is
|
|
5306
|
-
* @type {string}
|
|
5307
|
-
* @memberof ProductsApiDuplicateProducts
|
|
5308
3741
|
*/
|
|
5309
3742
|
readonly project: string
|
|
5310
3743
|
|
|
5311
3744
|
/**
|
|
5312
3745
|
* A set of product IDs to duplicate and the project IDs to duplicate them to.
|
|
5313
|
-
* @type {DuplicateProductsRequest}
|
|
5314
|
-
* @memberof ProductsApiDuplicateProducts
|
|
5315
3746
|
*/
|
|
5316
3747
|
readonly duplicateProductsRequest?: DuplicateProductsRequest
|
|
5317
3748
|
}
|
|
5318
3749
|
|
|
5319
3750
|
/**
|
|
5320
3751
|
* Request parameters for exportProducts operation in ProductsApi.
|
|
5321
|
-
* @export
|
|
5322
|
-
* @interface ProductsApiExportProductsRequest
|
|
5323
3752
|
*/
|
|
5324
3753
|
export interface ProductsApiExportProductsRequest {
|
|
5325
3754
|
/**
|
|
5326
3755
|
* What project it is
|
|
5327
|
-
* @type {string}
|
|
5328
|
-
* @memberof ProductsApiExportProducts
|
|
5329
3756
|
*/
|
|
5330
3757
|
readonly project: string
|
|
5331
3758
|
}
|
|
5332
3759
|
|
|
5333
3760
|
/**
|
|
5334
3761
|
* Request parameters for getProduct operation in ProductsApi.
|
|
5335
|
-
* @export
|
|
5336
|
-
* @interface ProductsApiGetProductRequest
|
|
5337
3762
|
*/
|
|
5338
3763
|
export interface ProductsApiGetProductRequest {
|
|
5339
3764
|
/**
|
|
5340
3765
|
* What project it is
|
|
5341
|
-
* @type {string}
|
|
5342
|
-
* @memberof ProductsApiGetProduct
|
|
5343
3766
|
*/
|
|
5344
3767
|
readonly project: string
|
|
5345
3768
|
|
|
5346
3769
|
/**
|
|
5347
3770
|
* Product\'s unique identifier
|
|
5348
|
-
* @type {string}
|
|
5349
|
-
* @memberof ProductsApiGetProduct
|
|
5350
3771
|
*/
|
|
5351
3772
|
readonly productId: string
|
|
5352
3773
|
|
|
5353
3774
|
/**
|
|
5354
3775
|
* Filter response fields to only include a subset of the resource.
|
|
5355
|
-
* @type {string}
|
|
5356
|
-
* @memberof ProductsApiGetProduct
|
|
5357
3776
|
*/
|
|
5358
3777
|
readonly fields?: string
|
|
5359
3778
|
}
|
|
5360
3779
|
|
|
5361
3780
|
/**
|
|
5362
3781
|
* Request parameters for importProducts operation in ProductsApi.
|
|
5363
|
-
* @export
|
|
5364
|
-
* @interface ProductsApiImportProductsRequest
|
|
5365
3782
|
*/
|
|
5366
3783
|
export interface ProductsApiImportProductsRequest {
|
|
5367
3784
|
/**
|
|
5368
3785
|
* What project it is
|
|
5369
|
-
* @type {string}
|
|
5370
|
-
* @memberof ProductsApiImportProducts
|
|
5371
3786
|
*/
|
|
5372
3787
|
readonly project: string
|
|
5373
3788
|
|
|
5374
3789
|
/**
|
|
5375
3790
|
* A base64 data URL of a CSV file containing data for one or more products.
|
|
5376
|
-
* @type {string}
|
|
5377
|
-
* @memberof ProductsApiImportProducts
|
|
5378
3791
|
*/
|
|
5379
3792
|
readonly body?: string
|
|
5380
3793
|
}
|
|
5381
3794
|
|
|
5382
3795
|
/**
|
|
5383
3796
|
* Request parameters for listProducts operation in ProductsApi.
|
|
5384
|
-
* @export
|
|
5385
|
-
* @interface ProductsApiListProductsRequest
|
|
5386
3797
|
*/
|
|
5387
3798
|
export interface ProductsApiListProductsRequest {
|
|
5388
3799
|
/**
|
|
5389
3800
|
* What project it is
|
|
5390
|
-
* @type {string}
|
|
5391
|
-
* @memberof ProductsApiListProducts
|
|
5392
3801
|
*/
|
|
5393
3802
|
readonly project: string
|
|
5394
3803
|
|
|
5395
3804
|
/**
|
|
5396
3805
|
* Page reference token
|
|
5397
|
-
* @type {number}
|
|
5398
|
-
* @memberof ProductsApiListProducts
|
|
5399
3806
|
*/
|
|
5400
3807
|
readonly pageToken?: number
|
|
5401
3808
|
|
|
5402
3809
|
/**
|
|
5403
3810
|
* 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
3811
|
*/
|
|
5407
3812
|
readonly search?: string
|
|
5408
3813
|
|
|
5409
3814
|
/**
|
|
5410
3815
|
* 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
3816
|
*/
|
|
5414
3817
|
readonly sortBy?: Array<string>
|
|
5415
3818
|
|
|
5416
3819
|
/**
|
|
5417
3820
|
* Start of date range to filter
|
|
5418
|
-
* @type {string}
|
|
5419
|
-
* @memberof ProductsApiListProducts
|
|
5420
3821
|
*/
|
|
5421
3822
|
readonly start?: string
|
|
5422
3823
|
|
|
5423
3824
|
/**
|
|
5424
3825
|
* End of date range to filter
|
|
5425
|
-
* @type {string}
|
|
5426
|
-
* @memberof ProductsApiListProducts
|
|
5427
3826
|
*/
|
|
5428
3827
|
readonly end?: string
|
|
5429
3828
|
|
|
5430
3829
|
/**
|
|
5431
3830
|
* 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
3831
|
*/
|
|
5435
3832
|
readonly dateFilterType?: ListProductsDateFilterTypeEnum
|
|
5436
3833
|
|
|
5437
3834
|
/**
|
|
5438
3835
|
* 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
3836
|
*/
|
|
5442
3837
|
readonly pageSize?: number
|
|
5443
3838
|
|
|
5444
3839
|
/**
|
|
5445
3840
|
* Filter response fields to only include a subset of the resource.
|
|
5446
|
-
* @type {string}
|
|
5447
|
-
* @memberof ProductsApiListProducts
|
|
5448
3841
|
*/
|
|
5449
3842
|
readonly fields?: string
|
|
5450
3843
|
}
|
|
5451
3844
|
|
|
5452
3845
|
/**
|
|
5453
3846
|
* Request parameters for seoOptimiseProducts operation in ProductsApi.
|
|
5454
|
-
* @export
|
|
5455
|
-
* @interface ProductsApiSeoOptimiseProductsRequest
|
|
5456
3847
|
*/
|
|
5457
3848
|
export interface ProductsApiSeoOptimiseProductsRequest {
|
|
5458
3849
|
/**
|
|
5459
3850
|
* What project it is
|
|
5460
|
-
* @type {string}
|
|
5461
|
-
* @memberof ProductsApiSeoOptimiseProducts
|
|
5462
3851
|
*/
|
|
5463
3852
|
readonly project: string
|
|
5464
3853
|
|
|
5465
3854
|
/**
|
|
5466
3855
|
* A set of product IDs to AI SEO optimise.
|
|
5467
|
-
* @type {SeoOptimiseProductsRequest}
|
|
5468
|
-
* @memberof ProductsApiSeoOptimiseProducts
|
|
5469
3856
|
*/
|
|
5470
3857
|
readonly seoOptimiseProductsRequest?: SeoOptimiseProductsRequest
|
|
5471
3858
|
}
|
|
5472
3859
|
|
|
5473
3860
|
/**
|
|
5474
3861
|
* Request parameters for updateProduct operation in ProductsApi.
|
|
5475
|
-
* @export
|
|
5476
|
-
* @interface ProductsApiUpdateProductRequest
|
|
5477
3862
|
*/
|
|
5478
3863
|
export interface ProductsApiUpdateProductRequest {
|
|
5479
3864
|
/**
|
|
5480
3865
|
* What project it is
|
|
5481
|
-
* @type {string}
|
|
5482
|
-
* @memberof ProductsApiUpdateProduct
|
|
5483
3866
|
*/
|
|
5484
3867
|
readonly project: string
|
|
5485
3868
|
|
|
5486
3869
|
/**
|
|
5487
3870
|
* Product\'s unique identifier
|
|
5488
|
-
* @type {string}
|
|
5489
|
-
* @memberof ProductsApiUpdateProduct
|
|
5490
3871
|
*/
|
|
5491
3872
|
readonly productId: string
|
|
5492
3873
|
|
|
5493
|
-
/**
|
|
5494
|
-
*
|
|
5495
|
-
* @type {UpdateProductRequest}
|
|
5496
|
-
* @memberof ProductsApiUpdateProduct
|
|
5497
|
-
*/
|
|
5498
3874
|
readonly updateProductRequest?: UpdateProductRequest
|
|
5499
3875
|
}
|
|
5500
3876
|
|
|
5501
3877
|
/**
|
|
5502
3878
|
* Request parameters for updateProducts operation in ProductsApi.
|
|
5503
|
-
* @export
|
|
5504
|
-
* @interface ProductsApiUpdateProductsRequest
|
|
5505
3879
|
*/
|
|
5506
3880
|
export interface ProductsApiUpdateProductsRequest {
|
|
5507
3881
|
/**
|
|
5508
3882
|
* What project it is
|
|
5509
|
-
* @type {string}
|
|
5510
|
-
* @memberof ProductsApiUpdateProducts
|
|
5511
3883
|
*/
|
|
5512
3884
|
readonly project: string
|
|
5513
3885
|
|
|
5514
3886
|
/**
|
|
5515
3887
|
* Update products in bulk.
|
|
5516
|
-
* @type {UpdateProductsRequest}
|
|
5517
|
-
* @memberof ProductsApiUpdateProducts
|
|
5518
3888
|
*/
|
|
5519
3889
|
readonly updateProductsRequest: UpdateProductsRequest
|
|
5520
3890
|
}
|
|
5521
3891
|
|
|
5522
3892
|
/**
|
|
5523
3893
|
* ProductsApi - object-oriented interface
|
|
5524
|
-
* @export
|
|
5525
|
-
* @class ProductsApi
|
|
5526
|
-
* @extends {BaseAPI}
|
|
5527
3894
|
*/
|
|
5528
3895
|
export class ProductsApi extends BaseAPI {
|
|
5529
3896
|
/**
|
|
@@ -5532,7 +3899,6 @@ export class ProductsApi extends BaseAPI {
|
|
|
5532
3899
|
* @param {ProductsApiCreateProductRequest} requestParameters Request parameters.
|
|
5533
3900
|
* @param {*} [options] Override http request option.
|
|
5534
3901
|
* @throws {RequiredError}
|
|
5535
|
-
* @memberof ProductsApi
|
|
5536
3902
|
*/
|
|
5537
3903
|
public createProduct(requestParameters: ProductsApiCreateProductRequest, options?: RawAxiosRequestConfig) {
|
|
5538
3904
|
return ProductsApiFp(this.configuration).createProduct(requestParameters.project, requestParameters.createProductRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5544,7 +3910,6 @@ export class ProductsApi extends BaseAPI {
|
|
|
5544
3910
|
* @param {ProductsApiDeleteProductRequest} requestParameters Request parameters.
|
|
5545
3911
|
* @param {*} [options] Override http request option.
|
|
5546
3912
|
* @throws {RequiredError}
|
|
5547
|
-
* @memberof ProductsApi
|
|
5548
3913
|
*/
|
|
5549
3914
|
public deleteProduct(requestParameters: ProductsApiDeleteProductRequest, options?: RawAxiosRequestConfig) {
|
|
5550
3915
|
return ProductsApiFp(this.configuration).deleteProduct(requestParameters.project, requestParameters.productId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5556,7 +3921,6 @@ export class ProductsApi extends BaseAPI {
|
|
|
5556
3921
|
* @param {ProductsApiDeleteProductsRequest} requestParameters Request parameters.
|
|
5557
3922
|
* @param {*} [options] Override http request option.
|
|
5558
3923
|
* @throws {RequiredError}
|
|
5559
|
-
* @memberof ProductsApi
|
|
5560
3924
|
*/
|
|
5561
3925
|
public deleteProducts(requestParameters: ProductsApiDeleteProductsRequest, options?: RawAxiosRequestConfig) {
|
|
5562
3926
|
return ProductsApiFp(this.configuration).deleteProducts(requestParameters.project, requestParameters.deleteProductsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5568,7 +3932,6 @@ export class ProductsApi extends BaseAPI {
|
|
|
5568
3932
|
* @param {ProductsApiDuplicateProductsRequest} requestParameters Request parameters.
|
|
5569
3933
|
* @param {*} [options] Override http request option.
|
|
5570
3934
|
* @throws {RequiredError}
|
|
5571
|
-
* @memberof ProductsApi
|
|
5572
3935
|
*/
|
|
5573
3936
|
public duplicateProducts(requestParameters: ProductsApiDuplicateProductsRequest, options?: RawAxiosRequestConfig) {
|
|
5574
3937
|
return ProductsApiFp(this.configuration).duplicateProducts(requestParameters.project, requestParameters.duplicateProductsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5580,7 +3943,6 @@ export class ProductsApi extends BaseAPI {
|
|
|
5580
3943
|
* @param {ProductsApiExportProductsRequest} requestParameters Request parameters.
|
|
5581
3944
|
* @param {*} [options] Override http request option.
|
|
5582
3945
|
* @throws {RequiredError}
|
|
5583
|
-
* @memberof ProductsApi
|
|
5584
3946
|
*/
|
|
5585
3947
|
public exportProducts(requestParameters: ProductsApiExportProductsRequest, options?: RawAxiosRequestConfig) {
|
|
5586
3948
|
return ProductsApiFp(this.configuration).exportProducts(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5592,7 +3954,6 @@ export class ProductsApi extends BaseAPI {
|
|
|
5592
3954
|
* @param {ProductsApiGetProductRequest} requestParameters Request parameters.
|
|
5593
3955
|
* @param {*} [options] Override http request option.
|
|
5594
3956
|
* @throws {RequiredError}
|
|
5595
|
-
* @memberof ProductsApi
|
|
5596
3957
|
*/
|
|
5597
3958
|
public getProduct(requestParameters: ProductsApiGetProductRequest, options?: RawAxiosRequestConfig) {
|
|
5598
3959
|
return ProductsApiFp(this.configuration).getProduct(requestParameters.project, requestParameters.productId, requestParameters.fields, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5604,7 +3965,6 @@ export class ProductsApi extends BaseAPI {
|
|
|
5604
3965
|
* @param {ProductsApiImportProductsRequest} requestParameters Request parameters.
|
|
5605
3966
|
* @param {*} [options] Override http request option.
|
|
5606
3967
|
* @throws {RequiredError}
|
|
5607
|
-
* @memberof ProductsApi
|
|
5608
3968
|
*/
|
|
5609
3969
|
public importProducts(requestParameters: ProductsApiImportProductsRequest, options?: RawAxiosRequestConfig) {
|
|
5610
3970
|
return ProductsApiFp(this.configuration).importProducts(requestParameters.project, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5616,7 +3976,6 @@ export class ProductsApi extends BaseAPI {
|
|
|
5616
3976
|
* @param {ProductsApiListProductsRequest} requestParameters Request parameters.
|
|
5617
3977
|
* @param {*} [options] Override http request option.
|
|
5618
3978
|
* @throws {RequiredError}
|
|
5619
|
-
* @memberof ProductsApi
|
|
5620
3979
|
*/
|
|
5621
3980
|
public listProducts(requestParameters: ProductsApiListProductsRequest, options?: RawAxiosRequestConfig) {
|
|
5622
3981
|
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 +3987,6 @@ export class ProductsApi extends BaseAPI {
|
|
|
5628
3987
|
* @param {ProductsApiSeoOptimiseProductsRequest} requestParameters Request parameters.
|
|
5629
3988
|
* @param {*} [options] Override http request option.
|
|
5630
3989
|
* @throws {RequiredError}
|
|
5631
|
-
* @memberof ProductsApi
|
|
5632
3990
|
*/
|
|
5633
3991
|
public seoOptimiseProducts(requestParameters: ProductsApiSeoOptimiseProductsRequest, options?: RawAxiosRequestConfig) {
|
|
5634
3992
|
return ProductsApiFp(this.configuration).seoOptimiseProducts(requestParameters.project, requestParameters.seoOptimiseProductsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5640,7 +3998,6 @@ export class ProductsApi extends BaseAPI {
|
|
|
5640
3998
|
* @param {ProductsApiUpdateProductRequest} requestParameters Request parameters.
|
|
5641
3999
|
* @param {*} [options] Override http request option.
|
|
5642
4000
|
* @throws {RequiredError}
|
|
5643
|
-
* @memberof ProductsApi
|
|
5644
4001
|
*/
|
|
5645
4002
|
public updateProduct(requestParameters: ProductsApiUpdateProductRequest, options?: RawAxiosRequestConfig) {
|
|
5646
4003
|
return ProductsApiFp(this.configuration).updateProduct(requestParameters.project, requestParameters.productId, requestParameters.updateProductRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5652,16 +4009,12 @@ export class ProductsApi extends BaseAPI {
|
|
|
5652
4009
|
* @param {ProductsApiUpdateProductsRequest} requestParameters Request parameters.
|
|
5653
4010
|
* @param {*} [options] Override http request option.
|
|
5654
4011
|
* @throws {RequiredError}
|
|
5655
|
-
* @memberof ProductsApi
|
|
5656
4012
|
*/
|
|
5657
4013
|
public updateProducts(requestParameters: ProductsApiUpdateProductsRequest, options?: RawAxiosRequestConfig) {
|
|
5658
4014
|
return ProductsApiFp(this.configuration).updateProducts(requestParameters.project, requestParameters.updateProductsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5659
4015
|
}
|
|
5660
4016
|
}
|
|
5661
4017
|
|
|
5662
|
-
/**
|
|
5663
|
-
* @export
|
|
5664
|
-
*/
|
|
5665
4018
|
export const ListProductsDateFilterTypeEnum = {
|
|
5666
4019
|
CreatedAt: 'createdAt',
|
|
5667
4020
|
UpdatedAt: 'updatedAt'
|
|
@@ -5671,7 +4024,6 @@ export type ListProductsDateFilterTypeEnum = typeof ListProductsDateFilterTypeEn
|
|
|
5671
4024
|
|
|
5672
4025
|
/**
|
|
5673
4026
|
* VariantsApi - axios parameter creator
|
|
5674
|
-
* @export
|
|
5675
4027
|
*/
|
|
5676
4028
|
export const VariantsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
5677
4029
|
return {
|
|
@@ -5797,7 +4149,6 @@ export const VariantsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
5797
4149
|
|
|
5798
4150
|
/**
|
|
5799
4151
|
* VariantsApi - functional programming interface
|
|
5800
|
-
* @export
|
|
5801
4152
|
*/
|
|
5802
4153
|
export const VariantsApiFp = function(configuration?: Configuration) {
|
|
5803
4154
|
const localVarAxiosParamCreator = VariantsApiAxiosParamCreator(configuration)
|
|
@@ -5839,7 +4190,6 @@ export const VariantsApiFp = function(configuration?: Configuration) {
|
|
|
5839
4190
|
|
|
5840
4191
|
/**
|
|
5841
4192
|
* VariantsApi - factory interface
|
|
5842
|
-
* @export
|
|
5843
4193
|
*/
|
|
5844
4194
|
export const VariantsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
5845
4195
|
const localVarFp = VariantsApiFp(configuration)
|
|
@@ -5869,79 +4219,56 @@ export const VariantsApiFactory = function (configuration?: Configuration, baseP
|
|
|
5869
4219
|
|
|
5870
4220
|
/**
|
|
5871
4221
|
* Request parameters for getVariant operation in VariantsApi.
|
|
5872
|
-
* @export
|
|
5873
|
-
* @interface VariantsApiGetVariantRequest
|
|
5874
4222
|
*/
|
|
5875
4223
|
export interface VariantsApiGetVariantRequest {
|
|
5876
4224
|
/**
|
|
5877
4225
|
* What project it is
|
|
5878
|
-
* @type {string}
|
|
5879
|
-
* @memberof VariantsApiGetVariant
|
|
5880
4226
|
*/
|
|
5881
4227
|
readonly project: string
|
|
5882
4228
|
|
|
5883
4229
|
/**
|
|
5884
4230
|
* Variants unique identifier
|
|
5885
|
-
* @type {string}
|
|
5886
|
-
* @memberof VariantsApiGetVariant
|
|
5887
4231
|
*/
|
|
5888
4232
|
readonly variantId: string
|
|
5889
4233
|
|
|
5890
4234
|
/**
|
|
5891
4235
|
* Filter response fields to only include a subset of the resource.
|
|
5892
|
-
* @type {string}
|
|
5893
|
-
* @memberof VariantsApiGetVariant
|
|
5894
4236
|
*/
|
|
5895
4237
|
readonly fields?: string
|
|
5896
4238
|
}
|
|
5897
4239
|
|
|
5898
4240
|
/**
|
|
5899
4241
|
* Request parameters for listVariants operation in VariantsApi.
|
|
5900
|
-
* @export
|
|
5901
|
-
* @interface VariantsApiListVariantsRequest
|
|
5902
4242
|
*/
|
|
5903
4243
|
export interface VariantsApiListVariantsRequest {
|
|
5904
4244
|
/**
|
|
5905
4245
|
* What project it is
|
|
5906
|
-
* @type {string}
|
|
5907
|
-
* @memberof VariantsApiListVariants
|
|
5908
4246
|
*/
|
|
5909
4247
|
readonly project: string
|
|
5910
4248
|
|
|
5911
4249
|
/**
|
|
5912
4250
|
* 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
4251
|
*/
|
|
5916
4252
|
readonly search?: string
|
|
5917
4253
|
|
|
5918
4254
|
/**
|
|
5919
4255
|
* Page reference token
|
|
5920
|
-
* @type {number}
|
|
5921
|
-
* @memberof VariantsApiListVariants
|
|
5922
4256
|
*/
|
|
5923
4257
|
readonly pageToken?: number
|
|
5924
4258
|
|
|
5925
4259
|
/**
|
|
5926
4260
|
* 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
4261
|
*/
|
|
5930
4262
|
readonly pageSize?: number
|
|
5931
4263
|
|
|
5932
4264
|
/**
|
|
5933
4265
|
* Filter response fields to only include a subset of the resource.
|
|
5934
|
-
* @type {string}
|
|
5935
|
-
* @memberof VariantsApiListVariants
|
|
5936
4266
|
*/
|
|
5937
4267
|
readonly fields?: string
|
|
5938
4268
|
}
|
|
5939
4269
|
|
|
5940
4270
|
/**
|
|
5941
4271
|
* VariantsApi - object-oriented interface
|
|
5942
|
-
* @export
|
|
5943
|
-
* @class VariantsApi
|
|
5944
|
-
* @extends {BaseAPI}
|
|
5945
4272
|
*/
|
|
5946
4273
|
export class VariantsApi extends BaseAPI {
|
|
5947
4274
|
/**
|
|
@@ -5950,7 +4277,6 @@ export class VariantsApi extends BaseAPI {
|
|
|
5950
4277
|
* @param {VariantsApiGetVariantRequest} requestParameters Request parameters.
|
|
5951
4278
|
* @param {*} [options] Override http request option.
|
|
5952
4279
|
* @throws {RequiredError}
|
|
5953
|
-
* @memberof VariantsApi
|
|
5954
4280
|
*/
|
|
5955
4281
|
public getVariant(requestParameters: VariantsApiGetVariantRequest, options?: RawAxiosRequestConfig) {
|
|
5956
4282
|
return VariantsApiFp(this.configuration).getVariant(requestParameters.project, requestParameters.variantId, requestParameters.fields, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5962,7 +4288,6 @@ export class VariantsApi extends BaseAPI {
|
|
|
5962
4288
|
* @param {VariantsApiListVariantsRequest} requestParameters Request parameters.
|
|
5963
4289
|
* @param {*} [options] Override http request option.
|
|
5964
4290
|
* @throws {RequiredError}
|
|
5965
|
-
* @memberof VariantsApi
|
|
5966
4291
|
*/
|
|
5967
4292
|
public listVariants(requestParameters: VariantsApiListVariantsRequest, options?: RawAxiosRequestConfig) {
|
|
5968
4293
|
return VariantsApiFp(this.configuration).listVariants(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.fields, options).then((request) => request(this.axios, this.basePath));
|