@salesforce/lds-adapters-cms-authoring 1.301.0 → 1.303.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.
@@ -4,7 +4,7 @@
4
4
  * For full license text, see the LICENSE.txt file
5
5
  */
6
6
 
7
- import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$p, typeCheckConfig as typeCheckConfig$I, StoreKeyMap, createResourceParams as createResourceParams$I } from '@luvio/engine';
7
+ import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$q, typeCheckConfig as typeCheckConfig$J, StoreKeyMap, createResourceParams as createResourceParams$J } from '@luvio/engine';
8
8
 
9
9
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
10
10
  const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
@@ -93,8 +93,8 @@ function createLink(ref) {
93
93
  };
94
94
  }
95
95
 
96
- const VERSION$E = "7297fb0dbfe8f664d76179a65037c290";
97
- function validate$1a(obj, path = 'ManagedContentTypeSummaryRepresentation') {
96
+ const VERSION$G = "7297fb0dbfe8f664d76179a65037c290";
97
+ function validate$1c(obj, path = 'ManagedContentTypeSummaryRepresentation') {
98
98
  const v_error = (() => {
99
99
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
100
100
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -114,10 +114,10 @@ function validate$1a(obj, path = 'ManagedContentTypeSummaryRepresentation') {
114
114
  })();
115
115
  return v_error === undefined ? null : v_error;
116
116
  }
117
- const select$1j = function ManagedContentTypeSummaryRepresentationSelect() {
117
+ const select$1m = function ManagedContentTypeSummaryRepresentationSelect() {
118
118
  return {
119
119
  kind: 'Fragment',
120
- version: VERSION$E,
120
+ version: VERSION$G,
121
121
  private: [],
122
122
  selections: [
123
123
  {
@@ -132,7 +132,7 @@ const select$1j = function ManagedContentTypeSummaryRepresentationSelect() {
132
132
  ]
133
133
  };
134
134
  };
135
- function equals$E(existing, incoming) {
135
+ function equals$G(existing, incoming) {
136
136
  const existing_fullyQualifiedName = existing.fullyQualifiedName;
137
137
  const incoming_fullyQualifiedName = incoming.fullyQualifiedName;
138
138
  if (!(existing_fullyQualifiedName === incoming_fullyQualifiedName)) {
@@ -154,8 +154,8 @@ function equals$E(existing, incoming) {
154
154
  return true;
155
155
  }
156
156
 
157
- const VERSION$D = "c30d880a3dba684a405d1cf961af2b76";
158
- function validate$19(obj, path = 'ManagedContentVariantSnapshotSummaryRepresentation') {
157
+ const VERSION$F = "c30d880a3dba684a405d1cf961af2b76";
158
+ function validate$1b(obj, path = 'ManagedContentVariantSnapshotSummaryRepresentation') {
159
159
  const v_error = (() => {
160
160
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
161
161
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -164,7 +164,7 @@ function validate$19(obj, path = 'ManagedContentVariantSnapshotSummaryRepresenta
164
164
  const path_contentType = path + '.contentType';
165
165
  let obj_contentType_union0 = null;
166
166
  const obj_contentType_union0_error = (() => {
167
- const referencepath_contentTypeValidationError = validate$1a(obj_contentType, path_contentType);
167
+ const referencepath_contentTypeValidationError = validate$1c(obj_contentType, path_contentType);
168
168
  if (referencepath_contentTypeValidationError !== null) {
169
169
  let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
170
170
  message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -322,11 +322,11 @@ function validate$19(obj, path = 'ManagedContentVariantSnapshotSummaryRepresenta
322
322
  })();
323
323
  return v_error === undefined ? null : v_error;
324
324
  }
325
- const select$1i = function ManagedContentVariantSnapshotSummaryRepresentationSelect() {
326
- const { selections: ManagedContentTypeSummaryRepresentation__selections, opaque: ManagedContentTypeSummaryRepresentation__opaque, } = select$1j();
325
+ const select$1l = function ManagedContentVariantSnapshotSummaryRepresentationSelect() {
326
+ const { selections: ManagedContentTypeSummaryRepresentation__selections, opaque: ManagedContentTypeSummaryRepresentation__opaque, } = select$1m();
327
327
  return {
328
328
  kind: 'Fragment',
329
- version: VERSION$D,
329
+ version: VERSION$F,
330
330
  private: [],
331
331
  selections: [
332
332
  {
@@ -358,13 +358,13 @@ const select$1i = function ManagedContentVariantSnapshotSummaryRepresentationSel
358
358
  ]
359
359
  };
360
360
  };
361
- function equals$D(existing, incoming) {
361
+ function equals$F(existing, incoming) {
362
362
  const existing_contentType = existing.contentType;
363
363
  const incoming_contentType = incoming.contentType;
364
364
  if (!(existing_contentType === incoming_contentType
365
365
  || (existing_contentType != null &&
366
366
  incoming_contentType != null &&
367
- equals$E(existing_contentType, incoming_contentType)))) {
367
+ equals$G(existing_contentType, incoming_contentType)))) {
368
368
  return false;
369
369
  }
370
370
  const existing_id = existing.id;
@@ -395,8 +395,8 @@ function equals$D(existing, incoming) {
395
395
  return true;
396
396
  }
397
397
 
398
- const VERSION$C = "f99d45f1e809783023bfd9dbe2fe4a6c";
399
- function validate$18(obj, path = 'ManagedContentDeploymentItemRepresentation') {
398
+ const VERSION$E = "f99d45f1e809783023bfd9dbe2fe4a6c";
399
+ function validate$1a(obj, path = 'ManagedContentDeploymentItemRepresentation') {
400
400
  const v_error = (() => {
401
401
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
402
402
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -423,7 +423,7 @@ function validate$18(obj, path = 'ManagedContentDeploymentItemRepresentation') {
423
423
  }
424
424
  const obj_mcvSnapshotSummary = obj.mcvSnapshotSummary;
425
425
  const path_mcvSnapshotSummary = path + '.mcvSnapshotSummary';
426
- const referencepath_mcvSnapshotSummaryValidationError = validate$19(obj_mcvSnapshotSummary, path_mcvSnapshotSummary);
426
+ const referencepath_mcvSnapshotSummaryValidationError = validate$1b(obj_mcvSnapshotSummary, path_mcvSnapshotSummary);
427
427
  if (referencepath_mcvSnapshotSummaryValidationError !== null) {
428
428
  let message = 'Object doesn\'t match ManagedContentVariantSnapshotSummaryRepresentation (at "' + path_mcvSnapshotSummary + '")\n';
429
429
  message += referencepath_mcvSnapshotSummaryValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -489,11 +489,11 @@ function validate$18(obj, path = 'ManagedContentDeploymentItemRepresentation') {
489
489
  })();
490
490
  return v_error === undefined ? null : v_error;
491
491
  }
492
- const select$1h = function ManagedContentDeploymentItemRepresentationSelect() {
493
- const { selections: ManagedContentVariantSnapshotSummaryRepresentation__selections, opaque: ManagedContentVariantSnapshotSummaryRepresentation__opaque, } = select$1i();
492
+ const select$1k = function ManagedContentDeploymentItemRepresentationSelect() {
493
+ const { selections: ManagedContentVariantSnapshotSummaryRepresentation__selections, opaque: ManagedContentVariantSnapshotSummaryRepresentation__opaque, } = select$1l();
494
494
  return {
495
495
  kind: 'Fragment',
496
- version: VERSION$C,
496
+ version: VERSION$E,
497
497
  private: [],
498
498
  selections: [
499
499
  {
@@ -532,7 +532,7 @@ const select$1h = function ManagedContentDeploymentItemRepresentationSelect() {
532
532
  ]
533
533
  };
534
534
  };
535
- function equals$C(existing, incoming) {
535
+ function equals$E(existing, incoming) {
536
536
  const existing_isTopLevel = existing.isTopLevel;
537
537
  const incoming_isTopLevel = incoming.isTopLevel;
538
538
  if (!(existing_isTopLevel === incoming_isTopLevel)) {
@@ -560,7 +560,7 @@ function equals$C(existing, incoming) {
560
560
  }
561
561
  const existing_mcvSnapshotSummary = existing.mcvSnapshotSummary;
562
562
  const incoming_mcvSnapshotSummary = incoming.mcvSnapshotSummary;
563
- if (!(equals$D(existing_mcvSnapshotSummary, incoming_mcvSnapshotSummary))) {
563
+ if (!(equals$F(existing_mcvSnapshotSummary, incoming_mcvSnapshotSummary))) {
564
564
  return false;
565
565
  }
566
566
  const existing_targetId = existing.targetId;
@@ -576,8 +576,8 @@ function equals$C(existing, incoming) {
576
576
  return true;
577
577
  }
578
578
 
579
- const VERSION$B = "4b75ed6ff448da86412b605f7e775a62";
580
- function validate$17(obj, path = 'ManagedContentUserSummaryRepresentation') {
579
+ const VERSION$D = "4b75ed6ff448da86412b605f7e775a62";
580
+ function validate$19(obj, path = 'ManagedContentUserSummaryRepresentation') {
581
581
  const v_error = (() => {
582
582
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
583
583
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -602,10 +602,10 @@ function validate$17(obj, path = 'ManagedContentUserSummaryRepresentation') {
602
602
  })();
603
603
  return v_error === undefined ? null : v_error;
604
604
  }
605
- const select$1g = function ManagedContentUserSummaryRepresentationSelect() {
605
+ const select$1j = function ManagedContentUserSummaryRepresentationSelect() {
606
606
  return {
607
607
  kind: 'Fragment',
608
- version: VERSION$B,
608
+ version: VERSION$D,
609
609
  private: [],
610
610
  selections: [
611
611
  {
@@ -624,7 +624,7 @@ const select$1g = function ManagedContentUserSummaryRepresentationSelect() {
624
624
  ]
625
625
  };
626
626
  };
627
- function equals$B(existing, incoming) {
627
+ function equals$D(existing, incoming) {
628
628
  const existing_id = existing.id;
629
629
  const incoming_id = incoming.id;
630
630
  if (!(existing_id === incoming_id)) {
@@ -651,9 +651,9 @@ function equals$B(existing, incoming) {
651
651
  return true;
652
652
  }
653
653
 
654
- const TTL$x = 100;
655
- const VERSION$A = "f7e3c655efe77a7c9968ade15a6029b1";
656
- function validate$16(obj, path = 'ManagedContentDeploymentRepresentation') {
654
+ const TTL$y = 100;
655
+ const VERSION$C = "f7e3c655efe77a7c9968ade15a6029b1";
656
+ function validate$18(obj, path = 'ManagedContentDeploymentRepresentation') {
657
657
  const v_error = (() => {
658
658
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
659
659
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -723,7 +723,7 @@ function validate$16(obj, path = 'ManagedContentDeploymentRepresentation') {
723
723
  for (let i = 0; i < obj_deploymentItems.length; i++) {
724
724
  const obj_deploymentItems_item = obj_deploymentItems[i];
725
725
  const path_deploymentItems_item = path_deploymentItems + '[' + i + ']';
726
- const referencepath_deploymentItems_itemValidationError = validate$18(obj_deploymentItems_item, path_deploymentItems_item);
726
+ const referencepath_deploymentItems_itemValidationError = validate$1a(obj_deploymentItems_item, path_deploymentItems_item);
727
727
  if (referencepath_deploymentItems_itemValidationError !== null) {
728
728
  let message = 'Object doesn\'t match ManagedContentDeploymentItemRepresentation (at "' + path_deploymentItems_item + '")\n';
729
729
  message += referencepath_deploymentItems_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -786,7 +786,7 @@ function validate$16(obj, path = 'ManagedContentDeploymentRepresentation') {
786
786
  const path_lastModifiedBy = path + '.lastModifiedBy';
787
787
  let obj_lastModifiedBy_union0 = null;
788
788
  const obj_lastModifiedBy_union0_error = (() => {
789
- const referencepath_lastModifiedByValidationError = validate$17(obj_lastModifiedBy, path_lastModifiedBy);
789
+ const referencepath_lastModifiedByValidationError = validate$19(obj_lastModifiedBy, path_lastModifiedBy);
790
790
  if (referencepath_lastModifiedByValidationError !== null) {
791
791
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
792
792
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -840,25 +840,25 @@ function validate$16(obj, path = 'ManagedContentDeploymentRepresentation') {
840
840
  })();
841
841
  return v_error === undefined ? null : v_error;
842
842
  }
843
- const RepresentationType$x = 'ManagedContentDeploymentRepresentation';
844
- function keyBuilder$14(luvio, config) {
845
- return keyPrefix + '::' + RepresentationType$x + ':' + config.id;
843
+ const RepresentationType$y = 'ManagedContentDeploymentRepresentation';
844
+ function keyBuilder$16(luvio, config) {
845
+ return keyPrefix + '::' + RepresentationType$y + ':' + config.id;
846
846
  }
847
847
  function keyBuilderFromType$h(luvio, object) {
848
848
  const keyParams = {
849
849
  id: object.deploymentId
850
850
  };
851
- return keyBuilder$14(luvio, keyParams);
851
+ return keyBuilder$16(luvio, keyParams);
852
852
  }
853
- function normalize$x(input, existing, path, luvio, store, timestamp) {
853
+ function normalize$y(input, existing, path, luvio, store, timestamp) {
854
854
  return input;
855
855
  }
856
- const select$1f = function ManagedContentDeploymentRepresentationSelect() {
857
- const { selections: ManagedContentDeploymentItemRepresentation__selections, opaque: ManagedContentDeploymentItemRepresentation__opaque, } = select$1h();
858
- const { selections: ManagedContentUserSummaryRepresentation__selections, opaque: ManagedContentUserSummaryRepresentation__opaque, } = select$1g();
856
+ const select$1i = function ManagedContentDeploymentRepresentationSelect() {
857
+ const { selections: ManagedContentDeploymentItemRepresentation__selections, opaque: ManagedContentDeploymentItemRepresentation__opaque, } = select$1k();
858
+ const { selections: ManagedContentUserSummaryRepresentation__selections, opaque: ManagedContentUserSummaryRepresentation__opaque, } = select$1j();
859
859
  return {
860
860
  kind: 'Fragment',
861
- version: VERSION$A,
861
+ version: VERSION$C,
862
862
  private: [],
863
863
  selections: [
864
864
  {
@@ -900,7 +900,7 @@ const select$1f = function ManagedContentDeploymentRepresentationSelect() {
900
900
  ]
901
901
  };
902
902
  };
903
- function equals$A(existing, incoming) {
903
+ function equals$C(existing, incoming) {
904
904
  const existing_deploymentId = existing.deploymentId;
905
905
  const incoming_deploymentId = incoming.deploymentId;
906
906
  if (!(existing_deploymentId === incoming_deploymentId)) {
@@ -919,7 +919,7 @@ function equals$A(existing, incoming) {
919
919
  const existing_deploymentItems = existing.deploymentItems;
920
920
  const incoming_deploymentItems = incoming.deploymentItems;
921
921
  const equals_deploymentItems_items = equalsArray(existing_deploymentItems, incoming_deploymentItems, (existing_deploymentItems_item, incoming_deploymentItems_item) => {
922
- if (!(equals$C(existing_deploymentItems_item, incoming_deploymentItems_item))) {
922
+ if (!(equals$E(existing_deploymentItems_item, incoming_deploymentItems_item))) {
923
923
  return false;
924
924
  }
925
925
  });
@@ -941,7 +941,7 @@ function equals$A(existing, incoming) {
941
941
  if (!(existing_lastModifiedBy === incoming_lastModifiedBy
942
942
  || (existing_lastModifiedBy != null &&
943
943
  incoming_lastModifiedBy != null &&
944
- equals$B(existing_lastModifiedBy, incoming_lastModifiedBy)))) {
944
+ equals$D(existing_lastModifiedBy, incoming_lastModifiedBy)))) {
945
945
  return false;
946
946
  }
947
947
  const existing_scheduledDate = existing.scheduledDate;
@@ -951,31 +951,31 @@ function equals$A(existing, incoming) {
951
951
  }
952
952
  return true;
953
953
  }
954
- const ingest$x = function ManagedContentDeploymentRepresentationIngest(input, path, luvio, store, timestamp) {
954
+ const ingest$y = function ManagedContentDeploymentRepresentationIngest(input, path, luvio, store, timestamp) {
955
955
  if (process.env.NODE_ENV !== 'production') {
956
- const validateError = validate$16(input);
956
+ const validateError = validate$18(input);
957
957
  if (validateError !== null) {
958
958
  throw validateError;
959
959
  }
960
960
  }
961
961
  const key = keyBuilderFromType$h(luvio, input);
962
- const ttlToUse = TTL$x;
963
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$x, "CMSAuthoring", VERSION$A, RepresentationType$x, equals$A);
962
+ const ttlToUse = TTL$y;
963
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$y, "CMSAuthoring", VERSION$C, RepresentationType$y, equals$C);
964
964
  return createLink(key);
965
965
  };
966
- function getTypeCacheKeys$x(rootKeySet, luvio, input, fullPathFactory) {
966
+ function getTypeCacheKeys$y(rootKeySet, luvio, input, fullPathFactory) {
967
967
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
968
968
  const rootKey = keyBuilderFromType$h(luvio, input);
969
969
  rootKeySet.set(rootKey, {
970
970
  namespace: keyPrefix,
971
- representationName: RepresentationType$x,
971
+ representationName: RepresentationType$y,
972
972
  mergeable: false
973
973
  });
974
974
  }
975
975
 
976
- const TTL$w = 100;
977
- const VERSION$z = "b2c15aa80814ecd854e68bf635879e35";
978
- function validate$15(obj, path = 'ManagedContentDeploymentCollectionRepresentation') {
976
+ const TTL$x = 100;
977
+ const VERSION$B = "b2c15aa80814ecd854e68bf635879e35";
978
+ function validate$17(obj, path = 'ManagedContentDeploymentCollectionRepresentation') {
979
979
  const v_error = (() => {
980
980
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
981
981
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1052,14 +1052,14 @@ function validate$15(obj, path = 'ManagedContentDeploymentCollectionRepresentati
1052
1052
  })();
1053
1053
  return v_error === undefined ? null : v_error;
1054
1054
  }
1055
- const RepresentationType$w = 'ManagedContentDeploymentCollectionRepresentation';
1056
- function normalize$w(input, existing, path, luvio, store, timestamp) {
1055
+ const RepresentationType$x = 'ManagedContentDeploymentCollectionRepresentation';
1056
+ function normalize$x(input, existing, path, luvio, store, timestamp) {
1057
1057
  const input_deployments = input.deployments;
1058
1058
  const input_deployments_id = path.fullPath + '__deployments';
1059
1059
  for (let i = 0; i < input_deployments.length; i++) {
1060
1060
  const input_deployments_item = input_deployments[i];
1061
1061
  let input_deployments_item_id = input_deployments_id + '__' + i;
1062
- input_deployments[i] = ingest$x(input_deployments_item, {
1062
+ input_deployments[i] = ingest$y(input_deployments_item, {
1063
1063
  fullPath: input_deployments_item_id,
1064
1064
  propertyName: i,
1065
1065
  parent: {
@@ -1072,10 +1072,10 @@ function normalize$w(input, existing, path, luvio, store, timestamp) {
1072
1072
  }
1073
1073
  return input;
1074
1074
  }
1075
- const select$1e = function ManagedContentDeploymentCollectionRepresentationSelect() {
1075
+ const select$1h = function ManagedContentDeploymentCollectionRepresentationSelect() {
1076
1076
  return {
1077
1077
  kind: 'Fragment',
1078
- version: VERSION$z,
1078
+ version: VERSION$B,
1079
1079
  private: [],
1080
1080
  selections: [
1081
1081
  {
@@ -1086,7 +1086,7 @@ const select$1e = function ManagedContentDeploymentCollectionRepresentationSelec
1086
1086
  name: 'deployments',
1087
1087
  kind: 'Link',
1088
1088
  plural: true,
1089
- fragment: select$1f()
1089
+ fragment: select$1i()
1090
1090
  },
1091
1091
  {
1092
1092
  name: 'nextPageUrl',
@@ -1099,7 +1099,7 @@ const select$1e = function ManagedContentDeploymentCollectionRepresentationSelec
1099
1099
  ]
1100
1100
  };
1101
1101
  };
1102
- function equals$z(existing, incoming) {
1102
+ function equals$B(existing, incoming) {
1103
1103
  const existing_currentPageUrl = existing.currentPageUrl;
1104
1104
  const incoming_currentPageUrl = incoming.currentPageUrl;
1105
1105
  if (!(existing_currentPageUrl === incoming_currentPageUrl)) {
@@ -1127,48 +1127,48 @@ function equals$z(existing, incoming) {
1127
1127
  }
1128
1128
  return true;
1129
1129
  }
1130
- const ingest$w = function ManagedContentDeploymentCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
1130
+ const ingest$x = function ManagedContentDeploymentCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
1131
1131
  if (process.env.NODE_ENV !== 'production') {
1132
- const validateError = validate$15(input);
1132
+ const validateError = validate$17(input);
1133
1133
  if (validateError !== null) {
1134
1134
  throw validateError;
1135
1135
  }
1136
1136
  }
1137
1137
  const key = path.fullPath;
1138
- const ttlToUse = TTL$w;
1139
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$w, "CMSAuthoring", VERSION$z, RepresentationType$w, equals$z);
1138
+ const ttlToUse = TTL$x;
1139
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$x, "CMSAuthoring", VERSION$B, RepresentationType$x, equals$B);
1140
1140
  return createLink(key);
1141
1141
  };
1142
- function getTypeCacheKeys$w(rootKeySet, luvio, input, fullPathFactory) {
1142
+ function getTypeCacheKeys$x(rootKeySet, luvio, input, fullPathFactory) {
1143
1143
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1144
1144
  const rootKey = fullPathFactory();
1145
1145
  rootKeySet.set(rootKey, {
1146
1146
  namespace: keyPrefix,
1147
- representationName: RepresentationType$w,
1147
+ representationName: RepresentationType$x,
1148
1148
  mergeable: false
1149
1149
  });
1150
1150
  const input_deployments_length = input.deployments.length;
1151
1151
  for (let i = 0; i < input_deployments_length; i++) {
1152
- getTypeCacheKeys$x(rootKeySet, luvio, input.deployments[i]);
1152
+ getTypeCacheKeys$y(rootKeySet, luvio, input.deployments[i]);
1153
1153
  }
1154
1154
  }
1155
1155
 
1156
- function select$1d(luvio, params) {
1157
- return select$1e();
1156
+ function select$1g(luvio, params) {
1157
+ return select$1h();
1158
1158
  }
1159
- function keyBuilder$13(luvio, params) {
1159
+ function keyBuilder$15(luvio, params) {
1160
1160
  return keyPrefix + '::ManagedContentDeploymentCollectionRepresentation:(' + 'contentSpaceId:' + params.queryParams.contentSpaceId + ',' + 'deploymentId:' + params.queryParams.deploymentId + ',' + 'deploymentStatus:' + params.queryParams.deploymentStatus + ',' + 'deploymentType:' + params.queryParams.deploymentType + ',' + 'managedContentVersionId:' + params.queryParams.managedContentVersionId + ',' + 'page:' + params.queryParams.page + ',' + 'pageSize:' + params.queryParams.pageSize + ',' + 'variantIds:' + params.queryParams.variantIds + ')';
1161
1161
  }
1162
- function getResponseCacheKeys$H(storeKeyMap, luvio, resourceParams, response) {
1163
- getTypeCacheKeys$w(storeKeyMap, luvio, response, () => keyBuilder$13(luvio, resourceParams));
1162
+ function getResponseCacheKeys$I(storeKeyMap, luvio, resourceParams, response) {
1163
+ getTypeCacheKeys$x(storeKeyMap, luvio, response, () => keyBuilder$15(luvio, resourceParams));
1164
1164
  }
1165
- function ingestSuccess$H(luvio, resourceParams, response, snapshotRefresh) {
1165
+ function ingestSuccess$I(luvio, resourceParams, response, snapshotRefresh) {
1166
1166
  const { body } = response;
1167
- const key = keyBuilder$13(luvio, resourceParams);
1168
- luvio.storeIngest(key, ingest$w, body);
1167
+ const key = keyBuilder$15(luvio, resourceParams);
1168
+ luvio.storeIngest(key, ingest$x, body);
1169
1169
  const snapshot = luvio.storeLookup({
1170
1170
  recordId: key,
1171
- node: select$1d(),
1171
+ node: select$1g(),
1172
1172
  variables: {},
1173
1173
  }, snapshotRefresh);
1174
1174
  if (process.env.NODE_ENV !== 'production') {
@@ -1179,19 +1179,19 @@ function ingestSuccess$H(luvio, resourceParams, response, snapshotRefresh) {
1179
1179
  deepFreeze(snapshot.data);
1180
1180
  return snapshot;
1181
1181
  }
1182
- function ingestError$o(luvio, params, error, snapshotRefresh) {
1183
- const key = keyBuilder$13(luvio, params);
1182
+ function ingestError$p(luvio, params, error, snapshotRefresh) {
1183
+ const key = keyBuilder$15(luvio, params);
1184
1184
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
1185
1185
  const storeMetadataParams = {
1186
- ttl: TTL$w,
1186
+ ttl: TTL$x,
1187
1187
  namespace: keyPrefix,
1188
- version: VERSION$z,
1189
- representationName: RepresentationType$w
1188
+ version: VERSION$B,
1189
+ representationName: RepresentationType$x
1190
1190
  };
1191
1191
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
1192
1192
  return errorSnapshot;
1193
1193
  }
1194
- function createResourceRequest$H(config) {
1194
+ function createResourceRequest$I(config) {
1195
1195
  const headers = {};
1196
1196
  return {
1197
1197
  baseUri: '/services/data/v62.0',
@@ -1205,7 +1205,7 @@ function createResourceRequest$H(config) {
1205
1205
  };
1206
1206
  }
1207
1207
 
1208
- const adapterName$H = 'getDeployments';
1208
+ const adapterName$I = 'getDeployments';
1209
1209
  const oneOfConfigPropertiesIdentifier = [
1210
1210
  'deploymentId',
1211
1211
  'contentSpaceId',
@@ -1222,25 +1222,25 @@ const getDeployments_ConfigPropertyMetadata = [
1222
1222
  generateParamConfigMetadata('pageSize', false, 1 /* QueryParameter */, 3 /* Integer */),
1223
1223
  generateParamConfigMetadata('variantIds', false, 1 /* QueryParameter */, 0 /* String */, true),
1224
1224
  ];
1225
- const getDeployments_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$H, getDeployments_ConfigPropertyMetadata);
1226
- const createResourceParams$H = /*#__PURE__*/ createResourceParams$I(getDeployments_ConfigPropertyMetadata);
1227
- function keyBuilder$12(luvio, config) {
1228
- const resourceParams = createResourceParams$H(config);
1229
- return keyBuilder$13(luvio, resourceParams);
1225
+ const getDeployments_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$I, getDeployments_ConfigPropertyMetadata);
1226
+ const createResourceParams$I = /*#__PURE__*/ createResourceParams$J(getDeployments_ConfigPropertyMetadata);
1227
+ function keyBuilder$14(luvio, config) {
1228
+ const resourceParams = createResourceParams$I(config);
1229
+ return keyBuilder$15(luvio, resourceParams);
1230
1230
  }
1231
- function typeCheckConfig$H(untrustedConfig) {
1231
+ function typeCheckConfig$I(untrustedConfig) {
1232
1232
  const config = {};
1233
- typeCheckConfig$I(untrustedConfig, config, getDeployments_ConfigPropertyMetadata);
1233
+ typeCheckConfig$J(untrustedConfig, config, getDeployments_ConfigPropertyMetadata);
1234
1234
  return config;
1235
1235
  }
1236
- function validateAdapterConfig$H(untrustedConfig, configPropertyNames) {
1236
+ function validateAdapterConfig$I(untrustedConfig, configPropertyNames) {
1237
1237
  if (!untrustedIsObject(untrustedConfig)) {
1238
1238
  return null;
1239
1239
  }
1240
1240
  if (process.env.NODE_ENV !== 'production') {
1241
1241
  validateConfig(untrustedConfig, configPropertyNames, oneOfConfigPropertiesIdentifier);
1242
1242
  }
1243
- const config = typeCheckConfig$H(untrustedConfig);
1243
+ const config = typeCheckConfig$I(untrustedConfig);
1244
1244
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
1245
1245
  return null;
1246
1246
  }
@@ -1252,65 +1252,65 @@ function validateAdapterConfig$H(untrustedConfig, configPropertyNames) {
1252
1252
  }
1253
1253
  return config;
1254
1254
  }
1255
- function adapterFragment$o(luvio, config) {
1256
- createResourceParams$H(config);
1257
- return select$1d();
1255
+ function adapterFragment$p(luvio, config) {
1256
+ createResourceParams$I(config);
1257
+ return select$1g();
1258
1258
  }
1259
- function onFetchResponseSuccess$r(luvio, config, resourceParams, response) {
1260
- const snapshot = ingestSuccess$H(luvio, resourceParams, response, {
1259
+ function onFetchResponseSuccess$s(luvio, config, resourceParams, response) {
1260
+ const snapshot = ingestSuccess$I(luvio, resourceParams, response, {
1261
1261
  config,
1262
- resolve: () => buildNetworkSnapshot$H(luvio, config, snapshotRefreshOptions)
1262
+ resolve: () => buildNetworkSnapshot$I(luvio, config, snapshotRefreshOptions)
1263
1263
  });
1264
1264
  return luvio.storeBroadcast().then(() => snapshot);
1265
1265
  }
1266
- function onFetchResponseError$o(luvio, config, resourceParams, response) {
1267
- const snapshot = ingestError$o(luvio, resourceParams, response, {
1266
+ function onFetchResponseError$p(luvio, config, resourceParams, response) {
1267
+ const snapshot = ingestError$p(luvio, resourceParams, response, {
1268
1268
  config,
1269
- resolve: () => buildNetworkSnapshot$H(luvio, config, snapshotRefreshOptions)
1269
+ resolve: () => buildNetworkSnapshot$I(luvio, config, snapshotRefreshOptions)
1270
1270
  });
1271
1271
  return luvio.storeBroadcast().then(() => snapshot);
1272
1272
  }
1273
- function buildNetworkSnapshot$H(luvio, config, options) {
1274
- const resourceParams = createResourceParams$H(config);
1275
- const request = createResourceRequest$H(resourceParams);
1273
+ function buildNetworkSnapshot$I(luvio, config, options) {
1274
+ const resourceParams = createResourceParams$I(config);
1275
+ const request = createResourceRequest$I(resourceParams);
1276
1276
  return luvio.dispatchResourceRequest(request, options)
1277
1277
  .then((response) => {
1278
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$r(luvio, config, resourceParams, response), () => {
1278
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$s(luvio, config, resourceParams, response), () => {
1279
1279
  const cache = new StoreKeyMap();
1280
- getResponseCacheKeys$H(cache, luvio, resourceParams, response.body);
1280
+ getResponseCacheKeys$I(cache, luvio, resourceParams, response.body);
1281
1281
  return cache;
1282
1282
  });
1283
1283
  }, (response) => {
1284
- return luvio.handleErrorResponse(() => onFetchResponseError$o(luvio, config, resourceParams, response));
1284
+ return luvio.handleErrorResponse(() => onFetchResponseError$p(luvio, config, resourceParams, response));
1285
1285
  });
1286
1286
  }
1287
- function buildNetworkSnapshotCachePolicy$o(context, coercedAdapterRequestContext) {
1288
- return buildNetworkSnapshotCachePolicy$p(context, coercedAdapterRequestContext, buildNetworkSnapshot$H, undefined, false);
1287
+ function buildNetworkSnapshotCachePolicy$p(context, coercedAdapterRequestContext) {
1288
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$I, undefined, false);
1289
1289
  }
1290
- function buildCachedSnapshotCachePolicy$o(context, storeLookup) {
1290
+ function buildCachedSnapshotCachePolicy$p(context, storeLookup) {
1291
1291
  const { luvio, config } = context;
1292
1292
  const selector = {
1293
- recordId: keyBuilder$12(luvio, config),
1294
- node: adapterFragment$o(luvio, config),
1293
+ recordId: keyBuilder$14(luvio, config),
1294
+ node: adapterFragment$p(luvio, config),
1295
1295
  variables: {},
1296
1296
  };
1297
1297
  const cacheSnapshot = storeLookup(selector, {
1298
1298
  config,
1299
- resolve: () => buildNetworkSnapshot$H(luvio, config, snapshotRefreshOptions)
1299
+ resolve: () => buildNetworkSnapshot$I(luvio, config, snapshotRefreshOptions)
1300
1300
  });
1301
1301
  return cacheSnapshot;
1302
1302
  }
1303
1303
  const getDeploymentsAdapterFactory = (luvio) => function CMSAuthoring__getDeployments(untrustedConfig, requestContext) {
1304
- const config = validateAdapterConfig$H(untrustedConfig, getDeployments_ConfigPropertyNames);
1304
+ const config = validateAdapterConfig$I(untrustedConfig, getDeployments_ConfigPropertyNames);
1305
1305
  // Invalid or incomplete config
1306
1306
  if (config === null) {
1307
1307
  return null;
1308
1308
  }
1309
1309
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
1310
- buildCachedSnapshotCachePolicy$o, buildNetworkSnapshotCachePolicy$o);
1310
+ buildCachedSnapshotCachePolicy$p, buildNetworkSnapshotCachePolicy$p);
1311
1311
  };
1312
1312
 
1313
- function validate$14(obj, path = 'ManagedContentDeploymentInputRepresentation') {
1313
+ function validate$16(obj, path = 'ManagedContentDeploymentInputRepresentation') {
1314
1314
  const v_error = (() => {
1315
1315
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1316
1316
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1394,19 +1394,19 @@ function validate$14(obj, path = 'ManagedContentDeploymentInputRepresentation')
1394
1394
  return v_error === undefined ? null : v_error;
1395
1395
  }
1396
1396
 
1397
- function select$1c(luvio, params) {
1398
- return select$1f();
1397
+ function select$1f(luvio, params) {
1398
+ return select$1i();
1399
1399
  }
1400
- function getResponseCacheKeys$G(storeKeyMap, luvio, resourceParams, response) {
1401
- getTypeCacheKeys$x(storeKeyMap, luvio, response);
1400
+ function getResponseCacheKeys$H(storeKeyMap, luvio, resourceParams, response) {
1401
+ getTypeCacheKeys$y(storeKeyMap, luvio, response);
1402
1402
  }
1403
- function ingestSuccess$G(luvio, resourceParams, response) {
1403
+ function ingestSuccess$H(luvio, resourceParams, response) {
1404
1404
  const { body } = response;
1405
1405
  const key = keyBuilderFromType$h(luvio, body);
1406
- luvio.storeIngest(key, ingest$x, body);
1406
+ luvio.storeIngest(key, ingest$y, body);
1407
1407
  const snapshot = luvio.storeLookup({
1408
1408
  recordId: key,
1409
- node: select$1c(),
1409
+ node: select$1f(),
1410
1410
  variables: {},
1411
1411
  });
1412
1412
  if (process.env.NODE_ENV !== 'production') {
@@ -1417,7 +1417,7 @@ function ingestSuccess$G(luvio, resourceParams, response) {
1417
1417
  deepFreeze(snapshot.data);
1418
1418
  return snapshot;
1419
1419
  }
1420
- function createResourceRequest$G(config) {
1420
+ function createResourceRequest$H(config) {
1421
1421
  const headers = {};
1422
1422
  return {
1423
1423
  baseUri: '/services/data/v62.0',
@@ -1431,45 +1431,45 @@ function createResourceRequest$G(config) {
1431
1431
  };
1432
1432
  }
1433
1433
 
1434
- const adapterName$G = 'createDeployment';
1434
+ const adapterName$H = 'createDeployment';
1435
1435
  const createDeployment_ConfigPropertyMetadata = [
1436
1436
  generateParamConfigMetadata('DeploymentInput', true, 2 /* Body */, 4 /* Unsupported */),
1437
1437
  ];
1438
- const createDeployment_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$G, createDeployment_ConfigPropertyMetadata);
1439
- const createResourceParams$G = /*#__PURE__*/ createResourceParams$I(createDeployment_ConfigPropertyMetadata);
1440
- function typeCheckConfig$G(untrustedConfig) {
1438
+ const createDeployment_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$H, createDeployment_ConfigPropertyMetadata);
1439
+ const createResourceParams$H = /*#__PURE__*/ createResourceParams$J(createDeployment_ConfigPropertyMetadata);
1440
+ function typeCheckConfig$H(untrustedConfig) {
1441
1441
  const config = {};
1442
1442
  const untrustedConfig_DeploymentInput = untrustedConfig.DeploymentInput;
1443
- const referenceManagedContentDeploymentInputRepresentationValidationError = validate$14(untrustedConfig_DeploymentInput);
1443
+ const referenceManagedContentDeploymentInputRepresentationValidationError = validate$16(untrustedConfig_DeploymentInput);
1444
1444
  if (referenceManagedContentDeploymentInputRepresentationValidationError === null) {
1445
1445
  config.DeploymentInput = untrustedConfig_DeploymentInput;
1446
1446
  }
1447
1447
  return config;
1448
1448
  }
1449
- function validateAdapterConfig$G(untrustedConfig, configPropertyNames) {
1449
+ function validateAdapterConfig$H(untrustedConfig, configPropertyNames) {
1450
1450
  if (!untrustedIsObject(untrustedConfig)) {
1451
1451
  return null;
1452
1452
  }
1453
1453
  if (process.env.NODE_ENV !== 'production') {
1454
1454
  validateConfig(untrustedConfig, configPropertyNames);
1455
1455
  }
1456
- const config = typeCheckConfig$G(untrustedConfig);
1456
+ const config = typeCheckConfig$H(untrustedConfig);
1457
1457
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
1458
1458
  return null;
1459
1459
  }
1460
1460
  return config;
1461
1461
  }
1462
- function buildNetworkSnapshot$G(luvio, config, options) {
1463
- const resourceParams = createResourceParams$G(config);
1464
- const request = createResourceRequest$G(resourceParams);
1462
+ function buildNetworkSnapshot$H(luvio, config, options) {
1463
+ const resourceParams = createResourceParams$H(config);
1464
+ const request = createResourceRequest$H(resourceParams);
1465
1465
  return luvio.dispatchResourceRequest(request, options)
1466
1466
  .then((response) => {
1467
1467
  return luvio.handleSuccessResponse(() => {
1468
- const snapshot = ingestSuccess$G(luvio, resourceParams, response);
1468
+ const snapshot = ingestSuccess$H(luvio, resourceParams, response);
1469
1469
  return luvio.storeBroadcast().then(() => snapshot);
1470
1470
  }, () => {
1471
1471
  const cache = new StoreKeyMap();
1472
- getResponseCacheKeys$G(cache, luvio, resourceParams, response.body);
1472
+ getResponseCacheKeys$H(cache, luvio, resourceParams, response.body);
1473
1473
  return cache;
1474
1474
  });
1475
1475
  }, (response) => {
@@ -1479,17 +1479,17 @@ function buildNetworkSnapshot$G(luvio, config, options) {
1479
1479
  }
1480
1480
  const createDeploymentAdapterFactory = (luvio) => {
1481
1481
  return function createDeployment(untrustedConfig) {
1482
- const config = validateAdapterConfig$G(untrustedConfig, createDeployment_ConfigPropertyNames);
1482
+ const config = validateAdapterConfig$H(untrustedConfig, createDeployment_ConfigPropertyNames);
1483
1483
  // Invalid or incomplete config
1484
1484
  if (config === null) {
1485
1485
  throw new Error('Invalid config for "createDeployment"');
1486
1486
  }
1487
- return buildNetworkSnapshot$G(luvio, config);
1487
+ return buildNetworkSnapshot$H(luvio, config);
1488
1488
  };
1489
1489
  };
1490
1490
 
1491
- const VERSION$y = "7e57fd77c4503be9a8822f2603a04df3";
1492
- function validate$13(obj, path = 'ManagedContentJobBodyRepresentation') {
1491
+ const VERSION$A = "7e57fd77c4503be9a8822f2603a04df3";
1492
+ function validate$15(obj, path = 'ManagedContentJobBodyRepresentation') {
1493
1493
  const v_error = (() => {
1494
1494
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1495
1495
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1517,10 +1517,10 @@ function validate$13(obj, path = 'ManagedContentJobBodyRepresentation') {
1517
1517
  })();
1518
1518
  return v_error === undefined ? null : v_error;
1519
1519
  }
1520
- const select$1b = function ManagedContentJobBodyRepresentationSelect() {
1520
+ const select$1e = function ManagedContentJobBodyRepresentationSelect() {
1521
1521
  return {
1522
1522
  kind: 'Fragment',
1523
- version: VERSION$y,
1523
+ version: VERSION$A,
1524
1524
  private: [],
1525
1525
  selections: [
1526
1526
  {
@@ -1542,7 +1542,7 @@ const select$1b = function ManagedContentJobBodyRepresentationSelect() {
1542
1542
  ]
1543
1543
  };
1544
1544
  };
1545
- function equals$y(existing, incoming) {
1545
+ function equals$A(existing, incoming) {
1546
1546
  const existing_bodyType = existing.bodyType;
1547
1547
  const incoming_bodyType = incoming.bodyType;
1548
1548
  if (!(existing_bodyType === incoming_bodyType)) {
@@ -1566,8 +1566,8 @@ function equals$y(existing, incoming) {
1566
1566
  return true;
1567
1567
  }
1568
1568
 
1569
- const VERSION$x = "eba1876bba76cb05d9cbb8a968bd6796";
1570
- function validate$12(obj, path = 'ManagedContentJobBodyCollectionRepresentation') {
1569
+ const VERSION$z = "eba1876bba76cb05d9cbb8a968bd6796";
1570
+ function validate$14(obj, path = 'ManagedContentJobBodyCollectionRepresentation') {
1571
1571
  const v_error = (() => {
1572
1572
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1573
1573
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1580,7 +1580,7 @@ function validate$12(obj, path = 'ManagedContentJobBodyCollectionRepresentation'
1580
1580
  for (let i = 0; i < obj_jobBodies.length; i++) {
1581
1581
  const obj_jobBodies_item = obj_jobBodies[i];
1582
1582
  const path_jobBodies_item = path_jobBodies + '[' + i + ']';
1583
- const referencepath_jobBodies_itemValidationError = validate$13(obj_jobBodies_item, path_jobBodies_item);
1583
+ const referencepath_jobBodies_itemValidationError = validate$15(obj_jobBodies_item, path_jobBodies_item);
1584
1584
  if (referencepath_jobBodies_itemValidationError !== null) {
1585
1585
  let message = 'Object doesn\'t match ManagedContentJobBodyRepresentation (at "' + path_jobBodies_item + '")\n';
1586
1586
  message += referencepath_jobBodies_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1590,11 +1590,11 @@ function validate$12(obj, path = 'ManagedContentJobBodyCollectionRepresentation'
1590
1590
  })();
1591
1591
  return v_error === undefined ? null : v_error;
1592
1592
  }
1593
- const select$1a = function ManagedContentJobBodyCollectionRepresentationSelect() {
1594
- const { selections: ManagedContentJobBodyRepresentation__selections, opaque: ManagedContentJobBodyRepresentation__opaque, } = select$1b();
1593
+ const select$1d = function ManagedContentJobBodyCollectionRepresentationSelect() {
1594
+ const { selections: ManagedContentJobBodyRepresentation__selections, opaque: ManagedContentJobBodyRepresentation__opaque, } = select$1e();
1595
1595
  return {
1596
1596
  kind: 'Fragment',
1597
- version: VERSION$x,
1597
+ version: VERSION$z,
1598
1598
  private: [],
1599
1599
  selections: [
1600
1600
  {
@@ -1606,11 +1606,11 @@ const select$1a = function ManagedContentJobBodyCollectionRepresentationSelect()
1606
1606
  ]
1607
1607
  };
1608
1608
  };
1609
- function equals$x(existing, incoming) {
1609
+ function equals$z(existing, incoming) {
1610
1610
  const existing_jobBodies = existing.jobBodies;
1611
1611
  const incoming_jobBodies = incoming.jobBodies;
1612
1612
  const equals_jobBodies_items = equalsArray(existing_jobBodies, incoming_jobBodies, (existing_jobBodies_item, incoming_jobBodies_item) => {
1613
- if (!(equals$y(existing_jobBodies_item, incoming_jobBodies_item))) {
1613
+ if (!(equals$A(existing_jobBodies_item, incoming_jobBodies_item))) {
1614
1614
  return false;
1615
1615
  }
1616
1616
  });
@@ -1620,9 +1620,9 @@ function equals$x(existing, incoming) {
1620
1620
  return true;
1621
1621
  }
1622
1622
 
1623
- const TTL$v = 100;
1624
- const VERSION$w = "9c2de7843d4d4e7784d56c7f83c58f0e";
1625
- function validate$11(obj, path = 'ManagedContentV2JobDetailRepresentation') {
1623
+ const TTL$w = 100;
1624
+ const VERSION$y = "9c2de7843d4d4e7784d56c7f83c58f0e";
1625
+ function validate$13(obj, path = 'ManagedContentV2JobDetailRepresentation') {
1626
1626
  const v_error = (() => {
1627
1627
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1628
1628
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1631,7 +1631,7 @@ function validate$11(obj, path = 'ManagedContentV2JobDetailRepresentation') {
1631
1631
  const path_body = path + '.body';
1632
1632
  let obj_body_union0 = null;
1633
1633
  const obj_body_union0_error = (() => {
1634
- const referencepath_bodyValidationError = validate$12(obj_body, path_body);
1634
+ const referencepath_bodyValidationError = validate$14(obj_body, path_body);
1635
1635
  if (referencepath_bodyValidationError !== null) {
1636
1636
  let message = 'Object doesn\'t match ManagedContentJobBodyCollectionRepresentation (at "' + path_body + '")\n';
1637
1637
  message += referencepath_bodyValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1725,24 +1725,24 @@ function validate$11(obj, path = 'ManagedContentV2JobDetailRepresentation') {
1725
1725
  })();
1726
1726
  return v_error === undefined ? null : v_error;
1727
1727
  }
1728
- const RepresentationType$v = 'ManagedContentV2JobDetailRepresentation';
1729
- function keyBuilder$11(luvio, config) {
1730
- return keyPrefix + '::' + RepresentationType$v + ':' + config.id;
1728
+ const RepresentationType$w = 'ManagedContentV2JobDetailRepresentation';
1729
+ function keyBuilder$13(luvio, config) {
1730
+ return keyPrefix + '::' + RepresentationType$w + ':' + config.id;
1731
1731
  }
1732
1732
  function keyBuilderFromType$g(luvio, object) {
1733
1733
  const keyParams = {
1734
1734
  id: object.id
1735
1735
  };
1736
- return keyBuilder$11(luvio, keyParams);
1736
+ return keyBuilder$13(luvio, keyParams);
1737
1737
  }
1738
- function normalize$v(input, existing, path, luvio, store, timestamp) {
1738
+ function normalize$w(input, existing, path, luvio, store, timestamp) {
1739
1739
  return input;
1740
1740
  }
1741
- const select$19 = function ManagedContentV2JobDetailRepresentationSelect() {
1742
- const { selections: ManagedContentJobBodyCollectionRepresentation__selections, opaque: ManagedContentJobBodyCollectionRepresentation__opaque, } = select$1a();
1741
+ const select$1c = function ManagedContentV2JobDetailRepresentationSelect() {
1742
+ const { selections: ManagedContentJobBodyCollectionRepresentation__selections, opaque: ManagedContentJobBodyCollectionRepresentation__opaque, } = select$1d();
1743
1743
  return {
1744
1744
  kind: 'Fragment',
1745
- version: VERSION$w,
1745
+ version: VERSION$y,
1746
1746
  private: [],
1747
1747
  selections: [
1748
1748
  {
@@ -1790,7 +1790,7 @@ const select$19 = function ManagedContentV2JobDetailRepresentationSelect() {
1790
1790
  ]
1791
1791
  };
1792
1792
  };
1793
- function equals$w(existing, incoming) {
1793
+ function equals$y(existing, incoming) {
1794
1794
  const existing_createdById = existing.createdById;
1795
1795
  const incoming_createdById = incoming.createdById;
1796
1796
  if (!(existing_createdById === incoming_createdById)) {
@@ -1836,7 +1836,7 @@ function equals$w(existing, incoming) {
1836
1836
  if (!(existing_body === incoming_body
1837
1837
  || (existing_body != null &&
1838
1838
  incoming_body != null &&
1839
- equals$x(existing_body, incoming_body)))) {
1839
+ equals$z(existing_body, incoming_body)))) {
1840
1840
  return false;
1841
1841
  }
1842
1842
  const existing_createdDate = existing.createdDate;
@@ -1846,31 +1846,31 @@ function equals$w(existing, incoming) {
1846
1846
  }
1847
1847
  return true;
1848
1848
  }
1849
- const ingest$v = function ManagedContentV2JobDetailRepresentationIngest(input, path, luvio, store, timestamp) {
1849
+ const ingest$w = function ManagedContentV2JobDetailRepresentationIngest(input, path, luvio, store, timestamp) {
1850
1850
  if (process.env.NODE_ENV !== 'production') {
1851
- const validateError = validate$11(input);
1851
+ const validateError = validate$13(input);
1852
1852
  if (validateError !== null) {
1853
1853
  throw validateError;
1854
1854
  }
1855
1855
  }
1856
1856
  const key = keyBuilderFromType$g(luvio, input);
1857
- const ttlToUse = TTL$v;
1858
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$v, "CMSAuthoring", VERSION$w, RepresentationType$v, equals$w);
1857
+ const ttlToUse = TTL$w;
1858
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$w, "CMSAuthoring", VERSION$y, RepresentationType$w, equals$y);
1859
1859
  return createLink(key);
1860
1860
  };
1861
- function getTypeCacheKeys$v(rootKeySet, luvio, input, fullPathFactory) {
1861
+ function getTypeCacheKeys$w(rootKeySet, luvio, input, fullPathFactory) {
1862
1862
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1863
1863
  const rootKey = keyBuilderFromType$g(luvio, input);
1864
1864
  rootKeySet.set(rootKey, {
1865
1865
  namespace: keyPrefix,
1866
- representationName: RepresentationType$v,
1866
+ representationName: RepresentationType$w,
1867
1867
  mergeable: false
1868
1868
  });
1869
1869
  }
1870
1870
 
1871
- const TTL$u = 100;
1872
- const VERSION$v = "75cfd71e168144693d36fa16f7d8f4d0";
1873
- function validate$10(obj, path = 'ManagedContentJobCollectionRepresentation') {
1871
+ const TTL$v = 100;
1872
+ const VERSION$x = "75cfd71e168144693d36fa16f7d8f4d0";
1873
+ function validate$12(obj, path = 'ManagedContentJobCollectionRepresentation') {
1874
1874
  const v_error = (() => {
1875
1875
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1876
1876
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1947,14 +1947,14 @@ function validate$10(obj, path = 'ManagedContentJobCollectionRepresentation') {
1947
1947
  })();
1948
1948
  return v_error === undefined ? null : v_error;
1949
1949
  }
1950
- const RepresentationType$u = 'ManagedContentJobCollectionRepresentation';
1951
- function normalize$u(input, existing, path, luvio, store, timestamp) {
1950
+ const RepresentationType$v = 'ManagedContentJobCollectionRepresentation';
1951
+ function normalize$v(input, existing, path, luvio, store, timestamp) {
1952
1952
  const input_jobs = input.jobs;
1953
1953
  const input_jobs_id = path.fullPath + '__jobs';
1954
1954
  for (let i = 0; i < input_jobs.length; i++) {
1955
1955
  const input_jobs_item = input_jobs[i];
1956
1956
  let input_jobs_item_id = input_jobs_id + '__' + i;
1957
- input_jobs[i] = ingest$v(input_jobs_item, {
1957
+ input_jobs[i] = ingest$w(input_jobs_item, {
1958
1958
  fullPath: input_jobs_item_id,
1959
1959
  propertyName: i,
1960
1960
  parent: {
@@ -1967,10 +1967,10 @@ function normalize$u(input, existing, path, luvio, store, timestamp) {
1967
1967
  }
1968
1968
  return input;
1969
1969
  }
1970
- const select$18 = function ManagedContentJobCollectionRepresentationSelect() {
1970
+ const select$1b = function ManagedContentJobCollectionRepresentationSelect() {
1971
1971
  return {
1972
1972
  kind: 'Fragment',
1973
- version: VERSION$v,
1973
+ version: VERSION$x,
1974
1974
  private: [],
1975
1975
  selections: [
1976
1976
  {
@@ -1981,7 +1981,7 @@ const select$18 = function ManagedContentJobCollectionRepresentationSelect() {
1981
1981
  name: 'jobs',
1982
1982
  kind: 'Link',
1983
1983
  plural: true,
1984
- fragment: select$19()
1984
+ fragment: select$1c()
1985
1985
  },
1986
1986
  {
1987
1987
  name: 'nextPageUrl',
@@ -1994,7 +1994,7 @@ const select$18 = function ManagedContentJobCollectionRepresentationSelect() {
1994
1994
  ]
1995
1995
  };
1996
1996
  };
1997
- function equals$v(existing, incoming) {
1997
+ function equals$x(existing, incoming) {
1998
1998
  const existing_currentPageUrl = existing.currentPageUrl;
1999
1999
  const incoming_currentPageUrl = incoming.currentPageUrl;
2000
2000
  if (!(existing_currentPageUrl === incoming_currentPageUrl)) {
@@ -2022,48 +2022,48 @@ function equals$v(existing, incoming) {
2022
2022
  }
2023
2023
  return true;
2024
2024
  }
2025
- const ingest$u = function ManagedContentJobCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
2025
+ const ingest$v = function ManagedContentJobCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
2026
2026
  if (process.env.NODE_ENV !== 'production') {
2027
- const validateError = validate$10(input);
2027
+ const validateError = validate$12(input);
2028
2028
  if (validateError !== null) {
2029
2029
  throw validateError;
2030
2030
  }
2031
2031
  }
2032
2032
  const key = path.fullPath;
2033
- const ttlToUse = TTL$u;
2034
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$u, "CMSAuthoring", VERSION$v, RepresentationType$u, equals$v);
2033
+ const ttlToUse = TTL$v;
2034
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$v, "CMSAuthoring", VERSION$x, RepresentationType$v, equals$x);
2035
2035
  return createLink(key);
2036
2036
  };
2037
- function getTypeCacheKeys$u(rootKeySet, luvio, input, fullPathFactory) {
2037
+ function getTypeCacheKeys$v(rootKeySet, luvio, input, fullPathFactory) {
2038
2038
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
2039
2039
  const rootKey = fullPathFactory();
2040
2040
  rootKeySet.set(rootKey, {
2041
2041
  namespace: keyPrefix,
2042
- representationName: RepresentationType$u,
2042
+ representationName: RepresentationType$v,
2043
2043
  mergeable: false
2044
2044
  });
2045
2045
  const input_jobs_length = input.jobs.length;
2046
2046
  for (let i = 0; i < input_jobs_length; i++) {
2047
- getTypeCacheKeys$v(rootKeySet, luvio, input.jobs[i]);
2047
+ getTypeCacheKeys$w(rootKeySet, luvio, input.jobs[i]);
2048
2048
  }
2049
2049
  }
2050
2050
 
2051
- function select$17(luvio, params) {
2052
- return select$18();
2051
+ function select$1a(luvio, params) {
2052
+ return select$1b();
2053
2053
  }
2054
- function keyBuilder$10(luvio, params) {
2054
+ function keyBuilder$12(luvio, params) {
2055
2055
  return keyPrefix + '::ManagedContentJobCollectionRepresentation:(' + 'jobType:' + params.queryParams.jobType + ',' + 'page:' + params.queryParams.page + ',' + 'pageSize:' + params.queryParams.pageSize + ',' + 'contentSpaceId:' + params.urlParams.contentSpaceId + ')';
2056
2056
  }
2057
- function getResponseCacheKeys$F(storeKeyMap, luvio, resourceParams, response) {
2058
- getTypeCacheKeys$u(storeKeyMap, luvio, response, () => keyBuilder$10(luvio, resourceParams));
2057
+ function getResponseCacheKeys$G(storeKeyMap, luvio, resourceParams, response) {
2058
+ getTypeCacheKeys$v(storeKeyMap, luvio, response, () => keyBuilder$12(luvio, resourceParams));
2059
2059
  }
2060
- function ingestSuccess$F(luvio, resourceParams, response, snapshotRefresh) {
2060
+ function ingestSuccess$G(luvio, resourceParams, response, snapshotRefresh) {
2061
2061
  const { body } = response;
2062
- const key = keyBuilder$10(luvio, resourceParams);
2063
- luvio.storeIngest(key, ingest$u, body);
2062
+ const key = keyBuilder$12(luvio, resourceParams);
2063
+ luvio.storeIngest(key, ingest$v, body);
2064
2064
  const snapshot = luvio.storeLookup({
2065
2065
  recordId: key,
2066
- node: select$17(),
2066
+ node: select$1a(),
2067
2067
  variables: {},
2068
2068
  }, snapshotRefresh);
2069
2069
  if (process.env.NODE_ENV !== 'production') {
@@ -2074,19 +2074,19 @@ function ingestSuccess$F(luvio, resourceParams, response, snapshotRefresh) {
2074
2074
  deepFreeze(snapshot.data);
2075
2075
  return snapshot;
2076
2076
  }
2077
- function ingestError$n(luvio, params, error, snapshotRefresh) {
2078
- const key = keyBuilder$10(luvio, params);
2077
+ function ingestError$o(luvio, params, error, snapshotRefresh) {
2078
+ const key = keyBuilder$12(luvio, params);
2079
2079
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
2080
2080
  const storeMetadataParams = {
2081
- ttl: TTL$u,
2081
+ ttl: TTL$v,
2082
2082
  namespace: keyPrefix,
2083
- version: VERSION$v,
2084
- representationName: RepresentationType$u
2083
+ version: VERSION$x,
2084
+ representationName: RepresentationType$v
2085
2085
  };
2086
2086
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
2087
2087
  return errorSnapshot;
2088
2088
  }
2089
- function createResourceRequest$F(config) {
2089
+ function createResourceRequest$G(config) {
2090
2090
  const headers = {};
2091
2091
  return {
2092
2092
  baseUri: '/services/data/v62.0',
@@ -2100,113 +2100,113 @@ function createResourceRequest$F(config) {
2100
2100
  };
2101
2101
  }
2102
2102
 
2103
- const adapterName$F = 'getAllCMSJobsForSpace';
2103
+ const adapterName$G = 'getAllCMSJobsForSpace';
2104
2104
  const getAllCMSJobsForSpace_ConfigPropertyMetadata = [
2105
2105
  generateParamConfigMetadata('contentSpaceId', true, 0 /* UrlParameter */, 0 /* String */),
2106
2106
  generateParamConfigMetadata('jobType', false, 1 /* QueryParameter */, 0 /* String */),
2107
2107
  generateParamConfigMetadata('page', false, 1 /* QueryParameter */, 3 /* Integer */),
2108
2108
  generateParamConfigMetadata('pageSize', false, 1 /* QueryParameter */, 3 /* Integer */),
2109
2109
  ];
2110
- const getAllCMSJobsForSpace_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$F, getAllCMSJobsForSpace_ConfigPropertyMetadata);
2111
- const createResourceParams$F = /*#__PURE__*/ createResourceParams$I(getAllCMSJobsForSpace_ConfigPropertyMetadata);
2112
- function keyBuilder$$(luvio, config) {
2113
- const resourceParams = createResourceParams$F(config);
2114
- return keyBuilder$10(luvio, resourceParams);
2110
+ const getAllCMSJobsForSpace_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$G, getAllCMSJobsForSpace_ConfigPropertyMetadata);
2111
+ const createResourceParams$G = /*#__PURE__*/ createResourceParams$J(getAllCMSJobsForSpace_ConfigPropertyMetadata);
2112
+ function keyBuilder$11(luvio, config) {
2113
+ const resourceParams = createResourceParams$G(config);
2114
+ return keyBuilder$12(luvio, resourceParams);
2115
2115
  }
2116
- function typeCheckConfig$F(untrustedConfig) {
2116
+ function typeCheckConfig$G(untrustedConfig) {
2117
2117
  const config = {};
2118
- typeCheckConfig$I(untrustedConfig, config, getAllCMSJobsForSpace_ConfigPropertyMetadata);
2118
+ typeCheckConfig$J(untrustedConfig, config, getAllCMSJobsForSpace_ConfigPropertyMetadata);
2119
2119
  return config;
2120
2120
  }
2121
- function validateAdapterConfig$F(untrustedConfig, configPropertyNames) {
2121
+ function validateAdapterConfig$G(untrustedConfig, configPropertyNames) {
2122
2122
  if (!untrustedIsObject(untrustedConfig)) {
2123
2123
  return null;
2124
2124
  }
2125
2125
  if (process.env.NODE_ENV !== 'production') {
2126
2126
  validateConfig(untrustedConfig, configPropertyNames);
2127
2127
  }
2128
- const config = typeCheckConfig$F(untrustedConfig);
2128
+ const config = typeCheckConfig$G(untrustedConfig);
2129
2129
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
2130
2130
  return null;
2131
2131
  }
2132
2132
  return config;
2133
2133
  }
2134
- function adapterFragment$n(luvio, config) {
2135
- createResourceParams$F(config);
2136
- return select$17();
2134
+ function adapterFragment$o(luvio, config) {
2135
+ createResourceParams$G(config);
2136
+ return select$1a();
2137
2137
  }
2138
- function onFetchResponseSuccess$q(luvio, config, resourceParams, response) {
2139
- const snapshot = ingestSuccess$F(luvio, resourceParams, response, {
2138
+ function onFetchResponseSuccess$r(luvio, config, resourceParams, response) {
2139
+ const snapshot = ingestSuccess$G(luvio, resourceParams, response, {
2140
2140
  config,
2141
- resolve: () => buildNetworkSnapshot$F(luvio, config, snapshotRefreshOptions)
2141
+ resolve: () => buildNetworkSnapshot$G(luvio, config, snapshotRefreshOptions)
2142
2142
  });
2143
2143
  return luvio.storeBroadcast().then(() => snapshot);
2144
2144
  }
2145
- function onFetchResponseError$n(luvio, config, resourceParams, response) {
2146
- const snapshot = ingestError$n(luvio, resourceParams, response, {
2145
+ function onFetchResponseError$o(luvio, config, resourceParams, response) {
2146
+ const snapshot = ingestError$o(luvio, resourceParams, response, {
2147
2147
  config,
2148
- resolve: () => buildNetworkSnapshot$F(luvio, config, snapshotRefreshOptions)
2148
+ resolve: () => buildNetworkSnapshot$G(luvio, config, snapshotRefreshOptions)
2149
2149
  });
2150
2150
  return luvio.storeBroadcast().then(() => snapshot);
2151
2151
  }
2152
- function buildNetworkSnapshot$F(luvio, config, options) {
2153
- const resourceParams = createResourceParams$F(config);
2154
- const request = createResourceRequest$F(resourceParams);
2152
+ function buildNetworkSnapshot$G(luvio, config, options) {
2153
+ const resourceParams = createResourceParams$G(config);
2154
+ const request = createResourceRequest$G(resourceParams);
2155
2155
  return luvio.dispatchResourceRequest(request, options)
2156
2156
  .then((response) => {
2157
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$q(luvio, config, resourceParams, response), () => {
2157
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$r(luvio, config, resourceParams, response), () => {
2158
2158
  const cache = new StoreKeyMap();
2159
- getResponseCacheKeys$F(cache, luvio, resourceParams, response.body);
2159
+ getResponseCacheKeys$G(cache, luvio, resourceParams, response.body);
2160
2160
  return cache;
2161
2161
  });
2162
2162
  }, (response) => {
2163
- return luvio.handleErrorResponse(() => onFetchResponseError$n(luvio, config, resourceParams, response));
2163
+ return luvio.handleErrorResponse(() => onFetchResponseError$o(luvio, config, resourceParams, response));
2164
2164
  });
2165
2165
  }
2166
- function buildNetworkSnapshotCachePolicy$n(context, coercedAdapterRequestContext) {
2167
- return buildNetworkSnapshotCachePolicy$p(context, coercedAdapterRequestContext, buildNetworkSnapshot$F, undefined, false);
2166
+ function buildNetworkSnapshotCachePolicy$o(context, coercedAdapterRequestContext) {
2167
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$G, undefined, false);
2168
2168
  }
2169
- function buildCachedSnapshotCachePolicy$n(context, storeLookup) {
2169
+ function buildCachedSnapshotCachePolicy$o(context, storeLookup) {
2170
2170
  const { luvio, config } = context;
2171
2171
  const selector = {
2172
- recordId: keyBuilder$$(luvio, config),
2173
- node: adapterFragment$n(luvio, config),
2172
+ recordId: keyBuilder$11(luvio, config),
2173
+ node: adapterFragment$o(luvio, config),
2174
2174
  variables: {},
2175
2175
  };
2176
2176
  const cacheSnapshot = storeLookup(selector, {
2177
2177
  config,
2178
- resolve: () => buildNetworkSnapshot$F(luvio, config, snapshotRefreshOptions)
2178
+ resolve: () => buildNetworkSnapshot$G(luvio, config, snapshotRefreshOptions)
2179
2179
  });
2180
2180
  return cacheSnapshot;
2181
2181
  }
2182
2182
  const getAllCMSJobsForSpaceAdapterFactory = (luvio) => function CMSAuthoring__getAllCMSJobsForSpace(untrustedConfig, requestContext) {
2183
- const config = validateAdapterConfig$F(untrustedConfig, getAllCMSJobsForSpace_ConfigPropertyNames);
2183
+ const config = validateAdapterConfig$G(untrustedConfig, getAllCMSJobsForSpace_ConfigPropertyNames);
2184
2184
  // Invalid or incomplete config
2185
2185
  if (config === null) {
2186
2186
  return null;
2187
2187
  }
2188
2188
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
2189
- buildCachedSnapshotCachePolicy$n, buildNetworkSnapshotCachePolicy$n);
2189
+ buildCachedSnapshotCachePolicy$o, buildNetworkSnapshotCachePolicy$o);
2190
2190
  };
2191
2191
 
2192
- function select$16(luvio, params) {
2193
- return select$19();
2192
+ function select$19(luvio, params) {
2193
+ return select$1c();
2194
2194
  }
2195
- function keyBuilder$_(luvio, params) {
2196
- return keyBuilder$11(luvio, {
2195
+ function keyBuilder$10(luvio, params) {
2196
+ return keyBuilder$13(luvio, {
2197
2197
  id: params.urlParams.jobId
2198
2198
  });
2199
2199
  }
2200
- function getResponseCacheKeys$E(storeKeyMap, luvio, resourceParams, response) {
2201
- getTypeCacheKeys$v(storeKeyMap, luvio, response);
2200
+ function getResponseCacheKeys$F(storeKeyMap, luvio, resourceParams, response) {
2201
+ getTypeCacheKeys$w(storeKeyMap, luvio, response);
2202
2202
  }
2203
- function ingestSuccess$E(luvio, resourceParams, response, snapshotRefresh) {
2203
+ function ingestSuccess$F(luvio, resourceParams, response, snapshotRefresh) {
2204
2204
  const { body } = response;
2205
- const key = keyBuilder$_(luvio, resourceParams);
2206
- luvio.storeIngest(key, ingest$v, body);
2205
+ const key = keyBuilder$10(luvio, resourceParams);
2206
+ luvio.storeIngest(key, ingest$w, body);
2207
2207
  const snapshot = luvio.storeLookup({
2208
2208
  recordId: key,
2209
- node: select$16(),
2209
+ node: select$19(),
2210
2210
  variables: {},
2211
2211
  }, snapshotRefresh);
2212
2212
  if (process.env.NODE_ENV !== 'production') {
@@ -2217,19 +2217,19 @@ function ingestSuccess$E(luvio, resourceParams, response, snapshotRefresh) {
2217
2217
  deepFreeze(snapshot.data);
2218
2218
  return snapshot;
2219
2219
  }
2220
- function ingestError$m(luvio, params, error, snapshotRefresh) {
2221
- const key = keyBuilder$_(luvio, params);
2220
+ function ingestError$n(luvio, params, error, snapshotRefresh) {
2221
+ const key = keyBuilder$10(luvio, params);
2222
2222
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
2223
2223
  const storeMetadataParams = {
2224
- ttl: TTL$v,
2224
+ ttl: TTL$w,
2225
2225
  namespace: keyPrefix,
2226
- version: VERSION$w,
2227
- representationName: RepresentationType$v
2226
+ version: VERSION$y,
2227
+ representationName: RepresentationType$w
2228
2228
  };
2229
2229
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
2230
2230
  return errorSnapshot;
2231
2231
  }
2232
- function createResourceRequest$E(config) {
2232
+ function createResourceRequest$F(config) {
2233
2233
  const headers = {};
2234
2234
  return {
2235
2235
  baseUri: '/services/data/v62.0',
@@ -2243,94 +2243,94 @@ function createResourceRequest$E(config) {
2243
2243
  };
2244
2244
  }
2245
2245
 
2246
- const adapterName$E = 'getCMSJobForSpace';
2246
+ const adapterName$F = 'getCMSJobForSpace';
2247
2247
  const getCMSJobForSpace_ConfigPropertyMetadata = [
2248
2248
  generateParamConfigMetadata('contentSpaceId', true, 0 /* UrlParameter */, 0 /* String */),
2249
2249
  generateParamConfigMetadata('jobId', true, 0 /* UrlParameter */, 0 /* String */),
2250
2250
  ];
2251
- const getCMSJobForSpace_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$E, getCMSJobForSpace_ConfigPropertyMetadata);
2252
- const createResourceParams$E = /*#__PURE__*/ createResourceParams$I(getCMSJobForSpace_ConfigPropertyMetadata);
2253
- function keyBuilder$Z(luvio, config) {
2254
- const resourceParams = createResourceParams$E(config);
2255
- return keyBuilder$_(luvio, resourceParams);
2251
+ const getCMSJobForSpace_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$F, getCMSJobForSpace_ConfigPropertyMetadata);
2252
+ const createResourceParams$F = /*#__PURE__*/ createResourceParams$J(getCMSJobForSpace_ConfigPropertyMetadata);
2253
+ function keyBuilder$$(luvio, config) {
2254
+ const resourceParams = createResourceParams$F(config);
2255
+ return keyBuilder$10(luvio, resourceParams);
2256
2256
  }
2257
- function typeCheckConfig$E(untrustedConfig) {
2257
+ function typeCheckConfig$F(untrustedConfig) {
2258
2258
  const config = {};
2259
- typeCheckConfig$I(untrustedConfig, config, getCMSJobForSpace_ConfigPropertyMetadata);
2259
+ typeCheckConfig$J(untrustedConfig, config, getCMSJobForSpace_ConfigPropertyMetadata);
2260
2260
  return config;
2261
2261
  }
2262
- function validateAdapterConfig$E(untrustedConfig, configPropertyNames) {
2262
+ function validateAdapterConfig$F(untrustedConfig, configPropertyNames) {
2263
2263
  if (!untrustedIsObject(untrustedConfig)) {
2264
2264
  return null;
2265
2265
  }
2266
2266
  if (process.env.NODE_ENV !== 'production') {
2267
2267
  validateConfig(untrustedConfig, configPropertyNames);
2268
2268
  }
2269
- const config = typeCheckConfig$E(untrustedConfig);
2269
+ const config = typeCheckConfig$F(untrustedConfig);
2270
2270
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
2271
2271
  return null;
2272
2272
  }
2273
2273
  return config;
2274
2274
  }
2275
- function adapterFragment$m(luvio, config) {
2276
- createResourceParams$E(config);
2277
- return select$16();
2275
+ function adapterFragment$n(luvio, config) {
2276
+ createResourceParams$F(config);
2277
+ return select$19();
2278
2278
  }
2279
- function onFetchResponseSuccess$p(luvio, config, resourceParams, response) {
2280
- const snapshot = ingestSuccess$E(luvio, resourceParams, response, {
2279
+ function onFetchResponseSuccess$q(luvio, config, resourceParams, response) {
2280
+ const snapshot = ingestSuccess$F(luvio, resourceParams, response, {
2281
2281
  config,
2282
- resolve: () => buildNetworkSnapshot$E(luvio, config, snapshotRefreshOptions)
2282
+ resolve: () => buildNetworkSnapshot$F(luvio, config, snapshotRefreshOptions)
2283
2283
  });
2284
2284
  return luvio.storeBroadcast().then(() => snapshot);
2285
2285
  }
2286
- function onFetchResponseError$m(luvio, config, resourceParams, response) {
2287
- const snapshot = ingestError$m(luvio, resourceParams, response, {
2286
+ function onFetchResponseError$n(luvio, config, resourceParams, response) {
2287
+ const snapshot = ingestError$n(luvio, resourceParams, response, {
2288
2288
  config,
2289
- resolve: () => buildNetworkSnapshot$E(luvio, config, snapshotRefreshOptions)
2289
+ resolve: () => buildNetworkSnapshot$F(luvio, config, snapshotRefreshOptions)
2290
2290
  });
2291
2291
  return luvio.storeBroadcast().then(() => snapshot);
2292
2292
  }
2293
- function buildNetworkSnapshot$E(luvio, config, options) {
2294
- const resourceParams = createResourceParams$E(config);
2295
- const request = createResourceRequest$E(resourceParams);
2293
+ function buildNetworkSnapshot$F(luvio, config, options) {
2294
+ const resourceParams = createResourceParams$F(config);
2295
+ const request = createResourceRequest$F(resourceParams);
2296
2296
  return luvio.dispatchResourceRequest(request, options)
2297
2297
  .then((response) => {
2298
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$p(luvio, config, resourceParams, response), () => {
2298
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$q(luvio, config, resourceParams, response), () => {
2299
2299
  const cache = new StoreKeyMap();
2300
- getResponseCacheKeys$E(cache, luvio, resourceParams, response.body);
2300
+ getResponseCacheKeys$F(cache, luvio, resourceParams, response.body);
2301
2301
  return cache;
2302
2302
  });
2303
2303
  }, (response) => {
2304
- return luvio.handleErrorResponse(() => onFetchResponseError$m(luvio, config, resourceParams, response));
2304
+ return luvio.handleErrorResponse(() => onFetchResponseError$n(luvio, config, resourceParams, response));
2305
2305
  });
2306
2306
  }
2307
- function buildNetworkSnapshotCachePolicy$m(context, coercedAdapterRequestContext) {
2308
- return buildNetworkSnapshotCachePolicy$p(context, coercedAdapterRequestContext, buildNetworkSnapshot$E, undefined, false);
2307
+ function buildNetworkSnapshotCachePolicy$n(context, coercedAdapterRequestContext) {
2308
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$F, undefined, false);
2309
2309
  }
2310
- function buildCachedSnapshotCachePolicy$m(context, storeLookup) {
2310
+ function buildCachedSnapshotCachePolicy$n(context, storeLookup) {
2311
2311
  const { luvio, config } = context;
2312
2312
  const selector = {
2313
- recordId: keyBuilder$Z(luvio, config),
2314
- node: adapterFragment$m(luvio, config),
2313
+ recordId: keyBuilder$$(luvio, config),
2314
+ node: adapterFragment$n(luvio, config),
2315
2315
  variables: {},
2316
2316
  };
2317
2317
  const cacheSnapshot = storeLookup(selector, {
2318
2318
  config,
2319
- resolve: () => buildNetworkSnapshot$E(luvio, config, snapshotRefreshOptions)
2319
+ resolve: () => buildNetworkSnapshot$F(luvio, config, snapshotRefreshOptions)
2320
2320
  });
2321
2321
  return cacheSnapshot;
2322
2322
  }
2323
2323
  const getCMSJobForSpaceAdapterFactory = (luvio) => function CMSAuthoring__getCMSJobForSpace(untrustedConfig, requestContext) {
2324
- const config = validateAdapterConfig$E(untrustedConfig, getCMSJobForSpace_ConfigPropertyNames);
2324
+ const config = validateAdapterConfig$F(untrustedConfig, getCMSJobForSpace_ConfigPropertyNames);
2325
2325
  // Invalid or incomplete config
2326
2326
  if (config === null) {
2327
2327
  return null;
2328
2328
  }
2329
2329
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
2330
- buildCachedSnapshotCachePolicy$m, buildNetworkSnapshotCachePolicy$m);
2330
+ buildCachedSnapshotCachePolicy$n, buildNetworkSnapshotCachePolicy$n);
2331
2331
  };
2332
2332
 
2333
- function validate$$(obj, path = 'ManagedContentSpaceFolderItemV1Representation') {
2333
+ function validate$11(obj, path = 'ManagedContentSpaceFolderItemV1Representation') {
2334
2334
  const v_error = (() => {
2335
2335
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2336
2336
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2418,9 +2418,9 @@ function validate$$(obj, path = 'ManagedContentSpaceFolderItemV1Representation')
2418
2418
  return v_error === undefined ? null : v_error;
2419
2419
  }
2420
2420
 
2421
- const TTL$t = 100;
2422
- const VERSION$u = "df1370994ae2e57cdebc5f5125930e2d";
2423
- function validate$_(obj, path = 'ManagedContentSpaceFolderItemV1CollectionRepresentation') {
2421
+ const TTL$u = 100;
2422
+ const VERSION$w = "df1370994ae2e57cdebc5f5125930e2d";
2423
+ function validate$10(obj, path = 'ManagedContentSpaceFolderItemV1CollectionRepresentation') {
2424
2424
  const v_error = (() => {
2425
2425
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2426
2426
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2438,7 +2438,7 @@ function validate$_(obj, path = 'ManagedContentSpaceFolderItemV1CollectionRepres
2438
2438
  for (let i = 0; i < obj_folderItems.length; i++) {
2439
2439
  const obj_folderItems_item = obj_folderItems[i];
2440
2440
  const path_folderItems_item = path_folderItems + '[' + i + ']';
2441
- const referencepath_folderItems_itemValidationError = validate$$(obj_folderItems_item, path_folderItems_item);
2441
+ const referencepath_folderItems_itemValidationError = validate$11(obj_folderItems_item, path_folderItems_item);
2442
2442
  if (referencepath_folderItems_itemValidationError !== null) {
2443
2443
  let message = 'Object doesn\'t match ManagedContentSpaceFolderItemV1Representation (at "' + path_folderItems_item + '")\n';
2444
2444
  message += referencepath_folderItems_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2474,62 +2474,62 @@ function validate$_(obj, path = 'ManagedContentSpaceFolderItemV1CollectionRepres
2474
2474
  })();
2475
2475
  return v_error === undefined ? null : v_error;
2476
2476
  }
2477
- const RepresentationType$t = 'ManagedContentSpaceFolderItemV1CollectionRepresentation';
2478
- function normalize$t(input, existing, path, luvio, store, timestamp) {
2477
+ const RepresentationType$u = 'ManagedContentSpaceFolderItemV1CollectionRepresentation';
2478
+ function normalize$u(input, existing, path, luvio, store, timestamp) {
2479
2479
  return input;
2480
2480
  }
2481
- const select$15 = function ManagedContentSpaceFolderItemV1CollectionRepresentationSelect() {
2481
+ const select$18 = function ManagedContentSpaceFolderItemV1CollectionRepresentationSelect() {
2482
2482
  return {
2483
2483
  kind: 'Fragment',
2484
- version: VERSION$u,
2484
+ version: VERSION$w,
2485
2485
  private: [],
2486
2486
  opaque: true
2487
2487
  };
2488
2488
  };
2489
- function equals$u(existing, incoming) {
2489
+ function equals$w(existing, incoming) {
2490
2490
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
2491
2491
  return false;
2492
2492
  }
2493
2493
  return true;
2494
2494
  }
2495
- const ingest$t = function ManagedContentSpaceFolderItemV1CollectionRepresentationIngest(input, path, luvio, store, timestamp) {
2495
+ const ingest$u = function ManagedContentSpaceFolderItemV1CollectionRepresentationIngest(input, path, luvio, store, timestamp) {
2496
2496
  if (process.env.NODE_ENV !== 'production') {
2497
- const validateError = validate$_(input);
2497
+ const validateError = validate$10(input);
2498
2498
  if (validateError !== null) {
2499
2499
  throw validateError;
2500
2500
  }
2501
2501
  }
2502
2502
  const key = path.fullPath;
2503
- const ttlToUse = TTL$t;
2504
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$t, "CMSAuthoring", VERSION$u, RepresentationType$t, equals$u);
2503
+ const ttlToUse = TTL$u;
2504
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$u, "CMSAuthoring", VERSION$w, RepresentationType$u, equals$w);
2505
2505
  return createLink(key);
2506
2506
  };
2507
- function getTypeCacheKeys$t(rootKeySet, luvio, input, fullPathFactory) {
2507
+ function getTypeCacheKeys$u(rootKeySet, luvio, input, fullPathFactory) {
2508
2508
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
2509
2509
  const rootKey = fullPathFactory();
2510
2510
  rootKeySet.set(rootKey, {
2511
2511
  namespace: keyPrefix,
2512
- representationName: RepresentationType$t,
2512
+ representationName: RepresentationType$u,
2513
2513
  mergeable: false
2514
2514
  });
2515
2515
  }
2516
2516
 
2517
- function select$14(luvio, params) {
2518
- return select$15();
2517
+ function select$17(luvio, params) {
2518
+ return select$18();
2519
2519
  }
2520
- function keyBuilder$Y(luvio, params) {
2520
+ function keyBuilder$_(luvio, params) {
2521
2521
  return keyPrefix + '::ManagedContentSpaceFolderItemV1CollectionRepresentation:(' + 'contentTypeFilter:' + params.queryParams.contentTypeFilter + ',' + 'contentTypes:' + params.queryParams.contentTypes + ',' + 'filter:' + params.queryParams.filter + ',' + 'managedContentType:' + params.queryParams.managedContentType + ',' + 'page:' + params.queryParams.page + ',' + 'pageSize:' + params.queryParams.pageSize + ',' + 'queryTerm:' + params.queryParams.queryTerm + ',' + 'showPublishedOnly:' + params.queryParams.showPublishedOnly + ',' + 'sortBy:' + params.queryParams.sortBy + ',' + 'sortOrder:' + params.queryParams.sortOrder + ',' + 'folderId:' + params.urlParams.folderId + ')';
2522
2522
  }
2523
- function getResponseCacheKeys$D(storeKeyMap, luvio, resourceParams, response) {
2524
- getTypeCacheKeys$t(storeKeyMap, luvio, response, () => keyBuilder$Y(luvio, resourceParams));
2523
+ function getResponseCacheKeys$E(storeKeyMap, luvio, resourceParams, response) {
2524
+ getTypeCacheKeys$u(storeKeyMap, luvio, response, () => keyBuilder$_(luvio, resourceParams));
2525
2525
  }
2526
- function ingestSuccess$D(luvio, resourceParams, response, snapshotRefresh) {
2526
+ function ingestSuccess$E(luvio, resourceParams, response, snapshotRefresh) {
2527
2527
  const { body } = response;
2528
- const key = keyBuilder$Y(luvio, resourceParams);
2529
- luvio.storeIngest(key, ingest$t, body);
2528
+ const key = keyBuilder$_(luvio, resourceParams);
2529
+ luvio.storeIngest(key, ingest$u, body);
2530
2530
  const snapshot = luvio.storeLookup({
2531
2531
  recordId: key,
2532
- node: select$14(),
2532
+ node: select$17(),
2533
2533
  variables: {},
2534
2534
  }, snapshotRefresh);
2535
2535
  if (process.env.NODE_ENV !== 'production') {
@@ -2540,19 +2540,19 @@ function ingestSuccess$D(luvio, resourceParams, response, snapshotRefresh) {
2540
2540
  deepFreeze(snapshot.data);
2541
2541
  return snapshot;
2542
2542
  }
2543
- function ingestError$l(luvio, params, error, snapshotRefresh) {
2544
- const key = keyBuilder$Y(luvio, params);
2543
+ function ingestError$m(luvio, params, error, snapshotRefresh) {
2544
+ const key = keyBuilder$_(luvio, params);
2545
2545
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
2546
2546
  const storeMetadataParams = {
2547
- ttl: TTL$t,
2547
+ ttl: TTL$u,
2548
2548
  namespace: keyPrefix,
2549
- version: VERSION$u,
2550
- representationName: RepresentationType$t
2549
+ version: VERSION$w,
2550
+ representationName: RepresentationType$u
2551
2551
  };
2552
2552
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
2553
2553
  return errorSnapshot;
2554
2554
  }
2555
- function createResourceRequest$D(config) {
2555
+ function createResourceRequest$E(config) {
2556
2556
  const headers = {};
2557
2557
  return {
2558
2558
  baseUri: '/services/data/v62.0',
@@ -2566,7 +2566,7 @@ function createResourceRequest$D(config) {
2566
2566
  };
2567
2567
  }
2568
2568
 
2569
- const adapterName$D = 'getManagedContentSpaceFolderItemsV1';
2569
+ const adapterName$E = 'getManagedContentSpaceFolderItemsV1';
2570
2570
  const getManagedContentSpaceFolderItemsV1_ConfigPropertyMetadata = [
2571
2571
  generateParamConfigMetadata('folderId', true, 0 /* UrlParameter */, 0 /* String */),
2572
2572
  generateParamConfigMetadata('contentTypeFilter', false, 1 /* QueryParameter */, 0 /* String */),
@@ -2580,15 +2580,358 @@ const getManagedContentSpaceFolderItemsV1_ConfigPropertyMetadata = [
2580
2580
  generateParamConfigMetadata('sortBy', false, 1 /* QueryParameter */, 0 /* String */),
2581
2581
  generateParamConfigMetadata('sortOrder', false, 1 /* QueryParameter */, 0 /* String */),
2582
2582
  ];
2583
- const getManagedContentSpaceFolderItemsV1_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$D, getManagedContentSpaceFolderItemsV1_ConfigPropertyMetadata);
2584
- const createResourceParams$D = /*#__PURE__*/ createResourceParams$I(getManagedContentSpaceFolderItemsV1_ConfigPropertyMetadata);
2585
- function keyBuilder$X(luvio, config) {
2583
+ const getManagedContentSpaceFolderItemsV1_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$E, getManagedContentSpaceFolderItemsV1_ConfigPropertyMetadata);
2584
+ const createResourceParams$E = /*#__PURE__*/ createResourceParams$J(getManagedContentSpaceFolderItemsV1_ConfigPropertyMetadata);
2585
+ function keyBuilder$Z(luvio, config) {
2586
+ const resourceParams = createResourceParams$E(config);
2587
+ return keyBuilder$_(luvio, resourceParams);
2588
+ }
2589
+ function typeCheckConfig$E(untrustedConfig) {
2590
+ const config = {};
2591
+ typeCheckConfig$J(untrustedConfig, config, getManagedContentSpaceFolderItemsV1_ConfigPropertyMetadata);
2592
+ return config;
2593
+ }
2594
+ function validateAdapterConfig$E(untrustedConfig, configPropertyNames) {
2595
+ if (!untrustedIsObject(untrustedConfig)) {
2596
+ return null;
2597
+ }
2598
+ if (process.env.NODE_ENV !== 'production') {
2599
+ validateConfig(untrustedConfig, configPropertyNames);
2600
+ }
2601
+ const config = typeCheckConfig$E(untrustedConfig);
2602
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
2603
+ return null;
2604
+ }
2605
+ return config;
2606
+ }
2607
+ function adapterFragment$m(luvio, config) {
2608
+ createResourceParams$E(config);
2609
+ return select$17();
2610
+ }
2611
+ function onFetchResponseSuccess$p(luvio, config, resourceParams, response) {
2612
+ const snapshot = ingestSuccess$E(luvio, resourceParams, response, {
2613
+ config,
2614
+ resolve: () => buildNetworkSnapshot$E(luvio, config, snapshotRefreshOptions)
2615
+ });
2616
+ return luvio.storeBroadcast().then(() => snapshot);
2617
+ }
2618
+ function onFetchResponseError$m(luvio, config, resourceParams, response) {
2619
+ const snapshot = ingestError$m(luvio, resourceParams, response, {
2620
+ config,
2621
+ resolve: () => buildNetworkSnapshot$E(luvio, config, snapshotRefreshOptions)
2622
+ });
2623
+ return luvio.storeBroadcast().then(() => snapshot);
2624
+ }
2625
+ function buildNetworkSnapshot$E(luvio, config, options) {
2626
+ const resourceParams = createResourceParams$E(config);
2627
+ const request = createResourceRequest$E(resourceParams);
2628
+ return luvio.dispatchResourceRequest(request, options)
2629
+ .then((response) => {
2630
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$p(luvio, config, resourceParams, response), () => {
2631
+ const cache = new StoreKeyMap();
2632
+ getResponseCacheKeys$E(cache, luvio, resourceParams, response.body);
2633
+ return cache;
2634
+ });
2635
+ }, (response) => {
2636
+ return luvio.handleErrorResponse(() => onFetchResponseError$m(luvio, config, resourceParams, response));
2637
+ });
2638
+ }
2639
+ function buildNetworkSnapshotCachePolicy$m(context, coercedAdapterRequestContext) {
2640
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$E, undefined, false);
2641
+ }
2642
+ function buildCachedSnapshotCachePolicy$m(context, storeLookup) {
2643
+ const { luvio, config } = context;
2644
+ const selector = {
2645
+ recordId: keyBuilder$Z(luvio, config),
2646
+ node: adapterFragment$m(luvio, config),
2647
+ variables: {},
2648
+ };
2649
+ const cacheSnapshot = storeLookup(selector, {
2650
+ config,
2651
+ resolve: () => buildNetworkSnapshot$E(luvio, config, snapshotRefreshOptions)
2652
+ });
2653
+ return cacheSnapshot;
2654
+ }
2655
+ const getManagedContentSpaceFolderItemsV1AdapterFactory = (luvio) => function CMSAuthoring__getManagedContentSpaceFolderItemsV1(untrustedConfig, requestContext) {
2656
+ const config = validateAdapterConfig$E(untrustedConfig, getManagedContentSpaceFolderItemsV1_ConfigPropertyNames);
2657
+ // Invalid or incomplete config
2658
+ if (config === null) {
2659
+ return null;
2660
+ }
2661
+ return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
2662
+ buildCachedSnapshotCachePolicy$m, buildNetworkSnapshotCachePolicy$m);
2663
+ };
2664
+
2665
+ function validate$$(obj, path = 'ManagedContentCollectionItemTypeSummaryRepresentation') {
2666
+ const v_error = (() => {
2667
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2668
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2669
+ }
2670
+ const obj_fullyQualifiedName = obj.fullyQualifiedName;
2671
+ const path_fullyQualifiedName = path + '.fullyQualifiedName';
2672
+ if (typeof obj_fullyQualifiedName !== 'string') {
2673
+ return new TypeError('Expected "string" but received "' + typeof obj_fullyQualifiedName + '" (at "' + path_fullyQualifiedName + '")');
2674
+ }
2675
+ const obj_name = obj.name;
2676
+ const path_name = path + '.name';
2677
+ if (typeof obj_name !== 'string') {
2678
+ return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
2679
+ }
2680
+ })();
2681
+ return v_error === undefined ? null : v_error;
2682
+ }
2683
+
2684
+ function validate$_(obj, path = 'ManagedContentCollectionItemRepresentation') {
2685
+ const v_error = (() => {
2686
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2687
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2688
+ }
2689
+ const obj_body = obj.body;
2690
+ const path_body = path + '.body';
2691
+ if (typeof obj_body !== 'object' || ArrayIsArray(obj_body) || obj_body === null) {
2692
+ return new TypeError('Expected "object" but received "' + typeof obj_body + '" (at "' + path_body + '")');
2693
+ }
2694
+ const obj_body_keys = ObjectKeys(obj_body);
2695
+ for (let i = 0; i < obj_body_keys.length; i++) {
2696
+ const key = obj_body_keys[i];
2697
+ const obj_body_prop = obj_body[key];
2698
+ const path_body_prop = path_body + '["' + key + '"]';
2699
+ if (obj_body_prop === undefined) {
2700
+ return new TypeError('Expected "defined" but received "' + typeof obj_body_prop + '" (at "' + path_body_prop + '")');
2701
+ }
2702
+ }
2703
+ const obj_contentType = obj.contentType;
2704
+ const path_contentType = path + '.contentType';
2705
+ const referencepath_contentTypeValidationError = validate$$(obj_contentType, path_contentType);
2706
+ if (referencepath_contentTypeValidationError !== null) {
2707
+ let message = 'Object doesn\'t match ManagedContentCollectionItemTypeSummaryRepresentation (at "' + path_contentType + '")\n';
2708
+ message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
2709
+ return new TypeError(message);
2710
+ }
2711
+ const obj_id = obj.id;
2712
+ const path_id = path + '.id';
2713
+ if (typeof obj_id !== 'string') {
2714
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
2715
+ }
2716
+ const obj_name = obj.name;
2717
+ const path_name = path + '.name';
2718
+ if (typeof obj_name !== 'string') {
2719
+ return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
2720
+ }
2721
+ })();
2722
+ return v_error === undefined ? null : v_error;
2723
+ }
2724
+
2725
+ const TTL$t = 100;
2726
+ const VERSION$v = "eeea454f1268ece5c3e24c986688b876";
2727
+ function validate$Z(obj, path = 'ManagedContentCollectionDetailRepresentation') {
2728
+ const v_error = (() => {
2729
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2730
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2731
+ }
2732
+ const obj_collectionKey = obj.collectionKey;
2733
+ const path_collectionKey = path + '.collectionKey';
2734
+ if (typeof obj_collectionKey !== 'string') {
2735
+ return new TypeError('Expected "string" but received "' + typeof obj_collectionKey + '" (at "' + path_collectionKey + '")');
2736
+ }
2737
+ const obj_collectionType = obj.collectionType;
2738
+ const path_collectionType = path + '.collectionType';
2739
+ const referencepath_collectionTypeValidationError = validate$1c(obj_collectionType, path_collectionType);
2740
+ if (referencepath_collectionTypeValidationError !== null) {
2741
+ let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_collectionType + '")\n';
2742
+ message += referencepath_collectionTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
2743
+ return new TypeError(message);
2744
+ }
2745
+ const obj_id = obj.id;
2746
+ const path_id = path + '.id';
2747
+ if (typeof obj_id !== 'string') {
2748
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
2749
+ }
2750
+ const obj_isPublished = obj.isPublished;
2751
+ const path_isPublished = path + '.isPublished';
2752
+ if (typeof obj_isPublished !== 'boolean') {
2753
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isPublished + '" (at "' + path_isPublished + '")');
2754
+ }
2755
+ const obj_items = obj.items;
2756
+ const path_items = path + '.items';
2757
+ if (!ArrayIsArray(obj_items)) {
2758
+ return new TypeError('Expected "array" but received "' + typeof obj_items + '" (at "' + path_items + '")');
2759
+ }
2760
+ for (let i = 0; i < obj_items.length; i++) {
2761
+ const obj_items_item = obj_items[i];
2762
+ const path_items_item = path_items + '[' + i + ']';
2763
+ const referencepath_items_itemValidationError = validate$_(obj_items_item, path_items_item);
2764
+ if (referencepath_items_itemValidationError !== null) {
2765
+ let message = 'Object doesn\'t match ManagedContentCollectionItemRepresentation (at "' + path_items_item + '")\n';
2766
+ message += referencepath_items_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
2767
+ return new TypeError(message);
2768
+ }
2769
+ }
2770
+ const obj_language = obj.language;
2771
+ const path_language = path + '.language';
2772
+ if (typeof obj_language !== 'string') {
2773
+ return new TypeError('Expected "string" but received "' + typeof obj_language + '" (at "' + path_language + '")');
2774
+ }
2775
+ const obj_title = obj.title;
2776
+ const path_title = path + '.title';
2777
+ if (typeof obj_title !== 'string') {
2778
+ return new TypeError('Expected "string" but received "' + typeof obj_title + '" (at "' + path_title + '")');
2779
+ }
2780
+ const obj_total = obj.total;
2781
+ const path_total = path + '.total';
2782
+ if (typeof obj_total !== 'number' || (typeof obj_total === 'number' && Math.floor(obj_total) !== obj_total)) {
2783
+ return new TypeError('Expected "integer" but received "' + typeof obj_total + '" (at "' + path_total + '")');
2784
+ }
2785
+ const obj_urlName = obj.urlName;
2786
+ const path_urlName = path + '.urlName';
2787
+ if (typeof obj_urlName !== 'string') {
2788
+ return new TypeError('Expected "string" but received "' + typeof obj_urlName + '" (at "' + path_urlName + '")');
2789
+ }
2790
+ const obj_versionNumber = obj.versionNumber;
2791
+ const path_versionNumber = path + '.versionNumber';
2792
+ if (typeof obj_versionNumber !== 'string') {
2793
+ return new TypeError('Expected "string" but received "' + typeof obj_versionNumber + '" (at "' + path_versionNumber + '")');
2794
+ }
2795
+ })();
2796
+ return v_error === undefined ? null : v_error;
2797
+ }
2798
+ const RepresentationType$t = 'ManagedContentCollectionDetailRepresentation';
2799
+ function keyBuilder$Y(luvio, config) {
2800
+ return keyPrefix + '::' + RepresentationType$t + ':' + config.collection_key + ':' + config.language + ':' + config.version;
2801
+ }
2802
+ function keyBuilderFromType$f(luvio, object) {
2803
+ const keyParams = {
2804
+ collection_key: object.collectionKey,
2805
+ language: object.language,
2806
+ version: object.versionNumber
2807
+ };
2808
+ return keyBuilder$Y(luvio, keyParams);
2809
+ }
2810
+ function normalize$t(input, existing, path, luvio, store, timestamp) {
2811
+ return input;
2812
+ }
2813
+ const select$16 = function ManagedContentCollectionDetailRepresentationSelect() {
2814
+ return {
2815
+ kind: 'Fragment',
2816
+ version: VERSION$v,
2817
+ private: [],
2818
+ opaque: true
2819
+ };
2820
+ };
2821
+ function equals$v(existing, incoming) {
2822
+ if (JSONStringify(incoming) !== JSONStringify(existing)) {
2823
+ return false;
2824
+ }
2825
+ return true;
2826
+ }
2827
+ const ingest$t = function ManagedContentCollectionDetailRepresentationIngest(input, path, luvio, store, timestamp) {
2828
+ if (process.env.NODE_ENV !== 'production') {
2829
+ const validateError = validate$Z(input);
2830
+ if (validateError !== null) {
2831
+ throw validateError;
2832
+ }
2833
+ }
2834
+ const key = keyBuilderFromType$f(luvio, input);
2835
+ const ttlToUse = TTL$t;
2836
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$t, "CMSAuthoring", VERSION$v, RepresentationType$t, equals$v);
2837
+ return createLink(key);
2838
+ };
2839
+ function getTypeCacheKeys$t(rootKeySet, luvio, input, fullPathFactory) {
2840
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
2841
+ const rootKey = keyBuilderFromType$f(luvio, input);
2842
+ rootKeySet.set(rootKey, {
2843
+ namespace: keyPrefix,
2844
+ representationName: RepresentationType$t,
2845
+ mergeable: false
2846
+ });
2847
+ }
2848
+
2849
+ function select$15(luvio, params) {
2850
+ return select$16();
2851
+ }
2852
+ function keyBuilder$X(luvio, params) {
2853
+ return keyBuilder$Y(luvio, {
2854
+ collection_key: params.urlParams.collectionKeyOrId,
2855
+ language: params.queryParams.language || '',
2856
+ version: params.queryParams.version || ''
2857
+ });
2858
+ }
2859
+ function getResponseCacheKeys$D(storeKeyMap, luvio, resourceParams, response) {
2860
+ getTypeCacheKeys$t(storeKeyMap, luvio, response);
2861
+ }
2862
+ function ingestSuccess$D(luvio, resourceParams, response, snapshotRefresh) {
2863
+ const { body } = response;
2864
+ const key = keyBuilder$X(luvio, resourceParams);
2865
+ luvio.storeIngest(key, ingest$t, body);
2866
+ const snapshot = luvio.storeLookup({
2867
+ recordId: key,
2868
+ node: select$15(),
2869
+ variables: {},
2870
+ }, snapshotRefresh);
2871
+ if (process.env.NODE_ENV !== 'production') {
2872
+ if (snapshot.state !== 'Fulfilled') {
2873
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
2874
+ }
2875
+ }
2876
+ deepFreeze(snapshot.data);
2877
+ return snapshot;
2878
+ }
2879
+ function ingestError$l(luvio, params, error, snapshotRefresh) {
2880
+ const key = keyBuilder$X(luvio, params);
2881
+ const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
2882
+ const storeMetadataParams = {
2883
+ ttl: TTL$t,
2884
+ namespace: keyPrefix,
2885
+ version: VERSION$v,
2886
+ representationName: RepresentationType$t
2887
+ };
2888
+ luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
2889
+ return errorSnapshot;
2890
+ }
2891
+ function createResourceRequest$D(config) {
2892
+ const headers = {};
2893
+ return {
2894
+ baseUri: '/services/data/v62.0',
2895
+ basePath: '/connect/cms/collections/' + config.urlParams.collectionKeyOrId + '',
2896
+ method: 'get',
2897
+ body: null,
2898
+ urlParams: config.urlParams,
2899
+ queryParams: config.queryParams,
2900
+ headers,
2901
+ priority: 'normal',
2902
+ };
2903
+ }
2904
+
2905
+ function onFetchResponseSuccess$o(luvio, config, resourceParams, response) {
2906
+ let updatedResourceParams = resourceParams;
2907
+ // If language is not provided in request resource params, use language from the response
2908
+ // and update the response params. As this resource params will be used to build a cache key.
2909
+ if (updatedResourceParams.queryParams.language === undefined) {
2910
+ updatedResourceParams.queryParams.language = response.body.language;
2911
+ }
2912
+ // If version is not provided in request resource params, use versionNumber from the response
2913
+ // and update the response params. As this resource params will be used to build a cache key.
2914
+ if (updatedResourceParams.queryParams.version === undefined) {
2915
+ updatedResourceParams.queryParams.version = response.body.versionNumber;
2916
+ }
2917
+ return onFetchResponseSuccess$n(luvio, config, updatedResourceParams, response);
2918
+ }
2919
+
2920
+ const adapterName$D = 'getCollectionItems';
2921
+ const getCollectionItems_ConfigPropertyMetadata = [
2922
+ generateParamConfigMetadata('collectionKeyOrId', true, 0 /* UrlParameter */, 0 /* String */),
2923
+ generateParamConfigMetadata('language', false, 1 /* QueryParameter */, 0 /* String */),
2924
+ generateParamConfigMetadata('version', false, 1 /* QueryParameter */, 0 /* String */),
2925
+ ];
2926
+ const getCollectionItems_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$D, getCollectionItems_ConfigPropertyMetadata);
2927
+ const createResourceParams$D = /*#__PURE__*/ createResourceParams$J(getCollectionItems_ConfigPropertyMetadata);
2928
+ function keyBuilder$W(luvio, config) {
2586
2929
  const resourceParams = createResourceParams$D(config);
2587
- return keyBuilder$Y(luvio, resourceParams);
2930
+ return keyBuilder$X(luvio, resourceParams);
2588
2931
  }
2589
2932
  function typeCheckConfig$D(untrustedConfig) {
2590
2933
  const config = {};
2591
- typeCheckConfig$I(untrustedConfig, config, getManagedContentSpaceFolderItemsV1_ConfigPropertyMetadata);
2934
+ typeCheckConfig$J(untrustedConfig, config, getCollectionItems_ConfigPropertyMetadata);
2592
2935
  return config;
2593
2936
  }
2594
2937
  function validateAdapterConfig$D(untrustedConfig, configPropertyNames) {
@@ -2606,9 +2949,9 @@ function validateAdapterConfig$D(untrustedConfig, configPropertyNames) {
2606
2949
  }
2607
2950
  function adapterFragment$l(luvio, config) {
2608
2951
  createResourceParams$D(config);
2609
- return select$14();
2952
+ return select$15();
2610
2953
  }
2611
- function onFetchResponseSuccess$o(luvio, config, resourceParams, response) {
2954
+ function onFetchResponseSuccess$n(luvio, config, resourceParams, response) {
2612
2955
  const snapshot = ingestSuccess$D(luvio, resourceParams, response, {
2613
2956
  config,
2614
2957
  resolve: () => buildNetworkSnapshot$D(luvio, config, snapshotRefreshOptions)
@@ -2637,12 +2980,12 @@ function buildNetworkSnapshot$D(luvio, config, options) {
2637
2980
  });
2638
2981
  }
2639
2982
  function buildNetworkSnapshotCachePolicy$l(context, coercedAdapterRequestContext) {
2640
- return buildNetworkSnapshotCachePolicy$p(context, coercedAdapterRequestContext, buildNetworkSnapshot$D, undefined, false);
2983
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$D, undefined, false);
2641
2984
  }
2642
2985
  function buildCachedSnapshotCachePolicy$l(context, storeLookup) {
2643
2986
  const { luvio, config } = context;
2644
2987
  const selector = {
2645
- recordId: keyBuilder$X(luvio, config),
2988
+ recordId: keyBuilder$W(luvio, config),
2646
2989
  node: adapterFragment$l(luvio, config),
2647
2990
  variables: {},
2648
2991
  };
@@ -2652,8 +2995,8 @@ function buildCachedSnapshotCachePolicy$l(context, storeLookup) {
2652
2995
  });
2653
2996
  return cacheSnapshot;
2654
2997
  }
2655
- const getManagedContentSpaceFolderItemsV1AdapterFactory = (luvio) => function CMSAuthoring__getManagedContentSpaceFolderItemsV1(untrustedConfig, requestContext) {
2656
- const config = validateAdapterConfig$D(untrustedConfig, getManagedContentSpaceFolderItemsV1_ConfigPropertyNames);
2998
+ const getCollectionItemsAdapterFactory = (luvio) => function CMSAuthoring__getCollectionItems(untrustedConfig, requestContext) {
2999
+ const config = validateAdapterConfig$D(untrustedConfig, getCollectionItems_ConfigPropertyNames);
2657
3000
  // Invalid or incomplete config
2658
3001
  if (config === null) {
2659
3002
  return null;
@@ -2662,183 +3005,220 @@ const getManagedContentSpaceFolderItemsV1AdapterFactory = (luvio) => function CM
2662
3005
  buildCachedSnapshotCachePolicy$l, buildNetworkSnapshotCachePolicy$l);
2663
3006
  };
2664
3007
 
2665
- function validate$Z(obj, path = 'ManagedContentCollectionItemTypeSummaryRepresentation') {
3008
+ const VERSION$u = "1a16e1314a2482d9aa8e0da45957846e";
3009
+ function validate$Y(obj, path = 'ManagedContentProviderRepresentation') {
2666
3010
  const v_error = (() => {
2667
3011
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2668
3012
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2669
3013
  }
2670
- const obj_fullyQualifiedName = obj.fullyQualifiedName;
2671
- const path_fullyQualifiedName = path + '.fullyQualifiedName';
2672
- if (typeof obj_fullyQualifiedName !== 'string') {
2673
- return new TypeError('Expected "string" but received "' + typeof obj_fullyQualifiedName + '" (at "' + path_fullyQualifiedName + '")');
3014
+ const obj_componentDefinition = obj.componentDefinition;
3015
+ const path_componentDefinition = path + '.componentDefinition';
3016
+ if (typeof obj_componentDefinition !== 'string') {
3017
+ return new TypeError('Expected "string" but received "' + typeof obj_componentDefinition + '" (at "' + path_componentDefinition + '")');
3018
+ }
3019
+ const obj_icon = obj.icon;
3020
+ const path_icon = path + '.icon';
3021
+ if (typeof obj_icon !== 'string') {
3022
+ return new TypeError('Expected "string" but received "' + typeof obj_icon + '" (at "' + path_icon + '")');
2674
3023
  }
2675
3024
  const obj_name = obj.name;
2676
3025
  const path_name = path + '.name';
2677
3026
  if (typeof obj_name !== 'string') {
2678
3027
  return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
2679
3028
  }
3029
+ const obj_type = obj.type;
3030
+ const path_type = path + '.type';
3031
+ if (typeof obj_type !== 'string') {
3032
+ return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
3033
+ }
2680
3034
  })();
2681
3035
  return v_error === undefined ? null : v_error;
2682
3036
  }
2683
-
2684
- function validate$Y(obj, path = 'ManagedContentCollectionItemRepresentation') {
2685
- const v_error = (() => {
2686
- if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2687
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2688
- }
2689
- const obj_body = obj.body;
2690
- const path_body = path + '.body';
2691
- if (typeof obj_body !== 'object' || ArrayIsArray(obj_body) || obj_body === null) {
2692
- return new TypeError('Expected "object" but received "' + typeof obj_body + '" (at "' + path_body + '")');
2693
- }
2694
- const obj_body_keys = ObjectKeys(obj_body);
2695
- for (let i = 0; i < obj_body_keys.length; i++) {
2696
- const key = obj_body_keys[i];
2697
- const obj_body_prop = obj_body[key];
2698
- const path_body_prop = path_body + '["' + key + '"]';
2699
- if (obj_body_prop === undefined) {
2700
- return new TypeError('Expected "defined" but received "' + typeof obj_body_prop + '" (at "' + path_body_prop + '")');
3037
+ const select$14 = function ManagedContentProviderRepresentationSelect() {
3038
+ return {
3039
+ kind: 'Fragment',
3040
+ version: VERSION$u,
3041
+ private: [],
3042
+ selections: [
3043
+ {
3044
+ name: 'componentDefinition',
3045
+ kind: 'Scalar'
3046
+ },
3047
+ {
3048
+ name: 'icon',
3049
+ kind: 'Scalar'
3050
+ },
3051
+ {
3052
+ name: 'name',
3053
+ kind: 'Scalar'
3054
+ },
3055
+ {
3056
+ name: 'type',
3057
+ kind: 'Scalar'
2701
3058
  }
2702
- }
2703
- const obj_contentType = obj.contentType;
2704
- const path_contentType = path + '.contentType';
2705
- const referencepath_contentTypeValidationError = validate$Z(obj_contentType, path_contentType);
2706
- if (referencepath_contentTypeValidationError !== null) {
2707
- let message = 'Object doesn\'t match ManagedContentCollectionItemTypeSummaryRepresentation (at "' + path_contentType + '")\n';
2708
- message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
2709
- return new TypeError(message);
2710
- }
2711
- const obj_id = obj.id;
2712
- const path_id = path + '.id';
2713
- if (typeof obj_id !== 'string') {
2714
- return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
2715
- }
2716
- const obj_name = obj.name;
2717
- const path_name = path + '.name';
2718
- if (typeof obj_name !== 'string') {
2719
- return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
2720
- }
2721
- })();
2722
- return v_error === undefined ? null : v_error;
3059
+ ]
3060
+ };
3061
+ };
3062
+ function equals$u(existing, incoming) {
3063
+ const existing_componentDefinition = existing.componentDefinition;
3064
+ const incoming_componentDefinition = incoming.componentDefinition;
3065
+ if (!(existing_componentDefinition === incoming_componentDefinition)) {
3066
+ return false;
3067
+ }
3068
+ const existing_icon = existing.icon;
3069
+ const incoming_icon = incoming.icon;
3070
+ if (!(existing_icon === incoming_icon)) {
3071
+ return false;
3072
+ }
3073
+ const existing_name = existing.name;
3074
+ const incoming_name = incoming.name;
3075
+ if (!(existing_name === incoming_name)) {
3076
+ return false;
3077
+ }
3078
+ const existing_type = existing.type;
3079
+ const incoming_type = incoming.type;
3080
+ if (!(existing_type === incoming_type)) {
3081
+ return false;
3082
+ }
3083
+ return true;
2723
3084
  }
2724
3085
 
2725
- const TTL$s = 100;
2726
- const VERSION$t = "eeea454f1268ece5c3e24c986688b876";
2727
- function validate$X(obj, path = 'ManagedContentCollectionDetailRepresentation') {
3086
+ const TTL$s = 120000;
3087
+ const VERSION$t = "2b181cae4ba3acd340f11988d5b92475";
3088
+ function validate$X(obj, path = 'ManagedContentProviderCollectionRepresentation') {
2728
3089
  const v_error = (() => {
2729
3090
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2730
3091
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2731
3092
  }
2732
- const obj_collectionKey = obj.collectionKey;
2733
- const path_collectionKey = path + '.collectionKey';
2734
- if (typeof obj_collectionKey !== 'string') {
2735
- return new TypeError('Expected "string" but received "' + typeof obj_collectionKey + '" (at "' + path_collectionKey + '")');
2736
- }
2737
- const obj_collectionType = obj.collectionType;
2738
- const path_collectionType = path + '.collectionType';
2739
- const referencepath_collectionTypeValidationError = validate$1a(obj_collectionType, path_collectionType);
2740
- if (referencepath_collectionTypeValidationError !== null) {
2741
- let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_collectionType + '")\n';
2742
- message += referencepath_collectionTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
2743
- return new TypeError(message);
3093
+ const obj_currentPageUrl = obj.currentPageUrl;
3094
+ const path_currentPageUrl = path + '.currentPageUrl';
3095
+ if (typeof obj_currentPageUrl !== 'string') {
3096
+ return new TypeError('Expected "string" but received "' + typeof obj_currentPageUrl + '" (at "' + path_currentPageUrl + '")');
2744
3097
  }
2745
- const obj_id = obj.id;
2746
- const path_id = path + '.id';
2747
- if (typeof obj_id !== 'string') {
2748
- return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
3098
+ const obj_nextPageUrl = obj.nextPageUrl;
3099
+ const path_nextPageUrl = path + '.nextPageUrl';
3100
+ let obj_nextPageUrl_union0 = null;
3101
+ const obj_nextPageUrl_union0_error = (() => {
3102
+ if (typeof obj_nextPageUrl !== 'string') {
3103
+ return new TypeError('Expected "string" but received "' + typeof obj_nextPageUrl + '" (at "' + path_nextPageUrl + '")');
3104
+ }
3105
+ })();
3106
+ if (obj_nextPageUrl_union0_error != null) {
3107
+ obj_nextPageUrl_union0 = obj_nextPageUrl_union0_error.message;
2749
3108
  }
2750
- const obj_isPublished = obj.isPublished;
2751
- const path_isPublished = path + '.isPublished';
2752
- if (typeof obj_isPublished !== 'boolean') {
2753
- return new TypeError('Expected "boolean" but received "' + typeof obj_isPublished + '" (at "' + path_isPublished + '")');
3109
+ let obj_nextPageUrl_union1 = null;
3110
+ const obj_nextPageUrl_union1_error = (() => {
3111
+ if (obj_nextPageUrl !== null) {
3112
+ return new TypeError('Expected "null" but received "' + typeof obj_nextPageUrl + '" (at "' + path_nextPageUrl + '")');
3113
+ }
3114
+ })();
3115
+ if (obj_nextPageUrl_union1_error != null) {
3116
+ obj_nextPageUrl_union1 = obj_nextPageUrl_union1_error.message;
2754
3117
  }
2755
- const obj_items = obj.items;
2756
- const path_items = path + '.items';
2757
- if (!ArrayIsArray(obj_items)) {
2758
- return new TypeError('Expected "array" but received "' + typeof obj_items + '" (at "' + path_items + '")');
3118
+ if (obj_nextPageUrl_union0 && obj_nextPageUrl_union1) {
3119
+ let message = 'Object doesn\'t match union (at "' + path_nextPageUrl + '")';
3120
+ message += '\n' + obj_nextPageUrl_union0.split('\n').map((line) => '\t' + line).join('\n');
3121
+ message += '\n' + obj_nextPageUrl_union1.split('\n').map((line) => '\t' + line).join('\n');
3122
+ return new TypeError(message);
2759
3123
  }
2760
- for (let i = 0; i < obj_items.length; i++) {
2761
- const obj_items_item = obj_items[i];
2762
- const path_items_item = path_items + '[' + i + ']';
2763
- const referencepath_items_itemValidationError = validate$Y(obj_items_item, path_items_item);
2764
- if (referencepath_items_itemValidationError !== null) {
2765
- let message = 'Object doesn\'t match ManagedContentCollectionItemRepresentation (at "' + path_items_item + '")\n';
2766
- message += referencepath_items_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
3124
+ const obj_providers = obj.providers;
3125
+ const path_providers = path + '.providers';
3126
+ if (!ArrayIsArray(obj_providers)) {
3127
+ return new TypeError('Expected "array" but received "' + typeof obj_providers + '" (at "' + path_providers + '")');
3128
+ }
3129
+ for (let i = 0; i < obj_providers.length; i++) {
3130
+ const obj_providers_item = obj_providers[i];
3131
+ const path_providers_item = path_providers + '[' + i + ']';
3132
+ const referencepath_providers_itemValidationError = validate$Y(obj_providers_item, path_providers_item);
3133
+ if (referencepath_providers_itemValidationError !== null) {
3134
+ let message = 'Object doesn\'t match ManagedContentProviderRepresentation (at "' + path_providers_item + '")\n';
3135
+ message += referencepath_providers_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
2767
3136
  return new TypeError(message);
2768
3137
  }
2769
3138
  }
2770
- const obj_language = obj.language;
2771
- const path_language = path + '.language';
2772
- if (typeof obj_language !== 'string') {
2773
- return new TypeError('Expected "string" but received "' + typeof obj_language + '" (at "' + path_language + '")');
2774
- }
2775
- const obj_title = obj.title;
2776
- const path_title = path + '.title';
2777
- if (typeof obj_title !== 'string') {
2778
- return new TypeError('Expected "string" but received "' + typeof obj_title + '" (at "' + path_title + '")');
2779
- }
2780
3139
  const obj_total = obj.total;
2781
3140
  const path_total = path + '.total';
2782
3141
  if (typeof obj_total !== 'number' || (typeof obj_total === 'number' && Math.floor(obj_total) !== obj_total)) {
2783
3142
  return new TypeError('Expected "integer" but received "' + typeof obj_total + '" (at "' + path_total + '")');
2784
3143
  }
2785
- const obj_urlName = obj.urlName;
2786
- const path_urlName = path + '.urlName';
2787
- if (typeof obj_urlName !== 'string') {
2788
- return new TypeError('Expected "string" but received "' + typeof obj_urlName + '" (at "' + path_urlName + '")');
2789
- }
2790
- const obj_versionNumber = obj.versionNumber;
2791
- const path_versionNumber = path + '.versionNumber';
2792
- if (typeof obj_versionNumber !== 'string') {
2793
- return new TypeError('Expected "string" but received "' + typeof obj_versionNumber + '" (at "' + path_versionNumber + '")');
2794
- }
2795
3144
  })();
2796
3145
  return v_error === undefined ? null : v_error;
2797
3146
  }
2798
- const RepresentationType$s = 'ManagedContentCollectionDetailRepresentation';
2799
- function keyBuilder$W(luvio, config) {
2800
- return keyPrefix + '::' + RepresentationType$s + ':' + config.collection_key + ':' + config.language + ':' + config.version;
2801
- }
2802
- function keyBuilderFromType$f(luvio, object) {
2803
- const keyParams = {
2804
- collection_key: object.collectionKey,
2805
- language: object.language,
2806
- version: object.versionNumber
2807
- };
2808
- return keyBuilder$W(luvio, keyParams);
2809
- }
3147
+ const RepresentationType$s = 'ManagedContentProviderCollectionRepresentation';
2810
3148
  function normalize$s(input, existing, path, luvio, store, timestamp) {
2811
3149
  return input;
2812
3150
  }
2813
- const select$13 = function ManagedContentCollectionDetailRepresentationSelect() {
3151
+ const select$13 = function ManagedContentProviderCollectionRepresentationSelect() {
3152
+ const { selections: ManagedContentProviderRepresentation__selections, opaque: ManagedContentProviderRepresentation__opaque, } = select$14();
2814
3153
  return {
2815
3154
  kind: 'Fragment',
2816
3155
  version: VERSION$t,
2817
3156
  private: [],
2818
- opaque: true
3157
+ selections: [
3158
+ {
3159
+ name: 'currentPageUrl',
3160
+ kind: 'Scalar'
3161
+ },
3162
+ {
3163
+ name: 'nextPageUrl',
3164
+ kind: 'Scalar'
3165
+ },
3166
+ {
3167
+ name: 'providers',
3168
+ kind: 'Object',
3169
+ plural: true,
3170
+ selections: ManagedContentProviderRepresentation__selections
3171
+ },
3172
+ {
3173
+ name: 'total',
3174
+ kind: 'Scalar'
3175
+ }
3176
+ ]
2819
3177
  };
2820
3178
  };
2821
3179
  function equals$t(existing, incoming) {
2822
- if (JSONStringify(incoming) !== JSONStringify(existing)) {
3180
+ const existing_total = existing.total;
3181
+ const incoming_total = incoming.total;
3182
+ if (!(existing_total === incoming_total)) {
3183
+ return false;
3184
+ }
3185
+ const existing_currentPageUrl = existing.currentPageUrl;
3186
+ const incoming_currentPageUrl = incoming.currentPageUrl;
3187
+ if (!(existing_currentPageUrl === incoming_currentPageUrl)) {
3188
+ return false;
3189
+ }
3190
+ const existing_nextPageUrl = existing.nextPageUrl;
3191
+ const incoming_nextPageUrl = incoming.nextPageUrl;
3192
+ if (!(existing_nextPageUrl === incoming_nextPageUrl)) {
3193
+ return false;
3194
+ }
3195
+ const existing_providers = existing.providers;
3196
+ const incoming_providers = incoming.providers;
3197
+ const equals_providers_items = equalsArray(existing_providers, incoming_providers, (existing_providers_item, incoming_providers_item) => {
3198
+ if (!(equals$u(existing_providers_item, incoming_providers_item))) {
3199
+ return false;
3200
+ }
3201
+ });
3202
+ if (equals_providers_items === false) {
2823
3203
  return false;
2824
3204
  }
2825
3205
  return true;
2826
3206
  }
2827
- const ingest$s = function ManagedContentCollectionDetailRepresentationIngest(input, path, luvio, store, timestamp) {
3207
+ const ingest$s = function ManagedContentProviderCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
2828
3208
  if (process.env.NODE_ENV !== 'production') {
2829
3209
  const validateError = validate$X(input);
2830
3210
  if (validateError !== null) {
2831
3211
  throw validateError;
2832
3212
  }
2833
3213
  }
2834
- const key = keyBuilderFromType$f(luvio, input);
3214
+ const key = path.fullPath;
2835
3215
  const ttlToUse = TTL$s;
2836
3216
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$s, "CMSAuthoring", VERSION$t, RepresentationType$s, equals$t);
2837
3217
  return createLink(key);
2838
3218
  };
2839
3219
  function getTypeCacheKeys$s(rootKeySet, luvio, input, fullPathFactory) {
2840
3220
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
2841
- const rootKey = keyBuilderFromType$f(luvio, input);
3221
+ const rootKey = fullPathFactory();
2842
3222
  rootKeySet.set(rootKey, {
2843
3223
  namespace: keyPrefix,
2844
3224
  representationName: RepresentationType$s,
@@ -2850,18 +3230,14 @@ function select$12(luvio, params) {
2850
3230
  return select$13();
2851
3231
  }
2852
3232
  function keyBuilder$V(luvio, params) {
2853
- return keyBuilder$W(luvio, {
2854
- collection_key: params.urlParams.collectionKeyOrId,
2855
- language: params.queryParams.language || '',
2856
- version: params.queryParams.version || ''
2857
- });
3233
+ return keyPrefix + '::ManagedContentProviderCollectionRepresentation:(' + ')';
2858
3234
  }
2859
3235
  function getResponseCacheKeys$C(storeKeyMap, luvio, resourceParams, response) {
2860
- getTypeCacheKeys$s(storeKeyMap, luvio, response);
3236
+ getTypeCacheKeys$s(storeKeyMap, luvio, response, () => keyBuilder$V());
2861
3237
  }
2862
3238
  function ingestSuccess$C(luvio, resourceParams, response, snapshotRefresh) {
2863
3239
  const { body } = response;
2864
- const key = keyBuilder$V(luvio, resourceParams);
3240
+ const key = keyBuilder$V();
2865
3241
  luvio.storeIngest(key, ingest$s, body);
2866
3242
  const snapshot = luvio.storeLookup({
2867
3243
  recordId: key,
@@ -2877,7 +3253,7 @@ function ingestSuccess$C(luvio, resourceParams, response, snapshotRefresh) {
2877
3253
  return snapshot;
2878
3254
  }
2879
3255
  function ingestError$k(luvio, params, error, snapshotRefresh) {
2880
- const key = keyBuilder$V(luvio, params);
3256
+ const key = keyBuilder$V();
2881
3257
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
2882
3258
  const storeMetadataParams = {
2883
3259
  ttl: TTL$s,
@@ -2892,46 +3268,26 @@ function createResourceRequest$C(config) {
2892
3268
  const headers = {};
2893
3269
  return {
2894
3270
  baseUri: '/services/data/v62.0',
2895
- basePath: '/connect/cms/collections/' + config.urlParams.collectionKeyOrId + '',
3271
+ basePath: '/connect/cms/content/providers',
2896
3272
  method: 'get',
2897
3273
  body: null,
2898
- urlParams: config.urlParams,
2899
- queryParams: config.queryParams,
3274
+ urlParams: {},
3275
+ queryParams: {},
2900
3276
  headers,
2901
3277
  priority: 'normal',
2902
3278
  };
2903
3279
  }
2904
3280
 
2905
- function onFetchResponseSuccess$n(luvio, config, resourceParams, response) {
2906
- let updatedResourceParams = resourceParams;
2907
- // If language is not provided in request resource params, use language from the response
2908
- // and update the response params. As this resource params will be used to build a cache key.
2909
- if (updatedResourceParams.queryParams.language === undefined) {
2910
- updatedResourceParams.queryParams.language = response.body.language;
2911
- }
2912
- // If version is not provided in request resource params, use versionNumber from the response
2913
- // and update the response params. As this resource params will be used to build a cache key.
2914
- if (updatedResourceParams.queryParams.version === undefined) {
2915
- updatedResourceParams.queryParams.version = response.body.versionNumber;
2916
- }
2917
- return onFetchResponseSuccess$m(luvio, config, updatedResourceParams, response);
2918
- }
2919
-
2920
- const adapterName$C = 'getCollectionItems';
2921
- const getCollectionItems_ConfigPropertyMetadata = [
2922
- generateParamConfigMetadata('collectionKeyOrId', true, 0 /* UrlParameter */, 0 /* String */),
2923
- generateParamConfigMetadata('language', false, 1 /* QueryParameter */, 0 /* String */),
2924
- generateParamConfigMetadata('version', false, 1 /* QueryParameter */, 0 /* String */),
2925
- ];
2926
- const getCollectionItems_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$C, getCollectionItems_ConfigPropertyMetadata);
2927
- const createResourceParams$C = /*#__PURE__*/ createResourceParams$I(getCollectionItems_ConfigPropertyMetadata);
3281
+ const adapterName$C = 'getManagedContentProviders';
3282
+ const getManagedContentProviders_ConfigPropertyMetadata = [];
3283
+ const getManagedContentProviders_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$C, getManagedContentProviders_ConfigPropertyMetadata);
3284
+ const createResourceParams$C = /*#__PURE__*/ createResourceParams$J(getManagedContentProviders_ConfigPropertyMetadata);
2928
3285
  function keyBuilder$U(luvio, config) {
2929
- const resourceParams = createResourceParams$C(config);
2930
- return keyBuilder$V(luvio, resourceParams);
3286
+ createResourceParams$C(config);
3287
+ return keyBuilder$V();
2931
3288
  }
2932
3289
  function typeCheckConfig$C(untrustedConfig) {
2933
3290
  const config = {};
2934
- typeCheckConfig$I(untrustedConfig, config, getCollectionItems_ConfigPropertyMetadata);
2935
3291
  return config;
2936
3292
  }
2937
3293
  function validateAdapterConfig$C(untrustedConfig, configPropertyNames) {
@@ -2941,7 +3297,7 @@ function validateAdapterConfig$C(untrustedConfig, configPropertyNames) {
2941
3297
  if (process.env.NODE_ENV !== 'production') {
2942
3298
  validateConfig(untrustedConfig, configPropertyNames);
2943
3299
  }
2944
- const config = typeCheckConfig$C(untrustedConfig);
3300
+ const config = typeCheckConfig$C();
2945
3301
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
2946
3302
  return null;
2947
3303
  }
@@ -2967,10 +3323,10 @@ function onFetchResponseError$k(luvio, config, resourceParams, response) {
2967
3323
  }
2968
3324
  function buildNetworkSnapshot$C(luvio, config, options) {
2969
3325
  const resourceParams = createResourceParams$C(config);
2970
- const request = createResourceRequest$C(resourceParams);
3326
+ const request = createResourceRequest$C();
2971
3327
  return luvio.dispatchResourceRequest(request, options)
2972
3328
  .then((response) => {
2973
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$n(luvio, config, resourceParams, response), () => {
3329
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$m(luvio, config, resourceParams, response), () => {
2974
3330
  const cache = new StoreKeyMap();
2975
3331
  getResponseCacheKeys$C(cache, luvio, resourceParams, response.body);
2976
3332
  return cache;
@@ -2980,7 +3336,7 @@ function buildNetworkSnapshot$C(luvio, config, options) {
2980
3336
  });
2981
3337
  }
2982
3338
  function buildNetworkSnapshotCachePolicy$k(context, coercedAdapterRequestContext) {
2983
- return buildNetworkSnapshotCachePolicy$p(context, coercedAdapterRequestContext, buildNetworkSnapshot$C, undefined, false);
3339
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$C, undefined, false);
2984
3340
  }
2985
3341
  function buildCachedSnapshotCachePolicy$k(context, storeLookup) {
2986
3342
  const { luvio, config } = context;
@@ -2995,8 +3351,8 @@ function buildCachedSnapshotCachePolicy$k(context, storeLookup) {
2995
3351
  });
2996
3352
  return cacheSnapshot;
2997
3353
  }
2998
- const getCollectionItemsAdapterFactory = (luvio) => function CMSAuthoring__getCollectionItems(untrustedConfig, requestContext) {
2999
- const config = validateAdapterConfig$C(untrustedConfig, getCollectionItems_ConfigPropertyNames);
3354
+ const getManagedContentProvidersAdapterFactory = (luvio) => function CMSAuthoring__getManagedContentProviders(untrustedConfig, requestContext) {
3355
+ const config = validateAdapterConfig$C(untrustedConfig, getManagedContentProviders_ConfigPropertyNames);
3000
3356
  // Invalid or incomplete config
3001
3357
  if (config === null) {
3002
3358
  return null;
@@ -3326,10 +3682,10 @@ const createTranslationV2Job_ConfigPropertyMetadata = [
3326
3682
  generateParamConfigMetadata('translationV2Request', true, 2 /* Body */, 4 /* Unsupported */),
3327
3683
  ];
3328
3684
  const createTranslationV2Job_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$B, createTranslationV2Job_ConfigPropertyMetadata);
3329
- const createResourceParams$B = /*#__PURE__*/ createResourceParams$I(createTranslationV2Job_ConfigPropertyMetadata);
3685
+ const createResourceParams$B = /*#__PURE__*/ createResourceParams$J(createTranslationV2Job_ConfigPropertyMetadata);
3330
3686
  function typeCheckConfig$B(untrustedConfig) {
3331
3687
  const config = {};
3332
- typeCheckConfig$I(untrustedConfig, config, createTranslationV2Job_ConfigPropertyMetadata);
3688
+ typeCheckConfig$J(untrustedConfig, config, createTranslationV2Job_ConfigPropertyMetadata);
3333
3689
  const untrustedConfig_translationV2Request = untrustedConfig.translationV2Request;
3334
3690
  const referenceManagedContentTranslationV2RequestInputRepValidationError = validate$W(untrustedConfig_translationV2Request);
3335
3691
  if (referenceManagedContentTranslationV2RequestInputRepValidationError === null) {
@@ -3547,7 +3903,7 @@ function validate$Q(obj, path = 'ManagedContentDocumentRepresentation') {
3547
3903
  }
3548
3904
  const obj_contentType = obj.contentType;
3549
3905
  const path_contentType = path + '.contentType';
3550
- const referencepath_contentTypeValidationError = validate$1a(obj_contentType, path_contentType);
3906
+ const referencepath_contentTypeValidationError = validate$1c(obj_contentType, path_contentType);
3551
3907
  if (referencepath_contentTypeValidationError !== null) {
3552
3908
  let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
3553
3909
  message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3555,7 +3911,7 @@ function validate$Q(obj, path = 'ManagedContentDocumentRepresentation') {
3555
3911
  }
3556
3912
  const obj_createdBy = obj.createdBy;
3557
3913
  const path_createdBy = path + '.createdBy';
3558
- const referencepath_createdByValidationError = validate$17(obj_createdBy, path_createdBy);
3914
+ const referencepath_createdByValidationError = validate$19(obj_createdBy, path_createdBy);
3559
3915
  if (referencepath_createdByValidationError !== null) {
3560
3916
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
3561
3917
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3586,7 +3942,7 @@ function validate$Q(obj, path = 'ManagedContentDocumentRepresentation') {
3586
3942
  }
3587
3943
  const obj_lastModifiedBy = obj.lastModifiedBy;
3588
3944
  const path_lastModifiedBy = path + '.lastModifiedBy';
3589
- const referencepath_lastModifiedByValidationError = validate$17(obj_lastModifiedBy, path_lastModifiedBy);
3945
+ const referencepath_lastModifiedByValidationError = validate$19(obj_lastModifiedBy, path_lastModifiedBy);
3590
3946
  if (referencepath_lastModifiedByValidationError !== null) {
3591
3947
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
3592
3948
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3787,7 +4143,7 @@ const createManagedContent_ConfigPropertyMetadata = [
3787
4143
  generateParamConfigMetadata('ManagedContentInputParam', true, 2 /* Body */, 4 /* Unsupported */),
3788
4144
  ];
3789
4145
  const createManagedContent_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$A, createManagedContent_ConfigPropertyMetadata);
3790
- const createResourceParams$A = /*#__PURE__*/ createResourceParams$I(createManagedContent_ConfigPropertyMetadata);
4146
+ const createResourceParams$A = /*#__PURE__*/ createResourceParams$J(createManagedContent_ConfigPropertyMetadata);
3791
4147
  function typeCheckConfig$A(untrustedConfig) {
3792
4148
  const config = {};
3793
4149
  const untrustedConfig_ManagedContentInputParam = untrustedConfig.ManagedContentInputParam;
@@ -4001,10 +4357,10 @@ const publishManagedContent_ConfigPropertyMetadata = [
4001
4357
  generateParamConfigMetadata('contextContentSpaceId', false, 2 /* Body */, 0 /* String */),
4002
4358
  ];
4003
4359
  const publishManagedContent_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$z, publishManagedContent_ConfigPropertyMetadata);
4004
- const createResourceParams$z = /*#__PURE__*/ createResourceParams$I(publishManagedContent_ConfigPropertyMetadata);
4360
+ const createResourceParams$z = /*#__PURE__*/ createResourceParams$J(publishManagedContent_ConfigPropertyMetadata);
4005
4361
  function typeCheckConfig$z(untrustedConfig) {
4006
4362
  const config = {};
4007
- typeCheckConfig$I(untrustedConfig, config, publishManagedContent_ConfigPropertyMetadata);
4363
+ typeCheckConfig$J(untrustedConfig, config, publishManagedContent_ConfigPropertyMetadata);
4008
4364
  return config;
4009
4365
  }
4010
4366
  function validateAdapterConfig$z(untrustedConfig, configPropertyNames) {
@@ -4209,10 +4565,10 @@ const unpublishManagedContent_ConfigPropertyMetadata = [
4209
4565
  generateParamConfigMetadata('variantIds', false, 2 /* Body */, 0 /* String */, true),
4210
4566
  ];
4211
4567
  const unpublishManagedContent_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$y, unpublishManagedContent_ConfigPropertyMetadata);
4212
- const createResourceParams$y = /*#__PURE__*/ createResourceParams$I(unpublishManagedContent_ConfigPropertyMetadata);
4568
+ const createResourceParams$y = /*#__PURE__*/ createResourceParams$J(unpublishManagedContent_ConfigPropertyMetadata);
4213
4569
  function typeCheckConfig$y(untrustedConfig) {
4214
4570
  const config = {};
4215
- typeCheckConfig$I(untrustedConfig, config, unpublishManagedContent_ConfigPropertyMetadata);
4571
+ typeCheckConfig$J(untrustedConfig, config, unpublishManagedContent_ConfigPropertyMetadata);
4216
4572
  return config;
4217
4573
  }
4218
4574
  function validateAdapterConfig$y(untrustedConfig, configPropertyNames) {
@@ -4340,7 +4696,7 @@ function validate$M(obj, path = 'ManagedContentVariantRepresentation') {
4340
4696
  }
4341
4697
  const obj_contentType = obj.contentType;
4342
4698
  const path_contentType = path + '.contentType';
4343
- const referencepath_contentTypeValidationError = validate$1a(obj_contentType, path_contentType);
4699
+ const referencepath_contentTypeValidationError = validate$1c(obj_contentType, path_contentType);
4344
4700
  if (referencepath_contentTypeValidationError !== null) {
4345
4701
  let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
4346
4702
  message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4348,7 +4704,7 @@ function validate$M(obj, path = 'ManagedContentVariantRepresentation') {
4348
4704
  }
4349
4705
  const obj_createdBy = obj.createdBy;
4350
4706
  const path_createdBy = path + '.createdBy';
4351
- const referencepath_createdByValidationError = validate$17(obj_createdBy, path_createdBy);
4707
+ const referencepath_createdByValidationError = validate$19(obj_createdBy, path_createdBy);
4352
4708
  if (referencepath_createdByValidationError !== null) {
4353
4709
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
4354
4710
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4379,7 +4735,7 @@ function validate$M(obj, path = 'ManagedContentVariantRepresentation') {
4379
4735
  }
4380
4736
  const obj_lastModifiedBy = obj.lastModifiedBy;
4381
4737
  const path_lastModifiedBy = path + '.lastModifiedBy';
4382
- const referencepath_lastModifiedByValidationError = validate$17(obj_lastModifiedBy, path_lastModifiedBy);
4738
+ const referencepath_lastModifiedByValidationError = validate$19(obj_lastModifiedBy, path_lastModifiedBy);
4383
4739
  if (referencepath_lastModifiedByValidationError !== null) {
4384
4740
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
4385
4741
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4517,7 +4873,7 @@ const createManagedContentVariant_ConfigPropertyMetadata = [
4517
4873
  generateParamConfigMetadata('managedContentVariantInputParam', true, 2 /* Body */, 4 /* Unsupported */),
4518
4874
  ];
4519
4875
  const createManagedContentVariant_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$x, createManagedContentVariant_ConfigPropertyMetadata);
4520
- const createResourceParams$x = /*#__PURE__*/ createResourceParams$I(createManagedContentVariant_ConfigPropertyMetadata);
4876
+ const createResourceParams$x = /*#__PURE__*/ createResourceParams$J(createManagedContentVariant_ConfigPropertyMetadata);
4521
4877
  function typeCheckConfig$x(untrustedConfig) {
4522
4878
  const config = {};
4523
4879
  const untrustedConfig_managedContentVariantInputParam = untrustedConfig.managedContentVariantInputParam;
@@ -4605,10 +4961,10 @@ const deleteManagedContentVariant_ConfigPropertyMetadata = [
4605
4961
  generateParamConfigMetadata('variantId', true, 0 /* UrlParameter */, 0 /* String */),
4606
4962
  ];
4607
4963
  const deleteManagedContentVariant_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$w, deleteManagedContentVariant_ConfigPropertyMetadata);
4608
- const createResourceParams$w = /*#__PURE__*/ createResourceParams$I(deleteManagedContentVariant_ConfigPropertyMetadata);
4964
+ const createResourceParams$w = /*#__PURE__*/ createResourceParams$J(deleteManagedContentVariant_ConfigPropertyMetadata);
4609
4965
  function typeCheckConfig$w(untrustedConfig) {
4610
4966
  const config = {};
4611
- typeCheckConfig$I(untrustedConfig, config, deleteManagedContentVariant_ConfigPropertyMetadata);
4967
+ typeCheckConfig$J(untrustedConfig, config, deleteManagedContentVariant_ConfigPropertyMetadata);
4612
4968
  return config;
4613
4969
  }
4614
4970
  function validateAdapterConfig$w(untrustedConfig, configPropertyNames) {
@@ -4712,14 +5068,14 @@ const getManagedContentVariant_ConfigPropertyMetadata = [
4712
5068
  generateParamConfigMetadata('variantId', true, 0 /* UrlParameter */, 0 /* String */),
4713
5069
  ];
4714
5070
  const getManagedContentVariant_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$v, getManagedContentVariant_ConfigPropertyMetadata);
4715
- const createResourceParams$v = /*#__PURE__*/ createResourceParams$I(getManagedContentVariant_ConfigPropertyMetadata);
5071
+ const createResourceParams$v = /*#__PURE__*/ createResourceParams$J(getManagedContentVariant_ConfigPropertyMetadata);
4716
5072
  function keyBuilder$M(luvio, config) {
4717
5073
  const resourceParams = createResourceParams$v(config);
4718
5074
  return keyBuilder$N(luvio, resourceParams);
4719
5075
  }
4720
5076
  function typeCheckConfig$v(untrustedConfig) {
4721
5077
  const config = {};
4722
- typeCheckConfig$I(untrustedConfig, config, getManagedContentVariant_ConfigPropertyMetadata);
5078
+ typeCheckConfig$J(untrustedConfig, config, getManagedContentVariant_ConfigPropertyMetadata);
4723
5079
  return config;
4724
5080
  }
4725
5081
  function validateAdapterConfig$v(untrustedConfig, configPropertyNames) {
@@ -4768,7 +5124,7 @@ function buildNetworkSnapshot$v(luvio, config, options) {
4768
5124
  });
4769
5125
  }
4770
5126
  function buildNetworkSnapshotCachePolicy$j(context, coercedAdapterRequestContext) {
4771
- return buildNetworkSnapshotCachePolicy$p(context, coercedAdapterRequestContext, buildNetworkSnapshot$v, undefined, false);
5127
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$v, undefined, false);
4772
5128
  }
4773
5129
  function buildCachedSnapshotCachePolicy$j(context, storeLookup) {
4774
5130
  const { luvio, config } = context;
@@ -4873,10 +5229,10 @@ const replaceManagedContentVariant_ConfigPropertyMetadata = [
4873
5229
  generateParamConfigMetadata('ManagedContentVariantInputParam', true, 2 /* Body */, 4 /* Unsupported */),
4874
5230
  ];
4875
5231
  const replaceManagedContentVariant_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$u, replaceManagedContentVariant_ConfigPropertyMetadata);
4876
- const createResourceParams$u = /*#__PURE__*/ createResourceParams$I(replaceManagedContentVariant_ConfigPropertyMetadata);
5232
+ const createResourceParams$u = /*#__PURE__*/ createResourceParams$J(replaceManagedContentVariant_ConfigPropertyMetadata);
4877
5233
  function typeCheckConfig$u(untrustedConfig) {
4878
5234
  const config = {};
4879
- typeCheckConfig$I(untrustedConfig, config, replaceManagedContentVariant_ConfigPropertyMetadata);
5235
+ typeCheckConfig$J(untrustedConfig, config, replaceManagedContentVariant_ConfigPropertyMetadata);
4880
5236
  const untrustedConfig_ManagedContentVariantInputParam = untrustedConfig.ManagedContentVariantInputParam;
4881
5237
  const referenceManagedContentVariantUpdateInputRepresentationValidationError = validate$L(untrustedConfig_ManagedContentVariantInputParam);
4882
5238
  if (referenceManagedContentVariantUpdateInputRepresentationValidationError === null) {
@@ -4933,7 +5289,7 @@ function validate$K(obj, path = 'ManagedContentVariantVersionRepresentation') {
4933
5289
  }
4934
5290
  const obj_createdBy = obj.createdBy;
4935
5291
  const path_createdBy = path + '.createdBy';
4936
- const referencepath_createdByValidationError = validate$17(obj_createdBy, path_createdBy);
5292
+ const referencepath_createdByValidationError = validate$19(obj_createdBy, path_createdBy);
4937
5293
  if (referencepath_createdByValidationError !== null) {
4938
5294
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
4939
5295
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4946,7 +5302,7 @@ function validate$K(obj, path = 'ManagedContentVariantVersionRepresentation') {
4946
5302
  }
4947
5303
  const obj_lastModifiedBy = obj.lastModifiedBy;
4948
5304
  const path_lastModifiedBy = path + '.lastModifiedBy';
4949
- const referencepath_lastModifiedByValidationError = validate$17(obj_lastModifiedBy, path_lastModifiedBy);
5305
+ const referencepath_lastModifiedByValidationError = validate$19(obj_lastModifiedBy, path_lastModifiedBy);
4950
5306
  if (referencepath_lastModifiedByValidationError !== null) {
4951
5307
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
4952
5308
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5137,14 +5493,14 @@ const getManagedContentVariantVersions_ConfigPropertyMetadata = [
5137
5493
  generateParamConfigMetadata('status', false, 1 /* QueryParameter */, 0 /* String */, true),
5138
5494
  ];
5139
5495
  const getManagedContentVariantVersions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$t, getManagedContentVariantVersions_ConfigPropertyMetadata);
5140
- const createResourceParams$t = /*#__PURE__*/ createResourceParams$I(getManagedContentVariantVersions_ConfigPropertyMetadata);
5496
+ const createResourceParams$t = /*#__PURE__*/ createResourceParams$J(getManagedContentVariantVersions_ConfigPropertyMetadata);
5141
5497
  function keyBuilder$J(luvio, config) {
5142
5498
  const resourceParams = createResourceParams$t(config);
5143
5499
  return keyBuilder$K(luvio, resourceParams);
5144
5500
  }
5145
5501
  function typeCheckConfig$t(untrustedConfig) {
5146
5502
  const config = {};
5147
- typeCheckConfig$I(untrustedConfig, config, getManagedContentVariantVersions_ConfigPropertyMetadata);
5503
+ typeCheckConfig$J(untrustedConfig, config, getManagedContentVariantVersions_ConfigPropertyMetadata);
5148
5504
  return config;
5149
5505
  }
5150
5506
  function validateAdapterConfig$t(untrustedConfig, configPropertyNames) {
@@ -5193,7 +5549,7 @@ function buildNetworkSnapshot$t(luvio, config, options) {
5193
5549
  });
5194
5550
  }
5195
5551
  function buildNetworkSnapshotCachePolicy$i(context, coercedAdapterRequestContext) {
5196
- return buildNetworkSnapshotCachePolicy$p(context, coercedAdapterRequestContext, buildNetworkSnapshot$t, undefined, false);
5552
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$t, undefined, false);
5197
5553
  }
5198
5554
  function buildCachedSnapshotCachePolicy$i(context, storeLookup) {
5199
5555
  const { luvio, config } = context;
@@ -5457,10 +5813,10 @@ const updateManagedContentWebUrl_ConfigPropertyMetadata = [
5457
5813
  generateParamConfigMetadata('urlAlias', false, 2 /* Body */, 0 /* String */),
5458
5814
  ];
5459
5815
  const updateManagedContentWebUrl_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$s, updateManagedContentWebUrl_ConfigPropertyMetadata);
5460
- const createResourceParams$s = /*#__PURE__*/ createResourceParams$I(updateManagedContentWebUrl_ConfigPropertyMetadata);
5816
+ const createResourceParams$s = /*#__PURE__*/ createResourceParams$J(updateManagedContentWebUrl_ConfigPropertyMetadata);
5461
5817
  function typeCheckConfig$s(untrustedConfig) {
5462
5818
  const config = {};
5463
- typeCheckConfig$I(untrustedConfig, config, updateManagedContentWebUrl_ConfigPropertyMetadata);
5819
+ typeCheckConfig$J(untrustedConfig, config, updateManagedContentWebUrl_ConfigPropertyMetadata);
5464
5820
  const untrustedConfig_redirectInfo = untrustedConfig.redirectInfo;
5465
5821
  const referenceManagedContentWebUrlRedirectInfoInputRepresentationValidationError = validate$I(untrustedConfig_redirectInfo);
5466
5822
  if (referenceManagedContentWebUrlRedirectInfoInputRepresentationValidationError === null) {
@@ -5625,14 +5981,14 @@ const getManagedContent_ConfigPropertyMetadata = [
5625
5981
  generateParamConfigMetadata('version', false, 1 /* QueryParameter */, 0 /* String */),
5626
5982
  ];
5627
5983
  const getManagedContent_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$r, getManagedContent_ConfigPropertyMetadata);
5628
- const createResourceParams$r = /*#__PURE__*/ createResourceParams$I(getManagedContent_ConfigPropertyMetadata);
5984
+ const createResourceParams$r = /*#__PURE__*/ createResourceParams$J(getManagedContent_ConfigPropertyMetadata);
5629
5985
  function keyBuilder$G(luvio, config) {
5630
5986
  const resourceParams = createResourceParams$r(config);
5631
5987
  return keyBuilder$H(luvio, resourceParams);
5632
5988
  }
5633
5989
  function typeCheckConfig$r(untrustedConfig) {
5634
5990
  const config = {};
5635
- typeCheckConfig$I(untrustedConfig, config, getManagedContent_ConfigPropertyMetadata);
5991
+ typeCheckConfig$J(untrustedConfig, config, getManagedContent_ConfigPropertyMetadata);
5636
5992
  return config;
5637
5993
  }
5638
5994
  function validateAdapterConfig$r(untrustedConfig, configPropertyNames) {
@@ -5681,7 +6037,7 @@ function buildNetworkSnapshot$r(luvio, config, options) {
5681
6037
  });
5682
6038
  }
5683
6039
  function buildNetworkSnapshotCachePolicy$h(context, coercedAdapterRequestContext) {
5684
- return buildNetworkSnapshotCachePolicy$p(context, coercedAdapterRequestContext, buildNetworkSnapshot$r, undefined, false);
6040
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$r, undefined, false);
5685
6041
  }
5686
6042
  function buildCachedSnapshotCachePolicy$h(context, storeLookup) {
5687
6043
  const { luvio, config } = context;
@@ -6097,10 +6453,10 @@ const cloneManagedContentDocument_ConfigPropertyMetadata = [
6097
6453
  generateParamConfigMetadata('title', false, 2 /* Body */, 0 /* String */),
6098
6454
  ];
6099
6455
  const cloneManagedContentDocument_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$q, cloneManagedContentDocument_ConfigPropertyMetadata);
6100
- const createResourceParams$q = /*#__PURE__*/ createResourceParams$I(cloneManagedContentDocument_ConfigPropertyMetadata);
6456
+ const createResourceParams$q = /*#__PURE__*/ createResourceParams$J(cloneManagedContentDocument_ConfigPropertyMetadata);
6101
6457
  function typeCheckConfig$q(untrustedConfig) {
6102
6458
  const config = {};
6103
- typeCheckConfig$I(untrustedConfig, config, cloneManagedContentDocument_ConfigPropertyMetadata);
6459
+ typeCheckConfig$J(untrustedConfig, config, cloneManagedContentDocument_ConfigPropertyMetadata);
6104
6460
  return config;
6105
6461
  }
6106
6462
  function validateAdapterConfig$q(untrustedConfig, configPropertyNames) {
@@ -6299,14 +6655,14 @@ const getManagedContentVariantRendition_ConfigPropertyMetadata = [
6299
6655
  generateParamConfigMetadata('version', false, 1 /* QueryParameter */, 0 /* String */),
6300
6656
  ];
6301
6657
  const getManagedContentVariantRendition_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$p, getManagedContentVariantRendition_ConfigPropertyMetadata);
6302
- const createResourceParams$p = /*#__PURE__*/ createResourceParams$I(getManagedContentVariantRendition_ConfigPropertyMetadata);
6658
+ const createResourceParams$p = /*#__PURE__*/ createResourceParams$J(getManagedContentVariantRendition_ConfigPropertyMetadata);
6303
6659
  function keyBuilder$D(luvio, config) {
6304
6660
  const resourceParams = createResourceParams$p(config);
6305
6661
  return keyBuilder$E(luvio, resourceParams);
6306
6662
  }
6307
6663
  function typeCheckConfig$p(untrustedConfig) {
6308
6664
  const config = {};
6309
- typeCheckConfig$I(untrustedConfig, config, getManagedContentVariantRendition_ConfigPropertyMetadata);
6665
+ typeCheckConfig$J(untrustedConfig, config, getManagedContentVariantRendition_ConfigPropertyMetadata);
6310
6666
  return config;
6311
6667
  }
6312
6668
  function validateAdapterConfig$p(untrustedConfig, configPropertyNames) {
@@ -6355,7 +6711,7 @@ function buildNetworkSnapshot$p(luvio, config, options) {
6355
6711
  });
6356
6712
  }
6357
6713
  function buildNetworkSnapshotCachePolicy$g(context, coercedAdapterRequestContext) {
6358
- return buildNetworkSnapshotCachePolicy$p(context, coercedAdapterRequestContext, buildNetworkSnapshot$p, undefined, false);
6714
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$p, undefined, false);
6359
6715
  }
6360
6716
  function buildCachedSnapshotCachePolicy$g(context, storeLookup) {
6361
6717
  const { luvio, config } = context;
@@ -6844,14 +7200,14 @@ const getManagedContentTaxonomyTerms_ConfigPropertyMetadata = [
6844
7200
  generateParamConfigMetadata('contentKeyOrId', true, 0 /* UrlParameter */, 0 /* String */),
6845
7201
  ];
6846
7202
  const getManagedContentTaxonomyTerms_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$o, getManagedContentTaxonomyTerms_ConfigPropertyMetadata);
6847
- const createResourceParams$o = /*#__PURE__*/ createResourceParams$I(getManagedContentTaxonomyTerms_ConfigPropertyMetadata);
7203
+ const createResourceParams$o = /*#__PURE__*/ createResourceParams$J(getManagedContentTaxonomyTerms_ConfigPropertyMetadata);
6848
7204
  function keyBuilder$z(luvio, config) {
6849
7205
  const resourceParams = createResourceParams$o(config);
6850
7206
  return keyBuilder$A(luvio, resourceParams);
6851
7207
  }
6852
7208
  function typeCheckConfig$o(untrustedConfig) {
6853
7209
  const config = {};
6854
- typeCheckConfig$I(untrustedConfig, config, getManagedContentTaxonomyTerms_ConfigPropertyMetadata);
7210
+ typeCheckConfig$J(untrustedConfig, config, getManagedContentTaxonomyTerms_ConfigPropertyMetadata);
6855
7211
  return config;
6856
7212
  }
6857
7213
  function validateAdapterConfig$o(untrustedConfig, configPropertyNames) {
@@ -6900,7 +7256,7 @@ function buildNetworkSnapshot$o(luvio, config, options) {
6900
7256
  });
6901
7257
  }
6902
7258
  function buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext) {
6903
- return buildNetworkSnapshotCachePolicy$p(context, coercedAdapterRequestContext, buildNetworkSnapshot$o, undefined, false);
7259
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$o, undefined, false);
6904
7260
  }
6905
7261
  function buildCachedSnapshotCachePolicy$f(context, storeLookup) {
6906
7262
  const { luvio, config } = context;
@@ -6970,10 +7326,10 @@ const updateManagedContentTaxonomyTerms_ConfigPropertyMetadata = [
6970
7326
  generateParamConfigMetadata('termsToRemove', true, 2 /* Body */, 0 /* String */, true),
6971
7327
  ];
6972
7328
  const updateManagedContentTaxonomyTerms_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$n, updateManagedContentTaxonomyTerms_ConfigPropertyMetadata);
6973
- const createResourceParams$n = /*#__PURE__*/ createResourceParams$I(updateManagedContentTaxonomyTerms_ConfigPropertyMetadata);
7329
+ const createResourceParams$n = /*#__PURE__*/ createResourceParams$J(updateManagedContentTaxonomyTerms_ConfigPropertyMetadata);
6974
7330
  function typeCheckConfig$n(untrustedConfig) {
6975
7331
  const config = {};
6976
- typeCheckConfig$I(untrustedConfig, config, updateManagedContentTaxonomyTerms_ConfigPropertyMetadata);
7332
+ typeCheckConfig$J(untrustedConfig, config, updateManagedContentTaxonomyTerms_ConfigPropertyMetadata);
6977
7333
  return config;
6978
7334
  }
6979
7335
  function validateAdapterConfig$n(untrustedConfig, configPropertyNames) {
@@ -7142,14 +7498,14 @@ const getWebUrls_ConfigPropertyMetadata = [
7142
7498
  generateParamConfigMetadata('pageSize', false, 1 /* QueryParameter */, 3 /* Integer */),
7143
7499
  ];
7144
7500
  const getWebUrls_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$m, getWebUrls_ConfigPropertyMetadata);
7145
- const createResourceParams$m = /*#__PURE__*/ createResourceParams$I(getWebUrls_ConfigPropertyMetadata);
7501
+ const createResourceParams$m = /*#__PURE__*/ createResourceParams$J(getWebUrls_ConfigPropertyMetadata);
7146
7502
  function keyBuilder$x(luvio, config) {
7147
7503
  const resourceParams = createResourceParams$m(config);
7148
7504
  return keyBuilder$y(luvio, resourceParams);
7149
7505
  }
7150
7506
  function typeCheckConfig$m(untrustedConfig) {
7151
7507
  const config = {};
7152
- typeCheckConfig$I(untrustedConfig, config, getWebUrls_ConfigPropertyMetadata);
7508
+ typeCheckConfig$J(untrustedConfig, config, getWebUrls_ConfigPropertyMetadata);
7153
7509
  return config;
7154
7510
  }
7155
7511
  function validateAdapterConfig$m(untrustedConfig, configPropertyNames) {
@@ -7198,7 +7554,7 @@ function buildNetworkSnapshot$m(luvio, config, options) {
7198
7554
  });
7199
7555
  }
7200
7556
  function buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext) {
7201
- return buildNetworkSnapshotCachePolicy$p(context, coercedAdapterRequestContext, buildNetworkSnapshot$m, undefined, false);
7557
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$m, undefined, false);
7202
7558
  }
7203
7559
  function buildCachedSnapshotCachePolicy$e(context, storeLookup) {
7204
7560
  const { luvio, config } = context;
@@ -7233,7 +7589,7 @@ function validate$t(obj, path = 'AbstractManagedContentReferencedByItemRepresent
7233
7589
  const path_contentType = path + '.contentType';
7234
7590
  let obj_contentType_union0 = null;
7235
7591
  const obj_contentType_union0_error = (() => {
7236
- const referencepath_contentTypeValidationError = validate$1a(obj_contentType, path_contentType);
7592
+ const referencepath_contentTypeValidationError = validate$1c(obj_contentType, path_contentType);
7237
7593
  if (referencepath_contentTypeValidationError !== null) {
7238
7594
  let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
7239
7595
  message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -7496,14 +7852,14 @@ const getManagedContentReferencedBy_ConfigPropertyMetadata = [
7496
7852
  generateParamConfigMetadata('referenceType', false, 1 /* QueryParameter */, 0 /* String */),
7497
7853
  ];
7498
7854
  const getManagedContentReferencedBy_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$l, getManagedContentReferencedBy_ConfigPropertyMetadata);
7499
- const createResourceParams$l = /*#__PURE__*/ createResourceParams$I(getManagedContentReferencedBy_ConfigPropertyMetadata);
7855
+ const createResourceParams$l = /*#__PURE__*/ createResourceParams$J(getManagedContentReferencedBy_ConfigPropertyMetadata);
7500
7856
  function keyBuilder$v(luvio, config) {
7501
7857
  const resourceParams = createResourceParams$l(config);
7502
7858
  return keyBuilder$w(luvio, resourceParams);
7503
7859
  }
7504
7860
  function typeCheckConfig$l(untrustedConfig) {
7505
7861
  const config = {};
7506
- typeCheckConfig$I(untrustedConfig, config, getManagedContentReferencedBy_ConfigPropertyMetadata);
7862
+ typeCheckConfig$J(untrustedConfig, config, getManagedContentReferencedBy_ConfigPropertyMetadata);
7507
7863
  return config;
7508
7864
  }
7509
7865
  function validateAdapterConfig$l(untrustedConfig, configPropertyNames) {
@@ -7552,7 +7908,7 @@ function buildNetworkSnapshot$l(luvio, config, options) {
7552
7908
  });
7553
7909
  }
7554
7910
  function buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext) {
7555
- return buildNetworkSnapshotCachePolicy$p(context, coercedAdapterRequestContext, buildNetworkSnapshot$l, undefined, false);
7911
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$l, undefined, false);
7556
7912
  }
7557
7913
  function buildCachedSnapshotCachePolicy$d(context, storeLookup) {
7558
7914
  const { luvio, config } = context;
@@ -7613,7 +7969,7 @@ function validate$q(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
7613
7969
  }
7614
7970
  const obj_contentType = obj.contentType;
7615
7971
  const path_contentType = path + '.contentType';
7616
- const referencepath_contentTypeValidationError = validate$1a(obj_contentType, path_contentType);
7972
+ const referencepath_contentTypeValidationError = validate$1c(obj_contentType, path_contentType);
7617
7973
  if (referencepath_contentTypeValidationError !== null) {
7618
7974
  let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
7619
7975
  message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -7621,7 +7977,7 @@ function validate$q(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
7621
7977
  }
7622
7978
  const obj_createdBy = obj.createdBy;
7623
7979
  const path_createdBy = path + '.createdBy';
7624
- const referencepath_createdByValidationError = validate$17(obj_createdBy, path_createdBy);
7980
+ const referencepath_createdByValidationError = validate$19(obj_createdBy, path_createdBy);
7625
7981
  if (referencepath_createdByValidationError !== null) {
7626
7982
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
7627
7983
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -7647,7 +8003,7 @@ function validate$q(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
7647
8003
  }
7648
8004
  const obj_lastModifiedBy = obj.lastModifiedBy;
7649
8005
  const path_lastModifiedBy = path + '.lastModifiedBy';
7650
- const referencepath_lastModifiedByValidationError = validate$17(obj_lastModifiedBy, path_lastModifiedBy);
8006
+ const referencepath_lastModifiedByValidationError = validate$19(obj_lastModifiedBy, path_lastModifiedBy);
7651
8007
  if (referencepath_lastModifiedByValidationError !== null) {
7652
8008
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
7653
8009
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -7827,14 +8183,14 @@ const getManagedContentVariantReferences_ConfigPropertyMetadata = [
7827
8183
  generateParamConfigMetadata('variantIds', false, 1 /* QueryParameter */, 0 /* String */, true),
7828
8184
  ];
7829
8185
  const getManagedContentVariantReferences_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$k, getManagedContentVariantReferences_ConfigPropertyMetadata);
7830
- const createResourceParams$k = /*#__PURE__*/ createResourceParams$I(getManagedContentVariantReferences_ConfigPropertyMetadata);
8186
+ const createResourceParams$k = /*#__PURE__*/ createResourceParams$J(getManagedContentVariantReferences_ConfigPropertyMetadata);
7831
8187
  function keyBuilder$t(luvio, config) {
7832
8188
  const resourceParams = createResourceParams$k(config);
7833
8189
  return keyBuilder$u(luvio, resourceParams);
7834
8190
  }
7835
8191
  function typeCheckConfig$k(untrustedConfig) {
7836
8192
  const config = {};
7837
- typeCheckConfig$I(untrustedConfig, config, getManagedContentVariantReferences_ConfigPropertyMetadata);
8193
+ typeCheckConfig$J(untrustedConfig, config, getManagedContentVariantReferences_ConfigPropertyMetadata);
7838
8194
  return config;
7839
8195
  }
7840
8196
  function validateAdapterConfig$k(untrustedConfig, configPropertyNames) {
@@ -7883,7 +8239,7 @@ function buildNetworkSnapshot$k(luvio, config, options) {
7883
8239
  });
7884
8240
  }
7885
8241
  function buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext) {
7886
- return buildNetworkSnapshotCachePolicy$p(context, coercedAdapterRequestContext, buildNetworkSnapshot$k, undefined, false);
8242
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$k, undefined, false);
7887
8243
  }
7888
8244
  function buildCachedSnapshotCachePolicy$c(context, storeLookup) {
7889
8245
  const { luvio, config } = context;
@@ -8046,10 +8402,10 @@ const postManagedContentSpaceFolder_ConfigPropertyMetadata = [
8046
8402
  generateParamConfigMetadata('parentFolderId', true, 2 /* Body */, 0 /* String */),
8047
8403
  ];
8048
8404
  const postManagedContentSpaceFolder_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$j, postManagedContentSpaceFolder_ConfigPropertyMetadata);
8049
- const createResourceParams$j = /*#__PURE__*/ createResourceParams$I(postManagedContentSpaceFolder_ConfigPropertyMetadata);
8405
+ const createResourceParams$j = /*#__PURE__*/ createResourceParams$J(postManagedContentSpaceFolder_ConfigPropertyMetadata);
8050
8406
  function typeCheckConfig$j(untrustedConfig) {
8051
8407
  const config = {};
8052
- typeCheckConfig$I(untrustedConfig, config, postManagedContentSpaceFolder_ConfigPropertyMetadata);
8408
+ typeCheckConfig$J(untrustedConfig, config, postManagedContentSpaceFolder_ConfigPropertyMetadata);
8053
8409
  return config;
8054
8410
  }
8055
8411
  function validateAdapterConfig$j(untrustedConfig, configPropertyNames) {
@@ -8242,14 +8598,14 @@ const getManagedContentSpaceFolder_ConfigPropertyMetadata = [
8242
8598
  generateParamConfigMetadata('contextContentSpaceId', false, 1 /* QueryParameter */, 0 /* String */),
8243
8599
  ];
8244
8600
  const getManagedContentSpaceFolder_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$i, getManagedContentSpaceFolder_ConfigPropertyMetadata);
8245
- const createResourceParams$i = /*#__PURE__*/ createResourceParams$I(getManagedContentSpaceFolder_ConfigPropertyMetadata);
8601
+ const createResourceParams$i = /*#__PURE__*/ createResourceParams$J(getManagedContentSpaceFolder_ConfigPropertyMetadata);
8246
8602
  function keyBuilder$q(luvio, config) {
8247
8603
  const resourceParams = createResourceParams$i(config);
8248
8604
  return keyBuilder$r(luvio, resourceParams);
8249
8605
  }
8250
8606
  function typeCheckConfig$i(untrustedConfig) {
8251
8607
  const config = {};
8252
- typeCheckConfig$I(untrustedConfig, config, getManagedContentSpaceFolder_ConfigPropertyMetadata);
8608
+ typeCheckConfig$J(untrustedConfig, config, getManagedContentSpaceFolder_ConfigPropertyMetadata);
8253
8609
  return config;
8254
8610
  }
8255
8611
  function validateAdapterConfig$i(untrustedConfig, configPropertyNames) {
@@ -8298,7 +8654,7 @@ function buildNetworkSnapshot$i(luvio, config, options) {
8298
8654
  });
8299
8655
  }
8300
8656
  function buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext) {
8301
- return buildNetworkSnapshotCachePolicy$p(context, coercedAdapterRequestContext, buildNetworkSnapshot$i, undefined, false);
8657
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$i, undefined, false);
8302
8658
  }
8303
8659
  function buildCachedSnapshotCachePolicy$b(context, storeLookup) {
8304
8660
  const { luvio, config } = context;
@@ -8338,7 +8694,7 @@ function validate$m(obj, path = 'ManagedContentSpaceFolderItemRepresentation') {
8338
8694
  if (obj.contentType !== undefined) {
8339
8695
  const obj_contentType = obj.contentType;
8340
8696
  const path_contentType = path + '.contentType';
8341
- const referencepath_contentTypeValidationError = validate$1a(obj_contentType, path_contentType);
8697
+ const referencepath_contentTypeValidationError = validate$1c(obj_contentType, path_contentType);
8342
8698
  if (referencepath_contentTypeValidationError !== null) {
8343
8699
  let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
8344
8700
  message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -8607,14 +8963,14 @@ const getManagedContentByFolderId_ConfigPropertyMetadata = [
8607
8963
  generateParamConfigMetadata('showSharedWithSpaceFolder', false, 1 /* QueryParameter */, 1 /* Boolean */),
8608
8964
  ];
8609
8965
  const getManagedContentByFolderId_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$h, getManagedContentByFolderId_ConfigPropertyMetadata);
8610
- const createResourceParams$h = /*#__PURE__*/ createResourceParams$I(getManagedContentByFolderId_ConfigPropertyMetadata);
8966
+ const createResourceParams$h = /*#__PURE__*/ createResourceParams$J(getManagedContentByFolderId_ConfigPropertyMetadata);
8611
8967
  function keyBuilder$o(luvio, config) {
8612
8968
  const resourceParams = createResourceParams$h(config);
8613
8969
  return keyBuilder$p(luvio, resourceParams);
8614
8970
  }
8615
8971
  function typeCheckConfig$h(untrustedConfig) {
8616
8972
  const config = {};
8617
- typeCheckConfig$I(untrustedConfig, config, getManagedContentByFolderId_ConfigPropertyMetadata);
8973
+ typeCheckConfig$J(untrustedConfig, config, getManagedContentByFolderId_ConfigPropertyMetadata);
8618
8974
  return config;
8619
8975
  }
8620
8976
  function validateAdapterConfig$h(untrustedConfig, configPropertyNames) {
@@ -8663,7 +9019,7 @@ function buildNetworkSnapshot$h(luvio, config, options) {
8663
9019
  });
8664
9020
  }
8665
9021
  function buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext) {
8666
- return buildNetworkSnapshotCachePolicy$p(context, coercedAdapterRequestContext, buildNetworkSnapshot$h, undefined, false);
9022
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$h, undefined, false);
8667
9023
  }
8668
9024
  function buildCachedSnapshotCachePolicy$a(context, storeLookup) {
8669
9025
  const { luvio, config } = context;
@@ -8834,14 +9190,14 @@ const getMCSFolderShareTargets_ConfigPropertyMetadata = [
8834
9190
  generateParamConfigMetadata('folderId', true, 0 /* UrlParameter */, 0 /* String */),
8835
9191
  ];
8836
9192
  const getMCSFolderShareTargets_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$g, getMCSFolderShareTargets_ConfigPropertyMetadata);
8837
- const createResourceParams$g = /*#__PURE__*/ createResourceParams$I(getMCSFolderShareTargets_ConfigPropertyMetadata);
9193
+ const createResourceParams$g = /*#__PURE__*/ createResourceParams$J(getMCSFolderShareTargets_ConfigPropertyMetadata);
8838
9194
  function keyBuilder$m(luvio, config) {
8839
9195
  const resourceParams = createResourceParams$g(config);
8840
9196
  return keyBuilder$n(luvio, resourceParams);
8841
9197
  }
8842
9198
  function typeCheckConfig$g(untrustedConfig) {
8843
9199
  const config = {};
8844
- typeCheckConfig$I(untrustedConfig, config, getMCSFolderShareTargets_ConfigPropertyMetadata);
9200
+ typeCheckConfig$J(untrustedConfig, config, getMCSFolderShareTargets_ConfigPropertyMetadata);
8845
9201
  return config;
8846
9202
  }
8847
9203
  function validateAdapterConfig$g(untrustedConfig, configPropertyNames) {
@@ -8890,7 +9246,7 @@ function buildNetworkSnapshot$g(luvio, config, options) {
8890
9246
  });
8891
9247
  }
8892
9248
  function buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext) {
8893
- return buildNetworkSnapshotCachePolicy$p(context, coercedAdapterRequestContext, buildNetworkSnapshot$g, undefined, false);
9249
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$g, undefined, false);
8894
9250
  }
8895
9251
  function buildCachedSnapshotCachePolicy$9(context, storeLookup) {
8896
9252
  const { luvio, config } = context;
@@ -9079,14 +9435,14 @@ const getMCSFolderShares_ConfigPropertyMetadata = [
9079
9435
  generateParamConfigMetadata('folderId', true, 0 /* UrlParameter */, 0 /* String */),
9080
9436
  ];
9081
9437
  const getMCSFolderShares_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, getMCSFolderShares_ConfigPropertyMetadata);
9082
- const createResourceParams$f = /*#__PURE__*/ createResourceParams$I(getMCSFolderShares_ConfigPropertyMetadata);
9438
+ const createResourceParams$f = /*#__PURE__*/ createResourceParams$J(getMCSFolderShares_ConfigPropertyMetadata);
9083
9439
  function keyBuilder$j(luvio, config) {
9084
9440
  const resourceParams = createResourceParams$f(config);
9085
9441
  return keyBuilder$k(luvio, resourceParams);
9086
9442
  }
9087
9443
  function typeCheckConfig$f(untrustedConfig) {
9088
9444
  const config = {};
9089
- typeCheckConfig$I(untrustedConfig, config, getMCSFolderShares_ConfigPropertyMetadata);
9445
+ typeCheckConfig$J(untrustedConfig, config, getMCSFolderShares_ConfigPropertyMetadata);
9090
9446
  return config;
9091
9447
  }
9092
9448
  function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
@@ -9135,7 +9491,7 @@ function buildNetworkSnapshot$f(luvio, config, options) {
9135
9491
  });
9136
9492
  }
9137
9493
  function buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext) {
9138
- return buildNetworkSnapshotCachePolicy$p(context, coercedAdapterRequestContext, buildNetworkSnapshot$f, undefined, false);
9494
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$f, undefined, false);
9139
9495
  }
9140
9496
  function buildCachedSnapshotCachePolicy$8(context, storeLookup) {
9141
9497
  const { luvio, config } = context;
@@ -9218,10 +9574,10 @@ const updateMCSFolderShares_ConfigPropertyMetadata = [
9218
9574
  generateParamConfigMetadata('unshareWith', true, 2 /* Body */, 0 /* String */, true),
9219
9575
  ];
9220
9576
  const updateMCSFolderShares_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$e, updateMCSFolderShares_ConfigPropertyMetadata);
9221
- const createResourceParams$e = /*#__PURE__*/ createResourceParams$I(updateMCSFolderShares_ConfigPropertyMetadata);
9577
+ const createResourceParams$e = /*#__PURE__*/ createResourceParams$J(updateMCSFolderShares_ConfigPropertyMetadata);
9222
9578
  function typeCheckConfig$e(untrustedConfig) {
9223
9579
  const config = {};
9224
- typeCheckConfig$I(untrustedConfig, config, updateMCSFolderShares_ConfigPropertyMetadata);
9580
+ typeCheckConfig$J(untrustedConfig, config, updateMCSFolderShares_ConfigPropertyMetadata);
9225
9581
  const untrustedConfig_shareWith = untrustedConfig.shareWith;
9226
9582
  if (ArrayIsArray$1(untrustedConfig_shareWith)) {
9227
9583
  const untrustedConfig_shareWith_array = [];
@@ -9285,7 +9641,7 @@ function validate$f(obj, path = 'AbstractManagedContentSearchResultRepresentatio
9285
9641
  }
9286
9642
  const obj_createdBy = obj.createdBy;
9287
9643
  const path_createdBy = path + '.createdBy';
9288
- const referencepath_createdByValidationError = validate$17(obj_createdBy, path_createdBy);
9644
+ const referencepath_createdByValidationError = validate$19(obj_createdBy, path_createdBy);
9289
9645
  if (referencepath_createdByValidationError !== null) {
9290
9646
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
9291
9647
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -9311,7 +9667,7 @@ function validate$f(obj, path = 'AbstractManagedContentSearchResultRepresentatio
9311
9667
  }
9312
9668
  const obj_lastModifiedBy = obj.lastModifiedBy;
9313
9669
  const path_lastModifiedBy = path + '.lastModifiedBy';
9314
- const referencepath_lastModifiedByValidationError = validate$17(obj_lastModifiedBy, path_lastModifiedBy);
9670
+ const referencepath_lastModifiedByValidationError = validate$19(obj_lastModifiedBy, path_lastModifiedBy);
9315
9671
  if (referencepath_lastModifiedByValidationError !== null) {
9316
9672
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
9317
9673
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -9479,14 +9835,14 @@ const getSearchResults_ConfigPropertyMetadata = [
9479
9835
  generateParamConfigMetadata('scope', false, 1 /* QueryParameter */, 0 /* String */),
9480
9836
  ];
9481
9837
  const getSearchResults_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, getSearchResults_ConfigPropertyMetadata);
9482
- const createResourceParams$d = /*#__PURE__*/ createResourceParams$I(getSearchResults_ConfigPropertyMetadata);
9838
+ const createResourceParams$d = /*#__PURE__*/ createResourceParams$J(getSearchResults_ConfigPropertyMetadata);
9483
9839
  function keyBuilder$h(luvio, config) {
9484
9840
  const resourceParams = createResourceParams$d(config);
9485
9841
  return keyBuilder$i(luvio, resourceParams);
9486
9842
  }
9487
9843
  function typeCheckConfig$d(untrustedConfig) {
9488
9844
  const config = {};
9489
- typeCheckConfig$I(untrustedConfig, config, getSearchResults_ConfigPropertyMetadata);
9845
+ typeCheckConfig$J(untrustedConfig, config, getSearchResults_ConfigPropertyMetadata);
9490
9846
  return config;
9491
9847
  }
9492
9848
  function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
@@ -9535,7 +9891,7 @@ function buildNetworkSnapshot$d(luvio, config, options) {
9535
9891
  });
9536
9892
  }
9537
9893
  function buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext) {
9538
- return buildNetworkSnapshotCachePolicy$p(context, coercedAdapterRequestContext, buildNetworkSnapshot$d, undefined, false);
9894
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$d, undefined, false);
9539
9895
  }
9540
9896
  function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
9541
9897
  const { luvio, config } = context;
@@ -9561,15 +9917,15 @@ const getSearchResultsAdapterFactory = (luvio) => function CMSAuthoring__getSear
9561
9917
  };
9562
9918
 
9563
9919
  function select$k(luvio, params) {
9564
- return select$1f();
9920
+ return select$1i();
9565
9921
  }
9566
9922
  function getResponseCacheKeys$c(storeKeyMap, luvio, resourceParams, response) {
9567
- getTypeCacheKeys$x(storeKeyMap, luvio, response);
9923
+ getTypeCacheKeys$y(storeKeyMap, luvio, response);
9568
9924
  }
9569
9925
  function ingestSuccess$c(luvio, resourceParams, response) {
9570
9926
  const { body } = response;
9571
9927
  const key = keyBuilderFromType$h(luvio, body);
9572
- luvio.storeIngest(key, ingest$x, body);
9928
+ luvio.storeIngest(key, ingest$y, body);
9573
9929
  const snapshot = luvio.storeLookup({
9574
9930
  recordId: key,
9575
9931
  node: select$k(),
@@ -9610,10 +9966,10 @@ const createSchedule_ConfigPropertyMetadata = [
9610
9966
  generateParamConfigMetadata('versionIds', false, 2 /* Body */, 0 /* String */, true),
9611
9967
  ];
9612
9968
  const createSchedule_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, createSchedule_ConfigPropertyMetadata);
9613
- const createResourceParams$c = /*#__PURE__*/ createResourceParams$I(createSchedule_ConfigPropertyMetadata);
9969
+ const createResourceParams$c = /*#__PURE__*/ createResourceParams$J(createSchedule_ConfigPropertyMetadata);
9614
9970
  function typeCheckConfig$c(untrustedConfig) {
9615
9971
  const config = {};
9616
- typeCheckConfig$I(untrustedConfig, config, createSchedule_ConfigPropertyMetadata);
9972
+ typeCheckConfig$J(untrustedConfig, config, createSchedule_ConfigPropertyMetadata);
9617
9973
  return config;
9618
9974
  }
9619
9975
  function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
@@ -9659,15 +10015,15 @@ const createScheduleAdapterFactory = (luvio) => {
9659
10015
  };
9660
10016
 
9661
10017
  function select$j(luvio, params) {
9662
- return select$1f();
10018
+ return select$1i();
9663
10019
  }
9664
10020
  function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
9665
- getTypeCacheKeys$x(storeKeyMap, luvio, response);
10021
+ getTypeCacheKeys$y(storeKeyMap, luvio, response);
9666
10022
  }
9667
10023
  function ingestSuccess$b(luvio, resourceParams, response) {
9668
10024
  const { body } = response;
9669
10025
  const key = keyBuilderFromType$h(luvio, body);
9670
- luvio.storeIngest(key, ingest$x, body);
10026
+ luvio.storeIngest(key, ingest$y, body);
9671
10027
  const snapshot = luvio.storeLookup({
9672
10028
  recordId: key,
9673
10029
  node: select$j(),
@@ -9702,10 +10058,10 @@ const updateDeployment_ConfigPropertyMetadata = [
9702
10058
  generateParamConfigMetadata('scheduleDate', false, 1 /* QueryParameter */, 0 /* String */),
9703
10059
  ];
9704
10060
  const updateDeployment_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, updateDeployment_ConfigPropertyMetadata);
9705
- const createResourceParams$b = /*#__PURE__*/ createResourceParams$I(updateDeployment_ConfigPropertyMetadata);
10061
+ const createResourceParams$b = /*#__PURE__*/ createResourceParams$J(updateDeployment_ConfigPropertyMetadata);
9706
10062
  function typeCheckConfig$b(untrustedConfig) {
9707
10063
  const config = {};
9708
- typeCheckConfig$I(untrustedConfig, config, updateDeployment_ConfigPropertyMetadata);
10064
+ typeCheckConfig$J(untrustedConfig, config, updateDeployment_ConfigPropertyMetadata);
9709
10065
  return config;
9710
10066
  }
9711
10067
  function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
@@ -10112,14 +10468,14 @@ const getManagedContentSpaces_ConfigPropertyMetadata = [
10112
10468
  generateParamConfigMetadata('nameFragment', false, 1 /* QueryParameter */, 0 /* String */),
10113
10469
  ];
10114
10470
  const getManagedContentSpaces_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, getManagedContentSpaces_ConfigPropertyMetadata);
10115
- const createResourceParams$a = /*#__PURE__*/ createResourceParams$I(getManagedContentSpaces_ConfigPropertyMetadata);
10471
+ const createResourceParams$a = /*#__PURE__*/ createResourceParams$J(getManagedContentSpaces_ConfigPropertyMetadata);
10116
10472
  function keyBuilder$e(luvio, config) {
10117
10473
  const resourceParams = createResourceParams$a(config);
10118
10474
  return keyBuilder$f(luvio, resourceParams);
10119
10475
  }
10120
10476
  function typeCheckConfig$a(untrustedConfig) {
10121
10477
  const config = {};
10122
- typeCheckConfig$I(untrustedConfig, config, getManagedContentSpaces_ConfigPropertyMetadata);
10478
+ typeCheckConfig$J(untrustedConfig, config, getManagedContentSpaces_ConfigPropertyMetadata);
10123
10479
  return config;
10124
10480
  }
10125
10481
  function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
@@ -10168,7 +10524,7 @@ function buildNetworkSnapshot$a(luvio, config, options) {
10168
10524
  });
10169
10525
  }
10170
10526
  function buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext) {
10171
- return buildNetworkSnapshotCachePolicy$p(context, coercedAdapterRequestContext, buildNetworkSnapshot$a, undefined, false);
10527
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$a, undefined, false);
10172
10528
  }
10173
10529
  function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
10174
10530
  const { luvio, config } = context;
@@ -10252,14 +10608,14 @@ const getManagedContentSpace_ConfigPropertyMetadata = [
10252
10608
  generateParamConfigMetadata('contentSpaceId', true, 0 /* UrlParameter */, 0 /* String */),
10253
10609
  ];
10254
10610
  const getManagedContentSpace_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, getManagedContentSpace_ConfigPropertyMetadata);
10255
- const createResourceParams$9 = /*#__PURE__*/ createResourceParams$I(getManagedContentSpace_ConfigPropertyMetadata);
10611
+ const createResourceParams$9 = /*#__PURE__*/ createResourceParams$J(getManagedContentSpace_ConfigPropertyMetadata);
10256
10612
  function keyBuilder$c(luvio, config) {
10257
10613
  const resourceParams = createResourceParams$9(config);
10258
10614
  return keyBuilder$d(luvio, resourceParams);
10259
10615
  }
10260
10616
  function typeCheckConfig$9(untrustedConfig) {
10261
10617
  const config = {};
10262
- typeCheckConfig$I(untrustedConfig, config, getManagedContentSpace_ConfigPropertyMetadata);
10618
+ typeCheckConfig$J(untrustedConfig, config, getManagedContentSpace_ConfigPropertyMetadata);
10263
10619
  return config;
10264
10620
  }
10265
10621
  function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
@@ -10308,7 +10664,7 @@ function buildNetworkSnapshot$9(luvio, config, options) {
10308
10664
  });
10309
10665
  }
10310
10666
  function buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext) {
10311
- return buildNetworkSnapshotCachePolicy$p(context, coercedAdapterRequestContext, buildNetworkSnapshot$9, undefined, false);
10667
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$9, undefined, false);
10312
10668
  }
10313
10669
  function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
10314
10670
  const { luvio, config } = context;
@@ -10469,10 +10825,10 @@ const patchManagedContentSpace_ConfigPropertyMetadata = [
10469
10825
  generateParamConfigMetadata('ManagedContentSpaceInput', true, 2 /* Body */, 4 /* Unsupported */),
10470
10826
  ];
10471
10827
  const patchManagedContentSpace_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, patchManagedContentSpace_ConfigPropertyMetadata);
10472
- const createResourceParams$8 = /*#__PURE__*/ createResourceParams$I(patchManagedContentSpace_ConfigPropertyMetadata);
10828
+ const createResourceParams$8 = /*#__PURE__*/ createResourceParams$J(patchManagedContentSpace_ConfigPropertyMetadata);
10473
10829
  function typeCheckConfig$8(untrustedConfig) {
10474
10830
  const config = {};
10475
- typeCheckConfig$I(untrustedConfig, config, patchManagedContentSpace_ConfigPropertyMetadata);
10831
+ typeCheckConfig$J(untrustedConfig, config, patchManagedContentSpace_ConfigPropertyMetadata);
10476
10832
  const untrustedConfig_ManagedContentSpaceInput = untrustedConfig.ManagedContentSpaceInput;
10477
10833
  const referenceManagedContentSpaceInputRepresentationValidationError = validate$a(untrustedConfig_ManagedContentSpaceInput);
10478
10834
  if (referenceManagedContentSpaceInputRepresentationValidationError === null) {
@@ -10586,7 +10942,7 @@ function validate$9(obj, path = 'ManagedContentSingleItemDocumentRepresentation'
10586
10942
  }
10587
10943
  const obj_contentType = obj.contentType;
10588
10944
  const path_contentType = path + '.contentType';
10589
- const referencepath_contentTypeValidationError = validate$1a(obj_contentType, path_contentType);
10945
+ const referencepath_contentTypeValidationError = validate$1c(obj_contentType, path_contentType);
10590
10946
  if (referencepath_contentTypeValidationError !== null) {
10591
10947
  let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
10592
10948
  message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -10594,7 +10950,7 @@ function validate$9(obj, path = 'ManagedContentSingleItemDocumentRepresentation'
10594
10950
  }
10595
10951
  const obj_createdBy = obj.createdBy;
10596
10952
  const path_createdBy = path + '.createdBy';
10597
- const referencepath_createdByValidationError = validate$17(obj_createdBy, path_createdBy);
10953
+ const referencepath_createdByValidationError = validate$19(obj_createdBy, path_createdBy);
10598
10954
  if (referencepath_createdByValidationError !== null) {
10599
10955
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
10600
10956
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -10646,7 +11002,7 @@ function validate$9(obj, path = 'ManagedContentSingleItemDocumentRepresentation'
10646
11002
  }
10647
11003
  const obj_lastModifiedBy = obj.lastModifiedBy;
10648
11004
  const path_lastModifiedBy = path + '.lastModifiedBy';
10649
- const referencepath_lastModifiedByValidationError = validate$17(obj_lastModifiedBy, path_lastModifiedBy);
11005
+ const referencepath_lastModifiedByValidationError = validate$19(obj_lastModifiedBy, path_lastModifiedBy);
10650
11006
  if (referencepath_lastModifiedByValidationError !== null) {
10651
11007
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
10652
11008
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -10840,14 +11196,14 @@ const getManagedContentSingleItem_ConfigPropertyMetadata = [
10840
11196
  generateParamConfigMetadata('contentTypeFQN', true, 0 /* UrlParameter */, 0 /* String */),
10841
11197
  ];
10842
11198
  const getManagedContentSingleItem_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, getManagedContentSingleItem_ConfigPropertyMetadata);
10843
- const createResourceParams$7 = /*#__PURE__*/ createResourceParams$I(getManagedContentSingleItem_ConfigPropertyMetadata);
11199
+ const createResourceParams$7 = /*#__PURE__*/ createResourceParams$J(getManagedContentSingleItem_ConfigPropertyMetadata);
10844
11200
  function keyBuilder$a(luvio, config) {
10845
11201
  const resourceParams = createResourceParams$7(config);
10846
11202
  return keyBuilder$b(luvio, resourceParams);
10847
11203
  }
10848
11204
  function typeCheckConfig$7(untrustedConfig) {
10849
11205
  const config = {};
10850
- typeCheckConfig$I(untrustedConfig, config, getManagedContentSingleItem_ConfigPropertyMetadata);
11206
+ typeCheckConfig$J(untrustedConfig, config, getManagedContentSingleItem_ConfigPropertyMetadata);
10851
11207
  return config;
10852
11208
  }
10853
11209
  function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
@@ -10896,7 +11252,7 @@ function buildNetworkSnapshot$7(luvio, config, options) {
10896
11252
  });
10897
11253
  }
10898
11254
  function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext) {
10899
- return buildNetworkSnapshotCachePolicy$p(context, coercedAdapterRequestContext, buildNetworkSnapshot$7, undefined, false);
11255
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$7, undefined, false);
10900
11256
  }
10901
11257
  function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
10902
11258
  const { luvio, config } = context;
@@ -11095,14 +11451,14 @@ const getManagedContentSpaceOrchestratorConfig_ConfigPropertyMetadata = [
11095
11451
  generateParamConfigMetadata('contentSpaceId', true, 0 /* UrlParameter */, 0 /* String */),
11096
11452
  ];
11097
11453
  const getManagedContentSpaceOrchestratorConfig_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, getManagedContentSpaceOrchestratorConfig_ConfigPropertyMetadata);
11098
- const createResourceParams$6 = /*#__PURE__*/ createResourceParams$I(getManagedContentSpaceOrchestratorConfig_ConfigPropertyMetadata);
11454
+ const createResourceParams$6 = /*#__PURE__*/ createResourceParams$J(getManagedContentSpaceOrchestratorConfig_ConfigPropertyMetadata);
11099
11455
  function keyBuilder$7(luvio, config) {
11100
11456
  const resourceParams = createResourceParams$6(config);
11101
11457
  return keyBuilder$8(luvio, resourceParams);
11102
11458
  }
11103
11459
  function typeCheckConfig$6(untrustedConfig) {
11104
11460
  const config = {};
11105
- typeCheckConfig$I(untrustedConfig, config, getManagedContentSpaceOrchestratorConfig_ConfigPropertyMetadata);
11461
+ typeCheckConfig$J(untrustedConfig, config, getManagedContentSpaceOrchestratorConfig_ConfigPropertyMetadata);
11106
11462
  return config;
11107
11463
  }
11108
11464
  function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
@@ -11151,7 +11507,7 @@ function buildNetworkSnapshot$6(luvio, config, options) {
11151
11507
  });
11152
11508
  }
11153
11509
  function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
11154
- return buildNetworkSnapshotCachePolicy$p(context, coercedAdapterRequestContext, buildNetworkSnapshot$6, undefined, false);
11510
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$6, undefined, false);
11155
11511
  }
11156
11512
  function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
11157
11513
  const { luvio, config } = context;
@@ -11240,10 +11596,10 @@ const putManagedContentSpaceOrchestratorConfig_ConfigPropertyMetadata = [
11240
11596
  generateParamConfigMetadata('mContentOrchConfigInput', true, 2 /* Body */, 4 /* Unsupported */),
11241
11597
  ];
11242
11598
  const putManagedContentSpaceOrchestratorConfig_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, putManagedContentSpaceOrchestratorConfig_ConfigPropertyMetadata);
11243
- const createResourceParams$5 = /*#__PURE__*/ createResourceParams$I(putManagedContentSpaceOrchestratorConfig_ConfigPropertyMetadata);
11599
+ const createResourceParams$5 = /*#__PURE__*/ createResourceParams$J(putManagedContentSpaceOrchestratorConfig_ConfigPropertyMetadata);
11244
11600
  function typeCheckConfig$5(untrustedConfig) {
11245
11601
  const config = {};
11246
- typeCheckConfig$I(untrustedConfig, config, putManagedContentSpaceOrchestratorConfig_ConfigPropertyMetadata);
11602
+ typeCheckConfig$J(untrustedConfig, config, putManagedContentSpaceOrchestratorConfig_ConfigPropertyMetadata);
11247
11603
  const untrustedConfig_mContentOrchConfigInput = untrustedConfig.mContentOrchConfigInput;
11248
11604
  const referenceManagedContentOrchestratorConfigInputRepresentationValidationError = validate$6(untrustedConfig_mContentOrchConfigInput);
11249
11605
  if (referenceManagedContentOrchestratorConfigInputRepresentationValidationError === null) {
@@ -11308,7 +11664,7 @@ function validate$5(obj, path = 'ManagedContentTypeSummaryCollectionRepresentati
11308
11664
  for (let i = 0; i < obj_contentTypes.length; i++) {
11309
11665
  const obj_contentTypes_item = obj_contentTypes[i];
11310
11666
  const path_contentTypes_item = path_contentTypes + '[' + i + ']';
11311
- const referencepath_contentTypes_itemValidationError = validate$1a(obj_contentTypes_item, path_contentTypes_item);
11667
+ const referencepath_contentTypes_itemValidationError = validate$1c(obj_contentTypes_item, path_contentTypes_item);
11312
11668
  if (referencepath_contentTypes_itemValidationError !== null) {
11313
11669
  let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentTypes_item + '")\n';
11314
11670
  message += referencepath_contentTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -11328,7 +11684,7 @@ function normalize$2(input, existing, path, luvio, store, timestamp) {
11328
11684
  return input;
11329
11685
  }
11330
11686
  const select$8 = function ManagedContentTypeSummaryCollectionRepresentationSelect() {
11331
- const { selections: ManagedContentTypeSummaryRepresentation__selections, opaque: ManagedContentTypeSummaryRepresentation__opaque, } = select$1j();
11687
+ const { selections: ManagedContentTypeSummaryRepresentation__selections, opaque: ManagedContentTypeSummaryRepresentation__opaque, } = select$1m();
11332
11688
  return {
11333
11689
  kind: 'Fragment',
11334
11690
  version: VERSION$3,
@@ -11356,7 +11712,7 @@ function equals$3(existing, incoming) {
11356
11712
  const existing_contentTypes = existing.contentTypes;
11357
11713
  const incoming_contentTypes = incoming.contentTypes;
11358
11714
  const equals_contentTypes_items = equalsArray(existing_contentTypes, incoming_contentTypes, (existing_contentTypes_item, incoming_contentTypes_item) => {
11359
- if (!(equals$E(existing_contentTypes_item, incoming_contentTypes_item))) {
11715
+ if (!(equals$G(existing_contentTypes_item, incoming_contentTypes_item))) {
11360
11716
  return false;
11361
11717
  }
11362
11718
  });
@@ -11445,14 +11801,14 @@ const getManagedContentTypesForMixin_ConfigPropertyMetadata = [
11445
11801
  generateParamConfigMetadata('mixinFQN', false, 1 /* QueryParameter */, 0 /* String */),
11446
11802
  ];
11447
11803
  const getManagedContentTypesForMixin_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, getManagedContentTypesForMixin_ConfigPropertyMetadata);
11448
- const createResourceParams$4 = /*#__PURE__*/ createResourceParams$I(getManagedContentTypesForMixin_ConfigPropertyMetadata);
11804
+ const createResourceParams$4 = /*#__PURE__*/ createResourceParams$J(getManagedContentTypesForMixin_ConfigPropertyMetadata);
11449
11805
  function keyBuilder$5(luvio, config) {
11450
11806
  const resourceParams = createResourceParams$4(config);
11451
11807
  return keyBuilder$6(luvio, resourceParams);
11452
11808
  }
11453
11809
  function typeCheckConfig$4(untrustedConfig) {
11454
11810
  const config = {};
11455
- typeCheckConfig$I(untrustedConfig, config, getManagedContentTypesForMixin_ConfigPropertyMetadata);
11811
+ typeCheckConfig$J(untrustedConfig, config, getManagedContentTypesForMixin_ConfigPropertyMetadata);
11456
11812
  return config;
11457
11813
  }
11458
11814
  function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
@@ -11501,7 +11857,7 @@ function buildNetworkSnapshot$4(luvio, config, options) {
11501
11857
  });
11502
11858
  }
11503
11859
  function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
11504
- return buildNetworkSnapshotCachePolicy$p(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
11860
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
11505
11861
  }
11506
11862
  function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
11507
11863
  const { luvio, config } = context;
@@ -11830,10 +12186,10 @@ const createManagedContentExportV2Job_ConfigPropertyMetadata = [
11830
12186
  generateParamConfigMetadata('managedContentV2JobRequest', true, 2 /* Body */, 4 /* Unsupported */),
11831
12187
  ];
11832
12188
  const createManagedContentExportV2Job_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, createManagedContentExportV2Job_ConfigPropertyMetadata);
11833
- const createResourceParams$3 = /*#__PURE__*/ createResourceParams$I(createManagedContentExportV2Job_ConfigPropertyMetadata);
12189
+ const createResourceParams$3 = /*#__PURE__*/ createResourceParams$J(createManagedContentExportV2Job_ConfigPropertyMetadata);
11834
12190
  function typeCheckConfig$3(untrustedConfig) {
11835
12191
  const config = {};
11836
- typeCheckConfig$I(untrustedConfig, config, createManagedContentExportV2Job_ConfigPropertyMetadata);
12192
+ typeCheckConfig$J(untrustedConfig, config, createManagedContentExportV2Job_ConfigPropertyMetadata);
11837
12193
  const untrustedConfig_managedContentV2JobRequest = untrustedConfig.managedContentV2JobRequest;
11838
12194
  const referenceManagedContentExportContentV2JobRequestInputRepresentationValidationError = validate$4(untrustedConfig_managedContentV2JobRequest);
11839
12195
  if (referenceManagedContentExportContentV2JobRequestInputRepresentationValidationError === null) {
@@ -11950,10 +12306,10 @@ const createManagedContentImportV2Job_ConfigPropertyMetadata = [
11950
12306
  generateParamConfigMetadata('managedContentV2JobRequest', true, 2 /* Body */, 4 /* Unsupported */),
11951
12307
  ];
11952
12308
  const createManagedContentImportV2Job_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, createManagedContentImportV2Job_ConfigPropertyMetadata);
11953
- const createResourceParams$2 = /*#__PURE__*/ createResourceParams$I(createManagedContentImportV2Job_ConfigPropertyMetadata);
12309
+ const createResourceParams$2 = /*#__PURE__*/ createResourceParams$J(createManagedContentImportV2Job_ConfigPropertyMetadata);
11954
12310
  function typeCheckConfig$2(untrustedConfig) {
11955
12311
  const config = {};
11956
- typeCheckConfig$I(untrustedConfig, config, createManagedContentImportV2Job_ConfigPropertyMetadata);
12312
+ typeCheckConfig$J(untrustedConfig, config, createManagedContentImportV2Job_ConfigPropertyMetadata);
11957
12313
  const untrustedConfig_managedContentV2JobRequest = untrustedConfig.managedContentV2JobRequest;
11958
12314
  const referenceManagedContentV2JobRequestInputRepresentationValidationError = validate$2(untrustedConfig_managedContentV2JobRequest);
11959
12315
  if (referenceManagedContentV2JobRequestInputRepresentationValidationError === null) {
@@ -12269,14 +12625,14 @@ const getManagedContentPreviews_ConfigPropertyMetadata = [
12269
12625
  generateParamConfigMetadata('managedContentTypeName', false, 1 /* QueryParameter */, 0 /* String */),
12270
12626
  ];
12271
12627
  const getManagedContentPreviews_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getManagedContentPreviews_ConfigPropertyMetadata);
12272
- const createResourceParams$1 = /*#__PURE__*/ createResourceParams$I(getManagedContentPreviews_ConfigPropertyMetadata);
12628
+ const createResourceParams$1 = /*#__PURE__*/ createResourceParams$J(getManagedContentPreviews_ConfigPropertyMetadata);
12273
12629
  function keyBuilder$2(luvio, config) {
12274
12630
  const resourceParams = createResourceParams$1(config);
12275
12631
  return keyBuilder$3(luvio, resourceParams);
12276
12632
  }
12277
12633
  function typeCheckConfig$1(untrustedConfig) {
12278
12634
  const config = {};
12279
- typeCheckConfig$I(untrustedConfig, config, getManagedContentPreviews_ConfigPropertyMetadata);
12635
+ typeCheckConfig$J(untrustedConfig, config, getManagedContentPreviews_ConfigPropertyMetadata);
12280
12636
  return config;
12281
12637
  }
12282
12638
  function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
@@ -12325,7 +12681,7 @@ function buildNetworkSnapshot$1(luvio, config, options) {
12325
12681
  });
12326
12682
  }
12327
12683
  function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
12328
- return buildNetworkSnapshotCachePolicy$p(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
12684
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
12329
12685
  }
12330
12686
  function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
12331
12687
  const { luvio, config } = context;
@@ -12466,14 +12822,14 @@ const getManagedContentForSite_ConfigPropertyMetadata = [
12466
12822
  generateParamConfigMetadata('version', false, 1 /* QueryParameter */, 0 /* String */),
12467
12823
  ];
12468
12824
  const getManagedContentForSite_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, getManagedContentForSite_ConfigPropertyMetadata);
12469
- const createResourceParams = /*#__PURE__*/ createResourceParams$I(getManagedContentForSite_ConfigPropertyMetadata);
12825
+ const createResourceParams = /*#__PURE__*/ createResourceParams$J(getManagedContentForSite_ConfigPropertyMetadata);
12470
12826
  function keyBuilder(luvio, config) {
12471
12827
  const resourceParams = createResourceParams(config);
12472
12828
  return keyBuilder$1(luvio, resourceParams);
12473
12829
  }
12474
12830
  function typeCheckConfig(untrustedConfig) {
12475
12831
  const config = {};
12476
- typeCheckConfig$I(untrustedConfig, config, getManagedContentForSite_ConfigPropertyMetadata);
12832
+ typeCheckConfig$J(untrustedConfig, config, getManagedContentForSite_ConfigPropertyMetadata);
12477
12833
  return config;
12478
12834
  }
12479
12835
  function validateAdapterConfig(untrustedConfig, configPropertyNames) {
@@ -12522,7 +12878,7 @@ function buildNetworkSnapshot(luvio, config, options) {
12522
12878
  });
12523
12879
  }
12524
12880
  function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
12525
- return buildNetworkSnapshotCachePolicy$p(context, coercedAdapterRequestContext, buildNetworkSnapshot, undefined, false);
12881
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot, undefined, false);
12526
12882
  }
12527
12883
  function buildCachedSnapshotCachePolicy(context, storeLookup) {
12528
12884
  const { luvio, config } = context;
@@ -12547,4 +12903,4 @@ const getManagedContentForSiteAdapterFactory = (luvio) => function CMSAuthoring_
12547
12903
  buildCachedSnapshotCachePolicy, buildNetworkSnapshotCachePolicy);
12548
12904
  };
12549
12905
 
12550
- export { cloneManagedContentDocumentAdapterFactory, createDeploymentAdapterFactory, createManagedContentAdapterFactory, createManagedContentExportV2JobAdapterFactory, createManagedContentImportV2JobAdapterFactory, createManagedContentVariantAdapterFactory, createScheduleAdapterFactory, createTranslationV2JobAdapterFactory, deleteManagedContentVariantAdapterFactory, getAllCMSJobsForSpaceAdapterFactory, getCMSJobForSpaceAdapterFactory, getCollectionItemsAdapterFactory, getDeploymentsAdapterFactory, getMCSFolderShareTargetsAdapterFactory, getMCSFolderSharesAdapterFactory, getManagedContentAdapterFactory, getManagedContentByFolderIdAdapterFactory, getManagedContentForSiteAdapterFactory, getManagedContentPreviewsAdapterFactory, getManagedContentReferencedByAdapterFactory, getManagedContentSingleItemAdapterFactory, getManagedContentSpaceAdapterFactory, getManagedContentSpaceFolderAdapterFactory, getManagedContentSpaceFolderItemsV1AdapterFactory, getManagedContentSpaceOrchestratorConfigAdapterFactory, getManagedContentSpacesAdapterFactory, getManagedContentTaxonomyTermsAdapterFactory, getManagedContentTypesForMixinAdapterFactory, getManagedContentVariantAdapterFactory, getManagedContentVariantReferencesAdapterFactory, getManagedContentVariantRenditionAdapterFactory, getManagedContentVariantVersionsAdapterFactory, getSearchResultsAdapterFactory, getWebUrlsAdapterFactory, patchManagedContentSpaceAdapterFactory, postManagedContentSpaceFolderAdapterFactory, publishManagedContentAdapterFactory, putManagedContentSpaceOrchestratorConfigAdapterFactory, replaceManagedContentVariantAdapterFactory, unpublishManagedContentAdapterFactory, updateDeploymentAdapterFactory, updateMCSFolderSharesAdapterFactory, updateManagedContentTaxonomyTermsAdapterFactory, updateManagedContentWebUrlAdapterFactory };
12906
+ export { cloneManagedContentDocumentAdapterFactory, createDeploymentAdapterFactory, createManagedContentAdapterFactory, createManagedContentExportV2JobAdapterFactory, createManagedContentImportV2JobAdapterFactory, createManagedContentVariantAdapterFactory, createScheduleAdapterFactory, createTranslationV2JobAdapterFactory, deleteManagedContentVariantAdapterFactory, getAllCMSJobsForSpaceAdapterFactory, getCMSJobForSpaceAdapterFactory, getCollectionItemsAdapterFactory, getDeploymentsAdapterFactory, getMCSFolderShareTargetsAdapterFactory, getMCSFolderSharesAdapterFactory, getManagedContentAdapterFactory, getManagedContentByFolderIdAdapterFactory, getManagedContentForSiteAdapterFactory, getManagedContentPreviewsAdapterFactory, getManagedContentProvidersAdapterFactory, getManagedContentReferencedByAdapterFactory, getManagedContentSingleItemAdapterFactory, getManagedContentSpaceAdapterFactory, getManagedContentSpaceFolderAdapterFactory, getManagedContentSpaceFolderItemsV1AdapterFactory, getManagedContentSpaceOrchestratorConfigAdapterFactory, getManagedContentSpacesAdapterFactory, getManagedContentTaxonomyTermsAdapterFactory, getManagedContentTypesForMixinAdapterFactory, getManagedContentVariantAdapterFactory, getManagedContentVariantReferencesAdapterFactory, getManagedContentVariantRenditionAdapterFactory, getManagedContentVariantVersionsAdapterFactory, getSearchResultsAdapterFactory, getWebUrlsAdapterFactory, patchManagedContentSpaceAdapterFactory, postManagedContentSpaceFolderAdapterFactory, publishManagedContentAdapterFactory, putManagedContentSpaceOrchestratorConfigAdapterFactory, replaceManagedContentVariantAdapterFactory, unpublishManagedContentAdapterFactory, updateDeploymentAdapterFactory, updateMCSFolderSharesAdapterFactory, updateManagedContentTaxonomyTermsAdapterFactory, updateManagedContentWebUrlAdapterFactory };