samva 0.19.0 → 0.20.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 (44) hide show
  1. package/dist/client/sdk.gen.d.ts +56 -14
  2. package/dist/client/sdk.gen.js +186 -34
  3. package/dist/client/types.gen.d.ts +325 -65
  4. package/dist/effect/campaigns.d.ts +35 -3
  5. package/dist/effect/contacts.d.ts +24 -4
  6. package/dist/effect/email.d.ts +22 -6
  7. package/dist/effect/errors.d.ts +1 -1
  8. package/dist/effect/errors.js +2 -2
  9. package/dist/effect/generated/campaigns.d.ts +73 -4
  10. package/dist/effect/generated/campaigns.js +18 -1
  11. package/dist/effect/generated/contacts.d.ts +131 -1
  12. package/dist/effect/generated/contacts.js +17 -2
  13. package/dist/effect/generated/email.d.ts +162 -1
  14. package/dist/effect/generated/email.js +31 -11
  15. package/dist/effect/generated/journeys.d.ts +13 -61
  16. package/dist/effect/generated/journeys.js +5 -5
  17. package/dist/effect/generated/mailboxes.d.ts +274 -78
  18. package/dist/effect/generated/mailboxes.js +28 -20
  19. package/dist/effect/generated/messages.d.ts +4 -1
  20. package/dist/effect/generated/messages.js +2 -1
  21. package/dist/effect/generated/namespaces.d.ts +432 -2
  22. package/dist/effect/generated/namespaces.js +91 -4
  23. package/dist/effect/generated/shared.d.ts +34 -29
  24. package/dist/effect/generated/shared.js +25 -22
  25. package/dist/effect/generated/templates.d.ts +44 -1
  26. package/dist/effect/generated/templates.js +9 -3
  27. package/dist/effect/generated-metadata.d.ts +15 -4
  28. package/dist/effect/generated-metadata.js +3 -4
  29. package/dist/effect/index.js +2 -2
  30. package/dist/effect/journeys.d.ts +4 -4
  31. package/dist/effect/mailboxes.d.ts +11 -11
  32. package/dist/effect/messages.d.ts +3 -0
  33. package/dist/effect/namespaces.d.ts +29 -0
  34. package/dist/effect/namespaces.js +7 -1
  35. package/dist/effect/templates.d.ts +12 -1
  36. package/dist/index.js +2 -2
  37. package/dist/package.js +1 -1
  38. package/dist/promises/errors.gen.d.ts +2 -12
  39. package/dist/promises/errors.gen.js +1 -26
  40. package/dist/promises/index.js +2 -2
  41. package/dist/promises/types.gen.d.ts +1 -1
  42. package/dist/service-map.d.ts +15 -0
  43. package/dist/service-map.js +16 -0
  44. package/package.json +2 -2
