@teemill/product-catalog 1.50.0 → 1.52.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 +208 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +148 -1
- package/dist/api.js +113 -2
- 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 +148 -1
- package/dist/esm/api.js +108 -1
- 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/Application.md +2 -0
- package/docs/ApplicationTechnologiesApi.md +63 -0
- package/docs/ApplicationTechnologiesResponse.md +20 -0
- package/docs/ApplicationTechnology.md +26 -0
- package/docs/ApplicationTechnologyIntegrationProduct.md +22 -0
- package/docs/CreateApplication.md +2 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/product-catalog@1.
|
|
1
|
+
## @teemill/product-catalog@1.52.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.52.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -56,6 +56,7 @@ Class | Method | HTTP request | Description
|
|
|
56
56
|
*ApplicationSetsApi* | [**getApplicationSet**](docs/ApplicationSetsApi.md#getapplicationset) | **GET** /v1/catalog/applications/sets/{applicationSetId} | Get an application set
|
|
57
57
|
*ApplicationSetsApi* | [**listApplicationSets**](docs/ApplicationSetsApi.md#listapplicationsets) | **GET** /v1/catalog/applications/sets | List application sets
|
|
58
58
|
*ApplicationSetsApi* | [**updateApplicationSet**](docs/ApplicationSetsApi.md#updateapplicationset) | **PATCH** /v1/catalog/applications/sets/{applicationSetId} | Update application set
|
|
59
|
+
*ApplicationTechnologiesApi* | [**listTechnologies**](docs/ApplicationTechnologiesApi.md#listtechnologies) | **GET** /v1/catalog/applications/technologies | List technologies available to this project
|
|
59
60
|
*ProductsApi* | [**createProduct**](docs/ProductsApi.md#createproduct) | **POST** /v1/catalog/products | Create product
|
|
60
61
|
*ProductsApi* | [**deleteProduct**](docs/ProductsApi.md#deleteproduct) | **DELETE** /v1/catalog/products/{productId} | Delete catalog product
|
|
61
62
|
*ProductsApi* | [**deleteProducts**](docs/ProductsApi.md#deleteproducts) | **DELETE** /v1/catalog/products | Delete products
|
|
@@ -81,6 +82,9 @@ Class | Method | HTTP request | Description
|
|
|
81
82
|
- [ApplicationSet1](docs/ApplicationSet1.md)
|
|
82
83
|
- [ApplicationSetRecord](docs/ApplicationSetRecord.md)
|
|
83
84
|
- [ApplicationSetsResponse](docs/ApplicationSetsResponse.md)
|
|
85
|
+
- [ApplicationTechnologiesResponse](docs/ApplicationTechnologiesResponse.md)
|
|
86
|
+
- [ApplicationTechnology](docs/ApplicationTechnology.md)
|
|
87
|
+
- [ApplicationTechnologyIntegrationProduct](docs/ApplicationTechnologyIntegrationProduct.md)
|
|
84
88
|
- [Attribute](docs/Attribute.md)
|
|
85
89
|
- [AttributeThumbnail](docs/AttributeThumbnail.md)
|
|
86
90
|
- [Attributes1Inner](docs/Attributes1Inner.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.52.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -91,6 +91,12 @@ export interface Application {
|
|
|
91
91
|
* @memberof Application
|
|
92
92
|
*/
|
|
93
93
|
'mockup'?: ApplicationMockup | null;
|
|
94
|
+
/**
|
|
95
|
+
* 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.
|
|
96
|
+
* @type {boolean}
|
|
97
|
+
* @memberof Application
|
|
98
|
+
*/
|
|
99
|
+
'stockedOnly'?: boolean;
|
|
94
100
|
}
|
|
95
101
|
|
|
96
102
|
export const ApplicationTechnologyEnum = {
|
|
@@ -271,6 +277,69 @@ export interface ApplicationSetsResponse {
|
|
|
271
277
|
*/
|
|
272
278
|
'nextPageToken'?: number | null;
|
|
273
279
|
}
|
|
280
|
+
/**
|
|
281
|
+
*
|
|
282
|
+
* @export
|
|
283
|
+
* @interface ApplicationTechnologiesResponse
|
|
284
|
+
*/
|
|
285
|
+
export interface ApplicationTechnologiesResponse {
|
|
286
|
+
/**
|
|
287
|
+
*
|
|
288
|
+
* @type {Array<ApplicationTechnology>}
|
|
289
|
+
* @memberof ApplicationTechnologiesResponse
|
|
290
|
+
*/
|
|
291
|
+
'applicationTechnologies'?: Array<ApplicationTechnology>;
|
|
292
|
+
}
|
|
293
|
+
/**
|
|
294
|
+
*
|
|
295
|
+
* @export
|
|
296
|
+
* @interface ApplicationTechnology
|
|
297
|
+
*/
|
|
298
|
+
export interface ApplicationTechnology {
|
|
299
|
+
/**
|
|
300
|
+
* Unique object identifier
|
|
301
|
+
* @type {string}
|
|
302
|
+
* @memberof ApplicationTechnology
|
|
303
|
+
*/
|
|
304
|
+
'id'?: string;
|
|
305
|
+
/**
|
|
306
|
+
* Name of the application technology
|
|
307
|
+
* @type {string}
|
|
308
|
+
* @memberof ApplicationTechnology
|
|
309
|
+
*/
|
|
310
|
+
'name'?: string;
|
|
311
|
+
/**
|
|
312
|
+
* Code of the application technology
|
|
313
|
+
* @type {string}
|
|
314
|
+
* @memberof ApplicationTechnology
|
|
315
|
+
*/
|
|
316
|
+
'code'?: string;
|
|
317
|
+
/**
|
|
318
|
+
*
|
|
319
|
+
* @type {ApplicationTechnologyIntegrationProduct}
|
|
320
|
+
* @memberof ApplicationTechnology
|
|
321
|
+
*/
|
|
322
|
+
'integrationProduct'?: ApplicationTechnologyIntegrationProduct;
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
*
|
|
326
|
+
* @export
|
|
327
|
+
* @interface ApplicationTechnologyIntegrationProduct
|
|
328
|
+
*/
|
|
329
|
+
export interface ApplicationTechnologyIntegrationProduct {
|
|
330
|
+
/**
|
|
331
|
+
* SKU of the product in the integration
|
|
332
|
+
* @type {string}
|
|
333
|
+
* @memberof ApplicationTechnologyIntegrationProduct
|
|
334
|
+
*/
|
|
335
|
+
'sku'?: string;
|
|
336
|
+
/**
|
|
337
|
+
* A reference to the resource location
|
|
338
|
+
* @type {string}
|
|
339
|
+
* @memberof ApplicationTechnologyIntegrationProduct
|
|
340
|
+
*/
|
|
341
|
+
'ref'?: string;
|
|
342
|
+
}
|
|
274
343
|
/**
|
|
275
344
|
*
|
|
276
345
|
* @export
|
|
@@ -373,6 +442,12 @@ export interface CreateApplication {
|
|
|
373
442
|
* @memberof CreateApplication
|
|
374
443
|
*/
|
|
375
444
|
'src': string;
|
|
445
|
+
/**
|
|
446
|
+
* 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.
|
|
447
|
+
* @type {boolean}
|
|
448
|
+
* @memberof CreateApplication
|
|
449
|
+
*/
|
|
450
|
+
'stockedOnly'?: boolean;
|
|
376
451
|
}
|
|
377
452
|
|
|
378
453
|
export const CreateApplicationTechnologyEnum = {
|
|
@@ -2811,6 +2886,138 @@ export class ApplicationSetsApi extends BaseAPI {
|
|
|
2811
2886
|
|
|
2812
2887
|
|
|
2813
2888
|
|
|
2889
|
+
/**
|
|
2890
|
+
* ApplicationTechnologiesApi - axios parameter creator
|
|
2891
|
+
* @export
|
|
2892
|
+
*/
|
|
2893
|
+
export const ApplicationTechnologiesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
2894
|
+
return {
|
|
2895
|
+
/**
|
|
2896
|
+
* Lists all technologies available to this project.
|
|
2897
|
+
* @summary List technologies available to this project
|
|
2898
|
+
* @param {string} project What project it is
|
|
2899
|
+
* @param {*} [options] Override http request option.
|
|
2900
|
+
* @throws {RequiredError}
|
|
2901
|
+
*/
|
|
2902
|
+
listTechnologies: async (project: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2903
|
+
// verify required parameter 'project' is not null or undefined
|
|
2904
|
+
assertParamExists('listTechnologies', 'project', project)
|
|
2905
|
+
const localVarPath = `/v1/catalog/applications/technologies`;
|
|
2906
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2907
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2908
|
+
let baseOptions;
|
|
2909
|
+
if (configuration) {
|
|
2910
|
+
baseOptions = configuration.baseOptions;
|
|
2911
|
+
}
|
|
2912
|
+
|
|
2913
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
2914
|
+
const localVarHeaderParameter = {} as any;
|
|
2915
|
+
const localVarQueryParameter = {} as any;
|
|
2916
|
+
|
|
2917
|
+
// authentication session-oauth required
|
|
2918
|
+
// oauth required
|
|
2919
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
2920
|
+
|
|
2921
|
+
// authentication api-key required
|
|
2922
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2923
|
+
|
|
2924
|
+
if (project !== undefined) {
|
|
2925
|
+
localVarQueryParameter['project'] = project;
|
|
2926
|
+
}
|
|
2927
|
+
|
|
2928
|
+
|
|
2929
|
+
|
|
2930
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2931
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2932
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2933
|
+
|
|
2934
|
+
return {
|
|
2935
|
+
url: toPathString(localVarUrlObj),
|
|
2936
|
+
options: localVarRequestOptions,
|
|
2937
|
+
};
|
|
2938
|
+
},
|
|
2939
|
+
}
|
|
2940
|
+
};
|
|
2941
|
+
|
|
2942
|
+
/**
|
|
2943
|
+
* ApplicationTechnologiesApi - functional programming interface
|
|
2944
|
+
* @export
|
|
2945
|
+
*/
|
|
2946
|
+
export const ApplicationTechnologiesApiFp = function(configuration?: Configuration) {
|
|
2947
|
+
const localVarAxiosParamCreator = ApplicationTechnologiesApiAxiosParamCreator(configuration)
|
|
2948
|
+
return {
|
|
2949
|
+
/**
|
|
2950
|
+
* Lists all technologies available to this project.
|
|
2951
|
+
* @summary List technologies available to this project
|
|
2952
|
+
* @param {string} project What project it is
|
|
2953
|
+
* @param {*} [options] Override http request option.
|
|
2954
|
+
* @throws {RequiredError}
|
|
2955
|
+
*/
|
|
2956
|
+
async listTechnologies(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplicationTechnologiesResponse>> {
|
|
2957
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listTechnologies(project, options);
|
|
2958
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2959
|
+
const localVarOperationServerBasePath = operationServerMap['ApplicationTechnologiesApi.listTechnologies']?.[localVarOperationServerIndex]?.url;
|
|
2960
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2961
|
+
},
|
|
2962
|
+
}
|
|
2963
|
+
};
|
|
2964
|
+
|
|
2965
|
+
/**
|
|
2966
|
+
* ApplicationTechnologiesApi - factory interface
|
|
2967
|
+
* @export
|
|
2968
|
+
*/
|
|
2969
|
+
export const ApplicationTechnologiesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
2970
|
+
const localVarFp = ApplicationTechnologiesApiFp(configuration)
|
|
2971
|
+
return {
|
|
2972
|
+
/**
|
|
2973
|
+
* Lists all technologies available to this project.
|
|
2974
|
+
* @summary List technologies available to this project
|
|
2975
|
+
* @param {ApplicationTechnologiesApiListTechnologiesRequest} requestParameters Request parameters.
|
|
2976
|
+
* @param {*} [options] Override http request option.
|
|
2977
|
+
* @throws {RequiredError}
|
|
2978
|
+
*/
|
|
2979
|
+
listTechnologies(requestParameters: ApplicationTechnologiesApiListTechnologiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ApplicationTechnologiesResponse> {
|
|
2980
|
+
return localVarFp.listTechnologies(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
2981
|
+
},
|
|
2982
|
+
};
|
|
2983
|
+
};
|
|
2984
|
+
|
|
2985
|
+
/**
|
|
2986
|
+
* Request parameters for listTechnologies operation in ApplicationTechnologiesApi.
|
|
2987
|
+
* @export
|
|
2988
|
+
* @interface ApplicationTechnologiesApiListTechnologiesRequest
|
|
2989
|
+
*/
|
|
2990
|
+
export interface ApplicationTechnologiesApiListTechnologiesRequest {
|
|
2991
|
+
/**
|
|
2992
|
+
* What project it is
|
|
2993
|
+
* @type {string}
|
|
2994
|
+
* @memberof ApplicationTechnologiesApiListTechnologies
|
|
2995
|
+
*/
|
|
2996
|
+
readonly project: string
|
|
2997
|
+
}
|
|
2998
|
+
|
|
2999
|
+
/**
|
|
3000
|
+
* ApplicationTechnologiesApi - object-oriented interface
|
|
3001
|
+
* @export
|
|
3002
|
+
* @class ApplicationTechnologiesApi
|
|
3003
|
+
* @extends {BaseAPI}
|
|
3004
|
+
*/
|
|
3005
|
+
export class ApplicationTechnologiesApi extends BaseAPI {
|
|
3006
|
+
/**
|
|
3007
|
+
* Lists all technologies available to this project.
|
|
3008
|
+
* @summary List technologies available to this project
|
|
3009
|
+
* @param {ApplicationTechnologiesApiListTechnologiesRequest} requestParameters Request parameters.
|
|
3010
|
+
* @param {*} [options] Override http request option.
|
|
3011
|
+
* @throws {RequiredError}
|
|
3012
|
+
* @memberof ApplicationTechnologiesApi
|
|
3013
|
+
*/
|
|
3014
|
+
public listTechnologies(requestParameters: ApplicationTechnologiesApiListTechnologiesRequest, options?: RawAxiosRequestConfig) {
|
|
3015
|
+
return ApplicationTechnologiesApiFp(this.configuration).listTechnologies(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
3016
|
+
}
|
|
3017
|
+
}
|
|
3018
|
+
|
|
3019
|
+
|
|
3020
|
+
|
|
2814
3021
|
/**
|
|
2815
3022
|
* ProductsApi - axios parameter creator
|
|
2816
3023
|
* @export
|
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.52.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.52.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.52.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.52.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -81,6 +81,12 @@ export interface Application {
|
|
|
81
81
|
* @memberof Application
|
|
82
82
|
*/
|
|
83
83
|
'mockup'?: ApplicationMockup | null;
|
|
84
|
+
/**
|
|
85
|
+
* 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.
|
|
86
|
+
* @type {boolean}
|
|
87
|
+
* @memberof Application
|
|
88
|
+
*/
|
|
89
|
+
'stockedOnly'?: boolean;
|
|
84
90
|
}
|
|
85
91
|
export declare const ApplicationTechnologyEnum: {
|
|
86
92
|
readonly Dtg: "dtg";
|
|
@@ -257,6 +263,69 @@ export interface ApplicationSetsResponse {
|
|
|
257
263
|
*/
|
|
258
264
|
'nextPageToken'?: number | null;
|
|
259
265
|
}
|
|
266
|
+
/**
|
|
267
|
+
*
|
|
268
|
+
* @export
|
|
269
|
+
* @interface ApplicationTechnologiesResponse
|
|
270
|
+
*/
|
|
271
|
+
export interface ApplicationTechnologiesResponse {
|
|
272
|
+
/**
|
|
273
|
+
*
|
|
274
|
+
* @type {Array<ApplicationTechnology>}
|
|
275
|
+
* @memberof ApplicationTechnologiesResponse
|
|
276
|
+
*/
|
|
277
|
+
'applicationTechnologies'?: Array<ApplicationTechnology>;
|
|
278
|
+
}
|
|
279
|
+
/**
|
|
280
|
+
*
|
|
281
|
+
* @export
|
|
282
|
+
* @interface ApplicationTechnology
|
|
283
|
+
*/
|
|
284
|
+
export interface ApplicationTechnology {
|
|
285
|
+
/**
|
|
286
|
+
* Unique object identifier
|
|
287
|
+
* @type {string}
|
|
288
|
+
* @memberof ApplicationTechnology
|
|
289
|
+
*/
|
|
290
|
+
'id'?: string;
|
|
291
|
+
/**
|
|
292
|
+
* Name of the application technology
|
|
293
|
+
* @type {string}
|
|
294
|
+
* @memberof ApplicationTechnology
|
|
295
|
+
*/
|
|
296
|
+
'name'?: string;
|
|
297
|
+
/**
|
|
298
|
+
* Code of the application technology
|
|
299
|
+
* @type {string}
|
|
300
|
+
* @memberof ApplicationTechnology
|
|
301
|
+
*/
|
|
302
|
+
'code'?: string;
|
|
303
|
+
/**
|
|
304
|
+
*
|
|
305
|
+
* @type {ApplicationTechnologyIntegrationProduct}
|
|
306
|
+
* @memberof ApplicationTechnology
|
|
307
|
+
*/
|
|
308
|
+
'integrationProduct'?: ApplicationTechnologyIntegrationProduct;
|
|
309
|
+
}
|
|
310
|
+
/**
|
|
311
|
+
*
|
|
312
|
+
* @export
|
|
313
|
+
* @interface ApplicationTechnologyIntegrationProduct
|
|
314
|
+
*/
|
|
315
|
+
export interface ApplicationTechnologyIntegrationProduct {
|
|
316
|
+
/**
|
|
317
|
+
* SKU of the product in the integration
|
|
318
|
+
* @type {string}
|
|
319
|
+
* @memberof ApplicationTechnologyIntegrationProduct
|
|
320
|
+
*/
|
|
321
|
+
'sku'?: string;
|
|
322
|
+
/**
|
|
323
|
+
* A reference to the resource location
|
|
324
|
+
* @type {string}
|
|
325
|
+
* @memberof ApplicationTechnologyIntegrationProduct
|
|
326
|
+
*/
|
|
327
|
+
'ref'?: string;
|
|
328
|
+
}
|
|
260
329
|
/**
|
|
261
330
|
*
|
|
262
331
|
* @export
|
|
@@ -356,6 +425,12 @@ export interface CreateApplication {
|
|
|
356
425
|
* @memberof CreateApplication
|
|
357
426
|
*/
|
|
358
427
|
'src': string;
|
|
428
|
+
/**
|
|
429
|
+
* 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.
|
|
430
|
+
* @type {boolean}
|
|
431
|
+
* @memberof CreateApplication
|
|
432
|
+
*/
|
|
433
|
+
'stockedOnly'?: boolean;
|
|
359
434
|
}
|
|
360
435
|
export declare const CreateApplicationTechnologyEnum: {
|
|
361
436
|
readonly Dtg: "dtg";
|
|
@@ -2493,6 +2568,78 @@ export declare class ApplicationSetsApi extends BaseAPI {
|
|
|
2493
2568
|
*/
|
|
2494
2569
|
updateApplicationSet(requestParameters: ApplicationSetsApiUpdateApplicationSetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ApplicationSet, any>>;
|
|
2495
2570
|
}
|
|
2571
|
+
/**
|
|
2572
|
+
* ApplicationTechnologiesApi - axios parameter creator
|
|
2573
|
+
* @export
|
|
2574
|
+
*/
|
|
2575
|
+
export declare const ApplicationTechnologiesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2576
|
+
/**
|
|
2577
|
+
* Lists all technologies available to this project.
|
|
2578
|
+
* @summary List technologies available to this project
|
|
2579
|
+
* @param {string} project What project it is
|
|
2580
|
+
* @param {*} [options] Override http request option.
|
|
2581
|
+
* @throws {RequiredError}
|
|
2582
|
+
*/
|
|
2583
|
+
listTechnologies: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2584
|
+
};
|
|
2585
|
+
/**
|
|
2586
|
+
* ApplicationTechnologiesApi - functional programming interface
|
|
2587
|
+
* @export
|
|
2588
|
+
*/
|
|
2589
|
+
export declare const ApplicationTechnologiesApiFp: (configuration?: Configuration) => {
|
|
2590
|
+
/**
|
|
2591
|
+
* Lists all technologies available to this project.
|
|
2592
|
+
* @summary List technologies available to this project
|
|
2593
|
+
* @param {string} project What project it is
|
|
2594
|
+
* @param {*} [options] Override http request option.
|
|
2595
|
+
* @throws {RequiredError}
|
|
2596
|
+
*/
|
|
2597
|
+
listTechnologies(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplicationTechnologiesResponse>>;
|
|
2598
|
+
};
|
|
2599
|
+
/**
|
|
2600
|
+
* ApplicationTechnologiesApi - factory interface
|
|
2601
|
+
* @export
|
|
2602
|
+
*/
|
|
2603
|
+
export declare const ApplicationTechnologiesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2604
|
+
/**
|
|
2605
|
+
* Lists all technologies available to this project.
|
|
2606
|
+
* @summary List technologies available to this project
|
|
2607
|
+
* @param {ApplicationTechnologiesApiListTechnologiesRequest} requestParameters Request parameters.
|
|
2608
|
+
* @param {*} [options] Override http request option.
|
|
2609
|
+
* @throws {RequiredError}
|
|
2610
|
+
*/
|
|
2611
|
+
listTechnologies(requestParameters: ApplicationTechnologiesApiListTechnologiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ApplicationTechnologiesResponse>;
|
|
2612
|
+
};
|
|
2613
|
+
/**
|
|
2614
|
+
* Request parameters for listTechnologies operation in ApplicationTechnologiesApi.
|
|
2615
|
+
* @export
|
|
2616
|
+
* @interface ApplicationTechnologiesApiListTechnologiesRequest
|
|
2617
|
+
*/
|
|
2618
|
+
export interface ApplicationTechnologiesApiListTechnologiesRequest {
|
|
2619
|
+
/**
|
|
2620
|
+
* What project it is
|
|
2621
|
+
* @type {string}
|
|
2622
|
+
* @memberof ApplicationTechnologiesApiListTechnologies
|
|
2623
|
+
*/
|
|
2624
|
+
readonly project: string;
|
|
2625
|
+
}
|
|
2626
|
+
/**
|
|
2627
|
+
* ApplicationTechnologiesApi - object-oriented interface
|
|
2628
|
+
* @export
|
|
2629
|
+
* @class ApplicationTechnologiesApi
|
|
2630
|
+
* @extends {BaseAPI}
|
|
2631
|
+
*/
|
|
2632
|
+
export declare class ApplicationTechnologiesApi extends BaseAPI {
|
|
2633
|
+
/**
|
|
2634
|
+
* Lists all technologies available to this project.
|
|
2635
|
+
* @summary List technologies available to this project
|
|
2636
|
+
* @param {ApplicationTechnologiesApiListTechnologiesRequest} requestParameters Request parameters.
|
|
2637
|
+
* @param {*} [options] Override http request option.
|
|
2638
|
+
* @throws {RequiredError}
|
|
2639
|
+
* @memberof ApplicationTechnologiesApi
|
|
2640
|
+
*/
|
|
2641
|
+
listTechnologies(requestParameters: ApplicationTechnologiesApiListTechnologiesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ApplicationTechnologiesResponse, any>>;
|
|
2642
|
+
}
|
|
2496
2643
|
/**
|
|
2497
2644
|
* ProductsApi - axios parameter creator
|
|
2498
2645
|
* @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.52.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.ApplicationSetsApi = exports.ApplicationSetsApiFactory = exports.ApplicationSetsApiFp = exports.ApplicationSetsApiAxiosParamCreator = exports.UpdateProductsRequestProductsInnerVariantsInnerSalePriceCurrencyCodeEnum = exports.UpdateProductsRequestProductsInnerVariantsInnerRetailPriceCurrencyCodeEnum = exports.UpdateProductsRequestProductsInnerVariantsInnerAttributesInnerNameEnum = exports.PriceCurrencyCodeEnum = exports.CreateApplicationPlacementEnum = exports.CreateApplicationTechnologyEnum = exports.AttributeThumbnailTypeEnum = exports.ApplicationPlacementEnum = exports.ApplicationTechnologyEnum = void 0;
|
|
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.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
|
|
@@ -524,6 +524,117 @@ class ApplicationSetsApi extends base_1.BaseAPI {
|
|
|
524
524
|
}
|
|
525
525
|
}
|
|
526
526
|
exports.ApplicationSetsApi = ApplicationSetsApi;
|
|
527
|
+
/**
|
|
528
|
+
* ApplicationTechnologiesApi - axios parameter creator
|
|
529
|
+
* @export
|
|
530
|
+
*/
|
|
531
|
+
const ApplicationTechnologiesApiAxiosParamCreator = function (configuration) {
|
|
532
|
+
return {
|
|
533
|
+
/**
|
|
534
|
+
* Lists all technologies available to this project.
|
|
535
|
+
* @summary List technologies available to this project
|
|
536
|
+
* @param {string} project What project it is
|
|
537
|
+
* @param {*} [options] Override http request option.
|
|
538
|
+
* @throws {RequiredError}
|
|
539
|
+
*/
|
|
540
|
+
listTechnologies: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
541
|
+
// verify required parameter 'project' is not null or undefined
|
|
542
|
+
(0, common_1.assertParamExists)('listTechnologies', 'project', project);
|
|
543
|
+
const localVarPath = `/v1/catalog/applications/technologies`;
|
|
544
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
545
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
546
|
+
let baseOptions;
|
|
547
|
+
if (configuration) {
|
|
548
|
+
baseOptions = configuration.baseOptions;
|
|
549
|
+
}
|
|
550
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
551
|
+
const localVarHeaderParameter = {};
|
|
552
|
+
const localVarQueryParameter = {};
|
|
553
|
+
// authentication session-oauth required
|
|
554
|
+
// oauth required
|
|
555
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
556
|
+
// authentication api-key required
|
|
557
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
558
|
+
if (project !== undefined) {
|
|
559
|
+
localVarQueryParameter['project'] = project;
|
|
560
|
+
}
|
|
561
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
562
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
563
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
564
|
+
return {
|
|
565
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
566
|
+
options: localVarRequestOptions,
|
|
567
|
+
};
|
|
568
|
+
}),
|
|
569
|
+
};
|
|
570
|
+
};
|
|
571
|
+
exports.ApplicationTechnologiesApiAxiosParamCreator = ApplicationTechnologiesApiAxiosParamCreator;
|
|
572
|
+
/**
|
|
573
|
+
* ApplicationTechnologiesApi - functional programming interface
|
|
574
|
+
* @export
|
|
575
|
+
*/
|
|
576
|
+
const ApplicationTechnologiesApiFp = function (configuration) {
|
|
577
|
+
const localVarAxiosParamCreator = (0, exports.ApplicationTechnologiesApiAxiosParamCreator)(configuration);
|
|
578
|
+
return {
|
|
579
|
+
/**
|
|
580
|
+
* Lists all technologies available to this project.
|
|
581
|
+
* @summary List technologies available to this project
|
|
582
|
+
* @param {string} project What project it is
|
|
583
|
+
* @param {*} [options] Override http request option.
|
|
584
|
+
* @throws {RequiredError}
|
|
585
|
+
*/
|
|
586
|
+
listTechnologies(project, options) {
|
|
587
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
588
|
+
var _a, _b, _c;
|
|
589
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTechnologies(project, options);
|
|
590
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
591
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ApplicationTechnologiesApi.listTechnologies']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
592
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
593
|
+
});
|
|
594
|
+
},
|
|
595
|
+
};
|
|
596
|
+
};
|
|
597
|
+
exports.ApplicationTechnologiesApiFp = ApplicationTechnologiesApiFp;
|
|
598
|
+
/**
|
|
599
|
+
* ApplicationTechnologiesApi - factory interface
|
|
600
|
+
* @export
|
|
601
|
+
*/
|
|
602
|
+
const ApplicationTechnologiesApiFactory = function (configuration, basePath, axios) {
|
|
603
|
+
const localVarFp = (0, exports.ApplicationTechnologiesApiFp)(configuration);
|
|
604
|
+
return {
|
|
605
|
+
/**
|
|
606
|
+
* Lists all technologies available to this project.
|
|
607
|
+
* @summary List technologies available to this project
|
|
608
|
+
* @param {ApplicationTechnologiesApiListTechnologiesRequest} requestParameters Request parameters.
|
|
609
|
+
* @param {*} [options] Override http request option.
|
|
610
|
+
* @throws {RequiredError}
|
|
611
|
+
*/
|
|
612
|
+
listTechnologies(requestParameters, options) {
|
|
613
|
+
return localVarFp.listTechnologies(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
614
|
+
},
|
|
615
|
+
};
|
|
616
|
+
};
|
|
617
|
+
exports.ApplicationTechnologiesApiFactory = ApplicationTechnologiesApiFactory;
|
|
618
|
+
/**
|
|
619
|
+
* ApplicationTechnologiesApi - object-oriented interface
|
|
620
|
+
* @export
|
|
621
|
+
* @class ApplicationTechnologiesApi
|
|
622
|
+
* @extends {BaseAPI}
|
|
623
|
+
*/
|
|
624
|
+
class ApplicationTechnologiesApi extends base_1.BaseAPI {
|
|
625
|
+
/**
|
|
626
|
+
* Lists all technologies available to this project.
|
|
627
|
+
* @summary List technologies available to this project
|
|
628
|
+
* @param {ApplicationTechnologiesApiListTechnologiesRequest} requestParameters Request parameters.
|
|
629
|
+
* @param {*} [options] Override http request option.
|
|
630
|
+
* @throws {RequiredError}
|
|
631
|
+
* @memberof ApplicationTechnologiesApi
|
|
632
|
+
*/
|
|
633
|
+
listTechnologies(requestParameters, options) {
|
|
634
|
+
return (0, exports.ApplicationTechnologiesApiFp)(this.configuration).listTechnologies(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
exports.ApplicationTechnologiesApi = ApplicationTechnologiesApi;
|
|
527
638
|
/**
|
|
528
639
|
* ProductsApi - axios parameter creator
|
|
529
640
|
* @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.52.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.52.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.52.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.52.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.52.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.52.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.52.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -81,6 +81,12 @@ export interface Application {
|
|
|
81
81
|
* @memberof Application
|
|
82
82
|
*/
|
|
83
83
|
'mockup'?: ApplicationMockup | null;
|
|
84
|
+
/**
|
|
85
|
+
* 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.
|
|
86
|
+
* @type {boolean}
|
|
87
|
+
* @memberof Application
|
|
88
|
+
*/
|
|
89
|
+
'stockedOnly'?: boolean;
|
|
84
90
|
}
|
|
85
91
|
export declare const ApplicationTechnologyEnum: {
|
|
86
92
|
readonly Dtg: "dtg";
|
|
@@ -257,6 +263,69 @@ export interface ApplicationSetsResponse {
|
|
|
257
263
|
*/
|
|
258
264
|
'nextPageToken'?: number | null;
|
|
259
265
|
}
|
|
266
|
+
/**
|
|
267
|
+
*
|
|
268
|
+
* @export
|
|
269
|
+
* @interface ApplicationTechnologiesResponse
|
|
270
|
+
*/
|
|
271
|
+
export interface ApplicationTechnologiesResponse {
|
|
272
|
+
/**
|
|
273
|
+
*
|
|
274
|
+
* @type {Array<ApplicationTechnology>}
|
|
275
|
+
* @memberof ApplicationTechnologiesResponse
|
|
276
|
+
*/
|
|
277
|
+
'applicationTechnologies'?: Array<ApplicationTechnology>;
|
|
278
|
+
}
|
|
279
|
+
/**
|
|
280
|
+
*
|
|
281
|
+
* @export
|
|
282
|
+
* @interface ApplicationTechnology
|
|
283
|
+
*/
|
|
284
|
+
export interface ApplicationTechnology {
|
|
285
|
+
/**
|
|
286
|
+
* Unique object identifier
|
|
287
|
+
* @type {string}
|
|
288
|
+
* @memberof ApplicationTechnology
|
|
289
|
+
*/
|
|
290
|
+
'id'?: string;
|
|
291
|
+
/**
|
|
292
|
+
* Name of the application technology
|
|
293
|
+
* @type {string}
|
|
294
|
+
* @memberof ApplicationTechnology
|
|
295
|
+
*/
|
|
296
|
+
'name'?: string;
|
|
297
|
+
/**
|
|
298
|
+
* Code of the application technology
|
|
299
|
+
* @type {string}
|
|
300
|
+
* @memberof ApplicationTechnology
|
|
301
|
+
*/
|
|
302
|
+
'code'?: string;
|
|
303
|
+
/**
|
|
304
|
+
*
|
|
305
|
+
* @type {ApplicationTechnologyIntegrationProduct}
|
|
306
|
+
* @memberof ApplicationTechnology
|
|
307
|
+
*/
|
|
308
|
+
'integrationProduct'?: ApplicationTechnologyIntegrationProduct;
|
|
309
|
+
}
|
|
310
|
+
/**
|
|
311
|
+
*
|
|
312
|
+
* @export
|
|
313
|
+
* @interface ApplicationTechnologyIntegrationProduct
|
|
314
|
+
*/
|
|
315
|
+
export interface ApplicationTechnologyIntegrationProduct {
|
|
316
|
+
/**
|
|
317
|
+
* SKU of the product in the integration
|
|
318
|
+
* @type {string}
|
|
319
|
+
* @memberof ApplicationTechnologyIntegrationProduct
|
|
320
|
+
*/
|
|
321
|
+
'sku'?: string;
|
|
322
|
+
/**
|
|
323
|
+
* A reference to the resource location
|
|
324
|
+
* @type {string}
|
|
325
|
+
* @memberof ApplicationTechnologyIntegrationProduct
|
|
326
|
+
*/
|
|
327
|
+
'ref'?: string;
|
|
328
|
+
}
|
|
260
329
|
/**
|
|
261
330
|
*
|
|
262
331
|
* @export
|
|
@@ -356,6 +425,12 @@ export interface CreateApplication {
|
|
|
356
425
|
* @memberof CreateApplication
|
|
357
426
|
*/
|
|
358
427
|
'src': string;
|
|
428
|
+
/**
|
|
429
|
+
* 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.
|
|
430
|
+
* @type {boolean}
|
|
431
|
+
* @memberof CreateApplication
|
|
432
|
+
*/
|
|
433
|
+
'stockedOnly'?: boolean;
|
|
359
434
|
}
|
|
360
435
|
export declare const CreateApplicationTechnologyEnum: {
|
|
361
436
|
readonly Dtg: "dtg";
|
|
@@ -2493,6 +2568,78 @@ export declare class ApplicationSetsApi extends BaseAPI {
|
|
|
2493
2568
|
*/
|
|
2494
2569
|
updateApplicationSet(requestParameters: ApplicationSetsApiUpdateApplicationSetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ApplicationSet, any>>;
|
|
2495
2570
|
}
|
|
2571
|
+
/**
|
|
2572
|
+
* ApplicationTechnologiesApi - axios parameter creator
|
|
2573
|
+
* @export
|
|
2574
|
+
*/
|
|
2575
|
+
export declare const ApplicationTechnologiesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2576
|
+
/**
|
|
2577
|
+
* Lists all technologies available to this project.
|
|
2578
|
+
* @summary List technologies available to this project
|
|
2579
|
+
* @param {string} project What project it is
|
|
2580
|
+
* @param {*} [options] Override http request option.
|
|
2581
|
+
* @throws {RequiredError}
|
|
2582
|
+
*/
|
|
2583
|
+
listTechnologies: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2584
|
+
};
|
|
2585
|
+
/**
|
|
2586
|
+
* ApplicationTechnologiesApi - functional programming interface
|
|
2587
|
+
* @export
|
|
2588
|
+
*/
|
|
2589
|
+
export declare const ApplicationTechnologiesApiFp: (configuration?: Configuration) => {
|
|
2590
|
+
/**
|
|
2591
|
+
* Lists all technologies available to this project.
|
|
2592
|
+
* @summary List technologies available to this project
|
|
2593
|
+
* @param {string} project What project it is
|
|
2594
|
+
* @param {*} [options] Override http request option.
|
|
2595
|
+
* @throws {RequiredError}
|
|
2596
|
+
*/
|
|
2597
|
+
listTechnologies(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplicationTechnologiesResponse>>;
|
|
2598
|
+
};
|
|
2599
|
+
/**
|
|
2600
|
+
* ApplicationTechnologiesApi - factory interface
|
|
2601
|
+
* @export
|
|
2602
|
+
*/
|
|
2603
|
+
export declare const ApplicationTechnologiesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2604
|
+
/**
|
|
2605
|
+
* Lists all technologies available to this project.
|
|
2606
|
+
* @summary List technologies available to this project
|
|
2607
|
+
* @param {ApplicationTechnologiesApiListTechnologiesRequest} requestParameters Request parameters.
|
|
2608
|
+
* @param {*} [options] Override http request option.
|
|
2609
|
+
* @throws {RequiredError}
|
|
2610
|
+
*/
|
|
2611
|
+
listTechnologies(requestParameters: ApplicationTechnologiesApiListTechnologiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ApplicationTechnologiesResponse>;
|
|
2612
|
+
};
|
|
2613
|
+
/**
|
|
2614
|
+
* Request parameters for listTechnologies operation in ApplicationTechnologiesApi.
|
|
2615
|
+
* @export
|
|
2616
|
+
* @interface ApplicationTechnologiesApiListTechnologiesRequest
|
|
2617
|
+
*/
|
|
2618
|
+
export interface ApplicationTechnologiesApiListTechnologiesRequest {
|
|
2619
|
+
/**
|
|
2620
|
+
* What project it is
|
|
2621
|
+
* @type {string}
|
|
2622
|
+
* @memberof ApplicationTechnologiesApiListTechnologies
|
|
2623
|
+
*/
|
|
2624
|
+
readonly project: string;
|
|
2625
|
+
}
|
|
2626
|
+
/**
|
|
2627
|
+
* ApplicationTechnologiesApi - object-oriented interface
|
|
2628
|
+
* @export
|
|
2629
|
+
* @class ApplicationTechnologiesApi
|
|
2630
|
+
* @extends {BaseAPI}
|
|
2631
|
+
*/
|
|
2632
|
+
export declare class ApplicationTechnologiesApi extends BaseAPI {
|
|
2633
|
+
/**
|
|
2634
|
+
* Lists all technologies available to this project.
|
|
2635
|
+
* @summary List technologies available to this project
|
|
2636
|
+
* @param {ApplicationTechnologiesApiListTechnologiesRequest} requestParameters Request parameters.
|
|
2637
|
+
* @param {*} [options] Override http request option.
|
|
2638
|
+
* @throws {RequiredError}
|
|
2639
|
+
* @memberof ApplicationTechnologiesApi
|
|
2640
|
+
*/
|
|
2641
|
+
listTechnologies(requestParameters: ApplicationTechnologiesApiListTechnologiesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ApplicationTechnologiesResponse, any>>;
|
|
2642
|
+
}
|
|
2496
2643
|
/**
|
|
2497
2644
|
* ProductsApi - axios parameter creator
|
|
2498
2645
|
* @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.52.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -517,6 +517,113 @@ export class ApplicationSetsApi extends BaseAPI {
|
|
|
517
517
|
return ApplicationSetsApiFp(this.configuration).updateApplicationSet(requestParameters.project, requestParameters.applicationSetId, requestParameters.updateApplicationSetRequest, options).then((request) => request(this.axios, this.basePath));
|
|
518
518
|
}
|
|
519
519
|
}
|
|
520
|
+
/**
|
|
521
|
+
* ApplicationTechnologiesApi - axios parameter creator
|
|
522
|
+
* @export
|
|
523
|
+
*/
|
|
524
|
+
export const ApplicationTechnologiesApiAxiosParamCreator = function (configuration) {
|
|
525
|
+
return {
|
|
526
|
+
/**
|
|
527
|
+
* Lists all technologies available to this project.
|
|
528
|
+
* @summary List technologies available to this project
|
|
529
|
+
* @param {string} project What project it is
|
|
530
|
+
* @param {*} [options] Override http request option.
|
|
531
|
+
* @throws {RequiredError}
|
|
532
|
+
*/
|
|
533
|
+
listTechnologies: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
534
|
+
// verify required parameter 'project' is not null or undefined
|
|
535
|
+
assertParamExists('listTechnologies', 'project', project);
|
|
536
|
+
const localVarPath = `/v1/catalog/applications/technologies`;
|
|
537
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
538
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
539
|
+
let baseOptions;
|
|
540
|
+
if (configuration) {
|
|
541
|
+
baseOptions = configuration.baseOptions;
|
|
542
|
+
}
|
|
543
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
544
|
+
const localVarHeaderParameter = {};
|
|
545
|
+
const localVarQueryParameter = {};
|
|
546
|
+
// authentication session-oauth required
|
|
547
|
+
// oauth required
|
|
548
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
549
|
+
// authentication api-key required
|
|
550
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
551
|
+
if (project !== undefined) {
|
|
552
|
+
localVarQueryParameter['project'] = project;
|
|
553
|
+
}
|
|
554
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
555
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
556
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
557
|
+
return {
|
|
558
|
+
url: toPathString(localVarUrlObj),
|
|
559
|
+
options: localVarRequestOptions,
|
|
560
|
+
};
|
|
561
|
+
}),
|
|
562
|
+
};
|
|
563
|
+
};
|
|
564
|
+
/**
|
|
565
|
+
* ApplicationTechnologiesApi - functional programming interface
|
|
566
|
+
* @export
|
|
567
|
+
*/
|
|
568
|
+
export const ApplicationTechnologiesApiFp = function (configuration) {
|
|
569
|
+
const localVarAxiosParamCreator = ApplicationTechnologiesApiAxiosParamCreator(configuration);
|
|
570
|
+
return {
|
|
571
|
+
/**
|
|
572
|
+
* Lists all technologies available to this project.
|
|
573
|
+
* @summary List technologies available to this project
|
|
574
|
+
* @param {string} project What project it is
|
|
575
|
+
* @param {*} [options] Override http request option.
|
|
576
|
+
* @throws {RequiredError}
|
|
577
|
+
*/
|
|
578
|
+
listTechnologies(project, options) {
|
|
579
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
580
|
+
var _a, _b, _c;
|
|
581
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTechnologies(project, options);
|
|
582
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
583
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ApplicationTechnologiesApi.listTechnologies']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
584
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
585
|
+
});
|
|
586
|
+
},
|
|
587
|
+
};
|
|
588
|
+
};
|
|
589
|
+
/**
|
|
590
|
+
* ApplicationTechnologiesApi - factory interface
|
|
591
|
+
* @export
|
|
592
|
+
*/
|
|
593
|
+
export const ApplicationTechnologiesApiFactory = function (configuration, basePath, axios) {
|
|
594
|
+
const localVarFp = ApplicationTechnologiesApiFp(configuration);
|
|
595
|
+
return {
|
|
596
|
+
/**
|
|
597
|
+
* Lists all technologies available to this project.
|
|
598
|
+
* @summary List technologies available to this project
|
|
599
|
+
* @param {ApplicationTechnologiesApiListTechnologiesRequest} requestParameters Request parameters.
|
|
600
|
+
* @param {*} [options] Override http request option.
|
|
601
|
+
* @throws {RequiredError}
|
|
602
|
+
*/
|
|
603
|
+
listTechnologies(requestParameters, options) {
|
|
604
|
+
return localVarFp.listTechnologies(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
605
|
+
},
|
|
606
|
+
};
|
|
607
|
+
};
|
|
608
|
+
/**
|
|
609
|
+
* ApplicationTechnologiesApi - object-oriented interface
|
|
610
|
+
* @export
|
|
611
|
+
* @class ApplicationTechnologiesApi
|
|
612
|
+
* @extends {BaseAPI}
|
|
613
|
+
*/
|
|
614
|
+
export class ApplicationTechnologiesApi extends BaseAPI {
|
|
615
|
+
/**
|
|
616
|
+
* Lists all technologies available to this project.
|
|
617
|
+
* @summary List technologies available to this project
|
|
618
|
+
* @param {ApplicationTechnologiesApiListTechnologiesRequest} requestParameters Request parameters.
|
|
619
|
+
* @param {*} [options] Override http request option.
|
|
620
|
+
* @throws {RequiredError}
|
|
621
|
+
* @memberof ApplicationTechnologiesApi
|
|
622
|
+
*/
|
|
623
|
+
listTechnologies(requestParameters, options) {
|
|
624
|
+
return ApplicationTechnologiesApiFp(this.configuration).listTechnologies(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
625
|
+
}
|
|
626
|
+
}
|
|
520
627
|
/**
|
|
521
628
|
* ProductsApi - axios parameter creator
|
|
522
629
|
* @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.52.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.52.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.52.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.52.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.52.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.52.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.52.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.52.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.52.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.52.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/docs/Application.md
CHANGED
|
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**placement** | **string** | Placement of the application. Available placements depend on the chosen product and technology. | [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. Accepts PNG and JPEG files. | [default to undefined]
|
|
12
12
|
**mockup** | [**ApplicationMockup**](ApplicationMockup.md) | | [optional] [default to undefined]
|
|
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]
|
|
13
14
|
|
|
14
15
|
## Example
|
|
15
16
|
|
|
@@ -22,6 +23,7 @@ const instance: Application = {
|
|
|
22
23
|
placement,
|
|
23
24
|
src,
|
|
24
25
|
mockup,
|
|
26
|
+
stockedOnly,
|
|
25
27
|
};
|
|
26
28
|
```
|
|
27
29
|
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# ApplicationTechnologiesApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://api.podos.io*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**listTechnologies**](#listtechnologies) | **GET** /v1/catalog/applications/technologies | List technologies available to this project|
|
|
8
|
+
|
|
9
|
+
# **listTechnologies**
|
|
10
|
+
> ApplicationTechnologiesResponse listTechnologies()
|
|
11
|
+
|
|
12
|
+
Lists all technologies available to this project.
|
|
13
|
+
|
|
14
|
+
### Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import {
|
|
18
|
+
ApplicationTechnologiesApi,
|
|
19
|
+
Configuration
|
|
20
|
+
} from '@teemill/product-catalog';
|
|
21
|
+
|
|
22
|
+
const configuration = new Configuration();
|
|
23
|
+
const apiInstance = new ApplicationTechnologiesApi(configuration);
|
|
24
|
+
|
|
25
|
+
let project: string; //What project it is (default to undefined)
|
|
26
|
+
|
|
27
|
+
const { status, data } = await apiInstance.listTechnologies(
|
|
28
|
+
project
|
|
29
|
+
);
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
### Parameters
|
|
33
|
+
|
|
34
|
+
|Name | Type | Description | Notes|
|
|
35
|
+
|------------- | ------------- | ------------- | -------------|
|
|
36
|
+
| **project** | [**string**] | What project it is | defaults to undefined|
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Return type
|
|
40
|
+
|
|
41
|
+
**ApplicationTechnologiesResponse**
|
|
42
|
+
|
|
43
|
+
### Authorization
|
|
44
|
+
|
|
45
|
+
[session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
|
|
46
|
+
|
|
47
|
+
### HTTP request headers
|
|
48
|
+
|
|
49
|
+
- **Content-Type**: Not defined
|
|
50
|
+
- **Accept**: application/json
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
### HTTP response details
|
|
54
|
+
| Status code | Description | Response headers |
|
|
55
|
+
|-------------|-------------|------------------|
|
|
56
|
+
|**200** | Successfully retrieved all application technologies. | - |
|
|
57
|
+
|**400** | Failed validation. | - |
|
|
58
|
+
|**401** | Not authorised to access this resource. | - |
|
|
59
|
+
|**403** | Refuse to authorize. | - |
|
|
60
|
+
|**500** | Unknown server error. | - |
|
|
61
|
+
|
|
62
|
+
[[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)
|
|
63
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# ApplicationTechnologiesResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**applicationTechnologies** | [**Array<ApplicationTechnology>**](ApplicationTechnology.md) | | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { ApplicationTechnologiesResponse } from '@teemill/product-catalog';
|
|
14
|
+
|
|
15
|
+
const instance: ApplicationTechnologiesResponse = {
|
|
16
|
+
applicationTechnologies,
|
|
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,26 @@
|
|
|
1
|
+
# ApplicationTechnology
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | Unique object identifier | [optional] [default to undefined]
|
|
9
|
+
**name** | **string** | Name of the application technology | [optional] [default to undefined]
|
|
10
|
+
**code** | **string** | Code of the application technology | [optional] [default to undefined]
|
|
11
|
+
**integrationProduct** | [**ApplicationTechnologyIntegrationProduct**](ApplicationTechnologyIntegrationProduct.md) | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { ApplicationTechnology } from '@teemill/product-catalog';
|
|
17
|
+
|
|
18
|
+
const instance: ApplicationTechnology = {
|
|
19
|
+
id,
|
|
20
|
+
name,
|
|
21
|
+
code,
|
|
22
|
+
integrationProduct,
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
[[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
|
+
# ApplicationTechnologyIntegrationProduct
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**sku** | **string** | SKU of the product in the integration | [optional] [default to undefined]
|
|
9
|
+
**ref** | **string** | A reference to the resource location | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { ApplicationTechnologyIntegrationProduct } from '@teemill/product-catalog';
|
|
15
|
+
|
|
16
|
+
const instance: ApplicationTechnologyIntegrationProduct = {
|
|
17
|
+
sku,
|
|
18
|
+
ref,
|
|
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)
|
|
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**technology** | **string** | Technology to use for the application. | [default to undefined]
|
|
9
9
|
**placement** | **string** | Placement of the application. Available placements depend on the chosen product and technology. | [default to undefined]
|
|
10
10
|
**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. Accepts PNG and JPEG files. | [default to undefined]
|
|
11
|
+
**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]
|
|
11
12
|
|
|
12
13
|
## Example
|
|
13
14
|
|
|
@@ -18,6 +19,7 @@ const instance: CreateApplication = {
|
|
|
18
19
|
technology,
|
|
19
20
|
placement,
|
|
20
21
|
src,
|
|
22
|
+
stockedOnly,
|
|
21
23
|
};
|
|
22
24
|
```
|
|
23
25
|
|
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.52.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|