@teemill/product-catalog 1.17.0 → 1.18.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/product-catalog@1.17.0
1
+ ## @teemill/product-catalog@1.18.1
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @teemill/product-catalog@1.17.0 --save
39
+ npm install @teemill/product-catalog@1.18.1 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
5
5
  * Manage 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.17.0
7
+ * The version of the OpenAPI document: 1.18.1
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -210,17 +210,11 @@ export interface ApplicationSetRecord {
210
210
  */
211
211
  'set'?: ApplicationSet1;
212
212
  /**
213
- * Name of the option that this record represents
214
- * @type {string}
215
- * @memberof ApplicationSetRecord
216
- */
217
- 'optionName'?: string;
218
- /**
219
- * The value of the option that this record represents
220
- * @type {string}
213
+ * 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.
214
+ * @type {Array<Attribute>}
221
215
  * @memberof ApplicationSetRecord
222
216
  */
223
- 'optionValue'?: string;
217
+ 'attributes'?: Array<Attribute>;
224
218
  /**
225
219
  * List of applications for this record
226
220
  * @type {Array<Application>}
@@ -267,10 +261,10 @@ export interface Attribute {
267
261
  'value': string;
268
262
  /**
269
263
  *
270
- * @type {AttributeThumbnail}
264
+ * @type {CreateApplicationSetRequestRecordsInnerAttributesInnerThumbnail}
271
265
  * @memberof Attribute
272
266
  */
273
- 'thumbnail'?: AttributeThumbnail;
267
+ 'thumbnail'?: CreateApplicationSetRequestRecordsInnerAttributesInnerThumbnail;
274
268
  /**
275
269
  * Attribute tags
276
270
  * @type {Array<string>}
@@ -278,34 +272,6 @@ export interface Attribute {
278
272
  */
279
273
  'tags'?: Array<string>;
280
274
  }
281
- /**
282
- * Attribute thumbnail, intended for interfaces like storefront colour selector.
283
- * @export
284
- * @interface AttributeThumbnail
285
- */
286
- export interface AttributeThumbnail {
287
- /**
288
- *
289
- * @type {string}
290
- * @memberof AttributeThumbnail
291
- */
292
- 'type'?: AttributeThumbnailTypeEnum;
293
- /**
294
- *
295
- * @type {string}
296
- * @memberof AttributeThumbnail
297
- */
298
- 'value'?: string;
299
- }
300
-
301
- export const AttributeThumbnailTypeEnum = {
302
- Text: 'text',
303
- Color: 'color',
304
- Image: 'image'
305
- } as const;
306
-
307
- export type AttributeThumbnailTypeEnum = typeof AttributeThumbnailTypeEnum[keyof typeof AttributeThumbnailTypeEnum];
308
-
309
275
  /**
310
276
  *
311
277
  * @export
@@ -344,11 +310,83 @@ export interface CreateApplicationSetRequest {
344
310
  'dpi'?: number;
345
311
  /**
346
312
  * List of application set records
347
- * @type {Array<ApplicationSetRecord>}
313
+ * @type {Array<CreateApplicationSetRequestRecordsInner>}
348
314
  * @memberof CreateApplicationSetRequest
349
315
  */
350
- 'records'?: Array<ApplicationSetRecord>;
316
+ 'records'?: Array<CreateApplicationSetRequestRecordsInner>;
351
317
  }
