@wix/bex-utils 2.109.0 → 2.111.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. package/@wix/ambassador-authorization-server/builders.d.ts +2542 -0
  2. package/@wix/ambassador-authorization-server/builders.js +10330 -0
  3. package/@wix/ambassador-authorization-server/builders.js.map +1 -0
  4. package/@wix/ambassador-authorization-server/export-erb.js +101 -0
  5. package/@wix/ambassador-authorization-server/http.d.ts +109 -0
  6. package/@wix/ambassador-authorization-server/http.js +394 -0
  7. package/@wix/ambassador-authorization-server/http.js.map +1 -0
  8. package/@wix/ambassador-authorization-server/index.js +1 -0
  9. package/@wix/ambassador-authorization-server/package.json +30 -0
  10. package/@wix/ambassador-authorization-server/rpc.d.ts +252 -0
  11. package/@wix/ambassador-authorization-server/rpc.js +820 -0
  12. package/@wix/ambassador-authorization-server/rpc.js.map +1 -0
  13. package/@wix/ambassador-authorization-server/src/builders.ts +10663 -0
  14. package/@wix/ambassador-authorization-server/src/http.ts +666 -0
  15. package/@wix/ambassador-authorization-server/src/rpc.ts +1111 -0
  16. package/@wix/ambassador-authorization-server/src/types.ts +1616 -0
  17. package/@wix/ambassador-authorization-server/types.d.ts +1294 -0
  18. package/@wix/ambassador-authorization-server/types.js +62 -0
  19. package/@wix/ambassador-authorization-server/types.js.map +1 -0
  20. package/@wix/ambassador-data-v1-external-database-connection/README.md +34 -0
  21. package/@wix/ambassador-data-v1-external-database-connection/builders/package.json +7 -0
  22. package/@wix/ambassador-data-v1-external-database-connection/cjs/build/builders.impl.d.ts +32 -0
  23. package/@wix/ambassador-data-v1-external-database-connection/cjs/build/builders.impl.js +363 -0
  24. package/@wix/ambassador-data-v1-external-database-connection/cjs/build/builders.impl.js.map +1 -0
  25. package/@wix/ambassador-data-v1-external-database-connection/cjs/build/crud/http.impl.d.ts +1 -0
  26. package/@wix/ambassador-data-v1-external-database-connection/cjs/build/crud/http.impl.js +5 -0
  27. package/@wix/ambassador-data-v1-external-database-connection/cjs/build/crud/http.impl.js.map +1 -0
  28. package/@wix/ambassador-data-v1-external-database-connection/cjs/build/crud/rpc.impl.d.ts +11 -0
  29. package/@wix/ambassador-data-v1-external-database-connection/cjs/build/crud/rpc.impl.js +41 -0
  30. package/@wix/ambassador-data-v1-external-database-connection/cjs/build/crud/rpc.impl.js.map +1 -0
  31. package/@wix/ambassador-data-v1-external-database-connection/cjs/build/http.impl.d.ts +24 -0
  32. package/@wix/ambassador-data-v1-external-database-connection/cjs/build/http.impl.js +530 -0
  33. package/@wix/ambassador-data-v1-external-database-connection/cjs/build/http.impl.js.map +1 -0
  34. package/@wix/ambassador-data-v1-external-database-connection/cjs/build/meta.impl.d.ts +22 -0
  35. package/@wix/ambassador-data-v1-external-database-connection/cjs/build/meta.impl.js +136 -0
  36. package/@wix/ambassador-data-v1-external-database-connection/cjs/build/meta.impl.js.map +1 -0
  37. package/@wix/ambassador-data-v1-external-database-connection/cjs/build/proto/client/proto-generated.d.ts +7218 -0
  38. package/@wix/ambassador-data-v1-external-database-connection/cjs/build/proto/client/proto-generated.js +2 -0
  39. package/@wix/ambassador-data-v1-external-database-connection/cjs/build/proto/proto-generated.d.ts +3606 -0
  40. package/@wix/ambassador-data-v1-external-database-connection/cjs/build/proto/proto-generated.js +1 -0
  41. package/@wix/ambassador-data-v1-external-database-connection/cjs/build/proto/server/proto-generated.d.ts +7207 -0
  42. package/@wix/ambassador-data-v1-external-database-connection/cjs/build/proto/server/proto-generated.js +2 -0
  43. package/@wix/ambassador-data-v1-external-database-connection/cjs/build/rpc.impl.d.ts +33 -0
  44. package/@wix/ambassador-data-v1-external-database-connection/cjs/build/rpc.impl.js +121 -0
  45. package/@wix/ambassador-data-v1-external-database-connection/cjs/build/rpc.impl.js.map +1 -0
  46. package/@wix/ambassador-data-v1-external-database-connection/cjs/build/types.impl.d.ts +424 -0
  47. package/@wix/ambassador-data-v1-external-database-connection/cjs/build/types.impl.js +97 -0
  48. package/@wix/ambassador-data-v1-external-database-connection/cjs/build/types.impl.js.map +1 -0
  49. package/@wix/ambassador-data-v1-external-database-connection/cjs/package.json +3 -0
  50. package/@wix/ambassador-data-v1-external-database-connection/crud/http/package.json +7 -0
  51. package/@wix/ambassador-data-v1-external-database-connection/crud/rpc/package.json +6 -0
  52. package/@wix/ambassador-data-v1-external-database-connection/es/build/builders.impl.d.ts +32 -0
  53. package/@wix/ambassador-data-v1-external-database-connection/es/build/builders.impl.js +314 -0
  54. package/@wix/ambassador-data-v1-external-database-connection/es/build/builders.impl.js.map +1 -0
  55. package/@wix/ambassador-data-v1-external-database-connection/es/build/crud/http.impl.d.ts +1 -0
  56. package/@wix/ambassador-data-v1-external-database-connection/es/build/crud/http.impl.js +2 -0
  57. package/@wix/ambassador-data-v1-external-database-connection/es/build/crud/http.impl.js.map +1 -0
  58. package/@wix/ambassador-data-v1-external-database-connection/es/build/crud/rpc.impl.d.ts +11 -0
  59. package/@wix/ambassador-data-v1-external-database-connection/es/build/crud/rpc.impl.js +34 -0
  60. package/@wix/ambassador-data-v1-external-database-connection/es/build/crud/rpc.impl.js.map +1 -0
  61. package/@wix/ambassador-data-v1-external-database-connection/es/build/http.impl.d.ts +24 -0
  62. package/@wix/ambassador-data-v1-external-database-connection/es/build/http.impl.js +523 -0
  63. package/@wix/ambassador-data-v1-external-database-connection/es/build/http.impl.js.map +1 -0
  64. package/@wix/ambassador-data-v1-external-database-connection/es/build/meta.impl.d.ts +22 -0
  65. package/@wix/ambassador-data-v1-external-database-connection/es/build/meta.impl.js +96 -0
  66. package/@wix/ambassador-data-v1-external-database-connection/es/build/meta.impl.js.map +1 -0
  67. package/@wix/ambassador-data-v1-external-database-connection/es/build/proto/client/proto-generated.d.ts +7218 -0
  68. package/@wix/ambassador-data-v1-external-database-connection/es/build/proto/client/proto-generated.js +5 -0
  69. package/@wix/ambassador-data-v1-external-database-connection/es/build/proto/proto-generated.d.ts +3606 -0
  70. package/@wix/ambassador-data-v1-external-database-connection/es/build/proto/proto-generated.js +1 -0
  71. package/@wix/ambassador-data-v1-external-database-connection/es/build/proto/server/proto-generated.d.ts +7207 -0
  72. package/@wix/ambassador-data-v1-external-database-connection/es/build/proto/server/proto-generated.js +5 -0
  73. package/@wix/ambassador-data-v1-external-database-connection/es/build/rpc.impl.d.ts +33 -0
  74. package/@wix/ambassador-data-v1-external-database-connection/es/build/rpc.impl.js +81 -0
  75. package/@wix/ambassador-data-v1-external-database-connection/es/build/rpc.impl.js.map +1 -0
  76. package/@wix/ambassador-data-v1-external-database-connection/es/build/types.impl.d.ts +424 -0
  77. package/@wix/ambassador-data-v1-external-database-connection/es/build/types.impl.js +94 -0
  78. package/@wix/ambassador-data-v1-external-database-connection/es/build/types.impl.js.map +1 -0
  79. package/@wix/ambassador-data-v1-external-database-connection/http/package.json +7 -0
  80. package/@wix/ambassador-data-v1-external-database-connection/meta/package.json +7 -0
  81. package/@wix/ambassador-data-v1-external-database-connection/package.json +108 -0
  82. package/@wix/ambassador-data-v1-external-database-connection/rpc/package.json +6 -0
  83. package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/com/wixpress/cloud/data/api/common.proto +63 -0
  84. package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/com/wixpress/cloud/data/api/externaldatabase/external-database-connection-service.proto +305 -0
  85. 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
  86. package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/com/wixpress/iptf/webhooks/debug.proto +34 -0
  87. package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/com/wixpress/iptf/webhooks/kv.proto +42 -0
  88. package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/com/wixpress/iptf/webhooks/message_envelope.proto +54 -0
  89. package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/webhooks_debug_service.proto +32 -0
  90. package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/webhooks_sync_service.proto +33 -0
  91. package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/api/action_payload.proto +33 -0
  92. package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/api/annotations.proto +559 -0
  93. package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/api/api_errors.proto +142 -0
  94. package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/api/callback.proto +173 -0
  95. package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/api/context.proto +19 -0
  96. package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/api/entity.proto +133 -0
  97. package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/api/errors.proto +127 -0
  98. package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/api/idempotency.proto +25 -0
  99. package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/api/permissions.proto +46 -0
  100. package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/api/sla.proto +24 -0
  101. package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/api/subscription.proto +32 -0
  102. package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/api/validations.proto +147 -0
  103. package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/common/address.proto +148 -0
  104. package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/common/bulk.proto +53 -0
  105. package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/common/domainevents/attributeupdated.proto +20 -0
  106. package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/common/domainevents/domainevents.proto +112 -0
  107. package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/common/identification.proto +40 -0
  108. package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/common/image.proto +8 -0
  109. package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/common/media.proto +280 -0
  110. package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/common/money.proto +32 -0
  111. package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/common/pageurl.proto +32 -0
  112. package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/common/paging.proto +121 -0
  113. package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/common/sorting.proto +36 -0
  114. package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/common/spi.proto +85 -0
  115. package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/common/tags.proto +55 -0
  116. package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/common/wixlink.proto +203 -0
  117. package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/graphql/definitions.proto +13 -0
  118. package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/http/field_mask.proto +46 -0
  119. package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/sdk/definitions.proto +191 -0
  120. package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/spi/definitions.proto +188 -0
  121. package/@wix/ambassador-data-v1-external-database-connection/src/main/proto/wix/spi/http_error_status.proto +24 -0
  122. package/@wix/ambassador-data-v1-external-database-connection/types/package.json +7 -0
  123. package/@wix/bex-bundled-mini-essentials/CHANGELOG.md +8 -0
  124. package/@wix/bex-bundled-mini-essentials/package.json +1 -1
  125. package/package.json +8 -5
@@ -0,0 +1,62 @@
1
+ /* eslint-disable */
2
+ "use strict";
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.SubjectType = exports.SubjectContextType = exports.SimpleConditionOperator = exports.ResourceType = exports.PolicyType = exports.JoinedConditionOperator = exports.Effect = exports.ConsistencyLevel = exports.ConditionAttributeType = void 0;
5
+ var ConditionAttributeType;
6
+ (function (ConditionAttributeType) {
7
+ ConditionAttributeType["UNKNOWN_CONDITION_TYPE"] = "UNKNOWN_CONDITION_TYPE";
8
+ ConditionAttributeType["FOLDER"] = "FOLDER";
9
+ })(ConditionAttributeType = exports.ConditionAttributeType || (exports.ConditionAttributeType = {}));
10
+ var ConsistencyLevel;
11
+ (function (ConsistencyLevel) {
12
+ ConsistencyLevel["WEAK"] = "WEAK";
13
+ ConsistencyLevel["STRONG"] = "STRONG";
14
+ })(ConsistencyLevel = exports.ConsistencyLevel || (exports.ConsistencyLevel = {}));
15
+ var Effect;
16
+ (function (Effect) {
17
+ Effect["UNKNOWN_EFFECT"] = "UNKNOWN_EFFECT";
18
+ Effect["ALLOW"] = "ALLOW";
19
+ Effect["DENY"] = "DENY";
20
+ })(Effect = exports.Effect || (exports.Effect = {}));
21
+ var JoinedConditionOperator;
22
+ (function (JoinedConditionOperator) {
23
+ JoinedConditionOperator["UNKNOWN_JOIN_OP"] = "UNKNOWN_JOIN_OP";
24
+ JoinedConditionOperator["OR"] = "OR";
25
+ JoinedConditionOperator["AND"] = "AND";
26
+ })(JoinedConditionOperator = exports.JoinedConditionOperator || (exports.JoinedConditionOperator = {}));
27
+ var PolicyType;
28
+ (function (PolicyType) {
29
+ PolicyType["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
30
+ PolicyType["PREDEFINED"] = "PREDEFINED";
31
+ PolicyType["CUSTOM"] = "CUSTOM";
32
+ PolicyType["INLINE_CUSTOM"] = "INLINE_CUSTOM";
33
+ })(PolicyType = exports.PolicyType || (exports.PolicyType = {}));
34
+ var ResourceType;
35
+ (function (ResourceType) {
36
+ ResourceType["UNKNOWN_RESOURCE_TYPE"] = "UNKNOWN_RESOURCE_TYPE";
37
+ ResourceType["SITE"] = "SITE";
38
+ })(ResourceType = exports.ResourceType || (exports.ResourceType = {}));
39
+ var SimpleConditionOperator;
40
+ (function (SimpleConditionOperator) {
41
+ SimpleConditionOperator["UNKNOWN_SIMPLE_OP"] = "UNKNOWN_SIMPLE_OP";
42
+ SimpleConditionOperator["EQUAL"] = "EQUAL";
43
+ })(SimpleConditionOperator = exports.SimpleConditionOperator || (exports.SimpleConditionOperator = {}));
44
+ var SubjectContextType;
45
+ (function (SubjectContextType) {
46
+ SubjectContextType["UNKNOWN_CTX"] = "UNKNOWN_CTX";
47
+ SubjectContextType["ORG_CTX"] = "ORG_CTX";
48
+ SubjectContextType["ACCOUNT_CTX"] = "ACCOUNT_CTX";
49
+ })(SubjectContextType = exports.SubjectContextType || (exports.SubjectContextType = {}));
50
+ var SubjectType;
51
+ (function (SubjectType) {
52
+ SubjectType["UNKNOWN"] = "UNKNOWN";
53
+ SubjectType["ACCOUNT"] = "ACCOUNT";
54
+ SubjectType["USER"] = "USER";
55
+ SubjectType["USER_GROUP"] = "USER_GROUP";
56
+ SubjectType["MEMBER_GROUP"] = "MEMBER_GROUP";
57
+ SubjectType["VISITOR_GROUP"] = "VISITOR_GROUP";
58
+ SubjectType["EXTERNAL_APP"] = "EXTERNAL_APP";
59
+ SubjectType["ACCOUNT_GROUP"] = "ACCOUNT_GROUP";
60
+ SubjectType["WIX_APP"] = "WIX_APP";
61
+ })(SubjectType = exports.SubjectType || (exports.SubjectType = {}));
62
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"./src/","sources":["types.ts"],"names":[],"mappings":";;;AAiWA,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IAChC,2EAAiD,CAAA;IACjD,2CAAiB,CAAA;AACnB,CAAC,EAHW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAGjC;AA2BD,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,iCAAa,CAAA;IACb,qCAAiB,CAAA;AACnB,CAAC,EAHW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAG3B;AAiID,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,yBAAe,CAAA;IACf,uBAAa,CAAA;AACf,CAAC,EAJW,MAAM,GAAN,cAAM,KAAN,cAAM,QAIjB;AA4dD,IAAY,uBAIX;AAJD,WAAY,uBAAuB;IACjC,8DAAmC,CAAA;IACnC,oCAAS,CAAA;IACT,sCAAW,CAAA;AACb,CAAC,EAJW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAIlC;AAiKD,IAAY,UAKX;AALD,WAAY,UAAU;IACpB,+CAAiC,CAAA;IACjC,uCAAyB,CAAA;IACzB,+BAAiB,CAAA;IACjB,6CAA+B,CAAA;AACjC,CAAC,EALW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAKrB;AAkJD,IAAY,YAGX;AAHD,WAAY,YAAY;IACtB,+DAA+C,CAAA;IAC/C,6BAAa,CAAA;AACf,CAAC,EAHW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAGvB;AAoED,IAAY,uBAGX;AAHD,WAAY,uBAAuB;IACjC,kEAAuC,CAAA;IACvC,0CAAe,CAAA;AACjB,CAAC,EAHW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAGlC;AA2FD,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC5B,iDAA2B,CAAA;IAC3B,yCAAmB,CAAA;IACnB,iDAA2B,CAAA;AAC7B,CAAC,EAJW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAI7B;AAiBD,IAAY,WAUX;AAVD,WAAY,WAAW;IACrB,kCAAmB,CAAA;IACnB,kCAAmB,CAAA;IACnB,4BAAa,CAAA;IACb,wCAAyB,CAAA;IACzB,4CAA6B,CAAA;IAC7B,8CAA+B,CAAA;IAC/B,4CAA6B,CAAA;IAC7B,8CAA+B,CAAA;IAC/B,kCAAmB,CAAA;AACrB,CAAC,EAVW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAUtB"}
@@ -0,0 +1,34 @@
1
+ ## 📦 `@wix/ambassador-data-v1-external-database-connection`
2
+
3
+ > **FQDN:** `wix.data.v1.external_database_connection`
4
+ > **Auto-generated** by metro-service — contains CLI input files for local package generation.
5
+
6
+ ---
7
+
8
+ ### 🔧 Local Regeneration
9
+
10
+ #### 1. Clone & checkout
11
+
12
+ ```bash
13
+ git clone --no-tags --depth 1 --single-branch --branch master --no-checkout --filter=blob:none git@github.com:wix-private/metro-packages.git
14
+ cd metro-packages
15
+ git sparse-checkout init --cone
16
+ git sparse-checkout set packages/ambassador/data-v1-external-database-connection .yarn/releases
17
+ git read-tree -mu HEAD
18
+ cd packages/ambassador/data-v1-external-database-connection
19
+ ```
20
+
21
+ #### 2. Generate
22
+
23
+ ```bash
24
+ yarn install
25
+ yarn generate
26
+ ```
27
+
28
+ Generated code will appear in `src/`.
29
+
30
+ ---
31
+
32
+ ### 🧪 Testing changes
33
+
34
+ Modify `entity.json` to test how the package behaves with different business schema inputs, then re-run `yarn generate`.
@@ -0,0 +1,7 @@
1
+ {
2
+ "private": true,
3
+ "main": "../cjs/build/builders.impl.js",
4
+ "types": "../cjs/build/builders.impl.d.ts",
5
+ "sideEffects": false,
6
+ "module": "../es/build/builders.impl.js"
7
+ }
@@ -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,363 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ var __importDefault = (this && this.__importDefault) || function (mod) {
17
+ return (mod && mod.__esModule) ? mod : { "default": mod };
18
+ };
19
+ Object.defineProperty(exports, "__esModule", { value: true });
20
+ exports.aConnectionType = aConnectionType;
21
+ exports.aCreateExternalDatabaseConnectionRequest = aCreateExternalDatabaseConnectionRequest;
22
+ exports.aCreateExternalDatabaseConnectionResponse = aCreateExternalDatabaseConnectionResponse;
23
+ exports.aDeleteExternalDatabaseConnectionRequest = aDeleteExternalDatabaseConnectionRequest;
24
+ exports.aDeleteExternalDatabaseConnectionResponse = aDeleteExternalDatabaseConnectionResponse;
25
+ exports.aExternalDatabaseConnection = aExternalDatabaseConnection;
26
+ exports.aCapabilities = aCapabilities;
27
+ exports.aConnectionStatus = aConnectionStatus;
28
+ exports.aCauseOfFailure = aCauseOfFailure;
29
+ exports.aCollectionsFound = aCollectionsFound;
30
+ exports.aProtocolVersion = aProtocolVersion;
31
+ exports.aGetExternalDatabaseConnectionRequest = aGetExternalDatabaseConnectionRequest;
32
+ exports.aGetExternalDatabaseConnectionResponse = aGetExternalDatabaseConnectionResponse;
33
+ exports.aListExternalDatabaseConnectionsRequest = aListExternalDatabaseConnectionsRequest;
34
+ exports.aListExternalDatabaseConnectionsResponse = aListExternalDatabaseConnectionsResponse;
35
+ exports.aUpdateExternalDatabaseConnectionRequest = aUpdateExternalDatabaseConnectionRequest;
36
+ exports.aUpdateExternalDatabaseConnectionResponse = aUpdateExternalDatabaseConnectionResponse;
37
+ exports.aFieldType = aFieldType;
38
+ exports.aAccountInfo = aAccountInfo;
39
+ exports.aIdentificationData = aIdentificationData;
40
+ exports.aWebhookIdentityType = aWebhookIdentityType;
41
+ exports.aMessageEnvelope = aMessageEnvelope;
42
+ exports.aPaging = aPaging;
43
+ exports.aPagingMetadata = aPagingMetadata;
44
+ exports.aActionEvent = aActionEvent;
45
+ exports.aDomainEvent = aDomainEvent;
46
+ exports.aEntityCreatedEvent = aEntityCreatedEvent;
47
+ exports.aEntityDeletedEvent = aEntityDeletedEvent;
48
+ exports.aEntityUpdatedEvent = aEntityUpdatedEvent;
49
+ exports.aRestoreInfo = aRestoreInfo;
50
+ var metro_common_builders_1 = require("@wix/metro-common-builders");
51
+ var types_impl_js_1 = require("./types.impl.js");
52
+ // @ts-ignore
53
+ var callsite_1 = __importDefault(require("callsite"));
54
+ function aConnectionType(enumFirstItem) {
55
+ if (enumFirstItem === void 0) { enumFirstItem = types_impl_js_1.ConnectionType.UNKNOWN_CONNECTION_TYPE; }
56
+ return enumFirstItem;
57
+ }
58
+ function aCreateExternalDatabaseConnectionRequest(overrideObject) {
59
+ if (overrideObject === void 0) { overrideObject = {}; }
60
+ if (isCurrentBuilderWasPreviouslyCalled()) {
61
+ return {};
62
+ }
63
+ return (0, metro_common_builders_1.mergeDeep)({
64
+ externalDatabaseConnection: aExternalDatabaseConnection(),
65
+ connectionType: aConnectionType(),
66
+ databaseManagedByWix: true,
67
+ }, overrideObject);
68
+ }
69
+ function aCreateExternalDatabaseConnectionResponse(overrideObject) {
70
+ if (overrideObject === void 0) { overrideObject = {}; }
71
+ if (isCurrentBuilderWasPreviouslyCalled()) {
72
+ return {};
73
+ }
74
+ return (0, metro_common_builders_1.mergeDeep)({
75
+ externalDatabaseConnection: aExternalDatabaseConnection(),
76
+ }, overrideObject);
77
+ }
78
+ function aDeleteExternalDatabaseConnectionRequest(overrideObject) {
79
+ if (overrideObject === void 0) { overrideObject = {}; }
80
+ return (0, metro_common_builders_1.mergeDeep)({
81
+ name: (0, metro_common_builders_1.someString)({
82
+ validations: [{ type: 'MAX_LENGTH', value: '255' }],
83
+ }),
84
+ }, overrideObject);
85
+ }
86
+ function aDeleteExternalDatabaseConnectionResponse(overrideObject) {
87
+ if (overrideObject === void 0) { overrideObject = {}; }
88
+ return (0, metro_common_builders_1.mergeDeep)({}, overrideObject);
89
+ }
90
+ function aExternalDatabaseConnection(overrideObject) {
91
+ if (overrideObject === void 0) { overrideObject = {}; }
92
+ if (isCurrentBuilderWasPreviouslyCalled()) {
93
+ return {};
94
+ }
95
+ return (0, metro_common_builders_1.mergeDeep)({
96
+ name: (0, metro_common_builders_1.someString)({
97
+ validations: [
98
+ { type: 'IMMUTABLE', value: 'true' },
99
+ { type: 'MIN_LENGTH', value: '1' },
100
+ { type: 'MAX_LENGTH', value: '255' },
101
+ ],
102
+ }),
103
+ endpoint: (0, metro_common_builders_1.someString)({
104
+ validations: [{ type: 'FORMAT', value: 'WEB_URL' }],
105
+ }),
106
+ configuration: {},
107
+ connectionStatus: aConnectionStatus(),
108
+ protocolVersion: aProtocolVersion(),
109
+ publicKey: (0, metro_common_builders_1.someString)({
110
+ validations: [
111
+ { type: 'READ_ONLY', value: 'true' },
112
+ { type: 'MAX_LENGTH', value: '128' },
113
+ ],
114
+ }),
115
+ capabilities: aCapabilities(),
116
+ applicationId: (0, metro_common_builders_1.someString)({
117
+ validations: [
118
+ { type: 'READ_ONLY', value: 'true' },
119
+ { type: 'MAX_LENGTH', value: '128' },
120
+ ],
121
+ }),
122
+ }, overrideObject);
123
+ }
124
+ function aCapabilities(overrideObject) {
125
+ if (overrideObject === void 0) { overrideObject = {}; }
126
+ if (isCurrentBuilderWasPreviouslyCalled()) {
127
+ return {};
128
+ }
129
+ return (0, metro_common_builders_1.mergeDeep)({
130
+ collectionModificationsSupported: true,
131
+ fieldTypes: [
132
+ aFieldType(),
133
+ aFieldType(),
134
+ aFieldType(),
135
+ aFieldType(),
136
+ aFieldType(),
137
+ aFieldType(),
138
+ aFieldType(),
139
+ aFieldType(),
140
+ aFieldType(),
141
+ aFieldType(),
142
+ ],
143
+ }, overrideObject);
144
+ }
145
+ function aConnectionStatus(overrideObject) {
146
+ if (overrideObject === void 0) { overrideObject = {}; }
147
+ if (isCurrentBuilderWasPreviouslyCalled()) {
148
+ return {};
149
+ }
150
+ return (0, metro_common_builders_1.mergeDeep)({
151
+ successful: true,
152
+ causeOfFailure: aCauseOfFailure(),
153
+ hasCollections: aCollectionsFound(),
154
+ }, overrideObject);
155
+ }
156
+ function aCauseOfFailure(enumFirstItem) {
157
+ if (enumFirstItem === void 0) { enumFirstItem = types_impl_js_1.CauseOfFailure.NONE; }
158
+ return enumFirstItem;
159
+ }
160
+ function aCollectionsFound(enumFirstItem) {
161
+ if (enumFirstItem === void 0) { enumFirstItem = types_impl_js_1.CollectionsFound.UNKNOWN; }
162
+ return enumFirstItem;
163
+ }
164
+ function aProtocolVersion(enumFirstItem) {
165
+ if (enumFirstItem === void 0) { enumFirstItem = types_impl_js_1.ProtocolVersion.UNKNOWN_PROTOCOL_VERSION; }
166
+ return enumFirstItem;
167
+ }
168
+ function aGetExternalDatabaseConnectionRequest(overrideObject) {
169
+ if (overrideObject === void 0) { overrideObject = {}; }
170
+ return (0, metro_common_builders_1.mergeDeep)({
171
+ name: (0, metro_common_builders_1.someString)({
172
+ validations: [{ type: 'MAX_LENGTH', value: '255' }],
173
+ }),
174
+ }, overrideObject);
175
+ }
176
+ function aGetExternalDatabaseConnectionResponse(overrideObject) {
177
+ if (overrideObject === void 0) { overrideObject = {}; }
178
+ if (isCurrentBuilderWasPreviouslyCalled()) {
179
+ return {};
180
+ }
181
+ return (0, metro_common_builders_1.mergeDeep)({
182
+ externalDatabaseConnection: aExternalDatabaseConnection(),
183
+ }, overrideObject);
184
+ }
185
+ function aListExternalDatabaseConnectionsRequest(overrideObject) {
186
+ if (overrideObject === void 0) { overrideObject = {}; }
187
+ if (isCurrentBuilderWasPreviouslyCalled()) {
188
+ return {};
189
+ }
190
+ return (0, metro_common_builders_1.mergeDeep)({
191
+ paging: aPaging(),
192
+ }, overrideObject);
193
+ }
194
+ function aListExternalDatabaseConnectionsResponse(overrideObject) {
195
+ if (overrideObject === void 0) { overrideObject = {}; }
196
+ if (isCurrentBuilderWasPreviouslyCalled()) {
197
+ return {};
198
+ }
199
+ return (0, metro_common_builders_1.mergeDeep)({
200
+ externalDatabaseConnections: [aExternalDatabaseConnection()],
201
+ pagingMetadata: aPagingMetadata(),
202
+ }, overrideObject);
203
+ }
204
+ function aUpdateExternalDatabaseConnectionRequest(overrideObject) {
205
+ if (overrideObject === void 0) { overrideObject = {}; }
206
+ if (isCurrentBuilderWasPreviouslyCalled()) {
207
+ return {};
208
+ }
209
+ return (0, metro_common_builders_1.mergeDeep)({
210
+ externalDatabaseConnection: aExternalDatabaseConnection(),
211
+ }, overrideObject);
212
+ }
213
+ function aUpdateExternalDatabaseConnectionResponse(overrideObject) {
214
+ if (overrideObject === void 0) { overrideObject = {}; }
215
+ if (isCurrentBuilderWasPreviouslyCalled()) {
216
+ return {};
217
+ }
218
+ return (0, metro_common_builders_1.mergeDeep)({
219
+ externalDatabaseConnection: aExternalDatabaseConnection(),
220
+ }, overrideObject);
221
+ }
222
+ function aFieldType(enumFirstItem) {
223
+ if (enumFirstItem === void 0) { enumFirstItem = types_impl_js_1.FieldType.UNKNOWN_FIELD_TYPE; }
224
+ return enumFirstItem;
225
+ }
226
+ function aAccountInfo(overrideObject) {
227
+ if (overrideObject === void 0) { overrideObject = {}; }
228
+ return (0, metro_common_builders_1.mergeDeep)({
229
+ accountId: (0, metro_common_builders_1.someString)({
230
+ validations: [{ type: 'FORMAT', value: 'GUID' }],
231
+ }),
232
+ parentAccountId: (0, metro_common_builders_1.someString)({
233
+ validations: [{ type: 'FORMAT', value: 'GUID' }],
234
+ }),
235
+ siteId: (0, metro_common_builders_1.someString)({
236
+ validations: [{ type: 'FORMAT', value: 'GUID' }],
237
+ }),
238
+ }, overrideObject);
239
+ }
240
+ function aIdentificationData(overrideObject) {
241
+ if (overrideObject === void 0) { overrideObject = {}; }
242
+ if (isCurrentBuilderWasPreviouslyCalled()) {
243
+ return {};
244
+ }
245
+ return (0, metro_common_builders_1.mergeDeep)({
246
+ anonymousVisitorId: (0, metro_common_builders_1.someString)({
247
+ validations: [{ type: 'FORMAT', value: 'GUID' }],
248
+ }),
249
+ identityType: aWebhookIdentityType(),
250
+ }, overrideObject);
251
+ }
252
+ function aWebhookIdentityType(enumFirstItem) {
253
+ if (enumFirstItem === void 0) { enumFirstItem = types_impl_js_1.WebhookIdentityType.UNKNOWN; }
254
+ return enumFirstItem;
255
+ }
256
+ function aMessageEnvelope(overrideObject) {
257
+ if (overrideObject === void 0) { overrideObject = {}; }
258
+ if (isCurrentBuilderWasPreviouslyCalled()) {
259
+ return {};
260
+ }
261
+ return (0, metro_common_builders_1.mergeDeep)({
262
+ instanceId: (0, metro_common_builders_1.someString)({
263
+ validations: [{ type: 'FORMAT', value: 'GUID' }],
264
+ }),
265
+ eventType: (0, metro_common_builders_1.someString)({
266
+ validations: [{ type: 'MAX_LENGTH', value: '150' }],
267
+ }),
268
+ identity: aIdentificationData(),
269
+ data: (0, metro_common_builders_1.someString)(),
270
+ accountInfo: aAccountInfo(),
271
+ }, overrideObject);
272
+ }
273
+ function aPaging(overrideObject) {
274
+ if (overrideObject === void 0) { overrideObject = {}; }
275
+ return (0, metro_common_builders_1.mergeDeep)({
276
+ limit: (0, metro_common_builders_1.someNumber)({
277
+ validations: [{ type: 'MIN' }],
278
+ }),
279
+ offset: (0, metro_common_builders_1.someNumber)({
280
+ validations: [{ type: 'MIN' }],
281
+ }),
282
+ }, overrideObject);
283
+ }
284
+ function aPagingMetadata(overrideObject) {
285
+ if (overrideObject === void 0) { overrideObject = {}; }
286
+ return (0, metro_common_builders_1.mergeDeep)({
287
+ count: (0, metro_common_builders_1.someNumber)(),
288
+ offset: (0, metro_common_builders_1.someNumber)(),
289
+ total: (0, metro_common_builders_1.someNumber)(),
290
+ tooManyToCount: true,
291
+ hasNext: true,
292
+ }, overrideObject);
293
+ }
294
+ function aActionEvent(overrideObject) {
295
+ if (overrideObject === void 0) { overrideObject = {}; }
296
+ return (0, metro_common_builders_1.mergeDeep)({
297
+ bodyAsJson: (0, metro_common_builders_1.someString)(),
298
+ }, overrideObject);
299
+ }
300
+ function aDomainEvent(overrideObject) {
301
+ if (overrideObject === void 0) { overrideObject = {}; }
302
+ if (isCurrentBuilderWasPreviouslyCalled()) {
303
+ return {};
304
+ }
305
+ return (0, metro_common_builders_1.mergeDeep)({
306
+ createdEvent: aEntityCreatedEvent(),
307
+ id: (0, metro_common_builders_1.someString)(),
308
+ entityFqdn: (0, metro_common_builders_1.someString)(),
309
+ slug: (0, metro_common_builders_1.someString)(),
310
+ entityId: (0, metro_common_builders_1.someString)(),
311
+ eventTime: (0, metro_common_builders_1.someDate)(),
312
+ triggeredByAnonymizeRequest: true,
313
+ originatedFrom: (0, metro_common_builders_1.someString)(),
314
+ entityEventSequence: (0, metro_common_builders_1.someString)({
315
+ validations: [{ type: 'DECIMAL_VALUE' }],
316
+ }),
317
+ }, overrideObject);
318
+ }
319
+ function aEntityCreatedEvent(overrideObject) {
320
+ if (overrideObject === void 0) { overrideObject = {}; }
321
+ if (isCurrentBuilderWasPreviouslyCalled()) {
322
+ return {};
323
+ }
324
+ return (0, metro_common_builders_1.mergeDeep)({
325
+ entityAsJson: (0, metro_common_builders_1.someString)(),
326
+ triggeredByUndelete: true,
327
+ restoreInfo: aRestoreInfo(),
328
+ additionalMetadataAsJson: (0, metro_common_builders_1.someString)(),
329
+ }, overrideObject);
330
+ }
331
+ function aEntityDeletedEvent(overrideObject) {
332
+ if (overrideObject === void 0) { overrideObject = {}; }
333
+ return (0, metro_common_builders_1.mergeDeep)({
334
+ movedToTrash: true,
335
+ deletedEntityAsJson: (0, metro_common_builders_1.someString)(),
336
+ additionalMetadataAsJson: (0, metro_common_builders_1.someString)(),
337
+ }, overrideObject);
338
+ }
339
+ function aEntityUpdatedEvent(overrideObject) {
340
+ if (overrideObject === void 0) { overrideObject = {}; }
341
+ return (0, metro_common_builders_1.mergeDeep)({
342
+ currentEntityAsJson: (0, metro_common_builders_1.someString)(),
343
+ previousEntityAsJson: (0, metro_common_builders_1.someString)(),
344
+ modifiedFields: { modifiedFields: (0, metro_common_builders_1.someAny)() },
345
+ additionalMetadataAsJson: (0, metro_common_builders_1.someString)(),
346
+ }, overrideObject);
347
+ }
348
+ function aRestoreInfo(overrideObject) {
349
+ if (overrideObject === void 0) { overrideObject = {}; }
350
+ return (0, metro_common_builders_1.mergeDeep)({
351
+ deletedDate: (0, metro_common_builders_1.someDate)(),
352
+ }, overrideObject);
353
+ }
354
+ function isCurrentBuilderWasPreviouslyCalled() {
355
+ var callChainFunctionNames = (0, callsite_1.default)().map(function (item) {
356
+ return item.getFunctionName();
357
+ });
358
+ var callChainWithoutCurrentBuilder = callChainFunctionNames.splice(2);
359
+ var currentBuilderName = callChainFunctionNames[1];
360
+ return callChainWithoutCurrentBuilder.some(function (functionName) { return functionName === currentBuilderName; });
361
+ }
362
+ __exportStar(require("@wix/metro-common-builders"), exports);
363
+ //# sourceMappingURL=builders.impl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"builders.impl.js","sourceRoot":"","sources":["../../builders.impl.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AA6CA,0CAIC;AAED,4FAcC;AAED,8FAYC;AAED,4FAWC;AAED,8FAIC;AAED,kEAqCC;AAED,sCAwBC;AAED,8CAcC;AAED,0CAIC;AAED,8CAIC;AAED,4CAIC;AAED,sFAWC;AAED,wFAYC;AAED,0FAYC;AAED,4FAaC;AAED,4FAYC;AAED,8FAYC;AAED,gCAIC;AAED,oCAiBC;AAED,kDAeC;AAED,oDAIC;AAED,4CAoBC;AAED,0BAYC;AAED,0CAaC;AAED,oCASC;AAED,oCAsBC;AAED,kDAeC;AAED,kDAWC;AAED,kDAYC;AAED,oCASC;AAtdD,oEAOoC;AACpC,iDA+ByB;AACzB,aAAa;AACb,sDAA6B;AAI7B,SAAgB,eAAe,CAC7B,aAAsE;IAAtE,8BAAA,EAAA,gBAAgC,8BAAc,CAAC,uBAAuB;IAEtE,OAAO,aAAa,CAAC;AACvB,CAAC;AAED,SAAgB,wCAAwC,CACtD,cAAqE;IAArE,+BAAA,EAAA,mBAAqE;IAErE,IAAI,mCAAmC,EAAE,EAAE,CAAC;QAC1C,OAAO,EAAS,CAAC;IACnB,CAAC;IACD,OAAO,IAAA,iCAAS,EACd;QACE,0BAA0B,EAAE,2BAA2B,EAAE;QACzD,cAAc,EAAE,eAAe,EAAE;QACjC,oBAAoB,EAAE,IAAI;KAC3B,EACD,cAAc,CACf,CAAC;AACJ,CAAC;AAED,SAAgB,yCAAyC,CACvD,cAAsE;IAAtE,+BAAA,EAAA,mBAAs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;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,6DAA2C"}
@@ -0,0 +1 @@
1
+ export declare const fqdn = "wix.data.v1.external_database_connection";
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.fqdn = void 0;
4
+ exports.fqdn = 'wix.data.v1.external_database_connection';
5
+ //# sourceMappingURL=http.impl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"http.impl.js","sourceRoot":"","sources":["../../../crud/http.impl.ts"],"names":[],"mappings":";;;AAAa,QAAA,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,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.fqdn = void 0;
4
+ exports.getEntity = getEntity;
5
+ exports.createEntity = createEntity;
6
+ exports.updateEntity = updateEntity;
7
+ exports.deleteEntity = deleteEntity;
8
+ var auto_crud_1 = require("@wix/auto-crud");
9
+ var rpc_impl_js_1 = require("../rpc.impl.js");
10
+ var rpc_impl_js_2 = require("../rpc.impl.js");
11
+ var rpc_impl_js_3 = require("../rpc.impl.js");
12
+ var rpc_impl_js_4 = require("../rpc.impl.js");
13
+ function getEntity(payload) {
14
+ var opts = auto_crud_1.rpc.toGetEntity(rpc_impl_js_1.getExternalDatabaseConnection, payload, {
15
+ request: { id: 'name' },
16
+ response: { entity: 'externalDatabaseConnection' },
17
+ });
18
+ return opts;
19
+ }
20
+ function createEntity(payload) {
21
+ var opts = auto_crud_1.rpc.toCreateEntity(rpc_impl_js_2.createExternalDatabaseConnection, payload, {
22
+ request: { entity: 'externalDatabaseConnection' },
23
+ response: { entity: 'externalDatabaseConnection' },
24
+ });
25
+ return opts;
26
+ }
27
+ function updateEntity(payload) {
28
+ var opts = auto_crud_1.rpc.toUpdateEntity(rpc_impl_js_3.updateExternalDatabaseConnection, payload, {
29
+ request: { entity: 'externalDatabaseConnection' },
30
+ response: { entity: 'externalDatabaseConnection' },
31
+ });
32
+ return opts;
33
+ }
34
+ function deleteEntity(payload) {
35
+ var opts = auto_crud_1.rpc.toDeleteEntity(rpc_impl_js_4.deleteExternalDatabaseConnection, payload, {
36
+ request: { entityId: 'name' },
37
+ });
38
+ return opts;
39
+ }
40
+ exports.fqdn = 'wix.data.v1.external_database_connection';
41
+ //# sourceMappingURL=rpc.impl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rpc.impl.js","sourceRoot":"","sources":["../../../crud/rpc.impl.ts"],"names":[],"mappings":";;;AAUA,8BAOC;AAED,oCAaC;AAED,oCAaC;AAED,oCAMC;AAvDD,4CAAqC;AAErC,8CAA+D;AAE/D,8CAAkE;AAElE,8CAAkE;AAElE,8CAAkE;AAElE,SAAgB,SAAS,CAAC,OAAyB;IACjD,IAAM,IAAI,GAAG,eAAG,CAAC,WAAW,CAAC,2CAA6B,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,SAAgB,YAAY,CAC1B,OAIC;IAED,IAAM,IAAI,GAAG,eAAG,CAAC,cAAc,CAAC,8CAAgC,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,SAAgB,YAAY,CAC1B,OAIC;IAED,IAAM,IAAI,GAAG,eAAG,CAAC,cAAc,CAAC,8CAAgC,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,SAAgB,YAAY,CAAC,OAA4B;IACvD,IAAM,IAAI,GAAG,eAAG,CAAC,cAAc,CAAC,8CAAgC,EAAE,OAAO,EAAE;QACzE,OAAO,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE;KAC9B,CAAC,CAAC;IAEH,OAAO,IAAI,CAAC;AACd,CAAC;AAEY,QAAA,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>;