@boboddy/sdk 0.2.9-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 +11 -8
- package/dist/definitions/pipelines/index.js +11 -8
- package/dist/definitions/steps/index.js +11 -8
- package/dist/generated/index.d.ts +1 -1
- package/dist/generated/sdk.gen.d.ts +5 -4
- package/dist/generated/types.gen.d.ts +370 -355
- package/dist/index.js +11 -8
- package/dist/push/index.js +11 -8
- package/package.json +1 -1
|
@@ -508,7 +508,15 @@ export type GetApiProjectsByProjectIdWorkItemsData = {
|
|
|
508
508
|
path: {
|
|
509
509
|
projectId: string;
|
|
510
510
|
};
|
|
511
|
-
query?:
|
|
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
|
+
};
|
|
512
520
|
url: '/api/projects/{projectId}/work-items';
|
|
513
521
|
};
|
|
514
522
|
export type GetApiProjectsByProjectIdWorkItemsErrors = {
|
|
@@ -598,25 +606,135 @@ export type GetApiProjectsByProjectIdWorkItemsResponses = {
|
|
|
598
606
|
/**
|
|
599
607
|
* Response for status 200
|
|
600
608
|
*/
|
|
601
|
-
200:
|
|
602
|
-
|
|
609
|
+
200: {
|
|
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;
|
|
624
|
+
createdAt: string;
|
|
625
|
+
updatedAt: string;
|
|
626
|
+
signalScore: number | unknown;
|
|
627
|
+
}>;
|
|
628
|
+
pagination: {
|
|
629
|
+
page: number;
|
|
630
|
+
pageSize: number;
|
|
631
|
+
total: number;
|
|
632
|
+
};
|
|
633
|
+
};
|
|
634
|
+
};
|
|
635
|
+
export type GetApiProjectsByProjectIdWorkItemsResponse = GetApiProjectsByProjectIdWorkItemsResponses[keyof GetApiProjectsByProjectIdWorkItemsResponses];
|
|
636
|
+
export type GetApiProjectsByProjectIdWorkItemFieldOptionsData = {
|
|
637
|
+
body?: never;
|
|
638
|
+
path: {
|
|
603
639
|
projectId: string;
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
640
|
+
};
|
|
641
|
+
query?: never;
|
|
642
|
+
url: '/api/projects/{projectId}/work-item-field-options';
|
|
643
|
+
};
|
|
644
|
+
export type GetApiProjectsByProjectIdWorkItemFieldOptionsErrors = {
|
|
645
|
+
/**
|
|
646
|
+
* Response for status 401
|
|
647
|
+
*/
|
|
648
|
+
401: {
|
|
649
|
+
type: string;
|
|
608
650
|
title: string;
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
651
|
+
status: number;
|
|
652
|
+
detail?: string;
|
|
653
|
+
instance?: string;
|
|
654
|
+
code?: string;
|
|
655
|
+
errors?: Array<{
|
|
656
|
+
path: string;
|
|
657
|
+
message: string;
|
|
658
|
+
summary?: string;
|
|
659
|
+
}>;
|
|
660
|
+
};
|
|
661
|
+
/**
|
|
662
|
+
* Response for status 403
|
|
663
|
+
*/
|
|
664
|
+
403: {
|
|
665
|
+
type: string;
|
|
666
|
+
title: string;
|
|
667
|
+
status: number;
|
|
668
|
+
detail?: string;
|
|
669
|
+
instance?: string;
|
|
670
|
+
code?: string;
|
|
671
|
+
errors?: Array<{
|
|
672
|
+
path: string;
|
|
673
|
+
message: string;
|
|
674
|
+
summary?: string;
|
|
675
|
+
}>;
|
|
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
|
+
};
|
|
693
|
+
/**
|
|
694
|
+
* Response for status 422
|
|
695
|
+
*/
|
|
696
|
+
422: {
|
|
697
|
+
type: string;
|
|
698
|
+
title: string;
|
|
699
|
+
status: number;
|
|
700
|
+
detail?: string;
|
|
701
|
+
instance?: string;
|
|
702
|
+
code?: string;
|
|
703
|
+
errors?: Array<{
|
|
704
|
+
path: string;
|
|
705
|
+
message: string;
|
|
706
|
+
summary?: string;
|
|
707
|
+
}>;
|
|
708
|
+
};
|
|
709
|
+
/**
|
|
710
|
+
* Response for status 500
|
|
711
|
+
*/
|
|
712
|
+
500: {
|
|
713
|
+
type: string;
|
|
714
|
+
title: string;
|
|
715
|
+
status: number;
|
|
716
|
+
detail?: string;
|
|
717
|
+
instance?: string;
|
|
718
|
+
code?: string;
|
|
719
|
+
errors?: Array<{
|
|
720
|
+
path: string;
|
|
721
|
+
message: string;
|
|
722
|
+
summary?: string;
|
|
723
|
+
}>;
|
|
724
|
+
};
|
|
725
|
+
};
|
|
726
|
+
export type GetApiProjectsByProjectIdWorkItemFieldOptionsError = GetApiProjectsByProjectIdWorkItemFieldOptionsErrors[keyof GetApiProjectsByProjectIdWorkItemFieldOptionsErrors];
|
|
727
|
+
export type GetApiProjectsByProjectIdWorkItemFieldOptionsResponses = {
|
|
728
|
+
/**
|
|
729
|
+
* Response for status 200
|
|
730
|
+
*/
|
|
731
|
+
200: Array<{
|
|
732
|
+
key: string;
|
|
733
|
+
values: Array<string>;
|
|
734
|
+
truncated: boolean;
|
|
617
735
|
}>;
|
|
618
736
|
};
|
|
619
|
-
export type
|
|
737
|
+
export type GetApiProjectsByProjectIdWorkItemFieldOptionsResponse = GetApiProjectsByProjectIdWorkItemFieldOptionsResponses[keyof GetApiProjectsByProjectIdWorkItemFieldOptionsResponses];
|
|
620
738
|
export type GetApiProjectsByProjectIdData = {
|
|
621
739
|
body?: never;
|
|
622
740
|
path: {
|
|
@@ -784,95 +902,6 @@ export type GetApiProjectsByProjectIdResponses = {
|
|
|
784
902
|
};
|
|
785
903
|
};
|
|
786
904
|
export type GetApiProjectsByProjectIdResponse = GetApiProjectsByProjectIdResponses[keyof GetApiProjectsByProjectIdResponses];
|
|
787
|
-
export type GetApiProjectsByProjectIdWorkItemSignalScoresData = {
|
|
788
|
-
body?: never;
|
|
789
|
-
path: {
|
|
790
|
-
projectId: string;
|
|
791
|
-
};
|
|
792
|
-
query: {
|
|
793
|
-
pipelineDefinitionId: string;
|
|
794
|
-
stepKey: string;
|
|
795
|
-
signalKey: string;
|
|
796
|
-
};
|
|
797
|
-
url: '/api/projects/{projectId}/work-item-signal-scores';
|
|
798
|
-
};
|
|
799
|
-
export type GetApiProjectsByProjectIdWorkItemSignalScoresErrors = {
|
|
800
|
-
/**
|
|
801
|
-
* Response for status 401
|
|
802
|
-
*/
|
|
803
|
-
401: {
|
|
804
|
-
type: string;
|
|
805
|
-
title: string;
|
|
806
|
-
status: number;
|
|
807
|
-
detail?: string;
|
|
808
|
-
instance?: string;
|
|
809
|
-
code?: string;
|
|
810
|
-
errors?: Array<{
|
|
811
|
-
path: string;
|
|
812
|
-
message: string;
|
|
813
|
-
summary?: string;
|
|
814
|
-
}>;
|
|
815
|
-
};
|
|
816
|
-
/**
|
|
817
|
-
* Response for status 403
|
|
818
|
-
*/
|
|
819
|
-
403: {
|
|
820
|
-
type: string;
|
|
821
|
-
title: string;
|
|
822
|
-
status: number;
|
|
823
|
-
detail?: string;
|
|
824
|
-
instance?: string;
|
|
825
|
-
code?: string;
|
|
826
|
-
errors?: Array<{
|
|
827
|
-
path: string;
|
|
828
|
-
message: string;
|
|
829
|
-
summary?: string;
|
|
830
|
-
}>;
|
|
831
|
-
};
|
|
832
|
-
/**
|
|
833
|
-
* Response for status 422
|
|
834
|
-
*/
|
|
835
|
-
422: {
|
|
836
|
-
type: string;
|
|
837
|
-
title: string;
|
|
838
|
-
status: number;
|
|
839
|
-
detail?: string;
|
|
840
|
-
instance?: string;
|
|
841
|
-
code?: string;
|
|
842
|
-
errors?: Array<{
|
|
843
|
-
path: string;
|
|
844
|
-
message: string;
|
|
845
|
-
summary?: string;
|
|
846
|
-
}>;
|
|
847
|
-
};
|
|
848
|
-
/**
|
|
849
|
-
* Response for status 500
|
|
850
|
-
*/
|
|
851
|
-
500: {
|
|
852
|
-
type: string;
|
|
853
|
-
title: string;
|
|
854
|
-
status: number;
|
|
855
|
-
detail?: string;
|
|
856
|
-
instance?: string;
|
|
857
|
-
code?: string;
|
|
858
|
-
errors?: Array<{
|
|
859
|
-
path: string;
|
|
860
|
-
message: string;
|
|
861
|
-
summary?: string;
|
|
862
|
-
}>;
|
|
863
|
-
};
|
|
864
|
-
};
|
|
865
|
-
export type GetApiProjectsByProjectIdWorkItemSignalScoresError = GetApiProjectsByProjectIdWorkItemSignalScoresErrors[keyof GetApiProjectsByProjectIdWorkItemSignalScoresErrors];
|
|
866
|
-
export type GetApiProjectsByProjectIdWorkItemSignalScoresResponses = {
|
|
867
|
-
/**
|
|
868
|
-
* Response for status 200
|
|
869
|
-
*/
|
|
870
|
-
200: Array<{
|
|
871
|
-
workItemId: string;
|
|
872
|
-
score: number | unknown;
|
|
873
|
-
}>;
|
|
874
|
-
};
|
|
875
|
-
export type GetApiProjectsByProjectIdWorkItemSignalScoresResponse = GetApiProjectsByProjectIdWorkItemSignalScoresResponses[keyof GetApiProjectsByProjectIdWorkItemSignalScoresResponses];
|
|
876
905
|
export type PutApiProjectsByProjectIdDefaultPipelineAssignmentData = {
|
|
877
906
|
body: {
|
|
878
907
|
defaultPipelineAssignment: {
|
|
@@ -6899,6 +6928,12 @@ export type GetApiLinearPipelineExecutionsData = {
|
|
|
6899
6928
|
path?: never;
|
|
6900
6929
|
query: {
|
|
6901
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;
|
|
6902
6937
|
};
|
|
6903
6938
|
url: '/api/linear-pipeline-executions';
|
|
6904
6939
|
};
|
|
@@ -6973,79 +7008,33 @@ export type GetApiLinearPipelineExecutionsResponses = {
|
|
|
6973
7008
|
/**
|
|
6974
7009
|
* Response for status 200
|
|
6975
7010
|
*/
|
|
6976
|
-
200:
|
|
6977
|
-
|
|
6978
|
-
projectId: string;
|
|
6979
|
-
workItemId: string;
|
|
6980
|
-
linearPipelineDefinitionId: string;
|
|
6981
|
-
linearPipelineDefinitionVersionId: string;
|
|
6982
|
-
definitionStepCount: number;
|
|
6983
|
-
inputJson: unknown;
|
|
6984
|
-
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'blocked' | 'routed';
|
|
6985
|
-
attempts: Array<{
|
|
7011
|
+
200: {
|
|
7012
|
+
items: Array<{
|
|
6986
7013
|
id: string;
|
|
6987
|
-
|
|
6988
|
-
|
|
6989
|
-
|
|
6990
|
-
|
|
6991
|
-
|
|
6992
|
-
routedToPipelineExecutionId: string | unknown;
|
|
7014
|
+
projectId: string;
|
|
7015
|
+
workItemId: string;
|
|
7016
|
+
workItemTitle: string;
|
|
7017
|
+
linearPipelineDefinitionId: string;
|
|
7018
|
+
linearPipelineDefinitionVersionId: string;
|
|
6993
7019
|
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'blocked' | 'routed';
|
|
6994
|
-
|
|
6995
|
-
|
|
6996
|
-
|
|
6997
|
-
|
|
6998
|
-
|
|
6999
|
-
|
|
7000
|
-
|
|
7001
|
-
position: number;
|
|
7002
|
-
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned';
|
|
7003
|
-
satisfactionStatus: 'not_evaluated' | 'satisfied_by_policy' | 'satisfied_by_user' | 'unsatisfied_by_policy';
|
|
7004
|
-
stepExecutionId: string;
|
|
7005
|
-
stepExecutionResultId: string | unknown;
|
|
7006
|
-
inheritedFromStepRunId: string | unknown;
|
|
7007
|
-
acceptedByUserId: string | unknown;
|
|
7008
|
-
acceptedAt: string | unknown;
|
|
7009
|
-
acceptanceReason: string | unknown;
|
|
7010
|
-
workBranch: string | unknown;
|
|
7011
|
-
outputJson: unknown;
|
|
7012
|
-
evaluation: {
|
|
7013
|
-
id: string;
|
|
7014
|
-
linearPipelineExecutionAttemptId: string;
|
|
7015
|
-
linearPipelineStepRunId: string;
|
|
7016
|
-
stepExecutionId: string;
|
|
7017
|
-
stepExecutionResultId: string;
|
|
7018
|
-
stepExecutionResultStatus: 'succeeded' | 'failed' | unknown;
|
|
7019
|
-
linearPipelineStepAdvancementPolicyDefinitionId: string;
|
|
7020
|
-
factsSnapshotJson: {
|
|
7021
|
-
[key: string]: unknown;
|
|
7022
|
-
};
|
|
7023
|
-
ruleResultsJson: unknown;
|
|
7024
|
-
finalStatus: 'pass' | 'fail';
|
|
7025
|
-
finalAction: 'continue' | 'block' | 'complete' | 'route';
|
|
7026
|
-
finalPayloadJson: {
|
|
7027
|
-
[key: string]: unknown;
|
|
7028
|
-
} | unknown;
|
|
7029
|
-
createdAt: string;
|
|
7030
|
-
} | unknown;
|
|
7031
|
-
createdAt: string;
|
|
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;
|
|
7032
7027
|
updatedAt: string;
|
|
7033
|
-
}
|
|
7034
|
-
events: Array<{
|
|
7035
|
-
id: string;
|
|
7036
|
-
linearPipelineExecutionAttemptId: string;
|
|
7037
|
-
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';
|
|
7038
|
-
payloadJson: {
|
|
7039
|
-
[key: string]: unknown;
|
|
7040
|
-
} | unknown;
|
|
7041
|
-
createdAt: string;
|
|
7042
|
-
}>;
|
|
7028
|
+
} | unknown;
|
|
7043
7029
|
createdAt: string;
|
|
7044
7030
|
updatedAt: string;
|
|
7045
7031
|
}>;
|
|
7046
|
-
|
|
7047
|
-
|
|
7048
|
-
|
|
7032
|
+
pagination: {
|
|
7033
|
+
page: number;
|
|
7034
|
+
pageSize: number;
|
|
7035
|
+
total: number;
|
|
7036
|
+
};
|
|
7037
|
+
};
|
|
7049
7038
|
};
|
|
7050
7039
|
export type GetApiLinearPipelineExecutionsResponse = GetApiLinearPipelineExecutionsResponses[keyof GetApiLinearPipelineExecutionsResponses];
|
|
7051
7040
|
export type PostApiLinearPipelineExecutionsData = {
|
|
@@ -7182,6 +7171,7 @@ export type PostApiLinearPipelineExecutionsResponses = {
|
|
|
7182
7171
|
id: string;
|
|
7183
7172
|
projectId: string;
|
|
7184
7173
|
workItemId: string;
|
|
7174
|
+
workItemTitle: string;
|
|
7185
7175
|
linearPipelineDefinitionId: string;
|
|
7186
7176
|
linearPipelineDefinitionVersionId: string;
|
|
7187
7177
|
definitionStepCount: number;
|
|
@@ -7204,7 +7194,7 @@ export type PostApiLinearPipelineExecutionsResponses = {
|
|
|
7204
7194
|
stepDefinitionVersion: number;
|
|
7205
7195
|
stepKey: string;
|
|
7206
7196
|
position: number;
|
|
7207
|
-
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned';
|
|
7197
|
+
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned' | 'timeout';
|
|
7208
7198
|
satisfactionStatus: 'not_evaluated' | 'satisfied_by_policy' | 'satisfied_by_user' | 'unsatisfied_by_policy';
|
|
7209
7199
|
stepExecutionId: string;
|
|
7210
7200
|
stepExecutionResultId: string | unknown;
|
|
@@ -7352,6 +7342,7 @@ export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdStartRespon
|
|
|
7352
7342
|
id: string;
|
|
7353
7343
|
projectId: string;
|
|
7354
7344
|
workItemId: string;
|
|
7345
|
+
workItemTitle: string;
|
|
7355
7346
|
linearPipelineDefinitionId: string;
|
|
7356
7347
|
linearPipelineDefinitionVersionId: string;
|
|
7357
7348
|
definitionStepCount: number;
|
|
@@ -7374,7 +7365,7 @@ export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdStartRespon
|
|
|
7374
7365
|
stepDefinitionVersion: number;
|
|
7375
7366
|
stepKey: string;
|
|
7376
7367
|
position: number;
|
|
7377
|
-
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned';
|
|
7368
|
+
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned' | 'timeout';
|
|
7378
7369
|
satisfactionStatus: 'not_evaluated' | 'satisfied_by_policy' | 'satisfied_by_user' | 'unsatisfied_by_policy';
|
|
7379
7370
|
stepExecutionId: string;
|
|
7380
7371
|
stepExecutionResultId: string | unknown;
|
|
@@ -7522,6 +7513,7 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsFi
|
|
|
7522
7513
|
id: string;
|
|
7523
7514
|
projectId: string;
|
|
7524
7515
|
workItemId: string;
|
|
7516
|
+
workItemTitle: string;
|
|
7525
7517
|
linearPipelineDefinitionId: string;
|
|
7526
7518
|
linearPipelineDefinitionVersionId: string;
|
|
7527
7519
|
definitionStepCount: number;
|
|
@@ -7544,7 +7536,7 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsFi
|
|
|
7544
7536
|
stepDefinitionVersion: number;
|
|
7545
7537
|
stepKey: string;
|
|
7546
7538
|
position: number;
|
|
7547
|
-
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned';
|
|
7539
|
+
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned' | 'timeout';
|
|
7548
7540
|
satisfactionStatus: 'not_evaluated' | 'satisfied_by_policy' | 'satisfied_by_user' | 'unsatisfied_by_policy';
|
|
7549
7541
|
stepExecutionId: string;
|
|
7550
7542
|
stepExecutionResultId: string | unknown;
|
|
@@ -7693,6 +7685,7 @@ export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsByL
|
|
|
7693
7685
|
id: string;
|
|
7694
7686
|
projectId: string;
|
|
7695
7687
|
workItemId: string;
|
|
7688
|
+
workItemTitle: string;
|
|
7696
7689
|
linearPipelineDefinitionId: string;
|
|
7697
7690
|
linearPipelineDefinitionVersionId: string;
|
|
7698
7691
|
definitionStepCount: number;
|
|
@@ -7715,7 +7708,7 @@ export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsByL
|
|
|
7715
7708
|
stepDefinitionVersion: number;
|
|
7716
7709
|
stepKey: string;
|
|
7717
7710
|
position: number;
|
|
7718
|
-
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned';
|
|
7711
|
+
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned' | 'timeout';
|
|
7719
7712
|
satisfactionStatus: 'not_evaluated' | 'satisfied_by_policy' | 'satisfied_by_user' | 'unsatisfied_by_policy';
|
|
7720
7713
|
stepExecutionId: string;
|
|
7721
7714
|
stepExecutionResultId: string | unknown;
|
|
@@ -7870,6 +7863,7 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsBy
|
|
|
7870
7863
|
id: string;
|
|
7871
7864
|
projectId: string;
|
|
7872
7865
|
workItemId: string;
|
|
7866
|
+
workItemTitle: string;
|
|
7873
7867
|
linearPipelineDefinitionId: string;
|
|
7874
7868
|
linearPipelineDefinitionVersionId: string;
|
|
7875
7869
|
definitionStepCount: number;
|
|
@@ -7892,7 +7886,7 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsBy
|
|
|
7892
7886
|
stepDefinitionVersion: number;
|
|
7893
7887
|
stepKey: string;
|
|
7894
7888
|
position: number;
|
|
7895
|
-
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned';
|
|
7889
|
+
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned' | 'timeout';
|
|
7896
7890
|
satisfactionStatus: 'not_evaluated' | 'satisfied_by_policy' | 'satisfied_by_user' | 'unsatisfied_by_policy';
|
|
7897
7891
|
stepExecutionId: string;
|
|
7898
7892
|
stepExecutionResultId: string | unknown;
|
|
@@ -8047,6 +8041,7 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsBy
|
|
|
8047
8041
|
id: string;
|
|
8048
8042
|
projectId: string;
|
|
8049
8043
|
workItemId: string;
|
|
8044
|
+
workItemTitle: string;
|
|
8050
8045
|
linearPipelineDefinitionId: string;
|
|
8051
8046
|
linearPipelineDefinitionVersionId: string;
|
|
8052
8047
|
definitionStepCount: number;
|
|
@@ -8069,7 +8064,7 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsBy
|
|
|
8069
8064
|
stepDefinitionVersion: number;
|
|
8070
8065
|
stepKey: string;
|
|
8071
8066
|
position: number;
|
|
8072
|
-
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned';
|
|
8067
|
+
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned' | 'timeout';
|
|
8073
8068
|
satisfactionStatus: 'not_evaluated' | 'satisfied_by_policy' | 'satisfied_by_user' | 'unsatisfied_by_policy';
|
|
8074
8069
|
stepExecutionId: string;
|
|
8075
8070
|
stepExecutionResultId: string | unknown;
|
|
@@ -8220,6 +8215,7 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdRerunRespo
|
|
|
8220
8215
|
id: string;
|
|
8221
8216
|
projectId: string;
|
|
8222
8217
|
workItemId: string;
|
|
8218
|
+
workItemTitle: string;
|
|
8223
8219
|
linearPipelineDefinitionId: string;
|
|
8224
8220
|
linearPipelineDefinitionVersionId: string;
|
|
8225
8221
|
definitionStepCount: number;
|
|
@@ -8242,7 +8238,7 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdRerunRespo
|
|
|
8242
8238
|
stepDefinitionVersion: number;
|
|
8243
8239
|
stepKey: string;
|
|
8244
8240
|
position: number;
|
|
8245
|
-
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned';
|
|
8241
|
+
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned' | 'timeout';
|
|
8246
8242
|
satisfactionStatus: 'not_evaluated' | 'satisfied_by_policy' | 'satisfied_by_user' | 'unsatisfied_by_policy';
|
|
8247
8243
|
stepExecutionId: string;
|
|
8248
8244
|
stepExecutionResultId: string | unknown;
|
|
@@ -8390,6 +8386,7 @@ export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdCancelRespo
|
|
|
8390
8386
|
id: string;
|
|
8391
8387
|
projectId: string;
|
|
8392
8388
|
workItemId: string;
|
|
8389
|
+
workItemTitle: string;
|
|
8393
8390
|
linearPipelineDefinitionId: string;
|
|
8394
8391
|
linearPipelineDefinitionVersionId: string;
|
|
8395
8392
|
definitionStepCount: number;
|
|
@@ -8412,7 +8409,7 @@ export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdCancelRespo
|
|
|
8412
8409
|
stepDefinitionVersion: number;
|
|
8413
8410
|
stepKey: string;
|
|
8414
8411
|
position: number;
|
|
8415
|
-
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned';
|
|
8412
|
+
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned' | 'timeout';
|
|
8416
8413
|
satisfactionStatus: 'not_evaluated' | 'satisfied_by_policy' | 'satisfied_by_user' | 'unsatisfied_by_policy';
|
|
8417
8414
|
stepExecutionId: string;
|
|
8418
8415
|
stepExecutionResultId: string | unknown;
|
|
@@ -8560,6 +8557,7 @@ export type GetApiLinearPipelineExecutionsByLinearPipelineExecutionIdResponses =
|
|
|
8560
8557
|
id: string;
|
|
8561
8558
|
projectId: string;
|
|
8562
8559
|
workItemId: string;
|
|
8560
|
+
workItemTitle: string;
|
|
8563
8561
|
linearPipelineDefinitionId: string;
|
|
8564
8562
|
linearPipelineDefinitionVersionId: string;
|
|
8565
8563
|
definitionStepCount: number;
|
|
@@ -8582,7 +8580,7 @@ export type GetApiLinearPipelineExecutionsByLinearPipelineExecutionIdResponses =
|
|
|
8582
8580
|
stepDefinitionVersion: number;
|
|
8583
8581
|
stepKey: string;
|
|
8584
8582
|
position: number;
|
|
8585
|
-
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned';
|
|
8583
|
+
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned' | 'timeout';
|
|
8586
8584
|
satisfactionStatus: 'not_evaluated' | 'satisfied_by_policy' | 'satisfied_by_user' | 'unsatisfied_by_policy';
|
|
8587
8585
|
stepExecutionId: string;
|
|
8588
8586
|
stepExecutionResultId: string | unknown;
|
|
@@ -8631,15 +8629,15 @@ export type GetApiLinearPipelineExecutionsByLinearPipelineExecutionIdResponses =
|
|
|
8631
8629
|
};
|
|
8632
8630
|
};
|
|
8633
8631
|
export type GetApiLinearPipelineExecutionsByLinearPipelineExecutionIdResponse = GetApiLinearPipelineExecutionsByLinearPipelineExecutionIdResponses[keyof GetApiLinearPipelineExecutionsByLinearPipelineExecutionIdResponses];
|
|
8634
|
-
export type
|
|
8632
|
+
export type GetApiLinearPipelineExecutionsCountsByPipelineData = {
|
|
8635
8633
|
body?: never;
|
|
8636
|
-
path
|
|
8637
|
-
|
|
8634
|
+
path?: never;
|
|
8635
|
+
query: {
|
|
8636
|
+
projectId: string;
|
|
8638
8637
|
};
|
|
8639
|
-
|
|
8640
|
-
url: '/api/linear-pipeline-executions/by-definition/{linearPipelineDefinitionId}';
|
|
8638
|
+
url: '/api/linear-pipeline-executions/counts/by-pipeline';
|
|
8641
8639
|
};
|
|
8642
|
-
export type
|
|
8640
|
+
export type GetApiLinearPipelineExecutionsCountsByPipelineErrors = {
|
|
8643
8641
|
/**
|
|
8644
8642
|
* Response for status 401
|
|
8645
8643
|
*/
|
|
@@ -8673,9 +8671,9 @@ export type GetApiLinearPipelineExecutionsByDefinitionByLinearPipelineDefinition
|
|
|
8673
8671
|
}>;
|
|
8674
8672
|
};
|
|
8675
8673
|
/**
|
|
8676
|
-
* Response for status
|
|
8674
|
+
* Response for status 422
|
|
8677
8675
|
*/
|
|
8678
|
-
|
|
8676
|
+
422: {
|
|
8679
8677
|
type: string;
|
|
8680
8678
|
title: string;
|
|
8681
8679
|
status: number;
|
|
@@ -8689,9 +8687,9 @@ export type GetApiLinearPipelineExecutionsByDefinitionByLinearPipelineDefinition
|
|
|
8689
8687
|
}>;
|
|
8690
8688
|
};
|
|
8691
8689
|
/**
|
|
8692
|
-
* Response for status
|
|
8690
|
+
* Response for status 500
|
|
8693
8691
|
*/
|
|
8694
|
-
|
|
8692
|
+
500: {
|
|
8695
8693
|
type: string;
|
|
8696
8694
|
title: string;
|
|
8697
8695
|
status: number;
|
|
@@ -8704,10 +8702,31 @@ export type GetApiLinearPipelineExecutionsByDefinitionByLinearPipelineDefinition
|
|
|
8704
8702
|
summary?: string;
|
|
8705
8703
|
}>;
|
|
8706
8704
|
};
|
|
8705
|
+
};
|
|
8706
|
+
export type GetApiLinearPipelineExecutionsCountsByPipelineError = GetApiLinearPipelineExecutionsCountsByPipelineErrors[keyof GetApiLinearPipelineExecutionsCountsByPipelineErrors];
|
|
8707
|
+
export type GetApiLinearPipelineExecutionsCountsByPipelineResponses = {
|
|
8707
8708
|
/**
|
|
8708
|
-
* Response for status
|
|
8709
|
+
* Response for status 200
|
|
8709
8710
|
*/
|
|
8710
|
-
|
|
8711
|
+
200: Array<{
|
|
8712
|
+
linearPipelineDefinitionId: string;
|
|
8713
|
+
count: number;
|
|
8714
|
+
}>;
|
|
8715
|
+
};
|
|
8716
|
+
export type GetApiLinearPipelineExecutionsCountsByPipelineResponse = GetApiLinearPipelineExecutionsCountsByPipelineResponses[keyof GetApiLinearPipelineExecutionsCountsByPipelineResponses];
|
|
8717
|
+
export type GetApiLinearPipelineExecutionsStepRollupsByDefinitionByLinearPipelineDefinitionIdData = {
|
|
8718
|
+
body?: never;
|
|
8719
|
+
path: {
|
|
8720
|
+
linearPipelineDefinitionId: string;
|
|
8721
|
+
};
|
|
8722
|
+
query?: never;
|
|
8723
|
+
url: '/api/linear-pipeline-executions/step-rollups/by-definition/{linearPipelineDefinitionId}';
|
|
8724
|
+
};
|
|
8725
|
+
export type GetApiLinearPipelineExecutionsStepRollupsByDefinitionByLinearPipelineDefinitionIdErrors = {
|
|
8726
|
+
/**
|
|
8727
|
+
* Response for status 401
|
|
8728
|
+
*/
|
|
8729
|
+
401: {
|
|
8711
8730
|
type: string;
|
|
8712
8731
|
title: string;
|
|
8713
8732
|
status: number;
|
|
@@ -8720,109 +8739,42 @@ export type GetApiLinearPipelineExecutionsByDefinitionByLinearPipelineDefinition
|
|
|
8720
8739
|
summary?: string;
|
|
8721
8740
|
}>;
|
|
8722
8741
|
};
|
|
8723
|
-
};
|
|
8724
|
-
export type GetApiLinearPipelineExecutionsByDefinitionByLinearPipelineDefinitionIdError = GetApiLinearPipelineExecutionsByDefinitionByLinearPipelineDefinitionIdErrors[keyof GetApiLinearPipelineExecutionsByDefinitionByLinearPipelineDefinitionIdErrors];
|
|
8725
|
-
export type GetApiLinearPipelineExecutionsByDefinitionByLinearPipelineDefinitionIdResponses = {
|
|
8726
8742
|
/**
|
|
8727
|
-
* Response for status
|
|
8743
|
+
* Response for status 403
|
|
8728
8744
|
*/
|
|
8729
|
-
|
|
8730
|
-
|
|
8731
|
-
|
|
8732
|
-
|
|
8733
|
-
|
|
8734
|
-
|
|
8735
|
-
|
|
8736
|
-
|
|
8737
|
-
|
|
8738
|
-
|
|
8739
|
-
|
|
8740
|
-
linearPipelineExecutionId: string;
|
|
8741
|
-
attemptNumber: number;
|
|
8742
|
-
currentStepKey: string | unknown;
|
|
8743
|
-
startedAt: string | unknown;
|
|
8744
|
-
completedAt: string | unknown;
|
|
8745
|
-
routedToPipelineExecutionId: string | unknown;
|
|
8746
|
-
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'blocked' | 'routed';
|
|
8747
|
-
stepRuns: Array<{
|
|
8748
|
-
id: string;
|
|
8749
|
-
linearPipelineExecutionAttemptId: string;
|
|
8750
|
-
linearPipelineStepDefinitionId: string;
|
|
8751
|
-
stepDefinitionId: string;
|
|
8752
|
-
stepDefinitionVersion: number;
|
|
8753
|
-
stepKey: string;
|
|
8754
|
-
position: number;
|
|
8755
|
-
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned';
|
|
8756
|
-
satisfactionStatus: 'not_evaluated' | 'satisfied_by_policy' | 'satisfied_by_user' | 'unsatisfied_by_policy';
|
|
8757
|
-
stepExecutionId: string;
|
|
8758
|
-
stepExecutionResultId: string | unknown;
|
|
8759
|
-
inheritedFromStepRunId: string | unknown;
|
|
8760
|
-
acceptedByUserId: string | unknown;
|
|
8761
|
-
acceptedAt: string | unknown;
|
|
8762
|
-
acceptanceReason: string | unknown;
|
|
8763
|
-
workBranch: string | unknown;
|
|
8764
|
-
outputJson: unknown;
|
|
8765
|
-
evaluation: {
|
|
8766
|
-
id: string;
|
|
8767
|
-
linearPipelineExecutionAttemptId: string;
|
|
8768
|
-
linearPipelineStepRunId: string;
|
|
8769
|
-
stepExecutionId: string;
|
|
8770
|
-
stepExecutionResultId: string;
|
|
8771
|
-
stepExecutionResultStatus: 'succeeded' | 'failed' | unknown;
|
|
8772
|
-
linearPipelineStepAdvancementPolicyDefinitionId: string;
|
|
8773
|
-
factsSnapshotJson: {
|
|
8774
|
-
[key: string]: unknown;
|
|
8775
|
-
};
|
|
8776
|
-
ruleResultsJson: unknown;
|
|
8777
|
-
finalStatus: 'pass' | 'fail';
|
|
8778
|
-
finalAction: 'continue' | 'block' | 'complete' | 'route';
|
|
8779
|
-
finalPayloadJson: {
|
|
8780
|
-
[key: string]: unknown;
|
|
8781
|
-
} | unknown;
|
|
8782
|
-
createdAt: string;
|
|
8783
|
-
} | unknown;
|
|
8784
|
-
createdAt: string;
|
|
8785
|
-
updatedAt: string;
|
|
8786
|
-
}>;
|
|
8787
|
-
events: Array<{
|
|
8788
|
-
id: string;
|
|
8789
|
-
linearPipelineExecutionAttemptId: string;
|
|
8790
|
-
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';
|
|
8791
|
-
payloadJson: {
|
|
8792
|
-
[key: string]: unknown;
|
|
8793
|
-
} | unknown;
|
|
8794
|
-
createdAt: string;
|
|
8795
|
-
}>;
|
|
8796
|
-
createdAt: string;
|
|
8797
|
-
updatedAt: string;
|
|
8745
|
+
403: {
|
|
8746
|
+
type: string;
|
|
8747
|
+
title: string;
|
|
8748
|
+
status: number;
|
|
8749
|
+
detail?: string;
|
|
8750
|
+
instance?: string;
|
|
8751
|
+
code?: string;
|
|
8752
|
+
errors?: Array<{
|
|
8753
|
+
path: string;
|
|
8754
|
+
message: string;
|
|
8755
|
+
summary?: string;
|
|
8798
8756
|
}>;
|
|
8799
|
-
|
|
8800
|
-
|
|
8801
|
-
|
|
8802
|
-
|
|
8803
|
-
|
|
8804
|
-
|
|
8805
|
-
body: {
|
|
8806
|
-
projectId: string;
|
|
8807
|
-
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
8808
|
-
platformId?: string | unknown;
|
|
8809
|
-
platformKey: string;
|
|
8810
|
-
url?: string | unknown;
|
|
8757
|
+
};
|
|
8758
|
+
/**
|
|
8759
|
+
* Response for status 404
|
|
8760
|
+
*/
|
|
8761
|
+
404: {
|
|
8762
|
+
type: string;
|
|
8811
8763
|
title: string;
|
|
8812
|
-
|
|
8813
|
-
|
|
8814
|
-
|
|
8815
|
-
|
|
8764
|
+
status: number;
|
|
8765
|
+
detail?: string;
|
|
8766
|
+
instance?: string;
|
|
8767
|
+
code?: string;
|
|
8768
|
+
errors?: Array<{
|
|
8769
|
+
path: string;
|
|
8770
|
+
message: string;
|
|
8771
|
+
summary?: string;
|
|
8772
|
+
}>;
|
|
8816
8773
|
};
|
|
8817
|
-
path?: never;
|
|
8818
|
-
query?: never;
|
|
8819
|
-
url: '/api/work-items';
|
|
8820
|
-
};
|
|
8821
|
-
export type PostApiWorkItemsErrors = {
|
|
8822
8774
|
/**
|
|
8823
|
-
* Response for status
|
|
8775
|
+
* Response for status 422
|
|
8824
8776
|
*/
|
|
8825
|
-
|
|
8777
|
+
422: {
|
|
8826
8778
|
type: string;
|
|
8827
8779
|
title: string;
|
|
8828
8780
|
status: number;
|
|
@@ -8836,9 +8788,9 @@ export type PostApiWorkItemsErrors = {
|
|
|
8836
8788
|
}>;
|
|
8837
8789
|
};
|
|
8838
8790
|
/**
|
|
8839
|
-
* Response for status
|
|
8791
|
+
* Response for status 500
|
|
8840
8792
|
*/
|
|
8841
|
-
|
|
8793
|
+
500: {
|
|
8842
8794
|
type: string;
|
|
8843
8795
|
title: string;
|
|
8844
8796
|
status: number;
|
|
@@ -8851,10 +8803,41 @@ export type PostApiWorkItemsErrors = {
|
|
|
8851
8803
|
summary?: string;
|
|
8852
8804
|
}>;
|
|
8853
8805
|
};
|
|
8806
|
+
};
|
|
8807
|
+
export type GetApiLinearPipelineExecutionsStepRollupsByDefinitionByLinearPipelineDefinitionIdError = GetApiLinearPipelineExecutionsStepRollupsByDefinitionByLinearPipelineDefinitionIdErrors[keyof GetApiLinearPipelineExecutionsStepRollupsByDefinitionByLinearPipelineDefinitionIdErrors];
|
|
8808
|
+
export type GetApiLinearPipelineExecutionsStepRollupsByDefinitionByLinearPipelineDefinitionIdResponses = {
|
|
8854
8809
|
/**
|
|
8855
|
-
* Response for status
|
|
8810
|
+
* Response for status 200
|
|
8856
8811
|
*/
|
|
8857
|
-
|
|
8812
|
+
200: Array<{
|
|
8813
|
+
linearPipelineStepDefinitionId: string;
|
|
8814
|
+
totalRunCount: number;
|
|
8815
|
+
latestRun: {
|
|
8816
|
+
linearPipelineStepRunId: string;
|
|
8817
|
+
linearPipelineExecutionId: string;
|
|
8818
|
+
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned' | 'timeout';
|
|
8819
|
+
stepExecutionResultStatus: 'succeeded' | 'failed' | unknown;
|
|
8820
|
+
evaluationFinalAction: 'continue' | 'block' | 'complete' | 'route' | unknown;
|
|
8821
|
+
createdAt: string;
|
|
8822
|
+
} | unknown;
|
|
8823
|
+
}>;
|
|
8824
|
+
};
|
|
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: {
|
|
8858
8841
|
type: string;
|
|
8859
8842
|
title: string;
|
|
8860
8843
|
status: number;
|
|
@@ -8868,9 +8851,9 @@ export type PostApiWorkItemsErrors = {
|
|
|
8868
8851
|
}>;
|
|
8869
8852
|
};
|
|
8870
8853
|
/**
|
|
8871
|
-
* Response for status
|
|
8854
|
+
* Response for status 403
|
|
8872
8855
|
*/
|
|
8873
|
-
|
|
8856
|
+
403: {
|
|
8874
8857
|
type: string;
|
|
8875
8858
|
title: string;
|
|
8876
8859
|
status: number;
|
|
@@ -8884,9 +8867,9 @@ export type PostApiWorkItemsErrors = {
|
|
|
8884
8867
|
}>;
|
|
8885
8868
|
};
|
|
8886
8869
|
/**
|
|
8887
|
-
* Response for status
|
|
8870
|
+
* Response for status 404
|
|
8888
8871
|
*/
|
|
8889
|
-
|
|
8872
|
+
404: {
|
|
8890
8873
|
type: string;
|
|
8891
8874
|
title: string;
|
|
8892
8875
|
status: number;
|
|
@@ -8932,31 +8915,22 @@ export type PostApiWorkItemsErrors = {
|
|
|
8932
8915
|
}>;
|
|
8933
8916
|
};
|
|
8934
8917
|
};
|
|
8935
|
-
export type
|
|
8936
|
-
export type
|
|
8918
|
+
export type GetApiLinearPipelineExecutionsStepRunsByDefinitionByLinearPipelineDefinitionIdError = GetApiLinearPipelineExecutionsStepRunsByDefinitionByLinearPipelineDefinitionIdErrors[keyof GetApiLinearPipelineExecutionsStepRunsByDefinitionByLinearPipelineDefinitionIdErrors];
|
|
8919
|
+
export type GetApiLinearPipelineExecutionsStepRunsByDefinitionByLinearPipelineDefinitionIdResponses = {
|
|
8937
8920
|
/**
|
|
8938
8921
|
* Response for status 200
|
|
8939
8922
|
*/
|
|
8940
|
-
200: {
|
|
8941
|
-
|
|
8942
|
-
|
|
8943
|
-
|
|
8944
|
-
|
|
8945
|
-
|
|
8946
|
-
url?: string | unknown;
|
|
8947
|
-
title: string;
|
|
8948
|
-
description: string;
|
|
8949
|
-
sourceCreatedAt: string | unknown;
|
|
8950
|
-
sourceUpdatedAt: string | unknown;
|
|
8951
|
-
fields: unknown;
|
|
8952
|
-
createdByUsername: string | unknown;
|
|
8953
|
-
createdByImage: string | unknown;
|
|
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;
|
|
8954
8929
|
createdAt: string;
|
|
8955
|
-
|
|
8956
|
-
};
|
|
8930
|
+
}>;
|
|
8957
8931
|
};
|
|
8958
|
-
export type
|
|
8959
|
-
export type
|
|
8932
|
+
export type GetApiLinearPipelineExecutionsStepRunsByDefinitionByLinearPipelineDefinitionIdResponse = GetApiLinearPipelineExecutionsStepRunsByDefinitionByLinearPipelineDefinitionIdResponses[keyof GetApiLinearPipelineExecutionsStepRunsByDefinitionByLinearPipelineDefinitionIdResponses];
|
|
8933
|
+
export type PostApiWorkItemsData = {
|
|
8960
8934
|
body: {
|
|
8961
8935
|
projectId: string;
|
|
8962
8936
|
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
@@ -8973,7 +8947,7 @@ export type PutApiWorkItemsData = {
|
|
|
8973
8947
|
query?: never;
|
|
8974
8948
|
url: '/api/work-items';
|
|
8975
8949
|
};
|
|
8976
|
-
export type
|
|
8950
|
+
export type PostApiWorkItemsErrors = {
|
|
8977
8951
|
/**
|
|
8978
8952
|
* Response for status 400
|
|
8979
8953
|
*/
|
|
@@ -9038,6 +9012,22 @@ export type PutApiWorkItemsErrors = {
|
|
|
9038
9012
|
summary?: string;
|
|
9039
9013
|
}>;
|
|
9040
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
|
+
};
|
|
9041
9031
|
/**
|
|
9042
9032
|
* Response for status 422
|
|
9043
9033
|
*/
|
|
@@ -9071,8 +9061,8 @@ export type PutApiWorkItemsErrors = {
|
|
|
9071
9061
|
}>;
|
|
9072
9062
|
};
|
|
9073
9063
|
};
|
|
9074
|
-
export type
|
|
9075
|
-
export type
|
|
9064
|
+
export type PostApiWorkItemsError = PostApiWorkItemsErrors[keyof PostApiWorkItemsErrors];
|
|
9065
|
+
export type PostApiWorkItemsResponses = {
|
|
9076
9066
|
/**
|
|
9077
9067
|
* Response for status 200
|
|
9078
9068
|
*/
|
|
@@ -9094,16 +9084,41 @@ export type PutApiWorkItemsResponses = {
|
|
|
9094
9084
|
updatedAt: string;
|
|
9095
9085
|
};
|
|
9096
9086
|
};
|
|
9097
|
-
export type
|
|
9098
|
-
export type
|
|
9087
|
+
export type PostApiWorkItemsResponse = PostApiWorkItemsResponses[keyof PostApiWorkItemsResponses];
|
|
9088
|
+
export type PutApiWorkItemsData = {
|
|
9099
9089
|
body: {
|
|
9100
|
-
|
|
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;
|
|
9101
9100
|
};
|
|
9102
9101
|
path?: never;
|
|
9103
9102
|
query?: never;
|
|
9104
|
-
url: '/api/work-items
|
|
9103
|
+
url: '/api/work-items';
|
|
9105
9104
|
};
|
|
9106
|
-
export type
|
|
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
|
+
};
|
|
9107
9122
|
/**
|
|
9108
9123
|
* Response for status 401
|
|
9109
9124
|
*/
|
|
@@ -9185,23 +9200,39 @@ export type DeleteApiWorkItemsBatchErrors = {
|
|
|
9185
9200
|
}>;
|
|
9186
9201
|
};
|
|
9187
9202
|
};
|
|
9188
|
-
export type
|
|
9189
|
-
export type
|
|
9203
|
+
export type PutApiWorkItemsError = PutApiWorkItemsErrors[keyof PutApiWorkItemsErrors];
|
|
9204
|
+
export type PutApiWorkItemsResponses = {
|
|
9190
9205
|
/**
|
|
9191
9206
|
* Response for status 200
|
|
9192
9207
|
*/
|
|
9193
|
-
200:
|
|
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
|
+
};
|
|
9194
9225
|
};
|
|
9195
|
-
export type
|
|
9196
|
-
export type
|
|
9197
|
-
body
|
|
9198
|
-
|
|
9199
|
-
query: {
|
|
9200
|
-
workItemIds: Array<string>;
|
|
9226
|
+
export type PutApiWorkItemsResponse = PutApiWorkItemsResponses[keyof PutApiWorkItemsResponses];
|
|
9227
|
+
export type DeleteApiWorkItemsBatchData = {
|
|
9228
|
+
body: {
|
|
9229
|
+
input: Array<string>;
|
|
9201
9230
|
};
|
|
9231
|
+
path?: never;
|
|
9232
|
+
query?: never;
|
|
9202
9233
|
url: '/api/work-items/batch';
|
|
9203
9234
|
};
|
|
9204
|
-
export type
|
|
9235
|
+
export type DeleteApiWorkItemsBatchErrors = {
|
|
9205
9236
|
/**
|
|
9206
9237
|
* Response for status 401
|
|
9207
9238
|
*/
|
|
@@ -9283,30 +9314,14 @@ export type GetApiWorkItemsBatchErrors = {
|
|
|
9283
9314
|
}>;
|
|
9284
9315
|
};
|
|
9285
9316
|
};
|
|
9286
|
-
export type
|
|
9287
|
-
export type
|
|
9317
|
+
export type DeleteApiWorkItemsBatchError = DeleteApiWorkItemsBatchErrors[keyof DeleteApiWorkItemsBatchErrors];
|
|
9318
|
+
export type DeleteApiWorkItemsBatchResponses = {
|
|
9288
9319
|
/**
|
|
9289
9320
|
* Response for status 200
|
|
9290
9321
|
*/
|
|
9291
|
-
200:
|
|
9292
|
-
id: string;
|
|
9293
|
-
projectId: string;
|
|
9294
|
-
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
9295
|
-
platformId?: string | unknown;
|
|
9296
|
-
platformKey: string;
|
|
9297
|
-
url?: string | unknown;
|
|
9298
|
-
title: string;
|
|
9299
|
-
description: string;
|
|
9300
|
-
sourceCreatedAt: string | unknown;
|
|
9301
|
-
sourceUpdatedAt: string | unknown;
|
|
9302
|
-
fields: unknown;
|
|
9303
|
-
createdByUsername: string | unknown;
|
|
9304
|
-
createdByImage: string | unknown;
|
|
9305
|
-
createdAt: string;
|
|
9306
|
-
updatedAt: string;
|
|
9307
|
-
}>;
|
|
9322
|
+
200: number;
|
|
9308
9323
|
};
|
|
9309
|
-
export type
|
|
9324
|
+
export type DeleteApiWorkItemsBatchResponse = DeleteApiWorkItemsBatchResponses[keyof DeleteApiWorkItemsBatchResponses];
|
|
9310
9325
|
export type PostApiWorkItemsBatchData = {
|
|
9311
9326
|
body: Array<{
|
|
9312
9327
|
projectId: string;
|