@teemill/projects 1.11.1 → 1.12.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/.openapi-generator/VERSION +1 -1
- package/README.md +2 -2
- package/dist/apis/ProjectsApi.d.ts +1 -1
- package/dist/apis/ProjectsApi.js +1 -1
- package/dist/models/ApiError.d.ts +1 -1
- package/dist/models/ApiError.js +10 -14
- package/dist/models/CreateInviteRequest.d.ts +1 -1
- package/dist/models/CreateInviteRequest.js +8 -11
- package/dist/models/CreateProjectRequest.d.ts +3 -5
- package/dist/models/CreateProjectRequest.js +12 -16
- package/dist/models/InstallTemplateRequest.d.ts +3 -5
- package/dist/models/InstallTemplateRequest.js +7 -12
- package/dist/models/Integration.d.ts +1 -1
- package/dist/models/Integration.js +14 -17
- package/dist/models/IntegrationsResponse.d.ts +1 -1
- package/dist/models/IntegrationsResponse.js +8 -11
- package/dist/models/Project.d.ts +1 -1
- package/dist/models/Project.js +16 -18
- package/dist/models/ProjectInvite.d.ts +1 -1
- package/dist/models/ProjectInvite.js +20 -19
- package/dist/models/ProjectInvites.d.ts +1 -1
- package/dist/models/ProjectInvites.js +11 -13
- package/dist/models/ProjectLogo.d.ts +1 -1
- package/dist/models/ProjectLogo.js +9 -14
- package/dist/models/ProjectUser.d.ts +16 -1
- package/dist/models/ProjectUser.js +34 -22
- package/dist/models/ProjectUserAvatar.d.ts +2 -2
- package/dist/models/ProjectUserAvatar.js +7 -12
- package/dist/models/ProjectUsers.d.ts +1 -1
- package/dist/models/ProjectUsers.js +11 -13
- package/dist/models/ProjectsResponse.d.ts +1 -1
- package/dist/models/ProjectsResponse.js +8 -11
- package/dist/models/SetupIntegrationRequest.d.ts +1 -1
- package/dist/models/SetupIntegrationRequest.js +8 -11
- package/dist/models/UpdateProjectRequest.d.ts +1 -1
- package/dist/models/UpdateProjectRequest.js +7 -12
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
- package/src/apis/ProjectsApi.ts +1 -1
- package/src/models/ApiError.ts +10 -15
- package/src/models/CreateInviteRequest.ts +8 -13
- package/src/models/CreateProjectRequest.ts +14 -19
- package/src/models/InstallTemplateRequest.ts +10 -15
- package/src/models/Integration.ts +13 -18
- package/src/models/IntegrationsResponse.ts +8 -13
- package/src/models/Project.ts +14 -19
- package/src/models/ProjectInvite.ts +16 -21
- package/src/models/ProjectInvites.ts +10 -15
- package/src/models/ProjectLogo.ts +10 -15
- package/src/models/ProjectUser.ts +38 -23
- package/src/models/ProjectUserAvatar.ts +9 -14
- package/src/models/ProjectUsers.ts +10 -15
- package/src/models/ProjectsResponse.ts +8 -13
- package/src/models/SetupIntegrationRequest.ts +8 -13
- package/src/models/UpdateProjectRequest.ts +8 -13
- package/src/runtime.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.4.0
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/projects@1.
|
|
1
|
+
## @teemill/projects@1.12.0
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). 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/projects@1.
|
|
39
|
+
npm install @teemill/projects@1.12.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Projects API
|
|
3
3
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.12.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/ProjectsApi.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Projects API
|
|
6
6
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.12.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Projects API
|
|
3
3
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.12.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/models/ApiError.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Projects API
|
|
6
6
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.12.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -14,14 +14,13 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.ApiErrorToJSON = exports.ApiErrorFromJSONTyped = exports.ApiErrorFromJSON = exports.instanceOfApiError = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
17
|
/**
|
|
19
18
|
* Check if a given object implements the ApiError interface.
|
|
20
19
|
*/
|
|
21
20
|
function instanceOfApiError(value) {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
return
|
|
21
|
+
if (!('message' in value))
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
25
24
|
}
|
|
26
25
|
exports.instanceOfApiError = instanceOfApiError;
|
|
27
26
|
function ApiErrorFromJSON(json) {
|
|
@@ -29,25 +28,22 @@ function ApiErrorFromJSON(json) {
|
|
|
29
28
|
}
|
|
30
29
|
exports.ApiErrorFromJSON = ApiErrorFromJSON;
|
|
31
30
|
function ApiErrorFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (
|
|
31
|
+
if (json == null) {
|
|
33
32
|
return json;
|
|
34
33
|
}
|
|
35
34
|
return {
|
|
36
|
-
'code':
|
|
35
|
+
'code': json['code'] == null ? undefined : json['code'],
|
|
37
36
|
'message': json['message'],
|
|
38
37
|
};
|
|
39
38
|
}
|
|
40
39
|
exports.ApiErrorFromJSONTyped = ApiErrorFromJSONTyped;
|
|
41
40
|
function ApiErrorToJSON(value) {
|
|
42
|
-
if (value
|
|
43
|
-
return
|
|
44
|
-
}
|
|
45
|
-
if (value === null) {
|
|
46
|
-
return null;
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
47
43
|
}
|
|
48
44
|
return {
|
|
49
|
-
'code': value
|
|
50
|
-
'message': value
|
|
45
|
+
'code': value['code'],
|
|
46
|
+
'message': value['message'],
|
|
51
47
|
};
|
|
52
48
|
}
|
|
53
49
|
exports.ApiErrorToJSON = ApiErrorToJSON;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Projects API
|
|
3
3
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.12.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Projects API
|
|
6
6
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.12.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -18,9 +18,9 @@ exports.CreateInviteRequestToJSON = exports.CreateInviteRequestFromJSONTyped = e
|
|
|
18
18
|
* Check if a given object implements the CreateInviteRequest interface.
|
|
19
19
|
*/
|
|
20
20
|
function instanceOfCreateInviteRequest(value) {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
return
|
|
21
|
+
if (!('email' in value))
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
24
|
}
|
|
25
25
|
exports.instanceOfCreateInviteRequest = instanceOfCreateInviteRequest;
|
|
26
26
|
function CreateInviteRequestFromJSON(json) {
|
|
@@ -28,7 +28,7 @@ function CreateInviteRequestFromJSON(json) {
|
|
|
28
28
|
}
|
|
29
29
|
exports.CreateInviteRequestFromJSON = CreateInviteRequestFromJSON;
|
|
30
30
|
function CreateInviteRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if (
|
|
31
|
+
if (json == null) {
|
|
32
32
|
return json;
|
|
33
33
|
}
|
|
34
34
|
return {
|
|
@@ -37,14 +37,11 @@ function CreateInviteRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
37
|
}
|
|
38
38
|
exports.CreateInviteRequestFromJSONTyped = CreateInviteRequestFromJSONTyped;
|
|
39
39
|
function CreateInviteRequestToJSON(value) {
|
|
40
|
-
if (value
|
|
41
|
-
return
|
|
42
|
-
}
|
|
43
|
-
if (value === null) {
|
|
44
|
-
return null;
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
45
42
|
}
|
|
46
43
|
return {
|
|
47
|
-
'email': value
|
|
44
|
+
'email': value['email'],
|
|
48
45
|
};
|
|
49
46
|
}
|
|
50
47
|
exports.CreateInviteRequestToJSON = CreateInviteRequestToJSON;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Projects API
|
|
3
3
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.12.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -29,12 +29,10 @@ export interface CreateProjectRequest {
|
|
|
29
29
|
template?: string;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
|
-
* @type {
|
|
32
|
+
* @type {object}
|
|
33
33
|
* @memberof CreateProjectRequest
|
|
34
34
|
*/
|
|
35
|
-
config?:
|
|
36
|
-
[key: string]: Array<string>;
|
|
37
|
-
};
|
|
35
|
+
config?: object;
|
|
38
36
|
}
|
|
39
37
|
/**
|
|
40
38
|
* Check if a given object implements the CreateProjectRequest interface.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Projects API
|
|
6
6
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.12.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -14,14 +14,13 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.CreateProjectRequestToJSON = exports.CreateProjectRequestFromJSONTyped = exports.CreateProjectRequestFromJSON = exports.instanceOfCreateProjectRequest = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
17
|
/**
|
|
19
18
|
* Check if a given object implements the CreateProjectRequest interface.
|
|
20
19
|
*/
|
|
21
20
|
function instanceOfCreateProjectRequest(value) {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
return
|
|
21
|
+
if (!('name' in value))
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
25
24
|
}
|
|
26
25
|
exports.instanceOfCreateProjectRequest = instanceOfCreateProjectRequest;
|
|
27
26
|
function CreateProjectRequestFromJSON(json) {
|
|
@@ -29,27 +28,24 @@ function CreateProjectRequestFromJSON(json) {
|
|
|
29
28
|
}
|
|
30
29
|
exports.CreateProjectRequestFromJSON = CreateProjectRequestFromJSON;
|
|
31
30
|
function CreateProjectRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (
|
|
31
|
+
if (json == null) {
|
|
33
32
|
return json;
|
|
34
33
|
}
|
|
35
34
|
return {
|
|
36
35
|
'name': json['name'],
|
|
37
|
-
'template':
|
|
38
|
-
'config':
|
|
36
|
+
'template': json['template'] == null ? undefined : json['template'],
|
|
37
|
+
'config': json['config'] == null ? undefined : json['config'],
|
|
39
38
|
};
|
|
40
39
|
}
|
|
41
40
|
exports.CreateProjectRequestFromJSONTyped = CreateProjectRequestFromJSONTyped;
|
|
42
41
|
function CreateProjectRequestToJSON(value) {
|
|
43
|
-
if (value
|
|
44
|
-
return
|
|
45
|
-
}
|
|
46
|
-
if (value === null) {
|
|
47
|
-
return null;
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
48
44
|
}
|
|
49
45
|
return {
|
|
50
|
-
'name': value
|
|
51
|
-
'template': value
|
|
52
|
-
'config': value
|
|
46
|
+
'name': value['name'],
|
|
47
|
+
'template': value['template'],
|
|
48
|
+
'config': value['config'],
|
|
53
49
|
};
|
|
54
50
|
}
|
|
55
51
|
exports.CreateProjectRequestToJSON = CreateProjectRequestToJSON;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Projects API
|
|
3
3
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.12.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -17,12 +17,10 @@
|
|
|
17
17
|
export interface InstallTemplateRequest {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {
|
|
20
|
+
* @type {object}
|
|
21
21
|
* @memberof InstallTemplateRequest
|
|
22
22
|
*/
|
|
23
|
-
config?:
|
|
24
|
-
[key: string]: Array<string>;
|
|
25
|
-
};
|
|
23
|
+
config?: object;
|
|
26
24
|
}
|
|
27
25
|
/**
|
|
28
26
|
* Check if a given object implements the InstallTemplateRequest interface.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Projects API
|
|
6
6
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.12.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -14,13 +14,11 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.InstallTemplateRequestToJSON = exports.InstallTemplateRequestFromJSONTyped = exports.InstallTemplateRequestFromJSON = exports.instanceOfInstallTemplateRequest = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
17
|
/**
|
|
19
18
|
* Check if a given object implements the InstallTemplateRequest interface.
|
|
20
19
|
*/
|
|
21
20
|
function instanceOfInstallTemplateRequest(value) {
|
|
22
|
-
|
|
23
|
-
return isInstance;
|
|
21
|
+
return true;
|
|
24
22
|
}
|
|
25
23
|
exports.instanceOfInstallTemplateRequest = instanceOfInstallTemplateRequest;
|
|
26
24
|
function InstallTemplateRequestFromJSON(json) {
|
|
@@ -28,23 +26,20 @@ function InstallTemplateRequestFromJSON(json) {
|
|
|
28
26
|
}
|
|
29
27
|
exports.InstallTemplateRequestFromJSON = InstallTemplateRequestFromJSON;
|
|
30
28
|
function InstallTemplateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if (
|
|
29
|
+
if (json == null) {
|
|
32
30
|
return json;
|
|
33
31
|
}
|
|
34
32
|
return {
|
|
35
|
-
'config':
|
|
33
|
+
'config': json['config'] == null ? undefined : json['config'],
|
|
36
34
|
};
|
|
37
35
|
}
|
|
38
36
|
exports.InstallTemplateRequestFromJSONTyped = InstallTemplateRequestFromJSONTyped;
|
|
39
37
|
function InstallTemplateRequestToJSON(value) {
|
|
40
|
-
if (value
|
|
41
|
-
return
|
|
42
|
-
}
|
|
43
|
-
if (value === null) {
|
|
44
|
-
return null;
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
45
40
|
}
|
|
46
41
|
return {
|
|
47
|
-
'config': value
|
|
42
|
+
'config': value['config'],
|
|
48
43
|
};
|
|
49
44
|
}
|
|
50
45
|
exports.InstallTemplateRequestToJSON = InstallTemplateRequestToJSON;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Projects API
|
|
3
3
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.12.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Projects API
|
|
6
6
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.12.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -14,15 +14,15 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.IntegrationToJSON = exports.IntegrationFromJSONTyped = exports.IntegrationFromJSON = exports.instanceOfIntegration = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
17
|
/**
|
|
19
18
|
* Check if a given object implements the Integration interface.
|
|
20
19
|
*/
|
|
21
20
|
function instanceOfIntegration(value) {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
21
|
+
if (!('code' in value))
|
|
22
|
+
return false;
|
|
23
|
+
if (!('config' in value))
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
26
|
}
|
|
27
27
|
exports.instanceOfIntegration = instanceOfIntegration;
|
|
28
28
|
function IntegrationFromJSON(json) {
|
|
@@ -30,28 +30,25 @@ function IntegrationFromJSON(json) {
|
|
|
30
30
|
}
|
|
31
31
|
exports.IntegrationFromJSON = IntegrationFromJSON;
|
|
32
32
|
function IntegrationFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (
|
|
33
|
+
if (json == null) {
|
|
34
34
|
return json;
|
|
35
35
|
}
|
|
36
36
|
return {
|
|
37
|
-
'id':
|
|
37
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
38
38
|
'code': json['code'],
|
|
39
39
|
'config': json['config'],
|
|
40
|
-
'setupAt':
|
|
40
|
+
'setupAt': json['setupAt'] == null ? undefined : (new Date(json['setupAt'])),
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
43
|
exports.IntegrationFromJSONTyped = IntegrationFromJSONTyped;
|
|
44
44
|
function IntegrationToJSON(value) {
|
|
45
|
-
if (value
|
|
46
|
-
return
|
|
47
|
-
}
|
|
48
|
-
if (value === null) {
|
|
49
|
-
return null;
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
50
47
|
}
|
|
51
48
|
return {
|
|
52
|
-
'code': value
|
|
53
|
-
'config': value
|
|
54
|
-
'setupAt': value
|
|
49
|
+
'code': value['code'],
|
|
50
|
+
'config': value['config'],
|
|
51
|
+
'setupAt': value['setupAt'] == null ? undefined : ((value['setupAt']).toISOString()),
|
|
55
52
|
};
|
|
56
53
|
}
|
|
57
54
|
exports.IntegrationToJSON = IntegrationToJSON;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Projects API
|
|
3
3
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.12.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Projects API
|
|
6
6
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.12.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -19,9 +19,9 @@ var Integration_1 = require("./Integration");
|
|
|
19
19
|
* Check if a given object implements the IntegrationsResponse interface.
|
|
20
20
|
*/
|
|
21
21
|
function instanceOfIntegrationsResponse(value) {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
return
|
|
22
|
+
if (!('integrations' in value))
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
25
|
}
|
|
26
26
|
exports.instanceOfIntegrationsResponse = instanceOfIntegrationsResponse;
|
|
27
27
|
function IntegrationsResponseFromJSON(json) {
|
|
@@ -29,7 +29,7 @@ function IntegrationsResponseFromJSON(json) {
|
|
|
29
29
|
}
|
|
30
30
|
exports.IntegrationsResponseFromJSON = IntegrationsResponseFromJSON;
|
|
31
31
|
function IntegrationsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (
|
|
32
|
+
if (json == null) {
|
|
33
33
|
return json;
|
|
34
34
|
}
|
|
35
35
|
return {
|
|
@@ -38,14 +38,11 @@ function IntegrationsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
38
|
}
|
|
39
39
|
exports.IntegrationsResponseFromJSONTyped = IntegrationsResponseFromJSONTyped;
|
|
40
40
|
function IntegrationsResponseToJSON(value) {
|
|
41
|
-
if (value
|
|
42
|
-
return
|
|
43
|
-
}
|
|
44
|
-
if (value === null) {
|
|
45
|
-
return null;
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
46
43
|
}
|
|
47
44
|
return {
|
|
48
|
-
'integrations': (value
|
|
45
|
+
'integrations': (value['integrations'].map(Integration_1.IntegrationToJSON)),
|
|
49
46
|
};
|
|
50
47
|
}
|
|
51
48
|
exports.IntegrationsResponseToJSON = IntegrationsResponseToJSON;
|
package/dist/models/Project.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Projects API
|
|
3
3
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.12.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/models/Project.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Projects API
|
|
6
6
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.12.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -14,17 +14,18 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.ProjectToJSON = exports.ProjectFromJSONTyped = exports.ProjectFromJSON = exports.instanceOfProject = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
17
|
var ProjectLogo_1 = require("./ProjectLogo");
|
|
19
18
|
/**
|
|
20
19
|
* Check if a given object implements the Project interface.
|
|
21
20
|
*/
|
|
22
21
|
function instanceOfProject(value) {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
22
|
+
if (!('id' in value))
|
|
23
|
+
return false;
|
|
24
|
+
if (!('name' in value))
|
|
25
|
+
return false;
|
|
26
|
+
if (!('logo' in value))
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
28
29
|
}
|
|
29
30
|
exports.instanceOfProject = instanceOfProject;
|
|
30
31
|
function ProjectFromJSON(json) {
|
|
@@ -32,29 +33,26 @@ function ProjectFromJSON(json) {
|
|
|
32
33
|
}
|
|
33
34
|
exports.ProjectFromJSON = ProjectFromJSON;
|
|
34
35
|
function ProjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if (
|
|
36
|
+
if (json == null) {
|
|
36
37
|
return json;
|
|
37
38
|
}
|
|
38
39
|
return {
|
|
39
40
|
'id': json['id'],
|
|
40
41
|
'name': json['name'],
|
|
41
42
|
'logo': (0, ProjectLogo_1.ProjectLogoFromJSON)(json['logo']),
|
|
42
|
-
'integrations':
|
|
43
|
+
'integrations': json['integrations'] == null ? undefined : json['integrations'],
|
|
43
44
|
};
|
|
44
45
|
}
|
|
45
46
|
exports.ProjectFromJSONTyped = ProjectFromJSONTyped;
|
|
46
47
|
function ProjectToJSON(value) {
|
|
47
|
-
if (value
|
|
48
|
-
return
|
|
49
|
-
}
|
|
50
|
-
if (value === null) {
|
|
51
|
-
return null;
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
52
50
|
}
|
|
53
51
|
return {
|
|
54
|
-
'id': value
|
|
55
|
-
'name': value
|
|
56
|
-
'logo': (0, ProjectLogo_1.ProjectLogoToJSON)(value
|
|
57
|
-
'integrations': value
|
|
52
|
+
'id': value['id'],
|
|
53
|
+
'name': value['name'],
|
|
54
|
+
'logo': (0, ProjectLogo_1.ProjectLogoToJSON)(value['logo']),
|
|
55
|
+
'integrations': value['integrations'],
|
|
58
56
|
};
|
|
59
57
|
}
|
|
60
58
|
exports.ProjectToJSON = ProjectToJSON;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Projects API
|
|
3
3
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.12.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Projects API
|
|
6
6
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.12.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -19,13 +19,17 @@ var ProjectUser_1 = require("./ProjectUser");
|
|
|
19
19
|
* Check if a given object implements the ProjectInvite interface.
|
|
20
20
|
*/
|
|
21
21
|
function instanceOfProjectInvite(value) {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
22
|
+
if (!('id' in value))
|
|
23
|
+
return false;
|
|
24
|
+
if (!('inviteeEmail' in value))
|
|
25
|
+
return false;
|
|
26
|
+
if (!('createdAt' in value))
|
|
27
|
+
return false;
|
|
28
|
+
if (!('expiresAt' in value))
|
|
29
|
+
return false;
|
|
30
|
+
if (!('inviter' in value))
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
29
33
|
}
|
|
30
34
|
exports.instanceOfProjectInvite = instanceOfProjectInvite;
|
|
31
35
|
function ProjectInviteFromJSON(json) {
|
|
@@ -33,7 +37,7 @@ function ProjectInviteFromJSON(json) {
|
|
|
33
37
|
}
|
|
34
38
|
exports.ProjectInviteFromJSON = ProjectInviteFromJSON;
|
|
35
39
|
function ProjectInviteFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
-
if (
|
|
40
|
+
if (json == null) {
|
|
37
41
|
return json;
|
|
38
42
|
}
|
|
39
43
|
return {
|
|
@@ -46,18 +50,15 @@ function ProjectInviteFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
46
50
|
}
|
|
47
51
|
exports.ProjectInviteFromJSONTyped = ProjectInviteFromJSONTyped;
|
|
48
52
|
function ProjectInviteToJSON(value) {
|
|
49
|
-
if (value
|
|
50
|
-
return
|
|
51
|
-
}
|
|
52
|
-
if (value === null) {
|
|
53
|
-
return null;
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
54
55
|
}
|
|
55
56
|
return {
|
|
56
|
-
'id': value
|
|
57
|
-
'inviteeEmail': value
|
|
58
|
-
'createdAt': value
|
|
59
|
-
'expiresAt': value
|
|
60
|
-
'inviter': (0, ProjectUser_1.ProjectUserToJSON)(value
|
|
57
|
+
'id': value['id'],
|
|
58
|
+
'inviteeEmail': value['inviteeEmail'],
|
|
59
|
+
'createdAt': value['createdAt'],
|
|
60
|
+
'expiresAt': value['expiresAt'],
|
|
61
|
+
'inviter': (0, ProjectUser_1.ProjectUserToJSON)(value['inviter']),
|
|
61
62
|
};
|
|
62
63
|
}
|
|
63
64
|
exports.ProjectInviteToJSON = ProjectInviteToJSON;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Projects API
|
|
3
3
|
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.12.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|