@teemill/product-catalog 1.83.1 → 1.84.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 +6 -2
- package/api.ts +368 -23
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +201 -17
- package/dist/api.js +256 -20
- 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 +201 -17
- package/dist/esm/api.js +251 -19
- 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/ApplicationSetsApi.md +2 -2
- package/docs/ProductAnalyticsApi.md +58 -2
- package/docs/ProductType.md +22 -0
- package/docs/ProductTypeListResponse.md +22 -0
- package/docs/ProductTypesApi.md +69 -0
- package/docs/ProductsApi.md +27 -3
- package/docs/VariantsApi.md +2 -2
- package/index.ts +1 -1
- package/package.json +2 -2
|
@@ -4,8 +4,64 @@ All URIs are relative to *https://api.podos.io*
|
|
|
4
4
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
|
+
|[**exportProductAnalytics**](#exportproductanalytics) | **GET** /v1/catalog/analytics/export | Export product analytics|
|
|
7
8
|
|[**listProductAnalytics**](#listproductanalytics) | **GET** /v1/catalog/analytics | List product analytics|
|
|
8
9
|
|
|
10
|
+
# **exportProductAnalytics**
|
|
11
|
+
> File exportProductAnalytics()
|
|
12
|
+
|
|
13
|
+
Exports all products with analytics data in a CSV file.
|
|
14
|
+
|
|
15
|
+
### Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import {
|
|
19
|
+
ProductAnalyticsApi,
|
|
20
|
+
Configuration
|
|
21
|
+
} from '@teemill/product-catalog';
|
|
22
|
+
|
|
23
|
+
const configuration = new Configuration();
|
|
24
|
+
const apiInstance = new ProductAnalyticsApi(configuration);
|
|
25
|
+
|
|
26
|
+
let project: string; //What project it is (default to undefined)
|
|
27
|
+
|
|
28
|
+
const { status, data } = await apiInstance.exportProductAnalytics(
|
|
29
|
+
project
|
|
30
|
+
);
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### Parameters
|
|
34
|
+
|
|
35
|
+
|Name | Type | Description | Notes|
|
|
36
|
+
|------------- | ------------- | ------------- | -------------|
|
|
37
|
+
| **project** | [**string**] | What project it is | defaults to undefined|
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
### Return type
|
|
41
|
+
|
|
42
|
+
**File**
|
|
43
|
+
|
|
44
|
+
### Authorization
|
|
45
|
+
|
|
46
|
+
[session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
|
|
47
|
+
|
|
48
|
+
### HTTP request headers
|
|
49
|
+
|
|
50
|
+
- **Content-Type**: Not defined
|
|
51
|
+
- **Accept**: text/csv; charset=utf-8, application/json
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
### HTTP response details
|
|
55
|
+
| Status code | Description | Response headers |
|
|
56
|
+
|-------------|-------------|------------------|
|
|
57
|
+
|**200** | Returns the CSV export | - |
|
|
58
|
+
|**202** | Export started. When complete, the export will be available for download from a notification within PodOS Dashboard. | - |
|
|
59
|
+
|**401** | Not authorised to access this resource. | - |
|
|
60
|
+
|**403** | Refuse to authorize. | - |
|
|
61
|
+
|**500** | Unknown server error. | - |
|
|
62
|
+
|
|
63
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
64
|
+
|
|
9
65
|
# **listProductAnalytics**
|
|
10
66
|
> ProductAnalyticsResponse listProductAnalytics()
|
|
11
67
|
|
|
@@ -24,7 +80,7 @@ const apiInstance = new ProductAnalyticsApi(configuration);
|
|
|
24
80
|
|
|
25
81
|
let project: string; //What project it is (default to undefined)
|
|
26
82
|
let pageToken: number; //Page reference token (optional) (default to 1)
|
|
27
|
-
let search: string; //Search query string to filter results. Supports field-specific filters like \'enabled:true\', \'
|
|
83
|
+
let search: string; //Search query string to filter results. Supports field-specific filters like: \'enabled:true\', \'gfn_product_ids:<id>\', \'tag:\"tag name\"\', \'internal_tag:\"internal tag name\"\', \'includeArchived:false\', \'hasSearchPhrase:false\', \'inDataFeeds:true\', \'aiOptimised:true\', \'productType:<id>\', \'genderGroup:\"male,female,unisex\"\', \'hasBarcode:true\', \'onSale:true\', \'type:product,template,bundle\', \'collection:<id>\'. Multiple filters can be combined with spaces and commas. (optional) (default to 'enabled:true')
|
|
28
84
|
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)
|
|
29
85
|
let pageSize: number; //Max page size. This is the maximum page size that will be returned, but it might be smaller. (optional) (default to 100)
|
|
30
86
|
|
|
@@ -43,7 +99,7 @@ const { status, data } = await apiInstance.listProductAnalytics(
|
|
|
43
99
|
|------------- | ------------- | ------------- | -------------|
|
|
44
100
|
| **project** | [**string**] | What project it is | defaults to undefined|
|
|
45
101
|
| **pageToken** | [**number**] | Page reference token | (optional) defaults to 1|
|
|
46
|
-
| **search** | [**string**] | Search query string to filter results. Supports field-specific filters like \'enabled:true\', \'
|
|
102
|
+
| **search** | [**string**] | Search query string to filter results. Supports field-specific filters like: \'enabled:true\', \'gfn_product_ids:<id>\', \'tag:\"tag name\"\', \'internal_tag:\"internal tag name\"\', \'includeArchived:false\', \'hasSearchPhrase:false\', \'inDataFeeds:true\', \'aiOptimised:true\', \'productType:<id>\', \'genderGroup:\"male,female,unisex\"\', \'hasBarcode:true\', \'onSale:true\', \'type:product,template,bundle\', \'collection:<id>\'. Multiple filters can be combined with spaces and commas. | (optional) defaults to 'enabled:true'|
|
|
47
103
|
| **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|
|
|
48
104
|
| **pageSize** | [**number**] | Max page size. This is the maximum page size that will be returned, but it might be smaller. | (optional) defaults to 100|
|
|
49
105
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# ProductType
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | Unique object identifier | [default to undefined]
|
|
9
|
+
**name** | **string** | Name of the product type | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { ProductType } from '@teemill/product-catalog';
|
|
15
|
+
|
|
16
|
+
const instance: ProductType = {
|
|
17
|
+
id,
|
|
18
|
+
name,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# ProductTypeListResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**productTypes** | [**Array<ProductType>**](ProductType.md) | | [default to undefined]
|
|
9
|
+
**nextPageToken** | **number** | The token referencing the next page number | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { ProductTypeListResponse } from '@teemill/product-catalog';
|
|
15
|
+
|
|
16
|
+
const instance: ProductTypeListResponse = {
|
|
17
|
+
productTypes,
|
|
18
|
+
nextPageToken,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# ProductTypesApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://api.podos.io*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**listProductTypes**](#listproducttypes) | **GET** /v1/catalog/product-types | List product types|
|
|
8
|
+
|
|
9
|
+
# **listProductTypes**
|
|
10
|
+
> ProductTypeListResponse listProductTypes()
|
|
11
|
+
|
|
12
|
+
Lists the product types used by the given project\'s catalog.
|
|
13
|
+
|
|
14
|
+
### Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import {
|
|
18
|
+
ProductTypesApi,
|
|
19
|
+
Configuration
|
|
20
|
+
} from '@teemill/product-catalog';
|
|
21
|
+
|
|
22
|
+
const configuration = new Configuration();
|
|
23
|
+
const apiInstance = new ProductTypesApi(configuration);
|
|
24
|
+
|
|
25
|
+
let project: string; //What project it is (default to undefined)
|
|
26
|
+
let pageToken: number; //Page reference token (optional) (default to 1)
|
|
27
|
+
let pageSize: number; //Max page size. This is the maximum page size that will be returned, but it might be smaller. (optional) (default to 100)
|
|
28
|
+
|
|
29
|
+
const { status, data } = await apiInstance.listProductTypes(
|
|
30
|
+
project,
|
|
31
|
+
pageToken,
|
|
32
|
+
pageSize
|
|
33
|
+
);
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### Parameters
|
|
37
|
+
|
|
38
|
+
|Name | Type | Description | Notes|
|
|
39
|
+
|------------- | ------------- | ------------- | -------------|
|
|
40
|
+
| **project** | [**string**] | What project it is | defaults to undefined|
|
|
41
|
+
| **pageToken** | [**number**] | Page reference token | (optional) defaults to 1|
|
|
42
|
+
| **pageSize** | [**number**] | Max page size. This is the maximum page size that will be returned, but it might be smaller. | (optional) defaults to 100|
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
### Return type
|
|
46
|
+
|
|
47
|
+
**ProductTypeListResponse**
|
|
48
|
+
|
|
49
|
+
### Authorization
|
|
50
|
+
|
|
51
|
+
[session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
|
|
52
|
+
|
|
53
|
+
### HTTP request headers
|
|
54
|
+
|
|
55
|
+
- **Content-Type**: Not defined
|
|
56
|
+
- **Accept**: application/json
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
### HTTP response details
|
|
60
|
+
| Status code | Description | Response headers |
|
|
61
|
+
|-------------|-------------|------------------|
|
|
62
|
+
|**200** | Successfully retrieved product types. | - |
|
|
63
|
+
|**400** | Failed validation. | - |
|
|
64
|
+
|**401** | Not authorised to access this resource. | - |
|
|
65
|
+
|**403** | Refuse to authorize. | - |
|
|
66
|
+
|**500** | Unknown server error. | - |
|
|
67
|
+
|
|
68
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
69
|
+
|
package/docs/ProductsApi.md
CHANGED
|
@@ -272,9 +272,21 @@ const configuration = new Configuration();
|
|
|
272
272
|
const apiInstance = new ProductsApi(configuration);
|
|
273
273
|
|
|
274
274
|
let project: string; //What project it is (default to undefined)
|
|
275
|
+
let search: string; //Search query string to filter results. Supports field-specific filters like: \'enabled:true\', \'gfn_product_ids:<id>\', \'tag:\"tag name\"\', \'internal_tag:\"internal tag name\"\', \'includeArchived:false\', \'hasSearchPhrase:false\', \'inDataFeeds:true\', \'aiOptimised:true\', \'productType:<id>\', \'genderGroup:\"male,female,unisex\"\', \'hasBarcode:true\', \'onSale:true\', \'type:product,template,bundle\', \'collection:<id>\'. Multiple filters can be combined with spaces and commas. (optional) (default to 'enabled:true')
|
|
276
|
+
let start: string; //Start of date range to filter (optional) (default to undefined)
|
|
277
|
+
let end: string; //End of date range to filter (optional) (default to undefined)
|
|
278
|
+
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')
|
|
279
|
+
let maxRetailPrice: number; //Specify the maximum retail price to filter by. Products will be included so long as either at least one variant or the product itself (in the case of bundles) has a retail price less than or equal to the specified value. (optional) (default to undefined)
|
|
280
|
+
let minRetailPrice: number; //Specify the minimum retail price to filter by. Products will be included so long as either at least one variant or the product itself (in the case of bundles) has a retail price greater than or equal to the specified value. (optional) (default to undefined)
|
|
275
281
|
|
|
276
282
|
const { status, data } = await apiInstance.exportProducts(
|
|
277
|
-
project
|
|
283
|
+
project,
|
|
284
|
+
search,
|
|
285
|
+
start,
|
|
286
|
+
end,
|
|
287
|
+
dateFilterType,
|
|
288
|
+
maxRetailPrice,
|
|
289
|
+
minRetailPrice
|
|
278
290
|
);
|
|
279
291
|
```
|
|
280
292
|
|
|
@@ -283,6 +295,12 @@ const { status, data } = await apiInstance.exportProducts(
|
|
|
283
295
|
|Name | Type | Description | Notes|
|
|
284
296
|
|------------- | ------------- | ------------- | -------------|
|
|
285
297
|
| **project** | [**string**] | What project it is | defaults to undefined|
|
|
298
|
+
| **search** | [**string**] | Search query string to filter results. Supports field-specific filters like: \'enabled:true\', \'gfn_product_ids:<id>\', \'tag:\"tag name\"\', \'internal_tag:\"internal tag name\"\', \'includeArchived:false\', \'hasSearchPhrase:false\', \'inDataFeeds:true\', \'aiOptimised:true\', \'productType:<id>\', \'genderGroup:\"male,female,unisex\"\', \'hasBarcode:true\', \'onSale:true\', \'type:product,template,bundle\', \'collection:<id>\'. Multiple filters can be combined with spaces and commas. | (optional) defaults to 'enabled:true'|
|
|
299
|
+
| **start** | [**string**] | Start of date range to filter | (optional) defaults to undefined|
|
|
300
|
+
| **end** | [**string**] | End of date range to filter | (optional) defaults to undefined|
|
|
301
|
+
| **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'|
|
|
302
|
+
| **maxRetailPrice** | [**number**] | Specify the maximum retail price to filter by. Products will be included so long as either at least one variant or the product itself (in the case of bundles) has a retail price less than or equal to the specified value. | (optional) defaults to undefined|
|
|
303
|
+
| **minRetailPrice** | [**number**] | Specify the minimum retail price to filter by. Products will be included so long as either at least one variant or the product itself (in the case of bundles) has a retail price greater than or equal to the specified value. | (optional) defaults to undefined|
|
|
286
304
|
|
|
287
305
|
|
|
288
306
|
### Return type
|
|
@@ -451,11 +469,13 @@ const apiInstance = new ProductsApi(configuration);
|
|
|
451
469
|
|
|
452
470
|
let project: string; //What project it is (default to undefined)
|
|
453
471
|
let pageToken: number; //Page reference token (optional) (default to 1)
|
|
454
|
-
let search: string; //Search query string to filter results. Supports field-specific filters like \'enabled:true\', \'
|
|
472
|
+
let search: string; //Search query string to filter results. Supports field-specific filters like: \'enabled:true\', \'gfn_product_ids:<id>\', \'tag:\"tag name\"\', \'internal_tag:\"internal tag name\"\', \'includeArchived:false\', \'hasSearchPhrase:false\', \'inDataFeeds:true\', \'aiOptimised:true\', \'productType:<id>\', \'genderGroup:\"male,female,unisex\"\', \'hasBarcode:true\', \'onSale:true\', \'type:product,template,bundle\', \'collection:<id>\'. Multiple filters can be combined with spaces and commas. (optional) (default to 'enabled:true')
|
|
455
473
|
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)
|
|
456
474
|
let start: string; //Start of date range to filter (optional) (default to undefined)
|
|
457
475
|
let end: string; //End of date range to filter (optional) (default to undefined)
|
|
458
476
|
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')
|
|
477
|
+
let maxRetailPrice: number; //Specify the maximum retail price to filter by. Products will be included so long as either at least one variant or the product itself (in the case of bundles) has a retail price less than or equal to the specified value. (optional) (default to undefined)
|
|
478
|
+
let minRetailPrice: number; //Specify the minimum retail price to filter by. Products will be included so long as either at least one variant or the product itself (in the case of bundles) has a retail price greater than or equal to the specified value. (optional) (default to undefined)
|
|
459
479
|
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)
|
|
460
480
|
let fields: string; //Filter response fields to only include a subset of the resource. (optional) (default to undefined)
|
|
461
481
|
|
|
@@ -467,6 +487,8 @@ const { status, data } = await apiInstance.listProducts(
|
|
|
467
487
|
start,
|
|
468
488
|
end,
|
|
469
489
|
dateFilterType,
|
|
490
|
+
maxRetailPrice,
|
|
491
|
+
minRetailPrice,
|
|
470
492
|
pageSize,
|
|
471
493
|
fields
|
|
472
494
|
);
|
|
@@ -478,11 +500,13 @@ const { status, data } = await apiInstance.listProducts(
|
|
|
478
500
|
|------------- | ------------- | ------------- | -------------|
|
|
479
501
|
| **project** | [**string**] | What project it is | defaults to undefined|
|
|
480
502
|
| **pageToken** | [**number**] | Page reference token | (optional) defaults to 1|
|
|
481
|
-
| **search** | [**string**] | Search query string to filter results. Supports field-specific filters like \'enabled:true\', \'
|
|
503
|
+
| **search** | [**string**] | Search query string to filter results. Supports field-specific filters like: \'enabled:true\', \'gfn_product_ids:<id>\', \'tag:\"tag name\"\', \'internal_tag:\"internal tag name\"\', \'includeArchived:false\', \'hasSearchPhrase:false\', \'inDataFeeds:true\', \'aiOptimised:true\', \'productType:<id>\', \'genderGroup:\"male,female,unisex\"\', \'hasBarcode:true\', \'onSale:true\', \'type:product,template,bundle\', \'collection:<id>\'. Multiple filters can be combined with spaces and commas. | (optional) defaults to 'enabled:true'|
|
|
482
504
|
| **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|
|
|
483
505
|
| **start** | [**string**] | Start of date range to filter | (optional) defaults to undefined|
|
|
484
506
|
| **end** | [**string**] | End of date range to filter | (optional) defaults to undefined|
|
|
485
507
|
| **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'|
|
|
508
|
+
| **maxRetailPrice** | [**number**] | Specify the maximum retail price to filter by. Products will be included so long as either at least one variant or the product itself (in the case of bundles) has a retail price less than or equal to the specified value. | (optional) defaults to undefined|
|
|
509
|
+
| **minRetailPrice** | [**number**] | Specify the minimum retail price to filter by. Products will be included so long as either at least one variant or the product itself (in the case of bundles) has a retail price greater than or equal to the specified value. | (optional) defaults to undefined|
|
|
486
510
|
| **pageSize** | [**number**] | Max page size. This is the maximum page size that will be returned, but it might be smaller. | (optional) defaults to 10|
|
|
487
511
|
| **fields** | [**string**] | Filter response fields to only include a subset of the resource. | (optional) defaults to undefined|
|
|
488
512
|
|
package/docs/VariantsApi.md
CHANGED
|
@@ -86,7 +86,7 @@ const configuration = new Configuration();
|
|
|
86
86
|
const apiInstance = new VariantsApi(configuration);
|
|
87
87
|
|
|
88
88
|
let project: string; //What project it is (default to undefined)
|
|
89
|
-
let search: string; //Search query string to filter results. Supports field-specific filters like \'enabled:true\', \'
|
|
89
|
+
let search: string; //Search query string to filter results. Supports field-specific filters like: \'enabled:true\', \'gfn_product_ids:<id>\', \'tag:\"tag name\"\', \'internal_tag:\"internal tag name\"\', \'includeArchived:false\', \'hasSearchPhrase:false\', \'inDataFeeds:true\', \'aiOptimised:true\', \'productType:<id>\', \'genderGroup:\"male,female,unisex\"\', \'hasBarcode:true\', \'onSale:true\', \'type:product,template,bundle\', \'collection:<id>\'. Multiple filters can be combined with spaces and commas. (optional) (default to 'enabled:true')
|
|
90
90
|
let pageToken: number; //Page reference token (optional) (default to 1)
|
|
91
91
|
let pageSize: number; //Max page size. This is the maximum page size that will be returned, but it might be smaller. (optional) (default to 100)
|
|
92
92
|
let fields: string; //Filter response fields to only include a subset of the resource. (optional) (default to undefined)
|
|
@@ -105,7 +105,7 @@ const { status, data } = await apiInstance.listVariants(
|
|
|
105
105
|
|Name | Type | Description | Notes|
|
|
106
106
|
|------------- | ------------- | ------------- | -------------|
|
|
107
107
|
| **project** | [**string**] | What project it is | defaults to undefined|
|
|
108
|
-
| **search** | [**string**] | Search query string to filter results. Supports field-specific filters like \'enabled:true\', \'
|
|
108
|
+
| **search** | [**string**] | Search query string to filter results. Supports field-specific filters like: \'enabled:true\', \'gfn_product_ids:<id>\', \'tag:\"tag name\"\', \'internal_tag:\"internal tag name\"\', \'includeArchived:false\', \'hasSearchPhrase:false\', \'inDataFeeds:true\', \'aiOptimised:true\', \'productType:<id>\', \'genderGroup:\"male,female,unisex\"\', \'hasBarcode:true\', \'onSale:true\', \'type:product,template,bundle\', \'collection:<id>\'. Multiple filters can be combined with spaces and commas. | (optional) defaults to 'enabled:true'|
|
|
109
109
|
| **pageToken** | [**number**] | Page reference token | (optional) defaults to 1|
|
|
110
110
|
| **pageSize** | [**number**] | Max page size. This is the maximum page size that will be returned, but it might be smaller. | (optional) defaults to 100|
|
|
111
111
|
| **fields** | [**string**] | Filter response fields to only include a subset of the resource. | (optional) defaults to undefined|
|
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.84.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teemill/product-catalog",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.84.0",
|
|
4
4
|
"description": "OpenAPI client for @teemill/product-catalog",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"repository": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"prepare": "npm run build"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"axios": "1.
|
|
27
|
+
"axios": "1.13.5"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/node": "12.11.5 - 12.20.42",
|