samva 0.46.0 → 0.46.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 (251) hide show
  1. package/README.md +1 -1
  2. package/dist/client/client/client.gen.d.ts +1 -1
  3. package/dist/client/client/index.d.ts +10 -10
  4. package/dist/client/client/types.gen.d.ts +4 -4
  5. package/dist/client/client/utils.gen.d.ts +2 -2
  6. package/dist/client/client.gen.d.ts +2 -2
  7. package/dist/client/core/bodySerializer.gen.d.ts +1 -1
  8. package/dist/client/core/serverSentEvents.gen.d.ts +1 -1
  9. package/dist/client/core/types.gen.d.ts +2 -2
  10. package/dist/client/core/utils.gen.d.ts +1 -1
  11. package/dist/client/sdk.gen.d.ts +2 -2
  12. package/dist/effect/accounts.d.ts +6 -6
  13. package/dist/effect/accounts.js +2 -1
  14. package/dist/effect/agents.d.ts +16 -16
  15. package/dist/effect/agents.js +2 -1
  16. package/dist/effect/analytics.d.ts +6 -6
  17. package/dist/effect/analytics.js +2 -1
  18. package/dist/effect/api-keys.d.ts +13 -13
  19. package/dist/effect/api-keys.js +2 -1
  20. package/dist/effect/approval-requests.d.ts +4 -4
  21. package/dist/effect/approval-requests.js +2 -1
  22. package/dist/effect/attachments.d.ts +4 -4
  23. package/dist/effect/attachments.js +2 -1
  24. package/dist/effect/brands.d.ts +7 -7
  25. package/dist/effect/brands.js +2 -1
  26. package/dist/effect/campaigns.d.ts +45 -45
  27. package/dist/effect/campaigns.js +2 -1
  28. package/dist/effect/categories.d.ts +3 -3
  29. package/dist/effect/client.d.ts +1 -1
  30. package/dist/effect/contact-groups.d.ts +18 -18
  31. package/dist/effect/contact-groups.js +2 -1
  32. package/dist/effect/contacts.d.ts +33 -33
  33. package/dist/effect/contacts.js +3 -2
  34. package/dist/effect/conversations.d.ts +17 -17
  35. package/dist/effect/conversations.js +2 -1
  36. package/dist/effect/custom-fields.d.ts +4 -4
  37. package/dist/effect/custom-fields.js +2 -1
  38. package/dist/effect/descriptors/accounts.d.ts +59 -0
  39. package/dist/effect/descriptors/accounts.js +57 -0
  40. package/dist/effect/descriptors/agents.d.ts +119 -0
  41. package/dist/effect/descriptors/agents.js +117 -0
  42. package/dist/effect/descriptors/analytics.d.ts +56 -0
  43. package/dist/effect/descriptors/analytics.js +48 -0
  44. package/dist/effect/descriptors/api-keys.d.ts +80 -0
  45. package/dist/effect/descriptors/api-keys.js +80 -0
  46. package/dist/effect/descriptors/approval-requests.d.ts +41 -0
  47. package/dist/effect/descriptors/approval-requests.js +43 -0
  48. package/dist/effect/descriptors/attachments.d.ts +41 -0
  49. package/dist/effect/descriptors/attachments.js +43 -0
  50. package/dist/effect/descriptors/brands.d.ts +60 -0
  51. package/dist/effect/descriptors/brands.js +60 -0
  52. package/dist/effect/descriptors/campaigns.d.ts +148 -0
  53. package/dist/effect/descriptors/campaigns.js +144 -0
  54. package/dist/effect/descriptors/contact-groups.d.ts +99 -0
  55. package/dist/effect/descriptors/contact-groups.js +97 -0
  56. package/dist/effect/descriptors/contacts.d.ts +226 -0
  57. package/dist/effect/descriptors/contacts.js +214 -0
  58. package/dist/effect/descriptors/conversations.d.ts +130 -0
  59. package/dist/effect/descriptors/conversations.js +130 -0
  60. package/dist/effect/descriptors/custom-fields.d.ts +40 -0
  61. package/dist/effect/descriptors/custom-fields.js +40 -0
  62. package/dist/effect/descriptors/email.d.ts +607 -0
  63. package/dist/effect/descriptors/email.js +561 -0
  64. package/dist/effect/descriptors/events.d.ts +20 -0
  65. package/dist/effect/descriptors/events.js +20 -0
  66. package/dist/effect/descriptors/extension-installations.d.ts +90 -0
  67. package/dist/effect/descriptors/extension-installations.js +90 -0
  68. package/dist/effect/descriptors/extensions.d.ts +50 -0
  69. package/dist/effect/descriptors/extensions.js +50 -0
  70. package/dist/effect/descriptors/feedback.d.ts +11 -0
  71. package/dist/effect/descriptors/feedback.js +11 -0
  72. package/dist/effect/descriptors/integrations-catalog.d.ts +29 -0
  73. package/dist/effect/descriptors/integrations-catalog.js +27 -0
  74. package/dist/effect/descriptors/integrations.d.ts +70 -0
  75. package/dist/effect/descriptors/integrations.js +70 -0
  76. package/dist/effect/descriptors/journeys.d.ts +140 -0
  77. package/dist/effect/descriptors/journeys.js +140 -0
  78. package/dist/effect/descriptors/mailboxes.d.ts +724 -0
  79. package/dist/effect/descriptors/mailboxes.js +728 -0
  80. package/dist/effect/descriptors/media.d.ts +51 -0
  81. package/dist/effect/descriptors/media.js +53 -0
  82. package/dist/effect/descriptors/messages.d.ts +99 -0
  83. package/dist/effect/descriptors/messages.js +97 -0
  84. package/dist/effect/descriptors/namespaces.d.ts +110 -0
  85. package/dist/effect/descriptors/namespaces.js +114 -0
  86. package/dist/effect/descriptors/newsletter-domains.d.ts +42 -0
  87. package/dist/effect/descriptors/newsletter-domains.js +46 -0
  88. package/dist/effect/descriptors/newsletter-issues.d.ts +112 -0
  89. package/dist/effect/descriptors/newsletter-issues.js +116 -0
  90. package/dist/effect/descriptors/newsletters.d.ts +51 -0
  91. package/dist/effect/descriptors/newsletters.js +53 -0
  92. package/dist/effect/descriptors/operations.d.ts +31 -0
  93. package/dist/effect/descriptors/operations.js +33 -0
  94. package/dist/effect/descriptors/organizations.d.ts +111 -0
  95. package/dist/effect/descriptors/organizations.js +93 -0
  96. package/dist/effect/descriptors/policies.d.ts +32 -0
  97. package/dist/effect/descriptors/policies.js +36 -0
  98. package/dist/effect/descriptors/scheduled-messages.d.ts +50 -0
  99. package/dist/effect/descriptors/scheduled-messages.js +50 -0
  100. package/dist/effect/descriptors/subscriptions.d.ts +11 -0
  101. package/dist/effect/descriptors/subscriptions.js +11 -0
  102. package/dist/effect/descriptors/template-registrations.d.ts +32 -0
  103. package/dist/effect/descriptors/template-registrations.js +36 -0
  104. package/dist/effect/descriptors/template-share-links.d.ts +52 -0
  105. package/dist/effect/descriptors/template-share-links.js +56 -0
  106. package/dist/effect/descriptors/templates.d.ts +365 -0
  107. package/dist/effect/descriptors/templates.js +355 -0
  108. package/dist/effect/descriptors/topic-forms.d.ts +52 -0
  109. package/dist/effect/descriptors/topic-forms.js +56 -0
  110. package/dist/effect/descriptors/topics.d.ts +89 -0
  111. package/dist/effect/descriptors/topics.js +87 -0
  112. package/dist/effect/descriptors/webhooks.d.ts +110 -0
  113. package/dist/effect/descriptors/webhooks.js +110 -0
  114. package/dist/effect/descriptors/whats-app-flows.d.ts +99 -0
  115. package/dist/effect/descriptors/whats-app-flows.js +97 -0
  116. package/dist/effect/descriptors/whats-app-setup-links.d.ts +40 -0
  117. package/dist/effect/descriptors/whats-app-setup-links.js +40 -0
  118. package/dist/effect/descriptors/whats-app.d.ts +116 -0
  119. package/dist/effect/descriptors/whats-app.js +108 -0
  120. package/dist/effect/descriptors/whoami.d.ts +11 -0
  121. package/dist/effect/descriptors/whoami.js +11 -0
  122. package/dist/effect/email.d.ts +78 -78
  123. package/dist/effect/email.js +2 -1
  124. package/dist/effect/errors.d.ts +2 -2
  125. package/dist/effect/events.d.ts +3 -3
  126. package/dist/effect/events.js +2 -1
  127. package/dist/effect/extension-installations.d.ts +11 -11
  128. package/dist/effect/extension-installations.js +2 -1
  129. package/dist/effect/extensions.d.ts +9 -9
  130. package/dist/effect/extensions.js +2 -1
  131. package/dist/effect/feedback.d.ts +2 -2
  132. package/dist/effect/feedback.js +2 -1
  133. package/dist/effect/generated/accounts.d.ts +9 -9
  134. package/dist/effect/generated/agents.d.ts +1 -1
  135. package/dist/effect/generated/analytics.d.ts +1 -1
  136. package/dist/effect/generated/api-keys.d.ts +1 -1
  137. package/dist/effect/generated/approval-requests.d.ts +13 -13
  138. package/dist/effect/generated/attachments.d.ts +1 -1
  139. package/dist/effect/generated/brands.d.ts +1 -1
  140. package/dist/effect/generated/campaigns.d.ts +230 -230
  141. package/dist/effect/generated/contact-events.d.ts +4 -4
  142. package/dist/effect/generated/contact-groups.d.ts +1 -1
  143. package/dist/effect/generated/contacts.d.ts +49 -49
  144. package/dist/effect/generated/conversations.d.ts +1 -1
  145. package/dist/effect/generated/custom-fields.d.ts +1 -1
  146. package/dist/effect/generated/email.d.ts +1 -1
  147. package/dist/effect/generated/events.d.ts +12 -12
  148. package/dist/effect/generated/extension-installations.d.ts +1 -1
  149. package/dist/effect/generated/extensions.d.ts +1 -1
  150. package/dist/effect/generated/feedback.d.ts +1 -1
  151. package/dist/effect/generated/index.d.ts +87 -87
  152. package/dist/effect/generated/integrations-catalog.d.ts +3 -3
  153. package/dist/effect/generated/integrations.d.ts +15 -15
  154. package/dist/effect/generated/journeys.d.ts +81 -81
  155. package/dist/effect/generated/mailboxes.d.ts +1 -1
  156. package/dist/effect/generated/media.d.ts +1 -1
  157. package/dist/effect/generated/messages.d.ts +1 -1
  158. package/dist/effect/generated/namespaces.d.ts +1 -1
  159. package/dist/effect/generated/newsletter-domains.d.ts +1 -1
  160. package/dist/effect/generated/newsletter-issues.d.ts +1 -1
  161. package/dist/effect/generated/newsletters.d.ts +1 -1
  162. package/dist/effect/generated/operations.d.ts +1 -1
  163. package/dist/effect/generated/organizations.d.ts +1 -1
  164. package/dist/effect/generated/policies.d.ts +1 -1
  165. package/dist/effect/generated/scheduled-messages.d.ts +147 -147
  166. package/dist/effect/generated/shared.d.ts +1 -1
  167. package/dist/effect/generated/subscriptions.d.ts +1 -1
  168. package/dist/effect/generated/template-registrations.d.ts +1 -1
  169. package/dist/effect/generated/template-share-links.d.ts +1 -1
  170. package/dist/effect/generated/templates.d.ts +1 -1
  171. package/dist/effect/generated/topic-forms.d.ts +1 -1
  172. package/dist/effect/generated/topics.d.ts +1 -1
  173. package/dist/effect/generated/webhooks.d.ts +1 -1
  174. package/dist/effect/generated/whats-app-flows.d.ts +1 -1
  175. package/dist/effect/generated/whats-app-setup-links.d.ts +1 -1
  176. package/dist/effect/generated/whats-app.d.ts +1 -1
  177. package/dist/effect/generated/whoami.d.ts +1 -1
  178. package/dist/effect/index.d.ts +47 -47
  179. package/dist/effect/integrations-catalog.d.ts +3 -3
  180. package/dist/effect/integrations-catalog.js +2 -1
  181. package/dist/effect/integrations.d.ts +11 -11
  182. package/dist/effect/integrations.js +2 -1
  183. package/dist/effect/internal/client.d.ts +3 -3
  184. package/dist/effect/internal/email-sender.d.ts +4 -4
  185. package/dist/effect/internal/mailbox-events.d.ts +2 -2
  186. package/dist/effect/internal/operation.d.ts +24 -5
  187. package/dist/effect/internal/operation.js +21 -21
  188. package/dist/effect/internal/send.d.ts +4 -4
  189. package/dist/effect/journeys.d.ts +20 -20
  190. package/dist/effect/journeys.js +2 -1
  191. package/dist/effect/mailboxes.d.ts +123 -123
  192. package/dist/effect/mailboxes.js +2 -1
  193. package/dist/effect/media.d.ts +5 -5
  194. package/dist/effect/media.js +2 -1
  195. package/dist/effect/messages.d.ts +17 -17
  196. package/dist/effect/messages.js +2 -1
  197. package/dist/effect/namespaces.d.ts +15 -15
  198. package/dist/effect/namespaces.js +2 -1
  199. package/dist/effect/newsletter-domains.d.ts +6 -6
  200. package/dist/effect/newsletter-domains.js +2 -1
  201. package/dist/effect/newsletter-issues.d.ts +11 -11
  202. package/dist/effect/newsletter-issues.js +2 -1
  203. package/dist/effect/newsletters.d.ts +5 -5
  204. package/dist/effect/newsletters.js +2 -1
  205. package/dist/effect/operations.d.ts +5 -5
  206. package/dist/effect/operations.js +2 -1
  207. package/dist/effect/organizations.d.ts +12 -12
  208. package/dist/effect/organizations.js +2 -1
  209. package/dist/effect/policies.d.ts +3 -3
  210. package/dist/effect/policies.js +2 -1
  211. package/dist/effect/scheduled-messages.d.ts +23 -23
  212. package/dist/effect/scheduled-messages.js +2 -1
  213. package/dist/effect/subscriptions.d.ts +1 -1
  214. package/dist/effect/subscriptions.js +2 -1
  215. package/dist/effect/template-registrations.d.ts +3 -3
  216. package/dist/effect/template-registrations.js +2 -1
  217. package/dist/effect/template-share-links.d.ts +5 -5
  218. package/dist/effect/template-share-links.js +2 -1
  219. package/dist/effect/templates.d.ts +46 -46
  220. package/dist/effect/templates.js +2 -1
  221. package/dist/effect/topic-forms.d.ts +5 -5
  222. package/dist/effect/topic-forms.js +2 -1
  223. package/dist/effect/topics.d.ts +11 -11
  224. package/dist/effect/topics.js +2 -1
  225. package/dist/effect/webhooks.d.ts +16 -16
  226. package/dist/effect/webhooks.js +2 -1
  227. package/dist/effect/whatsapp-flows.d.ts +10 -10
  228. package/dist/effect/whatsapp-flows.js +2 -1
  229. package/dist/effect/whatsapp-setup-links.d.ts +6 -6
  230. package/dist/effect/whatsapp-setup-links.js +2 -1
  231. package/dist/effect/whatsapp.d.ts +12 -12
  232. package/dist/effect/whatsapp.js +2 -1
  233. package/dist/effect/whoami.d.ts +1 -1
  234. package/dist/effect/whoami.js +2 -1
  235. package/dist/index.d.ts +1 -1
  236. package/dist/mailbox/dispatch.d.ts +2 -2
  237. package/dist/mailbox/index.d.ts +4 -4
  238. package/dist/mailbox/test.d.ts +2 -2
  239. package/dist/mailbox/types.d.ts +2 -2
  240. package/dist/mailbox/webhook.d.ts +2 -2
  241. package/dist/package.js +1 -1
  242. package/dist/promises/client.d.ts +10 -10
  243. package/dist/promises/errors.gen.d.ts +1 -1
  244. package/dist/promises/index.d.ts +5 -5
  245. package/dist/promises/request.d.ts +2 -2
  246. package/dist/promises/request.js +1 -1
  247. package/dist/promises/types.gen.d.ts +1 -1
  248. package/dist/request-policy.d.ts +10 -2
  249. package/dist/request-policy.js +3 -5
  250. package/package.json +9 -9
  251. package/dist/service-map.js +0 -830
