@salesforce/lds-adapters-cms-authoring 1.174.1 → 1.176.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.
@@ -72,7 +72,7 @@ function createLink(ref) {
72
72
  };
73
73
  }
74
74
 
75
- function validate$J(obj, path = 'ManagedContentDeploymentItemRepresentation') {
75
+ function validate$L(obj, path = 'ManagedContentDeploymentItemRepresentation') {
76
76
  const v_error = (() => {
77
77
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
78
78
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -129,7 +129,7 @@ function validate$J(obj, path = 'ManagedContentDeploymentItemRepresentation') {
129
129
 
130
130
  const TTL$j = 1000;
131
131
  const VERSION$l = "ca653daea9600118e6167b9b4ff4d07c";
132
- function validate$I(obj, path = 'ManagedContentDeploymentRepresentation') {
132
+ function validate$K(obj, path = 'ManagedContentDeploymentRepresentation') {
133
133
  const v_error = (() => {
134
134
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
135
135
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -199,7 +199,7 @@ function validate$I(obj, path = 'ManagedContentDeploymentRepresentation') {
199
199
  for (let i = 0; i < obj_deploymentItems.length; i++) {
200
200
  const obj_deploymentItems_item = obj_deploymentItems[i];
201
201
  const path_deploymentItems_item = path_deploymentItems + '[' + i + ']';
202
- const referencepath_deploymentItems_itemValidationError = validate$J(obj_deploymentItems_item, path_deploymentItems_item);
202
+ const referencepath_deploymentItems_itemValidationError = validate$L(obj_deploymentItems_item, path_deploymentItems_item);
203
203
  if (referencepath_deploymentItems_itemValidationError !== null) {
204
204
  let message = 'Object doesn\'t match ManagedContentDeploymentItemRepresentation (at "' + path_deploymentItems_item + '")\n';
205
205
  message += referencepath_deploymentItems_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -342,7 +342,7 @@ function equals$l(existing, incoming) {
342
342
  }
343
343
  const ingest$j = function ManagedContentDeploymentRepresentationIngest(input, path, luvio, store, timestamp) {
344
344
  if (process.env.NODE_ENV !== 'production') {
345
- const validateError = validate$I(input);
345
+ const validateError = validate$K(input);
346
346
  if (validateError !== null) {
347
347
  throw validateError;
348
348
  }
@@ -382,7 +382,7 @@ function getTypeCacheKeys$j(rootKeySet, luvio, input, fullPathFactory) {
382
382
 
383
383
  const TTL$i = 100;
384
384
  const VERSION$k = "b2c15aa80814ecd854e68bf635879e35";
385
- function validate$H(obj, path = 'ManagedContentDeploymentCollectionRepresentation') {
385
+ function validate$J(obj, path = 'ManagedContentDeploymentCollectionRepresentation') {
386
386
  const v_error = (() => {
387
387
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
388
388
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -536,7 +536,7 @@ function equals$k(existing, incoming) {
536
536
  }
537
537
  const ingest$i = function ManagedContentDeploymentCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
538
538
  if (process.env.NODE_ENV !== 'production') {
539
- const validateError = validate$H(input);
539
+ const validateError = validate$J(input);
540
540
  if (validateError !== null) {
541
541
  throw validateError;
542
542
  }
@@ -766,7 +766,7 @@ const getDeploymentByIdAdapterFactory = (luvio) => function CMSAuthoring__getDep
766
766
  buildCachedSnapshotCachePolicy$e, buildNetworkSnapshotCachePolicy$e);
767
767
  };
768
768
 
769
- function validate$G(obj, path = 'ManagedContentDeploymentInputRepresentation') {
769
+ function validate$I(obj, path = 'ManagedContentDeploymentInputRepresentation') {
770
770
  const v_error = (() => {
771
771
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
772
772
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -905,7 +905,7 @@ function createResourceParams$o(config) {
905
905
  function typeCheckConfig$o(untrustedConfig) {
906
906
  const config = {};
907
907
  const untrustedConfig_DeploymentInput = untrustedConfig.DeploymentInput;
908
- const referenceManagedContentDeploymentInputRepresentationValidationError = validate$G(untrustedConfig_DeploymentInput);
908
+ const referenceManagedContentDeploymentInputRepresentationValidationError = validate$I(untrustedConfig_DeploymentInput);
909
909
  if (referenceManagedContentDeploymentInputRepresentationValidationError === null) {
910
910
  config.DeploymentInput = untrustedConfig_DeploymentInput;
911
911
  }
@@ -953,7 +953,7 @@ const createDeploymentAdapterFactory = (luvio) => {
953
953
  };
954
954
  };
955
955
 
956
- function validate$F(obj, path = 'ManagedContentSpaceFolderItemV1Representation') {
956
+ function validate$H(obj, path = 'ManagedContentSpaceFolderItemV1Representation') {
957
957
  const v_error = (() => {
958
958
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
959
959
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1043,7 +1043,7 @@ function validate$F(obj, path = 'ManagedContentSpaceFolderItemV1Representation')
1043
1043
 
1044
1044
  const TTL$h = 100;
1045
1045
  const VERSION$j = "df1370994ae2e57cdebc5f5125930e2d";
1046
- function validate$E(obj, path = 'ManagedContentSpaceFolderItemV1CollectionRepresentation') {
1046
+ function validate$G(obj, path = 'ManagedContentSpaceFolderItemV1CollectionRepresentation') {
1047
1047
  const v_error = (() => {
1048
1048
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1049
1049
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1061,7 +1061,7 @@ function validate$E(obj, path = 'ManagedContentSpaceFolderItemV1CollectionRepres
1061
1061
  for (let i = 0; i < obj_folderItems.length; i++) {
1062
1062
  const obj_folderItems_item = obj_folderItems[i];
1063
1063
  const path_folderItems_item = path_folderItems + '[' + i + ']';
1064
- const referencepath_folderItems_itemValidationError = validate$F(obj_folderItems_item, path_folderItems_item);
1064
+ const referencepath_folderItems_itemValidationError = validate$H(obj_folderItems_item, path_folderItems_item);
1065
1065
  if (referencepath_folderItems_itemValidationError !== null) {
1066
1066
  let message = 'Object doesn\'t match ManagedContentSpaceFolderItemV1Representation (at "' + path_folderItems_item + '")\n';
1067
1067
  message += referencepath_folderItems_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1117,7 +1117,7 @@ function equals$j(existing, incoming) {
1117
1117
  }
1118
1118
  const ingest$h = function ManagedContentSpaceFolderItemV1CollectionRepresentationIngest(input, path, luvio, store, timestamp) {
1119
1119
  if (process.env.NODE_ENV !== 'production') {
1120
- const validateError = validate$E(input);
1120
+ const validateError = validate$G(input);
1121
1121
  if (validateError !== null) {
1122
1122
  throw validateError;
1123
1123
  }
@@ -1370,7 +1370,7 @@ const getManagedContentSpaceFolderItemsV1AdapterFactory = (luvio) => function CM
1370
1370
  };
1371
1371
 
1372
1372
  const VERSION$i = "7297fb0dbfe8f664d76179a65037c290";
1373
- function validate$D(obj, path = 'ManagedContentTypeSummaryRepresentation') {
1373
+ function validate$F(obj, path = 'ManagedContentTypeSummaryRepresentation') {
1374
1374
  const v_error = (() => {
1375
1375
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1376
1376
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1430,7 +1430,7 @@ function equals$i(existing, incoming) {
1430
1430
  return true;
1431
1431
  }
1432
1432
 
1433
- function validate$C(obj, path = 'ManagedContentCollectionItemTypeSummaryRepresentation') {
1433
+ function validate$E(obj, path = 'ManagedContentCollectionItemTypeSummaryRepresentation') {
1434
1434
  const v_error = (() => {
1435
1435
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1436
1436
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1449,7 +1449,7 @@ function validate$C(obj, path = 'ManagedContentCollectionItemTypeSummaryRepresen
1449
1449
  return v_error === undefined ? null : v_error;
1450
1450
  }
1451
1451
 
1452
- function validate$B(obj, path = 'ManagedContentCollectionItemRepresentation') {
1452
+ function validate$D(obj, path = 'ManagedContentCollectionItemRepresentation') {
1453
1453
  const v_error = (() => {
1454
1454
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1455
1455
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1470,7 +1470,7 @@ function validate$B(obj, path = 'ManagedContentCollectionItemRepresentation') {
1470
1470
  }
1471
1471
  const obj_contentType = obj.contentType;
1472
1472
  const path_contentType = path + '.contentType';
1473
- const referencepath_contentTypeValidationError = validate$C(obj_contentType, path_contentType);
1473
+ const referencepath_contentTypeValidationError = validate$E(obj_contentType, path_contentType);
1474
1474
  if (referencepath_contentTypeValidationError !== null) {
1475
1475
  let message = 'Object doesn\'t match ManagedContentCollectionItemTypeSummaryRepresentation (at "' + path_contentType + '")\n';
1476
1476
  message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1492,7 +1492,7 @@ function validate$B(obj, path = 'ManagedContentCollectionItemRepresentation') {
1492
1492
 
1493
1493
  const TTL$g = 100;
1494
1494
  const VERSION$h = "eeea454f1268ece5c3e24c986688b876";
1495
- function validate$A(obj, path = 'ManagedContentCollectionDetailRepresentation') {
1495
+ function validate$C(obj, path = 'ManagedContentCollectionDetailRepresentation') {
1496
1496
  const v_error = (() => {
1497
1497
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1498
1498
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1504,7 +1504,7 @@ function validate$A(obj, path = 'ManagedContentCollectionDetailRepresentation')
1504
1504
  }
1505
1505
  const obj_collectionType = obj.collectionType;
1506
1506
  const path_collectionType = path + '.collectionType';
1507
- const referencepath_collectionTypeValidationError = validate$D(obj_collectionType, path_collectionType);
1507
+ const referencepath_collectionTypeValidationError = validate$F(obj_collectionType, path_collectionType);
1508
1508
  if (referencepath_collectionTypeValidationError !== null) {
1509
1509
  let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_collectionType + '")\n';
1510
1510
  message += referencepath_collectionTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1528,7 +1528,7 @@ function validate$A(obj, path = 'ManagedContentCollectionDetailRepresentation')
1528
1528
  for (let i = 0; i < obj_items.length; i++) {
1529
1529
  const obj_items_item = obj_items[i];
1530
1530
  const path_items_item = path_items + '[' + i + ']';
1531
- const referencepath_items_itemValidationError = validate$B(obj_items_item, path_items_item);
1531
+ const referencepath_items_itemValidationError = validate$D(obj_items_item, path_items_item);
1532
1532
  if (referencepath_items_itemValidationError !== null) {
1533
1533
  let message = 'Object doesn\'t match ManagedContentCollectionItemRepresentation (at "' + path_items_item + '")\n';
1534
1534
  message += referencepath_items_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1594,7 +1594,7 @@ function equals$h(existing, incoming) {
1594
1594
  }
1595
1595
  const ingest$g = function ManagedContentCollectionDetailRepresentationIngest(input, path, luvio, store, timestamp) {
1596
1596
  if (process.env.NODE_ENV !== 'production') {
1597
- const validateError = validate$A(input);
1597
+ const validateError = validate$C(input);
1598
1598
  if (validateError !== null) {
1599
1599
  throw validateError;
1600
1600
  }
@@ -1826,7 +1826,7 @@ const getCollectionItemsAdapterFactory = (luvio) => function CMSAuthoring__getCo
1826
1826
  buildCachedSnapshotCachePolicy$c, buildNetworkSnapshotCachePolicy$c);
1827
1827
  };
1828
1828
 
1829
- function validate$z(obj, path = 'ManagedContentTranslationV2RequestInputRep') {
1829
+ function validate$B(obj, path = 'ManagedContentTranslationV2RequestInputRep') {
1830
1830
  const v_error = (() => {
1831
1831
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1832
1832
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1898,7 +1898,7 @@ function validate$z(obj, path = 'ManagedContentTranslationV2RequestInputRep') {
1898
1898
 
1899
1899
  const TTL$f = 100;
1900
1900
  const VERSION$g = "52e643b998d6763482c6d74542b38408";
1901
- function validate$y(obj, path = 'ManagedContentTranslationV2Representation') {
1901
+ function validate$A(obj, path = 'ManagedContentTranslationV2Representation') {
1902
1902
  const v_error = (() => {
1903
1903
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1904
1904
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2084,7 +2084,7 @@ function equals$g(existing, incoming) {
2084
2084
  }
2085
2085
  const ingest$f = function ManagedContentTranslationV2RepresentationIngest(input, path, luvio, store, timestamp) {
2086
2086
  if (process.env.NODE_ENV !== 'production') {
2087
- const validateError = validate$y(input);
2087
+ const validateError = validate$A(input);
2088
2088
  if (validateError !== null) {
2089
2089
  throw validateError;
2090
2090
  }
@@ -2184,7 +2184,7 @@ function typeCheckConfig$l(untrustedConfig) {
2184
2184
  config.contentSpaceId = untrustedConfig_contentSpaceId;
2185
2185
  }
2186
2186
  const untrustedConfig_translationV2Request = untrustedConfig.translationV2Request;
2187
- const referenceManagedContentTranslationV2RequestInputRepValidationError = validate$z(untrustedConfig_translationV2Request);
2187
+ const referenceManagedContentTranslationV2RequestInputRepValidationError = validate$B(untrustedConfig_translationV2Request);
2188
2188
  if (referenceManagedContentTranslationV2RequestInputRepValidationError === null) {
2189
2189
  config.translationV2Request = untrustedConfig_translationV2Request;
2190
2190
  }
@@ -2232,7 +2232,7 @@ const createTranslationV2JobAdapterFactory = (luvio) => {
2232
2232
  };
2233
2233
  };
2234
2234
 
2235
- function validate$x(obj, path = 'ManagedContentInputRepresentation') {
2235
+ function validate$z(obj, path = 'ManagedContentInputRepresentation') {
2236
2236
  const v_error = (() => {
2237
2237
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2238
2238
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2275,7 +2275,7 @@ function validate$x(obj, path = 'ManagedContentInputRepresentation') {
2275
2275
  return v_error === undefined ? null : v_error;
2276
2276
  }
2277
2277
 
2278
- function validate$w(obj, path = 'ManagedContentSpaceSummaryRepresentation') {
2278
+ function validate$y(obj, path = 'ManagedContentSpaceSummaryRepresentation') {
2279
2279
  const v_error = (() => {
2280
2280
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2281
2281
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2294,7 +2294,7 @@ function validate$w(obj, path = 'ManagedContentSpaceSummaryRepresentation') {
2294
2294
  return v_error === undefined ? null : v_error;
2295
2295
  }
2296
2296
 
2297
- function validate$v(obj, path = 'ManagedContentUserSummaryRepresentation') {
2297
+ function validate$x(obj, path = 'ManagedContentUserSummaryRepresentation') {
2298
2298
  const v_error = (() => {
2299
2299
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2300
2300
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2320,7 +2320,7 @@ function validate$v(obj, path = 'ManagedContentUserSummaryRepresentation') {
2320
2320
  return v_error === undefined ? null : v_error;
2321
2321
  }
2322
2322
 
2323
- function validate$u(obj, path = 'ManagedContentFolderSummaryRepresentation') {
2323
+ function validate$w(obj, path = 'ManagedContentFolderSummaryRepresentation') {
2324
2324
  const v_error = (() => {
2325
2325
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2326
2326
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2339,7 +2339,7 @@ function validate$u(obj, path = 'ManagedContentFolderSummaryRepresentation') {
2339
2339
  return v_error === undefined ? null : v_error;
2340
2340
  }
2341
2341
 
2342
- function validate$t(obj, path = 'ManagedContentVariantStatusRepresentation') {
2342
+ function validate$v(obj, path = 'ManagedContentVariantStatusRepresentation') {
2343
2343
  const v_error = (() => {
2344
2344
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2345
2345
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2358,8 +2358,68 @@ function validate$t(obj, path = 'ManagedContentVariantStatusRepresentation') {
2358
2358
  return v_error === undefined ? null : v_error;
2359
2359
  }
2360
2360
 
2361
+ function validate$u(obj, path = 'WebPagePublicationChannelRepresentation') {
2362
+ const v_error = (() => {
2363
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2364
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2365
+ }
2366
+ const obj_baseUrl = obj.baseUrl;
2367
+ const path_baseUrl = path + '.baseUrl';
2368
+ if (typeof obj_baseUrl !== 'string') {
2369
+ return new TypeError('Expected "string" but received "' + typeof obj_baseUrl + '" (at "' + path_baseUrl + '")');
2370
+ }
2371
+ const obj_domainUrl = obj.domainUrl;
2372
+ const path_domainUrl = path + '.domainUrl';
2373
+ if (typeof obj_domainUrl !== 'string') {
2374
+ return new TypeError('Expected "string" but received "' + typeof obj_domainUrl + '" (at "' + path_domainUrl + '")');
2375
+ }
2376
+ const obj_id = obj.id;
2377
+ const path_id = path + '.id';
2378
+ if (typeof obj_id !== 'string') {
2379
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
2380
+ }
2381
+ })();
2382
+ return v_error === undefined ? null : v_error;
2383
+ }
2384
+
2385
+ function validate$t(obj, path = 'WebPagePublicationRepresentation') {
2386
+ const v_error = (() => {
2387
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2388
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2389
+ }
2390
+ const obj_channels = obj.channels;
2391
+ const path_channels = path + '.channels';
2392
+ if (!ArrayIsArray(obj_channels)) {
2393
+ return new TypeError('Expected "array" but received "' + typeof obj_channels + '" (at "' + path_channels + '")');
2394
+ }
2395
+ for (let i = 0; i < obj_channels.length; i++) {
2396
+ const obj_channels_item = obj_channels[i];
2397
+ const path_channels_item = path_channels + '[' + i + ']';
2398
+ const referencepath_channels_itemValidationError = validate$u(obj_channels_item, path_channels_item);
2399
+ if (referencepath_channels_itemValidationError !== null) {
2400
+ let message = 'Object doesn\'t match WebPagePublicationChannelRepresentation (at "' + path_channels_item + '")\n';
2401
+ message += referencepath_channels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
2402
+ return new TypeError(message);
2403
+ }
2404
+ }
2405
+ const obj_urlAliases = obj.urlAliases;
2406
+ const path_urlAliases = path + '.urlAliases';
2407
+ if (!ArrayIsArray(obj_urlAliases)) {
2408
+ return new TypeError('Expected "array" but received "' + typeof obj_urlAliases + '" (at "' + path_urlAliases + '")');
2409
+ }
2410
+ for (let i = 0; i < obj_urlAliases.length; i++) {
2411
+ const obj_urlAliases_item = obj_urlAliases[i];
2412
+ const path_urlAliases_item = path_urlAliases + '[' + i + ']';
2413
+ if (typeof obj_urlAliases_item !== 'string') {
2414
+ return new TypeError('Expected "string" but received "' + typeof obj_urlAliases_item + '" (at "' + path_urlAliases_item + '")');
2415
+ }
2416
+ }
2417
+ })();
2418
+ return v_error === undefined ? null : v_error;
2419
+ }
2420
+
2361
2421
  const TTL$e = 100;
2362
- const VERSION$f = "c04d826180efa7be6ad6764b5928469e";
2422
+ const VERSION$f = "87bd11d179328f1b46dcb10980fb157b";
2363
2423
  function validate$s(obj, path = 'ManagedContentDocumentRepresentation') {
2364
2424
  const v_error = (() => {
2365
2425
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -2386,7 +2446,7 @@ function validate$s(obj, path = 'ManagedContentDocumentRepresentation') {
2386
2446
  }
2387
2447
  const obj_contentSpace = obj.contentSpace;
2388
2448
  const path_contentSpace = path + '.contentSpace';
2389
- const referencepath_contentSpaceValidationError = validate$w(obj_contentSpace, path_contentSpace);
2449
+ const referencepath_contentSpaceValidationError = validate$y(obj_contentSpace, path_contentSpace);
2390
2450
  if (referencepath_contentSpaceValidationError !== null) {
2391
2451
  let message = 'Object doesn\'t match ManagedContentSpaceSummaryRepresentation (at "' + path_contentSpace + '")\n';
2392
2452
  message += referencepath_contentSpaceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2394,7 +2454,7 @@ function validate$s(obj, path = 'ManagedContentDocumentRepresentation') {
2394
2454
  }
2395
2455
  const obj_contentType = obj.contentType;
2396
2456
  const path_contentType = path + '.contentType';
2397
- const referencepath_contentTypeValidationError = validate$D(obj_contentType, path_contentType);
2457
+ const referencepath_contentTypeValidationError = validate$F(obj_contentType, path_contentType);
2398
2458
  if (referencepath_contentTypeValidationError !== null) {
2399
2459
  let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
2400
2460
  message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2402,7 +2462,7 @@ function validate$s(obj, path = 'ManagedContentDocumentRepresentation') {
2402
2462
  }
2403
2463
  const obj_createdBy = obj.createdBy;
2404
2464
  const path_createdBy = path + '.createdBy';
2405
- const referencepath_createdByValidationError = validate$v(obj_createdBy, path_createdBy);
2465
+ const referencepath_createdByValidationError = validate$x(obj_createdBy, path_createdBy);
2406
2466
  if (referencepath_createdByValidationError !== null) {
2407
2467
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
2408
2468
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2415,7 +2475,7 @@ function validate$s(obj, path = 'ManagedContentDocumentRepresentation') {
2415
2475
  }
2416
2476
  const obj_folder = obj.folder;
2417
2477
  const path_folder = path + '.folder';
2418
- const referencepath_folderValidationError = validate$u(obj_folder, path_folder);
2478
+ const referencepath_folderValidationError = validate$w(obj_folder, path_folder);
2419
2479
  if (referencepath_folderValidationError !== null) {
2420
2480
  let message = 'Object doesn\'t match ManagedContentFolderSummaryRepresentation (at "' + path_folder + '")\n';
2421
2481
  message += referencepath_folderValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2433,7 +2493,7 @@ function validate$s(obj, path = 'ManagedContentDocumentRepresentation') {
2433
2493
  }
2434
2494
  const obj_lastModifiedBy = obj.lastModifiedBy;
2435
2495
  const path_lastModifiedBy = path + '.lastModifiedBy';
2436
- const referencepath_lastModifiedByValidationError = validate$v(obj_lastModifiedBy, path_lastModifiedBy);
2496
+ const referencepath_lastModifiedByValidationError = validate$x(obj_lastModifiedBy, path_lastModifiedBy);
2437
2497
  if (referencepath_lastModifiedByValidationError !== null) {
2438
2498
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
2439
2499
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2464,7 +2524,7 @@ function validate$s(obj, path = 'ManagedContentDocumentRepresentation') {
2464
2524
  const path_status = path + '.status';
2465
2525
  let obj_status_union0 = null;
2466
2526
  const obj_status_union0_error = (() => {
2467
- const referencepath_statusValidationError = validate$t(obj_status, path_status);
2527
+ const referencepath_statusValidationError = validate$v(obj_status, path_status);
2468
2528
  if (referencepath_statusValidationError !== null) {
2469
2529
  let message = 'Object doesn\'t match ManagedContentVariantStatusRepresentation (at "' + path_status + '")\n';
2470
2530
  message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2531,6 +2591,37 @@ function validate$s(obj, path = 'ManagedContentDocumentRepresentation') {
2531
2591
  message += '\n' + obj_versionNumber_union1.split('\n').map((line) => '\t' + line).join('\n');
2532
2592
  return new TypeError(message);
2533
2593
  }
2594
+ if (obj.webPagePublication !== undefined) {
2595
+ const obj_webPagePublication = obj.webPagePublication;
2596
+ const path_webPagePublication = path + '.webPagePublication';
2597
+ let obj_webPagePublication_union0 = null;
2598
+ const obj_webPagePublication_union0_error = (() => {
2599
+ const referencepath_webPagePublicationValidationError = validate$t(obj_webPagePublication, path_webPagePublication);
2600
+ if (referencepath_webPagePublicationValidationError !== null) {
2601
+ let message = 'Object doesn\'t match WebPagePublicationRepresentation (at "' + path_webPagePublication + '")\n';
2602
+ message += referencepath_webPagePublicationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
2603
+ return new TypeError(message);
2604
+ }
2605
+ })();
2606
+ if (obj_webPagePublication_union0_error != null) {
2607
+ obj_webPagePublication_union0 = obj_webPagePublication_union0_error.message;
2608
+ }
2609
+ let obj_webPagePublication_union1 = null;
2610
+ const obj_webPagePublication_union1_error = (() => {
2611
+ if (obj_webPagePublication !== null) {
2612
+ return new TypeError('Expected "null" but received "' + typeof obj_webPagePublication + '" (at "' + path_webPagePublication + '")');
2613
+ }
2614
+ })();
2615
+ if (obj_webPagePublication_union1_error != null) {
2616
+ obj_webPagePublication_union1 = obj_webPagePublication_union1_error.message;
2617
+ }
2618
+ if (obj_webPagePublication_union0 && obj_webPagePublication_union1) {
2619
+ let message = 'Object doesn\'t match union (at "' + path_webPagePublication + '")';
2620
+ message += '\n' + obj_webPagePublication_union0.split('\n').map((line) => '\t' + line).join('\n');
2621
+ message += '\n' + obj_webPagePublication_union1.split('\n').map((line) => '\t' + line).join('\n');
2622
+ return new TypeError(message);
2623
+ }
2624
+ }
2534
2625
  })();
2535
2626
  return v_error === undefined ? null : v_error;
2536
2627
  }
@@ -2665,7 +2756,7 @@ function createResourceParams$k(config) {
2665
2756
  function typeCheckConfig$k(untrustedConfig) {
2666
2757
  const config = {};
2667
2758
  const untrustedConfig_ManagedContentInputParam = untrustedConfig.ManagedContentInputParam;
2668
- const referenceManagedContentInputRepresentationValidationError = validate$x(untrustedConfig_ManagedContentInputParam);
2759
+ const referenceManagedContentInputRepresentationValidationError = validate$z(untrustedConfig_ManagedContentInputParam);
2669
2760
  if (referenceManagedContentInputRepresentationValidationError === null) {
2670
2761
  config.ManagedContentInputParam = untrustedConfig_ManagedContentInputParam;
2671
2762
  }
@@ -3357,7 +3448,7 @@ function validate$m(obj, path = 'ManagedContentVariantRepresentation') {
3357
3448
  }
3358
3449
  const obj_contentSpace = obj.contentSpace;
3359
3450
  const path_contentSpace = path + '.contentSpace';
3360
- const referencepath_contentSpaceValidationError = validate$w(obj_contentSpace, path_contentSpace);
3451
+ const referencepath_contentSpaceValidationError = validate$y(obj_contentSpace, path_contentSpace);
3361
3452
  if (referencepath_contentSpaceValidationError !== null) {
3362
3453
  let message = 'Object doesn\'t match ManagedContentSpaceSummaryRepresentation (at "' + path_contentSpace + '")\n';
3363
3454
  message += referencepath_contentSpaceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3365,7 +3456,7 @@ function validate$m(obj, path = 'ManagedContentVariantRepresentation') {
3365
3456
  }
3366
3457
  const obj_contentType = obj.contentType;
3367
3458
  const path_contentType = path + '.contentType';
3368
- const referencepath_contentTypeValidationError = validate$D(obj_contentType, path_contentType);
3459
+ const referencepath_contentTypeValidationError = validate$F(obj_contentType, path_contentType);
3369
3460
  if (referencepath_contentTypeValidationError !== null) {
3370
3461
  let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
3371
3462
  message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3373,7 +3464,7 @@ function validate$m(obj, path = 'ManagedContentVariantRepresentation') {
3373
3464
  }
3374
3465
  const obj_createdBy = obj.createdBy;
3375
3466
  const path_createdBy = path + '.createdBy';
3376
- const referencepath_createdByValidationError = validate$v(obj_createdBy, path_createdBy);
3467
+ const referencepath_createdByValidationError = validate$x(obj_createdBy, path_createdBy);
3377
3468
  if (referencepath_createdByValidationError !== null) {
3378
3469
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
3379
3470
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3386,7 +3477,7 @@ function validate$m(obj, path = 'ManagedContentVariantRepresentation') {
3386
3477
  }
3387
3478
  const obj_folder = obj.folder;
3388
3479
  const path_folder = path + '.folder';
3389
- const referencepath_folderValidationError = validate$u(obj_folder, path_folder);
3480
+ const referencepath_folderValidationError = validate$w(obj_folder, path_folder);
3390
3481
  if (referencepath_folderValidationError !== null) {
3391
3482
  let message = 'Object doesn\'t match ManagedContentFolderSummaryRepresentation (at "' + path_folder + '")\n';
3392
3483
  message += referencepath_folderValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3404,7 +3495,7 @@ function validate$m(obj, path = 'ManagedContentVariantRepresentation') {
3404
3495
  }
3405
3496
  const obj_lastModifiedBy = obj.lastModifiedBy;
3406
3497
  const path_lastModifiedBy = path + '.lastModifiedBy';
3407
- const referencepath_lastModifiedByValidationError = validate$v(obj_lastModifiedBy, path_lastModifiedBy);
3498
+ const referencepath_lastModifiedByValidationError = validate$x(obj_lastModifiedBy, path_lastModifiedBy);
3408
3499
  if (referencepath_lastModifiedByValidationError !== null) {
3409
3500
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
3410
3501
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3432,7 +3523,7 @@ function validate$m(obj, path = 'ManagedContentVariantRepresentation') {
3432
3523
  }
3433
3524
  const obj_status = obj.status;
3434
3525
  const path_status = path + '.status';
3435
- const referencepath_statusValidationError = validate$t(obj_status, path_status);
3526
+ const referencepath_statusValidationError = validate$v(obj_status, path_status);
3436
3527
  if (referencepath_statusValidationError !== null) {
3437
3528
  let message = 'Object doesn\'t match ManagedContentVariantStatusRepresentation (at "' + path_status + '")\n';
3438
3529
  message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4034,7 +4125,7 @@ function validate$k(obj, path = 'ManagedContentVariantVersionRepresentation') {
4034
4125
  }
4035
4126
  const obj_createdBy = obj.createdBy;
4036
4127
  const path_createdBy = path + '.createdBy';
4037
- const referencepath_createdByValidationError = validate$v(obj_createdBy, path_createdBy);
4128
+ const referencepath_createdByValidationError = validate$x(obj_createdBy, path_createdBy);
4038
4129
  if (referencepath_createdByValidationError !== null) {
4039
4130
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
4040
4131
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4047,7 +4138,7 @@ function validate$k(obj, path = 'ManagedContentVariantVersionRepresentation') {
4047
4138
  }
4048
4139
  const obj_lastModifiedBy = obj.lastModifiedBy;
4049
4140
  const path_lastModifiedBy = path + '.lastModifiedBy';
4050
- const referencepath_lastModifiedByValidationError = validate$v(obj_lastModifiedBy, path_lastModifiedBy);
4141
+ const referencepath_lastModifiedByValidationError = validate$x(obj_lastModifiedBy, path_lastModifiedBy);
4051
4142
  if (referencepath_lastModifiedByValidationError !== null) {
4052
4143
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
4053
4144
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4065,7 +4156,7 @@ function validate$k(obj, path = 'ManagedContentVariantVersionRepresentation') {
4065
4156
  }
4066
4157
  const obj_status = obj.status;
4067
4158
  const path_status = path + '.status';
4068
- const referencepath_statusValidationError = validate$t(obj_status, path_status);
4159
+ const referencepath_statusValidationError = validate$v(obj_status, path_status);
4069
4160
  if (referencepath_statusValidationError !== null) {
4070
4161
  let message = 'Object doesn\'t match ManagedContentVariantStatusRepresentation (at "' + path_status + '")\n';
4071
4162
  message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4915,7 +5006,7 @@ function validate$h(obj, path = 'AbstractManagedContentReferencedByItemRepresent
4915
5006
  if (obj.contentType !== undefined) {
4916
5007
  const obj_contentType = obj.contentType;
4917
5008
  const path_contentType = path + '.contentType';
4918
- const referencepath_contentTypeValidationError = validate$D(obj_contentType, path_contentType);
5009
+ const referencepath_contentTypeValidationError = validate$F(obj_contentType, path_contentType);
4919
5010
  if (referencepath_contentTypeValidationError !== null) {
4920
5011
  let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
4921
5012
  message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5307,7 +5398,7 @@ function validate$e(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
5307
5398
  }
5308
5399
  const obj_contentType = obj.contentType;
5309
5400
  const path_contentType = path + '.contentType';
5310
- const referencepath_contentTypeValidationError = validate$D(obj_contentType, path_contentType);
5401
+ const referencepath_contentTypeValidationError = validate$F(obj_contentType, path_contentType);
5311
5402
  if (referencepath_contentTypeValidationError !== null) {
5312
5403
  let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
5313
5404
  message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5315,7 +5406,7 @@ function validate$e(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
5315
5406
  }
5316
5407
  const obj_createdBy = obj.createdBy;
5317
5408
  const path_createdBy = path + '.createdBy';
5318
- const referencepath_createdByValidationError = validate$v(obj_createdBy, path_createdBy);
5409
+ const referencepath_createdByValidationError = validate$x(obj_createdBy, path_createdBy);
5319
5410
  if (referencepath_createdByValidationError !== null) {
5320
5411
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
5321
5412
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5341,7 +5432,7 @@ function validate$e(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
5341
5432
  }
5342
5433
  const obj_lastModifiedBy = obj.lastModifiedBy;
5343
5434
  const path_lastModifiedBy = path + '.lastModifiedBy';
5344
- const referencepath_lastModifiedByValidationError = validate$v(obj_lastModifiedBy, path_lastModifiedBy);
5435
+ const referencepath_lastModifiedByValidationError = validate$x(obj_lastModifiedBy, path_lastModifiedBy);
5345
5436
  if (referencepath_lastModifiedByValidationError !== null) {
5346
5437
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
5347
5438
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5364,7 +5455,7 @@ function validate$e(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
5364
5455
  }
5365
5456
  const obj_status = obj.status;
5366
5457
  const path_status = path + '.status';
5367
- const referencepath_statusValidationError = validate$t(obj_status, path_status);
5458
+ const referencepath_statusValidationError = validate$v(obj_status, path_status);
5368
5459
  if (referencepath_statusValidationError !== null) {
5369
5460
  let message = 'Object doesn\'t match ManagedContentVariantStatusRepresentation (at "' + path_status + '")\n';
5370
5461
  message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5664,7 +5755,7 @@ function validate$c(obj, path = 'ManagedContentSpaceFolderItemRepresentation') {
5664
5755
  if (obj.contentType !== undefined) {
5665
5756
  const obj_contentType = obj.contentType;
5666
5757
  const path_contentType = path + '.contentType';
5667
- const referencepath_contentTypeValidationError = validate$D(obj_contentType, path_contentType);
5758
+ const referencepath_contentTypeValidationError = validate$F(obj_contentType, path_contentType);
5668
5759
  if (referencepath_contentTypeValidationError !== null) {
5669
5760
  let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
5670
5761
  message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6093,7 +6184,7 @@ function validate$a(obj, path = 'AbstractManagedContentSearchResultRepresentatio
6093
6184
  }
6094
6185
  const obj_createdBy = obj.createdBy;
6095
6186
  const path_createdBy = path + '.createdBy';
6096
- const referencepath_createdByValidationError = validate$v(obj_createdBy, path_createdBy);
6187
+ const referencepath_createdByValidationError = validate$x(obj_createdBy, path_createdBy);
6097
6188
  if (referencepath_createdByValidationError !== null) {
6098
6189
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
6099
6190
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6106,7 +6197,7 @@ function validate$a(obj, path = 'AbstractManagedContentSearchResultRepresentatio
6106
6197
  }
6107
6198
  const obj_folder = obj.folder;
6108
6199
  const path_folder = path + '.folder';
6109
- const referencepath_folderValidationError = validate$u(obj_folder, path_folder);
6200
+ const referencepath_folderValidationError = validate$w(obj_folder, path_folder);
6110
6201
  if (referencepath_folderValidationError !== null) {
6111
6202
  let message = 'Object doesn\'t match ManagedContentFolderSummaryRepresentation (at "' + path_folder + '")\n';
6112
6203
  message += referencepath_folderValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6119,7 +6210,7 @@ function validate$a(obj, path = 'AbstractManagedContentSearchResultRepresentatio
6119
6210
  }
6120
6211
  const obj_lastModifiedBy = obj.lastModifiedBy;
6121
6212
  const path_lastModifiedBy = path + '.lastModifiedBy';
6122
- const referencepath_lastModifiedByValidationError = validate$v(obj_lastModifiedBy, path_lastModifiedBy);
6213
+ const referencepath_lastModifiedByValidationError = validate$x(obj_lastModifiedBy, path_lastModifiedBy);
6123
6214
  if (referencepath_lastModifiedByValidationError !== null) {
6124
6215
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
6125
6216
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -7636,7 +7727,7 @@ function validate$3(obj, path = 'ManagedContentTypeSummaryCollectionRepresentati
7636
7727
  for (let i = 0; i < obj_contentTypes.length; i++) {
7637
7728
  const obj_contentTypes_item = obj_contentTypes[i];
7638
7729
  const path_contentTypes_item = path_contentTypes + '[' + i + ']';
7639
- const referencepath_contentTypes_itemValidationError = validate$D(obj_contentTypes_item, path_contentTypes_item);
7730
+ const referencepath_contentTypes_itemValidationError = validate$F(obj_contentTypes_item, path_contentTypes_item);
7640
7731
  if (referencepath_contentTypes_itemValidationError !== null) {
7641
7732
  let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentTypes_item + '")\n';
7642
7733
  message += referencepath_contentTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3,9 +3,10 @@ import { ManagedContentTypeSummaryRepresentation as ManagedContentTypeSummaryRep
3
3
  import { ManagedContentUserSummaryRepresentation as ManagedContentUserSummaryRepresentation_ManagedContentUserSummaryRepresentation } from './ManagedContentUserSummaryRepresentation';
4
4
  import { ManagedContentFolderSummaryRepresentation as ManagedContentFolderSummaryRepresentation_ManagedContentFolderSummaryRepresentation } from './ManagedContentFolderSummaryRepresentation';
5
5
  import { ManagedContentVariantStatusRepresentation as ManagedContentVariantStatusRepresentation_ManagedContentVariantStatusRepresentation } from './ManagedContentVariantStatusRepresentation';
6
+ import { WebPagePublicationRepresentation as WebPagePublicationRepresentation_WebPagePublicationRepresentation } from './WebPagePublicationRepresentation';
6
7
  import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
7
8
  export declare const TTL = 100;
8
- export declare const VERSION = "c04d826180efa7be6ad6764b5928469e";
9
+ export declare const VERSION = "87bd11d179328f1b46dcb10980fb157b";
9
10
  export declare function validate(obj: any, path?: string): TypeError | null;
10
11
  export declare const RepresentationType: string;
11
12
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -68,6 +69,8 @@ export interface ManagedContentDocumentRepresentationNormalized {
68
69
  version: string;
69
70
  /** The version number of the managed content. */
70
71
  versionNumber: string | null;
72
+ /** Web Page Publication information of content including urlAlias, its status etc. */
73
+ webPagePublication?: WebPagePublicationRepresentation_WebPagePublicationRepresentation | null;
71
74
  }
72
75
  /**
73
76
  * Information about a managed content in authoring space.
@@ -99,4 +102,5 @@ export interface ManagedContentDocumentRepresentation {
99
102
  urlName: string;
100
103
  version: string;
101
104
  versionNumber: string | null;
105
+ webPagePublication?: WebPagePublicationRepresentation_WebPagePublicationRepresentation | null;
102
106
  }
@@ -0,0 +1,34 @@
1
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
+ export declare const VERSION = "1d5865041cab9c05480922858726f108";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: WebPagePublicationChannelRepresentation, existing: WebPagePublicationChannelRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): WebPagePublicationChannelRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: WebPagePublicationChannelRepresentationNormalized, incoming: WebPagePublicationChannelRepresentationNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: WebPagePublicationChannelRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Information about CMS channels to which the managed content is published to
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface WebPagePublicationChannelRepresentationNormalized {
17
+ /** base URL that can be used for routing purposes */
18
+ baseUrl: string;
19
+ /** domain URL of CMS channel to serve the managed content */
20
+ domainUrl: string;
21
+ /** ID of CMS channel */
22
+ id: string;
23
+ }
24
+ /**
25
+ * Information about CMS channels to which the managed content is published to
26
+ *
27
+ * Keys:
28
+ * (none)
29
+ */
30
+ export interface WebPagePublicationChannelRepresentation {
31
+ baseUrl: string;
32
+ domainUrl: string;
33
+ id: string;
34
+ }
@@ -0,0 +1,32 @@
1
+ import { WebPagePublicationChannelRepresentation as WebPagePublicationChannelRepresentation_WebPagePublicationChannelRepresentation } from './WebPagePublicationChannelRepresentation';
2
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
3
+ export declare const VERSION = "77e2045acf34ca24697b71c1d301e986";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: WebPagePublicationRepresentation, existing: WebPagePublicationRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): WebPagePublicationRepresentationNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: WebPagePublicationRepresentationNormalized, incoming: WebPagePublicationRepresentationNormalized): boolean;
9
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
10
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: WebPagePublicationRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ * Web Page Publication details for a managed content
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface WebPagePublicationRepresentationNormalized {
18
+ /** Info about CMS channels where this content is published to */
19
+ channels: Array<WebPagePublicationChannelRepresentation_WebPagePublicationChannelRepresentation>;
20
+ /** list of url alises for the managed content */
21
+ urlAliases: Array<string>;
22
+ }
23
+ /**
24
+ * Web Page Publication details for a managed content
25
+ *
26
+ * Keys:
27
+ * (none)
28
+ */
29
+ export interface WebPagePublicationRepresentation {
30
+ channels: Array<WebPagePublicationChannelRepresentation_WebPagePublicationChannelRepresentation>;
31
+ urlAliases: Array<string>;
32
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-cms-authoring",
3
- "version": "1.174.1",
3
+ "version": "1.176.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "Wire adapters for CMS authoring APIs",
6
6
  "main": "dist/es/es2018/cms-authoring.js",
package/sfdc/index.js CHANGED
@@ -82,7 +82,7 @@ function createLink(ref) {
82
82
  };
83
83
  }
84
84
 
85
- function validate$J(obj, path = 'ManagedContentDeploymentInputRepresentation') {
85
+ function validate$L(obj, path = 'ManagedContentDeploymentInputRepresentation') {
86
86
  const v_error = (() => {
87
87
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
88
88
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -166,7 +166,7 @@ function validate$J(obj, path = 'ManagedContentDeploymentInputRepresentation') {
166
166
  return v_error === undefined ? null : v_error;
167
167
  }
168
168
 
169
- function validate$I(obj, path = 'ManagedContentDeploymentItemRepresentation') {
169
+ function validate$K(obj, path = 'ManagedContentDeploymentItemRepresentation') {
170
170
  const v_error = (() => {
171
171
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
172
172
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -223,7 +223,7 @@ function validate$I(obj, path = 'ManagedContentDeploymentItemRepresentation') {
223
223
 
224
224
  const TTL$j = 1000;
225
225
  const VERSION$l = "ca653daea9600118e6167b9b4ff4d07c";
226
- function validate$H(obj, path = 'ManagedContentDeploymentRepresentation') {
226
+ function validate$J(obj, path = 'ManagedContentDeploymentRepresentation') {
227
227
  const v_error = (() => {
228
228
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
229
229
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -293,7 +293,7 @@ function validate$H(obj, path = 'ManagedContentDeploymentRepresentation') {
293
293
  for (let i = 0; i < obj_deploymentItems.length; i++) {
294
294
  const obj_deploymentItems_item = obj_deploymentItems[i];
295
295
  const path_deploymentItems_item = path_deploymentItems + '[' + i + ']';
296
- const referencepath_deploymentItems_itemValidationError = validate$I(obj_deploymentItems_item, path_deploymentItems_item);
296
+ const referencepath_deploymentItems_itemValidationError = validate$K(obj_deploymentItems_item, path_deploymentItems_item);
297
297
  if (referencepath_deploymentItems_itemValidationError !== null) {
298
298
  let message = 'Object doesn\'t match ManagedContentDeploymentItemRepresentation (at "' + path_deploymentItems_item + '")\n';
299
299
  message += referencepath_deploymentItems_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -436,7 +436,7 @@ function equals$l(existing, incoming) {
436
436
  }
437
437
  const ingest$j = function ManagedContentDeploymentRepresentationIngest(input, path, luvio, store, timestamp) {
438
438
  if (process.env.NODE_ENV !== 'production') {
439
- const validateError = validate$H(input);
439
+ const validateError = validate$J(input);
440
440
  if (validateError !== null) {
441
441
  throw validateError;
442
442
  }
@@ -529,7 +529,7 @@ function createResourceParams$p(config) {
529
529
  function typeCheckConfig$p(untrustedConfig) {
530
530
  const config = {};
531
531
  const untrustedConfig_DeploymentInput = untrustedConfig.DeploymentInput;
532
- const referenceManagedContentDeploymentInputRepresentationValidationError = validate$J(untrustedConfig_DeploymentInput);
532
+ const referenceManagedContentDeploymentInputRepresentationValidationError = validate$L(untrustedConfig_DeploymentInput);
533
533
  if (referenceManagedContentDeploymentInputRepresentationValidationError === null) {
534
534
  config.DeploymentInput = untrustedConfig_DeploymentInput;
535
535
  }
@@ -577,7 +577,7 @@ const createDeploymentAdapterFactory = (luvio) => {
577
577
  };
578
578
  };
579
579
 
580
- function validate$G(obj, path = 'ManagedContentInputRepresentation') {
580
+ function validate$I(obj, path = 'ManagedContentInputRepresentation') {
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 + '")');
@@ -620,7 +620,7 @@ function validate$G(obj, path = 'ManagedContentInputRepresentation') {
620
620
  return v_error === undefined ? null : v_error;
621
621
  }
622
622
 
623
- function validate$F(obj, path = 'ManagedContentSpaceSummaryRepresentation') {
623
+ function validate$H(obj, path = 'ManagedContentSpaceSummaryRepresentation') {
624
624
  const v_error = (() => {
625
625
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
626
626
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -640,7 +640,7 @@ function validate$F(obj, path = 'ManagedContentSpaceSummaryRepresentation') {
640
640
  }
641
641
 
642
642
  const VERSION$k = "7297fb0dbfe8f664d76179a65037c290";
643
- function validate$E(obj, path = 'ManagedContentTypeSummaryRepresentation') {
643
+ function validate$G(obj, path = 'ManagedContentTypeSummaryRepresentation') {
644
644
  const v_error = (() => {
645
645
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
646
646
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -700,7 +700,7 @@ function equals$k(existing, incoming) {
700
700
  return true;
701
701
  }
702
702
 
703
- function validate$D(obj, path = 'ManagedContentUserSummaryRepresentation') {
703
+ function validate$F(obj, path = 'ManagedContentUserSummaryRepresentation') {
704
704
  const v_error = (() => {
705
705
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
706
706
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -726,7 +726,7 @@ function validate$D(obj, path = 'ManagedContentUserSummaryRepresentation') {
726
726
  return v_error === undefined ? null : v_error;
727
727
  }
728
728
 
729
- function validate$C(obj, path = 'ManagedContentFolderSummaryRepresentation') {
729
+ function validate$E(obj, path = 'ManagedContentFolderSummaryRepresentation') {
730
730
  const v_error = (() => {
731
731
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
732
732
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -745,7 +745,7 @@ function validate$C(obj, path = 'ManagedContentFolderSummaryRepresentation') {
745
745
  return v_error === undefined ? null : v_error;
746
746
  }
747
747
 
748
- function validate$B(obj, path = 'ManagedContentVariantStatusRepresentation') {
748
+ function validate$D(obj, path = 'ManagedContentVariantStatusRepresentation') {
749
749
  const v_error = (() => {
750
750
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
751
751
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -764,8 +764,68 @@ function validate$B(obj, path = 'ManagedContentVariantStatusRepresentation') {
764
764
  return v_error === undefined ? null : v_error;
765
765
  }
766
766
 
767
+ function validate$C(obj, path = 'WebPagePublicationChannelRepresentation') {
768
+ const v_error = (() => {
769
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
770
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
771
+ }
772
+ const obj_baseUrl = obj.baseUrl;
773
+ const path_baseUrl = path + '.baseUrl';
774
+ if (typeof obj_baseUrl !== 'string') {
775
+ return new TypeError('Expected "string" but received "' + typeof obj_baseUrl + '" (at "' + path_baseUrl + '")');
776
+ }
777
+ const obj_domainUrl = obj.domainUrl;
778
+ const path_domainUrl = path + '.domainUrl';
779
+ if (typeof obj_domainUrl !== 'string') {
780
+ return new TypeError('Expected "string" but received "' + typeof obj_domainUrl + '" (at "' + path_domainUrl + '")');
781
+ }
782
+ const obj_id = obj.id;
783
+ const path_id = path + '.id';
784
+ if (typeof obj_id !== 'string') {
785
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
786
+ }
787
+ })();
788
+ return v_error === undefined ? null : v_error;
789
+ }
790
+
791
+ function validate$B(obj, path = 'WebPagePublicationRepresentation') {
792
+ const v_error = (() => {
793
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
794
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
795
+ }
796
+ const obj_channels = obj.channels;
797
+ const path_channels = path + '.channels';
798
+ if (!ArrayIsArray(obj_channels)) {
799
+ return new TypeError('Expected "array" but received "' + typeof obj_channels + '" (at "' + path_channels + '")');
800
+ }
801
+ for (let i = 0; i < obj_channels.length; i++) {
802
+ const obj_channels_item = obj_channels[i];
803
+ const path_channels_item = path_channels + '[' + i + ']';
804
+ const referencepath_channels_itemValidationError = validate$C(obj_channels_item, path_channels_item);
805
+ if (referencepath_channels_itemValidationError !== null) {
806
+ let message = 'Object doesn\'t match WebPagePublicationChannelRepresentation (at "' + path_channels_item + '")\n';
807
+ message += referencepath_channels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
808
+ return new TypeError(message);
809
+ }
810
+ }
811
+ const obj_urlAliases = obj.urlAliases;
812
+ const path_urlAliases = path + '.urlAliases';
813
+ if (!ArrayIsArray(obj_urlAliases)) {
814
+ return new TypeError('Expected "array" but received "' + typeof obj_urlAliases + '" (at "' + path_urlAliases + '")');
815
+ }
816
+ for (let i = 0; i < obj_urlAliases.length; i++) {
817
+ const obj_urlAliases_item = obj_urlAliases[i];
818
+ const path_urlAliases_item = path_urlAliases + '[' + i + ']';
819
+ if (typeof obj_urlAliases_item !== 'string') {
820
+ return new TypeError('Expected "string" but received "' + typeof obj_urlAliases_item + '" (at "' + path_urlAliases_item + '")');
821
+ }
822
+ }
823
+ })();
824
+ return v_error === undefined ? null : v_error;
825
+ }
826
+
767
827
  const TTL$i = 100;
768
- const VERSION$j = "c04d826180efa7be6ad6764b5928469e";
828
+ const VERSION$j = "87bd11d179328f1b46dcb10980fb157b";
769
829
  function validate$A(obj, path = 'ManagedContentDocumentRepresentation') {
770
830
  const v_error = (() => {
771
831
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -792,7 +852,7 @@ function validate$A(obj, path = 'ManagedContentDocumentRepresentation') {
792
852
  }
793
853
  const obj_contentSpace = obj.contentSpace;
794
854
  const path_contentSpace = path + '.contentSpace';
795
- const referencepath_contentSpaceValidationError = validate$F(obj_contentSpace, path_contentSpace);
855
+ const referencepath_contentSpaceValidationError = validate$H(obj_contentSpace, path_contentSpace);
796
856
  if (referencepath_contentSpaceValidationError !== null) {
797
857
  let message = 'Object doesn\'t match ManagedContentSpaceSummaryRepresentation (at "' + path_contentSpace + '")\n';
798
858
  message += referencepath_contentSpaceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -800,7 +860,7 @@ function validate$A(obj, path = 'ManagedContentDocumentRepresentation') {
800
860
  }
801
861
  const obj_contentType = obj.contentType;
802
862
  const path_contentType = path + '.contentType';
803
- const referencepath_contentTypeValidationError = validate$E(obj_contentType, path_contentType);
863
+ const referencepath_contentTypeValidationError = validate$G(obj_contentType, path_contentType);
804
864
  if (referencepath_contentTypeValidationError !== null) {
805
865
  let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
806
866
  message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -808,7 +868,7 @@ function validate$A(obj, path = 'ManagedContentDocumentRepresentation') {
808
868
  }
809
869
  const obj_createdBy = obj.createdBy;
810
870
  const path_createdBy = path + '.createdBy';
811
- const referencepath_createdByValidationError = validate$D(obj_createdBy, path_createdBy);
871
+ const referencepath_createdByValidationError = validate$F(obj_createdBy, path_createdBy);
812
872
  if (referencepath_createdByValidationError !== null) {
813
873
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
814
874
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -821,7 +881,7 @@ function validate$A(obj, path = 'ManagedContentDocumentRepresentation') {
821
881
  }
822
882
  const obj_folder = obj.folder;
823
883
  const path_folder = path + '.folder';
824
- const referencepath_folderValidationError = validate$C(obj_folder, path_folder);
884
+ const referencepath_folderValidationError = validate$E(obj_folder, path_folder);
825
885
  if (referencepath_folderValidationError !== null) {
826
886
  let message = 'Object doesn\'t match ManagedContentFolderSummaryRepresentation (at "' + path_folder + '")\n';
827
887
  message += referencepath_folderValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -839,7 +899,7 @@ function validate$A(obj, path = 'ManagedContentDocumentRepresentation') {
839
899
  }
840
900
  const obj_lastModifiedBy = obj.lastModifiedBy;
841
901
  const path_lastModifiedBy = path + '.lastModifiedBy';
842
- const referencepath_lastModifiedByValidationError = validate$D(obj_lastModifiedBy, path_lastModifiedBy);
902
+ const referencepath_lastModifiedByValidationError = validate$F(obj_lastModifiedBy, path_lastModifiedBy);
843
903
  if (referencepath_lastModifiedByValidationError !== null) {
844
904
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
845
905
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -870,7 +930,7 @@ function validate$A(obj, path = 'ManagedContentDocumentRepresentation') {
870
930
  const path_status = path + '.status';
871
931
  let obj_status_union0 = null;
872
932
  const obj_status_union0_error = (() => {
873
- const referencepath_statusValidationError = validate$B(obj_status, path_status);
933
+ const referencepath_statusValidationError = validate$D(obj_status, path_status);
874
934
  if (referencepath_statusValidationError !== null) {
875
935
  let message = 'Object doesn\'t match ManagedContentVariantStatusRepresentation (at "' + path_status + '")\n';
876
936
  message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -937,6 +997,37 @@ function validate$A(obj, path = 'ManagedContentDocumentRepresentation') {
937
997
  message += '\n' + obj_versionNumber_union1.split('\n').map((line) => '\t' + line).join('\n');
938
998
  return new TypeError(message);
939
999
  }
1000
+ if (obj.webPagePublication !== undefined) {
1001
+ const obj_webPagePublication = obj.webPagePublication;
1002
+ const path_webPagePublication = path + '.webPagePublication';
1003
+ let obj_webPagePublication_union0 = null;
1004
+ const obj_webPagePublication_union0_error = (() => {
1005
+ const referencepath_webPagePublicationValidationError = validate$B(obj_webPagePublication, path_webPagePublication);
1006
+ if (referencepath_webPagePublicationValidationError !== null) {
1007
+ let message = 'Object doesn\'t match WebPagePublicationRepresentation (at "' + path_webPagePublication + '")\n';
1008
+ message += referencepath_webPagePublicationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1009
+ return new TypeError(message);
1010
+ }
1011
+ })();
1012
+ if (obj_webPagePublication_union0_error != null) {
1013
+ obj_webPagePublication_union0 = obj_webPagePublication_union0_error.message;
1014
+ }
1015
+ let obj_webPagePublication_union1 = null;
1016
+ const obj_webPagePublication_union1_error = (() => {
1017
+ if (obj_webPagePublication !== null) {
1018
+ return new TypeError('Expected "null" but received "' + typeof obj_webPagePublication + '" (at "' + path_webPagePublication + '")');
1019
+ }
1020
+ })();
1021
+ if (obj_webPagePublication_union1_error != null) {
1022
+ obj_webPagePublication_union1 = obj_webPagePublication_union1_error.message;
1023
+ }
1024
+ if (obj_webPagePublication_union0 && obj_webPagePublication_union1) {
1025
+ let message = 'Object doesn\'t match union (at "' + path_webPagePublication + '")';
1026
+ message += '\n' + obj_webPagePublication_union0.split('\n').map((line) => '\t' + line).join('\n');
1027
+ message += '\n' + obj_webPagePublication_union1.split('\n').map((line) => '\t' + line).join('\n');
1028
+ return new TypeError(message);
1029
+ }
1030
+ }
940
1031
  })();
941
1032
  return v_error === undefined ? null : v_error;
942
1033
  }
@@ -1071,7 +1162,7 @@ function createResourceParams$o(config) {
1071
1162
  function typeCheckConfig$o(untrustedConfig) {
1072
1163
  const config = {};
1073
1164
  const untrustedConfig_ManagedContentInputParam = untrustedConfig.ManagedContentInputParam;
1074
- const referenceManagedContentInputRepresentationValidationError = validate$G(untrustedConfig_ManagedContentInputParam);
1165
+ const referenceManagedContentInputRepresentationValidationError = validate$I(untrustedConfig_ManagedContentInputParam);
1075
1166
  if (referenceManagedContentInputRepresentationValidationError === null) {
1076
1167
  config.ManagedContentInputParam = untrustedConfig_ManagedContentInputParam;
1077
1168
  }
@@ -1712,7 +1803,7 @@ function validate$v(obj, path = 'ManagedContentVariantRepresentation') {
1712
1803
  }
1713
1804
  const obj_contentSpace = obj.contentSpace;
1714
1805
  const path_contentSpace = path + '.contentSpace';
1715
- const referencepath_contentSpaceValidationError = validate$F(obj_contentSpace, path_contentSpace);
1806
+ const referencepath_contentSpaceValidationError = validate$H(obj_contentSpace, path_contentSpace);
1716
1807
  if (referencepath_contentSpaceValidationError !== null) {
1717
1808
  let message = 'Object doesn\'t match ManagedContentSpaceSummaryRepresentation (at "' + path_contentSpace + '")\n';
1718
1809
  message += referencepath_contentSpaceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1720,7 +1811,7 @@ function validate$v(obj, path = 'ManagedContentVariantRepresentation') {
1720
1811
  }
1721
1812
  const obj_contentType = obj.contentType;
1722
1813
  const path_contentType = path + '.contentType';
1723
- const referencepath_contentTypeValidationError = validate$E(obj_contentType, path_contentType);
1814
+ const referencepath_contentTypeValidationError = validate$G(obj_contentType, path_contentType);
1724
1815
  if (referencepath_contentTypeValidationError !== null) {
1725
1816
  let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
1726
1817
  message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1728,7 +1819,7 @@ function validate$v(obj, path = 'ManagedContentVariantRepresentation') {
1728
1819
  }
1729
1820
  const obj_createdBy = obj.createdBy;
1730
1821
  const path_createdBy = path + '.createdBy';
1731
- const referencepath_createdByValidationError = validate$D(obj_createdBy, path_createdBy);
1822
+ const referencepath_createdByValidationError = validate$F(obj_createdBy, path_createdBy);
1732
1823
  if (referencepath_createdByValidationError !== null) {
1733
1824
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
1734
1825
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1741,7 +1832,7 @@ function validate$v(obj, path = 'ManagedContentVariantRepresentation') {
1741
1832
  }
1742
1833
  const obj_folder = obj.folder;
1743
1834
  const path_folder = path + '.folder';
1744
- const referencepath_folderValidationError = validate$C(obj_folder, path_folder);
1835
+ const referencepath_folderValidationError = validate$E(obj_folder, path_folder);
1745
1836
  if (referencepath_folderValidationError !== null) {
1746
1837
  let message = 'Object doesn\'t match ManagedContentFolderSummaryRepresentation (at "' + path_folder + '")\n';
1747
1838
  message += referencepath_folderValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1759,7 +1850,7 @@ function validate$v(obj, path = 'ManagedContentVariantRepresentation') {
1759
1850
  }
1760
1851
  const obj_lastModifiedBy = obj.lastModifiedBy;
1761
1852
  const path_lastModifiedBy = path + '.lastModifiedBy';
1762
- const referencepath_lastModifiedByValidationError = validate$D(obj_lastModifiedBy, path_lastModifiedBy);
1853
+ const referencepath_lastModifiedByValidationError = validate$F(obj_lastModifiedBy, path_lastModifiedBy);
1763
1854
  if (referencepath_lastModifiedByValidationError !== null) {
1764
1855
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
1765
1856
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1787,7 +1878,7 @@ function validate$v(obj, path = 'ManagedContentVariantRepresentation') {
1787
1878
  }
1788
1879
  const obj_status = obj.status;
1789
1880
  const path_status = path + '.status';
1790
- const referencepath_statusValidationError = validate$B(obj_status, path_status);
1881
+ const referencepath_statusValidationError = validate$D(obj_status, path_status);
1791
1882
  if (referencepath_statusValidationError !== null) {
1792
1883
  let message = 'Object doesn\'t match ManagedContentVariantStatusRepresentation (at "' + path_status + '")\n';
1793
1884
  message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2553,7 +2644,7 @@ function validate$q(obj, path = 'ManagedContentCollectionDetailRepresentation')
2553
2644
  }
2554
2645
  const obj_collectionType = obj.collectionType;
2555
2646
  const path_collectionType = path + '.collectionType';
2556
- const referencepath_collectionTypeValidationError = validate$E(obj_collectionType, path_collectionType);
2647
+ const referencepath_collectionTypeValidationError = validate$G(obj_collectionType, path_collectionType);
2557
2648
  if (referencepath_collectionTypeValidationError !== null) {
2558
2649
  let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_collectionType + '")\n';
2559
2650
  message += referencepath_collectionTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3526,7 +3617,7 @@ function validate$n(obj, path = 'ManagedContentSpaceFolderItemRepresentation') {
3526
3617
  if (obj.contentType !== undefined) {
3527
3618
  const obj_contentType = obj.contentType;
3528
3619
  const path_contentType = path + '.contentType';
3529
- const referencepath_contentTypeValidationError = validate$E(obj_contentType, path_contentType);
3620
+ const referencepath_contentTypeValidationError = validate$G(obj_contentType, path_contentType);
3530
3621
  if (referencepath_contentTypeValidationError !== null) {
3531
3622
  let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
3532
3623
  message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3956,7 +4047,7 @@ function validate$l(obj, path = 'AbstractManagedContentReferencedByItemRepresent
3956
4047
  if (obj.contentType !== undefined) {
3957
4048
  const obj_contentType = obj.contentType;
3958
4049
  const path_contentType = path + '.contentType';
3959
- const referencepath_contentTypeValidationError = validate$E(obj_contentType, path_contentType);
4050
+ const referencepath_contentTypeValidationError = validate$G(obj_contentType, path_contentType);
3960
4051
  if (referencepath_contentTypeValidationError !== null) {
3961
4052
  let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
3962
4053
  message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5763,7 +5854,7 @@ function validate$d(obj, path = 'ManagedContentTypeSummaryCollectionRepresentati
5763
5854
  for (let i = 0; i < obj_contentTypes.length; i++) {
5764
5855
  const obj_contentTypes_item = obj_contentTypes[i];
5765
5856
  const path_contentTypes_item = path_contentTypes + '[' + i + ']';
5766
- const referencepath_contentTypes_itemValidationError = validate$E(obj_contentTypes_item, path_contentTypes_item);
5857
+ const referencepath_contentTypes_itemValidationError = validate$G(obj_contentTypes_item, path_contentTypes_item);
5767
5858
  if (referencepath_contentTypes_itemValidationError !== null) {
5768
5859
  let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentTypes_item + '")\n';
5769
5860
  message += referencepath_contentTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6250,7 +6341,7 @@ function validate$c(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
6250
6341
  }
6251
6342
  const obj_contentType = obj.contentType;
6252
6343
  const path_contentType = path + '.contentType';
6253
- const referencepath_contentTypeValidationError = validate$E(obj_contentType, path_contentType);
6344
+ const referencepath_contentTypeValidationError = validate$G(obj_contentType, path_contentType);
6254
6345
  if (referencepath_contentTypeValidationError !== null) {
6255
6346
  let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
6256
6347
  message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6258,7 +6349,7 @@ function validate$c(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
6258
6349
  }
6259
6350
  const obj_createdBy = obj.createdBy;
6260
6351
  const path_createdBy = path + '.createdBy';
6261
- const referencepath_createdByValidationError = validate$D(obj_createdBy, path_createdBy);
6352
+ const referencepath_createdByValidationError = validate$F(obj_createdBy, path_createdBy);
6262
6353
  if (referencepath_createdByValidationError !== null) {
6263
6354
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
6264
6355
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6284,7 +6375,7 @@ function validate$c(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
6284
6375
  }
6285
6376
  const obj_lastModifiedBy = obj.lastModifiedBy;
6286
6377
  const path_lastModifiedBy = path + '.lastModifiedBy';
6287
- const referencepath_lastModifiedByValidationError = validate$D(obj_lastModifiedBy, path_lastModifiedBy);
6378
+ const referencepath_lastModifiedByValidationError = validate$F(obj_lastModifiedBy, path_lastModifiedBy);
6288
6379
  if (referencepath_lastModifiedByValidationError !== null) {
6289
6380
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
6290
6381
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6307,7 +6398,7 @@ function validate$c(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
6307
6398
  }
6308
6399
  const obj_status = obj.status;
6309
6400
  const path_status = path + '.status';
6310
- const referencepath_statusValidationError = validate$B(obj_status, path_status);
6401
+ const referencepath_statusValidationError = validate$D(obj_status, path_status);
6311
6402
  if (referencepath_statusValidationError !== null) {
6312
6403
  let message = 'Object doesn\'t match ManagedContentVariantStatusRepresentation (at "' + path_status + '")\n';
6313
6404
  message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6893,7 +6984,7 @@ function validate$9(obj, path = 'ManagedContentVariantVersionRepresentation') {
6893
6984
  }
6894
6985
  const obj_createdBy = obj.createdBy;
6895
6986
  const path_createdBy = path + '.createdBy';
6896
- const referencepath_createdByValidationError = validate$D(obj_createdBy, path_createdBy);
6987
+ const referencepath_createdByValidationError = validate$F(obj_createdBy, path_createdBy);
6897
6988
  if (referencepath_createdByValidationError !== null) {
6898
6989
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
6899
6990
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6906,7 +6997,7 @@ function validate$9(obj, path = 'ManagedContentVariantVersionRepresentation') {
6906
6997
  }
6907
6998
  const obj_lastModifiedBy = obj.lastModifiedBy;
6908
6999
  const path_lastModifiedBy = path + '.lastModifiedBy';
6909
- const referencepath_lastModifiedByValidationError = validate$D(obj_lastModifiedBy, path_lastModifiedBy);
7000
+ const referencepath_lastModifiedByValidationError = validate$F(obj_lastModifiedBy, path_lastModifiedBy);
6910
7001
  if (referencepath_lastModifiedByValidationError !== null) {
6911
7002
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
6912
7003
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6924,7 +7015,7 @@ function validate$9(obj, path = 'ManagedContentVariantVersionRepresentation') {
6924
7015
  }
6925
7016
  const obj_status = obj.status;
6926
7017
  const path_status = path + '.status';
6927
- const referencepath_statusValidationError = validate$B(obj_status, path_status);
7018
+ const referencepath_statusValidationError = validate$D(obj_status, path_status);
6928
7019
  if (referencepath_statusValidationError !== null) {
6929
7020
  let message = 'Object doesn\'t match ManagedContentVariantStatusRepresentation (at "' + path_status + '")\n';
6930
7021
  message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -7290,7 +7381,7 @@ function validate$7(obj, path = 'AbstractManagedContentSearchResultRepresentatio
7290
7381
  }
7291
7382
  const obj_createdBy = obj.createdBy;
7292
7383
  const path_createdBy = path + '.createdBy';
7293
- const referencepath_createdByValidationError = validate$D(obj_createdBy, path_createdBy);
7384
+ const referencepath_createdByValidationError = validate$F(obj_createdBy, path_createdBy);
7294
7385
  if (referencepath_createdByValidationError !== null) {
7295
7386
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
7296
7387
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -7303,7 +7394,7 @@ function validate$7(obj, path = 'AbstractManagedContentSearchResultRepresentatio
7303
7394
  }
7304
7395
  const obj_folder = obj.folder;
7305
7396
  const path_folder = path + '.folder';
7306
- const referencepath_folderValidationError = validate$C(obj_folder, path_folder);
7397
+ const referencepath_folderValidationError = validate$E(obj_folder, path_folder);
7307
7398
  if (referencepath_folderValidationError !== null) {
7308
7399
  let message = 'Object doesn\'t match ManagedContentFolderSummaryRepresentation (at "' + path_folder + '")\n';
7309
7400
  message += referencepath_folderValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -7316,7 +7407,7 @@ function validate$7(obj, path = 'AbstractManagedContentSearchResultRepresentatio
7316
7407
  }
7317
7408
  const obj_lastModifiedBy = obj.lastModifiedBy;
7318
7409
  const path_lastModifiedBy = path + '.lastModifiedBy';
7319
- const referencepath_lastModifiedByValidationError = validate$D(obj_lastModifiedBy, path_lastModifiedBy);
7410
+ const referencepath_lastModifiedByValidationError = validate$F(obj_lastModifiedBy, path_lastModifiedBy);
7320
7411
  if (referencepath_lastModifiedByValidationError !== null) {
7321
7412
  let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
7322
7413
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -8735,4 +8826,4 @@ withDefaultLuvio((luvio) => {
8735
8826
  });
8736
8827
 
8737
8828
  export { createDeployment, createManagedContent, createManagedContentExportV2Job, createManagedContentImportV2Job, createManagedContentVariant, createTranslationV2Job, deleteManagedContentVariant, getCollectionItems, getCollectionItems_imperative, getDeploymentById, getDeploymentById_imperative, getManagedContent, getManagedContentByFolderId, getManagedContentByFolderId_imperative, getManagedContentReferencedBy, getManagedContentReferencedBy_imperative, getManagedContentSpace, getManagedContentSpaceFolderItemsV1, getManagedContentSpaceFolderItemsV1_imperative, getManagedContentSpaceNotifyChange, getManagedContentSpaceOrchestratorConfig, getManagedContentSpaceOrchestratorConfig_imperative, getManagedContentSpace_imperative, getManagedContentSpaces, getManagedContentSpaces_imperative, getManagedContentTypesForMixin, getManagedContentTypesForMixin_imperative, getManagedContentVariant, getManagedContentVariantNotifyChange, getManagedContentVariantReferences, getManagedContentVariantReferences_imperative, getManagedContentVariantRendition, getManagedContentVariantRendition_imperative, getManagedContentVariantVersions, getManagedContentVariantVersionsNotifyChange, getManagedContentVariantVersions_imperative, getManagedContentVariant_imperative, getManagedContent_imperative, getSearchResults, getSearchResults_imperative, patchManagedContentSpace, publishManagedContent, replaceManagedContentVariant, unpublishManagedContent };
8738
- // version: 1.174.1-b180db488
8829
+ // version: 1.176.0-16a3ba302
package/src/raml/api.raml CHANGED
@@ -857,6 +857,10 @@ types:
857
857
  description: The status of the managed content variant.
858
858
  type: ManagedContentVariantStatusRepresentation | nil
859
859
  required: false # TODO handrolled W-9314597
860
+ webPagePublication:
861
+ description: Web Page Publication information of content including urlAlias, its status etc.
862
+ type: WebPagePublicationRepresentation | nil
863
+ required: false
860
864
  ManagedContentExportContentJobRequestInputRepresentation:
861
865
  description: Input representation for creating a ManagedContent export job
862
866
  type: object
@@ -1467,6 +1471,13 @@ types:
1467
1471
  urlName:
1468
1472
  description: managed content (version) url name
1469
1473
  type: string
1474
+ ManagedContentSpaceBaseTypeRepresentation:
1475
+ description: Details of a Managed Content Space Base Type
1476
+ type: object
1477
+ properties:
1478
+ apiName:
1479
+ description: Api Name of the base Type
1480
+ type: string | nil
1470
1481
  ManagedContentSpaceCollectionRepresentation:
1471
1482
  description: Collection of Managed Content Spaces
1472
1483
  type: object
@@ -1818,6 +1829,10 @@ types:
1818
1829
  description: Details of a Managed Content Space
1819
1830
  type: object
1820
1831
  properties:
1832
+ baseType:
1833
+ description: Base Type of the Managed Content Space
1834
+ type: ManagedContentSpaceBaseTypeRepresentation | nil
1835
+ required: false # TODO handrolled W-9314597
1821
1836
  createdBy:
1822
1837
  description: User-Id of the creator of the Managed Content Space
1823
1838
  type: string
@@ -3040,6 +3055,33 @@ types:
3040
3055
  type: array
3041
3056
  items:
3042
3057
  type: ManagedContentVariantReferenceDetailsRepresentation
3058
+ WebPagePublicationRepresentation:
3059
+ description: Web Page Publication details for a managed content
3060
+ type: object
3061
+ properties:
3062
+ channels:
3063
+ description: Info about CMS channels where this content is published to
3064
+ type: array
3065
+ items:
3066
+ type: WebPagePublicationChannelRepresentation
3067
+ urlAliases:
3068
+ description: list of url alises for the managed content
3069
+ type: array
3070
+ items:
3071
+ type: string
3072
+ WebPagePublicationChannelRepresentation:
3073
+ description: Information about CMS channels to which the managed content is published to
3074
+ type: object
3075
+ properties:
3076
+ id:
3077
+ description: ID of CMS channel
3078
+ type: string
3079
+ domainUrl:
3080
+ description: domain URL of CMS channel to serve the managed content
3081
+ type: string
3082
+ baseUrl:
3083
+ description: base URL that can be used for routing purposes
3084
+ type: string
3043
3085
  /cms:
3044
3086
  /delivery:
3045
3087
  /channels/{channelId}/variants: