@salesforce/lds-adapters-service-serviceplan 1.348.1 → 1.350.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (19) hide show
  1. package/dist/es/es2018/service-serviceplan.js +46 -649
  2. package/dist/es/es2018/types/src/generated/adapters/generateServicePlan.d.ts +1 -0
  3. package/dist/es/es2018/types/src/generated/resources/postConnectServicePlanGenerationRequests.d.ts +1 -0
  4. package/dist/es/es2018/types/src/generated/types/ServicePlanDetailsRepresentation.d.ts +5 -2
  5. package/dist/es/es2018/types/src/generated/types/ServicePlanGenerationOutputRepresentation.d.ts +2 -21
  6. package/dist/es/es2018/types/src/generated/types/ServicePlanStepDetailsRepresentation.d.ts +4 -1
  7. package/package.json +3 -3
  8. package/sfdc/index.js +47 -650
  9. package/src/raml/api.raml +70 -211
  10. package/src/raml/luvio.raml +0 -16
  11. package/dist/es/es2018/types/src/generated/resources/getConnectServicePlanExecuteByPlanOrStepId.d.ts +0 -15
  12. package/dist/es/es2018/types/src/generated/types/ServicePlanDataInputRepresentation.d.ts +0 -28
  13. package/dist/es/es2018/types/src/generated/types/ServicePlanDataOutputRepresentation.d.ts +0 -28
  14. package/dist/es/es2018/types/src/generated/types/ServicePlanExecutionSummaryRepresentation.d.ts +0 -35
  15. package/dist/es/es2018/types/src/generated/types/ServicePlanGenerationSessionInformationOutputRepresentation.d.ts +0 -37
  16. package/dist/es/es2018/types/src/generated/types/ServicePlanOutputRepresentation.d.ts +0 -57
  17. package/dist/es/es2018/types/src/generated/types/ServicePlanRepresentation.d.ts +0 -44
  18. package/dist/es/es2018/types/src/generated/types/ServicePlanStepExecutionSummaryRepresentation.d.ts +0 -31
  19. package/dist/es/es2018/types/src/generated/types/ServicePlanStepRepresentation.d.ts +0 -37
package/src/raml/api.raml CHANGED
@@ -2,7 +2,7 @@
2
2
  securedBy:
3
3
  - OAuth2
4
4
  title: Salesforce Connect API
5
- version: '62.0'
5
+ version: '64.0'
6
6
  mediaType: application/json
7
7
  protocols:
8
8
  - https
@@ -25,64 +25,6 @@ annotationTypes:
25
25
  type: string
26
26
  allowedTargets: TypeDeclaration
27
27
  types:
28
- ServicePlanDataInputRepresentation:
29
- description: Represents the Input for gathering the record details required to
30
- generate the Service Plan
31
- type: object
32
- properties:
33
- recordId:
34
- description: Record ID
35
- type: string
36
- ServicePlanDataOutputRepresentation:
37
- description: Represent the service plan data
38
- type: object
39
- properties:
40
- recordDetails:
41
- description: The Record details
42
- type: string
43
- ServicePlanExecutionInputRepresentation:
44
- description: Represents a generated service plan input context required for service
45
- plan execution
46
- type: object
47
- properties:
48
- action:
49
- description: Action to be performed by the API
50
- type: string
51
- enum:
52
- - MarkCompleted
53
- - MarkUncompleted
54
- ServicePlanExecutionOutputRepresentation:
55
- description: Represent the service plan execution result
56
- type: object
57
- properties:
58
- executionStatus:
59
- description: The Status of the service plan execution request job
60
- type: string
61
- enum:
62
- - Completed
63
- - Failed
64
- - InProgress
65
- - New # updated W-16725437
66
- planSteps:
67
- description: All the step status
68
- type: array
69
- items:
70
- type: ServicePlanStepExecutionStatusRepresentation
71
- ServicePlanExecutionSummaryRepresentation:
72
- description: Represents the execution summary of a Service Plan
73
- type: object # TODO Hand-rolled W-15545227
74
- properties:
75
- executedDate:
76
- description: Executed Date
77
- type: string
78
- status:
79
- description: Service Plan Status
80
- type: string
81
- steps:
82
- description: Executed Steps
83
- type: array
84
- items:
85
- type: ServicePlanStepExecutionSummaryRepresentation
86
28
  ServicePlanDetailsOutputRepresentation:
