@@ -27,10 +27,7 @@ export class Board {
27
27
* - `read:board-scope:jira-software`, `read:project:jira`
28
28
*/
29
29
async getAllBoards < T = Models . GetAllBoards > ( parameters ?: Parameters . GetAllBoards , callback ?: never ) : Promise < T > ;
30
- async getAllBoards < T = Models . GetAllBoards > (
31
- parameters ?: Parameters . GetAllBoards ,
32
- callback ?: Callback < T > ,
33
- ) : Promise < void | T > {
30
+ async getAllBoards < T = Models . GetAllBoards > ( parameters ?: Parameters . GetAllBoards ) : Promise < void | T > {
34
31
const config : Request = {
35
32
url : '/rest/agile/1.0/board' ,
36
33
method : 'GET' ,
@@ -110,10 +107,7 @@ export class Board {
110
107
* board.
111
108
*/
112
109
async createBoard < T = Models . CreateBoard > ( parameters : Parameters . CreateBoard , callback ?: never ) : Promise < T > ;
113
- async createBoard < T = Models . CreateBoard > (
114
- parameters : Parameters . CreateBoard ,
115
- callback ?: Callback < T > ,
116
- ) : Promise < void | T > {
110
+ async createBoard < T = Models . CreateBoard > ( parameters : Parameters . CreateBoard ) : Promise < void | T > {
117
111
const config : Request = {
118
112
url : '/rest/agile/1.0/board' ,
119
113
method : 'POST' ,
@@ -146,7 +140,6 @@ export class Board {
146
140
) : Promise < T > ;
147
141
async getBoardByFilterId < T = Models . GetBoardByFilterId > (
148
142
parameters : Parameters . GetBoardByFilterId ,
149
- callback ?: Callback < T > ,
150
143
) : Promise < void | T > {
151
144
const config : Request = {
152
145
url : `/rest/agile/1.0/board/filter/${ parameters . filterId } ` ,
@@ -172,7 +165,7 @@ export class Board {
172
165
* data (board location for instance).
173
166
*/
174
167
async getBoard < T = Models . GetBoard > ( parameters : Parameters . GetBoard , callback ?: never ) : Promise < T > ;
175
- async getBoard < T = Models . GetBoard > ( parameters : Parameters . GetBoard , callback ?: Callback < T > ) : Promise < void | T > {
168
+ async getBoard < T = Models . GetBoard > ( parameters : Parameters . GetBoard ) : Promise < void | T > {
176
169
const config : Request = {
177
170
url : `/rest/agile/1.0/board/${ parameters . boardId } ` ,
178
171
method : 'GET' ,
@@ -185,7 +178,7 @@ export class Board {
185
178
async deleteBoard < T = void > ( parameters : Parameters . DeleteBoard , callback : Callback < T > ) : Promise < void > ;
186
179
/** Deletes the board. Admin without the view permission can still remove the board. */
187
180
async deleteBoard < T = void > ( parameters : Parameters . DeleteBoard , callback ?: never ) : Promise < T > ;
188
- async deleteBoard < T = void > ( parameters : Parameters . DeleteBoard , callback ?: Callback < T > ) : Promise < void | T > {
181
+ async deleteBoard < T = void > ( parameters : Parameters . DeleteBoard ) : Promise < void | T > {
189
182
const config : Request = {
190
183
url : `/rest/agile/1.0/board/${ parameters . boardId } ` ,
191
184
method : 'DELETE' ,
@@ -216,10 +209,7 @@ export class Board {
216
209
parameters : Parameters . GetIssuesForBacklog ,
217
210
callback ?: never ,
218
211
) : Promise < T > ;
219
- async getIssuesForBacklog < T = Models . SearchResults > (
220
- parameters : Parameters . GetIssuesForBacklog ,
221
- callback ?: Callback < T > ,
222
- ) : Promise < void | T > {
212
+ async getIssuesForBacklog < T = Models . SearchResults > ( parameters : Parameters . GetIssuesForBacklog ) : Promise < void | T > {
223
213
const config : Request = {
224
214
url : `/rest/agile/1.0/board/${ parameters . boardId } /backlog` ,
225
215
method : 'GET' ,
@@ -286,10 +276,7 @@ export class Board {
286
276
parameters : Parameters . GetConfiguration ,
287
277
callback ?: never ,
288
278
) : Promise < T > ;
289
- async getConfiguration < T = Models . GetConfiguration > (
290
- parameters : Parameters . GetConfiguration ,
291
- callback ?: Callback < T > ,
292
- ) : Promise < void | T > {
279
+ async getConfiguration < T = Models . GetConfiguration > ( parameters : Parameters . GetConfiguration ) : Promise < void | T > {
293
280
const config : Request = {
294
281
url : `/rest/agile/1.0/board/${ parameters . boardId } /configuration` ,
295
282
method : 'GET' ,
@@ -308,10 +295,7 @@ export class Board {
308
295
* view. Note, if the user does not have permission to view the board, no epics will be returned at all.
309
296
*/
310
297
async getEpics < T = Paginated < Models . Epic > > ( parameters : Parameters . GetEpics , callback ?: never ) : Promise < T > ;
311
- async getEpics < T = Paginated < Models . Epic > > (
312
- parameters : Parameters . GetEpics ,
313
- callback ?: Callback < T > ,
314
- ) : Promise < void | T > {
298
+ async getEpics < T = Paginated < Models . Epic > > ( parameters : Parameters . GetEpics ) : Promise < void | T > {
315
299
const config : Request = {
316
300
url : `/rest/agile/1.0/board/${ parameters . boardId } /epic` ,
317
301
method : 'GET' ,
@@ -345,7 +329,6 @@ export class Board {
345
329
) : Promise < T > ;
346
330
async getIssuesWithoutEpicForBoard < T = Models . SearchResults > (
347
331
parameters : Parameters . GetIssuesWithoutEpicForBoard ,
348
- callback ?: Callback < T > ,
349
332
) : Promise < void | T > {
350
333
const config : Request = {
351
334
url : `/rest/agile/1.0/board/${ parameters . boardId } /epic/none/issue` ,
@@ -383,7 +366,6 @@ export class Board {
383
366
) : Promise < T > ;
384
367
async getBoardIssuesForEpic < T = Models . SearchResults > (
385
368
parameters : Parameters . GetBoardIssuesForEpic ,
386
- callback ?: Callback < T > ,
387
369
) : Promise < void | T > {
388
370
const config : Request = {
389
371
url : `/rest/agile/1.0/board/${ parameters . boardId } /epic/${ parameters . epicId } /issue` ,
@@ -411,7 +393,6 @@ export class Board {
411
393
) : Promise < T > ;
412
394
async getFeaturesForBoard < T = Models . GetFeaturesForBoard > (
413
395
parameters : Parameters . GetFeaturesForBoard ,
414
- callback ?: Callback < T > ,
415
396
) : Promise < void | T > {
416
397
const config : Request = {
417
398
url : `/rest/agile/1.0/board/${ parameters . boardId } /features` ,
@@ -426,10 +407,7 @@ export class Board {
426
407
callback : Callback < T > ,
427
408
) : Promise < void > ;
428
409
async toggleFeatures < T = Models . ToggleFeatures > ( parameters : Parameters . ToggleFeatures , callback ?: never ) : Promise < T > ;
429
- async toggleFeatures < T = Models . ToggleFeatures > (
430
- parameters : Parameters . ToggleFeatures ,
431
- callback ?: Callback < T > ,
432
- ) : Promise < void | T > {
410
+ async toggleFeatures < T = Models . ToggleFeatures > ( parameters : Parameters . ToggleFeatures ) : Promise < void | T > {
433
411
const config : Request = {
434
412
url : `/rest/agile/1.0/board/${ parameters . boardId } /features` ,
435
413
method : 'PUT' ,
@@ -461,10 +439,7 @@ export class Board {
461
439
parameters : Parameters . GetIssuesForBoard ,
462
440
callback ?: never ,
463
441
) : Promise < T > ;
464
- async getIssuesForBoard < T = Models . SearchResults > (
465
- parameters : Parameters . GetIssuesForBoard ,
466
- callback ?: Callback < T > ,
467
- ) : Promise < void | T > {
442
+ async getIssuesForBoard < T = Models . SearchResults > ( parameters : Parameters . GetIssuesForBoard ) : Promise < void | T > {
468
443
const config : Request = {
469
444
url : `/rest/agile/1.0/board/${ parameters . boardId } /issue` ,
470
445
method : 'GET' ,
@@ -495,10 +470,7 @@ export class Board {
495
470
* once.
496
471
*/
497
472
async moveIssuesToBoard < T = void > ( parameters : Parameters . MoveIssuesToBoard , callback ?: never ) : Promise < T > ;
498
- async moveIssuesToBoard < T = void > (
499
- parameters : Parameters . MoveIssuesToBoard ,
500
- callback ?: Callback < T > ,
501
- ) : Promise < void | T > {
473
+ async moveIssuesToBoard < T = void > ( parameters : Parameters . MoveIssuesToBoard ) : Promise < void | T > {
502
474
const config : Request = {
503
475
url : `/rest/agile/1.0/board/${ parameters . boardId } /issue` ,
504
476
method : 'POST' ,
@@ -548,10 +520,7 @@ export class Board {
548
520
* scrum boards.
549
521
*/
550
522
async getProjects < T = Paginated < Models . Projects > > ( parameters : Parameters . GetProjects , callback ?: never ) : Promise < T > ;
551
- async getProjects < T = Paginated < Models . Projects > > (
552
- parameters : Parameters . GetProjects ,
553
- callback ?: Callback < T > ,
554
- ) : Promise < void | T > {
523
+ async getProjects < T = Paginated < Models . Projects > > ( parameters : Parameters . GetProjects ) : Promise < void | T > {
555
524
const config : Request = {
556
525
url : `/rest/agile/1.0/board/${ parameters . boardId } /project` ,
557
526
method : 'GET' ,
@@ -591,10 +560,7 @@ export class Board {
591
560
* any project.
592
561
*/
593
562
async getProjectsFull < T = Models . Projects [ ] > ( parameters : Parameters . GetProjectsFull , callback ?: never ) : Promise < T > ;
594
- async getProjectsFull < T = Models . Projects [ ] > (
595
- parameters : Parameters . GetProjectsFull ,
596
- callback ?: Callback < T > ,
597
- ) : Promise < void | T > {
563
+ async getProjectsFull < T = Models . Projects [ ] > ( parameters : Parameters . GetProjectsFull ) : Promise < void | T > {
598
564
const config : Request = {
599
565
url : `/rest/agile/1.0/board/${ parameters . boardId } /project/full` ,
600
566
method : 'GET' ,
@@ -616,10 +582,7 @@ export class Board {
616
582
* required to have permissions to view the board.
617
583
*/
618
584
async getBoardPropertyKeys < T = unknown > ( parameters : Parameters . GetBoardPropertyKeys , callback ?: never ) : Promise < T > ;
619
- async getBoardPropertyKeys < T = unknown > (
620
- parameters : Parameters . GetBoardPropertyKeys ,
621
- callback ?: Callback < T > ,
622
- ) : Promise < void | T > {
585
+ async getBoardPropertyKeys < T = unknown > ( parameters : Parameters . GetBoardPropertyKeys ) : Promise < void | T > {
623
586
const config : Request = {
624
587
url : `/rest/agile/1.0/board/${ parameters . boardId } /properties` ,
625
588
method : 'GET' ,
@@ -638,10 +601,7 @@ export class Board {
638
601
* retrieves the property is required to have permissions to view the board.
639
602
*/
640
603
async getBoardProperty < T = unknown > ( parameters : Parameters . GetBoardProperty , callback ?: never ) : Promise < T > ;
641
- async getBoardProperty < T = unknown > (
642
- parameters : Parameters . GetBoardProperty ,
643
- callback ?: Callback < T > ,
644
- ) : Promise < void | T > {
604
+ async getBoardProperty < T = unknown > ( parameters : Parameters . GetBoardProperty ) : Promise < void | T > {
645
605
const config : Request = {
646
606
url : `/rest/agile/1.0/board/${ parameters . boardId } /properties/${ parameters . propertyKey } ` ,
647
607
method : 'GET' ,
@@ -664,10 +624,7 @@ export class Board {
664
624
* data is required to have permissions to modify the board.
665
625
*/
666
626
async setBoardProperty < T = unknown > ( parameters : Parameters . SetBoardProperty , callback ?: never ) : Promise < T > ;
667
- async setBoardProperty < T = unknown > (
668
- parameters : Parameters . SetBoardProperty ,
669
- callback ?: Callback < T > ,
670
- ) : Promise < void | T > {
627
+ async setBoardProperty < T = unknown > ( parameters : Parameters . SetBoardProperty ) : Promise < void | T > {
671
628
const config : Request = {
672
629
url : `/rest/agile/1.0/board/${ parameters . boardId } /properties/${ parameters . propertyKey } ` ,
673
630
method : 'PUT' ,
@@ -686,10 +643,7 @@ export class Board {
686
643
* permissions to modify the board.
687
644
*/
688
645
async deleteBoardProperty < T = void > ( parameters : Parameters . DeleteBoardProperty , callback ?: never ) : Promise < T > ;
689
- async deleteBoardProperty < T = void > (
690
- parameters : Parameters . DeleteBoardProperty ,
691
- callback ?: Callback < T > ,
692
- ) : Promise < void | T > {
646
+ async deleteBoardProperty < T = void > ( parameters : Parameters . DeleteBoardProperty ) : Promise < void | T > {
693
647
const config : Request = {
694
648
url : `/rest/agile/1.0/board/${ parameters . boardId } /properties/${ parameters . propertyKey } ` ,
695
649
method : 'DELETE' ,
@@ -710,7 +664,6 @@ export class Board {
710
664
) : Promise < T > ;
711
665
async getAllQuickFilters < T = Models . GetAllQuickFilters > (
712
666
parameters : Parameters . GetAllQuickFilters ,
713
- callback ?: Callback < T > ,
714
667
) : Promise < void | T > {
715
668
const config : Request = {
716
669
url : `/rest/agile/1.0/board/${ parameters . boardId } /quickfilter` ,
@@ -737,10 +690,7 @@ export class Board {
737
690
* the board that the quick filter belongs to.
738
691
*/
739
692
async getQuickFilter < T = Models . GetQuickFilter > ( parameters : Parameters . GetQuickFilter , callback ?: never ) : Promise < T > ;
740
- async getQuickFilter < T = Models . GetQuickFilter > (
741
- parameters : Parameters . GetQuickFilter ,
742
- callback ?: Callback < T > ,
743
- ) : Promise < void | T > {
693
+ async getQuickFilter < T = Models . GetQuickFilter > ( parameters : Parameters . GetQuickFilter ) : Promise < void | T > {
744
694
const config : Request = {
745
695
url : `/rest/agile/1.0/board/${ parameters . boardId } /quickfilter/${ parameters . quickFilterId } ` ,
746
696
method : 'GET' ,
@@ -759,7 +709,6 @@ export class Board {
759
709
) : Promise < T > ;
760
710
async getReportsForBoard < T = Models . GetReportsForBoard > (
761
711
parameters : Parameters . GetReportsForBoard ,
762
- callback ?: Callback < T > ,
763
712
) : Promise < void | T > {
764
713
const config : Request = {
765
714
url : `/rest/agile/1.0/board/${ parameters . boardId } /reports` ,
@@ -782,10 +731,7 @@ export class Board {
782
731
* view.
783
732
*/
784
733
async getAllSprints < T = Paginated < Models . Sprint > > ( parameters : Parameters . GetAllSprints , callback ?: never ) : Promise < T > ;
785
- async getAllSprints < T = Paginated < Models . Sprint > > (
786
- parameters : Parameters . GetAllSprints ,
787
- callback ?: Callback < T > ,
788
- ) : Promise < void | T > {
734
+ async getAllSprints < T = Paginated < Models . Sprint > > ( parameters : Parameters . GetAllSprints ) : Promise < void | T > {
789
735
const config : Request = {
790
736
url : `/rest/agile/1.0/board/${ parameters . boardId } /sprint` ,
791
737
method : 'GET' ,
@@ -817,10 +763,7 @@ export class Board {
817
763
parameters : Parameters . GetBoardIssuesForSprint ,
818
764
callback ?: never ,
819
765
) : Promise < T > ;
820
- async getBoardIssuesForSprint < T = unknown > (
821
- parameters : Parameters . GetBoardIssuesForSprint ,
822
- callback ?: Callback < T > ,
823
- ) : Promise < void | T > {
766
+ async getBoardIssuesForSprint < T = unknown > ( parameters : Parameters . GetBoardIssuesForSprint ) : Promise < void | T > {
824
767
const config : Request = {
825
768
url : `/rest/agile/1.0/board/${ parameters . boardId } /sprint/${ parameters . sprintId } /issue` ,
826
769
method : 'GET' ,
@@ -857,10 +800,7 @@ export class Board {
857
800
parameters : Parameters . GetAllVersions ,
858
801
callback ?: never ,
859
802
) : Promise < T > ;
860
- async getAllVersions < T = Paginated < Models . Version > > (
861
- parameters : Parameters . GetAllVersions ,
862
- callback ?: Callback < T > ,
863
- ) : Promise < void | T > {
803
+ async getAllVersions < T = Paginated < Models . Version > > ( parameters : Parameters . GetAllVersions ) : Promise < void | T > {
864
804
const config : Request = {
865
805
url : `/rest/agile/1.0/board/${ parameters . boardId } /version` ,
866
806
method : 'GET' ,
0 commit comments