@wix/auto_sdk_data_external-database-connections 1.0.43 → 1.0.44

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.
@@ -0,0 +1,494 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+
30
+ // schemas.ts
31
+ var schemas_exports = {};
32
+ __export(schemas_exports, {
33
+ CreateExternalDatabaseConnectionRequest: () => CreateExternalDatabaseConnectionRequest,
34
+ CreateExternalDatabaseConnectionResponse: () => CreateExternalDatabaseConnectionResponse,
35
+ DeleteExternalDatabaseConnectionRequest: () => DeleteExternalDatabaseConnectionRequest,
36
+ DeleteExternalDatabaseConnectionResponse: () => DeleteExternalDatabaseConnectionResponse,
37
+ GetExternalDatabaseConnectionRequest: () => GetExternalDatabaseConnectionRequest,
38
+ GetExternalDatabaseConnectionResponse: () => GetExternalDatabaseConnectionResponse,
39
+ ListExternalDatabaseConnectionsRequest: () => ListExternalDatabaseConnectionsRequest,
40
+ ListExternalDatabaseConnectionsResponse: () => ListExternalDatabaseConnectionsResponse,
41
+ UpdateExternalDatabaseConnectionRequest: () => UpdateExternalDatabaseConnectionRequest,
42
+ UpdateExternalDatabaseConnectionResponse: () => UpdateExternalDatabaseConnectionResponse
43
+ });
44
+ module.exports = __toCommonJS(schemas_exports);
45
+
46
+ // src/data-v1-external-database-connection-external-database-connections.schemas.ts
47
+ var z = __toESM(require("zod"));
48
+ var GetExternalDatabaseConnectionRequest = z.object({
49
+ name: z.string().describe("Name of the external database connection to retrieve.").max(255)
50
+ });
51
+ var GetExternalDatabaseConnectionResponse = z.object({
52
+ name: z.string().describe(
53
+ "Name of the external database connection.\n\nAn external database connection can connect to one or more external data collections or tables. These appear as `connectionName/dataCollectionId`."
54
+ ).min(1).max(255).optional(),
55
+ endpoint: z.string().describe(
56
+ "Base URL for accessing and managing data in the external database. For example: `https://example.com/my-external-database`.\nRequired for STANDALONE connection type."
57
+ ).url().optional().nullable(),
58
+ configuration: z.record(z.string(), z.any()).describe(
59
+ "Settings specified to the external database connection as part of each request.\n\nThese settings can relate to authentication, tenancy, or provide any other information necessary for processing a request. Their content and structure depend on the specific requirements of the external database's API."
60
+ ).optional().nullable(),
61
+ connectionStatus: z.object({
62
+ successful: z.boolean().describe("Whether the connection was established successfully.").optional(),
63
+ causeOfFailure: z.enum([
64
+ "NONE",
65
+ "COMMUNICATION_FAILURE",
66
+ "DESTINATION_HOST_UNREACHABLE",
67
+ "UNAUTHORIZED",
68
+ "DESTINATION_ENDPOINT_NOT_DEFINED"
69
+ ]).describe("Whether and why the connection attempt failed.").optional(),
70
+ hasCollections: z.enum(["UNKNOWN", "YES", "NO"]).describe("Whether the external database has collections.").optional()
71
+ }).describe(
72
+ "Status of the external database connection. Includes whether the connection was established successfully, and if not, the reason for the failure."
73
+ ).optional(),
74
+ publicKey: z.string().describe("Public key used to validate requests to the external database.").max(128).optional().nullable(),
75
+ capabilities: z.object({
76
+ collectionModificationsSupported: z.boolean().describe(
77
+ "Whether the external database supports creating new collections, updating the structure of existing collections, or deleting them."
78
+ ).optional(),
79
+ fieldTypes: z.array(
80
+ z.enum([
81
+ "TEXT",
82
+ "NUMBER",
83
+ "DATE",
84
+ "DATETIME",
85
+ "IMAGE",
86
+ "BOOLEAN",
87
+ "DOCUMENT",
88
+ "URL",
89
+ "RICH_TEXT",
90
+ "VIDEO",
91
+ "ANY",
92
+ "ARRAY_STRING",
93
+ "ARRAY_DOCUMENT",
94
+ "AUDIO",
95
+ "TIME",
96
+ "LANGUAGE",
97
+ "RICH_CONTENT",
98
+ "MEDIA_GALLERY",
99
+ "ADDRESS",
100
+ "PAGE_LINK",
101
+ "REFERENCE",
102
+ "MULTI_REFERENCE",
103
+ "OBJECT",
104
+ "ARRAY",
105
+ "LEGACY_TIME",
106
+ "LEGACY_BOOK",
107
+ "LEGACY_EXTERNAL_URL",
108
+ "LEGACY_BROKEN_REFERENCE",
109
+ "LEGACY_IMAGE",
110
+ "LEGACY_COLOR",
111
+ "LEGACY_EXTERNAL_VIDEO"
112
+ ])
113
+ ).max(255).optional()
114
+ }).describe("Capabilities of the external database.").optional()
115
+ });
116
+ var ListExternalDatabaseConnectionsRequest = z.object({
117
+ options: z.object({
118
+ paging: z.object({
119
+ limit: z.number().int().describe("Number of items to load.").min(0).optional().nullable(),
120
+ offset: z.number().int().describe("Number of items to skip in the current sort order.").min(0).optional().nullable()
121
+ }).describe("Paging metadata.").optional()
122
+ }).optional()
123
+ });
124
+ var ListExternalDatabaseConnectionsResponse = z.object({
125
+ externalDatabaseConnections: z.array(
126
+ z.object({
127
+ name: z.string().describe(
128
+ "Name of the external database connection.\n\nAn external database connection can connect to one or more external data collections or tables. These appear as `connectionName/dataCollectionId`."
129
+ ).min(1).max(255).optional(),
130
+ endpoint: z.string().describe(
131
+ "Base URL for accessing and managing data in the external database. For example: `https://example.com/my-external-database`.\nRequired for STANDALONE connection type."
132
+ ).url().optional().nullable(),
133
+ configuration: z.record(z.string(), z.any()).describe(
134
+ "Settings specified to the external database connection as part of each request.\n\nThese settings can relate to authentication, tenancy, or provide any other information necessary for processing a request. Their content and structure depend on the specific requirements of the external database's API."
135
+ ).optional().nullable(),
136
+ connectionStatus: z.object({
137
+ successful: z.boolean().describe("Whether the connection was established successfully.").optional(),
138
+ causeOfFailure: z.enum([
139
+ "NONE",
140
+ "COMMUNICATION_FAILURE",
141
+ "DESTINATION_HOST_UNREACHABLE",
142
+ "UNAUTHORIZED",
143
+ "DESTINATION_ENDPOINT_NOT_DEFINED"
144
+ ]).describe("Whether and why the connection attempt failed.").optional(),
145
+ hasCollections: z.enum(["UNKNOWN", "YES", "NO"]).describe("Whether the external database has collections.").optional()
146
+ }).describe(
147
+ "Status of the external database connection. Includes whether the connection was established successfully, and if not, the reason for the failure."
148
+ ).optional(),
149
+ publicKey: z.string().describe(
150
+ "Public key used to validate requests to the external database."
151
+ ).max(128).optional().nullable(),
152
+ capabilities: z.object({
153
+ collectionModificationsSupported: z.boolean().describe(
154
+ "Whether the external database supports creating new collections, updating the structure of existing collections, or deleting them."
155
+ ).optional(),
156
+ fieldTypes: z.array(
157
+ z.enum([
158
+ "TEXT",
159
+ "NUMBER",
160
+ "DATE",
161
+ "DATETIME",
162
+ "IMAGE",
163
+ "BOOLEAN",
164
+ "DOCUMENT",
165
+ "URL",
166
+ "RICH_TEXT",
167
+ "VIDEO",
168
+ "ANY",
169
+ "ARRAY_STRING",
170
+ "ARRAY_DOCUMENT",
171
+ "AUDIO",
172
+ "TIME",
173
+ "LANGUAGE",
174
+ "RICH_CONTENT",
175
+ "MEDIA_GALLERY",
176
+ "ADDRESS",
177
+ "PAGE_LINK",
178
+ "REFERENCE",
179
+ "MULTI_REFERENCE",
180
+ "OBJECT",
181
+ "ARRAY",
182
+ "LEGACY_TIME",
183
+ "LEGACY_BOOK",
184
+ "LEGACY_EXTERNAL_URL",
185
+ "LEGACY_BROKEN_REFERENCE",
186
+ "LEGACY_IMAGE",
187
+ "LEGACY_COLOR",
188
+ "LEGACY_EXTERNAL_VIDEO"
189
+ ])
190
+ ).max(255).optional()
191
+ }).describe("Capabilities of the external database.").optional()
192
+ })
193
+ ).optional(),
194
+ pagingMetadata: z.object({
195
+ count: z.number().int().describe("Number of items returned in the response.").optional().nullable(),
196
+ offset: z.number().int().describe("Offset that was requested.").optional().nullable(),
197
+ total: z.number().int().describe("Total number of items that match the query.").optional().nullable(),
198
+ tooManyToCount: z.boolean().describe(
199
+ "Flag that indicates the server failed to calculate the `total` field."
200
+ ).optional().nullable()
201
+ }).describe("Paging metadata.").optional()
202
+ });
203
+ var CreateExternalDatabaseConnectionRequest = z.object({
204
+ externalDatabaseConnection: z.object({
205
+ name: z.string().describe(
206
+ "Name of the external database connection.\n\nAn external database connection can connect to one or more external data collections or tables. These appear as `connectionName/dataCollectionId`."
207
+ ).min(1).max(255),
208
+ endpoint: z.string().describe(
209
+ "Base URL for accessing and managing data in the external database. For example: `https://example.com/my-external-database`.\nRequired for STANDALONE connection type."
210
+ ).url().optional().nullable(),
211
+ configuration: z.record(z.string(), z.any()).describe(
212
+ "Settings specified to the external database connection as part of each request.\n\nThese settings can relate to authentication, tenancy, or provide any other information necessary for processing a request. Their content and structure depend on the specific requirements of the external database's API."
213
+ ).optional().nullable(),
214
+ connectionStatus: z.object({
215
+ successful: z.boolean().describe("Whether the connection was established successfully.").optional(),
216
+ causeOfFailure: z.enum([
217
+ "NONE",
218
+ "COMMUNICATION_FAILURE",
219
+ "DESTINATION_HOST_UNREACHABLE",
220
+ "UNAUTHORIZED",
221
+ "DESTINATION_ENDPOINT_NOT_DEFINED"
222
+ ]).optional(),
223
+ hasCollections: z.enum(["UNKNOWN", "YES", "NO"]).optional()
224
+ }).describe(
225
+ "Status of the external database connection. Includes whether the connection was established successfully, and if not, the reason for the failure."
226
+ ).optional(),
227
+ publicKey: z.string().describe(
228
+ "Public key used to validate requests to the external database."
229
+ ).max(128).optional().nullable(),
230
+ capabilities: z.object({
231
+ collectionModificationsSupported: z.boolean().describe(
232
+ "Whether the external database supports creating new collections, updating the structure of existing collections, or deleting them."
233
+ ).optional(),
234
+ fieldTypes: z.array(
235
+ z.enum([
236
+ "TEXT",
237
+ "NUMBER",
238
+ "DATE",
239
+ "DATETIME",
240
+ "IMAGE",
241
+ "BOOLEAN",
242
+ "DOCUMENT",
243
+ "URL",
244
+ "RICH_TEXT",
245
+ "VIDEO",
246
+ "ANY",
247
+ "ARRAY_STRING",
248
+ "ARRAY_DOCUMENT",
249
+ "AUDIO",
250
+ "TIME",
251
+ "LANGUAGE",
252
+ "RICH_CONTENT",
253
+ "MEDIA_GALLERY",
254
+ "ADDRESS",
255
+ "PAGE_LINK",
256
+ "REFERENCE",
257
+ "MULTI_REFERENCE",
258
+ "OBJECT",
259
+ "ARRAY",
260
+ "LEGACY_TIME",
261
+ "LEGACY_BOOK",
262
+ "LEGACY_EXTERNAL_URL",
263
+ "LEGACY_BROKEN_REFERENCE",
264
+ "LEGACY_IMAGE",
265
+ "LEGACY_COLOR",
266
+ "LEGACY_EXTERNAL_VIDEO"
267
+ ])
268
+ ).max(255).optional()
269
+ }).describe("Capabilities of the external database.").optional()
270
+ }).describe("External database connection details."),
271
+ connectionType: z.enum(["STANDALONE", "WIX_SERVICE_PLUGIN"])
272
+ });
273
+ var CreateExternalDatabaseConnectionResponse = z.object({
274
+ name: z.string().describe(
275
+ "Name of the external database connection.\n\nAn external database connection can connect to one or more external data collections or tables. These appear as `connectionName/dataCollectionId`."
276
+ ).min(1).max(255).optional(),
277
+ endpoint: z.string().describe(
278
+ "Base URL for accessing and managing data in the external database. For example: `https://example.com/my-external-database`.\nRequired for STANDALONE connection type."
279
+ ).url().optional().nullable(),
280
+ configuration: z.record(z.string(), z.any()).describe(
281
+ "Settings specified to the external database connection as part of each request.\n\nThese settings can relate to authentication, tenancy, or provide any other information necessary for processing a request. Their content and structure depend on the specific requirements of the external database's API."
282
+ ).optional().nullable(),
283
+ connectionStatus: z.object({
284
+ successful: z.boolean().describe("Whether the connection was established successfully.").optional(),
285
+ causeOfFailure: z.enum([
286
+ "NONE",
287
+ "COMMUNICATION_FAILURE",
288
+ "DESTINATION_HOST_UNREACHABLE",
289
+ "UNAUTHORIZED",
290
+ "DESTINATION_ENDPOINT_NOT_DEFINED"
291
+ ]).describe("Whether and why the connection attempt failed.").optional(),
292
+ hasCollections: z.enum(["UNKNOWN", "YES", "NO"]).describe("Whether the external database has collections.").optional()
293
+ }).describe(
294
+ "Status of the external database connection. Includes whether the connection was established successfully, and if not, the reason for the failure."
295
+ ).optional(),
296
+ publicKey: z.string().describe("Public key used to validate requests to the external database.").max(128).optional().nullable(),
297
+ capabilities: z.object({
298
+ collectionModificationsSupported: z.boolean().describe(
299
+ "Whether the external database supports creating new collections, updating the structure of existing collections, or deleting them."
300
+ ).optional(),
301
+ fieldTypes: z.array(
302
+ z.enum([
303
+ "TEXT",
304
+ "NUMBER",
305
+ "DATE",
306
+ "DATETIME",
307
+ "IMAGE",
308
+ "BOOLEAN",
309
+ "DOCUMENT",
310
+ "URL",
311
+ "RICH_TEXT",
312
+ "VIDEO",
313
+ "ANY",
314
+ "ARRAY_STRING",
315
+ "ARRAY_DOCUMENT",
316
+ "AUDIO",
317
+ "TIME",
318
+ "LANGUAGE",
319
+ "RICH_CONTENT",
320
+ "MEDIA_GALLERY",
321
+ "ADDRESS",
322
+ "PAGE_LINK",
323
+ "REFERENCE",
324
+ "MULTI_REFERENCE",
325
+ "OBJECT",
326
+ "ARRAY",
327
+ "LEGACY_TIME",
328
+ "LEGACY_BOOK",
329
+ "LEGACY_EXTERNAL_URL",
330
+ "LEGACY_BROKEN_REFERENCE",
331
+ "LEGACY_IMAGE",
332
+ "LEGACY_COLOR",
333
+ "LEGACY_EXTERNAL_VIDEO"
334
+ ])
335
+ ).max(255).optional()
336
+ }).describe("Capabilities of the external database.").optional()
337
+ });
338
+ var UpdateExternalDatabaseConnectionRequest = z.object({
339
+ name: z.string().describe(
340
+ "Name of the external database connection.\n\nAn external database connection can connect to one or more external data collections or tables. These appear as `connectionName/dataCollectionId`."
341
+ ).min(1).max(255),
342
+ externalDatabaseConnection: z.object({
343
+ name: z.string().describe(
344
+ "Name of the external database connection.\n\nAn external database connection can connect to one or more external data collections or tables. These appear as `connectionName/dataCollectionId`."
345
+ ).min(1).max(255).optional(),
346
+ endpoint: z.string().describe(
347
+ "Base URL for accessing and managing data in the external database. For example: `https://example.com/my-external-database`.\nRequired for STANDALONE connection type."
348
+ ).url().optional().nullable(),
349
+ configuration: z.record(z.string(), z.any()).describe(
350
+ "Settings specified to the external database connection as part of each request.\n\nThese settings can relate to authentication, tenancy, or provide any other information necessary for processing a request. Their content and structure depend on the specific requirements of the external database's API."
351
+ ).optional().nullable(),
352
+ connectionStatus: z.object({
353
+ successful: z.boolean().describe("Whether the connection was established successfully.").optional(),
354
+ causeOfFailure: z.enum([
355
+ "NONE",
356
+ "COMMUNICATION_FAILURE",
357
+ "DESTINATION_HOST_UNREACHABLE",
358
+ "UNAUTHORIZED",
359
+ "DESTINATION_ENDPOINT_NOT_DEFINED"
360
+ ]).optional(),
361
+ hasCollections: z.enum(["UNKNOWN", "YES", "NO"]).optional()
362
+ }).describe(
363
+ "Status of the external database connection. Includes whether the connection was established successfully, and if not, the reason for the failure."
364
+ ).optional(),
365
+ publicKey: z.string().describe(
366
+ "Public key used to validate requests to the external database."
367
+ ).max(128).optional().nullable(),
368
+ capabilities: z.object({
369
+ collectionModificationsSupported: z.boolean().describe(
370
+ "Whether the external database supports creating new collections, updating the structure of existing collections, or deleting them."
371
+ ).optional(),
372
+ fieldTypes: z.array(
373
+ z.enum([
374
+ "TEXT",
375
+ "NUMBER",
376
+ "DATE",
377
+ "DATETIME",
378
+ "IMAGE",
379
+ "BOOLEAN",
380
+ "DOCUMENT",
381
+ "URL",
382
+ "RICH_TEXT",
383
+ "VIDEO",
384
+ "ANY",
385
+ "ARRAY_STRING",
386
+ "ARRAY_DOCUMENT",
387
+ "AUDIO",
388
+ "TIME",
389
+ "LANGUAGE",
390
+ "RICH_CONTENT",
391
+ "MEDIA_GALLERY",
392
+ "ADDRESS",
393
+ "PAGE_LINK",
394
+ "REFERENCE",
395
+ "MULTI_REFERENCE",
396
+ "OBJECT",
397
+ "ARRAY",
398
+ "LEGACY_TIME",
399
+ "LEGACY_BOOK",
400
+ "LEGACY_EXTERNAL_URL",
401
+ "LEGACY_BROKEN_REFERENCE",
402
+ "LEGACY_IMAGE",
403
+ "LEGACY_COLOR",
404
+ "LEGACY_EXTERNAL_VIDEO"
405
+ ])
406
+ ).max(255).optional()
407
+ }).describe("Capabilities of the external database.").optional()
408
+ }).describe(
409
+ "Updated external database connection details. The existing connection is replaced with this version."
410
+ )
411
+ });
412
+ var UpdateExternalDatabaseConnectionResponse = z.object({
413
+ name: z.string().describe(
414
+ "Name of the external database connection.\n\nAn external database connection can connect to one or more external data collections or tables. These appear as `connectionName/dataCollectionId`."
415
+ ).min(1).max(255).optional(),
416
+ endpoint: z.string().describe(
417
+ "Base URL for accessing and managing data in the external database. For example: `https://example.com/my-external-database`.\nRequired for STANDALONE connection type."
418
+ ).url().optional().nullable(),
419
+ configuration: z.record(z.string(), z.any()).describe(
420
+ "Settings specified to the external database connection as part of each request.\n\nThese settings can relate to authentication, tenancy, or provide any other information necessary for processing a request. Their content and structure depend on the specific requirements of the external database's API."
421
+ ).optional().nullable(),
422
+ connectionStatus: z.object({
423
+ successful: z.boolean().describe("Whether the connection was established successfully.").optional(),
424
+ causeOfFailure: z.enum([
425
+ "NONE",
426
+ "COMMUNICATION_FAILURE",
427
+ "DESTINATION_HOST_UNREACHABLE",
428
+ "UNAUTHORIZED",
429
+ "DESTINATION_ENDPOINT_NOT_DEFINED"
430
+ ]).describe("Whether and why the connection attempt failed.").optional(),
431
+ hasCollections: z.enum(["UNKNOWN", "YES", "NO"]).describe("Whether the external database has collections.").optional()
432
+ }).describe(
433
+ "Status of the external database connection. Includes whether the connection was established successfully, and if not, the reason for the failure."
434
+ ).optional(),
435
+ publicKey: z.string().describe("Public key used to validate requests to the external database.").max(128).optional().nullable(),
436
+ capabilities: z.object({
437
+ collectionModificationsSupported: z.boolean().describe(
438
+ "Whether the external database supports creating new collections, updating the structure of existing collections, or deleting them."
439
+ ).optional(),
440
+ fieldTypes: z.array(
441
+ z.enum([
442
+ "TEXT",
443
+ "NUMBER",
444
+ "DATE",
445
+ "DATETIME",
446
+ "IMAGE",
447
+ "BOOLEAN",
448
+ "DOCUMENT",
449
+ "URL",
450
+ "RICH_TEXT",
451
+ "VIDEO",
452
+ "ANY",
453
+ "ARRAY_STRING",
454
+ "ARRAY_DOCUMENT",
455
+ "AUDIO",
456
+ "TIME",
457
+ "LANGUAGE",
458
+ "RICH_CONTENT",
459
+ "MEDIA_GALLERY",
460
+ "ADDRESS",
461
+ "PAGE_LINK",
462
+ "REFERENCE",
463
+ "MULTI_REFERENCE",
464
+ "OBJECT",
465
+ "ARRAY",
466
+ "LEGACY_TIME",
467
+ "LEGACY_BOOK",
468
+ "LEGACY_EXTERNAL_URL",
469
+ "LEGACY_BROKEN_REFERENCE",
470
+ "LEGACY_IMAGE",
471
+ "LEGACY_COLOR",
472
+ "LEGACY_EXTERNAL_VIDEO"
473
+ ])
474
+ ).max(255).optional()
475
+ }).describe("Capabilities of the external database.").optional()
476
+ });
477
+ var DeleteExternalDatabaseConnectionRequest = z.object({
478
+ name: z.string().describe("Name of the external database connection to delete.").max(255)
479
+ });
480
+ var DeleteExternalDatabaseConnectionResponse = z.object({});
481
+ // Annotate the CommonJS export names for ESM import in node:
482
+ 0 && (module.exports = {
483
+ CreateExternalDatabaseConnectionRequest,
484
+ CreateExternalDatabaseConnectionResponse,
485
+ DeleteExternalDatabaseConnectionRequest,
486
+ DeleteExternalDatabaseConnectionResponse,
487
+ GetExternalDatabaseConnectionRequest,
488
+ GetExternalDatabaseConnectionResponse,
489
+ ListExternalDatabaseConnectionsRequest,
490
+ ListExternalDatabaseConnectionsResponse,
491
+ UpdateExternalDatabaseConnectionRequest,
492
+ UpdateExternalDatabaseConnectionResponse
493
+ });
494
+ //# sourceMappingURL=schemas.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../schemas.ts","../../src/data-v1-external-database-connection-external-database-connections.schemas.ts"],"sourcesContent":["export * from './src/data-v1-external-database-connection-external-database-connections.schemas.js';\n","import * as z from 'zod';\n\nexport const GetExternalDatabaseConnectionRequest = z.object({\n name: z\n .string()\n .describe('Name of the external database connection to retrieve.')\n .max(255),\n});\nexport const GetExternalDatabaseConnectionResponse = z.object({\n name: z\n .string()\n .describe(\n 'Name of the external database connection.\\n\\nAn external database connection can connect to one or more external data collections or tables. These appear as `connectionName/dataCollectionId`.'\n )\n .min(1)\n .max(255)\n .optional(),\n endpoint: z\n .string()\n .describe(\n 'Base URL for accessing and managing data in the external database. For example: `https://example.com/my-external-database`.\\nRequired for STANDALONE connection type.'\n )\n .url()\n .optional()\n .nullable(),\n configuration: z\n .record(z.string(), z.any())\n .describe(\n \"Settings specified to the external database connection as part of each request.\\n\\nThese settings can relate to authentication, tenancy, or provide any other information necessary for processing a request. Their content and structure depend on the specific requirements of the external database's API.\"\n )\n .optional()\n .nullable(),\n connectionStatus: z\n .object({\n successful: z\n .boolean()\n .describe('Whether the connection was established successfully.')\n .optional(),\n causeOfFailure: z\n .enum([\n 'NONE',\n 'COMMUNICATION_FAILURE',\n 'DESTINATION_HOST_UNREACHABLE',\n 'UNAUTHORIZED',\n 'DESTINATION_ENDPOINT_NOT_DEFINED',\n ])\n .describe('Whether and why the connection attempt failed.')\n .optional(),\n hasCollections: z\n .enum(['UNKNOWN', 'YES', 'NO'])\n .describe('Whether the external database has collections.')\n .optional(),\n })\n .describe(\n 'Status of the external database connection. Includes whether the connection was established successfully, and if not, the reason for the failure.'\n )\n .optional(),\n publicKey: z\n .string()\n .describe('Public key used to validate requests to the external database.')\n .max(128)\n .optional()\n .nullable(),\n capabilities: z\n .object({\n collectionModificationsSupported: z\n .boolean()\n .describe(\n 'Whether the external database supports creating new collections, updating the structure of existing collections, or deleting them.'\n )\n .optional(),\n fieldTypes: z\n .array(\n z.enum([\n 'TEXT',\n 'NUMBER',\n 'DATE',\n 'DATETIME',\n 'IMAGE',\n 'BOOLEAN',\n 'DOCUMENT',\n 'URL',\n 'RICH_TEXT',\n 'VIDEO',\n 'ANY',\n 'ARRAY_STRING',\n 'ARRAY_DOCUMENT',\n 'AUDIO',\n 'TIME',\n 'LANGUAGE',\n 'RICH_CONTENT',\n 'MEDIA_GALLERY',\n 'ADDRESS',\n 'PAGE_LINK',\n 'REFERENCE',\n 'MULTI_REFERENCE',\n 'OBJECT',\n 'ARRAY',\n 'LEGACY_TIME',\n 'LEGACY_BOOK',\n 'LEGACY_EXTERNAL_URL',\n 'LEGACY_BROKEN_REFERENCE',\n 'LEGACY_IMAGE',\n 'LEGACY_COLOR',\n 'LEGACY_EXTERNAL_VIDEO',\n ])\n )\n .max(255)\n .optional(),\n })\n .describe('Capabilities of the external database.')\n .optional(),\n});\nexport const ListExternalDatabaseConnectionsRequest = z.object({\n options: z\n .object({\n paging: z\n .object({\n limit: z\n .number()\n .int()\n .describe('Number of items to load.')\n .min(0)\n .optional()\n .nullable(),\n offset: z\n .number()\n .int()\n .describe('Number of items to skip in the current sort order.')\n .min(0)\n .optional()\n .nullable(),\n })\n .describe('Paging metadata.')\n .optional(),\n })\n .optional(),\n});\nexport const ListExternalDatabaseConnectionsResponse = z.object({\n externalDatabaseConnections: z\n .array(\n z.object({\n name: z\n .string()\n .describe(\n 'Name of the external database connection.\\n\\nAn external database connection can connect to one or more external data collections or tables. These appear as `connectionName/dataCollectionId`.'\n )\n .min(1)\n .max(255)\n .optional(),\n endpoint: z\n .string()\n .describe(\n 'Base URL for accessing and managing data in the external database. For example: `https://example.com/my-external-database`.\\nRequired for STANDALONE connection type.'\n )\n .url()\n .optional()\n .nullable(),\n configuration: z\n .record(z.string(), z.any())\n .describe(\n \"Settings specified to the external database connection as part of each request.\\n\\nThese settings can relate to authentication, tenancy, or provide any other information necessary for processing a request. Their content and structure depend on the specific requirements of the external database's API.\"\n )\n .optional()\n .nullable(),\n connectionStatus: z\n .object({\n successful: z\n .boolean()\n .describe('Whether the connection was established successfully.')\n .optional(),\n causeOfFailure: z\n .enum([\n 'NONE',\n 'COMMUNICATION_FAILURE',\n 'DESTINATION_HOST_UNREACHABLE',\n 'UNAUTHORIZED',\n 'DESTINATION_ENDPOINT_NOT_DEFINED',\n ])\n .describe('Whether and why the connection attempt failed.')\n .optional(),\n hasCollections: z\n .enum(['UNKNOWN', 'YES', 'NO'])\n .describe('Whether the external database has collections.')\n .optional(),\n })\n .describe(\n 'Status of the external database connection. Includes whether the connection was established successfully, and if not, the reason for the failure.'\n )\n .optional(),\n publicKey: z\n .string()\n .describe(\n 'Public key used to validate requests to the external database.'\n )\n .max(128)\n .optional()\n .nullable(),\n capabilities: z\n .object({\n collectionModificationsSupported: z\n .boolean()\n .describe(\n 'Whether the external database supports creating new collections, updating the structure of existing collections, or deleting them.'\n )\n .optional(),\n fieldTypes: z\n .array(\n z.enum([\n 'TEXT',\n 'NUMBER',\n 'DATE',\n 'DATETIME',\n 'IMAGE',\n 'BOOLEAN',\n 'DOCUMENT',\n 'URL',\n 'RICH_TEXT',\n 'VIDEO',\n 'ANY',\n 'ARRAY_STRING',\n 'ARRAY_DOCUMENT',\n 'AUDIO',\n 'TIME',\n 'LANGUAGE',\n 'RICH_CONTENT',\n 'MEDIA_GALLERY',\n 'ADDRESS',\n 'PAGE_LINK',\n 'REFERENCE',\n 'MULTI_REFERENCE',\n 'OBJECT',\n 'ARRAY',\n 'LEGACY_TIME',\n 'LEGACY_BOOK',\n 'LEGACY_EXTERNAL_URL',\n 'LEGACY_BROKEN_REFERENCE',\n 'LEGACY_IMAGE',\n 'LEGACY_COLOR',\n 'LEGACY_EXTERNAL_VIDEO',\n ])\n )\n .max(255)\n .optional(),\n })\n .describe('Capabilities of the external database.')\n .optional(),\n })\n )\n .optional(),\n pagingMetadata: z\n .object({\n count: z\n .number()\n .int()\n .describe('Number of items returned in the response.')\n .optional()\n .nullable(),\n offset: z\n .number()\n .int()\n .describe('Offset that was requested.')\n .optional()\n .nullable(),\n total: z\n .number()\n .int()\n .describe('Total number of items that match the query.')\n .optional()\n .nullable(),\n tooManyToCount: z\n .boolean()\n .describe(\n 'Flag that indicates the server failed to calculate the `total` field.'\n )\n .optional()\n .nullable(),\n })\n .describe('Paging metadata.')\n .optional(),\n});\nexport const CreateExternalDatabaseConnectionRequest = z.object({\n externalDatabaseConnection: z\n .object({\n name: z\n .string()\n .describe(\n 'Name of the external database connection.\\n\\nAn external database connection can connect to one or more external data collections or tables. These appear as `connectionName/dataCollectionId`.'\n )\n .min(1)\n .max(255),\n endpoint: z\n .string()\n .describe(\n 'Base URL for accessing and managing data in the external database. For example: `https://example.com/my-external-database`.\\nRequired for STANDALONE connection type.'\n )\n .url()\n .optional()\n .nullable(),\n configuration: z\n .record(z.string(), z.any())\n .describe(\n \"Settings specified to the external database connection as part of each request.\\n\\nThese settings can relate to authentication, tenancy, or provide any other information necessary for processing a request. Their content and structure depend on the specific requirements of the external database's API.\"\n )\n .optional()\n .nullable(),\n connectionStatus: z\n .object({\n successful: z\n .boolean()\n .describe('Whether the connection was established successfully.')\n .optional(),\n causeOfFailure: z\n .enum([\n 'NONE',\n 'COMMUNICATION_FAILURE',\n 'DESTINATION_HOST_UNREACHABLE',\n 'UNAUTHORIZED',\n 'DESTINATION_ENDPOINT_NOT_DEFINED',\n ])\n .optional(),\n hasCollections: z.enum(['UNKNOWN', 'YES', 'NO']).optional(),\n })\n .describe(\n 'Status of the external database connection. Includes whether the connection was established successfully, and if not, the reason for the failure.'\n )\n .optional(),\n publicKey: z\n .string()\n .describe(\n 'Public key used to validate requests to the external database.'\n )\n .max(128)\n .optional()\n .nullable(),\n capabilities: z\n .object({\n collectionModificationsSupported: z\n .boolean()\n .describe(\n 'Whether the external database supports creating new collections, updating the structure of existing collections, or deleting them.'\n )\n .optional(),\n fieldTypes: z\n .array(\n z.enum([\n 'TEXT',\n 'NUMBER',\n 'DATE',\n 'DATETIME',\n 'IMAGE',\n 'BOOLEAN',\n 'DOCUMENT',\n 'URL',\n 'RICH_TEXT',\n 'VIDEO',\n 'ANY',\n 'ARRAY_STRING',\n 'ARRAY_DOCUMENT',\n 'AUDIO',\n 'TIME',\n 'LANGUAGE',\n 'RICH_CONTENT',\n 'MEDIA_GALLERY',\n 'ADDRESS',\n 'PAGE_LINK',\n 'REFERENCE',\n 'MULTI_REFERENCE',\n 'OBJECT',\n 'ARRAY',\n 'LEGACY_TIME',\n 'LEGACY_BOOK',\n 'LEGACY_EXTERNAL_URL',\n 'LEGACY_BROKEN_REFERENCE',\n 'LEGACY_IMAGE',\n 'LEGACY_COLOR',\n 'LEGACY_EXTERNAL_VIDEO',\n ])\n )\n .max(255)\n .optional(),\n })\n .describe('Capabilities of the external database.')\n .optional(),\n })\n .describe('External database connection details.'),\n connectionType: z.enum(['STANDALONE', 'WIX_SERVICE_PLUGIN']),\n});\nexport const CreateExternalDatabaseConnectionResponse = z.object({\n name: z\n .string()\n .describe(\n 'Name of the external database connection.\\n\\nAn external database connection can connect to one or more external data collections or tables. These appear as `connectionName/dataCollectionId`.'\n )\n .min(1)\n .max(255)\n .optional(),\n endpoint: z\n .string()\n .describe(\n 'Base URL for accessing and managing data in the external database. For example: `https://example.com/my-external-database`.\\nRequired for STANDALONE connection type.'\n )\n .url()\n .optional()\n .nullable(),\n configuration: z\n .record(z.string(), z.any())\n .describe(\n \"Settings specified to the external database connection as part of each request.\\n\\nThese settings can relate to authentication, tenancy, or provide any other information necessary for processing a request. Their content and structure depend on the specific requirements of the external database's API.\"\n )\n .optional()\n .nullable(),\n connectionStatus: z\n .object({\n successful: z\n .boolean()\n .describe('Whether the connection was established successfully.')\n .optional(),\n causeOfFailure: z\n .enum([\n 'NONE',\n 'COMMUNICATION_FAILURE',\n 'DESTINATION_HOST_UNREACHABLE',\n 'UNAUTHORIZED',\n 'DESTINATION_ENDPOINT_NOT_DEFINED',\n ])\n .describe('Whether and why the connection attempt failed.')\n .optional(),\n hasCollections: z\n .enum(['UNKNOWN', 'YES', 'NO'])\n .describe('Whether the external database has collections.')\n .optional(),\n })\n .describe(\n 'Status of the external database connection. Includes whether the connection was established successfully, and if not, the reason for the failure.'\n )\n .optional(),\n publicKey: z\n .string()\n .describe('Public key used to validate requests to the external database.')\n .max(128)\n .optional()\n .nullable(),\n capabilities: z\n .object({\n collectionModificationsSupported: z\n .boolean()\n .describe(\n 'Whether the external database supports creating new collections, updating the structure of existing collections, or deleting them.'\n )\n .optional(),\n fieldTypes: z\n .array(\n z.enum([\n 'TEXT',\n 'NUMBER',\n 'DATE',\n 'DATETIME',\n 'IMAGE',\n 'BOOLEAN',\n 'DOCUMENT',\n 'URL',\n 'RICH_TEXT',\n 'VIDEO',\n 'ANY',\n 'ARRAY_STRING',\n 'ARRAY_DOCUMENT',\n 'AUDIO',\n 'TIME',\n 'LANGUAGE',\n 'RICH_CONTENT',\n 'MEDIA_GALLERY',\n 'ADDRESS',\n 'PAGE_LINK',\n 'REFERENCE',\n 'MULTI_REFERENCE',\n 'OBJECT',\n 'ARRAY',\n 'LEGACY_TIME',\n 'LEGACY_BOOK',\n 'LEGACY_EXTERNAL_URL',\n 'LEGACY_BROKEN_REFERENCE',\n 'LEGACY_IMAGE',\n 'LEGACY_COLOR',\n 'LEGACY_EXTERNAL_VIDEO',\n ])\n )\n .max(255)\n .optional(),\n })\n .describe('Capabilities of the external database.')\n .optional(),\n});\nexport const UpdateExternalDatabaseConnectionRequest = z.object({\n name: z\n .string()\n .describe(\n 'Name of the external database connection.\\n\\nAn external database connection can connect to one or more external data collections or tables. These appear as `connectionName/dataCollectionId`.'\n )\n .min(1)\n .max(255),\n externalDatabaseConnection: z\n .object({\n name: z\n .string()\n .describe(\n 'Name of the external database connection.\\n\\nAn external database connection can connect to one or more external data collections or tables. These appear as `connectionName/dataCollectionId`.'\n )\n .min(1)\n .max(255)\n .optional(),\n endpoint: z\n .string()\n .describe(\n 'Base URL for accessing and managing data in the external database. For example: `https://example.com/my-external-database`.\\nRequired for STANDALONE connection type.'\n )\n .url()\n .optional()\n .nullable(),\n configuration: z\n .record(z.string(), z.any())\n .describe(\n \"Settings specified to the external database connection as part of each request.\\n\\nThese settings can relate to authentication, tenancy, or provide any other information necessary for processing a request. Their content and structure depend on the specific requirements of the external database's API.\"\n )\n .optional()\n .nullable(),\n connectionStatus: z\n .object({\n successful: z\n .boolean()\n .describe('Whether the connection was established successfully.')\n .optional(),\n causeOfFailure: z\n .enum([\n 'NONE',\n 'COMMUNICATION_FAILURE',\n 'DESTINATION_HOST_UNREACHABLE',\n 'UNAUTHORIZED',\n 'DESTINATION_ENDPOINT_NOT_DEFINED',\n ])\n .optional(),\n hasCollections: z.enum(['UNKNOWN', 'YES', 'NO']).optional(),\n })\n .describe(\n 'Status of the external database connection. Includes whether the connection was established successfully, and if not, the reason for the failure.'\n )\n .optional(),\n publicKey: z\n .string()\n .describe(\n 'Public key used to validate requests to the external database.'\n )\n .max(128)\n .optional()\n .nullable(),\n capabilities: z\n .object({\n collectionModificationsSupported: z\n .boolean()\n .describe(\n 'Whether the external database supports creating new collections, updating the structure of existing collections, or deleting them.'\n )\n .optional(),\n fieldTypes: z\n .array(\n z.enum([\n 'TEXT',\n 'NUMBER',\n 'DATE',\n 'DATETIME',\n 'IMAGE',\n 'BOOLEAN',\n 'DOCUMENT',\n 'URL',\n 'RICH_TEXT',\n 'VIDEO',\n 'ANY',\n 'ARRAY_STRING',\n 'ARRAY_DOCUMENT',\n 'AUDIO',\n 'TIME',\n 'LANGUAGE',\n 'RICH_CONTENT',\n 'MEDIA_GALLERY',\n 'ADDRESS',\n 'PAGE_LINK',\n 'REFERENCE',\n 'MULTI_REFERENCE',\n 'OBJECT',\n 'ARRAY',\n 'LEGACY_TIME',\n 'LEGACY_BOOK',\n 'LEGACY_EXTERNAL_URL',\n 'LEGACY_BROKEN_REFERENCE',\n 'LEGACY_IMAGE',\n 'LEGACY_COLOR',\n 'LEGACY_EXTERNAL_VIDEO',\n ])\n )\n .max(255)\n .optional(),\n })\n .describe('Capabilities of the external database.')\n .optional(),\n })\n .describe(\n 'Updated external database connection details. The existing connection is replaced with this version.'\n ),\n});\nexport const UpdateExternalDatabaseConnectionResponse = z.object({\n name: z\n .string()\n .describe(\n 'Name of the external database connection.\\n\\nAn external database connection can connect to one or more external data collections or tables. These appear as `connectionName/dataCollectionId`.'\n )\n .min(1)\n .max(255)\n .optional(),\n endpoint: z\n .string()\n .describe(\n 'Base URL for accessing and managing data in the external database. For example: `https://example.com/my-external-database`.\\nRequired for STANDALONE connection type.'\n )\n .url()\n .optional()\n .nullable(),\n configuration: z\n .record(z.string(), z.any())\n .describe(\n \"Settings specified to the external database connection as part of each request.\\n\\nThese settings can relate to authentication, tenancy, or provide any other information necessary for processing a request. Their content and structure depend on the specific requirements of the external database's API.\"\n )\n .optional()\n .nullable(),\n connectionStatus: z\n .object({\n successful: z\n .boolean()\n .describe('Whether the connection was established successfully.')\n .optional(),\n causeOfFailure: z\n .enum([\n 'NONE',\n 'COMMUNICATION_FAILURE',\n 'DESTINATION_HOST_UNREACHABLE',\n 'UNAUTHORIZED',\n 'DESTINATION_ENDPOINT_NOT_DEFINED',\n ])\n .describe('Whether and why the connection attempt failed.')\n .optional(),\n hasCollections: z\n .enum(['UNKNOWN', 'YES', 'NO'])\n .describe('Whether the external database has collections.')\n .optional(),\n })\n .describe(\n 'Status of the external database connection. Includes whether the connection was established successfully, and if not, the reason for the failure.'\n )\n .optional(),\n publicKey: z\n .string()\n .describe('Public key used to validate requests to the external database.')\n .max(128)\n .optional()\n .nullable(),\n capabilities: z\n .object({\n collectionModificationsSupported: z\n .boolean()\n .describe(\n 'Whether the external database supports creating new collections, updating the structure of existing collections, or deleting them.'\n )\n .optional(),\n fieldTypes: z\n .array(\n z.enum([\n 'TEXT',\n 'NUMBER',\n 'DATE',\n 'DATETIME',\n 'IMAGE',\n 'BOOLEAN',\n 'DOCUMENT',\n 'URL',\n 'RICH_TEXT',\n 'VIDEO',\n 'ANY',\n 'ARRAY_STRING',\n 'ARRAY_DOCUMENT',\n 'AUDIO',\n 'TIME',\n 'LANGUAGE',\n 'RICH_CONTENT',\n 'MEDIA_GALLERY',\n 'ADDRESS',\n 'PAGE_LINK',\n 'REFERENCE',\n 'MULTI_REFERENCE',\n 'OBJECT',\n 'ARRAY',\n 'LEGACY_TIME',\n 'LEGACY_BOOK',\n 'LEGACY_EXTERNAL_URL',\n 'LEGACY_BROKEN_REFERENCE',\n 'LEGACY_IMAGE',\n 'LEGACY_COLOR',\n 'LEGACY_EXTERNAL_VIDEO',\n ])\n )\n .max(255)\n .optional(),\n })\n .describe('Capabilities of the external database.')\n .optional(),\n});\nexport const DeleteExternalDatabaseConnectionRequest = z.object({\n name: z\n .string()\n .describe('Name of the external database connection to delete.')\n .max(255),\n});\nexport const DeleteExternalDatabaseConnectionResponse = z.object({});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,QAAmB;AAEZ,IAAM,uCAAyC,SAAO;AAAA,EAC3D,MACG,SAAO,EACP,SAAS,uDAAuD,EAChE,IAAI,GAAG;AACZ,CAAC;AACM,IAAM,wCAA0C,SAAO;AAAA,EAC5D,MACG,SAAO,EACP;AAAA,IACC;AAAA,EACF,EACC,IAAI,CAAC,EACL,IAAI,GAAG,EACP,SAAS;AAAA,EACZ,UACG,SAAO,EACP;AAAA,IACC;AAAA,EACF,EACC,IAAI,EACJ,SAAS,EACT,SAAS;AAAA,EACZ,eACG,SAAS,SAAO,GAAK,MAAI,CAAC,EAC1B;AAAA,I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