@teemill/platform 0.14.0 → 0.14.2

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 CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/platform@0.14.0
1
+ ## @teemill/platform@0.14.2
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/platform@0.14.0 --save
39
+ npm install @teemill/platform@0.14.2 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.14.0
7
+ * The version of the OpenAPI document: 0.14.2
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -663,6 +663,12 @@ export interface Order {
663
663
  * @memberof Order
664
664
  */
665
665
  'statusHistory'?: Array<StatusHistoryItem>;
666
+ /**
667
+ *
668
+ * @type {Project}
669
+ * @memberof Order
670
+ */
671
+ 'project': Project;
666
672
  }
667
673
 
668
674
 
@@ -682,8 +688,15 @@ export interface OrderItem {
682
688
  * Reference URL to the order item variant
683
689
  * @type {string}
684
690
  * @memberof OrderItem
691
+ * @deprecated
685
692
  */
686
693
  'variantRef': string;
694
+ /**
695
+ *
696
+ * @type {Variant1}
697
+ * @memberof OrderItem
698
+ */
699
+ 'variant': Variant1;
687
700
  /**
688
701
  * Options associated to an order item\'s variant, such as color and size.
689
702
  * @type {Array<Option>}
@@ -1359,6 +1372,25 @@ export interface ProductVariantsInner {
1359
1372
  */
1360
1373
  'ref'?: string;
1361
1374
  }
1375
+ /**
1376
+ *
1377
+ * @export
1378
+ * @interface Project
1379
+ */
1380
+ export interface Project {
1381
+ /**
1382
+ *
1383
+ * @type {string}
1384
+ * @memberof Project
1385
+ */
1386
+ 'id': string;
1387
+ /**
1388
+ * The name of the project
1389
+ * @type {string}
1390
+ * @memberof Project
1391
+ */
1392
+ 'name': string;
1393
+ }
1362
1394
  /**
1363
1395
  *
1364
1396
  * @export
@@ -1683,6 +1715,31 @@ export interface Variant {
1683
1715
  */
1684
1716
  'applications'?: Array<Application>;
1685
1717
  }
1718
+ /**
1719
+ *
1720
+ * @export
1721
+ * @interface Variant1
1722
+ */
1723
+ export interface Variant1 {
1724
+ /**
1725
+ * Unique object identifier
1726
+ * @type {string}
1727
+ * @memberof Variant1
1728
+ */
1729
+ 'id': string;
1730
+ /**
1731
+ * A reference to the resource location
1732
+ * @type {string}
1733
+ * @memberof Variant1
1734
+ */
1735
+ 'ref': string;
1736
+ /**
1737
+ * A reference to the resource location
1738
+ * @type {string}
1739
+ * @memberof Variant1
1740
+ */
1741
+ 'warehouseVariantRef': string;
1742
+ }
1686
1743
  /**
1687
1744
  *
1688
1745
  * @export
package/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.14.0
7
+ * The version of the OpenAPI document: 0.14.2
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
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.14.0
7
+ * The version of the OpenAPI document: 0.14.2
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
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.14.0
7
+ * The version of the OpenAPI document: 0.14.2
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -90,11 +90,10 @@ export class Configuration {
90
90
  this.basePath = param.basePath;
91
91
  this.serverIndex = param.serverIndex;
92
92
  this.baseOptions = {
93
+ ...param.baseOptions,
93
94
  headers: {
94
95
  ...param.baseOptions?.headers,
95
- 'User-Agent': "OpenAPI-Generator/0.14.0/typescript-axios"
96
96
  },
97
- ...param.baseOptions
98
97
  };
99
98
  this.formDataCtor = param.formDataCtor;
100
99
  }
package/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.14.0
5
+ * The version of the OpenAPI document: 0.14.2
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -651,6 +651,12 @@ export interface Order {
651
651
  * @memberof Order
652
652
  */
653
653
  'statusHistory'?: Array<StatusHistoryItem>;
654
+ /**
655
+ *
656
+ * @type {Project}
657
+ * @memberof Order
658
+ */
659
+ 'project': Project;
654
660
  }
