@robosystems/client 0.2.12 → 0.2.13

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
@@ -813,27 +813,6 @@ export type BulkIngestResponse = {
813
813
  */
814
814
  results: Array<TableIngestResult>;
815
815
  };
816
- /**
817
- * CancellationResponse
818
- * Response for subscription cancellation.
819
- */
820
- export type CancellationResponse = {
821
- /**
822
- * Message
823
- * Cancellation confirmation message
824
- */
825
- message: string;
826
- /**
827
- * Subscription Id
828
- * ID of the cancelled subscription
829
- */
830
- subscription_id: string;
831
- /**
832
- * Cancelled At
833
- * Cancellation timestamp (ISO format)
834
- */
835
- cancelled_at: string;
836
- };
837
816
  /**
838
817
  * CheckoutResponse
839
818
  * Response from checkout session creation.
@@ -1223,7 +1202,7 @@ export type CreateSubgraphRequest = {
1223
1202
  * Schema Extensions
1224
1203
  * Schema extensions to include (inherits from parent by default)
1225
1204
  */
1226
- schema_extensions?: Array<string> | null;
1205
+ schema_extensions?: Array<string>;
1227
1206
  /**
1228
1207
  * Type of subgraph (currently only 'static' is supported)
1229
1208
  */
@@ -2199,6 +2178,11 @@ export type GraphSubscriptionResponse = {
2199
2178
  * Cancellation date
2200
2179
  */
2201
2180
  canceled_at?: string | null;
2181
+ /**
2182
+ * Ends At
2183
+ * Subscription end date (when access will be revoked, especially relevant for cancelled subscriptions)
2184
+ */
2185
+ ends_at?: string | null;
2202
2186
  /**
2203
2187
  * Created At
2204
2188
  * Creation timestamp
@@ -2817,6 +2801,11 @@ export type ListSubgraphsResponse = {
2817
2801
  * Parent graph tier
2818
2802
  */
2819
2803
  parent_graph_tier: string;
2804
+ /**
2805
+ * Subgraphs Enabled
2806
+ * Whether subgraphs are enabled for this tier (requires Kuzu Large/XLarge or Neo4j Enterprise XLarge)
2807
+ */
2808
+ subgraphs_enabled: boolean;
2820
2809
  /**
2821
2810
  * Subgraph Count
2822
2811
  * Total number of subgraphs
@@ -3500,6 +3489,17 @@ export type PlaidConnectionConfig = {
3500
3489
  [key: string]: unknown;
3501
3490
  }> | null;
3502
3491
  };
3492
+ /**
3493
+ * PortalSessionResponse
3494
+ * Response for customer portal session creation.
3495
+ */
3496
+ export type PortalSessionResponse = {
3497
+ /**
3498
+ * Portal Url
3499
+ * Stripe Customer Portal URL where user can manage payment methods
3500
+ */
3501
+ portal_url: string;
3502
+ };
3503
3503
  /**
3504
3504
  * QueryLimits
3505
3505
  * Query operation limits.
@@ -4568,32 +4568,6 @@ export type UpdatePasswordRequest = {
4568
4568
  */
4569
4569
  confirm_password: string;
4570
4570
  };
