@teemill/product-catalog 1.68.1 → 1.69.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 +2 -2
- package/api.ts +23 -5
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +22 -4
- package/dist/api.js +4 -4
- 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 +22 -4
- package/dist/esm/api.js +4 -4
- 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/Product.md +2 -0
- package/docs/ProductsApi.md +3 -3
- package/docs/UpdateProductRequest.md +2 -0
- package/docs/UpdateProductsRequestProductsInner.md +2 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/product-catalog@1.
|
|
1
|
+
## @teemill/product-catalog@1.69.0
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @teemill/product-catalog@1.
|
|
39
|
+
npm install @teemill/product-catalog@1.69.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Product Catalog API
|
|
5
5
|
* Manage 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.69.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1651,6 +1651,12 @@ export interface Product {
|
|
|
1651
1651
|
* @memberof Product
|
|
1652
1652
|
*/
|
|
1653
1653
|
'slug'?: string;
|
|
1654
|
+
/**
|
|
1655
|
+
*
|
|
1656
|
+
* @type {string}
|
|
1657
|
+
* @memberof Product
|
|
1658
|
+
*/
|
|
1659
|
+
'brand'?: string;
|
|
1654
1660
|
/**
|
|
1655
1661
|
*
|
|
1656
1662
|
* @type {boolean}
|
|
@@ -2326,6 +2332,12 @@ export interface UpdateProductRequest {
|
|
|
2326
2332
|
* @memberof UpdateProductRequest
|
|
2327
2333
|
*/
|
|
2328
2334
|
'slug'?: string;
|
|
2335
|
+
/**
|
|
2336
|
+
* The brand of the product.
|
|
2337
|
+
* @type {string}
|
|
2338
|
+
* @memberof UpdateProductRequest
|
|
2339
|
+
*/
|
|
2340
|
+
'brand'?: string | null;
|
|
2329
2341
|
/**
|
|
2330
2342
|
*
|
|
2331
2343
|
* @type {UpdateProductsRequestProductsInnerSeoMetadata}
|
|
@@ -2497,6 +2509,12 @@ export interface UpdateProductsRequestProductsInner {
|
|
|
2497
2509
|
* @memberof UpdateProductsRequestProductsInner
|
|
2498
2510
|
*/
|
|
2499
2511
|
'enabled'?: boolean;
|
|
2512
|
+
/**
|
|
2513
|
+
* The brand of the product.
|
|
2514
|
+
* @type {string}
|
|
2515
|
+
* @memberof UpdateProductsRequestProductsInner
|
|
2516
|
+
*/
|
|
2517
|
+
'brand'?: string | null;
|
|
2500
2518
|
/**
|
|
2501
2519
|
*
|
|
2502
2520
|
* @type {UpdateProductsRequestProductsInnerSeoMetadata}
|
|
@@ -4631,7 +4649,7 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
4631
4649
|
* Initiates a product import from a CSV file. The result will be available as a notification within the dashboard.
|
|
4632
4650
|
* @summary Import products
|
|
4633
4651
|
* @param {string} project What project it is
|
|
4634
|
-
* @param {string} [body] A data URL of a CSV file containing data for one or more products.
|
|
4652
|
+
* @param {string} [body] A base64 data URL of a CSV file containing data for one or more products.
|
|
4635
4653
|
* @param {*} [options] Override http request option.
|
|
4636
4654
|
* @throws {RequiredError}
|
|
4637
4655
|
*/
|
|
@@ -4663,7 +4681,7 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
4663
4681
|
|
|
4664
4682
|
|
|
4665
4683
|
|
|
4666
|
-
localVarHeaderParameter['Content-Type'] = 'text/
|
|
4684
|
+
localVarHeaderParameter['Content-Type'] = 'text/plain; charset=utf-8';
|
|
4667
4685
|
|
|
4668
4686
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4669
4687
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -5011,7 +5029,7 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
5011
5029
|
* Initiates a product import from a CSV file. The result will be available as a notification within the dashboard.
|
|
5012
5030
|
* @summary Import products
|
|
5013
5031
|
* @param {string} project What project it is
|
|
5014
|
-
* @param {string} [body] A data URL of a CSV file containing data for one or more products.
|
|
5032
|
+
* @param {string} [body] A base64 data URL of a CSV file containing data for one or more products.
|
|
5015
5033
|
* @param {*} [options] Override http request option.
|
|
5016
5034
|
* @throws {RequiredError}
|
|
5017
5035
|
*/
|
|
@@ -5348,7 +5366,7 @@ export interface ProductsApiImportProductsRequest {
|
|
|
5348
5366
|
readonly project: string
|
|
5349
5367
|
|
|
5350
5368
|
/**
|
|
5351
|
-
* A data URL of a CSV file containing data for one or more products.
|
|
5369
|
+
* A base64 data URL of a CSV file containing data for one or more products.
|
|
5352
5370
|
* @type {string}
|
|
5353
5371
|
* @memberof ProductsApiImportProducts
|
|
5354
5372
|
*/
|
package/base.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Product Catalog API
|
|
5
5
|
* Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.69.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/common.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Product Catalog API
|
|
5
5
|
* Manage 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.69.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/configuration.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Product Catalog API
|
|
5
5
|
* Manage 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.69.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Product Catalog API
|
|
3
3
|
* Manage 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.69.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1614,6 +1614,12 @@ export interface Product {
|
|
|
1614
1614
|
* @memberof Product
|
|
1615
1615
|
*/
|
|
1616
1616
|
'slug'?: string;
|
|
1617
|
+
/**
|
|
1618
|
+
*
|
|
1619
|
+
* @type {string}
|
|
1620
|
+
* @memberof Product
|
|
1621
|
+
*/
|
|
1622
|
+
'brand'?: string;
|
|
1617
1623
|
/**
|
|
1618
1624
|
*
|
|
1619
1625
|
* @type {boolean}
|
|
@@ -2279,6 +2285,12 @@ export interface UpdateProductRequest {
|
|
|
2279
2285
|
* @memberof UpdateProductRequest
|
|
2280
2286
|
*/
|
|
2281
2287
|
'slug'?: string;
|
|
2288
|
+
/**
|
|
2289
|
+
* The brand of the product.
|
|
2290
|
+
* @type {string}
|
|
2291
|
+
* @memberof UpdateProductRequest
|
|
2292
|
+
*/
|
|
2293
|
+
'brand'?: string | null;
|
|
2282
2294
|
/**
|
|
2283
2295
|
*
|
|
2284
2296
|
* @type {UpdateProductsRequestProductsInnerSeoMetadata}
|
|
@@ -2450,6 +2462,12 @@ export interface UpdateProductsRequestProductsInner {
|
|
|
2450
2462
|
* @memberof UpdateProductsRequestProductsInner
|
|
2451
2463
|
*/
|
|
2452
2464
|
'enabled'?: boolean;
|
|
2465
|
+
/**
|
|
2466
|
+
* The brand of the product.
|
|
2467
|
+
* @type {string}
|
|
2468
|
+
* @memberof UpdateProductsRequestProductsInner
|
|
2469
|
+
*/
|
|
2470
|
+
'brand'?: string | null;
|
|
2453
2471
|
/**
|
|
2454
2472
|
*
|
|
2455
2473
|
* @type {UpdateProductsRequestProductsInnerSeoMetadata}
|
|
@@ -3710,7 +3728,7 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
3710
3728
|
* Initiates a product import from a CSV file. The result will be available as a notification within the dashboard.
|
|
3711
3729
|
* @summary Import products
|
|
3712
3730
|
* @param {string} project What project it is
|
|
3713
|
-
* @param {string} [body] A data URL of a CSV file containing data for one or more products.
|
|
3731
|
+
* @param {string} [body] A base64 data URL of a CSV file containing data for one or more products.
|
|
3714
3732
|
* @param {*} [options] Override http request option.
|
|
3715
3733
|
* @throws {RequiredError}
|
|
3716
3734
|
*/
|
|
@@ -3823,7 +3841,7 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
3823
3841
|
* Initiates a product import from a CSV file. The result will be available as a notification within the dashboard.
|
|
3824
3842
|
* @summary Import products
|
|
3825
3843
|
* @param {string} project What project it is
|
|
3826
|
-
* @param {string} [body] A data URL of a CSV file containing data for one or more products.
|
|
3844
|
+
* @param {string} [body] A base64 data URL of a CSV file containing data for one or more products.
|
|
3827
3845
|
* @param {*} [options] Override http request option.
|
|
3828
3846
|
* @throws {RequiredError}
|
|
3829
3847
|
*/
|
|
@@ -4094,7 +4112,7 @@ export interface ProductsApiImportProductsRequest {
|
|
|
4094
4112
|
*/
|
|
4095
4113
|
readonly project: string;
|
|
4096
4114
|
/**
|
|
4097
|
-
* A data URL of a CSV file containing data for one or more products.
|
|
4115
|
+
* A base64 data URL of a CSV file containing data for one or more products.
|
|
4098
4116
|
* @type {string}
|
|
4099
4117
|
* @memberof ProductsApiImportProducts
|
|
4100
4118
|
*/
|
package/dist/api.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.69.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1373,7 +1373,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
1373
1373
|
* Initiates a product import from a CSV file. The result will be available as a notification within the dashboard.
|
|
1374
1374
|
* @summary Import products
|
|
1375
1375
|
* @param {string} project What project it is
|
|
1376
|
-
* @param {string} [body] A data URL of a CSV file containing data for one or more products.
|
|
1376
|
+
* @param {string} [body] A base64 data URL of a CSV file containing data for one or more products.
|
|
1377
1377
|
* @param {*} [options] Override http request option.
|
|
1378
1378
|
* @throws {RequiredError}
|
|
1379
1379
|
*/
|
|
@@ -1398,7 +1398,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
1398
1398
|
if (project !== undefined) {
|
|
1399
1399
|
localVarQueryParameter['project'] = project;
|
|
1400
1400
|
}
|
|
1401
|
-
localVarHeaderParameter['Content-Type'] = 'text/
|
|
1401
|
+
localVarHeaderParameter['Content-Type'] = 'text/plain; charset=utf-8';
|
|
1402
1402
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1403
1403
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1404
1404
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1719,7 +1719,7 @@ const ProductsApiFp = function (configuration) {
|
|
|
1719
1719
|
* Initiates a product import from a CSV file. The result will be available as a notification within the dashboard.
|
|
1720
1720
|
* @summary Import products
|
|
1721
1721
|
* @param {string} project What project it is
|
|
1722
|
-
* @param {string} [body] A data URL of a CSV file containing data for one or more products.
|
|
1722
|
+
* @param {string} [body] A base64 data URL of a CSV file containing data for one or more products.
|
|
1723
1723
|
* @param {*} [options] Override http request option.
|
|
1724
1724
|
* @throws {RequiredError}
|
|
1725
1725
|
*/
|
package/dist/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.69.0
|
|
6
6
|
*
|
|
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 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.69.0
|
|
9
9
|
*
|
|
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 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.69.0
|
|
6
6
|
*
|
|
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 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.69.0
|
|
9
9
|
*
|
|
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 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.69.0
|
|
6
6
|
*
|
|
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 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.69.0
|
|
9
9
|
*
|
|
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 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.69.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1614,6 +1614,12 @@ export interface Product {
|
|
|
1614
1614
|
* @memberof Product
|
|
1615
1615
|
*/
|
|
1616
1616
|
'slug'?: string;
|
|
1617
|
+
/**
|
|
1618
|
+
*
|
|
1619
|
+
* @type {string}
|
|
1620
|
+
* @memberof Product
|
|
1621
|
+
*/
|
|
1622
|
+
'brand'?: string;
|
|
1617
1623
|
/**
|
|
1618
1624
|
*
|
|
1619
1625
|
* @type {boolean}
|
|
@@ -2279,6 +2285,12 @@ export interface UpdateProductRequest {
|
|
|
2279
2285
|
* @memberof UpdateProductRequest
|
|
2280
2286
|
*/
|
|
2281
2287
|
'slug'?: string;
|
|
2288
|
+
/**
|
|
2289
|
+
* The brand of the product.
|
|
2290
|
+
* @type {string}
|
|
2291
|
+
* @memberof UpdateProductRequest
|
|
2292
|
+
*/
|
|
2293
|
+
'brand'?: string | null;
|
|
2282
2294
|
/**
|
|
2283
2295
|
*
|
|
2284
2296
|
* @type {UpdateProductsRequestProductsInnerSeoMetadata}
|
|
@@ -2450,6 +2462,12 @@ export interface UpdateProductsRequestProductsInner {
|
|
|
2450
2462
|
* @memberof UpdateProductsRequestProductsInner
|
|
2451
2463
|
*/
|
|
2452
2464
|
'enabled'?: boolean;
|
|
2465
|
+
/**
|
|
2466
|
+
* The brand of the product.
|
|
2467
|
+
* @type {string}
|
|
2468
|
+
* @memberof UpdateProductsRequestProductsInner
|
|
2469
|
+
*/
|
|
2470
|
+
'brand'?: string | null;
|
|
2453
2471
|
/**
|
|
2454
2472
|
*
|
|
2455
2473
|
* @type {UpdateProductsRequestProductsInnerSeoMetadata}
|
|
@@ -3710,7 +3728,7 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
3710
3728
|
* Initiates a product import from a CSV file. The result will be available as a notification within the dashboard.
|
|
3711
3729
|
* @summary Import products
|
|
3712
3730
|
* @param {string} project What project it is
|
|
3713
|
-
* @param {string} [body] A data URL of a CSV file containing data for one or more products.
|
|
3731
|
+
* @param {string} [body] A base64 data URL of a CSV file containing data for one or more products.
|
|
3714
3732
|
* @param {*} [options] Override http request option.
|
|
3715
3733
|
* @throws {RequiredError}
|
|
3716
3734
|
*/
|
|
@@ -3823,7 +3841,7 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
3823
3841
|
* Initiates a product import from a CSV file. The result will be available as a notification within the dashboard.
|
|
3824
3842
|
* @summary Import products
|
|
3825
3843
|
* @param {string} project What project it is
|
|
3826
|
-
* @param {string} [body] A data URL of a CSV file containing data for one or more products.
|
|
3844
|
+
* @param {string} [body] A base64 data URL of a CSV file containing data for one or more products.
|
|
3827
3845
|
* @param {*} [options] Override http request option.
|
|
3828
3846
|
* @throws {RequiredError}
|
|
3829
3847
|
*/
|
|
@@ -4094,7 +4112,7 @@ export interface ProductsApiImportProductsRequest {
|
|
|
4094
4112
|
*/
|
|
4095
4113
|
readonly project: string;
|
|
4096
4114
|
/**
|
|
4097
|
-
* A data URL of a CSV file containing data for one or more products.
|
|
4115
|
+
* A base64 data URL of a CSV file containing data for one or more products.
|
|
4098
4116
|
* @type {string}
|
|
4099
4117
|
* @memberof ProductsApiImportProducts
|
|
4100
4118
|
*/
|
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.69.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1358,7 +1358,7 @@ export const ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
1358
1358
|
* Initiates a product import from a CSV file. The result will be available as a notification within the dashboard.
|
|
1359
1359
|
* @summary Import products
|
|
1360
1360
|
* @param {string} project What project it is
|
|
1361
|
-
* @param {string} [body] A data URL of a CSV file containing data for one or more products.
|
|
1361
|
+
* @param {string} [body] A base64 data URL of a CSV file containing data for one or more products.
|
|
1362
1362
|
* @param {*} [options] Override http request option.
|
|
1363
1363
|
* @throws {RequiredError}
|
|
1364
1364
|
*/
|
|
@@ -1383,7 +1383,7 @@ export const ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
1383
1383
|
if (project !== undefined) {
|
|
1384
1384
|
localVarQueryParameter['project'] = project;
|
|
1385
1385
|
}
|
|
1386
|
-
localVarHeaderParameter['Content-Type'] = 'text/
|
|
1386
|
+
localVarHeaderParameter['Content-Type'] = 'text/plain; charset=utf-8';
|
|
1387
1387
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1388
1388
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1389
1389
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1703,7 +1703,7 @@ export const ProductsApiFp = function (configuration) {
|
|
|
1703
1703
|
* Initiates a product import from a CSV file. The result will be available as a notification within the dashboard.
|
|
1704
1704
|
* @summary Import products
|
|
1705
1705
|
* @param {string} project What project it is
|
|
1706
|
-
* @param {string} [body] A data URL of a CSV file containing data for one or more products.
|
|
1706
|
+
* @param {string} [body] A base64 data URL of a CSV file containing data for one or more products.
|
|
1707
1707
|
* @param {*} [options] Override http request option.
|
|
1708
1708
|
* @throws {RequiredError}
|
|
1709
1709
|
*/
|
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.69.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.69.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.69.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.69.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.69.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.69.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.69.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.69.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.69.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.69.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/docs/Product.md
CHANGED
|
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**title** | **string** | | [default to undefined]
|
|
11
11
|
**description** | **string** | | [default to undefined]
|
|
12
12
|
**slug** | **string** | | [optional] [readonly] [default to undefined]
|
|
13
|
+
**brand** | **string** | | [optional] [default to undefined]
|
|
13
14
|
**enabled** | **boolean** | | [optional] [default to undefined]
|
|
14
15
|
**seoMetadata** | [**SEOMetadata**](SEOMetadata.md) | | [optional] [default to undefined]
|
|
15
16
|
**targetSearchPhraseData** | [**TargetSearchPhraseData**](TargetSearchPhraseData.md) | | [optional] [default to undefined]
|
|
@@ -51,6 +52,7 @@ const instance: Product = {
|
|
|
51
52
|
title,
|
|
52
53
|
description,
|
|
53
54
|
slug,
|
|
55
|
+
brand,
|
|
54
56
|
enabled,
|
|
55
57
|
seoMetadata,
|
|
56
58
|
targetSearchPhraseData,
|
package/docs/ProductsApi.md
CHANGED
|
@@ -390,7 +390,7 @@ const configuration = new Configuration();
|
|
|
390
390
|
const apiInstance = new ProductsApi(configuration);
|
|
391
391
|
|
|
392
392
|
let project: string; //What project it is (default to undefined)
|
|
393
|
-
let body: string; //A data URL of a CSV file containing data for one or more products. (optional)
|
|
393
|
+
let body: string; //A base64 data URL of a CSV file containing data for one or more products. (optional)
|
|
394
394
|
|
|
395
395
|
const { status, data } = await apiInstance.importProducts(
|
|
396
396
|
project,
|
|
@@ -402,7 +402,7 @@ const { status, data } = await apiInstance.importProducts(
|
|
|
402
402
|
|
|
403
403
|
|Name | Type | Description | Notes|
|
|
404
404
|
|------------- | ------------- | ------------- | -------------|
|
|
405
|
-
| **body** | **string**| A data URL of a CSV file containing data for one or more products. | |
|
|
405
|
+
| **body** | **string**| A base64 data URL of a CSV file containing data for one or more products. | |
|
|
406
406
|
| **project** | [**string**] | What project it is | defaults to undefined|
|
|
407
407
|
|
|
408
408
|
|
|
@@ -416,7 +416,7 @@ const { status, data } = await apiInstance.importProducts(
|
|
|
416
416
|
|
|
417
417
|
### HTTP request headers
|
|
418
418
|
|
|
419
|
-
- **Content-Type**: text/
|
|
419
|
+
- **Content-Type**: text/plain; charset=utf-8
|
|
420
420
|
- **Accept**: application/json
|
|
421
421
|
|
|
422
422
|
|
|
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**description** | **string** | Product description | [optional] [default to undefined]
|
|
11
11
|
**enabled** | **boolean** | Whether the product is enabled upon creation. | [optional] [default to undefined]
|
|
12
12
|
**slug** | **string** | A custom URL slug for the product. This must be unique for each product on the project. | [optional] [default to undefined]
|
|
13
|
+
**brand** | **string** | The brand of the product. | [optional] [default to undefined]
|
|
13
14
|
**seoMetadata** | [**UpdateProductsRequestProductsInnerSeoMetadata**](UpdateProductsRequestProductsInnerSeoMetadata.md) | | [optional] [default to undefined]
|
|
14
15
|
**targetSearchPhrase** | **string** | The primary target search phrase for the product that you wish to rank for in search engine results. **Note:** This field requires the website integration | [optional] [default to undefined]
|
|
15
16
|
**targetSearchPhraseSynonyms** | **Array<string>** | Synonyms for the target search phrase. **Note:** This field requires the website integration | [optional] [default to undefined]
|
|
@@ -40,6 +41,7 @@ const instance: UpdateProductRequest = {
|
|
|
40
41
|
description,
|
|
41
42
|
enabled,
|
|
42
43
|
slug,
|
|
44
|
+
brand,
|
|
43
45
|
seoMetadata,
|
|
44
46
|
targetSearchPhrase,
|
|
45
47
|
targetSearchPhraseSynonyms,
|
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**title** | **string** | Product title | [optional] [default to undefined]
|
|
10
10
|
**description** | **string** | Product description | [optional] [default to undefined]
|
|
11
11
|
**enabled** | **boolean** | Whether the product is enabled. | [optional] [default to undefined]
|
|
12
|
+
**brand** | **string** | The brand of the product. | [optional] [default to undefined]
|
|
12
13
|
**seoMetadata** | [**UpdateProductsRequestProductsInnerSeoMetadata**](UpdateProductsRequestProductsInnerSeoMetadata.md) | | [optional] [default to undefined]
|
|
13
14
|
**targetSearchPhrase** | **string** | The primary target search phrase for the product that you wish to rank for in search engine results. **Note:** This field requires the website integration | [optional] [default to undefined]
|
|
14
15
|
**targetSearchPhraseSynonyms** | **Array<string>** | Synonyms for the target search phrase. **Note:** This field requires the website integration | [optional] [default to undefined]
|
|
@@ -28,6 +29,7 @@ const instance: UpdateProductsRequestProductsInner = {
|
|
|
28
29
|
title,
|
|
29
30
|
description,
|
|
30
31
|
enabled,
|
|
32
|
+
brand,
|
|
31
33
|
seoMetadata,
|
|
32
34
|
targetSearchPhrase,
|
|
33
35
|
targetSearchPhraseSynonyms,
|
package/index.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Product Catalog API
|
|
5
5
|
* Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.69.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|