@salesforce/lds-adapters-cdp-byoc 1.332.0-dev19 → 1.332.0-dev20

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.
package/sfdc/index.js CHANGED
@@ -12,9 +12,8 @@
12
12
  * *******************************************************************************************
13
13
  */
14
14
  /* proxy-compat-disable */
15
- import { createInstrumentedAdapter, createLDSAdapter, createWireAdapterConstructor, createImperativeAdapter } from 'force/ldsBindings';
16
15
  import { withDefaultLuvio } from 'force/ldsEngine';
17
- import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, createResourceParams as createResourceParams$5, typeCheckConfig as typeCheckConfig$5, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$2 } from 'force/luvioEngine';
16
+ import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, createResourceParams as createResourceParams$1, typeCheckConfig as typeCheckConfig$1 } from 'force/luvioEngine';
18
17
 
19
18
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
20
19
  const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
@@ -51,13 +50,6 @@ function untrustedIsObject(untrusted) {
51
50
  function areRequiredParametersPresent(config, configPropertyNames) {
52
51
  return configPropertyNames.parameters.required.every(req => req in config);
53
52
  }
54
- const snapshotRefreshOptions = {
55
- overrides: {
56
- headers: {
57
- 'Cache-Control': 'no-cache',
58
- },
59
- }
60
- };
61
53
  function generateParamConfigMetadata(name, required, resourceType, typeCheckShape, isArrayShape = false, coerceFn) {
62
54
  return {
63
55
  name,
@@ -121,8 +113,8 @@ function createLink(ref) {
121
113
  };
122
114
  }
123
115
 
124
- const VERSION$2 = "2fe1bfd9fd1c6a94767d2ea000d6d318";
125
- function validate$2(obj, path = 'CdpUserRepresentation') {
116
+ const VERSION$1 = "2fe1bfd9fd1c6a94767d2ea000d6d318";
117
+ function validate$1(obj, path = 'CdpUserRepresentation') {
126
118
  const v_error = (() => {
127
119
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
128
120
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -145,10 +137,10 @@ function validate$2(obj, path = 'CdpUserRepresentation') {
145
137
  })();
146
138
  return v_error === undefined ? null : v_error;
147
139
  }
148
- const select$6 = function CdpUserRepresentationSelect() {
140
+ const select$2 = function CdpUserRepresentationSelect() {
149
141
  return {
150
142
  kind: 'Fragment',
151
- version: VERSION$2,
143
+ version: VERSION$1,
152
144
  private: [],
153
145
  selections: [
154
146
  {
@@ -166,7 +158,7 @@ const select$6 = function CdpUserRepresentationSelect() {
166
158
  ]
167
159
  };
168
160
  };
169
- function equals$2(existing, incoming) {
161
+ function equals$1(existing, incoming) {
170
162
  const existing_id = existing.id;
171
163
  const incoming_id = incoming.id;
172
164
  if (!(existing_id === incoming_id)) {
@@ -185,8 +177,8 @@ function equals$2(existing, incoming) {
185
177
  return true;
186
178
  }
187
179
 
188
- const VERSION$1 = "bc7c21323d31a68bdc0ef7484dc4fa2b";
189
- function validate$1(obj, path = 'CustomCodeDeploymentRepresentation') {
180
+ const VERSION = "bc7c21323d31a68bdc0ef7484dc4fa2b";
181
+ function validate(obj, path = 'CustomCodeDeploymentRepresentation') {
190
182
  const v_error = (() => {
191
183
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
192
184
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -203,7 +195,7 @@ function validate$1(obj, path = 'CustomCodeDeploymentRepresentation') {
203
195
  }
204
196
  const obj_createdBy = obj.createdBy;
205
197
  const path_createdBy = path + '.createdBy';
206
- const referencepath_createdByValidationError = validate$2(obj_createdBy, path_createdBy);
198
+ const referencepath_createdByValidationError = validate$1(obj_createdBy, path_createdBy);
207
199
  if (referencepath_createdByValidationError !== null) {
208
200
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
209
201
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -271,7 +263,7 @@ function validate$1(obj, path = 'CustomCodeDeploymentRepresentation') {
271
263
  }
272
264
  const obj_lastModifiedBy = obj.lastModifiedBy;
273
265
  const path_lastModifiedBy = path + '.lastModifiedBy';
274
- const referencepath_lastModifiedByValidationError = validate$2(obj_lastModifiedBy, path_lastModifiedBy);
266
+ const referencepath_lastModifiedByValidationError = validate$1(obj_lastModifiedBy, path_lastModifiedBy);
275
267
  if (referencepath_lastModifiedByValidationError !== null) {
276
268
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
277
269
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -326,24 +318,24 @@ function validate$1(obj, path = 'CustomCodeDeploymentRepresentation') {
326
318
  })();
327
319
  return v_error === undefined ? null : v_error;
328
320
  }
329
- const RepresentationType$1 = 'CustomCodeDeploymentRepresentation';
330
- function keyBuilder$5(luvio, config) {
331
- return keyPrefix + '::' + RepresentationType$1 + ':' + config.id;
321
+ const RepresentationType = 'CustomCodeDeploymentRepresentation';
322
+ function keyBuilder(luvio, config) {
323
+ return keyPrefix + '::' + RepresentationType + ':' + config.id;
332
324
  }
333
325
  function keyBuilderFromType(luvio, object) {
334
326
  const keyParams = {
335
327
  id: object.id
336
328
  };
337
- return keyBuilder$5(luvio, keyParams);
329
+ return keyBuilder(luvio, keyParams);
338
330
  }
339
- function normalize$1(input, existing, path, luvio, store, timestamp) {
331
+ function normalize(input, existing, path, luvio, store, timestamp) {
340
332
  return input;
341
333
  }
342
- const select$5 = function CustomCodeDeploymentRepresentationSelect() {
343
- const { selections: CdpUserRepresentation__selections, opaque: CdpUserRepresentation__opaque, } = select$6();
334
+ const select$1 = function CustomCodeDeploymentRepresentationSelect() {
335
+ const { selections: CdpUserRepresentation__selections, opaque: CdpUserRepresentation__opaque, } = select$2();
344
336
  return {
345
337
  kind: 'Fragment',
346
- version: VERSION$1,
338
+ version: VERSION,
347
339
  private: [],
348
340
  selections: [
349
341
  {
@@ -438,7 +430,7 @@ const select$5 = function CustomCodeDeploymentRepresentationSelect() {
438
430
  ]
439
431
  };
440
432
  };
441
- function equals$1(existing, incoming) {
433
+ function equals(existing, incoming) {
442
434
  const existing_deploymentFailureCode = existing.deploymentFailureCode;
443
435
  const incoming_deploymentFailureCode = incoming.deploymentFailureCode;
444
436
  // if at least one of these optionals is defined
@@ -553,7 +545,7 @@ function equals$1(existing, incoming) {
553
545
  }
554
546
  const existing_createdBy = existing.createdBy;
555
547
  const incoming_createdBy = incoming.createdBy;
556
- if (!(equals$2(existing_createdBy, incoming_createdBy))) {
548
+ if (!(equals$1(existing_createdBy, incoming_createdBy))) {
557
549
  return false;
558
550
  }
559
551
  const existing_functionInvokeOptions = existing.functionInvokeOptions;
@@ -576,7 +568,7 @@ function equals$1(existing, incoming) {
576
568
  }
577
569
  const existing_lastModifiedBy = existing.lastModifiedBy;
578
570
  const incoming_lastModifiedBy = incoming.lastModifiedBy;
579
- if (!(equals$2(existing_lastModifiedBy, incoming_lastModifiedBy))) {
571
+ if (!(equals$1(existing_lastModifiedBy, incoming_lastModifiedBy))) {
580
572
  return false;
581
573
  }
582
574
  const existing_parameters = existing.parameters;
@@ -591,41 +583,41 @@ function equals$1(existing, incoming) {
591
583
  }
592
584
  return true;
593
585
  }
594
- const ingest$1 = function CustomCodeDeploymentRepresentationIngest(input, path, luvio, store, timestamp) {
586
+ const ingest = function CustomCodeDeploymentRepresentationIngest(input, path, luvio, store, timestamp) {
595
587
  if (process.env.NODE_ENV !== 'production') {
596
- const validateError = validate$1(input);
588
+ const validateError = validate(input);
597
589
  if (validateError !== null) {
598
590
  throw validateError;
599
591
  }
600
592
  }
601
593
  const key = keyBuilderFromType(luvio, input);
602
594
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
603
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$1, "byoc", VERSION$1, RepresentationType$1, equals$1);
595
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize, "byoc", VERSION, RepresentationType, equals);
604
596
  return createLink(key);
605
597
  };
606
- function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
598
+ function getTypeCacheKeys(rootKeySet, luvio, input, fullPathFactory) {
607
599
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
608
600
  const rootKey = keyBuilderFromType(luvio, input);
609
601
  rootKeySet.set(rootKey, {
610
602
  namespace: keyPrefix,
611
- representationName: RepresentationType$1,
603
+ representationName: RepresentationType,
612
604
  mergeable: false
613
605
  });
614
606
  }
615
607
 
616
- function select$4(luvio, params) {
617
- return select$5();
608
+ function select(luvio, params) {
609
+ return select$1();
618
610
  }
619
- function getResponseCacheKeys$4(storeKeyMap, luvio, resourceParams, response) {
620
- getTypeCacheKeys$1(storeKeyMap, luvio, response);
611
+ function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
612
+ getTypeCacheKeys(storeKeyMap, luvio, response);
621
613
  }
622
- function ingestSuccess$3(luvio, resourceParams, response) {
614
+ function ingestSuccess(luvio, resourceParams, response) {
623
615
  const { body } = response;
624
616
  const key = keyBuilderFromType(luvio, body);
625
- luvio.storeIngest(key, ingest$1, body);
617
+ luvio.storeIngest(key, ingest, body);
626
618
  const snapshot = luvio.storeLookup({
627
619
  recordId: key,
628
- node: select$4(),
620
+ node: select(),
629
621
  variables: {},
630
622
  });
631
623
  if (process.env.NODE_ENV !== 'production') {
@@ -636,7 +628,7 @@ function ingestSuccess$3(luvio, resourceParams, response) {
636
628
  deepFreeze(snapshot.data);
637
629
  return snapshot;
638
630
  }
639
- function createResourceRequest$4(config) {
631
+ function createResourceRequest(config) {
640
632
  const headers = {};
641
633
  return {
642
634
  baseUri: '/services/data/v63.0',
@@ -650,7 +642,7 @@ function createResourceRequest$4(config) {
650
642
  };
651
643
  }
652
644
 
653
- const adapterName$4 = 'createCustomCodeDeployment';
645
+ const adapterName = 'createCustomCodeDeployment';
654
646
  const createCustomCodeDeployment_ConfigPropertyMetadata = [
655
647
  generateParamConfigMetadata('codeType', false, 2 /* Body */, 0 /* String */),
656
648
  generateParamConfigMetadata('computeType', true, 2 /* Body */, 0 /* String */),
@@ -662,11 +654,11 @@ const createCustomCodeDeployment_ConfigPropertyMetadata = [
662
654
  generateParamConfigMetadata('parameters', false, 2 /* Body */, 4 /* Unsupported */),
663
655
  generateParamConfigMetadata('version', true, 2 /* Body */, 0 /* String */),
664
656
  ];
665
- const createCustomCodeDeployment_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, createCustomCodeDeployment_ConfigPropertyMetadata);
666
- const createResourceParams$4 = /*#__PURE__*/ createResourceParams$5(createCustomCodeDeployment_ConfigPropertyMetadata);
667
- function typeCheckConfig$4(untrustedConfig) {
657
+ const createCustomCodeDeployment_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, createCustomCodeDeployment_ConfigPropertyMetadata);
658
+ const createResourceParams = /*#__PURE__*/ createResourceParams$1(createCustomCodeDeployment_ConfigPropertyMetadata);
659
+ function typeCheckConfig(untrustedConfig) {
668
660
  const config = {};
669
- typeCheckConfig$5(untrustedConfig, config, createCustomCodeDeployment_ConfigPropertyMetadata);
661
+ typeCheckConfig$1(untrustedConfig, config, createCustomCodeDeployment_ConfigPropertyMetadata);
670
662
  const untrustedConfig_parameters = untrustedConfig.parameters;
671
663
  if (untrustedIsObject(untrustedConfig_parameters)) {
672
664
  const untrustedConfig_parameters_object = {};
@@ -686,636 +678,6 @@ function typeCheckConfig$4(untrustedConfig) {
686
678
  }
687
679
  return config;
688
680
  }
689
- function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
690
- if (!untrustedIsObject(untrustedConfig)) {
691
- return null;
692
- }
693
- if (process.env.NODE_ENV !== 'production') {
694
- validateConfig(untrustedConfig, configPropertyNames);
695
- }
696
- const config = typeCheckConfig$4(untrustedConfig);
697
- if (!areRequiredParametersPresent(config, configPropertyNames)) {
698
- return null;
699
- }
700
- return config;
701
- }
702
- function buildNetworkSnapshot$4(luvio, config, options) {
703
- const resourceParams = createResourceParams$4(config);
704
- const request = createResourceRequest$4(resourceParams);
705
- return luvio.dispatchResourceRequest(request, options)
706
- .then((response) => {
707
- return luvio.handleSuccessResponse(() => {
708
- const snapshot = ingestSuccess$3(luvio, resourceParams, response);
709
- return luvio.storeBroadcast().then(() => snapshot);
710
- }, () => {
711
- const cache = new StoreKeyMap();
712
- getResponseCacheKeys$4(cache, luvio, resourceParams, response.body);
713
- return cache;
714
- });
715
- }, (response) => {
716
- deepFreeze(response);
717
- throw response;
718
- });
719
- }
720
- const createCustomCodeDeploymentAdapterFactory = (luvio) => {
721
- return function createCustomCodeDeployment(untrustedConfig) {
722
- const config = validateAdapterConfig$4(untrustedConfig, createCustomCodeDeployment_ConfigPropertyNames);
723
- // Invalid or incomplete config
724
- if (config === null) {
725
- throw new Error('Invalid config for "createCustomCodeDeployment"');
726
- }
727
- return buildNetworkSnapshot$4(luvio, config);
728
- };
729
- };
730
-
731
- function keyBuilder$4(luvio, params) {
732
- return keyBuilder$5(luvio, {
733
- id: params.urlParams.customCodeNameOrId
734
- });
735
- }
736
- function getResponseCacheKeys$3(cacheKeyMap, luvio, resourceParams) {
737
- const key = keyBuilder$4(luvio, resourceParams);
738
- cacheKeyMap.set(key, {
739
- namespace: keyPrefix,
740
- representationName: RepresentationType$1,
741
- mergeable: false
742
- });
743
- }
744
- function evictSuccess(luvio, resourceParams) {
745
- const key = keyBuilder$4(luvio, resourceParams);
746
- luvio.storeEvict(key);
747
- }
748
- function createResourceRequest$3(config) {
749
- const headers = {};
750
- return {
751
- baseUri: '/services/data/v63.0',
752
- basePath: '/ssot/data-custom-code/' + config.urlParams.customCodeNameOrId + '',
753
- method: 'delete',
754
- body: null,
755
- urlParams: config.urlParams,
756
- queryParams: {},
757
- headers,
758
- priority: 'normal',
759
- };
760
- }
761
-
762
- const adapterName$3 = 'deleteCustomCodeDeployment';
763
- const deleteCustomCodeDeployment_ConfigPropertyMetadata = [
764
- generateParamConfigMetadata('customCodeNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
765
- ];
766
- const deleteCustomCodeDeployment_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, deleteCustomCodeDeployment_ConfigPropertyMetadata);
767
- const createResourceParams$3 = /*#__PURE__*/ createResourceParams$5(deleteCustomCodeDeployment_ConfigPropertyMetadata);
768
- function typeCheckConfig$3(untrustedConfig) {
769
- const config = {};
770
- typeCheckConfig$5(untrustedConfig, config, deleteCustomCodeDeployment_ConfigPropertyMetadata);
771
- return config;
772
- }
773
- function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
774
- if (!untrustedIsObject(untrustedConfig)) {
775
- return null;
776
- }
777
- if (process.env.NODE_ENV !== 'production') {
778
- validateConfig(untrustedConfig, configPropertyNames);
779
- }
780
- const config = typeCheckConfig$3(untrustedConfig);
781
- if (!areRequiredParametersPresent(config, configPropertyNames)) {
782
- return null;
783
- }
784
- return config;
785
- }
786
- function buildNetworkSnapshot$3(luvio, config, options) {
787
- const resourceParams = createResourceParams$3(config);
788
- const request = createResourceRequest$3(resourceParams);
789
- return luvio.dispatchResourceRequest(request, options)
790
- .then(() => {
791
- return luvio.handleSuccessResponse(() => {
792
- evictSuccess(luvio, resourceParams);
793
- return luvio.storeBroadcast();
794
- }, () => {
795
- const cache = new StoreKeyMap();
796
- getResponseCacheKeys$3(cache, luvio, resourceParams);
797
- return cache;
798
- });
799
- }, (response) => {
800
- deepFreeze(response);
801
- throw response;
802
- });
803
- }
804
- const deleteCustomCodeDeploymentAdapterFactory = (luvio) => {
805
- return function byocdeleteCustomCodeDeployment(untrustedConfig) {
806
- const config = validateAdapterConfig$3(untrustedConfig, deleteCustomCodeDeployment_ConfigPropertyNames);
807
- // Invalid or incomplete config
808
- if (config === null) {
809
- throw new Error(`Invalid config for "${adapterName$3}"`);
810
- }
811
- return buildNetworkSnapshot$3(luvio, config);
812
- };
813
- };
814
-
815
- function select$3(luvio, params) {
816
- return select$5();
817
- }
818
- function keyBuilder$3(luvio, params) {
819
- return keyBuilder$5(luvio, {
820
- id: params.urlParams.customCodeNameOrId
821
- });
822
- }
823
- function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
824
- getTypeCacheKeys$1(storeKeyMap, luvio, response);
825
- }
826
- function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
827
- const { body } = response;
828
- const key = keyBuilder$3(luvio, resourceParams);
829
- luvio.storeIngest(key, ingest$1, body);
830
- const snapshot = luvio.storeLookup({
831
- recordId: key,
832
- node: select$3(),
833
- variables: {},
834
- }, snapshotRefresh);
835
- if (process.env.NODE_ENV !== 'production') {
836
- if (snapshot.state !== 'Fulfilled') {
837
- throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
838
- }
839
- }
840
- deepFreeze(snapshot.data);
841
- return snapshot;
842
- }
843
- function ingestError$1(luvio, params, error, snapshotRefresh) {
844
- const key = keyBuilder$3(luvio, params);
845
- const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
846
- luvio.storeIngestError(key, errorSnapshot);
847
- return errorSnapshot;
848
- }
849
- function createResourceRequest$2(config) {
850
- const headers = {};
851
- return {
852
- baseUri: '/services/data/v63.0',
853
- basePath: '/ssot/data-custom-code/' + config.urlParams.customCodeNameOrId + '',
854
- method: 'get',
855
- body: null,
856
- urlParams: config.urlParams,
857
- queryParams: {},
858
- headers,
859
- priority: 'normal',
860
- };
861
- }
862
- function createResourceRequestFromRepresentation(representation) {
863
- const config = {
864
- urlParams: {},
865
- };
866
- config.urlParams.customCodeNameOrId = representation.id;
867
- return createResourceRequest$2(config);
868
- }
869
-
870
- const adapterName$2 = 'getCustomCodeDeployment';
871
- const getCustomCodeDeployment_ConfigPropertyMetadata = [
872
- generateParamConfigMetadata('customCodeNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
873
- ];
874
- const getCustomCodeDeployment_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getCustomCodeDeployment_ConfigPropertyMetadata);
875
- const createResourceParams$2 = /*#__PURE__*/ createResourceParams$5(getCustomCodeDeployment_ConfigPropertyMetadata);
876
- function keyBuilder$2(luvio, config) {
877
- const resourceParams = createResourceParams$2(config);
878
- return keyBuilder$3(luvio, resourceParams);
879
- }
880
- function typeCheckConfig$2(untrustedConfig) {
881
- const config = {};
882
- typeCheckConfig$5(untrustedConfig, config, getCustomCodeDeployment_ConfigPropertyMetadata);
883
- return config;
884
- }
885
- function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
886
- if (!untrustedIsObject(untrustedConfig)) {
887
- return null;
888
- }
889
- if (process.env.NODE_ENV !== 'production') {
890
- validateConfig(untrustedConfig, configPropertyNames);
891
- }
892
- const config = typeCheckConfig$2(untrustedConfig);
893
- if (!areRequiredParametersPresent(config, configPropertyNames)) {
894
- return null;
895
- }
896
- return config;
897
- }
898
- function adapterFragment$1(luvio, config) {
899
- createResourceParams$2(config);
900
- return select$3();
901
- }
902
- function onFetchResponseSuccess$1(luvio, config, resourceParams, response) {
903
- const snapshot = ingestSuccess$2(luvio, resourceParams, response, {
904
- config,
905
- resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
906
- });
907
- return luvio.storeBroadcast().then(() => snapshot);
908
- }
909
- function onFetchResponseError$1(luvio, config, resourceParams, response) {
910
- const snapshot = ingestError$1(luvio, resourceParams, response, {
911
- config,
912
- resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
913
- });
914
- return luvio.storeBroadcast().then(() => snapshot);
915
- }
916
- function buildNetworkSnapshot$2(luvio, config, options) {
917
- const resourceParams = createResourceParams$2(config);
918
- const request = createResourceRequest$2(resourceParams);
919
- return luvio.dispatchResourceRequest(request, options)
920
- .then((response) => {
921
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$1(luvio, config, resourceParams, response), () => {
922
- const cache = new StoreKeyMap();
923
- getResponseCacheKeys$2(cache, luvio, resourceParams, response.body);
924
- return cache;
925
- });
926
- }, (response) => {
927
- return luvio.handleErrorResponse(() => onFetchResponseError$1(luvio, config, resourceParams, response));
928
- });
929
- }
930
- function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
931
- return buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
932
- }
933
- function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
934
- const { luvio, config } = context;
935
- const selector = {
936
- recordId: keyBuilder$2(luvio, config),
937
- node: adapterFragment$1(luvio, config),
938
- variables: {},
939
- };
940
- const cacheSnapshot = storeLookup(selector, {
941
- config,
942
- resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
943
- });
944
- return cacheSnapshot;
945
- }
946
- const getCustomCodeDeploymentAdapterFactory = (luvio) => function byoc__getCustomCodeDeployment(untrustedConfig, requestContext) {
947
- const config = validateAdapterConfig$2(untrustedConfig, getCustomCodeDeployment_ConfigPropertyNames);
948
- // Invalid or incomplete config
949
- if (config === null) {
950
- return null;
951
- }
952
- return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
953
- buildCachedSnapshotCachePolicy$1, buildNetworkSnapshotCachePolicy$1);
954
- };
955
- const notifyChangeFactory = (luvio, options) => {
956
- return function getSsotDataCustomCodeByCustomCodeNameOrIdNotifyChange(configs) {
957
- const keys = configs.map(c => keyBuilder$5(luvio, c));
958
- luvio.getNotifyChangeStoreEntries(keys).then(entries => {
959
- for (let i = 0, len = entries.length; i < len; i++) {
960
- const { key, record: val } = entries[i];
961
- const refreshRequest = createResourceRequestFromRepresentation(val);
962
- luvio.dispatchResourceRequest(refreshRequest, options)
963
- .then((response) => {
964
- return luvio.handleSuccessResponse(() => {
965
- const { body } = response;
966
- luvio.storeIngest(key, ingest$1, body);
967
- return luvio.storeBroadcast();
968
- }, () => {
969
- const cache = new StoreKeyMap();
970
- getTypeCacheKeys$1(cache, luvio, response.body);
971
- return cache;
972
- });
973
- }, (error) => {
974
- return luvio.handleErrorResponse(() => {
975
- const errorSnapshot = luvio.errorSnapshot(error);
976
- luvio.storeIngestError(key, errorSnapshot, undefined);
977
- return luvio.storeBroadcast().then(() => errorSnapshot);
978
- });
979
- });
980
- }
981
- });
982
- };
983
- };
984
-
985
- const VERSION = "3d9a814ca87df7e7c79c5d385c146820";
986
- function validate(obj, path = 'CustomCodeDeploymentCollectionRepresentation') {
987
- const v_error = (() => {
988
- if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
989
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
990
- }
991
- const obj_currentPageUrl = obj.currentPageUrl;
992
- const path_currentPageUrl = path + '.currentPageUrl';
993
- if (typeof obj_currentPageUrl !== 'string') {
994
- return new TypeError('Expected "string" but received "' + typeof obj_currentPageUrl + '" (at "' + path_currentPageUrl + '")');
995
- }
996
- const obj_customCodeDeployments = obj.customCodeDeployments;
997
- const path_customCodeDeployments = path + '.customCodeDeployments';
998
- if (!ArrayIsArray(obj_customCodeDeployments)) {
999
- return new TypeError('Expected "array" but received "' + typeof obj_customCodeDeployments + '" (at "' + path_customCodeDeployments + '")');
1000
- }
1001
- for (let i = 0; i < obj_customCodeDeployments.length; i++) {
1002
- const obj_customCodeDeployments_item = obj_customCodeDeployments[i];
1003
- const path_customCodeDeployments_item = path_customCodeDeployments + '[' + i + ']';
1004
- if (typeof obj_customCodeDeployments_item !== 'object') {
1005
- return new TypeError('Expected "object" but received "' + typeof obj_customCodeDeployments_item + '" (at "' + path_customCodeDeployments_item + '")');
1006
- }
1007
- }
1008
- if (obj.nextPageUrl !== undefined) {
1009
- const obj_nextPageUrl = obj.nextPageUrl;
1010
- const path_nextPageUrl = path + '.nextPageUrl';
1011
- if (typeof obj_nextPageUrl !== 'string') {
1012
- return new TypeError('Expected "string" but received "' + typeof obj_nextPageUrl + '" (at "' + path_nextPageUrl + '")');
1013
- }
1014
- }
1015
- const obj_totalSize = obj.totalSize;
1016
- const path_totalSize = path + '.totalSize';
1017
- if (typeof obj_totalSize !== 'number' || (typeof obj_totalSize === 'number' && Math.floor(obj_totalSize) !== obj_totalSize)) {
1018
- return new TypeError('Expected "integer" but received "' + typeof obj_totalSize + '" (at "' + path_totalSize + '")');
1019
- }
1020
- })();
1021
- return v_error === undefined ? null : v_error;
1022
- }
1023
- const RepresentationType = 'CustomCodeDeploymentCollectionRepresentation';
1024
- function normalize(input, existing, path, luvio, store, timestamp) {
1025
- const input_customCodeDeployments = input.customCodeDeployments;
1026
- const input_customCodeDeployments_id = path.fullPath + '__customCodeDeployments';
1027
- for (let i = 0; i < input_customCodeDeployments.length; i++) {
1028
- const input_customCodeDeployments_item = input_customCodeDeployments[i];
1029
- let input_customCodeDeployments_item_id = input_customCodeDeployments_id + '__' + i;
1030
- input_customCodeDeployments[i] = ingest$1(input_customCodeDeployments_item, {
1031
- fullPath: input_customCodeDeployments_item_id,
1032
- propertyName: i,
1033
- parent: {
1034
- data: input,
1035
- key: path.fullPath,
1036
- existing: existing,
1037
- },
1038
- ttl: path.ttl
1039
- }, luvio, store, timestamp);
1040
- }
1041
- return input;
1042
- }
1043
- const select$2 = function CustomCodeDeploymentCollectionRepresentationSelect() {
1044
- return {
1045
- kind: 'Fragment',
1046
- version: VERSION,
1047
- private: [],
1048
- selections: [
1049
- {
1050
- name: 'currentPageUrl',
1051
- kind: 'Scalar'
1052
- },
1053
- {
1054
- name: 'customCodeDeployments',
1055
- kind: 'Link',
1056
- plural: true,
1057
- fragment: select$5()
1058
- },
1059
- {
1060
- name: 'nextPageUrl',
1061
- kind: 'Scalar',
1062
- required: false
1063
- },
1064
- {
1065
- name: 'totalSize',
1066
- kind: 'Scalar'
1067
- }
1068
- ]
1069
- };
1070
- };
1071
- function equals(existing, incoming) {
1072
- const existing_totalSize = existing.totalSize;
1073
- const incoming_totalSize = incoming.totalSize;
1074
- if (!(existing_totalSize === incoming_totalSize)) {
1075
- return false;
1076
- }
1077
- const existing_currentPageUrl = existing.currentPageUrl;
1078
- const incoming_currentPageUrl = incoming.currentPageUrl;
1079
- if (!(existing_currentPageUrl === incoming_currentPageUrl)) {
1080
- return false;
1081
- }
1082
- const existing_nextPageUrl = existing.nextPageUrl;
1083
- const incoming_nextPageUrl = incoming.nextPageUrl;
1084
- // if at least one of these optionals is defined
1085
- if (existing_nextPageUrl !== undefined || incoming_nextPageUrl !== undefined) {
1086
- // if one of these is not defined we know the other is defined and therefore
1087
- // not equal
1088
- if (existing_nextPageUrl === undefined || incoming_nextPageUrl === undefined) {
1089
- return false;
1090
- }
1091
- if (!(existing_nextPageUrl === incoming_nextPageUrl)) {
1092
- return false;
1093
- }
1094
- }
1095
- const existing_customCodeDeployments = existing.customCodeDeployments;
1096
- const incoming_customCodeDeployments = incoming.customCodeDeployments;
1097
- const equals_customCodeDeployments_items = equalsArray(existing_customCodeDeployments, incoming_customCodeDeployments, (existing_customCodeDeployments_item, incoming_customCodeDeployments_item) => {
1098
- if (!(existing_customCodeDeployments_item.__ref === incoming_customCodeDeployments_item.__ref)) {
1099
- return false;
1100
- }
1101
- });
1102
- if (equals_customCodeDeployments_items === false) {
1103
- return false;
1104
- }
1105
- return true;
1106
- }
1107
- const ingest = function CustomCodeDeploymentCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
1108
- if (process.env.NODE_ENV !== 'production') {
1109
- const validateError = validate(input);
1110
- if (validateError !== null) {
1111
- throw validateError;
1112
- }
1113
- }
1114
- const key = path.fullPath;
1115
- const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
1116
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize, "byoc", VERSION, RepresentationType, equals);
1117
- return createLink(key);
1118
- };
1119
- function getTypeCacheKeys(rootKeySet, luvio, input, fullPathFactory) {
1120
- // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1121
- const rootKey = fullPathFactory();
1122
- rootKeySet.set(rootKey, {
1123
- namespace: keyPrefix,
1124
- representationName: RepresentationType,
1125
- mergeable: false
1126
- });
1127
- const input_customCodeDeployments_length = input.customCodeDeployments.length;
1128
- for (let i = 0; i < input_customCodeDeployments_length; i++) {
1129
- getTypeCacheKeys$1(rootKeySet, luvio, input.customCodeDeployments[i]);
1130
- }
1131
- }
1132
-
1133
- function select$1(luvio, params) {
1134
- return select$2();
1135
- }
1136
- function keyBuilder$1(luvio, params) {
1137
- return keyPrefix + '::CustomCodeDeploymentCollectionRepresentation:(' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'orderBy:' + params.queryParams.orderBy + ')';
1138
- }
1139
- function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
1140
- getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$1(luvio, resourceParams));
1141
- }
1142
- function ingestSuccess$1(luvio, resourceParams, response, snapshotRefresh) {
1143
- const { body } = response;
1144
- const key = keyBuilder$1(luvio, resourceParams);
1145
- luvio.storeIngest(key, ingest, body);
1146
- const snapshot = luvio.storeLookup({
1147
- recordId: key,
1148
- node: select$1(),
1149
- variables: {},
1150
- }, snapshotRefresh);
1151
- if (process.env.NODE_ENV !== 'production') {
1152
- if (snapshot.state !== 'Fulfilled') {
1153
- throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
1154
- }
1155
- }
1156
- deepFreeze(snapshot.data);
1157
- return snapshot;
1158
- }
1159
- function ingestError(luvio, params, error, snapshotRefresh) {
1160
- const key = keyBuilder$1(luvio, params);
1161
- const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
1162
- luvio.storeIngestError(key, errorSnapshot);
1163
- return errorSnapshot;
1164
- }
1165
- function createResourceRequest$1(config) {
1166
- const headers = {};
1167
- return {
1168
- baseUri: '/services/data/v63.0',
1169
- basePath: '/ssot/data-custom-code',
1170
- method: 'get',
1171
- body: null,
1172
- urlParams: {},
1173
- queryParams: config.queryParams,
1174
- headers,
1175
- priority: 'normal',
1176
- };
1177
- }
1178
-
1179
- const adapterName$1 = 'getCustomCodeDeployments';
1180
- const getCustomCodeDeployments_ConfigPropertyMetadata = [
1181
- generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
1182
- generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
1183
- generateParamConfigMetadata('orderBy', false, 1 /* QueryParameter */, 0 /* String */),
1184
- ];
1185
- const getCustomCodeDeployments_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getCustomCodeDeployments_ConfigPropertyMetadata);
1186
- const createResourceParams$1 = /*#__PURE__*/ createResourceParams$5(getCustomCodeDeployments_ConfigPropertyMetadata);
1187
- function keyBuilder(luvio, config) {
1188
- const resourceParams = createResourceParams$1(config);
1189
- return keyBuilder$1(luvio, resourceParams);
1190
- }
1191
- function typeCheckConfig$1(untrustedConfig) {
1192
- const config = {};
1193
- typeCheckConfig$5(untrustedConfig, config, getCustomCodeDeployments_ConfigPropertyMetadata);
1194
- return config;
1195
- }
1196
- function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
1197
- if (!untrustedIsObject(untrustedConfig)) {
1198
- return null;
1199
- }
1200
- if (process.env.NODE_ENV !== 'production') {
1201
- validateConfig(untrustedConfig, configPropertyNames);
1202
- }
1203
- const config = typeCheckConfig$1(untrustedConfig);
1204
- if (!areRequiredParametersPresent(config, configPropertyNames)) {
1205
- return null;
1206
- }
1207
- return config;
1208
- }
1209
- function adapterFragment(luvio, config) {
1210
- createResourceParams$1(config);
1211
- return select$1();
1212
- }
1213
- function onFetchResponseSuccess(luvio, config, resourceParams, response) {
1214
- const snapshot = ingestSuccess$1(luvio, resourceParams, response, {
1215
- config,
1216
- resolve: () => buildNetworkSnapshot$1(luvio, config, snapshotRefreshOptions)
1217
- });
1218
- return luvio.storeBroadcast().then(() => snapshot);
1219
- }
1220
- function onFetchResponseError(luvio, config, resourceParams, response) {
1221
- const snapshot = ingestError(luvio, resourceParams, response, {
1222
- config,
1223
- resolve: () => buildNetworkSnapshot$1(luvio, config, snapshotRefreshOptions)
1224
- });
1225
- return luvio.storeBroadcast().then(() => snapshot);
1226
- }
1227
- function buildNetworkSnapshot$1(luvio, config, options) {
1228
- const resourceParams = createResourceParams$1(config);
1229
- const request = createResourceRequest$1(resourceParams);
1230
- return luvio.dispatchResourceRequest(request, options)
1231
- .then((response) => {
1232
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess(luvio, config, resourceParams, response), () => {
1233
- const cache = new StoreKeyMap();
1234
- getResponseCacheKeys$1(cache, luvio, resourceParams, response.body);
1235
- return cache;
1236
- });
1237
- }, (response) => {
1238
- return luvio.handleErrorResponse(() => onFetchResponseError(luvio, config, resourceParams, response));
1239
- });
1240
- }
1241
- function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
1242
- return buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
1243
- }
1244
- function buildCachedSnapshotCachePolicy(context, storeLookup) {
1245
- const { luvio, config } = context;
1246
- const selector = {
1247
- recordId: keyBuilder(luvio, config),
1248
- node: adapterFragment(luvio, config),
1249
- variables: {},
1250
- };
1251
- const cacheSnapshot = storeLookup(selector, {
1252
- config,
1253
- resolve: () => buildNetworkSnapshot$1(luvio, config, snapshotRefreshOptions)
1254
- });
1255
- return cacheSnapshot;
1256
- }
1257
- const getCustomCodeDeploymentsAdapterFactory = (luvio) => function byoc__getCustomCodeDeployments(untrustedConfig, requestContext) {
1258
- const config = validateAdapterConfig$1(untrustedConfig, getCustomCodeDeployments_ConfigPropertyNames);
1259
- // Invalid or incomplete config
1260
- if (config === null) {
1261
- return null;
1262
- }
1263
- return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
1264
- buildCachedSnapshotCachePolicy, buildNetworkSnapshotCachePolicy);
1265
- };
1266
-
1267
- function select(luvio, params) {
1268
- return select$5();
1269
- }
1270
- function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
1271
- getTypeCacheKeys$1(storeKeyMap, luvio, response);
1272
- }
1273
- function ingestSuccess(luvio, resourceParams, response) {
1274
- const { body } = response;
1275
- const key = keyBuilderFromType(luvio, body);
1276
- luvio.storeIngest(key, ingest$1, body);
1277
- const snapshot = luvio.storeLookup({
1278
- recordId: key,
1279
- node: select(),
1280
- variables: {},
1281
- });
1282
- if (process.env.NODE_ENV !== 'production') {
1283
- if (snapshot.state !== 'Fulfilled') {
1284
- throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
1285
- }
1286
- }
1287
- deepFreeze(snapshot.data);
1288
- return snapshot;
1289
- }
1290
- function createResourceRequest(config) {
1291
- const headers = {};
1292
- return {
1293
- baseUri: '/services/data/v63.0',
1294
- basePath: '/ssot/data-custom-code/' + config.urlParams.customCodeNameOrId + '',
1295
- method: 'patch',
1296
- body: config.body,
1297
- urlParams: config.urlParams,
1298
- queryParams: {},
1299
- headers,
1300
- priority: 'normal',
1301
- };
1302
- }
1303
-
1304
- const adapterName = 'updateCustomCodeDeployment';
1305
- const updateCustomCodeDeployment_ConfigPropertyMetadata = [
1306
- generateParamConfigMetadata('customCodeNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
1307
- generateParamConfigMetadata('computeType', false, 2 /* Body */, 0 /* String */),
1308
- generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
1309
- generateParamConfigMetadata('label', false, 2 /* Body */, 0 /* String */),
1310
- generateParamConfigMetadata('version', false, 2 /* Body */, 0 /* String */),
1311
- ];
1312
- const updateCustomCodeDeployment_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, updateCustomCodeDeployment_ConfigPropertyMetadata);
1313
- const createResourceParams = /*#__PURE__*/ createResourceParams$5(updateCustomCodeDeployment_ConfigPropertyMetadata);
1314
- function typeCheckConfig(untrustedConfig) {
1315
- const config = {};
1316
- typeCheckConfig$5(untrustedConfig, config, updateCustomCodeDeployment_ConfigPropertyMetadata);
1317
- return config;
1318
- }
1319
681
  function validateAdapterConfig(untrustedConfig, configPropertyNames) {
1320
682
  if (!untrustedIsObject(untrustedConfig)) {
1321
683
  return null;
@@ -1347,62 +709,34 @@ function buildNetworkSnapshot(luvio, config, options) {
1347
709
  throw response;
1348
710
  });
1349
711
  }
1350
- const updateCustomCodeDeploymentAdapterFactory = (luvio) => {
1351
- return function updateCustomCodeDeployment(untrustedConfig) {
1352
- const config = validateAdapterConfig(untrustedConfig, updateCustomCodeDeployment_ConfigPropertyNames);
712
+ const createCustomCodeDeploymentAdapterFactory = (luvio) => {
713
+ return function createCustomCodeDeployment(untrustedConfig) {
714
+ const config = validateAdapterConfig(untrustedConfig, createCustomCodeDeployment_ConfigPropertyNames);
1353
715
  // Invalid or incomplete config
1354
716
  if (config === null) {
1355
- throw new Error('Invalid config for "updateCustomCodeDeployment"');
717
+ throw new Error('Invalid config for "createCustomCodeDeployment"');
1356
718
  }
1357
719
  return buildNetworkSnapshot(luvio, config);
1358
720
  };
1359
721
  };
1360
722
 
1361
723
  let createCustomCodeDeployment;
1362
- let deleteCustomCodeDeployment;
1363
- let getCustomCodeDeployment;
1364
- let getCustomCodeDeploymentNotifyChange;
1365
- let getCustomCodeDeployments;
1366
- let updateCustomCodeDeployment;
1367
- // Imperative GET Adapters
1368
- let getCustomCodeDeployment_imperative;
1369
- let getCustomCodeDeployments_imperative;
1370
- const getCustomCodeDeploymentMetadata = { apiFamily: 'byoc', name: 'getCustomCodeDeployment' };
1371
- const getCustomCodeDeploymentsMetadata = { apiFamily: 'byoc', name: 'getCustomCodeDeployments' };
1372
724
  // Notify Update Available
1373
725
  function bindExportsTo(luvio) {
1374
726
  // LDS Adapters
1375
- const getCustomCodeDeployment_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getCustomCodeDeployment', getCustomCodeDeploymentAdapterFactory), getCustomCodeDeploymentMetadata);
1376
- const getCustomCodeDeployments_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getCustomCodeDeployments', getCustomCodeDeploymentsAdapterFactory), getCustomCodeDeploymentsMetadata);
1377
727
  function unwrapSnapshotData(factory) {
1378
728
  const adapter = factory(luvio);
1379
729
  return (config) => adapter(config).then((snapshot) => snapshot.data);
1380
730
  }
1381
731
  return {
1382
732
  createCustomCodeDeployment: unwrapSnapshotData(createCustomCodeDeploymentAdapterFactory),
1383
- deleteCustomCodeDeployment: createLDSAdapter(luvio, adapterName$3, deleteCustomCodeDeploymentAdapterFactory),
1384
- getCustomCodeDeployment: createWireAdapterConstructor(luvio, getCustomCodeDeployment_ldsAdapter, getCustomCodeDeploymentMetadata),
1385
- getCustomCodeDeploymentNotifyChange: createLDSAdapter(luvio, 'getCustomCodeDeploymentNotifyChange', notifyChangeFactory),
1386
- getCustomCodeDeployments: createWireAdapterConstructor(luvio, getCustomCodeDeployments_ldsAdapter, getCustomCodeDeploymentsMetadata),
1387
- updateCustomCodeDeployment: unwrapSnapshotData(updateCustomCodeDeploymentAdapterFactory),
1388
733
  // Imperative GET Adapters
1389
- getCustomCodeDeployment_imperative: createImperativeAdapter(luvio, getCustomCodeDeployment_ldsAdapter, getCustomCodeDeploymentMetadata),
1390
- getCustomCodeDeployments_imperative: createImperativeAdapter(luvio, getCustomCodeDeployments_ldsAdapter, getCustomCodeDeploymentsMetadata),
1391
734
  // Notify Update Availables
1392
735
  };
1393
736
  }
1394
737
  withDefaultLuvio((luvio) => {
1395
- ({
1396
- createCustomCodeDeployment,
1397
- deleteCustomCodeDeployment,
1398
- getCustomCodeDeployment,
1399
- getCustomCodeDeploymentNotifyChange,
1400
- getCustomCodeDeployments,
1401
- updateCustomCodeDeployment,
1402
- getCustomCodeDeployment_imperative,
1403
- getCustomCodeDeployments_imperative,
1404
- } = bindExportsTo(luvio));
738
+ ({ createCustomCodeDeployment } = bindExportsTo(luvio));
1405
739
  });
1406
740
 
1407
- export { createCustomCodeDeployment, deleteCustomCodeDeployment, getCustomCodeDeployment, getCustomCodeDeploymentNotifyChange, getCustomCodeDeployment_imperative, getCustomCodeDeployments, getCustomCodeDeployments_imperative, updateCustomCodeDeployment };
1408
- // version: 1.332.0-dev19-d7ba00c6cd
741
+ export { createCustomCodeDeployment };
742
+ // version: 1.332.0-dev20-8600de247a