@salesforce/lds-adapters-cms-authoring 1.134.6 → 1.134.8

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.
Files changed (148) hide show
  1. package/dist/es/es2018/cms-authoring.js +35 -310
  2. package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +1 -7
  3. package/dist/es/es2018/types/src/generated/types/AbstractMCSFolderRepresentation.d.ts +0 -1
  4. package/dist/es/es2018/types/src/generated/types/AbstractMContentRepresentation.d.ts +0 -1
  5. package/dist/es/es2018/types/src/generated/types/AbstractManagedContentReferencedByContributorRepresentation.d.ts +0 -1
  6. package/dist/es/es2018/types/src/generated/types/AbstractManagedContentReferencedByItemRepresentation.d.ts +0 -1
  7. package/dist/es/es2018/types/src/generated/types/AbstractManagedContentSearchResultRepresentation.d.ts +0 -1
  8. package/dist/es/es2018/types/src/generated/types/CMSChannelRepresentation.d.ts +0 -1
  9. package/dist/es/es2018/types/src/generated/types/MCDeliveryV2VariantCollectionRepresentation.d.ts +0 -1
  10. package/dist/es/es2018/types/src/generated/types/MCDeliveryV2VariantInputRepresentation.d.ts +0 -1
  11. package/dist/es/es2018/types/src/generated/types/MCDeliveryV2VariantRepresentation.d.ts +0 -1
  12. package/dist/es/es2018/types/src/generated/types/MCSiteContentCollectionRepresentation.d.ts +0 -1
  13. package/dist/es/es2018/types/src/generated/types/MCSiteContentRepresentation.d.ts +0 -1
  14. package/dist/es/es2018/types/src/generated/types/MCSiteDeliveryByContentKeysInputRepresentation.d.ts +0 -1
  15. package/dist/es/es2018/types/src/generated/types/MCSiteDeliveryByContentTypesInputRepresentation.d.ts +0 -1
  16. package/dist/es/es2018/types/src/generated/types/MCSiteDeliveryByNodesInputRepresentation.d.ts +0 -1
  17. package/dist/es/es2018/types/src/generated/types/MCSiteNodeCollectionRepresentation.d.ts +0 -1
  18. package/dist/es/es2018/types/src/generated/types/MCSiteNodeRepresentation.d.ts +0 -1
  19. package/dist/es/es2018/types/src/generated/types/MCSiteVariantRepresentation.d.ts +0 -1
  20. package/dist/es/es2018/types/src/generated/types/MContentBodyRepresentation.d.ts +0 -1
  21. package/dist/es/es2018/types/src/generated/types/MContentCollectionMetadataRepresentation.d.ts +0 -1
  22. package/dist/es/es2018/types/src/generated/types/MContentCollectionRepresentation.d.ts +0 -1
  23. package/dist/es/es2018/types/src/generated/types/MContentDetailRepresentation.d.ts +0 -1
  24. package/dist/es/es2018/types/src/generated/types/MContentSummaryRepresentation.d.ts +0 -1
  25. package/dist/es/es2018/types/src/generated/types/ManagedContentAssociationsInputRep.d.ts +0 -1
  26. package/dist/es/es2018/types/src/generated/types/ManagedContentAssociationsRepresentation.d.ts +0 -1
  27. package/dist/es/es2018/types/src/generated/types/ManagedContentBodyInputRep.d.ts +0 -1
  28. package/dist/es/es2018/types/src/generated/types/ManagedContentChannelSummaryRepresentation.d.ts +0 -1
  29. package/dist/es/es2018/types/src/generated/types/ManagedContentChannelTargetEntitySummaryRepresentation.d.ts +0 -1
  30. package/dist/es/es2018/types/src/generated/types/ManagedContentChildRepresentation.d.ts +0 -1
  31. package/dist/es/es2018/types/src/generated/types/ManagedContentCollectionDetailRepresentation.d.ts +0 -1
  32. package/dist/es/es2018/types/src/generated/types/ManagedContentCollectionItemRepresentation.d.ts +0 -1
  33. package/dist/es/es2018/types/src/generated/types/ManagedContentCollectionItemTypeSummaryRepresentation.d.ts +0 -1
  34. package/dist/es/es2018/types/src/generated/types/ManagedContentCollectionRepresentation.d.ts +0 -1
  35. package/dist/es/es2018/types/src/generated/types/ManagedContentDateAndTimeNodeValueRepresentation.d.ts +0 -1
  36. package/dist/es/es2018/types/src/generated/types/ManagedContentDateNodeValueRepresentation.d.ts +0 -1
  37. package/dist/es/es2018/types/src/generated/types/ManagedContentDeploymentCollectionRepresentation.d.ts +0 -1
  38. package/dist/es/es2018/types/src/generated/types/ManagedContentDeploymentInputRepresentation.d.ts +0 -1
  39. package/dist/es/es2018/types/src/generated/types/ManagedContentDeploymentInputWrapperRepresentation.d.ts +0 -1
  40. package/dist/es/es2018/types/src/generated/types/ManagedContentDeploymentItemRepresentation.d.ts +0 -1
  41. package/dist/es/es2018/types/src/generated/types/ManagedContentDeploymentRepresentation.d.ts +0 -1
  42. package/dist/es/es2018/types/src/generated/types/ManagedContentDetailCollectionRepresentation.d.ts +0 -1
  43. package/dist/es/es2018/types/src/generated/types/ManagedContentDetailRepresentation.d.ts +0 -1
  44. package/dist/es/es2018/types/src/generated/types/ManagedContentDocumentDeliveryRepresentation.d.ts +0 -1
  45. package/dist/es/es2018/types/src/generated/types/ManagedContentDocumentRepresentation.d.ts +0 -1
  46. package/dist/es/es2018/types/src/generated/types/ManagedContentExportContentJobRequestInputRepresentation.d.ts +0 -1
  47. package/dist/es/es2018/types/src/generated/types/ManagedContentExportContentV2JobRequestInputRepresentation.d.ts +0 -1
  48. package/dist/es/es2018/types/src/generated/types/ManagedContentExportContentV2JobRequestInputWrapperRep.d.ts +0 -1
  49. package/dist/es/es2018/types/src/generated/types/ManagedContentExportJobItemIdsInputList.d.ts +0 -1
  50. package/dist/es/es2018/types/src/generated/types/ManagedContentFolderSearchResultRepresentation.d.ts +0 -1
  51. package/dist/es/es2018/types/src/generated/types/ManagedContentFolderSummaryRepresentation.d.ts +0 -1
  52. package/dist/es/es2018/types/src/generated/types/ManagedContentImportV2JobRequestInputWrapperRep.d.ts +0 -1
  53. package/dist/es/es2018/types/src/generated/types/ManagedContentInputRep.d.ts +0 -1
  54. package/dist/es/es2018/types/src/generated/types/ManagedContentInputRepresentation.d.ts +0 -1
  55. package/dist/es/es2018/types/src/generated/types/ManagedContentInputWrapperRepresentation.d.ts +0 -1
  56. package/dist/es/es2018/types/src/generated/types/ManagedContentJobRepresentation.d.ts +0 -1
  57. package/dist/es/es2018/types/src/generated/types/ManagedContentJobRequestInputRepresentation.d.ts +0 -1
  58. package/dist/es/es2018/types/src/generated/types/ManagedContentLanguageSummaryRepresentation.d.ts +0 -1
  59. package/dist/es/es2018/types/src/generated/types/ManagedContentMediaNodeValueRepresentation.d.ts +0 -1
  60. package/dist/es/es2018/types/src/generated/types/ManagedContentMediaSourceNodeValueRepresentation.d.ts +0 -1
  61. package/dist/es/es2018/types/src/generated/types/ManagedContentNodeTypeRepresentation.d.ts +0 -1
  62. package/dist/es/es2018/types/src/generated/types/ManagedContentNodeValueRepresentation.d.ts +0 -1
  63. package/dist/es/es2018/types/src/generated/types/ManagedContentPreviewCollectionRepresentation.d.ts +0 -1
  64. package/dist/es/es2018/types/src/generated/types/ManagedContentPreviewRepresentation.d.ts +0 -1
  65. package/dist/es/es2018/types/src/generated/types/ManagedContentPublishInputRepresentation.d.ts +0 -1
  66. package/dist/es/es2018/types/src/generated/types/ManagedContentPublishInputWrapperRepresentation.d.ts +0 -1
  67. package/dist/es/es2018/types/src/generated/types/ManagedContentPublishOutputRepresentation.d.ts +0 -1
  68. package/dist/es/es2018/types/src/generated/types/ManagedContentReferencedByCollectionRepresentation.d.ts +0 -1
  69. package/dist/es/es2018/types/src/generated/types/ManagedContentReferencedByContributorItemRepresentation.d.ts +0 -1
  70. package/dist/es/es2018/types/src/generated/types/ManagedContentReferencedByContributorRepresentation.d.ts +0 -1
  71. package/dist/es/es2018/types/src/generated/types/ManagedContentReferencedByContributorWithContributorItemsRepresentation.d.ts +0 -1
  72. package/dist/es/es2018/types/src/generated/types/ManagedContentReferencedByItemRepresentation.d.ts +0 -1
  73. package/dist/es/es2018/types/src/generated/types/ManagedContentReferencedByRecordRepresentation.d.ts +0 -1
  74. package/dist/es/es2018/types/src/generated/types/ManagedContentReferencedByVariantRepresentation.d.ts +0 -1
  75. package/dist/es/es2018/types/src/generated/types/ManagedContentRenditionRepresentation.d.ts +0 -1
  76. package/dist/es/es2018/types/src/generated/types/ManagedContentRepresentation.d.ts +0 -1
  77. package/dist/es/es2018/types/src/generated/types/ManagedContentScheduleInputRepresentation.d.ts +0 -1
  78. package/dist/es/es2018/types/src/generated/types/ManagedContentSearchResultCollectionRepresentation.d.ts +0 -1
  79. package/dist/es/es2018/types/src/generated/types/ManagedContentSearchResultContentTypeRepresentation.d.ts +0 -1
  80. package/dist/es/es2018/types/src/generated/types/ManagedContentSearchResultItemsCollectionRepresentation.d.ts +0 -1
  81. package/dist/es/es2018/types/src/generated/types/ManagedContentSearchResultRepresentation.d.ts +0 -1
  82. package/dist/es/es2018/types/src/generated/types/ManagedContentSpaceCollectionRepresentation.d.ts +0 -1
  83. package/dist/es/es2018/types/src/generated/types/ManagedContentSpaceFolderDetailRepresentation.d.ts +0 -1
  84. package/dist/es/es2018/types/src/generated/types/ManagedContentSpaceFolderInputRep.d.ts +0 -1
  85. package/dist/es/es2018/types/src/generated/types/ManagedContentSpaceFolderItemCollectionInputRep.d.ts +0 -1
  86. package/dist/es/es2018/types/src/generated/types/ManagedContentSpaceFolderItemCollectionRepresentation.d.ts +0 -1
  87. package/dist/es/es2018/types/src/generated/types/ManagedContentSpaceFolderItemRepresentation.d.ts +0 -1
  88. package/dist/es/es2018/types/src/generated/types/ManagedContentSpaceFolderRepresentation.d.ts +0 -1
  89. package/dist/es/es2018/types/src/generated/types/ManagedContentSpaceInputRepresentation.d.ts +0 -1
  90. package/dist/es/es2018/types/src/generated/types/ManagedContentSpaceInputWrapperRepresentation.d.ts +0 -1
  91. package/dist/es/es2018/types/src/generated/types/ManagedContentSpaceMemberCollectionRepresentation.d.ts +0 -1
  92. package/dist/es/es2018/types/src/generated/types/ManagedContentSpaceMemberInputRepresentation.d.ts +0 -1
  93. package/dist/es/es2018/types/src/generated/types/ManagedContentSpaceMemberPermissionsRepresentation.d.ts +0 -1
  94. package/dist/es/es2018/types/src/generated/types/ManagedContentSpaceMemberRepresentation.d.ts +0 -1
  95. package/dist/es/es2018/types/src/generated/types/ManagedContentSpacePermissionRepresentation.d.ts +0 -1
  96. package/dist/es/es2018/types/src/generated/types/ManagedContentSpaceRepresentation.d.ts +0 -1
  97. package/dist/es/es2018/types/src/generated/types/ManagedContentSpaceRoleCollectionRepresentation.d.ts +0 -1
  98. package/dist/es/es2018/types/src/generated/types/ManagedContentSpaceRoleRepresentation.d.ts +0 -1
  99. package/dist/es/es2018/types/src/generated/types/ManagedContentSpaceSummaryRepresentation.d.ts +0 -1
  100. package/dist/es/es2018/types/src/generated/types/ManagedContentTextNodeValueRepresentation.d.ts +0 -1
  101. package/dist/es/es2018/types/src/generated/types/ManagedContentTranslationRepresentation.d.ts +0 -1
  102. package/dist/es/es2018/types/src/generated/types/ManagedContentTranslationRequestInputRep.d.ts +0 -1
  103. package/dist/es/es2018/types/src/generated/types/ManagedContentTranslationV2Representation.d.ts +0 -1
  104. package/dist/es/es2018/types/src/generated/types/ManagedContentTranslationV2RequestInputRep.d.ts +0 -1
  105. package/dist/es/es2018/types/src/generated/types/ManagedContentTranslationV2RequestInputWrapperRep.d.ts +0 -1
  106. package/dist/es/es2018/types/src/generated/types/ManagedContentTypeRepresentation.d.ts +0 -1
  107. package/dist/es/es2018/types/src/generated/types/ManagedContentTypeSchemaRepresentation.d.ts +0 -1
  108. package/dist/es/es2018/types/src/generated/types/ManagedContentTypeSearchableCollectionRepresentation.d.ts +0 -1
  109. package/dist/es/es2018/types/src/generated/types/ManagedContentTypeSearchableInputRepresentation.d.ts +0 -1
  110. package/dist/es/es2018/types/src/generated/types/ManagedContentTypeSearchableRepresentation.d.ts +0 -1
  111. package/dist/es/es2018/types/src/generated/types/ManagedContentTypeSummaryRepresentation.d.ts +0 -1
  112. package/dist/es/es2018/types/src/generated/types/ManagedContentTypeViewRepresentation.d.ts +0 -1
  113. package/dist/es/es2018/types/src/generated/types/ManagedContentUnpublishInputRepresentation.d.ts +0 -1
  114. package/dist/es/es2018/types/src/generated/types/ManagedContentUnpublishInputWrapperRepresentation.d.ts +0 -1
  115. package/dist/es/es2018/types/src/generated/types/ManagedContentUnpublishOutputRepresentation.d.ts +0 -1
  116. package/dist/es/es2018/types/src/generated/types/ManagedContentUserSummaryRepresentation.d.ts +0 -1
  117. package/dist/es/es2018/types/src/generated/types/ManagedContentV2JobRepresentation.d.ts +0 -1
  118. package/dist/es/es2018/types/src/generated/types/ManagedContentV2JobRequestInputRepresentation.d.ts +0 -1
  119. package/dist/es/es2018/types/src/generated/types/ManagedContentVariantInputRepresentation.d.ts +0 -1
  120. package/dist/es/es2018/types/src/generated/types/ManagedContentVariantInputWrapperRepresentation.d.ts +0 -1
  121. package/dist/es/es2018/types/src/generated/types/ManagedContentVariantReferenceDetailsRepresentation.d.ts +0 -1
  122. package/dist/es/es2018/types/src/generated/types/ManagedContentVariantReferencesCollectionRepresentation.d.ts +0 -1
  123. package/dist/es/es2018/types/src/generated/types/ManagedContentVariantRepresentation.d.ts +0 -1
  124. package/dist/es/es2018/types/src/generated/types/ManagedContentVariantSearchResultRepresentation.d.ts +0 -1
  125. package/dist/es/es2018/types/src/generated/types/ManagedContentVariantStatusRepresentation.d.ts +0 -1
  126. package/dist/es/es2018/types/src/generated/types/ManagedContentVariantUpdateInputRepresentation.d.ts +0 -1
  127. package/dist/es/es2018/types/src/generated/types/ManagedContentVariantUpdateInputWrapperRepresentation.d.ts +0 -1
  128. package/dist/es/es2018/types/src/generated/types/ManagedContentVariantV1InputRep.d.ts +0 -1
  129. package/dist/es/es2018/types/src/generated/types/ManagedContentVariantV1Representation.d.ts +0 -1
  130. package/dist/es/es2018/types/src/generated/types/ManagedContentVariantVersionCollectionRepresentation.d.ts +0 -1
  131. package/dist/es/es2018/types/src/generated/types/ManagedContentVariantVersionRepresentation.d.ts +0 -1
  132. package/dist/es/es2018/types/src/generated/types/ManagedContentVersionCollectionRepresentation.d.ts +0 -1
  133. package/dist/es/es2018/types/src/generated/types/ManagedContentVersionInputRep.d.ts +0 -1
  134. package/dist/es/es2018/types/src/generated/types/ManagedContentVersionInternalCollectionRepresentation.d.ts +0 -1
  135. package/dist/es/es2018/types/src/generated/types/ManagedContentVersionInternalRepresentation.d.ts +0 -1
  136. package/dist/es/es2018/types/src/generated/types/ManagedContentVersionRepresentation.d.ts +0 -1
  137. package/dist/es/es2018/types/src/generated/types/ManagedContentVersionSiteNodeCollectionRepresentation.d.ts +0 -1
  138. package/dist/es/es2018/types/src/generated/types/ManagedContentVersionSiteNodeRepresentation.d.ts +0 -1
  139. package/dist/es/es2018/types/src/generated/types/ManagedContentVersionV2CollectionInputRepresentation.d.ts +0 -1
  140. package/dist/es/es2018/types/src/generated/types/ManagedContentVersionV2CollectionRepresentation.d.ts +0 -1
  141. package/dist/es/es2018/types/src/generated/types/ManagedContentVersionV2InputRepresentation.d.ts +0 -1
  142. package/dist/es/es2018/types/src/generated/types/ManagedContentVersionV2Representation.d.ts +0 -1
  143. package/dist/es/es2018/types/src/generated/types/ReferenceRepresentation.d.ts +0 -1
  144. package/dist/es/es2018/types/src/generated/types/StreamedRepresentation.d.ts +0 -1
  145. package/dist/es/es2018/types/src/generated/types/TopicSummaryRepresentation.d.ts +0 -1
  146. package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +1 -8
  147. package/package.json +1 -1
  148. package/sfdc/index.js +36 -311
