@metorial-services/subspace-client 1.0.5 → 1.0.7

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.
Files changed (3) hide show
  1. package/dist/index.d.cts +2608 -851
  2. package/dist/index.d.ts +2608 -851
  3. package/package.json +1 -1
package/dist/index.d.cts CHANGED
@@ -281,12 +281,9 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
281
281
  };
282
282
  publisher: {
283
283
  list: _lowerdeck_rpc_server.Handler<Partial<Pick<{
284
- tenantId: string;
285
- environmentId: string;
286
- }, never>> & {
287
- tenantId: string;
288
- environmentId: string;
289
- } & {
284
+ tenantId: string | undefined;
285
+ environmentId: string | undefined;
286
+ }, "tenantId" | "environmentId">> & {} & {
290
287
  limit?: number;
291
288
  after?: string;
292
289
  before?: string;
@@ -317,21 +314,17 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
317
314
  name: string;
318
315
  createdAt: Date;
319
316
  };
320
- tenant: {} & {
321
- oid: bigint;
317
+ tenant: undefined;
318
+ environment: undefined;
319
+ } | {
320
+ solution: {} & {
321
+ oid: number;
322
322
  id: string;
323
323
  identifier: string;
324
324
  name: string;
325
325
  createdAt: Date;
326
- urlKey: string;
327
- slateTenantId: string | null;
328
- slateTenantIdentifier: string | null;
329
- shuttleTenantId: string | null;
330
- shuttleTenantIdentifier: string | null;
331
- originTenantId: string | null;
332
- originTenantIdentifier: string | null;
333
- logRetentionInDays: number;
334
- } & {
326
+ };
327
+ tenant: {
335
328
  environments: {
336
329
  oid: bigint;
337
330
  id: string;
@@ -341,6 +334,20 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
341
334
  type: _metorial_subspace_db.EnvironmentType;
342
335
  tenantOid: bigint;
343
336
  }[];
337
+ } & {
338
+ oid: bigint;
339
+ id: string;
340
+ identifier: string;
341
+ name: string;
342
+ createdAt: Date;
343
+ urlKey: string;
344
+ slateTenantId: string | null;
345
+ slateTenantIdentifier: string | null;
346
+ shuttleTenantId: string | null;
347
+ shuttleTenantIdentifier: string | null;
348
+ originTenantId: string | null;
349
+ originTenantIdentifier: string | null;
350
+ logRetentionInDays: number;
344
351
  };
345
352
  environment: {
346
353
  oid: bigint;
@@ -353,8 +360,8 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
353
360
  };
354
361
  }>;
355
362
  get: _lowerdeck_rpc_server.Handler<_lowerdeck_validation_dist_validators.UndefinedIsOptional<{
356
- tenantId: string;
357
- environmentId: string;
363
+ tenantId: string | undefined;
364
+ environmentId: string | undefined;
358
365
  publisherId: string;
359
366
  }>, {
360
367
  object: string;
@@ -374,21 +381,31 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
374
381
  name: string;
375
382
  createdAt: Date;
376
383
  };
377
- tenant: {} & {
384
+ tenant: undefined;
385
+ environment: undefined;
386
+ publisher: {} & {
378
387
  oid: bigint;
379
388
  id: string;
380
389
  identifier: string;
381
390
  name: string;
382
391
  createdAt: Date;
383
- urlKey: string;
384
- slateTenantId: string | null;
385
- slateTenantIdentifier: string | null;
386
- shuttleTenantId: string | null;
387
- shuttleTenantIdentifier: string | null;
388
- originTenantId: string | null;
389
- originTenantIdentifier: string | null;
390
- logRetentionInDays: number;
391
- } & {
392
+ type: _metorial_subspace_db.PublisherType;
393
+ tenantOid: bigint | null;
394
+ source: PrismaJson.PublisherSource | null;
395
+ description: string | null;
396
+ updatedAt: Date;
397
+ tag: string;
398
+ image: PrismaJson.EntityImage | null;
399
+ };
400
+ } | {
401
+ solution: {} & {
402
+ oid: number;
403
+ id: string;
404
+ identifier: string;
405
+ name: string;
406
+ createdAt: Date;
407
+ };
408
+ tenant: {
392
409
  environments: {
393
410
  oid: bigint;
394
411
  id: string;
@@ -398,6 +415,20 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
398
415
  type: _metorial_subspace_db.EnvironmentType;
399
416
  tenantOid: bigint;
400
417
  }[];
418
+ } & {
419
+ oid: bigint;
420
+ id: string;
421
+ identifier: string;
422
+ name: string;
423
+ createdAt: Date;
424
+ urlKey: string;
425
+ slateTenantId: string | null;
426
+ slateTenantIdentifier: string | null;
427
+ shuttleTenantId: string | null;
428
+ shuttleTenantIdentifier: string | null;
429
+ originTenantId: string | null;
430
+ originTenantIdentifier: string | null;
431
+ logRetentionInDays: number;
401
432
  };
402
433
  environment: {
403
434
  oid: bigint;
@@ -424,11 +455,21 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
424
455
  };
425
456
  }>;
426
457
  };
427
- provider: {
458
+ toolCall: {
428
459
  list: _lowerdeck_rpc_server.Handler<Partial<Pick<{
429
460
  tenantId: string;
430
461
  environmentId: string;
431
- }, never>> & {
462
+ status: ("active" | "archived")[] | undefined;
463
+ allowDeleted: boolean | undefined;
464
+ ids: string[] | undefined;
465
+ sessionTemplateIds: string[] | undefined;
466
+ sessionProviderIds: string[] | undefined;
467
+ providerIds: string[] | undefined;
468
+ providerDeploymentIds: string[] | undefined;
469
+ providerConfigIds: string[] | undefined;
470
+ providerAuthConfigIds: string[] | undefined;
471
+ toolIds: string[] | undefined;
472
+ }, "status" | "allowDeleted" | "ids" | "sessionTemplateIds" | "sessionProviderIds" | "providerIds" | "providerDeploymentIds" | "providerConfigIds" | "providerAuthConfigIds" | "toolIds">> & {
432
473
  tenantId: string;
433
474
  environmentId: string;
434
475
  } & {
@@ -442,134 +483,53 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
442
483
  items: {
443
484
  object: string;
444
485
  id: string;
445
- access: _metorial_subspace_db.ProviderAccess;
446
- status: _metorial_subspace_db.ProviderStatus;
447
- ownerTenant: {
448
- object: string;
449
- id: string;
450
- identifier: string;
451
- name: string;
452
- createdAt: Date;
453
- } | null;
454
- publisher: {
455
- object: string;
456
- id: string;
457
- type: _metorial_subspace_db.PublisherType;
458
- identifier: string;
459
- name: string;
460
- description: string | null;
461
- source: PrismaJson.PublisherSource | null;
462
- createdAt: Date;
463
- updatedAt: Date;
464
- };
465
- entry: {
486
+ toolKey: string;
487
+ type: string;
488
+ status: _metorial_subspace_db.SessionMessageStatus;
489
+ source: _metorial_subspace_db.SessionMessageSource;
490
+ transport: _metorial_subspace_db.SessionConnectionTransport;
491
+ sessionId: string;
492
+ messageId: string;
493
+ sessionProviderId: string | null;
494
+ connectionId: string | null;
495
+ providerRunId: string | null;
496
+ tool: {
466
497
  object: string;
467
498
  id: string;
468
- identifier: string;
499
+ key: string;
469
500
  name: string;
470
501
  description: string | null;
471
- metadata: unknown;
502
+ capabilities: {
503
+ [key: string]: any;
504
+ };
505
+ constraints: string[];
506
+ inputJsonSchema: Record<string, any>;
507
+ instructions: string[];
508
+ outputJsonSchema: Record<string, any> | undefined;
509
+ tags: {
510
+ destructive?: boolean | undefined;
511
+ readOnly?: boolean | undefined;
512
+ } | undefined;
513
+ specificationId: string;
472
514
  createdAt: Date;
473
515
  updatedAt: Date;
474
516
  };
475
- defaultVariant: {
476
- object: string;
477
- id: string;
478
- tag: string;
479
- identifier: string;
480
- isDefault: boolean;
481
- name: string;
482
- description: string | null;
483
- metadata: unknown;
484
- currentVersion: {
485
- object: string;
486
- id: string;
487
- tag: string;
488
- identifier: string;
489
- isCurrent: boolean;
490
- name: string;
491
- description: string | null;
492
- metadata: unknown;
493
- specificationId: string | null;
494
- createdAt: Date;
495
- updatedAt: Date;
496
- } | null;
497
- createdAt: Date;
498
- updatedAt: Date;
499
- } | null;
500
- currentVersion: {
501
- object: string;
502
- id: string;
503
- tag: string;
504
- identifier: string;
505
- isCurrent: boolean;
506
- name: string;
507
- description: string | null;
508
- metadata: unknown;
509
- specificationId: string | null;
510
- createdAt: Date;
511
- updatedAt: Date;
512
- } | null;
513
- type: {
517
+ input: any;
518
+ output: any;
519
+ error: Promise<{
514
520
  object: string;
515
521
  id: string;
516
- name: string;
517
- config: {
518
- status: "enabled";
519
- read: {
520
- status: "enabled" | "disabled";
521
- };
522
- } | {
523
- status: "disabled";
524
- read?: undefined;
525
- };
526
- triggers: {
527
- status: "enabled";
528
- receiverUrl: string;
529
- } | {
530
- status: "disabled";
531
- };
532
- auth: {
533
- status: "disabled";
534
- oauth?: undefined;
535
- export?: undefined;
536
- import?: undefined;
537
- } | {
538
- oauth: {
539
- status: "disabled";
540
- oauthAutoRegistration?: undefined;
541
- } | {
542
- oauthCallbackUrl: string | null;
543
- status: "enabled";
544
- oauthAutoRegistration?: {
545
- status: "supported" | "unsupported";
546
- };
547
- };
548
- status: "enabled";
549
- export: {
550
- status: "enabled" | "disabled";
551
- };
552
- import: {
553
- status: "enabled" | "disabled";
554
- };
555
- };
522
+ code: string;
523
+ message: string;
524
+ data: unknown;
525
+ sessionId: string;
526
+ providerRunId: string | null;
527
+ connectionId: string | null;
528
+ groupId: string;
529
+ similarErrorCount: number;
556
530
  createdAt: Date;
557
- };
558
- oauth: {
559
- status: string;
560
- callbackUrl: string | null;
561
- autoRegistration: {
562
- status: string;
563
- } | null;
564
- } | null;
565
- identifier: string;
566
- tag: string;
567
- name: string;
568
- description: string | null;
569
- slug: string;
570
- metadata: unknown;
531
+ }> | null;
571
532
  createdAt: Date;
572
- updatedAt: Date;
573
533
  }[];
574
534
  pagination: {
575
535
  has_more_after: boolean;
@@ -621,138 +581,58 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
621
581
  get: _lowerdeck_rpc_server.Handler<_lowerdeck_validation_dist_validators.UndefinedIsOptional<{
622
582
  tenantId: string;
623
583
  environmentId: string;
624
- providerId: string;
584
+ toolCallId: string;
585
+ allowDeleted: boolean | undefined;
625
586
  }>, {
626
587
  object: string;
627
588
  id: string;
628
- access: _metorial_subspace_db.ProviderAccess;
629
- status: _metorial_subspace_db.ProviderStatus;
630
- ownerTenant: {
589
+ toolKey: string;
590
+ type: string;
591
+ status: _metorial_subspace_db.SessionMessageStatus;
592
+ source: _metorial_subspace_db.SessionMessageSource;
593
+ transport: _metorial_subspace_db.SessionConnectionTransport;
594
+ sessionId: string;
595
+ messageId: string;
596
+ sessionProviderId: string | null;
597
+ connectionId: string | null;
598
+ providerRunId: string | null;
599
+ tool: {
631
600
  object: string;
632
601
  id: string;
633
- identifier: string;
634
- name: string;
635
- createdAt: Date;
636
- } | null;
637
- publisher: {
638
- object: string;
639
- id: string;
640
- type: _metorial_subspace_db.PublisherType;
641
- identifier: string;
642
- name: string;
643
- description: string | null;
644
- source: PrismaJson.PublisherSource | null;
645
- createdAt: Date;
646
- updatedAt: Date;
647
- };
648
- entry: {
649
- object: string;
650
- id: string;
651
- identifier: string;
602
+ key: string;
652
603
  name: string;
653
604
  description: string | null;
654
- metadata: unknown;
605
+ capabilities: {
606
+ [key: string]: any;
607
+ };
608
+ constraints: string[];
609
+ inputJsonSchema: Record<string, any>;
610
+ instructions: string[];
611
+ outputJsonSchema: Record<string, any> | undefined;
612
+ tags: {
613
+ destructive?: boolean | undefined;
614
+ readOnly?: boolean | undefined;
615
+ } | undefined;
616
+ specificationId: string;
655
617
  createdAt: Date;
656
618
  updatedAt: Date;
657
619
  };
658
- defaultVariant: {
659
- object: string;
660
- id: string;
661
- tag: string;
662
- identifier: string;
663
- isDefault: boolean;
664
- name: string;
665
- description: string | null;
666
- metadata: unknown;
667
- currentVersion: {
668
- object: string;
669
- id: string;
670
- tag: string;
671
- identifier: string;
672
- isCurrent: boolean;
673
- name: string;
674
- description: string | null;
675
- metadata: unknown;
676
- specificationId: string | null;
677
- createdAt: Date;
678
- updatedAt: Date;
679
- } | null;
680
- createdAt: Date;
681
- updatedAt: Date;
682
- } | null;
683
- currentVersion: {
684
- object: string;
685
- id: string;
686
- tag: string;
687
- identifier: string;
688
- isCurrent: boolean;
689
- name: string;
690
- description: string | null;
691
- metadata: unknown;
692
- specificationId: string | null;
693
- createdAt: Date;
694
- updatedAt: Date;
695
- } | null;
696
- type: {
620
+ input: any;
621
+ output: any;
622
+ error: Promise<{
697
623
  object: string;
698
624
  id: string;
699
- name: string;
700
- config: {
701
- status: "enabled";
702
- read: {
703
- status: "enabled" | "disabled";
704
- };
705
- } | {
706
- status: "disabled";
707
- read?: undefined;
708
- };
709
- triggers: {
710
- status: "enabled";
711
- receiverUrl: string;
712
- } | {
713
- status: "disabled";
714
- };
715
- auth: {
716
- status: "disabled";
717
- oauth?: undefined;
718
- export?: undefined;
719
- import?: undefined;
720
- } | {
721
- oauth: {
722
- status: "disabled";
723
- oauthAutoRegistration?: undefined;
724
- } | {
725
- oauthCallbackUrl: string | null;
726
- status: "enabled";
727
- oauthAutoRegistration?: {
728
- status: "supported" | "unsupported";
729
- };
730
- };
731
- status: "enabled";
732
- export: {
733
- status: "enabled" | "disabled";
734
- };
735
- import: {
736
- status: "enabled" | "disabled";
737
- };
738
- };
625
+ code: string;
626
+ message: string;
627
+ data: unknown;
628
+ sessionId: string;
629
+ providerRunId: string | null;
630
+ connectionId: string | null;
631
+ groupId: string;
632
+ similarErrorCount: number;
739
633
  createdAt: Date;
740
- };
741
- oauth: {
742
- status: string;
743
- callbackUrl: string | null;
744
- autoRegistration: {
745
- status: string;
746
- } | null;
747
- } | null;
748
- identifier: string;
749
- tag: string;
750
- name: string;
751
- description: string | null;
752
- slug: string;
753
- metadata: unknown;
634
+ }> | null;
754
635
  createdAt: Date;
755
- updatedAt: Date;
756
636
  }, {
757
637
  solution: {} & {
758
638
  oid: number;
@@ -795,125 +675,1117 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
795
675
  type: _metorial_subspace_db.EnvironmentType;
796
676
  tenantOid: bigint;
797
677
  };
798
- provider: {
799
- type: {
800
- oid: number;
801
- id: string;
802
- identifier: string;
803
- name: string;
804
- createdAt: Date;
805
- shortKey: string;
806
- attributes: PrismaJson.ProviderTypeAttributes;
807
- };
808
- publisher: {
809
- oid: bigint;
810
- id: string;
811
- identifier: string;
812
- name: string;
813
- createdAt: Date;
814
- type: _metorial_subspace_db.PublisherType;
815
- tenantOid: bigint | null;
816
- source: PrismaJson.PublisherSource | null;
817
- description: string | null;
818
- updatedAt: Date;
819
- tag: string;
820
- image: PrismaJson.EntityImage | null;
821
- };
822
- entry: {
823
- oid: bigint;
824
- id: string;
825
- identifier: string;
826
- name: string;
827
- createdAt: Date;
828
- description: string | null;
829
- metadata: unknown | null;
830
- updatedAt: Date;
831
- publisherOid: bigint;
832
- };
833
- ownerTenant: {
834
- oid: bigint;
835
- id: string;
836
- identifier: string;
837
- name: string;
838
- createdAt: Date;
839
- urlKey: string;
840
- slateTenantId: string | null;
841
- slateTenantIdentifier: string | null;
842
- shuttleTenantId: string | null;
843
- shuttleTenantIdentifier: string | null;
844
- originTenantId: string | null;
845
- originTenantIdentifier: string | null;
846
- logRetentionInDays: number;
847
- } | null;
848
- defaultVariant: ({
849
- backend: {
850
- oid: bigint;
851
- id: string;
852
- identifier: string;
853
- name: string;
854
- createdAt: Date;
855
- type: _metorial_subspace_db.BackendType;
856
- };
857
- publisher: {
858
- oid: bigint;
859
- id: string;
860
- identifier: string;
861
- name: string;
862
- createdAt: Date;
863
- type: _metorial_subspace_db.PublisherType;
864
- tenantOid: bigint | null;
865
- source: PrismaJson.PublisherSource | null;
866
- description: string | null;
867
- updatedAt: Date;
868
- tag: string;
869
- image: PrismaJson.EntityImage | null;
870
- };
871
- provider: {
872
- oid: bigint;
873
- id: string;
874
- identifier: string;
875
- name: string;
876
- createdAt: Date;
877
- status: _metorial_subspace_db.ProviderStatus;
878
- description: string | null;
879
- metadata: unknown | null;
880
- updatedAt: Date;
881
- slug: string;
882
- tag: string;
883
- access: _metorial_subspace_db.ProviderAccess;
884
- hasEnvironments: boolean;
885
- globalIdentifier: string | null;
886
- entryOid: bigint;
887
- publisherOid: bigint;
888
- ownerTenantOid: bigint | null;
889
- ownerSolutionOid: number | null;
890
- defaultVariantOid: bigint | null;
891
- typeOid: number;
892
- };
893
- currentVersion: ({
894
- specification: {
895
- value: PrismaJson.ProviderSpecificationValue;
678
+ toolCall: {
679
+ message: {
680
+ error: ({
681
+ session: {
896
682
  oid: bigint;
897
683
  id: string;
898
- name: string;
684
+ name: string | null;
899
685
  createdAt: Date;
900
- type: _metorial_subspace_db.ProviderSpecificationType;
901
- key: string;
686
+ tenantOid: bigint;
687
+ status: _metorial_subspace_db.SessionStatus;
688
+ isEphemeral: boolean;
902
689
  description: string | null;
690
+ metadata: unknown | null;
903
691
  updatedAt: Date;
904
- providerOid: bigint;
905
- hash: string;
906
- specId: string;
907
- specUniqueIdentifier: string;
908
- supportsAuthMethod: boolean;
909
- configContainsAuth: boolean;
910
- } | null;
911
- } & {
912
- oid: bigint;
913
- id: string;
914
- identifier: string;
915
- name: string;
916
- createdAt: Date;
692
+ solutionOid: number;
693
+ environmentOid: bigint;
694
+ totalProductiveClientMessageCount: number;
695
+ totalProductiveServerMessageCount: number;
696
+ lastMessageAt: Date | null;
697
+ lastActiveAt: Date | null;
698
+ connectionState: _metorial_subspace_db.SessionConnectionState;
699
+ isStarted: boolean;
700
+ sharedProviderName: string | null;
701
+ sharedProviderDescription: string | null;
702
+ lastConnectionCreatedAt: Date | null;
703
+ };
704
+ providerRun: {
705
+ oid: bigint;
706
+ id: string;
707
+ createdAt: Date;
708
+ tenantOid: bigint;
709
+ status: _metorial_subspace_db.ProviderRunStatus;
710
+ isParentDeleted: boolean;
711
+ updatedAt: Date;
712
+ providerOid: bigint;
713
+ solutionOid: number;
714
+ environmentOid: bigint;
715
+ lastPingAt: Date | null;
716
+ sessionOid: bigint;
717
+ connectionOid: bigint;
718
+ completedAt: Date | null;
719
+ sessionProviderOid: bigint;
720
+ providerVersionOid: bigint;
721
+ instanceOid: bigint;
722
+ } | null;
723
+ group: {
724
+ oid: bigint;
725
+ id: string;
726
+ createdAt: Date;
727
+ type: _metorial_subspace_db.SessionErrorType;
728
+ tenantOid: bigint;
729
+ providerOid: bigint | null;
730
+ environmentOid: bigint;
731
+ code: string;
732
+ message: string;
733
+ hash: string;
734
+ occurrenceCount: number;
735
+ firstOccurrenceOid: bigint | null;
736
+ } | null;
737
+ connection: {
738
+ oid: bigint;
739
+ id: string;
740
+ createdAt: Date;
741
+ tenantOid: bigint;
742
+ status: _metorial_subspace_db.SessionConnectionStatus;
743
+ isParentDeleted: boolean;
744
+ isEphemeral: boolean;
745
+ solutionOid: number;
746
+ environmentOid: bigint;
747
+ expiresAt: Date;
748
+ token: string;
749
+ transport: _metorial_subspace_db.SessionConnectionTransport;
750
+ state: _metorial_subspace_db.SessionConnectionState;
751
+ initState: _metorial_subspace_db.SessionConnectionInitState;
752
+ isManuallyDisabled: boolean;
753
+ isReplaced: boolean;
754
+ isForManualToolCalls: boolean;
755
+ totalProductiveClientMessageCount: number;
756
+ totalProductiveServerMessageCount: number;
757
+ mcpData: PrismaJson.SessionConnectionMcpData;
758
+ mcpTransport: _metorial_subspace_db.SessionConnectionMcpConnectionTransport;
759
+ mcpProtocolVersion: string | null;
760
+ lastPingAt: Date | null;
761
+ lastMessageAt: Date | null;
762
+ lastActiveAt: Date | null;
763
+ disconnectedAt: Date | null;
764
+ sessionOid: bigint;
765
+ participantOid: bigint | null;
766
+ } | null;
767
+ } & {
768
+ oid: bigint;
769
+ id: string;
770
+ createdAt: Date;
771
+ type: _metorial_subspace_db.SessionErrorType;
772
+ tenantOid: bigint;
773
+ isParentDeleted: boolean;
774
+ solutionOid: number;
775
+ environmentOid: bigint;
776
+ sessionOid: bigint;
777
+ code: string;
778
+ message: string;
779
+ isProcessing: boolean;
780
+ payload: unknown | null;
781
+ groupOid: bigint | null;
782
+ connectionOid: bigint | null;
783
+ providerRunOid: bigint | null;
784
+ }) | null;
785
+ session: {
786
+ oid: bigint;
787
+ id: string;
788
+ name: string | null;
789
+ createdAt: Date;
790
+ tenantOid: bigint;
791
+ status: _metorial_subspace_db.SessionStatus;
792
+ isEphemeral: boolean;
793
+ description: string | null;
794
+ metadata: unknown | null;
795
+ updatedAt: Date;
796
+ solutionOid: number;
797
+ environmentOid: bigint;
798
+ totalProductiveClientMessageCount: number;
799
+ totalProductiveServerMessageCount: number;
800
+ lastMessageAt: Date | null;
801
+ lastActiveAt: Date | null;
802
+ connectionState: _metorial_subspace_db.SessionConnectionState;
803
+ isStarted: boolean;
804
+ sharedProviderName: string | null;
805
+ sharedProviderDescription: string | null;
806
+ lastConnectionCreatedAt: Date | null;
807
+ };
808
+ sessionProvider: {
809
+ oid: bigint;
810
+ id: string;
811
+ createdAt: Date;
812
+ tenantOid: bigint;
813
+ status: _metorial_subspace_db.SessionProviderStatus;
814
+ isParentDeleted: boolean;
815
+ isEphemeral: boolean;
816
+ updatedAt: Date;
817
+ providerOid: bigint;
818
+ solutionOid: number;
819
+ deploymentOid: bigint;
820
+ environmentOid: bigint;
821
+ authConfigOid: bigint | null;
822
+ configOid: bigint;
823
+ totalProductiveClientMessageCount: number;
824
+ totalProductiveServerMessageCount: number;
825
+ lastMessageAt: Date | null;
826
+ sessionOid: bigint;
827
+ tag: string;
828
+ toolFilter: PrismaJson.ToolFilter;
829
+ fromTemplateOid: bigint | null;
830
+ fromTemplateProviderOid: bigint | null;
831
+ } | null;
832
+ providerRun: {
833
+ oid: bigint;
834
+ id: string;
835
+ createdAt: Date;
836
+ tenantOid: bigint;
837
+ status: _metorial_subspace_db.ProviderRunStatus;
838
+ isParentDeleted: boolean;
839
+ updatedAt: Date;
840
+ providerOid: bigint;
841
+ solutionOid: number;
842
+ environmentOid: bigint;
843
+ lastPingAt: Date | null;
844
+ sessionOid: bigint;
845
+ connectionOid: bigint;
846
+ completedAt: Date | null;
847
+ sessionProviderOid: bigint;
848
+ providerVersionOid: bigint;
849
+ instanceOid: bigint;
850
+ } | null;
851
+ toolCall: ({
852
+ tool: {
853
+ provider: {
854
+ oid: bigint;
855
+ id: string;
856
+ identifier: string;
857
+ name: string;
858
+ createdAt: Date;
859
+ status: _metorial_subspace_db.ProviderStatus;
860
+ description: string | null;
861
+ metadata: unknown | null;
862
+ updatedAt: Date;
863
+ slug: string;
864
+ tag: string;
865
+ access: _metorial_subspace_db.ProviderAccess;
866
+ hasEnvironments: boolean;
867
+ globalIdentifier: string | null;
868
+ entryOid: bigint;
869
+ publisherOid: bigint;
870
+ ownerTenantOid: bigint | null;
871
+ ownerSolutionOid: number | null;
872
+ defaultVariantOid: bigint | null;
873
+ typeOid: number;
874
+ };
875
+ specification: {
876
+ value: PrismaJson.ProviderSpecificationValue;
877
+ oid: bigint;
878
+ id: string;
879
+ name: string;
880
+ createdAt: Date;
881
+ type: _metorial_subspace_db.ProviderSpecificationType;
882
+ key: string;
883
+ description: string | null;
884
+ updatedAt: Date;
885
+ providerOid: bigint;
886
+ hash: string;
887
+ specId: string;
888
+ specUniqueIdentifier: string;
889
+ supportsAuthMethod: boolean;
890
+ configContainsAuth: boolean;
891
+ };
892
+ } & {
893
+ value: PrismaJson.ProviderToolValue;
894
+ oid: bigint;
895
+ id: string;
896
+ name: string;
897
+ createdAt: Date;
898
+ key: string;
899
+ description: string | null;
900
+ updatedAt: Date;
901
+ providerOid: bigint;
902
+ specificationOid: bigint;
903
+ hash: string;
904
+ specId: string;
905
+ specUniqueIdentifier: string;
906
+ callableId: string;
907
+ globalOid: bigint;
908
+ };
909
+ } & {
910
+ oid: bigint;
911
+ id: string;
912
+ createdAt: Date;
913
+ tenantOid: bigint;
914
+ metadata: unknown | null;
915
+ solutionOid: number;
916
+ environmentOid: bigint;
917
+ sessionOid: bigint;
918
+ providerRunOid: bigint | null;
919
+ messageOid: bigint;
920
+ sessionProviderOid: bigint | null;
921
+ toolKey: string;
922
+ toolOid: bigint;
923
+ }) | null;
924
+ connection: {
925
+ oid: bigint;
926
+ id: string;
927
+ createdAt: Date;
928
+ tenantOid: bigint;
929
+ status: _metorial_subspace_db.SessionConnectionStatus;
930
+ isParentDeleted: boolean;
931
+ isEphemeral: boolean;
932
+ solutionOid: number;
933
+ environmentOid: bigint;
934
+ expiresAt: Date;
935
+ token: string;
936
+ transport: _metorial_subspace_db.SessionConnectionTransport;
937
+ state: _metorial_subspace_db.SessionConnectionState;
938
+ initState: _metorial_subspace_db.SessionConnectionInitState;
939
+ isManuallyDisabled: boolean;
940
+ isReplaced: boolean;
941
+ isForManualToolCalls: boolean;
942
+ totalProductiveClientMessageCount: number;
943
+ totalProductiveServerMessageCount: number;
944
+ mcpData: PrismaJson.SessionConnectionMcpData;
945
+ mcpTransport: _metorial_subspace_db.SessionConnectionMcpConnectionTransport;
946
+ mcpProtocolVersion: string | null;
947
+ lastPingAt: Date | null;
948
+ lastMessageAt: Date | null;
949
+ lastActiveAt: Date | null;
950
+ disconnectedAt: Date | null;
951
+ sessionOid: bigint;
952
+ participantOid: bigint | null;
953
+ } | null;
954
+ parentMessage: {
955
+ oid: bigint;
956
+ id: string;
957
+ createdAt: Date;
958
+ type: _metorial_subspace_db.SessionMessageType;
959
+ tenantOid: bigint;
960
+ source: _metorial_subspace_db.SessionMessageSource;
961
+ status: _metorial_subspace_db.SessionMessageStatus;
962
+ isParentDeleted: boolean;
963
+ solutionOid: number;
964
+ environmentOid: bigint;
965
+ transport: _metorial_subspace_db.SessionConnectionTransport;
966
+ sessionOid: bigint;
967
+ connectionOid: bigint | null;
968
+ providerRunOid: bigint | null;
969
+ errorOid: bigint | null;
970
+ failureReason: _metorial_subspace_db.SessionMessageFailureReason;
971
+ methodOrToolKey: string | null;
972
+ clientMcpId: PrismaJson.SessionMessageClientMcpId;
973
+ providerMcpId: string | null;
974
+ input: PrismaJson.SessionMessageInput | null;
975
+ output: PrismaJson.SessionMessageOutput | null;
976
+ isProductive: boolean;
977
+ isOffloadedToStorage: boolean;
978
+ completedAt: Date | null;
979
+ parentMessageOid: bigint | null;
980
+ bucketOid: number;
981
+ senderParticipantOid: bigint;
982
+ responderParticipantOid: bigint | null;
983
+ sessionProviderOid: bigint | null;
984
+ slateToolCallOid: bigint | null;
985
+ providerToolOid: bigint | null;
986
+ } | null;
987
+ childMessages: {
988
+ oid: bigint;
989
+ id: string;
990
+ createdAt: Date;
991
+ type: _metorial_subspace_db.SessionMessageType;
992
+ tenantOid: bigint;
993
+ source: _metorial_subspace_db.SessionMessageSource;
994
+ status: _metorial_subspace_db.SessionMessageStatus;
995
+ isParentDeleted: boolean;
996
+ solutionOid: number;
997
+ environmentOid: bigint;
998
+ transport: _metorial_subspace_db.SessionConnectionTransport;
999
+ sessionOid: bigint;
1000
+ connectionOid: bigint | null;
1001
+ providerRunOid: bigint | null;
1002
+ errorOid: bigint | null;
1003
+ failureReason: _metorial_subspace_db.SessionMessageFailureReason;
1004
+ methodOrToolKey: string | null;
1005
+ clientMcpId: PrismaJson.SessionMessageClientMcpId;
1006
+ providerMcpId: string | null;
1007
+ input: PrismaJson.SessionMessageInput | null;
1008
+ output: PrismaJson.SessionMessageOutput | null;
1009
+ isProductive: boolean;
1010
+ isOffloadedToStorage: boolean;
1011
+ completedAt: Date | null;
1012
+ parentMessageOid: bigint | null;
1013
+ bucketOid: number;
1014
+ senderParticipantOid: bigint;
1015
+ responderParticipantOid: bigint | null;
1016
+ sessionProviderOid: bigint | null;
1017
+ slateToolCallOid: bigint | null;
1018
+ providerToolOid: bigint | null;
1019
+ }[];
1020
+ senderParticipant: {
1021
+ provider: {
1022
+ oid: bigint;
1023
+ id: string;
1024
+ identifier: string;
1025
+ name: string;
1026
+ createdAt: Date;
1027
+ status: _metorial_subspace_db.ProviderStatus;
1028
+ description: string | null;
1029
+ metadata: unknown | null;
1030
+ updatedAt: Date;
1031
+ slug: string;
1032
+ tag: string;
1033
+ access: _metorial_subspace_db.ProviderAccess;
1034
+ hasEnvironments: boolean;
1035
+ globalIdentifier: string | null;
1036
+ entryOid: bigint;
1037
+ publisherOid: bigint;
1038
+ ownerTenantOid: bigint | null;
1039
+ ownerSolutionOid: number | null;
1040
+ defaultVariantOid: bigint | null;
1041
+ typeOid: number;
1042
+ } | null;
1043
+ } & {
1044
+ oid: bigint;
1045
+ id: string;
1046
+ identifier: string;
1047
+ name: string;
1048
+ createdAt: Date;
1049
+ type: _metorial_subspace_db.SessionParticipantType;
1050
+ tenantOid: bigint;
1051
+ providerOid: bigint | null;
1052
+ environmentOid: bigint;
1053
+ hash: string;
1054
+ payload: PrismaJson.SessionParticipantPayload;
1055
+ };
1056
+ responderParticipant: ({
1057
+ provider: {
1058
+ oid: bigint;
1059
+ id: string;
1060
+ identifier: string;
1061
+ name: string;
1062
+ createdAt: Date;
1063
+ status: _metorial_subspace_db.ProviderStatus;
1064
+ description: string | null;
1065
+ metadata: unknown | null;
1066
+ updatedAt: Date;
1067
+ slug: string;
1068
+ tag: string;
1069
+ access: _metorial_subspace_db.ProviderAccess;
1070
+ hasEnvironments: boolean;
1071
+ globalIdentifier: string | null;
1072
+ entryOid: bigint;
1073
+ publisherOid: bigint;
1074
+ ownerTenantOid: bigint | null;
1075
+ ownerSolutionOid: number | null;
1076
+ defaultVariantOid: bigint | null;
1077
+ typeOid: number;
1078
+ } | null;
1079
+ } & {
1080
+ oid: bigint;
1081
+ id: string;
1082
+ identifier: string;
1083
+ name: string;
1084
+ createdAt: Date;
1085
+ type: _metorial_subspace_db.SessionParticipantType;
1086
+ tenantOid: bigint;
1087
+ providerOid: bigint | null;
1088
+ environmentOid: bigint;
1089
+ hash: string;
1090
+ payload: PrismaJson.SessionParticipantPayload;
1091
+ }) | null;
1092
+ } & {
1093
+ oid: bigint;
1094
+ id: string;
1095
+ createdAt: Date;
1096
+ type: _metorial_subspace_db.SessionMessageType;
1097
+ tenantOid: bigint;
1098
+ source: _metorial_subspace_db.SessionMessageSource;
1099
+ status: _metorial_subspace_db.SessionMessageStatus;
1100
+ isParentDeleted: boolean;
1101
+ solutionOid: number;
1102
+ environmentOid: bigint;
1103
+ transport: _metorial_subspace_db.SessionConnectionTransport;
1104
+ sessionOid: bigint;
1105
+ connectionOid: bigint | null;
1106
+ providerRunOid: bigint | null;
1107
+ errorOid: bigint | null;
1108
+ failureReason: _metorial_subspace_db.SessionMessageFailureReason;
1109
+ methodOrToolKey: string | null;
1110
+ clientMcpId: PrismaJson.SessionMessageClientMcpId;
1111
+ providerMcpId: string | null;
1112
+ input: PrismaJson.SessionMessageInput | null;
1113
+ output: PrismaJson.SessionMessageOutput | null;
1114
+ isProductive: boolean;
1115
+ isOffloadedToStorage: boolean;
1116
+ completedAt: Date | null;
1117
+ parentMessageOid: bigint | null;
1118
+ bucketOid: number;
1119
+ senderParticipantOid: bigint;
1120
+ responderParticipantOid: bigint | null;
1121
+ sessionProviderOid: bigint | null;
1122
+ slateToolCallOid: bigint | null;
1123
+ providerToolOid: bigint | null;
1124
+ };
1125
+ tool: {
1126
+ provider: {
1127
+ oid: bigint;
1128
+ id: string;
1129
+ identifier: string;
1130
+ name: string;
1131
+ createdAt: Date;
1132
+ status: _metorial_subspace_db.ProviderStatus;
1133
+ description: string | null;
1134
+ metadata: unknown | null;
1135
+ updatedAt: Date;
1136
+ slug: string;
1137
+ tag: string;
1138
+ access: _metorial_subspace_db.ProviderAccess;
1139
+ hasEnvironments: boolean;
1140
+ globalIdentifier: string | null;
1141
+ entryOid: bigint;
1142
+ publisherOid: bigint;
1143
+ ownerTenantOid: bigint | null;
1144
+ ownerSolutionOid: number | null;
1145
+ defaultVariantOid: bigint | null;
1146
+ typeOid: number;
1147
+ };
1148
+ specification: {
1149
+ value: PrismaJson.ProviderSpecificationValue;
1150
+ oid: bigint;
1151
+ id: string;
1152
+ name: string;
1153
+ createdAt: Date;
1154
+ type: _metorial_subspace_db.ProviderSpecificationType;
1155
+ key: string;
1156
+ description: string | null;
1157
+ updatedAt: Date;
1158
+ providerOid: bigint;
1159
+ hash: string;
1160
+ specId: string;
1161
+ specUniqueIdentifier: string;
1162
+ supportsAuthMethod: boolean;
1163
+ configContainsAuth: boolean;
1164
+ };
1165
+ } & {
1166
+ value: PrismaJson.ProviderToolValue;
1167
+ oid: bigint;
1168
+ id: string;
1169
+ name: string;
1170
+ createdAt: Date;
1171
+ key: string;
1172
+ description: string | null;
1173
+ updatedAt: Date;
1174
+ providerOid: bigint;
1175
+ specificationOid: bigint;
1176
+ hash: string;
1177
+ specId: string;
1178
+ specUniqueIdentifier: string;
1179
+ callableId: string;
1180
+ globalOid: bigint;
1181
+ };
1182
+ } & {
1183
+ oid: bigint;
1184
+ id: string;
1185
+ createdAt: Date;
1186
+ tenantOid: bigint;
1187
+ metadata: unknown | null;
1188
+ solutionOid: number;
1189
+ environmentOid: bigint;
1190
+ sessionOid: bigint;
1191
+ providerRunOid: bigint | null;
1192
+ messageOid: bigint;
1193
+ sessionProviderOid: bigint | null;
1194
+ toolKey: string;
1195
+ toolOid: bigint;
1196
+ };
1197
+ }>;
1198
+ create: _lowerdeck_rpc_server.Handler<_lowerdeck_validation_dist_validators.UndefinedIsOptional<{
1199
+ tenantId: string;
1200
+ environmentId: string;
1201
+ sessionId: string;
1202
+ metadata: Record<string, any> | undefined;
1203
+ input: Record<string, any>;
1204
+ toolId: string;
1205
+ }>, {
1206
+ object: string;
1207
+ id: string;
1208
+ toolKey: string;
1209
+ type: string;
1210
+ status: _metorial_subspace_db.SessionMessageStatus;
1211
+ source: _metorial_subspace_db.SessionMessageSource;
1212
+ transport: _metorial_subspace_db.SessionConnectionTransport;
1213
+ sessionId: string;
1214
+ messageId: string;
1215
+ sessionProviderId: string | null;
1216
+ connectionId: string | null;
1217
+ providerRunId: string | null;
1218
+ tool: {
1219
+ object: string;
1220
+ id: string;
1221
+ key: string;
1222
+ name: string;
1223
+ description: string | null;
1224
+ capabilities: {
1225
+ [key: string]: any;
1226
+ };
1227
+ constraints: string[];
1228
+ inputJsonSchema: Record<string, any>;
1229
+ instructions: string[];
1230
+ outputJsonSchema: Record<string, any> | undefined;
1231
+ tags: {
1232
+ destructive?: boolean | undefined;
1233
+ readOnly?: boolean | undefined;
1234
+ } | undefined;
1235
+ specificationId: string;
1236
+ createdAt: Date;
1237
+ updatedAt: Date;
1238
+ };
1239
+ input: any;
1240
+ output: any;
1241
+ error: Promise<{
1242
+ object: string;
1243
+ id: string;
1244
+ code: string;
1245
+ message: string;
1246
+ data: unknown;
1247
+ sessionId: string;
1248
+ providerRunId: string | null;
1249
+ connectionId: string | null;
1250
+ groupId: string;
1251
+ similarErrorCount: number;
1252
+ createdAt: Date;
1253
+ }> | null;
1254
+ createdAt: Date;
1255
+ }, {
1256
+ solution: {} & {
1257
+ oid: number;
1258
+ id: string;
1259
+ identifier: string;
1260
+ name: string;
1261
+ createdAt: Date;
1262
+ };
1263
+ tenant: {} & {
1264
+ oid: bigint;
1265
+ id: string;
1266
+ identifier: string;
1267
+ name: string;
1268
+ createdAt: Date;
1269
+ urlKey: string;
1270
+ slateTenantId: string | null;
1271
+ slateTenantIdentifier: string | null;
1272
+ shuttleTenantId: string | null;
1273
+ shuttleTenantIdentifier: string | null;
1274
+ originTenantId: string | null;
1275
+ originTenantIdentifier: string | null;
1276
+ logRetentionInDays: number;
1277
+ } & {
1278
+ environments: {
1279
+ oid: bigint;
1280
+ id: string;
1281
+ identifier: string;
1282
+ name: string;
1283
+ createdAt: Date;
1284
+ type: _metorial_subspace_db.EnvironmentType;
1285
+ tenantOid: bigint;
1286
+ }[];
1287
+ };
1288
+ environment: {
1289
+ oid: bigint;
1290
+ id: string;
1291
+ identifier: string;
1292
+ name: string;
1293
+ createdAt: Date;
1294
+ type: _metorial_subspace_db.EnvironmentType;
1295
+ tenantOid: bigint;
1296
+ };
1297
+ }>;
1298
+ };
1299
+ provider: {
1300
+ list: _lowerdeck_rpc_server.Handler<Partial<Pick<{
1301
+ tenantId: string;
1302
+ environmentId: string;
1303
+ }, never>> & {
1304
+ tenantId: string;
1305
+ environmentId: string;
1306
+ } & {
1307
+ limit?: number;
1308
+ after?: string;
1309
+ before?: string;
1310
+ cursor?: string;
1311
+ order?: "asc" | "desc";
1312
+ }, {
1313
+ __typename: string;
1314
+ items: {
1315
+ object: string;
1316
+ id: string;
1317
+ access: _metorial_subspace_db.ProviderAccess;
1318
+ status: _metorial_subspace_db.ProviderStatus;
1319
+ ownerTenant: {
1320
+ object: string;
1321
+ id: string;
1322
+ identifier: string;
1323
+ name: string;
1324
+ createdAt: Date;
1325
+ } | null;
1326
+ publisher: {
1327
+ object: string;
1328
+ id: string;
1329
+ type: _metorial_subspace_db.PublisherType;
1330
+ identifier: string;
1331
+ name: string;
1332
+ description: string | null;
1333
+ source: PrismaJson.PublisherSource | null;
1334
+ createdAt: Date;
1335
+ updatedAt: Date;
1336
+ };
1337
+ entry: {
1338
+ object: string;
1339
+ id: string;
1340
+ identifier: string;
1341
+ name: string;
1342
+ description: string | null;
1343
+ metadata: unknown;
1344
+ createdAt: Date;
1345
+ updatedAt: Date;
1346
+ };
1347
+ defaultVariant: {
1348
+ object: string;
1349
+ id: string;
1350
+ tag: string;
1351
+ identifier: string;
1352
+ isDefault: boolean;
1353
+ name: string;
1354
+ description: string | null;
1355
+ metadata: unknown;
1356
+ currentVersion: {
1357
+ object: string;
1358
+ id: string;
1359
+ tag: string;
1360
+ identifier: string;
1361
+ isCurrent: boolean;
1362
+ name: string;
1363
+ description: string | null;
1364
+ metadata: unknown;
1365
+ specificationId: string | null;
1366
+ createdAt: Date;
1367
+ updatedAt: Date;
1368
+ } | null;
1369
+ createdAt: Date;
1370
+ updatedAt: Date;
1371
+ } | null;
1372
+ currentVersion: {
1373
+ object: string;
1374
+ id: string;
1375
+ tag: string;
1376
+ identifier: string;
1377
+ isCurrent: boolean;
1378
+ name: string;
1379
+ description: string | null;
1380
+ metadata: unknown;
1381
+ specificationId: string | null;
1382
+ createdAt: Date;
1383
+ updatedAt: Date;
1384
+ } | null;
1385
+ type: {
1386
+ object: string;
1387
+ id: string;
1388
+ name: string;
1389
+ config: {
1390
+ status: "enabled";
1391
+ read: {
1392
+ status: "enabled" | "disabled";
1393
+ };
1394
+ } | {
1395
+ status: "disabled";
1396
+ read?: undefined;
1397
+ };
1398
+ triggers: {
1399
+ status: "enabled";
1400
+ receiverUrl: string;
1401
+ } | {
1402
+ status: "disabled";
1403
+ };
1404
+ auth: {
1405
+ status: "disabled";
1406
+ oauth?: undefined;
1407
+ export?: undefined;
1408
+ import?: undefined;
1409
+ } | {
1410
+ oauth: {
1411
+ status: "disabled";
1412
+ oauthAutoRegistration?: undefined;
1413
+ } | {
1414
+ oauthCallbackUrl: string | null;
1415
+ status: "enabled";
1416
+ oauthAutoRegistration?: {
1417
+ status: "supported" | "unsupported";
1418
+ };
1419
+ };
1420
+ status: "enabled";
1421
+ export: {
1422
+ status: "enabled" | "disabled";
1423
+ };
1424
+ import: {
1425
+ status: "enabled" | "disabled";
1426
+ };
1427
+ };
1428
+ createdAt: Date;
1429
+ };
1430
+ oauth: {
1431
+ status: string;
1432
+ callbackUrl: string | null;
1433
+ autoRegistration: {
1434
+ status: string;
1435
+ } | null;
1436
+ } | null;
1437
+ identifier: string;
1438
+ tag: string;
1439
+ name: string;
1440
+ description: string | null;
1441
+ slug: string;
1442
+ metadata: unknown;
1443
+ createdAt: Date;
1444
+ updatedAt: Date;
1445
+ }[];
1446
+ pagination: {
1447
+ has_more_after: boolean;
1448
+ has_more_before: boolean;
1449
+ };
1450
+ }, {
1451
+ solution: {} & {
1452
+ oid: number;
1453
+ id: string;
1454
+ identifier: string;
1455
+ name: string;
1456
+ createdAt: Date;
1457
+ };
1458
+ tenant: {} & {
1459
+ oid: bigint;
1460
+ id: string;
1461
+ identifier: string;
1462
+ name: string;
1463
+ createdAt: Date;
1464
+ urlKey: string;
1465
+ slateTenantId: string | null;
1466
+ slateTenantIdentifier: string | null;
1467
+ shuttleTenantId: string | null;
1468
+ shuttleTenantIdentifier: string | null;
1469
+ originTenantId: string | null;
1470
+ originTenantIdentifier: string | null;
1471
+ logRetentionInDays: number;
1472
+ } & {
1473
+ environments: {
1474
+ oid: bigint;
1475
+ id: string;
1476
+ identifier: string;
1477
+ name: string;
1478
+ createdAt: Date;
1479
+ type: _metorial_subspace_db.EnvironmentType;
1480
+ tenantOid: bigint;
1481
+ }[];
1482
+ };
1483
+ environment: {
1484
+ oid: bigint;
1485
+ id: string;
1486
+ identifier: string;
1487
+ name: string;
1488
+ createdAt: Date;
1489
+ type: _metorial_subspace_db.EnvironmentType;
1490
+ tenantOid: bigint;
1491
+ };
1492
+ }>;
1493
+ get: _lowerdeck_rpc_server.Handler<_lowerdeck_validation_dist_validators.UndefinedIsOptional<{
1494
+ tenantId: string;
1495
+ environmentId: string;
1496
+ providerId: string;
1497
+ }>, {
1498
+ object: string;
1499
+ id: string;
1500
+ access: _metorial_subspace_db.ProviderAccess;
1501
+ status: _metorial_subspace_db.ProviderStatus;
1502
+ ownerTenant: {
1503
+ object: string;
1504
+ id: string;
1505
+ identifier: string;
1506
+ name: string;
1507
+ createdAt: Date;
1508
+ } | null;
1509
+ publisher: {
1510
+ object: string;
1511
+ id: string;
1512
+ type: _metorial_subspace_db.PublisherType;
1513
+ identifier: string;
1514
+ name: string;
1515
+ description: string | null;
1516
+ source: PrismaJson.PublisherSource | null;
1517
+ createdAt: Date;
1518
+ updatedAt: Date;
1519
+ };
1520
+ entry: {
1521
+ object: string;
1522
+ id: string;
1523
+ identifier: string;
1524
+ name: string;
1525
+ description: string | null;
1526
+ metadata: unknown;
1527
+ createdAt: Date;
1528
+ updatedAt: Date;
1529
+ };
1530
+ defaultVariant: {
1531
+ object: string;
1532
+ id: string;
1533
+ tag: string;
1534
+ identifier: string;
1535
+ isDefault: boolean;
1536
+ name: string;
1537
+ description: string | null;
1538
+ metadata: unknown;
1539
+ currentVersion: {
1540
+ object: string;
1541
+ id: string;
1542
+ tag: string;
1543
+ identifier: string;
1544
+ isCurrent: boolean;
1545
+ name: string;
1546
+ description: string | null;
1547
+ metadata: unknown;
1548
+ specificationId: string | null;
1549
+ createdAt: Date;
1550
+ updatedAt: Date;
1551
+ } | null;
1552
+ createdAt: Date;
1553
+ updatedAt: Date;
1554
+ } | null;
1555
+ currentVersion: {
1556
+ object: string;
1557
+ id: string;
1558
+ tag: string;
1559
+ identifier: string;
1560
+ isCurrent: boolean;
1561
+ name: string;
1562
+ description: string | null;
1563
+ metadata: unknown;
1564
+ specificationId: string | null;
1565
+ createdAt: Date;
1566
+ updatedAt: Date;
1567
+ } | null;
1568
+ type: {
1569
+ object: string;
1570
+ id: string;
1571
+ name: string;
1572
+ config: {
1573
+ status: "enabled";
1574
+ read: {
1575
+ status: "enabled" | "disabled";
1576
+ };
1577
+ } | {
1578
+ status: "disabled";
1579
+ read?: undefined;
1580
+ };
1581
+ triggers: {
1582
+ status: "enabled";
1583
+ receiverUrl: string;
1584
+ } | {
1585
+ status: "disabled";
1586
+ };
1587
+ auth: {
1588
+ status: "disabled";
1589
+ oauth?: undefined;
1590
+ export?: undefined;
1591
+ import?: undefined;
1592
+ } | {
1593
+ oauth: {
1594
+ status: "disabled";
1595
+ oauthAutoRegistration?: undefined;
1596
+ } | {
1597
+ oauthCallbackUrl: string | null;
1598
+ status: "enabled";
1599
+ oauthAutoRegistration?: {
1600
+ status: "supported" | "unsupported";
1601
+ };
1602
+ };
1603
+ status: "enabled";
1604
+ export: {
1605
+ status: "enabled" | "disabled";
1606
+ };
1607
+ import: {
1608
+ status: "enabled" | "disabled";
1609
+ };
1610
+ };
1611
+ createdAt: Date;
1612
+ };
1613
+ oauth: {
1614
+ status: string;
1615
+ callbackUrl: string | null;
1616
+ autoRegistration: {
1617
+ status: string;
1618
+ } | null;
1619
+ } | null;
1620
+ identifier: string;
1621
+ tag: string;
1622
+ name: string;
1623
+ description: string | null;
1624
+ slug: string;
1625
+ metadata: unknown;
1626
+ createdAt: Date;
1627
+ updatedAt: Date;
1628
+ }, {
1629
+ solution: {} & {
1630
+ oid: number;
1631
+ id: string;
1632
+ identifier: string;
1633
+ name: string;
1634
+ createdAt: Date;
1635
+ };
1636
+ tenant: {} & {
1637
+ oid: bigint;
1638
+ id: string;
1639
+ identifier: string;
1640
+ name: string;
1641
+ createdAt: Date;
1642
+ urlKey: string;
1643
+ slateTenantId: string | null;
1644
+ slateTenantIdentifier: string | null;
1645
+ shuttleTenantId: string | null;
1646
+ shuttleTenantIdentifier: string | null;
1647
+ originTenantId: string | null;
1648
+ originTenantIdentifier: string | null;
1649
+ logRetentionInDays: number;
1650
+ } & {
1651
+ environments: {
1652
+ oid: bigint;
1653
+ id: string;
1654
+ identifier: string;
1655
+ name: string;
1656
+ createdAt: Date;
1657
+ type: _metorial_subspace_db.EnvironmentType;
1658
+ tenantOid: bigint;
1659
+ }[];
1660
+ };
1661
+ environment: {
1662
+ oid: bigint;
1663
+ id: string;
1664
+ identifier: string;
1665
+ name: string;
1666
+ createdAt: Date;
1667
+ type: _metorial_subspace_db.EnvironmentType;
1668
+ tenantOid: bigint;
1669
+ };
1670
+ provider: {
1671
+ type: {
1672
+ oid: number;
1673
+ id: string;
1674
+ identifier: string;
1675
+ name: string;
1676
+ createdAt: Date;
1677
+ shortKey: string;
1678
+ attributes: PrismaJson.ProviderTypeAttributes;
1679
+ };
1680
+ publisher: {
1681
+ oid: bigint;
1682
+ id: string;
1683
+ identifier: string;
1684
+ name: string;
1685
+ createdAt: Date;
1686
+ type: _metorial_subspace_db.PublisherType;
1687
+ tenantOid: bigint | null;
1688
+ source: PrismaJson.PublisherSource | null;
1689
+ description: string | null;
1690
+ updatedAt: Date;
1691
+ tag: string;
1692
+ image: PrismaJson.EntityImage | null;
1693
+ };
1694
+ entry: {
1695
+ oid: bigint;
1696
+ id: string;
1697
+ identifier: string;
1698
+ name: string;
1699
+ createdAt: Date;
1700
+ description: string | null;
1701
+ metadata: unknown | null;
1702
+ updatedAt: Date;
1703
+ publisherOid: bigint;
1704
+ };
1705
+ ownerTenant: {
1706
+ oid: bigint;
1707
+ id: string;
1708
+ identifier: string;
1709
+ name: string;
1710
+ createdAt: Date;
1711
+ urlKey: string;
1712
+ slateTenantId: string | null;
1713
+ slateTenantIdentifier: string | null;
1714
+ shuttleTenantId: string | null;
1715
+ shuttleTenantIdentifier: string | null;
1716
+ originTenantId: string | null;
1717
+ originTenantIdentifier: string | null;
1718
+ logRetentionInDays: number;
1719
+ } | null;
1720
+ defaultVariant: ({
1721
+ backend: {
1722
+ oid: bigint;
1723
+ id: string;
1724
+ identifier: string;
1725
+ name: string;
1726
+ createdAt: Date;
1727
+ type: _metorial_subspace_db.BackendType;
1728
+ };
1729
+ publisher: {
1730
+ oid: bigint;
1731
+ id: string;
1732
+ identifier: string;
1733
+ name: string;
1734
+ createdAt: Date;
1735
+ type: _metorial_subspace_db.PublisherType;
1736
+ tenantOid: bigint | null;
1737
+ source: PrismaJson.PublisherSource | null;
1738
+ description: string | null;
1739
+ updatedAt: Date;
1740
+ tag: string;
1741
+ image: PrismaJson.EntityImage | null;
1742
+ };
1743
+ provider: {
1744
+ oid: bigint;
1745
+ id: string;
1746
+ identifier: string;
1747
+ name: string;
1748
+ createdAt: Date;
1749
+ status: _metorial_subspace_db.ProviderStatus;
1750
+ description: string | null;
1751
+ metadata: unknown | null;
1752
+ updatedAt: Date;
1753
+ slug: string;
1754
+ tag: string;
1755
+ access: _metorial_subspace_db.ProviderAccess;
1756
+ hasEnvironments: boolean;
1757
+ globalIdentifier: string | null;
1758
+ entryOid: bigint;
1759
+ publisherOid: bigint;
1760
+ ownerTenantOid: bigint | null;
1761
+ ownerSolutionOid: number | null;
1762
+ defaultVariantOid: bigint | null;
1763
+ typeOid: number;
1764
+ };
1765
+ currentVersion: ({
1766
+ specification: {
1767
+ value: PrismaJson.ProviderSpecificationValue;
1768
+ oid: bigint;
1769
+ id: string;
1770
+ name: string;
1771
+ createdAt: Date;
1772
+ type: _metorial_subspace_db.ProviderSpecificationType;
1773
+ key: string;
1774
+ description: string | null;
1775
+ updatedAt: Date;
1776
+ providerOid: bigint;
1777
+ hash: string;
1778
+ specId: string;
1779
+ specUniqueIdentifier: string;
1780
+ supportsAuthMethod: boolean;
1781
+ configContainsAuth: boolean;
1782
+ } | null;
1783
+ } & {
1784
+ oid: bigint;
1785
+ id: string;
1786
+ identifier: string;
1787
+ name: string;
1788
+ createdAt: Date;
917
1789
  description: string | null;
918
1790
  metadata: unknown | null;
919
1791
  updatedAt: Date;
@@ -2397,7 +3269,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
2397
3269
  providerIds: string[] | undefined;
2398
3270
  providerAuthCredentialsIds: string[] | undefined;
2399
3271
  providerAuthConfigIds: string[] | undefined;
2400
- }, "allowDeleted" | "ids" | "providerIds" | "providerAuthCredentialsIds" | "providerAuthConfigIds">> & {
3272
+ }, "allowDeleted" | "ids" | "providerIds" | "providerAuthConfigIds" | "providerAuthCredentialsIds">> & {
2401
3273
  tenantId: string;
2402
3274
  environmentId: string;
2403
3275
  } & {
@@ -2898,7 +3770,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
2898
3770
  providerAuthCredentialsIds: string[] | undefined;
2899
3771
  providerAuthConfigIds: string[] | undefined;
2900
3772
  providerDeploymentIds: string[] | undefined;
2901
- }, "allowDeleted" | "ids" | "providerIds" | "providerDeploymentIds" | "providerAuthCredentialsIds" | "providerAuthConfigIds">> & {
3773
+ }, "allowDeleted" | "ids" | "providerIds" | "providerDeploymentIds" | "providerAuthConfigIds" | "providerAuthCredentialsIds">> & {
2902
3774
  tenantId: string;
2903
3775
  environmentId: string;
2904
3776
  } & {
@@ -3674,7 +4546,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
3674
4546
  list: _lowerdeck_rpc_server.Handler<Partial<Pick<{
3675
4547
  tenantId: string;
3676
4548
  environmentId: string;
3677
- status: ("archived" | "failed" | "completed" | "expired" | "pending")[] | undefined;
4549
+ status: ("archived" | "failed" | "pending" | "completed" | "expired")[] | undefined;
3678
4550
  allowDeleted: boolean | undefined;
3679
4551
  ids: string[] | undefined;
3680
4552
  providerIds: string[] | undefined;
@@ -3682,7 +4554,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
3682
4554
  providerDeploymentIds: string[] | undefined;
3683
4555
  providerAuthConfigIds: string[] | undefined;
3684
4556
  providerAuthCredentialsIds: string[] | undefined;
3685
- }, "status" | "allowDeleted" | "ids" | "providerIds" | "providerDeploymentIds" | "providerAuthCredentialsIds" | "providerAuthMethodIds" | "providerAuthConfigIds">> & {
4557
+ }, "status" | "allowDeleted" | "ids" | "providerIds" | "providerDeploymentIds" | "providerAuthConfigIds" | "providerAuthCredentialsIds" | "providerAuthMethodIds">> & {
3686
4558
  tenantId: string;
3687
4559
  environmentId: string;
3688
4560
  } & {
@@ -5252,15 +6124,12 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
5252
6124
  };
5253
6125
  providerListingCategory: {
5254
6126
  list: _lowerdeck_rpc_server.Handler<Partial<Pick<{
5255
- tenantId: string;
5256
- environmentId: string;
6127
+ tenantId: string | undefined;
6128
+ environmentId: string | undefined;
5257
6129
  ids: string[] | undefined;
5258
6130
  providerIds: string[] | undefined;
5259
6131
  providerListingIds: string[] | undefined;
5260
- }, "ids" | "providerIds" | "providerListingIds">> & {
5261
- tenantId: string;
5262
- environmentId: string;
5263
- } & {
6132
+ }, "tenantId" | "environmentId" | "ids" | "providerIds" | "providerListingIds">> & {} & {
5264
6133
  limit?: number;
5265
6134
  after?: string;
5266
6135
  before?: string;
@@ -5289,21 +6158,17 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
5289
6158
  name: string;
5290
6159
  createdAt: Date;
5291
6160
  };
5292
- tenant: {} & {
5293
- oid: bigint;
6161
+ tenant: undefined;
6162
+ environment: undefined;
6163
+ } | {
6164
+ solution: {} & {
6165
+ oid: number;
5294
6166
  id: string;
5295
6167
  identifier: string;
5296
6168
  name: string;
5297
6169
  createdAt: Date;
5298
- urlKey: string;
5299
- slateTenantId: string | null;
5300
- slateTenantIdentifier: string | null;
5301
- shuttleTenantId: string | null;
5302
- shuttleTenantIdentifier: string | null;
5303
- originTenantId: string | null;
5304
- originTenantIdentifier: string | null;
5305
- logRetentionInDays: number;
5306
- } & {
6170
+ };
6171
+ tenant: {
5307
6172
  environments: {
5308
6173
  oid: bigint;
5309
6174
  id: string;
@@ -5313,6 +6178,20 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
5313
6178
  type: _metorial_subspace_db.EnvironmentType;
5314
6179
  tenantOid: bigint;
5315
6180
  }[];
6181
+ } & {
6182
+ oid: bigint;
6183
+ id: string;
6184
+ identifier: string;
6185
+ name: string;
6186
+ createdAt: Date;
6187
+ urlKey: string;
6188
+ slateTenantId: string | null;
6189
+ slateTenantIdentifier: string | null;
6190
+ shuttleTenantId: string | null;
6191
+ shuttleTenantIdentifier: string | null;
6192
+ originTenantId: string | null;
6193
+ originTenantIdentifier: string | null;
6194
+ logRetentionInDays: number;
5316
6195
  };
5317
6196
  environment: {
5318
6197
  oid: bigint;
@@ -5325,8 +6204,8 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
5325
6204
  };
5326
6205
  }>;
5327
6206
  get: _lowerdeck_rpc_server.Handler<_lowerdeck_validation_dist_validators.UndefinedIsOptional<{
5328
- tenantId: string;
5329
- environmentId: string;
6207
+ tenantId: string | undefined;
6208
+ environmentId: string | undefined;
5330
6209
  providerListingCategoryId: string;
5331
6210
  }>, {
5332
6211
  object: string;
@@ -5344,21 +6223,26 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
5344
6223
  name: string;
5345
6224
  createdAt: Date;
5346
6225
  };
5347
- tenant: {} & {
6226
+ tenant: undefined;
6227
+ environment: undefined;
6228
+ providerListingCategory: {
5348
6229
  oid: bigint;
5349
6230
  id: string;
6231
+ name: string;
6232
+ createdAt: Date;
6233
+ description: string;
6234
+ updatedAt: Date;
6235
+ slug: string;
6236
+ };
6237
+ } | {
6238
+ solution: {} & {
6239
+ oid: number;
6240
+ id: string;
5350
6241
  identifier: string;
5351
6242
  name: string;
5352
6243
  createdAt: Date;
5353
- urlKey: string;
5354
- slateTenantId: string | null;
5355
- slateTenantIdentifier: string | null;
5356
- shuttleTenantId: string | null;
5357
- shuttleTenantIdentifier: string | null;
5358
- originTenantId: string | null;
5359
- originTenantIdentifier: string | null;
5360
- logRetentionInDays: number;
5361
- } & {
6244
+ };
6245
+ tenant: {
5362
6246
  environments: {
5363
6247
  oid: bigint;
5364
6248
  id: string;
@@ -5368,6 +6252,20 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
5368
6252
  type: _metorial_subspace_db.EnvironmentType;
5369
6253
  tenantOid: bigint;
5370
6254
  }[];
6255
+ } & {
6256
+ oid: bigint;
6257
+ id: string;
6258
+ identifier: string;
6259
+ name: string;
6260
+ createdAt: Date;
6261
+ urlKey: string;
6262
+ slateTenantId: string | null;
6263
+ slateTenantIdentifier: string | null;
6264
+ shuttleTenantId: string | null;
6265
+ shuttleTenantIdentifier: string | null;
6266
+ originTenantId: string | null;
6267
+ originTenantIdentifier: string | null;
6268
+ logRetentionInDays: number;
5371
6269
  };
5372
6270
  environment: {
5373
6271
  oid: bigint;
@@ -5389,8 +6287,8 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
5389
6287
  };
5390
6288
  }>;
5391
6289
  upsert: _lowerdeck_rpc_server.Handler<_lowerdeck_validation_dist_validators.UndefinedIsOptional<{
5392
- tenantId: string;
5393
- environmentId: string;
6290
+ tenantId: string | undefined;
6291
+ environmentId: string | undefined;
5394
6292
  name: string;
5395
6293
  slug: string;
5396
6294
  description: string;
@@ -5410,21 +6308,26 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
5410
6308
  name: string;
5411
6309
  createdAt: Date;
5412
6310
  };
5413
- tenant: {} & {
6311
+ tenant: undefined;
6312
+ environment: undefined;
6313
+ providerListingCategory: {
5414
6314
  oid: bigint;
5415
6315
  id: string;
6316
+ name: string;
6317
+ createdAt: Date;
6318
+ description: string;
6319
+ updatedAt: Date;
6320
+ slug: string;
6321
+ };
6322
+ } | {
6323
+ solution: {} & {
6324
+ oid: number;
6325
+ id: string;
5416
6326
  identifier: string;
5417
6327
  name: string;
5418
6328
  createdAt: Date;
5419
- urlKey: string;
5420
- slateTenantId: string | null;
5421
- slateTenantIdentifier: string | null;
5422
- shuttleTenantId: string | null;
5423
- shuttleTenantIdentifier: string | null;
5424
- originTenantId: string | null;
5425
- originTenantIdentifier: string | null;
5426
- logRetentionInDays: number;
5427
- } & {
6329
+ };
6330
+ tenant: {
5428
6331
  environments: {
5429
6332
  oid: bigint;
5430
6333
  id: string;
@@ -5434,6 +6337,20 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
5434
6337
  type: _metorial_subspace_db.EnvironmentType;
5435
6338
  tenantOid: bigint;
5436
6339
  }[];
6340
+ } & {
6341
+ oid: bigint;
6342
+ id: string;
6343
+ identifier: string;
6344
+ name: string;
6345
+ createdAt: Date;
6346
+ urlKey: string;
6347
+ slateTenantId: string | null;
6348
+ slateTenantIdentifier: string | null;
6349
+ shuttleTenantId: string | null;
6350
+ shuttleTenantIdentifier: string | null;
6351
+ originTenantId: string | null;
6352
+ originTenantIdentifier: string | null;
6353
+ logRetentionInDays: number;
5437
6354
  };
5438
6355
  environment: {
5439
6356
  oid: bigint;
@@ -5457,15 +6374,12 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
5457
6374
  };
5458
6375
  providerListingCollection: {
5459
6376
  list: _lowerdeck_rpc_server.Handler<Partial<Pick<{
5460
- tenantId: string;
5461
- environmentId: string;
6377
+ tenantId: string | undefined;
6378
+ environmentId: string | undefined;
5462
6379
  ids: string[] | undefined;
5463
6380
  providerIds: string[] | undefined;
5464
6381
  providerListingIds: string[] | undefined;
5465
- }, "ids" | "providerIds" | "providerListingIds">> & {
5466
- tenantId: string;
5467
- environmentId: string;
5468
- } & {
6382
+ }, "tenantId" | "environmentId" | "ids" | "providerIds" | "providerListingIds">> & {} & {
5469
6383
  limit?: number;
5470
6384
  after?: string;
5471
6385
  before?: string;
@@ -5494,21 +6408,17 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
5494
6408
  name: string;
5495
6409
  createdAt: Date;
5496
6410
  };
5497
- tenant: {} & {
5498
- oid: bigint;
6411
+ tenant: undefined;
6412
+ environment: undefined;
6413
+ } | {
6414
+ solution: {} & {
6415
+ oid: number;
5499
6416
  id: string;
5500
6417
  identifier: string;
5501
6418
  name: string;
5502
6419
  createdAt: Date;
5503
- urlKey: string;
5504
- slateTenantId: string | null;
5505
- slateTenantIdentifier: string | null;
5506
- shuttleTenantId: string | null;
5507
- shuttleTenantIdentifier: string | null;
5508
- originTenantId: string | null;
5509
- originTenantIdentifier: string | null;
5510
- logRetentionInDays: number;
5511
- } & {
6420
+ };
6421
+ tenant: {
5512
6422
  environments: {
5513
6423
  oid: bigint;
5514
6424
  id: string;
@@ -5518,6 +6428,20 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
5518
6428
  type: _metorial_subspace_db.EnvironmentType;
5519
6429
  tenantOid: bigint;
5520
6430
  }[];
6431
+ } & {
6432
+ oid: bigint;
6433
+ id: string;
6434
+ identifier: string;
6435
+ name: string;
6436
+ createdAt: Date;
6437
+ urlKey: string;
6438
+ slateTenantId: string | null;
6439
+ slateTenantIdentifier: string | null;
6440
+ shuttleTenantId: string | null;
6441
+ shuttleTenantIdentifier: string | null;
6442
+ originTenantId: string | null;
6443
+ originTenantIdentifier: string | null;
6444
+ logRetentionInDays: number;
5521
6445
  };
5522
6446
  environment: {
5523
6447
  oid: bigint;
@@ -5530,8 +6454,8 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
5530
6454
  };
5531
6455
  }>;
5532
6456
  get: _lowerdeck_rpc_server.Handler<_lowerdeck_validation_dist_validators.UndefinedIsOptional<{
5533
- tenantId: string;
5534
- environmentId: string;
6457
+ tenantId: string | undefined;
6458
+ environmentId: string | undefined;
5535
6459
  providerListingCollectionId: string;
5536
6460
  }>, {
5537
6461
  object: string;
@@ -5549,7 +6473,36 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
5549
6473
  name: string;
5550
6474
  createdAt: Date;
5551
6475
  };
5552
- tenant: {} & {
6476
+ tenant: undefined;
6477
+ environment: undefined;
6478
+ providerListingCollection: {
6479
+ oid: bigint;
6480
+ id: string;
6481
+ name: string;
6482
+ createdAt: Date;
6483
+ description: string;
6484
+ updatedAt: Date;
6485
+ slug: string;
6486
+ };
6487
+ } | {
6488
+ solution: {} & {
6489
+ oid: number;
6490
+ id: string;
6491
+ identifier: string;
6492
+ name: string;
6493
+ createdAt: Date;
6494
+ };
6495
+ tenant: {
6496
+ environments: {
6497
+ oid: bigint;
6498
+ id: string;
6499
+ identifier: string;
6500
+ name: string;
6501
+ createdAt: Date;
6502
+ type: _metorial_subspace_db.EnvironmentType;
6503
+ tenantOid: bigint;
6504
+ }[];
6505
+ } & {
5553
6506
  oid: bigint;
5554
6507
  id: string;
5555
6508
  identifier: string;
@@ -5563,16 +6516,6 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
5563
6516
  originTenantId: string | null;
5564
6517
  originTenantIdentifier: string | null;
5565
6518
  logRetentionInDays: number;
5566
- } & {
5567
- environments: {
5568
- oid: bigint;
5569
- id: string;
5570
- identifier: string;
5571
- name: string;
5572
- createdAt: Date;
5573
- type: _metorial_subspace_db.EnvironmentType;
5574
- tenantOid: bigint;
5575
- }[];
5576
6519
  };
5577
6520
  environment: {
5578
6521
  oid: bigint;
@@ -5594,8 +6537,8 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
5594
6537
  };
5595
6538
  }>;
5596
6539
  upsert: _lowerdeck_rpc_server.Handler<_lowerdeck_validation_dist_validators.UndefinedIsOptional<{
5597
- tenantId: string;
5598
- environmentId: string;
6540
+ tenantId: string | undefined;
6541
+ environmentId: string | undefined;
5599
6542
  name: string;
5600
6543
  slug: string;
5601
6544
  description: string;
@@ -5615,21 +6558,26 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
5615
6558
  name: string;
5616
6559
  createdAt: Date;
5617
6560
  };
5618
- tenant: {} & {
6561
+ tenant: undefined;
6562
+ environment: undefined;
6563
+ providerListingCollection: {
5619
6564
  oid: bigint;
5620
6565
  id: string;
6566
+ name: string;
6567
+ createdAt: Date;
6568
+ description: string;
6569
+ updatedAt: Date;
6570
+ slug: string;
6571
+ };
6572
+ } | {
6573
+ solution: {} & {
6574
+ oid: number;
6575
+ id: string;
5621
6576
  identifier: string;
5622
6577
  name: string;
5623
6578
  createdAt: Date;
5624
- urlKey: string;
5625
- slateTenantId: string | null;
5626
- slateTenantIdentifier: string | null;
5627
- shuttleTenantId: string | null;
5628
- shuttleTenantIdentifier: string | null;
5629
- originTenantId: string | null;
5630
- originTenantIdentifier: string | null;
5631
- logRetentionInDays: number;
5632
- } & {
6579
+ };
6580
+ tenant: {
5633
6581
  environments: {
5634
6582
  oid: bigint;
5635
6583
  id: string;
@@ -5639,6 +6587,20 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
5639
6587
  type: _metorial_subspace_db.EnvironmentType;
5640
6588
  tenantOid: bigint;
5641
6589
  }[];
6590
+ } & {
6591
+ oid: bigint;
6592
+ id: string;
6593
+ identifier: string;
6594
+ name: string;
6595
+ createdAt: Date;
6596
+ urlKey: string;
6597
+ slateTenantId: string | null;
6598
+ slateTenantIdentifier: string | null;
6599
+ shuttleTenantId: string | null;
6600
+ shuttleTenantIdentifier: string | null;
6601
+ originTenantId: string | null;
6602
+ originTenantIdentifier: string | null;
6603
+ logRetentionInDays: number;
5642
6604
  };
5643
6605
  environment: {
5644
6606
  oid: bigint;
@@ -7837,8 +8799,8 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
7837
8799
  };
7838
8800
  providerListing: {
7839
8801
  list: _lowerdeck_rpc_server.Handler<Partial<Pick<{
7840
- tenantId: string;
7841
- environmentId: string;
8802
+ tenantId: string | undefined;
8803
+ environmentId: string | undefined;
7842
8804
  search: string | undefined;
7843
8805
  providerCollectionIds: string[] | undefined;
7844
8806
  providerCategoryIds: string[] | undefined;
@@ -7850,10 +8812,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
7850
8812
  isOfficial: boolean | undefined;
7851
8813
  isMetorial: boolean | undefined;
7852
8814
  orderByRank: boolean | undefined;
7853
- }, "search" | "isPublic" | "isMetorial" | "isVerified" | "isOfficial" | "providerCollectionIds" | "providerCategoryIds" | "providerGroupIds" | "publisherIds" | "onlyFromTenant" | "orderByRank">> & {
7854
- tenantId: string;
7855
- environmentId: string;
7856
- } & {
8815
+ }, "tenantId" | "search" | "environmentId" | "isPublic" | "isMetorial" | "isVerified" | "isOfficial" | "providerCollectionIds" | "providerCategoryIds" | "providerGroupIds" | "publisherIds" | "onlyFromTenant" | "orderByRank">> & {} & {
7857
8816
  limit?: number;
7858
8817
  after?: string;
7859
8818
  before?: string;
@@ -8040,11 +8999,247 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
8040
8999
  }[];
8041
9000
  createdAt: Date;
8042
9001
  updatedAt: Date;
8043
- }[];
8044
- pagination: {
8045
- has_more_after: boolean;
8046
- has_more_before: boolean;
9002
+ }[];
9003
+ pagination: {
9004
+ has_more_after: boolean;
9005
+ has_more_before: boolean;
9006
+ };
9007
+ }, {
9008
+ solution: {} & {
9009
+ oid: number;
9010
+ id: string;
9011
+ identifier: string;
9012
+ name: string;
9013
+ createdAt: Date;
9014
+ };
9015
+ tenant: undefined;
9016
+ environment: undefined;
9017
+ } | {
9018
+ solution: {} & {
9019
+ oid: number;
9020
+ id: string;
9021
+ identifier: string;
9022
+ name: string;
9023
+ createdAt: Date;
9024
+ };
9025
+ tenant: {
9026
+ environments: {
9027
+ oid: bigint;
9028
+ id: string;
9029
+ identifier: string;
9030
+ name: string;
9031
+ createdAt: Date;
9032
+ type: _metorial_subspace_db.EnvironmentType;
9033
+ tenantOid: bigint;
9034
+ }[];
9035
+ } & {
9036
+ oid: bigint;
9037
+ id: string;
9038
+ identifier: string;
9039
+ name: string;
9040
+ createdAt: Date;
9041
+ urlKey: string;
9042
+ slateTenantId: string | null;
9043
+ slateTenantIdentifier: string | null;
9044
+ shuttleTenantId: string | null;
9045
+ shuttleTenantIdentifier: string | null;
9046
+ originTenantId: string | null;
9047
+ originTenantIdentifier: string | null;
9048
+ logRetentionInDays: number;
9049
+ };
9050
+ environment: {
9051
+ oid: bigint;
9052
+ id: string;
9053
+ identifier: string;
9054
+ name: string;
9055
+ createdAt: Date;
9056
+ type: _metorial_subspace_db.EnvironmentType;
9057
+ tenantOid: bigint;
9058
+ };
9059
+ }>;
9060
+ get: _lowerdeck_rpc_server.Handler<_lowerdeck_validation_dist_validators.UndefinedIsOptional<{
9061
+ tenantId: string | undefined;
9062
+ environmentId: string | undefined;
9063
+ providerListingId: string;
9064
+ }>, {
9065
+ object: string;
9066
+ id: string;
9067
+ isPublic: boolean;
9068
+ isCustomized: boolean;
9069
+ isMetorial: boolean;
9070
+ isVerified: boolean;
9071
+ isOfficial: boolean;
9072
+ name: string;
9073
+ description: string | null;
9074
+ slug: string;
9075
+ image: PrismaJson.EntityImage | null;
9076
+ readme: string | null;
9077
+ skills: string[];
9078
+ rank: number;
9079
+ deploymentsCount: number;
9080
+ providerSessionsCount: number;
9081
+ providerMessagesCount: number;
9082
+ provider: {
9083
+ object: string;
9084
+ id: string;
9085
+ access: _metorial_subspace_db.ProviderAccess;
9086
+ status: _metorial_subspace_db.ProviderStatus;
9087
+ ownerTenant: {
9088
+ object: string;
9089
+ id: string;
9090
+ identifier: string;
9091
+ name: string;
9092
+ createdAt: Date;
9093
+ } | null;
9094
+ publisher: {
9095
+ object: string;
9096
+ id: string;
9097
+ type: _metorial_subspace_db.PublisherType;
9098
+ identifier: string;
9099
+ name: string;
9100
+ description: string | null;
9101
+ source: PrismaJson.PublisherSource | null;
9102
+ createdAt: Date;
9103
+ updatedAt: Date;
9104
+ };
9105
+ entry: {
9106
+ object: string;
9107
+ id: string;
9108
+ identifier: string;
9109
+ name: string;
9110
+ description: string | null;
9111
+ metadata: unknown;
9112
+ createdAt: Date;
9113
+ updatedAt: Date;
9114
+ };
9115
+ defaultVariant: {
9116
+ object: string;
9117
+ id: string;
9118
+ tag: string;
9119
+ identifier: string;
9120
+ isDefault: boolean;
9121
+ name: string;
9122
+ description: string | null;
9123
+ metadata: unknown;
9124
+ currentVersion: {
9125
+ object: string;
9126
+ id: string;
9127
+ tag: string;
9128
+ identifier: string;
9129
+ isCurrent: boolean;
9130
+ name: string;
9131
+ description: string | null;
9132
+ metadata: unknown;
9133
+ specificationId: string | null;
9134
+ createdAt: Date;
9135
+ updatedAt: Date;
9136
+ } | null;
9137
+ createdAt: Date;
9138
+ updatedAt: Date;
9139
+ } | null;
9140
+ currentVersion: {
9141
+ object: string;
9142
+ id: string;
9143
+ tag: string;
9144
+ identifier: string;
9145
+ isCurrent: boolean;
9146
+ name: string;
9147
+ description: string | null;
9148
+ metadata: unknown;
9149
+ specificationId: string | null;
9150
+ createdAt: Date;
9151
+ updatedAt: Date;
9152
+ } | null;
9153
+ type: {
9154
+ object: string;
9155
+ id: string;
9156
+ name: string;
9157
+ config: {
9158
+ status: "enabled";
9159
+ read: {
9160
+ status: "enabled" | "disabled";
9161
+ };
9162
+ } | {
9163
+ status: "disabled";
9164
+ read?: undefined;
9165
+ };
9166
+ triggers: {
9167
+ status: "enabled";
9168
+ receiverUrl: string;
9169
+ } | {
9170
+ status: "disabled";
9171
+ };
9172
+ auth: {
9173
+ status: "disabled";
9174
+ oauth?: undefined;
9175
+ export?: undefined;
9176
+ import?: undefined;
9177
+ } | {
9178
+ oauth: {
9179
+ status: "disabled";
9180
+ oauthAutoRegistration?: undefined;
9181
+ } | {
9182
+ oauthCallbackUrl: string | null;
9183
+ status: "enabled";
9184
+ oauthAutoRegistration?: {
9185
+ status: "supported" | "unsupported";
9186
+ };
9187
+ };
9188
+ status: "enabled";
9189
+ export: {
9190
+ status: "enabled" | "disabled";
9191
+ };
9192
+ import: {
9193
+ status: "enabled" | "disabled";
9194
+ };
9195
+ };
9196
+ createdAt: Date;
9197
+ };
9198
+ oauth: {
9199
+ status: string;
9200
+ callbackUrl: string | null;
9201
+ autoRegistration: {
9202
+ status: string;
9203
+ } | null;
9204
+ } | null;
9205
+ identifier: string;
9206
+ tag: string;
9207
+ name: string;
9208
+ description: string | null;
9209
+ slug: string;
9210
+ metadata: unknown;
9211
+ createdAt: Date;
9212
+ updatedAt: Date;
8047
9213
  };
9214
+ categories: {
9215
+ object: string;
9216
+ id: string;
9217
+ name: string;
9218
+ description: string;
9219
+ slug: string;
9220
+ createdAt: Date;
9221
+ updatedAt: Date;
9222
+ }[];
9223
+ collections: {
9224
+ object: string;
9225
+ id: string;
9226
+ name: string;
9227
+ description: string;
9228
+ slug: string;
9229
+ createdAt: Date;
9230
+ updatedAt: Date;
9231
+ }[];
9232
+ groups: {
9233
+ object: string;
9234
+ id: string;
9235
+ name: string;
9236
+ description: string | null;
9237
+ slug: string;
9238
+ createdAt: Date;
9239
+ updatedAt: Date;
9240
+ }[];
9241
+ createdAt: Date;
9242
+ updatedAt: Date;
8048
9243
  }, {
8049
9244
  solution: {} & {
8050
9245
  oid: number;
@@ -8053,225 +9248,267 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
8053
9248
  name: string;
8054
9249
  createdAt: Date;
8055
9250
  };
8056
- tenant: {} & {
8057
- oid: bigint;
8058
- id: string;
8059
- identifier: string;
8060
- name: string;
8061
- createdAt: Date;
8062
- urlKey: string;
8063
- slateTenantId: string | null;
8064
- slateTenantIdentifier: string | null;
8065
- shuttleTenantId: string | null;
8066
- shuttleTenantIdentifier: string | null;
8067
- originTenantId: string | null;
8068
- originTenantIdentifier: string | null;
8069
- logRetentionInDays: number;
8070
- } & {
8071
- environments: {
9251
+ tenant: undefined;
9252
+ environment: undefined;
9253
+ providerListing: {
9254
+ publisher: {
8072
9255
  oid: bigint;
8073
9256
  id: string;
8074
9257
  identifier: string;
8075
9258
  name: string;
8076
9259
  createdAt: Date;
8077
- type: _metorial_subspace_db.EnvironmentType;
8078
- tenantOid: bigint;
8079
- }[];
8080
- };
8081
- environment: {
8082
- oid: bigint;
8083
- id: string;
8084
- identifier: string;
8085
- name: string;
8086
- createdAt: Date;
8087
- type: _metorial_subspace_db.EnvironmentType;
8088
- tenantOid: bigint;
8089
- };
8090
- }>;
8091
- get: _lowerdeck_rpc_server.Handler<_lowerdeck_validation_dist_validators.UndefinedIsOptional<{
8092
- tenantId: string;
8093
- environmentId: string;
8094
- providerListingId: string;
8095
- }>, {
8096
- object: string;
8097
- id: string;
8098
- isPublic: boolean;
8099
- isCustomized: boolean;
8100
- isMetorial: boolean;
8101
- isVerified: boolean;
8102
- isOfficial: boolean;
8103
- name: string;
8104
- description: string | null;
8105
- slug: string;
8106
- image: PrismaJson.EntityImage | null;
8107
- readme: string | null;
8108
- skills: string[];
8109
- rank: number;
8110
- deploymentsCount: number;
8111
- providerSessionsCount: number;
8112
- providerMessagesCount: number;
8113
- provider: {
8114
- object: string;
8115
- id: string;
8116
- access: _metorial_subspace_db.ProviderAccess;
8117
- status: _metorial_subspace_db.ProviderStatus;
8118
- ownerTenant: {
8119
- object: string;
9260
+ type: _metorial_subspace_db.PublisherType;
9261
+ tenantOid: bigint | null;
9262
+ source: PrismaJson.PublisherSource | null;
9263
+ description: string | null;
9264
+ updatedAt: Date;
9265
+ tag: string;
9266
+ image: PrismaJson.EntityImage | null;
9267
+ };
9268
+ provider: {
9269
+ type: {
9270
+ oid: number;
9271
+ id: string;
9272
+ identifier: string;
9273
+ name: string;
9274
+ createdAt: Date;
9275
+ shortKey: string;
9276
+ attributes: PrismaJson.ProviderTypeAttributes;
9277
+ };
9278
+ publisher: {
9279
+ oid: bigint;
9280
+ id: string;
9281
+ identifier: string;
9282
+ name: string;
9283
+ createdAt: Date;
9284
+ type: _metorial_subspace_db.PublisherType;
9285
+ tenantOid: bigint | null;
9286
+ source: PrismaJson.PublisherSource | null;
9287
+ description: string | null;
9288
+ updatedAt: Date;
9289
+ tag: string;
9290
+ image: PrismaJson.EntityImage | null;
9291
+ };
9292
+ entry: {
9293
+ oid: bigint;
9294
+ id: string;
9295
+ identifier: string;
9296
+ name: string;
9297
+ createdAt: Date;
9298
+ description: string | null;
9299
+ metadata: unknown | null;
9300
+ updatedAt: Date;
9301
+ publisherOid: bigint;
9302
+ };
9303
+ ownerTenant: {
9304
+ oid: bigint;
9305
+ id: string;
9306
+ identifier: string;
9307
+ name: string;
9308
+ createdAt: Date;
9309
+ urlKey: string;
9310
+ slateTenantId: string | null;
9311
+ slateTenantIdentifier: string | null;
9312
+ shuttleTenantId: string | null;
9313
+ shuttleTenantIdentifier: string | null;
9314
+ originTenantId: string | null;
9315
+ originTenantIdentifier: string | null;
9316
+ logRetentionInDays: number;
9317
+ } | null;
9318
+ defaultVariant: ({
9319
+ backend: {
9320
+ oid: bigint;
9321
+ id: string;
9322
+ identifier: string;
9323
+ name: string;
9324
+ createdAt: Date;
9325
+ type: _metorial_subspace_db.BackendType;
9326
+ };
9327
+ publisher: {
9328
+ oid: bigint;
9329
+ id: string;
9330
+ identifier: string;
9331
+ name: string;
9332
+ createdAt: Date;
9333
+ type: _metorial_subspace_db.PublisherType;
9334
+ tenantOid: bigint | null;
9335
+ source: PrismaJson.PublisherSource | null;
9336
+ description: string | null;
9337
+ updatedAt: Date;
9338
+ tag: string;
9339
+ image: PrismaJson.EntityImage | null;
9340
+ };
9341
+ provider: {
9342
+ oid: bigint;
9343
+ id: string;
9344
+ identifier: string;
9345
+ name: string;
9346
+ createdAt: Date;
9347
+ status: _metorial_subspace_db.ProviderStatus;
9348
+ description: string | null;
9349
+ metadata: unknown | null;
9350
+ updatedAt: Date;
9351
+ slug: string;
9352
+ tag: string;
9353
+ access: _metorial_subspace_db.ProviderAccess;
9354
+ hasEnvironments: boolean;
9355
+ globalIdentifier: string | null;
9356
+ entryOid: bigint;
9357
+ publisherOid: bigint;
9358
+ ownerTenantOid: bigint | null;
9359
+ ownerSolutionOid: number | null;
9360
+ defaultVariantOid: bigint | null;
9361
+ typeOid: number;
9362
+ };
9363
+ currentVersion: ({
9364
+ specification: {
9365
+ value: PrismaJson.ProviderSpecificationValue;
9366
+ oid: bigint;
9367
+ id: string;
9368
+ name: string;
9369
+ createdAt: Date;
9370
+ type: _metorial_subspace_db.ProviderSpecificationType;
9371
+ key: string;
9372
+ description: string | null;
9373
+ updatedAt: Date;
9374
+ providerOid: bigint;
9375
+ hash: string;
9376
+ specId: string;
9377
+ specUniqueIdentifier: string;
9378
+ supportsAuthMethod: boolean;
9379
+ configContainsAuth: boolean;
9380
+ } | null;
9381
+ } & {
9382
+ oid: bigint;
9383
+ id: string;
9384
+ identifier: string;
9385
+ name: string;
9386
+ createdAt: Date;
9387
+ description: string | null;
9388
+ metadata: unknown | null;
9389
+ updatedAt: Date;
9390
+ providerOid: bigint;
9391
+ backendOid: bigint;
9392
+ specificationOid: bigint | null;
9393
+ providerVariantOid: bigint;
9394
+ tag: string;
9395
+ typeOid: number;
9396
+ slateOid: bigint | null;
9397
+ shuttleServerOid: bigint | null;
9398
+ isCurrent: boolean;
9399
+ isEnvironmentLocked: boolean;
9400
+ specificationDiscoveryStatus: _metorial_subspace_db.ProviderVersionSpecificationDiscoveryStatus;
9401
+ previousVersionOid: bigint | null;
9402
+ slateVersionOid: bigint | null;
9403
+ shuttleServerVersionOid: bigint | null;
9404
+ }) | null;
9405
+ slate: {
9406
+ oid: bigint;
9407
+ id: string;
9408
+ identifier: string;
9409
+ createdAt: Date;
9410
+ updatedAt: Date;
9411
+ identifierInRegistry: string | null;
9412
+ registryUrl: string | null;
9413
+ } | null;
9414
+ } & {
9415
+ oid: bigint;
9416
+ id: string;
9417
+ identifier: string;
9418
+ name: string;
9419
+ createdAt: Date;
9420
+ isDefault: boolean;
9421
+ description: string | null;
9422
+ metadata: unknown | null;
9423
+ updatedAt: Date;
9424
+ providerOid: bigint;
9425
+ backendOid: bigint;
9426
+ currentVersionOid: bigint | null;
9427
+ tag: string;
9428
+ publisherOid: bigint;
9429
+ slateOid: bigint | null;
9430
+ shuttleServerOid: bigint | null;
9431
+ }) | null;
9432
+ } & {
9433
+ oid: bigint;
8120
9434
  id: string;
8121
9435
  identifier: string;
8122
9436
  name: string;
8123
9437
  createdAt: Date;
8124
- } | null;
8125
- publisher: {
8126
- object: string;
8127
- id: string;
8128
- type: _metorial_subspace_db.PublisherType;
8129
- identifier: string;
8130
- name: string;
9438
+ status: _metorial_subspace_db.ProviderStatus;
8131
9439
  description: string | null;
8132
- source: PrismaJson.PublisherSource | null;
8133
- createdAt: Date;
9440
+ metadata: unknown | null;
8134
9441
  updatedAt: Date;
9442
+ slug: string;
9443
+ tag: string;
9444
+ access: _metorial_subspace_db.ProviderAccess;
9445
+ hasEnvironments: boolean;
9446
+ globalIdentifier: string | null;
9447
+ entryOid: bigint;
9448
+ publisherOid: bigint;
9449
+ ownerTenantOid: bigint | null;
9450
+ ownerSolutionOid: number | null;
9451
+ defaultVariantOid: bigint | null;
9452
+ typeOid: number;
8135
9453
  };
8136
- entry: {
8137
- object: string;
9454
+ categories: {
9455
+ oid: bigint;
8138
9456
  id: string;
8139
- identifier: string;
8140
9457
  name: string;
8141
- description: string | null;
8142
- metadata: unknown;
8143
9458
  createdAt: Date;
9459
+ description: string;
8144
9460
  updatedAt: Date;
8145
- };
8146
- defaultVariant: {
8147
- object: string;
9461
+ slug: string;
9462
+ }[];
9463
+ collections: {
9464
+ oid: bigint;
8148
9465
  id: string;
8149
- tag: string;
8150
- identifier: string;
8151
- isDefault: boolean;
8152
9466
  name: string;
8153
- description: string | null;
8154
- metadata: unknown;
8155
- currentVersion: {
8156
- object: string;
8157
- id: string;
8158
- tag: string;
8159
- identifier: string;
8160
- isCurrent: boolean;
8161
- name: string;
8162
- description: string | null;
8163
- metadata: unknown;
8164
- specificationId: string | null;
8165
- createdAt: Date;
8166
- updatedAt: Date;
8167
- } | null;
8168
9467
  createdAt: Date;
9468
+ description: string;
8169
9469
  updatedAt: Date;
8170
- } | null;
8171
- currentVersion: {
8172
- object: string;
9470
+ slug: string;
9471
+ }[];
9472
+ groups: {
9473
+ oid: bigint;
8173
9474
  id: string;
8174
- tag: string;
8175
- identifier: string;
8176
- isCurrent: boolean;
8177
9475
  name: string;
8178
- description: string | null;
8179
- metadata: unknown;
8180
- specificationId: string | null;
8181
9476
  createdAt: Date;
9477
+ tenantOid: bigint;
9478
+ description: string | null;
8182
9479
  updatedAt: Date;
8183
- } | null;
8184
- type: {
8185
- object: string;
8186
- id: string;
8187
- name: string;
8188
- config: {
8189
- status: "enabled";
8190
- read: {
8191
- status: "enabled" | "disabled";
8192
- };
8193
- } | {
8194
- status: "disabled";
8195
- read?: undefined;
8196
- };
8197
- triggers: {
8198
- status: "enabled";
8199
- receiverUrl: string;
8200
- } | {
8201
- status: "disabled";
8202
- };
8203
- auth: {
8204
- status: "disabled";
8205
- oauth?: undefined;
8206
- export?: undefined;
8207
- import?: undefined;
8208
- } | {
8209
- oauth: {
8210
- status: "disabled";
8211
- oauthAutoRegistration?: undefined;
8212
- } | {
8213
- oauthCallbackUrl: string | null;
8214
- status: "enabled";
8215
- oauthAutoRegistration?: {
8216
- status: "supported" | "unsupported";
8217
- };
8218
- };
8219
- status: "enabled";
8220
- export: {
8221
- status: "enabled" | "disabled";
8222
- };
8223
- import: {
8224
- status: "enabled" | "disabled";
8225
- };
8226
- };
8227
- createdAt: Date;
8228
- };
8229
- oauth: {
8230
- status: string;
8231
- callbackUrl: string | null;
8232
- autoRegistration: {
8233
- status: string;
8234
- } | null;
8235
- } | null;
8236
- identifier: string;
8237
- tag: string;
8238
- name: string;
8239
- description: string | null;
8240
- slug: string;
8241
- metadata: unknown;
8242
- createdAt: Date;
8243
- updatedAt: Date;
8244
- };
8245
- categories: {
8246
- object: string;
8247
- id: string;
8248
- name: string;
8249
- description: string;
8250
- slug: string;
8251
- createdAt: Date;
8252
- updatedAt: Date;
8253
- }[];
8254
- collections: {
8255
- object: string;
9480
+ solutionOid: number;
9481
+ environmentOid: bigint;
9482
+ slug: string;
9483
+ }[];
9484
+ } & {
9485
+ oid: bigint;
8256
9486
  id: string;
8257
9487
  name: string;
8258
- description: string;
8259
- slug: string;
8260
9488
  createdAt: Date;
8261
- updatedAt: Date;
8262
- }[];
8263
- groups: {
8264
- object: string;
8265
- id: string;
8266
- name: string;
9489
+ status: _metorial_subspace_db.ProviderListingStatus;
8267
9490
  description: string | null;
8268
- slug: string;
8269
- createdAt: Date;
8270
9491
  updatedAt: Date;
8271
- }[];
8272
- createdAt: Date;
8273
- updatedAt: Date;
8274
- }, {
9492
+ providerOid: bigint;
9493
+ slug: string;
9494
+ image: PrismaJson.EntityImage | null;
9495
+ publisherOid: bigint;
9496
+ ownerTenantOid: bigint | null;
9497
+ ownerSolutionOid: number | null;
9498
+ isPublic: boolean;
9499
+ isCustomized: boolean;
9500
+ isMetorial: boolean;
9501
+ isVerified: boolean;
9502
+ isOfficial: boolean;
9503
+ readme: string | null;
9504
+ rank: number;
9505
+ skills: string[];
9506
+ deploymentsCount: number;
9507
+ providerSessionsCount: number;
9508
+ providerMessagesCount: number;
9509
+ rankUpdatedAt: Date | null;
9510
+ };
9511
+ } | {
8275
9512
  solution: {} & {
8276
9513
  oid: number;
8277
9514
  id: string;
@@ -8279,7 +9516,17 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
8279
9516
  name: string;
8280
9517
  createdAt: Date;
8281
9518
  };
8282
- tenant: {} & {
9519
+ tenant: {
9520
+ environments: {
9521
+ oid: bigint;
9522
+ id: string;
9523
+ identifier: string;
9524
+ name: string;
9525
+ createdAt: Date;
9526
+ type: _metorial_subspace_db.EnvironmentType;
9527
+ tenantOid: bigint;
9528
+ }[];
9529
+ } & {
8283
9530
  oid: bigint;
8284
9531
  id: string;
8285
9532
  identifier: string;
@@ -8293,16 +9540,6 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
8293
9540
  originTenantId: string | null;
8294
9541
  originTenantIdentifier: string | null;
8295
9542
  logRetentionInDays: number;
8296
- } & {
8297
- environments: {
8298
- oid: bigint;
8299
- id: string;
8300
- identifier: string;
8301
- name: string;
8302
- createdAt: Date;
8303
- type: _metorial_subspace_db.EnvironmentType;
8304
- tenantOid: bigint;
8305
- }[];
8306
9543
  };
8307
9544
  environment: {
8308
9545
  oid: bigint;
@@ -9592,17 +10829,14 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
9592
10829
  };
9593
10830
  providerSpecification: {
9594
10831
  list: _lowerdeck_rpc_server.Handler<Partial<Pick<{
9595
- tenantId: string;
9596
- environmentId: string;
10832
+ tenantId: string | undefined;
10833
+ environmentId: string | undefined;
9597
10834
  ids: string[] | undefined;
9598
10835
  providerIds: string[] | undefined;
9599
10836
  providerVersionIds: string[] | undefined;
9600
10837
  providerDeploymentIds: string[] | undefined;
9601
10838
  providerConfigIds: string[] | undefined;
9602
- }, "ids" | "providerIds" | "providerDeploymentIds" | "providerConfigIds" | "providerVersionIds">> & {
9603
- tenantId: string;
9604
- environmentId: string;
9605
- } & {
10839
+ }, "tenantId" | "environmentId" | "ids" | "providerIds" | "providerDeploymentIds" | "providerConfigIds" | "providerVersionIds">> & {} & {
9606
10840
  limit?: number;
9607
10841
  after?: string;
9608
10842
  before?: string;
@@ -9677,21 +10911,17 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
9677
10911
  name: string;
9678
10912
  createdAt: Date;
9679
10913
  };
9680
- tenant: {} & {
9681
- oid: bigint;
10914
+ tenant: undefined;
10915
+ environment: undefined;
10916
+ } | {
10917
+ solution: {} & {
10918
+ oid: number;
9682
10919
  id: string;
9683
10920
  identifier: string;
9684
10921
  name: string;
9685
10922
  createdAt: Date;
9686
- urlKey: string;
9687
- slateTenantId: string | null;
9688
- slateTenantIdentifier: string | null;
9689
- shuttleTenantId: string | null;
9690
- shuttleTenantIdentifier: string | null;
9691
- originTenantId: string | null;
9692
- originTenantIdentifier: string | null;
9693
- logRetentionInDays: number;
9694
- } & {
10923
+ };
10924
+ tenant: {
9695
10925
  environments: {
9696
10926
  oid: bigint;
9697
10927
  id: string;
@@ -9701,6 +10931,20 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
9701
10931
  type: _metorial_subspace_db.EnvironmentType;
9702
10932
  tenantOid: bigint;
9703
10933
  }[];
10934
+ } & {
10935
+ oid: bigint;
10936
+ id: string;
10937
+ identifier: string;
10938
+ name: string;
10939
+ createdAt: Date;
10940
+ urlKey: string;
10941
+ slateTenantId: string | null;
10942
+ slateTenantIdentifier: string | null;
10943
+ shuttleTenantId: string | null;
10944
+ shuttleTenantIdentifier: string | null;
10945
+ originTenantId: string | null;
10946
+ originTenantIdentifier: string | null;
10947
+ logRetentionInDays: number;
9704
10948
  };
9705
10949
  environment: {
9706
10950
  oid: bigint;
@@ -9713,8 +10957,8 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
9713
10957
  };
9714
10958
  }>;
9715
10959
  get: _lowerdeck_rpc_server.Handler<_lowerdeck_validation_dist_validators.UndefinedIsOptional<{
9716
- tenantId: string;
9717
- environmentId: string;
10960
+ tenantId: string | undefined;
10961
+ environmentId: string | undefined;
9718
10962
  providerSpecificationId: string;
9719
10963
  }>, {
9720
10964
  object: string;
@@ -9778,21 +11022,93 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
9778
11022
  name: string;
9779
11023
  createdAt: Date;
9780
11024
  };
9781
- tenant: {} & {
11025
+ tenant: undefined;
11026
+ environment: undefined;
11027
+ providerSpecification: {
11028
+ provider: {
11029
+ oid: bigint;
11030
+ id: string;
11031
+ identifier: string;
11032
+ name: string;
11033
+ createdAt: Date;
11034
+ status: _metorial_subspace_db.ProviderStatus;
11035
+ description: string | null;
11036
+ metadata: unknown | null;
11037
+ updatedAt: Date;
11038
+ slug: string;
11039
+ tag: string;
11040
+ access: _metorial_subspace_db.ProviderAccess;
11041
+ hasEnvironments: boolean;
11042
+ globalIdentifier: string | null;
11043
+ entryOid: bigint;
11044
+ publisherOid: bigint;
11045
+ ownerTenantOid: bigint | null;
11046
+ ownerSolutionOid: number | null;
11047
+ defaultVariantOid: bigint | null;
11048
+ typeOid: number;
11049
+ };
11050
+ providerTools: {
11051
+ value: PrismaJson.ProviderToolValue;
11052
+ oid: bigint;
11053
+ id: string;
11054
+ name: string;
11055
+ createdAt: Date;
11056
+ key: string;
11057
+ description: string | null;
11058
+ updatedAt: Date;
11059
+ providerOid: bigint;
11060
+ specificationOid: bigint;
11061
+ hash: string;
11062
+ specId: string;
11063
+ specUniqueIdentifier: string;
11064
+ callableId: string;
11065
+ globalOid: bigint;
11066
+ }[];
11067
+ providerAuthMethods: {
11068
+ value: PrismaJson.ProviderAuthMethodValue;
11069
+ oid: bigint;
11070
+ id: string;
11071
+ name: string;
11072
+ createdAt: Date;
11073
+ type: _metorial_subspace_db.ProviderAuthMethodType;
11074
+ key: string;
11075
+ isDefault: boolean;
11076
+ description: string | null;
11077
+ updatedAt: Date;
11078
+ providerOid: bigint;
11079
+ specificationOid: bigint;
11080
+ hash: string;
11081
+ specId: string;
11082
+ specUniqueIdentifier: string;
11083
+ callableId: string;
11084
+ globalOid: bigint;
11085
+ }[];
11086
+ } & {
11087
+ value: PrismaJson.ProviderSpecificationValue;
9782
11088
  oid: bigint;
9783
11089
  id: string;
11090
+ name: string;
11091
+ createdAt: Date;
11092
+ type: _metorial_subspace_db.ProviderSpecificationType;
11093
+ key: string;
11094
+ description: string | null;
11095
+ updatedAt: Date;
11096
+ providerOid: bigint;
11097
+ hash: string;
11098
+ specId: string;
11099
+ specUniqueIdentifier: string;
11100
+ supportsAuthMethod: boolean;
11101
+ configContainsAuth: boolean;
11102
+ };
11103
+ } | {
11104
+ solution: {} & {
11105
+ oid: number;
11106
+ id: string;
9784
11107
  identifier: string;
9785
11108
  name: string;
9786
11109
  createdAt: Date;
9787
- urlKey: string;
9788
- slateTenantId: string | null;
9789
- slateTenantIdentifier: string | null;
9790
- shuttleTenantId: string | null;
9791
- shuttleTenantIdentifier: string | null;
9792
- originTenantId: string | null;
9793
- originTenantIdentifier: string | null;
9794
- logRetentionInDays: number;
9795
- } & {
11110
+ };
11111
+ tenant: {
9796
11112
  environments: {
9797
11113
  oid: bigint;
9798
11114
  id: string;
@@ -9802,6 +11118,20 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
9802
11118
  type: _metorial_subspace_db.EnvironmentType;
9803
11119
  tenantOid: bigint;
9804
11120
  }[];
11121
+ } & {
11122
+ oid: bigint;
11123
+ id: string;
11124
+ identifier: string;
11125
+ name: string;
11126
+ createdAt: Date;
11127
+ urlKey: string;
11128
+ slateTenantId: string | null;
11129
+ slateTenantIdentifier: string | null;
11130
+ shuttleTenantId: string | null;
11131
+ shuttleTenantIdentifier: string | null;
11132
+ originTenantId: string | null;
11133
+ originTenantIdentifier: string | null;
11134
+ logRetentionInDays: number;
9805
11135
  };
9806
11136
  environment: {
9807
11137
  oid: bigint;
@@ -9892,13 +11222,11 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
9892
11222
  };
9893
11223
  providerTool: {
9894
11224
  list: _lowerdeck_rpc_server.Handler<Partial<Pick<{
9895
- tenantId: string;
9896
- environmentId: string;
11225
+ tenantId: string | undefined;
11226
+ environmentId: string | undefined;
9897
11227
  providerVersion: string;
9898
- }, never>> & {
9899
- tenantId: string;
11228
+ }, "tenantId" | "environmentId">> & {
9900
11229
  providerVersion: string;
9901
- environmentId: string;
9902
11230
  } & {
9903
11231
  limit?: number;
9904
11232
  after?: string;
@@ -9932,7 +11260,159 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
9932
11260
  has_more_after: boolean;
9933
11261
  has_more_before: boolean;
9934
11262
  };
9935
- }, {
11263
+ }, {
11264
+ solution: {} & {
11265
+ oid: number;
11266
+ id: string;
11267
+ identifier: string;
11268
+ name: string;
11269
+ createdAt: Date;
11270
+ };
11271
+ tenant: undefined;
11272
+ environment: undefined;
11273
+ } | {
11274
+ solution: {} & {
11275
+ oid: number;
11276
+ id: string;
11277
+ identifier: string;
11278
+ name: string;
11279
+ createdAt: Date;
11280
+ };
11281
+ tenant: {
11282
+ environments: {
11283
+ oid: bigint;
11284
+ id: string;
11285
+ identifier: string;
11286
+ name: string;
11287
+ createdAt: Date;
11288
+ type: _metorial_subspace_db.EnvironmentType;
11289
+ tenantOid: bigint;
11290
+ }[];
11291
+ } & {
11292
+ oid: bigint;
11293
+ id: string;
11294
+ identifier: string;
11295
+ name: string;
11296
+ createdAt: Date;
11297
+ urlKey: string;
11298
+ slateTenantId: string | null;
11299
+ slateTenantIdentifier: string | null;
11300
+ shuttleTenantId: string | null;
11301
+ shuttleTenantIdentifier: string | null;
11302
+ originTenantId: string | null;
11303
+ originTenantIdentifier: string | null;
11304
+ logRetentionInDays: number;
11305
+ };
11306
+ environment: {
11307
+ oid: bigint;
11308
+ id: string;
11309
+ identifier: string;
11310
+ name: string;
11311
+ createdAt: Date;
11312
+ type: _metorial_subspace_db.EnvironmentType;
11313
+ tenantOid: bigint;
11314
+ };
11315
+ }>;
11316
+ get: _lowerdeck_rpc_server.Handler<_lowerdeck_validation_dist_validators.UndefinedIsOptional<{
11317
+ tenantId: string | undefined;
11318
+ environmentId: string | undefined;
11319
+ providerToolId: string;
11320
+ }>, {
11321
+ object: string;
11322
+ id: string;
11323
+ key: string;
11324
+ name: string;
11325
+ description: string | null;
11326
+ capabilities: {
11327
+ [key: string]: any;
11328
+ };
11329
+ constraints: string[];
11330
+ inputJsonSchema: Record<string, any>;
11331
+ instructions: string[];
11332
+ outputJsonSchema: Record<string, any> | undefined;
11333
+ tags: {
11334
+ destructive?: boolean | undefined;
11335
+ readOnly?: boolean | undefined;
11336
+ } | undefined;
11337
+ specificationId: string;
11338
+ createdAt: Date;
11339
+ updatedAt: Date;
11340
+ }, {
11341
+ solution: {} & {
11342
+ oid: number;
11343
+ id: string;
11344
+ identifier: string;
11345
+ name: string;
11346
+ createdAt: Date;
11347
+ };
11348
+ tenant: undefined;
11349
+ environment: undefined;
11350
+ providerTool: {
11351
+ provider: {
11352
+ oid: bigint;
11353
+ id: string;
11354
+ identifier: string;
11355
+ name: string;
11356
+ createdAt: Date;
11357
+ status: _metorial_subspace_db.ProviderStatus;
11358
+ description: string | null;
11359
+ metadata: unknown | null;
11360
+ updatedAt: Date;
11361
+ slug: string;
11362
+ tag: string;
11363
+ access: _metorial_subspace_db.ProviderAccess;
11364
+ hasEnvironments: boolean;
11365
+ globalIdentifier: string | null;
11366
+ entryOid: bigint;
11367
+ publisherOid: bigint;
11368
+ ownerTenantOid: bigint | null;
11369
+ ownerSolutionOid: number | null;
11370
+ defaultVariantOid: bigint | null;
11371
+ typeOid: number;
11372
+ };
11373
+ specification: {
11374
+ oid: bigint;
11375
+ id: string;
11376
+ name: string;
11377
+ createdAt: Date;
11378
+ type: _metorial_subspace_db.ProviderSpecificationType;
11379
+ key: string;
11380
+ description: string | null;
11381
+ updatedAt: Date;
11382
+ providerOid: bigint;
11383
+ hash: string;
11384
+ specId: string;
11385
+ specUniqueIdentifier: string;
11386
+ supportsAuthMethod: boolean;
11387
+ configContainsAuth: boolean;
11388
+ };
11389
+ global: {
11390
+ oid: bigint;
11391
+ id: string;
11392
+ createdAt: Date;
11393
+ key: string;
11394
+ updatedAt: Date;
11395
+ providerOid: bigint;
11396
+ currentInstanceOid: bigint | null;
11397
+ };
11398
+ } & {
11399
+ value: PrismaJson.ProviderToolValue;
11400
+ oid: bigint;
11401
+ id: string;
11402
+ name: string;
11403
+ createdAt: Date;
11404
+ key: string;
11405
+ description: string | null;
11406
+ updatedAt: Date;
11407
+ providerOid: bigint;
11408
+ specificationOid: bigint;
11409
+ hash: string;
11410
+ specId: string;
11411
+ specUniqueIdentifier: string;
11412
+ callableId: string;
11413
+ globalOid: bigint;
11414
+ };
11415
+ } | {
9936
11416
  solution: {} & {
9937
11417
  oid: number;
9938
11418
  id: string;
@@ -9940,21 +11420,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
9940
11420
  name: string;
9941
11421
  createdAt: Date;
9942
11422
  };
9943
- tenant: {} & {
9944
- oid: bigint;
9945
- id: string;
9946
- identifier: string;
9947
- name: string;
9948
- createdAt: Date;
9949
- urlKey: string;
9950
- slateTenantId: string | null;
9951
- slateTenantIdentifier: string | null;
9952
- shuttleTenantId: string | null;
9953
- shuttleTenantIdentifier: string | null;
9954
- originTenantId: string | null;
9955
- originTenantIdentifier: string | null;
9956
- logRetentionInDays: number;
9957
- } & {
11423
+ tenant: {
9958
11424
  environments: {
9959
11425
  oid: bigint;
9960
11426
  id: string;
@@ -9964,50 +11430,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
9964
11430
  type: _metorial_subspace_db.EnvironmentType;
9965
11431
  tenantOid: bigint;
9966
11432
  }[];
9967
- };
9968
- environment: {
9969
- oid: bigint;
9970
- id: string;
9971
- identifier: string;
9972
- name: string;
9973
- createdAt: Date;
9974
- type: _metorial_subspace_db.EnvironmentType;
9975
- tenantOid: bigint;
9976
- };
9977
- }>;
9978
- get: _lowerdeck_rpc_server.Handler<_lowerdeck_validation_dist_validators.UndefinedIsOptional<{
9979
- tenantId: string;
9980
- environmentId: string;
9981
- providerToolId: string;
9982
- }>, {
9983
- object: string;
9984
- id: string;
9985
- key: string;
9986
- name: string;
9987
- description: string | null;
9988
- capabilities: {
9989
- [key: string]: any;
9990
- };
9991
- constraints: string[];
9992
- inputJsonSchema: Record<string, any>;
9993
- instructions: string[];
9994
- outputJsonSchema: Record<string, any> | undefined;
9995
- tags: {
9996
- destructive?: boolean | undefined;
9997
- readOnly?: boolean | undefined;
9998
- } | undefined;
9999
- specificationId: string;
10000
- createdAt: Date;
10001
- updatedAt: Date;
10002
- }, {
10003
- solution: {} & {
10004
- oid: number;
10005
- id: string;
10006
- identifier: string;
10007
- name: string;
10008
- createdAt: Date;
10009
- };
10010
- tenant: {} & {
11433
+ } & {
10011
11434
  oid: bigint;
10012
11435
  id: string;
10013
11436
  identifier: string;
@@ -10021,16 +11444,6 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
10021
11444
  originTenantId: string | null;
10022
11445
  originTenantIdentifier: string | null;
10023
11446
  logRetentionInDays: number;
10024
- } & {
10025
- environments: {
10026
- oid: bigint;
10027
- id: string;
10028
- identifier: string;
10029
- name: string;
10030
- createdAt: Date;
10031
- type: _metorial_subspace_db.EnvironmentType;
10032
- tenantOid: bigint;
10033
- }[];
10034
11447
  };
10035
11448
  environment: {
10036
11449
  oid: bigint;
@@ -10110,12 +11523,9 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
10110
11523
  };
10111
11524
  providerVariant: {
10112
11525
  list: _lowerdeck_rpc_server.Handler<Partial<Pick<{
10113
- tenantId: string;
10114
- environmentId: string;
10115
- }, never>> & {
10116
- tenantId: string;
10117
- environmentId: string;
10118
- } & {
11526
+ tenantId: string | undefined;
11527
+ environmentId: string | undefined;
11528
+ }, "tenantId" | "environmentId">> & {} & {
10119
11529
  limit?: number;
10120
11530
  after?: string;
10121
11531
  before?: string;
@@ -10160,21 +11570,17 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
10160
11570
  name: string;
10161
11571
  createdAt: Date;
10162
11572
  };
10163
- tenant: {} & {
10164
- oid: bigint;
11573
+ tenant: undefined;
11574
+ environment: undefined;
11575
+ } | {
11576
+ solution: {} & {
11577
+ oid: number;
10165
11578
  id: string;
10166
11579
  identifier: string;
10167
11580
  name: string;
10168
11581
  createdAt: Date;
10169
- urlKey: string;
10170
- slateTenantId: string | null;
10171
- slateTenantIdentifier: string | null;
10172
- shuttleTenantId: string | null;
10173
- shuttleTenantIdentifier: string | null;
10174
- originTenantId: string | null;
10175
- originTenantIdentifier: string | null;
10176
- logRetentionInDays: number;
10177
- } & {
11582
+ };
11583
+ tenant: {
10178
11584
  environments: {
10179
11585
  oid: bigint;
10180
11586
  id: string;
@@ -10184,6 +11590,20 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
10184
11590
  type: _metorial_subspace_db.EnvironmentType;
10185
11591
  tenantOid: bigint;
10186
11592
  }[];
11593
+ } & {
11594
+ oid: bigint;
11595
+ id: string;
11596
+ identifier: string;
11597
+ name: string;
11598
+ createdAt: Date;
11599
+ urlKey: string;
11600
+ slateTenantId: string | null;
11601
+ slateTenantIdentifier: string | null;
11602
+ shuttleTenantId: string | null;
11603
+ shuttleTenantIdentifier: string | null;
11604
+ originTenantId: string | null;
11605
+ originTenantIdentifier: string | null;
11606
+ logRetentionInDays: number;
10187
11607
  };
10188
11608
  environment: {
10189
11609
  oid: bigint;
@@ -10196,8 +11616,8 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
10196
11616
  };
10197
11617
  }>;
10198
11618
  get: _lowerdeck_rpc_server.Handler<_lowerdeck_validation_dist_validators.UndefinedIsOptional<{
10199
- tenantId: string;
10200
- environmentId: string;
11619
+ tenantId: string | undefined;
11620
+ environmentId: string | undefined;
10201
11621
  providerVariantId: string;
10202
11622
  }>, {
10203
11623
  object: string;
@@ -10231,21 +11651,131 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
10231
11651
  name: string;
10232
11652
  createdAt: Date;
10233
11653
  };
10234
- tenant: {} & {
11654
+ tenant: undefined;
11655
+ environment: undefined;
11656
+ providerVariant: {
11657
+ backend: {
11658
+ oid: bigint;
11659
+ id: string;
11660
+ identifier: string;
11661
+ name: string;
11662
+ createdAt: Date;
11663
+ type: _metorial_subspace_db.BackendType;
11664
+ };
11665
+ publisher: {
11666
+ oid: bigint;
11667
+ id: string;
11668
+ identifier: string;
11669
+ name: string;
11670
+ createdAt: Date;
11671
+ type: _metorial_subspace_db.PublisherType;
11672
+ tenantOid: bigint | null;
11673
+ source: PrismaJson.PublisherSource | null;
11674
+ description: string | null;
11675
+ updatedAt: Date;
11676
+ tag: string;
11677
+ image: PrismaJson.EntityImage | null;
11678
+ };
11679
+ provider: {
11680
+ oid: bigint;
11681
+ id: string;
11682
+ identifier: string;
11683
+ name: string;
11684
+ createdAt: Date;
11685
+ status: _metorial_subspace_db.ProviderStatus;
11686
+ description: string | null;
11687
+ metadata: unknown | null;
11688
+ updatedAt: Date;
11689
+ slug: string;
11690
+ tag: string;
11691
+ access: _metorial_subspace_db.ProviderAccess;
11692
+ hasEnvironments: boolean;
11693
+ globalIdentifier: string | null;
11694
+ entryOid: bigint;
11695
+ publisherOid: bigint;
11696
+ ownerTenantOid: bigint | null;
11697
+ ownerSolutionOid: number | null;
11698
+ defaultVariantOid: bigint | null;
11699
+ typeOid: number;
11700
+ };
11701
+ currentVersion: ({
11702
+ specification: {
11703
+ value: PrismaJson.ProviderSpecificationValue;
11704
+ oid: bigint;
11705
+ id: string;
11706
+ name: string;
11707
+ createdAt: Date;
11708
+ type: _metorial_subspace_db.ProviderSpecificationType;
11709
+ key: string;
11710
+ description: string | null;
11711
+ updatedAt: Date;
11712
+ providerOid: bigint;
11713
+ hash: string;
11714
+ specId: string;
11715
+ specUniqueIdentifier: string;
11716
+ supportsAuthMethod: boolean;
11717
+ configContainsAuth: boolean;
11718
+ } | null;
11719
+ } & {
11720
+ oid: bigint;
11721
+ id: string;
11722
+ identifier: string;
11723
+ name: string;
11724
+ createdAt: Date;
11725
+ description: string | null;
11726
+ metadata: unknown | null;
11727
+ updatedAt: Date;
11728
+ providerOid: bigint;
11729
+ backendOid: bigint;
11730
+ specificationOid: bigint | null;
11731
+ providerVariantOid: bigint;
11732
+ tag: string;
11733
+ typeOid: number;
11734
+ slateOid: bigint | null;
11735
+ shuttleServerOid: bigint | null;
11736
+ isCurrent: boolean;
11737
+ isEnvironmentLocked: boolean;
11738
+ specificationDiscoveryStatus: _metorial_subspace_db.ProviderVersionSpecificationDiscoveryStatus;
11739
+ previousVersionOid: bigint | null;
11740
+ slateVersionOid: bigint | null;
11741
+ shuttleServerVersionOid: bigint | null;
11742
+ }) | null;
11743
+ slate: {
11744
+ oid: bigint;
11745
+ id: string;
11746
+ identifier: string;
11747
+ createdAt: Date;
11748
+ updatedAt: Date;
11749
+ identifierInRegistry: string | null;
11750
+ registryUrl: string | null;
11751
+ } | null;
11752
+ } & {
10235
11753
  oid: bigint;
10236
11754
  id: string;
10237
11755
  identifier: string;
10238
11756
  name: string;
10239
11757
  createdAt: Date;
10240
- urlKey: string;
10241
- slateTenantId: string | null;
10242
- slateTenantIdentifier: string | null;
10243
- shuttleTenantId: string | null;
10244
- shuttleTenantIdentifier: string | null;
10245
- originTenantId: string | null;
10246
- originTenantIdentifier: string | null;
10247
- logRetentionInDays: number;
10248
- } & {
11758
+ isDefault: boolean;
11759
+ description: string | null;
11760
+ metadata: unknown | null;
11761
+ updatedAt: Date;
11762
+ providerOid: bigint;
11763
+ backendOid: bigint;
11764
+ currentVersionOid: bigint | null;
11765
+ tag: string;
11766
+ publisherOid: bigint;
11767
+ slateOid: bigint | null;
11768
+ shuttleServerOid: bigint | null;
11769
+ };
11770
+ } | {
11771
+ solution: {} & {
11772
+ oid: number;
11773
+ id: string;
11774
+ identifier: string;
11775
+ name: string;
11776
+ createdAt: Date;
11777
+ };
11778
+ tenant: {
10249
11779
  environments: {
10250
11780
  oid: bigint;
10251
11781
  id: string;
@@ -10255,6 +11785,20 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
10255
11785
  type: _metorial_subspace_db.EnvironmentType;
10256
11786
  tenantOid: bigint;
10257
11787
  }[];
11788
+ } & {
11789
+ oid: bigint;
11790
+ id: string;
11791
+ identifier: string;
11792
+ name: string;
11793
+ createdAt: Date;
11794
+ urlKey: string;
11795
+ slateTenantId: string | null;
11796
+ slateTenantIdentifier: string | null;
11797
+ shuttleTenantId: string | null;
11798
+ shuttleTenantIdentifier: string | null;
11799
+ originTenantId: string | null;
11800
+ originTenantIdentifier: string | null;
11801
+ logRetentionInDays: number;
10258
11802
  };
10259
11803
  environment: {
10260
11804
  oid: bigint;
@@ -10382,15 +11926,12 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
10382
11926
  }>;
10383
11927
  };
10384
11928
  providerVersion: {
10385
- list: _lowerdeck_rpc_server.Handler<Partial<Pick<{
10386
- tenantId: string;
10387
- environmentId: string;
11929
+ list: _lowerdeck_rpc_server.Handler<Partial<Pick<{
11930
+ tenantId: string | undefined;
11931
+ environmentId: string | undefined;
10388
11932
  ids: string[] | undefined;
10389
11933
  providerIds: string[] | undefined;
10390
- }, "ids" | "providerIds">> & {
10391
- tenantId: string;
10392
- environmentId: string;
10393
- } & {
11934
+ }, "tenantId" | "environmentId" | "ids" | "providerIds">> & {} & {
10394
11935
  limit?: number;
10395
11936
  after?: string;
10396
11937
  before?: string;
@@ -10423,21 +11964,17 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
10423
11964
  name: string;
10424
11965
  createdAt: Date;
10425
11966
  };
10426
- tenant: {} & {
10427
- oid: bigint;
11967
+ tenant: undefined;
11968
+ environment: undefined;
11969
+ } | {
11970
+ solution: {} & {
11971
+ oid: number;
10428
11972
  id: string;
10429
11973
  identifier: string;
10430
11974
  name: string;
10431
11975
  createdAt: Date;
10432
- urlKey: string;
10433
- slateTenantId: string | null;
10434
- slateTenantIdentifier: string | null;
10435
- shuttleTenantId: string | null;
10436
- shuttleTenantIdentifier: string | null;
10437
- originTenantId: string | null;
10438
- originTenantIdentifier: string | null;
10439
- logRetentionInDays: number;
10440
- } & {
11976
+ };
11977
+ tenant: {
10441
11978
  environments: {
10442
11979
  oid: bigint;
10443
11980
  id: string;
@@ -10447,6 +11984,20 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
10447
11984
  type: _metorial_subspace_db.EnvironmentType;
10448
11985
  tenantOid: bigint;
10449
11986
  }[];
11987
+ } & {
11988
+ oid: bigint;
11989
+ id: string;
11990
+ identifier: string;
11991
+ name: string;
11992
+ createdAt: Date;
11993
+ urlKey: string;
11994
+ slateTenantId: string | null;
11995
+ slateTenantIdentifier: string | null;
11996
+ shuttleTenantId: string | null;
11997
+ shuttleTenantIdentifier: string | null;
11998
+ originTenantId: string | null;
11999
+ originTenantIdentifier: string | null;
12000
+ logRetentionInDays: number;
10450
12001
  };
10451
12002
  environment: {
10452
12003
  oid: bigint;
@@ -10459,8 +12010,8 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
10459
12010
  };
10460
12011
  }>;
10461
12012
  get: _lowerdeck_rpc_server.Handler<_lowerdeck_validation_dist_validators.UndefinedIsOptional<{
10462
- tenantId: string;
10463
- environmentId: string;
12013
+ tenantId: string | undefined;
12014
+ environmentId: string | undefined;
10464
12015
  providerVersionId: string;
10465
12016
  }>, {
10466
12017
  object: string;
@@ -10482,21 +12033,213 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
10482
12033
  name: string;
10483
12034
  createdAt: Date;
10484
12035
  };
10485
- tenant: {} & {
12036
+ tenant: undefined;
12037
+ environment: undefined;
12038
+ providerVersion: {
12039
+ providerVariant: {
12040
+ backend: {
12041
+ oid: bigint;
12042
+ id: string;
12043
+ identifier: string;
12044
+ name: string;
12045
+ createdAt: Date;
12046
+ type: _metorial_subspace_db.BackendType;
12047
+ };
12048
+ publisher: {
12049
+ oid: bigint;
12050
+ id: string;
12051
+ identifier: string;
12052
+ name: string;
12053
+ createdAt: Date;
12054
+ type: _metorial_subspace_db.PublisherType;
12055
+ tenantOid: bigint | null;
12056
+ source: PrismaJson.PublisherSource | null;
12057
+ description: string | null;
12058
+ updatedAt: Date;
12059
+ tag: string;
12060
+ image: PrismaJson.EntityImage | null;
12061
+ };
12062
+ provider: {
12063
+ oid: bigint;
12064
+ id: string;
12065
+ identifier: string;
12066
+ name: string;
12067
+ createdAt: Date;
12068
+ status: _metorial_subspace_db.ProviderStatus;
12069
+ description: string | null;
12070
+ metadata: unknown | null;
12071
+ updatedAt: Date;
12072
+ slug: string;
12073
+ tag: string;
12074
+ access: _metorial_subspace_db.ProviderAccess;
12075
+ hasEnvironments: boolean;
12076
+ globalIdentifier: string | null;
12077
+ entryOid: bigint;
12078
+ publisherOid: bigint;
12079
+ ownerTenantOid: bigint | null;
12080
+ ownerSolutionOid: number | null;
12081
+ defaultVariantOid: bigint | null;
12082
+ typeOid: number;
12083
+ };
12084
+ currentVersion: ({
12085
+ specification: {
12086
+ value: PrismaJson.ProviderSpecificationValue;
12087
+ oid: bigint;
12088
+ id: string;
12089
+ name: string;
12090
+ createdAt: Date;
12091
+ type: _metorial_subspace_db.ProviderSpecificationType;
12092
+ key: string;
12093
+ description: string | null;
12094
+ updatedAt: Date;
12095
+ providerOid: bigint;
12096
+ hash: string;
12097
+ specId: string;
12098
+ specUniqueIdentifier: string;
12099
+ supportsAuthMethod: boolean;
12100
+ configContainsAuth: boolean;
12101
+ } | null;
12102
+ } & {
12103
+ oid: bigint;
12104
+ id: string;
12105
+ identifier: string;
12106
+ name: string;
12107
+ createdAt: Date;
12108
+ description: string | null;
12109
+ metadata: unknown | null;
12110
+ updatedAt: Date;
12111
+ providerOid: bigint;
12112
+ backendOid: bigint;
12113
+ specificationOid: bigint | null;
12114
+ providerVariantOid: bigint;
12115
+ tag: string;
12116
+ typeOid: number;
12117
+ slateOid: bigint | null;
12118
+ shuttleServerOid: bigint | null;
12119
+ isCurrent: boolean;
12120
+ isEnvironmentLocked: boolean;
12121
+ specificationDiscoveryStatus: _metorial_subspace_db.ProviderVersionSpecificationDiscoveryStatus;
12122
+ previousVersionOid: bigint | null;
12123
+ slateVersionOid: bigint | null;
12124
+ shuttleServerVersionOid: bigint | null;
12125
+ }) | null;
12126
+ slate: {
12127
+ oid: bigint;
12128
+ id: string;
12129
+ identifier: string;
12130
+ createdAt: Date;
12131
+ updatedAt: Date;
12132
+ identifierInRegistry: string | null;
12133
+ registryUrl: string | null;
12134
+ } | null;
12135
+ } & {
12136
+ oid: bigint;
12137
+ id: string;
12138
+ identifier: string;
12139
+ name: string;
12140
+ createdAt: Date;
12141
+ isDefault: boolean;
12142
+ description: string | null;
12143
+ metadata: unknown | null;
12144
+ updatedAt: Date;
12145
+ providerOid: bigint;
12146
+ backendOid: bigint;
12147
+ currentVersionOid: bigint | null;
12148
+ tag: string;
12149
+ publisherOid: bigint;
12150
+ slateOid: bigint | null;
12151
+ shuttleServerOid: bigint | null;
12152
+ };
12153
+ provider: {
12154
+ oid: bigint;
12155
+ id: string;
12156
+ identifier: string;
12157
+ name: string;
12158
+ createdAt: Date;
12159
+ status: _metorial_subspace_db.ProviderStatus;
12160
+ description: string | null;
12161
+ metadata: unknown | null;
12162
+ updatedAt: Date;
12163
+ slug: string;
12164
+ tag: string;
12165
+ access: _metorial_subspace_db.ProviderAccess;
12166
+ hasEnvironments: boolean;
12167
+ globalIdentifier: string | null;
12168
+ entryOid: bigint;
12169
+ publisherOid: bigint;
12170
+ ownerTenantOid: bigint | null;
12171
+ ownerSolutionOid: number | null;
12172
+ defaultVariantOid: bigint | null;
12173
+ typeOid: number;
12174
+ };
12175
+ specification: {
12176
+ value: PrismaJson.ProviderSpecificationValue;
12177
+ oid: bigint;
12178
+ id: string;
12179
+ name: string;
12180
+ createdAt: Date;
12181
+ type: _metorial_subspace_db.ProviderSpecificationType;
12182
+ key: string;
12183
+ description: string | null;
12184
+ updatedAt: Date;
12185
+ providerOid: bigint;
12186
+ hash: string;
12187
+ specId: string;
12188
+ specUniqueIdentifier: string;
12189
+ supportsAuthMethod: boolean;
12190
+ configContainsAuth: boolean;
12191
+ } | null;
12192
+ slate: {
12193
+ oid: bigint;
12194
+ id: string;
12195
+ identifier: string;
12196
+ createdAt: Date;
12197
+ updatedAt: Date;
12198
+ identifierInRegistry: string | null;
12199
+ registryUrl: string | null;
12200
+ } | null;
12201
+ slateVersion: {
12202
+ oid: bigint;
12203
+ id: string;
12204
+ identifier: string;
12205
+ createdAt: Date;
12206
+ updatedAt: Date;
12207
+ version: string;
12208
+ slateOid: bigint;
12209
+ } | null;
12210
+ } & {
10486
12211
  oid: bigint;
10487
12212
  id: string;
10488
12213
  identifier: string;
10489
12214
  name: string;
10490
12215
  createdAt: Date;
10491
- urlKey: string;
10492
- slateTenantId: string | null;
10493
- slateTenantIdentifier: string | null;
10494
- shuttleTenantId: string | null;
10495
- shuttleTenantIdentifier: string | null;
10496
- originTenantId: string | null;
10497
- originTenantIdentifier: string | null;
10498
- logRetentionInDays: number;
10499
- } & {
12216
+ description: string | null;
12217
+ metadata: unknown | null;
12218
+ updatedAt: Date;
12219
+ providerOid: bigint;
12220
+ backendOid: bigint;
12221
+ specificationOid: bigint | null;
12222
+ providerVariantOid: bigint;
12223
+ tag: string;
12224
+ typeOid: number;
12225
+ slateOid: bigint | null;
12226
+ shuttleServerOid: bigint | null;
12227
+ isCurrent: boolean;
12228
+ isEnvironmentLocked: boolean;
12229
+ specificationDiscoveryStatus: _metorial_subspace_db.ProviderVersionSpecificationDiscoveryStatus;
12230
+ previousVersionOid: bigint | null;
12231
+ slateVersionOid: bigint | null;
12232
+ shuttleServerVersionOid: bigint | null;
12233
+ };
12234
+ } | {
12235
+ solution: {} & {
12236
+ oid: number;
12237
+ id: string;
12238
+ identifier: string;
12239
+ name: string;
12240
+ createdAt: Date;
12241
+ };
12242
+ tenant: {
10500
12243
  environments: {
10501
12244
  oid: bigint;
10502
12245
  id: string;
@@ -10506,6 +12249,20 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
10506
12249
  type: _metorial_subspace_db.EnvironmentType;
10507
12250
  tenantOid: bigint;
10508
12251
  }[];
12252
+ } & {
12253
+ oid: bigint;
12254
+ id: string;
12255
+ identifier: string;
12256
+ name: string;
12257
+ createdAt: Date;
12258
+ urlKey: string;
12259
+ slateTenantId: string | null;
12260
+ slateTenantIdentifier: string | null;
12261
+ shuttleTenantId: string | null;
12262
+ shuttleTenantIdentifier: string | null;
12263
+ originTenantId: string | null;
12264
+ originTenantIdentifier: string | null;
12265
+ logRetentionInDays: number;
10509
12266
  };
10510
12267
  environment: {
10511
12268
  oid: bigint;
@@ -10727,7 +12484,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
10727
12484
  providerDeploymentIds: string[] | undefined;
10728
12485
  providerConfigIds: string[] | undefined;
10729
12486
  providerAuthConfigIds: string[] | undefined;
10730
- }, "status" | "allowDeleted" | "ids" | "providerIds" | "providerDeploymentIds" | "providerAuthConfigIds" | "providerConfigIds" | "sessionTemplateIds" | "sessionProviderIds">> & {
12487
+ }, "status" | "allowDeleted" | "ids" | "sessionTemplateIds" | "sessionProviderIds" | "providerIds" | "providerDeploymentIds" | "providerConfigIds" | "providerAuthConfigIds">> & {
10731
12488
  tenantId: string;
10732
12489
  environmentId: string;
10733
12490
  } & {
@@ -11643,7 +13400,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
11643
13400
  providerDeploymentIds: string[] | undefined;
11644
13401
  providerConfigIds: string[] | undefined;
11645
13402
  providerAuthConfigIds: string[] | undefined;
11646
- }, "status" | "allowDeleted" | "ids" | "providerIds" | "providerDeploymentIds" | "providerAuthConfigIds" | "providerConfigIds" | "sessionTemplateIds" | "sessionIds">> & {
13403
+ }, "status" | "allowDeleted" | "ids" | "sessionTemplateIds" | "providerIds" | "providerDeploymentIds" | "providerConfigIds" | "providerAuthConfigIds" | "sessionIds">> & {
11647
13404
  tenantId: string;
11648
13405
  environmentId: string;
11649
13406
  } & {
@@ -13085,7 +14842,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
13085
14842
  providerIds: string[] | undefined;
13086
14843
  sessionMessageIds: string[] | undefined;
13087
14844
  sessionErrorGroupIds: string[] | undefined;
13088
- }, "allowDeleted" | "ids" | "providerIds" | "sessionProviderIds" | "sessionIds" | "types" | "sessionConnectionIds" | "providerRunIds" | "sessionMessageIds" | "sessionErrorGroupIds">> & {
14845
+ }, "allowDeleted" | "ids" | "sessionProviderIds" | "providerIds" | "sessionIds" | "types" | "sessionConnectionIds" | "providerRunIds" | "sessionMessageIds" | "sessionErrorGroupIds">> & {
13089
14846
  tenantId: string;
13090
14847
  environmentId: string;
13091
14848
  } & {
@@ -16114,7 +17871,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
16114
17871
  providerDeploymentIds: string[] | undefined;
16115
17872
  providerConfigIds: string[] | undefined;
16116
17873
  providerAuthConfigIds: string[] | undefined;
16117
- }, "status" | "allowDeleted" | "ids" | "providerIds" | "providerDeploymentIds" | "providerAuthConfigIds" | "providerConfigIds" | "sessionProviderIds" | "sessionIds">> & {
17874
+ }, "status" | "allowDeleted" | "ids" | "sessionProviderIds" | "providerIds" | "providerDeploymentIds" | "providerConfigIds" | "providerAuthConfigIds" | "sessionIds">> & {
16118
17875
  tenantId: string;
16119
17876
  environmentId: string;
16120
17877
  } & {
@@ -16867,7 +18624,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
16867
18624
  providerDeploymentIds: string[] | undefined;
16868
18625
  providerConfigIds: string[] | undefined;
16869
18626
  providerAuthConfigIds: string[] | undefined;
16870
- }, "status" | "allowDeleted" | "ids" | "providerIds" | "providerDeploymentIds" | "providerAuthConfigIds" | "providerConfigIds" | "sessionTemplateIds" | "sessionTemplateTemplateIds">> & {
18627
+ }, "status" | "allowDeleted" | "ids" | "sessionTemplateIds" | "providerIds" | "providerDeploymentIds" | "providerConfigIds" | "providerAuthConfigIds" | "sessionTemplateTemplateIds">> & {
16871
18628
  tenantId: string;
16872
18629
  environmentId: string;
16873
18630
  } & {
@@ -23721,7 +25478,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
23721
25478
  sessionConnectionIds: string[] | undefined;
23722
25479
  providerIds: string[] | undefined;
23723
25480
  providerVersionIds: string[] | undefined;
23724
- }, "status" | "allowDeleted" | "ids" | "providerIds" | "providerVersionIds" | "sessionProviderIds" | "sessionIds" | "sessionConnectionIds">> & {
25481
+ }, "status" | "allowDeleted" | "ids" | "sessionProviderIds" | "providerIds" | "providerVersionIds" | "sessionIds" | "sessionConnectionIds">> & {
23725
25482
  tenantId: string;
23726
25483
  environmentId: string;
23727
25484
  } & {
@@ -24308,7 +26065,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
24308
26065
  object: string;
24309
26066
  id: string;
24310
26067
  url: string;
24311
- status: "completed" | "expired" | "pending";
26068
+ status: "pending" | "completed" | "expired";
24312
26069
  connection: {
24313
26070
  object: string;
24314
26071
  id: string;
@@ -24376,7 +26133,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
24376
26133
  object: string;
24377
26134
  id: string;
24378
26135
  url: string;
24379
- status: "completed" | "expired" | "pending";
26136
+ status: "pending" | "completed" | "expired";
24380
26137
  connection: {
24381
26138
  object: string;
24382
26139
  id: string;
@@ -24615,7 +26372,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
24615
26372
  id: string;
24616
26373
  type: _metorial_services_origin_client.ScmBackendType;
24617
26374
  url: string;
24618
- status: "completed" | "expired" | "pending";
26375
+ status: "pending" | "completed" | "expired";
24619
26376
  provider: {
24620
26377
  object: string;
24621
26378
  id: string;
@@ -24682,7 +26439,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
24682
26439
  id: string;
24683
26440
  type: _metorial_services_origin_client.ScmBackendType;
24684
26441
  url: string;
24685
- status: "completed" | "expired" | "pending";
26442
+ status: "pending" | "completed" | "expired";
24686
26443
  provider: {
24687
26444
  object: string;
24688
26445
  id: string;