samva 0.45.0 → 0.46.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/AGENTS.md +7 -0
  2. package/README.md +24 -0
  3. package/dist/client/sdk.gen.d.ts +438 -5
  4. package/dist/client/sdk.gen.js +1544 -229
  5. package/dist/client/types.gen.d.ts +8124 -5612
  6. package/dist/effect/accounts.d.ts +50 -0
  7. package/dist/effect/accounts.js +22 -0
  8. package/dist/effect/agents.d.ts +9 -0
  9. package/dist/effect/agents.js +1 -1
  10. package/dist/effect/approval-requests.d.ts +42 -0
  11. package/dist/effect/approval-requests.js +18 -0
  12. package/dist/effect/campaigns.d.ts +160 -160
  13. package/dist/effect/generated/accounts.d.ts +1002 -0
  14. package/dist/effect/generated/accounts.js +198 -0
  15. package/dist/effect/generated/agents.d.ts +84 -0
  16. package/dist/effect/generated/agents.js +1 -0
  17. package/dist/effect/generated/analytics.d.ts +6 -0
  18. package/dist/effect/generated/analytics.js +4 -2
  19. package/dist/effect/generated/approval-requests.d.ts +777 -0
  20. package/dist/effect/generated/approval-requests.js +135 -0
  21. package/dist/effect/generated/campaigns.d.ts +17 -17
  22. package/dist/effect/generated/campaigns.js +6 -6
  23. package/dist/effect/generated/conversations.d.ts +20 -20
  24. package/dist/effect/generated/conversations.js +10 -10
  25. package/dist/effect/generated/events.js +1 -1
  26. package/dist/effect/generated/index.d.ts +11 -1
  27. package/dist/effect/generated/integrations-catalog.d.ts +671 -0
  28. package/dist/effect/generated/integrations-catalog.js +217 -0
  29. package/dist/effect/generated/integrations.d.ts +1401 -0
  30. package/dist/effect/generated/integrations.js +246 -0
  31. package/dist/effect/generated/mailboxes.d.ts +8157 -4241
  32. package/dist/effect/generated/mailboxes.js +677 -52
  33. package/dist/effect/generated/messages.d.ts +8 -8
  34. package/dist/effect/generated/messages.js +4 -4
  35. package/dist/effect/generated/scheduled-messages.d.ts +50 -50
  36. package/dist/effect/generated/scheduled-messages.js +17 -17
  37. package/dist/effect/generated/shared.d.ts +661 -511
  38. package/dist/effect/generated/shared.js +212 -179
  39. package/dist/effect/generated/template-share-links.d.ts +733 -0
  40. package/dist/effect/generated/template-share-links.js +165 -0
  41. package/dist/effect/generated/templates.d.ts +39 -22
  42. package/dist/effect/generated/templates.js +19 -16
  43. package/dist/effect/generated-metadata.d.ts +248 -0
  44. package/dist/effect/generated-metadata.js +705 -555
  45. package/dist/effect/index.d.ts +5 -0
  46. package/dist/effect/index.js +6 -1
  47. package/dist/effect/integrations-catalog.d.ts +38 -0
  48. package/dist/effect/integrations-catalog.js +16 -0
  49. package/dist/effect/integrations.d.ts +165 -0
  50. package/dist/effect/integrations.js +24 -0
  51. package/dist/effect/mailboxes.d.ts +373 -191
  52. package/dist/effect/mailboxes.js +31 -1
  53. package/dist/effect/scheduled-messages.d.ts +350 -350
  54. package/dist/effect/template-share-links.d.ts +18 -0
  55. package/dist/effect/template-share-links.js +20 -0
  56. package/dist/effect/templates.d.ts +4 -3
  57. package/dist/index.js +2 -2
  58. package/dist/package.js +1 -1
  59. package/dist/promises/client.d.ts +11 -1
  60. package/dist/promises/client.js +13 -3
  61. package/dist/promises/errors.gen.d.ts +22 -2
  62. package/dist/promises/errors.gen.js +54 -1
  63. package/dist/promises/index.js +2 -2
  64. package/dist/promises/types.gen.d.ts +1 -1
  65. package/dist/service-map.d.ts +203 -0
  66. package/dist/service-map.js +103 -0
  67. package/package.json +22 -2
@@ -16,9 +16,13 @@
16
16
  * }).pipe(Effect.provide(Client.layerFetch({ apiKey: "<samva-api-key>" })));
