samva 0.15.0 → 0.16.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 (52) hide show
  1. package/README.md +2 -0
  2. package/dist/{categories-BGUBFdH9.js → categories-DV51kr2H.js} +5 -1
  3. package/dist/client/sdk.gen.d.ts +61 -47
  4. package/dist/client/types.gen.d.ts +265 -207
  5. package/dist/{client-CDg7zJs0.js → client-BMUew5Wp.js} +300 -232
  6. package/dist/effect/analytics.js +1 -1
  7. package/dist/effect/api-keys.d.ts +1 -0
  8. package/dist/effect/api-keys.js +5 -2
  9. package/dist/effect/attachments.js +1 -1
  10. package/dist/effect/brands.js +2 -2
  11. package/dist/effect/campaigns.js +1 -1
  12. package/dist/effect/categories.js +1 -1
  13. package/dist/effect/client.js +1 -1
  14. package/dist/effect/contact-groups.js +1 -1
  15. package/dist/effect/contacts.js +1 -1
  16. package/dist/effect/conversations.js +1 -1
  17. package/dist/effect/custom-fields.js +1 -1
  18. package/dist/effect/email.d.ts +0 -18
  19. package/dist/effect/email.js +3 -7
  20. package/dist/effect/extension-installations.js +1 -1
  21. package/dist/effect/extensions.js +1 -1
  22. package/dist/effect/feedback.js +2 -2
  23. package/dist/effect/generated-metadata.d.ts +4 -0
  24. package/dist/effect/generated.d.ts +1586 -1641
  25. package/dist/effect/index.d.ts +2 -1
  26. package/dist/effect/index.js +6 -5
  27. package/dist/effect/mailboxes.d.ts +144 -94
  28. package/dist/effect/mailboxes.js +2 -2
  29. package/dist/effect/media.js +1 -1
  30. package/dist/effect/messages.js +1 -1
  31. package/dist/effect/namespaces.js +1 -1
  32. package/dist/effect/operations.js +1 -1
  33. package/dist/effect/organizations.js +1 -1
  34. package/dist/effect/retry.js +1 -1
  35. package/dist/effect/scheduled-messages.js +1 -1
  36. package/dist/effect/subscriptions.js +1 -1
  37. package/dist/effect/templates.js +2 -2
  38. package/dist/effect/unsubscribe-groups.js +1 -1
  39. package/dist/effect/webhooks.js +2 -2
  40. package/dist/effect/whoami.d.ts +46 -0
  41. package/dist/effect/whoami.js +9 -0
  42. package/dist/index.js +3 -3
  43. package/dist/{inline-attachments-UxLeyytJ.js → inline-attachments-Cegg6tTF.js} +2 -2
  44. package/dist/{mailboxes-BH_JPmOE.js → mailboxes-Thp5z0oX.js} +10 -8
  45. package/dist/{operation-BZ5Xov-x.js → operation-BTXjPrwf.js} +13 -15
  46. package/dist/promises/errors.gen.d.ts +12 -2
  47. package/dist/promises/index.d.ts +3 -1
  48. package/dist/promises/index.js +3 -3
  49. package/dist/promises/types.gen.d.ts +1 -1
  50. package/dist/{promises-Cd6Jamqk.js → promises-KrA2nSLg.js} +174 -88
  51. package/dist/service-map.d.ts +16 -15
  52. package/package.json +6 -2
@@ -42,7 +42,8 @@ export * as Subscriptions from "./subscriptions";
42
42
  export * as Templates from "./templates";
43
43
  export * as UnsubscribeGroups from "./unsubscribe-groups";
44
44
  export * as Webhooks from "./webhooks";
45
- export { AnalyticsQueryError, BillingProviderError, BrandAddressRequiredError, CampaignFooterRequiredError, ConflictError, EmailChannelError, ExternalServiceError, FlagDisabledError, ForbiddenError, GatewayTimeoutError, InternalError, MailboxSendConflictError, MailboxSendRefusedError, OnboardingReviewRequiredError, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, SenderNotReadyError, UnauthorizedError, ValidationError, DeliveryUnavailableError, } from "./generated";
45
+ export * as Whoami from "./whoami";
46
+ export { AnalyticsQueryError, BillingProviderError, BrandAddressRequiredError, CampaignFooterRequiredError, ConflictError, EmailChannelError, ExternalServiceError, FlagDisabledError, ForbiddenError, GatewayTimeoutError, InternalError, MailboxChannelUnsupportedError, MailboxSendConflictError, MailboxSendRefusedError, OnboardingReviewRequiredError, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, SenderNotReadyError, UnauthorizedError, ValidationError, DeliveryUnavailableError, } from "./generated";
46
47
  export { type ErrorCategory, categoriesOf, hasCategory, isAuthError, isValidationError, isNotFoundError, isConflictError, isThrottlingError, isBillingError, isTransient, isRetryable, catchCategory, catchAuthError, catchValidationError, catchNotFoundError, catchConflictError, catchThrottlingError, catchBillingError, catchTransient, } from "./categories";
47
48
  export { MediaUploadError } from "../inline-attachments";
48
49
  export type { CursorPageEnvelope } from "./pagination";