87
29
  description: Represent the service plan details
88
30
  type: object
@@ -101,7 +43,7 @@ types:
101
43
  - None
102
44
  reasonDetails:
103
45
  description: The reason details of the Service Plan Details
104
- type: string | nil
46
+ type: string | nil #handRolled
105
47
  status:
106
48
  description: The status of the Service Plan Details
107
49
  type: string
@@ -112,12 +54,15 @@ types:
112
54
  description: Service Plan representation
113
55
  type: object
114
56
  properties:
57
+ clientFeatureId:
58
+ description: ClientFeature ID
59
+ type: string | nil #handRolled
115
60
  createdDate:
116
61
  description: Created Date
117
- type: string | nil
62
+ type: string | nil #handRolled
118
63
  executionStatus:
119
64
  description: Execution Status
120
- type: string | nil
65
+ type: string | nil #handRolled
121
66
  enum:
122
67
  - Completed
123
68
  - Failed
@@ -125,16 +70,16 @@ types:
125
70
  - New
126
71
  feedbackId:
127
72
  description: Feedback ID
128
- type: string | nil
129
- clientFeatureId:
130
- description: clientFeature ID
131
- type: string | nil
73
+ type: string | nil #handRolled
74
+ hasContextChanged:
75
+ description: Has Context Changed
76
+ type: boolean
132
77
  planHeader:
133
78
  description: PlanHeader
134
- type: string | nil
79
+ type: string | nil #handRolled
135
80
  planId:
136
81
  description: Plan ID
137
- type: string | nil
82
+ type: string | nil #handRolled
138
83
  servicePlanSteps:
139
84
  description: Service Plan Steps
140
85
  type: array
@@ -142,34 +87,35 @@ types:
142
87
  type: ServicePlanStepDetailsRepresentation
143
88
  topic:
144
89
  description: Topic
145
- type: string | nil
146
- ServicePlanStepDetailsRepresentation:
147
- description: Service Plan step representation
90
+ type: string | nil #handRolled
91
+ ServicePlanExecutionInputRepresentation:
92
+ description: Represents a generated service plan input context required for service
93
+ plan execution
94
+ type: object
95
+ properties:
96
+ action:
97
+ description: Action to be performed by the API
98
+ type: string
99
+ enum:
100
+ - MarkCompleted
101
+ - MarkUncompleted
102
+ ServicePlanExecutionOutputRepresentation:
103
+ description: Represent the service plan execution result
148
104
  type: object
149
105
  properties:
150
106
  executionStatus:
151
- description: Step execution state
107
+ description: The Status of the service plan execution request job
152
108
  type: string
153
109
  enum:
154
110
  - Completed
155
111
  - Failed
156
112
  - InProgress
157
113
  - New
158
- groupName:
159
- description: Group Name
160
- type: string | nil
161
- order:
162
- description: Step order
163
- type: integer
164
- stepId:
165
- description: Step ID
166
- type: string
167
- stepName:
168
- description: Step name
169
- type: string
170
- stepSummary: # Api update W-16725437
171
- description: Step summary
172
- type: string
114
+ planSteps:
115
+ description: All the step status
116
+ type: array
117
+ items:
118
+ type: ServicePlanStepExecutionStatusRepresentation
173
119
  ServicePlanGenerationInputMapRepresentation:
174
120
  description: Represents a request for generating a service plan
175
121
  type: object
@@ -199,49 +145,25 @@ types:
199
145
  source:
200
146
  description: Origin for the plan generation request
201
147
  type: string
202
- ServicePlanGenerationSessionInformationOutputRepresentation:
203
- description: Represent the session information of a Service Plan Generation
204
- type: object
205
- properties:
206
- clientFeatureKey:
207
- description: Client Feature Key used for feedback on the plan generation
208
- type: string | nil
209
- feedbackKey:
210
- description: Feedback Key used for feedback on the plan generation
211
- type: string | nil
212
- planKey:
213
- description: Plan Key used for plan execution or plan modification
214
- type: string | nil
215
- sessionKey:
216
- description: Session Key used to communicate with LLM
217
- type: string | nil
218
148
  ServicePlanGenerationOutputRepresentation:
219
149
  description: Represent the service plan generation result
220
150
  type: object
221
151
  properties:
222
- copilotId:
223
- description: The Copilot used for this service plan generation request
224
- type: string | nil
225
- copilotName:
226
- description: Name of the Copilot used for this service plan generation request
227
- type: string | nil
228
152
  errorCode:
229
153
  description: Error code to identify the error
230
- type: string | nil
154
+ type: string | nil #handRolled: success have no error code
231
155
  errorMessage:
232
156
  description: Details related to the Error Reason, if any
233
- type: string | nil
157
+ type: string | nil #handRolled
234
158
  id:
235
159
  description: The generated request ID
236
- type: string | nil
237
- plan:
238
- description: The generated service plan
239
- type: ServicePlanOutputRepresentation | nil
160
+ type: string | nil #handRolled: NoSave Mode have no id
240
161
  reason:
241
162
  description: The reason of the service plan creation request job failure
242
163
  type: string
243
164
  enum:
244
165
  - CannotGeneratePlan
166
+ - NoEligibilityConfig
245
167
  - NoPlanGenerated
246
168
  - None
247
169
  - PlanAlreadyExists
@@ -265,69 +187,37 @@ types:
265
187
  type: string
266
188
  enum:
267
189
  - Generation
190
+ - GenerationPreview
268
191
  - Summary
269
- ServicePlanOutputRepresentation:
270
- description: Represent the generated Service Plan
271
- type: object
272
- properties:
273
- copilotSessionInfo:
274
- description: The session information related to the copilot generating the
275
- plan
276
- type: ServicePlanGenerationSessionInformationOutputRepresentation | nil
277
- createdDate:
278
- description: The created date of the service plan
279
- type: string | nil
280
- id:
281
- description: The Id of the plan record
282
- type: string | nil
283
- intent:
284
- description: The intent detected for this Service Plan generation request
285
- type: string | nil
286
- plan:
287
- description: The raw plan generated by the copilot
288
- type: string | nil
289
- steps:
290
- description: The steps of the service plan
291
- type: array
292
- items:
293
- type: ServicePlanStepRepresentation
294
- topicDescription:
295
- description: The description of topic identified when generating the service
296
- plan
297
- type: string | nil
298
- topicId:
299
- description: The topic identified when generating the service plan
300
- type: string | nil
301
- topicName:
302
- description: Name of the topic identified when generating the service plan
303
- type: string | nil
304
- type:
305
- description: Type of the Generated Plan
306
- type: string | nil
307
- enum:
308
- - ExecutablePlan
309
- - SummaryPlan
310
- ServicePlanRepresentation:
311
- description: Service Plan representation
192
+ ServicePlanStepDetailsRepresentation:
193
+ description: Service Plan step representation
312
194
  type: object
313
195
  properties:
314
- copilot:
315
- description: Copilot
316
- type: string
317
- feedbackId:
318
- description: Feedback Id
196
+ executionStatus:
197
+ description: Step execution state
319
198
  type: string