318
+ /**
319
+ *
320
+ * @export
321
+ * @interface CreateApplicationSetRequestRecordsInner
322
+ */
323
+ export interface CreateApplicationSetRequestRecordsInner {
324
+ /**
325
+ * List of attributes this record applies to
326
+ * @type {Array<CreateApplicationSetRequestRecordsInnerAttributesInner>}
327
+ * @memberof CreateApplicationSetRequestRecordsInner
328
+ */
329
+ 'attributes'?: Array<CreateApplicationSetRequestRecordsInnerAttributesInner>;
330
+ /**
331
+ * List of applications for this record
332
+ * @type {Array<Application>}
333
+ * @memberof CreateApplicationSetRequestRecordsInner
334
+ */
335
+ 'applications'?: Array<Application>;
336
+ }
337
+ /**
338
+ *
339
+ * @export
340
+ * @interface CreateApplicationSetRequestRecordsInnerAttributesInner
341
+ */
342
+ export interface CreateApplicationSetRequestRecordsInnerAttributesInner {
343
+ /**
344
+ * The name of the option type. e.g. Size, Colour
345
+ * @type {string}
346
+ * @memberof CreateApplicationSetRequestRecordsInnerAttributesInner
347
+ */
348
+ 'name'?: string;
349
+ /**
350
+ * The value of the option this record applies to
351
+ * @type {string}
352
+ * @memberof CreateApplicationSetRequestRecordsInnerAttributesInner
353
+ */
354
+ 'value'?: string;
355
+ /**
356
+ *
357
+ * @type {CreateApplicationSetRequestRecordsInnerAttributesInnerThumbnail}
358
+ * @memberof CreateApplicationSetRequestRecordsInnerAttributesInner
359
+ */
360
+ 'thumbnail'?: CreateApplicationSetRequestRecordsInnerAttributesInnerThumbnail;
361
+ }
362
+ /**
363
+ * Attribute thumbnail, intended for interfaces like storefront colour selector.
364
+ * @export
365
+ * @interface CreateApplicationSetRequestRecordsInnerAttributesInnerThumbnail
366
+ */
367
+ export interface CreateApplicationSetRequestRecordsInnerAttributesInnerThumbnail {
368
+ /**
369
+ *
370
+ * @type {string}
371
+ * @memberof CreateApplicationSetRequestRecordsInnerAttributesInnerThumbnail
372
+ */
373
+ 'type'?: CreateApplicationSetRequestRecordsInnerAttributesInnerThumbnailTypeEnum;
374
+ /**
375
+ *
376
+ * @type {string}
377
+ * @memberof CreateApplicationSetRequestRecordsInnerAttributesInnerThumbnail
378
+ */
379
+ 'value'?: string;
380
+ }
381
+
382
+ export const CreateApplicationSetRequestRecordsInnerAttributesInnerThumbnailTypeEnum = {
383
+ Text: 'text',
384
+ Color: 'color',
385
+ Image: 'image'
386
+ } as const;
387
+
388
+ export type CreateApplicationSetRequestRecordsInnerAttributesInnerThumbnailTypeEnum = typeof CreateApplicationSetRequestRecordsInnerAttributesInnerThumbnailTypeEnum[keyof typeof CreateApplicationSetRequestRecordsInnerAttributesInnerThumbnailTypeEnum];
389
+
352
390
  /**
353
391
  *
354
392
  * @export
@@ -826,6 +864,93 @@ export interface Stock {
826
864
  */
827
865
  'level'?: number;
828
866
  }
