@teemill/product-catalog 1.48.0 → 1.50.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 +117 -2
- package/api.ts +127 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +74 -1
- package/dist/api.js +80 -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 +74 -1
- package/dist/esm/api.js +80 -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/DeleteProductsRequest.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 +687 -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.50.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -818,6 +818,19 @@ export interface CreateProductVideosInner {
|
|
|
818
818
|
*/
|
|
819
819
|
'src'?: string;
|
|
820
820
|
}
|
|
821
|
+
/**
|
|
822
|
+
*
|
|
823
|
+
* @export
|
|
824
|
+
* @interface DeleteProductsRequest
|
|
825
|
+
*/
|
|
826
|
+
export interface DeleteProductsRequest {
|
|
827
|
+
/**
|
|
828
|
+
*
|
|
829
|
+
* @type {Array<string>}
|
|
830
|
+
* @memberof DeleteProductsRequest
|
|
831
|
+
*/
|
|
832
|
+
'products'?: Array<string>;
|
|
833
|
+
}
|
|
821
834
|
/**
|
|
822
835
|
*
|
|
823
836
|
* @export
|
|
@@ -1367,6 +1380,12 @@ export interface SeoOptimiseProductsRequest {
|
|
|
1367
1380
|
* @memberof SeoOptimiseProductsRequest
|
|
1368
1381
|
*/
|
|
1369
1382
|
'ids'?: Array<string>;
|
|
1383
|
+
/**
|
|
1384
|
+
* If provided, only the specified fields will be updated.
|
|
1385
|
+
* @type {Array<string>}
|
|
1386
|
+
* @memberof SeoOptimiseProductsRequest
|
|
1387
|
+
*/
|
|
1388
|
+
'fields'?: Array<string>;
|
|
1370
1389
|
}
|
|
1371
1390
|
/**
|
|
1372
1391
|
*
|
|
@@ -2497,6 +2516,15 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
2497
2516
|
* @throws {RequiredError}
|
|
2498
2517
|
*/
|
|
2499
2518
|
deleteProduct: (project: string, productId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2519
|
+
/**
|
|
2520
|
+
* Deletes catalog products for the given project.
|
|
2521
|
+
* @summary Delete products
|
|
2522
|
+
* @param {string} project What project it is
|
|
2523
|
+
* @param {DeleteProductsRequest} deleteProductsRequest Delete products in bulk.
|
|
2524
|
+
* @param {*} [options] Override http request option.
|
|
2525
|
+
* @throws {RequiredError}
|
|
2526
|
+
*/
|
|
2527
|
+
deleteProducts: (project: string, deleteProductsRequest: DeleteProductsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2500
2528
|
/**
|
|
2501
2529
|
* Duplicate products by a set of given IDs to a set of given project IDs.
|
|
2502
2530
|
* @summary Duplicate products.
|
|
@@ -2598,6 +2626,15 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
2598
2626
|
* @throws {RequiredError}
|
|
2599
2627
|
*/
|
|
2600
2628
|
deleteProduct(project: string, productId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
2629
|
+
/**
|
|
2630
|
+
* Deletes catalog products for the given project.
|
|
2631
|
+
* @summary Delete products
|
|
2632
|
+
* @param {string} project What project it is
|
|
2633
|
+
* @param {DeleteProductsRequest} deleteProductsRequest Delete products in bulk.
|
|
2634
|
+
* @param {*} [options] Override http request option.
|
|
2635
|
+
* @throws {RequiredError}
|
|
2636
|
+
*/
|
|
2637
|
+
deleteProducts(project: string, deleteProductsRequest: DeleteProductsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
2601
2638
|
/**
|
|
2602
2639
|
* Duplicate products by a set of given IDs to a set of given project IDs.
|
|
2603
2640
|
* @summary Duplicate products.
|
|
@@ -2697,6 +2734,14 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
|
2697
2734
|
* @throws {RequiredError}
|
|
2698
2735
|
*/
|
|
2699
2736
|
deleteProduct(requestParameters: ProductsApiDeleteProductRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2737
|
+
/**
|
|
2738
|
+
* Deletes catalog products for the given project.
|
|
2739
|
+
* @summary Delete products
|
|
2740
|
+
* @param {ProductsApiDeleteProductsRequest} requestParameters Request parameters.
|
|
2741
|
+
* @param {*} [options] Override http request option.
|
|
2742
|
+
* @throws {RequiredError}
|
|
2743
|
+
*/
|
|
2744
|
+
deleteProducts(requestParameters: ProductsApiDeleteProductsRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2700
2745
|
/**
|
|
2701
2746
|
* Duplicate products by a set of given IDs to a set of given project IDs.
|
|
2702
2747
|
* @summary Duplicate products.
|
|
@@ -2800,6 +2845,25 @@ export interface ProductsApiDeleteProductRequest {
|
|
|
2800
2845
|
*/
|
|
2801
2846
|
readonly productId: string;
|
|
2802
2847
|
}
|
|
2848
|
+
/**
|
|
2849
|
+
* Request parameters for deleteProducts operation in ProductsApi.
|
|
2850
|
+
* @export
|
|
2851
|
+
* @interface ProductsApiDeleteProductsRequest
|
|
2852
|
+
*/
|
|
2853
|
+
export interface ProductsApiDeleteProductsRequest {
|
|
2854
|
+
/**
|
|
2855
|
+
* What project it is
|
|
2856
|
+
* @type {string}
|
|
2857
|
+
* @memberof ProductsApiDeleteProducts
|
|
2858
|
+
*/
|
|
2859
|
+
readonly project: string;
|
|
2860
|
+
/**
|
|
2861
|
+
* Delete products in bulk.
|
|
2862
|
+
* @type {DeleteProductsRequest}
|
|
2863
|
+
* @memberof ProductsApiDeleteProducts
|
|
2864
|
+
*/
|
|
2865
|
+
readonly deleteProductsRequest: DeleteProductsRequest;
|
|
2866
|
+
}
|
|
2803
2867
|
/**
|
|
2804
2868
|
* Request parameters for duplicateProducts operation in ProductsApi.
|
|
2805
2869
|
* @export
|
|
@@ -3007,6 +3071,15 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
3007
3071
|
* @memberof ProductsApi
|
|
3008
3072
|
*/
|
|
3009
3073
|
deleteProduct(requestParameters: ProductsApiDeleteProductRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
3074
|
+
/**
|
|
3075
|
+
* Deletes catalog products for the given project.
|
|
3076
|
+
* @summary Delete products
|
|
3077
|
+
* @param {ProductsApiDeleteProductsRequest} requestParameters Request parameters.
|
|
3078
|
+
* @param {*} [options] Override http request option.
|
|
3079
|
+
* @throws {RequiredError}
|
|
3080
|
+
* @memberof ProductsApi
|
|
3081
|
+
*/
|
|
3082
|
+
deleteProducts(requestParameters: ProductsApiDeleteProductsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
3010
3083
|
/**
|
|
3011
3084
|
* Duplicate products by a set of given IDs to a set of given project IDs.
|
|
3012
3085
|
* @summary Duplicate products.
|
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.50.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -602,6 +602,47 @@ export const ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
602
602
|
options: localVarRequestOptions,
|
|
603
603
|
};
|
|
604
604
|
}),
|
|
605
|
+
/**
|
|
606
|
+
* Deletes catalog products for the given project.
|
|
607
|
+
* @summary Delete products
|
|
608
|
+
* @param {string} project What project it is
|
|
609
|
+
* @param {DeleteProductsRequest} deleteProductsRequest Delete products in bulk.
|
|
610
|
+
* @param {*} [options] Override http request option.
|
|
611
|
+
* @throws {RequiredError}
|
|
612
|
+
*/
|
|
613
|
+
deleteProducts: (project_1, deleteProductsRequest_1, ...args_1) => __awaiter(this, [project_1, deleteProductsRequest_1, ...args_1], void 0, function* (project, deleteProductsRequest, options = {}) {
|
|
614
|
+
// verify required parameter 'project' is not null or undefined
|
|
615
|
+
assertParamExists('deleteProducts', 'project', project);
|
|
616
|
+
// verify required parameter 'deleteProductsRequest' is not null or undefined
|
|
617
|
+
assertParamExists('deleteProducts', 'deleteProductsRequest', deleteProductsRequest);
|
|
618
|
+
const localVarPath = `/v1/catalog/products`;
|
|
619
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
620
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
621
|
+
let baseOptions;
|
|
622
|
+
if (configuration) {
|
|
623
|
+
baseOptions = configuration.baseOptions;
|
|
624
|
+
}
|
|
625
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
626
|
+
const localVarHeaderParameter = {};
|
|
627
|
+
const localVarQueryParameter = {};
|
|
628
|
+
// authentication session-oauth required
|
|
629
|
+
// oauth required
|
|
630
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
631
|
+
// authentication api-key required
|
|
632
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
633
|
+
if (project !== undefined) {
|
|
634
|
+
localVarQueryParameter['project'] = project;
|
|
635
|
+
}
|
|
636
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
637
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
638
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
639
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
640
|
+
localVarRequestOptions.data = serializeDataIfNeeded(deleteProductsRequest, localVarRequestOptions, configuration);
|
|
641
|
+
return {
|
|
642
|
+
url: toPathString(localVarUrlObj),
|
|
643
|
+
options: localVarRequestOptions,
|
|
644
|
+
};
|
|
645
|
+
}),
|
|
605
646
|
/**
|
|
606
647
|
* Duplicate products by a set of given IDs to a set of given project IDs.
|
|
607
648
|
* @summary Duplicate products.
|
|
@@ -982,6 +1023,23 @@ export const ProductsApiFp = function (configuration) {
|
|
|
982
1023
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
983
1024
|
});
|
|
984
1025
|
},
|
|
1026
|
+
/**
|
|
1027
|
+
* Deletes catalog products for the given project.
|
|
1028
|
+
* @summary Delete products
|
|
1029
|
+
* @param {string} project What project it is
|
|
1030
|
+
* @param {DeleteProductsRequest} deleteProductsRequest Delete products in bulk.
|
|
1031
|
+
* @param {*} [options] Override http request option.
|
|
1032
|
+
* @throws {RequiredError}
|
|
1033
|
+
*/
|
|
1034
|
+
deleteProducts(project, deleteProductsRequest, options) {
|
|
1035
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1036
|
+
var _a, _b, _c;
|
|
1037
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteProducts(project, deleteProductsRequest, options);
|
|
1038
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1039
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProductsApi.deleteProducts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1040
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1041
|
+
});
|
|
1042
|
+
},
|
|
985
1043
|
/**
|
|
986
1044
|
* Duplicate products by a set of given IDs to a set of given project IDs.
|
|
987
1045
|
* @summary Duplicate products.
|
|
@@ -1152,6 +1210,16 @@ export const ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
1152
1210
|
deleteProduct(requestParameters, options) {
|
|
1153
1211
|
return localVarFp.deleteProduct(requestParameters.project, requestParameters.productId, options).then((request) => request(axios, basePath));
|
|
1154
1212
|
},
|
|
1213
|
+
/**
|
|
1214
|
+
* Deletes catalog products for the given project.
|
|
1215
|
+
* @summary Delete products
|
|
1216
|
+
* @param {ProductsApiDeleteProductsRequest} requestParameters Request parameters.
|
|
1217
|
+
* @param {*} [options] Override http request option.
|
|
1218
|
+
* @throws {RequiredError}
|
|
1219
|
+
*/
|
|
1220
|
+
deleteProducts(requestParameters, options) {
|
|
1221
|
+
return localVarFp.deleteProducts(requestParameters.project, requestParameters.deleteProductsRequest, options).then((request) => request(axios, basePath));
|
|
1222
|
+
},
|
|
1155
1223
|
/**
|
|
1156
1224
|
* Duplicate products by a set of given IDs to a set of given project IDs.
|
|
1157
1225
|
* @summary Duplicate products.
|
|
@@ -1263,6 +1331,17 @@ export class ProductsApi extends BaseAPI {
|
|
|
1263
1331
|
deleteProduct(requestParameters, options) {
|
|
1264
1332
|
return ProductsApiFp(this.configuration).deleteProduct(requestParameters.project, requestParameters.productId, options).then((request) => request(this.axios, this.basePath));
|
|
1265
1333
|
}
|
|
1334
|
+
/**
|
|
1335
|
+
* Deletes catalog products for the given project.
|
|
1336
|
+
* @summary Delete products
|
|
1337
|
+
* @param {ProductsApiDeleteProductsRequest} requestParameters Request parameters.
|
|
1338
|
+
* @param {*} [options] Override http request option.
|
|
1339
|
+
* @throws {RequiredError}
|
|
1340
|
+
* @memberof ProductsApi
|
|
1341
|
+
*/
|
|
1342
|
+
deleteProducts(requestParameters, options) {
|
|
1343
|
+
return ProductsApiFp(this.configuration).deleteProducts(requestParameters.project, requestParameters.deleteProductsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1344
|
+
}
|
|
1266
1345
|
/**
|
|
1267
1346
|
* Duplicate products by a set of given IDs to a set of given project IDs.
|
|
1268
1347
|
* @summary Duplicate products.
|
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.50.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.50.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.50.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.50.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.50.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.50.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.50.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.50.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.50.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.50.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)
|