@salesforce/lds-adapters-industries-epc 1.315.0 → 1.317.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.
Files changed (20) hide show
  1. package/dist/es/es2018/industries-epc.js +711 -226
  2. package/dist/es/es2018/types/src/generated/adapters/getIndexSetting.d.ts +26 -0
  3. package/dist/es/es2018/types/src/generated/adapters/getSnapshots.d.ts +1 -0
  4. package/dist/es/es2018/types/src/generated/adapters/patchIndexSetting.d.ts +17 -0
  5. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +2 -0
  6. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +4 -1
  7. package/dist/es/es2018/types/src/generated/resources/getConnectPcmIndexSetting.d.ts +12 -0
  8. package/dist/es/es2018/types/src/generated/resources/getConnectPcmIndexSnapshots.d.ts +3 -0
  9. package/dist/es/es2018/types/src/generated/resources/patchConnectPcmIndexSettingBySettingId.d.ts +16 -0
  10. package/dist/es/es2018/types/src/generated/types/IndexSettingInputRepresentation.d.ts +28 -0
  11. package/dist/es/es2018/types/src/generated/types/IndexSettingOutputRepresentation.d.ts +39 -0
  12. package/dist/es/es2018/types/src/generated/types/IndexSettingPatchOutputRepresentation.d.ts +46 -0
  13. package/dist/es/es2018/types/src/generated/types/SettingInputRepresentation.d.ts +28 -0
  14. package/dist/es/es2018/types/src/generated/types/SettingMetadataOutputRepresentation.d.ts +28 -0
  15. package/dist/es/es2018/types/src/generated/types/SettingOutputRepresentation.d.ts +31 -0
  16. package/dist/es/es2018/types/src/generated/types/SnapshotIndexLogOutputRepresentation.d.ts +49 -0
  17. package/package.json +4 -4
  18. package/sfdc/index.js +1300 -804
  19. package/src/raml/api.raml +144 -0
  20. package/src/raml/luvio.raml +16 -0
@@ -4,7 +4,7 @@
4
4
  * For full license text, see the LICENSE.txt file
5
5
  */
6
6
 
7
- import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, createResourceParams as createResourceParams$c, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$7, typeCheckConfig as typeCheckConfig$c } from '@luvio/engine';
7
+ import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, createResourceParams as createResourceParams$e, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$8, typeCheckConfig as typeCheckConfig$e } from '@luvio/engine';
8
8
 
9
9
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
10
10
  const { keys: ObjectKeys, create: ObjectCreate } = Object;
@@ -92,7 +92,7 @@ function createLink(ref) {
92
92
  };
93
93
  }
94
94
 
