samva 0.18.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 (70) hide show
  1. package/README.md +2 -0
  2. package/dist/client/sdk.gen.d.ts +94 -36
  3. package/dist/client/sdk.gen.js +269 -55
  4. package/dist/client/types.gen.d.ts +497 -106
  5. package/dist/effect/campaigns.d.ts +35 -3
  6. package/dist/effect/contact-groups.d.ts +39 -3
  7. package/dist/effect/contacts.d.ts +240 -17
  8. package/dist/effect/contacts.js +3 -1
  9. package/dist/effect/conversations.d.ts +11 -11
  10. package/dist/effect/email.d.ts +22 -6
  11. package/dist/effect/errors.d.ts +1 -1
  12. package/dist/effect/errors.js +2 -2
  13. package/dist/effect/extension-installations.d.ts +12 -12
  14. package/dist/effect/extensions.d.ts +3 -3
  15. package/dist/effect/generated/campaigns.d.ts +73 -4
  16. package/dist/effect/generated/campaigns.js +18 -1
  17. package/dist/effect/generated/contact-groups.d.ts +33 -3
  18. package/dist/effect/generated/contacts.d.ts +608 -55
  19. package/dist/effect/generated/contacts.js +55 -10
  20. package/dist/effect/generated/conversations.d.ts +25 -25
  21. package/dist/effect/generated/conversations.js +1 -1
  22. package/dist/effect/generated/email.d.ts +162 -1
  23. package/dist/effect/generated/email.js +31 -11
  24. package/dist/effect/generated/extension-installations.d.ts +44 -44
  25. package/dist/effect/generated/extension-installations.js +6 -0
  26. package/dist/effect/generated/extensions.d.ts +10 -10
  27. package/dist/effect/generated/extensions.js +2 -0
  28. package/dist/effect/generated/journeys.d.ts +13 -61
  29. package/dist/effect/generated/journeys.js +5 -5
  30. package/dist/effect/generated/mailboxes.d.ts +584 -78
  31. package/dist/effect/generated/mailboxes.js +65 -24
  32. package/dist/effect/generated/messages.d.ts +35 -1
  33. package/dist/effect/generated/messages.js +9 -2
  34. package/dist/effect/generated/namespaces.d.ts +432 -2
  35. package/dist/effect/generated/namespaces.js +91 -4
  36. package/dist/effect/generated/organizations.d.ts +13 -11
  37. package/dist/effect/generated/organizations.js +7 -3
  38. package/dist/effect/generated/shared.d.ts +104 -49
  39. package/dist/effect/generated/shared.js +51 -28
  40. package/dist/effect/generated/templates.d.ts +44 -1
  41. package/dist/effect/generated/templates.js +9 -3
  42. package/dist/effect/generated/unsubscribe-groups.d.ts +173 -78
  43. package/dist/effect/generated/unsubscribe-groups.js +75 -58
  44. package/dist/effect/generated/webhooks.d.ts +19 -19
  45. package/dist/effect/generated/webhooks.js +8 -0
  46. package/dist/effect/generated-metadata.d.ts +22 -6
  47. package/dist/effect/generated-metadata.js +334 -329
  48. package/dist/effect/index.js +2 -2
  49. package/dist/effect/journeys.d.ts +4 -4
  50. package/dist/effect/mailboxes.d.ts +144 -12
  51. package/dist/effect/messages.d.ts +8 -0
  52. package/dist/effect/namespaces.d.ts +29 -0
  53. package/dist/effect/namespaces.js +7 -1
  54. package/dist/effect/organizations.d.ts +4 -4
  55. package/dist/effect/templates.d.ts +12 -1
  56. package/dist/effect/unsubscribe-groups.d.ts +29 -18
  57. package/dist/effect/unsubscribe-groups.js +5 -5
  58. package/dist/effect/webhooks.d.ts +8 -8
  59. package/dist/index.js +2 -2
  60. package/dist/mailbox-events.d.ts +31 -4
  61. package/dist/mailbox-events.js +39 -11
  62. package/dist/package.js +1 -1
  63. package/dist/promises/errors.gen.d.ts +2 -12
  64. package/dist/promises/errors.gen.js +1 -26
  65. package/dist/promises/index.d.ts +1 -1
  66. package/dist/promises/index.js +2 -2
  67. package/dist/promises/types.gen.d.ts +1 -1
  68. package/dist/service-map.d.ts +24 -4
  69. package/dist/service-map.js +26 -2
  70. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
1
  import { MediaUploadError } from "../inline-attachments.js";
