@salesforce/lds-adapters-platform-interaction-orchestrator 1.320.0 → 1.321.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.
@@ -365,12 +365,168 @@ function equals$4(existing, incoming) {
365
365
  return true;
366
366
  }
367
367
 
368
- const VERSION$3 = "9817b563e81370d761a0d7f4b18410e4";
368
+ const VERSION$3 = "6d8faa2a100e935ff20990303f8da309";
369
369
  function validate$3(obj, path = 'FlowOrchestrationStepInstanceRepresentation') {
370
370
  const v_error = (() => {
371
371
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
372
372
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
373
373
  }
374
+ const obj_assignedTo = obj.assignedTo;
375
+ const path_assignedTo = path + '.assignedTo';
376
+ let obj_assignedTo_union0 = null;
377
+ const obj_assignedTo_union0_error = (() => {
378
+ if (typeof obj_assignedTo !== 'string') {
379
+ return new TypeError('Expected "string" but received "' + typeof obj_assignedTo + '" (at "' + path_assignedTo + '")');
380
+ }
381
+ })();
382
+ if (obj_assignedTo_union0_error != null) {
383
+ obj_assignedTo_union0 = obj_assignedTo_union0_error.message;
384
+ }
385
+ let obj_assignedTo_union1 = null;
386
+ const obj_assignedTo_union1_error = (() => {
387
+ if (obj_assignedTo !== null) {
388
+ return new TypeError('Expected "null" but received "' + typeof obj_assignedTo + '" (at "' + path_assignedTo + '")');
389
+ }
390
+ })();
391
+ if (obj_assignedTo_union1_error != null) {
392
+ obj_assignedTo_union1 = obj_assignedTo_union1_error.message;
393
+ }
394
+ if (obj_assignedTo_union0 && obj_assignedTo_union1) {
395
+ let message = 'Object doesn\'t match union (at "' + path_assignedTo + '")';
396
+ message += '\n' + obj_assignedTo_union0.split('\n').map((line) => '\t' + line).join('\n');
397
+ message += '\n' + obj_assignedTo_union1.split('\n').map((line) => '\t' + line).join('\n');
398
+ return new TypeError(message);
399
+ }
400
+ const obj_assigneeType = obj.assigneeType;
401
+ const path_assigneeType = path + '.assigneeType';
402
+ let obj_assigneeType_union0 = null;
403
+ const obj_assigneeType_union0_error = (() => {
404
+ if (typeof obj_assigneeType !== 'string') {
405
+ return new TypeError('Expected "string" but received "' + typeof obj_assigneeType + '" (at "' + path_assigneeType + '")');
406
+ }
407
+ })();
408
+ if (obj_assigneeType_union0_error != null) {
409
+ obj_assigneeType_union0 = obj_assigneeType_union0_error.message;
410
+ }
411
+ let obj_assigneeType_union1 = null;
412
+ const obj_assigneeType_union1_error = (() => {
413
+ if (obj_assigneeType !== null) {
414
+ return new TypeError('Expected "null" but received "' + typeof obj_assigneeType + '" (at "' + path_assigneeType + '")');
415
+ }
416
+ })();
417
+ if (obj_assigneeType_union1_error != null) {
418
+ obj_assigneeType_union1 = obj_assigneeType_union1_error.message;
419
+ }
420
+ if (obj_assigneeType_union0 && obj_assigneeType_union1) {
421
+ let message = 'Object doesn\'t match union (at "' + path_assigneeType + '")';
422
+ message += '\n' + obj_assigneeType_union0.split('\n').map((line) => '\t' + line).join('\n');
423
+ message += '\n' + obj_assigneeType_union1.split('\n').map((line) => '\t' + line).join('\n');
424
+ return new TypeError(message);
425
+ }
426
+ const obj_comments = obj.comments;
427
+ const path_comments = path + '.comments';
428
+ let obj_comments_union0 = null;
429
+ const obj_comments_union0_error = (() => {
430
+ if (typeof obj_comments !== 'string') {
431
+ return new TypeError('Expected "string" but received "' + typeof obj_comments + '" (at "' + path_comments + '")');
432
+ }
433
+ })();
434
+ if (obj_comments_union0_error != null) {
435
+ obj_comments_union0 = obj_comments_union0_error.message;
436
+ }
437
+ let obj_comments_union1 = null;
438
+ const obj_comments_union1_error = (() => {
439
+ if (obj_comments !== null) {
440
+ return new TypeError('Expected "null" but received "' + typeof obj_comments + '" (at "' + path_comments + '")');
441
+ }
442
+ })();
443
+ if (obj_comments_union1_error != null) {
444
+ obj_comments_union1 = obj_comments_union1_error.message;
445
+ }
446
+ if (obj_comments_union0 && obj_comments_union1) {
447
+ let message = 'Object doesn\'t match union (at "' + path_comments + '")';
448
+ message += '\n' + obj_comments_union0.split('\n').map((line) => '\t' + line).join('\n');
449
+ message += '\n' + obj_comments_union1.split('\n').map((line) => '\t' + line).join('\n');
450
+ return new TypeError(message);
451
+ }
452
+ const obj_completedBy = obj.completedBy;
453
+ const path_completedBy = path + '.completedBy';
454
+ let obj_completedBy_union0 = null;
455
+ const obj_completedBy_union0_error = (() => {
456
+ if (typeof obj_completedBy !== 'string') {
457
+ return new TypeError('Expected "string" but received "' + typeof obj_completedBy + '" (at "' + path_completedBy + '")');
458
+ }
459
+ })();
460
+ if (obj_completedBy_union0_error != null) {
461
+ obj_completedBy_union0 = obj_completedBy_union0_error.message;
462
+ }
463
+ let obj_completedBy_union1 = null;
464
+ const obj_completedBy_union1_error = (() => {
465
+ if (obj_completedBy !== null) {
466
+ return new TypeError('Expected "null" but received "' + typeof obj_completedBy + '" (at "' + path_completedBy + '")');
467
+ }
468
+ })();
469
+ if (obj_completedBy_union1_error != null) {
470
+ obj_completedBy_union1 = obj_completedBy_union1_error.message;
471
+ }
472
+ if (obj_completedBy_union0 && obj_completedBy_union1) {
473
+ let message = 'Object doesn\'t match union (at "' + path_completedBy + '")';
474
+ message += '\n' + obj_completedBy_union0.split('\n').map((line) => '\t' + line).join('\n');
475
+ message += '\n' + obj_completedBy_union1.split('\n').map((line) => '\t' + line).join('\n');
476
+ return new TypeError(message);
477
+ }
478
+ const obj_completionTime = obj.completionTime;
479
+ const path_completionTime = path + '.completionTime';
480
+ let obj_completionTime_union0 = null;
481
+ const obj_completionTime_union0_error = (() => {
482
+ if (typeof obj_completionTime !== 'string') {
483
+ return new TypeError('Expected "string" but received "' + typeof obj_completionTime + '" (at "' + path_completionTime + '")');
484
+ }
485
+ })();
486
+ if (obj_completionTime_union0_error != null) {
487
+ obj_completionTime_union0 = obj_completionTime_union0_error.message;
488
+ }
489
+ let obj_completionTime_union1 = null;
490
+ const obj_completionTime_union1_error = (() => {
491
+ if (obj_completionTime !== null) {
492
+ return new TypeError('Expected "null" but received "' + typeof obj_completionTime + '" (at "' + path_completionTime + '")');
493
+ }
494
+ })();
495
+ if (obj_completionTime_union1_error != null) {
496
+ obj_completionTime_union1 = obj_completionTime_union1_error.message;
497
+ }
498
+ if (obj_completionTime_union0 && obj_completionTime_union1) {
499
+ let message = 'Object doesn\'t match union (at "' + path_completionTime + '")';
500
+ message += '\n' + obj_completionTime_union0.split('\n').map((line) => '\t' + line).join('\n');
501
+ message += '\n' + obj_completionTime_union1.split('\n').map((line) => '\t' + line).join('\n');
502
+ return new TypeError(message);
503
+ }
504
+ const obj_description = obj.description;
505
+ const path_description = path + '.description';
506
+ let obj_description_union0 = null;
507
+ const obj_description_union0_error = (() => {
508
+ if (typeof obj_description !== 'string') {
509
+ return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
510
+ }
511
+ })();
512
+ if (obj_description_union0_error != null) {
513
+ obj_description_union0 = obj_description_union0_error.message;
514
+ }
515
+ let obj_description_union1 = null;
516
+ const obj_description_union1_error = (() => {
517
+ if (obj_description !== null) {
518
+ return new TypeError('Expected "null" but received "' + typeof obj_description + '" (at "' + path_description + '")');
519
+ }
520
+ })();
521
+ if (obj_description_union1_error != null) {
522
+ obj_description_union1 = obj_description_union1_error.message;
523
+ }
524
+ if (obj_description_union0 && obj_description_union1) {
525
+ let message = 'Object doesn\'t match union (at "' + path_description + '")';
526
+ message += '\n' + obj_description_union0.split('\n').map((line) => '\t' + line).join('\n');
527
+ message += '\n' + obj_description_union1.split('\n').map((line) => '\t' + line).join('\n');
528
+ return new TypeError(message);
529
+ }
374
530
  const obj_id = obj.id;
375
531
  const path_id = path + '.id';
376
532
  if (typeof obj_id !== 'string') {
@@ -463,6 +619,30 @@ const select$5 = function FlowOrchestrationStepInstanceRepresentationSelect() {
463
619
  version: VERSION$3,
464
620
  private: [],
465
621
  selections: [
622
+ {
623
+ name: 'assignedTo',
624
+ kind: 'Scalar'
625
+ },
626
+ {
627
+ name: 'assigneeType',
628
+ kind: 'Scalar'
629
+ },
630
+ {
631
+ name: 'comments',
632
+ kind: 'Scalar'
633
+ },
634
+ {
635
+ name: 'completedBy',
636
+ kind: 'Scalar'
637
+ },
638
+ {
639
+ name: 'completionTime',
640
+ kind: 'Scalar'
641
+ },
642
+ {
643
+ name: 'description',
644
+ kind: 'Scalar'
645
+ },
466
646
  {
467
647
  name: 'id',
468
648
  kind: 'Scalar'
@@ -508,6 +688,36 @@ function equals$3(existing, incoming) {
508
688
  if (!(existing_stepType === incoming_stepType)) {
509
689
  return false;
510
690
  }
691
+ const existing_assignedTo = existing.assignedTo;
692
+ const incoming_assignedTo = incoming.assignedTo;
693
+ if (!(existing_assignedTo === incoming_assignedTo)) {
694
+ return false;
695
+ }
696
+ const existing_assigneeType = existing.assigneeType;
697
+ const incoming_assigneeType = incoming.assigneeType;
698
+ if (!(existing_assigneeType === incoming_assigneeType)) {
699
+ return false;
700
+ }
701
+ const existing_comments = existing.comments;
702
+ const incoming_comments = incoming.comments;
703
+ if (!(existing_comments === incoming_comments)) {
704
+ return false;
705
+ }
706
+ const existing_completedBy = existing.completedBy;
707
+ const incoming_completedBy = incoming.completedBy;
708
+ if (!(existing_completedBy === incoming_completedBy)) {
709
+ return false;
710
+ }
711
+ const existing_completionTime = existing.completionTime;
712
+ const incoming_completionTime = incoming.completionTime;
713
+ if (!(existing_completionTime === incoming_completionTime)) {
714
+ return false;
715
+ }
716
+ const existing_description = existing.description;
717
+ const incoming_description = incoming.description;
718
+ if (!(existing_description === incoming_description)) {
719
+ return false;
720
+ }
511
721
  const existing_label = existing.label;
512
722
  const incoming_label = incoming.label;
513
723
  if (!(existing_label === incoming_label)) {
@@ -531,12 +741,38 @@ function equals$3(existing, incoming) {
531
741
  return true;
532
742
  }
533
743
 
534
- const VERSION$2 = "4d586ae3293b53e776853c9b4e1ad36b";
744
+ const VERSION$2 = "34c2ae0baf31e5cef069324398009d09";
535
745
  function validate$2(obj, path = 'FlowOrchestrationStageInstanceRepresentation') {
536
746
  const v_error = (() => {
537
747
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
538
748
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
539
749
  }
750
+ const obj_completionTime = obj.completionTime;
751
+ const path_completionTime = path + '.completionTime';
752
+ let obj_completionTime_union0 = null;
753
+ const obj_completionTime_union0_error = (() => {
754
+ if (typeof obj_completionTime !== 'string') {
755
+ return new TypeError('Expected "string" but received "' + typeof obj_completionTime + '" (at "' + path_completionTime + '")');
756
+ }
757
+ })();
758
+ if (obj_completionTime_union0_error != null) {
759
+ obj_completionTime_union0 = obj_completionTime_union0_error.message;
760
+ }
761
+ let obj_completionTime_union1 = null;
762
+ const obj_completionTime_union1_error = (() => {
763
+ if (obj_completionTime !== null) {
764
+ return new TypeError('Expected "null" but received "' + typeof obj_completionTime + '" (at "' + path_completionTime + '")');
765
+ }
766
+ })();
767
+ if (obj_completionTime_union1_error != null) {
768
+ obj_completionTime_union1 = obj_completionTime_union1_error.message;
769
+ }
770
+ if (obj_completionTime_union0 && obj_completionTime_union1) {
771
+ let message = 'Object doesn\'t match union (at "' + path_completionTime + '")';
772
+ message += '\n' + obj_completionTime_union0.split('\n').map((line) => '\t' + line).join('\n');
773
+ message += '\n' + obj_completionTime_union1.split('\n').map((line) => '\t' + line).join('\n');
774
+ return new TypeError(message);
775
+ }
540
776
  const obj_id = obj.id;
541
777
  const path_id = path + '.id';
542
778
  if (typeof obj_id !== 'string') {
@@ -624,6 +860,10 @@ const select$4 = function FlowOrchestrationStageInstanceRepresentationSelect() {
624
860
  version: VERSION$2,
625
861
  private: [],
626
862
  selections: [
863
+ {
864
+ name: 'completionTime',
865
+ kind: 'Scalar'
866
+ },
627
867
  {
628
868
  name: 'id',
629
869
  kind: 'Scalar'
@@ -660,6 +900,11 @@ function equals$2(existing, incoming) {
660
900
  if (!(existing_status === incoming_status)) {
661
901
  return false;
662
902
  }
903
+ const existing_completionTime = existing.completionTime;
904
+ const incoming_completionTime = incoming.completionTime;
905
+ if (!(existing_completionTime === incoming_completionTime)) {
906
+ return false;
907
+ }
663
908
  const existing_label = existing.label;
664
909
  const incoming_label = incoming.label;
665
910
  if (!(existing_label === incoming_label)) {
@@ -1,6 +1,6 @@
1
1
  import { FlowOrchestrationStepInstanceRepresentation as FlowOrchestrationStepInstanceRepresentation_FlowOrchestrationStepInstanceRepresentation } from './FlowOrchestrationStepInstanceRepresentation';
2
2
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
3
- export declare const VERSION = "4d586ae3293b53e776853c9b4e1ad36b";
3
+ export declare const VERSION = "34c2ae0baf31e5cef069324398009d09";
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: FlowOrchestrationStageInstanceRepresentation, existing: FlowOrchestrationStageInstanceRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FlowOrchestrationStageInstanceRepresentationNormalized;
@@ -15,6 +15,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
15
15
  * (none)
16
16
  */
17
17
  export interface FlowOrchestrationStageInstanceRepresentationNormalized {
18
+ /** Orchestration stage instance completion time in seconds */
19
+ completionTime: string | null;
18
20
  /** Orchestration stage instance id */
19
21
  id: string;
20
22
  /** Orchestration stage instance label */
@@ -33,6 +35,7 @@ export interface FlowOrchestrationStageInstanceRepresentationNormalized {
33
35
  * (none)
34
36
  */
35
37
  export interface FlowOrchestrationStageInstanceRepresentation {
38
+ completionTime: string | null;
36
39
  id: string;
37
40
  label: string | null;
38
41
  name: string | null;
@@ -1,6 +1,6 @@
1
1
  import { FlowOrchestrationWorkItemRepresentation as FlowOrchestrationWorkItemRepresentation_FlowOrchestrationWorkItemRepresentation } from './FlowOrchestrationWorkItemRepresentation';
2
2
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
3
- export declare const VERSION = "9817b563e81370d761a0d7f4b18410e4";
3
+ export declare const VERSION = "6d8faa2a100e935ff20990303f8da309";
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: FlowOrchestrationStepInstanceRepresentation, existing: FlowOrchestrationStepInstanceRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FlowOrchestrationStepInstanceRepresentationNormalized;
@@ -15,6 +15,18 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
15
15
  * (none)
16
16
  */
17
17
  export interface FlowOrchestrationStepInstanceRepresentationNormalized {
18
+ /** Orchestration step assignee */
19
+ assignedTo: string | null;
20
+ /** Orchestration step assignee type */
21
+ assigneeType: string | null;
22
+ /** Orchestration step instance comments */
23
+ comments: string | null;
24
+ /** Orchestration step completed by */
25
+ completedBy: string | null;
26
+ /** Orchestration step instance completion time in seconds */
27
+ completionTime: string | null;
28
+ /** Orchestration step instance description */
29
+ description: string | null;
18
30
  /** Orchestration step instance id */
19
31
  id: string;
20
32
  /** Orchestration step instance label */
@@ -35,6 +47,12 @@ export interface FlowOrchestrationStepInstanceRepresentationNormalized {
35
47
  * (none)
36
48
  */
37
49
  export interface FlowOrchestrationStepInstanceRepresentation {
50
+ assignedTo: string | null;
51
+ assigneeType: string | null;
52
+ comments: string | null;
53
+ completedBy: string | null;
54
+ completionTime: string | null;
55
+ description: string | null;
38
56
  id: string;
39
57
  label: string | null;
40
58
  name: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-platform-interaction-orchestrator",
3
- "version": "1.320.0",
3
+ "version": "1.321.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "Interaction Orchestrator APIs",
6
6
  "main": "dist/es/es2018/platform-interaction-orchestrator.js",
@@ -40,11 +40,11 @@
40
40
  "release:core": "../../scripts/release/core.js --adapter=lds-adapters-platform-interaction-orchestrator"
41
41
  },
42
42
  "dependencies": {
43
- "@salesforce/lds-bindings": "^1.320.0"
43
+ "@salesforce/lds-bindings": "^1.321.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.320.0",
47
- "@salesforce/lds-karma": "^1.320.0"
46
+ "@salesforce/lds-compiler-plugins": "^1.321.0",
47
+ "@salesforce/lds-karma": "^1.321.0"
48
48
  },
49
49
  "nx": {
50
50
  "targets": {
package/sfdc/index.js CHANGED
@@ -375,12 +375,168 @@ function equals$4(existing, incoming) {
375
375
  return true;
376
376
  }
377
377
 
378
- const VERSION$3 = "9817b563e81370d761a0d7f4b18410e4";
378
+ const VERSION$3 = "6d8faa2a100e935ff20990303f8da309";
379
379
  function validate$3(obj, path = 'FlowOrchestrationStepInstanceRepresentation') {
380
380
  const v_error = (() => {
381
381
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
382
382
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
383
383
  }
384
+ const obj_assignedTo = obj.assignedTo;
385
+ const path_assignedTo = path + '.assignedTo';
386
+ let obj_assignedTo_union0 = null;
387
+ const obj_assignedTo_union0_error = (() => {
388
+ if (typeof obj_assignedTo !== 'string') {
389
+ return new TypeError('Expected "string" but received "' + typeof obj_assignedTo + '" (at "' + path_assignedTo + '")');
390
+ }
391
+ })();
392
+ if (obj_assignedTo_union0_error != null) {
393
+ obj_assignedTo_union0 = obj_assignedTo_union0_error.message;
394
+ }
395
+ let obj_assignedTo_union1 = null;
396
+ const obj_assignedTo_union1_error = (() => {
397
+ if (obj_assignedTo !== null) {
398
+ return new TypeError('Expected "null" but received "' + typeof obj_assignedTo + '" (at "' + path_assignedTo + '")');
399
+ }
400
+ })();
401
+ if (obj_assignedTo_union1_error != null) {
402
+ obj_assignedTo_union1 = obj_assignedTo_union1_error.message;
403
+ }
404
+ if (obj_assignedTo_union0 && obj_assignedTo_union1) {
405
+ let message = 'Object doesn\'t match union (at "' + path_assignedTo + '")';
406
+ message += '\n' + obj_assignedTo_union0.split('\n').map((line) => '\t' + line).join('\n');
407
+ message += '\n' + obj_assignedTo_union1.split('\n').map((line) => '\t' + line).join('\n');
408
+ return new TypeError(message);
409
+ }
410
+ const obj_assigneeType = obj.assigneeType;
411
+ const path_assigneeType = path + '.assigneeType';
412
+ let obj_assigneeType_union0 = null;
413
+ const obj_assigneeType_union0_error = (() => {
414
+ if (typeof obj_assigneeType !== 'string') {
415
+ return new TypeError('Expected "string" but received "' + typeof obj_assigneeType + '" (at "' + path_assigneeType + '")');
416
+ }
417
+ })();
418
+ if (obj_assigneeType_union0_error != null) {
419
+ obj_assigneeType_union0 = obj_assigneeType_union0_error.message;
420
+ }
421
+ let obj_assigneeType_union1 = null;
422
+ const obj_assigneeType_union1_error = (() => {
423
+ if (obj_assigneeType !== null) {
424
+ return new TypeError('Expected "null" but received "' + typeof obj_assigneeType + '" (at "' + path_assigneeType + '")');
425
+ }
426
+ })();
427
+ if (obj_assigneeType_union1_error != null) {
428
+ obj_assigneeType_union1 = obj_assigneeType_union1_error.message;
429
+ }
430
+ if (obj_assigneeType_union0 && obj_assigneeType_union1) {
431
+ let message = 'Object doesn\'t match union (at "' + path_assigneeType + '")';
432
+ message += '\n' + obj_assigneeType_union0.split('\n').map((line) => '\t' + line).join('\n');
433
+ message += '\n' + obj_assigneeType_union1.split('\n').map((line) => '\t' + line).join('\n');
434
+ return new TypeError(message);
435
+ }
436
+ const obj_comments = obj.comments;
437
+ const path_comments = path + '.comments';
438
+ let obj_comments_union0 = null;
439
+ const obj_comments_union0_error = (() => {
440
+ if (typeof obj_comments !== 'string') {
441
+ return new TypeError('Expected "string" but received "' + typeof obj_comments + '" (at "' + path_comments + '")');
442
+ }
443
+ })();
444
+ if (obj_comments_union0_error != null) {
445
+ obj_comments_union0 = obj_comments_union0_error.message;
446
+ }
447
+ let obj_comments_union1 = null;
448
+ const obj_comments_union1_error = (() => {
449
+ if (obj_comments !== null) {
450
+ return new TypeError('Expected "null" but received "' + typeof obj_comments + '" (at "' + path_comments + '")');
451
+ }
452
+ })();
453
+ if (obj_comments_union1_error != null) {
454
+ obj_comments_union1 = obj_comments_union1_error.message;
455
+ }
456
+ if (obj_comments_union0 && obj_comments_union1) {
457
+ let message = 'Object doesn\'t match union (at "' + path_comments + '")';
458
+ message += '\n' + obj_comments_union0.split('\n').map((line) => '\t' + line).join('\n');
459
+ message += '\n' + obj_comments_union1.split('\n').map((line) => '\t' + line).join('\n');
460
+ return new TypeError(message);
461
+ }
462
+ const obj_completedBy = obj.completedBy;
463
+ const path_completedBy = path + '.completedBy';
464
+ let obj_completedBy_union0 = null;
465
+ const obj_completedBy_union0_error = (() => {
466
+ if (typeof obj_completedBy !== 'string') {
467
+ return new TypeError('Expected "string" but received "' + typeof obj_completedBy + '" (at "' + path_completedBy + '")');
468
+ }
469
+ })();
470
+ if (obj_completedBy_union0_error != null) {
471
+ obj_completedBy_union0 = obj_completedBy_union0_error.message;
472
+ }
473
+ let obj_completedBy_union1 = null;
474
+ const obj_completedBy_union1_error = (() => {
475
+ if (obj_completedBy !== null) {
476
+ return new TypeError('Expected "null" but received "' + typeof obj_completedBy + '" (at "' + path_completedBy + '")');
477
+ }
478
+ })();
479
+ if (obj_completedBy_union1_error != null) {
480
+ obj_completedBy_union1 = obj_completedBy_union1_error.message;
481
+ }
482
+ if (obj_completedBy_union0 && obj_completedBy_union1) {
483
+ let message = 'Object doesn\'t match union (at "' + path_completedBy + '")';
484
+ message += '\n' + obj_completedBy_union0.split('\n').map((line) => '\t' + line).join('\n');
485
+ message += '\n' + obj_completedBy_union1.split('\n').map((line) => '\t' + line).join('\n');
486
+ return new TypeError(message);
487
+ }
488
+ const obj_completionTime = obj.completionTime;
489
+ const path_completionTime = path + '.completionTime';
490
+ let obj_completionTime_union0 = null;
491
+ const obj_completionTime_union0_error = (() => {
492
+ if (typeof obj_completionTime !== 'string') {
493
+ return new TypeError('Expected "string" but received "' + typeof obj_completionTime + '" (at "' + path_completionTime + '")');
494
+ }
495
+ })();
496
+ if (obj_completionTime_union0_error != null) {
497
+ obj_completionTime_union0 = obj_completionTime_union0_error.message;
498
+ }
499
+ let obj_completionTime_union1 = null;
500
+ const obj_completionTime_union1_error = (() => {
501
+ if (obj_completionTime !== null) {
502
+ return new TypeError('Expected "null" but received "' + typeof obj_completionTime + '" (at "' + path_completionTime + '")');
503
+ }
504
+ })();
505
+ if (obj_completionTime_union1_error != null) {
506
+ obj_completionTime_union1 = obj_completionTime_union1_error.message;
507
+ }
508
+ if (obj_completionTime_union0 && obj_completionTime_union1) {
509
+ let message = 'Object doesn\'t match union (at "' + path_completionTime + '")';
510
+ message += '\n' + obj_completionTime_union0.split('\n').map((line) => '\t' + line).join('\n');
511
+ message += '\n' + obj_completionTime_union1.split('\n').map((line) => '\t' + line).join('\n');
512
+ return new TypeError(message);
513
+ }
514
+ const obj_description = obj.description;
515
+ const path_description = path + '.description';
516
+ let obj_description_union0 = null;
517
+ const obj_description_union0_error = (() => {
518
+ if (typeof obj_description !== 'string') {
519
+ return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
520
+ }
521
+ })();
522
+ if (obj_description_union0_error != null) {
523
+ obj_description_union0 = obj_description_union0_error.message;
524
+ }
525
+ let obj_description_union1 = null;
526
+ const obj_description_union1_error = (() => {
527
+ if (obj_description !== null) {
528
+ return new TypeError('Expected "null" but received "' + typeof obj_description + '" (at "' + path_description + '")');
529
+ }
530
+ })();
531
+ if (obj_description_union1_error != null) {
532
+ obj_description_union1 = obj_description_union1_error.message;
533
+ }
534
+ if (obj_description_union0 && obj_description_union1) {
535
+ let message = 'Object doesn\'t match union (at "' + path_description + '")';
536
+ message += '\n' + obj_description_union0.split('\n').map((line) => '\t' + line).join('\n');
537
+ message += '\n' + obj_description_union1.split('\n').map((line) => '\t' + line).join('\n');
538
+ return new TypeError(message);
539
+ }
384
540
  const obj_id = obj.id;
385
541
  const path_id = path + '.id';
386
542
  if (typeof obj_id !== 'string') {
@@ -473,6 +629,30 @@ const select$5 = function FlowOrchestrationStepInstanceRepresentationSelect() {
473
629
  version: VERSION$3,
474
630
  private: [],
475
631
  selections: [
632
+ {
633
+ name: 'assignedTo',
634
+ kind: 'Scalar'
635
+ },
636
+ {
637
+ name: 'assigneeType',
638
+ kind: 'Scalar'
639
+ },
640
+ {
641
+ name: 'comments',
642
+ kind: 'Scalar'
643
+ },
644
+ {
645
+ name: 'completedBy',
646
+ kind: 'Scalar'
647
+ },
648
+ {
649
+ name: 'completionTime',
650
+ kind: 'Scalar'
651
+ },
652
+ {
653
+ name: 'description',
654
+ kind: 'Scalar'
655
+ },
476
656
  {
477
657
  name: 'id',
478
658
  kind: 'Scalar'
@@ -518,6 +698,36 @@ function equals$3(existing, incoming) {
518
698
  if (!(existing_stepType === incoming_stepType)) {
519
699
  return false;
520
700
  }
701
+ const existing_assignedTo = existing.assignedTo;
702
+ const incoming_assignedTo = incoming.assignedTo;
703
+ if (!(existing_assignedTo === incoming_assignedTo)) {
704
+ return false;
705
+ }
706
+ const existing_assigneeType = existing.assigneeType;
707
+ const incoming_assigneeType = incoming.assigneeType;
708
+ if (!(existing_assigneeType === incoming_assigneeType)) {
709
+ return false;
710
+ }
711
+ const existing_comments = existing.comments;
712
+ const incoming_comments = incoming.comments;
713
+ if (!(existing_comments === incoming_comments)) {
714
+ return false;
715
+ }
716
+ const existing_completedBy = existing.completedBy;
717
+ const incoming_completedBy = incoming.completedBy;
718
+ if (!(existing_completedBy === incoming_completedBy)) {
719
+ return false;
720
+ }
721
+ const existing_completionTime = existing.completionTime;
722
+ const incoming_completionTime = incoming.completionTime;
723
+ if (!(existing_completionTime === incoming_completionTime)) {
724
+ return false;
725
+ }
726
+ const existing_description = existing.description;
727
+ const incoming_description = incoming.description;
728
+ if (!(existing_description === incoming_description)) {
729
+ return false;
730
+ }
521
731
  const existing_label = existing.label;
522
732
  const incoming_label = incoming.label;
523
733
  if (!(existing_label === incoming_label)) {
@@ -541,12 +751,38 @@ function equals$3(existing, incoming) {
541
751
  return true;
542
752
  }
543
753
 
544
- const VERSION$2 = "4d586ae3293b53e776853c9b4e1ad36b";
754
+ const VERSION$2 = "34c2ae0baf31e5cef069324398009d09";
545
755
  function validate$2(obj, path = 'FlowOrchestrationStageInstanceRepresentation') {
546
756
  const v_error = (() => {
547
757
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
548
758
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
549
759
  }
760
+ const obj_completionTime = obj.completionTime;
761
+ const path_completionTime = path + '.completionTime';
762
+ let obj_completionTime_union0 = null;
763
+ const obj_completionTime_union0_error = (() => {
764
+ if (typeof obj_completionTime !== 'string') {
765
+ return new TypeError('Expected "string" but received "' + typeof obj_completionTime + '" (at "' + path_completionTime + '")');
766
+ }
767
+ })();
768
+ if (obj_completionTime_union0_error != null) {
769
+ obj_completionTime_union0 = obj_completionTime_union0_error.message;
770
+ }
771
+ let obj_completionTime_union1 = null;
772
+ const obj_completionTime_union1_error = (() => {
773
+ if (obj_completionTime !== null) {
774
+ return new TypeError('Expected "null" but received "' + typeof obj_completionTime + '" (at "' + path_completionTime + '")');
775
+ }
776
+ })();
777
+ if (obj_completionTime_union1_error != null) {
778
+ obj_completionTime_union1 = obj_completionTime_union1_error.message;
779
+ }
780
+ if (obj_completionTime_union0 && obj_completionTime_union1) {
781
+ let message = 'Object doesn\'t match union (at "' + path_completionTime + '")';
782
+ message += '\n' + obj_completionTime_union0.split('\n').map((line) => '\t' + line).join('\n');
783
+ message += '\n' + obj_completionTime_union1.split('\n').map((line) => '\t' + line).join('\n');
784
+ return new TypeError(message);
785
+ }
550
786
  const obj_id = obj.id;
551
787
  const path_id = path + '.id';
552
788
  if (typeof obj_id !== 'string') {
@@ -634,6 +870,10 @@ const select$4 = function FlowOrchestrationStageInstanceRepresentationSelect() {
634
870
  version: VERSION$2,
635
871
  private: [],
636
872
  selections: [
873
+ {
874
+ name: 'completionTime',
875
+ kind: 'Scalar'
876
+ },
637
877
  {
638
878
  name: 'id',
639
879
  kind: 'Scalar'
@@ -670,6 +910,11 @@ function equals$2(existing, incoming) {
670
910
  if (!(existing_status === incoming_status)) {
671
911
  return false;
672
912
  }
913
+ const existing_completionTime = existing.completionTime;
914
+ const incoming_completionTime = incoming.completionTime;
915
+ if (!(existing_completionTime === incoming_completionTime)) {
916
+ return false;
917
+ }
673
918
  const existing_label = existing.label;
674
919
  const incoming_label = incoming.label;
675
920
  if (!(existing_label === incoming_label)) {
@@ -1350,4 +1595,4 @@ withDefaultLuvio((luvio) => {
1350
1595
  });
1351
1596
 
1352
1597
  export { getOrchestrationInstance, getOrchestrationInstanceCollection, getOrchestrationInstanceCollection_imperative, getOrchestrationInstance_imperative };
1353
- // version: 1.320.0-e3e5f3d984
1598
+ // version: 1.321.0-40847d67a8
package/src/raml/api.raml CHANGED
@@ -62,13 +62,20 @@ types:
62
62
  description: The Orchestrator Instance status
63
63
  type: string
64
64
  enum:
65
+ - Canceled
65
66
  - Completed
67
+ - Discontinued
68
+ - Error
66
69
  - InProgress
67
70
  - NotStarted
71
+ - Suspended
68
72
  FlowOrchestrationStageInstanceRepresentation:
69
73
  description: Information about an Orchestration stage instance.
70
74
  type: object
71
75
  properties:
76
+ completionTime:
77
+ description: Orchestration stage instance completion time in seconds
78
+ type: string | nil
72
79
  id:
73
80
  description: Orchestration stage instance id
74
81
  type: string
@@ -82,9 +89,13 @@ types:
82
89
  description: The Orchestration Stage Instance status
83
90
  type: string
84
91
  enum:
92
+ - Canceled
85
93
  - Completed
94
+ - Discontinued
95
+ - Error
86
96
  - InProgress
87
97
  - NotStarted
98
+ - Suspended
88
99
  stepInstances:
89
100
  description: Orchestration stage instance steps
90
101
  type: array
@@ -94,6 +105,24 @@ types:
94
105
  description: Information about an Orchestration step instance.
95
106
  type: object
96
107
  properties:
108
+ assignedTo:
109
+ description: Orchestration step assignee
110
+ type: string | nil
111
+ assigneeType:
112
+ description: Orchestration step assignee type
113
+ type: string | nil
114
+ comments:
115
+ description: Orchestration step instance comments
116
+ type: string | nil
117
+ completedBy:
118
+ description: Orchestration step completed by
119
+ type: string | nil
120
+ completionTime:
121
+ description: Orchestration step instance completion time in seconds
122
+ type: string | nil
123
+ description:
124
+ description: Orchestration step instance description
125
+ type: string | nil
97
126
  id:
98
127
  description: Orchestration step instance id
99
128
  type: string
@@ -107,15 +136,26 @@ types:
107
136
  description: The Orchestration Step Instance status
108
137
  type: string
109
138
  enum:
139
+ - Canceled
110
140
  - Completed
141
+ - Discontinued
142
+ - Error
111
143
  - InProgress
112
144
  - NotStarted
145
+ - Suspended
113
146
  stepType:
114
147
  description: The Orchestration Step Instance step type
115
148
  type: string
116
149
  enum:
117
- - Task
118
- - UserActionRequired
150
+ - ApprovalStep
151
+ - AsynchronousBackgroundStep
152
+ - BackgroundStep
153
+ - InteractiveStep
154
+ - ManagedContentRoleInteractiveStep
155
+ - ManagedContentVariantAutoPublishBackgroundStep
156
+ - ManagedContentVariantAutoUnpublishBackgroundStep
157
+ - ManagedContentVariantSetLockBackgroundStep
158
+ - ManagedContentVariantSetReadyBackgroundStep
119
159
  workItems:
120
160
  description: Orchestration step instance work items
121
161
  type: array