@robosystems/client 0.2.12 → 0.2.14

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
@@ -843,28 +843,6 @@ export type BulkIngestResponse = {
843
843
  results: Array<TableIngestResult>;
844
844
  };
845
845
 
846
- /**
847
- * CancellationResponse
848
- * Response for subscription cancellation.
849
- */
850
- export type CancellationResponse = {
851
- /**
852
- * Message
853
- * Cancellation confirmation message
854
- */
855
- message: string;
856
- /**
857
- * Subscription Id
858
- * ID of the cancelled subscription
859
- */
860
- subscription_id: string;
861
- /**
862
- * Cancelled At
863
- * Cancellation timestamp (ISO format)
864
- */
865
- cancelled_at: string;
866
- };
867
-
868
846
  /**
869
847
  * CheckoutResponse
870
848
  * Response from checkout session creation.
@@ -1267,7 +1245,7 @@ export type CreateSubgraphRequest = {
1267
1245
  * Schema Extensions
1268
1246
  * Schema extensions to include (inherits from parent by default)
1269
1247
  */
1270
- schema_extensions?: Array<string> | null;
1248
+ schema_extensions?: Array<string>;
1271
1249
  /**
1272
1250
  * Type of subgraph (currently only 'static' is supported)
1273
1251
  */
@@ -2269,6 +2247,11 @@ export type GraphSubscriptionResponse = {
2269
2247
  * Cancellation date
2270
2248
  */
2271
2249
  canceled_at?: string | null;
2250
+ /**
2251
+ * Ends At
2252
+ * Subscription end date (when access will be revoked, especially relevant for cancelled subscriptions)
2253
+ */
2254
+ ends_at?: string | null;
2272
2255
  /**
2273
2256
  * Created At
2274
2257
  * Creation timestamp
@@ -2904,6 +2887,11 @@ export type ListSubgraphsResponse = {
2904
2887
  * Parent graph tier
2905
2888
  */
2906
2889
  parent_graph_tier: string;
2890
+ /**
2891
+ * Subgraphs Enabled
2892
+ * Whether subgraphs are enabled for this tier (requires Kuzu Large/XLarge or Neo4j Enterprise XLarge)
2893
+ */
2894
+ subgraphs_enabled: boolean;
2907
2895
  /**
2908
2896
  * Subgraph Count
2909
2897
  * Total number of subgraphs
@@ -3521,17 +3509,17 @@ export type PaymentMethod = {
3521
3509
  brand?: string | null;
3522
3510
  /**
3523
3511
  * Last4
3524
- * Last 4 digits
3512
+ * Last 4 digits of the card or account number
3525
3513
  */
3526
3514
  last4?: string | null;
3527
3515
  /**
3528
3516
  * Exp Month
3529
- * Expiration month
3517
+ * Expiration month of the card
3530
3518
  */
3531
3519
  exp_month?: number | null;
3532
3520
  /**
3533
3521
  * Exp Year
3534
- * Expiration year
3522
+ * Expiration year of the card
3535
3523
  */
3536
3524
  exp_year?: number | null;
3537
3525
  /**
@@ -3613,6 +3601,18 @@ export type PlaidConnectionConfig = {
3613
3601
  }> | null;
3614
3602
  };
3615
3603
 
3604
+ /**
3605
+ * PortalSessionResponse
3606
+ * Response for customer portal session creation.
3607
+ */
3608
+ export type PortalSessionResponse = {
3609
+ /**
3610
+ * Portal Url
3611
+ * Stripe Customer Portal URL where user can manage payment methods
3612
+ */
3613
+ portal_url: string;
3614
+ };
3615
+
3616
3616
  /**
3617
3617
  * QueryLimits
3618
3618
  * Query operation limits.
@@ -4724,34 +4724,6 @@ export type UpdatePasswordRequest = {
4724
4724
  confirm_password: string;
4725
4725
  };
4726
4726
 
4727
- /**
4728
- * UpdatePaymentMethodRequest
4729
- * Request to update default payment method.
4730
- */
4731
- export type UpdatePaymentMethodRequest = {
4732
- /**
4733
- * Payment Method Id
4734
- * Payment method ID to set as default
4735
- */
4736
- payment_method_id: string;
4737
- };
4738
-
4739
- /**
4740
- * UpdatePaymentMethodResponse
4741
- * Response for payment method update.
4742
- */
4743
- export type UpdatePaymentMethodResponse = {
4744
- /**
4745
- * Message
4746
- * Success message
4747
- */
4748
- message: string;
4749
- /**
4750
- * Updated payment method
4751
- */
4752
- payment_method: PaymentMethod;
4753
- };
4754
-
4755
4727
  /**
4756
4728
  * UpdateUserRequest
4757
4729
  * Request model for updating user profile.
@@ -7645,13 +7617,13 @@ export type DeleteSubgraphData = {
7645
7617
  */
7646
7618
  graph_id: string;
7647
7619
  /**
7648
- * Subgraph Id
7649
- * Subgraph identifier to delete
7620
+ * Subgraph Name
7621
+ * Subgraph name to delete (e.g., 'dev', 'staging')
7650
7622
  */
7651
- subgraph_id: string;
7623
+ subgraph_name: string;
7652
7624
  };