320
- generatedPlanId:
321
- description: Plan Id
199
+ enum:
200
+ - Completed
201
+ - Failed
202
+ - InProgress
203
+ - New
204
+ groupName:
205
+ description: Group Name
206
+ type: string | nil #handRolled
207
+ isSuggested:
208
+ description: Suggested step
209
+ type: boolean
210
+ order:
211
+ description: Step order
212
+ type: integer
213
+ stepId:
214
+ description: Step ID
322
215
  type: string
323
- sessionInformation:
324
- description: Session details
325
- type: ServicePlanGenerationSessionInformationOutputRepresentation
326
- topic:
327
- description: Topic Name
216
+ stepName:
217
+ description: Step name
328
218
  type: string
329
- topicDescription:
330
- description: Topic Description
219
+ stepSummary:
220
+ description: Step summary
331
221
  type: string
332
222
  ServicePlanStepExecutionStatusRepresentation:
333
223
  description: Represents the execution status of a Service Plan Step
@@ -343,47 +233,12 @@ types:
343
233
  - New
344
234
  stepId:
345
235
  description: stepId
346
- type: string | nil
347
- ServicePlanStepExecutionSummaryRepresentation:
348
- description: Represents the execution summary of a Service Plan Step
349
- type: object # TODO Hand-rolled W-16160721
350
- properties:
351
- message:
352
- description: Message
353
- type: string
354
- status:
355
- description: Status
356
- type: string
357
- ServicePlanStepRepresentation:
358
- description: Represent a step of a generated Service Plan
359
- type: object
360
- properties:
361
- groupName:
362
- description: The group name of service plan step
363
- type: string | nil
364
- id:
365
- description: Generated Plan Step ID
366
- type: string
367
- name:
368
- description: The name of service plan step
369
- type: string | nil
370
- order:
371
- description: Order in which this action will be executed
372
- type: integer
236
+ type: string | nil #handRolled
373
237
  /connect/service-plan:
374
238
  /execute/{planOrStepId}:
375
- get:
376
- displayName: getServicePlanExecution
377
- description: Returns Service Plan execution summary
378
- responses:
379
- '200':
380
- description: Success
381
- body:
382
- application/json:
383
- type: ServicePlanExecutionOutputRepresentation
384
239
  put:
385
240
  displayName: putServicePlanExecution
386
- description: Executes a Service Plan or a step
241
+ description: Executes a service plan or a step
387
242
  responses:
388
243
  '200':
389
244
  description: Success
@@ -400,7 +255,7 @@ types:
400
255
  required: true
401
256
  /generationRequests:
402
257
  post:
403
- displayName: postServicePlanGeneration
258
+ displayName: postServicePlanGenerationPostable
404
259
  description: Trigger the generation of a service plan for a case
405
260
  responses:
406
261
  '200':
@@ -418,13 +273,17 @@ types:
418
273
  recordId:
419
274
  type: string
420
275
  required: false
276
+ regenerate:
277
+ type: boolean
278
+ required: false
279
+ default: false
421
280
  body:
422
281
  application/json:
423
282
  type: ServicePlanGenerationInputParamRepresentation
424
283
  (oas-body-name): servicePlanGenerationRequest
425
284
  /generationRequests/{requestId}:
426
285
  get:
427
- displayName: getServicePlanGenerationRequest
286
+ displayName: getServicePlanGenerationGettable
428
287
  description: Retrieve the status of a service plan generation request
429
288
  responses:
430
289
  '200':
@@ -8,12 +8,6 @@ uses:
8
8
  (luvio.ttl): 500
9
9
 
10
10
  types:
11
- ServicePlanDataOutputRepresentation:
12
- (luvio.opaque): true
13
- ServicePlanExecutionSummaryRepresentation:
14
- (luvio.opaque): true
15
- ServicePlanGenerationSessionInformationOutputRepresentation:
16
- (luvio.opaque): true
17
11
  ServicePlanGenerationOutputRepresentation:
18
12
  (luvio.key):
19
13
  id: id
@@ -22,16 +16,6 @@ types:
22
16
  name: notifyServicePlanGenerationUpdateAvailable
