@boboddy/sdk 0.1.12-alpha → 0.1.13-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 +56 -17
- package/dist/definitions/steps/index.js +55 -17
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/sdk.gen.d.ts +22 -10
- package/dist/generated/types.gen.d.ts +732 -19
- package/dist/index.js +56 -17
- package/package.json +2 -2
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
export type ClientOptions = {
|
|
2
2
|
baseUrl: `${string}://${string}` | (string & {});
|
|
3
3
|
};
|
|
4
|
-
export type
|
|
4
|
+
export type DeleteApiAuth__Data = {
|
|
5
5
|
body?: never;
|
|
6
6
|
path?: never;
|
|
7
7
|
query?: never;
|
|
8
|
-
url: '/api/
|
|
8
|
+
url: '/api/auth/*';
|
|
9
9
|
};
|
|
10
|
-
export type
|
|
10
|
+
export type GetApiAuth__Data = {
|
|
11
11
|
body?: never;
|
|
12
12
|
path?: never;
|
|
13
13
|
query?: never;
|
|
14
|
-
url: '/api/
|
|
14
|
+
url: '/api/auth/*';
|
|
15
15
|
};
|
|
16
|
-
export type
|
|
16
|
+
export type HeadApiAuth__Data = {
|
|
17
17
|
body?: never;
|
|
18
18
|
path?: never;
|
|
19
19
|
query?: never;
|
|
20
|
-
url: '/api/
|
|
20
|
+
url: '/api/auth/*';
|
|
21
21
|
};
|
|
22
|
-
export type
|
|
22
|
+
export type OptionsApiAuth__Data = {
|
|
23
23
|
body?: never;
|
|
24
24
|
path?: never;
|
|
25
25
|
query?: never;
|
|
26
|
-
url: '/api/
|
|
26
|
+
url: '/api/auth/*';
|
|
27
27
|
};
|
|
28
|
-
export type
|
|
28
|
+
export type PatchApiAuth__Data = {
|
|
29
29
|
body?: never;
|
|
30
30
|
path?: never;
|
|
31
31
|
query?: never;
|
|
32
|
-
url: '/api/
|
|
32
|
+
url: '/api/auth/*';
|
|
33
33
|
};
|
|
34
|
-
export type
|
|
34
|
+
export type PostApiAuth__Data = {
|
|
35
35
|
body?: never;
|
|
36
36
|
path?: never;
|
|
37
37
|
query?: never;
|
|
38
|
-
url: '/api/
|
|
38
|
+
url: '/api/auth/*';
|
|
39
39
|
};
|
|
40
|
-
export type
|
|
40
|
+
export type PutApiAuth__Data = {
|
|
41
41
|
body?: never;
|
|
42
42
|
path?: never;
|
|
43
43
|
query?: never;
|
|
44
|
-
url: '/api/
|
|
44
|
+
url: '/api/auth/*';
|
|
45
45
|
};
|
|
46
|
-
export type
|
|
46
|
+
export type TraceApiAuth__Data = {
|
|
47
47
|
body?: never;
|
|
48
48
|
path?: never;
|
|
49
49
|
query?: never;
|
|
50
|
-
url: '/api/
|
|
50
|
+
url: '/api/auth/*';
|
|
51
51
|
};
|
|
52
52
|
export type GetApiProjectsData = {
|
|
53
53
|
body?: never;
|
|
@@ -2855,9 +2855,7 @@ export type GetApiStepExecutionsByStepExecutionIdResponse = GetApiStepExecutions
|
|
|
2855
2855
|
export type GetApiLinearPipelineDefinitionsData = {
|
|
2856
2856
|
body?: never;
|
|
2857
2857
|
path?: never;
|
|
2858
|
-
query
|
|
2859
|
-
projectId: string;
|
|
2860
|
-
};
|
|
2858
|
+
query?: never;
|
|
2861
2859
|
url: '/api/linear-pipeline-definitions';
|
|
2862
2860
|
};
|
|
2863
2861
|
export type GetApiLinearPipelineDefinitionsErrors = {
|
|
@@ -2938,6 +2936,7 @@ export type GetApiLinearPipelineDefinitionsResponses = {
|
|
|
2938
2936
|
name: string;
|
|
2939
2937
|
description: string | unknown;
|
|
2940
2938
|
status: 'draft' | 'active' | 'archived';
|
|
2939
|
+
archivedAt: string | unknown;
|
|
2941
2940
|
stepDefinitions: Array<{
|
|
2942
2941
|
id: string;
|
|
2943
2942
|
linearPipelineDefinitionId: string;
|
|
@@ -3270,6 +3269,7 @@ export type PostApiLinearPipelineDefinitionsResponses = {
|
|
|
3270
3269
|
name: string;
|
|
3271
3270
|
description: string | unknown;
|
|
3272
3271
|
status: 'draft' | 'active' | 'archived';
|
|
3272
|
+
archivedAt: string | unknown;
|
|
3273
3273
|
stepDefinitions: Array<{
|
|
3274
3274
|
id: string;
|
|
3275
3275
|
linearPipelineDefinitionId: string;
|
|
@@ -3554,6 +3554,7 @@ export type PutApiLinearPipelineDefinitionsResponses = {
|
|
|
3554
3554
|
name: string;
|
|
3555
3555
|
description: string | unknown;
|
|
3556
3556
|
status: 'draft' | 'active' | 'archived';
|
|
3557
|
+
archivedAt: string | unknown;
|
|
3557
3558
|
stepDefinitions: Array<{
|
|
3558
3559
|
id: string;
|
|
3559
3560
|
linearPipelineDefinitionId: string;
|
|
@@ -3777,6 +3778,7 @@ export type GetApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdResponses
|
|
|
3777
3778
|
name: string;
|
|
3778
3779
|
description: string | unknown;
|
|
3779
3780
|
status: 'draft' | 'active' | 'archived';
|
|
3781
|
+
archivedAt: string | unknown;
|
|
3780
3782
|
stepDefinitions: Array<{
|
|
3781
3783
|
id: string;
|
|
3782
3784
|
linearPipelineDefinitionId: string;
|
|
@@ -3984,6 +3986,7 @@ export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdArchiveRe
|
|
|
3984
3986
|
name: string;
|
|
3985
3987
|
description: string | unknown;
|
|
3986
3988
|
status: 'draft' | 'active' | 'archived';
|
|
3989
|
+
archivedAt: string | unknown;
|
|
3987
3990
|
stepDefinitions: Array<{
|
|
3988
3991
|
id: string;
|
|
3989
3992
|
linearPipelineDefinitionId: string;
|
|
@@ -4089,6 +4092,214 @@ export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdArchiveRe
|
|
|
4089
4092
|
};
|
|
4090
4093
|
};
|
|
4091
4094
|
export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdArchiveResponse = PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdArchiveResponses[keyof PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdArchiveResponses];
|
|
4095
|
+
export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdUnarchiveData = {
|
|
4096
|
+
body?: never;
|
|
4097
|
+
path: {
|
|
4098
|
+
linearPipelineDefinitionId: string;
|
|
4099
|
+
};
|
|
4100
|
+
query?: never;
|
|
4101
|
+
url: '/api/linear-pipeline-definitions/{linearPipelineDefinitionId}/unarchive';
|
|
4102
|
+
};
|
|
4103
|
+
export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdUnarchiveErrors = {
|
|
4104
|
+
/**
|
|
4105
|
+
* Response for status 401
|
|
4106
|
+
*/
|
|
4107
|
+
401: {
|
|
4108
|
+
type: string;
|
|
4109
|
+
title: string;
|
|
4110
|
+
status: number;
|
|
4111
|
+
detail?: string;
|
|
4112
|
+
instance?: string;
|
|
4113
|
+
code?: string;
|
|
4114
|
+
errors?: Array<{
|
|
4115
|
+
path: string;
|
|
4116
|
+
message: string;
|
|
4117
|
+
summary?: string;
|
|
4118
|
+
}>;
|
|
4119
|
+
};
|
|
4120
|
+
/**
|
|
4121
|
+
* Response for status 403
|
|
4122
|
+
*/
|
|
4123
|
+
403: {
|
|
4124
|
+
type: string;
|
|
4125
|
+
title: string;
|
|
4126
|
+
status: number;
|
|
4127
|
+
detail?: string;
|
|
4128
|
+
instance?: string;
|
|
4129
|
+
code?: string;
|
|
4130
|
+
errors?: Array<{
|
|
4131
|
+
path: string;
|
|
4132
|
+
message: string;
|
|
4133
|
+
summary?: string;
|
|
4134
|
+
}>;
|
|
4135
|
+
};
|
|
4136
|
+
/**
|
|
4137
|
+
* Response for status 404
|
|
4138
|
+
*/
|
|
4139
|
+
404: {
|
|
4140
|
+
type: string;
|
|
4141
|
+
title: string;
|
|
4142
|
+
status: number;
|
|
4143
|
+
detail?: string;
|
|
4144
|
+
instance?: string;
|
|
4145
|
+
code?: string;
|
|
4146
|
+
errors?: Array<{
|
|
4147
|
+
path: string;
|
|
4148
|
+
message: string;
|
|
4149
|
+
summary?: string;
|
|
4150
|
+
}>;
|
|
4151
|
+
};
|
|
4152
|
+
/**
|
|
4153
|
+
* Response for status 422
|
|
4154
|
+
*/
|
|
4155
|
+
422: {
|
|
4156
|
+
type: string;
|
|
4157
|
+
title: string;
|
|
4158
|
+
status: number;
|
|
4159
|
+
detail?: string;
|
|
4160
|
+
instance?: string;
|
|
4161
|
+
code?: string;
|
|
4162
|
+
errors?: Array<{
|
|
4163
|
+
path: string;
|
|
4164
|
+
message: string;
|
|
4165
|
+
summary?: string;
|
|
4166
|
+
}>;
|
|
4167
|
+
};
|
|
4168
|
+
/**
|
|
4169
|
+
* Response for status 500
|
|
4170
|
+
*/
|
|
4171
|
+
500: {
|
|
4172
|
+
type: string;
|
|
4173
|
+
title: string;
|
|
4174
|
+
status: number;
|
|
4175
|
+
detail?: string;
|
|
4176
|
+
instance?: string;
|
|
4177
|
+
code?: string;
|
|
4178
|
+
errors?: Array<{
|
|
4179
|
+
path: string;
|
|
4180
|
+
message: string;
|
|
4181
|
+
summary?: string;
|
|
4182
|
+
}>;
|
|
4183
|
+
};
|
|
4184
|
+
};
|
|
4185
|
+
export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdUnarchiveError = PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdUnarchiveErrors[keyof PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdUnarchiveErrors];
|
|
4186
|
+
export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdUnarchiveResponses = {
|
|
4187
|
+
/**
|
|
4188
|
+
* Response for status 200
|
|
4189
|
+
*/
|
|
4190
|
+
200: {
|
|
4191
|
+
id: string;
|
|
4192
|
+
projectId: string;
|
|
4193
|
+
key: string;
|
|
4194
|
+
name: string;
|
|
4195
|
+
description: string | unknown;
|
|
4196
|
+
status: 'draft' | 'active' | 'archived';
|
|
4197
|
+
archivedAt: string | unknown;
|
|
4198
|
+
stepDefinitions: Array<{
|
|
4199
|
+
id: string;
|
|
4200
|
+
linearPipelineDefinitionId: string;
|
|
4201
|
+
stepDefinitionId: string;
|
|
4202
|
+
stepDefinitionVersion: number;
|
|
4203
|
+
key: string;
|
|
4204
|
+
name: string;
|
|
4205
|
+
description: string | unknown;
|
|
4206
|
+
position: number;
|
|
4207
|
+
inputBindingsJson: {
|
|
4208
|
+
[key: string]: {
|
|
4209
|
+
source: string;
|
|
4210
|
+
path: string | unknown;
|
|
4211
|
+
} | {
|
|
4212
|
+
source: string;
|
|
4213
|
+
stepKey: string;
|
|
4214
|
+
path: string | unknown;
|
|
4215
|
+
} | {
|
|
4216
|
+
source: string;
|
|
4217
|
+
stepKey: string;
|
|
4218
|
+
signalKey: string;
|
|
4219
|
+
} | {
|
|
4220
|
+
source: string;
|
|
4221
|
+
value: unknown;
|
|
4222
|
+
};
|
|
4223
|
+
} | unknown;
|
|
4224
|
+
timeoutSeconds: number | unknown;
|
|
4225
|
+
retryPolicyJson: {
|
|
4226
|
+
[key: string]: unknown;
|
|
4227
|
+
} | unknown;
|
|
4228
|
+
advancementPolicyDefinition: {
|
|
4229
|
+
id: string;
|
|
4230
|
+
linearPipelineStepDefinitionId: string;
|
|
4231
|
+
rulesJson: {
|
|
4232
|
+
rules: Array<{
|
|
4233
|
+
conditions: {
|
|
4234
|
+
[key: string]: unknown;
|
|
4235
|
+
};
|
|
4236
|
+
event: {
|
|
4237
|
+
type: string;
|
|
4238
|
+
params?: {
|
|
4239
|
+
[key: string]: unknown;
|
|
4240
|
+
};
|
|
4241
|
+
};
|
|
4242
|
+
name?: string;
|
|
4243
|
+
priority?: number;
|
|
4244
|
+
[key: string]: unknown | {
|
|
4245
|
+
[key: string]: unknown;
|
|
4246
|
+
} | {
|
|
4247
|
+
type: string;
|
|
4248
|
+
params?: {
|
|
4249
|
+
[key: string]: unknown;
|
|
4250
|
+
};
|
|
4251
|
+
} | string | number | undefined;
|
|
4252
|
+
}>;
|
|
4253
|
+
[key: string]: unknown | Array<{
|
|
4254
|
+
conditions: {
|
|
4255
|
+
[key: string]: unknown;
|
|
4256
|
+
};
|
|
4257
|
+
event: {
|
|
4258
|
+
type: string;
|
|
4259
|
+
params?: {
|
|
4260
|
+
[key: string]: unknown;
|
|
4261
|
+
};
|
|
4262
|
+
};
|
|
4263
|
+
name?: string;
|
|
4264
|
+
priority?: number;
|
|
4265
|
+
[key: string]: unknown | {
|
|
4266
|
+
[key: string]: unknown;
|
|
4267
|
+
} | {
|
|
4268
|
+
type: string;
|
|
4269
|
+
params?: {
|
|
4270
|
+
[key: string]: unknown;
|
|
4271
|
+
};
|
|
4272
|
+
} | string | number | undefined;
|
|
4273
|
+
}>;
|
|
4274
|
+
};
|
|
4275
|
+
defaultEventType: 'continue' | 'block' | 'complete' | 'route';
|
|
4276
|
+
defaultEventParamsJson: {
|
|
4277
|
+
[key: string]: unknown;
|
|
4278
|
+
} | unknown;
|
|
4279
|
+
allowedEventTypes: Array<'continue' | 'block' | 'complete' | 'route'>;
|
|
4280
|
+
createdAt: string;
|
|
4281
|
+
updatedAt: string;
|
|
4282
|
+
};
|
|
4283
|
+
computedSignalDefinitions: Array<{
|
|
4284
|
+
id: string;
|
|
4285
|
+
key: string;
|
|
4286
|
+
type: 'average' | 'weighted_average' | 'sum' | 'min' | 'max' | 'count' | 'boolean_any' | 'boolean_all';
|
|
4287
|
+
inputSignalKeys: Array<string>;
|
|
4288
|
+
configJson: {
|
|
4289
|
+
[key: string]: unknown;
|
|
4290
|
+
} | unknown;
|
|
4291
|
+
availableWhenResultStatusIn: Array<string> | unknown;
|
|
4292
|
+
createdAt: string;
|
|
4293
|
+
updatedAt: string;
|
|
4294
|
+
}>;
|
|
4295
|
+
createdAt: string;
|
|
4296
|
+
updatedAt: string;
|
|
4297
|
+
}>;
|
|
4298
|
+
createdAt: string;
|
|
4299
|
+
updatedAt: string;
|
|
4300
|
+
};
|
|
4301
|
+
};
|
|
4302
|
+
export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdUnarchiveResponse = PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdUnarchiveResponses[keyof PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdUnarchiveResponses];
|
|
4092
4303
|
export type PostApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsData = {
|
|
4093
4304
|
body: {
|
|
4094
4305
|
stepDefinitionId: string;
|
|
@@ -4279,6 +4490,7 @@ export type PostApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsRes
|
|
|
4279
4490
|
name: string;
|
|
4280
4491
|
description: string | unknown;
|
|
4281
4492
|
status: 'draft' | 'active' | 'archived';
|
|
4493
|
+
archivedAt: string | unknown;
|
|
4282
4494
|
stepDefinitions: Array<{
|
|
4283
4495
|
id: string;
|
|
4284
4496
|
linearPipelineDefinitionId: string;
|
|
@@ -4487,6 +4699,7 @@ export type DeleteApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsB
|
|
|
4487
4699
|
name: string;
|
|
4488
4700
|
description: string | unknown;
|
|
4489
4701
|
status: 'draft' | 'active' | 'archived';
|
|
4702
|
+
archivedAt: string | unknown;
|
|
4490
4703
|
stepDefinitions: Array<{
|
|
4491
4704
|
id: string;
|
|
4492
4705
|
linearPipelineDefinitionId: string;
|
|
@@ -4783,6 +4996,7 @@ export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLi
|
|
|
4783
4996
|
name: string;
|
|
4784
4997
|
description: string | unknown;
|
|
4785
4998
|
status: 'draft' | 'active' | 'archived';
|
|
4999
|
+
archivedAt: string | unknown;
|
|
4786
5000
|
stepDefinitions: Array<{
|
|
4787
5001
|
id: string;
|
|
4788
5002
|
linearPipelineDefinitionId: string;
|
|
@@ -5039,6 +5253,7 @@ export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLi
|
|
|
5039
5253
|
name: string;
|
|
5040
5254
|
description: string | unknown;
|
|
5041
5255
|
status: 'draft' | 'active' | 'archived';
|
|
5256
|
+
archivedAt: string | unknown;
|
|
5042
5257
|
stepDefinitions: Array<{
|
|
5043
5258
|
id: string;
|
|
5044
5259
|
linearPipelineDefinitionId: string;
|
|
@@ -9005,3 +9220,501 @@ export type PostApiStepDefinitionTemplatesByStepDefinitionTemplateIdInstantiateR
|
|
|
9005
9220
|
};
|
|
9006
9221
|
};
|
|
9007
9222
|
export type PostApiStepDefinitionTemplatesByStepDefinitionTemplateIdInstantiateResponse = PostApiStepDefinitionTemplatesByStepDefinitionTemplateIdInstantiateResponses[keyof PostApiStepDefinitionTemplatesByStepDefinitionTemplateIdInstantiateResponses];
|
|
9223
|
+
export type GetApiProjectsByProjectIdIntegrationsData = {
|
|
9224
|
+
body?: never;
|
|
9225
|
+
path: {
|
|
9226
|
+
projectId: string;
|
|
9227
|
+
};
|
|
9228
|
+
query?: never;
|
|
9229
|
+
url: '/api/projects/{projectId}/integrations';
|
|
9230
|
+
};
|
|
9231
|
+
export type GetApiProjectsByProjectIdIntegrationsErrors = {
|
|
9232
|
+
/**
|
|
9233
|
+
* Response for status 401
|
|
9234
|
+
*/
|
|
9235
|
+
401: {
|
|
9236
|
+
type: string;
|
|
9237
|
+
title: string;
|
|
9238
|
+
status: number;
|
|
9239
|
+
detail?: string;
|
|
9240
|
+
instance?: string;
|
|
9241
|
+
code?: string;
|
|
9242
|
+
errors?: Array<{
|
|
9243
|
+
path: string;
|
|
9244
|
+
message: string;
|
|
9245
|
+
summary?: string;
|
|
9246
|
+
}>;
|
|
9247
|
+
};
|
|
9248
|
+
/**
|
|
9249
|
+
* Response for status 403
|
|
9250
|
+
*/
|
|
9251
|
+
403: {
|
|
9252
|
+
type: string;
|
|
9253
|
+
title: string;
|
|
9254
|
+
status: number;
|
|
9255
|
+
detail?: string;
|
|
9256
|
+
instance?: string;
|
|
9257
|
+
code?: string;
|
|
9258
|
+
errors?: Array<{
|
|
9259
|
+
path: string;
|
|
9260
|
+
message: string;
|
|
9261
|
+
summary?: string;
|
|
9262
|
+
}>;
|
|
9263
|
+
};
|
|
9264
|
+
/**
|
|
9265
|
+
* Response for status 404
|
|
9266
|
+
*/
|
|
9267
|
+
404: {
|
|
9268
|
+
type: string;
|
|
9269
|
+
title: string;
|
|
9270
|
+
status: number;
|
|
9271
|
+
detail?: string;
|
|
9272
|
+
instance?: string;
|
|
9273
|
+
code?: string;
|
|
9274
|
+
errors?: Array<{
|
|
9275
|
+
path: string;
|
|
9276
|
+
message: string;
|
|
9277
|
+
summary?: string;
|
|
9278
|
+
}>;
|
|
9279
|
+
};
|
|
9280
|
+
/**
|
|
9281
|
+
* Response for status 422
|
|
9282
|
+
*/
|
|
9283
|
+
422: {
|
|
9284
|
+
type: string;
|
|
9285
|
+
title: string;
|
|
9286
|
+
status: number;
|
|
9287
|
+
detail?: string;
|
|
9288
|
+
instance?: string;
|
|
9289
|
+
code?: string;
|
|
9290
|
+
errors?: Array<{
|
|
9291
|
+
path: string;
|
|
9292
|
+
message: string;
|
|
9293
|
+
summary?: string;
|
|
9294
|
+
}>;
|
|
9295
|
+
};
|
|
9296
|
+
/**
|
|
9297
|
+
* Response for status 500
|
|
9298
|
+
*/
|
|
9299
|
+
500: {
|
|
9300
|
+
type: string;
|
|
9301
|
+
title: string;
|
|
9302
|
+
status: number;
|
|
9303
|
+
detail?: string;
|
|
9304
|
+
instance?: string;
|
|
9305
|
+
code?: string;
|
|
9306
|
+
errors?: Array<{
|
|
9307
|
+
path: string;
|
|
9308
|
+
message: string;
|
|
9309
|
+
summary?: string;
|
|
9310
|
+
}>;
|
|
9311
|
+
};
|
|
9312
|
+
};
|
|
9313
|
+
export type GetApiProjectsByProjectIdIntegrationsError = GetApiProjectsByProjectIdIntegrationsErrors[keyof GetApiProjectsByProjectIdIntegrationsErrors];
|
|
9314
|
+
export type GetApiProjectsByProjectIdIntegrationsResponses = {
|
|
9315
|
+
/**
|
|
9316
|
+
* Response for status 200
|
|
9317
|
+
*/
|
|
9318
|
+
200: Array<{
|
|
9319
|
+
id: string;
|
|
9320
|
+
projectId: string;
|
|
9321
|
+
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
9322
|
+
installationId: string;
|
|
9323
|
+
externalScope: {
|
|
9324
|
+
repos: Array<{
|
|
9325
|
+
id: number;
|
|
9326
|
+
fullName: string;
|
|
9327
|
+
}>;
|
|
9328
|
+
};
|
|
9329
|
+
status: 'active' | 'paused' | 'error';
|
|
9330
|
+
lastSyncedAt: string | unknown;
|
|
9331
|
+
lastError: string | unknown;
|
|
9332
|
+
createdAt: string;
|
|
9333
|
+
updatedAt: string;
|
|
9334
|
+
}>;
|
|
9335
|
+
};
|
|
9336
|
+
export type GetApiProjectsByProjectIdIntegrationsResponse = GetApiProjectsByProjectIdIntegrationsResponses[keyof GetApiProjectsByProjectIdIntegrationsResponses];
|
|
9337
|
+
export type PostApiProjectsByProjectIdIntegrationsData = {
|
|
9338
|
+
body: unknown;
|
|
9339
|
+
path: {
|
|
9340
|
+
projectId: string;
|
|
9341
|
+
};
|
|
9342
|
+
query?: never;
|
|
9343
|
+
url: '/api/projects/{projectId}/integrations';
|
|
9344
|
+
};
|
|
9345
|
+
export type PostApiProjectsByProjectIdIntegrationsErrors = {
|
|
9346
|
+
/**
|
|
9347
|
+
* Response for status 400
|
|
9348
|
+
*/
|
|
9349
|
+
400: {
|
|
9350
|
+
type: string;
|
|
9351
|
+
title: string;
|
|
9352
|
+
status: number;
|
|
9353
|
+
detail?: string;
|
|
9354
|
+
instance?: string;
|
|
9355
|
+
code?: string;
|
|
9356
|
+
errors?: Array<{
|
|
9357
|
+
path: string;
|
|
9358
|
+
message: string;
|
|
9359
|
+
summary?: string;
|
|
9360
|
+
}>;
|
|
9361
|
+
};
|
|
9362
|
+
/**
|
|
9363
|
+
* Response for status 401
|
|
9364
|
+
*/
|
|
9365
|
+
401: {
|
|
9366
|
+
type: string;
|
|
9367
|
+
title: string;
|
|
9368
|
+
status: number;
|
|
9369
|
+
detail?: string;
|
|
9370
|
+
instance?: string;
|
|
9371
|
+
code?: string;
|
|
9372
|
+
errors?: Array<{
|
|
9373
|
+
path: string;
|
|
9374
|
+
message: string;
|
|
9375
|
+
summary?: string;
|
|
9376
|
+
}>;
|
|
9377
|
+
};
|
|
9378
|
+
/**
|
|
9379
|
+
* Response for status 403
|
|
9380
|
+
*/
|
|
9381
|
+
403: {
|
|
9382
|
+
type: string;
|
|
9383
|
+
title: string;
|
|
9384
|
+
status: number;
|
|
9385
|
+
detail?: string;
|
|
9386
|
+
instance?: string;
|
|
9387
|
+
code?: string;
|
|
9388
|
+
errors?: Array<{
|
|
9389
|
+
path: string;
|
|
9390
|
+
message: string;
|
|
9391
|
+
summary?: string;
|
|
9392
|
+
}>;
|
|
9393
|
+
};
|
|
9394
|
+
/**
|
|
9395
|
+
* Response for status 404
|
|
9396
|
+
*/
|
|
9397
|
+
404: {
|
|
9398
|
+
type: string;
|
|
9399
|
+
title: string;
|
|
9400
|
+
status: number;
|
|
9401
|
+
detail?: string;
|
|
9402
|
+
instance?: string;
|
|
9403
|
+
code?: string;
|
|
9404
|
+
errors?: Array<{
|
|
9405
|
+
path: string;
|
|
9406
|
+
message: string;
|
|
9407
|
+
summary?: string;
|
|
9408
|
+
}>;
|
|
9409
|
+
};
|
|
9410
|
+
/**
|
|
9411
|
+
* Response for status 422
|
|
9412
|
+
*/
|
|
9413
|
+
422: {
|
|
9414
|
+
type: string;
|
|
9415
|
+
title: string;
|
|
9416
|
+
status: number;
|
|
9417
|
+
detail?: string;
|
|
9418
|
+
instance?: string;
|
|
9419
|
+
code?: string;
|
|
9420
|
+
errors?: Array<{
|
|
9421
|
+
path: string;
|
|
9422
|
+
message: string;
|
|
9423
|
+
summary?: string;
|
|
9424
|
+
}>;
|
|
9425
|
+
};
|
|
9426
|
+
/**
|
|
9427
|
+
* Response for status 500
|
|
9428
|
+
*/
|
|
9429
|
+
500: {
|
|
9430
|
+
type: string;
|
|
9431
|
+
title: string;
|
|
9432
|
+
status: number;
|
|
9433
|
+
detail?: string;
|
|
9434
|
+
instance?: string;
|
|
9435
|
+
code?: string;
|
|
9436
|
+
errors?: Array<{
|
|
9437
|
+
path: string;
|
|
9438
|
+
message: string;
|
|
9439
|
+
summary?: string;
|
|
9440
|
+
}>;
|
|
9441
|
+
};
|
|
9442
|
+
};
|
|
9443
|
+
export type PostApiProjectsByProjectIdIntegrationsError = PostApiProjectsByProjectIdIntegrationsErrors[keyof PostApiProjectsByProjectIdIntegrationsErrors];
|
|
9444
|
+
export type PostApiProjectsByProjectIdIntegrationsResponses = {
|
|
9445
|
+
/**
|
|
9446
|
+
* Response for status 200
|
|
9447
|
+
*/
|
|
9448
|
+
200: {
|
|
9449
|
+
id: string;
|
|
9450
|
+
projectId: string;
|
|
9451
|
+
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
9452
|
+
installationId: string;
|
|
9453
|
+
externalScope: {
|
|
9454
|
+
repos: Array<{
|
|
9455
|
+
id: number;
|
|
9456
|
+
fullName: string;
|
|
9457
|
+
}>;
|
|
9458
|
+
};
|
|
9459
|
+
status: 'active' | 'paused' | 'error';
|
|
9460
|
+
lastSyncedAt: string | unknown;
|
|
9461
|
+
lastError: string | unknown;
|
|
9462
|
+
createdAt: string;
|
|
9463
|
+
updatedAt: string;
|
|
9464
|
+
};
|
|
9465
|
+
};
|
|
9466
|
+
export type PostApiProjectsByProjectIdIntegrationsResponse = PostApiProjectsByProjectIdIntegrationsResponses[keyof PostApiProjectsByProjectIdIntegrationsResponses];
|
|
9467
|
+
export type PostApiProjectsByProjectIdIntegrationsByIntegrationIdSyncData = {
|
|
9468
|
+
body?: never;
|
|
9469
|
+
path: {
|
|
9470
|
+
projectId: string;
|
|
9471
|
+
integrationId: string;
|
|
9472
|
+
};
|
|
9473
|
+
query?: never;
|
|
9474
|
+
url: '/api/projects/{projectId}/integrations/{integrationId}/sync';
|
|
9475
|
+
};
|
|
9476
|
+
export type PostApiProjectsByProjectIdIntegrationsByIntegrationIdSyncErrors = {
|
|
9477
|
+
/**
|
|
9478
|
+
* Response for status 400
|
|
9479
|
+
*/
|
|
9480
|
+
400: {
|
|
9481
|
+
type: string;
|
|
9482
|
+
title: string;
|
|
9483
|
+
status: number;
|
|
9484
|
+
detail?: string;
|
|
9485
|
+
instance?: string;
|
|
9486
|
+
code?: string;
|
|
9487
|
+
errors?: Array<{
|
|
9488
|
+
path: string;
|
|
9489
|
+
message: string;
|
|
9490
|
+
summary?: string;
|
|
9491
|
+
}>;
|
|
9492
|
+
};
|
|
9493
|
+
/**
|
|
9494
|
+
* Response for status 401
|
|
9495
|
+
*/
|
|
9496
|
+
401: {
|
|
9497
|
+
type: string;
|
|
9498
|
+
title: string;
|
|
9499
|
+
status: number;
|
|
9500
|
+
detail?: string;
|
|
9501
|
+
instance?: string;
|
|
9502
|
+
code?: string;
|
|
9503
|
+
errors?: Array<{
|
|
9504
|
+
path: string;
|
|
9505
|
+
message: string;
|
|
9506
|
+
summary?: string;
|
|
9507
|
+
}>;
|
|
9508
|
+
};
|
|
9509
|
+
/**
|
|
9510
|
+
* Response for status 403
|
|
9511
|
+
*/
|
|
9512
|
+
403: {
|
|
9513
|
+
type: string;
|
|
9514
|
+
title: string;
|
|
9515
|
+
status: number;
|
|
9516
|
+
detail?: string;
|
|
9517
|
+
instance?: string;
|
|
9518
|
+
code?: string;
|
|
9519
|
+
errors?: Array<{
|
|
9520
|
+
path: string;
|
|
9521
|
+
message: string;
|
|
9522
|
+
summary?: string;
|
|
9523
|
+
}>;
|
|
9524
|
+
};
|
|
9525
|
+
/**
|
|
9526
|
+
* Response for status 404
|
|
9527
|
+
*/
|
|
9528
|
+
404: {
|
|
9529
|
+
type: string;
|
|
9530
|
+
title: string;
|
|
9531
|
+
status: number;
|
|
9532
|
+
detail?: string;
|
|
9533
|
+
instance?: string;
|
|
9534
|
+
code?: string;
|
|
9535
|
+
errors?: Array<{
|
|
9536
|
+
path: string;
|
|
9537
|
+
message: string;
|
|
9538
|
+
summary?: string;
|
|
9539
|
+
}>;
|
|
9540
|
+
};
|
|
9541
|
+
/**
|
|
9542
|
+
* Response for status 422
|
|
9543
|
+
*/
|
|
9544
|
+
422: {
|
|
9545
|
+
type: string;
|
|
9546
|
+
title: string;
|
|
9547
|
+
status: number;
|
|
9548
|
+
detail?: string;
|
|
9549
|
+
instance?: string;
|
|
9550
|
+
code?: string;
|
|
9551
|
+
errors?: Array<{
|
|
9552
|
+
path: string;
|
|
9553
|
+
message: string;
|
|
9554
|
+
summary?: string;
|
|
9555
|
+
}>;
|
|
9556
|
+
};
|
|
9557
|
+
/**
|
|
9558
|
+
* Response for status 500
|
|
9559
|
+
*/
|
|
9560
|
+
500: {
|
|
9561
|
+
type: string;
|
|
9562
|
+
title: string;
|
|
9563
|
+
status: number;
|
|
9564
|
+
detail?: string;
|
|
9565
|
+
instance?: string;
|
|
9566
|
+
code?: string;
|
|
9567
|
+
errors?: Array<{
|
|
9568
|
+
path: string;
|
|
9569
|
+
message: string;
|
|
9570
|
+
summary?: string;
|
|
9571
|
+
}>;
|
|
9572
|
+
};
|
|
9573
|
+
/**
|
|
9574
|
+
* Response for status 502
|
|
9575
|
+
*/
|
|
9576
|
+
502: {
|
|
9577
|
+
type: string;
|
|
9578
|
+
title: string;
|
|
9579
|
+
status: number;
|
|
9580
|
+
detail?: string;
|
|
9581
|
+
instance?: string;
|
|
9582
|
+
code?: string;
|
|
9583
|
+
errors?: Array<{
|
|
9584
|
+
path: string;
|
|
9585
|
+
message: string;
|
|
9586
|
+
summary?: string;
|
|
9587
|
+
}>;
|
|
9588
|
+
};
|
|
9589
|
+
};
|
|
9590
|
+
export type PostApiProjectsByProjectIdIntegrationsByIntegrationIdSyncError = PostApiProjectsByProjectIdIntegrationsByIntegrationIdSyncErrors[keyof PostApiProjectsByProjectIdIntegrationsByIntegrationIdSyncErrors];
|
|
9591
|
+
export type PostApiProjectsByProjectIdIntegrationsByIntegrationIdSyncResponses = {
|
|
9592
|
+
/**
|
|
9593
|
+
* Response for status 200
|
|
9594
|
+
*/
|
|
9595
|
+
200: {
|
|
9596
|
+
totalUpserted: number;
|
|
9597
|
+
perRepo: Array<{
|
|
9598
|
+
fullName: string;
|
|
9599
|
+
totalSeen: number;
|
|
9600
|
+
totalUpserted: number;
|
|
9601
|
+
}>;
|
|
9602
|
+
};
|
|
9603
|
+
};
|
|
9604
|
+
export type PostApiProjectsByProjectIdIntegrationsByIntegrationIdSyncResponse = PostApiProjectsByProjectIdIntegrationsByIntegrationIdSyncResponses[keyof PostApiProjectsByProjectIdIntegrationsByIntegrationIdSyncResponses];
|
|
9605
|
+
export type DeleteApiProjectsByProjectIdIntegrationsByIntegrationIdData = {
|
|
9606
|
+
body?: never;
|
|
9607
|
+
path: {
|
|
9608
|
+
projectId: string;
|
|
9609
|
+
integrationId: string;
|
|
9610
|
+
};
|
|
9611
|
+
query?: never;
|
|
9612
|
+
url: '/api/projects/{projectId}/integrations/{integrationId}';
|
|
9613
|
+
};
|
|
9614
|
+
export type DeleteApiProjectsByProjectIdIntegrationsByIntegrationIdErrors = {
|
|
9615
|
+
/**
|
|
9616
|
+
* Response for status 401
|
|
9617
|
+
*/
|
|
9618
|
+
401: {
|
|
9619
|
+
type: string;
|
|
9620
|
+
title: string;
|
|
9621
|
+
status: number;
|
|
9622
|
+
detail?: string;
|
|
9623
|
+
instance?: string;
|
|
9624
|
+
code?: string;
|
|
9625
|
+
errors?: Array<{
|
|
9626
|
+
path: string;
|
|
9627
|
+
message: string;
|
|
9628
|
+
summary?: string;
|
|
9629
|
+
}>;
|
|
9630
|
+
};
|
|
9631
|
+
/**
|
|
9632
|
+
* Response for status 403
|
|
9633
|
+
*/
|
|
9634
|
+
403: {
|
|
9635
|
+
type: string;
|
|
9636
|
+
title: string;
|
|
9637
|
+
status: number;
|
|
9638
|
+
detail?: string;
|
|
9639
|
+
instance?: string;
|
|
9640
|
+
code?: string;
|
|
9641
|
+
errors?: Array<{
|
|
9642
|
+
path: string;
|
|
9643
|
+
message: string;
|
|
9644
|
+
summary?: string;
|
|
9645
|
+
}>;
|
|
9646
|
+
};
|
|
9647
|
+
/**
|
|
9648
|
+
* Response for status 404
|
|
9649
|
+
*/
|
|
9650
|
+
404: {
|
|
9651
|
+
type: string;
|
|
9652
|
+
title: string;
|
|
9653
|
+
status: number;
|
|
9654
|
+
detail?: string;
|
|
9655
|
+
instance?: string;
|
|
9656
|
+
code?: string;
|
|
9657
|
+
errors?: Array<{
|
|
9658
|
+
path: string;
|
|
9659
|
+
message: string;
|
|
9660
|
+
summary?: string;
|
|
9661
|
+
}>;
|
|
9662
|
+
};
|
|
9663
|
+
/**
|
|
9664
|
+
* Response for status 422
|
|
9665
|
+
*/
|
|
9666
|
+
422: {
|
|
9667
|
+
type: string;
|
|
9668
|
+
title: string;
|
|
9669
|
+
status: number;
|
|
9670
|
+
detail?: string;
|
|
9671
|
+
instance?: string;
|
|
9672
|
+
code?: string;
|
|
9673
|
+
errors?: Array<{
|
|
9674
|
+
path: string;
|
|
9675
|
+
message: string;
|
|
9676
|
+
summary?: string;
|
|
9677
|
+
}>;
|
|
9678
|
+
};
|
|
9679
|
+
/**
|
|
9680
|
+
* Response for status 500
|
|
9681
|
+
*/
|
|
9682
|
+
500: {
|
|
9683
|
+
type: string;
|
|
9684
|
+
title: string;
|
|
9685
|
+
status: number;
|
|
9686
|
+
detail?: string;
|
|
9687
|
+
instance?: string;
|
|
9688
|
+
code?: string;
|
|
9689
|
+
errors?: Array<{
|
|
9690
|
+
path: string;
|
|
9691
|
+
message: string;
|
|
9692
|
+
summary?: string;
|
|
9693
|
+
}>;
|
|
9694
|
+
};
|
|
9695
|
+
};
|
|
9696
|
+
export type DeleteApiProjectsByProjectIdIntegrationsByIntegrationIdError = DeleteApiProjectsByProjectIdIntegrationsByIntegrationIdErrors[keyof DeleteApiProjectsByProjectIdIntegrationsByIntegrationIdErrors];
|
|
9697
|
+
export type DeleteApiProjectsByProjectIdIntegrationsByIntegrationIdResponses = {
|
|
9698
|
+
/**
|
|
9699
|
+
* Response for status 200
|
|
9700
|
+
*/
|
|
9701
|
+
200: unknown;
|
|
9702
|
+
};
|
|
9703
|
+
export type GetApiIntegrationsGithubInstallData = {
|
|
9704
|
+
body?: never;
|
|
9705
|
+
path?: never;
|
|
9706
|
+
query?: never;
|
|
9707
|
+
url: '/api/integrations/github/install';
|
|
9708
|
+
};
|
|
9709
|
+
export type GetApiIntegrationsGithubCallbackData = {
|
|
9710
|
+
body?: never;
|
|
9711
|
+
path?: never;
|
|
9712
|
+
query?: never;
|
|
9713
|
+
url: '/api/integrations/github/callback';
|
|
9714
|
+
};
|
|
9715
|
+
export type PostApiIntegrationsGithubWebhookData = {
|
|
9716
|
+
body?: never;
|
|
9717
|
+
path?: never;
|
|
9718
|
+
query?: never;
|
|
9719
|
+
url: '/api/integrations/github/webhook';
|
|
9720
|
+
};
|