@salesforce/lds-adapters-industries-docgen 1.298.0 → 1.300.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@
4
4
  * For full license text, see the LICENSE.txt file
5
5
  */
6
6
 
7
- import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$8, typeCheckConfig as typeCheckConfig$g, StoreKeyMap, createResourceParams as createResourceParams$g } from '@luvio/engine';
7
+ import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$8, typeCheckConfig as typeCheckConfig$h, StoreKeyMap, createResourceParams as createResourceParams$h } from '@luvio/engine';
8
8
 
9
9
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
10
10
  const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
@@ -112,8 +112,8 @@ function createLink(ref) {
112
112
  };
113
113
  }
114
114
 
115
- const VERSION$l = "c0cdffc7d0ce780dd3dbd6844cb94df8";
116
- function validate$p(obj, path = 'ClauseCategoryResponse') {
115
+ const VERSION$o = "c0cdffc7d0ce780dd3dbd6844cb94df8";
116
+ function validate$s(obj, path = 'ClauseCategoryResponse') {
117
117
  const v_error = (() => {
118
118
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
119
119
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -138,10 +138,10 @@ function validate$p(obj, path = 'ClauseCategoryResponse') {
138
138
  })();
139
139
  return v_error === undefined ? null : v_error;
140
140
  }
141
- const select$B = function ClauseCategoryResponseSelect() {
141
+ const select$F = function ClauseCategoryResponseSelect() {
142
142
  return {
143
143
  kind: 'Fragment',
144
- version: VERSION$l,
144
+ version: VERSION$o,
145
145
  private: [],
146
146
  selections: [
147
147
  {
@@ -160,7 +160,7 @@ const select$B = function ClauseCategoryResponseSelect() {
160
160
  ]
161
161
  };
162
162
  };
163
- function equals$l(existing, incoming) {
163
+ function equals$o(existing, incoming) {
164
164
  const existing_id = existing.id;
165
165
  const incoming_id = incoming.id;
166
166
  // if at least one of these optionals is defined
@@ -187,9 +187,9 @@ function equals$l(existing, incoming) {
187
187
  return true;
188
188
  }
189
189
 
190
- const TTL$9 = 30000;
191
- const VERSION$k = "6f04ab6a782443d237ece40b87b8d756";
192
- function validate$o(obj, path = 'ClauseCategoriesResponse') {
190
+ const TTL$a = 30000;
191
+ const VERSION$n = "6f04ab6a782443d237ece40b87b8d756";
192
+ function validate$r(obj, path = 'ClauseCategoriesResponse') {
193
193
  const v_error = (() => {
194
194
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
195
195
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -202,7 +202,7 @@ function validate$o(obj, path = 'ClauseCategoriesResponse') {
202
202
  for (let i = 0; i < obj_clauseCategories.length; i++) {
203
203
  const obj_clauseCategories_item = obj_clauseCategories[i];
204
204
  const path_clauseCategories_item = path_clauseCategories + '[' + i + ']';
205
- const referencepath_clauseCategories_itemValidationError = validate$p(obj_clauseCategories_item, path_clauseCategories_item);
205
+ const referencepath_clauseCategories_itemValidationError = validate$s(obj_clauseCategories_item, path_clauseCategories_item);
206
206
  if (referencepath_clauseCategories_itemValidationError !== null) {
207
207
  let message = 'Object doesn\'t match ClauseCategoryResponse (at "' + path_clauseCategories_item + '")\n';
208
208
  message += referencepath_clauseCategories_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -212,15 +212,15 @@ function validate$o(obj, path = 'ClauseCategoriesResponse') {
212
212
  })();
213
213
  return v_error === undefined ? null : v_error;
214
214
  }
215
- const RepresentationType$e = 'ClauseCategoriesResponse';
216
- function normalize$e(input, existing, path, luvio, store, timestamp) {
215
+ const RepresentationType$f = 'ClauseCategoriesResponse';
216
+ function normalize$f(input, existing, path, luvio, store, timestamp) {
217
217
  return input;
218
218
  }
219
- const select$A = function ClauseCategoriesResponseSelect() {
220
- const { selections: ClauseCategoryResponse__selections, opaque: ClauseCategoryResponse__opaque, } = select$B();
219
+ const select$E = function ClauseCategoriesResponseSelect() {
220
+ const { selections: ClauseCategoryResponse__selections, opaque: ClauseCategoryResponse__opaque, } = select$F();
221
221
  return {
222
222
  kind: 'Fragment',
223
- version: VERSION$k,
223
+ version: VERSION$n,
224
224
  private: [],
225
225
  selections: [
226
226
  {
@@ -232,11 +232,11 @@ const select$A = function ClauseCategoriesResponseSelect() {
232
232
  ]
233
233
  };
234
234
  };
235
- function equals$k(existing, incoming) {
235
+ function equals$n(existing, incoming) {
236
236
  const existing_clauseCategories = existing.clauseCategories;
237
237
  const incoming_clauseCategories = incoming.clauseCategories;
238
238
  const equals_clauseCategories_items = equalsArray(existing_clauseCategories, incoming_clauseCategories, (existing_clauseCategories_item, incoming_clauseCategories_item) => {
239
- if (!(equals$l(existing_clauseCategories_item, incoming_clauseCategories_item))) {
239
+ if (!(equals$o(existing_clauseCategories_item, incoming_clauseCategories_item))) {
240
240
  return false;
241
241
  }
242
242
  });
@@ -245,44 +245,44 @@ function equals$k(existing, incoming) {
245
245
  }
246
246
  return true;
247
247
  }
248
- const ingest$e = function ClauseCategoriesResponseIngest(input, path, luvio, store, timestamp) {
248
+ const ingest$f = function ClauseCategoriesResponseIngest(input, path, luvio, store, timestamp) {
249
249
  if (process.env.NODE_ENV !== 'production') {
250
- const validateError = validate$o(input);
250
+ const validateError = validate$r(input);
251
251
  if (validateError !== null) {
252
252
  throw validateError;
253
253
  }
254
254
  }
255
255
  const key = path.fullPath;
256
- const ttlToUse = TTL$9;
257
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "docgen", VERSION$k, RepresentationType$e, equals$k);
256
+ const ttlToUse = TTL$a;
257
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "docgen", VERSION$n, RepresentationType$f, equals$n);
258
258
  return createLink(key);
259
259
  };
260
- function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
260
+ function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
261
261
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
262
262
  const rootKey = fullPathFactory();
263
263
  rootKeySet.set(rootKey, {
264
264
  namespace: keyPrefix,
265
- representationName: RepresentationType$e,
265
+ representationName: RepresentationType$f,
266
266
  mergeable: false
267
267
  });
268
268
  }
269
269
 
270
- function select$z(luvio, params) {
271
- return select$A();
270
+ function select$D(luvio, params) {
271
+ return select$E();
272
272
  }
273
- function keyBuilder$m(luvio, params) {
273
+ function keyBuilder$n(luvio, params) {
274
274
  return keyPrefix + '::ClauseCategoriesResponse:(' + 'id:' + params.queryParams.id + ',' + 'name:' + params.queryParams.name + ',' + 'usageType:' + params.queryParams.usageType + ')';
275
275
  }
276
- function getResponseCacheKeys$f(storeKeyMap, luvio, resourceParams, response) {
277
- getTypeCacheKeys$e(storeKeyMap, luvio, response, () => keyBuilder$m(luvio, resourceParams));
276
+ function getResponseCacheKeys$g(storeKeyMap, luvio, resourceParams, response) {
277
+ getTypeCacheKeys$f(storeKeyMap, luvio, response, () => keyBuilder$n(luvio, resourceParams));
278
278
  }
279
- function ingestSuccess$f(luvio, resourceParams, response, snapshotRefresh) {
279
+ function ingestSuccess$g(luvio, resourceParams, response, snapshotRefresh) {
280
280
  const { body } = response;
281
- const key = keyBuilder$m(luvio, resourceParams);
282
- luvio.storeIngest(key, ingest$e, body);
281
+ const key = keyBuilder$n(luvio, resourceParams);
282
+ luvio.storeIngest(key, ingest$f, body);
283
283
  const snapshot = luvio.storeLookup({
284
284
  recordId: key,
285
- node: select$z(),
285
+ node: select$D(),
286
286
  variables: {},
287
287
  }, snapshotRefresh);
288
288
  if (process.env.NODE_ENV !== 'production') {
@@ -294,18 +294,18 @@ function ingestSuccess$f(luvio, resourceParams, response, snapshotRefresh) {
294
294
  return snapshot;
295
295
  }
296
296
  function ingestError$7(luvio, params, error, snapshotRefresh) {
297
- const key = keyBuilder$m(luvio, params);
297
+ const key = keyBuilder$n(luvio, params);
298
298
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
299
299
  const storeMetadataParams = {
300
- ttl: TTL$9,
300
+ ttl: TTL$a,
301
301
  namespace: keyPrefix,
302
- version: VERSION$k,
303
- representationName: RepresentationType$e
302
+ version: VERSION$n,
303
+ representationName: RepresentationType$f
304
304
  };
305
305
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
306
306
  return errorSnapshot;
307
307
  }
308
- function createResourceRequest$f(config) {
308
+ function createResourceRequest$g(config) {
309
309
  const headers = {};
310
310
  return {
311
311
  baseUri: '/services/data/v62.0',
@@ -319,62 +319,62 @@ function createResourceRequest$f(config) {
319
319
  };
320
320
  }
321
321
 
322
- const adapterName$f = 'getDocumentClauseSetCategories';
322
+ const adapterName$g = 'getDocumentClauseSetCategories';
323
323
  const getDocumentClauseSetCategories_ConfigPropertyMetadata = [
324
324
  generateParamConfigMetadata('id', false, 1 /* QueryParameter */, 0 /* String */),
325
325
  generateParamConfigMetadata('name', false, 1 /* QueryParameter */, 0 /* String */),
326
326
  generateParamConfigMetadata('usageType', false, 1 /* QueryParameter */, 0 /* String */),
327
327
  ];
328
- const getDocumentClauseSetCategories_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, getDocumentClauseSetCategories_ConfigPropertyMetadata);
329
- const createResourceParams$f = /*#__PURE__*/ createResourceParams$g(getDocumentClauseSetCategories_ConfigPropertyMetadata);
330
- function keyBuilder$l(luvio, config) {
331
- const resourceParams = createResourceParams$f(config);
332
- return keyBuilder$m(luvio, resourceParams);
328
+ const getDocumentClauseSetCategories_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$g, getDocumentClauseSetCategories_ConfigPropertyMetadata);
329
+ const createResourceParams$g = /*#__PURE__*/ createResourceParams$h(getDocumentClauseSetCategories_ConfigPropertyMetadata);
330
+ function keyBuilder$m(luvio, config) {
331
+ const resourceParams = createResourceParams$g(config);
332
+ return keyBuilder$n(luvio, resourceParams);
333
333
  }
334
- function typeCheckConfig$f(untrustedConfig) {
334
+ function typeCheckConfig$g(untrustedConfig) {
335
335
  const config = {};
336
- typeCheckConfig$g(untrustedConfig, config, getDocumentClauseSetCategories_ConfigPropertyMetadata);
336
+ typeCheckConfig$h(untrustedConfig, config, getDocumentClauseSetCategories_ConfigPropertyMetadata);
337
337
  return config;
338
338
  }
339
- function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
339
+ function validateAdapterConfig$g(untrustedConfig, configPropertyNames) {
340
340
  if (!untrustedIsObject(untrustedConfig)) {
341
341
  return null;
342
342
  }
343
343
  if (process.env.NODE_ENV !== 'production') {
344
344
  validateConfig(untrustedConfig, configPropertyNames);
345
345
  }
346
- const config = typeCheckConfig$f(untrustedConfig);
346
+ const config = typeCheckConfig$g(untrustedConfig);
347
347
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
348
348
  return null;
349
349
  }
350
350
  return config;
351
351
  }
352
352
  function adapterFragment$7(luvio, config) {
353
- createResourceParams$f(config);
354
- return select$z();
353
+ createResourceParams$g(config);
354
+ return select$D();
355
355
  }
356
356
  function onFetchResponseSuccess$7(luvio, config, resourceParams, response) {
357
- const snapshot = ingestSuccess$f(luvio, resourceParams, response, {
357
+ const snapshot = ingestSuccess$g(luvio, resourceParams, response, {
358
358
  config,
359
- resolve: () => buildNetworkSnapshot$f(luvio, config, snapshotRefreshOptions)
359
+ resolve: () => buildNetworkSnapshot$g(luvio, config, snapshotRefreshOptions)
360
360
  });
361
361
  return luvio.storeBroadcast().then(() => snapshot);
362
362
  }
363
363
  function onFetchResponseError$7(luvio, config, resourceParams, response) {
364
364
  const snapshot = ingestError$7(luvio, resourceParams, response, {
365
365
  config,
366
- resolve: () => buildNetworkSnapshot$f(luvio, config, snapshotRefreshOptions)
366
+ resolve: () => buildNetworkSnapshot$g(luvio, config, snapshotRefreshOptions)
367
367
  });
368
368
  return luvio.storeBroadcast().then(() => snapshot);
369
369
  }
370
- function buildNetworkSnapshot$f(luvio, config, options) {
371
- const resourceParams = createResourceParams$f(config);
372
- const request = createResourceRequest$f(resourceParams);
370
+ function buildNetworkSnapshot$g(luvio, config, options) {
371
+ const resourceParams = createResourceParams$g(config);
372
+ const request = createResourceRequest$g(resourceParams);
373
373
  return luvio.dispatchResourceRequest(request, options)
374
374
  .then((response) => {
375
375
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$7(luvio, config, resourceParams, response), () => {
376
376
  const cache = new StoreKeyMap();
377
- getResponseCacheKeys$f(cache, luvio, resourceParams, response.body);
377
+ getResponseCacheKeys$g(cache, luvio, resourceParams, response.body);
378
378
  return cache;
379
379
  });
380
380
  }, (response) => {
@@ -382,23 +382,23 @@ function buildNetworkSnapshot$f(luvio, config, options) {
382
382
  });
383
383
  }
384
384
  function buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext) {
385
- return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$f, undefined, false);
385
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$g, undefined, false);
386
386
  }
387
387
  function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
388
388
  const { luvio, config } = context;
389
389
  const selector = {
390
- recordId: keyBuilder$l(luvio, config),
390
+ recordId: keyBuilder$m(luvio, config),
391
391
  node: adapterFragment$7(luvio, config),
392
392
  variables: {},
393
393
  };
394
394
  const cacheSnapshot = storeLookup(selector, {
395
395
  config,
396
- resolve: () => buildNetworkSnapshot$f(luvio, config, snapshotRefreshOptions)
396
+ resolve: () => buildNetworkSnapshot$g(luvio, config, snapshotRefreshOptions)
397
397
  });
398
398
  return cacheSnapshot;
399
399
  }
400
400
  const getDocumentClauseSetCategoriesAdapterFactory = (luvio) => function docgen__getDocumentClauseSetCategories(untrustedConfig, requestContext) {
401
- const config = validateAdapterConfig$f(untrustedConfig, getDocumentClauseSetCategories_ConfigPropertyNames);
401
+ const config = validateAdapterConfig$g(untrustedConfig, getDocumentClauseSetCategories_ConfigPropertyNames);
402
402
  // Invalid or incomplete config
403
403
  if (config === null) {
404
404
  return null;
@@ -407,8 +407,8 @@ const getDocumentClauseSetCategoriesAdapterFactory = (luvio) => function docgen_
407
407
  buildCachedSnapshotCachePolicy$7, buildNetworkSnapshotCachePolicy$7);
408
408
  };
409
409
 
410
- const VERSION$j = "29a9e61a0952cff8f7e98cc7d8857c62";
411
- function validate$n(obj, path = 'DocumentClauseSetResponse') {
410
+ const VERSION$m = "29a9e61a0952cff8f7e98cc7d8857c62";
411
+ function validate$q(obj, path = 'DocumentClauseSetResponse') {
412
412
  const v_error = (() => {
413
413
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
414
414
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -446,10 +446,10 @@ function validate$n(obj, path = 'DocumentClauseSetResponse') {
446
446
  })();
447
447
  return v_error === undefined ? null : v_error;
448
448
  }
449
- const select$y = function DocumentClauseSetResponseSelect() {
449
+ const select$C = function DocumentClauseSetResponseSelect() {
450
450
  return {
451
451
  kind: 'Fragment',
452
- version: VERSION$j,
452
+ version: VERSION$m,
453
453
  private: [],
454
454
  selections: [
455
455
  {
@@ -479,7 +479,7 @@ const select$y = function DocumentClauseSetResponseSelect() {
479
479
  ]
480
480
  };
481
481
  };
482
- function equals$j(existing, incoming) {
482
+ function equals$m(existing, incoming) {
483
483
  const existing_category = existing.category;
484
484
  const incoming_category = incoming.category;
485
485
  if (!(existing_category === incoming_category)) {
@@ -513,9 +513,9 @@ function equals$j(existing, incoming) {
513
513
  return true;
514
514
  }
515
515
 
516
- const TTL$8 = 100;
517
- const VERSION$i = "c6ad1fbdbd4d8cd718a8a62c63216687";
518
- function validate$m(obj, path = 'DocumentClauseSetListResponse') {
516
+ const TTL$9 = 100;
517
+ const VERSION$l = "c6ad1fbdbd4d8cd718a8a62c63216687";
518
+ function validate$p(obj, path = 'DocumentClauseSetListResponse') {
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 + '")');
@@ -528,7 +528,7 @@ function validate$m(obj, path = 'DocumentClauseSetListResponse') {
528
528
  for (let i = 0; i < obj_documentClauseSets.length; i++) {
529
529
  const obj_documentClauseSets_item = obj_documentClauseSets[i];
530
530
  const path_documentClauseSets_item = path_documentClauseSets + '[' + i + ']';
531
- const referencepath_documentClauseSets_itemValidationError = validate$n(obj_documentClauseSets_item, path_documentClauseSets_item);
531
+ const referencepath_documentClauseSets_itemValidationError = validate$q(obj_documentClauseSets_item, path_documentClauseSets_item);
532
532
  if (referencepath_documentClauseSets_itemValidationError !== null) {
533
533
  let message = 'Object doesn\'t match DocumentClauseSetResponse (at "' + path_documentClauseSets_item + '")\n';
534
534
  message += referencepath_documentClauseSets_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -538,15 +538,15 @@ function validate$m(obj, path = 'DocumentClauseSetListResponse') {
538
538
  })();
539
539
  return v_error === undefined ? null : v_error;
540
540
  }
541
- const RepresentationType$d = 'DocumentClauseSetListResponse';
542
- function normalize$d(input, existing, path, luvio, store, timestamp) {
541
+ const RepresentationType$e = 'DocumentClauseSetListResponse';
542
+ function normalize$e(input, existing, path, luvio, store, timestamp) {
543
543
  return input;
544
544
  }
545
- const select$x = function DocumentClauseSetListResponseSelect() {
546
- const { selections: DocumentClauseSetResponse__selections, opaque: DocumentClauseSetResponse__opaque, } = select$y();
545
+ const select$B = function DocumentClauseSetListResponseSelect() {
546
+ const { selections: DocumentClauseSetResponse__selections, opaque: DocumentClauseSetResponse__opaque, } = select$C();
547
547
  return {
548
548
  kind: 'Fragment',
549
- version: VERSION$i,
549
+ version: VERSION$l,
550
550
  private: [],
551
551
  selections: [
552
552
  {
@@ -558,11 +558,11 @@ const select$x = function DocumentClauseSetListResponseSelect() {
558
558
  ]
559
559
  };
560
560
  };
561
- function equals$i(existing, incoming) {
561
+ function equals$l(existing, incoming) {
562
562
  const existing_documentClauseSets = existing.documentClauseSets;
563
563
  const incoming_documentClauseSets = incoming.documentClauseSets;
564
564
  const equals_documentClauseSets_items = equalsArray(existing_documentClauseSets, incoming_documentClauseSets, (existing_documentClauseSets_item, incoming_documentClauseSets_item) => {
565
- if (!(equals$j(existing_documentClauseSets_item, incoming_documentClauseSets_item))) {
565
+ if (!(equals$m(existing_documentClauseSets_item, incoming_documentClauseSets_item))) {
566
566
  return false;
567
567
  }
568
568
  });
@@ -571,44 +571,44 @@ function equals$i(existing, incoming) {
571
571
  }
572
572
  return true;
573
573
  }
574
- const ingest$d = function DocumentClauseSetListResponseIngest(input, path, luvio, store, timestamp) {
574
+ const ingest$e = function DocumentClauseSetListResponseIngest(input, path, luvio, store, timestamp) {
575
575
  if (process.env.NODE_ENV !== 'production') {
576
- const validateError = validate$m(input);
576
+ const validateError = validate$p(input);
577
577
  if (validateError !== null) {
578
578
  throw validateError;
579
579
  }
580
580
  }
581
581
  const key = path.fullPath;
582
- const ttlToUse = TTL$8;
583
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "docgen", VERSION$i, RepresentationType$d, equals$i);
582
+ const ttlToUse = TTL$9;
583
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "docgen", VERSION$l, RepresentationType$e, equals$l);
584
584
  return createLink(key);
585
585
  };
586
- function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
586
+ function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
587
587
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
588
588
  const rootKey = fullPathFactory();
589
589
  rootKeySet.set(rootKey, {
590
590
  namespace: keyPrefix,
591
- representationName: RepresentationType$d,
591
+ representationName: RepresentationType$e,
592
592
  mergeable: false
593
593
  });
594
594
  }
595
595
 
596
- function select$w(luvio, params) {
597
- return select$x();
596
+ function select$A(luvio, params) {
597
+ return select$B();
598
598
  }
599
- function keyBuilder$k(luvio, params) {
599
+ function keyBuilder$l(luvio, params) {
600
600
  return keyPrefix + '::DocumentClauseSetListResponse:(' + 'category:' + params.queryParams.category + ',' + 'defaultLanguage:' + params.queryParams.defaultLanguage + ',' + 'limit:' + params.queryParams.limit + ',' + 'name:' + params.queryParams.name + ',' + 'offset:' + params.queryParams.offset + ',' + 'status:' + params.queryParams.status + ')';
601
601
  }
602
- function getResponseCacheKeys$e(storeKeyMap, luvio, resourceParams, response) {
603
- getTypeCacheKeys$d(storeKeyMap, luvio, response, () => keyBuilder$k(luvio, resourceParams));
602
+ function getResponseCacheKeys$f(storeKeyMap, luvio, resourceParams, response) {
603
+ getTypeCacheKeys$e(storeKeyMap, luvio, response, () => keyBuilder$l(luvio, resourceParams));
604
604
  }
605
- function ingestSuccess$e(luvio, resourceParams, response, snapshotRefresh) {
605
+ function ingestSuccess$f(luvio, resourceParams, response, snapshotRefresh) {
606
606
  const { body } = response;
607
- const key = keyBuilder$k(luvio, resourceParams);
608
- luvio.storeIngest(key, ingest$d, body);
607
+ const key = keyBuilder$l(luvio, resourceParams);
608
+ luvio.storeIngest(key, ingest$e, body);
609
609
  const snapshot = luvio.storeLookup({
610
610
  recordId: key,
611
- node: select$w(),
611
+ node: select$A(),
612
612
  variables: {},
613
613
  }, snapshotRefresh);
614
614
  if (process.env.NODE_ENV !== 'production') {
@@ -620,18 +620,18 @@ function ingestSuccess$e(luvio, resourceParams, response, snapshotRefresh) {
620
620
  return snapshot;
621
621
  }
622
622
  function ingestError$6(luvio, params, error, snapshotRefresh) {
623
- const key = keyBuilder$k(luvio, params);
623
+ const key = keyBuilder$l(luvio, params);
624
624
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
625
625
  const storeMetadataParams = {
626
- ttl: TTL$8,
626
+ ttl: TTL$9,
627
627
  namespace: keyPrefix,
628
- version: VERSION$i,
629
- representationName: RepresentationType$d
628
+ version: VERSION$l,
629
+ representationName: RepresentationType$e
630
630
  };
631
631
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
632
632
  return errorSnapshot;
633
633
  }
634
- function createResourceRequest$e(config) {
634
+ function createResourceRequest$f(config) {
635
635
  const headers = {};
636
636
  return {
637
637
  baseUri: '/services/data/v62.0',
@@ -645,7 +645,7 @@ function createResourceRequest$e(config) {
645
645
  };
646
646
  }
647
647
 
648
- const adapterName$e = 'getDocumentClauseSets';
648
+ const adapterName$f = 'getDocumentClauseSets';
649
649
  const getDocumentClauseSets_ConfigPropertyMetadata = [
650
650
  generateParamConfigMetadata('category', false, 1 /* QueryParameter */, 0 /* String */),
651
651
  generateParamConfigMetadata('defaultLanguage', false, 1 /* QueryParameter */, 0 /* String */),
@@ -654,56 +654,56 @@ const getDocumentClauseSets_ConfigPropertyMetadata = [
654
654
  generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
655
655
  generateParamConfigMetadata('status', false, 1 /* QueryParameter */, 0 /* String */),
656
656
  ];
657
- const getDocumentClauseSets_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$e, getDocumentClauseSets_ConfigPropertyMetadata);
658
- const createResourceParams$e = /*#__PURE__*/ createResourceParams$g(getDocumentClauseSets_ConfigPropertyMetadata);
659
- function keyBuilder$j(luvio, config) {
660
- const resourceParams = createResourceParams$e(config);
661
- return keyBuilder$k(luvio, resourceParams);
657
+ const getDocumentClauseSets_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, getDocumentClauseSets_ConfigPropertyMetadata);
658
+ const createResourceParams$f = /*#__PURE__*/ createResourceParams$h(getDocumentClauseSets_ConfigPropertyMetadata);
659
+ function keyBuilder$k(luvio, config) {
660
+ const resourceParams = createResourceParams$f(config);
661
+ return keyBuilder$l(luvio, resourceParams);
662
662
  }
663
- function typeCheckConfig$e(untrustedConfig) {
663
+ function typeCheckConfig$f(untrustedConfig) {
664
664
  const config = {};
665
- typeCheckConfig$g(untrustedConfig, config, getDocumentClauseSets_ConfigPropertyMetadata);
665
+ typeCheckConfig$h(untrustedConfig, config, getDocumentClauseSets_ConfigPropertyMetadata);
666
666
  return config;
667
667
  }
668
- function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
668
+ function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
669
669
  if (!untrustedIsObject(untrustedConfig)) {
670
670
  return null;
671
671
  }
672
672
  if (process.env.NODE_ENV !== 'production') {
673
673
  validateConfig(untrustedConfig, configPropertyNames);
674
674
  }
675
- const config = typeCheckConfig$e(untrustedConfig);
675
+ const config = typeCheckConfig$f(untrustedConfig);
676
676
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
677
677
  return null;
678
678
  }
679
679
  return config;
680
680
  }
681
681
  function adapterFragment$6(luvio, config) {
682
- createResourceParams$e(config);
683
- return select$w();
682
+ createResourceParams$f(config);
683
+ return select$A();
684
684
  }
685
685
  function onFetchResponseSuccess$6(luvio, config, resourceParams, response) {
686
- const snapshot = ingestSuccess$e(luvio, resourceParams, response, {
686
+ const snapshot = ingestSuccess$f(luvio, resourceParams, response, {
687
687
  config,
688
- resolve: () => buildNetworkSnapshot$e(luvio, config, snapshotRefreshOptions)
688
+ resolve: () => buildNetworkSnapshot$f(luvio, config, snapshotRefreshOptions)
689
689
  });
690
690
  return luvio.storeBroadcast().then(() => snapshot);
691
691
  }
692
692
  function onFetchResponseError$6(luvio, config, resourceParams, response) {
693
693
  const snapshot = ingestError$6(luvio, resourceParams, response, {
694
694
  config,
695
- resolve: () => buildNetworkSnapshot$e(luvio, config, snapshotRefreshOptions)
695
+ resolve: () => buildNetworkSnapshot$f(luvio, config, snapshotRefreshOptions)
696
696
  });
697
697
  return luvio.storeBroadcast().then(() => snapshot);
698
698
  }
699
- function buildNetworkSnapshot$e(luvio, config, options) {
700
- const resourceParams = createResourceParams$e(config);
701
- const request = createResourceRequest$e(resourceParams);
699
+ function buildNetworkSnapshot$f(luvio, config, options) {
700
+ const resourceParams = createResourceParams$f(config);
701
+ const request = createResourceRequest$f(resourceParams);
702
702
  return luvio.dispatchResourceRequest(request, options)
703
703
  .then((response) => {
704
704
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$6(luvio, config, resourceParams, response), () => {
705
705
  const cache = new StoreKeyMap();
706
- getResponseCacheKeys$e(cache, luvio, resourceParams, response.body);
706
+ getResponseCacheKeys$f(cache, luvio, resourceParams, response.body);
707
707
  return cache;
708
708
  });
709
709
  }, (response) => {
@@ -711,23 +711,23 @@ function buildNetworkSnapshot$e(luvio, config, options) {
711
711
  });
712
712
  }
713
713
  function buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext) {
714
- return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$e, undefined, false);
714
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$f, undefined, false);
715
715
  }
716
716
  function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
717
717
  const { luvio, config } = context;
718
718
  const selector = {
719
- recordId: keyBuilder$j(luvio, config),
719
+ recordId: keyBuilder$k(luvio, config),
720
720
  node: adapterFragment$6(luvio, config),
721
721
  variables: {},
722
722
  };
723
723
  const cacheSnapshot = storeLookup(selector, {
724
724
  config,
725
- resolve: () => buildNetworkSnapshot$e(luvio, config, snapshotRefreshOptions)
725
+ resolve: () => buildNetworkSnapshot$f(luvio, config, snapshotRefreshOptions)
726
726
  });
727
727
  return cacheSnapshot;
728
728
  }
729
729
  const getDocumentClauseSetsAdapterFactory = (luvio) => function docgen__getDocumentClauseSets(untrustedConfig, requestContext) {
730
- const config = validateAdapterConfig$e(untrustedConfig, getDocumentClauseSets_ConfigPropertyNames);
730
+ const config = validateAdapterConfig$f(untrustedConfig, getDocumentClauseSets_ConfigPropertyNames);
731
731
  // Invalid or incomplete config
732
732
  if (config === null) {
733
733
  return null;
@@ -736,9 +736,9 @@ const getDocumentClauseSetsAdapterFactory = (luvio) => function docgen__getDocum
736
736
  buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$6);
737
737
  };
738
738
 
739
- const TTL$7 = 100;
740
- const VERSION$h = "a3afe2a67715551a49f0d59eafb639aa";
741
- function validate$l(obj, path = 'DocumentClauseFieldsResponse') {
739
+ const TTL$8 = 100;
740
+ const VERSION$k = "a3afe2a67715551a49f0d59eafb639aa";
741
+ function validate$o(obj, path = 'DocumentClauseFieldsResponse') {
742
742
  const v_error = (() => {
743
743
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
744
744
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -763,14 +763,14 @@ function validate$l(obj, path = 'DocumentClauseFieldsResponse') {
763
763
  })();
764
764
  return v_error === undefined ? null : v_error;
765
765
  }
766
- const RepresentationType$c = 'DocumentClauseFieldsResponse';
767
- function normalize$c(input, existing, path, luvio, store, timestamp) {
766
+ const RepresentationType$d = 'DocumentClauseFieldsResponse';
767
+ function normalize$d(input, existing, path, luvio, store, timestamp) {
768
768
  return input;
769
769
  }
770
- const select$v = function DocumentClauseFieldsResponseSelect() {
770
+ const select$z = function DocumentClauseFieldsResponseSelect() {
771
771
  return {
772
772
  kind: 'Fragment',
773
- version: VERSION$h,
773
+ version: VERSION$k,
774
774
  private: [],
775
775
  selections: [
776
776
  {
@@ -786,7 +786,7 @@ const select$v = function DocumentClauseFieldsResponseSelect() {
786
786
  ]
787
787
  };
788
788
  };
789
- function equals$h(existing, incoming) {
789
+ function equals$k(existing, incoming) {
790
790
  const existing_extendedFields = existing.extendedFields;
791
791
  const incoming_extendedFields = incoming.extendedFields;
792
792
  if (JSONStringify(incoming_extendedFields) !== JSONStringify(existing_extendedFields)) {
@@ -804,44 +804,44 @@ function equals$h(existing, incoming) {
804
804
  }
805
805
  return true;
806
806
  }
807
- const ingest$c = function DocumentClauseFieldsResponseIngest(input, path, luvio, store, timestamp) {
807
+ const ingest$d = function DocumentClauseFieldsResponseIngest(input, path, luvio, store, timestamp) {
808
808
  if (process.env.NODE_ENV !== 'production') {
809
- const validateError = validate$l(input);
809
+ const validateError = validate$o(input);
810
810
  if (validateError !== null) {
811
811
  throw validateError;
812
812
  }
813
813
  }
814
814
  const key = path.fullPath;
815
- const ttlToUse = TTL$7;
816
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "docgen", VERSION$h, RepresentationType$c, equals$h);
815
+ const ttlToUse = TTL$8;
816
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "docgen", VERSION$k, RepresentationType$d, equals$k);
817
817
  return createLink(key);
818
818
  };
819
- function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
819
+ function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
820
820
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
821
821
  const rootKey = fullPathFactory();
822
822
  rootKeySet.set(rootKey, {
823
823
  namespace: keyPrefix,
824
- representationName: RepresentationType$c,
824
+ representationName: RepresentationType$d,
825
825
  mergeable: false
826
826
  });
827
827
  }
828
828
 
829
- function select$u(luvio, params) {
830
- return select$v();
829
+ function select$y(luvio, params) {
830
+ return select$z();
831
831
  }
832
- function keyBuilder$i(luvio, params) {
832
+ function keyBuilder$j(luvio, params) {
833
833
  return keyPrefix + '::DocumentClauseFieldsResponse:(' + 'clauseSetId:' + params.queryParams.clauseSetId + ',' + 'extendedFields:' + params.queryParams.extendedFields + ',' + 'fieldName:' + params.queryParams.fieldName + ',' + 'language:' + params.queryParams.language + ',' + 'name:' + params.queryParams.name + ',' + 'status:' + params.queryParams.status + ')';
834
834
  }
835
- function getResponseCacheKeys$d(storeKeyMap, luvio, resourceParams, response) {
836
- getTypeCacheKeys$c(storeKeyMap, luvio, response, () => keyBuilder$i(luvio, resourceParams));
835
+ function getResponseCacheKeys$e(storeKeyMap, luvio, resourceParams, response) {
836
+ getTypeCacheKeys$d(storeKeyMap, luvio, response, () => keyBuilder$j(luvio, resourceParams));
837
837
  }
838
- function ingestSuccess$d(luvio, resourceParams, response, snapshotRefresh) {
838
+ function ingestSuccess$e(luvio, resourceParams, response, snapshotRefresh) {
839
839
  const { body } = response;
840
- const key = keyBuilder$i(luvio, resourceParams);
841
- luvio.storeIngest(key, ingest$c, body);
840
+ const key = keyBuilder$j(luvio, resourceParams);
841
+ luvio.storeIngest(key, ingest$d, body);
842
842
  const snapshot = luvio.storeLookup({
843
843
  recordId: key,
844
- node: select$u(),
844
+ node: select$y(),
845
845
  variables: {},
846
846
  }, snapshotRefresh);
847
847
  if (process.env.NODE_ENV !== 'production') {
@@ -853,18 +853,18 @@ function ingestSuccess$d(luvio, resourceParams, response, snapshotRefresh) {
853
853
  return snapshot;
854
854
  }
855
855
  function ingestError$5(luvio, params, error, snapshotRefresh) {
856
- const key = keyBuilder$i(luvio, params);
856
+ const key = keyBuilder$j(luvio, params);
857
857
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
858
858
  const storeMetadataParams = {
859
- ttl: TTL$7,
859
+ ttl: TTL$8,
860
860
  namespace: keyPrefix,
861
- version: VERSION$h,
862
- representationName: RepresentationType$c
861
+ version: VERSION$k,
862
+ representationName: RepresentationType$d
863
863
  };
864
864
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
865
865
  return errorSnapshot;
866
866
  }
867
- function createResourceRequest$d(config) {
867
+ function createResourceRequest$e(config) {
868
868
  const headers = {};
869
869
  return {
870
870
  baseUri: '/services/data/v62.0',
@@ -878,7 +878,7 @@ function createResourceRequest$d(config) {
878
878
  };
879
879
  }
880
880
 
881
- const adapterName$d = 'getDocumentClauseFields';
881
+ const adapterName$e = 'getDocumentClauseFields';
882
882
  const getDocumentClauseFields_ConfigPropertyMetadata = [
883
883
  generateParamConfigMetadata('clauseSetId', false, 1 /* QueryParameter */, 0 /* String */),
884
884
  generateParamConfigMetadata('extendedFields', false, 1 /* QueryParameter */, 0 /* String */),
@@ -887,56 +887,56 @@ const getDocumentClauseFields_ConfigPropertyMetadata = [
887
887
  generateParamConfigMetadata('name', false, 1 /* QueryParameter */, 0 /* String */),
888
888
  generateParamConfigMetadata('status', false, 1 /* QueryParameter */, 0 /* String */),
889
889
  ];
890
- const getDocumentClauseFields_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, getDocumentClauseFields_ConfigPropertyMetadata);
891
- const createResourceParams$d = /*#__PURE__*/ createResourceParams$g(getDocumentClauseFields_ConfigPropertyMetadata);
892
- function keyBuilder$h(luvio, config) {
893
- const resourceParams = createResourceParams$d(config);
894
- return keyBuilder$i(luvio, resourceParams);
890
+ const getDocumentClauseFields_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$e, getDocumentClauseFields_ConfigPropertyMetadata);
891
+ const createResourceParams$e = /*#__PURE__*/ createResourceParams$h(getDocumentClauseFields_ConfigPropertyMetadata);
892
+ function keyBuilder$i(luvio, config) {
893
+ const resourceParams = createResourceParams$e(config);
894
+ return keyBuilder$j(luvio, resourceParams);
895
895
  }
896
- function typeCheckConfig$d(untrustedConfig) {
896
+ function typeCheckConfig$e(untrustedConfig) {
897
897
  const config = {};
898
- typeCheckConfig$g(untrustedConfig, config, getDocumentClauseFields_ConfigPropertyMetadata);
898
+ typeCheckConfig$h(untrustedConfig, config, getDocumentClauseFields_ConfigPropertyMetadata);
899
899
  return config;
900
900
  }
901
- function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
901
+ function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
902
902
  if (!untrustedIsObject(untrustedConfig)) {
903
903
  return null;
904
904
  }
905
905
  if (process.env.NODE_ENV !== 'production') {
906
906
  validateConfig(untrustedConfig, configPropertyNames);
907
907
  }
908
- const config = typeCheckConfig$d(untrustedConfig);
908
+ const config = typeCheckConfig$e(untrustedConfig);
909
909
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
910
910
  return null;
911
911
  }
912
912
  return config;
913
913
  }
914
914
  function adapterFragment$5(luvio, config) {
915
- createResourceParams$d(config);
916
- return select$u();
915
+ createResourceParams$e(config);
916
+ return select$y();
917
917
  }
918
918
  function onFetchResponseSuccess$5(luvio, config, resourceParams, response) {
919
- const snapshot = ingestSuccess$d(luvio, resourceParams, response, {
919
+ const snapshot = ingestSuccess$e(luvio, resourceParams, response, {
920
920
  config,
921
- resolve: () => buildNetworkSnapshot$d(luvio, config, snapshotRefreshOptions)
921
+ resolve: () => buildNetworkSnapshot$e(luvio, config, snapshotRefreshOptions)
922
922
  });
923
923
  return luvio.storeBroadcast().then(() => snapshot);
924
924
  }
925
925
  function onFetchResponseError$5(luvio, config, resourceParams, response) {
926
926
  const snapshot = ingestError$5(luvio, resourceParams, response, {
927
927
  config,
928
- resolve: () => buildNetworkSnapshot$d(luvio, config, snapshotRefreshOptions)
928
+ resolve: () => buildNetworkSnapshot$e(luvio, config, snapshotRefreshOptions)
929
929
  });
930
930
  return luvio.storeBroadcast().then(() => snapshot);
931
931
  }
932
- function buildNetworkSnapshot$d(luvio, config, options) {
933
- const resourceParams = createResourceParams$d(config);
934
- const request = createResourceRequest$d(resourceParams);
932
+ function buildNetworkSnapshot$e(luvio, config, options) {
933
+ const resourceParams = createResourceParams$e(config);
934
+ const request = createResourceRequest$e(resourceParams);
935
935
  return luvio.dispatchResourceRequest(request, options)
936
936
  .then((response) => {
937
937
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$5(luvio, config, resourceParams, response), () => {
938
938
  const cache = new StoreKeyMap();
939
- getResponseCacheKeys$d(cache, luvio, resourceParams, response.body);
939
+ getResponseCacheKeys$e(cache, luvio, resourceParams, response.body);
940
940
  return cache;
941
941
  });
942
942
  }, (response) => {
@@ -944,23 +944,23 @@ function buildNetworkSnapshot$d(luvio, config, options) {
944
944
  });
945
945
  }
946
946
  function buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext) {
947
- return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$d, undefined, false);
947
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$e, undefined, false);
948
948
  }
949
949
  function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
950
950
  const { luvio, config } = context;
951
951
  const selector = {
952
- recordId: keyBuilder$h(luvio, config),
952
+ recordId: keyBuilder$i(luvio, config),
953
953
  node: adapterFragment$5(luvio, config),
954
954
  variables: {},
955
955
  };
956
956
  const cacheSnapshot = storeLookup(selector, {
957
957
  config,
958
- resolve: () => buildNetworkSnapshot$d(luvio, config, snapshotRefreshOptions)
958
+ resolve: () => buildNetworkSnapshot$e(luvio, config, snapshotRefreshOptions)
959
959
  });
960
960
  return cacheSnapshot;
961
961
  }
962
962
  const getDocumentClauseFieldsAdapterFactory = (luvio) => function docgen__getDocumentClauseFields(untrustedConfig, requestContext) {
963
- const config = validateAdapterConfig$d(untrustedConfig, getDocumentClauseFields_ConfigPropertyNames);
963
+ const config = validateAdapterConfig$e(untrustedConfig, getDocumentClauseFields_ConfigPropertyNames);
964
964
  // Invalid or incomplete config
965
965
  if (config === null) {
966
966
  return null;
@@ -969,9 +969,9 @@ const getDocumentClauseFieldsAdapterFactory = (luvio) => function docgen__getDoc
969
969
  buildCachedSnapshotCachePolicy$5, buildNetworkSnapshotCachePolicy$5);
970
970
  };
971
971
 
972
- const TTL$6 = 60000;
973
- const VERSION$g = "af0246ac09fd1b3b2a939d90b8caa15d";
974
- function validate$k(obj, path = 'DocumentClausePromotionResponse') {
972
+ const TTL$7 = 60000;
973
+ const VERSION$j = "af0246ac09fd1b3b2a939d90b8caa15d";
974
+ function validate$n(obj, path = 'DocumentClausePromotionResponse') {
975
975
  const v_error = (() => {
976
976
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
977
977
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -989,23 +989,23 @@ function validate$k(obj, path = 'DocumentClausePromotionResponse') {
989
989
  })();
990
990
  return v_error === undefined ? null : v_error;
991
991
  }
992
- const RepresentationType$b = 'DocumentClausePromotionResponse';
993
- function keyBuilder$g(luvio, config) {
994
- return keyPrefix + '::' + RepresentationType$b + ':' + config.isSuccess;
992
+ const RepresentationType$c = 'DocumentClausePromotionResponse';
993
+ function keyBuilder$h(luvio, config) {
994
+ return keyPrefix + '::' + RepresentationType$c + ':' + config.isSuccess;
995
995
  }
996
- function keyBuilderFromType$6(luvio, object) {
996
+ function keyBuilderFromType$7(luvio, object) {
997
997
  const keyParams = {
998
998
  isSuccess: object.isSuccess
999
999
  };
1000
- return keyBuilder$g(luvio, keyParams);
1000
+ return keyBuilder$h(luvio, keyParams);
1001
1001
  }
1002
- function normalize$b(input, existing, path, luvio, store, timestamp) {
1002
+ function normalize$c(input, existing, path, luvio, store, timestamp) {
1003
1003
  return input;
1004
1004
  }
1005
- const select$t = function DocumentClausePromotionResponseSelect() {
1005
+ const select$x = function DocumentClausePromotionResponseSelect() {
1006
1006
  return {
1007
1007
  kind: 'Fragment',
1008
- version: VERSION$g,
1008
+ version: VERSION$j,
1009
1009
  private: [],
1010
1010
  selections: [
1011
1011
  {
@@ -1019,7 +1019,7 @@ const select$t = function DocumentClausePromotionResponseSelect() {
1019
1019
  ]
1020
1020
  };
1021
1021
  };
1022
- function equals$g(existing, incoming) {
1022
+ function equals$j(existing, incoming) {
1023
1023
  const existing_isSuccess = existing.isSuccess;
1024
1024
  const incoming_isSuccess = incoming.isSuccess;
1025
1025
  if (!(existing_isSuccess === incoming_isSuccess)) {
@@ -1032,7 +1032,361 @@ function equals$g(existing, incoming) {
1032
1032
  }
1033
1033
  return true;
1034
1034
  }
1035
- const ingest$b = function DocumentClausePromotionResponseIngest(input, path, luvio, store, timestamp) {
1035
+ const ingest$c = function DocumentClausePromotionResponseIngest(input, path, luvio, store, timestamp) {
1036
+ if (process.env.NODE_ENV !== 'production') {
1037
+ const validateError = validate$n(input);
1038
+ if (validateError !== null) {
1039
+ throw validateError;
1040
+ }
1041
+ }
1042
+ const key = keyBuilderFromType$7(luvio, input);
1043
+ const ttlToUse = TTL$7;
1044
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "docgen", VERSION$j, RepresentationType$c, equals$j);
1045
+ return createLink(key);
1046
+ };
1047
+ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
1048
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1049
+ const rootKey = keyBuilderFromType$7(luvio, input);
1050
+ rootKeySet.set(rootKey, {
1051
+ namespace: keyPrefix,
1052
+ representationName: RepresentationType$c,
1053
+ mergeable: false
1054
+ });
1055
+ }
1056
+
1057
+ function select$w(luvio, params) {
1058
+ return select$x();
1059
+ }
1060
+ function getResponseCacheKeys$d(storeKeyMap, luvio, resourceParams, response) {
1061
+ getTypeCacheKeys$c(storeKeyMap, luvio, response);
1062
+ }
1063
+ function ingestSuccess$d(luvio, resourceParams, response) {
1064
+ const { body } = response;
1065
+ const key = keyBuilderFromType$7(luvio, body);
1066
+ luvio.storeIngest(key, ingest$c, body);
1067
+ const snapshot = luvio.storeLookup({
1068
+ recordId: key,
1069
+ node: select$w(),
1070
+ variables: {},
1071
+ });
1072
+ if (process.env.NODE_ENV !== 'production') {
1073
+ if (snapshot.state !== 'Fulfilled') {
1074
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
1075
+ }
1076
+ }
1077
+ deepFreeze(snapshot.data);
1078
+ return snapshot;
1079
+ }
1080
+ function createResourceRequest$d(config) {
1081
+ const headers = {};
1082
+ return {
1083
+ baseUri: '/services/data/v62.0',
1084
+ basePath: '/connect/clause-library/promote-clause',
1085
+ method: 'post',
1086
+ body: config.body,
1087
+ urlParams: {},
1088
+ queryParams: {},
1089
+ headers,
1090
+ priority: 'normal',
1091
+ };
1092
+ }
1093
+
1094
+ const adapterName$d = 'postDocumentClausePromotion';
1095
+ const postDocumentClausePromotion_ConfigPropertyMetadata = [
1096
+ generateParamConfigMetadata('clauseContent', true, 2 /* Body */, 0 /* String */),
1097
+ generateParamConfigMetadata('clauseDescription', true, 2 /* Body */, 0 /* String */),
1098
+ generateParamConfigMetadata('clauseName', true, 2 /* Body */, 0 /* String */),
1099
+ generateParamConfigMetadata('clauseSetId', true, 2 /* Body */, 0 /* String */),
1100
+ generateParamConfigMetadata('isAlternateClause', true, 2 /* Body */, 1 /* Boolean */),
1101
+ generateParamConfigMetadata('language', true, 2 /* Body */, 0 /* String */),
1102
+ generateParamConfigMetadata('nonStandardClauseRecordId', true, 2 /* Body */, 0 /* String */),
1103
+ generateParamConfigMetadata('notifyOnCompletion', true, 2 /* Body */, 1 /* Boolean */),
1104
+ ];
1105
+ const postDocumentClausePromotion_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, postDocumentClausePromotion_ConfigPropertyMetadata);
1106
+ const createResourceParams$d = /*#__PURE__*/ createResourceParams$h(postDocumentClausePromotion_ConfigPropertyMetadata);
1107
+ function typeCheckConfig$d(untrustedConfig) {
1108
+ const config = {};
1109
+ typeCheckConfig$h(untrustedConfig, config, postDocumentClausePromotion_ConfigPropertyMetadata);
1110
+ return config;
1111
+ }
1112
+ function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
1113
+ if (!untrustedIsObject(untrustedConfig)) {
1114
+ return null;
1115
+ }
1116
+ if (process.env.NODE_ENV !== 'production') {
1117
+ validateConfig(untrustedConfig, configPropertyNames);
1118
+ }
1119
+ const config = typeCheckConfig$d(untrustedConfig);
1120
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
1121
+ return null;
1122
+ }
1123
+ return config;
1124
+ }
1125
+ function buildNetworkSnapshot$d(luvio, config, options) {
1126
+ const resourceParams = createResourceParams$d(config);
1127
+ const request = createResourceRequest$d(resourceParams);
1128
+ return luvio.dispatchResourceRequest(request, options)
1129
+ .then((response) => {
1130
+ return luvio.handleSuccessResponse(() => {
1131
+ const snapshot = ingestSuccess$d(luvio, resourceParams, response);
1132
+ return luvio.storeBroadcast().then(() => snapshot);
1133
+ }, () => {
1134
+ const cache = new StoreKeyMap();
1135
+ getResponseCacheKeys$d(cache, luvio, resourceParams, response.body);
1136
+ return cache;
1137
+ });
1138
+ }, (response) => {
1139
+ deepFreeze(response);
1140
+ throw response;
1141
+ });
1142
+ }
1143
+ const postDocumentClausePromotionAdapterFactory = (luvio) => {
1144
+ return function postDocumentClausePromotion(untrustedConfig) {
1145
+ const config = validateAdapterConfig$d(untrustedConfig, postDocumentClausePromotion_ConfigPropertyNames);
1146
+ // Invalid or incomplete config
1147
+ if (config === null) {
1148
+ throw new Error('Invalid config for "postDocumentClausePromotion"');
1149
+ }
1150
+ return buildNetworkSnapshot$d(luvio, config);
1151
+ };
1152
+ };
1153
+
1154
+ const VERSION$i = "bcecd35d822e11f3f4857a8577050951";
1155
+ function validate$m(obj, path = 'ContentLinkDetailRepresentation') {
1156
+ const v_error = (() => {
1157
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1158
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1159
+ }
1160
+ const obj_content = obj.content;
1161
+ const path_content = path + '.content';
1162
+ if (typeof obj_content !== 'string') {
1163
+ return new TypeError('Expected "string" but received "' + typeof obj_content + '" (at "' + path_content + '")');
1164
+ }
1165
+ const obj_contentLinkId = obj.contentLinkId;
1166
+ const path_contentLinkId = path + '.contentLinkId';
1167
+ if (typeof obj_contentLinkId !== 'string') {
1168
+ return new TypeError('Expected "string" but received "' + typeof obj_contentLinkId + '" (at "' + path_contentLinkId + '")');
1169
+ }
1170
+ })();
1171
+ return v_error === undefined ? null : v_error;
1172
+ }
1173
+ const select$v = function ContentLinkDetailRepresentationSelect() {
1174
+ return {
1175
+ kind: 'Fragment',
1176
+ version: VERSION$i,
1177
+ private: [],
1178
+ selections: [
1179
+ {
1180
+ name: 'content',
1181
+ kind: 'Scalar'
1182
+ },
1183
+ {
1184
+ name: 'contentLinkId',
1185
+ kind: 'Scalar'
1186
+ }
1187
+ ]
1188
+ };
1189
+ };
1190
+ function equals$i(existing, incoming) {
1191
+ const existing_content = existing.content;
1192
+ const incoming_content = incoming.content;
1193
+ if (!(existing_content === incoming_content)) {
1194
+ return false;
1195
+ }
1196
+ const existing_contentLinkId = existing.contentLinkId;
1197
+ const incoming_contentLinkId = incoming.contentLinkId;
1198
+ if (!(existing_contentLinkId === incoming_contentLinkId)) {
1199
+ return false;
1200
+ }
1201
+ return true;
1202
+ }
1203
+
1204
+ const VERSION$h = "de7a13661428f2946d41eeaf8fc6bb91";
1205
+ function validate$l(obj, path = 'FailedContentLinkListRepresentation') {
1206
+ const v_error = (() => {
1207
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1208
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1209
+ }
1210
+ const obj_failedContentLinkId = obj.failedContentLinkId;
1211
+ const path_failedContentLinkId = path + '.failedContentLinkId';
1212
+ if (typeof obj_failedContentLinkId !== 'string') {
1213
+ return new TypeError('Expected "string" but received "' + typeof obj_failedContentLinkId + '" (at "' + path_failedContentLinkId + '")');
1214
+ }
1215
+ const obj_failureReason = obj.failureReason;
1216
+ const path_failureReason = path + '.failureReason';
1217
+ if (typeof obj_failureReason !== 'string') {
1218
+ return new TypeError('Expected "string" but received "' + typeof obj_failureReason + '" (at "' + path_failureReason + '")');
1219
+ }
1220
+ })();
1221
+ return v_error === undefined ? null : v_error;
1222
+ }
1223
+ const select$u = function FailedContentLinkListRepresentationSelect() {
1224
+ return {
1225
+ kind: 'Fragment',
1226
+ version: VERSION$h,
1227
+ private: [],
1228
+ selections: [
1229
+ {
1230
+ name: 'failedContentLinkId',
1231
+ kind: 'Scalar'
1232
+ },
1233
+ {
1234
+ name: 'failureReason',
1235
+ kind: 'Scalar'
1236
+ }
1237
+ ]
1238
+ };
1239
+ };
1240
+ function equals$h(existing, incoming) {
1241
+ const existing_failedContentLinkId = existing.failedContentLinkId;
1242
+ const incoming_failedContentLinkId = incoming.failedContentLinkId;
1243
+ if (!(existing_failedContentLinkId === incoming_failedContentLinkId)) {
1244
+ return false;
1245
+ }
1246
+ const existing_failureReason = existing.failureReason;
1247
+ const incoming_failureReason = incoming.failureReason;
1248
+ if (!(existing_failureReason === incoming_failureReason)) {
1249
+ return false;
1250
+ }
1251
+ return true;
1252
+ }
1253
+
1254
+ const TTL$6 = 60000;
1255
+ const VERSION$g = "1565c3d42af0656c3fee1a89447c1a2e";
1256
+ function validate$k(obj, path = 'ContentLinkListRepresentation') {
1257
+ const v_error = (() => {
1258
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1259
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1260
+ }
1261
+ if (obj.contentLinkDataList !== undefined) {
1262
+ const obj_contentLinkDataList = obj.contentLinkDataList;
1263
+ const path_contentLinkDataList = path + '.contentLinkDataList';
1264
+ if (!ArrayIsArray(obj_contentLinkDataList)) {
1265
+ return new TypeError('Expected "array" but received "' + typeof obj_contentLinkDataList + '" (at "' + path_contentLinkDataList + '")');
1266
+ }
1267
+ for (let i = 0; i < obj_contentLinkDataList.length; i++) {
1268
+ const obj_contentLinkDataList_item = obj_contentLinkDataList[i];
1269
+ const path_contentLinkDataList_item = path_contentLinkDataList + '[' + i + ']';
1270
+ const referencepath_contentLinkDataList_itemValidationError = validate$m(obj_contentLinkDataList_item, path_contentLinkDataList_item);
1271
+ if (referencepath_contentLinkDataList_itemValidationError !== null) {
1272
+ let message = 'Object doesn\'t match ContentLinkDetailRepresentation (at "' + path_contentLinkDataList_item + '")\n';
1273
+ message += referencepath_contentLinkDataList_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1274
+ return new TypeError(message);
1275
+ }
1276
+ }
1277
+ }
1278
+ if (obj.failedContentLinkList !== undefined) {
1279
+ const obj_failedContentLinkList = obj.failedContentLinkList;
1280
+ const path_failedContentLinkList = path + '.failedContentLinkList';
1281
+ if (!ArrayIsArray(obj_failedContentLinkList)) {
1282
+ return new TypeError('Expected "array" but received "' + typeof obj_failedContentLinkList + '" (at "' + path_failedContentLinkList + '")');
1283
+ }
1284
+ for (let i = 0; i < obj_failedContentLinkList.length; i++) {
1285
+ const obj_failedContentLinkList_item = obj_failedContentLinkList[i];
1286
+ const path_failedContentLinkList_item = path_failedContentLinkList + '[' + i + ']';
1287
+ const referencepath_failedContentLinkList_itemValidationError = validate$l(obj_failedContentLinkList_item, path_failedContentLinkList_item);
1288
+ if (referencepath_failedContentLinkList_itemValidationError !== null) {
1289
+ let message = 'Object doesn\'t match FailedContentLinkListRepresentation (at "' + path_failedContentLinkList_item + '")\n';
1290
+ message += referencepath_failedContentLinkList_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1291
+ return new TypeError(message);
1292
+ }
1293
+ }
1294
+ }
1295
+ const obj_referenceObjectId = obj.referenceObjectId;
1296
+ const path_referenceObjectId = path + '.referenceObjectId';
1297
+ if (typeof obj_referenceObjectId !== 'string') {
1298
+ return new TypeError('Expected "string" but received "' + typeof obj_referenceObjectId + '" (at "' + path_referenceObjectId + '")');
1299
+ }
1300
+ })();
1301
+ return v_error === undefined ? null : v_error;
1302
+ }
1303
+ const RepresentationType$b = 'ContentLinkListRepresentation';
1304
+ function keyBuilder$g(luvio, config) {
1305
+ return keyPrefix + '::' + RepresentationType$b + ':' + config.referenceObjectId;
1306
+ }
1307
+ function keyBuilderFromType$6(luvio, object) {
1308
+ const keyParams = {
1309
+ referenceObjectId: object.referenceObjectId
1310
+ };
1311
+ return keyBuilder$g(luvio, keyParams);
1312
+ }
1313
+ function normalize$b(input, existing, path, luvio, store, timestamp) {
1314
+ return input;
1315
+ }
1316
+ const select$t = function ContentLinkListRepresentationSelect() {
1317
+ const { selections: ContentLinkDetailRepresentation__selections, opaque: ContentLinkDetailRepresentation__opaque, } = select$v();
1318
+ const { selections: FailedContentLinkListRepresentation__selections, opaque: FailedContentLinkListRepresentation__opaque, } = select$u();
1319
+ return {
1320
+ kind: 'Fragment',
1321
+ version: VERSION$g,
1322
+ private: [],
1323
+ selections: [
1324
+ {
1325
+ name: 'contentLinkDataList',
1326
+ kind: 'Object',
1327
+ plural: true,
1328
+ selections: ContentLinkDetailRepresentation__selections,
1329
+ required: false
1330
+ },
1331
+ {
1332
+ name: 'failedContentLinkList',
1333
+ kind: 'Object',
1334
+ plural: true,
1335
+ selections: FailedContentLinkListRepresentation__selections,
1336
+ required: false
1337
+ },
1338
+ {
1339
+ name: 'referenceObjectId',
1340
+ kind: 'Scalar'
1341
+ }
1342
+ ]
1343
+ };
1344
+ };
1345
+ function equals$g(existing, incoming) {
1346
+ const existing_referenceObjectId = existing.referenceObjectId;
1347
+ const incoming_referenceObjectId = incoming.referenceObjectId;
1348
+ if (!(existing_referenceObjectId === incoming_referenceObjectId)) {
1349
+ return false;
1350
+ }
1351
+ const existing_contentLinkDataList = existing.contentLinkDataList;
1352
+ const incoming_contentLinkDataList = incoming.contentLinkDataList;
1353
+ // if at least one of these optionals is defined
1354
+ if (existing_contentLinkDataList !== undefined || incoming_contentLinkDataList !== undefined) {
1355
+ // if one of these is not defined we know the other is defined and therefore
1356
+ // not equal
1357
+ if (existing_contentLinkDataList === undefined || incoming_contentLinkDataList === undefined) {
1358
+ return false;
1359
+ }
1360
+ const equals_contentLinkDataList_items = equalsArray(existing_contentLinkDataList, incoming_contentLinkDataList, (existing_contentLinkDataList_item, incoming_contentLinkDataList_item) => {
1361
+ if (!(equals$i(existing_contentLinkDataList_item, incoming_contentLinkDataList_item))) {
1362
+ return false;
1363
+ }
1364
+ });
1365
+ if (equals_contentLinkDataList_items === false) {
1366
+ return false;
1367
+ }
1368
+ }
1369
+ const existing_failedContentLinkList = existing.failedContentLinkList;
1370
+ const incoming_failedContentLinkList = incoming.failedContentLinkList;
1371
+ // if at least one of these optionals is defined
1372
+ if (existing_failedContentLinkList !== undefined || incoming_failedContentLinkList !== undefined) {
1373
+ // if one of these is not defined we know the other is defined and therefore
1374
+ // not equal
1375
+ if (existing_failedContentLinkList === undefined || incoming_failedContentLinkList === undefined) {
1376
+ return false;
1377
+ }
1378
+ const equals_failedContentLinkList_items = equalsArray(existing_failedContentLinkList, incoming_failedContentLinkList, (existing_failedContentLinkList_item, incoming_failedContentLinkList_item) => {
1379
+ if (!(equals$h(existing_failedContentLinkList_item, incoming_failedContentLinkList_item))) {
1380
+ return false;
1381
+ }
1382
+ });
1383
+ if (equals_failedContentLinkList_items === false) {
1384
+ return false;
1385
+ }
1386
+ }
1387
+ return true;
1388
+ }
1389
+ const ingest$b = function ContentLinkListRepresentationIngest(input, path, luvio, store, timestamp) {
1036
1390
  if (process.env.NODE_ENV !== 'production') {
1037
1391
  const validateError = validate$k(input);
1038
1392
  if (validateError !== null) {
@@ -1081,7 +1435,7 @@ function createResourceRequest$c(config) {
1081
1435
  const headers = {};
1082
1436
  return {
1083
1437
  baseUri: '/services/data/v62.0',
1084
- basePath: '/connect/clause-library/promote-clause',
1438
+ basePath: '/connect/content-link/load',
1085
1439
  method: 'post',
1086
1440
  body: config.body,
1087
1441
  urlParams: {},
@@ -1091,22 +1445,16 @@ function createResourceRequest$c(config) {
1091
1445
  };
1092
1446
  }
1093
1447
 
1094
- const adapterName$c = 'postDocumentClausePromotion';
1095
- const postDocumentClausePromotion_ConfigPropertyMetadata = [
1096
- generateParamConfigMetadata('clauseContent', true, 2 /* Body */, 0 /* String */),
1097
- generateParamConfigMetadata('clauseDescription', true, 2 /* Body */, 0 /* String */),
1098
- generateParamConfigMetadata('clauseName', true, 2 /* Body */, 0 /* String */),
1099
- generateParamConfigMetadata('clauseSetId', true, 2 /* Body */, 0 /* String */),
1100
- generateParamConfigMetadata('isAlternateClause', true, 2 /* Body */, 1 /* Boolean */),
1101
- generateParamConfigMetadata('language', true, 2 /* Body */, 0 /* String */),
1102
- generateParamConfigMetadata('nonStandardClauseRecordId', true, 2 /* Body */, 0 /* String */),
1103
- generateParamConfigMetadata('notifyOnCompletion', true, 2 /* Body */, 1 /* Boolean */),
1448
+ const adapterName$c = 'getContentLinkInput';
1449
+ const getContentLinkInput_ConfigPropertyMetadata = [
1450
+ generateParamConfigMetadata('contentLinkIds', true, 2 /* Body */, 0 /* String */, true),
1451
+ generateParamConfigMetadata('referenceObjectId', true, 2 /* Body */, 0 /* String */),
1104
1452
  ];
1105
- const postDocumentClausePromotion_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, postDocumentClausePromotion_ConfigPropertyMetadata);
1106
- const createResourceParams$c = /*#__PURE__*/ createResourceParams$g(postDocumentClausePromotion_ConfigPropertyMetadata);
1453
+ const getContentLinkInput_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, getContentLinkInput_ConfigPropertyMetadata);
1454
+ const createResourceParams$c = /*#__PURE__*/ createResourceParams$h(getContentLinkInput_ConfigPropertyMetadata);
1107
1455
  function typeCheckConfig$c(untrustedConfig) {
1108
1456
  const config = {};
1109
- typeCheckConfig$g(untrustedConfig, config, postDocumentClausePromotion_ConfigPropertyMetadata);
1457
+ typeCheckConfig$h(untrustedConfig, config, getContentLinkInput_ConfigPropertyMetadata);
1110
1458
  return config;
1111
1459
  }
1112
1460
  function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
@@ -1140,12 +1488,12 @@ function buildNetworkSnapshot$c(luvio, config, options) {
1140
1488
  throw response;
1141
1489
  });
1142
1490
  }
1143
- const postDocumentClausePromotionAdapterFactory = (luvio) => {
1144
- return function postDocumentClausePromotion(untrustedConfig) {
1145
- const config = validateAdapterConfig$c(untrustedConfig, postDocumentClausePromotion_ConfigPropertyNames);
1491
+ const getContentLinkInputAdapterFactory = (luvio) => {
1492
+ return function getContentLinkInput(untrustedConfig) {
1493
+ const config = validateAdapterConfig$c(untrustedConfig, getContentLinkInput_ConfigPropertyNames);
1146
1494
  // Invalid or incomplete config
1147
1495
  if (config === null) {
1148
- throw new Error('Invalid config for "postDocumentClausePromotion"');
1496
+ throw new Error('Invalid config for "getContentLinkInput"');
1149
1497
  }
1150
1498
  return buildNetworkSnapshot$c(luvio, config);
1151
1499
  };
@@ -1289,10 +1637,10 @@ const performDocGenerationBatchProcessAction_ConfigPropertyMetadata = [
1289
1637
  generateParamConfigMetadata('docGenerationBatchProcessId', true, 0 /* UrlParameter */, 0 /* String */),
1290
1638
  ];
1291
1639
  const performDocGenerationBatchProcessAction_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, performDocGenerationBatchProcessAction_ConfigPropertyMetadata);
1292
- const createResourceParams$b = /*#__PURE__*/ createResourceParams$g(performDocGenerationBatchProcessAction_ConfigPropertyMetadata);
1640
+ const createResourceParams$b = /*#__PURE__*/ createResourceParams$h(performDocGenerationBatchProcessAction_ConfigPropertyMetadata);
1293
1641
  function typeCheckConfig$b(untrustedConfig) {
1294
1642
  const config = {};
1295
- typeCheckConfig$g(untrustedConfig, config, performDocGenerationBatchProcessAction_ConfigPropertyMetadata);
1643
+ typeCheckConfig$h(untrustedConfig, config, performDocGenerationBatchProcessAction_ConfigPropertyMetadata);
1296
1644
  return config;
1297
1645
  }
1298
1646
  function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
@@ -1467,10 +1815,10 @@ const createComparisonDocument_ConfigPropertyMetadata = [
1467
1815
  generateParamConfigMetadata('compareToDocumentSourceType', true, 2 /* Body */, 0 /* String */),
1468
1816
  ];
1469
1817
  const createComparisonDocument_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, createComparisonDocument_ConfigPropertyMetadata);
1470
- const createResourceParams$a = /*#__PURE__*/ createResourceParams$g(createComparisonDocument_ConfigPropertyMetadata);
1818
+ const createResourceParams$a = /*#__PURE__*/ createResourceParams$h(createComparisonDocument_ConfigPropertyMetadata);
1471
1819
  function typeCheckConfig$a(untrustedConfig) {
1472
1820
  const config = {};
1473
- typeCheckConfig$g(untrustedConfig, config, createComparisonDocument_ConfigPropertyMetadata);
1821
+ typeCheckConfig$h(untrustedConfig, config, createComparisonDocument_ConfigPropertyMetadata);
1474
1822
  return config;
1475
1823
  }
1476
1824
  function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
@@ -1752,14 +2100,14 @@ const getDocumentTemplates_ConfigPropertyMetadata = [
1752
2100
  generateParamConfigMetadata('usageType', false, 1 /* QueryParameter */, 0 /* String */, true),
1753
2101
  ];
1754
2102
  const getDocumentTemplates_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, getDocumentTemplates_ConfigPropertyMetadata);
1755
- const createResourceParams$9 = /*#__PURE__*/ createResourceParams$g(getDocumentTemplates_ConfigPropertyMetadata);
2103
+ const createResourceParams$9 = /*#__PURE__*/ createResourceParams$h(getDocumentTemplates_ConfigPropertyMetadata);
1756
2104
  function keyBuilder$c(luvio, config) {
1757
2105
  const resourceParams = createResourceParams$9(config);
1758
2106
  return keyBuilder$d(luvio, resourceParams);
1759
2107
  }
1760
2108
  function typeCheckConfig$9(untrustedConfig) {
1761
2109
  const config = {};
1762
- typeCheckConfig$g(untrustedConfig, config, getDocumentTemplates_ConfigPropertyMetadata);
2110
+ typeCheckConfig$h(untrustedConfig, config, getDocumentTemplates_ConfigPropertyMetadata);
1763
2111
  return config;
1764
2112
  }
1765
2113
  function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
@@ -1955,10 +2303,10 @@ const updateDocumentTemplate_ConfigPropertyMetadata = [
1955
2303
  generateParamConfigMetadata('shouldDisplayUnmappedToken', false, 2 /* Body */, 1 /* Boolean */),
1956
2304
  ];
1957
2305
  const updateDocumentTemplate_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, updateDocumentTemplate_ConfigPropertyMetadata);
1958
- const createResourceParams$8 = /*#__PURE__*/ createResourceParams$g(updateDocumentTemplate_ConfigPropertyMetadata);
2306
+ const createResourceParams$8 = /*#__PURE__*/ createResourceParams$h(updateDocumentTemplate_ConfigPropertyMetadata);
1959
2307
  function typeCheckConfig$8(untrustedConfig) {
1960
2308
  const config = {};
1961
- typeCheckConfig$g(untrustedConfig, config, updateDocumentTemplate_ConfigPropertyMetadata);
2309
+ typeCheckConfig$h(untrustedConfig, config, updateDocumentTemplate_ConfigPropertyMetadata);
1962
2310
  return config;
1963
2311
  }
1964
2312
  function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
@@ -2060,10 +2408,10 @@ const createDocumentTemplate_ConfigPropertyMetadata = [
2060
2408
  generateParamConfigMetadata('xmlRelationshipMetadata', false, 2 /* Body */, 0 /* String */),
2061
2409
  ];
2062
2410
  const createDocumentTemplate_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, createDocumentTemplate_ConfigPropertyMetadata);
2063
- const createResourceParams$7 = /*#__PURE__*/ createResourceParams$g(createDocumentTemplate_ConfigPropertyMetadata);
2411
+ const createResourceParams$7 = /*#__PURE__*/ createResourceParams$h(createDocumentTemplate_ConfigPropertyMetadata);
2064
2412
  function typeCheckConfig$7(untrustedConfig) {
2065
2413
  const config = {};
2066
- typeCheckConfig$g(untrustedConfig, config, createDocumentTemplate_ConfigPropertyMetadata);
2414
+ typeCheckConfig$h(untrustedConfig, config, createDocumentTemplate_ConfigPropertyMetadata);
2067
2415
  return config;
2068
2416
  }
2069
2417
  function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
@@ -2419,14 +2767,14 @@ const getDocuments_ConfigPropertyMetadata = [
2419
2767
  generateParamConfigMetadata('sourceObjectId', false, 1 /* QueryParameter */, 0 /* String */),
2420
2768
  ];
2421
2769
  const getDocuments_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, getDocuments_ConfigPropertyMetadata);
2422
- const createResourceParams$6 = /*#__PURE__*/ createResourceParams$g(getDocuments_ConfigPropertyMetadata);
2770
+ const createResourceParams$6 = /*#__PURE__*/ createResourceParams$h(getDocuments_ConfigPropertyMetadata);
2423
2771
  function keyBuilder$9(luvio, config) {
2424
2772
  const resourceParams = createResourceParams$6(config);
2425
2773
  return keyBuilder$a(luvio, resourceParams);
2426
2774
  }
2427
2775
  function typeCheckConfig$6(untrustedConfig) {
2428
2776
  const config = {};
2429
- typeCheckConfig$g(untrustedConfig, config, getDocuments_ConfigPropertyMetadata);
2777
+ typeCheckConfig$h(untrustedConfig, config, getDocuments_ConfigPropertyMetadata);
2430
2778
  return config;
2431
2779
  }
2432
2780
  function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
@@ -2884,14 +3232,14 @@ const getESignNotificationSettings_ConfigPropertyMetadata = [
2884
3232
  generateParamConfigMetadata('sourceObjectId', false, 1 /* QueryParameter */, 0 /* String */),
2885
3233
  ];
2886
3234
  const getESignNotificationSettings_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, getESignNotificationSettings_ConfigPropertyMetadata);
2887
- const createResourceParams$5 = /*#__PURE__*/ createResourceParams$g(getESignNotificationSettings_ConfigPropertyMetadata);
3235
+ const createResourceParams$5 = /*#__PURE__*/ createResourceParams$h(getESignNotificationSettings_ConfigPropertyMetadata);
2888
3236
  function keyBuilder$7(luvio, config) {
2889
3237
  const resourceParams = createResourceParams$5(config);
2890
3238
  return keyBuilder$8(luvio, resourceParams);
2891
3239
  }
2892
3240
  function typeCheckConfig$5(untrustedConfig) {
2893
3241
  const config = {};
2894
- typeCheckConfig$g(untrustedConfig, config, getESignNotificationSettings_ConfigPropertyMetadata);
3242
+ typeCheckConfig$h(untrustedConfig, config, getESignNotificationSettings_ConfigPropertyMetadata);
2895
3243
  return config;
2896
3244
  }
2897
3245
  function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
@@ -3251,14 +3599,14 @@ const getRecipients_ConfigPropertyMetadata = [
3251
3599
  generateParamConfigMetadata('sourceObjectId', false, 1 /* QueryParameter */, 0 /* String */),
3252
3600
  ];
3253
3601
  const getRecipients_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, getRecipients_ConfigPropertyMetadata);
3254
- const createResourceParams$4 = /*#__PURE__*/ createResourceParams$g(getRecipients_ConfigPropertyMetadata);
3602
+ const createResourceParams$4 = /*#__PURE__*/ createResourceParams$h(getRecipients_ConfigPropertyMetadata);
3255
3603
  function keyBuilder$5(luvio, config) {
3256
3604
  const resourceParams = createResourceParams$4(config);
3257
3605
  return keyBuilder$6(luvio, resourceParams);
3258
3606
  }
3259
3607
  function typeCheckConfig$4(untrustedConfig) {
3260
3608
  const config = {};
3261
- typeCheckConfig$g(untrustedConfig, config, getRecipients_ConfigPropertyMetadata);
3609
+ typeCheckConfig$h(untrustedConfig, config, getRecipients_ConfigPropertyMetadata);
3262
3610
  return config;
3263
3611
  }
3264
3612
  function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
@@ -3518,10 +3866,10 @@ const createDocumentEnvelopeForEsign_ConfigPropertyMetadata = [
3518
3866
  generateParamConfigMetadata('envelope', true, 2 /* Body */, 4 /* Unsupported */),
3519
3867
  ];
3520
3868
  const createDocumentEnvelopeForEsign_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, createDocumentEnvelopeForEsign_ConfigPropertyMetadata);
3521
- const createResourceParams$3 = /*#__PURE__*/ createResourceParams$g(createDocumentEnvelopeForEsign_ConfigPropertyMetadata);
3869
+ const createResourceParams$3 = /*#__PURE__*/ createResourceParams$h(createDocumentEnvelopeForEsign_ConfigPropertyMetadata);
3522
3870
  function typeCheckConfig$3(untrustedConfig) {
3523
3871
  const config = {};
3524
- typeCheckConfig$g(untrustedConfig, config, createDocumentEnvelopeForEsign_ConfigPropertyMetadata);
3872
+ typeCheckConfig$h(untrustedConfig, config, createDocumentEnvelopeForEsign_ConfigPropertyMetadata);
3525
3873
  const untrustedConfig_envelope = untrustedConfig.envelope;
3526
3874
  const referenceEnvelopeSendRequestValidationError = validate$6(untrustedConfig_envelope);
3527
3875
  if (referenceEnvelopeSendRequestValidationError === null) {
@@ -3857,10 +4205,10 @@ const updateEnvelope_ConfigPropertyMetadata = [
3857
4205
  generateParamConfigMetadata('sourceObjectId', true, 0 /* UrlParameter */, 0 /* String */),
3858
4206
  ];
3859
4207
  const updateEnvelope_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, updateEnvelope_ConfigPropertyMetadata);
3860
- const createResourceParams$2 = /*#__PURE__*/ createResourceParams$g(updateEnvelope_ConfigPropertyMetadata);
4208
+ const createResourceParams$2 = /*#__PURE__*/ createResourceParams$h(updateEnvelope_ConfigPropertyMetadata);
3861
4209
  function typeCheckConfig$2(untrustedConfig) {
3862
4210
  const config = {};
3863
- typeCheckConfig$g(untrustedConfig, config, updateEnvelope_ConfigPropertyMetadata);
4211
+ typeCheckConfig$h(untrustedConfig, config, updateEnvelope_ConfigPropertyMetadata);
3864
4212
  return config;
3865
4213
  }
3866
4214
  function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
@@ -4124,10 +4472,10 @@ const updateVoidedEnvelope_ConfigPropertyMetadata = [
4124
4472
  generateParamConfigMetadata('voidParam', true, 2 /* Body */, 4 /* Unsupported */),
4125
4473
  ];
4126
4474
  const updateVoidedEnvelope_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, updateVoidedEnvelope_ConfigPropertyMetadata);
4127
- const createResourceParams$1 = /*#__PURE__*/ createResourceParams$g(updateVoidedEnvelope_ConfigPropertyMetadata);
4475
+ const createResourceParams$1 = /*#__PURE__*/ createResourceParams$h(updateVoidedEnvelope_ConfigPropertyMetadata);
4128
4476
  function typeCheckConfig$1(untrustedConfig) {
4129
4477
  const config = {};
4130
- typeCheckConfig$g(untrustedConfig, config, updateVoidedEnvelope_ConfigPropertyMetadata);
4478
+ typeCheckConfig$h(untrustedConfig, config, updateVoidedEnvelope_ConfigPropertyMetadata);
4131
4479
  const untrustedConfig_voidParam = untrustedConfig.voidParam;
4132
4480
  const referenceEnvelopeVoidRequestValidationError = validate$2(untrustedConfig_voidParam);
4133
4481
  if (referenceEnvelopeVoidRequestValidationError === null) {
@@ -4318,7 +4666,7 @@ function createResourceRequest(config) {
4318
4666
  const adapterName = 'getSignerRoles';
4319
4667
  const getSignerRoles_ConfigPropertyMetadata = [];
4320
4668
  const getSignerRoles_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, getSignerRoles_ConfigPropertyMetadata);
4321
- const createResourceParams = /*#__PURE__*/ createResourceParams$g(getSignerRoles_ConfigPropertyMetadata);
4669
+ const createResourceParams = /*#__PURE__*/ createResourceParams$h(getSignerRoles_ConfigPropertyMetadata);
4322
4670
  function keyBuilder(luvio, config) {
4323
4671
  createResourceParams(config);
4324
4672
  return keyBuilder$1();
@@ -4398,4 +4746,4 @@ const getSignerRolesAdapterFactory = (luvio) => function docgen__getSignerRoles(
4398
4746
  buildCachedSnapshotCachePolicy, buildNetworkSnapshotCachePolicy);
4399
4747
  };
4400
4748
 
4401
- export { createComparisonDocumentAdapterFactory, createDocumentEnvelopeForEsignAdapterFactory, createDocumentTemplateAdapterFactory, getDocumentClauseFieldsAdapterFactory, getDocumentClauseSetCategoriesAdapterFactory, getDocumentClauseSetsAdapterFactory, getDocumentTemplatesAdapterFactory, getDocumentsAdapterFactory, getESignNotificationSettingsAdapterFactory, getRecipientsAdapterFactory, getSignerRolesAdapterFactory, performDocGenerationBatchProcessActionAdapterFactory, postDocumentClausePromotionAdapterFactory, updateDocumentTemplateAdapterFactory, updateEnvelopeAdapterFactory, updateVoidedEnvelopeAdapterFactory };
4749
+ export { createComparisonDocumentAdapterFactory, createDocumentEnvelopeForEsignAdapterFactory, createDocumentTemplateAdapterFactory, getContentLinkInputAdapterFactory, getDocumentClauseFieldsAdapterFactory, getDocumentClauseSetCategoriesAdapterFactory, getDocumentClauseSetsAdapterFactory, getDocumentTemplatesAdapterFactory, getDocumentsAdapterFactory, getESignNotificationSettingsAdapterFactory, getRecipientsAdapterFactory, getSignerRolesAdapterFactory, performDocGenerationBatchProcessActionAdapterFactory, postDocumentClausePromotionAdapterFactory, updateDocumentTemplateAdapterFactory, updateEnvelopeAdapterFactory, updateVoidedEnvelopeAdapterFactory };