@robosystems/client 1.7.0 → 1.8.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.
@@ -1120,6 +1120,97 @@ export type BindTextBlockResponse = {
1120
1120
  */
1121
1121
  replaced: boolean;
1122
1122
  };
1123
+ /**
1124
+ * BlockSourceGraphOperation
1125
+ *
1126
+ * Bar a graph from sharing reports into this one.
1127
+ */
1128
+ export type BlockSourceGraphOperation = {
1129
+ /**
1130
+ * Source Graph Id
1131
+ *
1132
+ * Graph ID to block. Read it off the `source_graph_id` provenance field of a report that was shared to you.
1133
+ */
1134
+ source_graph_id: string;
1135
+ /**
1136
+ * Reason
1137
+ *
1138
+ * Free-form note for your own records. Never disclosed to the sender.
1139
+ */
1140
+ reason?: string | null;
1141
+ /**
1142
+ * Purge
1143
+ *
1144
+ * Also delete every report already shared in from this source, with their fact sets and facts. Reports you authored are never touched.
1145
+ */
1146
+ purge?: boolean;
1147
+ };
1148
+ /**
1149
+ * BlockSourceGraphResult
1150
+ *
1151
+ * Outcome of a block, including anything the purge removed.
1152
+ */
1153
+ export type BlockSourceGraphResult = {
1154
+ /**
1155
+ * The block record.
1156
+ */
1157
+ block: BlockedSourceGraphResponse;
1158
+ /**
1159
+ * Already Blocked
1160
+ *
1161
+ * True when the source was already blocked and this call was a no-op apart from any purge.
1162
+ */
1163
+ already_blocked?: boolean;
1164
+ /**
1165
+ * Purged Report Count
1166
+ *
1167
+ * Number of previously-shared reports deleted from this graph. Zero unless `purge` was set.
1168
+ */
1169
+ purged_report_count?: number;
1170
+ };
1171
+ /**
1172
+ * BlockedSourceGraphResponse
1173
+ *
1174
+ * One blocked source graph.
1175
+ */
1176
+ export type BlockedSourceGraphResponse = {
1177
+ /**
1178
+ * Id
1179
+ *
1180
+ * Block row identifier (ULID).
1181
+ */
1182
+ id: string;
1183
+ /**
1184
+ * Source Graph Id
1185
+ *
1186
+ * The blocked sender's graph ID.
1187
+ */
1188
+ source_graph_id: string;
1189
+ /**
1190
+ * Source Graph Name
1191
+ *
1192
+ * Display name of the blocked graph (if known).
1193
+ */
1194
+ source_graph_name?: string | null;
1195
+ /**
1196
+ * Blocked By
1197
+ *
1198
+ * User ID that created the block.
1199
+ */
1200
+ blocked_by: string;
1201
+ /**
1202
+ * Blocked At
1203
+ *
1204
+ * When the block was created.
1205
+ */
1206
+ blocked_at: string;
1207
+ /**
1208
+ * Reason
1209
+ *
1210
+ * Recipient's own note, if given.
1211
+ */
1212
+ reason?: string | null;
1213
+ };
1123
1214
  /**
1124
1215
  * CancelSubscriptionRequest
1125
1216
  *
@@ -8945,6 +9036,96 @@ export type OperationEnvelopeBindTextBlockResponse = {
8945
9036
  */
8946
9037
  idempotentReplay?: boolean;
8947
9038
  };