@@ -1,6 +1,6 @@
1
- import { t as MediaUploadError } from "../inline-attachments-UxLeyytJ.js";
2
- import { C as PaymentRequiredError, F as ValidationError, O as SenderNotReadyError, S as OnboardingReviewRequiredError, T as ResourceNotFoundError, _ as ForbiddenError, a as AnalyticsQueryError, b as MailboxSendConflictError, c as CampaignFooterRequiredError, g as FlagDisabledError, h as ExternalServiceError, j as UnauthorizedError, l as ConflictError, m as EmailChannelError, o as BillingProviderError, p as DeliveryUnavailableError, s as BrandAddressRequiredError, v as GatewayTimeoutError, w as RateLimitedError, x as MailboxSendRefusedError, y as InternalError } from "../client-CDg7zJs0.js";
3
- 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-BGUBFdH9.js";
1
+ import { t as MediaUploadError } from "../inline-attachments-Cegg6tTF.js";
2
+ import { C as MailboxSendConflictError, D as RateLimitedError, E as PaymentRequiredError, O as ResourceNotFoundError, P as UnauthorizedError, R as ValidationError, S as MailboxChannelUnsupportedError, T as OnboardingReviewRequiredError, _ as ExternalServiceError, a as AnalyticsQueryError, b as GatewayTimeoutError, c as BillingProviderError, d as ConflictError, g as EmailChannelError, h as DeliveryUnavailableError, j as SenderNotReadyError, l as BrandAddressRequiredError, u as CampaignFooterRequiredError, v as FlagDisabledError, w as MailboxSendRefusedError, x as InternalError, y as ForbiddenError } from "../client-BMUew5Wp.js";
3
+ 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-DV51kr2H.js";
4
4
  import { t as retry_exports } from "./retry.js";
5
5
  import { t as analytics_exports } from "./analytics.js";
6
6
  import { t as api_keys_exports } from "./api-keys.js";
@@ -16,7 +16,7 @@ import { t as email_exports } from "./email.js";
16
16
  import { t as extension_installations_exports } from "./extension-installations.js";
17
17
  import { t as extensions_exports } from "./extensions.js";
18
18
  import { t as feedback_exports } from "./feedback.js";
19
- import { V as mailboxes_exports } from "../mailboxes-BH_JPmOE.js";
19
+ import { V as mailboxes_exports } from "../mailboxes-Thp5z0oX.js";
20
20
  import { t as media_exports } from "./media.js";
21
21
  import { t as messages_exports } from "./messages.js";
22
22
  import { t as namespaces_exports } from "./namespaces.js";
@@ -27,4 +27,5 @@ import { t as subscriptions_exports } from "./subscriptions.js";
27
27
  import { t as templates_exports } from "./templates.js";
28
28
  import { t as unsubscribe_groups_exports } from "./unsubscribe-groups.js";
29
29
  import { t as webhooks_exports } from "./webhooks.js";
30
- export { analytics_exports as Analytics, AnalyticsQueryError, api_keys_exports as ApiKeys, attachments_exports as Attachments, BillingProviderError, BrandAddressRequiredError, brands_exports as Brands, CampaignFooterRequiredError, 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, email_exports as Email, EmailChannelError, extension_installations_exports as ExtensionInstallations, extensions_exports as Extensions, ExternalServiceError, feedback_exports as Feedback, FlagDisabledError, ForbiddenError, GatewayTimeoutError, InternalError, MailboxSendConflictError, MailboxSendRefusedError, mailboxes_exports as Mailboxes, media_exports as Media, MediaUploadError, messages_exports as Messages, namespaces_exports as Namespaces, OnboardingReviewRequiredError, operations_exports as Operations, organizations_exports as Organizations, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, retry_exports as Retry, scheduled_messages_exports as ScheduledMessages, SenderNotReadyError, subscriptions_exports as Subscriptions, 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 };
30
+ import { t as whoami_exports } from "./whoami.js";
31
+ export { analytics_exports as Analytics, AnalyticsQueryError, api_keys_exports as ApiKeys, attachments_exports as Attachments, BillingProviderError, BrandAddressRequiredError, brands_exports as Brands, CampaignFooterRequiredError, 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, email_exports as Email, EmailChannelError, extension_installations_exports as ExtensionInstallations, extensions_exports as Extensions, ExternalServiceError, feedback_exports as Feedback, FlagDisabledError, ForbiddenError, GatewayTimeoutError, InternalError, MailboxChannelUnsupportedError, MailboxSendConflictError, MailboxSendRefusedError, mailboxes_exports as Mailboxes, media_exports as Media, MediaUploadError, messages_exports as Messages, namespaces_exports as Namespaces, OnboardingReviewRequiredError, operations_exports as Operations, organizations_exports as Organizations, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, retry_exports as Retry, scheduled_messages_exports as ScheduledMessages, SenderNotReadyError, subscriptions_exports as Subscriptions, templates_exports as Templates, UnauthorizedError, unsubscribe_groups_exports as UnsubscribeGroups, ValidationError, webhooks_exports as Webhooks, whoami_exports as Whoami, catchAuthError, catchBillingError, catchCategory, catchConflictError, catchNotFoundError, catchThrottlingError, catchTransient, catchValidationError, categoriesOf, hasCategory, isAuthError, isBillingError, isConflictError, isNotFoundError, isRetryable, isThrottlingError, isTransient, isValidationError };