@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.
- package/.openapi-generator/FILES +0 -1
- package/.openapi-generator/VERSION +1 -1
- package/README.md +2 -2
- package/api.ts +3 -3
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +3 -3
- package/dist/api.d.ts +1 -1
- package/dist/api.js +3 -3
- 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 +3 -3
- package/dist/esm/api.d.ts +1 -1
- package/dist/esm/api.js +3 -3
- 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 +3 -3
- 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/index.ts +1 -1
- package/package.json +2 -2
package/.openapi-generator/FILES
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.22.0
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/teemill-clients@0.1.
|
|
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.
|
|
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.
|
|
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(
|
|
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(
|
|
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
package/common.ts
CHANGED
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.
|
|
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 =
|
|
119
|
-
return mime !== null &&
|
|
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
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.
|
|
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(
|
|
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(
|
|
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
package/dist/base.js
CHANGED
package/dist/common.d.ts
CHANGED
package/dist/common.js
CHANGED
package/dist/configuration.d.ts
CHANGED
package/dist/configuration.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.
|
|
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 =
|
|
41
|
-
return mime !== null &&
|
|
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
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.
|
|
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(
|
|
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(
|
|
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;
|
package/dist/esm/base.d.ts
CHANGED
package/dist/esm/base.js
CHANGED
package/dist/esm/common.d.ts
CHANGED
package/dist/esm/common.js
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.
|
|
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 =
|
|
38
|
-
return mime !== null &&
|
|
37
|
+
const jsonMime = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
|
|
38
|
+
return mime !== null && jsonMime.test(mime);
|
|
39
39
|
}
|
|
40
40
|
}
|
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.js
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/index.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teemill/teemill-clients",
|
|
3
|
-
"version": "0.1.
|
|
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.
|
|
27
|
+
"axios": "^1.16.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/node": "12.11.5 - 12.20.42",
|