9039
+ /**
9040
+ * OperationEnvelope[BlockSourceGraphResult]
9041
+ */
9042
+ export type OperationEnvelopeBlockSourceGraphResult = {
9043
+ /**
9044
+ * Operation
9045
+ *
9046
+ * Kebab-case operation name
9047
+ */
9048
+ operation: string;
9049
+ /**
9050
+ * Operationid
9051
+ *
9052
+ * op_-prefixed ULID for audit and SSE correlation
9053
+ */
9054
+ operationId: string;
9055
+ /**
9056
+ * Status
9057
+ *
9058
+ * Operation lifecycle state
9059
+ */
9060
+ status: 'completed' | 'pending' | 'failed';
9061
+ /**
9062
+ * Command-specific result payload
9063
+ */
9064
+ result?: BlockSourceGraphResult | null;
9065
+ /**
9066
+ * At
9067
+ *
9068
+ * ISO-8601 UTC timestamp
9069
+ */
9070
+ at: string;
9071
+ /**
9072
+ * Createdby
9073
+ *
9074
+ * User ID that initiated the operation (null for legacy callers)
9075
+ */
9076
+ createdBy?: string | null;
9077
+ /**
9078
+ * Idempotentreplay
9079
+ *
9080
+ * True when this envelope came from the idempotency cache — the underlying command did not execute again. False on fresh executions.
9081
+ */
9082
+ idempotentReplay?: boolean;
9083
+ };
9084
+ /**
9085
+ * OperationEnvelope[BlockedSourceGraphResponse]
9086
+ */
9087
+ export type OperationEnvelopeBlockedSourceGraphResponse = {
9088
+ /**
9089
+ * Operation
9090
+ *
9091
+ * Kebab-case operation name
9092
+ */
9093
+ operation: string;
9094
+ /**
9095
+ * Operationid
9096
+ *
9097
+ * op_-prefixed ULID for audit and SSE correlation
9098
+ */
9099
+ operationId: string;
9100
+ /**
9101
+ * Status
9102
+ *
9103
+ * Operation lifecycle state
9104
+ */
9105
+ status: 'completed' | 'pending' | 'failed';
9106
+ /**
9107
+ * Command-specific result payload
9108
+ */
9109
+ result?: BlockedSourceGraphResponse | null;
9110
+ /**
9111
+ * At
9112
+ *
9113
+ * ISO-8601 UTC timestamp
9114
+ */
9115
+ at: string;
9116
+ /**
9117
+ * Createdby
9118
+ *
9119
+ * User ID that initiated the operation (null for legacy callers)
9120
+ */
9121
+ createdBy?: string | null;
9122
+ /**
9123
+ * Idempotentreplay
9124
+ *
9125
+ * True when this envelope came from the idempotency cache — the underlying command did not execute again. False on fresh executions.
9126
+ */
9127
+ idempotentReplay?: boolean;
9128
+ };
8948
9129
  /**
8949
9130
  * OperationEnvelope[ChangeReportingStyleResponse]
8950
9131
  */
@@ -10160,6 +10341,51 @@ export type OperationEnvelopeReportResponse = {
10160
10341
  */
10161
10342
  idempotentReplay?: boolean;
10162
10343
  };
10344
+ /**
10345
+ * OperationEnvelope[RevokeReportShareResponse]
10346
+ */
10347
+ export type OperationEnvelopeRevokeReportShareResponse = {
10348
+ /**
10349
+ * Operation
10350
+ *
10351
+ * Kebab-case operation name
10352
+ */
10353
+ operation: string;
10354
+ /**
10355
+ * Operationid
10356
+ *
10357
+ * op_-prefixed ULID for audit and SSE correlation
10358
+ */
10359
+ operationId: string;
10360
+ /**
10361
+ * Status
10362
+ *
10363
+ * Operation lifecycle state
10364
+ */
10365
+ status: 'completed' | 'pending' | 'failed';
10366
+ /**
10367
+ * Command-specific result payload
10368
+ */
10369
+ result?: RevokeReportShareResponse | null;
10370
+ /**
10371
+ * At
10372
+ *
10373
+ * ISO-8601 UTC timestamp
10374
+ */
10375
+ at: string;
10376
+ /**
10377
+ * Createdby
10378
+ *
10379
+ * User ID that initiated the operation (null for legacy callers)
10380
+ */
10381
+ createdBy?: string | null;
10382
+ /**
10383
+ * Idempotentreplay
10384
+ *
10385
+ * True when this envelope came from the idempotency cache — the underlying command did not execute again. False on fresh executions.
10386
+ */
10387
+ idempotentReplay?: boolean;
10388
+ };
10163
10389
  /**
10164
10390
  * OperationEnvelope[ScheduleCreatedResponse]
10165
10391
  */