7653
7625
  query?: never;
7654
- url: '/v1/graphs/{graph_id}/subgraphs/{subgraph_id}';
7626
+ url: '/v1/graphs/{graph_id}/subgraphs/{subgraph_name}';
7655
7627
  };
7656
7628
 
7657
7629
  export type DeleteSubgraphErrors = {
@@ -7704,13 +7676,13 @@ export type GetSubgraphInfoData = {
7704
7676
  */
7705
7677
  graph_id: string;
7706
7678
  /**
7707
- * Subgraph Id
7708
- * Subgraph identifier
7679
+ * Subgraph Name
7680
+ * Subgraph name (e.g., 'dev', 'staging')
7709
7681
  */
7710
- subgraph_id: string;
7682
+ subgraph_name: string;
7711
7683
  };
7712
7684
  query?: never;
7713
- url: '/v1/graphs/{graph_id}/subgraphs/{subgraph_id}/info';
7685
+ url: '/v1/graphs/{graph_id}/subgraphs/{subgraph_name}/info';
7714
7686
  };
7715
7687
 
7716
7688
  export type GetSubgraphInfoErrors = {
@@ -7797,45 +7769,6 @@ export type GetSubgraphQuotaResponses = {
7797
7769
 
7798
7770
  export type GetSubgraphQuotaResponse = GetSubgraphQuotaResponses[keyof GetSubgraphQuotaResponses];
7799
7771
 
7800
- export type CancelSubscriptionData = {
7801
- body?: never;
7802
- path: {
7803
- /**
7804
- * Graph Id
7805
- * Graph ID or repository name
7806
- */
7807
- graph_id: string;
7808
- };
7809
- query?: never;
7810
- url: '/v1/graphs/{graph_id}/subscriptions';
7811
- };
7812
-
7813
- export type CancelSubscriptionErrors = {
7814
- /**
7815
- * Cannot cancel graph subscriptions directly
7816
- */
7817
- 400: unknown;
7818
- /**
7819
- * No subscription found
7820
- */
7821
- 404: unknown;
7822
- /**
7823
- * Validation Error
7824
- */
7825
- 422: HttpValidationError;
7826
- };
7827
-
7828
- export type CancelSubscriptionError = CancelSubscriptionErrors[keyof CancelSubscriptionErrors];
7829
-
7830
- export type CancelSubscriptionResponses = {
7831
- /**
7832
- * Subscription canceled successfully
7833
- */
7834
- 200: CancellationResponse;
7835
- };
7836
-
7837
- export type CancelSubscriptionResponse = CancelSubscriptionResponses[keyof CancelSubscriptionResponses];
7838
-
7839
7772
  export type GetGraphSubscriptionData = {
7840
7773
  body?: never;
7841
7774
  path: {
@@ -8727,8 +8660,8 @@ export type GetOrgBillingCustomerResponses = {
8727
8660
 
8728
8661
  export type GetOrgBillingCustomerResponse = GetOrgBillingCustomerResponses[keyof GetOrgBillingCustomerResponses];
8729
8662
 
8730
- export type UpdateOrgPaymentMethodData = {
8731
- body: UpdatePaymentMethodRequest;
8663
+ export type CreatePortalSessionData = {
8664
+ body?: never;
8732
8665
  path: {
8733
8666
  /**
8734
8667
  * Org Id
@@ -8736,26 +8669,26 @@ export type UpdateOrgPaymentMethodData = {
8736
8669
  org_id: string;
8737
8670
  };
8738
8671
  query?: never;
8739
- url: '/v1/billing/customer/{org_id}/payment-method';
8672
+ url: '/v1/billing/customer/{org_id}/portal';
8740
8673
  };
8741
8674
 
8742
- export type UpdateOrgPaymentMethodErrors = {
8675
+ export type CreatePortalSessionErrors = {
8743
8676
  /**
8744
8677
  * Validation Error
8745
8678
  */
8746
8679
  422: HttpValidationError;
8747
8680
  };
8748
8681
 
8749
- export type UpdateOrgPaymentMethodError = UpdateOrgPaymentMethodErrors[keyof UpdateOrgPaymentMethodErrors];
8682
+ export type CreatePortalSessionError = CreatePortalSessionErrors[keyof CreatePortalSessionErrors];
8750
8683
 
8751
- export type UpdateOrgPaymentMethodResponses = {
8684
+ export type CreatePortalSessionResponses = {
8752
8685
  /**
8753
8686
  * Successful Response
8754
8687
  */
8755
- 200: UpdatePaymentMethodResponse;
8688
+ 200: PortalSessionResponse;
8756
8689
  };
8757
8690
 
8758
- export type UpdateOrgPaymentMethodResponse = UpdateOrgPaymentMethodResponses[keyof UpdateOrgPaymentMethodResponses];
8691
+ export type CreatePortalSessionResponse = CreatePortalSessionResponses[keyof CreatePortalSessionResponses];
8759
8692
 
8760
8693
  export type ListOrgSubscriptionsData = {
8761
8694
  body?: never;