agentmail 0.0.49 → 0.0.50

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.
Files changed (30) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/drafts/types/CreateDraftRequest.d.ts +1 -0
  3. package/dist/cjs/api/resources/drafts/types/Draft.d.ts +2 -0
  4. package/dist/cjs/api/resources/drafts/types/DraftItem.d.ts +2 -0
  5. package/dist/cjs/api/resources/drafts/types/DraftSendAt.d.ts +7 -0
  6. package/dist/cjs/api/resources/drafts/types/DraftSendAt.js +5 -0
  7. package/dist/cjs/api/resources/drafts/types/DraftSendStatus.d.ts +12 -0
  8. package/dist/cjs/api/resources/drafts/types/DraftSendStatus.js +11 -0
  9. package/dist/cjs/api/resources/drafts/types/index.d.ts +2 -0
  10. package/dist/cjs/api/resources/drafts/types/index.js +2 -0
  11. package/dist/cjs/api/resources/inboxes/resources/drafts/client/Client.d.ts +14 -1
  12. package/dist/cjs/api/resources/inboxes/resources/drafts/client/Client.js +58 -1
  13. package/dist/cjs/version.d.ts +1 -1
  14. package/dist/cjs/version.js +1 -1
  15. package/dist/esm/Client.mjs +2 -2
  16. package/dist/esm/api/resources/drafts/types/CreateDraftRequest.d.mts +1 -0
  17. package/dist/esm/api/resources/drafts/types/Draft.d.mts +2 -0
  18. package/dist/esm/api/resources/drafts/types/DraftItem.d.mts +2 -0
  19. package/dist/esm/api/resources/drafts/types/DraftSendAt.d.mts +7 -0
  20. package/dist/esm/api/resources/drafts/types/DraftSendAt.mjs +4 -0
  21. package/dist/esm/api/resources/drafts/types/DraftSendStatus.d.mts +12 -0
  22. package/dist/esm/api/resources/drafts/types/DraftSendStatus.mjs +8 -0
  23. package/dist/esm/api/resources/drafts/types/index.d.mts +2 -0
  24. package/dist/esm/api/resources/drafts/types/index.mjs +2 -0
  25. package/dist/esm/api/resources/inboxes/resources/drafts/client/Client.d.mts +14 -1
  26. package/dist/esm/api/resources/inboxes/resources/drafts/client/Client.mjs +58 -1
  27. package/dist/esm/version.d.mts +1 -1
  28. package/dist/esm/version.mjs +1 -1
  29. package/package.json +1 -1
  30. package/reference.md +57 -0
