@metorial-services/subspace-client 1.0.8 → 1.0.10

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 +370 -210
  2. package/dist/index.d.ts +370 -210
  3. package/package.json +1 -1
package/dist/index.d.cts CHANGED
@@ -544,6 +544,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
544
544
  transport: _metorial_subspace_db.SessionConnectionTransport;
545
545
  sessionId: string;
546
546
  messageId: string;
547
+ providerId: string;
547
548
  sessionProviderId: string | null;
548
549
  connectionId: string | null;
549
550
  providerRunId: string | null;
@@ -565,6 +566,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
565
566
  readOnly?: boolean | undefined;
566
567
  } | undefined;
567
568
  specificationId: string;
569
+ providerId: string;
568
570
  createdAt: Date;
569
571
  updatedAt: Date;
570
572
  };
@@ -647,6 +649,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
647
649
  transport: _metorial_subspace_db.SessionConnectionTransport;
648
650
  sessionId: string;
649
651
  messageId: string;
652
+ providerId: string;
650
653
  sessionProviderId: string | null;
651
654
  connectionId: string | null;
652
655
  providerRunId: string | null;
@@ -668,6 +671,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
668
671
  readOnly?: boolean | undefined;
669
672
  } | undefined;
670
673
  specificationId: string;
674
+ providerId: string;
671
675
  createdAt: Date;
672
676
  updatedAt: Date;
673
677
  };
@@ -1266,6 +1270,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
1266
1270
  transport: _metorial_subspace_db.SessionConnectionTransport;
1267
1271
  sessionId: string;
1268
1272
  messageId: string;
1273
+ providerId: string;
1269
1274
  sessionProviderId: string | null;
1270
1275
  connectionId: string | null;
1271
1276
  providerRunId: string | null;
@@ -1287,6 +1292,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
1287
1292
  readOnly?: boolean | undefined;
1288
1293
  } | undefined;
1289
1294
  specificationId: string;
1295
+ providerId: string;
1290
1296
  createdAt: Date;
1291
1297
  updatedAt: Date;
1292
1298
  };
@@ -1403,6 +1409,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
1403
1409
  id: string;
1404
1410
  tag: string;
1405
1411
  identifier: string;
1412
+ providerId: string;
1406
1413
  isDefault: boolean;
1407
1414
  name: string;
1408
1415
  description: string | null;
@@ -1412,6 +1419,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
1412
1419
  id: string;
1413
1420
  tag: string;
1414
1421
  identifier: string;
1422
+ providerId: string;
1415
1423
  isCurrent: boolean;
1416
1424
  name: string;
1417
1425
  description: string | null;
@@ -1428,6 +1436,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
1428
1436
  id: string;
1429
1437
  tag: string;
1430
1438
  identifier: string;
1439
+ providerId: string;
1431
1440
  isCurrent: boolean;
1432
1441
  name: string;
1433
1442
  description: string | null;
@@ -1586,6 +1595,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
1586
1595
  id: string;
1587
1596
  tag: string;
1588
1597
  identifier: string;
1598
+ providerId: string;
1589
1599
  isDefault: boolean;
1590
1600
  name: string;
1591
1601
  description: string | null;
@@ -1595,6 +1605,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
1595
1605
  id: string;
1596
1606
  tag: string;
1597
1607
  identifier: string;
1608
+ providerId: string;
1598
1609
  isCurrent: boolean;
1599
1610
  name: string;
1600
1611
  description: string | null;
@@ -1611,6 +1622,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
1611
1622
  id: string;
1612
1623
  tag: string;
1613
1624
  identifier: string;
1625
+ providerId: string;
1614
1626
  isCurrent: boolean;
1615
1627
  name: string;
1616
1628
  description: string | null;
@@ -1955,6 +1967,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
1955
1967
  id: string;
1956
1968
  tag: string;
1957
1969
  identifier: string;
1970
+ providerId: string;
1958
1971
  isDefault: boolean;
1959
1972
  name: string;
1960
1973
  description: string | null;
@@ -1964,6 +1977,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
1964
1977
  id: string;
1965
1978
  tag: string;
1966
1979
  identifier: string;
1980
+ providerId: string;
1967
1981
  isCurrent: boolean;
1968
1982
  name: string;
1969
1983
  description: string | null;
@@ -1980,6 +1994,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
1980
1994
  id: string;
1981
1995
  tag: string;
1982
1996
  identifier: string;
1997
+ providerId: string;
1983
1998
  isCurrent: boolean;
1984
1999
  name: string;
1985
2000
  description: string | null;
@@ -2305,16 +2320,30 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
2305
2320
  id: string;
2306
2321
  type: _metorial_subspace_db.ProviderAuthConfigType;
2307
2322
  source: _metorial_subspace_db.ProviderAuthConfigSource;
2323
+ status: _metorial_subspace_db.ProviderAuthConfigStatus;
2308
2324
  isEphemeral: boolean;
2309
2325
  isDefault: boolean;
2310
2326
  providerId: string;
2311
2327
  name: string | null;
2312
2328
  description: string | null;
2313
2329
  metadata: unknown;
2330
+ deploymentPreview: {
2331
+ object: string;
2332
+ id: string;
2333
+ isEphemeral: boolean;
2334
+ isDefault: boolean;
2335
+ name: string | null;
2336
+ description: string | null;
2337
+ metadata: unknown;
2338
+ providerId: string;
2339
+ createdAt: Date;
2340
+ updatedAt: Date;
2341
+ } | null;
2314
2342
  credentials: {
2315
2343
  object: string;
2316
2344
  id: string;
2317
2345
  type: "oauth";
2346
+ status: _metorial_subspace_db.ProviderAuthCredentialsStatus;
2318
2347
  isEphemeral: boolean;
2319
2348
  isDefault: boolean;
2320
2349
  providerId: string;
@@ -2344,6 +2373,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
2344
2373
  object: string;
2345
2374
  }[] | null;
2346
2375
  specificationId: string;
2376
+ providerId: string;
2347
2377
  createdAt: Date;
2348
2378
  updatedAt: Date;
2349
2379
  };
@@ -2407,16 +2437,30 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
2407
2437
  id: string;
2408
2438
  type: _metorial_subspace_db.ProviderAuthConfigType;
2409
2439
  source: _metorial_subspace_db.ProviderAuthConfigSource;
2440
+ status: _metorial_subspace_db.ProviderAuthConfigStatus;
2410
2441
  isEphemeral: boolean;
2411
2442
  isDefault: boolean;
2412
2443
  providerId: string;
2413
2444
  name: string | null;
2414
2445
  description: string | null;
2415
2446
  metadata: unknown;
2447
+ deploymentPreview: {
2448
+ object: string;
2449
+ id: string;
2450
+ isEphemeral: boolean;
2451
+ isDefault: boolean;
2452
+ name: string | null;
2453
+ description: string | null;
2454
+ metadata: unknown;
2455
+ providerId: string;
2456
+ createdAt: Date;
2457
+ updatedAt: Date;
2458
+ } | null;
2416
2459
  credentials: {
2417
2460
  object: string;
2418
2461
  id: string;
2419
2462
  type: "oauth";
2463
+ status: _metorial_subspace_db.ProviderAuthCredentialsStatus;
2420
2464
  isEphemeral: boolean;
2421
2465
  isDefault: boolean;
2422
2466
  providerId: string;
@@ -2446,6 +2490,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
2446
2490
  object: string;
2447
2491
  }[] | null;
2448
2492
  specificationId: string;
2493
+ providerId: string;
2449
2494
  createdAt: Date;
2450
2495
  updatedAt: Date;
2451
2496
  };
@@ -2631,23 +2676,37 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
2631
2676
  ua: string;
2632
2677
  providerId: string;
2633
2678
  providerDeploymentId: string | undefined;
2634
- providerAuthMethodId: string;
2679
+ providerAuthMethodId: string | undefined;
2635
2680
  config: Record<string, any>;
2636
2681
  }>, {
2637
2682
  object: string;
2638
2683
  id: string;
2639
2684
  type: _metorial_subspace_db.ProviderAuthConfigType;
2640
2685
  source: _metorial_subspace_db.ProviderAuthConfigSource;
2686
+ status: _metorial_subspace_db.ProviderAuthConfigStatus;
2641
2687
  isEphemeral: boolean;
2642
2688
  isDefault: boolean;
2643
2689
  providerId: string;
2644
2690
  name: string | null;
2645
2691
  description: string | null;
2646
2692
  metadata: unknown;
2693
+ deploymentPreview: {
2694
+ object: string;
2695
+ id: string;
2696
+ isEphemeral: boolean;
2697
+ isDefault: boolean;
2698
+ name: string | null;
2699
+ description: string | null;
2700
+ metadata: unknown;
2701
+ providerId: string;
2702
+ createdAt: Date;
2703
+ updatedAt: Date;
2704
+ } | null;
2647
2705
  credentials: {
2648
2706
  object: string;
2649
2707
  id: string;
2650
2708
  type: "oauth";
2709
+ status: _metorial_subspace_db.ProviderAuthCredentialsStatus;
2651
2710
  isEphemeral: boolean;
2652
2711
  isDefault: boolean;
2653
2712
  providerId: string;
@@ -2677,6 +2736,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
2677
2736
  object: string;
2678
2737
  }[] | null;
2679
2738
  specificationId: string;
2739
+ providerId: string;
2680
2740
  createdAt: Date;
2681
2741
  updatedAt: Date;
2682
2742
  };
@@ -2725,6 +2785,65 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
2725
2785
  tenantOid: bigint;
2726
2786
  };
2727
2787
  }>;
2788
+ getConfigSchema: _lowerdeck_rpc_server.Handler<_lowerdeck_validation_dist_validators.UndefinedIsOptional<{
2789
+ tenantId: string;
2790
+ environmentId: string;
2791
+ providerId: string | undefined;
2792
+ providerAuthConfigId: string | undefined;
2793
+ providerVersionId: string | undefined;
2794
+ providerDeploymentId: string | undefined;
2795
+ authMethodId: string | undefined;
2796
+ }>, {
2797
+ object: string;
2798
+ authConfigSchema: Record<string, any>;
2799
+ authConfigVisibility: "encrypted";
2800
+ specificationId: string;
2801
+ providerId: string;
2802
+ createdAt: Date;
2803
+ updatedAt: Date;
2804
+ }, {
2805
+ solution: {} & {
2806
+ oid: number;
2807
+ id: string;
2808
+ identifier: string;
2809
+ name: string;
2810
+ createdAt: Date;
2811
+ };
2812
+ tenant: {} & {
2813
+ oid: bigint;
2814
+ id: string;
2815
+ identifier: string;
2816
+ name: string;
2817
+ createdAt: Date;
2818
+ urlKey: string;
2819
+ slateTenantId: string | null;
2820
+ slateTenantIdentifier: string | null;
2821
+ shuttleTenantId: string | null;
2822
+ shuttleTenantIdentifier: string | null;
2823
+ originTenantId: string | null;
2824
+ originTenantIdentifier: string | null;
2825
+ logRetentionInDays: number;
2826
+ } & {
2827
+ environments: {
2828
+ oid: bigint;
2829
+ id: string;
2830
+ identifier: string;
2831
+ name: string;
2832
+ createdAt: Date;
2833
+ type: _metorial_subspace_db.EnvironmentType;
2834
+ tenantOid: bigint;
2835
+ }[];
2836
+ };
2837
+ environment: {
2838
+ oid: bigint;
2839
+ id: string;
2840
+ identifier: string;
2841
+ name: string;
2842
+ createdAt: Date;
2843
+ type: _metorial_subspace_db.EnvironmentType;
2844
+ tenantOid: bigint;
2845
+ };
2846
+ }>;
2728
2847
  update: _lowerdeck_rpc_server.Handler<_lowerdeck_validation_dist_validators.UndefinedIsOptional<{
2729
2848
  tenantId: string;
2730
2849
  environmentId: string;
@@ -2740,16 +2859,30 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
2740
2859
  id: string;
2741
2860
  type: _metorial_subspace_db.ProviderAuthConfigType;
2742
2861
  source: _metorial_subspace_db.ProviderAuthConfigSource;
2862
+ status: _metorial_subspace_db.ProviderAuthConfigStatus;
2743
2863
  isEphemeral: boolean;
2744
2864
  isDefault: boolean;
2745
2865
  providerId: string;
2746
2866
  name: string | null;
2747
2867
  description: string | null;
2748
2868
  metadata: unknown;
2869
+ deploymentPreview: {
2870
+ object: string;
2871
+ id: string;
2872
+ isEphemeral: boolean;
2873
+ isDefault: boolean;
2874
+ name: string | null;
2875
+ description: string | null;
2876
+ metadata: unknown;
2877
+ providerId: string;
2878
+ createdAt: Date;
2879
+ updatedAt: Date;
2880
+ } | null;
2749
2881
  credentials: {
2750
2882
  object: string;
2751
2883
  id: string;
2752
2884
  type: "oauth";
2885
+ status: _metorial_subspace_db.ProviderAuthCredentialsStatus;
2753
2886
  isEphemeral: boolean;
2754
2887
  isDefault: boolean;
2755
2888
  providerId: string;
@@ -2779,6 +2912,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
2779
2912
  object: string;
2780
2913
  }[] | null;
2781
2914
  specificationId: string;
2915
+ providerId: string;
2782
2916
  createdAt: Date;
2783
2917
  updatedAt: Date;
2784
2918
  };
@@ -2977,6 +3111,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
2977
3111
  object: string;
2978
3112
  id: string;
2979
3113
  type: "oauth";
3114
+ status: _metorial_subspace_db.ProviderAuthCredentialsStatus;
2980
3115
  isEphemeral: boolean;
2981
3116
  isDefault: boolean;
2982
3117
  providerId: string;
@@ -3042,6 +3177,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
3042
3177
  object: string;
3043
3178
  id: string;
3044
3179
  type: "oauth";
3180
+ status: _metorial_subspace_db.ProviderAuthCredentialsStatus;
3045
3181
  isEphemeral: boolean;
3046
3182
  isDefault: boolean;
3047
3183
  providerId: string;
@@ -3155,6 +3291,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
3155
3291
  object: string;
3156
3292
  id: string;
3157
3293
  type: "oauth";
3294
+ status: _metorial_subspace_db.ProviderAuthCredentialsStatus;
3158
3295
  isEphemeral: boolean;
3159
3296
  isDefault: boolean;
3160
3297
  providerId: string;
@@ -3218,6 +3355,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
3218
3355
  object: string;
3219
3356
  id: string;
3220
3357
  type: "oauth";
3358
+ status: _metorial_subspace_db.ProviderAuthCredentialsStatus;
3221
3359
  isEphemeral: boolean;
3222
3360
  isDefault: boolean;
3223
3361
  providerId: string;
@@ -3346,16 +3484,30 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
3346
3484
  id: string;
3347
3485
  type: _metorial_subspace_db.ProviderAuthConfigType;
3348
3486
  source: _metorial_subspace_db.ProviderAuthConfigSource;
3487
+ status: _metorial_subspace_db.ProviderAuthConfigStatus;
3349
3488
  isEphemeral: boolean;
3350
3489
  isDefault: boolean;
3351
3490
  providerId: string;
3352
3491
  name: string | null;
3353
3492
  description: string | null;
3354
3493
  metadata: unknown;
3494
+ deploymentPreview: {
3495
+ object: string;
3496
+ id: string;
3497
+ isEphemeral: boolean;
3498
+ isDefault: boolean;
3499
+ name: string | null;
3500
+ description: string | null;
3501
+ metadata: unknown;
3502
+ providerId: string;
3503
+ createdAt: Date;
3504
+ updatedAt: Date;
3505
+ } | null;
3355
3506
  credentials: {
3356
3507
  object: string;
3357
3508
  id: string;
3358
3509
  type: "oauth";
3510
+ status: _metorial_subspace_db.ProviderAuthCredentialsStatus;
3359
3511
  isEphemeral: boolean;
3360
3512
  isDefault: boolean;
3361
3513
  providerId: string;
@@ -3385,6 +3537,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
3385
3537
  object: string;
3386
3538
  }[] | null;
3387
3539
  specificationId: string;
3540
+ providerId: string;
3388
3541
  createdAt: Date;
3389
3542
  updatedAt: Date;
3390
3543
  };
@@ -3462,16 +3615,30 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
3462
3615
  id: string;
3463
3616
  type: _metorial_subspace_db.ProviderAuthConfigType;
3464
3617
  source: _metorial_subspace_db.ProviderAuthConfigSource;
3618
+ status: _metorial_subspace_db.ProviderAuthConfigStatus;
3465
3619
  isEphemeral: boolean;
3466
3620
  isDefault: boolean;
3467
3621
  providerId: string;
3468
3622
  name: string | null;
3469
3623
  description: string | null;
3470
3624
  metadata: unknown;
3625
+ deploymentPreview: {
3626
+ object: string;
3627
+ id: string;
3628
+ isEphemeral: boolean;
3629
+ isDefault: boolean;
3630
+ name: string | null;
3631
+ description: string | null;
3632
+ metadata: unknown;
3633
+ providerId: string;
3634
+ createdAt: Date;
3635
+ updatedAt: Date;
3636
+ } | null;
3471
3637
  credentials: {
3472
3638
  object: string;
3473
3639
  id: string;
3474
3640
  type: "oauth";
3641
+ status: _metorial_subspace_db.ProviderAuthCredentialsStatus;
3475
3642
  isEphemeral: boolean;
3476
3643
  isDefault: boolean;
3477
3644
  providerId: string;
@@ -3501,6 +3668,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
3501
3668
  object: string;
3502
3669
  }[] | null;
3503
3670
  specificationId: string;
3671
+ providerId: string;
3504
3672
  createdAt: Date;
3505
3673
  updatedAt: Date;
3506
3674
  };
@@ -3719,16 +3887,30 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
3719
3887
  id: string;
3720
3888
  type: _metorial_subspace_db.ProviderAuthConfigType;
3721
3889
  source: _metorial_subspace_db.ProviderAuthConfigSource;
3890
+ status: _metorial_subspace_db.ProviderAuthConfigStatus;
3722
3891
  isEphemeral: boolean;
3723
3892
  isDefault: boolean;
3724
3893
  providerId: string;
3725
3894
  name: string | null;
3726
3895
  description: string | null;
3727
3896
  metadata: unknown;
3897
+ deploymentPreview: {
3898
+ object: string;
3899
+ id: string;
3900
+ isEphemeral: boolean;
3901
+ isDefault: boolean;
3902
+ name: string | null;
3903
+ description: string | null;
3904
+ metadata: unknown;
3905
+ providerId: string;
3906
+ createdAt: Date;
3907
+ updatedAt: Date;
3908
+ } | null;
3728
3909
  credentials: {
3729
3910
  object: string;
3730
3911
  id: string;
3731
3912
  type: "oauth";
3913
+ status: _metorial_subspace_db.ProviderAuthCredentialsStatus;
3732
3914
  isEphemeral: boolean;
3733
3915
  isDefault: boolean;
3734
3916
  providerId: string;
@@ -3758,6 +3940,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
3758
3940
  object: string;
3759
3941
  }[] | null;
3760
3942
  specificationId: string;
3943
+ providerId: string;
3761
3944
  createdAt: Date;
3762
3945
  updatedAt: Date;
3763
3946
  };
@@ -3847,16 +4030,30 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
3847
4030
  id: string;
3848
4031
  type: _metorial_subspace_db.ProviderAuthConfigType;
3849
4032
  source: _metorial_subspace_db.ProviderAuthConfigSource;
4033
+ status: _metorial_subspace_db.ProviderAuthConfigStatus;
3850
4034
  isEphemeral: boolean;
3851
4035
  isDefault: boolean;
3852
4036
  providerId: string;
3853
4037
  name: string | null;
3854
4038
  description: string | null;
3855
4039
  metadata: unknown;
4040
+ deploymentPreview: {
4041
+ object: string;
4042
+ id: string;
4043
+ isEphemeral: boolean;
4044
+ isDefault: boolean;
4045
+ name: string | null;
4046
+ description: string | null;
4047
+ metadata: unknown;
4048
+ providerId: string;
4049
+ createdAt: Date;
4050
+ updatedAt: Date;
4051
+ } | null;
3856
4052
  credentials: {
3857
4053
  object: string;
3858
4054
  id: string;
3859
4055
  type: "oauth";
4056
+ status: _metorial_subspace_db.ProviderAuthCredentialsStatus;
3860
4057
  isEphemeral: boolean;
3861
4058
  isDefault: boolean;
3862
4059
  providerId: string;
@@ -3886,6 +4083,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
3886
4083
  object: string;
3887
4084
  }[] | null;
3888
4085
  specificationId: string;
4086
+ providerId: string;
3889
4087
  createdAt: Date;
3890
4088
  updatedAt: Date;
3891
4089
  };
@@ -3954,7 +4152,13 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
3954
4152
  providerAuthConfigId: string | undefined;
3955
4153
  providerAuthMethodId: string | undefined;
