@wix/data 1.0.38 → 1.0.40
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/build/cjs/src/data-v1-external-database-connection.http.d.ts +5 -5
- package/build/cjs/src/data-v1-external-database-connection.http.js.map +1 -1
- package/build/cjs/src/data-v1-external-database-connection.public.d.ts +27 -6
- package/build/cjs/src/data-v1-external-database-connection.public.js +3 -1
- package/build/cjs/src/data-v1-external-database-connection.public.js.map +1 -1
- package/build/cjs/src/data-v1-external-database-connection.types.d.ts +152 -0
- package/build/cjs/src/data-v1-external-database-connection.types.js +50 -1
- package/build/cjs/src/data-v1-external-database-connection.types.js.map +1 -1
- package/build/cjs/src/data-v1-external-database-connection.universal.d.ts +116 -4
- package/build/cjs/src/data-v1-external-database-connection.universal.js +50 -1
- package/build/cjs/src/data-v1-external-database-connection.universal.js.map +1 -1
- package/build/cjs/src/data-v2-data-collection.http.d.ts +5 -5
- package/build/cjs/src/data-v2-data-collection.http.js.map +1 -1
- package/build/cjs/src/data-v2-data-collection.public.d.ts +263 -5
- package/build/cjs/src/data-v2-data-collection.types.d.ts +458 -0
- package/build/cjs/src/data-v2-data-collection.universal.d.ts +447 -4
- package/build/cjs/src/data-v2-data-collection.universal.js.map +1 -1
- package/build/cjs/src/data-v2-data-item.http.d.ts +19 -19
- package/build/cjs/src/data-v2-data-item.http.js.map +1 -1
- package/build/cjs/src/data-v2-data-item.public.d.ts +23 -21
- package/build/cjs/src/data-v2-data-item.public.js.map +1 -1
- package/build/cjs/src/data-v2-data-item.types.d.ts +193 -0
- package/build/cjs/src/data-v2-data-item.universal.d.ts +212 -32
- package/build/cjs/src/data-v2-data-item.universal.js +0 -13
- package/build/cjs/src/data-v2-data-item.universal.js.map +1 -1
- package/build/cjs/src/data-v2-index.http.d.ts +3 -3
- package/build/cjs/src/data-v2-index.http.js.map +1 -1
- package/build/cjs/src/data-v2-index.public.d.ts +16 -3
- package/build/cjs/src/data-v2-index.types.d.ts +34 -0
- package/build/cjs/src/data-v2-index.universal.d.ts +34 -2
- package/build/cjs/src/data-v2-index.universal.js.map +1 -1
- package/build/es/src/data-v1-external-database-connection.http.d.ts +5 -5
- package/build/es/src/data-v1-external-database-connection.http.js.map +1 -1
- package/build/es/src/data-v1-external-database-connection.public.d.ts +27 -6
- package/build/es/src/data-v1-external-database-connection.public.js +1 -1
- package/build/es/src/data-v1-external-database-connection.public.js.map +1 -1
- package/build/es/src/data-v1-external-database-connection.types.d.ts +152 -0
- package/build/es/src/data-v1-external-database-connection.types.js +49 -0
- package/build/es/src/data-v1-external-database-connection.types.js.map +1 -1
- package/build/es/src/data-v1-external-database-connection.universal.d.ts +116 -4
- package/build/es/src/data-v1-external-database-connection.universal.js +49 -0
- package/build/es/src/data-v1-external-database-connection.universal.js.map +1 -1
- package/build/es/src/data-v2-data-collection.http.d.ts +5 -5
- package/build/es/src/data-v2-data-collection.http.js.map +1 -1
- package/build/es/src/data-v2-data-collection.public.d.ts +263 -5
- package/build/es/src/data-v2-data-collection.types.d.ts +458 -0
- package/build/es/src/data-v2-data-collection.universal.d.ts +447 -4
- package/build/es/src/data-v2-data-collection.universal.js.map +1 -1
- package/build/es/src/data-v2-data-item.http.d.ts +19 -19
- package/build/es/src/data-v2-data-item.http.js.map +1 -1
- package/build/es/src/data-v2-data-item.public.d.ts +23 -21
- package/build/es/src/data-v2-data-item.public.js.map +1 -1
- package/build/es/src/data-v2-data-item.types.d.ts +193 -0
- package/build/es/src/data-v2-data-item.universal.d.ts +212 -32
- package/build/es/src/data-v2-data-item.universal.js +0 -13
- package/build/es/src/data-v2-data-item.universal.js.map +1 -1
- package/build/es/src/data-v2-index.http.d.ts +3 -3
- package/build/es/src/data-v2-index.http.js.map +1 -1
- package/build/es/src/data-v2-index.public.d.ts +16 -3
- package/build/es/src/data-v2-index.types.d.ts +34 -0
- package/build/es/src/data-v2-index.universal.d.ts +34 -2
- package/build/es/src/data-v2-index.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { RequestOptionsFactory } from '@wix/sdk-types';
|
|
2
|
-
import { CreateExternalDatabaseConnectionRequest, CreateExternalDatabaseConnectionResponse, DeleteExternalDatabaseConnectionRequest, DeleteExternalDatabaseConnectionResponse, GetExternalDatabaseConnectionRequest, GetExternalDatabaseConnectionResponse, ListExternalDatabaseConnectionsRequest, ListExternalDatabaseConnectionsResponse, UpdateExternalDatabaseConnectionRequest, UpdateExternalDatabaseConnectionResponse } from './data-v1-external-database-connection.types';
|
|
2
|
+
import { CreateExternalDatabaseConnectionRequest, CreateExternalDatabaseConnectionResponse, DeleteExternalDatabaseConnectionRequest, DeleteExternalDatabaseConnectionResponse, GetExternalDatabaseConnectionRequest, GetExternalDatabaseConnectionResponse, ListExternalDatabaseConnectionsRequest, ListExternalDatabaseConnectionsResponse, UpdateExternalDatabaseConnectionRequest, UpdateExternalDatabaseConnectionResponse, GetExternalDatabaseConnectionResponseNonNullableFields, ListExternalDatabaseConnectionsResponseNonNullableFields, CreateExternalDatabaseConnectionResponseNonNullableFields, UpdateExternalDatabaseConnectionResponseNonNullableFields } from './data-v1-external-database-connection.types';
|
|
3
3
|
/** Retrieves an external database connection by name. */
|
|
4
|
-
export declare function getExternalDatabaseConnection(payload: GetExternalDatabaseConnectionRequest): RequestOptionsFactory<GetExternalDatabaseConnectionResponse>;
|
|
4
|
+
export declare function getExternalDatabaseConnection(payload: GetExternalDatabaseConnectionRequest): RequestOptionsFactory<GetExternalDatabaseConnectionResponse & GetExternalDatabaseConnectionResponseNonNullableFields>;
|
|
5
5
|
/** Retrieves a list of all external database collections associated with the site or project. */
|
|
6
|
-
export declare function listExternalDatabaseConnections(payload: ListExternalDatabaseConnectionsRequest): RequestOptionsFactory<ListExternalDatabaseConnectionsResponse>;
|
|
6
|
+
export declare function listExternalDatabaseConnections(payload: ListExternalDatabaseConnectionsRequest): RequestOptionsFactory<ListExternalDatabaseConnectionsResponse & ListExternalDatabaseConnectionsResponseNonNullableFields>;
|
|
7
7
|
/**
|
|
8
8
|
* Creates a new external database connection.
|
|
9
9
|
*
|
|
10
10
|
* The `options.externalDatabaseConnection` parameter must include a name, base URL, and configuration details for the external database.
|
|
11
11
|
* If any of these are missing, the external database connection isn't created.
|
|
12
12
|
*/
|
|
13
|
-
export declare function createExternalDatabaseConnection(payload: CreateExternalDatabaseConnectionRequest): RequestOptionsFactory<CreateExternalDatabaseConnectionResponse>;
|
|
13
|
+
export declare function createExternalDatabaseConnection(payload: CreateExternalDatabaseConnectionRequest): RequestOptionsFactory<CreateExternalDatabaseConnectionResponse & CreateExternalDatabaseConnectionResponseNonNullableFields>;
|
|
14
14
|
/**
|
|
15
15
|
* Updates an external database connection.
|
|
16
16
|
*
|
|
@@ -20,7 +20,7 @@ export declare function createExternalDatabaseConnection(payload: CreateExternal
|
|
|
20
20
|
*
|
|
21
21
|
* > **Note:** After an external database connection is updated, it only contains the values provided in the request. All previous values are lost.
|
|
22
22
|
*/
|
|
23
|
-
export declare function updateExternalDatabaseConnection(payload: UpdateExternalDatabaseConnectionRequest): RequestOptionsFactory<UpdateExternalDatabaseConnectionResponse>;
|
|
23
|
+
export declare function updateExternalDatabaseConnection(payload: UpdateExternalDatabaseConnectionRequest): RequestOptionsFactory<UpdateExternalDatabaseConnectionResponse & UpdateExternalDatabaseConnectionResponseNonNullableFields>;
|
|
24
24
|
/**
|
|
25
25
|
* Deletes an external database connection.
|
|
26
26
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-v1-external-database-connection.http.js","sourceRoot":"","sources":["../../../src/data-v1-external-database-connection.http.ts"],"names":[],"mappings":";;;AAAA,sDAAuD;AACvD,8DAA2D;AAC3D,sDAAgD;
|
|
1
|
+
{"version":3,"file":"data-v1-external-database-connection.http.js","sourceRoot":"","sources":["../../../src/data-v1-external-database-connection.http.ts"],"names":[],"mappings":";;;AAAA,sDAAuD;AACvD,8DAA2D;AAC3D,sDAAgD;AAoBhD,MAA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O,CAAC;IAErD,OAAO,kCAAkC,CAAC;AAC5C,CAAC;AApCD,4EAoCC"}
|
|
@@ -3,10 +3,31 @@ import { ExternalDatabaseConnection, UpdateExternalDatabaseConnection, ListExter
|
|
|
3
3
|
export declare const __metadata: {
|
|
4
4
|
PACKAGE_NAME: string;
|
|
5
5
|
};
|
|
6
|
-
export declare function getExternalDatabaseConnection(httpClient: HttpClient): (name: string) => Promise<ExternalDatabaseConnection
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
export declare function getExternalDatabaseConnection(httpClient: HttpClient): (name: string) => Promise<ExternalDatabaseConnection & {
|
|
7
|
+
name: string;
|
|
8
|
+
connectionStatus?: {
|
|
9
|
+
successful: boolean;
|
|
10
|
+
causeOfFailure: import("./data-v1-external-database-connection.universal").CauseOfFailure;
|
|
11
|
+
hasCollections: boolean;
|
|
12
|
+
} | undefined;
|
|
13
|
+
}>;
|
|
14
|
+
export declare function listExternalDatabaseConnections(httpClient: HttpClient): (options?: ListExternalDatabaseConnectionsOptions | undefined) => Promise<import("./data-v1-external-database-connection.universal").ListExternalDatabaseConnectionsResponse & import("./data-v1-external-database-connection.universal").ListExternalDatabaseConnectionsResponseNonNullableFields>;
|
|
15
|
+
export declare function createExternalDatabaseConnection(httpClient: HttpClient): (externalDatabaseConnection: ExternalDatabaseConnection) => Promise<ExternalDatabaseConnection & {
|
|
16
|
+
name: string;
|
|
17
|
+
connectionStatus?: {
|
|
18
|
+
successful: boolean;
|
|
19
|
+
causeOfFailure: import("./data-v1-external-database-connection.universal").CauseOfFailure;
|
|
20
|
+
hasCollections: boolean;
|
|
21
|
+
} | undefined;
|
|
22
|
+
}>;
|
|
23
|
+
export declare function updateExternalDatabaseConnection(httpClient: HttpClient): (name: string, externalDatabaseConnection: UpdateExternalDatabaseConnection) => Promise<ExternalDatabaseConnection & {
|
|
24
|
+
name: string;
|
|
25
|
+
connectionStatus?: {
|
|
26
|
+
successful: boolean;
|
|
27
|
+
causeOfFailure: import("./data-v1-external-database-connection.universal").CauseOfFailure;
|
|
28
|
+
hasCollections: boolean;
|
|
29
|
+
} | undefined;
|
|
30
|
+
}>;
|
|
10
31
|
export declare function deleteExternalDatabaseConnection(httpClient: HttpClient): (name: string) => Promise<void>;
|
|
11
|
-
export { CauseOfFailure } from './data-v1-external-database-connection.universal';
|
|
12
|
-
export { ExternalDatabaseConnection, ConnectionStatus, GetExternalDatabaseConnectionRequest, GetExternalDatabaseConnectionResponse, ListExternalDatabaseConnectionsRequest, Paging, ListExternalDatabaseConnectionsResponse, PagingMetadata, CreateExternalDatabaseConnectionRequest, CreateExternalDatabaseConnectionResponse, UpdateExternalDatabaseConnectionRequest, UpdateExternalDatabaseConnectionResponse, DeleteExternalDatabaseConnectionRequest, DeleteExternalDatabaseConnectionResponse, ListExternalDatabaseConnectionsOptions, UpdateExternalDatabaseConnection, } from './data-v1-external-database-connection.universal';
|
|
32
|
+
export { CauseOfFailure, FieldType, ProtocolVersion, } from './data-v1-external-database-connection.universal';
|
|
33
|
+
export { ExternalDatabaseConnection, ConnectionStatus, Capabilities, GetExternalDatabaseConnectionRequest, GetExternalDatabaseConnectionResponse, ListExternalDatabaseConnectionsRequest, Paging, ListExternalDatabaseConnectionsResponse, PagingMetadata, CreateExternalDatabaseConnectionRequest, CreateExternalDatabaseConnectionResponse, UpdateExternalDatabaseConnectionRequest, UpdateExternalDatabaseConnectionResponse, DeleteExternalDatabaseConnectionRequest, DeleteExternalDatabaseConnectionResponse, GetExternalDatabaseConnectionResponseNonNullableFields, ListExternalDatabaseConnectionsResponseNonNullableFields, CreateExternalDatabaseConnectionResponseNonNullableFields, UpdateExternalDatabaseConnectionResponseNonNullableFields, ListExternalDatabaseConnectionsOptions, UpdateExternalDatabaseConnection, } from './data-v1-external-database-connection.universal';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CauseOfFailure = exports.deleteExternalDatabaseConnection = exports.updateExternalDatabaseConnection = exports.createExternalDatabaseConnection = exports.listExternalDatabaseConnections = exports.getExternalDatabaseConnection = exports.__metadata = void 0;
|
|
3
|
+
exports.ProtocolVersion = exports.FieldType = exports.CauseOfFailure = exports.deleteExternalDatabaseConnection = exports.updateExternalDatabaseConnection = exports.createExternalDatabaseConnection = exports.listExternalDatabaseConnections = exports.getExternalDatabaseConnection = exports.__metadata = void 0;
|
|
4
4
|
const data_v1_external_database_connection_universal_1 = require("./data-v1-external-database-connection.universal");
|
|
5
5
|
exports.__metadata = { PACKAGE_NAME: '@wix/data' };
|
|
6
6
|
function getExternalDatabaseConnection(httpClient) {
|
|
@@ -35,4 +35,6 @@ function deleteExternalDatabaseConnection(httpClient) {
|
|
|
35
35
|
exports.deleteExternalDatabaseConnection = deleteExternalDatabaseConnection;
|
|
36
36
|
var data_v1_external_database_connection_universal_2 = require("./data-v1-external-database-connection.universal");
|
|
37
37
|
Object.defineProperty(exports, "CauseOfFailure", { enumerable: true, get: function () { return data_v1_external_database_connection_universal_2.CauseOfFailure; } });
|
|
38
|
+
Object.defineProperty(exports, "FieldType", { enumerable: true, get: function () { return data_v1_external_database_connection_universal_2.FieldType; } });
|
|
39
|
+
Object.defineProperty(exports, "ProtocolVersion", { enumerable: true, get: function () { return data_v1_external_database_connection_universal_2.ProtocolVersion; } });
|
|
38
40
|
//# sourceMappingURL=data-v1-external-database-connection.public.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-v1-external-database-connection.public.js","sourceRoot":"","sources":["../../../src/data-v1-external-database-connection.public.ts"],"names":[],"mappings":";;;AACA,qHAS0D;AAE7C,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,WAAW,EAAE,CAAC;AAExD,SAAgB,6BAA6B,CAAC,UAAsB;IAClE,OAAO,CAAC,IAAY,EAAE,EAAE,CACtB,IAAA,8EAAsC,EACpC,IAAI;IACJ,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,sEAOC;AAED,SAAgB,+BAA+B,CAAC,UAAsB;IACpE,OAAO,CAAC,OAAgD,EAAE,EAAE,CAC1D,IAAA,gFAAwC,EACtC,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,0EAOC;AAED,SAAgB,gCAAgC,CAAC,UAAsB;IACrE,OAAO,CAAC,0BAAsD,EAAE,EAAE,CAChE,IAAA,iFAAyC,EACvC,0BAA0B;IAC1B,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,4EAOC;AAED,SAAgB,gCAAgC,CAAC,UAAsB;IACrE,OAAO,CACL,IAAY,EACZ,0BAA4D,EAC5D,EAAE,CACF,IAAA,iFAAyC,EACvC,IAAI,EACJ,0BAA0B;IAC1B,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAXD,4EAWC;AAED,SAAgB,gCAAgC,CAAC,UAAsB;IACrE,OAAO,CAAC,IAAY,EAAE,EAAE,CACtB,IAAA,iFAAyC,EACvC,IAAI;IACJ,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,4EAOC;AAED,
|
|
1
|
+
{"version":3,"file":"data-v1-external-database-connection.public.js","sourceRoot":"","sources":["../../../src/data-v1-external-database-connection.public.ts"],"names":[],"mappings":";;;AACA,qHAS0D;AAE7C,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,WAAW,EAAE,CAAC;AAExD,SAAgB,6BAA6B,CAAC,UAAsB;IAClE,OAAO,CAAC,IAAY,EAAE,EAAE,CACtB,IAAA,8EAAsC,EACpC,IAAI;IACJ,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,sEAOC;AAED,SAAgB,+BAA+B,CAAC,UAAsB;IACpE,OAAO,CAAC,OAAgD,EAAE,EAAE,CAC1D,IAAA,gFAAwC,EACtC,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,0EAOC;AAED,SAAgB,gCAAgC,CAAC,UAAsB;IACrE,OAAO,CAAC,0BAAsD,EAAE,EAAE,CAChE,IAAA,iFAAyC,EACvC,0BAA0B;IAC1B,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,4EAOC;AAED,SAAgB,gCAAgC,CAAC,UAAsB;IACrE,OAAO,CACL,IAAY,EACZ,0BAA4D,EAC5D,EAAE,CACF,IAAA,iFAAyC,EACvC,IAAI,EACJ,0BAA0B;IAC1B,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAXD,4EAWC;AAED,SAAgB,gCAAgC,CAAC,UAAsB;IACrE,OAAO,CAAC,IAAY,EAAE,EAAE,CACtB,IAAA,iFAAyC,EACvC,IAAI;IACJ,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,4EAOC;AAED,mHAI0D;AAHxD,gJAAA,cAAc,OAAA;AACd,2IAAA,SAAS,OAAA;AACT,iJAAA,eAAe,OAAA"}
|
|
@@ -30,6 +30,47 @@ export declare enum CauseOfFailure {
|
|
|
30
30
|
/** Unauthorized to access external database. */
|
|
31
31
|
UNAUTHORIZED = "UNAUTHORIZED"
|
|
32
32
|
}
|
|
33
|
+
export declare enum FieldType {
|
|
34
|
+
UNKNOWN_FIELD_TYPE = "UNKNOWN_FIELD_TYPE",
|
|
35
|
+
TEXT = "TEXT",
|
|
36
|
+
NUMBER = "NUMBER",
|
|
37
|
+
DATE = "DATE",
|
|
38
|
+
DATETIME = "DATETIME",
|
|
39
|
+
IMAGE = "IMAGE",
|
|
40
|
+
BOOLEAN = "BOOLEAN",
|
|
41
|
+
DOCUMENT = "DOCUMENT",
|
|
42
|
+
URL = "URL",
|
|
43
|
+
RICH_TEXT = "RICH_TEXT",
|
|
44
|
+
VIDEO = "VIDEO",
|
|
45
|
+
ANY = "ANY",
|
|
46
|
+
ARRAY_STRING = "ARRAY_STRING",
|
|
47
|
+
ARRAY_DOCUMENT = "ARRAY_DOCUMENT",
|
|
48
|
+
AUDIO = "AUDIO",
|
|
49
|
+
TIME = "TIME",
|
|
50
|
+
LANGUAGE = "LANGUAGE",
|
|
51
|
+
RICH_CONTENT = "RICH_CONTENT",
|
|
52
|
+
MEDIA_GALLERY = "MEDIA_GALLERY",
|
|
53
|
+
ADDRESS = "ADDRESS",
|
|
54
|
+
PAGE_LINK = "PAGE_LINK",
|
|
55
|
+
REFERENCE = "REFERENCE",
|
|
56
|
+
MULTI_REFERENCE = "MULTI_REFERENCE",
|
|
57
|
+
OBJECT = "OBJECT",
|
|
58
|
+
ARRAY = "ARRAY",
|
|
59
|
+
/** Deprecated - can’t be added to collections. Can only appear in older collections. */
|
|
60
|
+
LEGACY_TIME = "LEGACY_TIME",
|
|
61
|
+
/** Deprecated - can’t be added to collections. Can only appear in older collections. */
|
|
62
|
+
LEGACY_BOOK = "LEGACY_BOOK",
|
|
63
|
+
/** Deprecated - can’t be added to collections. Can only appear in older collections. */
|
|
64
|
+
LEGACY_EXTERNAL_URL = "LEGACY_EXTERNAL_URL",
|
|
65
|
+
/** Deprecated - can’t be added to collections. Can only appear in older collections. */
|
|
66
|
+
LEGACY_BROKEN_REFERENCE = "LEGACY_BROKEN_REFERENCE",
|
|
67
|
+
/** Deprecated - can’t be added to collections. Can only appear in older collections. */
|
|
68
|
+
LEGACY_IMAGE = "LEGACY_IMAGE",
|
|
69
|
+
/** Deprecated - can’t be added to collections. Can only appear in older collections. */
|
|
70
|
+
LEGACY_COLOR = "LEGACY_COLOR",
|
|
71
|
+
/** Deprecated - can’t be added to collections. Can only appear in older collections. */
|
|
72
|
+
LEGACY_EXTERNAL_VIDEO = "LEGACY_EXTERNAL_VIDEO"
|
|
73
|
+
}
|
|
33
74
|
export interface ConnectionStatus {
|
|
34
75
|
/** Whether the connection was established successfully. */
|
|
35
76
|
successful?: boolean;
|
|
@@ -41,6 +82,37 @@ export interface ConnectionStatus {
|
|
|
41
82
|
* + `UNAUTHORIZED`: Unauthorized to access external database.
|
|
42
83
|
*/
|
|
43
84
|
causeOfFailure?: CauseOfFailure;
|
|
85
|
+
/**
|
|
86
|
+
* contains true if connection was successful and returned some existing collections
|
|
87
|
+
* in case of failure is unknown
|
|
88
|
+
* @readonly
|
|
89
|
+
*/
|
|
90
|
+
hasCollections?: boolean;
|
|
91
|
+
}
|
|
92
|
+
export declare enum ProtocolVersion {
|
|
93
|
+
UNKNOWN_PROTOCOL_VERSION = "UNKNOWN_PROTOCOL_VERSION",
|
|
94
|
+
V1 = "V1",
|
|
95
|
+
V2 = "V2",
|
|
96
|
+
V3 = "V3"
|
|
97
|
+
}
|
|
98
|
+
export interface Capabilities {
|
|
99
|
+
/** Indicates if the external database supports creating or updating collections. */
|
|
100
|
+
supportsCollectionModifications?: boolean;
|
|
101
|
+
/**
|
|
102
|
+
* Indicates which field types are supported by the external database.
|
|
103
|
+
* This option only affects collection creation and update requests.
|
|
104
|
+
*/
|
|
105
|
+
supportedFieldTypes?: FieldType[];
|
|
106
|
+
/** Indicates if the external database supports storing collection display name. */
|
|
107
|
+
supportsCollectionDisplayName?: boolean;
|
|
108
|
+
/** Indicates if the external database supports storing collection display field. */
|
|
109
|
+
supportsCollectionDisplayField?: boolean;
|
|
110
|
+
/** Indicates if the external database supports storing collection permissions. */
|
|
111
|
+
supportsCollectionPermissions?: boolean;
|
|
112
|
+
/** Indicates if the external database supports storing field display name. */
|
|
113
|
+
supportsCollectionFieldDisplayName?: boolean;
|
|
114
|
+
/** Indicates if the external database supports storing field description. */
|
|
115
|
+
supportsCollectionFieldDescription?: boolean;
|
|
44
116
|
}
|
|
45
117
|
export interface GetExternalDatabaseConnectionRequest {
|
|
46
118
|
/** Name of the external database connection to retrieve. */
|
|
@@ -98,3 +170,83 @@ export interface DeleteExternalDatabaseConnectionRequest {
|
|
|
98
170
|
}
|
|
99
171
|
export interface DeleteExternalDatabaseConnectionResponse {
|
|
100
172
|
}
|
|
173
|
+
export interface GetExternalDatabaseConnectionResponseNonNullableFields {
|
|
174
|
+
externalDatabaseConnection?: {
|
|
175
|
+
name: string;
|
|
176
|
+
connectionStatus?: {
|
|
177
|
+
successful: boolean;
|
|
178
|
+
causeOfFailure: CauseOfFailure;
|
|
179
|
+
hasCollections: boolean;
|
|
180
|
+
};
|
|
181
|
+
protocolVersion: ProtocolVersion;
|
|
182
|
+
capabilities?: {
|
|
183
|
+
supportsCollectionModifications: boolean;
|
|
184
|
+
supportedFieldTypes: FieldType[];
|
|
185
|
+
supportsCollectionDisplayName: boolean;
|
|
186
|
+
supportsCollectionDisplayField: boolean;
|
|
187
|
+
supportsCollectionPermissions: boolean;
|
|
188
|
+
supportsCollectionFieldDisplayName: boolean;
|
|
189
|
+
supportsCollectionFieldDescription: boolean;
|
|
190
|
+
};
|
|
191
|
+
};
|
|
192
|
+
}
|
|
193
|
+
export interface ListExternalDatabaseConnectionsResponseNonNullableFields {
|
|
194
|
+
externalDatabaseConnections: {
|
|
195
|
+
name: string;
|
|
196
|
+
connectionStatus?: {
|
|
197
|
+
successful: boolean;
|
|
198
|
+
causeOfFailure: CauseOfFailure;
|
|
199
|
+
hasCollections: boolean;
|
|
200
|
+
};
|
|
201
|
+
protocolVersion: ProtocolVersion;
|
|
202
|
+
capabilities?: {
|
|
203
|
+
supportsCollectionModifications: boolean;
|
|
204
|
+
supportedFieldTypes: FieldType[];
|
|
205
|
+
supportsCollectionDisplayName: boolean;
|
|
206
|
+
supportsCollectionDisplayField: boolean;
|
|
207
|
+
supportsCollectionPermissions: boolean;
|
|
208
|
+
supportsCollectionFieldDisplayName: boolean;
|
|
209
|
+
supportsCollectionFieldDescription: boolean;
|
|
210
|
+
};
|
|
211
|
+
}[];
|
|
212
|
+
}
|
|
213
|
+
export interface CreateExternalDatabaseConnectionResponseNonNullableFields {
|
|
214
|
+
externalDatabaseConnection?: {
|
|
215
|
+
name: string;
|
|
216
|
+
connectionStatus?: {
|
|
217
|
+
successful: boolean;
|
|
218
|
+
causeOfFailure: CauseOfFailure;
|
|
219
|
+
hasCollections: boolean;
|
|
220
|
+
};
|
|
221
|
+
protocolVersion: ProtocolVersion;
|
|
222
|
+
capabilities?: {
|
|
223
|
+
supportsCollectionModifications: boolean;
|
|
224
|
+
supportedFieldTypes: FieldType[];
|
|
225
|
+
supportsCollectionDisplayName: boolean;
|
|
226
|
+
supportsCollectionDisplayField: boolean;
|
|
227
|
+
supportsCollectionPermissions: boolean;
|
|
228
|
+
supportsCollectionFieldDisplayName: boolean;
|
|
229
|
+
supportsCollectionFieldDescription: boolean;
|
|
230
|
+
};
|
|
231
|
+
};
|
|
232
|
+
}
|
|
233
|
+
export interface UpdateExternalDatabaseConnectionResponseNonNullableFields {
|
|
234
|
+
externalDatabaseConnection?: {
|
|
235
|
+
name: string;
|
|
236
|
+
connectionStatus?: {
|
|
237
|
+
successful: boolean;
|
|
238
|
+
causeOfFailure: CauseOfFailure;
|
|
239
|
+
hasCollections: boolean;
|
|
240
|
+
};
|
|
241
|
+
protocolVersion: ProtocolVersion;
|
|
242
|
+
capabilities?: {
|
|
243
|
+
supportsCollectionModifications: boolean;
|
|
244
|
+
supportedFieldTypes: FieldType[];
|
|
245
|
+
supportsCollectionDisplayName: boolean;
|
|
246
|
+
supportsCollectionDisplayField: boolean;
|
|
247
|
+
supportsCollectionPermissions: boolean;
|
|
248
|
+
supportsCollectionFieldDisplayName: boolean;
|
|
249
|
+
supportsCollectionFieldDescription: boolean;
|
|
250
|
+
};
|
|
251
|
+
};
|
|
252
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CauseOfFailure = void 0;
|
|
3
|
+
exports.ProtocolVersion = exports.FieldType = exports.CauseOfFailure = void 0;
|
|
4
4
|
var CauseOfFailure;
|
|
5
5
|
(function (CauseOfFailure) {
|
|
6
6
|
/** No connection failure. */
|
|
@@ -12,4 +12,53 @@ var CauseOfFailure;
|
|
|
12
12
|
/** Unauthorized to access external database. */
|
|
13
13
|
CauseOfFailure["UNAUTHORIZED"] = "UNAUTHORIZED";
|
|
14
14
|
})(CauseOfFailure = exports.CauseOfFailure || (exports.CauseOfFailure = {}));
|
|
15
|
+
var FieldType;
|
|
16
|
+
(function (FieldType) {
|
|
17
|
+
FieldType["UNKNOWN_FIELD_TYPE"] = "UNKNOWN_FIELD_TYPE";
|
|
18
|
+
FieldType["TEXT"] = "TEXT";
|
|
19
|
+
FieldType["NUMBER"] = "NUMBER";
|
|
20
|
+
FieldType["DATE"] = "DATE";
|
|
21
|
+
FieldType["DATETIME"] = "DATETIME";
|
|
22
|
+
FieldType["IMAGE"] = "IMAGE";
|
|
23
|
+
FieldType["BOOLEAN"] = "BOOLEAN";
|
|
24
|
+
FieldType["DOCUMENT"] = "DOCUMENT";
|
|
25
|
+
FieldType["URL"] = "URL";
|
|
26
|
+
FieldType["RICH_TEXT"] = "RICH_TEXT";
|
|
27
|
+
FieldType["VIDEO"] = "VIDEO";
|
|
28
|
+
FieldType["ANY"] = "ANY";
|
|
29
|
+
FieldType["ARRAY_STRING"] = "ARRAY_STRING";
|
|
30
|
+
FieldType["ARRAY_DOCUMENT"] = "ARRAY_DOCUMENT";
|
|
31
|
+
FieldType["AUDIO"] = "AUDIO";
|
|
32
|
+
FieldType["TIME"] = "TIME";
|
|
33
|
+
FieldType["LANGUAGE"] = "LANGUAGE";
|
|
34
|
+
FieldType["RICH_CONTENT"] = "RICH_CONTENT";
|
|
35
|
+
FieldType["MEDIA_GALLERY"] = "MEDIA_GALLERY";
|
|
36
|
+
FieldType["ADDRESS"] = "ADDRESS";
|
|
37
|
+
FieldType["PAGE_LINK"] = "PAGE_LINK";
|
|
38
|
+
FieldType["REFERENCE"] = "REFERENCE";
|
|
39
|
+
FieldType["MULTI_REFERENCE"] = "MULTI_REFERENCE";
|
|
40
|
+
FieldType["OBJECT"] = "OBJECT";
|
|
41
|
+
FieldType["ARRAY"] = "ARRAY";
|
|
42
|
+
/** Deprecated - can’t be added to collections. Can only appear in older collections. */
|
|
43
|
+
FieldType["LEGACY_TIME"] = "LEGACY_TIME";
|
|
44
|
+
/** Deprecated - can’t be added to collections. Can only appear in older collections. */
|
|
45
|
+
FieldType["LEGACY_BOOK"] = "LEGACY_BOOK";
|
|
46
|
+
/** Deprecated - can’t be added to collections. Can only appear in older collections. */
|
|
47
|
+
FieldType["LEGACY_EXTERNAL_URL"] = "LEGACY_EXTERNAL_URL";
|
|
48
|
+
/** Deprecated - can’t be added to collections. Can only appear in older collections. */
|
|
49
|
+
FieldType["LEGACY_BROKEN_REFERENCE"] = "LEGACY_BROKEN_REFERENCE";
|
|
50
|
+
/** Deprecated - can’t be added to collections. Can only appear in older collections. */
|
|
51
|
+
FieldType["LEGACY_IMAGE"] = "LEGACY_IMAGE";
|
|
52
|
+
/** Deprecated - can’t be added to collections. Can only appear in older collections. */
|
|
53
|
+
FieldType["LEGACY_COLOR"] = "LEGACY_COLOR";
|
|
54
|
+
/** Deprecated - can’t be added to collections. Can only appear in older collections. */
|
|
55
|
+
FieldType["LEGACY_EXTERNAL_VIDEO"] = "LEGACY_EXTERNAL_VIDEO";
|
|
56
|
+
})(FieldType = exports.FieldType || (exports.FieldType = {}));
|
|
57
|
+
var ProtocolVersion;
|
|
58
|
+
(function (ProtocolVersion) {
|
|
59
|
+
ProtocolVersion["UNKNOWN_PROTOCOL_VERSION"] = "UNKNOWN_PROTOCOL_VERSION";
|
|
60
|
+
ProtocolVersion["V1"] = "V1";
|
|
61
|
+
ProtocolVersion["V2"] = "V2";
|
|
62
|
+
ProtocolVersion["V3"] = "V3";
|
|
63
|
+
})(ProtocolVersion = exports.ProtocolVersion || (exports.ProtocolVersion = {}));
|
|
15
64
|
//# sourceMappingURL=data-v1-external-database-connection.types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-v1-external-database-connection.types.js","sourceRoot":"","sources":["../../../src/data-v1-external-database-connection.types.ts"],"names":[],"mappings":";;;AAuBA,IAAY,cASX;AATD,WAAY,cAAc;IACxB,6BAA6B;IAC7B,+BAAa,CAAA;IACb,qCAAqC;IACrC,iEAA+C,CAAA;IAC/C,6CAA6C;IAC7C,+EAA6D,CAAA;IAC7D,gDAAgD;IAChD,+CAA6B,CAAA;AAC/B,CAAC,EATW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QASzB"}
|
|
1
|
+
{"version":3,"file":"data-v1-external-database-connection.types.js","sourceRoot":"","sources":["../../../src/data-v1-external-database-connection.types.ts"],"names":[],"mappings":";;;AAuBA,IAAY,cASX;AATD,WAAY,cAAc;IACxB,6BAA6B;IAC7B,+BAAa,CAAA;IACb,qCAAqC;IACrC,iEAA+C,CAAA;IAC/C,6CAA6C;IAC7C,+EAA6D,CAAA;IAC7D,gDAAgD;IAChD,+CAA6B,CAAA;AAC/B,CAAC,EATW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QASzB;AAED,IAAY,SAwCX;AAxCD,WAAY,SAAS;IACnB,sDAAyC,CAAA;IACzC,0BAAa,CAAA;IACb,8BAAiB,CAAA;IACjB,0BAAa,CAAA;IACb,kCAAqB,CAAA;IACrB,4BAAe,CAAA;IACf,gCAAmB,CAAA;IACnB,kCAAqB,CAAA;IACrB,wBAAW,CAAA;IACX,oCAAuB,CAAA;IACvB,4BAAe,CAAA;IACf,wBAAW,CAAA;IACX,0CAA6B,CAAA;IAC7B,8CAAiC,CAAA;IACjC,4BAAe,CAAA;IACf,0BAAa,CAAA;IACb,kCAAqB,CAAA;IACrB,0CAA6B,CAAA;IAC7B,4CAA+B,CAAA;IAC/B,gCAAmB,CAAA;IACnB,oCAAuB,CAAA;IACvB,oCAAuB,CAAA;IACvB,gDAAmC,CAAA;IACnC,8BAAiB,CAAA;IACjB,4BAAe,CAAA;IACf,wFAAwF;IACxF,wCAA2B,CAAA;IAC3B,wFAAwF;IACxF,wCAA2B,CAAA;IAC3B,wFAAwF;IACxF,wDAA2C,CAAA;IAC3C,wFAAwF;IACxF,gEAAmD,CAAA;IACnD,wFAAwF;IACxF,0CAA6B,CAAA;IAC7B,wFAAwF;IACxF,0CAA6B,CAAA;IAC7B,wFAAwF;IACxF,4DAA+C,CAAA;AACjD,CAAC,EAxCW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAwCpB;AAqBD,IAAY,eAKX;AALD,WAAY,eAAe;IACzB,wEAAqD,CAAA;IACrD,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,4BAAS,CAAA;AACX,CAAC,EALW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAK1B"}
|
|
@@ -36,6 +36,47 @@ export declare enum CauseOfFailure {
|
|
|
36
36
|
/** Unauthorized to access external database. */
|
|
37
37
|
UNAUTHORIZED = "UNAUTHORIZED"
|
|
38
38
|
}
|
|
39
|
+
export declare enum FieldType {
|
|
40
|
+
UNKNOWN_FIELD_TYPE = "UNKNOWN_FIELD_TYPE",
|
|
41
|
+
TEXT = "TEXT",
|
|
42
|
+
NUMBER = "NUMBER",
|
|
43
|
+
DATE = "DATE",
|
|
44
|
+
DATETIME = "DATETIME",
|
|
45
|
+
IMAGE = "IMAGE",
|
|
46
|
+
BOOLEAN = "BOOLEAN",
|
|
47
|
+
DOCUMENT = "DOCUMENT",
|
|
48
|
+
URL = "URL",
|
|
49
|
+
RICH_TEXT = "RICH_TEXT",
|
|
50
|
+
VIDEO = "VIDEO",
|
|
51
|
+
ANY = "ANY",
|
|
52
|
+
ARRAY_STRING = "ARRAY_STRING",
|
|
53
|
+
ARRAY_DOCUMENT = "ARRAY_DOCUMENT",
|
|
54
|
+
AUDIO = "AUDIO",
|
|
55
|
+
TIME = "TIME",
|
|
56
|
+
LANGUAGE = "LANGUAGE",
|
|
57
|
+
RICH_CONTENT = "RICH_CONTENT",
|
|
58
|
+
MEDIA_GALLERY = "MEDIA_GALLERY",
|
|
59
|
+
ADDRESS = "ADDRESS",
|
|
60
|
+
PAGE_LINK = "PAGE_LINK",
|
|
61
|
+
REFERENCE = "REFERENCE",
|
|
62
|
+
MULTI_REFERENCE = "MULTI_REFERENCE",
|
|
63
|
+
OBJECT = "OBJECT",
|
|
64
|
+
ARRAY = "ARRAY",
|
|
65
|
+
/** Deprecated - can’t be added to collections. Can only appear in older collections. */
|
|
66
|
+
LEGACY_TIME = "LEGACY_TIME",
|
|
67
|
+
/** Deprecated - can’t be added to collections. Can only appear in older collections. */
|
|
68
|
+
LEGACY_BOOK = "LEGACY_BOOK",
|
|
69
|
+
/** Deprecated - can’t be added to collections. Can only appear in older collections. */
|
|
70
|
+
LEGACY_EXTERNAL_URL = "LEGACY_EXTERNAL_URL",
|
|
71
|
+
/** Deprecated - can’t be added to collections. Can only appear in older collections. */
|
|
72
|
+
LEGACY_BROKEN_REFERENCE = "LEGACY_BROKEN_REFERENCE",
|
|
73
|
+
/** Deprecated - can’t be added to collections. Can only appear in older collections. */
|
|
74
|
+
LEGACY_IMAGE = "LEGACY_IMAGE",
|
|
75
|
+
/** Deprecated - can’t be added to collections. Can only appear in older collections. */
|
|
76
|
+
LEGACY_COLOR = "LEGACY_COLOR",
|
|
77
|
+
/** Deprecated - can’t be added to collections. Can only appear in older collections. */
|
|
78
|
+
LEGACY_EXTERNAL_VIDEO = "LEGACY_EXTERNAL_VIDEO"
|
|
79
|
+
}
|
|
39
80
|
export interface ConnectionStatus {
|
|
40
81
|
/** Whether the connection was established successfully. */
|
|
41
82
|
successful?: boolean;
|
|
@@ -47,6 +88,37 @@ export interface ConnectionStatus {
|
|
|
47
88
|
* + `UNAUTHORIZED`: Unauthorized to access external database.
|
|
48
89
|
*/
|
|
49
90
|
causeOfFailure?: CauseOfFailure;
|
|
91
|
+
/**
|
|
92
|
+
* contains true if connection was successful and returned some existing collections
|
|
93
|
+
* in case of failure is unknown
|
|
94
|
+
* @readonly
|
|
95
|
+
*/
|
|
96
|
+
hasCollections?: boolean;
|
|
97
|
+
}
|
|
98
|
+
export declare enum ProtocolVersion {
|
|
99
|
+
UNKNOWN_PROTOCOL_VERSION = "UNKNOWN_PROTOCOL_VERSION",
|
|
100
|
+
V1 = "V1",
|
|
101
|
+
V2 = "V2",
|
|
102
|
+
V3 = "V3"
|
|
103
|
+
}
|
|
104
|
+
export interface Capabilities {
|
|
105
|
+
/** Indicates if the external database supports creating or updating collections. */
|
|
106
|
+
supportsCollectionModifications?: boolean;
|
|
107
|
+
/**
|
|
108
|
+
* Indicates which field types are supported by the external database.
|
|
109
|
+
* This option only affects collection creation and update requests.
|
|
110
|
+
*/
|
|
111
|
+
supportedFieldTypes?: FieldType[];
|
|
112
|
+
/** Indicates if the external database supports storing collection display name. */
|
|
113
|
+
supportsCollectionDisplayName?: boolean;
|
|
114
|
+
/** Indicates if the external database supports storing collection display field. */
|
|
115
|
+
supportsCollectionDisplayField?: boolean;
|
|
116
|
+
/** Indicates if the external database supports storing collection permissions. */
|
|
117
|
+
supportsCollectionPermissions?: boolean;
|
|
118
|
+
/** Indicates if the external database supports storing field display name. */
|
|
119
|
+
supportsCollectionFieldDisplayName?: boolean;
|
|
120
|
+
/** Indicates if the external database supports storing field description. */
|
|
121
|
+
supportsCollectionFieldDescription?: boolean;
|
|
50
122
|
}
|
|
51
123
|
export interface GetExternalDatabaseConnectionRequest {
|
|
52
124
|
/** Name of the external database connection to retrieve. */
|
|
@@ -104,6 +176,46 @@ export interface DeleteExternalDatabaseConnectionRequest {
|
|
|
104
176
|
}
|
|
105
177
|
export interface DeleteExternalDatabaseConnectionResponse {
|
|
106
178
|
}
|
|
179
|
+
export interface GetExternalDatabaseConnectionResponseNonNullableFields {
|
|
180
|
+
externalDatabaseConnection?: {
|
|
181
|
+
name: string;
|
|
182
|
+
connectionStatus?: {
|
|
183
|
+
successful: boolean;
|
|
184
|
+
causeOfFailure: CauseOfFailure;
|
|
185
|
+
hasCollections: boolean;
|
|
186
|
+
};
|
|
187
|
+
};
|
|
188
|
+
}
|
|
189
|
+
export interface ListExternalDatabaseConnectionsResponseNonNullableFields {
|
|
190
|
+
externalDatabaseConnections: {
|
|
191
|
+
name: string;
|
|
192
|
+
connectionStatus?: {
|
|
193
|
+
successful: boolean;
|
|
194
|
+
causeOfFailure: CauseOfFailure;
|
|
195
|
+
hasCollections: boolean;
|
|
196
|
+
};
|
|
197
|
+
}[];
|
|
198
|
+
}
|
|
199
|
+
export interface CreateExternalDatabaseConnectionResponseNonNullableFields {
|
|
200
|
+
externalDatabaseConnection?: {
|
|
201
|
+
name: string;
|
|
202
|
+
connectionStatus?: {
|
|
203
|
+
successful: boolean;
|
|
204
|
+
causeOfFailure: CauseOfFailure;
|
|
205
|
+
hasCollections: boolean;
|
|
206
|
+
};
|
|
207
|
+
};
|
|
208
|
+
}
|
|
209
|
+
export interface UpdateExternalDatabaseConnectionResponseNonNullableFields {
|
|
210
|
+
externalDatabaseConnection?: {
|
|
211
|
+
name: string;
|
|
212
|
+
connectionStatus?: {
|
|
213
|
+
successful: boolean;
|
|
214
|
+
causeOfFailure: CauseOfFailure;
|
|
215
|
+
hasCollections: boolean;
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
}
|
|
107
219
|
/**
|
|
108
220
|
* Retrieves an external database connection by name.
|
|
109
221
|
* @param name - Name of the external database connection to retrieve.
|
|
@@ -114,7 +226,7 @@ export interface DeleteExternalDatabaseConnectionResponse {
|
|
|
114
226
|
* @applicableIdentity APP
|
|
115
227
|
* @returns Details of the external database connection requested.
|
|
116
228
|
*/
|
|
117
|
-
export declare function getExternalDatabaseConnection(name: string): Promise<ExternalDatabaseConnection>;
|
|
229
|
+
export declare function getExternalDatabaseConnection(name: string): Promise<ExternalDatabaseConnection & NonNullable<GetExternalDatabaseConnectionResponseNonNullableFields>['externalDatabaseConnection']>;
|
|
118
230
|
/**
|
|
119
231
|
* Retrieves a list of all external database collections associated with the site or project.
|
|
120
232
|
* @public
|
|
@@ -122,7 +234,7 @@ export declare function getExternalDatabaseConnection(name: string): Promise<Ext
|
|
|
122
234
|
* @permissionScope Read External Database Connections
|
|
123
235
|
* @applicableIdentity APP
|
|
124
236
|
*/
|
|
125
|
-
export declare function listExternalDatabaseConnections(options?: ListExternalDatabaseConnectionsOptions): Promise<ListExternalDatabaseConnectionsResponse>;
|
|
237
|
+
export declare function listExternalDatabaseConnections(options?: ListExternalDatabaseConnectionsOptions): Promise<ListExternalDatabaseConnectionsResponse & ListExternalDatabaseConnectionsResponseNonNullableFields>;
|
|
126
238
|
export interface ListExternalDatabaseConnectionsOptions {
|
|
127
239
|
/** Paging */
|
|
128
240
|
paging?: Paging;
|
|
@@ -142,7 +254,7 @@ export interface ListExternalDatabaseConnectionsOptions {
|
|
|
142
254
|
* @applicableIdentity APP
|
|
143
255
|
* @returns Details of external database connection created.
|
|
144
256
|
*/
|
|
145
|
-
export declare function createExternalDatabaseConnection(externalDatabaseConnection: ExternalDatabaseConnection): Promise<ExternalDatabaseConnection>;
|
|
257
|
+
export declare function createExternalDatabaseConnection(externalDatabaseConnection: ExternalDatabaseConnection): Promise<ExternalDatabaseConnection & NonNullable<CreateExternalDatabaseConnectionResponseNonNullableFields>['externalDatabaseConnection']>;
|
|
146
258
|
/**
|
|
147
259
|
* Updates an external database connection.
|
|
148
260
|
*
|
|
@@ -163,7 +275,7 @@ export declare function createExternalDatabaseConnection(externalDatabaseConnect
|
|
|
163
275
|
* @applicableIdentity APP
|
|
164
276
|
* @returns Updated external database connection details.
|
|
165
277
|
*/
|
|
166
|
-
export declare function updateExternalDatabaseConnection(name: string, externalDatabaseConnection: UpdateExternalDatabaseConnection): Promise<ExternalDatabaseConnection>;
|
|
278
|
+
export declare function updateExternalDatabaseConnection(name: string, externalDatabaseConnection: UpdateExternalDatabaseConnection): Promise<ExternalDatabaseConnection & NonNullable<UpdateExternalDatabaseConnectionResponseNonNullableFields>['externalDatabaseConnection']>;
|
|
167
279
|
export interface UpdateExternalDatabaseConnection {
|
|
168
280
|
/** Base URL for provisioning and managing data in the external database. For example: `https://example.com/my-external-database`. */
|
|
169
281
|
endpoint?: string | null;
|
|
@@ -28,7 +28,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28
28
|
});
|
|
29
29
|
};
|
|
30
30
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31
|
-
exports.deleteExternalDatabaseConnection = exports.updateExternalDatabaseConnection = exports.createExternalDatabaseConnection = exports.listExternalDatabaseConnections = exports.getExternalDatabaseConnection = exports.CauseOfFailure = exports.__debug = void 0;
|
|
31
|
+
exports.deleteExternalDatabaseConnection = exports.updateExternalDatabaseConnection = exports.createExternalDatabaseConnection = exports.listExternalDatabaseConnections = exports.getExternalDatabaseConnection = exports.ProtocolVersion = exports.FieldType = exports.CauseOfFailure = exports.__debug = void 0;
|
|
32
32
|
const velo_1 = require("@wix/metro-runtime/velo");
|
|
33
33
|
const ambassadorWixDataV1ExternalDatabaseConnection = __importStar(require("./data-v1-external-database-connection.http"));
|
|
34
34
|
let __verbose = false;
|
|
@@ -57,6 +57,55 @@ var CauseOfFailure;
|
|
|
57
57
|
/** Unauthorized to access external database. */
|
|
58
58
|
CauseOfFailure["UNAUTHORIZED"] = "UNAUTHORIZED";
|
|
59
59
|
})(CauseOfFailure = exports.CauseOfFailure || (exports.CauseOfFailure = {}));
|
|
60
|
+
var FieldType;
|
|
61
|
+
(function (FieldType) {
|
|
62
|
+
FieldType["UNKNOWN_FIELD_TYPE"] = "UNKNOWN_FIELD_TYPE";
|
|
63
|
+
FieldType["TEXT"] = "TEXT";
|
|
64
|
+
FieldType["NUMBER"] = "NUMBER";
|
|
65
|
+
FieldType["DATE"] = "DATE";
|
|
66
|
+
FieldType["DATETIME"] = "DATETIME";
|
|
67
|
+
FieldType["IMAGE"] = "IMAGE";
|
|
68
|
+
FieldType["BOOLEAN"] = "BOOLEAN";
|
|
69
|
+
FieldType["DOCUMENT"] = "DOCUMENT";
|
|
70
|
+
FieldType["URL"] = "URL";
|
|
71
|
+
FieldType["RICH_TEXT"] = "RICH_TEXT";
|
|
72
|
+
FieldType["VIDEO"] = "VIDEO";
|
|
73
|
+
FieldType["ANY"] = "ANY";
|
|
74
|
+
FieldType["ARRAY_STRING"] = "ARRAY_STRING";
|
|
75
|
+
FieldType["ARRAY_DOCUMENT"] = "ARRAY_DOCUMENT";
|
|
76
|
+
FieldType["AUDIO"] = "AUDIO";
|
|
77
|
+
FieldType["TIME"] = "TIME";
|
|
78
|
+
FieldType["LANGUAGE"] = "LANGUAGE";
|
|
79
|
+
FieldType["RICH_CONTENT"] = "RICH_CONTENT";
|
|
80
|
+
FieldType["MEDIA_GALLERY"] = "MEDIA_GALLERY";
|
|
81
|
+
FieldType["ADDRESS"] = "ADDRESS";
|
|
82
|
+
FieldType["PAGE_LINK"] = "PAGE_LINK";
|
|
83
|
+
FieldType["REFERENCE"] = "REFERENCE";
|
|
84
|
+
FieldType["MULTI_REFERENCE"] = "MULTI_REFERENCE";
|
|
85
|
+
FieldType["OBJECT"] = "OBJECT";
|
|
86
|
+
FieldType["ARRAY"] = "ARRAY";
|
|
87
|
+
/** Deprecated - can’t be added to collections. Can only appear in older collections. */
|
|
88
|
+
FieldType["LEGACY_TIME"] = "LEGACY_TIME";
|
|
89
|
+
/** Deprecated - can’t be added to collections. Can only appear in older collections. */
|
|
90
|
+
FieldType["LEGACY_BOOK"] = "LEGACY_BOOK";
|
|
91
|
+
/** Deprecated - can’t be added to collections. Can only appear in older collections. */
|
|
92
|
+
FieldType["LEGACY_EXTERNAL_URL"] = "LEGACY_EXTERNAL_URL";
|
|
93
|
+
/** Deprecated - can’t be added to collections. Can only appear in older collections. */
|
|
94
|
+
FieldType["LEGACY_BROKEN_REFERENCE"] = "LEGACY_BROKEN_REFERENCE";
|
|
95
|
+
/** Deprecated - can’t be added to collections. Can only appear in older collections. */
|
|
96
|
+
FieldType["LEGACY_IMAGE"] = "LEGACY_IMAGE";
|
|
97
|
+
/** Deprecated - can’t be added to collections. Can only appear in older collections. */
|
|
98
|
+
FieldType["LEGACY_COLOR"] = "LEGACY_COLOR";
|
|
99
|
+
/** Deprecated - can’t be added to collections. Can only appear in older collections. */
|
|
100
|
+
FieldType["LEGACY_EXTERNAL_VIDEO"] = "LEGACY_EXTERNAL_VIDEO";
|
|
101
|
+
})(FieldType = exports.FieldType || (exports.FieldType = {}));
|
|
102
|
+
var ProtocolVersion;
|
|
103
|
+
(function (ProtocolVersion) {
|
|
104
|
+
ProtocolVersion["UNKNOWN_PROTOCOL_VERSION"] = "UNKNOWN_PROTOCOL_VERSION";
|
|
105
|
+
ProtocolVersion["V1"] = "V1";
|
|
106
|
+
ProtocolVersion["V2"] = "V2";
|
|
107
|
+
ProtocolVersion["V3"] = "V3";
|
|
108
|
+
})(ProtocolVersion = exports.ProtocolVersion || (exports.ProtocolVersion = {}));
|
|
60
109
|
const _createExternalDatabaseConnectionRequest = {};
|
|
61
110
|
const _createExternalDatabaseConnectionResponse = {};
|
|
62
111
|
const _deleteExternalDatabaseConnectionRequest = {};
|