@salesforce/lds-adapters-cms-authoring 1.273.0 → 1.274.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$l, typeCheckConfig as typeCheckConfig$B, StoreKeyMap, createResourceParams as createResourceParams$B } from '@luvio/engine';
7
+ import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$l, typeCheckConfig as typeCheckConfig$C, StoreKeyMap, createResourceParams as createResourceParams$C } 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$z = "7297fb0dbfe8f664d76179a65037c290";
97
- function validate$12(obj, path = 'ManagedContentTypeSummaryRepresentation') {
96
+ const VERSION$A = "7297fb0dbfe8f664d76179a65037c290";
97
+ function validate$18(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$12(obj, path = 'ManagedContentTypeSummaryRepresentation') {
114
114
  })();
115
115
  return v_error === undefined ? null : v_error;
116
116
  }
117
- const select$17 = function ManagedContentTypeSummaryRepresentationSelect() {
117
+ const select$19 = function ManagedContentTypeSummaryRepresentationSelect() {
118
118
  return {
119
119
  kind: 'Fragment',
120
- version: VERSION$z,
120
+ version: VERSION$A,
121
121
  private: [],
122
122
  selections: [
123
123
  {
@@ -132,7 +132,7 @@ const select$17 = function ManagedContentTypeSummaryRepresentationSelect() {
132
132
  ]
133
133
  };
134
134
  };
135
- function equals$z(existing, incoming) {
135
+ function equals$A(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$z(existing, incoming) {
154
154
  return true;
155
155
  }
156
156
 
157
- const VERSION$y = "c30d880a3dba684a405d1cf961af2b76";
158
- function validate$11(obj, path = 'ManagedContentVariantSnapshotSummaryRepresentation') {
157
+ const VERSION$z = "c30d880a3dba684a405d1cf961af2b76";
158
+ function validate$17(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$11(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$12(obj_contentType, path_contentType);
167
+ const referencepath_contentTypeValidationError = validate$18(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$11(obj, path = 'ManagedContentVariantSnapshotSummaryRepresenta
322
322
  })();
323
323
  return v_error === undefined ? null : v_error;
324
324
  }
325
- const select$16 = function ManagedContentVariantSnapshotSummaryRepresentationSelect() {
326
- const { selections: ManagedContentTypeSummaryRepresentation__selections, opaque: ManagedContentTypeSummaryRepresentation__opaque, } = select$17();
325
+ const select$18 = function ManagedContentVariantSnapshotSummaryRepresentationSelect() {
326
+ const { selections: ManagedContentTypeSummaryRepresentation__selections, opaque: ManagedContentTypeSummaryRepresentation__opaque, } = select$19();
327
327
  return {
328
328
  kind: 'Fragment',
329
- version: VERSION$y,
329
+ version: VERSION$z,
330
330
  private: [],
331
331
  selections: [
332
332
  {
@@ -358,13 +358,13 @@ const select$16 = function ManagedContentVariantSnapshotSummaryRepresentationSel
358
358
  ]
359
359
  };
360
360
  };
361
- function equals$y(existing, incoming) {
361
+ function equals$z(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$z(existing_contentType, incoming_contentType)))) {
367
+ equals$A(existing_contentType, incoming_contentType)))) {
368
368
  return false;
369
369
  }
370
370
  const existing_id = existing.id;
@@ -395,8 +395,8 @@ function equals$y(existing, incoming) {
395
395
  return true;
396
396
  }
397
397
 
398
- const VERSION$x = "f99d45f1e809783023bfd9dbe2fe4a6c";
399
- function validate$10(obj, path = 'ManagedContentDeploymentItemRepresentation') {
398
+ const VERSION$y = "f99d45f1e809783023bfd9dbe2fe4a6c";
399
+ function validate$16(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$10(obj, path = 'ManagedContentDeploymentItemRepresentation') {
423
423
  }
424
424
  const obj_mcvSnapshotSummary = obj.mcvSnapshotSummary;
425
425
  const path_mcvSnapshotSummary = path + '.mcvSnapshotSummary';
426
- const referencepath_mcvSnapshotSummaryValidationError = validate$11(obj_mcvSnapshotSummary, path_mcvSnapshotSummary);
426
+ const referencepath_mcvSnapshotSummaryValidationError = validate$17(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$10(obj, path = 'ManagedContentDeploymentItemRepresentation') {
489
489
  })();
490
490
  return v_error === undefined ? null : v_error;
491
491
  }
492
- const select$15 = function ManagedContentDeploymentItemRepresentationSelect() {
493
- const { selections: ManagedContentVariantSnapshotSummaryRepresentation__selections, opaque: ManagedContentVariantSnapshotSummaryRepresentation__opaque, } = select$16();
492
+ const select$17 = function ManagedContentDeploymentItemRepresentationSelect() {
493
+ const { selections: ManagedContentVariantSnapshotSummaryRepresentation__selections, opaque: ManagedContentVariantSnapshotSummaryRepresentation__opaque, } = select$18();
494
494
  return {
495
495
  kind: 'Fragment',
496
- version: VERSION$x,
496
+ version: VERSION$y,
497
497
  private: [],
498
498
  selections: [
499
499
  {
@@ -532,7 +532,7 @@ const select$15 = function ManagedContentDeploymentItemRepresentationSelect() {
532
532
  ]
533
533
  };
534
534
  };
535
- function equals$x(existing, incoming) {
535
+ function equals$y(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$x(existing, incoming) {
560
560
  }
561
561
  const existing_mcvSnapshotSummary = existing.mcvSnapshotSummary;
562
562
  const incoming_mcvSnapshotSummary = incoming.mcvSnapshotSummary;
563
- if (!(equals$y(existing_mcvSnapshotSummary, incoming_mcvSnapshotSummary))) {
563
+ if (!(equals$z(existing_mcvSnapshotSummary, incoming_mcvSnapshotSummary))) {
564
564
  return false;
565
565
  }
566
566
  const existing_targetId = existing.targetId;
@@ -576,8 +576,8 @@ function equals$x(existing, incoming) {
576
576
  return true;
577
577
  }
578
578
 
579
- const VERSION$w = "4b75ed6ff448da86412b605f7e775a62";
580
- function validate$$(obj, path = 'ManagedContentUserSummaryRepresentation') {
579
+ const VERSION$x = "4b75ed6ff448da86412b605f7e775a62";
580
+ function validate$15(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$$(obj, path = 'ManagedContentUserSummaryRepresentation') {
602
602
  })();
603
603
  return v_error === undefined ? null : v_error;
604
604
  }
605
- const select$14 = function ManagedContentUserSummaryRepresentationSelect() {
605
+ const select$16 = function ManagedContentUserSummaryRepresentationSelect() {
606
606
  return {
607
607
  kind: 'Fragment',
608
- version: VERSION$w,
608
+ version: VERSION$x,
609
609
  private: [],
610
610
  selections: [
611
611
  {
@@ -624,7 +624,7 @@ const select$14 = function ManagedContentUserSummaryRepresentationSelect() {
624
624
  ]
625
625
  };
626
626
  };
627
- function equals$w(existing, incoming) {
627
+ function equals$x(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$w(existing, incoming) {
651
651
  return true;
652
652
  }
653
653
 
654
- const TTL$r = 100;
655
- const VERSION$v = "f7e3c655efe77a7c9968ade15a6029b1";
656
- function validate$_(obj, path = 'ManagedContentDeploymentRepresentation') {
654
+ const TTL$s = 100;
655
+ const VERSION$w = "f7e3c655efe77a7c9968ade15a6029b1";
656
+ function validate$14(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$_(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$10(obj_deploymentItems_item, path_deploymentItems_item);
726
+ const referencepath_deploymentItems_itemValidationError = validate$16(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$_(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$$(obj_lastModifiedBy, path_lastModifiedBy);
789
+ const referencepath_lastModifiedByValidationError = validate$15(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$_(obj, path = 'ManagedContentDeploymentRepresentation') {
840
840
  })();
841
841
  return v_error === undefined ? null : v_error;
842
842
  }
843
- const RepresentationType$s = 'ManagedContentDeploymentRepresentation';
844
- function keyBuilder$U(luvio, config) {
845
- return keyPrefix + '::' + RepresentationType$s + ':' + config.id;
843
+ const RepresentationType$t = 'ManagedContentDeploymentRepresentation';
844
+ function keyBuilder$V(luvio, config) {
845
+ return keyPrefix + '::' + RepresentationType$t + ':' + config.id;
846
846
  }
847
- function keyBuilderFromType$d(luvio, object) {
847
+ function keyBuilderFromType$e(luvio, object) {
848
848
  const keyParams = {
849
849
  id: object.deploymentId
850
850
  };
851
- return keyBuilder$U(luvio, keyParams);
851
+ return keyBuilder$V(luvio, keyParams);
852
852
  }
853
- function normalize$s(input, existing, path, luvio, store, timestamp) {
853
+ function normalize$t(input, existing, path, luvio, store, timestamp) {
854
854
  return input;
855
855
  }
856
- const select$13 = function ManagedContentDeploymentRepresentationSelect() {
857
- const { selections: ManagedContentDeploymentItemRepresentation__selections, opaque: ManagedContentDeploymentItemRepresentation__opaque, } = select$15();
858
- const { selections: ManagedContentUserSummaryRepresentation__selections, opaque: ManagedContentUserSummaryRepresentation__opaque, } = select$14();
856
+ const select$15 = function ManagedContentDeploymentRepresentationSelect() {
857
+ const { selections: ManagedContentDeploymentItemRepresentation__selections, opaque: ManagedContentDeploymentItemRepresentation__opaque, } = select$17();
858
+ const { selections: ManagedContentUserSummaryRepresentation__selections, opaque: ManagedContentUserSummaryRepresentation__opaque, } = select$16();
859
859
  return {
860
860
  kind: 'Fragment',
861
- version: VERSION$v,
861
+ version: VERSION$w,
862
862
  private: [],
863
863
  selections: [
864
864
  {
@@ -900,7 +900,7 @@ const select$13 = function ManagedContentDeploymentRepresentationSelect() {
900
900
  ]
901
901
  };
902
902
  };
903
- function equals$v(existing, incoming) {
903
+ function equals$w(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$v(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$x(existing_deploymentItems_item, incoming_deploymentItems_item))) {
922
+ if (!(equals$y(existing_deploymentItems_item, incoming_deploymentItems_item))) {
923
923
  return false;
924
924
  }
925
925
  });
@@ -941,7 +941,7 @@ function equals$v(existing, incoming) {
941
941
  if (!(existing_lastModifiedBy === incoming_lastModifiedBy
942
942
  || (existing_lastModifiedBy != null &&
943
943
  incoming_lastModifiedBy != null &&
944
- equals$w(existing_lastModifiedBy, incoming_lastModifiedBy)))) {
944
+ equals$x(existing_lastModifiedBy, incoming_lastModifiedBy)))) {
945
945
  return false;
946
946
  }
947
947
  const existing_scheduledDate = existing.scheduledDate;
@@ -951,31 +951,31 @@ function equals$v(existing, incoming) {
951
951
  }
952
952
  return true;
953
953
  }
954
- const ingest$s = function ManagedContentDeploymentRepresentationIngest(input, path, luvio, store, timestamp) {
954
+ const ingest$t = function ManagedContentDeploymentRepresentationIngest(input, path, luvio, store, timestamp) {
955
955
  if (process.env.NODE_ENV !== 'production') {
956
- const validateError = validate$_(input);
956
+ const validateError = validate$14(input);
957
957
  if (validateError !== null) {
958
958
  throw validateError;
959
959
  }
960
960
  }
961
- const key = keyBuilderFromType$d(luvio, input);
962
- const ttlToUse = TTL$r;
963
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$s, "CMSAuthoring", VERSION$v, RepresentationType$s, equals$v);
961
+ const key = keyBuilderFromType$e(luvio, input);
962
+ const ttlToUse = TTL$s;
963
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$t, "CMSAuthoring", VERSION$w, RepresentationType$t, equals$w);
964
964
  return createLink(key);
965
965
  };
966
- function getTypeCacheKeys$s(rootKeySet, luvio, input, fullPathFactory) {
966
+ function getTypeCacheKeys$t(rootKeySet, luvio, input, fullPathFactory) {
967
967
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
968
- const rootKey = keyBuilderFromType$d(luvio, input);
968
+ const rootKey = keyBuilderFromType$e(luvio, input);
969
969
  rootKeySet.set(rootKey, {
970
970
  namespace: keyPrefix,
971
- representationName: RepresentationType$s,
971
+ representationName: RepresentationType$t,
972
972
  mergeable: false
973
973
  });
974
974
  }
975
975
 
976
- const TTL$q = 100;
977
- const VERSION$u = "b2c15aa80814ecd854e68bf635879e35";
978
- function validate$Z(obj, path = 'ManagedContentDeploymentCollectionRepresentation') {
976
+ const TTL$r = 100;
977
+ const VERSION$v = "b2c15aa80814ecd854e68bf635879e35";
978
+ function validate$13(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$Z(obj, path = 'ManagedContentDeploymentCollectionRepresentatio
1052
1052
  })();
1053
1053
  return v_error === undefined ? null : v_error;
1054
1054
  }
1055
- const RepresentationType$r = 'ManagedContentDeploymentCollectionRepresentation';
1056
- function normalize$r(input, existing, path, luvio, store, timestamp) {
1055
+ const RepresentationType$s = 'ManagedContentDeploymentCollectionRepresentation';
1056
+ function normalize$s(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$s(input_deployments_item, {
1062
+ input_deployments[i] = ingest$t(input_deployments_item, {
1063
1063
  fullPath: input_deployments_item_id,
1064
1064
  propertyName: i,
1065
1065
  parent: {
@@ -1072,10 +1072,10 @@ function normalize$r(input, existing, path, luvio, store, timestamp) {
1072
1072
  }
1073
1073
  return input;
1074
1074
  }
1075
- const select$12 = function ManagedContentDeploymentCollectionRepresentationSelect() {
1075
+ const select$14 = function ManagedContentDeploymentCollectionRepresentationSelect() {
1076
1076
  return {
1077
1077
  kind: 'Fragment',
1078
- version: VERSION$u,
1078
+ version: VERSION$v,
1079
1079
  private: [],
1080
1080
  selections: [
1081
1081
  {
@@ -1086,7 +1086,7 @@ const select$12 = function ManagedContentDeploymentCollectionRepresentationSelec
1086
1086
  name: 'deployments',
1087
1087
  kind: 'Link',
1088
1088
  plural: true,
1089
- fragment: select$13()
1089
+ fragment: select$15()
1090
1090
  },
1091
1091
  {
1092
1092
  name: 'nextPageUrl',
@@ -1099,7 +1099,7 @@ const select$12 = function ManagedContentDeploymentCollectionRepresentationSelec
1099
1099
  ]
1100
1100
  };
1101
1101
  };
1102
- function equals$u(existing, incoming) {
1102
+ function equals$v(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$u(existing, incoming) {
1127
1127
  }
1128
1128
  return true;
1129
1129
  }
1130
- const ingest$r = function ManagedContentDeploymentCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
1130
+ const ingest$s = function ManagedContentDeploymentCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
1131
1131
  if (process.env.NODE_ENV !== 'production') {
1132
- const validateError = validate$Z(input);
1132
+ const validateError = validate$13(input);
1133
1133
  if (validateError !== null) {
1134
1134
  throw validateError;
1135
1135
  }
1136
1136
  }
1137
1137
  const key = path.fullPath;
1138
- const ttlToUse = TTL$q;
1139
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$r, "CMSAuthoring", VERSION$u, RepresentationType$r, equals$u);
1138
+ const ttlToUse = TTL$r;
1139
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$s, "CMSAuthoring", VERSION$v, RepresentationType$s, equals$v);
1140
1140
  return createLink(key);
1141
1141
  };
1142
- function getTypeCacheKeys$r(rootKeySet, luvio, input, fullPathFactory) {
1142
+ function getTypeCacheKeys$s(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$r,
1147
+ representationName: RepresentationType$s,
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$s(rootKeySet, luvio, input.deployments[i]);
1152
+ getTypeCacheKeys$t(rootKeySet, luvio, input.deployments[i]);
1153
1153
  }
1154
1154
  }
1155
1155
 
1156
- function select$11(luvio, params) {
1157
- return select$12();
1156
+ function select$13(luvio, params) {
1157
+ return select$14();
1158
1158
  }
1159
- function keyBuilder$T(luvio, params) {
1159
+ function keyBuilder$U(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$A(storeKeyMap, luvio, resourceParams, response) {
1163
- getTypeCacheKeys$r(storeKeyMap, luvio, response, () => keyBuilder$T(luvio, resourceParams));
1162
+ function getResponseCacheKeys$B(storeKeyMap, luvio, resourceParams, response) {
1163
+ getTypeCacheKeys$s(storeKeyMap, luvio, response, () => keyBuilder$U(luvio, resourceParams));
1164
1164
  }
1165
- function ingestSuccess$A(luvio, resourceParams, response, snapshotRefresh) {
1165
+ function ingestSuccess$B(luvio, resourceParams, response, snapshotRefresh) {
1166
1166
  const { body } = response;
1167
- const key = keyBuilder$T(luvio, resourceParams);
1168
- luvio.storeIngest(key, ingest$r, body);
1167
+ const key = keyBuilder$U(luvio, resourceParams);
1168
+ luvio.storeIngest(key, ingest$s, body);
1169
1169
  const snapshot = luvio.storeLookup({
1170
1170
  recordId: key,
1171
- node: select$11(),
1171
+ node: select$13(),
1172
1172
  variables: {},
1173
1173
  }, snapshotRefresh);
1174
1174
  if (process.env.NODE_ENV !== 'production') {
@@ -1180,18 +1180,18 @@ function ingestSuccess$A(luvio, resourceParams, response, snapshotRefresh) {
1180
1180
  return snapshot;
1181
1181
  }
1182
1182
  function ingestError$k(luvio, params, error, snapshotRefresh) {
1183
- const key = keyBuilder$T(luvio, params);
1183
+ const key = keyBuilder$U(luvio, params);
1184
1184
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
1185
1185
  const storeMetadataParams = {
1186
- ttl: TTL$q,
1186
+ ttl: TTL$r,
1187
1187
  namespace: keyPrefix,
1188
- version: VERSION$u,
1189
- representationName: RepresentationType$r
1188
+ version: VERSION$v,
1189
+ representationName: RepresentationType$s
1190
1190
  };
1191
1191
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
1192
1192
  return errorSnapshot;
1193
1193
  }
1194
- function createResourceRequest$A(config) {
1194
+ function createResourceRequest$B(config) {
1195
1195
  const headers = {};
1196
1196
  return {
1197
1197
  baseUri: '/services/data/v61.0',
@@ -1205,7 +1205,7 @@ function createResourceRequest$A(config) {
1205
1205
  };
1206
1206
  }
1207
1207
 
1208
- const adapterName$A = 'getDeployments';
1208
+ const adapterName$B = '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$A, getDeployments_ConfigPropertyMetadata);
1226
- const createResourceParams$A = /*#__PURE__*/ createResourceParams$B(getDeployments_ConfigPropertyMetadata);
1227
- function keyBuilder$S(luvio, config) {
1228
- const resourceParams = createResourceParams$A(config);
1229
- return keyBuilder$T(luvio, resourceParams);
1225
+ const getDeployments_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$B, getDeployments_ConfigPropertyMetadata);
1226
+ const createResourceParams$B = /*#__PURE__*/ createResourceParams$C(getDeployments_ConfigPropertyMetadata);
1227
+ function keyBuilder$T(luvio, config) {
1228
+ const resourceParams = createResourceParams$B(config);
1229
+ return keyBuilder$U(luvio, resourceParams);
1230
1230
  }
1231
- function typeCheckConfig$A(untrustedConfig) {
1231
+ function typeCheckConfig$B(untrustedConfig) {
1232
1232
  const config = {};
1233
- typeCheckConfig$B(untrustedConfig, config, getDeployments_ConfigPropertyMetadata);
1233
+ typeCheckConfig$C(untrustedConfig, config, getDeployments_ConfigPropertyMetadata);
1234
1234
  return config;
1235
1235
  }
1236
- function validateAdapterConfig$A(untrustedConfig, configPropertyNames) {
1236
+ function validateAdapterConfig$B(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$A(untrustedConfig);
1243
+ const config = typeCheckConfig$B(untrustedConfig);
1244
1244
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
1245
1245
  return null;
1246
1246
  }
@@ -1253,31 +1253,31 @@ function validateAdapterConfig$A(untrustedConfig, configPropertyNames) {
1253
1253
  return config;
1254
1254
  }
1255
1255
  function adapterFragment$k(luvio, config) {
1256
- createResourceParams$A(config);
1257
- return select$11();
1256
+ createResourceParams$B(config);
1257
+ return select$13();
1258
1258
  }
1259
1259
  function onFetchResponseSuccess$m(luvio, config, resourceParams, response) {
1260
- const snapshot = ingestSuccess$A(luvio, resourceParams, response, {
1260
+ const snapshot = ingestSuccess$B(luvio, resourceParams, response, {
1261
1261
  config,
1262
- resolve: () => buildNetworkSnapshot$A(luvio, config, snapshotRefreshOptions)
1262
+ resolve: () => buildNetworkSnapshot$B(luvio, config, snapshotRefreshOptions)
1263
1263
  });
1264
1264
  return luvio.storeBroadcast().then(() => snapshot);
1265
1265
  }
1266
1266
  function onFetchResponseError$k(luvio, config, resourceParams, response) {
1267
1267
  const snapshot = ingestError$k(luvio, resourceParams, response, {
1268
1268
  config,
1269
- resolve: () => buildNetworkSnapshot$A(luvio, config, snapshotRefreshOptions)
1269
+ resolve: () => buildNetworkSnapshot$B(luvio, config, snapshotRefreshOptions)
1270
1270
  });
1271
1271
  return luvio.storeBroadcast().then(() => snapshot);
1272
1272
  }
1273
- function buildNetworkSnapshot$A(luvio, config, options) {
1274
- const resourceParams = createResourceParams$A(config);
1275
- const request = createResourceRequest$A(resourceParams);
1273
+ function buildNetworkSnapshot$B(luvio, config, options) {
1274
+ const resourceParams = createResourceParams$B(config);
1275
+ const request = createResourceRequest$B(resourceParams);
1276
1276
  return luvio.dispatchResourceRequest(request, options)
1277
1277
  .then((response) => {
1278
1278
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$m(luvio, config, resourceParams, response), () => {
1279
1279
  const cache = new StoreKeyMap();
1280
- getResponseCacheKeys$A(cache, luvio, resourceParams, response.body);
1280
+ getResponseCacheKeys$B(cache, luvio, resourceParams, response.body);
1281
1281
  return cache;
1282
1282
  });
1283
1283
  }, (response) => {
@@ -1285,23 +1285,23 @@ function buildNetworkSnapshot$A(luvio, config, options) {
1285
1285
  });
1286
1286
  }
1287
1287
  function buildNetworkSnapshotCachePolicy$k(context, coercedAdapterRequestContext) {
1288
- return buildNetworkSnapshotCachePolicy$l(context, coercedAdapterRequestContext, buildNetworkSnapshot$A, undefined, false);
1288
+ return buildNetworkSnapshotCachePolicy$l(context, coercedAdapterRequestContext, buildNetworkSnapshot$B, undefined, false);
1289
1289
  }
1290
1290
  function buildCachedSnapshotCachePolicy$k(context, storeLookup) {
1291
1291
  const { luvio, config } = context;
1292
1292
  const selector = {
1293
- recordId: keyBuilder$S(luvio, config),
1293
+ recordId: keyBuilder$T(luvio, config),
1294
1294
  node: adapterFragment$k(luvio, config),
1295
1295
  variables: {},
1296
1296
  };
1297
1297
  const cacheSnapshot = storeLookup(selector, {
1298
1298
  config,
1299
- resolve: () => buildNetworkSnapshot$A(luvio, config, snapshotRefreshOptions)
1299
+ resolve: () => buildNetworkSnapshot$B(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$A(untrustedConfig, getDeployments_ConfigPropertyNames);
1304
+ const config = validateAdapterConfig$B(untrustedConfig, getDeployments_ConfigPropertyNames);
1305
1305
  // Invalid or incomplete config
1306
1306
  if (config === null) {
1307
1307
  return null;
@@ -1310,7 +1310,7 @@ const getDeploymentsAdapterFactory = (luvio) => function CMSAuthoring__getDeploy
1310
1310
  buildCachedSnapshotCachePolicy$k, buildNetworkSnapshotCachePolicy$k);
1311
1311
  };
1312
1312
 
1313
- function validate$Y(obj, path = 'ManagedContentDeploymentInputRepresentation') {
1313
+ function validate$12(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$Y(obj, path = 'ManagedContentDeploymentInputRepresentation') {
1394
1394
  return v_error === undefined ? null : v_error;
1395
1395
  }
1396
1396
 
1397
- function select$10(luvio, params) {
1398
- return select$13();
1397
+ function select$12(luvio, params) {
1398
+ return select$15();
1399
1399
  }
1400
- function getResponseCacheKeys$z(storeKeyMap, luvio, resourceParams, response) {
1401
- getTypeCacheKeys$s(storeKeyMap, luvio, response);
1400
+ function getResponseCacheKeys$A(storeKeyMap, luvio, resourceParams, response) {
1401
+ getTypeCacheKeys$t(storeKeyMap, luvio, response);
1402
1402
  }
1403
- function ingestSuccess$z(luvio, resourceParams, response) {
1403
+ function ingestSuccess$A(luvio, resourceParams, response) {
1404
1404
  const { body } = response;
1405
- const key = keyBuilderFromType$d(luvio, body);
1406
- luvio.storeIngest(key, ingest$s, body);
1405
+ const key = keyBuilderFromType$e(luvio, body);
1406
+ luvio.storeIngest(key, ingest$t, body);
1407
1407
  const snapshot = luvio.storeLookup({
1408
1408
  recordId: key,
1409
- node: select$10(),
1409
+ node: select$12(),
1410
1410
  variables: {},
1411
1411
  });
1412
1412
  if (process.env.NODE_ENV !== 'production') {
@@ -1417,7 +1417,7 @@ function ingestSuccess$z(luvio, resourceParams, response) {
1417
1417
  deepFreeze(snapshot.data);
1418
1418
  return snapshot;
1419
1419
  }
1420
- function createResourceRequest$z(config) {
1420
+ function createResourceRequest$A(config) {
1421
1421
  const headers = {};
1422
1422
  return {
1423
1423
  baseUri: '/services/data/v61.0',
@@ -1431,45 +1431,45 @@ function createResourceRequest$z(config) {
1431
1431
  };
1432
1432
  }
1433
1433
 
1434
- const adapterName$z = 'createDeployment';
1434
+ const adapterName$A = 'createDeployment';
1435
1435
  const createDeployment_ConfigPropertyMetadata = [
1436
1436
  generateParamConfigMetadata('DeploymentInput', true, 2 /* Body */, 4 /* Unsupported */),
1437
1437
  ];
1438
- const createDeployment_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$z, createDeployment_ConfigPropertyMetadata);
1439
- const createResourceParams$z = /*#__PURE__*/ createResourceParams$B(createDeployment_ConfigPropertyMetadata);
1440
- function typeCheckConfig$z(untrustedConfig) {
1438
+ const createDeployment_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$A, createDeployment_ConfigPropertyMetadata);
1439
+ const createResourceParams$A = /*#__PURE__*/ createResourceParams$C(createDeployment_ConfigPropertyMetadata);
1440
+ function typeCheckConfig$A(untrustedConfig) {
1441
1441
  const config = {};
1442
1442
  const untrustedConfig_DeploymentInput = untrustedConfig.DeploymentInput;
1443
- const referenceManagedContentDeploymentInputRepresentationValidationError = validate$Y(untrustedConfig_DeploymentInput);
1443
+ const referenceManagedContentDeploymentInputRepresentationValidationError = validate$12(untrustedConfig_DeploymentInput);
1444
1444
  if (referenceManagedContentDeploymentInputRepresentationValidationError === null) {
1445
1445
  config.DeploymentInput = untrustedConfig_DeploymentInput;
1446
1446
  }
1447
1447
  return config;
1448
1448
  }
1449
- function validateAdapterConfig$z(untrustedConfig, configPropertyNames) {
1449
+ function validateAdapterConfig$A(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$z(untrustedConfig);
1456
+ const config = typeCheckConfig$A(untrustedConfig);
1457
1457
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
1458
1458
  return null;
1459
1459
  }
1460
1460
  return config;
1461
1461
  }
1462
- function buildNetworkSnapshot$z(luvio, config, options) {
1463
- const resourceParams = createResourceParams$z(config);
1464
- const request = createResourceRequest$z(resourceParams);
1462
+ function buildNetworkSnapshot$A(luvio, config, options) {
1463
+ const resourceParams = createResourceParams$A(config);
1464
+ const request = createResourceRequest$A(resourceParams);
1465
1465
  return luvio.dispatchResourceRequest(request, options)
1466
1466
  .then((response) => {
1467
1467
  return luvio.handleSuccessResponse(() => {
1468
- const snapshot = ingestSuccess$z(luvio, resourceParams, response);
1468
+ const snapshot = ingestSuccess$A(luvio, resourceParams, response);
1469
1469
  return luvio.storeBroadcast().then(() => snapshot);
1470
1470
  }, () => {
1471
1471
  const cache = new StoreKeyMap();
1472
- getResponseCacheKeys$z(cache, luvio, resourceParams, response.body);
1472
+ getResponseCacheKeys$A(cache, luvio, resourceParams, response.body);
1473
1473
  return cache;
1474
1474
  });
1475
1475
  }, (response) => {
@@ -1479,17 +1479,17 @@ function buildNetworkSnapshot$z(luvio, config, options) {
1479
1479
  }
1480
1480
  const createDeploymentAdapterFactory = (luvio) => {
1481
1481
  return function createDeployment(untrustedConfig) {
1482
- const config = validateAdapterConfig$z(untrustedConfig, createDeployment_ConfigPropertyNames);
1482
+ const config = validateAdapterConfig$A(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$z(luvio, config);
1487
+ return buildNetworkSnapshot$A(luvio, config);
1488
1488
  };
1489
1489
  };
1490
1490
 
1491
- const VERSION$t = "7e57fd77c4503be9a8822f2603a04df3";
1492
- function validate$X(obj, path = 'ManagedContentJobBodyRepresentation') {
1491
+ const VERSION$u = "7e57fd77c4503be9a8822f2603a04df3";
1492
+ function validate$11(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$X(obj, path = 'ManagedContentJobBodyRepresentation') {
1517
1517
  })();
1518
1518
  return v_error === undefined ? null : v_error;
1519
1519
  }
1520
- const select$$ = function ManagedContentJobBodyRepresentationSelect() {
1520
+ const select$11 = function ManagedContentJobBodyRepresentationSelect() {
1521
1521
  return {
1522
1522
  kind: 'Fragment',
1523
- version: VERSION$t,
1523
+ version: VERSION$u,
1524
1524
  private: [],
1525
1525
  selections: [
1526
1526
  {
@@ -1542,7 +1542,7 @@ const select$$ = function ManagedContentJobBodyRepresentationSelect() {
1542
1542
  ]
1543
1543
  };
1544
1544
  };
1545
- function equals$t(existing, incoming) {
1545
+ function equals$u(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$t(existing, incoming) {
1566
1566
  return true;
1567
1567
  }
1568
1568
 
1569
- const VERSION$s = "eba1876bba76cb05d9cbb8a968bd6796";
1570
- function validate$W(obj, path = 'ManagedContentJobBodyCollectionRepresentation') {
1569
+ const VERSION$t = "eba1876bba76cb05d9cbb8a968bd6796";
1570
+ function validate$10(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$W(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$X(obj_jobBodies_item, path_jobBodies_item);
1583
+ const referencepath_jobBodies_itemValidationError = validate$11(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$W(obj, path = 'ManagedContentJobBodyCollectionRepresentation')
1590
1590
  })();
1591
1591
  return v_error === undefined ? null : v_error;
1592
1592
  }
1593
- const select$_ = function ManagedContentJobBodyCollectionRepresentationSelect() {
1594
- const { selections: ManagedContentJobBodyRepresentation__selections, opaque: ManagedContentJobBodyRepresentation__opaque, } = select$$();
1593
+ const select$10 = function ManagedContentJobBodyCollectionRepresentationSelect() {
1594
+ const { selections: ManagedContentJobBodyRepresentation__selections, opaque: ManagedContentJobBodyRepresentation__opaque, } = select$11();
1595
1595
  return {
1596
1596
  kind: 'Fragment',
1597
- version: VERSION$s,
1597
+ version: VERSION$t,
1598
1598
  private: [],
1599
1599
  selections: [
1600
1600
  {
@@ -1606,11 +1606,11 @@ const select$_ = function ManagedContentJobBodyCollectionRepresentationSelect()
1606
1606
  ]
1607
1607
  };
1608
1608
  };
1609
- function equals$s(existing, incoming) {
1609
+ function equals$t(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$t(existing_jobBodies_item, incoming_jobBodies_item))) {
1613
+ if (!(equals$u(existing_jobBodies_item, incoming_jobBodies_item))) {
1614
1614
  return false;
1615
1615
  }
1616
1616
  });
@@ -1620,9 +1620,9 @@ function equals$s(existing, incoming) {
1620
1620
  return true;
1621
1621
  }
1622
1622
 
1623
- const TTL$p = 100;
1624
- const VERSION$r = "9c2de7843d4d4e7784d56c7f83c58f0e";
1625
- function validate$V(obj, path = 'ManagedContentV2JobDetailRepresentation') {
1623
+ const TTL$q = 100;
1624
+ const VERSION$s = "9c2de7843d4d4e7784d56c7f83c58f0e";
1625
+ function validate$$(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$V(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$W(obj_body, path_body);
1634
+ const referencepath_bodyValidationError = validate$10(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$V(obj, path = 'ManagedContentV2JobDetailRepresentation') {
1725
1725
  })();
1726
1726
  return v_error === undefined ? null : v_error;
1727
1727
  }
1728
- const RepresentationType$q = 'ManagedContentV2JobDetailRepresentation';
1729
- function keyBuilder$R(luvio, config) {
1730
- return keyPrefix + '::' + RepresentationType$q + ':' + config.id;
1728
+ const RepresentationType$r = 'ManagedContentV2JobDetailRepresentation';
1729
+ function keyBuilder$S(luvio, config) {
1730
+ return keyPrefix + '::' + RepresentationType$r + ':' + config.id;
1731
1731
  }
1732
- function keyBuilderFromType$c(luvio, object) {
1732
+ function keyBuilderFromType$d(luvio, object) {
1733
1733
  const keyParams = {
1734
1734
  id: object.id
1735
1735
  };
1736
- return keyBuilder$R(luvio, keyParams);
1736
+ return keyBuilder$S(luvio, keyParams);
1737
1737
  }
1738
- function normalize$q(input, existing, path, luvio, store, timestamp) {
1738
+ function normalize$r(input, existing, path, luvio, store, timestamp) {
1739
1739
  return input;
1740
1740
  }
1741
- const select$Z = function ManagedContentV2JobDetailRepresentationSelect() {
1742
- const { selections: ManagedContentJobBodyCollectionRepresentation__selections, opaque: ManagedContentJobBodyCollectionRepresentation__opaque, } = select$_();
1741
+ const select$$ = function ManagedContentV2JobDetailRepresentationSelect() {
1742
+ const { selections: ManagedContentJobBodyCollectionRepresentation__selections, opaque: ManagedContentJobBodyCollectionRepresentation__opaque, } = select$10();
1743
1743
  return {
1744
1744
  kind: 'Fragment',
1745
- version: VERSION$r,
1745
+ version: VERSION$s,
1746
1746
  private: [],
1747
1747
  selections: [
1748
1748
  {
@@ -1790,7 +1790,7 @@ const select$Z = function ManagedContentV2JobDetailRepresentationSelect() {
1790
1790
  ]
1791
1791
  };
1792
1792
  };
1793
- function equals$r(existing, incoming) {
1793
+ function equals$s(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$r(existing, incoming) {
1836
1836
  if (!(existing_body === incoming_body
1837
1837
  || (existing_body != null &&
1838
1838
  incoming_body != null &&
1839
- equals$s(existing_body, incoming_body)))) {
1839
+ equals$t(existing_body, incoming_body)))) {
1840
1840
  return false;
1841
1841
  }
1842
1842
  const existing_createdDate = existing.createdDate;
@@ -1846,31 +1846,31 @@ function equals$r(existing, incoming) {
1846
1846
  }
1847
1847
  return true;
1848
1848
  }
1849
- const ingest$q = function ManagedContentV2JobDetailRepresentationIngest(input, path, luvio, store, timestamp) {
1849
+ const ingest$r = function ManagedContentV2JobDetailRepresentationIngest(input, path, luvio, store, timestamp) {
1850
1850
  if (process.env.NODE_ENV !== 'production') {
1851
- const validateError = validate$V(input);
1851
+ const validateError = validate$$(input);
1852
1852
  if (validateError !== null) {
1853
1853
  throw validateError;
1854
1854
  }
1855
1855
  }
1856
- const key = keyBuilderFromType$c(luvio, input);
1857
- const ttlToUse = TTL$p;
1858
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$q, "CMSAuthoring", VERSION$r, RepresentationType$q, equals$r);
1856
+ const key = keyBuilderFromType$d(luvio, input);
1857
+ const ttlToUse = TTL$q;
1858
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$r, "CMSAuthoring", VERSION$s, RepresentationType$r, equals$s);
1859
1859
  return createLink(key);
1860
1860
  };
1861
- function getTypeCacheKeys$q(rootKeySet, luvio, input, fullPathFactory) {
1861
+ function getTypeCacheKeys$r(rootKeySet, luvio, input, fullPathFactory) {
1862
1862
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1863
- const rootKey = keyBuilderFromType$c(luvio, input);
1863
+ const rootKey = keyBuilderFromType$d(luvio, input);
1864
1864
  rootKeySet.set(rootKey, {
1865
1865
  namespace: keyPrefix,
1866
- representationName: RepresentationType$q,
1866
+ representationName: RepresentationType$r,
1867
1867
  mergeable: false
1868
1868
  });
1869
1869
  }
1870
1870
 
1871
- const TTL$o = 100;
1872
- const VERSION$q = "75cfd71e168144693d36fa16f7d8f4d0";
1873
- function validate$U(obj, path = 'ManagedContentJobCollectionRepresentation') {
1871
+ const TTL$p = 100;
1872
+ const VERSION$r = "75cfd71e168144693d36fa16f7d8f4d0";
1873
+ function validate$_(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$U(obj, path = 'ManagedContentJobCollectionRepresentation') {
1947
1947
  })();
1948
1948
  return v_error === undefined ? null : v_error;
1949
1949
  }
1950
- const RepresentationType$p = 'ManagedContentJobCollectionRepresentation';
1951
- function normalize$p(input, existing, path, luvio, store, timestamp) {
1950
+ const RepresentationType$q = 'ManagedContentJobCollectionRepresentation';
1951
+ function normalize$q(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$q(input_jobs_item, {
1957
+ input_jobs[i] = ingest$r(input_jobs_item, {
1958
1958
  fullPath: input_jobs_item_id,
1959
1959
  propertyName: i,
1960
1960
  parent: {
@@ -1967,10 +1967,10 @@ function normalize$p(input, existing, path, luvio, store, timestamp) {
1967
1967
  }
1968
1968
  return input;
1969
1969
  }
1970
- const select$Y = function ManagedContentJobCollectionRepresentationSelect() {
1970
+ const select$_ = function ManagedContentJobCollectionRepresentationSelect() {
1971
1971
  return {
1972
1972
  kind: 'Fragment',
1973
- version: VERSION$q,
1973
+ version: VERSION$r,
1974
1974
  private: [],
1975
1975
  selections: [
1976
1976
  {
@@ -1981,7 +1981,7 @@ const select$Y = function ManagedContentJobCollectionRepresentationSelect() {
1981
1981
  name: 'jobs',
1982
1982
  kind: 'Link',
1983
1983
  plural: true,
1984
- fragment: select$Z()
1984
+ fragment: select$$()
1985
1985
  },
1986
1986
  {
1987
1987
  name: 'nextPageUrl',
@@ -1994,7 +1994,7 @@ const select$Y = function ManagedContentJobCollectionRepresentationSelect() {
1994
1994
  ]
1995
1995
  };
1996
1996
  };
1997
- function equals$q(existing, incoming) {
1997
+ function equals$r(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$q(existing, incoming) {
2022
2022
  }
2023
2023
  return true;
2024
2024
  }
2025
- const ingest$p = function ManagedContentJobCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
2025
+ const ingest$q = function ManagedContentJobCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
2026
2026
  if (process.env.NODE_ENV !== 'production') {
2027
- const validateError = validate$U(input);
2027
+ const validateError = validate$_(input);
2028
2028
  if (validateError !== null) {
2029
2029
  throw validateError;
2030
2030
  }
2031
2031
  }
2032
2032
  const key = path.fullPath;
2033
- const ttlToUse = TTL$o;
2034
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$p, "CMSAuthoring", VERSION$q, RepresentationType$p, equals$q);
2033
+ const ttlToUse = TTL$p;
2034
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$q, "CMSAuthoring", VERSION$r, RepresentationType$q, equals$r);
2035
2035
  return createLink(key);
2036
2036
  };
2037
- function getTypeCacheKeys$p(rootKeySet, luvio, input, fullPathFactory) {
2037
+ function getTypeCacheKeys$q(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$p,
2042
+ representationName: RepresentationType$q,
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$q(rootKeySet, luvio, input.jobs[i]);
2047
+ getTypeCacheKeys$r(rootKeySet, luvio, input.jobs[i]);
2048
2048
  }
2049
2049
  }
2050
2050
 
2051
- function select$X(luvio, params) {
2052
- return select$Y();
2051
+ function select$Z(luvio, params) {
2052
+ return select$_();
2053
2053
  }
2054
- function keyBuilder$Q(luvio, params) {
2054
+ function keyBuilder$R(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$y(storeKeyMap, luvio, resourceParams, response) {
2058
- getTypeCacheKeys$p(storeKeyMap, luvio, response, () => keyBuilder$Q(luvio, resourceParams));
2057
+ function getResponseCacheKeys$z(storeKeyMap, luvio, resourceParams, response) {
2058
+ getTypeCacheKeys$q(storeKeyMap, luvio, response, () => keyBuilder$R(luvio, resourceParams));
2059
2059
  }
2060
- function ingestSuccess$y(luvio, resourceParams, response, snapshotRefresh) {
2060
+ function ingestSuccess$z(luvio, resourceParams, response, snapshotRefresh) {
2061
2061
  const { body } = response;
2062
- const key = keyBuilder$Q(luvio, resourceParams);
2063
- luvio.storeIngest(key, ingest$p, body);
2062
+ const key = keyBuilder$R(luvio, resourceParams);
2063
+ luvio.storeIngest(key, ingest$q, body);
2064
2064
  const snapshot = luvio.storeLookup({
2065
2065
  recordId: key,
2066
- node: select$X(),
2066
+ node: select$Z(),
2067
2067
  variables: {},
2068
2068
  }, snapshotRefresh);
2069
2069
  if (process.env.NODE_ENV !== 'production') {
@@ -2075,18 +2075,18 @@ function ingestSuccess$y(luvio, resourceParams, response, snapshotRefresh) {
2075
2075
  return snapshot;
2076
2076
  }
2077
2077
  function ingestError$j(luvio, params, error, snapshotRefresh) {
2078
- const key = keyBuilder$Q(luvio, params);
2078
+ const key = keyBuilder$R(luvio, params);
2079
2079
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
2080
2080
  const storeMetadataParams = {
2081
- ttl: TTL$o,
2081
+ ttl: TTL$p,
2082
2082
  namespace: keyPrefix,
2083
- version: VERSION$q,
2084
- representationName: RepresentationType$p
2083
+ version: VERSION$r,
2084
+ representationName: RepresentationType$q
2085
2085
  };
2086
2086
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
2087
2087
  return errorSnapshot;
2088
2088
  }
2089
- function createResourceRequest$y(config) {
2089
+ function createResourceRequest$z(config) {
2090
2090
  const headers = {};
2091
2091
  return {
2092
2092
  baseUri: '/services/data/v61.0',
@@ -2100,63 +2100,63 @@ function createResourceRequest$y(config) {
2100
2100
  };
2101
2101
  }
2102
2102
 
2103
- const adapterName$y = 'getAllCMSJobsForSpace';
2103
+ const adapterName$z = '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$y, getAllCMSJobsForSpace_ConfigPropertyMetadata);
2111
- const createResourceParams$y = /*#__PURE__*/ createResourceParams$B(getAllCMSJobsForSpace_ConfigPropertyMetadata);
2112
- function keyBuilder$P(luvio, config) {
2113
- const resourceParams = createResourceParams$y(config);
2114
- return keyBuilder$Q(luvio, resourceParams);
2110
+ const getAllCMSJobsForSpace_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$z, getAllCMSJobsForSpace_ConfigPropertyMetadata);
2111
+ const createResourceParams$z = /*#__PURE__*/ createResourceParams$C(getAllCMSJobsForSpace_ConfigPropertyMetadata);
2112
+ function keyBuilder$Q(luvio, config) {
2113
+ const resourceParams = createResourceParams$z(config);
2114
+ return keyBuilder$R(luvio, resourceParams);
2115
2115
  }
2116
- function typeCheckConfig$y(untrustedConfig) {
2116
+ function typeCheckConfig$z(untrustedConfig) {
2117
2117
  const config = {};
2118
- typeCheckConfig$B(untrustedConfig, config, getAllCMSJobsForSpace_ConfigPropertyMetadata);
2118
+ typeCheckConfig$C(untrustedConfig, config, getAllCMSJobsForSpace_ConfigPropertyMetadata);
2119
2119
  return config;
2120
2120
  }
2121
- function validateAdapterConfig$y(untrustedConfig, configPropertyNames) {
2121
+ function validateAdapterConfig$z(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$y(untrustedConfig);
2128
+ const config = typeCheckConfig$z(untrustedConfig);
2129
2129
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
2130
2130
  return null;
2131
2131
  }
2132
2132
  return config;
2133
2133
  }
2134
2134
  function adapterFragment$j(luvio, config) {
2135
- createResourceParams$y(config);
2136
- return select$X();
2135
+ createResourceParams$z(config);
2136
+ return select$Z();
2137
2137
  }
2138
2138
  function onFetchResponseSuccess$l(luvio, config, resourceParams, response) {
2139
- const snapshot = ingestSuccess$y(luvio, resourceParams, response, {
2139
+ const snapshot = ingestSuccess$z(luvio, resourceParams, response, {
2140
2140
  config,
2141
- resolve: () => buildNetworkSnapshot$y(luvio, config, snapshotRefreshOptions)
2141
+ resolve: () => buildNetworkSnapshot$z(luvio, config, snapshotRefreshOptions)
2142
2142
  });
2143
2143
  return luvio.storeBroadcast().then(() => snapshot);
2144
2144
  }
2145
2145
  function onFetchResponseError$j(luvio, config, resourceParams, response) {
2146
2146
  const snapshot = ingestError$j(luvio, resourceParams, response, {
2147
2147
  config,
2148
- resolve: () => buildNetworkSnapshot$y(luvio, config, snapshotRefreshOptions)
2148
+ resolve: () => buildNetworkSnapshot$z(luvio, config, snapshotRefreshOptions)
2149
2149
  });
2150
2150
  return luvio.storeBroadcast().then(() => snapshot);
2151
2151
  }
2152
- function buildNetworkSnapshot$y(luvio, config, options) {
2153
- const resourceParams = createResourceParams$y(config);
2154
- const request = createResourceRequest$y(resourceParams);
2152
+ function buildNetworkSnapshot$z(luvio, config, options) {
2153
+ const resourceParams = createResourceParams$z(config);
2154
+ const request = createResourceRequest$z(resourceParams);
2155
2155
  return luvio.dispatchResourceRequest(request, options)
2156
2156
  .then((response) => {
2157
2157
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$l(luvio, config, resourceParams, response), () => {
2158
2158
  const cache = new StoreKeyMap();
2159
- getResponseCacheKeys$y(cache, luvio, resourceParams, response.body);
2159
+ getResponseCacheKeys$z(cache, luvio, resourceParams, response.body);
2160
2160
  return cache;
2161
2161
  });
2162
2162
  }, (response) => {
@@ -2164,23 +2164,23 @@ function buildNetworkSnapshot$y(luvio, config, options) {
2164
2164
  });
2165
2165
  }
2166
2166
  function buildNetworkSnapshotCachePolicy$j(context, coercedAdapterRequestContext) {
2167
- return buildNetworkSnapshotCachePolicy$l(context, coercedAdapterRequestContext, buildNetworkSnapshot$y, undefined, false);
2167
+ return buildNetworkSnapshotCachePolicy$l(context, coercedAdapterRequestContext, buildNetworkSnapshot$z, undefined, false);
2168
2168
  }
2169
2169
  function buildCachedSnapshotCachePolicy$j(context, storeLookup) {
2170
2170
  const { luvio, config } = context;
2171
2171
  const selector = {
2172
- recordId: keyBuilder$P(luvio, config),
2172
+ recordId: keyBuilder$Q(luvio, config),
2173
2173
  node: adapterFragment$j(luvio, config),
2174
2174
  variables: {},
2175
2175
  };
2176
2176
  const cacheSnapshot = storeLookup(selector, {
2177
2177
  config,
2178
- resolve: () => buildNetworkSnapshot$y(luvio, config, snapshotRefreshOptions)
2178
+ resolve: () => buildNetworkSnapshot$z(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$y(untrustedConfig, getAllCMSJobsForSpace_ConfigPropertyNames);
2183
+ const config = validateAdapterConfig$z(untrustedConfig, getAllCMSJobsForSpace_ConfigPropertyNames);
2184
2184
  // Invalid or incomplete config
2185
2185
  if (config === null) {
2186
2186
  return null;
@@ -2189,24 +2189,24 @@ const getAllCMSJobsForSpaceAdapterFactory = (luvio) => function CMSAuthoring__ge
2189
2189
  buildCachedSnapshotCachePolicy$j, buildNetworkSnapshotCachePolicy$j);
2190
2190
  };
2191
2191
 
2192
- function select$W(luvio, params) {
2193
- return select$Z();
2192
+ function select$Y(luvio, params) {
2193
+ return select$$();
2194
2194
  }
2195
- function keyBuilder$O(luvio, params) {
2196
- return keyBuilder$R(luvio, {
2195
+ function keyBuilder$P(luvio, params) {
2196
+ return keyBuilder$S(luvio, {
2197
2197
  id: params.urlParams.jobId
2198
2198
  });
2199
2199
  }
2200
- function getResponseCacheKeys$x(storeKeyMap, luvio, resourceParams, response) {
2201
- getTypeCacheKeys$q(storeKeyMap, luvio, response);
2200
+ function getResponseCacheKeys$y(storeKeyMap, luvio, resourceParams, response) {
2201
+ getTypeCacheKeys$r(storeKeyMap, luvio, response);
2202
2202
  }
2203
- function ingestSuccess$x(luvio, resourceParams, response, snapshotRefresh) {
2203
+ function ingestSuccess$y(luvio, resourceParams, response, snapshotRefresh) {
2204
2204
  const { body } = response;
2205
- const key = keyBuilder$O(luvio, resourceParams);
2206
- luvio.storeIngest(key, ingest$q, body);
2205
+ const key = keyBuilder$P(luvio, resourceParams);
2206
+ luvio.storeIngest(key, ingest$r, body);
2207
2207
  const snapshot = luvio.storeLookup({
2208
2208
  recordId: key,
2209
- node: select$W(),
2209
+ node: select$Y(),
2210
2210
  variables: {},
2211
2211
  }, snapshotRefresh);
2212
2212
  if (process.env.NODE_ENV !== 'production') {
@@ -2218,18 +2218,18 @@ function ingestSuccess$x(luvio, resourceParams, response, snapshotRefresh) {
2218
2218
  return snapshot;
2219
2219
  }
2220
2220
  function ingestError$i(luvio, params, error, snapshotRefresh) {
2221
- const key = keyBuilder$O(luvio, params);
2221
+ const key = keyBuilder$P(luvio, params);
2222
2222
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
2223
2223
  const storeMetadataParams = {
2224
- ttl: TTL$p,
2224
+ ttl: TTL$q,
2225
2225
  namespace: keyPrefix,
2226
- version: VERSION$r,
2227
- representationName: RepresentationType$q
2226
+ version: VERSION$s,
2227
+ representationName: RepresentationType$r
2228
2228
  };
2229
2229
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
2230
2230
  return errorSnapshot;
2231
2231
  }
2232
- function createResourceRequest$x(config) {
2232
+ function createResourceRequest$y(config) {
2233
2233
  const headers = {};
2234
2234
  return {
2235
2235
  baseUri: '/services/data/v61.0',
@@ -2243,61 +2243,61 @@ function createResourceRequest$x(config) {
2243
2243
  };
2244
2244
  }
2245
2245
 
2246
- const adapterName$x = 'getCMSJobForSpace';
2246
+ const adapterName$y = '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$x, getCMSJobForSpace_ConfigPropertyMetadata);
2252
- const createResourceParams$x = /*#__PURE__*/ createResourceParams$B(getCMSJobForSpace_ConfigPropertyMetadata);
2253
- function keyBuilder$N(luvio, config) {
2254
- const resourceParams = createResourceParams$x(config);
2255
- return keyBuilder$O(luvio, resourceParams);
2251
+ const getCMSJobForSpace_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$y, getCMSJobForSpace_ConfigPropertyMetadata);
2252
+ const createResourceParams$y = /*#__PURE__*/ createResourceParams$C(getCMSJobForSpace_ConfigPropertyMetadata);
2253
+ function keyBuilder$O(luvio, config) {
2254
+ const resourceParams = createResourceParams$y(config);
2255
+ return keyBuilder$P(luvio, resourceParams);
2256
2256
  }
2257
- function typeCheckConfig$x(untrustedConfig) {
2257
+ function typeCheckConfig$y(untrustedConfig) {
2258
2258
  const config = {};
2259
- typeCheckConfig$B(untrustedConfig, config, getCMSJobForSpace_ConfigPropertyMetadata);
2259
+ typeCheckConfig$C(untrustedConfig, config, getCMSJobForSpace_ConfigPropertyMetadata);
2260
2260
  return config;
2261
2261
  }
2262
- function validateAdapterConfig$x(untrustedConfig, configPropertyNames) {
2262
+ function validateAdapterConfig$y(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$x(untrustedConfig);
2269
+ const config = typeCheckConfig$y(untrustedConfig);
2270
2270
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
2271
2271
  return null;
2272
2272
  }
2273
2273
  return config;
2274
2274
  }
2275
2275
  function adapterFragment$i(luvio, config) {
2276
- createResourceParams$x(config);
2277
- return select$W();
2276
+ createResourceParams$y(config);
2277
+ return select$Y();
2278
2278
  }
2279
2279
  function onFetchResponseSuccess$k(luvio, config, resourceParams, response) {
2280
- const snapshot = ingestSuccess$x(luvio, resourceParams, response, {
2280
+ const snapshot = ingestSuccess$y(luvio, resourceParams, response, {
2281
2281
  config,
2282
- resolve: () => buildNetworkSnapshot$x(luvio, config, snapshotRefreshOptions)
2282
+ resolve: () => buildNetworkSnapshot$y(luvio, config, snapshotRefreshOptions)
2283
2283
  });
2284
2284
  return luvio.storeBroadcast().then(() => snapshot);
2285
2285
  }
2286
2286
  function onFetchResponseError$i(luvio, config, resourceParams, response) {
2287
2287
  const snapshot = ingestError$i(luvio, resourceParams, response, {
2288
2288
  config,
2289
- resolve: () => buildNetworkSnapshot$x(luvio, config, snapshotRefreshOptions)
2289
+ resolve: () => buildNetworkSnapshot$y(luvio, config, snapshotRefreshOptions)
2290
2290
  });
2291
2291
  return luvio.storeBroadcast().then(() => snapshot);
2292
2292
  }
2293
- function buildNetworkSnapshot$x(luvio, config, options) {
2294
- const resourceParams = createResourceParams$x(config);
2295
- const request = createResourceRequest$x(resourceParams);
2293
+ function buildNetworkSnapshot$y(luvio, config, options) {
2294
+ const resourceParams = createResourceParams$y(config);
2295
+ const request = createResourceRequest$y(resourceParams);
2296
2296
  return luvio.dispatchResourceRequest(request, options)
2297
2297
  .then((response) => {
2298
2298
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$k(luvio, config, resourceParams, response), () => {
2299
2299
  const cache = new StoreKeyMap();
2300
- getResponseCacheKeys$x(cache, luvio, resourceParams, response.body);
2300
+ getResponseCacheKeys$y(cache, luvio, resourceParams, response.body);
2301
2301
  return cache;
2302
2302
  });
2303
2303
  }, (response) => {
@@ -2305,23 +2305,23 @@ function buildNetworkSnapshot$x(luvio, config, options) {
2305
2305
  });
2306
2306
  }
2307
2307
  function buildNetworkSnapshotCachePolicy$i(context, coercedAdapterRequestContext) {
2308
- return buildNetworkSnapshotCachePolicy$l(context, coercedAdapterRequestContext, buildNetworkSnapshot$x, undefined, false);
2308
+ return buildNetworkSnapshotCachePolicy$l(context, coercedAdapterRequestContext, buildNetworkSnapshot$y, undefined, false);
2309
2309
  }
2310
2310
  function buildCachedSnapshotCachePolicy$i(context, storeLookup) {
2311
2311
  const { luvio, config } = context;
2312
2312
  const selector = {
2313
- recordId: keyBuilder$N(luvio, config),
2313
+ recordId: keyBuilder$O(luvio, config),
2314
2314
  node: adapterFragment$i(luvio, config),
2315
2315
  variables: {},
2316
2316
  };
2317
2317
  const cacheSnapshot = storeLookup(selector, {
2318
2318
  config,
2319
- resolve: () => buildNetworkSnapshot$x(luvio, config, snapshotRefreshOptions)
2319
+ resolve: () => buildNetworkSnapshot$y(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$x(untrustedConfig, getCMSJobForSpace_ConfigPropertyNames);
2324
+ const config = validateAdapterConfig$y(untrustedConfig, getCMSJobForSpace_ConfigPropertyNames);
2325
2325
  // Invalid or incomplete config
2326
2326
  if (config === null) {
2327
2327
  return null;
@@ -2330,7 +2330,7 @@ const getCMSJobForSpaceAdapterFactory = (luvio) => function CMSAuthoring__getCMS
2330
2330
  buildCachedSnapshotCachePolicy$i, buildNetworkSnapshotCachePolicy$i);
2331
2331
  };
2332
2332
 
2333
- function validate$T(obj, path = 'ManagedContentSpaceFolderItemV1Representation') {
2333
+ function validate$Z(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$T(obj, path = 'ManagedContentSpaceFolderItemV1Representation')
2418
2418
  return v_error === undefined ? null : v_error;
2419
2419
  }
2420
2420
 
2421
- const TTL$n = 100;
2422
- const VERSION$p = "df1370994ae2e57cdebc5f5125930e2d";
2423
- function validate$S(obj, path = 'ManagedContentSpaceFolderItemV1CollectionRepresentation') {
2421
+ const TTL$o = 100;
2422
+ const VERSION$q = "df1370994ae2e57cdebc5f5125930e2d";
2423
+ function validate$Y(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$S(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$T(obj_folderItems_item, path_folderItems_item);
2441
+ const referencepath_folderItems_itemValidationError = validate$Z(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$S(obj, path = 'ManagedContentSpaceFolderItemV1CollectionRepres
2474
2474
  })();
2475
2475
  return v_error === undefined ? null : v_error;
2476
2476
  }
2477
- const RepresentationType$o = 'ManagedContentSpaceFolderItemV1CollectionRepresentation';
2478
- function normalize$o(input, existing, path, luvio, store, timestamp) {
2477
+ const RepresentationType$p = 'ManagedContentSpaceFolderItemV1CollectionRepresentation';
2478
+ function normalize$p(input, existing, path, luvio, store, timestamp) {
2479
2479
  return input;
2480
2480
  }
2481
- const select$V = function ManagedContentSpaceFolderItemV1CollectionRepresentationSelect() {
2481
+ const select$X = function ManagedContentSpaceFolderItemV1CollectionRepresentationSelect() {
2482
2482
  return {
2483
2483
  kind: 'Fragment',
2484
- version: VERSION$p,
2484
+ version: VERSION$q,
2485
2485
  private: [],
2486
2486
  opaque: true
2487
2487
  };
2488
2488
  };
2489
- function equals$p(existing, incoming) {
2489
+ function equals$q(existing, incoming) {
2490
2490
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
2491
2491
  return false;
2492
2492
  }
2493
2493
  return true;
2494
2494
  }
2495
- const ingest$o = function ManagedContentSpaceFolderItemV1CollectionRepresentationIngest(input, path, luvio, store, timestamp) {
2495
+ const ingest$p = function ManagedContentSpaceFolderItemV1CollectionRepresentationIngest(input, path, luvio, store, timestamp) {
2496
2496
  if (process.env.NODE_ENV !== 'production') {
2497
- const validateError = validate$S(input);
2497
+ const validateError = validate$Y(input);
2498
2498
  if (validateError !== null) {
2499
2499
  throw validateError;
2500
2500
  }
2501
2501
  }
2502
2502
  const key = path.fullPath;
2503
- const ttlToUse = TTL$n;
2504
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$o, "CMSAuthoring", VERSION$p, RepresentationType$o, equals$p);
2503
+ const ttlToUse = TTL$o;
2504
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$p, "CMSAuthoring", VERSION$q, RepresentationType$p, equals$q);
2505
2505
  return createLink(key);
2506
2506
  };
2507
- function getTypeCacheKeys$o(rootKeySet, luvio, input, fullPathFactory) {
2507
+ function getTypeCacheKeys$p(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$o,
2512
+ representationName: RepresentationType$p,
2513
2513
  mergeable: false
2514
2514
  });
2515
2515
  }
2516
2516
 
2517
- function select$U(luvio, params) {
2518
- return select$V();
2517
+ function select$W(luvio, params) {
2518
+ return select$X();
2519
2519
  }
2520
- function keyBuilder$M(luvio, params) {
2520
+ function keyBuilder$N(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$w(storeKeyMap, luvio, resourceParams, response) {
2524
- getTypeCacheKeys$o(storeKeyMap, luvio, response, () => keyBuilder$M(luvio, resourceParams));
2523
+ function getResponseCacheKeys$x(storeKeyMap, luvio, resourceParams, response) {
2524
+ getTypeCacheKeys$p(storeKeyMap, luvio, response, () => keyBuilder$N(luvio, resourceParams));
2525
2525
  }
2526
- function ingestSuccess$w(luvio, resourceParams, response, snapshotRefresh) {
2526
+ function ingestSuccess$x(luvio, resourceParams, response, snapshotRefresh) {
2527
2527
  const { body } = response;
2528
- const key = keyBuilder$M(luvio, resourceParams);
2529
- luvio.storeIngest(key, ingest$o, body);
2528
+ const key = keyBuilder$N(luvio, resourceParams);
2529
+ luvio.storeIngest(key, ingest$p, body);
2530
2530
  const snapshot = luvio.storeLookup({
2531
2531
  recordId: key,
2532
- node: select$U(),
2532
+ node: select$W(),
2533
2533
  variables: {},
2534
2534
  }, snapshotRefresh);
2535
2535
  if (process.env.NODE_ENV !== 'production') {
@@ -2541,18 +2541,18 @@ function ingestSuccess$w(luvio, resourceParams, response, snapshotRefresh) {
2541
2541
  return snapshot;
2542
2542
  }
2543
2543
  function ingestError$h(luvio, params, error, snapshotRefresh) {
2544
- const key = keyBuilder$M(luvio, params);
2544
+ const key = keyBuilder$N(luvio, params);
2545
2545
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
2546
2546
  const storeMetadataParams = {
2547
- ttl: TTL$n,
2547
+ ttl: TTL$o,
2548
2548
  namespace: keyPrefix,
2549
- version: VERSION$p,
2550
- representationName: RepresentationType$o
2549
+ version: VERSION$q,
2550
+ representationName: RepresentationType$p
2551
2551
  };
2552
2552
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
2553
2553
  return errorSnapshot;
2554
2554
  }
2555
- function createResourceRequest$w(config) {
2555
+ function createResourceRequest$x(config) {
2556
2556
  const headers = {};
2557
2557
  return {
2558
2558
  baseUri: '/services/data/v61.0',
@@ -2566,7 +2566,7 @@ function createResourceRequest$w(config) {
2566
2566
  };
2567
2567
  }
2568
2568
 
2569
- const adapterName$w = 'getManagedContentSpaceFolderItemsV1';
2569
+ const adapterName$x = '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,56 +2580,56 @@ 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$w, getManagedContentSpaceFolderItemsV1_ConfigPropertyMetadata);
2584
- const createResourceParams$w = /*#__PURE__*/ createResourceParams$B(getManagedContentSpaceFolderItemsV1_ConfigPropertyMetadata);
2585
- function keyBuilder$L(luvio, config) {
2586
- const resourceParams = createResourceParams$w(config);
2587
- return keyBuilder$M(luvio, resourceParams);
2583
+ const getManagedContentSpaceFolderItemsV1_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$x, getManagedContentSpaceFolderItemsV1_ConfigPropertyMetadata);
2584
+ const createResourceParams$x = /*#__PURE__*/ createResourceParams$C(getManagedContentSpaceFolderItemsV1_ConfigPropertyMetadata);
2585
+ function keyBuilder$M(luvio, config) {
2586
+ const resourceParams = createResourceParams$x(config);
2587
+ return keyBuilder$N(luvio, resourceParams);
2588
2588
  }
2589
- function typeCheckConfig$w(untrustedConfig) {
2589
+ function typeCheckConfig$x(untrustedConfig) {
2590
2590
  const config = {};
2591
- typeCheckConfig$B(untrustedConfig, config, getManagedContentSpaceFolderItemsV1_ConfigPropertyMetadata);
2591
+ typeCheckConfig$C(untrustedConfig, config, getManagedContentSpaceFolderItemsV1_ConfigPropertyMetadata);
2592
2592
  return config;
2593
2593
  }
2594
- function validateAdapterConfig$w(untrustedConfig, configPropertyNames) {
2594
+ function validateAdapterConfig$x(untrustedConfig, configPropertyNames) {
2595
2595
  if (!untrustedIsObject(untrustedConfig)) {
2596
2596
  return null;
2597
2597
  }
2598
2598
  if (process.env.NODE_ENV !== 'production') {
2599
2599
  validateConfig(untrustedConfig, configPropertyNames);
2600
2600
  }
2601
- const config = typeCheckConfig$w(untrustedConfig);
2601
+ const config = typeCheckConfig$x(untrustedConfig);
2602
2602
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
2603
2603
  return null;
2604
2604
  }
2605
2605
  return config;
2606
2606
  }
2607
2607
  function adapterFragment$h(luvio, config) {
2608
- createResourceParams$w(config);
2609
- return select$U();
2608
+ createResourceParams$x(config);
2609
+ return select$W();
2610
2610
  }
2611
2611
  function onFetchResponseSuccess$j(luvio, config, resourceParams, response) {
2612
- const snapshot = ingestSuccess$w(luvio, resourceParams, response, {
2612
+ const snapshot = ingestSuccess$x(luvio, resourceParams, response, {
2613
2613
  config,
2614
- resolve: () => buildNetworkSnapshot$w(luvio, config, snapshotRefreshOptions)
2614
+ resolve: () => buildNetworkSnapshot$x(luvio, config, snapshotRefreshOptions)
2615
2615
  });
2616
2616
  return luvio.storeBroadcast().then(() => snapshot);
2617
2617
  }
2618
2618
  function onFetchResponseError$h(luvio, config, resourceParams, response) {
2619
2619
  const snapshot = ingestError$h(luvio, resourceParams, response, {
2620
2620
  config,
2621
- resolve: () => buildNetworkSnapshot$w(luvio, config, snapshotRefreshOptions)
2621
+ resolve: () => buildNetworkSnapshot$x(luvio, config, snapshotRefreshOptions)
2622
2622
  });
2623
2623
  return luvio.storeBroadcast().then(() => snapshot);
2624
2624
  }
2625
- function buildNetworkSnapshot$w(luvio, config, options) {
2626
- const resourceParams = createResourceParams$w(config);
2627
- const request = createResourceRequest$w(resourceParams);
2625
+ function buildNetworkSnapshot$x(luvio, config, options) {
2626
+ const resourceParams = createResourceParams$x(config);
2627
+ const request = createResourceRequest$x(resourceParams);
2628
2628
  return luvio.dispatchResourceRequest(request, options)
2629
2629
  .then((response) => {
2630
2630
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$j(luvio, config, resourceParams, response), () => {
2631
2631
  const cache = new StoreKeyMap();
2632
- getResponseCacheKeys$w(cache, luvio, resourceParams, response.body);
2632
+ getResponseCacheKeys$x(cache, luvio, resourceParams, response.body);
2633
2633
  return cache;
2634
2634
  });
2635
2635
  }, (response) => {
@@ -2637,23 +2637,23 @@ function buildNetworkSnapshot$w(luvio, config, options) {
2637
2637
  });
2638
2638
  }
2639
2639
  function buildNetworkSnapshotCachePolicy$h(context, coercedAdapterRequestContext) {
2640
- return buildNetworkSnapshotCachePolicy$l(context, coercedAdapterRequestContext, buildNetworkSnapshot$w, undefined, false);
2640
+ return buildNetworkSnapshotCachePolicy$l(context, coercedAdapterRequestContext, buildNetworkSnapshot$x, undefined, false);
2641
2641
  }
2642
2642
  function buildCachedSnapshotCachePolicy$h(context, storeLookup) {
2643
2643
  const { luvio, config } = context;
2644
2644
  const selector = {
2645
- recordId: keyBuilder$L(luvio, config),
2645
+ recordId: keyBuilder$M(luvio, config),
2646
2646
  node: adapterFragment$h(luvio, config),
2647
2647
  variables: {},
2648
2648
  };
2649
2649
  const cacheSnapshot = storeLookup(selector, {
2650
2650
  config,
2651
- resolve: () => buildNetworkSnapshot$w(luvio, config, snapshotRefreshOptions)
2651
+ resolve: () => buildNetworkSnapshot$x(luvio, config, snapshotRefreshOptions)
2652
2652
  });
2653
2653
  return cacheSnapshot;
2654
2654
  }
2655
2655
  const getManagedContentSpaceFolderItemsV1AdapterFactory = (luvio) => function CMSAuthoring__getManagedContentSpaceFolderItemsV1(untrustedConfig, requestContext) {
2656
- const config = validateAdapterConfig$w(untrustedConfig, getManagedContentSpaceFolderItemsV1_ConfigPropertyNames);
2656
+ const config = validateAdapterConfig$x(untrustedConfig, getManagedContentSpaceFolderItemsV1_ConfigPropertyNames);
2657
2657
  // Invalid or incomplete config
2658
2658
  if (config === null) {
2659
2659
  return null;
@@ -2662,7 +2662,7 @@ const getManagedContentSpaceFolderItemsV1AdapterFactory = (luvio) => function CM
2662
2662
  buildCachedSnapshotCachePolicy$h, buildNetworkSnapshotCachePolicy$h);
2663
2663
  };
2664
2664
 
2665
- function validate$R(obj, path = 'ManagedContentCollectionItemTypeSummaryRepresentation') {
2665
+ function validate$X(obj, path = 'ManagedContentCollectionItemTypeSummaryRepresentation') {
2666
2666
  const v_error = (() => {
2667
2667
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2668
2668
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2681,7 +2681,7 @@ function validate$R(obj, path = 'ManagedContentCollectionItemTypeSummaryRepresen
2681
2681
  return v_error === undefined ? null : v_error;
2682
2682
  }
2683
2683
 
2684
- function validate$Q(obj, path = 'ManagedContentCollectionItemRepresentation') {
2684
+ function validate$W(obj, path = 'ManagedContentCollectionItemRepresentation') {
2685
2685
  const v_error = (() => {
2686
2686
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2687
2687
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2702,7 +2702,7 @@ function validate$Q(obj, path = 'ManagedContentCollectionItemRepresentation') {
2702
2702
  }
2703
2703
  const obj_contentType = obj.contentType;
2704
2704
  const path_contentType = path + '.contentType';
2705
- const referencepath_contentTypeValidationError = validate$R(obj_contentType, path_contentType);
2705
+ const referencepath_contentTypeValidationError = validate$X(obj_contentType, path_contentType);
2706
2706
  if (referencepath_contentTypeValidationError !== null) {
2707
2707
  let message = 'Object doesn\'t match ManagedContentCollectionItemTypeSummaryRepresentation (at "' + path_contentType + '")\n';
2708
2708
  message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2722,9 +2722,9 @@ function validate$Q(obj, path = 'ManagedContentCollectionItemRepresentation') {
2722
2722
  return v_error === undefined ? null : v_error;
2723
2723
  }
2724
2724
 
2725
- const TTL$m = 100;
2726
- const VERSION$o = "eeea454f1268ece5c3e24c986688b876";
2727
- function validate$P(obj, path = 'ManagedContentCollectionDetailRepresentation') {
2725
+ const TTL$n = 100;
2726
+ const VERSION$p = "eeea454f1268ece5c3e24c986688b876";
2727
+ function validate$V(obj, path = 'ManagedContentCollectionDetailRepresentation') {
2728
2728
  const v_error = (() => {
2729
2729
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2730
2730
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2736,7 +2736,7 @@ function validate$P(obj, path = 'ManagedContentCollectionDetailRepresentation')
2736
2736
  }
2737
2737
  const obj_collectionType = obj.collectionType;
2738
2738
  const path_collectionType = path + '.collectionType';
2739
- const referencepath_collectionTypeValidationError = validate$12(obj_collectionType, path_collectionType);
2739
+ const referencepath_collectionTypeValidationError = validate$18(obj_collectionType, path_collectionType);
2740
2740
  if (referencepath_collectionTypeValidationError !== null) {
2741
2741
  let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_collectionType + '")\n';
2742
2742
  message += referencepath_collectionTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2760,7 +2760,7 @@ function validate$P(obj, path = 'ManagedContentCollectionDetailRepresentation')
2760
2760
  for (let i = 0; i < obj_items.length; i++) {
2761
2761
  const obj_items_item = obj_items[i];
2762
2762
  const path_items_item = path_items + '[' + i + ']';
2763
- const referencepath_items_itemValidationError = validate$Q(obj_items_item, path_items_item);
2763
+ const referencepath_items_itemValidationError = validate$W(obj_items_item, path_items_item);
2764
2764
  if (referencepath_items_itemValidationError !== null) {
2765
2765
  let message = 'Object doesn\'t match ManagedContentCollectionItemRepresentation (at "' + path_items_item + '")\n';
2766
2766
  message += referencepath_items_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2795,77 +2795,77 @@ function validate$P(obj, path = 'ManagedContentCollectionDetailRepresentation')
2795
2795
  })();
2796
2796
  return v_error === undefined ? null : v_error;
2797
2797
  }
2798
- const RepresentationType$n = 'ManagedContentCollectionDetailRepresentation';
2799
- function keyBuilder$K(luvio, config) {
2800
- return keyPrefix + '::' + RepresentationType$n + ':' + config.collection_key + ':' + config.language + ':' + config.version;
2798
+ const RepresentationType$o = 'ManagedContentCollectionDetailRepresentation';
2799
+ function keyBuilder$L(luvio, config) {
2800
+ return keyPrefix + '::' + RepresentationType$o + ':' + config.collection_key + ':' + config.language + ':' + config.version;
2801
2801
  }
2802
- function keyBuilderFromType$b(luvio, object) {
2802
+ function keyBuilderFromType$c(luvio, object) {
2803
2803
  const keyParams = {
2804
2804
  collection_key: object.collectionKey,
2805
2805
  language: object.language,
2806
2806
  version: object.versionNumber
2807
2807
  };
2808
- return keyBuilder$K(luvio, keyParams);
2808
+ return keyBuilder$L(luvio, keyParams);
2809
2809
  }
2810
- function normalize$n(input, existing, path, luvio, store, timestamp) {
2810
+ function normalize$o(input, existing, path, luvio, store, timestamp) {
2811
2811
  return input;
2812
2812
  }
2813
- const select$T = function ManagedContentCollectionDetailRepresentationSelect() {
2813
+ const select$V = function ManagedContentCollectionDetailRepresentationSelect() {
2814
2814
  return {
2815
2815
  kind: 'Fragment',
2816
- version: VERSION$o,
2816
+ version: VERSION$p,
2817
2817
  private: [],
2818
2818
  opaque: true
2819
2819
  };
2820
2820
  };
2821
- function equals$o(existing, incoming) {
2821
+ function equals$p(existing, incoming) {
2822
2822
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
2823
2823
  return false;
2824
2824
  }
2825
2825
  return true;
2826
2826
  }
2827
- const ingest$n = function ManagedContentCollectionDetailRepresentationIngest(input, path, luvio, store, timestamp) {
2827
+ const ingest$o = function ManagedContentCollectionDetailRepresentationIngest(input, path, luvio, store, timestamp) {
2828
2828
  if (process.env.NODE_ENV !== 'production') {
2829
- const validateError = validate$P(input);
2829
+ const validateError = validate$V(input);
2830
2830
  if (validateError !== null) {
2831
2831
  throw validateError;
2832
2832
  }
2833
2833
  }
2834
- const key = keyBuilderFromType$b(luvio, input);
2835
- const ttlToUse = TTL$m;
2836
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$n, "CMSAuthoring", VERSION$o, RepresentationType$n, equals$o);
2834
+ const key = keyBuilderFromType$c(luvio, input);
2835
+ const ttlToUse = TTL$n;
2836
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$o, "CMSAuthoring", VERSION$p, RepresentationType$o, equals$p);
2837
2837
  return createLink(key);
2838
2838
  };
2839
- function getTypeCacheKeys$n(rootKeySet, luvio, input, fullPathFactory) {
2839
+ function getTypeCacheKeys$o(rootKeySet, luvio, input, fullPathFactory) {
2840
2840
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
2841
- const rootKey = keyBuilderFromType$b(luvio, input);
2841
+ const rootKey = keyBuilderFromType$c(luvio, input);
2842
2842
  rootKeySet.set(rootKey, {
2843
2843
  namespace: keyPrefix,
2844
- representationName: RepresentationType$n,
2844
+ representationName: RepresentationType$o,
2845
2845
  mergeable: false
2846
2846
  });
2847
2847
  }
2848
2848
 
2849
- function select$S(luvio, params) {
2850
- return select$T();
2849
+ function select$U(luvio, params) {
2850
+ return select$V();
2851
2851
  }
2852
- function keyBuilder$J(luvio, params) {
2853
- return keyBuilder$K(luvio, {
2852
+ function keyBuilder$K(luvio, params) {
2853
+ return keyBuilder$L(luvio, {
2854
2854
  collection_key: params.urlParams.collectionKeyOrId,
2855
2855
  language: params.queryParams.language || '',
2856
2856
  version: params.queryParams.version || ''
2857
2857
  });
2858
2858
  }
2859
- function getResponseCacheKeys$v(storeKeyMap, luvio, resourceParams, response) {
2860
- getTypeCacheKeys$n(storeKeyMap, luvio, response);
2859
+ function getResponseCacheKeys$w(storeKeyMap, luvio, resourceParams, response) {
2860
+ getTypeCacheKeys$o(storeKeyMap, luvio, response);
2861
2861
  }
2862
- function ingestSuccess$v(luvio, resourceParams, response, snapshotRefresh) {
2862
+ function ingestSuccess$w(luvio, resourceParams, response, snapshotRefresh) {
2863
2863
  const { body } = response;
2864
- const key = keyBuilder$J(luvio, resourceParams);
2865
- luvio.storeIngest(key, ingest$n, body);
2864
+ const key = keyBuilder$K(luvio, resourceParams);
2865
+ luvio.storeIngest(key, ingest$o, body);
2866
2866
  const snapshot = luvio.storeLookup({
2867
2867
  recordId: key,
2868
- node: select$S(),
2868
+ node: select$U(),
2869
2869
  variables: {},
2870
2870
  }, snapshotRefresh);
2871
2871
  if (process.env.NODE_ENV !== 'production') {
@@ -2877,18 +2877,18 @@ function ingestSuccess$v(luvio, resourceParams, response, snapshotRefresh) {
2877
2877
  return snapshot;
2878
2878
  }
2879
2879
  function ingestError$g(luvio, params, error, snapshotRefresh) {
2880
- const key = keyBuilder$J(luvio, params);
2880
+ const key = keyBuilder$K(luvio, params);
2881
2881
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
2882
2882
  const storeMetadataParams = {
2883
- ttl: TTL$m,
2883
+ ttl: TTL$n,
2884
2884
  namespace: keyPrefix,
2885
- version: VERSION$o,
2886
- representationName: RepresentationType$n
2885
+ version: VERSION$p,
2886
+ representationName: RepresentationType$o
2887
2887
  };
2888
2888
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
2889
2889
  return errorSnapshot;
2890
2890
  }
2891
- function createResourceRequest$v(config) {
2891
+ function createResourceRequest$w(config) {
2892
2892
  const headers = {};
2893
2893
  return {
2894
2894
  baseUri: '/services/data/v61.0',
@@ -2917,62 +2917,62 @@ function onFetchResponseSuccess$i(luvio, config, resourceParams, response) {
2917
2917
  return onFetchResponseSuccess$h(luvio, config, updatedResourceParams, response);
2918
2918
  }
2919
2919
 
2920
- const adapterName$v = 'getCollectionItems';
2920
+ const adapterName$w = 'getCollectionItems';
2921
2921
  const getCollectionItems_ConfigPropertyMetadata = [
2922
2922
  generateParamConfigMetadata('collectionKeyOrId', true, 0 /* UrlParameter */, 0 /* String */),
2923
2923
  generateParamConfigMetadata('language', false, 1 /* QueryParameter */, 0 /* String */),
2924
2924
  generateParamConfigMetadata('version', false, 1 /* QueryParameter */, 0 /* String */),
2925
2925
  ];
2926
- const getCollectionItems_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$v, getCollectionItems_ConfigPropertyMetadata);
2927
- const createResourceParams$v = /*#__PURE__*/ createResourceParams$B(getCollectionItems_ConfigPropertyMetadata);
2928
- function keyBuilder$I(luvio, config) {
2929
- const resourceParams = createResourceParams$v(config);
2930
- return keyBuilder$J(luvio, resourceParams);
2926
+ const getCollectionItems_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$w, getCollectionItems_ConfigPropertyMetadata);
2927
+ const createResourceParams$w = /*#__PURE__*/ createResourceParams$C(getCollectionItems_ConfigPropertyMetadata);
2928
+ function keyBuilder$J(luvio, config) {
2929
+ const resourceParams = createResourceParams$w(config);
2930
+ return keyBuilder$K(luvio, resourceParams);
2931
2931
  }
2932
- function typeCheckConfig$v(untrustedConfig) {
2932
+ function typeCheckConfig$w(untrustedConfig) {
2933
2933
  const config = {};
2934
- typeCheckConfig$B(untrustedConfig, config, getCollectionItems_ConfigPropertyMetadata);
2934
+ typeCheckConfig$C(untrustedConfig, config, getCollectionItems_ConfigPropertyMetadata);
2935
2935
  return config;
2936
2936
  }
2937
- function validateAdapterConfig$v(untrustedConfig, configPropertyNames) {
2937
+ function validateAdapterConfig$w(untrustedConfig, configPropertyNames) {
2938
2938
  if (!untrustedIsObject(untrustedConfig)) {
2939
2939
  return null;
2940
2940
  }
2941
2941
  if (process.env.NODE_ENV !== 'production') {
2942
2942
  validateConfig(untrustedConfig, configPropertyNames);
2943
2943
  }
2944
- const config = typeCheckConfig$v(untrustedConfig);
2944
+ const config = typeCheckConfig$w(untrustedConfig);
2945
2945
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
2946
2946
  return null;
2947
2947
  }
2948
2948
  return config;
2949
2949
  }
2950
2950
  function adapterFragment$g(luvio, config) {
2951
- createResourceParams$v(config);
2952
- return select$S();
2951
+ createResourceParams$w(config);
2952
+ return select$U();
2953
2953
  }
2954
2954
  function onFetchResponseSuccess$h(luvio, config, resourceParams, response) {
2955
- const snapshot = ingestSuccess$v(luvio, resourceParams, response, {
2955
+ const snapshot = ingestSuccess$w(luvio, resourceParams, response, {
2956
2956
  config,
2957
- resolve: () => buildNetworkSnapshot$v(luvio, config, snapshotRefreshOptions)
2957
+ resolve: () => buildNetworkSnapshot$w(luvio, config, snapshotRefreshOptions)
2958
2958
  });
2959
2959
  return luvio.storeBroadcast().then(() => snapshot);
2960
2960
  }
2961
2961
  function onFetchResponseError$g(luvio, config, resourceParams, response) {
2962
2962
  const snapshot = ingestError$g(luvio, resourceParams, response, {
2963
2963
  config,
2964
- resolve: () => buildNetworkSnapshot$v(luvio, config, snapshotRefreshOptions)
2964
+ resolve: () => buildNetworkSnapshot$w(luvio, config, snapshotRefreshOptions)
2965
2965
  });
2966
2966
  return luvio.storeBroadcast().then(() => snapshot);
2967
2967
  }
2968
- function buildNetworkSnapshot$v(luvio, config, options) {
2969
- const resourceParams = createResourceParams$v(config);
2970
- const request = createResourceRequest$v(resourceParams);
2968
+ function buildNetworkSnapshot$w(luvio, config, options) {
2969
+ const resourceParams = createResourceParams$w(config);
2970
+ const request = createResourceRequest$w(resourceParams);
2971
2971
  return luvio.dispatchResourceRequest(request, options)
2972
2972
  .then((response) => {
2973
2973
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$i(luvio, config, resourceParams, response), () => {
2974
2974
  const cache = new StoreKeyMap();
2975
- getResponseCacheKeys$v(cache, luvio, resourceParams, response.body);
2975
+ getResponseCacheKeys$w(cache, luvio, resourceParams, response.body);
2976
2976
  return cache;
2977
2977
  });
2978
2978
  }, (response) => {
@@ -2980,23 +2980,23 @@ function buildNetworkSnapshot$v(luvio, config, options) {
2980
2980
  });
2981
2981
  }
2982
2982
  function buildNetworkSnapshotCachePolicy$g(context, coercedAdapterRequestContext) {
2983
- return buildNetworkSnapshotCachePolicy$l(context, coercedAdapterRequestContext, buildNetworkSnapshot$v, undefined, false);
2983
+ return buildNetworkSnapshotCachePolicy$l(context, coercedAdapterRequestContext, buildNetworkSnapshot$w, undefined, false);
2984
2984
  }
2985
2985
  function buildCachedSnapshotCachePolicy$g(context, storeLookup) {
2986
2986
  const { luvio, config } = context;
2987
2987
  const selector = {
2988
- recordId: keyBuilder$I(luvio, config),
2988
+ recordId: keyBuilder$J(luvio, config),
2989
2989
  node: adapterFragment$g(luvio, config),
2990
2990
  variables: {},
2991
2991
  };
2992
2992
  const cacheSnapshot = storeLookup(selector, {
2993
2993
  config,
2994
- resolve: () => buildNetworkSnapshot$v(luvio, config, snapshotRefreshOptions)
2994
+ resolve: () => buildNetworkSnapshot$w(luvio, config, snapshotRefreshOptions)
2995
2995
  });
2996
2996
  return cacheSnapshot;
2997
2997
  }
2998
2998
  const getCollectionItemsAdapterFactory = (luvio) => function CMSAuthoring__getCollectionItems(untrustedConfig, requestContext) {
2999
- const config = validateAdapterConfig$v(untrustedConfig, getCollectionItems_ConfigPropertyNames);
2999
+ const config = validateAdapterConfig$w(untrustedConfig, getCollectionItems_ConfigPropertyNames);
3000
3000
  // Invalid or incomplete config
3001
3001
  if (config === null) {
3002
3002
  return null;
@@ -3005,7 +3005,7 @@ const getCollectionItemsAdapterFactory = (luvio) => function CMSAuthoring__getCo
3005
3005
  buildCachedSnapshotCachePolicy$g, buildNetworkSnapshotCachePolicy$g);
3006
3006
  };
3007
3007
 
3008
- function validate$O(obj, path = 'ManagedContentTranslationV2RequestInputRep') {
3008
+ function validate$U(obj, path = 'ManagedContentTranslationV2RequestInputRep') {
3009
3009
  const v_error = (() => {
3010
3010
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3011
3011
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3075,9 +3075,9 @@ function validate$O(obj, path = 'ManagedContentTranslationV2RequestInputRep') {
3075
3075
  return v_error === undefined ? null : v_error;
3076
3076
  }
3077
3077
 
3078
- const TTL$l = 100;
3079
- const VERSION$n = "52e643b998d6763482c6d74542b38408";
3080
- function validate$N(obj, path = 'ManagedContentTranslationV2Representation') {
3078
+ const TTL$m = 100;
3079
+ const VERSION$o = "52e643b998d6763482c6d74542b38408";
3080
+ function validate$T(obj, path = 'ManagedContentTranslationV2Representation') {
3081
3081
  const v_error = (() => {
3082
3082
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3083
3083
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3234,68 +3234,68 @@ function validate$N(obj, path = 'ManagedContentTranslationV2Representation') {
3234
3234
  })();
3235
3235
  return v_error === undefined ? null : v_error;
3236
3236
  }
3237
- const RepresentationType$m = 'ManagedContentTranslationV2Representation';
3238
- function keyBuilder$H(luvio, config) {
3239
- return keyPrefix + '::' + RepresentationType$m + ':' + config.id;
3237
+ const RepresentationType$n = 'ManagedContentTranslationV2Representation';
3238
+ function keyBuilder$I(luvio, config) {
3239
+ return keyPrefix + '::' + RepresentationType$n + ':' + config.id;
3240
3240
  }
3241
- function keyBuilderFromType$a(luvio, object) {
3241
+ function keyBuilderFromType$b(luvio, object) {
3242
3242
  const keyParams = {
3243
3243
  id: object.id
3244
3244
  };
3245
- return keyBuilder$H(luvio, keyParams);
3245
+ return keyBuilder$I(luvio, keyParams);
3246
3246
  }
3247
- function normalize$m(input, existing, path, luvio, store, timestamp) {
3247
+ function normalize$n(input, existing, path, luvio, store, timestamp) {
3248
3248
  return input;
3249
3249
  }
3250
- const select$R = function ManagedContentTranslationV2RepresentationSelect() {
3250
+ const select$T = function ManagedContentTranslationV2RepresentationSelect() {
3251
3251
  return {
3252
3252
  kind: 'Fragment',
3253
- version: VERSION$n,
3253
+ version: VERSION$o,
3254
3254
  private: [],
3255
3255
  opaque: true
3256
3256
  };
3257
3257
  };
3258
- function equals$n(existing, incoming) {
3258
+ function equals$o(existing, incoming) {
3259
3259
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
3260
3260
  return false;
3261
3261
  }
3262
3262
  return true;
3263
3263
  }
3264
- const ingest$m = function ManagedContentTranslationV2RepresentationIngest(input, path, luvio, store, timestamp) {
3264
+ const ingest$n = function ManagedContentTranslationV2RepresentationIngest(input, path, luvio, store, timestamp) {
3265
3265
  if (process.env.NODE_ENV !== 'production') {
3266
- const validateError = validate$N(input);
3266
+ const validateError = validate$T(input);
3267
3267
  if (validateError !== null) {
3268
3268
  throw validateError;
3269
3269
  }
3270
3270
  }
3271
- const key = keyBuilderFromType$a(luvio, input);
3272
- const ttlToUse = TTL$l;
3273
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$m, "CMSAuthoring", VERSION$n, RepresentationType$m, equals$n);
3271
+ const key = keyBuilderFromType$b(luvio, input);
3272
+ const ttlToUse = TTL$m;
3273
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$n, "CMSAuthoring", VERSION$o, RepresentationType$n, equals$o);
3274
3274
  return createLink(key);
3275
3275
  };
3276
- function getTypeCacheKeys$m(rootKeySet, luvio, input, fullPathFactory) {
3276
+ function getTypeCacheKeys$n(rootKeySet, luvio, input, fullPathFactory) {
3277
3277
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
3278
- const rootKey = keyBuilderFromType$a(luvio, input);
3278
+ const rootKey = keyBuilderFromType$b(luvio, input);
3279
3279
  rootKeySet.set(rootKey, {
3280
3280
  namespace: keyPrefix,
3281
- representationName: RepresentationType$m,
3281
+ representationName: RepresentationType$n,
3282
3282
  mergeable: false
3283
3283
  });
3284
3284
  }
3285
3285
 
3286
- function select$Q(luvio, params) {
3287
- return select$R();
3286
+ function select$S(luvio, params) {
3287
+ return select$T();
3288
3288
  }
3289
- function getResponseCacheKeys$u(storeKeyMap, luvio, resourceParams, response) {
3290
- getTypeCacheKeys$m(storeKeyMap, luvio, response);
3289
+ function getResponseCacheKeys$v(storeKeyMap, luvio, resourceParams, response) {
3290
+ getTypeCacheKeys$n(storeKeyMap, luvio, response);
3291
3291
  }
3292
- function ingestSuccess$u(luvio, resourceParams, response) {
3292
+ function ingestSuccess$v(luvio, resourceParams, response) {
3293
3293
  const { body } = response;
3294
- const key = keyBuilderFromType$a(luvio, body);
3295
- luvio.storeIngest(key, ingest$m, body);
3294
+ const key = keyBuilderFromType$b(luvio, body);
3295
+ luvio.storeIngest(key, ingest$n, body);
3296
3296
  const snapshot = luvio.storeLookup({
3297
3297
  recordId: key,
3298
- node: select$Q(),
3298
+ node: select$S(),
3299
3299
  variables: {},
3300
3300
  });
3301
3301
  if (process.env.NODE_ENV !== 'production') {
@@ -3306,7 +3306,7 @@ function ingestSuccess$u(luvio, resourceParams, response) {
3306
3306
  deepFreeze(snapshot.data);
3307
3307
  return snapshot;
3308
3308
  }
3309
- function createResourceRequest$u(config) {
3309
+ function createResourceRequest$v(config) {
3310
3310
  const headers = {};
3311
3311
  return {
3312
3312
  baseUri: '/services/data/v61.0',
@@ -3320,47 +3320,47 @@ function createResourceRequest$u(config) {
3320
3320
  };
3321
3321
  }
3322
3322
 
3323
- const adapterName$u = 'createTranslationV2Job';
3323
+ const adapterName$v = 'createTranslationV2Job';
3324
3324
  const createTranslationV2Job_ConfigPropertyMetadata = [
3325
3325
  generateParamConfigMetadata('contentSpaceId', true, 0 /* UrlParameter */, 0 /* String */),
3326
3326
  generateParamConfigMetadata('translationV2Request', true, 2 /* Body */, 4 /* Unsupported */),
3327
3327
  ];
3328
- const createTranslationV2Job_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$u, createTranslationV2Job_ConfigPropertyMetadata);
3329
- const createResourceParams$u = /*#__PURE__*/ createResourceParams$B(createTranslationV2Job_ConfigPropertyMetadata);
3330
- function typeCheckConfig$u(untrustedConfig) {
3328
+ const createTranslationV2Job_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$v, createTranslationV2Job_ConfigPropertyMetadata);
3329
+ const createResourceParams$v = /*#__PURE__*/ createResourceParams$C(createTranslationV2Job_ConfigPropertyMetadata);
3330
+ function typeCheckConfig$v(untrustedConfig) {
3331
3331
  const config = {};
3332
- typeCheckConfig$B(untrustedConfig, config, createTranslationV2Job_ConfigPropertyMetadata);
3332
+ typeCheckConfig$C(untrustedConfig, config, createTranslationV2Job_ConfigPropertyMetadata);
3333
3333
  const untrustedConfig_translationV2Request = untrustedConfig.translationV2Request;
3334
- const referenceManagedContentTranslationV2RequestInputRepValidationError = validate$O(untrustedConfig_translationV2Request);
3334
+ const referenceManagedContentTranslationV2RequestInputRepValidationError = validate$U(untrustedConfig_translationV2Request);
3335
3335
  if (referenceManagedContentTranslationV2RequestInputRepValidationError === null) {
3336
3336
  config.translationV2Request = untrustedConfig_translationV2Request;
3337
3337
  }
3338
3338
  return config;
3339
3339
  }
3340
- function validateAdapterConfig$u(untrustedConfig, configPropertyNames) {
3340
+ function validateAdapterConfig$v(untrustedConfig, configPropertyNames) {
3341
3341
  if (!untrustedIsObject(untrustedConfig)) {
3342
3342
  return null;
3343
3343
  }
3344
3344
  if (process.env.NODE_ENV !== 'production') {
3345
3345
  validateConfig(untrustedConfig, configPropertyNames);
3346
3346
  }
3347
- const config = typeCheckConfig$u(untrustedConfig);
3347
+ const config = typeCheckConfig$v(untrustedConfig);
3348
3348
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
3349
3349
  return null;
3350
3350
  }
3351
3351
  return config;
3352
3352
  }
3353
- function buildNetworkSnapshot$u(luvio, config, options) {
3354
- const resourceParams = createResourceParams$u(config);
3355
- const request = createResourceRequest$u(resourceParams);
3353
+ function buildNetworkSnapshot$v(luvio, config, options) {
3354
+ const resourceParams = createResourceParams$v(config);
3355
+ const request = createResourceRequest$v(resourceParams);
3356
3356
  return luvio.dispatchResourceRequest(request, options)
3357
3357
  .then((response) => {
3358
3358
  return luvio.handleSuccessResponse(() => {
3359
- const snapshot = ingestSuccess$u(luvio, resourceParams, response);
3359
+ const snapshot = ingestSuccess$v(luvio, resourceParams, response);
3360
3360
  return luvio.storeBroadcast().then(() => snapshot);
3361
3361
  }, () => {
3362
3362
  const cache = new StoreKeyMap();
3363
- getResponseCacheKeys$u(cache, luvio, resourceParams, response.body);
3363
+ getResponseCacheKeys$v(cache, luvio, resourceParams, response.body);
3364
3364
  return cache;
3365
3365
  });
3366
3366
  }, (response) => {
@@ -3370,16 +3370,16 @@ function buildNetworkSnapshot$u(luvio, config, options) {
3370
3370
  }
3371
3371
  const createTranslationV2JobAdapterFactory = (luvio) => {
3372
3372
  return function createTranslationV2Job(untrustedConfig) {
3373
- const config = validateAdapterConfig$u(untrustedConfig, createTranslationV2Job_ConfigPropertyNames);
3373
+ const config = validateAdapterConfig$v(untrustedConfig, createTranslationV2Job_ConfigPropertyNames);
3374
3374
  // Invalid or incomplete config
3375
3375
  if (config === null) {
3376
3376
  throw new Error('Invalid config for "createTranslationV2Job"');
3377
3377
  }
3378
- return buildNetworkSnapshot$u(luvio, config);
3378
+ return buildNetworkSnapshot$v(luvio, config);
3379
3379
  };
3380
3380
  };
3381
3381
 
3382
- function validate$M(obj, path = 'ManagedContentTaxonomyPathFragmentRepresentation') {
3382
+ function validate$S(obj, path = 'ManagedContentTaxonomyPathFragmentRepresentation') {
3383
3383
  const v_error = (() => {
3384
3384
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3385
3385
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3398,9 +3398,9 @@ function validate$M(obj, path = 'ManagedContentTaxonomyPathFragmentRepresentatio
3398
3398
  return v_error === undefined ? null : v_error;
3399
3399
  }
3400
3400
 
3401
- const TTL$k = 100;
3402
- const VERSION$m = "861a01549e9c8877564cf9109fe8af72";
3403
- function validate$L(obj, path = 'ManagedContentTaxonomyPathRepresentation') {
3401
+ const TTL$l = 100;
3402
+ const VERSION$n = "861a01549e9c8877564cf9109fe8af72";
3403
+ function validate$R(obj, path = 'ManagedContentTaxonomyPathRepresentation') {
3404
3404
  const v_error = (() => {
3405
3405
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3406
3406
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3412,7 +3412,7 @@ function validate$L(obj, path = 'ManagedContentTaxonomyPathRepresentation') {
3412
3412
  }
3413
3413
  const obj_taxonomyFragment = obj.taxonomyFragment;
3414
3414
  const path_taxonomyFragment = path + '.taxonomyFragment';
3415
- const referencepath_taxonomyFragmentValidationError = validate$M(obj_taxonomyFragment, path_taxonomyFragment);
3415
+ const referencepath_taxonomyFragmentValidationError = validate$S(obj_taxonomyFragment, path_taxonomyFragment);
3416
3416
  if (referencepath_taxonomyFragmentValidationError !== null) {
3417
3417
  let message = 'Object doesn\'t match ManagedContentTaxonomyPathFragmentRepresentation (at "' + path_taxonomyFragment + '")\n';
3418
3418
  message += referencepath_taxonomyFragmentValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3426,7 +3426,7 @@ function validate$L(obj, path = 'ManagedContentTaxonomyPathRepresentation') {
3426
3426
  for (let i = 0; i < obj_termFragments.length; i++) {
3427
3427
  const obj_termFragments_item = obj_termFragments[i];
3428
3428
  const path_termFragments_item = path_termFragments + '[' + i + ']';
3429
- const referencepath_termFragments_itemValidationError = validate$M(obj_termFragments_item, path_termFragments_item);
3429
+ const referencepath_termFragments_itemValidationError = validate$S(obj_termFragments_item, path_termFragments_item);
3430
3430
  if (referencepath_termFragments_itemValidationError !== null) {
3431
3431
  let message = 'Object doesn\'t match ManagedContentTaxonomyPathFragmentRepresentation (at "' + path_termFragments_item + '")\n';
3432
3432
  message += referencepath_termFragments_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3436,48 +3436,48 @@ function validate$L(obj, path = 'ManagedContentTaxonomyPathRepresentation') {
3436
3436
  })();
3437
3437
  return v_error === undefined ? null : v_error;
3438
3438
  }
3439
- const RepresentationType$l = 'ManagedContentTaxonomyPathRepresentation';
3440
- function normalize$l(input, existing, path, luvio, store, timestamp) {
3439
+ const RepresentationType$m = 'ManagedContentTaxonomyPathRepresentation';
3440
+ function normalize$m(input, existing, path, luvio, store, timestamp) {
3441
3441
  return input;
3442
3442
  }
3443
- const select$P = function ManagedContentTaxonomyPathRepresentationSelect() {
3443
+ const select$R = function ManagedContentTaxonomyPathRepresentationSelect() {
3444
3444
  return {
3445
3445
  kind: 'Fragment',
3446
- version: VERSION$m,
3446
+ version: VERSION$n,
3447
3447
  private: [],
3448
3448
  opaque: true
3449
3449
  };
3450
3450
  };
3451
- function equals$m(existing, incoming) {
3451
+ function equals$n(existing, incoming) {
3452
3452
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
3453
3453
  return false;
3454
3454
  }
3455
3455
  return true;
3456
3456
  }
3457
- const ingest$l = function ManagedContentTaxonomyPathRepresentationIngest(input, path, luvio, store, timestamp) {
3457
+ const ingest$m = function ManagedContentTaxonomyPathRepresentationIngest(input, path, luvio, store, timestamp) {
3458
3458
  if (process.env.NODE_ENV !== 'production') {
3459
- const validateError = validate$L(input);
3459
+ const validateError = validate$R(input);
3460
3460
  if (validateError !== null) {
3461
3461
  throw validateError;
3462
3462
  }
3463
3463
  }
3464
3464
  const key = path.fullPath;
3465
- const ttlToUse = TTL$k;
3466
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$l, "CMSAuthoring", VERSION$m, RepresentationType$l, equals$m);
3465
+ const ttlToUse = TTL$l;
3466
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$m, "CMSAuthoring", VERSION$n, RepresentationType$m, equals$n);
3467
3467
  return createLink(key);
3468
3468
  };
3469
- function getTypeCacheKeys$l(rootKeySet, luvio, input, fullPathFactory) {
3469
+ function getTypeCacheKeys$m(rootKeySet, luvio, input, fullPathFactory) {
3470
3470
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
3471
3471
  const rootKey = fullPathFactory();
3472
3472
  rootKeySet.set(rootKey, {
3473
3473
  namespace: keyPrefix,
3474
- representationName: RepresentationType$l,
3474
+ representationName: RepresentationType$m,
3475
3475
  mergeable: false
3476
3476
  });
3477
3477
  }
3478
3478
 
3479
- const VERSION$l = "05c4867cd20f87930367aa80db4baab5";
3480
- function validate$K(obj, path = 'ManagedContentTaxonomyTermRepresentation') {
3479
+ const VERSION$m = "05c4867cd20f87930367aa80db4baab5";
3480
+ function validate$Q(obj, path = 'ManagedContentTaxonomyTermRepresentation') {
3481
3481
  const v_error = (() => {
3482
3482
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3483
3483
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3507,14 +3507,14 @@ function validate$K(obj, path = 'ManagedContentTaxonomyTermRepresentation') {
3507
3507
  })();
3508
3508
  return v_error === undefined ? null : v_error;
3509
3509
  }
3510
- const RepresentationType$k = 'ManagedContentTaxonomyTermRepresentation';
3511
- function normalize$k(input, existing, path, luvio, store, timestamp) {
3510
+ const RepresentationType$l = 'ManagedContentTaxonomyTermRepresentation';
3511
+ function normalize$l(input, existing, path, luvio, store, timestamp) {
3512
3512
  const input_pathsFromRoot = input.pathsFromRoot;
3513
3513
  const input_pathsFromRoot_id = path.fullPath + '__pathsFromRoot';
3514
3514
  for (let i = 0; i < input_pathsFromRoot.length; i++) {
3515
3515
  const input_pathsFromRoot_item = input_pathsFromRoot[i];
3516
3516
  let input_pathsFromRoot_item_id = input_pathsFromRoot_id + '__' + i;
3517
- input_pathsFromRoot[i] = ingest$l(input_pathsFromRoot_item, {
3517
+ input_pathsFromRoot[i] = ingest$m(input_pathsFromRoot_item, {
3518
3518
  fullPath: input_pathsFromRoot_item_id,
3519
3519
  propertyName: i,
3520
3520
  parent: {
@@ -3527,10 +3527,10 @@ function normalize$k(input, existing, path, luvio, store, timestamp) {
3527
3527
  }
3528
3528
  return input;
3529
3529
  }
3530
- const select$O = function ManagedContentTaxonomyTermRepresentationSelect() {
3530
+ const select$Q = function ManagedContentTaxonomyTermRepresentationSelect() {
3531
3531
  return {
3532
3532
  kind: 'Fragment',
3533
- version: VERSION$l,
3533
+ version: VERSION$m,
3534
3534
  private: [],
3535
3535
  selections: [
3536
3536
  {
@@ -3545,12 +3545,12 @@ const select$O = function ManagedContentTaxonomyTermRepresentationSelect() {
3545
3545
  name: 'pathsFromRoot',
3546
3546
  kind: 'Link',
3547
3547
  plural: true,
3548
- fragment: select$P()
3548
+ fragment: select$R()
3549
3549
  }
3550
3550
  ]
3551
3551
  };
3552
3552
  };
3553
- function equals$l(existing, incoming) {
3553
+ function equals$m(existing, incoming) {
3554
3554
  const existing_id = existing.id;
3555
3555
  const incoming_id = incoming.id;
3556
3556
  if (!(existing_id === incoming_id)) {
@@ -3573,35 +3573,35 @@ function equals$l(existing, incoming) {
3573
3573
  }
3574
3574
  return true;
3575
3575
  }
3576
- const ingest$k = function ManagedContentTaxonomyTermRepresentationIngest(input, path, luvio, store, timestamp) {
3576
+ const ingest$l = function ManagedContentTaxonomyTermRepresentationIngest(input, path, luvio, store, timestamp) {
3577
3577
  if (process.env.NODE_ENV !== 'production') {
3578
- const validateError = validate$K(input);
3578
+ const validateError = validate$Q(input);
3579
3579
  if (validateError !== null) {
3580
3580
  throw validateError;
3581
3581
  }
3582
3582
  }
3583
3583
  const key = path.fullPath;
3584
3584
  const ttlToUse = path.ttl;
3585
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$k, "CMSAuthoring", VERSION$l, RepresentationType$k, equals$l);
3585
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$l, "CMSAuthoring", VERSION$m, RepresentationType$l, equals$m);
3586
3586
  return createLink(key);
3587
3587
  };
3588
- function getTypeCacheKeys$k(rootKeySet, luvio, input, fullPathFactory) {
3588
+ function getTypeCacheKeys$l(rootKeySet, luvio, input, fullPathFactory) {
3589
3589
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
3590
3590
  const rootKey = fullPathFactory();
3591
3591
  rootKeySet.set(rootKey, {
3592
3592
  namespace: keyPrefix,
3593
- representationName: RepresentationType$k,
3593
+ representationName: RepresentationType$l,
3594
3594
  mergeable: false
3595
3595
  });
3596
3596
  const input_pathsFromRoot_length = input.pathsFromRoot.length;
3597
3597
  for (let i = 0; i < input_pathsFromRoot_length; i++) {
3598
- getTypeCacheKeys$l(rootKeySet, luvio, input.pathsFromRoot[i], () => '');
3598
+ getTypeCacheKeys$m(rootKeySet, luvio, input.pathsFromRoot[i], () => '');
3599
3599
  }
3600
3600
  }
3601
3601
 
3602
- const TTL$j = 100;
3603
- const VERSION$k = "838bc0422b420be598cab667d4031ed0";
3604
- function validate$J(obj, path = 'ManagedContentTaxonomyTermCollectionRepresentation') {
3602
+ const TTL$k = 100;
3603
+ const VERSION$l = "838bc0422b420be598cab667d4031ed0";
3604
+ function validate$P(obj, path = 'ManagedContentTaxonomyTermCollectionRepresentation') {
3605
3605
  const v_error = (() => {
3606
3606
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3607
3607
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3631,23 +3631,23 @@ function validate$J(obj, path = 'ManagedContentTaxonomyTermCollectionRepresentat
3631
3631
  })();
3632
3632
  return v_error === undefined ? null : v_error;
3633
3633
  }
3634
- const RepresentationType$j = 'ManagedContentTaxonomyTermCollectionRepresentation';
3635
- function keyBuilder$G(luvio, config) {
3636
- return keyPrefix + '::' + RepresentationType$j + ':' + config.id;
3634
+ const RepresentationType$k = 'ManagedContentTaxonomyTermCollectionRepresentation';
3635
+ function keyBuilder$H(luvio, config) {
3636
+ return keyPrefix + '::' + RepresentationType$k + ':' + config.id;
3637
3637
  }
3638
- function keyBuilderFromType$9(luvio, object) {
3638
+ function keyBuilderFromType$a(luvio, object) {
3639
3639
  const keyParams = {
3640
3640
  id: object.contentKey
3641
3641
  };
3642
- return keyBuilder$G(luvio, keyParams);
3642
+ return keyBuilder$H(luvio, keyParams);
3643
3643
  }
3644
- function normalize$j(input, existing, path, luvio, store, timestamp) {
3644
+ function normalize$k(input, existing, path, luvio, store, timestamp) {
3645
3645
  const input_taxonomyTerms = input.taxonomyTerms;
3646
3646
  const input_taxonomyTerms_id = path.fullPath + '__taxonomyTerms';
3647
3647
  for (let i = 0; i < input_taxonomyTerms.length; i++) {
3648
3648
  const input_taxonomyTerms_item = input_taxonomyTerms[i];
3649
3649
  let input_taxonomyTerms_item_id = input_taxonomyTerms_id + '__' + i;
3650
- input_taxonomyTerms[i] = ingest$k(input_taxonomyTerms_item, {
3650
+ input_taxonomyTerms[i] = ingest$l(input_taxonomyTerms_item, {
3651
3651
  fullPath: input_taxonomyTerms_item_id,
3652
3652
  propertyName: i,
3653
3653
  parent: {
@@ -3660,10 +3660,10 @@ function normalize$j(input, existing, path, luvio, store, timestamp) {
3660
3660
  }
3661
3661
  return input;
3662
3662
  }
3663
- const select$N = function ManagedContentTaxonomyTermCollectionRepresentationSelect() {
3663
+ const select$P = function ManagedContentTaxonomyTermCollectionRepresentationSelect() {
3664
3664
  return {
3665
3665
  kind: 'Fragment',
3666
- version: VERSION$k,
3666
+ version: VERSION$l,
3667
3667
  private: [],
3668
3668
  selections: [
3669
3669
  {
@@ -3678,12 +3678,12 @@ const select$N = function ManagedContentTaxonomyTermCollectionRepresentationSele
3678
3678
  name: 'taxonomyTerms',
3679
3679
  kind: 'Link',
3680
3680
  plural: true,
3681
- fragment: select$O()
3681
+ fragment: select$Q()
3682
3682
  }
3683
3683
  ]
3684
3684
  };
3685
3685
  };
3686
- function equals$k(existing, incoming) {
3686
+ function equals$l(existing, incoming) {
3687
3687
  const existing_contentKey = existing.contentKey;
3688
3688
  const incoming_contentKey = incoming.contentKey;
3689
3689
  if (!(existing_contentKey === incoming_contentKey)) {
@@ -3706,50 +3706,50 @@ function equals$k(existing, incoming) {
3706
3706
  }
3707
3707
  return true;
3708
3708
  }
3709
- const ingest$j = function ManagedContentTaxonomyTermCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
3709
+ const ingest$k = function ManagedContentTaxonomyTermCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
3710
3710
  if (process.env.NODE_ENV !== 'production') {
3711
- const validateError = validate$J(input);
3711
+ const validateError = validate$P(input);
3712
3712
  if (validateError !== null) {
3713
3713
  throw validateError;
3714
3714
  }
3715
3715
  }
3716
- const key = keyBuilderFromType$9(luvio, input);
3717
- const ttlToUse = TTL$j;
3718
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$j, "CMSAuthoring", VERSION$k, RepresentationType$j, equals$k);
3716
+ const key = keyBuilderFromType$a(luvio, input);
3717
+ const ttlToUse = TTL$k;
3718
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$k, "CMSAuthoring", VERSION$l, RepresentationType$k, equals$l);
3719
3719
  return createLink(key);
3720
3720
  };
3721
- function getTypeCacheKeys$j(rootKeySet, luvio, input, fullPathFactory) {
3721
+ function getTypeCacheKeys$k(rootKeySet, luvio, input, fullPathFactory) {
3722
3722
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
3723
- const rootKey = keyBuilderFromType$9(luvio, input);
3723
+ const rootKey = keyBuilderFromType$a(luvio, input);
3724
3724
  rootKeySet.set(rootKey, {
3725
3725
  namespace: keyPrefix,
3726
- representationName: RepresentationType$j,
3726
+ representationName: RepresentationType$k,
3727
3727
  mergeable: false
3728
3728
  });
3729
3729
  const input_taxonomyTerms_length = input.taxonomyTerms.length;
3730
3730
  for (let i = 0; i < input_taxonomyTerms_length; i++) {
3731
- getTypeCacheKeys$k(rootKeySet, luvio, input.taxonomyTerms[i], () => '');
3731
+ getTypeCacheKeys$l(rootKeySet, luvio, input.taxonomyTerms[i], () => '');
3732
3732
  }
3733
3733
  }
3734
3734
 
3735
- function select$M(luvio, params) {
3736
- return select$N();
3735
+ function select$O(luvio, params) {
3736
+ return select$P();
3737
3737
  }
3738
- function keyBuilder$F(luvio, params) {
3739
- return keyBuilder$G(luvio, {
3738
+ function keyBuilder$G(luvio, params) {
3739
+ return keyBuilder$H(luvio, {
3740
3740
  id: params.urlParams.contentKeyOrId
3741
3741
  });
3742
3742
  }
3743
- function getResponseCacheKeys$t(storeKeyMap, luvio, resourceParams, response) {
3744
- getTypeCacheKeys$j(storeKeyMap, luvio, response);
3743
+ function getResponseCacheKeys$u(storeKeyMap, luvio, resourceParams, response) {
3744
+ getTypeCacheKeys$k(storeKeyMap, luvio, response);
3745
3745
  }
3746
- function ingestSuccess$t(luvio, resourceParams, response, snapshotRefresh) {
3746
+ function ingestSuccess$u(luvio, resourceParams, response, snapshotRefresh) {
3747
3747
  const { body } = response;
3748
- const key = keyBuilder$F(luvio, resourceParams);
3749
- luvio.storeIngest(key, ingest$j, body);
3748
+ const key = keyBuilder$G(luvio, resourceParams);
3749
+ luvio.storeIngest(key, ingest$k, body);
3750
3750
  const snapshot = luvio.storeLookup({
3751
3751
  recordId: key,
3752
- node: select$M(),
3752
+ node: select$O(),
3753
3753
  variables: {},
3754
3754
  }, snapshotRefresh);
3755
3755
  if (process.env.NODE_ENV !== 'production') {
@@ -3761,18 +3761,18 @@ function ingestSuccess$t(luvio, resourceParams, response, snapshotRefresh) {
3761
3761
  return snapshot;
3762
3762
  }
3763
3763
  function ingestError$f(luvio, params, error, snapshotRefresh) {
3764
- const key = keyBuilder$F(luvio, params);
3764
+ const key = keyBuilder$G(luvio, params);
3765
3765
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
3766
3766
  const storeMetadataParams = {
3767
- ttl: TTL$j,
3767
+ ttl: TTL$k,
3768
3768
  namespace: keyPrefix,
3769
- version: VERSION$k,
3770
- representationName: RepresentationType$j
3769
+ version: VERSION$l,
3770
+ representationName: RepresentationType$k
3771
3771
  };
3772
3772
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
3773
3773
  return errorSnapshot;
3774
3774
  }
3775
- function createResourceRequest$t(config) {
3775
+ function createResourceRequest$u(config) {
3776
3776
  const headers = {};
3777
3777
  return {
3778
3778
  baseUri: '/services/data/v61.0',
@@ -3786,60 +3786,60 @@ function createResourceRequest$t(config) {
3786
3786
  };
3787
3787
  }
3788
3788
 
3789
- const adapterName$t = 'getManagedContentTaxonomyTerms';
3789
+ const adapterName$u = 'getManagedContentTaxonomyTerms';
3790
3790
  const getManagedContentTaxonomyTerms_ConfigPropertyMetadata = [
3791
3791
  generateParamConfigMetadata('contentKeyOrId', true, 0 /* UrlParameter */, 0 /* String */),
3792
3792
  ];
3793
- const getManagedContentTaxonomyTerms_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$t, getManagedContentTaxonomyTerms_ConfigPropertyMetadata);
3794
- const createResourceParams$t = /*#__PURE__*/ createResourceParams$B(getManagedContentTaxonomyTerms_ConfigPropertyMetadata);
3795
- function keyBuilder$E(luvio, config) {
3796
- const resourceParams = createResourceParams$t(config);
3797
- return keyBuilder$F(luvio, resourceParams);
3793
+ const getManagedContentTaxonomyTerms_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$u, getManagedContentTaxonomyTerms_ConfigPropertyMetadata);
3794
+ const createResourceParams$u = /*#__PURE__*/ createResourceParams$C(getManagedContentTaxonomyTerms_ConfigPropertyMetadata);
3795
+ function keyBuilder$F(luvio, config) {
3796
+ const resourceParams = createResourceParams$u(config);
3797
+ return keyBuilder$G(luvio, resourceParams);
3798
3798
  }
3799
- function typeCheckConfig$t(untrustedConfig) {
3799
+ function typeCheckConfig$u(untrustedConfig) {
3800
3800
  const config = {};
3801
- typeCheckConfig$B(untrustedConfig, config, getManagedContentTaxonomyTerms_ConfigPropertyMetadata);
3801
+ typeCheckConfig$C(untrustedConfig, config, getManagedContentTaxonomyTerms_ConfigPropertyMetadata);
3802
3802
  return config;
3803
3803
  }
3804
- function validateAdapterConfig$t(untrustedConfig, configPropertyNames) {
3804
+ function validateAdapterConfig$u(untrustedConfig, configPropertyNames) {
3805
3805
  if (!untrustedIsObject(untrustedConfig)) {
3806
3806
  return null;
3807
3807
  }
3808
3808
  if (process.env.NODE_ENV !== 'production') {
3809
3809
  validateConfig(untrustedConfig, configPropertyNames);
3810
3810
  }
3811
- const config = typeCheckConfig$t(untrustedConfig);
3811
+ const config = typeCheckConfig$u(untrustedConfig);
3812
3812
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
3813
3813
  return null;
3814
3814
  }
3815
3815
  return config;
3816
3816
  }
3817
3817
  function adapterFragment$f(luvio, config) {
3818
- createResourceParams$t(config);
3819
- return select$M();
3818
+ createResourceParams$u(config);
3819
+ return select$O();
3820
3820
  }
3821
3821
  function onFetchResponseSuccess$g(luvio, config, resourceParams, response) {
3822
- const snapshot = ingestSuccess$t(luvio, resourceParams, response, {
3822
+ const snapshot = ingestSuccess$u(luvio, resourceParams, response, {
3823
3823
  config,
3824
- resolve: () => buildNetworkSnapshot$t(luvio, config, snapshotRefreshOptions)
3824
+ resolve: () => buildNetworkSnapshot$u(luvio, config, snapshotRefreshOptions)
3825
3825
  });
3826
3826
  return luvio.storeBroadcast().then(() => snapshot);
3827
3827
  }
3828
3828
  function onFetchResponseError$f(luvio, config, resourceParams, response) {
3829
3829
  const snapshot = ingestError$f(luvio, resourceParams, response, {
3830
3830
  config,
3831
- resolve: () => buildNetworkSnapshot$t(luvio, config, snapshotRefreshOptions)
3831
+ resolve: () => buildNetworkSnapshot$u(luvio, config, snapshotRefreshOptions)
3832
3832
  });
3833
3833
  return luvio.storeBroadcast().then(() => snapshot);
3834
3834
  }
3835
- function buildNetworkSnapshot$t(luvio, config, options) {
3836
- const resourceParams = createResourceParams$t(config);
3837
- const request = createResourceRequest$t(resourceParams);
3835
+ function buildNetworkSnapshot$u(luvio, config, options) {
3836
+ const resourceParams = createResourceParams$u(config);
3837
+ const request = createResourceRequest$u(resourceParams);
3838
3838
  return luvio.dispatchResourceRequest(request, options)
3839
3839
  .then((response) => {
3840
3840
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$g(luvio, config, resourceParams, response), () => {
3841
3841
  const cache = new StoreKeyMap();
3842
- getResponseCacheKeys$t(cache, luvio, resourceParams, response.body);
3842
+ getResponseCacheKeys$u(cache, luvio, resourceParams, response.body);
3843
3843
  return cache;
3844
3844
  });
3845
3845
  }, (response) => {
@@ -3847,23 +3847,23 @@ function buildNetworkSnapshot$t(luvio, config, options) {
3847
3847
  });
3848
3848
  }
3849
3849
  function buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext) {
3850
- return buildNetworkSnapshotCachePolicy$l(context, coercedAdapterRequestContext, buildNetworkSnapshot$t, undefined, false);
3850
+ return buildNetworkSnapshotCachePolicy$l(context, coercedAdapterRequestContext, buildNetworkSnapshot$u, undefined, false);
3851
3851
  }
3852
3852
  function buildCachedSnapshotCachePolicy$f(context, storeLookup) {
3853
3853
  const { luvio, config } = context;
3854
3854
  const selector = {
3855
- recordId: keyBuilder$E(luvio, config),
3855
+ recordId: keyBuilder$F(luvio, config),
3856
3856
  node: adapterFragment$f(luvio, config),
3857
3857
  variables: {},
3858
3858
  };
3859
3859
  const cacheSnapshot = storeLookup(selector, {
3860
3860
  config,
3861
- resolve: () => buildNetworkSnapshot$t(luvio, config, snapshotRefreshOptions)
3861
+ resolve: () => buildNetworkSnapshot$u(luvio, config, snapshotRefreshOptions)
3862
3862
  });
3863
3863
  return cacheSnapshot;
3864
3864
  }
3865
3865
  const getManagedContentTaxonomyTermsAdapterFactory = (luvio) => function CMSAuthoring__getManagedContentTaxonomyTerms(untrustedConfig, requestContext) {
3866
- const config = validateAdapterConfig$t(untrustedConfig, getManagedContentTaxonomyTerms_ConfigPropertyNames);
3866
+ const config = validateAdapterConfig$u(untrustedConfig, getManagedContentTaxonomyTerms_ConfigPropertyNames);
3867
3867
  // Invalid or incomplete config
3868
3868
  if (config === null) {
3869
3869
  return null;
@@ -3872,19 +3872,19 @@ const getManagedContentTaxonomyTermsAdapterFactory = (luvio) => function CMSAuth
3872
3872
  buildCachedSnapshotCachePolicy$f, buildNetworkSnapshotCachePolicy$f);
3873
3873
  };
3874
3874
 
3875
- function select$L(luvio, params) {
3876
- return select$N();
3875
+ function select$N(luvio, params) {
3876
+ return select$P();
3877
3877
  }
3878
- function getResponseCacheKeys$s(storeKeyMap, luvio, resourceParams, response) {
3879
- getTypeCacheKeys$j(storeKeyMap, luvio, response);
3878
+ function getResponseCacheKeys$t(storeKeyMap, luvio, resourceParams, response) {
3879
+ getTypeCacheKeys$k(storeKeyMap, luvio, response);
3880
3880
  }
3881
- function ingestSuccess$s(luvio, resourceParams, response) {
3881
+ function ingestSuccess$t(luvio, resourceParams, response) {
3882
3882
  const { body } = response;
3883
- const key = keyBuilderFromType$9(luvio, body);
3884
- luvio.storeIngest(key, ingest$j, body);
3883
+ const key = keyBuilderFromType$a(luvio, body);
3884
+ luvio.storeIngest(key, ingest$k, body);
3885
3885
  const snapshot = luvio.storeLookup({
3886
3886
  recordId: key,
3887
- node: select$L(),
3887
+ node: select$N(),
3888
3888
  variables: {},
3889
3889
  });
3890
3890
  if (process.env.NODE_ENV !== 'production') {
@@ -3895,7 +3895,7 @@ function ingestSuccess$s(luvio, resourceParams, response) {
3895
3895
  deepFreeze(snapshot.data);
3896
3896
  return snapshot;
3897
3897
  }
3898
- function createResourceRequest$s(config) {
3898
+ function createResourceRequest$t(config) {
3899
3899
  const headers = {};
3900
3900
  return {
3901
3901
  baseUri: '/services/data/v61.0',
@@ -3909,43 +3909,43 @@ function createResourceRequest$s(config) {
3909
3909
  };
3910
3910
  }
3911
3911
 
3912
- const adapterName$s = 'updateManagedContentTaxonomyTerms';
3912
+ const adapterName$t = 'updateManagedContentTaxonomyTerms';
3913
3913
  const updateManagedContentTaxonomyTerms_ConfigPropertyMetadata = [
3914
3914
  generateParamConfigMetadata('contentKeyOrId', true, 0 /* UrlParameter */, 0 /* String */),
3915
3915
  generateParamConfigMetadata('termsToAdd', true, 2 /* Body */, 0 /* String */, true),
3916
3916
  generateParamConfigMetadata('termsToRemove', true, 2 /* Body */, 0 /* String */, true),
3917
3917
  ];
3918
- const updateManagedContentTaxonomyTerms_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$s, updateManagedContentTaxonomyTerms_ConfigPropertyMetadata);
3919
- const createResourceParams$s = /*#__PURE__*/ createResourceParams$B(updateManagedContentTaxonomyTerms_ConfigPropertyMetadata);
3920
- function typeCheckConfig$s(untrustedConfig) {
3918
+ const updateManagedContentTaxonomyTerms_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$t, updateManagedContentTaxonomyTerms_ConfigPropertyMetadata);
3919
+ const createResourceParams$t = /*#__PURE__*/ createResourceParams$C(updateManagedContentTaxonomyTerms_ConfigPropertyMetadata);
3920
+ function typeCheckConfig$t(untrustedConfig) {
3921
3921
  const config = {};
3922
- typeCheckConfig$B(untrustedConfig, config, updateManagedContentTaxonomyTerms_ConfigPropertyMetadata);
3922
+ typeCheckConfig$C(untrustedConfig, config, updateManagedContentTaxonomyTerms_ConfigPropertyMetadata);
3923
3923
  return config;
3924
3924
  }
3925
- function validateAdapterConfig$s(untrustedConfig, configPropertyNames) {
3925
+ function validateAdapterConfig$t(untrustedConfig, configPropertyNames) {
3926
3926
  if (!untrustedIsObject(untrustedConfig)) {
3927
3927
  return null;
3928
3928
  }
3929
3929
  if (process.env.NODE_ENV !== 'production') {
3930
3930
  validateConfig(untrustedConfig, configPropertyNames);
3931
3931
  }
3932
- const config = typeCheckConfig$s(untrustedConfig);
3932
+ const config = typeCheckConfig$t(untrustedConfig);
3933
3933
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
3934
3934
  return null;
3935
3935
  }
3936
3936
  return config;
3937
3937
  }
3938
- function buildNetworkSnapshot$s(luvio, config, options) {
3939
- const resourceParams = createResourceParams$s(config);
3940
- const request = createResourceRequest$s(resourceParams);
3938
+ function buildNetworkSnapshot$t(luvio, config, options) {
3939
+ const resourceParams = createResourceParams$t(config);
3940
+ const request = createResourceRequest$t(resourceParams);
3941
3941
  return luvio.dispatchResourceRequest(request, options)
3942
3942
  .then((response) => {
3943
3943
  return luvio.handleSuccessResponse(() => {
3944
- const snapshot = ingestSuccess$s(luvio, resourceParams, response);
3944
+ const snapshot = ingestSuccess$t(luvio, resourceParams, response);
3945
3945
  return luvio.storeBroadcast().then(() => snapshot);
3946
3946
  }, () => {
3947
3947
  const cache = new StoreKeyMap();
3948
- getResponseCacheKeys$s(cache, luvio, resourceParams, response.body);
3948
+ getResponseCacheKeys$t(cache, luvio, resourceParams, response.body);
3949
3949
  return cache;
3950
3950
  });
3951
3951
  }, (response) => {
@@ -3955,16 +3955,16 @@ function buildNetworkSnapshot$s(luvio, config, options) {
3955
3955
  }
3956
3956
  const updateManagedContentTaxonomyTermsAdapterFactory = (luvio) => {
3957
3957
  return function updateManagedContentTaxonomyTerms(untrustedConfig) {
3958
- const config = validateAdapterConfig$s(untrustedConfig, updateManagedContentTaxonomyTerms_ConfigPropertyNames);
3958
+ const config = validateAdapterConfig$t(untrustedConfig, updateManagedContentTaxonomyTerms_ConfigPropertyNames);
3959
3959
  // Invalid or incomplete config
3960
3960
  if (config === null) {
3961
3961
  throw new Error('Invalid config for "updateManagedContentTaxonomyTerms"');
3962
3962
  }
3963
- return buildNetworkSnapshot$s(luvio, config);
3963
+ return buildNetworkSnapshot$t(luvio, config);
3964
3964
  };
3965
3965
  };
3966
3966
 
3967
- function validate$I(obj, path = 'ManagedContentInputRepresentation') {
3967
+ function validate$O(obj, path = 'ManagedContentInputRepresentation') {
3968
3968
  const v_error = (() => {
3969
3969
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3970
3970
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4011,7 +4011,7 @@ function validate$I(obj, path = 'ManagedContentInputRepresentation') {
4011
4011
  return v_error === undefined ? null : v_error;
4012
4012
  }
4013
4013
 
4014
- function validate$H(obj, path = 'ManagedContentSpaceSummaryRepresentation') {
4014
+ function validate$N(obj, path = 'ManagedContentSpaceSummaryRepresentation') {
4015
4015
  const v_error = (() => {
4016
4016
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4017
4017
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4030,7 +4030,7 @@ function validate$H(obj, path = 'ManagedContentSpaceSummaryRepresentation') {
4030
4030
  return v_error === undefined ? null : v_error;
4031
4031
  }
4032
4032
 
4033
- function validate$G(obj, path = 'ManagedContentFolderSummaryRepresentation') {
4033
+ function validate$M(obj, path = 'ManagedContentFolderSummaryRepresentation') {
4034
4034
  const v_error = (() => {
4035
4035
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4036
4036
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4049,7 +4049,7 @@ function validate$G(obj, path = 'ManagedContentFolderSummaryRepresentation') {
4049
4049
  return v_error === undefined ? null : v_error;
4050
4050
  }
4051
4051
 
4052
- function validate$F(obj, path = 'ManagedContentVariantStatusRepresentation') {
4052
+ function validate$L(obj, path = 'ManagedContentVariantStatusRepresentation') {
4053
4053
  const v_error = (() => {
4054
4054
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4055
4055
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4068,9 +4068,9 @@ function validate$F(obj, path = 'ManagedContentVariantStatusRepresentation') {
4068
4068
  return v_error === undefined ? null : v_error;
4069
4069
  }
4070
4070
 
4071
- const TTL$i = 100;
4072
- const VERSION$j = "f644ed182fdec4abba2087ae85c47223";
4073
- function validate$E(obj, path = 'ManagedContentDocumentRepresentation') {
4071
+ const TTL$j = 100;
4072
+ const VERSION$k = "f644ed182fdec4abba2087ae85c47223";
4073
+ function validate$K(obj, path = 'ManagedContentDocumentRepresentation') {
4074
4074
  const v_error = (() => {
4075
4075
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4076
4076
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4122,170 +4122,669 @@ function validate$E(obj, path = 'ManagedContentDocumentRepresentation') {
4122
4122
  }
4123
4123
  const obj_contentSpace = obj.contentSpace;
4124
4124
  const path_contentSpace = path + '.contentSpace';
4125
- const referencepath_contentSpaceValidationError = validate$H(obj_contentSpace, path_contentSpace);
4125
+ const referencepath_contentSpaceValidationError = validate$N(obj_contentSpace, path_contentSpace);
4126
4126
  if (referencepath_contentSpaceValidationError !== null) {
4127
4127
  let message = 'Object doesn\'t match ManagedContentSpaceSummaryRepresentation (at "' + path_contentSpace + '")\n';
4128
4128
  message += referencepath_contentSpaceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
4129
4129
  return new TypeError(message);
4130
4130
  }
4131
- const obj_contentType = obj.contentType;
4132
- const path_contentType = path + '.contentType';
4133
- const referencepath_contentTypeValidationError = validate$12(obj_contentType, path_contentType);
4134
- if (referencepath_contentTypeValidationError !== null) {
4135
- let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
4136
- message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
4137
- return new TypeError(message);
4131
+ const obj_contentType = obj.contentType;
4132
+ const path_contentType = path + '.contentType';
4133
+ const referencepath_contentTypeValidationError = validate$18(obj_contentType, path_contentType);
4134
+ if (referencepath_contentTypeValidationError !== null) {
4135
+ let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
4136
+ message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
4137
+ return new TypeError(message);
4138
+ }
4139
+ const obj_createdBy = obj.createdBy;
4140
+ const path_createdBy = path + '.createdBy';
4141
+ const referencepath_createdByValidationError = validate$15(obj_createdBy, path_createdBy);
4142
+ if (referencepath_createdByValidationError !== null) {
4143
+ let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
4144
+ message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
4145
+ return new TypeError(message);
4146
+ }
4147
+ const obj_createdDate = obj.createdDate;
4148
+ const path_createdDate = path + '.createdDate';
4149
+ if (typeof obj_createdDate !== 'string') {
4150
+ return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
4151
+ }
4152
+ const obj_folder = obj.folder;
4153
+ const path_folder = path + '.folder';
4154
+ const referencepath_folderValidationError = validate$M(obj_folder, path_folder);
4155
+ if (referencepath_folderValidationError !== null) {
4156
+ let message = 'Object doesn\'t match ManagedContentFolderSummaryRepresentation (at "' + path_folder + '")\n';
4157
+ message += referencepath_folderValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
4158
+ return new TypeError(message);
4159
+ }
4160
+ const obj_isPublished = obj.isPublished;
4161
+ const path_isPublished = path + '.isPublished';
4162
+ if (typeof obj_isPublished !== 'boolean') {
4163
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isPublished + '" (at "' + path_isPublished + '")');
4164
+ }
4165
+ const obj_language = obj.language;
4166
+ const path_language = path + '.language';
4167
+ if (typeof obj_language !== 'string') {
4168
+ return new TypeError('Expected "string" but received "' + typeof obj_language + '" (at "' + path_language + '")');
4169
+ }
4170
+ const obj_lastModifiedBy = obj.lastModifiedBy;
4171
+ const path_lastModifiedBy = path + '.lastModifiedBy';
4172
+ const referencepath_lastModifiedByValidationError = validate$15(obj_lastModifiedBy, path_lastModifiedBy);
4173
+ if (referencepath_lastModifiedByValidationError !== null) {
4174
+ let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
4175
+ message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
4176
+ return new TypeError(message);
4177
+ }
4178
+ const obj_lastModifiedDate = obj.lastModifiedDate;
4179
+ const path_lastModifiedDate = path + '.lastModifiedDate';
4180
+ if (typeof obj_lastModifiedDate !== 'string') {
4181
+ return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
4182
+ }
4183
+ const obj_managedContentId = obj.managedContentId;
4184
+ const path_managedContentId = path + '.managedContentId';
4185
+ if (typeof obj_managedContentId !== 'string') {
4186
+ return new TypeError('Expected "string" but received "' + typeof obj_managedContentId + '" (at "' + path_managedContentId + '")');
4187
+ }
4188
+ const obj_managedContentVariantId = obj.managedContentVariantId;
4189
+ const path_managedContentVariantId = path + '.managedContentVariantId';
4190
+ if (typeof obj_managedContentVariantId !== 'string') {
4191
+ return new TypeError('Expected "string" but received "' + typeof obj_managedContentVariantId + '" (at "' + path_managedContentVariantId + '")');
4192
+ }
4193
+ const obj_managedContentVersionId = obj.managedContentVersionId;
4194
+ const path_managedContentVersionId = path + '.managedContentVersionId';
4195
+ if (typeof obj_managedContentVersionId !== 'string') {
4196
+ return new TypeError('Expected "string" but received "' + typeof obj_managedContentVersionId + '" (at "' + path_managedContentVersionId + '")');
4197
+ }
4198
+ if (obj.status !== undefined) {
4199
+ const obj_status = obj.status;
4200
+ const path_status = path + '.status';
4201
+ let obj_status_union0 = null;
4202
+ const obj_status_union0_error = (() => {
4203
+ const referencepath_statusValidationError = validate$L(obj_status, path_status);
4204
+ if (referencepath_statusValidationError !== null) {
4205
+ let message = 'Object doesn\'t match ManagedContentVariantStatusRepresentation (at "' + path_status + '")\n';
4206
+ message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
4207
+ return new TypeError(message);
4208
+ }
4209
+ })();
4210
+ if (obj_status_union0_error != null) {
4211
+ obj_status_union0 = obj_status_union0_error.message;
4212
+ }
4213
+ let obj_status_union1 = null;
4214
+ const obj_status_union1_error = (() => {
4215
+ if (obj_status !== null) {
4216
+ return new TypeError('Expected "null" but received "' + typeof obj_status + '" (at "' + path_status + '")');
4217
+ }
4218
+ })();
4219
+ if (obj_status_union1_error != null) {
4220
+ obj_status_union1 = obj_status_union1_error.message;
4221
+ }
4222
+ if (obj_status_union0 && obj_status_union1) {
4223
+ let message = 'Object doesn\'t match union (at "' + path_status + '")';
4224
+ message += '\n' + obj_status_union0.split('\n').map((line) => '\t' + line).join('\n');
4225
+ message += '\n' + obj_status_union1.split('\n').map((line) => '\t' + line).join('\n');
4226
+ return new TypeError(message);
4227
+ }
4228
+ }
4229
+ const obj_title = obj.title;
4230
+ const path_title = path + '.title';
4231
+ if (typeof obj_title !== 'string') {
4232
+ return new TypeError('Expected "string" but received "' + typeof obj_title + '" (at "' + path_title + '")');
4233
+ }
4234
+ const obj_urlName = obj.urlName;
4235
+ const path_urlName = path + '.urlName';
4236
+ if (typeof obj_urlName !== 'string') {
4237
+ return new TypeError('Expected "string" but received "' + typeof obj_urlName + '" (at "' + path_urlName + '")');
4238
+ }
4239
+ const obj_version = obj.version;
4240
+ const path_version = path + '.version';
4241
+ if (typeof obj_version !== 'string') {
4242
+ return new TypeError('Expected "string" but received "' + typeof obj_version + '" (at "' + path_version + '")');
4243
+ }
4244
+ const obj_versionNumber = obj.versionNumber;
4245
+ const path_versionNumber = path + '.versionNumber';
4246
+ let obj_versionNumber_union0 = null;
4247
+ const obj_versionNumber_union0_error = (() => {
4248
+ if (typeof obj_versionNumber !== 'string') {
4249
+ return new TypeError('Expected "string" but received "' + typeof obj_versionNumber + '" (at "' + path_versionNumber + '")');
4250
+ }
4251
+ })();
4252
+ if (obj_versionNumber_union0_error != null) {
4253
+ obj_versionNumber_union0 = obj_versionNumber_union0_error.message;
4254
+ }
4255
+ let obj_versionNumber_union1 = null;
4256
+ const obj_versionNumber_union1_error = (() => {
4257
+ if (obj_versionNumber !== null) {
4258
+ return new TypeError('Expected "null" but received "' + typeof obj_versionNumber + '" (at "' + path_versionNumber + '")');
4259
+ }
4260
+ })();
4261
+ if (obj_versionNumber_union1_error != null) {
4262
+ obj_versionNumber_union1 = obj_versionNumber_union1_error.message;
4263
+ }
4264
+ if (obj_versionNumber_union0 && obj_versionNumber_union1) {
4265
+ let message = 'Object doesn\'t match union (at "' + path_versionNumber + '")';
4266
+ message += '\n' + obj_versionNumber_union0.split('\n').map((line) => '\t' + line).join('\n');
4267
+ message += '\n' + obj_versionNumber_union1.split('\n').map((line) => '\t' + line).join('\n');
4268
+ return new TypeError(message);
4269
+ }
4270
+ })();
4271
+ return v_error === undefined ? null : v_error;
4272
+ }
4273
+ const RepresentationType$j = 'ManagedContentDocumentRepresentation';
4274
+ function keyBuilder$E(luvio, config) {
4275
+ return keyPrefix + '::' + RepresentationType$j + ':' + config.content_key + ':' + config.language + ':' + config.version;
4276
+ }
4277
+ function keyBuilderFromType$9(luvio, object) {
4278
+ const keyParams = {
4279
+ content_key: object.contentKey,
4280
+ language: object.language,
4281
+ version: object.version
4282
+ };
4283
+ return keyBuilder$E(luvio, keyParams);
4284
+ }
4285
+ function normalize$j(input, existing, path, luvio, store, timestamp) {
4286
+ return input;
4287
+ }
4288
+ const select$M = function ManagedContentDocumentRepresentationSelect() {
4289
+ return {
4290
+ kind: 'Fragment',
4291
+ version: VERSION$k,
4292
+ private: [],
4293
+ opaque: true
4294
+ };
4295
+ };
4296
+ function equals$k(existing, incoming) {
4297
+ if (JSONStringify(incoming) !== JSONStringify(existing)) {
4298
+ return false;
4299
+ }
4300
+ return true;
4301
+ }
4302
+ const ingest$j = function ManagedContentDocumentRepresentationIngest(input, path, luvio, store, timestamp) {
4303
+ if (process.env.NODE_ENV !== 'production') {
4304
+ const validateError = validate$K(input);
4305
+ if (validateError !== null) {
4306
+ throw validateError;
4307
+ }
4308
+ }
4309
+ const key = keyBuilderFromType$9(luvio, input);
4310
+ const ttlToUse = TTL$j;
4311
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$j, "CMSAuthoring", VERSION$k, RepresentationType$j, equals$k);
4312
+ return createLink(key);
4313
+ };
4314
+ function getTypeCacheKeys$j(rootKeySet, luvio, input, fullPathFactory) {
4315
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
4316
+ const rootKey = keyBuilderFromType$9(luvio, input);
4317
+ rootKeySet.set(rootKey, {
4318
+ namespace: keyPrefix,
4319
+ representationName: RepresentationType$j,
4320
+ mergeable: false
4321
+ });
4322
+ }
4323
+
4324
+ function select$L(luvio, params) {
4325
+ return select$M();
4326
+ }
4327
+ function getResponseCacheKeys$s(storeKeyMap, luvio, resourceParams, response) {
4328
+ getTypeCacheKeys$j(storeKeyMap, luvio, response);
4329
+ }
4330
+ function ingestSuccess$s(luvio, resourceParams, response) {
4331
+ const { body } = response;
4332
+ const key = keyBuilderFromType$9(luvio, body);
4333
+ luvio.storeIngest(key, ingest$j, body);
4334
+ const snapshot = luvio.storeLookup({
4335
+ recordId: key,
4336
+ node: select$L(),
4337
+ variables: {},
4338
+ });
4339
+ if (process.env.NODE_ENV !== 'production') {
4340
+ if (snapshot.state !== 'Fulfilled') {
4341
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
4342
+ }
4343
+ }
4344
+ deepFreeze(snapshot.data);
4345
+ return snapshot;
4346
+ }
4347
+ function createResourceRequest$s(config) {
4348
+ const headers = {};
4349
+ return {
4350
+ baseUri: '/services/data/v61.0',
4351
+ basePath: '/connect/cms/contents',
4352
+ method: 'post',
4353
+ body: config.body,
4354
+ urlParams: {},
4355
+ queryParams: {},
4356
+ headers,
4357
+ priority: 'normal',
4358
+ };
4359
+ }
4360
+
4361
+ function ingestSuccess$r(luvio, resourceParams, response) {
4362
+ // Version can come either from versionNumber field in case of v2 content, or managedContentVersionId field in case of v1 content.
4363
+ response.body.version = (response.body.versionNumber ||
4364
+ response.body.managedContentVersionId);
4365
+ return ingestSuccess$s(luvio, resourceParams, response);
4366
+ }
4367
+
4368
+ const adapterName$s = 'createManagedContent';
4369
+ const createManagedContent_ConfigPropertyMetadata = [
4370
+ generateParamConfigMetadata('ManagedContentInputParam', true, 2 /* Body */, 4 /* Unsupported */),
4371
+ ];
4372
+ const createManagedContent_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$s, createManagedContent_ConfigPropertyMetadata);
4373
+ const createResourceParams$s = /*#__PURE__*/ createResourceParams$C(createManagedContent_ConfigPropertyMetadata);
4374
+ function typeCheckConfig$s(untrustedConfig) {
4375
+ const config = {};
4376
+ const untrustedConfig_ManagedContentInputParam = untrustedConfig.ManagedContentInputParam;
4377
+ const referenceManagedContentInputRepresentationValidationError = validate$O(untrustedConfig_ManagedContentInputParam);
4378
+ if (referenceManagedContentInputRepresentationValidationError === null) {
4379
+ config.ManagedContentInputParam = untrustedConfig_ManagedContentInputParam;
4380
+ }
4381
+ return config;
4382
+ }
4383
+ function validateAdapterConfig$s(untrustedConfig, configPropertyNames) {
4384
+ if (!untrustedIsObject(untrustedConfig)) {
4385
+ return null;
4386
+ }
4387
+ if (process.env.NODE_ENV !== 'production') {
4388
+ validateConfig(untrustedConfig, configPropertyNames);
4389
+ }
4390
+ const config = typeCheckConfig$s(untrustedConfig);
4391
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
4392
+ return null;
4393
+ }
4394
+ return config;
4395
+ }
4396
+ function buildNetworkSnapshot$s(luvio, config, options) {
4397
+ const resourceParams = createResourceParams$s(config);
4398
+ const request = createResourceRequest$s(resourceParams);
4399
+ return luvio.dispatchResourceRequest(request, options)
4400
+ .then((response) => {
4401
+ return luvio.handleSuccessResponse(() => {
4402
+ const snapshot = ingestSuccess$r(luvio, resourceParams, response);
4403
+ return luvio.storeBroadcast().then(() => snapshot);
4404
+ }, () => {
4405
+ const cache = new StoreKeyMap();
4406
+ getResponseCacheKeys$s(cache, luvio, resourceParams, response.body);
4407
+ return cache;
4408
+ });
4409
+ }, (response) => {
4410
+ deepFreeze(response);
4411
+ throw response;
4412
+ });
4413
+ }
4414
+ const createManagedContentAdapterFactory = (luvio) => {
4415
+ return function createManagedContent(untrustedConfig) {
4416
+ const config = validateAdapterConfig$s(untrustedConfig, createManagedContent_ConfigPropertyNames);
4417
+ // Invalid or incomplete config
4418
+ if (config === null) {
4419
+ throw new Error('Invalid config for "createManagedContent"');
4420
+ }
4421
+ return buildNetworkSnapshot$s(luvio, config);
4422
+ };
4423
+ };
4424
+
4425
+ function validate$J(obj, path = 'ManagedContentCloneItemRepresentation') {
4426
+ const v_error = (() => {
4427
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4428
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
4429
+ }
4430
+ const obj_contentKeyOrId = obj.contentKeyOrId;
4431
+ const path_contentKeyOrId = path + '.contentKeyOrId';
4432
+ if (typeof obj_contentKeyOrId !== 'string') {
4433
+ return new TypeError('Expected "string" but received "' + typeof obj_contentKeyOrId + '" (at "' + path_contentKeyOrId + '")');
4434
+ }
4435
+ if (obj.title !== undefined) {
4436
+ const obj_title = obj.title;
4437
+ const path_title = path + '.title';
4438
+ if (typeof obj_title !== 'string') {
4439
+ return new TypeError('Expected "string" but received "' + typeof obj_title + '" (at "' + path_title + '")');
4440
+ }
4441
+ }
4442
+ })();
4443
+ return v_error === undefined ? null : v_error;
4444
+ }
4445
+
4446
+ function validate$I(obj, path = 'ManagedContentCloneStatusRepresentation') {
4447
+ const v_error = (() => {
4448
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4449
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
4138
4450
  }
4139
- const obj_createdBy = obj.createdBy;
4140
- const path_createdBy = path + '.createdBy';
4141
- const referencepath_createdByValidationError = validate$$(obj_createdBy, path_createdBy);
4142
- if (referencepath_createdByValidationError !== null) {
4143
- let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
4144
- message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
4145
- return new TypeError(message);
4451
+ const obj_label = obj.label;
4452
+ const path_label = path + '.label';
4453
+ if (typeof obj_label !== 'string') {
4454
+ return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
4146
4455
  }
4147
- const obj_createdDate = obj.createdDate;
4148
- const path_createdDate = path + '.createdDate';
4149
- if (typeof obj_createdDate !== 'string') {
4150
- return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
4456
+ const obj_status = obj.status;
4457
+ const path_status = path + '.status';
4458
+ if (typeof obj_status !== 'string') {
4459
+ return new TypeError('Expected "string" but received "' + typeof obj_status + '" (at "' + path_status + '")');
4151
4460
  }
4152
- const obj_folder = obj.folder;
4153
- const path_folder = path + '.folder';
4154
- const referencepath_folderValidationError = validate$G(obj_folder, path_folder);
4155
- if (referencepath_folderValidationError !== null) {
4156
- let message = 'Object doesn\'t match ManagedContentFolderSummaryRepresentation (at "' + path_folder + '")\n';
4157
- message += referencepath_folderValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
4158
- return new TypeError(message);
4461
+ })();
4462
+ return v_error === undefined ? null : v_error;
4463
+ }
4464
+
4465
+ function validate$H(obj, path = 'ManagedContentFailedVariantsRepresentation') {
4466
+ const v_error = (() => {
4467
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4468
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
4159
4469
  }
4160
- const obj_isPublished = obj.isPublished;
4161
- const path_isPublished = path + '.isPublished';
4162
- if (typeof obj_isPublished !== 'boolean') {
4163
- return new TypeError('Expected "boolean" but received "' + typeof obj_isPublished + '" (at "' + path_isPublished + '")');
4470
+ const obj_errorMessage = obj.errorMessage;
4471
+ const path_errorMessage = path + '.errorMessage';
4472
+ if (typeof obj_errorMessage !== 'string') {
4473
+ return new TypeError('Expected "string" but received "' + typeof obj_errorMessage + '" (at "' + path_errorMessage + '")');
4164
4474
  }
4165
4475
  const obj_language = obj.language;
4166
4476
  const path_language = path + '.language';
4167
4477
  if (typeof obj_language !== 'string') {
4168
4478
  return new TypeError('Expected "string" but received "' + typeof obj_language + '" (at "' + path_language + '")');
4169
4479
  }
4170
- const obj_lastModifiedBy = obj.lastModifiedBy;
4171
- const path_lastModifiedBy = path + '.lastModifiedBy';
4172
- const referencepath_lastModifiedByValidationError = validate$$(obj_lastModifiedBy, path_lastModifiedBy);
4173
- if (referencepath_lastModifiedByValidationError !== null) {
4174
- let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
4175
- message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
4176
- return new TypeError(message);
4480
+ const obj_sourceManagedContentVariantId = obj.sourceManagedContentVariantId;
4481
+ const path_sourceManagedContentVariantId = path + '.sourceManagedContentVariantId';
4482
+ if (typeof obj_sourceManagedContentVariantId !== 'string') {
4483
+ return new TypeError('Expected "string" but received "' + typeof obj_sourceManagedContentVariantId + '" (at "' + path_sourceManagedContentVariantId + '")');
4177
4484
  }
4178
- const obj_lastModifiedDate = obj.lastModifiedDate;
4179
- const path_lastModifiedDate = path + '.lastModifiedDate';
4180
- if (typeof obj_lastModifiedDate !== 'string') {
4181
- return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
4485
+ })();
4486
+ return v_error === undefined ? null : v_error;
4487
+ }
4488
+
4489
+ function validate$G(obj, path = 'ManagedContentCloneVariantsRepresentation') {
4490
+ const v_error = (() => {
4491
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4492
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
4182
4493
  }
4183
- const obj_managedContentId = obj.managedContentId;
4184
- const path_managedContentId = path + '.managedContentId';
4185
- if (typeof obj_managedContentId !== 'string') {
4186
- return new TypeError('Expected "string" but received "' + typeof obj_managedContentId + '" (at "' + path_managedContentId + '")');
4494
+ const obj_language = obj.language;
4495
+ const path_language = path + '.language';
4496
+ if (typeof obj_language !== 'string') {
4497
+ return new TypeError('Expected "string" but received "' + typeof obj_language + '" (at "' + path_language + '")');
4187
4498
  }
4188
4499
  const obj_managedContentVariantId = obj.managedContentVariantId;
4189
4500
  const path_managedContentVariantId = path + '.managedContentVariantId';
4190
4501
  if (typeof obj_managedContentVariantId !== 'string') {
4191
4502
  return new TypeError('Expected "string" but received "' + typeof obj_managedContentVariantId + '" (at "' + path_managedContentVariantId + '")');
4192
4503
  }
4193
- const obj_managedContentVersionId = obj.managedContentVersionId;
4194
- const path_managedContentVersionId = path + '.managedContentVersionId';
4195
- if (typeof obj_managedContentVersionId !== 'string') {
4196
- return new TypeError('Expected "string" but received "' + typeof obj_managedContentVersionId + '" (at "' + path_managedContentVersionId + '")');
4504
+ const obj_resourceURL = obj.resourceURL;
4505
+ const path_resourceURL = path + '.resourceURL';
4506
+ let obj_resourceURL_union0 = null;
4507
+ const obj_resourceURL_union0_error = (() => {
4508
+ if (typeof obj_resourceURL !== 'string') {
4509
+ return new TypeError('Expected "string" but received "' + typeof obj_resourceURL + '" (at "' + path_resourceURL + '")');
4510
+ }
4511
+ })();
4512
+ if (obj_resourceURL_union0_error != null) {
4513
+ obj_resourceURL_union0 = obj_resourceURL_union0_error.message;
4197
4514
  }
4198
- if (obj.status !== undefined) {
4199
- const obj_status = obj.status;
4200
- const path_status = path + '.status';
4201
- let obj_status_union0 = null;
4202
- const obj_status_union0_error = (() => {
4203
- const referencepath_statusValidationError = validate$F(obj_status, path_status);
4204
- if (referencepath_statusValidationError !== null) {
4205
- let message = 'Object doesn\'t match ManagedContentVariantStatusRepresentation (at "' + path_status + '")\n';
4206
- message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
4515
+ let obj_resourceURL_union1 = null;
4516
+ const obj_resourceURL_union1_error = (() => {
4517
+ if (obj_resourceURL !== null) {
4518
+ return new TypeError('Expected "null" but received "' + typeof obj_resourceURL + '" (at "' + path_resourceURL + '")');
4519
+ }
4520
+ })();
4521
+ if (obj_resourceURL_union1_error != null) {
4522
+ obj_resourceURL_union1 = obj_resourceURL_union1_error.message;
4523
+ }
4524
+ if (obj_resourceURL_union0 && obj_resourceURL_union1) {
4525
+ let message = 'Object doesn\'t match union (at "' + path_resourceURL + '")';
4526
+ message += '\n' + obj_resourceURL_union0.split('\n').map((line) => '\t' + line).join('\n');
4527
+ message += '\n' + obj_resourceURL_union1.split('\n').map((line) => '\t' + line).join('\n');
4528
+ return new TypeError(message);
4529
+ }
4530
+ })();
4531
+ return v_error === undefined ? null : v_error;
4532
+ }
4533
+
4534
+ function validate$F(obj, path = 'ManagedContentCloneRepresentation') {
4535
+ const v_error = (() => {
4536
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4537
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
4538
+ }
4539
+ const obj_cloneStatus = obj.cloneStatus;
4540
+ const path_cloneStatus = path + '.cloneStatus';
4541
+ const referencepath_cloneStatusValidationError = validate$I(obj_cloneStatus, path_cloneStatus);
4542
+ if (referencepath_cloneStatusValidationError !== null) {
4543
+ let message = 'Object doesn\'t match ManagedContentCloneStatusRepresentation (at "' + path_cloneStatus + '")\n';
4544
+ message += referencepath_cloneStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
4545
+ return new TypeError(message);
4546
+ }
4547
+ if (obj.contentKey !== undefined) {
4548
+ const obj_contentKey = obj.contentKey;
4549
+ const path_contentKey = path + '.contentKey';
4550
+ let obj_contentKey_union0 = null;
4551
+ const obj_contentKey_union0_error = (() => {
4552
+ if (typeof obj_contentKey !== 'string') {
4553
+ return new TypeError('Expected "string" but received "' + typeof obj_contentKey + '" (at "' + path_contentKey + '")');
4554
+ }
4555
+ })();
4556
+ if (obj_contentKey_union0_error != null) {
4557
+ obj_contentKey_union0 = obj_contentKey_union0_error.message;
4558
+ }
4559
+ let obj_contentKey_union1 = null;
4560
+ const obj_contentKey_union1_error = (() => {
4561
+ if (obj_contentKey !== null) {
4562
+ return new TypeError('Expected "null" but received "' + typeof obj_contentKey + '" (at "' + path_contentKey + '")');
4563
+ }
4564
+ })();
4565
+ if (obj_contentKey_union1_error != null) {
4566
+ obj_contentKey_union1 = obj_contentKey_union1_error.message;
4567
+ }
4568
+ if (obj_contentKey_union0 && obj_contentKey_union1) {
4569
+ let message = 'Object doesn\'t match union (at "' + path_contentKey + '")';
4570
+ message += '\n' + obj_contentKey_union0.split('\n').map((line) => '\t' + line).join('\n');
4571
+ message += '\n' + obj_contentKey_union1.split('\n').map((line) => '\t' + line).join('\n');
4572
+ return new TypeError(message);
4573
+ }
4574
+ }
4575
+ if (obj.errorMessage !== undefined) {
4576
+ const obj_errorMessage = obj.errorMessage;
4577
+ const path_errorMessage = path + '.errorMessage';
4578
+ let obj_errorMessage_union0 = null;
4579
+ const obj_errorMessage_union0_error = (() => {
4580
+ if (typeof obj_errorMessage !== 'string') {
4581
+ return new TypeError('Expected "string" but received "' + typeof obj_errorMessage + '" (at "' + path_errorMessage + '")');
4582
+ }
4583
+ })();
4584
+ if (obj_errorMessage_union0_error != null) {
4585
+ obj_errorMessage_union0 = obj_errorMessage_union0_error.message;
4586
+ }
4587
+ let obj_errorMessage_union1 = null;
4588
+ const obj_errorMessage_union1_error = (() => {
4589
+ if (obj_errorMessage !== null) {
4590
+ return new TypeError('Expected "null" but received "' + typeof obj_errorMessage + '" (at "' + path_errorMessage + '")');
4591
+ }
4592
+ })();
4593
+ if (obj_errorMessage_union1_error != null) {
4594
+ obj_errorMessage_union1 = obj_errorMessage_union1_error.message;
4595
+ }
4596
+ if (obj_errorMessage_union0 && obj_errorMessage_union1) {
4597
+ let message = 'Object doesn\'t match union (at "' + path_errorMessage + '")';
4598
+ message += '\n' + obj_errorMessage_union0.split('\n').map((line) => '\t' + line).join('\n');
4599
+ message += '\n' + obj_errorMessage_union1.split('\n').map((line) => '\t' + line).join('\n');
4600
+ return new TypeError(message);
4601
+ }
4602
+ }
4603
+ if (obj.failedVariants !== undefined) {
4604
+ const obj_failedVariants = obj.failedVariants;
4605
+ const path_failedVariants = path + '.failedVariants';
4606
+ let obj_failedVariants_union0 = null;
4607
+ const obj_failedVariants_union0_error = (() => {
4608
+ const referencepath_failedVariantsValidationError = validate$H(obj_failedVariants, path_failedVariants);
4609
+ if (referencepath_failedVariantsValidationError !== null) {
4610
+ let message = 'Object doesn\'t match ManagedContentFailedVariantsRepresentation (at "' + path_failedVariants + '")\n';
4611
+ message += referencepath_failedVariantsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
4207
4612
  return new TypeError(message);
4208
4613
  }
4209
4614
  })();
4210
- if (obj_status_union0_error != null) {
4211
- obj_status_union0 = obj_status_union0_error.message;
4615
+ if (obj_failedVariants_union0_error != null) {
4616
+ obj_failedVariants_union0 = obj_failedVariants_union0_error.message;
4212
4617
  }
4213
- let obj_status_union1 = null;
4214
- const obj_status_union1_error = (() => {
4215
- if (obj_status !== null) {
4216
- return new TypeError('Expected "null" but received "' + typeof obj_status + '" (at "' + path_status + '")');
4618
+ let obj_failedVariants_union1 = null;
4619
+ const obj_failedVariants_union1_error = (() => {
4620
+ if (obj_failedVariants !== null) {
4621
+ return new TypeError('Expected "null" but received "' + typeof obj_failedVariants + '" (at "' + path_failedVariants + '")');
4217
4622
  }
4218
4623
  })();
4219
- if (obj_status_union1_error != null) {
4220
- obj_status_union1 = obj_status_union1_error.message;
4624
+ if (obj_failedVariants_union1_error != null) {
4625
+ obj_failedVariants_union1 = obj_failedVariants_union1_error.message;
4221
4626
  }
4222
- if (obj_status_union0 && obj_status_union1) {
4223
- let message = 'Object doesn\'t match union (at "' + path_status + '")';
4224
- message += '\n' + obj_status_union0.split('\n').map((line) => '\t' + line).join('\n');
4225
- message += '\n' + obj_status_union1.split('\n').map((line) => '\t' + line).join('\n');
4627
+ if (obj_failedVariants_union0 && obj_failedVariants_union1) {
4628
+ let message = 'Object doesn\'t match union (at "' + path_failedVariants + '")';
4629
+ message += '\n' + obj_failedVariants_union0.split('\n').map((line) => '\t' + line).join('\n');
4630
+ message += '\n' + obj_failedVariants_union1.split('\n').map((line) => '\t' + line).join('\n');
4226
4631
  return new TypeError(message);
4227
4632
  }
4228
4633
  }
4229
- const obj_title = obj.title;
4230
- const path_title = path + '.title';
4231
- if (typeof obj_title !== 'string') {
4232
- return new TypeError('Expected "string" but received "' + typeof obj_title + '" (at "' + path_title + '")');
4634
+ if (obj.managedContentId !== undefined) {
4635
+ const obj_managedContentId = obj.managedContentId;
4636
+ const path_managedContentId = path + '.managedContentId';
4637
+ let obj_managedContentId_union0 = null;
4638
+ const obj_managedContentId_union0_error = (() => {
4639
+ if (typeof obj_managedContentId !== 'string') {
4640
+ return new TypeError('Expected "string" but received "' + typeof obj_managedContentId + '" (at "' + path_managedContentId + '")');
4641
+ }
4642
+ })();
4643
+ if (obj_managedContentId_union0_error != null) {
4644
+ obj_managedContentId_union0 = obj_managedContentId_union0_error.message;
4645
+ }
4646
+ let obj_managedContentId_union1 = null;
4647
+ const obj_managedContentId_union1_error = (() => {
4648
+ if (obj_managedContentId !== null) {
4649
+ return new TypeError('Expected "null" but received "' + typeof obj_managedContentId + '" (at "' + path_managedContentId + '")');
4650
+ }
4651
+ })();
4652
+ if (obj_managedContentId_union1_error != null) {
4653
+ obj_managedContentId_union1 = obj_managedContentId_union1_error.message;
4654
+ }
4655
+ if (obj_managedContentId_union0 && obj_managedContentId_union1) {
4656
+ let message = 'Object doesn\'t match union (at "' + path_managedContentId + '")';
4657
+ message += '\n' + obj_managedContentId_union0.split('\n').map((line) => '\t' + line).join('\n');
4658
+ message += '\n' + obj_managedContentId_union1.split('\n').map((line) => '\t' + line).join('\n');
4659
+ return new TypeError(message);
4660
+ }
4233
4661
  }
4234
- const obj_urlName = obj.urlName;
4235
- const path_urlName = path + '.urlName';
4236
- if (typeof obj_urlName !== 'string') {
4237
- return new TypeError('Expected "string" but received "' + typeof obj_urlName + '" (at "' + path_urlName + '")');
4662
+ if (obj.resourceURL !== undefined) {
4663
+ const obj_resourceURL = obj.resourceURL;
4664
+ const path_resourceURL = path + '.resourceURL';
4665
+ let obj_resourceURL_union0 = null;
4666
+ const obj_resourceURL_union0_error = (() => {
4667
+ if (typeof obj_resourceURL !== 'string') {
4668
+ return new TypeError('Expected "string" but received "' + typeof obj_resourceURL + '" (at "' + path_resourceURL + '")');
4669
+ }
4670
+ })();
4671
+ if (obj_resourceURL_union0_error != null) {
4672
+ obj_resourceURL_union0 = obj_resourceURL_union0_error.message;
4673
+ }
4674
+ let obj_resourceURL_union1 = null;
4675
+ const obj_resourceURL_union1_error = (() => {
4676
+ if (obj_resourceURL !== null) {
4677
+ return new TypeError('Expected "null" but received "' + typeof obj_resourceURL + '" (at "' + path_resourceURL + '")');
4678
+ }
4679
+ })();
4680
+ if (obj_resourceURL_union1_error != null) {
4681
+ obj_resourceURL_union1 = obj_resourceURL_union1_error.message;
4682
+ }
4683
+ if (obj_resourceURL_union0 && obj_resourceURL_union1) {
4684
+ let message = 'Object doesn\'t match union (at "' + path_resourceURL + '")';
4685
+ message += '\n' + obj_resourceURL_union0.split('\n').map((line) => '\t' + line).join('\n');
4686
+ message += '\n' + obj_resourceURL_union1.split('\n').map((line) => '\t' + line).join('\n');
4687
+ return new TypeError(message);
4688
+ }
4238
4689
  }
4239
- const obj_version = obj.version;
4240
- const path_version = path + '.version';
4241
- if (typeof obj_version !== 'string') {
4242
- return new TypeError('Expected "string" but received "' + typeof obj_version + '" (at "' + path_version + '")');
4690
+ const obj_sourceContentKeyOrId = obj.sourceContentKeyOrId;
4691
+ const path_sourceContentKeyOrId = path + '.sourceContentKeyOrId';
4692
+ if (typeof obj_sourceContentKeyOrId !== 'string') {
4693
+ return new TypeError('Expected "string" but received "' + typeof obj_sourceContentKeyOrId + '" (at "' + path_sourceContentKeyOrId + '")');
4243
4694
  }
4244
- const obj_versionNumber = obj.versionNumber;
4245
- const path_versionNumber = path + '.versionNumber';
4246
- let obj_versionNumber_union0 = null;
4247
- const obj_versionNumber_union0_error = (() => {
4248
- if (typeof obj_versionNumber !== 'string') {
4249
- return new TypeError('Expected "string" but received "' + typeof obj_versionNumber + '" (at "' + path_versionNumber + '")');
4695
+ if (obj.title !== undefined) {
4696
+ const obj_title = obj.title;
4697
+ const path_title = path + '.title';
4698
+ let obj_title_union0 = null;
4699
+ const obj_title_union0_error = (() => {
4700
+ if (typeof obj_title !== 'string') {
4701
+ return new TypeError('Expected "string" but received "' + typeof obj_title + '" (at "' + path_title + '")');
4702
+ }
4703
+ })();
4704
+ if (obj_title_union0_error != null) {
4705
+ obj_title_union0 = obj_title_union0_error.message;
4706
+ }
4707
+ let obj_title_union1 = null;
4708
+ const obj_title_union1_error = (() => {
4709
+ if (obj_title !== null) {
4710
+ return new TypeError('Expected "null" but received "' + typeof obj_title + '" (at "' + path_title + '")');
4711
+ }
4712
+ })();
4713
+ if (obj_title_union1_error != null) {
4714
+ obj_title_union1 = obj_title_union1_error.message;
4715
+ }
4716
+ if (obj_title_union0 && obj_title_union1) {
4717
+ let message = 'Object doesn\'t match union (at "' + path_title + '")';
4718
+ message += '\n' + obj_title_union0.split('\n').map((line) => '\t' + line).join('\n');
4719
+ message += '\n' + obj_title_union1.split('\n').map((line) => '\t' + line).join('\n');
4720
+ return new TypeError(message);
4250
4721
  }
4251
- })();
4252
- if (obj_versionNumber_union0_error != null) {
4253
- obj_versionNumber_union0 = obj_versionNumber_union0_error.message;
4254
4722
  }
4255
- let obj_versionNumber_union1 = null;
4256
- const obj_versionNumber_union1_error = (() => {
4257
- if (obj_versionNumber !== null) {
4258
- return new TypeError('Expected "null" but received "' + typeof obj_versionNumber + '" (at "' + path_versionNumber + '")');
4723
+ if (obj.variants !== undefined) {
4724
+ const obj_variants = obj.variants;
4725
+ const path_variants = path + '.variants';
4726
+ if (!ArrayIsArray(obj_variants)) {
4727
+ return new TypeError('Expected "array" but received "' + typeof obj_variants + '" (at "' + path_variants + '")');
4728
+ }
4729
+ for (let i = 0; i < obj_variants.length; i++) {
4730
+ const obj_variants_item = obj_variants[i];
4731
+ const path_variants_item = path_variants + '[' + i + ']';
4732
+ const referencepath_variants_itemValidationError = validate$G(obj_variants_item, path_variants_item);
4733
+ if (referencepath_variants_itemValidationError !== null) {
4734
+ let message = 'Object doesn\'t match ManagedContentCloneVariantsRepresentation (at "' + path_variants_item + '")\n';
4735
+ message += referencepath_variants_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
4736
+ return new TypeError(message);
4737
+ }
4259
4738
  }
4260
- })();
4261
- if (obj_versionNumber_union1_error != null) {
4262
- obj_versionNumber_union1 = obj_versionNumber_union1_error.message;
4263
4739
  }
4264
- if (obj_versionNumber_union0 && obj_versionNumber_union1) {
4265
- let message = 'Object doesn\'t match union (at "' + path_versionNumber + '")';
4266
- message += '\n' + obj_versionNumber_union0.split('\n').map((line) => '\t' + line).join('\n');
4267
- message += '\n' + obj_versionNumber_union1.split('\n').map((line) => '\t' + line).join('\n');
4268
- return new TypeError(message);
4740
+ })();
4741
+ return v_error === undefined ? null : v_error;
4742
+ }
4743
+
4744
+ const TTL$i = 100;
4745
+ const VERSION$j = "cd2506a860c4f555d401c1c68ff97158";
4746
+ function validate$E(obj, path = 'ManagedContentCloneCollectionRepresentation') {
4747
+ const v_error = (() => {
4748
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4749
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
4750
+ }
4751
+ const obj_contents = obj.contents;
4752
+ const path_contents = path + '.contents';
4753
+ if (!ArrayIsArray(obj_contents)) {
4754
+ return new TypeError('Expected "array" but received "' + typeof obj_contents + '" (at "' + path_contents + '")');
4755
+ }
4756
+ for (let i = 0; i < obj_contents.length; i++) {
4757
+ const obj_contents_item = obj_contents[i];
4758
+ const path_contents_item = path_contents + '[' + i + ']';
4759
+ const referencepath_contents_itemValidationError = validate$F(obj_contents_item, path_contents_item);
4760
+ if (referencepath_contents_itemValidationError !== null) {
4761
+ let message = 'Object doesn\'t match ManagedContentCloneRepresentation (at "' + path_contents_item + '")\n';
4762
+ message += referencepath_contents_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
4763
+ return new TypeError(message);
4764
+ }
4765
+ }
4766
+ const obj_id = obj.id;
4767
+ const path_id = path + '.id';
4768
+ if (typeof obj_id !== 'string') {
4769
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
4269
4770
  }
4270
4771
  })();
4271
4772
  return v_error === undefined ? null : v_error;
4272
4773
  }
4273
- const RepresentationType$i = 'ManagedContentDocumentRepresentation';
4774
+ const RepresentationType$i = 'ManagedContentCloneCollectionRepresentation';
4274
4775
  function keyBuilder$D(luvio, config) {
4275
- return keyPrefix + '::' + RepresentationType$i + ':' + config.content_key + ':' + config.language + ':' + config.version;
4776
+ return keyPrefix + '::' + RepresentationType$i + ':' + config.id;
4276
4777
  }
4277
4778
  function keyBuilderFromType$8(luvio, object) {
4278
4779
  const keyParams = {
4279
- content_key: object.contentKey,
4280
- language: object.language,
4281
- version: object.version
4780
+ id: object.id
4282
4781
  };
4283
4782
  return keyBuilder$D(luvio, keyParams);
4284
4783
  }
4285
4784
  function normalize$i(input, existing, path, luvio, store, timestamp) {
4286
4785
  return input;
4287
4786
  }
4288
- const select$K = function ManagedContentDocumentRepresentationSelect() {
4787
+ const select$K = function ManagedContentCloneCollectionRepresentationSelect() {
4289
4788
  return {
4290
4789
  kind: 'Fragment',
4291
4790
  version: VERSION$j,
@@ -4299,7 +4798,7 @@ function equals$j(existing, incoming) {
4299
4798
  }
4300
4799
  return true;
4301
4800
  }
4302
- const ingest$i = function ManagedContentDocumentRepresentationIngest(input, path, luvio, store, timestamp) {
4801
+ const ingest$i = function ManagedContentCloneCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
4303
4802
  if (process.env.NODE_ENV !== 'production') {
4304
4803
  const validateError = validate$E(input);
4305
4804
  if (validateError !== null) {
@@ -4327,7 +4826,7 @@ function select$J(luvio, params) {
4327
4826
  function getResponseCacheKeys$r(storeKeyMap, luvio, resourceParams, response) {
4328
4827
  getTypeCacheKeys$i(storeKeyMap, luvio, response);
4329
4828
  }
4330
- function ingestSuccess$r(luvio, resourceParams, response) {
4829
+ function ingestSuccess$q(luvio, resourceParams, response) {
4331
4830
  const { body } = response;
4332
4831
  const key = keyBuilderFromType$8(luvio, body);
4333
4832
  luvio.storeIngest(key, ingest$i, body);
@@ -4348,7 +4847,7 @@ function createResourceRequest$r(config) {
4348
4847
  const headers = {};
4349
4848
  return {
4350
4849
  baseUri: '/services/data/v61.0',
4351
- basePath: '/connect/cms/contents',
4850
+ basePath: '/connect/cms/contents/clone',
4352
4851
  method: 'post',
4353
4852
  body: config.body,
4354
4853
  urlParams: {},
@@ -4358,25 +4857,28 @@ function createResourceRequest$r(config) {
4358
4857
  };
4359
4858
  }
4360
4859
 
4361
- function ingestSuccess$q(luvio, resourceParams, response) {
4362
- // Version can come either from versionNumber field in case of v2 content, or managedContentVersionId field in case of v1 content.
4363
- response.body.version = (response.body.versionNumber ||
4364
- response.body.managedContentVersionId);
4365
- return ingestSuccess$r(luvio, resourceParams, response);
4366
- }
4367
-
4368
- const adapterName$r = 'createManagedContent';
4369
- const createManagedContent_ConfigPropertyMetadata = [
4370
- generateParamConfigMetadata('ManagedContentInputParam', true, 2 /* Body */, 4 /* Unsupported */),
4860
+ const adapterName$r = 'cloneManagedContents';
4861
+ const cloneManagedContents_ConfigPropertyMetadata = [
4862
+ generateParamConfigMetadata('contents', true, 2 /* Body */, 4 /* Unsupported */, true),
4863
+ generateParamConfigMetadata('includeVariants', false, 2 /* Body */, 1 /* Boolean */),
4864
+ generateParamConfigMetadata('targetContentSpaceOrFolderId', false, 2 /* Body */, 0 /* String */),
4371
4865
  ];
4372
- const createManagedContent_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$r, createManagedContent_ConfigPropertyMetadata);
4373
- const createResourceParams$r = /*#__PURE__*/ createResourceParams$B(createManagedContent_ConfigPropertyMetadata);
4866
+ const cloneManagedContents_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$r, cloneManagedContents_ConfigPropertyMetadata);
4867
+ const createResourceParams$r = /*#__PURE__*/ createResourceParams$C(cloneManagedContents_ConfigPropertyMetadata);
4374
4868
  function typeCheckConfig$r(untrustedConfig) {
4375
4869
  const config = {};
4376
- const untrustedConfig_ManagedContentInputParam = untrustedConfig.ManagedContentInputParam;
4377
- const referenceManagedContentInputRepresentationValidationError = validate$I(untrustedConfig_ManagedContentInputParam);
4378
- if (referenceManagedContentInputRepresentationValidationError === null) {
4379
- config.ManagedContentInputParam = untrustedConfig_ManagedContentInputParam;
4870
+ typeCheckConfig$C(untrustedConfig, config, cloneManagedContents_ConfigPropertyMetadata);
4871
+ const untrustedConfig_contents = untrustedConfig.contents;
4872
+ if (ArrayIsArray$1(untrustedConfig_contents)) {
4873
+ const untrustedConfig_contents_array = [];
4874
+ for (let i = 0, arrayLength = untrustedConfig_contents.length; i < arrayLength; i++) {
4875
+ const untrustedConfig_contents_item = untrustedConfig_contents[i];
4876
+ const referenceManagedContentCloneItemRepresentationValidationError = validate$J(untrustedConfig_contents_item);
4877
+ if (referenceManagedContentCloneItemRepresentationValidationError === null) {
4878
+ untrustedConfig_contents_array.push(untrustedConfig_contents_item);
4879
+ }
4880
+ }
4881
+ config.contents = untrustedConfig_contents_array;
4380
4882
  }
4381
4883
  return config;
4382
4884
  }
@@ -4411,12 +4913,12 @@ function buildNetworkSnapshot$r(luvio, config, options) {
4411
4913
  throw response;
4412
4914
  });
4413
4915
  }
4414
- const createManagedContentAdapterFactory = (luvio) => {
4415
- return function createManagedContent(untrustedConfig) {
4416
- const config = validateAdapterConfig$r(untrustedConfig, createManagedContent_ConfigPropertyNames);
4916
+ const cloneManagedContentsAdapterFactory = (luvio) => {
4917
+ return function cloneManagedContents(untrustedConfig) {
4918
+ const config = validateAdapterConfig$r(untrustedConfig, cloneManagedContents_ConfigPropertyNames);
4417
4919
  // Invalid or incomplete config
4418
4920
  if (config === null) {
4419
- throw new Error('Invalid config for "createManagedContent"');
4921
+ throw new Error('Invalid config for "cloneManagedContents"');
4420
4922
  }
4421
4923
  return buildNetworkSnapshot$r(luvio, config);
4422
4924
  };
@@ -4631,7 +5133,7 @@ const publishManagedContent_ConfigPropertyMetadata = [
4631
5133
  generateParamConfigMetadata('publishInput', true, 2 /* Body */, 4 /* Unsupported */),
4632
5134
  ];
4633
5135
  const publishManagedContent_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$q, publishManagedContent_ConfigPropertyMetadata);
4634
- const createResourceParams$q = /*#__PURE__*/ createResourceParams$B(publishManagedContent_ConfigPropertyMetadata);
5136
+ const createResourceParams$q = /*#__PURE__*/ createResourceParams$C(publishManagedContent_ConfigPropertyMetadata);
4635
5137
  function typeCheckConfig$q(untrustedConfig) {
4636
5138
  const config = {};
4637
5139
  const untrustedConfig_publishInput = untrustedConfig.publishInput;
@@ -4885,7 +5387,7 @@ const unpublishManagedContent_ConfigPropertyMetadata = [
4885
5387
  generateParamConfigMetadata('unpublishInput', true, 2 /* Body */, 4 /* Unsupported */),
4886
5388
  ];
4887
5389
  const unpublishManagedContent_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$p, unpublishManagedContent_ConfigPropertyMetadata);
4888
- const createResourceParams$p = /*#__PURE__*/ createResourceParams$B(unpublishManagedContent_ConfigPropertyMetadata);
5390
+ const createResourceParams$p = /*#__PURE__*/ createResourceParams$C(unpublishManagedContent_ConfigPropertyMetadata);
4889
5391
  function typeCheckConfig$p(untrustedConfig) {
4890
5392
  const config = {};
4891
5393
  const untrustedConfig_unpublishInput = untrustedConfig.unpublishInput;
@@ -5012,7 +5514,7 @@ function validate$y(obj, path = 'ManagedContentVariantRepresentation') {
5012
5514
  }
5013
5515
  const obj_contentSpace = obj.contentSpace;
5014
5516
  const path_contentSpace = path + '.contentSpace';
5015
- const referencepath_contentSpaceValidationError = validate$H(obj_contentSpace, path_contentSpace);
5517
+ const referencepath_contentSpaceValidationError = validate$N(obj_contentSpace, path_contentSpace);
5016
5518
  if (referencepath_contentSpaceValidationError !== null) {
5017
5519
  let message = 'Object doesn\'t match ManagedContentSpaceSummaryRepresentation (at "' + path_contentSpace + '")\n';
5018
5520
  message += referencepath_contentSpaceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5020,7 +5522,7 @@ function validate$y(obj, path = 'ManagedContentVariantRepresentation') {
5020
5522
  }
5021
5523
  const obj_contentType = obj.contentType;
5022
5524
  const path_contentType = path + '.contentType';
5023
- const referencepath_contentTypeValidationError = validate$12(obj_contentType, path_contentType);
5525
+ const referencepath_contentTypeValidationError = validate$18(obj_contentType, path_contentType);
5024
5526
  if (referencepath_contentTypeValidationError !== null) {
5025
5527
  let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
5026
5528
  message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5028,7 +5530,7 @@ function validate$y(obj, path = 'ManagedContentVariantRepresentation') {
5028
5530
  }
5029
5531
  const obj_createdBy = obj.createdBy;
5030
5532
  const path_createdBy = path + '.createdBy';
5031
- const referencepath_createdByValidationError = validate$$(obj_createdBy, path_createdBy);
5533
+ const referencepath_createdByValidationError = validate$15(obj_createdBy, path_createdBy);
5032
5534
  if (referencepath_createdByValidationError !== null) {
5033
5535
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
5034
5536
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5041,7 +5543,7 @@ function validate$y(obj, path = 'ManagedContentVariantRepresentation') {
5041
5543
  }
5042
5544
  const obj_folder = obj.folder;
5043
5545
  const path_folder = path + '.folder';
5044
- const referencepath_folderValidationError = validate$G(obj_folder, path_folder);
5546
+ const referencepath_folderValidationError = validate$M(obj_folder, path_folder);
5045
5547
  if (referencepath_folderValidationError !== null) {
5046
5548
  let message = 'Object doesn\'t match ManagedContentFolderSummaryRepresentation (at "' + path_folder + '")\n';
5047
5549
  message += referencepath_folderValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5059,7 +5561,7 @@ function validate$y(obj, path = 'ManagedContentVariantRepresentation') {
5059
5561
  }
5060
5562
  const obj_lastModifiedBy = obj.lastModifiedBy;
5061
5563
  const path_lastModifiedBy = path + '.lastModifiedBy';
5062
- const referencepath_lastModifiedByValidationError = validate$$(obj_lastModifiedBy, path_lastModifiedBy);
5564
+ const referencepath_lastModifiedByValidationError = validate$15(obj_lastModifiedBy, path_lastModifiedBy);
5063
5565
  if (referencepath_lastModifiedByValidationError !== null) {
5064
5566
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
5065
5567
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5087,7 +5589,7 @@ function validate$y(obj, path = 'ManagedContentVariantRepresentation') {
5087
5589
  }
5088
5590
  const obj_status = obj.status;
5089
5591
  const path_status = path + '.status';
5090
- const referencepath_statusValidationError = validate$F(obj_status, path_status);
5592
+ const referencepath_statusValidationError = validate$L(obj_status, path_status);
5091
5593
  if (referencepath_statusValidationError !== null) {
5092
5594
  let message = 'Object doesn\'t match ManagedContentVariantStatusRepresentation (at "' + path_status + '")\n';
5093
5595
  message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5197,7 +5699,7 @@ const createManagedContentVariant_ConfigPropertyMetadata = [
5197
5699
  generateParamConfigMetadata('managedContentVariantInputParam', true, 2 /* Body */, 4 /* Unsupported */),
5198
5700
  ];
5199
5701
  const createManagedContentVariant_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$o, createManagedContentVariant_ConfigPropertyMetadata);
5200
- const createResourceParams$o = /*#__PURE__*/ createResourceParams$B(createManagedContentVariant_ConfigPropertyMetadata);
5702
+ const createResourceParams$o = /*#__PURE__*/ createResourceParams$C(createManagedContentVariant_ConfigPropertyMetadata);
5201
5703
  function typeCheckConfig$o(untrustedConfig) {
5202
5704
  const config = {};
5203
5705
  const untrustedConfig_managedContentVariantInputParam = untrustedConfig.managedContentVariantInputParam;
@@ -5285,10 +5787,10 @@ const deleteManagedContentVariant_ConfigPropertyMetadata = [
5285
5787
  generateParamConfigMetadata('variantId', true, 0 /* UrlParameter */, 0 /* String */),
5286
5788
  ];
5287
5789
  const deleteManagedContentVariant_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$n, deleteManagedContentVariant_ConfigPropertyMetadata);
5288
- const createResourceParams$n = /*#__PURE__*/ createResourceParams$B(deleteManagedContentVariant_ConfigPropertyMetadata);
5790
+ const createResourceParams$n = /*#__PURE__*/ createResourceParams$C(deleteManagedContentVariant_ConfigPropertyMetadata);
5289
5791
  function typeCheckConfig$n(untrustedConfig) {
5290
5792
  const config = {};
5291
- typeCheckConfig$B(untrustedConfig, config, deleteManagedContentVariant_ConfigPropertyMetadata);
5793
+ typeCheckConfig$C(untrustedConfig, config, deleteManagedContentVariant_ConfigPropertyMetadata);
5292
5794
  return config;
5293
5795
  }
5294
5796
  function validateAdapterConfig$n(untrustedConfig, configPropertyNames) {
@@ -5392,14 +5894,14 @@ const getManagedContentVariant_ConfigPropertyMetadata = [
5392
5894
  generateParamConfigMetadata('variantId', true, 0 /* UrlParameter */, 0 /* String */),
5393
5895
  ];
5394
5896
  const getManagedContentVariant_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$m, getManagedContentVariant_ConfigPropertyMetadata);
5395
- const createResourceParams$m = /*#__PURE__*/ createResourceParams$B(getManagedContentVariant_ConfigPropertyMetadata);
5897
+ const createResourceParams$m = /*#__PURE__*/ createResourceParams$C(getManagedContentVariant_ConfigPropertyMetadata);
5396
5898
  function keyBuilder$x(luvio, config) {
5397
5899
  const resourceParams = createResourceParams$m(config);
5398
5900
  return keyBuilder$y(luvio, resourceParams);
5399
5901
  }
5400
5902
  function typeCheckConfig$m(untrustedConfig) {
5401
5903
  const config = {};
5402
- typeCheckConfig$B(untrustedConfig, config, getManagedContentVariant_ConfigPropertyMetadata);
5904
+ typeCheckConfig$C(untrustedConfig, config, getManagedContentVariant_ConfigPropertyMetadata);
5403
5905
  return config;
5404
5906
  }
5405
5907
  function validateAdapterConfig$m(untrustedConfig, configPropertyNames) {
@@ -5553,10 +6055,10 @@ const replaceManagedContentVariant_ConfigPropertyMetadata = [
5553
6055
  generateParamConfigMetadata('ManagedContentVariantInputParam', true, 2 /* Body */, 4 /* Unsupported */),
5554
6056
  ];
5555
6057
  const replaceManagedContentVariant_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$l, replaceManagedContentVariant_ConfigPropertyMetadata);
5556
- const createResourceParams$l = /*#__PURE__*/ createResourceParams$B(replaceManagedContentVariant_ConfigPropertyMetadata);
6058
+ const createResourceParams$l = /*#__PURE__*/ createResourceParams$C(replaceManagedContentVariant_ConfigPropertyMetadata);
5557
6059
  function typeCheckConfig$l(untrustedConfig) {
5558
6060
  const config = {};
5559
- typeCheckConfig$B(untrustedConfig, config, replaceManagedContentVariant_ConfigPropertyMetadata);
6061
+ typeCheckConfig$C(untrustedConfig, config, replaceManagedContentVariant_ConfigPropertyMetadata);
5560
6062
  const untrustedConfig_ManagedContentVariantInputParam = untrustedConfig.ManagedContentVariantInputParam;
5561
6063
  const referenceManagedContentVariantUpdateInputRepresentationValidationError = validate$x(untrustedConfig_ManagedContentVariantInputParam);
5562
6064
  if (referenceManagedContentVariantUpdateInputRepresentationValidationError === null) {
@@ -5613,7 +6115,7 @@ function validate$w(obj, path = 'ManagedContentVariantVersionRepresentation') {
5613
6115
  }
5614
6116
  const obj_createdBy = obj.createdBy;
5615
6117
  const path_createdBy = path + '.createdBy';
5616
- const referencepath_createdByValidationError = validate$$(obj_createdBy, path_createdBy);
6118
+ const referencepath_createdByValidationError = validate$15(obj_createdBy, path_createdBy);
5617
6119
  if (referencepath_createdByValidationError !== null) {
5618
6120
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
5619
6121
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5626,7 +6128,7 @@ function validate$w(obj, path = 'ManagedContentVariantVersionRepresentation') {
5626
6128
  }
5627
6129
  const obj_lastModifiedBy = obj.lastModifiedBy;
5628
6130
  const path_lastModifiedBy = path + '.lastModifiedBy';
5629
- const referencepath_lastModifiedByValidationError = validate$$(obj_lastModifiedBy, path_lastModifiedBy);
6131
+ const referencepath_lastModifiedByValidationError = validate$15(obj_lastModifiedBy, path_lastModifiedBy);
5630
6132
  if (referencepath_lastModifiedByValidationError !== null) {
5631
6133
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
5632
6134
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5644,7 +6146,7 @@ function validate$w(obj, path = 'ManagedContentVariantVersionRepresentation') {
5644
6146
  }
5645
6147
  const obj_status = obj.status;
5646
6148
  const path_status = path + '.status';
5647
- const referencepath_statusValidationError = validate$F(obj_status, path_status);
6149
+ const referencepath_statusValidationError = validate$L(obj_status, path_status);
5648
6150
  if (referencepath_statusValidationError !== null) {
5649
6151
  let message = 'Object doesn\'t match ManagedContentVariantStatusRepresentation (at "' + path_status + '")\n';
5650
6152
  message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5817,14 +6319,14 @@ const getManagedContentVariantVersions_ConfigPropertyMetadata = [
5817
6319
  generateParamConfigMetadata('status', false, 1 /* QueryParameter */, 0 /* String */, true),
5818
6320
  ];
5819
6321
  const getManagedContentVariantVersions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$k, getManagedContentVariantVersions_ConfigPropertyMetadata);
5820
- const createResourceParams$k = /*#__PURE__*/ createResourceParams$B(getManagedContentVariantVersions_ConfigPropertyMetadata);
6322
+ const createResourceParams$k = /*#__PURE__*/ createResourceParams$C(getManagedContentVariantVersions_ConfigPropertyMetadata);
5821
6323
  function keyBuilder$u(luvio, config) {
5822
6324
  const resourceParams = createResourceParams$k(config);
5823
6325
  return keyBuilder$v(luvio, resourceParams);
5824
6326
  }
5825
6327
  function typeCheckConfig$k(untrustedConfig) {
5826
6328
  const config = {};
5827
- typeCheckConfig$B(untrustedConfig, config, getManagedContentVariantVersions_ConfigPropertyMetadata);
6329
+ typeCheckConfig$C(untrustedConfig, config, getManagedContentVariantVersions_ConfigPropertyMetadata);
5828
6330
  return config;
5829
6331
  }
5830
6332
  function validateAdapterConfig$k(untrustedConfig, configPropertyNames) {
@@ -6137,10 +6639,10 @@ const updateManagedContentWebUrl_ConfigPropertyMetadata = [
6137
6639
  generateParamConfigMetadata('urlAlias', false, 2 /* Body */, 0 /* String */),
6138
6640
  ];
6139
6641
  const updateManagedContentWebUrl_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$j, updateManagedContentWebUrl_ConfigPropertyMetadata);
6140
- const createResourceParams$j = /*#__PURE__*/ createResourceParams$B(updateManagedContentWebUrl_ConfigPropertyMetadata);
6642
+ const createResourceParams$j = /*#__PURE__*/ createResourceParams$C(updateManagedContentWebUrl_ConfigPropertyMetadata);
6141
6643
  function typeCheckConfig$j(untrustedConfig) {
6142
6644
  const config = {};
6143
- typeCheckConfig$B(untrustedConfig, config, updateManagedContentWebUrl_ConfigPropertyMetadata);
6645
+ typeCheckConfig$C(untrustedConfig, config, updateManagedContentWebUrl_ConfigPropertyMetadata);
6144
6646
  const untrustedConfig_redirectInfo = untrustedConfig.redirectInfo;
6145
6647
  const referenceManagedContentWebUrlRedirectInfoInputRepresentationValidationError = validate$u(untrustedConfig_redirectInfo);
6146
6648
  if (referenceManagedContentWebUrlRedirectInfoInputRepresentationValidationError === null) {
@@ -6191,22 +6693,22 @@ const updateManagedContentWebUrlAdapterFactory = (luvio) => {
6191
6693
  };
6192
6694
 
6193
6695
  function select$w(luvio, params) {
6194
- return select$K();
6696
+ return select$M();
6195
6697
  }
6196
6698
  function keyBuilder$s(luvio, params) {
6197
- return keyBuilder$D(luvio, {
6699
+ return keyBuilder$E(luvio, {
6198
6700
  content_key: params.urlParams.contentKeyOrId,
6199
6701
  language: params.queryParams.language || '',
6200
6702
  version: params.queryParams.version || ''
6201
6703
  });
6202
6704
  }
6203
6705
  function getResponseCacheKeys$i(storeKeyMap, luvio, resourceParams, response) {
6204
- getTypeCacheKeys$i(storeKeyMap, luvio, response);
6706
+ getTypeCacheKeys$j(storeKeyMap, luvio, response);
6205
6707
  }
6206
6708
  function ingestSuccess$i(luvio, resourceParams, response, snapshotRefresh) {
6207
6709
  const { body } = response;
6208
6710
  const key = keyBuilder$s(luvio, resourceParams);
6209
- luvio.storeIngest(key, ingest$i, body);
6711
+ luvio.storeIngest(key, ingest$j, body);
6210
6712
  const snapshot = luvio.storeLookup({
6211
6713
  recordId: key,
6212
6714
  node: select$w(),
@@ -6224,10 +6726,10 @@ function ingestError$c(luvio, params, error, snapshotRefresh) {
6224
6726
  const key = keyBuilder$s(luvio, params);
6225
6727
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
6226
6728
  const storeMetadataParams = {
6227
- ttl: TTL$i,
6729
+ ttl: TTL$j,
6228
6730
  namespace: keyPrefix,
6229
- version: VERSION$j,
6230
- representationName: RepresentationType$i
6731
+ version: VERSION$k,
6732
+ representationName: RepresentationType$j
6231
6733
  };
6232
6734
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
6233
6735
  return errorSnapshot;
@@ -6305,14 +6807,14 @@ const getManagedContent_ConfigPropertyMetadata = [
6305
6807
  generateParamConfigMetadata('version', false, 1 /* QueryParameter */, 0 /* String */),
6306
6808
  ];
6307
6809
  const getManagedContent_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$i, getManagedContent_ConfigPropertyMetadata);
6308
- const createResourceParams$i = /*#__PURE__*/ createResourceParams$B(getManagedContent_ConfigPropertyMetadata);
6810
+ const createResourceParams$i = /*#__PURE__*/ createResourceParams$C(getManagedContent_ConfigPropertyMetadata);
6309
6811
  function keyBuilder$r(luvio, config) {
6310
6812
  const resourceParams = createResourceParams$i(config);
6311
6813
  return keyBuilder$s(luvio, resourceParams);
6312
6814
  }
6313
6815
  function typeCheckConfig$i(untrustedConfig) {
6314
6816
  const config = {};
6315
- typeCheckConfig$B(untrustedConfig, config, getManagedContent_ConfigPropertyMetadata);
6817
+ typeCheckConfig$C(untrustedConfig, config, getManagedContent_ConfigPropertyMetadata);
6316
6818
  return config;
6317
6819
  }
6318
6820
  function validateAdapterConfig$i(untrustedConfig, configPropertyNames) {
@@ -6540,14 +7042,14 @@ const getManagedContentVariantRendition_ConfigPropertyMetadata = [
6540
7042
  generateParamConfigMetadata('version', false, 1 /* QueryParameter */, 0 /* String */),
6541
7043
  ];
6542
7044
  const getManagedContentVariantRendition_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$h, getManagedContentVariantRendition_ConfigPropertyMetadata);
6543
- const createResourceParams$h = /*#__PURE__*/ createResourceParams$B(getManagedContentVariantRendition_ConfigPropertyMetadata);
7045
+ const createResourceParams$h = /*#__PURE__*/ createResourceParams$C(getManagedContentVariantRendition_ConfigPropertyMetadata);
6544
7046
  function keyBuilder$p(luvio, config) {
6545
7047
  const resourceParams = createResourceParams$h(config);
6546
7048
  return keyBuilder$q(luvio, resourceParams);
6547
7049
  }
6548
7050
  function typeCheckConfig$h(untrustedConfig) {
6549
7051
  const config = {};
6550
- typeCheckConfig$B(untrustedConfig, config, getManagedContentVariantRendition_ConfigPropertyMetadata);
7052
+ typeCheckConfig$C(untrustedConfig, config, getManagedContentVariantRendition_ConfigPropertyMetadata);
6551
7053
  return config;
6552
7054
  }
6553
7055
  function validateAdapterConfig$h(untrustedConfig, configPropertyNames) {
@@ -6745,14 +7247,14 @@ const getWebUrls_ConfigPropertyMetadata = [
6745
7247
  generateParamConfigMetadata('pageSize', false, 1 /* QueryParameter */, 3 /* Integer */),
6746
7248
  ];
6747
7249
  const getWebUrls_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$g, getWebUrls_ConfigPropertyMetadata);
6748
- const createResourceParams$g = /*#__PURE__*/ createResourceParams$B(getWebUrls_ConfigPropertyMetadata);
7250
+ const createResourceParams$g = /*#__PURE__*/ createResourceParams$C(getWebUrls_ConfigPropertyMetadata);
6749
7251
  function keyBuilder$n(luvio, config) {
6750
7252
  const resourceParams = createResourceParams$g(config);
6751
7253
  return keyBuilder$o(luvio, resourceParams);
6752
7254
  }
6753
7255
  function typeCheckConfig$g(untrustedConfig) {
6754
7256
  const config = {};
6755
- typeCheckConfig$B(untrustedConfig, config, getWebUrls_ConfigPropertyMetadata);
7257
+ typeCheckConfig$C(untrustedConfig, config, getWebUrls_ConfigPropertyMetadata);
6756
7258
  return config;
6757
7259
  }
6758
7260
  function validateAdapterConfig$g(untrustedConfig, configPropertyNames) {
@@ -6834,7 +7336,7 @@ function validate$n(obj, path = 'AbstractManagedContentReferencedByItemRepresent
6834
7336
  if (obj.contentType !== undefined) {
6835
7337
  const obj_contentType = obj.contentType;
6836
7338
  const path_contentType = path + '.contentType';
6837
- const referencepath_contentTypeValidationError = validate$12(obj_contentType, path_contentType);
7339
+ const referencepath_contentTypeValidationError = validate$18(obj_contentType, path_contentType);
6838
7340
  if (referencepath_contentTypeValidationError !== null) {
6839
7341
  let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
6840
7342
  message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -7055,14 +7557,14 @@ const getManagedContentReferencedBy_ConfigPropertyMetadata = [
7055
7557
  generateParamConfigMetadata('referenceType', false, 1 /* QueryParameter */, 0 /* String */),
7056
7558
  ];
7057
7559
  const getManagedContentReferencedBy_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, getManagedContentReferencedBy_ConfigPropertyMetadata);
7058
- const createResourceParams$f = /*#__PURE__*/ createResourceParams$B(getManagedContentReferencedBy_ConfigPropertyMetadata);
7560
+ const createResourceParams$f = /*#__PURE__*/ createResourceParams$C(getManagedContentReferencedBy_ConfigPropertyMetadata);
7059
7561
  function keyBuilder$l(luvio, config) {
7060
7562
  const resourceParams = createResourceParams$f(config);
7061
7563
  return keyBuilder$m(luvio, resourceParams);
7062
7564
  }
7063
7565
  function typeCheckConfig$f(untrustedConfig) {
7064
7566
  const config = {};
7065
- typeCheckConfig$B(untrustedConfig, config, getManagedContentReferencedBy_ConfigPropertyMetadata);
7567
+ typeCheckConfig$C(untrustedConfig, config, getManagedContentReferencedBy_ConfigPropertyMetadata);
7066
7568
  return config;
7067
7569
  }
7068
7570
  function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
@@ -7167,7 +7669,7 @@ function validate$k(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
7167
7669
  }
7168
7670
  const obj_contentType = obj.contentType;
7169
7671
  const path_contentType = path + '.contentType';
7170
- const referencepath_contentTypeValidationError = validate$12(obj_contentType, path_contentType);
7672
+ const referencepath_contentTypeValidationError = validate$18(obj_contentType, path_contentType);
7171
7673
  if (referencepath_contentTypeValidationError !== null) {
7172
7674
  let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
7173
7675
  message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -7175,7 +7677,7 @@ function validate$k(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
7175
7677
  }
7176
7678
  const obj_createdBy = obj.createdBy;
7177
7679
  const path_createdBy = path + '.createdBy';
7178
- const referencepath_createdByValidationError = validate$$(obj_createdBy, path_createdBy);
7680
+ const referencepath_createdByValidationError = validate$15(obj_createdBy, path_createdBy);
7179
7681
  if (referencepath_createdByValidationError !== null) {
7180
7682
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
7181
7683
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -7201,7 +7703,7 @@ function validate$k(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
7201
7703
  }
7202
7704
  const obj_lastModifiedBy = obj.lastModifiedBy;
7203
7705
  const path_lastModifiedBy = path + '.lastModifiedBy';
7204
- const referencepath_lastModifiedByValidationError = validate$$(obj_lastModifiedBy, path_lastModifiedBy);
7706
+ const referencepath_lastModifiedByValidationError = validate$15(obj_lastModifiedBy, path_lastModifiedBy);
7205
7707
  if (referencepath_lastModifiedByValidationError !== null) {
7206
7708
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
7207
7709
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -7224,7 +7726,7 @@ function validate$k(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
7224
7726
  }
7225
7727
  const obj_status = obj.status;
7226
7728
  const path_status = path + '.status';
7227
- const referencepath_statusValidationError = validate$F(obj_status, path_status);
7729
+ const referencepath_statusValidationError = validate$L(obj_status, path_status);
7228
7730
  if (referencepath_statusValidationError !== null) {
7229
7731
  let message = 'Object doesn\'t match ManagedContentVariantStatusRepresentation (at "' + path_status + '")\n';
7230
7732
  message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -7371,14 +7873,14 @@ const getManagedContentVariantReferences_ConfigPropertyMetadata = [
7371
7873
  generateParamConfigMetadata('variantIds', false, 1 /* QueryParameter */, 0 /* String */, true),
7372
7874
  ];
7373
7875
  const getManagedContentVariantReferences_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$e, getManagedContentVariantReferences_ConfigPropertyMetadata);
7374
- const createResourceParams$e = /*#__PURE__*/ createResourceParams$B(getManagedContentVariantReferences_ConfigPropertyMetadata);
7876
+ const createResourceParams$e = /*#__PURE__*/ createResourceParams$C(getManagedContentVariantReferences_ConfigPropertyMetadata);
7375
7877
  function keyBuilder$j(luvio, config) {
7376
7878
  const resourceParams = createResourceParams$e(config);
7377
7879
  return keyBuilder$k(luvio, resourceParams);
7378
7880
  }
7379
7881
  function typeCheckConfig$e(untrustedConfig) {
7380
7882
  const config = {};
7381
- typeCheckConfig$B(untrustedConfig, config, getManagedContentVariantReferences_ConfigPropertyMetadata);
7883
+ typeCheckConfig$C(untrustedConfig, config, getManagedContentVariantReferences_ConfigPropertyMetadata);
7382
7884
  return config;
7383
7885
  }
7384
7886
  function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
@@ -7603,14 +8105,14 @@ const getManagedContentSpaceFolder_ConfigPropertyMetadata = [
7603
8105
  generateParamConfigMetadata('folderId', true, 0 /* UrlParameter */, 0 /* String */),
7604
8106
  ];
7605
8107
  const getManagedContentSpaceFolder_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, getManagedContentSpaceFolder_ConfigPropertyMetadata);
7606
- const createResourceParams$d = /*#__PURE__*/ createResourceParams$B(getManagedContentSpaceFolder_ConfigPropertyMetadata);
8108
+ const createResourceParams$d = /*#__PURE__*/ createResourceParams$C(getManagedContentSpaceFolder_ConfigPropertyMetadata);
7607
8109
  function keyBuilder$h(luvio, config) {
7608
8110
  const resourceParams = createResourceParams$d(config);
7609
8111
  return keyBuilder$i(luvio, resourceParams);
7610
8112
  }
7611
8113
  function typeCheckConfig$d(untrustedConfig) {
7612
8114
  const config = {};
7613
- typeCheckConfig$B(untrustedConfig, config, getManagedContentSpaceFolder_ConfigPropertyMetadata);
8115
+ typeCheckConfig$C(untrustedConfig, config, getManagedContentSpaceFolder_ConfigPropertyMetadata);
7614
8116
  return config;
7615
8117
  }
7616
8118
  function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
@@ -7699,7 +8201,7 @@ function validate$g(obj, path = 'ManagedContentSpaceFolderItemRepresentation') {
7699
8201
  if (obj.contentType !== undefined) {
7700
8202
  const obj_contentType = obj.contentType;
7701
8203
  const path_contentType = path + '.contentType';
7702
- const referencepath_contentTypeValidationError = validate$12(obj_contentType, path_contentType);
8204
+ const referencepath_contentTypeValidationError = validate$18(obj_contentType, path_contentType);
7703
8205
  if (referencepath_contentTypeValidationError !== null) {
7704
8206
  let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
7705
8207
  message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -7953,14 +8455,14 @@ const getManagedContentByFolderId_ConfigPropertyMetadata = [
7953
8455
  generateParamConfigMetadata('showPublishedOnly', false, 1 /* QueryParameter */, 1 /* Boolean */),
7954
8456
  ];
7955
8457
  const getManagedContentByFolderId_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, getManagedContentByFolderId_ConfigPropertyMetadata);
7956
- const createResourceParams$c = /*#__PURE__*/ createResourceParams$B(getManagedContentByFolderId_ConfigPropertyMetadata);
8458
+ const createResourceParams$c = /*#__PURE__*/ createResourceParams$C(getManagedContentByFolderId_ConfigPropertyMetadata);
7957
8459
  function keyBuilder$f(luvio, config) {
7958
8460
  const resourceParams = createResourceParams$c(config);
7959
8461
  return keyBuilder$g(luvio, resourceParams);
7960
8462
  }
7961
8463
  function typeCheckConfig$c(untrustedConfig) {
7962
8464
  const config = {};
7963
- typeCheckConfig$B(untrustedConfig, config, getManagedContentByFolderId_ConfigPropertyMetadata);
8465
+ typeCheckConfig$C(untrustedConfig, config, getManagedContentByFolderId_ConfigPropertyMetadata);
7964
8466
  return config;
7965
8467
  }
7966
8468
  function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
@@ -8041,7 +8543,7 @@ function validate$e(obj, path = 'AbstractManagedContentSearchResultRepresentatio
8041
8543
  }
8042
8544
  const obj_createdBy = obj.createdBy;
8043
8545
  const path_createdBy = path + '.createdBy';
8044
- const referencepath_createdByValidationError = validate$$(obj_createdBy, path_createdBy);
8546
+ const referencepath_createdByValidationError = validate$15(obj_createdBy, path_createdBy);
8045
8547
  if (referencepath_createdByValidationError !== null) {
8046
8548
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
8047
8549
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -8054,7 +8556,7 @@ function validate$e(obj, path = 'AbstractManagedContentSearchResultRepresentatio
8054
8556
  }
8055
8557
  const obj_folder = obj.folder;
8056
8558
  const path_folder = path + '.folder';
8057
- const referencepath_folderValidationError = validate$G(obj_folder, path_folder);
8559
+ const referencepath_folderValidationError = validate$M(obj_folder, path_folder);
8058
8560
  if (referencepath_folderValidationError !== null) {
8059
8561
  let message = 'Object doesn\'t match ManagedContentFolderSummaryRepresentation (at "' + path_folder + '")\n';
8060
8562
  message += referencepath_folderValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -8067,7 +8569,7 @@ function validate$e(obj, path = 'AbstractManagedContentSearchResultRepresentatio
8067
8569
  }
8068
8570
  const obj_lastModifiedBy = obj.lastModifiedBy;
8069
8571
  const path_lastModifiedBy = path + '.lastModifiedBy';
8070
- const referencepath_lastModifiedByValidationError = validate$$(obj_lastModifiedBy, path_lastModifiedBy);
8572
+ const referencepath_lastModifiedByValidationError = validate$15(obj_lastModifiedBy, path_lastModifiedBy);
8071
8573
  if (referencepath_lastModifiedByValidationError !== null) {
8072
8574
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
8073
8575
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -8235,14 +8737,14 @@ const getSearchResults_ConfigPropertyMetadata = [
8235
8737
  generateParamConfigMetadata('scope', false, 1 /* QueryParameter */, 0 /* String */),
8236
8738
  ];
8237
8739
  const getSearchResults_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, getSearchResults_ConfigPropertyMetadata);
8238
- const createResourceParams$b = /*#__PURE__*/ createResourceParams$B(getSearchResults_ConfigPropertyMetadata);
8740
+ const createResourceParams$b = /*#__PURE__*/ createResourceParams$C(getSearchResults_ConfigPropertyMetadata);
8239
8741
  function keyBuilder$d(luvio, config) {
8240
8742
  const resourceParams = createResourceParams$b(config);
8241
8743
  return keyBuilder$e(luvio, resourceParams);
8242
8744
  }
8243
8745
  function typeCheckConfig$b(untrustedConfig) {
8244
8746
  const config = {};
8245
- typeCheckConfig$B(untrustedConfig, config, getSearchResults_ConfigPropertyMetadata);
8747
+ typeCheckConfig$C(untrustedConfig, config, getSearchResults_ConfigPropertyMetadata);
8246
8748
  return config;
8247
8749
  }
8248
8750
  function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
@@ -8317,15 +8819,15 @@ const getSearchResultsAdapterFactory = (luvio) => function CMSAuthoring__getSear
8317
8819
  };
8318
8820
 
8319
8821
  function select$h(luvio, params) {
8320
- return select$13();
8822
+ return select$15();
8321
8823
  }
8322
8824
  function getResponseCacheKeys$a(storeKeyMap, luvio, resourceParams, response) {
8323
- getTypeCacheKeys$s(storeKeyMap, luvio, response);
8825
+ getTypeCacheKeys$t(storeKeyMap, luvio, response);
8324
8826
  }
8325
8827
  function ingestSuccess$a(luvio, resourceParams, response) {
8326
8828
  const { body } = response;
8327
- const key = keyBuilderFromType$d(luvio, body);
8328
- luvio.storeIngest(key, ingest$s, body);
8829
+ const key = keyBuilderFromType$e(luvio, body);
8830
+ luvio.storeIngest(key, ingest$t, body);
8329
8831
  const snapshot = luvio.storeLookup({
8330
8832
  recordId: key,
8331
8833
  node: select$h(),
@@ -8366,10 +8868,10 @@ const createSchedule_ConfigPropertyMetadata = [
8366
8868
  generateParamConfigMetadata('versionIds', false, 2 /* Body */, 0 /* String */, true),
8367
8869
  ];
8368
8870
  const createSchedule_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, createSchedule_ConfigPropertyMetadata);
8369
- const createResourceParams$a = /*#__PURE__*/ createResourceParams$B(createSchedule_ConfigPropertyMetadata);
8871
+ const createResourceParams$a = /*#__PURE__*/ createResourceParams$C(createSchedule_ConfigPropertyMetadata);
8370
8872
  function typeCheckConfig$a(untrustedConfig) {
8371
8873
  const config = {};
8372
- typeCheckConfig$B(untrustedConfig, config, createSchedule_ConfigPropertyMetadata);
8874
+ typeCheckConfig$C(untrustedConfig, config, createSchedule_ConfigPropertyMetadata);
8373
8875
  return config;
8374
8876
  }
8375
8877
  function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
@@ -8415,15 +8917,15 @@ const createScheduleAdapterFactory = (luvio) => {
8415
8917
  };
8416
8918
 
8417
8919
  function select$g(luvio, params) {
8418
- return select$13();
8920
+ return select$15();
8419
8921
  }
8420
8922
  function getResponseCacheKeys$9(storeKeyMap, luvio, resourceParams, response) {
8421
- getTypeCacheKeys$s(storeKeyMap, luvio, response);
8923
+ getTypeCacheKeys$t(storeKeyMap, luvio, response);
8422
8924
  }
8423
8925
  function ingestSuccess$9(luvio, resourceParams, response) {
8424
8926
  const { body } = response;
8425
- const key = keyBuilderFromType$d(luvio, body);
8426
- luvio.storeIngest(key, ingest$s, body);
8927
+ const key = keyBuilderFromType$e(luvio, body);
8928
+ luvio.storeIngest(key, ingest$t, body);
8427
8929
  const snapshot = luvio.storeLookup({
8428
8930
  recordId: key,
8429
8931
  node: select$g(),
@@ -8458,10 +8960,10 @@ const updateDeployment_ConfigPropertyMetadata = [
8458
8960
  generateParamConfigMetadata('scheduleDate', false, 1 /* QueryParameter */, 0 /* String */),
8459
8961
  ];
8460
8962
  const updateDeployment_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, updateDeployment_ConfigPropertyMetadata);
8461
- const createResourceParams$9 = /*#__PURE__*/ createResourceParams$B(updateDeployment_ConfigPropertyMetadata);
8963
+ const createResourceParams$9 = /*#__PURE__*/ createResourceParams$C(updateDeployment_ConfigPropertyMetadata);
8462
8964
  function typeCheckConfig$9(untrustedConfig) {
8463
8965
  const config = {};
8464
- typeCheckConfig$B(untrustedConfig, config, updateDeployment_ConfigPropertyMetadata);
8966
+ typeCheckConfig$C(untrustedConfig, config, updateDeployment_ConfigPropertyMetadata);
8465
8967
  return config;
8466
8968
  }
8467
8969
  function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
@@ -8868,14 +9370,14 @@ const getManagedContentSpaces_ConfigPropertyMetadata = [
8868
9370
  generateParamConfigMetadata('nameFragment', false, 1 /* QueryParameter */, 0 /* String */),
8869
9371
  ];
8870
9372
  const getManagedContentSpaces_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, getManagedContentSpaces_ConfigPropertyMetadata);
8871
- const createResourceParams$8 = /*#__PURE__*/ createResourceParams$B(getManagedContentSpaces_ConfigPropertyMetadata);
9373
+ const createResourceParams$8 = /*#__PURE__*/ createResourceParams$C(getManagedContentSpaces_ConfigPropertyMetadata);
8872
9374
  function keyBuilder$a(luvio, config) {
8873
9375
  const resourceParams = createResourceParams$8(config);
8874
9376
  return keyBuilder$b(luvio, resourceParams);
8875
9377
  }
8876
9378
  function typeCheckConfig$8(untrustedConfig) {
8877
9379
  const config = {};
8878
- typeCheckConfig$B(untrustedConfig, config, getManagedContentSpaces_ConfigPropertyMetadata);
9380
+ typeCheckConfig$C(untrustedConfig, config, getManagedContentSpaces_ConfigPropertyMetadata);
8879
9381
  return config;
8880
9382
  }
8881
9383
  function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
@@ -9008,14 +9510,14 @@ const getManagedContentSpace_ConfigPropertyMetadata = [
9008
9510
  generateParamConfigMetadata('contentSpaceId', true, 0 /* UrlParameter */, 0 /* String */),
9009
9511
  ];
9010
9512
  const getManagedContentSpace_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, getManagedContentSpace_ConfigPropertyMetadata);
9011
- const createResourceParams$7 = /*#__PURE__*/ createResourceParams$B(getManagedContentSpace_ConfigPropertyMetadata);
9513
+ const createResourceParams$7 = /*#__PURE__*/ createResourceParams$C(getManagedContentSpace_ConfigPropertyMetadata);
9012
9514
  function keyBuilder$8(luvio, config) {
9013
9515
  const resourceParams = createResourceParams$7(config);
9014
9516
  return keyBuilder$9(luvio, resourceParams);
9015
9517
  }
9016
9518
  function typeCheckConfig$7(untrustedConfig) {
9017
9519
  const config = {};
9018
- typeCheckConfig$B(untrustedConfig, config, getManagedContentSpace_ConfigPropertyMetadata);
9520
+ typeCheckConfig$C(untrustedConfig, config, getManagedContentSpace_ConfigPropertyMetadata);
9019
9521
  return config;
9020
9522
  }
9021
9523
  function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
@@ -9225,10 +9727,10 @@ const patchManagedContentSpace_ConfigPropertyMetadata = [
9225
9727
  generateParamConfigMetadata('ManagedContentSpaceInput', true, 2 /* Body */, 4 /* Unsupported */),
9226
9728
  ];
9227
9729
  const patchManagedContentSpace_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, patchManagedContentSpace_ConfigPropertyMetadata);
9228
- const createResourceParams$6 = /*#__PURE__*/ createResourceParams$B(patchManagedContentSpace_ConfigPropertyMetadata);
9730
+ const createResourceParams$6 = /*#__PURE__*/ createResourceParams$C(patchManagedContentSpace_ConfigPropertyMetadata);
9229
9731
  function typeCheckConfig$6(untrustedConfig) {
9230
9732
  const config = {};
9231
- typeCheckConfig$B(untrustedConfig, config, patchManagedContentSpace_ConfigPropertyMetadata);
9733
+ typeCheckConfig$C(untrustedConfig, config, patchManagedContentSpace_ConfigPropertyMetadata);
9232
9734
  const untrustedConfig_ManagedContentSpaceInput = untrustedConfig.ManagedContentSpaceInput;
9233
9735
  const referenceManagedContentSpaceInputRepresentationValidationError = validate$9(untrustedConfig_ManagedContentSpaceInput);
9234
9736
  if (referenceManagedContentSpaceInputRepresentationValidationError === null) {
@@ -9452,14 +9954,14 @@ const getManagedContentSpaceOrchestratorConfig_ConfigPropertyMetadata = [
9452
9954
  generateParamConfigMetadata('contentSpaceId', true, 0 /* UrlParameter */, 0 /* String */),
9453
9955
  ];
9454
9956
  const getManagedContentSpaceOrchestratorConfig_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, getManagedContentSpaceOrchestratorConfig_ConfigPropertyMetadata);
9455
- const createResourceParams$5 = /*#__PURE__*/ createResourceParams$B(getManagedContentSpaceOrchestratorConfig_ConfigPropertyMetadata);
9957
+ const createResourceParams$5 = /*#__PURE__*/ createResourceParams$C(getManagedContentSpaceOrchestratorConfig_ConfigPropertyMetadata);
9456
9958
  function keyBuilder$5(luvio, config) {
9457
9959
  const resourceParams = createResourceParams$5(config);
9458
9960
  return keyBuilder$6(luvio, resourceParams);
9459
9961
  }
9460
9962
  function typeCheckConfig$5(untrustedConfig) {
9461
9963
  const config = {};
9462
- typeCheckConfig$B(untrustedConfig, config, getManagedContentSpaceOrchestratorConfig_ConfigPropertyMetadata);
9964
+ typeCheckConfig$C(untrustedConfig, config, getManagedContentSpaceOrchestratorConfig_ConfigPropertyMetadata);
9463
9965
  return config;
9464
9966
  }
9465
9967
  function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
@@ -9597,10 +10099,10 @@ const putManagedContentSpaceOrchestratorConfig_ConfigPropertyMetadata = [
9597
10099
  generateParamConfigMetadata('mContentOrchConfigInput', true, 2 /* Body */, 4 /* Unsupported */),
9598
10100
  ];
9599
10101
  const putManagedContentSpaceOrchestratorConfig_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, putManagedContentSpaceOrchestratorConfig_ConfigPropertyMetadata);
9600
- const createResourceParams$4 = /*#__PURE__*/ createResourceParams$B(putManagedContentSpaceOrchestratorConfig_ConfigPropertyMetadata);
10102
+ const createResourceParams$4 = /*#__PURE__*/ createResourceParams$C(putManagedContentSpaceOrchestratorConfig_ConfigPropertyMetadata);
9601
10103
  function typeCheckConfig$4(untrustedConfig) {
9602
10104
  const config = {};
9603
- typeCheckConfig$B(untrustedConfig, config, putManagedContentSpaceOrchestratorConfig_ConfigPropertyMetadata);
10105
+ typeCheckConfig$C(untrustedConfig, config, putManagedContentSpaceOrchestratorConfig_ConfigPropertyMetadata);
9604
10106
  const untrustedConfig_mContentOrchConfigInput = untrustedConfig.mContentOrchConfigInput;
9605
10107
  const referenceManagedContentOrchestratorConfigInputRepresentationValidationError = validate$6(untrustedConfig_mContentOrchConfigInput);
9606
10108
  if (referenceManagedContentOrchestratorConfigInputRepresentationValidationError === null) {
@@ -9665,7 +10167,7 @@ function validate$5(obj, path = 'ManagedContentTypeSummaryCollectionRepresentati
9665
10167
  for (let i = 0; i < obj_contentTypes.length; i++) {
9666
10168
  const obj_contentTypes_item = obj_contentTypes[i];
9667
10169
  const path_contentTypes_item = path_contentTypes + '[' + i + ']';
9668
- const referencepath_contentTypes_itemValidationError = validate$12(obj_contentTypes_item, path_contentTypes_item);
10170
+ const referencepath_contentTypes_itemValidationError = validate$18(obj_contentTypes_item, path_contentTypes_item);
9669
10171
  if (referencepath_contentTypes_itemValidationError !== null) {
9670
10172
  let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentTypes_item + '")\n';
9671
10173
  message += referencepath_contentTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -9685,7 +10187,7 @@ function normalize$2(input, existing, path, luvio, store, timestamp) {
9685
10187
  return input;
9686
10188
  }
9687
10189
  const select$7 = function ManagedContentTypeSummaryCollectionRepresentationSelect() {
9688
- const { selections: ManagedContentTypeSummaryRepresentation__selections, opaque: ManagedContentTypeSummaryRepresentation__opaque, } = select$17();
10190
+ const { selections: ManagedContentTypeSummaryRepresentation__selections, opaque: ManagedContentTypeSummaryRepresentation__opaque, } = select$19();
9689
10191
  return {
9690
10192
  kind: 'Fragment',
9691
10193
  version: VERSION$3,
@@ -9713,7 +10215,7 @@ function equals$3(existing, incoming) {
9713
10215
  const existing_contentTypes = existing.contentTypes;
9714
10216
  const incoming_contentTypes = incoming.contentTypes;
9715
10217
  const equals_contentTypes_items = equalsArray(existing_contentTypes, incoming_contentTypes, (existing_contentTypes_item, incoming_contentTypes_item) => {
9716
- if (!(equals$z(existing_contentTypes_item, incoming_contentTypes_item))) {
10218
+ if (!(equals$A(existing_contentTypes_item, incoming_contentTypes_item))) {
9717
10219
  return false;
9718
10220
  }
9719
10221
  });
@@ -9802,14 +10304,14 @@ const getManagedContentTypesForMixin_ConfigPropertyMetadata = [
9802
10304
  generateParamConfigMetadata('mixinFQN', false, 1 /* QueryParameter */, 0 /* String */),
9803
10305
  ];
9804
10306
  const getManagedContentTypesForMixin_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getManagedContentTypesForMixin_ConfigPropertyMetadata);
9805
- const createResourceParams$3 = /*#__PURE__*/ createResourceParams$B(getManagedContentTypesForMixin_ConfigPropertyMetadata);
10307
+ const createResourceParams$3 = /*#__PURE__*/ createResourceParams$C(getManagedContentTypesForMixin_ConfigPropertyMetadata);
9806
10308
  function keyBuilder$3(luvio, config) {
9807
10309
  const resourceParams = createResourceParams$3(config);
9808
10310
  return keyBuilder$4(luvio, resourceParams);
9809
10311
  }
9810
10312
  function typeCheckConfig$3(untrustedConfig) {
9811
10313
  const config = {};
9812
- typeCheckConfig$B(untrustedConfig, config, getManagedContentTypesForMixin_ConfigPropertyMetadata);
10314
+ typeCheckConfig$C(untrustedConfig, config, getManagedContentTypesForMixin_ConfigPropertyMetadata);
9813
10315
  return config;
9814
10316
  }
9815
10317
  function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
@@ -10182,10 +10684,10 @@ const createManagedContentExportV2Job_ConfigPropertyMetadata = [
10182
10684
  generateParamConfigMetadata('managedContentV2JobRequest', true, 2 /* Body */, 4 /* Unsupported */),
10183
10685
  ];
10184
10686
  const createManagedContentExportV2Job_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, createManagedContentExportV2Job_ConfigPropertyMetadata);
10185
- const createResourceParams$2 = /*#__PURE__*/ createResourceParams$B(createManagedContentExportV2Job_ConfigPropertyMetadata);
10687
+ const createResourceParams$2 = /*#__PURE__*/ createResourceParams$C(createManagedContentExportV2Job_ConfigPropertyMetadata);
10186
10688
  function typeCheckConfig$2(untrustedConfig) {
10187
10689
  const config = {};
10188
- typeCheckConfig$B(untrustedConfig, config, createManagedContentExportV2Job_ConfigPropertyMetadata);
10690
+ typeCheckConfig$C(untrustedConfig, config, createManagedContentExportV2Job_ConfigPropertyMetadata);
10189
10691
  const untrustedConfig_managedContentV2JobRequest = untrustedConfig.managedContentV2JobRequest;
10190
10692
  const referenceManagedContentExportContentV2JobRequestInputRepresentationValidationError = validate$4(untrustedConfig_managedContentV2JobRequest);
10191
10693
  if (referenceManagedContentExportContentV2JobRequestInputRepresentationValidationError === null) {
@@ -10302,10 +10804,10 @@ const createManagedContentImportV2Job_ConfigPropertyMetadata = [
10302
10804
  generateParamConfigMetadata('managedContentV2JobRequest', true, 2 /* Body */, 4 /* Unsupported */),
10303
10805
  ];
10304
10806
  const createManagedContentImportV2Job_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, createManagedContentImportV2Job_ConfigPropertyMetadata);
10305
- const createResourceParams$1 = /*#__PURE__*/ createResourceParams$B(createManagedContentImportV2Job_ConfigPropertyMetadata);
10807
+ const createResourceParams$1 = /*#__PURE__*/ createResourceParams$C(createManagedContentImportV2Job_ConfigPropertyMetadata);
10306
10808
  function typeCheckConfig$1(untrustedConfig) {
10307
10809
  const config = {};
10308
- typeCheckConfig$B(untrustedConfig, config, createManagedContentImportV2Job_ConfigPropertyMetadata);
10810
+ typeCheckConfig$C(untrustedConfig, config, createManagedContentImportV2Job_ConfigPropertyMetadata);
10309
10811
  const untrustedConfig_managedContentV2JobRequest = untrustedConfig.managedContentV2JobRequest;
10310
10812
  const referenceManagedContentV2JobRequestInputRepresentationValidationError = validate$2(untrustedConfig_managedContentV2JobRequest);
10311
10813
  if (referenceManagedContentV2JobRequestInputRepresentationValidationError === null) {
@@ -10586,14 +11088,14 @@ const getManagedContentPreviews_ConfigPropertyMetadata = [
10586
11088
  generateParamConfigMetadata('managedContentTypeName', false, 1 /* QueryParameter */, 0 /* String */),
10587
11089
  ];
10588
11090
  const getManagedContentPreviews_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, getManagedContentPreviews_ConfigPropertyMetadata);
10589
- const createResourceParams = /*#__PURE__*/ createResourceParams$B(getManagedContentPreviews_ConfigPropertyMetadata);
11091
+ const createResourceParams = /*#__PURE__*/ createResourceParams$C(getManagedContentPreviews_ConfigPropertyMetadata);
10590
11092
  function keyBuilder(luvio, config) {
10591
11093
  const resourceParams = createResourceParams(config);
10592
11094
  return keyBuilder$1(luvio, resourceParams);
10593
11095
  }
10594
11096
  function typeCheckConfig(untrustedConfig) {
10595
11097
  const config = {};
10596
- typeCheckConfig$B(untrustedConfig, config, getManagedContentPreviews_ConfigPropertyMetadata);
11098
+ typeCheckConfig$C(untrustedConfig, config, getManagedContentPreviews_ConfigPropertyMetadata);
10597
11099
  return config;
10598
11100
  }
10599
11101
  function validateAdapterConfig(untrustedConfig, configPropertyNames) {
@@ -10667,4 +11169,4 @@ const getManagedContentPreviewsAdapterFactory = (luvio) => function CMSAuthoring
10667
11169
  buildCachedSnapshotCachePolicy, buildNetworkSnapshotCachePolicy);
10668
11170
  };
10669
11171
 
10670
- export { createDeploymentAdapterFactory, createManagedContentAdapterFactory, createManagedContentExportV2JobAdapterFactory, createManagedContentImportV2JobAdapterFactory, createManagedContentVariantAdapterFactory, createScheduleAdapterFactory, createTranslationV2JobAdapterFactory, deleteManagedContentVariantAdapterFactory, getAllCMSJobsForSpaceAdapterFactory, getCMSJobForSpaceAdapterFactory, getCollectionItemsAdapterFactory, getDeploymentsAdapterFactory, getManagedContentAdapterFactory, getManagedContentByFolderIdAdapterFactory, getManagedContentPreviewsAdapterFactory, getManagedContentReferencedByAdapterFactory, getManagedContentSpaceAdapterFactory, getManagedContentSpaceFolderAdapterFactory, getManagedContentSpaceFolderItemsV1AdapterFactory, getManagedContentSpaceOrchestratorConfigAdapterFactory, getManagedContentSpacesAdapterFactory, getManagedContentTaxonomyTermsAdapterFactory, getManagedContentTypesForMixinAdapterFactory, getManagedContentVariantAdapterFactory, getManagedContentVariantReferencesAdapterFactory, getManagedContentVariantRenditionAdapterFactory, getManagedContentVariantVersionsAdapterFactory, getSearchResultsAdapterFactory, getWebUrlsAdapterFactory, patchManagedContentSpaceAdapterFactory, publishManagedContentAdapterFactory, putManagedContentSpaceOrchestratorConfigAdapterFactory, replaceManagedContentVariantAdapterFactory, unpublishManagedContentAdapterFactory, updateDeploymentAdapterFactory, updateManagedContentTaxonomyTermsAdapterFactory, updateManagedContentWebUrlAdapterFactory };
11172
+ export { cloneManagedContentsAdapterFactory, createDeploymentAdapterFactory, createManagedContentAdapterFactory, createManagedContentExportV2JobAdapterFactory, createManagedContentImportV2JobAdapterFactory, createManagedContentVariantAdapterFactory, createScheduleAdapterFactory, createTranslationV2JobAdapterFactory, deleteManagedContentVariantAdapterFactory, getAllCMSJobsForSpaceAdapterFactory, getCMSJobForSpaceAdapterFactory, getCollectionItemsAdapterFactory, getDeploymentsAdapterFactory, getManagedContentAdapterFactory, getManagedContentByFolderIdAdapterFactory, getManagedContentPreviewsAdapterFactory, getManagedContentReferencedByAdapterFactory, getManagedContentSpaceAdapterFactory, getManagedContentSpaceFolderAdapterFactory, getManagedContentSpaceFolderItemsV1AdapterFactory, getManagedContentSpaceOrchestratorConfigAdapterFactory, getManagedContentSpacesAdapterFactory, getManagedContentTaxonomyTermsAdapterFactory, getManagedContentTypesForMixinAdapterFactory, getManagedContentVariantAdapterFactory, getManagedContentVariantReferencesAdapterFactory, getManagedContentVariantRenditionAdapterFactory, getManagedContentVariantVersionsAdapterFactory, getSearchResultsAdapterFactory, getWebUrlsAdapterFactory, patchManagedContentSpaceAdapterFactory, publishManagedContentAdapterFactory, putManagedContentSpaceOrchestratorConfigAdapterFactory, replaceManagedContentVariantAdapterFactory, unpublishManagedContentAdapterFactory, updateDeploymentAdapterFactory, updateManagedContentTaxonomyTermsAdapterFactory, updateManagedContentWebUrlAdapterFactory };