casedev 0.27.0 → 0.28.1

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 (160) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/client.d.mts +8 -2
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +8 -2
  5. package/client.d.ts.map +1 -1
  6. package/client.js +7 -1
  7. package/client.js.map +1 -1
  8. package/client.mjs +7 -1
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/index.d.mts +3 -1
  12. package/resources/index.d.mts.map +1 -1
  13. package/resources/index.d.ts +3 -1
  14. package/resources/index.d.ts.map +1 -1
  15. package/resources/index.js +6 -2
  16. package/resources/index.js.map +1 -1
  17. package/resources/index.mjs +3 -1
  18. package/resources/index.mjs.map +1 -1
  19. package/resources/mail/index.d.mts +3 -0
  20. package/resources/mail/index.d.mts.map +1 -0
  21. package/resources/mail/index.d.ts +3 -0
  22. package/resources/mail/index.d.ts.map +1 -0
  23. package/resources/mail/index.js +9 -0
  24. package/resources/mail/index.js.map +1 -0
  25. package/resources/mail/index.mjs +4 -0
  26. package/resources/mail/index.mjs.map +1 -0
  27. package/resources/mail/mail.d.mts +10 -0
  28. package/resources/mail/mail.d.mts.map +1 -0
  29. package/resources/mail/mail.d.ts +10 -0
  30. package/resources/mail/mail.d.ts.map +1 -0
  31. package/resources/mail/mail.js +17 -0
  32. package/resources/mail/mail.js.map +1 -0
  33. package/resources/mail/mail.mjs +12 -0
  34. package/resources/mail/mail.mjs.map +1 -0
  35. package/resources/mail/v1/inboxes.d.mts +63 -0
  36. package/resources/mail/v1/inboxes.d.mts.map +1 -0
  37. package/resources/mail/v1/inboxes.d.ts +63 -0
  38. package/resources/mail/v1/inboxes.d.ts.map +1 -0
  39. package/resources/mail/v1/inboxes.js +97 -0
  40. package/resources/mail/v1/inboxes.js.map +1 -0
  41. package/resources/mail/v1/inboxes.mjs +93 -0
  42. package/resources/mail/v1/inboxes.mjs.map +1 -0
  43. package/resources/mail/v1/index.d.mts +3 -0
  44. package/resources/mail/v1/index.d.mts.map +1 -0
  45. package/resources/mail/v1/index.d.ts +3 -0
  46. package/resources/mail/v1/index.d.ts.map +1 -0
  47. package/resources/mail/v1/index.js +9 -0
  48. package/resources/mail/v1/index.js.map +1 -0
  49. package/resources/mail/v1/index.mjs +4 -0
  50. package/resources/mail/v1/index.mjs.map +1 -0
  51. package/resources/mail/v1/v1.d.mts +10 -0
  52. package/resources/mail/v1/v1.d.mts.map +1 -0
  53. package/resources/mail/v1/v1.d.ts +10 -0
  54. package/resources/mail/v1/v1.d.ts.map +1 -0
  55. package/resources/mail/v1/v1.js +17 -0
  56. package/resources/mail/v1/v1.js.map +1 -0
  57. package/resources/mail/v1/v1.mjs +12 -0
  58. package/resources/mail/v1/v1.mjs.map +1 -0
  59. package/resources/mail/v1.d.mts +2 -0
  60. package/resources/mail/v1.d.mts.map +1 -0
  61. package/resources/mail/v1.d.ts +2 -0
  62. package/resources/mail/v1.d.ts.map +1 -0
  63. package/resources/mail/v1.js +6 -0
  64. package/resources/mail/v1.js.map +1 -0
  65. package/resources/mail/v1.mjs +3 -0
  66. package/resources/mail/v1.mjs.map +1 -0
  67. package/resources/mail.d.mts +2 -0
  68. package/resources/mail.d.mts.map +1 -0
  69. package/resources/mail.d.ts +2 -0
  70. package/resources/mail.d.ts.map +1 -0
  71. package/resources/mail.js +6 -0
  72. package/resources/mail.js.map +1 -0
  73. package/resources/mail.mjs +3 -0
  74. package/resources/mail.mjs.map +1 -0
  75. package/resources/operator/index.d.mts +3 -0
  76. package/resources/operator/index.d.mts.map +1 -0
  77. package/resources/operator/index.d.ts +3 -0
  78. package/resources/operator/index.d.ts.map +1 -0
  79. package/resources/operator/index.js +9 -0
  80. package/resources/operator/index.js.map +1 -0
  81. package/resources/operator/index.mjs +4 -0
  82. package/resources/operator/index.mjs.map +1 -0
  83. package/resources/operator/operator.d.mts +10 -0
  84. package/resources/operator/operator.d.mts.map +1 -0
  85. package/resources/operator/operator.d.ts +10 -0
  86. package/resources/operator/operator.d.ts.map +1 -0
  87. package/resources/operator/operator.js +17 -0
  88. package/resources/operator/operator.js.map +1 -0
  89. package/resources/operator/operator.mjs +12 -0
  90. package/resources/operator/operator.mjs.map +1 -0
  91. package/resources/operator/v1.d.mts +39 -0
  92. package/resources/operator/v1.d.mts.map +1 -0
  93. package/resources/operator/v1.d.ts +39 -0
  94. package/resources/operator/v1.d.ts.map +1 -0
  95. package/resources/operator/v1.js +47 -0
  96. package/resources/operator/v1.js.map +1 -0
  97. package/resources/operator/v1.mjs +43 -0
  98. package/resources/operator/v1.mjs.map +1 -0
  99. package/resources/operator.d.mts +2 -0
  100. package/resources/operator.d.mts.map +1 -0
  101. package/resources/operator.d.ts +2 -0
  102. package/resources/operator.d.ts.map +1 -0
  103. package/resources/operator.js +6 -0
  104. package/resources/operator.js.map +1 -0
  105. package/resources/operator.mjs +3 -0
  106. package/resources/operator.mjs.map +1 -0
  107. package/resources/skills/custom.d.mts +48 -0
  108. package/resources/skills/custom.d.mts.map +1 -0
  109. package/resources/skills/custom.d.ts +48 -0
  110. package/resources/skills/custom.d.ts.map +1 -0
  111. package/resources/skills/custom.js +19 -0
  112. package/resources/skills/custom.js.map +1 -0
  113. package/resources/skills/custom.mjs +15 -0
  114. package/resources/skills/custom.mjs.map +1 -0
  115. package/resources/skills/index.d.mts +3 -0
  116. package/resources/skills/index.d.mts.map +1 -0
  117. package/resources/skills/index.d.ts +3 -0
  118. package/resources/skills/index.d.ts.map +1 -0
  119. package/resources/skills/index.js +9 -0
  120. package/resources/skills/index.js.map +1 -0
  121. package/resources/skills/index.mjs +4 -0
  122. package/resources/skills/index.mjs.map +1 -0
  123. package/resources/skills/skills.d.mts +189 -0
  124. package/resources/skills/skills.d.mts.map +1 -0
  125. package/resources/skills/skills.d.ts +189 -0
  126. package/resources/skills/skills.d.ts.map +1 -0
  127. package/resources/skills/skills.js +56 -0
  128. package/resources/skills/skills.js.map +1 -0
  129. package/resources/skills/skills.mjs +51 -0
  130. package/resources/skills/skills.mjs.map +1 -0
  131. package/resources/skills.d.mts +1 -96
  132. package/resources/skills.d.mts.map +1 -1
  133. package/resources/skills.d.ts +1 -96
  134. package/resources/skills.d.ts.map +1 -1
  135. package/resources/skills.js +2 -23
  136. package/resources/skills.js.map +1 -1
  137. package/resources/skills.mjs +1 -21
  138. package/resources/skills.mjs.map +1 -1
  139. package/src/client.ts +26 -1
  140. package/src/resources/index.ts +13 -1
  141. package/src/resources/mail/index.ts +4 -0
  142. package/src/resources/mail/mail.ts +15 -0
  143. package/src/resources/mail/v1/inboxes.ts +140 -0
  144. package/src/resources/mail/v1/index.ts +10 -0
  145. package/src/resources/mail/v1/v1.ts +27 -0
  146. package/src/resources/mail/v1.ts +3 -0
  147. package/src/resources/mail.ts +3 -0
  148. package/src/resources/operator/index.ts +4 -0
  149. package/src/resources/operator/operator.ts +15 -0
  150. package/src/resources/operator/v1.ts +70 -0
  151. package/src/resources/operator.ts +3 -0
  152. package/src/resources/skills/custom.ts +70 -0
  153. package/src/resources/skills/index.ts +14 -0
  154. package/src/resources/skills/skills.ts +274 -0
  155. package/src/resources/skills.ts +1 -125
  156. package/src/version.ts +1 -1
  157. package/version.d.mts +1 -1
  158. package/version.d.ts +1 -1
  159. package/version.js +1 -1
  160. package/version.mjs +1 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/mail/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,IAAI,EAAE;OACR,EAAE,EAAE,EAAE"}