@@ -1,5 +1,5 @@
1
- export { events } from "./internal/mailbox-events";
2
- export { type MailboxEvent, MailboxEventStreamError, type MailboxEventStreamErrorFields, type MailboxEventStreamErrorReason, type MailboxEventStreamErrorTag, type MailboxEventStreamFailure, type MailboxEventStreamOptions, type MailboxEventStreamReconnect, type MailboxEventType, } from "../mailbox-events";
1
+ export { events } from "./internal/mailbox-events.js";
2
+ export { type MailboxEvent, MailboxEventStreamError, type MailboxEventStreamErrorFields, type MailboxEventStreamErrorReason, type MailboxEventStreamErrorTag, type MailboxEventStreamFailure, type MailboxEventStreamOptions, type MailboxEventStreamReconnect, type MailboxEventType, } from "../mailbox-events.js";
3
3
  export declare const createImportUpload: (input: {
4
4
  readonly id: string;
5
5
  readonly importId?: string | null | undefined;
@@ -7,25 +7,25 @@ export declare const createImportUpload: (input: {
7
7
  readonly sizeBytes: number;
8
8
  readonly format: "apple" | "gmail" | "mbox";
9
9
  readonly mailboxPath?: string | null | undefined;
10
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesCreateImportUpload">;
10
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesCreateImportUpload">;
11
11
  export declare const startImport: (input: {
12
12
  readonly id: string;
13
13
  readonly importId: string;
14
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesStartImport">;
14
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesStartImport">;
15
15
  export declare const getImport: (input: {
16
16
  readonly id: string;
17
17
  readonly importId: string;
18
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesGetImport">;
18
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesGetImport">;
19
19
  export declare const listImports: (input: {
20
20
  readonly id: string;
21
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesListImports">;
21
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesListImports">;
22
22
  export declare const list: ((input?: {
23
23
  readonly limit?: number | null | undefined;
24
24
  readonly cursor?: string | undefined;
25
25
  readonly after?: string | undefined;
26
26
  readonly before?: string | undefined;
27
27
  readonly namespaceId?: string | undefined;
28
- } | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesList">) & {
28
+ } | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesList">) & {
29
29
  readonly pages: (input?: {
30
30
  readonly limit?: number | null | undefined;
31
31
  readonly cursor?: string | undefined;
@@ -46,7 +46,7 @@ export declare const list: ((input?: {
46
46
  readonly createdAt: string;
47
47
  }[];
48
48
  readonly nextCursor: string | null;
49
- }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
49
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
50
50
  readonly items: (input?: {
51
51
  readonly limit?: number | null | undefined;
52
52
  readonly cursor?: string | undefined;
@@ -64,7 +64,7 @@ export declare const list: ((input?: {
64
64
  readonly primaryAddress: string | null;
65
65
  readonly sendingStatus: "failed" | "pending" | "ready" | null;
66
66
  readonly createdAt: string;
67
- }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
67
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
68
68
  };
69
69
  export declare const create: (input: {
70
70
  readonly namespaceId?: string | null | undefined;
@@ -78,52 +78,52 @@ export declare const create: (input: {
78
78
  readonly metadata?: {
79
79
  readonly [x: string]: string | undefined;
80
80
  } | null | undefined;
81
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesCreate">;
81
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesCreate">;
82
82
  export declare const get: (input: {
83
83
  readonly id: string;
84
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesGet">;
84
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesGet">;
85
85
  export declare const update: (input: {
86
86
  readonly id: string;
87
87
  readonly name?: string | null | undefined;
88
88
  readonly metadata?: {
89
89
  readonly [x: string]: string | null | undefined;
90
90
  } | null | undefined;
91
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesUpdate">;
91
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesUpdate">;
92
92
  export declare const remove: (input: {
93
93
  readonly id: string;
94
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesRemove">;
94
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesRemove">;
95
95
  export declare const createEndpoint: (input: {
96
96
  readonly id: string;
97
97
  readonly channel: "email" | "sms" | "whatsapp";
98
98
  readonly address: string;
99
99
  readonly displayName?: string | null | undefined;
100
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesCreateEndpoint">;
100
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesCreateEndpoint">;
101
101
  export declare const updateEndpoint: (input: {
102
102
  readonly id: string;
103
103
  readonly endpointId: string;
104
104
  readonly displayName?: string | null | undefined;
105
105
  readonly default?: true | null | undefined;
106
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesUpdateEndpoint">;
106
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesUpdateEndpoint">;
107
107
  export declare const removeEndpoint: (input: {
108
108
  readonly id: string;
109
109
  readonly endpointId: string;
110
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesRemoveEndpoint">;
110
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesRemoveEndpoint">;
111
111
  export declare const pause: (input: {
112
112
  readonly id: string;
113
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesPause">;
113
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesPause">;
114
114
  export declare const resume: (input: {
115
115
  readonly id: string;
116
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesResume">;
116
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesResume">;
117
117
  export declare const getAgentActivity: (input: {
118
118
  readonly id: string;
119
119
  readonly after?: string | undefined;
120
120
  readonly before?: string | undefined;
121
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesGetAgentActivity">;
121
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesGetAgentActivity">;
122
122
  export declare const listGrants: ((input: {
123
123
  readonly id: string;
124
124
  readonly limit?: number | null | undefined;
125
125
  readonly cursor?: string | undefined;
126
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesListGrants">) & {
126
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesListGrants">) & {
127
127
  readonly pages: (input: {
128
128
  readonly id: string;
129
129
  readonly limit?: number | null | undefined;
@@ -140,7 +140,7 @@ export declare const listGrants: ((input: {
140
140
  readonly createdAt: string;
141
141
  }[];
142
142
  readonly nextCursor: string | null;
143
- }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
143
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
144
144
  readonly items: (input: {
145
145
  readonly id: string;
146
146
  readonly limit?: number | null | undefined;
@@ -154,48 +154,48 @@ export declare const listGrants: ((input: {
154
154
  };
155
155
  readonly permissions: readonly ("action:approve" | "action:propose" | "draft:write" | "label:write" | "mailbox:configure" | "mailbox:read" | "note:write" | "policy:read" | "quarantine:read" | "quarantine:release" | "thread:read" | "thread:write")[];
156
156
  readonly createdAt: string;
157
- }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
157
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
158
158
  };
159
159
  export declare const createGrant: (input: {
160
160
  readonly id: string;
161
161
  readonly userId: string;
162
162
  readonly role: "admin" | "collaborator" | "viewer";
163
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesCreateGrant">;
163
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesCreateGrant">;
164
164
  export declare const updateGrant: (input: {
165
165
  readonly id: string;
166
166
  readonly grantId: string;
167
167
  readonly role?: "admin" | "collaborator" | "viewer" | null | undefined;
168
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesUpdateGrant">;
168
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesUpdateGrant">;
169
169
  export declare const revokeGrant: (input: {
170
170
  readonly id: string;
171
171
  readonly grantId: string;
172
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesRevokeGrant">;
172
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesRevokeGrant">;
173
173
  export declare const listFolders: (input: {
174
174
  readonly id: string;
175
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesListFolders">;
175
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesListFolders">;
176
176
  export declare const listLabels: (input: {
177
177
  readonly id: string;
178
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesListLabels">;
178
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesListLabels">;
179
179
  export declare const createLabel: (input: {
180
180
  readonly id: string;
181
181
  readonly slug: string;
182
182
  readonly displayName: string;
183
183
  readonly color?: "agent" | "billing" | "domain" | "important" | "neutral" | "routing" | null | undefined;
184
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesCreateLabel">;
184
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesCreateLabel">;
185
185
  export declare const updateLabel: (input: {
186
186
  readonly id: string;
187
187
  readonly labelId: string;
188
188
  readonly displayName?: string | null | undefined;
189
189
  readonly color?: "agent" | "billing" | "domain" | "important" | "neutral" | "routing" | null | undefined;
190
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesUpdateLabel">;
190
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesUpdateLabel">;
191
191
  export declare const deleteLabel: (input: {
192
192
  readonly id: string;
193
193
  readonly labelId: string;
194
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesDeleteLabel">;
194
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesDeleteLabel">;
195
195
  export declare const getNeedsYou: ((input?: {
196
196
  readonly limit?: number | null | undefined;
197
197
  readonly cursor?: string | undefined;
198
- } | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesGetNeedsYou">) & {
198
+ } | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesGetNeedsYou">) & {
199
199
  readonly pages: (input?: {
200
200
  readonly limit?: number | null | undefined;
201
201
  readonly cursor?: string | undefined;
@@ -246,10 +246,10 @@ export declare const getNeedsYou: ((input?: {
246
246
  readonly tool?: string | null;
247
247
  };
248
248
  readonly facts: {
249
- readonly [x: string]: import("./generated").JsonValue;
249
+ readonly [x: string]: import("./generated/index.js").JsonValue;
250
250
  };
251
251
  readonly kind: "reply" | "send" | "toolCall";
252
- readonly args: import("./generated").JsonValue;
252
+ readonly args: import("./generated/index.js").JsonValue;
253
253
  } | {
254
254
  readonly effect: "final" | "read" | "write";
255
255
  readonly resource: {
@@ -260,12 +260,12 @@ export declare const getNeedsYou: ((input?: {
260
260
  readonly tool?: string | null;
261
261
  };
262
262
  readonly facts: {
263
- readonly [x: string]: import("./generated").JsonValue;
263
+ readonly [x: string]: import("./generated/index.js").JsonValue;
264
264
  };
265
265
  readonly kind: "handoff";
266
266
  readonly args: {
267
267
  readonly reason: string;
268
- readonly draft?: import("./generated").JsonValue;
268
+ readonly draft?: import("./generated/index.js").JsonValue;
269
269
  };
270
270
  };
271
271
  readonly judge?: {
@@ -274,7 +274,7 @@ export declare const getNeedsYou: ((input?: {
274
274
  readonly instructionHash?: string | null;
275
275
  readonly ms: number;
276
276
  readonly usage: {
277
- readonly [x: string]: import("./generated").JsonValue;
277
+ readonly [x: string]: import("./generated/index.js").JsonValue;
278
278
  };
279
279
  } | null;
280
280
  readonly resolution?: {
@@ -297,7 +297,7 @@ export declare const getNeedsYou: ((input?: {
297
297
  readonly name: string;
298
298
  readonly argumentsHash: string;
299
299
  readonly arguments: {
300
- readonly [x: string]: import("./generated").JsonValue;
300
+ readonly [x: string]: import("./generated/index.js").JsonValue;
301
301
  };
302
302
  } | null;
303
303
  readonly intent: {
@@ -340,7 +340,7 @@ export declare const getNeedsYou: ((input?: {
340
340
  readonly templateId: string & import("effect/Brand").Brand<"TemplateId">;
341
341
  readonly templateChannelVariantId: string & import("effect/Brand").Brand<"TemplateChannelVariantId">;
342
342
  readonly templateData: {
343
- readonly [x: string]: import("./generated").JsonValue;
343
+ readonly [x: string]: import("./generated/index.js").JsonValue;
344
344
  } | null;
345
345
  } | null;
346
346
  readonly threadId: (string & import("effect/Brand").Brand<"MailboxThreadId">) | null;
@@ -384,7 +384,7 @@ export declare const getNeedsYou: ((input?: {
384
384
  readonly quarantinedMessages: number;
385
385
  readonly total: number;
386
386
  };
387
- }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
387
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
388
388
  readonly items: (input?: {
389
389
  readonly limit?: number | null | undefined;
390
390
  readonly cursor?: string | undefined;
@@ -434,10 +434,10 @@ export declare const getNeedsYou: ((input?: {
434
434
  readonly tool?: string | null;
435
435
  };
436
436
  readonly facts: {
437
- readonly [x: string]: import("./generated").JsonValue;
437
+ readonly [x: string]: import("./generated/index.js").JsonValue;
438
438
  };
439
439
  readonly kind: "reply" | "send" | "toolCall";
440
- readonly args: import("./generated").JsonValue;
440
+ readonly args: import("./generated/index.js").JsonValue;
441
441
  } | {
442
442
  readonly effect: "final" | "read" | "write";
443
443
  readonly resource: {
@@ -448,12 +448,12 @@ export declare const getNeedsYou: ((input?: {
448
448
  readonly tool?: string | null;
449
449
  };
450
450
  readonly facts: {
451
- readonly [x: string]: import("./generated").JsonValue;
451
+ readonly [x: string]: import("./generated/index.js").JsonValue;
452
452
  };
453
453
  readonly kind: "handoff";
454
454
  readonly args: {
455
455
  readonly reason: string;
456
- readonly draft?: import("./generated").JsonValue;
456
+ readonly draft?: import("./generated/index.js").JsonValue;
457
457
  };
458
458
  };
459
459
  readonly judge?: {
@@ -462,7 +462,7 @@ export declare const getNeedsYou: ((input?: {
462
462
  readonly instructionHash?: string | null;
463
463
  readonly ms: number;
464
464
  readonly usage: {
465
- readonly [x: string]: import("./generated").JsonValue;
465
+ readonly [x: string]: import("./generated/index.js").JsonValue;
466
466
  };
467
467
  } | null;
468
468
  readonly resolution?: {
@@ -485,7 +485,7 @@ export declare const getNeedsYou: ((input?: {
485
485
  readonly name: string;
486
486
  readonly argumentsHash: string;
487
487
  readonly arguments: {
488
- readonly [x: string]: import("./generated").JsonValue;
488
+ readonly [x: string]: import("./generated/index.js").JsonValue;
489
489
  };
490
490
  } | null;
491
491
  readonly intent: {
@@ -528,7 +528,7 @@ export declare const getNeedsYou: ((input?: {
528
528
  readonly templateId: string & import("effect/Brand").Brand<"TemplateId">;
529
529
  readonly templateChannelVariantId: string & import("effect/Brand").Brand<"TemplateChannelVariantId">;
530
530
  readonly templateData: {
531
- readonly [x: string]: import("./generated").JsonValue;
531
+ readonly [x: string]: import("./generated/index.js").JsonValue;
532
532
  } | null;
533
533
  } | null;
534
534
  readonly threadId: (string & import("effect/Brand").Brand<"MailboxThreadId">) | null;
@@ -565,7 +565,7 @@ export declare const getNeedsYou: ((input?: {
565
565
  readonly reason: "dmarc" | "fraud" | "phishing" | "prompt_injection" | "spam" | "verdict_missing" | "virus" | "virus_unscanned";
566
566
  readonly source: "classifier" | "receipt";
567
567
  readonly heldAt: string;
568
- }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
568
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
569
569
  };
570
570
  export declare const listOrganizationDrafts: ((input?: {
571
571
  readonly limit?: number | null | undefined;
@@ -573,7 +573,7 @@ export declare const listOrganizationDrafts: ((input?: {
573
573
  readonly mailboxId?: string | readonly string[] | undefined;
574
574
  readonly kind?: "personal" | "shared" | undefined;
575
575
  readonly threadId?: string | undefined;
576
- } | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesListOrganizationDrafts">) & {
576
+ } | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesListOrganizationDrafts">) & {
577
577
  readonly pages: (input?: {
578
578
  readonly limit?: number | null | undefined;
579
579
  readonly cursor?: string | undefined;
@@ -599,7 +599,7 @@ export declare const listOrganizationDrafts: ((input?: {
599
599
  };
600
600
  }[];
601
601
  readonly nextCursor: string | null;
602
- }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
602
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
603
603
  readonly items: (input?: {
604
604
  readonly limit?: number | null | undefined;
605
605
  readonly cursor?: string | undefined;
@@ -622,7 +622,7 @@ export declare const listOrganizationDrafts: ((input?: {
622
622
  readonly address: string | null;
623
623
  readonly kind: "personal" | "shared";
624
624
  };
625
- }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
625
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
626
626
  };
627
627
  export declare const listOrganizationThreads: ((input?: {
628
628
  readonly limit?: number | null | undefined;
@@ -642,7 +642,7 @@ export declare const listOrganizationThreads: ((input?: {
642
642
  readonly mailboxId?: string | readonly string[] | undefined;
643
643
  readonly kind?: "personal" | "shared" | undefined;
644
644
  readonly conversation?: string | undefined;
645
- } | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesListOrganizationThreads">) & {
645
+ } | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesListOrganizationThreads">) & {
646
646
  readonly pages: (input?: {
647
647
  readonly limit?: number | null | undefined;
648
648
  readonly cursor?: string | undefined;
@@ -698,7 +698,7 @@ export declare const listOrganizationThreads: ((input?: {
698
698
  };
699
699
  }[];
700
700
  readonly nextCursor: string | null;
701
- }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
701
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
702
702
  readonly items: (input?: {
703
703
  readonly limit?: number | null | undefined;
704
704
  readonly cursor?: string | undefined;
@@ -751,7 +751,7 @@ export declare const listOrganizationThreads: ((input?: {
751
751
  readonly address: string | null;
752
752
  readonly kind: "personal" | "shared";
753
753
  };
754
- }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
754
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
755
755
  };
756
756
  export declare const listThreads: ((input: {
757
757
  readonly id: string;
@@ -769,7 +769,7 @@ export declare const listThreads: ((input: {
769
769
  readonly unread?: boolean | null | undefined;
770
770
  readonly starred?: boolean | null | undefined;
771
771
  readonly snoozed?: boolean | null | undefined;
772
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesListThreads">) & {
772
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesListThreads">) & {
773
773
  readonly pages: (input: {
774
774
  readonly id: string;
775
775
  readonly limit?: number | null | undefined;
@@ -818,7 +818,7 @@ export declare const listThreads: ((input: {
818
818
  readonly lastActivityAt: string;
819
819
  }[];
820
820
  readonly nextCursor: string | null;
821
- }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
821
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
822
822
  readonly items: (input: {
823
823
  readonly id: string;
824
824
  readonly limit?: number | null | undefined;
@@ -864,12 +864,12 @@ export declare const listThreads: ((input: {
864
864
  readonly displayName?: string | null;
865
865
  } | null;
866
866
  readonly lastActivityAt: string;
867
- }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
867
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
868
868
  };
869
869
  export declare const getThread: (input: {
870
870
  readonly id: string;
871
871
  readonly threadId: string;
872
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesGetThread">;
872
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesGetThread">;
873
873
  export declare const updateThread: (input: {
874
874
  readonly id: string;
875
875
  readonly threadId: string;
@@ -882,23 +882,23 @@ export declare const updateThread: (input: {
882
882
  readonly snoozedUntil?: string | null | undefined;
883
883
  readonly ifNoReply?: boolean | undefined;
884
884
  readonly reminderInboxAt?: string | null | undefined;
885
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesUpdateThread">;
885
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesUpdateThread">;
886
886
  export declare const addThreadLabels: (input: {
887
887
  readonly id: string;
888
888
  readonly threadId: string;
889
889
  readonly labels: readonly string[];
890
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesAddThreadLabels">;
890
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesAddThreadLabels">;
891
891
  export declare const removeThreadLabels: (input: {
892
892
  readonly id: string;
893
893
  readonly threadId: string;
894
894
  readonly labels: readonly string[];
895
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesRemoveThreadLabels">;
895
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesRemoveThreadLabels">;
896
896
  export declare const listThreadMessages: ((input: {
897
897
  readonly id: string;
898
898
  readonly threadId: string;
899
899
  readonly limit?: number | null | undefined;
900
900
  readonly cursor?: string | undefined;
901
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesListThreadMessages">) & {
901
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesListThreadMessages">) & {
902
902
  readonly pages: (input: {
903
903
  readonly id: string;
904
904
  readonly threadId: string;
@@ -929,7 +929,7 @@ export declare const listThreadMessages: ((input: {
929
929
  readonly occurredAt: string;
930
930
  }[];
931
931
  readonly nextCursor: string | null;
932
- }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
932
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
933
933
  readonly items: (input: {
934
934
  readonly id: string;
935
935
  readonly threadId: string;
@@ -957,14 +957,14 @@ export declare const listThreadMessages: ((input: {
957
957
  readonly preview: string | null;
958
958
  readonly hasAttachments: boolean;
959
959
  readonly occurredAt: string;
960
- }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
960
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
961
961
  };
962
962
  export declare const getThreadContent: ((input: {
963
963
  readonly id: string;
964
964
  readonly threadId: string;
965
965
  readonly limit?: number | null | undefined;
966
966
  readonly cursor?: string | undefined;
967
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesGetThreadContent">) & {
967
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesGetThreadContent">) & {
968
968
  readonly pages: (input: {
969
969
  readonly id: string;
970
970
  readonly threadId: string;
@@ -1069,7 +1069,7 @@ export declare const getThreadContent: ((input: {
1069
1069
  readonly contextMessageId: (string & import("effect/Brand").Brand<"MessageId">) | null;
1070
1070
  })[];
1071
1071
  readonly nextCursor: string | null;
1072
- }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
1072
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
1073
1073
  readonly items: (input: {
1074
1074
  readonly id: string;
1075
1075
  readonly threadId: string;
@@ -1171,14 +1171,14 @@ export declare const getThreadContent: ((input: {
1171
1171
  } | null;
1172
1172
  readonly summary: string | null;
1173
1173
  readonly contextMessageId: (string & import("effect/Brand").Brand<"MessageId">) | null;
1174
- }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
1174
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
1175
1175
  };
1176
1176
  export declare const listThreadNotes: ((input: {
1177
1177
  readonly id: string;
1178
1178
  readonly threadId: string;
1179
1179
  readonly limit?: number | null | undefined;
1180
1180
  readonly cursor?: string | undefined;
1181
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesListThreadNotes">) & {
1181
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesListThreadNotes">) & {
1182
1182
  readonly pages: (input: {
1183
1183
  readonly id: string;
1184
1184
  readonly threadId: string;
@@ -1199,7 +1199,7 @@ export declare const listThreadNotes: ((input: {
1199
1199
  readonly updatedAt: string;
1200
1200
  }[];
1201
1201
  readonly nextCursor: string | null;
1202
- }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
1202
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
1203
1203
  readonly items: (input: {
1204
1204
  readonly id: string;
1205
1205
  readonly threadId: string;
@@ -1217,7 +1217,7 @@ export declare const listThreadNotes: ((input: {
1217
1217
  readonly pinned: boolean;
1218
1218
  readonly createdAt: string;
1219
1219
  readonly updatedAt: string;
1220
- }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
1220
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
1221
1221
  };
1222
1222
  export declare const createNote: (input: {
1223
1223
  readonly id: string;
@@ -1225,7 +1225,7 @@ export declare const createNote: (input: {
1225
1225
  readonly body: string;
1226
1226
  readonly color?: string | null | undefined;
1227
1227
  readonly pinned?: boolean | null | undefined;
1228
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesCreateNote">;
1228
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesCreateNote">;
1229
1229
  export declare const updateNote: (input: {
1230
1230
  readonly id: string;
1231
1231
  readonly threadId: string;
@@ -1233,12 +1233,12 @@ export declare const updateNote: (input: {
1233
1233
  readonly body?: string | null | undefined;
1234
1234
  readonly color?: string | null | undefined;
1235
1235
  readonly pinned?: boolean | null | undefined;
1236
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesUpdateNote">;
1236
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesUpdateNote">;
1237
1237
  export declare const deleteNote: (input: {
1238
1238
  readonly id: string;
1239
1239
  readonly threadId: string;
1240
1240
  readonly noteId: string;
1241
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesDeleteNote">;
1241
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesDeleteNote">;
1242
1242
  export declare const sendMessage: (input: {
1243
1243
  readonly channel: "sms" | "whatsapp";
1244
1244
  readonly to: string;
@@ -1289,25 +1289,25 @@ export declare const sendMessage: (input: {
1289
1289
  readonly size: number;
1290
1290
  }[] | null | undefined;
1291
1291
  readonly id: string;
1292
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesSendMessage">;
1292
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesSendMessage">;
1293
1293
  export declare const getMessage: (input: {
1294
1294
  readonly id: string;
1295
1295
  readonly messageId: string;
1296
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesGetMessage">;
1296
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesGetMessage">;
1297
1297
  export declare const getMessageRaw: (input: {
1298
1298
  readonly id: string;
1299
1299
  readonly messageId: string;
1300
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesGetMessageRaw">;
1300
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesGetMessageRaw">;
1301
1301
  export declare const getMessageAttachment: (input: {
1302
1302
  readonly id: string;
1303
1303
  readonly messageId: string;
1304
1304
  readonly attachmentId: string;
1305
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesGetMessageAttachment">;
1305
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesGetMessageAttachment">;
1306
1306
  export declare const copyMessageAttachment: (input: {
1307
1307
  readonly id: string;
1308
1308
  readonly messageId: string;
1309
1309
  readonly attachmentId: string;
1310
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesCopyMessageAttachment">;
1310
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesCopyMessageAttachment">;
1311
1311
  export declare const reply: (input: {
1312
1312
  readonly channel: "sms" | "whatsapp";
1313
1313
  readonly text?: string | null | undefined;
@@ -1356,7 +1356,7 @@ export declare const reply: (input: {
1356
1356
  }[] | null | undefined;
1357
1357
  readonly id: string;
1358
1358
  readonly messageId: string;
1359
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesReply">;
1359
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesReply">;
1360
1360
  export declare const replyAll: (input: {
1361
1361
  readonly channel: "sms" | "whatsapp";
1362
1362
  readonly text?: string | null | undefined;
@@ -1405,7 +1405,7 @@ export declare const replyAll: (input: {
1405
1405
  }[] | null | undefined;
1406
1406
  readonly id: string;
1407
1407
  readonly messageId: string;
1408
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesReplyAll">;
1408
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesReplyAll">;
1409
1409
  export declare const forward: (input: {
1410
1410
  readonly id: string;
1411
1411
  readonly messageId: string;
@@ -1421,14 +1421,14 @@ export declare const forward: (input: {
1421
1421
  readonly contentType: string;
1422
1422
  readonly size: number;
1423
1423
  }[] | null | undefined;
1424
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesForward">;
1424
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesForward">;
1425
1425
  export declare const listQuarantine: ((input: {
1426
1426
  readonly id: string;
1427
1427
  readonly limit?: number | null | undefined;
1428
1428
  readonly cursor?: string | undefined;
1429
1429
  readonly after?: string | undefined;
1430
1430
  readonly before?: string | undefined;
1431
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesListQuarantine">) & {
1431
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesListQuarantine">) & {
1432
1432
  readonly pages: (input: {
1433
1433
  readonly id: string;
1434
1434
  readonly limit?: number | null | undefined;
@@ -1453,7 +1453,7 @@ export declare const listQuarantine: ((input: {
1453
1453
  readonly discardedAt: string | null;
1454
1454
  }[];
1455
1455
  readonly nextCursor: string | null;
1456
- }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
1456
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
1457
1457
  readonly items: (input: {
1458
1458
  readonly id: string;
1459
1459
  readonly limit?: number | null | undefined;
@@ -1475,16 +1475,16 @@ export declare const listQuarantine: ((input: {
1475
1475
  readonly releasedAt: string | null;
1476
1476
  readonly threadId: (string & import("effect/Brand").Brand<"MailboxThreadId">) | null;
1477
1477
  readonly discardedAt: string | null;
1478
- }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
1478
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
1479
1479
  };
1480
1480
  export declare const releaseMessage: (input: {
1481
1481
  readonly id: string;
1482
1482
  readonly messageId: string;
1483
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesReleaseMessage">;
1483
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesReleaseMessage">;
1484
1484
  export declare const discardMessage: (input: {
1485
1485
  readonly id: string;
1486
1486
  readonly messageId: string;
1487
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesDiscardMessage">;
1487
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesDiscardMessage">;
1488
1488
  export declare const scheduleDraft: (input: {
1489
1489
  readonly id: string;
1490
1490
  readonly draftId: string;
@@ -1492,7 +1492,7 @@ export declare const scheduleDraft: (input: {
1492
1492
  readonly base: string;
1493
1493
  readonly draftRevision: number;
1494
1494
  readonly sendAt: string;
1495
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesScheduleDraft">;
1495
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesScheduleDraft">;
1496
1496
  export declare const rescheduleSend: (input: {
1497
1497
  readonly id: string;
1498
1498
  readonly outboxId: string;
@@ -1500,26 +1500,26 @@ export declare const rescheduleSend: (input: {
1500
1500
  readonly base: string;
1501
1501
  readonly expectedRevision: number;
1502
1502
  readonly sendAt: string;
1503
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesRescheduleSend">;
1503
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesRescheduleSend">;
1504
1504
  export declare const unscheduleSend: (input: {
1505
1505
  readonly id: string;
1506
1506
  readonly outboxId: string;
1507
1507
  readonly idempotencyKey: string;
1508
1508
  readonly base: string;
1509
1509
  readonly expectedRevision: number;
1510
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesUnscheduleSend">;
1510
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesUnscheduleSend">;
1511
1511
  export declare const sendScheduledNow: (input: {
1512
1512
  readonly id: string;
1513
1513
  readonly outboxId: string;
1514
1514
  readonly idempotencyKey: string;
1515
1515
  readonly base: string;
1516
1516
  readonly expectedRevision: number;
1517
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesSendScheduledNow">;
1517
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesSendScheduledNow">;
1518
1518
  export declare const listScheduledSends: ((input: {
1519
1519
  readonly id: string;
1520
1520
  readonly limit?: number | null | undefined;
1521
1521
  readonly cursor?: string | undefined;
1522
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesListScheduledSends">) & {
1522
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesListScheduledSends">) & {
1523
1523
  readonly pages: (input: {
1524
1524
  readonly id: string;
1525
1525
  readonly limit?: number | null | undefined;
@@ -1550,7 +1550,7 @@ export declare const listScheduledSends: ((input: {
1550
1550
  readonly updatedAt: string;
1551
1551
  }[];
1552
1552
  readonly nextCursor: string | null;
1553
- }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
1553
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
1554
1554
  readonly items: (input: {
1555
1555
  readonly id: string;
1556
1556
  readonly limit?: number | null | undefined;
@@ -1578,14 +1578,14 @@ export declare const listScheduledSends: ((input: {
1578
1578
  } | null;
1579
1579
  readonly createdAt: string;
1580
1580
  readonly updatedAt: string;
1581
- }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
1581
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
1582
1582
  };
1583
1583
  export declare const listDrafts: ((input: {
1584
1584
  readonly id: string;
1585
1585
  readonly limit?: number | null | undefined;
1586
1586
  readonly cursor?: string | undefined;
1587
1587
  readonly threadId?: string | undefined;
1588
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesListDrafts">) & {
1588
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesListDrafts">) & {
1589
1589
  readonly pages: (input: {
1590
1590
  readonly id: string;
1591
1591
  readonly limit?: number | null | undefined;
@@ -1605,7 +1605,7 @@ export declare const listDrafts: ((input: {
1605
1605
  readonly updatedAt: string;
1606
1606
  }[];
1607
1607
  readonly nextCursor: string | null;
1608
- }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
1608
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
1609
1609
  readonly items: (input: {
1610
1610
  readonly id: string;
1611
1611
  readonly limit?: number | null | undefined;
@@ -1622,7 +1622,7 @@ export declare const listDrafts: ((input: {
1622
1622
  readonly subject: string | null;
1623
1623
  readonly createdAt: string;
1624
1624
  readonly updatedAt: string;
1625
- }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
1625
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
1626
1626
  };
1627
1627
  export declare const createDraft: (input: {
1628
1628
  readonly channel: "sms" | "whatsapp";
@@ -1649,11 +1649,11 @@ export declare const createDraft: (input: {
1649
1649
  }[] | null | undefined;
1650
1650
  readonly inReplyToMessageId?: string | null | undefined;
1651
1651
  readonly id: string;
1652
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesCreateDraft">;
1652
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesCreateDraft">;
1653
1653
  export declare const getDraft: (input: {
1654
1654
  readonly id: string;
1655
1655
  readonly draftId: string;
1656
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesGetDraft">;
1656
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesGetDraft">;
1657
1657
  export declare const updateDraft: (input: {
1658
1658
  readonly id: string;
1659
1659
  readonly draftId: string;
@@ -1671,15 +1671,15 @@ export declare const updateDraft: (input: {
1671
1671
  readonly contentType: string;
1672
1672
  readonly size: number;
1673
1673
  }[] | null | undefined;
1674
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesUpdateDraft">;
1674
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesUpdateDraft">;
1675
1675
  export declare const deleteDraft: (input: {
1676
1676
  readonly id: string;
1677
1677
  readonly draftId: string;
1678
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesDeleteDraft">;
1678
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesDeleteDraft">;
1679
1679
  export declare const sendDraft: (input: {
1680
1680
  readonly id: string;
1681
1681
  readonly draftId: string;
1682
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesSendDraft">;
1682
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesSendDraft">;
1683
1683
  export declare const listActions: ((input: {
1684
1684
  readonly id: string;
1685
1685
  readonly limit?: number | null | undefined;
@@ -1688,7 +1688,7 @@ export declare const listActions: ((input: {
1688
1688
  readonly state?: "accepted" | "allowed" | "approvalDenied" | "approvalRequired" | "approved" | "completed" | "executed" | "executing" | "failed" | "notSent" | "policyDenied" | "proposed" | "queued" | "uncertain" | undefined;
1689
1689
  readonly after?: string | undefined;
1690
1690
  readonly before?: string | undefined;
1691
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesListActions">) & {
1691
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesListActions">) & {
1692
1692
  readonly pages: (input: {
1693
1693
  readonly id: string;
1694
1694
  readonly limit?: number | null | undefined;
@@ -1901,7 +1901,7 @@ export declare const listActions: ((input: {
1901
1901
  readonly templateId: string & import("effect/Brand").Brand<"TemplateId">;
1902
1902
  readonly templateChannelVariantId: string & import("effect/Brand").Brand<"TemplateChannelVariantId">;
1903
1903
  readonly templateData: {
1904
- readonly [x: string]: import("./generated").JsonValue;
1904
+ readonly [x: string]: import("./generated/index.js").JsonValue;
1905
1905
  } | null;
1906
1906
  } | null;
1907
1907
  readonly threadId: (string & import("effect/Brand").Brand<"MailboxThreadId">) | null;
@@ -1977,7 +1977,7 @@ export declare const listActions: ((input: {
1977
1977
  readonly name: string;
1978
1978
  readonly argumentsHash: string;
1979
1979
  readonly arguments: {
1980
- readonly [x: string]: import("./generated").JsonValue;
1980
+ readonly [x: string]: import("./generated/index.js").JsonValue;
1981
1981
  };
1982
1982
  } | null;
1983
1983
  readonly handoff: {
@@ -1985,7 +1985,7 @@ export declare const listActions: ((input: {
1985
1985
  } | null;
1986
1986
  })[];
1987
1987
  readonly nextCursor: string | null;
1988
- }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
1988
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
1989
1989
  readonly items: (input: {
1990
1990
  readonly id: string;
1991
1991
  readonly limit?: number | null | undefined;
@@ -2197,7 +2197,7 @@ export declare const listActions: ((input: {
2197
2197
  readonly templateId: string & import("effect/Brand").Brand<"TemplateId">;
2198
2198
  readonly templateChannelVariantId: string & import("effect/Brand").Brand<"TemplateChannelVariantId">;
2199
2199
  readonly templateData: {
2200
- readonly [x: string]: import("./generated").JsonValue;
2200
+ readonly [x: string]: import("./generated/index.js").JsonValue;
2201
2201
  } | null;
2202
2202
  } | null;
2203
2203
  readonly threadId: (string & import("effect/Brand").Brand<"MailboxThreadId">) | null;
@@ -2273,26 +2273,26 @@ export declare const listActions: ((input: {
2273
2273
  readonly name: string;
2274
2274
  readonly argumentsHash: string;
2275
2275
  readonly arguments: {
2276
- readonly [x: string]: import("./generated").JsonValue;
2276
+ readonly [x: string]: import("./generated/index.js").JsonValue;
2277
2277
  };
2278
2278
  } | null;
2279
2279
  readonly handoff: {
2280
2280
  readonly reason: string;
2281
2281
  } | null;
2282
- }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
2282
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
2283
2283
  };
2284
2284
  export declare const getAction: (input: {
2285
2285
  readonly id: string;
2286
2286
  readonly actionId: string;
2287
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesGetAction">;
2287
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesGetAction">;
2288
2288
  export declare const cancelAction: (input: {
2289
2289
  readonly id: string;
2290
2290
  readonly actionId: string;
2291
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesCancelAction">;
2291
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesCancelAction">;
2292
2292
  export declare const retryAction: (input: {
2293
2293
  readonly id: string;
2294
2294
  readonly actionId: string;
2295
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesRetryAction">;
2295
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesRetryAction">;
2296
2296
  export declare const approveAction: (input: {
2297
2297
  readonly id: string;
2298
2298
  readonly actionId: string;
@@ -2302,20 +2302,20 @@ export declare const approveAction: (input: {
2302
2302
  readonly text?: string | null | undefined;
2303
2303
  readonly html?: string | null | undefined;
2304
2304
  } | null | undefined;
2305
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesApproveAction">;
2305
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesApproveAction">;
2306
2306
  export declare const denyAction: (input: {
2307
2307
  readonly id: string;
2308
2308
  readonly actionId: string;
2309
2309
  readonly reviewRound: number;
2310
2310
  readonly reason: string;
2311
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesDenyAction">;
2311
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesDenyAction">;
2312
2312
  export declare const listEvents: ((input: {
2313
2313
  readonly id: string;
2314
2314
  readonly limit?: number | null | undefined;
2315
2315
  readonly cursor?: string | undefined;
2316
2316
  readonly after?: string | undefined;
2317
2317
  readonly before?: string | undefined;
2318
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesListEvents">) & {
2318
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesListEvents">) & {
2319
2319
  readonly pages: (input: {
2320
2320
  readonly id: string;
2321
2321
  readonly limit?: number | null | undefined;
@@ -2334,12 +2334,12 @@ export declare const listEvents: ((input: {
2334
2334
  readonly displayName?: string | null;
2335
2335
  };
2336
2336
  readonly payload: {
2337
- readonly [x: string]: import("./generated").JsonValue;
2337
+ readonly [x: string]: import("./generated/index.js").JsonValue;
2338
2338
  };
2339
2339
  readonly occurredAt: string;
2340
2340
  }[];
2341
2341
  readonly nextCursor: string | null;
2342
- }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
2342
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
2343
2343
  readonly items: (input: {
2344
2344
  readonly id: string;
2345
2345
  readonly limit?: number | null | undefined;
@@ -2357,13 +2357,13 @@ export declare const listEvents: ((input: {
2357
2357
  readonly displayName?: string | null;
2358
2358
  };
2359
2359
  readonly payload: {
2360
- readonly [x: string]: import("./generated").JsonValue;
2360
+ readonly [x: string]: import("./generated/index.js").JsonValue;
2361
2361
  };
2362
2362
  readonly occurredAt: string;
2363
- }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
2363
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
2364
2364
  };
2365
- export declare const countSplits: (input?: never, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesCountSplits">;
2366
- export declare const listSplits: (input?: never, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesListSplits">;
2365
+ export declare const countSplits: (input?: never, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesCountSplits">;
2366
+ export declare const listSplits: (input?: never, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesListSplits">;
2367
2367
  export declare const createSplit: (input: {
2368
2368
  readonly name: string;
2369
2369
  readonly filter: {
@@ -2378,7 +2378,7 @@ export declare const createSplit: (input: {
2378
2378
  };
2379
2379
  readonly mailboxId: string | null;
2380
2380
  readonly position: number;
2381
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesCreateSplit">;
2381
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesCreateSplit">;
2382
2382
  export declare const updateSplit: (input: {
2383
2383
  readonly splitId: string;
2384
2384
  readonly name: string;
@@ -2394,11 +2394,11 @@ export declare const updateSplit: (input: {
2394
2394
  };
2395
2395
  readonly mailboxId: string | null;
2396
2396
  readonly position: number;
2397
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesUpdateSplit">;
2397
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesUpdateSplit">;
2398
2398
  export declare const deleteSplit: (input: {
2399
2399
  readonly splitId: string;
2400
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesDeleteSplit">;
2400
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesDeleteSplit">;
2401
2401
  export declare const listAddresses: (input: {
2402
2402
  readonly id: string;
2403
2403
  readonly recipient?: string | readonly string[] | undefined;
2404
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesListAddresses">;
2404
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mailboxesListAddresses">;