@teemill/product-catalog 1.47.0 → 1.49.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 +115 -2
- package/api.ts +113 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +66 -1
- package/dist/api.js +74 -1
- 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 +66 -1
- package/dist/esm/api.js +74 -1
- 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/docs/AdditionalFile.md +20 -0
- package/docs/ApiError.md +22 -0
- package/docs/Application.md +28 -0
- package/docs/ApplicationMockup.md +22 -0
- package/docs/ApplicationSet.md +38 -0
- package/docs/ApplicationSet1.md +22 -0
- package/docs/ApplicationSetRecord.md +26 -0
- package/docs/ApplicationSetsApi.md +317 -0
- package/docs/ApplicationSetsResponse.md +22 -0
- package/docs/Attribute.md +26 -0
- package/docs/AttributeThumbnail.md +23 -0
- package/docs/Attributes1Inner.md +22 -0
- package/docs/CreateApplication.md +24 -0
- package/docs/CreateApplicationSetRequest.md +30 -0
- package/docs/CreateApplicationSetRequestRecordsInner.md +22 -0
- package/docs/CreateApplicationSetRequestRecordsInnerAttributesInner.md +22 -0
- package/docs/CreateBundleProduct.md +54 -0
- package/docs/CreateProduct.md +56 -0
- package/docs/CreateProductAdditionalFilesInner.md +20 -0
- package/docs/CreateProductImagesInner.md +22 -0
- package/docs/CreateProductRequest.md +64 -0
- package/docs/CreateProductVariant.md +36 -0
- package/docs/CreateProductVariantImagesInner.md +20 -0
- package/docs/CreateProductVideosInner.md +20 -0
- package/docs/DuplicateProducts202Response.md +20 -0
- package/docs/DuplicateProductsRequest.md +22 -0
- package/docs/ExportProducts202Response.md +20 -0
- package/docs/Image.md +35 -0
- package/docs/ImageFile.md +22 -0
- package/docs/ImportProducts200Response.md +20 -0
- package/docs/Location.md +22 -0
- package/docs/MetaField.md +23 -0
- package/docs/OptimisationHistoryItem.md +22 -0
- package/docs/Price.md +23 -0
- package/docs/Product.md +86 -0
- package/docs/ProductAdditionalFilesInner.md +22 -0
- package/docs/ProductApplicationSetsInner.md +24 -0
- package/docs/ProductWarehouseProduct.md +22 -0
- package/docs/ProductsApi.md +626 -0
- package/docs/ProductsResponse.md +22 -0
- package/docs/SEOMetadata.md +23 -0
- package/docs/SeoOptimiseProducts202Response.md +20 -0
- package/docs/SeoOptimiseProductsRequest.md +22 -0
- package/docs/Stock.md +22 -0
- package/docs/TargetSearchPhraseData.md +22 -0
- package/docs/UpdateApplicationSetRequest.md +30 -0
- package/docs/UpdateApplicationSetRequestRecordsInner.md +22 -0
- package/docs/UpdateApplicationSetRequestRecordsInnerAttributesInner.md +22 -0
- package/docs/UpdateProductRequest.md +64 -0
- package/docs/UpdateProductRequestIntegrationConnectionsInner.md +22 -0
- package/docs/UpdateProductsRequest.md +20 -0
- package/docs/UpdateProductsRequestProductsInner.md +42 -0
- package/docs/UpdateProductsRequestProductsInnerIntegrationConnectionsInner.md +22 -0
- package/docs/UpdateProductsRequestProductsInnerSeoMetadata.md +22 -0
- package/docs/UpdateProductsRequestProductsInnerVariantsInner.md +30 -0
- package/docs/UpdateProductsRequestProductsInnerVariantsInnerAttributesInner.md +22 -0
- package/docs/UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner.md +22 -0
- package/docs/UpdateProductsRequestProductsInnerVariantsInnerRetailPrice.md +23 -0
- package/docs/UpdateProductsRequestProductsInnerVariantsInnerSalePrice.md +23 -0
- package/docs/Variant.md +58 -0
- package/docs/VariantIntegrationConnectionsInner.md +22 -0
- package/docs/VariantProduct.md +22 -0
- package/docs/VariantsApi.md +138 -0
- package/docs/VariantsResponse.md +22 -0
- package/docs/Video.md +31 -0
- package/docs/VideoFile.md +20 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/esm/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Product Catalog API
|
|
3
3
|
* 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.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.49.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -850,6 +850,19 @@ export interface DuplicateProductsRequest {
|
|
|
850
850
|
*/
|
|
851
851
|
'projects': Array<string>;
|
|
852
852
|
}
|
|
853
|
+
/**
|
|
854
|
+
*
|
|
855
|
+
* @export
|
|
856
|
+
* @interface ExportProducts202Response
|
|
857
|
+
*/
|
|
858
|
+
export interface ExportProducts202Response {
|
|
859
|
+
/**
|
|
860
|
+
* A message describing the export status
|
|
861
|
+
* @type {string}
|
|
862
|
+
* @memberof ExportProducts202Response
|
|
863
|
+
*/
|
|
864
|
+
'message'?: string;
|
|
865
|
+
}
|
|
853
866
|
/**
|
|
854
867
|
* Image description
|
|
855
868
|
* @export
|
|
@@ -1354,6 +1367,12 @@ export interface SeoOptimiseProductsRequest {
|
|
|
1354
1367
|
* @memberof SeoOptimiseProductsRequest
|
|
1355
1368
|
*/
|
|
1356
1369
|
'ids'?: Array<string>;
|
|
1370
|
+
/**
|
|
1371
|
+
* If provided, only the specified fields will be updated.
|
|
1372
|
+
* @type {Array<string>}
|
|
1373
|
+
* @memberof SeoOptimiseProductsRequest
|
|
1374
|
+
*/
|
|
1375
|
+
'fields'?: Array<string>;
|
|
1357
1376
|
}
|
|
1358
1377
|
/**
|
|
1359
1378
|
*
|
|
@@ -2493,6 +2512,14 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
2493
2512
|
* @throws {RequiredError}
|
|
2494
2513
|
*/
|
|
2495
2514
|
duplicateProducts: (project: string, duplicateProductsRequest?: DuplicateProductsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2515
|
+
/**
|
|
2516
|
+
* Export the project\'s products and variants as a CSV file.
|
|
2517
|
+
* @summary Export products
|
|
2518
|
+
* @param {string} project What project it is
|
|
2519
|
+
* @param {*} [options] Override http request option.
|
|
2520
|
+
* @throws {RequiredError}
|
|
2521
|
+
*/
|
|
2522
|
+
exportProducts: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2496
2523
|
/**
|
|
2497
2524
|
* Gets a product by a given ID.
|
|
2498
2525
|
* @summary Get product
|
|
@@ -2586,6 +2613,14 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
2586
2613
|
* @throws {RequiredError}
|
|
2587
2614
|
*/
|
|
2588
2615
|
duplicateProducts(project: string, duplicateProductsRequest?: DuplicateProductsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DuplicateProducts202Response>>;
|
|
2616
|
+
/**
|
|
2617
|
+
* Export the project\'s products and variants as a CSV file.
|
|
2618
|
+
* @summary Export products
|
|
2619
|
+
* @param {string} project What project it is
|
|
2620
|
+
* @param {*} [options] Override http request option.
|
|
2621
|
+
* @throws {RequiredError}
|
|
2622
|
+
*/
|
|
2623
|
+
exportProducts(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
2589
2624
|
/**
|
|
2590
2625
|
* Gets a product by a given ID.
|
|
2591
2626
|
* @summary Get product
|
|
@@ -2676,6 +2711,14 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
|
2676
2711
|
* @throws {RequiredError}
|
|
2677
2712
|
*/
|
|
2678
2713
|
duplicateProducts(requestParameters: ProductsApiDuplicateProductsRequest, options?: RawAxiosRequestConfig): AxiosPromise<DuplicateProducts202Response>;
|
|
2714
|
+
/**
|
|
2715
|
+
* Export the project\'s products and variants as a CSV file.
|
|
2716
|
+
* @summary Export products
|
|
2717
|
+
* @param {ProductsApiExportProductsRequest} requestParameters Request parameters.
|
|
2718
|
+
* @param {*} [options] Override http request option.
|
|
2719
|
+
* @throws {RequiredError}
|
|
2720
|
+
*/
|
|
2721
|
+
exportProducts(requestParameters: ProductsApiExportProductsRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
2679
2722
|
/**
|
|
2680
2723
|
* Gets a product by a given ID.
|
|
2681
2724
|
* @summary Get product
|
|
@@ -2782,6 +2825,19 @@ export interface ProductsApiDuplicateProductsRequest {
|
|
|
2782
2825
|
*/
|
|
2783
2826
|
readonly duplicateProductsRequest?: DuplicateProductsRequest;
|
|
2784
2827
|
}
|
|
2828
|
+
/**
|
|
2829
|
+
* Request parameters for exportProducts operation in ProductsApi.
|
|
2830
|
+
* @export
|
|
2831
|
+
* @interface ProductsApiExportProductsRequest
|
|
2832
|
+
*/
|
|
2833
|
+
export interface ProductsApiExportProductsRequest {
|
|
2834
|
+
/**
|
|
2835
|
+
* What project it is
|
|
2836
|
+
* @type {string}
|
|
2837
|
+
* @memberof ProductsApiExportProducts
|
|
2838
|
+
*/
|
|
2839
|
+
readonly project: string;
|
|
2840
|
+
}
|
|
2785
2841
|
/**
|
|
2786
2842
|
* Request parameters for getProduct operation in ProductsApi.
|
|
2787
2843
|
* @export
|
|
@@ -2966,6 +3022,15 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
2966
3022
|
* @memberof ProductsApi
|
|
2967
3023
|
*/
|
|
2968
3024
|
duplicateProducts(requestParameters: ProductsApiDuplicateProductsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DuplicateProducts202Response, any>>;
|
|
3025
|
+
/**
|
|
3026
|
+
* Export the project\'s products and variants as a CSV file.
|
|
3027
|
+
* @summary Export products
|
|
3028
|
+
* @param {ProductsApiExportProductsRequest} requestParameters Request parameters.
|
|
3029
|
+
* @param {*} [options] Override http request option.
|
|
3030
|
+
* @throws {RequiredError}
|
|
3031
|
+
* @memberof ProductsApi
|
|
3032
|
+
*/
|
|
3033
|
+
exportProducts(requestParameters: ProductsApiExportProductsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
|
|
2969
3034
|
/**
|
|
2970
3035
|
* Gets a product by a given ID.
|
|
2971
3036
|
* @summary Get product
|
package/dist/esm/api.js
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.49.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -641,6 +641,42 @@ export const ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
641
641
|
options: localVarRequestOptions,
|
|
642
642
|
};
|
|
643
643
|
}),
|
|
644
|
+
/**
|
|
645
|
+
* Export the project\'s products and variants as a CSV file.
|
|
646
|
+
* @summary Export products
|
|
647
|
+
* @param {string} project What project it is
|
|
648
|
+
* @param {*} [options] Override http request option.
|
|
649
|
+
* @throws {RequiredError}
|
|
650
|
+
*/
|
|
651
|
+
exportProducts: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
652
|
+
// verify required parameter 'project' is not null or undefined
|
|
653
|
+
assertParamExists('exportProducts', 'project', project);
|
|
654
|
+
const localVarPath = `/v1/catalog/products/export`;
|
|
655
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
656
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
657
|
+
let baseOptions;
|
|
658
|
+
if (configuration) {
|
|
659
|
+
baseOptions = configuration.baseOptions;
|
|
660
|
+
}
|
|
661
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
662
|
+
const localVarHeaderParameter = {};
|
|
663
|
+
const localVarQueryParameter = {};
|
|
664
|
+
// authentication session-oauth required
|
|
665
|
+
// oauth required
|
|
666
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
667
|
+
// authentication api-key required
|
|
668
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
669
|
+
if (project !== undefined) {
|
|
670
|
+
localVarQueryParameter['project'] = project;
|
|
671
|
+
}
|
|
672
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
673
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
674
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
675
|
+
return {
|
|
676
|
+
url: toPathString(localVarUrlObj),
|
|
677
|
+
options: localVarRequestOptions,
|
|
678
|
+
};
|
|
679
|
+
}),
|
|
644
680
|
/**
|
|
645
681
|
* Gets a product by a given ID.
|
|
646
682
|
* @summary Get product
|
|
@@ -963,6 +999,22 @@ export const ProductsApiFp = function (configuration) {
|
|
|
963
999
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
964
1000
|
});
|
|
965
1001
|
},
|
|
1002
|
+
/**
|
|
1003
|
+
* Export the project\'s products and variants as a CSV file.
|
|
1004
|
+
* @summary Export products
|
|
1005
|
+
* @param {string} project What project it is
|
|
1006
|
+
* @param {*} [options] Override http request option.
|
|
1007
|
+
* @throws {RequiredError}
|
|
1008
|
+
*/
|
|
1009
|
+
exportProducts(project, options) {
|
|
1010
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1011
|
+
var _a, _b, _c;
|
|
1012
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.exportProducts(project, options);
|
|
1013
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1014
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProductsApi.exportProducts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1015
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1016
|
+
});
|
|
1017
|
+
},
|
|
966
1018
|
/**
|
|
967
1019
|
* Gets a product by a given ID.
|
|
968
1020
|
* @summary Get product
|
|
@@ -1110,6 +1162,16 @@ export const ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
1110
1162
|
duplicateProducts(requestParameters, options) {
|
|
1111
1163
|
return localVarFp.duplicateProducts(requestParameters.project, requestParameters.duplicateProductsRequest, options).then((request) => request(axios, basePath));
|
|
1112
1164
|
},
|
|
1165
|
+
/**
|
|
1166
|
+
* Export the project\'s products and variants as a CSV file.
|
|
1167
|
+
* @summary Export products
|
|
1168
|
+
* @param {ProductsApiExportProductsRequest} requestParameters Request parameters.
|
|
1169
|
+
* @param {*} [options] Override http request option.
|
|
1170
|
+
* @throws {RequiredError}
|
|
1171
|
+
*/
|
|
1172
|
+
exportProducts(requestParameters, options) {
|
|
1173
|
+
return localVarFp.exportProducts(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1174
|
+
},
|
|
1113
1175
|
/**
|
|
1114
1176
|
* Gets a product by a given ID.
|
|
1115
1177
|
* @summary Get product
|
|
@@ -1212,6 +1274,17 @@ export class ProductsApi extends BaseAPI {
|
|
|
1212
1274
|
duplicateProducts(requestParameters, options) {
|
|
1213
1275
|
return ProductsApiFp(this.configuration).duplicateProducts(requestParameters.project, requestParameters.duplicateProductsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1214
1276
|
}
|
|
1277
|
+
/**
|
|
1278
|
+
* Export the project\'s products and variants as a CSV file.
|
|
1279
|
+
* @summary Export products
|
|
1280
|
+
* @param {ProductsApiExportProductsRequest} requestParameters Request parameters.
|
|
1281
|
+
* @param {*} [options] Override http request option.
|
|
1282
|
+
* @throws {RequiredError}
|
|
1283
|
+
* @memberof ProductsApi
|
|
1284
|
+
*/
|
|
1285
|
+
exportProducts(requestParameters, options) {
|
|
1286
|
+
return ProductsApiFp(this.configuration).exportProducts(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
1287
|
+
}
|
|
1215
1288
|
/**
|
|
1216
1289
|
* Gets a product by a given ID.
|
|
1217
1290
|
* @summary Get product
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Product Catalog API
|
|
3
3
|
* 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.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.49.0
|
|
6
6
|
*
|
|
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 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.49.0
|
|
8
8
|
*
|
|
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 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.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.49.0
|
|
6
6
|
*
|
|
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 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.49.0
|
|
8
8
|
*
|
|
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 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.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.49.0
|
|
6
6
|
*
|
|
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 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.49.0
|
|
8
8
|
*
|
|
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 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.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.49.0
|
|
6
6
|
*
|
|
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 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.49.0
|
|
8
8
|
*
|
|
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 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.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.49.0
|
|
6
6
|
*
|
|
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 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.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.49.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# AdditionalFile
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**src** | **string** | Publicly available file URL. | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { AdditionalFile } from '@teemill/product-catalog';
|
|
14
|
+
|
|
15
|
+
const instance: AdditionalFile = {
|
|
16
|
+
src,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/ApiError.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# ApiError
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**code** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**message** | **string** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { ApiError } from '@teemill/product-catalog';
|
|
15
|
+
|
|
16
|
+
const instance: ApiError = {
|
|
17
|
+
code,
|
|
18
|
+
message,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Application
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | Unique object identifier | [optional] [default to undefined]
|
|
9
|
+
**technology** | **string** | Technology to use for the application. | [default to undefined]
|
|
10
|
+
**placement** | **string** | Placement of the application. Available placements depend on the chosen product and technology. | [default to undefined]
|
|
11
|
+
**src** | **string** | 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. Accepts PNG and JPEG files. | [default to undefined]
|
|
12
|
+
**mockup** | [**ApplicationMockup**](ApplicationMockup.md) | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { Application } from '@teemill/product-catalog';
|
|
18
|
+
|
|
19
|
+
const instance: Application = {
|
|
20
|
+
id,
|
|
21
|
+
technology,
|
|
22
|
+
placement,
|
|
23
|
+
src,
|
|
24
|
+
mockup,
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# ApplicationMockup
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**file** | **string** | Drive image URL. If provided, this will be used as the mockup image for the variant application rather than generating a new one. | [default to undefined]
|
|
9
|
+
**preview** | **string** | Publicly available mockup image URL. This is a preview of the mockup image for the given application. | [optional] [readonly] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { ApplicationMockup } from '@teemill/product-catalog';
|
|
15
|
+
|
|
16
|
+
const instance: ApplicationMockup = {
|
|
17
|
+
file,
|
|
18
|
+
preview,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# ApplicationSet
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | Unique object identifier | [default to undefined]
|
|
9
|
+
**ref** | **string** | A reference to the resource location | [default to undefined]
|
|
10
|
+
**name** | **string** | Name of the application set | [default to undefined]
|
|
11
|
+
**description** | **string** | Description of the application set | [optional] [default to undefined]
|
|
12
|
+
**width** | **number** | The width, in pixels of the images in the set | [default to undefined]
|
|
13
|
+
**height** | **number** | The height, in pixels of the images in the set | [default to undefined]
|
|
14
|
+
**dpi** | **number** | The DPI used when printing the images in the set | [default to undefined]
|
|
15
|
+
**records** | [**Array<ApplicationSetRecord>**](ApplicationSetRecord.md) | List of application set records | [default to undefined]
|
|
16
|
+
**createdAt** | **string** | | [default to undefined]
|
|
17
|
+
**updatedAt** | **string** | | [default to undefined]
|
|
18
|
+
|
|
19
|
+
## Example
|
|
20
|
+
|
|
21
|
+
```typescript
|
|
22
|
+
import { ApplicationSet } from '@teemill/product-catalog';
|
|
23
|
+
|
|
24
|
+
const instance: ApplicationSet = {
|
|
25
|
+
id,
|
|
26
|
+
ref,
|
|
27
|
+
name,
|
|
28
|
+
description,
|
|
29
|
+
width,
|
|
30
|
+
height,
|
|
31
|
+
dpi,
|
|
32
|
+
records,
|
|
33
|
+
createdAt,
|
|
34
|
+
updatedAt,
|
|
35
|
+
};
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# ApplicationSet1
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | Unique object identifier | [optional] [default to undefined]
|
|
9
|
+
**ref** | **string** | A reference to the resource location | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { ApplicationSet1 } from '@teemill/product-catalog';
|
|
15
|
+
|
|
16
|
+
const instance: ApplicationSet1 = {
|
|
17
|
+
id,
|
|
18
|
+
ref,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# ApplicationSetRecord
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | Unique object identifier | [optional] [default to undefined]
|
|
9
|
+
**set** | [**ApplicationSet1**](ApplicationSet1.md) | | [optional] [default to undefined]
|
|
10
|
+
**attributes** | [**Array<Attributes1Inner>**](Attributes1Inner.md) | Attributes associated to a variant such as Colour and Size. | [optional] [default to undefined]
|
|
11
|
+
**applications** | [**Array<Application>**](Application.md) | List of applications for this record | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { ApplicationSetRecord } from '@teemill/product-catalog';
|
|
17
|
+
|
|
18
|
+
const instance: ApplicationSetRecord = {
|
|
19
|
+
id,
|
|
20
|
+
set,
|
|
21
|
+
attributes,
|
|
22
|
+
applications,
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|