@testcollab/sdk 3.9.0 → 3.10.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/dist/esm/models/Project.d.ts +6 -0
- package/dist/esm/models/Project.js +2 -0
- package/dist/esm/models/ProjectCreatePayload.d.ts +6 -0
- package/dist/esm/models/ProjectCreatePayload.js +2 -0
- package/dist/esm/models/ProjectPayload.d.ts +6 -0
- package/dist/esm/models/ProjectPayload.js +2 -0
- package/dist/models/Project.d.ts +6 -0
- package/dist/models/Project.js +2 -0
- package/dist/models/ProjectCreatePayload.d.ts +6 -0
- package/dist/models/ProjectCreatePayload.js +2 -0
- package/dist/models/ProjectPayload.d.ts +6 -0
- package/dist/models/ProjectPayload.js +2 -0
- package/docs/Project.md +2 -0
- package/docs/ProjectCreatePayload.md +2 -0
- package/docs/ProjectPayload.md +2 -0
- package/package.json +1 -1
- package/src/models/Project.ts +8 -0
- package/src/models/ProjectCreatePayload.ts +8 -0
- package/src/models/ProjectPayload.ts +8 -0
|
@@ -38,6 +38,7 @@ export function ProjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
38
|
return {
|
|
39
39
|
'id': json['id'],
|
|
40
40
|
'name': json['name'],
|
|
41
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
41
42
|
'archived': json['archived'],
|
|
42
43
|
'team': json['team'] == null ? undefined : (json['team'].map(ProjectUserMinifiedFromJSON)),
|
|
43
44
|
'activity': json['activity'] == null ? undefined : json['activity'],
|
|
@@ -56,6 +57,7 @@ export function ProjectToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
56
57
|
return {
|
|
57
58
|
'id': value['id'],
|
|
58
59
|
'name': value['name'],
|
|
60
|
+
'description': value['description'],
|
|
59
61
|
'archived': value['archived'],
|
|
60
62
|
'team': value['team'] == null ? undefined : (value['team'].map(ProjectUserMinifiedToJSON)),
|
|
61
63
|
'activity': value['activity'],
|
|
@@ -27,6 +27,12 @@ export interface ProjectCreatePayload {
|
|
|
27
27
|
* @memberof ProjectCreatePayload
|
|
28
28
|
*/
|
|
29
29
|
name: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ProjectCreatePayload
|
|
34
|
+
*/
|
|
35
|
+
description?: string;
|
|
30
36
|
/**
|
|
31
37
|
* Project ID to import users from (only allowed at the time of project create)
|
|
32
38
|
* @type {number}
|
|
@@ -31,6 +31,7 @@ export function ProjectCreatePayloadFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
31
|
return {
|
|
32
32
|
'id': json['id'] == null ? undefined : json['id'],
|
|
33
33
|
'name': json['name'],
|
|
34
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
34
35
|
'importUsers': json['importUsers'] == null ? undefined : json['importUsers'],
|
|
35
36
|
'issueManagerProfile': json['issueManagerProfile'] == null ? undefined : json['issueManagerProfile'],
|
|
36
37
|
'importIssueManagerSettings': json['importIssueManagerSettings'] == null ? undefined : json['importIssueManagerSettings'],
|
|
@@ -47,6 +48,7 @@ export function ProjectCreatePayloadToJSONTyped(value, ignoreDiscriminator = fal
|
|
|
47
48
|
return {
|
|
48
49
|
'id': value['id'],
|
|
49
50
|
'name': value['name'],
|
|
51
|
+
'description': value['description'],
|
|
50
52
|
'importUsers': value['importUsers'],
|
|
51
53
|
'issueManagerProfile': value['issueManagerProfile'],
|
|
52
54
|
'importIssueManagerSettings': value['importIssueManagerSettings'],
|
|
@@ -31,6 +31,7 @@ export function ProjectPayloadFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
31
|
return {
|
|
32
32
|
'id': json['id'] == null ? undefined : json['id'],
|
|
33
33
|
'name': json['name'],
|
|
34
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
34
35
|
'archived': json['archived'] == null ? undefined : json['archived'],
|
|
35
36
|
'company': json['company'],
|
|
36
37
|
};
|
|
@@ -45,6 +46,7 @@ export function ProjectPayloadToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
45
46
|
return {
|
|
46
47
|
'id': value['id'],
|
|
47
48
|
'name': value['name'],
|
|
49
|
+
'description': value['description'],
|
|
48
50
|
'archived': value['archived'],
|
|
49
51
|
'company': value['company'],
|
|
50
52
|
};
|
package/dist/models/Project.d.ts
CHANGED
package/dist/models/Project.js
CHANGED
|
@@ -45,6 +45,7 @@ function ProjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
45
|
return {
|
|
46
46
|
'id': json['id'],
|
|
47
47
|
'name': json['name'],
|
|
48
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
48
49
|
'archived': json['archived'],
|
|
49
50
|
'team': json['team'] == null ? undefined : (json['team'].map(ProjectUserMinified_1.ProjectUserMinifiedFromJSON)),
|
|
50
51
|
'activity': json['activity'] == null ? undefined : json['activity'],
|
|
@@ -63,6 +64,7 @@ function ProjectToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
63
64
|
return {
|
|
64
65
|
'id': value['id'],
|
|
65
66
|
'name': value['name'],
|
|
67
|
+
'description': value['description'],
|
|
66
68
|
'archived': value['archived'],
|
|
67
69
|
'team': value['team'] == null ? undefined : (value['team'].map(ProjectUserMinified_1.ProjectUserMinifiedToJSON)),
|
|
68
70
|
'activity': value['activity'],
|
|
@@ -27,6 +27,12 @@ export interface ProjectCreatePayload {
|
|
|
27
27
|
* @memberof ProjectCreatePayload
|
|
28
28
|
*/
|
|
29
29
|
name: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ProjectCreatePayload
|
|
34
|
+
*/
|
|
35
|
+
description?: string;
|
|
30
36
|
/**
|
|
31
37
|
* Project ID to import users from (only allowed at the time of project create)
|
|
32
38
|
* @type {number}
|
|
@@ -38,6 +38,7 @@ function ProjectCreatePayloadFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
38
|
return {
|
|
39
39
|
'id': json['id'] == null ? undefined : json['id'],
|
|
40
40
|
'name': json['name'],
|
|
41
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
41
42
|
'importUsers': json['importUsers'] == null ? undefined : json['importUsers'],
|
|
42
43
|
'issueManagerProfile': json['issueManagerProfile'] == null ? undefined : json['issueManagerProfile'],
|
|
43
44
|
'importIssueManagerSettings': json['importIssueManagerSettings'] == null ? undefined : json['importIssueManagerSettings'],
|
|
@@ -54,6 +55,7 @@ function ProjectCreatePayloadToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
54
55
|
return {
|
|
55
56
|
'id': value['id'],
|
|
56
57
|
'name': value['name'],
|
|
58
|
+
'description': value['description'],
|
|
57
59
|
'importUsers': value['importUsers'],
|
|
58
60
|
'issueManagerProfile': value['issueManagerProfile'],
|
|
59
61
|
'importIssueManagerSettings': value['importIssueManagerSettings'],
|
|
@@ -38,6 +38,7 @@ function ProjectPayloadFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
38
|
return {
|
|
39
39
|
'id': json['id'] == null ? undefined : json['id'],
|
|
40
40
|
'name': json['name'],
|
|
41
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
41
42
|
'archived': json['archived'] == null ? undefined : json['archived'],
|
|
42
43
|
'company': json['company'],
|
|
43
44
|
};
|
|
@@ -52,6 +53,7 @@ function ProjectPayloadToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
52
53
|
return {
|
|
53
54
|
'id': value['id'],
|
|
54
55
|
'name': value['name'],
|
|
56
|
+
'description': value['description'],
|
|
55
57
|
'archived': value['archived'],
|
|
56
58
|
'company': value['company'],
|
|
57
59
|
};
|
package/docs/Project.md
CHANGED
|
@@ -8,6 +8,7 @@ Name | Type
|
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`id` | number
|
|
10
10
|
`name` | string
|
|
11
|
+
`description` | string
|
|
11
12
|
`archived` | boolean
|
|
12
13
|
`team` | [Array<ProjectUserMinified>](ProjectUserMinified.md)
|
|
13
14
|
`activity` | string
|
|
@@ -24,6 +25,7 @@ import type { Project } from '@testcollab/sdk'
|
|
|
24
25
|
const example = {
|
|
25
26
|
"id": 1,
|
|
26
27
|
"name": Crowd Vox,
|
|
28
|
+
"description": QA workspace for the customer web app,
|
|
27
29
|
"archived": false,
|
|
28
30
|
"team": null,
|
|
29
31
|
"activity": 2017-06-05,
|
|
@@ -8,6 +8,7 @@ Name | Type
|
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`id` | number
|
|
10
10
|
`name` | string
|
|
11
|
+
`description` | string
|
|
11
12
|
`importUsers` | number
|
|
12
13
|
`issueManagerProfile` | number
|
|
13
14
|
`importIssueManagerSettings` | number
|
|
@@ -22,6 +23,7 @@ import type { ProjectCreatePayload } from '@testcollab/sdk'
|
|
|
22
23
|
const example = {
|
|
23
24
|
"id": 1,
|
|
24
25
|
"name": Crowd Vox,
|
|
26
|
+
"description": QA workspace for the customer web app,
|
|
25
27
|
"importUsers": 2,
|
|
26
28
|
"issueManagerProfile": null,
|
|
27
29
|
"importIssueManagerSettings": 2,
|
package/docs/ProjectPayload.md
CHANGED
|
@@ -8,6 +8,7 @@ Name | Type
|
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`id` | number
|
|
10
10
|
`name` | string
|
|
11
|
+
`description` | string
|
|
11
12
|
`archived` | boolean
|
|
12
13
|
`company` | number
|
|
13
14
|
|
|
@@ -20,6 +21,7 @@ import type { ProjectPayload } from '@testcollab/sdk'
|
|
|
20
21
|
const example = {
|
|
21
22
|
"id": 1,
|
|
22
23
|
"name": Crowd Vox,
|
|
24
|
+
"description": QA workspace for the customer web app,
|
|
23
25
|
"archived": false,
|
|
24
26
|
"company": 1,
|
|
25
27
|
} satisfies ProjectPayload
|
package/package.json
CHANGED
package/src/models/Project.ts
CHANGED
|
@@ -39,6 +39,12 @@ export interface Project {
|
|
|
39
39
|
* @memberof Project
|
|
40
40
|
*/
|
|
41
41
|
name: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof Project
|
|
46
|
+
*/
|
|
47
|
+
description?: string;
|
|
42
48
|
/**
|
|
43
49
|
*
|
|
44
50
|
* @type {boolean}
|
|
@@ -101,6 +107,7 @@ export function ProjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): P
|
|
|
101
107
|
|
|
102
108
|
'id': json['id'],
|
|
103
109
|
'name': json['name'],
|
|
110
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
104
111
|
'archived': json['archived'],
|
|
105
112
|
'team': json['team'] == null ? undefined : ((json['team'] as Array<any>).map(ProjectUserMinifiedFromJSON)),
|
|
106
113
|
'activity': json['activity'] == null ? undefined : json['activity'],
|
|
@@ -123,6 +130,7 @@ export function ProjectToJSONTyped(value?: Project | null, ignoreDiscriminator:
|
|
|
123
130
|
|
|
124
131
|
'id': value['id'],
|
|
125
132
|
'name': value['name'],
|
|
133
|
+
'description': value['description'],
|
|
126
134
|
'archived': value['archived'],
|
|
127
135
|
'team': value['team'] == null ? undefined : ((value['team'] as Array<any>).map(ProjectUserMinifiedToJSON)),
|
|
128
136
|
'activity': value['activity'],
|
|
@@ -31,6 +31,12 @@ export interface ProjectCreatePayload {
|
|
|
31
31
|
* @memberof ProjectCreatePayload
|
|
32
32
|
*/
|
|
33
33
|
name: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ProjectCreatePayload
|
|
38
|
+
*/
|
|
39
|
+
description?: string;
|
|
34
40
|
/**
|
|
35
41
|
* Project ID to import users from (only allowed at the time of project create)
|
|
36
42
|
* @type {number}
|
|
@@ -79,6 +85,7 @@ export function ProjectCreatePayloadFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
79
85
|
|
|
80
86
|
'id': json['id'] == null ? undefined : json['id'],
|
|
81
87
|
'name': json['name'],
|
|
88
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
82
89
|
'importUsers': json['importUsers'] == null ? undefined : json['importUsers'],
|
|
83
90
|
'issueManagerProfile': json['issueManagerProfile'] == null ? undefined : json['issueManagerProfile'],
|
|
84
91
|
'importIssueManagerSettings': json['importIssueManagerSettings'] == null ? undefined : json['importIssueManagerSettings'],
|
|
@@ -99,6 +106,7 @@ export function ProjectCreatePayloadToJSONTyped(value?: ProjectCreatePayload | n
|
|
|
99
106
|
|
|
100
107
|
'id': value['id'],
|
|
101
108
|
'name': value['name'],
|
|
109
|
+
'description': value['description'],
|
|
102
110
|
'importUsers': value['importUsers'],
|
|
103
111
|
'issueManagerProfile': value['issueManagerProfile'],
|
|
104
112
|
'importIssueManagerSettings': value['importIssueManagerSettings'],
|
|
@@ -31,6 +31,12 @@ export interface ProjectPayload {
|
|
|
31
31
|
* @memberof ProjectPayload
|
|
32
32
|
*/
|
|
33
33
|
name: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ProjectPayload
|
|
38
|
+
*/
|
|
39
|
+
description?: string;
|
|
34
40
|
/**
|
|
35
41
|
*
|
|
36
42
|
* @type {boolean}
|
|
@@ -66,6 +72,7 @@ export function ProjectPayloadFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|
|
66
72
|
|
|
67
73
|
'id': json['id'] == null ? undefined : json['id'],
|
|
68
74
|
'name': json['name'],
|
|
75
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
69
76
|
'archived': json['archived'] == null ? undefined : json['archived'],
|
|
70
77
|
'company': json['company'],
|
|
71
78
|
};
|
|
@@ -84,6 +91,7 @@ export function ProjectPayloadToJSONTyped(value?: ProjectPayload | null, ignoreD
|
|
|
84
91
|
|
|
85
92
|
'id': value['id'],
|
|
86
93
|
'name': value['name'],
|
|
94
|
+
'description': value['description'],
|
|
87
95
|
'archived': value['archived'],
|
|
88
96
|
'company': value['company'],
|
|
89
97
|
};
|