@robosystems/client 0.6.3 → 1.1.0

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/sdk/types.gen.ts CHANGED
@@ -4192,6 +4192,32 @@ export type DocumentDetailResponse = {
4192
4192
  updated_at: string;
4193
4193
  };
4194
4194
 
4195
+ /**
4196
+ * DocumentLimits
4197
+ *
4198
+ * Knowledge-base document usage against the tier's cap.
4199
+ */
4200
+ export type DocumentLimits = {
4201
+ /**
4202
+ * Current Count
4203
+ *
4204
+ * Uploaded documents currently stored for this graph
4205
+ */
4206
+ current_count: number;
4207
+ /**
4208
+ * Max Documents
4209
+ *
4210
+ * Maximum uploaded documents for this tier (null when uncapped)
4211
+ */
4212
+ max_documents?: number | null;
4213
+ /**
4214
+ * Approaching Limit
4215
+ *
4216
+ * Whether approaching document limit (>80%)
4217
+ */
4218
+ approaching_limit: boolean;
4219
+ };
4220
+
4195
4221
  /**
4196
4222
  * DocumentListItem
4197
4223
  *
@@ -6087,6 +6113,10 @@ export type GraphLimitsResponse = {
6087
6113
  * AI credit limits (if applicable)
6088
6114
  */
6089
6115
  credits?: CreditLimits | null;
6116
+ /**
6117
+ * Knowledge-base document usage and tier cap (user graphs only)
6118
+ */
6119
+ documents?: DocumentLimits | null;
6090
6120
  /**
6091
6121
  * Per-operation materialization limits (if applicable)
6092
6122
  */
