@teemill/product-catalog 1.64.1 → 1.66.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.
@@ -0,0 +1,28 @@
1
+ # ApplicationGroup
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | Unique object identifier | [default to undefined]
9
+ **ref** | **string** | A reference to the application group resource location | [default to undefined]
10
+ **name** | **string** | Name of the application group | [default to undefined]
11
+ **createdAt** | **string** | | [default to undefined]
12
+ **updatedAt** | **string** | | [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { ApplicationGroup } from '@teemill/product-catalog';
18
+
19
+ const instance: ApplicationGroup = {
20
+ id,
21
+ ref,
22
+ name,
23
+ createdAt,
24
+ updatedAt,
25
+ };
26
+ ```
27
+
28
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,317 @@
1
+ # ApplicationGroupsApi
2
+
3
+ All URIs are relative to *https://api.podos.io*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**createApplicationGroup**](#createapplicationgroup) | **POST** /v1/catalog/applications/groups | Create application group|
8
+ |[**deleteApplicationGroup**](#deleteapplicationgroup) | **DELETE** /v1/catalog/applications/groups/{applicationGroupId} | Delete an application group|
9
+ |[**getApplicationGroup**](#getapplicationgroup) | **GET** /v1/catalog/applications/groups/{applicationGroupId} | Get an application group|
10
+ |[**listApplicationGroups**](#listapplicationgroups) | **GET** /v1/catalog/applications/groups | List application groups|
11
+ |[**updateApplicationGroup**](#updateapplicationgroup) | **PATCH** /v1/catalog/applications/groups/{applicationGroupId} | Update application group|
12
+
13
+ # **createApplicationGroup**
14
+ > ApplicationGroup createApplicationGroup()
15
+
16
+ Creates a new application group. Application groups are used to organize design applications that share the same source file, particularly useful for DTF (Direct to Film) transfers where the same transfer can be used across multiple products or variants.
17
+
18
+ ### Example
19
+
20
+ ```typescript
21
+ import {
22
+ ApplicationGroupsApi,
23
+ Configuration,
24
+ CreateApplicationGroupRequest
25
+ } from '@teemill/product-catalog';
26
+
27
+ const configuration = new Configuration();
28
+ const apiInstance = new ApplicationGroupsApi(configuration);
29
+
30
+ let project: string; //What project it is (default to undefined)
31
+ let createApplicationGroupRequest: CreateApplicationGroupRequest; //Create a new application group. (optional)
32
+
33
+ const { status, data } = await apiInstance.createApplicationGroup(
34
+ project,
35
+ createApplicationGroupRequest
36
+ );
37
+ ```
38
+
39
+ ### Parameters
40
+
41
+ |Name | Type | Description | Notes|
42
+ |------------- | ------------- | ------------- | -------------|
43
+ | **createApplicationGroupRequest** | **CreateApplicationGroupRequest**| Create a new application group. | |
44
+ | **project** | [**string**] | What project it is | defaults to undefined|
45
+
46
+
47
+ ### Return type
48
+
49
+ **ApplicationGroup**
50
+
51
+ ### Authorization
52
+
53
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
54
+
55
+ ### HTTP request headers
56
+
57
+ - **Content-Type**: application/json
58
+ - **Accept**: application/json
59
+
60
+
61
+ ### HTTP response details
62
+ | Status code | Description | Response headers |
63
+ |-------------|-------------|------------------|
64
+ |**201** | Successfully retrieved an application group. | - |
65
+ |**400** | Failed validation. | - |
66
+ |**401** | Not authorised to access this resource. | - |
67
+ |**403** | Refuse to authorize. | - |
68
+ |**404** | Resource not found. | - |
69
+ |**500** | Unknown server error. | - |
70
+
71
+ [[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)
72
+
73
+ # **deleteApplicationGroup**
74
+ > deleteApplicationGroup()
75
+
76
+ Deletes an existing application group.
77
+
78
+ ### Example
79
+
80
+ ```typescript
81
+ import {
82
+ ApplicationGroupsApi,
83
+ Configuration
84
+ } from '@teemill/product-catalog';
85
+
86
+ const configuration = new Configuration();
87
+ const apiInstance = new ApplicationGroupsApi(configuration);
88
+
89
+ let project: string; //What project it is (default to undefined)
90
+ let applicationGroupId: string; //Application group\'s unique identifier (default to undefined)
91
+
92
+ const { status, data } = await apiInstance.deleteApplicationGroup(
93
+ project,
94
+ applicationGroupId
95
+ );
96
+ ```
97
+
98
+ ### Parameters
99
+
100
+ |Name | Type | Description | Notes|
101
+ |------------- | ------------- | ------------- | -------------|
102
+ | **project** | [**string**] | What project it is | defaults to undefined|
103
+ | **applicationGroupId** | [**string**] | Application group\'s unique identifier | defaults to undefined|
104
+
105
+
106
+ ### Return type
107
+
108
+ void (empty response body)
109
+
110
+ ### Authorization
111
+
112
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
113
+
114
+ ### HTTP request headers
115
+
116
+ - **Content-Type**: Not defined
117
+ - **Accept**: application/json
118
+
119
+
120
+ ### HTTP response details
121
+ | Status code | Description | Response headers |
122
+ |-------------|-------------|------------------|
123
+ |**204** | Set deleted | - |
124
+ |**400** | Failed validation. | - |
125
+ |**401** | Not authorised to access this resource. | - |
126
+ |**403** | Refuse to authorize. | - |
127
+ |**404** | Resource not found. | - |
128
+ |**500** | Unknown server error. | - |
129
+
130
+ [[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)
131
+
132
+ # **getApplicationGroup**
133
+ > ApplicationGroup getApplicationGroup()
134
+
135
+ Get an application group by the given id. Application groups are used to organize design applications that share the same source file, particularly useful for DTF (Direct to Film) transfers where the same transfer can be used across multiple products or variants.
136
+
137
+ ### Example
138
+
139
+ ```typescript
140
+ import {
141
+ ApplicationGroupsApi,
142
+ Configuration
143
+ } from '@teemill/product-catalog';
144
+
145
+ const configuration = new Configuration();
146
+ const apiInstance = new ApplicationGroupsApi(configuration);
147
+
148
+ let project: string; //What project it is (default to undefined)
149
+ let applicationGroupId: string; //Application group\'s unique identifier (default to undefined)
150
+
151
+ const { status, data } = await apiInstance.getApplicationGroup(
152
+ project,
153
+ applicationGroupId
154
+ );
155
+ ```
156
+
157
+ ### Parameters
158
+
159
+ |Name | Type | Description | Notes|
160
+ |------------- | ------------- | ------------- | -------------|
161
+ | **project** | [**string**] | What project it is | defaults to undefined|
162
+ | **applicationGroupId** | [**string**] | Application group\'s unique identifier | defaults to undefined|
163
+
164
+
165
+ ### Return type
166
+
167
+ **ApplicationGroup**
168
+
169
+ ### Authorization
170
+
171
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
172
+
173
+ ### HTTP request headers
174
+
175
+ - **Content-Type**: Not defined
176
+ - **Accept**: application/json
177
+
178
+
179
+ ### HTTP response details
180
+ | Status code | Description | Response headers |
181
+ |-------------|-------------|------------------|
182
+ |**200** | Successfully retrieved an application group. | - |
183
+ |**400** | Failed validation. | - |
184
+ |**401** | Not authorised to access this resource. | - |
185
+ |**403** | Refuse to authorize. | - |
186
+ |**404** | Resource not found. | - |
187
+ |**500** | Unknown server error. | - |
188
+
189
+ [[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)
190
+
191
+ # **listApplicationGroups**
192
+ > ApplicationGroupsResponse listApplicationGroups()
193
+
194
+ Lists all application groups that belong to the given project. Application groups are used to organize design applications that share the same source file, particularly useful for DTF (Direct to Film) transfers where the same transfer can be used across multiple products or variants.
195
+
196
+ ### Example
197
+
198
+ ```typescript
199
+ import {
200
+ ApplicationGroupsApi,
201
+ Configuration
202
+ } from '@teemill/product-catalog';
203
+
204
+ const configuration = new Configuration();
205
+ const apiInstance = new ApplicationGroupsApi(configuration);
206
+
207
+ let project: string; //What project it is (default to undefined)
208
+ let pageToken: number; //Page reference token (optional) (default to 1)
209
+ 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')
210
+ 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)
211
+
212
+ const { status, data } = await apiInstance.listApplicationGroups(
213
+ project,
214
+ pageToken,
215
+ search,
216
+ pageSize
217
+ );
218
+ ```
219
+
220
+ ### Parameters
221
+
222
+ |Name | Type | Description | Notes|
223
+ |------------- | ------------- | ------------- | -------------|
224
+ | **project** | [**string**] | What project it is | defaults to undefined|
225
+ | **pageToken** | [**number**] | Page reference token | (optional) defaults to 1|
226
+ | **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'|
227
+ | **pageSize** | [**number**] | Max page size. This is the maximum page size that will be returned, but it might be smaller. | (optional) defaults to 100|
228
+
229
+
230
+ ### Return type
231
+
232
+ **ApplicationGroupsResponse**
233
+
234
+ ### Authorization
235
+
236
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
237
+
238
+ ### HTTP request headers
239
+
240
+ - **Content-Type**: Not defined
241
+ - **Accept**: application/json
242
+
243
+
244
+ ### HTTP response details
245
+ | Status code | Description | Response headers |
246
+ |-------------|-------------|------------------|
247
+ |**200** | Successfully retrieved all application groups. | - |
248
+ |**400** | Failed validation. | - |
249
+ |**401** | Not authorised to access this resource. | - |
250
+ |**403** | Refuse to authorize. | - |
251
+ |**500** | Unknown server error. | - |
252
+
253
+ [[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)
254
+
255
+ # **updateApplicationGroup**
256
+ > ApplicationGroup updateApplicationGroup()
257
+
258
+ Updates an existing application group.
259
+
260
+ ### Example
261
+
262
+ ```typescript
263
+ import {
264
+ ApplicationGroupsApi,
265
+ Configuration,
266
+ UpdateApplicationGroupRequest
267
+ } from '@teemill/product-catalog';
268
+
269
+ const configuration = new Configuration();
270
+ const apiInstance = new ApplicationGroupsApi(configuration);
271
+
272
+ let project: string; //What project it is (default to undefined)
273
+ let applicationGroupId: string; //Application group\'s unique identifier (default to undefined)
274
+ let updateApplicationGroupRequest: UpdateApplicationGroupRequest; //Update an existing application group. (optional)
275
+
276
+ const { status, data } = await apiInstance.updateApplicationGroup(
277
+ project,
278
+ applicationGroupId,
279
+ updateApplicationGroupRequest
280
+ );
281
+ ```
282
+
283
+ ### Parameters
284
+
285
+ |Name | Type | Description | Notes|
286
+ |------------- | ------------- | ------------- | -------------|
287
+ | **updateApplicationGroupRequest** | **UpdateApplicationGroupRequest**| Update an existing application group. | |
288
+ | **project** | [**string**] | What project it is | defaults to undefined|
289
+ | **applicationGroupId** | [**string**] | Application group\&#39;s unique identifier | defaults to undefined|
290
+
291
+
292
+ ### Return type
293
+
294
+ **ApplicationGroup**
295
+
296
+ ### Authorization
297
+
298
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
299
+
300
+ ### HTTP request headers
301
+
302
+ - **Content-Type**: application/json
303
+ - **Accept**: application/json
304
+
305
+
306
+ ### HTTP response details
307
+ | Status code | Description | Response headers |
308
+ |-------------|-------------|------------------|
309
+ |**200** | Successfully retrieved an application group. | - |
310
+ |**400** | Failed validation. | - |
311
+ |**401** | Not authorised to access this resource. | - |
312
+ |**403** | Refuse to authorize. | - |
313
+ |**404** | Resource not found. | - |
314
+ |**500** | Unknown server error. | - |
315
+
316
+ [[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)
317
+
@@ -0,0 +1,22 @@
1
+ # ApplicationGroupsResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **applicationGroups** | [**Array&lt;ApplicationGroup&gt;**](ApplicationGroup.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 { ApplicationGroupsResponse } from '@teemill/product-catalog';
15
+
16
+ const instance: ApplicationGroupsResponse = {
17
+ applicationGroups,
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)
@@ -306,7 +306,7 @@ const { status, data } = await apiInstance.updateApplicationSet(
306
306
  ### HTTP response details
307
307
  | Status code | Description | Response headers |
308
308
  |-------------|-------------|------------------|
309
- |**201** | Successfully retrieved an application set. | - |
309
+ |**200** | Successfully retrieved an application set. | - |
310
310
  |**400** | Failed validation. | - |
311
311
  |**401** | Not authorised to access this resource. | - |
312
312
  |**403** | Refuse to authorize. | - |
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
9
9
  **placement** | **string** | Placement of the application. Available placements depend on the chosen product and technology. | [default to undefined]
10
10
  **additionalInstructions** | **string** | Any additional instructions for the application | [optional] [default to undefined]
11
11
  **src** | **string** | Publicly available design file URL. This will fill the design area of the warehouse product. It will be centered horizontally and aligned to the top of the design area. | [default to undefined]
12
- **group** | **string** | The group of the application. The src across all applications in the same group will be considered the same src. The is useful for DTF when using the same transfer across multiple products. | [optional] [default to undefined]
12
+ **groupRef** | **string** | A reference to the application group. The src across all applications in the same group will be considered the same src. The is useful for DTF when using the same transfer across multiple products. | [optional] [default to undefined]
13
13
  **stockedOnly** | **boolean** | If set to true, transfers for this application will not be printed on demand, and will need to be stocked in trays in the factory. Note that this can only be set if the technology is stockable, such as DTF. | [optional] [default to undefined]
14
14
  **properties** | [**CreateApplicationProperties**](CreateApplicationProperties.md) | | [optional] [default to undefined]
15
15
 
@@ -23,7 +23,7 @@ const instance: CreateApplication = {
23
23
  placement,
24
24
  additionalInstructions,
25
25
  src,
26
- group,
26
+ groupRef,
27
27
  stockedOnly,
28
28
  properties,
29
29
  };
@@ -0,0 +1,20 @@
1
+ # CreateApplicationGroupRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | Name of the application group | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { CreateApplicationGroupRequest } from '@teemill/product-catalog';
14
+
15
+ const instance: CreateApplicationGroupRequest = {
16
+ name,
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)
@@ -0,0 +1,20 @@
1
+ # UpdateApplicationGroupRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | Name of the application group | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { UpdateApplicationGroupRequest } from '@teemill/product-catalog';
14
+
15
+ const instance: UpdateApplicationGroupRequest = {
16
+ name,
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.64.1
7
+ * The version of the OpenAPI document: 1.66.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.64.1",
3
+ "version": "1.66.0",
4
4
  "description": "OpenAPI client for @teemill/product-catalog",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {