@robosystems/client 0.1.14 → 0.1.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/types.gen.d.ts CHANGED
@@ -682,7 +682,7 @@ export type CreateGraphRequest = {
682
682
  * Tags
683
683
  * Optional tags for organization
684
684
  */
685
- tags?: Array<string> | null;
685
+ tags?: Array<string>;
686
686
  };
687
687
  /**
688
688
  * CreditCheckRequest
@@ -1705,10 +1705,10 @@ export type RegisterRequest = {
1705
1705
  */
1706
1706
  export type RepositoryCreditsResponse = {
1707
1707
  /**
1708
- * Repository Type
1709
- * Repository type
1708
+ * Repository
1709
+ * Repository identifier
1710
1710
  */
1711
- repository_type: string;
1711
+ repository: string;
1712
1712
  /**
1713
1713
  * Has Access
1714
1714
  * Whether user has access
@@ -2010,16 +2010,6 @@ export type SubscriptionInfo = {
2010
2010
  * Whether subscription is active
2011
2011
  */
2012
2012
  is_active: boolean;
2013
- /**
2014
- * Is Trial
2015
- * Whether this is a trial subscription
2016
- */
2017
- is_trial: boolean;
2018
- /**
2019
- * Trial Ends At
2020
- * Trial expiration date (ISO format)
2021
- */
2022
- trial_ends_at?: string | null;
2023
2013
  /**
2024
2014
  * Activated At
2025
2015
  * Activation date (ISO format)
@@ -2061,11 +2051,6 @@ export type SubscriptionRequest = {
2061
2051
  * Repository plan
2062
2052
  */
2063
2053
  repository_plan?: RepositoryPlan;
2064
- /**
2065
- * Is Trial
2066
- * Start with trial period
2067
- */
2068
- is_trial?: boolean;
2069
2054
  };
2070
2055
  /**
2071
2056
  * SubscriptionResponse
@@ -2081,11 +2066,6 @@ export type SubscriptionResponse = {
2081
2066
  * Created subscription details
2082
2067
  */
2083
2068
  subscription: SubscriptionInfo;
2084
- /**
2085
- * Trial Period
2086
- * Trial period in days
2087
- */
2088
- trial_period: number;
2089
2069
  };
