@salesforce/lds-adapters-platform-external-connectivity 1.288.0 → 1.290.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 +110 -26
- package/dist/es/es2018/types/src/generated/types/ExternalConnectivityConnectionDetailsRepresentation.d.ts +5 -5
- package/dist/es/es2018/types/src/generated/types/ExternalConnectivityConnectionRepresentation.d.ts +5 -5
- package/package.json +3 -3
- package/sfdc/index.js +111 -27
- package/src/raml/api.raml +5 -5
|
@@ -236,7 +236,7 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
236
236
|
});
|
|
237
237
|
}
|
|
238
238
|
|
|
239
|
-
const VERSION$6 = "
|
|
239
|
+
const VERSION$6 = "89d2327df1e3dc86e80db8de5afc6ad8";
|
|
240
240
|
function validate$b(obj, path = 'ExternalConnectivityConnectionRepresentation') {
|
|
241
241
|
const v_error = (() => {
|
|
242
242
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -254,8 +254,29 @@ function validate$b(obj, path = 'ExternalConnectivityConnectionRepresentation')
|
|
|
254
254
|
}
|
|
255
255
|
const obj_description = obj.description;
|
|
256
256
|
const path_description = path + '.description';
|
|
257
|
-
|
|
258
|
-
|
|
257
|
+
let obj_description_union0 = null;
|
|
258
|
+
const obj_description_union0_error = (() => {
|
|
259
|
+
if (typeof obj_description !== 'string') {
|
|
260
|
+
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
261
|
+
}
|
|
262
|
+
})();
|
|
263
|
+
if (obj_description_union0_error != null) {
|
|
264
|
+
obj_description_union0 = obj_description_union0_error.message;
|
|
265
|
+
}
|
|
266
|
+
let obj_description_union1 = null;
|
|
267
|
+
const obj_description_union1_error = (() => {
|
|
268
|
+
if (obj_description !== null) {
|
|
269
|
+
return new TypeError('Expected "null" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
270
|
+
}
|
|
271
|
+
})();
|
|
272
|
+
if (obj_description_union1_error != null) {
|
|
273
|
+
obj_description_union1 = obj_description_union1_error.message;
|
|
274
|
+
}
|
|
275
|
+
if (obj_description_union0 && obj_description_union1) {
|
|
276
|
+
let message = 'Object doesn\'t match union (at "' + path_description + '")';
|
|
277
|
+
message += '\n' + obj_description_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
278
|
+
message += '\n' + obj_description_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
279
|
+
return new TypeError(message);
|
|
259
280
|
}
|
|
260
281
|
const obj_developerName = obj.developerName;
|
|
261
282
|
const path_developerName = path + '.developerName';
|
|
@@ -284,8 +305,29 @@ function validate$b(obj, path = 'ExternalConnectivityConnectionRepresentation')
|
|
|
284
305
|
}
|
|
285
306
|
const obj_lastTestedDate = obj.lastTestedDate;
|
|
286
307
|
const path_lastTestedDate = path + '.lastTestedDate';
|
|
287
|
-
|
|
288
|
-
|
|
308
|
+
let obj_lastTestedDate_union0 = null;
|
|
309
|
+
const obj_lastTestedDate_union0_error = (() => {
|
|
310
|
+
if (typeof obj_lastTestedDate !== 'string') {
|
|
311
|
+
return new TypeError('Expected "string" but received "' + typeof obj_lastTestedDate + '" (at "' + path_lastTestedDate + '")');
|
|
312
|
+
}
|
|
313
|
+
})();
|
|
314
|
+
if (obj_lastTestedDate_union0_error != null) {
|
|
315
|
+
obj_lastTestedDate_union0 = obj_lastTestedDate_union0_error.message;
|
|
316
|
+
}
|
|
317
|
+
let obj_lastTestedDate_union1 = null;
|
|
318
|
+
const obj_lastTestedDate_union1_error = (() => {
|
|
319
|
+
if (obj_lastTestedDate !== null) {
|
|
320
|
+
return new TypeError('Expected "null" but received "' + typeof obj_lastTestedDate + '" (at "' + path_lastTestedDate + '")');
|
|
321
|
+
}
|
|
322
|
+
})();
|
|
323
|
+
if (obj_lastTestedDate_union1_error != null) {
|
|
324
|
+
obj_lastTestedDate_union1 = obj_lastTestedDate_union1_error.message;
|
|
325
|
+
}
|
|
326
|
+
if (obj_lastTestedDate_union0 && obj_lastTestedDate_union1) {
|
|
327
|
+
let message = 'Object doesn\'t match union (at "' + path_lastTestedDate + '")';
|
|
328
|
+
message += '\n' + obj_lastTestedDate_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
329
|
+
message += '\n' + obj_lastTestedDate_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
330
|
+
return new TypeError(message);
|
|
289
331
|
}
|
|
290
332
|
const obj_name = obj.name;
|
|
291
333
|
const path_name = path + '.name';
|
|
@@ -377,11 +419,6 @@ function equals$6(existing, incoming) {
|
|
|
377
419
|
if (!(existing_createdDate === incoming_createdDate)) {
|
|
378
420
|
return false;
|
|
379
421
|
}
|
|
380
|
-
const existing_description = existing.description;
|
|
381
|
-
const incoming_description = incoming.description;
|
|
382
|
-
if (!(existing_description === incoming_description)) {
|
|
383
|
-
return false;
|
|
384
|
-
}
|
|
385
422
|
const existing_developerName = existing.developerName;
|
|
386
423
|
const incoming_developerName = incoming.developerName;
|
|
387
424
|
if (!(existing_developerName === incoming_developerName)) {
|
|
@@ -397,21 +434,26 @@ function equals$6(existing, incoming) {
|
|
|
397
434
|
if (!(existing_lastModifiedDate === incoming_lastModifiedDate)) {
|
|
398
435
|
return false;
|
|
399
436
|
}
|
|
400
|
-
const existing_lastTestedDate = existing.lastTestedDate;
|
|
401
|
-
const incoming_lastTestedDate = incoming.lastTestedDate;
|
|
402
|
-
if (!(existing_lastTestedDate === incoming_lastTestedDate)) {
|
|
403
|
-
return false;
|
|
404
|
-
}
|
|
405
437
|
const existing_name = existing.name;
|
|
406
438
|
const incoming_name = incoming.name;
|
|
407
439
|
if (!(existing_name === incoming_name)) {
|
|
408
440
|
return false;
|
|
409
441
|
}
|
|
442
|
+
const existing_description = existing.description;
|
|
443
|
+
const incoming_description = incoming.description;
|
|
444
|
+
if (!(existing_description === incoming_description)) {
|
|
445
|
+
return false;
|
|
446
|
+
}
|
|
410
447
|
const existing_externalConnectorMetadata = existing.externalConnectorMetadata;
|
|
411
448
|
const incoming_externalConnectorMetadata = incoming.externalConnectorMetadata;
|
|
412
449
|
if (!(existing_externalConnectorMetadata.__ref === incoming_externalConnectorMetadata.__ref)) {
|
|
413
450
|
return false;
|
|
414
451
|
}
|
|
452
|
+
const existing_lastTestedDate = existing.lastTestedDate;
|
|
453
|
+
const incoming_lastTestedDate = incoming.lastTestedDate;
|
|
454
|
+
if (!(existing_lastTestedDate === incoming_lastTestedDate)) {
|
|
455
|
+
return false;
|
|
456
|
+
}
|
|
415
457
|
return true;
|
|
416
458
|
}
|
|
417
459
|
const ingest$6 = function ExternalConnectivityConnectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
@@ -574,7 +616,7 @@ function ingestError$3(luvio, params, error, snapshotRefresh) {
|
|
|
574
616
|
function createResourceRequest$5(config) {
|
|
575
617
|
const headers = {};
|
|
576
618
|
return {
|
|
577
|
-
baseUri: '/services/data/
|
|
619
|
+
baseUri: '/services/data/v62.0',
|
|
578
620
|
basePath: '/external-connectivity/connections',
|
|
579
621
|
method: 'get',
|
|
580
622
|
body: null,
|
|
@@ -791,7 +833,7 @@ function ingestSuccess$4(luvio, resourceParams, response) {
|
|
|
791
833
|
function createResourceRequest$4(config) {
|
|
792
834
|
const headers = {};
|
|
793
835
|
return {
|
|
794
|
-
baseUri: '/services/data/
|
|
836
|
+
baseUri: '/services/data/v62.0',
|
|
795
837
|
basePath: '/external-connectivity/connections',
|
|
796
838
|
method: 'post',
|
|
797
839
|
body: config.body,
|
|
@@ -959,7 +1001,7 @@ function validate$5(obj, path = 'AuthenticationTypeRepresentation') {
|
|
|
959
1001
|
}
|
|
960
1002
|
|
|
961
1003
|
const TTL$3 = 500;
|
|
962
|
-
const VERSION$3 = "
|
|
1004
|
+
const VERSION$3 = "7ca6b78397dd8632eba2e72a10134d04";
|
|
963
1005
|
function validate$4(obj, path = 'ExternalConnectivityConnectionDetailsRepresentation') {
|
|
964
1006
|
const v_error = (() => {
|
|
965
1007
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -985,8 +1027,29 @@ function validate$4(obj, path = 'ExternalConnectivityConnectionDetailsRepresenta
|
|
|
985
1027
|
}
|
|
986
1028
|
const obj_description = obj.description;
|
|
987
1029
|
const path_description = path + '.description';
|
|
988
|
-
|
|
989
|
-
|
|
1030
|
+
let obj_description_union0 = null;
|
|
1031
|
+
const obj_description_union0_error = (() => {
|
|
1032
|
+
if (typeof obj_description !== 'string') {
|
|
1033
|
+
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
1034
|
+
}
|
|
1035
|
+
})();
|
|
1036
|
+
if (obj_description_union0_error != null) {
|
|
1037
|
+
obj_description_union0 = obj_description_union0_error.message;
|
|
1038
|
+
}
|
|
1039
|
+
let obj_description_union1 = null;
|
|
1040
|
+
const obj_description_union1_error = (() => {
|
|
1041
|
+
if (obj_description !== null) {
|
|
1042
|
+
return new TypeError('Expected "null" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
1043
|
+
}
|
|
1044
|
+
})();
|
|
1045
|
+
if (obj_description_union1_error != null) {
|
|
1046
|
+
obj_description_union1 = obj_description_union1_error.message;
|
|
1047
|
+
}
|
|
1048
|
+
if (obj_description_union0 && obj_description_union1) {
|
|
1049
|
+
let message = 'Object doesn\'t match union (at "' + path_description + '")';
|
|
1050
|
+
message += '\n' + obj_description_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
1051
|
+
message += '\n' + obj_description_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
1052
|
+
return new TypeError(message);
|
|
990
1053
|
}
|
|
991
1054
|
const obj_developerName = obj.developerName;
|
|
992
1055
|
const path_developerName = path + '.developerName';
|
|
@@ -1018,8 +1081,29 @@ function validate$4(obj, path = 'ExternalConnectivityConnectionDetailsRepresenta
|
|
|
1018
1081
|
}
|
|
1019
1082
|
const obj_lastTestedDate = obj.lastTestedDate;
|
|
1020
1083
|
const path_lastTestedDate = path + '.lastTestedDate';
|
|
1021
|
-
|
|
1022
|
-
|
|
1084
|
+
let obj_lastTestedDate_union0 = null;
|
|
1085
|
+
const obj_lastTestedDate_union0_error = (() => {
|
|
1086
|
+
if (typeof obj_lastTestedDate !== 'string') {
|
|
1087
|
+
return new TypeError('Expected "string" but received "' + typeof obj_lastTestedDate + '" (at "' + path_lastTestedDate + '")');
|
|
1088
|
+
}
|
|
1089
|
+
})();
|
|
1090
|
+
if (obj_lastTestedDate_union0_error != null) {
|
|
1091
|
+
obj_lastTestedDate_union0 = obj_lastTestedDate_union0_error.message;
|
|
1092
|
+
}
|
|
1093
|
+
let obj_lastTestedDate_union1 = null;
|
|
1094
|
+
const obj_lastTestedDate_union1_error = (() => {
|
|
1095
|
+
if (obj_lastTestedDate !== null) {
|
|
1096
|
+
return new TypeError('Expected "null" but received "' + typeof obj_lastTestedDate + '" (at "' + path_lastTestedDate + '")');
|
|
1097
|
+
}
|
|
1098
|
+
})();
|
|
1099
|
+
if (obj_lastTestedDate_union1_error != null) {
|
|
1100
|
+
obj_lastTestedDate_union1 = obj_lastTestedDate_union1_error.message;
|
|
1101
|
+
}
|
|
1102
|
+
if (obj_lastTestedDate_union0 && obj_lastTestedDate_union1) {
|
|
1103
|
+
let message = 'Object doesn\'t match union (at "' + path_lastTestedDate + '")';
|
|
1104
|
+
message += '\n' + obj_lastTestedDate_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
1105
|
+
message += '\n' + obj_lastTestedDate_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
1106
|
+
return new TypeError(message);
|
|
1023
1107
|
}
|
|
1024
1108
|
const obj_name = obj.name;
|
|
1025
1109
|
const path_name = path + '.name';
|
|
@@ -1110,7 +1194,7 @@ function ingestError$2(luvio, params, error, snapshotRefresh) {
|
|
|
1110
1194
|
function createResourceRequest$3(config) {
|
|
1111
1195
|
const headers = {};
|
|
1112
1196
|
return {
|
|
1113
|
-
baseUri: '/services/data/
|
|
1197
|
+
baseUri: '/services/data/v62.0',
|
|
1114
1198
|
basePath: '/external-connectivity/connections/' + config.urlParams.connectionDeveloperName + '',
|
|
1115
1199
|
method: 'get',
|
|
1116
1200
|
body: null,
|
|
@@ -1360,7 +1444,7 @@ function ingestSuccess$2(luvio, resourceParams, response) {
|
|
|
1360
1444
|
function createResourceRequest$2(config) {
|
|
1361
1445
|
const headers = {};
|
|
1362
1446
|
return {
|
|
1363
|
-
baseUri: '/services/data/
|
|
1447
|
+
baseUri: '/services/data/v62.0',
|
|
1364
1448
|
basePath: '/external-connectivity/connections/' + config.urlParams.connectionDeveloperName + '/test',
|
|
1365
1449
|
method: 'post',
|
|
1366
1450
|
body: null,
|
|
@@ -1530,7 +1614,7 @@ function ingestError$1(luvio, params, error, snapshotRefresh) {
|
|
|
1530
1614
|
function createResourceRequest$1(config) {
|
|
1531
1615
|
const headers = {};
|
|
1532
1616
|
return {
|
|
1533
|
-
baseUri: '/services/data/
|
|
1617
|
+
baseUri: '/services/data/v62.0',
|
|
1534
1618
|
basePath: '/external-connectivity/connectors',
|
|
1535
1619
|
method: 'get',
|
|
1536
1620
|
body: null,
|
|
@@ -1819,7 +1903,7 @@ function ingestError(luvio, params, error, snapshotRefresh) {
|
|
|
1819
1903
|
function createResourceRequest(config) {
|
|
1820
1904
|
const headers = {};
|
|
1821
1905
|
return {
|
|
1822
|
-
baseUri: '/services/data/
|
|
1906
|
+
baseUri: '/services/data/v62.0',
|
|
1823
1907
|
basePath: '/external-connectivity/connectors/' + config.urlParams.connectorDeveloperName + '',
|
|
1824
1908
|
method: 'get',
|
|
1825
1909
|
body: null,
|
|
@@ -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 = "7ca6b78397dd8632eba2e72a10134d04";
|
|
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;
|
|
@@ -24,7 +24,7 @@ export interface ExternalConnectivityConnectionDetailsRepresentationNormalized {
|
|
|
24
24
|
/** External Connectivity Connection Created Date */
|
|
25
25
|
createdDate: string;
|
|
26
26
|
/** External Connectivity Connection Description */
|
|
27
|
-
description: string;
|
|
27
|
+
description: string | null;
|
|
28
28
|
/** External Connectivity Connection Developer Name */
|
|
29
29
|
developerName: string;
|
|
30
30
|
/** External Connectivity Connection Established Flag */
|
|
@@ -35,7 +35,7 @@ export interface ExternalConnectivityConnectionDetailsRepresentationNormalized {
|
|
|
35
35
|
/** External Connectivity Connection Last Modified Date */
|
|
36
36
|
lastModifiedDate: string;
|
|
37
37
|
/** External Connectivity Connection Last Tested Date */
|
|
38
|
-
lastTestedDate: string;
|
|
38
|
+
lastTestedDate: string | null;
|
|
39
39
|
/** External Connectivity Connection Name */
|
|
40
40
|
name: string;
|
|
41
41
|
}
|
|
@@ -49,12 +49,12 @@ export interface ExternalConnectivityConnectionDetailsRepresentation {
|
|
|
49
49
|
authenticationType: AuthenticationTypeRepresentation_AuthenticationTypeRepresentation;
|
|
50
50
|
createdBy: string;
|
|
51
51
|
createdDate: string;
|
|
52
|
-
description: string;
|
|
52
|
+
description: string | null;
|
|
53
53
|
developerName: string;
|
|
54
54
|
established: boolean;
|
|
55
55
|
externalConnectorMetadata: ExternalConnectivityConnectorRepresentation_ExternalConnectivityConnectorRepresentation;
|
|
56
56
|
lastModifiedBy: string;
|
|
57
57
|
lastModifiedDate: string;
|
|
58
|
-
lastTestedDate: string;
|
|
58
|
+
lastTestedDate: string | null;
|
|
59
59
|
name: string;
|
|
60
60
|
}
|
package/dist/es/es2018/types/src/generated/types/ExternalConnectivityConnectionRepresentation.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
2
|
import { ExternalConnectivityConnectorRepresentation as ExternalConnectivityConnectorRepresentation_ExternalConnectivityConnectorRepresentation } from './ExternalConnectivityConnectorRepresentation';
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "89d2327df1e3dc86e80db8de5afc6ad8";
|
|
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: ExternalConnectivityConnectionRepresentation, existing: ExternalConnectivityConnectionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ExternalConnectivityConnectionRepresentationNormalized;
|
|
@@ -29,7 +29,7 @@ export interface ExternalConnectivityConnectionRepresentationNormalized {
|
|
|
29
29
|
/** External Connectivity Connection Created Date */
|
|
30
30
|
createdDate: string;
|
|
31
31
|
/** External Connectivity Connection Description */
|
|
32
|
-
description: string;
|
|
32
|
+
description: string | null;
|
|
33
33
|
/** External Connectivity Connection Developer Name */
|
|
34
34
|
developerName: string;
|
|
35
35
|
/** External Connectivity Connection Established Flag */
|
|
@@ -40,7 +40,7 @@ export interface ExternalConnectivityConnectionRepresentationNormalized {
|
|
|
40
40
|
/** External Connectivity Connection Last Modified Date */
|
|
41
41
|
lastModifiedDate: string;
|
|
42
42
|
/** External Connectivity Connection Last Tested Date */
|
|
43
|
-
lastTestedDate: string;
|
|
43
|
+
lastTestedDate: string | null;
|
|
44
44
|
/** External Connectivity Connection Name */
|
|
45
45
|
name: string;
|
|
46
46
|
}
|
|
@@ -53,12 +53,12 @@ export interface ExternalConnectivityConnectionRepresentationNormalized {
|
|
|
53
53
|
export interface ExternalConnectivityConnectionRepresentation {
|
|
54
54
|
createdBy: string;
|
|
55
55
|
createdDate: string;
|
|
56
|
-
description: string;
|
|
56
|
+
description: string | null;
|
|
57
57
|
developerName: string;
|
|
58
58
|
established: boolean;
|
|
59
59
|
externalConnectorMetadata: ExternalConnectivityConnectorRepresentation_ExternalConnectivityConnectorRepresentation;
|
|
60
60
|
lastModifiedBy: string;
|
|
61
61
|
lastModifiedDate: string;
|
|
62
|
-
lastTestedDate: string;
|
|
62
|
+
lastTestedDate: string | null;
|
|
63
63
|
name: string;
|
|
64
64
|
}
|
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.290.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",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"test:unit": "jest"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@salesforce/lds-bindings": "^1.
|
|
43
|
+
"@salesforce/lds-bindings": "^1.290.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.290.0"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -225,7 +225,7 @@ function ingestSuccess$5(luvio, resourceParams, response) {
|
|
|
225
225
|
function createResourceRequest$5(config) {
|
|
226
226
|
const headers = {};
|
|
227
227
|
return {
|
|
228
|
-
baseUri: '/services/data/
|
|
228
|
+
baseUri: '/services/data/v62.0',
|
|
229
229
|
basePath: '/external-connectivity/connections',
|
|
230
230
|
method: 'post',
|
|
231
231
|
body: config.body,
|
|
@@ -537,7 +537,7 @@ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
537
537
|
}
|
|
538
538
|
|
|
539
539
|
const TTL$4 = 500;
|
|
540
|
-
const VERSION$5 = "
|
|
540
|
+
const VERSION$5 = "7ca6b78397dd8632eba2e72a10134d04";
|
|
541
541
|
function validate$6(obj, path = 'ExternalConnectivityConnectionDetailsRepresentation') {
|
|
542
542
|
const v_error = (() => {
|
|
543
543
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -563,8 +563,29 @@ function validate$6(obj, path = 'ExternalConnectivityConnectionDetailsRepresenta
|
|
|
563
563
|
}
|
|
564
564
|
const obj_description = obj.description;
|
|
565
565
|
const path_description = path + '.description';
|
|
566
|
-
|
|
567
|
-
|
|
566
|
+
let obj_description_union0 = null;
|
|
567
|
+
const obj_description_union0_error = (() => {
|
|
568
|
+
if (typeof obj_description !== 'string') {
|
|
569
|
+
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
570
|
+
}
|
|
571
|
+
})();
|
|
572
|
+
if (obj_description_union0_error != null) {
|
|
573
|
+
obj_description_union0 = obj_description_union0_error.message;
|
|
574
|
+
}
|
|
575
|
+
let obj_description_union1 = null;
|
|
576
|
+
const obj_description_union1_error = (() => {
|
|
577
|
+
if (obj_description !== null) {
|
|
578
|
+
return new TypeError('Expected "null" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
579
|
+
}
|
|
580
|
+
})();
|
|
581
|
+
if (obj_description_union1_error != null) {
|
|
582
|
+
obj_description_union1 = obj_description_union1_error.message;
|
|
583
|
+
}
|
|
584
|
+
if (obj_description_union0 && obj_description_union1) {
|
|
585
|
+
let message = 'Object doesn\'t match union (at "' + path_description + '")';
|
|
586
|
+
message += '\n' + obj_description_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
587
|
+
message += '\n' + obj_description_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
588
|
+
return new TypeError(message);
|
|
568
589
|
}
|
|
569
590
|
const obj_developerName = obj.developerName;
|
|
570
591
|
const path_developerName = path + '.developerName';
|
|
@@ -596,8 +617,29 @@ function validate$6(obj, path = 'ExternalConnectivityConnectionDetailsRepresenta
|
|
|
596
617
|
}
|
|
597
618
|
const obj_lastTestedDate = obj.lastTestedDate;
|
|
598
619
|
const path_lastTestedDate = path + '.lastTestedDate';
|
|
599
|
-
|
|
600
|
-
|
|
620
|
+
let obj_lastTestedDate_union0 = null;
|
|
621
|
+
const obj_lastTestedDate_union0_error = (() => {
|
|
622
|
+
if (typeof obj_lastTestedDate !== 'string') {
|
|
623
|
+
return new TypeError('Expected "string" but received "' + typeof obj_lastTestedDate + '" (at "' + path_lastTestedDate + '")');
|
|
624
|
+
}
|
|
625
|
+
})();
|
|
626
|
+
if (obj_lastTestedDate_union0_error != null) {
|
|
627
|
+
obj_lastTestedDate_union0 = obj_lastTestedDate_union0_error.message;
|
|
628
|
+
}
|
|
629
|
+
let obj_lastTestedDate_union1 = null;
|
|
630
|
+
const obj_lastTestedDate_union1_error = (() => {
|
|
631
|
+
if (obj_lastTestedDate !== null) {
|
|
632
|
+
return new TypeError('Expected "null" but received "' + typeof obj_lastTestedDate + '" (at "' + path_lastTestedDate + '")');
|
|
633
|
+
}
|
|
634
|
+
})();
|
|
635
|
+
if (obj_lastTestedDate_union1_error != null) {
|
|
636
|
+
obj_lastTestedDate_union1 = obj_lastTestedDate_union1_error.message;
|
|
637
|
+
}
|
|
638
|
+
if (obj_lastTestedDate_union0 && obj_lastTestedDate_union1) {
|
|
639
|
+
let message = 'Object doesn\'t match union (at "' + path_lastTestedDate + '")';
|
|
640
|
+
message += '\n' + obj_lastTestedDate_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
641
|
+
message += '\n' + obj_lastTestedDate_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
642
|
+
return new TypeError(message);
|
|
601
643
|
}
|
|
602
644
|
const obj_name = obj.name;
|
|
603
645
|
const path_name = path + '.name';
|
|
@@ -688,7 +730,7 @@ function ingestError$3(luvio, params, error, snapshotRefresh) {
|
|
|
688
730
|
function createResourceRequest$4(config) {
|
|
689
731
|
const headers = {};
|
|
690
732
|
return {
|
|
691
|
-
baseUri: '/services/data/
|
|
733
|
+
baseUri: '/services/data/v62.0',
|
|
692
734
|
basePath: '/external-connectivity/connections/' + config.urlParams.connectionDeveloperName + '',
|
|
693
735
|
method: 'get',
|
|
694
736
|
body: null,
|
|
@@ -785,7 +827,7 @@ const getConnectionDetailsAdapterFactory = (luvio) => function externalConnectiv
|
|
|
785
827
|
buildCachedSnapshotCachePolicy$3, buildNetworkSnapshotCachePolicy$3);
|
|
786
828
|
};
|
|
787
829
|
|
|
788
|
-
const VERSION$4 = "
|
|
830
|
+
const VERSION$4 = "89d2327df1e3dc86e80db8de5afc6ad8";
|
|
789
831
|
function validate$5(obj, path = 'ExternalConnectivityConnectionRepresentation') {
|
|
790
832
|
const v_error = (() => {
|
|
791
833
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -803,8 +845,29 @@ function validate$5(obj, path = 'ExternalConnectivityConnectionRepresentation')
|
|
|
803
845
|
}
|
|
804
846
|
const obj_description = obj.description;
|
|
805
847
|
const path_description = path + '.description';
|
|
806
|
-
|
|
807
|
-
|
|
848
|
+
let obj_description_union0 = null;
|
|
849
|
+
const obj_description_union0_error = (() => {
|
|
850
|
+
if (typeof obj_description !== 'string') {
|
|
851
|
+
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
852
|
+
}
|
|
853
|
+
})();
|
|
854
|
+
if (obj_description_union0_error != null) {
|
|
855
|
+
obj_description_union0 = obj_description_union0_error.message;
|
|
856
|
+
}
|
|
857
|
+
let obj_description_union1 = null;
|
|
858
|
+
const obj_description_union1_error = (() => {
|
|
859
|
+
if (obj_description !== null) {
|
|
860
|
+
return new TypeError('Expected "null" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
861
|
+
}
|
|
862
|
+
})();
|
|
863
|
+
if (obj_description_union1_error != null) {
|
|
864
|
+
obj_description_union1 = obj_description_union1_error.message;
|
|
865
|
+
}
|
|
866
|
+
if (obj_description_union0 && obj_description_union1) {
|
|
867
|
+
let message = 'Object doesn\'t match union (at "' + path_description + '")';
|
|
868
|
+
message += '\n' + obj_description_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
869
|
+
message += '\n' + obj_description_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
870
|
+
return new TypeError(message);
|
|
808
871
|
}
|
|
809
872
|
const obj_developerName = obj.developerName;
|
|
810
873
|
const path_developerName = path + '.developerName';
|
|
@@ -833,8 +896,29 @@ function validate$5(obj, path = 'ExternalConnectivityConnectionRepresentation')
|
|
|
833
896
|
}
|
|
834
897
|
const obj_lastTestedDate = obj.lastTestedDate;
|
|
835
898
|
const path_lastTestedDate = path + '.lastTestedDate';
|
|
836
|
-
|
|
837
|
-
|
|
899
|
+
let obj_lastTestedDate_union0 = null;
|
|
900
|
+
const obj_lastTestedDate_union0_error = (() => {
|
|
901
|
+
if (typeof obj_lastTestedDate !== 'string') {
|
|
902
|
+
return new TypeError('Expected "string" but received "' + typeof obj_lastTestedDate + '" (at "' + path_lastTestedDate + '")');
|
|
903
|
+
}
|
|
904
|
+
})();
|
|
905
|
+
if (obj_lastTestedDate_union0_error != null) {
|
|
906
|
+
obj_lastTestedDate_union0 = obj_lastTestedDate_union0_error.message;
|
|
907
|
+
}
|
|
908
|
+
let obj_lastTestedDate_union1 = null;
|
|
909
|
+
const obj_lastTestedDate_union1_error = (() => {
|
|
910
|
+
if (obj_lastTestedDate !== null) {
|
|
911
|
+
return new TypeError('Expected "null" but received "' + typeof obj_lastTestedDate + '" (at "' + path_lastTestedDate + '")');
|
|
912
|
+
}
|
|
913
|
+
})();
|
|
914
|
+
if (obj_lastTestedDate_union1_error != null) {
|
|
915
|
+
obj_lastTestedDate_union1 = obj_lastTestedDate_union1_error.message;
|
|
916
|
+
}
|
|
917
|
+
if (obj_lastTestedDate_union0 && obj_lastTestedDate_union1) {
|
|
918
|
+
let message = 'Object doesn\'t match union (at "' + path_lastTestedDate + '")';
|
|
919
|
+
message += '\n' + obj_lastTestedDate_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
920
|
+
message += '\n' + obj_lastTestedDate_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
921
|
+
return new TypeError(message);
|
|
838
922
|
}
|
|
839
923
|
const obj_name = obj.name;
|
|
840
924
|
const path_name = path + '.name';
|
|
@@ -926,11 +1010,6 @@ function equals$4(existing, incoming) {
|
|
|
926
1010
|
if (!(existing_createdDate === incoming_createdDate)) {
|
|
927
1011
|
return false;
|
|
928
1012
|
}
|
|
929
|
-
const existing_description = existing.description;
|
|
930
|
-
const incoming_description = incoming.description;
|
|
931
|
-
if (!(existing_description === incoming_description)) {
|
|
932
|
-
return false;
|
|
933
|
-
}
|
|
934
1013
|
const existing_developerName = existing.developerName;
|
|
935
1014
|
const incoming_developerName = incoming.developerName;
|
|
936
1015
|
if (!(existing_developerName === incoming_developerName)) {
|
|
@@ -946,21 +1025,26 @@ function equals$4(existing, incoming) {
|
|
|
946
1025
|
if (!(existing_lastModifiedDate === incoming_lastModifiedDate)) {
|
|
947
1026
|
return false;
|
|
948
1027
|
}
|
|
949
|
-
const existing_lastTestedDate = existing.lastTestedDate;
|
|
950
|
-
const incoming_lastTestedDate = incoming.lastTestedDate;
|
|
951
|
-
if (!(existing_lastTestedDate === incoming_lastTestedDate)) {
|
|
952
|
-
return false;
|
|
953
|
-
}
|
|
954
1028
|
const existing_name = existing.name;
|
|
955
1029
|
const incoming_name = incoming.name;
|
|
956
1030
|
if (!(existing_name === incoming_name)) {
|
|
957
1031
|
return false;
|
|
958
1032
|
}
|
|
1033
|
+
const existing_description = existing.description;
|
|
1034
|
+
const incoming_description = incoming.description;
|
|
1035
|
+
if (!(existing_description === incoming_description)) {
|
|
1036
|
+
return false;
|
|
1037
|
+
}
|
|
959
1038
|
const existing_externalConnectorMetadata = existing.externalConnectorMetadata;
|
|
960
1039
|
const incoming_externalConnectorMetadata = incoming.externalConnectorMetadata;
|
|
961
1040
|
if (!(existing_externalConnectorMetadata.__ref === incoming_externalConnectorMetadata.__ref)) {
|
|
962
1041
|
return false;
|
|
963
1042
|
}
|
|
1043
|
+
const existing_lastTestedDate = existing.lastTestedDate;
|
|
1044
|
+
const incoming_lastTestedDate = incoming.lastTestedDate;
|
|
1045
|
+
if (!(existing_lastTestedDate === incoming_lastTestedDate)) {
|
|
1046
|
+
return false;
|
|
1047
|
+
}
|
|
964
1048
|
return true;
|
|
965
1049
|
}
|
|
966
1050
|
const ingest$4 = function ExternalConnectivityConnectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
@@ -1123,7 +1207,7 @@ function ingestError$2(luvio, params, error, snapshotRefresh) {
|
|
|
1123
1207
|
function createResourceRequest$3(config) {
|
|
1124
1208
|
const headers = {};
|
|
1125
1209
|
return {
|
|
1126
|
-
baseUri: '/services/data/
|
|
1210
|
+
baseUri: '/services/data/v62.0',
|
|
1127
1211
|
basePath: '/external-connectivity/connections',
|
|
1128
1212
|
method: 'get',
|
|
1129
1213
|
body: null,
|
|
@@ -1412,7 +1496,7 @@ function ingestError$1(luvio, params, error, snapshotRefresh) {
|
|
|
1412
1496
|
function createResourceRequest$2(config) {
|
|
1413
1497
|
const headers = {};
|
|
1414
1498
|
return {
|
|
1415
|
-
baseUri: '/services/data/
|
|
1499
|
+
baseUri: '/services/data/v62.0',
|
|
1416
1500
|
basePath: '/external-connectivity/connectors/' + config.urlParams.connectorDeveloperName + '',
|
|
1417
1501
|
method: 'get',
|
|
1418
1502
|
body: null,
|
|
@@ -1615,7 +1699,7 @@ function ingestError(luvio, params, error, snapshotRefresh) {
|
|
|
1615
1699
|
function createResourceRequest$1(config) {
|
|
1616
1700
|
const headers = {};
|
|
1617
1701
|
return {
|
|
1618
|
-
baseUri: '/services/data/
|
|
1702
|
+
baseUri: '/services/data/v62.0',
|
|
1619
1703
|
basePath: '/external-connectivity/connectors',
|
|
1620
1704
|
method: 'get',
|
|
1621
1705
|
body: null,
|
|
@@ -1862,7 +1946,7 @@ function ingestSuccess(luvio, resourceParams, response) {
|
|
|
1862
1946
|
function createResourceRequest(config) {
|
|
1863
1947
|
const headers = {};
|
|
1864
1948
|
return {
|
|
1865
|
-
baseUri: '/services/data/
|
|
1949
|
+
baseUri: '/services/data/v62.0',
|
|
1866
1950
|
basePath: '/external-connectivity/connections/' + config.urlParams.connectionDeveloperName + '/test',
|
|
1867
1951
|
method: 'post',
|
|
1868
1952
|
body: null,
|
|
@@ -1999,4 +2083,4 @@ withDefaultLuvio((luvio) => {
|
|
|
1999
2083
|
});
|
|
2000
2084
|
|
|
2001
2085
|
export { createConnection, getConnectionDetails, getConnectionDetails_imperative, getConnections, getConnections_imperative, getConnectorDetails, getConnectorDetails_imperative, getConnectors, getConnectors_imperative, testConnection };
|
|
2002
|
-
// version: 1.
|
|
2086
|
+
// version: 1.290.0-e2ccd0161
|
package/src/raml/api.raml
CHANGED
|
@@ -6,7 +6,7 @@ version: '61.0'
|
|
|
6
6
|
mediaType: application/json
|
|
7
7
|
protocols:
|
|
8
8
|
- https
|
|
9
|
-
baseUri: /services/data/
|
|
9
|
+
baseUri: /services/data/v62.0
|
|
10
10
|
securitySchemes:
|
|
11
11
|
OAuth2:
|
|
12
12
|
type: OAuth 2.0
|
|
@@ -161,7 +161,7 @@ types:
|
|
|
161
161
|
type: string
|
|
162
162
|
description:
|
|
163
163
|
description: External Connectivity Connection Description
|
|
164
|
-
type: string
|
|
164
|
+
type: string | nil
|
|
165
165
|
developerName:
|
|
166
166
|
description: External Connectivity Connection Developer Name
|
|
167
167
|
type: string
|
|
@@ -179,7 +179,7 @@ types:
|
|
|
179
179
|
type: string
|
|
180
180
|
lastTestedDate:
|
|
181
181
|
description: External Connectivity Connection Last Tested Date
|
|
182
|
-
type: string
|
|
182
|
+
type: string | nil
|
|
183
183
|
name:
|
|
184
184
|
description: External Connectivity Connection Name
|
|
185
185
|
type: string
|
|
@@ -220,7 +220,7 @@ types:
|
|
|
220
220
|
type: string
|
|
221
221
|
description:
|
|
222
222
|
description: External Connectivity Connection Description
|
|
223
|
-
type: string
|
|
223
|
+
type: string | nil
|
|
224
224
|
developerName:
|
|
225
225
|
description: External Connectivity Connection Developer Name
|
|
226
226
|
type: string
|
|
@@ -238,7 +238,7 @@ types:
|
|
|
238
238
|
type: string
|
|
239
239
|
lastTestedDate:
|
|
240
240
|
description: External Connectivity Connection Last Tested Date
|
|
241
|
-
type: string
|
|
241
|
+
type: string | nil
|
|
242
242
|
name:
|
|
243
243
|
description: External Connectivity Connection Name
|
|
244
244
|
type: string
|