samva 0.46.0 → 0.46.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/client/client/client.gen.d.ts +1 -1
- package/dist/client/client/index.d.ts +10 -10
- package/dist/client/client/types.gen.d.ts +4 -4
- package/dist/client/client/utils.gen.d.ts +2 -2
- package/dist/client/client.gen.d.ts +2 -2
- package/dist/client/core/bodySerializer.gen.d.ts +1 -1
- package/dist/client/core/serverSentEvents.gen.d.ts +1 -1
- package/dist/client/core/types.gen.d.ts +2 -2
- package/dist/client/core/utils.gen.d.ts +1 -1
- package/dist/client/sdk.gen.d.ts +2 -2
- package/dist/effect/accounts.d.ts +6 -6
- package/dist/effect/accounts.js +2 -1
- package/dist/effect/agents.d.ts +16 -16
- package/dist/effect/agents.js +2 -1
- package/dist/effect/analytics.d.ts +6 -6
- package/dist/effect/analytics.js +2 -1
- package/dist/effect/api-keys.d.ts +13 -13
- package/dist/effect/api-keys.js +2 -1
- package/dist/effect/approval-requests.d.ts +4 -4
- package/dist/effect/approval-requests.js +2 -1
- package/dist/effect/attachments.d.ts +4 -4
- package/dist/effect/attachments.js +2 -1
- package/dist/effect/brands.d.ts +7 -7
- package/dist/effect/brands.js +2 -1
- package/dist/effect/campaigns.d.ts +45 -45
- package/dist/effect/campaigns.js +2 -1
- package/dist/effect/categories.d.ts +3 -3
- package/dist/effect/client.d.ts +1 -1
- package/dist/effect/contact-groups.d.ts +18 -18
- package/dist/effect/contact-groups.js +2 -1
- package/dist/effect/contacts.d.ts +33 -33
- package/dist/effect/contacts.js +3 -2
- package/dist/effect/conversations.d.ts +17 -17
- package/dist/effect/conversations.js +2 -1
- package/dist/effect/custom-fields.d.ts +4 -4
- package/dist/effect/custom-fields.js +2 -1
- package/dist/effect/descriptors/accounts.d.ts +59 -0
- package/dist/effect/descriptors/accounts.js +57 -0
- package/dist/effect/descriptors/agents.d.ts +119 -0
- package/dist/effect/descriptors/agents.js +117 -0
- package/dist/effect/descriptors/analytics.d.ts +56 -0
- package/dist/effect/descriptors/analytics.js +48 -0
- package/dist/effect/descriptors/api-keys.d.ts +80 -0
- package/dist/effect/descriptors/api-keys.js +80 -0
- package/dist/effect/descriptors/approval-requests.d.ts +41 -0
- package/dist/effect/descriptors/approval-requests.js +43 -0
- package/dist/effect/descriptors/attachments.d.ts +41 -0
- package/dist/effect/descriptors/attachments.js +43 -0
- package/dist/effect/descriptors/brands.d.ts +60 -0
- package/dist/effect/descriptors/brands.js +60 -0
- package/dist/effect/descriptors/campaigns.d.ts +148 -0
- package/dist/effect/descriptors/campaigns.js +144 -0
- package/dist/effect/descriptors/contact-groups.d.ts +99 -0
- package/dist/effect/descriptors/contact-groups.js +97 -0
- package/dist/effect/descriptors/contacts.d.ts +226 -0
- package/dist/effect/descriptors/contacts.js +214 -0
- package/dist/effect/descriptors/conversations.d.ts +130 -0
- package/dist/effect/descriptors/conversations.js +130 -0
- package/dist/effect/descriptors/custom-fields.d.ts +40 -0
- package/dist/effect/descriptors/custom-fields.js +40 -0
- package/dist/effect/descriptors/email.d.ts +607 -0
- package/dist/effect/descriptors/email.js +561 -0
- package/dist/effect/descriptors/events.d.ts +20 -0
- package/dist/effect/descriptors/events.js +20 -0
- package/dist/effect/descriptors/extension-installations.d.ts +90 -0
- package/dist/effect/descriptors/extension-installations.js +90 -0
- package/dist/effect/descriptors/extensions.d.ts +50 -0
- package/dist/effect/descriptors/extensions.js +50 -0
- package/dist/effect/descriptors/feedback.d.ts +11 -0
- package/dist/effect/descriptors/feedback.js +11 -0
- package/dist/effect/descriptors/integrations-catalog.d.ts +29 -0
- package/dist/effect/descriptors/integrations-catalog.js +27 -0
- package/dist/effect/descriptors/integrations.d.ts +70 -0
- package/dist/effect/descriptors/integrations.js +70 -0
- package/dist/effect/descriptors/journeys.d.ts +140 -0
- package/dist/effect/descriptors/journeys.js +140 -0
- package/dist/effect/descriptors/mailboxes.d.ts +724 -0
- package/dist/effect/descriptors/mailboxes.js +728 -0
- package/dist/effect/descriptors/media.d.ts +51 -0
- package/dist/effect/descriptors/media.js +53 -0
- package/dist/effect/descriptors/messages.d.ts +99 -0
- package/dist/effect/descriptors/messages.js +97 -0
- package/dist/effect/descriptors/namespaces.d.ts +110 -0
- package/dist/effect/descriptors/namespaces.js +114 -0
- package/dist/effect/descriptors/newsletter-domains.d.ts +42 -0
- package/dist/effect/descriptors/newsletter-domains.js +46 -0
- package/dist/effect/descriptors/newsletter-issues.d.ts +112 -0
- package/dist/effect/descriptors/newsletter-issues.js +116 -0
- package/dist/effect/descriptors/newsletters.d.ts +51 -0
- package/dist/effect/descriptors/newsletters.js +53 -0
- package/dist/effect/descriptors/operations.d.ts +31 -0
- package/dist/effect/descriptors/operations.js +33 -0
- package/dist/effect/descriptors/organizations.d.ts +111 -0
- package/dist/effect/descriptors/organizations.js +93 -0
- package/dist/effect/descriptors/policies.d.ts +32 -0
- package/dist/effect/descriptors/policies.js +36 -0
- package/dist/effect/descriptors/scheduled-messages.d.ts +50 -0
- package/dist/effect/descriptors/scheduled-messages.js +50 -0
- package/dist/effect/descriptors/subscriptions.d.ts +11 -0
- package/dist/effect/descriptors/subscriptions.js +11 -0
- package/dist/effect/descriptors/template-registrations.d.ts +32 -0
- package/dist/effect/descriptors/template-registrations.js +36 -0
- package/dist/effect/descriptors/template-share-links.d.ts +52 -0
- package/dist/effect/descriptors/template-share-links.js +56 -0
- package/dist/effect/descriptors/templates.d.ts +365 -0
- package/dist/effect/descriptors/templates.js +355 -0
- package/dist/effect/descriptors/topic-forms.d.ts +52 -0
- package/dist/effect/descriptors/topic-forms.js +56 -0
- package/dist/effect/descriptors/topics.d.ts +89 -0
- package/dist/effect/descriptors/topics.js +87 -0
- package/dist/effect/descriptors/webhooks.d.ts +110 -0
- package/dist/effect/descriptors/webhooks.js +110 -0
- package/dist/effect/descriptors/whats-app-flows.d.ts +99 -0
- package/dist/effect/descriptors/whats-app-flows.js +97 -0
- package/dist/effect/descriptors/whats-app-setup-links.d.ts +40 -0
- package/dist/effect/descriptors/whats-app-setup-links.js +40 -0
- package/dist/effect/descriptors/whats-app.d.ts +116 -0
- package/dist/effect/descriptors/whats-app.js +108 -0
- package/dist/effect/descriptors/whoami.d.ts +11 -0
- package/dist/effect/descriptors/whoami.js +11 -0
- package/dist/effect/email.d.ts +78 -78
- package/dist/effect/email.js +2 -1
- package/dist/effect/errors.d.ts +2 -2
- package/dist/effect/events.d.ts +3 -3
- package/dist/effect/events.js +2 -1
- package/dist/effect/extension-installations.d.ts +11 -11
- package/dist/effect/extension-installations.js +2 -1
- package/dist/effect/extensions.d.ts +9 -9
- package/dist/effect/extensions.js +2 -1
- package/dist/effect/feedback.d.ts +2 -2
- package/dist/effect/feedback.js +2 -1
- package/dist/effect/generated/accounts.d.ts +9 -9
- package/dist/effect/generated/agents.d.ts +1 -1
- package/dist/effect/generated/analytics.d.ts +1 -1
- package/dist/effect/generated/api-keys.d.ts +1 -1
- package/dist/effect/generated/approval-requests.d.ts +13 -13
- package/dist/effect/generated/attachments.d.ts +1 -1
- package/dist/effect/generated/brands.d.ts +1 -1
- package/dist/effect/generated/campaigns.d.ts +230 -230
- package/dist/effect/generated/contact-events.d.ts +4 -4
- package/dist/effect/generated/contact-groups.d.ts +1 -1
- package/dist/effect/generated/contacts.d.ts +49 -49
- package/dist/effect/generated/conversations.d.ts +1 -1
- package/dist/effect/generated/custom-fields.d.ts +1 -1
- package/dist/effect/generated/email.d.ts +1 -1
- package/dist/effect/generated/events.d.ts +12 -12
- package/dist/effect/generated/extension-installations.d.ts +1 -1
- package/dist/effect/generated/extensions.d.ts +1 -1
- package/dist/effect/generated/feedback.d.ts +1 -1
- package/dist/effect/generated/index.d.ts +87 -87
- package/dist/effect/generated/integrations-catalog.d.ts +3 -3
- package/dist/effect/generated/integrations.d.ts +15 -15
- package/dist/effect/generated/journeys.d.ts +81 -81
- package/dist/effect/generated/mailboxes.d.ts +1 -1
- package/dist/effect/generated/media.d.ts +1 -1
- package/dist/effect/generated/messages.d.ts +1 -1
- package/dist/effect/generated/namespaces.d.ts +1 -1
- package/dist/effect/generated/newsletter-domains.d.ts +1 -1
- package/dist/effect/generated/newsletter-issues.d.ts +1 -1
- package/dist/effect/generated/newsletters.d.ts +1 -1
- package/dist/effect/generated/operations.d.ts +1 -1
- package/dist/effect/generated/organizations.d.ts +1 -1
- package/dist/effect/generated/policies.d.ts +1 -1
- package/dist/effect/generated/scheduled-messages.d.ts +147 -147
- package/dist/effect/generated/shared.d.ts +1 -1
- package/dist/effect/generated/subscriptions.d.ts +1 -1
- package/dist/effect/generated/template-registrations.d.ts +1 -1
- package/dist/effect/generated/template-share-links.d.ts +1 -1
- package/dist/effect/generated/templates.d.ts +1 -1
- package/dist/effect/generated/topic-forms.d.ts +1 -1
- package/dist/effect/generated/topics.d.ts +1 -1
- package/dist/effect/generated/webhooks.d.ts +1 -1
- package/dist/effect/generated/whats-app-flows.d.ts +1 -1
- package/dist/effect/generated/whats-app-setup-links.d.ts +1 -1
- package/dist/effect/generated/whats-app.d.ts +1 -1
- package/dist/effect/generated/whoami.d.ts +1 -1
- package/dist/effect/index.d.ts +47 -47
- package/dist/effect/integrations-catalog.d.ts +3 -3
- package/dist/effect/integrations-catalog.js +2 -1
- package/dist/effect/integrations.d.ts +11 -11
- package/dist/effect/integrations.js +2 -1
- package/dist/effect/internal/client.d.ts +3 -3
- package/dist/effect/internal/email-sender.d.ts +4 -4
- package/dist/effect/internal/mailbox-events.d.ts +2 -2
- package/dist/effect/internal/operation.d.ts +24 -5
- package/dist/effect/internal/operation.js +21 -21
- package/dist/effect/internal/send.d.ts +4 -4
- package/dist/effect/journeys.d.ts +20 -20
- package/dist/effect/journeys.js +2 -1
- package/dist/effect/mailboxes.d.ts +123 -123
- package/dist/effect/mailboxes.js +2 -1
- package/dist/effect/media.d.ts +5 -5
- package/dist/effect/media.js +2 -1
- package/dist/effect/messages.d.ts +17 -17
- package/dist/effect/messages.js +2 -1
- package/dist/effect/namespaces.d.ts +15 -15
- package/dist/effect/namespaces.js +2 -1
- package/dist/effect/newsletter-domains.d.ts +6 -6
- package/dist/effect/newsletter-domains.js +2 -1
- package/dist/effect/newsletter-issues.d.ts +11 -11
- package/dist/effect/newsletter-issues.js +2 -1
- package/dist/effect/newsletters.d.ts +5 -5
- package/dist/effect/newsletters.js +2 -1
- package/dist/effect/operations.d.ts +5 -5
- package/dist/effect/operations.js +2 -1
- package/dist/effect/organizations.d.ts +12 -12
- package/dist/effect/organizations.js +2 -1
- package/dist/effect/policies.d.ts +3 -3
- package/dist/effect/policies.js +2 -1
- package/dist/effect/scheduled-messages.d.ts +23 -23
- package/dist/effect/scheduled-messages.js +2 -1
- package/dist/effect/subscriptions.d.ts +1 -1
- package/dist/effect/subscriptions.js +2 -1
- package/dist/effect/template-registrations.d.ts +3 -3
- package/dist/effect/template-registrations.js +2 -1
- package/dist/effect/template-share-links.d.ts +5 -5
- package/dist/effect/template-share-links.js +2 -1
- package/dist/effect/templates.d.ts +46 -46
- package/dist/effect/templates.js +2 -1
- package/dist/effect/topic-forms.d.ts +5 -5
- package/dist/effect/topic-forms.js +2 -1
- package/dist/effect/topics.d.ts +11 -11
- package/dist/effect/topics.js +2 -1
- package/dist/effect/webhooks.d.ts +16 -16
- package/dist/effect/webhooks.js +2 -1
- package/dist/effect/whatsapp-flows.d.ts +10 -10
- package/dist/effect/whatsapp-flows.js +2 -1
- package/dist/effect/whatsapp-setup-links.d.ts +6 -6
- package/dist/effect/whatsapp-setup-links.js +2 -1
- package/dist/effect/whatsapp.d.ts +12 -12
- package/dist/effect/whatsapp.js +2 -1
- package/dist/effect/whoami.d.ts +1 -1
- package/dist/effect/whoami.js +2 -1
- package/dist/index.d.ts +1 -1
- package/dist/mailbox/dispatch.d.ts +2 -2
- package/dist/mailbox/index.d.ts +4 -4
- package/dist/mailbox/test.d.ts +2 -2
- package/dist/mailbox/types.d.ts +2 -2
- package/dist/mailbox/webhook.d.ts +2 -2
- package/dist/package.js +1 -1
- package/dist/promises/client.d.ts +10 -10
- package/dist/promises/errors.gen.d.ts +1 -1
- package/dist/promises/index.d.ts +5 -5
- package/dist/promises/request.d.ts +2 -2
- package/dist/promises/request.js +1 -1
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/request-policy.d.ts +10 -2
- package/dist/request-policy.js +3 -5
- package/package.json +9 -9
- package/dist/service-map.js +0 -830
|
@@ -3,11 +3,11 @@ export declare const inviteMember: (input: {
|
|
|
3
3
|
readonly role: "admin" | "mail_user" | "member";
|
|
4
4
|
readonly mailboxAddress: string;
|
|
5
5
|
readonly namespaceId?: string | null | undefined;
|
|
6
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"organizationsInviteMember">;
|
|
6
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"organizationsInviteMember">;
|
|
7
7
|
export declare const create: (input: {
|
|
8
8
|
readonly name: string;
|
|
9
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"organizationsCreate">;
|
|
10
|
-
export declare const get: (input?: never, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"organizationsGet">;
|
|
9
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"organizationsCreate">;
|
|
10
|
+
export declare const get: (input?: never, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"organizationsGet">;
|
|
11
11
|
export declare const update: (input?: {
|
|
12
12
|
readonly name?: string | null | undefined;
|
|
13
13
|
readonly slug?: string | null | undefined;
|
|
@@ -44,23 +44,23 @@ export declare const update: (input?: {
|
|
|
44
44
|
} | null | undefined;
|
|
45
45
|
readonly replyToDefault?: readonly string[] | null | undefined;
|
|
46
46
|
readonly emailFooterEnabledDefault?: boolean | null | undefined;
|
|
47
|
-
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"organizationsUpdate">;
|
|
48
|
-
export declare const getProfile: (input?: never, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"organizationsGetProfile">;
|
|
47
|
+
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"organizationsUpdate">;
|
|
48
|
+
export declare const getProfile: (input?: never, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"organizationsGetProfile">;
|
|
49
49
|
export declare const assignPersonalMailbox: (input: {
|
|
50
50
|
readonly userId: string;
|
|
51
51
|
readonly mailboxAddress: string;
|
|
52
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"organizationsAssignPersonalMailbox">;
|
|
53
|
-
export declare const listPersonalMailboxAssignments: (input?: never, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"organizationsListPersonalMailboxAssignments">;
|
|
52
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"organizationsAssignPersonalMailbox">;
|
|
53
|
+
export declare const listPersonalMailboxAssignments: (input?: never, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"organizationsListPersonalMailboxAssignments">;
|
|
54
54
|
export declare const getPersonalMailboxAddressOptions: (input?: {
|
|
55
55
|
readonly namespaceId?: string | undefined;
|
|
56
|
-
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"organizationsGetPersonalMailboxAddressOptions">;
|
|
57
|
-
export declare const getTrustTier: (input?: never, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"organizationsGetTrustTier">;
|
|
58
|
-
export declare const createAvatarUpload: (input?: never, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"organizationsCreateAvatarUpload">;
|
|
56
|
+
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"organizationsGetPersonalMailboxAddressOptions">;
|
|
57
|
+
export declare const getTrustTier: (input?: never, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"organizationsGetTrustTier">;
|
|
58
|
+
export declare const createAvatarUpload: (input?: never, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"organizationsCreateAvatarUpload">;
|
|
59
59
|
export declare const getUsage: (input?: {
|
|
60
60
|
readonly after?: string | undefined;
|
|
61
61
|
readonly before?: string | undefined;
|
|
62
|
-
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"organizationsGetUsage">;
|
|
62
|
+
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"organizationsGetUsage">;
|
|
63
63
|
declare const deleteOrganization: (input: {
|
|
64
64
|
readonly confirmationName: string;
|
|
65
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"organizationsDelete">;
|
|
65
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"organizationsDelete">;
|
|
66
66
|
export { deleteOrganization as delete };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { forGroup } from "./internal/operation.js";
|
|
3
|
+
import { organizationsOperations } from "./descriptors/organizations.js";
|
|
3
4
|
import { OrganizationsGroup } from "./generated/organizations.js";
|
|
4
5
|
// src/effect/organizations.ts
|
|
5
6
|
var organizations_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -16,7 +17,7 @@ var organizations_exports = /* @__PURE__ */ __exportAll({
|
|
|
16
17
|
listPersonalMailboxAssignments: () => listPersonalMailboxAssignments,
|
|
17
18
|
update: () => update
|
|
18
19
|
});
|
|
19
|
-
const make = /* @__PURE__ */ forGroup(OrganizationsGroup);
|
|
20
|
+
const make = /* @__PURE__ */ forGroup(OrganizationsGroup, organizationsOperations);
|
|
20
21
|
const inviteMember = /* @__PURE__ */ make("organizationsInviteMember");
|
|
21
22
|
const create = /* @__PURE__ */ make("organizationsCreate");
|
|
22
23
|
const get = /* @__PURE__ */ make("organizationsGet");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const getPolicy: (input: {
|
|
2
2
|
readonly kind: "agent" | "apiKey" | "mailbox" | "organization";
|
|
3
3
|
readonly id: string;
|
|
4
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"policiesGetPolicy">;
|
|
4
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"policiesGetPolicy">;
|
|
5
5
|
export declare const setPolicy: (input: {
|
|
6
6
|
readonly kind: "agent" | "apiKey" | "mailbox" | "organization";
|
|
7
7
|
readonly id: string;
|
|
@@ -57,9 +57,9 @@ export declare const setPolicy: (input: {
|
|
|
57
57
|
})[];
|
|
58
58
|
readonly instructions?: string | null | undefined;
|
|
59
59
|
readonly ifVersion: number;
|
|
60
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"policiesSetPolicy">;
|
|
60
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"policiesSetPolicy">;
|
|
61
61
|
export declare const deletePolicy: (input: {
|
|
62
62
|
readonly kind: "agent" | "apiKey" | "mailbox" | "organization";
|
|
63
63
|
readonly id: string;
|
|
64
64
|
readonly ifVersion: number;
|
|
65
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"policiesDeletePolicy">;
|
|
65
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"policiesDeletePolicy">;
|
package/dist/effect/policies.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { forGroup } from "./internal/operation.js";
|
|
3
|
+
import { policiesOperations } from "./descriptors/policies.js";
|
|
3
4
|
import { PoliciesGroup } from "./generated/policies.js";
|
|
4
5
|
// src/effect/policies.ts
|
|
5
6
|
var policies_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -7,7 +8,7 @@ var policies_exports = /* @__PURE__ */ __exportAll({
|
|
|
7
8
|
getPolicy: () => getPolicy,
|
|
8
9
|
setPolicy: () => setPolicy
|
|
9
10
|
});
|
|
10
|
-
const make = /* @__PURE__ */ forGroup(PoliciesGroup);
|
|
11
|
+
const make = /* @__PURE__ */ forGroup(PoliciesGroup, policiesOperations);
|
|
11
12
|
const getPolicy = /* @__PURE__ */ make("policiesGetPolicy");
|
|
12
13
|
const setPolicy = /* @__PURE__ */ make("policiesSetPolicy");
|
|
13
14
|
const deletePolicy = /* @__PURE__ */ make("policiesDeletePolicy");
|
|
@@ -498,13 +498,13 @@ export declare const create: (input: {
|
|
|
498
498
|
readonly scheduledFor: Date;
|
|
499
499
|
readonly timezone?: string | null | undefined;
|
|
500
500
|
readonly referenceId?: string | null | undefined;
|
|
501
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"scheduledMessagesCreate">;
|
|
501
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"scheduledMessagesCreate">;
|
|
502
502
|
export declare const list: ((input?: {
|
|
503
503
|
readonly limit?: number | null | undefined;
|
|
504
504
|
readonly cursor?: string | undefined;
|
|
505
505
|
readonly namespaceId?: string | undefined;
|
|
506
506
|
readonly status?: "cancelled" | "dispatched" | "dispatching" | "failed" | "paused" | "pending" | undefined;
|
|
507
|
-
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"scheduledMessagesList">) & {
|
|
507
|
+
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"scheduledMessagesList">) & {
|
|
508
508
|
readonly pages: (input?: {
|
|
509
509
|
readonly limit?: number | null | undefined;
|
|
510
510
|
readonly cursor?: string | undefined;
|
|
@@ -520,7 +520,7 @@ export declare const list: ((input?: {
|
|
|
520
520
|
readonly send: {
|
|
521
521
|
readonly conversationId?: (string & import("effect/Brand").Brand<"ConversationId">) | null;
|
|
522
522
|
readonly metadata?: {
|
|
523
|
-
readonly [x: string]: import("./generated").JsonValue;
|
|
523
|
+
readonly [x: string]: import("./generated/index.js").JsonValue;
|
|
524
524
|
} | null;
|
|
525
525
|
readonly channel: "email";
|
|
526
526
|
readonly to: readonly ({
|
|
@@ -564,7 +564,7 @@ export declare const list: ((input?: {
|
|
|
564
564
|
readonly templateId?: (string & import("effect/Brand").Brand<"TemplateId">) | null;
|
|
565
565
|
readonly templateSlug?: string | null;
|
|
566
566
|
readonly templateData?: {
|
|
567
|
-
readonly [x: string]: import("./generated").JsonValue;
|
|
567
|
+
readonly [x: string]: import("./generated/index.js").JsonValue;
|
|
568
568
|
} | null;
|
|
569
569
|
readonly locale?: string;
|
|
570
570
|
readonly timeZone?: string;
|
|
@@ -585,7 +585,7 @@ export declare const list: ((input?: {
|
|
|
585
585
|
} | {
|
|
586
586
|
readonly conversationId?: (string & import("effect/Brand").Brand<"ConversationId">) | null;
|
|
587
587
|
readonly metadata?: {
|
|
588
|
-
readonly [x: string]: import("./generated").JsonValue;
|
|
588
|
+
readonly [x: string]: import("./generated/index.js").JsonValue;
|
|
589
589
|
} | null;
|
|
590
590
|
readonly channel: "sms";
|
|
591
591
|
readonly to: readonly ({
|
|
@@ -600,13 +600,13 @@ export declare const list: ((input?: {
|
|
|
600
600
|
readonly templateId?: (string & import("effect/Brand").Brand<"TemplateId">) | null;
|
|
601
601
|
readonly templateSlug?: string | null;
|
|
602
602
|
readonly templateData?: {
|
|
603
|
-
readonly [x: string]: import("./generated").JsonValue;
|
|
603
|
+
readonly [x: string]: import("./generated/index.js").JsonValue;
|
|
604
604
|
} | null;
|
|
605
605
|
};
|
|
606
606
|
} | {
|
|
607
607
|
readonly conversationId?: (string & import("effect/Brand").Brand<"ConversationId">) | null;
|
|
608
608
|
readonly metadata?: {
|
|
609
|
-
readonly [x: string]: import("./generated").JsonValue;
|
|
609
|
+
readonly [x: string]: import("./generated/index.js").JsonValue;
|
|
610
610
|
} | null;
|
|
611
611
|
readonly channel: "whatsapp";
|
|
612
612
|
readonly to: readonly ({
|
|
@@ -621,13 +621,13 @@ export declare const list: ((input?: {
|
|
|
621
621
|
} | {
|
|
622
622
|
readonly templateId: string & import("effect/Brand").Brand<"TemplateId">;
|
|
623
623
|
readonly templateData?: {
|
|
624
|
-
readonly [x: string]: import("./generated").JsonValue;
|
|
624
|
+
readonly [x: string]: import("./generated/index.js").JsonValue;
|
|
625
625
|
};
|
|
626
626
|
readonly flowToken?: string;
|
|
627
627
|
} | {
|
|
628
628
|
readonly templateSlug: string;
|
|
629
629
|
readonly templateData?: {
|
|
630
|
-
readonly [x: string]: import("./generated").JsonValue;
|
|
630
|
+
readonly [x: string]: import("./generated/index.js").JsonValue;
|
|
631
631
|
};
|
|
632
632
|
readonly flowToken?: string;
|
|
633
633
|
} | {
|
|
@@ -736,7 +736,7 @@ export declare const list: ((input?: {
|
|
|
736
736
|
readonly action?: "data_exchange" | "navigate";
|
|
737
737
|
readonly screen?: string;
|
|
738
738
|
readonly data?: {
|
|
739
|
-
readonly [x: string]: import("./generated").JsonValue;
|
|
739
|
+
readonly [x: string]: import("./generated/index.js").JsonValue;
|
|
740
740
|
};
|
|
741
741
|
} | {
|
|
742
742
|
readonly type: "list";
|
|
@@ -832,7 +832,7 @@ export declare const list: ((input?: {
|
|
|
832
832
|
readonly updatedAt: string;
|
|
833
833
|
}[];
|
|
834
834
|
readonly nextCursor: string | null;
|
|
835
|
-
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
835
|
+
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
836
836
|
readonly items: (input?: {
|
|
837
837
|
readonly limit?: number | null | undefined;
|
|
838
838
|
readonly cursor?: string | undefined;
|
|
@@ -847,7 +847,7 @@ export declare const list: ((input?: {
|
|
|
847
847
|
readonly send: {
|
|
848
848
|
readonly conversationId?: (string & import("effect/Brand").Brand<"ConversationId">) | null;
|
|
849
849
|
readonly metadata?: {
|
|
850
|
-
readonly [x: string]: import("./generated").JsonValue;
|
|
850
|
+
readonly [x: string]: import("./generated/index.js").JsonValue;
|
|
851
851
|
} | null;
|
|
852
852
|
readonly channel: "email";
|
|
853
853
|
readonly to: readonly ({
|
|
@@ -891,7 +891,7 @@ export declare const list: ((input?: {
|
|
|
891
891
|
readonly templateId?: (string & import("effect/Brand").Brand<"TemplateId">) | null;
|
|
892
892
|
readonly templateSlug?: string | null;
|
|
893
893
|
readonly templateData?: {
|
|
894
|
-
readonly [x: string]: import("./generated").JsonValue;
|
|
894
|
+
readonly [x: string]: import("./generated/index.js").JsonValue;
|
|
895
895
|
} | null;
|
|
896
896
|
readonly locale?: string;
|
|
897
897
|
readonly timeZone?: string;
|
|
@@ -912,7 +912,7 @@ export declare const list: ((input?: {
|
|
|
912
912
|
} | {
|
|
913
913
|
readonly conversationId?: (string & import("effect/Brand").Brand<"ConversationId">) | null;
|
|
914
914
|
readonly metadata?: {
|
|
915
|
-
readonly [x: string]: import("./generated").JsonValue;
|
|
915
|
+
readonly [x: string]: import("./generated/index.js").JsonValue;
|
|
916
916
|
} | null;
|
|
917
917
|
readonly channel: "sms";
|
|
918
918
|
readonly to: readonly ({
|
|
@@ -927,13 +927,13 @@ export declare const list: ((input?: {
|
|
|
927
927
|
readonly templateId?: (string & import("effect/Brand").Brand<"TemplateId">) | null;
|
|
928
928
|
readonly templateSlug?: string | null;
|
|
929
929
|
readonly templateData?: {
|
|
930
|
-
readonly [x: string]: import("./generated").JsonValue;
|
|
930
|
+
readonly [x: string]: import("./generated/index.js").JsonValue;
|
|
931
931
|
} | null;
|
|
932
932
|
};
|
|
933
933
|
} | {
|
|
934
934
|
readonly conversationId?: (string & import("effect/Brand").Brand<"ConversationId">) | null;
|
|
935
935
|
readonly metadata?: {
|
|
936
|
-
readonly [x: string]: import("./generated").JsonValue;
|
|
936
|
+
readonly [x: string]: import("./generated/index.js").JsonValue;
|
|
937
937
|
} | null;
|
|
938
938
|
readonly channel: "whatsapp";
|
|
939
939
|
readonly to: readonly ({
|
|
@@ -948,13 +948,13 @@ export declare const list: ((input?: {
|
|
|
948
948
|
} | {
|
|
949
949
|
readonly templateId: string & import("effect/Brand").Brand<"TemplateId">;
|
|
950
950
|
readonly templateData?: {
|
|
951
|
-
readonly [x: string]: import("./generated").JsonValue;
|
|
951
|
+
readonly [x: string]: import("./generated/index.js").JsonValue;
|
|
952
952
|
};
|
|
953
953
|
readonly flowToken?: string;
|
|
954
954
|
} | {
|
|
955
955
|
readonly templateSlug: string;
|
|
956
956
|
readonly templateData?: {
|
|
957
|
-
readonly [x: string]: import("./generated").JsonValue;
|
|
957
|
+
readonly [x: string]: import("./generated/index.js").JsonValue;
|
|
958
958
|
};
|
|
959
959
|
readonly flowToken?: string;
|
|
960
960
|
} | {
|
|
@@ -1063,7 +1063,7 @@ export declare const list: ((input?: {
|
|
|
1063
1063
|
readonly action?: "data_exchange" | "navigate";
|
|
1064
1064
|
readonly screen?: string;
|
|
1065
1065
|
readonly data?: {
|
|
1066
|
-
readonly [x: string]: import("./generated").JsonValue;
|
|
1066
|
+
readonly [x: string]: import("./generated/index.js").JsonValue;
|
|
1067
1067
|
};
|
|
1068
1068
|
} | {
|
|
1069
1069
|
readonly type: "list";
|
|
@@ -1157,14 +1157,14 @@ export declare const list: ((input?: {
|
|
|
1157
1157
|
readonly memberRole: string;
|
|
1158
1158
|
readonly createdAt: string;
|
|
1159
1159
|
readonly updatedAt: string;
|
|
1160
|
-
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1160
|
+
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
1161
1161
|
};
|
|
1162
1162
|
export declare const get: (input: {
|
|
1163
1163
|
readonly id: string;
|
|
1164
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"scheduledMessagesGet">;
|
|
1164
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"scheduledMessagesGet">;
|
|
1165
1165
|
export declare const cancel: (input: {
|
|
1166
1166
|
readonly id: string;
|
|
1167
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"scheduledMessagesCancel">;
|
|
1167
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"scheduledMessagesCancel">;
|
|
1168
1168
|
export declare const resume: (input: {
|
|
1169
1169
|
readonly id: string;
|
|
1170
1170
|
readonly choice: "send_now";
|
|
@@ -1172,4 +1172,4 @@ export declare const resume: (input: {
|
|
|
1172
1172
|
readonly id: string;
|
|
1173
1173
|
readonly choice: "new_time";
|
|
1174
1174
|
readonly scheduledFor: Date;
|
|
1175
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"scheduledMessagesResume">;
|
|
1175
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"scheduledMessagesResume">;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { forGroup } from "./internal/operation.js";
|
|
3
|
+
import { scheduledMessagesOperations } from "./descriptors/scheduled-messages.js";
|
|
3
4
|
import { ScheduledMessagesGroup } from "./generated/scheduled-messages.js";
|
|
4
5
|
// src/effect/scheduled-messages.ts
|
|
5
6
|
var scheduled_messages_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -9,7 +10,7 @@ var scheduled_messages_exports = /* @__PURE__ */ __exportAll({
|
|
|
9
10
|
list: () => list,
|
|
10
11
|
resume: () => resume
|
|
11
12
|
});
|
|
12
|
-
const make = /* @__PURE__ */ forGroup(ScheduledMessagesGroup);
|
|
13
|
+
const make = /* @__PURE__ */ forGroup(ScheduledMessagesGroup, scheduledMessagesOperations);
|
|
13
14
|
const create = /* @__PURE__ */ make("scheduledMessagesCreate");
|
|
14
15
|
const list = /* @__PURE__ */ make("scheduledMessagesList");
|
|
15
16
|
const get = /* @__PURE__ */ make("scheduledMessagesGet");
|
|
@@ -8,4 +8,4 @@ export declare const subscribe: (input: {
|
|
|
8
8
|
readonly templateSlug?: string | null | undefined;
|
|
9
9
|
readonly consentIp?: string | null | undefined;
|
|
10
10
|
readonly consentSource?: string | null | undefined;
|
|
11
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"subscriptionsSubscribe">;
|
|
11
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"subscriptionsSubscribe">;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { forGroup } from "./internal/operation.js";
|
|
3
|
+
import { subscriptionsOperations } from "./descriptors/subscriptions.js";
|
|
3
4
|
import { SubscriptionsGroup } from "./generated/subscriptions.js";
|
|
4
5
|
// src/effect/subscriptions.ts
|
|
5
6
|
var subscriptions_exports = /* @__PURE__ */ __exportAll({ subscribe: () => subscribe });
|
|
6
|
-
const subscribe = /* @__PURE__ */ (/* @__PURE__ */ forGroup(SubscriptionsGroup))("subscriptionsSubscribe");
|
|
7
|
+
const subscribe = /* @__PURE__ */ (/* @__PURE__ */ forGroup(SubscriptionsGroup, subscriptionsOperations))("subscriptionsSubscribe");
|
|
7
8
|
export { subscribe, subscriptions_exports };
|
|
8
9
|
|
|
9
10
|
//# sourceMappingURL=subscriptions.js.map
|
|
@@ -2,11 +2,11 @@ export declare const submit: (input: {
|
|
|
2
2
|
readonly id: string;
|
|
3
3
|
readonly provider: "whatsapp";
|
|
4
4
|
readonly businessAccountId?: string | undefined;
|
|
5
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"templateRegistrationsSubmit">;
|
|
5
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templateRegistrationsSubmit">;
|
|
6
6
|
export declare const list: (input: {
|
|
7
7
|
readonly id: string;
|
|
8
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"templateRegistrationsList">;
|
|
8
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templateRegistrationsList">;
|
|
9
9
|
export declare const get: (input: {
|
|
10
10
|
readonly id: string;
|
|
11
11
|
readonly registrationId: string;
|
|
12
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"templateRegistrationsGet">;
|
|
12
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templateRegistrationsGet">;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { forGroup } from "./internal/operation.js";
|
|
3
|
+
import { templateRegistrationsOperations } from "./descriptors/template-registrations.js";
|
|
3
4
|
import { TemplateRegistrationsGroup } from "./generated/template-registrations.js";
|
|
4
5
|
// src/effect/template-registrations.ts
|
|
5
6
|
var template_registrations_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -7,7 +8,7 @@ var template_registrations_exports = /* @__PURE__ */ __exportAll({
|
|
|
7
8
|
list: () => list,
|
|
8
9
|
submit: () => submit
|
|
9
10
|
});
|
|
10
|
-
const make = /* @__PURE__ */ forGroup(TemplateRegistrationsGroup);
|
|
11
|
+
const make = /* @__PURE__ */ forGroup(TemplateRegistrationsGroup, templateRegistrationsOperations);
|
|
11
12
|
const submit = /* @__PURE__ */ make("templateRegistrationsSubmit");
|
|
12
13
|
const list = /* @__PURE__ */ make("templateRegistrationsList");
|
|
13
14
|
const get = /* @__PURE__ */ make("templateRegistrationsGet");
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
export declare const create: (input: {
|
|
2
2
|
readonly projectId: string;
|
|
3
3
|
readonly slug?: string | null | undefined;
|
|
4
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"templateShareLinksCreate">;
|
|
4
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templateShareLinksCreate">;
|
|
5
5
|
export declare const rename: (input: {
|
|
6
6
|
readonly projectId: string;
|
|
7
7
|
readonly slug: string;
|
|
8
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"templateShareLinksRename">;
|
|
8
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templateShareLinksRename">;
|
|
9
9
|
export declare const get: (input: {
|
|
10
10
|
readonly projectId: string;
|
|
11
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"templateShareLinksGet">;
|
|
11
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templateShareLinksGet">;
|
|
12
12
|
declare const deleteOperation: (input: {
|
|
13
13
|
readonly projectId: string;
|
|
14
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"templateShareLinksDelete">;
|
|
14
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templateShareLinksDelete">;
|
|
15
15
|
export { deleteOperation as delete };
|
|
16
16
|
export declare const update: (input: {
|
|
17
17
|
readonly projectId: string;
|
|
18
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"templateShareLinksUpdate">;
|
|
18
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templateShareLinksUpdate">;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { forGroup } from "./internal/operation.js";
|
|
3
|
+
import { templateShareLinksOperations } from "./descriptors/template-share-links.js";
|
|
3
4
|
import { TemplateShareLinksGroup } from "./generated/template-share-links.js";
|
|
4
5
|
// src/effect/template-share-links.ts
|
|
5
6
|
var template_share_links_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -9,7 +10,7 @@ var template_share_links_exports = /* @__PURE__ */ __exportAll({
|
|
|
9
10
|
rename: () => rename,
|
|
10
11
|
update: () => update
|
|
11
12
|
});
|
|
12
|
-
const make = /* @__PURE__ */ forGroup(TemplateShareLinksGroup);
|
|
13
|
+
const make = /* @__PURE__ */ forGroup(TemplateShareLinksGroup, templateShareLinksOperations);
|
|
13
14
|
const create = /* @__PURE__ */ make("templateShareLinksCreate");
|
|
14
15
|
const rename = /* @__PURE__ */ make("templateShareLinksRename");
|
|
15
16
|
const get = /* @__PURE__ */ make("templateShareLinksGet");
|