@boboddy/sdk 0.4.0 → 0.4.2
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 +57 -0
- package/dist/definitions/pipelines/define-default-pipeline-assignment.d.ts +4 -4
- package/dist/definitions/pipelines/index.js +56 -0
- package/dist/definitions/steps/index.js +56 -0
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/sdk.gen.d.ts +15 -1
- package/dist/generated/types.gen.d.ts +1072 -203
- package/dist/index.js +57 -0
- package/dist/push/index.js +56 -0
- package/package.json +1 -1
|
@@ -334,8 +334,10 @@ export type GetApiProjectsByProjectIdWorkItemsResponses = {
|
|
|
334
334
|
sourceCreatedAt: string | unknown;
|
|
335
335
|
sourceUpdatedAt: string | unknown;
|
|
336
336
|
fields: unknown;
|
|
337
|
+
createdByUserId: string | unknown;
|
|
337
338
|
createdByUsername: string | unknown;
|
|
338
339
|
createdByImage: string | unknown;
|
|
340
|
+
parentWorkItemId: string | unknown;
|
|
339
341
|
createdAt: string;
|
|
340
342
|
updatedAt: string;
|
|
341
343
|
signalScore: number | unknown;
|
|
@@ -8775,6 +8777,107 @@ export type PutApiPipelineExecutionsByPipelineExecutionIdCancelResponses = {
|
|
|
8775
8777
|
};
|
|
8776
8778
|
};
|
|
8777
8779
|
export type PutApiPipelineExecutionsByPipelineExecutionIdCancelResponse = PutApiPipelineExecutionsByPipelineExecutionIdCancelResponses[keyof PutApiPipelineExecutionsByPipelineExecutionIdCancelResponses];
|
|
8780
|
+
export type PutApiPipelineExecutionsBatchCancelData = {
|
|
8781
|
+
body: {
|
|
8782
|
+
input: Array<string>;
|
|
8783
|
+
};
|
|
8784
|
+
path?: never;
|
|
8785
|
+
query?: never;
|
|
8786
|
+
url: '/api/pipeline-executions/batch/cancel';
|
|
8787
|
+
};
|
|
8788
|
+
export type PutApiPipelineExecutionsBatchCancelErrors = {
|
|
8789
|
+
/**
|
|
8790
|
+
* Response for status 401
|
|
8791
|
+
*/
|
|
8792
|
+
401: {
|
|
8793
|
+
type: string;
|
|
8794
|
+
title: string;
|
|
8795
|
+
status: number;
|
|
8796
|
+
detail?: string;
|
|
8797
|
+
instance?: string;
|
|
8798
|
+
code?: string;
|
|
8799
|
+
errors?: Array<{
|
|
8800
|
+
path: string;
|
|
8801
|
+
message: string;
|
|
8802
|
+
summary?: string;
|
|
8803
|
+
}>;
|
|
8804
|
+
};
|
|
8805
|
+
/**
|
|
8806
|
+
* Response for status 403
|
|
8807
|
+
*/
|
|
8808
|
+
403: {
|
|
8809
|
+
type: string;
|
|
8810
|
+
title: string;
|
|
8811
|
+
status: number;
|
|
8812
|
+
detail?: string;
|
|
8813
|
+
instance?: string;
|
|
8814
|
+
code?: string;
|
|
8815
|
+
errors?: Array<{
|
|
8816
|
+
path: string;
|
|
8817
|
+
message: string;
|
|
8818
|
+
summary?: string;
|
|
8819
|
+
}>;
|
|
8820
|
+
};
|
|
8821
|
+
/**
|
|
8822
|
+
* Response for status 404
|
|
8823
|
+
*/
|
|
8824
|
+
404: {
|
|
8825
|
+
type: string;
|
|
8826
|
+
title: string;
|
|
8827
|
+
status: number;
|
|
8828
|
+
detail?: string;
|
|
8829
|
+
instance?: string;
|
|
8830
|
+
code?: string;
|
|
8831
|
+
errors?: Array<{
|
|
8832
|
+
path: string;
|
|
8833
|
+
message: string;
|
|
8834
|
+
summary?: string;
|
|
8835
|
+
}>;
|
|
8836
|
+
};
|
|
8837
|
+
/**
|
|
8838
|
+
* Response for status 422
|
|
8839
|
+
*/
|
|
8840
|
+
422: {
|
|
8841
|
+
type: string;
|
|
8842
|
+
title: string;
|
|
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
|
+
}>;
|
|
8852
|
+
};
|
|
8853
|
+
/**
|
|
8854
|
+
* Response for status 500
|
|
8855
|
+
*/
|
|
8856
|
+
500: {
|
|
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
|
+
export type PutApiPipelineExecutionsBatchCancelError = PutApiPipelineExecutionsBatchCancelErrors[keyof PutApiPipelineExecutionsBatchCancelErrors];
|
|
8871
|
+
export type PutApiPipelineExecutionsBatchCancelResponses = {
|
|
8872
|
+
/**
|
|
8873
|
+
* Response for status 200
|
|
8874
|
+
*/
|
|
8875
|
+
200: {
|
|
8876
|
+
cancelledIds: Array<string>;
|
|
8877
|
+
skippedIds: Array<string>;
|
|
8878
|
+
};
|
|
8879
|
+
};
|
|
8880
|
+
export type PutApiPipelineExecutionsBatchCancelResponse = PutApiPipelineExecutionsBatchCancelResponses[keyof PutApiPipelineExecutionsBatchCancelResponses];
|
|
8778
8881
|
export type GetApiPipelineExecutionsByPipelineExecutionIdData = {
|
|
8779
8882
|
body?: never;
|
|
8780
8883
|
path: {
|
|
@@ -9632,31 +9735,27 @@ export type GetApiWorkItemsByWorkItemIdResponses = {
|
|
|
9632
9735
|
sourceCreatedAt: string | unknown;
|
|
9633
9736
|
sourceUpdatedAt: string | unknown;
|
|
9634
9737
|
fields: unknown;
|
|
9738
|
+
createdByUserId: string | unknown;
|
|
9635
9739
|
createdByUsername: string | unknown;
|
|
9636
9740
|
createdByImage: string | unknown;
|
|
9741
|
+
parentWorkItemId: string | unknown;
|
|
9637
9742
|
createdAt: string;
|
|
9638
9743
|
updatedAt: string;
|
|
9639
9744
|
};
|
|
9640
9745
|
};
|
|
9641
9746
|
export type GetApiWorkItemsByWorkItemIdResponse = GetApiWorkItemsByWorkItemIdResponses[keyof GetApiWorkItemsByWorkItemIdResponses];
|
|
9642
|
-
export type
|
|
9747
|
+
export type PatchApiWorkItemsByWorkItemIdData = {
|
|
9643
9748
|
body: {
|
|
9644
|
-
projectId: string;
|
|
9645
|
-
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
9646
|
-
platformId?: string | unknown;
|
|
9647
|
-
platformKey: string;
|
|
9648
|
-
url?: string | unknown;
|
|
9649
9749
|
title: string;
|
|
9650
9750
|
description: string;
|
|
9651
|
-
sourceCreatedAt: string | unknown;
|
|
9652
|
-
sourceUpdatedAt: string | unknown;
|
|
9653
|
-
fields: unknown;
|
|
9654
9751
|
};
|
|
9655
|
-
path
|
|
9752
|
+
path: {
|
|
9753
|
+
workItemId: string;
|
|
9754
|
+
};
|
|
9656
9755
|
query?: never;
|
|
9657
|
-
url: '/api/work-items';
|
|
9756
|
+
url: '/api/work-items/{workItemId}';
|
|
9658
9757
|
};
|
|
9659
|
-
export type
|
|
9758
|
+
export type PatchApiWorkItemsByWorkItemIdErrors = {
|
|
9660
9759
|
/**
|
|
9661
9760
|
* Response for status 400
|
|
9662
9761
|
*/
|
|
@@ -9721,22 +9820,6 @@ export type PostApiWorkItemsErrors = {
|
|
|
9721
9820
|
summary?: string;
|
|
9722
9821
|
}>;
|
|
9723
9822
|
};
|
|
9724
|
-
/**
|
|
9725
|
-
* Response for status 409
|
|
9726
|
-
*/
|
|
9727
|
-
409: {
|
|
9728
|
-
type: string;
|
|
9729
|
-
title: string;
|
|
9730
|
-
status: number;
|
|
9731
|
-
detail?: string;
|
|
9732
|
-
instance?: string;
|
|
9733
|
-
code?: string;
|
|
9734
|
-
errors?: Array<{
|
|
9735
|
-
path: string;
|
|
9736
|
-
message: string;
|
|
9737
|
-
summary?: string;
|
|
9738
|
-
}>;
|
|
9739
|
-
};
|
|
9740
9823
|
/**
|
|
9741
9824
|
* Response for status 422
|
|
9742
9825
|
*/
|
|
@@ -9770,8 +9853,8 @@ export type PostApiWorkItemsErrors = {
|
|
|
9770
9853
|
}>;
|
|
9771
9854
|
};
|
|
9772
9855
|
};
|
|
9773
|
-
export type
|
|
9774
|
-
export type
|
|
9856
|
+
export type PatchApiWorkItemsByWorkItemIdError = PatchApiWorkItemsByWorkItemIdErrors[keyof PatchApiWorkItemsByWorkItemIdErrors];
|
|
9857
|
+
export type PatchApiWorkItemsByWorkItemIdResponses = {
|
|
9775
9858
|
/**
|
|
9776
9859
|
* Response for status 200
|
|
9777
9860
|
*/
|
|
@@ -9787,47 +9870,24 @@ export type PostApiWorkItemsResponses = {
|
|
|
9787
9870
|
sourceCreatedAt: string | unknown;
|
|
9788
9871
|
sourceUpdatedAt: string | unknown;
|
|
9789
9872
|
fields: unknown;
|
|
9873
|
+
createdByUserId: string | unknown;
|
|
9790
9874
|
createdByUsername: string | unknown;
|
|
9791
9875
|
createdByImage: string | unknown;
|
|
9876
|
+
parentWorkItemId: string | unknown;
|
|
9792
9877
|
createdAt: string;
|
|
9793
9878
|
updatedAt: string;
|
|
9794
9879
|
};
|
|
9795
9880
|
};
|
|
9796
|
-
export type
|
|
9797
|
-
export type
|
|
9798
|
-
body
|
|
9799
|
-
|
|
9800
|
-
|
|
9801
|
-
platformId?: string | unknown;
|
|
9802
|
-
platformKey: string;
|
|
9803
|
-
url?: string | unknown;
|
|
9804
|
-
title: string;
|
|
9805
|
-
description: string;
|
|
9806
|
-
sourceCreatedAt: string | unknown;
|
|
9807
|
-
sourceUpdatedAt: string | unknown;
|
|
9808
|
-
fields: unknown;
|
|
9881
|
+
export type PatchApiWorkItemsByWorkItemIdResponse = PatchApiWorkItemsByWorkItemIdResponses[keyof PatchApiWorkItemsByWorkItemIdResponses];
|
|
9882
|
+
export type GetApiWorkItemsByWorkItemIdChildrenData = {
|
|
9883
|
+
body?: never;
|
|
9884
|
+
path: {
|
|
9885
|
+
workItemId: string;
|
|
9809
9886
|
};
|
|
9810
|
-
path?: never;
|
|
9811
9887
|
query?: never;
|
|
9812
|
-
url: '/api/work-items';
|
|
9888
|
+
url: '/api/work-items/{workItemId}/children';
|
|
9813
9889
|
};
|
|
9814
|
-
export type
|
|
9815
|
-
/**
|
|
9816
|
-
* Response for status 400
|
|
9817
|
-
*/
|
|
9818
|
-
400: {
|
|
9819
|
-
type: string;
|
|
9820
|
-
title: string;
|
|
9821
|
-
status: number;
|
|
9822
|
-
detail?: string;
|
|
9823
|
-
instance?: string;
|
|
9824
|
-
code?: string;
|
|
9825
|
-
errors?: Array<{
|
|
9826
|
-
path: string;
|
|
9827
|
-
message: string;
|
|
9828
|
-
summary?: string;
|
|
9829
|
-
}>;
|
|
9830
|
-
};
|
|
9890
|
+
export type GetApiWorkItemsByWorkItemIdChildrenErrors = {
|
|
9831
9891
|
/**
|
|
9832
9892
|
* Response for status 401
|
|
9833
9893
|
*/
|
|
@@ -9909,12 +9969,12 @@ export type PutApiWorkItemsErrors = {
|
|
|
9909
9969
|
}>;
|
|
9910
9970
|
};
|
|
9911
9971
|
};
|
|
9912
|
-
export type
|
|
9913
|
-
export type
|
|
9972
|
+
export type GetApiWorkItemsByWorkItemIdChildrenError = GetApiWorkItemsByWorkItemIdChildrenErrors[keyof GetApiWorkItemsByWorkItemIdChildrenErrors];
|
|
9973
|
+
export type GetApiWorkItemsByWorkItemIdChildrenResponses = {
|
|
9914
9974
|
/**
|
|
9915
9975
|
* Response for status 200
|
|
9916
9976
|
*/
|
|
9917
|
-
200: {
|
|
9977
|
+
200: Array<{
|
|
9918
9978
|
id: string;
|
|
9919
9979
|
projectId: string;
|
|
9920
9980
|
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
@@ -9926,22 +9986,49 @@ export type PutApiWorkItemsResponses = {
|
|
|
9926
9986
|
sourceCreatedAt: string | unknown;
|
|
9927
9987
|
sourceUpdatedAt: string | unknown;
|
|
9928
9988
|
fields: unknown;
|
|
9989
|
+
createdByUserId: string | unknown;
|
|
9929
9990
|
createdByUsername: string | unknown;
|
|
9930
9991
|
createdByImage: string | unknown;
|
|
9992
|
+
parentWorkItemId: string | unknown;
|
|
9931
9993
|
createdAt: string;
|
|
9932
9994
|
updatedAt: string;
|
|
9933
|
-
}
|
|
9995
|
+
}>;
|
|
9934
9996
|
};
|
|
9935
|
-
export type
|
|
9936
|
-
export type
|
|
9997
|
+
export type GetApiWorkItemsByWorkItemIdChildrenResponse = GetApiWorkItemsByWorkItemIdChildrenResponses[keyof GetApiWorkItemsByWorkItemIdChildrenResponses];
|
|
9998
|
+
export type PostApiWorkItemsData = {
|
|
9937
9999
|
body: {
|
|
9938
|
-
|
|
10000
|
+
projectId: string;
|
|
10001
|
+
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
10002
|
+
platformId?: string | unknown;
|
|
10003
|
+
platformKey: string;
|
|
10004
|
+
url?: string | unknown;
|
|
10005
|
+
title: string;
|
|
10006
|
+
description: string;
|
|
10007
|
+
sourceCreatedAt: string | unknown;
|
|
10008
|
+
sourceUpdatedAt: string | unknown;
|
|
10009
|
+
fields: unknown;
|
|
9939
10010
|
};
|
|
9940
10011
|
path?: never;
|
|
9941
10012
|
query?: never;
|
|
9942
|
-
url: '/api/work-items
|
|
10013
|
+
url: '/api/work-items';
|
|
9943
10014
|
};
|
|
9944
|
-
export type
|
|
10015
|
+
export type PostApiWorkItemsErrors = {
|
|
10016
|
+
/**
|
|
10017
|
+
* Response for status 400
|
|
10018
|
+
*/
|
|
10019
|
+
400: {
|
|
10020
|
+
type: string;
|
|
10021
|
+
title: string;
|
|
10022
|
+
status: number;
|
|
10023
|
+
detail?: string;
|
|
10024
|
+
instance?: string;
|
|
10025
|
+
code?: string;
|
|
10026
|
+
errors?: Array<{
|
|
10027
|
+
path: string;
|
|
10028
|
+
message: string;
|
|
10029
|
+
summary?: string;
|
|
10030
|
+
}>;
|
|
10031
|
+
};
|
|
9945
10032
|
/**
|
|
9946
10033
|
* Response for status 401
|
|
9947
10034
|
*/
|
|
@@ -9990,6 +10077,22 @@ export type DeleteApiWorkItemsBatchErrors = {
|
|
|
9990
10077
|
summary?: string;
|
|
9991
10078
|
}>;
|
|
9992
10079
|
};
|
|
10080
|
+
/**
|
|
10081
|
+
* Response for status 409
|
|
10082
|
+
*/
|
|
10083
|
+
409: {
|
|
10084
|
+
type: string;
|
|
10085
|
+
title: string;
|
|
10086
|
+
status: number;
|
|
10087
|
+
detail?: string;
|
|
10088
|
+
instance?: string;
|
|
10089
|
+
code?: string;
|
|
10090
|
+
errors?: Array<{
|
|
10091
|
+
path: string;
|
|
10092
|
+
message: string;
|
|
10093
|
+
summary?: string;
|
|
10094
|
+
}>;
|
|
10095
|
+
};
|
|
9993
10096
|
/**
|
|
9994
10097
|
* Response for status 422
|
|
9995
10098
|
*/
|
|
@@ -10023,16 +10126,34 @@ export type DeleteApiWorkItemsBatchErrors = {
|
|
|
10023
10126
|
}>;
|
|
10024
10127
|
};
|
|
10025
10128
|
};
|
|
10026
|
-
export type
|
|
10027
|
-
export type
|
|
10129
|
+
export type PostApiWorkItemsError = PostApiWorkItemsErrors[keyof PostApiWorkItemsErrors];
|
|
10130
|
+
export type PostApiWorkItemsResponses = {
|
|
10028
10131
|
/**
|
|
10029
10132
|
* Response for status 200
|
|
10030
10133
|
*/
|
|
10031
|
-
200:
|
|
10134
|
+
200: {
|
|
10135
|
+
id: string;
|
|
10136
|
+
projectId: string;
|
|
10137
|
+
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
10138
|
+
platformId?: string | unknown;
|
|
10139
|
+
platformKey: string;
|
|
10140
|
+
url?: string | unknown;
|
|
10141
|
+
title: string;
|
|
10142
|
+
description: string;
|
|
10143
|
+
sourceCreatedAt: string | unknown;
|
|
10144
|
+
sourceUpdatedAt: string | unknown;
|
|
10145
|
+
fields: unknown;
|
|
10146
|
+
createdByUserId: string | unknown;
|
|
10147
|
+
createdByUsername: string | unknown;
|
|
10148
|
+
createdByImage: string | unknown;
|
|
10149
|
+
parentWorkItemId: string | unknown;
|
|
10150
|
+
createdAt: string;
|
|
10151
|
+
updatedAt: string;
|
|
10152
|
+
};
|
|
10032
10153
|
};
|
|
10033
|
-
export type
|
|
10034
|
-
export type
|
|
10035
|
-
body:
|
|
10154
|
+
export type PostApiWorkItemsResponse = PostApiWorkItemsResponses[keyof PostApiWorkItemsResponses];
|
|
10155
|
+
export type PutApiWorkItemsData = {
|
|
10156
|
+
body: {
|
|
10036
10157
|
projectId: string;
|
|
10037
10158
|
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
10038
10159
|
platformId?: string | unknown;
|
|
@@ -10043,12 +10164,251 @@ export type PostApiWorkItemsBatchData = {
|
|
|
10043
10164
|
sourceCreatedAt: string | unknown;
|
|
10044
10165
|
sourceUpdatedAt: string | unknown;
|
|
10045
10166
|
fields: unknown;
|
|
10046
|
-
}
|
|
10167
|
+
};
|
|
10047
10168
|
path?: never;
|
|
10048
10169
|
query?: never;
|
|
10049
|
-
url: '/api/work-items
|
|
10170
|
+
url: '/api/work-items';
|
|
10050
10171
|
};
|
|
10051
|
-
export type
|
|
10172
|
+
export type PutApiWorkItemsErrors = {
|
|
10173
|
+
/**
|
|
10174
|
+
* Response for status 400
|
|
10175
|
+
*/
|
|
10176
|
+
400: {
|
|
10177
|
+
type: string;
|
|
10178
|
+
title: string;
|
|
10179
|
+
status: number;
|
|
10180
|
+
detail?: string;
|
|
10181
|
+
instance?: string;
|
|
10182
|
+
code?: string;
|
|
10183
|
+
errors?: Array<{
|
|
10184
|
+
path: string;
|
|
10185
|
+
message: string;
|
|
10186
|
+
summary?: string;
|
|
10187
|
+
}>;
|
|
10188
|
+
};
|
|
10189
|
+
/**
|
|
10190
|
+
* Response for status 401
|
|
10191
|
+
*/
|
|
10192
|
+
401: {
|
|
10193
|
+
type: string;
|
|
10194
|
+
title: string;
|
|
10195
|
+
status: number;
|
|
10196
|
+
detail?: string;
|
|
10197
|
+
instance?: string;
|
|
10198
|
+
code?: string;
|
|
10199
|
+
errors?: Array<{
|
|
10200
|
+
path: string;
|
|
10201
|
+
message: string;
|
|
10202
|
+
summary?: string;
|
|
10203
|
+
}>;
|
|
10204
|
+
};
|
|
10205
|
+
/**
|
|
10206
|
+
* Response for status 403
|
|
10207
|
+
*/
|
|
10208
|
+
403: {
|
|
10209
|
+
type: string;
|
|
10210
|
+
title: string;
|
|
10211
|
+
status: number;
|
|
10212
|
+
detail?: string;
|
|
10213
|
+
instance?: string;
|
|
10214
|
+
code?: string;
|
|
10215
|
+
errors?: Array<{
|
|
10216
|
+
path: string;
|
|
10217
|
+
message: string;
|
|
10218
|
+
summary?: string;
|
|
10219
|
+
}>;
|
|
10220
|
+
};
|
|
10221
|
+
/**
|
|
10222
|
+
* Response for status 404
|
|
10223
|
+
*/
|
|
10224
|
+
404: {
|
|
10225
|
+
type: string;
|
|
10226
|
+
title: string;
|
|
10227
|
+
status: number;
|
|
10228
|
+
detail?: string;
|
|
10229
|
+
instance?: string;
|
|
10230
|
+
code?: string;
|
|
10231
|
+
errors?: Array<{
|
|
10232
|
+
path: string;
|
|
10233
|
+
message: string;
|
|
10234
|
+
summary?: string;
|
|
10235
|
+
}>;
|
|
10236
|
+
};
|
|
10237
|
+
/**
|
|
10238
|
+
* Response for status 422
|
|
10239
|
+
*/
|
|
10240
|
+
422: {
|
|
10241
|
+
type: string;
|
|
10242
|
+
title: string;
|
|
10243
|
+
status: number;
|
|
10244
|
+
detail?: string;
|
|
10245
|
+
instance?: string;
|
|
10246
|
+
code?: string;
|
|
10247
|
+
errors?: Array<{
|
|
10248
|
+
path: string;
|
|
10249
|
+
message: string;
|
|
10250
|
+
summary?: string;
|
|
10251
|
+
}>;
|
|
10252
|
+
};
|
|
10253
|
+
/**
|
|
10254
|
+
* Response for status 500
|
|
10255
|
+
*/
|
|
10256
|
+
500: {
|
|
10257
|
+
type: string;
|
|
10258
|
+
title: string;
|
|
10259
|
+
status: number;
|
|
10260
|
+
detail?: string;
|
|
10261
|
+
instance?: string;
|
|
10262
|
+
code?: string;
|
|
10263
|
+
errors?: Array<{
|
|
10264
|
+
path: string;
|
|
10265
|
+
message: string;
|
|
10266
|
+
summary?: string;
|
|
10267
|
+
}>;
|
|
10268
|
+
};
|
|
10269
|
+
};
|
|
10270
|
+
export type PutApiWorkItemsError = PutApiWorkItemsErrors[keyof PutApiWorkItemsErrors];
|
|
10271
|
+
export type PutApiWorkItemsResponses = {
|
|
10272
|
+
/**
|
|
10273
|
+
* Response for status 200
|
|
10274
|
+
*/
|
|
10275
|
+
200: {
|
|
10276
|
+
id: string;
|
|
10277
|
+
projectId: string;
|
|
10278
|
+
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
10279
|
+
platformId?: string | unknown;
|
|
10280
|
+
platformKey: string;
|
|
10281
|
+
url?: string | unknown;
|
|
10282
|
+
title: string;
|
|
10283
|
+
description: string;
|
|
10284
|
+
sourceCreatedAt: string | unknown;
|
|
10285
|
+
sourceUpdatedAt: string | unknown;
|
|
10286
|
+
fields: unknown;
|
|
10287
|
+
createdByUserId: string | unknown;
|
|
10288
|
+
createdByUsername: string | unknown;
|
|
10289
|
+
createdByImage: string | unknown;
|
|
10290
|
+
parentWorkItemId: string | unknown;
|
|
10291
|
+
createdAt: string;
|
|
10292
|
+
updatedAt: string;
|
|
10293
|
+
};
|
|
10294
|
+
};
|
|
10295
|
+
export type PutApiWorkItemsResponse = PutApiWorkItemsResponses[keyof PutApiWorkItemsResponses];
|
|
10296
|
+
export type DeleteApiWorkItemsBatchData = {
|
|
10297
|
+
body: {
|
|
10298
|
+
input: Array<string>;
|
|
10299
|
+
};
|
|
10300
|
+
path?: never;
|
|
10301
|
+
query?: never;
|
|
10302
|
+
url: '/api/work-items/batch';
|
|
10303
|
+
};
|
|
10304
|
+
export type DeleteApiWorkItemsBatchErrors = {
|
|
10305
|
+
/**
|
|
10306
|
+
* Response for status 401
|
|
10307
|
+
*/
|
|
10308
|
+
401: {
|
|
10309
|
+
type: string;
|
|
10310
|
+
title: string;
|
|
10311
|
+
status: number;
|
|
10312
|
+
detail?: string;
|
|
10313
|
+
instance?: string;
|
|
10314
|
+
code?: string;
|
|
10315
|
+
errors?: Array<{
|
|
10316
|
+
path: string;
|
|
10317
|
+
message: string;
|
|
10318
|
+
summary?: string;
|
|
10319
|
+
}>;
|
|
10320
|
+
};
|
|
10321
|
+
/**
|
|
10322
|
+
* Response for status 403
|
|
10323
|
+
*/
|
|
10324
|
+
403: {
|
|
10325
|
+
type: string;
|
|
10326
|
+
title: string;
|
|
10327
|
+
status: number;
|
|
10328
|
+
detail?: string;
|
|
10329
|
+
instance?: string;
|
|
10330
|
+
code?: string;
|
|
10331
|
+
errors?: Array<{
|
|
10332
|
+
path: string;
|
|
10333
|
+
message: string;
|
|
10334
|
+
summary?: string;
|
|
10335
|
+
}>;
|
|
10336
|
+
};
|
|
10337
|
+
/**
|
|
10338
|
+
* Response for status 404
|
|
10339
|
+
*/
|
|
10340
|
+
404: {
|
|
10341
|
+
type: string;
|
|
10342
|
+
title: string;
|
|
10343
|
+
status: number;
|
|
10344
|
+
detail?: string;
|
|
10345
|
+
instance?: string;
|
|
10346
|
+
code?: string;
|
|
10347
|
+
errors?: Array<{
|
|
10348
|
+
path: string;
|
|
10349
|
+
message: string;
|
|
10350
|
+
summary?: string;
|
|
10351
|
+
}>;
|
|
10352
|
+
};
|
|
10353
|
+
/**
|
|
10354
|
+
* Response for status 422
|
|
10355
|
+
*/
|
|
10356
|
+
422: {
|
|
10357
|
+
type: string;
|
|
10358
|
+
title: string;
|
|
10359
|
+
status: number;
|
|
10360
|
+
detail?: string;
|
|
10361
|
+
instance?: string;
|
|
10362
|
+
code?: string;
|
|
10363
|
+
errors?: Array<{
|
|
10364
|
+
path: string;
|
|
10365
|
+
message: string;
|
|
10366
|
+
summary?: string;
|
|
10367
|
+
}>;
|
|
10368
|
+
};
|
|
10369
|
+
/**
|
|
10370
|
+
* Response for status 500
|
|
10371
|
+
*/
|
|
10372
|
+
500: {
|
|
10373
|
+
type: string;
|
|
10374
|
+
title: string;
|
|
10375
|
+
status: number;
|
|
10376
|
+
detail?: string;
|
|
10377
|
+
instance?: string;
|
|
10378
|
+
code?: string;
|
|
10379
|
+
errors?: Array<{
|
|
10380
|
+
path: string;
|
|
10381
|
+
message: string;
|
|
10382
|
+
summary?: string;
|
|
10383
|
+
}>;
|
|
10384
|
+
};
|
|
10385
|
+
};
|
|
10386
|
+
export type DeleteApiWorkItemsBatchError = DeleteApiWorkItemsBatchErrors[keyof DeleteApiWorkItemsBatchErrors];
|
|
10387
|
+
export type DeleteApiWorkItemsBatchResponses = {
|
|
10388
|
+
/**
|
|
10389
|
+
* Response for status 200
|
|
10390
|
+
*/
|
|
10391
|
+
200: number;
|
|
10392
|
+
};
|
|
10393
|
+
export type DeleteApiWorkItemsBatchResponse = DeleteApiWorkItemsBatchResponses[keyof DeleteApiWorkItemsBatchResponses];
|
|
10394
|
+
export type PostApiWorkItemsBatchData = {
|
|
10395
|
+
body: Array<{
|
|
10396
|
+
projectId: string;
|
|
10397
|
+
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
10398
|
+
platformId?: string | unknown;
|
|
10399
|
+
platformKey: string;
|
|
10400
|
+
url?: string | unknown;
|
|
10401
|
+
title: string;
|
|
10402
|
+
description: string;
|
|
10403
|
+
sourceCreatedAt: string | unknown;
|
|
10404
|
+
sourceUpdatedAt: string | unknown;
|
|
10405
|
+
fields: unknown;
|
|
10406
|
+
}>;
|
|
10407
|
+
path?: never;
|
|
10408
|
+
query?: never;
|
|
10409
|
+
url: '/api/work-items/batch';
|
|
10410
|
+
};
|
|
10411
|
+
export type PostApiWorkItemsBatchErrors = {
|
|
10052
10412
|
/**
|
|
10053
10413
|
* Response for status 400
|
|
10054
10414
|
*/
|
|
@@ -10116,7 +10476,540 @@ export type PostApiWorkItemsBatchErrors = {
|
|
|
10116
10476
|
/**
|
|
10117
10477
|
* Response for status 409
|
|
10118
10478
|
*/
|
|
10119
|
-
409: {
|
|
10479
|
+
409: {
|
|
10480
|
+
type: string;
|
|
10481
|
+
title: string;
|
|
10482
|
+
status: number;
|
|
10483
|
+
detail?: string;
|
|
10484
|
+
instance?: string;
|
|
10485
|
+
code?: string;
|
|
10486
|
+
errors?: Array<{
|
|
10487
|
+
path: string;
|
|
10488
|
+
message: string;
|
|
10489
|
+
summary?: string;
|
|
10490
|
+
}>;
|
|
10491
|
+
};
|
|
10492
|
+
/**
|
|
10493
|
+
* Response for status 422
|
|
10494
|
+
*/
|
|
10495
|
+
422: {
|
|
10496
|
+
type: string;
|
|
10497
|
+
title: string;
|
|
10498
|
+
status: number;
|
|
10499
|
+
detail?: string;
|
|
10500
|
+
instance?: string;
|
|
10501
|
+
code?: string;
|
|
10502
|
+
errors?: Array<{
|
|
10503
|
+
path: string;
|
|
10504
|
+
message: string;
|
|
10505
|
+
summary?: string;
|
|
10506
|
+
}>;
|
|
10507
|
+
};
|
|
10508
|
+
/**
|
|
10509
|
+
* Response for status 500
|
|
10510
|
+
*/
|
|
10511
|
+
500: {
|
|
10512
|
+
type: string;
|
|
10513
|
+
title: string;
|
|
10514
|
+
status: number;
|
|
10515
|
+
detail?: string;
|
|
10516
|
+
instance?: string;
|
|
10517
|
+
code?: string;
|
|
10518
|
+
errors?: Array<{
|
|
10519
|
+
path: string;
|
|
10520
|
+
message: string;
|
|
10521
|
+
summary?: string;
|
|
10522
|
+
}>;
|
|
10523
|
+
};
|
|
10524
|
+
};
|
|
10525
|
+
export type PostApiWorkItemsBatchError = PostApiWorkItemsBatchErrors[keyof PostApiWorkItemsBatchErrors];
|
|
10526
|
+
export type PostApiWorkItemsBatchResponses = {
|
|
10527
|
+
/**
|
|
10528
|
+
* Response for status 200
|
|
10529
|
+
*/
|
|
10530
|
+
200: Array<{
|
|
10531
|
+
id: string;
|
|
10532
|
+
projectId: string;
|
|
10533
|
+
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
10534
|
+
platformId?: string | unknown;
|
|
10535
|
+
platformKey: string;
|
|
10536
|
+
url?: string | unknown;
|
|
10537
|
+
title: string;
|
|
10538
|
+
description: string;
|
|
10539
|
+
sourceCreatedAt: string | unknown;
|
|
10540
|
+
sourceUpdatedAt: string | unknown;
|
|
10541
|
+
fields: unknown;
|
|
10542
|
+
createdByUserId: string | unknown;
|
|
10543
|
+
createdByUsername: string | unknown;
|
|
10544
|
+
createdByImage: string | unknown;
|
|
10545
|
+
parentWorkItemId: string | unknown;
|
|
10546
|
+
createdAt: string;
|
|
10547
|
+
updatedAt: string;
|
|
10548
|
+
}>;
|
|
10549
|
+
};
|
|
10550
|
+
export type PostApiWorkItemsBatchResponse = PostApiWorkItemsBatchResponses[keyof PostApiWorkItemsBatchResponses];
|
|
10551
|
+
export type PutApiWorkItemsBatchData = {
|
|
10552
|
+
body: Array<{
|
|
10553
|
+
projectId: string;
|
|
10554
|
+
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
10555
|
+
platformId?: string | unknown;
|
|
10556
|
+
platformKey: string;
|
|
10557
|
+
url?: string | unknown;
|
|
10558
|
+
title: string;
|
|
10559
|
+
description: string;
|
|
10560
|
+
sourceCreatedAt: string | unknown;
|
|
10561
|
+
sourceUpdatedAt: string | unknown;
|
|
10562
|
+
fields: unknown;
|
|
10563
|
+
}>;
|
|
10564
|
+
path?: never;
|
|
10565
|
+
query?: never;
|
|
10566
|
+
url: '/api/work-items/batch';
|
|
10567
|
+
};
|
|
10568
|
+
export type PutApiWorkItemsBatchErrors = {
|
|
10569
|
+
/**
|
|
10570
|
+
* Response for status 400
|
|
10571
|
+
*/
|
|
10572
|
+
400: {
|
|
10573
|
+
type: string;
|
|
10574
|
+
title: string;
|
|
10575
|
+
status: number;
|
|
10576
|
+
detail?: string;
|
|
10577
|
+
instance?: string;
|
|
10578
|
+
code?: string;
|
|
10579
|
+
errors?: Array<{
|
|
10580
|
+
path: string;
|
|
10581
|
+
message: string;
|
|
10582
|
+
summary?: string;
|
|
10583
|
+
}>;
|
|
10584
|
+
};
|
|
10585
|
+
/**
|
|
10586
|
+
* Response for status 401
|
|
10587
|
+
*/
|
|
10588
|
+
401: {
|
|
10589
|
+
type: string;
|
|
10590
|
+
title: string;
|
|
10591
|
+
status: number;
|
|
10592
|
+
detail?: string;
|
|
10593
|
+
instance?: string;
|
|
10594
|
+
code?: string;
|
|
10595
|
+
errors?: Array<{
|
|
10596
|
+
path: string;
|
|
10597
|
+
message: string;
|
|
10598
|
+
summary?: string;
|
|
10599
|
+
}>;
|
|
10600
|
+
};
|
|
10601
|
+
/**
|
|
10602
|
+
* Response for status 403
|
|
10603
|
+
*/
|
|
10604
|
+
403: {
|
|
10605
|
+
type: string;
|
|
10606
|
+
title: string;
|
|
10607
|
+
status: number;
|
|
10608
|
+
detail?: string;
|
|
10609
|
+
instance?: string;
|
|
10610
|
+
code?: string;
|
|
10611
|
+
errors?: Array<{
|
|
10612
|
+
path: string;
|
|
10613
|
+
message: string;
|
|
10614
|
+
summary?: string;
|
|
10615
|
+
}>;
|
|
10616
|
+
};
|
|
10617
|
+
/**
|
|
10618
|
+
* Response for status 404
|
|
10619
|
+
*/
|
|
10620
|
+
404: {
|
|
10621
|
+
type: string;
|
|
10622
|
+
title: string;
|
|
10623
|
+
status: number;
|
|
10624
|
+
detail?: string;
|
|
10625
|
+
instance?: string;
|
|
10626
|
+
code?: string;
|
|
10627
|
+
errors?: Array<{
|
|
10628
|
+
path: string;
|
|
10629
|
+
message: string;
|
|
10630
|
+
summary?: string;
|
|
10631
|
+
}>;
|
|
10632
|
+
};
|
|
10633
|
+
/**
|
|
10634
|
+
* Response for status 422
|
|
10635
|
+
*/
|
|
10636
|
+
422: {
|
|
10637
|
+
type: string;
|
|
10638
|
+
title: string;
|
|
10639
|
+
status: number;
|
|
10640
|
+
detail?: string;
|
|
10641
|
+
instance?: string;
|
|
10642
|
+
code?: string;
|
|
10643
|
+
errors?: Array<{
|
|
10644
|
+
path: string;
|
|
10645
|
+
message: string;
|
|
10646
|
+
summary?: string;
|
|
10647
|
+
}>;
|
|
10648
|
+
};
|
|
10649
|
+
/**
|
|
10650
|
+
* Response for status 500
|
|
10651
|
+
*/
|
|
10652
|
+
500: {
|
|
10653
|
+
type: string;
|
|
10654
|
+
title: string;
|
|
10655
|
+
status: number;
|
|
10656
|
+
detail?: string;
|
|
10657
|
+
instance?: string;
|
|
10658
|
+
code?: string;
|
|
10659
|
+
errors?: Array<{
|
|
10660
|
+
path: string;
|
|
10661
|
+
message: string;
|
|
10662
|
+
summary?: string;
|
|
10663
|
+
}>;
|
|
10664
|
+
};
|
|
10665
|
+
};
|
|
10666
|
+
export type PutApiWorkItemsBatchError = PutApiWorkItemsBatchErrors[keyof PutApiWorkItemsBatchErrors];
|
|
10667
|
+
export type PutApiWorkItemsBatchResponses = {
|
|
10668
|
+
/**
|
|
10669
|
+
* Response for status 200
|
|
10670
|
+
*/
|
|
10671
|
+
200: Array<{
|
|
10672
|
+
id: string;
|
|
10673
|
+
projectId: string;
|
|
10674
|
+
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
10675
|
+
platformId?: string | unknown;
|
|
10676
|
+
platformKey: string;
|
|
10677
|
+
url?: string | unknown;
|
|
10678
|
+
title: string;
|
|
10679
|
+
description: string;
|
|
10680
|
+
sourceCreatedAt: string | unknown;
|
|
10681
|
+
sourceUpdatedAt: string | unknown;
|
|
10682
|
+
fields: unknown;
|
|
10683
|
+
createdByUserId: string | unknown;
|
|
10684
|
+
createdByUsername: string | unknown;
|
|
10685
|
+
createdByImage: string | unknown;
|
|
10686
|
+
parentWorkItemId: string | unknown;
|
|
10687
|
+
createdAt: string;
|
|
10688
|
+
updatedAt: string;
|
|
10689
|
+
}>;
|
|
10690
|
+
};
|
|
10691
|
+
export type PutApiWorkItemsBatchResponse = PutApiWorkItemsBatchResponses[keyof PutApiWorkItemsBatchResponses];
|
|
10692
|
+
export type PatchApiWorkItemsByWorkItemIdParentData = {
|
|
10693
|
+
body: {
|
|
10694
|
+
parentWorkItemId: string | unknown;
|
|
10695
|
+
};
|
|
10696
|
+
path: {
|
|
10697
|
+
workItemId: string;
|
|
10698
|
+
};
|
|
10699
|
+
query?: never;
|
|
10700
|
+
url: '/api/work-items/{workItemId}/parent';
|
|
10701
|
+
};
|
|
10702
|
+
export type PatchApiWorkItemsByWorkItemIdParentErrors = {
|
|
10703
|
+
/**
|
|
10704
|
+
* Response for status 400
|
|
10705
|
+
*/
|
|
10706
|
+
400: {
|
|
10707
|
+
type: string;
|
|
10708
|
+
title: string;
|
|
10709
|
+
status: number;
|
|
10710
|
+
detail?: string;
|
|
10711
|
+
instance?: string;
|
|
10712
|
+
code?: string;
|
|
10713
|
+
errors?: Array<{
|
|
10714
|
+
path: string;
|
|
10715
|
+
message: string;
|
|
10716
|
+
summary?: string;
|
|
10717
|
+
}>;
|
|
10718
|
+
};
|
|
10719
|
+
/**
|
|
10720
|
+
* Response for status 401
|
|
10721
|
+
*/
|
|
10722
|
+
401: {
|
|
10723
|
+
type: string;
|
|
10724
|
+
title: string;
|
|
10725
|
+
status: number;
|
|
10726
|
+
detail?: string;
|
|
10727
|
+
instance?: string;
|
|
10728
|
+
code?: string;
|
|
10729
|
+
errors?: Array<{
|
|
10730
|
+
path: string;
|
|
10731
|
+
message: string;
|
|
10732
|
+
summary?: string;
|
|
10733
|
+
}>;
|
|
10734
|
+
};
|
|
10735
|
+
/**
|
|
10736
|
+
* Response for status 403
|
|
10737
|
+
*/
|
|
10738
|
+
403: {
|
|
10739
|
+
type: string;
|
|
10740
|
+
title: string;
|
|
10741
|
+
status: number;
|
|
10742
|
+
detail?: string;
|
|
10743
|
+
instance?: string;
|
|
10744
|
+
code?: string;
|
|
10745
|
+
errors?: Array<{
|
|
10746
|
+
path: string;
|
|
10747
|
+
message: string;
|
|
10748
|
+
summary?: string;
|
|
10749
|
+
}>;
|
|
10750
|
+
};
|
|
10751
|
+
/**
|
|
10752
|
+
* Response for status 404
|
|
10753
|
+
*/
|
|
10754
|
+
404: {
|
|
10755
|
+
type: string;
|
|
10756
|
+
title: string;
|
|
10757
|
+
status: number;
|
|
10758
|
+
detail?: string;
|
|
10759
|
+
instance?: string;
|
|
10760
|
+
code?: string;
|
|
10761
|
+
errors?: Array<{
|
|
10762
|
+
path: string;
|
|
10763
|
+
message: string;
|
|
10764
|
+
summary?: string;
|
|
10765
|
+
}>;
|
|
10766
|
+
};
|
|
10767
|
+
/**
|
|
10768
|
+
* Response for status 422
|
|
10769
|
+
*/
|
|
10770
|
+
422: {
|
|
10771
|
+
type: string;
|
|
10772
|
+
title: string;
|
|
10773
|
+
status: number;
|
|
10774
|
+
detail?: string;
|
|
10775
|
+
instance?: string;
|
|
10776
|
+
code?: string;
|
|
10777
|
+
errors?: Array<{
|
|
10778
|
+
path: string;
|
|
10779
|
+
message: string;
|
|
10780
|
+
summary?: string;
|
|
10781
|
+
}>;
|
|
10782
|
+
};
|
|
10783
|
+
/**
|
|
10784
|
+
* Response for status 500
|
|
10785
|
+
*/
|
|
10786
|
+
500: {
|
|
10787
|
+
type: string;
|
|
10788
|
+
title: string;
|
|
10789
|
+
status: number;
|
|
10790
|
+
detail?: string;
|
|
10791
|
+
instance?: string;
|
|
10792
|
+
code?: string;
|
|
10793
|
+
errors?: Array<{
|
|
10794
|
+
path: string;
|
|
10795
|
+
message: string;
|
|
10796
|
+
summary?: string;
|
|
10797
|
+
}>;
|
|
10798
|
+
};
|
|
10799
|
+
};
|
|
10800
|
+
export type PatchApiWorkItemsByWorkItemIdParentError = PatchApiWorkItemsByWorkItemIdParentErrors[keyof PatchApiWorkItemsByWorkItemIdParentErrors];
|
|
10801
|
+
export type PatchApiWorkItemsByWorkItemIdParentResponses = {
|
|
10802
|
+
/**
|
|
10803
|
+
* Response for status 200
|
|
10804
|
+
*/
|
|
10805
|
+
200: {
|
|
10806
|
+
id: string;
|
|
10807
|
+
projectId: string;
|
|
10808
|
+
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
10809
|
+
platformId?: string | unknown;
|
|
10810
|
+
platformKey: string;
|
|
10811
|
+
url?: string | unknown;
|
|
10812
|
+
title: string;
|
|
10813
|
+
description: string;
|
|
10814
|
+
sourceCreatedAt: string | unknown;
|
|
10815
|
+
sourceUpdatedAt: string | unknown;
|
|
10816
|
+
fields: unknown;
|
|
10817
|
+
createdByUserId: string | unknown;
|
|
10818
|
+
createdByUsername: string | unknown;
|
|
10819
|
+
createdByImage: string | unknown;
|
|
10820
|
+
parentWorkItemId: string | unknown;
|
|
10821
|
+
createdAt: string;
|
|
10822
|
+
updatedAt: string;
|
|
10823
|
+
};
|
|
10824
|
+
};
|
|
10825
|
+
export type PatchApiWorkItemsByWorkItemIdParentResponse = PatchApiWorkItemsByWorkItemIdParentResponses[keyof PatchApiWorkItemsByWorkItemIdParentResponses];
|
|
10826
|
+
export type GetApiWorkItemCommentsData = {
|
|
10827
|
+
body?: never;
|
|
10828
|
+
path?: never;
|
|
10829
|
+
query: {
|
|
10830
|
+
workItemId: string;
|
|
10831
|
+
};
|
|
10832
|
+
url: '/api/work-item-comments';
|
|
10833
|
+
};
|
|
10834
|
+
export type GetApiWorkItemCommentsErrors = {
|
|
10835
|
+
/**
|
|
10836
|
+
* Response for status 400
|
|
10837
|
+
*/
|
|
10838
|
+
400: {
|
|
10839
|
+
type: string;
|
|
10840
|
+
title: string;
|
|
10841
|
+
status: number;
|
|
10842
|
+
detail?: string;
|
|
10843
|
+
instance?: string;
|
|
10844
|
+
code?: string;
|
|
10845
|
+
errors?: Array<{
|
|
10846
|
+
path: string;
|
|
10847
|
+
message: string;
|
|
10848
|
+
summary?: string;
|
|
10849
|
+
}>;
|
|
10850
|
+
};
|
|
10851
|
+
/**
|
|
10852
|
+
* Response for status 401
|
|
10853
|
+
*/
|
|
10854
|
+
401: {
|
|
10855
|
+
type: string;
|
|
10856
|
+
title: string;
|
|
10857
|
+
status: number;
|
|
10858
|
+
detail?: string;
|
|
10859
|
+
instance?: string;
|
|
10860
|
+
code?: string;
|
|
10861
|
+
errors?: Array<{
|
|
10862
|
+
path: string;
|
|
10863
|
+
message: string;
|
|
10864
|
+
summary?: string;
|
|
10865
|
+
}>;
|
|
10866
|
+
};
|
|
10867
|
+
/**
|
|
10868
|
+
* Response for status 403
|
|
10869
|
+
*/
|
|
10870
|
+
403: {
|
|
10871
|
+
type: string;
|
|
10872
|
+
title: string;
|
|
10873
|
+
status: number;
|
|
10874
|
+
detail?: string;
|
|
10875
|
+
instance?: string;
|
|
10876
|
+
code?: string;
|
|
10877
|
+
errors?: Array<{
|
|
10878
|
+
path: string;
|
|
10879
|
+
message: string;
|
|
10880
|
+
summary?: string;
|
|
10881
|
+
}>;
|
|
10882
|
+
};
|
|
10883
|
+
/**
|
|
10884
|
+
* Response for status 404
|
|
10885
|
+
*/
|
|
10886
|
+
404: {
|
|
10887
|
+
type: string;
|
|
10888
|
+
title: string;
|
|
10889
|
+
status: number;
|
|
10890
|
+
detail?: string;
|
|
10891
|
+
instance?: string;
|
|
10892
|
+
code?: string;
|
|
10893
|
+
errors?: Array<{
|
|
10894
|
+
path: string;
|
|
10895
|
+
message: string;
|
|
10896
|
+
summary?: string;
|
|
10897
|
+
}>;
|
|
10898
|
+
};
|
|
10899
|
+
/**
|
|
10900
|
+
* Response for status 422
|
|
10901
|
+
*/
|
|
10902
|
+
422: {
|
|
10903
|
+
type: string;
|
|
10904
|
+
title: string;
|
|
10905
|
+
status: number;
|
|
10906
|
+
detail?: string;
|
|
10907
|
+
instance?: string;
|
|
10908
|
+
code?: string;
|
|
10909
|
+
errors?: Array<{
|
|
10910
|
+
path: string;
|
|
10911
|
+
message: string;
|
|
10912
|
+
summary?: string;
|
|
10913
|
+
}>;
|
|
10914
|
+
};
|
|
10915
|
+
/**
|
|
10916
|
+
* Response for status 500
|
|
10917
|
+
*/
|
|
10918
|
+
500: {
|
|
10919
|
+
type: string;
|
|
10920
|
+
title: string;
|
|
10921
|
+
status: number;
|
|
10922
|
+
detail?: string;
|
|
10923
|
+
instance?: string;
|
|
10924
|
+
code?: string;
|
|
10925
|
+
errors?: Array<{
|
|
10926
|
+
path: string;
|
|
10927
|
+
message: string;
|
|
10928
|
+
summary?: string;
|
|
10929
|
+
}>;
|
|
10930
|
+
};
|
|
10931
|
+
};
|
|
10932
|
+
export type GetApiWorkItemCommentsError = GetApiWorkItemCommentsErrors[keyof GetApiWorkItemCommentsErrors];
|
|
10933
|
+
export type GetApiWorkItemCommentsResponses = {
|
|
10934
|
+
/**
|
|
10935
|
+
* Response for status 200
|
|
10936
|
+
*/
|
|
10937
|
+
200: Array<{
|
|
10938
|
+
id: string;
|
|
10939
|
+
projectId: string;
|
|
10940
|
+
workItemId: string;
|
|
10941
|
+
authorUserId: string;
|
|
10942
|
+
authorUsername: string | unknown;
|
|
10943
|
+
authorImage: string | unknown;
|
|
10944
|
+
body: string;
|
|
10945
|
+
isPinned: boolean;
|
|
10946
|
+
createdAt: string;
|
|
10947
|
+
updatedAt: string;
|
|
10948
|
+
}>;
|
|
10949
|
+
};
|
|
10950
|
+
export type GetApiWorkItemCommentsResponse = GetApiWorkItemCommentsResponses[keyof GetApiWorkItemCommentsResponses];
|
|
10951
|
+
export type PostApiWorkItemCommentsData = {
|
|
10952
|
+
body: {
|
|
10953
|
+
workItemId: string;
|
|
10954
|
+
body: string;
|
|
10955
|
+
};
|
|
10956
|
+
path?: never;
|
|
10957
|
+
query?: never;
|
|
10958
|
+
url: '/api/work-item-comments';
|
|
10959
|
+
};
|
|
10960
|
+
export type PostApiWorkItemCommentsErrors = {
|
|
10961
|
+
/**
|
|
10962
|
+
* Response for status 400
|
|
10963
|
+
*/
|
|
10964
|
+
400: {
|
|
10965
|
+
type: string;
|
|
10966
|
+
title: string;
|
|
10967
|
+
status: number;
|
|
10968
|
+
detail?: string;
|
|
10969
|
+
instance?: string;
|
|
10970
|
+
code?: string;
|
|
10971
|
+
errors?: Array<{
|
|
10972
|
+
path: string;
|
|
10973
|
+
message: string;
|
|
10974
|
+
summary?: string;
|
|
10975
|
+
}>;
|
|
10976
|
+
};
|
|
10977
|
+
/**
|
|
10978
|
+
* Response for status 401
|
|
10979
|
+
*/
|
|
10980
|
+
401: {
|
|
10981
|
+
type: string;
|
|
10982
|
+
title: string;
|
|
10983
|
+
status: number;
|
|
10984
|
+
detail?: string;
|
|
10985
|
+
instance?: string;
|
|
10986
|
+
code?: string;
|
|
10987
|
+
errors?: Array<{
|
|
10988
|
+
path: string;
|
|
10989
|
+
message: string;
|
|
10990
|
+
summary?: string;
|
|
10991
|
+
}>;
|
|
10992
|
+
};
|
|
10993
|
+
/**
|
|
10994
|
+
* Response for status 403
|
|
10995
|
+
*/
|
|
10996
|
+
403: {
|
|
10997
|
+
type: string;
|
|
10998
|
+
title: string;
|
|
10999
|
+
status: number;
|
|
11000
|
+
detail?: string;
|
|
11001
|
+
instance?: string;
|
|
11002
|
+
code?: string;
|
|
11003
|
+
errors?: Array<{
|
|
11004
|
+
path: string;
|
|
11005
|
+
message: string;
|
|
11006
|
+
summary?: string;
|
|
11007
|
+
}>;
|
|
11008
|
+
};
|
|
11009
|
+
/**
|
|
11010
|
+
* Response for status 404
|
|
11011
|
+
*/
|
|
11012
|
+
404: {
|
|
10120
11013
|
type: string;
|
|
10121
11014
|
title: string;
|
|
10122
11015
|
status: number;
|
|
@@ -10162,48 +11055,34 @@ export type PostApiWorkItemsBatchErrors = {
|
|
|
10162
11055
|
}>;
|
|
10163
11056
|
};
|
|
10164
11057
|
};
|
|
10165
|
-
export type
|
|
10166
|
-
export type
|
|
11058
|
+
export type PostApiWorkItemCommentsError = PostApiWorkItemCommentsErrors[keyof PostApiWorkItemCommentsErrors];
|
|
11059
|
+
export type PostApiWorkItemCommentsResponses = {
|
|
10167
11060
|
/**
|
|
10168
11061
|
* Response for status 200
|
|
10169
11062
|
*/
|
|
10170
|
-
200:
|
|
11063
|
+
200: {
|
|
10171
11064
|
id: string;
|
|
10172
11065
|
projectId: string;
|
|
10173
|
-
|
|
10174
|
-
|
|
10175
|
-
|
|
10176
|
-
|
|
10177
|
-
|
|
10178
|
-
|
|
10179
|
-
sourceCreatedAt: string | unknown;
|
|
10180
|
-
sourceUpdatedAt: string | unknown;
|
|
10181
|
-
fields: unknown;
|
|
10182
|
-
createdByUsername: string | unknown;
|
|
10183
|
-
createdByImage: string | unknown;
|
|
11066
|
+
workItemId: string;
|
|
11067
|
+
authorUserId: string;
|
|
11068
|
+
authorUsername: string | unknown;
|
|
11069
|
+
authorImage: string | unknown;
|
|
11070
|
+
body: string;
|
|
11071
|
+
isPinned: boolean;
|
|
10184
11072
|
createdAt: string;
|
|
10185
11073
|
updatedAt: string;
|
|
10186
|
-
}
|
|
11074
|
+
};
|
|
10187
11075
|
};
|
|
10188
|
-
export type
|
|
10189
|
-
export type
|
|
10190
|
-
body
|
|
10191
|
-
|
|
10192
|
-
|
|
10193
|
-
|
|
10194
|
-
platformKey: string;
|
|
10195
|
-
url?: string | unknown;
|
|
10196
|
-
title: string;
|
|
10197
|
-
description: string;
|
|
10198
|
-
sourceCreatedAt: string | unknown;
|
|
10199
|
-
sourceUpdatedAt: string | unknown;
|
|
10200
|
-
fields: unknown;
|
|
10201
|
-
}>;
|
|
10202
|
-
path?: never;
|
|
11076
|
+
export type PostApiWorkItemCommentsResponse = PostApiWorkItemCommentsResponses[keyof PostApiWorkItemCommentsResponses];
|
|
11077
|
+
export type DeleteApiWorkItemCommentsByCommentIdData = {
|
|
11078
|
+
body?: never;
|
|
11079
|
+
path: {
|
|
11080
|
+
commentId: string;
|
|
11081
|
+
};
|
|
10203
11082
|
query?: never;
|
|
10204
|
-
url: '/api/work-
|
|
11083
|
+
url: '/api/work-item-comments/{commentId}';
|
|
10205
11084
|
};
|
|
10206
|
-
export type
|
|
11085
|
+
export type DeleteApiWorkItemCommentsByCommentIdErrors = {
|
|
10207
11086
|
/**
|
|
10208
11087
|
* Response for status 400
|
|
10209
11088
|
*/
|
|
@@ -10301,39 +11180,25 @@ export type PutApiWorkItemsBatchErrors = {
|
|
|
10301
11180
|
}>;
|
|
10302
11181
|
};
|
|
10303
11182
|
};
|
|
10304
|
-
export type
|
|
10305
|
-
export type
|
|
11183
|
+
export type DeleteApiWorkItemCommentsByCommentIdError = DeleteApiWorkItemCommentsByCommentIdErrors[keyof DeleteApiWorkItemCommentsByCommentIdErrors];
|
|
11184
|
+
export type DeleteApiWorkItemCommentsByCommentIdResponses = {
|
|
10306
11185
|
/**
|
|
10307
11186
|
* Response for status 200
|
|
10308
11187
|
*/
|
|
10309
|
-
200:
|
|
10310
|
-
id: string;
|
|
10311
|
-
projectId: string;
|
|
10312
|
-
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
10313
|
-
platformId?: string | unknown;
|
|
10314
|
-
platformKey: string;
|
|
10315
|
-
url?: string | unknown;
|
|
10316
|
-
title: string;
|
|
10317
|
-
description: string;
|
|
10318
|
-
sourceCreatedAt: string | unknown;
|
|
10319
|
-
sourceUpdatedAt: string | unknown;
|
|
10320
|
-
fields: unknown;
|
|
10321
|
-
createdByUsername: string | unknown;
|
|
10322
|
-
createdByImage: string | unknown;
|
|
10323
|
-
createdAt: string;
|
|
10324
|
-
updatedAt: string;
|
|
10325
|
-
}>;
|
|
11188
|
+
200: number;
|
|
10326
11189
|
};
|
|
10327
|
-
export type
|
|
10328
|
-
export type
|
|
10329
|
-
body
|
|
10330
|
-
|
|
10331
|
-
query: {
|
|
10332
|
-
workItemId: string;
|
|
11190
|
+
export type DeleteApiWorkItemCommentsByCommentIdResponse = DeleteApiWorkItemCommentsByCommentIdResponses[keyof DeleteApiWorkItemCommentsByCommentIdResponses];
|
|
11191
|
+
export type PatchApiWorkItemCommentsByCommentIdData = {
|
|
11192
|
+
body: {
|
|
11193
|
+
body: string;
|
|
10333
11194
|
};
|
|
10334
|
-
|
|
11195
|
+
path: {
|
|
11196
|
+
commentId: string;
|
|
11197
|
+
};
|
|
11198
|
+
query?: never;
|
|
11199
|
+
url: '/api/work-item-comments/{commentId}';
|
|
10335
11200
|
};
|
|
10336
|
-
export type
|
|
11201
|
+
export type PatchApiWorkItemCommentsByCommentIdErrors = {
|
|
10337
11202
|
/**
|
|
10338
11203
|
* Response for status 400
|
|
10339
11204
|
*/
|
|
@@ -10431,12 +11296,12 @@ export type GetApiWorkItemCommentsErrors = {
|
|
|
10431
11296
|
}>;
|
|
10432
11297
|
};
|
|
10433
11298
|
};
|
|
10434
|
-
export type
|
|
10435
|
-
export type
|
|
11299
|
+
export type PatchApiWorkItemCommentsByCommentIdError = PatchApiWorkItemCommentsByCommentIdErrors[keyof PatchApiWorkItemCommentsByCommentIdErrors];
|
|
11300
|
+
export type PatchApiWorkItemCommentsByCommentIdResponses = {
|
|
10436
11301
|
/**
|
|
10437
11302
|
* Response for status 200
|
|
10438
11303
|
*/
|
|
10439
|
-
200:
|
|
11304
|
+
200: {
|
|
10440
11305
|
id: string;
|
|
10441
11306
|
projectId: string;
|
|
10442
11307
|
workItemId: string;
|
|
@@ -10447,19 +11312,20 @@ export type GetApiWorkItemCommentsResponses = {
|
|
|
10447
11312
|
isPinned: boolean;
|
|
10448
11313
|
createdAt: string;
|
|
10449
11314
|
updatedAt: string;
|
|
10450
|
-
}
|
|
11315
|
+
};
|
|
10451
11316
|
};
|
|
10452
|
-
export type
|
|
10453
|
-
export type
|
|
11317
|
+
export type PatchApiWorkItemCommentsByCommentIdResponse = PatchApiWorkItemCommentsByCommentIdResponses[keyof PatchApiWorkItemCommentsByCommentIdResponses];
|
|
11318
|
+
export type PostApiWorkItemCommentsByCommentIdPinData = {
|
|
10454
11319
|
body: {
|
|
10455
|
-
|
|
10456
|
-
|
|
11320
|
+
isPinned: boolean;
|
|
11321
|
+
};
|
|
11322
|
+
path: {
|
|
11323
|
+
commentId: string;
|
|
10457
11324
|
};
|
|
10458
|
-
path?: never;
|
|
10459
11325
|
query?: never;
|
|
10460
|
-
url: '/api/work-item-comments';
|
|
11326
|
+
url: '/api/work-item-comments/{commentId}/pin';
|
|
10461
11327
|
};
|
|
10462
|
-
export type
|
|
11328
|
+
export type PostApiWorkItemCommentsByCommentIdPinErrors = {
|
|
10463
11329
|
/**
|
|
10464
11330
|
* Response for status 400
|
|
10465
11331
|
*/
|
|
@@ -10557,8 +11423,8 @@ export type PostApiWorkItemCommentsErrors = {
|
|
|
10557
11423
|
}>;
|
|
10558
11424
|
};
|
|
10559
11425
|
};
|
|
10560
|
-
export type
|
|
10561
|
-
export type
|
|
11426
|
+
export type PostApiWorkItemCommentsByCommentIdPinError = PostApiWorkItemCommentsByCommentIdPinErrors[keyof PostApiWorkItemCommentsByCommentIdPinErrors];
|
|
11427
|
+
export type PostApiWorkItemCommentsByCommentIdPinResponses = {
|
|
10562
11428
|
/**
|
|
10563
11429
|
* Response for status 200
|
|
10564
11430
|
*/
|
|
@@ -10575,16 +11441,16 @@ export type PostApiWorkItemCommentsResponses = {
|
|
|
10575
11441
|
updatedAt: string;
|
|
10576
11442
|
};
|
|
10577
11443
|
};
|
|
10578
|
-
export type
|
|
10579
|
-
export type
|
|
11444
|
+
export type PostApiWorkItemCommentsByCommentIdPinResponse = PostApiWorkItemCommentsByCommentIdPinResponses[keyof PostApiWorkItemCommentsByCommentIdPinResponses];
|
|
11445
|
+
export type GetApiWorkItemBlocksData = {
|
|
10580
11446
|
body?: never;
|
|
10581
|
-
path
|
|
10582
|
-
|
|
11447
|
+
path?: never;
|
|
11448
|
+
query: {
|
|
11449
|
+
workItemId: string;
|
|
10583
11450
|
};
|
|
10584
|
-
|
|
10585
|
-
url: '/api/work-item-comments/{commentId}';
|
|
11451
|
+
url: '/api/work-item-blocks';
|
|
10586
11452
|
};
|
|
10587
|
-
export type
|
|
11453
|
+
export type GetApiWorkItemBlocksErrors = {
|
|
10588
11454
|
/**
|
|
10589
11455
|
* Response for status 400
|
|
10590
11456
|
*/
|
|
@@ -10682,25 +11548,41 @@ export type DeleteApiWorkItemCommentsByCommentIdErrors = {
|
|
|
10682
11548
|
}>;
|
|
10683
11549
|
};
|
|
10684
11550
|
};
|
|
10685
|
-
export type
|
|
10686
|
-
export type
|
|
11551
|
+
export type GetApiWorkItemBlocksError = GetApiWorkItemBlocksErrors[keyof GetApiWorkItemBlocksErrors];
|
|
11552
|
+
export type GetApiWorkItemBlocksResponses = {
|
|
10687
11553
|
/**
|
|
10688
11554
|
* Response for status 200
|
|
10689
11555
|
*/
|
|
10690
|
-
200:
|
|
11556
|
+
200: {
|
|
11557
|
+
blockedBy: Array<{
|
|
11558
|
+
id: string;
|
|
11559
|
+
projectId: string;
|
|
11560
|
+
blockedWorkItemId: string;
|
|
11561
|
+
blockingWorkItemId: string;
|
|
11562
|
+
createdByUserId: string | unknown;
|
|
11563
|
+
createdAt: string;
|
|
11564
|
+
}>;
|
|
11565
|
+
blocking: Array<{
|
|
11566
|
+
id: string;
|
|
11567
|
+
projectId: string;
|
|
11568
|
+
blockedWorkItemId: string;
|
|
11569
|
+
blockingWorkItemId: string;
|
|
11570
|
+
createdByUserId: string | unknown;
|
|
11571
|
+
createdAt: string;
|
|
11572
|
+
}>;
|
|
11573
|
+
};
|
|
10691
11574
|
};
|
|
10692
|
-
export type
|
|
10693
|
-
export type
|
|
11575
|
+
export type GetApiWorkItemBlocksResponse = GetApiWorkItemBlocksResponses[keyof GetApiWorkItemBlocksResponses];
|
|
11576
|
+
export type PostApiWorkItemBlocksData = {
|
|
10694
11577
|
body: {
|
|
10695
|
-
|
|
10696
|
-
|
|
10697
|
-
path: {
|
|
10698
|
-
commentId: string;
|
|
11578
|
+
blockedWorkItemId: string;
|
|
11579
|
+
blockingWorkItemId: string;
|
|
10699
11580
|
};
|
|
11581
|
+
path?: never;
|
|
10700
11582
|
query?: never;
|
|
10701
|
-
url: '/api/work-item-
|
|
11583
|
+
url: '/api/work-item-blocks';
|
|
10702
11584
|
};
|
|
10703
|
-
export type
|
|
11585
|
+
export type PostApiWorkItemBlocksErrors = {
|
|
10704
11586
|
/**
|
|
10705
11587
|
* Response for status 400
|
|
10706
11588
|
*/
|
|
@@ -10798,36 +11680,30 @@ export type PatchApiWorkItemCommentsByCommentIdErrors = {
|
|
|
10798
11680
|
}>;
|
|
10799
11681
|
};
|
|
10800
11682
|
};
|
|
10801
|
-
export type
|
|
10802
|
-
export type
|
|
11683
|
+
export type PostApiWorkItemBlocksError = PostApiWorkItemBlocksErrors[keyof PostApiWorkItemBlocksErrors];
|
|
11684
|
+
export type PostApiWorkItemBlocksResponses = {
|
|
10803
11685
|
/**
|
|
10804
11686
|
* Response for status 200
|
|
10805
11687
|
*/
|
|
10806
11688
|
200: {
|
|
10807
11689
|
id: string;
|
|
10808
11690
|
projectId: string;
|
|
10809
|
-
|
|
10810
|
-
|
|
10811
|
-
|
|
10812
|
-
authorImage: string | unknown;
|
|
10813
|
-
body: string;
|
|
10814
|
-
isPinned: boolean;
|
|
11691
|
+
blockedWorkItemId: string;
|
|
11692
|
+
blockingWorkItemId: string;
|
|
11693
|
+
createdByUserId: string | unknown;
|
|
10815
11694
|
createdAt: string;
|
|
10816
|
-
updatedAt: string;
|
|
10817
11695
|
};
|
|
10818
11696
|
};
|
|
10819
|
-
export type
|
|
10820
|
-
export type
|
|
10821
|
-
body
|
|
10822
|
-
isPinned: boolean;
|
|
10823
|
-
};
|
|
11697
|
+
export type PostApiWorkItemBlocksResponse = PostApiWorkItemBlocksResponses[keyof PostApiWorkItemBlocksResponses];
|
|
11698
|
+
export type DeleteApiWorkItemBlocksByBlockIdData = {
|
|
11699
|
+
body?: never;
|
|
10824
11700
|
path: {
|
|
10825
|
-
|
|
11701
|
+
blockId: string;
|
|
10826
11702
|
};
|
|
10827
11703
|
query?: never;
|
|
10828
|
-
url: '/api/work-item-
|
|
11704
|
+
url: '/api/work-item-blocks/{blockId}';
|
|
10829
11705
|
};
|
|
10830
|
-
export type
|
|
11706
|
+
export type DeleteApiWorkItemBlocksByBlockIdErrors = {
|
|
10831
11707
|
/**
|
|
10832
11708
|
* Response for status 400
|
|
10833
11709
|
*/
|
|
@@ -10925,25 +11801,14 @@ export type PostApiWorkItemCommentsByCommentIdPinErrors = {
|
|
|
10925
11801
|
}>;
|
|
10926
11802
|
};
|
|
10927
11803
|
};
|
|
10928
|
-
export type
|
|
10929
|
-
export type
|
|
11804
|
+
export type DeleteApiWorkItemBlocksByBlockIdError = DeleteApiWorkItemBlocksByBlockIdErrors[keyof DeleteApiWorkItemBlocksByBlockIdErrors];
|
|
11805
|
+
export type DeleteApiWorkItemBlocksByBlockIdResponses = {
|
|
10930
11806
|
/**
|
|
10931
11807
|
* Response for status 200
|
|
10932
11808
|
*/
|
|
10933
|
-
200:
|
|
10934
|
-
id: string;
|
|
10935
|
-
projectId: string;
|
|
10936
|
-
workItemId: string;
|
|
10937
|
-
authorUserId: string;
|
|
10938
|
-
authorUsername: string | unknown;
|
|
10939
|
-
authorImage: string | unknown;
|
|
10940
|
-
body: string;
|
|
10941
|
-
isPinned: boolean;
|
|
10942
|
-
createdAt: string;
|
|
10943
|
-
updatedAt: string;
|
|
10944
|
-
};
|
|
11809
|
+
200: number;
|
|
10945
11810
|
};
|
|
10946
|
-
export type
|
|
11811
|
+
export type DeleteApiWorkItemBlocksByBlockIdResponse = DeleteApiWorkItemBlocksByBlockIdResponses[keyof DeleteApiWorkItemBlocksByBlockIdResponses];
|
|
10947
11812
|
export type GetApiProjectsByProjectIdContextEntriesData = {
|
|
10948
11813
|
body?: never;
|
|
10949
11814
|
path: {
|
|
@@ -12806,6 +13671,10 @@ export type PostApiProjectsByProjectIdIntegrationsByIntegrationIdSyncResponses =
|
|
|
12806
13671
|
totalSeen: number;
|
|
12807
13672
|
totalUpserted: number;
|
|
12808
13673
|
}>;
|
|
13674
|
+
parentLinksApplied?: number;
|
|
13675
|
+
parentLinksSkipped?: number;
|
|
13676
|
+
blocksCreated?: number;
|
|
13677
|
+
blocksSkipped?: number;
|
|
12809
13678
|
};
|
|
12810
13679
|
};
|
|
12811
13680
|
export type PostApiProjectsByProjectIdIntegrationsByIntegrationIdSyncResponse = PostApiProjectsByProjectIdIntegrationsByIntegrationIdSyncResponses[keyof PostApiProjectsByProjectIdIntegrationsByIntegrationIdSyncResponses];
|