23
17
  parameters:
24
18
  id: id
25
- ServicePlanOutputRepresentation:
26
- (luvio.opaque): true
27
- ServicePlanRepresentation:
28
- (luvio.opaque): true
29
- ServicePlanStepAttributeRepresentation:
30
- (luvio.opaque): true
31
- ServicePlanStepExecutionSummaryRepresentation:
32
- (luvio.opaque): true
33
- ServicePlanStepRepresentation:
34
- (luvio.opaque): true
35
19
  ServicePlanStepExecutionStatusRepresentation:
36
20
  (luvio.opaque): true
37
21
  ServicePlanExecutionOutputRepresentation:
@@ -1,15 +0,0 @@
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 { ServicePlanExecutionOutputRepresentation as types_ServicePlanExecutionOutputRepresentation_ServicePlanExecutionOutputRepresentation } from '../types/ServicePlanExecutionOutputRepresentation';
3
- export interface ResourceRequestConfig {
4
- urlParams: {
5
- planOrStepId: 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_ServicePlanExecutionOutputRepresentation_ServicePlanExecutionOutputRepresentation): void;
12
- export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ServicePlanExecutionOutputRepresentation_ServicePlanExecutionOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ServicePlanExecutionOutputRepresentation_ServicePlanExecutionOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ServicePlanExecutionOutputRepresentation_ServicePlanExecutionOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ServicePlanExecutionOutputRepresentation_ServicePlanExecutionOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ServicePlanExecutionOutputRepresentation_ServicePlanExecutionOutputRepresentation, any>;
13
- export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ServicePlanExecutionOutputRepresentation_ServicePlanExecutionOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
14
- export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
15
- export default createResourceRequest;
@@ -1,28 +0,0 @@
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
- }
@@ -1,28 +0,0 @@
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
- }
@@ -1,35 +0,0 @@
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
- export declare const VERSION = "a662e9bd461c05a065cae3077b4084a7";
4
- export declare function validate(obj: any, path?: string): TypeError | null;
5
- export declare const RepresentationType: string;
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 declare const select: () => $64$luvio_engine_BaseFragment;
8
- export declare function equals(existing: ServicePlanExecutionSummaryRepresentationNormalized, incoming: ServicePlanExecutionSummaryRepresentationNormalized): 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: ServicePlanExecutionSummaryRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
- /**
12
- * Represents the execution summary of a Service Plan
13
- *
14
- * Keys:
15
- * (none)
16
- */
17
- export interface ServicePlanExecutionSummaryRepresentationNormalized {
18
- /** Executed Date */
19
- executedDate: string;
20
- /** Service Plan Status */
21
- status: string;
22
- /** Executed Steps */
23
- steps: Array<$64$luvio_engine_StoreLink>;
24
- }
25
- /**
26
- * Represents the execution summary of a Service Plan
27
- *
28
- * Keys:
29
- * (none)
30
- */
31
- export interface ServicePlanExecutionSummaryRepresentation {
32
- executedDate: string;
33
- status: string;
34
- steps: Array<ServicePlanStepExecutionSummaryRepresentation_ServicePlanStepExecutionSummaryRepresentation>;
35
- }
@@ -1,37 +0,0 @@
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 = "51303030abd63b4357f7716a23518ffb";
3
- export declare function validate(obj: any, path?: string): TypeError | null;
4
- export declare const RepresentationType: string;
5
- export declare function normalize(input: ServicePlanGenerationSessionInformationOutputRepresentation, existing: ServicePlanGenerationSessionInformationOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ServicePlanGenerationSessionInformationOutputRepresentationNormalized;
6
- export declare const select: () => $64$luvio_engine_BaseFragment;
7
- export declare function equals(existing: ServicePlanGenerationSessionInformationOutputRepresentationNormalized, incoming: ServicePlanGenerationSessionInformationOutputRepresentationNormalized): 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: ServicePlanGenerationSessionInformationOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
- /**
11
- * Represent the session information of a Service Plan Generation
12
- *
13
- * Keys:
14
- * (none)
15
- */
16
- export interface ServicePlanGenerationSessionInformationOutputRepresentationNormalized {
17
- /** Client Feature Key used for feedback on the plan generation */
18
- clientFeatureKey: string | null;
19
- /** Feedback Key used for feedback on the plan generation */
20
- feedbackKey: string | null;
21
- /** Plan Key used for plan execution or plan modification */
22
- planKey: string | null;
23
- /** Session Key used to communicate with LLM */
24
- sessionKey: string | null;
25
- }
26
- /**
27
- * Represent the session information of a Service Plan Generation
28
- *
29
- * Keys:
30
- * (none)
31
- */
32
- export interface ServicePlanGenerationSessionInformationOutputRepresentation {
33
- clientFeatureKey: string | null;
34
- feedbackKey: string | null;
35
- planKey: string | null;
36
- sessionKey: string | null;
37
- }
@@ -1,57 +0,0 @@
1
- import { ServicePlanGenerationSessionInformationOutputRepresentation as ServicePlanGenerationSessionInformationOutputRepresentation_ServicePlanGenerationSessionInformationOutputRepresentation } from './ServicePlanGenerationSessionInformationOutputRepresentation';
2
- import { ServicePlanStepRepresentation as ServicePlanStepRepresentation_ServicePlanStepRepresentation } from './ServicePlanStepRepresentation';
3
- 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';
4
- export declare const VERSION = "4c0fefe9caa169c4221be369e384ee56";
5
- export declare function validate(obj: any, path?: string): TypeError | null;
6
- export declare const RepresentationType: string;
7
- export declare function normalize(input: ServicePlanOutputRepresentation, existing: ServicePlanOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ServicePlanOutputRepresentationNormalized;
8
- export declare const select: () => $64$luvio_engine_BaseFragment;
9
- export declare function equals(existing: ServicePlanOutputRepresentationNormalized, incoming: ServicePlanOutputRepresentationNormalized): boolean;
10
- export declare const ingest: $64$luvio_engine_ResourceIngest;
11
- export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ServicePlanOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
12
- /**
13
- * Represent the generated Service Plan
14
- *
15
- * Keys:
16
- * (none)
17
- */
18
- export interface ServicePlanOutputRepresentationNormalized {
19
- /** The session information related to the copilot generating the plan */
20
- copilotSessionInfo: $64$luvio_engine_StoreLink | null;
21
- /** The created date of the service plan */
22
- createdDate: string | null;
23
- /** The Id of the plan record */
24
- id: string | null;
25
- /** The intent detected for this Service Plan generation request */
26
- intent: string | null;
27
- /** The raw plan generated by the copilot */
28
- plan: string | null;
29
- /** The steps of the service plan */
30
- steps: Array<$64$luvio_engine_StoreLink>;
31
- /** The description of topic identified when generating the service plan */
32
- topicDescription: string | null;
33
- /** The topic identified when generating the service plan */
34
- topicId: string | null;
35
- /** Name of the topic identified when generating the service plan */
36
- topicName: string | null;
37
- /** Type of the Generated Plan */
38
- type: string | null;
39
- }
40
- /**
41
- * Represent the generated Service Plan
42
- *
43
- * Keys:
44
- * (none)
45
- */
46
- export interface ServicePlanOutputRepresentation {
47
- copilotSessionInfo: ServicePlanGenerationSessionInformationOutputRepresentation_ServicePlanGenerationSessionInformationOutputRepresentation | null;
48
- createdDate: string | null;
49
- id: string | null;
50
- intent: string | null;
51
- plan: string | null;
52
- steps: Array<ServicePlanStepRepresentation_ServicePlanStepRepresentation>;
53
- topicDescription: string | null;
54
- topicId: string | null;
55
- topicName: string | null;
56
- type: string | null;
57
- }