17
17
  * ```
18
18
  */
19
+ export * as Accounts from "./accounts";
20
+ export * as IntegrationCatalog from "./integrations-catalog";
21
+ export * as Integrations from "./integrations";
19
22
  export * as Agents from "./agents";
20
23
  export * as Analytics from "./analytics";
21
24
  export * as ApiKeys from "./api-keys";
25
+ export * as ApprovalRequests from "./approval-requests";
22
26
  export * as Attachments from "./attachments";
23
27
  export * as Brands from "./brands";
24
28
  export * as Campaigns from "./campaigns";
@@ -59,3 +63,4 @@ export * as WhatsApp from "./whatsapp";
59
63
  export * as WhatsAppFlows from "./whatsapp-flows";
60
64
  export * as WhatsAppSetupLinks from "./whatsapp-setup-links";
61
65
  export * as TemplateRegistrations from "./template-registrations";
66
+ export * as TemplateShareLinks from "./template-share-links";
@@ -2,9 +2,13 @@ import { MediaUploadError } from "../inline-attachments.js";
2
2
  import { AnalyticsQueryError, BillingProviderError, BrandAddressRequiredError, CampaignFooterRequiredError, ConflictError, CredentialsError, DeliveryUnavailableError, EmailChannelError, ExternalServiceError, FlagDisabledError, ForbiddenError, FromAddressRequiredError, GatewayTimeoutError, InternalError, MailboxSendConflictError, MailboxSendRefusedError, MalformedRequestError, OnboardingReviewRequiredError, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, SenderNotReadyError, ServiceUnavailableError, TemplateInUseError, TemplateSourceError, UnauthorizedError, ValidationError, WhatsAppChannelError, WhatsAppServiceWindowClosedError, WhatsAppSetupLinkUnavailableError } from "./generated/shared.js";
3
3
  import { catchAuthError, catchBillingError, catchCategory, catchConflictError, catchNotFoundError, catchThrottlingError, catchTransient, catchValidationError, categoriesOf, hasCategory, isAuthError, isBillingError, isConflictError, isNotFoundError, isRetryable, isThrottlingError, isTransient, isValidationError } from "./categories.js";
4
4
  import { retry_exports } from "./retry.js";
5
+ import { accounts_exports } from "./accounts.js";
6
+ import { integrations_catalog_exports } from "./integrations-catalog.js";
7
+ import { integrations_exports } from "./integrations.js";
5
8
  import { agents_exports } from "./agents.js";
6
9
  import { analytics_exports } from "./analytics.js";
7
10
  import { api_keys_exports } from "./api-keys.js";
11
+ import { approval_requests_exports } from "./approval-requests.js";
8
12
  import { attachments_exports } from "./attachments.js";
9
13
  import { brands_exports } from "./brands.js";
10
14
  import { campaigns_exports } from "./campaigns.js";
@@ -40,4 +44,5 @@ import { whatsapp_exports } from "./whatsapp.js";
40
44
  import { whatsapp_flows_exports } from "./whatsapp-flows.js";
41
45
  import { whatsapp_setup_links_exports } from "./whatsapp-setup-links.js";
42
46
  import { template_registrations_exports } from "./template-registrations.js";
43
- export { agents_exports as Agents, analytics_exports as Analytics, AnalyticsQueryError, api_keys_exports as ApiKeys, attachments_exports as Attachments, BillingProviderError, BrandAddressRequiredError, brands_exports as Brands, CampaignFooterRequiredError, campaigns_exports as Campaigns, client_exports as Client, ConflictError, contact_groups_exports as ContactGroups, contacts_exports as Contacts, conversations_exports as Conversations, CredentialsError, custom_fields_exports as CustomFields, DeliveryUnavailableError, email_exports as Email, EmailChannelError, events_exports as Events, extension_installations_exports as ExtensionInstallations, extensions_exports as Extensions, ExternalServiceError, feedback_exports as Feedback, FlagDisabledError, ForbiddenError, FromAddressRequiredError, GatewayTimeoutError, InternalError, journeys_exports as Journeys, MailboxSendConflictError, MailboxSendRefusedError, mailboxes_exports as Mailboxes, MalformedRequestError, media_exports as Media, MediaUploadError, messages_exports as Messages, namespaces_exports as Namespaces, newsletter_domains_exports as NewsletterDomains, newsletter_issues_exports as NewsletterIssues, newsletters_exports as Newsletters, OnboardingReviewRequiredError, operations_exports as Operations, organizations_exports as Organizations, PaymentRequiredError, policies_exports as Policies, RateLimitedError, ResourceNotFoundError, retry_exports as Retry, scheduled_messages_exports as ScheduledMessages, SenderNotReadyError, ServiceUnavailableError, subscriptions_exports as Subscriptions, TemplateInUseError, template_registrations_exports as TemplateRegistrations, TemplateSourceError, templates_exports as Templates, topic_forms_exports as TopicForms, topics_exports as Topics, UnauthorizedError, ValidationError, webhooks_exports as Webhooks, whatsapp_exports as WhatsApp, WhatsAppChannelError, whatsapp_flows_exports as WhatsAppFlows, WhatsAppServiceWindowClosedError, WhatsAppSetupLinkUnavailableError, whatsapp_setup_links_exports as WhatsAppSetupLinks, whoami_exports as Whoami, catchAuthError, catchBillingError, catchCategory, catchConflictError, catchNotFoundError, catchThrottlingError, catchTransient, catchValidationError, categoriesOf, hasCategory, isAuthError, isBillingError, isConflictError, isNotFoundError, isRetryable, isThrottlingError, isTransient, isValidationError };
47
+ import { template_share_links_exports } from "./template-share-links.js";
48
+ export { accounts_exports as Accounts, agents_exports as Agents, analytics_exports as Analytics, AnalyticsQueryError, api_keys_exports as ApiKeys, approval_requests_exports as ApprovalRequests, attachments_exports as Attachments, BillingProviderError, BrandAddressRequiredError, brands_exports as Brands, CampaignFooterRequiredError, campaigns_exports as Campaigns, client_exports as Client, ConflictError, contact_groups_exports as ContactGroups, contacts_exports as Contacts, conversations_exports as Conversations, CredentialsError, custom_fields_exports as CustomFields, DeliveryUnavailableError, email_exports as Email, EmailChannelError, events_exports as Events, extension_installations_exports as ExtensionInstallations, extensions_exports as Extensions, ExternalServiceError, feedback_exports as Feedback, FlagDisabledError, ForbiddenError, FromAddressRequiredError, GatewayTimeoutError, integrations_catalog_exports as IntegrationCatalog, integrations_exports as Integrations, InternalError, journeys_exports as Journeys, MailboxSendConflictError, MailboxSendRefusedError, mailboxes_exports as Mailboxes, MalformedRequestError, media_exports as Media, MediaUploadError, messages_exports as Messages, namespaces_exports as Namespaces, newsletter_domains_exports as NewsletterDomains, newsletter_issues_exports as NewsletterIssues, newsletters_exports as Newsletters, OnboardingReviewRequiredError, operations_exports as Operations, organizations_exports as Organizations, PaymentRequiredError, policies_exports as Policies, RateLimitedError, ResourceNotFoundError, retry_exports as Retry, scheduled_messages_exports as ScheduledMessages, SenderNotReadyError, ServiceUnavailableError, subscriptions_exports as Subscriptions, TemplateInUseError, template_registrations_exports as TemplateRegistrations, template_share_links_exports as TemplateShareLinks, TemplateSourceError, templates_exports as Templates, topic_forms_exports as TopicForms, topics_exports as Topics, UnauthorizedError, ValidationError, webhooks_exports as Webhooks, whatsapp_exports as WhatsApp, WhatsAppChannelError, whatsapp_flows_exports as WhatsAppFlows, WhatsAppServiceWindowClosedError, WhatsAppSetupLinkUnavailableError, whatsapp_setup_links_exports as WhatsAppSetupLinks, whoami_exports as Whoami, catchAuthError, catchBillingError, catchCategory, catchConflictError, catchNotFoundError, catchThrottlingError, catchTransient, catchValidationError, categoriesOf, hasCategory, isAuthError, isBillingError, isConflictError, isNotFoundError, isRetryable, isThrottlingError, isTransient, isValidationError };
@@ -0,0 +1,38 @@
1
+ export declare const prepare: (input: {
2
+ readonly provider: string;
3
+ readonly input?: {
4
+ 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 | {
5
+ readonly [x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null | undefined;
6
+ } | null)[] | {
7
+ readonly [x: string]: string | number | boolean | any | 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
+ } | undefined;
30
+ }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"integrationCatalogPrepare">;
31
+ export declare const search: (input?: {
32
+ readonly key?: string | undefined;
33
+ readonly query?: string | undefined;
34
+ readonly category?: "accounting" | "calendar" | "channel" | "commerce" | "crm" | "dns" | "forms" | "helpdesk" | "knowledge" | "other" | "payments" | "productivity" | "reviews" | "shipping" | undefined;
35
+ readonly offset?: number | undefined;
36
+ readonly limit?: number | undefined;
37
+ } | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"integrationCatalogSearch">;
38
+ export declare const list: (input?: never, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"integrationCatalogList">;
@@ -0,0 +1,16 @@
1
+ import { __exportAll } from "../_virtual/_rolldown/runtime.js";
2
+ import { forGroup } from "./internal/operation.js";
3
+ import { IntegrationsCatalogGroup } from "./generated/integrations-catalog.js";
4
+ // src/effect/integrations-catalog.ts
5
+ var integrations_catalog_exports = /* @__PURE__ */ __exportAll({
6
+ list: () => list,
7
+ prepare: () => prepare,
8
+ search: () => search
9
+ });
10
+ const make = /* @__PURE__ */ forGroup(IntegrationsCatalogGroup);
11
+ const prepare = /* @__PURE__ */ make("integrationCatalogPrepare");
12
+ const search = /* @__PURE__ */ make("integrationCatalogSearch");
13
+ const list = /* @__PURE__ */ make("integrationCatalogList");
14
+ export { integrations_catalog_exports, list, prepare, search };
15
+
16
+ //# sourceMappingURL=integrations-catalog.js.map
@@ -0,0 +1,165 @@
1
+ export declare const list: ((input?: {
2
+ readonly limit?: number | null | undefined;
3
+ readonly cursor?: string | undefined;
4
+ } | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"integrationsList">) & {
5
+ readonly pages: (input?: {
6
+ readonly limit?: number | null | undefined;
7
+ readonly cursor?: string | undefined;
8
+ } | undefined) => import("effect/Stream").Stream<{
9
+ readonly items: readonly {
10
+ readonly app: string;
11
+ readonly settings: {
12
+ readonly [x: string]: import("./generated").JsonValue;
13
+ };
14
+ readonly id: string & import("effect/Brand").Brand<"IntegrationId">;
15
+ readonly status: "connected" | "needsReconnect" | "pending";
16
+ readonly accounts: {
17
+ readonly [x: string]: string & import("effect/Brand").Brand<"IntegrationAccountId">;
18
+ };
19
+ readonly supportsContactAccounts: boolean;
20
+ readonly answerWithoutApproval: boolean;
21
+ readonly tools: readonly {
22
+ readonly name: string;
23
+ readonly title: string;
24
+ readonly kind: "mutation" | "query";
25
+ readonly effect: "final" | "read" | "write";
26
+ readonly guards: readonly ("insideHours" | "pinnedDestination")[];
27
+ readonly granted: boolean;
28
+ readonly unavailableReason?: "input_schema_too_large";
29
+ readonly enabled: boolean;
30
+ readonly runsWithoutApproval: boolean;
31
+ }[];
32
+ readonly toolPage: {
33
+ readonly nextOffset: number | null;
34
+ readonly total: number;
35
+ readonly revision: string;
36
+ };
37
+ readonly installedBy: (string & import("effect/Brand").Brand<"UserId">) | null;
38
+ readonly createdAt: string;
39
+ readonly updatedAt: string;
40
+ }[];
41
+ readonly nextCursor: string | null;
42
+ }, 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>;
43
+ readonly items: (input?: {
44
+ readonly limit?: number | null | undefined;
45
+ readonly cursor?: string | undefined;
46
+ } | undefined) => import("effect/Stream").Stream<{
47
+ readonly app: string;
48
+ readonly settings: {
49
+ readonly [x: string]: import("./generated").JsonValue;
50
+ };
51
+ readonly id: string & import("effect/Brand").Brand<"IntegrationId">;
52
+ readonly status: "connected" | "needsReconnect" | "pending";
53
+ readonly accounts: {
54
+ readonly [x: string]: string & import("effect/Brand").Brand<"IntegrationAccountId">;
55
+ };
56
+ readonly supportsContactAccounts: boolean;
57
+ readonly answerWithoutApproval: boolean;
58
+ readonly tools: readonly {
59
+ readonly name: string;
60
+ readonly title: string;
61
+ readonly kind: "mutation" | "query";
62
+ readonly effect: "final" | "read" | "write";
63
+ readonly guards: readonly ("insideHours" | "pinnedDestination")[];
64
+ readonly granted: boolean;
65
+ readonly unavailableReason?: "input_schema_too_large";
66
+ readonly enabled: boolean;
67
+ readonly runsWithoutApproval: boolean;
68
+ }[];
69
+ readonly toolPage: {
70
+ readonly nextOffset: number | null;
71
+ readonly total: number;
72
+ readonly revision: string;
73
+ };
74
+ readonly installedBy: (string & import("effect/Brand").Brand<"UserId">) | null;
75
+ readonly createdAt: string;
76
+ readonly updatedAt: string;
77
+ }, 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>;
78
+ };
79
+ export declare const install: (input: {
80
+ readonly app: string;
81
+ readonly accounts: {
82
+ readonly [x: string]: string | undefined;
83
+ };
84
+ readonly settings?: {
85
+ 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 | {
86
+ readonly [x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null | undefined;
87
+ } | null)[] | {
88
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
89
+ } | null)[] | {
90
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
91
+ } | null)[] | {
92
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
93
+ } | null)[] | {
94
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
95
+ } | null)[] | {
96
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
97
+ } | null)[] | {
98
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
99
+ } | null)[] | {
100
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
101
+ } | null)[] | {
102
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
103
+ } | null)[] | {
104
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
105
+ } | null)[] | {
106
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
107
+ } | null)[] | {
108
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
109
+ } | null | undefined;
110
+ } | undefined;
111
+ }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"integrationsInstall">;
112
+ export declare const listTools: (input: {
113
+ readonly integrationId: string;
114
+ readonly offset?: number | null | undefined;
115
+ readonly revision?: string | undefined;
116
+ }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"integrationsListTools">;
117
+ export declare const readTool: (input: {
118
+ readonly integrationId: string;
119
+ readonly tool: string;
120
+ readonly offset?: number | null | undefined;
121
+ readonly revision?: string | undefined;
122
+ }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"integrationsReadTool">;
123
+ export declare const get: (input: {
124
+ readonly integrationId: string;
125
+ }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"integrationsGet">;
126
+ export declare const update: (input: {
127
+ readonly integrationId: string;
128
+ readonly answerWithoutApproval?: boolean | undefined;
129
+ readonly enabledTools?: readonly string[] | undefined;
130
+ readonly tool?: {
131
+ readonly name: string;
132
+ readonly enabled?: boolean | undefined;
133
+ readonly runsWithoutApproval?: boolean | undefined;
134
+ } | undefined;
135
+ readonly settings?: {
136
+ 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 | {
137
+ readonly [x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null | undefined;
138
+ } | null)[] | {
139
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
140
+ } | null)[] | {
141
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
142
+ } | null)[] | {
143
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
144
+ } | null)[] | {
145
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
146
+ } | null)[] | {
147
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
148
+ } | null)[] | {
149
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
150
+ } | null)[] | {
151
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
152
+ } | null)[] | {
153
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
154
+ } | null)[] | {
155
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
156
+ } | null)[] | {
157
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
158
+ } | null)[] | {
159
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
160
+ } | null | undefined;
161
+ } | undefined;
162
+ }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"integrationsUpdate">;
163
+ export declare const remove: (input: {
164
+ readonly integrationId: string;
165
+ }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"integrationsRemove">;
@@ -0,0 +1,24 @@
1
+ import { __exportAll } from "../_virtual/_rolldown/runtime.js";
2
+ import { forGroup } from "./internal/operation.js";
3
+ import { IntegrationsGroup } from "./generated/integrations.js";
4
+ // src/effect/integrations.ts
5
+ var integrations_exports = /* @__PURE__ */ __exportAll({
6
+ get: () => get,
7
+ install: () => install,
8
+ list: () => list,
9
+ listTools: () => listTools,
10
+ readTool: () => readTool,
11
+ remove: () => remove,
12
+ update: () => update
13
+ });
14
+ const make = /* @__PURE__ */ forGroup(IntegrationsGroup);
15
+ const list = /* @__PURE__ */ make("integrationsList");
16
+ const install = /* @__PURE__ */ make("integrationsInstall");
17
+ const listTools = /* @__PURE__ */ make("integrationsListTools");
18
+ const readTool = /* @__PURE__ */ make("integrationsReadTool");
19
+ const get = /* @__PURE__ */ make("integrationsGet");
20
+ const update = /* @__PURE__ */ make("integrationsUpdate");
21
+ const remove = /* @__PURE__ */ make("integrationsRemove");
22
+ export { get, install, integrations_exports, list, listTools, readTool, remove, update };
23
+
24
+ //# sourceMappingURL=integrations.js.map