samva 0.45.1 → 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/AGENTS.md +7 -0
- package/README.md +25 -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 +439 -6
- package/dist/client/sdk.gen.js +1544 -229
- package/dist/client/types.gen.d.ts +8120 -5616
- package/dist/effect/accounts.d.ts +50 -0
- package/dist/effect/accounts.js +23 -0
- package/dist/effect/agents.d.ts +25 -16
- package/dist/effect/agents.js +3 -2
- 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 +42 -0
- package/dist/effect/approval-requests.js +19 -0
- 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 +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 +1002 -0
- package/dist/effect/generated/accounts.js +198 -0
- package/dist/effect/generated/agents.d.ts +85 -1
- package/dist/effect/generated/agents.js +1 -0
- 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 +777 -0
- package/dist/effect/generated/approval-requests.js +135 -0
- 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 +245 -245
- package/dist/effect/generated/campaigns.js +6 -6
- 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 +21 -21
- package/dist/effect/generated/conversations.js +10 -10
- 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/events.js +1 -1
- 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 +88 -78
- package/dist/effect/generated/integrations-catalog.d.ts +671 -0
- package/dist/effect/generated/integrations-catalog.js +217 -0
- package/dist/effect/generated/integrations.d.ts +1401 -0
- package/dist/effect/generated/integrations.js +246 -0
- package/dist/effect/generated/journeys.d.ts +81 -81
- package/dist/effect/generated/mailboxes.d.ts +8157 -4241
- package/dist/effect/generated/mailboxes.js +677 -52
- package/dist/effect/generated/media.d.ts +1 -1
- package/dist/effect/generated/messages.d.ts +9 -9
- package/dist/effect/generated/messages.js +4 -4
- 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 +193 -193
- package/dist/effect/generated/scheduled-messages.js +17 -17
- package/dist/effect/generated/shared.d.ts +662 -512
- package/dist/effect/generated/shared.js +212 -179
- 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 +733 -0
- package/dist/effect/generated/template-share-links.js +165 -0
- package/dist/effect/generated/templates.d.ts +39 -22
- package/dist/effect/generated/templates.js +19 -16
- 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 +248 -0
- package/dist/effect/generated-metadata.js +705 -555
- package/dist/effect/index.d.ts +47 -42
- package/dist/effect/index.js +6 -1
- package/dist/effect/integrations-catalog.d.ts +38 -0
- package/dist/effect/integrations-catalog.js +17 -0
- package/dist/effect/integrations.d.ts +165 -0
- package/dist/effect/integrations.js +25 -0
- 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 +476 -294
- package/dist/effect/mailboxes.js +33 -2
- 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 +372 -372
- 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 +18 -0
- package/dist/effect/template-share-links.js +21 -0
- package/dist/effect/templates.d.ts +49 -48
- 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/index.js +2 -2
- 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 +20 -10
- package/dist/promises/client.js +13 -3
- package/dist/promises/errors.gen.d.ts +23 -3
- package/dist/promises/errors.gen.js +54 -1
- package/dist/promises/index.d.ts +5 -5
- package/dist/promises/index.js +2 -2
- 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 +203 -0
- package/package.json +29 -9
- package/dist/service-map.js +0 -727
|
@@ -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");
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare const create: (input: {
|
|
2
|
+
readonly projectId: string;
|
|
3
|
+
readonly slug?: string | null | undefined;
|
|
4
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templateShareLinksCreate">;
|
|
5
|
+
export declare const rename: (input: {
|
|
6
|
+
readonly projectId: string;
|
|
7
|
+
readonly slug: string;
|
|
8
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templateShareLinksRename">;
|
|
9
|
+
export declare const get: (input: {
|
|
10
|
+
readonly projectId: string;
|
|
11
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templateShareLinksGet">;
|
|
12
|
+
declare const deleteOperation: (input: {
|
|
13
|
+
readonly projectId: string;
|
|
14
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templateShareLinksDelete">;
|
|
15
|
+
export { deleteOperation as delete };
|
|
16
|
+
export declare const update: (input: {
|
|
17
|
+
readonly projectId: string;
|
|
18
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templateShareLinksUpdate">;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { forGroup } from "./internal/operation.js";
|
|
3
|
+
import { templateShareLinksOperations } from "./descriptors/template-share-links.js";
|
|
4
|
+
import { TemplateShareLinksGroup } from "./generated/template-share-links.js";
|
|
5
|
+
// src/effect/template-share-links.ts
|
|
6
|
+
var template_share_links_exports = /* @__PURE__ */ __exportAll({
|
|
7
|
+
create: () => create,
|
|
8
|
+
delete: () => deleteOperation,
|
|
9
|
+
get: () => get,
|
|
10
|
+
rename: () => rename,
|
|
11
|
+
update: () => update
|
|
12
|
+
});
|
|
13
|
+
const make = /* @__PURE__ */ forGroup(TemplateShareLinksGroup, templateShareLinksOperations);
|
|
14
|
+
const create = /* @__PURE__ */ make("templateShareLinksCreate");
|
|
15
|
+
const rename = /* @__PURE__ */ make("templateShareLinksRename");
|
|
16
|
+
const get = /* @__PURE__ */ make("templateShareLinksGet");
|
|
17
|
+
const deleteOperation = /* @__PURE__ */ make("templateShareLinksDelete");
|
|
18
|
+
const update = /* @__PURE__ */ make("templateShareLinksUpdate");
|
|
19
|
+
export { create, deleteOperation as delete, get, rename, template_share_links_exports, update };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=template-share-links.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { CreateTemplatePayload as CreatePayload, UpdateTemplatePayload as UpdatePayload, } from "./generated/shared";
|
|
1
|
+
export { CreateTemplatePayload as CreatePayload, UpdateTemplatePayload as UpdatePayload, } from "./generated/shared.js";
|
|
2
2
|
export declare const list: ((input?: {
|
|
3
3
|
readonly limit?: number | null | undefined;
|
|
4
4
|
readonly cursor?: string | undefined;
|
|
@@ -9,7 +9,7 @@ export declare const list: ((input?: {
|
|
|
9
9
|
readonly projectId?: string | undefined;
|
|
10
10
|
readonly namespaceId?: string | undefined;
|
|
11
11
|
readonly shared?: boolean | null | undefined;
|
|
12
|
-
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"templatesList">) & {
|
|
12
|
+
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templatesList">) & {
|
|
13
13
|
readonly pages: (input?: {
|
|
14
14
|
readonly limit?: number | null | undefined;
|
|
15
15
|
readonly cursor?: string | undefined;
|
|
@@ -47,7 +47,7 @@ export declare const list: ((input?: {
|
|
|
47
47
|
readonly updatedAt: string;
|
|
48
48
|
}[];
|
|
49
49
|
readonly nextCursor: string | null;
|
|
50
|
-
}, 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>;
|
|
50
|
+
}, 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>;
|
|
51
51
|
readonly items: (input?: {
|
|
52
52
|
readonly limit?: number | null | undefined;
|
|
53
53
|
readonly cursor?: string | undefined;
|
|
@@ -82,10 +82,11 @@ export declare const list: ((input?: {
|
|
|
82
82
|
readonly lastUsedAt: string | null;
|
|
83
83
|
readonly createdAt: string;
|
|
84
84
|
readonly updatedAt: string;
|
|
85
|
-
}, 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>;
|
|
85
|
+
}, 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>;
|
|
86
86
|
};
|
|
87
|
-
export declare const create: (input
|
|
88
|
-
readonly name
|
|
87
|
+
export declare const create: (input?: {
|
|
88
|
+
readonly name?: string | null | undefined;
|
|
89
|
+
readonly shareLinkSlug?: string | null | undefined;
|
|
89
90
|
readonly projectName?: string | null | undefined;
|
|
90
91
|
readonly slug?: string | null | undefined;
|
|
91
92
|
readonly galleryTemplateId?: string | null | undefined;
|
|
@@ -94,11 +95,11 @@ export declare const create: (input: {
|
|
|
94
95
|
readonly category?: "alert" | "marketing" | "notification" | "reminder" | "support" | "transactional" | "verification" | null | undefined;
|
|
95
96
|
readonly namespaceId?: string | null | undefined;
|
|
96
97
|
readonly shared?: boolean | null | undefined;
|
|
97
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"templatesCreate">;
|
|
98
|
+
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templatesCreate">;
|
|
98
99
|
export declare const listFamilies: ((input?: {
|
|
99
100
|
readonly limit?: number | null | undefined;
|
|
100
101
|
readonly cursor?: string | undefined;
|
|
101
|
-
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"templatesListFamilies">) & {
|
|
102
|
+
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templatesListFamilies">) & {
|
|
102
103
|
readonly pages: (input?: {
|
|
103
104
|
readonly limit?: number | null | undefined;
|
|
104
105
|
readonly cursor?: string | undefined;
|
|
@@ -119,7 +120,7 @@ export declare const listFamilies: ((input?: {
|
|
|
119
120
|
readonly updatedAt: string;
|
|
120
121
|
}[];
|
|
121
122
|
readonly nextCursor: string | null;
|
|
122
|
-
}, 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>;
|
|
123
|
+
}, 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>;
|
|
123
124
|
readonly items: (input?: {
|
|
124
125
|
readonly limit?: number | null | undefined;
|
|
125
126
|
readonly cursor?: string | undefined;
|
|
@@ -137,36 +138,36 @@ export declare const listFamilies: ((input?: {
|
|
|
137
138
|
}[];
|
|
138
139
|
readonly createdAt: string;
|
|
139
140
|
readonly updatedAt: string;
|
|
140
|
-
}, 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>;
|
|
141
|
+
}, 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>;
|
|
141
142
|
};
|
|
142
143
|
export declare const createFamily: (input: {
|
|
143
144
|
readonly name: string;
|
|
144
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"templatesCreateFamily">;
|
|
145
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templatesCreateFamily">;
|
|
145
146
|
export declare const getFamily: (input: {
|
|
146
147
|
readonly id: string;
|
|
147
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"templatesGetFamily">;
|
|
148
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templatesGetFamily">;
|
|
148
149
|
export declare const renameFamily: (input: {
|
|
149
150
|
readonly id: string;
|
|
150
151
|
readonly name: string;
|
|
151
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"templatesRenameFamily">;
|
|
152
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templatesRenameFamily">;
|
|
152
153
|
export declare const deleteFamily: (input: {
|
|
153
154
|
readonly id: string;
|
|
154
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"templatesDeleteFamily">;
|
|
155
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templatesDeleteFamily">;
|
|
155
156
|
export declare const createFamilyFromTemplate: (input: {
|
|
156
157
|
readonly templateId: string;
|
|
157
158
|
readonly name: string;
|
|
158
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"templatesCreateFamilyFromTemplate">;
|
|
159
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templatesCreateFamilyFromTemplate">;
|
|
159
160
|
export declare const attachFamilyMember: (input: {
|
|
160
161
|
readonly id: string;
|
|
161
162
|
readonly templateId: string;
|
|
162
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"templatesAttachFamilyMember">;
|
|
163
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templatesAttachFamilyMember">;
|
|
163
164
|
export declare const detachFamilyMember: (input: {
|
|
164
165
|
readonly id: string;
|
|
165
166
|
readonly templateId: string;
|
|
166
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"templatesDetachFamilyMember">;
|
|
167
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templatesDetachFamilyMember">;
|
|
167
168
|
export declare const getById: (input: {
|
|
168
169
|
readonly id: string;
|
|
169
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"templatesGetById">;
|
|
170
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templatesGetById">;
|
|
170
171
|
export declare const update: (input: {
|
|
171
172
|
readonly id: string;
|
|
172
173
|
readonly data: {
|
|
@@ -186,26 +187,26 @@ export declare const update: (input: {
|
|
|
186
187
|
} | null | undefined;
|
|
187
188
|
readonly shared?: boolean | null | undefined;
|
|
188
189
|
};
|
|
189
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"templatesUpdate">;
|
|
190
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templatesUpdate">;
|
|
190
191
|
declare const deleteTemplate: (input: {
|
|
191
192
|
readonly id: string;
|
|
192
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"templatesDelete">;
|
|
193
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templatesDelete">;
|
|
193
194
|
export { deleteTemplate as delete };
|
|
194
195
|
export declare const suggestStarters: (input: {
|
|
195
196
|
readonly brief: string;
|
|
196
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"templatesSuggestStarters">;
|
|
197
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templatesSuggestStarters">;
|
|
197
198
|
export declare const createFromBrief: (input: {
|
|
198
199
|
readonly brief: string;
|
|
199
200
|
readonly name?: string | null | undefined;
|
|
200
201
|
readonly galleryTemplateId?: string | null | undefined;
|
|
201
202
|
readonly useBrand?: boolean | null | undefined;
|
|
202
203
|
readonly namespaceId?: string | null | undefined;
|
|
203
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"templatesCreateFromBrief">;
|
|
204
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templatesCreateFromBrief">;
|
|
204
205
|
export declare const createFromWebsite: (input: {
|
|
205
206
|
readonly url: string;
|
|
206
207
|
readonly name?: string | null | undefined;
|
|
207
208
|
readonly namespaceId?: string | null | undefined;
|
|
208
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"templatesCreateFromWebsite">;
|
|
209
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templatesCreateFromWebsite">;
|
|
209
210
|
export declare const addEntry: (input: {
|
|
210
211
|
readonly id: string;
|
|
211
212
|
readonly entryPath: string;
|
|
@@ -213,13 +214,13 @@ export declare const addEntry: (input: {
|
|
|
213
214
|
readonly slug: string;
|
|
214
215
|
readonly description?: string | null | undefined;
|
|
215
216
|
readonly category?: "alert" | "marketing" | "notification" | "reminder" | "support" | "transactional" | "verification" | null | undefined;
|
|
216
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"templatesAddEntry">;
|
|
217
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templatesAddEntry">;
|
|
217
218
|
export declare const deleteProject: (input: {
|
|
218
219
|
readonly id: string;
|
|
219
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"templatesDeleteProject">;
|
|
220
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templatesDeleteProject">;
|
|
220
221
|
export declare const openWorkspace: (input: {
|
|
221
222
|
readonly id: string;
|
|
222
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"templatesOpenWorkspace">;
|
|
223
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templatesOpenWorkspace">;
|
|
223
224
|
export declare const patchWorkspace: (input: {
|
|
224
225
|
readonly id: string;
|
|
225
226
|
readonly expectedRevision: string;
|
|
@@ -227,18 +228,18 @@ export declare const patchWorkspace: (input: {
|
|
|
227
228
|
readonly path: string;
|
|
228
229
|
readonly content: string | null;
|
|
229
230
|
}[];
|
|
230
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"templatesPatchWorkspace">;
|
|
231
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templatesPatchWorkspace">;
|
|
231
232
|
export declare const diffWorkspace: (input: {
|
|
232
233
|
readonly id: string;
|
|
233
234
|
readonly expectedRevision: string;
|
|
234
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"templatesDiffWorkspace">;
|
|
235
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templatesDiffWorkspace">;
|
|
235
236
|
export declare const putWorkspaceAsset: (input: {
|
|
236
237
|
readonly id: string;
|
|
237
238
|
readonly expectedRevision: string;
|
|
238
239
|
readonly path: string;
|
|
239
240
|
readonly contentBase64: string;
|
|
240
241
|
readonly replace: boolean;
|
|
241
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"templatesPutWorkspaceAsset">;
|
|
242
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templatesPutWorkspaceAsset">;
|
|
242
243
|
export declare const resolveWorkspaceConflict: (input: {
|
|
243
244
|
readonly id: string;
|
|
244
245
|
readonly expectedRevision: string;
|
|
@@ -246,31 +247,31 @@ export declare const resolveWorkspaceConflict: (input: {
|
|
|
246
247
|
readonly resolution: "draft" | "main" | {
|
|
247
248
|
readonly content: string | null;
|
|
248
249
|
};
|
|
249
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"templatesResolveWorkspaceConflict">;
|
|
250
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templatesResolveWorkspaceConflict">;
|
|
250
251
|
export declare const saveWorkspace: (input: {
|
|
251
252
|
readonly id: string;
|
|
252
253
|
readonly expectedRevision: string;
|
|
253
254
|
readonly expectedHead: string;
|
|
254
255
|
readonly message: string;
|
|
255
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"templatesSaveWorkspace">;
|
|
256
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templatesSaveWorkspace">;
|
|
256
257
|
export declare const restoreWorkspace: (input: {
|
|
257
258
|
readonly id: string;
|
|
258
259
|
readonly expectedRevision: string;
|
|
259
260
|
readonly commit: string;
|
|
260
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"templatesRestoreWorkspace">;
|
|
261
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templatesRestoreWorkspace">;
|
|
261
262
|
export declare const workspaceHistory: (input: {
|
|
262
263
|
readonly id: string;
|
|
263
264
|
readonly limit?: number | null | undefined;
|
|
264
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"templatesWorkspaceHistory">;
|
|
265
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templatesWorkspaceHistory">;
|
|
265
266
|
export declare const checkWorkspace: (input: {
|
|
266
267
|
readonly id: string;
|
|
267
268
|
readonly expectedRevision: string;
|
|
268
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"templatesCheckWorkspace">;
|
|
269
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templatesCheckWorkspace">;
|
|
269
270
|
export declare const renderWorkspaceFixture: (input: {
|
|
270
271
|
readonly id: string;
|
|
271
272
|
readonly expectedRevision: string;
|
|
272
273
|
readonly fixture: string;
|
|
273
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"templatesRenderWorkspaceFixture">;
|
|
274
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templatesRenderWorkspaceFixture">;
|
|
274
275
|
export declare const publish: (input: {
|
|
275
276
|
readonly id: string;
|
|
276
277
|
readonly projectId: string;
|
|
@@ -278,11 +279,11 @@ export declare const publish: (input: {
|
|
|
278
279
|
readonly entryPath: string;
|
|
279
280
|
readonly expectedWorkspaceRevision: string;
|
|
280
281
|
readonly ifCurrentPublicationId?: string | null | undefined;
|
|
281
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"templatesPublish">;
|
|
282
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templatesPublish">;
|
|
282
283
|
export declare const getPublication: (input: {
|
|
283
284
|
readonly id: string;
|
|
284
285
|
readonly publicationId: string;
|
|
285
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"templatesGetPublication">;
|
|
286
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templatesGetPublication">;
|
|
286
287
|
export declare const renderPublication: (input: {
|
|
287
288
|
readonly id: string;
|
|
288
289
|
readonly publicationId: string;
|
|
@@ -315,12 +316,12 @@ export declare const renderPublication: (input: {
|
|
|
315
316
|
};
|
|
316
317
|
readonly locale?: string | undefined;
|
|
317
318
|
readonly timeZone?: string | undefined;
|
|
318
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"templatesRenderPublication">;
|
|
319
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templatesRenderPublication">;
|
|
319
320
|
export declare const listInputContracts: ((input: {
|
|
320
321
|
readonly id: string;
|
|
321
322
|
readonly limit?: number | null | undefined;
|
|
322
323
|
readonly cursor?: string | undefined;
|
|
323
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"templatesListInputContracts">) & {
|
|
324
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templatesListInputContracts">) & {
|
|
324
325
|
readonly pages: (input: {
|
|
325
326
|
readonly id: string;
|
|
326
327
|
readonly limit?: number | null | undefined;
|
|
@@ -333,12 +334,12 @@ export declare const listInputContracts: ((input: {
|
|
|
333
334
|
readonly version: number;
|
|
334
335
|
readonly validationDigest: string;
|
|
335
336
|
readonly schema: {
|
|
336
|
-
readonly [x: string]: import("./generated").JsonValue;
|
|
337
|
+
readonly [x: string]: import("./generated/index.js").JsonValue;
|
|
337
338
|
};
|
|
338
339
|
readonly createdAt: string;
|
|
339
340
|
}[];
|
|
340
341
|
readonly nextCursor: string | null;
|
|
341
|
-
}, 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>;
|
|
342
|
+
}, 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>;
|
|
342
343
|
readonly items: (input: {
|
|
343
344
|
readonly id: string;
|
|
344
345
|
readonly limit?: number | null | undefined;
|
|
@@ -350,22 +351,22 @@ export declare const listInputContracts: ((input: {
|
|
|
350
351
|
readonly version: number;
|
|
351
352
|
readonly validationDigest: string;
|
|
352
353
|
readonly schema: {
|
|
353
|
-
readonly [x: string]: import("./generated").JsonValue;
|
|
354
|
+
readonly [x: string]: import("./generated/index.js").JsonValue;
|
|
354
355
|
};
|
|
355
356
|
readonly createdAt: string;
|
|
356
|
-
}, 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>;
|
|
357
|
+
}, 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>;
|
|
357
358
|
};
|
|
358
359
|
export declare const getInputContract: (input: {
|
|
359
360
|
readonly id: string;
|
|
360
361
|
readonly inputContractId: string;
|
|
361
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"templatesGetInputContract">;
|
|
362
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templatesGetInputContract">;
|
|
362
363
|
export declare const getGitRepository: (input: {
|
|
363
364
|
readonly id: string;
|
|
364
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"templatesGetGitRepository">;
|
|
365
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templatesGetGitRepository">;
|
|
365
366
|
export declare const issueGitCredential: (input: {
|
|
366
367
|
readonly id: string;
|
|
367
368
|
readonly scope: "read" | "write";
|
|
368
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"templatesIssueGitCredential">;
|
|
369
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templatesIssueGitCredential">;
|
|
369
370
|
export declare const attachWorkspaceResource: (input: {
|
|
370
371
|
readonly id: string;
|
|
371
372
|
readonly expectedRevision: string;
|
|
@@ -378,9 +379,9 @@ export declare const attachWorkspaceResource: (input: {
|
|
|
378
379
|
readonly contentBase64: string;
|
|
379
380
|
}[];
|
|
380
381
|
};
|
|
381
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"templatesAttachWorkspaceResource">;
|
|
382
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templatesAttachWorkspaceResource">;
|
|
382
383
|
export declare const removeWorkspaceResource: (input: {
|
|
383
384
|
readonly id: string;
|
|
384
385
|
readonly resourceId: string;
|
|
385
386
|
readonly expectedRevision: string;
|
|
386
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"templatesRemoveWorkspaceResource">;
|
|
387
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"templatesRemoveWorkspaceResource">;
|
package/dist/effect/templates.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { CreateTemplatePayload, UpdateTemplatePayload } from "./generated/shared.js";
|
|
3
3
|
import { forGroup } from "./internal/operation.js";
|
|
4
|
+
import { templatesOperations } from "./descriptors/templates.js";
|
|
4
5
|
import { TemplatesGroup } from "./generated/templates.js";
|
|
5
6
|
// src/effect/templates.ts
|
|
6
7
|
var templates_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -44,7 +45,7 @@ var templates_exports = /* @__PURE__ */ __exportAll({
|
|
|
44
45
|
update: () => update,
|
|
45
46
|
workspaceHistory: () => workspaceHistory
|
|
46
47
|
});
|
|
47
|
-
const make = /* @__PURE__ */ forGroup(TemplatesGroup);
|
|
48
|
+
const make = /* @__PURE__ */ forGroup(TemplatesGroup, templatesOperations);
|
|
48
49
|
const list = /* @__PURE__ */ make("templatesList");
|
|
49
50
|
const create = /* @__PURE__ */ make("templatesCreate");
|
|
50
51
|
const listFamilies = /* @__PURE__ */ make("templatesListFamilies");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const list: (input: {
|
|
2
2
|
readonly id: string;
|
|
3
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"topicFormsList">;
|
|
3
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"topicFormsList">;
|
|
4
4
|
export declare const create: (input: {
|
|
5
5
|
readonly id: string;
|
|
6
6
|
readonly allowedOrigins: readonly string[];
|
|
@@ -9,11 +9,11 @@ export declare const create: (input: {
|
|
|
9
9
|
readonly successTitle: string;
|
|
10
10
|
readonly successMessage: string;
|
|
11
11
|
readonly redirectUrl: string | null;
|
|
12
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"topicFormsCreate">;
|
|
12
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"topicFormsCreate">;
|
|
13
13
|
export declare const get: (input: {
|
|
14
14
|
readonly id: string;
|
|
15
15
|
readonly formId: string;
|
|
16
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"topicFormsGet">;
|
|
16
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"topicFormsGet">;
|
|
17
17
|
export declare const update: (input: {
|
|
18
18
|
readonly id: string;
|
|
19
19
|
readonly formId: string;
|
|
@@ -23,8 +23,8 @@ export declare const update: (input: {
|
|
|
23
23
|
readonly successTitle?: string | null | undefined;
|
|
24
24
|
readonly successMessage?: string | null | undefined;
|
|
25
25
|
readonly redirectUrl?: string | null | undefined;
|
|
26
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"topicFormsUpdate">;
|
|
26
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"topicFormsUpdate">;
|
|
27
27
|
export declare const remove: (input: {
|
|
28
28
|
readonly id: string;
|
|
29
29
|
readonly formId: string;
|
|
30
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"topicFormsRemove">;
|
|
30
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"topicFormsRemove">;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { forGroup } from "./internal/operation.js";
|
|
3
|
+
import { topicFormsOperations } from "./descriptors/topic-forms.js";
|
|
3
4
|
import { TopicFormsGroup } from "./generated/topic-forms.js";
|
|
4
5
|
// src/effect/topic-forms.ts
|
|
5
6
|
var topic_forms_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -9,7 +10,7 @@ var topic_forms_exports = /* @__PURE__ */ __exportAll({
|
|
|
9
10
|
remove: () => remove,
|
|
10
11
|
update: () => update
|
|
11
12
|
});
|
|
12
|
-
const make = /* @__PURE__ */ forGroup(TopicFormsGroup);
|
|
13
|
+
const make = /* @__PURE__ */ forGroup(TopicFormsGroup, topicFormsOperations);
|
|
13
14
|
const list = /* @__PURE__ */ make("topicFormsList");
|
|
14
15
|
const create = /* @__PURE__ */ make("topicFormsCreate");
|
|
15
16
|
const get = /* @__PURE__ */ make("topicFormsGet");
|
package/dist/effect/topics.d.ts
CHANGED
|
@@ -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<"topicsList">;
|
|
3
|
+
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"topicsList">;
|
|
4
4
|
export declare const create: (input: {
|
|
5
5
|
readonly name: string;
|
|
6
6
|
readonly description?: string | null | undefined;
|
|
@@ -9,7 +9,7 @@ export declare const create: (input: {
|
|
|
9
9
|
readonly defaultSenderId?: string | null | undefined;
|
|
10
10
|
readonly replyMailboxId?: string | null | undefined;
|
|
11
11
|
readonly templateId?: string | null | undefined;
|
|
12
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"topicsCreate">;
|
|
12
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"topicsCreate">;
|
|
13
13
|
export declare const checkSubscription: (input: {
|
|
14
14
|
readonly contactId?: string | undefined;
|
|
15
15
|
readonly email?: string | undefined;
|
|
@@ -17,10 +17,10 @@ export declare const checkSubscription: (input: {
|
|
|
17
17
|
readonly namespaceId?: string | undefined;
|
|
18
18
|
readonly channel: "email" | "sms" | "whatsapp";
|
|
19
19
|
readonly topicIds?: string | undefined;
|
|
20
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"topicsCheckSubscription">;
|
|
20
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"topicsCheckSubscription">;
|
|
21
21
|
export declare const get: (input: {
|
|
22
22
|
readonly id: string;
|
|
23
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"topicsGet">;
|
|
23
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"topicsGet">;
|
|
24
24
|
export declare const update: (input: {
|
|
25
25
|
readonly id: string;
|
|
26
26
|
readonly name?: string | null | undefined;
|
|
@@ -29,20 +29,20 @@ export declare const update: (input: {
|
|
|
29
29
|
readonly defaultSenderId?: string | null | undefined;
|
|
30
30
|
readonly replyMailboxId?: string | null | undefined;
|
|
31
31
|
readonly templateId?: string | null | undefined;
|
|
32
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"topicsUpdate">;
|
|
32
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"topicsUpdate">;
|
|
33
33
|
export declare const remove: (input: {
|
|
34
34
|
readonly id: string;
|
|
35
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"topicsRemove">;
|
|
35
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"topicsRemove">;
|
|
36
36
|
export declare const setDefault: (input: {
|
|
37
37
|
readonly id: string;
|
|
38
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"topicsSetDefault">;
|
|
38
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"topicsSetDefault">;
|
|
39
39
|
export declare const listSubscriptions: ((input: {
|
|
40
40
|
readonly id: string;
|
|
41
41
|
readonly limit?: number | null | undefined;
|
|
42
42
|
readonly cursor?: string | undefined;
|
|
43
43
|
readonly channel?: "email" | "sms" | "whatsapp" | undefined;
|
|
44
44
|
readonly status?: "subscribed" | "unsubscribed" | undefined;
|
|
45
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"topicsListSubscriptions">) & {
|
|
45
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"topicsListSubscriptions">) & {
|
|
46
46
|
readonly pages: (input: {
|
|
47
47
|
readonly id: string;
|
|
48
48
|
readonly limit?: number | null | undefined;
|
|
@@ -61,7 +61,7 @@ export declare const listSubscriptions: ((input: {
|
|
|
61
61
|
readonly updatedAt: string;
|
|
62
62
|
}[];
|
|
63
63
|
readonly nextCursor: string | null;
|
|
64
|
-
}, 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>;
|
|
64
|
+
}, 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>;
|
|
65
65
|
readonly items: (input: {
|
|
66
66
|
readonly id: string;
|
|
67
67
|
readonly limit?: number | null | undefined;
|
|
@@ -77,7 +77,7 @@ export declare const listSubscriptions: ((input: {
|
|
|
77
77
|
readonly unsubscribedAt: string | null;
|
|
78
78
|
readonly createdAt: string;
|
|
79
79
|
readonly updatedAt: string;
|
|
80
|
-
}, 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>;
|
|
80
|
+
}, 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>;
|
|
81
81
|
};
|
|
82
82
|
export declare const setSubscriptions: (input: {
|
|
83
83
|
readonly id: string;
|
|
@@ -91,4 +91,4 @@ export declare const setSubscriptions: (input: {
|
|
|
91
91
|
readonly channel: "email" | "sms" | "whatsapp";
|
|
92
92
|
readonly status: "subscribed" | "unsubscribed";
|
|
93
93
|
readonly source?: string | null | undefined;
|
|
94
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"topicsSetSubscriptions">;
|
|
94
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"topicsSetSubscriptions">;
|
package/dist/effect/topics.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 { topicsOperations } from "./descriptors/topics.js";
|
|
3
4
|
import { TopicsGroup } from "./generated/topics.js";
|
|
4
5
|
// src/effect/topics.ts
|
|
5
6
|
var topics_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -13,7 +14,7 @@ var topics_exports = /* @__PURE__ */ __exportAll({
|
|
|
13
14
|
setSubscriptions: () => setSubscriptions,
|
|
14
15
|
update: () => update
|
|
15
16
|
});
|
|
16
|
-
const make = /* @__PURE__ */ forGroup(TopicsGroup);
|
|
17
|
+
const make = /* @__PURE__ */ forGroup(TopicsGroup, topicsOperations);
|
|
17
18
|
const list = /* @__PURE__ */ make("topicsList");
|
|
18
19
|
const create = /* @__PURE__ */ make("topicsCreate");
|
|
19
20
|
const checkSubscription = /* @__PURE__ */ make("topicsCheckSubscription");
|