asana 3.0.2 → 3.0.4
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/.github/workflows/publish.yaml +78 -38
- package/.swagger-codegen/VERSION +1 -1
- package/README.md +140 -29
- package/codegen/templates/README.mustache +129 -26
- package/codegen/templates/api.mustache +17 -15
- package/dist/ApiClient.js +6 -7
- package/dist/api/AllocationsApi.js +307 -0
- package/dist/api/AttachmentsApi.js +22 -95
- package/dist/api/AuditLogAPIApi.js +10 -14
- package/dist/api/BatchAPIApi.js +10 -14
- package/dist/api/CustomFieldSettingsApi.js +16 -23
- package/dist/api/CustomFieldsApi.js +38 -203
- package/dist/api/EventsApi.js +12 -16
- package/dist/api/GoalRelationshipsApi.js +26 -122
- package/dist/api/GoalsApi.js +48 -239
- package/dist/api/JobsApi.js +8 -32
- package/dist/api/MembershipsApi.js +73 -99
- package/dist/api/OrganizationExportsApi.js +12 -59
- package/dist/api/PortfolioMembershipsApi.js +20 -50
- package/dist/api/PortfoliosApi.js +56 -293
- package/dist/api/ProjectBriefsApi.js +20 -113
- package/dist/api/ProjectMembershipsApi.js +14 -41
- package/dist/api/ProjectStatusesApi.js +22 -95
- package/dist/api/ProjectTemplatesApi.js +28 -104
- package/dist/api/ProjectsApi.js +88 -446
- package/dist/api/RulesApi.js +8 -32
- package/dist/api/SectionsApi.js +34 -176
- package/dist/api/StatusUpdatesApi.js +22 -95
- package/dist/api/StoriesApi.js +26 -122
- package/dist/api/TagsApi.js +42 -167
- package/dist/api/TaskTemplatesApi.js +63 -72
- package/dist/api/TasksApi.js +173 -544
- package/dist/api/TeamMembershipsApi.js +26 -59
- package/dist/api/TeamsApi.js +36 -158
- package/dist/api/TimePeriodsApi.js +14 -41
- package/dist/api/TimeTrackingEntriesApi.js +26 -122
- package/dist/api/TypeaheadApi.js +12 -16
- package/dist/api/UserTaskListsApi.js +12 -59
- package/dist/api/UsersApi.js +32 -68
- package/dist/api/WebhooksApi.js +26 -122
- package/dist/api/WorkspaceMembershipsApi.js +20 -50
- package/dist/api/WorkspacesApi.js +26 -122
- package/dist/index.js +7 -0
- package/package.json +1 -1
- package/src/ApiClient.js +4 -4
- package/src/api/AllocationsApi.js +365 -0
- package/src/api/AttachmentsApi.js +42 -134
- package/src/api/AuditLogAPIApi.js +15 -17
- package/src/api/BatchAPIApi.js +15 -17
- package/src/api/CustomFieldSettingsApi.js +28 -32
- package/src/api/CustomFieldsApi.js +78 -290
- package/src/api/EventsApi.js +17 -19
- package/src/api/GoalRelationshipsApi.js +51 -173
- package/src/api/GoalsApi.js +100 -344
- package/src/api/JobsApi.js +11 -41
- package/src/api/MembershipsApi.js +105 -138
- package/src/api/OrganizationExportsApi.js +20 -80
- package/src/api/PortfolioMembershipsApi.js +37 -71
- package/src/api/PortfoliosApi.js +118 -422
- package/src/api/ProjectBriefsApi.js +38 -158
- package/src/api/ProjectMembershipsApi.js +24 -56
- package/src/api/ProjectStatusesApi.js +42 -134
- package/src/api/ProjectTemplatesApi.js +55 -149
- package/src/api/ProjectsApi.js +189 -647
- package/src/api/RulesApi.js +11 -41
- package/src/api/SectionsApi.js +69 -251
- package/src/api/StatusUpdatesApi.js +42 -134
- package/src/api/StoriesApi.js +51 -173
- package/src/api/TagsApi.js +86 -242
- package/src/api/TaskTemplatesApi.js +86 -95
- package/src/api/TasksApi.js +330 -799
- package/src/api/TeamMembershipsApi.js +50 -86
- package/src/api/TeamsApi.js +73 -227
- package/src/api/TimePeriodsApi.js +24 -56
- package/src/api/TimeTrackingEntriesApi.js +51 -173
- package/src/api/TypeaheadApi.js +17 -19
- package/src/api/UserTaskListsApi.js +20 -80
- package/src/api/UsersApi.js +63 -101
- package/src/api/WebhooksApi.js +51 -173
- package/src/api/WorkspaceMembershipsApi.js +37 -71
- package/src/api/WorkspacesApi.js +51 -173
- package/src/index.js +9 -2
package/src/api/ProjectsApi.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8
8
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
*
|
|
10
|
-
* Swagger Codegen version: 3.0.
|
|
10
|
+
* Swagger Codegen version: 3.0.54
|
|
11
11
|
*
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*
|
|
@@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
|
|
|
18
18
|
/**
|
|
19
19
|
* Projects service.
|
|
20
20
|
* @module api/ProjectsApi
|
|
21
|
-
* @version 3.0.
|
|
21
|
+
* @version 3.0.4
|
|
22
22
|
*/
|
|
23
23
|
export class ProjectsApi {
|
|
24
24
|
|
|
@@ -76,36 +76,11 @@ export class ProjectsApi {
|
|
|
76
76
|
let accepts = ['application/json; charset=UTF-8'];
|
|
77
77
|
let returnType = 'Blob';
|
|
78
78
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
85
|
-
authNames, contentTypes, accepts, returnType
|
|
86
|
-
),
|
|
87
|
-
this.apiClient,
|
|
88
|
-
{
|
|
89
|
-
'path': '/projects/{project_gid}/addCustomFieldSetting',
|
|
90
|
-
'httpMethod': 'POST',
|
|
91
|
-
'pathParams': pathParams,
|
|
92
|
-
'queryParams': queryParams,
|
|
93
|
-
'headerParams': headerParams,
|
|
94
|
-
'formParams': formParams,
|
|
95
|
-
'bodyParam': postBody,
|
|
96
|
-
'authNames': authNames,
|
|
97
|
-
'contentTypes': contentTypes,
|
|
98
|
-
'accepts': accepts,
|
|
99
|
-
'returnType': returnType
|
|
100
|
-
}
|
|
101
|
-
)
|
|
102
|
-
} else {
|
|
103
|
-
return this.apiClient.callApi(
|
|
104
|
-
'/projects/{project_gid}/addCustomFieldSetting', 'POST',
|
|
105
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
106
|
-
authNames, contentTypes, accepts, returnType
|
|
107
|
-
);
|
|
108
|
-
}
|
|
79
|
+
return this.apiClient.callApi(
|
|
80
|
+
'/projects/{project_gid}/addCustomFieldSetting', 'POST',
|
|
81
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
82
|
+
authNames, contentTypes, accepts, returnType
|
|
83
|
+
);
|
|
109
84
|
}
|
|
110
85
|
|
|
111
86
|
/**
|
|
@@ -119,15 +94,10 @@ export class ProjectsApi {
|
|
|
119
94
|
*/
|
|
120
95
|
addCustomFieldSettingForProject(body, project_gid, opts) {
|
|
121
96
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
return this.addCustomFieldSettingForProjectWithHttpInfo(body, project_gid, opts)
|
|
127
|
-
.then(function(response_and_data) {
|
|
128
|
-
return response_and_data.data;
|
|
129
|
-
});
|
|
130
|
-
}
|
|
97
|
+
return this.addCustomFieldSettingForProjectWithHttpInfo(body, project_gid, opts)
|
|
98
|
+
.then(function(response_and_data) {
|
|
99
|
+
return response_and_data.data;
|
|
100
|
+
});
|
|
131
101
|
}
|
|
132
102
|
|
|
133
103
|
|
|
@@ -171,36 +141,11 @@ export class ProjectsApi {
|
|
|
171
141
|
let accepts = ['application/json; charset=UTF-8'];
|
|
172
142
|
let returnType = 'Blob';
|
|
173
143
|
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
180
|
-
authNames, contentTypes, accepts, returnType
|
|
181
|
-
),
|
|
182
|
-
this.apiClient,
|
|
183
|
-
{
|
|
184
|
-
'path': '/projects/{project_gid}/addFollowers',
|
|
185
|
-
'httpMethod': 'POST',
|
|
186
|
-
'pathParams': pathParams,
|
|
187
|
-
'queryParams': queryParams,
|
|
188
|
-
'headerParams': headerParams,
|
|
189
|
-
'formParams': formParams,
|
|
190
|
-
'bodyParam': postBody,
|
|
191
|
-
'authNames': authNames,
|
|
192
|
-
'contentTypes': contentTypes,
|
|
193
|
-
'accepts': accepts,
|
|
194
|
-
'returnType': returnType
|
|
195
|
-
}
|
|
196
|
-
)
|
|
197
|
-
} else {
|
|
198
|
-
return this.apiClient.callApi(
|
|
199
|
-
'/projects/{project_gid}/addFollowers', 'POST',
|
|
200
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
201
|
-
authNames, contentTypes, accepts, returnType
|
|
202
|
-
);
|
|
203
|
-
}
|
|
144
|
+
return this.apiClient.callApi(
|
|
145
|
+
'/projects/{project_gid}/addFollowers', 'POST',
|
|
146
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
147
|
+
authNames, contentTypes, accepts, returnType
|
|
148
|
+
);
|
|
204
149
|
}
|
|
205
150
|
|
|
206
151
|
/**
|
|
@@ -214,15 +159,10 @@ export class ProjectsApi {
|
|
|
214
159
|
*/
|
|
215
160
|
addFollowersForProject(body, project_gid, opts) {
|
|
216
161
|
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
return this.addFollowersForProjectWithHttpInfo(body, project_gid, opts)
|
|
222
|
-
.then(function(response_and_data) {
|
|
223
|
-
return response_and_data.data;
|
|
224
|
-
});
|
|
225
|
-
}
|
|
162
|
+
return this.addFollowersForProjectWithHttpInfo(body, project_gid, opts)
|
|
163
|
+
.then(function(response_and_data) {
|
|
164
|
+
return response_and_data.data;
|
|
165
|
+
});
|
|
226
166
|
}
|
|
227
167
|
|
|
228
168
|
|
|
@@ -266,36 +206,11 @@ export class ProjectsApi {
|
|
|
266
206
|
let accepts = ['application/json; charset=UTF-8'];
|
|
267
207
|
let returnType = 'Blob';
|
|
268
208
|
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
275
|
-
authNames, contentTypes, accepts, returnType
|
|
276
|
-
),
|
|
277
|
-
this.apiClient,
|
|
278
|
-
{
|
|
279
|
-
'path': '/projects/{project_gid}/addMembers',
|
|
280
|
-
'httpMethod': 'POST',
|
|
281
|
-
'pathParams': pathParams,
|
|
282
|
-
'queryParams': queryParams,
|
|
283
|
-
'headerParams': headerParams,
|
|
284
|
-
'formParams': formParams,
|
|
285
|
-
'bodyParam': postBody,
|
|
286
|
-
'authNames': authNames,
|
|
287
|
-
'contentTypes': contentTypes,
|
|
288
|
-
'accepts': accepts,
|
|
289
|
-
'returnType': returnType
|
|
290
|
-
}
|
|
291
|
-
)
|
|
292
|
-
} else {
|
|
293
|
-
return this.apiClient.callApi(
|
|
294
|
-
'/projects/{project_gid}/addMembers', 'POST',
|
|
295
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
296
|
-
authNames, contentTypes, accepts, returnType
|
|
297
|
-
);
|
|
298
|
-
}
|
|
209
|
+
return this.apiClient.callApi(
|
|
210
|
+
'/projects/{project_gid}/addMembers', 'POST',
|
|
211
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
212
|
+
authNames, contentTypes, accepts, returnType
|
|
213
|
+
);
|
|
299
214
|
}
|
|
300
215
|
|
|
301
216
|
/**
|
|
@@ -309,15 +224,10 @@ export class ProjectsApi {
|
|
|
309
224
|
*/
|
|
310
225
|
addMembersForProject(body, project_gid, opts) {
|
|
311
226
|
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
return this.addMembersForProjectWithHttpInfo(body, project_gid, opts)
|
|
317
|
-
.then(function(response_and_data) {
|
|
318
|
-
return response_and_data.data;
|
|
319
|
-
});
|
|
320
|
-
}
|
|
227
|
+
return this.addMembersForProjectWithHttpInfo(body, project_gid, opts)
|
|
228
|
+
.then(function(response_and_data) {
|
|
229
|
+
return response_and_data.data;
|
|
230
|
+
});
|
|
321
231
|
}
|
|
322
232
|
|
|
323
233
|
|
|
@@ -356,36 +266,11 @@ export class ProjectsApi {
|
|
|
356
266
|
let accepts = ['application/json; charset=UTF-8'];
|
|
357
267
|
let returnType = 'Blob';
|
|
358
268
|
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
365
|
-
authNames, contentTypes, accepts, returnType
|
|
366
|
-
),
|
|
367
|
-
this.apiClient,
|
|
368
|
-
{
|
|
369
|
-
'path': '/projects',
|
|
370
|
-
'httpMethod': 'POST',
|
|
371
|
-
'pathParams': pathParams,
|
|
372
|
-
'queryParams': queryParams,
|
|
373
|
-
'headerParams': headerParams,
|
|
374
|
-
'formParams': formParams,
|
|
375
|
-
'bodyParam': postBody,
|
|
376
|
-
'authNames': authNames,
|
|
377
|
-
'contentTypes': contentTypes,
|
|
378
|
-
'accepts': accepts,
|
|
379
|
-
'returnType': returnType
|
|
380
|
-
}
|
|
381
|
-
)
|
|
382
|
-
} else {
|
|
383
|
-
return this.apiClient.callApi(
|
|
384
|
-
'/projects', 'POST',
|
|
385
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
386
|
-
authNames, contentTypes, accepts, returnType
|
|
387
|
-
);
|
|
388
|
-
}
|
|
269
|
+
return this.apiClient.callApi(
|
|
270
|
+
'/projects', 'POST',
|
|
271
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
272
|
+
authNames, contentTypes, accepts, returnType
|
|
273
|
+
);
|
|
389
274
|
}
|
|
390
275
|
|
|
391
276
|
/**
|
|
@@ -398,15 +283,10 @@ export class ProjectsApi {
|
|
|
398
283
|
*/
|
|
399
284
|
createProject(body, opts) {
|
|
400
285
|
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
return this.createProjectWithHttpInfo(body, opts)
|
|
406
|
-
.then(function(response_and_data) {
|
|
407
|
-
return response_and_data.data;
|
|
408
|
-
});
|
|
409
|
-
}
|
|
286
|
+
return this.createProjectWithHttpInfo(body, opts)
|
|
287
|
+
.then(function(response_and_data) {
|
|
288
|
+
return response_and_data.data;
|
|
289
|
+
});
|
|
410
290
|
}
|
|
411
291
|
|
|
412
292
|
|
|
@@ -450,36 +330,11 @@ export class ProjectsApi {
|
|
|
450
330
|
let accepts = ['application/json; charset=UTF-8'];
|
|
451
331
|
let returnType = 'Blob';
|
|
452
332
|
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
459
|
-
authNames, contentTypes, accepts, returnType
|
|
460
|
-
),
|
|
461
|
-
this.apiClient,
|
|
462
|
-
{
|
|
463
|
-
'path': '/teams/{team_gid}/projects',
|
|
464
|
-
'httpMethod': 'POST',
|
|
465
|
-
'pathParams': pathParams,
|
|
466
|
-
'queryParams': queryParams,
|
|
467
|
-
'headerParams': headerParams,
|
|
468
|
-
'formParams': formParams,
|
|
469
|
-
'bodyParam': postBody,
|
|
470
|
-
'authNames': authNames,
|
|
471
|
-
'contentTypes': contentTypes,
|
|
472
|
-
'accepts': accepts,
|
|
473
|
-
'returnType': returnType
|
|
474
|
-
}
|
|
475
|
-
)
|
|
476
|
-
} else {
|
|
477
|
-
return this.apiClient.callApi(
|
|
478
|
-
'/teams/{team_gid}/projects', 'POST',
|
|
479
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
480
|
-
authNames, contentTypes, accepts, returnType
|
|
481
|
-
);
|
|
482
|
-
}
|
|
333
|
+
return this.apiClient.callApi(
|
|
334
|
+
'/teams/{team_gid}/projects', 'POST',
|
|
335
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
336
|
+
authNames, contentTypes, accepts, returnType
|
|
337
|
+
);
|
|
483
338
|
}
|
|
484
339
|
|
|
485
340
|
/**
|
|
@@ -493,15 +348,10 @@ export class ProjectsApi {
|
|
|
493
348
|
*/
|
|
494
349
|
createProjectForTeam(body, team_gid, opts) {
|
|
495
350
|
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
return this.createProjectForTeamWithHttpInfo(body, team_gid, opts)
|
|
501
|
-
.then(function(response_and_data) {
|
|
502
|
-
return response_and_data.data;
|
|
503
|
-
});
|
|
504
|
-
}
|
|
351
|
+
return this.createProjectForTeamWithHttpInfo(body, team_gid, opts)
|
|
352
|
+
.then(function(response_and_data) {
|
|
353
|
+
return response_and_data.data;
|
|
354
|
+
});
|
|
505
355
|
}
|
|
506
356
|
|
|
507
357
|
|
|
@@ -545,36 +395,11 @@ export class ProjectsApi {
|
|
|
545
395
|
let accepts = ['application/json; charset=UTF-8'];
|
|
546
396
|
let returnType = 'Blob';
|
|
547
397
|
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
554
|
-
authNames, contentTypes, accepts, returnType
|
|
555
|
-
),
|
|
556
|
-
this.apiClient,
|
|
557
|
-
{
|
|
558
|
-
'path': '/workspaces/{workspace_gid}/projects',
|
|
559
|
-
'httpMethod': 'POST',
|
|
560
|
-
'pathParams': pathParams,
|
|
561
|
-
'queryParams': queryParams,
|
|
562
|
-
'headerParams': headerParams,
|
|
563
|
-
'formParams': formParams,
|
|
564
|
-
'bodyParam': postBody,
|
|
565
|
-
'authNames': authNames,
|
|
566
|
-
'contentTypes': contentTypes,
|
|
567
|
-
'accepts': accepts,
|
|
568
|
-
'returnType': returnType
|
|
569
|
-
}
|
|
570
|
-
)
|
|
571
|
-
} else {
|
|
572
|
-
return this.apiClient.callApi(
|
|
573
|
-
'/workspaces/{workspace_gid}/projects', 'POST',
|
|
574
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
575
|
-
authNames, contentTypes, accepts, returnType
|
|
576
|
-
);
|
|
577
|
-
}
|
|
398
|
+
return this.apiClient.callApi(
|
|
399
|
+
'/workspaces/{workspace_gid}/projects', 'POST',
|
|
400
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
401
|
+
authNames, contentTypes, accepts, returnType
|
|
402
|
+
);
|
|
578
403
|
}
|
|
579
404
|
|
|
580
405
|
/**
|
|
@@ -588,15 +413,10 @@ export class ProjectsApi {
|
|
|
588
413
|
*/
|
|
589
414
|
createProjectForWorkspace(body, workspace_gid, opts) {
|
|
590
415
|
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
return this.createProjectForWorkspaceWithHttpInfo(body, workspace_gid, opts)
|
|
596
|
-
.then(function(response_and_data) {
|
|
597
|
-
return response_and_data.data;
|
|
598
|
-
});
|
|
599
|
-
}
|
|
416
|
+
return this.createProjectForWorkspaceWithHttpInfo(body, workspace_gid, opts)
|
|
417
|
+
.then(function(response_and_data) {
|
|
418
|
+
return response_and_data.data;
|
|
419
|
+
});
|
|
600
420
|
}
|
|
601
421
|
|
|
602
422
|
|
|
@@ -631,36 +451,11 @@ export class ProjectsApi {
|
|
|
631
451
|
let accepts = ['application/json; charset=UTF-8'];
|
|
632
452
|
let returnType = 'Blob';
|
|
633
453
|
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
640
|
-
authNames, contentTypes, accepts, returnType
|
|
641
|
-
),
|
|
642
|
-
this.apiClient,
|
|
643
|
-
{
|
|
644
|
-
'path': '/projects/{project_gid}',
|
|
645
|
-
'httpMethod': 'DELETE',
|
|
646
|
-
'pathParams': pathParams,
|
|
647
|
-
'queryParams': queryParams,
|
|
648
|
-
'headerParams': headerParams,
|
|
649
|
-
'formParams': formParams,
|
|
650
|
-
'bodyParam': postBody,
|
|
651
|
-
'authNames': authNames,
|
|
652
|
-
'contentTypes': contentTypes,
|
|
653
|
-
'accepts': accepts,
|
|
654
|
-
'returnType': returnType
|
|
655
|
-
}
|
|
656
|
-
)
|
|
657
|
-
} else {
|
|
658
|
-
return this.apiClient.callApi(
|
|
659
|
-
'/projects/{project_gid}', 'DELETE',
|
|
660
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
661
|
-
authNames, contentTypes, accepts, returnType
|
|
662
|
-
);
|
|
663
|
-
}
|
|
454
|
+
return this.apiClient.callApi(
|
|
455
|
+
'/projects/{project_gid}', 'DELETE',
|
|
456
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
457
|
+
authNames, contentTypes, accepts, returnType
|
|
458
|
+
);
|
|
664
459
|
}
|
|
665
460
|
|
|
666
461
|
/**
|
|
@@ -671,15 +466,10 @@ export class ProjectsApi {
|
|
|
671
466
|
*/
|
|
672
467
|
deleteProject(project_gid) {
|
|
673
468
|
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
return this.deleteProjectWithHttpInfo(project_gid)
|
|
679
|
-
.then(function(response_and_data) {
|
|
680
|
-
return response_and_data.data;
|
|
681
|
-
});
|
|
682
|
-
}
|
|
469
|
+
return this.deleteProjectWithHttpInfo(project_gid)
|
|
470
|
+
.then(function(response_and_data) {
|
|
471
|
+
return response_and_data.data;
|
|
472
|
+
});
|
|
683
473
|
}
|
|
684
474
|
|
|
685
475
|
|
|
@@ -719,36 +509,11 @@ export class ProjectsApi {
|
|
|
719
509
|
let accepts = ['application/json; charset=UTF-8'];
|
|
720
510
|
let returnType = 'Blob';
|
|
721
511
|
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
728
|
-
authNames, contentTypes, accepts, returnType
|
|
729
|
-
),
|
|
730
|
-
this.apiClient,
|
|
731
|
-
{
|
|
732
|
-
'path': '/projects/{project_gid}/duplicate',
|
|
733
|
-
'httpMethod': 'POST',
|
|
734
|
-
'pathParams': pathParams,
|
|
735
|
-
'queryParams': queryParams,
|
|
736
|
-
'headerParams': headerParams,
|
|
737
|
-
'formParams': formParams,
|
|
738
|
-
'bodyParam': postBody,
|
|
739
|
-
'authNames': authNames,
|
|
740
|
-
'contentTypes': contentTypes,
|
|
741
|
-
'accepts': accepts,
|
|
742
|
-
'returnType': returnType
|
|
743
|
-
}
|
|
744
|
-
)
|
|
745
|
-
} else {
|
|
746
|
-
return this.apiClient.callApi(
|
|
747
|
-
'/projects/{project_gid}/duplicate', 'POST',
|
|
748
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
749
|
-
authNames, contentTypes, accepts, returnType
|
|
750
|
-
);
|
|
751
|
-
}
|
|
512
|
+
return this.apiClient.callApi(
|
|
513
|
+
'/projects/{project_gid}/duplicate', 'POST',
|
|
514
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
515
|
+
authNames, contentTypes, accepts, returnType
|
|
516
|
+
);
|
|
752
517
|
}
|
|
753
518
|
|
|
754
519
|
/**
|
|
@@ -762,15 +527,10 @@ export class ProjectsApi {
|
|
|
762
527
|
*/
|
|
763
528
|
duplicateProject(project_gid, opts) {
|
|
764
529
|
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
return this.duplicateProjectWithHttpInfo(project_gid, opts)
|
|
770
|
-
.then(function(response_and_data) {
|
|
771
|
-
return response_and_data.data;
|
|
772
|
-
});
|
|
773
|
-
}
|
|
530
|
+
return this.duplicateProjectWithHttpInfo(project_gid, opts)
|
|
531
|
+
.then(function(response_and_data) {
|
|
532
|
+
return response_and_data.data;
|
|
533
|
+
});
|
|
774
534
|
}
|
|
775
535
|
|
|
776
536
|
|
|
@@ -809,36 +569,11 @@ export class ProjectsApi {
|
|
|
809
569
|
let accepts = ['application/json; charset=UTF-8'];
|
|
810
570
|
let returnType = 'Blob';
|
|
811
571
|
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
818
|
-
authNames, contentTypes, accepts, returnType
|
|
819
|
-
),
|
|
820
|
-
this.apiClient,
|
|
821
|
-
{
|
|
822
|
-
'path': '/projects/{project_gid}',
|
|
823
|
-
'httpMethod': 'GET',
|
|
824
|
-
'pathParams': pathParams,
|
|
825
|
-
'queryParams': queryParams,
|
|
826
|
-
'headerParams': headerParams,
|
|
827
|
-
'formParams': formParams,
|
|
828
|
-
'bodyParam': postBody,
|
|
829
|
-
'authNames': authNames,
|
|
830
|
-
'contentTypes': contentTypes,
|
|
831
|
-
'accepts': accepts,
|
|
832
|
-
'returnType': returnType
|
|
833
|
-
}
|
|
834
|
-
)
|
|
835
|
-
} else {
|
|
836
|
-
return this.apiClient.callApi(
|
|
837
|
-
'/projects/{project_gid}', 'GET',
|
|
838
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
839
|
-
authNames, contentTypes, accepts, returnType
|
|
840
|
-
);
|
|
841
|
-
}
|
|
572
|
+
return this.apiClient.callApi(
|
|
573
|
+
'/projects/{project_gid}', 'GET',
|
|
574
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
575
|
+
authNames, contentTypes, accepts, returnType
|
|
576
|
+
);
|
|
842
577
|
}
|
|
843
578
|
|
|
844
579
|
/**
|
|
@@ -851,15 +586,10 @@ export class ProjectsApi {
|
|
|
851
586
|
*/
|
|
852
587
|
getProject(project_gid, opts) {
|
|
853
588
|
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
return this.getProjectWithHttpInfo(project_gid, opts)
|
|
859
|
-
.then(function(response_and_data) {
|
|
860
|
-
return response_and_data.data;
|
|
861
|
-
});
|
|
862
|
-
}
|
|
589
|
+
return this.getProjectWithHttpInfo(project_gid, opts)
|
|
590
|
+
.then(function(response_and_data) {
|
|
591
|
+
return response_and_data.data;
|
|
592
|
+
});
|
|
863
593
|
}
|
|
864
594
|
|
|
865
595
|
|
|
@@ -897,9 +627,8 @@ export class ProjectsApi {
|
|
|
897
627
|
let contentTypes = [];
|
|
898
628
|
let accepts = ['application/json; charset=UTF-8'];
|
|
899
629
|
let returnType = 'Blob';
|
|
900
|
-
|
|
901
630
|
// Check if RETURN_COLLECTION is set and return a collection object if it is
|
|
902
|
-
if (this.apiClient.RETURN_COLLECTION
|
|
631
|
+
if (this.apiClient.RETURN_COLLECTION) {
|
|
903
632
|
return Collection.fromApiClient(
|
|
904
633
|
this.apiClient.callApi(
|
|
905
634
|
'/projects', 'GET',
|
|
@@ -921,13 +650,13 @@ export class ProjectsApi {
|
|
|
921
650
|
'returnType': returnType
|
|
922
651
|
}
|
|
923
652
|
)
|
|
924
|
-
} else {
|
|
925
|
-
return this.apiClient.callApi(
|
|
926
|
-
'/projects', 'GET',
|
|
927
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
928
|
-
authNames, contentTypes, accepts, returnType
|
|
929
|
-
);
|
|
930
653
|
}
|
|
654
|
+
|
|
655
|
+
return this.apiClient.callApi(
|
|
656
|
+
'/projects', 'GET',
|
|
657
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
658
|
+
authNames, contentTypes, accepts, returnType
|
|
659
|
+
);
|
|
931
660
|
}
|
|
932
661
|
|
|
933
662
|
/**
|
|
@@ -943,16 +672,15 @@ export class ProjectsApi {
|
|
|
943
672
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ProjectResponseArray}
|
|
944
673
|
*/
|
|
945
674
|
getProjects(opts) {
|
|
946
|
-
|
|
947
675
|
// Check if RETURN_COLLECTION is set and return a collection object if it is
|
|
948
|
-
if (this.apiClient.RETURN_COLLECTION
|
|
949
|
-
return this.getProjectsWithHttpInfo(opts)
|
|
950
|
-
} else {
|
|
676
|
+
if (this.apiClient.RETURN_COLLECTION) {
|
|
951
677
|
return this.getProjectsWithHttpInfo(opts)
|
|
952
|
-
.then(function(response_and_data) {
|
|
953
|
-
return response_and_data.data;
|
|
954
|
-
});
|
|
955
678
|
}
|
|
679
|
+
|
|
680
|
+
return this.getProjectsWithHttpInfo(opts)
|
|
681
|
+
.then(function(response_and_data) {
|
|
682
|
+
return response_and_data.data;
|
|
683
|
+
});
|
|
956
684
|
}
|
|
957
685
|
|
|
958
686
|
|
|
@@ -992,9 +720,8 @@ export class ProjectsApi {
|
|
|
992
720
|
let contentTypes = [];
|
|
993
721
|
let accepts = ['application/json; charset=UTF-8'];
|
|
994
722
|
let returnType = 'Blob';
|
|
995
|
-
|
|
996
723
|
// Check if RETURN_COLLECTION is set and return a collection object if it is
|
|
997
|
-
if (this.apiClient.RETURN_COLLECTION
|
|
724
|
+
if (this.apiClient.RETURN_COLLECTION) {
|
|
998
725
|
return Collection.fromApiClient(
|
|
999
726
|
this.apiClient.callApi(
|
|
1000
727
|
'/tasks/{task_gid}/projects', 'GET',
|
|
@@ -1016,13 +743,13 @@ export class ProjectsApi {
|
|
|
1016
743
|
'returnType': returnType
|
|
1017
744
|
}
|
|
1018
745
|
)
|
|
1019
|
-
} else {
|
|
1020
|
-
return this.apiClient.callApi(
|
|
1021
|
-
'/tasks/{task_gid}/projects', 'GET',
|
|
1022
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1023
|
-
authNames, contentTypes, accepts, returnType
|
|
1024
|
-
);
|
|
1025
746
|
}
|
|
747
|
+
|
|
748
|
+
return this.apiClient.callApi(
|
|
749
|
+
'/tasks/{task_gid}/projects', 'GET',
|
|
750
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
751
|
+
authNames, contentTypes, accepts, returnType
|
|
752
|
+
);
|
|
1026
753
|
}
|
|
1027
754
|
|
|
1028
755
|
/**
|
|
@@ -1036,16 +763,15 @@ export class ProjectsApi {
|
|
|
1036
763
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ProjectResponseArray}
|
|
1037
764
|
*/
|
|
1038
765
|
getProjectsForTask(task_gid, opts) {
|
|
1039
|
-
|
|
1040
766
|
// Check if RETURN_COLLECTION is set and return a collection object if it is
|
|
1041
|
-
if (this.apiClient.RETURN_COLLECTION
|
|
767
|
+
if (this.apiClient.RETURN_COLLECTION) {
|
|
1042
768
|
return this.getProjectsForTaskWithHttpInfo(task_gid, opts)
|
|
1043
|
-
} else {
|
|
1044
|
-
return this.getProjectsForTaskWithHttpInfo(task_gid, opts)
|
|
1045
|
-
.then(function(response_and_data) {
|
|
1046
|
-
return response_and_data.data;
|
|
1047
|
-
});
|
|
1048
769
|
}
|
|
770
|
+
|
|
771
|
+
return this.getProjectsForTaskWithHttpInfo(task_gid, opts)
|
|
772
|
+
.then(function(response_and_data) {
|
|
773
|
+
return response_and_data.data;
|
|
774
|
+
});
|
|
1049
775
|
}
|
|
1050
776
|
|
|
1051
777
|
|
|
@@ -1086,9 +812,8 @@ export class ProjectsApi {
|
|
|
1086
812
|
let contentTypes = [];
|
|
1087
813
|
let accepts = ['application/json; charset=UTF-8'];
|
|
1088
814
|
let returnType = 'Blob';
|
|
1089
|
-
|
|
1090
815
|
// Check if RETURN_COLLECTION is set and return a collection object if it is
|
|
1091
|
-
if (this.apiClient.RETURN_COLLECTION
|
|
816
|
+
if (this.apiClient.RETURN_COLLECTION) {
|
|
1092
817
|
return Collection.fromApiClient(
|
|
1093
818
|
this.apiClient.callApi(
|
|
1094
819
|
'/teams/{team_gid}/projects', 'GET',
|
|
@@ -1110,13 +835,13 @@ export class ProjectsApi {
|
|
|
1110
835
|
'returnType': returnType
|
|
1111
836
|
}
|
|
1112
837
|
)
|
|
1113
|
-
} else {
|
|
1114
|
-
return this.apiClient.callApi(
|
|
1115
|
-
'/teams/{team_gid}/projects', 'GET',
|
|
1116
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1117
|
-
authNames, contentTypes, accepts, returnType
|
|
1118
|
-
);
|
|
1119
838
|
}
|
|
839
|
+
|
|
840
|
+
return this.apiClient.callApi(
|
|
841
|
+
'/teams/{team_gid}/projects', 'GET',
|
|
842
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
843
|
+
authNames, contentTypes, accepts, returnType
|
|
844
|
+
);
|
|
1120
845
|
}
|
|
1121
846
|
|
|
1122
847
|
/**
|
|
@@ -1131,16 +856,15 @@ export class ProjectsApi {
|
|
|
1131
856
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ProjectResponseArray}
|
|
1132
857
|
*/
|
|
1133
858
|
getProjectsForTeam(team_gid, opts) {
|
|
1134
|
-
|
|
1135
859
|
// Check if RETURN_COLLECTION is set and return a collection object if it is
|
|
1136
|
-
if (this.apiClient.RETURN_COLLECTION
|
|
860
|
+
if (this.apiClient.RETURN_COLLECTION) {
|
|
1137
861
|
return this.getProjectsForTeamWithHttpInfo(team_gid, opts)
|
|
1138
|
-
} else {
|
|
1139
|
-
return this.getProjectsForTeamWithHttpInfo(team_gid, opts)
|
|
1140
|
-
.then(function(response_and_data) {
|
|
1141
|
-
return response_and_data.data;
|
|
1142
|
-
});
|
|
1143
862
|
}
|
|
863
|
+
|
|
864
|
+
return this.getProjectsForTeamWithHttpInfo(team_gid, opts)
|
|
865
|
+
.then(function(response_and_data) {
|
|
866
|
+
return response_and_data.data;
|
|
867
|
+
});
|
|
1144
868
|
}
|
|
1145
869
|
|
|
1146
870
|
|
|
@@ -1181,9 +905,8 @@ export class ProjectsApi {
|
|
|
1181
905
|
let contentTypes = [];
|
|
1182
906
|
let accepts = ['application/json; charset=UTF-8'];
|
|
1183
907
|
let returnType = 'Blob';
|
|
1184
|
-
|
|
1185
908
|
// Check if RETURN_COLLECTION is set and return a collection object if it is
|
|
1186
|
-
if (this.apiClient.RETURN_COLLECTION
|
|
909
|
+
if (this.apiClient.RETURN_COLLECTION) {
|
|
1187
910
|
return Collection.fromApiClient(
|
|
1188
911
|
this.apiClient.callApi(
|
|
1189
912
|
'/workspaces/{workspace_gid}/projects', 'GET',
|
|
@@ -1205,13 +928,13 @@ export class ProjectsApi {
|
|
|
1205
928
|
'returnType': returnType
|
|
1206
929
|
}
|
|
1207
930
|
)
|
|
1208
|
-
} else {
|
|
1209
|
-
return this.apiClient.callApi(
|
|
1210
|
-
'/workspaces/{workspace_gid}/projects', 'GET',
|
|
1211
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1212
|
-
authNames, contentTypes, accepts, returnType
|
|
1213
|
-
);
|
|
1214
931
|
}
|
|
932
|
+
|
|
933
|
+
return this.apiClient.callApi(
|
|
934
|
+
'/workspaces/{workspace_gid}/projects', 'GET',
|
|
935
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
936
|
+
authNames, contentTypes, accepts, returnType
|
|
937
|
+
);
|
|
1215
938
|
}
|
|
1216
939
|
|
|
1217
940
|
/**
|
|
@@ -1226,16 +949,15 @@ export class ProjectsApi {
|
|
|
1226
949
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ProjectResponseArray}
|
|
1227
950
|
*/
|
|
1228
951
|
getProjectsForWorkspace(workspace_gid, opts) {
|
|
1229
|
-
|
|
1230
952
|
// Check if RETURN_COLLECTION is set and return a collection object if it is
|
|
1231
|
-
if (this.apiClient.RETURN_COLLECTION
|
|
1232
|
-
return this.getProjectsForWorkspaceWithHttpInfo(workspace_gid, opts)
|
|
1233
|
-
} else {
|
|
953
|
+
if (this.apiClient.RETURN_COLLECTION) {
|
|
1234
954
|
return this.getProjectsForWorkspaceWithHttpInfo(workspace_gid, opts)
|
|
1235
|
-
.then(function(response_and_data) {
|
|
1236
|
-
return response_and_data.data;
|
|
1237
|
-
});
|
|
1238
955
|
}
|
|
956
|
+
|
|
957
|
+
return this.getProjectsForWorkspaceWithHttpInfo(workspace_gid, opts)
|
|
958
|
+
.then(function(response_and_data) {
|
|
959
|
+
return response_and_data.data;
|
|
960
|
+
});
|
|
1239
961
|
}
|
|
1240
962
|
|
|
1241
963
|
|
|
@@ -1274,36 +996,11 @@ export class ProjectsApi {
|
|
|
1274
996
|
let accepts = ['application/json; charset=UTF-8'];
|
|
1275
997
|
let returnType = 'Blob';
|
|
1276
998
|
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1283
|
-
authNames, contentTypes, accepts, returnType
|
|
1284
|
-
),
|
|
1285
|
-
this.apiClient,
|
|
1286
|
-
{
|
|
1287
|
-
'path': '/projects/{project_gid}/task_counts',
|
|
1288
|
-
'httpMethod': 'GET',
|
|
1289
|
-
'pathParams': pathParams,
|
|
1290
|
-
'queryParams': queryParams,
|
|
1291
|
-
'headerParams': headerParams,
|
|
1292
|
-
'formParams': formParams,
|
|
1293
|
-
'bodyParam': postBody,
|
|
1294
|
-
'authNames': authNames,
|
|
1295
|
-
'contentTypes': contentTypes,
|
|
1296
|
-
'accepts': accepts,
|
|
1297
|
-
'returnType': returnType
|
|
1298
|
-
}
|
|
1299
|
-
)
|
|
1300
|
-
} else {
|
|
1301
|
-
return this.apiClient.callApi(
|
|
1302
|
-
'/projects/{project_gid}/task_counts', 'GET',
|
|
1303
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1304
|
-
authNames, contentTypes, accepts, returnType
|
|
1305
|
-
);
|
|
1306
|
-
}
|
|
999
|
+
return this.apiClient.callApi(
|
|
1000
|
+
'/projects/{project_gid}/task_counts', 'GET',
|
|
1001
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1002
|
+
authNames, contentTypes, accepts, returnType
|
|
1003
|
+
);
|
|
1307
1004
|
}
|
|
1308
1005
|
|
|
1309
1006
|
/**
|
|
@@ -1316,15 +1013,10 @@ export class ProjectsApi {
|
|
|
1316
1013
|
*/
|
|
1317
1014
|
getTaskCountsForProject(project_gid, opts) {
|
|
1318
1015
|
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
return this.getTaskCountsForProjectWithHttpInfo(project_gid, opts)
|
|
1324
|
-
.then(function(response_and_data) {
|
|
1325
|
-
return response_and_data.data;
|
|
1326
|
-
});
|
|
1327
|
-
}
|
|
1016
|
+
return this.getTaskCountsForProjectWithHttpInfo(project_gid, opts)
|
|
1017
|
+
.then(function(response_and_data) {
|
|
1018
|
+
return response_and_data.data;
|
|
1019
|
+
});
|
|
1328
1020
|
}
|
|
1329
1021
|
|
|
1330
1022
|
|
|
@@ -1368,36 +1060,11 @@ export class ProjectsApi {
|
|
|
1368
1060
|
let accepts = ['application/json; charset=UTF-8'];
|
|
1369
1061
|
let returnType = 'Blob';
|
|
1370
1062
|
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1377
|
-
authNames, contentTypes, accepts, returnType
|
|
1378
|
-
),
|
|
1379
|
-
this.apiClient,
|
|
1380
|
-
{
|
|
1381
|
-
'path': '/projects/{project_gid}/saveAsTemplate',
|
|
1382
|
-
'httpMethod': 'POST',
|
|
1383
|
-
'pathParams': pathParams,
|
|
1384
|
-
'queryParams': queryParams,
|
|
1385
|
-
'headerParams': headerParams,
|
|
1386
|
-
'formParams': formParams,
|
|
1387
|
-
'bodyParam': postBody,
|
|
1388
|
-
'authNames': authNames,
|
|
1389
|
-
'contentTypes': contentTypes,
|
|
1390
|
-
'accepts': accepts,
|
|
1391
|
-
'returnType': returnType
|
|
1392
|
-
}
|
|
1393
|
-
)
|
|
1394
|
-
} else {
|
|
1395
|
-
return this.apiClient.callApi(
|
|
1396
|
-
'/projects/{project_gid}/saveAsTemplate', 'POST',
|
|
1397
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1398
|
-
authNames, contentTypes, accepts, returnType
|
|
1399
|
-
);
|
|
1400
|
-
}
|
|
1063
|
+
return this.apiClient.callApi(
|
|
1064
|
+
'/projects/{project_gid}/saveAsTemplate', 'POST',
|
|
1065
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1066
|
+
authNames, contentTypes, accepts, returnType
|
|
1067
|
+
);
|
|
1401
1068
|
}
|
|
1402
1069
|
|
|
1403
1070
|
/**
|
|
@@ -1411,15 +1078,10 @@ export class ProjectsApi {
|
|
|
1411
1078
|
*/
|
|
1412
1079
|
projectSaveAsTemplate(body, project_gid, opts) {
|
|
1413
1080
|
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
return this.projectSaveAsTemplateWithHttpInfo(body, project_gid, opts)
|
|
1419
|
-
.then(function(response_and_data) {
|
|
1420
|
-
return response_and_data.data;
|
|
1421
|
-
});
|
|
1422
|
-
}
|
|
1081
|
+
return this.projectSaveAsTemplateWithHttpInfo(body, project_gid, opts)
|
|
1082
|
+
.then(function(response_and_data) {
|
|
1083
|
+
return response_and_data.data;
|
|
1084
|
+
});
|
|
1423
1085
|
}
|
|
1424
1086
|
|
|
1425
1087
|
|
|
@@ -1459,36 +1121,11 @@ export class ProjectsApi {
|
|
|
1459
1121
|
let accepts = ['application/json; charset=UTF-8'];
|
|
1460
1122
|
let returnType = 'Blob';
|
|
1461
1123
|
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1468
|
-
authNames, contentTypes, accepts, returnType
|
|
1469
|
-
),
|
|
1470
|
-
this.apiClient,
|
|
1471
|
-
{
|
|
1472
|
-
'path': '/projects/{project_gid}/removeCustomFieldSetting',
|
|
1473
|
-
'httpMethod': 'POST',
|
|
1474
|
-
'pathParams': pathParams,
|
|
1475
|
-
'queryParams': queryParams,
|
|
1476
|
-
'headerParams': headerParams,
|
|
1477
|
-
'formParams': formParams,
|
|
1478
|
-
'bodyParam': postBody,
|
|
1479
|
-
'authNames': authNames,
|
|
1480
|
-
'contentTypes': contentTypes,
|
|
1481
|
-
'accepts': accepts,
|
|
1482
|
-
'returnType': returnType
|
|
1483
|
-
}
|
|
1484
|
-
)
|
|
1485
|
-
} else {
|
|
1486
|
-
return this.apiClient.callApi(
|
|
1487
|
-
'/projects/{project_gid}/removeCustomFieldSetting', 'POST',
|
|
1488
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1489
|
-
authNames, contentTypes, accepts, returnType
|
|
1490
|
-
);
|
|
1491
|
-
}
|
|
1124
|
+
return this.apiClient.callApi(
|
|
1125
|
+
'/projects/{project_gid}/removeCustomFieldSetting', 'POST',
|
|
1126
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1127
|
+
authNames, contentTypes, accepts, returnType
|
|
1128
|
+
);
|
|
1492
1129
|
}
|
|
1493
1130
|
|
|
1494
1131
|
/**
|
|
@@ -1500,15 +1137,10 @@ export class ProjectsApi {
|
|
|
1500
1137
|
*/
|
|
1501
1138
|
removeCustomFieldSettingForProject(body, project_gid) {
|
|
1502
1139
|
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
return this.removeCustomFieldSettingForProjectWithHttpInfo(body, project_gid)
|
|
1508
|
-
.then(function(response_and_data) {
|
|
1509
|
-
return response_and_data.data;
|
|
1510
|
-
});
|
|
1511
|
-
}
|
|
1140
|
+
return this.removeCustomFieldSettingForProjectWithHttpInfo(body, project_gid)
|
|
1141
|
+
.then(function(response_and_data) {
|
|
1142
|
+
return response_and_data.data;
|
|
1143
|
+
});
|
|
1512
1144
|
}
|
|
1513
1145
|
|
|
1514
1146
|
|
|
@@ -1552,36 +1184,11 @@ export class ProjectsApi {
|
|
|
1552
1184
|
let accepts = ['application/json; charset=UTF-8'];
|
|
1553
1185
|
let returnType = 'Blob';
|
|
1554
1186
|
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1561
|
-
authNames, contentTypes, accepts, returnType
|
|
1562
|
-
),
|
|
1563
|
-
this.apiClient,
|
|
1564
|
-
{
|
|
1565
|
-
'path': '/projects/{project_gid}/removeFollowers',
|
|
1566
|
-
'httpMethod': 'POST',
|
|
1567
|
-
'pathParams': pathParams,
|
|
1568
|
-
'queryParams': queryParams,
|
|
1569
|
-
'headerParams': headerParams,
|
|
1570
|
-
'formParams': formParams,
|
|
1571
|
-
'bodyParam': postBody,
|
|
1572
|
-
'authNames': authNames,
|
|
1573
|
-
'contentTypes': contentTypes,
|
|
1574
|
-
'accepts': accepts,
|
|
1575
|
-
'returnType': returnType
|
|
1576
|
-
}
|
|
1577
|
-
)
|
|
1578
|
-
} else {
|
|
1579
|
-
return this.apiClient.callApi(
|
|
1580
|
-
'/projects/{project_gid}/removeFollowers', 'POST',
|
|
1581
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1582
|
-
authNames, contentTypes, accepts, returnType
|
|
1583
|
-
);
|
|
1584
|
-
}
|
|
1187
|
+
return this.apiClient.callApi(
|
|
1188
|
+
'/projects/{project_gid}/removeFollowers', 'POST',
|
|
1189
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1190
|
+
authNames, contentTypes, accepts, returnType
|
|
1191
|
+
);
|
|
1585
1192
|
}
|
|
1586
1193
|
|
|
1587
1194
|
/**
|
|
@@ -1595,15 +1202,10 @@ export class ProjectsApi {
|
|
|
1595
1202
|
*/
|
|
1596
1203
|
removeFollowersForProject(body, project_gid, opts) {
|
|
1597
1204
|
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
return this.removeFollowersForProjectWithHttpInfo(body, project_gid, opts)
|
|
1603
|
-
.then(function(response_and_data) {
|
|
1604
|
-
return response_and_data.data;
|
|
1605
|
-
});
|
|
1606
|
-
}
|
|
1205
|
+
return this.removeFollowersForProjectWithHttpInfo(body, project_gid, opts)
|
|
1206
|
+
.then(function(response_and_data) {
|
|
1207
|
+
return response_and_data.data;
|
|
1208
|
+
});
|
|
1607
1209
|
}
|
|
1608
1210
|
|
|
1609
1211
|
|
|
@@ -1647,36 +1249,11 @@ export class ProjectsApi {
|
|
|
1647
1249
|
let accepts = ['application/json; charset=UTF-8'];
|
|
1648
1250
|
let returnType = 'Blob';
|
|
1649
1251
|
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1656
|
-
authNames, contentTypes, accepts, returnType
|
|
1657
|
-
),
|
|
1658
|
-
this.apiClient,
|
|
1659
|
-
{
|
|
1660
|
-
'path': '/projects/{project_gid}/removeMembers',
|
|
1661
|
-
'httpMethod': 'POST',
|
|
1662
|
-
'pathParams': pathParams,
|
|
1663
|
-
'queryParams': queryParams,
|
|
1664
|
-
'headerParams': headerParams,
|
|
1665
|
-
'formParams': formParams,
|
|
1666
|
-
'bodyParam': postBody,
|
|
1667
|
-
'authNames': authNames,
|
|
1668
|
-
'contentTypes': contentTypes,
|
|
1669
|
-
'accepts': accepts,
|
|
1670
|
-
'returnType': returnType
|
|
1671
|
-
}
|
|
1672
|
-
)
|
|
1673
|
-
} else {
|
|
1674
|
-
return this.apiClient.callApi(
|
|
1675
|
-
'/projects/{project_gid}/removeMembers', 'POST',
|
|
1676
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1677
|
-
authNames, contentTypes, accepts, returnType
|
|
1678
|
-
);
|
|
1679
|
-
}
|
|
1252
|
+
return this.apiClient.callApi(
|
|
1253
|
+
'/projects/{project_gid}/removeMembers', 'POST',
|
|
1254
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1255
|
+
authNames, contentTypes, accepts, returnType
|
|
1256
|
+
);
|
|
1680
1257
|
}
|
|
1681
1258
|
|
|
1682
1259
|
/**
|
|
@@ -1690,15 +1267,10 @@ export class ProjectsApi {
|
|
|
1690
1267
|
*/
|
|
1691
1268
|
removeMembersForProject(body, project_gid, opts) {
|
|
1692
1269
|
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
return this.removeMembersForProjectWithHttpInfo(body, project_gid, opts)
|
|
1698
|
-
.then(function(response_and_data) {
|
|
1699
|
-
return response_and_data.data;
|
|
1700
|
-
});
|
|
1701
|
-
}
|
|
1270
|
+
return this.removeMembersForProjectWithHttpInfo(body, project_gid, opts)
|
|
1271
|
+
.then(function(response_and_data) {
|
|
1272
|
+
return response_and_data.data;
|
|
1273
|
+
});
|
|
1702
1274
|
}
|
|
1703
1275
|
|
|
1704
1276
|
|
|
@@ -1742,36 +1314,11 @@ export class ProjectsApi {
|
|
|
1742
1314
|
let accepts = ['application/json; charset=UTF-8'];
|
|
1743
1315
|
let returnType = 'Blob';
|
|
1744
1316
|
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1751
|
-
authNames, contentTypes, accepts, returnType
|
|
1752
|
-
),
|
|
1753
|
-
this.apiClient,
|
|
1754
|
-
{
|
|
1755
|
-
'path': '/projects/{project_gid}',
|
|
1756
|
-
'httpMethod': 'PUT',
|
|
1757
|
-
'pathParams': pathParams,
|
|
1758
|
-
'queryParams': queryParams,
|
|
1759
|
-
'headerParams': headerParams,
|
|
1760
|
-
'formParams': formParams,
|
|
1761
|
-
'bodyParam': postBody,
|
|
1762
|
-
'authNames': authNames,
|
|
1763
|
-
'contentTypes': contentTypes,
|
|
1764
|
-
'accepts': accepts,
|
|
1765
|
-
'returnType': returnType
|
|
1766
|
-
}
|
|
1767
|
-
)
|
|
1768
|
-
} else {
|
|
1769
|
-
return this.apiClient.callApi(
|
|
1770
|
-
'/projects/{project_gid}', 'PUT',
|
|
1771
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1772
|
-
authNames, contentTypes, accepts, returnType
|
|
1773
|
-
);
|
|
1774
|
-
}
|
|
1317
|
+
return this.apiClient.callApi(
|
|
1318
|
+
'/projects/{project_gid}', 'PUT',
|
|
1319
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1320
|
+
authNames, contentTypes, accepts, returnType
|
|
1321
|
+
);
|
|
1775
1322
|
}
|
|
1776
1323
|
|
|
1777
1324
|
/**
|
|
@@ -1785,15 +1332,10 @@ export class ProjectsApi {
|
|
|
1785
1332
|
*/
|
|
1786
1333
|
updateProject(body, project_gid, opts) {
|
|
1787
1334
|
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
return this.updateProjectWithHttpInfo(body, project_gid, opts)
|
|
1793
|
-
.then(function(response_and_data) {
|
|
1794
|
-
return response_and_data.data;
|
|
1795
|
-
});
|
|
1796
|
-
}
|
|
1335
|
+
return this.updateProjectWithHttpInfo(body, project_gid, opts)
|
|
1336
|
+
.then(function(response_and_data) {
|
|
1337
|
+
return response_and_data.data;
|
|
1338
|
+
});
|
|
1797
1339
|
}
|
|
1798
1340
|
|
|
1799
1341
|
}
|