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.
- package/AGENTS.md +7 -0
- package/README.md +24 -0
- package/dist/client/sdk.gen.d.ts +438 -5
- package/dist/client/sdk.gen.js +1544 -229
- package/dist/client/types.gen.d.ts +8124 -5612
- package/dist/effect/accounts.d.ts +50 -0
- package/dist/effect/accounts.js +22 -0
- package/dist/effect/agents.d.ts +9 -0
- package/dist/effect/agents.js +1 -1
- package/dist/effect/approval-requests.d.ts +42 -0
- package/dist/effect/approval-requests.js +18 -0
- package/dist/effect/campaigns.d.ts +160 -160
- package/dist/effect/generated/accounts.d.ts +1002 -0
- package/dist/effect/generated/accounts.js +198 -0
- package/dist/effect/generated/agents.d.ts +84 -0
- package/dist/effect/generated/agents.js +1 -0
- package/dist/effect/generated/analytics.d.ts +6 -0
- package/dist/effect/generated/analytics.js +4 -2
- package/dist/effect/generated/approval-requests.d.ts +777 -0
- package/dist/effect/generated/approval-requests.js +135 -0
- package/dist/effect/generated/campaigns.d.ts +17 -17
- package/dist/effect/generated/campaigns.js +6 -6
- package/dist/effect/generated/conversations.d.ts +20 -20
- package/dist/effect/generated/conversations.js +10 -10
- package/dist/effect/generated/events.js +1 -1
- package/dist/effect/generated/index.d.ts +11 -1
- 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/mailboxes.d.ts +8157 -4241
- package/dist/effect/generated/mailboxes.js +677 -52
- package/dist/effect/generated/messages.d.ts +8 -8
- package/dist/effect/generated/messages.js +4 -4
- package/dist/effect/generated/scheduled-messages.d.ts +50 -50
- package/dist/effect/generated/scheduled-messages.js +17 -17
- package/dist/effect/generated/shared.d.ts +661 -511
- package/dist/effect/generated/shared.js +212 -179
- 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-metadata.d.ts +248 -0
- package/dist/effect/generated-metadata.js +705 -555
- package/dist/effect/index.d.ts +5 -0
- package/dist/effect/index.js +6 -1
- package/dist/effect/integrations-catalog.d.ts +38 -0
- package/dist/effect/integrations-catalog.js +16 -0
- package/dist/effect/integrations.d.ts +165 -0
- package/dist/effect/integrations.js +24 -0
- package/dist/effect/mailboxes.d.ts +373 -191
- package/dist/effect/mailboxes.js +31 -1
- package/dist/effect/scheduled-messages.d.ts +350 -350
- package/dist/effect/template-share-links.d.ts +18 -0
- package/dist/effect/template-share-links.js +20 -0
- package/dist/effect/templates.d.ts +4 -3
- package/dist/index.js +2 -2
- package/dist/package.js +1 -1
- package/dist/promises/client.d.ts +11 -1
- package/dist/promises/client.js +13 -3
- package/dist/promises/errors.gen.d.ts +22 -2
- package/dist/promises/errors.gen.js +54 -1
- package/dist/promises/index.js +2 -2
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/service-map.d.ts +203 -0
- package/dist/service-map.js +103 -0
- package/package.json +22 -2
|
@@ -0,0 +1,671 @@
|
|
|
1
|
+
import { HttpApiEndpoint, HttpApiGroup } from "effect/http-api";
|
|
2
|
+
import * as Schema from "effect/Schema";
|
|
3
|
+
import { ApiKeySecurityMiddleware, ForbiddenError, GatewayTimeoutError, IntegrationKey, IntegrationStatus, InternalError, JsonObject, MalformedRequestError, UnauthorizedError, ValidationError } from "./shared";
|
|
4
|
+
export type IntegrationCatalogSearchEntry = {
|
|
5
|
+
readonly key: IntegrationKey;
|
|
6
|
+
readonly kind: "mcp" | "openapi" | "graphql";
|
|
7
|
+
readonly name: string;
|
|
8
|
+
readonly description: string;
|
|
9
|
+
readonly domain: string | null;
|
|
10
|
+
readonly category: "commerce" | "payments" | "shipping" | "calendar" | "crm" | "helpdesk" | "knowledge" | "forms" | "accounting" | "reviews" | "productivity" | "dns" | "channel" | "other";
|
|
11
|
+
readonly icon: string | null;
|
|
12
|
+
readonly logo?: {
|
|
13
|
+
readonly file: string;
|
|
14
|
+
readonly monochrome?: boolean;
|
|
15
|
+
};
|
|
16
|
+
readonly featured: boolean;
|
|
17
|
+
readonly connectSpec: {
|
|
18
|
+
readonly provider: IntegrationKey;
|
|
19
|
+
readonly auth: "discover" | "oauth" | "none" | "apiKey";
|
|
20
|
+
readonly inputs: {
|
|
21
|
+
readonly [x: string]: {
|
|
22
|
+
readonly label: string;
|
|
23
|
+
readonly description: string;
|
|
24
|
+
readonly pattern: string;
|
|
25
|
+
readonly maxLength: number;
|
|
26
|
+
readonly example: string;
|
|
27
|
+
readonly default?: string;
|
|
28
|
+
readonly kind?: "hostnameLabel" | "httpsUrl";
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
readonly credentials: {
|
|
32
|
+
readonly [x: string]: {
|
|
33
|
+
readonly label: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
readonly connectState: "ready" | "checkedAtConnect" | "unavailable";
|
|
38
|
+
readonly reason: string | null;
|
|
39
|
+
};
|
|
40
|
+
export declare const IntegrationCatalogSearchEntry: Schema.Struct<{
|
|
41
|
+
readonly key: Schema.String;
|
|
42
|
+
readonly kind: Schema.Union<readonly [Schema.Literal<"mcp">, Schema.Literal<"openapi">, Schema.Literal<"graphql">]>;
|
|
43
|
+
readonly name: Schema.String;
|
|
44
|
+
readonly description: Schema.String;
|
|
45
|
+
readonly domain: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
46
|
+
readonly category: Schema.Union<readonly [Schema.Literal<"commerce">, Schema.Literal<"payments">, Schema.Literal<"shipping">, Schema.Literal<"calendar">, Schema.Literal<"crm">, Schema.Literal<"helpdesk">, Schema.Literal<"knowledge">, Schema.Literal<"forms">, Schema.Literal<"accounting">, Schema.Literal<"reviews">, Schema.Literal<"productivity">, Schema.Literal<"dns">, Schema.Literal<"channel">, Schema.Literal<"other">]>;
|
|
47
|
+
readonly icon: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
48
|
+
readonly logo: Schema.optionalKey<Schema.Struct<{
|
|
49
|
+
readonly file: Schema.String;
|
|
50
|
+
readonly monochrome: Schema.optionalKey<Schema.Boolean>;
|
|
51
|
+
}>>;
|
|
52
|
+
readonly featured: Schema.Boolean;
|
|
53
|
+
readonly connectSpec: Schema.Struct<{
|
|
54
|
+
readonly provider: Schema.String;
|
|
55
|
+
readonly auth: Schema.Union<readonly [Schema.Literal<"discover">, Schema.Literal<"oauth">, Schema.Literal<"none">, Schema.Literal<"apiKey">]>;
|
|
56
|
+
readonly inputs: Schema.$Record<Schema.String, Schema.Struct<{
|
|
57
|
+
readonly label: Schema.String;
|
|
58
|
+
readonly description: Schema.String;
|
|
59
|
+
readonly pattern: Schema.String;
|
|
60
|
+
readonly maxLength: Schema.Finite;
|
|
61
|
+
readonly example: Schema.String;
|
|
62
|
+
readonly default: Schema.optionalKey<Schema.String>;
|
|
63
|
+
readonly kind: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"hostnameLabel">, Schema.Literal<"httpsUrl">]>>;
|
|
64
|
+
}>>;
|
|
65
|
+
readonly credentials: Schema.$Record<Schema.String, Schema.Struct<{
|
|
66
|
+
readonly label: Schema.String;
|
|
67
|
+
}>>;
|
|
68
|
+
}>;
|
|
69
|
+
readonly connectState: Schema.Union<readonly [Schema.Literal<"ready">, Schema.Literal<"checkedAtConnect">, Schema.Literal<"unavailable">]>;
|
|
70
|
+
readonly reason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
71
|
+
}>;
|
|
72
|
+
export type IntegrationCatalogConnection = {
|
|
73
|
+
readonly id: string;
|
|
74
|
+
readonly account: string | null;
|
|
75
|
+
readonly status: IntegrationStatus;
|
|
76
|
+
};
|
|
77
|
+
export declare const IntegrationCatalogConnection: Schema.Struct<{
|
|
78
|
+
readonly id: Schema.String;
|
|
79
|
+
readonly account: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
80
|
+
readonly status: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"connected">, Schema.Literal<"needsReconnect">]>;
|
|
81
|
+
}>;
|
|
82
|
+
export type IntegrationCatalogSearchPage = {
|
|
83
|
+
readonly items: ReadonlyArray<IntegrationCatalogSearchEntry>;
|
|
84
|
+
readonly total: number;
|
|
85
|
+
readonly nextOffset: number | null;
|
|
86
|
+
};
|
|
87
|
+
export declare const IntegrationCatalogSearchPage: Schema.Struct<{
|
|
88
|
+
readonly items: Schema.$Array<Schema.Struct<{
|
|
89
|
+
readonly key: Schema.String;
|
|
90
|
+
readonly kind: Schema.Union<readonly [Schema.Literal<"mcp">, Schema.Literal<"openapi">, Schema.Literal<"graphql">]>;
|
|
91
|
+
readonly name: Schema.String;
|
|
92
|
+
readonly description: Schema.String;
|
|
93
|
+
readonly domain: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
94
|
+
readonly category: Schema.Union<readonly [Schema.Literal<"commerce">, Schema.Literal<"payments">, Schema.Literal<"shipping">, Schema.Literal<"calendar">, Schema.Literal<"crm">, Schema.Literal<"helpdesk">, Schema.Literal<"knowledge">, Schema.Literal<"forms">, Schema.Literal<"accounting">, Schema.Literal<"reviews">, Schema.Literal<"productivity">, Schema.Literal<"dns">, Schema.Literal<"channel">, Schema.Literal<"other">]>;
|
|
95
|
+
readonly icon: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
96
|
+
readonly logo: Schema.optionalKey<Schema.Struct<{
|
|
97
|
+
readonly file: Schema.String;
|
|
98
|
+
readonly monochrome: Schema.optionalKey<Schema.Boolean>;
|
|
99
|
+
}>>;
|
|
100
|
+
readonly featured: Schema.Boolean;
|
|
101
|
+
readonly connectSpec: Schema.Struct<{
|
|
102
|
+
readonly provider: Schema.String;
|
|
103
|
+
readonly auth: Schema.Union<readonly [Schema.Literal<"discover">, Schema.Literal<"oauth">, Schema.Literal<"none">, Schema.Literal<"apiKey">]>;
|
|
104
|
+
readonly inputs: Schema.$Record<Schema.String, Schema.Struct<{
|
|
105
|
+
readonly label: Schema.String;
|
|
106
|
+
readonly description: Schema.String;
|
|
107
|
+
readonly pattern: Schema.String;
|
|
108
|
+
readonly maxLength: Schema.Finite;
|
|
109
|
+
readonly example: Schema.String;
|
|
110
|
+
readonly default: Schema.optionalKey<Schema.String>;
|
|
111
|
+
readonly kind: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"hostnameLabel">, Schema.Literal<"httpsUrl">]>>;
|
|
112
|
+
}>>;
|
|
113
|
+
readonly credentials: Schema.$Record<Schema.String, Schema.Struct<{
|
|
114
|
+
readonly label: Schema.String;
|
|
115
|
+
}>>;
|
|
116
|
+
}>;
|
|
117
|
+
readonly connectState: Schema.Union<readonly [Schema.Literal<"ready">, Schema.Literal<"checkedAtConnect">, Schema.Literal<"unavailable">]>;
|
|
118
|
+
readonly reason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
119
|
+
}>>;
|
|
120
|
+
readonly total: Schema.Finite;
|
|
121
|
+
readonly nextOffset: Schema.Union<readonly [Schema.Finite, Schema.Null]>;
|
|
122
|
+
}>;
|
|
123
|
+
export type IntegrationCatalogEntry = {
|
|
124
|
+
readonly id: string;
|
|
125
|
+
readonly name: string;
|
|
126
|
+
readonly category: "commerce" | "payments" | "shipping" | "calendar" | "crm" | "helpdesk" | "knowledge" | "forms" | "accounting" | "reviews" | "productivity" | "dns" | "channel" | "other";
|
|
127
|
+
readonly blurb: string;
|
|
128
|
+
readonly connect: "account" | "dns" | "channelLink";
|
|
129
|
+
readonly inviteOnly?: string;
|
|
130
|
+
readonly app?: IntegrationKey | null;
|
|
131
|
+
readonly href?: "/whatsapp" | null;
|
|
132
|
+
readonly connections: ReadonlyArray<IntegrationCatalogConnection>;
|
|
133
|
+
readonly usedBy: {
|
|
134
|
+
readonly agents: number;
|
|
135
|
+
readonly journeys: number;
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
export declare const IntegrationCatalogEntry: Schema.Struct<{
|
|
139
|
+
readonly id: Schema.String;
|
|
140
|
+
readonly name: Schema.String;
|
|
141
|
+
readonly category: Schema.Union<readonly [Schema.Literal<"commerce">, Schema.Literal<"payments">, Schema.Literal<"shipping">, Schema.Literal<"calendar">, Schema.Literal<"crm">, Schema.Literal<"helpdesk">, Schema.Literal<"knowledge">, Schema.Literal<"forms">, Schema.Literal<"accounting">, Schema.Literal<"reviews">, Schema.Literal<"productivity">, Schema.Literal<"dns">, Schema.Literal<"channel">, Schema.Literal<"other">]>;
|
|
142
|
+
readonly blurb: Schema.String;
|
|
143
|
+
readonly connect: Schema.Union<readonly [Schema.Literal<"account">, Schema.Literal<"dns">, Schema.Literal<"channelLink">]>;
|
|
144
|
+
readonly inviteOnly: Schema.optionalKey<Schema.String>;
|
|
145
|
+
readonly app: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
146
|
+
readonly href: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"/whatsapp">, Schema.Null]>>;
|
|
147
|
+
readonly connections: Schema.$Array<Schema.Struct<{
|
|
148
|
+
readonly id: Schema.String;
|
|
149
|
+
readonly account: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
150
|
+
readonly status: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"connected">, Schema.Literal<"needsReconnect">]>;
|
|
151
|
+
}>>;
|
|
152
|
+
readonly usedBy: Schema.Struct<{
|
|
153
|
+
readonly agents: Schema.Finite;
|
|
154
|
+
readonly journeys: Schema.Finite;
|
|
155
|
+
}>;
|
|
156
|
+
}>;
|
|
157
|
+
export type IntegrationCatalogResponse = {
|
|
158
|
+
readonly entries: ReadonlyArray<IntegrationCatalogEntry>;
|
|
159
|
+
};
|
|
160
|
+
export declare const IntegrationCatalogResponse: Schema.Struct<{
|
|
161
|
+
readonly entries: Schema.$Array<Schema.Struct<{
|
|
162
|
+
readonly id: Schema.String;
|
|
163
|
+
readonly name: Schema.String;
|
|
164
|
+
readonly category: Schema.Union<readonly [Schema.Literal<"commerce">, Schema.Literal<"payments">, Schema.Literal<"shipping">, Schema.Literal<"calendar">, Schema.Literal<"crm">, Schema.Literal<"helpdesk">, Schema.Literal<"knowledge">, Schema.Literal<"forms">, Schema.Literal<"accounting">, Schema.Literal<"reviews">, Schema.Literal<"productivity">, Schema.Literal<"dns">, Schema.Literal<"channel">, Schema.Literal<"other">]>;
|
|
165
|
+
readonly blurb: Schema.String;
|
|
166
|
+
readonly connect: Schema.Union<readonly [Schema.Literal<"account">, Schema.Literal<"dns">, Schema.Literal<"channelLink">]>;
|
|
167
|
+
readonly inviteOnly: Schema.optionalKey<Schema.String>;
|
|
168
|
+
readonly app: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
169
|
+
readonly href: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"/whatsapp">, Schema.Null]>>;
|
|
170
|
+
readonly connections: Schema.$Array<Schema.Struct<{
|
|
171
|
+
readonly id: Schema.String;
|
|
172
|
+
readonly account: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
173
|
+
readonly status: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"connected">, Schema.Literal<"needsReconnect">]>;
|
|
174
|
+
}>>;
|
|
175
|
+
readonly usedBy: Schema.Struct<{
|
|
176
|
+
readonly agents: Schema.Finite;
|
|
177
|
+
readonly journeys: Schema.Finite;
|
|
178
|
+
}>;
|
|
179
|
+
}>>;
|
|
180
|
+
}>;
|
|
181
|
+
export type IntegrationCatalogList200 = IntegrationCatalogResponse;
|
|
182
|
+
export declare const IntegrationCatalogList200: Schema.Struct<{
|
|
183
|
+
readonly entries: Schema.$Array<Schema.Struct<{
|
|
184
|
+
readonly id: Schema.String;
|
|
185
|
+
readonly name: Schema.String;
|
|
186
|
+
readonly category: Schema.Union<readonly [Schema.Literal<"commerce">, Schema.Literal<"payments">, Schema.Literal<"shipping">, Schema.Literal<"calendar">, Schema.Literal<"crm">, Schema.Literal<"helpdesk">, Schema.Literal<"knowledge">, Schema.Literal<"forms">, Schema.Literal<"accounting">, Schema.Literal<"reviews">, Schema.Literal<"productivity">, Schema.Literal<"dns">, Schema.Literal<"channel">, Schema.Literal<"other">]>;
|
|
187
|
+
readonly blurb: Schema.String;
|
|
188
|
+
readonly connect: Schema.Union<readonly [Schema.Literal<"account">, Schema.Literal<"dns">, Schema.Literal<"channelLink">]>;
|
|
189
|
+
readonly inviteOnly: Schema.optionalKey<Schema.String>;
|
|
190
|
+
readonly app: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
191
|
+
readonly href: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"/whatsapp">, Schema.Null]>>;
|
|
192
|
+
readonly connections: Schema.$Array<Schema.Struct<{
|
|
193
|
+
readonly id: Schema.String;
|
|
194
|
+
readonly account: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
195
|
+
readonly status: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"connected">, Schema.Literal<"needsReconnect">]>;
|
|
196
|
+
}>>;
|
|
197
|
+
readonly usedBy: Schema.Struct<{
|
|
198
|
+
readonly agents: Schema.Finite;
|
|
199
|
+
readonly journeys: Schema.Finite;
|
|
200
|
+
}>;
|
|
201
|
+
}>>;
|
|
202
|
+
}>;
|
|
203
|
+
export type IntegrationCatalogList400 = MalformedRequestError;
|
|
204
|
+
export declare const IntegrationCatalogList400: typeof MalformedRequestError;
|
|
205
|
+
export type IntegrationCatalogList401 = UnauthorizedError;
|
|
206
|
+
export declare const IntegrationCatalogList401: typeof UnauthorizedError;
|
|
207
|
+
export type IntegrationCatalogList403 = ForbiddenError;
|
|
208
|
+
export declare const IntegrationCatalogList403: typeof ForbiddenError;
|
|
209
|
+
export type IntegrationCatalogList422 = ValidationError;
|
|
210
|
+
export declare const IntegrationCatalogList422: typeof ValidationError;
|
|
211
|
+
export type IntegrationCatalogList500 = InternalError;
|
|
212
|
+
export declare const IntegrationCatalogList500: typeof InternalError;
|
|
213
|
+
export type IntegrationCatalogList504 = GatewayTimeoutError;
|
|
214
|
+
export declare const IntegrationCatalogList504: typeof GatewayTimeoutError;
|
|
215
|
+
export type IntegrationCatalogPrepareRequestJson = {
|
|
216
|
+
readonly provider: IntegrationKey;
|
|
217
|
+
readonly input?: JsonObject;
|
|
218
|
+
};
|
|
219
|
+
export declare const IntegrationCatalogPrepareRequestJson: Schema.Struct<{
|
|
220
|
+
readonly provider: Schema.String;
|
|
221
|
+
readonly input: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
|
|
222
|
+
}>;
|
|
223
|
+
export type IntegrationCatalogPrepare200 = {
|
|
224
|
+
readonly connectSpec: {
|
|
225
|
+
readonly provider: IntegrationKey;
|
|
226
|
+
readonly auth: "discover" | "oauth" | "none" | "apiKey";
|
|
227
|
+
readonly inputs: {
|
|
228
|
+
readonly [x: string]: {
|
|
229
|
+
readonly label: string;
|
|
230
|
+
readonly description: string;
|
|
231
|
+
readonly pattern: string;
|
|
232
|
+
readonly maxLength: number;
|
|
233
|
+
readonly example: string;
|
|
234
|
+
readonly default?: string;
|
|
235
|
+
readonly kind?: "hostnameLabel" | "httpsUrl";
|
|
236
|
+
};
|
|
237
|
+
};
|
|
238
|
+
readonly credentials: {
|
|
239
|
+
readonly [x: string]: {
|
|
240
|
+
readonly label: string;
|
|
241
|
+
};
|
|
242
|
+
};
|
|
243
|
+
};
|
|
244
|
+
readonly hosts: ReadonlyArray<string>;
|
|
245
|
+
readonly connectState: "ready" | "checkedAtConnect" | "unavailable";
|
|
246
|
+
readonly reason: string | null;
|
|
247
|
+
};
|
|
248
|
+
export declare const IntegrationCatalogPrepare200: Schema.Struct<{
|
|
249
|
+
readonly connectSpec: Schema.Struct<{
|
|
250
|
+
readonly provider: Schema.String;
|
|
251
|
+
readonly auth: Schema.Union<readonly [Schema.Literal<"discover">, Schema.Literal<"oauth">, Schema.Literal<"none">, Schema.Literal<"apiKey">]>;
|
|
252
|
+
readonly inputs: Schema.$Record<Schema.String, Schema.Struct<{
|
|
253
|
+
readonly label: Schema.String;
|
|
254
|
+
readonly description: Schema.String;
|
|
255
|
+
readonly pattern: Schema.String;
|
|
256
|
+
readonly maxLength: Schema.Finite;
|
|
257
|
+
readonly example: Schema.String;
|
|
258
|
+
readonly default: Schema.optionalKey<Schema.String>;
|
|
259
|
+
readonly kind: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"hostnameLabel">, Schema.Literal<"httpsUrl">]>>;
|
|
260
|
+
}>>;
|
|
261
|
+
readonly credentials: Schema.$Record<Schema.String, Schema.Struct<{
|
|
262
|
+
readonly label: Schema.String;
|
|
263
|
+
}>>;
|
|
264
|
+
}>;
|
|
265
|
+
readonly hosts: Schema.$Array<Schema.String>;
|
|
266
|
+
readonly connectState: Schema.Union<readonly [Schema.Literal<"ready">, Schema.Literal<"checkedAtConnect">, Schema.Literal<"unavailable">]>;
|
|
267
|
+
readonly reason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
268
|
+
}>;
|
|
269
|
+
export type IntegrationCatalogPrepare400 = MalformedRequestError;
|
|
270
|
+
export declare const IntegrationCatalogPrepare400: typeof MalformedRequestError;
|
|
271
|
+
export type IntegrationCatalogPrepare401 = UnauthorizedError;
|
|
272
|
+
export declare const IntegrationCatalogPrepare401: typeof UnauthorizedError;
|
|
273
|
+
export type IntegrationCatalogPrepare403 = ForbiddenError;
|
|
274
|
+
export declare const IntegrationCatalogPrepare403: typeof ForbiddenError;
|
|
275
|
+
export type IntegrationCatalogPrepare422 = ValidationError;
|
|
276
|
+
export declare const IntegrationCatalogPrepare422: typeof ValidationError;
|
|
277
|
+
export type IntegrationCatalogPrepare500 = InternalError;
|
|
278
|
+
export declare const IntegrationCatalogPrepare500: typeof InternalError;
|
|
279
|
+
export type IntegrationCatalogPrepare504 = GatewayTimeoutError;
|
|
280
|
+
export declare const IntegrationCatalogPrepare504: typeof GatewayTimeoutError;
|
|
281
|
+
export type IntegrationCatalogSearchQuery = {
|
|
282
|
+
readonly key?: IntegrationKey;
|
|
283
|
+
readonly query?: string;
|
|
284
|
+
readonly category?: "commerce" | "payments" | "shipping" | "calendar" | "crm" | "helpdesk" | "knowledge" | "forms" | "accounting" | "reviews" | "productivity" | "dns" | "channel" | "other";
|
|
285
|
+
readonly offset?: number;
|
|
286
|
+
readonly limit?: number;
|
|
287
|
+
};
|
|
288
|
+
export declare const IntegrationCatalogSearchQuery: Schema.Struct<{
|
|
289
|
+
readonly key: Schema.optionalKey<Schema.String>;
|
|
290
|
+
readonly query: Schema.optionalKey<Schema.String>;
|
|
291
|
+
readonly category: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"commerce">, Schema.Literal<"payments">, Schema.Literal<"shipping">, Schema.Literal<"calendar">, Schema.Literal<"crm">, Schema.Literal<"helpdesk">, Schema.Literal<"knowledge">, Schema.Literal<"forms">, Schema.Literal<"accounting">, Schema.Literal<"reviews">, Schema.Literal<"productivity">, Schema.Literal<"dns">, Schema.Literal<"channel">, Schema.Literal<"other">]>>;
|
|
292
|
+
readonly offset: Schema.optionalKey<Schema.Finite>;
|
|
293
|
+
readonly limit: Schema.optionalKey<Schema.Finite>;
|
|
294
|
+
}>;
|
|
295
|
+
export type IntegrationCatalogSearch200 = IntegrationCatalogSearchPage;
|
|
296
|
+
export declare const IntegrationCatalogSearch200: Schema.Struct<{
|
|
297
|
+
readonly items: Schema.$Array<Schema.Struct<{
|
|
298
|
+
readonly key: Schema.String;
|
|
299
|
+
readonly kind: Schema.Union<readonly [Schema.Literal<"mcp">, Schema.Literal<"openapi">, Schema.Literal<"graphql">]>;
|
|
300
|
+
readonly name: Schema.String;
|
|
301
|
+
readonly description: Schema.String;
|
|
302
|
+
readonly domain: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
303
|
+
readonly category: Schema.Union<readonly [Schema.Literal<"commerce">, Schema.Literal<"payments">, Schema.Literal<"shipping">, Schema.Literal<"calendar">, Schema.Literal<"crm">, Schema.Literal<"helpdesk">, Schema.Literal<"knowledge">, Schema.Literal<"forms">, Schema.Literal<"accounting">, Schema.Literal<"reviews">, Schema.Literal<"productivity">, Schema.Literal<"dns">, Schema.Literal<"channel">, Schema.Literal<"other">]>;
|
|
304
|
+
readonly icon: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
305
|
+
readonly logo: Schema.optionalKey<Schema.Struct<{
|
|
306
|
+
readonly file: Schema.String;
|
|
307
|
+
readonly monochrome: Schema.optionalKey<Schema.Boolean>;
|
|
308
|
+
}>>;
|
|
309
|
+
readonly featured: Schema.Boolean;
|
|
310
|
+
readonly connectSpec: Schema.Struct<{
|
|
311
|
+
readonly provider: Schema.String;
|
|
312
|
+
readonly auth: Schema.Union<readonly [Schema.Literal<"discover">, Schema.Literal<"oauth">, Schema.Literal<"none">, Schema.Literal<"apiKey">]>;
|
|
313
|
+
readonly inputs: Schema.$Record<Schema.String, Schema.Struct<{
|
|
314
|
+
readonly label: Schema.String;
|
|
315
|
+
readonly description: Schema.String;
|
|
316
|
+
readonly pattern: Schema.String;
|
|
317
|
+
readonly maxLength: Schema.Finite;
|
|
318
|
+
readonly example: Schema.String;
|
|
319
|
+
readonly default: Schema.optionalKey<Schema.String>;
|
|
320
|
+
readonly kind: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"hostnameLabel">, Schema.Literal<"httpsUrl">]>>;
|
|
321
|
+
}>>;
|
|
322
|
+
readonly credentials: Schema.$Record<Schema.String, Schema.Struct<{
|
|
323
|
+
readonly label: Schema.String;
|
|
324
|
+
}>>;
|
|
325
|
+
}>;
|
|
326
|
+
readonly connectState: Schema.Union<readonly [Schema.Literal<"ready">, Schema.Literal<"checkedAtConnect">, Schema.Literal<"unavailable">]>;
|
|
327
|
+
readonly reason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
328
|
+
}>>;
|
|
329
|
+
readonly total: Schema.Finite;
|
|
330
|
+
readonly nextOffset: Schema.Union<readonly [Schema.Finite, Schema.Null]>;
|
|
331
|
+
}>;
|
|
332
|
+
export type IntegrationCatalogSearch400 = MalformedRequestError;
|
|
333
|
+
export declare const IntegrationCatalogSearch400: typeof MalformedRequestError;
|
|
334
|
+
export type IntegrationCatalogSearch401 = UnauthorizedError;
|
|
335
|
+
export declare const IntegrationCatalogSearch401: typeof UnauthorizedError;
|
|
336
|
+
export type IntegrationCatalogSearch403 = ForbiddenError;
|
|
337
|
+
export declare const IntegrationCatalogSearch403: typeof ForbiddenError;
|
|
338
|
+
export type IntegrationCatalogSearch422 = ValidationError;
|
|
339
|
+
export declare const IntegrationCatalogSearch422: typeof ValidationError;
|
|
340
|
+
export type IntegrationCatalogSearch500 = InternalError;
|
|
341
|
+
export declare const IntegrationCatalogSearch500: typeof InternalError;
|
|
342
|
+
export type IntegrationCatalogSearch504 = GatewayTimeoutError;
|
|
343
|
+
export declare const IntegrationCatalogSearch504: typeof GatewayTimeoutError;
|
|
344
|
+
declare const IntegrationsCatalogGroup_base: HttpApiGroup.HttpApiGroup<"Integrations catalog", HttpApiEndpoint.HttpApiEndpoint<"integrationCatalogList", "GET", "/v1/integrations/catalog", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
345
|
+
readonly entries: Schema.$Array<Schema.Struct<{
|
|
346
|
+
readonly id: Schema.String;
|
|
347
|
+
readonly name: Schema.String;
|
|
348
|
+
readonly category: Schema.Union<readonly [Schema.Literal<"commerce">, Schema.Literal<"payments">, Schema.Literal<"shipping">, Schema.Literal<"calendar">, Schema.Literal<"crm">, Schema.Literal<"helpdesk">, Schema.Literal<"knowledge">, Schema.Literal<"forms">, Schema.Literal<"accounting">, Schema.Literal<"reviews">, Schema.Literal<"productivity">, Schema.Literal<"dns">, Schema.Literal<"channel">, Schema.Literal<"other">]>;
|
|
349
|
+
readonly blurb: Schema.String;
|
|
350
|
+
readonly connect: Schema.Union<readonly [Schema.Literal<"account">, Schema.Literal<"dns">, Schema.Literal<"channelLink">]>;
|
|
351
|
+
readonly inviteOnly: Schema.optionalKey<Schema.String>;
|
|
352
|
+
readonly app: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
353
|
+
readonly href: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"/whatsapp">, Schema.Null]>>;
|
|
354
|
+
readonly connections: Schema.$Array<Schema.Struct<{
|
|
355
|
+
readonly id: Schema.String;
|
|
356
|
+
readonly account: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
357
|
+
readonly status: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"connected">, Schema.Literal<"needsReconnect">]>;
|
|
358
|
+
}>>;
|
|
359
|
+
readonly usedBy: Schema.Struct<{
|
|
360
|
+
readonly agents: Schema.Finite;
|
|
361
|
+
readonly journeys: Schema.Finite;
|
|
362
|
+
}>;
|
|
363
|
+
}>>;
|
|
364
|
+
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ForbiddenError, {
|
|
365
|
+
readonly _tag: "ForbiddenError";
|
|
366
|
+
readonly message: string;
|
|
367
|
+
}, readonly [Schema.Struct<{
|
|
368
|
+
readonly _tag: Schema.tag<"ForbiddenError">;
|
|
369
|
+
readonly message: Schema.String;
|
|
370
|
+
}>], {
|
|
371
|
+
readonly _tag: "ForbiddenError";
|
|
372
|
+
readonly message: string;
|
|
373
|
+
}>, Schema.Struct<{
|
|
374
|
+
readonly _tag: Schema.tag<"ForbiddenError">;
|
|
375
|
+
readonly message: Schema.String;
|
|
376
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<GatewayTimeoutError, {
|
|
377
|
+
readonly _tag: "GatewayTimeoutError";
|
|
378
|
+
readonly message: string;
|
|
379
|
+
readonly retryAfterSeconds: number;
|
|
380
|
+
}, readonly [Schema.Struct<{
|
|
381
|
+
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
382
|
+
readonly message: Schema.String;
|
|
383
|
+
readonly retryAfterSeconds: Schema.Finite;
|
|
384
|
+
}>], {
|
|
385
|
+
readonly _tag: "GatewayTimeoutError";
|
|
386
|
+
readonly message: string;
|
|
387
|
+
readonly retryAfterSeconds: number;
|
|
388
|
+
}>, Schema.Struct<{
|
|
389
|
+
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
390
|
+
readonly message: Schema.String;
|
|
391
|
+
readonly retryAfterSeconds: Schema.Finite;
|
|
392
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<MalformedRequestError, {
|
|
393
|
+
readonly _tag: "MalformedRequestError";
|
|
394
|
+
readonly message: string;
|
|
395
|
+
readonly fields: {
|
|
396
|
+
readonly [x: string]: readonly string[];
|
|
397
|
+
};
|
|
398
|
+
}, readonly [Schema.Struct<{
|
|
399
|
+
readonly _tag: Schema.tag<"MalformedRequestError">;
|
|
400
|
+
readonly message: Schema.String;
|
|
401
|
+
readonly fields: Schema.$Record<Schema.String, Schema.$Array<Schema.String>>;
|
|
402
|
+
}>], {
|
|
403
|
+
readonly _tag: "MalformedRequestError";
|
|
404
|
+
readonly message: string;
|
|
405
|
+
readonly fields: {
|
|
406
|
+
readonly [x: string]: readonly string[];
|
|
407
|
+
};
|
|
408
|
+
}>, Schema.Struct<{
|
|
409
|
+
readonly _tag: Schema.tag<"MalformedRequestError">;
|
|
410
|
+
readonly message: Schema.String;
|
|
411
|
+
readonly fields: Schema.$Record<Schema.String, Schema.$Array<Schema.String>>;
|
|
412
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<UnauthorizedError, {
|
|
413
|
+
readonly _tag: "UnauthorizedError";
|
|
414
|
+
readonly message: string;
|
|
415
|
+
}, readonly [Schema.Struct<{
|
|
416
|
+
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
417
|
+
readonly message: Schema.String;
|
|
418
|
+
}>], {
|
|
419
|
+
readonly _tag: "UnauthorizedError";
|
|
420
|
+
readonly message: string;
|
|
421
|
+
}>, Schema.Struct<{
|
|
422
|
+
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
423
|
+
readonly message: Schema.String;
|
|
424
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ValidationError, {
|
|
425
|
+
readonly _tag: "ValidationError";
|
|
426
|
+
readonly message: string;
|
|
427
|
+
readonly fields?: {
|
|
428
|
+
readonly [x: string]: readonly string[];
|
|
429
|
+
} | null;
|
|
430
|
+
}, readonly [Schema.Struct<{
|
|
431
|
+
readonly _tag: Schema.tag<"ValidationError">;
|
|
432
|
+
readonly message: Schema.String;
|
|
433
|
+
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
434
|
+
}>], {
|
|
435
|
+
readonly _tag: "ValidationError";
|
|
436
|
+
readonly message: string;
|
|
437
|
+
readonly fields?: {
|
|
438
|
+
readonly [x: string]: readonly string[];
|
|
439
|
+
} | null;
|
|
440
|
+
}>, Schema.Struct<{
|
|
441
|
+
readonly _tag: Schema.tag<"ValidationError">;
|
|
442
|
+
readonly message: Schema.String;
|
|
443
|
+
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
444
|
+
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"integrationCatalogPrepare", "POST", "/v1/integrations/catalog/prepare", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
445
|
+
readonly provider: Schema.String;
|
|
446
|
+
readonly input: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
|
|
447
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
448
|
+
readonly connectSpec: Schema.Struct<{
|
|
449
|
+
readonly provider: Schema.String;
|
|
450
|
+
readonly auth: Schema.Union<readonly [Schema.Literal<"discover">, Schema.Literal<"oauth">, Schema.Literal<"none">, Schema.Literal<"apiKey">]>;
|
|
451
|
+
readonly inputs: Schema.$Record<Schema.String, Schema.Struct<{
|
|
452
|
+
readonly label: Schema.String;
|
|
453
|
+
readonly description: Schema.String;
|
|
454
|
+
readonly pattern: Schema.String;
|
|
455
|
+
readonly maxLength: Schema.Finite;
|
|
456
|
+
readonly example: Schema.String;
|
|
457
|
+
readonly default: Schema.optionalKey<Schema.String>;
|
|
458
|
+
readonly kind: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"hostnameLabel">, Schema.Literal<"httpsUrl">]>>;
|
|
459
|
+
}>>;
|
|
460
|
+
readonly credentials: Schema.$Record<Schema.String, Schema.Struct<{
|
|
461
|
+
readonly label: Schema.String;
|
|
462
|
+
}>>;
|
|
463
|
+
}>;
|
|
464
|
+
readonly hosts: Schema.$Array<Schema.String>;
|
|
465
|
+
readonly connectState: Schema.Union<readonly [Schema.Literal<"ready">, Schema.Literal<"checkedAtConnect">, Schema.Literal<"unavailable">]>;
|
|
466
|
+
readonly reason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
467
|
+
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ForbiddenError, {
|
|
468
|
+
readonly _tag: "ForbiddenError";
|
|
469
|
+
readonly message: string;
|
|
470
|
+
}, readonly [Schema.Struct<{
|
|
471
|
+
readonly _tag: Schema.tag<"ForbiddenError">;
|
|
472
|
+
readonly message: Schema.String;
|
|
473
|
+
}>], {
|
|
474
|
+
readonly _tag: "ForbiddenError";
|
|
475
|
+
readonly message: string;
|
|
476
|
+
}>, Schema.Struct<{
|
|
477
|
+
readonly _tag: Schema.tag<"ForbiddenError">;
|
|
478
|
+
readonly message: Schema.String;
|
|
479
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<GatewayTimeoutError, {
|
|
480
|
+
readonly _tag: "GatewayTimeoutError";
|
|
481
|
+
readonly message: string;
|
|
482
|
+
readonly retryAfterSeconds: number;
|
|
483
|
+
}, readonly [Schema.Struct<{
|
|
484
|
+
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
485
|
+
readonly message: Schema.String;
|
|
486
|
+
readonly retryAfterSeconds: Schema.Finite;
|
|
487
|
+
}>], {
|
|
488
|
+
readonly _tag: "GatewayTimeoutError";
|
|
489
|
+
readonly message: string;
|
|
490
|
+
readonly retryAfterSeconds: number;
|
|
491
|
+
}>, Schema.Struct<{
|
|
492
|
+
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
493
|
+
readonly message: Schema.String;
|
|
494
|
+
readonly retryAfterSeconds: Schema.Finite;
|
|
495
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<MalformedRequestError, {
|
|
496
|
+
readonly _tag: "MalformedRequestError";
|
|
497
|
+
readonly message: string;
|
|
498
|
+
readonly fields: {
|
|
499
|
+
readonly [x: string]: readonly string[];
|
|
500
|
+
};
|
|
501
|
+
}, readonly [Schema.Struct<{
|
|
502
|
+
readonly _tag: Schema.tag<"MalformedRequestError">;
|
|
503
|
+
readonly message: Schema.String;
|
|
504
|
+
readonly fields: Schema.$Record<Schema.String, Schema.$Array<Schema.String>>;
|
|
505
|
+
}>], {
|
|
506
|
+
readonly _tag: "MalformedRequestError";
|
|
507
|
+
readonly message: string;
|
|
508
|
+
readonly fields: {
|
|
509
|
+
readonly [x: string]: readonly string[];
|
|
510
|
+
};
|
|
511
|
+
}>, Schema.Struct<{
|
|
512
|
+
readonly _tag: Schema.tag<"MalformedRequestError">;
|
|
513
|
+
readonly message: Schema.String;
|
|
514
|
+
readonly fields: Schema.$Record<Schema.String, Schema.$Array<Schema.String>>;
|
|
515
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<UnauthorizedError, {
|
|
516
|
+
readonly _tag: "UnauthorizedError";
|
|
517
|
+
readonly message: string;
|
|
518
|
+
}, readonly [Schema.Struct<{
|
|
519
|
+
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
520
|
+
readonly message: Schema.String;
|
|
521
|
+
}>], {
|
|
522
|
+
readonly _tag: "UnauthorizedError";
|
|
523
|
+
readonly message: string;
|
|
524
|
+
}>, Schema.Struct<{
|
|
525
|
+
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
526
|
+
readonly message: Schema.String;
|
|
527
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ValidationError, {
|
|
528
|
+
readonly _tag: "ValidationError";
|
|
529
|
+
readonly message: string;
|
|
530
|
+
readonly fields?: {
|
|
531
|
+
readonly [x: string]: readonly string[];
|
|
532
|
+
} | null;
|
|
533
|
+
}, readonly [Schema.Struct<{
|
|
534
|
+
readonly _tag: Schema.tag<"ValidationError">;
|
|
535
|
+
readonly message: Schema.String;
|
|
536
|
+
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
537
|
+
}>], {
|
|
538
|
+
readonly _tag: "ValidationError";
|
|
539
|
+
readonly message: string;
|
|
540
|
+
readonly fields?: {
|
|
541
|
+
readonly [x: string]: readonly string[];
|
|
542
|
+
} | null;
|
|
543
|
+
}>, Schema.Struct<{
|
|
544
|
+
readonly _tag: Schema.tag<"ValidationError">;
|
|
545
|
+
readonly message: Schema.String;
|
|
546
|
+
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
547
|
+
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"integrationCatalogSearch", "GET", "/v1/integrations/catalog/search", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
548
|
+
readonly key: Schema.optionalKey<Schema.String>;
|
|
549
|
+
readonly query: Schema.optionalKey<Schema.String>;
|
|
550
|
+
readonly category: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"commerce">, Schema.Literal<"payments">, Schema.Literal<"shipping">, Schema.Literal<"calendar">, Schema.Literal<"crm">, Schema.Literal<"helpdesk">, Schema.Literal<"knowledge">, Schema.Literal<"forms">, Schema.Literal<"accounting">, Schema.Literal<"reviews">, Schema.Literal<"productivity">, Schema.Literal<"dns">, Schema.Literal<"channel">, Schema.Literal<"other">]>>;
|
|
551
|
+
readonly offset: Schema.optionalKey<Schema.Finite>;
|
|
552
|
+
readonly limit: Schema.optionalKey<Schema.Finite>;
|
|
553
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
554
|
+
readonly items: Schema.$Array<Schema.Struct<{
|
|
555
|
+
readonly key: Schema.String;
|
|
556
|
+
readonly kind: Schema.Union<readonly [Schema.Literal<"mcp">, Schema.Literal<"openapi">, Schema.Literal<"graphql">]>;
|
|
557
|
+
readonly name: Schema.String;
|
|
558
|
+
readonly description: Schema.String;
|
|
559
|
+
readonly domain: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
560
|
+
readonly category: Schema.Union<readonly [Schema.Literal<"commerce">, Schema.Literal<"payments">, Schema.Literal<"shipping">, Schema.Literal<"calendar">, Schema.Literal<"crm">, Schema.Literal<"helpdesk">, Schema.Literal<"knowledge">, Schema.Literal<"forms">, Schema.Literal<"accounting">, Schema.Literal<"reviews">, Schema.Literal<"productivity">, Schema.Literal<"dns">, Schema.Literal<"channel">, Schema.Literal<"other">]>;
|
|
561
|
+
readonly icon: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
562
|
+
readonly logo: Schema.optionalKey<Schema.Struct<{
|
|
563
|
+
readonly file: Schema.String;
|
|
564
|
+
readonly monochrome: Schema.optionalKey<Schema.Boolean>;
|
|
565
|
+
}>>;
|
|
566
|
+
readonly featured: Schema.Boolean;
|
|
567
|
+
readonly connectSpec: Schema.Struct<{
|
|
568
|
+
readonly provider: Schema.String;
|
|
569
|
+
readonly auth: Schema.Union<readonly [Schema.Literal<"discover">, Schema.Literal<"oauth">, Schema.Literal<"none">, Schema.Literal<"apiKey">]>;
|
|
570
|
+
readonly inputs: Schema.$Record<Schema.String, Schema.Struct<{
|
|
571
|
+
readonly label: Schema.String;
|
|
572
|
+
readonly description: Schema.String;
|
|
573
|
+
readonly pattern: Schema.String;
|
|
574
|
+
readonly maxLength: Schema.Finite;
|
|
575
|
+
readonly example: Schema.String;
|
|
576
|
+
readonly default: Schema.optionalKey<Schema.String>;
|
|
577
|
+
readonly kind: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"hostnameLabel">, Schema.Literal<"httpsUrl">]>>;
|
|
578
|
+
}>>;
|
|
579
|
+
readonly credentials: Schema.$Record<Schema.String, Schema.Struct<{
|
|
580
|
+
readonly label: Schema.String;
|
|
581
|
+
}>>;
|
|
582
|
+
}>;
|
|
583
|
+
readonly connectState: Schema.Union<readonly [Schema.Literal<"ready">, Schema.Literal<"checkedAtConnect">, Schema.Literal<"unavailable">]>;
|
|
584
|
+
readonly reason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
585
|
+
}>>;
|
|
586
|
+
readonly total: Schema.Finite;
|
|
587
|
+
readonly nextOffset: Schema.Union<readonly [Schema.Finite, Schema.Null]>;
|
|
588
|
+
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ForbiddenError, {
|
|
589
|
+
readonly _tag: "ForbiddenError";
|
|
590
|
+
readonly message: string;
|
|
591
|
+
}, readonly [Schema.Struct<{
|
|
592
|
+
readonly _tag: Schema.tag<"ForbiddenError">;
|
|
593
|
+
readonly message: Schema.String;
|
|
594
|
+
}>], {
|
|
595
|
+
readonly _tag: "ForbiddenError";
|
|
596
|
+
readonly message: string;
|
|
597
|
+
}>, Schema.Struct<{
|
|
598
|
+
readonly _tag: Schema.tag<"ForbiddenError">;
|
|
599
|
+
readonly message: Schema.String;
|
|
600
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<GatewayTimeoutError, {
|
|
601
|
+
readonly _tag: "GatewayTimeoutError";
|
|
602
|
+
readonly message: string;
|
|
603
|
+
readonly retryAfterSeconds: number;
|
|
604
|
+
}, readonly [Schema.Struct<{
|
|
605
|
+
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
606
|
+
readonly message: Schema.String;
|
|
607
|
+
readonly retryAfterSeconds: Schema.Finite;
|
|
608
|
+
}>], {
|
|
609
|
+
readonly _tag: "GatewayTimeoutError";
|
|
610
|
+
readonly message: string;
|
|
611
|
+
readonly retryAfterSeconds: number;
|
|
612
|
+
}>, Schema.Struct<{
|
|
613
|
+
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
614
|
+
readonly message: Schema.String;
|
|
615
|
+
readonly retryAfterSeconds: Schema.Finite;
|
|
616
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<MalformedRequestError, {
|
|
617
|
+
readonly _tag: "MalformedRequestError";
|
|
618
|
+
readonly message: string;
|
|
619
|
+
readonly fields: {
|
|
620
|
+
readonly [x: string]: readonly string[];
|
|
621
|
+
};
|
|
622
|
+
}, readonly [Schema.Struct<{
|
|
623
|
+
readonly _tag: Schema.tag<"MalformedRequestError">;
|
|
624
|
+
readonly message: Schema.String;
|
|
625
|
+
readonly fields: Schema.$Record<Schema.String, Schema.$Array<Schema.String>>;
|
|
626
|
+
}>], {
|
|
627
|
+
readonly _tag: "MalformedRequestError";
|
|
628
|
+
readonly message: string;
|
|
629
|
+
readonly fields: {
|
|
630
|
+
readonly [x: string]: readonly string[];
|
|
631
|
+
};
|
|
632
|
+
}>, Schema.Struct<{
|
|
633
|
+
readonly _tag: Schema.tag<"MalformedRequestError">;
|
|
634
|
+
readonly message: Schema.String;
|
|
635
|
+
readonly fields: Schema.$Record<Schema.String, Schema.$Array<Schema.String>>;
|
|
636
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<UnauthorizedError, {
|
|
637
|
+
readonly _tag: "UnauthorizedError";
|
|
638
|
+
readonly message: string;
|
|
639
|
+
}, readonly [Schema.Struct<{
|
|
640
|
+
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
641
|
+
readonly message: Schema.String;
|
|
642
|
+
}>], {
|
|
643
|
+
readonly _tag: "UnauthorizedError";
|
|
644
|
+
readonly message: string;
|
|
645
|
+
}>, Schema.Struct<{
|
|
646
|
+
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
647
|
+
readonly message: Schema.String;
|
|
648
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ValidationError, {
|
|
649
|
+
readonly _tag: "ValidationError";
|
|
650
|
+
readonly message: string;
|
|
651
|
+
readonly fields?: {
|
|
652
|
+
readonly [x: string]: readonly string[];
|
|
653
|
+
} | null;
|
|
654
|
+
}, readonly [Schema.Struct<{
|
|
655
|
+
readonly _tag: Schema.tag<"ValidationError">;
|
|
656
|
+
readonly message: Schema.String;
|
|
657
|
+
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
658
|
+
}>], {
|
|
659
|
+
readonly _tag: "ValidationError";
|
|
660
|
+
readonly message: string;
|
|
661
|
+
readonly fields?: {
|
|
662
|
+
readonly [x: string]: readonly string[];
|
|
663
|
+
} | null;
|
|
664
|
+
}>, Schema.Struct<{
|
|
665
|
+
readonly _tag: Schema.tag<"ValidationError">;
|
|
666
|
+
readonly message: Schema.String;
|
|
667
|
+
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
668
|
+
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never>, false>;
|
|
669
|
+
export declare class IntegrationsCatalogGroup extends IntegrationsCatalogGroup_base {
|
|
670
|
+
}
|
|
671
|
+
export {};
|