867
+ /**
868
+ *
869
+ * @export
870
+ * @interface UpdateApplicationSetRequest
871
+ */
872
+ export interface UpdateApplicationSetRequest {
873
+ /**
874
+ *
875
+ * @type {string}
876
+ * @memberof UpdateApplicationSetRequest
877
+ */
878
+ 'id'?: string;
879
+ /**
880
+ * Name of the application set
881
+ * @type {string}
882
+ * @memberof UpdateApplicationSetRequest
883
+ */
884
+ 'name'?: string;
885
+ /**
886
+ * Description of the application set
887
+ * @type {string}
888
+ * @memberof UpdateApplicationSetRequest
889
+ */
890
+ 'description'?: string;
891
+ /**
892
+ * The width, in pixels of the images in the set
893
+ * @type {number}
894
+ * @memberof UpdateApplicationSetRequest
895
+ */
896
+ 'width'?: number;
897
+ /**
898
+ * The height, in pixels of the images in the set
899
+ * @type {number}
900
+ * @memberof UpdateApplicationSetRequest
901
+ */
902
+ 'height'?: number;
903
+ /**
904
+ * The DPI used when printing the images in the set
905
+ * @type {number}
906
+ * @memberof UpdateApplicationSetRequest
907
+ */
908
+ 'dpi'?: number;
909
+ /**
910
+ * List of application set records
911
+ * @type {Array<UpdateApplicationSetRequestRecordsInner>}
912
+ * @memberof UpdateApplicationSetRequest
913
+ */
914
+ 'records'?: Array<UpdateApplicationSetRequestRecordsInner>;
915
+ }
916
+ /**
917
+ *
918
+ * @export
919
+ * @interface UpdateApplicationSetRequestRecordsInner
920
+ */
921
+ export interface UpdateApplicationSetRequestRecordsInner {
922
+ /**
923
+ * List of attributes this record applies to
924
+ * @type {Array<UpdateApplicationSetRequestRecordsInnerAttributesInner>}
925
+ * @memberof UpdateApplicationSetRequestRecordsInner
926
+ */
927
+ 'attributes'?: Array<UpdateApplicationSetRequestRecordsInnerAttributesInner>;
928
+ /**
929
+ * List of applications for this record
930
+ * @type {Array<Application>}
931
+ * @memberof UpdateApplicationSetRequestRecordsInner
932
+ */
933
+ 'applications'?: Array<Application>;
934
+ }
935
+ /**
936
+ *
937
+ * @export
938
+ * @interface UpdateApplicationSetRequestRecordsInnerAttributesInner
939
+ */
940
+ export interface UpdateApplicationSetRequestRecordsInnerAttributesInner {
941
+ /**
942
+ * The name of the option type. e.g. Size, Colour
943
+ * @type {string}
944
+ * @memberof UpdateApplicationSetRequestRecordsInnerAttributesInner
945
+ */
946
+ 'option'?: string;
947
+ /**
948
+ * The value of the option this record applies to
949
+ * @type {string}
950
+ * @memberof UpdateApplicationSetRequestRecordsInnerAttributesInner
951
+ */
952
+ 'value'?: string;
953
+ }
829
954
  /**
830
955
  *
831
956
  * @export
@@ -1255,11 +1380,11 @@ export const ApplicationSetsApiAxiosParamCreator = function (configuration?: Con
1255
1380
  * @summary Update application set
1256
1381
  * @param {string} project What project it is
1257
1382
  * @param {string} applicationSetId Application set\&#39;s unique identifier
1258
- * @param {CreateApplicationSetRequest} [createApplicationSetRequest] Create a new application set.
1383
+ * @param {UpdateApplicationSetRequest} [updateApplicationSetRequest] Create a new application set.
1259
1384
  * @param {*} [options] Override http request option.
1260
1385
  * @throws {RequiredError}
1261
1386
  */