3956
4154
  }>, {
3957
- schema: Record<string, any> | undefined;
4155
+ object: string;
4156
+ authConfigSchema: Record<string, any> | undefined;
4157
+ authConfigVisibility: "encrypted";
4158
+ specificationId: string;
4159
+ providerId: string;
4160
+ createdAt: Date;
4161
+ updatedAt: Date;
3958
4162
  }, {
3959
4163
  solution: {} & {
3960
4164
  oid: number;
@@ -4015,16 +4219,30 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
4015
4219
  id: string;
4016
4220
  type: _metorial_subspace_db.ProviderAuthConfigType;
4017
4221
  source: _metorial_subspace_db.ProviderAuthConfigSource;
4222
+ status: _metorial_subspace_db.ProviderAuthConfigStatus;
4018
4223
  isEphemeral: boolean;
4019
4224
  isDefault: boolean;
4020
4225
  providerId: string;
4021
4226
  name: string | null;
4022
4227
  description: string | null;
4023
4228
  metadata: unknown;
4229
+ deploymentPreview: {
4230
+ object: string;
4231
+ id: string;
4232
+ isEphemeral: boolean;
4233
+ isDefault: boolean;
4234
+ name: string | null;
4235
+ description: string | null;
4236
+ metadata: unknown;
4237
+ providerId: string;
4238
+ createdAt: Date;
4239
+ updatedAt: Date;
4240
+ } | null;
4024
4241
  credentials: {
4025
4242
  object: string;
4026
4243
  id: string;
4027
4244
  type: "oauth";
4245
+ status: _metorial_subspace_db.ProviderAuthCredentialsStatus;
4028
4246
  isEphemeral: boolean;
4029
4247
  isDefault: boolean;
4030
4248
  providerId: string;
@@ -4054,6 +4272,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
4054
4272
  object: string;
4055
4273
  }[] | null;
4056
4274
  specificationId: string;
4275
+ providerId: string;
4057
4276
  createdAt: Date;
4058
4277
  updatedAt: Date;
4059
4278
  };
@@ -4277,16 +4496,30 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
4277
4496
  id: string;
4278
4497
  type: _metorial_subspace_db.ProviderAuthConfigType;
4279
4498
  source: _metorial_subspace_db.ProviderAuthConfigSource;
4499
+ status: _metorial_subspace_db.ProviderAuthConfigStatus;
4280
4500
  isEphemeral: boolean;
4281
4501
  isDefault: boolean;
4282
4502
  providerId: string;
4283
4503
  name: string | null;
4284
4504
  description: string | null;
4285
4505
  metadata: unknown;
4506
+ deploymentPreview: {
4507
+ object: string;
4508
+ id: string;
4509
+ isEphemeral: boolean;
4510
+ isDefault: boolean;
4511
+ name: string | null;
4512
+ description: string | null;
4513
+ metadata: unknown;
4514
+ providerId: string;
4515
+ createdAt: Date;
4516
+ updatedAt: Date;
4517
+ } | null;
4286
4518
  credentials: {
4287
4519
  object: string;
4288
4520
  id: string;
4289
4521
  type: "oauth";
4522
+ status: _metorial_subspace_db.ProviderAuthCredentialsStatus;
4290
4523
  isEphemeral: boolean;
4291
4524
  isDefault: boolean;
4292
4525
  providerId: string;
@@ -4316,6 +4549,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
4316
4549
  object: string;
4317
4550
  }[] | null;
4318
4551
  specificationId: string;
4552
+ providerId: string;
4319
4553
  createdAt: Date;
4320
4554
  updatedAt: Date;
4321
4555
  };
@@ -4409,6 +4643,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
4409
4643
  object: string;
4410
4644
  }[] | null;
4411
4645
  specificationId: string;
4646
+ providerId: string;
4412
4647
  createdAt: Date;
4413
4648
  updatedAt: Date;
4414
4649
  }[];
@@ -4483,6 +4718,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
4483
4718
  object: string;
4484
4719
  }[] | null;
4485
4720
  specificationId: string;
4721
+ providerId: string;
4486
4722
  createdAt: Date;
4487
4723
  updatedAt: Date;
4488
4724
  }, {
@@ -4649,6 +4885,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
4649
4885
  object: string;
4650
4886
  }[] | null;
4651
4887
  specificationId: string;
4888
+ providerId: string;
4652
4889
  createdAt: Date;
4653
4890
  updatedAt: Date;
4654
4891
  };
@@ -4668,6 +4905,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
4668
4905
  object: string;
4669
4906
  id: string;
4670
4907
  type: "oauth";
4908
+ status: _metorial_subspace_db.ProviderAuthCredentialsStatus;
4671
4909
  isEphemeral: boolean;
4672
4910
  isDefault: boolean;
4673
4911
  providerId: string;
@@ -4682,16 +4920,30 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
4682
4920
  id: string;
4683
4921
  type: _metorial_subspace_db.ProviderAuthConfigType;
4684
4922
  source: _metorial_subspace_db.ProviderAuthConfigSource;
4923
+ status: _metorial_subspace_db.ProviderAuthConfigStatus;
4685
4924
  isEphemeral: boolean;
4686
4925
  isDefault: boolean;
4687
4926
  providerId: string;
4688
4927
  name: string | null;
4689
4928
  description: string | null;
4690
4929
  metadata: unknown;
4930
+ deploymentPreview: {
4931
+ object: string;
4932
+ id: string;
4933
+ isEphemeral: boolean;
4934
+ isDefault: boolean;
4935
+ name: string | null;
4936
+ description: string | null;
4937
+ metadata: unknown;
4938
+ providerId: string;
4939
+ createdAt: Date;
4940
+ updatedAt: Date;
4941
+ } | null;
4691
4942
  credentials: {
4692
4943
  object: string;
4693
4944
  id: string;
4694
4945
  type: "oauth";
4946
+ status: _metorial_subspace_db.ProviderAuthCredentialsStatus;
4695
4947
  isEphemeral: boolean;
4696
4948
  isDefault: boolean;
4697
4949
  providerId: string;
@@ -4721,6 +4973,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
4721
4973
  object: string;
4722
4974
  }[] | null;
4723
4975
  specificationId: string;
4976
+ providerId: string;
4724
4977
  createdAt: Date;
4725
4978
  updatedAt: Date;
4726
4979
  };
@@ -4736,6 +4989,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
4736
4989
  description: string | null;
4737
4990
  metadata: unknown;
4738
4991
  providerId: string;
4992
+ specificationId: string;
4739
4993
  deployment: {
4740
4994
  object: string;
4741
4995
  id: string;
@@ -4770,7 +5024,6 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
4770
5024
  createdAt: Date;
4771
5025
  updatedAt: Date;
4772
5026
  } | null;
4773
- specificationId: string;
4774
5027
  createdAt: Date;
4775
5028
  updatedAt: Date;
4776
5029
  } | null;
@@ -4862,6 +5115,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
4862
5115
  object: string;
4863
5116
  }[] | null;
4864
5117
  specificationId: string;
5118
+ providerId: string;
4865
5119
  createdAt: Date;
4866
5120
  updatedAt: Date;
4867
5121
  };
@@ -4881,6 +5135,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
4881
5135
  object: string;
4882
5136
  id: string;
4883
5137
  type: "oauth";
5138
+ status: _metorial_subspace_db.ProviderAuthCredentialsStatus;
4884
5139
  isEphemeral: boolean;
4885
5140
  isDefault: boolean;
4886
5141
  providerId: string;
@@ -4895,16 +5150,30 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
4895
5150
  id: string;
4896
5151
  type: _metorial_subspace_db.ProviderAuthConfigType;
4897
5152
  source: _metorial_subspace_db.ProviderAuthConfigSource;
5153
+ status: _metorial_subspace_db.ProviderAuthConfigStatus;
4898
5154
  isEphemeral: boolean;
4899
5155
  isDefault: boolean;
4900
5156
  providerId: string;
4901
5157
  name: string | null;
4902
5158
  description: string | null;
4903
5159
  metadata: unknown;
5160
+ deploymentPreview: {
5161
+ object: string;
5162
+ id: string;
5163
+ isEphemeral: boolean;
5164
+ isDefault: boolean;
5165
+ name: string | null;
5166
+ description: string | null;
5167
+ metadata: unknown;
5168
+ providerId: string;
5169
+ createdAt: Date;
5170
+ updatedAt: Date;
5171
+ } | null;
4904
5172
  credentials: {
4905
5173
  object: string;
4906
5174
  id: string;
4907
5175
  type: "oauth";
5176
+ status: _metorial_subspace_db.ProviderAuthCredentialsStatus;
4908
5177
  isEphemeral: boolean;
4909
5178
  isDefault: boolean;
4910
5179
  providerId: string;
@@ -4934,6 +5203,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
4934
5203
  object: string;
4935
5204
  }[] | null;
4936
5205
  specificationId: string;
5206
+ providerId: string;
4937
5207
  createdAt: Date;
4938
5208
  updatedAt: Date;
4939
5209
  };
@@ -4949,6 +5219,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
4949
5219
  description: string | null;
4950
5220
  metadata: unknown;
4951
5221
  providerId: string;
5222
+ specificationId: string;
4952
5223
  deployment: {
4953
5224
  object: string;
4954
5225
  id: string;
@@ -4983,7 +5254,6 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
4983
5254
  createdAt: Date;
4984
5255
  updatedAt: Date;
4985
5256
  } | null;
4986
- specificationId: string;
4987
5257
  createdAt: Date;
4988
5258
  updatedAt: Date;
4989
5259
  } | null;
@@ -5437,6 +5707,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
5437
5707
  object: string;
5438
5708
  }[] | null;
5439
5709
  specificationId: string;
5710
+ providerId: string;
5440
5711
  createdAt: Date;
5441
5712
  updatedAt: Date;
5442
5713
  };
@@ -5456,6 +5727,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
5456
5727
  object: string;
5457
5728
  id: string;
5458
5729
  type: "oauth";
5730
+ status: _metorial_subspace_db.ProviderAuthCredentialsStatus;
5459
5731
  isEphemeral: boolean;
5460
5732
  isDefault: boolean;
5461
5733
  providerId: string;
@@ -5470,16 +5742,30 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
5470
5742
  id: string;
5471
5743
  type: _metorial_subspace_db.ProviderAuthConfigType;
5472
5744
  source: _metorial_subspace_db.ProviderAuthConfigSource;
5745
+ status: _metorial_subspace_db.ProviderAuthConfigStatus;
5473
5746
  isEphemeral: boolean;
5474
5747
  isDefault: boolean;
5475
5748
  providerId: string;
5476
5749
  name: string | null;
5477
5750
  description: string | null;
5478
5751
  metadata: unknown;
5752
+ deploymentPreview: {
5753
+ object: string;
5754
+ id: string;
5755
+ isEphemeral: boolean;
5756
+ isDefault: boolean;
5757
+ name: string | null;
5758
+ description: string | null;
5759
+ metadata: unknown;
5760
+ providerId: string;
5761
+ createdAt: Date;
5762
+ updatedAt: Date;
5763
+ } | null;
5479
5764
  credentials: {
5480
5765
  object: string;
5481
5766
  id: string;
5482
5767
  type: "oauth";
5768
+ status: _metorial_subspace_db.ProviderAuthCredentialsStatus;
5483
5769
  isEphemeral: boolean;
5484
5770
  isDefault: boolean;
5485
5771
  providerId: string;
@@ -5509,6 +5795,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
5509
5795
  object: string;
5510
5796
  }[] | null;
5511
5797
  specificationId: string;
5798
+ providerId: string;
5512
5799
  createdAt: Date;
5513
5800
  updatedAt: Date;
5514
5801
  };
@@ -5524,6 +5811,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
5524
5811
  description: string | null;
5525
5812
  metadata: unknown;
5526
5813
  providerId: string;
5814
+ specificationId: string;
5527
5815
  deployment: {
5528
5816
  object: string;
5529
5817
  id: string;
@@ -5558,7 +5846,6 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
5558
5846
  createdAt: Date;
5559
5847
  updatedAt: Date;
5560
5848
  } | null;
5561
- specificationId: string;
5562
5849
  createdAt: Date;
5563
5850
  updatedAt: Date;
5564
5851
  } | null;
@@ -5648,6 +5935,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
5648
5935
  object: string;
5649
5936
  }[] | null;
5650
5937
  specificationId: string;
5938
+ providerId: string;
5651
5939
  createdAt: Date;
5652
5940
  updatedAt: Date;
5653
5941
  };
@@ -5667,6 +5955,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
5667
5955
  object: string;
5668
5956
  id: string;
5669
5957
  type: "oauth";
5958
+ status: _metorial_subspace_db.ProviderAuthCredentialsStatus;
5670
5959
  isEphemeral: boolean;
5671
5960
  isDefault: boolean;
5672
5961
  providerId: string;
@@ -5681,16 +5970,30 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
5681
5970
  id: string;
5682
5971
  type: _metorial_subspace_db.ProviderAuthConfigType;
5683
5972
  source: _metorial_subspace_db.ProviderAuthConfigSource;
5973
+ status: _metorial_subspace_db.ProviderAuthConfigStatus;
5684
5974
  isEphemeral: boolean;
5685
5975
  isDefault: boolean;
5686
5976
  providerId: string;
5687
5977
  name: string | null;
5688
5978
  description: string | null;
5689
5979
  metadata: unknown;
5980
+ deploymentPreview: {
5981
+ object: string;
5982
+ id: string;
5983
+ isEphemeral: boolean;
5984
+ isDefault: boolean;
5985
+ name: string | null;
5986
+ description: string | null;
5987
+ metadata: unknown;
5988
+ providerId: string;
5989
+ createdAt: Date;
5990
+ updatedAt: Date;
5991
+ } | null;
5690
5992
  credentials: {
5691
5993
  object: string;
5692
5994
  id: string;
5693
5995
  type: "oauth";
5996
+ status: _metorial_subspace_db.ProviderAuthCredentialsStatus;
5694
5997
  isEphemeral: boolean;
5695
5998
  isDefault: boolean;
5696
5999
  providerId: string;
@@ -5720,6 +6023,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
5720
6023
  object: string;
5721
6024
  }[] | null;
5722
6025
  specificationId: string;
6026
+ providerId: string;
5723
6027
  createdAt: Date;
5724
6028
  updatedAt: Date;
5725
6029
  };
@@ -5735,6 +6039,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
5735
6039
  description: string | null;
5736
6040
  metadata: unknown;
5737
6041
  providerId: string;
6042
+ specificationId: string;
5738
6043
  deployment: {
5739
6044
  object: string;
5740
6045
  id: string;
@@ -5769,7 +6074,6 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
5769
6074
  createdAt: Date;
5770
6075
  updatedAt: Date;
5771
6076
  } | null;
5772
- specificationId: string;
5773
6077
  createdAt: Date;
5774
6078
  updatedAt: Date;
5775
6079
  } | null;
@@ -7094,6 +7398,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
7094
7398
  description: string | null;
7095
7399
  metadata: unknown;
7096
7400
  providerId: string;
7401
+ specificationId: string;
7097
7402
  deployment: {
7098
7403
  object: string;
7099
7404
  id: string;
@@ -7128,7 +7433,6 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
7128
7433
  createdAt: Date;
7129
7434
  updatedAt: Date;
7130
7435
  } | null;
7131
- specificationId: string;
7132
7436
  createdAt: Date;
7133
7437
  updatedAt: Date;
7134
7438
  }[];
@@ -7251,6 +7555,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
7251
7555
  description: string | null;
7252
7556
  metadata: unknown;
7253
7557
  providerId: string;
7558
+ specificationId: string;
7254
7559
  deployment: {
7255
7560
  object: string;
7256
7561
  id: string;
@@ -7285,7 +7590,6 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
7285
7590
  createdAt: Date;
7286
7591
  updatedAt: Date;
7287
7592
  } | null;
7288
- specificationId: string;
7289
7593
  createdAt: Date;
7290
7594
  updatedAt: Date;
7291
7595
  }, {
@@ -7477,6 +7781,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
7477
7781
  description: string | null;
7478
7782
  metadata: unknown;
7479
7783
  providerId: string;
7784
+ specificationId: string;
7480
7785
  deployment: {
7481
7786
  object: string;
7482
7787
  id: string;
@@ -7511,7 +7816,6 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
7511
7816
  createdAt: Date;
7512
7817
  updatedAt: Date;
7513
7818
  } | null;
7514
- specificationId: string;
7515
7819
  createdAt: Date;
7516
7820
  updatedAt: Date;
7517
7821
  }, {
@@ -7574,6 +7878,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
7574
7878
  description: string | null;
7575
7879
  metadata: unknown;
7576
7880
  providerId: string;
7881
+ specificationId: string;
7577
7882
  deployment: {
7578
7883
  object: string;
7579
7884
  id: string;
@@ -7608,7 +7913,6 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
7608
7913
  createdAt: Date;
7609
7914
  updatedAt: Date;
7610
7915
  } | null;
7611
- specificationId: string;
7612
7916
  createdAt: Date;
7613
7917
  updatedAt: Date;
7614
7918
  }, {
@@ -8238,6 +8542,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
8238
8542
  id: string;
8239
8543
  tag: string;
8240
8544
  identifier: string;
8545
+ providerId: string;
8241
8546
  isCurrent: boolean;
8242
8547
  name: string;
8243
8548
  description: string | null;
@@ -8327,6 +8632,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
8327
8632
  id: string;
8328
8633
  tag: string;
8329
8634
  identifier: string;
8635
+ providerId: string;
8330
8636
  isCurrent: boolean;
8331
8637
  name: string;
8332
8638
  description: string | null;
@@ -8563,6 +8869,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
8563
8869
  id: string;
8564
8870
  tag: string;
8565
8871
  identifier: string;
8872
+ providerId: string;
8566
8873
  isCurrent: boolean;
8567
8874
  name: string;
8568
8875
  description: string | null;
@@ -8650,6 +8957,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
8650
8957
  id: string;
8651
8958
  tag: string;
8652
8959
  identifier: string;
8960
+ providerId: string;
8653
8961
  isCurrent: boolean;
8654
8962
  name: string;
8655
8963
  description: string | null;
@@ -8930,6 +9238,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
8930
9238
  id: string;
8931
9239
  tag: string;
8932
9240
  identifier: string;
9241
+ providerId: string;
8933
9242
  isDefault: boolean;
8934
9243
  name: string;
8935
9244
  description: string | null;
@@ -8939,6 +9248,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
8939
9248
  id: string;
8940
9249
  tag: string;
8941
9250
  identifier: string;
9251
+ providerId: string;
8942
9252
  isCurrent: boolean;
8943
9253
  name: string;
8944
9254
  description: string | null;
@@ -8955,6 +9265,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
8955
9265
  id: string;
8956
9266
  tag: string;
8957
9267
  identifier: string;
9268
+ providerId: string;
8958
9269
  isCurrent: boolean;
8959
9270
  name: string;
8960
9271
  description: string | null;
@@ -9171,6 +9482,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
9171
9482
  id: string;
9172
9483
  tag: string;
9173
9484
  identifier: string;
9485
+ providerId: string;
9174
9486
  isDefault: boolean;
9175
9487
  name: string;
9176
9488
  description: string | null;
@@ -9180,6 +9492,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
9180
9492
  id: string;
9181
9493
  tag: string;
9182
9494
  identifier: string;
9495
+ providerId: string;
9183
9496
  isCurrent: boolean;
9184
9497
  name: string;
9185
9498
  description: string | null;
@@ -9196,6 +9509,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
9196
9509
  id: string;
9197
9510
  tag: string;
9198
9511
  identifier: string;
9512
+ providerId: string;
9199
9513
  isCurrent: boolean;
9200
9514
  name: string;
9201
9515
  description: string | null;
@@ -9890,60 +10204,12 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
9890
10204
  metadata: unknown;
9891
10205
  redirectUrl: string | null;
9892
10206
  url: string | null;
9893
- authConfig: {
9894
- object: string;
9895
- id: string;
9896
- type: _metorial_subspace_db.ProviderAuthConfigType;
9897
- source: _metorial_subspace_db.ProviderAuthConfigSource;
9898
- isEphemeral: boolean;
9899
- isDefault: boolean;
9900
- providerId: string;
9901
- name: string | null;
9902
- description: string | null;
9903
- metadata: unknown;
9904
- credentials: {
9905
- object: string;
9906
- id: string;
9907
- type: "oauth";
9908
- isEphemeral: boolean;
9909
- isDefault: boolean;
9910
- providerId: string;
9911
- name: string | null;
9912
- description: string | null;
9913
- metadata: unknown;
9914
- createdAt: Date;
9915
- updatedAt: Date;
9916
- } | null;
9917
- authMethod: {
9918
- object: string;
9919
- id: string;
9920
- key: string;
9921
- type: _metorial_subspace_db.ProviderAuthMethodType;
9922
- name: string;
9923
- description: string | null;
9924
- capabilities: {
9925
- [key: string]: any;
9926
- };
9927
- inputJsonSchema: Record<string, any>;
9928
- outputJsonSchema: Record<string, any> | undefined;
9929
- scopes: {
9930
- scope: string;
9931
- id: string;
9932
- title: string;
9933
- description?: string;
9934
- object: string;
9935
- }[] | null;
9936
- specificationId: string;
9937
- createdAt: Date;
9938
- updatedAt: Date;
9939
- };
9940
- createdAt: Date;
9941
- updatedAt: Date;
9942
- } | null;
10207
+ authConfig: any;
9943
10208
  credentials: {
9944
10209
  object: string;
9945
10210
  id: string;
9946
10211
  type: "oauth";
10212
+ status: _metorial_subspace_db.ProviderAuthCredentialsStatus;
9947
10213
  isEphemeral: boolean;
9948
10214
  isDefault: boolean;
9949
10215
  providerId: string;
@@ -9973,6 +10239,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
9973
10239
  object: string;
9974
10240
  }[] | null;
9975
10241
  specificationId: string;
10242
+ providerId: string;
9976
10243
  createdAt: Date;
9977
10244
  updatedAt: Date;
9978
10245
  };
@@ -10054,60 +10321,12 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
10054
10321
  metadata: unknown;
10055
10322
  redirectUrl: string | null;
10056
10323
  url: string | null;
10057
- authConfig: {
10058
- object: string;
10059
- id: string;
10060
- type: _metorial_subspace_db.ProviderAuthConfigType;
10061
- source: _metorial_subspace_db.ProviderAuthConfigSource;
10062
- isEphemeral: boolean;
10063
- isDefault: boolean;
10064
- providerId: string;
10065
- name: string | null;
10066
- description: string | null;
10067
- metadata: unknown;
10068
- credentials: {
10069
- object: string;
10070
- id: string;
10071
- type: "oauth";
10072
- isEphemeral: boolean;
10073
- isDefault: boolean;
10074
- providerId: string;
10075
- name: string | null;
10076
- description: string | null;
10077
- metadata: unknown;
10078
- createdAt: Date;
10079
- updatedAt: Date;
10080
- } | null;
10081
- authMethod: {
10082
- object: string;
10083
- id: string;
10084
- key: string;
10085
- type: _metorial_subspace_db.ProviderAuthMethodType;
10086
- name: string;
10087
- description: string | null;
10088
- capabilities: {
10089
- [key: string]: any;
10090
- };
10091
- inputJsonSchema: Record<string, any>;
10092
- outputJsonSchema: Record<string, any> | undefined;
10093
- scopes: {
10094
- scope: string;
10095
- id: string;
10096
- title: string;
10097
- description?: string;
10098
- object: string;
10099
- }[] | null;
10100
- specificationId: string;
10101
- createdAt: Date;
10102
- updatedAt: Date;
10103
- };
10104
- createdAt: Date;
10105
- updatedAt: Date;
10106
- } | null;
10324
+ authConfig: any;
10107
10325
  credentials: {
10108
10326
  object: string;
10109
10327
  id: string;
10110
10328
  type: "oauth";
10329
+ status: _metorial_subspace_db.ProviderAuthCredentialsStatus;
10111
10330
  isEphemeral: boolean;
10112
10331
  isDefault: boolean;
10113
10332
  providerId: string;
@@ -10137,6 +10356,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
10137
10356
  object: string;
10138
10357
  }[] | null;
