samva 0.5.0 → 0.6.0

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 (63) hide show
  1. package/AGENTS.md +3 -2
  2. package/README.md +12 -2
  3. package/dist/{categories-B9Nw2v_F.js → categories-4u9Az4No.js} +24 -8
  4. package/dist/client/sdk.gen.d.ts +406 -74
  5. package/dist/client/types.gen.d.ts +2583 -279
  6. package/dist/{client-B7gEkvEq.js → client-DCM6U0-I.js} +2183 -772
  7. package/dist/{client-attribution-B2yJBXdZ.js → client-attribution-DYUSAa76.js} +2 -2
  8. package/dist/effect/analytics.d.ts +66 -0
  9. package/dist/effect/analytics.js +21 -0
  10. package/dist/effect/api-keys.d.ts +198 -34
  11. package/dist/effect/api-keys.js +1 -1
  12. package/dist/effect/attachments.d.ts +53 -0
  13. package/dist/effect/attachments.js +17 -0
  14. package/dist/effect/campaigns.d.ts +36 -18
  15. package/dist/effect/campaigns.js +1 -1
  16. package/dist/effect/categories.d.ts +3 -3
  17. package/dist/effect/categories.js +1 -1
  18. package/dist/effect/client.js +1 -1
  19. package/dist/effect/contact-groups.d.ts +375 -0
  20. package/dist/effect/contact-groups.js +29 -0
  21. package/dist/effect/contacts.d.ts +35 -19
  22. package/dist/effect/contacts.js +1 -1
  23. package/dist/effect/conversations.d.ts +179 -47
  24. package/dist/effect/conversations.js +1 -1
  25. package/dist/effect/custom-fields.d.ts +111 -0
  26. package/dist/effect/custom-fields.js +17 -0
  27. package/dist/effect/design.d.ts +2 -2
  28. package/dist/effect/design.js +1 -1
  29. package/dist/effect/email.d.ts +254 -118
  30. package/dist/effect/email.js +2 -2
  31. package/dist/effect/generated-metadata.d.ts +12 -4
  32. package/dist/effect/generated.d.ts +11189 -6155
  33. package/dist/effect/index.d.ts +6 -1
  34. package/dist/effect/index.js +8 -3
  35. package/dist/effect/internal/operation.d.ts +115 -27
  36. package/dist/effect/media.d.ts +5 -5
  37. package/dist/effect/media.js +1 -1
  38. package/dist/effect/messages.d.ts +303 -73
  39. package/dist/effect/messages.js +1 -1
  40. package/dist/effect/operations.d.ts +6 -6
  41. package/dist/effect/operations.js +1 -1
  42. package/dist/effect/organizations.d.ts +7 -110
  43. package/dist/effect/organizations.js +2 -4
  44. package/dist/effect/retry.js +1 -1
  45. package/dist/effect/scheduled-messages.d.ts +7 -7
  46. package/dist/effect/scheduled-messages.js +1 -1
  47. package/dist/effect/templates.d.ts +35 -307
  48. package/dist/effect/templates.js +3 -5
  49. package/dist/effect/unsubscribe-groups.d.ts +161 -0
  50. package/dist/effect/unsubscribe-groups.js +25 -0
  51. package/dist/effect/webhooks.d.ts +18 -18
  52. package/dist/effect/webhooks.js +2 -2
  53. package/dist/index.js +2 -2
  54. package/dist/{normalize-BiIJnycv.js → normalize-B79uJIeb.js} +13 -14
  55. package/dist/normalize.d.ts +3 -7
  56. package/dist/{operation-B4FjN6wq.js → operation-02YX3hY9.js} +96 -8
  57. package/dist/promises/errors.gen.d.ts +30 -41
  58. package/dist/promises/index.d.ts +18 -4
  59. package/dist/promises/index.js +2 -2
  60. package/dist/promises/types.gen.d.ts +1 -1
  61. package/dist/{promises-CP_nxUus.js → promises-8MaPNAam.js} +1209 -288
  62. package/dist/service-map.d.ts +155 -8
  63. package/package.json +28 -8
