@salesforce/lds-adapters-cms-orchestrator 1.242.1 → 1.244.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@
4
4
  * For full license text, see the LICENSE.txt file
5
5
  */
6
6
 
7
- import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$3, typeCheckConfig as typeCheckConfig$4, StoreKeyMap, createResourceParams as createResourceParams$4 } from '@luvio/engine';
7
+ import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$4, typeCheckConfig as typeCheckConfig$6, StoreKeyMap, createResourceParams as createResourceParams$6 } from '@luvio/engine';
8
8
 
9
9
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
10
10
  const { keys: ObjectKeys, create: ObjectCreate } = Object;
@@ -148,19 +148,19 @@ function validate$6(obj, path = 'ManagedContentOrchestrationDefinitionRepresenta
148
148
  return v_error === undefined ? null : v_error;
149
149
  }
150
150
  const RepresentationType$4 = 'ManagedContentOrchestrationDefinitionRepresentation';
151
- function keyBuilder$7(luvio, config) {
151
+ function keyBuilder$a(luvio, config) {
152
152
  return keyPrefix + '::' + RepresentationType$4 + ':' + config.id;
153
153
  }
154
154
  function keyBuilderFromType$1(luvio, object) {
155
155
  const keyParams = {
156
156
  id: object.developerName
157
157
  };
158
- return keyBuilder$7(luvio, keyParams);
158
+ return keyBuilder$a(luvio, keyParams);
159
159
  }
160
160
  function normalize$4(input, existing, path, luvio, store, timestamp) {
161
161
  return input;
162
162
  }
163
- const select$9 = function ManagedContentOrchestrationDefinitionRepresentationSelect() {
163
+ const select$a = function ManagedContentOrchestrationDefinitionRepresentationSelect() {
164
164
  return {
165
165
  kind: 'Fragment',
166
166
  version: VERSION$5,
@@ -343,7 +343,7 @@ function normalize$3(input, existing, path, luvio, store, timestamp) {
343
343
  }
344
344
  return input;
345
345
  }
346
- const select$8 = function ManagedContentOrchestrationDefinitionCollectionRepresentationSelect() {
346
+ const select$9 = function ManagedContentOrchestrationDefinitionCollectionRepresentationSelect() {
347
347
  return {
348
348
  kind: 'Fragment',
349
349
  version: VERSION$4,
@@ -361,7 +361,7 @@ const select$8 = function ManagedContentOrchestrationDefinitionCollectionReprese
361
361
  name: 'orchestrationDefinitions',
362
362
  kind: 'Link',
363
363
  plural: true,
364
- fragment: select$9()
364
+ fragment: select$a()
365
365
  },
366
366
  {
367
367
  name: 'previousPageUri',
@@ -433,22 +433,22 @@ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
433
433
  }
434
434
  }
435
435
 
436
- function select$7(luvio, params) {
437
- return select$8();
436
+ function select$8(luvio, params) {
437
+ return select$9();
438
438
  }
439
- function keyBuilder$6(luvio, params) {
439
+ function keyBuilder$9(luvio, params) {
440
440
  return keyPrefix + '::ManagedContentOrchestrationDefinitionCollectionRepresentation:(' + 'managedContentVariantId:' + params.queryParams.managedContentVariantId + ',' + 'page:' + params.queryParams.page + ',' + 'pageSize:' + params.queryParams.pageSize + ')';
441
441
  }
442
- function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
443
- getTypeCacheKeys$3(storeKeyMap, luvio, response, () => keyBuilder$6(luvio, resourceParams));
442
+ function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
443
+ getTypeCacheKeys$3(storeKeyMap, luvio, response, () => keyBuilder$9(luvio, resourceParams));
444
444
  }
445
- function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
445
+ function ingestSuccess$4(luvio, resourceParams, response, snapshotRefresh) {
446
446
  const { body } = response;
447
- const key = keyBuilder$6(luvio, resourceParams);
447
+ const key = keyBuilder$9(luvio, resourceParams);
448
448
  luvio.storeIngest(key, ingest$3, body);
449
449
  const snapshot = luvio.storeLookup({
450
450
  recordId: key,
451
- node: select$7(),
451
+ node: select$8(),
452
452
  variables: {},
453
453
  }, snapshotRefresh);
454
454
  if (process.env.NODE_ENV !== 'production') {
@@ -459,8 +459,8 @@ function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
459
459
  deepFreeze(snapshot.data);
460
460
  return snapshot;
461
461
  }
462
- function ingestError$2(luvio, params, error, snapshotRefresh) {
463
- const key = keyBuilder$6(luvio, params);
462
+ function ingestError$3(luvio, params, error, snapshotRefresh) {
463
+ const key = keyBuilder$9(luvio, params);
464
464
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
465
465
  const storeMetadataParams = {
466
466
  ttl: TTL$3,
@@ -471,7 +471,7 @@ function ingestError$2(luvio, params, error, snapshotRefresh) {
471
471
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
472
472
  return errorSnapshot;
473
473
  }
474
- function createResourceRequest$3(config) {
474
+ function createResourceRequest$5(config) {
475
475
  const headers = {};
476
476
  return {
477
477
  baseUri: '/services/data/v60.0',
@@ -485,96 +485,96 @@ function createResourceRequest$3(config) {
485
485
  };
486
486
  }
487
487
 
488
- const adapterName$3 = 'getManagedContentOrchestrationDefinitions';
488
+ const adapterName$5 = 'getManagedContentOrchestrationDefinitions';
489
489
  const getManagedContentOrchestrationDefinitions_ConfigPropertyMetadata = [
490
490
  generateParamConfigMetadata('managedContentVariantId', false, 1 /* QueryParameter */, 0 /* String */),
491
491
  generateParamConfigMetadata('page', false, 1 /* QueryParameter */, 3 /* Integer */),
492
492
  generateParamConfigMetadata('pageSize', false, 1 /* QueryParameter */, 3 /* Integer */),
493
493
  ];
494
- const getManagedContentOrchestrationDefinitions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getManagedContentOrchestrationDefinitions_ConfigPropertyMetadata);
495
- const createResourceParams$3 = /*#__PURE__*/ createResourceParams$4(getManagedContentOrchestrationDefinitions_ConfigPropertyMetadata);
496
- function keyBuilder$5(luvio, config) {
497
- const resourceParams = createResourceParams$3(config);
498
- return keyBuilder$6(luvio, resourceParams);
494
+ const getManagedContentOrchestrationDefinitions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, getManagedContentOrchestrationDefinitions_ConfigPropertyMetadata);
495
+ const createResourceParams$5 = /*#__PURE__*/ createResourceParams$6(getManagedContentOrchestrationDefinitions_ConfigPropertyMetadata);
496
+ function keyBuilder$8(luvio, config) {
497
+ const resourceParams = createResourceParams$5(config);
498
+ return keyBuilder$9(luvio, resourceParams);
499
499
  }
500
- function typeCheckConfig$3(untrustedConfig) {
500
+ function typeCheckConfig$5(untrustedConfig) {
501
501
  const config = {};
502
- typeCheckConfig$4(untrustedConfig, config, getManagedContentOrchestrationDefinitions_ConfigPropertyMetadata);
502
+ typeCheckConfig$6(untrustedConfig, config, getManagedContentOrchestrationDefinitions_ConfigPropertyMetadata);
503
503
  return config;
504
504
  }
505
- function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
505
+ function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
506
506
  if (!untrustedIsObject(untrustedConfig)) {
507
507
  return null;
508
508
  }
509
509
  if (process.env.NODE_ENV !== 'production') {
510
510
  validateConfig(untrustedConfig, configPropertyNames);
511
511
  }
512
- const config = typeCheckConfig$3(untrustedConfig);
512
+ const config = typeCheckConfig$5(untrustedConfig);
513
513
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
514
514
  return null;
515
515
  }
516
516
  return config;
517
517
  }
518
- function adapterFragment$2(luvio, config) {
519
- createResourceParams$3(config);
520
- return select$7();
518
+ function adapterFragment$3(luvio, config) {
519
+ createResourceParams$5(config);
520
+ return select$8();
521
521
  }
522
- function onFetchResponseSuccess$2(luvio, config, resourceParams, response) {
523
- const snapshot = ingestSuccess$3(luvio, resourceParams, response, {
522
+ function onFetchResponseSuccess$3(luvio, config, resourceParams, response) {
523
+ const snapshot = ingestSuccess$4(luvio, resourceParams, response, {
524
524
  config,
525
- resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
525
+ resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
526
526
  });
527
527
  return luvio.storeBroadcast().then(() => snapshot);
528
528
  }
529
- function onFetchResponseError$2(luvio, config, resourceParams, response) {
530
- const snapshot = ingestError$2(luvio, resourceParams, response, {
529
+ function onFetchResponseError$3(luvio, config, resourceParams, response) {
530
+ const snapshot = ingestError$3(luvio, resourceParams, response, {
531
531
  config,
532
- resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
532
+ resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
533
533
  });
534
534
  return luvio.storeBroadcast().then(() => snapshot);
535
535
  }
536
- function buildNetworkSnapshot$3(luvio, config, options) {
537
- const resourceParams = createResourceParams$3(config);
538
- const request = createResourceRequest$3(resourceParams);
536
+ function buildNetworkSnapshot$5(luvio, config, options) {
537
+ const resourceParams = createResourceParams$5(config);
538
+ const request = createResourceRequest$5(resourceParams);
539
539
  return luvio.dispatchResourceRequest(request, options)
540
540
  .then((response) => {
541
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$2(luvio, config, resourceParams, response), () => {
541
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$3(luvio, config, resourceParams, response), () => {
542
542
  const cache = new StoreKeyMap();
543
- getResponseCacheKeys$3(cache, luvio, resourceParams, response.body);
543
+ getResponseCacheKeys$5(cache, luvio, resourceParams, response.body);
544
544
  return cache;
545
545
  });
546
546
  }, (response) => {
547
- return luvio.handleErrorResponse(() => onFetchResponseError$2(luvio, config, resourceParams, response));
547
+ return luvio.handleErrorResponse(() => onFetchResponseError$3(luvio, config, resourceParams, response));
548
548
  });
549
549
  }
550
- function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
551
- return buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
550
+ function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
551
+ return buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext, buildNetworkSnapshot$5, undefined, false);
552
552
  }
553
- function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
553
+ function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
554
554
  const { luvio, config } = context;
555
555
  const selector = {
556
- recordId: keyBuilder$5(luvio, config),
557
- node: adapterFragment$2(luvio, config),
556
+ recordId: keyBuilder$8(luvio, config),
557
+ node: adapterFragment$3(luvio, config),
558
558
  variables: {},
559
559
  };
560
560
  const cacheSnapshot = storeLookup(selector, {
561
561
  config,
562
- resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
562
+ resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
563
563
  });
564
564
  return cacheSnapshot;
565
565
  }
566
566
  const getManagedContentOrchestrationDefinitionsAdapterFactory = (luvio) => function CMSOrchestrator__getManagedContentOrchestrationDefinitions(untrustedConfig, requestContext) {
567
- const config = validateAdapterConfig$3(untrustedConfig, getManagedContentOrchestrationDefinitions_ConfigPropertyNames);
567
+ const config = validateAdapterConfig$5(untrustedConfig, getManagedContentOrchestrationDefinitions_ConfigPropertyNames);
568
568
  // Invalid or incomplete config
569
569
  if (config === null) {
570
570
  return null;
571
571
  }
572
572
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
573
- buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
573
+ buildCachedSnapshotCachePolicy$3, buildNetworkSnapshotCachePolicy$3);
574
574
  };
575
575
 
576
576
  const TTL$2 = 100;
577
- const VERSION$3 = "fd41d1688072d0b3d7e856f50ad268a8";
577
+ const VERSION$3 = "5f256b9378b4763b7c05f5fab2eb0809";
578
578
  function validate$4(obj, path = 'ManagedContentOrchestrationInstanceRepresentation') {
579
579
  const v_error = (() => {
580
580
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -595,18 +595,23 @@ function validate$4(obj, path = 'ManagedContentOrchestrationInstanceRepresentati
595
595
  if (typeof obj_orchestrationDefinition !== 'object') {
596
596
  return new TypeError('Expected "object" but received "' + typeof obj_orchestrationDefinition + '" (at "' + path_orchestrationDefinition + '")');
597
597
  }
598
+ const obj_orchestrationInstanceId = obj.orchestrationInstanceId;
599
+ const path_orchestrationInstanceId = path + '.orchestrationInstanceId';
600
+ if (typeof obj_orchestrationInstanceId !== 'string') {
601
+ return new TypeError('Expected "string" but received "' + typeof obj_orchestrationInstanceId + '" (at "' + path_orchestrationInstanceId + '")');
602
+ }
598
603
  })();
599
604
  return v_error === undefined ? null : v_error;
600
605
  }
601
606
  const RepresentationType$2 = 'ManagedContentOrchestrationInstanceRepresentation';
602
- function keyBuilder$4(luvio, config) {
607
+ function keyBuilder$7(luvio, config) {
603
608
  return keyPrefix + '::' + RepresentationType$2 + ':' + config.id;
604
609
  }
605
610
  function keyBuilderFromType(luvio, object) {
606
611
  const keyParams = {
607
612
  id: object.managedContentVariantId
608
613
  };
609
- return keyBuilder$4(luvio, keyParams);
614
+ return keyBuilder$7(luvio, keyParams);
610
615
  }
611
616
  function normalize$2(input, existing, path, luvio, store, timestamp) {
612
617
  const input_orchestrationDefinition = input.orchestrationDefinition;
@@ -623,7 +628,7 @@ function normalize$2(input, existing, path, luvio, store, timestamp) {
623
628
  }, luvio, store, timestamp);
624
629
  return input;
625
630
  }
626
- const select$6 = function ManagedContentOrchestrationInstanceRepresentationSelect() {
631
+ const select$7 = function ManagedContentOrchestrationInstanceRepresentationSelect() {
627
632
  return {
628
633
  kind: 'Fragment',
629
634
  version: VERSION$3,
@@ -640,7 +645,11 @@ const select$6 = function ManagedContentOrchestrationInstanceRepresentationSelec
640
645
  {
641
646
  name: 'orchestrationDefinition',
642
647
  kind: 'Link',
643
- fragment: select$9()
648
+ fragment: select$a()
649
+ },
650
+ {
651
+ name: 'orchestrationInstanceId',
652
+ kind: 'Scalar'
644
653
  }
645
654
  ]
646
655
  };
@@ -656,6 +665,11 @@ function equals$3(existing, incoming) {
656
665
  if (!(existing_managedContentVariantId === incoming_managedContentVariantId)) {
657
666
  return false;
658
667
  }
668
+ const existing_orchestrationInstanceId = existing.orchestrationInstanceId;
669
+ const incoming_orchestrationInstanceId = incoming.orchestrationInstanceId;
670
+ if (!(existing_orchestrationInstanceId === incoming_orchestrationInstanceId)) {
671
+ return false;
672
+ }
659
673
  const existing_orchestrationDefinition = existing.orchestrationDefinition;
660
674
  const incoming_orchestrationDefinition = incoming.orchestrationDefinition;
661
675
  if (!(existing_orchestrationDefinition.__ref === incoming_orchestrationDefinition.__ref)) {
@@ -728,7 +742,7 @@ function normalize$1(input, existing, path, luvio, store, timestamp) {
728
742
  }
729
743
  return input;
730
744
  }
731
- const select$5 = function ManagedContentOrchestrationInstanceCollectionRepresentationSelect() {
745
+ const select$6 = function ManagedContentOrchestrationInstanceCollectionRepresentationSelect() {
732
746
  return {
733
747
  kind: 'Fragment',
734
748
  version: VERSION$2,
@@ -738,7 +752,7 @@ const select$5 = function ManagedContentOrchestrationInstanceCollectionRepresent
738
752
  name: 'orchestrationInstances',
739
753
  kind: 'Link',
740
754
  plural: true,
741
- fragment: select$6()
755
+ fragment: select$7()
742
756
  }
743
757
  ]
744
758
  };
@@ -782,22 +796,22 @@ function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
782
796
  }
783
797
  }
784
798
 
785
- function select$4(luvio, params) {
786
- return select$5();
799
+ function select$5(luvio, params) {
800
+ return select$6();
787
801
  }
788
- function keyBuilder$3(luvio, params) {
802
+ function keyBuilder$6(luvio, params) {
789
803
  return keyPrefix + '::ManagedContentOrchestrationInstanceCollectionRepresentation:(' + 'managedContentVariantId:' + params.queryParams.managedContentVariantId + ')';
790
804
  }
791
- function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
792
- getTypeCacheKeys$1(storeKeyMap, luvio, response, () => keyBuilder$3(luvio, resourceParams));
805
+ function getResponseCacheKeys$4(storeKeyMap, luvio, resourceParams, response) {
806
+ getTypeCacheKeys$1(storeKeyMap, luvio, response, () => keyBuilder$6(luvio, resourceParams));
793
807
  }
794
- function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
808
+ function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
795
809
  const { body } = response;
796
- const key = keyBuilder$3(luvio, resourceParams);
810
+ const key = keyBuilder$6(luvio, resourceParams);
797
811
  luvio.storeIngest(key, ingest$1, body);
798
812
  const snapshot = luvio.storeLookup({
799
813
  recordId: key,
800
- node: select$4(),
814
+ node: select$5(),
801
815
  variables: {},
802
816
  }, snapshotRefresh);
803
817
  if (process.env.NODE_ENV !== 'production') {
@@ -808,8 +822,8 @@ function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
808
822
  deepFreeze(snapshot.data);
809
823
  return snapshot;
810
824
  }
811
- function ingestError$1(luvio, params, error, snapshotRefresh) {
812
- const key = keyBuilder$3(luvio, params);
825
+ function ingestError$2(luvio, params, error, snapshotRefresh) {
826
+ const key = keyBuilder$6(luvio, params);
813
827
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
814
828
  const storeMetadataParams = {
815
829
  ttl: TTL$1,
@@ -820,7 +834,7 @@ function ingestError$1(luvio, params, error, snapshotRefresh) {
820
834
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
821
835
  return errorSnapshot;
822
836
  }
823
- function createResourceRequest$2(config) {
837
+ function createResourceRequest$4(config) {
824
838
  const headers = {};
825
839
  return {
826
840
  baseUri: '/services/data/v60.0',
@@ -834,90 +848,90 @@ function createResourceRequest$2(config) {
834
848
  };
835
849
  }
836
850
 
837
- const adapterName$2 = 'getManagedContentOrchestrationInstances';
851
+ const adapterName$4 = 'getManagedContentOrchestrationInstances';
838
852
  const getManagedContentOrchestrationInstances_ConfigPropertyMetadata = [
839
853
  generateParamConfigMetadata('managedContentVariantId', false, 1 /* QueryParameter */, 0 /* String */),
840
854
  ];
841
- const getManagedContentOrchestrationInstances_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getManagedContentOrchestrationInstances_ConfigPropertyMetadata);
842
- const createResourceParams$2 = /*#__PURE__*/ createResourceParams$4(getManagedContentOrchestrationInstances_ConfigPropertyMetadata);
843
- function keyBuilder$2(luvio, config) {
844
- const resourceParams = createResourceParams$2(config);
845
- return keyBuilder$3(luvio, resourceParams);
855
+ const getManagedContentOrchestrationInstances_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, getManagedContentOrchestrationInstances_ConfigPropertyMetadata);
856
+ const createResourceParams$4 = /*#__PURE__*/ createResourceParams$6(getManagedContentOrchestrationInstances_ConfigPropertyMetadata);
857
+ function keyBuilder$5(luvio, config) {
858
+ const resourceParams = createResourceParams$4(config);
859
+ return keyBuilder$6(luvio, resourceParams);
846
860
  }
847
- function typeCheckConfig$2(untrustedConfig) {
861
+ function typeCheckConfig$4(untrustedConfig) {
848
862
  const config = {};
849
- typeCheckConfig$4(untrustedConfig, config, getManagedContentOrchestrationInstances_ConfigPropertyMetadata);
863
+ typeCheckConfig$6(untrustedConfig, config, getManagedContentOrchestrationInstances_ConfigPropertyMetadata);
850
864
  return config;
851
865
  }
852
- function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
866
+ function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
853
867
  if (!untrustedIsObject(untrustedConfig)) {
854
868
  return null;
855
869
  }
856
870
  if (process.env.NODE_ENV !== 'production') {
857
871
  validateConfig(untrustedConfig, configPropertyNames);
858
872
  }
859
- const config = typeCheckConfig$2(untrustedConfig);
873
+ const config = typeCheckConfig$4(untrustedConfig);
860
874
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
861
875
  return null;
862
876
  }
863
877
  return config;
864
878
  }
865
- function adapterFragment$1(luvio, config) {
866
- createResourceParams$2(config);
867
- return select$4();
879
+ function adapterFragment$2(luvio, config) {
880
+ createResourceParams$4(config);
881
+ return select$5();
868
882
  }
869
- function onFetchResponseSuccess$1(luvio, config, resourceParams, response) {
870
- const snapshot = ingestSuccess$2(luvio, resourceParams, response, {
883
+ function onFetchResponseSuccess$2(luvio, config, resourceParams, response) {
884
+ const snapshot = ingestSuccess$3(luvio, resourceParams, response, {
871
885
  config,
872
- resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
886
+ resolve: () => buildNetworkSnapshot$4(luvio, config, snapshotRefreshOptions)
873
887
  });
874
888
  return luvio.storeBroadcast().then(() => snapshot);
875
889
  }
876
- function onFetchResponseError$1(luvio, config, resourceParams, response) {
877
- const snapshot = ingestError$1(luvio, resourceParams, response, {
890
+ function onFetchResponseError$2(luvio, config, resourceParams, response) {
891
+ const snapshot = ingestError$2(luvio, resourceParams, response, {
878
892
  config,
879
- resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
893
+ resolve: () => buildNetworkSnapshot$4(luvio, config, snapshotRefreshOptions)
880
894
  });
881
895
  return luvio.storeBroadcast().then(() => snapshot);
882
896
  }
883
- function buildNetworkSnapshot$2(luvio, config, options) {
884
- const resourceParams = createResourceParams$2(config);
885
- const request = createResourceRequest$2(resourceParams);
897
+ function buildNetworkSnapshot$4(luvio, config, options) {
898
+ const resourceParams = createResourceParams$4(config);
899
+ const request = createResourceRequest$4(resourceParams);
886
900
  return luvio.dispatchResourceRequest(request, options)
887
901
  .then((response) => {
888
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$1(luvio, config, resourceParams, response), () => {
902
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$2(luvio, config, resourceParams, response), () => {
889
903
  const cache = new StoreKeyMap();
890
- getResponseCacheKeys$2(cache, luvio, resourceParams, response.body);
904
+ getResponseCacheKeys$4(cache, luvio, resourceParams, response.body);
891
905
  return cache;
892
906
  });
893
907
  }, (response) => {
894
- return luvio.handleErrorResponse(() => onFetchResponseError$1(luvio, config, resourceParams, response));
908
+ return luvio.handleErrorResponse(() => onFetchResponseError$2(luvio, config, resourceParams, response));
895
909
  });
896
910
  }
897
- function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
898
- return buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
911
+ function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
912
+ return buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
899
913
  }
900
- function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
914
+ function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
901
915
  const { luvio, config } = context;
902
916
  const selector = {
903
- recordId: keyBuilder$2(luvio, config),
904
- node: adapterFragment$1(luvio, config),
917
+ recordId: keyBuilder$5(luvio, config),
918
+ node: adapterFragment$2(luvio, config),
905
919
  variables: {},
906
920
  };
907
921
  const cacheSnapshot = storeLookup(selector, {
908
922
  config,
909
- resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
923
+ resolve: () => buildNetworkSnapshot$4(luvio, config, snapshotRefreshOptions)
910
924
  });
911
925
  return cacheSnapshot;
912
926
  }
913
927
  const getManagedContentOrchestrationInstancesAdapterFactory = (luvio) => function CMSOrchestrator__getManagedContentOrchestrationInstances(untrustedConfig, requestContext) {
914
- const config = validateAdapterConfig$2(untrustedConfig, getManagedContentOrchestrationInstances_ConfigPropertyNames);
928
+ const config = validateAdapterConfig$4(untrustedConfig, getManagedContentOrchestrationInstances_ConfigPropertyNames);
915
929
  // Invalid or incomplete config
916
930
  if (config === null) {
917
931
  return null;
918
932
  }
919
933
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
920
- buildCachedSnapshotCachePolicy$1, buildNetworkSnapshotCachePolicy$1);
934
+ buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
921
935
  };
922
936
 
923
937
  function validate$2(obj, path = 'ManagedContentOrchestrationInstanceInputRepresentation') {
@@ -939,19 +953,19 @@ function validate$2(obj, path = 'ManagedContentOrchestrationInstanceInputReprese
939
953
  return v_error === undefined ? null : v_error;
940
954
  }
941
955
 
942
- function select$3(luvio, params) {
943
- return select$6();
956
+ function select$4(luvio, params) {
957
+ return select$7();
944
958
  }
945
- function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
959
+ function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
946
960
  getTypeCacheKeys$2(storeKeyMap, luvio, response);
947
961
  }
948
- function ingestSuccess$1(luvio, resourceParams, response) {
962
+ function ingestSuccess$2(luvio, resourceParams, response) {
949
963
  const { body } = response;
950
964
  const key = keyBuilderFromType(luvio, body);
951
965
  luvio.storeIngest(key, ingest$2, body);
952
966
  const snapshot = luvio.storeLookup({
953
967
  recordId: key,
954
- node: select$3(),
968
+ node: select$4(),
955
969
  variables: {},
956
970
  });
957
971
  if (process.env.NODE_ENV !== 'production') {
@@ -962,7 +976,7 @@ function ingestSuccess$1(luvio, resourceParams, response) {
962
976
  deepFreeze(snapshot.data);
963
977
  return snapshot;
964
978
  }
965
- function createResourceRequest$1(config) {
979
+ function createResourceRequest$3(config) {
966
980
  const headers = {};
967
981
  return {
968
982
  baseUri: '/services/data/v60.0',
@@ -976,13 +990,13 @@ function createResourceRequest$1(config) {
976
990
  };
977
991
  }
978
992
 
979
- const adapterName$1 = 'createManagedContentOrchestrationInstance';
993
+ const adapterName$3 = 'createManagedContentOrchestrationInstance';
980
994
  const createManagedContentOrchestrationInstance_ConfigPropertyMetadata = [
981
995
  generateParamConfigMetadata('mContentOrchInstanceInput', true, 2 /* Body */, 4 /* Unsupported */),
982
996
  ];
983
- const createManagedContentOrchestrationInstance_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, createManagedContentOrchestrationInstance_ConfigPropertyMetadata);
984
- const createResourceParams$1 = /*#__PURE__*/ createResourceParams$4(createManagedContentOrchestrationInstance_ConfigPropertyMetadata);
985
- function typeCheckConfig$1(untrustedConfig) {
997
+ const createManagedContentOrchestrationInstance_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, createManagedContentOrchestrationInstance_ConfigPropertyMetadata);
998
+ const createResourceParams$3 = /*#__PURE__*/ createResourceParams$6(createManagedContentOrchestrationInstance_ConfigPropertyMetadata);
999
+ function typeCheckConfig$3(untrustedConfig) {
986
1000
  const config = {};
987
1001
  const untrustedConfig_mContentOrchInstanceInput = untrustedConfig.mContentOrchInstanceInput;
988
1002
  const referenceManagedContentOrchestrationInstanceInputRepresentationValidationError = validate$2(untrustedConfig_mContentOrchInstanceInput);
@@ -991,30 +1005,30 @@ function typeCheckConfig$1(untrustedConfig) {
991
1005
  }
992
1006
  return config;
993
1007
  }
994
- function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
1008
+ function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
995
1009
  if (!untrustedIsObject(untrustedConfig)) {
996
1010
  return null;
997
1011
  }
998
1012
  if (process.env.NODE_ENV !== 'production') {
999
1013
  validateConfig(untrustedConfig, configPropertyNames);
1000
1014
  }
1001
- const config = typeCheckConfig$1(untrustedConfig);
1015
+ const config = typeCheckConfig$3(untrustedConfig);
1002
1016
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
1003
1017
  return null;
1004
1018
  }
1005
1019
  return config;
1006
1020
  }
1007
- function buildNetworkSnapshot$1(luvio, config, options) {
1008
- const resourceParams = createResourceParams$1(config);
1009
- const request = createResourceRequest$1(resourceParams);
1021
+ function buildNetworkSnapshot$3(luvio, config, options) {
1022
+ const resourceParams = createResourceParams$3(config);
1023
+ const request = createResourceRequest$3(resourceParams);
1010
1024
  return luvio.dispatchResourceRequest(request, options)
1011
1025
  .then((response) => {
1012
1026
  return luvio.handleSuccessResponse(() => {
1013
- const snapshot = ingestSuccess$1(luvio, resourceParams, response);
1027
+ const snapshot = ingestSuccess$2(luvio, resourceParams, response);
1014
1028
  return luvio.storeBroadcast().then(() => snapshot);
1015
1029
  }, () => {
1016
1030
  const cache = new StoreKeyMap();
1017
- getResponseCacheKeys$1(cache, luvio, resourceParams, response.body);
1031
+ getResponseCacheKeys$3(cache, luvio, resourceParams, response.body);
1018
1032
  return cache;
1019
1033
  });
1020
1034
  }, (response) => {
@@ -1024,11 +1038,235 @@ function buildNetworkSnapshot$1(luvio, config, options) {
1024
1038
  }
1025
1039
  const createManagedContentOrchestrationInstanceAdapterFactory = (luvio) => {
1026
1040
  return function createManagedContentOrchestrationInstance(untrustedConfig) {
1027
- const config = validateAdapterConfig$1(untrustedConfig, createManagedContentOrchestrationInstance_ConfigPropertyNames);
1041
+ const config = validateAdapterConfig$3(untrustedConfig, createManagedContentOrchestrationInstance_ConfigPropertyNames);
1028
1042
  // Invalid or incomplete config
1029
1043
  if (config === null) {
1030
1044
  throw new Error('Invalid config for "createManagedContentOrchestrationInstance"');
1031
1045
  }
1046
+ return buildNetworkSnapshot$3(luvio, config);
1047
+ };
1048
+ };
1049
+
1050
+ function select$3(luvio, params) {
1051
+ return select$7();
1052
+ }
1053
+ function keyBuilder$4(luvio, params) {
1054
+ return keyBuilder$7(luvio, {
1055
+ id: params.urlParams.mContentOrchInstanceId
1056
+ });
1057
+ }
1058
+ function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
1059
+ getTypeCacheKeys$2(storeKeyMap, luvio, response);
1060
+ }
1061
+ function ingestSuccess$1(luvio, resourceParams, response, snapshotRefresh) {
1062
+ const { body } = response;
1063
+ const key = keyBuilder$4(luvio, resourceParams);
1064
+ luvio.storeIngest(key, ingest$2, body);
1065
+ const snapshot = luvio.storeLookup({
1066
+ recordId: key,
1067
+ node: select$3(),
1068
+ variables: {},
1069
+ }, snapshotRefresh);
1070
+ if (process.env.NODE_ENV !== 'production') {
1071
+ if (snapshot.state !== 'Fulfilled') {
1072
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
1073
+ }
1074
+ }
1075
+ deepFreeze(snapshot.data);
1076
+ return snapshot;
1077
+ }
1078
+ function ingestError$1(luvio, params, error, snapshotRefresh) {
1079
+ const key = keyBuilder$4(luvio, params);
1080
+ const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
1081
+ const storeMetadataParams = {
1082
+ ttl: TTL$2,
1083
+ namespace: keyPrefix,
1084
+ version: VERSION$3,
1085
+ representationName: RepresentationType$2
1086
+ };
1087
+ luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
1088
+ return errorSnapshot;
1089
+ }
1090
+ function createResourceRequest$2(config) {
1091
+ const headers = {};
1092
+ return {
1093
+ baseUri: '/services/data/v60.0',
1094
+ basePath: '/connect/cms/contents/orchestration-instances/' + config.urlParams.mContentOrchInstanceId + '',
1095
+ method: 'get',
1096
+ body: null,
1097
+ urlParams: config.urlParams,
1098
+ queryParams: {},
1099
+ headers,
1100
+ priority: 'normal',
1101
+ };
1102
+ }
1103
+
1104
+ const adapterName$2 = 'getManagedContentOrchestrationInstance';
1105
+ const getManagedContentOrchestrationInstance_ConfigPropertyMetadata = [
1106
+ generateParamConfigMetadata('mContentOrchInstanceId', true, 0 /* UrlParameter */, 0 /* String */),
1107
+ ];
1108
+ const getManagedContentOrchestrationInstance_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getManagedContentOrchestrationInstance_ConfigPropertyMetadata);
1109
+ const createResourceParams$2 = /*#__PURE__*/ createResourceParams$6(getManagedContentOrchestrationInstance_ConfigPropertyMetadata);
1110
+ function keyBuilder$3(luvio, config) {
1111
+ const resourceParams = createResourceParams$2(config);
1112
+ return keyBuilder$4(luvio, resourceParams);
1113
+ }
1114
+ function typeCheckConfig$2(untrustedConfig) {
1115
+ const config = {};
1116
+ typeCheckConfig$6(untrustedConfig, config, getManagedContentOrchestrationInstance_ConfigPropertyMetadata);
1117
+ return config;
1118
+ }
1119
+ function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
1120
+ if (!untrustedIsObject(untrustedConfig)) {
1121
+ return null;
1122
+ }
1123
+ if (process.env.NODE_ENV !== 'production') {
1124
+ validateConfig(untrustedConfig, configPropertyNames);
1125
+ }
1126
+ const config = typeCheckConfig$2(untrustedConfig);
1127
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
1128
+ return null;
1129
+ }
1130
+ return config;
1131
+ }
1132
+ function adapterFragment$1(luvio, config) {
1133
+ createResourceParams$2(config);
1134
+ return select$3();
1135
+ }
1136
+ function onFetchResponseSuccess$1(luvio, config, resourceParams, response) {
1137
+ const snapshot = ingestSuccess$1(luvio, resourceParams, response, {
1138
+ config,
1139
+ resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
1140
+ });
1141
+ return luvio.storeBroadcast().then(() => snapshot);
1142
+ }
1143
+ function onFetchResponseError$1(luvio, config, resourceParams, response) {
1144
+ const snapshot = ingestError$1(luvio, resourceParams, response, {
1145
+ config,
1146
+ resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
1147
+ });
1148
+ return luvio.storeBroadcast().then(() => snapshot);
1149
+ }
1150
+ function buildNetworkSnapshot$2(luvio, config, options) {
1151
+ const resourceParams = createResourceParams$2(config);
1152
+ const request = createResourceRequest$2(resourceParams);
1153
+ return luvio.dispatchResourceRequest(request, options)
1154
+ .then((response) => {
1155
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$1(luvio, config, resourceParams, response), () => {
1156
+ const cache = new StoreKeyMap();
1157
+ getResponseCacheKeys$2(cache, luvio, resourceParams, response.body);
1158
+ return cache;
1159
+ });
1160
+ }, (response) => {
1161
+ return luvio.handleErrorResponse(() => onFetchResponseError$1(luvio, config, resourceParams, response));
1162
+ });
1163
+ }
1164
+ function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
1165
+ return buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
1166
+ }
1167
+ function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
1168
+ const { luvio, config } = context;
1169
+ const selector = {
1170
+ recordId: keyBuilder$3(luvio, config),
1171
+ node: adapterFragment$1(luvio, config),
1172
+ variables: {},
1173
+ };
1174
+ const cacheSnapshot = storeLookup(selector, {
1175
+ config,
1176
+ resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
1177
+ });
1178
+ return cacheSnapshot;
1179
+ }
1180
+ const getManagedContentOrchestrationInstanceAdapterFactory = (luvio) => function CMSOrchestrator__getManagedContentOrchestrationInstance(untrustedConfig, requestContext) {
1181
+ const config = validateAdapterConfig$2(untrustedConfig, getManagedContentOrchestrationInstance_ConfigPropertyNames);
1182
+ // Invalid or incomplete config
1183
+ if (config === null) {
1184
+ return null;
1185
+ }
1186
+ return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
1187
+ buildCachedSnapshotCachePolicy$1, buildNetworkSnapshotCachePolicy$1);
1188
+ };
1189
+
1190
+ function keyBuilder$2(luvio, params) {
1191
+ return keyBuilder$7(luvio, {
1192
+ id: params.urlParams.mContentOrchInstanceId
1193
+ });
1194
+ }
1195
+ function getResponseCacheKeys$1(cacheKeyMap, luvio, resourceParams) {
1196
+ const key = keyBuilder$2(luvio, resourceParams);
1197
+ cacheKeyMap.set(key, {
1198
+ namespace: keyPrefix,
1199
+ representationName: RepresentationType$2,
1200
+ mergeable: false
1201
+ });
1202
+ }
1203
+ function evictSuccess(luvio, resourceParams) {
1204
+ const key = keyBuilder$2(luvio, resourceParams);
1205
+ luvio.storeEvict(key);
1206
+ }
1207
+ function createResourceRequest$1(config) {
1208
+ const headers = {};
1209
+ return {
1210
+ baseUri: '/services/data/v60.0',
1211
+ basePath: '/connect/cms/contents/orchestration-instances/' + config.urlParams.mContentOrchInstanceId + '',
1212
+ method: 'delete',
1213
+ body: null,
1214
+ urlParams: config.urlParams,
1215
+ queryParams: {},
1216
+ headers,
1217
+ priority: 'normal',
1218
+ };
1219
+ }
1220
+
1221
+ const adapterName$1 = 'deleteManagedContentCancelOrchestrationInstance';
1222
+ const deleteManagedContentCancelOrchestrationInstance_ConfigPropertyMetadata = [
1223
+ generateParamConfigMetadata('mContentOrchInstanceId', true, 0 /* UrlParameter */, 0 /* String */),
1224
+ ];
1225
+ const deleteManagedContentCancelOrchestrationInstance_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, deleteManagedContentCancelOrchestrationInstance_ConfigPropertyMetadata);
1226
+ const createResourceParams$1 = /*#__PURE__*/ createResourceParams$6(deleteManagedContentCancelOrchestrationInstance_ConfigPropertyMetadata);
1227
+ function typeCheckConfig$1(untrustedConfig) {
1228
+ const config = {};
1229
+ typeCheckConfig$6(untrustedConfig, config, deleteManagedContentCancelOrchestrationInstance_ConfigPropertyMetadata);
1230
+ return config;
1231
+ }
1232
+ function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
1233
+ if (!untrustedIsObject(untrustedConfig)) {
1234
+ return null;
1235
+ }
1236
+ if (process.env.NODE_ENV !== 'production') {
1237
+ validateConfig(untrustedConfig, configPropertyNames);
1238
+ }
1239
+ const config = typeCheckConfig$1(untrustedConfig);
1240
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
1241
+ return null;
1242
+ }
1243
+ return config;
1244
+ }
1245
+ function buildNetworkSnapshot$1(luvio, config, options) {
1246
+ const resourceParams = createResourceParams$1(config);
1247
+ const request = createResourceRequest$1(resourceParams);
1248
+ return luvio.dispatchResourceRequest(request, options)
1249
+ .then(() => {
1250
+ return luvio.handleSuccessResponse(() => {
1251
+ evictSuccess(luvio, resourceParams);
1252
+ return luvio.storeBroadcast();
1253
+ }, () => {
1254
+ const cache = new StoreKeyMap();
1255
+ getResponseCacheKeys$1(cache, luvio, resourceParams);
1256
+ return cache;
1257
+ });
1258
+ }, (response) => {
1259
+ deepFreeze(response);
1260
+ throw response;
1261
+ });
1262
+ }
1263
+ const deleteManagedContentCancelOrchestrationInstanceAdapterFactory = (luvio) => {
1264
+ return function CMSOrchestratordeleteManagedContentCancelOrchestrationInstance(untrustedConfig) {
1265
+ const config = validateAdapterConfig$1(untrustedConfig, deleteManagedContentCancelOrchestrationInstance_ConfigPropertyNames);
1266
+ // Invalid or incomplete config
1267
+ if (config === null) {
1268
+ throw new Error(`Invalid config for "${adapterName$1}"`);
1269
+ }
1032
1270
  return buildNetworkSnapshot$1(luvio, config);
1033
1271
  };
1034
1272
  };
@@ -1549,14 +1787,14 @@ const getManagedContentRunningOrchestrationHistoryEvents_ConfigPropertyMetadata
1549
1787
  generateParamConfigMetadata('managedContentVariantId', false, 1 /* QueryParameter */, 0 /* String */),
1550
1788
  ];
1551
1789
  const getManagedContentRunningOrchestrationHistoryEvents_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, getManagedContentRunningOrchestrationHistoryEvents_ConfigPropertyMetadata);
1552
- const createResourceParams = /*#__PURE__*/ createResourceParams$4(getManagedContentRunningOrchestrationHistoryEvents_ConfigPropertyMetadata);
1790
+ const createResourceParams = /*#__PURE__*/ createResourceParams$6(getManagedContentRunningOrchestrationHistoryEvents_ConfigPropertyMetadata);
1553
1791
  function keyBuilder(luvio, config) {
1554
1792
  const resourceParams = createResourceParams(config);
1555
1793
  return keyBuilder$1(luvio, resourceParams);
1556
1794
  }
1557
1795
  function typeCheckConfig(untrustedConfig) {
1558
1796
  const config = {};
1559
- typeCheckConfig$4(untrustedConfig, config, getManagedContentRunningOrchestrationHistoryEvents_ConfigPropertyMetadata);
1797
+ typeCheckConfig$6(untrustedConfig, config, getManagedContentRunningOrchestrationHistoryEvents_ConfigPropertyMetadata);
1560
1798
  return config;
1561
1799
  }
1562
1800
  function validateAdapterConfig(untrustedConfig, configPropertyNames) {
@@ -1605,7 +1843,7 @@ function buildNetworkSnapshot(luvio, config, options) {
1605
1843
  });
1606
1844
  }
1607
1845
  function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
1608
- return buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext, buildNetworkSnapshot, undefined, false);
1846
+ return buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext, buildNetworkSnapshot, undefined, false);
1609
1847
  }
1610
1848
  function buildCachedSnapshotCachePolicy(context, storeLookup) {
1611
1849
  const { luvio, config } = context;
@@ -1630,4 +1868,4 @@ const getManagedContentRunningOrchestrationHistoryEventsAdapterFactory = (luvio)
1630
1868
  buildCachedSnapshotCachePolicy, buildNetworkSnapshotCachePolicy);
1631
1869
  };
1632
1870
 
1633
- export { createManagedContentOrchestrationInstanceAdapterFactory, getManagedContentOrchestrationDefinitionsAdapterFactory, getManagedContentOrchestrationInstancesAdapterFactory, getManagedContentRunningOrchestrationHistoryEventsAdapterFactory };
1871
+ export { createManagedContentOrchestrationInstanceAdapterFactory, deleteManagedContentCancelOrchestrationInstanceAdapterFactory, getManagedContentOrchestrationDefinitionsAdapterFactory, getManagedContentOrchestrationInstanceAdapterFactory, getManagedContentOrchestrationInstancesAdapterFactory, getManagedContentRunningOrchestrationHistoryEventsAdapterFactory };