@boboddy/sdk 0.1.44-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.
@@ -9086,16 +9086,18 @@ export type DeleteApiProjectsByProjectIdContextEntriesByEntryIdResponses = {
9086
9086
  */
9087
9087
  200: unknown;
9088
9088
  };
9089
- export type GetApiProjectsByProjectIdStepSignalsByStepSignalIdFeedbackRequestsData = {
9089
+ export type GetApiProjectsByProjectIdNotificationsData = {
9090
9090
  body?: never;
9091
9091
  path: {
9092
9092
  projectId: string;
9093
- stepSignalId: string;
9094
9093
  };
9095
- query?: never;
9096
- 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';
9097
9099
  };
9098
- export type GetApiProjectsByProjectIdStepSignalsByStepSignalIdFeedbackRequestsErrors = {
9100
+ export type GetApiProjectsByProjectIdNotificationsErrors = {
9099
9101
  /**
9100
9102
  * Response for status 401
9101
9103
  */
@@ -9177,33 +9179,42 @@ export type GetApiProjectsByProjectIdStepSignalsByStepSignalIdFeedbackRequestsEr
9177
9179
  }>;
9178
9180
  };
9179
9181
  };
9180
- export type GetApiProjectsByProjectIdStepSignalsByStepSignalIdFeedbackRequestsError = GetApiProjectsByProjectIdStepSignalsByStepSignalIdFeedbackRequestsErrors[keyof GetApiProjectsByProjectIdStepSignalsByStepSignalIdFeedbackRequestsErrors];
9181
- export type GetApiProjectsByProjectIdStepSignalsByStepSignalIdFeedbackRequestsResponses = {
9182
+ export type GetApiProjectsByProjectIdNotificationsError = GetApiProjectsByProjectIdNotificationsErrors[keyof GetApiProjectsByProjectIdNotificationsErrors];
9183
+ export type GetApiProjectsByProjectIdNotificationsResponses = {
9182
9184
  /**
9183
9185
  * Response for status 200
9184
9186
  */
9185
9187
  200: Array<{
9186
9188
  id: string;
9187
- stepSignalId: string;
9188
- question: string;
9189
- category: string;
9190
- suggestedKey: string | unknown;
9191
- 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;
9192
9203
  createdAt: string;
9193
9204
  updatedAt: string;
9194
9205
  }>;
9195
9206
  };
9196
- export type GetApiProjectsByProjectIdStepSignalsByStepSignalIdFeedbackRequestsResponse = GetApiProjectsByProjectIdStepSignalsByStepSignalIdFeedbackRequestsResponses[keyof GetApiProjectsByProjectIdStepSignalsByStepSignalIdFeedbackRequestsResponses];
9197
- export type PostApiProjectsByProjectIdFeedbackRequestsByFeedbackRequestIdDeclineData = {
9207
+ export type GetApiProjectsByProjectIdNotificationsResponse = GetApiProjectsByProjectIdNotificationsResponses[keyof GetApiProjectsByProjectIdNotificationsResponses];
9208
+ export type GetApiProjectsByProjectIdNotificationsByNotificationIdData = {
9198
9209
  body?: never;
9199
9210
  path: {
9200
9211
  projectId: string;
9201
- feedbackRequestId: string;
9212
+ notificationId: string;
9202
9213
  };
9203
9214
  query?: never;
9204
- url: '/api/projects/{projectId}/feedback-requests/{feedbackRequestId}/decline';
9215
+ url: '/api/projects/{projectId}/notifications/{notificationId}';
9205
9216
  };
9206
- export type PostApiProjectsByProjectIdFeedbackRequestsByFeedbackRequestIdDeclineErrors = {
9217
+ export type GetApiProjectsByProjectIdNotificationsByNotificationIdErrors = {
9207
9218
  /**
9208
9219
  * Response for status 401
9209
9220
  */
@@ -9285,13 +9296,482 @@ export type PostApiProjectsByProjectIdFeedbackRequestsByFeedbackRequestIdDecline
9285
9296
  }>;
9286
9297
  };
9287
9298
  };
9288
- export type PostApiProjectsByProjectIdFeedbackRequestsByFeedbackRequestIdDeclineError = PostApiProjectsByProjectIdFeedbackRequestsByFeedbackRequestIdDeclineErrors[keyof PostApiProjectsByProjectIdFeedbackRequestsByFeedbackRequestIdDeclineErrors];
9289
- export type PostApiProjectsByProjectIdFeedbackRequestsByFeedbackRequestIdDeclineResponses = {
9299
+ export type GetApiProjectsByProjectIdNotificationsByNotificationIdError = GetApiProjectsByProjectIdNotificationsByNotificationIdErrors[keyof GetApiProjectsByProjectIdNotificationsByNotificationIdErrors];
9300
+ export type GetApiProjectsByProjectIdNotificationsByNotificationIdResponses = {
9301
+ /**
9302
+ * Response for status 200
9303
+ */
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
+ };
9334
+ };
9335
+ export type GetApiProjectsByProjectIdNotificationsByNotificationIdResponse = GetApiProjectsByProjectIdNotificationsByNotificationIdResponses[keyof GetApiProjectsByProjectIdNotificationsByNotificationIdResponses];
9336
+ export type PostApiProjectsByProjectIdNotificationsByNotificationIdDismissData = {
9337
+ body?: never;
9338
+ path: {
9339
+ projectId: string;
9340
+ notificationId: string;
9341
+ };
9342
+ query?: never;
9343
+ url: '/api/projects/{projectId}/notifications/{notificationId}/dismiss';
9344
+ };
9345
+ export type PostApiProjectsByProjectIdNotificationsByNotificationIdDismissErrors = {
9346
+ /**
9347
+ * Response for status 401
9348
+ */
9349
+ 401: {
9350
+ type: string;
9351
+ title: string;
9352
+ status: number;
9353
+ detail?: string;
9354
+ instance?: string;
9355
+ code?: string;
9356
+ errors?: Array<{
9357
+ path: string;
9358
+ message: string;
9359
+ summary?: string;
9360
+ }>;
9361
+ };
9362
+ /**
9363
+ * Response for status 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
+ };
9410
+ /**
9411
+ * Response for status 500
9412
+ */
9413
+ 500: {
9414
+ type: string;
9415
+ title: string;
9416
+ status: number;
9417
+ detail?: string;
9418
+ instance?: string;
9419
+ code?: string;
9420
+ errors?: Array<{
9421
+ path: string;
9422
+ message: string;
9423
+ summary?: string;
9424
+ }>;
9425
+ };
9426
+ };
9427
+ export type PostApiProjectsByProjectIdNotificationsByNotificationIdDismissError = PostApiProjectsByProjectIdNotificationsByNotificationIdDismissErrors[keyof PostApiProjectsByProjectIdNotificationsByNotificationIdDismissErrors];
9428
+ export type PostApiProjectsByProjectIdNotificationsByNotificationIdDismissResponses = {
9290
9429
  /**
9291
9430
  * Response for status 200
9292
9431
  */
9293
9432
  200: unknown;
9294
9433
  };
9434
+ export type PostApiProjectsByProjectIdNotificationsByNotificationIdRespondData = {
9435
+ body: {
9436
+ answer: string;
9437
+ };
9438
+ path: {
9439
+ projectId: string;
9440
+ notificationId: string;
9441
+ };
9442
+ query?: never;
9443
+ url: '/api/projects/{projectId}/notifications/{notificationId}/respond';
9444
+ };
9445
+ export type PostApiProjectsByProjectIdNotificationsByNotificationIdRespondErrors = {
9446
+ /**
9447
+ * Response for status 401
9448
+ */
9449
+ 401: {
9450
+ type: string;
9451
+ title: string;
9452
+ status: number;
9453
+ detail?: string;
9454
+ instance?: string;
9455
+ code?: string;
9456
+ errors?: Array<{
9457
+ path: string;
9458
+ message: string;
9459
+ summary?: string;
9460
+ }>;
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
+ };
9478
+ /**
9479
+ * Response for status 404
9480
+ */
9481
+ 404: {
9482
+ type: string;
9483
+ title: string;
9484
+ status: number;
9485
+ detail?: string;
9486
+ instance?: string;
9487
+ code?: string;
9488
+ errors?: Array<{
9489
+ path: string;
9490
+ message: string;
9491
+ summary?: string;
9492
+ }>;
9493
+ };
9494
+ /**
9495
+ * Response for status 422
9496
+ */
9497
+ 422: {
9498
+ type: string;
9499
+ title: string;
9500
+ status: number;
9501
+ detail?: string;
9502
+ instance?: string;
9503
+ code?: string;
9504
+ errors?: Array<{
9505
+ path: string;
9506
+ message: string;
9507
+ summary?: string;
9508
+ }>;
9509
+ };
9510
+ /**
9511
+ * Response for status 500
9512
+ */
9513
+ 500: {
9514
+ type: string;
9515
+ title: string;
9516
+ status: number;
9517
+ detail?: string;
9518
+ instance?: string;
9519
+ code?: string;
9520
+ errors?: Array<{
9521
+ path: string;
9522
+ message: string;
9523
+ summary?: string;
9524
+ }>;
9525
+ };
9526
+ };
9527
+ export type PostApiProjectsByProjectIdNotificationsByNotificationIdRespondError = PostApiProjectsByProjectIdNotificationsByNotificationIdRespondErrors[keyof PostApiProjectsByProjectIdNotificationsByNotificationIdRespondErrors];
9528
+ export type PostApiProjectsByProjectIdNotificationsByNotificationIdRespondResponses = {
9529
+ /**
9530
+ * Response for status 200
9531
+ */
9532
+ 200: {
9533
+ id: string;
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];
9295
9775
  export type GetApiStepDefinitionTemplatesData = {
9296
9776
  body?: never;
9297
9777
  path?: never;