2090
2070
  /**
2091
2071
  * SuccessResponse
@@ -2802,22 +2782,6 @@ export type GetServiceStatusResponses = {
2802
2782
  200: HealthStatus;
2803
2783
  };
2804
2784
  export type GetServiceStatusResponse = GetServiceStatusResponses[keyof GetServiceStatusResponses];
2805
- export type GetMcpHealthData = {
2806
- body?: never;
2807
- path?: never;
2808
- query?: never;
2809
- url: '/v1/mcp/health';
2810
- };
2811
- export type GetMcpHealthResponses = {
2812
- /**
2813
- * Response Getmcphealth
2814
- * Successful Response
2815
- */
2816
- 200: {
2817
- [key: string]: unknown;
2818
- };
2819
- };
2820
- export type GetMcpHealthResponse = GetMcpHealthResponses[keyof GetMcpHealthResponses];
2821
2785
  export type GetCurrentUserData = {
2822
2786
  body?: never;
2823
2787
  headers?: {
@@ -2911,7 +2875,7 @@ export type SelectUserGraphData = {
2911
2875
  graph_id: string;
2912
2876
  };
2913
2877
  query?: never;
2914
- url: '/v1/user/graphs/select/{graph_id}';
2878
+ url: '/v1/user/graphs/{graph_id}/select';
2915
2879
  };
2916
2880
  export type SelectUserGraphErrors = {
2917
2881
  /**
@@ -3188,6 +3152,70 @@ export type GetUserUsageResponses = {
3188
3152
  200: UserUsageResponse;
3189
3153
  };
3190
3154
  export type GetUserUsageResponse = GetUserUsageResponses[keyof GetUserUsageResponses];
3155
+ export type GetSharedRepositoryLimitsData = {
3156
+ body?: never;
3157
+ headers?: {
3158
+ /**
3159
+ * Authorization
3160
+ */
3161
+ authorization?: string | null;
3162
+ };
3163
+ path: {
3164
+ /**
3165
+ * Repository
3166
+ * Repository name (e.g., 'sec')
3167
+ */
3168
+ repository: string;
3169
+ };
3170
+ query?: never;
3171
+ url: '/v1/user/limits/shared-repositories/{repository}';
3172
+ };
3173
+ export type GetSharedRepositoryLimitsErrors = {
3174
+ /**
3175
+ * Validation Error
3176
+ */
3177
+ 422: HttpValidationError;
3178
+ };
3179
+ export type GetSharedRepositoryLimitsError = GetSharedRepositoryLimitsErrors[keyof GetSharedRepositoryLimitsErrors];
3180
+ export type GetSharedRepositoryLimitsResponses = {
3181
+ /**
3182
+ * Response Getsharedrepositorylimits
3183
+ * Successful Response
3184
+ */
3185
+ 200: {
3186
+ [key: string]: unknown;
3187
+ };
3188
+ };
3189
+ export type GetSharedRepositoryLimitsResponse = GetSharedRepositoryLimitsResponses[keyof GetSharedRepositoryLimitsResponses];
3190
+ export type GetAllSharedRepositoryLimitsData = {
3191
+ body?: never;
3192
+ headers?: {
3193
+ /**
3194
+ * Authorization
3195
+ */
3196
+ authorization?: string | null;
3197
+ };
3198
+ path?: never;
3199
+ query?: never;
3200
+ url: '/v1/user/limits/shared-repositories/summary';
3201
+ };
3202
+ export type GetAllSharedRepositoryLimitsErrors = {
3203
+ /**
3204
+ * Validation Error
3205
+ */
3206
+ 422: HttpValidationError;
3207
+ };
3208
+ export type GetAllSharedRepositoryLimitsError = GetAllSharedRepositoryLimitsErrors[keyof GetAllSharedRepositoryLimitsErrors];
3209
+ export type GetAllSharedRepositoryLimitsResponses = {
3210
+ /**
3211
+ * Response Getallsharedrepositorylimits
3212
+ * Successful Response
3213
+ */
3214
+ 200: {
3215
+ [key: string]: unknown;
3216
+ };
3217
+ };
3218
+ export type GetAllSharedRepositoryLimitsResponse = GetAllSharedRepositoryLimitsResponses[keyof GetAllSharedRepositoryLimitsResponses];
3191
3219
  export type GetUserUsageOverviewData = {
3192
3220
  body?: never;
3193
3221
  headers?: {
@@ -3462,12 +3490,12 @@ export type GetRepositoryCreditsData = {
3462
3490
  };
3463
3491
  path: {
3464
3492
  /**
3465
- * Repository Type
3493
+ * Repository
3466
3494
  */
3467
- repository_type: string;
3495
+ repository: string;
3468
3496
  };
3469
3497
  query?: never;
3470
- url: '/v1/user/subscriptions/shared-repositories/credits/{repository_type}';
3498
+ url: '/v1/user/subscriptions/shared-repositories/credits/{repository}';
3471
3499
  };
3472
3500
  export type GetRepositoryCreditsErrors = {
3473
3501
  /**
@@ -3606,10 +3634,6 @@ export type CreateConnectionErrors = {
3606
3634
  * Invalid connection configuration
3607
3635
  */
3608
3636
  400: ErrorResponse;
3609
- /**
3610
- * Insufficient credits
3611
- */
3612
- 402: ErrorResponse;
3613
3637
  /**
3614
3638
  * Access denied - admin role required
3615
3639
  */
@@ -3659,10 +3683,6 @@ export type DeleteConnectionData = {
3659
3683
  url: '/v1/{graph_id}/connections/{connection_id}';
3660
3684
  };
3661
3685
  export type DeleteConnectionErrors = {
3662
- /**
3663
- * Insufficient credits
3664
- */
3665
- 402: ErrorResponse;
3666
3686
  /**
3667
3687
  * Access denied - admin role required
3668
3688
  */
@@ -3761,10 +3781,6 @@ export type SyncConnectionData = {
3761
3781
  url: '/v1/{graph_id}/connections/{connection_id}/sync';
3762
3782
  };
3763
3783
  export type SyncConnectionErrors = {
3764
- /**
3765
- * Insufficient credits
3766
- */
3767
- 402: ErrorResponse;
3768
3784
  /**
3769
3785
  * Access denied - admin role required
3770
3786
  */
@@ -4147,10 +4163,6 @@ export type CreateBackupErrors = {
4147
4163
  * Invalid backup configuration
4148
4164
  */
4149
4165
  400: ErrorResponse;
4150
- /**
4151
- * Insufficient credits
4152
- */
4153
- 402: ErrorResponse;
4154
4166
  /**
4155
4167
  * Access denied - admin role required
4156
4168
  */
@@ -4231,10 +4243,6 @@ export type ExportBackupData = {
4231
4243
  url: '/v1/{graph_id}/backup/export';
4232
4244
  };
4233
4245
  export type ExportBackupErrors = {
4234
- /**
4235
- * Insufficient credits for backup export
4236
- */
4237
- 402: unknown;
4238
4246
  /**
4239
4247
  * Access denied or backup is encrypted
4240
4248
  */
@@ -4278,10 +4286,6 @@ export type RestoreBackupErrors = {
4278
4286
  * Invalid restore configuration
4279
4287
  */
4280
4288
  400: ErrorResponse;
4281
- /**
4282
- * Insufficient credits
4283
- */
4284
- 402: ErrorResponse;
4285
4289
  /**
4286
4290
  * Access denied - admin role required
4287
4291
  */
@@ -4394,7 +4398,7 @@ export type GetBackupDownloadUrlData = {
4394
4398
  */
4395
4399
  expires_in?: number;
4396
4400
  };
4397
- url: '/v1/{graph_id}/backup/{backup_id}/download-url';
4401
+ url: '/v1/{graph_id}/backup/{backup_id}/download';
4398
4402
  };
4399
4403
  export type GetBackupDownloadUrlErrors = {
4400
4404
  /**
@@ -4444,10 +4448,6 @@ export type GetGraphMetricsData = {
4444
4448
  url: '/v1/{graph_id}/analytics';
4445
4449
  };
4446
4450
  export type GetGraphMetricsErrors = {
4447
- /**
4448
- * Insufficient credits
4449
- */
4450
- 402: ErrorResponse;
4451
4451
  /**
4452
4452
  * Access denied to graph
4453
4453
  */
@@ -4498,10 +4498,6 @@ export type GetGraphUsageStatsData = {
4498
4498
  url: '/v1/{graph_id}/analytics/usage';
4499
4499
  };
4500
4500
  export type GetGraphUsageStatsErrors = {
4501
- /**
4502
- * Insufficient credits
4503
- */
4504
- 402: ErrorResponse;
4505
4501
  /**
4506
4502
  * Access denied to graph
4507
4503
  */
@@ -4562,10 +4558,6 @@ export type ExecuteCypherQueryErrors = {
4562
4558
  * Invalid query or parameters
4563
4559
  */
4564
4560
  400: unknown;
4565
- /**
4566
- * Insufficient credits
4567
- */
4568
- 402: unknown;
4569
4561
  /**
4570
4562
  * Access denied
4571
4563
  */
@@ -4621,10 +4613,6 @@ export type GetGraphSchemaInfoData = {
4621
4613
  url: '/v1/{graph_id}/schema/info';
4622
4614
  };
4623
4615
  export type GetGraphSchemaInfoErrors = {
4624
- /**
4625
- * Insufficient credits for schema query
4626
- */
4627
- 402: unknown;
4628
4616
  /**
4629
4617
  * Access denied to graph
4630
4618
  */
@@ -4675,10 +4663,6 @@ export type ValidateSchemaErrors = {
4675
4663
  * Invalid schema format
4676
4664
  */
4677
4665
  400: ErrorResponse;
4678
- /**
4679
- * Insufficient credits
4680
- */
4681
- 402: ErrorResponse;
4682
4666
  /**
4683
4667
  * Access denied to graph
4684
4668
  */
@@ -5532,7 +5516,7 @@ export type GetAvailableExtensionsData = {
5532
5516
  body?: never;
5533
5517
  path?: never;
5534
5518
  query?: never;
5535
- url: '/v1/create/graph/available-extensions';
5519
+ url: '/v1/create/graph/extensions';
5536
5520
  };
5537
5521
  export type GetAvailableExtensionsResponses = {
5538
5522
  /**
package/types.gen.ts CHANGED
@@ -707,7 +707,7 @@ export type CreateGraphRequest = {
707
707
  * Tags
708
708
  * Optional tags for organization
709
709
  */
710
- tags?: Array<string> | null;
710
+ tags?: Array<string>;
711
711
  };
712
712
 
713
713
  /**
@@ -1763,10 +1763,10 @@ export type RegisterRequest = {
1763
1763
  */
1764
1764
  export type RepositoryCreditsResponse = {
1765
1765
  /**
1766
- * Repository Type
1767
- * Repository type
1766
+ * Repository
1767
+ * Repository identifier
1768
1768
  */
1769
- repository_type: string;
1769
+ repository: string;
1770
1770
  /**
1771
1771
  * Has Access
1772
1772
  * Whether user has access
@@ -2082,16 +2082,6 @@ export type SubscriptionInfo = {
2082
2082
  * Whether subscription is active
2083
2083
  */
2084
2084
  is_active: boolean;
2085
- /**
2086
- * Is Trial
2087
- * Whether this is a trial subscription
2088
- */
2089
- is_trial: boolean;
2090
- /**
2091
- * Trial Ends At
2092
- * Trial expiration date (ISO format)
2093
- */
2094
- trial_ends_at?: string | null;
2095
2085
  /**
2096
2086
  * Activated At
2097
2087
  * Activation date (ISO format)
@@ -2134,11 +2124,6 @@ export type SubscriptionRequest = {
2134
2124
  * Repository plan
2135
2125
  */
2136
2126
  repository_plan?: RepositoryPlan;
2137
- /**
2138
- * Is Trial
2139
- * Start with trial period
2140
- */
2141
- is_trial?: boolean;
2142
2127
  };
2143
2128
 
2144
2129
  /**
@@ -2155,11 +2140,6 @@ export type SubscriptionResponse = {
2155
2140
  * Created subscription details
2156
2141
  */
2157
2142
  subscription: SubscriptionInfo;
2158
- /**
2159
- * Trial Period
2160
- * Trial period in days
2161
- */
2162
- trial_period: number;
2163
2143
  };
2164
2144
 
2165
2145
  /**
@@ -2952,25 +2932,6 @@ export type GetServiceStatusResponses = {
2952
2932
 
2953
2933
  export type GetServiceStatusResponse = GetServiceStatusResponses[keyof GetServiceStatusResponses];
2954
2934
 
2955
- export type GetMcpHealthData = {
2956
- body?: never;
2957
- path?: never;
2958
- query?: never;
2959
- url: '/v1/mcp/health';
2960
- };
2961
-
2962
- export type GetMcpHealthResponses = {
2963
- /**
2964
- * Response Getmcphealth
2965
- * Successful Response
2966
- */
2967
- 200: {
2968
- [key: string]: unknown;
2969
- };
2970
- };
2971
-
2972
- export type GetMcpHealthResponse = GetMcpHealthResponses[keyof GetMcpHealthResponses];
2973
-
2974
2935
  export type GetCurrentUserData = {
2975
2936
  body?: never;
2976
2937
  headers?: {
@@ -3079,7 +3040,7 @@ export type SelectUserGraphData = {
3079
3040
  graph_id: string;
3080
3041
  };
3081
3042
  query?: never;
3082
- url: '/v1/user/graphs/select/{graph_id}';
3043
+ url: '/v1/user/graphs/{graph_id}/select';
3083
3044
  };
3084
3045
 
3085
3046
  export type SelectUserGraphErrors = {
@@ -3401,6 +3362,80 @@ export type GetUserUsageResponses = {
3401
3362
 
3402
3363
  export type GetUserUsageResponse = GetUserUsageResponses[keyof GetUserUsageResponses];
3403
3364
 
3365
+ export type GetSharedRepositoryLimitsData = {
3366
+ body?: never;
3367
+ headers?: {
3368
+ /**
3369
+ * Authorization
3370
+ */
3371
+ authorization?: string | null;
3372
+ };
3373
+ path: {
3374
+ /**
3375
+ * Repository
3376
+ * Repository name (e.g., 'sec')
3377
+ */
3378
+ repository: string;
3379
+ };
3380
+ query?: never;
3381
+ url: '/v1/user/limits/shared-repositories/{repository}';
3382
+ };
3383
+
3384
+ export type GetSharedRepositoryLimitsErrors = {
3385
+ /**
3386
+ * Validation Error
3387
+ */
3388
+ 422: HttpValidationError;
3389
+ };
3390
+
3391
+ export type GetSharedRepositoryLimitsError = GetSharedRepositoryLimitsErrors[keyof GetSharedRepositoryLimitsErrors];
3392
+
3393
+ export type GetSharedRepositoryLimitsResponses = {
3394
+ /**
3395
+ * Response Getsharedrepositorylimits
3396
+ * Successful Response
3397
+ */
3398
+ 200: {
3399
+ [key: string]: unknown;
3400
+ };
3401
+ };
3402
+
3403
+ export type GetSharedRepositoryLimitsResponse = GetSharedRepositoryLimitsResponses[keyof GetSharedRepositoryLimitsResponses];
3404
+
3405
+ export type GetAllSharedRepositoryLimitsData = {
3406
+ body?: never;
3407
+ headers?: {
3408
+ /**
3409
+ * Authorization
3410
+ */
3411
+ authorization?: string | null;
3412
+ };
3413
+ path?: never;
3414
+ query?: never;
3415
+ url: '/v1/user/limits/shared-repositories/summary';
3416
+ };
3417
+
3418
+ export type GetAllSharedRepositoryLimitsErrors = {
3419
+ /**
3420
+ * Validation Error
3421
+ */
3422
+ 422: HttpValidationError;
3423
+ };
3424
+
3425
+ export type GetAllSharedRepositoryLimitsError = GetAllSharedRepositoryLimitsErrors[keyof GetAllSharedRepositoryLimitsErrors];
3426
+
3427
+ export type GetAllSharedRepositoryLimitsResponses = {
3428
+ /**
3429
+ * Response Getallsharedrepositorylimits
3430
+ * Successful Response
3431
+ */
3432
+ 200: {
3433
+ [key: string]: unknown;
3434
+ };
3435
+ };
3436
+
3437
+ export type GetAllSharedRepositoryLimitsResponse = GetAllSharedRepositoryLimitsResponses[keyof GetAllSharedRepositoryLimitsResponses];
3438
+
3404
3439
  export type GetUserUsageOverviewData = {
3405
3440
  body?: never;
3406
3441
  headers?: {
@@ -3709,12 +3744,12 @@ export type GetRepositoryCreditsData = {
3709
3744
  };
3710
3745
  path: {
3711
3746
  /**
3712
- * Repository Type
3747
+ * Repository
3713
3748
  */
3714
- repository_type: string;
3749
+ repository: string;
3715
3750
  };
3716
3751
  query?: never;
3717
- url: '/v1/user/subscriptions/shared-repositories/credits/{repository_type}';
3752
+ url: '/v1/user/subscriptions/shared-repositories/credits/{repository}';
3718
3753
  };
3719
3754
 
3720
3755
  export type GetRepositoryCreditsErrors = {
@@ -3869,10 +3904,6 @@ export type CreateConnectionErrors = {
3869
3904
  * Invalid connection configuration
3870
3905
  */
3871
3906
  400: ErrorResponse;
3872
- /**
3873
- * Insufficient credits
3874
- */
3875
- 402: ErrorResponse;
3876
3907
  /**
3877
3908
  * Access denied - admin role required
3878
3909
  */
@@ -3927,10 +3958,6 @@ export type DeleteConnectionData = {
3927
3958
  };
3928
3959
 
3929
3960
  export type DeleteConnectionErrors = {
3930
- /**
3931
- * Insufficient credits
3932
- */
3933
- 402: ErrorResponse;
3934
3961
  /**
3935
3962
  * Access denied - admin role required
3936
3963
  */
@@ -4039,10 +4066,6 @@ export type SyncConnectionData = {
4039
4066
  };
4040
4067
 
4041
4068
  export type SyncConnectionErrors = {
4042
- /**
4043
- * Insufficient credits
4044
- */
4045
- 402: ErrorResponse;
4046
4069
  /**
4047
4070
  * Access denied - admin role required
4048
4071
  */
@@ -4461,10 +4484,6 @@ export type CreateBackupErrors = {
4461
4484
  * Invalid backup configuration
4462
4485
  */
4463
4486
  400: ErrorResponse;
4464
- /**
4465
- * Insufficient credits
4466
- */
4467
- 402: ErrorResponse;
4468
4487
  /**
4469
4488
  * Access denied - admin role required
4470
4489
  */
@@ -4554,10 +4573,6 @@ export type ExportBackupData = {
4554
4573
  };
4555
4574
 
4556
4575
  export type ExportBackupErrors = {
4557
- /**
4558
- * Insufficient credits for backup export
4559
- */
4560
- 402: unknown;
4561
4576
  /**
4562
4577
  * Access denied or backup is encrypted
4563
4578
  */
@@ -4605,10 +4620,6 @@ export type RestoreBackupErrors = {
4605
4620
  * Invalid restore configuration
4606
4621
  */
4607
4622
  400: ErrorResponse;
4608
- /**
4609
- * Insufficient credits
4610
- */
4611
- 402: ErrorResponse;
4612
4623
  /**
4613
4624
  * Access denied - admin role required
4614
4625
  */
@@ -4734,7 +4745,7 @@ export type GetBackupDownloadUrlData = {
4734
4745
  */
4735
4746
  expires_in?: number;
4736
4747
  };
4737
- url: '/v1/{graph_id}/backup/{backup_id}/download-url';
4748
+ url: '/v1/{graph_id}/backup/{backup_id}/download';
4738
4749
  };
4739
4750
 
4740
4751
  export type GetBackupDownloadUrlErrors = {
@@ -4790,10 +4801,6 @@ export type GetGraphMetricsData = {
4790
4801
  };
4791
4802
 
4792
4803
  export type GetGraphMetricsErrors = {
4793
- /**
4794
- * Insufficient credits
4795
- */
4796
- 402: ErrorResponse;
4797
4804
  /**
4798
4805
  * Access denied to graph
4799
4806
  */
@@ -4849,10 +4856,6 @@ export type GetGraphUsageStatsData = {
4849
4856
  };
4850
4857
 
4851
4858
  export type GetGraphUsageStatsErrors = {
4852
- /**
4853
- * Insufficient credits
4854
- */
4855
- 402: ErrorResponse;
4856
4859
  /**
4857
4860
  * Access denied to graph
4858
4861
  */
@@ -4918,10 +4921,6 @@ export type ExecuteCypherQueryErrors = {
4918
4921
  * Invalid query or parameters
4919
4922
  */
4920
4923
  400: unknown;
4921
- /**
4922
- * Insufficient credits
4923
- */
4924
- 402: unknown;
4925
4924
  /**
4926
4925
  * Access denied
4927
4926
  */
@@ -4981,10 +4980,6 @@ export type GetGraphSchemaInfoData = {
4981
4980
  };
4982
4981
 
4983
4982
  export type GetGraphSchemaInfoErrors = {
4984
- /**
4985
- * Insufficient credits for schema query
4986
- */
4987
- 402: unknown;
4988
4983
  /**
4989
4984
  * Access denied to graph
4990
4985
  */
@@ -5040,10 +5035,6 @@ export type ValidateSchemaErrors = {
5040
5035
  * Invalid schema format
5041
5036
  */
5042
5037
  400: ErrorResponse;
5043
- /**
5044
- * Insufficient credits
5045
- */
5046
- 402: ErrorResponse;
5047
5038
  /**
5048
5039
  * Access denied to graph
5049
5040
  */
@@ -5990,7 +5981,7 @@ export type GetAvailableExtensionsData = {
5990
5981
  body?: never;
5991
5982
  path?: never;
5992
5983
  query?: never;
5993
- url: '/v1/create/graph/available-extensions';
5984
+ url: '/v1/create/graph/extensions';
5994
5985
  };
5995
5986
 
5996
5987
  export type GetAvailableExtensionsResponses = {