package/sdk.gen.d.ts CHANGED
@@ -218,7 +218,7 @@ export declare const getOrgUsage: <ThrowOnError extends boolean = false>(options
218
218
  /**
219
219
  * Sync Connection
220
220
  *
221
- * SEC: downloads latest EDGAR filings (5-10 min). QuickBooks: fetches transactions, balances, and chart of accounts. Returns an `OperationEnvelope` — monitor progress via SSE at `/v1/operations/{operation_id}/stream`. Supports `Idempotency-Key`.
221
+ * SEC: downloads latest EDGAR filings (5-10 min). QuickBooks: fetches transactions, balances, and chart of accounts. Async — returns an `OperationEnvelope` with the provider task id; completion is reflected in the connection's `last_sync` timestamp. Supports `Idempotency-Key`.
222
222
  */
223
223
  export declare const syncConnection: <ThrowOnError extends boolean = false>(options: Options<SyncConnectionData, ThrowOnError>) => import("./client").RequestResult<SyncConnectionResponses, SyncConnectionErrors, ThrowOnError, "fields">;
224
224
  /**
@@ -376,7 +376,7 @@ export declare const getDatabaseInfo: <ThrowOnError extends boolean = false>(opt
376
376
  /**
377
377
  * Get Graph Operational Limits
378
378
  *
379
- * Limits vary by subscription tier (ladybug-standard, ladybug-large, ladybug-xlarge). Includes storage, query, backup, rate, credit, and instance usage limits.
379
+ * Limits vary by subscription tier (ladybug-standard, ladybug-large, ladybug-xlarge). Includes storage, query, backup, rate, credit, document, and instance usage limits.
380
380
  */
381
381
  export declare const getGraphLimits: <ThrowOnError extends boolean = false>(options: Options<GetGraphLimitsData, ThrowOnError>) => import("./client").RequestResult<GetGraphLimitsResponses, GetGraphLimitsErrors, ThrowOnError, "fields">;
382
382
  /**
package/sdk.gen.js CHANGED
@@ -413,7 +413,7 @@ exports.getOrgUsage = getOrgUsage;
413
413
  /**
414
414
  * Sync Connection
415
415
  *
416
- * SEC: downloads latest EDGAR filings (5-10 min). QuickBooks: fetches transactions, balances, and chart of accounts. Returns an `OperationEnvelope` — monitor progress via SSE at `/v1/operations/{operation_id}/stream`. Supports `Idempotency-Key`.
416
+ * SEC: downloads latest EDGAR filings (5-10 min). QuickBooks: fetches transactions, balances, and chart of accounts. Async — returns an `OperationEnvelope` with the provider task id; completion is reflected in the connection's `last_sync` timestamp. Supports `Idempotency-Key`.
417
417
  */
418
418
  const syncConnection = (options) => (options.client ?? client_gen_1.client).post({
419
419
  security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
@@ -769,7 +769,7 @@ exports.getDatabaseInfo = getDatabaseInfo;
769
769
  /**
770
770
  * Get Graph Operational Limits
771
771
  *
772
- * Limits vary by subscription tier (ladybug-standard, ladybug-large, ladybug-xlarge). Includes storage, query, backup, rate, credit, and instance usage limits.
772
+ * Limits vary by subscription tier (ladybug-standard, ladybug-large, ladybug-xlarge). Includes storage, query, backup, rate, credit, document, and instance usage limits.
773
773
  */
774
774
  const getGraphLimits = (options) => (options.client ?? client_gen_1.client).get({
775
775
  security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
package/sdk.gen.ts CHANGED
@@ -425,7 +425,7 @@ export const getOrgUsage = <ThrowOnError extends boolean = false>(options: Optio
425
425
  /**
426
426
  * Sync Connection
427
427
  *
428
- * SEC: downloads latest EDGAR filings (5-10 min). QuickBooks: fetches transactions, balances, and chart of accounts. Returns an `OperationEnvelope` — monitor progress via SSE at `/v1/operations/{operation_id}/stream`. Supports `Idempotency-Key`.
428
+ * SEC: downloads latest EDGAR filings (5-10 min). QuickBooks: fetches transactions, balances, and chart of accounts. Async — returns an `OperationEnvelope` with the provider task id; completion is reflected in the connection's `last_sync` timestamp. Supports `Idempotency-Key`.
429
429
  */
430
430
  export const syncConnection = <ThrowOnError extends boolean = false>(options: Options<SyncConnectionData, ThrowOnError>) => (options.client ?? client).post<SyncConnectionResponses, SyncConnectionErrors, ThrowOnError>({
431
431
  security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
@@ -781,7 +781,7 @@ export const getDatabaseInfo = <ThrowOnError extends boolean = false>(options: O
781
781
  /**
782
782
  * Get Graph Operational Limits
783
783
  *
784
- * Limits vary by subscription tier (ladybug-standard, ladybug-large, ladybug-xlarge). Includes storage, query, backup, rate, credit, and instance usage limits.
784
+ * Limits vary by subscription tier (ladybug-standard, ladybug-large, ladybug-xlarge). Includes storage, query, backup, rate, credit, document, and instance usage limits.
785
785
  */
786
786
  export const getGraphLimits = <ThrowOnError extends boolean = false>(options: Options<GetGraphLimitsData, ThrowOnError>) => (options.client ?? client).get<GetGraphLimitsResponses, GetGraphLimitsErrors, ThrowOnError>({
787
787
  security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
package/types.gen.d.ts CHANGED
@@ -4082,6 +4082,31 @@ export type DocumentDetailResponse = {
4082
4082
  */
4083
4083
  updated_at: string;
4084
4084
  };
4085
+ /**
4086
+ * DocumentLimits
4087
+ *
4088
+ * Knowledge-base document usage against the tier's cap.
4089
+ */
4090
+ export type DocumentLimits = {
4091
+ /**
4092
+ * Current Count
4093
+ *
4094
+ * Uploaded documents currently stored for this graph
4095
+ */
4096
+ current_count: number;
4097
+ /**
4098
+ * Max Documents
4099
+ *
4100
+ * Maximum uploaded documents for this tier (null when uncapped)
4101
+ */
4102
+ max_documents?: number | null;
4103
+ /**
4104
+ * Approaching Limit
4105
+ *
4106
+ * Whether approaching document limit (>80%)
4107
+ */
4108
+ approaching_limit: boolean;
4109
+ };
4085
4110
  /**
4086
4111
  * DocumentListItem
4087
4112
  *
@@ -5938,6 +5963,10 @@ export type GraphLimitsResponse = {
5938
5963
  * AI credit limits (if applicable)
5939
5964
  */
5940
5965
  credits?: CreditLimits | null;
5966
+ /**
5967
+ * Knowledge-base document usage and tier cap (user graphs only)
5968
+ */
5969
+ documents?: DocumentLimits | null;
5941
5970
  /**
5942
5971
  * Per-operation materialization limits (if applicable)
5943
5972
  */
package/types.gen.ts CHANGED
@@ -4192,6 +4192,32 @@ export type DocumentDetailResponse = {
4192
4192
  updated_at: string;
4193
4193
  };
4194
4194
 
4195
+ /**
4196
+ * DocumentLimits
4197
+ *
4198
+ * Knowledge-base document usage against the tier's cap.
4199
+ */
4200
+ export type DocumentLimits = {
4201
+ /**
4202
+ * Current Count
4203
+ *
4204
+ * Uploaded documents currently stored for this graph
4205
+ */
4206
+ current_count: number;
4207
+ /**
4208
+ * Max Documents
4209
+ *
4210
+ * Maximum uploaded documents for this tier (null when uncapped)
4211
+ */
4212
+ max_documents?: number | null;
4213
+ /**
4214
+ * Approaching Limit
4215
+ *
4216
+ * Whether approaching document limit (>80%)
4217
+ */
4218
+ approaching_limit: boolean;
4219
+ };
4220
+
4195
4221
  /**
4196
4222
  * DocumentListItem
4197
4223
  *
@@ -6087,6 +6113,10 @@ export type GraphLimitsResponse = {
6087
6113
  * AI credit limits (if applicable)
6088
6114
  */
6089
6115
  credits?: CreditLimits | null;
6116
+ /**
6117
+ * Knowledge-base document usage and tier cap (user graphs only)
6118
+ */
6119
+ documents?: DocumentLimits | null;
6090
6120
  /**
6091
6121
  * Per-operation materialization limits (if applicable)
6092
6122
  */