@salesforce/lds-adapters-platform-learning-content 0.1.0-dev1
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.
- package/LICENSE.txt +82 -0
- package/dist/es/es2018/platform-learning-content.js +5525 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/evaluateLearningItem.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/adapters/getCoachingAIFeedback.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/getFeaturedItemsRecommendedList.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getFeaturedItemsRelatedList.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getLearningConfig.d.ts +26 -0
- package/dist/es/es2018/types/src/generated/adapters/getLearningItemProgress.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/getLearningItemsList.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/getLearningModel.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/getLearningPractice.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getModule.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getTextLesson.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/submitForCoachingAIFeedback.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/adapters/submitForCoachingMomentsProductPitchFeedback.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/resources/getLearningContentPlatformCoachingAiFeedbackByLearningItemSubmissionId.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getLearningContentPlatformFeaturedItemListRecommended.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/getLearningContentPlatformFeaturedItemListRelated.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/getLearningContentPlatformLearningConfig.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/getLearningContentPlatformLearningItemList.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getLearningContentPlatformLearningItemProgress.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getLearningContentPlatformLearningModelByLearningItemId.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getLearningContentPlatformLearningModuleByModuleId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/getLearningContentPlatformLearningPracticeByLearningItemId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/getLearningContentPlatformLearningTextlessonByLearningItemId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/postLearningContentPlatformCoachingAiFeedback.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/resources/postLearningContentPlatformCoachingMomentsAiProductPitchFeedback.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/resources/postLearningContentPlatformLearningEvaluate.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/types/CoachingAICallSubmissionInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/CoachingAICallSubmissionOutputRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/CoachingAIFeedbackRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/CoachingAIFeedbackSummaryOutputRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/CoachingAIProductPitchFeedbackInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/EvaluateLearningItemInputRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/EvaluateLearningItemInputWrapperRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/FeaturedItemRecommendedListRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/FeaturedItemRelatedListRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/FeaturedItemRepresentation.d.ts +92 -0
- package/dist/es/es2018/types/src/generated/types/LearningAssignmentInputRepresentation.d.ts +58 -0
- package/dist/es/es2018/types/src/generated/types/LearningAssignmentRepresentation.d.ts +58 -0
- package/dist/es/es2018/types/src/generated/types/LearningConfigRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/LearningItemAssignmentRepresentation.d.ts +52 -0
- package/dist/es/es2018/types/src/generated/types/LearningItemListRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/LearningItemProgressListRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/LearningItemProgressRepresentation.d.ts +51 -0
- package/dist/es/es2018/types/src/generated/types/LearningItemRepresentation.d.ts +72 -0
- package/dist/es/es2018/types/src/generated/types/LearningModelInputRepresentation.d.ts +66 -0
- package/dist/es/es2018/types/src/generated/types/LearningModelOutputRepresentation.d.ts +76 -0
- package/dist/es/es2018/types/src/generated/types/LearningPracticeRepresentation.d.ts +50 -0
- package/dist/es/es2018/types/src/generated/types/LearningTextLessonRepresentation.d.ts +52 -0
- package/dist/es/es2018/types/src/generated/types/LearningTextLessonSectionRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/TrailheadModuleRepresentation.d.ts +81 -0
- package/dist/es/es2018/types/src/generated/types/TrailheadModuleUnitRepresentation.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
- package/package.json +71 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +5818 -0
- package/src/raml/api.raml +829 -0
- package/src/raml/luvio.raml +126 -0
package/dist/es/es2018/types/src/generated/resources/getLearningContentPlatformLearningConfig.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { LearningConfigRepresentation as types_LearningConfigRepresentation_LearningConfigRepresentation } from '../types/LearningConfigRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
}
|
|
5
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
6
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
7
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
8
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_LearningConfigRepresentation_LearningConfigRepresentation): void;
|
|
9
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_LearningConfigRepresentation_LearningConfigRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_LearningConfigRepresentation_LearningConfigRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_LearningConfigRepresentation_LearningConfigRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_LearningConfigRepresentation_LearningConfigRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_LearningConfigRepresentation_LearningConfigRepresentation, any>;
|
|
10
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_LearningConfigRepresentation_LearningConfigRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
11
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
12
|
+
export default createResourceRequest;
|
package/dist/es/es2018/types/src/generated/resources/getLearningContentPlatformLearningItemList.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { LearningItemListRepresentation as types_LearningItemListRepresentation_LearningItemListRepresentation } from '../types/LearningItemListRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
queryParams: {
|
|
5
|
+
learningItemIds?: Array<string>;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
9
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
10
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_LearningItemListRepresentation_LearningItemListRepresentation): void;
|
|
12
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_LearningItemListRepresentation_LearningItemListRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_LearningItemListRepresentation_LearningItemListRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_LearningItemListRepresentation_LearningItemListRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_LearningItemListRepresentation_LearningItemListRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_LearningItemListRepresentation_LearningItemListRepresentation, any>;
|
|
13
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_LearningItemListRepresentation_LearningItemListRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
14
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
15
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { LearningItemProgressListRepresentation as types_LearningItemProgressListRepresentation_LearningItemProgressListRepresentation } from '../types/LearningItemProgressListRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
queryParams: {
|
|
5
|
+
learningItemIds?: Array<string>;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
9
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
10
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_LearningItemProgressListRepresentation_LearningItemProgressListRepresentation): void;
|
|
12
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_LearningItemProgressListRepresentation_LearningItemProgressListRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_LearningItemProgressListRepresentation_LearningItemProgressListRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_LearningItemProgressListRepresentation_LearningItemProgressListRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_LearningItemProgressListRepresentation_LearningItemProgressListRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_LearningItemProgressListRepresentation_LearningItemProgressListRepresentation, any>;
|
|
13
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_LearningItemProgressListRepresentation_LearningItemProgressListRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
14
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
15
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { LearningModelOutputRepresentation as types_LearningModelOutputRepresentation_LearningModelOutputRepresentation } from '../types/LearningModelOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
learningItemId: string;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
9
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
10
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_LearningModelOutputRepresentation_LearningModelOutputRepresentation): void;
|
|
12
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_LearningModelOutputRepresentation_LearningModelOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_LearningModelOutputRepresentation_LearningModelOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_LearningModelOutputRepresentation_LearningModelOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_LearningModelOutputRepresentation_LearningModelOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_LearningModelOutputRepresentation_LearningModelOutputRepresentation, any>;
|
|
13
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_LearningModelOutputRepresentation_LearningModelOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
14
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
15
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { TrailheadModuleRepresentation as types_TrailheadModuleRepresentation_TrailheadModuleRepresentation } from '../types/TrailheadModuleRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
moduleId: string;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
9
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
10
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_TrailheadModuleRepresentation_TrailheadModuleRepresentation): void;
|
|
12
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_TrailheadModuleRepresentation_TrailheadModuleRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_TrailheadModuleRepresentation_TrailheadModuleRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_TrailheadModuleRepresentation_TrailheadModuleRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_TrailheadModuleRepresentation_TrailheadModuleRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_TrailheadModuleRepresentation_TrailheadModuleRepresentation, any>;
|
|
13
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_TrailheadModuleRepresentation_TrailheadModuleRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
14
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
15
|
+
export default createResourceRequest;
|
|
16
|
+
export declare function createResourceRequestFromRepresentation(representation: types_TrailheadModuleRepresentation_TrailheadModuleRepresentation): $64$luvio_engine_ResourceRequest;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { LearningPracticeRepresentation as types_LearningPracticeRepresentation_LearningPracticeRepresentation } from '../types/LearningPracticeRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
learningItemId: string;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
9
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
10
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_LearningPracticeRepresentation_LearningPracticeRepresentation): void;
|
|
12
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_LearningPracticeRepresentation_LearningPracticeRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_LearningPracticeRepresentation_LearningPracticeRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_LearningPracticeRepresentation_LearningPracticeRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_LearningPracticeRepresentation_LearningPracticeRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_LearningPracticeRepresentation_LearningPracticeRepresentation, any>;
|
|
13
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_LearningPracticeRepresentation_LearningPracticeRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
14
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
15
|
+
export default createResourceRequest;
|
|
16
|
+
export declare function createResourceRequestFromRepresentation(representation: types_LearningPracticeRepresentation_LearningPracticeRepresentation): $64$luvio_engine_ResourceRequest;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { LearningTextLessonRepresentation as types_LearningTextLessonRepresentation_LearningTextLessonRepresentation } from '../types/LearningTextLessonRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
learningItemId: string;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
9
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
10
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_LearningTextLessonRepresentation_LearningTextLessonRepresentation): void;
|
|
12
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_LearningTextLessonRepresentation_LearningTextLessonRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_LearningTextLessonRepresentation_LearningTextLessonRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_LearningTextLessonRepresentation_LearningTextLessonRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_LearningTextLessonRepresentation_LearningTextLessonRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_LearningTextLessonRepresentation_LearningTextLessonRepresentation, any>;
|
|
13
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_LearningTextLessonRepresentation_LearningTextLessonRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
14
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
15
|
+
export default createResourceRequest;
|
|
16
|
+
export declare function createResourceRequestFromRepresentation(representation: types_LearningTextLessonRepresentation_LearningTextLessonRepresentation): $64$luvio_engine_ResourceRequest;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { CoachingAICallSubmissionOutputRepresentation as types_CoachingAICallSubmissionOutputRepresentation_CoachingAICallSubmissionOutputRepresentation } from '../types/CoachingAICallSubmissionOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
body: {
|
|
5
|
+
callId: string;
|
|
6
|
+
learningItemId: string;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
10
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_CoachingAICallSubmissionOutputRepresentation_CoachingAICallSubmissionOutputRepresentation): void;
|
|
11
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_CoachingAICallSubmissionOutputRepresentation_CoachingAICallSubmissionOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_CoachingAICallSubmissionOutputRepresentation_CoachingAICallSubmissionOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_CoachingAICallSubmissionOutputRepresentation_CoachingAICallSubmissionOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_CoachingAICallSubmissionOutputRepresentation_CoachingAICallSubmissionOutputRepresentation, any>;
|
|
12
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
13
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { CoachingAIFeedbackSummaryOutputRepresentation as types_CoachingAIFeedbackSummaryOutputRepresentation_CoachingAIFeedbackSummaryOutputRepresentation } from '../types/CoachingAIFeedbackSummaryOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
body: {
|
|
5
|
+
callId: string;
|
|
6
|
+
productId: string | null;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
10
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_CoachingAIFeedbackSummaryOutputRepresentation_CoachingAIFeedbackSummaryOutputRepresentation): void;
|
|
11
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_CoachingAIFeedbackSummaryOutputRepresentation_CoachingAIFeedbackSummaryOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_CoachingAIFeedbackSummaryOutputRepresentation_CoachingAIFeedbackSummaryOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_CoachingAIFeedbackSummaryOutputRepresentation_CoachingAIFeedbackSummaryOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_CoachingAIFeedbackSummaryOutputRepresentation_CoachingAIFeedbackSummaryOutputRepresentation, any>;
|
|
12
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
13
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EvaluateLearningItemInputRepresentation as types_EvaluateLearningItemInputRepresentation_EvaluateLearningItemInputRepresentation } from '../types/EvaluateLearningItemInputRepresentation';
|
|
2
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
3
|
+
import { LearningItemProgressRepresentation as types_LearningItemProgressRepresentation_LearningItemProgressRepresentation } from '../types/LearningItemProgressRepresentation';
|
|
4
|
+
export interface ResourceRequestConfig {
|
|
5
|
+
body: {
|
|
6
|
+
payload: types_EvaluateLearningItemInputRepresentation_EvaluateLearningItemInputRepresentation;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
10
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_LearningItemProgressRepresentation_LearningItemProgressRepresentation): void;
|
|
11
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_LearningItemProgressRepresentation_LearningItemProgressRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_LearningItemProgressRepresentation_LearningItemProgressRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_LearningItemProgressRepresentation_LearningItemProgressRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_LearningItemProgressRepresentation_LearningItemProgressRepresentation, any>;
|
|
12
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
13
|
+
export default createResourceRequest;
|
package/dist/es/es2018/types/src/generated/types/CoachingAICallSubmissionInputRepresentation.d.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
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 = "21598f17fcec7acefed86cb88e080c40";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: CoachingAICallSubmissionInputRepresentation, existing: CoachingAICallSubmissionInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CoachingAICallSubmissionInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: CoachingAICallSubmissionInputRepresentationNormalized, incoming: CoachingAICallSubmissionInputRepresentationNormalized): 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: CoachingAICallSubmissionInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Input representation for submitting the call
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface CoachingAICallSubmissionInputRepresentationNormalized {
|
|
17
|
+
/** Call Id that user has selected for getting the coaching AI feedback. */
|
|
18
|
+
callId: string;
|
|
19
|
+
/** LearningItemId that is associated to the coaching AI */
|
|
20
|
+
learningItemId: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Input representation for submitting the call
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface CoachingAICallSubmissionInputRepresentation {
|
|
29
|
+
callId: string;
|
|
30
|
+
learningItemId: string;
|
|
31
|
+
}
|
package/dist/es/es2018/types/src/generated/types/CoachingAICallSubmissionOutputRepresentation.d.ts
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { CoachingAIFeedbackRepresentation as CoachingAIFeedbackRepresentation_CoachingAIFeedbackRepresentation } from './CoachingAIFeedbackRepresentation';
|
|
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
|
+
export declare const TTL = 15000;
|
|
4
|
+
export declare const VERSION = "d63f1d6a2345db84136a6263f8d81080";
|
|
5
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
+
export declare const RepresentationType: string;
|
|
7
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
8
|
+
generation_id: string;
|
|
9
|
+
}
|
|
10
|
+
export type CoachingAICallSubmissionOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export type PartialCoachingAICallSubmissionOutputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
12
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
13
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): CoachingAICallSubmissionOutputRepresentationNormalizedKeyMetadata;
|
|
14
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: CoachingAICallSubmissionOutputRepresentation): string;
|
|
15
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: CoachingAICallSubmissionOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
16
|
+
export declare function normalize(input: CoachingAICallSubmissionOutputRepresentation, existing: CoachingAICallSubmissionOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CoachingAICallSubmissionOutputRepresentationNormalized;
|
|
17
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
18
|
+
export declare function equals(existing: CoachingAICallSubmissionOutputRepresentationNormalized, incoming: CoachingAICallSubmissionOutputRepresentationNormalized): boolean;
|
|
19
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
20
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: CoachingAICallSubmissionOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
21
|
+
/**
|
|
22
|
+
* This representation defined the coaching AI feedback for a submitted call with the generation ID
|
|
23
|
+
*
|
|
24
|
+
* Keys:
|
|
25
|
+
* generation_id (string): generationId
|
|
26
|
+
*/
|
|
27
|
+
export interface CoachingAICallSubmissionOutputRepresentationNormalized {
|
|
28
|
+
coachingAIFeedback: CoachingAIFeedbackRepresentation_CoachingAIFeedbackRepresentation;
|
|
29
|
+
/** Generation ID for the coaching AI feedback */
|
|
30
|
+
generationId: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* This representation defined the coaching AI feedback for a submitted call with the generation ID
|
|
34
|
+
*
|
|
35
|
+
* Keys:
|
|
36
|
+
* generation_id (string): generationId
|
|
37
|
+
*/
|
|
38
|
+
export interface CoachingAICallSubmissionOutputRepresentation {
|
|
39
|
+
coachingAIFeedback: CoachingAIFeedbackRepresentation_CoachingAIFeedbackRepresentation;
|
|
40
|
+
generationId: string;
|
|
41
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 = "1d9120ef9f750e06b6b3bd3301a1970a";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: CoachingAIFeedbackRepresentation, existing: CoachingAIFeedbackRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CoachingAIFeedbackRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: CoachingAIFeedbackRepresentationNormalized, incoming: CoachingAIFeedbackRepresentationNormalized): 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: CoachingAIFeedbackRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* This representation defines the coaching AI feedback
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface CoachingAIFeedbackRepresentationNormalized {
|
|
17
|
+
/** Conversation Summary ID for the coaching AI feedback */
|
|
18
|
+
conversationSummaryId: string;
|
|
19
|
+
/** Feedback in the form of rich text */
|
|
20
|
+
feedback: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* This representation defines the coaching AI feedback
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface CoachingAIFeedbackRepresentation {
|
|
29
|
+
conversationSummaryId: string;
|
|
30
|
+
feedback: string;
|
|
31
|
+
}
|
package/dist/es/es2018/types/src/generated/types/CoachingAIFeedbackSummaryOutputRepresentation.d.ts
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
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 = 15000;
|
|
3
|
+
export declare const VERSION = "9d7483cd116cf47821138a231d5d5836";
|
|
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
|
+
generation_id: string;
|
|
8
|
+
}
|
|
9
|
+
export type CoachingAIFeedbackSummaryOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
10
|
+
export type PartialCoachingAIFeedbackSummaryOutputRepresentationNormalizedKeyMetadata = 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): CoachingAIFeedbackSummaryOutputRepresentationNormalizedKeyMetadata;
|
|
13
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: CoachingAIFeedbackSummaryOutputRepresentation): string;
|
|
14
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: CoachingAIFeedbackSummaryOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function normalize(input: CoachingAIFeedbackSummaryOutputRepresentation, existing: CoachingAIFeedbackSummaryOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CoachingAIFeedbackSummaryOutputRepresentationNormalized;
|
|
16
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
17
|
+
export declare function equals(existing: CoachingAIFeedbackSummaryOutputRepresentationNormalized, incoming: CoachingAIFeedbackSummaryOutputRepresentationNormalized): boolean;
|
|
18
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
19
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: CoachingAIFeedbackSummaryOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
20
|
+
/**
|
|
21
|
+
* This representation defines the coaching AI feedback summary with the generation ID
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* generation_id (string): generationId
|
|
25
|
+
*/
|
|
26
|
+
export interface CoachingAIFeedbackSummaryOutputRepresentationNormalized {
|
|
27
|
+
/** Coaching AI feedback summary */
|
|
28
|
+
feedback: string;
|
|
29
|
+
/** Generation ID for the coaching AI feedback summary */
|
|
30
|
+
generationId: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* This representation defines the coaching AI feedback summary with the generation ID
|
|
34
|
+
*
|
|
35
|
+
* Keys:
|
|
36
|
+
* generation_id (string): generationId
|
|
37
|
+
*/
|
|
38
|
+
export interface CoachingAIFeedbackSummaryOutputRepresentation {
|
|
39
|
+
feedback: string;
|
|
40
|
+
generationId: string;
|
|
41
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 = "6161155d6d61df38bdb80a6a96cad2c5";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: CoachingAIProductPitchFeedbackInputRepresentation, existing: CoachingAIProductPitchFeedbackInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CoachingAIProductPitchFeedbackInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: CoachingAIProductPitchFeedbackInputRepresentationNormalized, incoming: CoachingAIProductPitchFeedbackInputRepresentationNormalized): 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: CoachingAIProductPitchFeedbackInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Input representation for submitting the product pitch call
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface CoachingAIProductPitchFeedbackInputRepresentationNormalized {
|
|
17
|
+
/** Call Id selected by user to get the Product Pitch AI Feedback */
|
|
18
|
+
callId: string;
|
|
19
|
+
/** Product Id selected by user to get Product Pitch AI Feedback */
|
|
20
|
+
productId: string | null;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Input representation for submitting the product pitch call
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface CoachingAIProductPitchFeedbackInputRepresentation {
|
|
29
|
+
callId: string;
|
|
30
|
+
productId: string | null;
|
|
31
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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 = "8b7de0dc56d4af99f51883d513f1fb18";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: EvaluateLearningItemInputRepresentation, existing: EvaluateLearningItemInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EvaluateLearningItemInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: EvaluateLearningItemInputRepresentationNormalized, incoming: EvaluateLearningItemInputRepresentationNormalized): 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: EvaluateLearningItemInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Input representation for evaluating learning items
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface EvaluateLearningItemInputRepresentationNormalized {
|
|
17
|
+
/** Additional details needed for evaluting the learning item */
|
|
18
|
+
details?: {
|
|
19
|
+
[key: string]: unknown;
|
|
20
|
+
};
|
|
21
|
+
/** LearningItemId that needs to be evaluated */
|
|
22
|
+
learningItemId: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Input representation for evaluating learning items
|
|
26
|
+
*
|
|
27
|
+
* Keys:
|
|
28
|
+
* (none)
|
|
29
|
+
*/
|
|
30
|
+
export interface EvaluateLearningItemInputRepresentation {
|
|
31
|
+
details?: {
|
|
32
|
+
[key: string]: unknown;
|
|
33
|
+
};
|
|
34
|
+
learningItemId: string;
|
|
35
|
+
}
|
package/dist/es/es2018/types/src/generated/types/EvaluateLearningItemInputWrapperRepresentation.d.ts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { EvaluateLearningItemInputRepresentation as EvaluateLearningItemInputRepresentation_EvaluateLearningItemInputRepresentation } from './EvaluateLearningItemInputRepresentation';
|
|
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 = "ca5b1eedf333455341d2ffdeb1b108d8";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: EvaluateLearningItemInputWrapperRepresentation, existing: EvaluateLearningItemInputWrapperRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EvaluateLearningItemInputWrapperRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: EvaluateLearningItemInputWrapperRepresentationNormalized, incoming: EvaluateLearningItemInputWrapperRepresentationNormalized): boolean;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: EvaluateLearningItemInputWrapperRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Wrapper for evaluate learning item input representation
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface EvaluateLearningItemInputWrapperRepresentationNormalized {
|
|
18
|
+
payload: EvaluateLearningItemInputRepresentation_EvaluateLearningItemInputRepresentation;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Wrapper for evaluate learning item input representation
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface EvaluateLearningItemInputWrapperRepresentation {
|
|
27
|
+
payload: EvaluateLearningItemInputRepresentation_EvaluateLearningItemInputRepresentation;
|
|
28
|
+
}
|
package/dist/es/es2018/types/src/generated/types/FeaturedItemRecommendedListRepresentation.d.ts
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
import { FeaturedItemRepresentation as FeaturedItemRepresentation_FeaturedItemRepresentation } from './FeaturedItemRepresentation';
|
|
3
|
+
export declare const VERSION = "94c7194d9578589364c6efd021226634";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: FeaturedItemRecommendedListRepresentation, existing: FeaturedItemRecommendedListRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FeaturedItemRecommendedListRepresentationNormalized;
|
|
7
|
+
export interface DynamicIngestParams {
|
|
8
|
+
recommendedList: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
}
|
|
10
|
+
export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input: FeaturedItemRecommendedListRepresentation, existing: FeaturedItemRecommendedListRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number) => FeaturedItemRecommendedListRepresentationNormalized;
|
|
11
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
12
|
+
export interface DynamicSelectParams {
|
|
13
|
+
recommendedList?: $64$luvio_engine_LinkSelection;
|
|
14
|
+
}
|
|
15
|
+
export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
|
|
16
|
+
export declare function equals(existing: FeaturedItemRecommendedListRepresentationNormalized, incoming: FeaturedItemRecommendedListRepresentationNormalized): boolean;
|
|
17
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
18
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: FeaturedItemRecommendedListRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
19
|
+
export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
|
|
20
|
+
/**
|
|
21
|
+
* This representation defines a list of recommended items in the side panel home page
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface FeaturedItemRecommendedListRepresentationNormalized {
|
|
27
|
+
/** returns recommended list */
|
|
28
|
+
recommendedList: Array<$64$luvio_engine_StoreLink>;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* This representation defines a list of recommended items in the side panel home page
|
|
32
|
+
*
|
|
33
|
+
* Keys:
|
|
34
|
+
* (none)
|
|
35
|
+
*/
|
|
36
|
+
export interface FeaturedItemRecommendedListRepresentation {
|
|
37
|
+
recommendedList: Array<FeaturedItemRepresentation_FeaturedItemRepresentation>;
|
|
38
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
import { FeaturedItemRepresentation as FeaturedItemRepresentation_FeaturedItemRepresentation } from './FeaturedItemRepresentation';
|
|
3
|
+
export declare const VERSION = "5d7adb55f43466f61c4837ebf27eab61";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: FeaturedItemRelatedListRepresentation, existing: FeaturedItemRelatedListRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FeaturedItemRelatedListRepresentationNormalized;
|
|
7
|
+
export interface DynamicIngestParams {
|
|
8
|
+
relatedList: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
}
|
|
10
|
+
export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input: FeaturedItemRelatedListRepresentation, existing: FeaturedItemRelatedListRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number) => FeaturedItemRelatedListRepresentationNormalized;
|
|
11
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
12
|
+
export interface DynamicSelectParams {
|
|
13
|
+
relatedList?: $64$luvio_engine_LinkSelection;
|
|
14
|
+
}
|
|
15
|
+
export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
|
|
16
|
+
export declare function equals(existing: FeaturedItemRelatedListRepresentationNormalized, incoming: FeaturedItemRelatedListRepresentationNormalized): boolean;
|
|
17
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
18
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: FeaturedItemRelatedListRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
19
|
+
export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
|
|
20
|
+
/**
|
|
21
|
+
* This representation defines a list of related items in the side panel home page
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface FeaturedItemRelatedListRepresentationNormalized {
|
|
27
|
+
/** returns related list */
|
|
28
|
+
relatedList: Array<$64$luvio_engine_StoreLink>;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* This representation defines a list of related items in the side panel home page
|
|
32
|
+
*
|
|
33
|
+
* Keys:
|
|
34
|
+
* (none)
|
|
35
|
+
*/
|
|
36
|
+
export interface FeaturedItemRelatedListRepresentation {
|
|
37
|
+
relatedList: Array<FeaturedItemRepresentation_FeaturedItemRepresentation>;
|
|
38
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
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 = 15000;
|
|
3
|
+
export declare const VERSION = "b489f9f2cbdc91a04dd15b4d467b6760";
|
|
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 FeaturedItemRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
10
|
+
export type PartialFeaturedItemRepresentationNormalizedKeyMetadata = 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): FeaturedItemRepresentationNormalizedKeyMetadata;
|
|
13
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: FeaturedItemRepresentation): string;
|
|
14
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: FeaturedItemRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function normalize(input: FeaturedItemRepresentation, existing: FeaturedItemRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FeaturedItemRepresentationNormalized;
|
|
16
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
17
|
+
export declare function equals(existing: FeaturedItemRepresentationNormalized, incoming: FeaturedItemRepresentationNormalized): boolean;
|
|
18
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
19
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: FeaturedItemRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
20
|
+
/**
|
|
21
|
+
* This representation will be used to show featured items(recommended & related) in the Side Panel Home Page
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* id (string): id
|
|
25
|
+
*/
|
|
26
|
+
export interface FeaturedItemRepresentationNormalized {
|
|
27
|
+
/** the total points possible for the LearningContent */
|
|
28
|
+
availablePointCount: number | null;
|
|
29
|
+
/** the completedDate for the LearningItem for the end user at runtime */
|
|
30
|
+
completedDate: string | null;
|
|
31
|
+
/** Returns the number of LearningContentItems completed by the current user */
|
|
32
|
+
completedItemCount: number | null;
|
|
33
|
+
/** The completion percentage of the learning unit as a whole integer, */
|
|
34
|
+
completedPercent: number | null;
|
|
35
|
+
/** Description for the side panel item */
|
|
36
|
+
description: string;
|
|
37
|
+
/** the dueDate for the FeaturedItem for the end user at runtime */
|
|
38
|
+
dueDate: string | null;
|
|
39
|
+
/** the number of points earned by the user for this LearningContent */
|
|
40
|
+
earnedPointCount: number | null;
|
|
41
|
+
/** SLDS icon name */
|
|
42
|
+
iconName: string;
|
|
43
|
+
/** Defines a uniques identifier across different content types */
|
|
44
|
+
id: string;
|
|
45
|
+
/** Specifies the image url in a FeaturedItem */
|
|
46
|
+
imageUrl: string | null;
|
|
47
|
+
/** If the end-user completed the learningItem */
|
|
48
|
+
isCompleted: boolean | null;
|
|
49
|
+
/** if this content was curated by SFDC, instead of being assembled by a learning admin. */
|
|
50
|
+
isCuratedContent: boolean | null;
|
|
51
|
+
/** Returns the number of LearningContentItems associated with this FeaturedItem */
|
|
52
|
+
itemCount: number | null;
|
|
53
|
+
/** the number of minutes remaining for the user to complete this LearningContent */
|
|
54
|
+
minutesRemainingCount: number | null;
|
|
55
|
+
/** Id for the entity backing the learning unit, E.g. this would return the Id for a Trailhead module if this was a Trailhead unit, or the Id for a LearningLink if this was a link to outside content */
|
|
56
|
+
relatedId: string | null;
|
|
57
|
+
/** The localized title for the side panel item */
|
|
58
|
+
title: string;
|
|
59
|
+
/** the total time in minutes for the LearningContent */
|
|
60
|
+
totalMinutesCount: number | null;
|
|
61
|
+
/** Specifies different Content Types that will be in the side panel home page. */
|
|
62
|
+
type: string;
|
|
63
|
+
/** Specifies a URL in a FeaturedItem */
|
|
64
|
+
url: string | null;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* This representation will be used to show featured items(recommended & related) in the Side Panel Home Page
|
|
68
|
+
*
|
|
69
|
+
* Keys:
|
|
70
|
+
* id (string): id
|
|
71
|
+
*/
|
|
72
|
+
export interface FeaturedItemRepresentation {
|
|
73
|
+
availablePointCount: number | null;
|
|
74
|
+
completedDate: string | null;
|
|
75
|
+
completedItemCount: number | null;
|
|
76
|
+
completedPercent: number | null;
|
|
77
|
+
description: string;
|
|
78
|
+
dueDate: string | null;
|
|
79
|
+
earnedPointCount: number | null;
|
|
80
|
+
iconName: string;
|
|
81
|
+
id: string;
|
|
82
|
+
imageUrl: string | null;
|
|
83
|
+
isCompleted: boolean | null;
|
|
84
|
+
isCuratedContent: boolean | null;
|
|
85
|
+
itemCount: number | null;
|
|
86
|
+
minutesRemainingCount: number | null;
|
|
87
|
+
relatedId: string | null;
|
|
88
|
+
title: string;
|
|
89
|
+
totalMinutesCount: number | null;
|
|
90
|
+
type: string;
|
|
91
|
+
url: string | null;
|
|
92
|
+
}
|