@boboddy/sdk 0.1.43-alpha → 0.1.45-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.
@@ -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
  };
@@ -8996,16 +9086,18 @@ export type DeleteApiProjectsByProjectIdContextEntriesByEntryIdResponses = {
8996
9086
  */
8997
9087
  200: unknown;
8998
9088
  };
8999
- export type GetApiProjectsByProjectIdStepSignalsByStepSignalIdFeedbackRequestsData = {
9089
+ export type GetApiProjectsByProjectIdNotificationsData = {
9000
9090
  body?: never;
9001
9091
  path: {
9002
9092
  projectId: string;
9003
- stepSignalId: string;
9004
9093
  };
9005
- query?: never;
9006
- url: '/api/projects/{projectId}/step-signals/{stepSignalId}/feedback-requests';
9094
+ query?: {
9095
+ workItemId?: string;
9096
+ status?: 'pending' | 'delivered' | 'partially_delivered' | 'suppressed' | 'failed';
9097
+ };
9098
+ url: '/api/projects/{projectId}/notifications';
9007
9099
  };
9008
- export type GetApiProjectsByProjectIdStepSignalsByStepSignalIdFeedbackRequestsErrors = {
9100
+ export type GetApiProjectsByProjectIdNotificationsErrors = {
9009
9101
  /**
9010
9102
  * Response for status 401
9011
9103
  */
@@ -9087,33 +9179,42 @@ export type GetApiProjectsByProjectIdStepSignalsByStepSignalIdFeedbackRequestsEr
9087
9179
  }>;
9088
9180
  };
9089
9181
  };
9090
- export type GetApiProjectsByProjectIdStepSignalsByStepSignalIdFeedbackRequestsError = GetApiProjectsByProjectIdStepSignalsByStepSignalIdFeedbackRequestsErrors[keyof GetApiProjectsByProjectIdStepSignalsByStepSignalIdFeedbackRequestsErrors];
9091
- export type GetApiProjectsByProjectIdStepSignalsByStepSignalIdFeedbackRequestsResponses = {
9182
+ export type GetApiProjectsByProjectIdNotificationsError = GetApiProjectsByProjectIdNotificationsErrors[keyof GetApiProjectsByProjectIdNotificationsErrors];
9183
+ export type GetApiProjectsByProjectIdNotificationsResponses = {
9092
9184
  /**
9093
9185
  * Response for status 200
9094
9186
  */
9095
9187
  200: Array<{
9096
9188
  id: string;
9097
- stepSignalId: string;
9098
- question: string;
9099
- category: string;
9100
- suggestedKey: string | unknown;
9101
- status: 'pending' | 'answered' | 'declined';
9189
+ projectId: string;
9190
+ workItemId: string | unknown;
9191
+ pipelineExecutionId: string | unknown;
9192
+ stepExecutionId: string | unknown;
9193
+ stepSignalId: string | unknown;
9194
+ agentSessionId: string | unknown;
9195
+ kind: 'feedback_request' | 'status_update' | 'blocked' | 'result_ready' | 'warning';
9196
+ audience: 'assignee' | 'reporter' | 'project_admins' | 'specific_users';
9197
+ title: string;
9198
+ body: string;
9199
+ priority: 'low' | 'normal' | 'high' | 'urgent';
9200
+ source: 'agent' | 'system' | 'user';
9201
+ status: 'pending' | 'delivered' | 'partially_delivered' | 'suppressed' | 'failed';
9202
+ payloadJson: unknown;
9102
9203
  createdAt: string;
9103
9204
  updatedAt: string;
9104
9205
  }>;
9105
9206
  };
9106
- export type GetApiProjectsByProjectIdStepSignalsByStepSignalIdFeedbackRequestsResponse = GetApiProjectsByProjectIdStepSignalsByStepSignalIdFeedbackRequestsResponses[keyof GetApiProjectsByProjectIdStepSignalsByStepSignalIdFeedbackRequestsResponses];
9107
- export type PostApiProjectsByProjectIdFeedbackRequestsByFeedbackRequestIdDeclineData = {
9207
+ export type GetApiProjectsByProjectIdNotificationsResponse = GetApiProjectsByProjectIdNotificationsResponses[keyof GetApiProjectsByProjectIdNotificationsResponses];
9208
+ export type GetApiProjectsByProjectIdNotificationsByNotificationIdData = {
9108
9209
  body?: never;
9109
9210
  path: {
9110
9211
  projectId: string;
9111
- feedbackRequestId: string;
9212
+ notificationId: string;
9112
9213
  };
9113
9214
  query?: never;
9114
- url: '/api/projects/{projectId}/feedback-requests/{feedbackRequestId}/decline';
9215
+ url: '/api/projects/{projectId}/notifications/{notificationId}';
9115
9216
  };
9116
- export type PostApiProjectsByProjectIdFeedbackRequestsByFeedbackRequestIdDeclineErrors = {
9217
+ export type GetApiProjectsByProjectIdNotificationsByNotificationIdErrors = {
9117
9218
  /**
9118
9219
  * Response for status 401
9119
9220
  */
@@ -9195,20 +9296,53 @@ export type PostApiProjectsByProjectIdFeedbackRequestsByFeedbackRequestIdDecline
9195
9296
  }>;
9196
9297
  };
9197
9298
  };
9198
- export type PostApiProjectsByProjectIdFeedbackRequestsByFeedbackRequestIdDeclineError = PostApiProjectsByProjectIdFeedbackRequestsByFeedbackRequestIdDeclineErrors[keyof PostApiProjectsByProjectIdFeedbackRequestsByFeedbackRequestIdDeclineErrors];
9199
- export type PostApiProjectsByProjectIdFeedbackRequestsByFeedbackRequestIdDeclineResponses = {
9299
+ export type GetApiProjectsByProjectIdNotificationsByNotificationIdError = GetApiProjectsByProjectIdNotificationsByNotificationIdErrors[keyof GetApiProjectsByProjectIdNotificationsByNotificationIdErrors];
9300
+ export type GetApiProjectsByProjectIdNotificationsByNotificationIdResponses = {
9200
9301
  /**
9201
9302
  * Response for status 200
9202
9303
  */
9203
- 200: unknown;
9304
+ 200: {
9305
+ id: string;
9306
+ projectId: string;
9307
+ workItemId: string | unknown;
9308
+ pipelineExecutionId: string | unknown;
9309
+ stepExecutionId: string | unknown;
9310
+ stepSignalId: string | unknown;
9311
+ agentSessionId: string | unknown;
9312
+ kind: 'feedback_request' | 'status_update' | 'blocked' | 'result_ready' | 'warning';
9313
+ audience: 'assignee' | 'reporter' | 'project_admins' | 'specific_users';
9314
+ title: string;
9315
+ body: string;
9316
+ priority: 'low' | 'normal' | 'high' | 'urgent';
9317
+ source: 'agent' | 'system' | 'user';
9318
+ status: 'pending' | 'delivered' | 'partially_delivered' | 'suppressed' | 'failed';
9319
+ payloadJson: unknown;
9320
+ createdAt: string;
9321
+ updatedAt: string;
9322
+ deliveries: Array<{
9323
+ id: string;
9324
+ notificationId: string;
9325
+ channel: 'in_app' | 'jira_comment' | 'email' | 'slack';
9326
+ status: 'pending' | 'sent' | 'failed' | 'suppressed';
9327
+ suppressionReason: string | unknown;
9328
+ externalUrl: string | unknown;
9329
+ externalId: string | unknown;
9330
+ createdAt: string;
9331
+ sentAt: string | unknown;
9332
+ }>;
9333
+ };
9204
9334
  };
9205
- export type GetApiStepDefinitionTemplatesData = {
9335
+ export type GetApiProjectsByProjectIdNotificationsByNotificationIdResponse = GetApiProjectsByProjectIdNotificationsByNotificationIdResponses[keyof GetApiProjectsByProjectIdNotificationsByNotificationIdResponses];
9336
+ export type PostApiProjectsByProjectIdNotificationsByNotificationIdDismissData = {
9206
9337
  body?: never;
9207
- path?: never;
9338
+ path: {
9339
+ projectId: string;
9340
+ notificationId: string;
9341
+ };
9208
9342
  query?: never;
9209
- url: '/api/step-definition-templates';
9343
+ url: '/api/projects/{projectId}/notifications/{notificationId}/dismiss';
9210
9344
  };
9211
- export type GetApiStepDefinitionTemplatesErrors = {
9345
+ export type PostApiProjectsByProjectIdNotificationsByNotificationIdDismissErrors = {
9212
9346
  /**
9213
9347
  * Response for status 401
9214
9348
  */
@@ -9225,6 +9359,54 @@ export type GetApiStepDefinitionTemplatesErrors = {
9225
9359
  summary?: string;
9226
9360
  }>;
9227
9361
  };
9362
+ /**
9363
+ * Response for status 403
9364
+ */
9365
+ 403: {
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 404
9380
+ */
9381
+ 404: {
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 422
9396
+ */
9397
+ 422: {
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
+ };
9228
9410
  /**
9229
9411
  * Response for status 500
9230
9412
  */
@@ -9242,77 +9424,25 @@ export type GetApiStepDefinitionTemplatesErrors = {
9242
9424
  }>;
9243
9425
  };
9244
9426
  };
9245
- export type GetApiStepDefinitionTemplatesError = GetApiStepDefinitionTemplatesErrors[keyof GetApiStepDefinitionTemplatesErrors];
9246
- export type GetApiStepDefinitionTemplatesResponses = {
9427
+ export type PostApiProjectsByProjectIdNotificationsByNotificationIdDismissError = PostApiProjectsByProjectIdNotificationsByNotificationIdDismissErrors[keyof PostApiProjectsByProjectIdNotificationsByNotificationIdDismissErrors];
9428
+ export type PostApiProjectsByProjectIdNotificationsByNotificationIdDismissResponses = {
9247
9429
  /**
9248
9430
  * Response for status 200
9249
9431
  */
9250
- 200: Array<{
9251
- id: string;
9252
- key: string;
9253
- name: string;
9254
- description: string | unknown;
9255
- promptTemplate: string | unknown;
9256
- inputSchemaJson: unknown;
9257
- resultSchemaJson: unknown;
9258
- opencodeMcpJson: {
9259
- [key: string]: {
9260
- type: string;
9261
- command: Array<string>;
9262
- environment?: {
9263
- [key: string]: string;
9264
- };
9265
- enabled?: boolean;
9266
- timeout?: number;
9267
- } | {
9268
- type: string;
9269
- url: string;
9270
- enabled?: boolean;
9271
- headers?: {
9272
- [key: string]: string;
9273
- };
9274
- oauth?: {
9275
- clientId?: string;
9276
- clientSecret?: string;
9277
- scope?: string;
9278
- redirectUri?: string;
9279
- } | boolean;
9280
- timeout?: number;
9281
- } | {
9282
- enabled: boolean;
9283
- };
9284
- } | unknown;
9285
- opencodePluginJson: Array<string | Array<unknown>> | unknown;
9286
- signalExtractorDefinitions: Array<{
9287
- key: string;
9288
- sourcePath: string;
9289
- type: 'string' | 'number' | 'boolean' | 'object' | 'array';
9290
- required: boolean;
9291
- availableWhenResultStatusIn: Array<string> | unknown;
9292
- }>;
9293
- parameters: Array<{
9294
- key: string;
9295
- label: string;
9296
- description?: string | unknown;
9297
- type: 'text' | 'textarea';
9298
- required: boolean;
9299
- placeholder?: string | unknown;
9300
- }>;
9301
- status: 'active' | 'archived';
9302
- createdAt: string;
9303
- updatedAt: string;
9304
- }>;
9432
+ 200: unknown;
9305
9433
  };
9306
- export type GetApiStepDefinitionTemplatesResponse = GetApiStepDefinitionTemplatesResponses[keyof GetApiStepDefinitionTemplatesResponses];
9307
- export type GetApiStepDefinitionTemplatesByStepDefinitionTemplateIdData = {
9308
- body?: never;
9434
+ export type PostApiProjectsByProjectIdNotificationsByNotificationIdRespondData = {
9435
+ body: {
9436
+ answer: string;
9437
+ };
9309
9438
  path: {
9310
- stepDefinitionTemplateId: string;
9439
+ projectId: string;
9440
+ notificationId: string;
9311
9441
  };
9312
9442
  query?: never;
9313
- url: '/api/step-definition-templates/{stepDefinitionTemplateId}';
9443
+ url: '/api/projects/{projectId}/notifications/{notificationId}/respond';
9314
9444
  };
9315
- export type GetApiStepDefinitionTemplatesByStepDefinitionTemplateIdErrors = {
9445
+ export type PostApiProjectsByProjectIdNotificationsByNotificationIdRespondErrors = {
9316
9446
  /**
9317
9447
  * Response for status 401
9318
9448
  */
@@ -9329,6 +9459,22 @@ export type GetApiStepDefinitionTemplatesByStepDefinitionTemplateIdErrors = {
9329
9459
  summary?: string;
9330
9460
  }>;
9331
9461
  };
9462
+ /**
9463
+ * Response for status 403
9464
+ */
9465
+ 403: {
9466
+ type: string;
9467
+ title: string;
9468
+ status: number;
9469
+ detail?: string;
9470
+ instance?: string;
9471
+ code?: string;
9472
+ errors?: Array<{
9473
+ path: string;
9474
+ message: string;
9475
+ summary?: string;
9476
+ }>;
9477
+ };
9332
9478
  /**
9333
9479
  * Response for status 404
9334
9480
  */
@@ -9378,36 +9524,653 @@ export type GetApiStepDefinitionTemplatesByStepDefinitionTemplateIdErrors = {
9378
9524
  }>;
9379
9525
  };
9380
9526
  };
9381
- export type GetApiStepDefinitionTemplatesByStepDefinitionTemplateIdError = GetApiStepDefinitionTemplatesByStepDefinitionTemplateIdErrors[keyof GetApiStepDefinitionTemplatesByStepDefinitionTemplateIdErrors];
9382
- export type GetApiStepDefinitionTemplatesByStepDefinitionTemplateIdResponses = {
9527
+ export type PostApiProjectsByProjectIdNotificationsByNotificationIdRespondError = PostApiProjectsByProjectIdNotificationsByNotificationIdRespondErrors[keyof PostApiProjectsByProjectIdNotificationsByNotificationIdRespondErrors];
9528
+ export type PostApiProjectsByProjectIdNotificationsByNotificationIdRespondResponses = {
9383
9529
  /**
9384
9530
  * Response for status 200
9385
9531
  */
9386
9532
  200: {
9387
9533
  id: string;
9388
- key: string;
9389
- name: string;
9390
- description: string | unknown;
9391
- promptTemplate: string | unknown;
9392
- inputSchemaJson: unknown;
9393
- resultSchemaJson: unknown;
9394
- opencodeMcpJson: {
9395
- [key: string]: {
9396
- type: string;
9397
- command: Array<string>;
9398
- environment?: {
9399
- [key: string]: string;
9400
- };
9401
- enabled?: boolean;
9402
- timeout?: number;
9403
- } | {
9404
- type: string;
9405
- url: string;
9406
- enabled?: boolean;
9407
- headers?: {
9408
- [key: string]: string;
9409
- };
9410
- oauth?: {
9534
+ projectId: string;
9535
+ workItemId: string | unknown;
9536
+ pipelineExecutionId: string | unknown;
9537
+ stepExecutionId: string | unknown;
9538
+ stepSignalId: string | unknown;
9539
+ agentSessionId: string | unknown;
9540
+ kind: 'feedback_request' | 'status_update' | 'blocked' | 'result_ready' | 'warning';
9541
+ audience: 'assignee' | 'reporter' | 'project_admins' | 'specific_users';
9542
+ title: string;
9543
+ body: string;
9544
+ priority: 'low' | 'normal' | 'high' | 'urgent';
9545
+ source: 'agent' | 'system' | 'user';
9546
+ status: 'pending' | 'delivered' | 'partially_delivered' | 'suppressed' | 'failed';
9547
+ payloadJson: unknown;
9548
+ createdAt: string;
9549
+ updatedAt: string;
9550
+ };
9551
+ };
9552
+ export type PostApiProjectsByProjectIdNotificationsByNotificationIdRespondResponse = PostApiProjectsByProjectIdNotificationsByNotificationIdRespondResponses[keyof PostApiProjectsByProjectIdNotificationsByNotificationIdRespondResponses];
9553
+ export type GetApiProjectsByProjectIdNotificationRulesData = {
9554
+ body?: never;
9555
+ path: {
9556
+ projectId: string;
9557
+ };
9558
+ query?: never;
9559
+ url: '/api/projects/{projectId}/notification-rules';
9560
+ };
9561
+ export type GetApiProjectsByProjectIdNotificationRulesErrors = {
9562
+ /**
9563
+ * Response for status 401
9564
+ */
9565
+ 401: {
9566
+ type: string;
9567
+ title: string;
9568
+ status: number;
9569
+ detail?: string;
9570
+ instance?: string;
9571
+ code?: string;
9572
+ errors?: Array<{
9573
+ path: string;
9574
+ message: string;
9575
+ summary?: string;
9576
+ }>;
9577
+ };
9578
+ /**
9579
+ * Response for status 403
9580
+ */
9581
+ 403: {
9582
+ type: string;
9583
+ title: string;
9584
+ status: number;
9585
+ detail?: string;
9586
+ instance?: string;
9587
+ code?: string;
9588
+ errors?: Array<{
9589
+ path: string;
9590
+ message: string;
9591
+ summary?: string;
9592
+ }>;
9593
+ };
9594
+ /**
9595
+ * Response for status 404
9596
+ */
9597
+ 404: {
9598
+ type: string;
9599
+ title: string;
9600
+ status: number;
9601
+ detail?: string;
9602
+ instance?: string;
9603
+ code?: string;
9604
+ errors?: Array<{
9605
+ path: string;
9606
+ message: string;
9607
+ summary?: string;
9608
+ }>;
9609
+ };
9610
+ /**
9611
+ * Response for status 422
9612
+ */
9613
+ 422: {
9614
+ type: string;
9615
+ title: string;
9616
+ status: number;
9617
+ detail?: string;
9618
+ instance?: string;
9619
+ code?: string;
9620
+ errors?: Array<{
9621
+ path: string;
9622
+ message: string;
9623
+ summary?: string;
9624
+ }>;
9625
+ };
9626
+ /**
9627
+ * Response for status 500
9628
+ */
9629
+ 500: {
9630
+ type: string;
9631
+ title: string;
9632
+ status: number;
9633
+ detail?: string;
9634
+ instance?: string;
9635
+ code?: string;
9636
+ errors?: Array<{
9637
+ path: string;
9638
+ message: string;
9639
+ summary?: string;
9640
+ }>;
9641
+ };
9642
+ };
9643
+ export type GetApiProjectsByProjectIdNotificationRulesError = GetApiProjectsByProjectIdNotificationRulesErrors[keyof GetApiProjectsByProjectIdNotificationRulesErrors];
9644
+ export type GetApiProjectsByProjectIdNotificationRulesResponses = {
9645
+ /**
9646
+ * Response for status 200
9647
+ */
9648
+ 200: Array<{
9649
+ id: string;
9650
+ projectId: string;
9651
+ kind: 'feedback_request' | 'status_update' | 'blocked' | 'result_ready' | 'warning';
9652
+ channel: 'in_app' | 'jira_comment' | 'email' | 'slack';
9653
+ enabled: boolean;
9654
+ minPriority: 'low' | 'normal' | 'high' | 'urgent' | unknown;
9655
+ conditionsJson: unknown;
9656
+ createdAt: string;
9657
+ updatedAt: string;
9658
+ }>;
9659
+ };
9660
+ export type GetApiProjectsByProjectIdNotificationRulesResponse = GetApiProjectsByProjectIdNotificationRulesResponses[keyof GetApiProjectsByProjectIdNotificationRulesResponses];
9661
+ export type PutApiProjectsByProjectIdNotificationRulesData = {
9662
+ body: {
9663
+ kind: 'feedback_request' | 'status_update' | 'blocked' | 'result_ready' | 'warning';
9664
+ channel: 'in_app' | 'jira_comment' | 'email' | 'slack';
9665
+ enabled: boolean;
9666
+ minPriority: 'low' | 'normal' | 'high' | 'urgent' | unknown;
9667
+ conditionsJson: unknown;
9668
+ };
9669
+ path: {
9670
+ projectId: string;
9671
+ };
9672
+ query?: never;
9673
+ url: '/api/projects/{projectId}/notification-rules';
9674
+ };
9675
+ export type PutApiProjectsByProjectIdNotificationRulesErrors = {
9676
+ /**
9677
+ * Response for status 401
9678
+ */
9679
+ 401: {
9680
+ type: string;
9681
+ title: string;
9682
+ status: number;
9683
+ detail?: string;
9684
+ instance?: string;
9685
+ code?: string;
9686
+ errors?: Array<{
9687
+ path: string;
9688
+ message: string;
9689
+ summary?: string;
9690
+ }>;
9691
+ };
9692
+ /**
9693
+ * Response for status 403
9694
+ */
9695
+ 403: {
9696
+ type: string;
9697
+ title: string;
9698
+ status: number;
9699
+ detail?: string;
9700
+ instance?: string;
9701
+ code?: string;
9702
+ errors?: Array<{
9703
+ path: string;
9704
+ message: string;
9705
+ summary?: string;
9706
+ }>;
9707
+ };
9708
+ /**
9709
+ * Response for status 404
9710
+ */
9711
+ 404: {
9712
+ type: string;
9713
+ title: string;
9714
+ status: number;
9715
+ detail?: string;
9716
+ instance?: string;
9717
+ code?: string;
9718
+ errors?: Array<{
9719
+ path: string;
9720
+ message: string;
9721
+ summary?: string;
9722
+ }>;
9723
+ };
9724
+ /**
9725
+ * Response for status 422
9726
+ */
9727
+ 422: {
9728
+ type: string;
9729
+ title: string;
9730
+ status: number;
9731
+ detail?: string;
9732
+ instance?: string;
9733
+ code?: string;
9734
+ errors?: Array<{
9735
+ path: string;
9736
+ message: string;
9737
+ summary?: string;
9738
+ }>;
9739
+ };
9740
+ /**
9741
+ * Response for status 500
9742
+ */
9743
+ 500: {
9744
+ type: string;
9745
+ title: string;
9746
+ status: number;
9747
+ detail?: string;
9748
+ instance?: string;
9749
+ code?: string;
9750
+ errors?: Array<{
9751
+ path: string;
9752
+ message: string;
9753
+ summary?: string;
9754
+ }>;
9755
+ };
9756
+ };
9757
+ export type PutApiProjectsByProjectIdNotificationRulesError = PutApiProjectsByProjectIdNotificationRulesErrors[keyof PutApiProjectsByProjectIdNotificationRulesErrors];
9758
+ export type PutApiProjectsByProjectIdNotificationRulesResponses = {
9759
+ /**
9760
+ * Response for status 200
9761
+ */
9762
+ 200: {
9763
+ id: string;
9764
+ projectId: string;
9765
+ kind: 'feedback_request' | 'status_update' | 'blocked' | 'result_ready' | 'warning';
9766
+ channel: 'in_app' | 'jira_comment' | 'email' | 'slack';
9767
+ enabled: boolean;
9768
+ minPriority: 'low' | 'normal' | 'high' | 'urgent' | unknown;
9769
+ conditionsJson: unknown;
9770
+ createdAt: string;
9771
+ updatedAt: string;
9772
+ };
9773
+ };
9774
+ export type PutApiProjectsByProjectIdNotificationRulesResponse = PutApiProjectsByProjectIdNotificationRulesResponses[keyof PutApiProjectsByProjectIdNotificationRulesResponses];
9775
+ export type GetApiStepDefinitionTemplatesData = {
9776
+ body?: never;
9777
+ path?: never;
9778
+ query?: never;
9779
+ url: '/api/step-definition-templates';
9780
+ };
9781
+ export type GetApiStepDefinitionTemplatesErrors = {
9782
+ /**
9783
+ * Response for status 401
9784
+ */
9785
+ 401: {
9786
+ type: string;
9787
+ title: string;
9788
+ status: number;
9789
+ detail?: string;
9790
+ instance?: string;
9791
+ code?: string;
9792
+ errors?: Array<{
9793
+ path: string;
9794
+ message: string;
9795
+ summary?: string;
9796
+ }>;
9797
+ };
9798
+ /**
9799
+ * Response for status 500
9800
+ */
9801
+ 500: {
9802
+ type: string;
9803
+ title: string;
9804
+ status: number;
9805
+ detail?: string;
9806
+ instance?: string;
9807
+ code?: string;
9808
+ errors?: Array<{
9809
+ path: string;
9810
+ message: string;
9811
+ summary?: string;
9812
+ }>;
9813
+ };
9814
+ };
9815
+ export type GetApiStepDefinitionTemplatesError = GetApiStepDefinitionTemplatesErrors[keyof GetApiStepDefinitionTemplatesErrors];
9816
+ export type GetApiStepDefinitionTemplatesResponses = {
9817
+ /**
9818
+ * Response for status 200
9819
+ */
9820
+ 200: Array<{
9821
+ id: string;
9822
+ key: string;
9823
+ name: string;
9824
+ description: string | unknown;
9825
+ promptTemplate: string | unknown;
9826
+ inputSchemaJson: unknown;
9827
+ resultSchemaJson: unknown;
9828
+ opencodeMcpJson: {
9829
+ [key: string]: {
9830
+ type: string;
9831
+ command: Array<string>;
9832
+ environment?: {
9833
+ [key: string]: string;
9834
+ };
9835
+ enabled?: boolean;
9836
+ timeout?: number;
9837
+ } | {
9838
+ type: string;
9839
+ url: string;
9840
+ enabled?: boolean;
9841
+ headers?: {
9842
+ [key: string]: string;
9843
+ };
9844
+ oauth?: {
9845
+ clientId?: string;
9846
+ clientSecret?: string;
9847
+ scope?: string;
9848
+ redirectUri?: string;
9849
+ } | boolean;
9850
+ timeout?: number;
9851
+ } | {
9852
+ enabled: boolean;
9853
+ };
9854
+ } | unknown;
9855
+ opencodePluginJson: Array<string | Array<unknown>> | unknown;
9856
+ signalExtractorDefinitions: Array<{
9857
+ key: string;
9858
+ sourcePath: string;
9859
+ type: 'string' | 'number' | 'boolean' | 'object' | 'array';
9860
+ required: boolean;
9861
+ availableWhenResultStatusIn: Array<string> | unknown;
9862
+ }>;
9863
+ parameters: Array<{
9864
+ key: string;
9865
+ label: string;
9866
+ description?: string | unknown;
9867
+ type: 'text' | 'textarea';
9868
+ required: boolean;
9869
+ placeholder?: string | unknown;
9870
+ }>;
9871
+ status: 'active' | 'archived';
9872
+ createdAt: string;
9873
+ updatedAt: string;
9874
+ }>;
9875
+ };
9876
+ export type GetApiStepDefinitionTemplatesResponse = GetApiStepDefinitionTemplatesResponses[keyof GetApiStepDefinitionTemplatesResponses];
9877
+ export type GetApiStepDefinitionTemplatesByStepDefinitionTemplateIdData = {
9878
+ body?: never;
9879
+ path: {
9880
+ stepDefinitionTemplateId: string;
9881
+ };
9882
+ query?: never;
9883
+ url: '/api/step-definition-templates/{stepDefinitionTemplateId}';
9884
+ };
9885
+ export type GetApiStepDefinitionTemplatesByStepDefinitionTemplateIdErrors = {
9886
+ /**
9887
+ * Response for status 401
9888
+ */
9889
+ 401: {
9890
+ type: string;
9891
+ title: string;
9892
+ status: number;
9893
+ detail?: string;
9894
+ instance?: string;
9895
+ code?: string;
9896
+ errors?: Array<{
9897
+ path: string;
9898
+ message: string;
9899
+ summary?: string;
9900
+ }>;
9901
+ };
9902
+ /**
9903
+ * Response for status 404
9904
+ */
9905
+ 404: {
9906
+ type: string;
9907
+ title: string;
9908
+ status: number;
9909
+ detail?: string;
9910
+ instance?: string;
9911
+ code?: string;
9912
+ errors?: Array<{
9913
+ path: string;
9914
+ message: string;
9915
+ summary?: string;
9916
+ }>;
9917
+ };
9918
+ /**
9919
+ * Response for status 422
9920
+ */
9921
+ 422: {
9922
+ type: string;
9923
+ title: string;
9924
+ status: number;
9925
+ detail?: string;
9926
+ instance?: string;
9927
+ code?: string;
9928
+ errors?: Array<{
9929
+ path: string;
9930
+ message: string;
9931
+ summary?: string;
9932
+ }>;
9933
+ };
9934
+ /**
9935
+ * Response for status 500
9936
+ */
9937
+ 500: {
9938
+ type: string;
9939
+ title: string;
9940
+ status: number;
9941
+ detail?: string;
9942
+ instance?: string;
9943
+ code?: string;
9944
+ errors?: Array<{
9945
+ path: string;
9946
+ message: string;
9947
+ summary?: string;
9948
+ }>;
9949
+ };
9950
+ };
9951
+ export type GetApiStepDefinitionTemplatesByStepDefinitionTemplateIdError = GetApiStepDefinitionTemplatesByStepDefinitionTemplateIdErrors[keyof GetApiStepDefinitionTemplatesByStepDefinitionTemplateIdErrors];
9952
+ export type GetApiStepDefinitionTemplatesByStepDefinitionTemplateIdResponses = {
9953
+ /**
9954
+ * Response for status 200
9955
+ */
9956
+ 200: {
9957
+ id: string;
9958
+ key: string;
9959
+ name: string;
9960
+ description: string | unknown;
9961
+ promptTemplate: string | unknown;
9962
+ inputSchemaJson: unknown;
9963
+ resultSchemaJson: unknown;
9964
+ opencodeMcpJson: {
9965
+ [key: string]: {
9966
+ type: string;
9967
+ command: Array<string>;
9968
+ environment?: {
9969
+ [key: string]: string;
9970
+ };
9971
+ enabled?: boolean;
9972
+ timeout?: number;
9973
+ } | {
9974
+ type: string;
9975
+ url: string;
9976
+ enabled?: boolean;
9977
+ headers?: {
9978
+ [key: string]: string;
9979
+ };
9980
+ oauth?: {
9981
+ clientId?: string;
9982
+ clientSecret?: string;
9983
+ scope?: string;
9984
+ redirectUri?: string;
9985
+ } | boolean;
9986
+ timeout?: number;
9987
+ } | {
9988
+ enabled: boolean;
9989
+ };
9990
+ } | unknown;
9991
+ opencodePluginJson: Array<string | Array<unknown>> | unknown;
9992
+ signalExtractorDefinitions: Array<{
9993
+ key: string;
9994
+ sourcePath: string;
9995
+ type: 'string' | 'number' | 'boolean' | 'object' | 'array';
9996
+ required: boolean;
9997
+ availableWhenResultStatusIn: Array<string> | unknown;
9998
+ }>;
9999
+ parameters: Array<{
10000
+ key: string;
10001
+ label: string;
10002
+ description?: string | unknown;
10003
+ type: 'text' | 'textarea';
10004
+ required: boolean;
10005
+ placeholder?: string | unknown;
10006
+ }>;
10007
+ status: 'active' | 'archived';
10008
+ createdAt: string;
10009
+ updatedAt: string;
10010
+ };
10011
+ };
10012
+ export type GetApiStepDefinitionTemplatesByStepDefinitionTemplateIdResponse = GetApiStepDefinitionTemplatesByStepDefinitionTemplateIdResponses[keyof GetApiStepDefinitionTemplatesByStepDefinitionTemplateIdResponses];
10013
+ export type PostApiStepDefinitionTemplatesByStepDefinitionTemplateIdInstantiateData = {
10014
+ body: {
10015
+ projectId: string;
10016
+ name: string;
10017
+ parameterValues: {
10018
+ [key: string]: string;
10019
+ };
10020
+ };
10021
+ path: {
10022
+ stepDefinitionTemplateId: string;
10023
+ };
10024
+ query?: never;
10025
+ url: '/api/step-definition-templates/{stepDefinitionTemplateId}/instantiate';
10026
+ };
10027
+ export type PostApiStepDefinitionTemplatesByStepDefinitionTemplateIdInstantiateErrors = {
10028
+ /**
10029
+ * Response for status 400
10030
+ */
10031
+ 400: {
10032
+ type: string;
10033
+ title: string;
10034
+ status: number;
10035
+ detail?: string;
10036
+ instance?: string;
10037
+ code?: string;
10038
+ errors?: Array<{
10039
+ path: string;
10040
+ message: string;
10041
+ summary?: string;
10042
+ }>;
10043
+ };
10044
+ /**
10045
+ * Response for status 401
10046
+ */
10047
+ 401: {
10048
+ type: string;
10049
+ title: string;
10050
+ status: number;
10051
+ detail?: string;
10052
+ instance?: string;
10053
+ code?: string;
10054
+ errors?: Array<{
10055
+ path: string;
10056
+ message: string;
10057
+ summary?: string;
10058
+ }>;
10059
+ };
10060
+ /**
10061
+ * Response for status 403
10062
+ */
10063
+ 403: {
10064
+ type: string;
10065
+ title: string;
10066
+ status: number;
10067
+ detail?: string;
10068
+ instance?: string;
10069
+ code?: string;
10070
+ errors?: Array<{
10071
+ path: string;
10072
+ message: string;
10073
+ summary?: string;
10074
+ }>;
10075
+ };
10076
+ /**
10077
+ * Response for status 404
10078
+ */
10079
+ 404: {
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
+ };
10092
+ /**
10093
+ * Response for status 409
10094
+ */
10095
+ 409: {
10096
+ type: string;
10097
+ title: string;
10098
+ status: number;
10099
+ detail?: string;
10100
+ instance?: string;
10101
+ code?: string;
10102
+ errors?: Array<{
10103
+ path: string;
10104
+ message: string;
10105
+ summary?: string;
10106
+ }>;
10107
+ };
10108
+ /**
10109
+ * Response for status 422
10110
+ */
10111
+ 422: {
10112
+ type: string;
10113
+ title: string;
10114
+ status: number;
10115
+ detail?: string;
10116
+ instance?: string;
10117
+ code?: string;
10118
+ errors?: Array<{
10119
+ path: string;
10120
+ message: string;
10121
+ summary?: string;
10122
+ }>;
10123
+ };
10124
+ /**
10125
+ * Response for status 500
10126
+ */
10127
+ 500: {
10128
+ type: string;
10129
+ title: string;
10130
+ status: number;
10131
+ detail?: string;
10132
+ instance?: string;
10133
+ code?: string;
10134
+ errors?: Array<{
10135
+ path: string;
10136
+ message: string;
10137
+ summary?: string;
10138
+ }>;
10139
+ };
10140
+ };
10141
+ export type PostApiStepDefinitionTemplatesByStepDefinitionTemplateIdInstantiateError = PostApiStepDefinitionTemplatesByStepDefinitionTemplateIdInstantiateErrors[keyof PostApiStepDefinitionTemplatesByStepDefinitionTemplateIdInstantiateErrors];
10142
+ export type PostApiStepDefinitionTemplatesByStepDefinitionTemplateIdInstantiateResponses = {
10143
+ /**
10144
+ * Response for status 200
10145
+ */
10146
+ 200: {
10147
+ id: string;
10148
+ projectId: string;
10149
+ key: string;
10150
+ name: string;
10151
+ description: string | unknown;
10152
+ prompt: string | unknown;
10153
+ version: number;
10154
+ kind: 'built_in' | 'user_defined';
10155
+ inputSchemaJson: unknown;
10156
+ resultSchemaJson: unknown;
10157
+ opencodeMcpJson: {
10158
+ [key: string]: {
10159
+ type: string;
10160
+ command: Array<string>;
10161
+ environment?: {
10162
+ [key: string]: string;
10163
+ };
10164
+ enabled?: boolean;
10165
+ timeout?: number;
10166
+ } | {
10167
+ type: string;
10168
+ url: string;
10169
+ enabled?: boolean;
10170
+ headers?: {
10171
+ [key: string]: string;
10172
+ };
10173
+ oauth?: {
9411
10174
  clientId?: string;
9412
10175
  clientSecret?: string;
9413
10176
  scope?: string;
@@ -9419,42 +10182,286 @@ export type GetApiStepDefinitionTemplatesByStepDefinitionTemplateIdResponses = {
9419
10182
  };
9420
10183
  } | unknown;
9421
10184
  opencodePluginJson: Array<string | Array<unknown>> | unknown;
10185
+ status: 'draft' | 'active' | 'archived';
9422
10186
  signalExtractorDefinitions: Array<{
10187
+ id: string;
9423
10188
  key: string;
9424
10189
  sourcePath: string;
9425
10190
  type: 'string' | 'number' | 'boolean' | 'object' | 'array';
9426
10191
  required: boolean;
9427
10192
  availableWhenResultStatusIn: Array<string> | unknown;
10193
+ createdAt: string;
10194
+ updatedAt: string;
10195
+ }>;
10196
+ createdAt: string;
10197
+ updatedAt: string;
10198
+ };
10199
+ };
10200
+ export type PostApiStepDefinitionTemplatesByStepDefinitionTemplateIdInstantiateResponse = PostApiStepDefinitionTemplatesByStepDefinitionTemplateIdInstantiateResponses[keyof PostApiStepDefinitionTemplatesByStepDefinitionTemplateIdInstantiateResponses];
10201
+ export type GetApiProjectsByProjectIdIntegrationsData = {
10202
+ body?: never;
10203
+ path: {
10204
+ projectId: string;
10205
+ };
10206
+ query?: never;
10207
+ url: '/api/projects/{projectId}/integrations';
10208
+ };
10209
+ export type GetApiProjectsByProjectIdIntegrationsErrors = {
10210
+ /**
10211
+ * Response for status 401
10212
+ */
10213
+ 401: {
10214
+ type: string;
10215
+ title: string;
10216
+ status: number;
10217
+ detail?: string;
10218
+ instance?: string;
10219
+ code?: string;
10220
+ errors?: Array<{
10221
+ path: string;
10222
+ message: string;
10223
+ summary?: string;
10224
+ }>;
10225
+ };
10226
+ /**
10227
+ * Response for status 403
10228
+ */
10229
+ 403: {
10230
+ type: string;
10231
+ title: string;
10232
+ status: number;
10233
+ detail?: string;
10234
+ instance?: string;
10235
+ code?: string;
10236
+ errors?: Array<{
10237
+ path: string;
10238
+ message: string;
10239
+ summary?: string;
10240
+ }>;
10241
+ };
10242
+ /**
10243
+ * Response for status 404
10244
+ */
10245
+ 404: {
10246
+ type: string;
10247
+ title: string;
10248
+ status: number;
10249
+ detail?: string;
10250
+ instance?: string;
10251
+ code?: string;
10252
+ errors?: Array<{
10253
+ path: string;
10254
+ message: string;
10255
+ summary?: string;
10256
+ }>;
10257
+ };
10258
+ /**
10259
+ * Response for status 422
10260
+ */
10261
+ 422: {
10262
+ type: string;
10263
+ title: string;
10264
+ status: number;
10265
+ detail?: string;
10266
+ instance?: string;
10267
+ code?: string;
10268
+ errors?: Array<{
10269
+ path: string;
10270
+ message: string;
10271
+ summary?: string;
10272
+ }>;
10273
+ };
10274
+ /**
10275
+ * Response for status 500
10276
+ */
10277
+ 500: {
10278
+ type: string;
10279
+ title: string;
10280
+ status: number;
10281
+ detail?: string;
10282
+ instance?: string;
10283
+ code?: string;
10284
+ errors?: Array<{
10285
+ path: string;
10286
+ message: string;
10287
+ summary?: string;
10288
+ }>;
10289
+ };
10290
+ };
10291
+ export type GetApiProjectsByProjectIdIntegrationsError = GetApiProjectsByProjectIdIntegrationsErrors[keyof GetApiProjectsByProjectIdIntegrationsErrors];
10292
+ export type GetApiProjectsByProjectIdIntegrationsResponses = {
10293
+ /**
10294
+ * Response for status 200
10295
+ */
10296
+ 200: Array<{
10297
+ id: string;
10298
+ projectId: string;
10299
+ platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
10300
+ installationId: string;
10301
+ externalScope: {
10302
+ repos: Array<{
10303
+ id: number;
10304
+ fullName: string;
10305
+ }>;
10306
+ } | {
10307
+ baseUrl: string;
10308
+ email: string;
10309
+ projectKeys: Array<string>;
10310
+ };
10311
+ status: 'active' | 'paused' | 'error';
10312
+ lastSyncedAt: string | unknown;
10313
+ lastError: string | unknown;
10314
+ createdAt: string;
10315
+ updatedAt: string;
10316
+ }>;
10317
+ };
10318
+ export type GetApiProjectsByProjectIdIntegrationsResponse = GetApiProjectsByProjectIdIntegrationsResponses[keyof GetApiProjectsByProjectIdIntegrationsResponses];
10319
+ export type PostApiProjectsByProjectIdIntegrationsData = {
10320
+ body: unknown;
10321
+ path: {
10322
+ projectId: string;
10323
+ };
10324
+ query?: never;
10325
+ url: '/api/projects/{projectId}/integrations';
10326
+ };
10327
+ export type PostApiProjectsByProjectIdIntegrationsErrors = {
10328
+ /**
10329
+ * Response for status 400
10330
+ */
10331
+ 400: {
10332
+ type: string;
10333
+ title: string;
10334
+ status: number;
10335
+ detail?: string;
10336
+ instance?: string;
10337
+ code?: string;
10338
+ errors?: Array<{
10339
+ path: string;
10340
+ message: string;
10341
+ summary?: string;
10342
+ }>;
10343
+ };
10344
+ /**
10345
+ * Response for status 401
10346
+ */
10347
+ 401: {
10348
+ type: string;
10349
+ title: string;
10350
+ status: number;
10351
+ detail?: string;
10352
+ instance?: string;
10353
+ code?: string;
10354
+ errors?: Array<{
10355
+ path: string;
10356
+ message: string;
10357
+ summary?: string;
10358
+ }>;
10359
+ };
10360
+ /**
10361
+ * Response for status 403
10362
+ */
10363
+ 403: {
10364
+ type: string;
10365
+ title: string;
10366
+ status: number;
10367
+ detail?: string;
10368
+ instance?: string;
10369
+ code?: string;
10370
+ errors?: Array<{
10371
+ path: string;
10372
+ message: string;
10373
+ summary?: string;
10374
+ }>;
10375
+ };
10376
+ /**
10377
+ * Response for status 404
10378
+ */
10379
+ 404: {
10380
+ type: string;
10381
+ title: string;
10382
+ status: number;
10383
+ detail?: string;
10384
+ instance?: string;
10385
+ code?: string;
10386
+ errors?: Array<{
10387
+ path: string;
10388
+ message: string;
10389
+ summary?: string;
9428
10390
  }>;
9429
- parameters: Array<{
9430
- key: string;
9431
- label: string;
9432
- description?: string | unknown;
9433
- type: 'text' | 'textarea';
9434
- required: boolean;
9435
- placeholder?: string | unknown;
10391
+ };
10392
+ /**
10393
+ * Response for status 422
10394
+ */
10395
+ 422: {
10396
+ type: string;
10397
+ title: string;
10398
+ status: number;
10399
+ detail?: string;
10400
+ instance?: string;
10401
+ code?: string;
10402
+ errors?: Array<{
10403
+ path: string;
10404
+ message: string;
10405
+ summary?: string;
9436
10406
  }>;
9437
- status: 'active' | 'archived';
10407
+ };
10408
+ /**
10409
+ * Response for status 500
10410
+ */
10411
+ 500: {
10412
+ type: string;
10413
+ title: string;
10414
+ status: number;
10415
+ detail?: string;
10416
+ instance?: string;
10417
+ code?: string;
10418
+ errors?: Array<{
10419
+ path: string;
10420
+ message: string;
10421
+ summary?: string;
10422
+ }>;
10423
+ };
10424
+ };
10425
+ export type PostApiProjectsByProjectIdIntegrationsError = PostApiProjectsByProjectIdIntegrationsErrors[keyof PostApiProjectsByProjectIdIntegrationsErrors];
10426
+ export type PostApiProjectsByProjectIdIntegrationsResponses = {
10427
+ /**
10428
+ * Response for status 200
10429
+ */
10430
+ 200: {
10431
+ id: string;
10432
+ projectId: string;
10433
+ platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
10434
+ installationId: string;
10435
+ externalScope: {
10436
+ repos: Array<{
10437
+ id: number;
10438
+ fullName: string;
10439
+ }>;
10440
+ } | {
10441
+ baseUrl: string;
10442
+ email: string;
10443
+ projectKeys: Array<string>;
10444
+ };
10445
+ status: 'active' | 'paused' | 'error';
10446
+ lastSyncedAt: string | unknown;
10447
+ lastError: string | unknown;
9438
10448
  createdAt: string;
9439
10449
  updatedAt: string;
9440
10450
  };
9441
10451
  };
9442
- export type GetApiStepDefinitionTemplatesByStepDefinitionTemplateIdResponse = GetApiStepDefinitionTemplatesByStepDefinitionTemplateIdResponses[keyof GetApiStepDefinitionTemplatesByStepDefinitionTemplateIdResponses];
9443
- export type PostApiStepDefinitionTemplatesByStepDefinitionTemplateIdInstantiateData = {
10452
+ export type PostApiProjectsByProjectIdIntegrationsResponse = PostApiProjectsByProjectIdIntegrationsResponses[keyof PostApiProjectsByProjectIdIntegrationsResponses];
10453
+ export type PostApiProjectsByProjectIdIntegrationsByIntegrationIdSyncData = {
9444
10454
  body: {
9445
- projectId: string;
9446
- name: string;
9447
- parameterValues: {
9448
- [key: string]: string;
9449
- };
10455
+ apiKey?: string;
9450
10456
  };
9451
10457
  path: {
9452
- stepDefinitionTemplateId: string;
10458
+ projectId: string;
10459
+ integrationId: string;
9453
10460
  };
9454
10461
  query?: never;
9455
- url: '/api/step-definition-templates/{stepDefinitionTemplateId}/instantiate';
10462
+ url: '/api/projects/{projectId}/integrations/{integrationId}/sync';
9456
10463
  };
9457
- export type PostApiStepDefinitionTemplatesByStepDefinitionTemplateIdInstantiateErrors = {
10464
+ export type PostApiProjectsByProjectIdIntegrationsByIntegrationIdSyncErrors = {
9458
10465
  /**
9459
10466
  * Response for status 400
9460
10467
  */
@@ -9520,9 +10527,198 @@ export type PostApiStepDefinitionTemplatesByStepDefinitionTemplateIdInstantiateE
9520
10527
  }>;
9521
10528
  };
9522
10529
  /**
9523
- * Response for status 409
10530
+ * Response for status 422
10531
+ */
10532
+ 422: {
10533
+ type: string;
10534
+ title: string;
10535
+ status: number;
10536
+ detail?: string;
10537
+ instance?: string;
10538
+ code?: string;
10539
+ errors?: Array<{
10540
+ path: string;
10541
+ message: string;
10542
+ summary?: string;
10543
+ }>;
10544
+ };
10545
+ /**
10546
+ * Response for status 500
10547
+ */
10548
+ 500: {
10549
+ type: string;
10550
+ title: string;
10551
+ status: number;
10552
+ detail?: string;
10553
+ instance?: string;
10554
+ code?: string;
10555
+ errors?: Array<{
10556
+ path: string;
10557
+ message: string;
10558
+ summary?: string;
10559
+ }>;
10560
+ };
10561
+ /**
10562
+ * Response for status 502
10563
+ */
10564
+ 502: {
10565
+ type: string;
10566
+ title: string;
10567
+ status: number;
10568
+ detail?: string;
10569
+ instance?: string;
10570
+ code?: string;
10571
+ errors?: Array<{
10572
+ path: string;
10573
+ message: string;
10574
+ summary?: string;
10575
+ }>;
10576
+ };
10577
+ };
10578
+ export type PostApiProjectsByProjectIdIntegrationsByIntegrationIdSyncError = PostApiProjectsByProjectIdIntegrationsByIntegrationIdSyncErrors[keyof PostApiProjectsByProjectIdIntegrationsByIntegrationIdSyncErrors];
10579
+ export type PostApiProjectsByProjectIdIntegrationsByIntegrationIdSyncResponses = {
10580
+ /**
10581
+ * Response for status 200
10582
+ */
10583
+ 200: {
10584
+ totalUpserted: number;
10585
+ perSource: Array<{
10586
+ key: string;
10587
+ totalSeen: number;
10588
+ totalUpserted: number;
10589
+ }>;
10590
+ };
10591
+ };
10592
+ export type PostApiProjectsByProjectIdIntegrationsByIntegrationIdSyncResponse = PostApiProjectsByProjectIdIntegrationsByIntegrationIdSyncResponses[keyof PostApiProjectsByProjectIdIntegrationsByIntegrationIdSyncResponses];
10593
+ export type DeleteApiProjectsByProjectIdIntegrationsByIntegrationIdData = {
10594
+ body?: never;
10595
+ path: {
10596
+ projectId: string;
10597
+ integrationId: string;
10598
+ };
10599
+ query?: never;
10600
+ url: '/api/projects/{projectId}/integrations/{integrationId}';
10601
+ };
10602
+ export type DeleteApiProjectsByProjectIdIntegrationsByIntegrationIdErrors = {
10603
+ /**
10604
+ * Response for status 401
10605
+ */
10606
+ 401: {
10607
+ type: string;
10608
+ title: string;
10609
+ status: number;
10610
+ detail?: string;
10611
+ instance?: string;
10612
+ code?: string;
10613
+ errors?: Array<{
10614
+ path: string;
10615
+ message: string;
10616
+ summary?: string;
10617
+ }>;
10618
+ };
10619
+ /**
10620
+ * Response for status 403
10621
+ */
10622
+ 403: {
10623
+ type: string;
10624
+ title: string;
10625
+ status: number;
10626
+ detail?: string;
10627
+ instance?: string;
10628
+ code?: string;
10629
+ errors?: Array<{
10630
+ path: string;
10631
+ message: string;
10632
+ summary?: string;
10633
+ }>;
10634
+ };
10635
+ /**
10636
+ * Response for status 404
10637
+ */
10638
+ 404: {
10639
+ type: string;
10640
+ title: string;
10641
+ status: number;
10642
+ detail?: string;
10643
+ instance?: string;
10644
+ code?: string;
10645
+ errors?: Array<{
10646
+ path: string;
10647
+ message: string;
10648
+ summary?: string;
10649
+ }>;
10650
+ };
10651
+ /**
10652
+ * Response for status 422
10653
+ */
10654
+ 422: {
10655
+ type: string;
10656
+ title: string;
10657
+ status: number;
10658
+ detail?: string;
10659
+ instance?: string;
10660
+ code?: string;
10661
+ errors?: Array<{
10662
+ path: string;
10663
+ message: string;
10664
+ summary?: string;
10665
+ }>;
10666
+ };
10667
+ /**
10668
+ * Response for status 500
10669
+ */
10670
+ 500: {
10671
+ type: string;
10672
+ title: string;
10673
+ status: number;
10674
+ detail?: string;
10675
+ instance?: string;
10676
+ code?: string;
10677
+ errors?: Array<{
10678
+ path: string;
10679
+ message: string;
10680
+ summary?: string;
10681
+ }>;
10682
+ };
10683
+ };
10684
+ export type DeleteApiProjectsByProjectIdIntegrationsByIntegrationIdError = DeleteApiProjectsByProjectIdIntegrationsByIntegrationIdErrors[keyof DeleteApiProjectsByProjectIdIntegrationsByIntegrationIdErrors];
10685
+ export type DeleteApiProjectsByProjectIdIntegrationsByIntegrationIdResponses = {
10686
+ /**
10687
+ * Response for status 200
10688
+ */
10689
+ 200: unknown;
10690
+ };
10691
+ export type GetApiIntegrationsGithubInstallData = {
10692
+ body?: never;
10693
+ path?: never;
10694
+ query?: never;
10695
+ url: '/api/integrations/github/install';
10696
+ };
10697
+ export type GetApiIntegrationsGithubCallbackData = {
10698
+ body?: never;
10699
+ path?: never;
10700
+ query?: never;
10701
+ url: '/api/integrations/github/callback';
10702
+ };
10703
+ export type PostApiIntegrationsGithubWebhookData = {
10704
+ body?: never;
10705
+ path?: never;
10706
+ query?: never;
10707
+ url: '/api/integrations/github/webhook';
10708
+ };
10709
+ export type GetApiProjectInvitesByTokenData = {
10710
+ body?: never;
10711
+ path: {
10712
+ token: string;
10713
+ };
10714
+ query?: never;
10715
+ url: '/api/project-invites/{token}';
10716
+ };
10717
+ export type GetApiProjectInvitesByTokenErrors = {
10718
+ /**
10719
+ * Response for status 404
9524
10720
  */
9525
- 409: {
10721
+ 404: {
9526
10722
  type: string;
9527
10723
  title: string;
9528
10724
  status: number;
@@ -9568,75 +10764,32 @@ export type PostApiStepDefinitionTemplatesByStepDefinitionTemplateIdInstantiateE
9568
10764
  }>;
9569
10765
  };
9570
10766
  };
9571
- export type PostApiStepDefinitionTemplatesByStepDefinitionTemplateIdInstantiateError = PostApiStepDefinitionTemplatesByStepDefinitionTemplateIdInstantiateErrors[keyof PostApiStepDefinitionTemplatesByStepDefinitionTemplateIdInstantiateErrors];
9572
- export type PostApiStepDefinitionTemplatesByStepDefinitionTemplateIdInstantiateResponses = {
10767
+ export type GetApiProjectInvitesByTokenError = GetApiProjectInvitesByTokenErrors[keyof GetApiProjectInvitesByTokenErrors];
10768
+ export type GetApiProjectInvitesByTokenResponses = {
9573
10769
  /**
9574
10770
  * Response for status 200
9575
10771
  */
9576
10772
  200: {
9577
- id: string;
10773
+ inviteId: string;
9578
10774
  projectId: string;
9579
- key: string;
9580
- name: string;
9581
- description: string | unknown;
9582
- prompt: string | unknown;
9583
- version: number;
9584
- kind: 'built_in' | 'user_defined';
9585
- inputSchemaJson: unknown;
9586
- resultSchemaJson: unknown;
9587
- opencodeMcpJson: {
9588
- [key: string]: {
9589
- type: string;
9590
- command: Array<string>;
9591
- environment?: {
9592
- [key: string]: string;
9593
- };
9594
- enabled?: boolean;
9595
- timeout?: number;
9596
- } | {
9597
- type: string;
9598
- url: string;
9599
- enabled?: boolean;
9600
- headers?: {
9601
- [key: string]: string;
9602
- };
9603
- oauth?: {
9604
- clientId?: string;
9605
- clientSecret?: string;
9606
- scope?: string;
9607
- redirectUri?: string;
9608
- } | boolean;
9609
- timeout?: number;
9610
- } | {
9611
- enabled: boolean;
9612
- };
9613
- } | unknown;
9614
- opencodePluginJson: Array<string | Array<unknown>> | unknown;
9615
- status: 'draft' | 'active' | 'archived';
9616
- signalExtractorDefinitions: Array<{
9617
- id: string;
9618
- key: string;
9619
- sourcePath: string;
9620
- type: 'string' | 'number' | 'boolean' | 'object' | 'array';
9621
- required: boolean;
9622
- availableWhenResultStatusIn: Array<string> | unknown;
9623
- createdAt: string;
9624
- updatedAt: string;
9625
- }>;
9626
- createdAt: string;
9627
- updatedAt: string;
10775
+ projectName: string;
10776
+ role: 'admin' | 'contributor' | 'reviewer';
10777
+ restriction: 'specific_email' | 'any_authenticated_user';
10778
+ permissions: Array<string>;
10779
+ status: 'pending' | 'accepted' | 'revoked' | 'expired';
10780
+ expiresAt: string;
9628
10781
  };
9629
10782
  };
9630
- export type PostApiStepDefinitionTemplatesByStepDefinitionTemplateIdInstantiateResponse = PostApiStepDefinitionTemplatesByStepDefinitionTemplateIdInstantiateResponses[keyof PostApiStepDefinitionTemplatesByStepDefinitionTemplateIdInstantiateResponses];
9631
- export type GetApiProjectsByProjectIdIntegrationsData = {
10783
+ export type GetApiProjectInvitesByTokenResponse = GetApiProjectInvitesByTokenResponses[keyof GetApiProjectInvitesByTokenResponses];
10784
+ export type GetApiProjectsByProjectIdInvitesData = {
9632
10785
  body?: never;
9633
10786
  path: {
9634
10787
  projectId: string;
9635
10788
  };
9636
10789
  query?: never;
9637
- url: '/api/projects/{projectId}/integrations';
10790
+ url: '/api/projects/{projectId}/invites';
9638
10791
  };
9639
- export type GetApiProjectsByProjectIdIntegrationsErrors = {
10792
+ export type GetApiProjectsByProjectIdInvitesErrors = {
9640
10793
  /**
9641
10794
  * Response for status 401
9642
10795
  */
@@ -9669,22 +10822,6 @@ export type GetApiProjectsByProjectIdIntegrationsErrors = {
9669
10822
  summary?: string;
9670
10823
  }>;
9671
10824
  };
9672
- /**
9673
- * Response for status 404
9674
- */
9675
- 404: {
9676
- type: string;
9677
- title: string;
9678
- status: number;
9679
- detail?: string;
9680
- instance?: string;
9681
- code?: string;
9682
- errors?: Array<{
9683
- path: string;
9684
- message: string;
9685
- summary?: string;
9686
- }>;
9687
- };
9688
10825
  /**
9689
10826
  * Response for status 422
9690
10827
  */
@@ -9718,43 +10855,40 @@ export type GetApiProjectsByProjectIdIntegrationsErrors = {
9718
10855
  }>;
9719
10856
  };
9720
10857
  };
9721
- export type GetApiProjectsByProjectIdIntegrationsError = GetApiProjectsByProjectIdIntegrationsErrors[keyof GetApiProjectsByProjectIdIntegrationsErrors];
9722
- export type GetApiProjectsByProjectIdIntegrationsResponses = {
10858
+ export type GetApiProjectsByProjectIdInvitesError = GetApiProjectsByProjectIdInvitesErrors[keyof GetApiProjectsByProjectIdInvitesErrors];
10859
+ export type GetApiProjectsByProjectIdInvitesResponses = {
9723
10860
  /**
9724
10861
  * Response for status 200
9725
10862
  */
9726
10863
  200: Array<{
9727
10864
  id: string;
9728
10865
  projectId: string;
9729
- platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
9730
- installationId: string;
9731
- externalScope: {
9732
- repos: Array<{
9733
- id: number;
9734
- fullName: string;
9735
- }>;
9736
- } | {
9737
- baseUrl: string;
9738
- email: string;
9739
- projectKeys: Array<string>;
9740
- };
9741
- status: 'active' | 'paused' | 'error';
9742
- lastSyncedAt: string | unknown;
9743
- lastError: string | unknown;
10866
+ email: string | unknown;
10867
+ role: 'admin' | 'contributor' | 'reviewer';
10868
+ restriction: 'specific_email' | 'any_authenticated_user';
10869
+ permissions: Array<string>;
10870
+ invitedByUserId: string;
10871
+ status: 'pending' | 'accepted' | 'revoked' | 'expired';
10872
+ expiresAt: string;
10873
+ acceptedAt: string | unknown;
9744
10874
  createdAt: string;
9745
10875
  updatedAt: string;
9746
10876
  }>;
9747
10877
  };
9748
- export type GetApiProjectsByProjectIdIntegrationsResponse = GetApiProjectsByProjectIdIntegrationsResponses[keyof GetApiProjectsByProjectIdIntegrationsResponses];
9749
- export type PostApiProjectsByProjectIdIntegrationsData = {
9750
- body: unknown;
10878
+ export type GetApiProjectsByProjectIdInvitesResponse = GetApiProjectsByProjectIdInvitesResponses[keyof GetApiProjectsByProjectIdInvitesResponses];
10879
+ export type PostApiProjectsByProjectIdInvitesData = {
10880
+ body: {
10881
+ email?: string;
10882
+ role: 'admin' | 'contributor' | 'reviewer';
10883
+ restriction: 'specific_email' | 'any_authenticated_user';
10884
+ };
9751
10885
  path: {
9752
10886
  projectId: string;
9753
10887
  };
9754
10888
  query?: never;
9755
- url: '/api/projects/{projectId}/integrations';
10889
+ url: '/api/projects/{projectId}/invites';
9756
10890
  };
9757
- export type PostApiProjectsByProjectIdIntegrationsErrors = {
10891
+ export type PostApiProjectsByProjectIdInvitesErrors = {
9758
10892
  /**
9759
10893
  * Response for status 400
9760
10894
  */
@@ -9804,9 +10938,9 @@ export type PostApiProjectsByProjectIdIntegrationsErrors = {
9804
10938
  }>;
9805
10939
  };
9806
10940
  /**
9807
- * Response for status 404
10941
+ * Response for status 409
9808
10942
  */
9809
- 404: {
10943
+ 409: {
9810
10944
  type: string;
9811
10945
  title: string;
9812
10946
  status: number;
@@ -9852,62 +10986,40 @@ export type PostApiProjectsByProjectIdIntegrationsErrors = {
9852
10986
  }>;
9853
10987
  };
9854
10988
  };
9855
- export type PostApiProjectsByProjectIdIntegrationsError = PostApiProjectsByProjectIdIntegrationsErrors[keyof PostApiProjectsByProjectIdIntegrationsErrors];
9856
- export type PostApiProjectsByProjectIdIntegrationsResponses = {
10989
+ export type PostApiProjectsByProjectIdInvitesError = PostApiProjectsByProjectIdInvitesErrors[keyof PostApiProjectsByProjectIdInvitesErrors];
10990
+ export type PostApiProjectsByProjectIdInvitesResponses = {
9857
10991
  /**
9858
10992
  * Response for status 200
9859
10993
  */
9860
10994
  200: {
9861
- id: string;
9862
- projectId: string;
9863
- platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
9864
- installationId: string;
9865
- externalScope: {
9866
- repos: Array<{
9867
- id: number;
9868
- fullName: string;
9869
- }>;
9870
- } | {
9871
- baseUrl: string;
9872
- email: string;
9873
- projectKeys: Array<string>;
10995
+ invite: {
10996
+ id: string;
10997
+ projectId: string;
10998
+ email: string | unknown;
10999
+ role: 'admin' | 'contributor' | 'reviewer';
11000
+ restriction: 'specific_email' | 'any_authenticated_user';
11001
+ permissions: Array<string>;
11002
+ invitedByUserId: string;
11003
+ status: 'pending' | 'accepted' | 'revoked' | 'expired';
11004
+ expiresAt: string;
11005
+ acceptedAt: string | unknown;
11006
+ createdAt: string;
11007
+ updatedAt: string;
9874
11008
  };
9875
- status: 'active' | 'paused' | 'error';
9876
- lastSyncedAt: string | unknown;
9877
- lastError: string | unknown;
9878
- createdAt: string;
9879
- updatedAt: string;
11009
+ inviteUrl: string;
9880
11010
  };
9881
11011
  };
9882
- export type PostApiProjectsByProjectIdIntegrationsResponse = PostApiProjectsByProjectIdIntegrationsResponses[keyof PostApiProjectsByProjectIdIntegrationsResponses];
9883
- export type PostApiProjectsByProjectIdIntegrationsByIntegrationIdSyncData = {
9884
- body: {
9885
- apiKey?: string;
9886
- };
11012
+ export type PostApiProjectsByProjectIdInvitesResponse = PostApiProjectsByProjectIdInvitesResponses[keyof PostApiProjectsByProjectIdInvitesResponses];
11013
+ export type PostApiProjectsByProjectIdInvitesByInviteIdRevokeData = {
11014
+ body?: never;
9887
11015
  path: {
9888
11016
  projectId: string;
9889
- integrationId: string;
11017
+ inviteId: string;
9890
11018
  };
9891
11019
  query?: never;
9892
- url: '/api/projects/{projectId}/integrations/{integrationId}/sync';
11020
+ url: '/api/projects/{projectId}/invites/{inviteId}/revoke';
9893
11021
  };
9894
- export type PostApiProjectsByProjectIdIntegrationsByIntegrationIdSyncErrors = {
9895
- /**
9896
- * Response for status 400
9897
- */
9898
- 400: {
9899
- type: string;
9900
- title: string;
9901
- status: number;
9902
- detail?: string;
9903
- instance?: string;
9904
- code?: string;
9905
- errors?: Array<{
9906
- path: string;
9907
- message: string;
9908
- summary?: string;
9909
- }>;
9910
- };
11022
+ export type PostApiProjectsByProjectIdInvitesByInviteIdRevokeErrors = {
9911
11023
  /**
9912
11024
  * Response for status 401
9913
11025
  */
@@ -9988,48 +11100,37 @@ export type PostApiProjectsByProjectIdIntegrationsByIntegrationIdSyncErrors = {
9988
11100
  summary?: string;
9989
11101
  }>;
9990
11102
  };
9991
- /**
9992
- * Response for status 502
9993
- */
9994
- 502: {
9995
- type: string;
9996
- title: string;
9997
- status: number;
9998
- detail?: string;
9999
- instance?: string;
10000
- code?: string;
10001
- errors?: Array<{
10002
- path: string;
10003
- message: string;
10004
- summary?: string;
10005
- }>;
10006
- };
10007
11103
  };
10008
- export type PostApiProjectsByProjectIdIntegrationsByIntegrationIdSyncError = PostApiProjectsByProjectIdIntegrationsByIntegrationIdSyncErrors[keyof PostApiProjectsByProjectIdIntegrationsByIntegrationIdSyncErrors];
10009
- export type PostApiProjectsByProjectIdIntegrationsByIntegrationIdSyncResponses = {
11104
+ export type PostApiProjectsByProjectIdInvitesByInviteIdRevokeError = PostApiProjectsByProjectIdInvitesByInviteIdRevokeErrors[keyof PostApiProjectsByProjectIdInvitesByInviteIdRevokeErrors];
11105
+ export type PostApiProjectsByProjectIdInvitesByInviteIdRevokeResponses = {
10010
11106
  /**
10011
11107
  * Response for status 200
10012
11108
  */
10013
11109
  200: {
10014
- totalUpserted: number;
10015
- perSource: Array<{
10016
- key: string;
10017
- totalSeen: number;
10018
- totalUpserted: number;
10019
- }>;
11110
+ id: string;
11111
+ projectId: string;
11112
+ email: string | unknown;
11113
+ role: 'admin' | 'contributor' | 'reviewer';
11114
+ restriction: 'specific_email' | 'any_authenticated_user';
11115
+ permissions: Array<string>;
11116
+ invitedByUserId: string;
11117
+ status: 'pending' | 'accepted' | 'revoked' | 'expired';
11118
+ expiresAt: string;
11119
+ acceptedAt: string | unknown;
11120
+ createdAt: string;
11121
+ updatedAt: string;
10020
11122
  };
10021
11123
  };
10022
- export type PostApiProjectsByProjectIdIntegrationsByIntegrationIdSyncResponse = PostApiProjectsByProjectIdIntegrationsByIntegrationIdSyncResponses[keyof PostApiProjectsByProjectIdIntegrationsByIntegrationIdSyncResponses];
10023
- export type DeleteApiProjectsByProjectIdIntegrationsByIntegrationIdData = {
11124
+ export type PostApiProjectsByProjectIdInvitesByInviteIdRevokeResponse = PostApiProjectsByProjectIdInvitesByInviteIdRevokeResponses[keyof PostApiProjectsByProjectIdInvitesByInviteIdRevokeResponses];
11125
+ export type PostApiProjectInvitesByTokenAcceptData = {
10024
11126
  body?: never;
10025
11127
  path: {
10026
- projectId: string;
10027
- integrationId: string;
11128
+ token: string;
10028
11129
  };
10029
11130
  query?: never;
10030
- url: '/api/projects/{projectId}/integrations/{integrationId}';
11131
+ url: '/api/project-invites/{token}/accept';
10031
11132
  };
10032
- export type DeleteApiProjectsByProjectIdIntegrationsByIntegrationIdErrors = {
11133
+ export type PostApiProjectInvitesByTokenAcceptErrors = {
10033
11134
  /**
10034
11135
  * Response for status 401
10035
11136
  */
@@ -10078,6 +11179,38 @@ export type DeleteApiProjectsByProjectIdIntegrationsByIntegrationIdErrors = {
10078
11179
  summary?: string;
10079
11180
  }>;
10080
11181
  };
11182
+ /**
11183
+ * Response for status 409
11184
+ */
11185
+ 409: {
11186
+ type: string;
11187
+ title: string;
11188
+ status: number;
11189
+ detail?: string;
11190
+ instance?: string;
11191
+ code?: string;
11192
+ errors?: Array<{
11193
+ path: string;
11194
+ message: string;
11195
+ summary?: string;
11196
+ }>;
11197
+ };
11198
+ /**
11199
+ * Response for status 410
11200
+ */
11201
+ 410: {
11202
+ type: string;
11203
+ title: string;
11204
+ status: number;
11205
+ detail?: string;
11206
+ instance?: string;
11207
+ code?: string;
11208
+ errors?: Array<{
11209
+ path: string;
11210
+ message: string;
11211
+ summary?: string;
11212
+ }>;
11213
+ };
10081
11214
  /**
10082
11215
  * Response for status 422
10083
11216
  */
@@ -10111,28 +11244,24 @@ export type DeleteApiProjectsByProjectIdIntegrationsByIntegrationIdErrors = {
10111
11244
  }>;
10112
11245
  };
10113
11246
  };
10114
- export type DeleteApiProjectsByProjectIdIntegrationsByIntegrationIdError = DeleteApiProjectsByProjectIdIntegrationsByIntegrationIdErrors[keyof DeleteApiProjectsByProjectIdIntegrationsByIntegrationIdErrors];
10115
- export type DeleteApiProjectsByProjectIdIntegrationsByIntegrationIdResponses = {
11247
+ export type PostApiProjectInvitesByTokenAcceptError = PostApiProjectInvitesByTokenAcceptErrors[keyof PostApiProjectInvitesByTokenAcceptErrors];
11248
+ export type PostApiProjectInvitesByTokenAcceptResponses = {
10116
11249
  /**
10117
11250
  * Response for status 200
10118
11251
  */
10119
- 200: unknown;
10120
- };
10121
- export type GetApiIntegrationsGithubInstallData = {
10122
- body?: never;
10123
- path?: never;
10124
- query?: never;
10125
- url: '/api/integrations/github/install';
10126
- };
10127
- export type GetApiIntegrationsGithubCallbackData = {
10128
- body?: never;
10129
- path?: never;
10130
- query?: never;
10131
- url: '/api/integrations/github/callback';
10132
- };
10133
- export type PostApiIntegrationsGithubWebhookData = {
10134
- body?: never;
10135
- path?: never;
10136
- query?: never;
10137
- url: '/api/integrations/github/webhook';
11252
+ 200: {
11253
+ id: string;
11254
+ projectId: string;
11255
+ email: string | unknown;
11256
+ role: 'admin' | 'contributor' | 'reviewer';
11257
+ restriction: 'specific_email' | 'any_authenticated_user';
11258
+ permissions: Array<string>;
11259
+ invitedByUserId: string;
11260
+ status: 'pending' | 'accepted' | 'revoked' | 'expired';
11261
+ expiresAt: string;
11262
+ acceptedAt: string | unknown;
11263
+ createdAt: string;
11264
+ updatedAt: string;
11265
+ };
10138
11266
  };
11267
+ export type PostApiProjectInvitesByTokenAcceptResponse = PostApiProjectInvitesByTokenAcceptResponses[keyof PostApiProjectInvitesByTokenAcceptResponses];