@boboddy/sdk 0.0.16-alpha → 0.1.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.
- package/dist/client.js +0 -75
- package/dist/definitions/advancement-policies/define-advancement-policy.d.ts +218 -0
- package/dist/definitions/advancement-policies/index.d.ts +1 -0
- package/dist/definitions/advancement-policies/index.js +95 -0
- package/dist/definitions/pipelines/define-pipeline.d.ts +112 -0
- package/dist/definitions/pipelines/index.d.ts +2 -0
- package/dist/definitions/pipelines/index.js +183 -0
- package/dist/definitions/pipelines/pipeline-definitions-client.d.ts +56 -0
- package/dist/{define-step.d.ts → definitions/steps/define-step.d.ts} +16 -3
- package/dist/definitions/steps/index.d.ts +2 -0
- package/dist/{define-step.js → definitions/steps/index.js} +1368 -80
- package/dist/{step-definitions-client.d.ts → definitions/steps/step-definitions-client.d.ts} +2 -2
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/sdk.gen.d.ts +1 -23
- package/dist/generated/types.gen.d.ts +0 -1351
- package/dist/index.d.ts +2 -1
- package/dist/index.js +303 -168
- package/dist/opencode-mcp.js +94 -88
- package/package.json +79 -20
- package/dist/step-definitions-client.js +0 -1372
|
@@ -337,1357 +337,6 @@ export type GetApiProjectsByProjectIdWorkItemsResponses = {
|
|
|
337
337
|
}>;
|
|
338
338
|
};
|
|
339
339
|
export type GetApiProjectsByProjectIdWorkItemsResponse = GetApiProjectsByProjectIdWorkItemsResponses[keyof GetApiProjectsByProjectIdWorkItemsResponses];
|
|
340
|
-
export type GetApiProjectsByProjectIdRuntimeSessionsData = {
|
|
341
|
-
body?: never;
|
|
342
|
-
path: {
|
|
343
|
-
projectId: string;
|
|
344
|
-
};
|
|
345
|
-
query?: never;
|
|
346
|
-
url: '/api/projects/{projectId}/runtime-sessions';
|
|
347
|
-
};
|
|
348
|
-
export type GetApiProjectsByProjectIdRuntimeSessionsErrors = {
|
|
349
|
-
/**
|
|
350
|
-
* Response for status 401
|
|
351
|
-
*/
|
|
352
|
-
401: {
|
|
353
|
-
type: string;
|
|
354
|
-
title: string;
|
|
355
|
-
status: number;
|
|
356
|
-
detail?: string;
|
|
357
|
-
instance?: string;
|
|
358
|
-
code?: string;
|
|
359
|
-
errors?: Array<{
|
|
360
|
-
path: string;
|
|
361
|
-
message: string;
|
|
362
|
-
summary?: string;
|
|
363
|
-
}>;
|
|
364
|
-
};
|
|
365
|
-
/**
|
|
366
|
-
* Response for status 403
|
|
367
|
-
*/
|
|
368
|
-
403: {
|
|
369
|
-
type: string;
|
|
370
|
-
title: string;
|
|
371
|
-
status: number;
|
|
372
|
-
detail?: string;
|
|
373
|
-
instance?: string;
|
|
374
|
-
code?: string;
|
|
375
|
-
errors?: Array<{
|
|
376
|
-
path: string;
|
|
377
|
-
message: string;
|
|
378
|
-
summary?: string;
|
|
379
|
-
}>;
|
|
380
|
-
};
|
|
381
|
-
/**
|
|
382
|
-
* Response for status 404
|
|
383
|
-
*/
|
|
384
|
-
404: {
|
|
385
|
-
type: string;
|
|
386
|
-
title: string;
|
|
387
|
-
status: number;
|
|
388
|
-
detail?: string;
|
|
389
|
-
instance?: string;
|
|
390
|
-
code?: string;
|
|
391
|
-
errors?: Array<{
|
|
392
|
-
path: string;
|
|
393
|
-
message: string;
|
|
394
|
-
summary?: string;
|
|
395
|
-
}>;
|
|
396
|
-
};
|
|
397
|
-
/**
|
|
398
|
-
* Response for status 422
|
|
399
|
-
*/
|
|
400
|
-
422: {
|
|
401
|
-
type: string;
|
|
402
|
-
title: string;
|
|
403
|
-
status: number;
|
|
404
|
-
detail?: string;
|
|
405
|
-
instance?: string;
|
|
406
|
-
code?: string;
|
|
407
|
-
errors?: Array<{
|
|
408
|
-
path: string;
|
|
409
|
-
message: string;
|
|
410
|
-
summary?: string;
|
|
411
|
-
}>;
|
|
412
|
-
};
|
|
413
|
-
/**
|
|
414
|
-
* Response for status 500
|
|
415
|
-
*/
|
|
416
|
-
500: {
|
|
417
|
-
type: string;
|
|
418
|
-
title: string;
|
|
419
|
-
status: number;
|
|
420
|
-
detail?: string;
|
|
421
|
-
instance?: string;
|
|
422
|
-
code?: string;
|
|
423
|
-
errors?: Array<{
|
|
424
|
-
path: string;
|
|
425
|
-
message: string;
|
|
426
|
-
summary?: string;
|
|
427
|
-
}>;
|
|
428
|
-
};
|
|
429
|
-
};
|
|
430
|
-
export type GetApiProjectsByProjectIdRuntimeSessionsError = GetApiProjectsByProjectIdRuntimeSessionsErrors[keyof GetApiProjectsByProjectIdRuntimeSessionsErrors];
|
|
431
|
-
export type GetApiProjectsByProjectIdRuntimeSessionsResponses = {
|
|
432
|
-
/**
|
|
433
|
-
* Response for status 200
|
|
434
|
-
*/
|
|
435
|
-
200: Array<{
|
|
436
|
-
id: string;
|
|
437
|
-
projectId: string;
|
|
438
|
-
requestedByUserId: string;
|
|
439
|
-
gitUrl: string;
|
|
440
|
-
requestedBranch: string | unknown;
|
|
441
|
-
resolvedBranch: string | unknown;
|
|
442
|
-
projectEnvironmentRef: string | unknown;
|
|
443
|
-
agentEnvironmentRef: string | unknown;
|
|
444
|
-
runnerAssignment: string | unknown;
|
|
445
|
-
workspacePath: string | unknown;
|
|
446
|
-
devcontainerId: string | unknown;
|
|
447
|
-
aiContainerId: string | unknown;
|
|
448
|
-
aiBaseUrl: string | unknown;
|
|
449
|
-
aiImage: string | unknown;
|
|
450
|
-
devcontainerConfigPath: string | unknown;
|
|
451
|
-
projectEnvironmentReadyAt: string | unknown;
|
|
452
|
-
agentEnvironmentReadyAt: string | unknown;
|
|
453
|
-
status: 'queued' | 'cloning' | 'validating_spec' | 'launching' | 'running' | 'failed' | 'stopped';
|
|
454
|
-
failureReason: string | unknown;
|
|
455
|
-
metadata: unknown;
|
|
456
|
-
createdAt: string;
|
|
457
|
-
updatedAt: string;
|
|
458
|
-
}>;
|
|
459
|
-
};
|
|
460
|
-
export type GetApiProjectsByProjectIdRuntimeSessionsResponse = GetApiProjectsByProjectIdRuntimeSessionsResponses[keyof GetApiProjectsByProjectIdRuntimeSessionsResponses];
|
|
461
|
-
export type PostApiProjectsByProjectIdRuntimeSessionsData = {
|
|
462
|
-
body: {
|
|
463
|
-
requestedBranch?: string | unknown;
|
|
464
|
-
};
|
|
465
|
-
path: {
|
|
466
|
-
projectId: string;
|
|
467
|
-
};
|
|
468
|
-
query?: never;
|
|
469
|
-
url: '/api/projects/{projectId}/runtime-sessions';
|
|
470
|
-
};
|
|
471
|
-
export type PostApiProjectsByProjectIdRuntimeSessionsErrors = {
|
|
472
|
-
/**
|
|
473
|
-
* Response for status 401
|
|
474
|
-
*/
|
|
475
|
-
401: {
|
|
476
|
-
type: string;
|
|
477
|
-
title: string;
|
|
478
|
-
status: number;
|
|
479
|
-
detail?: string;
|
|
480
|
-
instance?: string;
|
|
481
|
-
code?: string;
|
|
482
|
-
errors?: Array<{
|
|
483
|
-
path: string;
|
|
484
|
-
message: string;
|
|
485
|
-
summary?: string;
|
|
486
|
-
}>;
|
|
487
|
-
};
|
|
488
|
-
/**
|
|
489
|
-
* Response for status 403
|
|
490
|
-
*/
|
|
491
|
-
403: {
|
|
492
|
-
type: string;
|
|
493
|
-
title: string;
|
|
494
|
-
status: number;
|
|
495
|
-
detail?: string;
|
|
496
|
-
instance?: string;
|
|
497
|
-
code?: string;
|
|
498
|
-
errors?: Array<{
|
|
499
|
-
path: string;
|
|
500
|
-
message: string;
|
|
501
|
-
summary?: string;
|
|
502
|
-
}>;
|
|
503
|
-
};
|
|
504
|
-
/**
|
|
505
|
-
* Response for status 404
|
|
506
|
-
*/
|
|
507
|
-
404: {
|
|
508
|
-
type: string;
|
|
509
|
-
title: string;
|
|
510
|
-
status: number;
|
|
511
|
-
detail?: string;
|
|
512
|
-
instance?: string;
|
|
513
|
-
code?: string;
|
|
514
|
-
errors?: Array<{
|
|
515
|
-
path: string;
|
|
516
|
-
message: string;
|
|
517
|
-
summary?: string;
|
|
518
|
-
}>;
|
|
519
|
-
};
|
|
520
|
-
/**
|
|
521
|
-
* Response for status 422
|
|
522
|
-
*/
|
|
523
|
-
422: {
|
|
524
|
-
type: string;
|
|
525
|
-
title: string;
|
|
526
|
-
status: number;
|
|
527
|
-
detail?: string;
|
|
528
|
-
instance?: string;
|
|
529
|
-
code?: string;
|
|
530
|
-
errors?: Array<{
|
|
531
|
-
path: string;
|
|
532
|
-
message: string;
|
|
533
|
-
summary?: string;
|
|
534
|
-
}>;
|
|
535
|
-
};
|
|
536
|
-
/**
|
|
537
|
-
* Response for status 500
|
|
538
|
-
*/
|
|
539
|
-
500: {
|
|
540
|
-
type: string;
|
|
541
|
-
title: string;
|
|
542
|
-
status: number;
|
|
543
|
-
detail?: string;
|
|
544
|
-
instance?: string;
|
|
545
|
-
code?: string;
|
|
546
|
-
errors?: Array<{
|
|
547
|
-
path: string;
|
|
548
|
-
message: string;
|
|
549
|
-
summary?: string;
|
|
550
|
-
}>;
|
|
551
|
-
};
|
|
552
|
-
};
|
|
553
|
-
export type PostApiProjectsByProjectIdRuntimeSessionsError = PostApiProjectsByProjectIdRuntimeSessionsErrors[keyof PostApiProjectsByProjectIdRuntimeSessionsErrors];
|
|
554
|
-
export type PostApiProjectsByProjectIdRuntimeSessionsResponses = {
|
|
555
|
-
/**
|
|
556
|
-
* Response for status 200
|
|
557
|
-
*/
|
|
558
|
-
200: {
|
|
559
|
-
id: string;
|
|
560
|
-
projectId: string;
|
|
561
|
-
requestedByUserId: string;
|
|
562
|
-
gitUrl: string;
|
|
563
|
-
requestedBranch: string | unknown;
|
|
564
|
-
resolvedBranch: string | unknown;
|
|
565
|
-
projectEnvironmentRef: string | unknown;
|
|
566
|
-
agentEnvironmentRef: string | unknown;
|
|
567
|
-
runnerAssignment: string | unknown;
|
|
568
|
-
workspacePath: string | unknown;
|
|
569
|
-
devcontainerId: string | unknown;
|
|
570
|
-
aiContainerId: string | unknown;
|
|
571
|
-
aiBaseUrl: string | unknown;
|
|
572
|
-
aiImage: string | unknown;
|
|
573
|
-
devcontainerConfigPath: string | unknown;
|
|
574
|
-
projectEnvironmentReadyAt: string | unknown;
|
|
575
|
-
agentEnvironmentReadyAt: string | unknown;
|
|
576
|
-
status: 'queued' | 'cloning' | 'validating_spec' | 'launching' | 'running' | 'failed' | 'stopped';
|
|
577
|
-
failureReason: string | unknown;
|
|
578
|
-
metadata: unknown;
|
|
579
|
-
createdAt: string;
|
|
580
|
-
updatedAt: string;
|
|
581
|
-
};
|
|
582
|
-
};
|
|
583
|
-
export type PostApiProjectsByProjectIdRuntimeSessionsResponse = PostApiProjectsByProjectIdRuntimeSessionsResponses[keyof PostApiProjectsByProjectIdRuntimeSessionsResponses];
|
|
584
|
-
export type GetApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdData = {
|
|
585
|
-
body?: never;
|
|
586
|
-
path: {
|
|
587
|
-
projectId: string;
|
|
588
|
-
runtimeSessionId: string;
|
|
589
|
-
};
|
|
590
|
-
query?: never;
|
|
591
|
-
url: '/api/projects/{projectId}/runtime-sessions/{runtimeSessionId}';
|
|
592
|
-
};
|
|
593
|
-
export type GetApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdErrors = {
|
|
594
|
-
/**
|
|
595
|
-
* Response for status 401
|
|
596
|
-
*/
|
|
597
|
-
401: {
|
|
598
|
-
type: string;
|
|
599
|
-
title: string;
|
|
600
|
-
status: number;
|
|
601
|
-
detail?: string;
|
|
602
|
-
instance?: string;
|
|
603
|
-
code?: string;
|
|
604
|
-
errors?: Array<{
|
|
605
|
-
path: string;
|
|
606
|
-
message: string;
|
|
607
|
-
summary?: string;
|
|
608
|
-
}>;
|
|
609
|
-
};
|
|
610
|
-
/**
|
|
611
|
-
* Response for status 403
|
|
612
|
-
*/
|
|
613
|
-
403: {
|
|
614
|
-
type: string;
|
|
615
|
-
title: string;
|
|
616
|
-
status: number;
|
|
617
|
-
detail?: string;
|
|
618
|
-
instance?: string;
|
|
619
|
-
code?: string;
|
|
620
|
-
errors?: Array<{
|
|
621
|
-
path: string;
|
|
622
|
-
message: string;
|
|
623
|
-
summary?: string;
|
|
624
|
-
}>;
|
|
625
|
-
};
|
|
626
|
-
/**
|
|
627
|
-
* Response for status 404
|
|
628
|
-
*/
|
|
629
|
-
404: {
|
|
630
|
-
type: string;
|
|
631
|
-
title: string;
|
|
632
|
-
status: number;
|
|
633
|
-
detail?: string;
|
|
634
|
-
instance?: string;
|
|
635
|
-
code?: string;
|
|
636
|
-
errors?: Array<{
|
|
637
|
-
path: string;
|
|
638
|
-
message: string;
|
|
639
|
-
summary?: string;
|
|
640
|
-
}>;
|
|
641
|
-
};
|
|
642
|
-
/**
|
|
643
|
-
* Response for status 422
|
|
644
|
-
*/
|
|
645
|
-
422: {
|
|
646
|
-
type: string;
|
|
647
|
-
title: string;
|
|
648
|
-
status: number;
|
|
649
|
-
detail?: string;
|
|
650
|
-
instance?: string;
|
|
651
|
-
code?: string;
|
|
652
|
-
errors?: Array<{
|
|
653
|
-
path: string;
|
|
654
|
-
message: string;
|
|
655
|
-
summary?: string;
|
|
656
|
-
}>;
|
|
657
|
-
};
|
|
658
|
-
/**
|
|
659
|
-
* Response for status 500
|
|
660
|
-
*/
|
|
661
|
-
500: {
|
|
662
|
-
type: string;
|
|
663
|
-
title: string;
|
|
664
|
-
status: number;
|
|
665
|
-
detail?: string;
|
|
666
|
-
instance?: string;
|
|
667
|
-
code?: string;
|
|
668
|
-
errors?: Array<{
|
|
669
|
-
path: string;
|
|
670
|
-
message: string;
|
|
671
|
-
summary?: string;
|
|
672
|
-
}>;
|
|
673
|
-
};
|
|
674
|
-
};
|
|
675
|
-
export type GetApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdError = GetApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdErrors[keyof GetApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdErrors];
|
|
676
|
-
export type GetApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdResponses = {
|
|
677
|
-
/**
|
|
678
|
-
* Response for status 200
|
|
679
|
-
*/
|
|
680
|
-
200: {
|
|
681
|
-
id: string;
|
|
682
|
-
projectId: string;
|
|
683
|
-
requestedByUserId: string;
|
|
684
|
-
gitUrl: string;
|
|
685
|
-
requestedBranch: string | unknown;
|
|
686
|
-
resolvedBranch: string | unknown;
|
|
687
|
-
projectEnvironmentRef: string | unknown;
|
|
688
|
-
agentEnvironmentRef: string | unknown;
|
|
689
|
-
runnerAssignment: string | unknown;
|
|
690
|
-
workspacePath: string | unknown;
|
|
691
|
-
devcontainerId: string | unknown;
|
|
692
|
-
aiContainerId: string | unknown;
|
|
693
|
-
aiBaseUrl: string | unknown;
|
|
694
|
-
aiImage: string | unknown;
|
|
695
|
-
devcontainerConfigPath: string | unknown;
|
|
696
|
-
projectEnvironmentReadyAt: string | unknown;
|
|
697
|
-
agentEnvironmentReadyAt: string | unknown;
|
|
698
|
-
status: 'queued' | 'cloning' | 'validating_spec' | 'launching' | 'running' | 'failed' | 'stopped';
|
|
699
|
-
failureReason: string | unknown;
|
|
700
|
-
metadata: unknown;
|
|
701
|
-
createdAt: string;
|
|
702
|
-
updatedAt: string;
|
|
703
|
-
};
|
|
704
|
-
};
|
|
705
|
-
export type GetApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdResponse = GetApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdResponses[keyof GetApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdResponses];
|
|
706
|
-
export type PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdStopData = {
|
|
707
|
-
body?: never;
|
|
708
|
-
path: {
|
|
709
|
-
projectId: string;
|
|
710
|
-
runtimeSessionId: string;
|
|
711
|
-
};
|
|
712
|
-
query?: never;
|
|
713
|
-
url: '/api/projects/{projectId}/runtime-sessions/{runtimeSessionId}/stop';
|
|
714
|
-
};
|
|
715
|
-
export type PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdStopErrors = {
|
|
716
|
-
/**
|
|
717
|
-
* Response for status 401
|
|
718
|
-
*/
|
|
719
|
-
401: {
|
|
720
|
-
type: string;
|
|
721
|
-
title: string;
|
|
722
|
-
status: number;
|
|
723
|
-
detail?: string;
|
|
724
|
-
instance?: string;
|
|
725
|
-
code?: string;
|
|
726
|
-
errors?: Array<{
|
|
727
|
-
path: string;
|
|
728
|
-
message: string;
|
|
729
|
-
summary?: string;
|
|
730
|
-
}>;
|
|
731
|
-
};
|
|
732
|
-
/**
|
|
733
|
-
* Response for status 403
|
|
734
|
-
*/
|
|
735
|
-
403: {
|
|
736
|
-
type: string;
|
|
737
|
-
title: string;
|
|
738
|
-
status: number;
|
|
739
|
-
detail?: string;
|
|
740
|
-
instance?: string;
|
|
741
|
-
code?: string;
|
|
742
|
-
errors?: Array<{
|
|
743
|
-
path: string;
|
|
744
|
-
message: string;
|
|
745
|
-
summary?: string;
|
|
746
|
-
}>;
|
|
747
|
-
};
|
|
748
|
-
/**
|
|
749
|
-
* Response for status 404
|
|
750
|
-
*/
|
|
751
|
-
404: {
|
|
752
|
-
type: string;
|
|
753
|
-
title: string;
|
|
754
|
-
status: number;
|
|
755
|
-
detail?: string;
|
|
756
|
-
instance?: string;
|
|
757
|
-
code?: string;
|
|
758
|
-
errors?: Array<{
|
|
759
|
-
path: string;
|
|
760
|
-
message: string;
|
|
761
|
-
summary?: string;
|
|
762
|
-
}>;
|
|
763
|
-
};
|
|
764
|
-
/**
|
|
765
|
-
* Response for status 422
|
|
766
|
-
*/
|
|
767
|
-
422: {
|
|
768
|
-
type: string;
|
|
769
|
-
title: string;
|
|
770
|
-
status: number;
|
|
771
|
-
detail?: string;
|
|
772
|
-
instance?: string;
|
|
773
|
-
code?: string;
|
|
774
|
-
errors?: Array<{
|
|
775
|
-
path: string;
|
|
776
|
-
message: string;
|
|
777
|
-
summary?: string;
|
|
778
|
-
}>;
|
|
779
|
-
};
|
|
780
|
-
/**
|
|
781
|
-
* Response for status 500
|
|
782
|
-
*/
|
|
783
|
-
500: {
|
|
784
|
-
type: string;
|
|
785
|
-
title: string;
|
|
786
|
-
status: number;
|
|
787
|
-
detail?: string;
|
|
788
|
-
instance?: string;
|
|
789
|
-
code?: string;
|
|
790
|
-
errors?: Array<{
|
|
791
|
-
path: string;
|
|
792
|
-
message: string;
|
|
793
|
-
summary?: string;
|
|
794
|
-
}>;
|
|
795
|
-
};
|
|
796
|
-
};
|
|
797
|
-
export type PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdStopError = PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdStopErrors[keyof PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdStopErrors];
|
|
798
|
-
export type PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdStopResponses = {
|
|
799
|
-
/**
|
|
800
|
-
* Response for status 200
|
|
801
|
-
*/
|
|
802
|
-
200: {
|
|
803
|
-
id: string;
|
|
804
|
-
projectId: string;
|
|
805
|
-
requestedByUserId: string;
|
|
806
|
-
gitUrl: string;
|
|
807
|
-
requestedBranch: string | unknown;
|
|
808
|
-
resolvedBranch: string | unknown;
|
|
809
|
-
projectEnvironmentRef: string | unknown;
|
|
810
|
-
agentEnvironmentRef: string | unknown;
|
|
811
|
-
runnerAssignment: string | unknown;
|
|
812
|
-
workspacePath: string | unknown;
|
|
813
|
-
devcontainerId: string | unknown;
|
|
814
|
-
aiContainerId: string | unknown;
|
|
815
|
-
aiBaseUrl: string | unknown;
|
|
816
|
-
aiImage: string | unknown;
|
|
817
|
-
devcontainerConfigPath: string | unknown;
|
|
818
|
-
projectEnvironmentReadyAt: string | unknown;
|
|
819
|
-
agentEnvironmentReadyAt: string | unknown;
|
|
820
|
-
status: 'queued' | 'cloning' | 'validating_spec' | 'launching' | 'running' | 'failed' | 'stopped';
|
|
821
|
-
failureReason: string | unknown;
|
|
822
|
-
metadata: unknown;
|
|
823
|
-
createdAt: string;
|
|
824
|
-
updatedAt: string;
|
|
825
|
-
};
|
|
826
|
-
};
|
|
827
|
-
export type PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdStopResponse = PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdStopResponses[keyof PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdStopResponses];
|
|
828
|
-
export type PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdServicesData = {
|
|
829
|
-
body: {
|
|
830
|
-
environmentRole: 'project' | 'agent';
|
|
831
|
-
command: string;
|
|
832
|
-
healthcheck: {
|
|
833
|
-
protocolKind: 'http' | 'tcp';
|
|
834
|
-
targetPort: number;
|
|
835
|
-
path?: string | unknown;
|
|
836
|
-
expectedStatus?: number | unknown;
|
|
837
|
-
intervalMs?: number;
|
|
838
|
-
timeoutMs?: number;
|
|
839
|
-
retries?: number;
|
|
840
|
-
};
|
|
841
|
-
metadata?: unknown;
|
|
842
|
-
};
|
|
843
|
-
path: {
|
|
844
|
-
projectId: string;
|
|
845
|
-
runtimeSessionId: string;
|
|
846
|
-
};
|
|
847
|
-
query?: never;
|
|
848
|
-
url: '/api/projects/{projectId}/runtime-sessions/{runtimeSessionId}/services';
|
|
849
|
-
};
|
|
850
|
-
export type PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdServicesErrors = {
|
|
851
|
-
/**
|
|
852
|
-
* Response for status 401
|
|
853
|
-
*/
|
|
854
|
-
401: {
|
|
855
|
-
type: string;
|
|
856
|
-
title: string;
|
|
857
|
-
status: number;
|
|
858
|
-
detail?: string;
|
|
859
|
-
instance?: string;
|
|
860
|
-
code?: string;
|
|
861
|
-
errors?: Array<{
|
|
862
|
-
path: string;
|
|
863
|
-
message: string;
|
|
864
|
-
summary?: string;
|
|
865
|
-
}>;
|
|
866
|
-
};
|
|
867
|
-
/**
|
|
868
|
-
* Response for status 403
|
|
869
|
-
*/
|
|
870
|
-
403: {
|
|
871
|
-
type: string;
|
|
872
|
-
title: string;
|
|
873
|
-
status: number;
|
|
874
|
-
detail?: string;
|
|
875
|
-
instance?: string;
|
|
876
|
-
code?: string;
|
|
877
|
-
errors?: Array<{
|
|
878
|
-
path: string;
|
|
879
|
-
message: string;
|
|
880
|
-
summary?: string;
|
|
881
|
-
}>;
|
|
882
|
-
};
|
|
883
|
-
/**
|
|
884
|
-
* Response for status 404
|
|
885
|
-
*/
|
|
886
|
-
404: {
|
|
887
|
-
type: string;
|
|
888
|
-
title: string;
|
|
889
|
-
status: number;
|
|
890
|
-
detail?: string;
|
|
891
|
-
instance?: string;
|
|
892
|
-
code?: string;
|
|
893
|
-
errors?: Array<{
|
|
894
|
-
path: string;
|
|
895
|
-
message: string;
|
|
896
|
-
summary?: string;
|
|
897
|
-
}>;
|
|
898
|
-
};
|
|
899
|
-
/**
|
|
900
|
-
* Response for status 409
|
|
901
|
-
*/
|
|
902
|
-
409: {
|
|
903
|
-
type: string;
|
|
904
|
-
title: string;
|
|
905
|
-
status: number;
|
|
906
|
-
detail?: string;
|
|
907
|
-
instance?: string;
|
|
908
|
-
code?: string;
|
|
909
|
-
errors?: Array<{
|
|
910
|
-
path: string;
|
|
911
|
-
message: string;
|
|
912
|
-
summary?: string;
|
|
913
|
-
}>;
|
|
914
|
-
};
|
|
915
|
-
/**
|
|
916
|
-
* Response for status 422
|
|
917
|
-
*/
|
|
918
|
-
422: {
|
|
919
|
-
type: string;
|
|
920
|
-
title: string;
|
|
921
|
-
status: number;
|
|
922
|
-
detail?: string;
|
|
923
|
-
instance?: string;
|
|
924
|
-
code?: string;
|
|
925
|
-
errors?: Array<{
|
|
926
|
-
path: string;
|
|
927
|
-
message: string;
|
|
928
|
-
summary?: string;
|
|
929
|
-
}>;
|
|
930
|
-
};
|
|
931
|
-
/**
|
|
932
|
-
* Response for status 500
|
|
933
|
-
*/
|
|
934
|
-
500: {
|
|
935
|
-
type: string;
|
|
936
|
-
title: string;
|
|
937
|
-
status: number;
|
|
938
|
-
detail?: string;
|
|
939
|
-
instance?: string;
|
|
940
|
-
code?: string;
|
|
941
|
-
errors?: Array<{
|
|
942
|
-
path: string;
|
|
943
|
-
message: string;
|
|
944
|
-
summary?: string;
|
|
945
|
-
}>;
|
|
946
|
-
};
|
|
947
|
-
};
|
|
948
|
-
export type PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdServicesError = PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdServicesErrors[keyof PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdServicesErrors];
|
|
949
|
-
export type PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdServicesResponses = {
|
|
950
|
-
/**
|
|
951
|
-
* Response for status 200
|
|
952
|
-
*/
|
|
953
|
-
200: {
|
|
954
|
-
id: string;
|
|
955
|
-
projectId: string;
|
|
956
|
-
projectRuntimeSessionId: string;
|
|
957
|
-
environmentRole: 'project' | 'agent';
|
|
958
|
-
command: string;
|
|
959
|
-
status: 'queued' | 'starting' | 'ready' | 'stopping' | 'stopped' | 'failed';
|
|
960
|
-
healthcheck: {
|
|
961
|
-
protocolKind: 'http' | 'tcp';
|
|
962
|
-
targetPort: number;
|
|
963
|
-
path: string | unknown;
|
|
964
|
-
expectedStatus: number | unknown;
|
|
965
|
-
intervalMs: number;
|
|
966
|
-
timeoutMs: number;
|
|
967
|
-
retries: number;
|
|
968
|
-
};
|
|
969
|
-
accessPoints: Array<{
|
|
970
|
-
host: string;
|
|
971
|
-
port: number;
|
|
972
|
-
protocol: 'tcp' | 'http';
|
|
973
|
-
}>;
|
|
974
|
-
failureReason: string | unknown;
|
|
975
|
-
metadata: unknown;
|
|
976
|
-
createdAt: string;
|
|
977
|
-
startedAt: string | unknown;
|
|
978
|
-
readyAt: string | unknown;
|
|
979
|
-
stoppedAt: string | unknown;
|
|
980
|
-
updatedAt: string;
|
|
981
|
-
};
|
|
982
|
-
};
|
|
983
|
-
export type PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdServicesResponse = PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdServicesResponses[keyof PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdServicesResponses];
|
|
984
|
-
export type GetApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdServicesByRuntimeServiceIdData = {
|
|
985
|
-
body?: never;
|
|
986
|
-
path: {
|
|
987
|
-
projectId: string;
|
|
988
|
-
runtimeSessionId: string;
|
|
989
|
-
runtimeServiceId: string;
|
|
990
|
-
};
|
|
991
|
-
query?: never;
|
|
992
|
-
url: '/api/projects/{projectId}/runtime-sessions/{runtimeSessionId}/services/{runtimeServiceId}';
|
|
993
|
-
};
|
|
994
|
-
export type GetApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdServicesByRuntimeServiceIdErrors = {
|
|
995
|
-
/**
|
|
996
|
-
* Response for status 401
|
|
997
|
-
*/
|
|
998
|
-
401: {
|
|
999
|
-
type: string;
|
|
1000
|
-
title: string;
|
|
1001
|
-
status: number;
|
|
1002
|
-
detail?: string;
|
|
1003
|
-
instance?: string;
|
|
1004
|
-
code?: string;
|
|
1005
|
-
errors?: Array<{
|
|
1006
|
-
path: string;
|
|
1007
|
-
message: string;
|
|
1008
|
-
summary?: string;
|
|
1009
|
-
}>;
|
|
1010
|
-
};
|
|
1011
|
-
/**
|
|
1012
|
-
* Response for status 403
|
|
1013
|
-
*/
|
|
1014
|
-
403: {
|
|
1015
|
-
type: string;
|
|
1016
|
-
title: string;
|
|
1017
|
-
status: number;
|
|
1018
|
-
detail?: string;
|
|
1019
|
-
instance?: string;
|
|
1020
|
-
code?: string;
|
|
1021
|
-
errors?: Array<{
|
|
1022
|
-
path: string;
|
|
1023
|
-
message: string;
|
|
1024
|
-
summary?: string;
|
|
1025
|
-
}>;
|
|
1026
|
-
};
|
|
1027
|
-
/**
|
|
1028
|
-
* Response for status 404
|
|
1029
|
-
*/
|
|
1030
|
-
404: {
|
|
1031
|
-
type: string;
|
|
1032
|
-
title: string;
|
|
1033
|
-
status: number;
|
|
1034
|
-
detail?: string;
|
|
1035
|
-
instance?: string;
|
|
1036
|
-
code?: string;
|
|
1037
|
-
errors?: Array<{
|
|
1038
|
-
path: string;
|
|
1039
|
-
message: string;
|
|
1040
|
-
summary?: string;
|
|
1041
|
-
}>;
|
|
1042
|
-
};
|
|
1043
|
-
/**
|
|
1044
|
-
* Response for status 422
|
|
1045
|
-
*/
|
|
1046
|
-
422: {
|
|
1047
|
-
type: string;
|
|
1048
|
-
title: string;
|
|
1049
|
-
status: number;
|
|
1050
|
-
detail?: string;
|
|
1051
|
-
instance?: string;
|
|
1052
|
-
code?: string;
|
|
1053
|
-
errors?: Array<{
|
|
1054
|
-
path: string;
|
|
1055
|
-
message: string;
|
|
1056
|
-
summary?: string;
|
|
1057
|
-
}>;
|
|
1058
|
-
};
|
|
1059
|
-
/**
|
|
1060
|
-
* Response for status 500
|
|
1061
|
-
*/
|
|
1062
|
-
500: {
|
|
1063
|
-
type: string;
|
|
1064
|
-
title: string;
|
|
1065
|
-
status: number;
|
|
1066
|
-
detail?: string;
|
|
1067
|
-
instance?: string;
|
|
1068
|
-
code?: string;
|
|
1069
|
-
errors?: Array<{
|
|
1070
|
-
path: string;
|
|
1071
|
-
message: string;
|
|
1072
|
-
summary?: string;
|
|
1073
|
-
}>;
|
|
1074
|
-
};
|
|
1075
|
-
};
|
|
1076
|
-
export type GetApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdServicesByRuntimeServiceIdError = GetApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdServicesByRuntimeServiceIdErrors[keyof GetApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdServicesByRuntimeServiceIdErrors];
|
|
1077
|
-
export type GetApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdServicesByRuntimeServiceIdResponses = {
|
|
1078
|
-
/**
|
|
1079
|
-
* Response for status 200
|
|
1080
|
-
*/
|
|
1081
|
-
200: {
|
|
1082
|
-
id: string;
|
|
1083
|
-
projectId: string;
|
|
1084
|
-
projectRuntimeSessionId: string;
|
|
1085
|
-
environmentRole: 'project' | 'agent';
|
|
1086
|
-
command: string;
|
|
1087
|
-
status: 'queued' | 'starting' | 'ready' | 'stopping' | 'stopped' | 'failed';
|
|
1088
|
-
healthcheck: {
|
|
1089
|
-
protocolKind: 'http' | 'tcp';
|
|
1090
|
-
targetPort: number;
|
|
1091
|
-
path: string | unknown;
|
|
1092
|
-
expectedStatus: number | unknown;
|
|
1093
|
-
intervalMs: number;
|
|
1094
|
-
timeoutMs: number;
|
|
1095
|
-
retries: number;
|
|
1096
|
-
};
|
|
1097
|
-
accessPoints: Array<{
|
|
1098
|
-
host: string;
|
|
1099
|
-
port: number;
|
|
1100
|
-
protocol: 'tcp' | 'http';
|
|
1101
|
-
}>;
|
|
1102
|
-
failureReason: string | unknown;
|
|
1103
|
-
metadata: unknown;
|
|
1104
|
-
createdAt: string;
|
|
1105
|
-
startedAt: string | unknown;
|
|
1106
|
-
readyAt: string | unknown;
|
|
1107
|
-
stoppedAt: string | unknown;
|
|
1108
|
-
updatedAt: string;
|
|
1109
|
-
};
|
|
1110
|
-
};
|
|
1111
|
-
export type GetApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdServicesByRuntimeServiceIdResponse = GetApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdServicesByRuntimeServiceIdResponses[keyof GetApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdServicesByRuntimeServiceIdResponses];
|
|
1112
|
-
export type PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdServicesByRuntimeServiceIdStartData = {
|
|
1113
|
-
body?: never;
|
|
1114
|
-
path: {
|
|
1115
|
-
projectId: string;
|
|
1116
|
-
runtimeSessionId: string;
|
|
1117
|
-
runtimeServiceId: string;
|
|
1118
|
-
};
|
|
1119
|
-
query?: never;
|
|
1120
|
-
url: '/api/projects/{projectId}/runtime-sessions/{runtimeSessionId}/services/{runtimeServiceId}/start';
|
|
1121
|
-
};
|
|
1122
|
-
export type PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdServicesByRuntimeServiceIdStartErrors = {
|
|
1123
|
-
/**
|
|
1124
|
-
* Response for status 401
|
|
1125
|
-
*/
|
|
1126
|
-
401: {
|
|
1127
|
-
type: string;
|
|
1128
|
-
title: string;
|
|
1129
|
-
status: number;
|
|
1130
|
-
detail?: string;
|
|
1131
|
-
instance?: string;
|
|
1132
|
-
code?: string;
|
|
1133
|
-
errors?: Array<{
|
|
1134
|
-
path: string;
|
|
1135
|
-
message: string;
|
|
1136
|
-
summary?: string;
|
|
1137
|
-
}>;
|
|
1138
|
-
};
|
|
1139
|
-
/**
|
|
1140
|
-
* Response for status 403
|
|
1141
|
-
*/
|
|
1142
|
-
403: {
|
|
1143
|
-
type: string;
|
|
1144
|
-
title: string;
|
|
1145
|
-
status: number;
|
|
1146
|
-
detail?: string;
|
|
1147
|
-
instance?: string;
|
|
1148
|
-
code?: string;
|
|
1149
|
-
errors?: Array<{
|
|
1150
|
-
path: string;
|
|
1151
|
-
message: string;
|
|
1152
|
-
summary?: string;
|
|
1153
|
-
}>;
|
|
1154
|
-
};
|
|
1155
|
-
/**
|
|
1156
|
-
* Response for status 404
|
|
1157
|
-
*/
|
|
1158
|
-
404: {
|
|
1159
|
-
type: string;
|
|
1160
|
-
title: string;
|
|
1161
|
-
status: number;
|
|
1162
|
-
detail?: string;
|
|
1163
|
-
instance?: string;
|
|
1164
|
-
code?: string;
|
|
1165
|
-
errors?: Array<{
|
|
1166
|
-
path: string;
|
|
1167
|
-
message: string;
|
|
1168
|
-
summary?: string;
|
|
1169
|
-
}>;
|
|
1170
|
-
};
|
|
1171
|
-
/**
|
|
1172
|
-
* Response for status 409
|
|
1173
|
-
*/
|
|
1174
|
-
409: {
|
|
1175
|
-
type: string;
|
|
1176
|
-
title: string;
|
|
1177
|
-
status: number;
|
|
1178
|
-
detail?: string;
|
|
1179
|
-
instance?: string;
|
|
1180
|
-
code?: string;
|
|
1181
|
-
errors?: Array<{
|
|
1182
|
-
path: string;
|
|
1183
|
-
message: string;
|
|
1184
|
-
summary?: string;
|
|
1185
|
-
}>;
|
|
1186
|
-
};
|
|
1187
|
-
/**
|
|
1188
|
-
* Response for status 422
|
|
1189
|
-
*/
|
|
1190
|
-
422: {
|
|
1191
|
-
type: string;
|
|
1192
|
-
title: string;
|
|
1193
|
-
status: number;
|
|
1194
|
-
detail?: string;
|
|
1195
|
-
instance?: string;
|
|
1196
|
-
code?: string;
|
|
1197
|
-
errors?: Array<{
|
|
1198
|
-
path: string;
|
|
1199
|
-
message: string;
|
|
1200
|
-
summary?: string;
|
|
1201
|
-
}>;
|
|
1202
|
-
};
|
|
1203
|
-
/**
|
|
1204
|
-
* Response for status 500
|
|
1205
|
-
*/
|
|
1206
|
-
500: {
|
|
1207
|
-
type: string;
|
|
1208
|
-
title: string;
|
|
1209
|
-
status: number;
|
|
1210
|
-
detail?: string;
|
|
1211
|
-
instance?: string;
|
|
1212
|
-
code?: string;
|
|
1213
|
-
errors?: Array<{
|
|
1214
|
-
path: string;
|
|
1215
|
-
message: string;
|
|
1216
|
-
summary?: string;
|
|
1217
|
-
}>;
|
|
1218
|
-
};
|
|
1219
|
-
};
|
|
1220
|
-
export type PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdServicesByRuntimeServiceIdStartError = PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdServicesByRuntimeServiceIdStartErrors[keyof PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdServicesByRuntimeServiceIdStartErrors];
|
|
1221
|
-
export type PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdServicesByRuntimeServiceIdStartResponses = {
|
|
1222
|
-
/**
|
|
1223
|
-
* Response for status 200
|
|
1224
|
-
*/
|
|
1225
|
-
200: {
|
|
1226
|
-
id: string;
|
|
1227
|
-
projectId: string;
|
|
1228
|
-
projectRuntimeSessionId: string;
|
|
1229
|
-
environmentRole: 'project' | 'agent';
|
|
1230
|
-
command: string;
|
|
1231
|
-
status: 'queued' | 'starting' | 'ready' | 'stopping' | 'stopped' | 'failed';
|
|
1232
|
-
healthcheck: {
|
|
1233
|
-
protocolKind: 'http' | 'tcp';
|
|
1234
|
-
targetPort: number;
|
|
1235
|
-
path: string | unknown;
|
|
1236
|
-
expectedStatus: number | unknown;
|
|
1237
|
-
intervalMs: number;
|
|
1238
|
-
timeoutMs: number;
|
|
1239
|
-
retries: number;
|
|
1240
|
-
};
|
|
1241
|
-
accessPoints: Array<{
|
|
1242
|
-
host: string;
|
|
1243
|
-
port: number;
|
|
1244
|
-
protocol: 'tcp' | 'http';
|
|
1245
|
-
}>;
|
|
1246
|
-
failureReason: string | unknown;
|
|
1247
|
-
metadata: unknown;
|
|
1248
|
-
createdAt: string;
|
|
1249
|
-
startedAt: string | unknown;
|
|
1250
|
-
readyAt: string | unknown;
|
|
1251
|
-
stoppedAt: string | unknown;
|
|
1252
|
-
updatedAt: string;
|
|
1253
|
-
};
|
|
1254
|
-
};
|
|
1255
|
-
export type PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdServicesByRuntimeServiceIdStartResponse = PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdServicesByRuntimeServiceIdStartResponses[keyof PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdServicesByRuntimeServiceIdStartResponses];
|
|
1256
|
-
export type PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdServicesByRuntimeServiceIdStopData = {
|
|
1257
|
-
body?: never;
|
|
1258
|
-
path: {
|
|
1259
|
-
projectId: string;
|
|
1260
|
-
runtimeSessionId: string;
|
|
1261
|
-
runtimeServiceId: string;
|
|
1262
|
-
};
|
|
1263
|
-
query?: never;
|
|
1264
|
-
url: '/api/projects/{projectId}/runtime-sessions/{runtimeSessionId}/services/{runtimeServiceId}/stop';
|
|
1265
|
-
};
|
|
1266
|
-
export type PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdServicesByRuntimeServiceIdStopErrors = {
|
|
1267
|
-
/**
|
|
1268
|
-
* Response for status 401
|
|
1269
|
-
*/
|
|
1270
|
-
401: {
|
|
1271
|
-
type: string;
|
|
1272
|
-
title: string;
|
|
1273
|
-
status: number;
|
|
1274
|
-
detail?: string;
|
|
1275
|
-
instance?: string;
|
|
1276
|
-
code?: string;
|
|
1277
|
-
errors?: Array<{
|
|
1278
|
-
path: string;
|
|
1279
|
-
message: string;
|
|
1280
|
-
summary?: string;
|
|
1281
|
-
}>;
|
|
1282
|
-
};
|
|
1283
|
-
/**
|
|
1284
|
-
* Response for status 403
|
|
1285
|
-
*/
|
|
1286
|
-
403: {
|
|
1287
|
-
type: string;
|
|
1288
|
-
title: string;
|
|
1289
|
-
status: number;
|
|
1290
|
-
detail?: string;
|
|
1291
|
-
instance?: string;
|
|
1292
|
-
code?: string;
|
|
1293
|
-
errors?: Array<{
|
|
1294
|
-
path: string;
|
|
1295
|
-
message: string;
|
|
1296
|
-
summary?: string;
|
|
1297
|
-
}>;
|
|
1298
|
-
};
|
|
1299
|
-
/**
|
|
1300
|
-
* Response for status 404
|
|
1301
|
-
*/
|
|
1302
|
-
404: {
|
|
1303
|
-
type: string;
|
|
1304
|
-
title: string;
|
|
1305
|
-
status: number;
|
|
1306
|
-
detail?: string;
|
|
1307
|
-
instance?: string;
|
|
1308
|
-
code?: string;
|
|
1309
|
-
errors?: Array<{
|
|
1310
|
-
path: string;
|
|
1311
|
-
message: string;
|
|
1312
|
-
summary?: string;
|
|
1313
|
-
}>;
|
|
1314
|
-
};
|
|
1315
|
-
/**
|
|
1316
|
-
* Response for status 409
|
|
1317
|
-
*/
|
|
1318
|
-
409: {
|
|
1319
|
-
type: string;
|
|
1320
|
-
title: string;
|
|
1321
|
-
status: number;
|
|
1322
|
-
detail?: string;
|
|
1323
|
-
instance?: string;
|
|
1324
|
-
code?: string;
|
|
1325
|
-
errors?: Array<{
|
|
1326
|
-
path: string;
|
|
1327
|
-
message: string;
|
|
1328
|
-
summary?: string;
|
|
1329
|
-
}>;
|
|
1330
|
-
};
|
|
1331
|
-
/**
|
|
1332
|
-
* Response for status 422
|
|
1333
|
-
*/
|
|
1334
|
-
422: {
|
|
1335
|
-
type: string;
|
|
1336
|
-
title: string;
|
|
1337
|
-
status: number;
|
|
1338
|
-
detail?: string;
|
|
1339
|
-
instance?: string;
|
|
1340
|
-
code?: string;
|
|
1341
|
-
errors?: Array<{
|
|
1342
|
-
path: string;
|
|
1343
|
-
message: string;
|
|
1344
|
-
summary?: string;
|
|
1345
|
-
}>;
|
|
1346
|
-
};
|
|
1347
|
-
/**
|
|
1348
|
-
* Response for status 500
|
|
1349
|
-
*/
|
|
1350
|
-
500: {
|
|
1351
|
-
type: string;
|
|
1352
|
-
title: string;
|
|
1353
|
-
status: number;
|
|
1354
|
-
detail?: string;
|
|
1355
|
-
instance?: string;
|
|
1356
|
-
code?: string;
|
|
1357
|
-
errors?: Array<{
|
|
1358
|
-
path: string;
|
|
1359
|
-
message: string;
|
|
1360
|
-
summary?: string;
|
|
1361
|
-
}>;
|
|
1362
|
-
};
|
|
1363
|
-
};
|
|
1364
|
-
export type PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdServicesByRuntimeServiceIdStopError = PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdServicesByRuntimeServiceIdStopErrors[keyof PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdServicesByRuntimeServiceIdStopErrors];
|
|
1365
|
-
export type PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdServicesByRuntimeServiceIdStopResponses = {
|
|
1366
|
-
/**
|
|
1367
|
-
* Response for status 200
|
|
1368
|
-
*/
|
|
1369
|
-
200: {
|
|
1370
|
-
id: string;
|
|
1371
|
-
projectId: string;
|
|
1372
|
-
projectRuntimeSessionId: string;
|
|
1373
|
-
environmentRole: 'project' | 'agent';
|
|
1374
|
-
command: string;
|
|
1375
|
-
status: 'queued' | 'starting' | 'ready' | 'stopping' | 'stopped' | 'failed';
|
|
1376
|
-
healthcheck: {
|
|
1377
|
-
protocolKind: 'http' | 'tcp';
|
|
1378
|
-
targetPort: number;
|
|
1379
|
-
path: string | unknown;
|
|
1380
|
-
expectedStatus: number | unknown;
|
|
1381
|
-
intervalMs: number;
|
|
1382
|
-
timeoutMs: number;
|
|
1383
|
-
retries: number;
|
|
1384
|
-
};
|
|
1385
|
-
accessPoints: Array<{
|
|
1386
|
-
host: string;
|
|
1387
|
-
port: number;
|
|
1388
|
-
protocol: 'tcp' | 'http';
|
|
1389
|
-
}>;
|
|
1390
|
-
failureReason: string | unknown;
|
|
1391
|
-
metadata: unknown;
|
|
1392
|
-
createdAt: string;
|
|
1393
|
-
startedAt: string | unknown;
|
|
1394
|
-
readyAt: string | unknown;
|
|
1395
|
-
stoppedAt: string | unknown;
|
|
1396
|
-
updatedAt: string;
|
|
1397
|
-
};
|
|
1398
|
-
};
|
|
1399
|
-
export type PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdServicesByRuntimeServiceIdStopResponse = PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdServicesByRuntimeServiceIdStopResponses[keyof PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdServicesByRuntimeServiceIdStopResponses];
|
|
1400
|
-
export type PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdCommandsData = {
|
|
1401
|
-
body: {
|
|
1402
|
-
environmentRole: 'project' | 'agent';
|
|
1403
|
-
command: string;
|
|
1404
|
-
metadata?: unknown;
|
|
1405
|
-
};
|
|
1406
|
-
path: {
|
|
1407
|
-
projectId: string;
|
|
1408
|
-
runtimeSessionId: string;
|
|
1409
|
-
};
|
|
1410
|
-
query?: never;
|
|
1411
|
-
url: '/api/projects/{projectId}/runtime-sessions/{runtimeSessionId}/commands';
|
|
1412
|
-
};
|
|
1413
|
-
export type PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdCommandsErrors = {
|
|
1414
|
-
/**
|
|
1415
|
-
* Response for status 401
|
|
1416
|
-
*/
|
|
1417
|
-
401: {
|
|
1418
|
-
type: string;
|
|
1419
|
-
title: string;
|
|
1420
|
-
status: number;
|
|
1421
|
-
detail?: string;
|
|
1422
|
-
instance?: string;
|
|
1423
|
-
code?: string;
|
|
1424
|
-
errors?: Array<{
|
|
1425
|
-
path: string;
|
|
1426
|
-
message: string;
|
|
1427
|
-
summary?: string;
|
|
1428
|
-
}>;
|
|
1429
|
-
};
|
|
1430
|
-
/**
|
|
1431
|
-
* Response for status 403
|
|
1432
|
-
*/
|
|
1433
|
-
403: {
|
|
1434
|
-
type: string;
|
|
1435
|
-
title: string;
|
|
1436
|
-
status: number;
|
|
1437
|
-
detail?: string;
|
|
1438
|
-
instance?: string;
|
|
1439
|
-
code?: string;
|
|
1440
|
-
errors?: Array<{
|
|
1441
|
-
path: string;
|
|
1442
|
-
message: string;
|
|
1443
|
-
summary?: string;
|
|
1444
|
-
}>;
|
|
1445
|
-
};
|
|
1446
|
-
/**
|
|
1447
|
-
* Response for status 404
|
|
1448
|
-
*/
|
|
1449
|
-
404: {
|
|
1450
|
-
type: string;
|
|
1451
|
-
title: string;
|
|
1452
|
-
status: number;
|
|
1453
|
-
detail?: string;
|
|
1454
|
-
instance?: string;
|
|
1455
|
-
code?: string;
|
|
1456
|
-
errors?: Array<{
|
|
1457
|
-
path: string;
|
|
1458
|
-
message: string;
|
|
1459
|
-
summary?: string;
|
|
1460
|
-
}>;
|
|
1461
|
-
};
|
|
1462
|
-
/**
|
|
1463
|
-
* Response for status 409
|
|
1464
|
-
*/
|
|
1465
|
-
409: {
|
|
1466
|
-
type: string;
|
|
1467
|
-
title: string;
|
|
1468
|
-
status: number;
|
|
1469
|
-
detail?: string;
|
|
1470
|
-
instance?: string;
|
|
1471
|
-
code?: string;
|
|
1472
|
-
errors?: Array<{
|
|
1473
|
-
path: string;
|
|
1474
|
-
message: string;
|
|
1475
|
-
summary?: string;
|
|
1476
|
-
}>;
|
|
1477
|
-
};
|
|
1478
|
-
/**
|
|
1479
|
-
* Response for status 422
|
|
1480
|
-
*/
|
|
1481
|
-
422: {
|
|
1482
|
-
type: string;
|
|
1483
|
-
title: string;
|
|
1484
|
-
status: number;
|
|
1485
|
-
detail?: string;
|
|
1486
|
-
instance?: string;
|
|
1487
|
-
code?: string;
|
|
1488
|
-
errors?: Array<{
|
|
1489
|
-
path: string;
|
|
1490
|
-
message: string;
|
|
1491
|
-
summary?: string;
|
|
1492
|
-
}>;
|
|
1493
|
-
};
|
|
1494
|
-
/**
|
|
1495
|
-
* Response for status 500
|
|
1496
|
-
*/
|
|
1497
|
-
500: {
|
|
1498
|
-
type: string;
|
|
1499
|
-
title: string;
|
|
1500
|
-
status: number;
|
|
1501
|
-
detail?: string;
|
|
1502
|
-
instance?: string;
|
|
1503
|
-
code?: string;
|
|
1504
|
-
errors?: Array<{
|
|
1505
|
-
path: string;
|
|
1506
|
-
message: string;
|
|
1507
|
-
summary?: string;
|
|
1508
|
-
}>;
|
|
1509
|
-
};
|
|
1510
|
-
};
|
|
1511
|
-
export type PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdCommandsError = PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdCommandsErrors[keyof PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdCommandsErrors];
|
|
1512
|
-
export type PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdCommandsResponses = {
|
|
1513
|
-
/**
|
|
1514
|
-
* Response for status 200
|
|
1515
|
-
*/
|
|
1516
|
-
200: {
|
|
1517
|
-
id: string;
|
|
1518
|
-
projectId: string;
|
|
1519
|
-
projectRuntimeSessionId: string;
|
|
1520
|
-
environmentRole: 'project' | 'agent';
|
|
1521
|
-
command: string;
|
|
1522
|
-
status: 'queued' | 'claimed' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'interrupted';
|
|
1523
|
-
claimedBy: string | unknown;
|
|
1524
|
-
claimedAt: string | unknown;
|
|
1525
|
-
lastHeartbeatAt: string | unknown;
|
|
1526
|
-
leaseExpiresAt: string | unknown;
|
|
1527
|
-
startedAt: string | unknown;
|
|
1528
|
-
completedAt: string | unknown;
|
|
1529
|
-
result: {
|
|
1530
|
-
exitCode: number | unknown;
|
|
1531
|
-
signal: string | unknown;
|
|
1532
|
-
output: {
|
|
1533
|
-
stdoutPreview: string;
|
|
1534
|
-
stderrPreview: string;
|
|
1535
|
-
stdoutBytes: number;
|
|
1536
|
-
stderrBytes: number;
|
|
1537
|
-
logRef: string | unknown;
|
|
1538
|
-
};
|
|
1539
|
-
} | unknown;
|
|
1540
|
-
failureReason: string | unknown;
|
|
1541
|
-
metadata: unknown;
|
|
1542
|
-
createdAt: string;
|
|
1543
|
-
updatedAt: string;
|
|
1544
|
-
};
|
|
1545
|
-
};
|
|
1546
|
-
export type PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdCommandsResponse = PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdCommandsResponses[keyof PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdCommandsResponses];
|
|
1547
|
-
export type PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdCommandsByRuntimeCommandIdRunData = {
|
|
1548
|
-
body?: never;
|
|
1549
|
-
path: {
|
|
1550
|
-
projectId: string;
|
|
1551
|
-
runtimeSessionId: string;
|
|
1552
|
-
runtimeCommandId: string;
|
|
1553
|
-
};
|
|
1554
|
-
query?: never;
|
|
1555
|
-
url: '/api/projects/{projectId}/runtime-sessions/{runtimeSessionId}/commands/{runtimeCommandId}/run';
|
|
1556
|
-
};
|
|
1557
|
-
export type PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdCommandsByRuntimeCommandIdRunErrors = {
|
|
1558
|
-
/**
|
|
1559
|
-
* Response for status 401
|
|
1560
|
-
*/
|
|
1561
|
-
401: {
|
|
1562
|
-
type: string;
|
|
1563
|
-
title: string;
|
|
1564
|
-
status: number;
|
|
1565
|
-
detail?: string;
|
|
1566
|
-
instance?: string;
|
|
1567
|
-
code?: string;
|
|
1568
|
-
errors?: Array<{
|
|
1569
|
-
path: string;
|
|
1570
|
-
message: string;
|
|
1571
|
-
summary?: string;
|
|
1572
|
-
}>;
|
|
1573
|
-
};
|
|
1574
|
-
/**
|
|
1575
|
-
* Response for status 403
|
|
1576
|
-
*/
|
|
1577
|
-
403: {
|
|
1578
|
-
type: string;
|
|
1579
|
-
title: string;
|
|
1580
|
-
status: number;
|
|
1581
|
-
detail?: string;
|
|
1582
|
-
instance?: string;
|
|
1583
|
-
code?: string;
|
|
1584
|
-
errors?: Array<{
|
|
1585
|
-
path: string;
|
|
1586
|
-
message: string;
|
|
1587
|
-
summary?: string;
|
|
1588
|
-
}>;
|
|
1589
|
-
};
|
|
1590
|
-
/**
|
|
1591
|
-
* Response for status 404
|
|
1592
|
-
*/
|
|
1593
|
-
404: {
|
|
1594
|
-
type: string;
|
|
1595
|
-
title: string;
|
|
1596
|
-
status: number;
|
|
1597
|
-
detail?: string;
|
|
1598
|
-
instance?: string;
|
|
1599
|
-
code?: string;
|
|
1600
|
-
errors?: Array<{
|
|
1601
|
-
path: string;
|
|
1602
|
-
message: string;
|
|
1603
|
-
summary?: string;
|
|
1604
|
-
}>;
|
|
1605
|
-
};
|
|
1606
|
-
/**
|
|
1607
|
-
* Response for status 409
|
|
1608
|
-
*/
|
|
1609
|
-
409: {
|
|
1610
|
-
type: string;
|
|
1611
|
-
title: string;
|
|
1612
|
-
status: number;
|
|
1613
|
-
detail?: string;
|
|
1614
|
-
instance?: string;
|
|
1615
|
-
code?: string;
|
|
1616
|
-
errors?: Array<{
|
|
1617
|
-
path: string;
|
|
1618
|
-
message: string;
|
|
1619
|
-
summary?: string;
|
|
1620
|
-
}>;
|
|
1621
|
-
};
|
|
1622
|
-
/**
|
|
1623
|
-
* Response for status 422
|
|
1624
|
-
*/
|
|
1625
|
-
422: {
|
|
1626
|
-
type: string;
|
|
1627
|
-
title: string;
|
|
1628
|
-
status: number;
|
|
1629
|
-
detail?: string;
|
|
1630
|
-
instance?: string;
|
|
1631
|
-
code?: string;
|
|
1632
|
-
errors?: Array<{
|
|
1633
|
-
path: string;
|
|
1634
|
-
message: string;
|
|
1635
|
-
summary?: string;
|
|
1636
|
-
}>;
|
|
1637
|
-
};
|
|
1638
|
-
/**
|
|
1639
|
-
* Response for status 500
|
|
1640
|
-
*/
|
|
1641
|
-
500: {
|
|
1642
|
-
type: string;
|
|
1643
|
-
title: string;
|
|
1644
|
-
status: number;
|
|
1645
|
-
detail?: string;
|
|
1646
|
-
instance?: string;
|
|
1647
|
-
code?: string;
|
|
1648
|
-
errors?: Array<{
|
|
1649
|
-
path: string;
|
|
1650
|
-
message: string;
|
|
1651
|
-
summary?: string;
|
|
1652
|
-
}>;
|
|
1653
|
-
};
|
|
1654
|
-
};
|
|
1655
|
-
export type PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdCommandsByRuntimeCommandIdRunError = PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdCommandsByRuntimeCommandIdRunErrors[keyof PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdCommandsByRuntimeCommandIdRunErrors];
|
|
1656
|
-
export type PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdCommandsByRuntimeCommandIdRunResponses = {
|
|
1657
|
-
/**
|
|
1658
|
-
* Response for status 200
|
|
1659
|
-
*/
|
|
1660
|
-
200: {
|
|
1661
|
-
id: string;
|
|
1662
|
-
projectId: string;
|
|
1663
|
-
projectRuntimeSessionId: string;
|
|
1664
|
-
environmentRole: 'project' | 'agent';
|
|
1665
|
-
command: string;
|
|
1666
|
-
status: 'queued' | 'claimed' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'interrupted';
|
|
1667
|
-
claimedBy: string | unknown;
|
|
1668
|
-
claimedAt: string | unknown;
|
|
1669
|
-
lastHeartbeatAt: string | unknown;
|
|
1670
|
-
leaseExpiresAt: string | unknown;
|
|
1671
|
-
startedAt: string | unknown;
|
|
1672
|
-
completedAt: string | unknown;
|
|
1673
|
-
result: {
|
|
1674
|
-
exitCode: number | unknown;
|
|
1675
|
-
signal: string | unknown;
|
|
1676
|
-
output: {
|
|
1677
|
-
stdoutPreview: string;
|
|
1678
|
-
stderrPreview: string;
|
|
1679
|
-
stdoutBytes: number;
|
|
1680
|
-
stderrBytes: number;
|
|
1681
|
-
logRef: string | unknown;
|
|
1682
|
-
};
|
|
1683
|
-
} | unknown;
|
|
1684
|
-
failureReason: string | unknown;
|
|
1685
|
-
metadata: unknown;
|
|
1686
|
-
createdAt: string;
|
|
1687
|
-
updatedAt: string;
|
|
1688
|
-
};
|
|
1689
|
-
};
|
|
1690
|
-
export type PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdCommandsByRuntimeCommandIdRunResponse = PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdCommandsByRuntimeCommandIdRunResponses[keyof PostApiProjectsByProjectIdRuntimeSessionsByRuntimeSessionIdCommandsByRuntimeCommandIdRunResponses];
|
|
1691
340
|
export type GetApiProjectsByProjectIdData = {
|
|
1692
341
|
body?: never;
|
|
1693
342
|
path: {
|