@@ -10969,34 +11195,18 @@ export type OrgUsageSummary = {
10969
11195
  * Total Storage Gb
10970
11196
  */
10971
11197
  total_storage_gb: number;
10972
- /**
10973
- * Total Api Calls
10974
- */
10975
- total_api_calls: number;
10976
11198
  /**
10977
11199
  * Daily Avg Credits
10978
11200
  */
10979
11201
  daily_avg_credits: number;
10980
- /**
10981
- * Daily Avg Api Calls
10982
- */
10983
- daily_avg_api_calls: number;
10984
11202
  /**
10985
11203
  * Projected Monthly Credits
10986
11204
  */
10987
11205
  projected_monthly_credits: number;
10988
- /**
10989
- * Projected Monthly Api Calls
10990
- */
10991
- projected_monthly_api_calls: number;
10992
11206
  /**
10993
11207
  * Credits Limit
10994
11208
  */
10995
11209
  credits_limit: number | null;
10996
- /**
10997
- * Api Calls Limit
10998
- */
10999
- api_calls_limit: number | null;
11000
11210
  /**
11001
11211
  * Storage Limit Gb
11002
11212
  */
@@ -12542,6 +12752,56 @@ export type ResolvedReportInfo = {
12542
12752
  * Response modes for execution.
12543
12753
  */
12544
12754
  export type ResponseMode = 'auto' | 'sync' | 'async' | 'stream';
12755
+ /**
12756
+ * RevokeReportShareOperation
12757
+ *
12758
+ * Withdraw a shared Report from one recipient graph.
12759
+ */
12760
+ export type RevokeReportShareOperation = {
12761
+ /**
12762
+ * Target Graph Id
12763
+ *
12764
+ * Recipient graph whose copy should be withdrawn.
12765
+ */
12766
+ target_graph_id: string;
12767
+ /**
12768
+ * Report Id
12769
+ *
12770
+ * The Report whose share to withdraw.
12771
+ */
12772
+ report_id: string;
12773
+ };
12774
+ /**
12775
+ * RevokeReportShareResponse
12776
+ *
12777
+ * Outcome of withdrawing a shared report from one recipient.
12778
+ */
12779
+ export type RevokeReportShareResponse = {
12780
+ /**
12781
+ * Report Id
12782
+ *
12783
+ * The report whose share was revoked.
12784
+ */
12785
+ report_id: string;
12786
+ /**
12787
+ * Target Graph Id
12788
+ *
12789
+ * Recipient the copy was pulled from.
12790
+ */
12791
+ target_graph_id: string;
12792
+ /**
12793
+ * Revoked At
12794
+ *
12795
+ * When the share was revoked.
12796
+ */
12797
+ revoked_at: string;
12798
+ /**
12799
+ * Copy Deleted
12800
+ *
12801
+ * True when a copy was found and deleted in the recipient's schema. False when the recipient had already deleted it themselves — the share is still marked revoked.
12802
+ */
12803
+ copy_deleted: boolean;
12804
+ };
12545
12805
  /**
12546
12806
  * RollforwardMechanics
12547
12807
  *
@@ -14913,6 +15173,19 @@ export type TransitionFilingStatusRequest = {
14913
15173
  */
14914
15174
  target_status: string;
14915
15175
  };
15176
+ /**
15177
+ * UnblockSourceGraphOperation
15178
+ *
15179
+ * Lift a block on a source graph.
15180
+ */
15181
+ export type UnblockSourceGraphOperation = {
15182
+ /**
15183
+ * Source Graph Id
15184
+ *
15185
+ * Graph ID to unblock.
15186
+ */
15187
+ source_graph_id: string;
15188
+ };
14916
15189
  /**
14917
15190
  * UpcomingInvoice
14918
15191
  *
@@ -25013,6 +25286,65 @@ export type ShareReportResponses = {
25013
25286
  200: OperationEnvelopeShareReportResponse;
25014
25287
  };
25015
25288
  export type ShareReportResponse2 = ShareReportResponses[keyof ShareReportResponses];
25289
+ export type RevokeReportShareData = {
25290
+ body: RevokeReportShareOperation;
25291
+ headers?: {
25292
+ /**
25293
+ * Idempotency-Key
25294
+ */
25295
+ 'Idempotency-Key'?: string | null;
25296
+ };
25297
+ path: {
25298
+ /**
25299
+ * Graph Id
25300
+ */
25301
+ graph_id: string;
25302
+ };
25303
+ query?: never;
25304
+ url: '/extensions/roboledger/{graph_id}/operations/revoke-report-share';
25305
+ };
25306
+ export type RevokeReportShareErrors = {
25307
+ /**
25308
+ * Invalid request
25309
+ */
25310
+ 400: ErrorResponse;
25311
+ /**
25312
+ * Authentication required
25313
+ */
25314
+ 401: ErrorResponse;
25315
+ /**
25316
+ * Access denied
25317
+ */
25318
+ 403: ErrorResponse;
25319
+ /**
25320
+ * Resource not found
25321
+ */
25322
+ 404: ErrorResponse;
25323
+ /**
25324
+ * Idempotency-Key conflict — key reused with different body
25325
+ */
25326
+ 409: ErrorResponse;
25327
+ /**
25328
+ * Validation error
25329
+ */
25330
+ 422: ErrorResponse;
25331
+ /**
25332
+ * Rate limit exceeded
25333
+ */
25334
+ 429: ErrorResponse;
25335
+ /**
25336
+ * Internal server error
25337
+ */
25338
+ 500: ErrorResponse;
25339
+ };
25340
+ export type RevokeReportShareError = RevokeReportShareErrors[keyof RevokeReportShareErrors];
25341
+ export type RevokeReportShareResponses = {
25342
+ /**
25343
+ * Successful Response
25344
+ */
25345
+ 200: OperationEnvelopeRevokeReportShareResponse;
25346
+ };
25347
+ export type RevokeReportShareResponse2 = RevokeReportShareResponses[keyof RevokeReportShareResponses];
25016
25348
  export type FileReportData = {
25017
25349
  body: FileReportRequest;
25018
25350
  headers?: {
@@ -25426,6 +25758,124 @@ export type RemovePublishListMemberResponses = {
25426
25758
  200: OperationEnvelopeDeleteResult;
25427
25759
  };
25428
25760
  export type RemovePublishListMemberResponse = RemovePublishListMemberResponses[keyof RemovePublishListMemberResponses];
25761
+ export type BlockSourceGraphData = {
25762
+ body: BlockSourceGraphOperation;
25763
+ headers?: {
25764
+ /**
25765
+ * Idempotency-Key
25766
+ */
25767
+ 'Idempotency-Key'?: string | null;
25768
+ };
25769
+ path: {
25770
+ /**
25771
+ * Graph Id
25772
+ */
25773
+ graph_id: string;
25774
+ };
25775
+ query?: never;
25776
+ url: '/extensions/roboledger/{graph_id}/operations/block-source-graph';
25777
+ };
25778
+ export type BlockSourceGraphErrors = {
25779
+ /**
25780
+ * Invalid request
25781
+ */
25782
+ 400: ErrorResponse;
25783
+ /**
25784
+ * Authentication required
25785
+ */
25786
+ 401: ErrorResponse;
25787
+ /**
25788
+ * Access denied
25789
+ */
25790
+ 403: ErrorResponse;
25791
+ /**
25792
+ * Resource not found
25793
+ */
25794
+ 404: ErrorResponse;
25795
+ /**
25796
+ * Idempotency-Key conflict — key reused with different body
25797
+ */
25798
+ 409: ErrorResponse;
25799
+ /**
25800
+ * Validation error
25801
+ */
25802
+ 422: ErrorResponse;
25803
+ /**
25804
+ * Rate limit exceeded
25805
+ */
25806
+ 429: ErrorResponse;
25807
+ /**
25808
+ * Internal server error
25809
+ */
25810
+ 500: ErrorResponse;
25811
+ };
25812
+ export type BlockSourceGraphError = BlockSourceGraphErrors[keyof BlockSourceGraphErrors];
25813
+ export type BlockSourceGraphResponses = {
25814
+ /**
25815
+ * Successful Response
25816
+ */
25817
+ 200: OperationEnvelopeBlockSourceGraphResult;
25818
+ };
25819
+ export type BlockSourceGraphResponse = BlockSourceGraphResponses[keyof BlockSourceGraphResponses];
25820
+ export type UnblockSourceGraphData = {
25821
+ body: UnblockSourceGraphOperation;
25822
+ headers?: {
25823
+ /**
25824
+ * Idempotency-Key
25825
+ */
25826
+ 'Idempotency-Key'?: string | null;
25827
+ };
25828
+ path: {
25829
+ /**
25830
+ * Graph Id
25831
+ */
25832
+ graph_id: string;
25833
+ };
25834
+ query?: never;
25835
+ url: '/extensions/roboledger/{graph_id}/operations/unblock-source-graph';
25836
+ };
25837
+ export type UnblockSourceGraphErrors = {
25838
+ /**
25839
+ * Invalid request
25840
+ */
25841
+ 400: ErrorResponse;
25842
+ /**
25843
+ * Authentication required
25844
+ */
25845
+ 401: ErrorResponse;
25846
+ /**
25847
+ * Access denied
25848
+ */
25849
+ 403: ErrorResponse;
25850
+ /**
25851
+ * Resource not found
25852
+ */
25853
+ 404: ErrorResponse;
25854
+ /**
25855
+ * Idempotency-Key conflict — key reused with different body
25856
+ */
25857
+ 409: ErrorResponse;
25858
+ /**
25859
+ * Validation error
25860
+ */
25861
+ 422: ErrorResponse;
25862
+ /**
25863
+ * Rate limit exceeded
25864
+ */
25865
+ 429: ErrorResponse;
25866
+ /**
25867
+ * Internal server error
25868
+ */
25869
+ 500: ErrorResponse;
25870
+ };
25871
+ export type UnblockSourceGraphError = UnblockSourceGraphErrors[keyof UnblockSourceGraphErrors];
25872
+ export type UnblockSourceGraphResponses = {
25873
+ /**
25874
+ * Successful Response
25875
+ */
25876
+ 200: OperationEnvelopeBlockedSourceGraphResponse;
25877
+ };
25878
+ export type UnblockSourceGraphResponse = UnblockSourceGraphResponses[keyof UnblockSourceGraphResponses];
25429
25879
  export type LiveFinancialStatementData = {
25430
25880
  body: LiveFinancialStatementRequest;
25431
25881
  headers?: {