@boboddy/sdk 0.2.7-alpha → 0.2.9-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 +68 -0
- package/dist/defaults/index.js +10 -1
- package/dist/defaults/project-config.d.ts +15 -0
- package/dist/definitions/pipelines/builder-helpers.d.ts +6 -1
- package/dist/definitions/pipelines/index.js +66 -0
- package/dist/definitions/steps/index.js +66 -0
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/sdk.gen.d.ts +17 -1
- package/dist/generated/types.gen.d.ts +1053 -48
- package/dist/index.js +68 -0
- package/dist/push/index.js +66 -0
- package/dist/step-execution-plane-client.d.ts +0 -1
- package/package.json +1 -1
|
@@ -97,10 +97,12 @@ export type GetApiProjectsResponses = {
|
|
|
97
97
|
200: Array<{
|
|
98
98
|
id: string;
|
|
99
99
|
name: string;
|
|
100
|
+
slug: string;
|
|
100
101
|
description: string | unknown;
|
|
101
102
|
gitUrl: string;
|
|
102
103
|
createdByUserId: string;
|
|
103
104
|
orgId: string;
|
|
105
|
+
ownerUsername: string | unknown;
|
|
104
106
|
memberships: Array<{
|
|
105
107
|
userId: string;
|
|
106
108
|
permissions: Array<string>;
|
|
@@ -264,10 +266,12 @@ export type PostApiProjectsResponses = {
|
|
|
264
266
|
200: {
|
|
265
267
|
id: string;
|
|
266
268
|
name: string;
|
|
269
|
+
slug: string;
|
|
267
270
|
description: string | unknown;
|
|
268
271
|
gitUrl: string;
|
|
269
272
|
createdByUserId: string;
|
|
270
273
|
orgId: string;
|
|
274
|
+
ownerUsername: string | unknown;
|
|
271
275
|
memberships: Array<{
|
|
272
276
|
userId: string;
|
|
273
277
|
permissions: Array<string>;
|
|
@@ -331,6 +335,174 @@ export type PostApiProjectsResponses = {
|
|
|
331
335
|
};
|
|
332
336
|
};
|
|
333
337
|
export type PostApiProjectsResponse = PostApiProjectsResponses[keyof PostApiProjectsResponses];
|
|
338
|
+
export type GetApiProjectsResolveData = {
|
|
339
|
+
body?: never;
|
|
340
|
+
path?: never;
|
|
341
|
+
query: {
|
|
342
|
+
username: string;
|
|
343
|
+
slug: string;
|
|
344
|
+
};
|
|
345
|
+
url: '/api/projects/resolve';
|
|
346
|
+
};
|
|
347
|
+
export type GetApiProjectsResolveErrors = {
|
|
348
|
+
/**
|
|
349
|
+
* Response for status 401
|
|
350
|
+
*/
|
|
351
|
+
401: {
|
|
352
|
+
type: string;
|
|
353
|
+
title: string;
|
|
354
|
+
status: number;
|
|
355
|
+
detail?: string;
|
|
356
|
+
instance?: string;
|
|
357
|
+
code?: string;
|
|
358
|
+
errors?: Array<{
|
|
359
|
+
path: string;
|
|
360
|
+
message: string;
|
|
361
|
+
summary?: string;
|
|
362
|
+
}>;
|
|
363
|
+
};
|
|
364
|
+
/**
|
|
365
|
+
* Response for status 403
|
|
366
|
+
*/
|
|
367
|
+
403: {
|
|
368
|
+
type: string;
|
|
369
|
+
title: string;
|
|
370
|
+
status: number;
|
|
371
|
+
detail?: string;
|
|
372
|
+
instance?: string;
|
|
373
|
+
code?: string;
|
|
374
|
+
errors?: Array<{
|
|
375
|
+
path: string;
|
|
376
|
+
message: string;
|
|
377
|
+
summary?: string;
|
|
378
|
+
}>;
|
|
379
|
+
};
|
|
380
|
+
/**
|
|
381
|
+
* Response for status 404
|
|
382
|
+
*/
|
|
383
|
+
404: {
|
|
384
|
+
type: string;
|
|
385
|
+
title: string;
|
|
386
|
+
status: number;
|
|
387
|
+
detail?: string;
|
|
388
|
+
instance?: string;
|
|
389
|
+
code?: string;
|
|
390
|
+
errors?: Array<{
|
|
391
|
+
path: string;
|
|
392
|
+
message: string;
|
|
393
|
+
summary?: string;
|
|
394
|
+
}>;
|
|
395
|
+
};
|
|
396
|
+
/**
|
|
397
|
+
* Response for status 422
|
|
398
|
+
*/
|
|
399
|
+
422: {
|
|
400
|
+
type: string;
|
|
401
|
+
title: string;
|
|
402
|
+
status: number;
|
|
403
|
+
detail?: string;
|
|
404
|
+
instance?: string;
|
|
405
|
+
code?: string;
|
|
406
|
+
errors?: Array<{
|
|
407
|
+
path: string;
|
|
408
|
+
message: string;
|
|
409
|
+
summary?: string;
|
|
410
|
+
}>;
|
|
411
|
+
};
|
|
412
|
+
/**
|
|
413
|
+
* Response for status 500
|
|
414
|
+
*/
|
|
415
|
+
500: {
|
|
416
|
+
type: string;
|
|
417
|
+
title: string;
|
|
418
|
+
status: number;
|
|
419
|
+
detail?: string;
|
|
420
|
+
instance?: string;
|
|
421
|
+
code?: string;
|
|
422
|
+
errors?: Array<{
|
|
423
|
+
path: string;
|
|
424
|
+
message: string;
|
|
425
|
+
summary?: string;
|
|
426
|
+
}>;
|
|
427
|
+
};
|
|
428
|
+
};
|
|
429
|
+
export type GetApiProjectsResolveError = GetApiProjectsResolveErrors[keyof GetApiProjectsResolveErrors];
|
|
430
|
+
export type GetApiProjectsResolveResponses = {
|
|
431
|
+
/**
|
|
432
|
+
* Response for status 200
|
|
433
|
+
*/
|
|
434
|
+
200: {
|
|
435
|
+
id: string;
|
|
436
|
+
name: string;
|
|
437
|
+
slug: string;
|
|
438
|
+
description: string | unknown;
|
|
439
|
+
gitUrl: string;
|
|
440
|
+
createdByUserId: string;
|
|
441
|
+
orgId: string;
|
|
442
|
+
ownerUsername: string | unknown;
|
|
443
|
+
memberships: Array<{
|
|
444
|
+
userId: string;
|
|
445
|
+
permissions: Array<string>;
|
|
446
|
+
createdAt: string;
|
|
447
|
+
updatedAt: string;
|
|
448
|
+
}>;
|
|
449
|
+
defaultPipelineAssignment: {
|
|
450
|
+
linearPipelineDefinitionId: string;
|
|
451
|
+
rulesJson: {
|
|
452
|
+
rules: Array<{
|
|
453
|
+
conditions: {
|
|
454
|
+
[key: string]: unknown;
|
|
455
|
+
};
|
|
456
|
+
event: {
|
|
457
|
+
type: string;
|
|
458
|
+
params?: {
|
|
459
|
+
[key: string]: unknown;
|
|
460
|
+
};
|
|
461
|
+
};
|
|
462
|
+
name?: string;
|
|
463
|
+
priority?: number;
|
|
464
|
+
[key: string]: unknown | {
|
|
465
|
+
[key: string]: unknown;
|
|
466
|
+
} | {
|
|
467
|
+
type: string;
|
|
468
|
+
params?: {
|
|
469
|
+
[key: string]: unknown;
|
|
470
|
+
};
|
|
471
|
+
} | string | number | undefined;
|
|
472
|
+
}>;
|
|
473
|
+
[key: string]: unknown | Array<{
|
|
474
|
+
conditions: {
|
|
475
|
+
[key: string]: unknown;
|
|
476
|
+
};
|
|
477
|
+
event: {
|
|
478
|
+
type: string;
|
|
479
|
+
params?: {
|
|
480
|
+
[key: string]: unknown;
|
|
481
|
+
};
|
|
482
|
+
};
|
|
483
|
+
name?: string;
|
|
484
|
+
priority?: number;
|
|
485
|
+
[key: string]: unknown | {
|
|
486
|
+
[key: string]: unknown;
|
|
487
|
+
} | {
|
|
488
|
+
type: string;
|
|
489
|
+
params?: {
|
|
490
|
+
[key: string]: unknown;
|
|
491
|
+
};
|
|
492
|
+
} | string | number | undefined;
|
|
493
|
+
}>;
|
|
494
|
+
};
|
|
495
|
+
defaultEventType: 'assign' | 'skip';
|
|
496
|
+
defaultEventParamsJson: {
|
|
497
|
+
[key: string]: unknown;
|
|
498
|
+
} | unknown;
|
|
499
|
+
allowedEventTypes: Array<'assign' | 'skip'>;
|
|
500
|
+
} | unknown;
|
|
501
|
+
createdAt: string;
|
|
502
|
+
updatedAt: string;
|
|
503
|
+
};
|
|
504
|
+
};
|
|
505
|
+
export type GetApiProjectsResolveResponse = GetApiProjectsResolveResponses[keyof GetApiProjectsResolveResponses];
|
|
334
506
|
export type GetApiProjectsByProjectIdWorkItemsData = {
|
|
335
507
|
body?: never;
|
|
336
508
|
path: {
|
|
@@ -438,6 +610,8 @@ export type GetApiProjectsByProjectIdWorkItemsResponses = {
|
|
|
438
610
|
sourceCreatedAt: string | unknown;
|
|
439
611
|
sourceUpdatedAt: string | unknown;
|
|
440
612
|
fields: unknown;
|
|
613
|
+
createdByUsername: string | unknown;
|
|
614
|
+
createdByImage: string | unknown;
|
|
441
615
|
createdAt: string;
|
|
442
616
|
updatedAt: string;
|
|
443
617
|
}>;
|
|
@@ -541,10 +715,12 @@ export type GetApiProjectsByProjectIdResponses = {
|
|
|
541
715
|
200: {
|
|
542
716
|
id: string;
|
|
543
717
|
name: string;
|
|
718
|
+
slug: string;
|
|
544
719
|
description: string | unknown;
|
|
545
720
|
gitUrl: string;
|
|
546
721
|
createdByUserId: string;
|
|
547
722
|
orgId: string;
|
|
723
|
+
ownerUsername: string | unknown;
|
|
548
724
|
memberships: Array<{
|
|
549
725
|
userId: string;
|
|
550
726
|
permissions: Array<string>;
|
|
@@ -848,10 +1024,12 @@ export type PutApiProjectsByProjectIdDefaultPipelineAssignmentResponses = {
|
|
|
848
1024
|
200: {
|
|
849
1025
|
id: string;
|
|
850
1026
|
name: string;
|
|
1027
|
+
slug: string;
|
|
851
1028
|
description: string | unknown;
|
|
852
1029
|
gitUrl: string;
|
|
853
1030
|
createdByUserId: string;
|
|
854
1031
|
orgId: string;
|
|
1032
|
+
ownerUsername: string | unknown;
|
|
855
1033
|
memberships: Array<{
|
|
856
1034
|
userId: string;
|
|
857
1035
|
permissions: Array<string>;
|
|
@@ -1014,10 +1192,12 @@ export type PutApiProjectsByProjectIdMembersByUserIdPermissionsResponses = {
|
|
|
1014
1192
|
200: {
|
|
1015
1193
|
id: string;
|
|
1016
1194
|
name: string;
|
|
1195
|
+
slug: string;
|
|
1017
1196
|
description: string | unknown;
|
|
1018
1197
|
gitUrl: string;
|
|
1019
1198
|
createdByUserId: string;
|
|
1020
1199
|
orgId: string;
|
|
1200
|
+
ownerUsername: string | unknown;
|
|
1021
1201
|
memberships: Array<{
|
|
1022
1202
|
userId: string;
|
|
1023
1203
|
permissions: Array<string>;
|
|
@@ -3123,7 +3303,6 @@ export type PostApiStepExecutionsByStepExecutionIdWorkerContextResponses = {
|
|
|
3123
3303
|
200: {
|
|
3124
3304
|
projectId: string;
|
|
3125
3305
|
gitUrl: string;
|
|
3126
|
-
requestedBranch: string | unknown;
|
|
3127
3306
|
baseWorkBranch: string | unknown;
|
|
3128
3307
|
projectOpencodeConfig: {
|
|
3129
3308
|
relativePath: string;
|
|
@@ -8770,6 +8949,8 @@ export type PostApiWorkItemsResponses = {
|
|
|
8770
8949
|
sourceCreatedAt: string | unknown;
|
|
8771
8950
|
sourceUpdatedAt: string | unknown;
|
|
8772
8951
|
fields: unknown;
|
|
8952
|
+
createdByUsername: string | unknown;
|
|
8953
|
+
createdByImage: string | unknown;
|
|
8773
8954
|
createdAt: string;
|
|
8774
8955
|
updatedAt: string;
|
|
8775
8956
|
};
|
|
@@ -8907,6 +9088,8 @@ export type PutApiWorkItemsResponses = {
|
|
|
8907
9088
|
sourceCreatedAt: string | unknown;
|
|
8908
9089
|
sourceUpdatedAt: string | unknown;
|
|
8909
9090
|
fields: unknown;
|
|
9091
|
+
createdByUsername: string | unknown;
|
|
9092
|
+
createdByImage: string | unknown;
|
|
8910
9093
|
createdAt: string;
|
|
8911
9094
|
updatedAt: string;
|
|
8912
9095
|
};
|
|
@@ -9117,6 +9300,8 @@ export type GetApiWorkItemsBatchResponses = {
|
|
|
9117
9300
|
sourceCreatedAt: string | unknown;
|
|
9118
9301
|
sourceUpdatedAt: string | unknown;
|
|
9119
9302
|
fields: unknown;
|
|
9303
|
+
createdByUsername: string | unknown;
|
|
9304
|
+
createdByImage: string | unknown;
|
|
9120
9305
|
createdAt: string;
|
|
9121
9306
|
updatedAt: string;
|
|
9122
9307
|
}>;
|
|
@@ -9270,6 +9455,8 @@ export type PostApiWorkItemsBatchResponses = {
|
|
|
9270
9455
|
sourceCreatedAt: string | unknown;
|
|
9271
9456
|
sourceUpdatedAt: string | unknown;
|
|
9272
9457
|
fields: unknown;
|
|
9458
|
+
createdByUsername: string | unknown;
|
|
9459
|
+
createdByImage: string | unknown;
|
|
9273
9460
|
createdAt: string;
|
|
9274
9461
|
updatedAt: string;
|
|
9275
9462
|
}>;
|
|
@@ -9407,6 +9594,8 @@ export type PutApiWorkItemsBatchResponses = {
|
|
|
9407
9594
|
sourceCreatedAt: string | unknown;
|
|
9408
9595
|
sourceUpdatedAt: string | unknown;
|
|
9409
9596
|
fields: unknown;
|
|
9597
|
+
createdByUsername: string | unknown;
|
|
9598
|
+
createdByImage: string | unknown;
|
|
9410
9599
|
createdAt: string;
|
|
9411
9600
|
updatedAt: string;
|
|
9412
9601
|
}>;
|
|
@@ -9617,20 +9806,38 @@ export type GetApiWorkItemsByWorkItemIdResponses = {
|
|
|
9617
9806
|
sourceCreatedAt: string | unknown;
|
|
9618
9807
|
sourceUpdatedAt: string | unknown;
|
|
9619
9808
|
fields: unknown;
|
|
9809
|
+
createdByUsername: string | unknown;
|
|
9810
|
+
createdByImage: string | unknown;
|
|
9620
9811
|
createdAt: string;
|
|
9621
9812
|
updatedAt: string;
|
|
9622
9813
|
};
|
|
9623
9814
|
};
|
|
9624
9815
|
export type GetApiWorkItemsByWorkItemIdResponse = GetApiWorkItemsByWorkItemIdResponses[keyof GetApiWorkItemsByWorkItemIdResponses];
|
|
9625
|
-
export type
|
|
9816
|
+
export type GetApiWorkItemCommentsData = {
|
|
9626
9817
|
body?: never;
|
|
9627
|
-
path
|
|
9628
|
-
|
|
9818
|
+
path?: never;
|
|
9819
|
+
query: {
|
|
9820
|
+
workItemId: string;
|
|
9629
9821
|
};
|
|
9630
|
-
|
|
9631
|
-
url: '/api/projects/{projectId}/context-entries';
|
|
9822
|
+
url: '/api/work-item-comments';
|
|
9632
9823
|
};
|
|
9633
|
-
export type
|
|
9824
|
+
export type GetApiWorkItemCommentsErrors = {
|
|
9825
|
+
/**
|
|
9826
|
+
* Response for status 400
|
|
9827
|
+
*/
|
|
9828
|
+
400: {
|
|
9829
|
+
type: string;
|
|
9830
|
+
title: string;
|
|
9831
|
+
status: number;
|
|
9832
|
+
detail?: string;
|
|
9833
|
+
instance?: string;
|
|
9834
|
+
code?: string;
|
|
9835
|
+
errors?: Array<{
|
|
9836
|
+
path: string;
|
|
9837
|
+
message: string;
|
|
9838
|
+
summary?: string;
|
|
9839
|
+
}>;
|
|
9840
|
+
};
|
|
9634
9841
|
/**
|
|
9635
9842
|
* Response for status 401
|
|
9636
9843
|
*/
|
|
@@ -9712,32 +9919,35 @@ export type GetApiProjectsByProjectIdContextEntriesErrors = {
|
|
|
9712
9919
|
}>;
|
|
9713
9920
|
};
|
|
9714
9921
|
};
|
|
9715
|
-
export type
|
|
9716
|
-
export type
|
|
9922
|
+
export type GetApiWorkItemCommentsError = GetApiWorkItemCommentsErrors[keyof GetApiWorkItemCommentsErrors];
|
|
9923
|
+
export type GetApiWorkItemCommentsResponses = {
|
|
9717
9924
|
/**
|
|
9718
9925
|
* Response for status 200
|
|
9719
9926
|
*/
|
|
9720
9927
|
200: Array<{
|
|
9721
9928
|
id: string;
|
|
9722
9929
|
projectId: string;
|
|
9723
|
-
|
|
9724
|
-
|
|
9725
|
-
|
|
9726
|
-
|
|
9930
|
+
workItemId: string;
|
|
9931
|
+
authorUserId: string;
|
|
9932
|
+
authorUsername: string | unknown;
|
|
9933
|
+
authorImage: string | unknown;
|
|
9934
|
+
body: string;
|
|
9935
|
+
isPinned: boolean;
|
|
9727
9936
|
createdAt: string;
|
|
9728
9937
|
updatedAt: string;
|
|
9729
9938
|
}>;
|
|
9730
9939
|
};
|
|
9731
|
-
export type
|
|
9732
|
-
export type
|
|
9733
|
-
body:
|
|
9734
|
-
|
|
9735
|
-
|
|
9940
|
+
export type GetApiWorkItemCommentsResponse = GetApiWorkItemCommentsResponses[keyof GetApiWorkItemCommentsResponses];
|
|
9941
|
+
export type PostApiWorkItemCommentsData = {
|
|
9942
|
+
body: {
|
|
9943
|
+
workItemId: string;
|
|
9944
|
+
body: string;
|
|
9736
9945
|
};
|
|
9946
|
+
path?: never;
|
|
9737
9947
|
query?: never;
|
|
9738
|
-
url: '/api/
|
|
9948
|
+
url: '/api/work-item-comments';
|
|
9739
9949
|
};
|
|
9740
|
-
export type
|
|
9950
|
+
export type PostApiWorkItemCommentsErrors = {
|
|
9741
9951
|
/**
|
|
9742
9952
|
* Response for status 400
|
|
9743
9953
|
*/
|
|
@@ -9835,33 +10045,50 @@ export type PostApiProjectsByProjectIdContextEntriesErrors = {
|
|
|
9835
10045
|
}>;
|
|
9836
10046
|
};
|
|
9837
10047
|
};
|
|
9838
|
-
export type
|
|
9839
|
-
export type
|
|
10048
|
+
export type PostApiWorkItemCommentsError = PostApiWorkItemCommentsErrors[keyof PostApiWorkItemCommentsErrors];
|
|
10049
|
+
export type PostApiWorkItemCommentsResponses = {
|
|
9840
10050
|
/**
|
|
9841
10051
|
* Response for status 200
|
|
9842
10052
|
*/
|
|
9843
10053
|
200: {
|
|
9844
10054
|
id: string;
|
|
9845
10055
|
projectId: string;
|
|
9846
|
-
|
|
9847
|
-
|
|
9848
|
-
|
|
9849
|
-
|
|
10056
|
+
workItemId: string;
|
|
10057
|
+
authorUserId: string;
|
|
10058
|
+
authorUsername: string | unknown;
|
|
10059
|
+
authorImage: string | unknown;
|
|
10060
|
+
body: string;
|
|
10061
|
+
isPinned: boolean;
|
|
9850
10062
|
createdAt: string;
|
|
9851
10063
|
updatedAt: string;
|
|
9852
10064
|
};
|
|
9853
10065
|
};
|
|
9854
|
-
export type
|
|
9855
|
-
export type
|
|
10066
|
+
export type PostApiWorkItemCommentsResponse = PostApiWorkItemCommentsResponses[keyof PostApiWorkItemCommentsResponses];
|
|
10067
|
+
export type DeleteApiWorkItemCommentsByCommentIdData = {
|
|
9856
10068
|
body?: never;
|
|
9857
10069
|
path: {
|
|
9858
|
-
|
|
9859
|
-
entryId: string;
|
|
10070
|
+
commentId: string;
|
|
9860
10071
|
};
|
|
9861
10072
|
query?: never;
|
|
9862
|
-
url: '/api/
|
|
10073
|
+
url: '/api/work-item-comments/{commentId}';
|
|
9863
10074
|
};
|
|
9864
|
-
export type
|
|
10075
|
+
export type DeleteApiWorkItemCommentsByCommentIdErrors = {
|
|
10076
|
+
/**
|
|
10077
|
+
* Response for status 400
|
|
10078
|
+
*/
|
|
10079
|
+
400: {
|
|
10080
|
+
type: string;
|
|
10081
|
+
title: string;
|
|
10082
|
+
status: number;
|
|
10083
|
+
detail?: string;
|
|
10084
|
+
instance?: string;
|
|
10085
|
+
code?: string;
|
|
10086
|
+
errors?: Array<{
|
|
10087
|
+
path: string;
|
|
10088
|
+
message: string;
|
|
10089
|
+
summary?: string;
|
|
10090
|
+
}>;
|
|
10091
|
+
};
|
|
9865
10092
|
/**
|
|
9866
10093
|
* Response for status 401
|
|
9867
10094
|
*/
|
|
@@ -9943,29 +10170,29 @@ export type DeleteApiProjectsByProjectIdContextEntriesByEntryIdErrors = {
|
|
|
9943
10170
|
}>;
|
|
9944
10171
|
};
|
|
9945
10172
|
};
|
|
9946
|
-
export type
|
|
9947
|
-
export type
|
|
10173
|
+
export type DeleteApiWorkItemCommentsByCommentIdError = DeleteApiWorkItemCommentsByCommentIdErrors[keyof DeleteApiWorkItemCommentsByCommentIdErrors];
|
|
10174
|
+
export type DeleteApiWorkItemCommentsByCommentIdResponses = {
|
|
9948
10175
|
/**
|
|
9949
10176
|
* Response for status 200
|
|
9950
10177
|
*/
|
|
9951
|
-
200:
|
|
10178
|
+
200: number;
|
|
9952
10179
|
};
|
|
9953
|
-
export type
|
|
9954
|
-
|
|
9955
|
-
|
|
9956
|
-
|
|
10180
|
+
export type DeleteApiWorkItemCommentsByCommentIdResponse = DeleteApiWorkItemCommentsByCommentIdResponses[keyof DeleteApiWorkItemCommentsByCommentIdResponses];
|
|
10181
|
+
export type PatchApiWorkItemCommentsByCommentIdData = {
|
|
10182
|
+
body: {
|
|
10183
|
+
body: string;
|
|
9957
10184
|
};
|
|
9958
|
-
|
|
9959
|
-
|
|
9960
|
-
status?: 'pending' | 'delivered' | 'partially_delivered' | 'suppressed' | 'failed';
|
|
10185
|
+
path: {
|
|
10186
|
+
commentId: string;
|
|
9961
10187
|
};
|
|
9962
|
-
|
|
10188
|
+
query?: never;
|
|
10189
|
+
url: '/api/work-item-comments/{commentId}';
|
|
9963
10190
|
};
|
|
9964
|
-
export type
|
|
10191
|
+
export type PatchApiWorkItemCommentsByCommentIdErrors = {
|
|
9965
10192
|
/**
|
|
9966
|
-
* Response for status
|
|
10193
|
+
* Response for status 400
|
|
9967
10194
|
*/
|
|
9968
|
-
|
|
10195
|
+
400: {
|
|
9969
10196
|
type: string;
|
|
9970
10197
|
title: string;
|
|
9971
10198
|
status: number;
|
|
@@ -9979,9 +10206,592 @@ export type GetApiProjectsByProjectIdNotificationsErrors = {
|
|
|
9979
10206
|
}>;
|
|
9980
10207
|
};
|
|
9981
10208
|
/**
|
|
9982
|
-
* Response for status
|
|
10209
|
+
* Response for status 401
|
|
9983
10210
|
*/
|
|
9984
|
-
|
|
10211
|
+
401: {
|
|
10212
|
+
type: string;
|
|
10213
|
+
title: string;
|
|
10214
|
+
status: number;
|
|
10215
|
+
detail?: string;
|
|
10216
|
+
instance?: string;
|
|
10217
|
+
code?: string;
|
|
10218
|
+
errors?: Array<{
|
|
10219
|
+
path: string;
|
|
10220
|
+
message: string;
|
|
10221
|
+
summary?: string;
|
|
10222
|
+
}>;
|
|
10223
|
+
};
|
|
10224
|
+
/**
|
|
10225
|
+
* Response for status 403
|
|
10226
|
+
*/
|
|
10227
|
+
403: {
|
|
10228
|
+
type: string;
|
|
10229
|
+
title: string;
|
|
10230
|
+
status: number;
|
|
10231
|
+
detail?: string;
|
|
10232
|
+
instance?: string;
|
|
10233
|
+
code?: string;
|
|
10234
|
+
errors?: Array<{
|
|
10235
|
+
path: string;
|
|
10236
|
+
message: string;
|
|
10237
|
+
summary?: string;
|
|
10238
|
+
}>;
|
|
10239
|
+
};
|
|
10240
|
+
/**
|
|
10241
|
+
* Response for status 404
|
|
10242
|
+
*/
|
|
10243
|
+
404: {
|
|
10244
|
+
type: string;
|
|
10245
|
+
title: string;
|
|
10246
|
+
status: number;
|
|
10247
|
+
detail?: string;
|
|
10248
|
+
instance?: string;
|
|
10249
|
+
code?: string;
|
|
10250
|
+
errors?: Array<{
|
|
10251
|
+
path: string;
|
|
10252
|
+
message: string;
|
|
10253
|
+
summary?: string;
|
|
10254
|
+
}>;
|
|
10255
|
+
};
|
|
10256
|
+
/**
|
|
10257
|
+
* Response for status 422
|
|
10258
|
+
*/
|
|
10259
|
+
422: {
|
|
10260
|
+
type: string;
|
|
10261
|
+
title: string;
|
|
10262
|
+
status: number;
|
|
10263
|
+
detail?: string;
|
|
10264
|
+
instance?: string;
|
|
10265
|
+
code?: string;
|
|
10266
|
+
errors?: Array<{
|
|
10267
|
+
path: string;
|
|
10268
|
+
message: string;
|
|
10269
|
+
summary?: string;
|
|
10270
|
+
}>;
|
|
10271
|
+
};
|
|
10272
|
+
/**
|
|
10273
|
+
* Response for status 500
|
|
10274
|
+
*/
|
|
10275
|
+
500: {
|
|
10276
|
+
type: string;
|
|
10277
|
+
title: string;
|
|
10278
|
+
status: number;
|
|
10279
|
+
detail?: string;
|
|
10280
|
+
instance?: string;
|
|
10281
|
+
code?: string;
|
|
10282
|
+
errors?: Array<{
|
|
10283
|
+
path: string;
|
|
10284
|
+
message: string;
|
|
10285
|
+
summary?: string;
|
|
10286
|
+
}>;
|
|
10287
|
+
};
|
|
10288
|
+
};
|
|
10289
|
+
export type PatchApiWorkItemCommentsByCommentIdError = PatchApiWorkItemCommentsByCommentIdErrors[keyof PatchApiWorkItemCommentsByCommentIdErrors];
|
|
10290
|
+
export type PatchApiWorkItemCommentsByCommentIdResponses = {
|
|
10291
|
+
/**
|
|
10292
|
+
* Response for status 200
|
|
10293
|
+
*/
|
|
10294
|
+
200: {
|
|
10295
|
+
id: string;
|
|
10296
|
+
projectId: string;
|
|
10297
|
+
workItemId: string;
|
|
10298
|
+
authorUserId: string;
|
|
10299
|
+
authorUsername: string | unknown;
|
|
10300
|
+
authorImage: string | unknown;
|
|
10301
|
+
body: string;
|
|
10302
|
+
isPinned: boolean;
|
|
10303
|
+
createdAt: string;
|
|
10304
|
+
updatedAt: string;
|
|
10305
|
+
};
|
|
10306
|
+
};
|
|
10307
|
+
export type PatchApiWorkItemCommentsByCommentIdResponse = PatchApiWorkItemCommentsByCommentIdResponses[keyof PatchApiWorkItemCommentsByCommentIdResponses];
|
|
10308
|
+
export type PostApiWorkItemCommentsByCommentIdPinData = {
|
|
10309
|
+
body: {
|
|
10310
|
+
isPinned: boolean;
|
|
10311
|
+
};
|
|
10312
|
+
path: {
|
|
10313
|
+
commentId: string;
|
|
10314
|
+
};
|
|
10315
|
+
query?: never;
|
|
10316
|
+
url: '/api/work-item-comments/{commentId}/pin';
|
|
10317
|
+
};
|
|
10318
|
+
export type PostApiWorkItemCommentsByCommentIdPinErrors = {
|
|
10319
|
+
/**
|
|
10320
|
+
* Response for status 400
|
|
10321
|
+
*/
|
|
10322
|
+
400: {
|
|
10323
|
+
type: string;
|
|
10324
|
+
title: string;
|
|
10325
|
+
status: number;
|
|
10326
|
+
detail?: string;
|
|
10327
|
+
instance?: string;
|
|
10328
|
+
code?: string;
|
|
10329
|
+
errors?: Array<{
|
|
10330
|
+
path: string;
|
|
10331
|
+
message: string;
|
|
10332
|
+
summary?: string;
|
|
10333
|
+
}>;
|
|
10334
|
+
};
|
|
10335
|
+
/**
|
|
10336
|
+
* Response for status 401
|
|
10337
|
+
*/
|
|
10338
|
+
401: {
|
|
10339
|
+
type: string;
|
|
10340
|
+
title: string;
|
|
10341
|
+
status: number;
|
|
10342
|
+
detail?: string;
|
|
10343
|
+
instance?: string;
|
|
10344
|
+
code?: string;
|
|
10345
|
+
errors?: Array<{
|
|
10346
|
+
path: string;
|
|
10347
|
+
message: string;
|
|
10348
|
+
summary?: string;
|
|
10349
|
+
}>;
|
|
10350
|
+
};
|
|
10351
|
+
/**
|
|
10352
|
+
* Response for status 403
|
|
10353
|
+
*/
|
|
10354
|
+
403: {
|
|
10355
|
+
type: string;
|
|
10356
|
+
title: string;
|
|
10357
|
+
status: number;
|
|
10358
|
+
detail?: string;
|
|
10359
|
+
instance?: string;
|
|
10360
|
+
code?: string;
|
|
10361
|
+
errors?: Array<{
|
|
10362
|
+
path: string;
|
|
10363
|
+
message: string;
|
|
10364
|
+
summary?: string;
|
|
10365
|
+
}>;
|
|
10366
|
+
};
|
|
10367
|
+
/**
|
|
10368
|
+
* Response for status 404
|
|
10369
|
+
*/
|
|
10370
|
+
404: {
|
|
10371
|
+
type: string;
|
|
10372
|
+
title: string;
|
|
10373
|
+
status: number;
|
|
10374
|
+
detail?: string;
|
|
10375
|
+
instance?: string;
|
|
10376
|
+
code?: string;
|
|
10377
|
+
errors?: Array<{
|
|
10378
|
+
path: string;
|
|
10379
|
+
message: string;
|
|
10380
|
+
summary?: string;
|
|
10381
|
+
}>;
|
|
10382
|
+
};
|
|
10383
|
+
/**
|
|
10384
|
+
* Response for status 422
|
|
10385
|
+
*/
|
|
10386
|
+
422: {
|
|
10387
|
+
type: string;
|
|
10388
|
+
title: string;
|
|
10389
|
+
status: number;
|
|
10390
|
+
detail?: string;
|
|
10391
|
+
instance?: string;
|
|
10392
|
+
code?: string;
|
|
10393
|
+
errors?: Array<{
|
|
10394
|
+
path: string;
|
|
10395
|
+
message: string;
|
|
10396
|
+
summary?: string;
|
|
10397
|
+
}>;
|
|
10398
|
+
};
|
|
10399
|
+
/**
|
|
10400
|
+
* Response for status 500
|
|
10401
|
+
*/
|
|
10402
|
+
500: {
|
|
10403
|
+
type: string;
|
|
10404
|
+
title: string;
|
|
10405
|
+
status: number;
|
|
10406
|
+
detail?: string;
|
|
10407
|
+
instance?: string;
|
|
10408
|
+
code?: string;
|
|
10409
|
+
errors?: Array<{
|
|
10410
|
+
path: string;
|
|
10411
|
+
message: string;
|
|
10412
|
+
summary?: string;
|
|
10413
|
+
}>;
|
|
10414
|
+
};
|
|
10415
|
+
};
|
|
10416
|
+
export type PostApiWorkItemCommentsByCommentIdPinError = PostApiWorkItemCommentsByCommentIdPinErrors[keyof PostApiWorkItemCommentsByCommentIdPinErrors];
|
|
10417
|
+
export type PostApiWorkItemCommentsByCommentIdPinResponses = {
|
|
10418
|
+
/**
|
|
10419
|
+
* Response for status 200
|
|
10420
|
+
*/
|
|
10421
|
+
200: {
|
|
10422
|
+
id: string;
|
|
10423
|
+
projectId: string;
|
|
10424
|
+
workItemId: string;
|
|
10425
|
+
authorUserId: string;
|
|
10426
|
+
authorUsername: string | unknown;
|
|
10427
|
+
authorImage: string | unknown;
|
|
10428
|
+
body: string;
|
|
10429
|
+
isPinned: boolean;
|
|
10430
|
+
createdAt: string;
|
|
10431
|
+
updatedAt: string;
|
|
10432
|
+
};
|
|
10433
|
+
};
|
|
10434
|
+
export type PostApiWorkItemCommentsByCommentIdPinResponse = PostApiWorkItemCommentsByCommentIdPinResponses[keyof PostApiWorkItemCommentsByCommentIdPinResponses];
|
|
10435
|
+
export type GetApiProjectsByProjectIdContextEntriesData = {
|
|
10436
|
+
body?: never;
|
|
10437
|
+
path: {
|
|
10438
|
+
projectId: string;
|
|
10439
|
+
};
|
|
10440
|
+
query?: never;
|
|
10441
|
+
url: '/api/projects/{projectId}/context-entries';
|
|
10442
|
+
};
|
|
10443
|
+
export type GetApiProjectsByProjectIdContextEntriesErrors = {
|
|
10444
|
+
/**
|
|
10445
|
+
* Response for status 401
|
|
10446
|
+
*/
|
|
10447
|
+
401: {
|
|
10448
|
+
type: string;
|
|
10449
|
+
title: string;
|
|
10450
|
+
status: number;
|
|
10451
|
+
detail?: string;
|
|
10452
|
+
instance?: string;
|
|
10453
|
+
code?: string;
|
|
10454
|
+
errors?: Array<{
|
|
10455
|
+
path: string;
|
|
10456
|
+
message: string;
|
|
10457
|
+
summary?: string;
|
|
10458
|
+
}>;
|
|
10459
|
+
};
|
|
10460
|
+
/**
|
|
10461
|
+
* Response for status 403
|
|
10462
|
+
*/
|
|
10463
|
+
403: {
|
|
10464
|
+
type: string;
|
|
10465
|
+
title: string;
|
|
10466
|
+
status: number;
|
|
10467
|
+
detail?: string;
|
|
10468
|
+
instance?: string;
|
|
10469
|
+
code?: string;
|
|
10470
|
+
errors?: Array<{
|
|
10471
|
+
path: string;
|
|
10472
|
+
message: string;
|
|
10473
|
+
summary?: string;
|
|
10474
|
+
}>;
|
|
10475
|
+
};
|
|
10476
|
+
/**
|
|
10477
|
+
* Response for status 404
|
|
10478
|
+
*/
|
|
10479
|
+
404: {
|
|
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 GetApiProjectsByProjectIdContextEntriesError = GetApiProjectsByProjectIdContextEntriesErrors[keyof GetApiProjectsByProjectIdContextEntriesErrors];
|
|
10526
|
+
export type GetApiProjectsByProjectIdContextEntriesResponses = {
|
|
10527
|
+
/**
|
|
10528
|
+
* Response for status 200
|
|
10529
|
+
*/
|
|
10530
|
+
200: Array<{
|
|
10531
|
+
id: string;
|
|
10532
|
+
projectId: string;
|
|
10533
|
+
category: 'persona' | 'product' | 'workflows' | 'glossary' | 'compliance' | 'billing' | 'app-surfaces';
|
|
10534
|
+
key: string;
|
|
10535
|
+
value: string;
|
|
10536
|
+
createdByUserId: string | unknown;
|
|
10537
|
+
createdAt: string;
|
|
10538
|
+
updatedAt: string;
|
|
10539
|
+
}>;
|
|
10540
|
+
};
|
|
10541
|
+
export type GetApiProjectsByProjectIdContextEntriesResponse = GetApiProjectsByProjectIdContextEntriesResponses[keyof GetApiProjectsByProjectIdContextEntriesResponses];
|
|
10542
|
+
export type PostApiProjectsByProjectIdContextEntriesData = {
|
|
10543
|
+
body: unknown;
|
|
10544
|
+
path: {
|
|
10545
|
+
projectId: string;
|
|
10546
|
+
};
|
|
10547
|
+
query?: never;
|
|
10548
|
+
url: '/api/projects/{projectId}/context-entries';
|
|
10549
|
+
};
|
|
10550
|
+
export type PostApiProjectsByProjectIdContextEntriesErrors = {
|
|
10551
|
+
/**
|
|
10552
|
+
* Response for status 400
|
|
10553
|
+
*/
|
|
10554
|
+
400: {
|
|
10555
|
+
type: string;
|
|
10556
|
+
title: string;
|
|
10557
|
+
status: number;
|
|
10558
|
+
detail?: string;
|
|
10559
|
+
instance?: string;
|
|
10560
|
+
code?: string;
|
|
10561
|
+
errors?: Array<{
|
|
10562
|
+
path: string;
|
|
10563
|
+
message: string;
|
|
10564
|
+
summary?: string;
|
|
10565
|
+
}>;
|
|
10566
|
+
};
|
|
10567
|
+
/**
|
|
10568
|
+
* Response for status 401
|
|
10569
|
+
*/
|
|
10570
|
+
401: {
|
|
10571
|
+
type: string;
|
|
10572
|
+
title: string;
|
|
10573
|
+
status: number;
|
|
10574
|
+
detail?: string;
|
|
10575
|
+
instance?: string;
|
|
10576
|
+
code?: string;
|
|
10577
|
+
errors?: Array<{
|
|
10578
|
+
path: string;
|
|
10579
|
+
message: string;
|
|
10580
|
+
summary?: string;
|
|
10581
|
+
}>;
|
|
10582
|
+
};
|
|
10583
|
+
/**
|
|
10584
|
+
* Response for status 403
|
|
10585
|
+
*/
|
|
10586
|
+
403: {
|
|
10587
|
+
type: string;
|
|
10588
|
+
title: string;
|
|
10589
|
+
status: number;
|
|
10590
|
+
detail?: string;
|
|
10591
|
+
instance?: string;
|
|
10592
|
+
code?: string;
|
|
10593
|
+
errors?: Array<{
|
|
10594
|
+
path: string;
|
|
10595
|
+
message: string;
|
|
10596
|
+
summary?: string;
|
|
10597
|
+
}>;
|
|
10598
|
+
};
|
|
10599
|
+
/**
|
|
10600
|
+
* Response for status 404
|
|
10601
|
+
*/
|
|
10602
|
+
404: {
|
|
10603
|
+
type: string;
|
|
10604
|
+
title: string;
|
|
10605
|
+
status: number;
|
|
10606
|
+
detail?: string;
|
|
10607
|
+
instance?: string;
|
|
10608
|
+
code?: string;
|
|
10609
|
+
errors?: Array<{
|
|
10610
|
+
path: string;
|
|
10611
|
+
message: string;
|
|
10612
|
+
summary?: string;
|
|
10613
|
+
}>;
|
|
10614
|
+
};
|
|
10615
|
+
/**
|
|
10616
|
+
* Response for status 422
|
|
10617
|
+
*/
|
|
10618
|
+
422: {
|
|
10619
|
+
type: string;
|
|
10620
|
+
title: string;
|
|
10621
|
+
status: number;
|
|
10622
|
+
detail?: string;
|
|
10623
|
+
instance?: string;
|
|
10624
|
+
code?: string;
|
|
10625
|
+
errors?: Array<{
|
|
10626
|
+
path: string;
|
|
10627
|
+
message: string;
|
|
10628
|
+
summary?: string;
|
|
10629
|
+
}>;
|
|
10630
|
+
};
|
|
10631
|
+
/**
|
|
10632
|
+
* Response for status 500
|
|
10633
|
+
*/
|
|
10634
|
+
500: {
|
|
10635
|
+
type: string;
|
|
10636
|
+
title: string;
|
|
10637
|
+
status: number;
|
|
10638
|
+
detail?: string;
|
|
10639
|
+
instance?: string;
|
|
10640
|
+
code?: string;
|
|
10641
|
+
errors?: Array<{
|
|
10642
|
+
path: string;
|
|
10643
|
+
message: string;
|
|
10644
|
+
summary?: string;
|
|
10645
|
+
}>;
|
|
10646
|
+
};
|
|
10647
|
+
};
|
|
10648
|
+
export type PostApiProjectsByProjectIdContextEntriesError = PostApiProjectsByProjectIdContextEntriesErrors[keyof PostApiProjectsByProjectIdContextEntriesErrors];
|
|
10649
|
+
export type PostApiProjectsByProjectIdContextEntriesResponses = {
|
|
10650
|
+
/**
|
|
10651
|
+
* Response for status 200
|
|
10652
|
+
*/
|
|
10653
|
+
200: {
|
|
10654
|
+
id: string;
|
|
10655
|
+
projectId: string;
|
|
10656
|
+
category: 'persona' | 'product' | 'workflows' | 'glossary' | 'compliance' | 'billing' | 'app-surfaces';
|
|
10657
|
+
key: string;
|
|
10658
|
+
value: string;
|
|
10659
|
+
createdByUserId: string | unknown;
|
|
10660
|
+
createdAt: string;
|
|
10661
|
+
updatedAt: string;
|
|
10662
|
+
};
|
|
10663
|
+
};
|
|
10664
|
+
export type PostApiProjectsByProjectIdContextEntriesResponse = PostApiProjectsByProjectIdContextEntriesResponses[keyof PostApiProjectsByProjectIdContextEntriesResponses];
|
|
10665
|
+
export type DeleteApiProjectsByProjectIdContextEntriesByEntryIdData = {
|
|
10666
|
+
body?: never;
|
|
10667
|
+
path: {
|
|
10668
|
+
projectId: string;
|
|
10669
|
+
entryId: string;
|
|
10670
|
+
};
|
|
10671
|
+
query?: never;
|
|
10672
|
+
url: '/api/projects/{projectId}/context-entries/{entryId}';
|
|
10673
|
+
};
|
|
10674
|
+
export type DeleteApiProjectsByProjectIdContextEntriesByEntryIdErrors = {
|
|
10675
|
+
/**
|
|
10676
|
+
* Response for status 401
|
|
10677
|
+
*/
|
|
10678
|
+
401: {
|
|
10679
|
+
type: string;
|
|
10680
|
+
title: string;
|
|
10681
|
+
status: number;
|
|
10682
|
+
detail?: string;
|
|
10683
|
+
instance?: string;
|
|
10684
|
+
code?: string;
|
|
10685
|
+
errors?: Array<{
|
|
10686
|
+
path: string;
|
|
10687
|
+
message: string;
|
|
10688
|
+
summary?: string;
|
|
10689
|
+
}>;
|
|
10690
|
+
};
|
|
10691
|
+
/**
|
|
10692
|
+
* Response for status 403
|
|
10693
|
+
*/
|
|
10694
|
+
403: {
|
|
10695
|
+
type: string;
|
|
10696
|
+
title: string;
|
|
10697
|
+
status: number;
|
|
10698
|
+
detail?: string;
|
|
10699
|
+
instance?: string;
|
|
10700
|
+
code?: string;
|
|
10701
|
+
errors?: Array<{
|
|
10702
|
+
path: string;
|
|
10703
|
+
message: string;
|
|
10704
|
+
summary?: string;
|
|
10705
|
+
}>;
|
|
10706
|
+
};
|
|
10707
|
+
/**
|
|
10708
|
+
* Response for status 404
|
|
10709
|
+
*/
|
|
10710
|
+
404: {
|
|
10711
|
+
type: string;
|
|
10712
|
+
title: string;
|
|
10713
|
+
status: number;
|
|
10714
|
+
detail?: string;
|
|
10715
|
+
instance?: string;
|
|
10716
|
+
code?: string;
|
|
10717
|
+
errors?: Array<{
|
|
10718
|
+
path: string;
|
|
10719
|
+
message: string;
|
|
10720
|
+
summary?: string;
|
|
10721
|
+
}>;
|
|
10722
|
+
};
|
|
10723
|
+
/**
|
|
10724
|
+
* Response for status 422
|
|
10725
|
+
*/
|
|
10726
|
+
422: {
|
|
10727
|
+
type: string;
|
|
10728
|
+
title: string;
|
|
10729
|
+
status: number;
|
|
10730
|
+
detail?: string;
|
|
10731
|
+
instance?: string;
|
|
10732
|
+
code?: string;
|
|
10733
|
+
errors?: Array<{
|
|
10734
|
+
path: string;
|
|
10735
|
+
message: string;
|
|
10736
|
+
summary?: string;
|
|
10737
|
+
}>;
|
|
10738
|
+
};
|
|
10739
|
+
/**
|
|
10740
|
+
* Response for status 500
|
|
10741
|
+
*/
|
|
10742
|
+
500: {
|
|
10743
|
+
type: string;
|
|
10744
|
+
title: string;
|
|
10745
|
+
status: number;
|
|
10746
|
+
detail?: string;
|
|
10747
|
+
instance?: string;
|
|
10748
|
+
code?: string;
|
|
10749
|
+
errors?: Array<{
|
|
10750
|
+
path: string;
|
|
10751
|
+
message: string;
|
|
10752
|
+
summary?: string;
|
|
10753
|
+
}>;
|
|
10754
|
+
};
|
|
10755
|
+
};
|
|
10756
|
+
export type DeleteApiProjectsByProjectIdContextEntriesByEntryIdError = DeleteApiProjectsByProjectIdContextEntriesByEntryIdErrors[keyof DeleteApiProjectsByProjectIdContextEntriesByEntryIdErrors];
|
|
10757
|
+
export type DeleteApiProjectsByProjectIdContextEntriesByEntryIdResponses = {
|
|
10758
|
+
/**
|
|
10759
|
+
* Response for status 200
|
|
10760
|
+
*/
|
|
10761
|
+
200: unknown;
|
|
10762
|
+
};
|
|
10763
|
+
export type GetApiProjectsByProjectIdNotificationsData = {
|
|
10764
|
+
body?: never;
|
|
10765
|
+
path: {
|
|
10766
|
+
projectId: string;
|
|
10767
|
+
};
|
|
10768
|
+
query?: {
|
|
10769
|
+
workItemId?: string;
|
|
10770
|
+
status?: 'pending' | 'delivered' | 'partially_delivered' | 'suppressed' | 'failed';
|
|
10771
|
+
};
|
|
10772
|
+
url: '/api/projects/{projectId}/notifications';
|
|
10773
|
+
};
|
|
10774
|
+
export type GetApiProjectsByProjectIdNotificationsErrors = {
|
|
10775
|
+
/**
|
|
10776
|
+
* Response for status 401
|
|
10777
|
+
*/
|
|
10778
|
+
401: {
|
|
10779
|
+
type: string;
|
|
10780
|
+
title: string;
|
|
10781
|
+
status: number;
|
|
10782
|
+
detail?: string;
|
|
10783
|
+
instance?: string;
|
|
10784
|
+
code?: string;
|
|
10785
|
+
errors?: Array<{
|
|
10786
|
+
path: string;
|
|
10787
|
+
message: string;
|
|
10788
|
+
summary?: string;
|
|
10789
|
+
}>;
|
|
10790
|
+
};
|
|
10791
|
+
/**
|
|
10792
|
+
* Response for status 403
|
|
10793
|
+
*/
|
|
10794
|
+
403: {
|
|
9985
10795
|
type: string;
|
|
9986
10796
|
title: string;
|
|
9987
10797
|
status: number;
|
|
@@ -11638,6 +12448,8 @@ export type GetApiProjectInvitesByTokenResponses = {
|
|
|
11638
12448
|
inviteId: string;
|
|
11639
12449
|
projectId: string;
|
|
11640
12450
|
projectName: string;
|
|
12451
|
+
projectSlug: string;
|
|
12452
|
+
ownerUsername: string | unknown;
|
|
11641
12453
|
role: 'admin' | 'contributor' | 'reviewer';
|
|
11642
12454
|
restriction: 'specific_email' | 'any_authenticated_user';
|
|
11643
12455
|
permissions: Array<string>;
|
|
@@ -12243,3 +13055,196 @@ export type GetApiOrgsByOrgIdUsageResponses = {
|
|
|
12243
13055
|
};
|
|
12244
13056
|
};
|
|
12245
13057
|
export type GetApiOrgsByOrgIdUsageResponse = GetApiOrgsByOrgIdUsageResponses[keyof GetApiOrgsByOrgIdUsageResponses];
|
|
13058
|
+
export type GetApiUsernameAvailableData = {
|
|
13059
|
+
body?: never;
|
|
13060
|
+
path?: never;
|
|
13061
|
+
query: {
|
|
13062
|
+
u: string;
|
|
13063
|
+
};
|
|
13064
|
+
url: '/api/username/available';
|
|
13065
|
+
};
|
|
13066
|
+
export type GetApiUsernameAvailableErrors = {
|
|
13067
|
+
/**
|
|
13068
|
+
* Response for status 401
|
|
13069
|
+
*/
|
|
13070
|
+
401: {
|
|
13071
|
+
type: string;
|
|
13072
|
+
title: string;
|
|
13073
|
+
status: number;
|
|
13074
|
+
detail?: string;
|
|
13075
|
+
instance?: string;
|
|
13076
|
+
code?: string;
|
|
13077
|
+
errors?: Array<{
|
|
13078
|
+
path: string;
|
|
13079
|
+
message: string;
|
|
13080
|
+
summary?: string;
|
|
13081
|
+
}>;
|
|
13082
|
+
};
|
|
13083
|
+
/**
|
|
13084
|
+
* Response for status 403
|
|
13085
|
+
*/
|
|
13086
|
+
403: {
|
|
13087
|
+
type: string;
|
|
13088
|
+
title: string;
|
|
13089
|
+
status: number;
|
|
13090
|
+
detail?: string;
|
|
13091
|
+
instance?: string;
|
|
13092
|
+
code?: string;
|
|
13093
|
+
errors?: Array<{
|
|
13094
|
+
path: string;
|
|
13095
|
+
message: string;
|
|
13096
|
+
summary?: string;
|
|
13097
|
+
}>;
|
|
13098
|
+
};
|
|
13099
|
+
/**
|
|
13100
|
+
* Response for status 422
|
|
13101
|
+
*/
|
|
13102
|
+
422: {
|
|
13103
|
+
type: string;
|
|
13104
|
+
title: string;
|
|
13105
|
+
status: number;
|
|
13106
|
+
detail?: string;
|
|
13107
|
+
instance?: string;
|
|
13108
|
+
code?: string;
|
|
13109
|
+
errors?: Array<{
|
|
13110
|
+
path: string;
|
|
13111
|
+
message: string;
|
|
13112
|
+
summary?: string;
|
|
13113
|
+
}>;
|
|
13114
|
+
};
|
|
13115
|
+
/**
|
|
13116
|
+
* Response for status 500
|
|
13117
|
+
*/
|
|
13118
|
+
500: {
|
|
13119
|
+
type: string;
|
|
13120
|
+
title: string;
|
|
13121
|
+
status: number;
|
|
13122
|
+
detail?: string;
|
|
13123
|
+
instance?: string;
|
|
13124
|
+
code?: string;
|
|
13125
|
+
errors?: Array<{
|
|
13126
|
+
path: string;
|
|
13127
|
+
message: string;
|
|
13128
|
+
summary?: string;
|
|
13129
|
+
}>;
|
|
13130
|
+
};
|
|
13131
|
+
};
|
|
13132
|
+
export type GetApiUsernameAvailableError = GetApiUsernameAvailableErrors[keyof GetApiUsernameAvailableErrors];
|
|
13133
|
+
export type GetApiUsernameAvailableResponses = {
|
|
13134
|
+
/**
|
|
13135
|
+
* Response for status 200
|
|
13136
|
+
*/
|
|
13137
|
+
200: {
|
|
13138
|
+
valid: boolean;
|
|
13139
|
+
available: boolean;
|
|
13140
|
+
};
|
|
13141
|
+
};
|
|
13142
|
+
export type GetApiUsernameAvailableResponse = GetApiUsernameAvailableResponses[keyof GetApiUsernameAvailableResponses];
|
|
13143
|
+
export type PostApiUsernameData = {
|
|
13144
|
+
body: {
|
|
13145
|
+
username: string;
|
|
13146
|
+
};
|
|
13147
|
+
path?: never;
|
|
13148
|
+
query?: never;
|
|
13149
|
+
url: '/api/username';
|
|
13150
|
+
};
|
|
13151
|
+
export type PostApiUsernameErrors = {
|
|
13152
|
+
/**
|
|
13153
|
+
* Response for status 401
|
|
13154
|
+
*/
|
|
13155
|
+
401: {
|
|
13156
|
+
type: string;
|
|
13157
|
+
title: string;
|
|
13158
|
+
status: number;
|
|
13159
|
+
detail?: string;
|
|
13160
|
+
instance?: string;
|
|
13161
|
+
code?: string;
|
|
13162
|
+
errors?: Array<{
|
|
13163
|
+
path: string;
|
|
13164
|
+
message: string;
|
|
13165
|
+
summary?: string;
|
|
13166
|
+
}>;
|
|
13167
|
+
};
|
|
13168
|
+
/**
|
|
13169
|
+
* Response for status 403
|
|
13170
|
+
*/
|
|
13171
|
+
403: {
|
|
13172
|
+
type: string;
|
|
13173
|
+
title: string;
|
|
13174
|
+
status: number;
|
|
13175
|
+
detail?: string;
|
|
13176
|
+
instance?: string;
|
|
13177
|
+
code?: string;
|
|
13178
|
+
errors?: Array<{
|
|
13179
|
+
path: string;
|
|
13180
|
+
message: string;
|
|
13181
|
+
summary?: string;
|
|
13182
|
+
}>;
|
|
13183
|
+
};
|
|
13184
|
+
/**
|
|
13185
|
+
* Response for status 409
|
|
13186
|
+
*/
|
|
13187
|
+
409: {
|
|
13188
|
+
type: string;
|
|
13189
|
+
title: string;
|
|
13190
|
+
status: number;
|
|
13191
|
+
detail?: string;
|
|
13192
|
+
instance?: string;
|
|
13193
|
+
code?: string;
|
|
13194
|
+
errors?: Array<{
|
|
13195
|
+
path: string;
|
|
13196
|
+
message: string;
|
|
13197
|
+
summary?: string;
|
|
13198
|
+
}>;
|
|
13199
|
+
};
|
|
13200
|
+
/**
|
|
13201
|
+
* Response for status 422
|
|
13202
|
+
*/
|
|
13203
|
+
422: {
|
|
13204
|
+
type: string;
|
|
13205
|
+
title: string;
|
|
13206
|
+
status: number;
|
|
13207
|
+
detail?: string;
|
|
13208
|
+
instance?: string;
|
|
13209
|
+
code?: string;
|
|
13210
|
+
errors?: Array<{
|
|
13211
|
+
path: string;
|
|
13212
|
+
message: string;
|
|
13213
|
+
summary?: string;
|
|
13214
|
+
}>;
|
|
13215
|
+
};
|
|
13216
|
+
/**
|
|
13217
|
+
* Response for status 500
|
|
13218
|
+
*/
|
|
13219
|
+
500: {
|
|
13220
|
+
type: string;
|
|
13221
|
+
title: string;
|
|
13222
|
+
status: number;
|
|
13223
|
+
detail?: string;
|
|
13224
|
+
instance?: string;
|
|
13225
|
+
code?: string;
|
|
13226
|
+
errors?: Array<{
|
|
13227
|
+
path: string;
|
|
13228
|
+
message: string;
|
|
13229
|
+
summary?: string;
|
|
13230
|
+
}>;
|
|
13231
|
+
};
|
|
13232
|
+
};
|
|
13233
|
+
export type PostApiUsernameError = PostApiUsernameErrors[keyof PostApiUsernameErrors];
|
|
13234
|
+
export type PostApiUsernameResponses = {
|
|
13235
|
+
/**
|
|
13236
|
+
* Response for status 200
|
|
13237
|
+
*/
|
|
13238
|
+
200: {
|
|
13239
|
+
id: string;
|
|
13240
|
+
email: string;
|
|
13241
|
+
username: string | unknown;
|
|
13242
|
+
name: string;
|
|
13243
|
+
emailVerified: boolean;
|
|
13244
|
+
usernameChosen: boolean;
|
|
13245
|
+
image: string | unknown;
|
|
13246
|
+
createdAt: string | unknown;
|
|
13247
|
+
updatedAt: string | unknown;
|
|
13248
|
+
};
|
|
13249
|
+
};
|
|
13250
|
+
export type PostApiUsernameResponse = PostApiUsernameResponses[keyof PostApiUsernameResponses];
|