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
@@ -3,7 +3,7 @@ export declare const list: ((input?: {
3
3
  readonly cursor?: string | undefined;
4
4
  readonly after?: string | undefined;
5
5
  readonly before?: string | undefined;
6
- } | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"extensionInstallationsList">) & {
6
+ } | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"extensionInstallationsList">) & {
7
7
  readonly pages: (input?: {
8
8
  readonly limit?: number | null | undefined;
9
9
  readonly cursor?: string | undefined;
@@ -24,7 +24,7 @@ export declare const list: ((input?: {
24
24
  readonly createdAt: string;
25
25
  }[];
26
26
  readonly nextCursor: string | null;
27
- }, 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>;
27
+ }, 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>;
28
28
  readonly items: (input?: {
29
29
  readonly limit?: number | null | undefined;
30
30
  readonly cursor?: string | undefined;
@@ -42,7 +42,7 @@ export declare const list: ((input?: {
42
42
  readonly runtime: "hosted" | "webhook";
43
43
  readonly status: "active" | "disabled";
44
44
  readonly createdAt: string;
45
- }, 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>;
45
+ }, 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>;
46
46
  };
47
47
  export declare const install: (input: {
48
48
  readonly extension: string;
@@ -104,29 +104,29 @@ export declare const install: (input: {
104
104
  readonly instructions?: string | null | undefined;
105
105
  } | null | undefined;
106
106
  readonly webhookUrl?: string | null | undefined;
107
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"extensionInstallationsInstall">;
107
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"extensionInstallationsInstall">;
108
108
  export declare const get: (input: {
109
109
  readonly id: string;
110
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"extensionInstallationsGet">;
110
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"extensionInstallationsGet">;
111
111
  export declare const uninstall: (input: {
112
112
  readonly id: string;
113
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"extensionInstallationsUninstall">;
113
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"extensionInstallationsUninstall">;
114
114
  export declare const upgrade: (input: {
115
115
  readonly id: string;
116
116
  readonly version?: string | null | undefined;
117
117
  readonly acceptPermissions?: readonly ("event:mailbox.action.pending_approval" | "event:mailbox.action.resolved" | "event:mailbox.message.discarded" | "event:mailbox.message.quarantined" | "event:mailbox.message.received" | "event:mailbox.message.released" | "event:mailbox.message.sent" | "permission:quarantine.read" | "permission:read" | "permission:send" | "permission:update")[] | null | undefined;
118
118
  readonly dryRun?: boolean | null | undefined;
119
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"extensionInstallationsUpgrade">;
119
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"extensionInstallationsUpgrade">;
120
120
  export declare const disable: (input: {
121
121
  readonly id: string;
122
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"extensionInstallationsDisable">;
122
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"extensionInstallationsDisable">;
123
123
  export declare const enable: (input: {
124
124
  readonly id: string;
125
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"extensionInstallationsEnable">;
125
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"extensionInstallationsEnable">;
126
126
  export declare const listRuns: (input: {
127
127
  readonly id: string;
128
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"extensionInstallationsListRuns">;
128
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"extensionInstallationsListRuns">;
129
129
  export declare const getRun: (input: {
130
130
  readonly id: string;
131
131
  readonly runId: string;
132
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"extensionInstallationsGetRun">;
132
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"extensionInstallationsGetRun">;
@@ -1,5 +1,6 @@
1
1
  import { __exportAll } from "../_virtual/_rolldown/runtime.js";
2
2
  import { forGroup } from "./internal/operation.js";
3
+ import { extensionInstallationsOperations } from "./descriptors/extension-installations.js";
3
4
  import { ExtensionInstallationsGroup } from "./generated/extension-installations.js";
4
5
  // src/effect/extension-installations.ts
5
6
  var extension_installations_exports = /* @__PURE__ */ __exportAll({
@@ -13,7 +14,7 @@ var extension_installations_exports = /* @__PURE__ */ __exportAll({
13
14
  uninstall: () => uninstall,
14
15
  upgrade: () => upgrade
15
16
  });
16
- const make = /* @__PURE__ */ forGroup(ExtensionInstallationsGroup);
17
+ const make = /* @__PURE__ */ forGroup(ExtensionInstallationsGroup, extensionInstallationsOperations);
17
18
  const list = /* @__PURE__ */ make("extensionInstallationsList");
18
19
  const install = /* @__PURE__ */ make("extensionInstallationsInstall");
19
20
  const get = /* @__PURE__ */ make("extensionInstallationsGet");
@@ -3,7 +3,7 @@ export declare const list: ((input?: {
3
3
  readonly cursor?: string | undefined;
4
4
  readonly after?: string | undefined;
5
5
  readonly before?: string | undefined;
6
- } | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"extensionsList">) & {
6
+ } | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"extensionsList">) & {
7
7
  readonly pages: (input?: {
8
8
  readonly limit?: number | null | undefined;
9
9
  readonly cursor?: string | undefined;
@@ -24,7 +24,7 @@ export declare const list: ((input?: {
24
24
  readonly updatedAt: string;
25
25
  }[];
26
26
  readonly nextCursor: string | null;
27
- }, 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>;
27
+ }, 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>;
28
28
  readonly items: (input?: {
29
29
  readonly limit?: number | null | undefined;
30
30
  readonly cursor?: string | undefined;
@@ -42,7 +42,7 @@ export declare const list: ((input?: {
42
42
  };
43
43
  readonly createdAt: string;
44
44
  readonly updatedAt: string;
45
- }, 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>;
45
+ }, 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>;
46
46
  };
47
47
  export declare const publish: (input: {
48
48
  readonly manifest: {
@@ -55,15 +55,15 @@ export declare const publish: (input: {
55
55
  readonly permissions: readonly ("quarantine.read" | "read" | "send" | "update")[];
56
56
  };
57
57
  readonly bundle?: string | null | undefined;
58
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"extensionsPublish">;
58
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"extensionsPublish">;
59
59
  export declare const get: (input: {
60
60
  readonly id: string;
61
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"extensionsGet">;
61
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"extensionsGet">;
62
62
  export declare const listVersions: ((input: {
63
63
  readonly id: string;
64
64
  readonly limit?: number | null | undefined;
65
65
  readonly cursor?: string | undefined;
66
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"extensionsListVersions">) & {
66
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"extensionsListVersions">) & {
67
67
  readonly pages: (input: {
68
68
  readonly id: string;
69
69
  readonly limit?: number | null | undefined;
@@ -80,7 +80,7 @@ export declare const listVersions: ((input: {
80
80
  readonly publishedAt: string;
81
81
  }[];
82
82
  readonly nextCursor: string | null;
83
- }, 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>;
83
+ }, 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>;
84
84
  readonly items: (input: {
85
85
  readonly id: string;
86
86
  readonly limit?: number | null | undefined;
@@ -94,9 +94,9 @@ export declare const listVersions: ((input: {
94
94
  readonly sizeBytes: number;
95
95
  } | null;
96
96
  readonly publishedAt: string;
97
- }, 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>;
97
+ }, 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>;
98
98
  };
99
99
  export declare const getVersion: (input: {
100
100
  readonly id: string;
101
101
  readonly versionId: string;
102
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"extensionsGetVersion">;
102
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"extensionsGetVersion">;
@@ -1,5 +1,6 @@
1
1
  import { __exportAll } from "../_virtual/_rolldown/runtime.js";
2
2
  import { forGroup } from "./internal/operation.js";
3
+ import { extensionsOperations } from "./descriptors/extensions.js";
3
4
  import { ExtensionsGroup } from "./generated/extensions.js";
4
5
  // src/effect/extensions.ts
5
6
  var extensions_exports = /* @__PURE__ */ __exportAll({
@@ -9,7 +10,7 @@ var extensions_exports = /* @__PURE__ */ __exportAll({
9
10
  listVersions: () => listVersions,
10
11
  publish: () => publish
11
12
  });
12
- const make = /* @__PURE__ */ forGroup(ExtensionsGroup);
13
+ const make = /* @__PURE__ */ forGroup(ExtensionsGroup, extensionsOperations);
13
14
  const list = /* @__PURE__ */ make("extensionsList");
14
15
  const publish = /* @__PURE__ */ make("extensionsPublish");
15
16
  const get = /* @__PURE__ */ make("extensionsGet");
@@ -1,4 +1,4 @@
1
- export { SendFeedback as SendPayload } from "./generated/shared";
1
+ export { SendFeedback as SendPayload } from "./generated/shared.js";
2
2
  export declare const send: (input: {
3
3
  readonly message: string;
4
4
  readonly category?: "bug" | "confusing" | "missing" | "other" | null | undefined;
@@ -6,4 +6,4 @@ export declare const send: (input: {
6
6
  readonly operation?: string | null | undefined;
7
7
  readonly resourceId?: string | null | undefined;
8
8
  } | null | undefined;
9
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"feedbackSend">;
9
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"feedbackSend">;
@@ -1,13 +1,14 @@
1
1
  import { __exportAll } from "../_virtual/_rolldown/runtime.js";
2
2
  import { SendFeedback } from "./generated/shared.js";
3
3
  import { forGroup } from "./internal/operation.js";
4
+ import { feedbackOperations } from "./descriptors/feedback.js";
4
5
  import { FeedbackGroup } from "./generated/feedback.js";
5
6
  // src/effect/feedback.ts
6
7
  var feedback_exports = /* @__PURE__ */ __exportAll({
7
8
  SendPayload: () => SendFeedback,
8
9
  send: () => send
9
10
  });
10
- const send = /* @__PURE__ */ (/* @__PURE__ */ forGroup(FeedbackGroup))("feedbackSend");
11
+ const send = /* @__PURE__ */ (/* @__PURE__ */ forGroup(FeedbackGroup, feedbackOperations))("feedbackSend");
11
12
  export { SendFeedback as SendPayload, feedback_exports, send };
12
13
 
13
14
  //# sourceMappingURL=feedback.js.map
@@ -1,6 +1,6 @@
1
1
  import { HttpApiEndpoint, HttpApiGroup } from "effect/http-api";
2
2
  import * as Schema from "effect/Schema";
3
- import { ApiKeySecurityMiddleware, ContactId, ForbiddenError, GatewayTimeoutError, IntegrationAccountId, IntegrationId, IntegrationKey, IntegrationReturnTo, InternalError, JsonObject, MalformedRequestError, OrganizationId, ResourceNotFoundError, UnauthorizedError, UserId, ValidationError } from "./shared";
3
+ import { ApiKeySecurityMiddleware, ContactId, ForbiddenError, GatewayTimeoutError, IntegrationAccountId, IntegrationId, IntegrationKey, IntegrationReturnTo, InternalError, JsonObject, MalformedRequestError, OrganizationId, ResourceNotFoundError, UnauthorizedError, UserId, ValidationError } from "./shared.js";
4
4
  export type AccountStatus = "pending" | "connected" | "needsReconnect";
5
5
  export declare const AccountStatus: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"connected">, Schema.Literal<"needsReconnect">]>;
6
6
  export type AccountInfo = {
@@ -55,7 +55,7 @@ export type IntegrationAccount = {
55
55
  };
56
56
  export declare const IntegrationAccount: Schema.Struct<{
57
57
  readonly provider: Schema.String;
58
- readonly input: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>;
58
+ readonly input: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>;
59
59
  readonly id: Schema.brand<Schema.String, "IntegrationAccountId">;
60
60
  readonly webhooks: Schema.optionalKey<Schema.$Array<Schema.Struct<{
61
61
  readonly app: Schema.String;
@@ -94,7 +94,7 @@ export type IntegrationAccountList = {
94
94
  export declare const IntegrationAccountList: Schema.Struct<{
95
95
  readonly items: Schema.$Array<Schema.Struct<{
96
96
  readonly provider: Schema.String;
97
- readonly input: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>;
97
+ readonly input: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>;
98
98
  readonly id: Schema.brand<Schema.String, "IntegrationAccountId">;
99
99
  readonly webhooks: Schema.optionalKey<Schema.$Array<Schema.Struct<{
100
100
  readonly app: Schema.String;
@@ -122,7 +122,7 @@ export type AccountsList200 = IntegrationAccountList;
122
122
  export declare const AccountsList200: Schema.Struct<{
123
123
  readonly items: Schema.$Array<Schema.Struct<{
124
124
  readonly provider: Schema.String;
125
- readonly input: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>;
125
+ readonly input: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>;
126
126
  readonly id: Schema.brand<Schema.String, "IntegrationAccountId">;
127
127
  readonly webhooks: Schema.optionalKey<Schema.$Array<Schema.Struct<{
128
128
  readonly app: Schema.String;
@@ -167,7 +167,7 @@ export declare const AccountsGetPathParams: Schema.Struct<{
167
167
  export type AccountsGet200 = IntegrationAccount;
168
168
  export declare const AccountsGet200: Schema.Struct<{
169
169
  readonly provider: Schema.String;
170
- readonly input: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>;
170
+ readonly input: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>;
171
171
  readonly id: Schema.brand<Schema.String, "IntegrationAccountId">;
172
172
  readonly webhooks: Schema.optionalKey<Schema.$Array<Schema.Struct<{
173
173
  readonly app: Schema.String;
@@ -268,7 +268,7 @@ export type AccountsConnectRequestJson = {
268
268
  };
269
269
  export declare const AccountsConnectRequestJson: Schema.Struct<{
270
270
  readonly provider: Schema.String;
271
- readonly input: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
271
+ readonly input: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
272
272
  readonly credentials: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
273
273
  readonly app: Schema.optionalKey<Schema.String>;
274
274
  readonly accountId: Schema.optionalKey<Schema.brand<Schema.String, "IntegrationAccountId">>;
@@ -451,7 +451,7 @@ declare const AccountsGroup_base: HttpApiGroup.HttpApiGroup<"Accounts", HttpApiE
451
451
  readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
452
452
  }>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"accountsConnect", "POST", "/v1/accounts/connect", never, never, Schema.toCodecJson<Schema.Struct<{
453
453
  readonly provider: Schema.String;
454
- readonly input: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
454
+ readonly input: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
455
455
  readonly credentials: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
456
456
  readonly app: Schema.optionalKey<Schema.String>;
457
457
  readonly accountId: Schema.optionalKey<Schema.brand<Schema.String, "IntegrationAccountId">>;
@@ -564,7 +564,7 @@ declare const AccountsGroup_base: HttpApiGroup.HttpApiGroup<"Accounts", HttpApiE
564
564
  readonly accountId: Schema.brand<Schema.String, "IntegrationAccountId">;
565
565
  }>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
566
566
  readonly provider: Schema.String;
567
- readonly input: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>;
567
+ readonly input: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>;
568
568
  readonly id: Schema.brand<Schema.String, "IntegrationAccountId">;
569
569
  readonly webhooks: Schema.optionalKey<Schema.$Array<Schema.Struct<{
570
570
  readonly app: Schema.String;
@@ -689,7 +689,7 @@ declare const AccountsGroup_base: HttpApiGroup.HttpApiGroup<"Accounts", HttpApiE
689
689
  }>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"accountsList", "GET", "/v1/accounts", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
690
690
  readonly items: Schema.$Array<Schema.Struct<{
691
691
  readonly provider: Schema.String;
692
- readonly input: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>;
692
+ readonly input: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>;
693
693
  readonly id: Schema.brand<Schema.String, "IntegrationAccountId">;
694
694
  readonly webhooks: Schema.optionalKey<Schema.$Array<Schema.Struct<{
695
695
  readonly app: Schema.String;
@@ -1,7 +1,7 @@
1
1
  import type * as EffectBrand from "effect/Brand";
2
2
  import { HttpApiEndpoint, HttpApiGroup } from "effect/http-api";
3
3
  import * as Schema from "effect/Schema";
4
- import { AgentDefinition, AgentId, AgentModel, AgentModelChoice, AgentName, AgentReasoning, AgentSetupJob, ApiKeySecurityMiddleware, CatalogModelId, ConflictError, ForbiddenError, GatewayTimeoutError, InternalError, MalformedRequestError, MonthlySpendCapDollars, NamespaceId, PaymentRequiredError, ResourceNotFoundError, UnauthorizedError, ValidationError } from "./shared";
4
+ import { AgentDefinition, AgentId, AgentModel, AgentModelChoice, AgentName, AgentReasoning, AgentSetupJob, ApiKeySecurityMiddleware, CatalogModelId, ConflictError, ForbiddenError, GatewayTimeoutError, InternalError, MalformedRequestError, MonthlySpendCapDollars, NamespaceId, PaymentRequiredError, ResourceNotFoundError, UnauthorizedError, ValidationError } from "./shared.js";
5
5
  export type AgentSpend = {
6
6
  readonly month: string;
7
7
  readonly spentDollars: number;
@@ -1,6 +1,6 @@
1
1
  import { HttpApiEndpoint, HttpApiGroup } from "effect/http-api";
2
2
  import * as Schema from "effect/Schema";
3
- import { AnalyticsQueryError, ApiKeySecurityMiddleware, ForbiddenError, GatewayTimeoutError, InternalError, MalformedRequestError, NamespaceId, UnauthorizedError, ValidationError, __SamvaRuntimeAbsoluteInstant } from "./shared";
3
+ import { AnalyticsQueryError, ApiKeySecurityMiddleware, ForbiddenError, GatewayTimeoutError, InternalError, MalformedRequestError, NamespaceId, UnauthorizedError, ValidationError, __SamvaRuntimeAbsoluteInstant } from "./shared.js";
4
4
  export type AnalyticsGetChannelStatsQuery = {
5
5
  readonly namespaceId?: NamespaceId;
6
6
  readonly after?: __SamvaRuntimeAbsoluteInstant;
@@ -1,6 +1,6 @@
1
1
  import { HttpApiEndpoint, HttpApiGroup } from "effect/http-api";
2
2
  import * as Schema from "effect/Schema";
3
- import { ApiKeyAccess, ApiKeyId, ApiKeySecurityMiddleware, BillingProviderError, ForbiddenError, GatewayTimeoutError, InternalError, MalformedRequestError, NamespaceId, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, SuccessResponse, UnauthorizedError, ValidationError, __SamvaRuntimeSensitiveString } from "./shared";
3
+ import { ApiKeyAccess, ApiKeyId, ApiKeySecurityMiddleware, BillingProviderError, ForbiddenError, GatewayTimeoutError, InternalError, MalformedRequestError, NamespaceId, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, SuccessResponse, UnauthorizedError, ValidationError, __SamvaRuntimeSensitiveString } from "./shared.js";
4
4
  export type ApiKeyOwner = {
5
5
  readonly id: string;
6
6
  readonly name: string;
@@ -1,7 +1,7 @@
1
1
  import type * as EffectBrand from "effect/Brand";
2
2
  import { HttpApiEndpoint, HttpApiGroup } from "effect/http-api";
3
3
  import * as Schema from "effect/Schema";
4
- import { ApiKeySecurityMiddleware, ConflictError, ForbiddenError, GatewayTimeoutError, InternalError, JsonObject, MalformedRequestError, NamespaceId, OrganizationId, ResourceNotFoundError, UnauthorizedError, UserId, ValidationError } from "./shared";
4
+ import { ApiKeySecurityMiddleware, ConflictError, ForbiddenError, GatewayTimeoutError, InternalError, JsonObject, MalformedRequestError, NamespaceId, OrganizationId, ResourceNotFoundError, UnauthorizedError, UserId, ValidationError } from "./shared.js";
5
5
  export type ApprovalRequestId = string & EffectBrand.Brand<"ApprovalRequestId">;
6
6
  export declare const ApprovalRequestId: Schema.brand<Schema.String, "ApprovalRequestId">;
7
7
  export type ApprovalCall = {
@@ -10,7 +10,7 @@ export type ApprovalCall = {
10
10
  };
11
11
  export declare const ApprovalCall: Schema.Struct<{
12
12
  readonly toolName: Schema.String;
13
- readonly arguments: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>;
13
+ readonly arguments: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>;
14
14
  }>;
15
15
  export type ApprovalRequest = {
16
16
  readonly id: ApprovalRequestId;
@@ -39,7 +39,7 @@ export declare const ApprovalRequest: Schema.Struct<{
39
39
  readonly intent: Schema.String;
40
40
  readonly calls: Schema.$Array<Schema.Struct<{
41
41
  readonly toolName: Schema.String;
42
- readonly arguments: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>;
42
+ readonly arguments: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>;
43
43
  }>>;
44
44
  readonly status: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"executing">, Schema.Literal<"executed">, Schema.Literal<"rejected">, Schema.Literal<"failed">, Schema.Literal<"expired">]>;
45
45
  readonly expiresAt: Schema.String;
@@ -60,7 +60,7 @@ export declare const ApprovalRequestsCreateRequestJson: Schema.Struct<{
60
60
  readonly intent: Schema.String;
61
61
  readonly calls: Schema.$Array<Schema.Struct<{
62
62
  readonly toolName: Schema.String;
63
- readonly arguments: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>;
63
+ readonly arguments: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>;
64
64
  }>>;
65
65
  readonly idempotencyKey: Schema.String;
66
66
  }>;
@@ -74,7 +74,7 @@ export declare const ApprovalRequestsCreate201: Schema.Struct<{
74
74
  readonly intent: Schema.String;
75
75
  readonly calls: Schema.$Array<Schema.Struct<{
76
76
  readonly toolName: Schema.String;
77
- readonly arguments: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>;
77
+ readonly arguments: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>;
78
78
  }>>;
79
79
  readonly status: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"executing">, Schema.Literal<"executed">, Schema.Literal<"rejected">, Schema.Literal<"failed">, Schema.Literal<"expired">]>;
80
80
  readonly expiresAt: Schema.String;
@@ -116,7 +116,7 @@ export declare const ApprovalRequestsGet200: Schema.Struct<{
116
116
  readonly intent: Schema.String;
117
117
  readonly calls: Schema.$Array<Schema.Struct<{
118
118
  readonly toolName: Schema.String;
119
- readonly arguments: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>;
119
+ readonly arguments: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>;
120
120
  }>>;
121
121
  readonly status: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"executing">, Schema.Literal<"executed">, Schema.Literal<"rejected">, Schema.Literal<"failed">, Schema.Literal<"expired">]>;
122
122
  readonly expiresAt: Schema.String;
@@ -158,7 +158,7 @@ export declare const ApprovalRequestsApprove200: Schema.Struct<{
158
158
  readonly intent: Schema.String;
159
159
  readonly calls: Schema.$Array<Schema.Struct<{
160
160
  readonly toolName: Schema.String;
161
- readonly arguments: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>;
161
+ readonly arguments: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>;
162
162
  }>>;
163
163
  readonly status: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"executing">, Schema.Literal<"executed">, Schema.Literal<"rejected">, Schema.Literal<"failed">, Schema.Literal<"expired">]>;
164
164
  readonly expiresAt: Schema.String;
@@ -208,7 +208,7 @@ export declare const ApprovalRequestsReject200: Schema.Struct<{
208
208
  readonly intent: Schema.String;
209
209
  readonly calls: Schema.$Array<Schema.Struct<{
210
210
  readonly toolName: Schema.String;
211
- readonly arguments: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>;
211
+ readonly arguments: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>;
212
212
  }>>;
213
213
  readonly status: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"executing">, Schema.Literal<"executed">, Schema.Literal<"rejected">, Schema.Literal<"failed">, Schema.Literal<"expired">]>;
214
214
  readonly expiresAt: Schema.String;
@@ -247,7 +247,7 @@ declare const ApprovalRequestsGroup_base: HttpApiGroup.HttpApiGroup<"Approval re
247
247
  readonly intent: Schema.String;
248
248
  readonly calls: Schema.$Array<Schema.Struct<{
249
249
  readonly toolName: Schema.String;
250
- readonly arguments: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>;
250
+ readonly arguments: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>;
251
251
  }>>;
252
252
  readonly status: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"executing">, Schema.Literal<"executed">, Schema.Literal<"rejected">, Schema.Literal<"failed">, Schema.Literal<"expired">]>;
253
253
  readonly expiresAt: Schema.String;
@@ -382,7 +382,7 @@ declare const ApprovalRequestsGroup_base: HttpApiGroup.HttpApiGroup<"Approval re
382
382
  readonly intent: Schema.String;
383
383
  readonly calls: Schema.$Array<Schema.Struct<{
384
384
  readonly toolName: Schema.String;
385
- readonly arguments: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>;
385
+ readonly arguments: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>;
386
386
  }>>;
387
387
  readonly idempotencyKey: Schema.String;
388
388
  }>>, never, Schema.toCodecJson<Schema.Struct<{
@@ -394,7 +394,7 @@ declare const ApprovalRequestsGroup_base: HttpApiGroup.HttpApiGroup<"Approval re
394
394
  readonly intent: Schema.String;
395
395
  readonly calls: Schema.$Array<Schema.Struct<{
396
396
  readonly toolName: Schema.String;
397
- readonly arguments: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>;
397
+ readonly arguments: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>;
398
398
  }>>;
399
399
  readonly status: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"executing">, Schema.Literal<"executed">, Schema.Literal<"rejected">, Schema.Literal<"failed">, Schema.Literal<"expired">]>;
400
400
  readonly expiresAt: Schema.String;
@@ -516,7 +516,7 @@ declare const ApprovalRequestsGroup_base: HttpApiGroup.HttpApiGroup<"Approval re
516
516
  readonly intent: Schema.String;
517
517
  readonly calls: Schema.$Array<Schema.Struct<{
518
518
  readonly toolName: Schema.String;
519
- readonly arguments: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>;
519
+ readonly arguments: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>;
520
520
  }>>;
521
521
  readonly status: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"executing">, Schema.Literal<"executed">, Schema.Literal<"rejected">, Schema.Literal<"failed">, Schema.Literal<"expired">]>;
522
522
  readonly expiresAt: Schema.String;
@@ -640,7 +640,7 @@ declare const ApprovalRequestsGroup_base: HttpApiGroup.HttpApiGroup<"Approval re
640
640
  readonly intent: Schema.String;
641
641
  readonly calls: Schema.$Array<Schema.Struct<{
642
642
  readonly toolName: Schema.String;
643
- readonly arguments: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>;
643
+ readonly arguments: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>;
644
644
  }>>;
645
645
  readonly status: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"executing">, Schema.Literal<"executed">, Schema.Literal<"rejected">, Schema.Literal<"failed">, Schema.Literal<"expired">]>;
646
646
  readonly expiresAt: Schema.String;
@@ -1,6 +1,6 @@
1
1
  import { HttpApiEndpoint, HttpApiGroup } from "effect/http-api";
2
2
  import * as Schema from "effect/Schema";
3
- import { ApiKeySecurityMiddleware, AttachmentId, ForbiddenError, GatewayTimeoutError, InternalError, MalformedRequestError, MessageId, OrganizationId, ResourceNotFoundError, UnauthorizedError, ValidationError } from "./shared";
3
+ import { ApiKeySecurityMiddleware, AttachmentId, ForbiddenError, GatewayTimeoutError, InternalError, MalformedRequestError, MessageId, OrganizationId, ResourceNotFoundError, UnauthorizedError, ValidationError } from "./shared.js";
4
4
  export type AttachmentList = {
5
5
  readonly items: ReadonlyArray<{
6
6
  readonly id: AttachmentId;
@@ -1,7 +1,7 @@
1
1
  import type * as EffectBrand from "effect/Brand";
2
2
  import { HttpApiEndpoint, HttpApiGroup } from "effect/http-api";
3
3
  import * as Schema from "effect/Schema";
4
- import { ApiKeySecurityMiddleware, BrandAssets, BrandFooter, ConflictError, ForbiddenError, GatewayTimeoutError, InternalError, MalformedRequestError, ResourceNotFoundError, SuccessResponse, UnauthorizedError, ValidationError } from "./shared";
4
+ import { ApiKeySecurityMiddleware, BrandAssets, BrandFooter, ConflictError, ForbiddenError, GatewayTimeoutError, InternalError, MalformedRequestError, ResourceNotFoundError, SuccessResponse, UnauthorizedError, ValidationError } from "./shared.js";
5
5
  export type BrandId = string & EffectBrand.Brand<"BrandId">;
6
6
  export declare const BrandId: Schema.brand<Schema.String, "BrandId">;
7
7
  export type Brand = {