@@ -16,11 +16,15 @@
16
16
  * }).pipe(Effect.provide(Client.layerFetch({ apiKey: "<samva-api-key>" })));
17
17
  * ```
18
18
  */
19
+ export * as Analytics from "./analytics";
19
20
  export * as ApiKeys from "./api-keys";
21
+ export * as Attachments from "./attachments";
20
22
  export * as Campaigns from "./campaigns";
21
23
  export * as Client from "./client";
24
+ export * as ContactGroups from "./contact-groups";
22
25
  export * as Contacts from "./contacts";
23
26
  export * as Conversations from "./conversations";
27
+ export * as CustomFields from "./custom-fields";
24
28
  export * as Design from "./design";
25
29
  export * as Email from "./email";
26
30
  export * as Media from "./media";
@@ -30,8 +34,9 @@ export * as Organizations from "./organizations";
30
34
  export * as Retry from "./retry";
31
35
  export * as ScheduledMessages from "./scheduled-messages";
32
36
  export * as Templates from "./templates";
37
+ export * as UnsubscribeGroups from "./unsubscribe-groups";
33
38
  export * as Webhooks from "./webhooks";
34
- export { BillingProviderError, ConflictError, EmailChannelError, ExternalServiceError, FlagDisabledError, ForbiddenError, InternalError, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, UnauthorizedError, ValidationError, WebhookEnqueueError, } from "./generated";
39
+ export { BillingProviderError, ConflictError, EmailChannelError, ExternalServiceError, FlagDisabledError, ForbiddenError, GatewayTimeoutError, InternalError, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, UnauthorizedError, ValidationError, DeliveryUnavailableError, } from "./generated";
35
40
  export { type ErrorCategory, categoriesOf, hasCategory, isAuthError, isValidationError, isNotFoundError, isConflictError, isThrottlingError, isBillingError, isTransient, isRetryable, catchCategory, catchAuthError, catchValidationError, catchNotFoundError, catchConflictError, catchThrottlingError, catchBillingError, catchTransient, } from "./categories";
36
41
  export type { PageEnvelope } from "./pagination";
37
42
  export type { Json as JsonValue } from "effect/Schema";
@@ -1,11 +1,15 @@
1
- import { C as ValidationError, a as BillingProviderError, b as UnauthorizedError, d as FlagDisabledError, f as ForbiddenError, g as ResourceNotFoundError, h as RateLimitedError, l as EmailChannelError, m as PaymentRequiredError, o as ConflictError, p as InternalError, u as ExternalServiceError, w as WebhookEnqueueError } from "../client-B7gEkvEq.js";
2
- import { _ as isTransient, a as catchNotFoundError, c as catchValidationError, d as isAuthError, f as isBillingError, g as isThrottlingError, h as isRetryable, i as catchConflictError, l as categoriesOf, m as isNotFoundError, n as catchBillingError, o as catchThrottlingError, p as isConflictError, r as catchCategory, s as catchTransient, t as catchAuthError, u as hasCategory, v as isValidationError } from "../categories-B9Nw2v_F.js";
1
+ import { S as UnauthorizedError, T as ValidationError, _ as RateLimitedError, a as BillingProviderError, d as ExternalServiceError, f as FlagDisabledError, g as PaymentRequiredError, h as InternalError, l as DeliveryUnavailableError, m as GatewayTimeoutError, o as ConflictError, p as ForbiddenError, u as EmailChannelError, v as ResourceNotFoundError } from "../client-DCM6U0-I.js";
2
+ import { _ as isTransient, a as catchNotFoundError, c as catchValidationError, d as isAuthError, f as isBillingError, g as isThrottlingError, h as isRetryable, i as catchConflictError, l as categoriesOf, m as isNotFoundError, n as catchBillingError, o as catchThrottlingError, p as isConflictError, r as catchCategory, s as catchTransient, t as catchAuthError, u as hasCategory, v as isValidationError } from "../categories-4u9Az4No.js";
3
3
  import { t as retry_exports } from "./retry.js";
4
+ import { t as analytics_exports } from "./analytics.js";
4
5
  import { t as api_keys_exports } from "./api-keys.js";
6
+ import { t as attachments_exports } from "./attachments.js";
5
7
  import { t as campaigns_exports } from "./campaigns.js";
6
8
  import { t as client_exports } from "./client.js";
9
+ import { t as contact_groups_exports } from "./contact-groups.js";
7
10
  import { t as contacts_exports } from "./contacts.js";
8
11
  import { t as conversations_exports } from "./conversations.js";
12
+ import { t as custom_fields_exports } from "./custom-fields.js";
9
13
  import { t as design_exports } from "./design.js";
10
14
  import { t as email_exports } from "./email.js";
11
15
  import { t as media_exports } from "./media.js";
@@ -14,5 +18,6 @@ import { t as operations_exports } from "./operations.js";
14
18
  import { t as organizations_exports } from "./organizations.js";
15
19
  import { t as scheduled_messages_exports } from "./scheduled-messages.js";
16
20
  import { t as templates_exports } from "./templates.js";
21
+ import { t as unsubscribe_groups_exports } from "./unsubscribe-groups.js";
17
22
  import { t as webhooks_exports } from "./webhooks.js";
18
- export { api_keys_exports as ApiKeys, BillingProviderError, campaigns_exports as Campaigns, client_exports as Client, ConflictError, contacts_exports as Contacts, conversations_exports as Conversations, design_exports as Design, email_exports as Email, EmailChannelError, ExternalServiceError, FlagDisabledError, ForbiddenError, InternalError, media_exports as Media, messages_exports as Messages, operations_exports as Operations, organizations_exports as Organizations, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, retry_exports as Retry, scheduled_messages_exports as ScheduledMessages, templates_exports as Templates, UnauthorizedError, ValidationError, WebhookEnqueueError, webhooks_exports as Webhooks, catchAuthError, catchBillingError, catchCategory, catchConflictError, catchNotFoundError, catchThrottlingError, catchTransient, catchValidationError, categoriesOf, hasCategory, isAuthError, isBillingError, isConflictError, isNotFoundError, isRetryable, isThrottlingError, isTransient, isValidationError };
23
+ export { analytics_exports as Analytics, api_keys_exports as ApiKeys, attachments_exports as Attachments, BillingProviderError, campaigns_exports as Campaigns, client_exports as Client, ConflictError, contact_groups_exports as ContactGroups, contacts_exports as Contacts, conversations_exports as Conversations, custom_fields_exports as CustomFields, DeliveryUnavailableError, design_exports as Design, email_exports as Email, EmailChannelError, ExternalServiceError, FlagDisabledError, ForbiddenError, GatewayTimeoutError, InternalError, media_exports as Media, messages_exports as Messages, operations_exports as Operations, organizations_exports as Organizations, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, retry_exports as Retry, scheduled_messages_exports as ScheduledMessages, templates_exports as Templates, UnauthorizedError, unsubscribe_groups_exports as UnsubscribeGroups, ValidationError, webhooks_exports as Webhooks, catchAuthError, catchBillingError, catchCategory, catchConflictError, catchNotFoundError, catchThrottlingError, catchTransient, catchValidationError, categoriesOf, hasCategory, isAuthError, isBillingError, isConflictError, isNotFoundError, isRetryable, isThrottlingError, isTransient, isValidationError };
@@ -89,7 +89,33 @@ export declare const sendMessage: (input: MessageSendInput, options?: SendOption
89
89
  } | null;
90
90
  readonly channel: "email";
91
91
  readonly direction: "inbound" | "outbound";
92
- readonly content: import("../generated").JsonValue;
92
+ readonly content: {
93
+ readonly text?: string | null;
94
+ readonly html?: string | null;
95
+ readonly markdown?: string | null;
96
+ readonly email?: {
97
+ readonly subject?: string | null;
98
+ readonly html?: string | null;
99
+ readonly text?: string | null;
100
+ readonly headers?: {
101
+ readonly [x: string]: string;
102
+ } | null;
103
+ readonly tracking?: {
104
+ readonly opens?: boolean;
105
+ readonly clicks?: boolean;
106
+ };
107
+ readonly attachments?: readonly {
108
+ readonly filename: string;
109
+ readonly content?: string | null;
110
+ readonly mediaId?: (string & import("effect/Brand").Brand<"MediaId">) | null;
111
+ readonly contentType: string;
112
+ readonly size: number;
113
+ }[] | null;
114
+ } | null;
115
+ readonly metadata?: {
116
+ readonly [x: string]: import("../generated").JsonValue;
117
+ } | null;
118
+ };
93
119
  readonly metadata: {
94
120
  readonly [x: string]: import("../generated").JsonValue;
95
121
  } | null;
@@ -98,17 +124,28 @@ export declare const sendMessage: (input: MessageSendInput, options?: SendOption
98
124
  readonly tags: readonly string[];
99
125
  readonly categories: readonly string[];
100
126
  readonly isTest: boolean;
101
- readonly isInternal: boolean;
102
- readonly isAutomated: boolean;
103
127
  readonly externalId: string | null;
104
128
  readonly referenceId: string | null;
105
- readonly apiKeyId: string | null;
106
- readonly httpMethod: string | null;
107
- readonly apiRequestMetadata: import("../generated").JsonValue;
108
- readonly apiResponseMetadata: import("../generated").JsonValue;
129
+ readonly submission: {
130
+ readonly origin: "campaign" | "direct" | "scheduled";
131
+ readonly transport: "http" | null;
132
+ readonly credential: {
133
+ readonly kind: "api_key";
134
+ readonly apiKeyId: (string & import("effect/Brand").Brand<"ApiKeyId">) | null;
135
+ } | {
136
+ readonly kind: "oauth";
137
+ readonly clientId: string | null;
138
+ } | {
139
+ readonly kind: "session";
140
+ } | null;
141
+ readonly userId: (string & import("effect/Brand").Brand<"UserId">) | null;
142
+ readonly client: {
143
+ readonly surface: "cli" | "mcp" | "typescript-effect" | "typescript-promise";
144
+ readonly version: string;
145
+ } | null;
146
+ } | null;
109
147
  readonly createdAt: string;
110
148
  readonly updatedAt: string;
111
- readonly createdBy: string | null;
112
149
  readonly fromContact: {
113
150
  readonly id: string;
114
151
  readonly name: string;
@@ -158,7 +195,7 @@ export declare const sendMessage: (input: MessageSendInput, options?: SendOption
158
195
  readonly scheduling: {
159
196
  readonly dueAt: string;
160
197
  readonly expiresAt: string;
161
- readonly waitReason: "campaign-paused" | "daily-quota" | "domain-health" | "domain-warming" | "onboarding-review" | "provider-unavailable" | "rate" | "retry" | "tenant-health" | null;
198
+ readonly waitReason: "campaign-paused" | "daily-quota" | "domain-health" | "domain-warming" | "onboarding-review" | "rate" | "retry" | "sending-paused" | "upstream-unavailable" | null;
162
199
  } | null;
163
200
  readonly id: string;
164
201
  readonly messageId: string;
@@ -178,17 +215,24 @@ export declare const sendMessage: (input: MessageSendInput, options?: SendOption
178
215
  readonly terminalAt: string | null;
179
216
  readonly errorCode: string | null;
180
217
  readonly errorMessage: string | null;
181
- readonly errorDetails: import("../generated").JsonValue;
218
+ readonly errorDetails: {
219
+ readonly code?: string | null;
220
+ readonly name?: string | null;
221
+ readonly message?: string | null;
222
+ readonly details?: {
223
+ readonly [x: string]: string | number | null;
224
+ } | null;
225
+ readonly retryable?: boolean | null;
226
+ } | null;
182
227
  readonly cost: string;
183
228
  readonly currency: string;
184
229
  readonly idempotencyKey: string | null;
185
- readonly metadata: import("../generated").JsonValue;
186
230
  readonly createdAt: string;
187
231
  readonly updatedAt: string;
188
232
  }[];
189
233
  readonly emailDeliveryDetails: readonly {
190
234
  readonly deliveryId: string;
191
- readonly messageIdHeader: string | null;
235
+ readonly messageIdHeader: string;
192
236
  readonly inReplyTo: string | null;
193
237
  readonly references: readonly string[] | null;
194
238
  readonly subject: string;
@@ -220,7 +264,7 @@ export declare const sendMessage: (input: MessageSendInput, options?: SendOption
220
264
  readonly createdAt: string;
221
265
  readonly updatedAt: string;
222
266
  }[];
223
- }, import("..").BillingProviderError | import("..").ConflictError | import("..").ExternalServiceError | import("..").FlagDisabledError | import("..").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("..").InternalError | import("../generated").OnboardingReviewRequiredError | import("..").PaymentRequiredError | import("..").RateLimitedError | import("..").ResourceNotFoundError | import("effect/Schema").SchemaError | import("..").UnauthorizedError | import("..").ValidationError | import("..").WebhookEnqueueError, Service>;
267
+ }, import("..").BillingProviderError | import("..").ConflictError | import("..").DeliveryUnavailableError | import("..").ExternalServiceError | import("..").FlagDisabledError | import("..").ForbiddenError | import("..").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("..").InternalError | import("../generated").OnboardingReviewRequiredError | import("..").PaymentRequiredError | import("..").RateLimitedError | import("..").ResourceNotFoundError | import("effect/Schema").SchemaError | import("..").UnauthorizedError | import("..").ValidationError, Service>;
224
268
  export declare const sendEmail: (input: EmailSendInput, options?: SendOptions | undefined) => Effect.Effect<{
225
269
  readonly id: string;
226
270
  readonly organizationId: string;
@@ -232,7 +276,33 @@ export declare const sendEmail: (input: EmailSendInput, options?: SendOptions |
232
276
  } | null;
233
277
  readonly channel: "email";
234
278
  readonly direction: "inbound" | "outbound";
235
- readonly content: import("../generated").JsonValue;
279
+ readonly content: {
280
+ readonly text?: string | null;
281
+ readonly html?: string | null;
282
+ readonly markdown?: string | null;
283
+ readonly email?: {
284
+ readonly subject?: string | null;
285
+ readonly html?: string | null;
286
+ readonly text?: string | null;
287
+ readonly headers?: {
288
+ readonly [x: string]: string;
289
+ } | null;
290
+ readonly tracking?: {
291
+ readonly opens?: boolean;
292
+ readonly clicks?: boolean;
293
+ };
294
+ readonly attachments?: readonly {
295
+ readonly filename: string;
296
+ readonly content?: string | null;
297
+ readonly mediaId?: (string & import("effect/Brand").Brand<"MediaId">) | null;
298
+ readonly contentType: string;
299
+ readonly size: number;
300
+ }[] | null;
301
+ } | null;
302
+ readonly metadata?: {
303
+ readonly [x: string]: import("../generated").JsonValue;
304
+ } | null;
305
+ };
236
306
  readonly metadata: {
237
307
  readonly [x: string]: import("../generated").JsonValue;
238
308
  } | null;
@@ -241,17 +311,28 @@ export declare const sendEmail: (input: EmailSendInput, options?: SendOptions |
241
311
  readonly tags: readonly string[];
242
312
  readonly categories: readonly string[];
243
313
  readonly isTest: boolean;
244
- readonly isInternal: boolean;
245
- readonly isAutomated: boolean;
246
314
  readonly externalId: string | null;
247
315
  readonly referenceId: string | null;
248
- readonly apiKeyId: string | null;
249
- readonly httpMethod: string | null;
250
- readonly apiRequestMetadata: import("../generated").JsonValue;
251
- readonly apiResponseMetadata: import("../generated").JsonValue;
316
+ readonly submission: {
317
+ readonly origin: "campaign" | "direct" | "scheduled";
318
+ readonly transport: "http" | null;
319
+ readonly credential: {
320
+ readonly kind: "api_key";
321
+ readonly apiKeyId: (string & import("effect/Brand").Brand<"ApiKeyId">) | null;
322
+ } | {
323
+ readonly kind: "oauth";
324
+ readonly clientId: string | null;
325
+ } | {
326
+ readonly kind: "session";
327
+ } | null;
328
+ readonly userId: (string & import("effect/Brand").Brand<"UserId">) | null;
329
+ readonly client: {
330
+ readonly surface: "cli" | "mcp" | "typescript-effect" | "typescript-promise";
331
+ readonly version: string;
332
+ } | null;
333
+ } | null;
252
334
  readonly createdAt: string;
253
335
  readonly updatedAt: string;
254
- readonly createdBy: string | null;
255
336
  readonly fromContact: {
256
337
  readonly id: string;
257
338
  readonly name: string;
@@ -301,7 +382,7 @@ export declare const sendEmail: (input: EmailSendInput, options?: SendOptions |
301
382
  readonly scheduling: {
302
383
  readonly dueAt: string;
303
384
  readonly expiresAt: string;
304
- readonly waitReason: "campaign-paused" | "daily-quota" | "domain-health" | "domain-warming" | "onboarding-review" | "provider-unavailable" | "rate" | "retry" | "tenant-health" | null;
385
+ readonly waitReason: "campaign-paused" | "daily-quota" | "domain-health" | "domain-warming" | "onboarding-review" | "rate" | "retry" | "sending-paused" | "upstream-unavailable" | null;
305
386
  } | null;
306
387
  readonly id: string;
307
388
  readonly messageId: string;
@@ -321,17 +402,24 @@ export declare const sendEmail: (input: EmailSendInput, options?: SendOptions |
321
402
  readonly terminalAt: string | null;
322
403
  readonly errorCode: string | null;
323
404
  readonly errorMessage: string | null;
324
- readonly errorDetails: import("../generated").JsonValue;
405
+ readonly errorDetails: {
406
+ readonly code?: string | null;
407
+ readonly name?: string | null;
408
+ readonly message?: string | null;
409
+ readonly details?: {
410
+ readonly [x: string]: string | number | null;
411
+ } | null;
412
+ readonly retryable?: boolean | null;
413
+ } | null;
325
414
  readonly cost: string;
326
415
  readonly currency: string;
327
416
  readonly idempotencyKey: string | null;
328
- readonly metadata: import("../generated").JsonValue;
329
417
  readonly createdAt: string;
330
418
  readonly updatedAt: string;
331
419
  }[];
332
420
  readonly emailDeliveryDetails: readonly {
333
421
  readonly deliveryId: string;
334
- readonly messageIdHeader: string | null;
422
+ readonly messageIdHeader: string;
335
423
  readonly inReplyTo: string | null;
336
424
  readonly references: readonly string[] | null;
337
425
  readonly subject: string;
@@ -363,7 +451,7 @@ export declare const sendEmail: (input: EmailSendInput, options?: SendOptions |
363
451
  readonly createdAt: string;
364
452
  readonly updatedAt: string;
365
453
  }[];
366
- }, import("..").BillingProviderError | import("..").ConflictError | import("..").ExternalServiceError | import("..").FlagDisabledError | import("..").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("..").InternalError | import("../generated").OnboardingReviewRequiredError | import("..").PaymentRequiredError | import("..").RateLimitedError | import("..").ResourceNotFoundError | import("effect/Schema").SchemaError | import("..").UnauthorizedError | import("..").ValidationError | import("..").WebhookEnqueueError, Service>;
454
+ }, import("..").BillingProviderError | import("..").ConflictError | import("..").DeliveryUnavailableError | import("..").ExternalServiceError | import("..").FlagDisabledError | import("..").ForbiddenError | import("..").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("..").InternalError | import("../generated").OnboardingReviewRequiredError | import("..").PaymentRequiredError | import("..").RateLimitedError | import("..").ResourceNotFoundError | import("effect/Schema").SchemaError | import("..").UnauthorizedError | import("..").ValidationError, Service>;
367
455
  type AddSenderRequest = NonNullable<RequestArg<FlatRaw["emailAddSender"]>>;
368
456
  export type EmailAddSenderInput = Omit<AddSenderRequest["payload"], "replyToEmails"> & {
369
457
  readonly replyToEmails?: ErgonomicEmailList | null | undefined;
@@ -375,5 +463,5 @@ export declare const addEmailSender: (input: EmailAddSenderInput, options?: Send
375
463
  readonly providerLifecycle: "active" | "deleting" | "failed" | "provisioning";
376
464
  readonly providerFailureCode: string | null;
377
465
  readonly createdAt: string;
378
- }, import("..").ConflictError | import("..").ExternalServiceError | import("..").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("..").InternalError | import("..").ResourceNotFoundError | import("effect/Schema").SchemaError | import("..").UnauthorizedError | import("..").ValidationError, Service>;
466
+ }, import("..").ConflictError | import("..").ExternalServiceError | import("..").ForbiddenError | import("..").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("..").InternalError | import("..").ResourceNotFoundError | import("effect/Schema").SchemaError | import("..").UnauthorizedError | import("..").ValidationError, Service>;
379
467
  export {};
@@ -27,7 +27,7 @@ export declare const create: (input: {
27
27
  };
28
28
  readonly expiresAt: string;
29
29
  };
30
- }, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
30
+ }, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
31
31
  export declare const getById: (input: {
32
32
  readonly mediaId: string;
33
33
  }) => import("effect/Effect").Effect<{
@@ -45,12 +45,12 @@ export declare const getById: (input: {
45
45
  readonly expiresAt: string | null;
46
46
  readonly createdAt: string;
47
47
  readonly confirmedAt: string | null;
48
- }, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
48
+ }, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
49
49
  export declare const remove: (input: {
50
50
  readonly mediaId: string;
51
51
  }) => import("effect/Effect").Effect<{
52
52
  readonly success: boolean;
53
- }, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
53
+ }, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
54
54
  export declare const complete: (input: {
55
55
  readonly mediaId: string;
56
56
  }) => import("effect/Effect").Effect<{
@@ -71,10 +71,10 @@ export declare const complete: (input: {
71
71
  readonly confirmedAt: string | null;
72
72
  };
73
73
  readonly downloadUrl: string;
74
- }, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
74
+ }, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
75
75
  export declare const downloadUrl: (input: {
76
76
  readonly mediaId: string;
77
77
  }) => import("effect/Effect").Effect<{
78
78
  readonly url: string;
79
79
  readonly expiresAt: string;
80
- }, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
80
+ }, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
@@ -1,5 +1,5 @@
1
1
  import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.js";
2
- import { n as make } from "../operation-B4FjN6wq.js";
2
+ import { n as make } from "../operation-02YX3hY9.js";
3
3
  //#region src/effect/media.ts
4
4
  var media_exports = /* @__PURE__ */ __exportAll({
5
5
  complete: () => complete,