@salesforce/lds-adapters-cdp-document-processing 1.354.0-dev4 → 1.354.0-dev5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/sfdc/index.js CHANGED
@@ -14,7 +14,7 @@
14
14
  /* proxy-compat-disable */
15
15
  import { createInstrumentedAdapter, createLDSAdapter, createWireAdapterConstructor, createImperativeAdapter } from 'force/ldsBindings';
16
16
  import { withDefaultLuvio } from 'force/ldsEngine';
17
- import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, createResourceParams as createResourceParams$6, typeCheckConfig as typeCheckConfig$6, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$4 } from 'force/luvioEngine';
17
+ import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, createResourceParams as createResourceParams$7, typeCheckConfig as typeCheckConfig$7, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$4 } from 'force/luvioEngine';
18
18
 
19
19
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
20
20
  const { keys: ObjectKeys, create: ObjectCreate } = Object;
@@ -102,9 +102,9 @@ function createLink(ref) {
102
102
  };
103
103
  }
104
104
 
105
- const TTL$4 = 500;
106
- const VERSION$4 = "8bf201cc7509ac5c7e3db70eba261ab8";
107
- function validate$a(obj, path = 'IdpConfigurationDetailsRepresentation') {
105
+ const TTL$5 = 500;
106
+ const VERSION$5 = "8bf201cc7509ac5c7e3db70eba261ab8";
107
+ function validate$c(obj, path = 'IdpConfigurationDetailsRepresentation') {
108
108
  const v_error = (() => {
109
109
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
110
110
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -209,68 +209,68 @@ function validate$a(obj, path = 'IdpConfigurationDetailsRepresentation') {
209
209
  })();
210
210
  return v_error === undefined ? null : v_error;
211
211
  }
212
- const RepresentationType$4 = 'IdpConfigurationDetailsRepresentation';
213
- function keyBuilder$9(luvio, config) {
214
- return keyPrefix + '::' + RepresentationType$4 + ':' + config.id;
212
+ const RepresentationType$5 = 'IdpConfigurationDetailsRepresentation';
213
+ function keyBuilder$a(luvio, config) {
214
+ return keyPrefix + '::' + RepresentationType$5 + ':' + config.id;
215
215
  }
216
- function keyBuilderFromType(luvio, object) {
216
+ function keyBuilderFromType$1(luvio, object) {
217
217
  const keyParams = {
218
218
  id: object.id
219
219
  };
220
- return keyBuilder$9(luvio, keyParams);
220
+ return keyBuilder$a(luvio, keyParams);
221
221
  }
222
- function normalize$4(input, existing, path, luvio, store, timestamp) {
222
+ function normalize$5(input, existing, path, luvio, store, timestamp) {
223
223
  return input;
224
224
  }
225
- const select$9 = function IdpConfigurationDetailsRepresentationSelect() {
225
+ const select$b = function IdpConfigurationDetailsRepresentationSelect() {
226
226
  return {
227
227
  kind: 'Fragment',
228
- version: VERSION$4,
228
+ version: VERSION$5,
229
229
  private: [],
230
230
  opaque: true
231
231
  };
232
232
  };
233
- function equals$8(existing, incoming) {
233
+ function equals$9(existing, incoming) {
234
234
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
235
235
  return false;
236
236
  }
237
237
  return true;
238
238
  }
239
- const ingest$4 = function IdpConfigurationDetailsRepresentationIngest(input, path, luvio, store, timestamp) {
239
+ const ingest$5 = function IdpConfigurationDetailsRepresentationIngest(input, path, luvio, store, timestamp) {
240
240
  if (process.env.NODE_ENV !== 'production') {
241
- const validateError = validate$a(input);
241
+ const validateError = validate$c(input);
242
242
  if (validateError !== null) {
243
243
  throw validateError;
244
244
  }
245
245
  }
246
- const key = keyBuilderFromType(luvio, input);
247
- const ttlToUse = TTL$4;
248
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "document-processing", VERSION$4, RepresentationType$4, equals$8);
246
+ const key = keyBuilderFromType$1(luvio, input);
247
+ const ttlToUse = TTL$5;
248
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "document-processing", VERSION$5, RepresentationType$5, equals$9);
249
249
  return createLink(key);
250
250
  };
251
- function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
251
+ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
252
252
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
253
- const rootKey = keyBuilderFromType(luvio, input);
253
+ const rootKey = keyBuilderFromType$1(luvio, input);
254
254
  rootKeySet.set(rootKey, {
255
255
  namespace: keyPrefix,
256
- representationName: RepresentationType$4,
256
+ representationName: RepresentationType$5,
257
257
  mergeable: false
258
258
  });
259
259
  }
260
260
 
261
- function select$8(luvio, params) {
262
- return select$9();
261
+ function select$a(luvio, params) {
262
+ return select$b();
263
263
  }
264
- function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
265
- getTypeCacheKeys$4(storeKeyMap, luvio, response);
264
+ function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
265
+ getTypeCacheKeys$5(storeKeyMap, luvio, response);
266
266
  }
267
- function ingestSuccess$4(luvio, resourceParams, response) {
267
+ function ingestSuccess$5(luvio, resourceParams, response) {
268
268
  const { body } = response;
269
- const key = keyBuilderFromType(luvio, body);
270
- luvio.storeIngest(key, ingest$4, body);
269
+ const key = keyBuilderFromType$1(luvio, body);
270
+ luvio.storeIngest(key, ingest$5, body);
271
271
  const snapshot = luvio.storeLookup({
272
272
  recordId: key,
273
- node: select$8(),
273
+ node: select$a(),
274
274
  variables: {},
275
275
  });
276
276
  if (process.env.NODE_ENV !== 'production') {
@@ -281,7 +281,7 @@ function ingestSuccess$4(luvio, resourceParams, response) {
281
281
  deepFreeze(snapshot.data);
282
282
  return snapshot;
283
283
  }
284
- function createResourceRequest$5(config) {
284
+ function createResourceRequest$6(config) {
285
285
  const headers = {};
286
286
  return {
287
287
  baseUri: '/services/data/v64.0',
@@ -295,7 +295,7 @@ function createResourceRequest$5(config) {
295
295
  };
296
296
  }
297
297
 
298
- const adapterName$5 = 'createIdpConfiguration';
298
+ const adapterName$6 = 'createIdpConfiguration';
299
299
  const createIdpConfiguration_ConfigPropertyMetadata = [
300
300
  generateParamConfigMetadata('activationStatus', true, 2 /* Body */, 0 /* String */),
301
301
  generateParamConfigMetadata('description', true, 2 /* Body */, 0 /* String */),
@@ -305,11 +305,11 @@ const createIdpConfiguration_ConfigPropertyMetadata = [
305
305
  generateParamConfigMetadata('name', true, 2 /* Body */, 0 /* String */),
306
306
  generateParamConfigMetadata('schemaConfig', true, 2 /* Body */, 0 /* String */),
307
307
  ];
308
- const createIdpConfiguration_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, createIdpConfiguration_ConfigPropertyMetadata);
309
- const createResourceParams$5 = /*#__PURE__*/ createResourceParams$6(createIdpConfiguration_ConfigPropertyMetadata);
310
- function typeCheckConfig$5(untrustedConfig) {
308
+ const createIdpConfiguration_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, createIdpConfiguration_ConfigPropertyMetadata);
309
+ const createResourceParams$6 = /*#__PURE__*/ createResourceParams$7(createIdpConfiguration_ConfigPropertyMetadata);
310
+ function typeCheckConfig$6(untrustedConfig) {
311
311
  const config = {};
312
- typeCheckConfig$6(untrustedConfig, config, createIdpConfiguration_ConfigPropertyMetadata);
312
+ typeCheckConfig$7(untrustedConfig, config, createIdpConfiguration_ConfigPropertyMetadata);
313
313
  const untrustedConfig_fileConfig = untrustedConfig.fileConfig;
314
314
  if (untrustedIsObject(untrustedConfig_fileConfig)) {
315
315
  const untrustedConfig_fileConfig_object = {};
@@ -330,30 +330,30 @@ function typeCheckConfig$5(untrustedConfig) {
330
330
  }
331
331
  return config;
332
332
  }
333
- function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
333
+ function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
334
334
  if (!untrustedIsObject(untrustedConfig)) {
335
335
  return null;
336
336
  }
337
337
  if (process.env.NODE_ENV !== 'production') {
338
338
  validateConfig(untrustedConfig, configPropertyNames);
339
339
  }
340
- const config = typeCheckConfig$5(untrustedConfig);
340
+ const config = typeCheckConfig$6(untrustedConfig);
341
341
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
342
342
  return null;
343
343
  }
344
344
  return config;
345
345
  }
346
- function buildNetworkSnapshot$5(luvio, config, options) {
347
- const resourceParams = createResourceParams$5(config);
348
- const request = createResourceRequest$5(resourceParams);
346
+ function buildNetworkSnapshot$6(luvio, config, options) {
347
+ const resourceParams = createResourceParams$6(config);
348
+ const request = createResourceRequest$6(resourceParams);
349
349
  return luvio.dispatchResourceRequest(request, options)
350
350
  .then((response) => {
351
351
  return luvio.handleSuccessResponse(() => {
352
- const snapshot = ingestSuccess$4(luvio, resourceParams, response);
352
+ const snapshot = ingestSuccess$5(luvio, resourceParams, response);
353
353
  return luvio.storeBroadcast().then(() => snapshot);
354
354
  }, () => {
355
355
  const cache = new StoreKeyMap();
356
- getResponseCacheKeys$5(cache, luvio, resourceParams, response.body);
356
+ getResponseCacheKeys$6(cache, luvio, resourceParams, response.body);
357
357
  return cache;
358
358
  });
359
359
  }, (response) => {
@@ -363,33 +363,33 @@ function buildNetworkSnapshot$5(luvio, config, options) {
363
363
  }
364
364
  const createIdpConfigurationAdapterFactory = (luvio) => {
365
365
  return function createIdpConfiguration(untrustedConfig) {
366
- const config = validateAdapterConfig$5(untrustedConfig, createIdpConfiguration_ConfigPropertyNames);
366
+ const config = validateAdapterConfig$6(untrustedConfig, createIdpConfiguration_ConfigPropertyNames);
367
367
  // Invalid or incomplete config
368
368
  if (config === null) {
369
369
  throw new Error('Invalid config for "createIdpConfiguration"');
370
370
  }
371
- return buildNetworkSnapshot$5(luvio, config);
371
+ return buildNetworkSnapshot$6(luvio, config);
372
372
  };
373
373
  };
374
374
 
375
- function keyBuilder$8(luvio, params) {
376
- return keyBuilder$9(luvio, {
375
+ function keyBuilder$9(luvio, params) {
376
+ return keyBuilder$a(luvio, {
377
377
  id: params.urlParams.idOrApiName
378
378
  });
379
379
  }
380
- function getResponseCacheKeys$4(cacheKeyMap, luvio, resourceParams) {
381
- const key = keyBuilder$8(luvio, resourceParams);
380
+ function getResponseCacheKeys$5(cacheKeyMap, luvio, resourceParams) {
381
+ const key = keyBuilder$9(luvio, resourceParams);
382
382
  cacheKeyMap.set(key, {
383
383
  namespace: keyPrefix,
384
- representationName: RepresentationType$4,
384
+ representationName: RepresentationType$5,
385
385
  mergeable: false
386
386
  });
387
387
  }
388
388
  function evictSuccess(luvio, resourceParams) {
389
- const key = keyBuilder$8(luvio, resourceParams);
389
+ const key = keyBuilder$9(luvio, resourceParams);
390
390
  luvio.storeEvict(key);
391
391
  }
392
- function createResourceRequest$4(config) {
392
+ function createResourceRequest$5(config) {
393
393
  const headers = {};
394
394
  return {
395
395
  baseUri: '/services/data/v64.0',
@@ -403,33 +403,33 @@ function createResourceRequest$4(config) {
403
403
  };
404
404
  }
405
405
 
406
- const adapterName$4 = 'deleteIdpConfiguration';
406
+ const adapterName$5 = 'deleteIdpConfiguration';
407
407
  const deleteIdpConfiguration_ConfigPropertyMetadata = [
408
408
  generateParamConfigMetadata('idOrApiName', true, 0 /* UrlParameter */, 0 /* String */),
409
409
  ];
410
- const deleteIdpConfiguration_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, deleteIdpConfiguration_ConfigPropertyMetadata);
411
- const createResourceParams$4 = /*#__PURE__*/ createResourceParams$6(deleteIdpConfiguration_ConfigPropertyMetadata);
412
- function typeCheckConfig$4(untrustedConfig) {
410
+ const deleteIdpConfiguration_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, deleteIdpConfiguration_ConfigPropertyMetadata);
411
+ const createResourceParams$5 = /*#__PURE__*/ createResourceParams$7(deleteIdpConfiguration_ConfigPropertyMetadata);
412
+ function typeCheckConfig$5(untrustedConfig) {
413
413
  const config = {};
414
- typeCheckConfig$6(untrustedConfig, config, deleteIdpConfiguration_ConfigPropertyMetadata);
414
+ typeCheckConfig$7(untrustedConfig, config, deleteIdpConfiguration_ConfigPropertyMetadata);
415
415
  return config;
416
416
  }
417
- function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
417
+ function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
418
418
  if (!untrustedIsObject(untrustedConfig)) {
419
419
  return null;
420
420
  }
421
421
  if (process.env.NODE_ENV !== 'production') {
422
422
  validateConfig(untrustedConfig, configPropertyNames);
423
423
  }
424
- const config = typeCheckConfig$4(untrustedConfig);
424
+ const config = typeCheckConfig$5(untrustedConfig);
425
425
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
426
426
  return null;
427
427
  }
428
428
  return config;
429
429
  }
430
- function buildNetworkSnapshot$4(luvio, config, options) {
431
- const resourceParams = createResourceParams$4(config);
432
- const request = createResourceRequest$4(resourceParams);
430
+ function buildNetworkSnapshot$5(luvio, config, options) {
431
+ const resourceParams = createResourceParams$5(config);
432
+ const request = createResourceRequest$5(resourceParams);
433
433
  return luvio.dispatchResourceRequest(request, options)
434
434
  .then(() => {
435
435
  return luvio.handleSuccessResponse(() => {
@@ -437,7 +437,7 @@ function buildNetworkSnapshot$4(luvio, config, options) {
437
437
  return luvio.storeBroadcast();
438
438
  }, () => {
439
439
  const cache = new StoreKeyMap();
440
- getResponseCacheKeys$4(cache, luvio, resourceParams);
440
+ getResponseCacheKeys$5(cache, luvio, resourceParams);
441
441
  return cache;
442
442
  });
443
443
  }, (response) => {
@@ -447,17 +447,17 @@ function buildNetworkSnapshot$4(luvio, config, options) {
447
447
  }
448
448
  const deleteIdpConfigurationAdapterFactory = (luvio) => {
449
449
  return function documentProcessingdeleteIdpConfiguration(untrustedConfig) {
450
- const config = validateAdapterConfig$4(untrustedConfig, deleteIdpConfiguration_ConfigPropertyNames);
450
+ const config = validateAdapterConfig$5(untrustedConfig, deleteIdpConfiguration_ConfigPropertyNames);
451
451
  // Invalid or incomplete config
452
452
  if (config === null) {
453
- throw new Error(`Invalid config for "${adapterName$4}"`);
453
+ throw new Error(`Invalid config for "${adapterName$5}"`);
454
454
  }
455
- return buildNetworkSnapshot$4(luvio, config);
455
+ return buildNetworkSnapshot$5(luvio, config);
456
456
  };
457
457
  };
458
458
 
459
- const VERSION$3 = "fd5a71c6b42febaf6ada5e5a2c32c8f6";
460
- function validate$9(obj, path = 'IdpExtractedFileDataRepresenation') {
459
+ const VERSION$4 = "fd5a71c6b42febaf6ada5e5a2c32c8f6";
460
+ function validate$b(obj, path = 'IdpExtractedFileDataRepresenation') {
461
461
  const v_error = (() => {
462
462
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
463
463
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -496,49 +496,49 @@ function validate$9(obj, path = 'IdpExtractedFileDataRepresenation') {
496
496
  })();
497
497
  return v_error === undefined ? null : v_error;
498
498
  }
499
- const RepresentationType$3 = 'IdpExtractedFileDataRepresenation';
500
- function normalize$3(input, existing, path, luvio, store, timestamp) {
499
+ const RepresentationType$4 = 'IdpExtractedFileDataRepresenation';
500
+ function normalize$4(input, existing, path, luvio, store, timestamp) {
501
501
  return input;
502
502
  }
503
- const select$7 = function IdpExtractedFileDataRepresenationSelect() {
503
+ const select$9 = function IdpExtractedFileDataRepresenationSelect() {
504
504
  return {
505
505
  kind: 'Fragment',
506
- version: VERSION$3,
506
+ version: VERSION$4,
507
507
  private: [],
508
508
  opaque: true
509
509
  };
510
510
  };
511
- function equals$7(existing, incoming) {
511
+ function equals$8(existing, incoming) {
512
512
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
513
513
  return false;
514
514
  }
515
515
  return true;
516
516
  }
517
- const ingest$3 = function IdpExtractedFileDataRepresenationIngest(input, path, luvio, store, timestamp) {
517
+ const ingest$4 = function IdpExtractedFileDataRepresenationIngest(input, path, luvio, store, timestamp) {
518
518
  if (process.env.NODE_ENV !== 'production') {
519
- const validateError = validate$9(input);
519
+ const validateError = validate$b(input);
520
520
  if (validateError !== null) {
521
521
  throw validateError;
522
522
  }
523
523
  }
524
524
  const key = path.fullPath;
525
525
  const ttlToUse = path.ttl;
526
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "document-processing", VERSION$3, RepresentationType$3, equals$7);
526
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "document-processing", VERSION$4, RepresentationType$4, equals$8);
527
527
  return createLink(key);
528
528
  };
529
- function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
529
+ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
530
530
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
531
531
  const rootKey = fullPathFactory();
532
532
  rootKeySet.set(rootKey, {
533
533
  namespace: keyPrefix,
534
- representationName: RepresentationType$3,
534
+ representationName: RepresentationType$4,
535
535
  mergeable: false
536
536
  });
537
537
  }
538
538
 
539
- const TTL$3 = 1200000;
540
- const VERSION$2 = "b84ee34ba86306d907f22040f581479c";
541
- function validate$8(obj, path = 'IdpExtractedDataRepresentation') {
539
+ const TTL$4 = 1200000;
540
+ const VERSION$3 = "b84ee34ba86306d907f22040f581479c";
541
+ function validate$a(obj, path = 'IdpExtractedDataRepresentation') {
542
542
  const v_error = (() => {
543
543
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
544
544
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -558,14 +558,14 @@ function validate$8(obj, path = 'IdpExtractedDataRepresentation') {
558
558
  })();
559
559
  return v_error === undefined ? null : v_error;
560
560
  }
561
- const RepresentationType$2 = 'IdpExtractedDataRepresentation';
562
- function normalize$2(input, existing, path, luvio, store, timestamp) {
561
+ const RepresentationType$3 = 'IdpExtractedDataRepresentation';
562
+ function normalize$3(input, existing, path, luvio, store, timestamp) {
563
563
  const input_data = input.data;
564
564
  const input_data_id = path.fullPath + '__data';
565
565
  for (let i = 0; i < input_data.length; i++) {
566
566
  const input_data_item = input_data[i];
567
567
  let input_data_item_id = input_data_id + '__' + i;
568
- input_data[i] = ingest$3(input_data_item, {
568
+ input_data[i] = ingest$4(input_data_item, {
569
569
  fullPath: input_data_item_id,
570
570
  propertyName: i,
571
571
  parent: {
@@ -578,22 +578,22 @@ function normalize$2(input, existing, path, luvio, store, timestamp) {
578
578
  }
579
579
  return input;
580
580
  }
581
- const select$6 = function IdpExtractedDataRepresentationSelect() {
581
+ const select$8 = function IdpExtractedDataRepresentationSelect() {
582
582
  return {
583
583
  kind: 'Fragment',
584
- version: VERSION$2,
584
+ version: VERSION$3,
585
585
  private: [],
586
586
  selections: [
587
587
  {
588
588
  name: 'data',
589
589
  kind: 'Link',
590
590
  plural: true,
591
- fragment: select$7()
591
+ fragment: select$9()
592
592
  }
593
593
  ]
594
594
  };
595
595
  };
596
- function equals$6(existing, incoming) {
596
+ function equals$7(existing, incoming) {
597
597
  const existing_data = existing.data;
598
598
  const incoming_data = incoming.data;
599
599
  const equals_data_items = equalsArray(existing_data, incoming_data, (existing_data_item, incoming_data_item) => {
@@ -606,48 +606,48 @@ function equals$6(existing, incoming) {
606
606
  }
607
607
  return true;
608
608
  }
609
- const ingest$2 = function IdpExtractedDataRepresentationIngest(input, path, luvio, store, timestamp) {
609
+ const ingest$3 = function IdpExtractedDataRepresentationIngest(input, path, luvio, store, timestamp) {
610
610
  if (process.env.NODE_ENV !== 'production') {
611
- const validateError = validate$8(input);
611
+ const validateError = validate$a(input);
612
612
  if (validateError !== null) {
613
613
  throw validateError;
614
614
  }
615
615
  }
616
616
  const key = path.fullPath;
617
- const ttlToUse = TTL$3;
618
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "document-processing", VERSION$2, RepresentationType$2, equals$6);
617
+ const ttlToUse = TTL$4;
618
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "document-processing", VERSION$3, RepresentationType$3, equals$7);
619
619
  return createLink(key);
620
620
  };
621
- function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
621
+ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
622
622
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
623
623
  const rootKey = fullPathFactory();
624
624
  rootKeySet.set(rootKey, {
625
625
  namespace: keyPrefix,
626
- representationName: RepresentationType$2,
626
+ representationName: RepresentationType$3,
627
627
  mergeable: false
628
628
  });
629
629
  const input_data_length = input.data.length;
630
630
  for (let i = 0; i < input_data_length; i++) {
631
- getTypeCacheKeys$3(rootKeySet, luvio, input.data[i], () => '');
631
+ getTypeCacheKeys$4(rootKeySet, luvio, input.data[i], () => '');
632
632
  }
633
633
  }
634
634
 
635
- function select$5(luvio, params) {
636
- return select$6();
635
+ function select$7(luvio, params) {
636
+ return select$8();
637
637
  }
638
- function keyBuilder$7(luvio, params) {
638
+ function keyBuilder$8(luvio, params) {
639
639
  return keyPrefix + '::IdpExtractedDataRepresentation:(' + '[' + params.body.files.map(element => 'files.fileId:' + element.fileId).join(',') + ']' + '::' + 'mlModel:' + params.body.mlModel + '::' + 'schemaConfig:' + params.body.schemaConfig + ')';
640
640
  }
641
- function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
642
- getTypeCacheKeys$2(storeKeyMap, luvio, response, () => keyBuilder$7(luvio, resourceParams));
641
+ function getResponseCacheKeys$4(storeKeyMap, luvio, resourceParams, response) {
642
+ getTypeCacheKeys$3(storeKeyMap, luvio, response, () => keyBuilder$8(luvio, resourceParams));
643
643
  }
644
- function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
644
+ function ingestSuccess$4(luvio, resourceParams, response, snapshotRefresh) {
645
645
  const { body } = response;
646
- const key = keyBuilder$7(luvio, resourceParams);
647
- luvio.storeIngest(key, ingest$2, body);
646
+ const key = keyBuilder$8(luvio, resourceParams);
647
+ luvio.storeIngest(key, ingest$3, body);
648
648
  const snapshot = luvio.storeLookup({
649
649
  recordId: key,
650
- node: select$5(),
650
+ node: select$7(),
651
651
  variables: {},
652
652
  }, snapshotRefresh);
653
653
  if (process.env.NODE_ENV !== 'production') {
@@ -659,18 +659,18 @@ function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
659
659
  return snapshot;
660
660
  }
661
661
  function ingestError$3(luvio, params, error, snapshotRefresh) {
662
- const key = keyBuilder$7(luvio, params);
662
+ const key = keyBuilder$8(luvio, params);
663
663
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
664
664
  const storeMetadataParams = {
665
- ttl: TTL$3,
665
+ ttl: TTL$4,
666
666
  namespace: keyPrefix,
667
- version: VERSION$2,
668
- representationName: RepresentationType$2
667
+ version: VERSION$3,
668
+ representationName: RepresentationType$3
669
669
  };
670
670
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
671
671
  return errorSnapshot;
672
672
  }
673
- function createResourceRequest$3(config) {
673
+ function createResourceRequest$4(config) {
674
674
  const headers = {};
675
675
  return {
676
676
  baseUri: '/services/data/v64.0',
@@ -684,21 +684,21 @@ function createResourceRequest$3(config) {
684
684
  };
685
685
  }
686
686
 
687
- const adapterName$3 = 'extractDataUsingIdpConfiguration';
687
+ const adapterName$4 = 'extractDataUsingIdpConfiguration';
688
688
  const extractDataUsingIdpConfiguration_ConfigPropertyMetadata = [
689
689
  generateParamConfigMetadata('files', true, 2 /* Body */, 4 /* Unsupported */, true),
690
690
  generateParamConfigMetadata('mlModel', true, 2 /* Body */, 0 /* String */),
691
691
  generateParamConfigMetadata('schemaConfig', true, 2 /* Body */, 0 /* String */),
692
692
  ];
693
- const extractDataUsingIdpConfiguration_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, extractDataUsingIdpConfiguration_ConfigPropertyMetadata);
694
- const createResourceParams$3 = /*#__PURE__*/ createResourceParams$6(extractDataUsingIdpConfiguration_ConfigPropertyMetadata);
695
- function keyBuilder$6(luvio, config) {
696
- const resourceParams = createResourceParams$3(config);
697
- return keyBuilder$7(luvio, resourceParams);
693
+ const extractDataUsingIdpConfiguration_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, extractDataUsingIdpConfiguration_ConfigPropertyMetadata);
694
+ const createResourceParams$4 = /*#__PURE__*/ createResourceParams$7(extractDataUsingIdpConfiguration_ConfigPropertyMetadata);
695
+ function keyBuilder$7(luvio, config) {
696
+ const resourceParams = createResourceParams$4(config);
697
+ return keyBuilder$8(luvio, resourceParams);
698
698
  }
699
- function typeCheckConfig$3(untrustedConfig) {
699
+ function typeCheckConfig$4(untrustedConfig) {
700
700
  const config = {};
701
- typeCheckConfig$6(untrustedConfig, config, extractDataUsingIdpConfiguration_ConfigPropertyMetadata);
701
+ typeCheckConfig$7(untrustedConfig, config, extractDataUsingIdpConfiguration_ConfigPropertyMetadata);
702
702
  const untrustedConfig_files = untrustedConfig.files;
703
703
  if (ArrayIsArray$1(untrustedConfig_files)) {
704
704
  const untrustedConfig_files_array = [];
@@ -719,45 +719,45 @@ function typeCheckConfig$3(untrustedConfig) {
719
719
  }
720
720
  return config;
721
721
  }
722
- function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
722
+ function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
723
723
  if (!untrustedIsObject(untrustedConfig)) {
724
724
  return null;
725
725
  }
726
726
  if (process.env.NODE_ENV !== 'production') {
727
727
  validateConfig(untrustedConfig, configPropertyNames);
728
728
  }
729
- const config = typeCheckConfig$3(untrustedConfig);
729
+ const config = typeCheckConfig$4(untrustedConfig);
730
730
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
731
731
  return null;
732
732
  }
733
733
  return config;
734
734
  }
735
735
  function adapterFragment$3(luvio, config) {
736
- createResourceParams$3(config);
737
- return select$5();
736
+ createResourceParams$4(config);
737
+ return select$7();
738
738
  }
739
739
  function onFetchResponseSuccess$3(luvio, config, resourceParams, response) {
740
- const snapshot = ingestSuccess$3(luvio, resourceParams, response, {
740
+ const snapshot = ingestSuccess$4(luvio, resourceParams, response, {
741
741
  config,
742
- resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
742
+ resolve: () => buildNetworkSnapshot$4(luvio, config, snapshotRefreshOptions)
743
743
  });
744
744
  return luvio.storeBroadcast().then(() => snapshot);
745
745
  }
746
746
  function onFetchResponseError$3(luvio, config, resourceParams, response) {
747
747
  const snapshot = ingestError$3(luvio, resourceParams, response, {
748
748
  config,
749
- resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
749
+ resolve: () => buildNetworkSnapshot$4(luvio, config, snapshotRefreshOptions)
750
750
  });
751
751
  return luvio.storeBroadcast().then(() => snapshot);
752
752
  }
753
- function buildNetworkSnapshot$3(luvio, config, options) {
754
- const resourceParams = createResourceParams$3(config);
755
- const request = createResourceRequest$3(resourceParams);
753
+ function buildNetworkSnapshot$4(luvio, config, options) {
754
+ const resourceParams = createResourceParams$4(config);
755
+ const request = createResourceRequest$4(resourceParams);
756
756
  return luvio.dispatchResourceRequest(request, options)
757
757
  .then((response) => {
758
758
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$3(luvio, config, resourceParams, response), () => {
759
759
  const cache = new StoreKeyMap();
760
- getResponseCacheKeys$3(cache, luvio, resourceParams, response.body);
760
+ getResponseCacheKeys$4(cache, luvio, resourceParams, response.body);
761
761
  return cache;
762
762
  });
763
763
  }, (response) => {
@@ -765,23 +765,23 @@ function buildNetworkSnapshot$3(luvio, config, options) {
765
765
  });
766
766
  }
767
767
  function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
768
- return buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, 'get', false);
768
+ return buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, 'get', false);
769
769
  }
770
770
  function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
771
771
  const { luvio, config } = context;
772
772
  const selector = {
773
- recordId: keyBuilder$6(luvio, config),
773
+ recordId: keyBuilder$7(luvio, config),
774
774
  node: adapterFragment$3(luvio, config),
775
775
  variables: {},
776
776
  };
777
777
  const cacheSnapshot = storeLookup(selector, {
778
778
  config,
779
- resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
779
+ resolve: () => buildNetworkSnapshot$4(luvio, config, snapshotRefreshOptions)
780
780
  });
781
781
  return cacheSnapshot;
782
782
  }
783
783
  const extractDataUsingIdpConfigurationAdapterFactory = (luvio) => function documentProcessing__extractDataUsingIdpConfiguration(untrustedConfig, requestContext) {
784
- const config = validateAdapterConfig$3(untrustedConfig, extractDataUsingIdpConfiguration_ConfigPropertyNames);
784
+ const config = validateAdapterConfig$4(untrustedConfig, extractDataUsingIdpConfiguration_ConfigPropertyNames);
785
785
  // Invalid or incomplete config
786
786
  if (config === null) {
787
787
  return null;
@@ -790,21 +790,244 @@ const extractDataUsingIdpConfigurationAdapterFactory = (luvio) => function docum
790
790
  buildCachedSnapshotCachePolicy$3, buildNetworkSnapshotCachePolicy$3);
791
791
  };
792
792
 
793
+ function validate$9(obj, path = 'IdpGenerateSchemaFileInputRepresentation') {
794
+ const v_error = (() => {
795
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
796
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
797
+ }
798
+ const obj_fileId = obj.fileId;
799
+ const path_fileId = path + '.fileId';
800
+ if (typeof obj_fileId !== 'string') {
801
+ return new TypeError('Expected "string" but received "' + typeof obj_fileId + '" (at "' + path_fileId + '")');
802
+ }
803
+ })();
804
+ return v_error === undefined ? null : v_error;
805
+ }
806
+
807
+ const TTL$3 = 1200000;
808
+ const VERSION$2 = "4d8b7735653266ae435f6f1fcca047ad";
809
+ function validate$8(obj, path = 'IdpGeneratedSchemaRepresentation') {
810
+ const v_error = (() => {
811
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
812
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
813
+ }
814
+ const obj_error = obj.error;
815
+ const path_error = path + '.error';
816
+ let obj_error_union0 = null;
817
+ const obj_error_union0_error = (() => {
818
+ if (typeof obj_error !== 'string') {
819
+ return new TypeError('Expected "string" but received "' + typeof obj_error + '" (at "' + path_error + '")');
820
+ }
821
+ })();
822
+ if (obj_error_union0_error != null) {
823
+ obj_error_union0 = obj_error_union0_error.message;
824
+ }
825
+ let obj_error_union1 = null;
826
+ const obj_error_union1_error = (() => {
827
+ if (obj_error !== null) {
828
+ return new TypeError('Expected "null" but received "' + typeof obj_error + '" (at "' + path_error + '")');
829
+ }
830
+ })();
831
+ if (obj_error_union1_error != null) {
832
+ obj_error_union1 = obj_error_union1_error.message;
833
+ }
834
+ if (obj_error_union0 && obj_error_union1) {
835
+ let message = 'Object doesn\'t match union (at "' + path_error + '")';
836
+ message += '\n' + obj_error_union0.split('\n').map((line) => '\t' + line).join('\n');
837
+ message += '\n' + obj_error_union1.split('\n').map((line) => '\t' + line).join('\n');
838
+ return new TypeError(message);
839
+ }
840
+ const obj_schema = obj.schema;
841
+ const path_schema = path + '.schema';
842
+ if (typeof obj_schema !== 'string') {
843
+ return new TypeError('Expected "string" but received "' + typeof obj_schema + '" (at "' + path_schema + '")');
844
+ }
845
+ })();
846
+ return v_error === undefined ? null : v_error;
847
+ }
848
+ const RepresentationType$2 = 'IdpGeneratedSchemaRepresentation';
849
+ function keyBuilder$6(luvio, config) {
850
+ return keyPrefix + '::' + RepresentationType$2 + ':' + config.schema;
851
+ }
852
+ function keyBuilderFromType(luvio, object) {
853
+ const keyParams = {
854
+ schema: object.schema
855
+ };
856
+ return keyBuilder$6(luvio, keyParams);
857
+ }
858
+ function normalize$2(input, existing, path, luvio, store, timestamp) {
859
+ return input;
860
+ }
861
+ const select$6 = function IdpGeneratedSchemaRepresentationSelect() {
862
+ return {
863
+ kind: 'Fragment',
864
+ version: VERSION$2,
865
+ private: [],
866
+ selections: [
867
+ {
868
+ name: 'error',
869
+ kind: 'Scalar'
870
+ },
871
+ {
872
+ name: 'schema',
873
+ kind: 'Scalar'
874
+ }
875
+ ]
876
+ };
877
+ };
878
+ function equals$6(existing, incoming) {
879
+ const existing_schema = existing.schema;
880
+ const incoming_schema = incoming.schema;
881
+ if (!(existing_schema === incoming_schema)) {
882
+ return false;
883
+ }
884
+ const existing_error = existing.error;
885
+ const incoming_error = incoming.error;
886
+ if (!(existing_error === incoming_error)) {
887
+ return false;
888
+ }
889
+ return true;
890
+ }
891
+ const ingest$2 = function IdpGeneratedSchemaRepresentationIngest(input, path, luvio, store, timestamp) {
892
+ if (process.env.NODE_ENV !== 'production') {
893
+ const validateError = validate$8(input);
894
+ if (validateError !== null) {
895
+ throw validateError;
896
+ }
897
+ }
898
+ const key = keyBuilderFromType(luvio, input);
899
+ const ttlToUse = TTL$3;
900
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "document-processing", VERSION$2, RepresentationType$2, equals$6);
901
+ return createLink(key);
902
+ };
903
+ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
904
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
905
+ const rootKey = keyBuilderFromType(luvio, input);
906
+ rootKeySet.set(rootKey, {
907
+ namespace: keyPrefix,
908
+ representationName: RepresentationType$2,
909
+ mergeable: false
910
+ });
911
+ }
912
+
913
+ function select$5(luvio, params) {
914
+ return select$6();
915
+ }
916
+ function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
917
+ getTypeCacheKeys$2(storeKeyMap, luvio, response);
918
+ }
919
+ function ingestSuccess$3(luvio, resourceParams, response) {
920
+ const { body } = response;
921
+ const key = keyBuilderFromType(luvio, body);
922
+ luvio.storeIngest(key, ingest$2, body);
923
+ const snapshot = luvio.storeLookup({
924
+ recordId: key,
925
+ node: select$5(),
926
+ variables: {},
927
+ });
928
+ if (process.env.NODE_ENV !== 'production') {
929
+ if (snapshot.state !== 'Fulfilled') {
930
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
931
+ }
932
+ }
933
+ deepFreeze(snapshot.data);
934
+ return snapshot;
935
+ }
936
+ function createResourceRequest$3(config) {
937
+ const headers = {};
938
+ return {
939
+ baseUri: '/services/data/v64.0',
940
+ basePath: '/ssot/document-processing/actions/generate-schema',
941
+ method: 'post',
942
+ body: config.body,
943
+ urlParams: {},
944
+ queryParams: {},
945
+ headers,
946
+ priority: 'normal',
947
+ };
948
+ }
949
+
950
+ const adapterName$3 = 'generateIdpConfigurationSchema';
951
+ const generateIdpConfigurationSchema_ConfigPropertyMetadata = [
952
+ generateParamConfigMetadata('files', true, 2 /* Body */, 4 /* Unsupported */, true),
953
+ generateParamConfigMetadata('mlModel', true, 2 /* Body */, 0 /* String */),
954
+ ];
955
+ const generateIdpConfigurationSchema_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, generateIdpConfigurationSchema_ConfigPropertyMetadata);
956
+ const createResourceParams$3 = /*#__PURE__*/ createResourceParams$7(generateIdpConfigurationSchema_ConfigPropertyMetadata);
957
+ function typeCheckConfig$3(untrustedConfig) {
958
+ const config = {};
959
+ typeCheckConfig$7(untrustedConfig, config, generateIdpConfigurationSchema_ConfigPropertyMetadata);
960
+ const untrustedConfig_files = untrustedConfig.files;
961
+ if (ArrayIsArray$1(untrustedConfig_files)) {
962
+ const untrustedConfig_files_array = [];
963
+ for (let i = 0, arrayLength = untrustedConfig_files.length; i < arrayLength; i++) {
964
+ const untrustedConfig_files_item = untrustedConfig_files[i];
965
+ const referenceIdpGenerateSchemaFileInputRepresentationValidationError = validate$9(untrustedConfig_files_item);
966
+ if (referenceIdpGenerateSchemaFileInputRepresentationValidationError === null) {
967
+ untrustedConfig_files_array.push(untrustedConfig_files_item);
968
+ }
969
+ }
970
+ config.files = untrustedConfig_files_array;
971
+ }
972
+ return config;
973
+ }
974
+ function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
975
+ if (!untrustedIsObject(untrustedConfig)) {
976
+ return null;
977
+ }
978
+ if (process.env.NODE_ENV !== 'production') {
979
+ validateConfig(untrustedConfig, configPropertyNames);
980
+ }
981
+ const config = typeCheckConfig$3(untrustedConfig);
982
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
983
+ return null;
984
+ }
985
+ return config;
986
+ }
987
+ function buildNetworkSnapshot$3(luvio, config, options) {
988
+ const resourceParams = createResourceParams$3(config);
989
+ const request = createResourceRequest$3(resourceParams);
990
+ return luvio.dispatchResourceRequest(request, options)
991
+ .then((response) => {
992
+ return luvio.handleSuccessResponse(() => {
993
+ const snapshot = ingestSuccess$3(luvio, resourceParams, response);
994
+ return luvio.storeBroadcast().then(() => snapshot);
995
+ }, () => {
996
+ const cache = new StoreKeyMap();
997
+ getResponseCacheKeys$3(cache, luvio, resourceParams, response.body);
998
+ return cache;
999
+ });
1000
+ }, (response) => {
1001
+ deepFreeze(response);
1002
+ throw response;
1003
+ });
1004
+ }
1005
+ const generateIdpConfigurationSchemaAdapterFactory = (luvio) => {
1006
+ return function generateIdpConfigurationSchema(untrustedConfig) {
1007
+ const config = validateAdapterConfig$3(untrustedConfig, generateIdpConfigurationSchema_ConfigPropertyNames);
1008
+ // Invalid or incomplete config
1009
+ if (config === null) {
1010
+ throw new Error('Invalid config for "generateIdpConfigurationSchema"');
1011
+ }
1012
+ return buildNetworkSnapshot$3(luvio, config);
1013
+ };
1014
+ };
1015
+
793
1016
  function select$4(luvio, params) {
794
- return select$9();
1017
+ return select$b();
795
1018
  }
796
1019
  function keyBuilder$5(luvio, params) {
797
- return keyBuilder$9(luvio, {
1020
+ return keyBuilder$a(luvio, {
798
1021
  id: params.urlParams.idOrApiName
799
1022
  });
800
1023
  }
801
1024
  function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
802
- getTypeCacheKeys$4(storeKeyMap, luvio, response);
1025
+ getTypeCacheKeys$5(storeKeyMap, luvio, response);
803
1026
  }
804
1027
  function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
805
1028
  const { body } = response;
806
1029
  const key = keyBuilder$5(luvio, resourceParams);
807
- luvio.storeIngest(key, ingest$4, body);
1030
+ luvio.storeIngest(key, ingest$5, body);
808
1031
  const snapshot = luvio.storeLookup({
809
1032
  recordId: key,
810
1033
  node: select$4(),
@@ -822,10 +1045,10 @@ function ingestError$2(luvio, params, error, snapshotRefresh) {
822
1045
  const key = keyBuilder$5(luvio, params);
823
1046
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
824
1047
  const storeMetadataParams = {
825
- ttl: TTL$4,
1048
+ ttl: TTL$5,
826
1049
  namespace: keyPrefix,
827
- version: VERSION$4,
828
- representationName: RepresentationType$4
1050
+ version: VERSION$5,
1051
+ representationName: RepresentationType$5
829
1052
  };
830
1053
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
831
1054
  return errorSnapshot;
@@ -856,14 +1079,14 @@ const getIdpConfiguration_ConfigPropertyMetadata = [
856
1079
  generateParamConfigMetadata('idOrApiName', true, 0 /* UrlParameter */, 0 /* String */),
857
1080
  ];
858
1081
  const getIdpConfiguration_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getIdpConfiguration_ConfigPropertyMetadata);
859
- const createResourceParams$2 = /*#__PURE__*/ createResourceParams$6(getIdpConfiguration_ConfigPropertyMetadata);
1082
+ const createResourceParams$2 = /*#__PURE__*/ createResourceParams$7(getIdpConfiguration_ConfigPropertyMetadata);
860
1083
  function keyBuilder$4(luvio, config) {
861
1084
  const resourceParams = createResourceParams$2(config);
862
1085
  return keyBuilder$5(luvio, resourceParams);
863
1086
  }
864
1087
  function typeCheckConfig$2(untrustedConfig) {
865
1088
  const config = {};
866
- typeCheckConfig$6(untrustedConfig, config, getIdpConfiguration_ConfigPropertyMetadata);
1089
+ typeCheckConfig$7(untrustedConfig, config, getIdpConfiguration_ConfigPropertyMetadata);
867
1090
  return config;
868
1091
  }
869
1092
  function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
@@ -938,7 +1161,7 @@ const getIdpConfigurationAdapterFactory = (luvio) => function documentProcessing
938
1161
  };
939
1162
  const notifyChangeFactory = (luvio, options) => {
940
1163
  return function getSsotDocumentProcessingConfigurationsByIdOrApiNameNotifyChange(configs) {
941
- const keys = configs.map(c => keyBuilder$9(luvio, c));
1164
+ const keys = configs.map(c => keyBuilder$a(luvio, c));
942
1165
  luvio.getNotifyChangeStoreEntries(keys).then(entries => {
943
1166
  for (let i = 0, len = entries.length; i < len; i++) {
944
1167
  const { key, record: val } = entries[i];
@@ -947,21 +1170,21 @@ const notifyChangeFactory = (luvio, options) => {
947
1170
  .then((response) => {
948
1171
  return luvio.handleSuccessResponse(() => {
949
1172
  const { body } = response;
950
- luvio.storeIngest(key, ingest$4, body);
1173
+ luvio.storeIngest(key, ingest$5, body);
951
1174
  return luvio.storeBroadcast();
952
1175
  }, () => {
953
1176
  const cache = new StoreKeyMap();
954
- getTypeCacheKeys$4(cache, luvio, response.body);
1177
+ getTypeCacheKeys$5(cache, luvio, response.body);
955
1178
  return cache;
956
1179
  });
957
1180
  }, (error) => {
958
1181
  return luvio.handleErrorResponse(() => {
959
1182
  const errorSnapshot = luvio.errorSnapshot(error);
960
1183
  luvio.storeIngestError(key, errorSnapshot, {
961
- ttl: TTL$4,
1184
+ ttl: TTL$5,
962
1185
  namespace: keyPrefix,
963
- version: VERSION$4,
964
- representationName: RepresentationType$4
1186
+ version: VERSION$5,
1187
+ representationName: RepresentationType$5
965
1188
  });
966
1189
  return luvio.storeBroadcast().then(() => errorSnapshot);
967
1190
  });
@@ -1405,14 +1628,14 @@ const getIdpConfigurations_ConfigPropertyMetadata = [
1405
1628
  generateParamConfigMetadata('search', false, 1 /* QueryParameter */, 0 /* String */),
1406
1629
  ];
1407
1630
  const getIdpConfigurations_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getIdpConfigurations_ConfigPropertyMetadata);
1408
- const createResourceParams$1 = /*#__PURE__*/ createResourceParams$6(getIdpConfigurations_ConfigPropertyMetadata);
1631
+ const createResourceParams$1 = /*#__PURE__*/ createResourceParams$7(getIdpConfigurations_ConfigPropertyMetadata);
1409
1632
  function keyBuilder$2(luvio, config) {
1410
1633
  const resourceParams = createResourceParams$1(config);
1411
1634
  return keyBuilder$3(luvio, resourceParams);
1412
1635
  }
1413
1636
  function typeCheckConfig$1(untrustedConfig) {
1414
1637
  const config = {};
1415
- typeCheckConfig$6(untrustedConfig, config, getIdpConfigurations_ConfigPropertyMetadata);
1638
+ typeCheckConfig$7(untrustedConfig, config, getIdpConfigurations_ConfigPropertyMetadata);
1416
1639
  return config;
1417
1640
  }
1418
1641
  function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
@@ -1689,7 +1912,7 @@ function createResourceRequest(config) {
1689
1912
  const adapterName = 'getIdpGlobalConfig';
1690
1913
  const getIdpGlobalConfig_ConfigPropertyMetadata = [];
1691
1914
  const getIdpGlobalConfig_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, getIdpGlobalConfig_ConfigPropertyMetadata);
1692
- const createResourceParams = /*#__PURE__*/ createResourceParams$6(getIdpGlobalConfig_ConfigPropertyMetadata);
1915
+ const createResourceParams = /*#__PURE__*/ createResourceParams$7(getIdpGlobalConfig_ConfigPropertyMetadata);
1693
1916
  function keyBuilder(luvio, config) {
1694
1917
  createResourceParams(config);
1695
1918
  return keyBuilder$1();
@@ -1772,6 +1995,7 @@ const getIdpGlobalConfigAdapterFactory = (luvio) => function documentProcessing_
1772
1995
  let createIdpConfiguration;
1773
1996
  let deleteIdpConfiguration;
1774
1997
  let extractDataUsingIdpConfiguration;
1998
+ let generateIdpConfigurationSchema;
1775
1999
  let getIdpConfiguration;
1776
2000
  let getIdpConfigurationNotifyChange;
1777
2001
  let getIdpConfigurations;
@@ -1814,8 +2038,9 @@ function bindExportsTo(luvio) {
1814
2038
  }
1815
2039
  return {
1816
2040
  createIdpConfiguration: unwrapSnapshotData(createIdpConfigurationAdapterFactory),
1817
- deleteIdpConfiguration: createLDSAdapter(luvio, adapterName$4, deleteIdpConfigurationAdapterFactory),
2041
+ deleteIdpConfiguration: createLDSAdapter(luvio, adapterName$5, deleteIdpConfigurationAdapterFactory),
1818
2042
  extractDataUsingIdpConfiguration: createWireAdapterConstructor(luvio, extractDataUsingIdpConfiguration_ldsAdapter, extractDataUsingIdpConfigurationMetadata),
2043
+ generateIdpConfigurationSchema: unwrapSnapshotData(generateIdpConfigurationSchemaAdapterFactory),
1819
2044
  getIdpConfiguration: createWireAdapterConstructor(luvio, getIdpConfiguration_ldsAdapter, getIdpConfigurationMetadata),
1820
2045
  getIdpConfigurationNotifyChange: createLDSAdapter(luvio, 'getIdpConfigurationNotifyChange', notifyChangeFactory),
1821
2046
  getIdpConfigurations: createWireAdapterConstructor(luvio, getIdpConfigurations_ldsAdapter, getIdpConfigurationsMetadata),
@@ -1833,6 +2058,7 @@ withDefaultLuvio((luvio) => {
1833
2058
  createIdpConfiguration,
1834
2059
  deleteIdpConfiguration,
1835
2060
  extractDataUsingIdpConfiguration,
2061
+ generateIdpConfigurationSchema,
1836
2062
  getIdpConfiguration,
1837
2063
  getIdpConfigurationNotifyChange,
1838
2064
  getIdpConfigurations,
@@ -1844,5 +2070,5 @@ withDefaultLuvio((luvio) => {
1844
2070
  } = bindExportsTo(luvio));
1845
2071
  });
1846
2072
 
1847
- export { createIdpConfiguration, deleteIdpConfiguration, extractDataUsingIdpConfiguration, extractDataUsingIdpConfiguration_imperative, getIdpConfiguration, getIdpConfigurationNotifyChange, getIdpConfiguration_imperative, getIdpConfigurations, getIdpConfigurations_imperative, getIdpGlobalConfig, getIdpGlobalConfig_imperative };
1848
- // version: 1.354.0-dev4-98059adb6d
2073
+ export { createIdpConfiguration, deleteIdpConfiguration, extractDataUsingIdpConfiguration, extractDataUsingIdpConfiguration_imperative, generateIdpConfigurationSchema, getIdpConfiguration, getIdpConfigurationNotifyChange, getIdpConfiguration_imperative, getIdpConfigurations, getIdpConfigurations_imperative, getIdpGlobalConfig, getIdpGlobalConfig_imperative };
2074
+ // version: 1.354.0-dev5-6dd38ead4a