@boboddy/sdk 0.1.45-alpha → 0.2.1-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.
@@ -100,6 +100,7 @@ export type GetApiProjectsResponses = {
100
100
  description: string | unknown;
101
101
  gitUrl: string;
102
102
  createdByUserId: string;
103
+ orgId: string;
103
104
  memberships: Array<{
104
105
  userId: string;
105
106
  permissions: Array<string>;
@@ -266,6 +267,7 @@ export type PostApiProjectsResponses = {
266
267
  description: string | unknown;
267
268
  gitUrl: string;
268
269
  createdByUserId: string;
270
+ orgId: string;
269
271
  memberships: Array<{
270
272
  userId: string;
271
273
  permissions: Array<string>;
@@ -542,6 +544,7 @@ export type GetApiProjectsByProjectIdResponses = {
542
544
  description: string | unknown;
543
545
  gitUrl: string;
544
546
  createdByUserId: string;
547
+ orgId: string;
545
548
  memberships: Array<{
546
549
  userId: string;
547
550
  permissions: Array<string>;
@@ -848,6 +851,7 @@ export type PutApiProjectsByProjectIdDefaultPipelineAssignmentResponses = {
848
851
  description: string | unknown;
849
852
  gitUrl: string;
850
853
  createdByUserId: string;
854
+ orgId: string;
851
855
  memberships: Array<{
852
856
  userId: string;
853
857
  permissions: Array<string>;
@@ -1013,6 +1017,7 @@ export type PutApiProjectsByProjectIdMembersByUserIdPermissionsResponses = {
1013
1017
  description: string | unknown;
1014
1018
  gitUrl: string;
1015
1019
  createdByUserId: string;
1020
+ orgId: string;
1016
1021
  memberships: Array<{
1017
1022
  userId: string;
1018
1023
  permissions: Array<string>;
@@ -3373,6 +3378,357 @@ export type GetApiStepExecutionsByStepExecutionIdResponses = {
3373
3378
  };
3374
3379
  };
3375
3380
  export type GetApiStepExecutionsByStepExecutionIdResponse = GetApiStepExecutionsByStepExecutionIdResponses[keyof GetApiStepExecutionsByStepExecutionIdResponses];
3381
+ export type GetApiStepExecutionsByStepExecutionIdLogsData = {
3382
+ body?: never;
3383
+ path: {
3384
+ stepExecutionId: string;
3385
+ };
3386
+ query: {
3387
+ from: number;
3388
+ limit: number;
3389
+ };
3390
+ url: '/api/step-executions/{stepExecutionId}/logs';
3391
+ };
3392
+ export type GetApiStepExecutionsByStepExecutionIdLogsErrors = {
3393
+ /**
3394
+ * Response for status 401
3395
+ */
3396
+ 401: {
3397
+ type: string;
3398
+ title: string;
3399
+ status: number;
3400
+ detail?: string;
3401
+ instance?: string;
3402
+ code?: string;
3403
+ errors?: Array<{
3404
+ path: string;
3405
+ message: string;
3406
+ summary?: string;
3407
+ }>;
3408
+ };
3409
+ /**
3410
+ * Response for status 403
3411
+ */
3412
+ 403: {
3413
+ type: string;
3414
+ title: string;
3415
+ status: number;
3416
+ detail?: string;
3417
+ instance?: string;
3418
+ code?: string;
3419
+ errors?: Array<{
3420
+ path: string;
3421
+ message: string;
3422
+ summary?: string;
3423
+ }>;
3424
+ };
3425
+ /**
3426
+ * Response for status 404
3427
+ */
3428
+ 404: {
3429
+ type: string;
3430
+ title: string;
3431
+ status: number;
3432
+ detail?: string;
3433
+ instance?: string;
3434
+ code?: string;
3435
+ errors?: Array<{
3436
+ path: string;
3437
+ message: string;
3438
+ summary?: string;
3439
+ }>;
3440
+ };
3441
+ /**
3442
+ * Response for status 422
3443
+ */
3444
+ 422: {
3445
+ type: string;
3446
+ title: string;
3447
+ status: number;
3448
+ detail?: string;
3449
+ instance?: string;
3450
+ code?: string;
3451
+ errors?: Array<{
3452
+ path: string;
3453
+ message: string;
3454
+ summary?: string;
3455
+ }>;
3456
+ };
3457
+ /**
3458
+ * Response for status 500
3459
+ */
3460
+ 500: {
3461
+ type: string;
3462
+ title: string;
3463
+ status: number;
3464
+ detail?: string;
3465
+ instance?: string;
3466
+ code?: string;
3467
+ errors?: Array<{
3468
+ path: string;
3469
+ message: string;
3470
+ summary?: string;
3471
+ }>;
3472
+ };
3473
+ };
3474
+ export type GetApiStepExecutionsByStepExecutionIdLogsError = GetApiStepExecutionsByStepExecutionIdLogsErrors[keyof GetApiStepExecutionsByStepExecutionIdLogsErrors];
3475
+ export type GetApiStepExecutionsByStepExecutionIdLogsResponses = {
3476
+ /**
3477
+ * Response for status 200
3478
+ */
3479
+ 200: {
3480
+ lines: Array<{
3481
+ seq: number;
3482
+ stream: 'worker' | 'ai-server' | 'conversation';
3483
+ ts: string;
3484
+ content: string;
3485
+ }>;
3486
+ nextOffset: number;
3487
+ complete: boolean;
3488
+ };
3489
+ };
3490
+ export type GetApiStepExecutionsByStepExecutionIdLogsResponse = GetApiStepExecutionsByStepExecutionIdLogsResponses[keyof GetApiStepExecutionsByStepExecutionIdLogsResponses];
3491
+ export type PostApiStepExecutionsByStepExecutionIdLogsData = {
3492
+ body: {
3493
+ claimToken: string;
3494
+ lines: Array<{
3495
+ seq: number;
3496
+ stream: 'worker' | 'ai-server' | 'conversation';
3497
+ ts: string;
3498
+ content: string;
3499
+ }>;
3500
+ };
3501
+ path: {
3502
+ stepExecutionId: string;
3503
+ };
3504
+ query?: never;
3505
+ url: '/api/step-executions/{stepExecutionId}/logs';
3506
+ };
3507
+ export type PostApiStepExecutionsByStepExecutionIdLogsErrors = {
3508
+ /**
3509
+ * Response for status 401
3510
+ */
3511
+ 401: {
3512
+ type: string;
3513
+ title: string;
3514
+ status: number;
3515
+ detail?: string;
3516
+ instance?: string;
3517
+ code?: string;
3518
+ errors?: Array<{
3519
+ path: string;
3520
+ message: string;
3521
+ summary?: string;
3522
+ }>;
3523
+ };
3524
+ /**
3525
+ * Response for status 403
3526
+ */
3527
+ 403: {
3528
+ type: string;
3529
+ title: string;
3530
+ status: number;
3531
+ detail?: string;
3532
+ instance?: string;
3533
+ code?: string;
3534
+ errors?: Array<{
3535
+ path: string;
3536
+ message: string;
3537
+ summary?: string;
3538
+ }>;
3539
+ };
3540
+ /**
3541
+ * Response for status 404
3542
+ */
3543
+ 404: {
3544
+ type: string;
3545
+ title: string;
3546
+ status: number;
3547
+ detail?: string;
3548
+ instance?: string;
3549
+ code?: string;
3550
+ errors?: Array<{
3551
+ path: string;
3552
+ message: string;
3553
+ summary?: string;
3554
+ }>;
3555
+ };
3556
+ /**
3557
+ * Response for status 409
3558
+ */
3559
+ 409: {
3560
+ type: string;
3561
+ title: string;
3562
+ status: number;
3563
+ detail?: string;
3564
+ instance?: string;
3565
+ code?: string;
3566
+ errors?: Array<{
3567
+ path: string;
3568
+ message: string;
3569
+ summary?: string;
3570
+ }>;
3571
+ };
3572
+ /**
3573
+ * Response for status 422
3574
+ */
3575
+ 422: {
3576
+ type: string;
3577
+ title: string;
3578
+ status: number;
3579
+ detail?: string;
3580
+ instance?: string;
3581
+ code?: string;
3582
+ errors?: Array<{
3583
+ path: string;
3584
+ message: string;
3585
+ summary?: string;
3586
+ }>;
3587
+ };
3588
+ /**
3589
+ * Response for status 500
3590
+ */
3591
+ 500: {
3592
+ type: string;
3593
+ title: string;
3594
+ status: number;
3595
+ detail?: string;
3596
+ instance?: string;
3597
+ code?: string;
3598
+ errors?: Array<{
3599
+ path: string;
3600
+ message: string;
3601
+ summary?: string;
3602
+ }>;
3603
+ };
3604
+ };
3605
+ export type PostApiStepExecutionsByStepExecutionIdLogsError = PostApiStepExecutionsByStepExecutionIdLogsErrors[keyof PostApiStepExecutionsByStepExecutionIdLogsErrors];
3606
+ export type PostApiStepExecutionsByStepExecutionIdLogsResponses = {
3607
+ /**
3608
+ * Response for status 200
3609
+ */
3610
+ 200: {
3611
+ nextOffset: number;
3612
+ };
3613
+ };
3614
+ export type PostApiStepExecutionsByStepExecutionIdLogsResponse = PostApiStepExecutionsByStepExecutionIdLogsResponses[keyof PostApiStepExecutionsByStepExecutionIdLogsResponses];
3615
+ export type GetApiStepExecutionsByStepExecutionIdLogsArchiveData = {
3616
+ body?: never;
3617
+ path: {
3618
+ stepExecutionId: string;
3619
+ };
3620
+ query?: never;
3621
+ url: '/api/step-executions/{stepExecutionId}/logs/archive';
3622
+ };
3623
+ export type GetApiStepExecutionsByStepExecutionIdLogsArchiveErrors = {
3624
+ /**
3625
+ * Response for status 401
3626
+ */
3627
+ 401: {
3628
+ type: string;
3629
+ title: string;
3630
+ status: number;
3631
+ detail?: string;
3632
+ instance?: string;
3633
+ code?: string;
3634
+ errors?: Array<{
3635
+ path: string;
3636
+ message: string;
3637
+ summary?: string;
3638
+ }>;
3639
+ };
3640
+ /**
3641
+ * Response for status 402
3642
+ */
3643
+ 402: {
3644
+ type: string;
3645
+ title: string;
3646
+ status: number;
3647
+ detail?: string;
3648
+ instance?: string;
3649
+ code?: string;
3650
+ errors?: Array<{
3651
+ path: string;
3652
+ message: string;
3653
+ summary?: string;
3654
+ }>;
3655
+ };
3656
+ /**
3657
+ * Response for status 403
3658
+ */
3659
+ 403: {
3660
+ type: string;
3661
+ title: string;
3662
+ status: number;
3663
+ detail?: string;
3664
+ instance?: string;
3665
+ code?: string;
3666
+ errors?: Array<{
3667
+ path: string;
3668
+ message: string;
3669
+ summary?: string;
3670
+ }>;
3671
+ };
3672
+ /**
3673
+ * Response for status 404
3674
+ */
3675
+ 404: {
3676
+ type: string;
3677
+ title: string;
3678
+ status: number;
3679
+ detail?: string;
3680
+ instance?: string;
3681
+ code?: string;
3682
+ errors?: Array<{
3683
+ path: string;
3684
+ message: string;
3685
+ summary?: string;
3686
+ }>;
3687
+ };
3688
+ /**
3689
+ * Response for status 422
3690
+ */
3691
+ 422: {
3692
+ type: string;
3693
+ title: string;
3694
+ status: number;
3695
+ detail?: string;
3696
+ instance?: string;
3697
+ code?: string;
3698
+ errors?: Array<{
3699
+ path: string;
3700
+ message: string;
3701
+ summary?: string;
3702
+ }>;
3703
+ };
3704
+ /**
3705
+ * Response for status 500
3706
+ */
3707
+ 500: {
3708
+ type: string;
3709
+ title: string;
3710
+ status: number;
3711
+ detail?: string;
3712
+ instance?: string;
3713
+ code?: string;
3714
+ errors?: Array<{
3715
+ path: string;
3716
+ message: string;
3717
+ summary?: string;
3718
+ }>;
3719
+ };
3720
+ };
3721
+ export type GetApiStepExecutionsByStepExecutionIdLogsArchiveError = GetApiStepExecutionsByStepExecutionIdLogsArchiveErrors[keyof GetApiStepExecutionsByStepExecutionIdLogsArchiveErrors];
3722
+ export type GetApiStepExecutionsByStepExecutionIdLogsArchiveResponses = {
3723
+ /**
3724
+ * Response for status 200
3725
+ */
3726
+ 200: {
3727
+ url: string | unknown;
3728
+ sizeBytes: number;
3729
+ };
3730
+ };
3731
+ export type GetApiStepExecutionsByStepExecutionIdLogsArchiveResponse = GetApiStepExecutionsByStepExecutionIdLogsArchiveResponses[keyof GetApiStepExecutionsByStepExecutionIdLogsArchiveResponses];
3376
3732
  export type PostApiLinearPipelineDefinitionsData = {
3377
3733
  body: {
3378
3734
  projectId: string;
@@ -9322,7 +9678,7 @@ export type GetApiProjectsByProjectIdNotificationsByNotificationIdResponses = {
9322
9678
  deliveries: Array<{
9323
9679
  id: string;
9324
9680
  notificationId: string;
9325
- channel: 'in_app' | 'jira_comment' | 'email' | 'slack';
9681
+ channel: 'in_app' | 'work_item_platform_comment' | 'email' | 'slack';
9326
9682
  status: 'pending' | 'sent' | 'failed' | 'suppressed';
9327
9683
  suppressionReason: string | unknown;
9328
9684
  externalUrl: string | unknown;
@@ -9649,7 +10005,7 @@ export type GetApiProjectsByProjectIdNotificationRulesResponses = {
9649
10005
  id: string;
9650
10006
  projectId: string;
9651
10007
  kind: 'feedback_request' | 'status_update' | 'blocked' | 'result_ready' | 'warning';
9652
- channel: 'in_app' | 'jira_comment' | 'email' | 'slack';
10008
+ channel: 'in_app' | 'work_item_platform_comment' | 'email' | 'slack';
9653
10009
  enabled: boolean;
9654
10010
  minPriority: 'low' | 'normal' | 'high' | 'urgent' | unknown;
9655
10011
  conditionsJson: unknown;
@@ -9661,7 +10017,7 @@ export type GetApiProjectsByProjectIdNotificationRulesResponse = GetApiProjectsB
9661
10017
  export type PutApiProjectsByProjectIdNotificationRulesData = {
9662
10018
  body: {
9663
10019
  kind: 'feedback_request' | 'status_update' | 'blocked' | 'result_ready' | 'warning';
9664
- channel: 'in_app' | 'jira_comment' | 'email' | 'slack';
10020
+ channel: 'in_app' | 'work_item_platform_comment' | 'email' | 'slack';
9665
10021
  enabled: boolean;
9666
10022
  minPriority: 'low' | 'normal' | 'high' | 'urgent' | unknown;
9667
10023
  conditionsJson: unknown;
@@ -9763,7 +10119,7 @@ export type PutApiProjectsByProjectIdNotificationRulesResponses = {
9763
10119
  id: string;
9764
10120
  projectId: string;
9765
10121
  kind: 'feedback_request' | 'status_update' | 'blocked' | 'result_ready' | 'warning';
9766
- channel: 'in_app' | 'jira_comment' | 'email' | 'slack';
10122
+ channel: 'in_app' | 'work_item_platform_comment' | 'email' | 'slack';
9767
10123
  enabled: boolean;
9768
10124
  minPriority: 'low' | 'normal' | 'high' | 'urgent' | unknown;
9769
10125
  conditionsJson: unknown;
@@ -11265,3 +11621,116 @@ export type PostApiProjectInvitesByTokenAcceptResponses = {
11265
11621
  };
11266
11622
  };
11267
11623
  export type PostApiProjectInvitesByTokenAcceptResponse = PostApiProjectInvitesByTokenAcceptResponses[keyof PostApiProjectInvitesByTokenAcceptResponses];
11624
+ export type GetApiOrgsByOrgIdUsageData = {
11625
+ body?: never;
11626
+ path: {
11627
+ orgId: string;
11628
+ };
11629
+ query?: never;
11630
+ url: '/api/orgs/{orgId}/usage';
11631
+ };
11632
+ export type GetApiOrgsByOrgIdUsageErrors = {
11633
+ /**
11634
+ * Response for status 401
11635
+ */
11636
+ 401: {
11637
+ type: string;
11638
+ title: string;
11639
+ status: number;
11640
+ detail?: string;
11641
+ instance?: string;
11642
+ code?: string;
11643
+ errors?: Array<{
11644
+ path: string;
11645
+ message: string;
11646
+ summary?: string;
11647
+ }>;
11648
+ };
11649
+ /**
11650
+ * Response for status 403
11651
+ */
11652
+ 403: {
11653
+ type: string;
11654
+ title: string;
11655
+ status: number;
11656
+ detail?: string;
11657
+ instance?: string;
11658
+ code?: string;
11659
+ errors?: Array<{
11660
+ path: string;
11661
+ message: string;
11662
+ summary?: string;
11663
+ }>;
11664
+ };
11665
+ /**
11666
+ * Response for status 404
11667
+ */
11668
+ 404: {
11669
+ type: string;
11670
+ title: string;
11671
+ status: number;
11672
+ detail?: string;
11673
+ instance?: string;
11674
+ code?: string;
11675
+ errors?: Array<{
11676
+ path: string;
11677
+ message: string;
11678
+ summary?: string;
11679
+ }>;
11680
+ };
11681
+ /**
11682
+ * Response for status 422
11683
+ */
11684
+ 422: {
11685
+ type: string;
11686
+ title: string;
11687
+ status: number;
11688
+ detail?: string;
11689
+ instance?: string;
11690
+ code?: string;
11691
+ errors?: Array<{
11692
+ path: string;
11693
+ message: string;
11694
+ summary?: string;
11695
+ }>;
11696
+ };
11697
+ /**
11698
+ * Response for status 500
11699
+ */
11700
+ 500: {
11701
+ type: string;
11702
+ title: string;
11703
+ status: number;
11704
+ detail?: string;
11705
+ instance?: string;
11706
+ code?: string;
11707
+ errors?: Array<{
11708
+ path: string;
11709
+ message: string;
11710
+ summary?: string;
11711
+ }>;
11712
+ };
11713
+ };
11714
+ export type GetApiOrgsByOrgIdUsageError = GetApiOrgsByOrgIdUsageErrors[keyof GetApiOrgsByOrgIdUsageErrors];
11715
+ export type GetApiOrgsByOrgIdUsageResponses = {
11716
+ /**
11717
+ * Response for status 200
11718
+ */
11719
+ 200: {
11720
+ orgId: string;
11721
+ period: string;
11722
+ planId: 'free';
11723
+ writes: number;
11724
+ reads: number;
11725
+ storageBytes: number;
11726
+ limits: {
11727
+ maxWritesPerMonth: number;
11728
+ maxReadsPerMonth: number;
11729
+ maxStorageBytes: number;
11730
+ };
11731
+ resetsAt: string;
11732
+ createdAt: string;
11733
+ updatedAt: string;
11734
+ };
11735
+ };
11736
+ export type GetApiOrgsByOrgIdUsageResponse = GetApiOrgsByOrgIdUsageResponses[keyof GetApiOrgsByOrgIdUsageResponses];