@@ -398,7 +398,7 @@ export declare const create: (input: {
398
398
  readonly publishedAt: string | null;
399
399
  readonly createdAt: string;
400
400
  readonly updatedAt: string;
401
- }, import("./errors").BillingProviderError | import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").PaymentRequiredError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
401
+ }, import("./errors").BillingProviderError | import("./errors").ConflictError | import("./errors").FlagDisabledError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").PaymentRequiredError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
402
402
  export declare const get: (input: {
403
403
  readonly id: string;
404
404
  }) => import("effect/Effect").Effect<{
@@ -1121,7 +1121,7 @@ export declare const replaceDraft: (input: {
1121
1121
  readonly publishedAt: string | null;
1122
1122
  readonly createdAt: string;
1123
1123
  readonly updatedAt: string;
1124
- }, import("./errors").BillingProviderError | import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").PaymentRequiredError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
1124
+ }, import("./errors").BillingProviderError | import("./errors").ConflictError | import("./errors").FlagDisabledError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").PaymentRequiredError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
1125
1125
  export declare const publish: (input: {
1126
1126
  readonly id: string;
1127
1127
  readonly revision: string;
@@ -1302,7 +1302,7 @@ export declare const publish: (input: {
1302
1302
  readonly publishedAt: string | null;
1303
1303
  readonly createdAt: string;
1304
1304
  readonly updatedAt: string;
1305
- }, import("./errors").BillingProviderError | import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").PaymentRequiredError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
1305
+ }, import("./errors").BillingProviderError | import("./errors").ConflictError | import("./errors").FlagDisabledError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").PaymentRequiredError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
1306
1306
  export declare const pause: (input: {
1307
1307
  readonly id: string;
1308
1308
  }) => import("effect/Effect").Effect<{
@@ -1662,7 +1662,7 @@ export declare const resume: (input: {
1662
1662
  readonly publishedAt: string | null;
1663
1663
  readonly createdAt: string;
1664
1664
  readonly updatedAt: string;
1665
- }, import("./errors").BillingProviderError | import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").PaymentRequiredError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
1665
+ }, import("./errors").BillingProviderError | import("./errors").ConflictError | import("./errors").FlagDisabledError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").PaymentRequiredError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
1666
1666
  export declare const archive: (input: {
1667
1667
  readonly id: string;
1668
1668
  }) => import("effect/Effect").Effect<{
@@ -83,7 +83,7 @@ export declare const create: (input: {
83
83
  readonly domainId: string | null;
84
84
  }[];
85
85
  readonly updatedAt: string;
86
- }, import("./errors").BillingProviderError | import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MailboxChannelUnsupportedError | import("./errors").PaymentRequiredError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
86
+ }, import("./errors").BillingProviderError | import("./errors").ConflictError | import("./errors").FlagDisabledError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").PaymentRequiredError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
87
87
  export declare const get: (input: {
88
88
  readonly id: string;
89
89
  }) => import("effect/Effect").Effect<{
@@ -170,7 +170,7 @@ export declare const createEndpoint: (input: {
170
170
  readonly domainId: string | null;
171
171
  }[];
172
172
  readonly updatedAt: string;
173
- }, import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MailboxChannelUnsupportedError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
173
+ }, import("./errors").ConflictError | import("./errors").FlagDisabledError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
174
174
  export declare const updateEndpoint: (input: {
175
175
  readonly id: string;
176
176
  readonly endpointId: string;
@@ -1212,7 +1212,7 @@ export declare const sendMessage: (input: {
1212
1212
  } | null;
1213
1213
  readonly createdAt: string;
1214
1214
  readonly updatedAt: string;
1215
- }, import("./errors").BillingProviderError | import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MailboxChannelUnsupportedError | import("./errors").MailboxSendConflictError | import("./errors").MailboxSendRefusedError | import("./errors").OnboardingReviewRequiredError | import("./errors").PaymentRequiredError | import("./errors").RateLimitedError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").SenderNotReadyError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
1215
+ }, import("./errors").BillingProviderError | import("./errors").ConflictError | import("./errors").FlagDisabledError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MailboxSendConflictError | import("./errors").MailboxSendRefusedError | import("./errors").OnboardingReviewRequiredError | import("./errors").PaymentRequiredError | import("./errors").RateLimitedError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").SenderNotReadyError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
1216
1216
  export declare const getMessage: (input: {
1217
1217
  readonly id: string;
1218
1218
  readonly messageId: string;
@@ -1449,7 +1449,7 @@ export declare const reply: (input: {
1449
1449
  } | null;
1450
1450
  readonly createdAt: string;
1451
1451
  readonly updatedAt: string;
1452
- }, import("./errors").BillingProviderError | import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MailboxChannelUnsupportedError | import("./errors").MailboxSendConflictError | import("./errors").MailboxSendRefusedError | import("./errors").OnboardingReviewRequiredError | import("./errors").PaymentRequiredError | import("./errors").RateLimitedError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").SenderNotReadyError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
1452
+ }, import("./errors").BillingProviderError | import("./errors").ConflictError | import("./errors").FlagDisabledError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MailboxSendConflictError | import("./errors").MailboxSendRefusedError | import("./errors").OnboardingReviewRequiredError | import("./errors").PaymentRequiredError | import("./errors").RateLimitedError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").SenderNotReadyError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
1453
1453
  export declare const replyAll: (input: {
1454
1454
  readonly id: string;
1455
1455
  readonly messageId: string;
@@ -1603,7 +1603,7 @@ export declare const replyAll: (input: {
1603
1603
  } | null;
1604
1604
  readonly createdAt: string;
1605
1605
  readonly updatedAt: string;
1606
- }, import("./errors").BillingProviderError | import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MailboxChannelUnsupportedError | import("./errors").MailboxSendConflictError | import("./errors").MailboxSendRefusedError | import("./errors").OnboardingReviewRequiredError | import("./errors").PaymentRequiredError | import("./errors").RateLimitedError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").SenderNotReadyError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
1606
+ }, import("./errors").BillingProviderError | import("./errors").ConflictError | import("./errors").FlagDisabledError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MailboxSendConflictError | import("./errors").MailboxSendRefusedError | import("./errors").OnboardingReviewRequiredError | import("./errors").PaymentRequiredError | import("./errors").RateLimitedError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").SenderNotReadyError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
1607
1607
  export declare const forward: (input: {
1608
1608
  readonly id: string;
1609
1609
  readonly messageId: string;
@@ -1757,7 +1757,7 @@ export declare const forward: (input: {
1757
1757
  } | null;
1758
1758
  readonly createdAt: string;
1759
1759
  readonly updatedAt: string;
1760
- }, import("./errors").BillingProviderError | import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MailboxChannelUnsupportedError | import("./errors").MailboxSendConflictError | import("./errors").MailboxSendRefusedError | import("./errors").OnboardingReviewRequiredError | import("./errors").PaymentRequiredError | import("./errors").RateLimitedError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").SenderNotReadyError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
1760
+ }, import("./errors").BillingProviderError | import("./errors").ConflictError | import("./errors").FlagDisabledError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MailboxSendConflictError | import("./errors").MailboxSendRefusedError | import("./errors").OnboardingReviewRequiredError | import("./errors").PaymentRequiredError | import("./errors").RateLimitedError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").SenderNotReadyError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
1761
1761
  export declare const listQuarantine: ((input: {
1762
1762
  readonly id: string;
1763
1763
  readonly limit?: string | null | undefined;
@@ -1970,7 +1970,7 @@ export declare const createDraft: (input: {
1970
1970
  readonly contentType: string;
1971
1971
  readonly size: number;
1972
1972
  }[];
1973
- }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MailboxChannelUnsupportedError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
1973
+ }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
1974
1974
  export declare const getDraft: (input: {
1975
1975
  readonly id: string;
1976
1976
  readonly draftId: string;
@@ -2188,7 +2188,7 @@ export declare const sendDraft: (input: {
2188
2188
  } | null;
2189
2189
  readonly createdAt: string;
2190
2190
  readonly updatedAt: string;
2191
- }, import("./errors").BillingProviderError | import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MailboxChannelUnsupportedError | import("./errors").MailboxSendConflictError | import("./errors").MailboxSendRefusedError | import("./errors").OnboardingReviewRequiredError | import("./errors").PaymentRequiredError | import("./errors").RateLimitedError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").SenderNotReadyError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
2191
+ }, import("./errors").BillingProviderError | import("./errors").ConflictError | import("./errors").FlagDisabledError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MailboxSendConflictError | import("./errors").MailboxSendRefusedError | import("./errors").OnboardingReviewRequiredError | import("./errors").PaymentRequiredError | import("./errors").RateLimitedError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").SenderNotReadyError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
2192
2192
  export declare const listActions: ((input: {
2193
2193
  readonly id: string;
2194
2194
  readonly limit?: string | null | undefined;
@@ -2990,7 +2990,7 @@ export declare const cancelAction: (input: {
2990
2990
  } | null;
2991
2991
  readonly createdAt: string;
2992
2992
  readonly updatedAt: string;
2993
- }, import("./errors").BillingProviderError | import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MailboxChannelUnsupportedError | import("./errors").MailboxSendConflictError | import("./errors").MailboxSendRefusedError | import("./errors").OnboardingReviewRequiredError | import("./errors").PaymentRequiredError | import("./errors").RateLimitedError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").SenderNotReadyError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
2993
+ }, import("./errors").BillingProviderError | import("./errors").ConflictError | import("./errors").FlagDisabledError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MailboxSendConflictError | import("./errors").MailboxSendRefusedError | import("./errors").OnboardingReviewRequiredError | import("./errors").PaymentRequiredError | import("./errors").RateLimitedError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").SenderNotReadyError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
2994
2994
  export declare const retryAction: (input: {
2995
2995
  readonly id: string;
2996
2996
  readonly actionId: string;
@@ -3130,7 +3130,7 @@ export declare const retryAction: (input: {
3130
3130
  } | null;
3131
3131
  readonly createdAt: string;
3132
3132
  readonly updatedAt: string;
3133
- }, import("./errors").BillingProviderError | import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MailboxChannelUnsupportedError | import("./errors").MailboxSendConflictError | import("./errors").MailboxSendRefusedError | import("./errors").OnboardingReviewRequiredError | import("./errors").PaymentRequiredError | import("./errors").RateLimitedError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").SenderNotReadyError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
3133
+ }, import("./errors").BillingProviderError | import("./errors").ConflictError | import("./errors").FlagDisabledError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MailboxSendConflictError | import("./errors").MailboxSendRefusedError | import("./errors").OnboardingReviewRequiredError | import("./errors").PaymentRequiredError | import("./errors").RateLimitedError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").SenderNotReadyError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
3134
3134
  export declare const approveAction: (input: {
3135
3135
  readonly id: string;
3136
3136
  readonly actionId: string;
@@ -3290,7 +3290,7 @@ export declare const approveAction: (input: {
3290
3290
  readonly updatedAt: string;
3291
3291
  readonly type: "assignThread" | "call" | "changeThreadState" | "createNote" | "extensionRequest" | "updateDraft";
3292
3292
  readonly state: "allowed" | "approvalDenied" | "approvalRequired" | "approved" | "executed" | "executing" | "failed" | "policyDenied" | "proposed";
3293
- }, import("./errors").BillingProviderError | import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MailboxChannelUnsupportedError | import("./errors").MailboxSendConflictError | import("./errors").MailboxSendRefusedError | import("./errors").OnboardingReviewRequiredError | import("./errors").PaymentRequiredError | import("./errors").RateLimitedError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").SenderNotReadyError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
3293
+ }, import("./errors").BillingProviderError | import("./errors").ConflictError | import("./errors").FlagDisabledError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MailboxSendConflictError | import("./errors").MailboxSendRefusedError | import("./errors").OnboardingReviewRequiredError | import("./errors").PaymentRequiredError | import("./errors").RateLimitedError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").SenderNotReadyError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
3294
3294
  export declare const denyAction: (input: {
3295
3295
  readonly id: string;
3296
3296
  readonly actionId: string;
@@ -9,6 +9,7 @@ export declare const list: ((input?: {
9
9
  readonly conversationId?: string | null | undefined;
10
10
  readonly contactId?: string | null | undefined;
11
11
  readonly from?: string | null | undefined;
12
+ readonly namespaceId?: string | null | undefined;
12
13
  readonly after?: string | null | undefined;
13
14
  readonly before?: string | null | undefined;
14
15
  } | undefined) => import("effect/Effect").Effect<{
@@ -34,6 +35,7 @@ export declare const list: ((input?: {
34
35
  readonly conversationId?: string | null | undefined;
35
36
  readonly contactId?: string | null | undefined;
36
37
  readonly from?: string | null | undefined;
38
+ readonly namespaceId?: string | null | undefined;
37
39
  readonly after?: string | null | undefined;
38
40
  readonly before?: string | null | undefined;
39
41
  } | undefined) => import("effect/Stream").Stream<{
@@ -59,6 +61,7 @@ export declare const list: ((input?: {
59
61
  readonly conversationId?: string | null | undefined;
60
62
  readonly contactId?: string | null | undefined;
61
63
  readonly from?: string | null | undefined;
64
+ readonly namespaceId?: string | null | undefined;
62
65
  readonly after?: string | null | undefined;
63
66
  readonly before?: string | null | undefined;
64
67
  } | undefined) => import("effect/Stream").Stream<{
@@ -80,3 +80,32 @@ export declare const remove: (input: {
80
80
  }) => import("effect/Effect").Effect<{
81
81
  readonly success: boolean;
82
82
  }, import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
83
+ export declare const assignResource: (input: {
84
+ readonly id: string;
85
+ readonly type: "contact" | "domain" | "sender" | "template";
86
+ readonly resourceId: string;
87
+ }) => import("effect/Effect").Effect<{
88
+ readonly type: "contact" | "domain" | "sender" | "template";
89
+ readonly id: string;
90
+ readonly namespaceId: (string & import("effect/Brand").Brand<"NamespaceId">) | null;
91
+ }, import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
92
+ export declare const removeResource: (input: {
93
+ readonly id: string;
94
+ readonly type: "contact" | "domain" | "sender" | "template";
95
+ readonly resourceId: string;
96
+ }) => import("effect/Effect").Effect<{
97
+ readonly type: "contact" | "domain" | "sender" | "template";
98
+ readonly id: string;
99
+ readonly namespaceId: (string & import("effect/Brand").Brand<"NamespaceId">) | null;
100
+ }, import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
101
+ export declare const getUsage: (input: {
102
+ readonly id: string;
103
+ readonly after?: string | null | undefined;
104
+ readonly before?: string | null | undefined;
105
+ }) => import("effect/Effect").Effect<{
106
+ readonly namespaceId: string & import("effect/Brand").Brand<"NamespaceId">;
107
+ readonly periodStart: string;
108
+ readonly periodEnd: string;
109
+ readonly emailCount: number;
110
+ readonly totalMessages: number;
111
+ }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
@@ -3,10 +3,13 @@ import { forGroup } from "./internal/operation.js";
3
3
  import { NamespacesGroup } from "./generated/namespaces.js";
4
4
  //#region src/effect/namespaces.ts
5
5
  var namespaces_exports = /* @__PURE__ */ __exportAll({
6
+ assignResource: () => assignResource,
6
7
  create: () => create,
7
8
  get: () => get,
9
+ getUsage: () => getUsage,
8
10
  list: () => list,
9
11
  remove: () => remove,
12
+ removeResource: () => removeResource,
10
13
  update: () => update
11
14
  });
12
15
  const make = /* @__PURE__ */ forGroup(NamespacesGroup);
@@ -15,7 +18,10 @@ const create = /* @__PURE__ */ make("namespacesCreate");
15
18
  const get = /* @__PURE__ */ make("namespacesGet");
16
19
  const update = /* @__PURE__ */ make("namespacesUpdate");
17
20
  const remove = /* @__PURE__ */ make("namespacesRemove");
21
+ const assignResource = /* @__PURE__ */ make("namespacesAssignResource");
22
+ const removeResource = /* @__PURE__ */ make("namespacesRemoveResource");
23
+ const getUsage = /* @__PURE__ */ make("namespacesGetUsage");
18
24
  //#endregion
19
- export { create, get, list, namespaces_exports, remove, update };
25
+ export { assignResource, create, get, getUsage, list, namespaces_exports, remove, removeResource, update };
20
26
 
21
27
  //# sourceMappingURL=namespaces.js.map
@@ -7,6 +7,7 @@ export declare const list: ((input?: {
7
7
  readonly status?: "approved" | "archived" | "draft" | "pending" | "published" | "rejected" | null | undefined;
8
8
  readonly search?: string | null | undefined;
9
9
  readonly projectId?: string | null | undefined;
10
+ readonly namespaceId?: string | null | undefined;
10
11
  } | undefined) => import("effect/Effect").Effect<{
11
12
  readonly items: readonly {
12
13
  readonly id: string & import("effect/Brand").Brand<"TemplateId">;
@@ -14,6 +15,7 @@ export declare const list: ((input?: {
14
15
  readonly name: string;
15
16
  readonly channel: "email";
16
17
  readonly projectId: string & import("effect/Brand").Brand<"TemplateProjectId">;
18
+ readonly namespaceId: (string & import("effect/Brand").Brand<"NamespaceId">) | null;
17
19
  readonly entryPath: string;
18
20
  readonly status: "approved" | "archived" | "draft" | "pending" | "published" | "rejected";
19
21
  readonly isActive: boolean;
@@ -42,6 +44,7 @@ export declare const list: ((input?: {
42
44
  readonly status?: "approved" | "archived" | "draft" | "pending" | "published" | "rejected" | null | undefined;
43
45
  readonly search?: string | null | undefined;
44
46
  readonly projectId?: string | null | undefined;
47
+ readonly namespaceId?: string | null | undefined;
45
48
  } | undefined) => import("effect/Stream").Stream<{
46
49
  readonly items: readonly {
47
50
  readonly id: string & import("effect/Brand").Brand<"TemplateId">;
@@ -49,6 +52,7 @@ export declare const list: ((input?: {
49
52
  readonly name: string;
50
53
  readonly channel: "email";
51
54
  readonly projectId: string & import("effect/Brand").Brand<"TemplateProjectId">;
55
+ readonly namespaceId: (string & import("effect/Brand").Brand<"NamespaceId">) | null;
52
56
  readonly entryPath: string;
53
57
  readonly status: "approved" | "archived" | "draft" | "pending" | "published" | "rejected";
54
58
  readonly isActive: boolean;
@@ -77,12 +81,14 @@ export declare const list: ((input?: {
77
81
  readonly status?: "approved" | "archived" | "draft" | "pending" | "published" | "rejected" | null | undefined;
78
82
  readonly search?: string | null | undefined;
79
83
  readonly projectId?: string | null | undefined;
84
+ readonly namespaceId?: string | null | undefined;
80
85
  } | undefined) => import("effect/Stream").Stream<{
81
86
  readonly id: string & import("effect/Brand").Brand<"TemplateId">;
82
87
  readonly slug: string;
83
88
  readonly name: string;
84
89
  readonly channel: "email";
85
90
  readonly projectId: string & import("effect/Brand").Brand<"TemplateProjectId">;
91
+ readonly namespaceId: (string & import("effect/Brand").Brand<"NamespaceId">) | null;
86
92
  readonly entryPath: string;
87
93
  readonly status: "approved" | "archived" | "draft" | "pending" | "published" | "rejected";
88
94
  readonly isActive: boolean;
@@ -111,6 +117,7 @@ export declare const create: (input: {
111
117
  readonly description?: string | null | undefined;
112
118
  readonly category?: "alert" | "marketing" | "notification" | "reminder" | "support" | "transactional" | "verification" | null | undefined;
113
119
  readonly isActive?: boolean | null | undefined;
120
+ readonly namespaceId?: string | null | undefined;
114
121
  readonly idempotencyKey: string;
115
122
  }) => import("effect/Effect").Effect<{
116
123
  readonly id: string & import("effect/Brand").Brand<"TemplateId">;
@@ -118,6 +125,7 @@ export declare const create: (input: {
118
125
  readonly name: string;
119
126
  readonly channel: "email";
120
127
  readonly projectId: string & import("effect/Brand").Brand<"TemplateProjectId">;
128
+ readonly namespaceId: (string & import("effect/Brand").Brand<"NamespaceId">) | null;
121
129
  readonly entryPath: string;
122
130
  readonly status: "approved" | "archived" | "draft" | "pending" | "published" | "rejected";
123
131
  readonly isActive: boolean;
@@ -155,7 +163,7 @@ export declare const create: (input: {
155
163
  readonly inputSchema: {
156
164
  readonly [x: string]: import("./generated").JsonValue;
157
165
  } | null;
158
- }, import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
166
+ }, import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
159
167
  export declare const addEntry: (input: {
160
168
  readonly id: string;
161
169
  readonly entryPath: string;
@@ -169,6 +177,7 @@ export declare const addEntry: (input: {
169
177
  readonly name: string;
170
178
  readonly channel: "email";
171
179
  readonly projectId: string & import("effect/Brand").Brand<"TemplateProjectId">;
180
+ readonly namespaceId: (string & import("effect/Brand").Brand<"NamespaceId">) | null;
172
181
  readonly entryPath: string;
173
182
  readonly status: "approved" | "archived" | "draft" | "pending" | "published" | "rejected";
174
183
  readonly isActive: boolean;
@@ -396,6 +405,7 @@ export declare const getById: (input: {
396
405
  readonly name: string;
397
406
  readonly channel: "email";
398
407
  readonly projectId: string & import("effect/Brand").Brand<"TemplateProjectId">;
408
+ readonly namespaceId: (string & import("effect/Brand").Brand<"NamespaceId">) | null;
399
409
  readonly entryPath: string;
400
410
  readonly status: "approved" | "archived" | "draft" | "pending" | "published" | "rejected";
401
411
  readonly isActive: boolean;
@@ -460,6 +470,7 @@ export declare const update: (input: {
460
470
  readonly name: string;
461
471
  readonly channel: "email";
462
472
  readonly projectId: string & import("effect/Brand").Brand<"TemplateProjectId">;
473
+ readonly namespaceId: (string & import("effect/Brand").Brand<"NamespaceId">) | null;
463
474
  readonly entryPath: string;
464
475
  readonly status: "approved" | "archived" | "draft" | "pending" | "published" | "rejected";
465
476
  readonly isActive: boolean;
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { MediaUploadError } from "./inline-attachments.js";
2
2
  import { MailboxEventStream, MailboxEventStreamError } from "./mailbox-events.js";
3
- import { AnalyticsQueryError, BillingProviderError, BrandAddressRequiredError, CampaignFooterRequiredError, ConflictError, DeliveryUnavailableError, EmailChannelError, ExternalServiceError, FlagDisabledError, ForbiddenError, GatewayTimeoutError, InternalError, MailboxChannelUnsupportedError, MailboxSendConflictError, MailboxSendRefusedError, OnboardingReviewRequiredError, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, SamvaApiError, SamvaTransportError, SenderNotReadyError, UnauthorizedError, ValidationError, fromApiError } from "./promises/errors.gen.js";
3
+ import { AnalyticsQueryError, BillingProviderError, BrandAddressRequiredError, CampaignFooterRequiredError, ConflictError, DeliveryUnavailableError, EmailChannelError, ExternalServiceError, FlagDisabledError, ForbiddenError, GatewayTimeoutError, InternalError, MailboxSendConflictError, MailboxSendRefusedError, OnboardingReviewRequiredError, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, SamvaApiError, SamvaTransportError, SenderNotReadyError, UnauthorizedError, ValidationError, fromApiError } from "./promises/errors.gen.js";
4
4
  import { createClient } from "./promises/index.js";
5
- export { AnalyticsQueryError, BillingProviderError, BrandAddressRequiredError, CampaignFooterRequiredError, ConflictError, DeliveryUnavailableError, EmailChannelError, ExternalServiceError, FlagDisabledError, ForbiddenError, GatewayTimeoutError, InternalError, MailboxChannelUnsupportedError, MailboxEventStream, MailboxEventStreamError, MailboxSendConflictError, MailboxSendRefusedError, MediaUploadError, OnboardingReviewRequiredError, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, SamvaApiError, SamvaTransportError, SenderNotReadyError, UnauthorizedError, ValidationError, createClient, fromApiError };
5
+ export { AnalyticsQueryError, BillingProviderError, BrandAddressRequiredError, CampaignFooterRequiredError, ConflictError, DeliveryUnavailableError, EmailChannelError, ExternalServiceError, FlagDisabledError, ForbiddenError, GatewayTimeoutError, InternalError, MailboxEventStream, MailboxEventStreamError, MailboxSendConflictError, MailboxSendRefusedError, MediaUploadError, OnboardingReviewRequiredError, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, SamvaApiError, SamvaTransportError, SenderNotReadyError, UnauthorizedError, ValidationError, createClient, fromApiError };
package/dist/package.js CHANGED
@@ -1,5 +1,5 @@
1
1
  //#region package.json
2
- var version = "0.19.0";
2
+ var version = "0.20.0";
3
3
  //#endregion
4
4
  export { version };
5
5
 
@@ -1,4 +1,4 @@
1
- export type SamvaApiErrorTag = "AnalyticsQueryError" | "BillingProviderError" | "BrandAddressRequiredError" | "CampaignFooterRequiredError" | "ConflictError" | "DeliveryUnavailableError" | "EmailChannelError" | "ExternalServiceError" | "FlagDisabledError" | "ForbiddenError" | "GatewayTimeoutError" | "InternalError" | "MailboxChannelUnsupportedError" | "MailboxSendConflictError" | "MailboxSendRefusedError" | "OnboardingReviewRequiredError" | "PaymentRequiredError" | "RateLimitedError" | "ResourceNotFoundError" | "SenderNotReadyError" | "UnauthorizedError" | "ValidationError";
1
+ export type SamvaApiErrorTag = "AnalyticsQueryError" | "BillingProviderError" | "BrandAddressRequiredError" | "CampaignFooterRequiredError" | "ConflictError" | "DeliveryUnavailableError" | "EmailChannelError" | "ExternalServiceError" | "FlagDisabledError" | "ForbiddenError" | "GatewayTimeoutError" | "InternalError" | "MailboxSendConflictError" | "MailboxSendRefusedError" | "OnboardingReviewRequiredError" | "PaymentRequiredError" | "RateLimitedError" | "ResourceNotFoundError" | "SenderNotReadyError" | "UnauthorizedError" | "ValidationError";
2
2
  export interface SamvaApiErrorContext {
3
3
  readonly request?: Request | undefined;
4
4
  readonly response?: Response | undefined;
@@ -132,16 +132,6 @@ export declare class InternalError extends SamvaApiError<"InternalError"> {
132
132
  readonly _tag: "InternalError";
133
133
  constructor(payload: Omit<InternalErrorPayload, "_tag">, context?: SamvaApiErrorContext);
134
134
  }
135
- type MailboxChannelUnsupportedErrorPayload = {
136
- readonly _tag: "MailboxChannelUnsupportedError";
137
- readonly channel: string;
138
- readonly message: string;
139
- };
140
- export declare class MailboxChannelUnsupportedError extends SamvaApiError<"MailboxChannelUnsupportedError"> {
141
- readonly _tag: "MailboxChannelUnsupportedError";
142
- readonly "channel": string;
143
- constructor(payload: Omit<MailboxChannelUnsupportedErrorPayload, "_tag">, context?: SamvaApiErrorContext);
144
- }
145
135
  type MailboxSendConflictErrorPayload = {
146
136
  readonly _tag: "MailboxSendConflictError";
147
137
  readonly id: string;
@@ -250,7 +240,7 @@ export declare class ValidationError extends SamvaApiError<"ValidationError"> {
250
240
  readonly "fields"?: Record<string, Array<string>> | null;
251
241
  constructor(payload: Omit<ValidationErrorPayload, "_tag">, context?: SamvaApiErrorContext);
252
242
  }
253
- export type AnySamvaApiError = AnalyticsQueryError | BillingProviderError | BrandAddressRequiredError | CampaignFooterRequiredError | ConflictError | DeliveryUnavailableError | EmailChannelError | ExternalServiceError | FlagDisabledError | ForbiddenError | GatewayTimeoutError | InternalError | MailboxChannelUnsupportedError | MailboxSendConflictError | MailboxSendRefusedError | OnboardingReviewRequiredError | PaymentRequiredError | RateLimitedError | ResourceNotFoundError | SenderNotReadyError | UnauthorizedError | ValidationError;
243
+ export type AnySamvaApiError = AnalyticsQueryError | BillingProviderError | BrandAddressRequiredError | CampaignFooterRequiredError | ConflictError | DeliveryUnavailableError | EmailChannelError | ExternalServiceError | FlagDisabledError | ForbiddenError | GatewayTimeoutError | InternalError | MailboxSendConflictError | MailboxSendRefusedError | OnboardingReviewRequiredError | PaymentRequiredError | RateLimitedError | ResourceNotFoundError | SenderNotReadyError | UnauthorizedError | ValidationError;
254
244
  /** Convert a decoded error payload into its generated JavaScript error class. */
255
245
  export declare function fromApiError(error: unknown, context?: SamvaApiErrorContext): AnySamvaApiError | SamvaTransportError;
256
246
  export {};
@@ -117,13 +117,6 @@ var InternalError = class extends SamvaApiError {
117
117
  Object.assign(this, payload);
118
118
  }
119
119
  };
120
- var MailboxChannelUnsupportedError = class extends SamvaApiError {
121
- _tag = "MailboxChannelUnsupportedError";
122
- constructor(payload, context = {}) {
123
- super(messageOf("MailboxChannelUnsupportedError", payload), context);
124
- Object.assign(this, payload);
125
- }
126
- };
127
120
  var MailboxSendConflictError = class extends SamvaApiError {
128
121
  _tag = "MailboxSendConflictError";
129
122
  constructor(payload, context = {}) {
@@ -200,7 +193,6 @@ const constructors = {
200
193
  ForbiddenError,
201
194
  GatewayTimeoutError,
202
195
  InternalError,
203
- MailboxChannelUnsupportedError,
204
196
  MailboxSendConflictError,
205
197
  MailboxSendRefusedError,
206
198
  OnboardingReviewRequiredError,
@@ -411,23 +403,6 @@ const payloadSchemas = {
411
403
  "x-category": ["transient"],
412
404
  "x-retryable": true
413
405
  },
414
- MailboxChannelUnsupportedError: {
415
- type: "object",
416
- properties: {
417
- _tag: {
418
- type: "string",
419
- enum: ["MailboxChannelUnsupportedError"]
420
- },
421
- message: { type: "string" },
422
- channel: { type: "string" }
423
- },
424
- required: [
425
- "_tag",
426
- "message",
427
- "channel"
428
- ],
429
- additionalProperties: false
430
- },
431
406
  MailboxSendConflictError: {
432
407
  type: "object",
433
408
  properties: {
@@ -1335,6 +1310,6 @@ function fromApiError(error, context = {}) {
1335
1310
  return new SamvaTransportError(error, context);
1336
1311
  }
1337
1312
  //#endregion
1338
- export { AnalyticsQueryError, BillingProviderError, BrandAddressRequiredError, CampaignFooterRequiredError, ConflictError, DeliveryUnavailableError, EmailChannelError, ExternalServiceError, FlagDisabledError, ForbiddenError, GatewayTimeoutError, InternalError, MailboxChannelUnsupportedError, MailboxSendConflictError, MailboxSendRefusedError, OnboardingReviewRequiredError, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, SamvaApiError, SamvaTransportError, SenderNotReadyError, UnauthorizedError, ValidationError, fromApiError };
1313
+ export { AnalyticsQueryError, BillingProviderError, BrandAddressRequiredError, CampaignFooterRequiredError, ConflictError, DeliveryUnavailableError, EmailChannelError, ExternalServiceError, FlagDisabledError, ForbiddenError, GatewayTimeoutError, InternalError, MailboxSendConflictError, MailboxSendRefusedError, OnboardingReviewRequiredError, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, SamvaApiError, SamvaTransportError, SenderNotReadyError, UnauthorizedError, ValidationError, fromApiError };
1339
1314
 
1340
1315
  //# sourceMappingURL=errors.gen.js.map
@@ -5,7 +5,7 @@ import { Analytics, ApiKeys, Attachments, Brands, Campaigns, ContactEvents, Cont
5
5
  import { MediaUploadError, mediaCreateBody, planInlineUploads, withUploadedAttachments } from "../inline-attachments.js";
6
6
  import { MailboxEventStream, MailboxEventStreamError } from "../mailbox-events.js";
7
7
  import { buildEmailSendPayload, buildMessagesSendPayload, replyToEmailsPayload } from "../normalize.js";
8
- import { AnalyticsQueryError, BillingProviderError, BrandAddressRequiredError, CampaignFooterRequiredError, ConflictError, DeliveryUnavailableError, EmailChannelError, ExternalServiceError, FlagDisabledError, ForbiddenError, GatewayTimeoutError, InternalError, MailboxChannelUnsupportedError, MailboxSendConflictError, MailboxSendRefusedError, OnboardingReviewRequiredError, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, SamvaApiError, SamvaTransportError, SenderNotReadyError, UnauthorizedError, ValidationError, fromApiError } from "./errors.gen.js";
8
+ import { AnalyticsQueryError, BillingProviderError, BrandAddressRequiredError, CampaignFooterRequiredError, ConflictError, DeliveryUnavailableError, EmailChannelError, ExternalServiceError, FlagDisabledError, ForbiddenError, GatewayTimeoutError, InternalError, MailboxSendConflictError, MailboxSendRefusedError, OnboardingReviewRequiredError, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, SamvaApiError, SamvaTransportError, SenderNotReadyError, UnauthorizedError, ValidationError, fromApiError } from "./errors.gen.js";
9
9
  //#region src/promises/index.ts
10
10
  /**
11
11
  * Samva SDK - TypeScript client for the Samva API.
@@ -284,6 +284,6 @@ function createClient(config) {
284
284
  };
285
285
  }
286
286
  //#endregion
287
- export { AnalyticsQueryError, BillingProviderError, BrandAddressRequiredError, CampaignFooterRequiredError, ConflictError, DeliveryUnavailableError, EmailChannelError, ExternalServiceError, FlagDisabledError, ForbiddenError, GatewayTimeoutError, InternalError, MailboxChannelUnsupportedError, MailboxEventStream, MailboxEventStreamError, MailboxSendConflictError, MailboxSendRefusedError, MediaUploadError, OnboardingReviewRequiredError, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, SamvaApiError, SamvaTransportError, SenderNotReadyError, UnauthorizedError, ValidationError, createClient, fromApiError };
287
+ export { AnalyticsQueryError, BillingProviderError, BrandAddressRequiredError, CampaignFooterRequiredError, ConflictError, DeliveryUnavailableError, EmailChannelError, ExternalServiceError, FlagDisabledError, ForbiddenError, GatewayTimeoutError, InternalError, MailboxEventStream, MailboxEventStreamError, MailboxSendConflictError, MailboxSendRefusedError, MediaUploadError, OnboardingReviewRequiredError, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, SamvaApiError, SamvaTransportError, SenderNotReadyError, UnauthorizedError, ValidationError, createClient, fromApiError };
288
288
 
289
289
  //# sourceMappingURL=index.js.map