@robosystems/client 0.2.45 → 0.2.47

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.ts CHANGED
@@ -3874,6 +3874,12 @@ export type GraphSubscriptionResponse = {
3874
3874
  * Creation timestamp
3875
3875
  */
3876
3876
  created_at: string;
3877
+ /**
3878
+ * Operation Id
3879
+ *
3880
+ * Operation ID for tracking async tier changes via SSE
3881
+ */
3882
+ operation_id?: string | null;
3877
3883
  };
3878
3884
 
3879
3885
  /**
@@ -11206,7 +11212,7 @@ export type GetCreditSummaryData = {
11206
11212
  graph_id: string;
11207
11213
  };
11208
11214
  query?: never;
11209
- url: '/v1/graphs/{graph_id}/credits/summary';
11215
+ url: '/v1/graphs/{graph_id}/credits';
11210
11216
  };
11211
11217
 
11212
11218
  export type GetCreditSummaryErrors = {
@@ -11320,67 +11326,6 @@ export type ListCreditTransactionsResponses = {
11320
11326
 
11321
11327
  export type ListCreditTransactionsResponse = ListCreditTransactionsResponses[keyof ListCreditTransactionsResponses];
11322
11328
 
11323
- export type CheckCreditBalanceData = {
11324
- body?: never;
11325
- path: {
11326
- /**
11327
- * Graph Id
11328
- *
11329
- * Graph database identifier
11330
- */
11331
- graph_id: string;
11332
- };
11333
- query: {
11334
- /**
11335
- * Operation Type
11336
- *
11337
- * Type of operation to check
11338
- */
11339
- operation_type: string;
11340
- /**
11341
- * Base Cost
11342
- *
11343
- * Custom base cost (uses default if not provided)
11344
- */
11345
- base_cost?: number | string | null;
11346
- };
11347
- url: '/v1/graphs/{graph_id}/credits/balance/check';
11348
- };
11349
-
11350
- export type CheckCreditBalanceErrors = {
11351
- /**
11352
- * Access denied to graph
11353
- */
11354
- 403: ErrorResponse;
11355
- /**
11356
- * Credit pool not found
11357
- */
11358
- 404: ErrorResponse;
11359
- /**
11360
- * Validation Error
11361
- */
11362
- 422: HttpValidationError;
11363
- /**
11364
- * Credit check failed
11365
- */
11366
- 500: ErrorResponse;
11367
- };
11368
-
11369
- export type CheckCreditBalanceError = CheckCreditBalanceErrors[keyof CheckCreditBalanceErrors];
11370
-
11371
- export type CheckCreditBalanceResponses = {
11372
- /**
11373
- * Response Checkcreditbalance
11374
- *
11375
- * Credit check completed
11376
- */
11377
- 200: {
11378
- [key: string]: unknown;
11379
- };
11380
- };
11381
-
11382
- export type CheckCreditBalanceResponse = CheckCreditBalanceResponses[keyof CheckCreditBalanceResponses];
11383
-
11384
11329
  export type GetDatabaseHealthData = {
11385
11330
  body?: never;
11386
11331
  path: {
@@ -11763,13 +11708,13 @@ export type GetGraphSubscriptionResponses = {
11763
11708
 
11764
11709
  export type GetGraphSubscriptionResponse = GetGraphSubscriptionResponses[keyof GetGraphSubscriptionResponses];
11765
11710
 
11766
- export type ChangeRepositoryPlanData = {
11711
+ export type ChangeSubscriptionPlanData = {
11767
11712
  body: UpgradeSubscriptionRequest;
11768
11713
  path: {
11769
11714
  /**
11770
11715
  * Graph Id
11771
11716
  *
11772
- * Repository name (e.g., 'sec')
11717
+ * Graph ID or repository name
11773
11718
  */
11774
11719
  graph_id: string;
11775
11720
  };
@@ -11777,9 +11722,9 @@ export type ChangeRepositoryPlanData = {
11777
11722
  url: '/v1/graphs/{graph_id}/subscriptions';
11778
11723
  };
11779
11724
 
11780
- export type ChangeRepositoryPlanErrors = {
11725
+ export type ChangeSubscriptionPlanErrors = {
11781
11726
  /**
11782
- * Invalid plan or not a repository subscription
11727
+ * Invalid plan, validation failure, or status conflict
11783
11728
  */
11784
11729
  400: unknown;
11785
11730
  /**
@@ -11792,16 +11737,16 @@ export type ChangeRepositoryPlanErrors = {
11792
11737
  422: HttpValidationError;
11793
11738
  };
11794
11739
 
11795
- export type ChangeRepositoryPlanError = ChangeRepositoryPlanErrors[keyof ChangeRepositoryPlanErrors];
11740
+ export type ChangeSubscriptionPlanError = ChangeSubscriptionPlanErrors[keyof ChangeSubscriptionPlanErrors];
11796
11741
 
11797
- export type ChangeRepositoryPlanResponses = {
11742
+ export type ChangeSubscriptionPlanResponses = {
11798
11743
  /**
11799
11744
  * Plan changed successfully
11800
11745
  */
11801
11746
  200: GraphSubscriptionResponse;
11802
11747
  };
11803
11748
 
11804
- export type ChangeRepositoryPlanResponse = ChangeRepositoryPlanResponses[keyof ChangeRepositoryPlanResponses];
11749
+ export type ChangeSubscriptionPlanResponse = ChangeSubscriptionPlanResponses[keyof ChangeSubscriptionPlanResponses];
11805
11750
 
11806
11751
  export type CreateRepositorySubscriptionData = {
11807
11752
  body: CreateRepositorySubscriptionRequest;
@@ -12244,7 +12189,7 @@ export type GetMaterializationStatusData = {
12244
12189
  graph_id: string;
12245
12190
  };
12246
12191
  query?: never;
12247
- url: '/v1/graphs/{graph_id}/materialize/status';
12192
+ url: '/v1/graphs/{graph_id}/materialize';
12248
12193
  };
12249
12194
 
12250
12195
  export type GetMaterializationStatusErrors = {