@salesforce/lds-adapters-industries-context 1.414.0 → 1.415.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.
@@ -4805,7 +4805,7 @@ function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
4805
4805
  }
4806
4806
 
4807
4807
  const TTL$e = 1000;
4808
- const VERSION$i = "97e17a04965f57003848925eebf6b77d";
4808
+ const VERSION$i = "cf8419dd1de0581ae38298360777bed5";
4809
4809
  function validate$v(obj, path = 'ContextNodeRepresentation') {
4810
4810
  const v_error = (() => {
4811
4811
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -4864,6 +4864,13 @@ function validate$v(obj, path = 'ContextNodeRepresentation') {
4864
4864
  if (typeof obj_contextNodeId !== 'string') {
4865
4865
  return new TypeError('Expected "string" but received "' + typeof obj_contextNodeId + '" (at "' + path_contextNodeId + '")');
4866
4866
  }
4867
+ if (obj.description !== undefined) {
4868
+ const obj_description = obj.description;
4869
+ const path_description = path + '.description';
4870
+ if (typeof obj_description !== 'string') {
4871
+ return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
4872
+ }
4873
+ }
4867
4874
  if (obj.isCustomMappingAllowed !== undefined) {
4868
4875
  const obj_isCustomMappingAllowed = obj.isCustomMappingAllowed;
4869
4876
  const path_isCustomMappingAllowed = path + '.isCustomMappingAllowed';
@@ -2,7 +2,7 @@ import { ContextAttributeRepresentation as ContextAttributeRepresentation_Contex
2
2
  import { ContextAttributeTagRepresentation as ContextAttributeTagRepresentation_ContextAttributeTagRepresentation } from './ContextAttributeTagRepresentation';
3
3
  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, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
4
4
  export declare const TTL = 1000;
5
- export declare const VERSION = "97e17a04965f57003848925eebf6b77d";
5
+ export declare const VERSION = "cf8419dd1de0581ae38298360777bed5";
6
6
  export declare function validate(obj: any, path?: string): TypeError | null;
7
7
  export declare const RepresentationType: string;
8
8
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -36,6 +36,8 @@ export interface ContextNodeRepresentationNormalized {
36
36
  contextDefinitionVersionId?: string;
37
37
  /** Id of this ContextNode */
38
38
  contextNodeId: string;
39
+ /** Description */
40
+ description?: string;
39
41
  /** Is Custom Mapping Blocked? */
40
42
  isCustomMappingAllowed?: boolean;
41
43
  /** Success */
@@ -61,6 +63,7 @@ export interface ContextNodeRepresentation {
61
63
  childNodes?: Array<ContextNodeRepresentation>;
62
64
  contextDefinitionVersionId?: string;
63
65
  contextNodeId: string;
66
+ description?: string;
64
67
  isCustomMappingAllowed?: boolean;
65
68
  isSuccess?: boolean;
66
69
  isTransposable?: boolean;
@@ -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 = "d6d1fbbd398543eeb2975cc683b48116";
2
+ export declare const VERSION = "0a59f839f04fb4ae9ed1d43bff7e6a65";
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: ContextNodesInputRepresentation, existing: ContextNodesInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContextNodesInputRepresentationNormalized;
@@ -20,6 +20,8 @@ export interface ContextNodesInputRepresentationNormalized {
20
20
  childNodes?: Array<{}>;
21
21
  /** ID of this Node - Required for Update */
22
22
  contextNodeId?: string;
23
+ /** Description of this Node */
24
+ description?: string;
23
25
  /** Is Custom Mapping Blocked? */
24
26
  isCustomMappingAllowed?: boolean;
25
27
  /** Is Transposable ? */
@@ -41,6 +43,7 @@ export interface ContextNodesInputRepresentation {
41
43
  attributes?: Array<{}>;
42
44
  childNodes?: Array<{}>;
43
45
  contextNodeId?: string;
46
+ description?: string;
44
47
  isCustomMappingAllowed?: boolean;
45
48
  isTransposable?: boolean;
46
49
  name?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-context",
3
- "version": "1.414.0",
3
+ "version": "1.415.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.414.0"
47
+ "@salesforce/lds-bindings": "^1.415.0"
48
48
  },
49
49
  "volta": {
50
50
  "extends": "../../package.json"
51
51
  },
52
52
  "devDependencies": {
53
- "@salesforce/lds-compiler-plugins": "^1.414.0",
54
- "@salesforce/lds-karma": "^1.414.0"
53
+ "@salesforce/lds-compiler-plugins": "^1.415.0",
54
+ "@salesforce/lds-karma": "^1.415.0"
55
55
  },
56
56
  "nx": {
57
57
  "targets": {
package/sfdc/index.js CHANGED
@@ -4343,7 +4343,7 @@ function validate$t(obj, path = 'ContextNodeListInputRepresentation') {
4343
4343
  }
4344
4344
 
4345
4345
  const TTL$d = 1000;
4346
- const VERSION$k = "97e17a04965f57003848925eebf6b77d";
4346
+ const VERSION$k = "cf8419dd1de0581ae38298360777bed5";
4347
4347
  function validate$s(obj, path = 'ContextNodeRepresentation') {
4348
4348
  const v_error = (() => {
4349
4349
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -4402,6 +4402,13 @@ function validate$s(obj, path = 'ContextNodeRepresentation') {
4402
4402
  if (typeof obj_contextNodeId !== 'string') {
4403
4403
  return new TypeError('Expected "string" but received "' + typeof obj_contextNodeId + '" (at "' + path_contextNodeId + '")');
4404
4404
  }
4405
+ if (obj.description !== undefined) {
4406
+ const obj_description = obj.description;
4407
+ const path_description = path + '.description';
4408
+ if (typeof obj_description !== 'string') {
4409
+ return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
4410
+ }
4411
+ }
4405
4412
  if (obj.isCustomMappingAllowed !== undefined) {
4406
4413
  const obj_isCustomMappingAllowed = obj.isCustomMappingAllowed;
4407
4414
  const path_isCustomMappingAllowed = path + '.isCustomMappingAllowed';
@@ -15156,4 +15163,4 @@ withDefaultLuvio((luvio) => {
15156
15163
  });
15157
15164
 
15158
15165
  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 };
15159
- // version: 1.414.0-3d95b40524
15166
+ // version: 1.415.0-caf45a5d7e
package/src/raml/api.raml CHANGED
@@ -1858,6 +1858,10 @@ types:
1858
1858
  contextNodeId:
1859
1859
  description: Id of this ContextNode
1860
1860
  type: string
1861
+ description:
1862
+ description: Description
1863
+ type: string
1864
+ required: false
1861
1865
  isCustomMappingAllowed:
1862
1866
  description: Is Custom Mapping Blocked?
1863
1867
  type: boolean
@@ -1904,6 +1908,10 @@ types:
1904
1908
  description: ID of this Node - Required for Update
1905
1909
  type: string
1906
1910
  required: false # TODO Hand-rolled W-12486791
1911
+ description:
1912
+ description: 'Description of this Node '
1913
+ type: string
1914
+ required: false # TODO Hand-rolled W-12486791
1907
1915
  isCustomMappingAllowed:
1908
1916
  description: Is Custom Mapping Blocked?
1909
1917
  type: boolean