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
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export declare const listContactConnections: (input?: {
|
|
2
|
+
readonly provider?: string | undefined;
|
|
3
|
+
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"accountsListContactConnections">;
|
|
4
|
+
export declare const list: (input?: never, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"accountsList">;
|
|
5
|
+
export declare const get: (input: {
|
|
6
|
+
readonly accountId: string;
|
|
7
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"accountsGet">;
|
|
8
|
+
export declare const remove: (input: {
|
|
9
|
+
readonly accountId: string;
|
|
10
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"accountsRemove">;
|
|
11
|
+
export declare const check: (input: {
|
|
12
|
+
readonly accountId: string;
|
|
13
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"accountsCheck">;
|
|
14
|
+
export declare const connect: (input: {
|
|
15
|
+
readonly provider: string;
|
|
16
|
+
readonly input?: {
|
|
17
|
+
readonly [x: string]: string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | /*elided*/ any | {
|
|
18
|
+
readonly [x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null | undefined;
|
|
19
|
+
} | null)[] | {
|
|
20
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
21
|
+
} | null)[] | {
|
|
22
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
23
|
+
} | null)[] | {
|
|
24
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
25
|
+
} | null)[] | {
|
|
26
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
27
|
+
} | null)[] | {
|
|
28
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
29
|
+
} | null)[] | {
|
|
30
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
31
|
+
} | null)[] | {
|
|
32
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
33
|
+
} | null)[] | {
|
|
34
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
35
|
+
} | null)[] | {
|
|
36
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
37
|
+
} | null)[] | {
|
|
38
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
39
|
+
} | null)[] | {
|
|
40
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
41
|
+
} | null | undefined;
|
|
42
|
+
} | undefined;
|
|
43
|
+
readonly credentials?: {
|
|
44
|
+
readonly [x: string]: string | undefined;
|
|
45
|
+
} | undefined;
|
|
46
|
+
readonly app?: string | undefined;
|
|
47
|
+
readonly accountId?: string | undefined;
|
|
48
|
+
readonly expectedHosts?: readonly string[] | undefined;
|
|
49
|
+
readonly returnTo: string;
|
|
50
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"accountsConnect">;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { accountsOperations } from "./descriptors/accounts.js";
|
|
3
|
+
import { AccountsGroup } from "./generated/accounts.js";
|
|
4
|
+
import { forGroup } from "./internal/operation.js";
|
|
5
|
+
// src/effect/accounts.ts
|
|
6
|
+
var accounts_exports = /* @__PURE__ */ __exportAll({
|
|
7
|
+
check: () => check,
|
|
8
|
+
connect: () => connect,
|
|
9
|
+
get: () => get,
|
|
10
|
+
list: () => list,
|
|
11
|
+
listContactConnections: () => listContactConnections,
|
|
12
|
+
remove: () => remove
|
|
13
|
+
});
|
|
14
|
+
const make = /* @__PURE__ */ forGroup(AccountsGroup, accountsOperations);
|
|
15
|
+
const listContactConnections = /* @__PURE__ */ make("accountsListContactConnections");
|
|
16
|
+
const list = /* @__PURE__ */ make("accountsList");
|
|
17
|
+
const get = /* @__PURE__ */ make("accountsGet");
|
|
18
|
+
const remove = /* @__PURE__ */ make("accountsRemove");
|
|
19
|
+
const check = /* @__PURE__ */ make("accountsCheck");
|
|
20
|
+
const connect = /* @__PURE__ */ make("accountsConnect");
|
|
21
|
+
export { accounts_exports, check, connect, get, list, listContactConnections, remove };
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=accounts.js.map
|
package/dist/effect/agents.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export declare const rerunTests: (input: {
|
|
|
8
8
|
readonly endpointIds: readonly string[];
|
|
9
9
|
readonly integrations: readonly {
|
|
10
10
|
readonly integrationId: string;
|
|
11
|
+
readonly subject?: "contact" | "org" | undefined;
|
|
11
12
|
readonly tools: {
|
|
12
13
|
readonly kind: "all";
|
|
13
14
|
} | {
|
|
@@ -17,6 +18,8 @@ export declare const rerunTests: (input: {
|
|
|
17
18
|
readonly names: readonly string[];
|
|
18
19
|
};
|
|
19
20
|
}[];
|
|
21
|
+
readonly eventTriggers?: readonly string[] | undefined;
|
|
22
|
+
readonly followUpTemplate?: string | undefined;
|
|
20
23
|
readonly policy: {
|
|
21
24
|
readonly presets: readonly string[];
|
|
22
25
|
readonly rules: readonly ({
|
|
@@ -82,12 +85,12 @@ export declare const rerunTests: (input: {
|
|
|
82
85
|
} | null;
|
|
83
86
|
readonly takeoverTimeoutMinutes: number;
|
|
84
87
|
};
|
|
85
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"agentsRerunTests">;
|
|
88
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"agentsRerunTests">;
|
|
86
89
|
export declare const list: ((input?: {
|
|
87
90
|
readonly limit?: number | null | undefined;
|
|
88
91
|
readonly cursor?: string | undefined;
|
|
89
92
|
readonly namespaceId?: string | undefined;
|
|
90
|
-
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"agentsList">) & {
|
|
93
|
+
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"agentsList">) & {
|
|
91
94
|
readonly pages: (input?: {
|
|
92
95
|
readonly limit?: number | null | undefined;
|
|
93
96
|
readonly cursor?: string | undefined;
|
|
@@ -107,7 +110,7 @@ export declare const list: ((input?: {
|
|
|
107
110
|
readonly updatedAt: string;
|
|
108
111
|
}[];
|
|
109
112
|
readonly nextCursor: string | null;
|
|
110
|
-
}, 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>;
|
|
113
|
+
}, 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>;
|
|
111
114
|
readonly items: (input?: {
|
|
112
115
|
readonly limit?: number | null | undefined;
|
|
113
116
|
readonly cursor?: string | undefined;
|
|
@@ -124,7 +127,7 @@ export declare const list: ((input?: {
|
|
|
124
127
|
readonly monthlySpendCapDollars: number | null;
|
|
125
128
|
readonly createdAt: string;
|
|
126
129
|
readonly updatedAt: string;
|
|
127
|
-
}, 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>;
|
|
130
|
+
}, 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>;
|
|
128
131
|
};
|
|
129
132
|
export declare const create: (input: {
|
|
130
133
|
readonly name: string;
|
|
@@ -137,6 +140,7 @@ export declare const create: (input: {
|
|
|
137
140
|
readonly endpointIds: readonly string[];
|
|
138
141
|
readonly integrations: readonly {
|
|
139
142
|
readonly integrationId: string;
|
|
143
|
+
readonly subject?: "contact" | "org" | undefined;
|
|
140
144
|
readonly tools: {
|
|
141
145
|
readonly kind: "all";
|
|
142
146
|
} | {
|
|
@@ -146,6 +150,8 @@ export declare const create: (input: {
|
|
|
146
150
|
readonly names: readonly string[];
|
|
147
151
|
};
|
|
148
152
|
}[];
|
|
153
|
+
readonly eventTriggers?: readonly string[] | undefined;
|
|
154
|
+
readonly followUpTemplate?: string | undefined;
|
|
149
155
|
readonly policy: {
|
|
150
156
|
readonly presets: readonly string[];
|
|
151
157
|
readonly rules: readonly ({
|
|
@@ -211,19 +217,19 @@ export declare const create: (input: {
|
|
|
211
217
|
} | null;
|
|
212
218
|
readonly takeoverTimeoutMinutes: number;
|
|
213
219
|
} | null | undefined;
|
|
214
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"agentsCreate">;
|
|
215
|
-
export declare const listModels: (input?: never, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"agentsListModels">;
|
|
220
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"agentsCreate">;
|
|
221
|
+
export declare const listModels: (input?: never, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"agentsListModels">;
|
|
216
222
|
export declare const get: (input: {
|
|
217
223
|
readonly id: string;
|
|
218
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"agentsGet">;
|
|
224
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"agentsGet">;
|
|
219
225
|
export declare const update: (input: {
|
|
220
226
|
readonly id: string;
|
|
221
227
|
readonly name?: string | null | undefined;
|
|
222
228
|
readonly monthlySpendCapDollars?: number | null | undefined;
|
|
223
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"agentsUpdate">;
|
|
229
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"agentsUpdate">;
|
|
224
230
|
export declare const remove: (input: {
|
|
225
231
|
readonly id: string;
|
|
226
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"agentsRemove">;
|
|
232
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"agentsRemove">;
|
|
227
233
|
export declare const replaceDraft: (input: {
|
|
228
234
|
readonly id: string;
|
|
229
235
|
readonly revision: string;
|
|
@@ -234,6 +240,7 @@ export declare const replaceDraft: (input: {
|
|
|
234
240
|
readonly endpointIds: readonly string[];
|
|
235
241
|
readonly integrations: readonly {
|
|
236
242
|
readonly integrationId: string;
|
|
243
|
+
readonly subject?: "contact" | "org" | undefined;
|
|
237
244
|
readonly tools: {
|
|
238
245
|
readonly kind: "all";
|
|
239
246
|
} | {
|
|
@@ -243,6 +250,8 @@ export declare const replaceDraft: (input: {
|
|
|
243
250
|
readonly names: readonly string[];
|
|
244
251
|
};
|
|
245
252
|
}[];
|
|
253
|
+
readonly eventTriggers?: readonly string[] | undefined;
|
|
254
|
+
readonly followUpTemplate?: string | undefined;
|
|
246
255
|
readonly policy: {
|
|
247
256
|
readonly presets: readonly string[];
|
|
248
257
|
readonly rules: readonly ({
|
|
@@ -308,19 +317,19 @@ export declare const replaceDraft: (input: {
|
|
|
308
317
|
} | null;
|
|
309
318
|
readonly takeoverTimeoutMinutes: number;
|
|
310
319
|
};
|
|
311
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"agentsReplaceDraft">;
|
|
320
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"agentsReplaceDraft">;
|
|
312
321
|
export declare const publish: (input: {
|
|
313
322
|
readonly id: string;
|
|
314
323
|
readonly revision: string;
|
|
315
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"agentsPublish">;
|
|
324
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"agentsPublish">;
|
|
316
325
|
export declare const continueOnStandard: (input: {
|
|
317
326
|
readonly id: string;
|
|
318
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"agentsContinueOnStandard">;
|
|
327
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"agentsContinueOnStandard">;
|
|
319
328
|
export declare const listVersions: ((input: {
|
|
320
329
|
readonly id: string;
|
|
321
330
|
readonly limit?: number | null | undefined;
|
|
322
331
|
readonly cursor?: string | undefined;
|
|
323
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"agentsListVersions">) & {
|
|
332
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"agentsListVersions">) & {
|
|
324
333
|
readonly pages: (input: {
|
|
325
334
|
readonly id: string;
|
|
326
335
|
readonly limit?: number | null | undefined;
|
|
@@ -332,7 +341,7 @@ export declare const listVersions: ((input: {
|
|
|
332
341
|
readonly publishedAt: string;
|
|
333
342
|
}[];
|
|
334
343
|
readonly nextCursor: string | null;
|
|
335
|
-
}, 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>;
|
|
344
|
+
}, 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>;
|
|
336
345
|
readonly items: (input: {
|
|
337
346
|
readonly id: string;
|
|
338
347
|
readonly limit?: number | null | undefined;
|
|
@@ -341,9 +350,9 @@ export declare const listVersions: ((input: {
|
|
|
341
350
|
readonly agentId: string & import("effect/Brand").Brand<"AgentId">;
|
|
342
351
|
readonly version: number;
|
|
343
352
|
readonly publishedAt: string;
|
|
344
|
-
}, 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>;
|
|
353
|
+
}, 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>;
|
|
345
354
|
};
|
|
346
355
|
export declare const getVersion: (input: {
|
|
347
356
|
readonly id: string;
|
|
348
357
|
readonly version: string;
|
|
349
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"agentsGetVersion">;
|
|
358
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"agentsGetVersion">;
|
package/dist/effect/agents.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { AgentsGroup } from "./generated/agents.js";
|
|
3
2
|
import { forGroup } from "./internal/operation.js";
|
|
3
|
+
import { agentsOperations } from "./descriptors/agents.js";
|
|
4
|
+
import { AgentsGroup } from "./generated/agents.js";
|
|
4
5
|
// src/effect/agents.ts
|
|
5
6
|
var agents_exports = /* @__PURE__ */ __exportAll({
|
|
6
7
|
continueOnStandard: () => continueOnStandard,
|
|
@@ -16,7 +17,7 @@ var agents_exports = /* @__PURE__ */ __exportAll({
|
|
|
16
17
|
rerunTests: () => rerunTests,
|
|
17
18
|
update: () => update
|
|
18
19
|
});
|
|
19
|
-
const make = /* @__PURE__ */ forGroup(AgentsGroup);
|
|
20
|
+
const make = /* @__PURE__ */ forGroup(AgentsGroup, agentsOperations);
|
|
20
21
|
const rerunTests = /* @__PURE__ */ make("agentsRerunTests");
|
|
21
22
|
const list = /* @__PURE__ */ make("agentsList");
|
|
22
23
|
const create = /* @__PURE__ */ make("agentsCreate");
|
|
@@ -4,34 +4,34 @@ export declare const getStats: (input?: {
|
|
|
4
4
|
readonly before?: Date | undefined;
|
|
5
5
|
readonly groupBy?: "day" | "month" | "week" | undefined;
|
|
6
6
|
readonly channel?: "email" | "sms" | "whatsapp" | undefined;
|
|
7
|
-
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"analyticsGetStats">;
|
|
7
|
+
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"analyticsGetStats">;
|
|
8
8
|
export declare const getChannelStats: (input?: {
|
|
9
9
|
readonly namespaceId?: string | undefined;
|
|
10
10
|
readonly after?: Date | undefined;
|
|
11
11
|
readonly before?: Date | undefined;
|
|
12
|
-
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"analyticsGetChannelStats">;
|
|
12
|
+
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"analyticsGetChannelStats">;
|
|
13
13
|
export declare const getTopContacts: (input?: {
|
|
14
14
|
readonly namespaceId?: string | undefined;
|
|
15
15
|
readonly after?: Date | undefined;
|
|
16
16
|
readonly before?: Date | undefined;
|
|
17
17
|
readonly limit?: number | null | undefined;
|
|
18
18
|
readonly sortBy?: "received" | "sent" | "total" | undefined;
|
|
19
|
-
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"analyticsGetTopContacts">;
|
|
19
|
+
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"analyticsGetTopContacts">;
|
|
20
20
|
export declare const getHourlyDistribution: (input?: {
|
|
21
21
|
readonly namespaceId?: string | undefined;
|
|
22
22
|
readonly after?: Date | undefined;
|
|
23
23
|
readonly before?: Date | undefined;
|
|
24
|
-
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"analyticsGetHourlyDistribution">;
|
|
24
|
+
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"analyticsGetHourlyDistribution">;
|
|
25
25
|
export declare const getDeliveryMetrics: (input?: {
|
|
26
26
|
readonly namespaceId?: string | undefined;
|
|
27
27
|
readonly after?: Date | undefined;
|
|
28
28
|
readonly before?: Date | undefined;
|
|
29
29
|
readonly channel?: "email" | "sms" | "whatsapp" | undefined;
|
|
30
|
-
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"analyticsGetDeliveryMetrics">;
|
|
30
|
+
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"analyticsGetDeliveryMetrics">;
|
|
31
31
|
export declare const exportData: (input: {
|
|
32
32
|
readonly namespaceId?: string | null | undefined;
|
|
33
33
|
readonly after: Date;
|
|
34
34
|
readonly before: Date;
|
|
35
35
|
readonly format?: "csv" | "json" | null | undefined;
|
|
36
36
|
readonly includeChannels?: readonly ("email" | "sms" | "whatsapp")[] | null | undefined;
|
|
37
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"analyticsExportData">;
|
|
37
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"analyticsExportData">;
|
package/dist/effect/analytics.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 { analyticsOperations } from "./descriptors/analytics.js";
|
|
3
4
|
import { AnalyticsGroup } from "./generated/analytics.js";
|
|
4
5
|
// src/effect/analytics.ts
|
|
5
6
|
var analytics_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -10,7 +11,7 @@ var analytics_exports = /* @__PURE__ */ __exportAll({
|
|
|
10
11
|
getStats: () => getStats,
|
|
11
12
|
getTopContacts: () => getTopContacts
|
|
12
13
|
});
|
|
13
|
-
const make = /* @__PURE__ */ forGroup(AnalyticsGroup);
|
|
14
|
+
const make = /* @__PURE__ */ forGroup(AnalyticsGroup, analyticsOperations);
|
|
14
15
|
const getStats = /* @__PURE__ */ make("analyticsGetStats");
|
|
15
16
|
const getChannelStats = /* @__PURE__ */ make("analyticsGetChannelStats");
|
|
16
17
|
const getTopContacts = /* @__PURE__ */ make("analyticsGetTopContacts");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ApiKeysCreateRequestJson as CreatePayload, ApiKeysUpdateRequestJson as UpdatePayload, } from "./generated/api-keys";
|
|
1
|
+
export { ApiKeysCreateRequestJson as CreatePayload, ApiKeysUpdateRequestJson as UpdatePayload, } from "./generated/api-keys.js";
|
|
2
2
|
export declare const create: (input: {
|
|
3
3
|
readonly name: string;
|
|
4
4
|
readonly description?: string | null | undefined;
|
|
@@ -31,14 +31,14 @@ export declare const create: (input: {
|
|
|
31
31
|
} | null | undefined;
|
|
32
32
|
readonly namespaceId?: string | null | undefined;
|
|
33
33
|
} | null | undefined;
|
|
34
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"apiKeysCreate">;
|
|
34
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"apiKeysCreate">;
|
|
35
35
|
export declare const list: ((input?: {
|
|
36
36
|
readonly limit?: number | null | undefined;
|
|
37
37
|
readonly cursor?: string | undefined;
|
|
38
38
|
readonly namespaceId?: string | undefined;
|
|
39
39
|
readonly status?: "active" | "revoked" | undefined;
|
|
40
40
|
readonly search?: string | undefined;
|
|
41
|
-
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"apiKeysList">) & {
|
|
41
|
+
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"apiKeysList">) & {
|
|
42
42
|
readonly pages: (input?: {
|
|
43
43
|
readonly limit?: number | null | undefined;
|
|
44
44
|
readonly cursor?: string | undefined;
|
|
@@ -92,7 +92,7 @@ export declare const list: ((input?: {
|
|
|
92
92
|
} | null;
|
|
93
93
|
}[];
|
|
94
94
|
readonly nextCursor: string | null;
|
|
95
|
-
}, 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>;
|
|
95
|
+
}, 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>;
|
|
96
96
|
readonly items: (input?: {
|
|
97
97
|
readonly limit?: number | null | undefined;
|
|
98
98
|
readonly cursor?: string | undefined;
|
|
@@ -143,32 +143,32 @@ export declare const list: ((input?: {
|
|
|
143
143
|
readonly name: string;
|
|
144
144
|
readonly email: string;
|
|
145
145
|
} | null;
|
|
146
|
-
}, 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>;
|
|
146
|
+
}, 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>;
|
|
147
147
|
};
|
|
148
148
|
export declare const get: (input: {
|
|
149
149
|
readonly id: string;
|
|
150
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"apiKeysGet">;
|
|
150
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"apiKeysGet">;
|
|
151
151
|
export declare const update: (input: {
|
|
152
152
|
readonly id: string;
|
|
153
153
|
readonly name?: string | null | undefined;
|
|
154
154
|
readonly description?: string | null | undefined;
|
|
155
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"apiKeysUpdate">;
|
|
155
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"apiKeysUpdate">;
|
|
156
156
|
export declare const revoke: (input: {
|
|
157
157
|
readonly id: string;
|
|
158
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"apiKeysRevoke">;
|
|
158
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"apiKeysRevoke">;
|
|
159
159
|
export declare const rotate: (input: {
|
|
160
160
|
readonly id: string;
|
|
161
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"apiKeysRotate">;
|
|
161
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"apiKeysRotate">;
|
|
162
162
|
export declare const getStats: (input: {
|
|
163
163
|
readonly id: string;
|
|
164
164
|
readonly after?: string | undefined;
|
|
165
165
|
readonly before?: string | undefined;
|
|
166
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"apiKeysGetStats">;
|
|
166
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"apiKeysGetStats">;
|
|
167
167
|
export declare const getActivity: ((input: {
|
|
168
168
|
readonly id: string;
|
|
169
169
|
readonly limit?: number | null | undefined;
|
|
170
170
|
readonly cursor?: string | undefined;
|
|
171
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"apiKeysGetActivity">) & {
|
|
171
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"apiKeysGetActivity">) & {
|
|
172
172
|
readonly pages: (input: {
|
|
173
173
|
readonly id: string;
|
|
174
174
|
readonly limit?: number | null | undefined;
|
|
@@ -183,7 +183,7 @@ export declare const getActivity: ((input: {
|
|
|
183
183
|
readonly latency: number;
|
|
184
184
|
}[];
|
|
185
185
|
readonly nextCursor: string | null;
|
|
186
|
-
}, 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>;
|
|
186
|
+
}, 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>;
|
|
187
187
|
readonly items: (input: {
|
|
188
188
|
readonly id: string;
|
|
189
189
|
readonly limit?: number | null | undefined;
|
|
@@ -195,5 +195,5 @@ export declare const getActivity: ((input: {
|
|
|
195
195
|
readonly endpoint: string;
|
|
196
196
|
readonly statusCode: number;
|
|
197
197
|
readonly latency: number;
|
|
198
|
-
}, 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>;
|
|
198
|
+
}, 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>;
|
|
199
199
|
};
|
package/dist/effect/api-keys.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 { apiKeysOperations } from "./descriptors/api-keys.js";
|
|
3
4
|
import { APIKeysGroup, ApiKeysCreateRequestJson, ApiKeysUpdateRequestJson } from "./generated/api-keys.js";
|
|
4
5
|
// src/effect/api-keys.ts
|
|
5
6
|
var api_keys_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -14,7 +15,7 @@ var api_keys_exports = /* @__PURE__ */ __exportAll({
|
|
|
14
15
|
rotate: () => rotate,
|
|
15
16
|
update: () => update
|
|
16
17
|
});
|
|
17
|
-
const make = /* @__PURE__ */ forGroup(APIKeysGroup);
|
|
18
|
+
const make = /* @__PURE__ */ forGroup(APIKeysGroup, apiKeysOperations);
|
|
18
19
|
const create = /* @__PURE__ */ make("apiKeysCreate");
|
|
19
20
|
const list = /* @__PURE__ */ make("apiKeysList");
|
|
20
21
|
const get = /* @__PURE__ */ make("apiKeysGet");
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export declare const create: (input: {
|
|
2
|
+
readonly intent: string;
|
|
3
|
+
readonly calls: readonly {
|
|
4
|
+
readonly toolName: string;
|
|
5
|
+
readonly arguments: {
|
|
6
|
+
readonly [x: string]: string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | /*elided*/ any | {
|
|
7
|
+
readonly [x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null | undefined;
|
|
8
|
+
} | null)[] | {
|
|
9
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
10
|
+
} | null)[] | {
|
|
11
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
12
|
+
} | null)[] | {
|
|
13
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
14
|
+
} | null)[] | {
|
|
15
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
16
|
+
} | null)[] | {
|
|
17
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
18
|
+
} | null)[] | {
|
|
19
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
20
|
+
} | null)[] | {
|
|
21
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
22
|
+
} | null)[] | {
|
|
23
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
24
|
+
} | null)[] | {
|
|
25
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
26
|
+
} | null)[] | {
|
|
27
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
28
|
+
} | null | undefined;
|
|
29
|
+
};
|
|
30
|
+
}[];
|
|
31
|
+
readonly idempotencyKey: string;
|
|
32
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"approvalRequestsCreate">;
|
|
33
|
+
export declare const get: (input: {
|
|
34
|
+
readonly id: string;
|
|
35
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"approvalRequestsGet">;
|
|
36
|
+
export declare const approve: (input: {
|
|
37
|
+
readonly id: string;
|
|
38
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"approvalRequestsApprove">;
|
|
39
|
+
export declare const reject: (input: {
|
|
40
|
+
readonly id: string;
|
|
41
|
+
readonly reason?: string | null | undefined;
|
|
42
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"approvalRequestsReject">;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { forGroup } from "./internal/operation.js";
|
|
3
|
+
import { approvalRequestsOperations } from "./descriptors/approval-requests.js";
|
|
4
|
+
import { ApprovalRequestsGroup } from "./generated/approval-requests.js";
|
|
5
|
+
// src/effect/approval-requests.ts
|
|
6
|
+
var approval_requests_exports = /* @__PURE__ */ __exportAll({
|
|
7
|
+
approve: () => approve,
|
|
8
|
+
create: () => create,
|
|
9
|
+
get: () => get,
|
|
10
|
+
reject: () => reject
|
|
11
|
+
});
|
|
12
|
+
const make = /* @__PURE__ */ forGroup(ApprovalRequestsGroup, approvalRequestsOperations);
|
|
13
|
+
const create = /* @__PURE__ */ make("approvalRequestsCreate");
|
|
14
|
+
const get = /* @__PURE__ */ make("approvalRequestsGet");
|
|
15
|
+
const approve = /* @__PURE__ */ make("approvalRequestsApprove");
|
|
16
|
+
const reject = /* @__PURE__ */ make("approvalRequestsReject");
|
|
17
|
+
export { approval_requests_exports, approve, create, get, reject };
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=approval-requests.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export declare const getById: (input: {
|
|
2
2
|
readonly id: string;
|
|
3
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"attachmentsGetById">;
|
|
3
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"attachmentsGetById">;
|
|
4
4
|
export declare const remove: (input: {
|
|
5
5
|
readonly id: string;
|
|
6
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"attachmentsRemove">;
|
|
6
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"attachmentsRemove">;
|
|
7
7
|
export declare const list: (input: {
|
|
8
8
|
readonly messageId: string;
|
|
9
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"attachmentsList">;
|
|
9
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"attachmentsList">;
|
|
10
10
|
export declare const downloadUrl: (input: {
|
|
11
11
|
readonly id: string;
|
|
12
12
|
readonly expiresIn?: number | null | undefined;
|
|
13
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"attachmentsDownloadUrl">;
|
|
13
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"attachmentsDownloadUrl">;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { forGroup } from "./internal/operation.js";
|
|
3
|
+
import { attachmentsOperations } from "./descriptors/attachments.js";
|
|
3
4
|
import { AttachmentsGroup } from "./generated/attachments.js";
|
|
4
5
|
// src/effect/attachments.ts
|
|
5
6
|
var attachments_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -8,7 +9,7 @@ var attachments_exports = /* @__PURE__ */ __exportAll({
|
|
|
8
9
|
list: () => list,
|
|
9
10
|
remove: () => remove
|
|
10
11
|
});
|
|
11
|
-
const make = /* @__PURE__ */ forGroup(AttachmentsGroup);
|
|
12
|
+
const make = /* @__PURE__ */ forGroup(AttachmentsGroup, attachmentsOperations);
|
|
12
13
|
const getById = /* @__PURE__ */ make("attachmentsGetById");
|
|
13
14
|
const remove = /* @__PURE__ */ make("attachmentsRemove");
|
|
14
15
|
const list = /* @__PURE__ */ make("attachmentsList");
|
package/dist/effect/brands.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { CreateBrand as CreatePayload, UpdateBrand as UpdatePayload } from "./generated/shared";
|
|
2
|
-
export declare const list: (input?: never, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"brandsList">;
|
|
1
|
+
export { CreateBrand as CreatePayload, UpdateBrand as UpdatePayload } from "./generated/shared.js";
|
|
2
|
+
export declare const list: (input?: never, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"brandsList">;
|
|
3
3
|
export declare const create: (input: {
|
|
4
4
|
readonly slug: string;
|
|
5
5
|
readonly name: string;
|
|
@@ -26,10 +26,10 @@ export declare const create: (input: {
|
|
|
26
26
|
}[] | null | undefined;
|
|
27
27
|
} | null | undefined;
|
|
28
28
|
readonly isDefault?: boolean | null | undefined;
|
|
29
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"brandsCreate">;
|
|
29
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"brandsCreate">;
|
|
30
30
|
export declare const get: (input: {
|
|
31
31
|
readonly slug: string;
|
|
32
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"brandsGet">;
|
|
32
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"brandsGet">;
|
|
33
33
|
export declare const update: (input: {
|
|
34
34
|
readonly slug: string;
|
|
35
35
|
readonly newSlug?: string | null | undefined;
|
|
@@ -56,10 +56,10 @@ export declare const update: (input: {
|
|
|
56
56
|
readonly url: string;
|
|
57
57
|
}[] | null | undefined;
|
|
58
58
|
} | null | undefined;
|
|
59
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"brandsUpdate">;
|
|
59
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"brandsUpdate">;
|
|
60
60
|
export declare const remove: (input: {
|
|
61
61
|
readonly slug: string;
|
|
62
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"brandsRemove">;
|
|
62
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"brandsRemove">;
|
|
63
63
|
export declare const setDefault: (input: {
|
|
64
64
|
readonly slug: string;
|
|
65
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"brandsSetDefault">;
|
|
65
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"brandsSetDefault">;
|
package/dist/effect/brands.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { CreateBrand, UpdateBrand } from "./generated/shared.js";
|
|
3
3
|
import { forGroup } from "./internal/operation.js";
|
|
4
|
+
import { brandsOperations } from "./descriptors/brands.js";
|
|
4
5
|
import { BrandsGroup } from "./generated/brands.js";
|
|
5
6
|
// src/effect/brands.ts
|
|
6
7
|
var brands_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -13,7 +14,7 @@ var brands_exports = /* @__PURE__ */ __exportAll({
|
|
|
13
14
|
setDefault: () => setDefault,
|
|
14
15
|
update: () => update
|
|
15
16
|
});
|
|
16
|
-
const make = /* @__PURE__ */ forGroup(BrandsGroup);
|
|
17
|
+
const make = /* @__PURE__ */ forGroup(BrandsGroup, brandsOperations);
|
|
17
18
|
const list = /* @__PURE__ */ make("brandsList");
|
|
18
19
|
const create = /* @__PURE__ */ make("brandsCreate");
|
|
19
20
|
const get = /* @__PURE__ */ make("brandsGet");
|