@robosystems/client 2.2.2 → 2.2.4

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
@@ -722,6 +722,12 @@ export type BackfillPlanHistoryOperation = {
722
722
  * Override the reconciling-item gate on each reclose. Only needed when an event inside the backfill window is still flagged as changed upstream and you have decided not to resolve it first.
723
723
  */
724
724
  allow_reconciling_items?: boolean;
725
+ /**
726
+ * Allow Unposted Source Events
727
+ *
728
+ * Override the unposted-source-event gate on each reclose. Only needed when a source event inside the backfill window was never committed and you have decided not to commit or void it first.
729
+ */
730
+ allow_unposted_source_events?: boolean;
725
731
  /**
726
732
  * Restamp
727
733
  *
@@ -1679,6 +1685,12 @@ export type ClosePeriodOperation = {
1679
1685
  * Override the reconciling-item gate — close even though posted events in the period are still flagged as changed in the source system, leaving those differences undecided. The next sync will still report them, and the statements stamped by this close may disagree with the source. Prefer resolve-reconciling-item on each first. The override is recorded in the close audit note.
1680
1686
  */
1681
1687
  allow_reconciling_items?: boolean;
1688
+ /**
1689
+ * Allow Unposted Source Events
1690
+ *
1691
+ * Override the unposted-source-event gate — close even though source events dated in the period (bank-feed lines, QuickBooks transactions whose automatic posting failed) were never committed. Once the period closes they cannot post into it, so the stamped statements leave them out. Prefer classifying and committing, or voiding, each first. The override is recorded in the close audit note.
1692
+ */
1693
+ allow_unposted_source_events?: boolean;
1682
1694
  /**
1683
1695
  * Period
1684
1696
  *
@@ -5689,7 +5701,7 @@ export type FactSetLite = {
5689
5701
  /**
5690
5702
  * Provenance
5691
5703
  *
5692
- * Typed `FactProvenance` descriptor (discriminated on `origin`: pivot | schedule | derived | asserted | document | forecast | filed) recording how this FactSet's facts were constructed. Surfaced as JSON, mirroring how mechanics is exposed. Null when the FactSet carries no descriptor.
5704
+ * Typed `FactProvenance` descriptor (discriminated on `origin`: pivot | schedule | derived | asserted | document | forecast | filed) recording how this FactSet was constructed. It describes the set, not each fact: a `pivot` set's mapped leaves aggregate posted line items, while its subtotals and derivations are computed from those leaves. Surfaced as JSON, mirroring how mechanics is exposed. Null when the FactSet carries no descriptor.
5693
5705
  */
5694
5706
  provenance?: {
5695
5707
  [key: string]: unknown;
@@ -6016,6 +6028,18 @@ export type FiscalCalendarResponse = {
6016
6028
  * Source identifiers (or event ids) of up to 5 unresolved reconciling items, so the blocker names what is holding the close.
6017
6029
  */
6018
6030
  reconciling_item_sample?: Array<string>;
6031
+ /**
6032
+ * Unposted Source Event Count
6033
+ *
6034
+ * Source events dated in this period that were never committed: bank-feed lines still captured or classified, and QuickBooks transactions whose automatic posting failed. Commit or void each, or close over them knowingly with allow_unposted_source_events.
6035
+ */
6036
+ unposted_source_event_count?: number;
6037
+ /**
6038
+ * Unposted Source Event Sample
6039
+ *
6040
+ * Source identifiers (or event ids) of up to 5 unposted source events, so the blocker names what is holding the close.
6041
+ */
6042
+ unposted_source_event_sample?: Array<string>;
6019
6043
  /**
6020
6044
  * Last Close At
6021
6045
  */
@@ -7559,7 +7583,7 @@ export type IngestFileOp = {
7559
7583
  /**
7560
7584
  * Ingest To Graph
7561
7585
  *
7562
- * Auto-materialize into the graph after DuckDB staging
7586
+ * Auto-materialize into the graph after DuckDB staging. Refused with 409 while another materialization of the graph is running.
7563
7587
  */
7564
7588
  ingest_to_graph?: boolean;
7565
7589
  };
@@ -9036,7 +9060,7 @@ export type MaterializeOp = {
9036
9060
  /**
9037
9061
  * Rebuild
9038
9062
  *
9039
- * Rebuild the graph from scratch, dropping existing data. Required (staged source) when materializing new uploads into a graph that already contains materialized data — staging replays all uploaded files, so a non-rebuild pass would re-copy ingested rows (409).
9063
+ * Rebuild the graph from scratch, dropping existing data. Required (staged source) when materializing new uploads into a graph that already contains materialized data — staging replays all uploaded files, so a non-rebuild pass would re-copy ingested rows (409). An extensions source always rebuilds a graph that already exists: the new copy is built alongside and swapped in, regardless of this flag.
9040
9064
  */
9041
9065
  rebuild?: boolean;
9042
9066
  /**
@@ -9332,6 +9356,126 @@ export type MfaVerifyRequest = {
9332
9356
  recovery_code?: string | null;
9333
9357
  };
9334
9358
 
9359
+ /**
9360
+ * MutationAuditEntry
9361
+ *
9362
+ * One mutating call on the graph.
9363
+ */
9364
+ export type MutationAuditEntry = {
9365
+ /**
9366
+ * Id
9367
+ *
9368
+ * Audit entry identifier
9369
+ */
9370
+ id: string;
9371
+ /**
9372
+ * Occurred At
9373
+ *
9374
+ * When the call finished
9375
+ */
9376
+ occurred_at: string;
9377
+ /**
9378
+ * Surface
9379
+ *
9380
+ * Where the call came from: 'api' for a REST operation, 'mcp' for an external MCP client, 'operator' for an in-app AI operator run such as the console's /do
9381
+ */
9382
+ surface: 'api' | 'mcp' | 'operator';
9383
+ /**
9384
+ * Operation Name
9385
+ *
9386
+ * The operation or MCP tool that ran
9387
+ */
9388
+ operation_name: string;
9389
+ /**
9390
+ * Status
9391
+ *
9392
+ * Whether the call succeeded; a failed call changed nothing it reports
9393
+ */
9394
+ status: 'completed' | 'failed';
9395
+ /**
9396
+ * Error Code
9397
+ *
9398
+ * Why a failed call failed
9399
+ */
9400
+ error_code?: string | null;
9401
+ /**
9402
+ * Duration Ms
9403
+ *
9404
+ * How long the call took
9405
+ */
9406
+ duration_ms: number;
9407
+ /**
9408
+ * User Id
9409
+ *
9410
+ * The user the call ran as
9411
+ */
9412
+ user_id?: string | null;
9413
+ /**
9414
+ * Auth Method
9415
+ *
9416
+ * How the caller authenticated, for example 'api_key' or 'oauth'
9417
+ */
9418
+ auth_method?: string | null;
9419
+ /**
9420
+ * Api Key Prefix
9421
+ *
9422
+ * The first characters of the API key used, when one was
9423
+ */
9424
+ api_key_prefix?: string | null;
9425
+ /**
9426
+ * Request Id
9427
+ *
9428
+ * The HTTP request that made the call
9429
+ */
9430
+ request_id?: string | null;
9431
+ /**
9432
+ * Operation Id
9433
+ *
9434
+ * The REST operation's envelope id, or the operator run's operation id: every write an operator run makes shares it
9435
+ */
9436
+ operation_id?: string | null;
9437
+ /**
9438
+ * Operator Type
9439
+ *
9440
+ * The operator that made the call, for surface 'operator'
9441
+ */
9442
+ operator_type?: string | null;
9443
+ /**
9444
+ * Arguments Fingerprint
9445
+ *
9446
+ * SHA-256 of the call's arguments. The arguments themselves are not stored
9447
+ */
9448
+ arguments_fingerprint?: string | null;
9449
+ /**
9450
+ * Object Ids
9451
+ *
9452
+ * Identifiers of the objects the call touched
9453
+ */
9454
+ object_ids?: Array<string>;
9455
+ };
9456
+
9457
+ /**
9458
+ * MutationAuditListResponse
9459
+ *
9460
+ * A page of the graph's mutation audit, newest first.
9461
+ */
9462
+ export type MutationAuditListResponse = {
9463
+ /**
9464
+ * Graph Id
9465
+ */
9466
+ graph_id: string;
9467
+ /**
9468
+ * Entries
9469
+ */
9470
+ entries: Array<MutationAuditEntry>;
9471
+ /**
9472
+ * Next Cursor
9473
+ *
9474
+ * Pass as `cursor` for the next, older page; null on the last page
9475
+ */
9476
+ next_cursor?: string | null;
9477
+ };
9478
+
9335
9479
  /**
9336
9480
  * OAuthCallbackRequest
9337
9481
  *
@@ -23149,6 +23293,111 @@ export type UpdateGraphMemberRoleResponses = {
23149
23293
 
23150
23294
  export type UpdateGraphMemberRoleResponse = UpdateGraphMemberRoleResponses[keyof UpdateGraphMemberRoleResponses];
23151
23295
 
23296
+ export type ListGraphMutationsData = {
23297
+ body?: never;
23298
+ path: {
23299
+ /**
23300
+ * Graph Id
23301
+ *
23302
+ * Graph identifier
23303
+ */
23304
+ graph_id: string;
23305
+ };
23306
+ query?: {
23307
+ /**
23308
+ * Surface
23309
+ *
23310
+ * Only calls from this surface
23311
+ */
23312
+ surface?: 'api' | 'mcp' | 'operator' | null;
23313
+ /**
23314
+ * Operation Name
23315
+ *
23316
+ * Only this operation or MCP tool
23317
+ */
23318
+ operation_name?: string | null;
23319
+ /**
23320
+ * User Id
23321
+ *
23322
+ * Only calls made as this user
23323
+ */
23324
+ user_id?: string | null;
23325
+ /**
23326
+ * Operation Id
23327
+ *
23328
+ * Only calls from this REST operation or operator run
23329
+ */
23330
+ operation_id?: string | null;
23331
+ /**
23332
+ * Since
23333
+ *
23334
+ * Only calls at or after this time
23335
+ */
23336
+ since?: string | null;
23337
+ /**
23338
+ * Until
23339
+ *
23340
+ * Only calls before this time
23341
+ */
23342
+ until?: string | null;
23343
+ /**
23344
+ * Cursor
23345
+ *
23346
+ * The `next_cursor` of the previous page
23347
+ */
23348
+ cursor?: string | null;
23349
+ /**
23350
+ * Limit
23351
+ *
23352
+ * Entries per page
23353
+ */
23354
+ limit?: number;
23355
+ };
23356
+ url: '/v1/graphs/{graph_id}/audit/mutations';
23357
+ };
23358
+
23359
+ export type ListGraphMutationsErrors = {
23360
+ /**
23361
+ * Invalid request
23362
+ */
23363
+ 400: ErrorResponse;
23364
+ /**
23365
+ * Authentication required
23366
+ */
23367
+ 401: ErrorResponse;
23368
+ /**
23369
+ * Access denied
23370
+ */
23371
+ 403: ErrorResponse;
23372
+ /**
23373
+ * Resource not found
23374
+ */
23375
+ 404: ErrorResponse;
23376
+ /**
23377
+ * Validation Error
23378
+ */
23379
+ 422: HttpValidationError;
23380
+ /**
23381
+ * Rate limit exceeded
23382
+ */
23383
+ 429: ErrorResponse;
23384
+ /**
23385
+ * Internal server error
23386
+ */
23387
+ 500: ErrorResponse;
23388
+ };
23389
+
23390
+ export type ListGraphMutationsError = ListGraphMutationsErrors[keyof ListGraphMutationsErrors];
23391
+
23392
+ export type ListGraphMutationsResponses = {
23393
+ /**
23394
+ * Successful Response
23395
+ */
23396
+ 200: MutationAuditListResponse;
23397
+ };
23398
+
23399
+ export type ListGraphMutationsResponse = ListGraphMutationsResponses[keyof ListGraphMutationsResponses];
23400
+
23152
23401
  export type ListSubgraphsData = {
23153
23402
  body?: never;
23154
23403
  path: {