@salesforce/lds-adapters-industries-epc 1.449.0 → 1.451.0-dev1

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.
@@ -80,7 +80,7 @@ function createLink(ref) {
80
80
  };
81
81
  }
82
82
 
83
- function validate$17(obj, path = 'EpcErrorOutputRepresentation') {
83
+ function validate$19(obj, path = 'EpcErrorOutputRepresentation') {
84
84
  const v_error = (() => {
85
85
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
86
86
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -138,7 +138,7 @@ function validate$17(obj, path = 'EpcErrorOutputRepresentation') {
138
138
  return v_error === undefined ? null : v_error;
139
139
  }
140
140
 
141
- function validate$16(obj, path = 'RecordUpdateOutputRepresentation') {
141
+ function validate$18(obj, path = 'RecordUpdateOutputRepresentation') {
142
142
  const v_error = (() => {
143
143
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
144
144
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -146,7 +146,7 @@ function validate$16(obj, path = 'RecordUpdateOutputRepresentation') {
146
146
  if (obj.error !== undefined) {
147
147
  const obj_error = obj.error;
148
148
  const path_error = path + '.error';
149
- const referencepath_errorValidationError = validate$17(obj_error, path_error);
149
+ const referencepath_errorValidationError = validate$19(obj_error, path_error);
150
150
  if (referencepath_errorValidationError !== null) {
151
151
  let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_error + '")\n';
152
152
  message += referencepath_errorValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -178,7 +178,7 @@ function validate$16(obj, path = 'RecordUpdateOutputRepresentation') {
178
178
  return v_error === undefined ? null : v_error;
179
179
  }
180
180
 
181
- function validate$15(obj, path = 'CatalogUpdateGraphOutputRepresentation') {
181
+ function validate$17(obj, path = 'CatalogUpdateGraphOutputRepresentation') {
182
182
  const v_error = (() => {
183
183
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
184
184
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -199,7 +199,7 @@ function validate$15(obj, path = 'CatalogUpdateGraphOutputRepresentation') {
199
199
  for (let i = 0; i < obj_records.length; i++) {
200
200
  const obj_records_item = obj_records[i];
201
201
  const path_records_item = path_records + '[' + i + ']';
202
- const referencepath_records_itemValidationError = validate$16(obj_records_item, path_records_item);
202
+ const referencepath_records_itemValidationError = validate$18(obj_records_item, path_records_item);
203
203
  if (referencepath_records_itemValidationError !== null) {
204
204
  let message = 'Object doesn\'t match RecordUpdateOutputRepresentation (at "' + path_records_item + '")\n';
205
205
  message += referencepath_records_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -211,7 +211,7 @@ function validate$15(obj, path = 'CatalogUpdateGraphOutputRepresentation') {
211
211
  return v_error === undefined ? null : v_error;
212
212
  }
213
213
 
214
- function validate$14(obj, path = 'Status') {
214
+ function validate$16(obj, path = 'Status') {
215
215
  const v_error = (() => {
216
216
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
217
217
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -232,7 +232,7 @@ function validate$14(obj, path = 'Status') {
232
232
  for (let i = 0; i < obj_errors.length; i++) {
233
233
  const obj_errors_item = obj_errors[i];
234
234
  const path_errors_item = path_errors + '[' + i + ']';
235
- const referencepath_errors_itemValidationError = validate$17(obj_errors_item, path_errors_item);
235
+ const referencepath_errors_itemValidationError = validate$19(obj_errors_item, path_errors_item);
236
236
  if (referencepath_errors_itemValidationError !== null) {
237
237
  let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
238
238
  message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -253,7 +253,7 @@ function validate$14(obj, path = 'Status') {
253
253
 
254
254
  const TTL$i = 6000;
255
255
  const VERSION$i = "1a50bf399b835e5f51948f12543237ea";
256
- function validate$13(obj, path = 'CatalogUpdateResponseRepresentation') {
256
+ function validate$15(obj, path = 'CatalogUpdateResponseRepresentation') {
257
257
  const v_error = (() => {
258
258
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
259
259
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -266,7 +266,7 @@ function validate$13(obj, path = 'CatalogUpdateResponseRepresentation') {
266
266
  if (obj.graphResponse !== undefined) {
267
267
  const obj_graphResponse = obj.graphResponse;
268
268
  const path_graphResponse = path + '.graphResponse';
269
- const referencepath_graphResponseValidationError = validate$15(obj_graphResponse, path_graphResponse);
269
+ const referencepath_graphResponseValidationError = validate$17(obj_graphResponse, path_graphResponse);
270
270
  if (referencepath_graphResponseValidationError !== null) {
271
271
  let message = 'Object doesn\'t match CatalogUpdateGraphOutputRepresentation (at "' + path_graphResponse + '")\n';
272
272
  message += referencepath_graphResponseValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -290,7 +290,7 @@ function validate$13(obj, path = 'CatalogUpdateResponseRepresentation') {
290
290
  if (obj.status !== undefined) {
291
291
  const obj_status = obj.status;
292
292
  const path_status = path + '.status';
293
- const referencepath_statusValidationError = validate$14(obj_status, path_status);
293
+ const referencepath_statusValidationError = validate$16(obj_status, path_status);
294
294
  if (referencepath_statusValidationError !== null) {
295
295
  let message = 'Object doesn\'t match Status (at "' + path_status + '")\n';
296
296
  message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -329,7 +329,7 @@ function equals$i(existing, incoming) {
329
329
  }
330
330
  const ingest$i = function CatalogUpdateResponseRepresentationIngest(input, path, luvio, store, timestamp) {
331
331
  if (process.env.NODE_ENV !== 'production') {
332
- const validateError = validate$13(input);
332
+ const validateError = validate$15(input);
333
333
  if (validateError !== null) {
334
334
  throw validateError;
335
335
  }
@@ -456,7 +456,7 @@ const pcmCatalogUpdateAdapterFactory = (luvio) => {
456
456
  };
457
457
  };
458
458
 
459
- function validate$12(obj, path = 'DeactivateInputRepresentation') {
459
+ function validate$14(obj, path = 'DeactivateInputRepresentation') {
460
460
  const v_error = (() => {
461
461
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
462
462
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -489,7 +489,7 @@ function validate$12(obj, path = 'DeactivateInputRepresentation') {
489
489
  return v_error === undefined ? null : v_error;
490
490
  }
491
491
 
492
- function validate$11(obj, path = 'ErrorOutputRepresentation') {
492
+ function validate$13(obj, path = 'ErrorOutputRepresentation') {
493
493
  const v_error = (() => {
494
494
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
495
495
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -522,7 +522,7 @@ function validate$11(obj, path = 'ErrorOutputRepresentation') {
522
522
 
523
523
  const TTL$h = 6000;
524
524
  const VERSION$h = "67abdeaa299bae24f468fd2e78cd1e1e";
525
- function validate$10(obj, path = 'RecordIdMapOutputRepresentation') {
525
+ function validate$12(obj, path = 'RecordIdMapOutputRepresentation') {
526
526
  const v_error = (() => {
527
527
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
528
528
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -535,7 +535,7 @@ function validate$10(obj, path = 'RecordIdMapOutputRepresentation') {
535
535
  for (let i = 0; i < obj_errors.length; i++) {
536
536
  const obj_errors_item = obj_errors[i];
537
537
  const path_errors_item = path_errors + '[' + i + ']';
538
- const referencepath_errors_itemValidationError = validate$11(obj_errors_item, path_errors_item);
538
+ const referencepath_errors_itemValidationError = validate$13(obj_errors_item, path_errors_item);
539
539
  if (referencepath_errors_itemValidationError !== null) {
540
540
  let message = 'Object doesn\'t match ErrorOutputRepresentation (at "' + path_errors_item + '")\n';
541
541
  message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -579,7 +579,7 @@ function equals$h(existing, incoming) {
579
579
  }
580
580
  const ingest$h = function RecordIdMapOutputRepresentationIngest(input, path, luvio, store, timestamp) {
581
581
  if (process.env.NODE_ENV !== 'production') {
582
- const validateError = validate$10(input);
582
+ const validateError = validate$12(input);
583
583
  if (validateError !== null) {
584
584
  throw validateError;
585
585
  }
@@ -645,7 +645,7 @@ const createResourceParams$h = /*#__PURE__*/ createResourceParams$j(deactivate_C
645
645
  function typeCheckConfig$h(untrustedConfig) {
646
646
  const config = {};
647
647
  const untrustedConfig_deactivateInputPayload = untrustedConfig.deactivateInputPayload;
648
- const referenceDeactivateInputRepresentationValidationError = validate$12(untrustedConfig_deactivateInputPayload);
648
+ const referenceDeactivateInputRepresentationValidationError = validate$14(untrustedConfig_deactivateInputPayload);
649
649
  if (referenceDeactivateInputRepresentationValidationError === null) {
650
650
  config.deactivateInputPayload = untrustedConfig_deactivateInputPayload;
651
651
  }
@@ -693,7 +693,7 @@ const deactivateAdapterFactory = (luvio) => {
693
693
  };
694
694
  };
695
695
 
696
- function validate$$(obj, path = 'IndexConfigurationFieldOutputRepresentation') {
696
+ function validate$11(obj, path = 'IndexConfigurationFieldOutputRepresentation') {
697
697
  const v_error = (() => {
698
698
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
699
699
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -765,7 +765,7 @@ function validate$$(obj, path = 'IndexConfigurationFieldOutputRepresentation') {
765
765
  return v_error === undefined ? null : v_error;
766
766
  }
767
767
 
768
- function validate$_(obj, path = 'FieldsInfoOutputRepresentation') {
768
+ function validate$10(obj, path = 'FieldsInfoOutputRepresentation') {
769
769
  const v_error = (() => {
770
770
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
771
771
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -798,6 +798,13 @@ function validate$_(obj, path = 'FieldsInfoOutputRepresentation') {
798
798
  return new TypeError('Expected "boolean" but received "' + typeof obj_isSearchableConfigurable + '" (at "' + path_isSearchableConfigurable + '")');
799
799
  }
800
800
  }
801
+ if (obj.isSortableConfigurable !== undefined) {
802
+ const obj_isSortableConfigurable = obj.isSortableConfigurable;
803
+ const path_isSortableConfigurable = path + '.isSortableConfigurable';
804
+ if (typeof obj_isSortableConfigurable !== 'boolean') {
805
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isSortableConfigurable + '" (at "' + path_isSortableConfigurable + '")');
806
+ }
807
+ }
801
808
  if (obj.label !== undefined) {
802
809
  const obj_label = obj.label;
803
810
  const path_label = path + '.label';
@@ -823,7 +830,7 @@ function validate$_(obj, path = 'FieldsInfoOutputRepresentation') {
823
830
  return v_error === undefined ? null : v_error;
824
831
  }
825
832
 
826
- function validate$Z(obj, path = 'ObjectInfoOutputRepresentation') {
833
+ function validate$$(obj, path = 'ObjectInfoOutputRepresentation') {
827
834
  const v_error = (() => {
828
835
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
829
836
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -837,7 +844,7 @@ function validate$Z(obj, path = 'ObjectInfoOutputRepresentation') {
837
844
  for (let i = 0; i < obj_fields.length; i++) {
838
845
  const obj_fields_item = obj_fields[i];
839
846
  const path_fields_item = path_fields + '[' + i + ']';
840
- const referencepath_fields_itemValidationError = validate$_(obj_fields_item, path_fields_item);
847
+ const referencepath_fields_itemValidationError = validate$10(obj_fields_item, path_fields_item);
841
848
  if (referencepath_fields_itemValidationError !== null) {
842
849
  let message = 'Object doesn\'t match FieldsInfoOutputRepresentation (at "' + path_fields_item + '")\n';
843
850
  message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -856,7 +863,7 @@ function validate$Z(obj, path = 'ObjectInfoOutputRepresentation') {
856
863
  return v_error === undefined ? null : v_error;
857
864
  }
858
865
 
859
- function validate$Y(obj, path = 'MetadataOutputRepresentation') {
866
+ function validate$_(obj, path = 'MetadataOutputRepresentation') {
860
867
  const v_error = (() => {
861
868
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
862
869
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -870,7 +877,7 @@ function validate$Y(obj, path = 'MetadataOutputRepresentation') {
870
877
  for (let i = 0; i < obj_objectInfos.length; i++) {
871
878
  const obj_objectInfos_item = obj_objectInfos[i];
872
879
  const path_objectInfos_item = path_objectInfos + '[' + i + ']';
873
- const referencepath_objectInfos_itemValidationError = validate$Z(obj_objectInfos_item, path_objectInfos_item);
880
+ const referencepath_objectInfos_itemValidationError = validate$$(obj_objectInfos_item, path_objectInfos_item);
874
881
  if (referencepath_objectInfos_itemValidationError !== null) {
875
882
  let message = 'Object doesn\'t match ObjectInfoOutputRepresentation (at "' + path_objectInfos_item + '")\n';
876
883
  message += referencepath_objectInfos_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -882,9 +889,67 @@ function validate$Y(obj, path = 'MetadataOutputRepresentation') {
882
889
  return v_error === undefined ? null : v_error;
883
890
  }
884
891
 
892
+ function validate$Z(obj, path = 'SortRuleOutputRepresentation') {
893
+ const v_error = (() => {
894
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
895
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
896
+ }
897
+ if (obj.id !== undefined) {
898
+ const obj_id = obj.id;
899
+ const path_id = path + '.id';
900
+ if (typeof obj_id !== 'string') {
901
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
902
+ }
903
+ }
904
+ if (obj.sortCustomFieldId !== undefined) {
905
+ const obj_sortCustomFieldId = obj.sortCustomFieldId;
906
+ const path_sortCustomFieldId = path + '.sortCustomFieldId';
907
+ if (typeof obj_sortCustomFieldId !== 'string') {
908
+ return new TypeError('Expected "string" but received "' + typeof obj_sortCustomFieldId + '" (at "' + path_sortCustomFieldId + '")');
909
+ }
910
+ }
911
+ if (obj.sortDirection !== undefined) {
912
+ const obj_sortDirection = obj.sortDirection;
913
+ const path_sortDirection = path + '.sortDirection';
914
+ if (typeof obj_sortDirection !== 'string') {
915
+ return new TypeError('Expected "string" but received "' + typeof obj_sortDirection + '" (at "' + path_sortDirection + '")');
916
+ }
917
+ }
918
+ if (obj.sortLabelSuffix !== undefined) {
919
+ const obj_sortLabelSuffix = obj.sortLabelSuffix;
920
+ const path_sortLabelSuffix = path + '.sortLabelSuffix';
921
+ if (typeof obj_sortLabelSuffix !== 'string') {
922
+ return new TypeError('Expected "string" but received "' + typeof obj_sortLabelSuffix + '" (at "' + path_sortLabelSuffix + '")');
923
+ }
924
+ }
925
+ if (obj.sortRuleRank !== undefined) {
926
+ const obj_sortRuleRank = obj.sortRuleRank;
927
+ const path_sortRuleRank = path + '.sortRuleRank';
928
+ if (typeof obj_sortRuleRank !== 'number' || (typeof obj_sortRuleRank === 'number' && Math.floor(obj_sortRuleRank) !== obj_sortRuleRank)) {
929
+ return new TypeError('Expected "integer" but received "' + typeof obj_sortRuleRank + '" (at "' + path_sortRuleRank + '")');
930
+ }
931
+ }
932
+ if (obj.sortRuleType !== undefined) {
933
+ const obj_sortRuleType = obj.sortRuleType;
934
+ const path_sortRuleType = path + '.sortRuleType';
935
+ if (typeof obj_sortRuleType !== 'string') {
936
+ return new TypeError('Expected "string" but received "' + typeof obj_sortRuleType + '" (at "' + path_sortRuleType + '")');
937
+ }
938
+ }
939
+ if (obj.standardField !== undefined) {
940
+ const obj_standardField = obj.standardField;
941
+ const path_standardField = path + '.standardField';
942
+ if (typeof obj_standardField !== 'string') {
943
+ return new TypeError('Expected "string" but received "' + typeof obj_standardField + '" (at "' + path_standardField + '")');
944
+ }
945
+ }
946
+ })();
947
+ return v_error === undefined ? null : v_error;
948
+ }
949
+
885
950
  const TTL$g = 6000;
886
- const VERSION$g = "61cfe23ab3d064d226af215df6681afc";
887
- function validate$X(obj, path = 'IndexConfigurationCollectionOutputRepresentation') {
951
+ const VERSION$g = "9bd54319c74dcb38555c4c75d6755ddc";
952
+ function validate$Y(obj, path = 'IndexConfigurationCollectionOutputRepresentation') {
888
953
  const v_error = (() => {
889
954
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
890
955
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -905,7 +970,7 @@ function validate$X(obj, path = 'IndexConfigurationCollectionOutputRepresentatio
905
970
  for (let i = 0; i < obj_errors.length; i++) {
906
971
  const obj_errors_item = obj_errors[i];
907
972
  const path_errors_item = path_errors + '[' + i + ']';
908
- const referencepath_errors_itemValidationError = validate$17(obj_errors_item, path_errors_item);
973
+ const referencepath_errors_itemValidationError = validate$19(obj_errors_item, path_errors_item);
909
974
  if (referencepath_errors_itemValidationError !== null) {
910
975
  let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
911
976
  message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -922,7 +987,7 @@ function validate$X(obj, path = 'IndexConfigurationCollectionOutputRepresentatio
922
987
  for (let i = 0; i < obj_indexConfigurations.length; i++) {
923
988
  const obj_indexConfigurations_item = obj_indexConfigurations[i];
924
989
  const path_indexConfigurations_item = path_indexConfigurations + '[' + i + ']';
925
- const referencepath_indexConfigurations_itemValidationError = validate$$(obj_indexConfigurations_item, path_indexConfigurations_item);
990
+ const referencepath_indexConfigurations_itemValidationError = validate$11(obj_indexConfigurations_item, path_indexConfigurations_item);
926
991
  if (referencepath_indexConfigurations_itemValidationError !== null) {
927
992
  let message = 'Object doesn\'t match IndexConfigurationFieldOutputRepresentation (at "' + path_indexConfigurations_item + '")\n';
928
993
  message += referencepath_indexConfigurations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -933,13 +998,30 @@ function validate$X(obj, path = 'IndexConfigurationCollectionOutputRepresentatio
933
998
  if (obj.metadata !== undefined) {
934
999
  const obj_metadata = obj.metadata;
935
1000
  const path_metadata = path + '.metadata';
936
- const referencepath_metadataValidationError = validate$Y(obj_metadata, path_metadata);
1001
+ const referencepath_metadataValidationError = validate$_(obj_metadata, path_metadata);
937
1002
  if (referencepath_metadataValidationError !== null) {
938
1003
  let message = 'Object doesn\'t match MetadataOutputRepresentation (at "' + path_metadata + '")\n';
939
1004
  message += referencepath_metadataValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
940
1005
  return new TypeError(message);
941
1006
  }
942
1007
  }
1008
+ if (obj.sortRules !== undefined) {
1009
+ const obj_sortRules = obj.sortRules;
1010
+ const path_sortRules = path + '.sortRules';
1011
+ if (!ArrayIsArray(obj_sortRules)) {
1012
+ return new TypeError('Expected "array" but received "' + typeof obj_sortRules + '" (at "' + path_sortRules + '")');
1013
+ }
1014
+ for (let i = 0; i < obj_sortRules.length; i++) {
1015
+ const obj_sortRules_item = obj_sortRules[i];
1016
+ const path_sortRules_item = path_sortRules + '[' + i + ']';
1017
+ const referencepath_sortRules_itemValidationError = validate$Z(obj_sortRules_item, path_sortRules_item);
1018
+ if (referencepath_sortRules_itemValidationError !== null) {
1019
+ let message = 'Object doesn\'t match SortRuleOutputRepresentation (at "' + path_sortRules_item + '")\n';
1020
+ message += referencepath_sortRules_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1021
+ return new TypeError(message);
1022
+ }
1023
+ }
1024
+ }
943
1025
  if (obj.statusCode !== undefined) {
944
1026
  const obj_statusCode = obj.statusCode;
945
1027
  const path_statusCode = path + '.statusCode';
@@ -970,7 +1052,7 @@ function equals$g(existing, incoming) {
970
1052
  }
971
1053
  const ingest$g = function IndexConfigurationCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
972
1054
  if (process.env.NODE_ENV !== 'production') {
973
- const validateError = validate$X(input);
1055
+ const validateError = validate$Y(input);
974
1056
  if (validateError !== null) {
975
1057
  throw validateError;
976
1058
  }
@@ -994,7 +1076,7 @@ function select$w(luvio, params) {
994
1076
  return select$x();
995
1077
  }
996
1078
  function keyBuilder$p(luvio, params) {
997
- return keyPrefix + '::IndexConfigurationCollectionOutputRepresentation:(' + 'correlationId:' + params.queryParams.correlationId + ',' + 'fieldTypes:' + params.queryParams.fieldTypes + ',' + 'includeMetadata:' + params.queryParams.includeMetadata + ')';
1079
+ return keyPrefix + '::IndexConfigurationCollectionOutputRepresentation:(' + 'correlationId:' + params.queryParams.correlationId + ',' + 'fieldTypes:' + params.queryParams.fieldTypes + ',' + 'includeMetadata:' + params.queryParams.includeMetadata + ',' + 'includeIndexConfigurations:' + params.queryParams.includeIndexConfigurations + ',' + 'includeSortRules:' + params.queryParams.includeSortRules + ')';
998
1080
  }
999
1081
  function getResponseCacheKeys$g(storeKeyMap, luvio, resourceParams, response) {
1000
1082
  getTypeCacheKeys$g(storeKeyMap, luvio, response, () => keyBuilder$p(luvio, resourceParams));
@@ -1047,6 +1129,8 @@ const getIndexConfigurations_ConfigPropertyMetadata = [
1047
1129
  generateParamConfigMetadata('correlationId', false, 1 /* QueryParameter */, 0 /* String */),
1048
1130
  generateParamConfigMetadata('fieldTypes', false, 1 /* QueryParameter */, 0 /* String */, true),
1049
1131
  generateParamConfigMetadata('includeMetadata', false, 1 /* QueryParameter */, 1 /* Boolean */),
1132
+ generateParamConfigMetadata('includeIndexConfigurations', false, 1 /* QueryParameter */, 1 /* Boolean */),
1133
+ generateParamConfigMetadata('includeSortRules', false, 1 /* QueryParameter */, 1 /* Boolean */),
1050
1134
  ];
1051
1135
  const getIndexConfigurations_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$g, getIndexConfigurations_ConfigPropertyMetadata);
1052
1136
  const createResourceParams$g = /*#__PURE__*/ createResourceParams$j(getIndexConfigurations_ConfigPropertyMetadata);
@@ -1130,8 +1214,59 @@ const getIndexConfigurationsAdapterFactory = (luvio) => function epc__getIndexCo
1130
1214
  buildCachedSnapshotCachePolicy$8, buildNetworkSnapshotCachePolicy$8);
1131
1215
  };
1132
1216
 
1217
+ function validate$X(obj, path = 'SortRuleInputRepresentation') {
1218
+ const v_error = (() => {
1219
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1220
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1221
+ }
1222
+ if (obj.sortCustomFieldId !== undefined) {
1223
+ const obj_sortCustomFieldId = obj.sortCustomFieldId;
1224
+ const path_sortCustomFieldId = path + '.sortCustomFieldId';
1225
+ if (typeof obj_sortCustomFieldId !== 'string') {
1226
+ return new TypeError('Expected "string" but received "' + typeof obj_sortCustomFieldId + '" (at "' + path_sortCustomFieldId + '")');
1227
+ }
1228
+ }
1229
+ if (obj.sortDirection !== undefined) {
1230
+ const obj_sortDirection = obj.sortDirection;
1231
+ const path_sortDirection = path + '.sortDirection';
1232
+ if (typeof obj_sortDirection !== 'string') {
1233
+ return new TypeError('Expected "string" but received "' + typeof obj_sortDirection + '" (at "' + path_sortDirection + '")');
1234
+ }
1235
+ }
1236
+ if (obj.sortLabelSuffix !== undefined) {
1237
+ const obj_sortLabelSuffix = obj.sortLabelSuffix;
1238
+ const path_sortLabelSuffix = path + '.sortLabelSuffix';
1239
+ if (typeof obj_sortLabelSuffix !== 'string') {
1240
+ return new TypeError('Expected "string" but received "' + typeof obj_sortLabelSuffix + '" (at "' + path_sortLabelSuffix + '")');
1241
+ }
1242
+ }
1243
+ if (obj.sortRuleRank !== undefined) {
1244
+ const obj_sortRuleRank = obj.sortRuleRank;
1245
+ const path_sortRuleRank = path + '.sortRuleRank';
1246
+ if (typeof obj_sortRuleRank !== 'number' || (typeof obj_sortRuleRank === 'number' && Math.floor(obj_sortRuleRank) !== obj_sortRuleRank)) {
1247
+ return new TypeError('Expected "integer" but received "' + typeof obj_sortRuleRank + '" (at "' + path_sortRuleRank + '")');
1248
+ }
1249
+ }
1250
+ if (obj.sortRuleType !== undefined) {
1251
+ const obj_sortRuleType = obj.sortRuleType;
1252
+ const path_sortRuleType = path + '.sortRuleType';
1253
+ if (typeof obj_sortRuleType !== 'string') {
1254
+ return new TypeError('Expected "string" but received "' + typeof obj_sortRuleType + '" (at "' + path_sortRuleType + '")');
1255
+ }
1256
+ }
1257
+ if (obj.standardField !== undefined) {
1258
+ const obj_standardField = obj.standardField;
1259
+ const path_standardField = path + '.standardField';
1260
+ if (typeof obj_standardField !== 'string') {
1261
+ return new TypeError('Expected "string" but received "' + typeof obj_standardField + '" (at "' + path_standardField + '")');
1262
+ }
1263
+ }
1264
+ })();
1265
+ return v_error === undefined ? null : v_error;
1266
+ }
1267
+
1133
1268
  const TTL$f = 6000;
1134
- const VERSION$f = "d8fe6f305d394e3ad9e8b064fd805a31";
1269
+ const VERSION$f = "00a23b86d5c84f19efaccb3d62fc4b49";
1135
1270
  function validate$W(obj, path = 'IndexConfigurationsUpdateOutputRepresentation') {
1136
1271
  const v_error = (() => {
1137
1272
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -1153,7 +1288,7 @@ function validate$W(obj, path = 'IndexConfigurationsUpdateOutputRepresentation')
1153
1288
  for (let i = 0; i < obj_errors.length; i++) {
1154
1289
  const obj_errors_item = obj_errors[i];
1155
1290
  const path_errors_item = path_errors + '[' + i + ']';
1156
- const referencepath_errors_itemValidationError = validate$17(obj_errors_item, path_errors_item);
1291
+ const referencepath_errors_itemValidationError = validate$19(obj_errors_item, path_errors_item);
1157
1292
  if (referencepath_errors_itemValidationError !== null) {
1158
1293
  let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
1159
1294
  message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1170,7 +1305,7 @@ function validate$W(obj, path = 'IndexConfigurationsUpdateOutputRepresentation')
1170
1305
  for (let i = 0; i < obj_indexConfigurations.length; i++) {
1171
1306
  const obj_indexConfigurations_item = obj_indexConfigurations[i];
1172
1307
  const path_indexConfigurations_item = path_indexConfigurations + '[' + i + ']';
1173
- const referencepath_indexConfigurations_itemValidationError = validate$$(obj_indexConfigurations_item, path_indexConfigurations_item);
1308
+ const referencepath_indexConfigurations_itemValidationError = validate$11(obj_indexConfigurations_item, path_indexConfigurations_item);
1174
1309
  if (referencepath_indexConfigurations_itemValidationError !== null) {
1175
1310
  let message = 'Object doesn\'t match IndexConfigurationFieldOutputRepresentation (at "' + path_indexConfigurations_item + '")\n';
1176
1311
  message += referencepath_indexConfigurations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1178,6 +1313,23 @@ function validate$W(obj, path = 'IndexConfigurationsUpdateOutputRepresentation')
1178
1313
  }
1179
1314
  }
1180
1315
  }
1316
+ if (obj.sortRules !== undefined) {
1317
+ const obj_sortRules = obj.sortRules;
1318
+ const path_sortRules = path + '.sortRules';
1319
+ if (!ArrayIsArray(obj_sortRules)) {
1320
+ return new TypeError('Expected "array" but received "' + typeof obj_sortRules + '" (at "' + path_sortRules + '")');
1321
+ }
1322
+ for (let i = 0; i < obj_sortRules.length; i++) {
1323
+ const obj_sortRules_item = obj_sortRules[i];
1324
+ const path_sortRules_item = path_sortRules + '[' + i + ']';
1325
+ const referencepath_sortRules_itemValidationError = validate$Z(obj_sortRules_item, path_sortRules_item);
1326
+ if (referencepath_sortRules_itemValidationError !== null) {
1327
+ let message = 'Object doesn\'t match SortRuleOutputRepresentation (at "' + path_sortRules_item + '")\n';
1328
+ message += referencepath_sortRules_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1329
+ return new TypeError(message);
1330
+ }
1331
+ }
1332
+ }
1181
1333
  const obj_statusCode = obj.statusCode;
1182
1334
  const path_statusCode = path + '.statusCode';
1183
1335
  if (typeof obj_statusCode !== 'string') {
@@ -1276,6 +1428,7 @@ const adapterName$f = 'updateIndexConfigurations';
1276
1428
  const updateIndexConfigurations_ConfigPropertyMetadata = [
1277
1429
  generateParamConfigMetadata('correlationId', false, 2 /* Body */, 0 /* String */),
1278
1430
  generateParamConfigMetadata('indexConfigurations', false, 2 /* Body */, 4 /* Unsupported */, true),
1431
+ generateParamConfigMetadata('sortRules', false, 2 /* Body */, 4 /* Unsupported */, true),
1279
1432
  ];
1280
1433
  const updateIndexConfigurations_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, updateIndexConfigurations_ConfigPropertyMetadata);
1281
1434
  const createResourceParams$f = /*#__PURE__*/ createResourceParams$j(updateIndexConfigurations_ConfigPropertyMetadata);
@@ -1291,6 +1444,18 @@ function typeCheckConfig$f(untrustedConfig) {
1291
1444
  }
1292
1445
  config.indexConfigurations = untrustedConfig_indexConfigurations_array;
1293
1446
  }
1447
+ const untrustedConfig_sortRules = untrustedConfig.sortRules;
1448
+ if (ArrayIsArray$1(untrustedConfig_sortRules)) {
1449
+ const untrustedConfig_sortRules_array = [];
1450
+ for (let i = 0, arrayLength = untrustedConfig_sortRules.length; i < arrayLength; i++) {
1451
+ const untrustedConfig_sortRules_item = untrustedConfig_sortRules[i];
1452
+ const referenceSortRuleInputRepresentationValidationError = validate$X(untrustedConfig_sortRules_item);
1453
+ if (referenceSortRuleInputRepresentationValidationError === null) {
1454
+ untrustedConfig_sortRules_array.push(untrustedConfig_sortRules_item);
1455
+ }
1456
+ }
1457
+ config.sortRules = untrustedConfig_sortRules_array;
1458
+ }
1294
1459
  return config;
1295
1460
  }
1296
1461
  function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
@@ -1606,7 +1771,7 @@ function validate$R(obj, path = 'SnapshotDeploymentOutputRepresentation') {
1606
1771
  for (let i = 0; i < obj_errors.length; i++) {
1607
1772
  const obj_errors_item = obj_errors[i];
1608
1773
  const path_errors_item = path_errors + '[' + i + ']';
1609
- const referencepath_errors_itemValidationError = validate$17(obj_errors_item, path_errors_item);
1774
+ const referencepath_errors_itemValidationError = validate$19(obj_errors_item, path_errors_item);
1610
1775
  if (referencepath_errors_itemValidationError !== null) {
1611
1776
  let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
1612
1777
  message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1850,7 +2015,7 @@ function validate$O(obj, path = 'IndexSettingOutputRepresentation') {
1850
2015
  for (let i = 0; i < obj_errors.length; i++) {
1851
2016
  const obj_errors_item = obj_errors[i];
1852
2017
  const path_errors_item = path_errors + '[' + i + ']';
1853
- const referencepath_errors_itemValidationError = validate$17(obj_errors_item, path_errors_item);
2018
+ const referencepath_errors_itemValidationError = validate$19(obj_errors_item, path_errors_item);
1854
2019
  if (referencepath_errors_itemValidationError !== null) {
1855
2020
  let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
1856
2021
  message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2107,7 +2272,7 @@ function validate$M(obj, path = 'IndexSettingPatchOutputRepresentation') {
2107
2272
  for (let i = 0; i < obj_errors.length; i++) {
2108
2273
  const obj_errors_item = obj_errors[i];
2109
2274
  const path_errors_item = path_errors + '[' + i + ']';
2110
- const referencepath_errors_itemValidationError = validate$17(obj_errors_item, path_errors_item);
2275
+ const referencepath_errors_itemValidationError = validate$19(obj_errors_item, path_errors_item);
2111
2276
  if (referencepath_errors_itemValidationError !== null) {
2112
2277
  let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
2113
2278
  message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2294,7 +2459,7 @@ function validate$L(obj, path = 'SnapshotCollectionOutputRepresentation') {
2294
2459
  for (let i = 0; i < obj_errors.length; i++) {
2295
2460
  const obj_errors_item = obj_errors[i];
2296
2461
  const path_errors_item = path_errors + '[' + i + ']';
2297
- const referencepath_errors_itemValidationError = validate$17(obj_errors_item, path_errors_item);
2462
+ const referencepath_errors_itemValidationError = validate$19(obj_errors_item, path_errors_item);
2298
2463
  if (referencepath_errors_itemValidationError !== null) {
2299
2464
  let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
2300
2465
  message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2567,7 +2732,7 @@ function validate$J(obj, path = 'SnapshotIndexErrorOutputRepresentation') {
2567
2732
  for (let i = 0; i < obj_errors.length; i++) {
2568
2733
  const obj_errors_item = obj_errors[i];
2569
2734
  const path_errors_item = path_errors + '[' + i + ']';
2570
- const referencepath_errors_itemValidationError = validate$17(obj_errors_item, path_errors_item);
2735
+ const referencepath_errors_itemValidationError = validate$19(obj_errors_item, path_errors_item);
2571
2736
  if (referencepath_errors_itemValidationError !== null) {
2572
2737
  let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
2573
2738
  message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3032,7 +3197,7 @@ function validate$E(obj, path = 'ProductFlowOutputRepresentation') {
3032
3197
  if (obj.status !== undefined) {
3033
3198
  const obj_status = obj.status;
3034
3199
  const path_status = path + '.status';
3035
- const referencepath_statusValidationError = validate$14(obj_status, path_status);
3200
+ const referencepath_statusValidationError = validate$16(obj_status, path_status);
3036
3201
  if (referencepath_statusValidationError !== null) {
3037
3202
  let message = 'Object doesn\'t match Status (at "' + path_status + '")\n';
3038
3203
  message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4938,7 +5103,7 @@ function validate$j(obj, path = 'ProductsOutputRepresentation') {
4938
5103
  if (obj.status !== undefined) {
4939
5104
  const obj_status = obj.status;
4940
5105
  const path_status = path + '.status';
4941
- const referencepath_statusValidationError = validate$14(obj_status, path_status);
5106
+ const referencepath_statusValidationError = validate$16(obj_status, path_status);
4942
5107
  if (referencepath_statusValidationError !== null) {
4943
5108
  let message = 'Object doesn\'t match Status (at "' + path_status + '")\n';
4944
5109
  message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5184,7 +5349,7 @@ function validate$i(obj, path = 'ProductsBulkOutputRepresentation') {
5184
5349
  if (obj.status !== undefined) {
5185
5350
  const obj_status = obj.status;
5186
5351
  const path_status = path + '.status';
5187
- const referencepath_statusValidationError = validate$14(obj_status, path_status);
5352
+ const referencepath_statusValidationError = validate$16(obj_status, path_status);
5188
5353
  if (referencepath_statusValidationError !== null) {
5189
5354
  let message = 'Object doesn\'t match Status (at "' + path_status + '")\n';
5190
5355
  message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5555,7 +5720,7 @@ function validate$d(obj, path = 'ContextDefinitionOutputRepresentation') {
5555
5720
  if (obj.status !== undefined) {
5556
5721
  const obj_status = obj.status;
5557
5722
  const path_status = path + '.status';
5558
- const referencepath_statusValidationError = validate$14(obj_status, path_status);
5723
+ const referencepath_statusValidationError = validate$16(obj_status, path_status);
5559
5724
  if (referencepath_statusValidationError !== null) {
5560
5725
  let message = 'Object doesn\'t match Status (at "' + path_status + '")\n';
5561
5726
  message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5842,7 +6007,7 @@ function validate$a(obj, path = 'ConfigRuleMetadataOutputRepresentation') {
5842
6007
  if (obj.status !== undefined) {
5843
6008
  const obj_status = obj.status;
5844
6009
  const path_status = path + '.status';
5845
- const referencepath_statusValidationError = validate$14(obj_status, path_status);
6010
+ const referencepath_statusValidationError = validate$16(obj_status, path_status);
5846
6011
  if (referencepath_statusValidationError !== null) {
5847
6012
  let message = 'Object doesn\'t match Status (at "' + path_status + '")\n';
5848
6013
  message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6147,7 +6312,7 @@ function validate$6(obj, path = 'RelatedRecordsListOutputRepresentation') {
6147
6312
  }
6148
6313
  const obj_status = obj.status;
6149
6314
  const path_status = path + '.status';
6150
- const referencepath_statusValidationError = validate$14(obj_status, path_status);
6315
+ const referencepath_statusValidationError = validate$16(obj_status, path_status);
6151
6316
  if (referencepath_statusValidationError !== null) {
6152
6317
  let message = 'Object doesn\'t match Status (at "' + path_status + '")\n';
6153
6318
  message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -9,6 +9,8 @@ export interface GetIndexConfigurationsConfig {
9
9
  correlationId?: string;
10
10
  fieldTypes?: Array<string>;
11
11
  includeMetadata?: boolean;
12
+ includeIndexConfigurations?: boolean;
13
+ includeSortRules?: boolean;
12
14
  }
13
15
  export declare const createResourceParams: (config: GetIndexConfigurationsConfig) => resources_getConnectPcmIndexConfigurations_ResourceRequestConfig;
14
16
  export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetIndexConfigurationsConfig): string;
@@ -1,5 +1,6 @@
1
1
  import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
2
2
  import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
3
+ import { SortRuleInputRepresentation as types_SortRuleInputRepresentation_SortRuleInputRepresentation } from '../types/SortRuleInputRepresentation';
3
4
  import { ResourceRequestConfig as resources_putConnectPcmIndexConfigurations_ResourceRequestConfig } from '../resources/putConnectPcmIndexConfigurations';
4
5
  import { IndexConfigurationsUpdateOutputRepresentation as types_IndexConfigurationsUpdateOutputRepresentation_IndexConfigurationsUpdateOutputRepresentation } from '../types/IndexConfigurationsUpdateOutputRepresentation';
5
6
  export declare const adapterName = "updateIndexConfigurations";
@@ -8,6 +9,7 @@ export declare const updateIndexConfigurations_ConfigPropertyNames: adapter$45$u
8
9
  export interface UpdateIndexConfigurationsConfig {
9
10
  correlationId?: string;
10
11
  indexConfigurations?: Array<unknown>;
12
+ sortRules?: Array<types_SortRuleInputRepresentation_SortRuleInputRepresentation>;
11
13
  }
12
14
  export declare const createResourceParams: (config: UpdateIndexConfigurationsConfig) => resources_putConnectPcmIndexConfigurations_ResourceRequestConfig;
13
15
  export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<UpdateIndexConfigurationsConfig>): adapter$45$utils_Untrusted<UpdateIndexConfigurationsConfig>;
@@ -5,6 +5,8 @@ export interface ResourceRequestConfig {
5
5
  correlationId?: string;
6
6
  fieldTypes?: Array<string>;
7
7
  includeMetadata?: boolean;
8
+ includeIndexConfigurations?: boolean;
9
+ includeSortRules?: boolean;
8
10
  };
9
11
  }
10
12
  export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;