@@ -51,8 +51,8 @@ class AgentMailClient {
51
51
  this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
52
52
  "X-Fern-Language": "JavaScript",
53
53
  "X-Fern-SDK-Name": "agentmail",
54
- "X-Fern-SDK-Version": "0.0.49",
55
- "User-Agent": "agentmail/0.0.49",
54
+ "X-Fern-SDK-Version": "0.0.50",
55
+ "User-Agent": "agentmail/0.0.50",
56
56
  "X-Fern-Runtime": core.RUNTIME.type,
57
57
  "X-Fern-Runtime-Version": core.RUNTIME.version,
58
58
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -11,4 +11,5 @@ export interface CreateDraftRequest {
11
11
  subject?: AgentMail.DraftSubject;
12
12
  text?: AgentMail.DraftText;
13
13
  html?: AgentMail.DraftHtml;
14
+ send_at?: AgentMail.DraftSendAt;
14
15
  }
@@ -20,6 +20,8 @@ export interface Draft {
20
20
  in_reply_to?: string;
21
21
  /** IDs of previous messages in thread. */
22
22
  references?: string[];
23
+ send_status?: AgentMail.DraftSendStatus;
24
+ send_at?: AgentMail.DraftSendAt;
23
25
  updated_at: AgentMail.DraftUpdatedAt;
24
26
  /** Time at which draft was created. */
25
27
  created_at: string;
@@ -13,5 +13,7 @@ export interface DraftItem {
13
13
  subject?: AgentMail.DraftSubject;
14
14
  preview?: AgentMail.DraftPreview;
15
15
  attachments?: AgentMail.DraftAttachments;
16
+ send_status?: AgentMail.DraftSendStatus;
17
+ send_at?: AgentMail.DraftSendAt;
16
18
  updated_at: AgentMail.DraftUpdatedAt;
17
19
  }
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Time at which to schedule send draft.
6
+ */
7
+ export type DraftSendAt = string;
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Schedule send status of draft.
6
+ */
7
+ export type DraftSendStatus = "scheduled" | "sending" | "failed";
8
+ export declare const DraftSendStatus: {
9
+ readonly Scheduled: "scheduled";
10
+ readonly Sending: "sending";
11
+ readonly Failed: "failed";
12
+ };
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.DraftSendStatus = void 0;
7
+ exports.DraftSendStatus = {
8
+ Scheduled: "scheduled",
9
+ Sending: "sending",
10
+ Failed: "failed",
11
+ };
@@ -9,6 +9,8 @@ export * from "./DraftPreview.js";
9
9
  export * from "./DraftText.js";
10
10
  export * from "./DraftHtml.js";
11
11
  export * from "./DraftAttachments.js";
12
+ export * from "./DraftSendStatus.js";
13
+ export * from "./DraftSendAt.js";
12
14
  export * from "./DraftUpdatedAt.js";
13
15
  export * from "./DraftItem.js";
14
16
  export * from "./Draft.js";
@@ -25,6 +25,8 @@ __exportStar(require("./DraftPreview.js"), exports);
25
25
  __exportStar(require("./DraftText.js"), exports);
26
26
  __exportStar(require("./DraftHtml.js"), exports);
27
27
  __exportStar(require("./DraftAttachments.js"), exports);
28
+ __exportStar(require("./DraftSendStatus.js"), exports);
29
+ __exportStar(require("./DraftSendAt.js"), exports);
28
30
  __exportStar(require("./DraftUpdatedAt.js"), exports);
29
31
  __exportStar(require("./DraftItem.js"), exports);
30
32
  __exportStar(require("./Draft.js"), exports);
@@ -67,7 +67,8 @@ export declare class Drafts {
67
67
  * bcc: undefined,
68
68
  * subject: undefined,
69
69
  * text: undefined,
70
- * html: undefined
70
+ * html: undefined,
71
+ * send_at: undefined
71
72
  * })
72
73
  */
73
74
  create(inboxId: AgentMail.inboxes.InboxId, request: AgentMail.CreateDraftRequest, requestOptions?: Drafts.RequestOptions): core.HttpResponsePromise<AgentMail.Draft>;
@@ -90,5 +91,17 @@ export declare class Drafts {
90
91
  */
91
92
  send(inboxId: AgentMail.inboxes.InboxId, draftId: AgentMail.DraftId, request: AgentMail.UpdateMessageRequest, requestOptions?: Drafts.RequestOptions): core.HttpResponsePromise<AgentMail.SendMessageResponse>;
92
93
  private __send;
94
+ /**
95
+ * @param {AgentMail.inboxes.InboxId} inboxId
96
+ * @param {AgentMail.DraftId} draftId
97
+ * @param {Drafts.RequestOptions} requestOptions - Request-specific configuration.
98
+ *
99
+ * @throws {@link AgentMail.NotFoundError}
100
+ *
101
+ * @example
102
+ * await client.inboxes.drafts.delete("inbox_id", "draft_id")
103
+ */
104
+ delete(inboxId: AgentMail.inboxes.InboxId, draftId: AgentMail.DraftId, requestOptions?: Drafts.RequestOptions): core.HttpResponsePromise<void>;
105
+ private __delete;
93
106
  protected _getAuthorizationHeader(): Promise<string>;
94
107
  }
@@ -199,7 +199,8 @@ class Drafts {
199
199
  * bcc: undefined,
200
200
  * subject: undefined,
201
201
  * text: undefined,
202
- * html: undefined
202
+ * html: undefined,
203
+ * send_at: undefined
203
204
  * })
204
205
  */
205
206
  create(inboxId, request, requestOptions) {
@@ -320,6 +321,62 @@ class Drafts {
320
321
  }
321
322
  });
322
323
  }