10139
10358
  specificationId: string;
10359
+ providerId: string;
10140
10360
  createdAt: Date;
10141
10361
  updatedAt: Date;
10142
10362
  };
@@ -10398,60 +10618,12 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
10398
10618
  metadata: unknown;
10399
10619
  redirectUrl: string | null;
10400
10620
  url: string | null;
10401
- authConfig: {
10402
- object: string;
10403
- id: string;
10404
- type: _metorial_subspace_db.ProviderAuthConfigType;
10405
- source: _metorial_subspace_db.ProviderAuthConfigSource;
10406
- isEphemeral: boolean;
10407
- isDefault: boolean;
10408
- providerId: string;
10409
- name: string | null;
10410
- description: string | null;
10411
- metadata: unknown;
10412
- credentials: {
10413
- object: string;
10414
- id: string;
10415
- type: "oauth";
10416
- isEphemeral: boolean;
10417
- isDefault: boolean;
10418
- providerId: string;
10419
- name: string | null;
10420
- description: string | null;
10421
- metadata: unknown;
10422
- createdAt: Date;
10423
- updatedAt: Date;
10424
- } | null;
10425
- authMethod: {
10426
- object: string;
10427
- id: string;
10428
- key: string;
10429
- type: _metorial_subspace_db.ProviderAuthMethodType;
10430
- name: string;
10431
- description: string | null;
10432
- capabilities: {
10433
- [key: string]: any;
10434
- };
10435
- inputJsonSchema: Record<string, any>;
10436
- outputJsonSchema: Record<string, any> | undefined;
10437
- scopes: {
10438
- scope: string;
10439
- id: string;
10440
- title: string;
10441
- description?: string;
10442
- object: string;
10443
- }[] | null;
10444
- specificationId: string;
10445
- createdAt: Date;
10446
- updatedAt: Date;
10447
- };
10448
- createdAt: Date;
10449
- updatedAt: Date;
10450
- } | null;
10621
+ authConfig: any;
10451
10622
  credentials: {
10452
10623
  object: string;
10453
10624
  id: string;
10454
10625
  type: "oauth";
10626
+ status: _metorial_subspace_db.ProviderAuthCredentialsStatus;
10455
10627
  isEphemeral: boolean;
10456
10628
  isDefault: boolean;
10457
10629
  providerId: string;
@@ -10481,6 +10653,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
10481
10653
  object: string;
10482
10654
  }[] | null;
10483
10655
  specificationId: string;
10656
+ providerId: string;
10484
10657
  createdAt: Date;
10485
10658
  updatedAt: Date;
10486
10659
  };
@@ -10560,60 +10733,12 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
10560
10733
  metadata: unknown;
10561
10734
  redirectUrl: string | null;
10562
10735
  url: string | null;
10563
- authConfig: {
10564
- object: string;
10565
- id: string;
10566
- type: _metorial_subspace_db.ProviderAuthConfigType;
10567
- source: _metorial_subspace_db.ProviderAuthConfigSource;
10568
- isEphemeral: boolean;
10569
- isDefault: boolean;
10570
- providerId: string;
10571
- name: string | null;
10572
- description: string | null;
10573
- metadata: unknown;
10574
- credentials: {
10575
- object: string;
10576
- id: string;
10577
- type: "oauth";
10578
- isEphemeral: boolean;
10579
- isDefault: boolean;
10580
- providerId: string;
10581
- name: string | null;
10582
- description: string | null;
10583
- metadata: unknown;
10584
- createdAt: Date;
10585
- updatedAt: Date;
10586
- } | null;
10587
- authMethod: {
10588
- object: string;
10589
- id: string;
10590
- key: string;
10591
- type: _metorial_subspace_db.ProviderAuthMethodType;
10592
- name: string;
10593
- description: string | null;
10594
- capabilities: {
10595
- [key: string]: any;
10596
- };
10597
- inputJsonSchema: Record<string, any>;
10598
- outputJsonSchema: Record<string, any> | undefined;
10599
- scopes: {
10600
- scope: string;
10601
- id: string;
10602
- title: string;
10603
- description?: string;
10604
- object: string;
10605
- }[] | null;
10606
- specificationId: string;
10607
- createdAt: Date;
10608
- updatedAt: Date;
10609
- };
10610
- createdAt: Date;
10611
- updatedAt: Date;
10612
- } | null;
10736
+ authConfig: any;
10613
10737
  credentials: {
10614
10738
  object: string;
10615
10739
  id: string;
10616
10740
  type: "oauth";
10741
+ status: _metorial_subspace_db.ProviderAuthCredentialsStatus;
10617
10742
  isEphemeral: boolean;
10618
10743
  isDefault: boolean;
10619
10744
  providerId: string;
@@ -10643,6 +10768,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
10643
10768
  object: string;
10644
10769
  }[] | null;
10645
10770
  specificationId: string;
10771
+ providerId: string;
10646
10772
  createdAt: Date;
10647
10773
  updatedAt: Date;
10648
10774
  };
@@ -10904,6 +11030,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
10904
11030
  key: string;
10905
11031
  name: string;
10906
11032
  description: string | null;
11033
+ providerId: string;
10907
11034
  configSchema: Record<string, any>;
10908
11035
  configVisibility: "encrypted" | "plain";
10909
11036
  tools: {
@@ -10924,6 +11051,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
10924
11051
  readOnly?: boolean | undefined;
10925
11052
  } | undefined;
10926
11053
  specificationId: string;
11054
+ providerId: string;
10927
11055
  createdAt: Date;
10928
11056
  updatedAt: Date;
10929
11057
  }[];
@@ -10947,6 +11075,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
10947
11075
  object: string;
10948
11076
  }[] | null;
10949
11077
  specificationId: string;
11078
+ providerId: string;
10950
11079
  createdAt: Date;
10951
11080
  updatedAt: Date;
10952
11081
  }[];
@@ -11020,6 +11149,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
11020
11149
  key: string;
11021
11150
  name: string;
11022
11151
  description: string | null;
11152
+ providerId: string;
11023
11153
  configSchema: Record<string, any>;
11024
11154
  configVisibility: "encrypted" | "plain";
11025
11155
  tools: {
@@ -11040,6 +11170,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
11040
11170
  readOnly?: boolean | undefined;
11041
11171
  } | undefined;
11042
11172
  specificationId: string;
11173
+ providerId: string;
11043
11174
  createdAt: Date;
11044
11175
  updatedAt: Date;
11045
11176
  }[];
@@ -11063,6 +11194,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
11063
11194
  object: string;
11064
11195
  }[] | null;
11065
11196
  specificationId: string;
11197
+ providerId: string;
11066
11198
  createdAt: Date;
11067
11199
  updatedAt: Date;
11068
11200
  }[];
@@ -11307,6 +11439,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
11307
11439
  readOnly?: boolean | undefined;
11308
11440
  } | undefined;
11309
11441
  specificationId: string;
11442
+ providerId: string;
11310
11443
  createdAt: Date;
11311
11444
  updatedAt: Date;
11312
11445
  }[];
@@ -11389,6 +11522,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
11389
11522
  readOnly?: boolean | undefined;
11390
11523
  } | undefined;
11391
11524
  specificationId: string;
11525
+ providerId: string;
11392
11526
  createdAt: Date;
