@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/sfdc/index.js CHANGED
@@ -103,8 +103,8 @@ function createLink(ref) {
103
103
  };
104
104
  }
105
105
 
106
- const VERSION$5 = "de8249c0171ece44729fbb33b422a074";
107
- function validate$8(obj, path = 'ServicePlanStepExecutionStatusRepresentation') {
106
+ const VERSION$4 = "de8249c0171ece44729fbb33b422a074";
107
+ function validate$5(obj, path = 'ServicePlanStepExecutionStatusRepresentation') {
108
108
  const v_error = (() => {
109
109
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
110
110
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -143,48 +143,48 @@ function validate$8(obj, path = 'ServicePlanStepExecutionStatusRepresentation')
143
143
  })();
144
144
  return v_error === undefined ? null : v_error;
145
145
  }
146
- const RepresentationType$5 = 'ServicePlanStepExecutionStatusRepresentation';
147
- function normalize$5(input, existing, path, luvio, store, timestamp) {
146
+ const RepresentationType$4 = 'ServicePlanStepExecutionStatusRepresentation';
147
+ function normalize$4(input, existing, path, luvio, store, timestamp) {
148
148
  return input;
149
149
  }
150
- const select$9 = function ServicePlanStepExecutionStatusRepresentationSelect() {
150
+ const select$8 = function ServicePlanStepExecutionStatusRepresentationSelect() {
151
151
  return {
152
152
  kind: 'Fragment',
153
- version: VERSION$5,
153
+ version: VERSION$4,
154
154
  private: [],
155
155
  opaque: true
156
156
  };
157
157
  };
158
- function equals$5(existing, incoming) {
158
+ function equals$4(existing, incoming) {
159
159
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
160
160
  return false;
161
161
  }
162
162
  return true;
163
163
  }
164
- const ingest$5 = function ServicePlanStepExecutionStatusRepresentationIngest(input, path, luvio, store, timestamp) {
164
+ const ingest$4 = function ServicePlanStepExecutionStatusRepresentationIngest(input, path, luvio, store, timestamp) {
165
165
  if (process.env.NODE_ENV !== 'production') {
166
- const validateError = validate$8(input);
166
+ const validateError = validate$5(input);
167
167
  if (validateError !== null) {
168
168
  throw validateError;
169
169
  }
170
170
  }
171
171
  const key = path.fullPath;
172
172
  const ttlToUse = path.ttl !== undefined ? path.ttl : 500;
173
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "ServicePlan", VERSION$5, RepresentationType$5, equals$5);
173
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "ServicePlan", VERSION$4, RepresentationType$4, equals$4);
174
174
  return createLink(key);
175
175
  };
176
- function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
176
+ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
177
177
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
178
178
  const rootKey = fullPathFactory();
179
179
  rootKeySet.set(rootKey, {
180
180
  namespace: keyPrefix,
181
- representationName: RepresentationType$5,
181
+ representationName: RepresentationType$4,
182
182
  mergeable: false
183
183
  });
184
184
  }
185
185
 
186
- const VERSION$4 = "f3a6de28bf56634adca757ba07accf43";
187
- function validate$7(obj, path = 'ServicePlanExecutionOutputRepresentation') {
186
+ const VERSION$3 = "f3a6de28bf56634adca757ba07accf43";
187
+ function validate$4(obj, path = 'ServicePlanExecutionOutputRepresentation') {
188
188
  const v_error = (() => {
189
189
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
190
190
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -209,9 +209,9 @@ function validate$7(obj, path = 'ServicePlanExecutionOutputRepresentation') {
209
209
  })();
210
210
  return v_error === undefined ? null : v_error;
211
211
  }
212
- const RepresentationType$4 = 'ServicePlanExecutionOutputRepresentation';
212
+ const RepresentationType$3 = 'ServicePlanExecutionOutputRepresentation';
213
213
  function keyBuilder$6(luvio, config) {
214
- return keyPrefix + '::' + RepresentationType$4 + ':' + config.id;
214
+ return keyPrefix + '::' + RepresentationType$3 + ':' + config.id;
215
215
  }
216
216
  function keyBuilderFromType$2(luvio, object) {
217
217
  const keyParams = {
@@ -219,13 +219,13 @@ function keyBuilderFromType$2(luvio, object) {
219
219
  };
220
220
  return keyBuilder$6(luvio, keyParams);
221
221
  }
222
- function normalize$4(input, existing, path, luvio, store, timestamp) {
222
+ function normalize$3(input, existing, path, luvio, store, timestamp) {
223
223
  const input_planSteps = input.planSteps;
224
224
  const input_planSteps_id = path.fullPath + '__planSteps';
225
225
  for (let i = 0; i < input_planSteps.length; i++) {
226
226
  const input_planSteps_item = input_planSteps[i];
227
227
  let input_planSteps_item_id = input_planSteps_id + '__' + i;
228
- input_planSteps[i] = ingest$5(input_planSteps_item, {
228
+ input_planSteps[i] = ingest$4(input_planSteps_item, {
229
229
  fullPath: input_planSteps_item_id,
230
230
  propertyName: i,
231
231
  parent: {
@@ -238,10 +238,10 @@ function normalize$4(input, existing, path, luvio, store, timestamp) {
238
238
  }
239
239
  return input;
240
240
  }
241
- const select$8 = function ServicePlanExecutionOutputRepresentationSelect() {
241
+ const select$7 = function ServicePlanExecutionOutputRepresentationSelect() {
242
242
  return {
243
243
  kind: 'Fragment',
244
- version: VERSION$4,
244
+ version: VERSION$3,
245
245
  private: [],
246
246
  selections: [
247
247
  {
@@ -252,12 +252,12 @@ const select$8 = function ServicePlanExecutionOutputRepresentationSelect() {
252
252
  name: 'planSteps',
253
253
  kind: 'Link',
254
254
  plural: true,
255
- fragment: select$9()
255
+ fragment: select$8()
256
256
  }
257
257
  ]
258
258
  };
259
259
  };
260
- function equals$4(existing, incoming) {
260
+ function equals$3(existing, incoming) {
261
261
  const existing_executionStatus = existing.executionStatus;
262
262
  const incoming_executionStatus = incoming.executionStatus;
263
263
  if (!(existing_executionStatus === incoming_executionStatus)) {
@@ -275,45 +275,45 @@ function equals$4(existing, incoming) {
275
275
  }
276
276
  return true;
277
277
  }
278
- const ingest$4 = function ServicePlanExecutionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
278
+ const ingest$3 = function ServicePlanExecutionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
279
279
  if (process.env.NODE_ENV !== 'production') {
280
- const validateError = validate$7(input);
280
+ const validateError = validate$4(input);
281
281
  if (validateError !== null) {
282
282
  throw validateError;
283
283
  }
284
284
  }
285
285
  const key = keyBuilderFromType$2(luvio, input);
286
286
  const ttlToUse = path.ttl !== undefined ? path.ttl : 500;
287
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "ServicePlan", VERSION$4, RepresentationType$4, equals$4);
287
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "ServicePlan", VERSION$3, RepresentationType$3, equals$3);
288
288
  return createLink(key);
289
289
  };
290
- function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
290
+ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
291
291
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
292
292
  const rootKey = keyBuilderFromType$2(luvio, input);
293
293
  rootKeySet.set(rootKey, {
294
294
  namespace: keyPrefix,
295
- representationName: RepresentationType$4,
295
+ representationName: RepresentationType$3,
296
296
  mergeable: false
297
297
  });
298
298
  const input_planSteps_length = input.planSteps.length;
299
299
  for (let i = 0; i < input_planSteps_length; i++) {
300
- getTypeCacheKeys$5(rootKeySet, luvio, input.planSteps[i], () => '');
300
+ getTypeCacheKeys$4(rootKeySet, luvio, input.planSteps[i], () => '');
301
301
  }
302
302
  }
303
303
 
304
- function select$7(luvio, params) {
305
- return select$8();
304
+ function select$6(luvio, params) {
305
+ return select$7();
306
306
  }
307
307
  function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
308
- getTypeCacheKeys$4(storeKeyMap, luvio, response);
308
+ getTypeCacheKeys$3(storeKeyMap, luvio, response);
309
309
  }
310
310
  function ingestSuccess$3(luvio, resourceParams, response) {
311
311
  const { body } = response;
312
312
  const key = keyBuilderFromType$2(luvio, body);
313
- luvio.storeIngest(key, ingest$4, body);
313
+ luvio.storeIngest(key, ingest$3, body);
314
314
  const snapshot = luvio.storeLookup({
315
315
  recordId: key,
316
- node: select$7(),
316
+ node: select$6(),
317
317
  variables: {},
318
318
  });
319
319
  if (process.env.NODE_ENV !== 'production') {
@@ -392,550 +392,13 @@ const executeServicePlanAdapterFactory = (luvio) => {
392
392
  };
393
393
  };
394
394
 
395
- function validate$6(obj, path = 'ServicePlanGenerationSessionInformationOutputRepresentation') {
396
- const v_error = (() => {
397
- if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
398
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
399
- }
400
- const obj_clientFeatureKey = obj.clientFeatureKey;
401
- const path_clientFeatureKey = path + '.clientFeatureKey';
402
- let obj_clientFeatureKey_union0 = null;
403
- const obj_clientFeatureKey_union0_error = (() => {
404
- if (typeof obj_clientFeatureKey !== 'string') {
405
- return new TypeError('Expected "string" but received "' + typeof obj_clientFeatureKey + '" (at "' + path_clientFeatureKey + '")');
406
- }
407
- })();
408
- if (obj_clientFeatureKey_union0_error != null) {
409
- obj_clientFeatureKey_union0 = obj_clientFeatureKey_union0_error.message;
410
- }
411
- let obj_clientFeatureKey_union1 = null;
412
- const obj_clientFeatureKey_union1_error = (() => {
413
- if (obj_clientFeatureKey !== null) {
414
- return new TypeError('Expected "null" but received "' + typeof obj_clientFeatureKey + '" (at "' + path_clientFeatureKey + '")');
415
- }
416
- })();
417
- if (obj_clientFeatureKey_union1_error != null) {
418
- obj_clientFeatureKey_union1 = obj_clientFeatureKey_union1_error.message;
419
- }
420
- if (obj_clientFeatureKey_union0 && obj_clientFeatureKey_union1) {
421
- let message = 'Object doesn\'t match union (at "' + path_clientFeatureKey + '")';
422
- message += '\n' + obj_clientFeatureKey_union0.split('\n').map((line) => '\t' + line).join('\n');
423
- message += '\n' + obj_clientFeatureKey_union1.split('\n').map((line) => '\t' + line).join('\n');
424
- return new TypeError(message);
425
- }
426
- const obj_feedbackKey = obj.feedbackKey;
427
- const path_feedbackKey = path + '.feedbackKey';
428
- let obj_feedbackKey_union0 = null;
429
- const obj_feedbackKey_union0_error = (() => {
430
- if (typeof obj_feedbackKey !== 'string') {
431
- return new TypeError('Expected "string" but received "' + typeof obj_feedbackKey + '" (at "' + path_feedbackKey + '")');
432
- }
433
- })();
434
- if (obj_feedbackKey_union0_error != null) {
435
- obj_feedbackKey_union0 = obj_feedbackKey_union0_error.message;
436
- }
437
- let obj_feedbackKey_union1 = null;
438
- const obj_feedbackKey_union1_error = (() => {
439
- if (obj_feedbackKey !== null) {
440
- return new TypeError('Expected "null" but received "' + typeof obj_feedbackKey + '" (at "' + path_feedbackKey + '")');
441
- }
442
- })();
443
- if (obj_feedbackKey_union1_error != null) {
444
- obj_feedbackKey_union1 = obj_feedbackKey_union1_error.message;
445
- }
446
- if (obj_feedbackKey_union0 && obj_feedbackKey_union1) {
447
- let message = 'Object doesn\'t match union (at "' + path_feedbackKey + '")';
448
- message += '\n' + obj_feedbackKey_union0.split('\n').map((line) => '\t' + line).join('\n');
449
- message += '\n' + obj_feedbackKey_union1.split('\n').map((line) => '\t' + line).join('\n');
450
- return new TypeError(message);
451
- }
452
- const obj_planKey = obj.planKey;
453
- const path_planKey = path + '.planKey';
454
- let obj_planKey_union0 = null;
455
- const obj_planKey_union0_error = (() => {
456
- if (typeof obj_planKey !== 'string') {
457
- return new TypeError('Expected "string" but received "' + typeof obj_planKey + '" (at "' + path_planKey + '")');
458
- }
459
- })();
460
- if (obj_planKey_union0_error != null) {
461
- obj_planKey_union0 = obj_planKey_union0_error.message;
462
- }
463
- let obj_planKey_union1 = null;
464
- const obj_planKey_union1_error = (() => {
465
- if (obj_planKey !== null) {
466
- return new TypeError('Expected "null" but received "' + typeof obj_planKey + '" (at "' + path_planKey + '")');
467
- }
468
- })();
469
- if (obj_planKey_union1_error != null) {
470
- obj_planKey_union1 = obj_planKey_union1_error.message;
471
- }
472
- if (obj_planKey_union0 && obj_planKey_union1) {
473
- let message = 'Object doesn\'t match union (at "' + path_planKey + '")';
474
- message += '\n' + obj_planKey_union0.split('\n').map((line) => '\t' + line).join('\n');
475
- message += '\n' + obj_planKey_union1.split('\n').map((line) => '\t' + line).join('\n');
476
- return new TypeError(message);
477
- }
478
- const obj_sessionKey = obj.sessionKey;
479
- const path_sessionKey = path + '.sessionKey';
480
- let obj_sessionKey_union0 = null;
481
- const obj_sessionKey_union0_error = (() => {
482
- if (typeof obj_sessionKey !== 'string') {
483
- return new TypeError('Expected "string" but received "' + typeof obj_sessionKey + '" (at "' + path_sessionKey + '")');
484
- }
485
- })();
486
- if (obj_sessionKey_union0_error != null) {
487
- obj_sessionKey_union0 = obj_sessionKey_union0_error.message;
488
- }
489
- let obj_sessionKey_union1 = null;
490
- const obj_sessionKey_union1_error = (() => {
491
- if (obj_sessionKey !== null) {
492
- return new TypeError('Expected "null" but received "' + typeof obj_sessionKey + '" (at "' + path_sessionKey + '")');
493
- }
494
- })();
495
- if (obj_sessionKey_union1_error != null) {
496
- obj_sessionKey_union1 = obj_sessionKey_union1_error.message;
497
- }
498
- if (obj_sessionKey_union0 && obj_sessionKey_union1) {
499
- let message = 'Object doesn\'t match union (at "' + path_sessionKey + '")';
500
- message += '\n' + obj_sessionKey_union0.split('\n').map((line) => '\t' + line).join('\n');
501
- message += '\n' + obj_sessionKey_union1.split('\n').map((line) => '\t' + line).join('\n');
502
- return new TypeError(message);
503
- }
504
- })();
505
- return v_error === undefined ? null : v_error;
506
- }
507
-
508
- function validate$5(obj, path = 'ServicePlanStepRepresentation') {
509
- const v_error = (() => {
510
- if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
511
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
512
- }
513
- const obj_groupName = obj.groupName;
514
- const path_groupName = path + '.groupName';
515
- let obj_groupName_union0 = null;
516
- const obj_groupName_union0_error = (() => {
517
- if (typeof obj_groupName !== 'string') {
518
- return new TypeError('Expected "string" but received "' + typeof obj_groupName + '" (at "' + path_groupName + '")');
519
- }
520
- })();
521
- if (obj_groupName_union0_error != null) {
522
- obj_groupName_union0 = obj_groupName_union0_error.message;
523
- }
524
- let obj_groupName_union1 = null;
525
- const obj_groupName_union1_error = (() => {
526
- if (obj_groupName !== null) {
527
- return new TypeError('Expected "null" but received "' + typeof obj_groupName + '" (at "' + path_groupName + '")');
528
- }
529
- })();
530
- if (obj_groupName_union1_error != null) {
531
- obj_groupName_union1 = obj_groupName_union1_error.message;
532
- }
533
- if (obj_groupName_union0 && obj_groupName_union1) {
534
- let message = 'Object doesn\'t match union (at "' + path_groupName + '")';
535
- message += '\n' + obj_groupName_union0.split('\n').map((line) => '\t' + line).join('\n');
536
- message += '\n' + obj_groupName_union1.split('\n').map((line) => '\t' + line).join('\n');
537
- return new TypeError(message);
538
- }
539
- const obj_id = obj.id;
540
- const path_id = path + '.id';
541
- if (typeof obj_id !== 'string') {
542
- return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
543
- }
544
- const obj_name = obj.name;
545
- const path_name = path + '.name';
546
- let obj_name_union0 = null;
547
- const obj_name_union0_error = (() => {
548
- if (typeof obj_name !== 'string') {
549
- return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
550
- }
551
- })();
552
- if (obj_name_union0_error != null) {
553
- obj_name_union0 = obj_name_union0_error.message;
554
- }
555
- let obj_name_union1 = null;
556
- const obj_name_union1_error = (() => {
557
- if (obj_name !== null) {
558
- return new TypeError('Expected "null" but received "' + typeof obj_name + '" (at "' + path_name + '")');
559
- }
560
- })();
561
- if (obj_name_union1_error != null) {
562
- obj_name_union1 = obj_name_union1_error.message;
563
- }
564
- if (obj_name_union0 && obj_name_union1) {
565
- let message = 'Object doesn\'t match union (at "' + path_name + '")';
566
- message += '\n' + obj_name_union0.split('\n').map((line) => '\t' + line).join('\n');
567
- message += '\n' + obj_name_union1.split('\n').map((line) => '\t' + line).join('\n');
568
- return new TypeError(message);
569
- }
570
- const obj_order = obj.order;
571
- const path_order = path + '.order';
572
- if (typeof obj_order !== 'number' || (typeof obj_order === 'number' && Math.floor(obj_order) !== obj_order)) {
573
- return new TypeError('Expected "integer" but received "' + typeof obj_order + '" (at "' + path_order + '")');
574
- }
575
- })();
576
- return v_error === undefined ? null : v_error;
577
- }
578
-
579
- const VERSION$3 = "4c0fefe9caa169c4221be369e384ee56";
580
- function validate$4(obj, path = 'ServicePlanOutputRepresentation') {
581
- const v_error = (() => {
582
- if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
583
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
584
- }
585
- const obj_copilotSessionInfo = obj.copilotSessionInfo;
586
- const path_copilotSessionInfo = path + '.copilotSessionInfo';
587
- let obj_copilotSessionInfo_union0 = null;
588
- const obj_copilotSessionInfo_union0_error = (() => {
589
- const referencepath_copilotSessionInfoValidationError = validate$6(obj_copilotSessionInfo, path_copilotSessionInfo);
590
- if (referencepath_copilotSessionInfoValidationError !== null) {
591
- let message = 'Object doesn\'t match ServicePlanGenerationSessionInformationOutputRepresentation (at "' + path_copilotSessionInfo + '")\n';
592
- message += referencepath_copilotSessionInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
593
- return new TypeError(message);
594
- }
595
- })();
596
- if (obj_copilotSessionInfo_union0_error != null) {
597
- obj_copilotSessionInfo_union0 = obj_copilotSessionInfo_union0_error.message;
598
- }
599
- let obj_copilotSessionInfo_union1 = null;
600
- const obj_copilotSessionInfo_union1_error = (() => {
601
- if (obj_copilotSessionInfo !== null) {
602
- return new TypeError('Expected "null" but received "' + typeof obj_copilotSessionInfo + '" (at "' + path_copilotSessionInfo + '")');
603
- }
604
- })();
605
- if (obj_copilotSessionInfo_union1_error != null) {
606
- obj_copilotSessionInfo_union1 = obj_copilotSessionInfo_union1_error.message;
607
- }
608
- if (obj_copilotSessionInfo_union0 && obj_copilotSessionInfo_union1) {
609
- let message = 'Object doesn\'t match union (at "' + path_copilotSessionInfo + '")';
610
- message += '\n' + obj_copilotSessionInfo_union0.split('\n').map((line) => '\t' + line).join('\n');
611
- message += '\n' + obj_copilotSessionInfo_union1.split('\n').map((line) => '\t' + line).join('\n');
612
- return new TypeError(message);
613
- }
614
- const obj_createdDate = obj.createdDate;
615
- const path_createdDate = path + '.createdDate';
616
- let obj_createdDate_union0 = null;
617
- const obj_createdDate_union0_error = (() => {
618
- if (typeof obj_createdDate !== 'string') {
619
- return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
620
- }
621
- })();
622
- if (obj_createdDate_union0_error != null) {
623
- obj_createdDate_union0 = obj_createdDate_union0_error.message;
624
- }
625
- let obj_createdDate_union1 = null;
626
- const obj_createdDate_union1_error = (() => {
627
- if (obj_createdDate !== null) {
628
- return new TypeError('Expected "null" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
629
- }
630
- })();
631
- if (obj_createdDate_union1_error != null) {
632
- obj_createdDate_union1 = obj_createdDate_union1_error.message;
633
- }
634
- if (obj_createdDate_union0 && obj_createdDate_union1) {
635
- let message = 'Object doesn\'t match union (at "' + path_createdDate + '")';
636
- message += '\n' + obj_createdDate_union0.split('\n').map((line) => '\t' + line).join('\n');
637
- message += '\n' + obj_createdDate_union1.split('\n').map((line) => '\t' + line).join('\n');
638
- return new TypeError(message);
639
- }
640
- const obj_id = obj.id;
641
- const path_id = path + '.id';
642
- let obj_id_union0 = null;
643
- const obj_id_union0_error = (() => {
644
- if (typeof obj_id !== 'string') {
645
- return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
646
- }
647
- })();
648
- if (obj_id_union0_error != null) {
649
- obj_id_union0 = obj_id_union0_error.message;
650
- }
651
- let obj_id_union1 = null;
652
- const obj_id_union1_error = (() => {
653
- if (obj_id !== null) {
654
- return new TypeError('Expected "null" but received "' + typeof obj_id + '" (at "' + path_id + '")');
655
- }
656
- })();
657
- if (obj_id_union1_error != null) {
658
- obj_id_union1 = obj_id_union1_error.message;
659
- }
660
- if (obj_id_union0 && obj_id_union1) {
661
- let message = 'Object doesn\'t match union (at "' + path_id + '")';
662
- message += '\n' + obj_id_union0.split('\n').map((line) => '\t' + line).join('\n');
663
- message += '\n' + obj_id_union1.split('\n').map((line) => '\t' + line).join('\n');
664
- return new TypeError(message);
665
- }
666
- const obj_intent = obj.intent;
667
- const path_intent = path + '.intent';
668
- let obj_intent_union0 = null;
669
- const obj_intent_union0_error = (() => {
670
- if (typeof obj_intent !== 'string') {
671
- return new TypeError('Expected "string" but received "' + typeof obj_intent + '" (at "' + path_intent + '")');
672
- }
673
- })();
674
- if (obj_intent_union0_error != null) {
675
- obj_intent_union0 = obj_intent_union0_error.message;
676
- }
677
- let obj_intent_union1 = null;
678
- const obj_intent_union1_error = (() => {
679
- if (obj_intent !== null) {
680
- return new TypeError('Expected "null" but received "' + typeof obj_intent + '" (at "' + path_intent + '")');
681
- }
682
- })();
683
- if (obj_intent_union1_error != null) {
684
- obj_intent_union1 = obj_intent_union1_error.message;
685
- }
686
- if (obj_intent_union0 && obj_intent_union1) {
687
- let message = 'Object doesn\'t match union (at "' + path_intent + '")';
688
- message += '\n' + obj_intent_union0.split('\n').map((line) => '\t' + line).join('\n');
689
- message += '\n' + obj_intent_union1.split('\n').map((line) => '\t' + line).join('\n');
690
- return new TypeError(message);
691
- }
692
- const obj_plan = obj.plan;
693
- const path_plan = path + '.plan';
694
- let obj_plan_union0 = null;
695
- const obj_plan_union0_error = (() => {
696
- if (typeof obj_plan !== 'string') {
697
- return new TypeError('Expected "string" but received "' + typeof obj_plan + '" (at "' + path_plan + '")');
698
- }
699
- })();
700
- if (obj_plan_union0_error != null) {
701
- obj_plan_union0 = obj_plan_union0_error.message;
702
- }
703
- let obj_plan_union1 = null;
704
- const obj_plan_union1_error = (() => {
705
- if (obj_plan !== null) {
706
- return new TypeError('Expected "null" but received "' + typeof obj_plan + '" (at "' + path_plan + '")');
707
- }
708
- })();
709
- if (obj_plan_union1_error != null) {
710
- obj_plan_union1 = obj_plan_union1_error.message;
711
- }
712
- if (obj_plan_union0 && obj_plan_union1) {
713
- let message = 'Object doesn\'t match union (at "' + path_plan + '")';
714
- message += '\n' + obj_plan_union0.split('\n').map((line) => '\t' + line).join('\n');
715
- message += '\n' + obj_plan_union1.split('\n').map((line) => '\t' + line).join('\n');
716
- return new TypeError(message);
717
- }
718
- const obj_steps = obj.steps;
719
- const path_steps = path + '.steps';
720
- if (!ArrayIsArray(obj_steps)) {
721
- return new TypeError('Expected "array" but received "' + typeof obj_steps + '" (at "' + path_steps + '")');
722
- }
723
- for (let i = 0; i < obj_steps.length; i++) {
724
- const obj_steps_item = obj_steps[i];
725
- const path_steps_item = path_steps + '[' + i + ']';
726
- const referencepath_steps_itemValidationError = validate$5(obj_steps_item, path_steps_item);
727
- if (referencepath_steps_itemValidationError !== null) {
728
- let message = 'Object doesn\'t match ServicePlanStepRepresentation (at "' + path_steps_item + '")\n';
729
- message += referencepath_steps_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
730
- return new TypeError(message);
731
- }
732
- }
733
- const obj_topicDescription = obj.topicDescription;
734
- const path_topicDescription = path + '.topicDescription';
735
- let obj_topicDescription_union0 = null;
736
- const obj_topicDescription_union0_error = (() => {
737
- if (typeof obj_topicDescription !== 'string') {
738
- return new TypeError('Expected "string" but received "' + typeof obj_topicDescription + '" (at "' + path_topicDescription + '")');
739
- }
740
- })();
741
- if (obj_topicDescription_union0_error != null) {
742
- obj_topicDescription_union0 = obj_topicDescription_union0_error.message;
743
- }
744
- let obj_topicDescription_union1 = null;
745
- const obj_topicDescription_union1_error = (() => {
746
- if (obj_topicDescription !== null) {
747
- return new TypeError('Expected "null" but received "' + typeof obj_topicDescription + '" (at "' + path_topicDescription + '")');
748
- }
749
- })();
750
- if (obj_topicDescription_union1_error != null) {
751
- obj_topicDescription_union1 = obj_topicDescription_union1_error.message;
752
- }
753
- if (obj_topicDescription_union0 && obj_topicDescription_union1) {
754
- let message = 'Object doesn\'t match union (at "' + path_topicDescription + '")';
755
- message += '\n' + obj_topicDescription_union0.split('\n').map((line) => '\t' + line).join('\n');
756
- message += '\n' + obj_topicDescription_union1.split('\n').map((line) => '\t' + line).join('\n');
757
- return new TypeError(message);
758
- }
759
- const obj_topicId = obj.topicId;
760
- const path_topicId = path + '.topicId';
761
- let obj_topicId_union0 = null;
762
- const obj_topicId_union0_error = (() => {
763
- if (typeof obj_topicId !== 'string') {
764
- return new TypeError('Expected "string" but received "' + typeof obj_topicId + '" (at "' + path_topicId + '")');
765
- }
766
- })();
767
- if (obj_topicId_union0_error != null) {
768
- obj_topicId_union0 = obj_topicId_union0_error.message;
769
- }
770
- let obj_topicId_union1 = null;
771
- const obj_topicId_union1_error = (() => {
772
- if (obj_topicId !== null) {
773
- return new TypeError('Expected "null" but received "' + typeof obj_topicId + '" (at "' + path_topicId + '")');
774
- }
775
- })();
776
- if (obj_topicId_union1_error != null) {
777
- obj_topicId_union1 = obj_topicId_union1_error.message;
778
- }
779
- if (obj_topicId_union0 && obj_topicId_union1) {
780
- let message = 'Object doesn\'t match union (at "' + path_topicId + '")';
781
- message += '\n' + obj_topicId_union0.split('\n').map((line) => '\t' + line).join('\n');
782
- message += '\n' + obj_topicId_union1.split('\n').map((line) => '\t' + line).join('\n');
783
- return new TypeError(message);
784
- }
785
- const obj_topicName = obj.topicName;
786
- const path_topicName = path + '.topicName';
787
- let obj_topicName_union0 = null;
788
- const obj_topicName_union0_error = (() => {
789
- if (typeof obj_topicName !== 'string') {
790
- return new TypeError('Expected "string" but received "' + typeof obj_topicName + '" (at "' + path_topicName + '")');
791
- }
792
- })();
793
- if (obj_topicName_union0_error != null) {
794
- obj_topicName_union0 = obj_topicName_union0_error.message;
795
- }
796
- let obj_topicName_union1 = null;
797
- const obj_topicName_union1_error = (() => {
798
- if (obj_topicName !== null) {
799
- return new TypeError('Expected "null" but received "' + typeof obj_topicName + '" (at "' + path_topicName + '")');
800
- }
801
- })();
802
- if (obj_topicName_union1_error != null) {
803
- obj_topicName_union1 = obj_topicName_union1_error.message;
804
- }
805
- if (obj_topicName_union0 && obj_topicName_union1) {
806
- let message = 'Object doesn\'t match union (at "' + path_topicName + '")';
807
- message += '\n' + obj_topicName_union0.split('\n').map((line) => '\t' + line).join('\n');
808
- message += '\n' + obj_topicName_union1.split('\n').map((line) => '\t' + line).join('\n');
809
- return new TypeError(message);
810
- }
811
- const obj_type = obj.type;
812
- const path_type = path + '.type';
813
- let obj_type_union0 = null;
814
- const obj_type_union0_error = (() => {
815
- if (typeof obj_type !== 'string') {
816
- return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
817
- }
818
- })();
819
- if (obj_type_union0_error != null) {
820
- obj_type_union0 = obj_type_union0_error.message;
821
- }
822
- let obj_type_union1 = null;
823
- const obj_type_union1_error = (() => {
824
- if (obj_type !== null) {
825
- return new TypeError('Expected "null" but received "' + typeof obj_type + '" (at "' + path_type + '")');
826
- }
827
- })();
828
- if (obj_type_union1_error != null) {
829
- obj_type_union1 = obj_type_union1_error.message;
830
- }
831
- if (obj_type_union0 && obj_type_union1) {
832
- let message = 'Object doesn\'t match union (at "' + path_type + '")';
833
- message += '\n' + obj_type_union0.split('\n').map((line) => '\t' + line).join('\n');
834
- message += '\n' + obj_type_union1.split('\n').map((line) => '\t' + line).join('\n');
835
- return new TypeError(message);
836
- }
837
- })();
838
- return v_error === undefined ? null : v_error;
839
- }
840
- const RepresentationType$3 = 'ServicePlanOutputRepresentation';
841
- function normalize$3(input, existing, path, luvio, store, timestamp) {
842
- return input;
843
- }
844
- const select$6 = function ServicePlanOutputRepresentationSelect() {
845
- return {
846
- kind: 'Fragment',
847
- version: VERSION$3,
848
- private: [],
849
- opaque: true
850
- };
851
- };
852
- function equals$3(existing, incoming) {
853
- if (JSONStringify(incoming) !== JSONStringify(existing)) {
854
- return false;
855
- }
856
- return true;
857
- }
858
- const ingest$3 = function ServicePlanOutputRepresentationIngest(input, path, luvio, store, timestamp) {
859
- if (process.env.NODE_ENV !== 'production') {
860
- const validateError = validate$4(input);
861
- if (validateError !== null) {
862
- throw validateError;
863
- }
864
- }
865
- const key = path.fullPath;
866
- const ttlToUse = path.ttl !== undefined ? path.ttl : 500;
867
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "ServicePlan", VERSION$3, RepresentationType$3, equals$3);
868
- return createLink(key);
869
- };
870
- function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
871
- // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
872
- const rootKey = fullPathFactory();
873
- rootKeySet.set(rootKey, {
874
- namespace: keyPrefix,
875
- representationName: RepresentationType$3,
876
- mergeable: false
877
- });
878
- }
879
-
880
395
  const TTL$1 = 1000;
881
- const VERSION$2 = "b5c67e27b60e36e6fa42d8892118ac05";
396
+ const VERSION$2 = "e7b90a0cede064026bfdd02757e2d945";
882
397
  function validate$3(obj, path = 'ServicePlanGenerationOutputRepresentation') {
883
398
  const v_error = (() => {
884
399
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
885
400
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
886
401
  }
887
- const obj_copilotId = obj.copilotId;
888
- const path_copilotId = path + '.copilotId';
889
- let obj_copilotId_union0 = null;
890
- const obj_copilotId_union0_error = (() => {
891
- if (typeof obj_copilotId !== 'string') {
892
- return new TypeError('Expected "string" but received "' + typeof obj_copilotId + '" (at "' + path_copilotId + '")');
893
- }
894
- })();
895
- if (obj_copilotId_union0_error != null) {
896
- obj_copilotId_union0 = obj_copilotId_union0_error.message;
897
- }
898
- let obj_copilotId_union1 = null;
899
- const obj_copilotId_union1_error = (() => {
900
- if (obj_copilotId !== null) {
901
- return new TypeError('Expected "null" but received "' + typeof obj_copilotId + '" (at "' + path_copilotId + '")');
902
- }
903
- })();
904
- if (obj_copilotId_union1_error != null) {
905
- obj_copilotId_union1 = obj_copilotId_union1_error.message;
906
- }
907
- if (obj_copilotId_union0 && obj_copilotId_union1) {
908
- let message = 'Object doesn\'t match union (at "' + path_copilotId + '")';
909
- message += '\n' + obj_copilotId_union0.split('\n').map((line) => '\t' + line).join('\n');
910
- message += '\n' + obj_copilotId_union1.split('\n').map((line) => '\t' + line).join('\n');
911
- return new TypeError(message);
912
- }
913
- const obj_copilotName = obj.copilotName;
914
- const path_copilotName = path + '.copilotName';
915
- let obj_copilotName_union0 = null;
916
- const obj_copilotName_union0_error = (() => {
917
- if (typeof obj_copilotName !== 'string') {
918
- return new TypeError('Expected "string" but received "' + typeof obj_copilotName + '" (at "' + path_copilotName + '")');
919
- }
920
- })();
921
- if (obj_copilotName_union0_error != null) {
922
- obj_copilotName_union0 = obj_copilotName_union0_error.message;
923
- }
924
- let obj_copilotName_union1 = null;
925
- const obj_copilotName_union1_error = (() => {
926
- if (obj_copilotName !== null) {
927
- return new TypeError('Expected "null" but received "' + typeof obj_copilotName + '" (at "' + path_copilotName + '")');
928
- }
929
- })();
930
- if (obj_copilotName_union1_error != null) {
931
- obj_copilotName_union1 = obj_copilotName_union1_error.message;
932
- }
933
- if (obj_copilotName_union0 && obj_copilotName_union1) {
934
- let message = 'Object doesn\'t match union (at "' + path_copilotName + '")';
935
- message += '\n' + obj_copilotName_union0.split('\n').map((line) => '\t' + line).join('\n');
936
- message += '\n' + obj_copilotName_union1.split('\n').map((line) => '\t' + line).join('\n');
937
- return new TypeError(message);
938
- }
939
402
  const obj_errorCode = obj.errorCode;
940
403
  const path_errorCode = path + '.errorCode';
941
404
  let obj_errorCode_union0 = null;
@@ -1014,32 +477,6 @@ function validate$3(obj, path = 'ServicePlanGenerationOutputRepresentation') {
1014
477
  message += '\n' + obj_id_union1.split('\n').map((line) => '\t' + line).join('\n');
1015
478
  return new TypeError(message);
1016
479
  }
1017
- const obj_plan = obj.plan;
1018
- const path_plan = path + '.plan';
1019
- let obj_plan_union0 = null;
1020
- const obj_plan_union0_error = (() => {
1021
- if (typeof obj_plan !== 'object') {
1022
- return new TypeError('Expected "object" but received "' + typeof obj_plan + '" (at "' + path_plan + '")');
1023
- }
1024
- })();
1025
- if (obj_plan_union0_error != null) {
1026
- obj_plan_union0 = obj_plan_union0_error.message;
1027
- }
1028
- let obj_plan_union1 = null;
1029
- const obj_plan_union1_error = (() => {
1030
- if (obj_plan !== null) {
1031
- return new TypeError('Expected "null" but received "' + typeof obj_plan + '" (at "' + path_plan + '")');
1032
- }
1033
- })();
1034
- if (obj_plan_union1_error != null) {
1035
- obj_plan_union1 = obj_plan_union1_error.message;
1036
- }
1037
- if (obj_plan_union0 && obj_plan_union1) {
1038
- let message = 'Object doesn\'t match union (at "' + path_plan + '")';
1039
- message += '\n' + obj_plan_union0.split('\n').map((line) => '\t' + line).join('\n');
1040
- message += '\n' + obj_plan_union1.split('\n').map((line) => '\t' + line).join('\n');
1041
- return new TypeError(message);
1042
- }
1043
480
  const obj_reason = obj.reason;
1044
481
  const path_reason = path + '.reason';
1045
482
  if (typeof obj_reason !== 'string') {
@@ -1074,20 +511,6 @@ function keyBuilderFromType$1(luvio, object) {
1074
511
  return keyBuilder$5(luvio, keyParams);
1075
512
  }
1076
513
  function normalize$2(input, existing, path, luvio, store, timestamp) {
1077
- const input_plan = input.plan;
1078
- const input_plan_id = path.fullPath + '__plan';
1079
- if (input_plan !== null && typeof input_plan === 'object') {
1080
- input.plan = ingest$3(input_plan, {
1081
- fullPath: input_plan_id,
1082
- propertyName: 'plan',
1083
- parent: {
1084
- data: input,
1085
- key: path.fullPath,
1086
- existing: existing,
1087
- },
1088
- ttl: path.ttl
1089
- }, luvio, store, timestamp);
1090
- }
1091
514
  return input;
1092
515
  }
1093
516
  const select$5 = function ServicePlanGenerationOutputRepresentationSelect() {
@@ -1096,14 +519,6 @@ const select$5 = function ServicePlanGenerationOutputRepresentationSelect() {
1096
519
  version: VERSION$2,
1097
520
  private: [],
1098
521
  selections: [
1099
- {
1100
- name: 'copilotId',
1101
- kind: 'Scalar'
1102
- },
1103
- {
1104
- name: 'copilotName',
1105
- kind: 'Scalar'
1106
- },
1107
522
  {
1108
523
  name: 'errorCode',
1109
524
  kind: 'Scalar'
@@ -1116,12 +531,6 @@ const select$5 = function ServicePlanGenerationOutputRepresentationSelect() {
1116
531
  name: 'id',
1117
532
  kind: 'Scalar'
1118
533
  },
1119
- {
1120
- name: 'plan',
1121
- kind: 'Link',
1122
- nullable: true,
1123
- fragment: select$6()
1124
- },
1125
534
  {
1126
535
  name: 'reason',
1127
536
  kind: 'Scalar'
@@ -1162,16 +571,6 @@ function equals$2(existing, incoming) {
1162
571
  if (!(existing_type === incoming_type)) {
1163
572
  return false;
1164
573
  }
1165
- const existing_copilotId = existing.copilotId;
1166
- const incoming_copilotId = incoming.copilotId;
1167
- if (!(existing_copilotId === incoming_copilotId)) {
1168
- return false;
1169
- }
1170
- const existing_copilotName = existing.copilotName;
1171
- const incoming_copilotName = incoming.copilotName;
1172
- if (!(existing_copilotName === incoming_copilotName)) {
1173
- return false;
1174
- }
1175
574
  const existing_errorCode = existing.errorCode;
1176
575
  const incoming_errorCode = incoming.errorCode;
1177
576
  if (!(existing_errorCode === incoming_errorCode)) {
@@ -1187,16 +586,6 @@ function equals$2(existing, incoming) {
1187
586
  if (!(existing_id === incoming_id)) {
1188
587
  return false;
1189
588
  }
1190
- const existing_plan = existing.plan;
1191
- const incoming_plan = incoming.plan;
1192
- if (!(existing_plan === incoming_plan
1193
- || (existing_plan != null &&
1194
- incoming_plan != null &&
1195
- existing_plan.__ref != null &&
1196
- incoming_plan.__ref != null &&
1197
- existing_plan.__ref === incoming_plan.__ref))) {
1198
- return false;
1199
- }
1200
589
  return true;
1201
590
  }
1202
591
  const ingest$2 = function ServicePlanGenerationOutputRepresentationIngest(input, path, luvio, store, timestamp) {
@@ -1219,9 +608,6 @@ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
1219
608
  representationName: RepresentationType$2,
1220
609
  mergeable: false
1221
610
  });
1222
- if (input.plan !== null && typeof input.plan === 'object') {
1223
- getTypeCacheKeys$3(rootKeySet, luvio, input.plan, () => rootKey + "__" + "plan");
1224
- }
1225
611
  }
1226
612
  const notifyUpdateAvailableFactory$1 = (luvio) => {
1227
613
  return function notifyServicePlanGenerationUpdateAvailable(configs) {
@@ -1279,6 +665,7 @@ const adapterName$2 = 'generateServicePlan';
1279
665
  const generateServicePlan_ConfigPropertyMetadata = [
1280
666
  generateParamConfigMetadata('processingMode', false, 1 /* QueryParameter */, 0 /* String */),
1281
667
  generateParamConfigMetadata('recordId', false, 1 /* QueryParameter */, 0 /* String */),
668
+ generateParamConfigMetadata('regenerate', false, 1 /* QueryParameter */, 1 /* Boolean */),
1282
669
  generateParamConfigMetadata('additionalContext', true, 2 /* Body */, 4 /* Unsupported */),
1283
670
  generateParamConfigMetadata('generationMode', true, 2 /* Body */, 0 /* String */),
1284
671
  generateParamConfigMetadata('source', true, 2 /* Body */, 0 /* String */),
@@ -1525,6 +912,11 @@ function validate$2(obj, path = 'ServicePlanStepDetailsRepresentation') {
1525
912
  message += '\n' + obj_groupName_union1.split('\n').map((line) => '\t' + line).join('\n');
1526
913
  return new TypeError(message);
1527
914
  }
915
+ const obj_isSuggested = obj.isSuggested;
916
+ const path_isSuggested = path + '.isSuggested';
917
+ if (typeof obj_isSuggested !== 'boolean') {
918
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isSuggested + '" (at "' + path_isSuggested + '")');
919
+ }
1528
920
  const obj_order = obj.order;
1529
921
  const path_order = path + '.order';
1530
922
  if (typeof obj_order !== 'number' || (typeof obj_order === 'number' && Math.floor(obj_order) !== obj_order)) {
@@ -1549,7 +941,7 @@ function validate$2(obj, path = 'ServicePlanStepDetailsRepresentation') {
1549
941
  return v_error === undefined ? null : v_error;
1550
942
  }
1551
943
 
1552
- const VERSION$1 = "c9695b537d7f54ccb9bfd42af5ddaa1d";
944
+ const VERSION$1 = "caa4875ebe47f9738944b0542d09f7ef";
1553
945
  function validate$1(obj, path = 'ServicePlanDetailsRepresentation') {
1554
946
  const v_error = (() => {
1555
947
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -1659,6 +1051,11 @@ function validate$1(obj, path = 'ServicePlanDetailsRepresentation') {
1659
1051
  message += '\n' + obj_feedbackId_union1.split('\n').map((line) => '\t' + line).join('\n');
1660
1052
  return new TypeError(message);
1661
1053
  }
1054
+ const obj_hasContextChanged = obj.hasContextChanged;
1055
+ const path_hasContextChanged = path + '.hasContextChanged';
1056
+ if (typeof obj_hasContextChanged !== 'boolean') {
1057
+ return new TypeError('Expected "boolean" but received "' + typeof obj_hasContextChanged + '" (at "' + path_hasContextChanged + '")');
1058
+ }
1662
1059
  const obj_planHeader = obj.planHeader;
1663
1060
  const path_planHeader = path + '.planHeader';
1664
1061
  let obj_planHeader_union0 = null;
@@ -2206,4 +1603,4 @@ withDefaultLuvio((luvio) => {
2206
1603
  });
2207
1604
 
2208
1605
  export { executeServicePlan, generateServicePlan, getGenerationRequest, getGenerationRequest_imperative, getServicePlan, getServicePlanNotifyChange, getServicePlan_imperative, notifyServicePlanDetailsUpdateAvailable, notifyServicePlanGenerationUpdateAvailable };
2209
- // version: 1.348.1-163f0bd450
1606
+ // version: 1.350.0-4e181805d5