@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 +2 -2
- package/api.ts +177 -52
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +170 -45
- package/dist/api.js +11 -11
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +170 -45
- package/dist/esm/api.js +10 -10
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- 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/index.ts +1 -1
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Product Catalog API
|
|
6
6
|
* 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.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.18.1
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.VariantsApi = exports.VariantsApiFactory = exports.VariantsApiFp = exports.VariantsApiAxiosParamCreator = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.ApplicationSetsApi = exports.ApplicationSetsApiFactory = exports.ApplicationSetsApiFp = exports.ApplicationSetsApiAxiosParamCreator = exports.PriceCurrencyCodeEnum = exports.CreateProductVariantRetailPriceCurrencyCodeEnum = exports.CreateProductVariantAttributesInnerNameEnum = exports.
|
|
25
|
+
exports.VariantsApi = exports.VariantsApiFactory = exports.VariantsApiFp = exports.VariantsApiAxiosParamCreator = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.ApplicationSetsApi = exports.ApplicationSetsApiFactory = exports.ApplicationSetsApiFp = exports.ApplicationSetsApiAxiosParamCreator = exports.PriceCurrencyCodeEnum = exports.CreateProductVariantRetailPriceCurrencyCodeEnum = exports.CreateProductVariantAttributesInnerNameEnum = exports.CreateApplicationSetRequestRecordsInnerAttributesInnerThumbnailTypeEnum = exports.ApplicationPlacementEnum = exports.ApplicationTechnologyEnum = void 0;
|
|
26
26
|
const axios_1 = require("axios");
|
|
27
27
|
// Some imports not used depending on template conditions
|
|
28
28
|
// @ts-ignore
|
|
@@ -47,7 +47,7 @@ exports.ApplicationPlacementEnum = {
|
|
|
47
47
|
Right: 'right',
|
|
48
48
|
Neck: 'neck'
|
|
49
49
|
};
|
|
50
|
-
exports.
|
|
50
|
+
exports.CreateApplicationSetRequestRecordsInnerAttributesInnerThumbnailTypeEnum = {
|
|
51
51
|
Text: 'text',
|
|
52
52
|
Color: 'color',
|
|
53
53
|
Image: 'image'
|
|
@@ -240,11 +240,11 @@ const ApplicationSetsApiAxiosParamCreator = function (configuration) {
|
|
|
240
240
|
* @summary Update application set
|
|
241
241
|
* @param {string} project What project it is
|
|
242
242
|
* @param {string} applicationSetId Application set\'s unique identifier
|
|
243
|
-
* @param {
|
|
243
|
+
* @param {UpdateApplicationSetRequest} [updateApplicationSetRequest] Create a new application set.
|
|
244
244
|
* @param {*} [options] Override http request option.
|
|
245
245
|
* @throws {RequiredError}
|
|
246
246
|
*/
|
|
247
|
-
updateApplicationSet: (project_1, applicationSetId_1,
|
|
247
|
+
updateApplicationSet: (project_1, applicationSetId_1, updateApplicationSetRequest_1, ...args_1) => __awaiter(this, [project_1, applicationSetId_1, updateApplicationSetRequest_1, ...args_1], void 0, function* (project, applicationSetId, updateApplicationSetRequest, options = {}) {
|
|
248
248
|
// verify required parameter 'project' is not null or undefined
|
|
249
249
|
(0, common_1.assertParamExists)('updateApplicationSet', 'project', project);
|
|
250
250
|
// verify required parameter 'applicationSetId' is not null or undefined
|
|
@@ -272,7 +272,7 @@ const ApplicationSetsApiAxiosParamCreator = function (configuration) {
|
|
|
272
272
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
273
273
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
274
274
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
275
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
275
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateApplicationSetRequest, localVarRequestOptions, configuration);
|
|
276
276
|
return {
|
|
277
277
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
278
278
|
options: localVarRequestOptions,
|
|
@@ -363,14 +363,14 @@ const ApplicationSetsApiFp = function (configuration) {
|
|
|
363
363
|
* @summary Update application set
|
|
364
364
|
* @param {string} project What project it is
|
|
365
365
|
* @param {string} applicationSetId Application set\'s unique identifier
|
|
366
|
-
* @param {
|
|
366
|
+
* @param {UpdateApplicationSetRequest} [updateApplicationSetRequest] Create a new application set.
|
|
367
367
|
* @param {*} [options] Override http request option.
|
|
368
368
|
* @throws {RequiredError}
|
|
369
369
|
*/
|
|
370
|
-
updateApplicationSet(project, applicationSetId,
|
|
370
|
+
updateApplicationSet(project, applicationSetId, updateApplicationSetRequest, options) {
|
|
371
371
|
return __awaiter(this, void 0, void 0, function* () {
|
|
372
372
|
var _a, _b, _c;
|
|
373
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateApplicationSet(project, applicationSetId,
|
|
373
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateApplicationSet(project, applicationSetId, updateApplicationSetRequest, options);
|
|
374
374
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
375
375
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ApplicationSetsApi.updateApplicationSet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
376
376
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -434,7 +434,7 @@ const ApplicationSetsApiFactory = function (configuration, basePath, axios) {
|
|
|
434
434
|
* @throws {RequiredError}
|
|
435
435
|
*/
|
|
436
436
|
updateApplicationSet(requestParameters, options) {
|
|
437
|
-
return localVarFp.updateApplicationSet(requestParameters.project, requestParameters.applicationSetId, requestParameters.
|
|
437
|
+
return localVarFp.updateApplicationSet(requestParameters.project, requestParameters.applicationSetId, requestParameters.updateApplicationSetRequest, options).then((request) => request(axios, basePath));
|
|
438
438
|
},
|
|
439
439
|
};
|
|
440
440
|
};
|
|
@@ -499,7 +499,7 @@ class ApplicationSetsApi extends base_1.BaseAPI {
|
|
|
499
499
|
* @memberof ApplicationSetsApi
|
|
500
500
|
*/
|
|
501
501
|
updateApplicationSet(requestParameters, options) {
|
|
502
|
-
return (0, exports.ApplicationSetsApiFp)(this.configuration).updateApplicationSet(requestParameters.project, requestParameters.applicationSetId, requestParameters.
|
|
502
|
+
return (0, exports.ApplicationSetsApiFp)(this.configuration).updateApplicationSet(requestParameters.project, requestParameters.applicationSetId, requestParameters.updateApplicationSetRequest, options).then((request) => request(this.axios, this.basePath));
|
|
503
503
|
}
|
|
504
504
|
}
|
|
505
505
|
exports.ApplicationSetsApi = ApplicationSetsApi;
|
package/dist/base.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.
|
|
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).
|
package/dist/base.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Product Catalog API
|
|
6
6
|
* 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.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.18.1
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.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.
|
|
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).
|
package/dist/common.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Product Catalog API
|
|
6
6
|
* 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.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.18.1
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.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.
|
|
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).
|
package/dist/configuration.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Product Catalog API
|
|
6
6
|
* 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.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.18.1
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/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.
|
|
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
|
-
*
|
|
200
|
-
* @type {
|
|
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
|
-
'
|
|
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 {
|
|
250
|
+
* @type {CreateApplicationSetRequestRecordsInnerAttributesInnerThumbnail}
|
|
257
251
|
* @memberof Attribute
|
|
258
252
|
*/
|
|
259
|
-
'thumbnail'?:
|
|
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<
|
|
299
|
+
* @type {Array<CreateApplicationSetRequestRecordsInner>}
|
|
331
300
|
* @memberof CreateApplicationSetRequest
|
|
332
301
|
*/
|
|
333
|
-
'records'?: Array<
|
|
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\'s unique identifier
|
|
1065
|
-
* @param {
|
|
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,
|
|
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\'s unique identifier
|
|
1119
|
-
* @param {
|
|
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,
|
|
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 {
|
|
1404
|
+
* @type {UpdateApplicationSetRequest}
|
|
1280
1405
|
* @memberof ApplicationSetsApiUpdateApplicationSet
|
|
1281
1406
|
*/
|
|
1282
|
-
readonly
|
|
1407
|
+
readonly updateApplicationSetRequest?: UpdateApplicationSetRequest;
|
|
1283
1408
|
}
|
|
1284
1409
|
/**
|
|
1285
1410
|
* ApplicationSetsApi - object-oriented interface
|
package/dist/esm/api.js
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.
|
|
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).
|
|
@@ -44,7 +44,7 @@ export const ApplicationPlacementEnum = {
|
|
|
44
44
|
Right: 'right',
|
|
45
45
|
Neck: 'neck'
|
|
46
46
|
};
|
|
47
|
-
export const
|
|
47
|
+
export const CreateApplicationSetRequestRecordsInnerAttributesInnerThumbnailTypeEnum = {
|
|
48
48
|
Text: 'text',
|
|
49
49
|
Color: 'color',
|
|
50
50
|
Image: 'image'
|
|
@@ -237,11 +237,11 @@ export const ApplicationSetsApiAxiosParamCreator = function (configuration) {
|
|
|
237
237
|
* @summary Update application set
|
|
238
238
|
* @param {string} project What project it is
|
|
239
239
|
* @param {string} applicationSetId Application set\'s unique identifier
|
|
240
|
-
* @param {
|
|
240
|
+
* @param {UpdateApplicationSetRequest} [updateApplicationSetRequest] Create a new application set.
|
|
241
241
|
* @param {*} [options] Override http request option.
|
|
242
242
|
* @throws {RequiredError}
|
|
243
243
|
*/
|
|
244
|
-
updateApplicationSet: (project_1, applicationSetId_1,
|
|
244
|
+
updateApplicationSet: (project_1, applicationSetId_1, updateApplicationSetRequest_1, ...args_1) => __awaiter(this, [project_1, applicationSetId_1, updateApplicationSetRequest_1, ...args_1], void 0, function* (project, applicationSetId, updateApplicationSetRequest, options = {}) {
|
|
245
245
|
// verify required parameter 'project' is not null or undefined
|
|
246
246
|
assertParamExists('updateApplicationSet', 'project', project);
|
|
247
247
|
// verify required parameter 'applicationSetId' is not null or undefined
|
|
@@ -269,7 +269,7 @@ export const ApplicationSetsApiAxiosParamCreator = function (configuration) {
|
|
|
269
269
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
270
270
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
271
271
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
272
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
272
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateApplicationSetRequest, localVarRequestOptions, configuration);
|
|
273
273
|
return {
|
|
274
274
|
url: toPathString(localVarUrlObj),
|
|
275
275
|
options: localVarRequestOptions,
|
|
@@ -359,14 +359,14 @@ export const ApplicationSetsApiFp = function (configuration) {
|
|
|
359
359
|
* @summary Update application set
|
|
360
360
|
* @param {string} project What project it is
|
|
361
361
|
* @param {string} applicationSetId Application set\'s unique identifier
|
|
362
|
-
* @param {
|
|
362
|
+
* @param {UpdateApplicationSetRequest} [updateApplicationSetRequest] Create a new application set.
|
|
363
363
|
* @param {*} [options] Override http request option.
|
|
364
364
|
* @throws {RequiredError}
|
|
365
365
|
*/
|
|
366
|
-
updateApplicationSet(project, applicationSetId,
|
|
366
|
+
updateApplicationSet(project, applicationSetId, updateApplicationSetRequest, options) {
|
|
367
367
|
return __awaiter(this, void 0, void 0, function* () {
|
|
368
368
|
var _a, _b, _c;
|
|
369
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateApplicationSet(project, applicationSetId,
|
|
369
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateApplicationSet(project, applicationSetId, updateApplicationSetRequest, options);
|
|
370
370
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
371
371
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ApplicationSetsApi.updateApplicationSet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
372
372
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -429,7 +429,7 @@ export const ApplicationSetsApiFactory = function (configuration, basePath, axio
|
|
|
429
429
|
* @throws {RequiredError}
|
|
430
430
|
*/
|
|
431
431
|
updateApplicationSet(requestParameters, options) {
|
|
432
|
-
return localVarFp.updateApplicationSet(requestParameters.project, requestParameters.applicationSetId, requestParameters.
|
|
432
|
+
return localVarFp.updateApplicationSet(requestParameters.project, requestParameters.applicationSetId, requestParameters.updateApplicationSetRequest, options).then((request) => request(axios, basePath));
|
|
433
433
|
},
|
|
434
434
|
};
|
|
435
435
|
};
|
|
@@ -493,7 +493,7 @@ export class ApplicationSetsApi extends BaseAPI {
|
|
|
493
493
|
* @memberof ApplicationSetsApi
|
|
494
494
|
*/
|
|
495
495
|
updateApplicationSet(requestParameters, options) {
|
|
496
|
-
return ApplicationSetsApiFp(this.configuration).updateApplicationSet(requestParameters.project, requestParameters.applicationSetId, requestParameters.
|
|
496
|
+
return ApplicationSetsApiFp(this.configuration).updateApplicationSet(requestParameters.project, requestParameters.applicationSetId, requestParameters.updateApplicationSetRequest, options).then((request) => request(this.axios, this.basePath));
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
499
|
/**
|
package/dist/esm/base.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.
|
|
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).
|
package/dist/esm/base.js
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.
|
|
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/esm/common.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.
|
|
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).
|
package/dist/esm/common.js
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.
|
|
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).
|
|
@@ -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.
|
|
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).
|
|
@@ -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.
|
|
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/esm/index.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.
|
|
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).
|
package/dist/esm/index.js
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.
|
|
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/index.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.
|
|
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).
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Product Catalog API
|
|
6
6
|
* 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.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.18.1
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/index.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.
|
|
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).
|