@@ -0,0 +1,10 @@
1
+ import { APIResource } from "../../core/resource.mjs";
2
+ import * as V1API from "./v1/v1.mjs";
3
+ import { V1 } from "./v1/v1.mjs";
4
+ export declare class Mail extends APIResource {
5
+ v1: V1API.V1;
6
+ }
7
+ export declare namespace Mail {
8
+ export { V1 as V1 };
9
+ }
10
+ //# sourceMappingURL=mail.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mail.d.mts","sourceRoot":"","sources":["../../src/resources/mail/mail.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,KAAK;OACV,EAAE,EAAE,EAAE;AAEb,qBAAa,IAAK,SAAQ,WAAW;IACnC,EAAE,EAAE,KAAK,CAAC,EAAE,CAA8B;CAC3C;AAID,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE,CAAC;CACrB"}
@@ -0,0 +1,10 @@
1
+ import { APIResource } from "../../core/resource.js";
2
+ import * as V1API from "./v1/v1.js";
3
+ import { V1 } from "./v1/v1.js";
4
+ export declare class Mail extends APIResource {
5
+ v1: V1API.V1;
6
+ }
7
+ export declare namespace Mail {
8
+ export { V1 as V1 };
9
+ }
10
+ //# sourceMappingURL=mail.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mail.d.ts","sourceRoot":"","sources":["../../src/resources/mail/mail.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,KAAK;OACV,EAAE,EAAE,EAAE;AAEb,qBAAa,IAAK,SAAQ,WAAW;IACnC,EAAE,EAAE,KAAK,CAAC,EAAE,CAA8B;CAC3C;AAID,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE,CAAC;CACrB"}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Mail = void 0;
5
+ const tslib_1 = require("../../internal/tslib.js");
6
+ const resource_1 = require("../../core/resource.js");
7
+ const V1API = tslib_1.__importStar(require("./v1/v1.js"));
8
+ const v1_1 = require("./v1/v1.js");
9
+ class Mail extends resource_1.APIResource {
10
+ constructor() {
11
+ super(...arguments);
12
+ this.v1 = new V1API.V1(this._client);
13
+ }
14
+ }
15
+ exports.Mail = Mail;
16
+ Mail.V1 = v1_1.V1;
17
+ //# sourceMappingURL=mail.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mail.js","sourceRoot":"","sources":["../../src/resources/mail/mail.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,0DAAiC;AACjC,mCAA6B;AAE7B,MAAa,IAAK,SAAQ,sBAAW;IAArC;;QACE,OAAE,GAAa,IAAI,KAAK,CAAC,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC5C,CAAC;CAAA;AAFD,oBAEC;AAED,IAAI,CAAC,EAAE,GAAG,OAAE,CAAC"}
@@ -0,0 +1,12 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../../core/resource.mjs";
3
+ import * as V1API from "./v1/v1.mjs";
4
+ import { V1 } from "./v1/v1.mjs";
5
+ export class Mail extends APIResource {
6
+ constructor() {
7
+ super(...arguments);
8
+ this.v1 = new V1API.V1(this._client);
9
+ }
10
+ }
11
+ Mail.V1 = V1;
12
+ //# sourceMappingURL=mail.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mail.mjs","sourceRoot":"","sources":["../../src/resources/mail/mail.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,KAAK;OACV,EAAE,EAAE,EAAE;AAEb,MAAM,OAAO,IAAK,SAAQ,WAAW;IAArC;;QACE,OAAE,GAAa,IAAI,KAAK,CAAC,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC5C,CAAC;CAAA;AAED,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC"}
@@ -0,0 +1,63 @@
1
+ import { APIResource } from "../../../core/resource.mjs";
2
+ import { APIPromise } from "../../../core/api-promise.mjs";
3
+ import { RequestOptions } from "../../../internal/request-options.mjs";
4
+ /**
5
+ * Create, manage, and execute AI agents with tool access, sandbox environments, and async run workflows
6
+ */
7
+ export declare class Inboxes extends APIResource {
8
+ /**
9
+ * Create an inbox owned by the authenticated organization.
10
+ */
11
+ create(body?: InboxCreateParams | null | undefined, options?: RequestOptions): APIPromise<void>;
12
+ /**
13
+ * Get an inbox owned by the authenticated organization.
14
+ */
15
+ retrieve(inboxID: string, options?: RequestOptions): APIPromise<void>;
16
+ /**
17
+ * List inboxes owned by the authenticated organization.
18
+ */
19
+ list(options?: RequestOptions): APIPromise<void>;
20
+ /**
21
+ * Delete an inbox owned by the authenticated organization.
22
+ */
23
+ delete(inboxID: string, options?: RequestOptions): APIPromise<void>;
24
+ /**
25
+ * Get attachment metadata for a message in an inbox owned by the authenticated
26
+ * organization.
27
+ */
28
+ getAttachment(attachmentID: string, params: InboxGetAttachmentParams, options?: RequestOptions): APIPromise<void>;
29
+ /**
30
+ * Get a message for an inbox owned by the authenticated organization.
31
+ */
32
+ getMessage(messageID: string, params: InboxGetMessageParams, options?: RequestOptions): APIPromise<void>;
33
+ /**
34
+ * List messages for an inbox owned by the authenticated organization.
35
+ */
36
+ listMessages(inboxID: string, options?: RequestOptions): APIPromise<void>;
37
+ /**
38
+ * Reply to a message in an inbox owned by the authenticated organization.
39
+ */
40
+ reply(messageID: string, params: InboxReplyParams, options?: RequestOptions): APIPromise<void>;
41
+ /**
42
+ * Send a message from an inbox owned by the authenticated organization.
43
+ */
44
+ send(inboxID: string, options?: RequestOptions): APIPromise<void>;
45
+ }
46
+ export interface InboxCreateParams {
47
+ address?: string;
48
+ displayName?: string;
49
+ }
50
+ export interface InboxGetAttachmentParams {
51
+ inboxId: string;
52
+ messageId: string;
53
+ }
54
+ export interface InboxGetMessageParams {
55
+ inboxId: string;
56
+ }
57
+ export interface InboxReplyParams {
58
+ inboxId: string;
59
+ }
60
+ export declare namespace Inboxes {
61
+ export { type InboxCreateParams as InboxCreateParams, type InboxGetAttachmentParams as InboxGetAttachmentParams, type InboxGetMessageParams as InboxGetMessageParams, type InboxReplyParams as InboxRepl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;;OAEG;IACH,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAMlE;AAED,MAAM,WAAW,iBAAiB;IAChC,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,MAAM,CAAC;IAEhB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
@@ -0,0 +1,63 @@
1
+ import { APIResource } from "../../../core/resource.js";
2
+ import { APIPromise } from "../../../core/api-promise.js";
3
+ import { RequestOptions } from "../../../internal/request-options.js";
4
+ /**
5
+ * Create, manage, and execute AI agents with tool access, sandbox environments, and async run workflows
6
+ */
7
+ export declare class Inboxes extends APIResource {
8
+ /**
9
+ * Create an inbox owned by the authenticated organization.
10
+ */
11
+ create(body?: InboxCreateParams | null | undefined, options?: RequestOptions): APIPromise<void>;
12
+ /**
13
+ * Get an inbox owned by the authenticated organization.
14
+ */
15
+ retrieve(inboxID: string, options?: RequestOptions): APIPromise<void>;
16
+ /**
17
+ * List inboxes owned by the authenticated organization.
18
+ */
19
+ list(options?: RequestOptions): APIPromise<void>;
20
+ /**
21
+ * Delete an inbox owned by the authenticated organization.
22
+ */
23
+ delete(inboxID: string, options?: RequestOptions): APIPromise<void>;
24
+ /**
25
+ * Get attachment metadata for a message in an inbox owned by the authenticated
26
+ * organization.
27
+ */
28
+ getAttachment(attachmentID: string, params: InboxGetAttachmentParams, options?: RequestOptions): APIPromise<void>;
29
+ /**
30
+ * Get a message for an inbox owned by the authenticated organization.
31
+ */
32
+ getMessage(messageID: string, params: InboxGetMessageParams, options?: RequestOptions): APIPromise<void>;
33
+ /**
34
+ * List messages for an inbox owned by the authenticated organization.
35
+ */
36
+ listMessages(inboxID: string, options?: RequestOptions): APIPromise<void>;
37
+ /**
38
+ * Reply to a message in an inbox owned by the authenticated organization.
39
+ */
40
+ reply(messageID: string, params: InboxReplyParams, options?: RequestOptions): APIPromise<void>;
41
+ /**
42
+ * Send a message from an inbox owned by the authenticated organization.
43
+ */
44
+ send(inboxID: string, options?: RequestOptions): APIPromise<void>;
45
+ }
46
+ export interface InboxCreateParams {
47
+ address?: string;
48
+ displayName?: string;
49
+ }
50
+ export interface InboxGetAttachmentParams {
51
+ inboxId: string;
52
+ messageId: string;
53
+ }
54
+ export interface InboxGetMessageParams {
55
+ inboxId: string;
56
+ }
57
+ export interface InboxReplyParams {
58
+ inboxId: string;
59
+ }
60
+ export declare namespace Inboxes {
61
+ export { type InboxCreateParams as InboxCreateParams, type InboxGetAttachmentParams as InboxGetAttachmentParams, type InboxGetMessageParams as InboxGetMessageParams, type InboxReplyParams as InboxReplyParams, };
62
+ }
63
+ //# sourceMappingURL=inboxes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inboxes.d.ts","sourceRoot":"","sources":["../../../src/resources/mail/v1/inboxes.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;OAEG;IACH,MAAM,CAAC,IAAI,GAAE,iBAAiB,GAAG,IAAI,GAAG,SAAc,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAQnG;;OAEG;IACH,QAAQ,CA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;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
@@ -0,0 +1,97 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Inboxes = void 0;
5
+ const resource_1 = require("../../../core/resource.js");
6
+ const headers_1 = require("../../../internal/headers.js");
7
+ const path_1 = require("../../../internal/utils/path.js");
8
+ /**
9
+ * Create, manage, and execute AI agents with tool access, sandbox environments, and async run workflows
10
+ */
11
+ class Inboxes extends resource_1.APIResource {
12
+ /**
13
+ * Create an inbox owned by the authenticated organization.
14
+ */
15
+ create(body = {}, options) {
16
+ return this._client.post('/mail/v1/inboxes', {
17
+ body,
18
+ ...options,
19
+ headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
20
+ });
21
+ }
22
+ /**
23
+ * Get an inbox owned by the authenticated organization.
24
+ */
25
+ retrieve(inboxID, options) {
26
+ return this._client.get((0, path_1.path) `/mail/v1/inboxes/${inboxID}`, {
27
+ ...options,
28
+ headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
29
+ });
30
+ }
31
+ /**
32
+ * List inboxes owned by the authenticated organization.
33
+ */
34
+ list(options) {
35
+ return this._client.get('/mail/v1/inboxes', {
36
+ ...options,
37
+ headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
38
+ });
39
+ }
40
+ /**
41
+ * Delete an inbox owned by the authenticated organization.
42
+ */
43
+ delete(inboxID, options) {
44
+ return this._client.delete((0, path_1.path) `/mail/v1/inboxes/${inboxID}`, {
45
+ ...options,
46
+ headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
47
+ });
48
+ }
49
+ /**
50
+ * Get attachment metadata for a message in an inbox owned by the authenticated
51
+ * organization.
52
+ */
53
+ getAttachment(attachmentID, params, options) {
54
+ const { inboxId, messageId } = params;
55
+ return this._client.get((0, path_1.path) `/mail/v1/inboxes/${inboxId}/messages/${messageId}/attachments/${attachmentID}`, { ...options, headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]) });
56
+ }
57
+ /**
58
+ * Get a message for an inbox owned by the authenticated organization.
59
+ */
60
+ getMessage(messageID, params, options) {
61
+ const { inboxId } = params;
62
+ return this._client.get((0, path_1.path) `/mail/v1/inboxes/${inboxId}/messages/${messageID}`, {
63
+ ...options,
64
+ headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
65
+ });
66
+ }
67
+ /**
68
+ * List messages for an inbox owned by the authenticated organization.
69
+ */
70
+ listMessages(inboxID, options) {
71
+ return this._client.get((0, path_1.path) `/mail/v1/inboxes/${inboxID}/messages`, {
72
+ ...options,
73
+ headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
74
+ });
75
+ }
76
+ /**
77
+ * Reply to a message in an inbox owned by the authenticated organization.
78
+ */
79
+ reply(messageID, params, options) {
80
+ const { inboxId } = params;
81
+ return this._client.post((0, path_1.path) `/mail/v1/inboxes/${inboxId}/messages/${messageID}/reply`, {
82
+ ...options,
83
+ headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
84
+ });
85
+ }
86
+ /**
87
+ * Send a message from an inbox owned by the authenticated organization.
88
+ */
89
+ send(inboxID, options) {
90
+ return this._client.post((0, path_1.path) `/mail/v1/inboxes/${inboxID}/messages/send`, {
91
+ ...options,
92
+ headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
93
+ });
94
+ }
95
+ }
96
+ exports.Inboxes = Inboxes;
97
+ //# sourceMappingURL=inboxes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inboxes.js","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OAAO,EAAE,GAAG,MAAM,CAAC;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,oBAAoB,OAAO,aAAa,SAAS,QAAQ,EAAE;YACtF,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,IAAI,CAAC,OAAe,EAAE,OAAwB;QAC5C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,oBAAoB,OAAO,gBAAgB,EAAE;YACxE,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AAnGD,0BAmGC"}
@@ -0,0 +1,93 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../../../core/resource.mjs";
3
+ import { buildHeaders } from "../../../internal/headers.mjs";
4
+ import { path } from "../../../internal/utils/path.mjs";
5
+ /**
6
+ * Create, manage, and execute AI agents with tool access, sandbox environments, and async run workflows
7
+ */
8
+ export class Inboxes extends APIResource {
9
+ /**
10
+ * Create an inbox owned by the authenticated organization.
11
+ */
12
+ create(body = {}, options) {
13
+ return this._client.post('/mail/v1/inboxes', {
14
+ body,
15
+ ...options,
16
+ headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
17
+ });
18
+ }
19
+ /**
20
+ * Get an inbox owned by the authenticated organization.
21
+ */
22
+ retrieve(inboxID, options) {
23
+ return this._client.get(path `/mail/v1/inboxes/${inboxID}`, {
24
+ ...options,
25
+ headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
26
+ });
27
+ }
28
+ /**
29
+ * List inboxes owned by the authenticated organization.
30
+ */
31
+ list(options) {
32
+ return this._client.get('/mail/v1/inboxes', {
33
+ ...options,
34
+ headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
35
+ });
36
+ }
37
+ /**
38
+ * Delete an inbox owned by the authenticated organization.
39
+ */
40
+ delete(inboxID, options) {
41
+ return this._client.delete(path `/mail/v1/inboxes/${inboxID}`, {
42
+ ...options,
43
+ headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
44
+ });
45
+ }
46
+ /**
47
+ * Get attachment metadata for a message in an inbox owned by the authenticated
48
+ * organization.
49
+ */
50
+ getAttachment(attachmentID, params, options) {
51
+ const { inboxId, messageId } = params;
52
+ return this._client.get(path `/mail/v1/inboxes/${inboxId}/messages/${messageId}/attachments/${attachmentID}`, { ...options, headers: buildHeaders([{ Accept: '*/*' }, options?.headers]) });
53
+ }
54
+ /**
55
+ * Get a message for an inbox owned by the authenticated organization.
56
+ */
57
+ getMessage(messageID, params, options) {
58
+ const { inboxId } = params;
59
+ return this._client.get(path `/mail/v1/inboxes/${inboxId}/messages/${messageID}`, {
60
+ ...options,
61
+ headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
62
+ });
63
+ }
64
+ /**
65
+ * List messages for an inbox owned by the authenticated organization.
66
+ */
67
+ listMessages(inboxID, options) {
68
+ return this._client.get(path `/mail/v1/inboxes/${inboxID}/messages`, {
69
+ ...options,
70
+ headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
71
+ });
72
+ }
73
+ /**
74
+ * Reply to a message in an inbox owned by the authenticated organization.
75
+ */
76
+ reply(messageID, params, options) {
77
+ const { inboxId } = params;
78
+ return this._client.post(path `/mail/v1/inboxes/${inboxId}/messages/${messageID}/reply`, {
79
+ ...options,
80
+ headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
81
+ });
82
+ }
83
+ /**
84
+ * Send a message from an inbox owned by the authenticated organization.
85
+ */
86
+ send(inboxID, options) {
87
+ return this._client.post(path `/mail/v1/inboxes/${inboxID}/messages/send`, {
88
+ ...options,
89
+ headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
90
+ });
91
+ }
92
+ }
93
+ //# sourceMappingURL=inboxes.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inboxes.mjs","sourceRoot":"","sources":["../../../src/resources/mail/v1/inboxes.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;OAEG;IACH,MAAM,CAAC,OAA6C,EAAE,EAAE,OAAwB;QAC9E,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,EAAE;YAC3C,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,OAAe,EAAE,OAAwB;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,oBAAoB,OAAO,EAAE,EAAE;YACzD,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE;YAC1C,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,OAAe,EAAE,OAAwB;QAC9C,O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SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,SAAiB,EAAE,MAAwB,EAAE,OAAwB;QACzE,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,oBAAoB,OAAO,aAAa,SAAS,QAAQ,EAAE;YACtF,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,IAAI,CAAC,OAAe,EAAE,OAAwB;QAC5C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,oBAAoB,OAAO,gBAAgB,EAAE;YACxE,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -0,0 +1,3 @@
1
+ export { Inboxes, type InboxCreateParams, type InboxGetAttachmentParams, type InboxGetMessageParams, type InboxReplyParams, } from "./inboxes.mjs";
2
+ export { V1 } from "./v1.mjs";
3
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/mail/v1/index.ts"],"names":[],"mappings":"OAEO,EACL,OAAO,EACP,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,GACtB;OACM,EAAE,EAAE,EAAE"}
@@ -0,0 +1,3 @@
1
+ export { Inboxes, type InboxCreateParams, type InboxGetAttachmentParams, type InboxGetMessageParams, type InboxReplyParams, } from "./inboxes.js";
2
+ export { V1 } from "./v1.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/mail/v1/index.ts"],"names":[],"mappings":"OAEO,EACL,OAAO,EACP,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,GACtB;OACM,EAAE,EAAE,EAAE"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.V1 = exports.Inboxes = void 0;
5
+ var inboxes_1 = require("./inboxes.js");
6
+ Object.defineProperty(exports, "Inboxes", { enumerable: true, get: function () { return inboxes_1.Inboxes; } });
7
+ var v1_1 = require("./v1.js");
8
+ Object.defineProperty(exports, "V1", { enumerable: true, get: function () { return v1_1.V1; } });
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/mail/v1/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAMmB;AALjB,kGAAA,OAAO,OAAA;AAMT,8BAA0B;AAAjB,wFAAA,EAAE,OAAA"}
@@ -0,0 +1,4 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export { Inboxes, } from "./inboxes.mjs";
3
+ export { V1 } from "./v1.mjs";
4
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/mail/v1/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,OAAO,GAKR;OACM,EAAE,EAAE,EAAE"}
@@ -0,0 +1,10 @@
1
+ import { APIResource } from "../../../core/resource.mjs";
2
+ import * as InboxesAPI from "./inboxes.mjs";
3
+ import { InboxCreateParams, InboxGetAttachmentParams, InboxGetMessageParams, InboxReplyParams, Inboxes } from "./inboxes.mjs";
4
+ export declare class V1 extends APIResource {
5
+ inboxes: InboxesAPI.Inboxes;
6
+ }
7
+ export declare namespace V1 {
8
+ export { Inboxes as Inboxes, type InboxCreateParams as InboxCreateParams, type InboxGetAttachmentParams as InboxGetAttachmentParams, type InboxGetMessageParams as InboxGetMessageParams, type InboxReplyParams as InboxReplyParams, };
9
+ }
10
+ //# sourceMappingURL=v1.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v1.d.mts","sourceRoot":"","sources":["../../../src/resources/mail/v1/v1.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EACL,iBAAiB,EACjB,wBAAwB,EACxB,qBAAqB,EACrB,gBAAgB,EAChB,OAAO,EACR;AAED,qBAAa,EAAG,SAAQ,WAAW;IACjC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;CACpE;AAID,MAAM,CAAC,OAAO,WAAW,EAAE,CAAC;IAC1B,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
@@ -0,0 +1,10 @@
1
+ import { APIResource } from "../../../core/resource.js";
2
+ import * as InboxesAPI from "./inboxes.js";
3
+ import { InboxCreateParams, InboxGetAttachmentParams, InboxGetMessageParams, InboxReplyParams, Inboxes } from "./inboxes.js";
4
+ export declare class V1 extends APIResource {
5
+ inboxes: InboxesAPI.Inboxes;
6
+ }
7
+ export declare namespace V1 {
8
+ export { Inboxes as Inboxes, type InboxCreateParams as InboxCreateParams, type InboxGetAttachmentParams as InboxGetAttachmentParams, type InboxGetMessageParams as InboxGetMessageParams, type InboxReplyParams as InboxReplyParams, };
9
+ }
10
+ //# sourceMappingURL=v1.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v1.d.ts","sourceRoot":"","sources":["../../../src/resources/mail/v1/v1.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EACL,iBAAiB,EACjB,wBAAwB,EACxB,qBAAqB,EACrB,gBAAgB,EAChB,OAAO,EACR;AAED,qBAAa,EAAG,SAAQ,WAAW;IACjC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;CACpE;AAID,MAAM,CAAC,OAAO,WAAW,EAAE,CAAC;IAC1B,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.V1 = void 0;
5
+ const tslib_1 = require("../../../internal/tslib.js");
6
+ const resource_1 = require("../../../core/resource.js");
7
+ const InboxesAPI = tslib_1.__importStar(require("./inboxes.js"));
8
+ const inboxes_1 = require("./inboxes.js");
9
+ class V1 extends resource_1.APIResource {
10
+ constructor() {
11
+ super(...arguments);
12
+ this.inboxes = new InboxesAPI.Inboxes(this._client);
13
+ }
14
+ }
15
+ exports.V1 = V1;
16
+ V1.Inboxes = inboxes_1.Inboxes;
17
+ //# sourceMappingURL=v1.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v1.js","sourceRoot":"","sources":["../../../src/resources/mail/v1/v1.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AACrD,iEAAwC;AACxC,0CAMmB;AAEnB,MAAa,EAAG,SAAQ,sBAAW;IAAnC;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACrE,CAAC;CAAA;AAFD,gBAEC;AAED,EAAE,CAAC,OAAO,GAAG,iBAAO,CAAC"}
@@ -0,0 +1,12 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../../../core/resource.mjs";
3
+ import * as InboxesAPI from "./inboxes.mjs";
4
+ import { Inboxes, } from "./inboxes.mjs";
5
+ export class V1 extends APIResource {
6
+ constructor() {
7
+ super(...arguments);
8
+ this.inboxes = new InboxesAPI.Inboxes(this._client);
9
+ }
10
+ }
11
+ V1.Inboxes = Inboxes;
12
+ //# sourceMappingURL=v1.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v1.mjs","sourceRoot":"","sources":["../../../src/resources/mail/v1/v1.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAKL,OAAO,GACR;AAED,MAAM,OAAO,EAAG,SAAQ,WAAW;IAAnC;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACrE,CAAC;CAAA;AAED,EAAE,CAAC,OAAO,GAAG,OAAO,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "./v1/index.mjs";
2
+ //# sourceMappingURL=v1.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v1.d.mts","sourceRoot":"","sources":["../../src/resources/mail/v1.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export * from "./v1/index.js";
2
+ //# sourceMappingURL=v1.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v1.d.ts","sourceRoot":"","sources":["../../src/resources/mail/v1.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ const tslib_1 = require("../../internal/tslib.js");
5
+ tslib_1.__exportStar(require("./v1/index.js"), exports);
6
+ //# sourceMappingURL=v1.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v1.js","sourceRoot":"","sources":["../../src/resources/mail/v1.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAA2B"}
@@ -0,0 +1,3 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export * from "./v1/index.mjs";
3
+ //# sourceMappingURL=v1.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v1.mjs","sourceRoot":"","sources":["../../src/resources/mail/v1.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
@@ -0,0 +1,2 @@
1
+ export * from "./mail/index.mjs";
2
+ //# sourceMappingURL=mail.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mail.d.mts","sourceRoot":"","sources":["../src/resources/mail.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export * from "./mail/index.js";
2
+ //# sourceMappingURL=mail.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mail.d.ts","sourceRoot":"","sources":["../src/resources/mail.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ const tslib_1 = require("../internal/tslib.js");
5
+ tslib_1.__exportStar(require("./mail/index.js"), exports);
6
+ //# sourceMappingURL=mail.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mail.js","sourceRoot":"","sources":["../src/resources/mail.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0DAA6B"}
@@ -0,0 +1,3 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export * from "./mail/index.mjs";
3
+ //# sourceMappingURL=mail.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mail.mjs","sourceRoot":"","sources":["../src/resources/mail.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
@@ -0,0 +1,3 @@
1
+ export { Operator } from "./operator.mjs";
2
+ export { V1, type V1CreateParams } from "./v1.mjs";
3
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/operator/index.ts"],"names":[],"mappings":"OAEO,EAAE,QAAQ,EAAE;OACZ,EAAE,EAAE,EAAE,KAAK,cAAc,EAAE"}
@@ -0,0 +1,3 @@
1
+ export { Operator } from "./operator.js";
2
+ export { V1, type V1CreateParams } from "./v1.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/operator/index.ts"],"names":[],"mappings":"OAEO,EAAE,QAAQ,EAAE;OACZ,EAAE,EAAE,EAAE,KAAK,cAAc,EAAE"}