@teemill/product-catalog 1.47.0 → 1.49.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/README.md +115 -2
  2. package/api.ts +113 -1
  3. package/base.ts +1 -1
  4. package/common.ts +1 -1
  5. package/configuration.ts +1 -1
  6. package/dist/api.d.ts +66 -1
  7. package/dist/api.js +74 -1
  8. package/dist/base.d.ts +1 -1
  9. package/dist/base.js +1 -1
  10. package/dist/common.d.ts +1 -1
  11. package/dist/common.js +1 -1
  12. package/dist/configuration.d.ts +1 -1
  13. package/dist/configuration.js +1 -1
  14. package/dist/esm/api.d.ts +66 -1
  15. package/dist/esm/api.js +74 -1
  16. package/dist/esm/base.d.ts +1 -1
  17. package/dist/esm/base.js +1 -1
  18. package/dist/esm/common.d.ts +1 -1
  19. package/dist/esm/common.js +1 -1
  20. package/dist/esm/configuration.d.ts +1 -1
  21. package/dist/esm/configuration.js +1 -1
  22. package/dist/esm/index.d.ts +1 -1
  23. package/dist/esm/index.js +1 -1
  24. package/dist/index.d.ts +1 -1
  25. package/dist/index.js +1 -1
  26. package/docs/AdditionalFile.md +20 -0
  27. package/docs/ApiError.md +22 -0
  28. package/docs/Application.md +28 -0
  29. package/docs/ApplicationMockup.md +22 -0
  30. package/docs/ApplicationSet.md +38 -0
  31. package/docs/ApplicationSet1.md +22 -0
  32. package/docs/ApplicationSetRecord.md +26 -0
  33. package/docs/ApplicationSetsApi.md +317 -0
  34. package/docs/ApplicationSetsResponse.md +22 -0
  35. package/docs/Attribute.md +26 -0
  36. package/docs/AttributeThumbnail.md +23 -0
  37. package/docs/Attributes1Inner.md +22 -0
  38. package/docs/CreateApplication.md +24 -0
  39. package/docs/CreateApplicationSetRequest.md +30 -0
  40. package/docs/CreateApplicationSetRequestRecordsInner.md +22 -0
  41. package/docs/CreateApplicationSetRequestRecordsInnerAttributesInner.md +22 -0
  42. package/docs/CreateBundleProduct.md +54 -0
  43. package/docs/CreateProduct.md +56 -0
  44. package/docs/CreateProductAdditionalFilesInner.md +20 -0
  45. package/docs/CreateProductImagesInner.md +22 -0
  46. package/docs/CreateProductRequest.md +64 -0
  47. package/docs/CreateProductVariant.md +36 -0
  48. package/docs/CreateProductVariantImagesInner.md +20 -0
  49. package/docs/CreateProductVideosInner.md +20 -0
  50. package/docs/DuplicateProducts202Response.md +20 -0
  51. package/docs/DuplicateProductsRequest.md +22 -0
  52. package/docs/ExportProducts202Response.md +20 -0
  53. package/docs/Image.md +35 -0
  54. package/docs/ImageFile.md +22 -0
  55. package/docs/ImportProducts200Response.md +20 -0
  56. package/docs/Location.md +22 -0
  57. package/docs/MetaField.md +23 -0
  58. package/docs/OptimisationHistoryItem.md +22 -0
  59. package/docs/Price.md +23 -0
  60. package/docs/Product.md +86 -0
  61. package/docs/ProductAdditionalFilesInner.md +22 -0
  62. package/docs/ProductApplicationSetsInner.md +24 -0
  63. package/docs/ProductWarehouseProduct.md +22 -0
  64. package/docs/ProductsApi.md +626 -0
  65. package/docs/ProductsResponse.md +22 -0
  66. package/docs/SEOMetadata.md +23 -0
  67. package/docs/SeoOptimiseProducts202Response.md +20 -0
  68. package/docs/SeoOptimiseProductsRequest.md +22 -0
  69. package/docs/Stock.md +22 -0
  70. package/docs/TargetSearchPhraseData.md +22 -0
  71. package/docs/UpdateApplicationSetRequest.md +30 -0
  72. package/docs/UpdateApplicationSetRequestRecordsInner.md +22 -0
  73. package/docs/UpdateApplicationSetRequestRecordsInnerAttributesInner.md +22 -0
  74. package/docs/UpdateProductRequest.md +64 -0
  75. package/docs/UpdateProductRequestIntegrationConnectionsInner.md +22 -0
  76. package/docs/UpdateProductsRequest.md +20 -0
  77. package/docs/UpdateProductsRequestProductsInner.md +42 -0
  78. package/docs/UpdateProductsRequestProductsInnerIntegrationConnectionsInner.md +22 -0
  79. package/docs/UpdateProductsRequestProductsInnerSeoMetadata.md +22 -0
  80. package/docs/UpdateProductsRequestProductsInnerVariantsInner.md +30 -0
  81. package/docs/UpdateProductsRequestProductsInnerVariantsInnerAttributesInner.md +22 -0
  82. package/docs/UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner.md +22 -0
  83. package/docs/UpdateProductsRequestProductsInnerVariantsInnerRetailPrice.md +23 -0
  84. package/docs/UpdateProductsRequestProductsInnerVariantsInnerSalePrice.md +23 -0
  85. package/docs/Variant.md +58 -0
  86. package/docs/VariantIntegrationConnectionsInner.md +22 -0
  87. package/docs/VariantProduct.md +22 -0
  88. package/docs/VariantsApi.md +138 -0
  89. package/docs/VariantsResponse.md +22 -0
  90. package/docs/Video.md +31 -0
  91. package/docs/VideoFile.md +20 -0
  92. package/index.ts +1 -1
  93. package/package.json +1 -1
