@salesforce/lds-adapters-industries-context 0.131.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.
Files changed (139) hide show
  1. package/LICENSE.txt +82 -0
  2. package/dist/es/es2018/industries-context.js +8090 -0
  3. package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +66 -0
  4. package/dist/es/es2018/types/src/generated/adapters/createContextAttribute.d.ts +15 -0
  5. package/dist/es/es2018/types/src/generated/adapters/createContextAttributeList.d.ts +16 -0
  6. package/dist/es/es2018/types/src/generated/adapters/createContextAttributeMapping.d.ts +15 -0
  7. package/dist/es/es2018/types/src/generated/adapters/createContextAttributeTag.d.ts +15 -0
  8. package/dist/es/es2018/types/src/generated/adapters/createContextDefinition.d.ts +15 -0
  9. package/dist/es/es2018/types/src/generated/adapters/createContextDefinitionVersion.d.ts +15 -0
  10. package/dist/es/es2018/types/src/generated/adapters/createContextMapping.d.ts +15 -0
  11. package/dist/es/es2018/types/src/generated/adapters/createContextNode.d.ts +15 -0
  12. package/dist/es/es2018/types/src/generated/adapters/createContextNodeMapping.d.ts +15 -0
  13. package/dist/es/es2018/types/src/generated/adapters/deleteContextAttribute.d.ts +13 -0
  14. package/dist/es/es2018/types/src/generated/adapters/deleteContextAttributeMapping.d.ts +13 -0
  15. package/dist/es/es2018/types/src/generated/adapters/deleteContextAttributeTag.d.ts +13 -0
  16. package/dist/es/es2018/types/src/generated/adapters/deleteContextDefinition.d.ts +13 -0
  17. package/dist/es/es2018/types/src/generated/adapters/deleteContextDefinitionVersion.d.ts +13 -0
  18. package/dist/es/es2018/types/src/generated/adapters/deleteContextMapping.d.ts +13 -0
  19. package/dist/es/es2018/types/src/generated/adapters/deleteContextNode.d.ts +13 -0
  20. package/dist/es/es2018/types/src/generated/adapters/deleteContextNodeMapping.d.ts +13 -0
  21. package/dist/es/es2018/types/src/generated/adapters/getContextAttribute.d.ts +27 -0
  22. package/dist/es/es2018/types/src/generated/adapters/getContextAttributeMapping.d.ts +27 -0
  23. package/dist/es/es2018/types/src/generated/adapters/getContextAttributeTag.d.ts +27 -0
  24. package/dist/es/es2018/types/src/generated/adapters/getContextAttributeTagsByAttributeId.d.ts +26 -0
  25. package/dist/es/es2018/types/src/generated/adapters/getContextDefinition.d.ts +27 -0
  26. package/dist/es/es2018/types/src/generated/adapters/getContextDefinitionInfo.d.ts +27 -0
  27. package/dist/es/es2018/types/src/generated/adapters/getContextDefinitionList.d.ts +26 -0
  28. package/dist/es/es2018/types/src/generated/adapters/getContextDefinitionVersion.d.ts +27 -0
  29. package/dist/es/es2018/types/src/generated/adapters/getContextMapping.d.ts +27 -0
  30. package/dist/es/es2018/types/src/generated/adapters/getContextNode.d.ts +27 -0
  31. package/dist/es/es2018/types/src/generated/adapters/getContextNodeMapping.d.ts +27 -0
  32. package/dist/es/es2018/types/src/generated/adapters/getContextServiceAccess.d.ts +28 -0
  33. package/dist/es/es2018/types/src/generated/adapters/putContextServiceAccess.d.ts +17 -0
  34. package/dist/es/es2018/types/src/generated/adapters/updateContextAttribute.d.ts +16 -0
  35. package/dist/es/es2018/types/src/generated/adapters/updateContextAttributeMapping.d.ts +16 -0
  36. package/dist/es/es2018/types/src/generated/adapters/updateContextAttributeTag.d.ts +16 -0
  37. package/dist/es/es2018/types/src/generated/adapters/updateContextDefinition.d.ts +16 -0
  38. package/dist/es/es2018/types/src/generated/adapters/updateContextDefinitionVersion.d.ts +16 -0
  39. package/dist/es/es2018/types/src/generated/adapters/updateContextMapping.d.ts +16 -0
  40. package/dist/es/es2018/types/src/generated/adapters/updateContextNode.d.ts +16 -0
  41. package/dist/es/es2018/types/src/generated/adapters/updateContextNodeMapping.d.ts +16 -0
  42. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +38 -0
  43. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +61 -0
  44. package/dist/es/es2018/types/src/generated/resources/deleteConnectContextByContextId.d.ts +11 -0
  45. package/dist/es/es2018/types/src/generated/resources/deleteConnectContextdefinitionAttributenodeByContextAttributeId.d.ts +12 -0
  46. package/dist/es/es2018/types/src/generated/resources/deleteConnectContextdefinitionAttributetagByContextAttributeTagId.d.ts +12 -0
  47. package/dist/es/es2018/types/src/generated/resources/deleteConnectContextdefinitionByContextDefinitionId.d.ts +12 -0
  48. package/dist/es/es2018/types/src/generated/resources/deleteConnectContextdefinitionNodeByContextNodeId.d.ts +12 -0
  49. package/dist/es/es2018/types/src/generated/resources/deleteConnectContextdefinitionVersionByContextDefinitionVersionId.d.ts +12 -0
  50. package/dist/es/es2018/types/src/generated/resources/deleteConnectContextmappingAttributenodeByContextAttributeMappingId.d.ts +12 -0
  51. package/dist/es/es2018/types/src/generated/resources/deleteConnectContextmappingByContextMappingId.d.ts +12 -0
  52. package/dist/es/es2018/types/src/generated/resources/deleteConnectContextmappingHydrationdetailByContextAttrHydrationDetailId.d.ts +11 -0
  53. package/dist/es/es2018/types/src/generated/resources/deleteConnectContextmappingNodeByContextNodeMappingId.d.ts +12 -0
  54. package/dist/es/es2018/types/src/generated/resources/getConnectContextByContextId.d.ts +15 -0
  55. package/dist/es/es2018/types/src/generated/resources/getConnectContextdefinition.d.ts +15 -0
  56. package/dist/es/es2018/types/src/generated/resources/getConnectContextdefinitionAttributenodeByContextAttributeId.d.ts +16 -0
  57. package/dist/es/es2018/types/src/generated/resources/getConnectContextdefinitionAttributenodeTagsByContextAttributeId.d.ts +15 -0
  58. package/dist/es/es2018/types/src/generated/resources/getConnectContextdefinitionAttributetagByContextAttributeTagId.d.ts +16 -0
  59. package/dist/es/es2018/types/src/generated/resources/getConnectContextdefinitionByContextDefinitionId.d.ts +16 -0
  60. package/dist/es/es2018/types/src/generated/resources/getConnectContextdefinitionInfoByContextDefinitionId.d.ts +16 -0
  61. package/dist/es/es2018/types/src/generated/resources/getConnectContextdefinitionNodeByContextNodeId.d.ts +16 -0
  62. package/dist/es/es2018/types/src/generated/resources/getConnectContextdefinitionVersionByContextDefinitionVersionId.d.ts +16 -0
  63. package/dist/es/es2018/types/src/generated/resources/getConnectContextmappingAttributenodeByContextAttributeMappingId.d.ts +16 -0
  64. package/dist/es/es2018/types/src/generated/resources/getConnectContextmappingByContextMappingId.d.ts +16 -0
  65. package/dist/es/es2018/types/src/generated/resources/getConnectContextmappingHydrationdetailByContextAttrHydrationDetailId.d.ts +15 -0
  66. package/dist/es/es2018/types/src/generated/resources/getConnectContextmappingNodeByContextNodeMappingId.d.ts +16 -0
  67. package/dist/es/es2018/types/src/generated/resources/getConnectContextserviceAccessByPreferenceNameAndUniqueIdentifier.d.ts +17 -0
  68. package/dist/es/es2018/types/src/generated/resources/patchConnectContextdefinitionAttributenodeByContextAttributeId.d.ts +16 -0
  69. package/dist/es/es2018/types/src/generated/resources/patchConnectContextdefinitionAttributetagByContextAttributeTagId.d.ts +16 -0
  70. package/dist/es/es2018/types/src/generated/resources/patchConnectContextdefinitionByContextDefinitionId.d.ts +16 -0
  71. package/dist/es/es2018/types/src/generated/resources/patchConnectContextdefinitionNodeByContextNodeId.d.ts +16 -0
  72. package/dist/es/es2018/types/src/generated/resources/patchConnectContextdefinitionVersionByContextDefinitionVersionId.d.ts +16 -0
  73. package/dist/es/es2018/types/src/generated/resources/patchConnectContextmappingAttributenodeByContextAttributeMappingId.d.ts +16 -0
  74. package/dist/es/es2018/types/src/generated/resources/patchConnectContextmappingByContextMappingId.d.ts +16 -0
  75. package/dist/es/es2018/types/src/generated/resources/patchConnectContextmappingNodeByContextNodeMappingId.d.ts +16 -0
  76. package/dist/es/es2018/types/src/generated/resources/postConnectContext.d.ts +13 -0
  77. package/dist/es/es2018/types/src/generated/resources/postConnectContextAttributeByContextId.d.ts +18 -0
  78. package/dist/es/es2018/types/src/generated/resources/postConnectContextdefinition.d.ts +13 -0
  79. package/dist/es/es2018/types/src/generated/resources/postConnectContextdefinitionAttributenode.d.ts +13 -0
  80. package/dist/es/es2018/types/src/generated/resources/postConnectContextdefinitionAttributetag.d.ts +13 -0
  81. package/dist/es/es2018/types/src/generated/resources/postConnectContextdefinitionNode.d.ts +13 -0
  82. package/dist/es/es2018/types/src/generated/resources/postConnectContextdefinitionNodeAttributesByContextNodeId.d.ts +16 -0
  83. package/dist/es/es2018/types/src/generated/resources/postConnectContextdefinitionVersion.d.ts +13 -0
  84. package/dist/es/es2018/types/src/generated/resources/postConnectContextmapping.d.ts +13 -0
  85. package/dist/es/es2018/types/src/generated/resources/postConnectContextmappingAttributenode.d.ts +13 -0
  86. package/dist/es/es2018/types/src/generated/resources/postConnectContextmappingHydrationdetail.d.ts +16 -0
  87. package/dist/es/es2018/types/src/generated/resources/postConnectContextmappingNode.d.ts +13 -0
  88. package/dist/es/es2018/types/src/generated/resources/putConnectContextserviceAccessByPreferenceNameAndUniqueIdentifier.d.ts +17 -0
  89. package/dist/es/es2018/types/src/generated/types/ContextAttrHydrationDetailInputRepresentation.d.ts +41 -0
  90. package/dist/es/es2018/types/src/generated/types/ContextAttrHydrationDetailRepresentation.d.ts +44 -0
  91. package/dist/es/es2018/types/src/generated/types/ContextAttributeInputRepresentation.d.ts +47 -0
  92. package/dist/es/es2018/types/src/generated/types/ContextAttributeInputWrapperRepresentation.d.ts +29 -0
  93. package/dist/es/es2018/types/src/generated/types/ContextAttributeListInputRepresentation.d.ts +29 -0
  94. package/dist/es/es2018/types/src/generated/types/ContextAttributeListInputWrapperRepresentation.d.ts +29 -0
  95. package/dist/es/es2018/types/src/generated/types/ContextAttributeListRepresentation.d.ts +55 -0
  96. package/dist/es/es2018/types/src/generated/types/ContextAttributeMappingInputRepresentation.d.ts +41 -0
  97. package/dist/es/es2018/types/src/generated/types/ContextAttributeMappingInputWrapperRepresentation.d.ts +29 -0
  98. package/dist/es/es2018/types/src/generated/types/ContextAttributeMappingRepresentation.d.ts +55 -0
  99. package/dist/es/es2018/types/src/generated/types/ContextAttributeRepresentation.d.ts +73 -0
  100. package/dist/es/es2018/types/src/generated/types/ContextAttributeTagInputRepresentation.d.ts +35 -0
  101. package/dist/es/es2018/types/src/generated/types/ContextAttributeTagInputWrapperRepresentation.d.ts +29 -0
  102. package/dist/es/es2018/types/src/generated/types/ContextAttributeTagListRepresentation.d.ts +34 -0
  103. package/dist/es/es2018/types/src/generated/types/ContextAttributeTagRepresentation.d.ts +51 -0
  104. package/dist/es/es2018/types/src/generated/types/ContextDataRecordRepresentation.d.ts +60 -0
  105. package/dist/es/es2018/types/src/generated/types/ContextDefinitionInfoRepresentation.d.ts +75 -0
  106. package/dist/es/es2018/types/src/generated/types/ContextDefinitionInputRepresentation.d.ts +44 -0
  107. package/dist/es/es2018/types/src/generated/types/ContextDefinitionInputWrapperRepresentation.d.ts +29 -0
  108. package/dist/es/es2018/types/src/generated/types/ContextDefinitionListRepresentation.d.ts +43 -0
  109. package/dist/es/es2018/types/src/generated/types/ContextDefinitionRepresentation.d.ts +70 -0
  110. package/dist/es/es2018/types/src/generated/types/ContextDefinitionVersionInputRepresentation.d.ts +44 -0
  111. package/dist/es/es2018/types/src/generated/types/ContextDefinitionVersionInputWrapperRepresentation.d.ts +29 -0
  112. package/dist/es/es2018/types/src/generated/types/ContextDefinitionVersionRepresentation.d.ts +65 -0
  113. package/dist/es/es2018/types/src/generated/types/ContextInfoRepresentation.d.ts +38 -0
  114. package/dist/es/es2018/types/src/generated/types/ContextInputRepresentation.d.ts +32 -0
  115. package/dist/es/es2018/types/src/generated/types/ContextMappingInputRepresentation.d.ts +38 -0
  116. package/dist/es/es2018/types/src/generated/types/ContextMappingInputWrapperRepresentation.d.ts +29 -0
  117. package/dist/es/es2018/types/src/generated/types/ContextMappingRepresentation.d.ts +64 -0
  118. package/dist/es/es2018/types/src/generated/types/ContextMetaDataInputRepresentation.d.ts +38 -0
  119. package/dist/es/es2018/types/src/generated/types/ContextNodeInputRepresentation.d.ts +47 -0
  120. package/dist/es/es2018/types/src/generated/types/ContextNodeInputWrapperRepresentation.d.ts +29 -0
  121. package/dist/es/es2018/types/src/generated/types/ContextNodeMappingInputRepresentation.d.ts +38 -0
  122. package/dist/es/es2018/types/src/generated/types/ContextNodeMappingInputWrapperRepresentation.d.ts +29 -0
  123. package/dist/es/es2018/types/src/generated/types/ContextNodeMappingRepresentation.d.ts +64 -0
  124. package/dist/es/es2018/types/src/generated/types/ContextNodeRepresentation.d.ts +65 -0
  125. package/dist/es/es2018/types/src/generated/types/ContextOutputRepresentation.d.ts +29 -0
  126. package/dist/es/es2018/types/src/generated/types/ContextQueryRecordRepresentation.d.ts +33 -0
  127. package/dist/es/es2018/types/src/generated/types/ContextQueryResultRepresentation.d.ts +36 -0
  128. package/dist/es/es2018/types/src/generated/types/ContextServiceAccessInputRepresentation.d.ts +29 -0
  129. package/dist/es/es2018/types/src/generated/types/ContextServiceAccessInputWrapperRepresentation.d.ts +29 -0
  130. package/dist/es/es2018/types/src/generated/types/ContextServiceAccessRepresentation.d.ts +42 -0
  131. package/dist/es/es2018/types/src/generated/types/NodePathAndAttributesInputRepresentation.d.ts +36 -0
  132. package/dist/es/es2018/types/src/generated/types/QueryContextInputRepresentation.d.ts +42 -0
  133. package/dist/es/es2018/types/src/generated/types/UpdateContextAttributesInputRepresentation.d.ts +36 -0
  134. package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +39 -0
  135. package/package.json +65 -0
  136. package/sfdc/index.d.ts +1 -0
  137. package/sfdc/index.js +8691 -0
  138. package/src/raml/api.raml +1504 -0
  139. package/src/raml/luvio.raml +260 -0
@@ -0,0 +1,33 @@
1
+ import { ContextDataRecordRepresentation as ContextDataRecordRepresentation_ContextDataRecordRepresentation } from './ContextDataRecordRepresentation';
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
3
+ export declare const VERSION = "f42feee20d953bebab944ffce3de420e";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: ContextQueryRecordRepresentation, existing: ContextQueryRecordRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContextQueryRecordRepresentationNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: ContextQueryRecordRepresentationNormalized, incoming: ContextQueryRecordRepresentationNormalized): boolean;
9
+ export declare function deepFreeze(input: ContextQueryRecordRepresentation): void;
10
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
11
+ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ContextQueryRecordRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
12
+ /**
13
+ * Output representation of Context Query Record
14
+ *
15
+ * Keys:
16
+ * (none)
17
+ */
18
+ export interface ContextQueryRecordRepresentationNormalized {
19
+ /** List of Child Query Records */
20
+ childQueryRecords?: Array<ContextQueryRecordRepresentation>;
21
+ /** Context Data Record */
22
+ record?: ContextDataRecordRepresentation_ContextDataRecordRepresentation;
23
+ }
24
+ /**
25
+ * Output representation of Context Query Record
26
+ *
27
+ * Keys:
28
+ * (none)
29
+ */
30
+ export interface ContextQueryRecordRepresentation {
31
+ childQueryRecords?: Array<ContextQueryRecordRepresentation>;
32
+ record?: ContextDataRecordRepresentation_ContextDataRecordRepresentation;
33
+ }
@@ -0,0 +1,36 @@
1
+ import { ContextQueryRecordRepresentation as ContextQueryRecordRepresentation_ContextQueryRecordRepresentation } from './ContextQueryRecordRepresentation';
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
3
+ export declare const VERSION = "a9d6d3a896ee580838498a9d53403406";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: ContextQueryResultRepresentation, existing: ContextQueryResultRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContextQueryResultRepresentationNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: ContextQueryResultRepresentationNormalized, incoming: ContextQueryResultRepresentationNormalized): boolean;
9
+ export declare function deepFreeze(input: ContextQueryResultRepresentation): void;
10
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
11
+ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ContextQueryResultRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
12
+ /**
13
+ * Output representation of Context Query Result
14
+ *
15
+ * Keys:
16
+ * (none)
17
+ */
18
+ export interface ContextQueryResultRepresentationNormalized {
19
+ /** Done */
20
+ isDone: boolean;
21
+ /** Success */
22
+ isSuccess: boolean;
23
+ /** List of Context Query Records */
24
+ queryRecords: Array<ContextQueryRecordRepresentation_ContextQueryRecordRepresentation>;
25
+ }
26
+ /**
27
+ * Output representation of Context Query Result
28
+ *
29
+ * Keys:
30
+ * (none)
31
+ */
32
+ export interface ContextQueryResultRepresentation {
33
+ isDone: boolean;
34
+ isSuccess: boolean;
35
+ queryRecords: Array<ContextQueryRecordRepresentation_ContextQueryRecordRepresentation>;
36
+ }
@@ -0,0 +1,29 @@
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
2
+ export declare const VERSION = "0cd32463ca56608800221457b71549cf";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: ContextServiceAccessInputRepresentation, existing: ContextServiceAccessInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContextServiceAccessInputRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: ContextServiceAccessInputRepresentationNormalized, incoming: ContextServiceAccessInputRepresentationNormalized): boolean;
8
+ export declare function deepFreeze(input: ContextServiceAccessInputRepresentation): void;
9
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
10
+ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ContextServiceAccessInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
11
+ /**
12
+ * Input representation of Context Service Access
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface ContextServiceAccessInputRepresentationNormalized {
18
+ /** Is Enabled */
19
+ isEnabled: boolean;
20
+ }
21
+ /**
22
+ * Input representation of Context Service Access
23
+ *
24
+ * Keys:
25
+ * (none)
26
+ */
27
+ export interface ContextServiceAccessInputRepresentation {
28
+ isEnabled: boolean;
29
+ }
@@ -0,0 +1,29 @@
1
+ import { ContextServiceAccessInputRepresentation as ContextServiceAccessInputRepresentation_ContextServiceAccessInputRepresentation } from './ContextServiceAccessInputRepresentation';
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
3
+ export declare const VERSION = "40ee0e6bb1be0c42ebaa40687a820433";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: ContextServiceAccessInputWrapperRepresentation, existing: ContextServiceAccessInputWrapperRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContextServiceAccessInputWrapperRepresentationNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: ContextServiceAccessInputWrapperRepresentationNormalized, incoming: ContextServiceAccessInputWrapperRepresentationNormalized): boolean;
9
+ export declare function deepFreeze(input: ContextServiceAccessInputWrapperRepresentation): void;
10
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
11
+ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ContextServiceAccessInputWrapperRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
12
+ /**
13
+ * Wrapper Input representation for ContextServiceAccessInputRepresentation
14
+ *
15
+ * Keys:
16
+ * (none)
17
+ */
18
+ export interface ContextServiceAccessInputWrapperRepresentationNormalized {
19
+ contextServiceAccessInput: ContextServiceAccessInputRepresentation_ContextServiceAccessInputRepresentation;
20
+ }
21
+ /**
22
+ * Wrapper Input representation for ContextServiceAccessInputRepresentation
23
+ *
24
+ * Keys:
25
+ * (none)
26
+ */
27
+ export interface ContextServiceAccessInputWrapperRepresentation {
28
+ contextServiceAccessInput: ContextServiceAccessInputRepresentation_ContextServiceAccessInputRepresentation;
29
+ }
@@ -0,0 +1,42 @@
1
+ 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';
2
+ export declare const TTL = 100;
3
+ export declare const VERSION = "fad837a75b7f3c134d4024917b0b787a";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export interface KeyParams extends $64$luvio_engine_KeyMetadata {
7
+ id: string;
8
+ }
9
+ export type ContextServiceAccessRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
10
+ export type PartialContextServiceAccessRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
11
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
12
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): ContextServiceAccessRepresentationNormalizedKeyMetadata;
13
+ export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: ContextServiceAccessRepresentation): string;
14
+ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: ContextServiceAccessRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
15
+ export declare function normalize(input: ContextServiceAccessRepresentation, existing: ContextServiceAccessRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContextServiceAccessRepresentationNormalized;
16
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
17
+ export declare function equals(existing: ContextServiceAccessRepresentationNormalized, incoming: ContextServiceAccessRepresentationNormalized): boolean;
18
+ export declare function deepFreeze(input: ContextServiceAccessRepresentation): void;
19
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
20
+ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ContextServiceAccessRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
21
+ /**
22
+ * Context Definition access Representation
23
+ *
24
+ * Keys:
25
+ * id (string): uniqueIdentifier
26
+ */
27
+ export interface ContextServiceAccessRepresentationNormalized {
28
+ /** Is Enabled */
29
+ isEnabled?: boolean;
30
+ /** Unique identifier */
31
+ uniqueIdentifier: string;
32
+ }
33
+ /**
34
+ * Context Definition access Representation
35
+ *
36
+ * Keys:
37
+ * id (string): uniqueIdentifier
38
+ */
39
+ export interface ContextServiceAccessRepresentation {
40
+ isEnabled?: boolean;
41
+ uniqueIdentifier: string;
42
+ }
@@ -0,0 +1,36 @@
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
2
+ export declare const VERSION = "13636aef4b6d81a744ab418ffe031e83";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: NodePathAndAttributesInputRepresentation, existing: NodePathAndAttributesInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): NodePathAndAttributesInputRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: NodePathAndAttributesInputRepresentationNormalized, incoming: NodePathAndAttributesInputRepresentationNormalized): boolean;
8
+ export declare function deepFreeze(input: NodePathAndAttributesInputRepresentation): void;
9
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
10
+ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: NodePathAndAttributesInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
11
+ /**
12
+ * Input representation for NodePath and Attributes
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface NodePathAndAttributesInputRepresentationNormalized {
18
+ /** Map of Attributes */
19
+ attributes: {
20
+ [key: string]: {};
21
+ };
22
+ /** Node Path */
23
+ nodePath: Array<string>;
24
+ }
25
+ /**
26
+ * Input representation for NodePath and Attributes
27
+ *
28
+ * Keys:
29
+ * (none)
30
+ */
31
+ export interface NodePathAndAttributesInputRepresentation {
32
+ attributes: {
33
+ [key: string]: {};
34
+ };
35
+ nodePath: Array<string>;
36
+ }
@@ -0,0 +1,42 @@
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
2
+ export declare const VERSION = "f9e1683bb6be8d7ff85ba19b9d9f6bcf";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: QueryContextInputRepresentation, existing: QueryContextInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): QueryContextInputRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: QueryContextInputRepresentationNormalized, incoming: QueryContextInputRepresentationNormalized): boolean;
8
+ export declare function deepFreeze(input: QueryContextInputRepresentation): void;
9
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
10
+ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: QueryContextInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
11
+ /**
12
+ * Input representation of Query Context
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface QueryContextInputRepresentationNormalized {
18
+ /** List of Attributes */
19
+ attributes: Array<string>;
20
+ /** Business Object Type Filter */
21
+ businessObjectTypeFilter: string;
22
+ /** Filters */
23
+ filters: {
24
+ [key: string]: Array<string>;
25
+ };
26
+ /** List of Tags */
27
+ tags: Array<string>;
28
+ }
29
+ /**
30
+ * Input representation of Query Context
31
+ *
32
+ * Keys:
33
+ * (none)
34
+ */
35
+ export interface QueryContextInputRepresentation {
36
+ attributes: Array<string>;
37
+ businessObjectTypeFilter: string;
38
+ filters: {
39
+ [key: string]: Array<string>;
40
+ };
41
+ tags: Array<string>;
42
+ }
@@ -0,0 +1,36 @@
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
2
+ export declare const VERSION = "6ec9b850e8d4380dc0f9225e85fac4d3";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: UpdateContextAttributesInputRepresentation, existing: UpdateContextAttributesInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): UpdateContextAttributesInputRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: UpdateContextAttributesInputRepresentationNormalized, incoming: UpdateContextAttributesInputRepresentationNormalized): boolean;
8
+ export declare function deepFreeze(input: UpdateContextAttributesInputRepresentation): void;
9
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
10
+ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: UpdateContextAttributesInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
11
+ /**
12
+ * Input representation for updating ContextAttributes
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface UpdateContextAttributesInputRepresentationNormalized {
18
+ /** Context Id */
19
+ contextId: string;
20
+ /** List of Node Path to Attribute */
21
+ nodePathToAttributeList: Array<{
22
+ [key: string]: {};
23
+ }>;
24
+ }
25
+ /**
26
+ * Input representation for updating ContextAttributes
27
+ *
28
+ * Keys:
29
+ * (none)
30
+ */
31
+ export interface UpdateContextAttributesInputRepresentation {
32
+ contextId: string;
33
+ nodePathToAttributeList: Array<{
34
+ [key: string]: {};
35
+ }>;
36
+ }
@@ -0,0 +1,39 @@
1
+ import { NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
+ export declare const ObjectFreeze: {
3
+ <T extends Function>(f: T): T;
4
+ <T_1 extends {
5
+ [idx: string]: object | U | null | undefined;
6
+ }, U extends string | number | bigint | boolean | symbol>(o: T_1): Readonly<T_1>;
7
+ <T_2>(o: T_2): Readonly<T_2>;
8
+ }, ObjectKeys: {
9
+ (o: object): string[];
10
+ (o: {}): string[];
11
+ }, ObjectCreate: {
12
+ (o: object | null): any;
13
+ (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
14
+ }, ObjectAssign: {
15
+ <T extends {}, U>(target: T, source: U): T & U;
16
+ <T_1 extends {}, U_1, V>(target: T_1, source1: U_1, source2: V): T_1 & U_1 & V;
17
+ <T_2 extends {}, U_2, V_1, W>(target: T_2, source1: U_2, source2: V_1, source3: W): T_2 & U_2 & V_1 & W;
18
+ (target: object, ...sources: any[]): any;
19
+ };
20
+ export declare const ArrayIsArray: (arg: any) => arg is any[];
21
+ export declare const JSONStringify: {
22
+ (value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string;
23
+ (value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string;
24
+ };
25
+ type AllowedPrimitives = boolean | string | number | Date | null;
26
+ type Value<T> = T extends AllowedPrimitives ? T : RecursivePartial<T>;
27
+ export type RecursivePartial<T> = null | {
28
+ [P in keyof T]?: T[P] extends Array<infer U> ? Array<Value<U>> | null : Value<T[P]> | null;
29
+ };
30
+ export declare function equalsArray<U, V extends U[]>(a: V, b: V, equalsItem: (itemA: U, itemB: U) => boolean | void): boolean;
31
+ export declare function equalsObject<U, V extends {
32
+ [key: string]: U;
33
+ }>(a: V, b: V, equalsProp: (propA: U, propB: U) => boolean | void): boolean;
34
+ export declare function deepFreeze(value: any): void;
35
+ export declare function createLink(ref: string | $64$luvio_engine_NormalizedKeyMetadata): {
36
+ __ref: string;
37
+ };
38
+ export declare function assignMetadataLink(entry: any, metadataKey: string | $64$luvio_engine_NormalizedKeyMetadata): void;
39
+ export {};
package/package.json ADDED
@@ -0,0 +1,65 @@
1
+ {
2
+ "name": "@salesforce/lds-adapters-industries-context",
3
+ "version": "0.131.0",
4
+ "license": "SEE LICENSE IN LICENSE.txt",
5
+ "description": "Normandy Context Service",
6
+ "main": "dist/es/es2018/industries-context.js",
7
+ "module": "dist/es/es2018/industries-context.js",
8
+ "types": "dist/es/es2018/types/src/generated/artifacts/main.d.ts",
9
+ "files": [
10
+ "dist",
11
+ "sfdc",
12
+ "src/raml/*"
13
+ ],
14
+ "exports": {
15
+ ".": {
16
+ "import": "./dist/es/es2018/industries-context.js",
17
+ "require": "./dist/es/es2018/industries-context.js",
18
+ "types": "./dist/es/es2018/types/src/generated/artifacts/main.d.ts"
19
+ },
20
+ "./sfdc": {
21
+ "import": "./sfdc/index.js",
22
+ "types": "./sfdc/index.d.ts",
23
+ "default": "./sfdc/index.js"
24
+ }
25
+ },
26
+ "sdfc": {
27
+ "namespace": "lightning",
28
+ "module": "industriesContextApi"
29
+ },
30
+ "contributors": [
31
+ "eputti@salesforce.com",
32
+ "sachin.singh@salesforce.com"
33
+ ],
34
+ "scripts": {
35
+ "build": "yarn build:raml && yarn build:services && yarn build:karma",
36
+ "build:karma": "rollup --config rollup.config.karma.js",
37
+ "build:raml": "luvio generate src/raml/luvio.raml src/generated -p '../lds-compiler-plugins'",
38
+ "build:services": "rollup --config rollup.config.js",
39
+ "clean": "rm -rf dist sfdc src/generated karma/dist",
40
+ "release:core": "../../scripts/release/core.js --adapter=lds-adapters-industries-context",
41
+ "release:corejar": "yarn build && ../core-build/scripts/core.js --adapter=lds-adapters-industries-context",
42
+ "start": "karma start",
43
+ "test": "karma start --single-run",
44
+ "test:compat": "karma start --single-run --compat"
45
+ },
46
+ "dependencies": {
47
+ "@salesforce/lds-bindings": "1.131.0-244.6"
48
+ },
49
+ "devDependencies": {
50
+ "@salesforce/lds-compiler-plugins": "1.131.0-244.6",
51
+ "@salesforce/lds-karma": "1.131.0-244.6"
52
+ },
53
+ "nx": {
54
+ "targets": {
55
+ "build": {
56
+ "outputs": [
57
+ "packages/lds-adapters-industries-context/dist",
58
+ "packages/lds-adapters-industries-context/karma/dist",
59
+ "packages/lds-adapters-industries-context/sfdc",
60
+ "packages/lds-adapters-industries-context/src/generated"
61
+ ]
62
+ }
63
+ }
64
+ }
65
+ }
@@ -0,0 +1 @@
1
+ export * from '../dist/es/es2018/types/src/generated/artifacts/sfdc';