655
661
  /**
656
662
  *
@@ -668,8 +674,15 @@ export interface OrderItem {
668
674
  * Reference URL to the order item variant
669
675
  * @type {string}
670
676
  * @memberof OrderItem
677
+ * @deprecated
671
678
  */
672
679
  'variantRef': string;
680
+ /**
681
+ *
682
+ * @type {Variant1}
683
+ * @memberof OrderItem
684
+ */
685
+ 'variant': Variant1;
673
686
  /**
674
687
  * Options associated to an order item\'s variant, such as color and size.
675
688
  * @type {Array<Option>}
@@ -1335,6 +1348,25 @@ export interface ProductVariantsInner {
1335
1348
  */
1336
1349
  'ref'?: string;
1337
1350
  }
1351
+ /**
1352
+ *
1353
+ * @export
1354
+ * @interface Project
1355
+ */
1356
+ export interface Project {
1357
+ /**
1358
+ *
1359
+ * @type {string}
1360
+ * @memberof Project
1361
+ */
1362
+ 'id': string;
1363
+ /**
1364
+ * The name of the project
1365
+ * @type {string}
1366
+ * @memberof Project
1367
+ */
1368
+ 'name': string;
1369
+ }
1338
1370
  /**
1339
1371
  *
1340
1372
  * @export
@@ -1657,6 +1689,31 @@ export interface Variant {
1657
1689
  */
1658
1690
  'applications'?: Array<Application>;
1659
1691
  }
1692
+ /**
1693
+ *
1694
+ * @export
1695
+ * @interface Variant1
1696
+ */
1697
+ export interface Variant1 {
1698
+ /**
1699
+ * Unique object identifier
1700
+ * @type {string}
1701
+ * @memberof Variant1
1702
+ */
1703
+ 'id': string;
1704
+ /**
1705
+ * A reference to the resource location
1706
+ * @type {string}
1707
+ * @memberof Variant1
1708
+ */
1709
+ 'ref': string;
1710
+ /**
1711
+ * A reference to the resource location
1712
+ * @type {string}
1713
+ * @memberof Variant1
1714
+ */
1715
+ 'warehouseVariantRef': string;
1716
+ }
1660
1717
  /**
1661
1718
  *
1662
1719
  * @export
package/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Platform API
6
6
  * Manage Your podOS platform
7
7
  *
8
- * The version of the OpenAPI document: 0.14.0
8
+ * The version of the OpenAPI document: 0.14.2
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.14.0
5
+ * The version of the OpenAPI document: 0.14.2
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
  * Platform API
6
6
  * Manage Your podOS platform
7
7
  *
8
- * The version of the OpenAPI document: 0.14.0
8
+ * The version of the OpenAPI document: 0.14.2
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
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.14.0
5
+ * The version of the OpenAPI document: 0.14.2
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -62,4 +62,4 @@ export declare const toPathString: (url: URL) => string;
62
62
  *
63
63
  * @export
64
64
  */
65
- export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
65
+ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
package/dist/common.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Platform API
6
6
  * Manage Your podOS platform
7
7
  *
8
- * The version of the OpenAPI document: 0.14.0
8
+ * The version of the OpenAPI document: 0.14.2
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.14.0
5
+ * The version of the OpenAPI document: 0.14.2
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Platform API
6
6
  * Manage Your podOS platform
7
7
  *
8
- * The version of the OpenAPI document: 0.14.0
8
+ * The version of the OpenAPI document: 0.14.2
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -23,7 +23,7 @@ class Configuration {
23
23
  this.accessToken = param.accessToken;
24
24
  this.basePath = param.basePath;
25
25
  this.serverIndex = param.serverIndex;
26
- this.baseOptions = Object.assign({ headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "OpenAPI-Generator/0.14.0/typescript-axios" }) }, param.baseOptions);
26
+ this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
27
27
  this.formDataCtor = param.formDataCtor;
28
28
  }
29
29
  /**
package/dist/esm/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.14.0
5
+ * The version of the OpenAPI document: 0.14.2
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -651,6 +651,12 @@ export interface Order {
651
651
  * @memberof Order
652
652
  */
653
653
  'statusHistory'?: Array<StatusHistoryItem>;
654
+ /**
655
+ *
656
+ * @type {Project}
657
+ * @memberof Order
658
+ */
659
+ 'project': Project;
654
660
  }