324
+ /**
325
+ * @param {AgentMail.inboxes.InboxId} inboxId
326
+ * @param {AgentMail.DraftId} draftId
327
+ * @param {Drafts.RequestOptions} requestOptions - Request-specific configuration.
328
+ *
329
+ * @throws {@link AgentMail.NotFoundError}
330
+ *
331
+ * @example
332
+ * await client.inboxes.drafts.delete("inbox_id", "draft_id")
333
+ */
334
+ delete(inboxId, draftId, requestOptions) {
335
+ return core.HttpResponsePromise.fromPromise(this.__delete(inboxId, draftId, requestOptions));
336
+ }
337
+ __delete(inboxId, draftId, requestOptions) {
338
+ return __awaiter(this, void 0, void 0, function* () {
339
+ var _a, _b, _c;
340
+ const _response = yield core.fetcher({
341
+ url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.AgentMailEnvironment.Production).http, `/v0/inboxes/${encodeURIComponent(inboxId)}/drafts/${encodeURIComponent(draftId)}`),
342
+ method: "DELETE",
343
+ headers: (0, headers_js_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
344
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
345
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
346
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
347
+ });
348
+ if (_response.ok) {
349
+ return { data: undefined, rawResponse: _response.rawResponse };
350
+ }
351
+ if (_response.error.reason === "status-code") {
352
+ switch (_response.error.statusCode) {
353
+ case 404:
354
+ throw new AgentMail.NotFoundError(_response.error.body, _response.rawResponse);
355
+ default:
356
+ throw new errors.AgentMailError({
357
+ statusCode: _response.error.statusCode,
358
+ body: _response.error.body,
359
+ rawResponse: _response.rawResponse,
360
+ });
361
+ }
362
+ }
363
+ switch (_response.error.reason) {
364
+ case "non-json":
365
+ throw new errors.AgentMailError({
366
+ statusCode: _response.error.statusCode,
367
+ body: _response.error.rawBody,
368
+ rawResponse: _response.rawResponse,
369
+ });
370
+ case "timeout":
371
+ throw new errors.AgentMailTimeoutError("Timeout exceeded when calling DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}.");
372
+ case "unknown":
373
+ throw new errors.AgentMailError({
374
+ message: _response.error.errorMessage,
375
+ rawResponse: _response.rawResponse,
376
+ });
377
+ }
378
+ });
379
+ }
323
380
  _getAuthorizationHeader() {
324
381
  return __awaiter(this, void 0, void 0, function* () {
325
382
  var _a;
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.49";
1
+ export declare const SDK_VERSION = "0.0.50";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.0.49";
4
+ exports.SDK_VERSION = "0.0.50";
@@ -15,8 +15,8 @@ export class AgentMailClient {
15
15
  this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
16
16
  "X-Fern-Language": "JavaScript",
17
17
  "X-Fern-SDK-Name": "agentmail",
18
- "X-Fern-SDK-Version": "0.0.49",
19
- "User-Agent": "agentmail/0.0.49",
18
+ "X-Fern-SDK-Version": "0.0.50",
19
+ "User-Agent": "agentmail/0.0.50",
20
20
  "X-Fern-Runtime": core.RUNTIME.type,
21
21
  "X-Fern-Runtime-Version": core.RUNTIME.version,
22
22
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -11,4 +11,5 @@ export interface CreateDraftRequest {
11
11
  subject?: AgentMail.DraftSubject;
12
12
  text?: AgentMail.DraftText;
13
13
  html?: AgentMail.DraftHtml;
14
+ send_at?: AgentMail.DraftSendAt;
14
15
  }
@@ -20,6 +20,8 @@ export interface Draft {
20
20
  in_reply_to?: string;
21
21
  /** IDs of previous messages in thread. */
22
22
  references?: string[];
23
+ send_status?: AgentMail.DraftSendStatus;
24
+ send_at?: AgentMail.DraftSendAt;
23
25
  updated_at: AgentMail.DraftUpdatedAt;
24
26
  /** Time at which draft was created. */
25
27
  created_at: string;
@@ -13,5 +13,7 @@ export interface DraftItem {
13
13
  subject?: AgentMail.DraftSubject;
14
14
  preview?: AgentMail.DraftPreview;
15
15
  attachments?: AgentMail.DraftAttachments;
16
+ send_status?: AgentMail.DraftSendStatus;
17
+ send_at?: AgentMail.DraftSendAt;
16
18
  updated_at: AgentMail.DraftUpdatedAt;
17
19
  }
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Time at which to schedule send draft.
6
+ */
7
+ export type DraftSendAt = string;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Schedule send status of draft.
6
+ */
7
+ export type DraftSendStatus = "scheduled" | "sending" | "failed";
8
+ export declare const DraftSendStatus: {
9
+ readonly Scheduled: "scheduled";
10
+ readonly Sending: "sending";
11
+ readonly Failed: "failed";
12
+ };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export const DraftSendStatus = {
5
+ Scheduled: "scheduled",
6
+ Sending: "sending",
7
+ Failed: "failed",
8
+ };
@@ -9,6 +9,8 @@ export * from "./DraftPreview.mjs";
9
9
  export * from "./DraftText.mjs";
10
10
  export * from "./DraftHtml.mjs";
11
11
  export * from "./DraftAttachments.mjs";
12
+ export * from "./DraftSendStatus.mjs";
13
+ export * from "./DraftSendAt.mjs";
12
14
  export * from "./DraftUpdatedAt.mjs";
13
15
  export * from "./DraftItem.mjs";
14
16
  export * from "./Draft.mjs";
@@ -9,6 +9,8 @@ export * from "./DraftPreview.mjs";
9
9
  export * from "./DraftText.mjs";
10
10
  export * from "./DraftHtml.mjs";
11
11
  export * from "./DraftAttachments.mjs";
12
+ export * from "./DraftSendStatus.mjs";
13
+ export * from "./DraftSendAt.mjs";
12
14
  export * from "./DraftUpdatedAt.mjs";
13
15
  export * from "./DraftItem.mjs";
14
16
  export * from "./Draft.mjs";
@@ -67,7 +67,8 @@ export declare class Drafts {
67
67
  * bcc: undefined,
68
68
  * subject: undefined,
69
69
  * text: undefined,
70
- * html: undefined
70
+ * html: undefined,
71
+ * send_at: undefined
71
72
  * })
72
73
  */
73
74
  create(inboxId: AgentMail.inboxes.InboxId, request: AgentMail.CreateDraftRequest, requestOptions?: Drafts.RequestOptions): core.HttpResponsePromise<AgentMail.Draft>;
@@ -90,5 +91,17 @@ export declare class Drafts {
90
91
  */
91
92
  send(inboxId: AgentMail.inboxes.InboxId, draftId: AgentMail.DraftId, request: AgentMail.UpdateMessageRequest, requestOptions?: Drafts.RequestOptions): core.HttpResponsePromise<AgentMail.SendMessageResponse>;
92
93
  private __send;
94
+ /**
95
+ * @param {AgentMail.inboxes.InboxId} inboxId
96
+ * @param {AgentMail.DraftId} draftId
97
+ * @param {Drafts.RequestOptions} requestOptions - Request-specific configuration.
98
+ *
99
+ * @throws {@link AgentMail.NotFoundError}
100
+ *
101
+ * @example
102
+ * await client.inboxes.drafts.delete("inbox_id", "draft_id")
103
+ */
104
+ delete(inboxId: AgentMail.inboxes.InboxId, draftId: AgentMail.DraftId, requestOptions?: Drafts.RequestOptions): core.HttpResponsePromise<void>;
105
+ private __delete;
93
106
  protected _getAuthorizationHeader(): Promise<string>;
94
107
  }
@@ -163,7 +163,8 @@ export class Drafts {
163
163
  * bcc: undefined,
164
164
  * subject: undefined,
165
165
  * text: undefined,
166
- * html: undefined
166
+ * html: undefined,
167
+ * send_at: undefined
167
168
  * })
168
169
  */
169
170
  create(inboxId, request, requestOptions) {
@@ -284,6 +285,62 @@ export class Drafts {
284
285
  }
285
286
  });
286
287
  }
288
+ /**
289
+ * @param {AgentMail.inboxes.InboxId} inboxId
290
+ * @param {AgentMail.DraftId} draftId
291
+ * @param {Drafts.RequestOptions} requestOptions - Request-specific configuration.
292
+ *
293
+ * @throws {@link AgentMail.NotFoundError}
294
+ *
295
+ * @example
296
+ * await client.inboxes.drafts.delete("inbox_id", "draft_id")
297
+ */
298
+ delete(inboxId, draftId, requestOptions) {
299
+ return core.HttpResponsePromise.fromPromise(this.__delete(inboxId, draftId, requestOptions));
300
+ }
301
+ __delete(inboxId, draftId, requestOptions) {
302
+ return __awaiter(this, void 0, void 0, function* () {
303
+ var _a, _b, _c;
304
+ const _response = yield core.fetcher({
305
+ url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.AgentMailEnvironment.Production).http, `/v0/inboxes/${encodeURIComponent(inboxId)}/drafts/${encodeURIComponent(draftId)}`),
306
+ method: "DELETE",
307
+ headers: mergeHeaders((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
308
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
309
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
310
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
311
+ });
312
+ if (_response.ok) {
313
+ return { data: undefined, rawResponse: _response.rawResponse };
314
+ }
315
+ if (_response.error.reason === "status-code") {
316
+ switch (_response.error.statusCode) {
317
+ case 404:
318
+ throw new AgentMail.NotFoundError(_response.error.body, _response.rawResponse);
319
+ default:
320
+ throw new errors.AgentMailError({
321
+ statusCode: _response.error.statusCode,
322
+ body: _response.error.body,
323
+ rawResponse: _response.rawResponse,
324
+ });
325
+ }
326
+ }
327
+ switch (_response.error.reason) {
328
+ case "non-json":
329
+ throw new errors.AgentMailError({
330
+ statusCode: _response.error.statusCode,
331
+ body: _response.error.rawBody,
332
+ rawResponse: _response.rawResponse,
333
+ });
334
+ case "timeout":
335
+ throw new errors.AgentMailTimeoutError("Timeout exceeded when calling DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}.");
336
+ case "unknown":
337
+ throw new errors.AgentMailError({
338
+ message: _response.error.errorMessage,
339
+ rawResponse: _response.rawResponse,
340
+ });
341
+ }
342
+ });
343
+ }
287
344
  _getAuthorizationHeader() {
288
345
  return __awaiter(this, void 0, void 0, function* () {
289
346
  var _a;
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.49";
1
+ export declare const SDK_VERSION = "0.0.50";
@@ -1 +1 @@
1
- export const SDK_VERSION = "0.0.49";
1
+ export const SDK_VERSION = "0.0.50";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentmail",
3
- "version": "0.0.49",
3
+ "version": "0.0.50",
4
4
  "private": false,
5
5
  "repository": "github:agentmail-to/agentmail-node",
6
6
  "type": "commonjs",
package/reference.md CHANGED
@@ -780,6 +780,7 @@ await client.inboxes.drafts.create("inbox_id", {
780
780
  subject: undefined,
781
781
  text: undefined,
782
782
  html: undefined,
783
+ send_at: undefined,
783
784
  });
784
785
  ```
785
786
 
@@ -890,6 +891,62 @@ await client.inboxes.drafts.send("inbox_id", "draft_id", {
890
891
  </dl>
891
892
  </details>
892
893
 
894
+ <details><summary><code>client.inboxes.drafts.<a href="/src/api/resources/inboxes/resources/drafts/client/Client.ts">delete</a>(inboxId, draftId) -> void</code></summary>
895
+ <dl>
896
+ <dd>
897
+
898
+ #### 🔌 Usage
899
+
900
+ <dl>
901
+ <dd>
902
+
903
+ <dl>
904
+ <dd>
905
+
906
+ ```typescript
907
+ await client.inboxes.drafts.delete("inbox_id", "draft_id");
908
+ ```
909
+
910
+ </dd>
911
+ </dl>
912
+ </dd>
913
+ </dl>
914
+
915
+ #### ⚙️ Parameters
916
+
917
+ <dl>
918
+ <dd>
919
+
920
+ <dl>
921
+ <dd>
922
+
923
+ **inboxId:** `AgentMail.InboxId`
924
+
925
+ </dd>
926
+ </dl>
927
+
928
+ <dl>
929
+ <dd>
930
+
931
+ **draftId:** `AgentMail.DraftId`
932
+
933
+ </dd>
934
+ </dl>
935
+
936
+ <dl>
937
+ <dd>
938
+
939
+ **requestOptions:** `Drafts.RequestOptions`
940
+
941
+ </dd>
942
+ </dl>
943
+ </dd>
944
+ </dl>
945
+
946
+ </dd>
947
+ </dl>
948
+ </details>
949
+
893
950
  ## Inboxes Messages
894
951
 
895
952
  <details><summary><code>client.inboxes.messages.<a href="/src/api/resources/inboxes/resources/messages/client/Client.ts">list</a>(inboxId, { ...params }) -> AgentMail.ListMessagesResponse</code></summary>