2
- import { AnalyticsQueryError, BillingProviderError, BrandAddressRequiredError, CampaignFooterRequiredError, ConflictError, DeliveryUnavailableError, EmailChannelError, ExternalServiceError, FlagDisabledError, ForbiddenError, GatewayTimeoutError, InternalError, MailboxChannelUnsupportedError, MailboxSendConflictError, MailboxSendRefusedError, OnboardingReviewRequiredError, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, SenderNotReadyError, UnauthorizedError, ValidationError } from "./generated/shared.js";
2
+ import { AnalyticsQueryError, BillingProviderError, BrandAddressRequiredError, CampaignFooterRequiredError, ConflictError, DeliveryUnavailableError, EmailChannelError, ExternalServiceError, FlagDisabledError, ForbiddenError, GatewayTimeoutError, InternalError, MailboxSendConflictError, MailboxSendRefusedError, OnboardingReviewRequiredError, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, SenderNotReadyError, UnauthorizedError, ValidationError } from "./generated/shared.js";
3
3
  import { catchAuthError, catchBillingError, catchCategory, catchConflictError, catchNotFoundError, catchThrottlingError, catchTransient, catchValidationError, categoriesOf, hasCategory, isAuthError, isBillingError, isConflictError, isNotFoundError, isRetryable, isThrottlingError, isTransient, isValidationError } from "./categories.js";
4
4
  import { retry_exports } from "./retry.js";
5
5
  import { analytics_exports } from "./analytics.js";
@@ -30,4 +30,4 @@ import { templates_exports } from "./templates.js";
30
30
  import { unsubscribe_groups_exports } from "./unsubscribe-groups.js";
31
31
  import { webhooks_exports } from "./webhooks.js";
32
32
  import { whoami_exports } from "./whoami.js";
