@teemill/teemill-clients 0.1.0 → 0.1.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.
@@ -1,6 +1,5 @@
1
1
  .gitignore
2
2
  .npmignore
3
- .openapi-generator-ignore
4
3
  README.md
5
4
  api.ts
6
5
  base.ts
@@ -1 +1 @@
1
- 7.21.0
1
+ 7.22.0
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/teemill-clients@0.1.0
1
+ ## @teemill/teemill-clients@0.1.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/teemill-clients@0.1.0 --save
39
+ npm install @teemill/teemill-clients@0.1.2 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Teemill Clients
5
5
  * Manage Teemill Client Projects.
6
6
  *
7
- * The version of the OpenAPI document: 0.1.0
7
+ * The version of the OpenAPI document: 0.1.2
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -62,7 +62,7 @@ export const TeemillClientsApiAxiosParamCreator = function (configuration?: Conf
62
62
  // verify required parameter 'clientId' is not null or undefined
63
63
  assertParamExists('getClient', 'clientId', clientId)
64
64
  const localVarPath = `/v1/teemill-clients/{clientId}`
65
- .replace(`{${"clientId"}}`, encodeURIComponent(String(clientId)));
65
+ .replace('{clientId}', encodeURIComponent(String(clientId)));
66
66
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
67
67
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
68
68
  let baseOptions;
@@ -113,7 +113,7 @@ export const TeemillClientsApiAxiosParamCreator = function (configuration?: Conf
113
113
  // verify required parameter 'updateClientRequest' is not null or undefined
114
114
  assertParamExists('updateClient', 'updateClientRequest', updateClientRequest)
115
115
  const localVarPath = `/v1/teemill-clients/{clientId}`
116
- .replace(`{${"clientId"}}`, encodeURIComponent(String(clientId)));
116
+ .replace('{clientId}', encodeURIComponent(String(clientId)));
117
117
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
118
118
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
119
119
  let baseOptions;
package/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Teemill Clients
5
5
  * Manage Teemill Client Projects.
6
6
  *
7
- * The version of the OpenAPI document: 0.1.0
7
+ * The version of the OpenAPI document: 0.1.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
  * Teemill Clients
5
5
  * Manage Teemill Client Projects.
6
6
  *
7
- * The version of the OpenAPI document: 0.1.0
7
+ * The version of the OpenAPI document: 0.1.2
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * Teemill Clients
4
4
  * Manage Teemill Client Projects.
5
5
  *
6
- * The version of the OpenAPI document: 0.1.0
6
+ * The version of the OpenAPI document: 0.1.2
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -115,7 +115,7 @@ export class Configuration {
115
115
  * @return True if the given MIME is JSON, false otherwise.
116
116
  */
117
117
  public isJsonMime(mime: string): boolean {
118
- const jsonMime: RegExp = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
119
- return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
118
+ const jsonMime: RegExp = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
119
+ return mime !== null && jsonMime.test(mime);
120
120
  }
121
121
  }
package/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Teemill Clients
3
3
  * Manage Teemill Client Projects.
4
4
  *
5
- * The version of the OpenAPI document: 0.1.0
5
+ * The version of the OpenAPI document: 0.1.2
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Teemill Clients
6
6
  * Manage Teemill Client Projects.
7
7
  *
8
- * The version of the OpenAPI document: 0.1.0
8
+ * The version of the OpenAPI document: 0.1.2
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -48,7 +48,7 @@ const TeemillClientsApiAxiosParamCreator = function (configuration) {
48
48
  // verify required parameter 'clientId' is not null or undefined
49
49
  (0, common_1.assertParamExists)('getClient', 'clientId', clientId);
50
50
  const localVarPath = `/v1/teemill-clients/{clientId}`
51
- .replace(`{${"clientId"}}`, encodeURIComponent(String(clientId)));
51
+ .replace('{clientId}', encodeURIComponent(String(clientId)));
52
52
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
53
53
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
54
54
  let baseOptions;
@@ -92,7 +92,7 @@ const TeemillClientsApiAxiosParamCreator = function (configuration) {
92
92
  // verify required parameter 'updateClientRequest' is not null or undefined
93
93
  (0, common_1.assertParamExists)('updateClient', 'updateClientRequest', updateClientRequest);
94
94
  const localVarPath = `/v1/teemill-clients/{clientId}`
95
- .replace(`{${"clientId"}}`, encodeURIComponent(String(clientId)));
95
+ .replace('{clientId}', encodeURIComponent(String(clientId)));
96
96
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
97
97
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
98
98
  let baseOptions;
package/dist/base.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Teemill Clients
3
3
  * Manage Teemill Client Projects.
4
4
  *
5
- * The version of the OpenAPI document: 0.1.0
5
+ * The version of the OpenAPI document: 0.1.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
  * Teemill Clients
6
6
  * Manage Teemill Client Projects.
7
7
  *
8
- * The version of the OpenAPI document: 0.1.0
8
+ * The version of the OpenAPI document: 0.1.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
  * Teemill Clients
3
3
  * Manage Teemill Client Projects.
4
4
  *
5
- * The version of the OpenAPI document: 0.1.0
5
+ * The version of the OpenAPI document: 0.1.2
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
  * Teemill Clients
6
6
  * Manage Teemill Client Projects.
7
7
  *
8
- * The version of the OpenAPI document: 0.1.0
8
+ * The version of the OpenAPI document: 0.1.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
  * Teemill Clients
3
3
  * Manage Teemill Client Projects.
4
4
  *
5
- * The version of the OpenAPI document: 0.1.0
5
+ * The version of the OpenAPI document: 0.1.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
  * Teemill Clients
5
5
  * Manage Teemill Client Projects.
6
6
  *
7
- * The version of the OpenAPI document: 0.1.0
7
+ * The version of the OpenAPI document: 0.1.2
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -37,8 +37,8 @@ class Configuration {
37
37
  * @return True if the given MIME is JSON, false otherwise.
38
38
  */
39
39
  isJsonMime(mime) {
40
- const jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
41
- return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
40
+ const jsonMime = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
41
+ return mime !== null && jsonMime.test(mime);
42
42
  }
43
43
  }
44
44
  exports.Configuration = Configuration;
package/dist/esm/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Teemill Clients
3
3
  * Manage Teemill Client Projects.
4
4
  *
5
- * The version of the OpenAPI document: 0.1.0
5
+ * The version of the OpenAPI document: 0.1.2
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Teemill Clients
5
5
  * Manage Teemill Client Projects.
6
6
  *
7
- * The version of the OpenAPI document: 0.1.0
7
+ * The version of the OpenAPI document: 0.1.2
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -45,7 +45,7 @@ export const TeemillClientsApiAxiosParamCreator = function (configuration) {
45
45
  // verify required parameter 'clientId' is not null or undefined
46
46
  assertParamExists('getClient', 'clientId', clientId);
47
47
  const localVarPath = `/v1/teemill-clients/{clientId}`
48
- .replace(`{${"clientId"}}`, encodeURIComponent(String(clientId)));
48
+ .replace('{clientId}', encodeURIComponent(String(clientId)));
49
49
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
50
50
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
51
51
  let baseOptions;
@@ -89,7 +89,7 @@ export const TeemillClientsApiAxiosParamCreator = function (configuration) {
89
89
  // verify required parameter 'updateClientRequest' is not null or undefined
90
90
  assertParamExists('updateClient', 'updateClientRequest', updateClientRequest);
91
91
  const localVarPath = `/v1/teemill-clients/{clientId}`
92
- .replace(`{${"clientId"}}`, encodeURIComponent(String(clientId)));
92
+ .replace('{clientId}', encodeURIComponent(String(clientId)));
93
93
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
94
94
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
95
95
  let baseOptions;
@@ -2,7 +2,7 @@
2
2
  * Teemill Clients
3
3
  * Manage Teemill Client Projects.
4
4
  *
5
- * The version of the OpenAPI document: 0.1.0
5
+ * The version of the OpenAPI document: 0.1.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
  * Teemill Clients
5
5
  * Manage Teemill Client Projects.
6
6
  *
7
- * The version of the OpenAPI document: 0.1.0
7
+ * The version of the OpenAPI document: 0.1.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
  * Teemill Clients
3
3
  * Manage Teemill Client Projects.
4
4
  *
5
- * The version of the OpenAPI document: 0.1.0
5
+ * The version of the OpenAPI document: 0.1.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
  * Teemill Clients
5
5
  * Manage Teemill Client Projects.
6
6
  *
7
- * The version of the OpenAPI document: 0.1.0
7
+ * The version of the OpenAPI document: 0.1.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
  * Teemill Clients
3
3
  * Manage Teemill Client Projects.
4
4
  *
5
- * The version of the OpenAPI document: 0.1.0
5
+ * The version of the OpenAPI document: 0.1.2
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3,7 +3,7 @@
3
3
  * Teemill Clients
4
4
  * Manage Teemill Client Projects.
5
5
  *
6
- * The version of the OpenAPI document: 0.1.0
6
+ * The version of the OpenAPI document: 0.1.2
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -34,7 +34,7 @@ export class Configuration {
34
34
  * @return True if the given MIME is JSON, false otherwise.
35
35
  */
36
36
  isJsonMime(mime) {
37
- const jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
38
- return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
37
+ const jsonMime = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
38
+ return mime !== null && jsonMime.test(mime);
39
39
  }
40
40
  }
@@ -2,7 +2,7 @@
2
2
  * Teemill Clients
3
3
  * Manage Teemill Client Projects.
4
4
  *
5
- * The version of the OpenAPI document: 0.1.0
5
+ * The version of the OpenAPI document: 0.1.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
  * Teemill Clients
5
5
  * Manage Teemill Client Projects.
6
6
  *
7
- * The version of the OpenAPI document: 0.1.0
7
+ * The version of the OpenAPI document: 0.1.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
  * Teemill Clients
3
3
  * Manage Teemill Client Projects.
4
4
  *
5
- * The version of the OpenAPI document: 0.1.0
5
+ * The version of the OpenAPI document: 0.1.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
  * Teemill Clients
6
6
  * Manage Teemill Client Projects.
7
7
  *
8
- * The version of the OpenAPI document: 0.1.0
8
+ * The version of the OpenAPI document: 0.1.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
  * Teemill Clients
5
5
  * Manage Teemill Client Projects.
6
6
  *
7
- * The version of the OpenAPI document: 0.1.0
7
+ * The version of the OpenAPI document: 0.1.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/teemill-clients",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "OpenAPI client for @teemill/teemill-clients",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -24,7 +24,7 @@
24
24
  "prepare": "npm run build"
25
25
  },
26
26
  "dependencies": {
27
- "axios": "1.15.0"
27
+ "axios": "^1.16.0"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@types/node": "12.11.5 - 12.20.42",