@robosystems/client 1.4.2 → 1.5.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/types.gen.d.ts CHANGED
@@ -5235,7 +5235,7 @@ export type FactSetLite = {
5235
5235
  /**
5236
5236
  * Provenance
5237
5237
  *
5238
- * Typed ``FactProvenance`` descriptor (discriminated on ``origin``: pivot | schedule | derived | asserted) recording how this FactSet's facts were constructed. Surfaced as JSON, mirroring how mechanics is exposed. Null when the FactSet carries no descriptor.
5238
+ * 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.
5239
5239
  */
5240
5240
  provenance?: {
5241
5241
  [key: string]: unknown;
@@ -5857,6 +5857,18 @@ export type GraphInfo = {
5857
5857
  * Display name for the graph
5858
5858
  */
5859
5859
  graphName: string;
5860
+ /**
5861
+ * Description
5862
+ *
5863
+ * Free-form description ('' when unset)
5864
+ */
5865
+ description?: string;
5866
+ /**
5867
+ * Tags
5868
+ *
5869
+ * Organizational tags for the graph
5870
+ */
5871
+ tags?: Array<string>;
5860
5872
  /**
5861
5873
  * Role
5862
5874
  *
@@ -6071,6 +6083,43 @@ export type GraphMetadata = {
6071
6083
  */
6072
6084
  tags?: Array<string>;
6073
6085
  };
6086
+ /**
6087
+ * GraphMetadataResult
6088
+ *
6089
+ * Result payload for the update-graph-metadata operation.
6090
+ */
6091
+ export type GraphMetadataResult = {
6092
+ /**
6093
+ * Graph Id
6094
+ *
6095
+ * Graph the metadata belongs to
6096
+ */
6097
+ graph_id: string;
6098
+ /**
6099
+ * Graph Name
6100
+ *
6101
+ * Display name after the update
6102
+ */
6103
+ graph_name: string;
6104
+ /**
6105
+ * Description
6106
+ *
6107
+ * Description after the update ('' when unset)
6108
+ */
6109
+ description?: string;
6110
+ /**
6111
+ * Tags
6112
+ *
6113
+ * Tags after the update (empty when unset)
6114
+ */
6115
+ tags?: Array<string>;
6116
+ /**
6117
+ * Updated Fields
6118
+ *
6119
+ * Fields this call actually changed. Empty when the submitted values already matched what was stored.
6120
+ */
6121
+ updated_fields?: Array<string>;
6122
+ };
6074
6123
  /**
6075
6124
  * GraphMetricsResponse
6076
6125
  *
@@ -9567,6 +9616,51 @@ export type OperationEnvelopeFiscalCalendarResponse = {
9567
9616
  */
9568
9617
  idempotentReplay?: boolean;
9569
9618
  };
9619
+ /**
9620
+ * OperationEnvelope[GraphMetadataResult]
9621
+ */
9622
+ export type OperationEnvelopeGraphMetadataResult = {
9623
+ /**
9624
+ * Operation
9625
+ *
9626
+ * Kebab-case operation name
9627
+ */
9628
+ operation: string;
9629
+ /**
9630
+ * Operationid
9631
+ *
9632
+ * op_-prefixed ULID for audit and SSE correlation
9633
+ */
9634
+ operationId: string;
9635
+ /**
9636
+ * Status
9637
+ *
9638
+ * Operation lifecycle state
9639
+ */
9640
+ status: 'completed' | 'pending' | 'failed';
9641
+ /**
9642
+ * Command-specific result payload
9643
+ */
9644
+ result?: GraphMetadataResult | null;
9645
+ /**
9646
+ * At
9647
+ *
9648
+ * ISO-8601 UTC timestamp
9649
+ */
9650
+ at: string;
9651
+ /**
9652
+ * Createdby
9653
+ *
9654
+ * User ID that initiated the operation (null for legacy callers)
9655
+ */
9656
+ createdBy?: string | null;
9657
+ /**
9658
+ * Idempotentreplay
9659
+ *
9660
+ * True when this envelope came from the idempotency cache — the underlying command did not execute again. False on fresh executions.
9661
+ */
9662
+ idempotentReplay?: boolean;
9663
+ };
9570
9664
  /**
9571
9665
  * OperationEnvelope[InformationBlockEnvelope]
9572
9666
  */
@@ -15291,6 +15385,42 @@ export type UpdateForecastRequest = {
15291
15385
  export type UpdateGraphMemberRoleRequest = {
15292
15386
  role: GraphRole;
15293
15387
  };
15388
+ /**
15389
+ * UpdateGraphMetadataOp
15390
+ *
15391
+ * Body for the update-graph-metadata operation.
15392
+ *
15393
+ * Partial update — only supplied (non-null) fields change, so a caller
15394
+ * editing just the display name need not resend the description and tags.
15395
+ * Because ``None`` means "leave alone", clearing a field uses its empty
15396
+ * value instead: pass ``""`` to clear the description and ``[]`` to clear
15397
+ * the tags. ``graph_name`` cannot be cleared; it is the graph's label
15398
+ * everywhere it is listed.
15399
+ *
15400
+ * This is the platform-level label for the graph, independent of the
15401
+ * entity name shown on financial statements — change that through
15402
+ * ``POST /extensions/roboledger/{graph_id}/operations/update-entity``.
15403
+ */
15404
+ export type UpdateGraphMetadataOp = {
15405
+ /**
15406
+ * Graph Name
15407
+ *
15408
+ * New display name. Omit to leave unchanged; cannot be cleared.
15409
+ */
15410
+ graph_name?: string | null;
15411
+ /**
15412
+ * Description
15413
+ *
15414
+ * New description. Omit to leave unchanged; pass '' to clear.
15415
+ */
15416
+ description?: string | null;
15417
+ /**
15418
+ * Tags
15419
+ *
15420
+ * Replaces the full tag list (not a merge). Omit to leave unchanged; pass [] to clear. Tags are trimmed, de-duplicated, and capped at 50 characters each.
15421
+ */
15422
+ tags?: Array<string> | null;
15423
+ };
15294
15424
  /**
15295
15425
  * UpdateInformationBlockRequest
15296
15426
  *
@@ -20967,6 +21097,65 @@ export type ChangeTierResponses = {
20967
21097
  202: OperationEnvelope;
20968
21098
  };
20969
21099
  export type ChangeTierResponse = ChangeTierResponses[keyof ChangeTierResponses];
21100
+ export type UpdateGraphMetadataData = {
21101
+ body: UpdateGraphMetadataOp;
21102
+ headers?: {
21103
+ /**
21104
+ * Idempotency-Key
21105
+ */
21106
+ 'Idempotency-Key'?: string | null;
21107
+ };
21108
+ path: {
21109
+ /**
21110
+ * Graph Id
21111
+ */
21112
+ graph_id: string;
21113
+ };
21114
+ query?: never;
21115
+ url: '/v1/graphs/{graph_id}/operations/update-graph-metadata';
21116
+ };
21117
+ export type UpdateGraphMetadataErrors = {
21118
+ /**
21119
+ * Invalid request
21120
+ */
21121
+ 400: ErrorResponse;
21122
+ /**
21123
+ * Authentication required
21124
+ */
21125
+ 401: ErrorResponse;
21126
+ /**
21127
+ * Access denied
21128
+ */
21129
+ 403: ErrorResponse;
21130
+ /**
21131
+ * Resource not found
21132
+ */
21133
+ 404: ErrorResponse;
21134
+ /**
21135
+ * Idempotency-Key conflict — key reused with different body
21136
+ */
21137
+ 409: ErrorResponse;
21138
+ /**
21139
+ * Validation error
21140
+ */
21141
+ 422: ErrorResponse;
21142
+ /**
21143
+ * Rate limit exceeded
21144
+ */
21145
+ 429: ErrorResponse;
21146
+ /**
21147
+ * Internal server error
21148
+ */
21149
+ 500: ErrorResponse;
21150
+ };
21151
+ export type UpdateGraphMetadataError = UpdateGraphMetadataErrors[keyof UpdateGraphMetadataErrors];
21152
+ export type UpdateGraphMetadataResponses = {
21153
+ /**
21154
+ * Successful Response
21155
+ */
21156
+ 200: OperationEnvelopeGraphMetadataResult;
21157
+ };
21158
+ export type UpdateGraphMetadataResponse = UpdateGraphMetadataResponses[keyof UpdateGraphMetadataResponses];
20970
21159
  export type MaterializeData = {
20971
21160
  body: MaterializeOp;
20972
21161
  headers?: {
package/types.gen.ts CHANGED
@@ -5367,7 +5367,7 @@ export type FactSetLite = {
5367
5367
  /**
5368
5368
  * Provenance
5369
5369
  *
5370
- * Typed ``FactProvenance`` descriptor (discriminated on ``origin``: pivot | schedule | derived | asserted) recording how this FactSet's facts were constructed. Surfaced as JSON, mirroring how mechanics is exposed. Null when the FactSet carries no descriptor.
5370
+ * 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.
5371
5371
  */
5372
5372
  provenance?: {
5373
5373
  [key: string]: unknown;
@@ -6004,6 +6004,18 @@ export type GraphInfo = {
6004
6004
  * Display name for the graph
6005
6005
  */
6006
6006
  graphName: string;
6007
+ /**
6008
+ * Description
6009
+ *
6010
+ * Free-form description ('' when unset)
6011
+ */
6012
+ description?: string;
6013
+ /**
6014
+ * Tags
6015
+ *
6016
+ * Organizational tags for the graph
6017
+ */
6018
+ tags?: Array<string>;
6007
6019
  /**
6008
6020
  * Role
6009
6021
  *
@@ -6223,6 +6235,44 @@ export type GraphMetadata = {
6223
6235
  tags?: Array<string>;
6224
6236
  };
6225
6237
 
6238
+ /**
6239
+ * GraphMetadataResult
6240
+ *
6241
+ * Result payload for the update-graph-metadata operation.
6242
+ */
6243
+ export type GraphMetadataResult = {
6244
+ /**
6245
+ * Graph Id
6246
+ *
6247
+ * Graph the metadata belongs to
6248
+ */
6249
+ graph_id: string;
6250
+ /**
6251
+ * Graph Name
6252
+ *
6253
+ * Display name after the update
6254
+ */
6255
+ graph_name: string;
6256
+ /**
6257
+ * Description
6258
+ *
6259
+ * Description after the update ('' when unset)
6260
+ */
6261
+ description?: string;
6262
+ /**
6263
+ * Tags
6264
+ *
6265
+ * Tags after the update (empty when unset)
6266
+ */
6267
+ tags?: Array<string>;
6268
+ /**
6269
+ * Updated Fields
6270
+ *
6271
+ * Fields this call actually changed. Empty when the submitted values already matched what was stored.
6272
+ */
6273
+ updated_fields?: Array<string>;
6274
+ };
6275
+
6226
6276
  /**
6227
6277
  * GraphMetricsResponse
6228
6278
  *
@@ -9797,6 +9847,52 @@ export type OperationEnvelopeFiscalCalendarResponse = {
9797
9847
  idempotentReplay?: boolean;
9798
9848
  };
9799
9849
 
9850
+ /**
9851
+ * OperationEnvelope[GraphMetadataResult]
9852
+ */
9853
+ export type OperationEnvelopeGraphMetadataResult = {
9854
+ /**
9855
+ * Operation
9856
+ *
9857
+ * Kebab-case operation name
9858
+ */
9859
+ operation: string;
9860
+ /**
9861
+ * Operationid
9862
+ *
9863
+ * op_-prefixed ULID for audit and SSE correlation
9864
+ */
9865
+ operationId: string;
9866
+ /**
9867
+ * Status
9868
+ *
9869
+ * Operation lifecycle state
9870
+ */
9871
+ status: 'completed' | 'pending' | 'failed';
9872
+ /**
9873
+ * Command-specific result payload
9874
+ */
9875
+ result?: GraphMetadataResult | null;
9876
+ /**
9877
+ * At
9878
+ *
9879
+ * ISO-8601 UTC timestamp
9880
+ */
9881
+ at: string;
9882
+ /**
9883
+ * Createdby
9884
+ *
9885
+ * User ID that initiated the operation (null for legacy callers)
9886
+ */
9887
+ createdBy?: string | null;
9888
+ /**
9889
+ * Idempotentreplay
9890
+ *
9891
+ * True when this envelope came from the idempotency cache — the underlying command did not execute again. False on fresh executions.
9892
+ */
9893
+ idempotentReplay?: boolean;
9894
+ };
9895
+
9800
9896
  /**
9801
9897
  * OperationEnvelope[InformationBlockEnvelope]
9802
9898
  */
@@ -15670,6 +15766,43 @@ export type UpdateGraphMemberRoleRequest = {
15670
15766
  role: GraphRole;
15671
15767
  };
15672
15768
 
15769
+ /**
15770
+ * UpdateGraphMetadataOp
15771
+ *
15772
+ * Body for the update-graph-metadata operation.
15773
+ *
15774
+ * Partial update — only supplied (non-null) fields change, so a caller
15775
+ * editing just the display name need not resend the description and tags.
15776
+ * Because ``None`` means "leave alone", clearing a field uses its empty
15777
+ * value instead: pass ``""`` to clear the description and ``[]`` to clear
15778
+ * the tags. ``graph_name`` cannot be cleared; it is the graph's label
15779
+ * everywhere it is listed.
15780
+ *
15781
+ * This is the platform-level label for the graph, independent of the
15782
+ * entity name shown on financial statements — change that through
15783
+ * ``POST /extensions/roboledger/{graph_id}/operations/update-entity``.
15784
+ */
15785
+ export type UpdateGraphMetadataOp = {
15786
+ /**
15787
+ * Graph Name
15788
+ *
15789
+ * New display name. Omit to leave unchanged; cannot be cleared.
15790
+ */
15791
+ graph_name?: string | null;
15792
+ /**
15793
+ * Description
15794
+ *
15795
+ * New description. Omit to leave unchanged; pass '' to clear.
15796
+ */
15797
+ description?: string | null;
15798
+ /**
15799
+ * Tags
15800
+ *
15801
+ * Replaces the full tag list (not a merge). Omit to leave unchanged; pass [] to clear. Tags are trimmed, de-duplicated, and capped at 50 characters each.
15802
+ */
15803
+ tags?: Array<string> | null;
15804
+ };
15805
+
15673
15806
  /**
15674
15807
  * UpdateInformationBlockRequest
15675
15808
  *
@@ -21835,6 +21968,70 @@ export type ChangeTierResponses = {
21835
21968
 
21836
21969
  export type ChangeTierResponse = ChangeTierResponses[keyof ChangeTierResponses];
21837
21970
 
21971
+ export type UpdateGraphMetadataData = {
21972
+ body: UpdateGraphMetadataOp;
21973
+ headers?: {
21974
+ /**
21975
+ * Idempotency-Key
21976
+ */
21977
+ 'Idempotency-Key'?: string | null;
21978
+ };
21979
+ path: {
21980
+ /**
21981
+ * Graph Id
21982
+ */
21983
+ graph_id: string;
21984
+ };
21985
+ query?: never;
21986
+ url: '/v1/graphs/{graph_id}/operations/update-graph-metadata';
21987
+ };
21988
+
21989
+ export type UpdateGraphMetadataErrors = {
21990
+ /**
21991
+ * Invalid request
21992
+ */
21993
+ 400: ErrorResponse;
21994
+ /**
21995
+ * Authentication required
21996
+ */
21997
+ 401: ErrorResponse;
21998
+ /**
21999
+ * Access denied
22000
+ */
22001
+ 403: ErrorResponse;
22002
+ /**
22003
+ * Resource not found
22004
+ */
22005
+ 404: ErrorResponse;
22006
+ /**
22007
+ * Idempotency-Key conflict — key reused with different body
22008
+ */
22009
+ 409: ErrorResponse;
22010
+ /**
22011
+ * Validation error
22012
+ */
22013
+ 422: ErrorResponse;
22014
+ /**
22015
+ * Rate limit exceeded
22016
+ */
22017
+ 429: ErrorResponse;
22018
+ /**
22019
+ * Internal server error
22020
+ */
22021
+ 500: ErrorResponse;
22022
+ };
22023
+
22024
+ export type UpdateGraphMetadataError = UpdateGraphMetadataErrors[keyof UpdateGraphMetadataErrors];
22025
+
22026
+ export type UpdateGraphMetadataResponses = {
22027
+ /**
22028
+ * Successful Response
22029
+ */
22030
+ 200: OperationEnvelopeGraphMetadataResult;
22031
+ };
22032
+
22033
+ export type UpdateGraphMetadataResponse = UpdateGraphMetadataResponses[keyof UpdateGraphMetadataResponses];
22034
+
21838
22035
  export type MaterializeData = {
21839
22036
  body: MaterializeOp;
21840
22037
  headers?: {