@teemill/product-catalog 1.54.0 → 1.57.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/.openapi-generator/FILES +1 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +3 -2
- package/api.ts +78 -8
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +56 -5
- package/dist/api.js +33 -7
- 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 +56 -5
- package/dist/esm/api.js +32 -6
- 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/ProductsApi.md +9 -0
- package/docs/Variant.md +1 -1
- package/docs/VariantWholesaleCost.md +22 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.11.0
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/product-catalog@1.
|
|
1
|
+
## @teemill/product-catalog@1.57.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.57.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -139,6 +139,7 @@ Class | Method | HTTP request | Description
|
|
|
139
139
|
- [Variant](docs/Variant.md)
|
|
140
140
|
- [VariantIntegrationConnectionsInner](docs/VariantIntegrationConnectionsInner.md)
|
|
141
141
|
- [VariantProduct](docs/VariantProduct.md)
|
|
142
|
+
- [VariantWholesaleCost](docs/VariantWholesaleCost.md)
|
|
142
143
|
- [VariantsResponse](docs/VariantsResponse.md)
|
|
143
144
|
- [Video](docs/Video.md)
|
|
144
145
|
- [VideoFile](docs/VideoFile.md)
|
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.57.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2208,10 +2208,10 @@ export interface Variant {
|
|
|
2208
2208
|
'integrationConnections'?: Array<VariantIntegrationConnectionsInner>;
|
|
2209
2209
|
/**
|
|
2210
2210
|
*
|
|
2211
|
-
* @type {
|
|
2211
|
+
* @type {VariantWholesaleCost}
|
|
2212
2212
|
* @memberof Variant
|
|
2213
2213
|
*/
|
|
2214
|
-
'wholesaleCost'?:
|
|
2214
|
+
'wholesaleCost'?: VariantWholesaleCost;
|
|
2215
2215
|
}
|
|
2216
2216
|
/**
|
|
2217
2217
|
*
|
|
@@ -2251,6 +2251,25 @@ export interface VariantProduct {
|
|
|
2251
2251
|
*/
|
|
2252
2252
|
'ref'?: string;
|
|
2253
2253
|
}
|
|
2254
|
+
/**
|
|
2255
|
+
*
|
|
2256
|
+
* @export
|
|
2257
|
+
* @interface VariantWholesaleCost
|
|
2258
|
+
*/
|
|
2259
|
+
export interface VariantWholesaleCost {
|
|
2260
|
+
/**
|
|
2261
|
+
*
|
|
2262
|
+
* @type {Price}
|
|
2263
|
+
* @memberof VariantWholesaleCost
|
|
2264
|
+
*/
|
|
2265
|
+
'item'?: Price;
|
|
2266
|
+
/**
|
|
2267
|
+
*
|
|
2268
|
+
* @type {Price}
|
|
2269
|
+
* @memberof VariantWholesaleCost
|
|
2270
|
+
*/
|
|
2271
|
+
'fulfillment'?: Price;
|
|
2272
|
+
}
|
|
2254
2273
|
/**
|
|
2255
2274
|
*
|
|
2256
2275
|
* @export
|
|
@@ -3414,12 +3433,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
3414
3433
|
* @param {number} [pageToken] Page reference token
|
|
3415
3434
|
* @param {string} [search] Search query string to filter results. Supports field-specific filters like \'enabled:true\', \'uuid:<id>\', \'name:\"product name\"\', and \'tag:\"tag name\"\'. Multiple filters can be combined with spaces and commas.
|
|
3416
3435
|
* @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
3436
|
+
* @param {string} [start] Start of date range to filter
|
|
3437
|
+
* @param {string} [end] End of date range to filter
|
|
3438
|
+
* @param {ListProductsDateFilterTypeEnum} [dateFilterType] Specifies the type of date range filter to apply. Determines which date field the `start` and `end` fields should query.
|
|
3417
3439
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
3418
3440
|
* @param {string} [fields] Filter response fields to only include a subset of the resource.
|
|
3419
3441
|
* @param {*} [options] Override http request option.
|
|
3420
3442
|
* @throws {RequiredError}
|
|
3421
3443
|
*/
|
|
3422
|
-
listProducts: async (project: string, pageToken?: number, search?: string, sortBy?: Array<string>, pageSize?: number, fields?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3444
|
+
listProducts: async (project: string, pageToken?: number, search?: string, sortBy?: Array<string>, start?: string, end?: string, dateFilterType?: ListProductsDateFilterTypeEnum, pageSize?: number, fields?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3423
3445
|
// verify required parameter 'project' is not null or undefined
|
|
3424
3446
|
assertParamExists('listProducts', 'project', project)
|
|
3425
3447
|
const localVarPath = `/v1/catalog/products`;
|
|
@@ -3457,6 +3479,22 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
3457
3479
|
localVarQueryParameter['sortBy'] = sortBy;
|
|
3458
3480
|
}
|
|
3459
3481
|
|
|
3482
|
+
if (start !== undefined) {
|
|
3483
|
+
localVarQueryParameter['start'] = (start as any instanceof Date) ?
|
|
3484
|
+
(start as any).toISOString() :
|
|
3485
|
+
start;
|
|
3486
|
+
}
|
|
3487
|
+
|
|
3488
|
+
if (end !== undefined) {
|
|
3489
|
+
localVarQueryParameter['end'] = (end as any instanceof Date) ?
|
|
3490
|
+
(end as any).toISOString() :
|
|
3491
|
+
end;
|
|
3492
|
+
}
|
|
3493
|
+
|
|
3494
|
+
if (dateFilterType !== undefined) {
|
|
3495
|
+
localVarQueryParameter['dateFilterType'] = dateFilterType;
|
|
3496
|
+
}
|
|
3497
|
+
|
|
3460
3498
|
if (pageSize !== undefined) {
|
|
3461
3499
|
localVarQueryParameter['pageSize'] = pageSize;
|
|
3462
3500
|
}
|
|
@@ -3741,13 +3779,16 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
3741
3779
|
* @param {number} [pageToken] Page reference token
|
|
3742
3780
|
* @param {string} [search] Search query string to filter results. Supports field-specific filters like \'enabled:true\', \'uuid:<id>\', \'name:\"product name\"\', and \'tag:\"tag name\"\'. Multiple filters can be combined with spaces and commas.
|
|
3743
3781
|
* @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
3782
|
+
* @param {string} [start] Start of date range to filter
|
|
3783
|
+
* @param {string} [end] End of date range to filter
|
|
3784
|
+
* @param {ListProductsDateFilterTypeEnum} [dateFilterType] Specifies the type of date range filter to apply. Determines which date field the `start` and `end` fields should query.
|
|
3744
3785
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
3745
3786
|
* @param {string} [fields] Filter response fields to only include a subset of the resource.
|
|
3746
3787
|
* @param {*} [options] Override http request option.
|
|
3747
3788
|
* @throws {RequiredError}
|
|
3748
3789
|
*/
|
|
3749
|
-
async listProducts(project: string, pageToken?: number, search?: string, sortBy?: Array<string>, pageSize?: number, fields?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductsResponse>> {
|
|
3750
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listProducts(project, pageToken, search, sortBy, pageSize, fields, options);
|
|
3790
|
+
async listProducts(project: string, pageToken?: number, search?: string, sortBy?: Array<string>, start?: string, end?: string, dateFilterType?: ListProductsDateFilterTypeEnum, pageSize?: number, fields?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductsResponse>> {
|
|
3791
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listProducts(project, pageToken, search, sortBy, start, end, dateFilterType, pageSize, fields, options);
|
|
3751
3792
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3752
3793
|
const localVarOperationServerBasePath = operationServerMap['ProductsApi.listProducts']?.[localVarOperationServerIndex]?.url;
|
|
3753
3794
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -3883,7 +3924,7 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
3883
3924
|
* @throws {RequiredError}
|
|
3884
3925
|
*/
|
|
3885
3926
|
listProducts(requestParameters: ProductsApiListProductsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductsResponse> {
|
|
3886
|
-
return localVarFp.listProducts(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.sortBy, requestParameters.pageSize, requestParameters.fields, options).then((request) => request(axios, basePath));
|
|
3927
|
+
return localVarFp.listProducts(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.sortBy, requestParameters.start, requestParameters.end, requestParameters.dateFilterType, requestParameters.pageSize, requestParameters.fields, options).then((request) => request(axios, basePath));
|
|
3887
3928
|
},
|
|
3888
3929
|
/**
|
|
3889
3930
|
* AI SEO optimises products by a set of given IDs.
|
|
@@ -4099,6 +4140,27 @@ export interface ProductsApiListProductsRequest {
|
|
|
4099
4140
|
*/
|
|
4100
4141
|
readonly sortBy?: Array<string>
|
|
4101
4142
|
|
|
4143
|
+
/**
|
|
4144
|
+
* Start of date range to filter
|
|
4145
|
+
* @type {string}
|
|
4146
|
+
* @memberof ProductsApiListProducts
|
|
4147
|
+
*/
|
|
4148
|
+
readonly start?: string
|
|
4149
|
+
|
|
4150
|
+
/**
|
|
4151
|
+
* End of date range to filter
|
|
4152
|
+
* @type {string}
|
|
4153
|
+
* @memberof ProductsApiListProducts
|
|
4154
|
+
*/
|
|
4155
|
+
readonly end?: string
|
|
4156
|
+
|
|
4157
|
+
/**
|
|
4158
|
+
* Specifies the type of date range filter to apply. Determines which date field the `start` and `end` fields should query.
|
|
4159
|
+
* @type {'createdAt' | 'updatedAt'}
|
|
4160
|
+
* @memberof ProductsApiListProducts
|
|
4161
|
+
*/
|
|
4162
|
+
readonly dateFilterType?: ListProductsDateFilterTypeEnum
|
|
4163
|
+
|
|
4102
4164
|
/**
|
|
4103
4165
|
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
4104
4166
|
* @type {number}
|
|
@@ -4284,7 +4346,7 @@ export class ProductsApi extends BaseAPI {
|
|
|
4284
4346
|
* @memberof ProductsApi
|
|
4285
4347
|
*/
|
|
4286
4348
|
public listProducts(requestParameters: ProductsApiListProductsRequest, options?: RawAxiosRequestConfig) {
|
|
4287
|
-
return ProductsApiFp(this.configuration).listProducts(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.sortBy, requestParameters.pageSize, requestParameters.fields, options).then((request) => request(this.axios, this.basePath));
|
|
4349
|
+
return ProductsApiFp(this.configuration).listProducts(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.sortBy, requestParameters.start, requestParameters.end, requestParameters.dateFilterType, requestParameters.pageSize, requestParameters.fields, options).then((request) => request(this.axios, this.basePath));
|
|
4288
4350
|
}
|
|
4289
4351
|
|
|
4290
4352
|
/**
|
|
@@ -4324,6 +4386,14 @@ export class ProductsApi extends BaseAPI {
|
|
|
4324
4386
|
}
|
|
4325
4387
|
}
|
|
4326
4388
|
|
|
4389
|
+
/**
|
|
4390
|
+
* @export
|
|
4391
|
+
*/
|
|
4392
|
+
export const ListProductsDateFilterTypeEnum = {
|
|
4393
|
+
CreatedAt: 'createdAt',
|
|
4394
|
+
UpdatedAt: 'updatedAt'
|
|
4395
|
+
} as const;
|
|
4396
|
+
export type ListProductsDateFilterTypeEnum = typeof ListProductsDateFilterTypeEnum[keyof typeof ListProductsDateFilterTypeEnum];
|
|
4327
4397
|
|
|
4328
4398
|
|
|
4329
4399
|
/**
|
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.57.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.57.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.57.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.57.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2171,10 +2171,10 @@ export interface Variant {
|
|
|
2171
2171
|
'integrationConnections'?: Array<VariantIntegrationConnectionsInner>;
|
|
2172
2172
|
/**
|
|
2173
2173
|
*
|
|
2174
|
-
* @type {
|
|
2174
|
+
* @type {VariantWholesaleCost}
|
|
2175
2175
|
* @memberof Variant
|
|
2176
2176
|
*/
|
|
2177
|
-
'wholesaleCost'?:
|
|
2177
|
+
'wholesaleCost'?: VariantWholesaleCost;
|
|
2178
2178
|
}
|
|
2179
2179
|
/**
|
|
2180
2180
|
*
|
|
@@ -2214,6 +2214,25 @@ export interface VariantProduct {
|
|
|
2214
2214
|
*/
|
|
2215
2215
|
'ref'?: string;
|
|
2216
2216
|
}
|
|
2217
|
+
/**
|
|
2218
|
+
*
|
|
2219
|
+
* @export
|
|
2220
|
+
* @interface VariantWholesaleCost
|
|
2221
|
+
*/
|
|
2222
|
+
export interface VariantWholesaleCost {
|
|
2223
|
+
/**
|
|
2224
|
+
*
|
|
2225
|
+
* @type {Price}
|
|
2226
|
+
* @memberof VariantWholesaleCost
|
|
2227
|
+
*/
|
|
2228
|
+
'item'?: Price;
|
|
2229
|
+
/**
|
|
2230
|
+
*
|
|
2231
|
+
* @type {Price}
|
|
2232
|
+
* @memberof VariantWholesaleCost
|
|
2233
|
+
*/
|
|
2234
|
+
'fulfillment'?: Price;
|
|
2235
|
+
}
|
|
2217
2236
|
/**
|
|
2218
2237
|
*
|
|
2219
2238
|
* @export
|
|
@@ -2756,12 +2775,15 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
2756
2775
|
* @param {number} [pageToken] Page reference token
|
|
2757
2776
|
* @param {string} [search] Search query string to filter results. Supports field-specific filters like \'enabled:true\', \'uuid:<id>\', \'name:\"product name\"\', and \'tag:\"tag name\"\'. Multiple filters can be combined with spaces and commas.
|
|
2758
2777
|
* @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
2778
|
+
* @param {string} [start] Start of date range to filter
|
|
2779
|
+
* @param {string} [end] End of date range to filter
|
|
2780
|
+
* @param {ListProductsDateFilterTypeEnum} [dateFilterType] Specifies the type of date range filter to apply. Determines which date field the `start` and `end` fields should query.
|
|
2759
2781
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
2760
2782
|
* @param {string} [fields] Filter response fields to only include a subset of the resource.
|
|
2761
2783
|
* @param {*} [options] Override http request option.
|
|
2762
2784
|
* @throws {RequiredError}
|
|
2763
2785
|
*/
|
|
2764
|
-
listProducts: (project: string, pageToken?: number, search?: string, sortBy?: Array<string>, pageSize?: number, fields?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2786
|
+
listProducts: (project: string, pageToken?: number, search?: string, sortBy?: Array<string>, start?: string, end?: string, dateFilterType?: ListProductsDateFilterTypeEnum, pageSize?: number, fields?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2765
2787
|
/**
|
|
2766
2788
|
* AI SEO optimises products by a set of given IDs.
|
|
2767
2789
|
* @summary AI SEO optimise products.
|
|
@@ -2866,12 +2888,15 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
2866
2888
|
* @param {number} [pageToken] Page reference token
|
|
2867
2889
|
* @param {string} [search] Search query string to filter results. Supports field-specific filters like \'enabled:true\', \'uuid:<id>\', \'name:\"product name\"\', and \'tag:\"tag name\"\'. Multiple filters can be combined with spaces and commas.
|
|
2868
2890
|
* @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
2891
|
+
* @param {string} [start] Start of date range to filter
|
|
2892
|
+
* @param {string} [end] End of date range to filter
|
|
2893
|
+
* @param {ListProductsDateFilterTypeEnum} [dateFilterType] Specifies the type of date range filter to apply. Determines which date field the `start` and `end` fields should query.
|
|
2869
2894
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
2870
2895
|
* @param {string} [fields] Filter response fields to only include a subset of the resource.
|
|
2871
2896
|
* @param {*} [options] Override http request option.
|
|
2872
2897
|
* @throws {RequiredError}
|
|
2873
2898
|
*/
|
|
2874
|
-
listProducts(project: string, pageToken?: number, search?: string, sortBy?: Array<string>, pageSize?: number, fields?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductsResponse>>;
|
|
2899
|
+
listProducts(project: string, pageToken?: number, search?: string, sortBy?: Array<string>, start?: string, end?: string, dateFilterType?: ListProductsDateFilterTypeEnum, pageSize?: number, fields?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductsResponse>>;
|
|
2875
2900
|
/**
|
|
2876
2901
|
* AI SEO optimises products by a set of given IDs.
|
|
2877
2902
|
* @summary AI SEO optimise products.
|
|
@@ -3158,6 +3183,24 @@ export interface ProductsApiListProductsRequest {
|
|
|
3158
3183
|
* @memberof ProductsApiListProducts
|
|
3159
3184
|
*/
|
|
3160
3185
|
readonly sortBy?: Array<string>;
|
|
3186
|
+
/**
|
|
3187
|
+
* Start of date range to filter
|
|
3188
|
+
* @type {string}
|
|
3189
|
+
* @memberof ProductsApiListProducts
|
|
3190
|
+
*/
|
|
3191
|
+
readonly start?: string;
|
|
3192
|
+
/**
|
|
3193
|
+
* End of date range to filter
|
|
3194
|
+
* @type {string}
|
|
3195
|
+
* @memberof ProductsApiListProducts
|
|
3196
|
+
*/
|
|
3197
|
+
readonly end?: string;
|
|
3198
|
+
/**
|
|
3199
|
+
* Specifies the type of date range filter to apply. Determines which date field the `start` and `end` fields should query.
|
|
3200
|
+
* @type {'createdAt' | 'updatedAt'}
|
|
3201
|
+
* @memberof ProductsApiListProducts
|
|
3202
|
+
*/
|
|
3203
|
+
readonly dateFilterType?: ListProductsDateFilterTypeEnum;
|
|
3161
3204
|
/**
|
|
3162
3205
|
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
3163
3206
|
* @type {number}
|
|
@@ -3341,6 +3384,14 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
3341
3384
|
*/
|
|
3342
3385
|
updateProducts(requestParameters: ProductsApiUpdateProductsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductsResponse, any>>;
|
|
3343
3386
|
}
|
|
3387
|
+
/**
|
|
3388
|
+
* @export
|
|
3389
|
+
*/
|
|
3390
|
+
export declare const ListProductsDateFilterTypeEnum: {
|
|
3391
|
+
readonly CreatedAt: "createdAt";
|
|
3392
|
+
readonly UpdatedAt: "updatedAt";
|
|
3393
|
+
};
|
|
3394
|
+
export type ListProductsDateFilterTypeEnum = typeof ListProductsDateFilterTypeEnum[keyof typeof ListProductsDateFilterTypeEnum];
|
|
3344
3395
|
/**
|
|
3345
3396
|
* VariantsApi - axios parameter creator
|
|
3346
3397
|
* @export
|
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.57.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.VariantsApi = exports.VariantsApiFactory = exports.VariantsApiFp = exports.VariantsApiAxiosParamCreator = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.ApplicationTechnologiesApi = exports.ApplicationTechnologiesApiFactory = exports.ApplicationTechnologiesApiFp = exports.ApplicationTechnologiesApiAxiosParamCreator = exports.ApplicationSetsApi = exports.ApplicationSetsApiFactory = exports.ApplicationSetsApiFp = exports.ApplicationSetsApiAxiosParamCreator = exports.UpdateProductsRequestProductsInnerVariantsInnerSalePriceCurrencyCodeEnum = exports.UpdateProductsRequestProductsInnerVariantsInnerRetailPriceCurrencyCodeEnum = exports.UpdateProductsRequestProductsInnerVariantsInnerAttributesInnerNameEnum = exports.SalePriceCurrencyCodeEnum = exports.PriceCurrencyCodeEnum = exports.CreateApplicationPlacementEnum = exports.CreateApplicationTechnologyEnum = exports.AttributeThumbnailTypeEnum = exports.ApplicationPlacementEnum = exports.ApplicationTechnologyEnum = void 0;
|
|
25
|
+
exports.VariantsApi = exports.VariantsApiFactory = exports.VariantsApiFp = exports.VariantsApiAxiosParamCreator = exports.ListProductsDateFilterTypeEnum = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.ApplicationTechnologiesApi = exports.ApplicationTechnologiesApiFactory = exports.ApplicationTechnologiesApiFp = exports.ApplicationTechnologiesApiAxiosParamCreator = exports.ApplicationSetsApi = exports.ApplicationSetsApiFactory = exports.ApplicationSetsApiFp = exports.ApplicationSetsApiAxiosParamCreator = exports.UpdateProductsRequestProductsInnerVariantsInnerSalePriceCurrencyCodeEnum = exports.UpdateProductsRequestProductsInnerVariantsInnerRetailPriceCurrencyCodeEnum = exports.UpdateProductsRequestProductsInnerVariantsInnerAttributesInnerNameEnum = exports.SalePriceCurrencyCodeEnum = exports.PriceCurrencyCodeEnum = exports.CreateApplicationPlacementEnum = exports.CreateApplicationTechnologyEnum = exports.AttributeThumbnailTypeEnum = exports.ApplicationPlacementEnum = exports.ApplicationTechnologyEnum = void 0;
|
|
26
26
|
const axios_1 = require("axios");
|
|
27
27
|
// Some imports not used depending on template conditions
|
|
28
28
|
// @ts-ignore
|
|
@@ -929,12 +929,15 @@ const ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
929
929
|
* @param {number} [pageToken] Page reference token
|
|
930
930
|
* @param {string} [search] Search query string to filter results. Supports field-specific filters like \'enabled:true\', \'uuid:<id>\', \'name:\"product name\"\', and \'tag:\"tag name\"\'. Multiple filters can be combined with spaces and commas.
|
|
931
931
|
* @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
932
|
+
* @param {string} [start] Start of date range to filter
|
|
933
|
+
* @param {string} [end] End of date range to filter
|
|
934
|
+
* @param {ListProductsDateFilterTypeEnum} [dateFilterType] Specifies the type of date range filter to apply. Determines which date field the `start` and `end` fields should query.
|
|
932
935
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
933
936
|
* @param {string} [fields] Filter response fields to only include a subset of the resource.
|
|
934
937
|
* @param {*} [options] Override http request option.
|
|
935
938
|
* @throws {RequiredError}
|
|
936
939
|
*/
|
|
937
|
-
listProducts: (project_1, pageToken_1, search_1, sortBy_1, pageSize_1, fields_1, ...args_1) => __awaiter(this, [project_1, pageToken_1, search_1, sortBy_1, pageSize_1, fields_1, ...args_1], void 0, function* (project, pageToken, search, sortBy, pageSize, fields, options = {}) {
|
|
940
|
+
listProducts: (project_1, pageToken_1, search_1, sortBy_1, start_1, end_1, dateFilterType_1, pageSize_1, fields_1, ...args_1) => __awaiter(this, [project_1, pageToken_1, search_1, sortBy_1, start_1, end_1, dateFilterType_1, pageSize_1, fields_1, ...args_1], void 0, function* (project, pageToken, search, sortBy, start, end, dateFilterType, pageSize, fields, options = {}) {
|
|
938
941
|
// verify required parameter 'project' is not null or undefined
|
|
939
942
|
(0, common_1.assertParamExists)('listProducts', 'project', project);
|
|
940
943
|
const localVarPath = `/v1/catalog/products`;
|
|
@@ -964,6 +967,19 @@ const ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
964
967
|
if (sortBy) {
|
|
965
968
|
localVarQueryParameter['sortBy'] = sortBy;
|
|
966
969
|
}
|
|
970
|
+
if (start !== undefined) {
|
|
971
|
+
localVarQueryParameter['start'] = (start instanceof Date) ?
|
|
972
|
+
start.toISOString() :
|
|
973
|
+
start;
|
|
974
|
+
}
|
|
975
|
+
if (end !== undefined) {
|
|
976
|
+
localVarQueryParameter['end'] = (end instanceof Date) ?
|
|
977
|
+
end.toISOString() :
|
|
978
|
+
end;
|
|
979
|
+
}
|
|
980
|
+
if (dateFilterType !== undefined) {
|
|
981
|
+
localVarQueryParameter['dateFilterType'] = dateFilterType;
|
|
982
|
+
}
|
|
967
983
|
if (pageSize !== undefined) {
|
|
968
984
|
localVarQueryParameter['pageSize'] = pageSize;
|
|
969
985
|
}
|
|
@@ -1237,15 +1253,18 @@ const ProductsApiFp = function (configuration) {
|
|
|
1237
1253
|
* @param {number} [pageToken] Page reference token
|
|
1238
1254
|
* @param {string} [search] Search query string to filter results. Supports field-specific filters like \'enabled:true\', \'uuid:<id>\', \'name:\"product name\"\', and \'tag:\"tag name\"\'. Multiple filters can be combined with spaces and commas.
|
|
1239
1255
|
* @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
1256
|
+
* @param {string} [start] Start of date range to filter
|
|
1257
|
+
* @param {string} [end] End of date range to filter
|
|
1258
|
+
* @param {ListProductsDateFilterTypeEnum} [dateFilterType] Specifies the type of date range filter to apply. Determines which date field the `start` and `end` fields should query.
|
|
1240
1259
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1241
1260
|
* @param {string} [fields] Filter response fields to only include a subset of the resource.
|
|
1242
1261
|
* @param {*} [options] Override http request option.
|
|
1243
1262
|
* @throws {RequiredError}
|
|
1244
1263
|
*/
|
|
1245
|
-
listProducts(project, pageToken, search, sortBy, pageSize, fields, options) {
|
|
1264
|
+
listProducts(project, pageToken, search, sortBy, start, end, dateFilterType, pageSize, fields, options) {
|
|
1246
1265
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1247
1266
|
var _a, _b, _c;
|
|
1248
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listProducts(project, pageToken, search, sortBy, pageSize, fields, options);
|
|
1267
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listProducts(project, pageToken, search, sortBy, start, end, dateFilterType, pageSize, fields, options);
|
|
1249
1268
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1250
1269
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProductsApi.listProducts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1251
1270
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1391,7 +1410,7 @@ const ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
1391
1410
|
* @throws {RequiredError}
|
|
1392
1411
|
*/
|
|
1393
1412
|
listProducts(requestParameters, options) {
|
|
1394
|
-
return localVarFp.listProducts(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.sortBy, requestParameters.pageSize, requestParameters.fields, options).then((request) => request(axios, basePath));
|
|
1413
|
+
return localVarFp.listProducts(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.sortBy, requestParameters.start, requestParameters.end, requestParameters.dateFilterType, requestParameters.pageSize, requestParameters.fields, options).then((request) => request(axios, basePath));
|
|
1395
1414
|
},
|
|
1396
1415
|
/**
|
|
1397
1416
|
* AI SEO optimises products by a set of given IDs.
|
|
@@ -1519,7 +1538,7 @@ class ProductsApi extends base_1.BaseAPI {
|
|
|
1519
1538
|
* @memberof ProductsApi
|
|
1520
1539
|
*/
|
|
1521
1540
|
listProducts(requestParameters, options) {
|
|
1522
|
-
return (0, exports.ProductsApiFp)(this.configuration).listProducts(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.sortBy, requestParameters.pageSize, requestParameters.fields, options).then((request) => request(this.axios, this.basePath));
|
|
1541
|
+
return (0, exports.ProductsApiFp)(this.configuration).listProducts(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.sortBy, requestParameters.start, requestParameters.end, requestParameters.dateFilterType, requestParameters.pageSize, requestParameters.fields, options).then((request) => request(this.axios, this.basePath));
|
|
1523
1542
|
}
|
|
1524
1543
|
/**
|
|
1525
1544
|
* AI SEO optimises products by a set of given IDs.
|
|
@@ -1556,6 +1575,13 @@ class ProductsApi extends base_1.BaseAPI {
|
|
|
1556
1575
|
}
|
|
1557
1576
|
}
|
|
1558
1577
|
exports.ProductsApi = ProductsApi;
|
|
1578
|
+
/**
|
|
1579
|
+
* @export
|
|
1580
|
+
*/
|
|
1581
|
+
exports.ListProductsDateFilterTypeEnum = {
|
|
1582
|
+
CreatedAt: 'createdAt',
|
|
1583
|
+
UpdatedAt: 'updatedAt'
|
|
1584
|
+
};
|
|
1559
1585
|
/**
|
|
1560
1586
|
* VariantsApi - axios parameter creator
|
|
1561
1587
|
* @export
|
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.57.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.57.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.57.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.57.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.57.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.57.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.57.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2171,10 +2171,10 @@ export interface Variant {
|
|
|
2171
2171
|
'integrationConnections'?: Array<VariantIntegrationConnectionsInner>;
|
|
2172
2172
|
/**
|
|
2173
2173
|
*
|
|
2174
|
-
* @type {
|
|
2174
|
+
* @type {VariantWholesaleCost}
|
|
2175
2175
|
* @memberof Variant
|
|
2176
2176
|
*/
|
|
2177
|
-
'wholesaleCost'?:
|
|
2177
|
+
'wholesaleCost'?: VariantWholesaleCost;
|
|
2178
2178
|
}
|
|
2179
2179
|
/**
|
|
2180
2180
|
*
|
|
@@ -2214,6 +2214,25 @@ export interface VariantProduct {
|
|
|
2214
2214
|
*/
|
|
2215
2215
|
'ref'?: string;
|
|
2216
2216
|
}
|
|
2217
|
+
/**
|
|
2218
|
+
*
|
|
2219
|
+
* @export
|
|
2220
|
+
* @interface VariantWholesaleCost
|
|
2221
|
+
*/
|
|
2222
|
+
export interface VariantWholesaleCost {
|
|
2223
|
+
/**
|
|
2224
|
+
*
|
|
2225
|
+
* @type {Price}
|
|
2226
|
+
* @memberof VariantWholesaleCost
|
|
2227
|
+
*/
|
|
2228
|
+
'item'?: Price;
|
|
2229
|
+
/**
|
|
2230
|
+
*
|
|
2231
|
+
* @type {Price}
|
|
2232
|
+
* @memberof VariantWholesaleCost
|
|
2233
|
+
*/
|
|
2234
|
+
'fulfillment'?: Price;
|
|
2235
|
+
}
|
|
2217
2236
|
/**
|
|
2218
2237
|
*
|
|
2219
2238
|
* @export
|
|
@@ -2756,12 +2775,15 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
2756
2775
|
* @param {number} [pageToken] Page reference token
|
|
2757
2776
|
* @param {string} [search] Search query string to filter results. Supports field-specific filters like \'enabled:true\', \'uuid:<id>\', \'name:\"product name\"\', and \'tag:\"tag name\"\'. Multiple filters can be combined with spaces and commas.
|
|
2758
2777
|
* @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
2778
|
+
* @param {string} [start] Start of date range to filter
|
|
2779
|
+
* @param {string} [end] End of date range to filter
|
|
2780
|
+
* @param {ListProductsDateFilterTypeEnum} [dateFilterType] Specifies the type of date range filter to apply. Determines which date field the `start` and `end` fields should query.
|
|
2759
2781
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
2760
2782
|
* @param {string} [fields] Filter response fields to only include a subset of the resource.
|
|
2761
2783
|
* @param {*} [options] Override http request option.
|
|
2762
2784
|
* @throws {RequiredError}
|
|
2763
2785
|
*/
|
|
2764
|
-
listProducts: (project: string, pageToken?: number, search?: string, sortBy?: Array<string>, pageSize?: number, fields?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2786
|
+
listProducts: (project: string, pageToken?: number, search?: string, sortBy?: Array<string>, start?: string, end?: string, dateFilterType?: ListProductsDateFilterTypeEnum, pageSize?: number, fields?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2765
2787
|
/**
|
|
2766
2788
|
* AI SEO optimises products by a set of given IDs.
|
|
2767
2789
|
* @summary AI SEO optimise products.
|
|
@@ -2866,12 +2888,15 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
2866
2888
|
* @param {number} [pageToken] Page reference token
|
|
2867
2889
|
* @param {string} [search] Search query string to filter results. Supports field-specific filters like \'enabled:true\', \'uuid:<id>\', \'name:\"product name\"\', and \'tag:\"tag name\"\'. Multiple filters can be combined with spaces and commas.
|
|
2868
2890
|
* @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
2891
|
+
* @param {string} [start] Start of date range to filter
|
|
2892
|
+
* @param {string} [end] End of date range to filter
|
|
2893
|
+
* @param {ListProductsDateFilterTypeEnum} [dateFilterType] Specifies the type of date range filter to apply. Determines which date field the `start` and `end` fields should query.
|
|
2869
2894
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
2870
2895
|
* @param {string} [fields] Filter response fields to only include a subset of the resource.
|
|
2871
2896
|
* @param {*} [options] Override http request option.
|
|
2872
2897
|
* @throws {RequiredError}
|
|
2873
2898
|
*/
|
|
2874
|
-
listProducts(project: string, pageToken?: number, search?: string, sortBy?: Array<string>, pageSize?: number, fields?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductsResponse>>;
|
|
2899
|
+
listProducts(project: string, pageToken?: number, search?: string, sortBy?: Array<string>, start?: string, end?: string, dateFilterType?: ListProductsDateFilterTypeEnum, pageSize?: number, fields?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductsResponse>>;
|
|
2875
2900
|
/**
|
|
2876
2901
|
* AI SEO optimises products by a set of given IDs.
|
|
2877
2902
|
* @summary AI SEO optimise products.
|
|
@@ -3158,6 +3183,24 @@ export interface ProductsApiListProductsRequest {
|
|
|
3158
3183
|
* @memberof ProductsApiListProducts
|
|
3159
3184
|
*/
|
|
3160
3185
|
readonly sortBy?: Array<string>;
|
|
3186
|
+
/**
|
|
3187
|
+
* Start of date range to filter
|
|
3188
|
+
* @type {string}
|
|
3189
|
+
* @memberof ProductsApiListProducts
|
|
3190
|
+
*/
|
|
3191
|
+
readonly start?: string;
|
|
3192
|
+
/**
|
|
3193
|
+
* End of date range to filter
|
|
3194
|
+
* @type {string}
|
|
3195
|
+
* @memberof ProductsApiListProducts
|
|
3196
|
+
*/
|
|
3197
|
+
readonly end?: string;
|
|
3198
|
+
/**
|
|
3199
|
+
* Specifies the type of date range filter to apply. Determines which date field the `start` and `end` fields should query.
|
|
3200
|
+
* @type {'createdAt' | 'updatedAt'}
|
|
3201
|
+
* @memberof ProductsApiListProducts
|
|
3202
|
+
*/
|
|
3203
|
+
readonly dateFilterType?: ListProductsDateFilterTypeEnum;
|
|
3161
3204
|
/**
|
|
3162
3205
|
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
3163
3206
|
* @type {number}
|
|
@@ -3341,6 +3384,14 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
3341
3384
|
*/
|
|
3342
3385
|
updateProducts(requestParameters: ProductsApiUpdateProductsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductsResponse, any>>;
|
|
3343
3386
|
}
|
|
3387
|
+
/**
|
|
3388
|
+
* @export
|
|
3389
|
+
*/
|
|
3390
|
+
export declare const ListProductsDateFilterTypeEnum: {
|
|
3391
|
+
readonly CreatedAt: "createdAt";
|
|
3392
|
+
readonly UpdatedAt: "updatedAt";
|
|
3393
|
+
};
|
|
3394
|
+
export type ListProductsDateFilterTypeEnum = typeof ListProductsDateFilterTypeEnum[keyof typeof ListProductsDateFilterTypeEnum];
|
|
3344
3395
|
/**
|
|
3345
3396
|
* VariantsApi - axios parameter creator
|
|
3346
3397
|
* @export
|
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.57.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -918,12 +918,15 @@ export const ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
918
918
|
* @param {number} [pageToken] Page reference token
|
|
919
919
|
* @param {string} [search] Search query string to filter results. Supports field-specific filters like \'enabled:true\', \'uuid:<id>\', \'name:\"product name\"\', and \'tag:\"tag name\"\'. Multiple filters can be combined with spaces and commas.
|
|
920
920
|
* @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
921
|
+
* @param {string} [start] Start of date range to filter
|
|
922
|
+
* @param {string} [end] End of date range to filter
|
|
923
|
+
* @param {ListProductsDateFilterTypeEnum} [dateFilterType] Specifies the type of date range filter to apply. Determines which date field the `start` and `end` fields should query.
|
|
921
924
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
922
925
|
* @param {string} [fields] Filter response fields to only include a subset of the resource.
|
|
923
926
|
* @param {*} [options] Override http request option.
|
|
924
927
|
* @throws {RequiredError}
|
|
925
928
|
*/
|
|
926
|
-
listProducts: (project_1, pageToken_1, search_1, sortBy_1, pageSize_1, fields_1, ...args_1) => __awaiter(this, [project_1, pageToken_1, search_1, sortBy_1, pageSize_1, fields_1, ...args_1], void 0, function* (project, pageToken, search, sortBy, pageSize, fields, options = {}) {
|
|
929
|
+
listProducts: (project_1, pageToken_1, search_1, sortBy_1, start_1, end_1, dateFilterType_1, pageSize_1, fields_1, ...args_1) => __awaiter(this, [project_1, pageToken_1, search_1, sortBy_1, start_1, end_1, dateFilterType_1, pageSize_1, fields_1, ...args_1], void 0, function* (project, pageToken, search, sortBy, start, end, dateFilterType, pageSize, fields, options = {}) {
|
|
927
930
|
// verify required parameter 'project' is not null or undefined
|
|
928
931
|
assertParamExists('listProducts', 'project', project);
|
|
929
932
|
const localVarPath = `/v1/catalog/products`;
|
|
@@ -953,6 +956,19 @@ export const ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
953
956
|
if (sortBy) {
|
|
954
957
|
localVarQueryParameter['sortBy'] = sortBy;
|
|
955
958
|
}
|
|
959
|
+
if (start !== undefined) {
|
|
960
|
+
localVarQueryParameter['start'] = (start instanceof Date) ?
|
|
961
|
+
start.toISOString() :
|
|
962
|
+
start;
|
|
963
|
+
}
|
|
964
|
+
if (end !== undefined) {
|
|
965
|
+
localVarQueryParameter['end'] = (end instanceof Date) ?
|
|
966
|
+
end.toISOString() :
|
|
967
|
+
end;
|
|
968
|
+
}
|
|
969
|
+
if (dateFilterType !== undefined) {
|
|
970
|
+
localVarQueryParameter['dateFilterType'] = dateFilterType;
|
|
971
|
+
}
|
|
956
972
|
if (pageSize !== undefined) {
|
|
957
973
|
localVarQueryParameter['pageSize'] = pageSize;
|
|
958
974
|
}
|
|
@@ -1225,15 +1241,18 @@ export const ProductsApiFp = function (configuration) {
|
|
|
1225
1241
|
* @param {number} [pageToken] Page reference token
|
|
1226
1242
|
* @param {string} [search] Search query string to filter results. Supports field-specific filters like \'enabled:true\', \'uuid:<id>\', \'name:\"product name\"\', and \'tag:\"tag name\"\'. Multiple filters can be combined with spaces and commas.
|
|
1227
1243
|
* @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
1244
|
+
* @param {string} [start] Start of date range to filter
|
|
1245
|
+
* @param {string} [end] End of date range to filter
|
|
1246
|
+
* @param {ListProductsDateFilterTypeEnum} [dateFilterType] Specifies the type of date range filter to apply. Determines which date field the `start` and `end` fields should query.
|
|
1228
1247
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1229
1248
|
* @param {string} [fields] Filter response fields to only include a subset of the resource.
|
|
1230
1249
|
* @param {*} [options] Override http request option.
|
|
1231
1250
|
* @throws {RequiredError}
|
|
1232
1251
|
*/
|
|
1233
|
-
listProducts(project, pageToken, search, sortBy, pageSize, fields, options) {
|
|
1252
|
+
listProducts(project, pageToken, search, sortBy, start, end, dateFilterType, pageSize, fields, options) {
|
|
1234
1253
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1235
1254
|
var _a, _b, _c;
|
|
1236
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listProducts(project, pageToken, search, sortBy, pageSize, fields, options);
|
|
1255
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listProducts(project, pageToken, search, sortBy, start, end, dateFilterType, pageSize, fields, options);
|
|
1237
1256
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1238
1257
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProductsApi.listProducts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1239
1258
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1378,7 +1397,7 @@ export const ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
1378
1397
|
* @throws {RequiredError}
|
|
1379
1398
|
*/
|
|
1380
1399
|
listProducts(requestParameters, options) {
|
|
1381
|
-
return localVarFp.listProducts(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.sortBy, requestParameters.pageSize, requestParameters.fields, options).then((request) => request(axios, basePath));
|
|
1400
|
+
return localVarFp.listProducts(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.sortBy, requestParameters.start, requestParameters.end, requestParameters.dateFilterType, requestParameters.pageSize, requestParameters.fields, options).then((request) => request(axios, basePath));
|
|
1382
1401
|
},
|
|
1383
1402
|
/**
|
|
1384
1403
|
* AI SEO optimises products by a set of given IDs.
|
|
@@ -1505,7 +1524,7 @@ export class ProductsApi extends BaseAPI {
|
|
|
1505
1524
|
* @memberof ProductsApi
|
|
1506
1525
|
*/
|
|
1507
1526
|
listProducts(requestParameters, options) {
|
|
1508
|
-
return ProductsApiFp(this.configuration).listProducts(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.sortBy, requestParameters.pageSize, requestParameters.fields, options).then((request) => request(this.axios, this.basePath));
|
|
1527
|
+
return ProductsApiFp(this.configuration).listProducts(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.sortBy, requestParameters.start, requestParameters.end, requestParameters.dateFilterType, requestParameters.pageSize, requestParameters.fields, options).then((request) => request(this.axios, this.basePath));
|
|
1509
1528
|
}
|
|
1510
1529
|
/**
|
|
1511
1530
|
* AI SEO optimises products by a set of given IDs.
|
|
@@ -1541,6 +1560,13 @@ export class ProductsApi extends BaseAPI {
|
|
|
1541
1560
|
return ProductsApiFp(this.configuration).updateProducts(requestParameters.project, requestParameters.updateProductsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1542
1561
|
}
|
|
1543
1562
|
}
|
|
1563
|
+
/**
|
|
1564
|
+
* @export
|
|
1565
|
+
*/
|
|
1566
|
+
export const ListProductsDateFilterTypeEnum = {
|
|
1567
|
+
CreatedAt: 'createdAt',
|
|
1568
|
+
UpdatedAt: 'updatedAt'
|
|
1569
|
+
};
|
|
1544
1570
|
/**
|
|
1545
1571
|
* VariantsApi - axios parameter creator
|
|
1546
1572
|
* @export
|
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.57.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.57.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.57.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.57.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.57.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.57.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.57.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.57.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.57.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.57.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/docs/ProductsApi.md
CHANGED
|
@@ -452,6 +452,9 @@ let project: string; //What project it is (default to undefined)
|
|
|
452
452
|
let pageToken: number; //Page reference token (optional) (default to 1)
|
|
453
453
|
let search: string; //Search query string to filter results. Supports field-specific filters like \'enabled:true\', \'uuid:<id>\', \'name:\"product name\"\', and \'tag:\"tag name\"\'. Multiple filters can be combined with spaces and commas. (optional) (default to 'enabled:true')
|
|
454
454
|
let sortBy: Array<string>; //An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending. (optional) (default to undefined)
|
|
455
|
+
let start: string; //Start of date range to filter (optional) (default to undefined)
|
|
456
|
+
let end: string; //End of date range to filter (optional) (default to undefined)
|
|
457
|
+
let dateFilterType: 'createdAt' | 'updatedAt'; //Specifies the type of date range filter to apply. Determines which date field the `start` and `end` fields should query. (optional) (default to 'createdAt')
|
|
455
458
|
let pageSize: number; //Max page size. This is the maximum page size that will be returned, but it might be smaller. (optional) (default to 10)
|
|
456
459
|
let fields: string; //Filter response fields to only include a subset of the resource. (optional) (default to undefined)
|
|
457
460
|
|
|
@@ -460,6 +463,9 @@ const { status, data } = await apiInstance.listProducts(
|
|
|
460
463
|
pageToken,
|
|
461
464
|
search,
|
|
462
465
|
sortBy,
|
|
466
|
+
start,
|
|
467
|
+
end,
|
|
468
|
+
dateFilterType,
|
|
463
469
|
pageSize,
|
|
464
470
|
fields
|
|
465
471
|
);
|
|
@@ -473,6 +479,9 @@ const { status, data } = await apiInstance.listProducts(
|
|
|
473
479
|
| **pageToken** | [**number**] | Page reference token | (optional) defaults to 1|
|
|
474
480
|
| **search** | [**string**] | Search query string to filter results. Supports field-specific filters like \'enabled:true\', \'uuid:<id>\', \'name:\"product name\"\', and \'tag:\"tag name\"\'. Multiple filters can be combined with spaces and commas. | (optional) defaults to 'enabled:true'|
|
|
475
481
|
| **sortBy** | **Array<string>** | An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending. | (optional) defaults to undefined|
|
|
482
|
+
| **start** | [**string**] | Start of date range to filter | (optional) defaults to undefined|
|
|
483
|
+
| **end** | [**string**] | End of date range to filter | (optional) defaults to undefined|
|
|
484
|
+
| **dateFilterType** | [**'createdAt' | 'updatedAt'**]**Array<'createdAt' | 'updatedAt'>** | Specifies the type of date range filter to apply. Determines which date field the `start` and `end` fields should query. | (optional) defaults to 'createdAt'|
|
|
476
485
|
| **pageSize** | [**number**] | Max page size. This is the maximum page size that will be returned, but it might be smaller. | (optional) defaults to 10|
|
|
477
486
|
| **fields** | [**string**] | Filter response fields to only include a subset of the resource. | (optional) defaults to undefined|
|
|
478
487
|
|
package/docs/Variant.md
CHANGED
|
@@ -25,7 +25,7 @@ Name | Type | Description | Notes
|
|
|
25
25
|
**shopifyId** | **number** | For use with the Shopify integration. The Shopify variant ID that this variant is linked to. | [optional] [default to undefined]
|
|
26
26
|
**metafields** | [**Array<MetaField>**](MetaField.md) | Key/value pairs that can be used to store additional information about the variant | [optional] [default to undefined]
|
|
27
27
|
**integrationConnections** | [**Array<VariantIntegrationConnectionsInner>**](VariantIntegrationConnectionsInner.md) | | [optional] [default to undefined]
|
|
28
|
-
**wholesaleCost** | [**
|
|
28
|
+
**wholesaleCost** | [**VariantWholesaleCost**](VariantWholesaleCost.md) | | [optional] [default to undefined]
|
|
29
29
|
|
|
30
30
|
## Example
|
|
31
31
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# VariantWholesaleCost
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**item** | [**Price**](Price.md) | | [optional] [default to undefined]
|
|
9
|
+
**fulfillment** | [**Price**](Price.md) | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { VariantWholesaleCost } from '@teemill/product-catalog';
|
|
15
|
+
|
|
16
|
+
const instance: VariantWholesaleCost = {
|
|
17
|
+
item,
|
|
18
|
+
fulfillment,
|
|
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)
|
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.57.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|