@salesforce/lds-adapters-platform-external-connectivity 1.436.0 → 1.437.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/dist/es/es2018/platform-external-connectivity.js +34 -8
- package/dist/es/es2018/types/src/generated/adapters/createConnection.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/adapters/getConnections.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/adapters/getConnectorDetails.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/adapters/testConnection.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/adapters/updateConnection.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/getExternalConnectivityConnections.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/getExternalConnectivityConnectorsByConnectorDeveloperName.d.ts +3 -0
- package/dist/es/es2018/types/src/generated/resources/postExternalConnectivityConnections.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/postExternalConnectivityConnectionsTestByConnectionDeveloperName.d.ts +3 -0
- package/dist/es/es2018/types/src/generated/resources/putExternalConnectivityConnectionsByConnectionDeveloperName.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/types/ExternalConnectivityConnectionDetailsRepresentation.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/types/ExternalConnectivityConnectionInputRepresentation.d.ts +4 -1
- package/package.json +3 -3
- package/sfdc/index.js +35 -9
- package/src/raml/api.raml +23 -1
|
@@ -755,6 +755,7 @@ function createResourceRequest$c(config) {
|
|
|
755
755
|
const adapterName$c = 'getConnections';
|
|
756
756
|
const getConnections_ConfigPropertyMetadata = [
|
|
757
757
|
generateParamConfigMetadata('connectorDeveloperName', false, 1 /* QueryParameter */, 0 /* String */),
|
|
758
|
+
generateParamConfigMetadata('sourceId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
758
759
|
];
|
|
759
760
|
const getConnections_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, getConnections_ConfigPropertyMetadata);
|
|
760
761
|
const createResourceParams$c = /*#__PURE__*/ createResourceParams$d(getConnections_ConfigPropertyMetadata);
|
|
@@ -981,6 +982,7 @@ const createConnection_ConfigPropertyMetadata = [
|
|
|
981
982
|
generateParamConfigMetadata('name', true, 2 /* Body */, 0 /* String */),
|
|
982
983
|
generateParamConfigMetadata('connectionType', false, 2 /* Body */, 0 /* String */),
|
|
983
984
|
generateParamConfigMetadata('connectionParameters', false, 2 /* Body */, 4 /* Unsupported */),
|
|
985
|
+
generateParamConfigMetadata('sourceId', false, 2 /* Body */, 0 /* String */),
|
|
984
986
|
];
|
|
985
987
|
const createConnection_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, createConnection_ConfigPropertyMetadata);
|
|
986
988
|
const createResourceParams$b = /*#__PURE__*/ createResourceParams$d(createConnection_ConfigPropertyMetadata);
|
|
@@ -1869,7 +1871,7 @@ function validate$e(obj, path = 'AuthenticationTypeRepresentation') {
|
|
|
1869
1871
|
}
|
|
1870
1872
|
|
|
1871
1873
|
const TTL$8 = 500;
|
|
1872
|
-
const VERSION$8 = "
|
|
1874
|
+
const VERSION$8 = "138eaa4aa84aff30be7b787f5be726f7";
|
|
1873
1875
|
function validate$d(obj, path = 'ExternalConnectivityConnectionDetailsRepresentation') {
|
|
1874
1876
|
const v_error = (() => {
|
|
1875
1877
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1905,10 +1907,31 @@ function validate$d(obj, path = 'ExternalConnectivityConnectionDetailsRepresenta
|
|
|
1905
1907
|
}
|
|
1906
1908
|
const obj_authenticationType = obj.authenticationType;
|
|
1907
1909
|
const path_authenticationType = path + '.authenticationType';
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1910
|
+
let obj_authenticationType_union0 = null;
|
|
1911
|
+
const obj_authenticationType_union0_error = (() => {
|
|
1912
|
+
const referencepath_authenticationTypeValidationError = validate$e(obj_authenticationType, path_authenticationType);
|
|
1913
|
+
if (referencepath_authenticationTypeValidationError !== null) {
|
|
1914
|
+
let message = 'Object doesn\'t match AuthenticationTypeRepresentation (at "' + path_authenticationType + '")\n';
|
|
1915
|
+
message += referencepath_authenticationTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1916
|
+
return new TypeError(message);
|
|
1917
|
+
}
|
|
1918
|
+
})();
|
|
1919
|
+
if (obj_authenticationType_union0_error != null) {
|
|
1920
|
+
obj_authenticationType_union0 = obj_authenticationType_union0_error.message;
|
|
1921
|
+
}
|
|
1922
|
+
let obj_authenticationType_union1 = null;
|
|
1923
|
+
const obj_authenticationType_union1_error = (() => {
|
|
1924
|
+
if (obj_authenticationType !== null) {
|
|
1925
|
+
return new TypeError('Expected "null" but received "' + typeof obj_authenticationType + '" (at "' + path_authenticationType + '")');
|
|
1926
|
+
}
|
|
1927
|
+
})();
|
|
1928
|
+
if (obj_authenticationType_union1_error != null) {
|
|
1929
|
+
obj_authenticationType_union1 = obj_authenticationType_union1_error.message;
|
|
1930
|
+
}
|
|
1931
|
+
if (obj_authenticationType_union0 && obj_authenticationType_union1) {
|
|
1932
|
+
let message = 'Object doesn\'t match union (at "' + path_authenticationType + '")';
|
|
1933
|
+
message += '\n' + obj_authenticationType_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
1934
|
+
message += '\n' + obj_authenticationType_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
1912
1935
|
return new TypeError(message);
|
|
1913
1936
|
}
|
|
1914
1937
|
const obj_createdBy = obj.createdBy;
|
|
@@ -2245,6 +2268,7 @@ const updateConnection_ConfigPropertyMetadata = [
|
|
|
2245
2268
|
generateParamConfigMetadata('name', true, 2 /* Body */, 0 /* String */),
|
|
2246
2269
|
generateParamConfigMetadata('connectionType', false, 2 /* Body */, 0 /* String */),
|
|
2247
2270
|
generateParamConfigMetadata('connectionParameters', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2271
|
+
generateParamConfigMetadata('sourceId', false, 2 /* Body */, 0 /* String */),
|
|
2248
2272
|
];
|
|
2249
2273
|
const updateConnection_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, updateConnection_ConfigPropertyMetadata);
|
|
2250
2274
|
const createResourceParams$7 = /*#__PURE__*/ createResourceParams$d(updateConnection_ConfigPropertyMetadata);
|
|
@@ -3181,7 +3205,7 @@ function createResourceRequest$4(config) {
|
|
|
3181
3205
|
method: 'post',
|
|
3182
3206
|
body: null,
|
|
3183
3207
|
urlParams: config.urlParams,
|
|
3184
|
-
queryParams:
|
|
3208
|
+
queryParams: config.queryParams,
|
|
3185
3209
|
headers,
|
|
3186
3210
|
priority: 'normal',
|
|
3187
3211
|
};
|
|
@@ -3190,6 +3214,7 @@ function createResourceRequest$4(config) {
|
|
|
3190
3214
|
const adapterName$4 = 'testConnection';
|
|
3191
3215
|
const testConnection_ConfigPropertyMetadata = [
|
|
3192
3216
|
generateParamConfigMetadata('connectionDeveloperName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
3217
|
+
generateParamConfigMetadata('sourceId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
3193
3218
|
];
|
|
3194
3219
|
const testConnection_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, testConnection_ConfigPropertyMetadata);
|
|
3195
3220
|
const createResourceParams$4 = /*#__PURE__*/ createResourceParams$d(testConnection_ConfigPropertyMetadata);
|
|
@@ -3598,7 +3623,7 @@ function select$5(luvio, params) {
|
|
|
3598
3623
|
return select$6();
|
|
3599
3624
|
}
|
|
3600
3625
|
function keyBuilder$6(luvio, params) {
|
|
3601
|
-
return keyPrefix + '::ExternalConnectivityConnectorDetailsRepresentation:(' + 'connectorDeveloperName:' + params.urlParams.connectorDeveloperName + ')';
|
|
3626
|
+
return keyPrefix + '::ExternalConnectivityConnectorDetailsRepresentation:(' + 'sourceId:' + params.queryParams.sourceId + ',' + 'connectorDeveloperName:' + params.urlParams.connectorDeveloperName + ')';
|
|
3602
3627
|
}
|
|
3603
3628
|
function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
|
|
3604
3629
|
getTypeCacheKeys$3(storeKeyMap, luvio, response, () => keyBuilder$6(luvio, resourceParams));
|
|
@@ -3640,7 +3665,7 @@ function createResourceRequest$2(config) {
|
|
|
3640
3665
|
method: 'get',
|
|
3641
3666
|
body: null,
|
|
3642
3667
|
urlParams: config.urlParams,
|
|
3643
|
-
queryParams:
|
|
3668
|
+
queryParams: config.queryParams,
|
|
3644
3669
|
headers,
|
|
3645
3670
|
priority: 'normal',
|
|
3646
3671
|
};
|
|
@@ -3649,6 +3674,7 @@ function createResourceRequest$2(config) {
|
|
|
3649
3674
|
const adapterName$2 = 'getConnectorDetails';
|
|
3650
3675
|
const getConnectorDetails_ConfigPropertyMetadata = [
|
|
3651
3676
|
generateParamConfigMetadata('connectorDeveloperName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
3677
|
+
generateParamConfigMetadata('sourceId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
3652
3678
|
];
|
|
3653
3679
|
const getConnectorDetails_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getConnectorDetails_ConfigPropertyMetadata);
|
|
3654
3680
|
const createResourceParams$2 = /*#__PURE__*/ createResourceParams$d(getConnectorDetails_ConfigPropertyMetadata);
|
|
@@ -16,6 +16,7 @@ export interface CreateConnectionConfig {
|
|
|
16
16
|
connectionParameters?: {
|
|
17
17
|
[key: string]: unknown;
|
|
18
18
|
};
|
|
19
|
+
sourceId?: string;
|
|
19
20
|
}
|
|
20
21
|
export declare const createResourceParams: (config: CreateConnectionConfig) => resources_postExternalConnectivityConnections_ResourceRequestConfig;
|
|
21
22
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateConnectionConfig>): adapter$45$utils_Untrusted<CreateConnectionConfig>;
|
|
@@ -7,6 +7,7 @@ export declare const getConnections_ConfigPropertyMetadata: $64$luvio_engine_Ada
|
|
|
7
7
|
export declare const getConnections_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
8
|
export interface GetConnectionsConfig {
|
|
9
9
|
connectorDeveloperName?: string;
|
|
10
|
+
sourceId?: string;
|
|
10
11
|
}
|
|
11
12
|
export declare const createResourceParams: (config: GetConnectionsConfig) => resources_getExternalConnectivityConnections_ResourceRequestConfig;
|
|
12
13
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetConnectionsConfig): string;
|
|
@@ -7,6 +7,7 @@ export declare const getConnectorDetails_ConfigPropertyMetadata: $64$luvio_engin
|
|
|
7
7
|
export declare const getConnectorDetails_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
8
|
export interface GetConnectorDetailsConfig {
|
|
9
9
|
connectorDeveloperName: string;
|
|
10
|
+
sourceId?: string;
|
|
10
11
|
}
|
|
11
12
|
export declare const createResourceParams: (config: GetConnectorDetailsConfig) => resources_getExternalConnectivityConnectorsByConnectorDeveloperName_ResourceRequestConfig;
|
|
12
13
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetConnectorDetailsConfig): string;
|
|
@@ -7,6 +7,7 @@ export declare const testConnection_ConfigPropertyMetadata: $64$luvio_engine_Ada
|
|
|
7
7
|
export declare const testConnection_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
8
|
export interface TestConnectionConfig {
|
|
9
9
|
connectionDeveloperName: string;
|
|
10
|
+
sourceId?: string;
|
|
10
11
|
}
|
|
11
12
|
export declare const createResourceParams: (config: TestConnectionConfig) => resources_postExternalConnectivityConnectionsTestByConnectionDeveloperName_ResourceRequestConfig;
|
|
12
13
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<TestConnectionConfig>): adapter$45$utils_Untrusted<TestConnectionConfig>;
|
|
@@ -17,6 +17,7 @@ export interface UpdateConnectionConfig {
|
|
|
17
17
|
connectionParameters?: {
|
|
18
18
|
[key: string]: unknown;
|
|
19
19
|
};
|
|
20
|
+
sourceId?: string;
|
|
20
21
|
}
|
|
21
22
|
export declare const createResourceParams: (config: UpdateConnectionConfig) => resources_putExternalConnectivityConnectionsByConnectionDeveloperName_ResourceRequestConfig;
|
|
22
23
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<UpdateConnectionConfig>): adapter$45$utils_Untrusted<UpdateConnectionConfig>;
|
package/dist/es/es2018/types/src/generated/resources/getExternalConnectivityConnections.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { ExternalConnectivityConnectionListRepresentation as types_ExternalConne
|
|
|
3
3
|
export interface ResourceRequestConfig {
|
|
4
4
|
queryParams: {
|
|
5
5
|
connectorDeveloperName?: string;
|
|
6
|
+
sourceId?: string;
|
|
6
7
|
};
|
|
7
8
|
}
|
|
8
9
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
@@ -4,6 +4,9 @@ export interface ResourceRequestConfig {
|
|
|
4
4
|
urlParams: {
|
|
5
5
|
connectorDeveloperName: string;
|
|
6
6
|
};
|
|
7
|
+
queryParams: {
|
|
8
|
+
sourceId?: string;
|
|
9
|
+
};
|
|
7
10
|
}
|
|
8
11
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
9
12
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
@@ -4,6 +4,9 @@ export interface ResourceRequestConfig {
|
|
|
4
4
|
urlParams: {
|
|
5
5
|
connectionDeveloperName: string;
|
|
6
6
|
};
|
|
7
|
+
queryParams: {
|
|
8
|
+
sourceId?: string;
|
|
9
|
+
};
|
|
7
10
|
}
|
|
8
11
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
9
12
|
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ExternalConnectivityConnectionTestResultRepresentation_ExternalConnectivityConnectionTestResultRepresentation): void;
|
|
@@ -2,7 +2,7 @@ import { AuthenticationTypeRepresentation as AuthenticationTypeRepresentation_Au
|
|
|
2
2
|
import { ExternalConnectivityConnectorRepresentation as ExternalConnectivityConnectorRepresentation_ExternalConnectivityConnectorRepresentation } from './ExternalConnectivityConnectorRepresentation';
|
|
3
3
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
4
4
|
export declare const TTL = 500;
|
|
5
|
-
export declare const VERSION = "
|
|
5
|
+
export declare const VERSION = "138eaa4aa84aff30be7b787f5be726f7";
|
|
6
6
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
7
7
|
export declare const RepresentationType: string;
|
|
8
8
|
export declare function normalize(input: ExternalConnectivityConnectionDetailsRepresentation, existing: ExternalConnectivityConnectionDetailsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ExternalConnectivityConnectionDetailsRepresentationNormalized;
|
|
@@ -20,7 +20,7 @@ export interface ExternalConnectivityConnectionDetailsRepresentationNormalized {
|
|
|
20
20
|
/** External Connectivity Connection Agent Action Flag */
|
|
21
21
|
agentActionEnabled?: boolean | null;
|
|
22
22
|
/** External Connectivity Connection Authentication Type */
|
|
23
|
-
authenticationType: AuthenticationTypeRepresentation_AuthenticationTypeRepresentation;
|
|
23
|
+
authenticationType: AuthenticationTypeRepresentation_AuthenticationTypeRepresentation | null;
|
|
24
24
|
/** External Connectivity Connection Created By */
|
|
25
25
|
createdBy: string;
|
|
26
26
|
/** External Connectivity Connection Created By Id */
|
|
@@ -53,7 +53,7 @@ export interface ExternalConnectivityConnectionDetailsRepresentationNormalized {
|
|
|
53
53
|
*/
|
|
54
54
|
export interface ExternalConnectivityConnectionDetailsRepresentation {
|
|
55
55
|
agentActionEnabled?: boolean | null;
|
|
56
|
-
authenticationType: AuthenticationTypeRepresentation_AuthenticationTypeRepresentation;
|
|
56
|
+
authenticationType: AuthenticationTypeRepresentation_AuthenticationTypeRepresentation | null;
|
|
57
57
|
createdBy: string;
|
|
58
58
|
createdById: string;
|
|
59
59
|
createdDate: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AuthenticationTypeInputRepresentation as AuthenticationTypeInputRepresentation_AuthenticationTypeInputRepresentation } from './AuthenticationTypeInputRepresentation';
|
|
2
2
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "7d1e5a52eda62159e78b135b1ff81575";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export declare function normalize(input: ExternalConnectivityConnectionInputRepresentation, existing: ExternalConnectivityConnectionInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ExternalConnectivityConnectionInputRepresentationNormalized;
|
|
@@ -31,6 +31,8 @@ export interface ExternalConnectivityConnectionInputRepresentationNormalized {
|
|
|
31
31
|
description: string;
|
|
32
32
|
/** Sets the name */
|
|
33
33
|
name: string;
|
|
34
|
+
/** Source identifier for observability (e.g. AUTOMATION_INTEGRATION, STARTER_SUITE) */
|
|
35
|
+
sourceId?: string;
|
|
34
36
|
}
|
|
35
37
|
/**
|
|
36
38
|
* Input representation for External Connectivity Connection
|
|
@@ -48,4 +50,5 @@ export interface ExternalConnectivityConnectionInputRepresentation {
|
|
|
48
50
|
connectorDeveloperName: string;
|
|
49
51
|
description: string;
|
|
50
52
|
name: string;
|
|
53
|
+
sourceId?: string;
|
|
51
54
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-platform-external-connectivity",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.437.0",
|
|
4
4
|
"description": "A set of API for external connectivity",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/platform-external-connectivity.js",
|
|
@@ -41,10 +41,10 @@
|
|
|
41
41
|
"test:unit:debug": "node --inspect-brk ../../node_modules/.bin/jest --runInBand"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@salesforce/lds-bindings": "^1.
|
|
44
|
+
"@salesforce/lds-bindings": "^1.437.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
47
|
+
"@salesforce/lds-compiler-plugins": "^1.437.0"
|
|
48
48
|
},
|
|
49
49
|
"nx": {
|
|
50
50
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -246,6 +246,7 @@ const createConnection_ConfigPropertyMetadata = [
|
|
|
246
246
|
generateParamConfigMetadata('name', true, 2 /* Body */, 0 /* String */),
|
|
247
247
|
generateParamConfigMetadata('connectionType', false, 2 /* Body */, 0 /* String */),
|
|
248
248
|
generateParamConfigMetadata('connectionParameters', false, 2 /* Body */, 4 /* Unsupported */),
|
|
249
|
+
generateParamConfigMetadata('sourceId', false, 2 /* Body */, 0 /* String */),
|
|
249
250
|
];
|
|
250
251
|
const createConnection_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, createConnection_ConfigPropertyMetadata);
|
|
251
252
|
const createResourceParams$c = /*#__PURE__*/ createResourceParams$d(createConnection_ConfigPropertyMetadata);
|
|
@@ -846,7 +847,7 @@ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
846
847
|
}
|
|
847
848
|
|
|
848
849
|
const TTL$a = 500;
|
|
849
|
-
const VERSION$b = "
|
|
850
|
+
const VERSION$b = "138eaa4aa84aff30be7b787f5be726f7";
|
|
850
851
|
function validate$g(obj, path = 'ExternalConnectivityConnectionDetailsRepresentation') {
|
|
851
852
|
const v_error = (() => {
|
|
852
853
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -882,10 +883,31 @@ function validate$g(obj, path = 'ExternalConnectivityConnectionDetailsRepresenta
|
|
|
882
883
|
}
|
|
883
884
|
const obj_authenticationType = obj.authenticationType;
|
|
884
885
|
const path_authenticationType = path + '.authenticationType';
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
886
|
+
let obj_authenticationType_union0 = null;
|
|
887
|
+
const obj_authenticationType_union0_error = (() => {
|
|
888
|
+
const referencepath_authenticationTypeValidationError = validate$j(obj_authenticationType, path_authenticationType);
|
|
889
|
+
if (referencepath_authenticationTypeValidationError !== null) {
|
|
890
|
+
let message = 'Object doesn\'t match AuthenticationTypeRepresentation (at "' + path_authenticationType + '")\n';
|
|
891
|
+
message += referencepath_authenticationTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
892
|
+
return new TypeError(message);
|
|
893
|
+
}
|
|
894
|
+
})();
|
|
895
|
+
if (obj_authenticationType_union0_error != null) {
|
|
896
|
+
obj_authenticationType_union0 = obj_authenticationType_union0_error.message;
|
|
897
|
+
}
|
|
898
|
+
let obj_authenticationType_union1 = null;
|
|
899
|
+
const obj_authenticationType_union1_error = (() => {
|
|
900
|
+
if (obj_authenticationType !== null) {
|
|
901
|
+
return new TypeError('Expected "null" but received "' + typeof obj_authenticationType + '" (at "' + path_authenticationType + '")');
|
|
902
|
+
}
|
|
903
|
+
})();
|
|
904
|
+
if (obj_authenticationType_union1_error != null) {
|
|
905
|
+
obj_authenticationType_union1 = obj_authenticationType_union1_error.message;
|
|
906
|
+
}
|
|
907
|
+
if (obj_authenticationType_union0 && obj_authenticationType_union1) {
|
|
908
|
+
let message = 'Object doesn\'t match union (at "' + path_authenticationType + '")';
|
|
909
|
+
message += '\n' + obj_authenticationType_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
910
|
+
message += '\n' + obj_authenticationType_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
889
911
|
return new TypeError(message);
|
|
890
912
|
}
|
|
891
913
|
const obj_createdBy = obj.createdBy;
|
|
@@ -1703,6 +1725,7 @@ function createResourceRequest$9(config) {
|
|
|
1703
1725
|
const adapterName$9 = 'getConnections';
|
|
1704
1726
|
const getConnections_ConfigPropertyMetadata = [
|
|
1705
1727
|
generateParamConfigMetadata('connectorDeveloperName', false, 1 /* QueryParameter */, 0 /* String */),
|
|
1728
|
+
generateParamConfigMetadata('sourceId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
1706
1729
|
];
|
|
1707
1730
|
const getConnections_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, getConnections_ConfigPropertyMetadata);
|
|
1708
1731
|
const createResourceParams$9 = /*#__PURE__*/ createResourceParams$d(getConnections_ConfigPropertyMetadata);
|
|
@@ -1944,7 +1967,7 @@ function select$g(luvio, params) {
|
|
|
1944
1967
|
return select$h();
|
|
1945
1968
|
}
|
|
1946
1969
|
function keyBuilder$e(luvio, params) {
|
|
1947
|
-
return keyPrefix + '::ExternalConnectivityConnectorDetailsRepresentation:(' + 'connectorDeveloperName:' + params.urlParams.connectorDeveloperName + ')';
|
|
1970
|
+
return keyPrefix + '::ExternalConnectivityConnectorDetailsRepresentation:(' + 'sourceId:' + params.queryParams.sourceId + ',' + 'connectorDeveloperName:' + params.urlParams.connectorDeveloperName + ')';
|
|
1948
1971
|
}
|
|
1949
1972
|
function getResponseCacheKeys$8(storeKeyMap, luvio, resourceParams, response) {
|
|
1950
1973
|
getTypeCacheKeys$8(storeKeyMap, luvio, response, () => keyBuilder$e(luvio, resourceParams));
|
|
@@ -1986,7 +2009,7 @@ function createResourceRequest$8(config) {
|
|
|
1986
2009
|
method: 'get',
|
|
1987
2010
|
body: null,
|
|
1988
2011
|
urlParams: config.urlParams,
|
|
1989
|
-
queryParams:
|
|
2012
|
+
queryParams: config.queryParams,
|
|
1990
2013
|
headers,
|
|
1991
2014
|
priority: 'normal',
|
|
1992
2015
|
};
|
|
@@ -1995,6 +2018,7 @@ function createResourceRequest$8(config) {
|
|
|
1995
2018
|
const adapterName$8 = 'getConnectorDetails';
|
|
1996
2019
|
const getConnectorDetails_ConfigPropertyMetadata = [
|
|
1997
2020
|
generateParamConfigMetadata('connectorDeveloperName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
2021
|
+
generateParamConfigMetadata('sourceId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
1998
2022
|
];
|
|
1999
2023
|
const getConnectorDetails_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, getConnectorDetails_ConfigPropertyMetadata);
|
|
2000
2024
|
const createResourceParams$8 = /*#__PURE__*/ createResourceParams$d(getConnectorDetails_ConfigPropertyMetadata);
|
|
@@ -4293,7 +4317,7 @@ function createResourceRequest$1(config) {
|
|
|
4293
4317
|
method: 'post',
|
|
4294
4318
|
body: null,
|
|
4295
4319
|
urlParams: config.urlParams,
|
|
4296
|
-
queryParams:
|
|
4320
|
+
queryParams: config.queryParams,
|
|
4297
4321
|
headers,
|
|
4298
4322
|
priority: 'normal',
|
|
4299
4323
|
};
|
|
@@ -4302,6 +4326,7 @@ function createResourceRequest$1(config) {
|
|
|
4302
4326
|
const adapterName$1 = 'testConnection';
|
|
4303
4327
|
const testConnection_ConfigPropertyMetadata = [
|
|
4304
4328
|
generateParamConfigMetadata('connectionDeveloperName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
4329
|
+
generateParamConfigMetadata('sourceId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
4305
4330
|
];
|
|
4306
4331
|
const testConnection_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, testConnection_ConfigPropertyMetadata);
|
|
4307
4332
|
const createResourceParams$1 = /*#__PURE__*/ createResourceParams$d(testConnection_ConfigPropertyMetadata);
|
|
@@ -4399,6 +4424,7 @@ const updateConnection_ConfigPropertyMetadata = [
|
|
|
4399
4424
|
generateParamConfigMetadata('name', true, 2 /* Body */, 0 /* String */),
|
|
4400
4425
|
generateParamConfigMetadata('connectionType', false, 2 /* Body */, 0 /* String */),
|
|
4401
4426
|
generateParamConfigMetadata('connectionParameters', false, 2 /* Body */, 4 /* Unsupported */),
|
|
4427
|
+
generateParamConfigMetadata('sourceId', false, 2 /* Body */, 0 /* String */),
|
|
4402
4428
|
];
|
|
4403
4429
|
const updateConnection_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, updateConnection_ConfigPropertyMetadata);
|
|
4404
4430
|
const createResourceParams = /*#__PURE__*/ createResourceParams$d(updateConnection_ConfigPropertyMetadata);
|
|
@@ -4609,4 +4635,4 @@ withDefaultLuvio((luvio) => {
|
|
|
4609
4635
|
});
|
|
4610
4636
|
|
|
4611
4637
|
export { createConnection, deleteConnection, getConnectionDetails, getConnectionDetails_imperative, getConnections, getConnections_imperative, getConnectorDetails, getConnectorDetails_imperative, getConnectors, getConnectors_imperative, getExternalConnectivityConnectionReferencedFlows, getExternalConnectivityConnectionReferencedFlows_imperative, getExternalIdentityProviders, getExternalIdentityProviders_imperative, getInvocableActions, getInvocableActions_imperative, getNamedCredentialConfig, getNamedCredentialConfig_imperative, notifyConnectionListUpdateAvailable, refreshMetadata, testConnection, updateConnection };
|
|
4612
|
-
// version: 1.
|
|
4638
|
+
// version: 1.437.0-f680421dc4
|
package/src/raml/api.raml
CHANGED
|
@@ -162,7 +162,7 @@ types:
|
|
|
162
162
|
properties:
|
|
163
163
|
authenticationType:
|
|
164
164
|
description: External Connectivity Connection Authentication Type
|
|
165
|
-
type: AuthenticationTypeRepresentation
|
|
165
|
+
type: AuthenticationTypeRepresentation | nil
|
|
166
166
|
agentActionEnabled:
|
|
167
167
|
description: External Connectivity Connection Agent Action Flag
|
|
168
168
|
type: boolean | nil # TODO Hand-rolled W-17603644
|
|
@@ -248,6 +248,11 @@ types:
|
|
|
248
248
|
//:
|
|
249
249
|
type: any
|
|
250
250
|
required: false
|
|
251
|
+
sourceId:
|
|
252
|
+
description: Source identifier for observability (e.g. AUTOMATION_INTEGRATION,
|
|
253
|
+
STARTER_SUITE)
|
|
254
|
+
type: string
|
|
255
|
+
required: false
|
|
251
256
|
ExternalConnectivityConnectionListRepresentation:
|
|
252
257
|
description: Output representation for External Connectivity Connection List
|
|
253
258
|
type: object
|
|
@@ -606,6 +611,11 @@ types:
|
|
|
606
611
|
connectorDeveloperName:
|
|
607
612
|
type: string
|
|
608
613
|
required: false
|
|
614
|
+
sourceId:
|
|
615
|
+
description: Source identifier for observability (e.g. AUTOMATION_INTEGRATION,
|
|
616
|
+
STARTER_SUITE)
|
|
617
|
+
type: string
|
|
618
|
+
required: false
|
|
609
619
|
post:
|
|
610
620
|
displayName: postExternalConnectivityConnectionList
|
|
611
621
|
description: POST method to create External Connectivity Connection
|
|
@@ -725,6 +735,12 @@ types:
|
|
|
725
735
|
post:
|
|
726
736
|
displayName: postExternalConnectivityConnectionTest
|
|
727
737
|
description: POST method to test an External Connectivity Connection
|
|
738
|
+
queryParameters:
|
|
739
|
+
sourceId:
|
|
740
|
+
description: Source identifier for observability (e.g. AUTOMATION_INTEGRATION,
|
|
741
|
+
STARTER_SUITE)
|
|
742
|
+
type: string
|
|
743
|
+
required: false
|
|
728
744
|
responses:
|
|
729
745
|
'200':
|
|
730
746
|
description: Success
|
|
@@ -750,6 +766,12 @@ types:
|
|
|
750
766
|
get:
|
|
751
767
|
displayName: getExternalConnectivityConnectorDetails
|
|
752
768
|
description: GET method to get External Connectivity Connector Details
|
|
769
|
+
queryParameters:
|
|
770
|
+
sourceId:
|
|
771
|
+
description: Source identifier for observability (e.g. AUTOMATION_INTEGRATION,
|
|
772
|
+
STARTER_SUITE)
|
|
773
|
+
type: string
|
|
774
|
+
required: false
|
|
753
775
|
responses:
|
|
754
776
|
'200':
|
|
755
777
|
description: Success
|