95
- function validate$H(obj, path = 'DeactivateInputRepresentation') {
95
+ function validate$M(obj, path = 'DeactivateInputRepresentation') {
96
96
  const v_error = (() => {
97
97
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
98
98
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -125,7 +125,7 @@ function validate$H(obj, path = 'DeactivateInputRepresentation') {
125
125
  return v_error === undefined ? null : v_error;
126
126
  }
127
127
 
128
- function validate$G(obj, path = 'ErrorOutputRepresentation') {
128
+ function validate$L(obj, path = 'ErrorOutputRepresentation') {
129
129
  const v_error = (() => {
130
130
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
131
131
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -156,9 +156,9 @@ function validate$G(obj, path = 'ErrorOutputRepresentation') {
156
156
  return v_error === undefined ? null : v_error;
157
157
  }
158
158
 
159
- const TTL$a = 6000;
160
- const VERSION$c = "67abdeaa299bae24f468fd2e78cd1e1e";
161
- function validate$F(obj, path = 'RecordIdMapOutputRepresentation') {
159
+ const TTL$c = 6000;
160
+ const VERSION$e = "67abdeaa299bae24f468fd2e78cd1e1e";
161
+ function validate$K(obj, path = 'RecordIdMapOutputRepresentation') {
162
162
  const v_error = (() => {
163
163
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
164
164
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -171,7 +171,7 @@ function validate$F(obj, path = 'RecordIdMapOutputRepresentation') {
171
171
  for (let i = 0; i < obj_errors.length; i++) {
172
172
  const obj_errors_item = obj_errors[i];
173
173
  const path_errors_item = path_errors + '[' + i + ']';
174
- const referencepath_errors_itemValidationError = validate$G(obj_errors_item, path_errors_item);
174
+ const referencepath_errors_itemValidationError = validate$L(obj_errors_item, path_errors_item);
175
175
  if (referencepath_errors_itemValidationError !== null) {
176
176
  let message = 'Object doesn\'t match ErrorOutputRepresentation (at "' + path_errors_item + '")\n';
177
177
  message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -186,68 +186,68 @@ function validate$F(obj, path = 'RecordIdMapOutputRepresentation') {
186
186
  })();
187
187
  return v_error === undefined ? null : v_error;
188
188
  }
189
- const RepresentationType$b = 'RecordIdMapOutputRepresentation';
190
- function keyBuilder$i(luvio, config) {
191
- return keyPrefix + '::' + RepresentationType$b + ':' + config.message;
189
+ const RepresentationType$d = 'RecordIdMapOutputRepresentation';
190
+ function keyBuilder$l(luvio, config) {
191
+ return keyPrefix + '::' + RepresentationType$d + ':' + config.message;
192
192
  }
193
- function keyBuilderFromType$4(luvio, object) {
193
+ function keyBuilderFromType$5(luvio, object) {
194
194
  const keyParams = {
195
195
  message: object.status
196
196
  };
197
- return keyBuilder$i(luvio, keyParams);
197
+ return keyBuilder$l(luvio, keyParams);
198
198
  }
199
- function normalize$b(input, existing, path, luvio, store, timestamp) {
199
+ function normalize$d(input, existing, path, luvio, store, timestamp) {
200
200
  return input;
201
201
  }
202
- const select$o = function RecordIdMapOutputRepresentationSelect() {
202
+ const select$s = function RecordIdMapOutputRepresentationSelect() {
203
203
  return {
204
204
  kind: 'Fragment',
205
- version: VERSION$c,
205
+ version: VERSION$e,
206
206
  private: [],
207
207
  opaque: true
208
208
  };
209
209
  };
210
- function equals$c(existing, incoming) {
210
+ function equals$e(existing, incoming) {
211
211
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
212
212
  return false;
213
213
  }
214
214
  return true;
215
215
  }
216
- const ingest$b = function RecordIdMapOutputRepresentationIngest(input, path, luvio, store, timestamp) {
216
+ const ingest$d = function RecordIdMapOutputRepresentationIngest(input, path, luvio, store, timestamp) {
217
217
  if (process.env.NODE_ENV !== 'production') {
218
- const validateError = validate$F(input);
218
+ const validateError = validate$K(input);
219
219
  if (validateError !== null) {
220
220
  throw validateError;
221
221
  }
222
222
  }
223
- const key = keyBuilderFromType$4(luvio, input);
224
- const ttlToUse = TTL$a;
225
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "epc", VERSION$c, RepresentationType$b, equals$c);
223
+ const key = keyBuilderFromType$5(luvio, input);
224
+ const ttlToUse = TTL$c;
225
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "epc", VERSION$e, RepresentationType$d, equals$e);
226
226
  return createLink(key);
227
227
  };
228
- function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
228
+ function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
229
229
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
230
- const rootKey = keyBuilderFromType$4(luvio, input);
230
+ const rootKey = keyBuilderFromType$5(luvio, input);
231
231
  rootKeySet.set(rootKey, {
232
232
  namespace: keyPrefix,
233
- representationName: RepresentationType$b,
233
+ representationName: RepresentationType$d,
234
234
  mergeable: false
235
235
  });
236
236
  }
237
237
 
238
- function select$n(luvio, params) {
239
- return select$o();
238
+ function select$r(luvio, params) {
239
+ return select$s();
240
240
  }
241
- function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
242
- getTypeCacheKeys$b(storeKeyMap, luvio, response);
241
+ function getResponseCacheKeys$d(storeKeyMap, luvio, resourceParams, response) {
242
+ getTypeCacheKeys$d(storeKeyMap, luvio, response);
243
243
  }
244
- function ingestSuccess$b(luvio, resourceParams, response) {
244
+ function ingestSuccess$d(luvio, resourceParams, response) {
245
245
  const { body } = response;
246
- const key = keyBuilderFromType$4(luvio, body);
247
- luvio.storeIngest(key, ingest$b, body);
246
+ const key = keyBuilderFromType$5(luvio, body);
247
+ luvio.storeIngest(key, ingest$d, body);
248
248
  const snapshot = luvio.storeLookup({
249
249
  recordId: key,
250
- node: select$n(),
250
+ node: select$r(),
251
251
  variables: {},
252
252
  });
253
253
  if (process.env.NODE_ENV !== 'production') {
@@ -258,7 +258,7 @@ function ingestSuccess$b(luvio, resourceParams, response) {
258
258
  deepFreeze(snapshot.data);
259
259
  return snapshot;
260
260
  }
261
- function createResourceRequest$b(config) {
261
+ function createResourceRequest$d(config) {
262
262
  const headers = {};
263
263
  return {
264
264
  baseUri: '/services/data/v63.0',
@@ -272,45 +272,45 @@ function createResourceRequest$b(config) {
272
272
  };
273
273
  }
274
274
 
275
- const adapterName$b = 'deactivate';
275
+ const adapterName$d = 'deactivate';
276
276
  const deactivate_ConfigPropertyMetadata = [
277
277
  generateParamConfigMetadata('deactivateInputPayload', true, 2 /* Body */, 4 /* Unsupported */),
278
278
  ];
279
- const deactivate_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, deactivate_ConfigPropertyMetadata);
280
- const createResourceParams$b = /*#__PURE__*/ createResourceParams$c(deactivate_ConfigPropertyMetadata);
281
- function typeCheckConfig$b(untrustedConfig) {
279
+ const deactivate_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, deactivate_ConfigPropertyMetadata);
280
+ const createResourceParams$d = /*#__PURE__*/ createResourceParams$e(deactivate_ConfigPropertyMetadata);
281
+ function typeCheckConfig$d(untrustedConfig) {
282
282
  const config = {};
283
283
  const untrustedConfig_deactivateInputPayload = untrustedConfig.deactivateInputPayload;
284
- const referenceDeactivateInputRepresentationValidationError = validate$H(untrustedConfig_deactivateInputPayload);
284
+ const referenceDeactivateInputRepresentationValidationError = validate$M(untrustedConfig_deactivateInputPayload);
285
285
  if (referenceDeactivateInputRepresentationValidationError === null) {
286
286
  config.deactivateInputPayload = untrustedConfig_deactivateInputPayload;
287
287
  }
288
288
  return config;
289
289
  }
290
- function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
290
+ function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
291
291
  if (!untrustedIsObject(untrustedConfig)) {
292
292
  return null;
293
293
  }
294
294
  if (process.env.NODE_ENV !== 'production') {
295
295
  validateConfig(untrustedConfig, configPropertyNames);
296
296
  }
297
- const config = typeCheckConfig$b(untrustedConfig);
297
+ const config = typeCheckConfig$d(untrustedConfig);
298
298
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
299
299
  return null;
300
300
  }
301
301
  return config;
302
302
  }
303
- function buildNetworkSnapshot$b(luvio, config, options) {
304
- const resourceParams = createResourceParams$b(config);
305
- const request = createResourceRequest$b(resourceParams);
303
+ function buildNetworkSnapshot$d(luvio, config, options) {
304
+ const resourceParams = createResourceParams$d(config);
305
+ const request = createResourceRequest$d(resourceParams);
306
306
  return luvio.dispatchResourceRequest(request, options)
307
307
  .then((response) => {
308
308
  return luvio.handleSuccessResponse(() => {
309
- const snapshot = ingestSuccess$b(luvio, resourceParams, response);
309
+ const snapshot = ingestSuccess$d(luvio, resourceParams, response);
310
310
  return luvio.storeBroadcast().then(() => snapshot);
311
311
  }, () => {
312
312
  const cache = new StoreKeyMap();
313
- getResponseCacheKeys$b(cache, luvio, resourceParams, response.body);
313
+ getResponseCacheKeys$d(cache, luvio, resourceParams, response.body);
314
314
  return cache;
315
315
  });
316
316
  }, (response) => {
@@ -320,16 +320,16 @@ function buildNetworkSnapshot$b(luvio, config, options) {
320
320
  }
321
321
  const deactivateAdapterFactory = (luvio) => {
322
322
  return function deactivate(untrustedConfig) {
323
- const config = validateAdapterConfig$b(untrustedConfig, deactivate_ConfigPropertyNames);
323
+ const config = validateAdapterConfig$d(untrustedConfig, deactivate_ConfigPropertyNames);
324
324
  // Invalid or incomplete config
325
325
  if (config === null) {
326
326
  throw new Error('Invalid config for "deactivate"');
327
327
  }
328
- return buildNetworkSnapshot$b(luvio, config);
328
+ return buildNetworkSnapshot$d(luvio, config);
329
329
  };
330
330
  };
331
331
 
332
- function validate$E(obj, path = 'EpcErrorOutputRepresentation') {
332
+ function validate$J(obj, path = 'EpcErrorOutputRepresentation') {
333
333
  const v_error = (() => {
334
334
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
335
335
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -380,7 +380,7 @@ function validate$E(obj, path = 'EpcErrorOutputRepresentation') {
380
380
  return v_error === undefined ? null : v_error;
381
381
  }
382
382
 
383
- function validate$D(obj, path = 'IndexConfigurationFieldOutputRepresentation') {
383
+ function validate$I(obj, path = 'IndexConfigurationFieldOutputRepresentation') {
384
384
  const v_error = (() => {
385
385
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
386
386
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -438,7 +438,7 @@ function validate$D(obj, path = 'IndexConfigurationFieldOutputRepresentation') {
438
438
  return v_error === undefined ? null : v_error;
439
439
  }
440
440
 
441
- function validate$C(obj, path = 'FieldsInfoOutputRepresentation') {
441
+ function validate$H(obj, path = 'FieldsInfoOutputRepresentation') {
442
442
  const v_error = (() => {
443
443
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
444
444
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -482,7 +482,7 @@ function validate$C(obj, path = 'FieldsInfoOutputRepresentation') {
482
482
  return v_error === undefined ? null : v_error;
483
483
  }
484
484
 
485
- function validate$B(obj, path = 'ObjectInfoOutputRepresentation') {
485
+ function validate$G(obj, path = 'ObjectInfoOutputRepresentation') {
486
486
  const v_error = (() => {
487
487
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
488
488
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -496,7 +496,7 @@ function validate$B(obj, path = 'ObjectInfoOutputRepresentation') {
496
496
  for (let i = 0; i < obj_fields.length; i++) {
497
497
  const obj_fields_item = obj_fields[i];
498
498
  const path_fields_item = path_fields + '[' + i + ']';
499
- const referencepath_fields_itemValidationError = validate$C(obj_fields_item, path_fields_item);
499
+ const referencepath_fields_itemValidationError = validate$H(obj_fields_item, path_fields_item);
500
500
  if (referencepath_fields_itemValidationError !== null) {
501
501
  let message = 'Object doesn\'t match FieldsInfoOutputRepresentation (at "' + path_fields_item + '")\n';
502
502
  message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -515,7 +515,7 @@ function validate$B(obj, path = 'ObjectInfoOutputRepresentation') {
515
515
  return v_error === undefined ? null : v_error;
516
516
  }
517
517
 
518
- function validate$A(obj, path = 'MetadataOutputRepresentation') {
518
+ function validate$F(obj, path = 'MetadataOutputRepresentation') {
519
519
  const v_error = (() => {
520
520
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
521
521
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -529,7 +529,7 @@ function validate$A(obj, path = 'MetadataOutputRepresentation') {
529
529
  for (let i = 0; i < obj_objectInfos.length; i++) {
530
530
  const obj_objectInfos_item = obj_objectInfos[i];
531
531
  const path_objectInfos_item = path_objectInfos + '[' + i + ']';
532
- const referencepath_objectInfos_itemValidationError = validate$B(obj_objectInfos_item, path_objectInfos_item);
532
+ const referencepath_objectInfos_itemValidationError = validate$G(obj_objectInfos_item, path_objectInfos_item);
533
533
  if (referencepath_objectInfos_itemValidationError !== null) {
534
534
  let message = 'Object doesn\'t match ObjectInfoOutputRepresentation (at "' + path_objectInfos_item + '")\n';
535
535
  message += referencepath_objectInfos_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -541,9 +541,9 @@ function validate$A(obj, path = 'MetadataOutputRepresentation') {
541
541
  return v_error === undefined ? null : v_error;
542
542
  }
543
543
 
544
- const TTL$9 = 6000;
545
- const VERSION$b = "61cfe23ab3d064d226af215df6681afc";
546
- function validate$z(obj, path = 'IndexConfigurationCollectionOutputRepresentation') {
544
+ const TTL$b = 6000;
545
+ const VERSION$d = "61cfe23ab3d064d226af215df6681afc";
546
+ function validate$E(obj, path = 'IndexConfigurationCollectionOutputRepresentation') {
547
547
  const v_error = (() => {
548
548
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
549
549
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -564,7 +564,7 @@ function validate$z(obj, path = 'IndexConfigurationCollectionOutputRepresentatio
564
564
  for (let i = 0; i < obj_errors.length; i++) {
565
565
  const obj_errors_item = obj_errors[i];
566
566
  const path_errors_item = path_errors + '[' + i + ']';
567
- const referencepath_errors_itemValidationError = validate$E(obj_errors_item, path_errors_item);
567
+ const referencepath_errors_itemValidationError = validate$J(obj_errors_item, path_errors_item);
568
568
  if (referencepath_errors_itemValidationError !== null) {
569
569
  let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
570
570
  message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -581,7 +581,7 @@ function validate$z(obj, path = 'IndexConfigurationCollectionOutputRepresentatio
581
581
  for (let i = 0; i < obj_indexConfigurations.length; i++) {
582
582
  const obj_indexConfigurations_item = obj_indexConfigurations[i];
583
583
  const path_indexConfigurations_item = path_indexConfigurations + '[' + i + ']';
584
- const referencepath_indexConfigurations_itemValidationError = validate$D(obj_indexConfigurations_item, path_indexConfigurations_item);
584
+ const referencepath_indexConfigurations_itemValidationError = validate$I(obj_indexConfigurations_item, path_indexConfigurations_item);
585
585
  if (referencepath_indexConfigurations_itemValidationError !== null) {
586
586
  let message = 'Object doesn\'t match IndexConfigurationFieldOutputRepresentation (at "' + path_indexConfigurations_item + '")\n';
587
587
  message += referencepath_indexConfigurations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -592,7 +592,7 @@ function validate$z(obj, path = 'IndexConfigurationCollectionOutputRepresentatio
592
592
  if (obj.metadata !== undefined) {
593
593
  const obj_metadata = obj.metadata;
594
594
  const path_metadata = path + '.metadata';
595
- const referencepath_metadataValidationError = validate$A(obj_metadata, path_metadata);
595
+ const referencepath_metadataValidationError = validate$F(obj_metadata, path_metadata);
596
596
  if (referencepath_metadataValidationError !== null) {
597
597
  let message = 'Object doesn\'t match MetadataOutputRepresentation (at "' + path_metadata + '")\n';
598
598
  message += referencepath_metadataValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -609,62 +609,62 @@ function validate$z(obj, path = 'IndexConfigurationCollectionOutputRepresentatio
609
609
  })();
610
610
  return v_error === undefined ? null : v_error;
611
611
  }
612
- const RepresentationType$a = 'IndexConfigurationCollectionOutputRepresentation';
613
- function normalize$a(input, existing, path, luvio, store, timestamp) {
612
+ const RepresentationType$c = 'IndexConfigurationCollectionOutputRepresentation';
613
+ function normalize$c(input, existing, path, luvio, store, timestamp) {
614
614
  return input;
615
615
  }
616
- const select$m = function IndexConfigurationCollectionOutputRepresentationSelect() {
616
+ const select$q = function IndexConfigurationCollectionOutputRepresentationSelect() {
617
617
  return {
618
618
  kind: 'Fragment',
619
- version: VERSION$b,
619
+ version: VERSION$d,
620
620
  private: [],
621
621
  opaque: true
622
622
  };
623
623
  };
624
- function equals$b(existing, incoming) {
624
+ function equals$d(existing, incoming) {
625
625
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
626
626
  return false;
627
627
  }
628
628
  return true;
629
629
  }
630
- const ingest$a = function IndexConfigurationCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
630
+ const ingest$c = function IndexConfigurationCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
631
631
  if (process.env.NODE_ENV !== 'production') {
632
- const validateError = validate$z(input);
632
+ const validateError = validate$E(input);
633
633
  if (validateError !== null) {
634
634
  throw validateError;
635
635
  }
636
636
  }
637
637
  const key = path.fullPath;
638
- const ttlToUse = TTL$9;
639
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "epc", VERSION$b, RepresentationType$a, equals$b);
638
+ const ttlToUse = TTL$b;
639
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "epc", VERSION$d, RepresentationType$c, equals$d);
640
640
  return createLink(key);
641
641
  };
642
- function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
642
+ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
643
643
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
644
644
  const rootKey = fullPathFactory();
645
645
  rootKeySet.set(rootKey, {
646
646
  namespace: keyPrefix,
647
- representationName: RepresentationType$a,
647
+ representationName: RepresentationType$c,
648
648
  mergeable: false
649
649
  });
650
650
  }
651
651
 
652
- function select$l(luvio, params) {
653
- return select$m();
652
+ function select$p(luvio, params) {
653
+ return select$q();
654
654
  }
655
- function keyBuilder$h(luvio, params) {
655
+ function keyBuilder$k(luvio, params) {
656
656
  return keyPrefix + '::IndexConfigurationCollectionOutputRepresentation:(' + 'correlationId:' + params.queryParams.correlationId + ',' + 'fieldTypes:' + params.queryParams.fieldTypes + ',' + 'includeMetadata:' + params.queryParams.includeMetadata + ')';
657
657
  }
658
- function getResponseCacheKeys$a(storeKeyMap, luvio, resourceParams, response) {
659
- getTypeCacheKeys$a(storeKeyMap, luvio, response, () => keyBuilder$h(luvio, resourceParams));
658
+ function getResponseCacheKeys$c(storeKeyMap, luvio, resourceParams, response) {
659
+ getTypeCacheKeys$c(storeKeyMap, luvio, response, () => keyBuilder$k(luvio, resourceParams));
660
660
  }
661
- function ingestSuccess$a(luvio, resourceParams, response, snapshotRefresh) {
661
+ function ingestSuccess$c(luvio, resourceParams, response, snapshotRefresh) {
662
662
  const { body } = response;
663
- const key = keyBuilder$h(luvio, resourceParams);
664
- luvio.storeIngest(key, ingest$a, body);
663
+ const key = keyBuilder$k(luvio, resourceParams);
664
+ luvio.storeIngest(key, ingest$c, body);
665
665
  const snapshot = luvio.storeLookup({
666
666
  recordId: key,
667
- node: select$l(),
667
+ node: select$p(),
668
668
  variables: {},
669
669
  }, snapshotRefresh);
670
670
  if (process.env.NODE_ENV !== 'production') {
@@ -675,19 +675,19 @@ function ingestSuccess$a(luvio, resourceParams, response, snapshotRefresh) {
675
675
  deepFreeze(snapshot.data);
676
676
  return snapshot;
677
677
  }
678
- function ingestError$6(luvio, params, error, snapshotRefresh) {
679
- const key = keyBuilder$h(luvio, params);
678
+ function ingestError$7(luvio, params, error, snapshotRefresh) {
679
+ const key = keyBuilder$k(luvio, params);
680
680
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
681
681
  const storeMetadataParams = {
682
- ttl: TTL$9,
682
+ ttl: TTL$b,
683
683
  namespace: keyPrefix,
684
- version: VERSION$b,
685
- representationName: RepresentationType$a
684
+ version: VERSION$d,
685
+ representationName: RepresentationType$c
686
686
  };
687
687
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
688
688
  return errorSnapshot;
689
689
  }
690
- function createResourceRequest$a(config) {
690
+ function createResourceRequest$c(config) {
691
691
  const headers = {};
692
692
  return {
693
693
  baseUri: '/services/data/v63.0',
@@ -701,97 +701,97 @@ function createResourceRequest$a(config) {
701
701
  };
702
702
  }
703
703
 
704
- const adapterName$a = 'getIndexConfigurations';
704
+ const adapterName$c = 'getIndexConfigurations';
705
705
  const getIndexConfigurations_ConfigPropertyMetadata = [
706
706
  generateParamConfigMetadata('correlationId', false, 1 /* QueryParameter */, 0 /* String */),
707
707
  generateParamConfigMetadata('fieldTypes', false, 1 /* QueryParameter */, 0 /* String */, true),
708
708
  generateParamConfigMetadata('includeMetadata', false, 1 /* QueryParameter */, 1 /* Boolean */),
709
709
  ];
710
- const getIndexConfigurations_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, getIndexConfigurations_ConfigPropertyMetadata);
711
- const createResourceParams$a = /*#__PURE__*/ createResourceParams$c(getIndexConfigurations_ConfigPropertyMetadata);
712
- function keyBuilder$g(luvio, config) {
713
- const resourceParams = createResourceParams$a(config);
714
- return keyBuilder$h(luvio, resourceParams);
710
+ const getIndexConfigurations_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, getIndexConfigurations_ConfigPropertyMetadata);
711
+ const createResourceParams$c = /*#__PURE__*/ createResourceParams$e(getIndexConfigurations_ConfigPropertyMetadata);
712
+ function keyBuilder$j(luvio, config) {
713
+ const resourceParams = createResourceParams$c(config);
714
+ return keyBuilder$k(luvio, resourceParams);
715
715
  }
716
- function typeCheckConfig$a(untrustedConfig) {
716
+ function typeCheckConfig$c(untrustedConfig) {
717
717
  const config = {};
718
- typeCheckConfig$c(untrustedConfig, config, getIndexConfigurations_ConfigPropertyMetadata);
718
+ typeCheckConfig$e(untrustedConfig, config, getIndexConfigurations_ConfigPropertyMetadata);
719
719
  return config;
720
720
  }
721
- function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
721
+ function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
722
722
  if (!untrustedIsObject(untrustedConfig)) {
723
723
  return null;
724
724
  }
725
725
  if (process.env.NODE_ENV !== 'production') {
726
726
  validateConfig(untrustedConfig, configPropertyNames);
727
727
  }
728
- const config = typeCheckConfig$a(untrustedConfig);
728
+ const config = typeCheckConfig$c(untrustedConfig);
729
729
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
730
730
  return null;
731
731
  }
732
732
  return config;
733
733
  }
734
- function adapterFragment$6(luvio, config) {
735
- createResourceParams$a(config);
736
- return select$l();
734
+ function adapterFragment$7(luvio, config) {
735
+ createResourceParams$c(config);
736
+ return select$p();
737
737
  }
738
- function onFetchResponseSuccess$6(luvio, config, resourceParams, response) {
739
- const snapshot = ingestSuccess$a(luvio, resourceParams, response, {
738
+ function onFetchResponseSuccess$7(luvio, config, resourceParams, response) {
739
+ const snapshot = ingestSuccess$c(luvio, resourceParams, response, {
740
740
  config,
741
- resolve: () => buildNetworkSnapshot$a(luvio, config, snapshotRefreshOptions)
741
+ resolve: () => buildNetworkSnapshot$c(luvio, config, snapshotRefreshOptions)
742
742
  });
743
743
  return luvio.storeBroadcast().then(() => snapshot);
744
744
  }
745
- function onFetchResponseError$6(luvio, config, resourceParams, response) {
746
- const snapshot = ingestError$6(luvio, resourceParams, response, {
745
+ function onFetchResponseError$7(luvio, config, resourceParams, response) {
746
+ const snapshot = ingestError$7(luvio, resourceParams, response, {
747
747
  config,
748
- resolve: () => buildNetworkSnapshot$a(luvio, config, snapshotRefreshOptions)
748
+ resolve: () => buildNetworkSnapshot$c(luvio, config, snapshotRefreshOptions)
749
749
  });
750
750
  return luvio.storeBroadcast().then(() => snapshot);
751
751
  }
752
- function buildNetworkSnapshot$a(luvio, config, options) {
753
- const resourceParams = createResourceParams$a(config);
754
- const request = createResourceRequest$a(resourceParams);
752
+ function buildNetworkSnapshot$c(luvio, config, options) {
753
+ const resourceParams = createResourceParams$c(config);
754
+ const request = createResourceRequest$c(resourceParams);
755
755
  return luvio.dispatchResourceRequest(request, options)
756
756
  .then((response) => {
757
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$6(luvio, config, resourceParams, response), () => {
757
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$7(luvio, config, resourceParams, response), () => {
758
758
  const cache = new StoreKeyMap();
759
- getResponseCacheKeys$a(cache, luvio, resourceParams, response.body);
759
+ getResponseCacheKeys$c(cache, luvio, resourceParams, response.body);
760
760
  return cache;
761
761
  });
762
762
  }, (response) => {
763
- return luvio.handleErrorResponse(() => onFetchResponseError$6(luvio, config, resourceParams, response));
763
+ return luvio.handleErrorResponse(() => onFetchResponseError$7(luvio, config, resourceParams, response));
764
764
  });
765
765
  }
766
- function buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext) {
767
- return buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext, buildNetworkSnapshot$a, undefined, false);
766
+ function buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext) {
767
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$c, undefined, false);
768
768
  }
769
- function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
769
+ function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
770
770
  const { luvio, config } = context;
771
771
  const selector = {
772
- recordId: keyBuilder$g(luvio, config),
773
- node: adapterFragment$6(luvio, config),
772
+ recordId: keyBuilder$j(luvio, config),
773
+ node: adapterFragment$7(luvio, config),
774
774
  variables: {},
775
775
  };
776
776
  const cacheSnapshot = storeLookup(selector, {
777
777
  config,
778
- resolve: () => buildNetworkSnapshot$a(luvio, config, snapshotRefreshOptions)
778
+ resolve: () => buildNetworkSnapshot$c(luvio, config, snapshotRefreshOptions)
779
779
  });
780
780
  return cacheSnapshot;
781
781
  }
782
782
  const getIndexConfigurationsAdapterFactory = (luvio) => function epc__getIndexConfigurations(untrustedConfig, requestContext) {
783
- const config = validateAdapterConfig$a(untrustedConfig, getIndexConfigurations_ConfigPropertyNames);
783
+ const config = validateAdapterConfig$c(untrustedConfig, getIndexConfigurations_ConfigPropertyNames);
784
784
  // Invalid or incomplete config
785
785
  if (config === null) {
786
786
  return null;
787
787
  }
788
788
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
789
- buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$6);
789
+ buildCachedSnapshotCachePolicy$7, buildNetworkSnapshotCachePolicy$7);
790
790
  };
791
791
 
792
- const TTL$8 = 6000;
793
- const VERSION$a = "d8fe6f305d394e3ad9e8b064fd805a31";
794
- function validate$y(obj, path = 'IndexConfigurationsUpdateOutputRepresentation') {
792
+ const TTL$a = 6000;
793
+ const VERSION$c = "d8fe6f305d394e3ad9e8b064fd805a31";
794
+ function validate$D(obj, path = 'IndexConfigurationsUpdateOutputRepresentation') {
795
795
  const v_error = (() => {
796
796
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
797
797
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -812,7 +812,7 @@ function validate$y(obj, path = 'IndexConfigurationsUpdateOutputRepresentation')
812
812
  for (let i = 0; i < obj_errors.length; i++) {
813
813
  const obj_errors_item = obj_errors[i];
814
814
  const path_errors_item = path_errors + '[' + i + ']';
815
- const referencepath_errors_itemValidationError = validate$E(obj_errors_item, path_errors_item);
815
+ const referencepath_errors_itemValidationError = validate$J(obj_errors_item, path_errors_item);
816
816
  if (referencepath_errors_itemValidationError !== null) {
817
817
  let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
818
818
  message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -829,7 +829,7 @@ function validate$y(obj, path = 'IndexConfigurationsUpdateOutputRepresentation')
829
829
  for (let i = 0; i < obj_indexConfigurations.length; i++) {
830
830
  const obj_indexConfigurations_item = obj_indexConfigurations[i];
831
831
  const path_indexConfigurations_item = path_indexConfigurations + '[' + i + ']';
832
- const referencepath_indexConfigurations_itemValidationError = validate$D(obj_indexConfigurations_item, path_indexConfigurations_item);
832
+ const referencepath_indexConfigurations_itemValidationError = validate$I(obj_indexConfigurations_item, path_indexConfigurations_item);
833
833
  if (referencepath_indexConfigurations_itemValidationError !== null) {
834
834
  let message = 'Object doesn\'t match IndexConfigurationFieldOutputRepresentation (at "' + path_indexConfigurations_item + '")\n';
835
835
  message += referencepath_indexConfigurations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -845,68 +845,68 @@ function validate$y(obj, path = 'IndexConfigurationsUpdateOutputRepresentation')
845
845
  })();
846
846
  return v_error === undefined ? null : v_error;
847
847
  }
848
- const RepresentationType$9 = 'IndexConfigurationsUpdateOutputRepresentation';
849
- function keyBuilder$f(luvio, config) {
850
- return keyPrefix + '::' + RepresentationType$9 + ':' + config.message;
848
+ const RepresentationType$b = 'IndexConfigurationsUpdateOutputRepresentation';
849
+ function keyBuilder$i(luvio, config) {
850
+ return keyPrefix + '::' + RepresentationType$b + ':' + config.message;
851
851
  }
852
- function keyBuilderFromType$3(luvio, object) {
852
+ function keyBuilderFromType$4(luvio, object) {
853
853
  const keyParams = {
854
854
  message: object.statusCode
855
855
  };
856
- return keyBuilder$f(luvio, keyParams);
856
+ return keyBuilder$i(luvio, keyParams);
857
857
  }
858
- function normalize$9(input, existing, path, luvio, store, timestamp) {
858
+ function normalize$b(input, existing, path, luvio, store, timestamp) {
859
859
  return input;
860
860
  }
861
- const select$k = function IndexConfigurationsUpdateOutputRepresentationSelect() {
861
+ const select$o = function IndexConfigurationsUpdateOutputRepresentationSelect() {
862
862
  return {
863
863
  kind: 'Fragment',
864
- version: VERSION$a,
864
+ version: VERSION$c,
865
865
  private: [],
866
866
  opaque: true
867
867
  };
868
868
  };
869
- function equals$a(existing, incoming) {
869
+ function equals$c(existing, incoming) {
870
870
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
871
871
  return false;
872
872
  }
873
873
  return true;
874
874
  }
875
- const ingest$9 = function IndexConfigurationsUpdateOutputRepresentationIngest(input, path, luvio, store, timestamp) {
875
+ const ingest$b = function IndexConfigurationsUpdateOutputRepresentationIngest(input, path, luvio, store, timestamp) {
876
876
  if (process.env.NODE_ENV !== 'production') {
877
- const validateError = validate$y(input);
877
+ const validateError = validate$D(input);
878
878
  if (validateError !== null) {
879
879
  throw validateError;
880
880
  }
881
881
  }
882
- const key = keyBuilderFromType$3(luvio, input);
883
- const ttlToUse = TTL$8;
884
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "epc", VERSION$a, RepresentationType$9, equals$a);
882
+ const key = keyBuilderFromType$4(luvio, input);
883
+ const ttlToUse = TTL$a;
884
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "epc", VERSION$c, RepresentationType$b, equals$c);
885
885
  return createLink(key);
886
886
  };
887
- function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
887
+ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
888
888
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
889
- const rootKey = keyBuilderFromType$3(luvio, input);
889
+ const rootKey = keyBuilderFromType$4(luvio, input);
890
890
  rootKeySet.set(rootKey, {
891
891
  namespace: keyPrefix,
892
- representationName: RepresentationType$9,
892
+ representationName: RepresentationType$b,
893
893
  mergeable: false
894
894
  });
895
895
  }
896
896
 
897
- function select$j(luvio, params) {
898
- return select$k();
897
+ function select$n(luvio, params) {
898
+ return select$o();
899
899
  }
900
- function getResponseCacheKeys$9(storeKeyMap, luvio, resourceParams, response) {
901
- getTypeCacheKeys$9(storeKeyMap, luvio, response);
900
+ function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
901
+ getTypeCacheKeys$b(storeKeyMap, luvio, response);
902
902
  }
903
- function ingestSuccess$9(luvio, resourceParams, response) {
903
+ function ingestSuccess$b(luvio, resourceParams, response) {
904
904
  const { body } = response;
905
- const key = keyBuilderFromType$3(luvio, body);
906
- luvio.storeIngest(key, ingest$9, body);
905
+ const key = keyBuilderFromType$4(luvio, body);
906
+ luvio.storeIngest(key, ingest$b, body);
907
907
  const snapshot = luvio.storeLookup({
908
908
  recordId: key,
909
- node: select$j(),
909
+ node: select$n(),
910
910
  variables: {},
911
911
  });
912
912
  if (process.env.NODE_ENV !== 'production') {
@@ -917,7 +917,7 @@ function ingestSuccess$9(luvio, resourceParams, response) {
917
917
  deepFreeze(snapshot.data);
918
918
  return snapshot;
919
919
  }
920
- function createResourceRequest$9(config) {
920
+ function createResourceRequest$b(config) {
921
921
  const headers = {};
922
922
  return {
923
923
  baseUri: '/services/data/v63.0',
@@ -931,16 +931,16 @@ function createResourceRequest$9(config) {
931
931
  };
932
932
  }
933
933
 
934
- const adapterName$9 = 'updateIndexConfigurations';
934
+ const adapterName$b = 'updateIndexConfigurations';
935
935
  const updateIndexConfigurations_ConfigPropertyMetadata = [
936
936
  generateParamConfigMetadata('correlationId', false, 2 /* Body */, 0 /* String */),
937
937
  generateParamConfigMetadata('indexConfigurations', false, 2 /* Body */, 4 /* Unsupported */, true),
938
938
  ];
939
- const updateIndexConfigurations_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, updateIndexConfigurations_ConfigPropertyMetadata);
940
- const createResourceParams$9 = /*#__PURE__*/ createResourceParams$c(updateIndexConfigurations_ConfigPropertyMetadata);
941
- function typeCheckConfig$9(untrustedConfig) {
939
+ const updateIndexConfigurations_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, updateIndexConfigurations_ConfigPropertyMetadata);
940
+ const createResourceParams$b = /*#__PURE__*/ createResourceParams$e(updateIndexConfigurations_ConfigPropertyMetadata);
941
+ function typeCheckConfig$b(untrustedConfig) {
942
942
  const config = {};
943
- typeCheckConfig$c(untrustedConfig, config, updateIndexConfigurations_ConfigPropertyMetadata);
943
+ typeCheckConfig$e(untrustedConfig, config, updateIndexConfigurations_ConfigPropertyMetadata);
944
944
  const untrustedConfig_indexConfigurations = untrustedConfig.indexConfigurations;
945
945
  if (ArrayIsArray$1(untrustedConfig_indexConfigurations)) {
946
946
  const untrustedConfig_indexConfigurations_array = [];
@@ -952,30 +952,30 @@ function typeCheckConfig$9(untrustedConfig) {
952
952
  }
953
953
  return config;
954
954
  }
955
- function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
955
+ function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
956
956
  if (!untrustedIsObject(untrustedConfig)) {
957
957
  return null;
958
958
  }
959
959
  if (process.env.NODE_ENV !== 'production') {
960
960
  validateConfig(untrustedConfig, configPropertyNames);
961
961
  }
962
- const config = typeCheckConfig$9(untrustedConfig);
962
+ const config = typeCheckConfig$b(untrustedConfig);
963
963
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
964
964
  return null;
965
965
  }
966
966
  return config;
967
967
  }
968
- function buildNetworkSnapshot$9(luvio, config, options) {
969
- const resourceParams = createResourceParams$9(config);
970
- const request = createResourceRequest$9(resourceParams);
968
+ function buildNetworkSnapshot$b(luvio, config, options) {
969
+ const resourceParams = createResourceParams$b(config);
970
+ const request = createResourceRequest$b(resourceParams);
971
971
  return luvio.dispatchResourceRequest(request, options)
972
972
  .then((response) => {
973
973
  return luvio.handleSuccessResponse(() => {
974
- const snapshot = ingestSuccess$9(luvio, resourceParams, response);
974
+ const snapshot = ingestSuccess$b(luvio, resourceParams, response);
975
975
  return luvio.storeBroadcast().then(() => snapshot);
976
976
  }, () => {
977
977
  const cache = new StoreKeyMap();
978
- getResponseCacheKeys$9(cache, luvio, resourceParams, response.body);
978
+ getResponseCacheKeys$b(cache, luvio, resourceParams, response.body);
979
979
  return cache;
980
980
  });
981
981
  }, (response) => {
@@ -985,16 +985,16 @@ function buildNetworkSnapshot$9(luvio, config, options) {
985
985
  }
986
986
  const updateIndexConfigurationsAdapterFactory = (luvio) => {
987
987
  return function updateIndexConfigurations(untrustedConfig) {
988
- const config = validateAdapterConfig$9(untrustedConfig, updateIndexConfigurations_ConfigPropertyNames);
988
+ const config = validateAdapterConfig$b(untrustedConfig, updateIndexConfigurations_ConfigPropertyNames);
989
989
  // Invalid or incomplete config
990
990
  if (config === null) {
991
991
  throw new Error('Invalid config for "updateIndexConfigurations"');
992
992
  }
993
- return buildNetworkSnapshot$9(luvio, config);
993
+ return buildNetworkSnapshot$b(luvio, config);
994
994
  };
995
995
  };
996
996
 
997
- function validate$x(obj, path = 'SnapshotIndexOutputRepresentation') {
997
+ function validate$C(obj, path = 'SnapshotIndexOutputRepresentation') {
998
998
  const v_error = (() => {
999
999
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1000
1000
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1052,7 +1052,7 @@ function validate$x(obj, path = 'SnapshotIndexOutputRepresentation') {
1052
1052
  return v_error === undefined ? null : v_error;
1053
1053
  }
1054
1054
 
1055
- function validate$w(obj, path = 'SnapshotOutputRepresentation') {
1055
+ function validate$B(obj, path = 'SnapshotOutputRepresentation') {
1056
1056
  const v_error = (() => {
1057
1057
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1058
1058
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1094,7 +1094,7 @@ function validate$w(obj, path = 'SnapshotOutputRepresentation') {
1094
1094
  for (let i = 0; i < obj_snapshotIndexes.length; i++) {
1095
1095
  const obj_snapshotIndexes_item = obj_snapshotIndexes[i];
1096
1096
  const path_snapshotIndexes_item = path_snapshotIndexes + '[' + i + ']';
1097
- const referencepath_snapshotIndexes_itemValidationError = validate$x(obj_snapshotIndexes_item, path_snapshotIndexes_item);
1097
+ const referencepath_snapshotIndexes_itemValidationError = validate$C(obj_snapshotIndexes_item, path_snapshotIndexes_item);
1098
1098
  if (referencepath_snapshotIndexes_itemValidationError !== null) {
1099
1099
  let message = 'Object doesn\'t match SnapshotIndexOutputRepresentation (at "' + path_snapshotIndexes_item + '")\n';
1100
1100
  message += referencepath_snapshotIndexes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1106,9 +1106,9 @@ function validate$w(obj, path = 'SnapshotOutputRepresentation') {
1106
1106
  return v_error === undefined ? null : v_error;
1107
1107
  }
1108
1108
 
1109
- const TTL$7 = 6000;
1110
- const VERSION$9 = "a482669465add5966119b942982ae104";
1111
- function validate$v(obj, path = 'SnapshotDeploymentOutputRepresentation') {
1109
+ const TTL$9 = 6000;
1110
+ const VERSION$b = "a482669465add5966119b942982ae104";
1111
+ function validate$A(obj, path = 'SnapshotDeploymentOutputRepresentation') {
1112
1112
  const v_error = (() => {
1113
1113
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1114
1114
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1122,7 +1122,7 @@ function validate$v(obj, path = 'SnapshotDeploymentOutputRepresentation') {
1122
1122
  for (let i = 0; i < obj_errors.length; i++) {
1123
1123
  const obj_errors_item = obj_errors[i];
1124
1124
  const path_errors_item = path_errors + '[' + i + ']';
1125
- const referencepath_errors_itemValidationError = validate$E(obj_errors_item, path_errors_item);
1125
+ const referencepath_errors_itemValidationError = validate$J(obj_errors_item, path_errors_item);
1126
1126
  if (referencepath_errors_itemValidationError !== null) {
1127
1127
  let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
1128
1128
  message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1133,7 +1133,7 @@ function validate$v(obj, path = 'SnapshotDeploymentOutputRepresentation') {
1133
1133
  if (obj.snapshot !== undefined) {
1134
1134
  const obj_snapshot = obj.snapshot;
1135
1135
  const path_snapshot = path + '.snapshot';
1136
- const referencepath_snapshotValidationError = validate$w(obj_snapshot, path_snapshot);
1136
+ const referencepath_snapshotValidationError = validate$B(obj_snapshot, path_snapshot);
1137
1137
  if (referencepath_snapshotValidationError !== null) {
1138
1138
  let message = 'Object doesn\'t match SnapshotOutputRepresentation (at "' + path_snapshot + '")\n';
1139
1139
  message += referencepath_snapshotValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1148,20 +1148,499 @@ function validate$v(obj, path = 'SnapshotDeploymentOutputRepresentation') {
1148
1148
  })();
1149
1149
  return v_error === undefined ? null : v_error;
1150
1150
  }
1151
- const RepresentationType$8 = 'SnapshotDeploymentOutputRepresentation';
1151
+ const RepresentationType$a = 'SnapshotDeploymentOutputRepresentation';
1152
+ function keyBuilder$h(luvio, config) {
1153
+ return keyPrefix + '::' + RepresentationType$a + ':' + config.message;
1154
+ }
1155
+ function keyBuilderFromType$3(luvio, object) {
1156
+ const keyParams = {
1157
+ message: object.statusCode
1158
+ };
1159
+ return keyBuilder$h(luvio, keyParams);
1160
+ }
1161
+ function normalize$a(input, existing, path, luvio, store, timestamp) {
1162
+ return input;
1163
+ }
1164
+ const select$m = function SnapshotDeploymentOutputRepresentationSelect() {
1165
+ return {
1166
+ kind: 'Fragment',
1167
+ version: VERSION$b,
1168
+ private: [],
1169
+ opaque: true
1170
+ };
1171
+ };
1172
+ function equals$b(existing, incoming) {
1173
+ if (JSONStringify(incoming) !== JSONStringify(existing)) {
1174
+ return false;
1175
+ }
1176
+ return true;
1177
+ }
1178
+ const ingest$a = function SnapshotDeploymentOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1179
+ if (process.env.NODE_ENV !== 'production') {
1180
+ const validateError = validate$A(input);
1181
+ if (validateError !== null) {
1182
+ throw validateError;
1183
+ }
1184
+ }
1185
+ const key = keyBuilderFromType$3(luvio, input);
1186
+ const ttlToUse = TTL$9;
1187
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "epc", VERSION$b, RepresentationType$a, equals$b);
1188
+ return createLink(key);
1189
+ };
1190
+ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
1191
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1192
+ const rootKey = keyBuilderFromType$3(luvio, input);
1193
+ rootKeySet.set(rootKey, {
1194
+ namespace: keyPrefix,
1195
+ representationName: RepresentationType$a,
1196
+ mergeable: false
1197
+ });
1198
+ }
1199
+
1200
+ function select$l(luvio, params) {
1201
+ return select$m();
1202
+ }
1203
+ function getResponseCacheKeys$a(storeKeyMap, luvio, resourceParams, response) {
1204
+ getTypeCacheKeys$a(storeKeyMap, luvio, response);
1205
+ }
1206
+ function ingestSuccess$a(luvio, resourceParams, response) {
1207
+ const { body } = response;
1208
+ const key = keyBuilderFromType$3(luvio, body);
1209
+ luvio.storeIngest(key, ingest$a, body);
1210
+ const snapshot = luvio.storeLookup({
1211
+ recordId: key,
1212
+ node: select$l(),
1213
+ variables: {},
1214
+ });
1215
+ if (process.env.NODE_ENV !== 'production') {
1216
+ if (snapshot.state !== 'Fulfilled') {
1217
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
1218
+ }
1219
+ }
1220
+ deepFreeze(snapshot.data);
1221
+ return snapshot;
1222
+ }
1223
+ function createResourceRequest$a(config) {
1224
+ const headers = {};
1225
+ return {
1226
+ baseUri: '/services/data/v63.0',
1227
+ basePath: '/connect/pcm/index/deploy',
1228
+ method: 'post',
1229
+ body: config.body,
1230
+ urlParams: {},
1231
+ queryParams: {},
1232
+ headers,
1233
+ priority: 'normal',
1234
+ };
1235
+ }
1236
+
1237
+ const adapterName$a = 'deploySnapshotIndex';
1238
+ const deploySnapshotIndex_ConfigPropertyMetadata = [
1239
+ generateParamConfigMetadata('buildType', false, 2 /* Body */, 0 /* String */),
1240
+ generateParamConfigMetadata('snapshot', false, 2 /* Body */, 4 /* Unsupported */),
1241
+ ];
1242
+ const deploySnapshotIndex_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, deploySnapshotIndex_ConfigPropertyMetadata);
1243
+ const createResourceParams$a = /*#__PURE__*/ createResourceParams$e(deploySnapshotIndex_ConfigPropertyMetadata);
1244
+ function typeCheckConfig$a(untrustedConfig) {
1245
+ const config = {};
1246
+ typeCheckConfig$e(untrustedConfig, config, deploySnapshotIndex_ConfigPropertyMetadata);
1247
+ const untrustedConfig_snapshot = untrustedConfig.snapshot;
1248
+ config.snapshot = untrustedConfig_snapshot;
1249
+ return config;
1250
+ }
1251
+ function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
1252
+ if (!untrustedIsObject(untrustedConfig)) {
1253
+ return null;
1254
+ }
1255
+ if (process.env.NODE_ENV !== 'production') {
1256
+ validateConfig(untrustedConfig, configPropertyNames);
1257
+ }
1258
+ const config = typeCheckConfig$a(untrustedConfig);
1259
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
1260
+ return null;
1261
+ }
1262
+ return config;
1263
+ }
1264
+ function buildNetworkSnapshot$a(luvio, config, options) {
1265
+ const resourceParams = createResourceParams$a(config);
1266
+ const request = createResourceRequest$a(resourceParams);
1267
+ return luvio.dispatchResourceRequest(request, options)
1268
+ .then((response) => {
1269
+ return luvio.handleSuccessResponse(() => {
1270
+ const snapshot = ingestSuccess$a(luvio, resourceParams, response);
1271
+ return luvio.storeBroadcast().then(() => snapshot);
1272
+ }, () => {
1273
+ const cache = new StoreKeyMap();
1274
+ getResponseCacheKeys$a(cache, luvio, resourceParams, response.body);
1275
+ return cache;
1276
+ });
1277
+ }, (response) => {
1278
+ deepFreeze(response);
1279
+ throw response;
1280
+ });
1281
+ }
1282
+ const deploySnapshotIndexAdapterFactory = (luvio) => {
1283
+ return function deploySnapshotIndex(untrustedConfig) {
1284
+ const config = validateAdapterConfig$a(untrustedConfig, deploySnapshotIndex_ConfigPropertyNames);
1285
+ // Invalid or incomplete config
1286
+ if (config === null) {
1287
+ throw new Error('Invalid config for "deploySnapshotIndex"');
1288
+ }
1289
+ return buildNetworkSnapshot$a(luvio, config);
1290
+ };
1291
+ };
1292
+
1293
+ function validate$z(obj, path = 'SettingMetadataOutputRepresentation') {
1294
+ const v_error = (() => {
1295
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1296
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1297
+ }
1298
+ if (obj.activeLanguages !== undefined) {
1299
+ const obj_activeLanguages = obj.activeLanguages;
1300
+ const path_activeLanguages = path + '.activeLanguages';
1301
+ if (!ArrayIsArray(obj_activeLanguages)) {
1302
+ return new TypeError('Expected "array" but received "' + typeof obj_activeLanguages + '" (at "' + path_activeLanguages + '")');
1303
+ }
1304
+ for (let i = 0; i < obj_activeLanguages.length; i++) {
1305
+ const obj_activeLanguages_item = obj_activeLanguages[i];
1306
+ const path_activeLanguages_item = path_activeLanguages + '[' + i + ']';
1307
+ if (typeof obj_activeLanguages_item !== 'string') {
1308
+ return new TypeError('Expected "string" but received "' + typeof obj_activeLanguages_item + '" (at "' + path_activeLanguages_item + '")');
1309
+ }
1310
+ }
1311
+ }
1312
+ })();
1313
+ return v_error === undefined ? null : v_error;
1314
+ }
1315
+
1316
+ function validate$y(obj, path = 'SettingOutputRepresentation') {
1317
+ const v_error = (() => {
1318
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1319
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1320
+ }
1321
+ const obj_id = obj.id;
1322
+ const path_id = path + '.id';
1323
+ if (typeof obj_id !== 'string') {
1324
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
1325
+ }
1326
+ if (obj.supportedLanguages !== undefined) {
1327
+ const obj_supportedLanguages = obj.supportedLanguages;
1328
+ const path_supportedLanguages = path + '.supportedLanguages';
1329
+ if (!ArrayIsArray(obj_supportedLanguages)) {
1330
+ return new TypeError('Expected "array" but received "' + typeof obj_supportedLanguages + '" (at "' + path_supportedLanguages + '")');
1331
+ }
1332
+ for (let i = 0; i < obj_supportedLanguages.length; i++) {
1333
+ const obj_supportedLanguages_item = obj_supportedLanguages[i];
1334
+ const path_supportedLanguages_item = path_supportedLanguages + '[' + i + ']';
1335
+ if (typeof obj_supportedLanguages_item !== 'string') {
1336
+ return new TypeError('Expected "string" but received "' + typeof obj_supportedLanguages_item + '" (at "' + path_supportedLanguages_item + '")');
1337
+ }
1338
+ }
1339
+ }
1340
+ })();
1341
+ return v_error === undefined ? null : v_error;
1342
+ }
1343
+
1344
+ const TTL$8 = 6000;
1345
+ const VERSION$a = "8e8994b81e71fbf729c95134f748033b";
1346
+ function validate$x(obj, path = 'IndexSettingOutputRepresentation') {
1347
+ const v_error = (() => {
1348
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1349
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1350
+ }
1351
+ if (obj.errors !== undefined) {
1352
+ const obj_errors = obj.errors;
1353
+ const path_errors = path + '.errors';
1354
+ if (!ArrayIsArray(obj_errors)) {
1355
+ return new TypeError('Expected "array" but received "' + typeof obj_errors + '" (at "' + path_errors + '")');
1356
+ }
1357
+ for (let i = 0; i < obj_errors.length; i++) {
1358
+ const obj_errors_item = obj_errors[i];
1359
+ const path_errors_item = path_errors + '[' + i + ']';
1360
+ const referencepath_errors_itemValidationError = validate$J(obj_errors_item, path_errors_item);
1361
+ if (referencepath_errors_itemValidationError !== null) {
1362
+ let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
1363
+ message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1364
+ return new TypeError(message);
1365
+ }
1366
+ }
1367
+ }
1368
+ const obj_metadata = obj.metadata;
1369
+ const path_metadata = path + '.metadata';
1370
+ const referencepath_metadataValidationError = validate$z(obj_metadata, path_metadata);
1371
+ if (referencepath_metadataValidationError !== null) {
1372
+ let message = 'Object doesn\'t match SettingMetadataOutputRepresentation (at "' + path_metadata + '")\n';
1373
+ message += referencepath_metadataValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1374
+ return new TypeError(message);
1375
+ }
1376
+ const obj_setting = obj.setting;
1377
+ const path_setting = path + '.setting';
1378
+ const referencepath_settingValidationError = validate$y(obj_setting, path_setting);
1379
+ if (referencepath_settingValidationError !== null) {
1380
+ let message = 'Object doesn\'t match SettingOutputRepresentation (at "' + path_setting + '")\n';
1381
+ message += referencepath_settingValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1382
+ return new TypeError(message);
1383
+ }
1384
+ const obj_statusCode = obj.statusCode;
1385
+ const path_statusCode = path + '.statusCode';
1386
+ if (typeof obj_statusCode !== 'string') {
1387
+ return new TypeError('Expected "string" but received "' + typeof obj_statusCode + '" (at "' + path_statusCode + '")');
1388
+ }
1389
+ })();
1390
+ return v_error === undefined ? null : v_error;
1391
+ }
1392
+ const RepresentationType$9 = 'IndexSettingOutputRepresentation';
1393
+ function normalize$9(input, existing, path, luvio, store, timestamp) {
1394
+ return input;
1395
+ }
1396
+ const select$k = function IndexSettingOutputRepresentationSelect() {
1397
+ return {
1398
+ kind: 'Fragment',
1399
+ version: VERSION$a,
1400
+ private: [],
1401
+ opaque: true
1402
+ };
1403
+ };
1404
+ function equals$a(existing, incoming) {
1405
+ if (JSONStringify(incoming) !== JSONStringify(existing)) {
1406
+ return false;
1407
+ }
1408
+ return true;
1409
+ }
1410
+ const ingest$9 = function IndexSettingOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1411
+ if (process.env.NODE_ENV !== 'production') {
1412
+ const validateError = validate$x(input);
1413
+ if (validateError !== null) {
1414
+ throw validateError;
1415
+ }
1416
+ }
1417
+ const key = path.fullPath;
1418
+ const ttlToUse = TTL$8;
1419
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "epc", VERSION$a, RepresentationType$9, equals$a);
1420
+ return createLink(key);
1421
+ };
1422
+ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
1423
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1424
+ const rootKey = fullPathFactory();
1425
+ rootKeySet.set(rootKey, {
1426
+ namespace: keyPrefix,
1427
+ representationName: RepresentationType$9,
1428
+ mergeable: false
1429
+ });
1430
+ }
1431
+
1432
+ function select$j(luvio, params) {
1433
+ return select$k();
1434
+ }
1435
+ function keyBuilder$g(luvio, params) {
1436
+ return keyPrefix + '::IndexSettingOutputRepresentation:(' + ')';
1437
+ }
1438
+ function getResponseCacheKeys$9(storeKeyMap, luvio, resourceParams, response) {
1439
+ getTypeCacheKeys$9(storeKeyMap, luvio, response, () => keyBuilder$g());
1440
+ }
1441
+ function ingestSuccess$9(luvio, resourceParams, response, snapshotRefresh) {
1442
+ const { body } = response;
1443
+ const key = keyBuilder$g();
1444
+ luvio.storeIngest(key, ingest$9, body);
1445
+ const snapshot = luvio.storeLookup({
1446
+ recordId: key,
1447
+ node: select$j(),
1448
+ variables: {},
1449
+ }, snapshotRefresh);
1450
+ if (process.env.NODE_ENV !== 'production') {
1451
+ if (snapshot.state !== 'Fulfilled') {
1452
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
1453
+ }
1454
+ }
1455
+ deepFreeze(snapshot.data);
1456
+ return snapshot;
1457
+ }
1458
+ function ingestError$6(luvio, params, error, snapshotRefresh) {
1459
+ const key = keyBuilder$g();
1460
+ const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
1461
+ const storeMetadataParams = {
1462
+ ttl: TTL$8,
1463
+ namespace: keyPrefix,
1464
+ version: VERSION$a,
1465
+ representationName: RepresentationType$9
1466
+ };
1467
+ luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
1468
+ return errorSnapshot;
1469
+ }
1470
+ function createResourceRequest$9(config) {
1471
+ const headers = {};
1472
+ return {
1473
+ baseUri: '/services/data/v63.0',
1474
+ basePath: '/connect/pcm/index/setting',
1475
+ method: 'get',
1476
+ body: null,
1477
+ urlParams: {},
1478
+ queryParams: {},
1479
+ headers,
1480
+ priority: 'normal',
1481
+ };
1482
+ }
1483
+
1484
+ const adapterName$9 = 'getIndexSetting';
1485
+ const getIndexSetting_ConfigPropertyMetadata = [];
1486
+ const getIndexSetting_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, getIndexSetting_ConfigPropertyMetadata);
1487
+ const createResourceParams$9 = /*#__PURE__*/ createResourceParams$e(getIndexSetting_ConfigPropertyMetadata);
1488
+ function keyBuilder$f(luvio, config) {
1489
+ createResourceParams$9(config);
1490
+ return keyBuilder$g();
1491
+ }
1492
+ function typeCheckConfig$9(untrustedConfig) {
1493
+ const config = {};
1494
+ return config;
1495
+ }
1496
+ function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
1497
+ if (!untrustedIsObject(untrustedConfig)) {
1498
+ return null;
1499
+ }
1500
+ if (process.env.NODE_ENV !== 'production') {
1501
+ validateConfig(untrustedConfig, configPropertyNames);
1502
+ }
1503
+ const config = typeCheckConfig$9();
1504
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
1505
+ return null;
1506
+ }
1507
+ return config;
1508
+ }
1509
+ function adapterFragment$6(luvio, config) {
1510
+ createResourceParams$9(config);
1511
+ return select$j();
1512
+ }
1513
+ function onFetchResponseSuccess$6(luvio, config, resourceParams, response) {
1514
+ const snapshot = ingestSuccess$9(luvio, resourceParams, response, {
1515
+ config,
1516
+ resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
1517
+ });
1518
+ return luvio.storeBroadcast().then(() => snapshot);
1519
+ }
1520
+ function onFetchResponseError$6(luvio, config, resourceParams, response) {
1521
+ const snapshot = ingestError$6(luvio, resourceParams, response, {
1522
+ config,
1523
+ resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
1524
+ });
1525
+ return luvio.storeBroadcast().then(() => snapshot);
1526
+ }
1527
+ function buildNetworkSnapshot$9(luvio, config, options) {
1528
+ const resourceParams = createResourceParams$9(config);
1529
+ const request = createResourceRequest$9();
1530
+ return luvio.dispatchResourceRequest(request, options)
1531
+ .then((response) => {
1532
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$6(luvio, config, resourceParams, response), () => {
1533
+ const cache = new StoreKeyMap();
1534
+ getResponseCacheKeys$9(cache, luvio, resourceParams, response.body);
1535
+ return cache;
1536
+ });
1537
+ }, (response) => {
1538
+ return luvio.handleErrorResponse(() => onFetchResponseError$6(luvio, config, resourceParams, response));
1539
+ });
1540
+ }
1541
+ function buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext) {
1542
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$9, undefined, false);
1543
+ }
1544
+ function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
1545
+ const { luvio, config } = context;
1546
+ const selector = {
1547
+ recordId: keyBuilder$f(luvio, config),
1548
+ node: adapterFragment$6(luvio, config),
1549
+ variables: {},
1550
+ };
1551
+ const cacheSnapshot = storeLookup(selector, {
1552
+ config,
1553
+ resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
1554
+ });
1555
+ return cacheSnapshot;
1556
+ }
1557
+ const getIndexSettingAdapterFactory = (luvio) => function epc__getIndexSetting(untrustedConfig, requestContext) {
1558
+ const config = validateAdapterConfig$9(untrustedConfig, getIndexSetting_ConfigPropertyNames);
1559
+ // Invalid or incomplete config
1560
+ if (config === null) {
1561
+ return null;
1562
+ }
1563
+ return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
1564
+ buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$6);
1565
+ };
1566
+
1567
+ function validate$w(obj, path = 'SettingInputRepresentation') {
1568
+ const v_error = (() => {
1569
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1570
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1571
+ }
1572
+ if (obj.supportedLanguages !== undefined) {
1573
+ const obj_supportedLanguages = obj.supportedLanguages;
1574
+ const path_supportedLanguages = path + '.supportedLanguages';
1575
+ if (!ArrayIsArray(obj_supportedLanguages)) {
1576
+ return new TypeError('Expected "array" but received "' + typeof obj_supportedLanguages + '" (at "' + path_supportedLanguages + '")');
1577
+ }
1578
+ for (let i = 0; i < obj_supportedLanguages.length; i++) {
1579
+ const obj_supportedLanguages_item = obj_supportedLanguages[i];
1580
+ const path_supportedLanguages_item = path_supportedLanguages + '[' + i + ']';
1581
+ if (typeof obj_supportedLanguages_item !== 'string') {
1582
+ return new TypeError('Expected "string" but received "' + typeof obj_supportedLanguages_item + '" (at "' + path_supportedLanguages_item + '")');
1583
+ }
1584
+ }
1585
+ }
1586
+ })();
1587
+ return v_error === undefined ? null : v_error;
1588
+ }
1589
+
1590
+ const TTL$7 = 6000;
1591
+ const VERSION$9 = "67c20ef2306f437cc5f7d88184b2ea29";
1592
+ function validate$v(obj, path = 'IndexSettingPatchOutputRepresentation') {
1593
+ const v_error = (() => {
1594
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1595
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1596
+ }
1597
+ if (obj.errors !== undefined) {
1598
+ const obj_errors = obj.errors;
1599
+ const path_errors = path + '.errors';
1600
+ if (!ArrayIsArray(obj_errors)) {
1601
+ return new TypeError('Expected "array" but received "' + typeof obj_errors + '" (at "' + path_errors + '")');
1602
+ }
1603
+ for (let i = 0; i < obj_errors.length; i++) {
1604
+ const obj_errors_item = obj_errors[i];
1605
+ const path_errors_item = path_errors + '[' + i + ']';
1606
+ const referencepath_errors_itemValidationError = validate$J(obj_errors_item, path_errors_item);
1607
+ if (referencepath_errors_itemValidationError !== null) {
1608
+ let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
1609
+ message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1610
+ return new TypeError(message);
1611
+ }
1612
+ }
1613
+ }
1614
+ const obj_setting = obj.setting;
1615
+ const path_setting = path + '.setting';
1616
+ const referencepath_settingValidationError = validate$y(obj_setting, path_setting);
1617
+ if (referencepath_settingValidationError !== null) {
1618
+ let message = 'Object doesn\'t match SettingOutputRepresentation (at "' + path_setting + '")\n';
1619
+ message += referencepath_settingValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1620
+ return new TypeError(message);
1621
+ }
1622
+ const obj_statusCode = obj.statusCode;
1623
+ const path_statusCode = path + '.statusCode';
1624
+ if (typeof obj_statusCode !== 'string') {
1625
+ return new TypeError('Expected "string" but received "' + typeof obj_statusCode + '" (at "' + path_statusCode + '")');
1626
+ }
1627
+ })();
1628
+ return v_error === undefined ? null : v_error;
1629
+ }
1630
+ const RepresentationType$8 = 'IndexSettingPatchOutputRepresentation';
1152
1631
  function keyBuilder$e(luvio, config) {
1153
- return keyPrefix + '::' + RepresentationType$8 + ':' + config.message;
1632
+ return keyPrefix + '::' + RepresentationType$8 + ':' + config.id;
1154
1633
  }
1155
1634
  function keyBuilderFromType$2(luvio, object) {
1156
1635
  const keyParams = {
1157
- message: object.statusCode
1636
+ id: object.setting.id
1158
1637
  };
1159
1638
  return keyBuilder$e(luvio, keyParams);
1160
1639
  }
1161
1640
  function normalize$8(input, existing, path, luvio, store, timestamp) {
1162
1641
  return input;
1163
1642
  }
1164
- const select$i = function SnapshotDeploymentOutputRepresentationSelect() {
1643
+ const select$i = function IndexSettingPatchOutputRepresentationSelect() {
1165
1644
  return {
1166
1645
  kind: 'Fragment',
1167
1646
  version: VERSION$9,
@@ -1175,7 +1654,7 @@ function equals$9(existing, incoming) {
1175
1654
  }
1176
1655
  return true;
1177
1656
  }
1178
- const ingest$8 = function SnapshotDeploymentOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1657
+ const ingest$8 = function IndexSettingPatchOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1179
1658
  if (process.env.NODE_ENV !== 'production') {
1180
1659
  const validateError = validate$v(input);
1181
1660
  if (validateError !== null) {
@@ -1224,28 +1703,31 @@ function createResourceRequest$8(config) {
1224
1703
  const headers = {};
1225
1704
  return {
1226
1705
  baseUri: '/services/data/v63.0',
1227
- basePath: '/connect/pcm/index/deploy',
1228
- method: 'post',
1706
+ basePath: '/connect/pcm/index/setting/' + config.urlParams.settingId + '',
1707
+ method: 'patch',
1229
1708
  body: config.body,
1230
- urlParams: {},
1709
+ urlParams: config.urlParams,
1231
1710
  queryParams: {},
1232
1711
  headers,
1233
1712
  priority: 'normal',
1234
1713
  };
1235
1714
  }
1236
1715
 
1237
- const adapterName$8 = 'deploySnapshotIndex';
1238
- const deploySnapshotIndex_ConfigPropertyMetadata = [
1239
- generateParamConfigMetadata('buildType', false, 2 /* Body */, 0 /* String */),
1240
- generateParamConfigMetadata('snapshot', false, 2 /* Body */, 4 /* Unsupported */),
1716
+ const adapterName$8 = 'patchIndexSetting';
1717
+ const patchIndexSetting_ConfigPropertyMetadata = [
1718
+ generateParamConfigMetadata('settingId', true, 0 /* UrlParameter */, 0 /* String */),
1719
+ generateParamConfigMetadata('setting', false, 2 /* Body */, 4 /* Unsupported */),
1241
1720
  ];
1242
- const deploySnapshotIndex_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, deploySnapshotIndex_ConfigPropertyMetadata);
1243
- const createResourceParams$8 = /*#__PURE__*/ createResourceParams$c(deploySnapshotIndex_ConfigPropertyMetadata);
1721
+ const patchIndexSetting_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, patchIndexSetting_ConfigPropertyMetadata);
1722
+ const createResourceParams$8 = /*#__PURE__*/ createResourceParams$e(patchIndexSetting_ConfigPropertyMetadata);
1244
1723
  function typeCheckConfig$8(untrustedConfig) {
1245
1724
  const config = {};
1246
- typeCheckConfig$c(untrustedConfig, config, deploySnapshotIndex_ConfigPropertyMetadata);
1247
- const untrustedConfig_snapshot = untrustedConfig.snapshot;
1248
- config.snapshot = untrustedConfig_snapshot;
1725
+ typeCheckConfig$e(untrustedConfig, config, patchIndexSetting_ConfigPropertyMetadata);
1726
+ const untrustedConfig_setting = untrustedConfig.setting;
1727
+ const referenceSettingInputRepresentationValidationError = validate$w(untrustedConfig_setting);
1728
+ if (referenceSettingInputRepresentationValidationError === null) {
1729
+ config.setting = untrustedConfig_setting;
1730
+ }
1249
1731
  return config;
1250
1732
  }
1251
1733
  function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
@@ -1279,12 +1761,12 @@ function buildNetworkSnapshot$8(luvio, config, options) {
1279
1761
  throw response;
1280
1762
  });
1281
1763
  }
1282
- const deploySnapshotIndexAdapterFactory = (luvio) => {
1283
- return function deploySnapshotIndex(untrustedConfig) {
1284
- const config = validateAdapterConfig$8(untrustedConfig, deploySnapshotIndex_ConfigPropertyNames);
1764
+ const patchIndexSettingAdapterFactory = (luvio) => {
1765
+ return function patchIndexSetting(untrustedConfig) {
1766
+ const config = validateAdapterConfig$8(untrustedConfig, patchIndexSetting_ConfigPropertyNames);
1285
1767
  // Invalid or incomplete config
1286
1768
  if (config === null) {
1287
- throw new Error('Invalid config for "deploySnapshotIndex"');
1769
+ throw new Error('Invalid config for "patchIndexSetting"');
1288
1770
  }
1289
1771
  return buildNetworkSnapshot$8(luvio, config);
1290
1772
  };
@@ -1306,7 +1788,7 @@ function validate$u(obj, path = 'SnapshotCollectionOutputRepresentation') {
1306
1788
  for (let i = 0; i < obj_errors.length; i++) {
1307
1789
  const obj_errors_item = obj_errors[i];
1308
1790
  const path_errors_item = path_errors + '[' + i + ']';
1309
- const referencepath_errors_itemValidationError = validate$E(obj_errors_item, path_errors_item);
1791
+ const referencepath_errors_itemValidationError = validate$J(obj_errors_item, path_errors_item);
1310
1792
  if (referencepath_errors_itemValidationError !== null) {
1311
1793
  let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
1312
1794
  message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1323,7 +1805,7 @@ function validate$u(obj, path = 'SnapshotCollectionOutputRepresentation') {
1323
1805
  for (let i = 0; i < obj_snapshots.length; i++) {
1324
1806
  const obj_snapshots_item = obj_snapshots[i];
1325
1807
  const path_snapshots_item = path_snapshots + '[' + i + ']';
1326
- const referencepath_snapshots_itemValidationError = validate$w(obj_snapshots_item, path_snapshots_item);
1808
+ const referencepath_snapshots_itemValidationError = validate$B(obj_snapshots_item, path_snapshots_item);
1327
1809
  if (referencepath_snapshots_itemValidationError !== null) {
1328
1810
  let message = 'Object doesn\'t match SnapshotOutputRepresentation (at "' + path_snapshots_item + '")\n';
1329
1811
  message += referencepath_snapshots_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1385,14 +1867,14 @@ function select$f(luvio, params) {
1385
1867
  return select$g();
1386
1868
  }
1387
1869
  function keyBuilder$d(luvio, params) {
1388
- return keyPrefix + '::SnapshotCollectionOutputRepresentation:(' + ')';
1870
+ return keyPrefix + '::SnapshotCollectionOutputRepresentation:(' + 'numberOfIndexLogs:' + params.queryParams.numberOfIndexLogs + ')';
1389
1871
  }
1390
1872
  function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
1391
- getTypeCacheKeys$7(storeKeyMap, luvio, response, () => keyBuilder$d());
1873
+ getTypeCacheKeys$7(storeKeyMap, luvio, response, () => keyBuilder$d(luvio, resourceParams));
1392
1874
  }
1393
1875
  function ingestSuccess$7(luvio, resourceParams, response, snapshotRefresh) {
1394
1876
  const { body } = response;
1395
- const key = keyBuilder$d();
1877
+ const key = keyBuilder$d(luvio, resourceParams);
1396
1878
  luvio.storeIngest(key, ingest$7, body);
1397
1879
  const snapshot = luvio.storeLookup({
1398
1880
  recordId: key,
@@ -1408,7 +1890,7 @@ function ingestSuccess$7(luvio, resourceParams, response, snapshotRefresh) {
1408
1890
  return snapshot;
1409
1891
  }
1410
1892
  function ingestError$5(luvio, params, error, snapshotRefresh) {
1411
- const key = keyBuilder$d();
1893
+ const key = keyBuilder$d(luvio, params);
1412
1894
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
1413
1895
  const storeMetadataParams = {
1414
1896
  ttl: TTL$6,
@@ -1427,22 +1909,25 @@ function createResourceRequest$7(config) {
1427
1909
  method: 'get',
1428
1910
  body: null,
1429
1911
  urlParams: {},
1430
- queryParams: {},
1912
+ queryParams: config.queryParams,
1431
1913
  headers,
1432
1914
  priority: 'normal',
1433
1915
  };
1434
1916
  }
1435
1917
 
1436
1918
  const adapterName$7 = 'getSnapshots';
1437
- const getSnapshots_ConfigPropertyMetadata = [];
1919
+ const getSnapshots_ConfigPropertyMetadata = [
1920
+ generateParamConfigMetadata('numberOfIndexLogs', false, 1 /* QueryParameter */, 3 /* Integer */),
1921
+ ];
1438
1922
  const getSnapshots_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, getSnapshots_ConfigPropertyMetadata);
1439
- const createResourceParams$7 = /*#__PURE__*/ createResourceParams$c(getSnapshots_ConfigPropertyMetadata);
1923
+ const createResourceParams$7 = /*#__PURE__*/ createResourceParams$e(getSnapshots_ConfigPropertyMetadata);
1440
1924
  function keyBuilder$c(luvio, config) {
1441
- createResourceParams$7(config);
1442
- return keyBuilder$d();
1925
+ const resourceParams = createResourceParams$7(config);
1926
+ return keyBuilder$d(luvio, resourceParams);
1443
1927
  }
1444
1928
  function typeCheckConfig$7(untrustedConfig) {
1445
1929
  const config = {};
1930
+ typeCheckConfig$e(untrustedConfig, config, getSnapshots_ConfigPropertyMetadata);
1446
1931
  return config;
1447
1932
  }
1448
1933
  function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
@@ -1452,7 +1937,7 @@ function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
1452
1937
  if (process.env.NODE_ENV !== 'production') {
1453
1938
  validateConfig(untrustedConfig, configPropertyNames);
1454
1939
  }
1455
- const config = typeCheckConfig$7();
1940
+ const config = typeCheckConfig$7(untrustedConfig);
1456
1941
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
1457
1942
  return null;
1458
1943
  }
@@ -1478,7 +1963,7 @@ function onFetchResponseError$5(luvio, config, resourceParams, response) {
1478
1963
  }
1479
1964
  function buildNetworkSnapshot$7(luvio, config, options) {
1480
1965
  const resourceParams = createResourceParams$7(config);
1481
- const request = createResourceRequest$7();
1966
+ const request = createResourceRequest$7(resourceParams);
1482
1967
  return luvio.dispatchResourceRequest(request, options)
1483
1968
  .then((response) => {
1484
1969
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$5(luvio, config, resourceParams, response), () => {
@@ -1491,7 +1976,7 @@ function buildNetworkSnapshot$7(luvio, config, options) {
1491
1976
  });
1492
1977
  }
1493
1978
  function buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext) {
1494
- return buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext, buildNetworkSnapshot$7, undefined, false);
1979
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$7, undefined, false);
1495
1980
  }
1496
1981
  function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
1497
1982
  const { luvio, config } = context;
@@ -1681,7 +2166,7 @@ const createProductAttributeDefinition_ConfigPropertyMetadata = [
1681
2166
  generateParamConfigMetadata('productAttributeDefinitionListInputPayload', true, 2 /* Body */, 4 /* Unsupported */),
1682
2167
  ];
1683
2168
  const createProductAttributeDefinition_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, createProductAttributeDefinition_ConfigPropertyMetadata);
1684
- const createResourceParams$6 = /*#__PURE__*/ createResourceParams$c(createProductAttributeDefinition_ConfigPropertyMetadata);
2169
+ const createResourceParams$6 = /*#__PURE__*/ createResourceParams$e(createProductAttributeDefinition_ConfigPropertyMetadata);
1685
2170
  function typeCheckConfig$6(untrustedConfig) {
1686
2171
  const config = {};
1687
2172
  const untrustedConfig_productAttributeDefinitionListInputPayload = untrustedConfig.productAttributeDefinitionListInputPayload;
@@ -1956,14 +2441,14 @@ const getProductFlowByProductId_ConfigPropertyMetadata = [
1956
2441
  generateParamConfigMetadata('correlationId', false, 1 /* QueryParameter */, 0 /* String */),
1957
2442
  ];
1958
2443
  const getProductFlowByProductId_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, getProductFlowByProductId_ConfigPropertyMetadata);
1959
- const createResourceParams$5 = /*#__PURE__*/ createResourceParams$c(getProductFlowByProductId_ConfigPropertyMetadata);
2444
+ const createResourceParams$5 = /*#__PURE__*/ createResourceParams$e(getProductFlowByProductId_ConfigPropertyMetadata);
1960
2445
  function keyBuilder$9(luvio, config) {
1961
2446
  const resourceParams = createResourceParams$5(config);
1962
2447
  return keyBuilder$a(luvio, resourceParams);
1963
2448
  }
1964
2449
  function typeCheckConfig$5(untrustedConfig) {
1965
2450
  const config = {};
1966
- typeCheckConfig$c(untrustedConfig, config, getProductFlowByProductId_ConfigPropertyMetadata);
2451
+ typeCheckConfig$e(untrustedConfig, config, getProductFlowByProductId_ConfigPropertyMetadata);
1967
2452
  return config;
1968
2453
  }
1969
2454
  function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
@@ -2012,7 +2497,7 @@ function buildNetworkSnapshot$5(luvio, config, options) {
2012
2497
  });
2013
2498
  }
2014
2499
  function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext) {
2015
- return buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext, buildNetworkSnapshot$5, undefined, false);
2500
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$5, undefined, false);
2016
2501
  }
2017
2502
  function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
2018
2503
  const { luvio, config } = context;
@@ -2890,14 +3375,14 @@ const getProductAttributesByProductId_ConfigPropertyMetadata = [
2890
3375
  generateParamConfigMetadata('isPriceImpacting', false, 1 /* QueryParameter */, 1 /* Boolean */),
2891
3376
  ];
2892
3377
  const getProductAttributesByProductId_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, getProductAttributesByProductId_ConfigPropertyMetadata);
2893
- const createResourceParams$4 = /*#__PURE__*/ createResourceParams$c(getProductAttributesByProductId_ConfigPropertyMetadata);
3378
+ const createResourceParams$4 = /*#__PURE__*/ createResourceParams$e(getProductAttributesByProductId_ConfigPropertyMetadata);
2894
3379
  function keyBuilder$7(luvio, config) {
2895
3380
  const resourceParams = createResourceParams$4(config);
2896
3381
  return keyBuilder$8(luvio, resourceParams);
2897
3382
  }
2898
3383
  function typeCheckConfig$4(untrustedConfig) {
2899
3384
  const config = {};
2900
- typeCheckConfig$c(untrustedConfig, config, getProductAttributesByProductId_ConfigPropertyMetadata);
3385
+ typeCheckConfig$e(untrustedConfig, config, getProductAttributesByProductId_ConfigPropertyMetadata);
2901
3386
  return config;
2902
3387
  }
2903
3388
  function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
@@ -2946,7 +3431,7 @@ function buildNetworkSnapshot$4(luvio, config, options) {
2946
3431
  });
2947
3432
  }
2948
3433
  function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
2949
- return buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
3434
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
2950
3435
  }
2951
3436
  function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
2952
3437
  const { luvio, config } = context;
@@ -3213,14 +3698,14 @@ const getProductById_ConfigPropertyMetadata = [
3213
3698
  generateParamConfigMetadata('correlationId', false, 1 /* QueryParameter */, 0 /* String */),
3214
3699
  ];
3215
3700
  const getProductById_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getProductById_ConfigPropertyMetadata);
3216
- const createResourceParams$3 = /*#__PURE__*/ createResourceParams$c(getProductById_ConfigPropertyMetadata);
3701
+ const createResourceParams$3 = /*#__PURE__*/ createResourceParams$e(getProductById_ConfigPropertyMetadata);
3217
3702
  function keyBuilder$5(luvio, config) {
3218
3703
  const resourceParams = createResourceParams$3(config);
3219
3704
  return keyBuilder$6(luvio, resourceParams);
3220
3705
  }
3221
3706
  function typeCheckConfig$3(untrustedConfig) {
3222
3707
  const config = {};
3223
- typeCheckConfig$c(untrustedConfig, config, getProductById_ConfigPropertyMetadata);
3708
+ typeCheckConfig$e(untrustedConfig, config, getProductById_ConfigPropertyMetadata);
3224
3709
  return config;
3225
3710
  }
3226
3711
  function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
@@ -3269,7 +3754,7 @@ function buildNetworkSnapshot$3(luvio, config, options) {
3269
3754
  });
3270
3755
  }
3271
3756
  function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
3272
- return buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
3757
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
3273
3758
  }
3274
3759
  function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
3275
3760
  const { luvio, config } = context;
@@ -3599,14 +4084,14 @@ const getContextDefinitionInfoById_ConfigPropertyMetadata = [
3599
4084
  generateParamConfigMetadata('correlationId', false, 1 /* QueryParameter */, 0 /* String */),
3600
4085
  ];
3601
4086
  const getContextDefinitionInfoById_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getContextDefinitionInfoById_ConfigPropertyMetadata);
3602
- const createResourceParams$2 = /*#__PURE__*/ createResourceParams$c(getContextDefinitionInfoById_ConfigPropertyMetadata);
4087
+ const createResourceParams$2 = /*#__PURE__*/ createResourceParams$e(getContextDefinitionInfoById_ConfigPropertyMetadata);
3603
4088
  function keyBuilder$3(luvio, config) {
3604
4089
  const resourceParams = createResourceParams$2(config);
3605
4090
  return keyBuilder$4(luvio, resourceParams);
3606
4091
  }
3607
4092
  function typeCheckConfig$2(untrustedConfig) {
3608
4093
  const config = {};
3609
- typeCheckConfig$c(untrustedConfig, config, getContextDefinitionInfoById_ConfigPropertyMetadata);
4094
+ typeCheckConfig$e(untrustedConfig, config, getContextDefinitionInfoById_ConfigPropertyMetadata);
3610
4095
  return config;
3611
4096
  }
3612
4097
  function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
@@ -3655,7 +4140,7 @@ function buildNetworkSnapshot$2(luvio, config, options) {
3655
4140
  });
3656
4141
  }
3657
4142
  function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
3658
- return buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
4143
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
3659
4144
  }
3660
4145
  function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
3661
4146
  const { luvio, config } = context;
@@ -3887,14 +4372,14 @@ const getConfigRuleMetadata_ConfigPropertyMetadata = [
3887
4372
  generateParamConfigMetadata('correlationId', false, 1 /* QueryParameter */, 0 /* String */),
3888
4373
  ];
3889
4374
  const getConfigRuleMetadata_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getConfigRuleMetadata_ConfigPropertyMetadata);
3890
- const createResourceParams$1 = /*#__PURE__*/ createResourceParams$c(getConfigRuleMetadata_ConfigPropertyMetadata);
4375
+ const createResourceParams$1 = /*#__PURE__*/ createResourceParams$e(getConfigRuleMetadata_ConfigPropertyMetadata);
3891
4376
  function keyBuilder$1(luvio, config) {
3892
4377
  const resourceParams = createResourceParams$1(config);
3893
4378
  return keyBuilder$2(luvio, resourceParams);
3894
4379
  }
3895
4380
  function typeCheckConfig$1(untrustedConfig) {
3896
4381
  const config = {};
3897
- typeCheckConfig$c(untrustedConfig, config, getConfigRuleMetadata_ConfigPropertyMetadata);
4382
+ typeCheckConfig$e(untrustedConfig, config, getConfigRuleMetadata_ConfigPropertyMetadata);
3898
4383
  return config;
3899
4384
  }
3900
4385
  function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
@@ -3943,7 +4428,7 @@ function buildNetworkSnapshot$1(luvio, config, options) {
3943
4428
  });
3944
4429
  }
3945
4430
  function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
3946
- return buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
4431
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
3947
4432
  }
3948
4433
  function buildCachedSnapshotCachePolicy(context, storeLookup) {
3949
4434
  const { luvio, config } = context;
@@ -4186,10 +4671,10 @@ const fetchRelatedRecords_ConfigPropertyMetadata = [
4186
4671
  generateParamConfigMetadata('relatedObjectNodes', true, 2 /* Body */, 4 /* Unsupported */, true),
4187
4672
  ];
4188
4673
  const fetchRelatedRecords_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, fetchRelatedRecords_ConfigPropertyMetadata);
4189
- const createResourceParams = /*#__PURE__*/ createResourceParams$c(fetchRelatedRecords_ConfigPropertyMetadata);
4674
+ const createResourceParams = /*#__PURE__*/ createResourceParams$e(fetchRelatedRecords_ConfigPropertyMetadata);
4190
4675
  function typeCheckConfig(untrustedConfig) {
4191
4676
  const config = {};
4192
- typeCheckConfig$c(untrustedConfig, config, fetchRelatedRecords_ConfigPropertyMetadata);
4677
+ typeCheckConfig$e(untrustedConfig, config, fetchRelatedRecords_ConfigPropertyMetadata);
4193
4678
  const untrustedConfig_relatedObjectNodes = untrustedConfig.relatedObjectNodes;
4194
4679
  if (ArrayIsArray$1(untrustedConfig_relatedObjectNodes)) {
4195
4680
  const untrustedConfig_relatedObjectNodes_array = [];
@@ -4243,4 +4728,4 @@ const fetchRelatedRecordsAdapterFactory = (luvio) => {
4243
4728
  };
4244
4729
  };
4245
4730
 
4246
- export { createProductAttributeDefinitionAdapterFactory, deactivateAdapterFactory, deploySnapshotIndexAdapterFactory, fetchRelatedRecordsAdapterFactory, getConfigRuleMetadataAdapterFactory, getContextDefinitionInfoByIdAdapterFactory, getIndexConfigurationsAdapterFactory, getProductAttributesByProductIdAdapterFactory, getProductByIdAdapterFactory, getProductFlowByProductIdAdapterFactory, getSnapshotsAdapterFactory, updateIndexConfigurationsAdapterFactory };
4731
+ export { createProductAttributeDefinitionAdapterFactory, deactivateAdapterFactory, deploySnapshotIndexAdapterFactory, fetchRelatedRecordsAdapterFactory, getConfigRuleMetadataAdapterFactory, getContextDefinitionInfoByIdAdapterFactory, getIndexConfigurationsAdapterFactory, getIndexSettingAdapterFactory, getProductAttributesByProductIdAdapterFactory, getProductByIdAdapterFactory, getProductFlowByProductIdAdapterFactory, getSnapshotsAdapterFactory, patchIndexSettingAdapterFactory, updateIndexConfigurationsAdapterFactory };