@@ -4,10 +4,10 @@
4
4
  * For full license text, see the LICENSE.txt file
5
5
  */
6
6
 
7
- import { serializeStructuredKey, StoreKeyMap } from '@luvio/engine';
7
+ import { serializeStructuredKey, StoreKeyMap, deepFreeze } from '@luvio/engine';
8
8
 
9
9
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
10
- const { keys: ObjectKeys$1, freeze: ObjectFreeze$1, create: ObjectCreate$1 } = Object;
10
+ const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
11
11
  const { isArray: ArrayIsArray$1 } = Array;
12
12
  /**
13
13
  * Validates an adapter config is well-formed.
@@ -50,27 +50,9 @@ const snapshotRefreshOptions = {
50
50
  };
51
51
  const keyPrefix = 'CMSAuthoring';
52
52
 
53
- const { freeze: ObjectFreeze, keys: ObjectKeys, create: ObjectCreate, assign: ObjectAssign } = Object;
53
+ const { keys: ObjectKeys, create: ObjectCreate, assign: ObjectAssign } = Object;
54
54
  const { isArray: ArrayIsArray } = Array;
55
55
  const { stringify: JSONStringify } = JSON;
56
- function deepFreeze$u(value) {
57
- // No need to freeze primitives
58
- if (typeof value !== 'object' || value === null) {
59
- return;
60
- }
61
- if (ArrayIsArray(value)) {
62
- for (let i = 0, len = value.length; i < len; i += 1) {
63
- deepFreeze$u(value[i]);
64
- }
65
- }
66
- else {
67
- const keys = ObjectKeys(value);
68
- for (let i = 0, len = keys.length; i < len; i += 1) {
69
- deepFreeze$u(value[keys[i]]);
70
- }
71
- }
72
- ObjectFreeze(value);
73
- }
74
56
  function createLink(ref) {
75
57
  return {
76
58
  __ref: serializeStructuredKey(ref),
@@ -215,9 +197,6 @@ function validate$C(obj, path = 'ManagedContentDeploymentItemRepresentation') {
215
197
  })();
216
198
  return v_error === undefined ? null : v_error;
217
199
  }
218
- function deepFreeze$t(input) {
219
- ObjectFreeze(input);
220
- }
221
200
 
222
201
  const TTL$f = 1000;
223
202
  const VERSION$f = "ca653daea9600118e6167b9b4ff4d07c";
@@ -432,15 +411,6 @@ function equals$f(existing, incoming) {
432
411
  }
433
412
  return true;
434
413
  }
435
- function deepFreeze$s(input) {
436
- const input_deploymentItems = input.deploymentItems;
437
- for (let i = 0; i < input_deploymentItems.length; i++) {
438
- const input_deploymentItems_item = input_deploymentItems[i];
439
- deepFreeze$t(input_deploymentItems_item);
440
- }
441
- ObjectFreeze(input_deploymentItems);
442
- ObjectFreeze(input);
443
- }
444
414
  const ingest$f = function ManagedContentDeploymentRepresentationIngest(input, path, luvio, store, timestamp) {
445
415
  if (process.env.NODE_ENV !== 'production') {
446
416
  const validateError = validate$B(input);
@@ -457,7 +427,6 @@ const ingest$f = function ManagedContentDeploymentRepresentationIngest(input, pa
457
427
  propertyName: path.propertyName,
458
428
  ttl: ttlToUse
459
429
  });
460
- deepFreeze$s(input);
461
430
  if (existingRecord === undefined || equals$f(existingRecord, incomingRecord) === false) {
462
431
  luvio.storePublish(key, incomingRecord);
463
432
  }
@@ -504,6 +473,7 @@ function ingestSuccess$l(luvio, resourceParams, response) {
504
473
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
505
474
  }
506
475
  }
476
+ deepFreeze(snapshot.data);
507
477
  return snapshot;
508
478
  }
509
479
  function createResourceRequest$l(config) {
@@ -567,7 +537,7 @@ function buildNetworkSnapshot$l(luvio, config, options) {
567
537
  return luvio.storeBroadcast().then(() => snapshot);
568
538
  }, () => getResponseCacheKeys$l(luvio, resourceParams, response.body));
569
539
  }, (response) => {
570
- deepFreeze$u(response);
540
+ deepFreeze(response);
571
541
  throw response;
572
542
  });
573
543
  }
@@ -602,9 +572,6 @@ function validate$A(obj, path = 'ManagedContentTypeSummaryRepresentation') {
602
572
  })();
603
573
  return v_error === undefined ? null : v_error;
604
574
  }
605
- function deepFreeze$r(input) {
606
- ObjectFreeze(input);
607
- }
608
575
 
609
576
  function validate$z(obj, path = 'ManagedContentCollectionItemTypeSummaryRepresentation') {
610
577
  const v_error = (() => {
@@ -624,9 +591,6 @@ function validate$z(obj, path = 'ManagedContentCollectionItemTypeSummaryRepresen
624
591
  })();
625
592
  return v_error === undefined ? null : v_error;
626
593
  }
627
- function deepFreeze$q(input) {
628
- ObjectFreeze(input);
629
- }
630
594
 
631
595
  function validate$y(obj, path = 'ManagedContentCollectionItemRepresentation') {
632
596
  const v_error = (() => {
@@ -668,20 +632,6 @@ function validate$y(obj, path = 'ManagedContentCollectionItemRepresentation') {
668
632
  })();
669
633
  return v_error === undefined ? null : v_error;
670
634
  }
671
- function deepFreeze$p(input) {
672
- const input_body = input.body;
673
- const input_body_keys = Object.keys(input_body);
674
- const input_body_length = input_body_keys.length;
675
- for (let i = 0; i < input_body_length; i++) {
676
- const key = input_body_keys[i];
677
- const input_body_prop = input_body[key];
678
- deepFreeze$u(input_body_prop);
679
- }
680
- ObjectFreeze(input_body);
681
- const input_contentType = input.contentType;
682
- deepFreeze$q(input_contentType);
683
- ObjectFreeze(input);
684
- }
685
635
 
686
636
  const TTL$e = 100;
687
637
  const VERSION$e = "eeea454f1268ece5c3e24c986688b876";
@@ -785,17 +735,6 @@ function equals$e(existing, incoming) {
785
735
  }
786
736
  return true;
787
737
  }
788
- function deepFreeze$o(input) {
789
- const input_collectionType = input.collectionType;
790
- deepFreeze$r(input_collectionType);
791
- const input_items = input.items;
792
- for (let i = 0; i < input_items.length; i++) {
793
- const input_items_item = input_items[i];
794
- deepFreeze$p(input_items_item);
795
- }
796
- ObjectFreeze(input_items);
797
- ObjectFreeze(input);
798
- }
799
738
  const ingest$e = function ManagedContentCollectionDetailRepresentationIngest(input, path, luvio, store, timestamp) {
800
739
  if (process.env.NODE_ENV !== 'production') {
801
740
  const validateError = validate$x(input);
@@ -812,7 +751,6 @@ const ingest$e = function ManagedContentCollectionDetailRepresentationIngest(inp
812
751
  propertyName: path.propertyName,
813
752
  ttl: ttlToUse
814
753
  });
815
- deepFreeze$o(input);
816
754
  if (existingRecord === undefined || equals$e(existingRecord, incomingRecord) === false) {
817
755
  luvio.storePublish(key, incomingRecord);
818
756
  }
@@ -866,6 +804,7 @@ function ingestSuccess$k(luvio, resourceParams, response, snapshotRefresh) {
866
804
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
867
805
  }
868
806
  }
807
+ deepFreeze(snapshot.data);
869
808
  return snapshot;
870
809
  }
871
810
  function ingestError$a(luvio, params, error, snapshotRefresh) {
@@ -1284,9 +1223,6 @@ function equals$d(existing, incoming) {
1284
1223
  }
1285
1224
  return true;
1286
1225
  }
1287
- function deepFreeze$n(input) {
1288
- ObjectFreeze(input);
1289
- }
1290
1226
  const ingest$d = function ManagedContentTranslationV2RepresentationIngest(input, path, luvio, store, timestamp) {
1291
1227
  if (process.env.NODE_ENV !== 'production') {
1292
1228
  const validateError = validate$v(input);
@@ -1303,7 +1239,6 @@ const ingest$d = function ManagedContentTranslationV2RepresentationIngest(input,
1303
1239
  propertyName: path.propertyName,
1304
1240
  ttl: ttlToUse
1305
1241
  });
1306
- deepFreeze$n(input);
1307
1242
  if (existingRecord === undefined || equals$d(existingRecord, incomingRecord) === false) {
1308
1243
  luvio.storePublish(key, incomingRecord);
1309
1244
  }
@@ -1350,6 +1285,7 @@ function ingestSuccess$j(luvio, resourceParams, response) {
1350
1285
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
1351
1286
  }
1352
1287
  }
1288
+ deepFreeze(snapshot.data);
1353
1289
  return snapshot;
1354
1290
  }
1355
1291
  function createResourceRequest$j(config) {
@@ -1420,7 +1356,7 @@ function buildNetworkSnapshot$j(luvio, config, options) {
1420
1356
  return luvio.storeBroadcast().then(() => snapshot);
1421
1357
  }, () => getResponseCacheKeys$j(luvio, resourceParams, response.body));
1422
1358
  }, (response) => {
1423
- deepFreeze$u(response);
1359
+ deepFreeze(response);
1424
1360
  throw response;
1425
1361
  });
1426
1362
  }
@@ -1496,9 +1432,6 @@ function validate$t(obj, path = 'ManagedContentSpaceSummaryRepresentation') {
1496
1432
  })();
1497
1433
  return v_error === undefined ? null : v_error;
1498
1434
  }
1499
- function deepFreeze$m(input) {
1500
- ObjectFreeze(input);
1501
- }
1502
1435
 
1503
1436
  function validate$s(obj, path = 'ManagedContentUserSummaryRepresentation') {
1504
1437
  const v_error = (() => {
@@ -1525,9 +1458,6 @@ function validate$s(obj, path = 'ManagedContentUserSummaryRepresentation') {
1525
1458
  })();
1526
1459
  return v_error === undefined ? null : v_error;
1527
1460
  }
1528
- function deepFreeze$l(input) {
1529
- ObjectFreeze(input);
1530
- }
1531
1461
 
1532
1462
  function validate$r(obj, path = 'ManagedContentFolderSummaryRepresentation') {
1533
1463
  const v_error = (() => {
@@ -1547,9 +1477,6 @@ function validate$r(obj, path = 'ManagedContentFolderSummaryRepresentation') {
1547
1477
  })();
1548
1478
  return v_error === undefined ? null : v_error;
1549
1479
  }
1550
- function deepFreeze$k(input) {
1551
- ObjectFreeze(input);
1552
- }
1553
1480
 
1554
1481
  function validate$q(obj, path = 'ManagedContentVariantStatusRepresentation') {
1555
1482
  const v_error = (() => {
@@ -1569,9 +1496,6 @@ function validate$q(obj, path = 'ManagedContentVariantStatusRepresentation') {
1569
1496
  })();
1570
1497
  return v_error === undefined ? null : v_error;
1571
1498
  }
1572
- function deepFreeze$j(input) {
1573
- ObjectFreeze(input);
1574
- }
1575
1499
 
1576
1500
  const TTL$c = 100;
1577
1501
  const VERSION$c = "c04d826180efa7be6ad6764b5928469e";
@@ -1778,34 +1702,6 @@ function equals$c(existing, incoming) {
1778
1702
  }
1779
1703
  return true;
1780
1704
  }
1781
- function deepFreeze$i(input) {
1782
- const input_contentBody = input.contentBody;
1783
- const input_contentBody_keys = Object.keys(input_contentBody);
1784
- const input_contentBody_length = input_contentBody_keys.length;
1785
- for (let i = 0; i < input_contentBody_length; i++) {
1786
- const key = input_contentBody_keys[i];
1787
- const input_contentBody_prop = input_contentBody[key];
1788
- deepFreeze$u(input_contentBody_prop);
1789
- }
1790
- ObjectFreeze(input_contentBody);
1791
- const input_contentSpace = input.contentSpace;
1792
- deepFreeze$m(input_contentSpace);
1793
- const input_contentType = input.contentType;
1794
- deepFreeze$r(input_contentType);
1795
- const input_createdBy = input.createdBy;
1796
- deepFreeze$l(input_createdBy);
1797
- const input_folder = input.folder;
1798
- deepFreeze$k(input_folder);
1799
- const input_lastModifiedBy = input.lastModifiedBy;
1800
- deepFreeze$l(input_lastModifiedBy);
1801
- const input_status = input.status;
1802
- if (input_status !== undefined) {
1803
- if (input_status !== null && typeof input_status === 'object') {
1804
- deepFreeze$j(input_status);
1805
- }
1806
- }
1807
- ObjectFreeze(input);
1808
- }
1809
1705
  const ingest$c = function ManagedContentDocumentRepresentationIngest(input, path, luvio, store, timestamp) {
1810
1706
  if (process.env.NODE_ENV !== 'production') {
1811
1707
  const validateError = validate$p(input);
@@ -1822,7 +1718,6 @@ const ingest$c = function ManagedContentDocumentRepresentationIngest(input, path
1822
1718
  propertyName: path.propertyName,
1823
1719
  ttl: ttlToUse
1824
1720
  });
1825
- deepFreeze$i(input);
1826
1721
  if (existingRecord === undefined || equals$c(existingRecord, incomingRecord) === false) {
1827
1722
  luvio.storePublish(key, incomingRecord);
1828
1723
  }
@@ -1869,6 +1764,7 @@ function ingestSuccess$i(luvio, resourceParams, response) {
1869
1764
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
1870
1765
  }
1871
1766
  }
1767
+ deepFreeze(snapshot.data);
1872
1768
  return snapshot;
1873
1769
  }
1874
1770
  function createResourceRequest$i(config) {
@@ -1939,7 +1835,7 @@ function buildNetworkSnapshot$i(luvio, config, options) {
1939
1835
  return luvio.storeBroadcast().then(() => snapshot);
1940
1836
  }, () => getResponseCacheKeys$i(luvio, resourceParams, response.body));
1941
1837
  }, (response) => {
1942
- deepFreeze$u(response);
1838
+ deepFreeze(response);
1943
1839
  throw response;
1944
1840
  });
1945
1841
  }
@@ -2099,9 +1995,6 @@ function equals$b(existing, incoming) {
2099
1995
  }
2100
1996
  return true;
2101
1997
  }
2102
- function deepFreeze$h(input) {
2103
- ObjectFreeze(input);
2104
- }
2105
1998
  const ingest$b = function ManagedContentPublishOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2106
1999
  if (process.env.NODE_ENV !== 'production') {
2107
2000
  const validateError = validate$n(input);
@@ -2118,7 +2011,6 @@ const ingest$b = function ManagedContentPublishOutputRepresentationIngest(input,
2118
2011
  propertyName: path.propertyName,
2119
2012
  ttl: ttlToUse
2120
2013
  });
2121
- deepFreeze$h(input);
2122
2014
  if (existingRecord === undefined || equals$b(existingRecord, incomingRecord) === false) {
2123
2015
  luvio.storePublish(key, incomingRecord);
2124
2016
  }
@@ -2165,6 +2057,7 @@ function ingestSuccess$g(luvio, resourceParams, response) {
2165
2057
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
2166
2058
  }
2167
2059
  }
2060
+ deepFreeze(snapshot.data);
2168
2061
  return snapshot;
2169
2062
  }
2170
2063
  function createResourceRequest$h(config) {
@@ -2228,7 +2121,7 @@ function buildNetworkSnapshot$h(luvio, config, options) {
2228
2121
  return luvio.storeBroadcast().then(() => snapshot);
2229
2122
  }, () => getResponseCacheKeys$h(luvio, resourceParams, response.body));
2230
2123
  }, (response) => {
2231
- deepFreeze$u(response);
2124
+ deepFreeze(response);
2232
2125
  throw response;
2233
2126
  });
2234
2127
  }
@@ -2381,9 +2274,6 @@ function equals$a(existing, incoming) {
2381
2274
  }
2382
2275
  return true;
2383
2276
  }
2384
- function deepFreeze$g(input) {
2385
- ObjectFreeze(input);
2386
- }
2387
2277
  const ingest$a = function ManagedContentUnpublishOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2388
2278
  if (process.env.NODE_ENV !== 'production') {
2389
2279
  const validateError = validate$l(input);
@@ -2400,7 +2290,6 @@ const ingest$a = function ManagedContentUnpublishOutputRepresentationIngest(inpu
2400
2290
  propertyName: path.propertyName,
2401
2291
  ttl: ttlToUse
2402
2292
  });
2403
- deepFreeze$g(input);
2404
2293
  if (existingRecord === undefined || equals$a(existingRecord, incomingRecord) === false) {
2405
2294
  luvio.storePublish(key, incomingRecord);
2406
2295
  }
@@ -2447,6 +2336,7 @@ function ingestSuccess$f(luvio, resourceParams, response) {
2447
2336
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
2448
2337
  }
2449
2338
  }
2339
+ deepFreeze(snapshot.data);
2450
2340
  return snapshot;
2451
2341
  }
2452
2342
  function createResourceRequest$g(config) {
@@ -2510,7 +2400,7 @@ function buildNetworkSnapshot$g(luvio, config, options) {
2510
2400
  return luvio.storeBroadcast().then(() => snapshot);
2511
2401
  }, () => getResponseCacheKeys$g(luvio, resourceParams, response.body));
2512
2402
  }, (response) => {
2513
- deepFreeze$u(response);
2403
+ deepFreeze(response);
2514
2404
  throw response;
2515
2405
  });
2516
2406
  }
@@ -2721,30 +2611,6 @@ function equals$9(existing, incoming) {
2721
2611
  }
2722
2612
  return true;
2723
2613
  }
2724
- function deepFreeze$f(input) {
2725
- const input_contentBody = input.contentBody;
2726
- const input_contentBody_keys = Object.keys(input_contentBody);
2727
- const input_contentBody_length = input_contentBody_keys.length;
2728
- for (let i = 0; i < input_contentBody_length; i++) {
2729
- const key = input_contentBody_keys[i];
2730
- const input_contentBody_prop = input_contentBody[key];
2731
- deepFreeze$u(input_contentBody_prop);
2732
- }
2733
- ObjectFreeze(input_contentBody);
2734
- const input_contentSpace = input.contentSpace;
2735
- deepFreeze$m(input_contentSpace);
2736
- const input_contentType = input.contentType;
2737
- deepFreeze$r(input_contentType);
2738
- const input_createdBy = input.createdBy;
2739
- deepFreeze$l(input_createdBy);
2740
- const input_folder = input.folder;
2741
- deepFreeze$k(input_folder);
2742
- const input_lastModifiedBy = input.lastModifiedBy;
2743
- deepFreeze$l(input_lastModifiedBy);
2744
- const input_status = input.status;
2745
- deepFreeze$j(input_status);
2746
- ObjectFreeze(input);
2747
- }
2748
2614
  const ingest$9 = function ManagedContentVariantRepresentationIngest(input, path, luvio, store, timestamp) {
2749
2615
  if (process.env.NODE_ENV !== 'production') {
2750
2616
  const validateError = validate$j(input);
@@ -2761,7 +2627,6 @@ const ingest$9 = function ManagedContentVariantRepresentationIngest(input, path,
2761
2627
  propertyName: path.propertyName,
2762
2628
  ttl: ttlToUse
2763
2629
  });
2764
- deepFreeze$f(input);
2765
2630
  if (existingRecord === undefined || equals$9(existingRecord, incomingRecord) === false) {
2766
2631
  luvio.storePublish(key, incomingRecord);
2767
2632
  }
@@ -2808,6 +2673,7 @@ function ingestSuccess$e(luvio, resourceParams, response) {
2808
2673
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
2809
2674
  }
2810
2675
  }
2676
+ deepFreeze(snapshot.data);
2811
2677
  return snapshot;
2812
2678
  }
2813
2679
  function createResourceRequest$f(config) {
@@ -2871,7 +2737,7 @@ function buildNetworkSnapshot$f(luvio, config, options) {
2871
2737
  return luvio.storeBroadcast().then(() => snapshot);
2872
2738
  }, () => getResponseCacheKeys$f(luvio, resourceParams, response.body));
2873
2739
  }, (response) => {
2874
- deepFreeze$u(response);
2740
+ deepFreeze(response);
2875
2741
  throw response;
2876
2742
  });
2877
2743
  }
@@ -2966,7 +2832,7 @@ function buildNetworkSnapshot$e(luvio, config, options) {
2966
2832
  return luvio.storeBroadcast();
2967
2833
  }, () => getResponseCacheKeys$e(luvio, resourceParams));
2968
2834
  }, (response) => {
2969
- deepFreeze$u(response);
2835
+ deepFreeze(response);
2970
2836
  throw response;
2971
2837
  });
2972
2838
  }
@@ -3006,6 +2872,7 @@ function ingestSuccess$d(luvio, resourceParams, response, snapshotRefresh) {
3006
2872
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
3007
2873
  }
3008
2874
  }
2875
+ deepFreeze(snapshot.data);
3009
2876
  return snapshot;
3010
2877
  }
3011
2878
  function ingestError$9(luvio, params, error, snapshotRefresh) {
@@ -3195,6 +3062,7 @@ function ingestSuccess$c(luvio, resourceParams, response) {
3195
3062
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
3196
3063
  }
3197
3064
  }
3065
+ deepFreeze(snapshot.data);
3198
3066
  return snapshot;
3199
3067
  }
3200
3068
  function createResourceRequest$c(config) {
@@ -3265,7 +3133,7 @@ function buildNetworkSnapshot$c(luvio, config, options) {
3265
3133
  return luvio.storeBroadcast().then(() => snapshot);
3266
3134
  }, () => getResponseCacheKeys$c(luvio, resourceParams, response.body));
3267
3135
  }, (response) => {
3268
- deepFreeze$u(response);
3136
+ deepFreeze(response);
3269
3137
  throw response;
3270
3138
  });
3271
3139
  }
@@ -3337,15 +3205,6 @@ function validate$h(obj, path = 'ManagedContentVariantVersionRepresentation') {
3337
3205
  })();
3338
3206
  return v_error === undefined ? null : v_error;
3339
3207
  }
3340
- function deepFreeze$e(input) {
3341
- const input_createdBy = input.createdBy;
3342
- deepFreeze$l(input_createdBy);
3343
- const input_lastModifiedBy = input.lastModifiedBy;
3344
- deepFreeze$l(input_lastModifiedBy);
3345
- const input_status = input.status;
3346
- deepFreeze$j(input_status);
3347
- ObjectFreeze(input);
3348
- }
3349
3208
 
3350
3209
  const TTL$8 = 100;
3351
3210
  const VERSION$8 = "993f4fe3a5b12699f037079dbe30610b";
@@ -3416,15 +3275,6 @@ function equals$8(existing, incoming) {
3416
3275
  }
3417
3276
  return true;
3418
3277
  }
3419
- function deepFreeze$d(input) {
3420
- const input_versions = input.versions;
3421
- for (let i = 0; i < input_versions.length; i++) {
3422
- const input_versions_item = input_versions[i];
3423
- deepFreeze$e(input_versions_item);
3424
- }
3425
- ObjectFreeze(input_versions);
3426
- ObjectFreeze(input);
3427
- }
3428
3278
  const ingest$8 = function ManagedContentVariantVersionCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
3429
3279
  if (process.env.NODE_ENV !== 'production') {
3430
3280
  const validateError = validate$g(input);
@@ -3441,7 +3291,6 @@ const ingest$8 = function ManagedContentVariantVersionCollectionRepresentationIn
3441
3291
  propertyName: path.propertyName,
3442
3292
  ttl: ttlToUse
3443
3293
  });
3444
- deepFreeze$d(input);
3445
3294
  if (existingRecord === undefined || equals$8(existingRecord, incomingRecord) === false) {
3446
3295
  luvio.storePublish(key, incomingRecord);
3447
3296
  }
@@ -3493,6 +3342,7 @@ function ingestSuccess$b(luvio, resourceParams, response, snapshotRefresh) {
3493
3342
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
3494
3343
  }
3495
3344
  }
3345
+ deepFreeze(snapshot.data);
3496
3346
  return snapshot;
3497
3347
  }
3498
3348
  function ingestError$8(luvio, params, error, snapshotRefresh) {
@@ -3678,6 +3528,7 @@ function ingestSuccess$a(luvio, resourceParams, response, snapshotRefresh) {
3678
3528
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
3679
3529
  }
3680
3530
  }
3531
+ deepFreeze(snapshot.data);
3681
3532
  return snapshot;
3682
3533
  }
3683
3534
  function ingestError$7(luvio, params, error, snapshotRefresh) {
@@ -3948,27 +3799,6 @@ function equals$7(existing, incoming) {
3948
3799
  }
3949
3800
  return true;
3950
3801
  }
3951
- function deepFreeze$c(input) {
3952
- const input_renditionBody = input.renditionBody;
3953
- const input_renditionBody_keys = Object.keys(input_renditionBody);
3954
- const input_renditionBody_length = input_renditionBody_keys.length;
3955
- for (let i = 0; i < input_renditionBody_length; i++) {
3956
- const key = input_renditionBody_keys[i];
3957
- const input_renditionBody_prop = input_renditionBody[key];
3958
- deepFreeze$u(input_renditionBody_prop);
3959
- }
3960
- ObjectFreeze(input_renditionBody);
3961
- const input_renditionSchema = input.renditionSchema;
3962
- const input_renditionSchema_keys = Object.keys(input_renditionSchema);
3963
- const input_renditionSchema_length = input_renditionSchema_keys.length;
3964
- for (let i = 0; i < input_renditionSchema_length; i++) {
3965
- const key = input_renditionSchema_keys[i];
3966
- const input_renditionSchema_prop = input_renditionSchema[key];
3967
- deepFreeze$u(input_renditionSchema_prop);
3968
- }
3969
- ObjectFreeze(input_renditionSchema);
3970
- ObjectFreeze(input);
3971
- }
3972
3802
  const ingest$7 = function ManagedContentRenditionRepresentationIngest(input, path, luvio, store, timestamp) {
3973
3803
  if (process.env.NODE_ENV !== 'production') {
3974
3804
  const validateError = validate$f(input);
@@ -3985,7 +3815,6 @@ const ingest$7 = function ManagedContentRenditionRepresentationIngest(input, pat
3985
3815
  propertyName: path.propertyName,
3986
3816
  ttl: ttlToUse
3987
3817
  });
3988
- deepFreeze$c(input);
3989
3818
  if (existingRecord === undefined || equals$7(existingRecord, incomingRecord) === false) {
3990
3819
  luvio.storePublish(key, incomingRecord);
3991
3820
  }
@@ -4035,6 +3864,7 @@ function ingestSuccess$9(luvio, resourceParams, response, snapshotRefresh) {
4035
3864
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
4036
3865
  }
4037
3866
  }
3867
+ deepFreeze(snapshot.data);
4038
3868
  return snapshot;
4039
3869
  }
4040
3870
  function ingestError$6(luvio, params, error, snapshotRefresh) {
@@ -4256,15 +4086,6 @@ function validate$e(obj, path = 'AbstractManagedContentReferencedByItemRepresent
4256
4086
  })();
4257
4087
  return v_error === undefined ? null : v_error;
4258
4088
  }
4259
- function deepFreeze$b(input) {
4260
- const input_contentType = input.contentType;
4261
- if (input_contentType !== undefined) {
4262
- deepFreeze$r(input_contentType);
4263
- }
4264
- const input_referenceTypes = input.referenceTypes;
4265
- ObjectFreeze(input_referenceTypes);
4266
- ObjectFreeze(input);
4267
- }
4268
4089
 
4269
4090
  const TTL$6 = 100;
4270
4091
  const VERSION$6 = "c297f5edbe1b51eadd89e68f176520ba";
@@ -4345,15 +4166,6 @@ function equals$6(existing, incoming) {
4345
4166
  }
4346
4167
  return true;
4347
4168
  }
4348
- function deepFreeze$a(input) {
4349
- const input_referencedBy = input.referencedBy;
4350
- for (let i = 0; i < input_referencedBy.length; i++) {
4351
- const input_referencedBy_item = input_referencedBy[i];
4352
- deepFreeze$b(input_referencedBy_item);
4353
- }
4354
- ObjectFreeze(input_referencedBy);
4355
- ObjectFreeze(input);
4356
- }
4357
4169
  const ingest$6 = function ManagedContentReferencedByCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
4358
4170
  if (process.env.NODE_ENV !== 'production') {
4359
4171
  const validateError = validate$d(input);
@@ -4370,7 +4182,6 @@ const ingest$6 = function ManagedContentReferencedByCollectionRepresentationInge
4370
4182
  propertyName: path.propertyName,
4371
4183
  ttl: ttlToUse
4372
4184
  });
4373
- deepFreeze$a(input);
4374
4185
  if (existingRecord === undefined || equals$6(existingRecord, incomingRecord) === false) {
4375
4186
  luvio.storePublish(key, incomingRecord);
4376
4187
  }
@@ -4420,6 +4231,7 @@ function ingestSuccess$8(luvio, resourceParams, response, snapshotRefresh) {
4420
4231
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
4421
4232
  }
4422
4233
  }
4234
+ deepFreeze(snapshot.data);
4423
4235
  return snapshot;
4424
4236
  }
4425
4237
  function ingestError$5(luvio, params, error, snapshotRefresh) {
@@ -4593,9 +4405,6 @@ function validate$c(obj, path = 'ManagedContentLanguageSummaryRepresentation') {
4593
4405
  })();
4594
4406
  return v_error === undefined ? null : v_error;
4595
4407
  }
4596
- function deepFreeze$9(input) {
4597
- ObjectFreeze(input);
4598
- }
4599
4408
 
4600
4409
  function validate$b(obj, path = 'ManagedContentVariantReferenceDetailsRepresentation') {
4601
4410
  const v_error = (() => {
@@ -4680,19 +4489,6 @@ function validate$b(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
4680
4489
  })();
4681
4490
  return v_error === undefined ? null : v_error;
4682
4491
  }
4683
- function deepFreeze$8(input) {
4684
- const input_contentType = input.contentType;
4685
- deepFreeze$r(input_contentType);
4686
- const input_createdBy = input.createdBy;
4687
- deepFreeze$l(input_createdBy);
4688
- const input_language = input.language;
4689
- deepFreeze$9(input_language);
4690
- const input_lastModifiedBy = input.lastModifiedBy;
4691
- deepFreeze$l(input_lastModifiedBy);
4692
- const input_status = input.status;
4693
- deepFreeze$j(input_status);
4694
- ObjectFreeze(input);
4695
- }
4696
4492
 
4697
4493
  const TTL$5 = 100;
4698
4494
  const VERSION$5 = "944ebf1d8e72c74b2d0a208b3dfa8326";
@@ -4746,22 +4542,6 @@ function equals$5(existing, incoming) {
4746
4542
  }
4747
4543
  return true;
4748
4544
  }
4749
- function deepFreeze$7(input) {
4750
- const input_referenceVariants = input.referenceVariants;
4751
- const input_referenceVariants_keys = Object.keys(input_referenceVariants);
4752
- const input_referenceVariants_length = input_referenceVariants_keys.length;
4753
- for (let i = 0; i < input_referenceVariants_length; i++) {
4754
- const key = input_referenceVariants_keys[i];
4755
- const input_referenceVariants_prop = input_referenceVariants[key];
4756
- for (let i = 0; i < input_referenceVariants_prop.length; i++) {
4757
- const input_referenceVariants_prop_item = input_referenceVariants_prop[i];
4758
- deepFreeze$8(input_referenceVariants_prop_item);
4759
- }
4760
- ObjectFreeze(input_referenceVariants_prop);
4761
- }
4762
- ObjectFreeze(input_referenceVariants);
4763
- ObjectFreeze(input);
4764
- }
4765
4545
  const ingest$5 = function ManagedContentVariantReferencesCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
4766
4546
  if (process.env.NODE_ENV !== 'production') {
4767
4547
  const validateError = validate$a(input);
@@ -4778,7 +4558,6 @@ const ingest$5 = function ManagedContentVariantReferencesCollectionRepresentatio
4778
4558
  propertyName: path.propertyName,
4779
4559
  ttl: ttlToUse
4780
4560
  });
4781
- deepFreeze$7(input);
4782
4561
  if (existingRecord === undefined || equals$5(existingRecord, incomingRecord) === false) {
4783
4562
  luvio.storePublish(key, incomingRecord);
4784
4563
  }
@@ -4828,6 +4607,7 @@ function ingestSuccess$7(luvio, resourceParams, response, snapshotRefresh) {
4828
4607
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
4829
4608
  }
4830
4609
  }
4610
+ deepFreeze(snapshot.data);
4831
4611
  return snapshot;
4832
4612
  }
4833
4613
  function ingestError$4(luvio, params, error, snapshotRefresh) {
@@ -5086,17 +4866,6 @@ function validate$9(obj, path = 'ManagedContentSpaceFolderItemRepresentation') {
5086
4866
  })();
5087
4867
  return v_error === undefined ? null : v_error;
5088
4868
  }
5089
- function deepFreeze$6(input) {
5090
- const input_contentType = input.contentType;
5091
- if (input_contentType !== undefined) {
5092
- deepFreeze$r(input_contentType);
5093
- }
5094
- const input_language = input.language;
5095
- if (input_language !== undefined) {
5096
- deepFreeze$9(input_language);
5097
- }
5098
- ObjectFreeze(input);
5099
- }
5100
4869
 
5101
4870
  const TTL$4 = 100;
5102
4871
  const VERSION$4 = "e85b8f02eca0f2e88859e6f3a061e56b";
@@ -5172,15 +4941,6 @@ function equals$4(existing, incoming) {
5172
4941
  }
5173
4942
  return true;
5174
4943
  }
5175
- function deepFreeze$5(input) {
5176
- const input_folderItems = input.folderItems;
5177
- for (let i = 0; i < input_folderItems.length; i++) {
5178
- const input_folderItems_item = input_folderItems[i];
5179
- deepFreeze$6(input_folderItems_item);
5180
- }
5181
- ObjectFreeze(input_folderItems);
5182
- ObjectFreeze(input);
5183
- }
5184
4944
  const ingest$4 = function ManagedContentSpaceFolderItemCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
5185
4945
  if (process.env.NODE_ENV !== 'production') {
5186
4946
  const validateError = validate$8(input);
@@ -5197,7 +4957,6 @@ const ingest$4 = function ManagedContentSpaceFolderItemCollectionRepresentationI
5197
4957
  propertyName: path.propertyName,
5198
4958
  ttl: ttlToUse
5199
4959
  });
5200
- deepFreeze$5(input);
5201
4960
  if (existingRecord === undefined || equals$4(existingRecord, incomingRecord) === false) {
5202
4961
  luvio.storePublish(key, incomingRecord);
5203
4962
  }
@@ -5247,6 +5006,7 @@ function ingestSuccess$6(luvio, resourceParams, response, snapshotRefresh) {
5247
5006
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
5248
5007
  }
5249
5008
  }
5009
+ deepFreeze(snapshot.data);
5250
5010
  return snapshot;
5251
5011
  }
5252
5012
  function ingestError$3(luvio, params, error, snapshotRefresh) {
@@ -5490,15 +5250,6 @@ function validate$7(obj, path = 'AbstractManagedContentSearchResultRepresentatio
5490
5250
  })();
5491
5251
  return v_error === undefined ? null : v_error;
5492
5252
  }
5493
- function deepFreeze$4(input) {
5494
- const input_createdBy = input.createdBy;
5495
- deepFreeze$l(input_createdBy);
5496
- const input_folder = input.folder;
5497
- deepFreeze$k(input_folder);
5498
- const input_lastModifiedBy = input.lastModifiedBy;
5499
- deepFreeze$l(input_lastModifiedBy);
5500
- ObjectFreeze(input);
5501
- }
5502
5253
 
5503
5254
  const TTL$3 = 100;
5504
5255
  const VERSION$3 = "bbcdc04e5d094f6f8048bc2863d86527";
@@ -5558,15 +5309,6 @@ function equals$3(existing, incoming) {
5558
5309
  }
5559
5310
  return true;
5560
5311
  }
5561
- function deepFreeze$3(input) {
5562
- const input_items = input.items;
5563
- for (let i = 0; i < input_items.length; i++) {
5564
- const input_items_item = input_items[i];
5565
- deepFreeze$4(input_items_item);
5566
- }
5567
- ObjectFreeze(input_items);
5568
- ObjectFreeze(input);
5569
- }
5570
5312
  const ingest$3 = function ManagedContentSearchResultItemsCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
5571
5313
  if (process.env.NODE_ENV !== 'production') {
5572
5314
  const validateError = validate$6(input);
@@ -5583,7 +5325,6 @@ const ingest$3 = function ManagedContentSearchResultItemsCollectionRepresentatio
5583
5325
  propertyName: path.propertyName,
5584
5326
  ttl: ttlToUse
5585
5327
  });
5586
- deepFreeze$3(input);
5587
5328
  if (existingRecord === undefined || equals$3(existingRecord, incomingRecord) === false) {
5588
5329
  luvio.storePublish(key, incomingRecord);
5589
5330
  }
@@ -5633,6 +5374,7 @@ function ingestSuccess$5(luvio, resourceParams, response, snapshotRefresh) {
5633
5374
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
5634
5375
  }
5635
5376
  }
5377
+ deepFreeze(snapshot.data);
5636
5378
  return snapshot;
5637
5379
  }
5638
5380
  function ingestError$2(luvio, params, error, snapshotRefresh) {
@@ -5957,13 +5699,6 @@ function equals$2(existing, incoming) {
5957
5699
  }
5958
5700
  return true;
5959
5701
  }
5960
- function deepFreeze$2(input) {
5961
- const input_supportedLanguages = input.supportedLanguages;
5962
- if (input_supportedLanguages !== undefined) {
5963
- ObjectFreeze(input_supportedLanguages);
5964
- }
5965
- ObjectFreeze(input);
5966
- }
5967
5702
  const ingest$2 = function ManagedContentSpaceRepresentationIngest(input, path, luvio, store, timestamp) {
5968
5703
  if (process.env.NODE_ENV !== 'production') {
5969
5704
  const validateError = validate$5(input);
@@ -5980,7 +5715,6 @@ const ingest$2 = function ManagedContentSpaceRepresentationIngest(input, path, l
5980
5715
  propertyName: path.propertyName,
5981
5716
  ttl: ttlToUse
5982
5717
  });
5983
- deepFreeze$2(input);
5984
5718
  if (existingRecord === undefined || equals$2(existingRecord, incomingRecord) === false) {
5985
5719
  luvio.storePublish(key, incomingRecord);
5986
5720
  }
@@ -6050,15 +5784,6 @@ function equals$1(existing, incoming) {
6050
5784
  }
6051
5785
  return true;
6052
5786
  }
6053
- function deepFreeze$1(input) {
6054
- const input_spaces = input.spaces;
6055
- for (let i = 0; i < input_spaces.length; i++) {
6056
- const input_spaces_item = input_spaces[i];
6057
- deepFreeze$2(input_spaces_item);
6058
- }
6059
- ObjectFreeze(input_spaces);
6060
- ObjectFreeze(input);
6061
- }
6062
5787
  const ingest$1 = function ManagedContentSpaceCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
6063
5788
  if (process.env.NODE_ENV !== 'production') {
6064
5789
  const validateError = validate$4(input);
@@ -6075,7 +5800,6 @@ const ingest$1 = function ManagedContentSpaceCollectionRepresentationIngest(inpu
6075
5800
  propertyName: path.propertyName,
6076
5801
  ttl: ttlToUse
6077
5802
  });
6078
- deepFreeze$1(input);
6079
5803
  if (existingRecord === undefined || equals$1(existingRecord, incomingRecord) === false) {
6080
5804
  luvio.storePublish(key, incomingRecord);
6081
5805
  }
@@ -6125,6 +5849,7 @@ function ingestSuccess$4(luvio, resourceParams, response, snapshotRefresh) {
6125
5849
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
6126
5850
  }
6127
5851
  }
5852
+ deepFreeze(snapshot.data);
6128
5853
  return snapshot;
6129
5854
  }
6130
5855
  function ingestError$1(luvio, params, error, snapshotRefresh) {
@@ -6290,6 +6015,7 @@ function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
6290
6015
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
6291
6016
  }
6292
6017
  }
6018
+ deepFreeze(snapshot.data);
6293
6019
  return snapshot;
6294
6020
  }
6295
6021
  function ingestError(luvio, params, error, snapshotRefresh) {
@@ -6539,6 +6265,7 @@ function ingestSuccess$2(luvio, resourceParams, response) {
6539
6265
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
6540
6266
  }
6541
6267
  }
6268
+ deepFreeze(snapshot.data);
6542
6269
  return snapshot;
6543
6270
  }
6544
6271
  function createResourceRequest$2(config) {
@@ -6609,7 +6336,7 @@ function buildNetworkSnapshot$2(luvio, config, options) {
6609
6336
  return luvio.storeBroadcast().then(() => snapshot);
6610
6337
  }, () => getResponseCacheKeys$2(luvio, resourceParams, response.body));
6611
6338
  }, (response) => {
6612
- deepFreeze$u(response);
6339
+ deepFreeze(response);
6613
6340
  throw response;
6614
6341
  });
6615
6342
  }
@@ -6858,9 +6585,6 @@ function equals(existing, incoming) {
6858
6585
  }
6859
6586
  return true;
6860
6587
  }
6861
- function deepFreeze(input) {
6862
- ObjectFreeze(input);
6863
- }
6864
6588
  const ingest = function ManagedContentV2JobRepresentationIngest(input, path, luvio, store, timestamp) {
6865
6589
  if (process.env.NODE_ENV !== 'production') {
6866
6590
  const validateError = validate$1(input);
@@ -6877,7 +6601,6 @@ const ingest = function ManagedContentV2JobRepresentationIngest(input, path, luv
6877
6601
  propertyName: path.propertyName,
6878
6602
  ttl: ttlToUse
6879
6603
  });
6880
- deepFreeze(input);
6881
6604
  if (existingRecord === undefined || equals(existingRecord, incomingRecord) === false) {
6882
6605
  luvio.storePublish(key, incomingRecord);
6883
6606
  }
@@ -6924,6 +6647,7 @@ function ingestSuccess$1(luvio, resourceParams, response) {
6924
6647
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
6925
6648
  }
6926
6649
  }
6650
+ deepFreeze(snapshot.data);
6927
6651
  return snapshot;
6928
6652
  }
6929
6653
  function createResourceRequest$1(config) {
@@ -6994,7 +6718,7 @@ function buildNetworkSnapshot$1(luvio, config, options) {
6994
6718
  return luvio.storeBroadcast().then(() => snapshot);
6995
6719
  }, () => getResponseCacheKeys$1(luvio, resourceParams, response.body));
6996
6720
  }, (response) => {
6997
- deepFreeze$u(response);
6721
+ deepFreeze(response);
6998
6722
  throw response;
6999
6723
  });
7000
6724
  }
@@ -7053,6 +6777,7 @@ function ingestSuccess(luvio, resourceParams, response) {
7053
6777
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
7054
6778
  }
7055
6779
  }
6780
+ deepFreeze(snapshot.data);
7056
6781
  return snapshot;
7057
6782
  }
7058
6783
  function createResourceRequest(config) {
@@ -7123,7 +6848,7 @@ function buildNetworkSnapshot(luvio, config, options) {
7123
6848
  return luvio.storeBroadcast().then(() => snapshot);
7124
6849
  }, () => getResponseCacheKeys(luvio, resourceParams, response.body));
7125
6850
  }, (response) => {
7126
- deepFreeze$u(response);
6851
+ deepFreeze(response);
7127
6852
  throw response;
7128
6853
  });
7129
6854
  }