@boboddy/sdk 0.2.8-alpha → 0.2.10-alpha
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/client.js +79 -8
- package/dist/definitions/pipelines/builder-helpers.d.ts +6 -1
- package/dist/definitions/pipelines/index.js +77 -8
- package/dist/definitions/steps/index.js +77 -8
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/sdk.gen.d.ts +21 -4
- package/dist/generated/types.gen.d.ts +1499 -478
- package/dist/index.js +79 -8
- package/dist/push/index.js +77 -8
- package/package.json +1 -1
|
@@ -97,10 +97,12 @@ export type GetApiProjectsResponses = {
|
|
|
97
97
|
200: Array<{
|
|
98
98
|
id: string;
|
|
99
99
|
name: string;
|
|
100
|
+
slug: string;
|
|
100
101
|
description: string | unknown;
|
|
101
102
|
gitUrl: string;
|
|
102
103
|
createdByUserId: string;
|
|
103
104
|
orgId: string;
|
|
105
|
+
ownerUsername: string | unknown;
|
|
104
106
|
memberships: Array<{
|
|
105
107
|
userId: string;
|
|
106
108
|
permissions: Array<string>;
|
|
@@ -264,10 +266,12 @@ export type PostApiProjectsResponses = {
|
|
|
264
266
|
200: {
|
|
265
267
|
id: string;
|
|
266
268
|
name: string;
|
|
269
|
+
slug: string;
|
|
267
270
|
description: string | unknown;
|
|
268
271
|
gitUrl: string;
|
|
269
272
|
createdByUserId: string;
|
|
270
273
|
orgId: string;
|
|
274
|
+
ownerUsername: string | unknown;
|
|
271
275
|
memberships: Array<{
|
|
272
276
|
userId: string;
|
|
273
277
|
permissions: Array<string>;
|
|
@@ -331,15 +335,16 @@ export type PostApiProjectsResponses = {
|
|
|
331
335
|
};
|
|
332
336
|
};
|
|
333
337
|
export type PostApiProjectsResponse = PostApiProjectsResponses[keyof PostApiProjectsResponses];
|
|
334
|
-
export type
|
|
338
|
+
export type GetApiProjectsResolveData = {
|
|
335
339
|
body?: never;
|
|
336
|
-
path
|
|
337
|
-
|
|
340
|
+
path?: never;
|
|
341
|
+
query: {
|
|
342
|
+
username: string;
|
|
343
|
+
slug: string;
|
|
338
344
|
};
|
|
339
|
-
|
|
340
|
-
url: '/api/projects/{projectId}/work-items';
|
|
345
|
+
url: '/api/projects/resolve';
|
|
341
346
|
};
|
|
342
|
-
export type
|
|
347
|
+
export type GetApiProjectsResolveErrors = {
|
|
343
348
|
/**
|
|
344
349
|
* Response for status 401
|
|
345
350
|
*/
|
|
@@ -421,37 +426,100 @@ export type GetApiProjectsByProjectIdWorkItemsErrors = {
|
|
|
421
426
|
}>;
|
|
422
427
|
};
|
|
423
428
|
};
|
|
424
|
-
export type
|
|
425
|
-
export type
|
|
429
|
+
export type GetApiProjectsResolveError = GetApiProjectsResolveErrors[keyof GetApiProjectsResolveErrors];
|
|
430
|
+
export type GetApiProjectsResolveResponses = {
|
|
426
431
|
/**
|
|
427
432
|
* Response for status 200
|
|
428
433
|
*/
|
|
429
|
-
200:
|
|
434
|
+
200: {
|
|
430
435
|
id: string;
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
436
|
+
name: string;
|
|
437
|
+
slug: string;
|
|
438
|
+
description: string | unknown;
|
|
439
|
+
gitUrl: string;
|
|
440
|
+
createdByUserId: string;
|
|
441
|
+
orgId: string;
|
|
442
|
+
ownerUsername: string | unknown;
|
|
443
|
+
memberships: Array<{
|
|
444
|
+
userId: string;
|
|
445
|
+
permissions: Array<string>;
|
|
446
|
+
createdAt: string;
|
|
447
|
+
updatedAt: string;
|
|
448
|
+
}>;
|
|
449
|
+
defaultPipelineAssignment: {
|
|
450
|
+
linearPipelineDefinitionId: string;
|
|
451
|
+
rulesJson: {
|
|
452
|
+
rules: Array<{
|
|
453
|
+
conditions: {
|
|
454
|
+
[key: string]: unknown;
|
|
455
|
+
};
|
|
456
|
+
event: {
|
|
457
|
+
type: string;
|
|
458
|
+
params?: {
|
|
459
|
+
[key: string]: unknown;
|
|
460
|
+
};
|
|
461
|
+
};
|
|
462
|
+
name?: string;
|
|
463
|
+
priority?: number;
|
|
464
|
+
[key: string]: unknown | {
|
|
465
|
+
[key: string]: unknown;
|
|
466
|
+
} | {
|
|
467
|
+
type: string;
|
|
468
|
+
params?: {
|
|
469
|
+
[key: string]: unknown;
|
|
470
|
+
};
|
|
471
|
+
} | string | number | undefined;
|
|
472
|
+
}>;
|
|
473
|
+
[key: string]: unknown | Array<{
|
|
474
|
+
conditions: {
|
|
475
|
+
[key: string]: unknown;
|
|
476
|
+
};
|
|
477
|
+
event: {
|
|
478
|
+
type: string;
|
|
479
|
+
params?: {
|
|
480
|
+
[key: string]: unknown;
|
|
481
|
+
};
|
|
482
|
+
};
|
|
483
|
+
name?: string;
|
|
484
|
+
priority?: number;
|
|
485
|
+
[key: string]: unknown | {
|
|
486
|
+
[key: string]: unknown;
|
|
487
|
+
} | {
|
|
488
|
+
type: string;
|
|
489
|
+
params?: {
|
|
490
|
+
[key: string]: unknown;
|
|
491
|
+
};
|
|
492
|
+
} | string | number | undefined;
|
|
493
|
+
}>;
|
|
494
|
+
};
|
|
495
|
+
defaultEventType: 'assign' | 'skip';
|
|
496
|
+
defaultEventParamsJson: {
|
|
497
|
+
[key: string]: unknown;
|
|
498
|
+
} | unknown;
|
|
499
|
+
allowedEventTypes: Array<'assign' | 'skip'>;
|
|
500
|
+
} | unknown;
|
|
441
501
|
createdAt: string;
|
|
442
502
|
updatedAt: string;
|
|
443
|
-
}
|
|
503
|
+
};
|
|
444
504
|
};
|
|
445
|
-
export type
|
|
446
|
-
export type
|
|
505
|
+
export type GetApiProjectsResolveResponse = GetApiProjectsResolveResponses[keyof GetApiProjectsResolveResponses];
|
|
506
|
+
export type GetApiProjectsByProjectIdWorkItemsData = {
|
|
447
507
|
body?: never;
|
|
448
508
|
path: {
|
|
449
509
|
projectId: string;
|
|
450
510
|
};
|
|
451
|
-
query?:
|
|
452
|
-
|
|
511
|
+
query?: {
|
|
512
|
+
q?: string;
|
|
513
|
+
page?: number;
|
|
514
|
+
pageSize?: number;
|
|
515
|
+
sortPipelineId?: string;
|
|
516
|
+
sortStepKey?: string;
|
|
517
|
+
sortSignalKey?: string;
|
|
518
|
+
sortDirection?: 'asc' | 'desc';
|
|
519
|
+
};
|
|
520
|
+
url: '/api/projects/{projectId}/work-items';
|
|
453
521
|
};
|
|
454
|
-
export type
|
|
522
|
+
export type GetApiProjectsByProjectIdWorkItemsErrors = {
|
|
455
523
|
/**
|
|
456
524
|
* Response for status 401
|
|
457
525
|
*/
|
|
@@ -533,94 +601,47 @@ export type GetApiProjectsByProjectIdErrors = {
|
|
|
533
601
|
}>;
|
|
534
602
|
};
|
|
535
603
|
};
|
|
536
|
-
export type
|
|
537
|
-
export type
|
|
604
|
+
export type GetApiProjectsByProjectIdWorkItemsError = GetApiProjectsByProjectIdWorkItemsErrors[keyof GetApiProjectsByProjectIdWorkItemsErrors];
|
|
605
|
+
export type GetApiProjectsByProjectIdWorkItemsResponses = {
|
|
538
606
|
/**
|
|
539
607
|
* Response for status 200
|
|
540
608
|
*/
|
|
541
609
|
200: {
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
610
|
+
items: Array<{
|
|
611
|
+
id: string;
|
|
612
|
+
projectId: string;
|
|
613
|
+
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
614
|
+
platformId?: string | unknown;
|
|
615
|
+
platformKey: string;
|
|
616
|
+
url?: string | unknown;
|
|
617
|
+
title: string;
|
|
618
|
+
description: string;
|
|
619
|
+
sourceCreatedAt: string | unknown;
|
|
620
|
+
sourceUpdatedAt: string | unknown;
|
|
621
|
+
fields: unknown;
|
|
622
|
+
createdByUsername: string | unknown;
|
|
623
|
+
createdByImage: string | unknown;
|
|
551
624
|
createdAt: string;
|
|
552
625
|
updatedAt: string;
|
|
626
|
+
signalScore: number | unknown;
|
|
553
627
|
}>;
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
[key: string]: unknown;
|
|
560
|
-
};
|
|
561
|
-
event: {
|
|
562
|
-
type: string;
|
|
563
|
-
params?: {
|
|
564
|
-
[key: string]: unknown;
|
|
565
|
-
};
|
|
566
|
-
};
|
|
567
|
-
name?: string;
|
|
568
|
-
priority?: number;
|
|
569
|
-
[key: string]: unknown | {
|
|
570
|
-
[key: string]: unknown;
|
|
571
|
-
} | {
|
|
572
|
-
type: string;
|
|
573
|
-
params?: {
|
|
574
|
-
[key: string]: unknown;
|
|
575
|
-
};
|
|
576
|
-
} | string | number | undefined;
|
|
577
|
-
}>;
|
|
578
|
-
[key: string]: unknown | Array<{
|
|
579
|
-
conditions: {
|
|
580
|
-
[key: string]: unknown;
|
|
581
|
-
};
|
|
582
|
-
event: {
|
|
583
|
-
type: string;
|
|
584
|
-
params?: {
|
|
585
|
-
[key: string]: unknown;
|
|
586
|
-
};
|
|
587
|
-
};
|
|
588
|
-
name?: string;
|
|
589
|
-
priority?: number;
|
|
590
|
-
[key: string]: unknown | {
|
|
591
|
-
[key: string]: unknown;
|
|
592
|
-
} | {
|
|
593
|
-
type: string;
|
|
594
|
-
params?: {
|
|
595
|
-
[key: string]: unknown;
|
|
596
|
-
};
|
|
597
|
-
} | string | number | undefined;
|
|
598
|
-
}>;
|
|
599
|
-
};
|
|
600
|
-
defaultEventType: 'assign' | 'skip';
|
|
601
|
-
defaultEventParamsJson: {
|
|
602
|
-
[key: string]: unknown;
|
|
603
|
-
} | unknown;
|
|
604
|
-
allowedEventTypes: Array<'assign' | 'skip'>;
|
|
605
|
-
} | unknown;
|
|
606
|
-
createdAt: string;
|
|
607
|
-
updatedAt: string;
|
|
628
|
+
pagination: {
|
|
629
|
+
page: number;
|
|
630
|
+
pageSize: number;
|
|
631
|
+
total: number;
|
|
632
|
+
};
|
|
608
633
|
};
|
|
609
634
|
};
|
|
610
|
-
export type
|
|
611
|
-
export type
|
|
635
|
+
export type GetApiProjectsByProjectIdWorkItemsResponse = GetApiProjectsByProjectIdWorkItemsResponses[keyof GetApiProjectsByProjectIdWorkItemsResponses];
|
|
636
|
+
export type GetApiProjectsByProjectIdWorkItemFieldOptionsData = {
|
|
612
637
|
body?: never;
|
|
613
638
|
path: {
|
|
614
639
|
projectId: string;
|
|
615
640
|
};
|
|
616
|
-
query
|
|
617
|
-
|
|
618
|
-
stepKey: string;
|
|
619
|
-
signalKey: string;
|
|
620
|
-
};
|
|
621
|
-
url: '/api/projects/{projectId}/work-item-signal-scores';
|
|
641
|
+
query?: never;
|
|
642
|
+
url: '/api/projects/{projectId}/work-item-field-options';
|
|
622
643
|
};
|
|
623
|
-
export type
|
|
644
|
+
export type GetApiProjectsByProjectIdWorkItemFieldOptionsErrors = {
|
|
624
645
|
/**
|
|
625
646
|
* Response for status 401
|
|
626
647
|
*/
|
|
@@ -653,6 +674,22 @@ export type GetApiProjectsByProjectIdWorkItemSignalScoresErrors = {
|
|
|
653
674
|
summary?: string;
|
|
654
675
|
}>;
|
|
655
676
|
};
|
|
677
|
+
/**
|
|
678
|
+
* Response for status 404
|
|
679
|
+
*/
|
|
680
|
+
404: {
|
|
681
|
+
type: string;
|
|
682
|
+
title: string;
|
|
683
|
+
status: number;
|
|
684
|
+
detail?: string;
|
|
685
|
+
instance?: string;
|
|
686
|
+
code?: string;
|
|
687
|
+
errors?: Array<{
|
|
688
|
+
path: string;
|
|
689
|
+
message: string;
|
|
690
|
+
summary?: string;
|
|
691
|
+
}>;
|
|
692
|
+
};
|
|
656
693
|
/**
|
|
657
694
|
* Response for status 422
|
|
658
695
|
*/
|
|
@@ -686,79 +723,27 @@ export type GetApiProjectsByProjectIdWorkItemSignalScoresErrors = {
|
|
|
686
723
|
}>;
|
|
687
724
|
};
|
|
688
725
|
};
|
|
689
|
-
export type
|
|
690
|
-
export type
|
|
726
|
+
export type GetApiProjectsByProjectIdWorkItemFieldOptionsError = GetApiProjectsByProjectIdWorkItemFieldOptionsErrors[keyof GetApiProjectsByProjectIdWorkItemFieldOptionsErrors];
|
|
727
|
+
export type GetApiProjectsByProjectIdWorkItemFieldOptionsResponses = {
|
|
691
728
|
/**
|
|
692
729
|
* Response for status 200
|
|
693
730
|
*/
|
|
694
731
|
200: Array<{
|
|
695
|
-
|
|
696
|
-
|
|
732
|
+
key: string;
|
|
733
|
+
values: Array<string>;
|
|
734
|
+
truncated: boolean;
|
|
697
735
|
}>;
|
|
698
736
|
};
|
|
699
|
-
export type
|
|
700
|
-
export type
|
|
701
|
-
body
|
|
702
|
-
defaultPipelineAssignment: {
|
|
703
|
-
linearPipelineDefinitionId: string;
|
|
704
|
-
rulesJson: {
|
|
705
|
-
rules: Array<{
|
|
706
|
-
conditions: {
|
|
707
|
-
[key: string]: unknown;
|
|
708
|
-
};
|
|
709
|
-
event: {
|
|
710
|
-
type: string;
|
|
711
|
-
params?: {
|
|
712
|
-
[key: string]: unknown;
|
|
713
|
-
};
|
|
714
|
-
};
|
|
715
|
-
name?: string;
|
|
716
|
-
priority?: number;
|
|
717
|
-
[key: string]: unknown | {
|
|
718
|
-
[key: string]: unknown;
|
|
719
|
-
} | {
|
|
720
|
-
type: string;
|
|
721
|
-
params?: {
|
|
722
|
-
[key: string]: unknown;
|
|
723
|
-
};
|
|
724
|
-
} | string | number | undefined;
|
|
725
|
-
}>;
|
|
726
|
-
[key: string]: unknown | Array<{
|
|
727
|
-
conditions: {
|
|
728
|
-
[key: string]: unknown;
|
|
729
|
-
};
|
|
730
|
-
event: {
|
|
731
|
-
type: string;
|
|
732
|
-
params?: {
|
|
733
|
-
[key: string]: unknown;
|
|
734
|
-
};
|
|
735
|
-
};
|
|
736
|
-
name?: string;
|
|
737
|
-
priority?: number;
|
|
738
|
-
[key: string]: unknown | {
|
|
739
|
-
[key: string]: unknown;
|
|
740
|
-
} | {
|
|
741
|
-
type: string;
|
|
742
|
-
params?: {
|
|
743
|
-
[key: string]: unknown;
|
|
744
|
-
};
|
|
745
|
-
} | string | number | undefined;
|
|
746
|
-
}>;
|
|
747
|
-
};
|
|
748
|
-
defaultEventType: 'assign' | 'skip';
|
|
749
|
-
defaultEventParamsJson: {
|
|
750
|
-
[key: string]: unknown;
|
|
751
|
-
} | unknown;
|
|
752
|
-
allowedEventTypes: Array<'assign' | 'skip'>;
|
|
753
|
-
} | unknown;
|
|
754
|
-
};
|
|
737
|
+
export type GetApiProjectsByProjectIdWorkItemFieldOptionsResponse = GetApiProjectsByProjectIdWorkItemFieldOptionsResponses[keyof GetApiProjectsByProjectIdWorkItemFieldOptionsResponses];
|
|
738
|
+
export type GetApiProjectsByProjectIdData = {
|
|
739
|
+
body?: never;
|
|
755
740
|
path: {
|
|
756
741
|
projectId: string;
|
|
757
742
|
};
|
|
758
743
|
query?: never;
|
|
759
|
-
url: '/api/projects/{projectId}
|
|
744
|
+
url: '/api/projects/{projectId}';
|
|
760
745
|
};
|
|
761
|
-
export type
|
|
746
|
+
export type GetApiProjectsByProjectIdErrors = {
|
|
762
747
|
/**
|
|
763
748
|
* Response for status 401
|
|
764
749
|
*/
|
|
@@ -840,18 +825,20 @@ export type PutApiProjectsByProjectIdDefaultPipelineAssignmentErrors = {
|
|
|
840
825
|
}>;
|
|
841
826
|
};
|
|
842
827
|
};
|
|
843
|
-
export type
|
|
844
|
-
export type
|
|
828
|
+
export type GetApiProjectsByProjectIdError = GetApiProjectsByProjectIdErrors[keyof GetApiProjectsByProjectIdErrors];
|
|
829
|
+
export type GetApiProjectsByProjectIdResponses = {
|
|
845
830
|
/**
|
|
846
831
|
* Response for status 200
|
|
847
832
|
*/
|
|
848
833
|
200: {
|
|
849
834
|
id: string;
|
|
850
835
|
name: string;
|
|
836
|
+
slug: string;
|
|
851
837
|
description: string | unknown;
|
|
852
838
|
gitUrl: string;
|
|
853
839
|
createdByUserId: string;
|
|
854
840
|
orgId: string;
|
|
841
|
+
ownerUsername: string | unknown;
|
|
855
842
|
memberships: Array<{
|
|
856
843
|
userId: string;
|
|
857
844
|
permissions: Array<string>;
|
|
@@ -914,7 +901,227 @@ export type PutApiProjectsByProjectIdDefaultPipelineAssignmentResponses = {
|
|
|
914
901
|
updatedAt: string;
|
|
915
902
|
};
|
|
916
903
|
};
|
|
917
|
-
export type
|
|
904
|
+
export type GetApiProjectsByProjectIdResponse = GetApiProjectsByProjectIdResponses[keyof GetApiProjectsByProjectIdResponses];
|
|
905
|
+
export type PutApiProjectsByProjectIdDefaultPipelineAssignmentData = {
|
|
906
|
+
body: {
|
|
907
|
+
defaultPipelineAssignment: {
|
|
908
|
+
linearPipelineDefinitionId: string;
|
|
909
|
+
rulesJson: {
|
|
910
|
+
rules: Array<{
|
|
911
|
+
conditions: {
|
|
912
|
+
[key: string]: unknown;
|
|
913
|
+
};
|
|
914
|
+
event: {
|
|
915
|
+
type: string;
|
|
916
|
+
params?: {
|
|
917
|
+
[key: string]: unknown;
|
|
918
|
+
};
|
|
919
|
+
};
|
|
920
|
+
name?: string;
|
|
921
|
+
priority?: number;
|
|
922
|
+
[key: string]: unknown | {
|
|
923
|
+
[key: string]: unknown;
|
|
924
|
+
} | {
|
|
925
|
+
type: string;
|
|
926
|
+
params?: {
|
|
927
|
+
[key: string]: unknown;
|
|
928
|
+
};
|
|
929
|
+
} | string | number | undefined;
|
|
930
|
+
}>;
|
|
931
|
+
[key: string]: unknown | Array<{
|
|
932
|
+
conditions: {
|
|
933
|
+
[key: string]: unknown;
|
|
934
|
+
};
|
|
935
|
+
event: {
|
|
936
|
+
type: string;
|
|
937
|
+
params?: {
|
|
938
|
+
[key: string]: unknown;
|
|
939
|
+
};
|
|
940
|
+
};
|
|
941
|
+
name?: string;
|
|
942
|
+
priority?: number;
|
|
943
|
+
[key: string]: unknown | {
|
|
944
|
+
[key: string]: unknown;
|
|
945
|
+
} | {
|
|
946
|
+
type: string;
|
|
947
|
+
params?: {
|
|
948
|
+
[key: string]: unknown;
|
|
949
|
+
};
|
|
950
|
+
} | string | number | undefined;
|
|
951
|
+
}>;
|
|
952
|
+
};
|
|
953
|
+
defaultEventType: 'assign' | 'skip';
|
|
954
|
+
defaultEventParamsJson: {
|
|
955
|
+
[key: string]: unknown;
|
|
956
|
+
} | unknown;
|
|
957
|
+
allowedEventTypes: Array<'assign' | 'skip'>;
|
|
958
|
+
} | unknown;
|
|
959
|
+
};
|
|
960
|
+
path: {
|
|
961
|
+
projectId: string;
|
|
962
|
+
};
|
|
963
|
+
query?: never;
|
|
964
|
+
url: '/api/projects/{projectId}/default-pipeline-assignment';
|
|
965
|
+
};
|
|
966
|
+
export type PutApiProjectsByProjectIdDefaultPipelineAssignmentErrors = {
|
|
967
|
+
/**
|
|
968
|
+
* Response for status 401
|
|
969
|
+
*/
|
|
970
|
+
401: {
|
|
971
|
+
type: string;
|
|
972
|
+
title: string;
|
|
973
|
+
status: number;
|
|
974
|
+
detail?: string;
|
|
975
|
+
instance?: string;
|
|
976
|
+
code?: string;
|
|
977
|
+
errors?: Array<{
|
|
978
|
+
path: string;
|
|
979
|
+
message: string;
|
|
980
|
+
summary?: string;
|
|
981
|
+
}>;
|
|
982
|
+
};
|
|
983
|
+
/**
|
|
984
|
+
* Response for status 403
|
|
985
|
+
*/
|
|
986
|
+
403: {
|
|
987
|
+
type: string;
|
|
988
|
+
title: string;
|
|
989
|
+
status: number;
|
|
990
|
+
detail?: string;
|
|
991
|
+
instance?: string;
|
|
992
|
+
code?: string;
|
|
993
|
+
errors?: Array<{
|
|
994
|
+
path: string;
|
|
995
|
+
message: string;
|
|
996
|
+
summary?: string;
|
|
997
|
+
}>;
|
|
998
|
+
};
|
|
999
|
+
/**
|
|
1000
|
+
* Response for status 404
|
|
1001
|
+
*/
|
|
1002
|
+
404: {
|
|
1003
|
+
type: string;
|
|
1004
|
+
title: string;
|
|
1005
|
+
status: number;
|
|
1006
|
+
detail?: string;
|
|
1007
|
+
instance?: string;
|
|
1008
|
+
code?: string;
|
|
1009
|
+
errors?: Array<{
|
|
1010
|
+
path: string;
|
|
1011
|
+
message: string;
|
|
1012
|
+
summary?: string;
|
|
1013
|
+
}>;
|
|
1014
|
+
};
|
|
1015
|
+
/**
|
|
1016
|
+
* Response for status 422
|
|
1017
|
+
*/
|
|
1018
|
+
422: {
|
|
1019
|
+
type: string;
|
|
1020
|
+
title: string;
|
|
1021
|
+
status: number;
|
|
1022
|
+
detail?: string;
|
|
1023
|
+
instance?: string;
|
|
1024
|
+
code?: string;
|
|
1025
|
+
errors?: Array<{
|
|
1026
|
+
path: string;
|
|
1027
|
+
message: string;
|
|
1028
|
+
summary?: string;
|
|
1029
|
+
}>;
|
|
1030
|
+
};
|
|
1031
|
+
/**
|
|
1032
|
+
* Response for status 500
|
|
1033
|
+
*/
|
|
1034
|
+
500: {
|
|
1035
|
+
type: string;
|
|
1036
|
+
title: string;
|
|
1037
|
+
status: number;
|
|
1038
|
+
detail?: string;
|
|
1039
|
+
instance?: string;
|
|
1040
|
+
code?: string;
|
|
1041
|
+
errors?: Array<{
|
|
1042
|
+
path: string;
|
|
1043
|
+
message: string;
|
|
1044
|
+
summary?: string;
|
|
1045
|
+
}>;
|
|
1046
|
+
};
|
|
1047
|
+
};
|
|
1048
|
+
export type PutApiProjectsByProjectIdDefaultPipelineAssignmentError = PutApiProjectsByProjectIdDefaultPipelineAssignmentErrors[keyof PutApiProjectsByProjectIdDefaultPipelineAssignmentErrors];
|
|
1049
|
+
export type PutApiProjectsByProjectIdDefaultPipelineAssignmentResponses = {
|
|
1050
|
+
/**
|
|
1051
|
+
* Response for status 200
|
|
1052
|
+
*/
|
|
1053
|
+
200: {
|
|
1054
|
+
id: string;
|
|
1055
|
+
name: string;
|
|
1056
|
+
slug: string;
|
|
1057
|
+
description: string | unknown;
|
|
1058
|
+
gitUrl: string;
|
|
1059
|
+
createdByUserId: string;
|
|
1060
|
+
orgId: string;
|
|
1061
|
+
ownerUsername: string | unknown;
|
|
1062
|
+
memberships: Array<{
|
|
1063
|
+
userId: string;
|
|
1064
|
+
permissions: Array<string>;
|
|
1065
|
+
createdAt: string;
|
|
1066
|
+
updatedAt: string;
|
|
1067
|
+
}>;
|
|
1068
|
+
defaultPipelineAssignment: {
|
|
1069
|
+
linearPipelineDefinitionId: string;
|
|
1070
|
+
rulesJson: {
|
|
1071
|
+
rules: Array<{
|
|
1072
|
+
conditions: {
|
|
1073
|
+
[key: string]: unknown;
|
|
1074
|
+
};
|
|
1075
|
+
event: {
|
|
1076
|
+
type: string;
|
|
1077
|
+
params?: {
|
|
1078
|
+
[key: string]: unknown;
|
|
1079
|
+
};
|
|
1080
|
+
};
|
|
1081
|
+
name?: string;
|
|
1082
|
+
priority?: number;
|
|
1083
|
+
[key: string]: unknown | {
|
|
1084
|
+
[key: string]: unknown;
|
|
1085
|
+
} | {
|
|
1086
|
+
type: string;
|
|
1087
|
+
params?: {
|
|
1088
|
+
[key: string]: unknown;
|
|
1089
|
+
};
|
|
1090
|
+
} | string | number | undefined;
|
|
1091
|
+
}>;
|
|
1092
|
+
[key: string]: unknown | Array<{
|
|
1093
|
+
conditions: {
|
|
1094
|
+
[key: string]: unknown;
|
|
1095
|
+
};
|
|
1096
|
+
event: {
|
|
1097
|
+
type: string;
|
|
1098
|
+
params?: {
|
|
1099
|
+
[key: string]: unknown;
|
|
1100
|
+
};
|
|
1101
|
+
};
|
|
1102
|
+
name?: string;
|
|
1103
|
+
priority?: number;
|
|
1104
|
+
[key: string]: unknown | {
|
|
1105
|
+
[key: string]: unknown;
|
|
1106
|
+
} | {
|
|
1107
|
+
type: string;
|
|
1108
|
+
params?: {
|
|
1109
|
+
[key: string]: unknown;
|
|
1110
|
+
};
|
|
1111
|
+
} | string | number | undefined;
|
|
1112
|
+
}>;
|
|
1113
|
+
};
|
|
1114
|
+
defaultEventType: 'assign' | 'skip';
|
|
1115
|
+
defaultEventParamsJson: {
|
|
1116
|
+
[key: string]: unknown;
|
|
1117
|
+
} | unknown;
|
|
1118
|
+
allowedEventTypes: Array<'assign' | 'skip'>;
|
|
1119
|
+
} | unknown;
|
|
1120
|
+
createdAt: string;
|
|
1121
|
+
updatedAt: string;
|
|
1122
|
+
};
|
|
1123
|
+
};
|
|
1124
|
+
export type PutApiProjectsByProjectIdDefaultPipelineAssignmentResponse = PutApiProjectsByProjectIdDefaultPipelineAssignmentResponses[keyof PutApiProjectsByProjectIdDefaultPipelineAssignmentResponses];
|
|
918
1125
|
export type PutApiProjectsByProjectIdMembersByUserIdPermissionsData = {
|
|
919
1126
|
body?: never;
|
|
920
1127
|
path: {
|
|
@@ -1014,10 +1221,12 @@ export type PutApiProjectsByProjectIdMembersByUserIdPermissionsResponses = {
|
|
|
1014
1221
|
200: {
|
|
1015
1222
|
id: string;
|
|
1016
1223
|
name: string;
|
|
1224
|
+
slug: string;
|
|
1017
1225
|
description: string | unknown;
|
|
1018
1226
|
gitUrl: string;
|
|
1019
1227
|
createdByUserId: string;
|
|
1020
1228
|
orgId: string;
|
|
1229
|
+
ownerUsername: string | unknown;
|
|
1021
1230
|
memberships: Array<{
|
|
1022
1231
|
userId: string;
|
|
1023
1232
|
permissions: Array<string>;
|
|
@@ -6719,6 +6928,12 @@ export type GetApiLinearPipelineExecutionsData = {
|
|
|
6719
6928
|
path?: never;
|
|
6720
6929
|
query: {
|
|
6721
6930
|
projectId: string;
|
|
6931
|
+
pipelineId?: string;
|
|
6932
|
+
workItemId?: string;
|
|
6933
|
+
status?: 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'blocked' | 'routed';
|
|
6934
|
+
sort?: 'newest' | 'oldest';
|
|
6935
|
+
page?: number;
|
|
6936
|
+
pageSize?: number;
|
|
6722
6937
|
};
|
|
6723
6938
|
url: '/api/linear-pipeline-executions';
|
|
6724
6939
|
};
|
|
@@ -6793,83 +7008,37 @@ export type GetApiLinearPipelineExecutionsResponses = {
|
|
|
6793
7008
|
/**
|
|
6794
7009
|
* Response for status 200
|
|
6795
7010
|
*/
|
|
6796
|
-
200:
|
|
6797
|
-
|
|
6798
|
-
|
|
6799
|
-
|
|
6800
|
-
|
|
6801
|
-
|
|
6802
|
-
|
|
6803
|
-
|
|
6804
|
-
|
|
6805
|
-
|
|
6806
|
-
|
|
6807
|
-
|
|
6808
|
-
|
|
6809
|
-
|
|
6810
|
-
|
|
6811
|
-
|
|
6812
|
-
|
|
6813
|
-
|
|
6814
|
-
|
|
6815
|
-
|
|
6816
|
-
|
|
6817
|
-
|
|
6818
|
-
|
|
6819
|
-
|
|
6820
|
-
|
|
6821
|
-
|
|
6822
|
-
|
|
6823
|
-
|
|
6824
|
-
|
|
6825
|
-
|
|
6826
|
-
|
|
6827
|
-
acceptedByUserId: string | unknown;
|
|
6828
|
-
acceptedAt: string | unknown;
|
|
6829
|
-
acceptanceReason: string | unknown;
|
|
6830
|
-
workBranch: string | unknown;
|
|
6831
|
-
outputJson: unknown;
|
|
6832
|
-
evaluation: {
|
|
6833
|
-
id: string;
|
|
6834
|
-
linearPipelineExecutionAttemptId: string;
|
|
6835
|
-
linearPipelineStepRunId: string;
|
|
6836
|
-
stepExecutionId: string;
|
|
6837
|
-
stepExecutionResultId: string;
|
|
6838
|
-
stepExecutionResultStatus: 'succeeded' | 'failed' | unknown;
|
|
6839
|
-
linearPipelineStepAdvancementPolicyDefinitionId: string;
|
|
6840
|
-
factsSnapshotJson: {
|
|
6841
|
-
[key: string]: unknown;
|
|
6842
|
-
};
|
|
6843
|
-
ruleResultsJson: unknown;
|
|
6844
|
-
finalStatus: 'pass' | 'fail';
|
|
6845
|
-
finalAction: 'continue' | 'block' | 'complete' | 'route';
|
|
6846
|
-
finalPayloadJson: {
|
|
6847
|
-
[key: string]: unknown;
|
|
6848
|
-
} | unknown;
|
|
6849
|
-
createdAt: string;
|
|
6850
|
-
} | unknown;
|
|
6851
|
-
createdAt: string;
|
|
6852
|
-
updatedAt: string;
|
|
6853
|
-
}>;
|
|
6854
|
-
events: Array<{
|
|
6855
|
-
id: string;
|
|
6856
|
-
linearPipelineExecutionAttemptId: string;
|
|
6857
|
-
type: 'pipeline_queued' | 'pipeline_started' | 'step_run_created' | 'step_attempt_queued' | 'step_attempt_started' | 'step_attempt_succeeded' | 'step_attempt_failed' | 'step_evaluated' | 'step_satisfied_by_policy' | 'step_satisfied_by_user' | 'step_unsatisfied_by_policy' | 'step_retriggered' | 'step_blocked' | 'step_routed' | 'pipeline_succeeded' | 'pipeline_failed' | 'pipeline_blocked' | 'pipeline_routed' | 'pipeline_cancelled';
|
|
6858
|
-
payloadJson: {
|
|
6859
|
-
[key: string]: unknown;
|
|
6860
|
-
} | unknown;
|
|
6861
|
-
createdAt: string;
|
|
6862
|
-
}>;
|
|
6863
|
-
createdAt: string;
|
|
6864
|
-
updatedAt: string;
|
|
6865
|
-
}>;
|
|
6866
|
-
createdAt: string;
|
|
6867
|
-
updatedAt: string;
|
|
6868
|
-
}>;
|
|
6869
|
-
};
|
|
6870
|
-
export type GetApiLinearPipelineExecutionsResponse = GetApiLinearPipelineExecutionsResponses[keyof GetApiLinearPipelineExecutionsResponses];
|
|
6871
|
-
export type PostApiLinearPipelineExecutionsData = {
|
|
6872
|
-
body: {
|
|
7011
|
+
200: {
|
|
7012
|
+
items: Array<{
|
|
7013
|
+
id: string;
|
|
7014
|
+
projectId: string;
|
|
7015
|
+
workItemId: string;
|
|
7016
|
+
workItemTitle: string;
|
|
7017
|
+
linearPipelineDefinitionId: string;
|
|
7018
|
+
linearPipelineDefinitionVersionId: string;
|
|
7019
|
+
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'blocked' | 'routed';
|
|
7020
|
+
attemptCount: number;
|
|
7021
|
+
latestAttempt: {
|
|
7022
|
+
attemptNumber: number;
|
|
7023
|
+
currentStepKey: string | unknown;
|
|
7024
|
+
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'blocked' | 'routed';
|
|
7025
|
+
startedAt: string | unknown;
|
|
7026
|
+
completedAt: string | unknown;
|
|
7027
|
+
updatedAt: string;
|
|
7028
|
+
} | unknown;
|
|
7029
|
+
createdAt: string;
|
|
7030
|
+
updatedAt: string;
|
|
7031
|
+
}>;
|
|
7032
|
+
pagination: {
|
|
7033
|
+
page: number;
|
|
7034
|
+
pageSize: number;
|
|
7035
|
+
total: number;
|
|
7036
|
+
};
|
|
7037
|
+
};
|
|
7038
|
+
};
|
|
7039
|
+
export type GetApiLinearPipelineExecutionsResponse = GetApiLinearPipelineExecutionsResponses[keyof GetApiLinearPipelineExecutionsResponses];
|
|
7040
|
+
export type PostApiLinearPipelineExecutionsData = {
|
|
7041
|
+
body: {
|
|
6873
7042
|
projectId: string;
|
|
6874
7043
|
workItemId: string;
|
|
6875
7044
|
linearPipelineDefinitionId: string;
|
|
@@ -7002,6 +7171,7 @@ export type PostApiLinearPipelineExecutionsResponses = {
|
|
|
7002
7171
|
id: string;
|
|
7003
7172
|
projectId: string;
|
|
7004
7173
|
workItemId: string;
|
|
7174
|
+
workItemTitle: string;
|
|
7005
7175
|
linearPipelineDefinitionId: string;
|
|
7006
7176
|
linearPipelineDefinitionVersionId: string;
|
|
7007
7177
|
definitionStepCount: number;
|
|
@@ -7024,7 +7194,7 @@ export type PostApiLinearPipelineExecutionsResponses = {
|
|
|
7024
7194
|
stepDefinitionVersion: number;
|
|
7025
7195
|
stepKey: string;
|
|
7026
7196
|
position: number;
|
|
7027
|
-
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned';
|
|
7197
|
+
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned' | 'timeout';
|
|
7028
7198
|
satisfactionStatus: 'not_evaluated' | 'satisfied_by_policy' | 'satisfied_by_user' | 'unsatisfied_by_policy';
|
|
7029
7199
|
stepExecutionId: string;
|
|
7030
7200
|
stepExecutionResultId: string | unknown;
|
|
@@ -7172,6 +7342,7 @@ export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdStartRespon
|
|
|
7172
7342
|
id: string;
|
|
7173
7343
|
projectId: string;
|
|
7174
7344
|
workItemId: string;
|
|
7345
|
+
workItemTitle: string;
|
|
7175
7346
|
linearPipelineDefinitionId: string;
|
|
7176
7347
|
linearPipelineDefinitionVersionId: string;
|
|
7177
7348
|
definitionStepCount: number;
|
|
@@ -7194,7 +7365,7 @@ export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdStartRespon
|
|
|
7194
7365
|
stepDefinitionVersion: number;
|
|
7195
7366
|
stepKey: string;
|
|
7196
7367
|
position: number;
|
|
7197
|
-
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned';
|
|
7368
|
+
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned' | 'timeout';
|
|
7198
7369
|
satisfactionStatus: 'not_evaluated' | 'satisfied_by_policy' | 'satisfied_by_user' | 'unsatisfied_by_policy';
|
|
7199
7370
|
stepExecutionId: string;
|
|
7200
7371
|
stepExecutionResultId: string | unknown;
|
|
@@ -7342,6 +7513,7 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsFi
|
|
|
7342
7513
|
id: string;
|
|
7343
7514
|
projectId: string;
|
|
7344
7515
|
workItemId: string;
|
|
7516
|
+
workItemTitle: string;
|
|
7345
7517
|
linearPipelineDefinitionId: string;
|
|
7346
7518
|
linearPipelineDefinitionVersionId: string;
|
|
7347
7519
|
definitionStepCount: number;
|
|
@@ -7364,7 +7536,7 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsFi
|
|
|
7364
7536
|
stepDefinitionVersion: number;
|
|
7365
7537
|
stepKey: string;
|
|
7366
7538
|
position: number;
|
|
7367
|
-
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned';
|
|
7539
|
+
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned' | 'timeout';
|
|
7368
7540
|
satisfactionStatus: 'not_evaluated' | 'satisfied_by_policy' | 'satisfied_by_user' | 'unsatisfied_by_policy';
|
|
7369
7541
|
stepExecutionId: string;
|
|
7370
7542
|
stepExecutionResultId: string | unknown;
|
|
@@ -7513,6 +7685,7 @@ export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsByL
|
|
|
7513
7685
|
id: string;
|
|
7514
7686
|
projectId: string;
|
|
7515
7687
|
workItemId: string;
|
|
7688
|
+
workItemTitle: string;
|
|
7516
7689
|
linearPipelineDefinitionId: string;
|
|
7517
7690
|
linearPipelineDefinitionVersionId: string;
|
|
7518
7691
|
definitionStepCount: number;
|
|
@@ -7535,7 +7708,7 @@ export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsByL
|
|
|
7535
7708
|
stepDefinitionVersion: number;
|
|
7536
7709
|
stepKey: string;
|
|
7537
7710
|
position: number;
|
|
7538
|
-
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned';
|
|
7711
|
+
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned' | 'timeout';
|
|
7539
7712
|
satisfactionStatus: 'not_evaluated' | 'satisfied_by_policy' | 'satisfied_by_user' | 'unsatisfied_by_policy';
|
|
7540
7713
|
stepExecutionId: string;
|
|
7541
7714
|
stepExecutionResultId: string | unknown;
|
|
@@ -7690,6 +7863,7 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsBy
|
|
|
7690
7863
|
id: string;
|
|
7691
7864
|
projectId: string;
|
|
7692
7865
|
workItemId: string;
|
|
7866
|
+
workItemTitle: string;
|
|
7693
7867
|
linearPipelineDefinitionId: string;
|
|
7694
7868
|
linearPipelineDefinitionVersionId: string;
|
|
7695
7869
|
definitionStepCount: number;
|
|
@@ -7712,7 +7886,7 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsBy
|
|
|
7712
7886
|
stepDefinitionVersion: number;
|
|
7713
7887
|
stepKey: string;
|
|
7714
7888
|
position: number;
|
|
7715
|
-
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned';
|
|
7889
|
+
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned' | 'timeout';
|
|
7716
7890
|
satisfactionStatus: 'not_evaluated' | 'satisfied_by_policy' | 'satisfied_by_user' | 'unsatisfied_by_policy';
|
|
7717
7891
|
stepExecutionId: string;
|
|
7718
7892
|
stepExecutionResultId: string | unknown;
|
|
@@ -7867,6 +8041,7 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsBy
|
|
|
7867
8041
|
id: string;
|
|
7868
8042
|
projectId: string;
|
|
7869
8043
|
workItemId: string;
|
|
8044
|
+
workItemTitle: string;
|
|
7870
8045
|
linearPipelineDefinitionId: string;
|
|
7871
8046
|
linearPipelineDefinitionVersionId: string;
|
|
7872
8047
|
definitionStepCount: number;
|
|
@@ -7889,7 +8064,7 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsBy
|
|
|
7889
8064
|
stepDefinitionVersion: number;
|
|
7890
8065
|
stepKey: string;
|
|
7891
8066
|
position: number;
|
|
7892
|
-
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned';
|
|
8067
|
+
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned' | 'timeout';
|
|
7893
8068
|
satisfactionStatus: 'not_evaluated' | 'satisfied_by_policy' | 'satisfied_by_user' | 'unsatisfied_by_policy';
|
|
7894
8069
|
stepExecutionId: string;
|
|
7895
8070
|
stepExecutionResultId: string | unknown;
|
|
@@ -8040,6 +8215,7 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdRerunRespo
|
|
|
8040
8215
|
id: string;
|
|
8041
8216
|
projectId: string;
|
|
8042
8217
|
workItemId: string;
|
|
8218
|
+
workItemTitle: string;
|
|
8043
8219
|
linearPipelineDefinitionId: string;
|
|
8044
8220
|
linearPipelineDefinitionVersionId: string;
|
|
8045
8221
|
definitionStepCount: number;
|
|
@@ -8062,7 +8238,7 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdRerunRespo
|
|
|
8062
8238
|
stepDefinitionVersion: number;
|
|
8063
8239
|
stepKey: string;
|
|
8064
8240
|
position: number;
|
|
8065
|
-
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned';
|
|
8241
|
+
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned' | 'timeout';
|
|
8066
8242
|
satisfactionStatus: 'not_evaluated' | 'satisfied_by_policy' | 'satisfied_by_user' | 'unsatisfied_by_policy';
|
|
8067
8243
|
stepExecutionId: string;
|
|
8068
8244
|
stepExecutionResultId: string | unknown;
|
|
@@ -8210,6 +8386,7 @@ export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdCancelRespo
|
|
|
8210
8386
|
id: string;
|
|
8211
8387
|
projectId: string;
|
|
8212
8388
|
workItemId: string;
|
|
8389
|
+
workItemTitle: string;
|
|
8213
8390
|
linearPipelineDefinitionId: string;
|
|
8214
8391
|
linearPipelineDefinitionVersionId: string;
|
|
8215
8392
|
definitionStepCount: number;
|
|
@@ -8232,7 +8409,7 @@ export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdCancelRespo
|
|
|
8232
8409
|
stepDefinitionVersion: number;
|
|
8233
8410
|
stepKey: string;
|
|
8234
8411
|
position: number;
|
|
8235
|
-
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned';
|
|
8412
|
+
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned' | 'timeout';
|
|
8236
8413
|
satisfactionStatus: 'not_evaluated' | 'satisfied_by_policy' | 'satisfied_by_user' | 'unsatisfied_by_policy';
|
|
8237
8414
|
stepExecutionId: string;
|
|
8238
8415
|
stepExecutionResultId: string | unknown;
|
|
@@ -8380,6 +8557,7 @@ export type GetApiLinearPipelineExecutionsByLinearPipelineExecutionIdResponses =
|
|
|
8380
8557
|
id: string;
|
|
8381
8558
|
projectId: string;
|
|
8382
8559
|
workItemId: string;
|
|
8560
|
+
workItemTitle: string;
|
|
8383
8561
|
linearPipelineDefinitionId: string;
|
|
8384
8562
|
linearPipelineDefinitionVersionId: string;
|
|
8385
8563
|
definitionStepCount: number;
|
|
@@ -8402,7 +8580,7 @@ export type GetApiLinearPipelineExecutionsByLinearPipelineExecutionIdResponses =
|
|
|
8402
8580
|
stepDefinitionVersion: number;
|
|
8403
8581
|
stepKey: string;
|
|
8404
8582
|
position: number;
|
|
8405
|
-
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned';
|
|
8583
|
+
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned' | 'timeout';
|
|
8406
8584
|
satisfactionStatus: 'not_evaluated' | 'satisfied_by_policy' | 'satisfied_by_user' | 'unsatisfied_by_policy';
|
|
8407
8585
|
stepExecutionId: string;
|
|
8408
8586
|
stepExecutionResultId: string | unknown;
|
|
@@ -8451,15 +8629,100 @@ export type GetApiLinearPipelineExecutionsByLinearPipelineExecutionIdResponses =
|
|
|
8451
8629
|
};
|
|
8452
8630
|
};
|
|
8453
8631
|
export type GetApiLinearPipelineExecutionsByLinearPipelineExecutionIdResponse = GetApiLinearPipelineExecutionsByLinearPipelineExecutionIdResponses[keyof GetApiLinearPipelineExecutionsByLinearPipelineExecutionIdResponses];
|
|
8454
|
-
export type
|
|
8632
|
+
export type GetApiLinearPipelineExecutionsCountsByPipelineData = {
|
|
8633
|
+
body?: never;
|
|
8634
|
+
path?: never;
|
|
8635
|
+
query: {
|
|
8636
|
+
projectId: string;
|
|
8637
|
+
};
|
|
8638
|
+
url: '/api/linear-pipeline-executions/counts/by-pipeline';
|
|
8639
|
+
};
|
|
8640
|
+
export type GetApiLinearPipelineExecutionsCountsByPipelineErrors = {
|
|
8641
|
+
/**
|
|
8642
|
+
* Response for status 401
|
|
8643
|
+
*/
|
|
8644
|
+
401: {
|
|
8645
|
+
type: string;
|
|
8646
|
+
title: string;
|
|
8647
|
+
status: number;
|
|
8648
|
+
detail?: string;
|
|
8649
|
+
instance?: string;
|
|
8650
|
+
code?: string;
|
|
8651
|
+
errors?: Array<{
|
|
8652
|
+
path: string;
|
|
8653
|
+
message: string;
|
|
8654
|
+
summary?: string;
|
|
8655
|
+
}>;
|
|
8656
|
+
};
|
|
8657
|
+
/**
|
|
8658
|
+
* Response for status 403
|
|
8659
|
+
*/
|
|
8660
|
+
403: {
|
|
8661
|
+
type: string;
|
|
8662
|
+
title: string;
|
|
8663
|
+
status: number;
|
|
8664
|
+
detail?: string;
|
|
8665
|
+
instance?: string;
|
|
8666
|
+
code?: string;
|
|
8667
|
+
errors?: Array<{
|
|
8668
|
+
path: string;
|
|
8669
|
+
message: string;
|
|
8670
|
+
summary?: string;
|
|
8671
|
+
}>;
|
|
8672
|
+
};
|
|
8673
|
+
/**
|
|
8674
|
+
* Response for status 422
|
|
8675
|
+
*/
|
|
8676
|
+
422: {
|
|
8677
|
+
type: string;
|
|
8678
|
+
title: string;
|
|
8679
|
+
status: number;
|
|
8680
|
+
detail?: string;
|
|
8681
|
+
instance?: string;
|
|
8682
|
+
code?: string;
|
|
8683
|
+
errors?: Array<{
|
|
8684
|
+
path: string;
|
|
8685
|
+
message: string;
|
|
8686
|
+
summary?: string;
|
|
8687
|
+
}>;
|
|
8688
|
+
};
|
|
8689
|
+
/**
|
|
8690
|
+
* Response for status 500
|
|
8691
|
+
*/
|
|
8692
|
+
500: {
|
|
8693
|
+
type: string;
|
|
8694
|
+
title: string;
|
|
8695
|
+
status: number;
|
|
8696
|
+
detail?: string;
|
|
8697
|
+
instance?: string;
|
|
8698
|
+
code?: string;
|
|
8699
|
+
errors?: Array<{
|
|
8700
|
+
path: string;
|
|
8701
|
+
message: string;
|
|
8702
|
+
summary?: string;
|
|
8703
|
+
}>;
|
|
8704
|
+
};
|
|
8705
|
+
};
|
|
8706
|
+
export type GetApiLinearPipelineExecutionsCountsByPipelineError = GetApiLinearPipelineExecutionsCountsByPipelineErrors[keyof GetApiLinearPipelineExecutionsCountsByPipelineErrors];
|
|
8707
|
+
export type GetApiLinearPipelineExecutionsCountsByPipelineResponses = {
|
|
8708
|
+
/**
|
|
8709
|
+
* Response for status 200
|
|
8710
|
+
*/
|
|
8711
|
+
200: Array<{
|
|
8712
|
+
linearPipelineDefinitionId: string;
|
|
8713
|
+
count: number;
|
|
8714
|
+
}>;
|
|
8715
|
+
};
|
|
8716
|
+
export type GetApiLinearPipelineExecutionsCountsByPipelineResponse = GetApiLinearPipelineExecutionsCountsByPipelineResponses[keyof GetApiLinearPipelineExecutionsCountsByPipelineResponses];
|
|
8717
|
+
export type GetApiLinearPipelineExecutionsStepRollupsByDefinitionByLinearPipelineDefinitionIdData = {
|
|
8455
8718
|
body?: never;
|
|
8456
8719
|
path: {
|
|
8457
8720
|
linearPipelineDefinitionId: string;
|
|
8458
8721
|
};
|
|
8459
8722
|
query?: never;
|
|
8460
|
-
url: '/api/linear-pipeline-executions/by-definition/{linearPipelineDefinitionId}';
|
|
8723
|
+
url: '/api/linear-pipeline-executions/step-rollups/by-definition/{linearPipelineDefinitionId}';
|
|
8461
8724
|
};
|
|
8462
|
-
export type
|
|
8725
|
+
export type GetApiLinearPipelineExecutionsStepRollupsByDefinitionByLinearPipelineDefinitionIdErrors = {
|
|
8463
8726
|
/**
|
|
8464
8727
|
* Response for status 401
|
|
8465
8728
|
*/
|
|
@@ -8541,104 +8804,542 @@ export type GetApiLinearPipelineExecutionsByDefinitionByLinearPipelineDefinition
|
|
|
8541
8804
|
}>;
|
|
8542
8805
|
};
|
|
8543
8806
|
};
|
|
8544
|
-
export type
|
|
8545
|
-
export type
|
|
8807
|
+
export type GetApiLinearPipelineExecutionsStepRollupsByDefinitionByLinearPipelineDefinitionIdError = GetApiLinearPipelineExecutionsStepRollupsByDefinitionByLinearPipelineDefinitionIdErrors[keyof GetApiLinearPipelineExecutionsStepRollupsByDefinitionByLinearPipelineDefinitionIdErrors];
|
|
8808
|
+
export type GetApiLinearPipelineExecutionsStepRollupsByDefinitionByLinearPipelineDefinitionIdResponses = {
|
|
8546
8809
|
/**
|
|
8547
8810
|
* Response for status 200
|
|
8548
8811
|
*/
|
|
8549
8812
|
200: Array<{
|
|
8550
|
-
|
|
8551
|
-
|
|
8552
|
-
|
|
8553
|
-
|
|
8554
|
-
linearPipelineDefinitionVersionId: string;
|
|
8555
|
-
definitionStepCount: number;
|
|
8556
|
-
inputJson: unknown;
|
|
8557
|
-
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'blocked' | 'routed';
|
|
8558
|
-
attempts: Array<{
|
|
8559
|
-
id: string;
|
|
8813
|
+
linearPipelineStepDefinitionId: string;
|
|
8814
|
+
totalRunCount: number;
|
|
8815
|
+
latestRun: {
|
|
8816
|
+
linearPipelineStepRunId: string;
|
|
8560
8817
|
linearPipelineExecutionId: string;
|
|
8561
|
-
|
|
8562
|
-
|
|
8563
|
-
|
|
8564
|
-
completedAt: string | unknown;
|
|
8565
|
-
routedToPipelineExecutionId: string | unknown;
|
|
8566
|
-
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'blocked' | 'routed';
|
|
8567
|
-
stepRuns: Array<{
|
|
8568
|
-
id: string;
|
|
8569
|
-
linearPipelineExecutionAttemptId: string;
|
|
8570
|
-
linearPipelineStepDefinitionId: string;
|
|
8571
|
-
stepDefinitionId: string;
|
|
8572
|
-
stepDefinitionVersion: number;
|
|
8573
|
-
stepKey: string;
|
|
8574
|
-
position: number;
|
|
8575
|
-
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned';
|
|
8576
|
-
satisfactionStatus: 'not_evaluated' | 'satisfied_by_policy' | 'satisfied_by_user' | 'unsatisfied_by_policy';
|
|
8577
|
-
stepExecutionId: string;
|
|
8578
|
-
stepExecutionResultId: string | unknown;
|
|
8579
|
-
inheritedFromStepRunId: string | unknown;
|
|
8580
|
-
acceptedByUserId: string | unknown;
|
|
8581
|
-
acceptedAt: string | unknown;
|
|
8582
|
-
acceptanceReason: string | unknown;
|
|
8583
|
-
workBranch: string | unknown;
|
|
8584
|
-
outputJson: unknown;
|
|
8585
|
-
evaluation: {
|
|
8586
|
-
id: string;
|
|
8587
|
-
linearPipelineExecutionAttemptId: string;
|
|
8588
|
-
linearPipelineStepRunId: string;
|
|
8589
|
-
stepExecutionId: string;
|
|
8590
|
-
stepExecutionResultId: string;
|
|
8591
|
-
stepExecutionResultStatus: 'succeeded' | 'failed' | unknown;
|
|
8592
|
-
linearPipelineStepAdvancementPolicyDefinitionId: string;
|
|
8593
|
-
factsSnapshotJson: {
|
|
8594
|
-
[key: string]: unknown;
|
|
8595
|
-
};
|
|
8596
|
-
ruleResultsJson: unknown;
|
|
8597
|
-
finalStatus: 'pass' | 'fail';
|
|
8598
|
-
finalAction: 'continue' | 'block' | 'complete' | 'route';
|
|
8599
|
-
finalPayloadJson: {
|
|
8600
|
-
[key: string]: unknown;
|
|
8601
|
-
} | unknown;
|
|
8602
|
-
createdAt: string;
|
|
8603
|
-
} | unknown;
|
|
8604
|
-
createdAt: string;
|
|
8605
|
-
updatedAt: string;
|
|
8606
|
-
}>;
|
|
8607
|
-
events: Array<{
|
|
8608
|
-
id: string;
|
|
8609
|
-
linearPipelineExecutionAttemptId: string;
|
|
8610
|
-
type: 'pipeline_queued' | 'pipeline_started' | 'step_run_created' | 'step_attempt_queued' | 'step_attempt_started' | 'step_attempt_succeeded' | 'step_attempt_failed' | 'step_evaluated' | 'step_satisfied_by_policy' | 'step_satisfied_by_user' | 'step_unsatisfied_by_policy' | 'step_retriggered' | 'step_blocked' | 'step_routed' | 'pipeline_succeeded' | 'pipeline_failed' | 'pipeline_blocked' | 'pipeline_routed' | 'pipeline_cancelled';
|
|
8611
|
-
payloadJson: {
|
|
8612
|
-
[key: string]: unknown;
|
|
8613
|
-
} | unknown;
|
|
8614
|
-
createdAt: string;
|
|
8615
|
-
}>;
|
|
8818
|
+
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned' | 'timeout';
|
|
8819
|
+
stepExecutionResultStatus: 'succeeded' | 'failed' | unknown;
|
|
8820
|
+
evaluationFinalAction: 'continue' | 'block' | 'complete' | 'route' | unknown;
|
|
8616
8821
|
createdAt: string;
|
|
8617
|
-
|
|
8618
|
-
}>;
|
|
8619
|
-
createdAt: string;
|
|
8620
|
-
updatedAt: string;
|
|
8822
|
+
} | unknown;
|
|
8621
8823
|
}>;
|
|
8622
8824
|
};
|
|
8623
|
-
export type
|
|
8624
|
-
export type
|
|
8625
|
-
body
|
|
8626
|
-
|
|
8627
|
-
|
|
8628
|
-
|
|
8629
|
-
|
|
8630
|
-
|
|
8825
|
+
export type GetApiLinearPipelineExecutionsStepRollupsByDefinitionByLinearPipelineDefinitionIdResponse = GetApiLinearPipelineExecutionsStepRollupsByDefinitionByLinearPipelineDefinitionIdResponses[keyof GetApiLinearPipelineExecutionsStepRollupsByDefinitionByLinearPipelineDefinitionIdResponses];
|
|
8826
|
+
export type GetApiLinearPipelineExecutionsStepRunsByDefinitionByLinearPipelineDefinitionIdData = {
|
|
8827
|
+
body?: never;
|
|
8828
|
+
path: {
|
|
8829
|
+
linearPipelineDefinitionId: string;
|
|
8830
|
+
};
|
|
8831
|
+
query: {
|
|
8832
|
+
linearPipelineStepDefinitionId: string;
|
|
8833
|
+
};
|
|
8834
|
+
url: '/api/linear-pipeline-executions/step-runs/by-definition/{linearPipelineDefinitionId}';
|
|
8835
|
+
};
|
|
8836
|
+
export type GetApiLinearPipelineExecutionsStepRunsByDefinitionByLinearPipelineDefinitionIdErrors = {
|
|
8837
|
+
/**
|
|
8838
|
+
* Response for status 401
|
|
8839
|
+
*/
|
|
8840
|
+
401: {
|
|
8841
|
+
type: string;
|
|
8631
8842
|
title: string;
|
|
8632
|
-
|
|
8633
|
-
|
|
8634
|
-
|
|
8635
|
-
|
|
8843
|
+
status: number;
|
|
8844
|
+
detail?: string;
|
|
8845
|
+
instance?: string;
|
|
8846
|
+
code?: string;
|
|
8847
|
+
errors?: Array<{
|
|
8848
|
+
path: string;
|
|
8849
|
+
message: string;
|
|
8850
|
+
summary?: string;
|
|
8851
|
+
}>;
|
|
8636
8852
|
};
|
|
8637
|
-
|
|
8638
|
-
|
|
8639
|
-
|
|
8853
|
+
/**
|
|
8854
|
+
* Response for status 403
|
|
8855
|
+
*/
|
|
8856
|
+
403: {
|
|
8857
|
+
type: string;
|
|
8858
|
+
title: string;
|
|
8859
|
+
status: number;
|
|
8860
|
+
detail?: string;
|
|
8861
|
+
instance?: string;
|
|
8862
|
+
code?: string;
|
|
8863
|
+
errors?: Array<{
|
|
8864
|
+
path: string;
|
|
8865
|
+
message: string;
|
|
8866
|
+
summary?: string;
|
|
8867
|
+
}>;
|
|
8868
|
+
};
|
|
8869
|
+
/**
|
|
8870
|
+
* Response for status 404
|
|
8871
|
+
*/
|
|
8872
|
+
404: {
|
|
8873
|
+
type: string;
|
|
8874
|
+
title: string;
|
|
8875
|
+
status: number;
|
|
8876
|
+
detail?: string;
|
|
8877
|
+
instance?: string;
|
|
8878
|
+
code?: string;
|
|
8879
|
+
errors?: Array<{
|
|
8880
|
+
path: string;
|
|
8881
|
+
message: string;
|
|
8882
|
+
summary?: string;
|
|
8883
|
+
}>;
|
|
8884
|
+
};
|
|
8885
|
+
/**
|
|
8886
|
+
* Response for status 422
|
|
8887
|
+
*/
|
|
8888
|
+
422: {
|
|
8889
|
+
type: string;
|
|
8890
|
+
title: string;
|
|
8891
|
+
status: number;
|
|
8892
|
+
detail?: string;
|
|
8893
|
+
instance?: string;
|
|
8894
|
+
code?: string;
|
|
8895
|
+
errors?: Array<{
|
|
8896
|
+
path: string;
|
|
8897
|
+
message: string;
|
|
8898
|
+
summary?: string;
|
|
8899
|
+
}>;
|
|
8900
|
+
};
|
|
8901
|
+
/**
|
|
8902
|
+
* Response for status 500
|
|
8903
|
+
*/
|
|
8904
|
+
500: {
|
|
8905
|
+
type: string;
|
|
8906
|
+
title: string;
|
|
8907
|
+
status: number;
|
|
8908
|
+
detail?: string;
|
|
8909
|
+
instance?: string;
|
|
8910
|
+
code?: string;
|
|
8911
|
+
errors?: Array<{
|
|
8912
|
+
path: string;
|
|
8913
|
+
message: string;
|
|
8914
|
+
summary?: string;
|
|
8915
|
+
}>;
|
|
8916
|
+
};
|
|
8917
|
+
};
|
|
8918
|
+
export type GetApiLinearPipelineExecutionsStepRunsByDefinitionByLinearPipelineDefinitionIdError = GetApiLinearPipelineExecutionsStepRunsByDefinitionByLinearPipelineDefinitionIdErrors[keyof GetApiLinearPipelineExecutionsStepRunsByDefinitionByLinearPipelineDefinitionIdErrors];
|
|
8919
|
+
export type GetApiLinearPipelineExecutionsStepRunsByDefinitionByLinearPipelineDefinitionIdResponses = {
|
|
8920
|
+
/**
|
|
8921
|
+
* Response for status 200
|
|
8922
|
+
*/
|
|
8923
|
+
200: Array<{
|
|
8924
|
+
linearPipelineStepRunId: string;
|
|
8925
|
+
linearPipelineExecutionId: string;
|
|
8926
|
+
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned' | 'timeout';
|
|
8927
|
+
stepExecutionResultStatus: 'succeeded' | 'failed' | unknown;
|
|
8928
|
+
evaluationFinalAction: 'continue' | 'block' | 'complete' | 'route' | unknown;
|
|
8929
|
+
createdAt: string;
|
|
8930
|
+
}>;
|
|
8931
|
+
};
|
|
8932
|
+
export type GetApiLinearPipelineExecutionsStepRunsByDefinitionByLinearPipelineDefinitionIdResponse = GetApiLinearPipelineExecutionsStepRunsByDefinitionByLinearPipelineDefinitionIdResponses[keyof GetApiLinearPipelineExecutionsStepRunsByDefinitionByLinearPipelineDefinitionIdResponses];
|
|
8933
|
+
export type PostApiWorkItemsData = {
|
|
8934
|
+
body: {
|
|
8935
|
+
projectId: string;
|
|
8936
|
+
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
8937
|
+
platformId?: string | unknown;
|
|
8938
|
+
platformKey: string;
|
|
8939
|
+
url?: string | unknown;
|
|
8940
|
+
title: string;
|
|
8941
|
+
description: string;
|
|
8942
|
+
sourceCreatedAt: string | unknown;
|
|
8943
|
+
sourceUpdatedAt: string | unknown;
|
|
8944
|
+
fields: unknown;
|
|
8945
|
+
};
|
|
8946
|
+
path?: never;
|
|
8947
|
+
query?: never;
|
|
8948
|
+
url: '/api/work-items';
|
|
8949
|
+
};
|
|
8950
|
+
export type PostApiWorkItemsErrors = {
|
|
8951
|
+
/**
|
|
8952
|
+
* Response for status 400
|
|
8953
|
+
*/
|
|
8954
|
+
400: {
|
|
8955
|
+
type: string;
|
|
8956
|
+
title: string;
|
|
8957
|
+
status: number;
|
|
8958
|
+
detail?: string;
|
|
8959
|
+
instance?: string;
|
|
8960
|
+
code?: string;
|
|
8961
|
+
errors?: Array<{
|
|
8962
|
+
path: string;
|
|
8963
|
+
message: string;
|
|
8964
|
+
summary?: string;
|
|
8965
|
+
}>;
|
|
8966
|
+
};
|
|
8967
|
+
/**
|
|
8968
|
+
* Response for status 401
|
|
8969
|
+
*/
|
|
8970
|
+
401: {
|
|
8971
|
+
type: string;
|
|
8972
|
+
title: string;
|
|
8973
|
+
status: number;
|
|
8974
|
+
detail?: string;
|
|
8975
|
+
instance?: string;
|
|
8976
|
+
code?: string;
|
|
8977
|
+
errors?: Array<{
|
|
8978
|
+
path: string;
|
|
8979
|
+
message: string;
|
|
8980
|
+
summary?: string;
|
|
8981
|
+
}>;
|
|
8982
|
+
};
|
|
8983
|
+
/**
|
|
8984
|
+
* Response for status 403
|
|
8985
|
+
*/
|
|
8986
|
+
403: {
|
|
8987
|
+
type: string;
|
|
8988
|
+
title: string;
|
|
8989
|
+
status: number;
|
|
8990
|
+
detail?: string;
|
|
8991
|
+
instance?: string;
|
|
8992
|
+
code?: string;
|
|
8993
|
+
errors?: Array<{
|
|
8994
|
+
path: string;
|
|
8995
|
+
message: string;
|
|
8996
|
+
summary?: string;
|
|
8997
|
+
}>;
|
|
8998
|
+
};
|
|
8999
|
+
/**
|
|
9000
|
+
* Response for status 404
|
|
9001
|
+
*/
|
|
9002
|
+
404: {
|
|
9003
|
+
type: string;
|
|
9004
|
+
title: string;
|
|
9005
|
+
status: number;
|
|
9006
|
+
detail?: string;
|
|
9007
|
+
instance?: string;
|
|
9008
|
+
code?: string;
|
|
9009
|
+
errors?: Array<{
|
|
9010
|
+
path: string;
|
|
9011
|
+
message: string;
|
|
9012
|
+
summary?: string;
|
|
9013
|
+
}>;
|
|
9014
|
+
};
|
|
9015
|
+
/**
|
|
9016
|
+
* Response for status 409
|
|
9017
|
+
*/
|
|
9018
|
+
409: {
|
|
9019
|
+
type: string;
|
|
9020
|
+
title: string;
|
|
9021
|
+
status: number;
|
|
9022
|
+
detail?: string;
|
|
9023
|
+
instance?: string;
|
|
9024
|
+
code?: string;
|
|
9025
|
+
errors?: Array<{
|
|
9026
|
+
path: string;
|
|
9027
|
+
message: string;
|
|
9028
|
+
summary?: string;
|
|
9029
|
+
}>;
|
|
9030
|
+
};
|
|
9031
|
+
/**
|
|
9032
|
+
* Response for status 422
|
|
9033
|
+
*/
|
|
9034
|
+
422: {
|
|
9035
|
+
type: string;
|
|
9036
|
+
title: string;
|
|
9037
|
+
status: number;
|
|
9038
|
+
detail?: string;
|
|
9039
|
+
instance?: string;
|
|
9040
|
+
code?: string;
|
|
9041
|
+
errors?: Array<{
|
|
9042
|
+
path: string;
|
|
9043
|
+
message: string;
|
|
9044
|
+
summary?: string;
|
|
9045
|
+
}>;
|
|
9046
|
+
};
|
|
9047
|
+
/**
|
|
9048
|
+
* Response for status 500
|
|
9049
|
+
*/
|
|
9050
|
+
500: {
|
|
9051
|
+
type: string;
|
|
9052
|
+
title: string;
|
|
9053
|
+
status: number;
|
|
9054
|
+
detail?: string;
|
|
9055
|
+
instance?: string;
|
|
9056
|
+
code?: string;
|
|
9057
|
+
errors?: Array<{
|
|
9058
|
+
path: string;
|
|
9059
|
+
message: string;
|
|
9060
|
+
summary?: string;
|
|
9061
|
+
}>;
|
|
9062
|
+
};
|
|
9063
|
+
};
|
|
9064
|
+
export type PostApiWorkItemsError = PostApiWorkItemsErrors[keyof PostApiWorkItemsErrors];
|
|
9065
|
+
export type PostApiWorkItemsResponses = {
|
|
9066
|
+
/**
|
|
9067
|
+
* Response for status 200
|
|
9068
|
+
*/
|
|
9069
|
+
200: {
|
|
9070
|
+
id: string;
|
|
9071
|
+
projectId: string;
|
|
9072
|
+
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
9073
|
+
platformId?: string | unknown;
|
|
9074
|
+
platformKey: string;
|
|
9075
|
+
url?: string | unknown;
|
|
9076
|
+
title: string;
|
|
9077
|
+
description: string;
|
|
9078
|
+
sourceCreatedAt: string | unknown;
|
|
9079
|
+
sourceUpdatedAt: string | unknown;
|
|
9080
|
+
fields: unknown;
|
|
9081
|
+
createdByUsername: string | unknown;
|
|
9082
|
+
createdByImage: string | unknown;
|
|
9083
|
+
createdAt: string;
|
|
9084
|
+
updatedAt: string;
|
|
9085
|
+
};
|
|
9086
|
+
};
|
|
9087
|
+
export type PostApiWorkItemsResponse = PostApiWorkItemsResponses[keyof PostApiWorkItemsResponses];
|
|
9088
|
+
export type PutApiWorkItemsData = {
|
|
9089
|
+
body: {
|
|
9090
|
+
projectId: string;
|
|
9091
|
+
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
9092
|
+
platformId?: string | unknown;
|
|
9093
|
+
platformKey: string;
|
|
9094
|
+
url?: string | unknown;
|
|
9095
|
+
title: string;
|
|
9096
|
+
description: string;
|
|
9097
|
+
sourceCreatedAt: string | unknown;
|
|
9098
|
+
sourceUpdatedAt: string | unknown;
|
|
9099
|
+
fields: unknown;
|
|
9100
|
+
};
|
|
9101
|
+
path?: never;
|
|
9102
|
+
query?: never;
|
|
9103
|
+
url: '/api/work-items';
|
|
9104
|
+
};
|
|
9105
|
+
export type PutApiWorkItemsErrors = {
|
|
9106
|
+
/**
|
|
9107
|
+
* Response for status 400
|
|
9108
|
+
*/
|
|
9109
|
+
400: {
|
|
9110
|
+
type: string;
|
|
9111
|
+
title: string;
|
|
9112
|
+
status: number;
|
|
9113
|
+
detail?: string;
|
|
9114
|
+
instance?: string;
|
|
9115
|
+
code?: string;
|
|
9116
|
+
errors?: Array<{
|
|
9117
|
+
path: string;
|
|
9118
|
+
message: string;
|
|
9119
|
+
summary?: string;
|
|
9120
|
+
}>;
|
|
9121
|
+
};
|
|
9122
|
+
/**
|
|
9123
|
+
* Response for status 401
|
|
9124
|
+
*/
|
|
9125
|
+
401: {
|
|
9126
|
+
type: string;
|
|
9127
|
+
title: string;
|
|
9128
|
+
status: number;
|
|
9129
|
+
detail?: string;
|
|
9130
|
+
instance?: string;
|
|
9131
|
+
code?: string;
|
|
9132
|
+
errors?: Array<{
|
|
9133
|
+
path: string;
|
|
9134
|
+
message: string;
|
|
9135
|
+
summary?: string;
|
|
9136
|
+
}>;
|
|
9137
|
+
};
|
|
9138
|
+
/**
|
|
9139
|
+
* Response for status 403
|
|
9140
|
+
*/
|
|
9141
|
+
403: {
|
|
9142
|
+
type: string;
|
|
9143
|
+
title: string;
|
|
9144
|
+
status: number;
|
|
9145
|
+
detail?: string;
|
|
9146
|
+
instance?: string;
|
|
9147
|
+
code?: string;
|
|
9148
|
+
errors?: Array<{
|
|
9149
|
+
path: string;
|
|
9150
|
+
message: string;
|
|
9151
|
+
summary?: string;
|
|
9152
|
+
}>;
|
|
9153
|
+
};
|
|
9154
|
+
/**
|
|
9155
|
+
* Response for status 404
|
|
9156
|
+
*/
|
|
9157
|
+
404: {
|
|
9158
|
+
type: string;
|
|
9159
|
+
title: string;
|
|
9160
|
+
status: number;
|
|
9161
|
+
detail?: string;
|
|
9162
|
+
instance?: string;
|
|
9163
|
+
code?: string;
|
|
9164
|
+
errors?: Array<{
|
|
9165
|
+
path: string;
|
|
9166
|
+
message: string;
|
|
9167
|
+
summary?: string;
|
|
9168
|
+
}>;
|
|
9169
|
+
};
|
|
9170
|
+
/**
|
|
9171
|
+
* Response for status 422
|
|
9172
|
+
*/
|
|
9173
|
+
422: {
|
|
9174
|
+
type: string;
|
|
9175
|
+
title: string;
|
|
9176
|
+
status: number;
|
|
9177
|
+
detail?: string;
|
|
9178
|
+
instance?: string;
|
|
9179
|
+
code?: string;
|
|
9180
|
+
errors?: Array<{
|
|
9181
|
+
path: string;
|
|
9182
|
+
message: string;
|
|
9183
|
+
summary?: string;
|
|
9184
|
+
}>;
|
|
9185
|
+
};
|
|
9186
|
+
/**
|
|
9187
|
+
* Response for status 500
|
|
9188
|
+
*/
|
|
9189
|
+
500: {
|
|
9190
|
+
type: string;
|
|
9191
|
+
title: string;
|
|
9192
|
+
status: number;
|
|
9193
|
+
detail?: string;
|
|
9194
|
+
instance?: string;
|
|
9195
|
+
code?: string;
|
|
9196
|
+
errors?: Array<{
|
|
9197
|
+
path: string;
|
|
9198
|
+
message: string;
|
|
9199
|
+
summary?: string;
|
|
9200
|
+
}>;
|
|
9201
|
+
};
|
|
9202
|
+
};
|
|
9203
|
+
export type PutApiWorkItemsError = PutApiWorkItemsErrors[keyof PutApiWorkItemsErrors];
|
|
9204
|
+
export type PutApiWorkItemsResponses = {
|
|
9205
|
+
/**
|
|
9206
|
+
* Response for status 200
|
|
9207
|
+
*/
|
|
9208
|
+
200: {
|
|
9209
|
+
id: string;
|
|
9210
|
+
projectId: string;
|
|
9211
|
+
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
9212
|
+
platformId?: string | unknown;
|
|
9213
|
+
platformKey: string;
|
|
9214
|
+
url?: string | unknown;
|
|
9215
|
+
title: string;
|
|
9216
|
+
description: string;
|
|
9217
|
+
sourceCreatedAt: string | unknown;
|
|
9218
|
+
sourceUpdatedAt: string | unknown;
|
|
9219
|
+
fields: unknown;
|
|
9220
|
+
createdByUsername: string | unknown;
|
|
9221
|
+
createdByImage: string | unknown;
|
|
9222
|
+
createdAt: string;
|
|
9223
|
+
updatedAt: string;
|
|
9224
|
+
};
|
|
9225
|
+
};
|
|
9226
|
+
export type PutApiWorkItemsResponse = PutApiWorkItemsResponses[keyof PutApiWorkItemsResponses];
|
|
9227
|
+
export type DeleteApiWorkItemsBatchData = {
|
|
9228
|
+
body: {
|
|
9229
|
+
input: Array<string>;
|
|
9230
|
+
};
|
|
9231
|
+
path?: never;
|
|
9232
|
+
query?: never;
|
|
9233
|
+
url: '/api/work-items/batch';
|
|
9234
|
+
};
|
|
9235
|
+
export type DeleteApiWorkItemsBatchErrors = {
|
|
9236
|
+
/**
|
|
9237
|
+
* Response for status 401
|
|
9238
|
+
*/
|
|
9239
|
+
401: {
|
|
9240
|
+
type: string;
|
|
9241
|
+
title: string;
|
|
9242
|
+
status: number;
|
|
9243
|
+
detail?: string;
|
|
9244
|
+
instance?: string;
|
|
9245
|
+
code?: string;
|
|
9246
|
+
errors?: Array<{
|
|
9247
|
+
path: string;
|
|
9248
|
+
message: string;
|
|
9249
|
+
summary?: string;
|
|
9250
|
+
}>;
|
|
9251
|
+
};
|
|
9252
|
+
/**
|
|
9253
|
+
* Response for status 403
|
|
9254
|
+
*/
|
|
9255
|
+
403: {
|
|
9256
|
+
type: string;
|
|
9257
|
+
title: string;
|
|
9258
|
+
status: number;
|
|
9259
|
+
detail?: string;
|
|
9260
|
+
instance?: string;
|
|
9261
|
+
code?: string;
|
|
9262
|
+
errors?: Array<{
|
|
9263
|
+
path: string;
|
|
9264
|
+
message: string;
|
|
9265
|
+
summary?: string;
|
|
9266
|
+
}>;
|
|
9267
|
+
};
|
|
9268
|
+
/**
|
|
9269
|
+
* Response for status 404
|
|
9270
|
+
*/
|
|
9271
|
+
404: {
|
|
9272
|
+
type: string;
|
|
9273
|
+
title: string;
|
|
9274
|
+
status: number;
|
|
9275
|
+
detail?: string;
|
|
9276
|
+
instance?: string;
|
|
9277
|
+
code?: string;
|
|
9278
|
+
errors?: Array<{
|
|
9279
|
+
path: string;
|
|
9280
|
+
message: string;
|
|
9281
|
+
summary?: string;
|
|
9282
|
+
}>;
|
|
9283
|
+
};
|
|
9284
|
+
/**
|
|
9285
|
+
* Response for status 422
|
|
9286
|
+
*/
|
|
9287
|
+
422: {
|
|
9288
|
+
type: string;
|
|
9289
|
+
title: string;
|
|
9290
|
+
status: number;
|
|
9291
|
+
detail?: string;
|
|
9292
|
+
instance?: string;
|
|
9293
|
+
code?: string;
|
|
9294
|
+
errors?: Array<{
|
|
9295
|
+
path: string;
|
|
9296
|
+
message: string;
|
|
9297
|
+
summary?: string;
|
|
9298
|
+
}>;
|
|
9299
|
+
};
|
|
9300
|
+
/**
|
|
9301
|
+
* Response for status 500
|
|
9302
|
+
*/
|
|
9303
|
+
500: {
|
|
9304
|
+
type: string;
|
|
9305
|
+
title: string;
|
|
9306
|
+
status: number;
|
|
9307
|
+
detail?: string;
|
|
9308
|
+
instance?: string;
|
|
9309
|
+
code?: string;
|
|
9310
|
+
errors?: Array<{
|
|
9311
|
+
path: string;
|
|
9312
|
+
message: string;
|
|
9313
|
+
summary?: string;
|
|
9314
|
+
}>;
|
|
9315
|
+
};
|
|
9316
|
+
};
|
|
9317
|
+
export type DeleteApiWorkItemsBatchError = DeleteApiWorkItemsBatchErrors[keyof DeleteApiWorkItemsBatchErrors];
|
|
9318
|
+
export type DeleteApiWorkItemsBatchResponses = {
|
|
9319
|
+
/**
|
|
9320
|
+
* Response for status 200
|
|
9321
|
+
*/
|
|
9322
|
+
200: number;
|
|
9323
|
+
};
|
|
9324
|
+
export type DeleteApiWorkItemsBatchResponse = DeleteApiWorkItemsBatchResponses[keyof DeleteApiWorkItemsBatchResponses];
|
|
9325
|
+
export type PostApiWorkItemsBatchData = {
|
|
9326
|
+
body: Array<{
|
|
9327
|
+
projectId: string;
|
|
9328
|
+
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
9329
|
+
platformId?: string | unknown;
|
|
9330
|
+
platformKey: string;
|
|
9331
|
+
url?: string | unknown;
|
|
9332
|
+
title: string;
|
|
9333
|
+
description: string;
|
|
9334
|
+
sourceCreatedAt: string | unknown;
|
|
9335
|
+
sourceUpdatedAt: string | unknown;
|
|
9336
|
+
fields: unknown;
|
|
9337
|
+
}>;
|
|
9338
|
+
path?: never;
|
|
9339
|
+
query?: never;
|
|
9340
|
+
url: '/api/work-items/batch';
|
|
8640
9341
|
};
|
|
8641
|
-
export type
|
|
9342
|
+
export type PostApiWorkItemsBatchErrors = {
|
|
8642
9343
|
/**
|
|
8643
9344
|
* Response for status 400
|
|
8644
9345
|
*/
|
|
@@ -8752,12 +9453,12 @@ export type PostApiWorkItemsErrors = {
|
|
|
8752
9453
|
}>;
|
|
8753
9454
|
};
|
|
8754
9455
|
};
|
|
8755
|
-
export type
|
|
8756
|
-
export type
|
|
9456
|
+
export type PostApiWorkItemsBatchError = PostApiWorkItemsBatchErrors[keyof PostApiWorkItemsBatchErrors];
|
|
9457
|
+
export type PostApiWorkItemsBatchResponses = {
|
|
8757
9458
|
/**
|
|
8758
9459
|
* Response for status 200
|
|
8759
9460
|
*/
|
|
8760
|
-
200: {
|
|
9461
|
+
200: Array<{
|
|
8761
9462
|
id: string;
|
|
8762
9463
|
projectId: string;
|
|
8763
9464
|
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
@@ -8769,13 +9470,15 @@ export type PostApiWorkItemsResponses = {
|
|
|
8769
9470
|
sourceCreatedAt: string | unknown;
|
|
8770
9471
|
sourceUpdatedAt: string | unknown;
|
|
8771
9472
|
fields: unknown;
|
|
9473
|
+
createdByUsername: string | unknown;
|
|
9474
|
+
createdByImage: string | unknown;
|
|
8772
9475
|
createdAt: string;
|
|
8773
9476
|
updatedAt: string;
|
|
8774
|
-
}
|
|
9477
|
+
}>;
|
|
8775
9478
|
};
|
|
8776
|
-
export type
|
|
8777
|
-
export type
|
|
8778
|
-
body: {
|
|
9479
|
+
export type PostApiWorkItemsBatchResponse = PostApiWorkItemsBatchResponses[keyof PostApiWorkItemsBatchResponses];
|
|
9480
|
+
export type PutApiWorkItemsBatchData = {
|
|
9481
|
+
body: Array<{
|
|
8779
9482
|
projectId: string;
|
|
8780
9483
|
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
8781
9484
|
platformId?: string | unknown;
|
|
@@ -8786,12 +9489,12 @@ export type PutApiWorkItemsData = {
|
|
|
8786
9489
|
sourceCreatedAt: string | unknown;
|
|
8787
9490
|
sourceUpdatedAt: string | unknown;
|
|
8788
9491
|
fields: unknown;
|
|
8789
|
-
}
|
|
9492
|
+
}>;
|
|
8790
9493
|
path?: never;
|
|
8791
9494
|
query?: never;
|
|
8792
|
-
url: '/api/work-items';
|
|
9495
|
+
url: '/api/work-items/batch';
|
|
8793
9496
|
};
|
|
8794
|
-
export type
|
|
9497
|
+
export type PutApiWorkItemsBatchErrors = {
|
|
8795
9498
|
/**
|
|
8796
9499
|
* Response for status 400
|
|
8797
9500
|
*/
|
|
@@ -8889,12 +9592,12 @@ export type PutApiWorkItemsErrors = {
|
|
|
8889
9592
|
}>;
|
|
8890
9593
|
};
|
|
8891
9594
|
};
|
|
8892
|
-
export type
|
|
8893
|
-
export type
|
|
9595
|
+
export type PutApiWorkItemsBatchError = PutApiWorkItemsBatchErrors[keyof PutApiWorkItemsBatchErrors];
|
|
9596
|
+
export type PutApiWorkItemsBatchResponses = {
|
|
8894
9597
|
/**
|
|
8895
9598
|
* Response for status 200
|
|
8896
9599
|
*/
|
|
8897
|
-
200: {
|
|
9600
|
+
200: Array<{
|
|
8898
9601
|
id: string;
|
|
8899
9602
|
projectId: string;
|
|
8900
9603
|
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
@@ -8906,20 +9609,22 @@ export type PutApiWorkItemsResponses = {
|
|
|
8906
9609
|
sourceCreatedAt: string | unknown;
|
|
8907
9610
|
sourceUpdatedAt: string | unknown;
|
|
8908
9611
|
fields: unknown;
|
|
9612
|
+
createdByUsername: string | unknown;
|
|
9613
|
+
createdByImage: string | unknown;
|
|
8909
9614
|
createdAt: string;
|
|
8910
9615
|
updatedAt: string;
|
|
8911
|
-
}
|
|
9616
|
+
}>;
|
|
8912
9617
|
};
|
|
8913
|
-
export type
|
|
8914
|
-
export type
|
|
8915
|
-
body
|
|
8916
|
-
|
|
9618
|
+
export type PutApiWorkItemsBatchResponse = PutApiWorkItemsBatchResponses[keyof PutApiWorkItemsBatchResponses];
|
|
9619
|
+
export type DeleteApiWorkItemsByWorkItemIdData = {
|
|
9620
|
+
body?: never;
|
|
9621
|
+
path: {
|
|
9622
|
+
workItemId: string;
|
|
8917
9623
|
};
|
|
8918
|
-
path?: never;
|
|
8919
9624
|
query?: never;
|
|
8920
|
-
url: '/api/work-items/
|
|
9625
|
+
url: '/api/work-items/{workItemId}';
|
|
8921
9626
|
};
|
|
8922
|
-
export type
|
|
9627
|
+
export type DeleteApiWorkItemsByWorkItemIdErrors = {
|
|
8923
9628
|
/**
|
|
8924
9629
|
* Response for status 401
|
|
8925
9630
|
*/
|
|
@@ -9001,23 +9706,23 @@ export type DeleteApiWorkItemsBatchErrors = {
|
|
|
9001
9706
|
}>;
|
|
9002
9707
|
};
|
|
9003
9708
|
};
|
|
9004
|
-
export type
|
|
9005
|
-
export type
|
|
9709
|
+
export type DeleteApiWorkItemsByWorkItemIdError = DeleteApiWorkItemsByWorkItemIdErrors[keyof DeleteApiWorkItemsByWorkItemIdErrors];
|
|
9710
|
+
export type DeleteApiWorkItemsByWorkItemIdResponses = {
|
|
9006
9711
|
/**
|
|
9007
9712
|
* Response for status 200
|
|
9008
9713
|
*/
|
|
9009
9714
|
200: number;
|
|
9010
9715
|
};
|
|
9011
|
-
export type
|
|
9012
|
-
export type
|
|
9716
|
+
export type DeleteApiWorkItemsByWorkItemIdResponse = DeleteApiWorkItemsByWorkItemIdResponses[keyof DeleteApiWorkItemsByWorkItemIdResponses];
|
|
9717
|
+
export type GetApiWorkItemsByWorkItemIdData = {
|
|
9013
9718
|
body?: never;
|
|
9014
|
-
path
|
|
9015
|
-
|
|
9016
|
-
workItemIds: Array<string>;
|
|
9719
|
+
path: {
|
|
9720
|
+
workItemId: string;
|
|
9017
9721
|
};
|
|
9018
|
-
|
|
9722
|
+
query?: never;
|
|
9723
|
+
url: '/api/work-items/{workItemId}';
|
|
9019
9724
|
};
|
|
9020
|
-
export type
|
|
9725
|
+
export type GetApiWorkItemsByWorkItemIdErrors = {
|
|
9021
9726
|
/**
|
|
9022
9727
|
* Response for status 401
|
|
9023
9728
|
*/
|
|
@@ -9099,12 +9804,12 @@ export type GetApiWorkItemsBatchErrors = {
|
|
|
9099
9804
|
}>;
|
|
9100
9805
|
};
|
|
9101
9806
|
};
|
|
9102
|
-
export type
|
|
9103
|
-
export type
|
|
9807
|
+
export type GetApiWorkItemsByWorkItemIdError = GetApiWorkItemsByWorkItemIdErrors[keyof GetApiWorkItemsByWorkItemIdErrors];
|
|
9808
|
+
export type GetApiWorkItemsByWorkItemIdResponses = {
|
|
9104
9809
|
/**
|
|
9105
9810
|
* Response for status 200
|
|
9106
9811
|
*/
|
|
9107
|
-
200:
|
|
9812
|
+
200: {
|
|
9108
9813
|
id: string;
|
|
9109
9814
|
projectId: string;
|
|
9110
9815
|
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
@@ -9116,29 +9821,22 @@ export type GetApiWorkItemsBatchResponses = {
|
|
|
9116
9821
|
sourceCreatedAt: string | unknown;
|
|
9117
9822
|
sourceUpdatedAt: string | unknown;
|
|
9118
9823
|
fields: unknown;
|
|
9824
|
+
createdByUsername: string | unknown;
|
|
9825
|
+
createdByImage: string | unknown;
|
|
9119
9826
|
createdAt: string;
|
|
9120
9827
|
updatedAt: string;
|
|
9121
|
-
}
|
|
9828
|
+
};
|
|
9122
9829
|
};
|
|
9123
|
-
export type
|
|
9124
|
-
export type
|
|
9125
|
-
body
|
|
9126
|
-
projectId: string;
|
|
9127
|
-
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
9128
|
-
platformId?: string | unknown;
|
|
9129
|
-
platformKey: string;
|
|
9130
|
-
url?: string | unknown;
|
|
9131
|
-
title: string;
|
|
9132
|
-
description: string;
|
|
9133
|
-
sourceCreatedAt: string | unknown;
|
|
9134
|
-
sourceUpdatedAt: string | unknown;
|
|
9135
|
-
fields: unknown;
|
|
9136
|
-
}>;
|
|
9830
|
+
export type GetApiWorkItemsByWorkItemIdResponse = GetApiWorkItemsByWorkItemIdResponses[keyof GetApiWorkItemsByWorkItemIdResponses];
|
|
9831
|
+
export type GetApiWorkItemCommentsData = {
|
|
9832
|
+
body?: never;
|
|
9137
9833
|
path?: never;
|
|
9138
|
-
query
|
|
9139
|
-
|
|
9834
|
+
query: {
|
|
9835
|
+
workItemId: string;
|
|
9836
|
+
};
|
|
9837
|
+
url: '/api/work-item-comments';
|
|
9140
9838
|
};
|
|
9141
|
-
export type
|
|
9839
|
+
export type GetApiWorkItemCommentsErrors = {
|
|
9142
9840
|
/**
|
|
9143
9841
|
* Response for status 400
|
|
9144
9842
|
*/
|
|
@@ -9204,9 +9902,119 @@ export type PostApiWorkItemsBatchErrors = {
|
|
|
9204
9902
|
}>;
|
|
9205
9903
|
};
|
|
9206
9904
|
/**
|
|
9207
|
-
* Response for status
|
|
9905
|
+
* Response for status 422
|
|
9208
9906
|
*/
|
|
9209
|
-
|
|
9907
|
+
422: {
|
|
9908
|
+
type: string;
|
|
9909
|
+
title: string;
|
|
9910
|
+
status: number;
|
|
9911
|
+
detail?: string;
|
|
9912
|
+
instance?: string;
|
|
9913
|
+
code?: string;
|
|
9914
|
+
errors?: Array<{
|
|
9915
|
+
path: string;
|
|
9916
|
+
message: string;
|
|
9917
|
+
summary?: string;
|
|
9918
|
+
}>;
|
|
9919
|
+
};
|
|
9920
|
+
/**
|
|
9921
|
+
* Response for status 500
|
|
9922
|
+
*/
|
|
9923
|
+
500: {
|
|
9924
|
+
type: string;
|
|
9925
|
+
title: string;
|
|
9926
|
+
status: number;
|
|
9927
|
+
detail?: string;
|
|
9928
|
+
instance?: string;
|
|
9929
|
+
code?: string;
|
|
9930
|
+
errors?: Array<{
|
|
9931
|
+
path: string;
|
|
9932
|
+
message: string;
|
|
9933
|
+
summary?: string;
|
|
9934
|
+
}>;
|
|
9935
|
+
};
|
|
9936
|
+
};
|
|
9937
|
+
export type GetApiWorkItemCommentsError = GetApiWorkItemCommentsErrors[keyof GetApiWorkItemCommentsErrors];
|
|
9938
|
+
export type GetApiWorkItemCommentsResponses = {
|
|
9939
|
+
/**
|
|
9940
|
+
* Response for status 200
|
|
9941
|
+
*/
|
|
9942
|
+
200: Array<{
|
|
9943
|
+
id: string;
|
|
9944
|
+
projectId: string;
|
|
9945
|
+
workItemId: string;
|
|
9946
|
+
authorUserId: string;
|
|
9947
|
+
authorUsername: string | unknown;
|
|
9948
|
+
authorImage: string | unknown;
|
|
9949
|
+
body: string;
|
|
9950
|
+
isPinned: boolean;
|
|
9951
|
+
createdAt: string;
|
|
9952
|
+
updatedAt: string;
|
|
9953
|
+
}>;
|
|
9954
|
+
};
|
|
9955
|
+
export type GetApiWorkItemCommentsResponse = GetApiWorkItemCommentsResponses[keyof GetApiWorkItemCommentsResponses];
|
|
9956
|
+
export type PostApiWorkItemCommentsData = {
|
|
9957
|
+
body: {
|
|
9958
|
+
workItemId: string;
|
|
9959
|
+
body: string;
|
|
9960
|
+
};
|
|
9961
|
+
path?: never;
|
|
9962
|
+
query?: never;
|
|
9963
|
+
url: '/api/work-item-comments';
|
|
9964
|
+
};
|
|
9965
|
+
export type PostApiWorkItemCommentsErrors = {
|
|
9966
|
+
/**
|
|
9967
|
+
* Response for status 400
|
|
9968
|
+
*/
|
|
9969
|
+
400: {
|
|
9970
|
+
type: string;
|
|
9971
|
+
title: string;
|
|
9972
|
+
status: number;
|
|
9973
|
+
detail?: string;
|
|
9974
|
+
instance?: string;
|
|
9975
|
+
code?: string;
|
|
9976
|
+
errors?: Array<{
|
|
9977
|
+
path: string;
|
|
9978
|
+
message: string;
|
|
9979
|
+
summary?: string;
|
|
9980
|
+
}>;
|
|
9981
|
+
};
|
|
9982
|
+
/**
|
|
9983
|
+
* Response for status 401
|
|
9984
|
+
*/
|
|
9985
|
+
401: {
|
|
9986
|
+
type: string;
|
|
9987
|
+
title: string;
|
|
9988
|
+
status: number;
|
|
9989
|
+
detail?: string;
|
|
9990
|
+
instance?: string;
|
|
9991
|
+
code?: string;
|
|
9992
|
+
errors?: Array<{
|
|
9993
|
+
path: string;
|
|
9994
|
+
message: string;
|
|
9995
|
+
summary?: string;
|
|
9996
|
+
}>;
|
|
9997
|
+
};
|
|
9998
|
+
/**
|
|
9999
|
+
* Response for status 403
|
|
10000
|
+
*/
|
|
10001
|
+
403: {
|
|
10002
|
+
type: string;
|
|
10003
|
+
title: string;
|
|
10004
|
+
status: number;
|
|
10005
|
+
detail?: string;
|
|
10006
|
+
instance?: string;
|
|
10007
|
+
code?: string;
|
|
10008
|
+
errors?: Array<{
|
|
10009
|
+
path: string;
|
|
10010
|
+
message: string;
|
|
10011
|
+
summary?: string;
|
|
10012
|
+
}>;
|
|
10013
|
+
};
|
|
10014
|
+
/**
|
|
10015
|
+
* Response for status 404
|
|
10016
|
+
*/
|
|
10017
|
+
404: {
|
|
9210
10018
|
type: string;
|
|
9211
10019
|
title: string;
|
|
9212
10020
|
status: number;
|
|
@@ -9252,46 +10060,34 @@ export type PostApiWorkItemsBatchErrors = {
|
|
|
9252
10060
|
}>;
|
|
9253
10061
|
};
|
|
9254
10062
|
};
|
|
9255
|
-
export type
|
|
9256
|
-
export type
|
|
10063
|
+
export type PostApiWorkItemCommentsError = PostApiWorkItemCommentsErrors[keyof PostApiWorkItemCommentsErrors];
|
|
10064
|
+
export type PostApiWorkItemCommentsResponses = {
|
|
9257
10065
|
/**
|
|
9258
10066
|
* Response for status 200
|
|
9259
10067
|
*/
|
|
9260
|
-
200:
|
|
10068
|
+
200: {
|
|
9261
10069
|
id: string;
|
|
9262
10070
|
projectId: string;
|
|
9263
|
-
|
|
9264
|
-
|
|
9265
|
-
|
|
9266
|
-
|
|
9267
|
-
|
|
9268
|
-
|
|
9269
|
-
sourceCreatedAt: string | unknown;
|
|
9270
|
-
sourceUpdatedAt: string | unknown;
|
|
9271
|
-
fields: unknown;
|
|
10071
|
+
workItemId: string;
|
|
10072
|
+
authorUserId: string;
|
|
10073
|
+
authorUsername: string | unknown;
|
|
10074
|
+
authorImage: string | unknown;
|
|
10075
|
+
body: string;
|
|
10076
|
+
isPinned: boolean;
|
|
9272
10077
|
createdAt: string;
|
|
9273
10078
|
updatedAt: string;
|
|
9274
|
-
}
|
|
10079
|
+
};
|
|
9275
10080
|
};
|
|
9276
|
-
export type
|
|
9277
|
-
export type
|
|
9278
|
-
body
|
|
9279
|
-
|
|
9280
|
-
|
|
9281
|
-
|
|
9282
|
-
platformKey: string;
|
|
9283
|
-
url?: string | unknown;
|
|
9284
|
-
title: string;
|
|
9285
|
-
description: string;
|
|
9286
|
-
sourceCreatedAt: string | unknown;
|
|
9287
|
-
sourceUpdatedAt: string | unknown;
|
|
9288
|
-
fields: unknown;
|
|
9289
|
-
}>;
|
|
9290
|
-
path?: never;
|
|
10081
|
+
export type PostApiWorkItemCommentsResponse = PostApiWorkItemCommentsResponses[keyof PostApiWorkItemCommentsResponses];
|
|
10082
|
+
export type DeleteApiWorkItemCommentsByCommentIdData = {
|
|
10083
|
+
body?: never;
|
|
10084
|
+
path: {
|
|
10085
|
+
commentId: string;
|
|
10086
|
+
};
|
|
9291
10087
|
query?: never;
|
|
9292
|
-
url: '/api/work-
|
|
10088
|
+
url: '/api/work-item-comments/{commentId}';
|
|
9293
10089
|
};
|
|
9294
|
-
export type
|
|
10090
|
+
export type DeleteApiWorkItemCommentsByCommentIdErrors = {
|
|
9295
10091
|
/**
|
|
9296
10092
|
* Response for status 400
|
|
9297
10093
|
*/
|
|
@@ -9373,9 +10169,45 @@ export type PutApiWorkItemsBatchErrors = {
|
|
|
9373
10169
|
}>;
|
|
9374
10170
|
};
|
|
9375
10171
|
/**
|
|
9376
|
-
* Response for status 500
|
|
10172
|
+
* Response for status 500
|
|
10173
|
+
*/
|
|
10174
|
+
500: {
|
|
10175
|
+
type: string;
|
|
10176
|
+
title: string;
|
|
10177
|
+
status: number;
|
|
10178
|
+
detail?: string;
|
|
10179
|
+
instance?: string;
|
|
10180
|
+
code?: string;
|
|
10181
|
+
errors?: Array<{
|
|
10182
|
+
path: string;
|
|
10183
|
+
message: string;
|
|
10184
|
+
summary?: string;
|
|
10185
|
+
}>;
|
|
10186
|
+
};
|
|
10187
|
+
};
|
|
10188
|
+
export type DeleteApiWorkItemCommentsByCommentIdError = DeleteApiWorkItemCommentsByCommentIdErrors[keyof DeleteApiWorkItemCommentsByCommentIdErrors];
|
|
10189
|
+
export type DeleteApiWorkItemCommentsByCommentIdResponses = {
|
|
10190
|
+
/**
|
|
10191
|
+
* Response for status 200
|
|
10192
|
+
*/
|
|
10193
|
+
200: number;
|
|
10194
|
+
};
|
|
10195
|
+
export type DeleteApiWorkItemCommentsByCommentIdResponse = DeleteApiWorkItemCommentsByCommentIdResponses[keyof DeleteApiWorkItemCommentsByCommentIdResponses];
|
|
10196
|
+
export type PatchApiWorkItemCommentsByCommentIdData = {
|
|
10197
|
+
body: {
|
|
10198
|
+
body: string;
|
|
10199
|
+
};
|
|
10200
|
+
path: {
|
|
10201
|
+
commentId: string;
|
|
10202
|
+
};
|
|
10203
|
+
query?: never;
|
|
10204
|
+
url: '/api/work-item-comments/{commentId}';
|
|
10205
|
+
};
|
|
10206
|
+
export type PatchApiWorkItemCommentsByCommentIdErrors = {
|
|
10207
|
+
/**
|
|
10208
|
+
* Response for status 400
|
|
9377
10209
|
*/
|
|
9378
|
-
|
|
10210
|
+
400: {
|
|
9379
10211
|
type: string;
|
|
9380
10212
|
title: string;
|
|
9381
10213
|
status: number;
|
|
@@ -9388,38 +10220,6 @@ export type PutApiWorkItemsBatchErrors = {
|
|
|
9388
10220
|
summary?: string;
|
|
9389
10221
|
}>;
|
|
9390
10222
|
};
|
|
9391
|
-
};
|
|
9392
|
-
export type PutApiWorkItemsBatchError = PutApiWorkItemsBatchErrors[keyof PutApiWorkItemsBatchErrors];
|
|
9393
|
-
export type PutApiWorkItemsBatchResponses = {
|
|
9394
|
-
/**
|
|
9395
|
-
* Response for status 200
|
|
9396
|
-
*/
|
|
9397
|
-
200: Array<{
|
|
9398
|
-
id: string;
|
|
9399
|
-
projectId: string;
|
|
9400
|
-
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
9401
|
-
platformId?: string | unknown;
|
|
9402
|
-
platformKey: string;
|
|
9403
|
-
url?: string | unknown;
|
|
9404
|
-
title: string;
|
|
9405
|
-
description: string;
|
|
9406
|
-
sourceCreatedAt: string | unknown;
|
|
9407
|
-
sourceUpdatedAt: string | unknown;
|
|
9408
|
-
fields: unknown;
|
|
9409
|
-
createdAt: string;
|
|
9410
|
-
updatedAt: string;
|
|
9411
|
-
}>;
|
|
9412
|
-
};
|
|
9413
|
-
export type PutApiWorkItemsBatchResponse = PutApiWorkItemsBatchResponses[keyof PutApiWorkItemsBatchResponses];
|
|
9414
|
-
export type DeleteApiWorkItemsByWorkItemIdData = {
|
|
9415
|
-
body?: never;
|
|
9416
|
-
path: {
|
|
9417
|
-
workItemId: string;
|
|
9418
|
-
};
|
|
9419
|
-
query?: never;
|
|
9420
|
-
url: '/api/work-items/{workItemId}';
|
|
9421
|
-
};
|
|
9422
|
-
export type DeleteApiWorkItemsByWorkItemIdErrors = {
|
|
9423
10223
|
/**
|
|
9424
10224
|
* Response for status 401
|
|
9425
10225
|
*/
|
|
@@ -9501,23 +10301,52 @@ export type DeleteApiWorkItemsByWorkItemIdErrors = {
|
|
|
9501
10301
|
}>;
|
|
9502
10302
|
};
|
|
9503
10303
|
};
|
|
9504
|
-
export type
|
|
9505
|
-
export type
|
|
10304
|
+
export type PatchApiWorkItemCommentsByCommentIdError = PatchApiWorkItemCommentsByCommentIdErrors[keyof PatchApiWorkItemCommentsByCommentIdErrors];
|
|
10305
|
+
export type PatchApiWorkItemCommentsByCommentIdResponses = {
|
|
9506
10306
|
/**
|
|
9507
10307
|
* Response for status 200
|
|
9508
10308
|
*/
|
|
9509
|
-
200:
|
|
10309
|
+
200: {
|
|
10310
|
+
id: string;
|
|
10311
|
+
projectId: string;
|
|
10312
|
+
workItemId: string;
|
|
10313
|
+
authorUserId: string;
|
|
10314
|
+
authorUsername: string | unknown;
|
|
10315
|
+
authorImage: string | unknown;
|
|
10316
|
+
body: string;
|
|
10317
|
+
isPinned: boolean;
|
|
10318
|
+
createdAt: string;
|
|
10319
|
+
updatedAt: string;
|
|
10320
|
+
};
|
|
9510
10321
|
};
|
|
9511
|
-
export type
|
|
9512
|
-
export type
|
|
9513
|
-
body
|
|
10322
|
+
export type PatchApiWorkItemCommentsByCommentIdResponse = PatchApiWorkItemCommentsByCommentIdResponses[keyof PatchApiWorkItemCommentsByCommentIdResponses];
|
|
10323
|
+
export type PostApiWorkItemCommentsByCommentIdPinData = {
|
|
10324
|
+
body: {
|
|
10325
|
+
isPinned: boolean;
|
|
10326
|
+
};
|
|
9514
10327
|
path: {
|
|
9515
|
-
|
|
10328
|
+
commentId: string;
|
|
9516
10329
|
};
|
|
9517
10330
|
query?: never;
|
|
9518
|
-
url: '/api/work-
|
|
10331
|
+
url: '/api/work-item-comments/{commentId}/pin';
|
|
9519
10332
|
};
|
|
9520
|
-
export type
|
|
10333
|
+
export type PostApiWorkItemCommentsByCommentIdPinErrors = {
|
|
10334
|
+
/**
|
|
10335
|
+
* Response for status 400
|
|
10336
|
+
*/
|
|
10337
|
+
400: {
|
|
10338
|
+
type: string;
|
|
10339
|
+
title: string;
|
|
10340
|
+
status: number;
|
|
10341
|
+
detail?: string;
|
|
10342
|
+
instance?: string;
|
|
10343
|
+
code?: string;
|
|
10344
|
+
errors?: Array<{
|
|
10345
|
+
path: string;
|
|
10346
|
+
message: string;
|
|
10347
|
+
summary?: string;
|
|
10348
|
+
}>;
|
|
10349
|
+
};
|
|
9521
10350
|
/**
|
|
9522
10351
|
* Response for status 401
|
|
9523
10352
|
*/
|
|
@@ -9599,28 +10428,25 @@ export type GetApiWorkItemsByWorkItemIdErrors = {
|
|
|
9599
10428
|
}>;
|
|
9600
10429
|
};
|
|
9601
10430
|
};
|
|
9602
|
-
export type
|
|
9603
|
-
export type
|
|
10431
|
+
export type PostApiWorkItemCommentsByCommentIdPinError = PostApiWorkItemCommentsByCommentIdPinErrors[keyof PostApiWorkItemCommentsByCommentIdPinErrors];
|
|
10432
|
+
export type PostApiWorkItemCommentsByCommentIdPinResponses = {
|
|
9604
10433
|
/**
|
|
9605
10434
|
* Response for status 200
|
|
9606
10435
|
*/
|
|
9607
10436
|
200: {
|
|
9608
10437
|
id: string;
|
|
9609
10438
|
projectId: string;
|
|
9610
|
-
|
|
9611
|
-
|
|
9612
|
-
|
|
9613
|
-
|
|
9614
|
-
|
|
9615
|
-
|
|
9616
|
-
sourceCreatedAt: string | unknown;
|
|
9617
|
-
sourceUpdatedAt: string | unknown;
|
|
9618
|
-
fields: unknown;
|
|
10439
|
+
workItemId: string;
|
|
10440
|
+
authorUserId: string;
|
|
10441
|
+
authorUsername: string | unknown;
|
|
10442
|
+
authorImage: string | unknown;
|
|
10443
|
+
body: string;
|
|
10444
|
+
isPinned: boolean;
|
|
9619
10445
|
createdAt: string;
|
|
9620
10446
|
updatedAt: string;
|
|
9621
10447
|
};
|
|
9622
10448
|
};
|
|
9623
|
-
export type
|
|
10449
|
+
export type PostApiWorkItemCommentsByCommentIdPinResponse = PostApiWorkItemCommentsByCommentIdPinResponses[keyof PostApiWorkItemCommentsByCommentIdPinResponses];
|
|
9624
10450
|
export type GetApiProjectsByProjectIdContextEntriesData = {
|
|
9625
10451
|
body?: never;
|
|
9626
10452
|
path: {
|
|
@@ -11637,6 +12463,8 @@ export type GetApiProjectInvitesByTokenResponses = {
|
|
|
11637
12463
|
inviteId: string;
|
|
11638
12464
|
projectId: string;
|
|
11639
12465
|
projectName: string;
|
|
12466
|
+
projectSlug: string;
|
|
12467
|
+
ownerUsername: string | unknown;
|
|
11640
12468
|
role: 'admin' | 'contributor' | 'reviewer';
|
|
11641
12469
|
restriction: 'specific_email' | 'any_authenticated_user';
|
|
11642
12470
|
permissions: Array<string>;
|
|
@@ -12242,3 +13070,196 @@ export type GetApiOrgsByOrgIdUsageResponses = {
|
|
|
12242
13070
|
};
|
|
12243
13071
|
};
|
|
12244
13072
|
export type GetApiOrgsByOrgIdUsageResponse = GetApiOrgsByOrgIdUsageResponses[keyof GetApiOrgsByOrgIdUsageResponses];
|
|
13073
|
+
export type GetApiUsernameAvailableData = {
|
|
13074
|
+
body?: never;
|
|
13075
|
+
path?: never;
|
|
13076
|
+
query: {
|
|
13077
|
+
u: string;
|
|
13078
|
+
};
|
|
13079
|
+
url: '/api/username/available';
|
|
13080
|
+
};
|
|
13081
|
+
export type GetApiUsernameAvailableErrors = {
|
|
13082
|
+
/**
|
|
13083
|
+
* Response for status 401
|
|
13084
|
+
*/
|
|
13085
|
+
401: {
|
|
13086
|
+
type: string;
|
|
13087
|
+
title: string;
|
|
13088
|
+
status: number;
|
|
13089
|
+
detail?: string;
|
|
13090
|
+
instance?: string;
|
|
13091
|
+
code?: string;
|
|
13092
|
+
errors?: Array<{
|
|
13093
|
+
path: string;
|
|
13094
|
+
message: string;
|
|
13095
|
+
summary?: string;
|
|
13096
|
+
}>;
|
|
13097
|
+
};
|
|
13098
|
+
/**
|
|
13099
|
+
* Response for status 403
|
|
13100
|
+
*/
|
|
13101
|
+
403: {
|
|
13102
|
+
type: string;
|
|
13103
|
+
title: string;
|
|
13104
|
+
status: number;
|
|
13105
|
+
detail?: string;
|
|
13106
|
+
instance?: string;
|
|
13107
|
+
code?: string;
|
|
13108
|
+
errors?: Array<{
|
|
13109
|
+
path: string;
|
|
13110
|
+
message: string;
|
|
13111
|
+
summary?: string;
|
|
13112
|
+
}>;
|
|
13113
|
+
};
|
|
13114
|
+
/**
|
|
13115
|
+
* Response for status 422
|
|
13116
|
+
*/
|
|
13117
|
+
422: {
|
|
13118
|
+
type: string;
|
|
13119
|
+
title: string;
|
|
13120
|
+
status: number;
|
|
13121
|
+
detail?: string;
|
|
13122
|
+
instance?: string;
|
|
13123
|
+
code?: string;
|
|
13124
|
+
errors?: Array<{
|
|
13125
|
+
path: string;
|
|
13126
|
+
message: string;
|
|
13127
|
+
summary?: string;
|
|
13128
|
+
}>;
|
|
13129
|
+
};
|
|
13130
|
+
/**
|
|
13131
|
+
* Response for status 500
|
|
13132
|
+
*/
|
|
13133
|
+
500: {
|
|
13134
|
+
type: string;
|
|
13135
|
+
title: string;
|
|
13136
|
+
status: number;
|
|
13137
|
+
detail?: string;
|
|
13138
|
+
instance?: string;
|
|
13139
|
+
code?: string;
|
|
13140
|
+
errors?: Array<{
|
|
13141
|
+
path: string;
|
|
13142
|
+
message: string;
|
|
13143
|
+
summary?: string;
|
|
13144
|
+
}>;
|
|
13145
|
+
};
|
|
13146
|
+
};
|
|
13147
|
+
export type GetApiUsernameAvailableError = GetApiUsernameAvailableErrors[keyof GetApiUsernameAvailableErrors];
|
|
13148
|
+
export type GetApiUsernameAvailableResponses = {
|
|
13149
|
+
/**
|
|
13150
|
+
* Response for status 200
|
|
13151
|
+
*/
|
|
13152
|
+
200: {
|
|
13153
|
+
valid: boolean;
|
|
13154
|
+
available: boolean;
|
|
13155
|
+
};
|
|
13156
|
+
};
|
|
13157
|
+
export type GetApiUsernameAvailableResponse = GetApiUsernameAvailableResponses[keyof GetApiUsernameAvailableResponses];
|
|
13158
|
+
export type PostApiUsernameData = {
|
|
13159
|
+
body: {
|
|
13160
|
+
username: string;
|
|
13161
|
+
};
|
|
13162
|
+
path?: never;
|
|
13163
|
+
query?: never;
|
|
13164
|
+
url: '/api/username';
|
|
13165
|
+
};
|
|
13166
|
+
export type PostApiUsernameErrors = {
|
|
13167
|
+
/**
|
|
13168
|
+
* Response for status 401
|
|
13169
|
+
*/
|
|
13170
|
+
401: {
|
|
13171
|
+
type: string;
|
|
13172
|
+
title: string;
|
|
13173
|
+
status: number;
|
|
13174
|
+
detail?: string;
|
|
13175
|
+
instance?: string;
|
|
13176
|
+
code?: string;
|
|
13177
|
+
errors?: Array<{
|
|
13178
|
+
path: string;
|
|
13179
|
+
message: string;
|
|
13180
|
+
summary?: string;
|
|
13181
|
+
}>;
|
|
13182
|
+
};
|
|
13183
|
+
/**
|
|
13184
|
+
* Response for status 403
|
|
13185
|
+
*/
|
|
13186
|
+
403: {
|
|
13187
|
+
type: string;
|
|
13188
|
+
title: string;
|
|
13189
|
+
status: number;
|
|
13190
|
+
detail?: string;
|
|
13191
|
+
instance?: string;
|
|
13192
|
+
code?: string;
|
|
13193
|
+
errors?: Array<{
|
|
13194
|
+
path: string;
|
|
13195
|
+
message: string;
|
|
13196
|
+
summary?: string;
|
|
13197
|
+
}>;
|
|
13198
|
+
};
|
|
13199
|
+
/**
|
|
13200
|
+
* Response for status 409
|
|
13201
|
+
*/
|
|
13202
|
+
409: {
|
|
13203
|
+
type: string;
|
|
13204
|
+
title: string;
|
|
13205
|
+
status: number;
|
|
13206
|
+
detail?: string;
|
|
13207
|
+
instance?: string;
|
|
13208
|
+
code?: string;
|
|
13209
|
+
errors?: Array<{
|
|
13210
|
+
path: string;
|
|
13211
|
+
message: string;
|
|
13212
|
+
summary?: string;
|
|
13213
|
+
}>;
|
|
13214
|
+
};
|
|
13215
|
+
/**
|
|
13216
|
+
* Response for status 422
|
|
13217
|
+
*/
|
|
13218
|
+
422: {
|
|
13219
|
+
type: string;
|
|
13220
|
+
title: string;
|
|
13221
|
+
status: number;
|
|
13222
|
+
detail?: string;
|
|
13223
|
+
instance?: string;
|
|
13224
|
+
code?: string;
|
|
13225
|
+
errors?: Array<{
|
|
13226
|
+
path: string;
|
|
13227
|
+
message: string;
|
|
13228
|
+
summary?: string;
|
|
13229
|
+
}>;
|
|
13230
|
+
};
|
|
13231
|
+
/**
|
|
13232
|
+
* Response for status 500
|
|
13233
|
+
*/
|
|
13234
|
+
500: {
|
|
13235
|
+
type: string;
|
|
13236
|
+
title: string;
|
|
13237
|
+
status: number;
|
|
13238
|
+
detail?: string;
|
|
13239
|
+
instance?: string;
|
|
13240
|
+
code?: string;
|
|
13241
|
+
errors?: Array<{
|
|
13242
|
+
path: string;
|
|
13243
|
+
message: string;
|
|
13244
|
+
summary?: string;
|
|
13245
|
+
}>;
|
|
13246
|
+
};
|
|
13247
|
+
};
|
|
13248
|
+
export type PostApiUsernameError = PostApiUsernameErrors[keyof PostApiUsernameErrors];
|
|
13249
|
+
export type PostApiUsernameResponses = {
|
|
13250
|
+
/**
|
|
13251
|
+
* Response for status 200
|
|
13252
|
+
*/
|
|
13253
|
+
200: {
|
|
13254
|
+
id: string;
|
|
13255
|
+
email: string;
|
|
13256
|
+
username: string | unknown;
|
|
13257
|
+
name: string;
|
|
13258
|
+
emailVerified: boolean;
|
|
13259
|
+
usernameChosen: boolean;
|
|
13260
|
+
image: string | unknown;
|
|
13261
|
+
createdAt: string | unknown;
|
|
13262
|
+
updatedAt: string | unknown;
|
|
13263
|
+
};
|
|
13264
|
+
};
|
|
13265
|
+
export type PostApiUsernameResponse = PostApiUsernameResponses[keyof PostApiUsernameResponses];
|