@salesforce/lds-adapters-cms-authoring 1.293.0 → 1.294.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.
@@ -94,7 +94,7 @@ function createLink(ref) {
94
94
  }
95
95
 
96
96
  const VERSION$F = "7297fb0dbfe8f664d76179a65037c290";
97
- function validate$1d(obj, path = 'ManagedContentTypeSummaryRepresentation') {
97
+ function validate$1b(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 + '")');
@@ -155,7 +155,7 @@ function equals$F(existing, incoming) {
155
155
  }
156
156
 
157
157
  const VERSION$E = "c30d880a3dba684a405d1cf961af2b76";
158
- function validate$1c(obj, path = 'ManagedContentVariantSnapshotSummaryRepresentation') {
158
+ function validate$1a(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$1c(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$1d(obj_contentType, path_contentType);
167
+ const referencepath_contentTypeValidationError = validate$1b(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');
@@ -396,7 +396,7 @@ function equals$E(existing, incoming) {
396
396
  }
397
397
 
398
398
  const VERSION$D = "f99d45f1e809783023bfd9dbe2fe4a6c";
399
- function validate$1b(obj, path = 'ManagedContentDeploymentItemRepresentation') {
399
+ function validate$19(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$1b(obj, path = 'ManagedContentDeploymentItemRepresentation') {
423
423
  }
424
424
  const obj_mcvSnapshotSummary = obj.mcvSnapshotSummary;
425
425
  const path_mcvSnapshotSummary = path + '.mcvSnapshotSummary';
426
- const referencepath_mcvSnapshotSummaryValidationError = validate$1c(obj_mcvSnapshotSummary, path_mcvSnapshotSummary);
426
+ const referencepath_mcvSnapshotSummaryValidationError = validate$1a(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');
@@ -577,7 +577,7 @@ function equals$D(existing, incoming) {
577
577
  }
578
578
 
579
579
  const VERSION$C = "4b75ed6ff448da86412b605f7e775a62";
580
- function validate$1a(obj, path = 'ManagedContentUserSummaryRepresentation') {
580
+ function validate$18(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 + '")');
@@ -653,7 +653,7 @@ function equals$C(existing, incoming) {
653
653
 
654
654
  const TTL$y = 100;
655
655
  const VERSION$B = "f7e3c655efe77a7c9968ade15a6029b1";
656
- function validate$19(obj, path = 'ManagedContentDeploymentRepresentation') {
656
+ function validate$17(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$19(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$1b(obj_deploymentItems_item, path_deploymentItems_item);
726
+ const referencepath_deploymentItems_itemValidationError = validate$19(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$19(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$1a(obj_lastModifiedBy, path_lastModifiedBy);
789
+ const referencepath_lastModifiedByValidationError = validate$18(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');
@@ -953,7 +953,7 @@ function equals$B(existing, incoming) {
953
953
  }
954
954
  const ingest$y = function ManagedContentDeploymentRepresentationIngest(input, path, luvio, store, timestamp) {
955
955
  if (process.env.NODE_ENV !== 'production') {
956
- const validateError = validate$19(input);
956
+ const validateError = validate$17(input);
957
957
  if (validateError !== null) {
958
958
  throw validateError;
959
959
  }
@@ -975,7 +975,7 @@ function getTypeCacheKeys$y(rootKeySet, luvio, input, fullPathFactory) {
975
975
 
976
976
  const TTL$x = 100;
977
977
  const VERSION$A = "b2c15aa80814ecd854e68bf635879e35";
978
- function validate$18(obj, path = 'ManagedContentDeploymentCollectionRepresentation') {
978
+ function validate$16(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 + '")');
@@ -1129,7 +1129,7 @@ function equals$A(existing, incoming) {
1129
1129
  }
1130
1130
  const ingest$x = function ManagedContentDeploymentCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
1131
1131
  if (process.env.NODE_ENV !== 'production') {
1132
- const validateError = validate$18(input);
1132
+ const validateError = validate$16(input);
1133
1133
  if (validateError !== null) {
1134
1134
  throw validateError;
1135
1135
  }
@@ -1310,7 +1310,7 @@ const getDeploymentsAdapterFactory = (luvio) => function CMSAuthoring__getDeploy
1310
1310
  buildCachedSnapshotCachePolicy$p, buildNetworkSnapshotCachePolicy$p);
1311
1311
  };
1312
1312
 
1313
- function validate$17(obj, path = 'ManagedContentDeploymentInputRepresentation') {
1313
+ function validate$15(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 + '")');
@@ -1440,7 +1440,7 @@ const createResourceParams$H = /*#__PURE__*/ createResourceParams$J(createDeploy
1440
1440
  function typeCheckConfig$H(untrustedConfig) {
1441
1441
  const config = {};
1442
1442
  const untrustedConfig_DeploymentInput = untrustedConfig.DeploymentInput;
1443
- const referenceManagedContentDeploymentInputRepresentationValidationError = validate$17(untrustedConfig_DeploymentInput);
1443
+ const referenceManagedContentDeploymentInputRepresentationValidationError = validate$15(untrustedConfig_DeploymentInput);
1444
1444
  if (referenceManagedContentDeploymentInputRepresentationValidationError === null) {
1445
1445
  config.DeploymentInput = untrustedConfig_DeploymentInput;
1446
1446
  }
@@ -1489,7 +1489,7 @@ const createDeploymentAdapterFactory = (luvio) => {
1489
1489
  };
1490
1490
 
1491
1491
  const VERSION$z = "7e57fd77c4503be9a8822f2603a04df3";
1492
- function validate$16(obj, path = 'ManagedContentJobBodyRepresentation') {
1492
+ function validate$14(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 + '")');
@@ -1567,7 +1567,7 @@ function equals$z(existing, incoming) {
1567
1567
  }
1568
1568
 
1569
1569
  const VERSION$y = "eba1876bba76cb05d9cbb8a968bd6796";
1570
- function validate$15(obj, path = 'ManagedContentJobBodyCollectionRepresentation') {
1570
+ function validate$13(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$15(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$16(obj_jobBodies_item, path_jobBodies_item);
1583
+ const referencepath_jobBodies_itemValidationError = validate$14(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');
@@ -1622,7 +1622,7 @@ function equals$y(existing, incoming) {
1622
1622
 
1623
1623
  const TTL$w = 100;
1624
1624
  const VERSION$x = "9c2de7843d4d4e7784d56c7f83c58f0e";
1625
- function validate$14(obj, path = 'ManagedContentV2JobDetailRepresentation') {
1625
+ function validate$12(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$14(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$15(obj_body, path_body);
1634
+ const referencepath_bodyValidationError = validate$13(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');
@@ -1848,7 +1848,7 @@ function equals$x(existing, incoming) {
1848
1848
  }
1849
1849
  const ingest$w = function ManagedContentV2JobDetailRepresentationIngest(input, path, luvio, store, timestamp) {
1850
1850
  if (process.env.NODE_ENV !== 'production') {
1851
- const validateError = validate$14(input);
1851
+ const validateError = validate$12(input);
1852
1852
  if (validateError !== null) {
1853
1853
  throw validateError;
1854
1854
  }
@@ -1870,7 +1870,7 @@ function getTypeCacheKeys$w(rootKeySet, luvio, input, fullPathFactory) {
1870
1870
 
1871
1871
  const TTL$v = 100;
1872
1872
  const VERSION$w = "75cfd71e168144693d36fa16f7d8f4d0";
1873
- function validate$13(obj, path = 'ManagedContentJobCollectionRepresentation') {
1873
+ function validate$11(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 + '")');
@@ -2024,7 +2024,7 @@ function equals$w(existing, incoming) {
2024
2024
  }
2025
2025
  const ingest$v = function ManagedContentJobCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
2026
2026
  if (process.env.NODE_ENV !== 'production') {
2027
- const validateError = validate$13(input);
2027
+ const validateError = validate$11(input);
2028
2028
  if (validateError !== null) {
2029
2029
  throw validateError;
2030
2030
  }
@@ -2330,7 +2330,7 @@ const getCMSJobForSpaceAdapterFactory = (luvio) => function CMSAuthoring__getCMS
2330
2330
  buildCachedSnapshotCachePolicy$n, buildNetworkSnapshotCachePolicy$n);
2331
2331
  };
2332
2332
 
2333
- function validate$12(obj, path = 'ManagedContentSpaceFolderItemV1Representation') {
2333
+ function validate$10(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 + '")');
@@ -2420,7 +2420,7 @@ function validate$12(obj, path = 'ManagedContentSpaceFolderItemV1Representation'
2420
2420
 
2421
2421
  const TTL$u = 100;
2422
2422
  const VERSION$v = "df1370994ae2e57cdebc5f5125930e2d";
2423
- function validate$11(obj, path = 'ManagedContentSpaceFolderItemV1CollectionRepresentation') {
2423
+ function validate$$(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$11(obj, path = 'ManagedContentSpaceFolderItemV1CollectionRepre
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$12(obj_folderItems_item, path_folderItems_item);
2441
+ const referencepath_folderItems_itemValidationError = validate$10(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');
@@ -2494,7 +2494,7 @@ function equals$v(existing, incoming) {
2494
2494
  }
2495
2495
  const ingest$u = function ManagedContentSpaceFolderItemV1CollectionRepresentationIngest(input, path, luvio, store, timestamp) {
2496
2496
  if (process.env.NODE_ENV !== 'production') {
2497
- const validateError = validate$11(input);
2497
+ const validateError = validate$$(input);
2498
2498
  if (validateError !== null) {
2499
2499
  throw validateError;
2500
2500
  }
@@ -2662,7 +2662,7 @@ const getManagedContentSpaceFolderItemsV1AdapterFactory = (luvio) => function CM
2662
2662
  buildCachedSnapshotCachePolicy$m, buildNetworkSnapshotCachePolicy$m);
2663
2663
  };
2664
2664
 
2665
- function validate$10(obj, path = 'ManagedContentCollectionItemTypeSummaryRepresentation') {
2665
+ function validate$_(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$10(obj, path = 'ManagedContentCollectionItemTypeSummaryReprese
2681
2681
  return v_error === undefined ? null : v_error;
2682
2682
  }
2683
2683
 
2684
- function validate$$(obj, path = 'ManagedContentCollectionItemRepresentation') {
2684
+ function validate$Z(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$$(obj, path = 'ManagedContentCollectionItemRepresentation') {
2702
2702
  }
2703
2703
  const obj_contentType = obj.contentType;
2704
2704
  const path_contentType = path + '.contentType';
2705
- const referencepath_contentTypeValidationError = validate$10(obj_contentType, path_contentType);
2705
+ const referencepath_contentTypeValidationError = validate$_(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');
@@ -2724,7 +2724,7 @@ function validate$$(obj, path = 'ManagedContentCollectionItemRepresentation') {
2724
2724
 
2725
2725
  const TTL$t = 100;
2726
2726
  const VERSION$u = "eeea454f1268ece5c3e24c986688b876";
2727
- function validate$_(obj, path = 'ManagedContentCollectionDetailRepresentation') {
2727
+ function validate$Y(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$_(obj, path = 'ManagedContentCollectionDetailRepresentation')
2736
2736
  }
2737
2737
  const obj_collectionType = obj.collectionType;
2738
2738
  const path_collectionType = path + '.collectionType';
2739
- const referencepath_collectionTypeValidationError = validate$1d(obj_collectionType, path_collectionType);
2739
+ const referencepath_collectionTypeValidationError = validate$1b(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$_(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$$(obj_items_item, path_items_item);
2763
+ const referencepath_items_itemValidationError = validate$Z(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');
@@ -2826,7 +2826,7 @@ function equals$u(existing, incoming) {
2826
2826
  }
2827
2827
  const ingest$t = function ManagedContentCollectionDetailRepresentationIngest(input, path, luvio, store, timestamp) {
2828
2828
  if (process.env.NODE_ENV !== 'production') {
2829
- const validateError = validate$_(input);
2829
+ const validateError = validate$Y(input);
2830
2830
  if (validateError !== null) {
2831
2831
  throw validateError;
2832
2832
  }
@@ -3005,7 +3005,7 @@ const getCollectionItemsAdapterFactory = (luvio) => function CMSAuthoring__getCo
3005
3005
  buildCachedSnapshotCachePolicy$l, buildNetworkSnapshotCachePolicy$l);
3006
3006
  };
3007
3007
 
3008
- function validate$Z(obj, path = 'ManagedContentTranslationV2RequestInputRep') {
3008
+ function validate$X(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 + '")');
@@ -3077,7 +3077,7 @@ function validate$Z(obj, path = 'ManagedContentTranslationV2RequestInputRep') {
3077
3077
 
3078
3078
  const TTL$s = 100;
3079
3079
  const VERSION$t = "52e643b998d6763482c6d74542b38408";
3080
- function validate$Y(obj, path = 'ManagedContentTranslationV2Representation') {
3080
+ function validate$W(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 + '")');
@@ -3263,7 +3263,7 @@ function equals$t(existing, incoming) {
3263
3263
  }
3264
3264
  const ingest$s = function ManagedContentTranslationV2RepresentationIngest(input, path, luvio, store, timestamp) {
3265
3265
  if (process.env.NODE_ENV !== 'production') {
3266
- const validateError = validate$Y(input);
3266
+ const validateError = validate$W(input);
3267
3267
  if (validateError !== null) {
3268
3268
  throw validateError;
3269
3269
  }
@@ -3331,7 +3331,7 @@ function typeCheckConfig$C(untrustedConfig) {
3331
3331
  const config = {};
3332
3332
  typeCheckConfig$J(untrustedConfig, config, createTranslationV2Job_ConfigPropertyMetadata);
3333
3333
  const untrustedConfig_translationV2Request = untrustedConfig.translationV2Request;
3334
- const referenceManagedContentTranslationV2RequestInputRepValidationError = validate$Z(untrustedConfig_translationV2Request);
3334
+ const referenceManagedContentTranslationV2RequestInputRepValidationError = validate$X(untrustedConfig_translationV2Request);
3335
3335
  if (referenceManagedContentTranslationV2RequestInputRepValidationError === null) {
3336
3336
  config.translationV2Request = untrustedConfig_translationV2Request;
3337
3337
  }
@@ -3379,7 +3379,7 @@ const createTranslationV2JobAdapterFactory = (luvio) => {
3379
3379
  };
3380
3380
  };
3381
3381
 
3382
- function validate$X(obj, path = 'ManagedContentInputRepresentation') {
3382
+ function validate$V(obj, path = 'ManagedContentInputRepresentation') {
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 + '")');
@@ -3426,7 +3426,7 @@ function validate$X(obj, path = 'ManagedContentInputRepresentation') {
3426
3426
  return v_error === undefined ? null : v_error;
3427
3427
  }
3428
3428
 
3429
- function validate$W(obj, path = 'ManagedContentSpaceSummaryRepresentation') {
3429
+ function validate$U(obj, path = 'ManagedContentSpaceSummaryRepresentation') {
3430
3430
  const v_error = (() => {
3431
3431
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3432
3432
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3445,7 +3445,7 @@ function validate$W(obj, path = 'ManagedContentSpaceSummaryRepresentation') {
3445
3445
  return v_error === undefined ? null : v_error;
3446
3446
  }
3447
3447
 
3448
- function validate$V(obj, path = 'ManagedContentFolderSummaryRepresentation') {
3448
+ function validate$T(obj, path = 'ManagedContentFolderSummaryRepresentation') {
3449
3449
  const v_error = (() => {
3450
3450
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3451
3451
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3464,7 +3464,7 @@ function validate$V(obj, path = 'ManagedContentFolderSummaryRepresentation') {
3464
3464
  return v_error === undefined ? null : v_error;
3465
3465
  }
3466
3466
 
3467
- function validate$U(obj, path = 'ManagedContentVariantStatusRepresentation') {
3467
+ function validate$S(obj, path = 'ManagedContentVariantStatusRepresentation') {
3468
3468
  const v_error = (() => {
3469
3469
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3470
3470
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3485,7 +3485,7 @@ function validate$U(obj, path = 'ManagedContentVariantStatusRepresentation') {
3485
3485
 
3486
3486
  const TTL$r = 100;
3487
3487
  const VERSION$s = "32da7ab9bec2902e7f2b1d1e9aa618f1";
3488
- function validate$T(obj, path = 'ManagedContentDocumentRepresentation') {
3488
+ function validate$R(obj, path = 'ManagedContentDocumentRepresentation') {
3489
3489
  const v_error = (() => {
3490
3490
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3491
3491
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3539,7 +3539,7 @@ function validate$T(obj, path = 'ManagedContentDocumentRepresentation') {
3539
3539
  }
3540
3540
  const obj_contentSpace = obj.contentSpace;
3541
3541
  const path_contentSpace = path + '.contentSpace';
3542
- const referencepath_contentSpaceValidationError = validate$W(obj_contentSpace, path_contentSpace);
3542
+ const referencepath_contentSpaceValidationError = validate$U(obj_contentSpace, path_contentSpace);
3543
3543
  if (referencepath_contentSpaceValidationError !== null) {
3544
3544
  let message = 'Object doesn\'t match ManagedContentSpaceSummaryRepresentation (at "' + path_contentSpace + '")\n';
3545
3545
  message += referencepath_contentSpaceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3547,7 +3547,7 @@ function validate$T(obj, path = 'ManagedContentDocumentRepresentation') {
3547
3547
  }
3548
3548
  const obj_contentType = obj.contentType;
3549
3549
  const path_contentType = path + '.contentType';
3550
- const referencepath_contentTypeValidationError = validate$1d(obj_contentType, path_contentType);
3550
+ const referencepath_contentTypeValidationError = validate$1b(obj_contentType, path_contentType);
3551
3551
  if (referencepath_contentTypeValidationError !== null) {
3552
3552
  let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
3553
3553
  message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3555,7 +3555,7 @@ function validate$T(obj, path = 'ManagedContentDocumentRepresentation') {
3555
3555
  }
3556
3556
  const obj_createdBy = obj.createdBy;
3557
3557
  const path_createdBy = path + '.createdBy';
3558
- const referencepath_createdByValidationError = validate$1a(obj_createdBy, path_createdBy);
3558
+ const referencepath_createdByValidationError = validate$18(obj_createdBy, path_createdBy);
3559
3559
  if (referencepath_createdByValidationError !== null) {
3560
3560
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
3561
3561
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3568,7 +3568,7 @@ function validate$T(obj, path = 'ManagedContentDocumentRepresentation') {
3568
3568
  }
3569
3569
  const obj_folder = obj.folder;
3570
3570
  const path_folder = path + '.folder';
3571
- const referencepath_folderValidationError = validate$V(obj_folder, path_folder);
3571
+ const referencepath_folderValidationError = validate$T(obj_folder, path_folder);
3572
3572
  if (referencepath_folderValidationError !== null) {
3573
3573
  let message = 'Object doesn\'t match ManagedContentFolderSummaryRepresentation (at "' + path_folder + '")\n';
3574
3574
  message += referencepath_folderValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3586,7 +3586,7 @@ function validate$T(obj, path = 'ManagedContentDocumentRepresentation') {
3586
3586
  }
3587
3587
  const obj_lastModifiedBy = obj.lastModifiedBy;
3588
3588
  const path_lastModifiedBy = path + '.lastModifiedBy';
3589
- const referencepath_lastModifiedByValidationError = validate$1a(obj_lastModifiedBy, path_lastModifiedBy);
3589
+ const referencepath_lastModifiedByValidationError = validate$18(obj_lastModifiedBy, path_lastModifiedBy);
3590
3590
  if (referencepath_lastModifiedByValidationError !== null) {
3591
3591
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
3592
3592
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3617,7 +3617,7 @@ function validate$T(obj, path = 'ManagedContentDocumentRepresentation') {
3617
3617
  const path_status = path + '.status';
3618
3618
  let obj_status_union0 = null;
3619
3619
  const obj_status_union0_error = (() => {
3620
- const referencepath_statusValidationError = validate$U(obj_status, path_status);
3620
+ const referencepath_statusValidationError = validate$S(obj_status, path_status);
3621
3621
  if (referencepath_statusValidationError !== null) {
3622
3622
  let message = 'Object doesn\'t match ManagedContentVariantStatusRepresentation (at "' + path_status + '")\n';
3623
3623
  message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3718,7 +3718,7 @@ function equals$s(existing, incoming) {
3718
3718
  }
3719
3719
  const ingest$r = function ManagedContentDocumentRepresentationIngest(input, path, luvio, store, timestamp) {
3720
3720
  if (process.env.NODE_ENV !== 'production') {
3721
- const validateError = validate$T(input);
3721
+ const validateError = validate$R(input);
3722
3722
  if (validateError !== null) {
3723
3723
  throw validateError;
3724
3724
  }
@@ -3791,7 +3791,7 @@ const createResourceParams$B = /*#__PURE__*/ createResourceParams$J(createManage
3791
3791
  function typeCheckConfig$B(untrustedConfig) {
3792
3792
  const config = {};
3793
3793
  const untrustedConfig_ManagedContentInputParam = untrustedConfig.ManagedContentInputParam;
3794
- const referenceManagedContentInputRepresentationValidationError = validate$X(untrustedConfig_ManagedContentInputParam);
3794
+ const referenceManagedContentInputRepresentationValidationError = validate$V(untrustedConfig_ManagedContentInputParam);
3795
3795
  if (referenceManagedContentInputRepresentationValidationError === null) {
3796
3796
  config.ManagedContentInputParam = untrustedConfig_ManagedContentInputParam;
3797
3797
  }
@@ -3840,12 +3840,22 @@ const createManagedContentAdapterFactory = (luvio) => {
3840
3840
  };
3841
3841
 
3842
3842
  const TTL$q = 100;
3843
- const VERSION$r = "17d0c7553970a191d9ac970ac0cd8666";
3844
- function validate$S(obj, path = 'ManagedContentFileUploadRepresentation') {
3843
+ const VERSION$r = "3aae2fad9020711e898a6f7dc26e76a9";
3844
+ function validate$Q(obj, path = 'ManagedContentFileUploadRepresentation') {
3845
3845
  const v_error = (() => {
3846
3846
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3847
3847
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
3848
3848
  }
3849
+ const obj_hasCustomRecordTypes = obj.hasCustomRecordTypes;
3850
+ const path_hasCustomRecordTypes = path + '.hasCustomRecordTypes';
3851
+ if (typeof obj_hasCustomRecordTypes !== 'boolean') {
3852
+ return new TypeError('Expected "boolean" but received "' + typeof obj_hasCustomRecordTypes + '" (at "' + path_hasCustomRecordTypes + '")');
3853
+ }
3854
+ const obj_maxFileAttachmentsOnFeed = obj.maxFileAttachmentsOnFeed;
3855
+ const path_maxFileAttachmentsOnFeed = path + '.maxFileAttachmentsOnFeed';
3856
+ if (typeof obj_maxFileAttachmentsOnFeed !== 'number' || (typeof obj_maxFileAttachmentsOnFeed === 'number' && Math.floor(obj_maxFileAttachmentsOnFeed) !== obj_maxFileAttachmentsOnFeed)) {
3857
+ return new TypeError('Expected "integer" but received "' + typeof obj_maxFileAttachmentsOnFeed + '" (at "' + path_maxFileAttachmentsOnFeed + '")');
3858
+ }
3849
3859
  const obj_token = obj.token;
3850
3860
  const path_token = path + '.token';
3851
3861
  if (typeof obj_token !== 'string') {
@@ -3869,6 +3879,14 @@ const select$$ = function ManagedContentFileUploadRepresentationSelect() {
3869
3879
  version: VERSION$r,
3870
3880
  private: [],
3871
3881
  selections: [
3882
+ {
3883
+ name: 'hasCustomRecordTypes',
3884
+ kind: 'Scalar'
3885
+ },
3886
+ {
3887
+ name: 'maxFileAttachmentsOnFeed',
3888
+ kind: 'Scalar'
3889
+ },
3872
3890
  {
3873
3891
  name: 'token',
3874
3892
  kind: 'Scalar'
@@ -3881,6 +3899,16 @@ const select$$ = function ManagedContentFileUploadRepresentationSelect() {
3881
3899
  };
3882
3900
  };
3883
3901
  function equals$r(existing, incoming) {
3902
+ const existing_hasCustomRecordTypes = existing.hasCustomRecordTypes;
3903
+ const incoming_hasCustomRecordTypes = incoming.hasCustomRecordTypes;
3904
+ if (!(existing_hasCustomRecordTypes === incoming_hasCustomRecordTypes)) {
3905
+ return false;
3906
+ }
3907
+ const existing_maxFileAttachmentsOnFeed = existing.maxFileAttachmentsOnFeed;
3908
+ const incoming_maxFileAttachmentsOnFeed = incoming.maxFileAttachmentsOnFeed;
3909
+ if (!(existing_maxFileAttachmentsOnFeed === incoming_maxFileAttachmentsOnFeed)) {
3910
+ return false;
3911
+ }
3884
3912
  const existing_token = existing.token;
3885
3913
  const incoming_token = incoming.token;
3886
3914
  if (!(existing_token === incoming_token)) {
@@ -3895,7 +3923,7 @@ function equals$r(existing, incoming) {
3895
3923
  }
3896
3924
  const ingest$q = function ManagedContentFileUploadRepresentationIngest(input, path, luvio, store, timestamp) {
3897
3925
  if (process.env.NODE_ENV !== 'production') {
3898
- const validateError = validate$S(input);
3926
+ const validateError = validate$Q(input);
3899
3927
  if (validateError !== null) {
3900
3928
  throw validateError;
3901
3929
  }
@@ -4050,67 +4078,9 @@ const getManagedContentFileUploadConfigAdapterFactory = (luvio) => function CMSA
4050
4078
  buildCachedSnapshotCachePolicy$k, buildNetworkSnapshotCachePolicy$k);
4051
4079
  };
4052
4080
 
4053
- function validate$R(obj, path = 'ManagedContentPublishInputRepresentation') {
4054
- const v_error = (() => {
4055
- if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4056
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
4057
- }
4058
- if (obj.contentIds !== undefined) {
4059
- const obj_contentIds = obj.contentIds;
4060
- const path_contentIds = path + '.contentIds';
4061
- if (!ArrayIsArray(obj_contentIds)) {
4062
- return new TypeError('Expected "array" but received "' + typeof obj_contentIds + '" (at "' + path_contentIds + '")');
4063
- }
4064
- for (let i = 0; i < obj_contentIds.length; i++) {
4065
- const obj_contentIds_item = obj_contentIds[i];
4066
- const path_contentIds_item = path_contentIds + '[' + i + ']';
4067
- if (typeof obj_contentIds_item !== 'string') {
4068
- return new TypeError('Expected "string" but received "' + typeof obj_contentIds_item + '" (at "' + path_contentIds_item + '")');
4069
- }
4070
- }
4071
- }
4072
- if (obj.contextContentSpaceId !== undefined) {
4073
- const obj_contextContentSpaceId = obj.contextContentSpaceId;
4074
- const path_contextContentSpaceId = path + '.contextContentSpaceId';
4075
- if (typeof obj_contextContentSpaceId !== 'string') {
4076
- return new TypeError('Expected "string" but received "' + typeof obj_contextContentSpaceId + '" (at "' + path_contextContentSpaceId + '")');
4077
- }
4078
- }
4079
- if (obj.description !== undefined) {
4080
- const obj_description = obj.description;
4081
- const path_description = path + '.description';
4082
- if (typeof obj_description !== 'string') {
4083
- return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
4084
- }
4085
- }
4086
- if (obj.includeContentReferences !== undefined) {
4087
- const obj_includeContentReferences = obj.includeContentReferences;
4088
- const path_includeContentReferences = path + '.includeContentReferences';
4089
- if (typeof obj_includeContentReferences !== 'boolean') {
4090
- return new TypeError('Expected "boolean" but received "' + typeof obj_includeContentReferences + '" (at "' + path_includeContentReferences + '")');
4091
- }
4092
- }
4093
- if (obj.variantIds !== undefined) {
4094
- const obj_variantIds = obj.variantIds;
4095
- const path_variantIds = path + '.variantIds';
4096
- if (!ArrayIsArray(obj_variantIds)) {
4097
- return new TypeError('Expected "array" but received "' + typeof obj_variantIds + '" (at "' + path_variantIds + '")');
4098
- }
4099
- for (let i = 0; i < obj_variantIds.length; i++) {
4100
- const obj_variantIds_item = obj_variantIds[i];
4101
- const path_variantIds_item = path_variantIds + '[' + i + ']';
4102
- if (typeof obj_variantIds_item !== 'string') {
4103
- return new TypeError('Expected "string" but received "' + typeof obj_variantIds_item + '" (at "' + path_variantIds_item + '")');
4104
- }
4105
- }
4106
- }
4107
- })();
4108
- return v_error === undefined ? null : v_error;
4109
- }
4110
-
4111
4081
  const TTL$p = 100;
4112
4082
  const VERSION$q = "789bce2e581ff7969982fbf2ffbfd9a5";
4113
- function validate$Q(obj, path = 'ManagedContentPublishOutputRepresentation') {
4083
+ function validate$P(obj, path = 'ManagedContentPublishOutputRepresentation') {
4114
4084
  const v_error = (() => {
4115
4085
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4116
4086
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4204,7 +4174,7 @@ function equals$q(existing, incoming) {
4204
4174
  }
4205
4175
  const ingest$p = function ManagedContentPublishOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4206
4176
  if (process.env.NODE_ENV !== 'production') {
4207
- const validateError = validate$Q(input);
4177
+ const validateError = validate$P(input);
4208
4178
  if (validateError !== null) {
4209
4179
  throw validateError;
4210
4180
  }
@@ -4263,17 +4233,17 @@ function createResourceRequest$z(config) {
4263
4233
 
4264
4234
  const adapterName$z = 'publishManagedContent';
4265
4235
  const publishManagedContent_ConfigPropertyMetadata = [
4266
- generateParamConfigMetadata('publishInput', true, 2 /* Body */, 4 /* Unsupported */),
4236
+ generateParamConfigMetadata('contentIds', false, 2 /* Body */, 0 /* String */, true),
4237
+ generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
4238
+ generateParamConfigMetadata('includeContentReferences', false, 2 /* Body */, 1 /* Boolean */),
4239
+ generateParamConfigMetadata('variantIds', false, 2 /* Body */, 0 /* String */, true),
4240
+ generateParamConfigMetadata('contextContentSpaceId', false, 2 /* Body */, 0 /* String */),
4267
4241
  ];
4268
4242
  const publishManagedContent_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$z, publishManagedContent_ConfigPropertyMetadata);
4269
4243
  const createResourceParams$z = /*#__PURE__*/ createResourceParams$J(publishManagedContent_ConfigPropertyMetadata);
4270
4244
  function typeCheckConfig$z(untrustedConfig) {
4271
4245
  const config = {};
4272
- const untrustedConfig_publishInput = untrustedConfig.publishInput;
4273
- const referenceManagedContentPublishInputRepresentationValidationError = validate$R(untrustedConfig_publishInput);
4274
- if (referenceManagedContentPublishInputRepresentationValidationError === null) {
4275
- config.publishInput = untrustedConfig_publishInput;
4276
- }
4246
+ typeCheckConfig$J(untrustedConfig, config, publishManagedContent_ConfigPropertyMetadata);
4277
4247
  return config;
4278
4248
  }
4279
4249
  function validateAdapterConfig$z(untrustedConfig, configPropertyNames) {
@@ -4318,50 +4288,6 @@ const publishManagedContentAdapterFactory = (luvio) => {
4318
4288
  };
4319
4289
  };
4320
4290
 
4321
- function validate$P(obj, path = 'ManagedContentUnpublishInputRepresentation') {
4322
- const v_error = (() => {
4323
- if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4324
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
4325
- }
4326
- if (obj.contentIds !== undefined) {
4327
- const obj_contentIds = obj.contentIds;
4328
- const path_contentIds = path + '.contentIds';
4329
- if (!ArrayIsArray(obj_contentIds)) {
4330
- return new TypeError('Expected "array" but received "' + typeof obj_contentIds + '" (at "' + path_contentIds + '")');
4331
- }
4332
- for (let i = 0; i < obj_contentIds.length; i++) {
4333
- const obj_contentIds_item = obj_contentIds[i];
4334
- const path_contentIds_item = path_contentIds + '[' + i + ']';
4335
- if (typeof obj_contentIds_item !== 'string') {
4336
- return new TypeError('Expected "string" but received "' + typeof obj_contentIds_item + '" (at "' + path_contentIds_item + '")');
4337
- }
4338
- }
4339
- }
4340
- if (obj.description !== undefined) {
4341
- const obj_description = obj.description;
4342
- const path_description = path + '.description';
4343
- if (typeof obj_description !== 'string') {
4344
- return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
4345
- }
4346
- }
4347
- if (obj.variantIds !== undefined) {
4348
- const obj_variantIds = obj.variantIds;
4349
- const path_variantIds = path + '.variantIds';
4350
- if (!ArrayIsArray(obj_variantIds)) {
4351
- return new TypeError('Expected "array" but received "' + typeof obj_variantIds + '" (at "' + path_variantIds + '")');
4352
- }
4353
- for (let i = 0; i < obj_variantIds.length; i++) {
4354
- const obj_variantIds_item = obj_variantIds[i];
4355
- const path_variantIds_item = path_variantIds + '[' + i + ']';
4356
- if (typeof obj_variantIds_item !== 'string') {
4357
- return new TypeError('Expected "string" but received "' + typeof obj_variantIds_item + '" (at "' + path_variantIds_item + '")');
4358
- }
4359
- }
4360
- }
4361
- })();
4362
- return v_error === undefined ? null : v_error;
4363
- }
4364
-
4365
4291
  const TTL$o = 100;
4366
4292
  const VERSION$p = "2f473ff12e87a4fc2336695104ab8567";
4367
4293
  function validate$O(obj, path = 'ManagedContentUnpublishOutputRepresentation') {
@@ -4517,17 +4443,15 @@ function createResourceRequest$y(config) {
4517
4443
 
4518
4444
  const adapterName$y = 'unpublishManagedContent';
4519
4445
  const unpublishManagedContent_ConfigPropertyMetadata = [
4520
- generateParamConfigMetadata('unpublishInput', true, 2 /* Body */, 4 /* Unsupported */),
4446
+ generateParamConfigMetadata('contentIds', false, 2 /* Body */, 0 /* String */, true),
4447
+ generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
4448
+ generateParamConfigMetadata('variantIds', false, 2 /* Body */, 0 /* String */, true),
4521
4449
  ];
4522
4450
  const unpublishManagedContent_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$y, unpublishManagedContent_ConfigPropertyMetadata);
4523
4451
  const createResourceParams$y = /*#__PURE__*/ createResourceParams$J(unpublishManagedContent_ConfigPropertyMetadata);
4524
4452
  function typeCheckConfig$y(untrustedConfig) {
4525
4453
  const config = {};
4526
- const untrustedConfig_unpublishInput = untrustedConfig.unpublishInput;
4527
- const referenceManagedContentUnpublishInputRepresentationValidationError = validate$P(untrustedConfig_unpublishInput);
4528
- if (referenceManagedContentUnpublishInputRepresentationValidationError === null) {
4529
- config.unpublishInput = untrustedConfig_unpublishInput;
4530
- }
4454
+ typeCheckConfig$J(untrustedConfig, config, unpublishManagedContent_ConfigPropertyMetadata);
4531
4455
  return config;
4532
4456
  }
4533
4457
  function validateAdapterConfig$y(untrustedConfig, configPropertyNames) {
@@ -4647,7 +4571,7 @@ function validate$M(obj, path = 'ManagedContentVariantRepresentation') {
4647
4571
  }
4648
4572
  const obj_contentSpace = obj.contentSpace;
4649
4573
  const path_contentSpace = path + '.contentSpace';
4650
- const referencepath_contentSpaceValidationError = validate$W(obj_contentSpace, path_contentSpace);
4574
+ const referencepath_contentSpaceValidationError = validate$U(obj_contentSpace, path_contentSpace);
4651
4575
  if (referencepath_contentSpaceValidationError !== null) {
4652
4576
  let message = 'Object doesn\'t match ManagedContentSpaceSummaryRepresentation (at "' + path_contentSpace + '")\n';
4653
4577
  message += referencepath_contentSpaceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4655,7 +4579,7 @@ function validate$M(obj, path = 'ManagedContentVariantRepresentation') {
4655
4579
  }
4656
4580
  const obj_contentType = obj.contentType;
4657
4581
  const path_contentType = path + '.contentType';
4658
- const referencepath_contentTypeValidationError = validate$1d(obj_contentType, path_contentType);
4582
+ const referencepath_contentTypeValidationError = validate$1b(obj_contentType, path_contentType);
4659
4583
  if (referencepath_contentTypeValidationError !== null) {
4660
4584
  let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
4661
4585
  message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4663,7 +4587,7 @@ function validate$M(obj, path = 'ManagedContentVariantRepresentation') {
4663
4587
  }
4664
4588
  const obj_createdBy = obj.createdBy;
4665
4589
  const path_createdBy = path + '.createdBy';
4666
- const referencepath_createdByValidationError = validate$1a(obj_createdBy, path_createdBy);
4590
+ const referencepath_createdByValidationError = validate$18(obj_createdBy, path_createdBy);
4667
4591
  if (referencepath_createdByValidationError !== null) {
4668
4592
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
4669
4593
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4676,7 +4600,7 @@ function validate$M(obj, path = 'ManagedContentVariantRepresentation') {
4676
4600
  }
4677
4601
  const obj_folder = obj.folder;
4678
4602
  const path_folder = path + '.folder';
4679
- const referencepath_folderValidationError = validate$V(obj_folder, path_folder);
4603
+ const referencepath_folderValidationError = validate$T(obj_folder, path_folder);
4680
4604
  if (referencepath_folderValidationError !== null) {
4681
4605
  let message = 'Object doesn\'t match ManagedContentFolderSummaryRepresentation (at "' + path_folder + '")\n';
4682
4606
  message += referencepath_folderValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4694,7 +4618,7 @@ function validate$M(obj, path = 'ManagedContentVariantRepresentation') {
4694
4618
  }
4695
4619
  const obj_lastModifiedBy = obj.lastModifiedBy;
4696
4620
  const path_lastModifiedBy = path + '.lastModifiedBy';
4697
- const referencepath_lastModifiedByValidationError = validate$1a(obj_lastModifiedBy, path_lastModifiedBy);
4621
+ const referencepath_lastModifiedByValidationError = validate$18(obj_lastModifiedBy, path_lastModifiedBy);
4698
4622
  if (referencepath_lastModifiedByValidationError !== null) {
4699
4623
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
4700
4624
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4722,7 +4646,7 @@ function validate$M(obj, path = 'ManagedContentVariantRepresentation') {
4722
4646
  }
4723
4647
  const obj_status = obj.status;
4724
4648
  const path_status = path + '.status';
4725
- const referencepath_statusValidationError = validate$U(obj_status, path_status);
4649
+ const referencepath_statusValidationError = validate$S(obj_status, path_status);
4726
4650
  if (referencepath_statusValidationError !== null) {
4727
4651
  let message = 'Object doesn\'t match ManagedContentVariantStatusRepresentation (at "' + path_status + '")\n';
4728
4652
  message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5248,7 +5172,7 @@ function validate$K(obj, path = 'ManagedContentVariantVersionRepresentation') {
5248
5172
  }
5249
5173
  const obj_createdBy = obj.createdBy;
5250
5174
  const path_createdBy = path + '.createdBy';
5251
- const referencepath_createdByValidationError = validate$1a(obj_createdBy, path_createdBy);
5175
+ const referencepath_createdByValidationError = validate$18(obj_createdBy, path_createdBy);
5252
5176
  if (referencepath_createdByValidationError !== null) {
5253
5177
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
5254
5178
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5261,7 +5185,7 @@ function validate$K(obj, path = 'ManagedContentVariantVersionRepresentation') {
5261
5185
  }
5262
5186
  const obj_lastModifiedBy = obj.lastModifiedBy;
5263
5187
  const path_lastModifiedBy = path + '.lastModifiedBy';
5264
- const referencepath_lastModifiedByValidationError = validate$1a(obj_lastModifiedBy, path_lastModifiedBy);
5188
+ const referencepath_lastModifiedByValidationError = validate$18(obj_lastModifiedBy, path_lastModifiedBy);
5265
5189
  if (referencepath_lastModifiedByValidationError !== null) {
5266
5190
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
5267
5191
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5279,7 +5203,7 @@ function validate$K(obj, path = 'ManagedContentVariantVersionRepresentation') {
5279
5203
  }
5280
5204
  const obj_status = obj.status;
5281
5205
  const path_status = path + '.status';
5282
- const referencepath_statusValidationError = validate$U(obj_status, path_status);
5206
+ const referencepath_statusValidationError = validate$S(obj_status, path_status);
5283
5207
  if (referencepath_statusValidationError !== null) {
5284
5208
  let message = 'Object doesn\'t match ManagedContentVariantStatusRepresentation (at "' + path_status + '")\n';
5285
5209
  message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6203,7 +6127,7 @@ function validate$A(obj, path = 'ManagedContentDocumentCloneRepresentation') {
6203
6127
  if (obj.folder !== undefined) {
6204
6128
  const obj_folder = obj.folder;
6205
6129
  const path_folder = path + '.folder';
6206
- const referencepath_folderValidationError = validate$V(obj_folder, path_folder);
6130
+ const referencepath_folderValidationError = validate$T(obj_folder, path_folder);
6207
6131
  if (referencepath_folderValidationError !== null) {
6208
6132
  let message = 'Object doesn\'t match ManagedContentFolderSummaryRepresentation (at "' + path_folder + '")\n';
6209
6133
  message += referencepath_folderValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -7548,7 +7472,7 @@ function validate$t(obj, path = 'AbstractManagedContentReferencedByItemRepresent
7548
7472
  const path_contentType = path + '.contentType';
7549
7473
  let obj_contentType_union0 = null;
7550
7474
  const obj_contentType_union0_error = (() => {
7551
- const referencepath_contentTypeValidationError = validate$1d(obj_contentType, path_contentType);
7475
+ const referencepath_contentTypeValidationError = validate$1b(obj_contentType, path_contentType);
7552
7476
  if (referencepath_contentTypeValidationError !== null) {
7553
7477
  let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
7554
7478
  message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -7928,7 +7852,7 @@ function validate$q(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
7928
7852
  }
7929
7853
  const obj_contentType = obj.contentType;
7930
7854
  const path_contentType = path + '.contentType';
7931
- const referencepath_contentTypeValidationError = validate$1d(obj_contentType, path_contentType);
7855
+ const referencepath_contentTypeValidationError = validate$1b(obj_contentType, path_contentType);
7932
7856
  if (referencepath_contentTypeValidationError !== null) {
7933
7857
  let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
7934
7858
  message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -7936,7 +7860,7 @@ function validate$q(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
7936
7860
  }
7937
7861
  const obj_createdBy = obj.createdBy;
7938
7862
  const path_createdBy = path + '.createdBy';
7939
- const referencepath_createdByValidationError = validate$1a(obj_createdBy, path_createdBy);
7863
+ const referencepath_createdByValidationError = validate$18(obj_createdBy, path_createdBy);
7940
7864
  if (referencepath_createdByValidationError !== null) {
7941
7865
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
7942
7866
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -7962,7 +7886,7 @@ function validate$q(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
7962
7886
  }
7963
7887
  const obj_lastModifiedBy = obj.lastModifiedBy;
7964
7888
  const path_lastModifiedBy = path + '.lastModifiedBy';
7965
- const referencepath_lastModifiedByValidationError = validate$1a(obj_lastModifiedBy, path_lastModifiedBy);
7889
+ const referencepath_lastModifiedByValidationError = validate$18(obj_lastModifiedBy, path_lastModifiedBy);
7966
7890
  if (referencepath_lastModifiedByValidationError !== null) {
7967
7891
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
7968
7892
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -7995,7 +7919,7 @@ function validate$q(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
7995
7919
  }
7996
7920
  const obj_status = obj.status;
7997
7921
  const path_status = path + '.status';
7998
- const referencepath_statusValidationError = validate$U(obj_status, path_status);
7922
+ const referencepath_statusValidationError = validate$S(obj_status, path_status);
7999
7923
  if (referencepath_statusValidationError !== null) {
8000
7924
  let message = 'Object doesn\'t match ManagedContentVariantStatusRepresentation (at "' + path_status + '")\n';
8001
7925
  message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -8653,7 +8577,7 @@ function validate$m(obj, path = 'ManagedContentSpaceFolderItemRepresentation') {
8653
8577
  if (obj.contentType !== undefined) {
8654
8578
  const obj_contentType = obj.contentType;
8655
8579
  const path_contentType = path + '.contentType';
8656
- const referencepath_contentTypeValidationError = validate$1d(obj_contentType, path_contentType);
8580
+ const referencepath_contentTypeValidationError = validate$1b(obj_contentType, path_contentType);
8657
8581
  if (referencepath_contentTypeValidationError !== null) {
8658
8582
  let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
8659
8583
  message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -9600,7 +9524,7 @@ function validate$f(obj, path = 'AbstractManagedContentSearchResultRepresentatio
9600
9524
  }
9601
9525
  const obj_createdBy = obj.createdBy;
9602
9526
  const path_createdBy = path + '.createdBy';
9603
- const referencepath_createdByValidationError = validate$1a(obj_createdBy, path_createdBy);
9527
+ const referencepath_createdByValidationError = validate$18(obj_createdBy, path_createdBy);
9604
9528
  if (referencepath_createdByValidationError !== null) {
9605
9529
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
9606
9530
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -9613,7 +9537,7 @@ function validate$f(obj, path = 'AbstractManagedContentSearchResultRepresentatio
9613
9537
  }
9614
9538
  const obj_folder = obj.folder;
9615
9539
  const path_folder = path + '.folder';
9616
- const referencepath_folderValidationError = validate$V(obj_folder, path_folder);
9540
+ const referencepath_folderValidationError = validate$T(obj_folder, path_folder);
9617
9541
  if (referencepath_folderValidationError !== null) {
9618
9542
  let message = 'Object doesn\'t match ManagedContentFolderSummaryRepresentation (at "' + path_folder + '")\n';
9619
9543
  message += referencepath_folderValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -9626,7 +9550,7 @@ function validate$f(obj, path = 'AbstractManagedContentSearchResultRepresentatio
9626
9550
  }
9627
9551
  const obj_lastModifiedBy = obj.lastModifiedBy;
9628
9552
  const path_lastModifiedBy = path + '.lastModifiedBy';
9629
- const referencepath_lastModifiedByValidationError = validate$1a(obj_lastModifiedBy, path_lastModifiedBy);
9553
+ const referencepath_lastModifiedByValidationError = validate$18(obj_lastModifiedBy, path_lastModifiedBy);
9630
9554
  if (referencepath_lastModifiedByValidationError !== null) {
9631
9555
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
9632
9556
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -10893,7 +10817,7 @@ function validate$9(obj, path = 'ManagedContentSingleItemDocumentRepresentation'
10893
10817
  }
10894
10818
  const obj_contentSpace = obj.contentSpace;
10895
10819
  const path_contentSpace = path + '.contentSpace';
10896
- const referencepath_contentSpaceValidationError = validate$W(obj_contentSpace, path_contentSpace);
10820
+ const referencepath_contentSpaceValidationError = validate$U(obj_contentSpace, path_contentSpace);
10897
10821
  if (referencepath_contentSpaceValidationError !== null) {
10898
10822
  let message = 'Object doesn\'t match ManagedContentSpaceSummaryRepresentation (at "' + path_contentSpace + '")\n';
10899
10823
  message += referencepath_contentSpaceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -10901,7 +10825,7 @@ function validate$9(obj, path = 'ManagedContentSingleItemDocumentRepresentation'
10901
10825
  }
10902
10826
  const obj_contentType = obj.contentType;
10903
10827
  const path_contentType = path + '.contentType';
10904
- const referencepath_contentTypeValidationError = validate$1d(obj_contentType, path_contentType);
10828
+ const referencepath_contentTypeValidationError = validate$1b(obj_contentType, path_contentType);
10905
10829
  if (referencepath_contentTypeValidationError !== null) {
10906
10830
  let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
10907
10831
  message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -10909,7 +10833,7 @@ function validate$9(obj, path = 'ManagedContentSingleItemDocumentRepresentation'
10909
10833
  }
10910
10834
  const obj_createdBy = obj.createdBy;
10911
10835
  const path_createdBy = path + '.createdBy';
10912
- const referencepath_createdByValidationError = validate$1a(obj_createdBy, path_createdBy);
10836
+ const referencepath_createdByValidationError = validate$18(obj_createdBy, path_createdBy);
10913
10837
  if (referencepath_createdByValidationError !== null) {
10914
10838
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
10915
10839
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -10922,7 +10846,7 @@ function validate$9(obj, path = 'ManagedContentSingleItemDocumentRepresentation'
10922
10846
  }
10923
10847
  const obj_folder = obj.folder;
10924
10848
  const path_folder = path + '.folder';
10925
- const referencepath_folderValidationError = validate$V(obj_folder, path_folder);
10849
+ const referencepath_folderValidationError = validate$T(obj_folder, path_folder);
10926
10850
  if (referencepath_folderValidationError !== null) {
10927
10851
  let message = 'Object doesn\'t match ManagedContentFolderSummaryRepresentation (at "' + path_folder + '")\n';
10928
10852
  message += referencepath_folderValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -10940,7 +10864,7 @@ function validate$9(obj, path = 'ManagedContentSingleItemDocumentRepresentation'
10940
10864
  }
10941
10865
  const obj_lastModifiedBy = obj.lastModifiedBy;
10942
10866
  const path_lastModifiedBy = path + '.lastModifiedBy';
10943
- const referencepath_lastModifiedByValidationError = validate$1a(obj_lastModifiedBy, path_lastModifiedBy);
10867
+ const referencepath_lastModifiedByValidationError = validate$18(obj_lastModifiedBy, path_lastModifiedBy);
10944
10868
  if (referencepath_lastModifiedByValidationError !== null) {
10945
10869
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
10946
10870
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -10971,7 +10895,7 @@ function validate$9(obj, path = 'ManagedContentSingleItemDocumentRepresentation'
10971
10895
  const path_status = path + '.status';
10972
10896
  let obj_status_union0 = null;
10973
10897
  const obj_status_union0_error = (() => {
10974
- const referencepath_statusValidationError = validate$U(obj_status, path_status);
10898
+ const referencepath_statusValidationError = validate$S(obj_status, path_status);
10975
10899
  if (referencepath_statusValidationError !== null) {
10976
10900
  let message = 'Object doesn\'t match ManagedContentVariantStatusRepresentation (at "' + path_status + '")\n';
10977
10901
  message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -11607,7 +11531,7 @@ function validate$5(obj, path = 'ManagedContentTypeSummaryCollectionRepresentati
11607
11531
  for (let i = 0; i < obj_contentTypes.length; i++) {
11608
11532
  const obj_contentTypes_item = obj_contentTypes[i];
11609
11533
  const path_contentTypes_item = path_contentTypes + '[' + i + ']';
11610
- const referencepath_contentTypes_itemValidationError = validate$1d(obj_contentTypes_item, path_contentTypes_item);
11534
+ const referencepath_contentTypes_itemValidationError = validate$1b(obj_contentTypes_item, path_contentTypes_item);
11611
11535
  if (referencepath_contentTypes_itemValidationError !== null) {
11612
11536
  let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentTypes_item + '")\n';
11613
11537
  message += referencepath_contentTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');