11393
11527
  updatedAt: Date;
11394
11528
  }, {
@@ -11592,6 +11726,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
11592
11726
  id: string;
11593
11727
  tag: string;
11594
11728
  identifier: string;
11729
+ providerId: string;
11595
11730
  isDefault: boolean;
11596
11731
  name: string;
11597
11732
  description: string | null;
@@ -11601,6 +11736,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
11601
11736
  id: string;
11602
11737
  tag: string;
11603
11738
  identifier: string;
11739
+ providerId: string;
11604
11740
  isCurrent: boolean;
11605
11741
  name: string;
11606
11742
  description: string | null;
@@ -11678,6 +11814,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
11678
11814
  id: string;
11679
11815
  tag: string;
11680
11816
  identifier: string;
11817
+ providerId: string;
11681
11818
  isDefault: boolean;
11682
11819
  name: string;
11683
11820
  description: string | null;
@@ -11687,6 +11824,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
11687
11824
  id: string;
11688
11825
  tag: string;
11689
11826
  identifier: string;
11827
+ providerId: string;
11690
11828
  isCurrent: boolean;
11691
11829
  name: string;
11692
11830
  description: string | null;
@@ -11998,6 +12136,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
11998
12136
  id: string;
11999
12137
  tag: string;
12000
12138
  identifier: string;
12139
+ providerId: string;
12001
12140
  isCurrent: boolean;
12002
12141
  name: string;
12003
12142
  description: string | null;
@@ -12072,6 +12211,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
12072
12211
  id: string;
12073
12212
  tag: string;
12074
12213
  identifier: string;
12214
+ providerId: string;
12075
12215
  isCurrent: boolean;
12076
12216
  name: string;
12077
12217
  description: string | null;
@@ -15537,6 +15677,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
15537
15677
  transport: _metorial_subspace_db.SessionConnectionTransport;
15538
15678
  sessionId: string;
15539
15679
  messageId: string;
15680
+ providerId: string;
15540
15681
  sessionProviderId: string | null;
15541
15682
  connectionId: string | null;
15542
15683
  providerRunId: string | null;
@@ -15558,6 +15699,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
15558
15699
  readOnly?: boolean | undefined;
15559
15700
  } | undefined;
15560
15701
  specificationId: string;
15702
+ providerId: string;
15561
15703
  createdAt: Date;
15562
15704
  updatedAt: Date;
15563
15705
  };
@@ -15871,6 +16013,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
15871
16013
  transport: _metorial_subspace_db.SessionConnectionTransport;
15872
16014
  sessionId: string;
15873
16015
  messageId: string;
16016
+ providerId: string;
15874
16017
  sessionProviderId: string | null;
15875
16018
  connectionId: string | null;
15876
16019
  providerRunId: string | null;
@@ -15892,6 +16035,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
15892
16035
  readOnly?: boolean | undefined;
15893
16036
  } | undefined;
15894
16037
  specificationId: string;
16038
+ providerId: string;
15895
16039
  createdAt: Date;
15896
16040
  updatedAt: Date;
15897
16041
  };
@@ -16940,6 +17084,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
16940
17084
  transport: _metorial_subspace_db.SessionConnectionTransport;
16941
17085
  sessionId: string;
16942
17086
  messageId: string;
17087
+ providerId: string;
16943
17088
  sessionProviderId: string | null;
16944
17089
  connectionId: string | null;
16945
17090
  providerRunId: string | null;
@@ -16961,6 +17106,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
16961
17106
  readOnly?: boolean | undefined;
16962
17107
  } | undefined;
16963
17108
  specificationId: string;
17109
+ providerId: string;
16964
17110
  createdAt: Date;
16965
17111
  updatedAt: Date;
16966
17112
  };
@@ -17177,6 +17323,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
17177
17323
  transport: _metorial_subspace_db.SessionConnectionTransport;
17178
17324
  sessionId: string;
17179
17325
  messageId: string;
17326
+ providerId: string;
17180
17327
  sessionProviderId: string | null;
17181
17328
  connectionId: string | null;
17182
17329
  providerRunId: string | null;
@@ -17198,6 +17345,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
17198
17345
  readOnly?: boolean | undefined;
17199
17346
  } | undefined;
17200
17347
  specificationId: string;
17348
+ providerId: string;
17201
17349
  createdAt: Date;
17202
17350
  updatedAt: Date;
17203
17351
  };
@@ -19637,6 +19785,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
19637
19785
  id: string;
19638
19786
  tag: string;
19639
19787
  identifier: string;
19788
+ providerId: string;
19640
19789
  isDefault: boolean;
19641
19790
  name: string;
19642
19791
  description: string | null;
@@ -19646,6 +19795,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
19646
19795
  id: string;
19647
19796
  tag: string;
19648
19797
  identifier: string;
19798
+ providerId: string;
19649
19799
  isCurrent: boolean;
19650
19800
  name: string;
19651
19801
  description: string | null;
@@ -19662,6 +19812,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
19662
19812
  id: string;
19663
19813
  tag: string;
19664
19814
  identifier: string;
19815
+ providerId: string;
19665
19816
  isCurrent: boolean;
19666
19817
  name: string;
19667
19818
  description: string | null;
@@ -19873,6 +20024,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
19873
20024
  id: string;
19874
20025
  tag: string;
19875
20026
  identifier: string;
20027
+ providerId: string;
19876
20028
  isDefault: boolean;
19877
20029
  name: string;
19878
20030
  description: string | null;
@@ -19882,6 +20034,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
19882
20034
  id: string;
19883
20035
  tag: string;
19884
20036
  identifier: string;
20037
+ providerId: string;
19885
20038
  isCurrent: boolean;
19886
20039
  name: string;
19887
20040
  description: string | null;
@@ -19898,6 +20051,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
19898
20051
  id: string;
19899
20052
  tag: string;
19900
20053
  identifier: string;
20054
+ providerId: string;
19901
20055
  isCurrent: boolean;
19902
20056
  name: string;
19903
20057
  description: string | null;
@@ -20370,6 +20524,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
20370
20524
  id: string;
20371
20525
  tag: string;
20372
20526
  identifier: string;
20527
+ providerId: string;
20373
20528
  isDefault: boolean;
20374
20529
  name: string;
20375
20530
  description: string | null;
@@ -20379,6 +20534,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
20379
20534
  id: string;
20380
20535
  tag: string;
20381
20536
  identifier: string;
20537
+ providerId: string;
20382
20538
  isCurrent: boolean;
20383
20539
  name: string;
20384
20540
  description: string | null;
@@ -20395,6 +20551,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
20395
20551
  id: string;
20396
20552
  tag: string;
20397
20553
  identifier: string;
20554
+ providerId: string;
20398
20555
  isCurrent: boolean;
20399
20556
  name: string;
20400
20557
  description: string | null;
@@ -20605,6 +20762,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
20605
20762
  id: string;
20606
20763
  tag: string;
20607
20764
  identifier: string;
20765
+ providerId: string;
20608
20766
  isDefault: boolean;
20609
20767
  name: string;
20610
20768
  description: string | null;
@@ -20614,6 +20772,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
20614
20772
  id: string;
20615
20773
  tag: string;
20616
20774
  identifier: string;
20775
+ providerId: string;
20617
20776
  isCurrent: boolean;
20618
20777
  name: string;
20619
20778
  description: string | null;
@@ -20630,6 +20789,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
20630
20789
  id: string;
20631
20790
  tag: string;
20632
20791
  identifier: string;
20792
+ providerId: string;
20633
20793
  isCurrent: boolean;
20634
20794
  name: string;
20635
20795
  description: string | null;