655
661
  /**
656
662
  *
@@ -668,8 +674,15 @@ export interface OrderItem {
668
674
  * Reference URL to the order item variant
669
675
  * @type {string}
670
676
  * @memberof OrderItem
677
+ * @deprecated
671
678
  */
672
679
  'variantRef': string;
680
+ /**
681
+ *
682
+ * @type {Variant1}
683
+ * @memberof OrderItem
684
+ */
685
+ 'variant': Variant1;
673
686
  /**
674
687
  * Options associated to an order item\'s variant, such as color and size.
675
688
  * @type {Array<Option>}
@@ -1335,6 +1348,25 @@ export interface ProductVariantsInner {
1335
1348
  */
1336
1349
  'ref'?: string;
1337
1350
  }
1351
+ /**
1352
+ *
1353
+ * @export
1354
+ * @interface Project
1355
+ */
1356
+ export interface Project {
1357
+ /**
1358
+ *
1359
+ * @type {string}
1360
+ * @memberof Project
1361
+ */
1362
+ 'id': string;
1363
+ /**
1364
+ * The name of the project
1365
+ * @type {string}
1366
+ * @memberof Project
1367
+ */
1368
+ 'name': string;
1369
+ }
1338
1370
  /**
1339
1371
  *
1340
1372
  * @export
@@ -1657,6 +1689,31 @@ export interface Variant {
1657
1689
  */
1658
1690
  'applications'?: Array<Application>;
1659
1691
  }
1692
+ /**
1693
+ *
1694
+ * @export
1695
+ * @interface Variant1
1696
+ */
1697
+ export interface Variant1 {
1698
+ /**
1699
+ * Unique object identifier
1700
+ * @type {string}
1701
+ * @memberof Variant1
1702
+ */
1703
+ 'id': string;
1704
+ /**
1705
+ * A reference to the resource location
1706
+ * @type {string}
1707
+ * @memberof Variant1
1708
+ */
1709
+ 'ref': string;
1710
+ /**
1711
+ * A reference to the resource location
1712
+ * @type {string}
1713
+ * @memberof Variant1
1714
+ */
1715
+ 'warehouseVariantRef': string;
1716
+ }
1660
1717
  /**
1661
1718
  *
1662
1719
  * @export
package/dist/esm/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.14.0
7
+ * The version of the OpenAPI document: 0.14.2
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
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.14.0
5
+ * The version of the OpenAPI document: 0.14.2
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
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.14.0
7
+ * The version of the OpenAPI document: 0.14.2
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
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.14.0
5
+ * The version of the OpenAPI document: 0.14.2
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -62,4 +62,4 @@ export declare const toPathString: (url: URL) => string;
62
62
  *
63
63
  * @export
64
64
  */
65
- export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
65
+ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.14.0
7
+ * The version of the OpenAPI document: 0.14.2
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
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.14.0
5
+ * The version of the OpenAPI document: 0.14.2
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
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.14.0
7
+ * The version of the OpenAPI document: 0.14.2
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -20,7 +20,7 @@ export class Configuration {
20
20
  this.accessToken = param.accessToken;
21
21
  this.basePath = param.basePath;
22
22
  this.serverIndex = param.serverIndex;
23
- this.baseOptions = Object.assign({ headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "OpenAPI-Generator/0.14.0/typescript-axios" }) }, param.baseOptions);
23
+ this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
24
24
  this.formDataCtor = param.formDataCtor;
25
25
  }
26
26
  /**
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.14.0
5
+ * The version of the OpenAPI document: 0.14.2
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
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.14.0
7
+ * The version of the OpenAPI document: 0.14.2
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
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.14.0
5
+ * The version of the OpenAPI document: 0.14.2
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
  * Platform API
6
6
  * Manage Your podOS platform
7
7
  *
8
- * The version of the OpenAPI document: 0.14.0
8
+ * The version of the OpenAPI document: 0.14.2
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/index.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.14.0
7
+ * The version of the OpenAPI document: 0.14.2
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/platform",
3
- "version": "0.14.0",
3
+ "version": "0.14.2",
4
4
  "description": "OpenAPI client for @teemill/platform",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {