@salesforce/lds-adapters-industries-assessment 1.389.2 → 1.391.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.
@@ -1,5 +1,6 @@
1
+ import { ExternalAssessmentDefinitionRepresentation as ExternalAssessmentDefinitionRepresentation_ExternalAssessmentDefinitionRepresentation } from './ExternalAssessmentDefinitionRepresentation';
1
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';
2
- export declare const VERSION = "fc8dcf66efb20af80295cda1b0855350";
3
+ export declare const VERSION = "a455b10d25f7df806f11ec916464f9e2";
3
4
  export declare function validate(obj: any, path?: string): TypeError | null;
4
5
  export declare const RepresentationType: string;
5
6
  export declare function normalize(input: AssessmentEnvelopeItemsRepresentation, existing: AssessmentEnvelopeItemsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AssessmentEnvelopeItemsRepresentationNormalized;
@@ -14,6 +15,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
14
15
  * (none)
15
16
  */
16
17
  export interface AssessmentEnvelopeItemsRepresentationNormalized {
18
+ /** ExternalAssessmentDefinition record id of the assessment envelope item */
19
+ externalAssessmentDefinition?: ExternalAssessmentDefinitionRepresentation_ExternalAssessmentDefinitionRepresentation;
17
20
  /** Name of the assessment envelope item */
18
21
  name: string | null;
19
22
  /** OmniProcess record id of the assessment envelope item */
@@ -28,6 +31,7 @@ export interface AssessmentEnvelopeItemsRepresentationNormalized {
28
31
  * (none)
29
32
  */
30
33
  export interface AssessmentEnvelopeItemsRepresentation {
34
+ externalAssessmentDefinition?: ExternalAssessmentDefinitionRepresentation_ExternalAssessmentDefinitionRepresentation;
31
35
  name: string | null;
32
36
  omniProcess: string | null;
33
37
  status: string | null;
@@ -0,0 +1,43 @@
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 = "06e7ef87c00767fb9ff41e96cb75589d";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: ExternalAssessmentDefinitionRepresentation, existing: ExternalAssessmentDefinitionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ExternalAssessmentDefinitionRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: ExternalAssessmentDefinitionRepresentationNormalized, incoming: ExternalAssessmentDefinitionRepresentationNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ExternalAssessmentDefinitionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Definition of External Assessment
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface ExternalAssessmentDefinitionRepresentationNormalized {
17
+ /** The version number of the external assessment's content. */
18
+ AssessmentContentVersion: string | null;
19
+ /** A disclaimer for custom assessments sent by the external API. */
20
+ customAssessmentDisclaimer: string | null;
21
+ /** The guideline category the external assessment belongs to. */
22
+ eaAssessmentCategory: string | null;
23
+ /** Name of the external assessments sent by the external API. */
24
+ eaName: string | null;
25
+ /** Indicates whether the external assessment is a custom assessment authored by the user or an out-of-the-box assessment. */
26
+ eaSourceSystemName: string | null;
27
+ /** The unique identifier of the external assessment. */
28
+ externalIdentifier: string | null;
29
+ }
30
+ /**
31
+ * Definition of External Assessment
32
+ *
33
+ * Keys:
34
+ * (none)
35
+ */
36
+ export interface ExternalAssessmentDefinitionRepresentation {
37
+ AssessmentContentVersion: string | null;
38
+ customAssessmentDisclaimer: string | null;
39
+ eaAssessmentCategory: string | null;
40
+ eaName: string | null;
41
+ eaSourceSystemName: string | null;
42
+ externalIdentifier: string | null;
43
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-assessment",
3
- "version": "1.389.2",
3
+ "version": "1.391.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "Healthcloud assessment for patients",
6
6
  "main": "dist/es/es2018/industries-assessment.js",
@@ -44,11 +44,11 @@
44
44
  "test": "nx build:karma && karma start --single-run"
45
45
  },
46
46
  "dependencies": {
47
- "@salesforce/lds-bindings": "^1.389.2"
47
+ "@salesforce/lds-bindings": "^1.391.0"
48
48
  },
49
49
  "devDependencies": {
50
- "@salesforce/lds-compiler-plugins": "^1.389.2",
51
- "@salesforce/lds-karma": "^1.389.2"
50
+ "@salesforce/lds-compiler-plugins": "^1.391.0",
51
+ "@salesforce/lds-karma": "^1.391.0"
52
52
  },
53
53
  "nx": {
54
54
  "targets": {
package/sfdc/index.js CHANGED
@@ -1688,4 +1688,4 @@ withDefaultLuvio((luvio) => {
1688
1688
  });
1689
1689
 
1690
1690
  export { getAssessmentEnvelope, getAssessmentEnvelopeNotifyChange, getAssessmentEnvelope_imperative, notifyAssessmentUpdateAvailable, postAssessmentContextSearch, postAssessmentEnvelope };
1691
- // version: 1.389.2-af644fb949
1691
+ // version: 1.391.0-763f006296
package/src/raml/api.raml CHANGED
@@ -131,6 +131,28 @@ types:
131
131
  status:
132
132
  description: Status of the assessment envelope
133
133
  type: string | nil
134
+ ExternalAssessmentDefinitionRepresentation:
135
+ description: Definition of External Assessment
136
+ type: object
137
+ properties:
138
+ externalIdentifier:
139
+ description: The unique identifier of the external assessment.
140
+ type: string | nil
141
+ eaSourceSystemName:
142
+ description: Indicates whether the external assessment is a custom assessment authored by the user or an out-of-the-box assessment.
143
+ type: string | nil
144
+ AssessmentContentVersion:
145
+ description: The version number of the external assessment's content.
146
+ type: string | nil
147
+ eaAssessmentCategory:
148
+ description: The guideline category the external assessment belongs to.
149
+ type: string | nil
150
+ customAssessmentDisclaimer:
151
+ description: A disclaimer for custom assessments sent by the external API.
152
+ type: string | nil
153
+ eaName:
154
+ description: Name of the external assessments sent by the external API.
155
+ type: string | nil
134
156
  AssessmentEnvelopeItemsRepresentation:
135
157
  description: List of assessment envelope items associated to the assessment envelope
136
158
  type: object
@@ -144,6 +166,10 @@ types:
144
166
  status:
145
167
  description: Status of the assessment envelope item
146
168
  type: string | nil
169
+ externalAssessmentDefinition:
170
+ description: ExternalAssessmentDefinition record id of the assessment envelope item
171
+ type: ExternalAssessmentDefinitionRepresentation
172
+ required: false
147
173
  AssessmentEnvelopeRepresentation:
148
174
  description: Assessment envelope response
149
175
  type: object