@robosystems/client 0.2.33 → 0.2.34

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
@@ -5632,7 +5632,7 @@ export type UpgradeSubscriptionRequest = {
5632
5632
  /**
5633
5633
  * New Plan Name
5634
5634
  *
5635
- * New plan name to upgrade to
5635
+ * New plan name to change to
5636
5636
  */
5637
5637
  new_plan_name: string;
5638
5638
  };
@@ -8749,13 +8749,13 @@ export type GetGraphSubscriptionResponses = {
8749
8749
 
8750
8750
  export type GetGraphSubscriptionResponse = GetGraphSubscriptionResponses[keyof GetGraphSubscriptionResponses];
8751
8751
 
8752
- export type CreateRepositorySubscriptionData = {
8753
- body: CreateRepositorySubscriptionRequest;
8752
+ export type ChangeRepositoryPlanData = {
8753
+ body: UpgradeSubscriptionRequest;
8754
8754
  path: {
8755
8755
  /**
8756
8756
  * Graph Id
8757
8757
  *
8758
- * Repository name (e.g., 'sec', 'industry')
8758
+ * Repository name (e.g., 'sec')
8759
8759
  */
8760
8760
  graph_id: string;
8761
8761
  };
@@ -8763,67 +8763,71 @@ export type CreateRepositorySubscriptionData = {
8763
8763
  url: '/v1/graphs/{graph_id}/subscriptions';
8764
8764
  };
8765
8765
 
8766
- export type CreateRepositorySubscriptionErrors = {
8766
+ export type ChangeRepositoryPlanErrors = {
8767
8767
  /**
8768
- * Invalid request - cannot create subscription for user graphs
8768
+ * Invalid plan or not a repository subscription
8769
8769
  */
8770
8770
  400: unknown;
8771
8771
  /**
8772
- * User already has a subscription to this repository
8772
+ * No subscription found
8773
8773
  */
8774
- 409: unknown;
8774
+ 404: unknown;
8775
8775
  /**
8776
8776
  * Validation Error
8777
8777
  */
8778
8778
  422: HttpValidationError;
8779
8779
  };
8780
8780
 
8781
- export type CreateRepositorySubscriptionError = CreateRepositorySubscriptionErrors[keyof CreateRepositorySubscriptionErrors];
8781
+ export type ChangeRepositoryPlanError = ChangeRepositoryPlanErrors[keyof ChangeRepositoryPlanErrors];
8782
8782
 
8783
- export type CreateRepositorySubscriptionResponses = {
8783
+ export type ChangeRepositoryPlanResponses = {
8784
8784
  /**
8785
- * Repository subscription created successfully
8785
+ * Plan changed successfully
8786
8786
  */
8787
- 201: GraphSubscriptionResponse;
8787
+ 200: GraphSubscriptionResponse;
8788
8788
  };
8789
8789
 
8790
- export type CreateRepositorySubscriptionResponse = CreateRepositorySubscriptionResponses[keyof CreateRepositorySubscriptionResponses];
8790
+ export type ChangeRepositoryPlanResponse = ChangeRepositoryPlanResponses[keyof ChangeRepositoryPlanResponses];
8791
8791
 
8792
- export type UpgradeSubscriptionData = {
8793
- body: UpgradeSubscriptionRequest;
8792
+ export type CreateRepositorySubscriptionData = {
8793
+ body: CreateRepositorySubscriptionRequest;
8794
8794
  path: {
8795
8795
  /**
8796
8796
  * Graph Id
8797
8797
  *
8798
- * Graph ID or repository name
8798
+ * Repository name (e.g., 'sec', 'industry')
8799
8799
  */
8800
8800
  graph_id: string;
8801
8801
  };
8802
8802
  query?: never;
8803
- url: '/v1/graphs/{graph_id}/subscriptions/upgrade';
8803
+ url: '/v1/graphs/{graph_id}/subscriptions';
8804
8804
  };
8805
8805
 
8806
- export type UpgradeSubscriptionErrors = {
8806
+ export type CreateRepositorySubscriptionErrors = {
8807
8807
  /**
8808
- * No subscription found
8808
+ * Invalid request - cannot create subscription for user graphs
8809
8809
  */
8810
- 404: unknown;
8810
+ 400: unknown;
8811
+ /**
8812
+ * User already has a subscription to this repository
8813
+ */
8814
+ 409: unknown;
8811
8815
  /**
8812
8816
  * Validation Error
8813
8817
  */
8814
8818
  422: HttpValidationError;
8815
8819
  };
8816
8820
 
8817
- export type UpgradeSubscriptionError = UpgradeSubscriptionErrors[keyof UpgradeSubscriptionErrors];
8821
+ export type CreateRepositorySubscriptionError = CreateRepositorySubscriptionErrors[keyof CreateRepositorySubscriptionErrors];
8818
8822
 
8819
- export type UpgradeSubscriptionResponses = {
8823
+ export type CreateRepositorySubscriptionResponses = {
8820
8824
  /**
8821
- * Subscription upgraded successfully
8825
+ * Repository subscription created successfully
8822
8826
  */
8823
- 200: GraphSubscriptionResponse;
8827
+ 201: GraphSubscriptionResponse;
8824
8828
  };
8825
8829
 
8826
- export type UpgradeSubscriptionResponse = UpgradeSubscriptionResponses[keyof UpgradeSubscriptionResponses];
8830
+ export type CreateRepositorySubscriptionResponse = CreateRepositorySubscriptionResponses[keyof CreateRepositorySubscriptionResponses];
8827
8831
 
8828
8832
  export type ListTablesData = {
8829
8833
  body?: never;