@salesforce/lds-adapters-uiapi 1.141.1 → 1.142.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.
@@ -2,10 +2,11 @@ import { ListColumnRepresentation as ListColumnRepresentation_ListColumnRepresen
2
2
  import { ListFilterByInfoRepresentation as ListFilterByInfoRepresentation_ListFilterByInfoRepresentation } from './ListFilterByInfoRepresentation';
3
3
  import { ListReferenceRepresentation as ListReferenceRepresentation_ListReferenceRepresentation } from './ListReferenceRepresentation';
4
4
  import { ListOrderByInfoRepresentation as ListOrderByInfoRepresentation_ListOrderByInfoRepresentation } from './ListOrderByInfoRepresentation';
5
+ import { ListScopeRepresentation as ListScopeRepresentation_ListScopeRepresentation } from './ListScopeRepresentation';
5
6
  import { ListUserPreferenceRepresentation as ListUserPreferenceRepresentation_ListUserPreferenceRepresentation } from './ListUserPreferenceRepresentation';
6
7
  import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
7
8
  export declare const TTL = 900000;
8
- export declare const VERSION = "8f469cbf563d2ed6b2d3a7b2ee422e1f";
9
+ export declare const VERSION = "8b55d621d80c84ec2e331abc4e12fc56";
9
10
  export declare function validate(obj: any, path?: string): TypeError | null;
10
11
  export declare const RepresentationType: string;
11
12
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -54,6 +55,8 @@ export interface ListInfoRepresentationNormalized {
54
55
  objectApiNames?: Array<string>;
55
56
  /** Describes how records are ordered in this list view. */
56
57
  orderedByInfo: Array<ListOrderByInfoRepresentation_ListOrderByInfoRepresentation>;
58
+ /** Scope information for this list view. */
59
+ scope?: ListScopeRepresentation_ListScopeRepresentation | null;
57
60
  /** Indicates whether the listview can be updated. */
58
61
  updateable: boolean;
59
62
  userPreferences: ListUserPreferenceRepresentation_ListUserPreferenceRepresentation;
@@ -82,6 +85,7 @@ export interface ListInfoRepresentation {
82
85
  listReference: ListReferenceRepresentation_ListReferenceRepresentation;
83
86
  objectApiNames?: Array<string>;
84
87
  orderedByInfo: Array<ListOrderByInfoRepresentation_ListOrderByInfoRepresentation>;
88
+ scope?: ListScopeRepresentation_ListScopeRepresentation | null;
85
89
  updateable: boolean;
86
90
  userPreferences: ListUserPreferenceRepresentation_ListUserPreferenceRepresentation;
87
91
  visibility: string;
@@ -0,0 +1,31 @@
1
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
2
+ export declare const VERSION = "2634258f216db34315c06d759a35676d";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: ListScopeEntityRepresentation, existing: ListScopeEntityRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ListScopeEntityRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: ListScopeEntityRepresentationNormalized, incoming: ListScopeEntityRepresentationNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ListScopeEntityRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
10
+ /**
11
+ * ListScopeEntityRepresentation
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface ListScopeEntityRepresentationNormalized {
17
+ /** Id of the scope entity. */
18
+ id: string;
19
+ /** Label for the scope entity. */
20
+ label: string;
21
+ }
22
+ /**
23
+ * ListScopeEntityRepresentation
24
+ *
25
+ * Keys:
26
+ * (none)
27
+ */
28
+ export interface ListScopeEntityRepresentation {
29
+ id: string;
30
+ label: string;
31
+ }
@@ -0,0 +1,34 @@
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
2
+ export declare const VERSION = "3b85c5a08d50ce328481b9f8ab56127b";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: ListScopeRelatedEntityRepresentation, existing: ListScopeRelatedEntityRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ListScopeRelatedEntityRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: ListScopeRelatedEntityRepresentationNormalized, incoming: ListScopeRelatedEntityRepresentationNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ListScopeRelatedEntityRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
10
+ /**
11
+ * ListScopeRelatedEntityRepresentation
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface ListScopeRelatedEntityRepresentationNormalized {
17
+ /** Id of the scope entity. */
18
+ id: string;
19
+ /** Label for the scope entity. */
20
+ label: string;
21
+ /** Type for the scope entity. */
22
+ type: string;
23
+ }
24
+ /**
25
+ * ListScopeRelatedEntityRepresentation
26
+ *
27
+ * Keys:
28
+ * (none)
29
+ */
30
+ export interface ListScopeRelatedEntityRepresentation {
31
+ id: string;
32
+ label: string;
33
+ type: string;
34
+ }
@@ -0,0 +1,39 @@
1
+ import { ListScopeEntityRepresentation as ListScopeEntityRepresentation_ListScopeEntityRepresentation } from './ListScopeEntityRepresentation';
2
+ import { ListScopeRelatedEntityRepresentation as ListScopeRelatedEntityRepresentation_ListScopeRelatedEntityRepresentation } from './ListScopeRelatedEntityRepresentation';
3
+ 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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
4
+ export declare const VERSION = "fce88f94b1244707458c795247592939";
5
+ export declare function validate(obj: any, path?: string): TypeError | null;
6
+ export declare const RepresentationType: string;
7
+ export declare function normalize(input: ListScopeRepresentation, existing: ListScopeRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ListScopeRepresentationNormalized;
8
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
9
+ export declare function equals(existing: ListScopeRepresentationNormalized, incoming: ListScopeRepresentationNormalized): boolean;
10
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
11
+ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ListScopeRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
12
+ /**
13
+ * ListScopeRepresentation
14
+ *
15
+ * Keys:
16
+ * (none)
17
+ */
18
+ export interface ListScopeRepresentationNormalized {
19
+ /** API name for the scope. */
20
+ apiName: string;
21
+ /** Entity for the scope. */
22
+ entity: ListScopeEntityRepresentation_ListScopeEntityRepresentation;
23
+ /** Label for the scope. */
24
+ label: string;
25
+ /** Related entity for the scope. */
26
+ relatedEntity: ListScopeRelatedEntityRepresentation_ListScopeRelatedEntityRepresentation;
27
+ }
28
+ /**
29
+ * ListScopeRepresentation
30
+ *
31
+ * Keys:
32
+ * (none)
33
+ */
34
+ export interface ListScopeRepresentation {
35
+ apiName: string;
36
+ entity: ListScopeEntityRepresentation_ListScopeEntityRepresentation;
37
+ label: string;
38
+ relatedEntity: ListScopeRelatedEntityRepresentation_ListScopeRelatedEntityRepresentation;
39
+ }
@@ -378,8 +378,8 @@ function assignMetadataLink(entry, metadataKey) {
378
378
  entry['__metadata'] = createLink$1(metadataKey);
379
379
  }
380
380
 
381
- const VERSION$2l = "275ae22194003d1e53f548b81219c5cb";
382
- function validate$1E(obj, path = 'ListColumnRepresentation') {
381
+ const VERSION$2o = "275ae22194003d1e53f548b81219c5cb";
382
+ function validate$1H(obj, path = 'ListColumnRepresentation') {
383
383
  const v_error = (() => {
384
384
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
385
385
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -428,10 +428,10 @@ function validate$1E(obj, path = 'ListColumnRepresentation') {
428
428
  })();
429
429
  return v_error === undefined ? null : v_error;
430
430
  }
431
- const select$2R = function ListColumnRepresentationSelect() {
431
+ const select$2U = function ListColumnRepresentationSelect() {
432
432
  return {
433
433
  kind: 'Fragment',
434
- version: VERSION$2l,
434
+ version: VERSION$2o,
435
435
  private: [],
436
436
  selections: [
437
437
  {
@@ -454,8 +454,8 @@ const select$2R = function ListColumnRepresentationSelect() {
454
454
  };
455
455
  };
456
456
 
457
- const VERSION$2k = "623aa9ce3a11031e35faf5671a41746e";
458
- function validate$1D(obj, path = 'ListFilterByInfoRepresentation') {
457
+ const VERSION$2n = "623aa9ce3a11031e35faf5671a41746e";
458
+ function validate$1G(obj, path = 'ListFilterByInfoRepresentation') {
459
459
  const v_error = (() => {
460
460
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
461
461
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -490,10 +490,10 @@ function validate$1D(obj, path = 'ListFilterByInfoRepresentation') {
490
490
  })();
491
491
  return v_error === undefined ? null : v_error;
492
492
  }
493
- const select$2Q = function ListFilterByInfoRepresentationSelect() {
493
+ const select$2T = function ListFilterByInfoRepresentationSelect() {
494
494
  return {
495
495
  kind: 'Fragment',
496
- version: VERSION$2k,
496
+ version: VERSION$2n,
497
497
  private: [],
498
498
  selections: [
499
499
  {
@@ -517,8 +517,8 @@ const select$2Q = function ListFilterByInfoRepresentationSelect() {
517
517
  };
518
518
  };
519
519
 
520
- const VERSION$2j = "76042ff4af603b2ac0ec69fa0bd12046";
521
- function validate$1C(obj, path = 'ListReferenceRepresentation') {
520
+ const VERSION$2m = "76042ff4af603b2ac0ec69fa0bd12046";
521
+ function validate$1F(obj, path = 'ListReferenceRepresentation') {
522
522
  const v_error = (() => {
523
523
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
524
524
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -588,10 +588,10 @@ function validate$1C(obj, path = 'ListReferenceRepresentation') {
588
588
  })();
589
589
  return v_error === undefined ? null : v_error;
590
590
  }
591
- const select$2P = function ListReferenceRepresentationSelect() {
591
+ const select$2S = function ListReferenceRepresentationSelect() {
592
592
  return {
593
593
  kind: 'Fragment',
594
- version: VERSION$2j,
594
+ version: VERSION$2m,
595
595
  private: [],
596
596
  selections: [
597
597
  {
@@ -637,8 +637,8 @@ function equals$$(existing, incoming) {
637
637
  return true;
638
638
  }
639
639
 
640
- const VERSION$2i = "32def9b631252c12b91a8209c1f49f5a";
641
- function validate$1B(obj, path = 'ListOrderByInfoRepresentation') {
640
+ const VERSION$2l = "32def9b631252c12b91a8209c1f49f5a";
641
+ function validate$1E(obj, path = 'ListOrderByInfoRepresentation') {
642
642
  const v_error = (() => {
643
643
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
644
644
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -682,10 +682,10 @@ function validate$1B(obj, path = 'ListOrderByInfoRepresentation') {
682
682
  })();
683
683
  return v_error === undefined ? null : v_error;
684
684
  }
685
- const select$2O = function ListOrderByInfoRepresentationSelect() {
685
+ const select$2R = function ListOrderByInfoRepresentationSelect() {
686
686
  return {
687
687
  kind: 'Fragment',
688
- version: VERSION$2i,
688
+ version: VERSION$2l,
689
689
  private: [],
690
690
  selections: [
691
691
  {
@@ -704,6 +704,154 @@ const select$2O = function ListOrderByInfoRepresentationSelect() {
704
704
  };
705
705
  };
706
706
 
707
+ const VERSION$2k = "2634258f216db34315c06d759a35676d";
708
+ function validate$1D(obj, path = 'ListScopeEntityRepresentation') {
709
+ const v_error = (() => {
710
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
711
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
712
+ }
713
+ const obj_id = obj.id;
714
+ const path_id = path + '.id';
715
+ if (typeof obj_id !== 'string') {
716
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
717
+ }
718
+ const obj_label = obj.label;
719
+ const path_label = path + '.label';
720
+ if (typeof obj_label !== 'string') {
721
+ return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
722
+ }
723
+ })();
724
+ return v_error === undefined ? null : v_error;
725
+ }
726
+ const select$2Q = function ListScopeEntityRepresentationSelect() {
727
+ return {
728
+ kind: 'Fragment',
729
+ version: VERSION$2k,
730
+ private: [],
731
+ selections: [
732
+ {
733
+ name: 'id',
734
+ kind: 'Scalar'
735
+ },
736
+ {
737
+ name: 'label',
738
+ kind: 'Scalar'
739
+ }
740
+ ]
741
+ };
742
+ };
743
+
744
+ const VERSION$2j = "3b85c5a08d50ce328481b9f8ab56127b";
745
+ function validate$1C(obj, path = 'ListScopeRelatedEntityRepresentation') {
746
+ const v_error = (() => {
747
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
748
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
749
+ }
750
+ const obj_id = obj.id;
751
+ const path_id = path + '.id';
752
+ if (typeof obj_id !== 'string') {
753
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
754
+ }
755
+ const obj_label = obj.label;
756
+ const path_label = path + '.label';
757
+ if (typeof obj_label !== 'string') {
758
+ return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
759
+ }
760
+ const obj_type = obj.type;
761
+ const path_type = path + '.type';
762
+ if (typeof obj_type !== 'string') {
763
+ return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
764
+ }
765
+ })();
766
+ return v_error === undefined ? null : v_error;
767
+ }
768
+ const select$2P = function ListScopeRelatedEntityRepresentationSelect() {
769
+ return {
770
+ kind: 'Fragment',
771
+ version: VERSION$2j,
772
+ private: [],
773
+ selections: [
774
+ {
775
+ name: 'id',
776
+ kind: 'Scalar'
777
+ },
778
+ {
779
+ name: 'label',
780
+ kind: 'Scalar'
781
+ },
782
+ {
783
+ name: 'type',
784
+ kind: 'Scalar'
785
+ }
786
+ ]
787
+ };
788
+ };
789
+
790
+ const VERSION$2i = "fce88f94b1244707458c795247592939";
791
+ function validate$1B(obj, path = 'ListScopeRepresentation') {
792
+ const v_error = (() => {
793
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
794
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
795
+ }
796
+ const obj_apiName = obj.apiName;
797
+ const path_apiName = path + '.apiName';
798
+ if (typeof obj_apiName !== 'string') {
799
+ return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
800
+ }
801
+ const obj_entity = obj.entity;
802
+ const path_entity = path + '.entity';
803
+ const referencepath_entityValidationError = validate$1D(obj_entity, path_entity);
804
+ if (referencepath_entityValidationError !== null) {
805
+ let message = 'Object doesn\'t match ListScopeEntityRepresentation (at "' + path_entity + '")\n';
806
+ message += referencepath_entityValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
807
+ return new TypeError(message);
808
+ }
809
+ const obj_label = obj.label;
810
+ const path_label = path + '.label';
811
+ if (typeof obj_label !== 'string') {
812
+ return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
813
+ }
814
+ const obj_relatedEntity = obj.relatedEntity;
815
+ const path_relatedEntity = path + '.relatedEntity';
816
+ const referencepath_relatedEntityValidationError = validate$1C(obj_relatedEntity, path_relatedEntity);
817
+ if (referencepath_relatedEntityValidationError !== null) {
818
+ let message = 'Object doesn\'t match ListScopeRelatedEntityRepresentation (at "' + path_relatedEntity + '")\n';
819
+ message += referencepath_relatedEntityValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
820
+ return new TypeError(message);
821
+ }
822
+ })();
823
+ return v_error === undefined ? null : v_error;
824
+ }
825
+ const select$2O = function ListScopeRepresentationSelect() {
826
+ const { selections: ListScopeEntityRepresentation__selections, opaque: ListScopeEntityRepresentation__opaque, } = select$2Q();
827
+ const { selections: ListScopeRelatedEntityRepresentation__selections, opaque: ListScopeRelatedEntityRepresentation__opaque, } = select$2P();
828
+ return {
829
+ kind: 'Fragment',
830
+ version: VERSION$2i,
831
+ private: [],
832
+ selections: [
833
+ {
834
+ name: 'apiName',
835
+ kind: 'Scalar'
836
+ },
837
+ {
838
+ name: 'entity',
839
+ kind: 'Object',
840
+ selections: ListScopeEntityRepresentation__selections
841
+ },
842
+ {
843
+ name: 'label',
844
+ kind: 'Scalar'
845
+ },
846
+ {
847
+ name: 'relatedEntity',
848
+ kind: 'Object',
849
+ selections: ListScopeRelatedEntityRepresentation__selections
850
+ }
851
+ ]
852
+ };
853
+ };
854
+
707
855
  const VERSION$2h = "6506134f4d72fdfa349fe60ef1af2413";
708
856
  function validate$1A(obj, path = 'ListUserPreferenceRepresentation') {
709
857
  const v_error = (() => {
@@ -762,7 +910,7 @@ const select$2N = function ListUserPreferenceRepresentationSelect() {
762
910
  };
763
911
 
764
912
  const TTL$C = 900000;
765
- const VERSION$2g = "8f469cbf563d2ed6b2d3a7b2ee422e1f";
913
+ const VERSION$2g = "8b55d621d80c84ec2e331abc4e12fc56";
766
914
  function validate$1z(obj, path = 'ListInfoRepresentation') {
767
915
  const v_error = (() => {
768
916
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -791,7 +939,7 @@ function validate$1z(obj, path = 'ListInfoRepresentation') {
791
939
  for (let i = 0; i < obj_displayColumns.length; i++) {
792
940
  const obj_displayColumns_item = obj_displayColumns[i];
793
941
  const path_displayColumns_item = path_displayColumns + '[' + i + ']';
794
- const referencepath_displayColumns_itemValidationError = validate$1E(obj_displayColumns_item, path_displayColumns_item);
942
+ const referencepath_displayColumns_itemValidationError = validate$1H(obj_displayColumns_item, path_displayColumns_item);
795
943
  if (referencepath_displayColumns_itemValidationError !== null) {
796
944
  let message = 'Object doesn\'t match ListColumnRepresentation (at "' + path_displayColumns_item + '")\n';
797
945
  message += referencepath_displayColumns_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -837,7 +985,7 @@ function validate$1z(obj, path = 'ListInfoRepresentation') {
837
985
  for (let i = 0; i < obj_filteredByInfo.length; i++) {
838
986
  const obj_filteredByInfo_item = obj_filteredByInfo[i];
839
987
  const path_filteredByInfo_item = path_filteredByInfo + '[' + i + ']';
840
- const referencepath_filteredByInfo_itemValidationError = validate$1D(obj_filteredByInfo_item, path_filteredByInfo_item);
988
+ const referencepath_filteredByInfo_itemValidationError = validate$1G(obj_filteredByInfo_item, path_filteredByInfo_item);
841
989
  if (referencepath_filteredByInfo_itemValidationError !== null) {
842
990
  let message = 'Object doesn\'t match ListFilterByInfoRepresentation (at "' + path_filteredByInfo_item + '")\n';
843
991
  message += referencepath_filteredByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -872,7 +1020,7 @@ function validate$1z(obj, path = 'ListInfoRepresentation') {
872
1020
  }
873
1021
  const obj_listReference = obj.listReference;
874
1022
  const path_listReference = path + '.listReference';
875
- const referencepath_listReferenceValidationError = validate$1C(obj_listReference, path_listReference);
1023
+ const referencepath_listReferenceValidationError = validate$1F(obj_listReference, path_listReference);
876
1024
  if (referencepath_listReferenceValidationError !== null) {
877
1025
  let message = 'Object doesn\'t match ListReferenceRepresentation (at "' + path_listReference + '")\n';
878
1026
  message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -900,13 +1048,44 @@ function validate$1z(obj, path = 'ListInfoRepresentation') {
900
1048
  for (let i = 0; i < obj_orderedByInfo.length; i++) {
901
1049
  const obj_orderedByInfo_item = obj_orderedByInfo[i];
902
1050
  const path_orderedByInfo_item = path_orderedByInfo + '[' + i + ']';
903
- const referencepath_orderedByInfo_itemValidationError = validate$1B(obj_orderedByInfo_item, path_orderedByInfo_item);
1051
+ const referencepath_orderedByInfo_itemValidationError = validate$1E(obj_orderedByInfo_item, path_orderedByInfo_item);
904
1052
  if (referencepath_orderedByInfo_itemValidationError !== null) {
905
1053
  let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedByInfo_item + '")\n';
906
1054
  message += referencepath_orderedByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
907
1055
  return new TypeError(message);
908
1056
  }
909
1057
  }
1058
+ if (obj.scope !== undefined) {
1059
+ const obj_scope = obj.scope;
1060
+ const path_scope = path + '.scope';
1061
+ let obj_scope_union0 = null;
1062
+ const obj_scope_union0_error = (() => {
1063
+ const referencepath_scopeValidationError = validate$1B(obj_scope, path_scope);
1064
+ if (referencepath_scopeValidationError !== null) {
1065
+ let message = 'Object doesn\'t match ListScopeRepresentation (at "' + path_scope + '")\n';
1066
+ message += referencepath_scopeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1067
+ return new TypeError(message);
1068
+ }
1069
+ })();
1070
+ if (obj_scope_union0_error != null) {
1071
+ obj_scope_union0 = obj_scope_union0_error.message;
1072
+ }
1073
+ let obj_scope_union1 = null;
1074
+ const obj_scope_union1_error = (() => {
1075
+ if (obj_scope !== null) {
1076
+ return new TypeError('Expected "null" but received "' + typeof obj_scope + '" (at "' + path_scope + '")');
1077
+ }
1078
+ })();
1079
+ if (obj_scope_union1_error != null) {
1080
+ obj_scope_union1 = obj_scope_union1_error.message;
1081
+ }
1082
+ if (obj_scope_union0 && obj_scope_union1) {
1083
+ let message = 'Object doesn\'t match union (at "' + path_scope + '")';
1084
+ message += '\n' + obj_scope_union0.split('\n').map((line) => '\t' + line).join('\n');
1085
+ message += '\n' + obj_scope_union1.split('\n').map((line) => '\t' + line).join('\n');
1086
+ return new TypeError(message);
1087
+ }
1088
+ }
910
1089
  const obj_updateable = obj.updateable;
911
1090
  const path_updateable = path + '.updateable';
912
1091
  if (typeof obj_updateable !== 'boolean') {
@@ -949,10 +1128,11 @@ function normalize$N(input, existing, path, luvio, store, timestamp) {
949
1128
  return input;
950
1129
  }
951
1130
  const select$2M = function ListInfoRepresentationSelect() {
952
- const { selections: ListColumnRepresentation__selections, opaque: ListColumnRepresentation__opaque, } = select$2R();
953
- const { selections: ListFilterByInfoRepresentation__selections, opaque: ListFilterByInfoRepresentation__opaque, } = select$2Q();
954
- const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$2P();
955
- const { selections: ListOrderByInfoRepresentation__selections, opaque: ListOrderByInfoRepresentation__opaque, } = select$2O();
1131
+ const { selections: ListColumnRepresentation__selections, opaque: ListColumnRepresentation__opaque, } = select$2U();
1132
+ const { selections: ListFilterByInfoRepresentation__selections, opaque: ListFilterByInfoRepresentation__opaque, } = select$2T();
1133
+ const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$2S();
1134
+ const { selections: ListOrderByInfoRepresentation__selections, opaque: ListOrderByInfoRepresentation__opaque, } = select$2R();
1135
+ const { selections: ListScopeRepresentation__selections, opaque: ListScopeRepresentation__opaque, } = select$2O();
956
1136
  const { selections: ListUserPreferenceRepresentation__selections, opaque: ListUserPreferenceRepresentation__opaque, } = select$2N();
957
1137
  return {
958
1138
  kind: 'Fragment',
@@ -1010,6 +1190,13 @@ const select$2M = function ListInfoRepresentationSelect() {
1010
1190
  plural: true,
1011
1191
  selections: ListOrderByInfoRepresentation__selections
1012
1192
  },
1193
+ {
1194
+ name: 'scope',
1195
+ kind: 'Object',
1196
+ nullable: true,
1197
+ selections: ListScopeRepresentation__selections,
1198
+ required: false
1199
+ },
1013
1200
  {
1014
1201
  name: 'updateable',
1015
1202
  kind: 'Scalar'
@@ -5919,7 +6106,7 @@ function validate$1u(obj, path = 'ListRecordCollectionRepresentation') {
5919
6106
  }
5920
6107
  const obj_listReference = obj.listReference;
5921
6108
  const path_listReference = path + '.listReference';
5922
- const referencepath_listReferenceValidationError = validate$1C(obj_listReference, path_listReference);
6109
+ const referencepath_listReferenceValidationError = validate$1F(obj_listReference, path_listReference);
5923
6110
  if (referencepath_listReferenceValidationError !== null) {
5924
6111
  let message = 'Object doesn\'t match ListReferenceRepresentation (at "' + path_listReference + '")\n';
5925
6112
  message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6130,7 +6317,7 @@ function normalize$J(input, existing, path, luvio, store, timestamp) {
6130
6317
  return input;
6131
6318
  }
6132
6319
  const select$2H = function ListRecordCollectionRepresentationSelect(paginationParams) {
6133
- const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$2P();
6320
+ const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$2S();
6134
6321
  return {
6135
6322
  kind: 'Fragment',
6136
6323
  reader: true,
@@ -6244,7 +6431,7 @@ const dynamicSelect$7 = function dynamicListRecordCollectionRepresentationSelect
6244
6431
  kind: 'Link',
6245
6432
  fragment: select$2I()
6246
6433
  } : params.records;
6247
- const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$2P();
6434
+ const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$2S();
6248
6435
  return {
6249
6436
  kind: 'Fragment',
6250
6437
  reader: true,
@@ -25108,7 +25295,7 @@ function validate$A(obj, path = 'RelatedListInfoRepresentation') {
25108
25295
  for (let i = 0; i < obj_filteredByInfo.length; i++) {
25109
25296
  const obj_filteredByInfo_item = obj_filteredByInfo[i];
25110
25297
  const path_filteredByInfo_item = path_filteredByInfo + '[' + i + ']';
25111
- const referencepath_filteredByInfo_itemValidationError = validate$1D(obj_filteredByInfo_item, path_filteredByInfo_item);
25298
+ const referencepath_filteredByInfo_itemValidationError = validate$1G(obj_filteredByInfo_item, path_filteredByInfo_item);
25112
25299
  if (referencepath_filteredByInfo_itemValidationError !== null) {
25113
25300
  let message = 'Object doesn\'t match ListFilterByInfoRepresentation (at "' + path_filteredByInfo_item + '")\n';
25114
25301
  message += referencepath_filteredByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -25160,7 +25347,7 @@ function validate$A(obj, path = 'RelatedListInfoRepresentation') {
25160
25347
  for (let i = 0; i < obj_orderedByInfo.length; i++) {
25161
25348
  const obj_orderedByInfo_item = obj_orderedByInfo[i];
25162
25349
  const path_orderedByInfo_item = path_orderedByInfo + '[' + i + ']';
25163
- const referencepath_orderedByInfo_itemValidationError = validate$1B(obj_orderedByInfo_item, path_orderedByInfo_item);
25350
+ const referencepath_orderedByInfo_itemValidationError = validate$1E(obj_orderedByInfo_item, path_orderedByInfo_item);
25164
25351
  if (referencepath_orderedByInfo_itemValidationError !== null) {
25165
25352
  let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedByInfo_item + '")\n';
25166
25353
  message += referencepath_orderedByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -26714,7 +26901,7 @@ function validate$v(obj, path = 'RelatedListUserPreferencesRepresentation') {
26714
26901
  for (let i = 0; i < obj_orderedBy.length; i++) {
26715
26902
  const obj_orderedBy_item = obj_orderedBy[i];
26716
26903
  const path_orderedBy_item = path_orderedBy + '[' + i + ']';
26717
- const referencepath_orderedBy_itemValidationError = validate$1B(obj_orderedBy_item, path_orderedBy_item);
26904
+ const referencepath_orderedBy_itemValidationError = validate$1E(obj_orderedBy_item, path_orderedBy_item);
26718
26905
  if (referencepath_orderedBy_itemValidationError !== null) {
26719
26906
  let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedBy_item + '")\n';
26720
26907
  message += referencepath_orderedBy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -30459,7 +30646,7 @@ function validate$h(obj, path = 'SearchResultCollectionRepresentation') {
30459
30646
  for (let i = 0; i < obj_orderBy.length; i++) {
30460
30647
  const obj_orderBy_item = obj_orderBy[i];
30461
30648
  const path_orderBy_item = path_orderBy + '[' + i + ']';
30462
- const referencepath_orderBy_itemValidationError = validate$1B(obj_orderBy_item, path_orderBy_item);
30649
+ const referencepath_orderBy_itemValidationError = validate$1E(obj_orderBy_item, path_orderBy_item);
30463
30650
  if (referencepath_orderBy_itemValidationError !== null) {
30464
30651
  let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderBy_item + '")\n';
30465
30652
  message += referencepath_orderBy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-uiapi",
3
- "version": "1.141.1",
3
+ "version": "1.142.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "Wire adapters for record related UI API endpoints",
6
6
  "main": "dist/es/es2018/uiapi-records-service.js",
@@ -20811,4 +20811,4 @@ register({
20811
20811
  });
20812
20812
 
20813
20813
  export { configurationForGraphQLAdapters as configuration, graphql, factory$1 as graphqlAdapterFactory, graphqlBatch, graphqlBatch_imperative, graphql_imperative };
20814
- // version: 1.141.1-8f6d93cad
20814
+ // version: 1.142.0-9f43a65a3
package/sfdc/index.js CHANGED
@@ -426,8 +426,8 @@ function assignMetadataLink(entry, metadataKey) {
426
426
  entry['__metadata'] = createLink(metadataKey);
427
427
  }
428
428
 
429
- const VERSION$1d = "275ae22194003d1e53f548b81219c5cb";
430
- function validate$1A(obj, path = 'ListColumnRepresentation') {
429
+ const VERSION$1g = "275ae22194003d1e53f548b81219c5cb";
430
+ function validate$1D(obj, path = 'ListColumnRepresentation') {
431
431
  const v_error = (() => {
432
432
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
433
433
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -476,10 +476,10 @@ function validate$1A(obj, path = 'ListColumnRepresentation') {
476
476
  })();
477
477
  return v_error === undefined ? null : v_error;
478
478
  }
479
- const select$1H = function ListColumnRepresentationSelect() {
479
+ const select$1K = function ListColumnRepresentationSelect() {
480
480
  return {
481
481
  kind: 'Fragment',
482
- version: VERSION$1d,
482
+ version: VERSION$1g,
483
483
  private: [],
484
484
  selections: [
485
485
  {
@@ -502,8 +502,8 @@ const select$1H = function ListColumnRepresentationSelect() {
502
502
  };
503
503
  };
504
504
 
505
- const VERSION$1c = "623aa9ce3a11031e35faf5671a41746e";
506
- function validate$1z(obj, path = 'ListFilterByInfoRepresentation') {
505
+ const VERSION$1f = "623aa9ce3a11031e35faf5671a41746e";
506
+ function validate$1C(obj, path = 'ListFilterByInfoRepresentation') {
507
507
  const v_error = (() => {
508
508
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
509
509
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -538,10 +538,10 @@ function validate$1z(obj, path = 'ListFilterByInfoRepresentation') {
538
538
  })();
539
539
  return v_error === undefined ? null : v_error;
540
540
  }
541
- const select$1G = function ListFilterByInfoRepresentationSelect() {
541
+ const select$1J = function ListFilterByInfoRepresentationSelect() {
542
542
  return {
543
543
  kind: 'Fragment',
544
- version: VERSION$1c,
544
+ version: VERSION$1f,
545
545
  private: [],
546
546
  selections: [
547
547
  {
@@ -565,8 +565,8 @@ const select$1G = function ListFilterByInfoRepresentationSelect() {
565
565
  };
566
566
  };
567
567
 
568
- const VERSION$1b = "76042ff4af603b2ac0ec69fa0bd12046";
569
- function validate$1y(obj, path = 'ListReferenceRepresentation') {
568
+ const VERSION$1e = "76042ff4af603b2ac0ec69fa0bd12046";
569
+ function validate$1B(obj, path = 'ListReferenceRepresentation') {
570
570
  const v_error = (() => {
571
571
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
572
572
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -636,10 +636,10 @@ function validate$1y(obj, path = 'ListReferenceRepresentation') {
636
636
  })();
637
637
  return v_error === undefined ? null : v_error;
638
638
  }
639
- const select$1F = function ListReferenceRepresentationSelect() {
639
+ const select$1I = function ListReferenceRepresentationSelect() {
640
640
  return {
641
641
  kind: 'Fragment',
642
- version: VERSION$1b,
642
+ version: VERSION$1e,
643
643
  private: [],
644
644
  selections: [
645
645
  {
@@ -685,8 +685,8 @@ function equals$X(existing, incoming) {
685
685
  return true;
686
686
  }
687
687
 
688
- const VERSION$1a = "32def9b631252c12b91a8209c1f49f5a";
689
- function validate$1x(obj, path = 'ListOrderByInfoRepresentation') {
688
+ const VERSION$1d = "32def9b631252c12b91a8209c1f49f5a";
689
+ function validate$1A(obj, path = 'ListOrderByInfoRepresentation') {
690
690
  const v_error = (() => {
691
691
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
692
692
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -730,10 +730,10 @@ function validate$1x(obj, path = 'ListOrderByInfoRepresentation') {
730
730
  })();
731
731
  return v_error === undefined ? null : v_error;
732
732
  }
733
- const select$1E = function ListOrderByInfoRepresentationSelect() {
733
+ const select$1H = function ListOrderByInfoRepresentationSelect() {
734
734
  return {
735
735
  kind: 'Fragment',
736
- version: VERSION$1a,
736
+ version: VERSION$1d,
737
737
  private: [],
738
738
  selections: [
739
739
  {
@@ -752,6 +752,154 @@ const select$1E = function ListOrderByInfoRepresentationSelect() {
752
752
  };
753
753
  };
754
754
 
755
+ const VERSION$1c = "2634258f216db34315c06d759a35676d";
756
+ function validate$1z(obj, path = 'ListScopeEntityRepresentation') {
757
+ const v_error = (() => {
758
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
759
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
760
+ }
761
+ const obj_id = obj.id;
762
+ const path_id = path + '.id';
763
+ if (typeof obj_id !== 'string') {
764
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
765
+ }
766
+ const obj_label = obj.label;
767
+ const path_label = path + '.label';
768
+ if (typeof obj_label !== 'string') {
769
+ return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
770
+ }
771
+ })();
772
+ return v_error === undefined ? null : v_error;
773
+ }
774
+ const select$1G = function ListScopeEntityRepresentationSelect() {
775
+ return {
776
+ kind: 'Fragment',
777
+ version: VERSION$1c,
778
+ private: [],
779
+ selections: [
780
+ {
781
+ name: 'id',
782
+ kind: 'Scalar'
783
+ },
784
+ {
785
+ name: 'label',
786
+ kind: 'Scalar'
787
+ }
788
+ ]
789
+ };
790
+ };
791
+
792
+ const VERSION$1b = "3b85c5a08d50ce328481b9f8ab56127b";
793
+ function validate$1y(obj, path = 'ListScopeRelatedEntityRepresentation') {
794
+ const v_error = (() => {
795
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
796
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
797
+ }
798
+ const obj_id = obj.id;
799
+ const path_id = path + '.id';
800
+ if (typeof obj_id !== 'string') {
801
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
802
+ }
803
+ const obj_label = obj.label;
804
+ const path_label = path + '.label';
805
+ if (typeof obj_label !== 'string') {
806
+ return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
807
+ }
808
+ const obj_type = obj.type;
809
+ const path_type = path + '.type';
810
+ if (typeof obj_type !== 'string') {
811
+ return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
812
+ }
813
+ })();
814
+ return v_error === undefined ? null : v_error;
815
+ }
816
+ const select$1F = function ListScopeRelatedEntityRepresentationSelect() {
817
+ return {
818
+ kind: 'Fragment',
819
+ version: VERSION$1b,
820
+ private: [],
821
+ selections: [
822
+ {
823
+ name: 'id',
824
+ kind: 'Scalar'
825
+ },
826
+ {
827
+ name: 'label',
828
+ kind: 'Scalar'
829
+ },
830
+ {
831
+ name: 'type',
832
+ kind: 'Scalar'
833
+ }
834
+ ]
835
+ };
836
+ };
837
+
838
+ const VERSION$1a = "fce88f94b1244707458c795247592939";
839
+ function validate$1x(obj, path = 'ListScopeRepresentation') {
840
+ const v_error = (() => {
841
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
842
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
843
+ }
844
+ const obj_apiName = obj.apiName;
845
+ const path_apiName = path + '.apiName';
846
+ if (typeof obj_apiName !== 'string') {
847
+ return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
848
+ }
849
+ const obj_entity = obj.entity;
850
+ const path_entity = path + '.entity';
851
+ const referencepath_entityValidationError = validate$1z(obj_entity, path_entity);
852
+ if (referencepath_entityValidationError !== null) {
853
+ let message = 'Object doesn\'t match ListScopeEntityRepresentation (at "' + path_entity + '")\n';
854
+ message += referencepath_entityValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
855
+ return new TypeError(message);
856
+ }
857
+ const obj_label = obj.label;
858
+ const path_label = path + '.label';
859
+ if (typeof obj_label !== 'string') {
860
+ return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
861
+ }
862
+ const obj_relatedEntity = obj.relatedEntity;
863
+ const path_relatedEntity = path + '.relatedEntity';
864
+ const referencepath_relatedEntityValidationError = validate$1y(obj_relatedEntity, path_relatedEntity);
865
+ if (referencepath_relatedEntityValidationError !== null) {
866
+ let message = 'Object doesn\'t match ListScopeRelatedEntityRepresentation (at "' + path_relatedEntity + '")\n';
867
+ message += referencepath_relatedEntityValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
868
+ return new TypeError(message);
869
+ }
870
+ })();
871
+ return v_error === undefined ? null : v_error;
872
+ }
873
+ const select$1E = function ListScopeRepresentationSelect() {
874
+ const { selections: ListScopeEntityRepresentation__selections, opaque: ListScopeEntityRepresentation__opaque, } = select$1G();
875
+ const { selections: ListScopeRelatedEntityRepresentation__selections, opaque: ListScopeRelatedEntityRepresentation__opaque, } = select$1F();
876
+ return {
877
+ kind: 'Fragment',
878
+ version: VERSION$1a,
879
+ private: [],
880
+ selections: [
881
+ {
882
+ name: 'apiName',
883
+ kind: 'Scalar'
884
+ },
885
+ {
886
+ name: 'entity',
887
+ kind: 'Object',
888
+ selections: ListScopeEntityRepresentation__selections
889
+ },
890
+ {
891
+ name: 'label',
892
+ kind: 'Scalar'
893
+ },
894
+ {
895
+ name: 'relatedEntity',
896
+ kind: 'Object',
897
+ selections: ListScopeRelatedEntityRepresentation__selections
898
+ }
899
+ ]
900
+ };
901
+ };
902
+
755
903
  const VERSION$19 = "6506134f4d72fdfa349fe60ef1af2413";
756
904
  function validate$1w(obj, path = 'ListUserPreferenceRepresentation') {
757
905
  const v_error = (() => {
@@ -810,7 +958,7 @@ const select$1D = function ListUserPreferenceRepresentationSelect() {
810
958
  };
811
959
 
812
960
  const TTL$x = 900000;
813
- const VERSION$18 = "8f469cbf563d2ed6b2d3a7b2ee422e1f";
961
+ const VERSION$18 = "8b55d621d80c84ec2e331abc4e12fc56";
814
962
  function validate$1v(obj, path = 'ListInfoRepresentation') {
815
963
  const v_error = (() => {
816
964
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -839,7 +987,7 @@ function validate$1v(obj, path = 'ListInfoRepresentation') {
839
987
  for (let i = 0; i < obj_displayColumns.length; i++) {
840
988
  const obj_displayColumns_item = obj_displayColumns[i];
841
989
  const path_displayColumns_item = path_displayColumns + '[' + i + ']';
842
- const referencepath_displayColumns_itemValidationError = validate$1A(obj_displayColumns_item, path_displayColumns_item);
990
+ const referencepath_displayColumns_itemValidationError = validate$1D(obj_displayColumns_item, path_displayColumns_item);
843
991
  if (referencepath_displayColumns_itemValidationError !== null) {
844
992
  let message = 'Object doesn\'t match ListColumnRepresentation (at "' + path_displayColumns_item + '")\n';
845
993
  message += referencepath_displayColumns_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -885,7 +1033,7 @@ function validate$1v(obj, path = 'ListInfoRepresentation') {
885
1033
  for (let i = 0; i < obj_filteredByInfo.length; i++) {
886
1034
  const obj_filteredByInfo_item = obj_filteredByInfo[i];
887
1035
  const path_filteredByInfo_item = path_filteredByInfo + '[' + i + ']';
888
- const referencepath_filteredByInfo_itemValidationError = validate$1z(obj_filteredByInfo_item, path_filteredByInfo_item);
1036
+ const referencepath_filteredByInfo_itemValidationError = validate$1C(obj_filteredByInfo_item, path_filteredByInfo_item);
889
1037
  if (referencepath_filteredByInfo_itemValidationError !== null) {
890
1038
  let message = 'Object doesn\'t match ListFilterByInfoRepresentation (at "' + path_filteredByInfo_item + '")\n';
891
1039
  message += referencepath_filteredByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -920,7 +1068,7 @@ function validate$1v(obj, path = 'ListInfoRepresentation') {
920
1068
  }
921
1069
  const obj_listReference = obj.listReference;
922
1070
  const path_listReference = path + '.listReference';
923
- const referencepath_listReferenceValidationError = validate$1y(obj_listReference, path_listReference);
1071
+ const referencepath_listReferenceValidationError = validate$1B(obj_listReference, path_listReference);
924
1072
  if (referencepath_listReferenceValidationError !== null) {
925
1073
  let message = 'Object doesn\'t match ListReferenceRepresentation (at "' + path_listReference + '")\n';
926
1074
  message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -948,13 +1096,44 @@ function validate$1v(obj, path = 'ListInfoRepresentation') {
948
1096
  for (let i = 0; i < obj_orderedByInfo.length; i++) {
949
1097
  const obj_orderedByInfo_item = obj_orderedByInfo[i];
950
1098
  const path_orderedByInfo_item = path_orderedByInfo + '[' + i + ']';
951
- const referencepath_orderedByInfo_itemValidationError = validate$1x(obj_orderedByInfo_item, path_orderedByInfo_item);
1099
+ const referencepath_orderedByInfo_itemValidationError = validate$1A(obj_orderedByInfo_item, path_orderedByInfo_item);
952
1100
  if (referencepath_orderedByInfo_itemValidationError !== null) {
953
1101
  let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedByInfo_item + '")\n';
954
1102
  message += referencepath_orderedByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
955
1103
  return new TypeError(message);
956
1104
  }
957
1105
  }
1106
+ if (obj.scope !== undefined) {
1107
+ const obj_scope = obj.scope;
1108
+ const path_scope = path + '.scope';
1109
+ let obj_scope_union0 = null;
1110
+ const obj_scope_union0_error = (() => {
1111
+ const referencepath_scopeValidationError = validate$1x(obj_scope, path_scope);
1112
+ if (referencepath_scopeValidationError !== null) {
1113
+ let message = 'Object doesn\'t match ListScopeRepresentation (at "' + path_scope + '")\n';
1114
+ message += referencepath_scopeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1115
+ return new TypeError(message);
1116
+ }
1117
+ })();
1118
+ if (obj_scope_union0_error != null) {
1119
+ obj_scope_union0 = obj_scope_union0_error.message;
1120
+ }
1121
+ let obj_scope_union1 = null;
1122
+ const obj_scope_union1_error = (() => {
1123
+ if (obj_scope !== null) {
1124
+ return new TypeError('Expected "null" but received "' + typeof obj_scope + '" (at "' + path_scope + '")');
1125
+ }
1126
+ })();
1127
+ if (obj_scope_union1_error != null) {
1128
+ obj_scope_union1 = obj_scope_union1_error.message;
1129
+ }
1130
+ if (obj_scope_union0 && obj_scope_union1) {
1131
+ let message = 'Object doesn\'t match union (at "' + path_scope + '")';
1132
+ message += '\n' + obj_scope_union0.split('\n').map((line) => '\t' + line).join('\n');
1133
+ message += '\n' + obj_scope_union1.split('\n').map((line) => '\t' + line).join('\n');
1134
+ return new TypeError(message);
1135
+ }
1136
+ }
958
1137
  const obj_updateable = obj.updateable;
959
1138
  const path_updateable = path + '.updateable';
960
1139
  if (typeof obj_updateable !== 'boolean') {
@@ -997,10 +1176,11 @@ function normalize$J(input, existing, path, luvio, store, timestamp) {
997
1176
  return input;
998
1177
  }
999
1178
  const select$1C = function ListInfoRepresentationSelect() {
1000
- const { selections: ListColumnRepresentation__selections, opaque: ListColumnRepresentation__opaque, } = select$1H();
1001
- const { selections: ListFilterByInfoRepresentation__selections, opaque: ListFilterByInfoRepresentation__opaque, } = select$1G();
1002
- const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$1F();
1003
- const { selections: ListOrderByInfoRepresentation__selections, opaque: ListOrderByInfoRepresentation__opaque, } = select$1E();
1179
+ const { selections: ListColumnRepresentation__selections, opaque: ListColumnRepresentation__opaque, } = select$1K();
1180
+ const { selections: ListFilterByInfoRepresentation__selections, opaque: ListFilterByInfoRepresentation__opaque, } = select$1J();
1181
+ const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$1I();
1182
+ const { selections: ListOrderByInfoRepresentation__selections, opaque: ListOrderByInfoRepresentation__opaque, } = select$1H();
1183
+ const { selections: ListScopeRepresentation__selections, opaque: ListScopeRepresentation__opaque, } = select$1E();
1004
1184
  const { selections: ListUserPreferenceRepresentation__selections, opaque: ListUserPreferenceRepresentation__opaque, } = select$1D();
1005
1185
  return {
1006
1186
  kind: 'Fragment',
@@ -1058,6 +1238,13 @@ const select$1C = function ListInfoRepresentationSelect() {
1058
1238
  plural: true,
1059
1239
  selections: ListOrderByInfoRepresentation__selections
1060
1240
  },
1241
+ {
1242
+ name: 'scope',
1243
+ kind: 'Object',
1244
+ nullable: true,
1245
+ selections: ListScopeRepresentation__selections,
1246
+ required: false
1247
+ },
1061
1248
  {
1062
1249
  name: 'updateable',
1063
1250
  kind: 'Scalar'
@@ -5671,7 +5858,7 @@ function validate$1q(obj, path = 'ListRecordCollectionRepresentation') {
5671
5858
  }
5672
5859
  const obj_listReference = obj.listReference;
5673
5860
  const path_listReference = path + '.listReference';
5674
- const referencepath_listReferenceValidationError = validate$1y(obj_listReference, path_listReference);
5861
+ const referencepath_listReferenceValidationError = validate$1B(obj_listReference, path_listReference);
5675
5862
  if (referencepath_listReferenceValidationError !== null) {
5676
5863
  let message = 'Object doesn\'t match ListReferenceRepresentation (at "' + path_listReference + '")\n';
5677
5864
  message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5882,7 +6069,7 @@ function normalize$F(input, existing, path, luvio, store, timestamp) {
5882
6069
  return input;
5883
6070
  }
5884
6071
  const select$1x = function ListRecordCollectionRepresentationSelect(paginationParams) {
5885
- const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$1F();
6072
+ const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$1I();
5886
6073
  return {
5887
6074
  kind: 'Fragment',
5888
6075
  reader: true,
@@ -5996,7 +6183,7 @@ const dynamicSelect$7 = function dynamicListRecordCollectionRepresentationSelect
5996
6183
  kind: 'Link',
5997
6184
  fragment: select$1y()
5998
6185
  } : params.records;
5999
- const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$1F();
6186
+ const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$1I();
6000
6187
  return {
6001
6188
  kind: 'Fragment',
6002
6189
  reader: true,
@@ -24485,7 +24672,7 @@ function validate$w(obj, path = 'RelatedListInfoRepresentation') {
24485
24672
  for (let i = 0; i < obj_filteredByInfo.length; i++) {
24486
24673
  const obj_filteredByInfo_item = obj_filteredByInfo[i];
24487
24674
  const path_filteredByInfo_item = path_filteredByInfo + '[' + i + ']';
24488
- const referencepath_filteredByInfo_itemValidationError = validate$1z(obj_filteredByInfo_item, path_filteredByInfo_item);
24675
+ const referencepath_filteredByInfo_itemValidationError = validate$1C(obj_filteredByInfo_item, path_filteredByInfo_item);
24489
24676
  if (referencepath_filteredByInfo_itemValidationError !== null) {
24490
24677
  let message = 'Object doesn\'t match ListFilterByInfoRepresentation (at "' + path_filteredByInfo_item + '")\n';
24491
24678
  message += referencepath_filteredByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -24537,7 +24724,7 @@ function validate$w(obj, path = 'RelatedListInfoRepresentation') {
24537
24724
  for (let i = 0; i < obj_orderedByInfo.length; i++) {
24538
24725
  const obj_orderedByInfo_item = obj_orderedByInfo[i];
24539
24726
  const path_orderedByInfo_item = path_orderedByInfo + '[' + i + ']';
24540
- const referencepath_orderedByInfo_itemValidationError = validate$1x(obj_orderedByInfo_item, path_orderedByInfo_item);
24727
+ const referencepath_orderedByInfo_itemValidationError = validate$1A(obj_orderedByInfo_item, path_orderedByInfo_item);
24541
24728
  if (referencepath_orderedByInfo_itemValidationError !== null) {
24542
24729
  let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedByInfo_item + '")\n';
24543
24730
  message += referencepath_orderedByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -26094,7 +26281,7 @@ function validate$r(obj, path = 'RelatedListUserPreferencesRepresentation') {
26094
26281
  for (let i = 0; i < obj_orderedBy.length; i++) {
26095
26282
  const obj_orderedBy_item = obj_orderedBy[i];
26096
26283
  const path_orderedBy_item = path_orderedBy + '[' + i + ']';
26097
- const referencepath_orderedBy_itemValidationError = validate$1x(obj_orderedBy_item, path_orderedBy_item);
26284
+ const referencepath_orderedBy_itemValidationError = validate$1A(obj_orderedBy_item, path_orderedBy_item);
26098
26285
  if (referencepath_orderedBy_itemValidationError !== null) {
26099
26286
  let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedBy_item + '")\n';
26100
26287
  message += referencepath_orderedBy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -29846,7 +30033,7 @@ function validate$d(obj, path = 'SearchResultCollectionRepresentation') {
29846
30033
  for (let i = 0; i < obj_orderBy.length; i++) {
29847
30034
  const obj_orderBy_item = obj_orderBy[i];
29848
30035
  const path_orderBy_item = path_orderBy + '[' + i + ']';
29849
- const referencepath_orderBy_itemValidationError = validate$1x(obj_orderBy_item, path_orderBy_item);
30036
+ const referencepath_orderBy_itemValidationError = validate$1A(obj_orderBy_item, path_orderBy_item);
29850
30037
  if (referencepath_orderBy_itemValidationError !== null) {
29851
30038
  let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderBy_item + '")\n';
29852
30039
  message += referencepath_orderBy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -35582,4 +35769,4 @@ withDefaultLuvio((luvio) => {
35582
35769
  });
35583
35770
 
35584
35771
  export { InMemoryRecordRepresentationQueryEvaluator, MRU, RepresentationType$I as ObjectInfoRepresentationType, RepresentationType$N as RecordRepresentationRepresentationType, TTL$v as RecordRepresentationTTL, RepresentationType$N as RecordRepresentationType, VERSION$14 as RecordRepresentationVersion, keyPrefix as UiApiNamespace, configurationForRestAdapters as configuration, createContentDocumentAndVersion, createContentVersion, createIngestRecordWithFields, createRecord, deleteRecord, getActionOverrides, getActionOverrides_imperative, getAllApps, getAllApps_imperative, getAppDetails, getAppDetails_imperative, getDuplicateConfiguration, getDuplicateConfiguration_imperative, getDuplicates, getDuplicates_imperative, getGlobalActions, getGlobalActions_imperative, getKeywordSearchResults, getKeywordSearchResults_imperative, getLayout, getLayoutUserState, getLayoutUserState_imperative, getLayout_imperative, getListInfoByName, getListInfoByName_imperative, getListInfosByName, getListInfosByName_imperative, getListRecordsByName, getListRecordsByName_imperative, getListUi, getListUi_imperative, getListViewSummaryCollection, getListViewSummaryCollection_imperative, getLookupActions, getLookupActions_imperative, getLookupMetadata, getLookupMetadata_imperative, getLookupRecords, getLookupRecords_imperative, getNavItems, getNavItems_imperative, getObjectCreateActions, getObjectCreateActions_imperative, getObjectInfo, getObjectInfoAdapterFactory, getObjectInfo_imperative, getObjectInfos, getObjectInfosAdapterFactory, getObjectInfos_imperative, getPicklistValues, getPicklistValuesByRecordType, getPicklistValuesByRecordType_imperative, getPicklistValues_imperative, getQuickActionDefaults, getQuickActionDefaults_imperative, getQuickActionLayout, getQuickActionLayout_imperative, getRecord, getRecordActions, getRecordActions_imperative, factory$e as getRecordAdapterFactory, getRecordAvatars, getRecordAvatars_imperative, getRecordCreateDefaults, getRecordCreateDefaults_imperative, getRecordEditActions, getRecordEditActions_imperative, getRecordId18, getRecordNotifyChange, getRecordTemplateClone, getRecordTemplateClone_imperative, getRecordTemplateCreate, getRecordTemplateCreate_imperative, getRecordUi, getRecordUi_imperative, getRecord_imperative, getRecords, getRecords_imperative, getRelatedListActions, getRelatedListActions_imperative, getRelatedListCount, getRelatedListCount_imperative, getRelatedListInfo, getRelatedListInfoBatch, getRelatedListInfoBatch_imperative, getRelatedListInfo_imperative, getRelatedListPreferences, getRelatedListPreferencesBatch, getRelatedListPreferencesBatch_imperative, getRelatedListPreferences_imperative, getRelatedListRecordActions, getRelatedListRecordActions_imperative, getRelatedListRecords, getRelatedListRecordsBatch, getRelatedListRecordsBatch_imperative, getRelatedListRecords_imperative, getRelatedListsActions, getRelatedListsActions_imperative, getRelatedListsCount, getRelatedListsCount_imperative, getRelatedListsInfo, getRelatedListsInfo_imperative, getResponseCacheKeys as getResponseCacheKeysContentDocumentCompositeRepresentation, getSearchFilterMetadata, getSearchFilterMetadata_imperative, getSearchFilterOptions, getSearchFilterOptions_imperative, getSearchResults, getSearchResults_imperative, getTypeCacheKeys$P as getTypeCacheKeysRecord, ingest as ingestContentDocumentCompositeRepresentation, ingest$B as ingestObjectInfo, ingest$x as ingestQuickActionExecutionRepresentation, ingest$G as ingestRecord, instrument, keyBuilder as keyBuilderContentDocumentCompositeRepresentation, keyBuilderFromType as keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderFromType$x as keyBuilderFromTypeRecordRepresentation, keyBuilder$1F as keyBuilderObjectInfo, keyBuilder$1z as keyBuilderQuickActionExecutionRepresentation, keyBuilder$1Q as keyBuilderRecord, notifyRecordUpdateAvailable, performQuickAction, performUpdateRecordQuickAction, refresh, updateLayoutUserState, updateRecord, updateRecordAvatar, updateRelatedListInfo, updateRelatedListPreferences };
35585
- // version: 1.141.1-8f6d93cad
35772
+ // version: 1.142.0-9f43a65a3
package/src/raml/api.raml CHANGED
@@ -1307,6 +1307,10 @@ types:
1307
1307
  updateable:
1308
1308
  description: Indicates whether the listview can be updated.
1309
1309
  type: boolean
1310
+ scope:
1311
+ description: Scope information for this list view.
1312
+ type: ListScopeRepresentation | nil # TODO: hand rolled
1313
+ required: false # TODO: hand rolled
1310
1314
  userPreferences:
1311
1315
  description: All user preferences for this list view.
1312
1316
  type: ListUserPreferenceRepresentation
@@ -1417,6 +1421,45 @@ types:
1417
1421
  type:
1418
1422
  description: Type of the list view.
1419
1423
  type: string
1424
+ ListScopeEntityRepresentation:
1425
+ description: ListScopeEntityRepresentation
1426
+ type: object
1427
+ properties:
1428
+ id:
1429
+ description: Id of the scope entity.
1430
+ type: string
1431
+ label:
1432
+ description: Label for the scope entity.
1433
+ type: string
1434
+ ListScopeRelatedEntityRepresentation:
1435
+ description: ListScopeRelatedEntityRepresentation
1436
+ type: object
1437
+ properties:
1438
+ id:
1439
+ description: Id of the scope entity.
1440
+ type: string
1441
+ label:
1442
+ description: Label for the scope entity.
1443
+ type: string
1444
+ type:
1445
+ description: Type for the scope entity.
1446
+ type: string
1447
+ ListScopeRepresentation:
1448
+ description: ListScopeRepresentation
1449
+ type: object
1450
+ properties:
1451
+ apiName:
1452
+ description: API name for the scope.
1453
+ type: string
1454
+ entity:
1455
+ description: Entity for the scope.
1456
+ type: ListScopeEntityRepresentation
1457
+ label:
1458
+ description: Label for the scope.
1459
+ type: string
1460
+ relatedEntity:
1461
+ description: Related entity for the scope.
1462
+ type: ListScopeRelatedEntityRepresentation
1420
1463
  ListUiRepresentation:
1421
1464
  description: ListUiRepresentation
1422
1465
  type: object