33
- 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, events_exports as Events, extension_installations_exports as ExtensionInstallations, extensions_exports as Extensions, ExternalServiceError, feedback_exports as Feedback, FlagDisabledError, ForbiddenError, GatewayTimeoutError, InternalError, journeys_exports as Journeys, 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 };
33
+ 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, events_exports as Events, extension_installations_exports as ExtensionInstallations, extensions_exports as Extensions, ExternalServiceError, feedback_exports as Feedback, FlagDisabledError, ForbiddenError, GatewayTimeoutError, InternalError, journeys_exports as Journeys, 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 };
@@ -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<{
@@ -1,5 +1,5 @@
1
1
  export { events } from "./internal/mailbox-events";
2
- export { type MailboxEvent, MailboxEventStreamError, type MailboxEventStreamErrorFields, type MailboxEventStreamErrorTag, type MailboxEventStreamFailure, type MailboxEventStreamOptions, type MailboxEventType, } from "../mailbox-events";
2
+ export { type MailboxEvent, MailboxEventStreamError, type MailboxEventStreamErrorFields, type MailboxEventStreamErrorReason, type MailboxEventStreamErrorTag, type MailboxEventStreamFailure, type MailboxEventStreamOptions, type MailboxEventStreamReconnect, type MailboxEventType, } from "../mailbox-events";
3
3
  export declare const list: ((input?: {
4
4
  readonly limit?: string | null | undefined;
5
5
  readonly cursor?: string | null | undefined;
@@ -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;
@@ -2215,6 +2215,17 @@ export declare const listActions: ((input: {
2215
2215
  readonly source: "grant" | "installation" | "policy" | null;
2216
2216
  readonly decidedAt: string;
2217
2217
  } | null;
2218
+ readonly resolution: {
2219
+ readonly outcome: "approved" | "cancelled" | "denied";
2220
+ readonly actor: {
2221
+ readonly kind: "apiKey" | "extension" | "externalAgent" | "samvaAgent" | "system" | "user";
2222
+ readonly id: string;
2223
+ readonly displayName?: string | null;
2224
+ readonly source: "extension" | "externalAgent" | "externalApi" | "humanUi" | "system";
2225
+ };
2226
+ readonly resolvedAt: string;
2227
+ readonly reason: string | null;
2228
+ } | null;
2218
2229
  readonly createdAt: string;
2219
2230
  readonly updatedAt: string;
2220
2231
  readonly type: "reply" | "sendMessage";
@@ -2328,6 +2339,17 @@ export declare const listActions: ((input: {
2328
2339
  readonly source: "grant" | "installation" | "policy" | null;
2329
2340
  readonly decidedAt: string;
2330
2341
  } | null;
2342
+ readonly resolution: {
2343
+ readonly outcome: "approved" | "cancelled" | "denied";
2344
+ readonly actor: {
2345
+ readonly kind: "apiKey" | "extension" | "externalAgent" | "samvaAgent" | "system" | "user";
2346
+ readonly id: string;
2347
+ readonly displayName?: string | null;
2348
+ readonly source: "extension" | "externalAgent" | "externalApi" | "humanUi" | "system";
2349
+ };
2350
+ readonly resolvedAt: string;
2351
+ readonly reason: string | null;
2352
+ } | null;
2331
2353
  readonly createdAt: string;
2332
2354
  readonly updatedAt: string;
2333
2355
  readonly type: "assignThread" | "call" | "changeThreadState" | "createNote" | "extensionRequest" | "updateDraft";
@@ -2361,6 +2383,17 @@ export declare const listActions: ((input: {
2361
2383
  readonly source: "grant" | "installation" | "policy" | null;
2362
2384
  readonly decidedAt: string;
2363
2385
  } | null;
2386
+ readonly resolution: {
2387
+ readonly outcome: "approved" | "cancelled" | "denied";
2388
+ readonly actor: {
2389
+ readonly kind: "apiKey" | "extension" | "externalAgent" | "samvaAgent" | "system" | "user";
2390
+ readonly id: string;
2391
+ readonly displayName?: string | null;
2392
+ readonly source: "extension" | "externalAgent" | "externalApi" | "humanUi" | "system";
2393
+ };
2394
+ readonly resolvedAt: string;
2395
+ readonly reason: string | null;
2396
+ } | null;
2364
2397
  readonly createdAt: string;
2365
2398
  readonly updatedAt: string;
2366
2399
  readonly type: "reply" | "sendMessage";
@@ -2474,6 +2507,17 @@ export declare const listActions: ((input: {
2474
2507
  readonly source: "grant" | "installation" | "policy" | null;
2475
2508
  readonly decidedAt: string;
2476
2509
  } | null;
2510
+ readonly resolution: {
2511
+ readonly outcome: "approved" | "cancelled" | "denied";
2512
+ readonly actor: {
2513
+ readonly kind: "apiKey" | "extension" | "externalAgent" | "samvaAgent" | "system" | "user";
2514
+ readonly id: string;
2515
+ readonly displayName?: string | null;
2516
+ readonly source: "extension" | "externalAgent" | "externalApi" | "humanUi" | "system";
2517
+ };
2518
+ readonly resolvedAt: string;
2519
+ readonly reason: string | null;
2520
+ } | null;
2477
2521
  readonly createdAt: string;
2478
2522
  readonly updatedAt: string;
2479
2523
  readonly type: "assignThread" | "call" | "changeThreadState" | "createNote" | "extensionRequest" | "updateDraft";
@@ -2506,6 +2550,17 @@ export declare const listActions: ((input: {
2506
2550
  readonly source: "grant" | "installation" | "policy" | null;
2507
2551
  readonly decidedAt: string;
2508
2552
  } | null;
2553
+ readonly resolution: {
2554
+ readonly outcome: "approved" | "cancelled" | "denied";
2555
+ readonly actor: {
2556
+ readonly kind: "apiKey" | "extension" | "externalAgent" | "samvaAgent" | "system" | "user";
2557
+ readonly id: string;
2558
+ readonly displayName?: string | null;
2559
+ readonly source: "extension" | "externalAgent" | "externalApi" | "humanUi" | "system";
2560
+ };
2561
+ readonly resolvedAt: string;
2562
+ readonly reason: string | null;
2563
+ } | null;
2509
2564
  readonly createdAt: string;
2510
2565
  readonly updatedAt: string;
2511
2566
  readonly type: "reply" | "sendMessage";
@@ -2619,6 +2674,17 @@ export declare const listActions: ((input: {
2619
2674
  readonly source: "grant" | "installation" | "policy" | null;
2620
2675
  readonly decidedAt: string;
2621
2676
  } | null;
2677
+ readonly resolution: {
2678
+ readonly outcome: "approved" | "cancelled" | "denied";
2679
+ readonly actor: {
2680
+ readonly kind: "apiKey" | "extension" | "externalAgent" | "samvaAgent" | "system" | "user";
2681
+ readonly id: string;
2682
+ readonly displayName?: string | null;
2683
+ readonly source: "extension" | "externalAgent" | "externalApi" | "humanUi" | "system";
2684
+ };
2685
+ readonly resolvedAt: string;
2686
+ readonly reason: string | null;
2687
+ } | null;
2622
2688
  readonly createdAt: string;
2623
2689
  readonly updatedAt: string;
2624
2690
  readonly type: "assignThread" | "call" | "changeThreadState" | "createNote" | "extensionRequest" | "updateDraft";
@@ -2645,6 +2711,17 @@ export declare const getAction: (input: {
2645
2711
  readonly source: "grant" | "installation" | "policy" | null;
2646
2712
  readonly decidedAt: string;
2647
2713
  } | null;
2714
+ readonly resolution: {
2715
+ readonly outcome: "approved" | "cancelled" | "denied";
2716
+ readonly actor: {
2717
+ readonly kind: "apiKey" | "extension" | "externalAgent" | "samvaAgent" | "system" | "user";
2718
+ readonly id: string;
2719
+ readonly displayName?: string | null;
2720
+ readonly source: "extension" | "externalAgent" | "externalApi" | "humanUi" | "system";
2721
+ };
2722
+ readonly resolvedAt: string;
2723
+ readonly reason: string | null;
2724
+ } | null;
2648
2725
  readonly createdAt: string;
2649
2726
  readonly updatedAt: string;
2650
2727
  readonly type: "reply" | "sendMessage";
@@ -2758,6 +2835,17 @@ export declare const getAction: (input: {
2758
2835
  readonly source: "grant" | "installation" | "policy" | null;
2759
2836
  readonly decidedAt: string;
2760
2837
  } | null;
2838
+ readonly resolution: {
2839
+ readonly outcome: "approved" | "cancelled" | "denied";
2840
+ readonly actor: {
2841
+ readonly kind: "apiKey" | "extension" | "externalAgent" | "samvaAgent" | "system" | "user";
2842
+ readonly id: string;
2843
+ readonly displayName?: string | null;
2844
+ readonly source: "extension" | "externalAgent" | "externalApi" | "humanUi" | "system";
2845
+ };
2846
+ readonly resolvedAt: string;
2847
+ readonly reason: string | null;
2848
+ } | null;
2761
2849
  readonly createdAt: string;
2762
2850
  readonly updatedAt: string;
2763
2851
  readonly type: "assignThread" | "call" | "changeThreadState" | "createNote" | "extensionRequest" | "updateDraft";
@@ -2902,7 +2990,7 @@ export declare const cancelAction: (input: {
2902
2990
  } | null;
2903
2991
  readonly createdAt: string;
2904
2992
  readonly updatedAt: string;
2905
- }, 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>;
2906
2994
  export declare const retryAction: (input: {
2907
2995
  readonly id: string;
2908
2996
  readonly actionId: string;
@@ -3042,7 +3130,7 @@ export declare const retryAction: (input: {
3042
3130
  } | null;
3043
3131
  readonly createdAt: string;
3044
3132
  readonly updatedAt: string;
3045
- }, 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>;
3046
3134
  export declare const approveAction: (input: {
3047
3135
  readonly id: string;
3048
3136
  readonly actionId: string;
@@ -3063,6 +3151,17 @@ export declare const approveAction: (input: {
3063
3151
  readonly source: "grant" | "installation" | "policy" | null;
3064
3152
  readonly decidedAt: string;
3065
3153
  } | null;
3154
+ readonly resolution: {
3155
+ readonly outcome: "approved" | "cancelled" | "denied";
3156
+ readonly actor: {
3157
+ readonly kind: "apiKey" | "extension" | "externalAgent" | "samvaAgent" | "system" | "user";
3158
+ readonly id: string;
3159
+ readonly displayName?: string | null;
3160
+ readonly source: "extension" | "externalAgent" | "externalApi" | "humanUi" | "system";
3161
+ };
3162
+ readonly resolvedAt: string;
3163
+ readonly reason: string | null;
3164
+ } | null;
3066
3165
  readonly createdAt: string;
3067
3166
  readonly updatedAt: string;
3068
3167
  readonly type: "reply" | "sendMessage";
@@ -3176,11 +3275,22 @@ export declare const approveAction: (input: {
3176
3275
  readonly source: "grant" | "installation" | "policy" | null;
3177
3276
  readonly decidedAt: string;
3178
3277
  } | null;
3278
+ readonly resolution: {
3279
+ readonly outcome: "approved" | "cancelled" | "denied";
3280
+ readonly actor: {
3281
+ readonly kind: "apiKey" | "extension" | "externalAgent" | "samvaAgent" | "system" | "user";
3282
+ readonly id: string;
3283
+ readonly displayName?: string | null;
3284
+ readonly source: "extension" | "externalAgent" | "externalApi" | "humanUi" | "system";
3285
+ };
3286
+ readonly resolvedAt: string;
3287
+ readonly reason: string | null;
3288
+ } | null;
3179
3289
  readonly createdAt: string;
3180
3290
  readonly updatedAt: string;
3181
3291
  readonly type: "assignThread" | "call" | "changeThreadState" | "createNote" | "extensionRequest" | "updateDraft";
3182
3292
  readonly state: "allowed" | "approvalDenied" | "approvalRequired" | "approved" | "executed" | "executing" | "failed" | "policyDenied" | "proposed";
3183
- }, 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>;
3184
3294
  export declare const denyAction: (input: {
3185
3295
  readonly id: string;
3186
3296
  readonly actionId: string;
@@ -3202,6 +3312,17 @@ export declare const denyAction: (input: {
3202
3312
  readonly source: "grant" | "installation" | "policy" | null;
3203
3313
  readonly decidedAt: string;
3204
3314
  } | null;
3315
+ readonly resolution: {
3316
+ readonly outcome: "approved" | "cancelled" | "denied";
3317
+ readonly actor: {
3318
+ readonly kind: "apiKey" | "extension" | "externalAgent" | "samvaAgent" | "system" | "user";
3319
+ readonly id: string;
3320
+ readonly displayName?: string | null;
3321
+ readonly source: "extension" | "externalAgent" | "externalApi" | "humanUi" | "system";
3322
+ };
3323
+ readonly resolvedAt: string;
3324
+ readonly reason: string | null;
3325
+ } | null;
3205
3326
  readonly createdAt: string;
3206
3327
  readonly updatedAt: string;
3207
3328
  readonly type: "reply" | "sendMessage";
@@ -3315,6 +3436,17 @@ export declare const denyAction: (input: {
3315
3436
  readonly source: "grant" | "installation" | "policy" | null;
3316
3437
  readonly decidedAt: string;
3317
3438
  } | null;
3439
+ readonly resolution: {
3440
+ readonly outcome: "approved" | "cancelled" | "denied";
3441
+ readonly actor: {
3442
+ readonly kind: "apiKey" | "extension" | "externalAgent" | "samvaAgent" | "system" | "user";
3443
+ readonly id: string;
3444
+ readonly displayName?: string | null;
3445
+ readonly source: "extension" | "externalAgent" | "externalApi" | "humanUi" | "system";
3446
+ };
3447
+ readonly resolvedAt: string;
3448
+ readonly reason: string | null;
3449
+ } | null;
3318
3450
  readonly createdAt: string;
3319
3451
  readonly updatedAt: string;
3320
3452
  readonly type: "assignThread" | "call" | "changeThreadState" | "createNote" | "extensionRequest" | "updateDraft";
@@ -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<{
@@ -455,6 +458,11 @@ export declare const listDeliveries: (input: {
455
458
  readonly message: string | null;
456
459
  readonly retryable: boolean | null;
457
460
  } | null;
461
+ readonly estimatedProviderCost: {
462
+ readonly amount: string;
463
+ readonly currency: string;
464
+ readonly billingMode: "pass_through";
465
+ } | null;
458
466
  readonly createdAt: string;
459
467
  readonly updatedAt: string;
460
468
  }[];
@@ -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
@@ -5,7 +5,7 @@ export declare const create: (input: {
5
5
  readonly billingAccountId: string;
6
6
  readonly name: string;
7
7
  readonly slug: string;
8
- readonly countryCode: string;
8
+ readonly defaultRegion: string | null;
9
9
  readonly timezone: string;
10
10
  readonly plan: string;
11
11
  readonly isActive: boolean;
@@ -30,7 +30,7 @@ export declare const get: (_?: never) => import("effect/Effect").Effect<{
30
30
  readonly billingAccountId: string;
31
31
  readonly name: string;
32
32
  readonly slug: string;
33
- readonly countryCode: string;
33
+ readonly defaultRegion: string | null;
34
34
  readonly timezone: string;
35
35
  readonly plan: string;
36
36
  readonly isActive: boolean;
@@ -88,7 +88,7 @@ export declare const getTrustTier: (_?: never) => import("effect/Effect").Effect
88
88
  export declare const update: (input?: {
89
89
  readonly name?: string | null | undefined;
90
90
  readonly slug?: string | null | undefined;
91
- readonly countryCode?: string | null | undefined;
91
+ readonly defaultRegion?: string | null | undefined;
92
92
  readonly timezone?: string | null | undefined;
93
93
  readonly isActive?: boolean | null | undefined;
94
94
  readonly metadata?: {
@@ -125,7 +125,7 @@ export declare const update: (input?: {
125
125
  readonly billingAccountId: string;
126
126
  readonly name: string;
127
127
  readonly slug: string;
128
- readonly countryCode: string;
128
+ readonly defaultRegion: string | null;
129
129
  readonly timezone: string;
130
130
  readonly plan: string;
131
131
  readonly isActive: boolean;