@robosystems/client 0.2.46 → 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.d.ts CHANGED
@@ -3771,6 +3771,12 @@ export type GraphSubscriptionResponse = {
3771
3771
  * Creation timestamp
3772
3772
  */
3773
3773
  created_at: string;
3774
+ /**
3775
+ * Operation Id
3776
+ *
3777
+ * Operation ID for tracking async tier changes via SSE
3778
+ */
3779
+ operation_id?: string | null;
3774
3780
  };
3775
3781
  /**
3776
3782
  * GraphSubscriptionTier
@@ -11108,22 +11114,22 @@ export type GetGraphSubscriptionResponses = {
11108
11114
  200: GraphSubscriptionResponse;
11109
11115
  };
11110
11116
  export type GetGraphSubscriptionResponse = GetGraphSubscriptionResponses[keyof GetGraphSubscriptionResponses];
11111
- export type ChangeRepositoryPlanData = {
11117
+ export type ChangeSubscriptionPlanData = {
11112
11118
  body: UpgradeSubscriptionRequest;
11113
11119
  path: {
11114
11120
  /**
11115
11121
  * Graph Id
11116
11122
  *
11117
- * Repository name (e.g., 'sec')
11123
+ * Graph ID or repository name
11118
11124
  */
11119
11125
  graph_id: string;
11120
11126
  };
11121
11127
  query?: never;
11122
11128
  url: '/v1/graphs/{graph_id}/subscriptions';
11123
11129
  };
11124
- export type ChangeRepositoryPlanErrors = {
11130
+ export type ChangeSubscriptionPlanErrors = {
11125
11131
  /**
11126
- * Invalid plan or not a repository subscription
11132
+ * Invalid plan, validation failure, or status conflict
11127
11133
  */
11128
11134
  400: unknown;
11129
11135
  /**
@@ -11135,14 +11141,14 @@ export type ChangeRepositoryPlanErrors = {
11135
11141
  */
11136
11142
  422: HttpValidationError;
11137
11143
  };
11138
- export type ChangeRepositoryPlanError = ChangeRepositoryPlanErrors[keyof ChangeRepositoryPlanErrors];
11139
- export type ChangeRepositoryPlanResponses = {
11144
+ export type ChangeSubscriptionPlanError = ChangeSubscriptionPlanErrors[keyof ChangeSubscriptionPlanErrors];
11145
+ export type ChangeSubscriptionPlanResponses = {
11140
11146
  /**
11141
11147
  * Plan changed successfully
11142
11148
  */
11143
11149
  200: GraphSubscriptionResponse;
11144
11150
  };
11145
- export type ChangeRepositoryPlanResponse = ChangeRepositoryPlanResponses[keyof ChangeRepositoryPlanResponses];
11151
+ export type ChangeSubscriptionPlanResponse = ChangeSubscriptionPlanResponses[keyof ChangeSubscriptionPlanResponses];
11146
11152
  export type CreateRepositorySubscriptionData = {
11147
11153
  body: CreateRepositorySubscriptionRequest;
11148
11154
  path: {
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
  /**
@@ -11702,13 +11708,13 @@ export type GetGraphSubscriptionResponses = {
11702
11708
 
11703
11709
  export type GetGraphSubscriptionResponse = GetGraphSubscriptionResponses[keyof GetGraphSubscriptionResponses];
11704
11710
 
11705
- export type ChangeRepositoryPlanData = {
11711
+ export type ChangeSubscriptionPlanData = {
11706
11712
  body: UpgradeSubscriptionRequest;
11707
11713
  path: {
11708
11714
  /**
11709
11715
  * Graph Id
11710
11716
  *
11711
- * Repository name (e.g., 'sec')
11717
+ * Graph ID or repository name
11712
11718
  */
11713
11719
  graph_id: string;
11714
11720
  };
@@ -11716,9 +11722,9 @@ export type ChangeRepositoryPlanData = {
11716
11722
  url: '/v1/graphs/{graph_id}/subscriptions';
11717
11723
  };
11718
11724
 
11719
- export type ChangeRepositoryPlanErrors = {
11725
+ export type ChangeSubscriptionPlanErrors = {
11720
11726
  /**
11721
- * Invalid plan or not a repository subscription
11727
+ * Invalid plan, validation failure, or status conflict
11722
11728
  */
11723
11729
  400: unknown;
11724
11730
  /**
@@ -11731,16 +11737,16 @@ export type ChangeRepositoryPlanErrors = {
11731
11737
  422: HttpValidationError;
11732
11738
  };
11733
11739
 
11734
- export type ChangeRepositoryPlanError = ChangeRepositoryPlanErrors[keyof ChangeRepositoryPlanErrors];
11740
+ export type ChangeSubscriptionPlanError = ChangeSubscriptionPlanErrors[keyof ChangeSubscriptionPlanErrors];
11735
11741
 
11736
- export type ChangeRepositoryPlanResponses = {
11742
+ export type ChangeSubscriptionPlanResponses = {
11737
11743
  /**
11738
11744
  * Plan changed successfully
11739
11745
  */
11740
11746
  200: GraphSubscriptionResponse;
11741
11747
  };
11742
11748
 
11743
- export type ChangeRepositoryPlanResponse = ChangeRepositoryPlanResponses[keyof ChangeRepositoryPlanResponses];
11749
+ export type ChangeSubscriptionPlanResponse = ChangeSubscriptionPlanResponses[keyof ChangeSubscriptionPlanResponses];
11744
11750
 
11745
11751
  export type CreateRepositorySubscriptionData = {
11746
11752
  body: CreateRepositorySubscriptionRequest;