@wix/bex-utils 2.108.0 → 2.110.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/@wix/ambassador-authorization-server/builders.d.ts +2542 -0
- package/@wix/ambassador-authorization-server/builders.js +10330 -0
- package/@wix/ambassador-authorization-server/builders.js.map +1 -0
- package/@wix/ambassador-authorization-server/export-erb.js +101 -0
- package/@wix/ambassador-authorization-server/http.d.ts +109 -0
- package/@wix/ambassador-authorization-server/http.js +394 -0
- package/@wix/ambassador-authorization-server/http.js.map +1 -0
- package/@wix/ambassador-authorization-server/index.js +1 -0
- package/@wix/ambassador-authorization-server/package.json +30 -0
- package/@wix/ambassador-authorization-server/rpc.d.ts +252 -0
- package/@wix/ambassador-authorization-server/rpc.js +820 -0
- package/@wix/ambassador-authorization-server/rpc.js.map +1 -0
- package/@wix/ambassador-authorization-server/src/builders.ts +10663 -0
- package/@wix/ambassador-authorization-server/src/http.ts +666 -0
- package/@wix/ambassador-authorization-server/src/rpc.ts +1111 -0
- package/@wix/ambassador-authorization-server/src/types.ts +1616 -0
- package/@wix/ambassador-authorization-server/types.d.ts +1294 -0
- package/@wix/ambassador-authorization-server/types.js +62 -0
- package/@wix/ambassador-authorization-server/types.js.map +1 -0
- package/@wix/ambassador-data-v1-external-database-connection/README.md +34 -0
- package/@wix/ambassador-data-v1-external-database-connection/builders/package.json +7 -0
- package/@wix/ambassador-data-v1-external-database-connection/cjs/build/builders.impl.d.ts +32 -0
- package/@wix/ambassador-data-v1-external-database-connection/cjs/build/builders.impl.js +363 -0
- package/@wix/ambassador-data-v1-external-database-connection/cjs/build/builders.impl.js.map +1 -0
- package/@wix/ambassador-data-v1-external-database-connection/cjs/build/crud/http.impl.d.ts +1 -0
- package/@wix/ambassador-data-v1-external-database-connection/cjs/build/crud/http.impl.js +5 -0
- package/@wix/ambassador-data-v1-external-database-connection/cjs/build/crud/http.impl.js.map +1 -0
- package/@wix/ambassador-data-v1-external-database-connection/cjs/build/crud/rpc.impl.d.ts +11 -0
- package/@wix/ambassador-data-v1-external-database-connection/cjs/build/crud/rpc.impl.js +41 -0
- package/@wix/ambassador-data-v1-external-database-connection/cjs/build/crud/rpc.impl.js.map +1 -0
- package/@wix/ambassador-data-v1-external-database-connection/cjs/build/http.impl.d.ts +24 -0
- package/@wix/ambassador-data-v1-external-database-connection/cjs/build/http.impl.js +530 -0
- package/@wix/ambassador-data-v1-external-database-connection/cjs/build/http.impl.js.map +1 -0
- package/@wix/ambassador-data-v1-external-database-connection/cjs/build/meta.impl.d.ts +22 -0
- package/@wix/ambassador-data-v1-external-database-connection/cjs/build/meta.impl.js +136 -0
- package/@wix/ambassador-data-v1-external-database-connection/cjs/build/meta.impl.js.map +1 -0
- package/@wix/ambassador-data-v1-external-database-connection/cjs/build/proto/client/proto-generated.d.ts +7218 -0
- package/@wix/ambassador-data-v1-external-database-connection/cjs/build/proto/client/proto-generated.js +2 -0
- package/@wix/ambassador-data-v1-external-database-connection/cjs/build/proto/proto-generated.d.ts +3606 -0
- package/@wix/ambassador-data-v1-external-database-connection/cjs/build/proto/proto-generated.js +1 -0
- package/@wix/ambassador-data-v1-external-database-connection/cjs/build/proto/server/proto-generated.d.ts +7207 -0
- package/@wix/ambassador-data-v1-external-database-connection/cjs/build/proto/server/proto-generated.js +2 -0
- package/@wix/ambassador-data-v1-external-database-connection/cjs/build/rpc.impl.d.ts +33 -0
- package/@wix/ambassador-data-v1-external-database-connection/cjs/build/rpc.impl.js +121 -0
- package/@wix/ambassador-data-v1-external-database-connection/cjs/build/rpc.impl.js.map +1 -0
- package/@wix/ambassador-data-v1-external-database-connection/cjs/build/types.impl.d.ts +424 -0
- package/@wix/ambassador-data-v1-external-database-connection/cjs/build/types.impl.js +97 -0
- package/@wix/ambassador-data-v1-external-database-connection/cjs/build/types.impl.js.map +1 -0
- package/@wix/ambassador-data-v1-external-database-connection/cjs/package.json +3 -0
- package/@wix/ambassador-data-v1-external-database-connection/crud/http/package.json +7 -0
- package/@wix/ambassador-data-v1-external-database-connection/crud/rpc/package.json +6 -0
- package/@wix/ambassador-data-v1-external-database-connection/es/build/builders.impl.d.ts +32 -0
- package/@wix/ambassador-data-v1-external-database-connection/es/build/builders.impl.js +314 -0
- package/@wix/ambassador-data-v1-external-database-connection/es/build/builders.impl.js.map +1 -0
- package/@wix/ambassador-data-v1-external-database-connection/es/build/crud/http.impl.d.ts +1 -0
- package/@wix/ambassador-data-v1-external-database-connection/es/build/crud/http.impl.js +2 -0
- package/@wix/ambassador-data-v1-external-database-connection/es/build/crud/http.impl.js.map +1 -0
- package/@wix/ambassador-data-v1-external-database-connection/es/build/crud/rpc.impl.d.ts +11 -0
- package/@wix/ambassador-data-v1-external-database-connection/es/build/crud/rpc.impl.js +34 -0
- package/@wix/ambassador-data-v1-external-database-connection/es/build/crud/rpc.impl.js.map +1 -0
- package/@wix/ambassador-data-v1-external-database-connection/es/build/http.impl.d.ts +24 -0
- package/@wix/ambassador-data-v1-external-database-connection/es/build/http.impl.js +523 -0
- package/@wix/ambassador-data-v1-external-database-connection/es/build/http.impl.js.map +1 -0
- package/@wix/ambassador-data-v1-external-database-connection/es/build/meta.impl.d.ts +22 -0
- package/@wix/ambassador-data-v1-external-database-connection/es/build/meta.impl.js +96 -0
- package/@wix/ambassador-data-v1-external-database-connection/es/build/meta.impl.js.map +1 -0
- package/@wix/ambassador-data-v1-external-database-connection/es/build/proto/client/proto-generated.d.ts +7218 -0
- package/@wix/ambassador-data-v1-external-database-connection/es/build/proto/client/proto-generated.js +5 -0
- package/@wix/ambassador-data-v1-external-database-connection/es/build/proto/proto-generated.d.ts +3606 -0
- package/@wix/ambassador-data-v1-external-database-connection/es/build/proto/proto-generated.js +1 -0
- package/@wix/ambassador-data-v1-external-database-connection/es/build/proto/server/proto-generated.d.ts +7207 -0
- package/@wix/ambassador-data-v1-external-database-connection/es/build/proto/server/proto-generated.js +5 -0
- package/@wix/ambassador-data-v1-external-database-connection/es/build/rpc.impl.d.ts +33 -0
- package/@wix/ambassador-data-v1-external-database-connection/es/build/rpc.impl.js +81 -0
- package/@wix/ambassador-data-v1-external-database-connection/es/build/rpc.impl.js.map +1 -0
- package/@wix/ambassador-data-v1-external-database-connection/es/build/types.impl.d.ts +424 -0
- package/@wix/ambassador-data-v1-external-database-connection/es/build/types.impl.js +94 -0
- package/@wix/ambassador-data-v1-external-database-connection/es/build/types.impl.js.map +1 -0
- package/@wix/ambassador-data-v1-external-database-connection/http/package.json +7 -0
- package/@wix/ambassador-data-v1-external-database-connection/meta/package.json +7 -0
- package/@wix/ambassador-data-v1-external-database-connection/package.json +108 -0
- package/@wix/ambassador-data-v1-external-database-connection/rpc/package.json +6 -0
- package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/com/wixpress/cloud/data/api/common.proto +63 -0
- package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/com/wixpress/cloud/data/api/externaldatabase/external-database-connection-service.proto +305 -0
- package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/com/wixpress/cloud/data/api/externaldatabase/upstream/externaldatabase/wix/common/paging.proto +112 -0
- package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/com/wixpress/iptf/webhooks/debug.proto +34 -0
- package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/com/wixpress/iptf/webhooks/kv.proto +42 -0
- package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/com/wixpress/iptf/webhooks/message_envelope.proto +54 -0
- package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/webhooks_debug_service.proto +32 -0
- package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/webhooks_sync_service.proto +33 -0
- package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/api/action_payload.proto +33 -0
- package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/api/annotations.proto +559 -0
- package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/api/api_errors.proto +142 -0
- package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/api/callback.proto +173 -0
- package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/api/context.proto +19 -0
- package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/api/entity.proto +133 -0
- package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/api/errors.proto +127 -0
- package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/api/idempotency.proto +25 -0
- package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/api/permissions.proto +46 -0
- package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/api/sla.proto +24 -0
- package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/api/subscription.proto +32 -0
- package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/api/validations.proto +147 -0
- package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/common/address.proto +148 -0
- package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/common/bulk.proto +53 -0
- package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/common/domainevents/attributeupdated.proto +20 -0
- package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/common/domainevents/domainevents.proto +112 -0
- package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/common/identification.proto +40 -0
- package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/common/image.proto +8 -0
- package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/common/media.proto +280 -0
- package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/common/money.proto +32 -0
- package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/common/pageurl.proto +32 -0
- package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/common/paging.proto +121 -0
- package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/common/sorting.proto +36 -0
- package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/common/spi.proto +85 -0
- package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/common/tags.proto +55 -0
- package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/common/wixlink.proto +203 -0
- package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/graphql/definitions.proto +13 -0
- package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/http/field_mask.proto +46 -0
- package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/sdk/definitions.proto +191 -0
- package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/spi/definitions.proto +188 -0
- package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/spi/http_error_status.proto +24 -0
- package/@wix/ambassador-data-v1-external-database-connection/types/package.json +7 -0
- package/@wix/bex-bundled-mini-essentials/CHANGELOG.md +8 -0
- package/@wix/bex-bundled-mini-essentials/package.json +1 -1
- package/package.json +8 -5
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WebhookIdentityType = exports.FieldType = exports.ProtocolVersion = exports.CollectionsFound = exports.CauseOfFailure = exports.ConnectionType = void 0;
|
|
4
|
+
var ConnectionType;
|
|
5
|
+
(function (ConnectionType) {
|
|
6
|
+
/** Unknown connection type. */
|
|
7
|
+
ConnectionType["UNKNOWN_CONNECTION_TYPE"] = "UNKNOWN_CONNECTION_TYPE";
|
|
8
|
+
/** External database connection based on the legacy [external database collection service plugin](https://dev.wix.com/docs/velo/api-reference/wix-data-v2/service-plugins-spis/external-database-collection-legacy/introduction). */
|
|
9
|
+
ConnectionType["STANDALONE"] = "STANDALONE";
|
|
10
|
+
/** External database connection based on the [external database service plugin](https://dev.wix.com/docs/rest/business-solutions/cms/service-plugins/external-database-service-plugin/introduction). */
|
|
11
|
+
ConnectionType["WIX_SERVICE_PLUGIN"] = "WIX_SERVICE_PLUGIN";
|
|
12
|
+
})(ConnectionType || (exports.ConnectionType = ConnectionType = {}));
|
|
13
|
+
var CauseOfFailure;
|
|
14
|
+
(function (CauseOfFailure) {
|
|
15
|
+
/** No connection failure. */
|
|
16
|
+
CauseOfFailure["NONE"] = "NONE";
|
|
17
|
+
/** General communication failure. */
|
|
18
|
+
CauseOfFailure["COMMUNICATION_FAILURE"] = "COMMUNICATION_FAILURE";
|
|
19
|
+
/** External database host is unreachable. */
|
|
20
|
+
CauseOfFailure["DESTINATION_HOST_UNREACHABLE"] = "DESTINATION_HOST_UNREACHABLE";
|
|
21
|
+
/** Unauthorized to access the external database. */
|
|
22
|
+
CauseOfFailure["UNAUTHORIZED"] = "UNAUTHORIZED";
|
|
23
|
+
/** `endpoint` is not set. */
|
|
24
|
+
CauseOfFailure["DESTINATION_ENDPOINT_NOT_DEFINED"] = "DESTINATION_ENDPOINT_NOT_DEFINED";
|
|
25
|
+
})(CauseOfFailure || (exports.CauseOfFailure = CauseOfFailure = {}));
|
|
26
|
+
var CollectionsFound;
|
|
27
|
+
(function (CollectionsFound) {
|
|
28
|
+
/** Attempt to connect to the external database failed, so status is unknown. */
|
|
29
|
+
CollectionsFound["UNKNOWN"] = "UNKNOWN";
|
|
30
|
+
/** External database has collections. */
|
|
31
|
+
CollectionsFound["YES"] = "YES";
|
|
32
|
+
/** External database does not have any collections. */
|
|
33
|
+
CollectionsFound["NO"] = "NO";
|
|
34
|
+
})(CollectionsFound || (exports.CollectionsFound = CollectionsFound = {}));
|
|
35
|
+
var ProtocolVersion;
|
|
36
|
+
(function (ProtocolVersion) {
|
|
37
|
+
ProtocolVersion["UNKNOWN_PROTOCOL_VERSION"] = "UNKNOWN_PROTOCOL_VERSION";
|
|
38
|
+
ProtocolVersion["V1"] = "V1";
|
|
39
|
+
ProtocolVersion["V2"] = "V2";
|
|
40
|
+
ProtocolVersion["V3"] = "V3";
|
|
41
|
+
})(ProtocolVersion || (exports.ProtocolVersion = ProtocolVersion = {}));
|
|
42
|
+
var FieldType;
|
|
43
|
+
(function (FieldType) {
|
|
44
|
+
FieldType["UNKNOWN_FIELD_TYPE"] = "UNKNOWN_FIELD_TYPE";
|
|
45
|
+
FieldType["TEXT"] = "TEXT";
|
|
46
|
+
FieldType["NUMBER"] = "NUMBER";
|
|
47
|
+
FieldType["DATE"] = "DATE";
|
|
48
|
+
FieldType["DATETIME"] = "DATETIME";
|
|
49
|
+
FieldType["IMAGE"] = "IMAGE";
|
|
50
|
+
FieldType["BOOLEAN"] = "BOOLEAN";
|
|
51
|
+
FieldType["DOCUMENT"] = "DOCUMENT";
|
|
52
|
+
FieldType["URL"] = "URL";
|
|
53
|
+
FieldType["RICH_TEXT"] = "RICH_TEXT";
|
|
54
|
+
FieldType["VIDEO"] = "VIDEO";
|
|
55
|
+
FieldType["ANY"] = "ANY";
|
|
56
|
+
FieldType["ARRAY_STRING"] = "ARRAY_STRING";
|
|
57
|
+
FieldType["ARRAY_DOCUMENT"] = "ARRAY_DOCUMENT";
|
|
58
|
+
FieldType["AUDIO"] = "AUDIO";
|
|
59
|
+
FieldType["TIME"] = "TIME";
|
|
60
|
+
FieldType["LANGUAGE"] = "LANGUAGE";
|
|
61
|
+
FieldType["RICH_CONTENT"] = "RICH_CONTENT";
|
|
62
|
+
FieldType["MEDIA_GALLERY"] = "MEDIA_GALLERY";
|
|
63
|
+
FieldType["ADDRESS"] = "ADDRESS";
|
|
64
|
+
FieldType["PAGE_LINK"] = "PAGE_LINK";
|
|
65
|
+
FieldType["REFERENCE"] = "REFERENCE";
|
|
66
|
+
FieldType["MULTI_REFERENCE"] = "MULTI_REFERENCE";
|
|
67
|
+
FieldType["OBJECT"] = "OBJECT";
|
|
68
|
+
FieldType["ARRAY"] = "ARRAY";
|
|
69
|
+
/** Deprecated - can’t be added to collections. Can only appear in older collections. */
|
|
70
|
+
FieldType["LEGACY_TIME"] = "LEGACY_TIME";
|
|
71
|
+
/** Deprecated - can’t be added to collections. Can only appear in older collections. */
|
|
72
|
+
FieldType["LEGACY_BOOK"] = "LEGACY_BOOK";
|
|
73
|
+
/** Deprecated - can’t be added to collections. Can only appear in older collections. */
|
|
74
|
+
FieldType["LEGACY_EXTERNAL_URL"] = "LEGACY_EXTERNAL_URL";
|
|
75
|
+
/** Deprecated - can’t be added to collections. Can only appear in older collections. */
|
|
76
|
+
FieldType["LEGACY_BROKEN_REFERENCE"] = "LEGACY_BROKEN_REFERENCE";
|
|
77
|
+
/** Deprecated - can’t be added to collections. Can only appear in older collections. */
|
|
78
|
+
FieldType["LEGACY_IMAGE"] = "LEGACY_IMAGE";
|
|
79
|
+
/** Deprecated - can’t be added to collections. Can only appear in older collections. */
|
|
80
|
+
FieldType["LEGACY_COLOR"] = "LEGACY_COLOR";
|
|
81
|
+
/** Deprecated - can’t be added to collections. Can only appear in older collections. */
|
|
82
|
+
FieldType["LEGACY_EXTERNAL_VIDEO"] = "LEGACY_EXTERNAL_VIDEO";
|
|
83
|
+
FieldType["SLUG"] = "SLUG";
|
|
84
|
+
FieldType["EMAIL"] = "EMAIL";
|
|
85
|
+
FieldType["SECURED_MEDIA"] = "SECURED_MEDIA";
|
|
86
|
+
FieldType["MEDIA_IMAGE"] = "MEDIA_IMAGE";
|
|
87
|
+
FieldType["MEDIA_VECTOR_ART"] = "MEDIA_VECTOR_ART";
|
|
88
|
+
})(FieldType || (exports.FieldType = FieldType = {}));
|
|
89
|
+
var WebhookIdentityType;
|
|
90
|
+
(function (WebhookIdentityType) {
|
|
91
|
+
WebhookIdentityType["UNKNOWN"] = "UNKNOWN";
|
|
92
|
+
WebhookIdentityType["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
93
|
+
WebhookIdentityType["MEMBER"] = "MEMBER";
|
|
94
|
+
WebhookIdentityType["WIX_USER"] = "WIX_USER";
|
|
95
|
+
WebhookIdentityType["APP"] = "APP";
|
|
96
|
+
})(WebhookIdentityType || (exports.WebhookIdentityType = WebhookIdentityType = {}));
|
|
97
|
+
//# sourceMappingURL=types.impl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.impl.js","sourceRoot":"","sources":["../../types.impl.ts"],"names":[],"mappings":";;;AAAA,IAAY,cAOX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,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;IAC/C,0BAAa,CAAA;IACb,4BAAe,CAAA;IACf,4CAA+B,CAAA;IAC/B,wCAA2B,CAAA;IAC3B,kDAAqC,CAAA;AACvC,CAAC,EA7CW,SAAS,yBAAT,SAAS,QA6CpB;AAqED,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { AccountInfo, ActionEvent, Capabilities, CauseOfFailure, CollectionsFound, ConnectionStatus, ConnectionType, CreateExternalDatabaseConnectionRequest, CreateExternalDatabaseConnectionResponse, DeleteExternalDatabaseConnectionRequest, DeleteExternalDatabaseConnectionResponse, DomainEvent, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ExternalDatabaseConnection, FieldType, GetExternalDatabaseConnectionRequest, GetExternalDatabaseConnectionResponse, IdentificationData, ListExternalDatabaseConnectionsRequest, ListExternalDatabaseConnectionsResponse, MessageEnvelope, Paging, PagingMetadata, ProtocolVersion, RestoreInfo, UpdateExternalDatabaseConnectionRequest, UpdateExternalDatabaseConnectionResponse, WebhookIdentityType } from './types.impl.js';
|
|
2
|
+
export declare function aConnectionType(enumFirstItem?: ConnectionType): ConnectionType;
|
|
3
|
+
export declare function aCreateExternalDatabaseConnectionRequest(overrideObject?: Partial<CreateExternalDatabaseConnectionRequest>): CreateExternalDatabaseConnectionRequest;
|
|
4
|
+
export declare function aCreateExternalDatabaseConnectionResponse(overrideObject?: Partial<CreateExternalDatabaseConnectionResponse>): CreateExternalDatabaseConnectionResponse;
|
|
5
|
+
export declare function aDeleteExternalDatabaseConnectionRequest(overrideObject?: Partial<DeleteExternalDatabaseConnectionRequest>): DeleteExternalDatabaseConnectionRequest;
|
|
6
|
+
export declare function aDeleteExternalDatabaseConnectionResponse(overrideObject?: Partial<DeleteExternalDatabaseConnectionResponse>): DeleteExternalDatabaseConnectionResponse;
|
|
7
|
+
export declare function aExternalDatabaseConnection(overrideObject?: Partial<ExternalDatabaseConnection>): ExternalDatabaseConnection;
|
|
8
|
+
export declare function aCapabilities(overrideObject?: Partial<Capabilities>): Capabilities;
|
|
9
|
+
export declare function aConnectionStatus(overrideObject?: Partial<ConnectionStatus>): ConnectionStatus;
|
|
10
|
+
export declare function aCauseOfFailure(enumFirstItem?: CauseOfFailure): CauseOfFailure;
|
|
11
|
+
export declare function aCollectionsFound(enumFirstItem?: CollectionsFound): CollectionsFound;
|
|
12
|
+
export declare function aProtocolVersion(enumFirstItem?: ProtocolVersion): ProtocolVersion;
|
|
13
|
+
export declare function aGetExternalDatabaseConnectionRequest(overrideObject?: Partial<GetExternalDatabaseConnectionRequest>): GetExternalDatabaseConnectionRequest;
|
|
14
|
+
export declare function aGetExternalDatabaseConnectionResponse(overrideObject?: Partial<GetExternalDatabaseConnectionResponse>): GetExternalDatabaseConnectionResponse;
|
|
15
|
+
export declare function aListExternalDatabaseConnectionsRequest(overrideObject?: Partial<ListExternalDatabaseConnectionsRequest>): ListExternalDatabaseConnectionsRequest;
|
|
16
|
+
export declare function aListExternalDatabaseConnectionsResponse(overrideObject?: Partial<ListExternalDatabaseConnectionsResponse>): ListExternalDatabaseConnectionsResponse;
|
|
17
|
+
export declare function aUpdateExternalDatabaseConnectionRequest(overrideObject?: Partial<UpdateExternalDatabaseConnectionRequest>): UpdateExternalDatabaseConnectionRequest;
|
|
18
|
+
export declare function aUpdateExternalDatabaseConnectionResponse(overrideObject?: Partial<UpdateExternalDatabaseConnectionResponse>): UpdateExternalDatabaseConnectionResponse;
|
|
19
|
+
export declare function aFieldType(enumFirstItem?: FieldType): FieldType;
|
|
20
|
+
export declare function aAccountInfo(overrideObject?: Partial<AccountInfo>): AccountInfo;
|
|
21
|
+
export declare function aIdentificationData(overrideObject?: Partial<IdentificationData>): IdentificationData;
|
|
22
|
+
export declare function aWebhookIdentityType(enumFirstItem?: WebhookIdentityType): WebhookIdentityType;
|
|
23
|
+
export declare function aMessageEnvelope(overrideObject?: Partial<MessageEnvelope>): MessageEnvelope;
|
|
24
|
+
export declare function aPaging(overrideObject?: Partial<Paging>): Paging;
|
|
25
|
+
export declare function aPagingMetadata(overrideObject?: Partial<PagingMetadata>): PagingMetadata;
|
|
26
|
+
export declare function aActionEvent(overrideObject?: Partial<ActionEvent>): ActionEvent;
|
|
27
|
+
export declare function aDomainEvent(overrideObject?: Partial<DomainEvent>): DomainEvent;
|
|
28
|
+
export declare function aEntityCreatedEvent(overrideObject?: Partial<EntityCreatedEvent>): EntityCreatedEvent;
|
|
29
|
+
export declare function aEntityDeletedEvent(overrideObject?: Partial<EntityDeletedEvent>): EntityDeletedEvent;
|
|
30
|
+
export declare function aEntityUpdatedEvent(overrideObject?: Partial<EntityUpdatedEvent>): EntityUpdatedEvent;
|
|
31
|
+
export declare function aRestoreInfo(overrideObject?: Partial<RestoreInfo>): RestoreInfo;
|
|
32
|
+
export * from '@wix/metro-common-builders';
|
|
@@ -0,0 +1,314 @@
|
|
|
1
|
+
import { mergeDeep, someNumber, someString, someAny, someDate, } from '@wix/metro-common-builders';
|
|
2
|
+
import { CauseOfFailure, CollectionsFound, ConnectionType, FieldType, ProtocolVersion, WebhookIdentityType, } from './types.impl.js';
|
|
3
|
+
// @ts-ignore
|
|
4
|
+
import stack from 'callsite';
|
|
5
|
+
export function aConnectionType(enumFirstItem) {
|
|
6
|
+
if (enumFirstItem === void 0) { enumFirstItem = ConnectionType.UNKNOWN_CONNECTION_TYPE; }
|
|
7
|
+
return enumFirstItem;
|
|
8
|
+
}
|
|
9
|
+
export function aCreateExternalDatabaseConnectionRequest(overrideObject) {
|
|
10
|
+
if (overrideObject === void 0) { overrideObject = {}; }
|
|
11
|
+
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
12
|
+
return {};
|
|
13
|
+
}
|
|
14
|
+
return mergeDeep({
|
|
15
|
+
externalDatabaseConnection: aExternalDatabaseConnection(),
|
|
16
|
+
connectionType: aConnectionType(),
|
|
17
|
+
databaseManagedByWix: true,
|
|
18
|
+
}, overrideObject);
|
|
19
|
+
}
|
|
20
|
+
export function aCreateExternalDatabaseConnectionResponse(overrideObject) {
|
|
21
|
+
if (overrideObject === void 0) { overrideObject = {}; }
|
|
22
|
+
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
23
|
+
return {};
|
|
24
|
+
}
|
|
25
|
+
return mergeDeep({
|
|
26
|
+
externalDatabaseConnection: aExternalDatabaseConnection(),
|
|
27
|
+
}, overrideObject);
|
|
28
|
+
}
|
|
29
|
+
export function aDeleteExternalDatabaseConnectionRequest(overrideObject) {
|
|
30
|
+
if (overrideObject === void 0) { overrideObject = {}; }
|
|
31
|
+
return mergeDeep({
|
|
32
|
+
name: someString({
|
|
33
|
+
validations: [{ type: 'MAX_LENGTH', value: '255' }],
|
|
34
|
+
}),
|
|
35
|
+
}, overrideObject);
|
|
36
|
+
}
|
|
37
|
+
export function aDeleteExternalDatabaseConnectionResponse(overrideObject) {
|
|
38
|
+
if (overrideObject === void 0) { overrideObject = {}; }
|
|
39
|
+
return mergeDeep({}, overrideObject);
|
|
40
|
+
}
|
|
41
|
+
export function aExternalDatabaseConnection(overrideObject) {
|
|
42
|
+
if (overrideObject === void 0) { overrideObject = {}; }
|
|
43
|
+
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
44
|
+
return {};
|
|
45
|
+
}
|
|
46
|
+
return mergeDeep({
|
|
47
|
+
name: someString({
|
|
48
|
+
validations: [
|
|
49
|
+
{ type: 'IMMUTABLE', value: 'true' },
|
|
50
|
+
{ type: 'MIN_LENGTH', value: '1' },
|
|
51
|
+
{ type: 'MAX_LENGTH', value: '255' },
|
|
52
|
+
],
|
|
53
|
+
}),
|
|
54
|
+
endpoint: someString({
|
|
55
|
+
validations: [{ type: 'FORMAT', value: 'WEB_URL' }],
|
|
56
|
+
}),
|
|
57
|
+
configuration: {},
|
|
58
|
+
connectionStatus: aConnectionStatus(),
|
|
59
|
+
protocolVersion: aProtocolVersion(),
|
|
60
|
+
publicKey: someString({
|
|
61
|
+
validations: [
|
|
62
|
+
{ type: 'READ_ONLY', value: 'true' },
|
|
63
|
+
{ type: 'MAX_LENGTH', value: '128' },
|
|
64
|
+
],
|
|
65
|
+
}),
|
|
66
|
+
capabilities: aCapabilities(),
|
|
67
|
+
applicationId: someString({
|
|
68
|
+
validations: [
|
|
69
|
+
{ type: 'READ_ONLY', value: 'true' },
|
|
70
|
+
{ type: 'MAX_LENGTH', value: '128' },
|
|
71
|
+
],
|
|
72
|
+
}),
|
|
73
|
+
}, overrideObject);
|
|
74
|
+
}
|
|
75
|
+
export function aCapabilities(overrideObject) {
|
|
76
|
+
if (overrideObject === void 0) { overrideObject = {}; }
|
|
77
|
+
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
78
|
+
return {};
|
|
79
|
+
}
|
|
80
|
+
return mergeDeep({
|
|
81
|
+
collectionModificationsSupported: true,
|
|
82
|
+
fieldTypes: [
|
|
83
|
+
aFieldType(),
|
|
84
|
+
aFieldType(),
|
|
85
|
+
aFieldType(),
|
|
86
|
+
aFieldType(),
|
|
87
|
+
aFieldType(),
|
|
88
|
+
aFieldType(),
|
|
89
|
+
aFieldType(),
|
|
90
|
+
aFieldType(),
|
|
91
|
+
aFieldType(),
|
|
92
|
+
aFieldType(),
|
|
93
|
+
],
|
|
94
|
+
}, overrideObject);
|
|
95
|
+
}
|
|
96
|
+
export function aConnectionStatus(overrideObject) {
|
|
97
|
+
if (overrideObject === void 0) { overrideObject = {}; }
|
|
98
|
+
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
99
|
+
return {};
|
|
100
|
+
}
|
|
101
|
+
return mergeDeep({
|
|
102
|
+
successful: true,
|
|
103
|
+
causeOfFailure: aCauseOfFailure(),
|
|
104
|
+
hasCollections: aCollectionsFound(),
|
|
105
|
+
}, overrideObject);
|
|
106
|
+
}
|
|
107
|
+
export function aCauseOfFailure(enumFirstItem) {
|
|
108
|
+
if (enumFirstItem === void 0) { enumFirstItem = CauseOfFailure.NONE; }
|
|
109
|
+
return enumFirstItem;
|
|
110
|
+
}
|
|
111
|
+
export function aCollectionsFound(enumFirstItem) {
|
|
112
|
+
if (enumFirstItem === void 0) { enumFirstItem = CollectionsFound.UNKNOWN; }
|
|
113
|
+
return enumFirstItem;
|
|
114
|
+
}
|
|
115
|
+
export function aProtocolVersion(enumFirstItem) {
|
|
116
|
+
if (enumFirstItem === void 0) { enumFirstItem = ProtocolVersion.UNKNOWN_PROTOCOL_VERSION; }
|
|
117
|
+
return enumFirstItem;
|
|
118
|
+
}
|
|
119
|
+
export function aGetExternalDatabaseConnectionRequest(overrideObject) {
|
|
120
|
+
if (overrideObject === void 0) { overrideObject = {}; }
|
|
121
|
+
return mergeDeep({
|
|
122
|
+
name: someString({
|
|
123
|
+
validations: [{ type: 'MAX_LENGTH', value: '255' }],
|
|
124
|
+
}),
|
|
125
|
+
}, overrideObject);
|
|
126
|
+
}
|
|
127
|
+
export function aGetExternalDatabaseConnectionResponse(overrideObject) {
|
|
128
|
+
if (overrideObject === void 0) { overrideObject = {}; }
|
|
129
|
+
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
130
|
+
return {};
|
|
131
|
+
}
|
|
132
|
+
return mergeDeep({
|
|
133
|
+
externalDatabaseConnection: aExternalDatabaseConnection(),
|
|
134
|
+
}, overrideObject);
|
|
135
|
+
}
|
|
136
|
+
export function aListExternalDatabaseConnectionsRequest(overrideObject) {
|
|
137
|
+
if (overrideObject === void 0) { overrideObject = {}; }
|
|
138
|
+
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
139
|
+
return {};
|
|
140
|
+
}
|
|
141
|
+
return mergeDeep({
|
|
142
|
+
paging: aPaging(),
|
|
143
|
+
}, overrideObject);
|
|
144
|
+
}
|
|
145
|
+
export function aListExternalDatabaseConnectionsResponse(overrideObject) {
|
|
146
|
+
if (overrideObject === void 0) { overrideObject = {}; }
|
|
147
|
+
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
148
|
+
return {};
|
|
149
|
+
}
|
|
150
|
+
return mergeDeep({
|
|
151
|
+
externalDatabaseConnections: [aExternalDatabaseConnection()],
|
|
152
|
+
pagingMetadata: aPagingMetadata(),
|
|
153
|
+
}, overrideObject);
|
|
154
|
+
}
|
|
155
|
+
export function aUpdateExternalDatabaseConnectionRequest(overrideObject) {
|
|
156
|
+
if (overrideObject === void 0) { overrideObject = {}; }
|
|
157
|
+
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
158
|
+
return {};
|
|
159
|
+
}
|
|
160
|
+
return mergeDeep({
|
|
161
|
+
externalDatabaseConnection: aExternalDatabaseConnection(),
|
|
162
|
+
}, overrideObject);
|
|
163
|
+
}
|
|
164
|
+
export function aUpdateExternalDatabaseConnectionResponse(overrideObject) {
|
|
165
|
+
if (overrideObject === void 0) { overrideObject = {}; }
|
|
166
|
+
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
167
|
+
return {};
|
|
168
|
+
}
|
|
169
|
+
return mergeDeep({
|
|
170
|
+
externalDatabaseConnection: aExternalDatabaseConnection(),
|
|
171
|
+
}, overrideObject);
|
|
172
|
+
}
|
|
173
|
+
export function aFieldType(enumFirstItem) {
|
|
174
|
+
if (enumFirstItem === void 0) { enumFirstItem = FieldType.UNKNOWN_FIELD_TYPE; }
|
|
175
|
+
return enumFirstItem;
|
|
176
|
+
}
|
|
177
|
+
export function aAccountInfo(overrideObject) {
|
|
178
|
+
if (overrideObject === void 0) { overrideObject = {}; }
|
|
179
|
+
return mergeDeep({
|
|
180
|
+
accountId: someString({
|
|
181
|
+
validations: [{ type: 'FORMAT', value: 'GUID' }],
|
|
182
|
+
}),
|
|
183
|
+
parentAccountId: someString({
|
|
184
|
+
validations: [{ type: 'FORMAT', value: 'GUID' }],
|
|
185
|
+
}),
|
|
186
|
+
siteId: someString({
|
|
187
|
+
validations: [{ type: 'FORMAT', value: 'GUID' }],
|
|
188
|
+
}),
|
|
189
|
+
}, overrideObject);
|
|
190
|
+
}
|
|
191
|
+
export function aIdentificationData(overrideObject) {
|
|
192
|
+
if (overrideObject === void 0) { overrideObject = {}; }
|
|
193
|
+
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
194
|
+
return {};
|
|
195
|
+
}
|
|
196
|
+
return mergeDeep({
|
|
197
|
+
anonymousVisitorId: someString({
|
|
198
|
+
validations: [{ type: 'FORMAT', value: 'GUID' }],
|
|
199
|
+
}),
|
|
200
|
+
identityType: aWebhookIdentityType(),
|
|
201
|
+
}, overrideObject);
|
|
202
|
+
}
|
|
203
|
+
export function aWebhookIdentityType(enumFirstItem) {
|
|
204
|
+
if (enumFirstItem === void 0) { enumFirstItem = WebhookIdentityType.UNKNOWN; }
|
|
205
|
+
return enumFirstItem;
|
|
206
|
+
}
|
|
207
|
+
export function aMessageEnvelope(overrideObject) {
|
|
208
|
+
if (overrideObject === void 0) { overrideObject = {}; }
|
|
209
|
+
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
210
|
+
return {};
|
|
211
|
+
}
|
|
212
|
+
return mergeDeep({
|
|
213
|
+
instanceId: someString({
|
|
214
|
+
validations: [{ type: 'FORMAT', value: 'GUID' }],
|
|
215
|
+
}),
|
|
216
|
+
eventType: someString({
|
|
217
|
+
validations: [{ type: 'MAX_LENGTH', value: '150' }],
|
|
218
|
+
}),
|
|
219
|
+
identity: aIdentificationData(),
|
|
220
|
+
data: someString(),
|
|
221
|
+
accountInfo: aAccountInfo(),
|
|
222
|
+
}, overrideObject);
|
|
223
|
+
}
|
|
224
|
+
export function aPaging(overrideObject) {
|
|
225
|
+
if (overrideObject === void 0) { overrideObject = {}; }
|
|
226
|
+
return mergeDeep({
|
|
227
|
+
limit: someNumber({
|
|
228
|
+
validations: [{ type: 'MIN' }],
|
|
229
|
+
}),
|
|
230
|
+
offset: someNumber({
|
|
231
|
+
validations: [{ type: 'MIN' }],
|
|
232
|
+
}),
|
|
233
|
+
}, overrideObject);
|
|
234
|
+
}
|
|
235
|
+
export function aPagingMetadata(overrideObject) {
|
|
236
|
+
if (overrideObject === void 0) { overrideObject = {}; }
|
|
237
|
+
return mergeDeep({
|
|
238
|
+
count: someNumber(),
|
|
239
|
+
offset: someNumber(),
|
|
240
|
+
total: someNumber(),
|
|
241
|
+
tooManyToCount: true,
|
|
242
|
+
hasNext: true,
|
|
243
|
+
}, overrideObject);
|
|
244
|
+
}
|
|
245
|
+
export function aActionEvent(overrideObject) {
|
|
246
|
+
if (overrideObject === void 0) { overrideObject = {}; }
|
|
247
|
+
return mergeDeep({
|
|
248
|
+
bodyAsJson: someString(),
|
|
249
|
+
}, overrideObject);
|
|
250
|
+
}
|
|
251
|
+
export function aDomainEvent(overrideObject) {
|
|
252
|
+
if (overrideObject === void 0) { overrideObject = {}; }
|
|
253
|
+
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
254
|
+
return {};
|
|
255
|
+
}
|
|
256
|
+
return mergeDeep({
|
|
257
|
+
createdEvent: aEntityCreatedEvent(),
|
|
258
|
+
id: someString(),
|
|
259
|
+
entityFqdn: someString(),
|
|
260
|
+
slug: someString(),
|
|
261
|
+
entityId: someString(),
|
|
262
|
+
eventTime: someDate(),
|
|
263
|
+
triggeredByAnonymizeRequest: true,
|
|
264
|
+
originatedFrom: someString(),
|
|
265
|
+
entityEventSequence: someString({
|
|
266
|
+
validations: [{ type: 'DECIMAL_VALUE' }],
|
|
267
|
+
}),
|
|
268
|
+
}, overrideObject);
|
|
269
|
+
}
|
|
270
|
+
export function aEntityCreatedEvent(overrideObject) {
|
|
271
|
+
if (overrideObject === void 0) { overrideObject = {}; }
|
|
272
|
+
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
273
|
+
return {};
|
|
274
|
+
}
|
|
275
|
+
return mergeDeep({
|
|
276
|
+
entityAsJson: someString(),
|
|
277
|
+
triggeredByUndelete: true,
|
|
278
|
+
restoreInfo: aRestoreInfo(),
|
|
279
|
+
additionalMetadataAsJson: someString(),
|
|
280
|
+
}, overrideObject);
|
|
281
|
+
}
|
|
282
|
+
export function aEntityDeletedEvent(overrideObject) {
|
|
283
|
+
if (overrideObject === void 0) { overrideObject = {}; }
|
|
284
|
+
return mergeDeep({
|
|
285
|
+
movedToTrash: true,
|
|
286
|
+
deletedEntityAsJson: someString(),
|
|
287
|
+
additionalMetadataAsJson: someString(),
|
|
288
|
+
}, overrideObject);
|
|
289
|
+
}
|
|
290
|
+
export function aEntityUpdatedEvent(overrideObject) {
|
|
291
|
+
if (overrideObject === void 0) { overrideObject = {}; }
|
|
292
|
+
return mergeDeep({
|
|
293
|
+
currentEntityAsJson: someString(),
|
|
294
|
+
previousEntityAsJson: someString(),
|
|
295
|
+
modifiedFields: { modifiedFields: someAny() },
|
|
296
|
+
additionalMetadataAsJson: someString(),
|
|
297
|
+
}, overrideObject);
|
|
298
|
+
}
|
|
299
|
+
export function aRestoreInfo(overrideObject) {
|
|
300
|
+
if (overrideObject === void 0) { overrideObject = {}; }
|
|
301
|
+
return mergeDeep({
|
|
302
|
+
deletedDate: someDate(),
|
|
303
|
+
}, overrideObject);
|
|
304
|
+
}
|
|
305
|
+
function isCurrentBuilderWasPreviouslyCalled() {
|
|
306
|
+
var callChainFunctionNames = stack().map(function (item) {
|
|
307
|
+
return item.getFunctionName();
|
|
308
|
+
});
|
|
309
|
+
var callChainWithoutCurrentBuilder = callChainFunctionNames.splice(2);
|
|
310
|
+
var currentBuilderName = callChainFunctionNames[1];
|
|
311
|
+
return callChainWithoutCurrentBuilder.some(function (functionName) { return functionName === currentBuilderName; });
|
|
312
|
+
}
|
|
313
|
+
export * from '@wix/metro-common-builders';
|
|
314
|
+
//# sourceMappingURL=builders.impl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"builders.impl.js","sourceRoot":"","sources":["../../builders.impl.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,UAAU,EACV,UAAU,EACV,OAAO,EACP,QAAQ,GAET,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAIL,cAAc,EACd,gBAAgB,EAEhB,cAAc,EAUd,SAAS,EAST,eAAe,EAIf,mBAAmB,GACpB,MAAM,iBAAiB,CAAC;AACzB,aAAa;AACb,OAAO,KAAK,MAAM,UAAU,CAAC;AAI7B,MAAM,UAAU,eAAe,CAC7B,aAAsE;IAAtE,8BAAA,EAAA,gBAAgC,cAAc,CAAC,uBAAuB;IAEtE,OAAO,aAAa,CAAC;AACvB,CAAC;AAED,MAAM,UAAU,wCAAwC,CACtD,cAAqE;IAArE,+BAAA,EAAA,mBAAqE;IAErE,IAAI,mCAAmC,EAAE,EAAE,CAAC;QAC1C,OAAO,EAAS,CAAC;IACnB,CAAC;IACD,OAAO,SAAS,CACd;QACE,0BAA0B,EAAE,2BAA2B,EAAE;QACzD,cAAc,EAAE,eAAe,EAAE;QACjC,oBAAoB,EAAE,IAAI;KAC3B,EACD,cAAc,CACf,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,yCAAyC,CACvD,cAAsE;IAAtE,+BAAA,EAAA,mBAAsE;IAEtE,IAAI,mCAAmC,EAAE,EAAE,CAAC;QAC1C,OAAO,EAAS,CAAC;IACnB,CAAC;IACD,OAAO,SAAS,CACd;QACE,0BAA0B,EAAE,2BAA2B,EAAE;KAC1D,EACD,cAAc,CACf,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,wCAAwC,CACtD,cAAqE;IAArE,+BAAA,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SAAS,CACd;QACE,YAAY,EAAE,IAAI;QAClB,mBAAmB,EAAE,UAAU,EAAE;QACjC,wBAAwB,EAAE,UAAU,EAAE;KACvC,EACD,cAAc,CACf,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,mBAAmB,CACjC,cAAgD;IAAhD,+BAAA,EAAA,mBAAgD;IAEhD,OAAO,SAAS,CACd;QACE,mBAAmB,EAAE,UAAU,EAAE;QACjC,oBAAoB,EAAE,UAAU,EAAE;QAClC,cAAc,EAAE,EAAE,cAAc,EAAE,OAAO,EAAE,EAAE;QAC7C,wBAAwB,EAAE,UAAU,EAAE;KACvC,EACD,cAAc,CACf,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,YAAY,CAC1B,cAAyC;IAAzC,+BAAA,EAAA,mBAAyC;IAEzC,OAAO,SAAS,CACd;QACE,WAAW,EAAE,QAAQ,EAAE;KACxB,EACD,cAAc,CACf,CAAC;AACJ,CAAC;AAED,SAAS,mCAAmC;IAC1C,IAAM,sBAAsB,GAAG,KAAK,EAAE,CAAC,GAAG,CAAC,UAAC,IAAc;QACxD,OAAA,IAAI,CAAC,eAAe,EAAE;IAAtB,CAAsB,CACvB,CAAC;IACF,IAAM,8BAA8B,GAAG,sBAAsB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAC/D,IAAA,kBAAkB,GAAI,sBAAsB,GAA1B,CAA2B;IAEtD,OAAO,8BAA8B,CAAC,IAAI,CACxC,UAAC,YAAoB,IAAK,OAAA,YAAY,KAAK,kBAAkB,EAAnC,CAAmC,CAC9D,CAAC;AACJ,CAAC;AAED,cAAc,4BAA4B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const fqdn = "wix.data.v1.external_database_connection";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"http.impl.js","sourceRoot":"","sources":["../../../crud/http.impl.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,IAAI,GAAG,0CAA0C,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { GetEntityRequest } from '@wix/auto-crud';
|
|
2
|
+
import { CreateEntityRequest } from '@wix/auto-crud';
|
|
3
|
+
import { createExternalDatabaseConnection } from '../rpc.impl.js';
|
|
4
|
+
import { UpdateEntityRequest } from '@wix/auto-crud';
|
|
5
|
+
import { updateExternalDatabaseConnection } from '../rpc.impl.js';
|
|
6
|
+
import { DeleteEntityRequest } from '@wix/auto-crud';
|
|
7
|
+
export declare function getEntity(payload: GetEntityRequest): import("@wix/auto-crud").RequestOptionsRpc<import("@wix/auto-crud").GetEntityResponse<import("../types.impl.js").ExternalDatabaseConnection>, any, any>;
|
|
8
|
+
export declare function createEntity(payload: CreateEntityRequest<Parameters<typeof createExternalDatabaseConnection>[0]['externalDatabaseConnection']>): import("@wix/auto-crud").RequestOptionsRpc<import("@wix/auto-crud").CreateEntityResponse<import("../types.impl.js").ExternalDatabaseConnection>, any, any>;
|
|
9
|
+
export declare function updateEntity(payload: UpdateEntityRequest<Parameters<typeof updateExternalDatabaseConnection>[0]['externalDatabaseConnection']>): import("@wix/auto-crud").RequestOptionsRpc<import("@wix/auto-crud").UpdateEntityResponse<import("../types.impl.js").ExternalDatabaseConnection>, any, any>;
|
|
10
|
+
export declare function deleteEntity(payload: DeleteEntityRequest): import("@wix/auto-crud").RequestOptionsRpc<import("@wix/auto-crud").DeleteEntityResponse, any, any>;
|
|
11
|
+
export declare const fqdn = "wix.data.v1.external_database_connection";
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { rpc } from '@wix/auto-crud';
|
|
2
|
+
import { getExternalDatabaseConnection } from '../rpc.impl.js';
|
|
3
|
+
import { createExternalDatabaseConnection } from '../rpc.impl.js';
|
|
4
|
+
import { updateExternalDatabaseConnection } from '../rpc.impl.js';
|
|
5
|
+
import { deleteExternalDatabaseConnection } from '../rpc.impl.js';
|
|
6
|
+
export function getEntity(payload) {
|
|
7
|
+
var opts = rpc.toGetEntity(getExternalDatabaseConnection, payload, {
|
|
8
|
+
request: { id: 'name' },
|
|
9
|
+
response: { entity: 'externalDatabaseConnection' },
|
|
10
|
+
});
|
|
11
|
+
return opts;
|
|
12
|
+
}
|
|
13
|
+
export function createEntity(payload) {
|
|
14
|
+
var opts = rpc.toCreateEntity(createExternalDatabaseConnection, payload, {
|
|
15
|
+
request: { entity: 'externalDatabaseConnection' },
|
|
16
|
+
response: { entity: 'externalDatabaseConnection' },
|
|
17
|
+
});
|
|
18
|
+
return opts;
|
|
19
|
+
}
|
|
20
|
+
export function updateEntity(payload) {
|
|
21
|
+
var opts = rpc.toUpdateEntity(updateExternalDatabaseConnection, payload, {
|
|
22
|
+
request: { entity: 'externalDatabaseConnection' },
|
|
23
|
+
response: { entity: 'externalDatabaseConnection' },
|
|
24
|
+
});
|
|
25
|
+
return opts;
|
|
26
|
+
}
|
|
27
|
+
export function deleteEntity(payload) {
|
|
28
|
+
var opts = rpc.toDeleteEntity(deleteExternalDatabaseConnection, payload, {
|
|
29
|
+
request: { entityId: 'name' },
|
|
30
|
+
});
|
|
31
|
+
return opts;
|
|
32
|
+
}
|
|
33
|
+
export var fqdn = 'wix.data.v1.external_database_connection';
|
|
34
|
+
//# sourceMappingURL=rpc.impl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rpc.impl.js","sourceRoot":"","sources":["../../../crud/rpc.impl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AAErC,OAAO,EAAE,6BAA6B,EAAE,MAAM,gBAAgB,CAAC;AAE/D,OAAO,EAAE,gCAAgC,EAAE,MAAM,gBAAgB,CAAC;AAElE,OAAO,EAAE,gCAAgC,EAAE,MAAM,gBAAgB,CAAC;AAElE,OAAO,EAAE,gCAAgC,EAAE,MAAM,gBAAgB,CAAC;AAElE,MAAM,UAAU,SAAS,CAAC,OAAyB;IACjD,IAAM,IAAI,GAAG,GAAG,CAAC,WAAW,CAAC,6BAA6B,EAAE,OAAO,EAAE;QACnE,OAAO,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE;QACvB,QAAQ,EAAE,EAAE,MAAM,EAAE,4BAA4B,EAAE;KACnD,CAAC,CAAC;IAEH,OAAO,IAAI,CAAC;AACd,CAAC;AAED,MAAM,UAAU,YAAY,CAC1B,OAIC;IAED,IAAM,IAAI,GAAG,GAAG,CAAC,cAAc,CAAC,gCAAgC,EAAE,OAAO,EAAE;QACzE,OAAO,EAAE,EAAE,MAAM,EAAE,4BAA4B,EAAE;QACjD,QAAQ,EAAE,EAAE,MAAM,EAAE,4BAA4B,EAAE;KACnD,CAAC,CAAC;IAEH,OAAO,IAAI,CAAC;AACd,CAAC;AAED,MAAM,UAAU,YAAY,CAC1B,OAIC;IAED,IAAM,IAAI,GAAG,GAAG,CAAC,cAAc,CAAC,gCAAgC,EAAE,OAAO,EAAE;QACzE,OAAO,EAAE,EAAE,MAAM,EAAE,4BAA4B,EAAE;QACjD,QAAQ,EAAE,EAAE,MAAM,EAAE,4BAA4B,EAAE;KACnD,CAAC,CAAC;IAEH,OAAO,IAAI,CAAC;AACd,CAAC;AAED,MAAM,UAAU,YAAY,CAAC,OAA4B;IACvD,IAAM,IAAI,GAAG,GAAG,CAAC,cAAc,CAAC,gCAAgC,EAAE,OAAO,EAAE;QACzE,OAAO,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE;KAC9B,CAAC,CAAC;IAEH,OAAO,IAAI,CAAC;AACd,CAAC;AAED,MAAM,CAAC,IAAM,IAAI,GAAG,0CAA0C,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { CreateExternalDatabaseConnectionRequest, CreateExternalDatabaseConnectionResponse, DeleteExternalDatabaseConnectionRequest, DeleteExternalDatabaseConnectionResponse, GetExternalDatabaseConnectionRequest, GetExternalDatabaseConnectionResponse, ListExternalDatabaseConnectionsRequest, ListExternalDatabaseConnectionsResponse, UpdateExternalDatabaseConnectionRequest, UpdateExternalDatabaseConnectionResponse } from './types.impl.js';
|
|
2
|
+
import type { RequestOptionsFactory } from '@wix/http-client';
|
|
3
|
+
/** Retrieves the specified external database connection. */
|
|
4
|
+
export declare function getExternalDatabaseConnection(payload: GetExternalDatabaseConnectionRequest): RequestOptionsFactory<GetExternalDatabaseConnectionResponse>;
|
|
5
|
+
/** Lists all of the site's external database connections of all adaptor types. */
|
|
6
|
+
export declare function listExternalDatabaseConnections(payload: ListExternalDatabaseConnectionsRequest): RequestOptionsFactory<ListExternalDatabaseConnectionsResponse>;
|
|
7
|
+
/**
|
|
8
|
+
* Creates a new external database connection.
|
|
9
|
+
*
|
|
10
|
+
* Before you can establish a connection between a site and an external database, you must prepare an external database adaptor.
|
|
11
|
+
*/
|
|
12
|
+
export declare function createExternalDatabaseConnection(payload: CreateExternalDatabaseConnectionRequest): RequestOptionsFactory<CreateExternalDatabaseConnectionResponse>;
|
|
13
|
+
/**
|
|
14
|
+
* Updates an external database connection.
|
|
15
|
+
*
|
|
16
|
+
* > **Note:** After an external database connection is updated, it only contains the values provided in the request. All previous values are lost.
|
|
17
|
+
*/
|
|
18
|
+
export declare function updateExternalDatabaseConnection(payload: UpdateExternalDatabaseConnectionRequest): RequestOptionsFactory<UpdateExternalDatabaseConnectionResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Deletes an external database connection.
|
|
21
|
+
*
|
|
22
|
+
* > **Note:** Once an external database connection is deleted, it can't be restored. To reconnect the database, create a new external database connection.
|
|
23
|
+
*/
|
|
24
|
+
export declare function deleteExternalDatabaseConnection(payload: DeleteExternalDatabaseConnectionRequest): RequestOptionsFactory<DeleteExternalDatabaseConnectionResponse>;
|