@salesforce/lds-adapters-cms-authoring 1.109.0 → 1.110.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.
@@ -77,7 +77,7 @@ function createLink(ref) {
77
77
  };
78
78
  }
79
79
 
80
- function validate$C(obj, path = 'ManagedContentDeploymentInputRepresentation') {
80
+ function validate$D(obj, path = 'ManagedContentDeploymentInputRepresentation') {
81
81
  const v_error = (() => {
82
82
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
83
83
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -161,7 +161,7 @@ function validate$C(obj, path = 'ManagedContentDeploymentInputRepresentation') {
161
161
  return v_error === undefined ? null : v_error;
162
162
  }
163
163
 
164
- function validate$B(obj, path = 'ManagedContentDeploymentItemRepresentation') {
164
+ function validate$C(obj, path = 'ManagedContentDeploymentItemRepresentation') {
165
165
  const v_error = (() => {
166
166
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
167
167
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -221,7 +221,7 @@ function deepFreeze$t(input) {
221
221
 
222
222
  const TTL$f = 1000;
223
223
  const VERSION$f = "ca653daea9600118e6167b9b4ff4d07c";
224
- function validate$A(obj, path = 'ManagedContentDeploymentRepresentation') {
224
+ function validate$B(obj, path = 'ManagedContentDeploymentRepresentation') {
225
225
  const v_error = (() => {
226
226
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
227
227
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -291,7 +291,7 @@ function validate$A(obj, path = 'ManagedContentDeploymentRepresentation') {
291
291
  for (let i = 0; i < obj_deploymentItems.length; i++) {
292
292
  const obj_deploymentItems_item = obj_deploymentItems[i];
293
293
  const path_deploymentItems_item = path_deploymentItems + '[' + i + ']';
294
- const referencepath_deploymentItems_itemValidationError = validate$B(obj_deploymentItems_item, path_deploymentItems_item);
294
+ const referencepath_deploymentItems_itemValidationError = validate$C(obj_deploymentItems_item, path_deploymentItems_item);
295
295
  if (referencepath_deploymentItems_itemValidationError !== null) {
296
296
  let message = 'Object doesn\'t match ManagedContentDeploymentItemRepresentation (at "' + path_deploymentItems_item + '")\n';
297
297
  message += referencepath_deploymentItems_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -443,7 +443,7 @@ function deepFreeze$s(input) {
443
443
  }
444
444
  const ingest$f = function ManagedContentDeploymentRepresentationIngest(input, path, luvio, store, timestamp) {
445
445
  if (process.env.NODE_ENV !== 'production') {
446
- const validateError = validate$A(input);
446
+ const validateError = validate$B(input);
447
447
  if (validateError !== null) {
448
448
  throw validateError;
449
449
  }
@@ -538,7 +538,7 @@ function createResourceParams$l(config) {
538
538
  function typeCheckConfig$l(untrustedConfig) {
539
539
  const config = {};
540
540
  const untrustedConfig_DeploymentInput = untrustedConfig.DeploymentInput;
541
- const referenceManagedContentDeploymentInputRepresentationValidationError = validate$C(untrustedConfig_DeploymentInput);
541
+ const referenceManagedContentDeploymentInputRepresentationValidationError = validate$D(untrustedConfig_DeploymentInput);
542
542
  if (referenceManagedContentDeploymentInputRepresentationValidationError === null) {
543
543
  config.DeploymentInput = untrustedConfig_DeploymentInput;
544
544
  }
@@ -582,7 +582,7 @@ const createDeploymentAdapterFactory = (luvio) => {
582
582
  };
583
583
  };
584
584
 
585
- function validate$z(obj, path = 'ManagedContentTypeSummaryRepresentation') {
585
+ function validate$A(obj, path = 'ManagedContentTypeSummaryRepresentation') {
586
586
  const v_error = (() => {
587
587
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
588
588
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -606,7 +606,7 @@ function deepFreeze$r(input) {
606
606
  ObjectFreeze(input);
607
607
  }
608
608
 
609
- function validate$y(obj, path = 'ManagedContentCollectionItemTypeSummaryRepresentation') {
609
+ function validate$z(obj, path = 'ManagedContentCollectionItemTypeSummaryRepresentation') {
610
610
  const v_error = (() => {
611
611
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
612
612
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -628,7 +628,7 @@ function deepFreeze$q(input) {
628
628
  ObjectFreeze(input);
629
629
  }
630
630
 
631
- function validate$x(obj, path = 'ManagedContentCollectionItemRepresentation') {
631
+ function validate$y(obj, path = 'ManagedContentCollectionItemRepresentation') {
632
632
  const v_error = (() => {
633
633
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
634
634
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -649,7 +649,7 @@ function validate$x(obj, path = 'ManagedContentCollectionItemRepresentation') {
649
649
  }
650
650
  const obj_contentType = obj.contentType;
651
651
  const path_contentType = path + '.contentType';
652
- const referencepath_contentTypeValidationError = validate$y(obj_contentType, path_contentType);
652
+ const referencepath_contentTypeValidationError = validate$z(obj_contentType, path_contentType);
653
653
  if (referencepath_contentTypeValidationError !== null) {
654
654
  let message = 'Object doesn\'t match ManagedContentCollectionItemTypeSummaryRepresentation (at "' + path_contentType + '")\n';
655
655
  message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -685,7 +685,7 @@ function deepFreeze$p(input) {
685
685
 
686
686
  const TTL$e = 100;
687
687
  const VERSION$e = "eeea454f1268ece5c3e24c986688b876";
688
- function validate$w(obj, path = 'ManagedContentCollectionDetailRepresentation') {
688
+ function validate$x(obj, path = 'ManagedContentCollectionDetailRepresentation') {
689
689
  const v_error = (() => {
690
690
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
691
691
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -697,7 +697,7 @@ function validate$w(obj, path = 'ManagedContentCollectionDetailRepresentation')
697
697
  }
698
698
  const obj_collectionType = obj.collectionType;
699
699
  const path_collectionType = path + '.collectionType';
700
- const referencepath_collectionTypeValidationError = validate$z(obj_collectionType, path_collectionType);
700
+ const referencepath_collectionTypeValidationError = validate$A(obj_collectionType, path_collectionType);
701
701
  if (referencepath_collectionTypeValidationError !== null) {
702
702
  let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_collectionType + '")\n';
703
703
  message += referencepath_collectionTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -721,7 +721,7 @@ function validate$w(obj, path = 'ManagedContentCollectionDetailRepresentation')
721
721
  for (let i = 0; i < obj_items.length; i++) {
722
722
  const obj_items_item = obj_items[i];
723
723
  const path_items_item = path_items + '[' + i + ']';
724
- const referencepath_items_itemValidationError = validate$x(obj_items_item, path_items_item);
724
+ const referencepath_items_itemValidationError = validate$y(obj_items_item, path_items_item);
725
725
  if (referencepath_items_itemValidationError !== null) {
726
726
  let message = 'Object doesn\'t match ManagedContentCollectionItemRepresentation (at "' + path_items_item + '")\n';
727
727
  message += referencepath_items_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -798,7 +798,7 @@ function deepFreeze$o(input) {
798
798
  }
799
799
  const ingest$e = function ManagedContentCollectionDetailRepresentationIngest(input, path, luvio, store, timestamp) {
800
800
  if (process.env.NODE_ENV !== 'production') {
801
- const validateError = validate$w(input);
801
+ const validateError = validate$x(input);
802
802
  if (validateError !== null) {
803
803
  throw validateError;
804
804
  }
@@ -1028,7 +1028,7 @@ const getCollectionItemsAdapterFactory = (luvio) => function CMSAuthoring__getCo
1028
1028
  buildCachedSnapshotCachePolicy$a, buildNetworkSnapshotCachePolicy$a);
1029
1029
  };
1030
1030
 
1031
- function validate$v(obj, path = 'ManagedContentTranslationV2RequestInputRep') {
1031
+ function validate$w(obj, path = 'ManagedContentTranslationV2RequestInputRep') {
1032
1032
  const v_error = (() => {
1033
1033
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1034
1034
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1100,7 +1100,7 @@ function validate$v(obj, path = 'ManagedContentTranslationV2RequestInputRep') {
1100
1100
 
1101
1101
  const TTL$d = 100;
1102
1102
  const VERSION$d = "52e643b998d6763482c6d74542b38408";
1103
- function validate$u(obj, path = 'ManagedContentTranslationV2Representation') {
1103
+ function validate$v(obj, path = 'ManagedContentTranslationV2Representation') {
1104
1104
  const v_error = (() => {
1105
1105
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1106
1106
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1289,7 +1289,7 @@ function deepFreeze$n(input) {
1289
1289
  }
1290
1290
  const ingest$d = function ManagedContentTranslationV2RepresentationIngest(input, path, luvio, store, timestamp) {
1291
1291
  if (process.env.NODE_ENV !== 'production') {
1292
- const validateError = validate$u(input);
1292
+ const validateError = validate$v(input);
1293
1293
  if (validateError !== null) {
1294
1294
  throw validateError;
1295
1295
  }
@@ -1391,7 +1391,7 @@ function typeCheckConfig$j(untrustedConfig) {
1391
1391
  config.contentSpaceId = untrustedConfig_contentSpaceId;
1392
1392
  }
1393
1393
  const untrustedConfig_translationV2Request = untrustedConfig.translationV2Request;
1394
- const referenceManagedContentTranslationV2RequestInputRepValidationError = validate$v(untrustedConfig_translationV2Request);
1394
+ const referenceManagedContentTranslationV2RequestInputRepValidationError = validate$w(untrustedConfig_translationV2Request);
1395
1395
  if (referenceManagedContentTranslationV2RequestInputRepValidationError === null) {
1396
1396
  config.translationV2Request = untrustedConfig_translationV2Request;
1397
1397
  }
@@ -1435,7 +1435,7 @@ const createTranslationV2JobAdapterFactory = (luvio) => {
1435
1435
  };
1436
1436
  };
1437
1437
 
1438
- function validate$t(obj, path = 'ManagedContentInputRepresentation') {
1438
+ function validate$u(obj, path = 'ManagedContentInputRepresentation') {
1439
1439
  const v_error = (() => {
1440
1440
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1441
1441
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1478,7 +1478,7 @@ function validate$t(obj, path = 'ManagedContentInputRepresentation') {
1478
1478
  return v_error === undefined ? null : v_error;
1479
1479
  }
1480
1480
 
1481
- function validate$s(obj, path = 'ManagedContentSpaceSummaryRepresentation') {
1481
+ function validate$t(obj, path = 'ManagedContentSpaceSummaryRepresentation') {
1482
1482
  const v_error = (() => {
1483
1483
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1484
1484
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1500,7 +1500,7 @@ function deepFreeze$m(input) {
1500
1500
  ObjectFreeze(input);
1501
1501
  }
1502
1502
 
1503
- function validate$r(obj, path = 'ManagedContentUserSummaryRepresentation') {
1503
+ function validate$s(obj, path = 'ManagedContentUserSummaryRepresentation') {
1504
1504
  const v_error = (() => {
1505
1505
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1506
1506
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1529,7 +1529,7 @@ function deepFreeze$l(input) {
1529
1529
  ObjectFreeze(input);
1530
1530
  }
1531
1531
 
1532
- function validate$q(obj, path = 'ManagedContentFolderSummaryRepresentation') {
1532
+ function validate$r(obj, path = 'ManagedContentFolderSummaryRepresentation') {
1533
1533
  const v_error = (() => {
1534
1534
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1535
1535
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1551,7 +1551,7 @@ function deepFreeze$k(input) {
1551
1551
  ObjectFreeze(input);
1552
1552
  }
1553
1553
 
1554
- function validate$p(obj, path = 'ManagedContentVariantStatusRepresentation') {
1554
+ function validate$q(obj, path = 'ManagedContentVariantStatusRepresentation') {
1555
1555
  const v_error = (() => {
1556
1556
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1557
1557
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1575,7 +1575,7 @@ function deepFreeze$j(input) {
1575
1575
 
1576
1576
  const TTL$c = 100;
1577
1577
  const VERSION$c = "c04d826180efa7be6ad6764b5928469e";
1578
- function validate$o(obj, path = 'ManagedContentDocumentRepresentation') {
1578
+ function validate$p(obj, path = 'ManagedContentDocumentRepresentation') {
1579
1579
  const v_error = (() => {
1580
1580
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1581
1581
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1601,7 +1601,7 @@ function validate$o(obj, path = 'ManagedContentDocumentRepresentation') {
1601
1601
  }
1602
1602
  const obj_contentSpace = obj.contentSpace;
1603
1603
  const path_contentSpace = path + '.contentSpace';
1604
- const referencepath_contentSpaceValidationError = validate$s(obj_contentSpace, path_contentSpace);
1604
+ const referencepath_contentSpaceValidationError = validate$t(obj_contentSpace, path_contentSpace);
1605
1605
  if (referencepath_contentSpaceValidationError !== null) {
1606
1606
  let message = 'Object doesn\'t match ManagedContentSpaceSummaryRepresentation (at "' + path_contentSpace + '")\n';
1607
1607
  message += referencepath_contentSpaceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1609,7 +1609,7 @@ function validate$o(obj, path = 'ManagedContentDocumentRepresentation') {
1609
1609
  }
1610
1610
  const obj_contentType = obj.contentType;
1611
1611
  const path_contentType = path + '.contentType';
1612
- const referencepath_contentTypeValidationError = validate$z(obj_contentType, path_contentType);
1612
+ const referencepath_contentTypeValidationError = validate$A(obj_contentType, path_contentType);
1613
1613
  if (referencepath_contentTypeValidationError !== null) {
1614
1614
  let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
1615
1615
  message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1617,7 +1617,7 @@ function validate$o(obj, path = 'ManagedContentDocumentRepresentation') {
1617
1617
  }
1618
1618
  const obj_createdBy = obj.createdBy;
1619
1619
  const path_createdBy = path + '.createdBy';
1620
- const referencepath_createdByValidationError = validate$r(obj_createdBy, path_createdBy);
1620
+ const referencepath_createdByValidationError = validate$s(obj_createdBy, path_createdBy);
1621
1621
  if (referencepath_createdByValidationError !== null) {
1622
1622
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
1623
1623
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1630,7 +1630,7 @@ function validate$o(obj, path = 'ManagedContentDocumentRepresentation') {
1630
1630
  }
1631
1631
  const obj_folder = obj.folder;
1632
1632
  const path_folder = path + '.folder';
1633
- const referencepath_folderValidationError = validate$q(obj_folder, path_folder);
1633
+ const referencepath_folderValidationError = validate$r(obj_folder, path_folder);
1634
1634
  if (referencepath_folderValidationError !== null) {
1635
1635
  let message = 'Object doesn\'t match ManagedContentFolderSummaryRepresentation (at "' + path_folder + '")\n';
1636
1636
  message += referencepath_folderValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1648,7 +1648,7 @@ function validate$o(obj, path = 'ManagedContentDocumentRepresentation') {
1648
1648
  }
1649
1649
  const obj_lastModifiedBy = obj.lastModifiedBy;
1650
1650
  const path_lastModifiedBy = path + '.lastModifiedBy';
1651
- const referencepath_lastModifiedByValidationError = validate$r(obj_lastModifiedBy, path_lastModifiedBy);
1651
+ const referencepath_lastModifiedByValidationError = validate$s(obj_lastModifiedBy, path_lastModifiedBy);
1652
1652
  if (referencepath_lastModifiedByValidationError !== null) {
1653
1653
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
1654
1654
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1679,7 +1679,7 @@ function validate$o(obj, path = 'ManagedContentDocumentRepresentation') {
1679
1679
  const path_status = path + '.status';
1680
1680
  let obj_status_union0 = null;
1681
1681
  const obj_status_union0_error = (() => {
1682
- const referencepath_statusValidationError = validate$p(obj_status, path_status);
1682
+ const referencepath_statusValidationError = validate$q(obj_status, path_status);
1683
1683
  if (referencepath_statusValidationError !== null) {
1684
1684
  let message = 'Object doesn\'t match ManagedContentVariantStatusRepresentation (at "' + path_status + '")\n';
1685
1685
  message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1808,7 +1808,7 @@ function deepFreeze$i(input) {
1808
1808
  }
1809
1809
  const ingest$c = function ManagedContentDocumentRepresentationIngest(input, path, luvio, store, timestamp) {
1810
1810
  if (process.env.NODE_ENV !== 'production') {
1811
- const validateError = validate$o(input);
1811
+ const validateError = validate$p(input);
1812
1812
  if (validateError !== null) {
1813
1813
  throw validateError;
1814
1814
  }
@@ -1910,7 +1910,7 @@ function createResourceParams$i(config) {
1910
1910
  function typeCheckConfig$i(untrustedConfig) {
1911
1911
  const config = {};
1912
1912
  const untrustedConfig_ManagedContentInputParam = untrustedConfig.ManagedContentInputParam;
1913
- const referenceManagedContentInputRepresentationValidationError = validate$t(untrustedConfig_ManagedContentInputParam);
1913
+ const referenceManagedContentInputRepresentationValidationError = validate$u(untrustedConfig_ManagedContentInputParam);
1914
1914
  if (referenceManagedContentInputRepresentationValidationError === null) {
1915
1915
  config.ManagedContentInputParam = untrustedConfig_ManagedContentInputParam;
1916
1916
  }
@@ -1954,7 +1954,7 @@ const createManagedContentAdapterFactory = (luvio) => {
1954
1954
  };
1955
1955
  };
1956
1956
 
1957
- function validate$n(obj, path = 'ManagedContentPublishInputRepresentation') {
1957
+ function validate$o(obj, path = 'ManagedContentPublishInputRepresentation') {
1958
1958
  const v_error = (() => {
1959
1959
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1960
1960
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2007,7 +2007,7 @@ function validate$n(obj, path = 'ManagedContentPublishInputRepresentation') {
2007
2007
 
2008
2008
  const TTL$b = 100;
2009
2009
  const VERSION$b = "789bce2e581ff7969982fbf2ffbfd9a5";
2010
- function validate$m(obj, path = 'ManagedContentPublishOutputRepresentation') {
2010
+ function validate$n(obj, path = 'ManagedContentPublishOutputRepresentation') {
2011
2011
  const v_error = (() => {
2012
2012
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2013
2013
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2104,7 +2104,7 @@ function deepFreeze$h(input) {
2104
2104
  }
2105
2105
  const ingest$b = function ManagedContentPublishOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2106
2106
  if (process.env.NODE_ENV !== 'production') {
2107
- const validateError = validate$m(input);
2107
+ const validateError = validate$n(input);
2108
2108
  if (validateError !== null) {
2109
2109
  throw validateError;
2110
2110
  }
@@ -2199,7 +2199,7 @@ function createResourceParams$h(config) {
2199
2199
  function typeCheckConfig$h(untrustedConfig) {
2200
2200
  const config = {};
2201
2201
  const untrustedConfig_publishInput = untrustedConfig.publishInput;
2202
- const referenceManagedContentPublishInputRepresentationValidationError = validate$n(untrustedConfig_publishInput);
2202
+ const referenceManagedContentPublishInputRepresentationValidationError = validate$o(untrustedConfig_publishInput);
2203
2203
  if (referenceManagedContentPublishInputRepresentationValidationError === null) {
2204
2204
  config.publishInput = untrustedConfig_publishInput;
2205
2205
  }
@@ -2243,7 +2243,7 @@ const publishManagedContentAdapterFactory = (luvio) => {
2243
2243
  };
2244
2244
  };
2245
2245
 
2246
- function validate$l(obj, path = 'ManagedContentUnpublishInputRepresentation') {
2246
+ function validate$m(obj, path = 'ManagedContentUnpublishInputRepresentation') {
2247
2247
  const v_error = (() => {
2248
2248
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2249
2249
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2289,7 +2289,7 @@ function validate$l(obj, path = 'ManagedContentUnpublishInputRepresentation') {
2289
2289
 
2290
2290
  const TTL$a = 100;
2291
2291
  const VERSION$a = "2f473ff12e87a4fc2336695104ab8567";
2292
- function validate$k(obj, path = 'ManagedContentUnpublishOutputRepresentation') {
2292
+ function validate$l(obj, path = 'ManagedContentUnpublishOutputRepresentation') {
2293
2293
  const v_error = (() => {
2294
2294
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2295
2295
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2386,7 +2386,7 @@ function deepFreeze$g(input) {
2386
2386
  }
2387
2387
  const ingest$a = function ManagedContentUnpublishOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2388
2388
  if (process.env.NODE_ENV !== 'production') {
2389
- const validateError = validate$k(input);
2389
+ const validateError = validate$l(input);
2390
2390
  if (validateError !== null) {
2391
2391
  throw validateError;
2392
2392
  }
@@ -2481,7 +2481,7 @@ function createResourceParams$g(config) {
2481
2481
  function typeCheckConfig$g(untrustedConfig) {
2482
2482
  const config = {};
2483
2483
  const untrustedConfig_unpublishInput = untrustedConfig.unpublishInput;
2484
- const referenceManagedContentUnpublishInputRepresentationValidationError = validate$l(untrustedConfig_unpublishInput);
2484
+ const referenceManagedContentUnpublishInputRepresentationValidationError = validate$m(untrustedConfig_unpublishInput);
2485
2485
  if (referenceManagedContentUnpublishInputRepresentationValidationError === null) {
2486
2486
  config.unpublishInput = untrustedConfig_unpublishInput;
2487
2487
  }
@@ -2525,7 +2525,7 @@ const unpublishManagedContentAdapterFactory = (luvio) => {
2525
2525
  };
2526
2526
  };
2527
2527
 
2528
- function validate$j(obj, path = 'ManagedContentVariantInputRepresentation') {
2528
+ function validate$k(obj, path = 'ManagedContentVariantInputRepresentation') {
2529
2529
  const v_error = (() => {
2530
2530
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2531
2531
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2574,7 +2574,7 @@ function validate$j(obj, path = 'ManagedContentVariantInputRepresentation') {
2574
2574
 
2575
2575
  const TTL$9 = 3600000;
2576
2576
  const VERSION$9 = "7752c6a8bb6b113a02bfde83f39e5957";
2577
- function validate$i(obj, path = 'ManagedContentVariantRepresentation') {
2577
+ function validate$j(obj, path = 'ManagedContentVariantRepresentation') {
2578
2578
  const v_error = (() => {
2579
2579
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2580
2580
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2600,7 +2600,7 @@ function validate$i(obj, path = 'ManagedContentVariantRepresentation') {
2600
2600
  }
2601
2601
  const obj_contentSpace = obj.contentSpace;
2602
2602
  const path_contentSpace = path + '.contentSpace';
2603
- const referencepath_contentSpaceValidationError = validate$s(obj_contentSpace, path_contentSpace);
2603
+ const referencepath_contentSpaceValidationError = validate$t(obj_contentSpace, path_contentSpace);
2604
2604
  if (referencepath_contentSpaceValidationError !== null) {
2605
2605
  let message = 'Object doesn\'t match ManagedContentSpaceSummaryRepresentation (at "' + path_contentSpace + '")\n';
2606
2606
  message += referencepath_contentSpaceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2608,7 +2608,7 @@ function validate$i(obj, path = 'ManagedContentVariantRepresentation') {
2608
2608
  }
2609
2609
  const obj_contentType = obj.contentType;
2610
2610
  const path_contentType = path + '.contentType';
2611
- const referencepath_contentTypeValidationError = validate$z(obj_contentType, path_contentType);
2611
+ const referencepath_contentTypeValidationError = validate$A(obj_contentType, path_contentType);
2612
2612
  if (referencepath_contentTypeValidationError !== null) {
2613
2613
  let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
2614
2614
  message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2616,7 +2616,7 @@ function validate$i(obj, path = 'ManagedContentVariantRepresentation') {
2616
2616
  }
2617
2617
  const obj_createdBy = obj.createdBy;
2618
2618
  const path_createdBy = path + '.createdBy';
2619
- const referencepath_createdByValidationError = validate$r(obj_createdBy, path_createdBy);
2619
+ const referencepath_createdByValidationError = validate$s(obj_createdBy, path_createdBy);
2620
2620
  if (referencepath_createdByValidationError !== null) {
2621
2621
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
2622
2622
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2629,7 +2629,7 @@ function validate$i(obj, path = 'ManagedContentVariantRepresentation') {
2629
2629
  }
2630
2630
  const obj_folder = obj.folder;
2631
2631
  const path_folder = path + '.folder';
2632
- const referencepath_folderValidationError = validate$q(obj_folder, path_folder);
2632
+ const referencepath_folderValidationError = validate$r(obj_folder, path_folder);
2633
2633
  if (referencepath_folderValidationError !== null) {
2634
2634
  let message = 'Object doesn\'t match ManagedContentFolderSummaryRepresentation (at "' + path_folder + '")\n';
2635
2635
  message += referencepath_folderValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2647,7 +2647,7 @@ function validate$i(obj, path = 'ManagedContentVariantRepresentation') {
2647
2647
  }
2648
2648
  const obj_lastModifiedBy = obj.lastModifiedBy;
2649
2649
  const path_lastModifiedBy = path + '.lastModifiedBy';
2650
- const referencepath_lastModifiedByValidationError = validate$r(obj_lastModifiedBy, path_lastModifiedBy);
2650
+ const referencepath_lastModifiedByValidationError = validate$s(obj_lastModifiedBy, path_lastModifiedBy);
2651
2651
  if (referencepath_lastModifiedByValidationError !== null) {
2652
2652
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
2653
2653
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2675,7 +2675,7 @@ function validate$i(obj, path = 'ManagedContentVariantRepresentation') {
2675
2675
  }
2676
2676
  const obj_status = obj.status;
2677
2677
  const path_status = path + '.status';
2678
- const referencepath_statusValidationError = validate$p(obj_status, path_status);
2678
+ const referencepath_statusValidationError = validate$q(obj_status, path_status);
2679
2679
  if (referencepath_statusValidationError !== null) {
2680
2680
  let message = 'Object doesn\'t match ManagedContentVariantStatusRepresentation (at "' + path_status + '")\n';
2681
2681
  message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2747,7 +2747,7 @@ function deepFreeze$f(input) {
2747
2747
  }
2748
2748
  const ingest$9 = function ManagedContentVariantRepresentationIngest(input, path, luvio, store, timestamp) {
2749
2749
  if (process.env.NODE_ENV !== 'production') {
2750
- const validateError = validate$i(input);
2750
+ const validateError = validate$j(input);
2751
2751
  if (validateError !== null) {
2752
2752
  throw validateError;
2753
2753
  }
@@ -2842,7 +2842,7 @@ function createResourceParams$f(config) {
2842
2842
  function typeCheckConfig$f(untrustedConfig) {
2843
2843
  const config = {};
2844
2844
  const untrustedConfig_managedContentVariantInputParam = untrustedConfig.managedContentVariantInputParam;
2845
- const referenceManagedContentVariantInputRepresentationValidationError = validate$j(untrustedConfig_managedContentVariantInputParam);
2845
+ const referenceManagedContentVariantInputRepresentationValidationError = validate$k(untrustedConfig_managedContentVariantInputParam);
2846
2846
  if (referenceManagedContentVariantInputRepresentationValidationError === null) {
2847
2847
  config.managedContentVariantInputParam = untrustedConfig_managedContentVariantInputParam;
2848
2848
  }
@@ -3142,7 +3142,7 @@ const getManagedContentVariantAdapterFactory = (luvio) => function CMSAuthoring_
3142
3142
  buildCachedSnapshotCachePolicy$9, buildNetworkSnapshotCachePolicy$9);
3143
3143
  };
3144
3144
 
3145
- function validate$h(obj, path = 'ManagedContentVariantUpdateInputRepresentation') {
3145
+ function validate$i(obj, path = 'ManagedContentVariantUpdateInputRepresentation') {
3146
3146
  const v_error = (() => {
3147
3147
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3148
3148
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3236,7 +3236,7 @@ function typeCheckConfig$c(untrustedConfig) {
3236
3236
  config.variantId = untrustedConfig_variantId;
3237
3237
  }
3238
3238
  const untrustedConfig_ManagedContentVariantInputParam = untrustedConfig.ManagedContentVariantInputParam;
3239
- const referenceManagedContentVariantUpdateInputRepresentationValidationError = validate$h(untrustedConfig_ManagedContentVariantInputParam);
3239
+ const referenceManagedContentVariantUpdateInputRepresentationValidationError = validate$i(untrustedConfig_ManagedContentVariantInputParam);
3240
3240
  if (referenceManagedContentVariantUpdateInputRepresentationValidationError === null) {
3241
3241
  config.ManagedContentVariantInputParam = untrustedConfig_ManagedContentVariantInputParam;
3242
3242
  }
@@ -3280,14 +3280,14 @@ const replaceManagedContentVariantAdapterFactory = (luvio) => {
3280
3280
  };
3281
3281
  };
3282
3282
 
3283
- function validate$g(obj, path = 'ManagedContentVariantVersionRepresentation') {
3283
+ function validate$h(obj, path = 'ManagedContentVariantVersionRepresentation') {
3284
3284
  const v_error = (() => {
3285
3285
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3286
3286
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
3287
3287
  }
3288
3288
  const obj_createdBy = obj.createdBy;
3289
3289
  const path_createdBy = path + '.createdBy';
3290
- const referencepath_createdByValidationError = validate$r(obj_createdBy, path_createdBy);
3290
+ const referencepath_createdByValidationError = validate$s(obj_createdBy, path_createdBy);
3291
3291
  if (referencepath_createdByValidationError !== null) {
3292
3292
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
3293
3293
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3300,7 +3300,7 @@ function validate$g(obj, path = 'ManagedContentVariantVersionRepresentation') {
3300
3300
  }
3301
3301
  const obj_lastModifiedBy = obj.lastModifiedBy;
3302
3302
  const path_lastModifiedBy = path + '.lastModifiedBy';
3303
- const referencepath_lastModifiedByValidationError = validate$r(obj_lastModifiedBy, path_lastModifiedBy);
3303
+ const referencepath_lastModifiedByValidationError = validate$s(obj_lastModifiedBy, path_lastModifiedBy);
3304
3304
  if (referencepath_lastModifiedByValidationError !== null) {
3305
3305
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
3306
3306
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3318,7 +3318,7 @@ function validate$g(obj, path = 'ManagedContentVariantVersionRepresentation') {
3318
3318
  }
3319
3319
  const obj_status = obj.status;
3320
3320
  const path_status = path + '.status';
3321
- const referencepath_statusValidationError = validate$p(obj_status, path_status);
3321
+ const referencepath_statusValidationError = validate$q(obj_status, path_status);
3322
3322
  if (referencepath_statusValidationError !== null) {
3323
3323
  let message = 'Object doesn\'t match ManagedContentVariantStatusRepresentation (at "' + path_status + '")\n';
3324
3324
  message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3349,7 +3349,7 @@ function deepFreeze$e(input) {
3349
3349
 
3350
3350
  const TTL$8 = 100;
3351
3351
  const VERSION$8 = "993f4fe3a5b12699f037079dbe30610b";
3352
- function validate$f(obj, path = 'ManagedContentVariantVersionCollectionRepresentation') {
3352
+ function validate$g(obj, path = 'ManagedContentVariantVersionCollectionRepresentation') {
3353
3353
  const v_error = (() => {
3354
3354
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3355
3355
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3379,7 +3379,7 @@ function validate$f(obj, path = 'ManagedContentVariantVersionCollectionRepresent
3379
3379
  for (let i = 0; i < obj_versions.length; i++) {
3380
3380
  const obj_versions_item = obj_versions[i];
3381
3381
  const path_versions_item = path_versions + '[' + i + ']';
3382
- const referencepath_versions_itemValidationError = validate$g(obj_versions_item, path_versions_item);
3382
+ const referencepath_versions_itemValidationError = validate$h(obj_versions_item, path_versions_item);
3383
3383
  if (referencepath_versions_itemValidationError !== null) {
3384
3384
  let message = 'Object doesn\'t match ManagedContentVariantVersionRepresentation (at "' + path_versions_item + '")\n';
3385
3385
  message += referencepath_versions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3427,7 +3427,7 @@ function deepFreeze$d(input) {
3427
3427
  }
3428
3428
  const ingest$8 = function ManagedContentVariantVersionCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
3429
3429
  if (process.env.NODE_ENV !== 'production') {
3430
- const validateError = validate$f(input);
3430
+ const validateError = validate$g(input);
3431
3431
  if (validateError !== null) {
3432
3432
  throw validateError;
3433
3433
  }
@@ -3879,7 +3879,7 @@ const getManagedContentAdapterFactory = (luvio) => function CMSAuthoring__getMan
3879
3879
 
3880
3880
  const TTL$7 = 1000;
3881
3881
  const VERSION$7 = "98edee4f058ced93570a7b0ce2293672";
3882
- function validate$e(obj, path = 'ManagedContentRenditionRepresentation') {
3882
+ function validate$f(obj, path = 'ManagedContentRenditionRepresentation') {
3883
3883
  const v_error = (() => {
3884
3884
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3885
3885
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3971,7 +3971,7 @@ function deepFreeze$c(input) {
3971
3971
  }
3972
3972
  const ingest$7 = function ManagedContentRenditionRepresentationIngest(input, path, luvio, store, timestamp) {
3973
3973
  if (process.env.NODE_ENV !== 'production') {
3974
- const validateError = validate$e(input);
3974
+ const validateError = validate$f(input);
3975
3975
  if (validateError !== null) {
3976
3976
  throw validateError;
3977
3977
  }
@@ -4190,14 +4190,14 @@ const getManagedContentVariantRenditionAdapterFactory = (luvio) => function CMSA
4190
4190
  buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$6);
4191
4191
  };
4192
4192
 
4193
- function validate$d(obj, path = 'AbstractManagedContentReferencedByItemRepresentation') {
4193
+ function validate$e(obj, path = 'AbstractManagedContentReferencedByItemRepresentation') {
4194
4194
  const v_error = (() => {
4195
4195
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4196
4196
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
4197
4197
  }
4198
4198
  const obj_contentType = obj.contentType;
4199
4199
  const path_contentType = path + '.contentType';
4200
- const referencepath_contentTypeValidationError = validate$z(obj_contentType, path_contentType);
4200
+ const referencepath_contentTypeValidationError = validate$A(obj_contentType, path_contentType);
4201
4201
  if (referencepath_contentTypeValidationError !== null) {
4202
4202
  let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
4203
4203
  message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4264,7 +4264,7 @@ function deepFreeze$b(input) {
4264
4264
 
4265
4265
  const TTL$6 = 100;
4266
4266
  const VERSION$6 = "c297f5edbe1b51eadd89e68f176520ba";
4267
- function validate$c(obj, path = 'ManagedContentReferencedByCollectionRepresentation') {
4267
+ function validate$d(obj, path = 'ManagedContentReferencedByCollectionRepresentation') {
4268
4268
  const v_error = (() => {
4269
4269
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4270
4270
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4308,7 +4308,7 @@ function validate$c(obj, path = 'ManagedContentReferencedByCollectionRepresentat
4308
4308
  for (let i = 0; i < obj_referencedBy.length; i++) {
4309
4309
  const obj_referencedBy_item = obj_referencedBy[i];
4310
4310
  const path_referencedBy_item = path_referencedBy + '[' + i + ']';
4311
- const referencepath_referencedBy_itemValidationError = validate$d(obj_referencedBy_item, path_referencedBy_item);
4311
+ const referencepath_referencedBy_itemValidationError = validate$e(obj_referencedBy_item, path_referencedBy_item);
4312
4312
  if (referencepath_referencedBy_itemValidationError !== null) {
4313
4313
  let message = 'Object doesn\'t match AbstractManagedContentReferencedByItemRepresentation (at "' + path_referencedBy_item + '")\n';
4314
4314
  message += referencepath_referencedBy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4352,7 +4352,7 @@ function deepFreeze$a(input) {
4352
4352
  }
4353
4353
  const ingest$6 = function ManagedContentReferencedByCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
4354
4354
  if (process.env.NODE_ENV !== 'production') {
4355
- const validateError = validate$c(input);
4355
+ const validateError = validate$d(input);
4356
4356
  if (validateError !== null) {
4357
4357
  throw validateError;
4358
4358
  }
@@ -4571,7 +4571,7 @@ const getManagedContentReferencedByAdapterFactory = (luvio) => function CMSAutho
4571
4571
  buildCachedSnapshotCachePolicy$5, buildNetworkSnapshotCachePolicy$5);
4572
4572
  };
4573
4573
 
4574
- function validate$b(obj, path = 'ManagedContentLanguageSummaryRepresentation') {
4574
+ function validate$c(obj, path = 'ManagedContentLanguageSummaryRepresentation') {
4575
4575
  const v_error = (() => {
4576
4576
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4577
4577
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4593,7 +4593,7 @@ function deepFreeze$9(input) {
4593
4593
  ObjectFreeze(input);
4594
4594
  }
4595
4595
 
4596
- function validate$a(obj, path = 'ManagedContentVariantReferenceDetailsRepresentation') {
4596
+ function validate$b(obj, path = 'ManagedContentVariantReferenceDetailsRepresentation') {
4597
4597
  const v_error = (() => {
4598
4598
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4599
4599
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4605,7 +4605,7 @@ function validate$a(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
4605
4605
  }
4606
4606
  const obj_contentType = obj.contentType;
4607
4607
  const path_contentType = path + '.contentType';
4608
- const referencepath_contentTypeValidationError = validate$z(obj_contentType, path_contentType);
4608
+ const referencepath_contentTypeValidationError = validate$A(obj_contentType, path_contentType);
4609
4609
  if (referencepath_contentTypeValidationError !== null) {
4610
4610
  let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
4611
4611
  message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4613,7 +4613,7 @@ function validate$a(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
4613
4613
  }
4614
4614
  const obj_createdBy = obj.createdBy;
4615
4615
  const path_createdBy = path + '.createdBy';
4616
- const referencepath_createdByValidationError = validate$r(obj_createdBy, path_createdBy);
4616
+ const referencepath_createdByValidationError = validate$s(obj_createdBy, path_createdBy);
4617
4617
  if (referencepath_createdByValidationError !== null) {
4618
4618
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
4619
4619
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4631,7 +4631,7 @@ function validate$a(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
4631
4631
  }
4632
4632
  const obj_language = obj.language;
4633
4633
  const path_language = path + '.language';
4634
- const referencepath_languageValidationError = validate$b(obj_language, path_language);
4634
+ const referencepath_languageValidationError = validate$c(obj_language, path_language);
4635
4635
  if (referencepath_languageValidationError !== null) {
4636
4636
  let message = 'Object doesn\'t match ManagedContentLanguageSummaryRepresentation (at "' + path_language + '")\n';
4637
4637
  message += referencepath_languageValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4639,7 +4639,7 @@ function validate$a(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
4639
4639
  }
4640
4640
  const obj_lastModifiedBy = obj.lastModifiedBy;
4641
4641
  const path_lastModifiedBy = path + '.lastModifiedBy';
4642
- const referencepath_lastModifiedByValidationError = validate$r(obj_lastModifiedBy, path_lastModifiedBy);
4642
+ const referencepath_lastModifiedByValidationError = validate$s(obj_lastModifiedBy, path_lastModifiedBy);
4643
4643
  if (referencepath_lastModifiedByValidationError !== null) {
4644
4644
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
4645
4645
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4662,7 +4662,7 @@ function validate$a(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
4662
4662
  }
4663
4663
  const obj_status = obj.status;
4664
4664
  const path_status = path + '.status';
4665
- const referencepath_statusValidationError = validate$p(obj_status, path_status);
4665
+ const referencepath_statusValidationError = validate$q(obj_status, path_status);
4666
4666
  if (referencepath_statusValidationError !== null) {
4667
4667
  let message = 'Object doesn\'t match ManagedContentVariantStatusRepresentation (at "' + path_status + '")\n';
4668
4668
  message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4692,7 +4692,7 @@ function deepFreeze$8(input) {
4692
4692
 
4693
4693
  const TTL$5 = 100;
4694
4694
  const VERSION$5 = "944ebf1d8e72c74b2d0a208b3dfa8326";
4695
- function validate$9(obj, path = 'ManagedContentVariantReferencesCollectionRepresentation') {
4695
+ function validate$a(obj, path = 'ManagedContentVariantReferencesCollectionRepresentation') {
4696
4696
  const v_error = (() => {
4697
4697
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4698
4698
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4713,7 +4713,7 @@ function validate$9(obj, path = 'ManagedContentVariantReferencesCollectionRepres
4713
4713
  for (let i = 0; i < obj_referenceVariants_prop.length; i++) {
4714
4714
  const obj_referenceVariants_prop_item = obj_referenceVariants_prop[i];
4715
4715
  const path_referenceVariants_prop_item = path_referenceVariants_prop + '[' + i + ']';
4716
- const referencepath_referenceVariants_prop_itemValidationError = validate$a(obj_referenceVariants_prop_item, path_referenceVariants_prop_item);
4716
+ const referencepath_referenceVariants_prop_itemValidationError = validate$b(obj_referenceVariants_prop_item, path_referenceVariants_prop_item);
4717
4717
  if (referencepath_referenceVariants_prop_itemValidationError !== null) {
4718
4718
  let message = 'Object doesn\'t match ManagedContentVariantReferenceDetailsRepresentation (at "' + path_referenceVariants_prop_item + '")\n';
4719
4719
  message += referencepath_referenceVariants_prop_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4760,7 +4760,7 @@ function deepFreeze$7(input) {
4760
4760
  }
4761
4761
  const ingest$5 = function ManagedContentVariantReferencesCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
4762
4762
  if (process.env.NODE_ENV !== 'production') {
4763
- const validateError = validate$9(input);
4763
+ const validateError = validate$a(input);
4764
4764
  if (validateError !== null) {
4765
4765
  throw validateError;
4766
4766
  }
@@ -4974,7 +4974,7 @@ const getManagedContentVariantReferencesAdapterFactory = (luvio) => function CMS
4974
4974
  buildCachedSnapshotCachePolicy$4, buildNetworkSnapshotCachePolicy$4);
4975
4975
  };
4976
4976
 
4977
- function validate$8(obj, path = 'ManagedContentSpaceFolderItemRepresentation') {
4977
+ function validate$9(obj, path = 'ManagedContentSpaceFolderItemRepresentation') {
4978
4978
  const v_error = (() => {
4979
4979
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4980
4980
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4989,7 +4989,7 @@ function validate$8(obj, path = 'ManagedContentSpaceFolderItemRepresentation') {
4989
4989
  if (obj.contentType !== undefined) {
4990
4990
  const obj_contentType = obj.contentType;
4991
4991
  const path_contentType = path + '.contentType';
4992
- const referencepath_contentTypeValidationError = validate$z(obj_contentType, path_contentType);
4992
+ const referencepath_contentTypeValidationError = validate$A(obj_contentType, path_contentType);
4993
4993
  if (referencepath_contentTypeValidationError !== null) {
4994
4994
  let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
4995
4995
  message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5028,7 +5028,7 @@ function validate$8(obj, path = 'ManagedContentSpaceFolderItemRepresentation') {
5028
5028
  if (obj.language !== undefined) {
5029
5029
  const obj_language = obj.language;
5030
5030
  const path_language = path + '.language';
5031
- const referencepath_languageValidationError = validate$b(obj_language, path_language);
5031
+ const referencepath_languageValidationError = validate$c(obj_language, path_language);
5032
5032
  if (referencepath_languageValidationError !== null) {
5033
5033
  let message = 'Object doesn\'t match ManagedContentLanguageSummaryRepresentation (at "' + path_language + '")\n';
5034
5034
  message += referencepath_languageValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5096,7 +5096,7 @@ function deepFreeze$6(input) {
5096
5096
 
5097
5097
  const TTL$4 = 100;
5098
5098
  const VERSION$4 = "e85b8f02eca0f2e88859e6f3a061e56b";
5099
- function validate$7(obj, path = 'ManagedContentSpaceFolderItemCollectionRepresentation') {
5099
+ function validate$8(obj, path = 'ManagedContentSpaceFolderItemCollectionRepresentation') {
5100
5100
  const v_error = (() => {
5101
5101
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5102
5102
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5114,7 +5114,7 @@ function validate$7(obj, path = 'ManagedContentSpaceFolderItemCollectionRepresen
5114
5114
  for (let i = 0; i < obj_folderItems.length; i++) {
5115
5115
  const obj_folderItems_item = obj_folderItems[i];
5116
5116
  const path_folderItems_item = path_folderItems + '[' + i + ']';
5117
- const referencepath_folderItems_itemValidationError = validate$8(obj_folderItems_item, path_folderItems_item);
5117
+ const referencepath_folderItems_itemValidationError = validate$9(obj_folderItems_item, path_folderItems_item);
5118
5118
  if (referencepath_folderItems_itemValidationError !== null) {
5119
5119
  let message = 'Object doesn\'t match ManagedContentSpaceFolderItemRepresentation (at "' + path_folderItems_item + '")\n';
5120
5120
  message += referencepath_folderItems_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5179,7 +5179,7 @@ function deepFreeze$5(input) {
5179
5179
  }
5180
5180
  const ingest$4 = function ManagedContentSpaceFolderItemCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
5181
5181
  if (process.env.NODE_ENV !== 'production') {
5182
- const validateError = validate$7(input);
5182
+ const validateError = validate$8(input);
5183
5183
  if (validateError !== null) {
5184
5184
  throw validateError;
5185
5185
  }
@@ -5429,14 +5429,14 @@ const getManagedContentByFolderIdAdapterFactory = (luvio) => function CMSAuthori
5429
5429
  buildCachedSnapshotCachePolicy$3, buildNetworkSnapshotCachePolicy$3);
5430
5430
  };
5431
5431
 
5432
- function validate$6(obj, path = 'AbstractManagedContentSearchResultRepresentation') {
5432
+ function validate$7(obj, path = 'AbstractManagedContentSearchResultRepresentation') {
5433
5433
  const v_error = (() => {
5434
5434
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5435
5435
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
5436
5436
  }
5437
5437
  const obj_createdBy = obj.createdBy;
5438
5438
  const path_createdBy = path + '.createdBy';
5439
- const referencepath_createdByValidationError = validate$r(obj_createdBy, path_createdBy);
5439
+ const referencepath_createdByValidationError = validate$s(obj_createdBy, path_createdBy);
5440
5440
  if (referencepath_createdByValidationError !== null) {
5441
5441
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
5442
5442
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5449,7 +5449,7 @@ function validate$6(obj, path = 'AbstractManagedContentSearchResultRepresentatio
5449
5449
  }
5450
5450
  const obj_folder = obj.folder;
5451
5451
  const path_folder = path + '.folder';
5452
- const referencepath_folderValidationError = validate$q(obj_folder, path_folder);
5452
+ const referencepath_folderValidationError = validate$r(obj_folder, path_folder);
5453
5453
  if (referencepath_folderValidationError !== null) {
5454
5454
  let message = 'Object doesn\'t match ManagedContentFolderSummaryRepresentation (at "' + path_folder + '")\n';
5455
5455
  message += referencepath_folderValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5462,7 +5462,7 @@ function validate$6(obj, path = 'AbstractManagedContentSearchResultRepresentatio
5462
5462
  }
5463
5463
  const obj_lastModifiedBy = obj.lastModifiedBy;
5464
5464
  const path_lastModifiedBy = path + '.lastModifiedBy';
5465
- const referencepath_lastModifiedByValidationError = validate$r(obj_lastModifiedBy, path_lastModifiedBy);
5465
+ const referencepath_lastModifiedByValidationError = validate$s(obj_lastModifiedBy, path_lastModifiedBy);
5466
5466
  if (referencepath_lastModifiedByValidationError !== null) {
5467
5467
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
5468
5468
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5498,7 +5498,7 @@ function deepFreeze$4(input) {
5498
5498
 
5499
5499
  const TTL$3 = 100;
5500
5500
  const VERSION$3 = "bbcdc04e5d094f6f8048bc2863d86527";
5501
- function validate$5(obj, path = 'ManagedContentSearchResultItemsCollectionRepresentation') {
5501
+ function validate$6(obj, path = 'ManagedContentSearchResultItemsCollectionRepresentation') {
5502
5502
  const v_error = (() => {
5503
5503
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5504
5504
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5521,7 +5521,7 @@ function validate$5(obj, path = 'ManagedContentSearchResultItemsCollectionRepres
5521
5521
  for (let i = 0; i < obj_items.length; i++) {
5522
5522
  const obj_items_item = obj_items[i];
5523
5523
  const path_items_item = path_items + '[' + i + ']';
5524
- const referencepath_items_itemValidationError = validate$6(obj_items_item, path_items_item);
5524
+ const referencepath_items_itemValidationError = validate$7(obj_items_item, path_items_item);
5525
5525
  if (referencepath_items_itemValidationError !== null) {
5526
5526
  let message = 'Object doesn\'t match AbstractManagedContentSearchResultRepresentation (at "' + path_items_item + '")\n';
5527
5527
  message += referencepath_items_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5565,7 +5565,7 @@ function deepFreeze$3(input) {
5565
5565
  }
5566
5566
  const ingest$3 = function ManagedContentSearchResultItemsCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
5567
5567
  if (process.env.NODE_ENV !== 'production') {
5568
- const validateError = validate$5(input);
5568
+ const validateError = validate$6(input);
5569
5569
  if (validateError !== null) {
5570
5570
  throw validateError;
5571
5571
  }
@@ -5805,7 +5805,7 @@ const getSearchResultsAdapterFactory = (luvio) => function CMSAuthoring__getSear
5805
5805
 
5806
5806
  const TTL$2 = 100;
5807
5807
  const VERSION$2 = "72679343637cbdd587e2f087852030d7";
5808
- function validate$4(obj, path = 'ManagedContentSpaceRepresentation') {
5808
+ function validate$5(obj, path = 'ManagedContentSpaceRepresentation') {
5809
5809
  const v_error = (() => {
5810
5810
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5811
5811
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5941,7 +5941,7 @@ function deepFreeze$2(input) {
5941
5941
  }
5942
5942
  const ingest$2 = function ManagedContentSpaceRepresentationIngest(input, path, luvio, store, timestamp) {
5943
5943
  if (process.env.NODE_ENV !== 'production') {
5944
- const validateError = validate$4(input);
5944
+ const validateError = validate$5(input);
5945
5945
  if (validateError !== null) {
5946
5946
  throw validateError;
5947
5947
  }
@@ -5984,7 +5984,7 @@ function getTypeCacheKeys$2(luvio, input, fullPathFactory) {
5984
5984
 
5985
5985
  const TTL$1 = 100;
5986
5986
  const VERSION$1 = "292efba3a426b62d2af39a38fd3464b0";
5987
- function validate$3(obj, path = 'ManagedContentSpaceCollectionRepresentation') {
5987
+ function validate$4(obj, path = 'ManagedContentSpaceCollectionRepresentation') {
5988
5988
  const v_error = (() => {
5989
5989
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5990
5990
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5997,7 +5997,7 @@ function validate$3(obj, path = 'ManagedContentSpaceCollectionRepresentation') {
5997
5997
  for (let i = 0; i < obj_spaces.length; i++) {
5998
5998
  const obj_spaces_item = obj_spaces[i];
5999
5999
  const path_spaces_item = path_spaces + '[' + i + ']';
6000
- const referencepath_spaces_itemValidationError = validate$4(obj_spaces_item, path_spaces_item);
6000
+ const referencepath_spaces_itemValidationError = validate$5(obj_spaces_item, path_spaces_item);
6001
6001
  if (referencepath_spaces_itemValidationError !== null) {
6002
6002
  let message = 'Object doesn\'t match ManagedContentSpaceRepresentation (at "' + path_spaces_item + '")\n';
6003
6003
  message += referencepath_spaces_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6036,7 +6036,7 @@ function deepFreeze$1(input) {
6036
6036
  }
6037
6037
  const ingest$1 = function ManagedContentSpaceCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
6038
6038
  if (process.env.NODE_ENV !== 'production') {
6039
- const validateError = validate$3(input);
6039
+ const validateError = validate$4(input);
6040
6040
  if (validateError !== null) {
6041
6041
  throw validateError;
6042
6042
  }
@@ -6401,6 +6401,83 @@ const getManagedContentSpaceAdapterFactory = (luvio) => function CMSAuthoring__g
6401
6401
  buildCachedSnapshotCachePolicy, buildNetworkSnapshotCachePolicy);
6402
6402
  };
6403
6403
 
6404
+ function validate$3(obj, path = 'ManagedContentSpaceInputRepresentation') {
6405
+ const v_error = (() => {
6406
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6407
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
6408
+ }
6409
+ const obj_channels = obj.channels;
6410
+ const path_channels = path + '.channels';
6411
+ if (!ArrayIsArray(obj_channels)) {
6412
+ return new TypeError('Expected "array" but received "' + typeof obj_channels + '" (at "' + path_channels + '")');
6413
+ }
6414
+ for (let i = 0; i < obj_channels.length; i++) {
6415
+ const obj_channels_item = obj_channels[i];
6416
+ const path_channels_item = path_channels + '[' + i + ']';
6417
+ if (typeof obj_channels_item !== 'string') {
6418
+ return new TypeError('Expected "string" but received "' + typeof obj_channels_item + '" (at "' + path_channels_item + '")');
6419
+ }
6420
+ }
6421
+ const obj_collaborators = obj.collaborators;
6422
+ const path_collaborators = path + '.collaborators';
6423
+ if (!ArrayIsArray(obj_collaborators)) {
6424
+ return new TypeError('Expected "array" but received "' + typeof obj_collaborators + '" (at "' + path_collaborators + '")');
6425
+ }
6426
+ for (let i = 0; i < obj_collaborators.length; i++) {
6427
+ const obj_collaborators_item = obj_collaborators[i];
6428
+ const path_collaborators_item = path_collaborators + '[' + i + ']';
6429
+ if (typeof obj_collaborators_item !== 'object' || ArrayIsArray(obj_collaborators_item) || obj_collaborators_item === null) {
6430
+ return new TypeError('Expected "object" but received "' + typeof obj_collaborators_item + '" (at "' + path_collaborators_item + '")');
6431
+ }
6432
+ }
6433
+ const obj_defaultLanguage = obj.defaultLanguage;
6434
+ const path_defaultLanguage = path + '.defaultLanguage';
6435
+ if (typeof obj_defaultLanguage !== 'string') {
6436
+ return new TypeError('Expected "string" but received "' + typeof obj_defaultLanguage + '" (at "' + path_defaultLanguage + '")');
6437
+ }
6438
+ const obj_description = obj.description;
6439
+ const path_description = path + '.description';
6440
+ if (typeof obj_description !== 'string') {
6441
+ return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
6442
+ }
6443
+ if (obj.isOrchestratorModuleInstalled !== undefined) {
6444
+ const obj_isOrchestratorModuleInstalled = obj.isOrchestratorModuleInstalled;
6445
+ const path_isOrchestratorModuleInstalled = path + '.isOrchestratorModuleInstalled';
6446
+ if (typeof obj_isOrchestratorModuleInstalled !== 'boolean') {
6447
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isOrchestratorModuleInstalled + '" (at "' + path_isOrchestratorModuleInstalled + '")');
6448
+ }
6449
+ }
6450
+ const obj_isSpaceV2 = obj.isSpaceV2;
6451
+ const path_isSpaceV2 = path + '.isSpaceV2';
6452
+ if (typeof obj_isSpaceV2 !== 'boolean') {
6453
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isSpaceV2 + '" (at "' + path_isSpaceV2 + '")');
6454
+ }
6455
+ const obj_isUndeletable = obj.isUndeletable;
6456
+ const path_isUndeletable = path + '.isUndeletable';
6457
+ if (typeof obj_isUndeletable !== 'boolean') {
6458
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isUndeletable + '" (at "' + path_isUndeletable + '")');
6459
+ }
6460
+ const obj_name = obj.name;
6461
+ const path_name = path + '.name';
6462
+ if (typeof obj_name !== 'string') {
6463
+ return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
6464
+ }
6465
+ const obj_supportedLanguages = obj.supportedLanguages;
6466
+ const path_supportedLanguages = path + '.supportedLanguages';
6467
+ if (!ArrayIsArray(obj_supportedLanguages)) {
6468
+ return new TypeError('Expected "array" but received "' + typeof obj_supportedLanguages + '" (at "' + path_supportedLanguages + '")');
6469
+ }
6470
+ for (let i = 0; i < obj_supportedLanguages.length; i++) {
6471
+ const obj_supportedLanguages_item = obj_supportedLanguages[i];
6472
+ const path_supportedLanguages_item = path_supportedLanguages + '[' + i + ']';
6473
+ if (typeof obj_supportedLanguages_item !== 'string') {
6474
+ return new TypeError('Expected "string" but received "' + typeof obj_supportedLanguages_item + '" (at "' + path_supportedLanguages_item + '")');
6475
+ }
6476
+ }
6477
+ })();
6478
+ return v_error === undefined ? null : v_error;
6479
+ }
6480
+
6404
6481
  function select$3(luvio, params) {
6405
6482
  return select$7();
6406
6483
  }
@@ -6440,7 +6517,7 @@ function createResourceRequest$2(config) {
6440
6517
  const patchManagedContentSpace_ConfigPropertyNames = {
6441
6518
  displayName: 'patchManagedContentSpace',
6442
6519
  parameters: {
6443
- required: ['contentSpaceId', 'channels', 'collaborators', 'defaultLanguage', 'description', 'isSpaceV2', 'isUndeletable', 'name', 'supportedLanguages'],
6520
+ required: ['contentSpaceId', 'ManagedContentSpaceInput'],
6444
6521
  optional: []
6445
6522
  }
6446
6523
  };
@@ -6450,7 +6527,7 @@ function createResourceParams$2(config) {
6450
6527
  contentSpaceId: config.contentSpaceId
6451
6528
  },
6452
6529
  body: {
6453
- channels: config.channels, collaborators: config.collaborators, defaultLanguage: config.defaultLanguage, description: config.description, isSpaceV2: config.isSpaceV2, isUndeletable: config.isUndeletable, name: config.name, supportedLanguages: config.supportedLanguages
6530
+ ManagedContentSpaceInput: config.ManagedContentSpaceInput
6454
6531
  }
6455
6532
  };
6456
6533
  return resourceParams;
@@ -6461,61 +6538,10 @@ function typeCheckConfig$2(untrustedConfig) {
6461
6538
  if (typeof untrustedConfig_contentSpaceId === 'string') {
6462
6539
  config.contentSpaceId = untrustedConfig_contentSpaceId;
6463
6540
  }
6464
- const untrustedConfig_channels = untrustedConfig.channels;
6465
- if (ArrayIsArray$1(untrustedConfig_channels)) {
6466
- const untrustedConfig_channels_array = [];
6467
- for (let i = 0, arrayLength = untrustedConfig_channels.length; i < arrayLength; i++) {
6468
- const untrustedConfig_channels_item = untrustedConfig_channels[i];
6469
- if (typeof untrustedConfig_channels_item === 'string') {
6470
- untrustedConfig_channels_array.push(untrustedConfig_channels_item);
6471
- }
6472
- }
6473
- config.channels = untrustedConfig_channels_array;
6474
- }
6475
- const untrustedConfig_collaborators = untrustedConfig.collaborators;
6476
- if (ArrayIsArray$1(untrustedConfig_collaborators)) {
6477
- const untrustedConfig_collaborators_array = [];
6478
- for (let i = 0, arrayLength = untrustedConfig_collaborators.length; i < arrayLength; i++) {
6479
- const untrustedConfig_collaborators_item = untrustedConfig_collaborators[i];
6480
- if (untrustedIsObject(untrustedConfig_collaborators_item)) {
6481
- const untrustedConfig_collaborators_item_object = {};
6482
- if (untrustedConfig_collaborators_item_object !== undefined && Object.keys(untrustedConfig_collaborators_item_object).length >= 0) {
6483
- untrustedConfig_collaborators_array.push(untrustedConfig_collaborators_item_object);
6484
- }
6485
- }
6486
- }
6487
- config.collaborators = untrustedConfig_collaborators_array;
6488
- }
6489
- const untrustedConfig_defaultLanguage = untrustedConfig.defaultLanguage;
6490
- if (typeof untrustedConfig_defaultLanguage === 'string') {
6491
- config.defaultLanguage = untrustedConfig_defaultLanguage;
6492
- }
6493
- const untrustedConfig_description = untrustedConfig.description;
6494
- if (typeof untrustedConfig_description === 'string') {
6495
- config.description = untrustedConfig_description;
6496
- }
6497
- const untrustedConfig_isSpaceV2 = untrustedConfig.isSpaceV2;
6498
- if (typeof untrustedConfig_isSpaceV2 === 'boolean') {
6499
- config.isSpaceV2 = untrustedConfig_isSpaceV2;
6500
- }
6501
- const untrustedConfig_isUndeletable = untrustedConfig.isUndeletable;
6502
- if (typeof untrustedConfig_isUndeletable === 'boolean') {
6503
- config.isUndeletable = untrustedConfig_isUndeletable;
6504
- }
6505
- const untrustedConfig_name = untrustedConfig.name;
6506
- if (typeof untrustedConfig_name === 'string') {
6507
- config.name = untrustedConfig_name;
6508
- }
6509
- const untrustedConfig_supportedLanguages = untrustedConfig.supportedLanguages;
6510
- if (ArrayIsArray$1(untrustedConfig_supportedLanguages)) {
6511
- const untrustedConfig_supportedLanguages_array = [];
6512
- for (let i = 0, arrayLength = untrustedConfig_supportedLanguages.length; i < arrayLength; i++) {
6513
- const untrustedConfig_supportedLanguages_item = untrustedConfig_supportedLanguages[i];
6514
- if (typeof untrustedConfig_supportedLanguages_item === 'string') {
6515
- untrustedConfig_supportedLanguages_array.push(untrustedConfig_supportedLanguages_item);
6516
- }
6517
- }
6518
- config.supportedLanguages = untrustedConfig_supportedLanguages_array;
6541
+ const untrustedConfig_ManagedContentSpaceInput = untrustedConfig.ManagedContentSpaceInput;
6542
+ const referenceManagedContentSpaceInputRepresentationValidationError = validate$3(untrustedConfig_ManagedContentSpaceInput);
6543
+ if (referenceManagedContentSpaceInputRepresentationValidationError === null) {
6544
+ config.ManagedContentSpaceInput = untrustedConfig_ManagedContentSpaceInput;
6519
6545
  }
6520
6546
  return config;
6521
6547
  }