1262
- updateApplicationSet: async (project: string, applicationSetId: string, createApplicationSetRequest?: CreateApplicationSetRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1387
+ updateApplicationSet: async (project: string, applicationSetId: string, updateApplicationSetRequest?: UpdateApplicationSetRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1263
1388
  // verify required parameter 'project' is not null or undefined
1264
1389
  assertParamExists('updateApplicationSet', 'project', project)
1265
1390
  // verify required parameter 'applicationSetId' is not null or undefined
@@ -1295,7 +1420,7 @@ export const ApplicationSetsApiAxiosParamCreator = function (configuration?: Con
1295
1420
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1296
1421
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1297
1422
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1298
- localVarRequestOptions.data = serializeDataIfNeeded(createApplicationSetRequest, localVarRequestOptions, configuration)
1423
+ localVarRequestOptions.data = serializeDataIfNeeded(updateApplicationSetRequest, localVarRequestOptions, configuration)
1299
1424
 
1300
1425
  return {
1301
1426
  url: toPathString(localVarUrlObj),
@@ -1375,12 +1500,12 @@ export const ApplicationSetsApiFp = function(configuration?: Configuration) {
1375
1500
  * @summary Update application set
1376
1501
  * @param {string} project What project it is
1377
1502
  * @param {string} applicationSetId Application set\&#39;s unique identifier
1378
- * @param {CreateApplicationSetRequest} [createApplicationSetRequest] Create a new application set.
1503
+ * @param {UpdateApplicationSetRequest} [updateApplicationSetRequest] Create a new application set.
1379
1504
  * @param {*} [options] Override http request option.
1380
1505
  * @throws {RequiredError}
1381
1506
  */
1382
- async updateApplicationSet(project: string, applicationSetId: string, createApplicationSetRequest?: CreateApplicationSetRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplicationSet>> {
1383
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateApplicationSet(project, applicationSetId, createApplicationSetRequest, options);
1507
+ async updateApplicationSet(project: string, applicationSetId: string, updateApplicationSetRequest?: UpdateApplicationSetRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplicationSet>> {
1508
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateApplicationSet(project, applicationSetId, updateApplicationSetRequest, options);
1384
1509
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1385
1510
  const localVarOperationServerBasePath = operationServerMap['ApplicationSetsApi.updateApplicationSet']?.[localVarOperationServerIndex]?.url;
1386
1511
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1443,7 +1568,7 @@ export const ApplicationSetsApiFactory = function (configuration?: Configuration
1443
1568
  * @throws {RequiredError}
1444
1569
  */
1445
1570
  updateApplicationSet(requestParameters: ApplicationSetsApiUpdateApplicationSetRequest, options?: RawAxiosRequestConfig): AxiosPromise<ApplicationSet> {
1446
- return localVarFp.updateApplicationSet(requestParameters.project, requestParameters.applicationSetId, requestParameters.createApplicationSetRequest, options).then((request) => request(axios, basePath));
1571
+ return localVarFp.updateApplicationSet(requestParameters.project, requestParameters.applicationSetId, requestParameters.updateApplicationSetRequest, options).then((request) => request(axios, basePath));
1447
1572
  },
1448
1573
  };
1449
1574
  };
@@ -1568,10 +1693,10 @@ export interface ApplicationSetsApiUpdateApplicationSetRequest {
1568
1693
 
1569
1694
  /**
1570
1695
  * Create a new application set.
1571
- * @type {CreateApplicationSetRequest}
1696
+ * @type {UpdateApplicationSetRequest}
1572
1697
  * @memberof ApplicationSetsApiUpdateApplicationSet
1573
1698
  */
1574
- readonly createApplicationSetRequest?: CreateApplicationSetRequest
1699
+ readonly updateApplicationSetRequest?: UpdateApplicationSetRequest
1575
1700
  }
1576
1701
 
1577
1702
  /**
@@ -1638,7 +1763,7 @@ export class ApplicationSetsApi extends BaseAPI {
1638
1763
  * @memberof ApplicationSetsApi
1639
1764
  */
1640
1765
  public updateApplicationSet(requestParameters: ApplicationSetsApiUpdateApplicationSetRequest, options?: RawAxiosRequestConfig) {
1641
- return ApplicationSetsApiFp(this.configuration).updateApplicationSet(requestParameters.project, requestParameters.applicationSetId, requestParameters.createApplicationSetRequest, options).then((request) => request(this.axios, this.basePath));
1766
+ return ApplicationSetsApiFp(this.configuration).updateApplicationSet(requestParameters.project, requestParameters.applicationSetId, requestParameters.updateApplicationSetRequest, options).then((request) => request(this.axios, this.basePath));
1642
1767
  }
1643
1768
  }
1644
1769
 
package/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
5
5
  * Manage 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.17.0
7
+ * The version of the OpenAPI document: 1.18.1
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
5
5
  * Manage 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.17.0
7
+ * The version of the OpenAPI document: 1.18.1
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
5
5
  * Manage 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.17.0
7
+ * The version of the OpenAPI document: 1.18.1
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Product Catalog API
3
3
  * Manage 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.
4
4
  *
5
- * The version of the OpenAPI document: 1.17.0
5
+ * The version of the OpenAPI document: 1.18.1
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -196,17 +196,11 @@ export interface ApplicationSetRecord {
196
196
  */
197
197
  'set'?: ApplicationSet1;
198
198
  /**
199
- * Name of the option that this record represents
200
- * @type {string}
201
- * @memberof ApplicationSetRecord
202
- */
203
- 'optionName'?: string;
204
- /**
205
- * The value of the option that this record represents
206
- * @type {string}
199
+ * 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.
200
+ * @type {Array<Attribute>}
207
201
  * @memberof ApplicationSetRecord
208
202
  */
209
- 'optionValue'?: string;
203
+ 'attributes'?: Array<Attribute>;
210
204
  /**
211
205
  * List of applications for this record
212
206
  * @type {Array<Application>}
@@ -253,10 +247,10 @@ export interface Attribute {
253
247
  'value': string;
254
248
  /**
255
249
  *
256
- * @type {AttributeThumbnail}
250
+ * @type {CreateApplicationSetRequestRecordsInnerAttributesInnerThumbnail}
257
251
  * @memberof Attribute
258
252
  */
259
- 'thumbnail'?: AttributeThumbnail;
253
+ 'thumbnail'?: CreateApplicationSetRequestRecordsInnerAttributesInnerThumbnail;
260
254
  /**
261
255
  * Attribute tags
262
256
  * @type {Array<string>}
@@ -264,31 +258,6 @@ export interface Attribute {
264
258
  */
265
259
  'tags'?: Array<string>;
266
260
  }
267
- /**
268
- * Attribute thumbnail, intended for interfaces like storefront colour selector.
269
- * @export
270
- * @interface AttributeThumbnail
271
- */
272
- export interface AttributeThumbnail {
273
- /**
274
- *
275
- * @type {string}
276
- * @memberof AttributeThumbnail
277
- */
278
- 'type'?: AttributeThumbnailTypeEnum;
279
- /**
280
- *
281
- * @type {string}
282
- * @memberof AttributeThumbnail
283
- */
284
- 'value'?: string;
285
- }
286
- export declare const AttributeThumbnailTypeEnum: {
287
- readonly Text: "text";
288
- readonly Color: "color";
289
- readonly Image: "image";
290
- };
291
- export type AttributeThumbnailTypeEnum = typeof AttributeThumbnailTypeEnum[keyof typeof AttributeThumbnailTypeEnum];
292
261
  /**
293
262
  *
294
263
  * @export
@@ -327,11 +296,80 @@ export interface CreateApplicationSetRequest {
327
296
  'dpi'?: number;
328
297
  /**
329
298
  * List of application set records
330
- * @type {Array<ApplicationSetRecord>}
299
+ * @type {Array<CreateApplicationSetRequestRecordsInner>}
331
300
  * @memberof CreateApplicationSetRequest
332
301
  */
333
- 'records'?: Array<ApplicationSetRecord>;
302
+ 'records'?: Array<CreateApplicationSetRequestRecordsInner>;
303
+ }
304
+ /**
305
+ *
306
+ * @export
307
+ * @interface CreateApplicationSetRequestRecordsInner
308
+ */
309
+ export interface CreateApplicationSetRequestRecordsInner {
310
+ /**
311
+ * List of attributes this record applies to
312
+ * @type {Array<CreateApplicationSetRequestRecordsInnerAttributesInner>}
313
+ * @memberof CreateApplicationSetRequestRecordsInner
314
+ */
315
+ 'attributes'?: Array<CreateApplicationSetRequestRecordsInnerAttributesInner>;
316
+ /**
317
+ * List of applications for this record
318
+ * @type {Array<Application>}
319
+ * @memberof CreateApplicationSetRequestRecordsInner
320
+ */
321
+ 'applications'?: Array<Application>;
334
322
  }
323
+ /**
324
+ *
325
+ * @export
326
+ * @interface CreateApplicationSetRequestRecordsInnerAttributesInner
327
+ */
328
+ export interface CreateApplicationSetRequestRecordsInnerAttributesInner {
329
+ /**
330
+ * The name of the option type. e.g. Size, Colour
331
+ * @type {string}
332
+ * @memberof CreateApplicationSetRequestRecordsInnerAttributesInner
333
+ */
334
+ 'name'?: string;
335
+ /**
336
+ * The value of the option this record applies to
337
+ * @type {string}
338
+ * @memberof CreateApplicationSetRequestRecordsInnerAttributesInner
339
+ */
340
+ 'value'?: string;
341
+ /**
342
+ *
343
+ * @type {CreateApplicationSetRequestRecordsInnerAttributesInnerThumbnail}
344
+ * @memberof CreateApplicationSetRequestRecordsInnerAttributesInner
345
+ */
346
+ 'thumbnail'?: CreateApplicationSetRequestRecordsInnerAttributesInnerThumbnail;
347
+ }
348
+ /**
349
+ * Attribute thumbnail, intended for interfaces like storefront colour selector.
350
+ * @export
351
+ * @interface CreateApplicationSetRequestRecordsInnerAttributesInnerThumbnail
352
+ */
353
+ export interface CreateApplicationSetRequestRecordsInnerAttributesInnerThumbnail {
354
+ /**
355
+ *
356
+ * @type {string}
357
+ * @memberof CreateApplicationSetRequestRecordsInnerAttributesInnerThumbnail
358
+ */
359
+ 'type'?: CreateApplicationSetRequestRecordsInnerAttributesInnerThumbnailTypeEnum;
360
+ /**
361
+ *
362
+ * @type {string}
363
+ * @memberof CreateApplicationSetRequestRecordsInnerAttributesInnerThumbnail
364
+ */
365
+ 'value'?: string;
366
+ }
367
+ export declare const CreateApplicationSetRequestRecordsInnerAttributesInnerThumbnailTypeEnum: {
368
+ readonly Text: "text";
369
+ readonly Color: "color";
370
+ readonly Image: "image";
371
+ };
372
+ export type CreateApplicationSetRequestRecordsInnerAttributesInnerThumbnailTypeEnum = typeof CreateApplicationSetRequestRecordsInnerAttributesInnerThumbnailTypeEnum[keyof typeof CreateApplicationSetRequestRecordsInnerAttributesInnerThumbnailTypeEnum];
335
373
  /**
336
374
  *
337
375
  * @export
@@ -800,6 +838,93 @@ export interface Stock {
800
838
  */
801
839
  'level'?: number;
802
840
  }
841
+ /**
842
+ *
843
+ * @export
844
+ * @interface UpdateApplicationSetRequest
845
+ */
846
+ export interface UpdateApplicationSetRequest {
847
+ /**
848
+ *
849
+ * @type {string}
850
+ * @memberof UpdateApplicationSetRequest
851
+ */
852
+ 'id'?: string;
853
+ /**
854
+ * Name of the application set
855
+ * @type {string}
856
+ * @memberof UpdateApplicationSetRequest
857
+ */
858
+ 'name'?: string;
859
+ /**
860
+ * Description of the application set
861
+ * @type {string}
862
+ * @memberof UpdateApplicationSetRequest
863
+ */
864
+ 'description'?: string;
865
+ /**
866
+ * The width, in pixels of the images in the set
867
+ * @type {number}
868
+ * @memberof UpdateApplicationSetRequest
869
+ */
870
+ 'width'?: number;
871
+ /**
872
+ * The height, in pixels of the images in the set
873
+ * @type {number}
874
+ * @memberof UpdateApplicationSetRequest
875
+ */
876
+ 'height'?: number;
877
+ /**
878
+ * The DPI used when printing the images in the set
879
+ * @type {number}
880
+ * @memberof UpdateApplicationSetRequest
881
+ */
882
+ 'dpi'?: number;
883
+ /**
884
+ * List of application set records
885
+ * @type {Array<UpdateApplicationSetRequestRecordsInner>}
886
+ * @memberof UpdateApplicationSetRequest
887
+ */
888
+ 'records'?: Array<UpdateApplicationSetRequestRecordsInner>;
889
+ }
890
+ /**
891
+ *
892
+ * @export
893
+ * @interface UpdateApplicationSetRequestRecordsInner
894
+ */
895
+ export interface UpdateApplicationSetRequestRecordsInner {
896
+ /**
897
+ * List of attributes this record applies to
898
+ * @type {Array<UpdateApplicationSetRequestRecordsInnerAttributesInner>}
899
+ * @memberof UpdateApplicationSetRequestRecordsInner
900
+ */
901
+ 'attributes'?: Array<UpdateApplicationSetRequestRecordsInnerAttributesInner>;
902
+ /**
903
+ * List of applications for this record
904
+ * @type {Array<Application>}
905
+ * @memberof UpdateApplicationSetRequestRecordsInner
906
+ */
907
+ 'applications'?: Array<Application>;
908
+ }
909
+ /**
910
+ *
911
+ * @export
912
+ * @interface UpdateApplicationSetRequestRecordsInnerAttributesInner
913
+ */
914
+ export interface UpdateApplicationSetRequestRecordsInnerAttributesInner {
915
+ /**
916
+ * The name of the option type. e.g. Size, Colour
917
+ * @type {string}
918
+ * @memberof UpdateApplicationSetRequestRecordsInnerAttributesInner
919
+ */
920
+ 'option'?: string;
921
+ /**
922
+ * The value of the option this record applies to
923
+ * @type {string}
924
+ * @memberof UpdateApplicationSetRequestRecordsInnerAttributesInner
925
+ */
926
+ 'value'?: string;
927
+ }
803
928
  /**
804
929
  *
805
930
  * @export
@@ -1062,11 +1187,11 @@ export declare const ApplicationSetsApiAxiosParamCreator: (configuration?: Confi
1062
1187
  * @summary Update application set
1063
1188
  * @param {string} project What project it is
1064
1189
  * @param {string} applicationSetId Application set\&#39;s unique identifier
1065
- * @param {CreateApplicationSetRequest} [createApplicationSetRequest] Create a new application set.
1190
+ * @param {UpdateApplicationSetRequest} [updateApplicationSetRequest] Create a new application set.
1066
1191
  * @param {*} [options] Override http request option.
1067
1192
  * @throws {RequiredError}
1068
1193
  */
1069
- updateApplicationSet: (project: string, applicationSetId: string, createApplicationSetRequest?: CreateApplicationSetRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1194
+ updateApplicationSet: (project: string, applicationSetId: string, updateApplicationSetRequest?: UpdateApplicationSetRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1070
1195
  };
1071
1196
  /**
1072
1197
  * ApplicationSetsApi - functional programming interface
@@ -1116,11 +1241,11 @@ export declare const ApplicationSetsApiFp: (configuration?: Configuration) => {
1116
1241
  * @summary Update application set
1117
1242
  * @param {string} project What project it is
1118
1243
  * @param {string} applicationSetId Application set\&#39;s unique identifier
1119
- * @param {CreateApplicationSetRequest} [createApplicationSetRequest] Create a new application set.
1244
+ * @param {UpdateApplicationSetRequest} [updateApplicationSetRequest] Create a new application set.
1120
1245
  * @param {*} [options] Override http request option.
1121
1246
  * @throws {RequiredError}
1122
1247
  */
1123
- updateApplicationSet(project: string, applicationSetId: string, createApplicationSetRequest?: CreateApplicationSetRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplicationSet>>;
1248
+ updateApplicationSet(project: string, applicationSetId: string, updateApplicationSetRequest?: UpdateApplicationSetRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplicationSet>>;
1124
1249
  };
1125
1250
  /**
1126
1251
  * ApplicationSetsApi - factory interface
@@ -1276,10 +1401,10 @@ export interface ApplicationSetsApiUpdateApplicationSetRequest {
1276
1401
  readonly applicationSetId: string;
1277
1402
  /**
1278
1403
  * Create a new application set.
1279
- * @type {CreateApplicationSetRequest}
1404
+ * @type {UpdateApplicationSetRequest}
1280
1405
  * @memberof ApplicationSetsApiUpdateApplicationSet
1281
1406
  */
1282
- readonly createApplicationSetRequest?: CreateApplicationSetRequest;
1407
+ readonly updateApplicationSetRequest?: UpdateApplicationSetRequest;
1283
1408
  }
1284
1409
  /**
1285
1410
  * ApplicationSetsApi - object-oriented interface