@salesforce/lds-adapters-platform-external-connectivity 1.405.0 → 1.410.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.
@@ -1282,6 +1282,32 @@ function validate$g(obj, path = 'AuthenticationParameterDefinitionRepresentation
1282
1282
  if (typeof obj_description !== 'string') {
1283
1283
  return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
1284
1284
  }
1285
+ const obj_formula = obj.formula;
1286
+ const path_formula = path + '.formula';
1287
+ let obj_formula_union0 = null;
1288
+ const obj_formula_union0_error = (() => {
1289
+ if (typeof obj_formula !== 'string') {
1290
+ return new TypeError('Expected "string" but received "' + typeof obj_formula + '" (at "' + path_formula + '")');
1291
+ }
1292
+ })();
1293
+ if (obj_formula_union0_error != null) {
1294
+ obj_formula_union0 = obj_formula_union0_error.message;
1295
+ }
1296
+ let obj_formula_union1 = null;
1297
+ const obj_formula_union1_error = (() => {
1298
+ if (obj_formula !== null) {
1299
+ return new TypeError('Expected "null" but received "' + typeof obj_formula + '" (at "' + path_formula + '")');
1300
+ }
1301
+ })();
1302
+ if (obj_formula_union1_error != null) {
1303
+ obj_formula_union1 = obj_formula_union1_error.message;
1304
+ }
1305
+ if (obj_formula_union0 && obj_formula_union1) {
1306
+ let message = 'Object doesn\'t match union (at "' + path_formula + '")';
1307
+ message += '\n' + obj_formula_union0.split('\n').map((line) => '\t' + line).join('\n');
1308
+ message += '\n' + obj_formula_union1.split('\n').map((line) => '\t' + line).join('\n');
1309
+ return new TypeError(message);
1310
+ }
1285
1311
  const obj_helpText = obj.helpText;
1286
1312
  const path_helpText = path + '.helpText';
1287
1313
  let obj_helpText_union0 = null;
@@ -1308,6 +1334,11 @@ function validate$g(obj, path = 'AuthenticationParameterDefinitionRepresentation
1308
1334
  message += '\n' + obj_helpText_union1.split('\n').map((line) => '\t' + line).join('\n');
1309
1335
  return new TypeError(message);
1310
1336
  }
1337
+ const obj_isFormulaInput = obj.isFormulaInput;
1338
+ const path_isFormulaInput = path + '.isFormulaInput';
1339
+ if (typeof obj_isFormulaInput !== 'boolean') {
1340
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isFormulaInput + '" (at "' + path_isFormulaInput + '")');
1341
+ }
1311
1342
  const obj_label = obj.label;
1312
1343
  const path_label = path + '.label';
1313
1344
  if (typeof obj_label !== 'string') {
@@ -1333,6 +1364,11 @@ function validate$g(obj, path = 'AuthenticationParameterDefinitionRepresentation
1333
1364
  if (typeof obj_secret !== 'boolean') {
1334
1365
  return new TypeError('Expected "boolean" but received "' + typeof obj_secret + '" (at "' + path_secret + '")');
1335
1366
  }
1367
+ const obj_shouldHide = obj.shouldHide;
1368
+ const path_shouldHide = path + '.shouldHide';
1369
+ if (typeof obj_shouldHide !== 'boolean') {
1370
+ return new TypeError('Expected "boolean" but received "' + typeof obj_shouldHide + '" (at "' + path_shouldHide + '")');
1371
+ }
1336
1372
  const obj_valueType = obj.valueType;
1337
1373
  const path_valueType = path + '.valueType';
1338
1374
  if (typeof obj_valueType !== 'string') {
@@ -1,5 +1,5 @@
1
1
  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';
2
- export declare const VERSION = "daafc7db8fe4ae9f78b3528d687912b0";
2
+ export declare const VERSION = "e0c41a828fd57a815e6510fc8bfd2d94";
3
3
  export declare function validate(obj: any, path?: string): TypeError | null;
4
4
  export declare const RepresentationType: string;
5
5
  export declare function normalize(input: AuthenticationParameterDefinitionRepresentation, existing: AuthenticationParameterDefinitionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AuthenticationParameterDefinitionRepresentationNormalized;
@@ -16,8 +16,12 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
16
16
  export interface AuthenticationParameterDefinitionRepresentationNormalized {
17
17
  /** External Connectivity Connector Authentication Parameter Definition Description */
18
18
  description: string;
19
+ /** External Connectivity Connector Authentication Parameter Definition Formula */
20
+ formula: string | null;
19
21
  /** External Connectivity Connector Authentication Parameter Definition Help Text */
20
22
  helpText: string | null;
23
+ /** External Connectivity Connector Authentication Parameter Definition Is Formula Input Flag */
24
+ isFormulaInput: boolean;
21
25
  /** External Connectivity Connector Authentication Parameter Definition Label */
22
26
  label: string;
23
27
  /** External Connectivity Connector Authentication Parameter Definition Max Length */
@@ -28,6 +32,8 @@ export interface AuthenticationParameterDefinitionRepresentationNormalized {
28
32
  required: boolean;
29
33
  /** External Connectivity Connector Authentication Parameter Definition Secret Flag */
30
34
  secret: boolean;
35
+ /** External Connectivity Connector Authentication Parameter Definition Should Hide Flag */
36
+ shouldHide: boolean;
31
37
  /** External Connectivity Connector Authentication Parameter Definition Value Type */
32
38
  valueType: string;
33
39
  }
@@ -39,11 +45,14 @@ export interface AuthenticationParameterDefinitionRepresentationNormalized {
39
45
  */
40
46
  export interface AuthenticationParameterDefinitionRepresentation {
41
47
  description: string;
48
+ formula: string | null;
42
49
  helpText: string | null;
50
+ isFormulaInput: boolean;
43
51
  label: string;
44
52
  maxLength: number;
45
53
  name: string;
46
54
  required: boolean;
47
55
  secret: boolean;
56
+ shouldHide: boolean;
48
57
  valueType: string;
49
58
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-platform-external-connectivity",
3
- "version": "1.405.0",
3
+ "version": "1.410.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.405.0"
44
+ "@salesforce/lds-bindings": "^1.410.0"
45
45
  },
46
46
  "devDependencies": {
47
- "@salesforce/lds-compiler-plugins": "^1.405.0"
47
+ "@salesforce/lds-compiler-plugins": "^1.410.0"
48
48
  },
49
49
  "nx": {
50
50
  "targets": {
package/sfdc/index.js CHANGED
@@ -547,6 +547,32 @@ function validate$k(obj, path = 'AuthenticationParameterDefinitionRepresentation
547
547
  if (typeof obj_description !== 'string') {
548
548
  return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
549
549
  }
550
+ const obj_formula = obj.formula;
551
+ const path_formula = path + '.formula';
552
+ let obj_formula_union0 = null;
553
+ const obj_formula_union0_error = (() => {
554
+ if (typeof obj_formula !== 'string') {
555
+ return new TypeError('Expected "string" but received "' + typeof obj_formula + '" (at "' + path_formula + '")');
556
+ }
557
+ })();
558
+ if (obj_formula_union0_error != null) {
559
+ obj_formula_union0 = obj_formula_union0_error.message;
560
+ }
561
+ let obj_formula_union1 = null;
562
+ const obj_formula_union1_error = (() => {
563
+ if (obj_formula !== null) {
564
+ return new TypeError('Expected "null" but received "' + typeof obj_formula + '" (at "' + path_formula + '")');
565
+ }
566
+ })();
567
+ if (obj_formula_union1_error != null) {
568
+ obj_formula_union1 = obj_formula_union1_error.message;
569
+ }
570
+ if (obj_formula_union0 && obj_formula_union1) {
571
+ let message = 'Object doesn\'t match union (at "' + path_formula + '")';
572
+ message += '\n' + obj_formula_union0.split('\n').map((line) => '\t' + line).join('\n');
573
+ message += '\n' + obj_formula_union1.split('\n').map((line) => '\t' + line).join('\n');
574
+ return new TypeError(message);
575
+ }
550
576
  const obj_helpText = obj.helpText;
551
577
  const path_helpText = path + '.helpText';
552
578
  let obj_helpText_union0 = null;
@@ -573,6 +599,11 @@ function validate$k(obj, path = 'AuthenticationParameterDefinitionRepresentation
573
599
  message += '\n' + obj_helpText_union1.split('\n').map((line) => '\t' + line).join('\n');
574
600
  return new TypeError(message);
575
601
  }
602
+ const obj_isFormulaInput = obj.isFormulaInput;
603
+ const path_isFormulaInput = path + '.isFormulaInput';
604
+ if (typeof obj_isFormulaInput !== 'boolean') {
605
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isFormulaInput + '" (at "' + path_isFormulaInput + '")');
606
+ }
576
607
  const obj_label = obj.label;
577
608
  const path_label = path + '.label';
578
609
  if (typeof obj_label !== 'string') {
@@ -598,6 +629,11 @@ function validate$k(obj, path = 'AuthenticationParameterDefinitionRepresentation
598
629
  if (typeof obj_secret !== 'boolean') {
599
630
  return new TypeError('Expected "boolean" but received "' + typeof obj_secret + '" (at "' + path_secret + '")');
600
631
  }
632
+ const obj_shouldHide = obj.shouldHide;
633
+ const path_shouldHide = path + '.shouldHide';
634
+ if (typeof obj_shouldHide !== 'boolean') {
635
+ return new TypeError('Expected "boolean" but received "' + typeof obj_shouldHide + '" (at "' + path_shouldHide + '")');
636
+ }
601
637
  const obj_valueType = obj.valueType;
602
638
  const path_valueType = path + '.valueType';
603
639
  if (typeof obj_valueType !== 'string') {
@@ -4104,4 +4140,4 @@ withDefaultLuvio((luvio) => {
4104
4140
  });
4105
4141
 
4106
4142
  export { createConnection, deleteConnection, getConnectionDetails, getConnectionDetails_imperative, getConnections, getConnections_imperative, getConnectorDetails, getConnectorDetails_imperative, getConnectors, getConnectors_imperative, getExternalConnectivityConnectionReferencedFlows, getExternalConnectivityConnectionReferencedFlows_imperative, getExternalIdentityProviders, getExternalIdentityProviders_imperative, getInvocableActions, getInvocableActions_imperative, notifyConnectionListUpdateAvailable, refreshMetadata, testConnection, updateConnection };
4107
- // version: 1.405.0-13ac2fd8fa
4143
+ // version: 1.410.0-7c228ee347
package/src/raml/api.raml CHANGED
@@ -34,10 +34,18 @@ types:
34
34
  description: External Connectivity Connector Authentication Parameter Definition
35
35
  Description
36
36
  type: string
37
+ formula:
38
+ description: External Connectivity Connector Authentication Parameter Definition
39
+ Formula
40
+ type: string | nil
37
41
  helpText:
38
42
  description: External Connectivity Connector Authentication Parameter Definition
39
43
  Help Text
40
44
  type: string | nil
45
+ isFormulaInput:
46
+ description: External Connectivity Connector Authentication Parameter Definition
47
+ Is Formula Input Flag
48
+ type: boolean
41
49
  label:
42
50
  description: External Connectivity Connector Authentication Parameter Definition
43
51
  Label
@@ -58,6 +66,10 @@ types:
58
66
  description: External Connectivity Connector Authentication Parameter Definition
59
67
  Secret Flag
60
68
  type: boolean
69
+ shouldHide:
70
+ description: External Connectivity Connector Authentication Parameter Definition
71
+ Should Hide Flag
72
+ type: boolean
61
73
  valueType:
62
74
  description: External Connectivity Connector Authentication Parameter Definition
63
75
  Value Type