samva 0.46.0 → 0.47.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.
- package/AGENTS.md +13 -7
- package/README.md +107 -9
- package/dist/agent/index.d.ts +56 -0
- package/dist/agent/index.js +52 -0
- package/dist/agent/runtime.d.ts +3 -0
- package/dist/agent/runtime.js +74 -0
- package/dist/agent/test.d.ts +31 -0
- package/dist/agent/test.js +66 -0
- package/dist/agent/types.d.ts +123 -0
- 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 +41 -161
- package/dist/client/sdk.gen.js +1302 -1598
- package/dist/client/types.gen.d.ts +377 -966
- package/dist/effect/accounts.d.ts +6 -6
- package/dist/effect/accounts.js +2 -1
- package/dist/effect/agents.d.ts +355 -23
- package/dist/effect/agents.js +6 -3
- 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 +205 -205
- 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 +41 -33
- package/dist/effect/contacts.js +8 -3
- 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 +129 -0
- package/dist/effect/descriptors/agents.js +127 -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 +246 -0
- package/dist/effect/descriptors/contacts.js +234 -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/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/feedback.d.ts +2 -2
- package/dist/effect/feedback.js +2 -1
- package/dist/effect/generated/accounts.d.ts +19 -9
- package/dist/effect/generated/accounts.js +1 -0
- package/dist/effect/generated/agents.d.ts +2967 -690
- package/dist/effect/generated/agents.js +54 -13
- 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 +907 -49
- package/dist/effect/generated/contacts.js +62 -3
- 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/feedback.d.ts +1 -1
- package/dist/effect/generated/index.d.ts +84 -88
- 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 +336 -96
- package/dist/effect/generated/journeys.js +3 -1
- package/dist/effect/generated/mailboxes.d.ts +93 -95
- package/dist/effect/generated/mailboxes.js +21 -25
- 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 +408 -102
- package/dist/effect/generated/shared.js +80 -36
- package/dist/effect/generated/subscriptions.d.ts +1 -1
- package/dist/effect/generated/template-registrations.d.ts +1 -4
- package/dist/effect/generated/template-registrations.js +2 -6
- 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/generated-metadata.d.ts +18 -84
- package/dist/effect/generated-metadata.js +362 -415
- package/dist/effect/index.d.ts +45 -47
- package/dist/effect/index.js +1 -3
- 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/client.js +1 -1
- 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 +25 -22
- package/dist/effect/internal/send.d.ts +4 -4
- package/dist/effect/journeys.d.ts +46 -22
- package/dist/effect/journeys.js +2 -1
- package/dist/effect/mailboxes.d.ts +163 -163
- 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 +371 -371
- 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 +13 -13
- 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/package.js +1 -1
- package/dist/promises/client.d.ts +10 -14
- package/dist/promises/client.js +3 -7
- 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/dist/service-map.d.ts +18 -75
- package/package.json +17 -29
- package/dist/effect/extension-installations.d.ts +0 -132
- package/dist/effect/extension-installations.js +0 -28
- package/dist/effect/extensions.d.ts +0 -102
- package/dist/effect/extensions.js +0 -20
- package/dist/effect/generated/extension-installations.d.ts +0 -2761
- package/dist/effect/generated/extension-installations.js +0 -405
- package/dist/effect/generated/extensions.d.ts +0 -1037
- package/dist/effect/generated/extensions.js +0 -214
- package/dist/mailbox/dispatch.d.ts +0 -10
- package/dist/mailbox/dispatch.js +0 -66
- package/dist/mailbox/index.d.ts +0 -17
- package/dist/mailbox/index.js +0 -30
- package/dist/mailbox/test.d.ts +0 -25
- package/dist/mailbox/test.js +0 -181
- package/dist/mailbox/types.d.ts +0 -221
- package/dist/mailbox/webhook.d.ts +0 -10
- package/dist/mailbox/webhook.js +0 -41
- package/dist/service-map.js +0 -830
package/dist/effect/mailboxes.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { MailboxEventStreamError } from "../mailbox-events.js";
|
|
3
3
|
import { forGroup } from "./internal/operation.js";
|
|
4
|
+
import { mailboxesOperations } from "./descriptors/mailboxes.js";
|
|
4
5
|
import { MailboxesGroup } from "./generated/mailboxes.js";
|
|
5
6
|
import { events } from "./internal/mailbox-events.js";
|
|
6
7
|
// src/effect/mailboxes.ts
|
|
@@ -81,7 +82,7 @@ var mailboxes_exports = /* @__PURE__ */ __exportAll({
|
|
|
81
82
|
updateSplit: () => updateSplit,
|
|
82
83
|
updateThread: () => updateThread
|
|
83
84
|
});
|
|
84
|
-
const make = /* @__PURE__ */ forGroup(MailboxesGroup);
|
|
85
|
+
const make = /* @__PURE__ */ forGroup(MailboxesGroup, mailboxesOperations);
|
|
85
86
|
const createImportUpload = /* @__PURE__ */ make("mailboxesCreateImportUpload");
|
|
86
87
|
const startImport = /* @__PURE__ */ make("mailboxesStartImport");
|
|
87
88
|
const getImport = /* @__PURE__ */ make("mailboxesGetImport");
|
package/dist/effect/media.d.ts
CHANGED
|
@@ -4,16 +4,16 @@ export declare const create: (input: {
|
|
|
4
4
|
readonly sizeBytes: number;
|
|
5
5
|
readonly purpose: "attachment" | "avatar" | "review_evidence" | "whatsapp_media";
|
|
6
6
|
readonly checksumSha256?: string | null | undefined;
|
|
7
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mediaCreate">;
|
|
7
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mediaCreate">;
|
|
8
8
|
export declare const complete: (input: {
|
|
9
9
|
readonly id: string;
|
|
10
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mediaComplete">;
|
|
10
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mediaComplete">;
|
|
11
11
|
export declare const remove: (input: {
|
|
12
12
|
readonly id: string;
|
|
13
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mediaRemove">;
|
|
13
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mediaRemove">;
|
|
14
14
|
export declare const getById: (input: {
|
|
15
15
|
readonly id: string;
|
|
16
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mediaGetById">;
|
|
16
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mediaGetById">;
|
|
17
17
|
export declare const downloadUrl: (input: {
|
|
18
18
|
readonly id: string;
|
|
19
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mediaDownloadUrl">;
|
|
19
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"mediaDownloadUrl">;
|
package/dist/effect/media.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { forGroup } from "./internal/operation.js";
|
|
3
3
|
import { MediaGroup } from "./generated/media.js";
|
|
4
|
+
import { mediaOperations } from "./descriptors/media.js";
|
|
4
5
|
// src/effect/media.ts
|
|
5
6
|
var media_exports = /* @__PURE__ */ __exportAll({
|
|
6
7
|
complete: () => complete,
|
|
@@ -9,7 +10,7 @@ var media_exports = /* @__PURE__ */ __exportAll({
|
|
|
9
10
|
getById: () => getById,
|
|
10
11
|
remove: () => remove
|
|
11
12
|
});
|
|
12
|
-
const make = /* @__PURE__ */ forGroup(MediaGroup);
|
|
13
|
+
const make = /* @__PURE__ */ forGroup(MediaGroup, mediaOperations);
|
|
13
14
|
const create = /* @__PURE__ */ make("mediaCreate");
|
|
14
15
|
const complete = /* @__PURE__ */ make("mediaComplete");
|
|
15
16
|
const remove = /* @__PURE__ */ make("mediaRemove");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type MessageSendInput, type SendOptions } from "./internal/send";
|
|
1
|
+
import { type MessageSendInput, type SendOptions } from "./internal/send.js";
|
|
2
2
|
export type { MessageSendInput, SendOptions };
|
|
3
3
|
export declare const list: ((input?: {
|
|
4
4
|
readonly limit?: number | null | undefined;
|
|
@@ -12,7 +12,7 @@ export declare const list: ((input?: {
|
|
|
12
12
|
readonly namespaceId?: string | undefined;
|
|
13
13
|
readonly after?: string | undefined;
|
|
14
14
|
readonly before?: string | undefined;
|
|
15
|
-
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"messagesList">) & {
|
|
15
|
+
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"messagesList">) & {
|
|
16
16
|
readonly pages: (input?: {
|
|
17
17
|
readonly limit?: number | null | undefined;
|
|
18
18
|
readonly cursor?: string | undefined;
|
|
@@ -42,7 +42,7 @@ export declare const list: ((input?: {
|
|
|
42
42
|
readonly createdAt: string;
|
|
43
43
|
}[];
|
|
44
44
|
readonly nextCursor: string | null;
|
|
45
|
-
}, 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>;
|
|
45
|
+
}, 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>;
|
|
46
46
|
readonly items: (input?: {
|
|
47
47
|
readonly limit?: number | null | undefined;
|
|
48
48
|
readonly cursor?: string | undefined;
|
|
@@ -69,7 +69,7 @@ export declare const list: ((input?: {
|
|
|
69
69
|
readonly subject: string | null;
|
|
70
70
|
readonly waitReason: "campaign-paused" | "content-review" | "daily-quota" | "domain-health" | "domain-warming" | "onboarding-review" | "rate" | "retry" | "screening-unavailable" | "sending-paused" | "upstream-unavailable" | null;
|
|
71
71
|
readonly createdAt: string;
|
|
72
|
-
}, 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>;
|
|
72
|
+
}, 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>;
|
|
73
73
|
};
|
|
74
74
|
export declare const send: (input: MessageSendInput, options?: SendOptions | undefined) => import("effect/Effect").Effect<{
|
|
75
75
|
readonly id: string & import("effect/Brand").Brand<"MessageId">;
|
|
@@ -82,24 +82,24 @@ export declare const send: (input: MessageSendInput, options?: SendOptions | und
|
|
|
82
82
|
readonly topicId?: (string & import("effect/Brand").Brand<"TopicId">) | null;
|
|
83
83
|
}[];
|
|
84
84
|
readonly createdAt: string;
|
|
85
|
-
}, import("./errors").BillingProviderError | import("./errors").ConflictError | import("./errors").DeliveryUnavailableError | import("./errors").ExternalServiceError | import("./errors").FlagDisabledError | import("./errors").ForbiddenError | import("./errors").FromAddressRequiredError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("
|
|
85
|
+
}, import("./errors.js").BillingProviderError | import("./errors.js").ConflictError | import("./errors.js").DeliveryUnavailableError | import("./errors.js").ExternalServiceError | import("./errors.js").FlagDisabledError | import("./errors.js").ForbiddenError | import("./errors.js").FromAddressRequiredError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("../index.js").MediaUploadError | import("./errors.js").OnboardingReviewRequiredError | import("./errors.js").PaymentRequiredError | import("./errors.js").RateLimitedError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").SenderNotReadyError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
86
86
|
export declare const get: (input: {
|
|
87
87
|
readonly id: string;
|
|
88
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"messagesGet">;
|
|
88
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"messagesGet">;
|
|
89
89
|
export declare const remove: (input: {
|
|
90
90
|
readonly id: string;
|
|
91
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"messagesRemove">;
|
|
91
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"messagesRemove">;
|
|
92
92
|
export declare const listDeliveries: (input: {
|
|
93
93
|
readonly id: string;
|
|
94
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"messagesListDeliveries">;
|
|
94
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"messagesListDeliveries">;
|
|
95
95
|
export declare const getContent: (input: {
|
|
96
96
|
readonly id: string;
|
|
97
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"messagesGetContent">;
|
|
97
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"messagesGetContent">;
|
|
98
98
|
export declare const getEmail: (input: {
|
|
99
99
|
readonly id: string;
|
|
100
100
|
readonly includeDownloadUrls?: boolean | null | undefined;
|
|
101
101
|
readonly urlExpiresIn?: number | null | undefined;
|
|
102
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"messagesGetEmail">;
|
|
102
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"messagesGetEmail">;
|
|
103
103
|
export declare const validateEmail: (input: {
|
|
104
104
|
readonly conversationId?: string | null | undefined;
|
|
105
105
|
readonly metadata?: {
|
|
@@ -213,15 +213,15 @@ export declare const validateEmail: (input: {
|
|
|
213
213
|
readonly [x: string]: string | undefined;
|
|
214
214
|
} | null | undefined;
|
|
215
215
|
};
|
|
216
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"messagesValidateEmail">;
|
|
216
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"messagesValidateEmail">;
|
|
217
217
|
export declare const getStatus: (input: {
|
|
218
218
|
readonly id: string;
|
|
219
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"messagesGetStatus">;
|
|
219
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"messagesGetStatus">;
|
|
220
220
|
export declare const getEvents: ((input: {
|
|
221
221
|
readonly id: string;
|
|
222
222
|
readonly limit?: number | null | undefined;
|
|
223
223
|
readonly cursor?: string | undefined;
|
|
224
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"messagesGetEvents">) & {
|
|
224
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"messagesGetEvents">) & {
|
|
225
225
|
readonly pages: (input: {
|
|
226
226
|
readonly id: string;
|
|
227
227
|
readonly limit?: number | null | undefined;
|
|
@@ -234,11 +234,11 @@ export declare const getEvents: ((input: {
|
|
|
234
234
|
readonly status: string;
|
|
235
235
|
readonly timestamp: string;
|
|
236
236
|
readonly metadata?: {
|
|
237
|
-
readonly [x: string]: import("./generated").JsonValue;
|
|
237
|
+
readonly [x: string]: import("./generated/index.js").JsonValue;
|
|
238
238
|
} | null;
|
|
239
239
|
}[];
|
|
240
240
|
readonly nextCursor: string | null;
|
|
241
|
-
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
241
|
+
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
242
242
|
readonly items: (input: {
|
|
243
243
|
readonly id: string;
|
|
244
244
|
readonly limit?: number | null | undefined;
|
|
@@ -250,7 +250,7 @@ export declare const getEvents: ((input: {
|
|
|
250
250
|
readonly status: string;
|
|
251
251
|
readonly timestamp: string;
|
|
252
252
|
readonly metadata?: {
|
|
253
|
-
readonly [x: string]: import("./generated").JsonValue;
|
|
253
|
+
readonly [x: string]: import("./generated/index.js").JsonValue;
|
|
254
254
|
} | null;
|
|
255
|
-
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
255
|
+
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
256
256
|
};
|
package/dist/effect/messages.js
CHANGED
|
@@ -2,6 +2,7 @@ import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
|
2
2
|
import { forGroup } from "./internal/operation.js";
|
|
3
3
|
import { MessagesGroup } from "./generated/messages.js";
|
|
4
4
|
import { sendMessage } from "./internal/send.js";
|
|
5
|
+
import { messagesOperations } from "./descriptors/messages.js";
|
|
5
6
|
// src/effect/messages.ts
|
|
6
7
|
var messages_exports = /* @__PURE__ */ __exportAll({
|
|
7
8
|
get: () => get,
|
|
@@ -15,7 +16,7 @@ var messages_exports = /* @__PURE__ */ __exportAll({
|
|
|
15
16
|
send: () => send,
|
|
16
17
|
validateEmail: () => validateEmail
|
|
17
18
|
});
|
|
18
|
-
const make = /* @__PURE__ */ forGroup(MessagesGroup);
|
|
19
|
+
const make = /* @__PURE__ */ forGroup(MessagesGroup, messagesOperations);
|
|
19
20
|
const list = /* @__PURE__ */ make("messagesList");
|
|
20
21
|
const send = sendMessage;
|
|
21
22
|
const get = /* @__PURE__ */ make("messagesGet");
|
|
@@ -3,7 +3,7 @@ export declare const list: ((input?: {
|
|
|
3
3
|
readonly cursor?: string | undefined;
|
|
4
4
|
readonly after?: string | undefined;
|
|
5
5
|
readonly before?: string | undefined;
|
|
6
|
-
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"namespacesList">) & {
|
|
6
|
+
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"namespacesList">) & {
|
|
7
7
|
readonly pages: (input?: {
|
|
8
8
|
readonly limit?: number | null | undefined;
|
|
9
9
|
readonly cursor?: string | undefined;
|
|
@@ -16,7 +16,7 @@ export declare const list: ((input?: {
|
|
|
16
16
|
readonly createdAt: string;
|
|
17
17
|
}[];
|
|
18
18
|
readonly nextCursor: string | null;
|
|
19
|
-
}, 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>;
|
|
19
|
+
}, 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>;
|
|
20
20
|
readonly items: (input?: {
|
|
21
21
|
readonly limit?: number | null | undefined;
|
|
22
22
|
readonly cursor?: string | undefined;
|
|
@@ -26,37 +26,37 @@ export declare const list: ((input?: {
|
|
|
26
26
|
readonly id: string & import("effect/Brand").Brand<"NamespaceId">;
|
|
27
27
|
readonly name: string;
|
|
28
28
|
readonly createdAt: string;
|
|
29
|
-
}, 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>;
|
|
29
|
+
}, 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>;
|
|
30
30
|
};
|
|
31
31
|
export declare const create: (input: {
|
|
32
32
|
readonly name: string;
|
|
33
33
|
readonly metadata?: {
|
|
34
34
|
readonly [x: string]: string | undefined;
|
|
35
35
|
} | null | undefined;
|
|
36
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"namespacesCreate">;
|
|
36
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"namespacesCreate">;
|
|
37
37
|
export declare const get: (input: {
|
|
38
38
|
readonly id: string;
|
|
39
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"namespacesGet">;
|
|
39
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"namespacesGet">;
|
|
40
40
|
export declare const update: (input: {
|
|
41
41
|
readonly id: string;
|
|
42
42
|
readonly name?: string | null | undefined;
|
|
43
43
|
readonly metadata?: {
|
|
44
44
|
readonly [x: string]: string | null | undefined;
|
|
45
45
|
} | null | undefined;
|
|
46
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"namespacesUpdate">;
|
|
46
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"namespacesUpdate">;
|
|
47
47
|
export declare const remove: (input: {
|
|
48
48
|
readonly id: string;
|
|
49
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"namespacesRemove">;
|
|
49
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"namespacesRemove">;
|
|
50
50
|
export declare const assignResource: (input: {
|
|
51
51
|
readonly id: string;
|
|
52
52
|
readonly type: "contact" | "domain" | "sender" | "smsNumber" | "template" | "whatsappNumber";
|
|
53
53
|
readonly resourceId: string;
|
|
54
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"namespacesAssignResource">;
|
|
54
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"namespacesAssignResource">;
|
|
55
55
|
export declare const removeResource: (input: {
|
|
56
56
|
readonly id: string;
|
|
57
57
|
readonly type: "contact" | "domain" | "sender" | "smsNumber" | "template" | "whatsappNumber";
|
|
58
58
|
readonly resourceId: string;
|
|
59
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"namespacesRemoveResource">;
|
|
59
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"namespacesRemoveResource">;
|
|
60
60
|
export declare const createPortalLink: (input: {
|
|
61
61
|
readonly id: string;
|
|
62
62
|
readonly redirectUrl?: string | null | undefined;
|
|
@@ -64,12 +64,12 @@ export declare const createPortalLink: (input: {
|
|
|
64
64
|
readonly [x: string]: string | undefined;
|
|
65
65
|
} | null | undefined;
|
|
66
66
|
readonly expiresIn?: number | null | undefined;
|
|
67
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"namespacesCreatePortalLink">;
|
|
67
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"namespacesCreatePortalLink">;
|
|
68
68
|
export declare const listPortalLinks: ((input: {
|
|
69
69
|
readonly id: string;
|
|
70
70
|
readonly limit?: number | null | undefined;
|
|
71
71
|
readonly cursor?: string | undefined;
|
|
72
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"namespacesListPortalLinks">) & {
|
|
72
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"namespacesListPortalLinks">) & {
|
|
73
73
|
readonly pages: (input: {
|
|
74
74
|
readonly id: string;
|
|
75
75
|
readonly limit?: number | null | undefined;
|
|
@@ -89,7 +89,7 @@ export declare const listPortalLinks: ((input: {
|
|
|
89
89
|
readonly createdAt: string;
|
|
90
90
|
}[];
|
|
91
91
|
readonly nextCursor: string | null;
|
|
92
|
-
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
92
|
+
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
93
93
|
readonly items: (input: {
|
|
94
94
|
readonly id: string;
|
|
95
95
|
readonly limit?: number | null | undefined;
|
|
@@ -106,14 +106,14 @@ export declare const listPortalLinks: ((input: {
|
|
|
106
106
|
readonly [x: string]: string;
|
|
107
107
|
};
|
|
108
108
|
readonly createdAt: string;
|
|
109
|
-
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
109
|
+
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
110
110
|
};
|
|
111
111
|
export declare const revokePortalLink: (input: {
|
|
112
112
|
readonly id: string;
|
|
113
113
|
readonly linkId: string;
|
|
114
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"namespacesRevokePortalLink">;
|
|
114
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"namespacesRevokePortalLink">;
|
|
115
115
|
export declare const getUsage: (input: {
|
|
116
116
|
readonly id: string;
|
|
117
117
|
readonly after?: string | undefined;
|
|
118
118
|
readonly before?: string | undefined;
|
|
119
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"namespacesGetUsage">;
|
|
119
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"namespacesGetUsage">;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { forGroup } from "./internal/operation.js";
|
|
3
|
+
import { namespacesOperations } from "./descriptors/namespaces.js";
|
|
3
4
|
import { NamespacesGroup } from "./generated/namespaces.js";
|
|
4
5
|
// src/effect/namespaces.ts
|
|
5
6
|
var namespaces_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -15,7 +16,7 @@ var namespaces_exports = /* @__PURE__ */ __exportAll({
|
|
|
15
16
|
revokePortalLink: () => revokePortalLink,
|
|
16
17
|
update: () => update
|
|
17
18
|
});
|
|
18
|
-
const make = /* @__PURE__ */ forGroup(NamespacesGroup);
|
|
19
|
+
const make = /* @__PURE__ */ forGroup(NamespacesGroup, namespacesOperations);
|
|
19
20
|
const list = /* @__PURE__ */ make("namespacesList");
|
|
20
21
|
const create = /* @__PURE__ */ make("namespacesCreate");
|
|
21
22
|
const get = /* @__PURE__ */ make("namespacesGet");
|
|
@@ -2,7 +2,7 @@ export declare const list: ((input: {
|
|
|
2
2
|
readonly id: string;
|
|
3
3
|
readonly limit?: number | null | undefined;
|
|
4
4
|
readonly cursor?: string | undefined;
|
|
5
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"newsletterDomainsList">) & {
|
|
5
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"newsletterDomainsList">) & {
|
|
6
6
|
readonly pages: (input: {
|
|
7
7
|
readonly id: string;
|
|
8
8
|
readonly limit?: number | null | undefined;
|
|
@@ -30,7 +30,7 @@ export declare const list: ((input: {
|
|
|
30
30
|
readonly verificationErrors: readonly string[];
|
|
31
31
|
}[];
|
|
32
32
|
readonly nextCursor: string | null;
|
|
33
|
-
}, import("./errors").ConflictError | import("./errors").FlagDisabledError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
33
|
+
}, import("./errors.js").ConflictError | import("./errors.js").FlagDisabledError | import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
34
34
|
readonly items: (input: {
|
|
35
35
|
readonly id: string;
|
|
36
36
|
readonly limit?: number | null | undefined;
|
|
@@ -55,17 +55,17 @@ export declare const list: ((input: {
|
|
|
55
55
|
readonly value: string;
|
|
56
56
|
}[];
|
|
57
57
|
readonly verificationErrors: readonly string[];
|
|
58
|
-
}, import("./errors").ConflictError | import("./errors").FlagDisabledError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
58
|
+
}, import("./errors.js").ConflictError | import("./errors.js").FlagDisabledError | import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
59
59
|
};
|
|
60
60
|
export declare const add: (input: {
|
|
61
61
|
readonly id: string;
|
|
62
62
|
readonly hostname: string;
|
|
63
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"newsletterDomainsAdd">;
|
|
63
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"newsletterDomainsAdd">;
|
|
64
64
|
export declare const get: (input: {
|
|
65
65
|
readonly id: string;
|
|
66
66
|
readonly hostname: string;
|
|
67
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"newsletterDomainsGet">;
|
|
67
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"newsletterDomainsGet">;
|
|
68
68
|
export declare const remove: (input: {
|
|
69
69
|
readonly id: string;
|
|
70
70
|
readonly hostname: string;
|
|
71
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"newsletterDomainsRemove">;
|
|
71
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"newsletterDomainsRemove">;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { forGroup } from "./internal/operation.js";
|
|
3
|
+
import { newsletterDomainsOperations } from "./descriptors/newsletter-domains.js";
|
|
3
4
|
import { NewsletterDomainsGroup } from "./generated/newsletter-domains.js";
|
|
4
5
|
// src/effect/newsletter-domains.ts
|
|
5
6
|
var newsletter_domains_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -8,7 +9,7 @@ var newsletter_domains_exports = /* @__PURE__ */ __exportAll({
|
|
|
8
9
|
list: () => list,
|
|
9
10
|
remove: () => remove
|
|
10
11
|
});
|
|
11
|
-
const make = /* @__PURE__ */ forGroup(NewsletterDomainsGroup);
|
|
12
|
+
const make = /* @__PURE__ */ forGroup(NewsletterDomainsGroup, newsletterDomainsOperations);
|
|
12
13
|
const list = /* @__PURE__ */ make("newsletterDomainsList");
|
|
13
14
|
const add = /* @__PURE__ */ make("newsletterDomainsAdd");
|
|
14
15
|
const get = /* @__PURE__ */ make("newsletterDomainsGet");
|
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
export declare const list: (input: {
|
|
2
2
|
readonly id: string;
|
|
3
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"newsletterIssuesList">;
|
|
3
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"newsletterIssuesList">;
|
|
4
4
|
export declare const create: (input: {
|
|
5
5
|
readonly id: string;
|
|
6
6
|
readonly path: string;
|
|
7
7
|
readonly content: string;
|
|
8
8
|
readonly expectedRevision?: string | null | undefined;
|
|
9
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"newsletterIssuesCreate">;
|
|
9
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"newsletterIssuesCreate">;
|
|
10
10
|
export declare const update: (input: {
|
|
11
11
|
readonly id: string;
|
|
12
12
|
readonly path: string;
|
|
13
13
|
readonly content: string;
|
|
14
14
|
readonly expectedRevision: string;
|
|
15
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"newsletterIssuesUpdate">;
|
|
15
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"newsletterIssuesUpdate">;
|
|
16
16
|
export declare const open: (input: {
|
|
17
17
|
readonly id: string;
|
|
18
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"newsletterIssuesOpen">;
|
|
18
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"newsletterIssuesOpen">;
|
|
19
19
|
export declare const get: (input: {
|
|
20
20
|
readonly id: string;
|
|
21
21
|
readonly path: string;
|
|
22
22
|
readonly expectedRevision: string;
|
|
23
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"newsletterIssuesGet">;
|
|
23
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"newsletterIssuesGet">;
|
|
24
24
|
export declare const remove: (input: {
|
|
25
25
|
readonly id: string;
|
|
26
26
|
readonly path: string;
|
|
27
27
|
readonly expectedRevision: string;
|
|
28
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"newsletterIssuesRemove">;
|
|
28
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"newsletterIssuesRemove">;
|
|
29
29
|
export declare const save: (input: {
|
|
30
30
|
readonly id: string;
|
|
31
31
|
readonly expectedRevision: string;
|
|
32
32
|
readonly expectedHead: string;
|
|
33
33
|
readonly message: string;
|
|
34
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"newsletterIssuesSave">;
|
|
34
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"newsletterIssuesSave">;
|
|
35
35
|
export declare const check: (input: {
|
|
36
36
|
readonly id: string;
|
|
37
37
|
readonly path: string;
|
|
38
38
|
readonly expectedRevision: string;
|
|
39
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"newsletterIssuesCheck">;
|
|
39
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"newsletterIssuesCheck">;
|
|
40
40
|
export declare const render: (input: {
|
|
41
41
|
readonly id: string;
|
|
42
42
|
readonly path: string;
|
|
43
43
|
readonly expectedRevision: string;
|
|
44
44
|
readonly fixture: string;
|
|
45
45
|
readonly target: "email" | "web";
|
|
46
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"newsletterIssuesRender">;
|
|
46
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"newsletterIssuesRender">;
|
|
47
47
|
export declare const head: (input: {
|
|
48
48
|
readonly id: string;
|
|
49
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"newsletterIssuesHead">;
|
|
49
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"newsletterIssuesHead">;
|
|
50
50
|
export declare const history: (input: {
|
|
51
51
|
readonly id: string;
|
|
52
52
|
readonly limit?: number | null | undefined;
|
|
53
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"newsletterIssuesHistory">;
|
|
53
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"newsletterIssuesHistory">;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { forGroup } from "./internal/operation.js";
|
|
3
|
+
import { newsletterIssuesOperations } from "./descriptors/newsletter-issues.js";
|
|
3
4
|
import { NewsletterIssuesGroup } from "./generated/newsletter-issues.js";
|
|
4
5
|
// src/effect/newsletter-issues.ts
|
|
5
6
|
var newsletter_issues_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -15,7 +16,7 @@ var newsletter_issues_exports = /* @__PURE__ */ __exportAll({
|
|
|
15
16
|
save: () => save,
|
|
16
17
|
update: () => update
|
|
17
18
|
});
|
|
18
|
-
const make = /* @__PURE__ */ forGroup(NewsletterIssuesGroup);
|
|
19
|
+
const make = /* @__PURE__ */ forGroup(NewsletterIssuesGroup, newsletterIssuesOperations);
|
|
19
20
|
const list = /* @__PURE__ */ make("newsletterIssuesList");
|
|
20
21
|
const create = /* @__PURE__ */ make("newsletterIssuesCreate");
|
|
21
22
|
const update = /* @__PURE__ */ make("newsletterIssuesUpdate");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const list: (input?: {
|
|
2
2
|
readonly namespaceId?: string | undefined;
|
|
3
|
-
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"newslettersList">;
|
|
3
|
+
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"newslettersList">;
|
|
4
4
|
export declare const create: (input?: {
|
|
5
5
|
readonly topicId?: string | null | undefined;
|
|
6
6
|
readonly name?: string | null | undefined;
|
|
@@ -8,15 +8,15 @@ export declare const create: (input?: {
|
|
|
8
8
|
readonly namespaceId?: string | null | undefined;
|
|
9
9
|
readonly archiveEnabled?: boolean | null | undefined;
|
|
10
10
|
readonly publicationSlug?: string | null | undefined;
|
|
11
|
-
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"newslettersCreate">;
|
|
11
|
+
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"newslettersCreate">;
|
|
12
12
|
export declare const get: (input: {
|
|
13
13
|
readonly id: string;
|
|
14
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"newslettersGet">;
|
|
14
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"newslettersGet">;
|
|
15
15
|
export declare const update: (input: {
|
|
16
16
|
readonly id: string;
|
|
17
17
|
readonly archiveEnabled?: boolean | null | undefined;
|
|
18
18
|
readonly publicationSlug?: string | null | undefined;
|
|
19
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"newslettersUpdate">;
|
|
19
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"newslettersUpdate">;
|
|
20
20
|
export declare const remove: (input: {
|
|
21
21
|
readonly id: string;
|
|
22
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"newslettersRemove">;
|
|
22
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"newslettersRemove">;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { forGroup } from "./internal/operation.js";
|
|
3
|
+
import { newslettersOperations } from "./descriptors/newsletters.js";
|
|
3
4
|
import { NewslettersGroup } from "./generated/newsletters.js";
|
|
4
5
|
// src/effect/newsletters.ts
|
|
5
6
|
var newsletters_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -9,7 +10,7 @@ var newsletters_exports = /* @__PURE__ */ __exportAll({
|
|
|
9
10
|
remove: () => remove,
|
|
10
11
|
update: () => update
|
|
11
12
|
});
|
|
12
|
-
const make = /* @__PURE__ */ forGroup(NewslettersGroup);
|
|
13
|
+
const make = /* @__PURE__ */ forGroup(NewslettersGroup, newslettersOperations);
|
|
13
14
|
const list = /* @__PURE__ */ make("newslettersList");
|
|
14
15
|
const create = /* @__PURE__ */ make("newslettersCreate");
|
|
15
16
|
const get = /* @__PURE__ */ make("newslettersGet");
|
|
@@ -3,7 +3,7 @@ export declare const list: ((input?: {
|
|
|
3
3
|
readonly cursor?: string | undefined;
|
|
4
4
|
readonly kind?: "email-domain-provisioning" | "organization-deletion" | undefined;
|
|
5
5
|
readonly status?: "failed" | "pending" | "running" | "succeeded" | undefined;
|
|
6
|
-
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"operationsList">) & {
|
|
6
|
+
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"operationsList">) & {
|
|
7
7
|
readonly pages: (input?: {
|
|
8
8
|
readonly limit?: number | null | undefined;
|
|
9
9
|
readonly cursor?: string | undefined;
|
|
@@ -34,7 +34,7 @@ export declare const list: ((input?: {
|
|
|
34
34
|
readonly completedAt: string | null;
|
|
35
35
|
}[];
|
|
36
36
|
readonly nextCursor: string | null;
|
|
37
|
-
}, 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>;
|
|
37
|
+
}, 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>;
|
|
38
38
|
readonly items: (input?: {
|
|
39
39
|
readonly limit?: number | null | undefined;
|
|
40
40
|
readonly cursor?: string | undefined;
|
|
@@ -62,11 +62,11 @@ export declare const list: ((input?: {
|
|
|
62
62
|
readonly updatedAt: string;
|
|
63
63
|
readonly startedAt: string | null;
|
|
64
64
|
readonly completedAt: string | null;
|
|
65
|
-
}, 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>;
|
|
65
|
+
}, 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>;
|
|
66
66
|
};
|
|
67
67
|
export declare const get: (input: {
|
|
68
68
|
readonly id: string;
|
|
69
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"operationsGet">;
|
|
69
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"operationsGet">;
|
|
70
70
|
export declare const retry: (input: {
|
|
71
71
|
readonly id: string;
|
|
72
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"operationsRetry">;
|
|
72
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"operationsRetry">;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { forGroup } from "./internal/operation.js";
|
|
3
|
+
import { operationsOperations } from "./descriptors/operations.js";
|
|
3
4
|
import { OperationsGroup } from "./generated/operations.js";
|
|
4
5
|
// src/effect/operations.ts
|
|
5
6
|
var operations_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -7,7 +8,7 @@ var operations_exports = /* @__PURE__ */ __exportAll({
|
|
|
7
8
|
list: () => list,
|
|
8
9
|
retry: () => retry
|
|
9
10
|
});
|
|
10
|
-
const make = /* @__PURE__ */ forGroup(OperationsGroup);
|
|
11
|
+
const make = /* @__PURE__ */ forGroup(OperationsGroup, operationsOperations);
|
|
11
12
|
const list = /* @__PURE__ */ make("operationsList");
|
|
12
13
|
const get = /* @__PURE__ */ make("operationsGet");
|
|
13
14
|
const retry = /* @__PURE__ */ make("operationsRetry");
|