@salesforce/lds-adapters-industries-context 1.400.0 → 1.401.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.
@@ -1223,7 +1223,7 @@ function equals$t(existing, incoming) {
1223
1223
  }
1224
1224
 
1225
1225
  const TTL$n = 1000;
1226
- const VERSION$s = "b9415d382c5aeb3ca74fd1e039fa0a61";
1226
+ const VERSION$s = "2e8845c43d6c19d7d70c79463be0c482";
1227
1227
  function validate$K(obj, path = 'ContextDefinitionInfoRepresentation') {
1228
1228
  const v_error = (() => {
1229
1229
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -1339,6 +1339,13 @@ function validate$K(obj, path = 'ContextDefinitionInfoRepresentation') {
1339
1339
  return new TypeError('Expected "boolean" but received "' + typeof obj_isActive + '" (at "' + path_isActive + '")');
1340
1340
  }
1341
1341
  }
1342
+ if (obj.isApexGenerated !== undefined) {
1343
+ const obj_isApexGenerated = obj.isApexGenerated;
1344
+ const path_isApexGenerated = path + '.isApexGenerated';
1345
+ if (typeof obj_isApexGenerated !== 'boolean') {
1346
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isApexGenerated + '" (at "' + path_isApexGenerated + '")');
1347
+ }
1348
+ }
1342
1349
  if (obj.isEditable !== undefined) {
1343
1350
  const obj_isEditable = obj.isEditable;
1344
1351
  const path_isEditable = path + '.isEditable';
@@ -1510,6 +1517,11 @@ const select$19 = function ContextDefinitionInfoRepresentationSelect() {
1510
1517
  kind: 'Scalar',
1511
1518
  required: false
1512
1519
  },
1520
+ {
1521
+ name: 'isApexGenerated',
1522
+ kind: 'Scalar',
1523
+ required: false
1524
+ },
1513
1525
  {
1514
1526
  name: 'isEditable',
1515
1527
  kind: 'Scalar',
@@ -1600,6 +1612,19 @@ function equals$s(existing, incoming) {
1600
1612
  return false;
1601
1613
  }
1602
1614
  }
1615
+ const existing_isApexGenerated = existing.isApexGenerated;
1616
+ const incoming_isApexGenerated = incoming.isApexGenerated;
1617
+ // if at least one of these optionals is defined
1618
+ if (existing_isApexGenerated !== undefined || incoming_isApexGenerated !== undefined) {
1619
+ // if one of these is not defined we know the other is defined and therefore
1620
+ // not equal
1621
+ if (existing_isApexGenerated === undefined || incoming_isApexGenerated === undefined) {
1622
+ return false;
1623
+ }
1624
+ if (!(existing_isApexGenerated === incoming_isApexGenerated)) {
1625
+ return false;
1626
+ }
1627
+ }
1603
1628
  const existing_isEditable = existing.isEditable;
1604
1629
  const incoming_isEditable = incoming.isEditable;
1605
1630
  // if at least one of these optionals is defined
@@ -2258,6 +2283,13 @@ function validate$G(obj, path = 'ContextDefinitionsInputRepresentation') {
2258
2283
  return new TypeError('Expected "integer" but received "' + typeof obj_contextTtl + '" (at "' + path_contextTtl + '")');
2259
2284
  }
2260
2285
  }
2286
+ if (obj.deleteApex !== undefined) {
2287
+ const obj_deleteApex = obj.deleteApex;
2288
+ const path_deleteApex = path + '.deleteApex';
2289
+ if (typeof obj_deleteApex !== 'boolean') {
2290
+ return new TypeError('Expected "boolean" but received "' + typeof obj_deleteApex + '" (at "' + path_deleteApex + '")');
2291
+ }
2292
+ }
2261
2293
  if (obj.description !== undefined) {
2262
2294
  const obj_description = obj.description;
2263
2295
  const path_description = path + '.description';
@@ -2286,6 +2318,13 @@ function validate$G(obj, path = 'ContextDefinitionsInputRepresentation') {
2286
2318
  return new TypeError('Expected "string" but received "' + typeof obj_extendedMethod + '" (at "' + path_extendedMethod + '")');
2287
2319
  }
2288
2320
  }
2321
+ if (obj.generateApex !== undefined) {
2322
+ const obj_generateApex = obj.generateApex;
2323
+ const path_generateApex = path + '.generateApex';
2324
+ if (typeof obj_generateApex !== 'boolean') {
2325
+ return new TypeError('Expected "boolean" but received "' + typeof obj_generateApex + '" (at "' + path_generateApex + '")');
2326
+ }
2327
+ }
2289
2328
  if (obj.hasSystemTags !== undefined) {
2290
2329
  const obj_hasSystemTags = obj.hasSystemTags;
2291
2330
  const path_hasSystemTags = path + '.hasSystemTags';
@@ -1,7 +1,7 @@
1
1
  import { ContextDefinitionReferenceRepresentation as ContextDefinitionReferenceRepresentation_ContextDefinitionReferenceRepresentation } from './ContextDefinitionReferenceRepresentation';
2
2
  import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
3
3
  export declare const TTL = 1000;
4
- export declare const VERSION = "b9415d382c5aeb3ca74fd1e039fa0a61";
4
+ export declare const VERSION = "2e8845c43d6c19d7d70c79463be0c482";
5
5
  export declare function validate(obj: any, path?: string): TypeError | null;
6
6
  export declare const RepresentationType: string;
7
7
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -55,6 +55,8 @@ export interface ContextDefinitionInfoRepresentationNormalized {
55
55
  hasSystemTags?: boolean;
56
56
  /** Is Active */
57
57
  isActive?: boolean;
58
+ /** Is Apex generated */
59
+ isApexGenerated?: boolean;
58
60
  /** Is Editable */
59
61
  isEditable?: boolean;
60
62
  /** Success */
@@ -96,6 +98,7 @@ export interface ContextDefinitionInfoRepresentation {
96
98
  endDate?: string;
97
99
  hasSystemTags?: boolean;
98
100
  isActive?: boolean;
101
+ isApexGenerated?: boolean;
99
102
  isEditable?: boolean;
100
103
  isSuccess?: boolean;
101
104
  isUpgradeAvailable?: boolean;
@@ -1,6 +1,6 @@
1
1
  import { ContextDefinitionReferenceListInputRepresentation as ContextDefinitionReferenceListInputRepresentation_ContextDefinitionReferenceListInputRepresentation } from './ContextDefinitionReferenceListInputRepresentation';
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 = "81d1feb43fcd58a993d46e65ed5362c5";
3
+ export declare const VERSION = "76d253db48379895d47b2e4090adcdfe";
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: ContextDefinitionsInputRepresentation, existing: ContextDefinitionsInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContextDefinitionsInputRepresentationNormalized;
@@ -21,6 +21,8 @@ export interface ContextDefinitionsInputRepresentationNormalized {
21
21
  canBeReferenceDefinition?: boolean;
22
22
  /** Context TTL */
23
23
  contextTtl?: number;
24
+ /** Delete Apex */
25
+ deleteApex?: boolean;
24
26
  /** Short description of ContextDefinition */
25
27
  description?: string;
26
28
  /** Developer Name */
@@ -29,6 +31,8 @@ export interface ContextDefinitionsInputRepresentationNormalized {
29
31
  endDate?: string;
30
32
  /** Extended feature version Id for sync free */
31
33
  extendedMethod?: string;
34
+ /** Generate Apex */
35
+ generateApex?: boolean;
32
36
  /** Is System node included in definition */
33
37
  hasSystemTags?: boolean;
34
38
  /** Is Active */
@@ -54,10 +58,12 @@ export interface ContextDefinitionsInputRepresentation {
54
58
  baseReference?: string;
55
59
  canBeReferenceDefinition?: boolean;
56
60
  contextTtl?: number;
61
+ deleteApex?: boolean;
57
62
  description?: string;
58
63
  developerName?: string;
59
64
  endDate?: string;
60
65
  extendedMethod?: string;
66
+ generateApex?: boolean;
61
67
  hasSystemTags?: boolean;
62
68
  isActive?: boolean;
63
69
  name?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-context",
3
- "version": "1.400.0",
3
+ "version": "1.401.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "Normandy Context Service",
6
6
  "main": "dist/es/es2018/industries-context.js",
@@ -44,14 +44,14 @@
44
44
  "test:unit": "jest --config=./jest.config.js"
45
45
  },
46
46
  "dependencies": {
47
- "@salesforce/lds-bindings": "^1.400.0"
47
+ "@salesforce/lds-bindings": "^1.401.0"
48
48
  },
49
49
  "volta": {
50
50
  "extends": "../../package.json"
51
51
  },
52
52
  "devDependencies": {
53
- "@salesforce/lds-compiler-plugins": "^1.400.0",
54
- "@salesforce/lds-karma": "^1.400.0"
53
+ "@salesforce/lds-compiler-plugins": "^1.401.0",
54
+ "@salesforce/lds-karma": "^1.401.0"
55
55
  },
56
56
  "nx": {
57
57
  "targets": {
package/sfdc/index.js CHANGED
@@ -5201,6 +5201,13 @@ function validate$l(obj, path = 'ContextDefinitionsInputRepresentation') {
5201
5201
  return new TypeError('Expected "integer" but received "' + typeof obj_contextTtl + '" (at "' + path_contextTtl + '")');
5202
5202
  }
5203
5203
  }
5204
+ if (obj.deleteApex !== undefined) {
5205
+ const obj_deleteApex = obj.deleteApex;
5206
+ const path_deleteApex = path + '.deleteApex';
5207
+ if (typeof obj_deleteApex !== 'boolean') {
5208
+ return new TypeError('Expected "boolean" but received "' + typeof obj_deleteApex + '" (at "' + path_deleteApex + '")');
5209
+ }
5210
+ }
5204
5211
  if (obj.description !== undefined) {
5205
5212
  const obj_description = obj.description;
5206
5213
  const path_description = path + '.description';
@@ -5229,6 +5236,13 @@ function validate$l(obj, path = 'ContextDefinitionsInputRepresentation') {
5229
5236
  return new TypeError('Expected "string" but received "' + typeof obj_extendedMethod + '" (at "' + path_extendedMethod + '")');
5230
5237
  }
5231
5238
  }
5239
+ if (obj.generateApex !== undefined) {
5240
+ const obj_generateApex = obj.generateApex;
5241
+ const path_generateApex = path + '.generateApex';
5242
+ if (typeof obj_generateApex !== 'boolean') {
5243
+ return new TypeError('Expected "boolean" but received "' + typeof obj_generateApex + '" (at "' + path_generateApex + '")');
5244
+ }
5245
+ }
5232
5246
  if (obj.hasSystemTags !== undefined) {
5233
5247
  const obj_hasSystemTags = obj.hasSystemTags;
5234
5248
  const path_hasSystemTags = path + '.hasSystemTags';
@@ -5422,7 +5436,7 @@ function equals$g(existing, incoming) {
5422
5436
  }
5423
5437
 
5424
5438
  const TTL$a = 1000;
5425
- const VERSION$f = "b9415d382c5aeb3ca74fd1e039fa0a61";
5439
+ const VERSION$f = "2e8845c43d6c19d7d70c79463be0c482";
5426
5440
  function validate$j(obj, path = 'ContextDefinitionInfoRepresentation') {
5427
5441
  const v_error = (() => {
5428
5442
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -5538,6 +5552,13 @@ function validate$j(obj, path = 'ContextDefinitionInfoRepresentation') {
5538
5552
  return new TypeError('Expected "boolean" but received "' + typeof obj_isActive + '" (at "' + path_isActive + '")');
5539
5553
  }
5540
5554
  }
5555
+ if (obj.isApexGenerated !== undefined) {
5556
+ const obj_isApexGenerated = obj.isApexGenerated;
5557
+ const path_isApexGenerated = path + '.isApexGenerated';
5558
+ if (typeof obj_isApexGenerated !== 'boolean') {
5559
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isApexGenerated + '" (at "' + path_isApexGenerated + '")');
5560
+ }
5561
+ }
5541
5562
  if (obj.isEditable !== undefined) {
5542
5563
  const obj_isEditable = obj.isEditable;
5543
5564
  const path_isEditable = path + '.isEditable';
@@ -5709,6 +5730,11 @@ const select$P = function ContextDefinitionInfoRepresentationSelect() {
5709
5730
  kind: 'Scalar',
5710
5731
  required: false
5711
5732
  },
5733
+ {
5734
+ name: 'isApexGenerated',
5735
+ kind: 'Scalar',
5736
+ required: false
5737
+ },
5712
5738
  {
5713
5739
  name: 'isEditable',
5714
5740
  kind: 'Scalar',
@@ -5799,6 +5825,19 @@ function equals$f(existing, incoming) {
5799
5825
  return false;
5800
5826
  }
5801
5827
  }
5828
+ const existing_isApexGenerated = existing.isApexGenerated;
5829
+ const incoming_isApexGenerated = incoming.isApexGenerated;
5830
+ // if at least one of these optionals is defined
5831
+ if (existing_isApexGenerated !== undefined || incoming_isApexGenerated !== undefined) {
5832
+ // if one of these is not defined we know the other is defined and therefore
5833
+ // not equal
5834
+ if (existing_isApexGenerated === undefined || incoming_isApexGenerated === undefined) {
5835
+ return false;
5836
+ }
5837
+ if (!(existing_isApexGenerated === incoming_isApexGenerated)) {
5838
+ return false;
5839
+ }
5840
+ }
5802
5841
  const existing_isEditable = existing.isEditable;
5803
5842
  const incoming_isEditable = incoming.isEditable;
5804
5843
  // if at least one of these optionals is defined
@@ -15117,4 +15156,4 @@ withDefaultLuvio((luvio) => {
15117
15156
  });
15118
15157
 
15119
15158
  export { cloneContextMappings, createContextAttributeMapping, createContextAttributeMappings, createContextAttributes, createContextFilters, createContextMapping, createContextMappings, createContextNodeMapping, createContextNodeMappings, createContextNodes, createContextQueryRecords, createContextServiceDefinition, createContextTags, deleteContext, deleteContextAttributeMapping, deleteContextFilter, deleteContextMapping, deleteContextNodeMapping, deleteContextServiceAttribute, deleteContextServiceAttributeMapping, deleteContextServiceDefinition, deleteContextServiceMapping, deleteContextServiceNode, deleteContextServiceNodeMapping, deleteContextServiceTag, getContext, getContextAttributeMapping, getContextAttributeMappingNotifyChange, getContextAttributeMapping_imperative, getContextDefinitions, getContextDefinitions_imperative, getContextFilter, getContextFilterNotifyChange, getContextFilter_imperative, getContextFilters, getContextFiltersNotifyChange, getContextFilters_imperative, getContextInfo, getContextInfoNotifyChange, getContextInfo_imperative, getContextMapping, getContextMappingNotifyChange, getContextMapping_imperative, getContextNodeMapping, getContextNodeMappingNotifyChange, getContextNodeMapping_imperative, getContextNotifyChange, getContextServiceAccess, getContextServiceAccessNotifyChange, getContextServiceAccess_imperative, getContextServiceAttribute, getContextServiceAttributeMapping, getContextServiceAttributeMappingNotifyChange, getContextServiceAttributeMapping_imperative, getContextServiceAttributeNotifyChange, getContextServiceAttribute_imperative, getContextServiceDefinition, getContextServiceDefinitionInfo, getContextServiceDefinitionInfoNotifyChange, getContextServiceDefinitionInfo_imperative, getContextServiceDefinitionNotifyChange, getContextServiceDefinition_imperative, getContextServiceMapping, getContextServiceMappingNotifyChange, getContextServiceMapping_imperative, getContextServiceNode, getContextServiceNodeMapping, getContextServiceNodeMappingNotifyChange, getContextServiceNodeMapping_imperative, getContextServiceNodeNotifyChange, getContextServiceNode_imperative, getContextServiceTag, getContextServiceTagNotifyChange, getContextServiceTag_imperative, getContextTags, getContextTagsNotifyChange, getContextTags_imperative, getContextTranslation, getContextTranslation_imperative, getContext_imperative, getDynamicAttributes, getDynamicAttributesNotifyChange, getDynamicAttributes_imperative, putContextServiceAccess, queryContextRecordAndChildren, updateContextAttributeMapping, updateContextAttributeMappings, updateContextAttributes, updateContextFilter, updateContextMapping, updateContextMappings, updateContextNodeMapping, updateContextNodeMappings, updateContextNodes, updateContextServiceDefinition, updateContextTags, upgradeContextServiceDefinition };
15120
- // version: 1.400.0-3c7514a502
15159
+ // version: 1.401.0-c620f9ffed
package/src/raml/api.raml CHANGED
@@ -938,6 +938,10 @@ types:
938
938
  description: Is Active
939
939
  type: boolean
940
940
  required: false
941
+ isApexGenerated:
942
+ description: Is Apex generated
943
+ type: boolean
944
+ required: false
941
945
  isSuccess:
942
946
  description: Success
943
947
  type: boolean
@@ -1313,6 +1317,10 @@ types:
1313
1317
  description: Context TTL
1314
1318
  type: integer
1315
1319
  required: false # TODO Hand-rolled W-12486791
1320
+ deleteApex:
1321
+ description: Delete Apex
1322
+ type: boolean
1323
+ required: false # TODO Hand-rolled W-20170312
1316
1324
  description:
1317
1325
  description: Short description of ContextDefinition
1318
1326
  type: string
@@ -1329,6 +1337,10 @@ types:
1329
1337
  description: Extended feature version Id for sync free
1330
1338
  type: string
1331
1339
  required: false
1340
+ generateApex:
1341
+ description: Generate Apex
1342
+ type: boolean
1343
+ required: false # TODO Hand-rolled W-20170312
1332
1344
  hasSystemTags:
1333
1345
  description: Is System node included in definition
1334
1346
  type: boolean