@salesforce/lds-adapters-service-serviceplan 1.308.0 → 1.309.0-dev10
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/dist/es/es2018/service-serviceplan.js +1502 -328
- package/dist/es/es2018/types/src/generated/adapters/executeServicePlan.d.ts +4 -6
- package/dist/es/es2018/types/src/generated/adapters/generateServicePlan.d.ts +21 -0
- package/dist/es/es2018/types/src/generated/adapters/getGenerationRequest.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/getServicePlan.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +5 -1
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +10 -2
- package/dist/es/es2018/types/src/generated/resources/{getConnectServicePlanExecuteByGeneratedPlanId.d.ts → getConnectServicePlanExecuteByPlanOrStepId.d.ts} +1 -1
- package/dist/es/es2018/types/src/generated/resources/getConnectServicePlanGenerationRequestsByRequestId.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectServicePlanServicePlanDetailsByRecordId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/{postConnectServicePlanGenerateSyncByRecordId.d.ts → postConnectServicePlanGenerationRequests.d.ts} +7 -6
- package/dist/es/es2018/types/src/generated/resources/{putConnectServicePlanExecuteByGeneratedPlanId.d.ts → putConnectServicePlanExecuteByPlanOrStepId.d.ts} +2 -4
- package/dist/es/es2018/types/src/generated/types/ServicePlanDataInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/ServicePlanDataOutputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/ServicePlanDetailsOutputRepresentation.d.ts +60 -0
- package/dist/es/es2018/types/src/generated/types/ServicePlanDetailsRepresentation.d.ts +47 -0
- package/dist/es/es2018/types/src/generated/types/ServicePlanExecutionInputRepresentation.d.ts +4 -10
- package/dist/es/es2018/types/src/generated/types/ServicePlanExecutionOutputRepresentation.d.ts +11 -16
- package/dist/es/es2018/types/src/generated/types/ServicePlanExecutionSummaryRepresentation.d.ts +2 -11
- package/dist/es/es2018/types/src/generated/types/ServicePlanGenerationInputParamRepresentation.d.ts +5 -5
- package/dist/es/es2018/types/src/generated/types/ServicePlanGenerationOutputRepresentation.d.ts +73 -0
- package/dist/es/es2018/types/src/generated/types/ServicePlanGenerationSessionInformationOutputRepresentation.d.ts +13 -19
- package/dist/es/es2018/types/src/generated/types/ServicePlanOutputRepresentation.d.ts +27 -20
- package/dist/es/es2018/types/src/generated/types/ServicePlanStepDetailsRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/ServicePlanStepExecutionStatusRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/ServicePlanStepRepresentation.d.ts +14 -18
- package/package.json +3 -3
- package/sfdc/index.js +1583 -334
- package/src/raml/api.raml +238 -97
- package/src/raml/luvio.raml +39 -7
- package/dist/es/es2018/types/src/generated/adapters/generateSync.d.ts +0 -20
- package/dist/es/es2018/types/src/generated/types/ServicePlanGenerationSyncOutputRepresentation.d.ts +0 -56
- package/dist/es/es2018/types/src/generated/types/ServicePlanStepAttributeRepresentation.d.ts +0 -31
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
2
|
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
-
import { ResourceRequestConfig as
|
|
3
|
+
import { ResourceRequestConfig as resources_putConnectServicePlanExecuteByPlanOrStepId_ResourceRequestConfig } from '../resources/putConnectServicePlanExecuteByPlanOrStepId';
|
|
4
4
|
import { ServicePlanExecutionOutputRepresentation as types_ServicePlanExecutionOutputRepresentation_ServicePlanExecutionOutputRepresentation } from '../types/ServicePlanExecutionOutputRepresentation';
|
|
5
5
|
export declare const adapterName = "executeServicePlan";
|
|
6
6
|
export declare const executeServicePlan_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
7
|
export declare const executeServicePlan_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
8
|
export interface ExecuteServicePlanConfig {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
planId: string;
|
|
12
|
-
sessionId: string;
|
|
9
|
+
planOrStepId: string;
|
|
10
|
+
action: string;
|
|
13
11
|
}
|
|
14
|
-
export declare const createResourceParams: (config: ExecuteServicePlanConfig) =>
|
|
12
|
+
export declare const createResourceParams: (config: ExecuteServicePlanConfig) => resources_putConnectServicePlanExecuteByPlanOrStepId_ResourceRequestConfig;
|
|
15
13
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<ExecuteServicePlanConfig>): adapter$45$utils_Untrusted<ExecuteServicePlanConfig>;
|
|
16
14
|
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): ExecuteServicePlanConfig | null;
|
|
17
15
|
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: ExecuteServicePlanConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_ServicePlanExecutionOutputRepresentation_ServicePlanExecutionOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ServicePlanExecutionOutputRepresentation_ServicePlanExecutionOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ServicePlanExecutionOutputRepresentation_ServicePlanExecutionOutputRepresentation, any>>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
+
import { ResourceRequestConfig as resources_postConnectServicePlanGenerationRequests_ResourceRequestConfig } from '../resources/postConnectServicePlanGenerationRequests';
|
|
4
|
+
import { ServicePlanGenerationOutputRepresentation as types_ServicePlanGenerationOutputRepresentation_ServicePlanGenerationOutputRepresentation } from '../types/ServicePlanGenerationOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "generateServicePlan";
|
|
6
|
+
export declare const generateServicePlan_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const generateServicePlan_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GenerateServicePlanConfig {
|
|
9
|
+
processingMode?: string;
|
|
10
|
+
recordId?: string;
|
|
11
|
+
additionalContext: {
|
|
12
|
+
[key: string]: string;
|
|
13
|
+
};
|
|
14
|
+
generationMode: string;
|
|
15
|
+
source: string;
|
|
16
|
+
}
|
|
17
|
+
export declare const createResourceParams: (config: GenerateServicePlanConfig) => resources_postConnectServicePlanGenerationRequests_ResourceRequestConfig;
|
|
18
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GenerateServicePlanConfig>): adapter$45$utils_Untrusted<GenerateServicePlanConfig>;
|
|
19
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GenerateServicePlanConfig | null;
|
|
20
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GenerateServicePlanConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_ServicePlanGenerationOutputRepresentation_ServicePlanGenerationOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ServicePlanGenerationOutputRepresentation_ServicePlanGenerationOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ServicePlanGenerationOutputRepresentation_ServicePlanGenerationOutputRepresentation, any>>;
|
|
21
|
+
export declare const generateServicePlanAdapterFactory: $64$luvio_engine_AdapterFactory<GenerateServicePlanConfig, types_ServicePlanGenerationOutputRepresentation_ServicePlanGenerationOutputRepresentation>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
+
import { ResourceRequestConfig as resources_getConnectServicePlanGenerationRequestsByRequestId_ResourceRequestConfig } from '../resources/getConnectServicePlanGenerationRequestsByRequestId';
|
|
4
|
+
import { ServicePlanGenerationOutputRepresentation as types_ServicePlanGenerationOutputRepresentation_ServicePlanGenerationOutputRepresentation } from '../types/ServicePlanGenerationOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "getGenerationRequest";
|
|
6
|
+
export declare const getGenerationRequest_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const getGenerationRequest_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GetGenerationRequestConfig {
|
|
9
|
+
requestId: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const createResourceParams: (config: GetGenerationRequestConfig) => resources_getConnectServicePlanGenerationRequestsByRequestId_ResourceRequestConfig;
|
|
12
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetGenerationRequestConfig): string;
|
|
13
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetGenerationRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetGenerationRequestConfig>): adapter$45$utils_Untrusted<GetGenerationRequestConfig>;
|
|
15
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetGenerationRequestConfig | null;
|
|
16
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetGenerationRequestConfig): $64$luvio_engine_Fragment;
|
|
17
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetGenerationRequestConfig): $64$luvio_engine_Snapshot<types_ServicePlanGenerationOutputRepresentation_ServicePlanGenerationOutputRepresentation, any>;
|
|
18
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetGenerationRequestConfig, resourceParams: resources_getConnectServicePlanGenerationRequestsByRequestId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ServicePlanGenerationOutputRepresentation_ServicePlanGenerationOutputRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_ServicePlanGenerationOutputRepresentation_ServicePlanGenerationOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ServicePlanGenerationOutputRepresentation_ServicePlanGenerationOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ServicePlanGenerationOutputRepresentation_ServicePlanGenerationOutputRepresentation, any>>;
|
|
19
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetGenerationRequestConfig, resourceParams: resources_getConnectServicePlanGenerationRequestsByRequestId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
20
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetGenerationRequestConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_ServicePlanGenerationOutputRepresentation_ServicePlanGenerationOutputRepresentation, any>>;
|
|
21
|
+
export type BuildSnapshotContext = {
|
|
22
|
+
luvio: $64$luvio_engine_Luvio;
|
|
23
|
+
config: GetGenerationRequestConfig;
|
|
24
|
+
};
|
|
25
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_ServicePlanGenerationOutputRepresentation_ServicePlanGenerationOutputRepresentation, any>>;
|
|
26
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_ServicePlanGenerationOutputRepresentation_ServicePlanGenerationOutputRepresentation>): $64$luvio_engine_Snapshot<types_ServicePlanGenerationOutputRepresentation_ServicePlanGenerationOutputRepresentation, any>;
|
|
27
|
+
export declare const getGenerationRequestAdapterFactory: $64$luvio_engine_AdapterFactory<GetGenerationRequestConfig, types_ServicePlanGenerationOutputRepresentation_ServicePlanGenerationOutputRepresentation>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, UncoercedConfiguration as adapter$45$utils_UncoercedConfiguration } from './adapter-utils';
|
|
3
|
+
import { ResourceRequestConfig as resources_getConnectServicePlanServicePlanDetailsByRecordId_ResourceRequestConfig } from '../resources/getConnectServicePlanServicePlanDetailsByRecordId';
|
|
4
|
+
import { ServicePlanDetailsOutputRepresentation as types_ServicePlanDetailsOutputRepresentation_ServicePlanDetailsOutputRepresentation, KeyParams as types_ServicePlanDetailsOutputRepresentation_KeyParams } from '../types/ServicePlanDetailsOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "getServicePlan";
|
|
6
|
+
export declare const getServicePlan_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const getServicePlan_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GetServicePlanConfig {
|
|
9
|
+
recordId: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const createResourceParams: (config: GetServicePlanConfig) => resources_getConnectServicePlanServicePlanDetailsByRecordId_ResourceRequestConfig;
|
|
12
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetServicePlanConfig): string;
|
|
13
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetServicePlanConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetServicePlanConfig>): adapter$45$utils_Untrusted<GetServicePlanConfig>;
|
|
15
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetServicePlanConfig | null;
|
|
16
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetServicePlanConfig): $64$luvio_engine_Fragment;
|
|
17
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetServicePlanConfig): $64$luvio_engine_Snapshot<types_ServicePlanDetailsOutputRepresentation_ServicePlanDetailsOutputRepresentation, any>;
|
|
18
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetServicePlanConfig, resourceParams: resources_getConnectServicePlanServicePlanDetailsByRecordId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ServicePlanDetailsOutputRepresentation_ServicePlanDetailsOutputRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_ServicePlanDetailsOutputRepresentation_ServicePlanDetailsOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ServicePlanDetailsOutputRepresentation_ServicePlanDetailsOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ServicePlanDetailsOutputRepresentation_ServicePlanDetailsOutputRepresentation, any>>;
|
|
19
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetServicePlanConfig, resourceParams: resources_getConnectServicePlanServicePlanDetailsByRecordId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
20
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetServicePlanConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_ServicePlanDetailsOutputRepresentation_ServicePlanDetailsOutputRepresentation, any>>;
|
|
21
|
+
export type BuildSnapshotContext = {
|
|
22
|
+
luvio: $64$luvio_engine_Luvio;
|
|
23
|
+
config: GetServicePlanConfig;
|
|
24
|
+
};
|
|
25
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_ServicePlanDetailsOutputRepresentation_ServicePlanDetailsOutputRepresentation, any>>;
|
|
26
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_ServicePlanDetailsOutputRepresentation_ServicePlanDetailsOutputRepresentation>): $64$luvio_engine_Snapshot<types_ServicePlanDetailsOutputRepresentation_ServicePlanDetailsOutputRepresentation, any>;
|
|
27
|
+
export declare const getServicePlanAdapterFactory: $64$luvio_engine_AdapterFactory<GetServicePlanConfig, types_ServicePlanDetailsOutputRepresentation_ServicePlanDetailsOutputRepresentation>;
|
|
28
|
+
export declare const notifyChangeFactory: (luvio: $64$luvio_engine_Luvio, options?: $64$luvio_engine_DispatchResourceRequestContext) => (configs: adapter$45$utils_UncoercedConfiguration<types_ServicePlanDetailsOutputRepresentation_KeyParams, any>[]) => void;
|
|
@@ -1,2 +1,6 @@
|
|
|
1
1
|
export { executeServicePlanAdapterFactory } from '../adapters/executeServicePlan';
|
|
2
|
-
export {
|
|
2
|
+
export { generateServicePlanAdapterFactory } from '../adapters/generateServicePlan';
|
|
3
|
+
export { getGenerationRequestAdapterFactory } from '../adapters/getGenerationRequest';
|
|
4
|
+
export { getServicePlanAdapterFactory } from '../adapters/getServicePlan';
|
|
5
|
+
export { notifyUpdateAvailableFactory as notifyServicePlanDetailsUpdateAvailableFactory } from '../types/ServicePlanDetailsOutputRepresentation';
|
|
6
|
+
export { notifyUpdateAvailableFactory as notifyServicePlanGenerationUpdateAvailableFactory } from '../types/ServicePlanGenerationOutputRepresentation';
|
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
declare let executeServicePlan: any;
|
|
2
|
-
declare let
|
|
3
|
-
|
|
2
|
+
declare let generateServicePlan: any;
|
|
3
|
+
declare let getGenerationRequest: any;
|
|
4
|
+
declare let getServicePlan: any;
|
|
5
|
+
declare let getServicePlanNotifyChange: any;
|
|
6
|
+
declare let getGenerationRequest_imperative: any;
|
|
7
|
+
declare let getServicePlan_imperative: any;
|
|
8
|
+
declare let notifyServicePlanDetailsUpdateAvailable: any;
|
|
9
|
+
declare let notifyServicePlanGenerationUpdateAvailable: any;
|
|
10
|
+
export { executeServicePlan, generateServicePlan, getGenerationRequest, getServicePlan, getServicePlanNotifyChange, getGenerationRequest_imperative, getServicePlan_imperative, };
|
|
11
|
+
export { notifyServicePlanDetailsUpdateAvailable, notifyServicePlanGenerationUpdateAvailable };
|
|
@@ -2,7 +2,7 @@ import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment,
|
|
|
2
2
|
import { ServicePlanExecutionOutputRepresentation as types_ServicePlanExecutionOutputRepresentation_ServicePlanExecutionOutputRepresentation } from '../types/ServicePlanExecutionOutputRepresentation';
|
|
3
3
|
export interface ResourceRequestConfig {
|
|
4
4
|
urlParams: {
|
|
5
|
-
|
|
5
|
+
planOrStepId: string;
|
|
6
6
|
};
|
|
7
7
|
}
|
|
8
8
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
@@ -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 { ServicePlanGenerationOutputRepresentation as types_ServicePlanGenerationOutputRepresentation_ServicePlanGenerationOutputRepresentation } from '../types/ServicePlanGenerationOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
requestId: 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_ServicePlanGenerationOutputRepresentation_ServicePlanGenerationOutputRepresentation): void;
|
|
12
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ServicePlanGenerationOutputRepresentation_ServicePlanGenerationOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ServicePlanGenerationOutputRepresentation_ServicePlanGenerationOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ServicePlanGenerationOutputRepresentation_ServicePlanGenerationOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ServicePlanGenerationOutputRepresentation_ServicePlanGenerationOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ServicePlanGenerationOutputRepresentation_ServicePlanGenerationOutputRepresentation, any>;
|
|
13
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ServicePlanGenerationOutputRepresentation_ServicePlanGenerationOutputRepresentation>): $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 { ServicePlanDetailsOutputRepresentation as types_ServicePlanDetailsOutputRepresentation_ServicePlanDetailsOutputRepresentation } from '../types/ServicePlanDetailsOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
recordId: 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_ServicePlanDetailsOutputRepresentation_ServicePlanDetailsOutputRepresentation): void;
|
|
12
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ServicePlanDetailsOutputRepresentation_ServicePlanDetailsOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ServicePlanDetailsOutputRepresentation_ServicePlanDetailsOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ServicePlanDetailsOutputRepresentation_ServicePlanDetailsOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ServicePlanDetailsOutputRepresentation_ServicePlanDetailsOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ServicePlanDetailsOutputRepresentation_ServicePlanDetailsOutputRepresentation, any>;
|
|
13
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ServicePlanDetailsOutputRepresentation_ServicePlanDetailsOutputRepresentation>): $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_ServicePlanDetailsOutputRepresentation_ServicePlanDetailsOutputRepresentation): $64$luvio_engine_ResourceRequest;
|
|
@@ -1,19 +1,20 @@
|
|
|
1
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 {
|
|
2
|
+
import { ServicePlanGenerationOutputRepresentation as types_ServicePlanGenerationOutputRepresentation_ServicePlanGenerationOutputRepresentation } from '../types/ServicePlanGenerationOutputRepresentation';
|
|
3
3
|
export interface ResourceRequestConfig {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
queryParams: {
|
|
5
|
+
processingMode?: string;
|
|
6
|
+
recordId?: string;
|
|
6
7
|
};
|
|
7
8
|
body: {
|
|
8
9
|
additionalContext: {
|
|
9
10
|
[key: string]: string;
|
|
10
11
|
};
|
|
11
|
-
|
|
12
|
+
generationMode: string;
|
|
12
13
|
source: string;
|
|
13
14
|
};
|
|
14
15
|
}
|
|
15
16
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
16
|
-
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response:
|
|
17
|
-
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<
|
|
17
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ServicePlanGenerationOutputRepresentation_ServicePlanGenerationOutputRepresentation): void;
|
|
18
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ServicePlanGenerationOutputRepresentation_ServicePlanGenerationOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ServicePlanGenerationOutputRepresentation_ServicePlanGenerationOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ServicePlanGenerationOutputRepresentation_ServicePlanGenerationOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ServicePlanGenerationOutputRepresentation_ServicePlanGenerationOutputRepresentation, any>;
|
|
18
19
|
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
19
20
|
export default createResourceRequest;
|
|
@@ -2,12 +2,10 @@ import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment,
|
|
|
2
2
|
import { ServicePlanExecutionOutputRepresentation as types_ServicePlanExecutionOutputRepresentation_ServicePlanExecutionOutputRepresentation } from '../types/ServicePlanExecutionOutputRepresentation';
|
|
3
3
|
export interface ResourceRequestConfig {
|
|
4
4
|
urlParams: {
|
|
5
|
-
|
|
5
|
+
planOrStepId: string;
|
|
6
6
|
};
|
|
7
7
|
body: {
|
|
8
|
-
|
|
9
|
-
planId: string;
|
|
10
|
-
sessionId: string;
|
|
8
|
+
action: string;
|
|
11
9
|
};
|
|
12
10
|
}
|
|
13
11
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
@@ -0,0 +1,28 @@
|
|
|
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 = "b1045d5ac0f4c630bf641233be756c5b";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: ServicePlanDataInputRepresentation, existing: ServicePlanDataInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ServicePlanDataInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: ServicePlanDataInputRepresentationNormalized, incoming: ServicePlanDataInputRepresentationNormalized): 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: ServicePlanDataInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Represents the Input for gathering the record details required to generate the Service Plan
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface ServicePlanDataInputRepresentationNormalized {
|
|
17
|
+
/** Record ID */
|
|
18
|
+
recordId: string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Represents the Input for gathering the record details required to generate the Service Plan
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface ServicePlanDataInputRepresentation {
|
|
27
|
+
recordId: string;
|
|
28
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, 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 = "c273e66a21ed6eb76371941fa0c58cc6";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: ServicePlanDataOutputRepresentation, existing: ServicePlanDataOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ServicePlanDataOutputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
7
|
+
export declare function equals(existing: ServicePlanDataOutputRepresentationNormalized, incoming: ServicePlanDataOutputRepresentationNormalized): 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: ServicePlanDataOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Represent the service plan data
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface ServicePlanDataOutputRepresentationNormalized {
|
|
17
|
+
/** The Record details */
|
|
18
|
+
recordDetails: string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Represent the service plan data
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface ServicePlanDataOutputRepresentation {
|
|
27
|
+
recordDetails: string;
|
|
28
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
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, 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 } from '@luvio/engine';
|
|
2
|
+
import { ServicePlanDetailsRepresentation as ServicePlanDetailsRepresentation_ServicePlanDetailsRepresentation } from './ServicePlanDetailsRepresentation';
|
|
3
|
+
export declare const TTL = 1000;
|
|
4
|
+
export declare const VERSION = "2dd60cd6c267351cb563fcc04cb5cb56";
|
|
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
|
+
id: string;
|
|
9
|
+
}
|
|
10
|
+
export type ServicePlanDetailsOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export type PartialServicePlanDetailsOutputRepresentationNormalizedKeyMetadata = 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): ServicePlanDetailsOutputRepresentationNormalizedKeyMetadata;
|
|
14
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: ServicePlanDetailsOutputRepresentation): string;
|
|
15
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: ServicePlanDetailsOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
16
|
+
export declare function normalize(input: ServicePlanDetailsOutputRepresentation, existing: ServicePlanDetailsOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ServicePlanDetailsOutputRepresentationNormalized;
|
|
17
|
+
export interface DynamicIngestParams {
|
|
18
|
+
plan: $64$luvio_engine_ResourceIngest;
|
|
19
|
+
}
|
|
20
|
+
export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input: ServicePlanDetailsOutputRepresentation, existing: ServicePlanDetailsOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number) => ServicePlanDetailsOutputRepresentationNormalized;
|
|
21
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
22
|
+
export interface DynamicSelectParams {
|
|
23
|
+
plan?: $64$luvio_engine_LinkSelection;
|
|
24
|
+
}
|
|
25
|
+
export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
|
|
26
|
+
export declare function equals(existing: ServicePlanDetailsOutputRepresentationNormalized, incoming: ServicePlanDetailsOutputRepresentationNormalized): boolean;
|
|
27
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
28
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ServicePlanDetailsOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
29
|
+
export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
|
|
30
|
+
/**
|
|
31
|
+
* Represent the service plan details
|
|
32
|
+
*
|
|
33
|
+
* Keys:
|
|
34
|
+
* id (string): planRequestId
|
|
35
|
+
*/
|
|
36
|
+
export interface ServicePlanDetailsOutputRepresentationNormalized {
|
|
37
|
+
plan: $64$luvio_engine_StoreLink;
|
|
38
|
+
/** The record ID of plan request passed to this Connect API */
|
|
39
|
+
planRequestId: string;
|
|
40
|
+
/** The reason of the Service Plan Details */
|
|
41
|
+
reason: string;
|
|
42
|
+
/** The reason details of the Service Plan Details */
|
|
43
|
+
reasonDetails: string | null;
|
|
44
|
+
/** The status of the Service Plan Details */
|
|
45
|
+
status: string;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Represent the service plan details
|
|
49
|
+
*
|
|
50
|
+
* Keys:
|
|
51
|
+
* id (string): planRequestId
|
|
52
|
+
*/
|
|
53
|
+
export interface ServicePlanDetailsOutputRepresentation {
|
|
54
|
+
plan: ServicePlanDetailsRepresentation_ServicePlanDetailsRepresentation;
|
|
55
|
+
planRequestId: string;
|
|
56
|
+
reason: string;
|
|
57
|
+
reasonDetails: string | null;
|
|
58
|
+
status: string;
|
|
59
|
+
}
|
|
60
|
+
export declare const notifyUpdateAvailableFactory: (luvio: $64$luvio_engine_Luvio) => (configs: Partial<KeyParams>[]) => Promise<void>;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { ServicePlanStepDetailsRepresentation as ServicePlanStepDetailsRepresentation_ServicePlanStepDetailsRepresentation } from './ServicePlanStepDetailsRepresentation';
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "b4f5b09aa7f657ce0b31e25aa7b50b1c";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: ServicePlanDetailsRepresentation, existing: ServicePlanDetailsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ServicePlanDetailsRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
8
|
+
export declare function equals(existing: ServicePlanDetailsRepresentationNormalized, incoming: ServicePlanDetailsRepresentationNormalized): 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: ServicePlanDetailsRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Service Plan representation
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface ServicePlanDetailsRepresentationNormalized {
|
|
18
|
+
/** clientFeature ID */
|
|
19
|
+
clientFeatureId: string | null;
|
|
20
|
+
/** Created Date */
|
|
21
|
+
createdDate: string | null;
|
|
22
|
+
/** Execution Status */
|
|
23
|
+
executionStatus: string | null;
|
|
24
|
+
/** Feedback ID */
|
|
25
|
+
feedbackId: string | null;
|
|
26
|
+
/** Plan ID */
|
|
27
|
+
planId: string | null;
|
|
28
|
+
/** Service Plan Steps */
|
|
29
|
+
servicePlanSteps: Array<$64$luvio_engine_StoreLink>;
|
|
30
|
+
/** Topic */
|
|
31
|
+
topic: string | null;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Service Plan representation
|
|
35
|
+
*
|
|
36
|
+
* Keys:
|
|
37
|
+
* (none)
|
|
38
|
+
*/
|
|
39
|
+
export interface ServicePlanDetailsRepresentation {
|
|
40
|
+
clientFeatureId: string | null;
|
|
41
|
+
createdDate: string | null;
|
|
42
|
+
executionStatus: string | null;
|
|
43
|
+
feedbackId: string | null;
|
|
44
|
+
planId: string | null;
|
|
45
|
+
servicePlanSteps: Array<ServicePlanStepDetailsRepresentation_ServicePlanStepDetailsRepresentation>;
|
|
46
|
+
topic: string | null;
|
|
47
|
+
}
|
package/dist/es/es2018/types/src/generated/types/ServicePlanExecutionInputRepresentation.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
-
export declare const VERSION = "
|
|
2
|
+
export declare const VERSION = "ff8e0a870a89909f3b39d342a8f6a1cd";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
5
|
export declare function normalize(input: ServicePlanExecutionInputRepresentation, existing: ServicePlanExecutionInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ServicePlanExecutionInputRepresentationNormalized;
|
|
@@ -14,12 +14,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
14
14
|
* (none)
|
|
15
15
|
*/
|
|
16
16
|
export interface ServicePlanExecutionInputRepresentationNormalized {
|
|
17
|
-
/**
|
|
18
|
-
|
|
19
|
-
/** Copilot planId */
|
|
20
|
-
planId: string;
|
|
21
|
-
/** Copilot SessionId */
|
|
22
|
-
sessionId: string;
|
|
17
|
+
/** Action to be performed by the API */
|
|
18
|
+
action: string;
|
|
23
19
|
}
|
|
24
20
|
/**
|
|
25
21
|
* Represents a generated service plan input context required for service plan execution
|
|
@@ -28,7 +24,5 @@ export interface ServicePlanExecutionInputRepresentationNormalized {
|
|
|
28
24
|
* (none)
|
|
29
25
|
*/
|
|
30
26
|
export interface ServicePlanExecutionInputRepresentation {
|
|
31
|
-
|
|
32
|
-
planId: string;
|
|
33
|
-
sessionId: string;
|
|
27
|
+
action: string;
|
|
34
28
|
}
|
package/dist/es/es2018/types/src/generated/types/ServicePlanExecutionOutputRepresentation.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
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, 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 } from '@luvio/engine';
|
|
2
|
-
import {
|
|
3
|
-
export declare const VERSION = "
|
|
2
|
+
import { ServicePlanStepExecutionStatusRepresentation as ServicePlanStepExecutionStatusRepresentation_ServicePlanStepExecutionStatusRepresentation } from './ServicePlanStepExecutionStatusRepresentation';
|
|
3
|
+
export declare const VERSION = "f3a6de28bf56634adca757ba07accf43";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -14,12 +14,12 @@ export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object
|
|
|
14
14
|
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: ServicePlanExecutionOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
15
|
export declare function normalize(input: ServicePlanExecutionOutputRepresentation, existing: ServicePlanExecutionOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ServicePlanExecutionOutputRepresentationNormalized;
|
|
16
16
|
export interface DynamicIngestParams {
|
|
17
|
-
|
|
17
|
+
planSteps: $64$luvio_engine_ResourceIngest;
|
|
18
18
|
}
|
|
19
19
|
export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input: ServicePlanExecutionOutputRepresentation, existing: ServicePlanExecutionOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number) => ServicePlanExecutionOutputRepresentationNormalized;
|
|
20
20
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
21
21
|
export interface DynamicSelectParams {
|
|
22
|
-
|
|
22
|
+
planSteps?: $64$luvio_engine_LinkSelection;
|
|
23
23
|
}
|
|
24
24
|
export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
|
|
25
25
|
export declare function equals(existing: ServicePlanExecutionOutputRepresentationNormalized, incoming: ServicePlanExecutionOutputRepresentationNormalized): boolean;
|
|
@@ -30,26 +30,21 @@ export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$lu
|
|
|
30
30
|
* Represent the service plan execution result
|
|
31
31
|
*
|
|
32
32
|
* Keys:
|
|
33
|
-
* id (string):
|
|
33
|
+
* id (string): executionStatus
|
|
34
34
|
*/
|
|
35
35
|
export interface ServicePlanExecutionOutputRepresentationNormalized {
|
|
36
|
-
/** The reason of the service plan execution request job failure */
|
|
37
|
-
reason: string;
|
|
38
|
-
/** The details of the service plan execution request job failure */
|
|
39
|
-
reasonDetails: string;
|
|
40
|
-
servicePlan: $64$luvio_engine_StoreLink;
|
|
41
36
|
/** The Status of the service plan execution request job */
|
|
42
|
-
|
|
37
|
+
executionStatus: string;
|
|
38
|
+
/** All the step status */
|
|
39
|
+
planSteps: Array<$64$luvio_engine_StoreLink>;
|
|
43
40
|
}
|
|
44
41
|
/**
|
|
45
42
|
* Represent the service plan execution result
|
|
46
43
|
*
|
|
47
44
|
* Keys:
|
|
48
|
-
* id (string):
|
|
45
|
+
* id (string): executionStatus
|
|
49
46
|
*/
|
|
50
47
|
export interface ServicePlanExecutionOutputRepresentation {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
servicePlan: ServicePlanExecutionSummaryRepresentation_ServicePlanExecutionSummaryRepresentation;
|
|
54
|
-
status: string;
|
|
48
|
+
executionStatus: string;
|
|
49
|
+
planSteps: Array<ServicePlanStepExecutionStatusRepresentation_ServicePlanStepExecutionStatusRepresentation>;
|
|
55
50
|
}
|
package/dist/es/es2018/types/src/generated/types/ServicePlanExecutionSummaryRepresentation.d.ts
CHANGED
|
@@ -1,22 +1,13 @@
|
|
|
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
1
|
import { ServicePlanStepExecutionSummaryRepresentation as ServicePlanStepExecutionSummaryRepresentation_ServicePlanStepExecutionSummaryRepresentation } from './ServicePlanStepExecutionSummaryRepresentation';
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
3
|
export declare const VERSION = "a662e9bd461c05a065cae3077b4084a7";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export declare function normalize(input: ServicePlanExecutionSummaryRepresentation, existing: ServicePlanExecutionSummaryRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ServicePlanExecutionSummaryRepresentationNormalized;
|
|
7
|
-
export
|
|
8
|
-
steps: $64$luvio_engine_ResourceIngest;
|
|
9
|
-
}
|
|
10
|
-
export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input: ServicePlanExecutionSummaryRepresentation, existing: ServicePlanExecutionSummaryRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number) => ServicePlanExecutionSummaryRepresentationNormalized;
|
|
11
|
-
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
12
|
-
export interface DynamicSelectParams {
|
|
13
|
-
steps?: $64$luvio_engine_LinkSelection;
|
|
14
|
-
}
|
|
15
|
-
export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
16
8
|
export declare function equals(existing: ServicePlanExecutionSummaryRepresentationNormalized, incoming: ServicePlanExecutionSummaryRepresentationNormalized): boolean;
|
|
17
9
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
18
10
|
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ServicePlanExecutionSummaryRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
19
|
-
export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
|
|
20
11
|
/**
|
|
21
12
|
* Represents the execution summary of a Service Plan
|
|
22
13
|
*
|
package/dist/es/es2018/types/src/generated/types/ServicePlanGenerationInputParamRepresentation.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store,
|
|
2
|
-
export declare const VERSION = "
|
|
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 = "1b14b78cea1609723279d543c9c4ebf6";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
5
|
export declare function normalize(input: ServicePlanGenerationInputParamRepresentation, existing: ServicePlanGenerationInputParamRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ServicePlanGenerationInputParamRepresentationNormalized;
|
|
6
|
-
export declare const select: () => $64$
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: ServicePlanGenerationInputParamRepresentationNormalized, incoming: ServicePlanGenerationInputParamRepresentationNormalized): boolean;
|
|
8
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
9
|
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ServicePlanGenerationInputParamRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
@@ -19,7 +19,7 @@ export interface ServicePlanGenerationInputParamRepresentationNormalized {
|
|
|
19
19
|
[key: string]: string;
|
|
20
20
|
};
|
|
21
21
|
/** Plan generation mode */
|
|
22
|
-
|
|
22
|
+
generationMode: string;
|
|
23
23
|
/** Origin for the plan generation request */
|
|
24
24
|
source: string;
|
|
25
25
|
}
|
|
@@ -33,6 +33,6 @@ export interface ServicePlanGenerationInputParamRepresentation {
|
|
|
33
33
|
additionalContext: {
|
|
34
34
|
[key: string]: string;
|
|
35
35
|
};
|
|
36
|
-
|
|
36
|
+
generationMode: string;
|
|
37
37
|
source: string;
|
|
38
38
|
}
|