4571
- /**
4572
- * UpdatePaymentMethodRequest
4573
- * Request to update default payment method.
4574
- */
4575
- export type UpdatePaymentMethodRequest = {
4576
- /**
4577
- * Payment Method Id
4578
- * Payment method ID to set as default
4579
- */
4580
- payment_method_id: string;
4581
- };
4582
- /**
4583
- * UpdatePaymentMethodResponse
4584
- * Response for payment method update.
4585
- */
4586
- export type UpdatePaymentMethodResponse = {
4587
- /**
4588
- * Message
4589
- * Success message
4590
- */
4591
- message: string;
4592
- /**
4593
- * Updated payment method
4594
- */
4595
- payment_method: PaymentMethod;
4596
- };
4597
4571
  /**
4598
4572
  * UpdateUserRequest
4599
4573
  * Request model for updating user profile.
@@ -7270,40 +7244,6 @@ export type GetSubgraphQuotaResponses = {
7270
7244
  200: SubgraphQuotaResponse;
7271
7245
  };
7272
7246
  export type GetSubgraphQuotaResponse = GetSubgraphQuotaResponses[keyof GetSubgraphQuotaResponses];
7273
- export type CancelSubscriptionData = {
7274
- body?: never;
7275
- path: {
7276
- /**
7277
- * Graph Id
7278
- * Graph ID or repository name
7279
- */
7280
- graph_id: string;
7281
- };
7282
- query?: never;
7283
- url: '/v1/graphs/{graph_id}/subscriptions';
7284
- };
7285
- export type CancelSubscriptionErrors = {
7286
- /**
7287
- * Cannot cancel graph subscriptions directly
7288
- */
7289
- 400: unknown;
7290
- /**
7291
- * No subscription found
7292
- */
7293
- 404: unknown;
7294
- /**
7295
- * Validation Error
7296
- */
7297
- 422: HttpValidationError;
7298
- };
7299
- export type CancelSubscriptionError = CancelSubscriptionErrors[keyof CancelSubscriptionErrors];
7300
- export type CancelSubscriptionResponses = {
7301
- /**
7302
- * Subscription canceled successfully
7303
- */
7304
- 200: CancellationResponse;
7305
- };
7306
- export type CancelSubscriptionResponse = CancelSubscriptionResponses[keyof CancelSubscriptionResponses];
7307
7247
  export type GetGraphSubscriptionData = {
7308
7248
  body?: never;
7309
7249
  path: {
@@ -8094,8 +8034,8 @@ export type GetOrgBillingCustomerResponses = {
8094
8034
  200: BillingCustomer;
8095
8035
  };
8096
8036
  export type GetOrgBillingCustomerResponse = GetOrgBillingCustomerResponses[keyof GetOrgBillingCustomerResponses];
8097
- export type UpdateOrgPaymentMethodData = {
8098
- body: UpdatePaymentMethodRequest;
8037
+ export type CreatePortalSessionData = {
8038
+ body?: never;
8099
8039
  path: {
8100
8040
  /**
8101
8041
  * Org Id
@@ -8103,22 +8043,22 @@ export type UpdateOrgPaymentMethodData = {
8103
8043
  org_id: string;
8104
8044
  };
8105
8045
  query?: never;
8106
- url: '/v1/billing/customer/{org_id}/payment-method';
8046
+ url: '/v1/billing/customer/{org_id}/portal';
8107
8047
  };
8108
- export type UpdateOrgPaymentMethodErrors = {
8048
+ export type CreatePortalSessionErrors = {
8109
8049
  /**
8110
8050
  * Validation Error
8111
8051
  */
8112
8052
  422: HttpValidationError;
8113
8053
  };
8114
- export type UpdateOrgPaymentMethodError = UpdateOrgPaymentMethodErrors[keyof UpdateOrgPaymentMethodErrors];
8115
- export type UpdateOrgPaymentMethodResponses = {
8054
+ export type CreatePortalSessionError = CreatePortalSessionErrors[keyof CreatePortalSessionErrors];
8055
+ export type CreatePortalSessionResponses = {
8116
8056
  /**
8117
8057
  * Successful Response
8118
8058
  */
8119
- 200: UpdatePaymentMethodResponse;
8059
+ 200: PortalSessionResponse;
8120
8060
  };
8121
- export type UpdateOrgPaymentMethodResponse = UpdateOrgPaymentMethodResponses[keyof UpdateOrgPaymentMethodResponses];
8061
+ export type CreatePortalSessionResponse = CreatePortalSessionResponses[keyof CreatePortalSessionResponses];
8122
8062
  export type ListOrgSubscriptionsData = {
8123
8063
  body?: never;
8124
8064
  path: {
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
@@ -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.
@@ -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;