@brazosd/node 0.1.6 → 0.1.8

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/browser.d.ts CHANGED
@@ -1542,6 +1542,10 @@ type ContinueAgentSession = {
1542
1542
  * Legacy compatibility field for temporary attachment paths. New clients should use `attachmentPaths`.
1543
1543
  */
1544
1544
  attachmentTmpPaths?: Array<string>;
1545
+ /**
1546
+ * If the session was automatically archived for inactivity, continue from its archive checkpoint in a new session. The response identifies the session to use for subsequent inputs. Manually archived sessions reject continuation.
1547
+ */
1548
+ forkOnInactivity?: boolean;
1545
1549
  /**
1546
1550
  * Next user prompt to append to the session.
1547
1551
  */
@@ -1567,6 +1571,10 @@ type CopyCloudDriveFnodeRequest = {
1567
1571
  * Whether an existing file or directory at the destination may be replaced. Directory replacement is transactional and preserves the destination directory fnode.
1568
1572
  */
1569
1573
  overwrite?: boolean;
1574
+ /**
1575
+ * Copy read-only reference entries as references to the source entry. The default materializes their contents.
1576
+ */
1577
+ preserveReferences?: boolean;
1570
1578
  /**
1571
1579
  * Canonical source path to copy from. Unicode text; percent sequences and plus signs are literal filename characters, not URL encoding.
1572
1580
  */
@@ -1639,6 +1647,10 @@ type CreateAgentSession = {
1639
1647
  */
1640
1648
  attachmentTmpPaths?: Array<string>;
1641
1649
  initialClientMcp?: InitialClientMCP;
1650
+ /**
1651
+ * Visible remote MCP installation to load for this session before its first turn, alongside agent defaults.
1652
+ */
1653
+ initialRemoteMcpId?: string;
1642
1654
  /**
1643
1655
  * Optional model ID to use for the session. If omitted, the agent model is used.
1644
1656
  */
@@ -2868,7 +2880,11 @@ type Quota = {
2868
2880
  */
2869
2881
  limit?: number | null;
2870
2882
  /**
2871
- * Current usage measured with the quota key's counting semantics.
2883
+ * The resource service could not report a current measurement. Omit the usage display.
2884
+ */
2885
+ usageUnavailable?: boolean;
2886
+ /**
2887
+ * Current usage when usageUnavailable is absent or false.
2872
2888
  */
2873
2889
  used: number;
2874
2890
  };
@@ -4386,8 +4402,12 @@ declare class DefaultService {
4386
4402
  * @returns AgentSession Agent session created
4387
4403
  * @throws ApiError
4388
4404
  */
4389
- createAgentSession({ requestBody, }: {
4405
+ createAgentSession({ requestBody, xBrazosdIdempotentKey, }: {
4390
4406
  requestBody: CreateAgentSession;
4407
+ /**
4408
+ * Optional UUID identifying one logical request for this organization and user. Reuse the same key when retrying the same operation, target and body. Conflicting reuse returns HTTP 409.
4409
+ */
4410
+ xBrazosdIdempotentKey?: string;
4391
4411
  }): CancelablePromise<AgentSession>;
4392
4412
  /**
4393
4413
  * Select the lazy sandbox source for a session
@@ -4492,16 +4512,20 @@ declare class DefaultService {
4492
4512
  }): CancelablePromise<AgentSession>;
4493
4513
  /**
4494
4514
  * Continue agent session
4495
- * Append a new user prompt to an unarchived managed agent session. Active sessions queue the input; finished, interrupted and failed sessions start a new run over the existing history.
4515
+ * Append a user prompt to a managed session. Active sessions queue the input and terminal sessions start a new run over their history. Set forkOnInactivity to continue from an automatic archive checkpoint.
4496
4516
  * @returns AgentSession Agent session continued
4497
4517
  * @throws ApiError
4498
4518
  */
4499
- continueAgentSession({ sessionId, requestBody, }: {
4519
+ continueAgentSession({ sessionId, requestBody, xBrazosdIdempotentKey, }: {
4500
4520
  /**
4501
4521
  * UUID of the session to continue.
4502
4522
  */
4503
4523
  sessionId: string;
4504
4524
  requestBody: ContinueAgentSession;
4525
+ /**
4526
+ * Optional UUID identifying one logical request for this organization and user. Reuse the same key when retrying the same operation, target and body. Conflicting reuse returns HTTP 409.
4527
+ */
4528
+ xBrazosdIdempotentKey?: string;
4505
4529
  }): CancelablePromise<AgentSession>;
4506
4530
  /**
4507
4531
  * Get agent session events
@@ -6422,8 +6446,9 @@ declare class DefaultService {
6422
6446
  username: string;
6423
6447
  }): CancelablePromise<void>;
6424
6448
  /**
6425
- * Update a managed member's display name by qualified name
6426
- * @returns OrgUser Managed member updated
6449
+ * Update an organization member's display name by qualified name
6450
+ * Update the display name of an active human member or an organization-managed account in the current organization.
6451
+ * @returns OrgUser Organization member updated
6427
6452
  * @throws ApiError
6428
6453
  */
6429
6454
  updateManagedOrgUserByName({ namespace, username, requestBody, }: {
@@ -6474,8 +6499,9 @@ declare class DefaultService {
6474
6499
  userId: number;
6475
6500
  }): CancelablePromise<void>;
6476
6501
  /**
6477
- * Update a managed member's display name
6478
- * @returns OrgUser Managed member updated
6502
+ * Update an organization member's display name
6503
+ * Update the display name of an active human member or an organization-managed account in the current organization.
6504
+ * @returns OrgUser Organization member updated
6479
6505
  * @throws ApiError
6480
6506
  */
6481
6507
  updateManagedOrgUser({ userId, requestBody, }: {
@@ -8109,6 +8135,27 @@ type RootDomainInput = {
8109
8135
  type RootDomainSettings = {
8110
8136
  isDefault: boolean;
8111
8137
  };
8138
+ type TransactionalEvent = {
8139
+ id: string;
8140
+ state: "pending" | "delivering" | "retrying" | "delivered" | "failed";
8141
+ attempts: number;
8142
+ createdAt: string;
8143
+ nextAttemptAt?: string;
8144
+ finishedAt?: string;
8145
+ lastError?: string;
8146
+ };
8147
+ type TransactionalEventQueue = {
8148
+ items: Array<TransactionalEvent>;
8149
+ nextCursor?: string;
8150
+ /**
8151
+ * Active deliveries across this tenant
8152
+ */
8153
+ inUse: number;
8154
+ /**
8155
+ * Effective tenant concurrency. Zero pauses admission. An absent limit means unlimited.
8156
+ */
8157
+ concurrency?: number | null;
8158
+ };
8112
8159
  type Usage = {
8113
8160
  kind: "function" | "sqlite";
8114
8161
  resourceId: string;
@@ -8501,6 +8548,14 @@ declare class DefaultService$2 {
8501
8548
  deleteDatabase({ id, }: {
8502
8549
  id: string;
8503
8550
  }): CancelablePromise<any>;
8551
+ /**
8552
+ * @returns TransactionalEventQueue Recent committed events and the shared organization delivery limit
8553
+ * @throws ApiError
8554
+ */
8555
+ listDatabaseEvents({ id, before, }: {
8556
+ id: string;
8557
+ before?: string;
8558
+ }): CancelablePromise<TransactionalEventQueue>;
8504
8559
  /**
8505
8560
  * Create a writable branch of a ready buffered primary database. The branch has its own credentials, endpoint, quota and billing. It supports online backups. Offline backups, in-place rollback and creating user branches require a primary database.
8506
8561
  * @returns Database Durable creation accepted. Poll the database until ready before connecting.
package/browser.js CHANGED
@@ -1280,18 +1280,23 @@ var DefaultService = class {
1280
1280
  * @throws ApiError
1281
1281
  */
1282
1282
  createAgentSession({
1283
- requestBody
1283
+ requestBody,
1284
+ xBrazosdIdempotentKey
1284
1285
  }) {
1285
1286
  return this.httpRequest.request({
1286
1287
  method: "POST",
1287
1288
  url: "/agent-sessions",
1289
+ headers: {
1290
+ "X-Brazosd-Idempotent-Key": xBrazosdIdempotentKey
1291
+ },
1288
1292
  body: requestBody,
1289
1293
  mediaType: "application/json",
1290
1294
  errors: {
1291
1295
  400: `Invalid request`,
1292
1296
  402: `Payment required`,
1293
1297
  403: `Forbidden`,
1294
- 404: `Agent not found`
1298
+ 404: `Agent not found`,
1299
+ 409: `Idempotent key already used with a different request`
1295
1300
  }
1296
1301
  });
1297
1302
  }
@@ -1521,13 +1526,14 @@ var DefaultService = class {
1521
1526
  }
1522
1527
  /**
1523
1528
  * Continue agent session
1524
- * Append a new user prompt to an unarchived managed agent session. Active sessions queue the input; finished, interrupted and failed sessions start a new run over the existing history.
1529
+ * Append a user prompt to a managed session. Active sessions queue the input and terminal sessions start a new run over their history. Set forkOnInactivity to continue from an automatic archive checkpoint.
1525
1530
  * @returns AgentSession Agent session continued
1526
1531
  * @throws ApiError
1527
1532
  */
1528
1533
  continueAgentSession({
1529
1534
  sessionId,
1530
- requestBody
1535
+ requestBody,
1536
+ xBrazosdIdempotentKey
1531
1537
  }) {
1532
1538
  return this.httpRequest.request({
1533
1539
  method: "POST",
@@ -1535,6 +1541,9 @@ var DefaultService = class {
1535
1541
  path: {
1536
1542
  "sessionId": sessionId
1537
1543
  },
1544
+ headers: {
1545
+ "X-Brazosd-Idempotent-Key": xBrazosdIdempotentKey
1546
+ },
1538
1547
  body: requestBody,
1539
1548
  mediaType: "application/json",
1540
1549
  errors: {
@@ -1542,7 +1551,7 @@ var DefaultService = class {
1542
1551
  402: `Payment required`,
1543
1552
  403: `Forbidden`,
1544
1553
  404: `Agent session not found`,
1545
- 409: `Agent session cannot accept more input`
1554
+ 409: `Agent session cannot accept more input or the idempotent key was used with a different request`
1546
1555
  }
1547
1556
  });
1548
1557
  }
@@ -3666,7 +3675,8 @@ var DefaultService = class {
3666
3675
  400: `Invalid request`,
3667
3676
  403: `Forbidden`,
3668
3677
  404: `Entry not found`,
3669
- 409: `Destination already exists or invalid descendant target`
3678
+ 409: `Destination conflict, invalid reference or descendant target, or estimated growth exceeds the organization node quota`,
3679
+ 503: `The node usage snapshot is delayed. Retry the bulk copy after the indicated Retry-After interval.`
3670
3680
  }
3671
3681
  });
3672
3682
  }
@@ -5258,8 +5268,9 @@ var DefaultService = class {
5258
5268
  });
5259
5269
  }
5260
5270
  /**
5261
- * Update a managed member's display name by qualified name
5262
- * @returns OrgUser Managed member updated
5271
+ * Update an organization member's display name by qualified name
5272
+ * Update the display name of an active human member or an organization-managed account in the current organization.
5273
+ * @returns OrgUser Organization member updated
5263
5274
  * @throws ApiError
5264
5275
  */
5265
5276
  updateManagedOrgUserByName({
@@ -5278,7 +5289,7 @@ var DefaultService = class {
5278
5289
  mediaType: "application/json",
5279
5290
  errors: {
5280
5291
  403: `Operation RN permission required for enterprise organizations; owner required for ordinary organizations`,
5281
- 404: `Managed member not found in this organization`
5292
+ 404: `Member not found or ineligible for editing in this organization`
5282
5293
  }
5283
5294
  });
5284
5295
  }
@@ -5377,8 +5388,9 @@ var DefaultService = class {
5377
5388
  });
5378
5389
  }
5379
5390
  /**
5380
- * Update a managed member's display name
5381
- * @returns OrgUser Managed member updated
5391
+ * Update an organization member's display name
5392
+ * Update the display name of an active human member or an organization-managed account in the current organization.
5393
+ * @returns OrgUser Organization member updated
5382
5394
  * @throws ApiError
5383
5395
  */
5384
5396
  updateManagedOrgUser({
@@ -5395,7 +5407,7 @@ var DefaultService = class {
5395
5407
  mediaType: "application/json",
5396
5408
  errors: {
5397
5409
  403: `Operation RN permission required for enterprise organizations; owner required for ordinary organizations`,
5398
- 404: `Managed member not found in this organization`
5410
+ 404: `Member not found or ineligible for editing in this organization`
5399
5411
  }
5400
5412
  });
5401
5413
  }
@@ -8597,6 +8609,29 @@ var DefaultService3 = class {
8597
8609
  }
8598
8610
  });
8599
8611
  }
8612
+ /**
8613
+ * @returns TransactionalEventQueue Recent committed events and the shared organization delivery limit
8614
+ * @throws ApiError
8615
+ */
8616
+ listDatabaseEvents({
8617
+ id,
8618
+ before
8619
+ }) {
8620
+ return this.httpRequest.request({
8621
+ method: "GET",
8622
+ url: "/databases/{id}/event-queue",
8623
+ path: {
8624
+ "id": id
8625
+ },
8626
+ query: {
8627
+ "before": before
8628
+ },
8629
+ errors: {
8630
+ 404: `Database not found in this organization`,
8631
+ 503: `Event queue currently unavailable`
8632
+ }
8633
+ });
8634
+ }
8600
8635
  /**
8601
8636
  * Create a writable branch of a ready buffered primary database. The branch has its own credentials, endpoint, quota and billing. It supports online backups. Offline backups, in-place rollback and creating user branches require a primary database.
8602
8637
  * @returns Database Durable creation accepted. Poll the database until ready before connecting.
@@ -9482,7 +9517,8 @@ var operations = {
9482
9517
  "400": "void",
9483
9518
  "402": "void",
9484
9519
  "403": "void",
9485
- "404": "void"
9520
+ "404": "void",
9521
+ "409": "void"
9486
9522
  }
9487
9523
  },
9488
9524
  "PUT /agent-sessions/{sessionID}/sandbox-snapshot": {
@@ -10458,7 +10494,8 @@ var operations = {
10458
10494
  "400": "void",
10459
10495
  "403": "void",
10460
10496
  "404": "void",
10461
- "409": "void"
10497
+ "409": "void",
10498
+ "503": "void"
10462
10499
  }
10463
10500
  },
10464
10501
  "POST /cloud-drive/dirs": {
@@ -12661,6 +12698,15 @@ var operations = {
12661
12698
  "503": "void"
12662
12699
  }
12663
12700
  },
12701
+ "GET /databases/{id}/event-queue": {
12702
+ "authenticated": true,
12703
+ "redirect": false,
12704
+ "responses": {
12705
+ "200": "json",
12706
+ "404": "void",
12707
+ "503": "void"
12708
+ }
12709
+ },
12664
12710
  "POST /databases/{id}/branches": {
12665
12711
  "authenticated": true,
12666
12712
  "redirect": false,
package/index.d.ts CHANGED
@@ -1544,6 +1544,10 @@ type ContinueAgentSession = {
1544
1544
  * Legacy compatibility field for temporary attachment paths. New clients should use `attachmentPaths`.
1545
1545
  */
1546
1546
  attachmentTmpPaths?: Array<string>;
1547
+ /**
1548
+ * If the session was automatically archived for inactivity, continue from its archive checkpoint in a new session. The response identifies the session to use for subsequent inputs. Manually archived sessions reject continuation.
1549
+ */
1550
+ forkOnInactivity?: boolean;
1547
1551
  /**
1548
1552
  * Next user prompt to append to the session.
1549
1553
  */
@@ -1569,6 +1573,10 @@ type CopyCloudDriveFnodeRequest = {
1569
1573
  * Whether an existing file or directory at the destination may be replaced. Directory replacement is transactional and preserves the destination directory fnode.
1570
1574
  */
1571
1575
  overwrite?: boolean;
1576
+ /**
1577
+ * Copy read-only reference entries as references to the source entry. The default materializes their contents.
1578
+ */
1579
+ preserveReferences?: boolean;
1572
1580
  /**
1573
1581
  * Canonical source path to copy from. Unicode text; percent sequences and plus signs are literal filename characters, not URL encoding.
1574
1582
  */
@@ -1641,6 +1649,10 @@ type CreateAgentSession = {
1641
1649
  */
1642
1650
  attachmentTmpPaths?: Array<string>;
1643
1651
  initialClientMcp?: InitialClientMCP;
1652
+ /**
1653
+ * Visible remote MCP installation to load for this session before its first turn, alongside agent defaults.
1654
+ */
1655
+ initialRemoteMcpId?: string;
1644
1656
  /**
1645
1657
  * Optional model ID to use for the session. If omitted, the agent model is used.
1646
1658
  */
@@ -2870,7 +2882,11 @@ type Quota = {
2870
2882
  */
2871
2883
  limit?: number | null;
2872
2884
  /**
2873
- * Current usage measured with the quota key's counting semantics.
2885
+ * The resource service could not report a current measurement. Omit the usage display.
2886
+ */
2887
+ usageUnavailable?: boolean;
2888
+ /**
2889
+ * Current usage when usageUnavailable is absent or false.
2874
2890
  */
2875
2891
  used: number;
2876
2892
  };
@@ -4388,8 +4404,12 @@ declare class DefaultService {
4388
4404
  * @returns AgentSession Agent session created
4389
4405
  * @throws ApiError
4390
4406
  */
4391
- createAgentSession({ requestBody, }: {
4407
+ createAgentSession({ requestBody, xBrazosdIdempotentKey, }: {
4392
4408
  requestBody: CreateAgentSession;
4409
+ /**
4410
+ * Optional UUID identifying one logical request for this organization and user. Reuse the same key when retrying the same operation, target and body. Conflicting reuse returns HTTP 409.
4411
+ */
4412
+ xBrazosdIdempotentKey?: string;
4393
4413
  }): CancelablePromise<AgentSession>;
4394
4414
  /**
4395
4415
  * Select the lazy sandbox source for a session
@@ -4494,16 +4514,20 @@ declare class DefaultService {
4494
4514
  }): CancelablePromise<AgentSession>;
4495
4515
  /**
4496
4516
  * Continue agent session
4497
- * Append a new user prompt to an unarchived managed agent session. Active sessions queue the input; finished, interrupted and failed sessions start a new run over the existing history.
4517
+ * Append a user prompt to a managed session. Active sessions queue the input and terminal sessions start a new run over their history. Set forkOnInactivity to continue from an automatic archive checkpoint.
4498
4518
  * @returns AgentSession Agent session continued
4499
4519
  * @throws ApiError
4500
4520
  */
4501
- continueAgentSession({ sessionId, requestBody, }: {
4521
+ continueAgentSession({ sessionId, requestBody, xBrazosdIdempotentKey, }: {
4502
4522
  /**
4503
4523
  * UUID of the session to continue.
4504
4524
  */
4505
4525
  sessionId: string;
4506
4526
  requestBody: ContinueAgentSession;
4527
+ /**
4528
+ * Optional UUID identifying one logical request for this organization and user. Reuse the same key when retrying the same operation, target and body. Conflicting reuse returns HTTP 409.
4529
+ */
4530
+ xBrazosdIdempotentKey?: string;
4507
4531
  }): CancelablePromise<AgentSession>;
4508
4532
  /**
4509
4533
  * Get agent session events
@@ -6424,8 +6448,9 @@ declare class DefaultService {
6424
6448
  username: string;
6425
6449
  }): CancelablePromise<void>;
6426
6450
  /**
6427
- * Update a managed member's display name by qualified name
6428
- * @returns OrgUser Managed member updated
6451
+ * Update an organization member's display name by qualified name
6452
+ * Update the display name of an active human member or an organization-managed account in the current organization.
6453
+ * @returns OrgUser Organization member updated
6429
6454
  * @throws ApiError
6430
6455
  */
6431
6456
  updateManagedOrgUserByName({ namespace, username, requestBody, }: {
@@ -6476,8 +6501,9 @@ declare class DefaultService {
6476
6501
  userId: number;
6477
6502
  }): CancelablePromise<void>;
6478
6503
  /**
6479
- * Update a managed member's display name
6480
- * @returns OrgUser Managed member updated
6504
+ * Update an organization member's display name
6505
+ * Update the display name of an active human member or an organization-managed account in the current organization.
6506
+ * @returns OrgUser Organization member updated
6481
6507
  * @throws ApiError
6482
6508
  */
6483
6509
  updateManagedOrgUser({ userId, requestBody, }: {
@@ -8111,6 +8137,27 @@ type RootDomainInput = {
8111
8137
  type RootDomainSettings = {
8112
8138
  isDefault: boolean;
8113
8139
  };
8140
+ type TransactionalEvent = {
8141
+ id: string;
8142
+ state: "pending" | "delivering" | "retrying" | "delivered" | "failed";
8143
+ attempts: number;
8144
+ createdAt: string;
8145
+ nextAttemptAt?: string;
8146
+ finishedAt?: string;
8147
+ lastError?: string;
8148
+ };
8149
+ type TransactionalEventQueue = {
8150
+ items: Array<TransactionalEvent>;
8151
+ nextCursor?: string;
8152
+ /**
8153
+ * Active deliveries across this tenant
8154
+ */
8155
+ inUse: number;
8156
+ /**
8157
+ * Effective tenant concurrency. Zero pauses admission. An absent limit means unlimited.
8158
+ */
8159
+ concurrency?: number | null;
8160
+ };
8114
8161
  type Usage = {
8115
8162
  kind: "function" | "sqlite";
8116
8163
  resourceId: string;
@@ -8503,6 +8550,14 @@ declare class DefaultService$2 {
8503
8550
  deleteDatabase({ id, }: {
8504
8551
  id: string;
8505
8552
  }): CancelablePromise<any>;
8553
+ /**
8554
+ * @returns TransactionalEventQueue Recent committed events and the shared organization delivery limit
8555
+ * @throws ApiError
8556
+ */
8557
+ listDatabaseEvents({ id, before, }: {
8558
+ id: string;
8559
+ before?: string;
8560
+ }): CancelablePromise<TransactionalEventQueue>;
8506
8561
  /**
8507
8562
  * Create a writable branch of a ready buffered primary database. The branch has its own credentials, endpoint, quota and billing. It supports online backups. Offline backups, in-place rollback and creating user branches require a primary database.
8508
8563
  * @returns Database Durable creation accepted. Poll the database until ready before connecting.
package/index.js CHANGED
@@ -1280,18 +1280,23 @@ var DefaultService = class {
1280
1280
  * @throws ApiError
1281
1281
  */
1282
1282
  createAgentSession({
1283
- requestBody
1283
+ requestBody,
1284
+ xBrazosdIdempotentKey
1284
1285
  }) {
1285
1286
  return this.httpRequest.request({
1286
1287
  method: "POST",
1287
1288
  url: "/agent-sessions",
1289
+ headers: {
1290
+ "X-Brazosd-Idempotent-Key": xBrazosdIdempotentKey
1291
+ },
1288
1292
  body: requestBody,
1289
1293
  mediaType: "application/json",
1290
1294
  errors: {
1291
1295
  400: `Invalid request`,
1292
1296
  402: `Payment required`,
1293
1297
  403: `Forbidden`,
1294
- 404: `Agent not found`
1298
+ 404: `Agent not found`,
1299
+ 409: `Idempotent key already used with a different request`
1295
1300
  }
1296
1301
  });
1297
1302
  }
@@ -1521,13 +1526,14 @@ var DefaultService = class {
1521
1526
  }
1522
1527
  /**
1523
1528
  * Continue agent session
1524
- * Append a new user prompt to an unarchived managed agent session. Active sessions queue the input; finished, interrupted and failed sessions start a new run over the existing history.
1529
+ * Append a user prompt to a managed session. Active sessions queue the input and terminal sessions start a new run over their history. Set forkOnInactivity to continue from an automatic archive checkpoint.
1525
1530
  * @returns AgentSession Agent session continued
1526
1531
  * @throws ApiError
1527
1532
  */
1528
1533
  continueAgentSession({
1529
1534
  sessionId,
1530
- requestBody
1535
+ requestBody,
1536
+ xBrazosdIdempotentKey
1531
1537
  }) {
1532
1538
  return this.httpRequest.request({
1533
1539
  method: "POST",
@@ -1535,6 +1541,9 @@ var DefaultService = class {
1535
1541
  path: {
1536
1542
  "sessionId": sessionId
1537
1543
  },
1544
+ headers: {
1545
+ "X-Brazosd-Idempotent-Key": xBrazosdIdempotentKey
1546
+ },
1538
1547
  body: requestBody,
1539
1548
  mediaType: "application/json",
1540
1549
  errors: {
@@ -1542,7 +1551,7 @@ var DefaultService = class {
1542
1551
  402: `Payment required`,
1543
1552
  403: `Forbidden`,
1544
1553
  404: `Agent session not found`,
1545
- 409: `Agent session cannot accept more input`
1554
+ 409: `Agent session cannot accept more input or the idempotent key was used with a different request`
1546
1555
  }
1547
1556
  });
1548
1557
  }
@@ -3666,7 +3675,8 @@ var DefaultService = class {
3666
3675
  400: `Invalid request`,
3667
3676
  403: `Forbidden`,
3668
3677
  404: `Entry not found`,
3669
- 409: `Destination already exists or invalid descendant target`
3678
+ 409: `Destination conflict, invalid reference or descendant target, or estimated growth exceeds the organization node quota`,
3679
+ 503: `The node usage snapshot is delayed. Retry the bulk copy after the indicated Retry-After interval.`
3670
3680
  }
3671
3681
  });
3672
3682
  }
@@ -5258,8 +5268,9 @@ var DefaultService = class {
5258
5268
  });
5259
5269
  }
5260
5270
  /**
5261
- * Update a managed member's display name by qualified name
5262
- * @returns OrgUser Managed member updated
5271
+ * Update an organization member's display name by qualified name
5272
+ * Update the display name of an active human member or an organization-managed account in the current organization.
5273
+ * @returns OrgUser Organization member updated
5263
5274
  * @throws ApiError
5264
5275
  */
5265
5276
  updateManagedOrgUserByName({
@@ -5278,7 +5289,7 @@ var DefaultService = class {
5278
5289
  mediaType: "application/json",
5279
5290
  errors: {
5280
5291
  403: `Operation RN permission required for enterprise organizations; owner required for ordinary organizations`,
5281
- 404: `Managed member not found in this organization`
5292
+ 404: `Member not found or ineligible for editing in this organization`
5282
5293
  }
5283
5294
  });
5284
5295
  }
@@ -5377,8 +5388,9 @@ var DefaultService = class {
5377
5388
  });
5378
5389
  }
5379
5390
  /**
5380
- * Update a managed member's display name
5381
- * @returns OrgUser Managed member updated
5391
+ * Update an organization member's display name
5392
+ * Update the display name of an active human member or an organization-managed account in the current organization.
5393
+ * @returns OrgUser Organization member updated
5382
5394
  * @throws ApiError
5383
5395
  */
5384
5396
  updateManagedOrgUser({
@@ -5395,7 +5407,7 @@ var DefaultService = class {
5395
5407
  mediaType: "application/json",
5396
5408
  errors: {
5397
5409
  403: `Operation RN permission required for enterprise organizations; owner required for ordinary organizations`,
5398
- 404: `Managed member not found in this organization`
5410
+ 404: `Member not found or ineligible for editing in this organization`
5399
5411
  }
5400
5412
  });
5401
5413
  }
@@ -8597,6 +8609,29 @@ var DefaultService3 = class {
8597
8609
  }
8598
8610
  });
8599
8611
  }
8612
+ /**
8613
+ * @returns TransactionalEventQueue Recent committed events and the shared organization delivery limit
8614
+ * @throws ApiError
8615
+ */
8616
+ listDatabaseEvents({
8617
+ id,
8618
+ before
8619
+ }) {
8620
+ return this.httpRequest.request({
8621
+ method: "GET",
8622
+ url: "/databases/{id}/event-queue",
8623
+ path: {
8624
+ "id": id
8625
+ },
8626
+ query: {
8627
+ "before": before
8628
+ },
8629
+ errors: {
8630
+ 404: `Database not found in this organization`,
8631
+ 503: `Event queue currently unavailable`
8632
+ }
8633
+ });
8634
+ }
8600
8635
  /**
8601
8636
  * Create a writable branch of a ready buffered primary database. The branch has its own credentials, endpoint, quota and billing. It supports online backups. Offline backups, in-place rollback and creating user branches require a primary database.
8602
8637
  * @returns Database Durable creation accepted. Poll the database until ready before connecting.
@@ -9482,7 +9517,8 @@ var operations = {
9482
9517
  "400": "void",
9483
9518
  "402": "void",
9484
9519
  "403": "void",
9485
- "404": "void"
9520
+ "404": "void",
9521
+ "409": "void"
9486
9522
  }
9487
9523
  },
9488
9524
  "PUT /agent-sessions/{sessionID}/sandbox-snapshot": {
@@ -10458,7 +10494,8 @@ var operations = {
10458
10494
  "400": "void",
10459
10495
  "403": "void",
10460
10496
  "404": "void",
10461
- "409": "void"
10497
+ "409": "void",
10498
+ "503": "void"
10462
10499
  }
10463
10500
  },
10464
10501
  "POST /cloud-drive/dirs": {
@@ -12661,6 +12698,15 @@ var operations = {
12661
12698
  "503": "void"
12662
12699
  }
12663
12700
  },
12701
+ "GET /databases/{id}/event-queue": {
12702
+ "authenticated": true,
12703
+ "redirect": false,
12704
+ "responses": {
12705
+ "200": "json",
12706
+ "404": "void",
12707
+ "503": "void"
12708
+ }
12709
+ },
12664
12710
  "POST /databases/{id}/branches": {
12665
12711
  "authenticated": true,
12666
12712
  "redirect": false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brazosd/node",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
4
4
  "description": "Brazosd Node.js SDK with automatic cloud function identity",
5
5
  "repository": {
6
6
  "type": "git",