@boboddy/sdk 0.1.43-alpha → 0.1.44-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 +33 -0
- package/dist/definitions/pipelines/index.js +32 -0
- package/dist/definitions/steps/define-step.d.ts +2 -1
- package/dist/definitions/steps/index.js +71 -24
- package/dist/definitions/steps/prompt-template.d.ts +10 -2
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/sdk.gen.d.ts +11 -1
- package/dist/generated/types.gen.d.ts +649 -0
- package/dist/index.js +72 -24
- package/dist/push/index.js +70 -24
- package/dist/step-execution-plane-client.d.ts +1 -0
- package/package.json +1 -1
|
@@ -605,6 +605,95 @@ export type GetApiProjectsByProjectIdResponses = {
|
|
|
605
605
|
};
|
|
606
606
|
};
|
|
607
607
|
export type GetApiProjectsByProjectIdResponse = GetApiProjectsByProjectIdResponses[keyof GetApiProjectsByProjectIdResponses];
|
|
608
|
+
export type GetApiProjectsByProjectIdWorkItemSignalScoresData = {
|
|
609
|
+
body?: never;
|
|
610
|
+
path: {
|
|
611
|
+
projectId: string;
|
|
612
|
+
};
|
|
613
|
+
query: {
|
|
614
|
+
pipelineDefinitionId: string;
|
|
615
|
+
stepKey: string;
|
|
616
|
+
signalKey: string;
|
|
617
|
+
};
|
|
618
|
+
url: '/api/projects/{projectId}/work-item-signal-scores';
|
|
619
|
+
};
|
|
620
|
+
export type GetApiProjectsByProjectIdWorkItemSignalScoresErrors = {
|
|
621
|
+
/**
|
|
622
|
+
* Response for status 401
|
|
623
|
+
*/
|
|
624
|
+
401: {
|
|
625
|
+
type: string;
|
|
626
|
+
title: string;
|
|
627
|
+
status: number;
|
|
628
|
+
detail?: string;
|
|
629
|
+
instance?: string;
|
|
630
|
+
code?: string;
|
|
631
|
+
errors?: Array<{
|
|
632
|
+
path: string;
|
|
633
|
+
message: string;
|
|
634
|
+
summary?: string;
|
|
635
|
+
}>;
|
|
636
|
+
};
|
|
637
|
+
/**
|
|
638
|
+
* Response for status 403
|
|
639
|
+
*/
|
|
640
|
+
403: {
|
|
641
|
+
type: string;
|
|
642
|
+
title: string;
|
|
643
|
+
status: number;
|
|
644
|
+
detail?: string;
|
|
645
|
+
instance?: string;
|
|
646
|
+
code?: string;
|
|
647
|
+
errors?: Array<{
|
|
648
|
+
path: string;
|
|
649
|
+
message: string;
|
|
650
|
+
summary?: string;
|
|
651
|
+
}>;
|
|
652
|
+
};
|
|
653
|
+
/**
|
|
654
|
+
* Response for status 422
|
|
655
|
+
*/
|
|
656
|
+
422: {
|
|
657
|
+
type: string;
|
|
658
|
+
title: string;
|
|
659
|
+
status: number;
|
|
660
|
+
detail?: string;
|
|
661
|
+
instance?: string;
|
|
662
|
+
code?: string;
|
|
663
|
+
errors?: Array<{
|
|
664
|
+
path: string;
|
|
665
|
+
message: string;
|
|
666
|
+
summary?: string;
|
|
667
|
+
}>;
|
|
668
|
+
};
|
|
669
|
+
/**
|
|
670
|
+
* Response for status 500
|
|
671
|
+
*/
|
|
672
|
+
500: {
|
|
673
|
+
type: string;
|
|
674
|
+
title: string;
|
|
675
|
+
status: number;
|
|
676
|
+
detail?: string;
|
|
677
|
+
instance?: string;
|
|
678
|
+
code?: string;
|
|
679
|
+
errors?: Array<{
|
|
680
|
+
path: string;
|
|
681
|
+
message: string;
|
|
682
|
+
summary?: string;
|
|
683
|
+
}>;
|
|
684
|
+
};
|
|
685
|
+
};
|
|
686
|
+
export type GetApiProjectsByProjectIdWorkItemSignalScoresError = GetApiProjectsByProjectIdWorkItemSignalScoresErrors[keyof GetApiProjectsByProjectIdWorkItemSignalScoresErrors];
|
|
687
|
+
export type GetApiProjectsByProjectIdWorkItemSignalScoresResponses = {
|
|
688
|
+
/**
|
|
689
|
+
* Response for status 200
|
|
690
|
+
*/
|
|
691
|
+
200: Array<{
|
|
692
|
+
workItemId: string;
|
|
693
|
+
score: number | unknown;
|
|
694
|
+
}>;
|
|
695
|
+
};
|
|
696
|
+
export type GetApiProjectsByProjectIdWorkItemSignalScoresResponse = GetApiProjectsByProjectIdWorkItemSignalScoresResponses[keyof GetApiProjectsByProjectIdWorkItemSignalScoresResponses];
|
|
608
697
|
export type PutApiProjectsByProjectIdDefaultPipelineAssignmentData = {
|
|
609
698
|
body: {
|
|
610
699
|
defaultPipelineAssignment: {
|
|
@@ -2613,6 +2702,7 @@ export type PostApiStepExecutionsByStepExecutionIdWorkerContextResponses = {
|
|
|
2613
2702
|
agentPrompt: {
|
|
2614
2703
|
sessionTitle: string;
|
|
2615
2704
|
promptText: string;
|
|
2705
|
+
stepInstructionsPlaceholder: string;
|
|
2616
2706
|
};
|
|
2617
2707
|
};
|
|
2618
2708
|
};
|
|
@@ -10136,3 +10226,562 @@ export type PostApiIntegrationsGithubWebhookData = {
|
|
|
10136
10226
|
query?: never;
|
|
10137
10227
|
url: '/api/integrations/github/webhook';
|
|
10138
10228
|
};
|
|
10229
|
+
export type GetApiProjectInvitesByTokenData = {
|
|
10230
|
+
body?: never;
|
|
10231
|
+
path: {
|
|
10232
|
+
token: string;
|
|
10233
|
+
};
|
|
10234
|
+
query?: never;
|
|
10235
|
+
url: '/api/project-invites/{token}';
|
|
10236
|
+
};
|
|
10237
|
+
export type GetApiProjectInvitesByTokenErrors = {
|
|
10238
|
+
/**
|
|
10239
|
+
* Response for status 404
|
|
10240
|
+
*/
|
|
10241
|
+
404: {
|
|
10242
|
+
type: string;
|
|
10243
|
+
title: string;
|
|
10244
|
+
status: number;
|
|
10245
|
+
detail?: string;
|
|
10246
|
+
instance?: string;
|
|
10247
|
+
code?: string;
|
|
10248
|
+
errors?: Array<{
|
|
10249
|
+
path: string;
|
|
10250
|
+
message: string;
|
|
10251
|
+
summary?: string;
|
|
10252
|
+
}>;
|
|
10253
|
+
};
|
|
10254
|
+
/**
|
|
10255
|
+
* Response for status 422
|
|
10256
|
+
*/
|
|
10257
|
+
422: {
|
|
10258
|
+
type: string;
|
|
10259
|
+
title: string;
|
|
10260
|
+
status: number;
|
|
10261
|
+
detail?: string;
|
|
10262
|
+
instance?: string;
|
|
10263
|
+
code?: string;
|
|
10264
|
+
errors?: Array<{
|
|
10265
|
+
path: string;
|
|
10266
|
+
message: string;
|
|
10267
|
+
summary?: string;
|
|
10268
|
+
}>;
|
|
10269
|
+
};
|
|
10270
|
+
/**
|
|
10271
|
+
* Response for status 500
|
|
10272
|
+
*/
|
|
10273
|
+
500: {
|
|
10274
|
+
type: string;
|
|
10275
|
+
title: string;
|
|
10276
|
+
status: number;
|
|
10277
|
+
detail?: string;
|
|
10278
|
+
instance?: string;
|
|
10279
|
+
code?: string;
|
|
10280
|
+
errors?: Array<{
|
|
10281
|
+
path: string;
|
|
10282
|
+
message: string;
|
|
10283
|
+
summary?: string;
|
|
10284
|
+
}>;
|
|
10285
|
+
};
|
|
10286
|
+
};
|
|
10287
|
+
export type GetApiProjectInvitesByTokenError = GetApiProjectInvitesByTokenErrors[keyof GetApiProjectInvitesByTokenErrors];
|
|
10288
|
+
export type GetApiProjectInvitesByTokenResponses = {
|
|
10289
|
+
/**
|
|
10290
|
+
* Response for status 200
|
|
10291
|
+
*/
|
|
10292
|
+
200: {
|
|
10293
|
+
inviteId: string;
|
|
10294
|
+
projectId: string;
|
|
10295
|
+
projectName: string;
|
|
10296
|
+
role: 'admin' | 'contributor' | 'reviewer';
|
|
10297
|
+
restriction: 'specific_email' | 'any_authenticated_user';
|
|
10298
|
+
permissions: Array<string>;
|
|
10299
|
+
status: 'pending' | 'accepted' | 'revoked' | 'expired';
|
|
10300
|
+
expiresAt: string;
|
|
10301
|
+
};
|
|
10302
|
+
};
|
|
10303
|
+
export type GetApiProjectInvitesByTokenResponse = GetApiProjectInvitesByTokenResponses[keyof GetApiProjectInvitesByTokenResponses];
|
|
10304
|
+
export type GetApiProjectsByProjectIdInvitesData = {
|
|
10305
|
+
body?: never;
|
|
10306
|
+
path: {
|
|
10307
|
+
projectId: string;
|
|
10308
|
+
};
|
|
10309
|
+
query?: never;
|
|
10310
|
+
url: '/api/projects/{projectId}/invites';
|
|
10311
|
+
};
|
|
10312
|
+
export type GetApiProjectsByProjectIdInvitesErrors = {
|
|
10313
|
+
/**
|
|
10314
|
+
* Response for status 401
|
|
10315
|
+
*/
|
|
10316
|
+
401: {
|
|
10317
|
+
type: string;
|
|
10318
|
+
title: string;
|
|
10319
|
+
status: number;
|
|
10320
|
+
detail?: string;
|
|
10321
|
+
instance?: string;
|
|
10322
|
+
code?: string;
|
|
10323
|
+
errors?: Array<{
|
|
10324
|
+
path: string;
|
|
10325
|
+
message: string;
|
|
10326
|
+
summary?: string;
|
|
10327
|
+
}>;
|
|
10328
|
+
};
|
|
10329
|
+
/**
|
|
10330
|
+
* Response for status 403
|
|
10331
|
+
*/
|
|
10332
|
+
403: {
|
|
10333
|
+
type: string;
|
|
10334
|
+
title: string;
|
|
10335
|
+
status: number;
|
|
10336
|
+
detail?: string;
|
|
10337
|
+
instance?: string;
|
|
10338
|
+
code?: string;
|
|
10339
|
+
errors?: Array<{
|
|
10340
|
+
path: string;
|
|
10341
|
+
message: string;
|
|
10342
|
+
summary?: string;
|
|
10343
|
+
}>;
|
|
10344
|
+
};
|
|
10345
|
+
/**
|
|
10346
|
+
* Response for status 422
|
|
10347
|
+
*/
|
|
10348
|
+
422: {
|
|
10349
|
+
type: string;
|
|
10350
|
+
title: string;
|
|
10351
|
+
status: number;
|
|
10352
|
+
detail?: string;
|
|
10353
|
+
instance?: string;
|
|
10354
|
+
code?: string;
|
|
10355
|
+
errors?: Array<{
|
|
10356
|
+
path: string;
|
|
10357
|
+
message: string;
|
|
10358
|
+
summary?: string;
|
|
10359
|
+
}>;
|
|
10360
|
+
};
|
|
10361
|
+
/**
|
|
10362
|
+
* Response for status 500
|
|
10363
|
+
*/
|
|
10364
|
+
500: {
|
|
10365
|
+
type: string;
|
|
10366
|
+
title: string;
|
|
10367
|
+
status: number;
|
|
10368
|
+
detail?: string;
|
|
10369
|
+
instance?: string;
|
|
10370
|
+
code?: string;
|
|
10371
|
+
errors?: Array<{
|
|
10372
|
+
path: string;
|
|
10373
|
+
message: string;
|
|
10374
|
+
summary?: string;
|
|
10375
|
+
}>;
|
|
10376
|
+
};
|
|
10377
|
+
};
|
|
10378
|
+
export type GetApiProjectsByProjectIdInvitesError = GetApiProjectsByProjectIdInvitesErrors[keyof GetApiProjectsByProjectIdInvitesErrors];
|
|
10379
|
+
export type GetApiProjectsByProjectIdInvitesResponses = {
|
|
10380
|
+
/**
|
|
10381
|
+
* Response for status 200
|
|
10382
|
+
*/
|
|
10383
|
+
200: Array<{
|
|
10384
|
+
id: string;
|
|
10385
|
+
projectId: string;
|
|
10386
|
+
email: string | unknown;
|
|
10387
|
+
role: 'admin' | 'contributor' | 'reviewer';
|
|
10388
|
+
restriction: 'specific_email' | 'any_authenticated_user';
|
|
10389
|
+
permissions: Array<string>;
|
|
10390
|
+
invitedByUserId: string;
|
|
10391
|
+
status: 'pending' | 'accepted' | 'revoked' | 'expired';
|
|
10392
|
+
expiresAt: string;
|
|
10393
|
+
acceptedAt: string | unknown;
|
|
10394
|
+
createdAt: string;
|
|
10395
|
+
updatedAt: string;
|
|
10396
|
+
}>;
|
|
10397
|
+
};
|
|
10398
|
+
export type GetApiProjectsByProjectIdInvitesResponse = GetApiProjectsByProjectIdInvitesResponses[keyof GetApiProjectsByProjectIdInvitesResponses];
|
|
10399
|
+
export type PostApiProjectsByProjectIdInvitesData = {
|
|
10400
|
+
body: {
|
|
10401
|
+
email?: string;
|
|
10402
|
+
role: 'admin' | 'contributor' | 'reviewer';
|
|
10403
|
+
restriction: 'specific_email' | 'any_authenticated_user';
|
|
10404
|
+
};
|
|
10405
|
+
path: {
|
|
10406
|
+
projectId: string;
|
|
10407
|
+
};
|
|
10408
|
+
query?: never;
|
|
10409
|
+
url: '/api/projects/{projectId}/invites';
|
|
10410
|
+
};
|
|
10411
|
+
export type PostApiProjectsByProjectIdInvitesErrors = {
|
|
10412
|
+
/**
|
|
10413
|
+
* Response for status 400
|
|
10414
|
+
*/
|
|
10415
|
+
400: {
|
|
10416
|
+
type: string;
|
|
10417
|
+
title: string;
|
|
10418
|
+
status: number;
|
|
10419
|
+
detail?: string;
|
|
10420
|
+
instance?: string;
|
|
10421
|
+
code?: string;
|
|
10422
|
+
errors?: Array<{
|
|
10423
|
+
path: string;
|
|
10424
|
+
message: string;
|
|
10425
|
+
summary?: string;
|
|
10426
|
+
}>;
|
|
10427
|
+
};
|
|
10428
|
+
/**
|
|
10429
|
+
* Response for status 401
|
|
10430
|
+
*/
|
|
10431
|
+
401: {
|
|
10432
|
+
type: string;
|
|
10433
|
+
title: string;
|
|
10434
|
+
status: number;
|
|
10435
|
+
detail?: string;
|
|
10436
|
+
instance?: string;
|
|
10437
|
+
code?: string;
|
|
10438
|
+
errors?: Array<{
|
|
10439
|
+
path: string;
|
|
10440
|
+
message: string;
|
|
10441
|
+
summary?: string;
|
|
10442
|
+
}>;
|
|
10443
|
+
};
|
|
10444
|
+
/**
|
|
10445
|
+
* Response for status 403
|
|
10446
|
+
*/
|
|
10447
|
+
403: {
|
|
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 409
|
|
10462
|
+
*/
|
|
10463
|
+
409: {
|
|
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 422
|
|
10478
|
+
*/
|
|
10479
|
+
422: {
|
|
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 500
|
|
10494
|
+
*/
|
|
10495
|
+
500: {
|
|
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
|
+
export type PostApiProjectsByProjectIdInvitesError = PostApiProjectsByProjectIdInvitesErrors[keyof PostApiProjectsByProjectIdInvitesErrors];
|
|
10510
|
+
export type PostApiProjectsByProjectIdInvitesResponses = {
|
|
10511
|
+
/**
|
|
10512
|
+
* Response for status 200
|
|
10513
|
+
*/
|
|
10514
|
+
200: {
|
|
10515
|
+
invite: {
|
|
10516
|
+
id: string;
|
|
10517
|
+
projectId: string;
|
|
10518
|
+
email: string | unknown;
|
|
10519
|
+
role: 'admin' | 'contributor' | 'reviewer';
|
|
10520
|
+
restriction: 'specific_email' | 'any_authenticated_user';
|
|
10521
|
+
permissions: Array<string>;
|
|
10522
|
+
invitedByUserId: string;
|
|
10523
|
+
status: 'pending' | 'accepted' | 'revoked' | 'expired';
|
|
10524
|
+
expiresAt: string;
|
|
10525
|
+
acceptedAt: string | unknown;
|
|
10526
|
+
createdAt: string;
|
|
10527
|
+
updatedAt: string;
|
|
10528
|
+
};
|
|
10529
|
+
inviteUrl: string;
|
|
10530
|
+
};
|
|
10531
|
+
};
|
|
10532
|
+
export type PostApiProjectsByProjectIdInvitesResponse = PostApiProjectsByProjectIdInvitesResponses[keyof PostApiProjectsByProjectIdInvitesResponses];
|
|
10533
|
+
export type PostApiProjectsByProjectIdInvitesByInviteIdRevokeData = {
|
|
10534
|
+
body?: never;
|
|
10535
|
+
path: {
|
|
10536
|
+
projectId: string;
|
|
10537
|
+
inviteId: string;
|
|
10538
|
+
};
|
|
10539
|
+
query?: never;
|
|
10540
|
+
url: '/api/projects/{projectId}/invites/{inviteId}/revoke';
|
|
10541
|
+
};
|
|
10542
|
+
export type PostApiProjectsByProjectIdInvitesByInviteIdRevokeErrors = {
|
|
10543
|
+
/**
|
|
10544
|
+
* Response for status 401
|
|
10545
|
+
*/
|
|
10546
|
+
401: {
|
|
10547
|
+
type: string;
|
|
10548
|
+
title: string;
|
|
10549
|
+
status: number;
|
|
10550
|
+
detail?: string;
|
|
10551
|
+
instance?: string;
|
|
10552
|
+
code?: string;
|
|
10553
|
+
errors?: Array<{
|
|
10554
|
+
path: string;
|
|
10555
|
+
message: string;
|
|
10556
|
+
summary?: string;
|
|
10557
|
+
}>;
|
|
10558
|
+
};
|
|
10559
|
+
/**
|
|
10560
|
+
* Response for status 403
|
|
10561
|
+
*/
|
|
10562
|
+
403: {
|
|
10563
|
+
type: string;
|
|
10564
|
+
title: string;
|
|
10565
|
+
status: number;
|
|
10566
|
+
detail?: string;
|
|
10567
|
+
instance?: string;
|
|
10568
|
+
code?: string;
|
|
10569
|
+
errors?: Array<{
|
|
10570
|
+
path: string;
|
|
10571
|
+
message: string;
|
|
10572
|
+
summary?: string;
|
|
10573
|
+
}>;
|
|
10574
|
+
};
|
|
10575
|
+
/**
|
|
10576
|
+
* Response for status 404
|
|
10577
|
+
*/
|
|
10578
|
+
404: {
|
|
10579
|
+
type: string;
|
|
10580
|
+
title: string;
|
|
10581
|
+
status: number;
|
|
10582
|
+
detail?: string;
|
|
10583
|
+
instance?: string;
|
|
10584
|
+
code?: string;
|
|
10585
|
+
errors?: Array<{
|
|
10586
|
+
path: string;
|
|
10587
|
+
message: string;
|
|
10588
|
+
summary?: string;
|
|
10589
|
+
}>;
|
|
10590
|
+
};
|
|
10591
|
+
/**
|
|
10592
|
+
* Response for status 422
|
|
10593
|
+
*/
|
|
10594
|
+
422: {
|
|
10595
|
+
type: string;
|
|
10596
|
+
title: string;
|
|
10597
|
+
status: number;
|
|
10598
|
+
detail?: string;
|
|
10599
|
+
instance?: string;
|
|
10600
|
+
code?: string;
|
|
10601
|
+
errors?: Array<{
|
|
10602
|
+
path: string;
|
|
10603
|
+
message: string;
|
|
10604
|
+
summary?: string;
|
|
10605
|
+
}>;
|
|
10606
|
+
};
|
|
10607
|
+
/**
|
|
10608
|
+
* Response for status 500
|
|
10609
|
+
*/
|
|
10610
|
+
500: {
|
|
10611
|
+
type: string;
|
|
10612
|
+
title: string;
|
|
10613
|
+
status: number;
|
|
10614
|
+
detail?: string;
|
|
10615
|
+
instance?: string;
|
|
10616
|
+
code?: string;
|
|
10617
|
+
errors?: Array<{
|
|
10618
|
+
path: string;
|
|
10619
|
+
message: string;
|
|
10620
|
+
summary?: string;
|
|
10621
|
+
}>;
|
|
10622
|
+
};
|
|
10623
|
+
};
|
|
10624
|
+
export type PostApiProjectsByProjectIdInvitesByInviteIdRevokeError = PostApiProjectsByProjectIdInvitesByInviteIdRevokeErrors[keyof PostApiProjectsByProjectIdInvitesByInviteIdRevokeErrors];
|
|
10625
|
+
export type PostApiProjectsByProjectIdInvitesByInviteIdRevokeResponses = {
|
|
10626
|
+
/**
|
|
10627
|
+
* Response for status 200
|
|
10628
|
+
*/
|
|
10629
|
+
200: {
|
|
10630
|
+
id: string;
|
|
10631
|
+
projectId: string;
|
|
10632
|
+
email: string | unknown;
|
|
10633
|
+
role: 'admin' | 'contributor' | 'reviewer';
|
|
10634
|
+
restriction: 'specific_email' | 'any_authenticated_user';
|
|
10635
|
+
permissions: Array<string>;
|
|
10636
|
+
invitedByUserId: string;
|
|
10637
|
+
status: 'pending' | 'accepted' | 'revoked' | 'expired';
|
|
10638
|
+
expiresAt: string;
|
|
10639
|
+
acceptedAt: string | unknown;
|
|
10640
|
+
createdAt: string;
|
|
10641
|
+
updatedAt: string;
|
|
10642
|
+
};
|
|
10643
|
+
};
|
|
10644
|
+
export type PostApiProjectsByProjectIdInvitesByInviteIdRevokeResponse = PostApiProjectsByProjectIdInvitesByInviteIdRevokeResponses[keyof PostApiProjectsByProjectIdInvitesByInviteIdRevokeResponses];
|
|
10645
|
+
export type PostApiProjectInvitesByTokenAcceptData = {
|
|
10646
|
+
body?: never;
|
|
10647
|
+
path: {
|
|
10648
|
+
token: string;
|
|
10649
|
+
};
|
|
10650
|
+
query?: never;
|
|
10651
|
+
url: '/api/project-invites/{token}/accept';
|
|
10652
|
+
};
|
|
10653
|
+
export type PostApiProjectInvitesByTokenAcceptErrors = {
|
|
10654
|
+
/**
|
|
10655
|
+
* Response for status 401
|
|
10656
|
+
*/
|
|
10657
|
+
401: {
|
|
10658
|
+
type: string;
|
|
10659
|
+
title: string;
|
|
10660
|
+
status: number;
|
|
10661
|
+
detail?: string;
|
|
10662
|
+
instance?: string;
|
|
10663
|
+
code?: string;
|
|
10664
|
+
errors?: Array<{
|
|
10665
|
+
path: string;
|
|
10666
|
+
message: string;
|
|
10667
|
+
summary?: string;
|
|
10668
|
+
}>;
|
|
10669
|
+
};
|
|
10670
|
+
/**
|
|
10671
|
+
* Response for status 403
|
|
10672
|
+
*/
|
|
10673
|
+
403: {
|
|
10674
|
+
type: string;
|
|
10675
|
+
title: string;
|
|
10676
|
+
status: number;
|
|
10677
|
+
detail?: string;
|
|
10678
|
+
instance?: string;
|
|
10679
|
+
code?: string;
|
|
10680
|
+
errors?: Array<{
|
|
10681
|
+
path: string;
|
|
10682
|
+
message: string;
|
|
10683
|
+
summary?: string;
|
|
10684
|
+
}>;
|
|
10685
|
+
};
|
|
10686
|
+
/**
|
|
10687
|
+
* Response for status 404
|
|
10688
|
+
*/
|
|
10689
|
+
404: {
|
|
10690
|
+
type: string;
|
|
10691
|
+
title: string;
|
|
10692
|
+
status: number;
|
|
10693
|
+
detail?: string;
|
|
10694
|
+
instance?: string;
|
|
10695
|
+
code?: string;
|
|
10696
|
+
errors?: Array<{
|
|
10697
|
+
path: string;
|
|
10698
|
+
message: string;
|
|
10699
|
+
summary?: string;
|
|
10700
|
+
}>;
|
|
10701
|
+
};
|
|
10702
|
+
/**
|
|
10703
|
+
* Response for status 409
|
|
10704
|
+
*/
|
|
10705
|
+
409: {
|
|
10706
|
+
type: string;
|
|
10707
|
+
title: string;
|
|
10708
|
+
status: number;
|
|
10709
|
+
detail?: string;
|
|
10710
|
+
instance?: string;
|
|
10711
|
+
code?: string;
|
|
10712
|
+
errors?: Array<{
|
|
10713
|
+
path: string;
|
|
10714
|
+
message: string;
|
|
10715
|
+
summary?: string;
|
|
10716
|
+
}>;
|
|
10717
|
+
};
|
|
10718
|
+
/**
|
|
10719
|
+
* Response for status 410
|
|
10720
|
+
*/
|
|
10721
|
+
410: {
|
|
10722
|
+
type: string;
|
|
10723
|
+
title: string;
|
|
10724
|
+
status: number;
|
|
10725
|
+
detail?: string;
|
|
10726
|
+
instance?: string;
|
|
10727
|
+
code?: string;
|
|
10728
|
+
errors?: Array<{
|
|
10729
|
+
path: string;
|
|
10730
|
+
message: string;
|
|
10731
|
+
summary?: string;
|
|
10732
|
+
}>;
|
|
10733
|
+
};
|
|
10734
|
+
/**
|
|
10735
|
+
* Response for status 422
|
|
10736
|
+
*/
|
|
10737
|
+
422: {
|
|
10738
|
+
type: string;
|
|
10739
|
+
title: string;
|
|
10740
|
+
status: number;
|
|
10741
|
+
detail?: string;
|
|
10742
|
+
instance?: string;
|
|
10743
|
+
code?: string;
|
|
10744
|
+
errors?: Array<{
|
|
10745
|
+
path: string;
|
|
10746
|
+
message: string;
|
|
10747
|
+
summary?: string;
|
|
10748
|
+
}>;
|
|
10749
|
+
};
|
|
10750
|
+
/**
|
|
10751
|
+
* Response for status 500
|
|
10752
|
+
*/
|
|
10753
|
+
500: {
|
|
10754
|
+
type: string;
|
|
10755
|
+
title: string;
|
|
10756
|
+
status: number;
|
|
10757
|
+
detail?: string;
|
|
10758
|
+
instance?: string;
|
|
10759
|
+
code?: string;
|
|
10760
|
+
errors?: Array<{
|
|
10761
|
+
path: string;
|
|
10762
|
+
message: string;
|
|
10763
|
+
summary?: string;
|
|
10764
|
+
}>;
|
|
10765
|
+
};
|
|
10766
|
+
};
|
|
10767
|
+
export type PostApiProjectInvitesByTokenAcceptError = PostApiProjectInvitesByTokenAcceptErrors[keyof PostApiProjectInvitesByTokenAcceptErrors];
|
|
10768
|
+
export type PostApiProjectInvitesByTokenAcceptResponses = {
|
|
10769
|
+
/**
|
|
10770
|
+
* Response for status 200
|
|
10771
|
+
*/
|
|
10772
|
+
200: {
|
|
10773
|
+
id: string;
|
|
10774
|
+
projectId: string;
|
|
10775
|
+
email: string | unknown;
|
|
10776
|
+
role: 'admin' | 'contributor' | 'reviewer';
|
|
10777
|
+
restriction: 'specific_email' | 'any_authenticated_user';
|
|
10778
|
+
permissions: Array<string>;
|
|
10779
|
+
invitedByUserId: string;
|
|
10780
|
+
status: 'pending' | 'accepted' | 'revoked' | 'expired';
|
|
10781
|
+
expiresAt: string;
|
|
10782
|
+
acceptedAt: string | unknown;
|
|
10783
|
+
createdAt: string;
|
|
10784
|
+
updatedAt: string;
|
|
10785
|
+
};
|
|
10786
|
+
};
|
|
10787
|
+
export type PostApiProjectInvitesByTokenAcceptResponse = PostApiProjectInvitesByTokenAcceptResponses[keyof PostApiProjectInvitesByTokenAcceptResponses];
|