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,4 +1,4 @@
|
|
|
1
|
-
export { CreateWebhookPayload as CreatePayload, TestWebhookPayload as TestPayload, UpdateWebhookPayload as UpdatePayload, } from "./generated/shared";
|
|
1
|
+
export { CreateWebhookPayload as CreatePayload, TestWebhookPayload as TestPayload, UpdateWebhookPayload as UpdatePayload, } from "./generated/shared.js";
|
|
2
2
|
export declare const create: (input: {
|
|
3
3
|
readonly name: string;
|
|
4
4
|
readonly url: string;
|
|
@@ -10,14 +10,14 @@ export declare const create: (input: {
|
|
|
10
10
|
readonly [x: string]: string | undefined;
|
|
11
11
|
} | null | undefined;
|
|
12
12
|
readonly status?: "active" | "disabled" | null | undefined;
|
|
13
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"webhooksCreate">;
|
|
13
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"webhooksCreate">;
|
|
14
14
|
export declare const list: ((input?: {
|
|
15
15
|
readonly limit?: number | null | undefined;
|
|
16
16
|
readonly cursor?: string | undefined;
|
|
17
17
|
readonly namespaceId?: string | undefined;
|
|
18
18
|
readonly search?: string | undefined;
|
|
19
19
|
readonly status?: "active" | "disabled" | undefined;
|
|
20
|
-
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"webhooksList">) & {
|
|
20
|
+
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"webhooksList">) & {
|
|
21
21
|
readonly pages: (input?: {
|
|
22
22
|
readonly limit?: number | null | undefined;
|
|
23
23
|
readonly cursor?: string | undefined;
|
|
@@ -48,7 +48,7 @@ export declare const list: ((input?: {
|
|
|
48
48
|
};
|
|
49
49
|
}[];
|
|
50
50
|
readonly nextCursor: string | null;
|
|
51
|
-
}, 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>;
|
|
51
|
+
}, 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>;
|
|
52
52
|
readonly items: (input?: {
|
|
53
53
|
readonly limit?: number | null | undefined;
|
|
54
54
|
readonly cursor?: string | undefined;
|
|
@@ -76,11 +76,11 @@ export declare const list: ((input?: {
|
|
|
76
76
|
readonly exhausted: number;
|
|
77
77
|
readonly cancelled: number;
|
|
78
78
|
};
|
|
79
|
-
}, 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>;
|
|
79
|
+
}, 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>;
|
|
80
80
|
};
|
|
81
81
|
export declare const get: (input: {
|
|
82
82
|
readonly id: string;
|
|
83
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"webhooksGet">;
|
|
83
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"webhooksGet">;
|
|
84
84
|
export declare const update: (input: {
|
|
85
85
|
readonly id: string;
|
|
86
86
|
readonly name?: string | null | undefined;
|
|
@@ -93,10 +93,10 @@ export declare const update: (input: {
|
|
|
93
93
|
readonly [x: string]: string | undefined;
|
|
94
94
|
} | null | undefined;
|
|
95
95
|
readonly status?: "active" | "disabled" | null | undefined;
|
|
96
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"webhooksUpdate">;
|
|
96
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"webhooksUpdate">;
|
|
97
97
|
export declare const remove: (input: {
|
|
98
98
|
readonly id: string;
|
|
99
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"webhooksRemove">;
|
|
99
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"webhooksRemove">;
|
|
100
100
|
export declare const test: (input: {
|
|
101
101
|
readonly id: string;
|
|
102
102
|
readonly data?: {
|
|
@@ -126,12 +126,12 @@ export declare const test: (input: {
|
|
|
126
126
|
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
127
127
|
} | null | undefined;
|
|
128
128
|
} | null | undefined;
|
|
129
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"webhooksTest">;
|
|
129
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"webhooksTest">;
|
|
130
130
|
export declare const getLogs: ((input: {
|
|
131
131
|
readonly id: string;
|
|
132
132
|
readonly limit?: number | null | undefined;
|
|
133
133
|
readonly cursor?: string | undefined;
|
|
134
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"webhooksGetLogs">) & {
|
|
134
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"webhooksGetLogs">) & {
|
|
135
135
|
readonly pages: (input: {
|
|
136
136
|
readonly id: string;
|
|
137
137
|
readonly limit?: number | null | undefined;
|
|
@@ -168,7 +168,7 @@ export declare const getLogs: ((input: {
|
|
|
168
168
|
}[];
|
|
169
169
|
}[];
|
|
170
170
|
readonly nextCursor: string | null;
|
|
171
|
-
}, 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>;
|
|
171
|
+
}, 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>;
|
|
172
172
|
readonly items: (input: {
|
|
173
173
|
readonly id: string;
|
|
174
174
|
readonly limit?: number | null | undefined;
|
|
@@ -202,20 +202,20 @@ export declare const getLogs: ((input: {
|
|
|
202
202
|
readonly errorMessage: string | null;
|
|
203
203
|
readonly createdAt: string;
|
|
204
204
|
}[];
|
|
205
|
-
}, 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>;
|
|
205
|
+
}, 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>;
|
|
206
206
|
};
|
|
207
207
|
export declare const getStats: (input: {
|
|
208
208
|
readonly id: string;
|
|
209
209
|
readonly after?: string | undefined;
|
|
210
210
|
readonly before?: string | undefined;
|
|
211
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"webhooksGetStats">;
|
|
211
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"webhooksGetStats">;
|
|
212
212
|
export declare const retryDelivery: (input: {
|
|
213
213
|
readonly id: string;
|
|
214
214
|
readonly deliveryId: string;
|
|
215
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"webhooksRetryDelivery">;
|
|
215
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"webhooksRetryDelivery">;
|
|
216
216
|
export declare const regenerateSecret: (input: {
|
|
217
217
|
readonly id: string;
|
|
218
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"webhooksRegenerateSecret">;
|
|
218
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"webhooksRegenerateSecret">;
|
|
219
219
|
export declare const getSecret: (input: {
|
|
220
220
|
readonly id: string;
|
|
221
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"webhooksGetSecret">;
|
|
221
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"webhooksGetSecret">;
|
package/dist/effect/webhooks.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { CreateWebhookPayload, TestWebhookPayload, UpdateWebhookPayload } from "./generated/shared.js";
|
|
3
3
|
import { forGroup } from "./internal/operation.js";
|
|
4
|
+
import { webhooksOperations } from "./descriptors/webhooks.js";
|
|
4
5
|
import { WebhooksGroup } from "./generated/webhooks.js";
|
|
5
6
|
// src/effect/webhooks.ts
|
|
6
7
|
var webhooks_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -19,7 +20,7 @@ var webhooks_exports = /* @__PURE__ */ __exportAll({
|
|
|
19
20
|
test: () => test,
|
|
20
21
|
update: () => update
|
|
21
22
|
});
|
|
22
|
-
const make = /* @__PURE__ */ forGroup(WebhooksGroup);
|
|
23
|
+
const make = /* @__PURE__ */ forGroup(WebhooksGroup, webhooksOperations);
|
|
23
24
|
const create = /* @__PURE__ */ make("webhooksCreate");
|
|
24
25
|
const list = /* @__PURE__ */ make("webhooksList");
|
|
25
26
|
const get = /* @__PURE__ */ make("webhooksGet");
|
|
@@ -2,33 +2,33 @@ export declare const create: (input: {
|
|
|
2
2
|
readonly projectId: string;
|
|
3
3
|
readonly handle: string;
|
|
4
4
|
readonly categories: readonly ("APPOINTMENT_BOOKING" | "CONTACT_US" | "CUSTOMER_SUPPORT" | "LEAD_GENERATION" | "OTHER" | "SIGN_IN" | "SIGN_UP" | "SURVEY")[];
|
|
5
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"whatsappFlowsCreate">;
|
|
6
|
-
export declare const list: (input?: never, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"whatsappFlowsList">;
|
|
5
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"whatsappFlowsCreate">;
|
|
6
|
+
export declare const list: (input?: never, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"whatsappFlowsList">;
|
|
7
7
|
export declare const get: (input: {
|
|
8
8
|
readonly id: string;
|
|
9
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"whatsappFlowsGet">;
|
|
9
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"whatsappFlowsGet">;
|
|
10
10
|
export declare const recordVersion: (input: {
|
|
11
11
|
readonly id: string;
|
|
12
12
|
readonly commitSha: string;
|
|
13
13
|
readonly expectedWorkspaceRevision: string;
|
|
14
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"whatsappFlowsRecordVersion">;
|
|
14
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"whatsappFlowsRecordVersion">;
|
|
15
15
|
export declare const listVersions: (input: {
|
|
16
16
|
readonly id: string;
|
|
17
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"whatsappFlowsListVersions">;
|
|
17
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"whatsappFlowsListVersions">;
|
|
18
18
|
export declare const register: (input: {
|
|
19
19
|
readonly id: string;
|
|
20
20
|
readonly businessAccountId?: string | undefined;
|
|
21
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"whatsappFlowsRegister">;
|
|
21
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"whatsappFlowsRegister">;
|
|
22
22
|
export declare const listRegistrations: (input: {
|
|
23
23
|
readonly id: string;
|
|
24
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"whatsappFlowsListRegistrations">;
|
|
24
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"whatsappFlowsListRegistrations">;
|
|
25
25
|
export declare const rotateEncryptionKey: (input?: {
|
|
26
26
|
readonly businessAccountId?: string | undefined;
|
|
27
|
-
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"whatsappFlowsRotateEncryptionKey">;
|
|
27
|
+
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"whatsappFlowsRotateEncryptionKey">;
|
|
28
28
|
export declare const setEndpoint: (input: {
|
|
29
29
|
readonly id: string;
|
|
30
30
|
readonly url: string;
|
|
31
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"whatsappFlowsSetEndpoint">;
|
|
31
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"whatsappFlowsSetEndpoint">;
|
|
32
32
|
export declare const rotateEndpointSecret: (input: {
|
|
33
33
|
readonly id: string;
|
|
34
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"whatsappFlowsRotateEndpointSecret">;
|
|
34
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"whatsappFlowsRotateEndpointSecret">;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { forGroup } from "./internal/operation.js";
|
|
3
|
+
import { whatsappFlowsOperations } from "./descriptors/whats-app-flows.js";
|
|
3
4
|
import { WhatsAppFlowsGroup } from "./generated/whats-app-flows.js";
|
|
4
5
|
// src/effect/whatsapp-flows.ts
|
|
5
6
|
var whatsapp_flows_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -14,7 +15,7 @@ var whatsapp_flows_exports = /* @__PURE__ */ __exportAll({
|
|
|
14
15
|
rotateEndpointSecret: () => rotateEndpointSecret,
|
|
15
16
|
setEndpoint: () => setEndpoint
|
|
16
17
|
});
|
|
17
|
-
const make = /* @__PURE__ */ forGroup(WhatsAppFlowsGroup);
|
|
18
|
+
const make = /* @__PURE__ */ forGroup(WhatsAppFlowsGroup, whatsappFlowsOperations);
|
|
18
19
|
const create = /* @__PURE__ */ make("whatsappFlowsCreate");
|
|
19
20
|
const list = /* @__PURE__ */ make("whatsappFlowsList");
|
|
20
21
|
const get = /* @__PURE__ */ make("whatsappFlowsGet");
|
|
@@ -5,13 +5,13 @@ export declare const create: (input: {
|
|
|
5
5
|
readonly [x: string]: string | undefined;
|
|
6
6
|
} | null | undefined;
|
|
7
7
|
readonly expiresAt?: string | null | undefined;
|
|
8
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"whatsappSetupLinksCreate">;
|
|
8
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"whatsappSetupLinksCreate">;
|
|
9
9
|
export declare const list: ((input?: {
|
|
10
10
|
readonly limit?: number | null | undefined;
|
|
11
11
|
readonly cursor?: string | undefined;
|
|
12
12
|
readonly namespaceId?: string | undefined;
|
|
13
13
|
readonly status?: "completed" | "expired" | "pending" | "revoked" | undefined;
|
|
14
|
-
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"whatsappSetupLinksList">) & {
|
|
14
|
+
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"whatsappSetupLinksList">) & {
|
|
15
15
|
readonly pages: (input?: {
|
|
16
16
|
readonly limit?: number | null | undefined;
|
|
17
17
|
readonly cursor?: string | undefined;
|
|
@@ -35,7 +35,7 @@ export declare const list: ((input?: {
|
|
|
35
35
|
readonly updatedAt: string;
|
|
36
36
|
}[];
|
|
37
37
|
readonly nextCursor: string | null;
|
|
38
|
-
}, import("./errors").FlagDisabledError | 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>;
|
|
38
|
+
}, import("./errors.js").FlagDisabledError | import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
39
39
|
readonly items: (input?: {
|
|
40
40
|
readonly limit?: number | null | undefined;
|
|
41
41
|
readonly cursor?: string | undefined;
|
|
@@ -56,11 +56,11 @@ export declare const list: ((input?: {
|
|
|
56
56
|
readonly revokedAt: string | null;
|
|
57
57
|
readonly createdAt: string;
|
|
58
58
|
readonly updatedAt: string;
|
|
59
|
-
}, import("./errors").FlagDisabledError | 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>;
|
|
59
|
+
}, import("./errors.js").FlagDisabledError | import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
60
60
|
};
|
|
61
61
|
export declare const get: (input: {
|
|
62
62
|
readonly linkId: string;
|
|
63
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"whatsappSetupLinksGet">;
|
|
63
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"whatsappSetupLinksGet">;
|
|
64
64
|
export declare const revoke: (input: {
|
|
65
65
|
readonly linkId: string;
|
|
66
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"whatsappSetupLinksRevoke">;
|
|
66
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"whatsappSetupLinksRevoke">;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { forGroup } from "./internal/operation.js";
|
|
3
|
+
import { whatsappSetupLinksOperations } from "./descriptors/whats-app-setup-links.js";
|
|
3
4
|
import { WhatsAppSetupLinksGroup } from "./generated/whats-app-setup-links.js";
|
|
4
5
|
// src/effect/whatsapp-setup-links.ts
|
|
5
6
|
var whatsapp_setup_links_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -8,7 +9,7 @@ var whatsapp_setup_links_exports = /* @__PURE__ */ __exportAll({
|
|
|
8
9
|
list: () => list,
|
|
9
10
|
revoke: () => revoke
|
|
10
11
|
});
|
|
11
|
-
const make = /* @__PURE__ */ forGroup(WhatsAppSetupLinksGroup);
|
|
12
|
+
const make = /* @__PURE__ */ forGroup(WhatsAppSetupLinksGroup, whatsappSetupLinksOperations);
|
|
12
13
|
const create = /* @__PURE__ */ make("whatsappSetupLinksCreate");
|
|
13
14
|
const list = /* @__PURE__ */ make("whatsappSetupLinksList");
|
|
14
15
|
const get = /* @__PURE__ */ make("whatsappSetupLinksGet");
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
export declare const getStats: (input?: {
|
|
2
2
|
readonly startDate?: string | undefined;
|
|
3
3
|
readonly endDate?: string | undefined;
|
|
4
|
-
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"whatsappGetStats">;
|
|
4
|
+
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"whatsappGetStats">;
|
|
5
5
|
export declare const getTemplateStats: (input?: {
|
|
6
6
|
readonly startDate?: string | undefined;
|
|
7
7
|
readonly endDate?: string | undefined;
|
|
8
8
|
readonly templateId?: string | undefined;
|
|
9
9
|
readonly campaignId?: string | undefined;
|
|
10
10
|
readonly journeyId?: string | undefined;
|
|
11
|
-
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"whatsappGetTemplateStats">;
|
|
11
|
+
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"whatsappGetTemplateStats">;
|
|
12
12
|
export declare const getServiceWindowStatus: (input: {
|
|
13
13
|
readonly customerPhone: string;
|
|
14
14
|
readonly businessPhone: string;
|
|
15
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"whatsappGetServiceWindowStatus">;
|
|
15
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"whatsappGetServiceWindowStatus">;
|
|
16
16
|
export declare const getServiceWindowBilling: (input: {
|
|
17
17
|
readonly serviceWindowId: string;
|
|
18
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"whatsappGetServiceWindowBilling">;
|
|
18
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"whatsappGetServiceWindowBilling">;
|
|
19
19
|
export declare const getMediaDownloadUrl: (input: {
|
|
20
20
|
readonly deliveryId: string;
|
|
21
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"whatsappGetMediaDownloadUrl">;
|
|
21
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"whatsappGetMediaDownloadUrl">;
|
|
22
22
|
export declare const listBusinessAccounts: (input?: {
|
|
23
23
|
readonly page?: number | null | undefined;
|
|
24
24
|
readonly limit?: number | null | undefined;
|
|
25
25
|
readonly isActive?: boolean | null | undefined;
|
|
26
26
|
readonly verificationStatus?: "failed" | "pending" | "suspended" | "verified" | undefined;
|
|
27
27
|
readonly namespaceId?: string | undefined;
|
|
28
|
-
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"whatsappListBusinessAccounts">;
|
|
28
|
+
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"whatsappListBusinessAccounts">;
|
|
29
29
|
export declare const connectBusinessAccount: (input: {
|
|
30
30
|
readonly code: string | import("effect/Redacted").Redacted<string>;
|
|
31
31
|
readonly wabaId: string;
|
|
32
32
|
readonly phoneNumberId: string;
|
|
33
33
|
readonly namespaceId?: string | null | undefined;
|
|
34
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"whatsappConnectBusinessAccount">;
|
|
34
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"whatsappConnectBusinessAccount">;
|
|
35
35
|
export declare const getBusinessAccount: (input: {
|
|
36
36
|
readonly accountId: string;
|
|
37
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"whatsappGetBusinessAccount">;
|
|
37
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"whatsappGetBusinessAccount">;
|
|
38
38
|
export declare const updateBusinessAccount: (input: {
|
|
39
39
|
readonly accountId: string;
|
|
40
40
|
readonly displayName?: string | null | undefined;
|
|
41
41
|
readonly webhookUrl?: string | null | undefined;
|
|
42
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"whatsappUpdateBusinessAccount">;
|
|
42
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"whatsappUpdateBusinessAccount">;
|
|
43
43
|
export declare const disconnectBusinessAccount: (input: {
|
|
44
44
|
readonly accountId: string;
|
|
45
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"whatsappDisconnectBusinessAccount">;
|
|
45
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"whatsappDisconnectBusinessAccount">;
|
|
46
46
|
export declare const setDefaultBusinessAccount: (input: {
|
|
47
47
|
readonly accountId: string;
|
|
48
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"whatsappSetDefaultBusinessAccount">;
|
|
48
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"whatsappSetDefaultBusinessAccount">;
|
|
49
49
|
export declare const syncAccountStatus: (input: {
|
|
50
50
|
readonly accountId: string;
|
|
51
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"whatsappSyncAccountStatus">;
|
|
51
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"whatsappSyncAccountStatus">;
|
package/dist/effect/whatsapp.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 { whatsappOperations } from "./descriptors/whats-app.js";
|
|
3
4
|
import { WhatsAppGroup } from "./generated/whats-app.js";
|
|
4
5
|
// src/effect/whatsapp.ts
|
|
5
6
|
var whatsapp_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -16,7 +17,7 @@ var whatsapp_exports = /* @__PURE__ */ __exportAll({
|
|
|
16
17
|
syncAccountStatus: () => syncAccountStatus,
|
|
17
18
|
updateBusinessAccount: () => updateBusinessAccount
|
|
18
19
|
});
|
|
19
|
-
const make = /* @__PURE__ */ forGroup(WhatsAppGroup);
|
|
20
|
+
const make = /* @__PURE__ */ forGroup(WhatsAppGroup, whatsappOperations);
|
|
20
21
|
const getStats = /* @__PURE__ */ make("whatsappGetStats");
|
|
21
22
|
const getTemplateStats = /* @__PURE__ */ make("whatsappGetTemplateStats");
|
|
22
23
|
const getServiceWindowStatus = /* @__PURE__ */ make("whatsappGetServiceWindowStatus");
|
package/dist/effect/whoami.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const get: (input?: never, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"whoamiGet">;
|
|
1
|
+
export declare const get: (input?: never, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"whoamiGet">;
|
package/dist/effect/whoami.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { forGroup } from "./internal/operation.js";
|
|
3
|
+
import { whoamiOperations } from "./descriptors/whoami.js";
|
|
3
4
|
import { WhoamiGroup } from "./generated/whoami.js";
|
|
4
5
|
// src/effect/whoami.ts
|
|
5
6
|
var whoami_exports = /* @__PURE__ */ __exportAll({ get: () => get });
|
|
6
|
-
const get = /* @__PURE__ */ (/* @__PURE__ */ forGroup(WhoamiGroup))("whoamiGet");
|
|
7
|
+
const get = /* @__PURE__ */ (/* @__PURE__ */ forGroup(WhoamiGroup, whoamiOperations))("whoamiGet");
|
|
7
8
|
export { get, whoami_exports };
|
|
8
9
|
|
|
9
10
|
//# sourceMappingURL=whoami.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./promises/index";
|
|
1
|
+
export * from "./promises/index.js";
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AnalyticsQueryError, BillingProviderError, BrandAddressRequiredError, CampaignFooterRequiredError, ConflictError, CredentialsError, DeliveryUnavailableError, EmailChannelError, ExternalServiceError, FlagDisabledError, ForbiddenError, FromAddressRequiredError, GatewayTimeoutError, InternalError, MailboxSendConflictError, MailboxSendRefusedError, MalformedRequestError, OnboardingReviewRequiredError, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, SamvaApiError, SamvaTransportError, SenderNotReadyError, ServiceUnavailableError, TemplateInUseError, TemplateSourceError, UnauthorizedError, ValidationError, WhatsAppChannelError, WhatsAppServiceWindowClosedError, WhatsAppSetupLinkUnavailableError, fromApiError } from "./promises/errors.gen.js";
|
|
1
|
+
import { AnalyticsQueryError, BillingProviderError, BrandAddressRequiredError, CampaignFooterRequiredError, ConflictError, CredentialsError, DeliveryUnavailableError, EmailChannelError, ExternalServiceError, FlagDisabledError, ForbiddenError, FromAddressRequiredError, GatewayTimeoutError, InternalError, MailboxSendConflictError, MailboxSendRefusedError, MalformedRequestError, OnboardingReviewRequiredError, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, SamvaApiError, SamvaTransportError, SenderNotReadyError, ServiceUnavailableError, ShareLinkUnavailable, SlugTaken, TemplateInUseError, TemplateSourceError, UnauthorizedError, ValidationError, WhatsAppChannelError, WhatsAppServiceWindowClosedError, WhatsAppSetupLinkUnavailableError, fromApiError } from "./promises/errors.gen.js";
|
|
2
2
|
import { MediaUploadError } from "./inline-attachments.js";
|
|
3
3
|
import { MailboxEventStream, MailboxEventStreamError } from "./mailbox-events.js";
|
|
4
4
|
import { createClient } from "./promises/client.js";
|
|
5
|
-
export { AnalyticsQueryError, BillingProviderError, BrandAddressRequiredError, CampaignFooterRequiredError, ConflictError, CredentialsError, DeliveryUnavailableError, EmailChannelError, ExternalServiceError, FlagDisabledError, ForbiddenError, FromAddressRequiredError, GatewayTimeoutError, InternalError, MailboxEventStream, MailboxEventStreamError, MailboxSendConflictError, MailboxSendRefusedError, MalformedRequestError, MediaUploadError, OnboardingReviewRequiredError, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, SamvaApiError, SamvaTransportError, SenderNotReadyError, ServiceUnavailableError, TemplateInUseError, TemplateSourceError, UnauthorizedError, ValidationError, WhatsAppChannelError, WhatsAppServiceWindowClosedError, WhatsAppSetupLinkUnavailableError, createClient, fromApiError };
|
|
5
|
+
export { AnalyticsQueryError, BillingProviderError, BrandAddressRequiredError, CampaignFooterRequiredError, ConflictError, CredentialsError, DeliveryUnavailableError, EmailChannelError, ExternalServiceError, FlagDisabledError, ForbiddenError, FromAddressRequiredError, GatewayTimeoutError, InternalError, MailboxEventStream, MailboxEventStreamError, MailboxSendConflictError, MailboxSendRefusedError, MalformedRequestError, MediaUploadError, OnboardingReviewRequiredError, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, SamvaApiError, SamvaTransportError, SenderNotReadyError, ServiceUnavailableError, ShareLinkUnavailable, SlugTaken, TemplateInUseError, TemplateSourceError, UnauthorizedError, ValidationError, WhatsAppChannelError, WhatsAppServiceWindowClosedError, WhatsAppSetupLinkUnavailableError, createClient, fromApiError };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type SamvaClient } from "../promises/client";
|
|
2
|
-
import type { DispatchResult, ExtensionDefinition, Invocation } from "./types";
|
|
1
|
+
import { type SamvaClient } from "../promises/client.js";
|
|
2
|
+
import type { DispatchResult, ExtensionDefinition, Invocation } from "./types.js";
|
|
3
3
|
declare const errorMessage: (error: unknown) => string;
|
|
4
4
|
export { errorMessage };
|
|
5
5
|
/**
|
package/dist/mailbox/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { createBoundClient } from "../promises/client";
|
|
2
|
-
import type { ExtensionDefinition, ExtensionManifest } from "./types";
|
|
1
|
+
import { createBoundClient } from "../promises/client.js";
|
|
2
|
+
import type { ExtensionDefinition, ExtensionManifest } from "./types.js";
|
|
3
3
|
type Fetch = NonNullable<Parameters<typeof createBoundClient>[0]["fetch"]>;
|
|
4
|
-
export * from "./types";
|
|
5
|
-
export { dispatchEvent } from "./dispatch";
|
|
4
|
+
export * from "./types.js";
|
|
5
|
+
export { dispatchEvent } from "./dispatch.js";
|
|
6
6
|
export declare function defineExtension<const M extends ExtensionManifest>(definition: {
|
|
7
7
|
manifest: M;
|
|
8
8
|
on: ExtensionDefinition<M["events"][number]>["on"];
|
package/dist/mailbox/test.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type SamvaClient } from "../promises/client";
|
|
2
|
-
import type { EventData, EventType, ExtensionDefinition, ExtensionEvent } from "./types";
|
|
1
|
+
import { type SamvaClient } from "../promises/client.js";
|
|
2
|
+
import type { EventData, EventType, ExtensionDefinition, ExtensionEvent } from "./types.js";
|
|
3
3
|
export interface RecordedCall {
|
|
4
4
|
method: string;
|
|
5
5
|
path: string;
|
package/dist/mailbox/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { MailboxQuarantinedMessage } from "../client/types.gen";
|
|
2
|
-
import type { SamvaClient } from "../promises/client";
|
|
1
|
+
import type { MailboxQuarantinedMessage } from "../client/types.gen.js";
|
|
2
|
+
import type { SamvaClient } from "../promises/client.js";
|
|
3
3
|
export type ExtensionManifest = {
|
|
4
4
|
readonly name: string;
|
|
5
5
|
readonly displayName: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { createClient } from "../promises/client";
|
|
2
|
-
import type { ExtensionDefinition } from "./types";
|
|
1
|
+
import { createClient } from "../promises/client.js";
|
|
2
|
+
import type { ExtensionDefinition } from "./types.js";
|
|
3
3
|
type Fetch = NonNullable<Parameters<typeof createClient>[0]["fetch"]>;
|
|
4
4
|
export declare function createWebhookHandler(extension: ExtensionDefinition, options: {
|
|
5
5
|
apiKey: string;
|
package/dist/package.js
CHANGED
|
@@ -26,15 +26,15 @@
|
|
|
26
26
|
* }
|
|
27
27
|
* ```
|
|
28
28
|
*/
|
|
29
|
-
import { type Client, type Config } from "../client/client";
|
|
30
|
-
import { Agents as agents, Whatsapp as whatsapp, WhatsappFlows as whatsappFlows, WhatsappSetupLinks as whatsappSetupLinks, TemplateRegistrations as templateRegistrations, Analytics as analytics, ApiKeys as apiKeys, Attachments as attachments, Brands as brands, Campaigns as campaigns, ContactGroups as contactGroups, ContactEvents as contactEvents, Contacts as contacts, Conversations as conversations, CustomFields as customFields, Email as email, ExtensionInstallations as extensionInstallations, Extensions as extensions, Events as events, Feedback as feedback, Journeys as journeys, Mailboxes as mailboxes, Media as media, Messages as messages, Namespaces as namespaces, Operations as operations, Organizations as organizations, Policies as policies, ScheduledMessages as scheduledMessages, Subscriptions as subscriptions, Templates as templates, Topics as topics, TopicForms as topicForms, Newsletters as newsletters, Webhooks as webhooks, Whoami as whoami } from "../client/sdk.gen";
|
|
31
|
-
import type { MessagesSendData } from "../client/types.gen";
|
|
32
|
-
import { MailboxEventStream, type MailboxEventStreamOptions } from "../mailbox-events";
|
|
33
|
-
import { type RequestPolicy } from "./request";
|
|
34
|
-
export * from "./errors.gen";
|
|
35
|
-
export { MediaUploadError } from "../inline-attachments";
|
|
36
|
-
export type * from "./types.gen";
|
|
37
|
-
export { MailboxEventStream, MailboxEventStreamError, type MailboxEvent, type MailboxEventStreamErrorFields, type MailboxEventStreamErrorReason, type MailboxEventStreamErrorTag, type MailboxEventStreamFailure, type MailboxEventStreamOptions, type MailboxEventStreamReconnect, type MailboxEventStreamWebSocket, type MailboxEventType, } from "../mailbox-events";
|
|
29
|
+
import { type Client, type Config } from "../client/client/index.js";
|
|
30
|
+
import { Agents as agents, Accounts as accounts, Integrations as integrations, IntegrationCatalog as integrationCatalog, Whatsapp as whatsapp, WhatsappFlows as whatsappFlows, WhatsappSetupLinks as whatsappSetupLinks, TemplateRegistrations as templateRegistrations, TemplateShareLinks as templateShareLinks, Analytics as analytics, ApiKeys as apiKeys, ApprovalRequests as approvalRequests, Attachments as attachments, Brands as brands, Campaigns as campaigns, ContactGroups as contactGroups, ContactEvents as contactEvents, Contacts as contacts, Conversations as conversations, CustomFields as customFields, Email as email, ExtensionInstallations as extensionInstallations, Extensions as extensions, Events as events, Feedback as feedback, Journeys as journeys, Mailboxes as mailboxes, Media as media, Messages as messages, Namespaces as namespaces, Operations as operations, Organizations as organizations, Policies as policies, ScheduledMessages as scheduledMessages, Subscriptions as subscriptions, Templates as templates, Topics as topics, TopicForms as topicForms, Newsletters as newsletters, Webhooks as webhooks, Whoami as whoami } from "../client/sdk.gen.js";
|
|
31
|
+
import type { MessagesSendData } from "../client/types.gen.js";
|
|
32
|
+
import { MailboxEventStream, type MailboxEventStreamOptions } from "../mailbox-events.js";
|
|
33
|
+
import { type RequestPolicy } from "./request.js";
|
|
34
|
+
export * from "./errors.gen.js";
|
|
35
|
+
export { MediaUploadError } from "../inline-attachments.js";
|
|
36
|
+
export type * from "./types.gen.js";
|
|
37
|
+
export { MailboxEventStream, MailboxEventStreamError, type MailboxEvent, type MailboxEventStreamErrorFields, type MailboxEventStreamErrorReason, type MailboxEventStreamErrorTag, type MailboxEventStreamFailure, type MailboxEventStreamOptions, type MailboxEventStreamReconnect, type MailboxEventStreamWebSocket, type MailboxEventType, } from "../mailbox-events.js";
|
|
38
38
|
interface SamvaClientConfigBase extends Omit<Config, "baseUrl" | "responseStyle" | "throwOnError">, RequestPolicy {
|
|
39
39
|
/** Base URL for the API (defaults to https://api.samva.dev). */
|
|
40
40
|
baseUrl?: string;
|
|
@@ -136,6 +136,7 @@ export interface SamvaRawClient {
|
|
|
136
136
|
readonly whatsappFlows: typeof whatsappFlows;
|
|
137
137
|
readonly whatsappSetupLinks: typeof whatsappSetupLinks;
|
|
138
138
|
readonly templateRegistrations: typeof templateRegistrations;
|
|
139
|
+
readonly templateShareLinks: typeof templateShareLinks;
|
|
139
140
|
readonly campaigns: typeof campaigns;
|
|
140
141
|
readonly email: typeof email;
|
|
141
142
|
readonly media: typeof media;
|
|
@@ -146,6 +147,7 @@ export interface SamvaRawClient {
|
|
|
146
147
|
readonly webhooks: typeof webhooks;
|
|
147
148
|
readonly operations: typeof operations;
|
|
148
149
|
readonly apiKeys: typeof apiKeys;
|
|
150
|
+
readonly approvalRequests: typeof approvalRequests;
|
|
149
151
|
readonly organizations: typeof organizations;
|
|
150
152
|
readonly policies: typeof policies;
|
|
151
153
|
readonly attachments: typeof attachments;
|
|
@@ -156,6 +158,9 @@ export interface SamvaRawClient {
|
|
|
156
158
|
readonly topicForms: typeof topicForms;
|
|
157
159
|
readonly newsletters: typeof newsletters;
|
|
158
160
|
readonly agents: typeof agents;
|
|
161
|
+
readonly accounts: typeof accounts;
|
|
162
|
+
readonly integrations: typeof integrations;
|
|
163
|
+
readonly integrationCatalog: typeof integrationCatalog;
|
|
159
164
|
readonly analytics: typeof analytics;
|
|
160
165
|
readonly feedback: typeof feedback;
|
|
161
166
|
readonly whoami: typeof whoami;
|
|
@@ -183,6 +188,7 @@ export interface SamvaClient {
|
|
|
183
188
|
readonly whatsappFlows: DirectService<typeof whatsappFlows>;
|
|
184
189
|
readonly whatsappSetupLinks: DirectService<typeof whatsappSetupLinks>;
|
|
185
190
|
readonly templateRegistrations: DirectService<typeof templateRegistrations>;
|
|
191
|
+
readonly templateShareLinks: DirectService<typeof templateShareLinks>;
|
|
186
192
|
readonly campaigns: DirectService<typeof campaigns>;
|
|
187
193
|
readonly email: DirectService<PromiseEmailTransport>;
|
|
188
194
|
readonly media: DirectService<typeof media>;
|
|
@@ -193,6 +199,7 @@ export interface SamvaClient {
|
|
|
193
199
|
readonly webhooks: DirectService<typeof webhooks>;
|
|
194
200
|
readonly operations: DirectService<typeof operations>;
|
|
195
201
|
readonly apiKeys: DirectService<typeof apiKeys>;
|
|
202
|
+
readonly approvalRequests: DirectService<typeof approvalRequests>;
|
|
196
203
|
readonly organizations: DirectService<typeof organizations>;
|
|
197
204
|
readonly policies: DirectService<typeof policies>;
|
|
198
205
|
readonly attachments: DirectService<typeof attachments>;
|
|
@@ -203,6 +210,9 @@ export interface SamvaClient {
|
|
|
203
210
|
readonly topicForms: DirectService<typeof topicForms>;
|
|
204
211
|
readonly newsletters: DirectService<typeof newsletters>;
|
|
205
212
|
readonly agents: DirectService<typeof agents>;
|
|
213
|
+
readonly accounts: DirectService<typeof accounts>;
|
|
214
|
+
readonly integrations: DirectService<typeof integrations>;
|
|
215
|
+
readonly integrationCatalog: DirectService<typeof integrationCatalog>;
|
|
206
216
|
readonly analytics: DirectService<typeof analytics>;
|
|
207
217
|
readonly feedback: DirectService<typeof feedback>;
|
|
208
218
|
readonly whoami: DirectService<typeof whoami>;
|
|
@@ -222,4 +232,4 @@ type BoundClientConfig = SamvaClientConfigBase & {
|
|
|
222
232
|
export declare function clientWithIdempotency(client: SamvaClient, idempotency: (operation: string) => string): SamvaClient;
|
|
223
233
|
export declare const createBoundClient: (config: BoundClientConfig) => SamvaClient;
|
|
224
234
|
export declare const createClient: (config: SamvaClientConfig) => SamvaClient;
|
|
225
|
-
export type { Client, Config } from "../client/client";
|
|
235
|
+
export type { Client, Config } from "../client/client/index.js";
|
package/dist/promises/client.js
CHANGED
|
@@ -2,9 +2,9 @@ import { CLIENT_ATTRIBUTION_HEADER, clientAttribution } from "../client-attribut
|
|
|
2
2
|
import { mergeHeaders } from "../client/client/utils.gen.js";
|
|
3
3
|
import { createClient as createClient$1 } from "../client/client/client.gen.js";
|
|
4
4
|
import { SamvaOperations } from "../effect/generated-metadata.js";
|
|
5
|
-
import { AnalyticsQueryError, BillingProviderError, BrandAddressRequiredError, CampaignFooterRequiredError, ConflictError, CredentialsError, DeliveryUnavailableError, EmailChannelError, ExternalServiceError, FlagDisabledError, ForbiddenError, FromAddressRequiredError, GatewayTimeoutError, InternalError, MailboxSendConflictError, MailboxSendRefusedError, MalformedRequestError, OnboardingReviewRequiredError, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, SamvaApiError, SamvaTransportError, SenderNotReadyError, ServiceUnavailableError, TemplateInUseError, TemplateSourceError, UnauthorizedError, ValidationError, WhatsAppChannelError, WhatsAppServiceWindowClosedError, WhatsAppSetupLinkUnavailableError, fromApiError } from "./errors.gen.js";
|
|
5
|
+
import { AnalyticsQueryError, BillingProviderError, BrandAddressRequiredError, CampaignFooterRequiredError, ConflictError, CredentialsError, DeliveryUnavailableError, EmailChannelError, ExternalServiceError, FlagDisabledError, ForbiddenError, FromAddressRequiredError, GatewayTimeoutError, InternalError, MailboxSendConflictError, MailboxSendRefusedError, MalformedRequestError, OnboardingReviewRequiredError, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, SamvaApiError, SamvaTransportError, SenderNotReadyError, ServiceUnavailableError, ShareLinkUnavailable, SlugTaken, TemplateInUseError, TemplateSourceError, UnauthorizedError, ValidationError, WhatsAppChannelError, WhatsAppServiceWindowClosedError, WhatsAppSetupLinkUnavailableError, fromApiError } from "./errors.gen.js";
|
|
6
6
|
import { configureRequests } from "./request.js";
|
|
7
|
-
import { Agents, Analytics, ApiKeys, Attachments, Brands, Campaigns, ContactEvents, ContactGroups, Contacts, Conversations, CustomFields, Email, Events, ExtensionInstallations, Extensions, Feedback, Journeys, Mailboxes, Media, Messages, Namespaces, Newsletters, Operations, Organizations, Policies, ScheduledMessages, Subscriptions, TemplateRegistrations, Templates, TopicForms, Topics, Webhooks, Whatsapp, WhatsappFlows, WhatsappSetupLinks, Whoami } from "../client/sdk.gen.js";
|
|
7
|
+
import { Accounts, Agents, Analytics, ApiKeys, ApprovalRequests, Attachments, Brands, Campaigns, ContactEvents, ContactGroups, Contacts, Conversations, CustomFields, Email, Events, ExtensionInstallations, Extensions, Feedback, IntegrationCatalog, Integrations, Journeys, Mailboxes, Media, Messages, Namespaces, Newsletters, Operations, Organizations, Policies, ScheduledMessages, Subscriptions, TemplateRegistrations, TemplateShareLinks, Templates, TopicForms, Topics, Webhooks, Whatsapp, WhatsappFlows, WhatsappSetupLinks, Whoami } from "../client/sdk.gen.js";
|
|
8
8
|
import { MediaUploadError, mediaCreateBody, planInlineUploads, withUploadedAttachments } from "../inline-attachments.js";
|
|
9
9
|
import { MailboxEventStream } from "../mailbox-events.js";
|
|
10
10
|
import { buildEmailSendPayload, buildMessagesSendPayload, replyToEmailsPayload } from "../normalize.js";
|
|
@@ -249,6 +249,7 @@ function makeClient(config) {
|
|
|
249
249
|
whatsappFlows: createBoundService(WhatsappFlows, clientInstance),
|
|
250
250
|
whatsappSetupLinks: createBoundService(WhatsappSetupLinks, clientInstance),
|
|
251
251
|
templateRegistrations: createBoundService(TemplateRegistrations, clientInstance),
|
|
252
|
+
templateShareLinks: createBoundService(TemplateShareLinks, clientInstance),
|
|
252
253
|
campaigns: createBoundService(Campaigns, clientInstance),
|
|
253
254
|
email: createBoundService(Email, clientInstance),
|
|
254
255
|
media: createBoundService(Media, clientInstance),
|
|
@@ -259,6 +260,7 @@ function makeClient(config) {
|
|
|
259
260
|
webhooks: createBoundService(Webhooks, clientInstance),
|
|
260
261
|
operations: createBoundService(Operations, clientInstance),
|
|
261
262
|
apiKeys: createBoundService(ApiKeys, clientInstance),
|
|
263
|
+
approvalRequests: createBoundService(ApprovalRequests, clientInstance),
|
|
262
264
|
organizations: createBoundService(Organizations, clientInstance),
|
|
263
265
|
policies: createBoundService(Policies, clientInstance),
|
|
264
266
|
attachments: createBoundService(Attachments, clientInstance),
|
|
@@ -269,6 +271,9 @@ function makeClient(config) {
|
|
|
269
271
|
topicForms: createBoundService(TopicForms, clientInstance),
|
|
270
272
|
newsletters: createBoundService(Newsletters, clientInstance),
|
|
271
273
|
agents: createBoundService(Agents, clientInstance),
|
|
274
|
+
accounts: createBoundService(Accounts, clientInstance),
|
|
275
|
+
integrations: createBoundService(Integrations, clientInstance),
|
|
276
|
+
integrationCatalog: createBoundService(IntegrationCatalog, clientInstance),
|
|
272
277
|
analytics: createBoundService(Analytics, clientInstance),
|
|
273
278
|
feedback: createBoundService(Feedback, clientInstance),
|
|
274
279
|
whoami: createBoundService(Whoami, clientInstance),
|
|
@@ -294,6 +299,7 @@ function makeClient(config) {
|
|
|
294
299
|
whatsappFlows: createDirectService(raw.whatsappFlows),
|
|
295
300
|
whatsappSetupLinks: createDirectService(raw.whatsappSetupLinks),
|
|
296
301
|
templateRegistrations: createDirectService(raw.templateRegistrations),
|
|
302
|
+
templateShareLinks: createDirectService(raw.templateShareLinks),
|
|
297
303
|
campaigns: createDirectService(raw.campaigns),
|
|
298
304
|
email: createDirectService(promiseEmail),
|
|
299
305
|
media: createDirectService(raw.media),
|
|
@@ -304,6 +310,7 @@ function makeClient(config) {
|
|
|
304
310
|
webhooks: createDirectService(raw.webhooks),
|
|
305
311
|
operations: createDirectService(raw.operations),
|
|
306
312
|
apiKeys: createDirectService(raw.apiKeys),
|
|
313
|
+
approvalRequests: createDirectService(raw.approvalRequests),
|
|
307
314
|
organizations: createDirectService(raw.organizations),
|
|
308
315
|
policies: createDirectService(raw.policies),
|
|
309
316
|
attachments: createDirectService(raw.attachments),
|
|
@@ -314,6 +321,9 @@ function makeClient(config) {
|
|
|
314
321
|
topicForms: createDirectService(raw.topicForms),
|
|
315
322
|
newsletters: createDirectService(raw.newsletters),
|
|
316
323
|
agents: createDirectService(raw.agents),
|
|
324
|
+
accounts: createDirectService(raw.accounts),
|
|
325
|
+
integrations: createDirectService(raw.integrations),
|
|
326
|
+
integrationCatalog: createDirectService(raw.integrationCatalog),
|
|
317
327
|
analytics: createDirectService(raw.analytics),
|
|
318
328
|
feedback: createDirectService(raw.feedback),
|
|
319
329
|
whoami: createDirectService(raw.whoami),
|
|
@@ -329,6 +339,6 @@ function makeClient(config) {
|
|
|
329
339
|
}));
|
|
330
340
|
return result;
|
|
331
341
|
}
|
|
332
|
-
export { AnalyticsQueryError, BillingProviderError, BrandAddressRequiredError, CampaignFooterRequiredError, ConflictError, CredentialsError, DeliveryUnavailableError, EmailChannelError, ExternalServiceError, FlagDisabledError, ForbiddenError, FromAddressRequiredError, GatewayTimeoutError, InternalError, MailboxSendConflictError, MailboxSendRefusedError, MalformedRequestError, OnboardingReviewRequiredError, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, SamvaApiError, SamvaTransportError, SenderNotReadyError, ServiceUnavailableError, TemplateInUseError, TemplateSourceError, UnauthorizedError, ValidationError, WhatsAppChannelError, WhatsAppServiceWindowClosedError, WhatsAppSetupLinkUnavailableError, clientWithIdempotency, createBoundClient, createClient, fromApiError };
|
|
342
|
+
export { AnalyticsQueryError, BillingProviderError, BrandAddressRequiredError, CampaignFooterRequiredError, ConflictError, CredentialsError, DeliveryUnavailableError, EmailChannelError, ExternalServiceError, FlagDisabledError, ForbiddenError, FromAddressRequiredError, GatewayTimeoutError, InternalError, MailboxSendConflictError, MailboxSendRefusedError, MalformedRequestError, OnboardingReviewRequiredError, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, SamvaApiError, SamvaTransportError, SenderNotReadyError, ServiceUnavailableError, ShareLinkUnavailable, SlugTaken, TemplateInUseError, TemplateSourceError, UnauthorizedError, ValidationError, WhatsAppChannelError, WhatsAppServiceWindowClosedError, WhatsAppSetupLinkUnavailableError, clientWithIdempotency, createBoundClient, createClient, fromApiError };
|
|
333
343
|
|
|
334
344
|
//# sourceMappingURL=client.js.map
|