@@ -0,0 +1,138 @@
1
+ # VariantsApi
2
+
3
+ All URIs are relative to *https://api.podos.io*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**getVariant**](#getvariant) | **GET** /v1/catalog/variants/{variantId} | Get variant|
8
+ |[**listVariants**](#listvariants) | **GET** /v1/catalog/variants | List variants|
9
+
10
+ # **getVariant**
11
+ > Variant getVariant()
12
+
13
+ Gets a variant by a given ID.
14
+
15
+ ### Example
16
+
17
+ ```typescript
18
+ import {
19
+ VariantsApi,
20
+ Configuration
21
+ } from '@teemill/product-catalog';
22
+
23
+ const configuration = new Configuration();
24
+ const apiInstance = new VariantsApi(configuration);
25
+
26
+ let project: string; //What project it is (default to undefined)
27
+ let variantId: string; //Variants unique identifier (default to undefined)
28
+ let fields: string; //Filter response fields to only include a subset of the resource. (optional) (default to undefined)
29
+
30
+ const { status, data } = await apiInstance.getVariant(
31
+ project,
32
+ variantId,
33
+ fields
34
+ );
35
+ ```
36
+
37
+ ### Parameters
38
+
39
+ |Name | Type | Description | Notes|
40
+ |------------- | ------------- | ------------- | -------------|
41
+ | **project** | [**string**] | What project it is | defaults to undefined|
42
+ | **variantId** | [**string**] | Variants unique identifier | defaults to undefined|
43
+ | **fields** | [**string**] | Filter response fields to only include a subset of the resource. | (optional) defaults to undefined|
44
+
45
+
46
+ ### Return type
47
+
48
+ **Variant**
49
+
50
+ ### Authorization
51
+
52
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
53
+
54
+ ### HTTP request headers
55
+
56
+ - **Content-Type**: Not defined
57
+ - **Accept**: application/json
58
+
59
+
60
+ ### HTTP response details
61
+ | Status code | Description | Response headers |
62
+ |-------------|-------------|------------------|
63
+ |**200** | Successfully retrieved a variant. | - |
64
+ |**400** | Failed validation. | - |
65
+ |**401** | Not authorised to access this resource. | - |
66
+ |**403** | Refuse to authorize. | - |
67
+ |**404** | Resource not found. | - |
68
+ |**500** | Unknown server error. | - |
69
+
70
+ [[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)
71
+
72
+ # **listVariants**
73
+ > VariantsResponse listVariants()
74
+
75
+ Lists all variants that belong to enabled products attached to the given project.
76
+
77
+ ### Example
78
+
79
+ ```typescript
80
+ import {
81
+ VariantsApi,
82
+ Configuration
83
+ } from '@teemill/product-catalog';
84
+
85
+ const configuration = new Configuration();
86
+ const apiInstance = new VariantsApi(configuration);
87
+
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\', \'uuid:<id>\', \'name:\"product name\"\', and \'tag:\"tag name\"\'. Multiple filters can be combined with spaces and commas. (optional) (default to 'enabled:true')
90
+ let pageToken: number; //Page reference token (optional) (default to 1)
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
+ let fields: string; //Filter response fields to only include a subset of the resource. (optional) (default to undefined)
93
+
94
+ const { status, data } = await apiInstance.listVariants(
95
+ project,
96
+ search,
97
+ pageToken,
98
+ pageSize,
99
+ fields
100
+ );
101
+ ```
102
+
103
+ ### Parameters
104
+
105
+ |Name | Type | Description | Notes|
106
+ |------------- | ------------- | ------------- | -------------|
107
+ | **project** | [**string**] | What project it is | defaults to undefined|
108
+ | **search** | [**string**] | Search query string to filter results. Supports field-specific filters like \&#39;enabled:true\&#39;, \&#39;uuid:&lt;id&gt;\&#39;, \&#39;name:\&quot;product name\&quot;\&#39;, and \&#39;tag:\&quot;tag name\&quot;\&#39;. Multiple filters can be combined with spaces and commas. | (optional) defaults to 'enabled:true'|
109
+ | **pageToken** | [**number**] | Page reference token | (optional) defaults to 1|
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
+ | **fields** | [**string**] | Filter response fields to only include a subset of the resource. | (optional) defaults to undefined|
112
+
113
+
114
+ ### Return type
115
+
116
+ **VariantsResponse**
117
+
118
+ ### Authorization
119
+
120
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
121
+
122
+ ### HTTP request headers
123
+
124
+ - **Content-Type**: Not defined
125
+ - **Accept**: application/json
126
+
127
+
128
+ ### HTTP response details
129
+ | Status code | Description | Response headers |
130
+ |-------------|-------------|------------------|
131
+ |**200** | Successfully retrieved all variants. | - |
132
+ |**400** | Failed validation. | - |
133
+ |**401** | Not authorised to access this resource. | - |
134
+ |**403** | Refuse to authorize. | - |
135
+ |**500** | Unknown server error. | - |
136
+
137
+ [[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)
138
+
@@ -0,0 +1,22 @@
1
+ # VariantsResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **variants** | [**Array&lt;Variant&gt;**](Variant.md) | | [optional] [default to undefined]
9
+ **nextPageToken** | **number** | The token referencing the next page number | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { VariantsResponse } from '@teemill/product-catalog';
15
+
16
+ const instance: VariantsResponse = {
17
+ variants,
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)
package/docs/Video.md ADDED
@@ -0,0 +1,31 @@
1
+ # Video
2
+
3
+ Video object
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **string** | Unique object identifier | [optional] [default to undefined]
10
+ **src** | **string** | | [optional] [default to undefined]
11
+ **alt** | **string** | | [optional] [default to undefined]
12
+ **sortOrder** | **number** | | [optional] [default to undefined]
13
+ **createdAt** | **string** | | [optional] [default to undefined]
14
+ **updatedAt** | **string** | | [optional] [default to undefined]
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import { Video } from '@teemill/product-catalog';
20
+
21
+ const instance: Video = {
22
+ id,
23
+ src,
24
+ alt,
25
+ sortOrder,
26
+ createdAt,
27
+ updatedAt,
28
+ };
29
+ ```
30
+
31
+ [[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,20 @@
1
+ # VideoFile
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **src** | **string** | Publicly available file URL. | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { VideoFile } from '@teemill/product-catalog';
14
+
15
+ const instance: VideoFile = {
16
+ src,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/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.47.0
7
+ * The version of the OpenAPI document: 1.49.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teemill/product-catalog",
3
- "version": "1.47.0",
3
+ "version": "1.49.0",
4
4
  "description": "OpenAPI client for @teemill/product-catalog",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {