@salesforce/lds-adapters-industries-healthcloud 1.299.0 → 1.301.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@
4
4
  * For full license text, see the LICENSE.txt file
5
5
  */
6
6
 
7
- import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$3, typeCheckConfig as typeCheckConfig$g, StoreKeyMap, createResourceParams as createResourceParams$g } from '@luvio/engine';
7
+ import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$4, 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$h = "9a4b29dafb135f2d93c3bb0d73b2f500";
116
- function validate$v(obj, path = 'GenericConnectApiGETOutputRepresentation') {
115
+ const VERSION$l = "9a4b29dafb135f2d93c3bb0d73b2f500";
116
+ function validate$z(obj, path = 'GenericConnectApiGETOutputRepresentation') {
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 + '")');
@@ -161,62 +161,62 @@ function validate$v(obj, path = 'GenericConnectApiGETOutputRepresentation') {
161
161
  })();
162
162
  return v_error === undefined ? null : v_error;
163
163
  }
164
- const RepresentationType$f = 'GenericConnectApiGETOutputRepresentation';
165
- function normalize$f(input, existing, path, luvio, store, timestamp) {
164
+ const RepresentationType$g = 'GenericConnectApiGETOutputRepresentation';
165
+ function normalize$g(input, existing, path, luvio, store, timestamp) {
166
166
  return input;
167
167
  }
168
- const select$x = function GenericConnectApiGETOutputRepresentationSelect() {
168
+ const select$C = function GenericConnectApiGETOutputRepresentationSelect() {
169
169
  return {
170
170
  kind: 'Fragment',
171
- version: VERSION$h,
171
+ version: VERSION$l,
172
172
  private: [],
173
173
  opaque: true
174
174
  };
175
175
  };
176
- function equals$h(existing, incoming) {
176
+ function equals$l(existing, incoming) {
177
177
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
178
178
  return false;
179
179
  }
180
180
  return true;
181
181
  }
182
- const ingest$f = function GenericConnectApiGETOutputRepresentationIngest(input, path, luvio, store, timestamp) {
182
+ const ingest$g = function GenericConnectApiGETOutputRepresentationIngest(input, path, luvio, store, timestamp) {
183
183
  if (process.env.NODE_ENV !== 'production') {
184
- const validateError = validate$v(input);
184
+ const validateError = validate$z(input);
185
185
  if (validateError !== null) {
186
186
  throw validateError;
187
187
  }
188
188
  }
189
189
  const key = path.fullPath;
190
190
  const ttlToUse = path.ttl !== undefined ? path.ttl : 500;
191
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "healthcloud", VERSION$h, RepresentationType$f, equals$h);
191
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "healthcloud", VERSION$l, RepresentationType$g, equals$l);
192
192
  return createLink(key);
193
193
  };
194
- function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
194
+ function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
195
195
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
196
196
  const rootKey = fullPathFactory();
197
197
  rootKeySet.set(rootKey, {
198
198
  namespace: keyPrefix,
199
- representationName: RepresentationType$f,
199
+ representationName: RepresentationType$g,
200
200
  mergeable: false
201
201
  });
202
202
  }
203
203
 
204
- function select$w(luvio, params) {
205
- return select$x();
204
+ function select$B(luvio, params) {
205
+ return select$C();
206
206
  }
207
- function keyBuilder$i(luvio, params) {
207
+ function keyBuilder$k(luvio, params) {
208
208
  return keyPrefix + '::GenericConnectApiGETOutputRepresentation:(' + 'fields:' + params.queryParams.fields + ',' + 'limitBy:' + params.queryParams.limitBy + ',' + 'offset:' + params.queryParams.offset + ',' + 'searchTerm:' + params.queryParams.searchTerm + ',' + 'sortBy:' + params.queryParams.sortBy + ',' + 'sortOrder:' + params.queryParams.sortOrder + ',' + 'values:' + params.queryParams.values + ',' + 'context:' + params.urlParams.context + ')';
209
209
  }
210
- function getResponseCacheKeys$f(storeKeyMap, luvio, resourceParams, response) {
211
- getTypeCacheKeys$f(storeKeyMap, luvio, response, () => keyBuilder$i(luvio, resourceParams));
210
+ function getResponseCacheKeys$g(storeKeyMap, luvio, resourceParams, response) {
211
+ getTypeCacheKeys$g(storeKeyMap, luvio, response, () => keyBuilder$k(luvio, resourceParams));
212
212
  }
213
- function ingestSuccess$f(luvio, resourceParams, response, snapshotRefresh) {
213
+ function ingestSuccess$g(luvio, resourceParams, response, snapshotRefresh) {
214
214
  const { body } = response;
215
- const key = keyBuilder$i(luvio, resourceParams);
216
- luvio.storeIngest(key, ingest$f, body);
215
+ const key = keyBuilder$k(luvio, resourceParams);
216
+ luvio.storeIngest(key, ingest$g, body);
217
217
  const snapshot = luvio.storeLookup({
218
218
  recordId: key,
219
- node: select$w(),
219
+ node: select$B(),
220
220
  variables: {},
221
221
  }, snapshotRefresh);
222
222
  if (process.env.NODE_ENV !== 'production') {
@@ -227,13 +227,13 @@ function ingestSuccess$f(luvio, resourceParams, response, snapshotRefresh) {
227
227
  deepFreeze(snapshot.data);
228
228
  return snapshot;
229
229
  }
230
- function ingestError$2(luvio, params, error, snapshotRefresh) {
231
- const key = keyBuilder$i(luvio, params);
230
+ function ingestError$3(luvio, params, error, snapshotRefresh) {
231
+ const key = keyBuilder$k(luvio, params);
232
232
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
233
233
  luvio.storeIngestError(key, errorSnapshot);
234
234
  return errorSnapshot;
235
235
  }
236
- function createResourceRequest$f(config) {
236
+ function createResourceRequest$g(config) {
237
237
  const headers = {};
238
238
  return {
239
239
  baseUri: '/services/data/v62.0',
@@ -247,7 +247,7 @@ function createResourceRequest$f(config) {
247
247
  };
248
248
  }
249
249
 
250
- const adapterName$f = 'genericConnectApiGET';
250
+ const adapterName$g = 'genericConnectApiGET';
251
251
  const genericConnectApiGET_ConfigPropertyMetadata = [
252
252
  generateParamConfigMetadata('context', true, 0 /* UrlParameter */, 0 /* String */),
253
253
  generateParamConfigMetadata('fields', false, 1 /* QueryParameter */, 0 /* String */, true),
@@ -258,89 +258,89 @@ const genericConnectApiGET_ConfigPropertyMetadata = [
258
258
  generateParamConfigMetadata('sortOrder', false, 1 /* QueryParameter */, 0 /* String */),
259
259
  generateParamConfigMetadata('values', false, 1 /* QueryParameter */, 0 /* String */, true),
260
260
  ];
261
- const genericConnectApiGET_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, genericConnectApiGET_ConfigPropertyMetadata);
262
- const createResourceParams$f = /*#__PURE__*/ createResourceParams$g(genericConnectApiGET_ConfigPropertyMetadata);
263
- function keyBuilder$h(luvio, config) {
264
- const resourceParams = createResourceParams$f(config);
265
- return keyBuilder$i(luvio, resourceParams);
261
+ const genericConnectApiGET_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$g, genericConnectApiGET_ConfigPropertyMetadata);
262
+ const createResourceParams$g = /*#__PURE__*/ createResourceParams$h(genericConnectApiGET_ConfigPropertyMetadata);
263
+ function keyBuilder$j(luvio, config) {
264
+ const resourceParams = createResourceParams$g(config);
265
+ return keyBuilder$k(luvio, resourceParams);
266
266
  }
267
- function typeCheckConfig$f(untrustedConfig) {
267
+ function typeCheckConfig$g(untrustedConfig) {
268
268
  const config = {};
269
- typeCheckConfig$g(untrustedConfig, config, genericConnectApiGET_ConfigPropertyMetadata);
269
+ typeCheckConfig$h(untrustedConfig, config, genericConnectApiGET_ConfigPropertyMetadata);
270
270
  return config;
271
271
  }
272
- function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
272
+ function validateAdapterConfig$g(untrustedConfig, configPropertyNames) {
273
273
  if (!untrustedIsObject(untrustedConfig)) {
274
274
  return null;
275
275
  }
276
276
  if (process.env.NODE_ENV !== 'production') {
277
277
  validateConfig(untrustedConfig, configPropertyNames);
278
278
  }
279
- const config = typeCheckConfig$f(untrustedConfig);
279
+ const config = typeCheckConfig$g(untrustedConfig);
280
280
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
281
281
  return null;
282
282
  }
283
283
  return config;
284
284
  }
285
- function adapterFragment$2(luvio, config) {
286
- createResourceParams$f(config);
287
- return select$w();
285
+ function adapterFragment$3(luvio, config) {
286
+ createResourceParams$g(config);
287
+ return select$B();
288
288
  }
289
- function onFetchResponseSuccess$2(luvio, config, resourceParams, response) {
290
- const snapshot = ingestSuccess$f(luvio, resourceParams, response, {
289
+ function onFetchResponseSuccess$3(luvio, config, resourceParams, response) {
290
+ const snapshot = ingestSuccess$g(luvio, resourceParams, response, {
291
291
  config,
292
- resolve: () => buildNetworkSnapshot$f(luvio, config, snapshotRefreshOptions)
292
+ resolve: () => buildNetworkSnapshot$g(luvio, config, snapshotRefreshOptions)
293
293
  });
294
294
  return luvio.storeBroadcast().then(() => snapshot);
295
295
  }
296
- function onFetchResponseError$2(luvio, config, resourceParams, response) {
297
- const snapshot = ingestError$2(luvio, resourceParams, response, {
296
+ function onFetchResponseError$3(luvio, config, resourceParams, response) {
297
+ const snapshot = ingestError$3(luvio, resourceParams, response, {
298
298
  config,
299
- resolve: () => buildNetworkSnapshot$f(luvio, config, snapshotRefreshOptions)
299
+ resolve: () => buildNetworkSnapshot$g(luvio, config, snapshotRefreshOptions)
300
300
  });
301
301
  return luvio.storeBroadcast().then(() => snapshot);
302
302
  }
303
- function buildNetworkSnapshot$f(luvio, config, options) {
304
- const resourceParams = createResourceParams$f(config);
305
- const request = createResourceRequest$f(resourceParams);
303
+ function buildNetworkSnapshot$g(luvio, config, options) {
304
+ const resourceParams = createResourceParams$g(config);
305
+ const request = createResourceRequest$g(resourceParams);
306
306
  return luvio.dispatchResourceRequest(request, options)
307
307
  .then((response) => {
308
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$2(luvio, config, resourceParams, response), () => {
308
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$3(luvio, config, resourceParams, response), () => {
309
309
  const cache = new StoreKeyMap();
310
- getResponseCacheKeys$f(cache, luvio, resourceParams, response.body);
310
+ getResponseCacheKeys$g(cache, luvio, resourceParams, response.body);
311
311
  return cache;
312
312
  });
313
313
  }, (response) => {
314
- return luvio.handleErrorResponse(() => onFetchResponseError$2(luvio, config, resourceParams, response));
314
+ return luvio.handleErrorResponse(() => onFetchResponseError$3(luvio, config, resourceParams, response));
315
315
  });
316
316
  }
317
- function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
318
- return buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext, buildNetworkSnapshot$f, undefined, false);
317
+ function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
318
+ return buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext, buildNetworkSnapshot$g, undefined, false);
319
319
  }
320
- function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
320
+ function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
321
321
  const { luvio, config } = context;
322
322
  const selector = {
323
- recordId: keyBuilder$h(luvio, config),
324
- node: adapterFragment$2(luvio, config),
323
+ recordId: keyBuilder$j(luvio, config),
324
+ node: adapterFragment$3(luvio, config),
325
325
  variables: {},
326
326
  };
327
327
  const cacheSnapshot = storeLookup(selector, {
328
328
  config,
329
- resolve: () => buildNetworkSnapshot$f(luvio, config, snapshotRefreshOptions)
329
+ resolve: () => buildNetworkSnapshot$g(luvio, config, snapshotRefreshOptions)
330
330
  });
331
331
  return cacheSnapshot;
332
332
  }
333
333
  const genericConnectApiGETAdapterFactory = (luvio) => function healthcloud__genericConnectApiGET(untrustedConfig, requestContext) {
334
- const config = validateAdapterConfig$f(untrustedConfig, genericConnectApiGET_ConfigPropertyNames);
334
+ const config = validateAdapterConfig$g(untrustedConfig, genericConnectApiGET_ConfigPropertyNames);
335
335
  // Invalid or incomplete config
336
336
  if (config === null) {
337
337
  return null;
338
338
  }
339
339
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
340
- buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
340
+ buildCachedSnapshotCachePolicy$3, buildNetworkSnapshotCachePolicy$3);
341
341
  };
342
342
 
343
- function validate$u(obj, path = 'GenericConnectApiPOSTInputRepresentation') {
343
+ function validate$y(obj, path = 'GenericConnectApiPOSTInputRepresentation') {
344
344
  const v_error = (() => {
345
345
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
346
346
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -370,8 +370,8 @@ function validate$u(obj, path = 'GenericConnectApiPOSTInputRepresentation') {
370
370
  return v_error === undefined ? null : v_error;
371
371
  }
372
372
 
373
- const VERSION$g = "7b3913515d78cf7f964adb4e7095e8a5";
374
- function validate$t(obj, path = 'GenericConnectApiPOSTOutputRepresentation') {
373
+ const VERSION$k = "7b3913515d78cf7f964adb4e7095e8a5";
374
+ function validate$x(obj, path = 'GenericConnectApiPOSTOutputRepresentation') {
375
375
  const v_error = (() => {
376
376
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
377
377
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -414,23 +414,23 @@ function validate$t(obj, path = 'GenericConnectApiPOSTOutputRepresentation') {
414
414
  })();
415
415
  return v_error === undefined ? null : v_error;
416
416
  }
417
- const RepresentationType$e = 'GenericConnectApiPOSTOutputRepresentation';
418
- function keyBuilder$g(luvio, config) {
419
- return keyPrefix + '::' + RepresentationType$e + ':' + config.isSuccess;
417
+ const RepresentationType$f = 'GenericConnectApiPOSTOutputRepresentation';
418
+ function keyBuilder$i(luvio, config) {
419
+ return keyPrefix + '::' + RepresentationType$f + ':' + config.isSuccess;
420
420
  }
421
421
  function keyBuilderFromType$c(luvio, object) {
422
422
  const keyParams = {
423
423
  isSuccess: object.message
424
424
  };
425
- return keyBuilder$g(luvio, keyParams);
425
+ return keyBuilder$i(luvio, keyParams);
426
426
  }
427
- function normalize$e(input, existing, path, luvio, store, timestamp) {
427
+ function normalize$f(input, existing, path, luvio, store, timestamp) {
428
428
  return input;
429
429
  }
430
- const select$v = function GenericConnectApiPOSTOutputRepresentationSelect() {
430
+ const select$A = function GenericConnectApiPOSTOutputRepresentationSelect() {
431
431
  return {
432
432
  kind: 'Fragment',
433
- version: VERSION$g,
433
+ version: VERSION$k,
434
434
  private: [],
435
435
  selections: [
436
436
  {
@@ -450,7 +450,7 @@ const select$v = function GenericConnectApiPOSTOutputRepresentationSelect() {
450
450
  ]
451
451
  };
452
452
  };
453
- function equals$g(existing, incoming) {
453
+ function equals$k(existing, incoming) {
454
454
  const existing_code = existing.code;
455
455
  const incoming_code = incoming.code;
456
456
  // if at least one of these optionals is defined
@@ -494,41 +494,41 @@ function equals$g(existing, incoming) {
494
494
  }
495
495
  return true;
496
496
  }
497
- const ingest$e = function GenericConnectApiPOSTOutputRepresentationIngest(input, path, luvio, store, timestamp) {
497
+ const ingest$f = function GenericConnectApiPOSTOutputRepresentationIngest(input, path, luvio, store, timestamp) {
498
498
  if (process.env.NODE_ENV !== 'production') {
499
- const validateError = validate$t(input);
499
+ const validateError = validate$x(input);
500
500
  if (validateError !== null) {
501
501
  throw validateError;
502
502
  }
503
503
  }
504
504
  const key = keyBuilderFromType$c(luvio, input);
505
505
  const ttlToUse = path.ttl !== undefined ? path.ttl : 500;
506
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "healthcloud", VERSION$g, RepresentationType$e, equals$g);
506
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "healthcloud", VERSION$k, RepresentationType$f, equals$k);
507
507
  return createLink(key);
508
508
  };
509
- function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
509
+ function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
510
510
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
511
511
  const rootKey = keyBuilderFromType$c(luvio, input);
512
512
  rootKeySet.set(rootKey, {
513
513
  namespace: keyPrefix,
514
- representationName: RepresentationType$e,
514
+ representationName: RepresentationType$f,
515
515
  mergeable: false
516
516
  });
517
517
  }
518
518
 
519
- function select$u(luvio, params) {
520
- return select$v();
519
+ function select$z(luvio, params) {
520
+ return select$A();
521
521
  }
522
- function getResponseCacheKeys$e(storeKeyMap, luvio, resourceParams, response) {
523
- getTypeCacheKeys$e(storeKeyMap, luvio, response);
522
+ function getResponseCacheKeys$f(storeKeyMap, luvio, resourceParams, response) {
523
+ getTypeCacheKeys$f(storeKeyMap, luvio, response);
524
524
  }
525
- function ingestSuccess$e(luvio, resourceParams, response) {
525
+ function ingestSuccess$f(luvio, resourceParams, response) {
526
526
  const { body } = response;
527
527
  const key = keyBuilderFromType$c(luvio, body);
528
- luvio.storeIngest(key, ingest$e, body);
528
+ luvio.storeIngest(key, ingest$f, body);
529
529
  const snapshot = luvio.storeLookup({
530
530
  recordId: key,
531
- node: select$u(),
531
+ node: select$z(),
532
532
  variables: {},
533
533
  });
534
534
  if (process.env.NODE_ENV !== 'production') {
@@ -539,7 +539,7 @@ function ingestSuccess$e(luvio, resourceParams, response) {
539
539
  deepFreeze(snapshot.data);
540
540
  return snapshot;
541
541
  }
542
- function createResourceRequest$e(config) {
542
+ function createResourceRequest$f(config) {
543
543
  const headers = {};
544
544
  return {
545
545
  baseUri: '/services/data/v62.0',
@@ -553,47 +553,47 @@ function createResourceRequest$e(config) {
553
553
  };
554
554
  }
555
555
 
556
- const adapterName$e = 'genericConnectApiPOST';
556
+ const adapterName$f = 'genericConnectApiPOST';
557
557
  const genericConnectApiPOST_ConfigPropertyMetadata = [
558
558
  generateParamConfigMetadata('context', true, 0 /* UrlParameter */, 0 /* String */),
559
559
  generateParamConfigMetadata('GenericConnectApiPOSTInput', true, 2 /* Body */, 4 /* Unsupported */),
560
560
  ];
561
- const genericConnectApiPOST_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$e, genericConnectApiPOST_ConfigPropertyMetadata);
562
- const createResourceParams$e = /*#__PURE__*/ createResourceParams$g(genericConnectApiPOST_ConfigPropertyMetadata);
563
- function typeCheckConfig$e(untrustedConfig) {
561
+ const genericConnectApiPOST_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, genericConnectApiPOST_ConfigPropertyMetadata);
562
+ const createResourceParams$f = /*#__PURE__*/ createResourceParams$h(genericConnectApiPOST_ConfigPropertyMetadata);
563
+ function typeCheckConfig$f(untrustedConfig) {
564
564
  const config = {};
565
- typeCheckConfig$g(untrustedConfig, config, genericConnectApiPOST_ConfigPropertyMetadata);
565
+ typeCheckConfig$h(untrustedConfig, config, genericConnectApiPOST_ConfigPropertyMetadata);
566
566
  const untrustedConfig_GenericConnectApiPOSTInput = untrustedConfig.GenericConnectApiPOSTInput;
567
- const referenceGenericConnectApiPOSTInputRepresentationValidationError = validate$u(untrustedConfig_GenericConnectApiPOSTInput);
567
+ const referenceGenericConnectApiPOSTInputRepresentationValidationError = validate$y(untrustedConfig_GenericConnectApiPOSTInput);
568
568
  if (referenceGenericConnectApiPOSTInputRepresentationValidationError === null) {
569
569
  config.GenericConnectApiPOSTInput = untrustedConfig_GenericConnectApiPOSTInput;
570
570
  }
571
571
  return config;
572
572
  }
573
- function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
573
+ function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
574
574
  if (!untrustedIsObject(untrustedConfig)) {
575
575
  return null;
576
576
  }
577
577
  if (process.env.NODE_ENV !== 'production') {
578
578
  validateConfig(untrustedConfig, configPropertyNames);
579
579
  }
580
- const config = typeCheckConfig$e(untrustedConfig);
580
+ const config = typeCheckConfig$f(untrustedConfig);
581
581
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
582
582
  return null;
583
583
  }
584
584
  return config;
585
585
  }
586
- function buildNetworkSnapshot$e(luvio, config, options) {
587
- const resourceParams = createResourceParams$e(config);
588
- const request = createResourceRequest$e(resourceParams);
586
+ function buildNetworkSnapshot$f(luvio, config, options) {
587
+ const resourceParams = createResourceParams$f(config);
588
+ const request = createResourceRequest$f(resourceParams);
589
589
  return luvio.dispatchResourceRequest(request, options)
590
590
  .then((response) => {
591
591
  return luvio.handleSuccessResponse(() => {
592
- const snapshot = ingestSuccess$e(luvio, resourceParams, response);
592
+ const snapshot = ingestSuccess$f(luvio, resourceParams, response);
593
593
  return luvio.storeBroadcast().then(() => snapshot);
594
594
  }, () => {
595
595
  const cache = new StoreKeyMap();
596
- getResponseCacheKeys$e(cache, luvio, resourceParams, response.body);
596
+ getResponseCacheKeys$f(cache, luvio, resourceParams, response.body);
597
597
  return cache;
598
598
  });
599
599
  }, (response) => {
@@ -603,16 +603,16 @@ function buildNetworkSnapshot$e(luvio, config, options) {
603
603
  }
604
604
  const genericConnectApiPOSTAdapterFactory = (luvio) => {
605
605
  return function genericConnectApiPOST(untrustedConfig) {
606
- const config = validateAdapterConfig$e(untrustedConfig, genericConnectApiPOST_ConfigPropertyNames);
606
+ const config = validateAdapterConfig$f(untrustedConfig, genericConnectApiPOST_ConfigPropertyNames);
607
607
  // Invalid or incomplete config
608
608
  if (config === null) {
609
609
  throw new Error('Invalid config for "genericConnectApiPOST"');
610
610
  }
611
- return buildNetworkSnapshot$e(luvio, config);
611
+ return buildNetworkSnapshot$f(luvio, config);
612
612
  };
613
613
  };
614
614
 
615
- function validate$s(obj, path = 'SearchConditionInputRepresentation') {
615
+ function validate$w(obj, path = 'SearchConditionInputRepresentation') {
616
616
  const v_error = (() => {
617
617
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
618
618
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -638,7 +638,7 @@ function validate$s(obj, path = 'SearchConditionInputRepresentation') {
638
638
  return v_error === undefined ? null : v_error;
639
639
  }
640
640
 
641
- function validate$r(obj, path = 'GetSlotsInputRepresentation') {
641
+ function validate$v(obj, path = 'GetSlotsInputRepresentation') {
642
642
  const v_error = (() => {
643
643
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
644
644
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -665,7 +665,7 @@ function validate$r(obj, path = 'GetSlotsInputRepresentation') {
665
665
  for (let i = 0; i < obj_searchConditions.length; i++) {
666
666
  const obj_searchConditions_item = obj_searchConditions[i];
667
667
  const path_searchConditions_item = path_searchConditions + '[' + i + ']';
668
- const referencepath_searchConditions_itemValidationError = validate$s(obj_searchConditions_item, path_searchConditions_item);
668
+ const referencepath_searchConditions_itemValidationError = validate$w(obj_searchConditions_item, path_searchConditions_item);
669
669
  if (referencepath_searchConditions_itemValidationError !== null) {
670
670
  let message = 'Object doesn\'t match SearchConditionInputRepresentation (at "' + path_searchConditions_item + '")\n';
671
671
  message += referencepath_searchConditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -688,8 +688,8 @@ function validate$r(obj, path = 'GetSlotsInputRepresentation') {
688
688
  return v_error === undefined ? null : v_error;
689
689
  }
690
690
 
691
- const VERSION$f = "21bcc7331e8d2943e1f2182cc502d1dc";
692
- function validate$q(obj, path = 'GetSlotsOutputRepresentation') {
691
+ const VERSION$j = "21bcc7331e8d2943e1f2182cc502d1dc";
692
+ function validate$u(obj, path = 'GetSlotsOutputRepresentation') {
693
693
  const v_error = (() => {
694
694
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
695
695
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -762,23 +762,23 @@ function validate$q(obj, path = 'GetSlotsOutputRepresentation') {
762
762
  })();
763
763
  return v_error === undefined ? null : v_error;
764
764
  }
765
- const RepresentationType$d = 'GetSlotsOutputRepresentation';
766
- function keyBuilder$f(luvio, config) {
767
- return keyPrefix + '::' + RepresentationType$d + ':' + config.isSuccess;
765
+ const RepresentationType$e = 'GetSlotsOutputRepresentation';
766
+ function keyBuilder$h(luvio, config) {
767
+ return keyPrefix + '::' + RepresentationType$e + ':' + config.isSuccess;
768
768
  }
769
769
  function keyBuilderFromType$b(luvio, object) {
770
770
  const keyParams = {
771
771
  isSuccess: object.isSuccess
772
772
  };
773
- return keyBuilder$f(luvio, keyParams);
773
+ return keyBuilder$h(luvio, keyParams);
774
774
  }
775
- function normalize$d(input, existing, path, luvio, store, timestamp) {
775
+ function normalize$e(input, existing, path, luvio, store, timestamp) {
776
776
  return input;
777
777
  }
778
- const select$t = function GetSlotsOutputRepresentationSelect() {
778
+ const select$y = function GetSlotsOutputRepresentationSelect() {
779
779
  return {
780
780
  kind: 'Fragment',
781
- version: VERSION$f,
781
+ version: VERSION$j,
782
782
  private: [],
783
783
  selections: [
784
784
  {
@@ -808,7 +808,7 @@ const select$t = function GetSlotsOutputRepresentationSelect() {
808
808
  ]
809
809
  };
810
810
  };
811
- function equals$f(existing, incoming) {
811
+ function equals$j(existing, incoming) {
812
812
  const existing_isSuccess = existing.isSuccess;
813
813
  const incoming_isSuccess = incoming.isSuccess;
814
814
  if (!(existing_isSuccess === incoming_isSuccess)) {
@@ -880,41 +880,41 @@ function equals$f(existing, incoming) {
880
880
  }
881
881
  return true;
882
882
  }
883
- const ingest$d = function GetSlotsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
883
+ const ingest$e = function GetSlotsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
884
884
  if (process.env.NODE_ENV !== 'production') {
885
- const validateError = validate$q(input);
885
+ const validateError = validate$u(input);
886
886
  if (validateError !== null) {
887
887
  throw validateError;
888
888
  }
889
889
  }
890
890
  const key = keyBuilderFromType$b(luvio, input);
891
891
  const ttlToUse = path.ttl !== undefined ? path.ttl : 500;
892
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "healthcloud", VERSION$f, RepresentationType$d, equals$f);
892
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "healthcloud", VERSION$j, RepresentationType$e, equals$j);
893
893
  return createLink(key);
894
894
  };
895
- function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
895
+ function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
896
896
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
897
897
  const rootKey = keyBuilderFromType$b(luvio, input);
898
898
  rootKeySet.set(rootKey, {
899
899
  namespace: keyPrefix,
900
- representationName: RepresentationType$d,
900
+ representationName: RepresentationType$e,
901
901
  mergeable: false
902
902
  });
903
903
  }
904
904
 
905
- function select$s(luvio, params) {
906
- return select$t();
905
+ function select$x(luvio, params) {
906
+ return select$y();
907
907
  }
908
- function getResponseCacheKeys$d(storeKeyMap, luvio, resourceParams, response) {
909
- getTypeCacheKeys$d(storeKeyMap, luvio, response);
908
+ function getResponseCacheKeys$e(storeKeyMap, luvio, resourceParams, response) {
909
+ getTypeCacheKeys$e(storeKeyMap, luvio, response);
910
910
  }
911
- function ingestSuccess$d(luvio, resourceParams, response) {
911
+ function ingestSuccess$e(luvio, resourceParams, response) {
912
912
  const { body } = response;
913
913
  const key = keyBuilderFromType$b(luvio, body);
914
- luvio.storeIngest(key, ingest$d, body);
914
+ luvio.storeIngest(key, ingest$e, body);
915
915
  const snapshot = luvio.storeLookup({
916
916
  recordId: key,
917
- node: select$s(),
917
+ node: select$x(),
918
918
  variables: {},
919
919
  });
920
920
  if (process.env.NODE_ENV !== 'production') {
@@ -925,7 +925,7 @@ function ingestSuccess$d(luvio, resourceParams, response) {
925
925
  deepFreeze(snapshot.data);
926
926
  return snapshot;
927
927
  }
928
- function createResourceRequest$d(config) {
928
+ function createResourceRequest$e(config) {
929
929
  const headers = {};
930
930
  return {
931
931
  baseUri: '/services/data/v62.0',
@@ -939,45 +939,45 @@ function createResourceRequest$d(config) {
939
939
  };
940
940
  }
941
941
 
942
- const adapterName$d = 'getSlots';
942
+ const adapterName$e = 'getSlots';
943
943
  const getSlots_ConfigPropertyMetadata = [
944
944
  generateParamConfigMetadata('getSlotsInput', true, 2 /* Body */, 4 /* Unsupported */),
945
945
  ];
946
- const getSlots_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, getSlots_ConfigPropertyMetadata);
947
- const createResourceParams$d = /*#__PURE__*/ createResourceParams$g(getSlots_ConfigPropertyMetadata);
948
- function typeCheckConfig$d(untrustedConfig) {
946
+ const getSlots_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$e, getSlots_ConfigPropertyMetadata);
947
+ const createResourceParams$e = /*#__PURE__*/ createResourceParams$h(getSlots_ConfigPropertyMetadata);
948
+ function typeCheckConfig$e(untrustedConfig) {
949
949
  const config = {};
950
950
  const untrustedConfig_getSlotsInput = untrustedConfig.getSlotsInput;
951
- const referenceGetSlotsInputRepresentationValidationError = validate$r(untrustedConfig_getSlotsInput);
951
+ const referenceGetSlotsInputRepresentationValidationError = validate$v(untrustedConfig_getSlotsInput);
952
952
  if (referenceGetSlotsInputRepresentationValidationError === null) {
953
953
  config.getSlotsInput = untrustedConfig_getSlotsInput;
954
954
  }
955
955
  return config;
956
956
  }
957
- function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
957
+ function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
958
958
  if (!untrustedIsObject(untrustedConfig)) {
959
959
  return null;
960
960
  }
961
961
  if (process.env.NODE_ENV !== 'production') {
962
962
  validateConfig(untrustedConfig, configPropertyNames);
963
963
  }
964
- const config = typeCheckConfig$d(untrustedConfig);
964
+ const config = typeCheckConfig$e(untrustedConfig);
965
965
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
966
966
  return null;
967
967
  }
968
968
  return config;
969
969
  }
970
- function buildNetworkSnapshot$d(luvio, config, options) {
971
- const resourceParams = createResourceParams$d(config);
972
- const request = createResourceRequest$d(resourceParams);
970
+ function buildNetworkSnapshot$e(luvio, config, options) {
971
+ const resourceParams = createResourceParams$e(config);
972
+ const request = createResourceRequest$e(resourceParams);
973
973
  return luvio.dispatchResourceRequest(request, options)
974
974
  .then((response) => {
975
975
  return luvio.handleSuccessResponse(() => {
976
- const snapshot = ingestSuccess$d(luvio, resourceParams, response);
976
+ const snapshot = ingestSuccess$e(luvio, resourceParams, response);
977
977
  return luvio.storeBroadcast().then(() => snapshot);
978
978
  }, () => {
979
979
  const cache = new StoreKeyMap();
980
- getResponseCacheKeys$d(cache, luvio, resourceParams, response.body);
980
+ getResponseCacheKeys$e(cache, luvio, resourceParams, response.body);
981
981
  return cache;
982
982
  });
983
983
  }, (response) => {
@@ -987,16 +987,16 @@ function buildNetworkSnapshot$d(luvio, config, options) {
987
987
  }
988
988
  const getSlotsAdapterFactory = (luvio) => {
989
989
  return function getSlots(untrustedConfig) {
990
- const config = validateAdapterConfig$d(untrustedConfig, getSlots_ConfigPropertyNames);
990
+ const config = validateAdapterConfig$e(untrustedConfig, getSlots_ConfigPropertyNames);
991
991
  // Invalid or incomplete config
992
992
  if (config === null) {
993
993
  throw new Error('Invalid config for "getSlots"');
994
994
  }
995
- return buildNetworkSnapshot$d(luvio, config);
995
+ return buildNetworkSnapshot$e(luvio, config);
996
996
  };
997
997
  };
998
998
 
999
- function validate$p(obj, path = 'SlotSearchDatesCriteriaInputRepresentation') {
999
+ function validate$t(obj, path = 'SlotSearchDatesCriteriaInputRepresentation') {
1000
1000
  const v_error = (() => {
1001
1001
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1002
1002
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1020,8 +1020,8 @@ function validate$p(obj, path = 'SlotSearchDatesCriteriaInputRepresentation') {
1020
1020
  return v_error === undefined ? null : v_error;
1021
1021
  }
1022
1022
 
1023
- const VERSION$e = "f7d72120958f431aa05ee23ef16fb104";
1024
- function validate$o(obj, path = 'GetSlotChainsOutputRepresentation') {
1023
+ const VERSION$i = "f7d72120958f431aa05ee23ef16fb104";
1024
+ function validate$s(obj, path = 'GetSlotChainsOutputRepresentation') {
1025
1025
  const v_error = (() => {
1026
1026
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1027
1027
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1092,23 +1092,23 @@ function validate$o(obj, path = 'GetSlotChainsOutputRepresentation') {
1092
1092
  })();
1093
1093
  return v_error === undefined ? null : v_error;
1094
1094
  }
1095
- const RepresentationType$c = 'GetSlotChainsOutputRepresentation';
1096
- function keyBuilder$e(luvio, config) {
1097
- return keyPrefix + '::' + RepresentationType$c + ':' + config.isSuccess;
1095
+ const RepresentationType$d = 'GetSlotChainsOutputRepresentation';
1096
+ function keyBuilder$g(luvio, config) {
1097
+ return keyPrefix + '::' + RepresentationType$d + ':' + config.isSuccess;
1098
1098
  }
1099
1099
  function keyBuilderFromType$a(luvio, object) {
1100
1100
  const keyParams = {
1101
1101
  isSuccess: object.isSuccess
1102
1102
  };
1103
- return keyBuilder$e(luvio, keyParams);
1103
+ return keyBuilder$g(luvio, keyParams);
1104
1104
  }
1105
- function normalize$c(input, existing, path, luvio, store, timestamp) {
1105
+ function normalize$d(input, existing, path, luvio, store, timestamp) {
1106
1106
  return input;
1107
1107
  }
1108
- const select$r = function GetSlotChainsOutputRepresentationSelect() {
1108
+ const select$w = function GetSlotChainsOutputRepresentationSelect() {
1109
1109
  return {
1110
1110
  kind: 'Fragment',
1111
- version: VERSION$e,
1111
+ version: VERSION$i,
1112
1112
  private: [],
1113
1113
  selections: [
1114
1114
  {
@@ -1137,7 +1137,7 @@ const select$r = function GetSlotChainsOutputRepresentationSelect() {
1137
1137
  ]
1138
1138
  };
1139
1139
  };
1140
- function equals$e(existing, incoming) {
1140
+ function equals$i(existing, incoming) {
1141
1141
  const existing_isSuccess = existing.isSuccess;
1142
1142
  const incoming_isSuccess = incoming.isSuccess;
1143
1143
  if (!(existing_isSuccess === incoming_isSuccess)) {
@@ -1209,41 +1209,41 @@ function equals$e(existing, incoming) {
1209
1209
  }
1210
1210
  return true;
1211
1211
  }
1212
- const ingest$c = function GetSlotChainsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1212
+ const ingest$d = function GetSlotChainsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1213
1213
  if (process.env.NODE_ENV !== 'production') {
1214
- const validateError = validate$o(input);
1214
+ const validateError = validate$s(input);
1215
1215
  if (validateError !== null) {
1216
1216
  throw validateError;
1217
1217
  }
1218
1218
  }
1219
1219
  const key = keyBuilderFromType$a(luvio, input);
1220
1220
  const ttlToUse = path.ttl !== undefined ? path.ttl : 500;
1221
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "healthcloud", VERSION$e, RepresentationType$c, equals$e);
1221
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "healthcloud", VERSION$i, RepresentationType$d, equals$i);
1222
1222
  return createLink(key);
1223
1223
  };
1224
- function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
1224
+ function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
1225
1225
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1226
1226
  const rootKey = keyBuilderFromType$a(luvio, input);
1227
1227
  rootKeySet.set(rootKey, {
1228
1228
  namespace: keyPrefix,
1229
- representationName: RepresentationType$c,
1229
+ representationName: RepresentationType$d,
1230
1230
  mergeable: false
1231
1231
  });
1232
1232
  }
1233
1233
 
1234
- function select$q(luvio, params) {
1235
- return select$r();
1234
+ function select$v(luvio, params) {
1235
+ return select$w();
1236
1236
  }
1237
- function getResponseCacheKeys$c(storeKeyMap, luvio, resourceParams, response) {
1238
- getTypeCacheKeys$c(storeKeyMap, luvio, response);
1237
+ function getResponseCacheKeys$d(storeKeyMap, luvio, resourceParams, response) {
1238
+ getTypeCacheKeys$d(storeKeyMap, luvio, response);
1239
1239
  }
1240
- function ingestSuccess$c(luvio, resourceParams, response) {
1240
+ function ingestSuccess$d(luvio, resourceParams, response) {
1241
1241
  const { body } = response;
1242
1242
  const key = keyBuilderFromType$a(luvio, body);
1243
- luvio.storeIngest(key, ingest$c, body);
1243
+ luvio.storeIngest(key, ingest$d, body);
1244
1244
  const snapshot = luvio.storeLookup({
1245
1245
  recordId: key,
1246
- node: select$q(),
1246
+ node: select$v(),
1247
1247
  variables: {},
1248
1248
  });
1249
1249
  if (process.env.NODE_ENV !== 'production') {
@@ -1254,7 +1254,7 @@ function ingestSuccess$c(luvio, resourceParams, response) {
1254
1254
  deepFreeze(snapshot.data);
1255
1255
  return snapshot;
1256
1256
  }
1257
- function createResourceRequest$c(config) {
1257
+ function createResourceRequest$d(config) {
1258
1258
  const headers = {};
1259
1259
  return {
1260
1260
  baseUri: '/services/data/v62.0',
@@ -1268,7 +1268,7 @@ function createResourceRequest$c(config) {
1268
1268
  };
1269
1269
  }
1270
1270
 
1271
- const adapterName$c = 'getSlotChains';
1271
+ const adapterName$d = 'getSlotChains';
1272
1272
  const getSlotChains_ConfigPropertyMetadata = [
1273
1273
  generateParamConfigMetadata('considerPrioritizationRules', false, 2 /* Body */, 1 /* Boolean */),
1274
1274
  generateParamConfigMetadata('formSlotChains', true, 2 /* Body */, 1 /* Boolean */),
@@ -1279,11 +1279,11 @@ const getSlotChains_ConfigPropertyMetadata = [
1279
1279
  generateParamConfigMetadata('workProcedureId', true, 2 /* Body */, 0 /* String */),
1280
1280
  generateParamConfigMetadata('contextId', false, 2 /* Body */, 0 /* String */),
1281
1281
  ];
1282
- const getSlotChains_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, getSlotChains_ConfigPropertyMetadata);
1283
- const createResourceParams$c = /*#__PURE__*/ createResourceParams$g(getSlotChains_ConfigPropertyMetadata);
1284
- function typeCheckConfig$c(untrustedConfig) {
1282
+ const getSlotChains_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, getSlotChains_ConfigPropertyMetadata);
1283
+ const createResourceParams$d = /*#__PURE__*/ createResourceParams$h(getSlotChains_ConfigPropertyMetadata);
1284
+ function typeCheckConfig$d(untrustedConfig) {
1285
1285
  const config = {};
1286
- typeCheckConfig$g(untrustedConfig, config, getSlotChains_ConfigPropertyMetadata);
1286
+ typeCheckConfig$h(untrustedConfig, config, getSlotChains_ConfigPropertyMetadata);
1287
1287
  const untrustedConfig_leadTimeMap = untrustedConfig.leadTimeMap;
1288
1288
  if (untrustedIsObject(untrustedConfig_leadTimeMap)) {
1289
1289
  const untrustedConfig_leadTimeMap_object = {};
@@ -1306,7 +1306,7 @@ function typeCheckConfig$c(untrustedConfig) {
1306
1306
  const untrustedConfig_searchConditions_array = [];
1307
1307
  for (let i = 0, arrayLength = untrustedConfig_searchConditions.length; i < arrayLength; i++) {
1308
1308
  const untrustedConfig_searchConditions_item = untrustedConfig_searchConditions[i];
1309
- const referenceSearchConditionInputRepresentationValidationError = validate$s(untrustedConfig_searchConditions_item);
1309
+ const referenceSearchConditionInputRepresentationValidationError = validate$w(untrustedConfig_searchConditions_item);
1310
1310
  if (referenceSearchConditionInputRepresentationValidationError === null) {
1311
1311
  untrustedConfig_searchConditions_array.push(untrustedConfig_searchConditions_item);
1312
1312
  }
@@ -1314,36 +1314,36 @@ function typeCheckConfig$c(untrustedConfig) {
1314
1314
  config.searchConditions = untrustedConfig_searchConditions_array;
1315
1315
  }
1316
1316
  const untrustedConfig_slotSearchDatesCriteria = untrustedConfig.slotSearchDatesCriteria;
1317
- const referenceSlotSearchDatesCriteriaInputRepresentationValidationError = validate$p(untrustedConfig_slotSearchDatesCriteria);
1317
+ const referenceSlotSearchDatesCriteriaInputRepresentationValidationError = validate$t(untrustedConfig_slotSearchDatesCriteria);
1318
1318
  if (referenceSlotSearchDatesCriteriaInputRepresentationValidationError === null) {
1319
1319
  config.slotSearchDatesCriteria = untrustedConfig_slotSearchDatesCriteria;
1320
1320
  }
1321
1321
  return config;
1322
1322
  }
1323
- function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
1323
+ function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
1324
1324
  if (!untrustedIsObject(untrustedConfig)) {
1325
1325
  return null;
1326
1326
  }
1327
1327
  if (process.env.NODE_ENV !== 'production') {
1328
1328
  validateConfig(untrustedConfig, configPropertyNames);
1329
1329
  }
1330
- const config = typeCheckConfig$c(untrustedConfig);
1330
+ const config = typeCheckConfig$d(untrustedConfig);
1331
1331
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
1332
1332
  return null;
1333
1333
  }
1334
1334
  return config;
1335
1335
  }
1336
- function buildNetworkSnapshot$c(luvio, config, options) {
1337
- const resourceParams = createResourceParams$c(config);
1338
- const request = createResourceRequest$c(resourceParams);
1336
+ function buildNetworkSnapshot$d(luvio, config, options) {
1337
+ const resourceParams = createResourceParams$d(config);
1338
+ const request = createResourceRequest$d(resourceParams);
1339
1339
  return luvio.dispatchResourceRequest(request, options)
1340
1340
  .then((response) => {
1341
1341
  return luvio.handleSuccessResponse(() => {
1342
- const snapshot = ingestSuccess$c(luvio, resourceParams, response);
1342
+ const snapshot = ingestSuccess$d(luvio, resourceParams, response);
1343
1343
  return luvio.storeBroadcast().then(() => snapshot);
1344
1344
  }, () => {
1345
1345
  const cache = new StoreKeyMap();
1346
- getResponseCacheKeys$c(cache, luvio, resourceParams, response.body);
1346
+ getResponseCacheKeys$d(cache, luvio, resourceParams, response.body);
1347
1347
  return cache;
1348
1348
  });
1349
1349
  }, (response) => {
@@ -1353,16 +1353,16 @@ function buildNetworkSnapshot$c(luvio, config, options) {
1353
1353
  }
1354
1354
  const getSlotChainsAdapterFactory = (luvio) => {
1355
1355
  return function getSlotChains(untrustedConfig) {
1356
- const config = validateAdapterConfig$c(untrustedConfig, getSlotChains_ConfigPropertyNames);
1356
+ const config = validateAdapterConfig$d(untrustedConfig, getSlotChains_ConfigPropertyNames);
1357
1357
  // Invalid or incomplete config
1358
1358
  if (config === null) {
1359
1359
  throw new Error('Invalid config for "getSlotChains"');
1360
1360
  }
1361
- return buildNetworkSnapshot$c(luvio, config);
1361
+ return buildNetworkSnapshot$d(luvio, config);
1362
1362
  };
1363
1363
  };
1364
1364
 
1365
- function validate$n(obj, path = 'SlotInputRepresentation') {
1365
+ function validate$r(obj, path = 'SlotInputRepresentation') {
1366
1366
  const v_error = (() => {
1367
1367
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1368
1368
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1482,7 +1482,7 @@ function validate$n(obj, path = 'SlotInputRepresentation') {
1482
1482
  return v_error === undefined ? null : v_error;
1483
1483
  }
1484
1484
 
1485
- function validate$m(obj, path = 'BookSlotChainInputRepresentation') {
1485
+ function validate$q(obj, path = 'BookSlotChainInputRepresentation') {
1486
1486
  const v_error = (() => {
1487
1487
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1488
1488
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1500,7 +1500,7 @@ function validate$m(obj, path = 'BookSlotChainInputRepresentation') {
1500
1500
  for (let i = 0; i < obj_slots.length; i++) {
1501
1501
  const obj_slots_item = obj_slots[i];
1502
1502
  const path_slots_item = path_slots + '[' + i + ']';
1503
- const referencepath_slots_itemValidationError = validate$n(obj_slots_item, path_slots_item);
1503
+ const referencepath_slots_itemValidationError = validate$r(obj_slots_item, path_slots_item);
1504
1504
  if (referencepath_slots_itemValidationError !== null) {
1505
1505
  let message = 'Object doesn\'t match SlotInputRepresentation (at "' + path_slots_item + '")\n';
1506
1506
  message += referencepath_slots_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1516,8 +1516,8 @@ function validate$m(obj, path = 'BookSlotChainInputRepresentation') {
1516
1516
  return v_error === undefined ? null : v_error;
1517
1517
  }
1518
1518
 
1519
- const VERSION$d = "887532f336104d21a2b8063efbba663c";
1520
- function validate$l(obj, path = 'BookSlotChainOutputRepresentation') {
1519
+ const VERSION$h = "887532f336104d21a2b8063efbba663c";
1520
+ function validate$p(obj, path = 'BookSlotChainOutputRepresentation') {
1521
1521
  const v_error = (() => {
1522
1522
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1523
1523
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1605,23 +1605,23 @@ function validate$l(obj, path = 'BookSlotChainOutputRepresentation') {
1605
1605
  })();
1606
1606
  return v_error === undefined ? null : v_error;
1607
1607
  }
1608
- const RepresentationType$b = 'BookSlotChainOutputRepresentation';
1609
- function keyBuilder$d(luvio, config) {
1610
- return keyPrefix + '::' + RepresentationType$b + ':' + config.isSuccess;
1608
+ const RepresentationType$c = 'BookSlotChainOutputRepresentation';
1609
+ function keyBuilder$f(luvio, config) {
1610
+ return keyPrefix + '::' + RepresentationType$c + ':' + config.isSuccess;
1611
1611
  }
1612
1612
  function keyBuilderFromType$9(luvio, object) {
1613
1613
  const keyParams = {
1614
1614
  isSuccess: object.isSuccess
1615
1615
  };
1616
- return keyBuilder$d(luvio, keyParams);
1616
+ return keyBuilder$f(luvio, keyParams);
1617
1617
  }
1618
- function normalize$b(input, existing, path, luvio, store, timestamp) {
1618
+ function normalize$c(input, existing, path, luvio, store, timestamp) {
1619
1619
  return input;
1620
1620
  }
1621
- const select$p = function BookSlotChainOutputRepresentationSelect() {
1621
+ const select$u = function BookSlotChainOutputRepresentationSelect() {
1622
1622
  return {
1623
1623
  kind: 'Fragment',
1624
- version: VERSION$d,
1624
+ version: VERSION$h,
1625
1625
  private: [],
1626
1626
  selections: [
1627
1627
  {
@@ -1651,7 +1651,7 @@ const select$p = function BookSlotChainOutputRepresentationSelect() {
1651
1651
  ]
1652
1652
  };
1653
1653
  };
1654
- function equals$d(existing, incoming) {
1654
+ function equals$h(existing, incoming) {
1655
1655
  const existing_isSuccess = existing.isSuccess;
1656
1656
  const incoming_isSuccess = incoming.isSuccess;
1657
1657
  if (!(existing_isSuccess === incoming_isSuccess)) {
@@ -1708,41 +1708,41 @@ function equals$d(existing, incoming) {
1708
1708
  }
1709
1709
  return true;
1710
1710
  }
1711
- const ingest$b = function BookSlotChainOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1711
+ const ingest$c = function BookSlotChainOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1712
1712
  if (process.env.NODE_ENV !== 'production') {
1713
- const validateError = validate$l(input);
1713
+ const validateError = validate$p(input);
1714
1714
  if (validateError !== null) {
1715
1715
  throw validateError;
1716
1716
  }
1717
1717
  }
1718
1718
  const key = keyBuilderFromType$9(luvio, input);
1719
1719
  const ttlToUse = path.ttl !== undefined ? path.ttl : 500;
1720
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "healthcloud", VERSION$d, RepresentationType$b, equals$d);
1720
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "healthcloud", VERSION$h, RepresentationType$c, equals$h);
1721
1721
  return createLink(key);
1722
1722
  };
1723
- function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
1723
+ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
1724
1724
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1725
1725
  const rootKey = keyBuilderFromType$9(luvio, input);
1726
1726
  rootKeySet.set(rootKey, {
1727
1727
  namespace: keyPrefix,
1728
- representationName: RepresentationType$b,
1728
+ representationName: RepresentationType$c,
1729
1729
  mergeable: false
1730
1730
  });
1731
1731
  }
1732
1732
 
1733
- function select$o(luvio, params) {
1734
- return select$p();
1733
+ function select$t(luvio, params) {
1734
+ return select$u();
1735
1735
  }
1736
- function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
1737
- getTypeCacheKeys$b(storeKeyMap, luvio, response);
1736
+ function getResponseCacheKeys$c(storeKeyMap, luvio, resourceParams, response) {
1737
+ getTypeCacheKeys$c(storeKeyMap, luvio, response);
1738
1738
  }
1739
- function ingestSuccess$b(luvio, resourceParams, response) {
1739
+ function ingestSuccess$c(luvio, resourceParams, response) {
1740
1740
  const { body } = response;
1741
1741
  const key = keyBuilderFromType$9(luvio, body);
1742
- luvio.storeIngest(key, ingest$b, body);
1742
+ luvio.storeIngest(key, ingest$c, body);
1743
1743
  const snapshot = luvio.storeLookup({
1744
1744
  recordId: key,
1745
- node: select$o(),
1745
+ node: select$t(),
1746
1746
  variables: {},
1747
1747
  });
1748
1748
  if (process.env.NODE_ENV !== 'production') {
@@ -1753,7 +1753,7 @@ function ingestSuccess$b(luvio, resourceParams, response) {
1753
1753
  deepFreeze(snapshot.data);
1754
1754
  return snapshot;
1755
1755
  }
1756
- function createResourceRequest$b(config) {
1756
+ function createResourceRequest$c(config) {
1757
1757
  const headers = {};
1758
1758
  return {
1759
1759
  baseUri: '/services/data/v62.0',
@@ -1767,45 +1767,45 @@ function createResourceRequest$b(config) {
1767
1767
  };
1768
1768
  }
1769
1769
 
1770
- const adapterName$b = 'bookSlotChain';
1770
+ const adapterName$c = 'bookSlotChain';
1771
1771
  const bookSlotChain_ConfigPropertyMetadata = [
1772
1772
  generateParamConfigMetadata('BookSlotChainInput', true, 2 /* Body */, 4 /* Unsupported */),
1773
1773
  ];
1774
- const bookSlotChain_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, bookSlotChain_ConfigPropertyMetadata);
1775
- const createResourceParams$b = /*#__PURE__*/ createResourceParams$g(bookSlotChain_ConfigPropertyMetadata);
1776
- function typeCheckConfig$b(untrustedConfig) {
1774
+ const bookSlotChain_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, bookSlotChain_ConfigPropertyMetadata);
1775
+ const createResourceParams$c = /*#__PURE__*/ createResourceParams$h(bookSlotChain_ConfigPropertyMetadata);
1776
+ function typeCheckConfig$c(untrustedConfig) {
1777
1777
  const config = {};
1778
1778
  const untrustedConfig_BookSlotChainInput = untrustedConfig.BookSlotChainInput;
1779
- const referenceBookSlotChainInputRepresentationValidationError = validate$m(untrustedConfig_BookSlotChainInput);
1779
+ const referenceBookSlotChainInputRepresentationValidationError = validate$q(untrustedConfig_BookSlotChainInput);
1780
1780
  if (referenceBookSlotChainInputRepresentationValidationError === null) {
1781
1781
  config.BookSlotChainInput = untrustedConfig_BookSlotChainInput;
1782
1782
  }
1783
1783
  return config;
1784
1784
  }
1785
- function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
1785
+ function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
1786
1786
  if (!untrustedIsObject(untrustedConfig)) {
1787
1787
  return null;
1788
1788
  }
1789
1789
  if (process.env.NODE_ENV !== 'production') {
1790
1790
  validateConfig(untrustedConfig, configPropertyNames);
1791
1791
  }
1792
- const config = typeCheckConfig$b(untrustedConfig);
1792
+ const config = typeCheckConfig$c(untrustedConfig);
1793
1793
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
1794
1794
  return null;
1795
1795
  }
1796
1796
  return config;
1797
1797
  }
1798
- function buildNetworkSnapshot$b(luvio, config, options) {
1799
- const resourceParams = createResourceParams$b(config);
1800
- const request = createResourceRequest$b(resourceParams);
1798
+ function buildNetworkSnapshot$c(luvio, config, options) {
1799
+ const resourceParams = createResourceParams$c(config);
1800
+ const request = createResourceRequest$c(resourceParams);
1801
1801
  return luvio.dispatchResourceRequest(request, options)
1802
1802
  .then((response) => {
1803
1803
  return luvio.handleSuccessResponse(() => {
1804
- const snapshot = ingestSuccess$b(luvio, resourceParams, response);
1804
+ const snapshot = ingestSuccess$c(luvio, resourceParams, response);
1805
1805
  return luvio.storeBroadcast().then(() => snapshot);
1806
1806
  }, () => {
1807
1807
  const cache = new StoreKeyMap();
1808
- getResponseCacheKeys$b(cache, luvio, resourceParams, response.body);
1808
+ getResponseCacheKeys$c(cache, luvio, resourceParams, response.body);
1809
1809
  return cache;
1810
1810
  });
1811
1811
  }, (response) => {
@@ -1815,16 +1815,16 @@ function buildNetworkSnapshot$b(luvio, config, options) {
1815
1815
  }
1816
1816
  const bookSlotChainAdapterFactory = (luvio) => {
1817
1817
  return function bookSlotChain(untrustedConfig) {
1818
- const config = validateAdapterConfig$b(untrustedConfig, bookSlotChain_ConfigPropertyNames);
1818
+ const config = validateAdapterConfig$c(untrustedConfig, bookSlotChain_ConfigPropertyNames);
1819
1819
  // Invalid or incomplete config
1820
1820
  if (config === null) {
1821
1821
  throw new Error('Invalid config for "bookSlotChain"');
1822
1822
  }
1823
- return buildNetworkSnapshot$b(luvio, config);
1823
+ return buildNetworkSnapshot$c(luvio, config);
1824
1824
  };
1825
1825
  };
1826
1826
 
1827
- function validate$k(obj, path = 'CancelSlotChainInputRepresentation') {
1827
+ function validate$o(obj, path = 'CancelSlotChainInputRepresentation') {
1828
1828
  const v_error = (() => {
1829
1829
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1830
1830
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1866,8 +1866,8 @@ function validate$k(obj, path = 'CancelSlotChainInputRepresentation') {
1866
1866
  return v_error === undefined ? null : v_error;
1867
1867
  }
1868
1868
 
1869
- const VERSION$c = "07afa0b60322d98e30127d781f0484ae";
1870
- function validate$j(obj, path = 'CancelSlotChainOutputRepresentation') {
1869
+ const VERSION$g = "07afa0b60322d98e30127d781f0484ae";
1870
+ function validate$n(obj, path = 'CancelSlotChainOutputRepresentation') {
1871
1871
  const v_error = (() => {
1872
1872
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1873
1873
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1925,23 +1925,23 @@ function validate$j(obj, path = 'CancelSlotChainOutputRepresentation') {
1925
1925
  })();
1926
1926
  return v_error === undefined ? null : v_error;
1927
1927
  }
1928
- const RepresentationType$a = 'CancelSlotChainOutputRepresentation';
1929
- function keyBuilder$c(luvio, config) {
1930
- return keyPrefix + '::' + RepresentationType$a + ':' + config.isSuccess;
1928
+ const RepresentationType$b = 'CancelSlotChainOutputRepresentation';
1929
+ function keyBuilder$e(luvio, config) {
1930
+ return keyPrefix + '::' + RepresentationType$b + ':' + config.isSuccess;
1931
1931
  }
1932
1932
  function keyBuilderFromType$8(luvio, object) {
1933
1933
  const keyParams = {
1934
1934
  isSuccess: object.isSuccess
1935
1935
  };
1936
- return keyBuilder$c(luvio, keyParams);
1936
+ return keyBuilder$e(luvio, keyParams);
1937
1937
  }
1938
- function normalize$a(input, existing, path, luvio, store, timestamp) {
1938
+ function normalize$b(input, existing, path, luvio, store, timestamp) {
1939
1939
  return input;
1940
1940
  }
1941
- const select$n = function CancelSlotChainOutputRepresentationSelect() {
1941
+ const select$s = function CancelSlotChainOutputRepresentationSelect() {
1942
1942
  return {
1943
1943
  kind: 'Fragment',
1944
- version: VERSION$c,
1944
+ version: VERSION$g,
1945
1945
  private: [],
1946
1946
  selections: [
1947
1947
  {
@@ -1965,7 +1965,7 @@ const select$n = function CancelSlotChainOutputRepresentationSelect() {
1965
1965
  ]
1966
1966
  };
1967
1967
  };
1968
- function equals$c(existing, incoming) {
1968
+ function equals$g(existing, incoming) {
1969
1969
  const existing_isSuccess = existing.isSuccess;
1970
1970
  const incoming_isSuccess = incoming.isSuccess;
1971
1971
  if (!(existing_isSuccess === incoming_isSuccess)) {
@@ -2001,41 +2001,41 @@ function equals$c(existing, incoming) {
2001
2001
  }
2002
2002
  return true;
2003
2003
  }
2004
- const ingest$a = function CancelSlotChainOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2004
+ const ingest$b = function CancelSlotChainOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2005
2005
  if (process.env.NODE_ENV !== 'production') {
2006
- const validateError = validate$j(input);
2006
+ const validateError = validate$n(input);
2007
2007
  if (validateError !== null) {
2008
2008
  throw validateError;
2009
2009
  }
2010
2010
  }
2011
2011
  const key = keyBuilderFromType$8(luvio, input);
2012
2012
  const ttlToUse = path.ttl !== undefined ? path.ttl : 500;
2013
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "healthcloud", VERSION$c, RepresentationType$a, equals$c);
2013
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "healthcloud", VERSION$g, RepresentationType$b, equals$g);
2014
2014
  return createLink(key);
2015
2015
  };
2016
- function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
2016
+ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
2017
2017
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
2018
2018
  const rootKey = keyBuilderFromType$8(luvio, input);
2019
2019
  rootKeySet.set(rootKey, {
2020
2020
  namespace: keyPrefix,
2021
- representationName: RepresentationType$a,
2021
+ representationName: RepresentationType$b,
2022
2022
  mergeable: false
2023
2023
  });
2024
2024
  }
2025
2025
 
2026
- function select$m(luvio, params) {
2027
- return select$n();
2026
+ function select$r(luvio, params) {
2027
+ return select$s();
2028
2028
  }
2029
- function getResponseCacheKeys$a(storeKeyMap, luvio, resourceParams, response) {
2030
- getTypeCacheKeys$a(storeKeyMap, luvio, response);
2029
+ function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
2030
+ getTypeCacheKeys$b(storeKeyMap, luvio, response);
2031
2031
  }
2032
- function ingestSuccess$a(luvio, resourceParams, response) {
2032
+ function ingestSuccess$b(luvio, resourceParams, response) {
2033
2033
  const { body } = response;
2034
2034
  const key = keyBuilderFromType$8(luvio, body);
2035
- luvio.storeIngest(key, ingest$a, body);
2035
+ luvio.storeIngest(key, ingest$b, body);
2036
2036
  const snapshot = luvio.storeLookup({
2037
2037
  recordId: key,
2038
- node: select$m(),
2038
+ node: select$r(),
2039
2039
  variables: {},
2040
2040
  });
2041
2041
  if (process.env.NODE_ENV !== 'production') {
@@ -2046,7 +2046,7 @@ function ingestSuccess$a(luvio, resourceParams, response) {
2046
2046
  deepFreeze(snapshot.data);
2047
2047
  return snapshot;
2048
2048
  }
2049
- function createResourceRequest$a(config) {
2049
+ function createResourceRequest$b(config) {
2050
2050
  const headers = {};
2051
2051
  return {
2052
2052
  baseUri: '/services/data/v62.0',
@@ -2060,45 +2060,45 @@ function createResourceRequest$a(config) {
2060
2060
  };
2061
2061
  }
2062
2062
 
2063
- const adapterName$a = 'cancelSlotChain';
2063
+ const adapterName$b = 'cancelSlotChain';
2064
2064
  const cancelSlotChain_ConfigPropertyMetadata = [
2065
2065
  generateParamConfigMetadata('CancelSlotChainInput', true, 2 /* Body */, 4 /* Unsupported */),
2066
2066
  ];
2067
- const cancelSlotChain_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, cancelSlotChain_ConfigPropertyMetadata);
2068
- const createResourceParams$a = /*#__PURE__*/ createResourceParams$g(cancelSlotChain_ConfigPropertyMetadata);
2069
- function typeCheckConfig$a(untrustedConfig) {
2067
+ const cancelSlotChain_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, cancelSlotChain_ConfigPropertyMetadata);
2068
+ const createResourceParams$b = /*#__PURE__*/ createResourceParams$h(cancelSlotChain_ConfigPropertyMetadata);
2069
+ function typeCheckConfig$b(untrustedConfig) {
2070
2070
  const config = {};
2071
2071
  const untrustedConfig_CancelSlotChainInput = untrustedConfig.CancelSlotChainInput;
2072
- const referenceCancelSlotChainInputRepresentationValidationError = validate$k(untrustedConfig_CancelSlotChainInput);
2072
+ const referenceCancelSlotChainInputRepresentationValidationError = validate$o(untrustedConfig_CancelSlotChainInput);
2073
2073
  if (referenceCancelSlotChainInputRepresentationValidationError === null) {
2074
2074
  config.CancelSlotChainInput = untrustedConfig_CancelSlotChainInput;
2075
2075
  }
2076
2076
  return config;
2077
2077
  }
2078
- function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
2078
+ function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
2079
2079
  if (!untrustedIsObject(untrustedConfig)) {
2080
2080
  return null;
2081
2081
  }
2082
2082
  if (process.env.NODE_ENV !== 'production') {
2083
2083
  validateConfig(untrustedConfig, configPropertyNames);
2084
2084
  }
2085
- const config = typeCheckConfig$a(untrustedConfig);
2085
+ const config = typeCheckConfig$b(untrustedConfig);
2086
2086
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
2087
2087
  return null;
2088
2088
  }
2089
2089
  return config;
2090
2090
  }
2091
- function buildNetworkSnapshot$a(luvio, config, options) {
2092
- const resourceParams = createResourceParams$a(config);
2093
- const request = createResourceRequest$a(resourceParams);
2091
+ function buildNetworkSnapshot$b(luvio, config, options) {
2092
+ const resourceParams = createResourceParams$b(config);
2093
+ const request = createResourceRequest$b(resourceParams);
2094
2094
  return luvio.dispatchResourceRequest(request, options)
2095
2095
  .then((response) => {
2096
2096
  return luvio.handleSuccessResponse(() => {
2097
- const snapshot = ingestSuccess$a(luvio, resourceParams, response);
2097
+ const snapshot = ingestSuccess$b(luvio, resourceParams, response);
2098
2098
  return luvio.storeBroadcast().then(() => snapshot);
2099
2099
  }, () => {
2100
2100
  const cache = new StoreKeyMap();
2101
- getResponseCacheKeys$a(cache, luvio, resourceParams, response.body);
2101
+ getResponseCacheKeys$b(cache, luvio, resourceParams, response.body);
2102
2102
  return cache;
2103
2103
  });
2104
2104
  }, (response) => {
@@ -2108,17 +2108,17 @@ function buildNetworkSnapshot$a(luvio, config, options) {
2108
2108
  }
2109
2109
  const cancelSlotChainAdapterFactory = (luvio) => {
2110
2110
  return function cancelSlotChain(untrustedConfig) {
2111
- const config = validateAdapterConfig$a(untrustedConfig, cancelSlotChain_ConfigPropertyNames);
2111
+ const config = validateAdapterConfig$b(untrustedConfig, cancelSlotChain_ConfigPropertyNames);
2112
2112
  // Invalid or incomplete config
2113
2113
  if (config === null) {
2114
2114
  throw new Error('Invalid config for "cancelSlotChain"');
2115
2115
  }
2116
- return buildNetworkSnapshot$a(luvio, config);
2116
+ return buildNetworkSnapshot$b(luvio, config);
2117
2117
  };
2118
2118
  };
2119
2119
 
2120
- const VERSION$b = "24bea45579ca193212b8861df5642516";
2121
- function validate$i(obj, path = 'WorkTypeLeadTimeOutputRepresentation') {
2120
+ const VERSION$f = "24bea45579ca193212b8861df5642516";
2121
+ function validate$m(obj, path = 'WorkTypeLeadTimeOutputRepresentation') {
2122
2122
  const v_error = (() => {
2123
2123
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2124
2124
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2178,23 +2178,23 @@ function validate$i(obj, path = 'WorkTypeLeadTimeOutputRepresentation') {
2178
2178
  })();
2179
2179
  return v_error === undefined ? null : v_error;
2180
2180
  }
2181
- const RepresentationType$9 = 'WorkTypeLeadTimeOutputRepresentation';
2182
- function keyBuilder$b(luvio, config) {
2183
- return keyPrefix + '::' + RepresentationType$9 + ':' + config.isSuccess;
2181
+ const RepresentationType$a = 'WorkTypeLeadTimeOutputRepresentation';
2182
+ function keyBuilder$d(luvio, config) {
2183
+ return keyPrefix + '::' + RepresentationType$a + ':' + config.isSuccess;
2184
2184
  }
2185
2185
  function keyBuilderFromType$7(luvio, object) {
2186
2186
  const keyParams = {
2187
2187
  isSuccess: object.isSuccess
2188
2188
  };
2189
- return keyBuilder$b(luvio, keyParams);
2189
+ return keyBuilder$d(luvio, keyParams);
2190
2190
  }
2191
- function normalize$9(input, existing, path, luvio, store, timestamp) {
2191
+ function normalize$a(input, existing, path, luvio, store, timestamp) {
2192
2192
  return input;
2193
2193
  }
2194
- const select$l = function WorkTypeLeadTimeOutputRepresentationSelect() {
2194
+ const select$q = function WorkTypeLeadTimeOutputRepresentationSelect() {
2195
2195
  return {
2196
2196
  kind: 'Fragment',
2197
- version: VERSION$b,
2197
+ version: VERSION$f,
2198
2198
  private: [],
2199
2199
  selections: [
2200
2200
  {
@@ -2218,7 +2218,7 @@ const select$l = function WorkTypeLeadTimeOutputRepresentationSelect() {
2218
2218
  ]
2219
2219
  };
2220
2220
  };
2221
- function equals$b(existing, incoming) {
2221
+ function equals$f(existing, incoming) {
2222
2222
  const existing_isSuccess = existing.isSuccess;
2223
2223
  const incoming_isSuccess = incoming.isSuccess;
2224
2224
  if (!(existing_isSuccess === incoming_isSuccess)) {
@@ -2254,41 +2254,41 @@ function equals$b(existing, incoming) {
2254
2254
  }
2255
2255
  return true;
2256
2256
  }
2257
- const ingest$9 = function WorkTypeLeadTimeOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2257
+ const ingest$a = function WorkTypeLeadTimeOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2258
2258
  if (process.env.NODE_ENV !== 'production') {
2259
- const validateError = validate$i(input);
2259
+ const validateError = validate$m(input);
2260
2260
  if (validateError !== null) {
2261
2261
  throw validateError;
2262
2262
  }
2263
2263
  }
2264
2264
  const key = keyBuilderFromType$7(luvio, input);
2265
2265
  const ttlToUse = path.ttl !== undefined ? path.ttl : 500;
2266
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "healthcloud", VERSION$b, RepresentationType$9, equals$b);
2266
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "healthcloud", VERSION$f, RepresentationType$a, equals$f);
2267
2267
  return createLink(key);
2268
2268
  };
2269
- function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
2269
+ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
2270
2270
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
2271
2271
  const rootKey = keyBuilderFromType$7(luvio, input);
2272
2272
  rootKeySet.set(rootKey, {
2273
2273
  namespace: keyPrefix,
2274
- representationName: RepresentationType$9,
2274
+ representationName: RepresentationType$a,
2275
2275
  mergeable: false
2276
2276
  });
2277
2277
  }
2278
2278
 
2279
- function select$k(luvio, params) {
2280
- return select$l();
2279
+ function select$p(luvio, params) {
2280
+ return select$q();
2281
2281
  }
2282
- function getResponseCacheKeys$9(storeKeyMap, luvio, resourceParams, response) {
2283
- getTypeCacheKeys$9(storeKeyMap, luvio, response);
2282
+ function getResponseCacheKeys$a(storeKeyMap, luvio, resourceParams, response) {
2283
+ getTypeCacheKeys$a(storeKeyMap, luvio, response);
2284
2284
  }
2285
- function ingestSuccess$9(luvio, resourceParams, response) {
2285
+ function ingestSuccess$a(luvio, resourceParams, response) {
2286
2286
  const { body } = response;
2287
2287
  const key = keyBuilderFromType$7(luvio, body);
2288
- luvio.storeIngest(key, ingest$9, body);
2288
+ luvio.storeIngest(key, ingest$a, body);
2289
2289
  const snapshot = luvio.storeLookup({
2290
2290
  recordId: key,
2291
- node: select$k(),
2291
+ node: select$p(),
2292
2292
  variables: {},
2293
2293
  });
2294
2294
  if (process.env.NODE_ENV !== 'production') {
@@ -2299,7 +2299,7 @@ function ingestSuccess$9(luvio, resourceParams, response) {
2299
2299
  deepFreeze(snapshot.data);
2300
2300
  return snapshot;
2301
2301
  }
2302
- function createResourceRequest$9(config) {
2302
+ function createResourceRequest$a(config) {
2303
2303
  const headers = {};
2304
2304
  return {
2305
2305
  baseUri: '/services/data/v62.0',
@@ -2313,43 +2313,43 @@ function createResourceRequest$9(config) {
2313
2313
  };
2314
2314
  }
2315
2315
 
2316
- const adapterName$9 = 'workTypeLeadTime';
2316
+ const adapterName$a = 'workTypeLeadTime';
2317
2317
  const workTypeLeadTime_ConfigPropertyMetadata = [
2318
2318
  generateParamConfigMetadata('contextId', false, 2 /* Body */, 0 /* String */),
2319
2319
  generateParamConfigMetadata('priority', false, 2 /* Body */, 3 /* Integer */),
2320
2320
  generateParamConfigMetadata('workProcedureId', true, 2 /* Body */, 0 /* String */),
2321
2321
  ];
2322
- const workTypeLeadTime_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, workTypeLeadTime_ConfigPropertyMetadata);
2323
- const createResourceParams$9 = /*#__PURE__*/ createResourceParams$g(workTypeLeadTime_ConfigPropertyMetadata);
2324
- function typeCheckConfig$9(untrustedConfig) {
2322
+ const workTypeLeadTime_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, workTypeLeadTime_ConfigPropertyMetadata);
2323
+ const createResourceParams$a = /*#__PURE__*/ createResourceParams$h(workTypeLeadTime_ConfigPropertyMetadata);
2324
+ function typeCheckConfig$a(untrustedConfig) {
2325
2325
  const config = {};
2326
- typeCheckConfig$g(untrustedConfig, config, workTypeLeadTime_ConfigPropertyMetadata);
2326
+ typeCheckConfig$h(untrustedConfig, config, workTypeLeadTime_ConfigPropertyMetadata);
2327
2327
  return config;
2328
2328
  }
2329
- function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
2329
+ function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
2330
2330
  if (!untrustedIsObject(untrustedConfig)) {
2331
2331
  return null;
2332
2332
  }
2333
2333
  if (process.env.NODE_ENV !== 'production') {
2334
2334
  validateConfig(untrustedConfig, configPropertyNames);
2335
2335
  }
2336
- const config = typeCheckConfig$9(untrustedConfig);
2336
+ const config = typeCheckConfig$a(untrustedConfig);
2337
2337
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
2338
2338
  return null;
2339
2339
  }
2340
2340
  return config;
2341
2341
  }
2342
- function buildNetworkSnapshot$9(luvio, config, options) {
2343
- const resourceParams = createResourceParams$9(config);
2344
- const request = createResourceRequest$9(resourceParams);
2342
+ function buildNetworkSnapshot$a(luvio, config, options) {
2343
+ const resourceParams = createResourceParams$a(config);
2344
+ const request = createResourceRequest$a(resourceParams);
2345
2345
  return luvio.dispatchResourceRequest(request, options)
2346
2346
  .then((response) => {
2347
2347
  return luvio.handleSuccessResponse(() => {
2348
- const snapshot = ingestSuccess$9(luvio, resourceParams, response);
2348
+ const snapshot = ingestSuccess$a(luvio, resourceParams, response);
2349
2349
  return luvio.storeBroadcast().then(() => snapshot);
2350
2350
  }, () => {
2351
2351
  const cache = new StoreKeyMap();
2352
- getResponseCacheKeys$9(cache, luvio, resourceParams, response.body);
2352
+ getResponseCacheKeys$a(cache, luvio, resourceParams, response.body);
2353
2353
  return cache;
2354
2354
  });
2355
2355
  }, (response) => {
@@ -2359,17 +2359,17 @@ function buildNetworkSnapshot$9(luvio, config, options) {
2359
2359
  }
2360
2360
  const workTypeLeadTimeAdapterFactory = (luvio) => {
2361
2361
  return function workTypeLeadTime(untrustedConfig) {
2362
- const config = validateAdapterConfig$9(untrustedConfig, workTypeLeadTime_ConfigPropertyNames);
2362
+ const config = validateAdapterConfig$a(untrustedConfig, workTypeLeadTime_ConfigPropertyNames);
2363
2363
  // Invalid or incomplete config
2364
2364
  if (config === null) {
2365
2365
  throw new Error('Invalid config for "workTypeLeadTime"');
2366
2366
  }
2367
- return buildNetworkSnapshot$9(luvio, config);
2367
+ return buildNetworkSnapshot$a(luvio, config);
2368
2368
  };
2369
2369
  };
2370
2370
 
2371
- const VERSION$a = "573fa398c8d34b55ba0ce883f491b329";
2372
- function validate$h(obj, path = 'SlotChainValidationOutputRepresentation') {
2371
+ const VERSION$e = "573fa398c8d34b55ba0ce883f491b329";
2372
+ function validate$l(obj, path = 'SlotChainValidationOutputRepresentation') {
2373
2373
  const v_error = (() => {
2374
2374
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2375
2375
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2420,23 +2420,23 @@ function validate$h(obj, path = 'SlotChainValidationOutputRepresentation') {
2420
2420
  })();
2421
2421
  return v_error === undefined ? null : v_error;
2422
2422
  }
2423
- const RepresentationType$8 = 'SlotChainValidationOutputRepresentation';
2424
- function keyBuilder$a(luvio, config) {
2425
- return keyPrefix + '::' + RepresentationType$8 + ':' + config.isSuccess;
2423
+ const RepresentationType$9 = 'SlotChainValidationOutputRepresentation';
2424
+ function keyBuilder$c(luvio, config) {
2425
+ return keyPrefix + '::' + RepresentationType$9 + ':' + config.isSuccess;
2426
2426
  }
2427
2427
  function keyBuilderFromType$6(luvio, object) {
2428
2428
  const keyParams = {
2429
2429
  isSuccess: object.isSuccess
2430
2430
  };
2431
- return keyBuilder$a(luvio, keyParams);
2431
+ return keyBuilder$c(luvio, keyParams);
2432
2432
  }
2433
- function normalize$8(input, existing, path, luvio, store, timestamp) {
2433
+ function normalize$9(input, existing, path, luvio, store, timestamp) {
2434
2434
  return input;
2435
2435
  }
2436
- const select$j = function SlotChainValidationOutputRepresentationSelect() {
2436
+ const select$o = function SlotChainValidationOutputRepresentationSelect() {
2437
2437
  return {
2438
2438
  kind: 'Fragment',
2439
- version: VERSION$a,
2439
+ version: VERSION$e,
2440
2440
  private: [],
2441
2441
  selections: [
2442
2442
  {
@@ -2459,7 +2459,7 @@ const select$j = function SlotChainValidationOutputRepresentationSelect() {
2459
2459
  ]
2460
2460
  };
2461
2461
  };
2462
- function equals$a(existing, incoming) {
2462
+ function equals$e(existing, incoming) {
2463
2463
  const existing_isSlotChainValid = existing.isSlotChainValid;
2464
2464
  const incoming_isSlotChainValid = incoming.isSlotChainValid;
2465
2465
  if (!(existing_isSlotChainValid === incoming_isSlotChainValid)) {
@@ -2490,41 +2490,41 @@ function equals$a(existing, incoming) {
2490
2490
  }
2491
2491
  return true;
2492
2492
  }
2493
- const ingest$8 = function SlotChainValidationOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2493
+ const ingest$9 = function SlotChainValidationOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2494
2494
  if (process.env.NODE_ENV !== 'production') {
2495
- const validateError = validate$h(input);
2495
+ const validateError = validate$l(input);
2496
2496
  if (validateError !== null) {
2497
2497
  throw validateError;
2498
2498
  }
2499
2499
  }
2500
2500
  const key = keyBuilderFromType$6(luvio, input);
2501
2501
  const ttlToUse = path.ttl !== undefined ? path.ttl : 500;
2502
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "healthcloud", VERSION$a, RepresentationType$8, equals$a);
2502
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "healthcloud", VERSION$e, RepresentationType$9, equals$e);
2503
2503
  return createLink(key);
2504
2504
  };
2505
- function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
2505
+ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
2506
2506
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
2507
2507
  const rootKey = keyBuilderFromType$6(luvio, input);
2508
2508
  rootKeySet.set(rootKey, {
2509
2509
  namespace: keyPrefix,
2510
- representationName: RepresentationType$8,
2510
+ representationName: RepresentationType$9,
2511
2511
  mergeable: false
2512
2512
  });
2513
2513
  }
2514
2514
 
2515
- function select$i(luvio, params) {
2516
- return select$j();
2515
+ function select$n(luvio, params) {
2516
+ return select$o();
2517
2517
  }
2518
- function getResponseCacheKeys$8(storeKeyMap, luvio, resourceParams, response) {
2519
- getTypeCacheKeys$8(storeKeyMap, luvio, response);
2518
+ function getResponseCacheKeys$9(storeKeyMap, luvio, resourceParams, response) {
2519
+ getTypeCacheKeys$9(storeKeyMap, luvio, response);
2520
2520
  }
2521
- function ingestSuccess$8(luvio, resourceParams, response) {
2521
+ function ingestSuccess$9(luvio, resourceParams, response) {
2522
2522
  const { body } = response;
2523
2523
  const key = keyBuilderFromType$6(luvio, body);
2524
- luvio.storeIngest(key, ingest$8, body);
2524
+ luvio.storeIngest(key, ingest$9, body);
2525
2525
  const snapshot = luvio.storeLookup({
2526
2526
  recordId: key,
2527
- node: select$i(),
2527
+ node: select$n(),
2528
2528
  variables: {},
2529
2529
  });
2530
2530
  if (process.env.NODE_ENV !== 'production') {
@@ -2535,7 +2535,7 @@ function ingestSuccess$8(luvio, resourceParams, response) {
2535
2535
  deepFreeze(snapshot.data);
2536
2536
  return snapshot;
2537
2537
  }
2538
- function createResourceRequest$8(config) {
2538
+ function createResourceRequest$9(config) {
2539
2539
  const headers = {};
2540
2540
  return {
2541
2541
  baseUri: '/services/data/v62.0',
@@ -2549,24 +2549,24 @@ function createResourceRequest$8(config) {
2549
2549
  };
2550
2550
  }
2551
2551
 
2552
- const adapterName$8 = 'validateSlotChain';
2552
+ const adapterName$9 = 'validateSlotChain';
2553
2553
  const validateSlotChain_ConfigPropertyMetadata = [
2554
2554
  generateParamConfigMetadata('contextId', false, 2 /* Body */, 0 /* String */),
2555
2555
  generateParamConfigMetadata('workProcedureId', false, 2 /* Body */, 0 /* String */),
2556
2556
  generateParamConfigMetadata('slots', true, 2 /* Body */, 4 /* Unsupported */, true),
2557
2557
  generateParamConfigMetadata('siteId', false, 2 /* Body */, 0 /* String */),
2558
2558
  ];
2559
- const validateSlotChain_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, validateSlotChain_ConfigPropertyMetadata);
2560
- const createResourceParams$8 = /*#__PURE__*/ createResourceParams$g(validateSlotChain_ConfigPropertyMetadata);
2561
- function typeCheckConfig$8(untrustedConfig) {
2559
+ const validateSlotChain_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, validateSlotChain_ConfigPropertyMetadata);
2560
+ const createResourceParams$9 = /*#__PURE__*/ createResourceParams$h(validateSlotChain_ConfigPropertyMetadata);
2561
+ function typeCheckConfig$9(untrustedConfig) {
2562
2562
  const config = {};
2563
- typeCheckConfig$g(untrustedConfig, config, validateSlotChain_ConfigPropertyMetadata);
2563
+ typeCheckConfig$h(untrustedConfig, config, validateSlotChain_ConfigPropertyMetadata);
2564
2564
  const untrustedConfig_slots = untrustedConfig.slots;
2565
2565
  if (ArrayIsArray$1(untrustedConfig_slots)) {
2566
2566
  const untrustedConfig_slots_array = [];
2567
2567
  for (let i = 0, arrayLength = untrustedConfig_slots.length; i < arrayLength; i++) {
2568
2568
  const untrustedConfig_slots_item = untrustedConfig_slots[i];
2569
- const referenceSlotInputRepresentationValidationError = validate$n(untrustedConfig_slots_item);
2569
+ const referenceSlotInputRepresentationValidationError = validate$r(untrustedConfig_slots_item);
2570
2570
  if (referenceSlotInputRepresentationValidationError === null) {
2571
2571
  untrustedConfig_slots_array.push(untrustedConfig_slots_item);
2572
2572
  }
@@ -2575,30 +2575,30 @@ function typeCheckConfig$8(untrustedConfig) {
2575
2575
  }
2576
2576
  return config;
2577
2577
  }
2578
- function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
2578
+ function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
2579
2579
  if (!untrustedIsObject(untrustedConfig)) {
2580
2580
  return null;
2581
2581
  }
2582
2582
  if (process.env.NODE_ENV !== 'production') {
2583
2583
  validateConfig(untrustedConfig, configPropertyNames);
2584
2584
  }
2585
- const config = typeCheckConfig$8(untrustedConfig);
2585
+ const config = typeCheckConfig$9(untrustedConfig);
2586
2586
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
2587
2587
  return null;
2588
2588
  }
2589
2589
  return config;
2590
2590
  }
2591
- function buildNetworkSnapshot$8(luvio, config, options) {
2592
- const resourceParams = createResourceParams$8(config);
2593
- const request = createResourceRequest$8(resourceParams);
2591
+ function buildNetworkSnapshot$9(luvio, config, options) {
2592
+ const resourceParams = createResourceParams$9(config);
2593
+ const request = createResourceRequest$9(resourceParams);
2594
2594
  return luvio.dispatchResourceRequest(request, options)
2595
2595
  .then((response) => {
2596
2596
  return luvio.handleSuccessResponse(() => {
2597
- const snapshot = ingestSuccess$8(luvio, resourceParams, response);
2597
+ const snapshot = ingestSuccess$9(luvio, resourceParams, response);
2598
2598
  return luvio.storeBroadcast().then(() => snapshot);
2599
2599
  }, () => {
2600
2600
  const cache = new StoreKeyMap();
2601
- getResponseCacheKeys$8(cache, luvio, resourceParams, response.body);
2601
+ getResponseCacheKeys$9(cache, luvio, resourceParams, response.body);
2602
2602
  return cache;
2603
2603
  });
2604
2604
  }, (response) => {
@@ -2608,16 +2608,16 @@ function buildNetworkSnapshot$8(luvio, config, options) {
2608
2608
  }
2609
2609
  const validateSlotChainAdapterFactory = (luvio) => {
2610
2610
  return function validateSlotChain(untrustedConfig) {
2611
- const config = validateAdapterConfig$8(untrustedConfig, validateSlotChain_ConfigPropertyNames);
2611
+ const config = validateAdapterConfig$9(untrustedConfig, validateSlotChain_ConfigPropertyNames);
2612
2612
  // Invalid or incomplete config
2613
2613
  if (config === null) {
2614
2614
  throw new Error('Invalid config for "validateSlotChain"');
2615
2615
  }
2616
- return buildNetworkSnapshot$8(luvio, config);
2616
+ return buildNetworkSnapshot$9(luvio, config);
2617
2617
  };
2618
2618
  };
2619
2619
 
2620
- function validate$g(obj, path = 'RescheduleSlotChainInputRepresentation') {
2620
+ function validate$k(obj, path = 'RescheduleSlotChainInputRepresentation') {
2621
2621
  const v_error = (() => {
2622
2622
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2623
2623
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2635,7 +2635,7 @@ function validate$g(obj, path = 'RescheduleSlotChainInputRepresentation') {
2635
2635
  for (let i = 0; i < obj_newSlotsInputRepresentation.length; i++) {
2636
2636
  const obj_newSlotsInputRepresentation_item = obj_newSlotsInputRepresentation[i];
2637
2637
  const path_newSlotsInputRepresentation_item = path_newSlotsInputRepresentation + '[' + i + ']';
2638
- const referencepath_newSlotsInputRepresentation_itemValidationError = validate$n(obj_newSlotsInputRepresentation_item, path_newSlotsInputRepresentation_item);
2638
+ const referencepath_newSlotsInputRepresentation_itemValidationError = validate$r(obj_newSlotsInputRepresentation_item, path_newSlotsInputRepresentation_item);
2639
2639
  if (referencepath_newSlotsInputRepresentation_itemValidationError !== null) {
2640
2640
  let message = 'Object doesn\'t match SlotInputRepresentation (at "' + path_newSlotsInputRepresentation_item + '")\n';
2641
2641
  message += referencepath_newSlotsInputRepresentation_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2682,8 +2682,8 @@ function validate$g(obj, path = 'RescheduleSlotChainInputRepresentation') {
2682
2682
  return v_error === undefined ? null : v_error;
2683
2683
  }
2684
2684
 
2685
- const VERSION$9 = "0a21004720a4a00b9cae62c2c6419360";
2686
- function validate$f(obj, path = 'RescheduleSlotChainOutputRepresentation') {
2685
+ const VERSION$d = "0a21004720a4a00b9cae62c2c6419360";
2686
+ function validate$j(obj, path = 'RescheduleSlotChainOutputRepresentation') {
2687
2687
  const v_error = (() => {
2688
2688
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2689
2689
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2771,23 +2771,23 @@ function validate$f(obj, path = 'RescheduleSlotChainOutputRepresentation') {
2771
2771
  })();
2772
2772
  return v_error === undefined ? null : v_error;
2773
2773
  }
2774
- const RepresentationType$7 = 'RescheduleSlotChainOutputRepresentation';
2775
- function keyBuilder$9(luvio, config) {
2776
- return keyPrefix + '::' + RepresentationType$7 + ':' + config.isSuccess;
2774
+ const RepresentationType$8 = 'RescheduleSlotChainOutputRepresentation';
2775
+ function keyBuilder$b(luvio, config) {
2776
+ return keyPrefix + '::' + RepresentationType$8 + ':' + config.isSuccess;
2777
2777
  }
2778
2778
  function keyBuilderFromType$5(luvio, object) {
2779
2779
  const keyParams = {
2780
2780
  isSuccess: object.isSuccess
2781
2781
  };
2782
- return keyBuilder$9(luvio, keyParams);
2782
+ return keyBuilder$b(luvio, keyParams);
2783
2783
  }
2784
- function normalize$7(input, existing, path, luvio, store, timestamp) {
2784
+ function normalize$8(input, existing, path, luvio, store, timestamp) {
2785
2785
  return input;
2786
2786
  }
2787
- const select$h = function RescheduleSlotChainOutputRepresentationSelect() {
2787
+ const select$m = function RescheduleSlotChainOutputRepresentationSelect() {
2788
2788
  return {
2789
2789
  kind: 'Fragment',
2790
- version: VERSION$9,
2790
+ version: VERSION$d,
2791
2791
  private: [],
2792
2792
  selections: [
2793
2793
  {
@@ -2817,7 +2817,7 @@ const select$h = function RescheduleSlotChainOutputRepresentationSelect() {
2817
2817
  ]
2818
2818
  };
2819
2819
  };
2820
- function equals$9(existing, incoming) {
2820
+ function equals$d(existing, incoming) {
2821
2821
  const existing_isSuccess = existing.isSuccess;
2822
2822
  const incoming_isSuccess = incoming.isSuccess;
2823
2823
  if (!(existing_isSuccess === incoming_isSuccess)) {
@@ -2874,41 +2874,41 @@ function equals$9(existing, incoming) {
2874
2874
  }
2875
2875
  return true;
2876
2876
  }
2877
- const ingest$7 = function RescheduleSlotChainOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2877
+ const ingest$8 = function RescheduleSlotChainOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2878
2878
  if (process.env.NODE_ENV !== 'production') {
2879
- const validateError = validate$f(input);
2879
+ const validateError = validate$j(input);
2880
2880
  if (validateError !== null) {
2881
2881
  throw validateError;
2882
2882
  }
2883
2883
  }
2884
2884
  const key = keyBuilderFromType$5(luvio, input);
2885
2885
  const ttlToUse = path.ttl !== undefined ? path.ttl : 500;
2886
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "healthcloud", VERSION$9, RepresentationType$7, equals$9);
2886
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "healthcloud", VERSION$d, RepresentationType$8, equals$d);
2887
2887
  return createLink(key);
2888
2888
  };
2889
- function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
2889
+ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
2890
2890
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
2891
2891
  const rootKey = keyBuilderFromType$5(luvio, input);
2892
2892
  rootKeySet.set(rootKey, {
2893
2893
  namespace: keyPrefix,
2894
- representationName: RepresentationType$7,
2894
+ representationName: RepresentationType$8,
2895
2895
  mergeable: false
2896
2896
  });
2897
2897
  }
2898
2898
 
2899
- function select$g(luvio, params) {
2900
- return select$h();
2899
+ function select$l(luvio, params) {
2900
+ return select$m();
2901
2901
  }
2902
- function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
2903
- getTypeCacheKeys$7(storeKeyMap, luvio, response);
2902
+ function getResponseCacheKeys$8(storeKeyMap, luvio, resourceParams, response) {
2903
+ getTypeCacheKeys$8(storeKeyMap, luvio, response);
2904
2904
  }
2905
- function ingestSuccess$7(luvio, resourceParams, response) {
2905
+ function ingestSuccess$8(luvio, resourceParams, response) {
2906
2906
  const { body } = response;
2907
2907
  const key = keyBuilderFromType$5(luvio, body);
2908
- luvio.storeIngest(key, ingest$7, body);
2908
+ luvio.storeIngest(key, ingest$8, body);
2909
2909
  const snapshot = luvio.storeLookup({
2910
2910
  recordId: key,
2911
- node: select$g(),
2911
+ node: select$l(),
2912
2912
  variables: {},
2913
2913
  });
2914
2914
  if (process.env.NODE_ENV !== 'production') {
@@ -2919,7 +2919,7 @@ function ingestSuccess$7(luvio, resourceParams, response) {
2919
2919
  deepFreeze(snapshot.data);
2920
2920
  return snapshot;
2921
2921
  }
2922
- function createResourceRequest$7(config) {
2922
+ function createResourceRequest$8(config) {
2923
2923
  const headers = {};
2924
2924
  return {
2925
2925
  baseUri: '/services/data/v62.0',
@@ -2933,45 +2933,45 @@ function createResourceRequest$7(config) {
2933
2933
  };
2934
2934
  }
2935
2935
 
2936
- const adapterName$7 = 'rescheduleSlotChain';
2936
+ const adapterName$8 = 'rescheduleSlotChain';
2937
2937
  const rescheduleSlotChain_ConfigPropertyMetadata = [
2938
2938
  generateParamConfigMetadata('RescheduleSlotChainInput', true, 2 /* Body */, 4 /* Unsupported */),
2939
2939
  ];
2940
- const rescheduleSlotChain_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, rescheduleSlotChain_ConfigPropertyMetadata);
2941
- const createResourceParams$7 = /*#__PURE__*/ createResourceParams$g(rescheduleSlotChain_ConfigPropertyMetadata);
2942
- function typeCheckConfig$7(untrustedConfig) {
2940
+ const rescheduleSlotChain_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, rescheduleSlotChain_ConfigPropertyMetadata);
2941
+ const createResourceParams$8 = /*#__PURE__*/ createResourceParams$h(rescheduleSlotChain_ConfigPropertyMetadata);
2942
+ function typeCheckConfig$8(untrustedConfig) {
2943
2943
  const config = {};
2944
2944
  const untrustedConfig_RescheduleSlotChainInput = untrustedConfig.RescheduleSlotChainInput;
2945
- const referenceRescheduleSlotChainInputRepresentationValidationError = validate$g(untrustedConfig_RescheduleSlotChainInput);
2945
+ const referenceRescheduleSlotChainInputRepresentationValidationError = validate$k(untrustedConfig_RescheduleSlotChainInput);
2946
2946
  if (referenceRescheduleSlotChainInputRepresentationValidationError === null) {
2947
2947
  config.RescheduleSlotChainInput = untrustedConfig_RescheduleSlotChainInput;
2948
2948
  }
2949
2949
  return config;
2950
2950
  }
2951
- function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
2951
+ function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
2952
2952
  if (!untrustedIsObject(untrustedConfig)) {
2953
2953
  return null;
2954
2954
  }
2955
2955
  if (process.env.NODE_ENV !== 'production') {
2956
2956
  validateConfig(untrustedConfig, configPropertyNames);
2957
2957
  }
2958
- const config = typeCheckConfig$7(untrustedConfig);
2958
+ const config = typeCheckConfig$8(untrustedConfig);
2959
2959
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
2960
2960
  return null;
2961
2961
  }
2962
2962
  return config;
2963
2963
  }
2964
- function buildNetworkSnapshot$7(luvio, config, options) {
2965
- const resourceParams = createResourceParams$7(config);
2966
- const request = createResourceRequest$7(resourceParams);
2964
+ function buildNetworkSnapshot$8(luvio, config, options) {
2965
+ const resourceParams = createResourceParams$8(config);
2966
+ const request = createResourceRequest$8(resourceParams);
2967
2967
  return luvio.dispatchResourceRequest(request, options)
2968
2968
  .then((response) => {
2969
2969
  return luvio.handleSuccessResponse(() => {
2970
- const snapshot = ingestSuccess$7(luvio, resourceParams, response);
2970
+ const snapshot = ingestSuccess$8(luvio, resourceParams, response);
2971
2971
  return luvio.storeBroadcast().then(() => snapshot);
2972
2972
  }, () => {
2973
2973
  const cache = new StoreKeyMap();
2974
- getResponseCacheKeys$7(cache, luvio, resourceParams, response.body);
2974
+ getResponseCacheKeys$8(cache, luvio, resourceParams, response.body);
2975
2975
  return cache;
2976
2976
  });
2977
2977
  }, (response) => {
@@ -2981,16 +2981,16 @@ function buildNetworkSnapshot$7(luvio, config, options) {
2981
2981
  }
2982
2982
  const rescheduleSlotChainAdapterFactory = (luvio) => {
2983
2983
  return function rescheduleSlotChain(untrustedConfig) {
2984
- const config = validateAdapterConfig$7(untrustedConfig, rescheduleSlotChain_ConfigPropertyNames);
2984
+ const config = validateAdapterConfig$8(untrustedConfig, rescheduleSlotChain_ConfigPropertyNames);
2985
2985
  // Invalid or incomplete config
2986
2986
  if (config === null) {
2987
2987
  throw new Error('Invalid config for "rescheduleSlotChain"');
2988
2988
  }
2989
- return buildNetworkSnapshot$7(luvio, config);
2989
+ return buildNetworkSnapshot$8(luvio, config);
2990
2990
  };
2991
2991
  };
2992
2992
 
2993
- function validate$e(obj, path = 'FetchServiceTerritoriesInputRepresentation') {
2993
+ function validate$i(obj, path = 'FetchServiceTerritoriesInputRepresentation') {
2994
2994
  const v_error = (() => {
2995
2995
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2996
2996
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3021,8 +3021,8 @@ function validate$e(obj, path = 'FetchServiceTerritoriesInputRepresentation') {
3021
3021
  return v_error === undefined ? null : v_error;
3022
3022
  }
3023
3023
 
3024
- const VERSION$8 = "d320e1dbe94b8c22ed7cd5234606534e";
3025
- function validate$d(obj, path = 'FetchServiceTerritoriesOutputRepresentation') {
3024
+ const VERSION$c = "d320e1dbe94b8c22ed7cd5234606534e";
3025
+ function validate$h(obj, path = 'FetchServiceTerritoriesOutputRepresentation') {
3026
3026
  const v_error = (() => {
3027
3027
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3028
3028
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3063,14 +3063,14 @@ function validate$d(obj, path = 'FetchServiceTerritoriesOutputRepresentation') {
3063
3063
  })();
3064
3064
  return v_error === undefined ? null : v_error;
3065
3065
  }
3066
- const RepresentationType$6 = 'FetchServiceTerritoriesOutputRepresentation';
3067
- function normalize$6(input, existing, path, luvio, store, timestamp) {
3066
+ const RepresentationType$7 = 'FetchServiceTerritoriesOutputRepresentation';
3067
+ function normalize$7(input, existing, path, luvio, store, timestamp) {
3068
3068
  return input;
3069
3069
  }
3070
- const select$f = function FetchServiceTerritoriesOutputRepresentationSelect() {
3070
+ const select$k = function FetchServiceTerritoriesOutputRepresentationSelect() {
3071
3071
  return {
3072
3072
  kind: 'Fragment',
3073
- version: VERSION$8,
3073
+ version: VERSION$c,
3074
3074
  private: [],
3075
3075
  selections: [
3076
3076
  {
@@ -3094,7 +3094,7 @@ const select$f = function FetchServiceTerritoriesOutputRepresentationSelect() {
3094
3094
  ]
3095
3095
  };
3096
3096
  };
3097
- function equals$8(existing, incoming) {
3097
+ function equals$c(existing, incoming) {
3098
3098
  const existing_isSuccess = existing.isSuccess;
3099
3099
  const incoming_isSuccess = incoming.isSuccess;
3100
3100
  if (!(existing_isSuccess === incoming_isSuccess)) {
@@ -3138,44 +3138,44 @@ function equals$8(existing, incoming) {
3138
3138
  }
3139
3139
  return true;
3140
3140
  }
3141
- const ingest$6 = function FetchServiceTerritoriesOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3141
+ const ingest$7 = function FetchServiceTerritoriesOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3142
3142
  if (process.env.NODE_ENV !== 'production') {
3143
- const validateError = validate$d(input);
3143
+ const validateError = validate$h(input);
3144
3144
  if (validateError !== null) {
3145
3145
  throw validateError;
3146
3146
  }
3147
3147
  }
3148
3148
  const key = path.fullPath;
3149
3149
  const ttlToUse = path.ttl !== undefined ? path.ttl : 500;
3150
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "healthcloud", VERSION$8, RepresentationType$6, equals$8);
3150
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "healthcloud", VERSION$c, RepresentationType$7, equals$c);
3151
3151
  return createLink(key);
3152
3152
  };
3153
- function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
3153
+ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
3154
3154
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
3155
3155
  const rootKey = fullPathFactory();
3156
3156
  rootKeySet.set(rootKey, {
3157
3157
  namespace: keyPrefix,
3158
- representationName: RepresentationType$6,
3158
+ representationName: RepresentationType$7,
3159
3159
  mergeable: false
3160
3160
  });
3161
3161
  }
3162
3162
 
3163
- function select$e(luvio, params) {
3164
- return select$f();
3163
+ function select$j(luvio, params) {
3164
+ return select$k();
3165
3165
  }
3166
- function keyBuilder$8(luvio, params) {
3166
+ function keyBuilder$a(luvio, params) {
3167
3167
  return keyPrefix + '::FetchServiceTerritoriesOutputRepresentation:(' + 'getWorkTypeServiceTerritories.transplantCenterId:' + params.body.getWorkTypeServiceTerritories.transplantCenterId + '::' + 'getWorkTypeServiceTerritories.workProcedureId:' + params.body.getWorkTypeServiceTerritories.workProcedureId + '::' + 'getWorkTypeServiceTerritories.workTypeIds:' + params.body.getWorkTypeServiceTerritories.workTypeIds + ')';
3168
3168
  }
3169
- function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
3170
- getTypeCacheKeys$6(storeKeyMap, luvio, response, () => keyBuilder$8(luvio, resourceParams));
3169
+ function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
3170
+ getTypeCacheKeys$7(storeKeyMap, luvio, response, () => keyBuilder$a(luvio, resourceParams));
3171
3171
  }
3172
- function ingestSuccess$6(luvio, resourceParams, response, snapshotRefresh) {
3172
+ function ingestSuccess$7(luvio, resourceParams, response, snapshotRefresh) {
3173
3173
  const { body } = response;
3174
- const key = keyBuilder$8(luvio, resourceParams);
3175
- luvio.storeIngest(key, ingest$6, body);
3174
+ const key = keyBuilder$a(luvio, resourceParams);
3175
+ luvio.storeIngest(key, ingest$7, body);
3176
3176
  const snapshot = luvio.storeLookup({
3177
3177
  recordId: key,
3178
- node: select$e(),
3178
+ node: select$j(),
3179
3179
  variables: {},
3180
3180
  }, snapshotRefresh);
3181
3181
  if (process.env.NODE_ENV !== 'production') {
@@ -3186,13 +3186,13 @@ function ingestSuccess$6(luvio, resourceParams, response, snapshotRefresh) {
3186
3186
  deepFreeze(snapshot.data);
3187
3187
  return snapshot;
3188
3188
  }
3189
- function ingestError$1(luvio, params, error, snapshotRefresh) {
3190
- const key = keyBuilder$8(luvio, params);
3189
+ function ingestError$2(luvio, params, error, snapshotRefresh) {
3190
+ const key = keyBuilder$a(luvio, params);
3191
3191
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
3192
3192
  luvio.storeIngestError(key, errorSnapshot);
3193
3193
  return errorSnapshot;
3194
3194
  }
3195
- function createResourceRequest$6(config) {
3195
+ function createResourceRequest$7(config) {
3196
3196
  const headers = {};
3197
3197
  return {
3198
3198
  baseUri: '/services/data/v62.0',
@@ -3206,97 +3206,97 @@ function createResourceRequest$6(config) {
3206
3206
  };
3207
3207
  }
3208
3208
 
3209
- const adapterName$6 = 'getWorkTypeServiceTerritories';
3209
+ const adapterName$7 = 'getWorkTypeServiceTerritories';
3210
3210
  const getWorkTypeServiceTerritories_ConfigPropertyMetadata = [
3211
3211
  generateParamConfigMetadata('getWorkTypeServiceTerritories', true, 2 /* Body */, 4 /* Unsupported */),
3212
3212
  ];
3213
- const getWorkTypeServiceTerritories_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, getWorkTypeServiceTerritories_ConfigPropertyMetadata);
3214
- const createResourceParams$6 = /*#__PURE__*/ createResourceParams$g(getWorkTypeServiceTerritories_ConfigPropertyMetadata);
3215
- function keyBuilder$7(luvio, config) {
3216
- const resourceParams = createResourceParams$6(config);
3217
- return keyBuilder$8(luvio, resourceParams);
3213
+ const getWorkTypeServiceTerritories_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, getWorkTypeServiceTerritories_ConfigPropertyMetadata);
3214
+ const createResourceParams$7 = /*#__PURE__*/ createResourceParams$h(getWorkTypeServiceTerritories_ConfigPropertyMetadata);
3215
+ function keyBuilder$9(luvio, config) {
3216
+ const resourceParams = createResourceParams$7(config);
3217
+ return keyBuilder$a(luvio, resourceParams);
3218
3218
  }
3219
- function typeCheckConfig$6(untrustedConfig) {
3219
+ function typeCheckConfig$7(untrustedConfig) {
3220
3220
  const config = {};
3221
3221
  const untrustedConfig_getWorkTypeServiceTerritories = untrustedConfig.getWorkTypeServiceTerritories;
3222
- const referenceFetchServiceTerritoriesInputRepresentationValidationError = validate$e(untrustedConfig_getWorkTypeServiceTerritories);
3222
+ const referenceFetchServiceTerritoriesInputRepresentationValidationError = validate$i(untrustedConfig_getWorkTypeServiceTerritories);
3223
3223
  if (referenceFetchServiceTerritoriesInputRepresentationValidationError === null) {
3224
3224
  config.getWorkTypeServiceTerritories = untrustedConfig_getWorkTypeServiceTerritories;
3225
3225
  }
3226
3226
  return config;
3227
3227
  }
3228
- function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
3228
+ function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
3229
3229
  if (!untrustedIsObject(untrustedConfig)) {
3230
3230
  return null;
3231
3231
  }
3232
3232
  if (process.env.NODE_ENV !== 'production') {
3233
3233
  validateConfig(untrustedConfig, configPropertyNames);
3234
3234
  }
3235
- const config = typeCheckConfig$6(untrustedConfig);
3235
+ const config = typeCheckConfig$7(untrustedConfig);
3236
3236
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
3237
3237
  return null;
3238
3238
  }
3239
3239
  return config;
3240
3240
  }
3241
- function adapterFragment$1(luvio, config) {
3242
- createResourceParams$6(config);
3243
- return select$e();
3241
+ function adapterFragment$2(luvio, config) {
3242
+ createResourceParams$7(config);
3243
+ return select$j();
3244
3244
  }
3245
- function onFetchResponseSuccess$1(luvio, config, resourceParams, response) {
3246
- const snapshot = ingestSuccess$6(luvio, resourceParams, response, {
3245
+ function onFetchResponseSuccess$2(luvio, config, resourceParams, response) {
3246
+ const snapshot = ingestSuccess$7(luvio, resourceParams, response, {
3247
3247
  config,
3248
- resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
3248
+ resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
3249
3249
  });
3250
3250
  return luvio.storeBroadcast().then(() => snapshot);
3251
3251
  }
3252
- function onFetchResponseError$1(luvio, config, resourceParams, response) {
3253
- const snapshot = ingestError$1(luvio, resourceParams, response, {
3252
+ function onFetchResponseError$2(luvio, config, resourceParams, response) {
3253
+ const snapshot = ingestError$2(luvio, resourceParams, response, {
3254
3254
  config,
3255
- resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
3255
+ resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
3256
3256
  });
3257
3257
  return luvio.storeBroadcast().then(() => snapshot);
3258
3258
  }
3259
- function buildNetworkSnapshot$6(luvio, config, options) {
3260
- const resourceParams = createResourceParams$6(config);
3261
- const request = createResourceRequest$6(resourceParams);
3259
+ function buildNetworkSnapshot$7(luvio, config, options) {
3260
+ const resourceParams = createResourceParams$7(config);
3261
+ const request = createResourceRequest$7(resourceParams);
3262
3262
  return luvio.dispatchResourceRequest(request, options)
3263
3263
  .then((response) => {
3264
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$1(luvio, config, resourceParams, response), () => {
3264
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$2(luvio, config, resourceParams, response), () => {
3265
3265
  const cache = new StoreKeyMap();
3266
- getResponseCacheKeys$6(cache, luvio, resourceParams, response.body);
3266
+ getResponseCacheKeys$7(cache, luvio, resourceParams, response.body);
3267
3267
  return cache;
3268
3268
  });
3269
3269
  }, (response) => {
3270
- return luvio.handleErrorResponse(() => onFetchResponseError$1(luvio, config, resourceParams, response));
3270
+ return luvio.handleErrorResponse(() => onFetchResponseError$2(luvio, config, resourceParams, response));
3271
3271
  });
3272
3272
  }
3273
- function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
3274
- return buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext, buildNetworkSnapshot$6, 'get', false);
3273
+ function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
3274
+ return buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext, buildNetworkSnapshot$7, 'get', false);
3275
3275
  }
3276
- function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
3276
+ function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
3277
3277
  const { luvio, config } = context;
3278
3278
  const selector = {
3279
- recordId: keyBuilder$7(luvio, config),
3280
- node: adapterFragment$1(luvio, config),
3279
+ recordId: keyBuilder$9(luvio, config),
3280
+ node: adapterFragment$2(luvio, config),
3281
3281
  variables: {},
3282
3282
  };
3283
3283
  const cacheSnapshot = storeLookup(selector, {
3284
3284
  config,
3285
- resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
3285
+ resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
3286
3286
  });
3287
3287
  return cacheSnapshot;
3288
3288
  }
3289
3289
  const getWorkTypeServiceTerritoriesAdapterFactory = (luvio) => function healthcloud__getWorkTypeServiceTerritories(untrustedConfig, requestContext) {
3290
- const config = validateAdapterConfig$6(untrustedConfig, getWorkTypeServiceTerritories_ConfigPropertyNames);
3290
+ const config = validateAdapterConfig$7(untrustedConfig, getWorkTypeServiceTerritories_ConfigPropertyNames);
3291
3291
  // Invalid or incomplete config
3292
3292
  if (config === null) {
3293
3293
  return null;
3294
3294
  }
3295
3295
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
3296
- buildCachedSnapshotCachePolicy$1, buildNetworkSnapshotCachePolicy$1);
3296
+ buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
3297
3297
  };
3298
3298
 
3299
- function validate$c(obj, path = 'MoveToNextStepInputRepresentation') {
3299
+ function validate$g(obj, path = 'MoveToNextStepInputRepresentation') {
3300
3300
  const v_error = (() => {
3301
3301
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3302
3302
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3310,8 +3310,8 @@ function validate$c(obj, path = 'MoveToNextStepInputRepresentation') {
3310
3310
  return v_error === undefined ? null : v_error;
3311
3311
  }
3312
3312
 
3313
- const VERSION$7 = "f0f7338cd73b28f5f4f664d2162e1849";
3314
- function validate$b(obj, path = 'MoveToNextStepOutputRepresentation') {
3313
+ const VERSION$b = "f0f7338cd73b28f5f4f664d2162e1849";
3314
+ function validate$f(obj, path = 'MoveToNextStepOutputRepresentation') {
3315
3315
  const v_error = (() => {
3316
3316
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3317
3317
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3375,23 +3375,23 @@ function validate$b(obj, path = 'MoveToNextStepOutputRepresentation') {
3375
3375
  })();
3376
3376
  return v_error === undefined ? null : v_error;
3377
3377
  }
3378
- const RepresentationType$5 = 'MoveToNextStepOutputRepresentation';
3379
- function keyBuilder$6(luvio, config) {
3380
- return keyPrefix + '::' + RepresentationType$5 + ':' + config.isSuccess;
3378
+ const RepresentationType$6 = 'MoveToNextStepOutputRepresentation';
3379
+ function keyBuilder$8(luvio, config) {
3380
+ return keyPrefix + '::' + RepresentationType$6 + ':' + config.isSuccess;
3381
3381
  }
3382
3382
  function keyBuilderFromType$4(luvio, object) {
3383
3383
  const keyParams = {
3384
3384
  isSuccess: object.isSuccess
3385
3385
  };
3386
- return keyBuilder$6(luvio, keyParams);
3386
+ return keyBuilder$8(luvio, keyParams);
3387
3387
  }
3388
- function normalize$5(input, existing, path, luvio, store, timestamp) {
3388
+ function normalize$6(input, existing, path, luvio, store, timestamp) {
3389
3389
  return input;
3390
3390
  }
3391
- const select$d = function MoveToNextStepOutputRepresentationSelect() {
3391
+ const select$i = function MoveToNextStepOutputRepresentationSelect() {
3392
3392
  return {
3393
3393
  kind: 'Fragment',
3394
- version: VERSION$7,
3394
+ version: VERSION$b,
3395
3395
  private: [],
3396
3396
  selections: [
3397
3397
  {
@@ -3425,7 +3425,7 @@ const select$d = function MoveToNextStepOutputRepresentationSelect() {
3425
3425
  ]
3426
3426
  };
3427
3427
  };
3428
- function equals$7(existing, incoming) {
3428
+ function equals$b(existing, incoming) {
3429
3429
  const existing_isSuccess = existing.isSuccess;
3430
3430
  const incoming_isSuccess = incoming.isSuccess;
3431
3431
  if (!(existing_isSuccess === incoming_isSuccess)) {
@@ -3463,41 +3463,41 @@ function equals$7(existing, incoming) {
3463
3463
  }
3464
3464
  return true;
3465
3465
  }
3466
- const ingest$5 = function MoveToNextStepOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3466
+ const ingest$6 = function MoveToNextStepOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3467
3467
  if (process.env.NODE_ENV !== 'production') {
3468
- const validateError = validate$b(input);
3468
+ const validateError = validate$f(input);
3469
3469
  if (validateError !== null) {
3470
3470
  throw validateError;
3471
3471
  }
3472
3472
  }
3473
3473
  const key = keyBuilderFromType$4(luvio, input);
3474
3474
  const ttlToUse = path.ttl !== undefined ? path.ttl : 500;
3475
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "healthcloud", VERSION$7, RepresentationType$5, equals$7);
3475
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "healthcloud", VERSION$b, RepresentationType$6, equals$b);
3476
3476
  return createLink(key);
3477
3477
  };
3478
- function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
3478
+ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
3479
3479
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
3480
3480
  const rootKey = keyBuilderFromType$4(luvio, input);
3481
3481
  rootKeySet.set(rootKey, {
3482
3482
  namespace: keyPrefix,
3483
- representationName: RepresentationType$5,
3483
+ representationName: RepresentationType$6,
3484
3484
  mergeable: false
3485
3485
  });
3486
3486
  }
3487
3487
 
3488
- function select$c(luvio, params) {
3489
- return select$d();
3488
+ function select$h(luvio, params) {
3489
+ return select$i();
3490
3490
  }
3491
- function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
3492
- getTypeCacheKeys$5(storeKeyMap, luvio, response);
3491
+ function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
3492
+ getTypeCacheKeys$6(storeKeyMap, luvio, response);
3493
3493
  }
3494
- function ingestSuccess$5(luvio, resourceParams, response) {
3494
+ function ingestSuccess$6(luvio, resourceParams, response) {
3495
3495
  const { body } = response;
3496
3496
  const key = keyBuilderFromType$4(luvio, body);
3497
- luvio.storeIngest(key, ingest$5, body);
3497
+ luvio.storeIngest(key, ingest$6, body);
3498
3498
  const snapshot = luvio.storeLookup({
3499
3499
  recordId: key,
3500
- node: select$c(),
3500
+ node: select$h(),
3501
3501
  variables: {},
3502
3502
  });
3503
3503
  if (process.env.NODE_ENV !== 'production') {
@@ -3508,7 +3508,7 @@ function ingestSuccess$5(luvio, resourceParams, response) {
3508
3508
  deepFreeze(snapshot.data);
3509
3509
  return snapshot;
3510
3510
  }
3511
- function createResourceRequest$5(config) {
3511
+ function createResourceRequest$6(config) {
3512
3512
  const headers = {};
3513
3513
  return {
3514
3514
  baseUri: '/services/data/v62.0',
@@ -3522,45 +3522,45 @@ function createResourceRequest$5(config) {
3522
3522
  };
3523
3523
  }
3524
3524
 
3525
- const adapterName$5 = 'moveToNextStep';
3525
+ const adapterName$6 = 'moveToNextStep';
3526
3526
  const moveToNextStep_ConfigPropertyMetadata = [
3527
3527
  generateParamConfigMetadata('MoveToNextStepInput', true, 2 /* Body */, 4 /* Unsupported */),
3528
3528
  ];
3529
- const moveToNextStep_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, moveToNextStep_ConfigPropertyMetadata);
3530
- const createResourceParams$5 = /*#__PURE__*/ createResourceParams$g(moveToNextStep_ConfigPropertyMetadata);
3531
- function typeCheckConfig$5(untrustedConfig) {
3529
+ const moveToNextStep_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, moveToNextStep_ConfigPropertyMetadata);
3530
+ const createResourceParams$6 = /*#__PURE__*/ createResourceParams$h(moveToNextStep_ConfigPropertyMetadata);
3531
+ function typeCheckConfig$6(untrustedConfig) {
3532
3532
  const config = {};
3533
3533
  const untrustedConfig_MoveToNextStepInput = untrustedConfig.MoveToNextStepInput;
3534
- const referenceMoveToNextStepInputRepresentationValidationError = validate$c(untrustedConfig_MoveToNextStepInput);
3534
+ const referenceMoveToNextStepInputRepresentationValidationError = validate$g(untrustedConfig_MoveToNextStepInput);
3535
3535
  if (referenceMoveToNextStepInputRepresentationValidationError === null) {
3536
3536
  config.MoveToNextStepInput = untrustedConfig_MoveToNextStepInput;
3537
3537
  }
3538
3538
  return config;
3539
3539
  }
3540
- function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
3540
+ function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
3541
3541
  if (!untrustedIsObject(untrustedConfig)) {
3542
3542
  return null;
3543
3543
  }
3544
3544
  if (process.env.NODE_ENV !== 'production') {
3545
3545
  validateConfig(untrustedConfig, configPropertyNames);
3546
3546
  }
3547
- const config = typeCheckConfig$5(untrustedConfig);
3547
+ const config = typeCheckConfig$6(untrustedConfig);
3548
3548
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
3549
3549
  return null;
3550
3550
  }
3551
3551
  return config;
3552
3552
  }
3553
- function buildNetworkSnapshot$5(luvio, config, options) {
3554
- const resourceParams = createResourceParams$5(config);
3555
- const request = createResourceRequest$5(resourceParams);
3553
+ function buildNetworkSnapshot$6(luvio, config, options) {
3554
+ const resourceParams = createResourceParams$6(config);
3555
+ const request = createResourceRequest$6(resourceParams);
3556
3556
  return luvio.dispatchResourceRequest(request, options)
3557
3557
  .then((response) => {
3558
3558
  return luvio.handleSuccessResponse(() => {
3559
- const snapshot = ingestSuccess$5(luvio, resourceParams, response);
3559
+ const snapshot = ingestSuccess$6(luvio, resourceParams, response);
3560
3560
  return luvio.storeBroadcast().then(() => snapshot);
3561
3561
  }, () => {
3562
3562
  const cache = new StoreKeyMap();
3563
- getResponseCacheKeys$5(cache, luvio, resourceParams, response.body);
3563
+ getResponseCacheKeys$6(cache, luvio, resourceParams, response.body);
3564
3564
  return cache;
3565
3565
  });
3566
3566
  }, (response) => {
@@ -3570,17 +3570,17 @@ function buildNetworkSnapshot$5(luvio, config, options) {
3570
3570
  }
3571
3571
  const moveToNextStepAdapterFactory = (luvio) => {
3572
3572
  return function moveToNextStep(untrustedConfig) {
3573
- const config = validateAdapterConfig$5(untrustedConfig, moveToNextStep_ConfigPropertyNames);
3573
+ const config = validateAdapterConfig$6(untrustedConfig, moveToNextStep_ConfigPropertyNames);
3574
3574
  // Invalid or incomplete config
3575
3575
  if (config === null) {
3576
3576
  throw new Error('Invalid config for "moveToNextStep"');
3577
3577
  }
3578
- return buildNetworkSnapshot$5(luvio, config);
3578
+ return buildNetworkSnapshot$6(luvio, config);
3579
3579
  };
3580
3580
  };
3581
3581
 
3582
- const VERSION$6 = "d26671870c7aaa40aaa79ea28ca20bb2";
3583
- function validate$a(obj, path = 'QuotaAvailabilityDateRange') {
3582
+ const VERSION$a = "d26671870c7aaa40aaa79ea28ca20bb2";
3583
+ function validate$e(obj, path = 'QuotaAvailabilityDateRange') {
3584
3584
  const v_error = (() => {
3585
3585
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3586
3586
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3602,10 +3602,10 @@ function validate$a(obj, path = 'QuotaAvailabilityDateRange') {
3602
3602
  })();
3603
3603
  return v_error === undefined ? null : v_error;
3604
3604
  }
3605
- const select$b = function QuotaAvailabilityDateRangeSelect() {
3605
+ const select$g = function QuotaAvailabilityDateRangeSelect() {
3606
3606
  return {
3607
3607
  kind: 'Fragment',
3608
- version: VERSION$6,
3608
+ version: VERSION$a,
3609
3609
  private: [],
3610
3610
  selections: [
3611
3611
  {
@@ -3621,7 +3621,7 @@ const select$b = function QuotaAvailabilityDateRangeSelect() {
3621
3621
  ]
3622
3622
  };
3623
3623
  };
3624
- function equals$6(existing, incoming) {
3624
+ function equals$a(existing, incoming) {
3625
3625
  const existing_quotaEndDate = existing.quotaEndDate;
3626
3626
  const incoming_quotaEndDate = incoming.quotaEndDate;
3627
3627
  // if at least one of these optionals is defined
@@ -3651,8 +3651,8 @@ function equals$6(existing, incoming) {
3651
3651
  return true;
3652
3652
  }
3653
3653
 
3654
- const VERSION$5 = "84cb9603dea57a49dda070bca3ee9bb7";
3655
- function validate$9(obj, path = 'QuotaAvailabilityRepresentation') {
3654
+ const VERSION$9 = "84cb9603dea57a49dda070bca3ee9bb7";
3655
+ function validate$d(obj, path = 'QuotaAvailabilityRepresentation') {
3656
3656
  const v_error = (() => {
3657
3657
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3658
3658
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3666,7 +3666,7 @@ function validate$9(obj, path = 'QuotaAvailabilityRepresentation') {
3666
3666
  for (let i = 0; i < obj_availabilityRangeList.length; i++) {
3667
3667
  const obj_availabilityRangeList_item = obj_availabilityRangeList[i];
3668
3668
  const path_availabilityRangeList_item = path_availabilityRangeList + '[' + i + ']';
3669
- const referencepath_availabilityRangeList_itemValidationError = validate$a(obj_availabilityRangeList_item, path_availabilityRangeList_item);
3669
+ const referencepath_availabilityRangeList_itemValidationError = validate$e(obj_availabilityRangeList_item, path_availabilityRangeList_item);
3670
3670
  if (referencepath_availabilityRangeList_itemValidationError !== null) {
3671
3671
  let message = 'Object doesn\'t match QuotaAvailabilityDateRange (at "' + path_availabilityRangeList_item + '")\n';
3672
3672
  message += referencepath_availabilityRangeList_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3684,11 +3684,11 @@ function validate$9(obj, path = 'QuotaAvailabilityRepresentation') {
3684
3684
  })();
3685
3685
  return v_error === undefined ? null : v_error;
3686
3686
  }
3687
- const select$a = function QuotaAvailabilityRepresentationSelect() {
3688
- const { selections: QuotaAvailabilityDateRange__selections, opaque: QuotaAvailabilityDateRange__opaque, } = select$b();
3687
+ const select$f = function QuotaAvailabilityRepresentationSelect() {
3688
+ const { selections: QuotaAvailabilityDateRange__selections, opaque: QuotaAvailabilityDateRange__opaque, } = select$g();
3689
3689
  return {
3690
3690
  kind: 'Fragment',
3691
- version: VERSION$5,
3691
+ version: VERSION$9,
3692
3692
  private: [],
3693
3693
  selections: [
3694
3694
  {
@@ -3706,7 +3706,7 @@ const select$a = function QuotaAvailabilityRepresentationSelect() {
3706
3706
  ]
3707
3707
  };
3708
3708
  };
3709
- function equals$5(existing, incoming) {
3709
+ function equals$9(existing, incoming) {
3710
3710
  const existing_workTypeId = existing.workTypeId;
3711
3711
  const incoming_workTypeId = incoming.workTypeId;
3712
3712
  // if at least one of these optionals is defined
@@ -3730,7 +3730,7 @@ function equals$5(existing, incoming) {
3730
3730
  return false;
3731
3731
  }
3732
3732
  const equals_availabilityRangeList_items = equalsArray(existing_availabilityRangeList, incoming_availabilityRangeList, (existing_availabilityRangeList_item, incoming_availabilityRangeList_item) => {
3733
- if (!(equals$6(existing_availabilityRangeList_item, incoming_availabilityRangeList_item))) {
3733
+ if (!(equals$a(existing_availabilityRangeList_item, incoming_availabilityRangeList_item))) {
3734
3734
  return false;
3735
3735
  }
3736
3736
  });
@@ -3741,8 +3741,8 @@ function equals$5(existing, incoming) {
3741
3741
  return true;
3742
3742
  }
3743
3743
 
3744
- const VERSION$4 = "f1fa9c520361858bd08a791ca1d95f53";
3745
- function validate$8(obj, path = 'QuotasAllocationOutputRepresentation') {
3744
+ const VERSION$8 = "f1fa9c520361858bd08a791ca1d95f53";
3745
+ function validate$c(obj, path = 'QuotasAllocationOutputRepresentation') {
3746
3746
  const v_error = (() => {
3747
3747
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3748
3748
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3773,7 +3773,7 @@ function validate$8(obj, path = 'QuotasAllocationOutputRepresentation') {
3773
3773
  for (let i = 0; i < obj_quotaAvailability.length; i++) {
3774
3774
  const obj_quotaAvailability_item = obj_quotaAvailability[i];
3775
3775
  const path_quotaAvailability_item = path_quotaAvailability + '[' + i + ']';
3776
- const referencepath_quotaAvailability_itemValidationError = validate$9(obj_quotaAvailability_item, path_quotaAvailability_item);
3776
+ const referencepath_quotaAvailability_itemValidationError = validate$d(obj_quotaAvailability_item, path_quotaAvailability_item);
3777
3777
  if (referencepath_quotaAvailability_itemValidationError !== null) {
3778
3778
  let message = 'Object doesn\'t match QuotaAvailabilityRepresentation (at "' + path_quotaAvailability_item + '")\n';
3779
3779
  message += referencepath_quotaAvailability_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3784,24 +3784,24 @@ function validate$8(obj, path = 'QuotasAllocationOutputRepresentation') {
3784
3784
  })();
3785
3785
  return v_error === undefined ? null : v_error;
3786
3786
  }
3787
- const RepresentationType$4 = 'QuotasAllocationOutputRepresentation';
3788
- function keyBuilder$5(luvio, config) {
3789
- return keyPrefix + '::' + RepresentationType$4 + ':' + config.isSuccess;
3787
+ const RepresentationType$5 = 'QuotasAllocationOutputRepresentation';
3788
+ function keyBuilder$7(luvio, config) {
3789
+ return keyPrefix + '::' + RepresentationType$5 + ':' + config.isSuccess;
3790
3790
  }
3791
3791
  function keyBuilderFromType$3(luvio, object) {
3792
3792
  const keyParams = {
3793
3793
  isSuccess: object.isSuccess
3794
3794
  };
3795
- return keyBuilder$5(luvio, keyParams);
3795
+ return keyBuilder$7(luvio, keyParams);
3796
3796
  }
3797
- function normalize$4(input, existing, path, luvio, store, timestamp) {
3797
+ function normalize$5(input, existing, path, luvio, store, timestamp) {
3798
3798
  return input;
3799
3799
  }
3800
- const select$9 = function QuotasAllocationOutputRepresentationSelect() {
3801
- const { selections: QuotaAvailabilityRepresentation__selections, opaque: QuotaAvailabilityRepresentation__opaque, } = select$a();
3800
+ const select$e = function QuotasAllocationOutputRepresentationSelect() {
3801
+ const { selections: QuotaAvailabilityRepresentation__selections, opaque: QuotaAvailabilityRepresentation__opaque, } = select$f();
3802
3802
  return {
3803
3803
  kind: 'Fragment',
3804
- version: VERSION$4,
3804
+ version: VERSION$8,
3805
3805
  private: [],
3806
3806
  selections: [
3807
3807
  {
@@ -3827,7 +3827,7 @@ const select$9 = function QuotasAllocationOutputRepresentationSelect() {
3827
3827
  ]
3828
3828
  };
3829
3829
  };
3830
- function equals$4(existing, incoming) {
3830
+ function equals$8(existing, incoming) {
3831
3831
  const existing_isSuccess = existing.isSuccess;
3832
3832
  const incoming_isSuccess = incoming.isSuccess;
3833
3833
  if (!(existing_isSuccess === incoming_isSuccess)) {
@@ -3861,7 +3861,7 @@ function equals$4(existing, incoming) {
3861
3861
  return false;
3862
3862
  }
3863
3863
  const equals_quotaAvailability_items = equalsArray(existing_quotaAvailability, incoming_quotaAvailability, (existing_quotaAvailability_item, incoming_quotaAvailability_item) => {
3864
- if (!(equals$5(existing_quotaAvailability_item, incoming_quotaAvailability_item))) {
3864
+ if (!(equals$9(existing_quotaAvailability_item, incoming_quotaAvailability_item))) {
3865
3865
  return false;
3866
3866
  }
3867
3867
  });
@@ -3871,41 +3871,41 @@ function equals$4(existing, incoming) {
3871
3871
  }
3872
3872
  return true;
3873
3873
  }
3874
- const ingest$4 = function QuotasAllocationOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3874
+ const ingest$5 = function QuotasAllocationOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3875
3875
  if (process.env.NODE_ENV !== 'production') {
3876
- const validateError = validate$8(input);
3876
+ const validateError = validate$c(input);
3877
3877
  if (validateError !== null) {
3878
3878
  throw validateError;
3879
3879
  }
3880
3880
  }
3881
3881
  const key = keyBuilderFromType$3(luvio, input);
3882
3882
  const ttlToUse = path.ttl !== undefined ? path.ttl : 500;
3883
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "healthcloud", VERSION$4, RepresentationType$4, equals$4);
3883
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "healthcloud", VERSION$8, RepresentationType$5, equals$8);
3884
3884
  return createLink(key);
3885
3885
  };
3886
- function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
3886
+ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
3887
3887
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
3888
3888
  const rootKey = keyBuilderFromType$3(luvio, input);
3889
3889
  rootKeySet.set(rootKey, {
3890
3890
  namespace: keyPrefix,
3891
- representationName: RepresentationType$4,
3891
+ representationName: RepresentationType$5,
3892
3892
  mergeable: false
3893
3893
  });
3894
3894
  }
3895
3895
 
3896
- function select$8(luvio, params) {
3897
- return select$9();
3896
+ function select$d(luvio, params) {
3897
+ return select$e();
3898
3898
  }
3899
- function getResponseCacheKeys$4(storeKeyMap, luvio, resourceParams, response) {
3900
- getTypeCacheKeys$4(storeKeyMap, luvio, response);
3899
+ function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
3900
+ getTypeCacheKeys$5(storeKeyMap, luvio, response);
3901
3901
  }
3902
- function ingestSuccess$4(luvio, resourceParams, response) {
3902
+ function ingestSuccess$5(luvio, resourceParams, response) {
3903
3903
  const { body } = response;
3904
3904
  const key = keyBuilderFromType$3(luvio, body);
3905
- luvio.storeIngest(key, ingest$4, body);
3905
+ luvio.storeIngest(key, ingest$5, body);
3906
3906
  const snapshot = luvio.storeLookup({
3907
3907
  recordId: key,
3908
- node: select$8(),
3908
+ node: select$d(),
3909
3909
  variables: {},
3910
3910
  });
3911
3911
  if (process.env.NODE_ENV !== 'production') {
@@ -3916,7 +3916,7 @@ function ingestSuccess$4(luvio, resourceParams, response) {
3916
3916
  deepFreeze(snapshot.data);
3917
3917
  return snapshot;
3918
3918
  }
3919
- function createResourceRequest$4(config) {
3919
+ function createResourceRequest$5(config) {
3920
3920
  const headers = {};
3921
3921
  return {
3922
3922
  baseUri: '/services/data/v62.0',
@@ -3930,7 +3930,7 @@ function createResourceRequest$4(config) {
3930
3930
  };
3931
3931
  }
3932
3932
 
3933
- const adapterName$4 = 'getQuotasAndAllocation';
3933
+ const adapterName$5 = 'getQuotasAndAllocation';
3934
3934
  const getQuotasAndAllocation_ConfigPropertyMetadata = [
3935
3935
  generateParamConfigMetadata('contextId', true, 2 /* Body */, 0 /* String */),
3936
3936
  generateParamConfigMetadata('endDate', true, 2 /* Body */, 0 /* String */),
@@ -3940,11 +3940,11 @@ const getQuotasAndAllocation_ConfigPropertyMetadata = [
3940
3940
  generateParamConfigMetadata('workProcedureId', false, 2 /* Body */, 0 /* String */),
3941
3941
  generateParamConfigMetadata('workTypeId', false, 2 /* Body */, 0 /* String */),
3942
3942
  ];
3943
- const getQuotasAndAllocation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, getQuotasAndAllocation_ConfigPropertyMetadata);
3944
- const createResourceParams$4 = /*#__PURE__*/ createResourceParams$g(getQuotasAndAllocation_ConfigPropertyMetadata);
3945
- function typeCheckConfig$4(untrustedConfig) {
3943
+ const getQuotasAndAllocation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, getQuotasAndAllocation_ConfigPropertyMetadata);
3944
+ const createResourceParams$5 = /*#__PURE__*/ createResourceParams$h(getQuotasAndAllocation_ConfigPropertyMetadata);
3945
+ function typeCheckConfig$5(untrustedConfig) {
3946
3946
  const config = {};
3947
- typeCheckConfig$g(untrustedConfig, config, getQuotasAndAllocation_ConfigPropertyMetadata);
3947
+ typeCheckConfig$h(untrustedConfig, config, getQuotasAndAllocation_ConfigPropertyMetadata);
3948
3948
  const untrustedConfig_leadTimeMap = untrustedConfig.leadTimeMap;
3949
3949
  if (untrustedIsObject(untrustedConfig_leadTimeMap)) {
3950
3950
  const untrustedConfig_leadTimeMap_object = {};
@@ -3964,30 +3964,30 @@ function typeCheckConfig$4(untrustedConfig) {
3964
3964
  }
3965
3965
  return config;
3966
3966
  }
3967
- function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
3967
+ function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
3968
3968
  if (!untrustedIsObject(untrustedConfig)) {
3969
3969
  return null;
3970
3970
  }
3971
3971
  if (process.env.NODE_ENV !== 'production') {
3972
3972
  validateConfig(untrustedConfig, configPropertyNames);
3973
3973
  }
3974
- const config = typeCheckConfig$4(untrustedConfig);
3974
+ const config = typeCheckConfig$5(untrustedConfig);
3975
3975
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
3976
3976
  return null;
3977
3977
  }
3978
3978
  return config;
3979
3979
  }
3980
- function buildNetworkSnapshot$4(luvio, config, options) {
3981
- const resourceParams = createResourceParams$4(config);
3982
- const request = createResourceRequest$4(resourceParams);
3980
+ function buildNetworkSnapshot$5(luvio, config, options) {
3981
+ const resourceParams = createResourceParams$5(config);
3982
+ const request = createResourceRequest$5(resourceParams);
3983
3983
  return luvio.dispatchResourceRequest(request, options)
3984
3984
  .then((response) => {
3985
3985
  return luvio.handleSuccessResponse(() => {
3986
- const snapshot = ingestSuccess$4(luvio, resourceParams, response);
3986
+ const snapshot = ingestSuccess$5(luvio, resourceParams, response);
3987
3987
  return luvio.storeBroadcast().then(() => snapshot);
3988
3988
  }, () => {
3989
3989
  const cache = new StoreKeyMap();
3990
- getResponseCacheKeys$4(cache, luvio, resourceParams, response.body);
3990
+ getResponseCacheKeys$5(cache, luvio, resourceParams, response.body);
3991
3991
  return cache;
3992
3992
  });
3993
3993
  }, (response) => {
@@ -3997,16 +3997,16 @@ function buildNetworkSnapshot$4(luvio, config, options) {
3997
3997
  }
3998
3998
  const getQuotasAndAllocationAdapterFactory = (luvio) => {
3999
3999
  return function getQuotasAndAllocation(untrustedConfig) {
4000
- const config = validateAdapterConfig$4(untrustedConfig, getQuotasAndAllocation_ConfigPropertyNames);
4000
+ const config = validateAdapterConfig$5(untrustedConfig, getQuotasAndAllocation_ConfigPropertyNames);
4001
4001
  // Invalid or incomplete config
4002
4002
  if (config === null) {
4003
4003
  throw new Error('Invalid config for "getQuotasAndAllocation"');
4004
4004
  }
4005
- return buildNetworkSnapshot$4(luvio, config);
4005
+ return buildNetworkSnapshot$5(luvio, config);
4006
4006
  };
4007
4007
  };
4008
4008
 
4009
- function validate$7(obj, path = 'DigitalVerificationInputFieldsMapInputRepresentation') {
4009
+ function validate$b(obj, path = 'DigitalVerificationInputFieldsMapInputRepresentation') {
4010
4010
  const v_error = (() => {
4011
4011
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4012
4012
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4024,7 +4024,7 @@ function validate$7(obj, path = 'DigitalVerificationInputFieldsMapInputRepresent
4024
4024
  return v_error === undefined ? null : v_error;
4025
4025
  }
4026
4026
 
4027
- function validate$6(obj, path = 'UserCredentialsInputRepresentation') {
4027
+ function validate$a(obj, path = 'UserCredentialsInputRepresentation') {
4028
4028
  const v_error = (() => {
4029
4029
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4030
4030
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4043,8 +4043,8 @@ function validate$6(obj, path = 'UserCredentialsInputRepresentation') {
4043
4043
  return v_error === undefined ? null : v_error;
4044
4044
  }
4045
4045
 
4046
- const VERSION$3 = "22d453b42db16c04725356edb4898de2";
4047
- function validate$5(obj, path = 'DigitalVerificationOutputRepresentation') {
4046
+ const VERSION$7 = "22d453b42db16c04725356edb4898de2";
4047
+ function validate$9(obj, path = 'DigitalVerificationOutputRepresentation') {
4048
4048
  const v_error = (() => {
4049
4049
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4050
4050
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4088,23 +4088,23 @@ function validate$5(obj, path = 'DigitalVerificationOutputRepresentation') {
4088
4088
  })();
4089
4089
  return v_error === undefined ? null : v_error;
4090
4090
  }
4091
- const RepresentationType$3 = 'DigitalVerificationOutputRepresentation';
4092
- function keyBuilder$4(luvio, config) {
4093
- return keyPrefix + '::' + RepresentationType$3 + ':' + config.isSuccess;
4091
+ const RepresentationType$4 = 'DigitalVerificationOutputRepresentation';
4092
+ function keyBuilder$6(luvio, config) {
4093
+ return keyPrefix + '::' + RepresentationType$4 + ':' + config.isSuccess;
4094
4094
  }
4095
4095
  function keyBuilderFromType$2(luvio, object) {
4096
4096
  const keyParams = {
4097
4097
  isSuccess: object.isSuccess
4098
4098
  };
4099
- return keyBuilder$4(luvio, keyParams);
4099
+ return keyBuilder$6(luvio, keyParams);
4100
4100
  }
4101
- function normalize$3(input, existing, path, luvio, store, timestamp) {
4101
+ function normalize$4(input, existing, path, luvio, store, timestamp) {
4102
4102
  return input;
4103
4103
  }
4104
- const select$7 = function DigitalVerificationOutputRepresentationSelect() {
4104
+ const select$c = function DigitalVerificationOutputRepresentationSelect() {
4105
4105
  return {
4106
4106
  kind: 'Fragment',
4107
- version: VERSION$3,
4107
+ version: VERSION$7,
4108
4108
  private: [],
4109
4109
  selections: [
4110
4110
  {
@@ -4122,7 +4122,7 @@ const select$7 = function DigitalVerificationOutputRepresentationSelect() {
4122
4122
  ]
4123
4123
  };
4124
4124
  };
4125
- function equals$3(existing, incoming) {
4125
+ function equals$7(existing, incoming) {
4126
4126
  const existing_isSuccess = existing.isSuccess;
4127
4127
  const incoming_isSuccess = incoming.isSuccess;
4128
4128
  if (!(existing_isSuccess === incoming_isSuccess)) {
@@ -4140,41 +4140,41 @@ function equals$3(existing, incoming) {
4140
4140
  }
4141
4141
  return true;
4142
4142
  }
4143
- const ingest$3 = function DigitalVerificationOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4143
+ const ingest$4 = function DigitalVerificationOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4144
4144
  if (process.env.NODE_ENV !== 'production') {
4145
- const validateError = validate$5(input);
4145
+ const validateError = validate$9(input);
4146
4146
  if (validateError !== null) {
4147
4147
  throw validateError;
4148
4148
  }
4149
4149
  }
4150
4150
  const key = keyBuilderFromType$2(luvio, input);
4151
4151
  const ttlToUse = path.ttl !== undefined ? path.ttl : 500;
4152
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "healthcloud", VERSION$3, RepresentationType$3, equals$3);
4152
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "healthcloud", VERSION$7, RepresentationType$4, equals$7);
4153
4153
  return createLink(key);
4154
4154
  };
4155
- function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
4155
+ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
4156
4156
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
4157
4157
  const rootKey = keyBuilderFromType$2(luvio, input);
4158
4158
  rootKeySet.set(rootKey, {
4159
4159
  namespace: keyPrefix,
4160
- representationName: RepresentationType$3,
4160
+ representationName: RepresentationType$4,
4161
4161
  mergeable: false
4162
4162
  });
4163
4163
  }
4164
4164
 
4165
- function select$6(luvio, params) {
4166
- return select$7();
4165
+ function select$b(luvio, params) {
4166
+ return select$c();
4167
4167
  }
4168
- function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
4169
- getTypeCacheKeys$3(storeKeyMap, luvio, response);
4168
+ function getResponseCacheKeys$4(storeKeyMap, luvio, resourceParams, response) {
4169
+ getTypeCacheKeys$4(storeKeyMap, luvio, response);
4170
4170
  }
4171
- function ingestSuccess$3(luvio, resourceParams, response) {
4171
+ function ingestSuccess$4(luvio, resourceParams, response) {
4172
4172
  const { body } = response;
4173
4173
  const key = keyBuilderFromType$2(luvio, body);
4174
- luvio.storeIngest(key, ingest$3, body);
4174
+ luvio.storeIngest(key, ingest$4, body);
4175
4175
  const snapshot = luvio.storeLookup({
4176
4176
  recordId: key,
4177
- node: select$6(),
4177
+ node: select$b(),
4178
4178
  variables: {},
4179
4179
  });
4180
4180
  if (process.env.NODE_ENV !== 'production') {
@@ -4185,7 +4185,7 @@ function ingestSuccess$3(luvio, resourceParams, response) {
4185
4185
  deepFreeze(snapshot.data);
4186
4186
  return snapshot;
4187
4187
  }
4188
- function createResourceRequest$3(config) {
4188
+ function createResourceRequest$4(config) {
4189
4189
  const headers = {};
4190
4190
  return {
4191
4191
  baseUri: '/services/data/v62.0',
@@ -4199,54 +4199,54 @@ function createResourceRequest$3(config) {
4199
4199
  };
4200
4200
  }
4201
4201
 
4202
- const adapterName$3 = 'digitalVerification';
4202
+ const adapterName$4 = 'digitalVerification';
4203
4203
  const digitalVerification_ConfigPropertyMetadata = [
4204
4204
  generateParamConfigMetadata('digitalVerificationId', true, 2 /* Body */, 0 /* String */),
4205
4205
  generateParamConfigMetadata('digitalVerificationInputFieldsMap', true, 2 /* Body */, 4 /* Unsupported */),
4206
4206
  generateParamConfigMetadata('sessionId', false, 2 /* Body */, 0 /* String */),
4207
4207
  generateParamConfigMetadata('userCredentials', false, 2 /* Body */, 4 /* Unsupported */),
4208
4208
  ];
4209
- const digitalVerification_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, digitalVerification_ConfigPropertyMetadata);
4210
- const createResourceParams$3 = /*#__PURE__*/ createResourceParams$g(digitalVerification_ConfigPropertyMetadata);
4211
- function typeCheckConfig$3(untrustedConfig) {
4209
+ const digitalVerification_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, digitalVerification_ConfigPropertyMetadata);
4210
+ const createResourceParams$4 = /*#__PURE__*/ createResourceParams$h(digitalVerification_ConfigPropertyMetadata);
4211
+ function typeCheckConfig$4(untrustedConfig) {
4212
4212
  const config = {};
4213
- typeCheckConfig$g(untrustedConfig, config, digitalVerification_ConfigPropertyMetadata);
4213
+ typeCheckConfig$h(untrustedConfig, config, digitalVerification_ConfigPropertyMetadata);
4214
4214
  const untrustedConfig_digitalVerificationInputFieldsMap = untrustedConfig.digitalVerificationInputFieldsMap;
4215
- const referenceDigitalVerificationInputFieldsMapInputRepresentationValidationError = validate$7(untrustedConfig_digitalVerificationInputFieldsMap);
4215
+ const referenceDigitalVerificationInputFieldsMapInputRepresentationValidationError = validate$b(untrustedConfig_digitalVerificationInputFieldsMap);
4216
4216
  if (referenceDigitalVerificationInputFieldsMapInputRepresentationValidationError === null) {
4217
4217
  config.digitalVerificationInputFieldsMap = untrustedConfig_digitalVerificationInputFieldsMap;
4218
4218
  }
4219
4219
  const untrustedConfig_userCredentials = untrustedConfig.userCredentials;
4220
- const referenceUserCredentialsInputRepresentationValidationError = validate$6(untrustedConfig_userCredentials);
4220
+ const referenceUserCredentialsInputRepresentationValidationError = validate$a(untrustedConfig_userCredentials);
4221
4221
  if (referenceUserCredentialsInputRepresentationValidationError === null) {
4222
4222
  config.userCredentials = untrustedConfig_userCredentials;
4223
4223
  }
4224
4224
  return config;
4225
4225
  }
4226
- function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
4226
+ function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
4227
4227
  if (!untrustedIsObject(untrustedConfig)) {
4228
4228
  return null;
4229
4229
  }
4230
4230
  if (process.env.NODE_ENV !== 'production') {
4231
4231
  validateConfig(untrustedConfig, configPropertyNames);
4232
4232
  }
4233
- const config = typeCheckConfig$3(untrustedConfig);
4233
+ const config = typeCheckConfig$4(untrustedConfig);
4234
4234
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
4235
4235
  return null;
4236
4236
  }
4237
4237
  return config;
4238
4238
  }
4239
- function buildNetworkSnapshot$3(luvio, config, options) {
4240
- const resourceParams = createResourceParams$3(config);
4241
- const request = createResourceRequest$3(resourceParams);
4239
+ function buildNetworkSnapshot$4(luvio, config, options) {
4240
+ const resourceParams = createResourceParams$4(config);
4241
+ const request = createResourceRequest$4(resourceParams);
4242
4242
  return luvio.dispatchResourceRequest(request, options)
4243
4243
  .then((response) => {
4244
4244
  return luvio.handleSuccessResponse(() => {
4245
- const snapshot = ingestSuccess$3(luvio, resourceParams, response);
4245
+ const snapshot = ingestSuccess$4(luvio, resourceParams, response);
4246
4246
  return luvio.storeBroadcast().then(() => snapshot);
4247
4247
  }, () => {
4248
4248
  const cache = new StoreKeyMap();
4249
- getResponseCacheKeys$3(cache, luvio, resourceParams, response.body);
4249
+ getResponseCacheKeys$4(cache, luvio, resourceParams, response.body);
4250
4250
  return cache;
4251
4251
  });
4252
4252
  }, (response) => {
@@ -4256,16 +4256,16 @@ function buildNetworkSnapshot$3(luvio, config, options) {
4256
4256
  }
4257
4257
  const digitalVerificationAdapterFactory = (luvio) => {
4258
4258
  return function digitalVerification(untrustedConfig) {
4259
- const config = validateAdapterConfig$3(untrustedConfig, digitalVerification_ConfigPropertyNames);
4259
+ const config = validateAdapterConfig$4(untrustedConfig, digitalVerification_ConfigPropertyNames);
4260
4260
  // Invalid or incomplete config
4261
4261
  if (config === null) {
4262
4262
  throw new Error('Invalid config for "digitalVerification"');
4263
4263
  }
4264
- return buildNetworkSnapshot$3(luvio, config);
4264
+ return buildNetworkSnapshot$4(luvio, config);
4265
4265
  };
4266
4266
  };
4267
4267
 
4268
- function validate$4(obj, path = 'FetchEntityDetailsSearchConditionInputRepresentation') {
4268
+ function validate$8(obj, path = 'FetchEntityDetailsSearchConditionInputRepresentation') {
4269
4269
  const v_error = (() => {
4270
4270
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4271
4271
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4295,7 +4295,7 @@ function validate$4(obj, path = 'FetchEntityDetailsSearchConditionInputRepresent
4295
4295
  return v_error === undefined ? null : v_error;
4296
4296
  }
4297
4297
 
4298
- function validate$3(obj, path = 'FetchEntityDetailsInputRepresentation') {
4298
+ function validate$7(obj, path = 'FetchEntityDetailsInputRepresentation') {
4299
4299
  const v_error = (() => {
4300
4300
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4301
4301
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4338,7 +4338,7 @@ function validate$3(obj, path = 'FetchEntityDetailsInputRepresentation') {
4338
4338
  for (let i = 0; i < obj_whereConditionList.length; i++) {
4339
4339
  const obj_whereConditionList_item = obj_whereConditionList[i];
4340
4340
  const path_whereConditionList_item = path_whereConditionList + '[' + i + ']';
4341
- const referencepath_whereConditionList_itemValidationError = validate$4(obj_whereConditionList_item, path_whereConditionList_item);
4341
+ const referencepath_whereConditionList_itemValidationError = validate$8(obj_whereConditionList_item, path_whereConditionList_item);
4342
4342
  if (referencepath_whereConditionList_itemValidationError !== null) {
4343
4343
  let message = 'Object doesn\'t match FetchEntityDetailsSearchConditionInputRepresentation (at "' + path_whereConditionList_item + '")\n';
4344
4344
  message += referencepath_whereConditionList_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4350,8 +4350,8 @@ function validate$3(obj, path = 'FetchEntityDetailsInputRepresentation') {
4350
4350
  return v_error === undefined ? null : v_error;
4351
4351
  }
4352
4352
 
4353
- const VERSION$2 = "c0474ec7befad9e93c213556f8e55595";
4354
- function validate$2(obj, path = 'FetchEntityDetailsOutputRepresentation') {
4353
+ const VERSION$6 = "c0474ec7befad9e93c213556f8e55595";
4354
+ function validate$6(obj, path = 'FetchEntityDetailsOutputRepresentation') {
4355
4355
  const v_error = (() => {
4356
4356
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4357
4357
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4420,62 +4420,62 @@ function validate$2(obj, path = 'FetchEntityDetailsOutputRepresentation') {
4420
4420
  })();
4421
4421
  return v_error === undefined ? null : v_error;
4422
4422
  }
4423
- const RepresentationType$2 = 'FetchEntityDetailsOutputRepresentation';
4424
- function normalize$2(input, existing, path, luvio, store, timestamp) {
4423
+ const RepresentationType$3 = 'FetchEntityDetailsOutputRepresentation';
4424
+ function normalize$3(input, existing, path, luvio, store, timestamp) {
4425
4425
  return input;
4426
4426
  }
4427
- const select$5 = function FetchEntityDetailsOutputRepresentationSelect() {
4427
+ const select$a = function FetchEntityDetailsOutputRepresentationSelect() {
4428
4428
  return {
4429
4429
  kind: 'Fragment',
4430
- version: VERSION$2,
4430
+ version: VERSION$6,
4431
4431
  private: [],
4432
4432
  opaque: true
4433
4433
  };
4434
4434
  };
4435
- function equals$2(existing, incoming) {
4435
+ function equals$6(existing, incoming) {
4436
4436
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
4437
4437
  return false;
4438
4438
  }
4439
4439
  return true;
4440
4440
  }
4441
- const ingest$2 = function FetchEntityDetailsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4441
+ const ingest$3 = function FetchEntityDetailsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4442
4442
  if (process.env.NODE_ENV !== 'production') {
4443
- const validateError = validate$2(input);
4443
+ const validateError = validate$6(input);
4444
4444
  if (validateError !== null) {
4445
4445
  throw validateError;
4446
4446
  }
4447
4447
  }
4448
4448
  const key = path.fullPath;
4449
4449
  const ttlToUse = path.ttl !== undefined ? path.ttl : 500;
4450
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "healthcloud", VERSION$2, RepresentationType$2, equals$2);
4450
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "healthcloud", VERSION$6, RepresentationType$3, equals$6);
4451
4451
  return createLink(key);
4452
4452
  };
4453
- function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
4453
+ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
4454
4454
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
4455
4455
  const rootKey = fullPathFactory();
4456
4456
  rootKeySet.set(rootKey, {
4457
4457
  namespace: keyPrefix,
4458
- representationName: RepresentationType$2,
4458
+ representationName: RepresentationType$3,
4459
4459
  mergeable: false
4460
4460
  });
4461
4461
  }
4462
4462
 
4463
- function select$4(luvio, params) {
4464
- return select$5();
4463
+ function select$9(luvio, params) {
4464
+ return select$a();
4465
4465
  }
4466
- function keyBuilder$3(luvio, params) {
4466
+ function keyBuilder$5(luvio, params) {
4467
4467
  return keyPrefix + '::FetchEntityDetailsOutputRepresentation:(' + (params.body.fetchEntityDetailsInputParam.elevatedMode === undefined ? 'fetchEntityDetailsInputParam.elevatedMode' : 'fetchEntityDetailsInputParam.elevatedMode:' + params.body.fetchEntityDetailsInputParam.elevatedMode) + '::' + 'fetchEntityDetailsInputParam.entityApiName:' + params.body.fetchEntityDetailsInputParam.entityApiName + '::' + 'fetchEntityDetailsInputParam.filterLogic:' + params.body.fetchEntityDetailsInputParam.filterLogic + '::' + 'fetchEntityDetailsInputParam.queryFieldsList:' + params.body.fetchEntityDetailsInputParam.queryFieldsList + '::' + (params.body.fetchEntityDetailsInputParam.whereConditionList === undefined ? undefined : ('[' + params.body.fetchEntityDetailsInputParam.whereConditionList.map(element => (element.field === undefined ? 'fetchEntityDetailsInputParam.whereConditionList.field' : 'fetchEntityDetailsInputParam.whereConditionList.field:' + element.field) + '::' + (element.operand === undefined ? 'fetchEntityDetailsInputParam.whereConditionList.operand' : 'fetchEntityDetailsInputParam.whereConditionList.operand:' + element.operand) + '::' + (element.value === undefined ? 'fetchEntityDetailsInputParam.whereConditionList.value' : 'fetchEntityDetailsInputParam.whereConditionList.value:' + element.value)).join(',') + ']')) + ')';
4468
4468
  }
4469
- function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
4470
- getTypeCacheKeys$2(storeKeyMap, luvio, response, () => keyBuilder$3(luvio, resourceParams));
4469
+ function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
4470
+ getTypeCacheKeys$3(storeKeyMap, luvio, response, () => keyBuilder$5(luvio, resourceParams));
4471
4471
  }
4472
- function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
4472
+ function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
4473
4473
  const { body } = response;
4474
- const key = keyBuilder$3(luvio, resourceParams);
4475
- luvio.storeIngest(key, ingest$2, body);
4474
+ const key = keyBuilder$5(luvio, resourceParams);
4475
+ luvio.storeIngest(key, ingest$3, body);
4476
4476
  const snapshot = luvio.storeLookup({
4477
4477
  recordId: key,
4478
- node: select$4(),
4478
+ node: select$9(),
4479
4479
  variables: {},
4480
4480
  }, snapshotRefresh);
4481
4481
  if (process.env.NODE_ENV !== 'production') {
@@ -4486,13 +4486,13 @@ function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
4486
4486
  deepFreeze(snapshot.data);
4487
4487
  return snapshot;
4488
4488
  }
4489
- function ingestError(luvio, params, error, snapshotRefresh) {
4490
- const key = keyBuilder$3(luvio, params);
4489
+ function ingestError$1(luvio, params, error, snapshotRefresh) {
4490
+ const key = keyBuilder$5(luvio, params);
4491
4491
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
4492
4492
  luvio.storeIngestError(key, errorSnapshot);
4493
4493
  return errorSnapshot;
4494
4494
  }
4495
- function createResourceRequest$2(config) {
4495
+ function createResourceRequest$3(config) {
4496
4496
  const headers = {};
4497
4497
  return {
4498
4498
  baseUri: '/services/data/v62.0',
@@ -4506,98 +4506,98 @@ function createResourceRequest$2(config) {
4506
4506
  };
4507
4507
  }
4508
4508
 
4509
- const adapterName$2 = 'getEntityDetailsInfo';
4509
+ const adapterName$3 = 'getEntityDetailsInfo';
4510
4510
  const getEntityDetailsInfo_ConfigPropertyMetadata = [
4511
4511
  generateParamConfigMetadata('fetchEntityDetailsInputParam', true, 2 /* Body */, 4 /* Unsupported */),
4512
4512
  ];
4513
- const getEntityDetailsInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getEntityDetailsInfo_ConfigPropertyMetadata);
4514
- const createResourceParams$2 = /*#__PURE__*/ createResourceParams$g(getEntityDetailsInfo_ConfigPropertyMetadata);
4515
- function keyBuilder$2(luvio, config) {
4516
- const resourceParams = createResourceParams$2(config);
4517
- return keyBuilder$3(luvio, resourceParams);
4513
+ const getEntityDetailsInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getEntityDetailsInfo_ConfigPropertyMetadata);
4514
+ const createResourceParams$3 = /*#__PURE__*/ createResourceParams$h(getEntityDetailsInfo_ConfigPropertyMetadata);
4515
+ function keyBuilder$4(luvio, config) {
4516
+ const resourceParams = createResourceParams$3(config);
4517
+ return keyBuilder$5(luvio, resourceParams);
4518
4518
  }
4519
- function typeCheckConfig$2(untrustedConfig) {
4519
+ function typeCheckConfig$3(untrustedConfig) {
4520
4520
  const config = {};
4521
4521
  const untrustedConfig_fetchEntityDetailsInputParam = untrustedConfig.fetchEntityDetailsInputParam;
4522
- const referenceFetchEntityDetailsInputRepresentationValidationError = validate$3(untrustedConfig_fetchEntityDetailsInputParam);
4522
+ const referenceFetchEntityDetailsInputRepresentationValidationError = validate$7(untrustedConfig_fetchEntityDetailsInputParam);
4523
4523
  if (referenceFetchEntityDetailsInputRepresentationValidationError === null) {
4524
4524
  config.fetchEntityDetailsInputParam = untrustedConfig_fetchEntityDetailsInputParam;
4525
4525
  }
4526
4526
  return config;
4527
4527
  }
4528
- function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
4528
+ function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
4529
4529
  if (!untrustedIsObject(untrustedConfig)) {
4530
4530
  return null;
4531
4531
  }
4532
4532
  if (process.env.NODE_ENV !== 'production') {
4533
4533
  validateConfig(untrustedConfig, configPropertyNames);
4534
4534
  }
4535
- const config = typeCheckConfig$2(untrustedConfig);
4535
+ const config = typeCheckConfig$3(untrustedConfig);
4536
4536
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
4537
4537
  return null;
4538
4538
  }
4539
4539
  return config;
4540
4540
  }
4541
- function adapterFragment(luvio, config) {
4542
- createResourceParams$2(config);
4543
- return select$4();
4541
+ function adapterFragment$1(luvio, config) {
4542
+ createResourceParams$3(config);
4543
+ return select$9();
4544
4544
  }
4545
- function onFetchResponseSuccess(luvio, config, resourceParams, response) {
4546
- const snapshot = ingestSuccess$2(luvio, resourceParams, response, {
4545
+ function onFetchResponseSuccess$1(luvio, config, resourceParams, response) {
4546
+ const snapshot = ingestSuccess$3(luvio, resourceParams, response, {
4547
4547
  config,
4548
- resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
4548
+ resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
4549
4549
  });
4550
4550
  return luvio.storeBroadcast().then(() => snapshot);
4551
4551
  }
4552
- function onFetchResponseError(luvio, config, resourceParams, response) {
4553
- const snapshot = ingestError(luvio, resourceParams, response, {
4552
+ function onFetchResponseError$1(luvio, config, resourceParams, response) {
4553
+ const snapshot = ingestError$1(luvio, resourceParams, response, {
4554
4554
  config,
4555
- resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
4555
+ resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
4556
4556
  });
4557
4557
  return luvio.storeBroadcast().then(() => snapshot);
4558
4558
  }
4559
- function buildNetworkSnapshot$2(luvio, config, options) {
4560
- const resourceParams = createResourceParams$2(config);
4561
- const request = createResourceRequest$2(resourceParams);
4559
+ function buildNetworkSnapshot$3(luvio, config, options) {
4560
+ const resourceParams = createResourceParams$3(config);
4561
+ const request = createResourceRequest$3(resourceParams);
4562
4562
  return luvio.dispatchResourceRequest(request, options)
4563
4563
  .then((response) => {
4564
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess(luvio, config, resourceParams, response), () => {
4564
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$1(luvio, config, resourceParams, response), () => {
4565
4565
  const cache = new StoreKeyMap();
4566
- getResponseCacheKeys$2(cache, luvio, resourceParams, response.body);
4566
+ getResponseCacheKeys$3(cache, luvio, resourceParams, response.body);
4567
4567
  return cache;
4568
4568
  });
4569
4569
  }, (response) => {
4570
- return luvio.handleErrorResponse(() => onFetchResponseError(luvio, config, resourceParams, response));
4570
+ return luvio.handleErrorResponse(() => onFetchResponseError$1(luvio, config, resourceParams, response));
4571
4571
  });
4572
4572
  }
4573
- function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
4574
- return buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, 'get', false);
4573
+ function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
4574
+ return buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, 'get', false);
4575
4575
  }
4576
- function buildCachedSnapshotCachePolicy(context, storeLookup) {
4576
+ function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
4577
4577
  const { luvio, config } = context;
4578
4578
  const selector = {
4579
- recordId: keyBuilder$2(luvio, config),
4580
- node: adapterFragment(luvio, config),
4579
+ recordId: keyBuilder$4(luvio, config),
4580
+ node: adapterFragment$1(luvio, config),
4581
4581
  variables: {},
4582
4582
  };
4583
4583
  const cacheSnapshot = storeLookup(selector, {
4584
4584
  config,
4585
- resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
4585
+ resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
4586
4586
  });
4587
4587
  return cacheSnapshot;
4588
4588
  }
4589
4589
  const getEntityDetailsInfoAdapterFactory = (luvio) => function healthcloud__getEntityDetailsInfo(untrustedConfig, requestContext) {
4590
- const config = validateAdapterConfig$2(untrustedConfig, getEntityDetailsInfo_ConfigPropertyNames);
4590
+ const config = validateAdapterConfig$3(untrustedConfig, getEntityDetailsInfo_ConfigPropertyNames);
4591
4591
  // Invalid or incomplete config
4592
4592
  if (config === null) {
4593
4593
  return null;
4594
4594
  }
4595
4595
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
4596
- buildCachedSnapshotCachePolicy, buildNetworkSnapshotCachePolicy);
4596
+ buildCachedSnapshotCachePolicy$1, buildNetworkSnapshotCachePolicy$1);
4597
4597
  };
4598
4598
 
4599
- const VERSION$1 = "2ae0ec19b1cf32dffba65875c26b1213";
4600
- function validate$1(obj, path = 'VisitBroadcastAssignmentOutputRepresentation') {
4599
+ const VERSION$5 = "2ae0ec19b1cf32dffba65875c26b1213";
4600
+ function validate$5(obj, path = 'VisitBroadcastAssignmentOutputRepresentation') {
4601
4601
  const v_error = (() => {
4602
4602
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4603
4603
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4641,23 +4641,23 @@ function validate$1(obj, path = 'VisitBroadcastAssignmentOutputRepresentation')
4641
4641
  })();
4642
4642
  return v_error === undefined ? null : v_error;
4643
4643
  }
4644
- const RepresentationType$1 = 'VisitBroadcastAssignmentOutputRepresentation';
4645
- function keyBuilder$1(luvio, config) {
4646
- return keyPrefix + '::' + RepresentationType$1 + ':' + config.isSuccess;
4644
+ const RepresentationType$2 = 'VisitBroadcastAssignmentOutputRepresentation';
4645
+ function keyBuilder$3(luvio, config) {
4646
+ return keyPrefix + '::' + RepresentationType$2 + ':' + config.isSuccess;
4647
4647
  }
4648
4648
  function keyBuilderFromType$1(luvio, object) {
4649
4649
  const keyParams = {
4650
4650
  isSuccess: object.isSuccess
4651
4651
  };
4652
- return keyBuilder$1(luvio, keyParams);
4652
+ return keyBuilder$3(luvio, keyParams);
4653
4653
  }
4654
- function normalize$1(input, existing, path, luvio, store, timestamp) {
4654
+ function normalize$2(input, existing, path, luvio, store, timestamp) {
4655
4655
  return input;
4656
4656
  }
4657
- const select$3 = function VisitBroadcastAssignmentOutputRepresentationSelect() {
4657
+ const select$8 = function VisitBroadcastAssignmentOutputRepresentationSelect() {
4658
4658
  return {
4659
4659
  kind: 'Fragment',
4660
- version: VERSION$1,
4660
+ version: VERSION$5,
4661
4661
  private: [],
4662
4662
  selections: [
4663
4663
  {
@@ -4675,7 +4675,7 @@ const select$3 = function VisitBroadcastAssignmentOutputRepresentationSelect() {
4675
4675
  ]
4676
4676
  };
4677
4677
  };
4678
- function equals$1(existing, incoming) {
4678
+ function equals$5(existing, incoming) {
4679
4679
  const existing_isSuccess = existing.isSuccess;
4680
4680
  const incoming_isSuccess = incoming.isSuccess;
4681
4681
  if (!(existing_isSuccess === incoming_isSuccess)) {
@@ -4693,41 +4693,41 @@ function equals$1(existing, incoming) {
4693
4693
  }
4694
4694
  return true;
4695
4695
  }
4696
- const ingest$1 = function VisitBroadcastAssignmentOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4696
+ const ingest$2 = function VisitBroadcastAssignmentOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4697
4697
  if (process.env.NODE_ENV !== 'production') {
4698
- const validateError = validate$1(input);
4698
+ const validateError = validate$5(input);
4699
4699
  if (validateError !== null) {
4700
4700
  throw validateError;
4701
4701
  }
4702
4702
  }
4703
4703
  const key = keyBuilderFromType$1(luvio, input);
4704
4704
  const ttlToUse = path.ttl !== undefined ? path.ttl : 500;
4705
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$1, "healthcloud", VERSION$1, RepresentationType$1, equals$1);
4705
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "healthcloud", VERSION$5, RepresentationType$2, equals$5);
4706
4706
  return createLink(key);
4707
4707
  };
4708
- function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
4708
+ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
4709
4709
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
4710
4710
  const rootKey = keyBuilderFromType$1(luvio, input);
4711
4711
  rootKeySet.set(rootKey, {
4712
4712
  namespace: keyPrefix,
4713
- representationName: RepresentationType$1,
4713
+ representationName: RepresentationType$2,
4714
4714
  mergeable: false
4715
4715
  });
4716
4716
  }
4717
4717
 
4718
- function select$2(luvio, params) {
4719
- return select$3();
4718
+ function select$7(luvio, params) {
4719
+ return select$8();
4720
4720
  }
4721
- function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
4722
- getTypeCacheKeys$1(storeKeyMap, luvio, response);
4721
+ function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
4722
+ getTypeCacheKeys$2(storeKeyMap, luvio, response);
4723
4723
  }
4724
- function ingestSuccess$1(luvio, resourceParams, response) {
4724
+ function ingestSuccess$2(luvio, resourceParams, response) {
4725
4725
  const { body } = response;
4726
4726
  const key = keyBuilderFromType$1(luvio, body);
4727
- luvio.storeIngest(key, ingest$1, body);
4727
+ luvio.storeIngest(key, ingest$2, body);
4728
4728
  const snapshot = luvio.storeLookup({
4729
4729
  recordId: key,
4730
- node: select$2(),
4730
+ node: select$7(),
4731
4731
  variables: {},
4732
4732
  });
4733
4733
  if (process.env.NODE_ENV !== 'production') {
@@ -4738,7 +4738,7 @@ function ingestSuccess$1(luvio, resourceParams, response) {
4738
4738
  deepFreeze(snapshot.data);
4739
4739
  return snapshot;
4740
4740
  }
4741
- function createResourceRequest$1(config) {
4741
+ function createResourceRequest$2(config) {
4742
4742
  const headers = {};
4743
4743
  return {
4744
4744
  baseUri: '/services/data/v62.0',
@@ -4752,43 +4752,43 @@ function createResourceRequest$1(config) {
4752
4752
  };
4753
4753
  }
4754
4754
 
4755
- const adapterName$1 = 'broadcastVisitAssignment';
4755
+ const adapterName$2 = 'broadcastVisitAssignment';
4756
4756
  const broadcastVisitAssignment_ConfigPropertyMetadata = [
4757
4757
  generateParamConfigMetadata('broadcastResponseAction', true, 2 /* Body */, 0 /* String */),
4758
4758
  generateParamConfigMetadata('scheduleBroadcastAppointmentResourceId', true, 2 /* Body */, 0 /* String */),
4759
4759
  generateParamConfigMetadata('startDateTime', true, 2 /* Body */, 0 /* String */),
4760
4760
  ];
4761
- const broadcastVisitAssignment_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, broadcastVisitAssignment_ConfigPropertyMetadata);
4762
- const createResourceParams$1 = /*#__PURE__*/ createResourceParams$g(broadcastVisitAssignment_ConfigPropertyMetadata);
4763
- function typeCheckConfig$1(untrustedConfig) {
4761
+ const broadcastVisitAssignment_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, broadcastVisitAssignment_ConfigPropertyMetadata);
4762
+ const createResourceParams$2 = /*#__PURE__*/ createResourceParams$h(broadcastVisitAssignment_ConfigPropertyMetadata);
4763
+ function typeCheckConfig$2(untrustedConfig) {
4764
4764
  const config = {};
4765
- typeCheckConfig$g(untrustedConfig, config, broadcastVisitAssignment_ConfigPropertyMetadata);
4765
+ typeCheckConfig$h(untrustedConfig, config, broadcastVisitAssignment_ConfigPropertyMetadata);
4766
4766
  return config;
4767
4767
  }
4768
- function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
4768
+ function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
4769
4769
  if (!untrustedIsObject(untrustedConfig)) {
4770
4770
  return null;
4771
4771
  }
4772
4772
  if (process.env.NODE_ENV !== 'production') {
4773
4773
  validateConfig(untrustedConfig, configPropertyNames);
4774
4774
  }
4775
- const config = typeCheckConfig$1(untrustedConfig);
4775
+ const config = typeCheckConfig$2(untrustedConfig);
4776
4776
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
4777
4777
  return null;
4778
4778
  }
4779
4779
  return config;
4780
4780
  }
4781
- function buildNetworkSnapshot$1(luvio, config, options) {
4782
- const resourceParams = createResourceParams$1(config);
4783
- const request = createResourceRequest$1(resourceParams);
4781
+ function buildNetworkSnapshot$2(luvio, config, options) {
4782
+ const resourceParams = createResourceParams$2(config);
4783
+ const request = createResourceRequest$2(resourceParams);
4784
4784
  return luvio.dispatchResourceRequest(request, options)
4785
4785
  .then((response) => {
4786
4786
  return luvio.handleSuccessResponse(() => {
4787
- const snapshot = ingestSuccess$1(luvio, resourceParams, response);
4787
+ const snapshot = ingestSuccess$2(luvio, resourceParams, response);
4788
4788
  return luvio.storeBroadcast().then(() => snapshot);
4789
4789
  }, () => {
4790
4790
  const cache = new StoreKeyMap();
4791
- getResponseCacheKeys$1(cache, luvio, resourceParams, response.body);
4791
+ getResponseCacheKeys$2(cache, luvio, resourceParams, response.body);
4792
4792
  return cache;
4793
4793
  });
4794
4794
  }, (response) => {
@@ -4798,17 +4798,17 @@ function buildNetworkSnapshot$1(luvio, config, options) {
4798
4798
  }
4799
4799
  const broadcastVisitAssignmentAdapterFactory = (luvio) => {
4800
4800
  return function broadcastVisitAssignment(untrustedConfig) {
4801
- const config = validateAdapterConfig$1(untrustedConfig, broadcastVisitAssignment_ConfigPropertyNames);
4801
+ const config = validateAdapterConfig$2(untrustedConfig, broadcastVisitAssignment_ConfigPropertyNames);
4802
4802
  // Invalid or incomplete config
4803
4803
  if (config === null) {
4804
4804
  throw new Error('Invalid config for "broadcastVisitAssignment"');
4805
4805
  }
4806
- return buildNetworkSnapshot$1(luvio, config);
4806
+ return buildNetworkSnapshot$2(luvio, config);
4807
4807
  };
4808
4808
  };
4809
4809
 
4810
- const VERSION = "ddd9c38d2af1fe6424feb2504dc17dd7";
4811
- function validate(obj, path = 'VisitBroadcastOutputRepresentation') {
4810
+ const VERSION$4 = "ddd9c38d2af1fe6424feb2504dc17dd7";
4811
+ function validate$4(obj, path = 'VisitBroadcastOutputRepresentation') {
4812
4812
  const v_error = (() => {
4813
4813
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4814
4814
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4864,23 +4864,23 @@ function validate(obj, path = 'VisitBroadcastOutputRepresentation') {
4864
4864
  })();
4865
4865
  return v_error === undefined ? null : v_error;
4866
4866
  }
4867
- const RepresentationType = 'VisitBroadcastOutputRepresentation';
4868
- function keyBuilder(luvio, config) {
4869
- return keyPrefix + '::' + RepresentationType + ':' + config.isSuccess;
4867
+ const RepresentationType$1 = 'VisitBroadcastOutputRepresentation';
4868
+ function keyBuilder$2(luvio, config) {
4869
+ return keyPrefix + '::' + RepresentationType$1 + ':' + config.isSuccess;
4870
4870
  }
4871
4871
  function keyBuilderFromType(luvio, object) {
4872
4872
  const keyParams = {
4873
4873
  isSuccess: object.status
4874
4874
  };
4875
- return keyBuilder(luvio, keyParams);
4875
+ return keyBuilder$2(luvio, keyParams);
4876
4876
  }
4877
- function normalize(input, existing, path, luvio, store, timestamp) {
4877
+ function normalize$1(input, existing, path, luvio, store, timestamp) {
4878
4878
  return input;
4879
4879
  }
4880
- const select$1 = function VisitBroadcastOutputRepresentationSelect() {
4880
+ const select$6 = function VisitBroadcastOutputRepresentationSelect() {
4881
4881
  return {
4882
4882
  kind: 'Fragment',
4883
- version: VERSION,
4883
+ version: VERSION$4,
4884
4884
  private: [],
4885
4885
  selections: [
4886
4886
  {
@@ -4903,7 +4903,7 @@ const select$1 = function VisitBroadcastOutputRepresentationSelect() {
4903
4903
  ]
4904
4904
  };
4905
4905
  };
4906
- function equals(existing, incoming) {
4906
+ function equals$4(existing, incoming) {
4907
4907
  const existing_code = existing.code;
4908
4908
  const incoming_code = incoming.code;
4909
4909
  if (!(existing_code === incoming_code)) {
@@ -4931,41 +4931,41 @@ function equals(existing, incoming) {
4931
4931
  }
4932
4932
  return true;
4933
4933
  }
4934
- const ingest = function VisitBroadcastOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4934
+ const ingest$1 = function VisitBroadcastOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4935
4935
  if (process.env.NODE_ENV !== 'production') {
4936
- const validateError = validate(input);
4936
+ const validateError = validate$4(input);
4937
4937
  if (validateError !== null) {
4938
4938
  throw validateError;
4939
4939
  }
4940
4940
  }
4941
4941
  const key = keyBuilderFromType(luvio, input);
4942
4942
  const ttlToUse = path.ttl !== undefined ? path.ttl : 500;
4943
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize, "healthcloud", VERSION, RepresentationType, equals);
4943
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$1, "healthcloud", VERSION$4, RepresentationType$1, equals$4);
4944
4944
  return createLink(key);
4945
4945
  };
4946
- function getTypeCacheKeys(rootKeySet, luvio, input, fullPathFactory) {
4946
+ function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
4947
4947
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
4948
4948
  const rootKey = keyBuilderFromType(luvio, input);
4949
4949
  rootKeySet.set(rootKey, {
4950
4950
  namespace: keyPrefix,
4951
- representationName: RepresentationType,
4951
+ representationName: RepresentationType$1,
4952
4952
  mergeable: false
4953
4953
  });
4954
4954
  }
4955
4955
 
4956
- function select(luvio, params) {
4957
- return select$1();
4956
+ function select$5(luvio, params) {
4957
+ return select$6();
4958
4958
  }
4959
- function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
4960
- getTypeCacheKeys(storeKeyMap, luvio, response);
4959
+ function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
4960
+ getTypeCacheKeys$1(storeKeyMap, luvio, response);
4961
4961
  }
4962
- function ingestSuccess(luvio, resourceParams, response) {
4962
+ function ingestSuccess$1(luvio, resourceParams, response) {
4963
4963
  const { body } = response;
4964
4964
  const key = keyBuilderFromType(luvio, body);
4965
- luvio.storeIngest(key, ingest, body);
4965
+ luvio.storeIngest(key, ingest$1, body);
4966
4966
  const snapshot = luvio.storeLookup({
4967
4967
  recordId: key,
4968
- node: select(),
4968
+ node: select$5(),
4969
4969
  variables: {},
4970
4970
  });
4971
4971
  if (process.env.NODE_ENV !== 'production') {
@@ -4976,7 +4976,7 @@ function ingestSuccess(luvio, resourceParams, response) {
4976
4976
  deepFreeze(snapshot.data);
4977
4977
  return snapshot;
4978
4978
  }
4979
- function createResourceRequest(config) {
4979
+ function createResourceRequest$1(config) {
4980
4980
  const headers = {};
4981
4981
  return {
4982
4982
  baseUri: '/services/data/v62.0',
@@ -4990,42 +4990,42 @@ function createResourceRequest(config) {
4990
4990
  };
4991
4991
  }
4992
4992
 
4993
- const adapterName = 'createVisitBroadcast';
4993
+ const adapterName$1 = 'createVisitBroadcast';
4994
4994
  const createVisitBroadcast_ConfigPropertyMetadata = [
4995
4995
  generateParamConfigMetadata('serviceAppointmentIds', true, 2 /* Body */, 0 /* String */, true),
4996
4996
  generateParamConfigMetadata('serviceTerritoryIds', true, 2 /* Body */, 0 /* String */, true),
4997
4997
  ];
4998
- const createVisitBroadcast_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, createVisitBroadcast_ConfigPropertyMetadata);
4999
- const createResourceParams = /*#__PURE__*/ createResourceParams$g(createVisitBroadcast_ConfigPropertyMetadata);
5000
- function typeCheckConfig(untrustedConfig) {
4998
+ const createVisitBroadcast_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, createVisitBroadcast_ConfigPropertyMetadata);
4999
+ const createResourceParams$1 = /*#__PURE__*/ createResourceParams$h(createVisitBroadcast_ConfigPropertyMetadata);
5000
+ function typeCheckConfig$1(untrustedConfig) {
5001
5001
  const config = {};
5002
- typeCheckConfig$g(untrustedConfig, config, createVisitBroadcast_ConfigPropertyMetadata);
5002
+ typeCheckConfig$h(untrustedConfig, config, createVisitBroadcast_ConfigPropertyMetadata);
5003
5003
  return config;
5004
5004
  }
5005
- function validateAdapterConfig(untrustedConfig, configPropertyNames) {
5005
+ function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
5006
5006
  if (!untrustedIsObject(untrustedConfig)) {
5007
5007
  return null;
5008
5008
  }
5009
5009
  if (process.env.NODE_ENV !== 'production') {
5010
5010
  validateConfig(untrustedConfig, configPropertyNames);
5011
5011
  }
5012
- const config = typeCheckConfig(untrustedConfig);
5012
+ const config = typeCheckConfig$1(untrustedConfig);
5013
5013
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
5014
5014
  return null;
5015
5015
  }
5016
5016
  return config;
5017
5017
  }
5018
- function buildNetworkSnapshot(luvio, config, options) {
5019
- const resourceParams = createResourceParams(config);
5020
- const request = createResourceRequest(resourceParams);
5018
+ function buildNetworkSnapshot$1(luvio, config, options) {
5019
+ const resourceParams = createResourceParams$1(config);
5020
+ const request = createResourceRequest$1(resourceParams);
5021
5021
  return luvio.dispatchResourceRequest(request, options)
5022
5022
  .then((response) => {
5023
5023
  return luvio.handleSuccessResponse(() => {
5024
- const snapshot = ingestSuccess(luvio, resourceParams, response);
5024
+ const snapshot = ingestSuccess$1(luvio, resourceParams, response);
5025
5025
  return luvio.storeBroadcast().then(() => snapshot);
5026
5026
  }, () => {
5027
5027
  const cache = new StoreKeyMap();
5028
- getResponseCacheKeys(cache, luvio, resourceParams, response.body);
5028
+ getResponseCacheKeys$1(cache, luvio, resourceParams, response.body);
5029
5029
  return cache;
5030
5030
  });
5031
5031
  }, (response) => {
@@ -5035,13 +5035,1015 @@ function buildNetworkSnapshot(luvio, config, options) {
5035
5035
  }
5036
5036
  const createVisitBroadcastAdapterFactory = (luvio) => {
5037
5037
  return function createVisitBroadcast(untrustedConfig) {
5038
- const config = validateAdapterConfig(untrustedConfig, createVisitBroadcast_ConfigPropertyNames);
5038
+ const config = validateAdapterConfig$1(untrustedConfig, createVisitBroadcast_ConfigPropertyNames);
5039
5039
  // Invalid or incomplete config
5040
5040
  if (config === null) {
5041
5041
  throw new Error('Invalid config for "createVisitBroadcast"');
5042
5042
  }
5043
- return buildNetworkSnapshot(luvio, config);
5043
+ return buildNetworkSnapshot$1(luvio, config);
5044
5044
  };
5045
5045
  };
5046
5046
 
5047
- export { bookSlotChainAdapterFactory, broadcastVisitAssignmentAdapterFactory, cancelSlotChainAdapterFactory, createVisitBroadcastAdapterFactory, digitalVerificationAdapterFactory, genericConnectApiGETAdapterFactory, genericConnectApiPOSTAdapterFactory, getEntityDetailsInfoAdapterFactory, getQuotasAndAllocationAdapterFactory, getSlotChainsAdapterFactory, getSlotsAdapterFactory, getWorkTypeServiceTerritoriesAdapterFactory, moveToNextStepAdapterFactory, rescheduleSlotChainAdapterFactory, validateSlotChainAdapterFactory, workTypeLeadTimeAdapterFactory };
5047
+ const VERSION$3 = "204118f8b279ed874c0bd3ba9f3adc1d";
5048
+ function validate$3(obj, path = 'FileBasedDataImport') {
5049
+ const v_error = (() => {
5050
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5051
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
5052
+ }
5053
+ if (obj.failedRecordsCount !== undefined) {
5054
+ const obj_failedRecordsCount = obj.failedRecordsCount;
5055
+ const path_failedRecordsCount = path + '.failedRecordsCount';
5056
+ if (typeof obj_failedRecordsCount !== 'number') {
5057
+ return new TypeError('Expected "number" but received "' + typeof obj_failedRecordsCount + '" (at "' + path_failedRecordsCount + '")');
5058
+ }
5059
+ }
5060
+ if (obj.failedResults !== undefined) {
5061
+ const obj_failedResults = obj.failedResults;
5062
+ const path_failedResults = path + '.failedResults';
5063
+ if (typeof obj_failedResults !== 'string') {
5064
+ return new TypeError('Expected "string" but received "' + typeof obj_failedResults + '" (at "' + path_failedResults + '")');
5065
+ }
5066
+ }
5067
+ if (obj.fileBasedDataImportId !== undefined) {
5068
+ const obj_fileBasedDataImportId = obj.fileBasedDataImportId;
5069
+ const path_fileBasedDataImportId = path + '.fileBasedDataImportId';
5070
+ if (typeof obj_fileBasedDataImportId !== 'string') {
5071
+ return new TypeError('Expected "string" but received "' + typeof obj_fileBasedDataImportId + '" (at "' + path_fileBasedDataImportId + '")');
5072
+ }
5073
+ }
5074
+ if (obj.jobIdentifier !== undefined) {
5075
+ const obj_jobIdentifier = obj.jobIdentifier;
5076
+ const path_jobIdentifier = path + '.jobIdentifier';
5077
+ if (typeof obj_jobIdentifier !== 'string') {
5078
+ return new TypeError('Expected "string" but received "' + typeof obj_jobIdentifier + '" (at "' + path_jobIdentifier + '")');
5079
+ }
5080
+ }
5081
+ if (obj.lastModifiedDate !== undefined) {
5082
+ const obj_lastModifiedDate = obj.lastModifiedDate;
5083
+ const path_lastModifiedDate = path + '.lastModifiedDate';
5084
+ if (typeof obj_lastModifiedDate !== 'string') {
5085
+ return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
5086
+ }
5087
+ }
5088
+ if (obj.parentJobDataImportId !== undefined) {
5089
+ const obj_parentJobDataImportId = obj.parentJobDataImportId;
5090
+ const path_parentJobDataImportId = path + '.parentJobDataImportId';
5091
+ if (typeof obj_parentJobDataImportId !== 'string') {
5092
+ return new TypeError('Expected "string" but received "' + typeof obj_parentJobDataImportId + '" (at "' + path_parentJobDataImportId + '")');
5093
+ }
5094
+ }
5095
+ if (obj.sourceFilename !== undefined) {
5096
+ const obj_sourceFilename = obj.sourceFilename;
5097
+ const path_sourceFilename = path + '.sourceFilename';
5098
+ if (typeof obj_sourceFilename !== 'string') {
5099
+ return new TypeError('Expected "string" but received "' + typeof obj_sourceFilename + '" (at "' + path_sourceFilename + '")');
5100
+ }
5101
+ }
5102
+ if (obj.status !== undefined) {
5103
+ const obj_status = obj.status;
5104
+ const path_status = path + '.status';
5105
+ if (typeof obj_status !== 'string') {
5106
+ return new TypeError('Expected "string" but received "' + typeof obj_status + '" (at "' + path_status + '")');
5107
+ }
5108
+ }
5109
+ if (obj.successRecordsCount !== undefined) {
5110
+ const obj_successRecordsCount = obj.successRecordsCount;
5111
+ const path_successRecordsCount = path + '.successRecordsCount';
5112
+ if (typeof obj_successRecordsCount !== 'number') {
5113
+ return new TypeError('Expected "number" but received "' + typeof obj_successRecordsCount + '" (at "' + path_successRecordsCount + '")');
5114
+ }
5115
+ }
5116
+ if (obj.successfulResults !== undefined) {
5117
+ const obj_successfulResults = obj.successfulResults;
5118
+ const path_successfulResults = path + '.successfulResults';
5119
+ if (typeof obj_successfulResults !== 'string') {
5120
+ return new TypeError('Expected "string" but received "' + typeof obj_successfulResults + '" (at "' + path_successfulResults + '")');
5121
+ }
5122
+ }
5123
+ if (obj.targetContext !== undefined) {
5124
+ const obj_targetContext = obj.targetContext;
5125
+ const path_targetContext = path + '.targetContext';
5126
+ if (typeof obj_targetContext !== 'string') {
5127
+ return new TypeError('Expected "string" but received "' + typeof obj_targetContext + '" (at "' + path_targetContext + '")');
5128
+ }
5129
+ }
5130
+ if (obj.usageType !== undefined) {
5131
+ const obj_usageType = obj.usageType;
5132
+ const path_usageType = path + '.usageType';
5133
+ if (typeof obj_usageType !== 'string') {
5134
+ return new TypeError('Expected "string" but received "' + typeof obj_usageType + '" (at "' + path_usageType + '")');
5135
+ }
5136
+ }
5137
+ })();
5138
+ return v_error === undefined ? null : v_error;
5139
+ }
5140
+ const select$4 = function FileBasedDataImportSelect() {
5141
+ return {
5142
+ kind: 'Fragment',
5143
+ version: VERSION$3,
5144
+ private: [],
5145
+ selections: [
5146
+ {
5147
+ name: 'failedRecordsCount',
5148
+ kind: 'Scalar',
5149
+ required: false
5150
+ },
5151
+ {
5152
+ name: 'failedResults',
5153
+ kind: 'Scalar',
5154
+ required: false
5155
+ },
5156
+ {
5157
+ name: 'fileBasedDataImportId',
5158
+ kind: 'Scalar',
5159
+ required: false
5160
+ },
5161
+ {
5162
+ name: 'jobIdentifier',
5163
+ kind: 'Scalar',
5164
+ required: false
5165
+ },
5166
+ {
5167
+ name: 'lastModifiedDate',
5168
+ kind: 'Scalar',
5169
+ required: false
5170
+ },
5171
+ {
5172
+ name: 'parentJobDataImportId',
5173
+ kind: 'Scalar',
5174
+ required: false
5175
+ },
5176
+ {
5177
+ name: 'sourceFilename',
5178
+ kind: 'Scalar',
5179
+ required: false
5180
+ },
5181
+ {
5182
+ name: 'status',
5183
+ kind: 'Scalar',
5184
+ required: false
5185
+ },
5186
+ {
5187
+ name: 'successRecordsCount',
5188
+ kind: 'Scalar',
5189
+ required: false
5190
+ },
5191
+ {
5192
+ name: 'successfulResults',
5193
+ kind: 'Scalar',
5194
+ required: false
5195
+ },
5196
+ {
5197
+ name: 'targetContext',
5198
+ kind: 'Scalar',
5199
+ required: false
5200
+ },
5201
+ {
5202
+ name: 'usageType',
5203
+ kind: 'Scalar',
5204
+ required: false
5205
+ }
5206
+ ]
5207
+ };
5208
+ };
5209
+ function equals$3(existing, incoming) {
5210
+ const existing_failedRecordsCount = existing.failedRecordsCount;
5211
+ const incoming_failedRecordsCount = incoming.failedRecordsCount;
5212
+ // if at least one of these optionals is defined
5213
+ if (existing_failedRecordsCount !== undefined || incoming_failedRecordsCount !== undefined) {
5214
+ // if one of these is not defined we know the other is defined and therefore
5215
+ // not equal
5216
+ if (existing_failedRecordsCount === undefined || incoming_failedRecordsCount === undefined) {
5217
+ return false;
5218
+ }
5219
+ if (!(existing_failedRecordsCount === incoming_failedRecordsCount)) {
5220
+ return false;
5221
+ }
5222
+ }
5223
+ const existing_successRecordsCount = existing.successRecordsCount;
5224
+ const incoming_successRecordsCount = incoming.successRecordsCount;
5225
+ // if at least one of these optionals is defined
5226
+ if (existing_successRecordsCount !== undefined || incoming_successRecordsCount !== undefined) {
5227
+ // if one of these is not defined we know the other is defined and therefore
5228
+ // not equal
5229
+ if (existing_successRecordsCount === undefined || incoming_successRecordsCount === undefined) {
5230
+ return false;
5231
+ }
5232
+ if (!(existing_successRecordsCount === incoming_successRecordsCount)) {
5233
+ return false;
5234
+ }
5235
+ }
5236
+ const existing_failedResults = existing.failedResults;
5237
+ const incoming_failedResults = incoming.failedResults;
5238
+ // if at least one of these optionals is defined
5239
+ if (existing_failedResults !== undefined || incoming_failedResults !== undefined) {
5240
+ // if one of these is not defined we know the other is defined and therefore
5241
+ // not equal
5242
+ if (existing_failedResults === undefined || incoming_failedResults === undefined) {
5243
+ return false;
5244
+ }
5245
+ if (!(existing_failedResults === incoming_failedResults)) {
5246
+ return false;
5247
+ }
5248
+ }
5249
+ const existing_fileBasedDataImportId = existing.fileBasedDataImportId;
5250
+ const incoming_fileBasedDataImportId = incoming.fileBasedDataImportId;
5251
+ // if at least one of these optionals is defined
5252
+ if (existing_fileBasedDataImportId !== undefined || incoming_fileBasedDataImportId !== undefined) {
5253
+ // if one of these is not defined we know the other is defined and therefore
5254
+ // not equal
5255
+ if (existing_fileBasedDataImportId === undefined || incoming_fileBasedDataImportId === undefined) {
5256
+ return false;
5257
+ }
5258
+ if (!(existing_fileBasedDataImportId === incoming_fileBasedDataImportId)) {
5259
+ return false;
5260
+ }
5261
+ }
5262
+ const existing_jobIdentifier = existing.jobIdentifier;
5263
+ const incoming_jobIdentifier = incoming.jobIdentifier;
5264
+ // if at least one of these optionals is defined
5265
+ if (existing_jobIdentifier !== undefined || incoming_jobIdentifier !== undefined) {
5266
+ // if one of these is not defined we know the other is defined and therefore
5267
+ // not equal
5268
+ if (existing_jobIdentifier === undefined || incoming_jobIdentifier === undefined) {
5269
+ return false;
5270
+ }
5271
+ if (!(existing_jobIdentifier === incoming_jobIdentifier)) {
5272
+ return false;
5273
+ }
5274
+ }
5275
+ const existing_lastModifiedDate = existing.lastModifiedDate;
5276
+ const incoming_lastModifiedDate = incoming.lastModifiedDate;
5277
+ // if at least one of these optionals is defined
5278
+ if (existing_lastModifiedDate !== undefined || incoming_lastModifiedDate !== undefined) {
5279
+ // if one of these is not defined we know the other is defined and therefore
5280
+ // not equal
5281
+ if (existing_lastModifiedDate === undefined || incoming_lastModifiedDate === undefined) {
5282
+ return false;
5283
+ }
5284
+ if (!(existing_lastModifiedDate === incoming_lastModifiedDate)) {
5285
+ return false;
5286
+ }
5287
+ }
5288
+ const existing_parentJobDataImportId = existing.parentJobDataImportId;
5289
+ const incoming_parentJobDataImportId = incoming.parentJobDataImportId;
5290
+ // if at least one of these optionals is defined
5291
+ if (existing_parentJobDataImportId !== undefined || incoming_parentJobDataImportId !== undefined) {
5292
+ // if one of these is not defined we know the other is defined and therefore
5293
+ // not equal
5294
+ if (existing_parentJobDataImportId === undefined || incoming_parentJobDataImportId === undefined) {
5295
+ return false;
5296
+ }
5297
+ if (!(existing_parentJobDataImportId === incoming_parentJobDataImportId)) {
5298
+ return false;
5299
+ }
5300
+ }
5301
+ const existing_sourceFilename = existing.sourceFilename;
5302
+ const incoming_sourceFilename = incoming.sourceFilename;
5303
+ // if at least one of these optionals is defined
5304
+ if (existing_sourceFilename !== undefined || incoming_sourceFilename !== undefined) {
5305
+ // if one of these is not defined we know the other is defined and therefore
5306
+ // not equal
5307
+ if (existing_sourceFilename === undefined || incoming_sourceFilename === undefined) {
5308
+ return false;
5309
+ }
5310
+ if (!(existing_sourceFilename === incoming_sourceFilename)) {
5311
+ return false;
5312
+ }
5313
+ }
5314
+ const existing_status = existing.status;
5315
+ const incoming_status = incoming.status;
5316
+ // if at least one of these optionals is defined
5317
+ if (existing_status !== undefined || incoming_status !== undefined) {
5318
+ // if one of these is not defined we know the other is defined and therefore
5319
+ // not equal
5320
+ if (existing_status === undefined || incoming_status === undefined) {
5321
+ return false;
5322
+ }
5323
+ if (!(existing_status === incoming_status)) {
5324
+ return false;
5325
+ }
5326
+ }
5327
+ const existing_successfulResults = existing.successfulResults;
5328
+ const incoming_successfulResults = incoming.successfulResults;
5329
+ // if at least one of these optionals is defined
5330
+ if (existing_successfulResults !== undefined || incoming_successfulResults !== undefined) {
5331
+ // if one of these is not defined we know the other is defined and therefore
5332
+ // not equal
5333
+ if (existing_successfulResults === undefined || incoming_successfulResults === undefined) {
5334
+ return false;
5335
+ }
5336
+ if (!(existing_successfulResults === incoming_successfulResults)) {
5337
+ return false;
5338
+ }
5339
+ }
5340
+ const existing_targetContext = existing.targetContext;
5341
+ const incoming_targetContext = incoming.targetContext;
5342
+ // if at least one of these optionals is defined
5343
+ if (existing_targetContext !== undefined || incoming_targetContext !== undefined) {
5344
+ // if one of these is not defined we know the other is defined and therefore
5345
+ // not equal
5346
+ if (existing_targetContext === undefined || incoming_targetContext === undefined) {
5347
+ return false;
5348
+ }
5349
+ if (!(existing_targetContext === incoming_targetContext)) {
5350
+ return false;
5351
+ }
5352
+ }
5353
+ const existing_usageType = existing.usageType;
5354
+ const incoming_usageType = incoming.usageType;
5355
+ // if at least one of these optionals is defined
5356
+ if (existing_usageType !== undefined || incoming_usageType !== undefined) {
5357
+ // if one of these is not defined we know the other is defined and therefore
5358
+ // not equal
5359
+ if (existing_usageType === undefined || incoming_usageType === undefined) {
5360
+ return false;
5361
+ }
5362
+ if (!(existing_usageType === incoming_usageType)) {
5363
+ return false;
5364
+ }
5365
+ }
5366
+ return true;
5367
+ }
5368
+
5369
+ const VERSION$2 = "9b2a86be3031a66f959c1f745d31daf2";
5370
+ function validate$2(obj, path = 'FileProcessingDetail') {
5371
+ const v_error = (() => {
5372
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5373
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
5374
+ }
5375
+ if (obj.createdDate !== undefined) {
5376
+ const obj_createdDate = obj.createdDate;
5377
+ const path_createdDate = path + '.createdDate';
5378
+ if (typeof obj_createdDate !== 'string') {
5379
+ return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
5380
+ }
5381
+ }
5382
+ if (obj.dataProcessingJobId !== undefined) {
5383
+ const obj_dataProcessingJobId = obj.dataProcessingJobId;
5384
+ const path_dataProcessingJobId = path + '.dataProcessingJobId';
5385
+ if (typeof obj_dataProcessingJobId !== 'string') {
5386
+ return new TypeError('Expected "string" but received "' + typeof obj_dataProcessingJobId + '" (at "' + path_dataProcessingJobId + '")');
5387
+ }
5388
+ }
5389
+ if (obj.dpeBatchJobStatus !== undefined) {
5390
+ const obj_dpeBatchJobStatus = obj.dpeBatchJobStatus;
5391
+ const path_dpeBatchJobStatus = path + '.dpeBatchJobStatus';
5392
+ if (typeof obj_dpeBatchJobStatus !== 'string') {
5393
+ return new TypeError('Expected "string" but received "' + typeof obj_dpeBatchJobStatus + '" (at "' + path_dpeBatchJobStatus + '")');
5394
+ }
5395
+ }
5396
+ if (obj.dpeDeveloperName !== undefined) {
5397
+ const obj_dpeDeveloperName = obj.dpeDeveloperName;
5398
+ const path_dpeDeveloperName = path + '.dpeDeveloperName';
5399
+ if (typeof obj_dpeDeveloperName !== 'string') {
5400
+ return new TypeError('Expected "string" but received "' + typeof obj_dpeDeveloperName + '" (at "' + path_dpeDeveloperName + '")');
5401
+ }
5402
+ }
5403
+ if (obj.dpeMasterLabel !== undefined) {
5404
+ const obj_dpeMasterLabel = obj.dpeMasterLabel;
5405
+ const path_dpeMasterLabel = path + '.dpeMasterLabel';
5406
+ if (typeof obj_dpeMasterLabel !== 'string') {
5407
+ return new TypeError('Expected "string" but received "' + typeof obj_dpeMasterLabel + '" (at "' + path_dpeMasterLabel + '")');
5408
+ }
5409
+ }
5410
+ if (obj.dpeProcessingSequenceNumber !== undefined) {
5411
+ const obj_dpeProcessingSequenceNumber = obj.dpeProcessingSequenceNumber;
5412
+ const path_dpeProcessingSequenceNumber = path + '.dpeProcessingSequenceNumber';
5413
+ if (typeof obj_dpeProcessingSequenceNumber !== 'string') {
5414
+ return new TypeError('Expected "string" but received "' + typeof obj_dpeProcessingSequenceNumber + '" (at "' + path_dpeProcessingSequenceNumber + '")');
5415
+ }
5416
+ }
5417
+ if (obj.fileBasedDataImports !== undefined) {
5418
+ const obj_fileBasedDataImports = obj.fileBasedDataImports;
5419
+ const path_fileBasedDataImports = path + '.fileBasedDataImports';
5420
+ if (!ArrayIsArray(obj_fileBasedDataImports)) {
5421
+ return new TypeError('Expected "array" but received "' + typeof obj_fileBasedDataImports + '" (at "' + path_fileBasedDataImports + '")');
5422
+ }
5423
+ for (let i = 0; i < obj_fileBasedDataImports.length; i++) {
5424
+ const obj_fileBasedDataImports_item = obj_fileBasedDataImports[i];
5425
+ const path_fileBasedDataImports_item = path_fileBasedDataImports + '[' + i + ']';
5426
+ const referencepath_fileBasedDataImports_itemValidationError = validate$3(obj_fileBasedDataImports_item, path_fileBasedDataImports_item);
5427
+ if (referencepath_fileBasedDataImports_itemValidationError !== null) {
5428
+ let message = 'Object doesn\'t match FileBasedDataImport (at "' + path_fileBasedDataImports_item + '")\n';
5429
+ message += referencepath_fileBasedDataImports_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
5430
+ return new TypeError(message);
5431
+ }
5432
+ }
5433
+ }
5434
+ if (obj.fileProcessingDetailId !== undefined) {
5435
+ const obj_fileProcessingDetailId = obj.fileProcessingDetailId;
5436
+ const path_fileProcessingDetailId = path + '.fileProcessingDetailId';
5437
+ if (typeof obj_fileProcessingDetailId !== 'string') {
5438
+ return new TypeError('Expected "string" but received "' + typeof obj_fileProcessingDetailId + '" (at "' + path_fileProcessingDetailId + '")');
5439
+ }
5440
+ }
5441
+ if (obj.lastModifiedDate !== undefined) {
5442
+ const obj_lastModifiedDate = obj.lastModifiedDate;
5443
+ const path_lastModifiedDate = path + '.lastModifiedDate';
5444
+ if (typeof obj_lastModifiedDate !== 'string') {
5445
+ return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
5446
+ }
5447
+ }
5448
+ if (obj.processRunIdentifierId !== undefined) {
5449
+ const obj_processRunIdentifierId = obj.processRunIdentifierId;
5450
+ const path_processRunIdentifierId = path + '.processRunIdentifierId';
5451
+ if (typeof obj_processRunIdentifierId !== 'string') {
5452
+ return new TypeError('Expected "string" but received "' + typeof obj_processRunIdentifierId + '" (at "' + path_processRunIdentifierId + '")');
5453
+ }
5454
+ }
5455
+ if (obj.processingType !== undefined) {
5456
+ const obj_processingType = obj.processingType;
5457
+ const path_processingType = path + '.processingType';
5458
+ if (typeof obj_processingType !== 'string') {
5459
+ return new TypeError('Expected "string" but received "' + typeof obj_processingType + '" (at "' + path_processingType + '")');
5460
+ }
5461
+ }
5462
+ })();
5463
+ return v_error === undefined ? null : v_error;
5464
+ }
5465
+ const select$3 = function FileProcessingDetailSelect() {
5466
+ const { selections: FileBasedDataImport__selections, opaque: FileBasedDataImport__opaque, } = select$4();
5467
+ return {
5468
+ kind: 'Fragment',
5469
+ version: VERSION$2,
5470
+ private: [],
5471
+ selections: [
5472
+ {
5473
+ name: 'createdDate',
5474
+ kind: 'Scalar',
5475
+ required: false
5476
+ },
5477
+ {
5478
+ name: 'dataProcessingJobId',
5479
+ kind: 'Scalar',
5480
+ required: false
5481
+ },
5482
+ {
5483
+ name: 'dpeBatchJobStatus',
5484
+ kind: 'Scalar',
5485
+ required: false
5486
+ },
5487
+ {
5488
+ name: 'dpeDeveloperName',
5489
+ kind: 'Scalar',
5490
+ required: false
5491
+ },
5492
+ {
5493
+ name: 'dpeMasterLabel',
5494
+ kind: 'Scalar',
5495
+ required: false
5496
+ },
5497
+ {
5498
+ name: 'dpeProcessingSequenceNumber',
5499
+ kind: 'Scalar',
5500
+ required: false
5501
+ },
5502
+ {
5503
+ name: 'fileBasedDataImports',
5504
+ kind: 'Object',
5505
+ plural: true,
5506
+ selections: FileBasedDataImport__selections,
5507
+ required: false
5508
+ },
5509
+ {
5510
+ name: 'fileProcessingDetailId',
5511
+ kind: 'Scalar',
5512
+ required: false
5513
+ },
5514
+ {
5515
+ name: 'lastModifiedDate',
5516
+ kind: 'Scalar',
5517
+ required: false
5518
+ },
5519
+ {
5520
+ name: 'processRunIdentifierId',
5521
+ kind: 'Scalar',
5522
+ required: false
5523
+ },
5524
+ {
5525
+ name: 'processingType',
5526
+ kind: 'Scalar',
5527
+ required: false
5528
+ }
5529
+ ]
5530
+ };
5531
+ };
5532
+ function equals$2(existing, incoming) {
5533
+ const existing_createdDate = existing.createdDate;
5534
+ const incoming_createdDate = incoming.createdDate;
5535
+ // if at least one of these optionals is defined
5536
+ if (existing_createdDate !== undefined || incoming_createdDate !== undefined) {
5537
+ // if one of these is not defined we know the other is defined and therefore
5538
+ // not equal
5539
+ if (existing_createdDate === undefined || incoming_createdDate === undefined) {
5540
+ return false;
5541
+ }
5542
+ if (!(existing_createdDate === incoming_createdDate)) {
5543
+ return false;
5544
+ }
5545
+ }
5546
+ const existing_dataProcessingJobId = existing.dataProcessingJobId;
5547
+ const incoming_dataProcessingJobId = incoming.dataProcessingJobId;
5548
+ // if at least one of these optionals is defined
5549
+ if (existing_dataProcessingJobId !== undefined || incoming_dataProcessingJobId !== undefined) {
5550
+ // if one of these is not defined we know the other is defined and therefore
5551
+ // not equal
5552
+ if (existing_dataProcessingJobId === undefined || incoming_dataProcessingJobId === undefined) {
5553
+ return false;
5554
+ }
5555
+ if (!(existing_dataProcessingJobId === incoming_dataProcessingJobId)) {
5556
+ return false;
5557
+ }
5558
+ }
5559
+ const existing_dpeBatchJobStatus = existing.dpeBatchJobStatus;
5560
+ const incoming_dpeBatchJobStatus = incoming.dpeBatchJobStatus;
5561
+ // if at least one of these optionals is defined
5562
+ if (existing_dpeBatchJobStatus !== undefined || incoming_dpeBatchJobStatus !== undefined) {
5563
+ // if one of these is not defined we know the other is defined and therefore
5564
+ // not equal
5565
+ if (existing_dpeBatchJobStatus === undefined || incoming_dpeBatchJobStatus === undefined) {
5566
+ return false;
5567
+ }
5568
+ if (!(existing_dpeBatchJobStatus === incoming_dpeBatchJobStatus)) {
5569
+ return false;
5570
+ }
5571
+ }
5572
+ const existing_dpeDeveloperName = existing.dpeDeveloperName;
5573
+ const incoming_dpeDeveloperName = incoming.dpeDeveloperName;
5574
+ // if at least one of these optionals is defined
5575
+ if (existing_dpeDeveloperName !== undefined || incoming_dpeDeveloperName !== undefined) {
5576
+ // if one of these is not defined we know the other is defined and therefore
5577
+ // not equal
5578
+ if (existing_dpeDeveloperName === undefined || incoming_dpeDeveloperName === undefined) {
5579
+ return false;
5580
+ }
5581
+ if (!(existing_dpeDeveloperName === incoming_dpeDeveloperName)) {
5582
+ return false;
5583
+ }
5584
+ }
5585
+ const existing_dpeMasterLabel = existing.dpeMasterLabel;
5586
+ const incoming_dpeMasterLabel = incoming.dpeMasterLabel;
5587
+ // if at least one of these optionals is defined
5588
+ if (existing_dpeMasterLabel !== undefined || incoming_dpeMasterLabel !== undefined) {
5589
+ // if one of these is not defined we know the other is defined and therefore
5590
+ // not equal
5591
+ if (existing_dpeMasterLabel === undefined || incoming_dpeMasterLabel === undefined) {
5592
+ return false;
5593
+ }
5594
+ if (!(existing_dpeMasterLabel === incoming_dpeMasterLabel)) {
5595
+ return false;
5596
+ }
5597
+ }
5598
+ const existing_dpeProcessingSequenceNumber = existing.dpeProcessingSequenceNumber;
5599
+ const incoming_dpeProcessingSequenceNumber = incoming.dpeProcessingSequenceNumber;
5600
+ // if at least one of these optionals is defined
5601
+ if (existing_dpeProcessingSequenceNumber !== undefined || incoming_dpeProcessingSequenceNumber !== undefined) {
5602
+ // if one of these is not defined we know the other is defined and therefore
5603
+ // not equal
5604
+ if (existing_dpeProcessingSequenceNumber === undefined || incoming_dpeProcessingSequenceNumber === undefined) {
5605
+ return false;
5606
+ }
5607
+ if (!(existing_dpeProcessingSequenceNumber === incoming_dpeProcessingSequenceNumber)) {
5608
+ return false;
5609
+ }
5610
+ }
5611
+ const existing_fileProcessingDetailId = existing.fileProcessingDetailId;
5612
+ const incoming_fileProcessingDetailId = incoming.fileProcessingDetailId;
5613
+ // if at least one of these optionals is defined
5614
+ if (existing_fileProcessingDetailId !== undefined || incoming_fileProcessingDetailId !== undefined) {
5615
+ // if one of these is not defined we know the other is defined and therefore
5616
+ // not equal
5617
+ if (existing_fileProcessingDetailId === undefined || incoming_fileProcessingDetailId === undefined) {
5618
+ return false;
5619
+ }
5620
+ if (!(existing_fileProcessingDetailId === incoming_fileProcessingDetailId)) {
5621
+ return false;
5622
+ }
5623
+ }
5624
+ const existing_lastModifiedDate = existing.lastModifiedDate;
5625
+ const incoming_lastModifiedDate = incoming.lastModifiedDate;
5626
+ // if at least one of these optionals is defined
5627
+ if (existing_lastModifiedDate !== undefined || incoming_lastModifiedDate !== undefined) {
5628
+ // if one of these is not defined we know the other is defined and therefore
5629
+ // not equal
5630
+ if (existing_lastModifiedDate === undefined || incoming_lastModifiedDate === undefined) {
5631
+ return false;
5632
+ }
5633
+ if (!(existing_lastModifiedDate === incoming_lastModifiedDate)) {
5634
+ return false;
5635
+ }
5636
+ }
5637
+ const existing_processRunIdentifierId = existing.processRunIdentifierId;
5638
+ const incoming_processRunIdentifierId = incoming.processRunIdentifierId;
5639
+ // if at least one of these optionals is defined
5640
+ if (existing_processRunIdentifierId !== undefined || incoming_processRunIdentifierId !== undefined) {
5641
+ // if one of these is not defined we know the other is defined and therefore
5642
+ // not equal
5643
+ if (existing_processRunIdentifierId === undefined || incoming_processRunIdentifierId === undefined) {
5644
+ return false;
5645
+ }
5646
+ if (!(existing_processRunIdentifierId === incoming_processRunIdentifierId)) {
5647
+ return false;
5648
+ }
5649
+ }
5650
+ const existing_processingType = existing.processingType;
5651
+ const incoming_processingType = incoming.processingType;
5652
+ // if at least one of these optionals is defined
5653
+ if (existing_processingType !== undefined || incoming_processingType !== undefined) {
5654
+ // if one of these is not defined we know the other is defined and therefore
5655
+ // not equal
5656
+ if (existing_processingType === undefined || incoming_processingType === undefined) {
5657
+ return false;
5658
+ }
5659
+ if (!(existing_processingType === incoming_processingType)) {
5660
+ return false;
5661
+ }
5662
+ }
5663
+ const existing_fileBasedDataImports = existing.fileBasedDataImports;
5664
+ const incoming_fileBasedDataImports = incoming.fileBasedDataImports;
5665
+ // if at least one of these optionals is defined
5666
+ if (existing_fileBasedDataImports !== undefined || incoming_fileBasedDataImports !== undefined) {
5667
+ // if one of these is not defined we know the other is defined and therefore
5668
+ // not equal
5669
+ if (existing_fileBasedDataImports === undefined || incoming_fileBasedDataImports === undefined) {
5670
+ return false;
5671
+ }
5672
+ const equals_fileBasedDataImports_items = equalsArray(existing_fileBasedDataImports, incoming_fileBasedDataImports, (existing_fileBasedDataImports_item, incoming_fileBasedDataImports_item) => {
5673
+ if (!(equals$3(existing_fileBasedDataImports_item, incoming_fileBasedDataImports_item))) {
5674
+ return false;
5675
+ }
5676
+ });
5677
+ if (equals_fileBasedDataImports_items === false) {
5678
+ return false;
5679
+ }
5680
+ }
5681
+ return true;
5682
+ }
5683
+
5684
+ const VERSION$1 = "d0b9098aeb377320a059918cd81053f0";
5685
+ function validate$1(obj, path = 'FlatDataInformation') {
5686
+ const v_error = (() => {
5687
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5688
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
5689
+ }
5690
+ if (obj.fileProcessingDetails !== undefined) {
5691
+ const obj_fileProcessingDetails = obj.fileProcessingDetails;
5692
+ const path_fileProcessingDetails = path + '.fileProcessingDetails';
5693
+ if (!ArrayIsArray(obj_fileProcessingDetails)) {
5694
+ return new TypeError('Expected "array" but received "' + typeof obj_fileProcessingDetails + '" (at "' + path_fileProcessingDetails + '")');
5695
+ }
5696
+ for (let i = 0; i < obj_fileProcessingDetails.length; i++) {
5697
+ const obj_fileProcessingDetails_item = obj_fileProcessingDetails[i];
5698
+ const path_fileProcessingDetails_item = path_fileProcessingDetails + '[' + i + ']';
5699
+ const referencepath_fileProcessingDetails_itemValidationError = validate$2(obj_fileProcessingDetails_item, path_fileProcessingDetails_item);
5700
+ if (referencepath_fileProcessingDetails_itemValidationError !== null) {
5701
+ let message = 'Object doesn\'t match FileProcessingDetail (at "' + path_fileProcessingDetails_item + '")\n';
5702
+ message += referencepath_fileProcessingDetails_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
5703
+ return new TypeError(message);
5704
+ }
5705
+ }
5706
+ }
5707
+ if (obj.flatDataInformationId !== undefined) {
5708
+ const obj_flatDataInformationId = obj.flatDataInformationId;
5709
+ const path_flatDataInformationId = path + '.flatDataInformationId';
5710
+ if (typeof obj_flatDataInformationId !== 'string') {
5711
+ return new TypeError('Expected "string" but received "' + typeof obj_flatDataInformationId + '" (at "' + path_flatDataInformationId + '")');
5712
+ }
5713
+ }
5714
+ if (obj.sourceFileName !== undefined) {
5715
+ const obj_sourceFileName = obj.sourceFileName;
5716
+ const path_sourceFileName = path + '.sourceFileName';
5717
+ if (typeof obj_sourceFileName !== 'string') {
5718
+ return new TypeError('Expected "string" but received "' + typeof obj_sourceFileName + '" (at "' + path_sourceFileName + '")');
5719
+ }
5720
+ }
5721
+ })();
5722
+ return v_error === undefined ? null : v_error;
5723
+ }
5724
+ const select$2 = function FlatDataInformationSelect() {
5725
+ const { selections: FileProcessingDetail__selections, opaque: FileProcessingDetail__opaque, } = select$3();
5726
+ return {
5727
+ kind: 'Fragment',
5728
+ version: VERSION$1,
5729
+ private: [],
5730
+ selections: [
5731
+ {
5732
+ name: 'fileProcessingDetails',
5733
+ kind: 'Object',
5734
+ plural: true,
5735
+ selections: FileProcessingDetail__selections,
5736
+ required: false
5737
+ },
5738
+ {
5739
+ name: 'flatDataInformationId',
5740
+ kind: 'Scalar',
5741
+ required: false
5742
+ },
5743
+ {
5744
+ name: 'sourceFileName',
5745
+ kind: 'Scalar',
5746
+ required: false
5747
+ }
5748
+ ]
5749
+ };
5750
+ };
5751
+ function equals$1(existing, incoming) {
5752
+ const existing_flatDataInformationId = existing.flatDataInformationId;
5753
+ const incoming_flatDataInformationId = incoming.flatDataInformationId;
5754
+ // if at least one of these optionals is defined
5755
+ if (existing_flatDataInformationId !== undefined || incoming_flatDataInformationId !== undefined) {
5756
+ // if one of these is not defined we know the other is defined and therefore
5757
+ // not equal
5758
+ if (existing_flatDataInformationId === undefined || incoming_flatDataInformationId === undefined) {
5759
+ return false;
5760
+ }
5761
+ if (!(existing_flatDataInformationId === incoming_flatDataInformationId)) {
5762
+ return false;
5763
+ }
5764
+ }
5765
+ const existing_sourceFileName = existing.sourceFileName;
5766
+ const incoming_sourceFileName = incoming.sourceFileName;
5767
+ // if at least one of these optionals is defined
5768
+ if (existing_sourceFileName !== undefined || incoming_sourceFileName !== undefined) {
5769
+ // if one of these is not defined we know the other is defined and therefore
5770
+ // not equal
5771
+ if (existing_sourceFileName === undefined || incoming_sourceFileName === undefined) {
5772
+ return false;
5773
+ }
5774
+ if (!(existing_sourceFileName === incoming_sourceFileName)) {
5775
+ return false;
5776
+ }
5777
+ }
5778
+ const existing_fileProcessingDetails = existing.fileProcessingDetails;
5779
+ const incoming_fileProcessingDetails = incoming.fileProcessingDetails;
5780
+ // if at least one of these optionals is defined
5781
+ if (existing_fileProcessingDetails !== undefined || incoming_fileProcessingDetails !== undefined) {
5782
+ // if one of these is not defined we know the other is defined and therefore
5783
+ // not equal
5784
+ if (existing_fileProcessingDetails === undefined || incoming_fileProcessingDetails === undefined) {
5785
+ return false;
5786
+ }
5787
+ const equals_fileProcessingDetails_items = equalsArray(existing_fileProcessingDetails, incoming_fileProcessingDetails, (existing_fileProcessingDetails_item, incoming_fileProcessingDetails_item) => {
5788
+ if (!(equals$2(existing_fileProcessingDetails_item, incoming_fileProcessingDetails_item))) {
5789
+ return false;
5790
+ }
5791
+ });
5792
+ if (equals_fileProcessingDetails_items === false) {
5793
+ return false;
5794
+ }
5795
+ }
5796
+ return true;
5797
+ }
5798
+
5799
+ const VERSION = "efe637921a1b76e8cff83d3a1c232a92";
5800
+ function validate(obj, path = 'FlatDataProcessInformationRepresentation') {
5801
+ const v_error = (() => {
5802
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5803
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
5804
+ }
5805
+ const obj_code = obj.code;
5806
+ const path_code = path + '.code';
5807
+ if (typeof obj_code !== 'string') {
5808
+ return new TypeError('Expected "string" but received "' + typeof obj_code + '" (at "' + path_code + '")');
5809
+ }
5810
+ if (obj.flatDataInformations !== undefined) {
5811
+ const obj_flatDataInformations = obj.flatDataInformations;
5812
+ const path_flatDataInformations = path + '.flatDataInformations';
5813
+ if (!ArrayIsArray(obj_flatDataInformations)) {
5814
+ return new TypeError('Expected "array" but received "' + typeof obj_flatDataInformations + '" (at "' + path_flatDataInformations + '")');
5815
+ }
5816
+ for (let i = 0; i < obj_flatDataInformations.length; i++) {
5817
+ const obj_flatDataInformations_item = obj_flatDataInformations[i];
5818
+ const path_flatDataInformations_item = path_flatDataInformations + '[' + i + ']';
5819
+ const referencepath_flatDataInformations_itemValidationError = validate$1(obj_flatDataInformations_item, path_flatDataInformations_item);
5820
+ if (referencepath_flatDataInformations_itemValidationError !== null) {
5821
+ let message = 'Object doesn\'t match FlatDataInformation (at "' + path_flatDataInformations_item + '")\n';
5822
+ message += referencepath_flatDataInformations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
5823
+ return new TypeError(message);
5824
+ }
5825
+ }
5826
+ }
5827
+ const obj_message = obj.message;
5828
+ const path_message = path + '.message';
5829
+ if (typeof obj_message !== 'string') {
5830
+ return new TypeError('Expected "string" but received "' + typeof obj_message + '" (at "' + path_message + '")');
5831
+ }
5832
+ })();
5833
+ return v_error === undefined ? null : v_error;
5834
+ }
5835
+ const RepresentationType = 'FlatDataProcessInformationRepresentation';
5836
+ function normalize(input, existing, path, luvio, store, timestamp) {
5837
+ return input;
5838
+ }
5839
+ const select$1 = function FlatDataProcessInformationRepresentationSelect() {
5840
+ const { selections: FlatDataInformation__selections, opaque: FlatDataInformation__opaque, } = select$2();
5841
+ return {
5842
+ kind: 'Fragment',
5843
+ version: VERSION,
5844
+ private: [],
5845
+ selections: [
5846
+ {
5847
+ name: 'code',
5848
+ kind: 'Scalar'
5849
+ },
5850
+ {
5851
+ name: 'flatDataInformations',
5852
+ kind: 'Object',
5853
+ plural: true,
5854
+ selections: FlatDataInformation__selections,
5855
+ required: false
5856
+ },
5857
+ {
5858
+ name: 'message',
5859
+ kind: 'Scalar'
5860
+ }
5861
+ ]
5862
+ };
5863
+ };
5864
+ function equals(existing, incoming) {
5865
+ const existing_code = existing.code;
5866
+ const incoming_code = incoming.code;
5867
+ if (!(existing_code === incoming_code)) {
5868
+ return false;
5869
+ }
5870
+ const existing_message = existing.message;
5871
+ const incoming_message = incoming.message;
5872
+ if (!(existing_message === incoming_message)) {
5873
+ return false;
5874
+ }
5875
+ const existing_flatDataInformations = existing.flatDataInformations;
5876
+ const incoming_flatDataInformations = incoming.flatDataInformations;
5877
+ // if at least one of these optionals is defined
5878
+ if (existing_flatDataInformations !== undefined || incoming_flatDataInformations !== undefined) {
5879
+ // if one of these is not defined we know the other is defined and therefore
5880
+ // not equal
5881
+ if (existing_flatDataInformations === undefined || incoming_flatDataInformations === undefined) {
5882
+ return false;
5883
+ }
5884
+ const equals_flatDataInformations_items = equalsArray(existing_flatDataInformations, incoming_flatDataInformations, (existing_flatDataInformations_item, incoming_flatDataInformations_item) => {
5885
+ if (!(equals$1(existing_flatDataInformations_item, incoming_flatDataInformations_item))) {
5886
+ return false;
5887
+ }
5888
+ });
5889
+ if (equals_flatDataInformations_items === false) {
5890
+ return false;
5891
+ }
5892
+ }
5893
+ return true;
5894
+ }
5895
+ const ingest = function FlatDataProcessInformationRepresentationIngest(input, path, luvio, store, timestamp) {
5896
+ if (process.env.NODE_ENV !== 'production') {
5897
+ const validateError = validate(input);
5898
+ if (validateError !== null) {
5899
+ throw validateError;
5900
+ }
5901
+ }
5902
+ const key = path.fullPath;
5903
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 500;
5904
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize, "healthcloud", VERSION, RepresentationType, equals);
5905
+ return createLink(key);
5906
+ };
5907
+ function getTypeCacheKeys(rootKeySet, luvio, input, fullPathFactory) {
5908
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
5909
+ const rootKey = fullPathFactory();
5910
+ rootKeySet.set(rootKey, {
5911
+ namespace: keyPrefix,
5912
+ representationName: RepresentationType,
5913
+ mergeable: false
5914
+ });
5915
+ }
5916
+
5917
+ function select(luvio, params) {
5918
+ return select$1();
5919
+ }
5920
+ function keyBuilder$1(luvio, params) {
5921
+ return keyPrefix + '::FlatDataProcessInformationRepresentation:(' + 'flatDataInformationIds:' + params.queryParams.flatDataInformationIds + ')';
5922
+ }
5923
+ function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
5924
+ getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$1(luvio, resourceParams));
5925
+ }
5926
+ function ingestSuccess(luvio, resourceParams, response, snapshotRefresh) {
5927
+ const { body } = response;
5928
+ const key = keyBuilder$1(luvio, resourceParams);
5929
+ luvio.storeIngest(key, ingest, body);
5930
+ const snapshot = luvio.storeLookup({
5931
+ recordId: key,
5932
+ node: select(),
5933
+ variables: {},
5934
+ }, snapshotRefresh);
5935
+ if (process.env.NODE_ENV !== 'production') {
5936
+ if (snapshot.state !== 'Fulfilled') {
5937
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
5938
+ }
5939
+ }
5940
+ deepFreeze(snapshot.data);
5941
+ return snapshot;
5942
+ }
5943
+ function ingestError(luvio, params, error, snapshotRefresh) {
5944
+ const key = keyBuilder$1(luvio, params);
5945
+ const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
5946
+ luvio.storeIngestError(key, errorSnapshot);
5947
+ return errorSnapshot;
5948
+ }
5949
+ function createResourceRequest(config) {
5950
+ const headers = {};
5951
+ return {
5952
+ baseUri: '/services/data/v62.0',
5953
+ basePath: '/connect/health/provider-network-management/flat-data-process-information',
5954
+ method: 'get',
5955
+ body: null,
5956
+ urlParams: {},
5957
+ queryParams: config.queryParams,
5958
+ headers,
5959
+ priority: 'normal',
5960
+ };
5961
+ }
5962
+
5963
+ const adapterName = 'getFlatDataProcessInformation';
5964
+ const getFlatDataProcessInformation_ConfigPropertyMetadata = [
5965
+ generateParamConfigMetadata('flatDataInformationIds', false, 1 /* QueryParameter */, 0 /* String */),
5966
+ ];
5967
+ const getFlatDataProcessInformation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, getFlatDataProcessInformation_ConfigPropertyMetadata);
5968
+ const createResourceParams = /*#__PURE__*/ createResourceParams$h(getFlatDataProcessInformation_ConfigPropertyMetadata);
5969
+ function keyBuilder(luvio, config) {
5970
+ const resourceParams = createResourceParams(config);
5971
+ return keyBuilder$1(luvio, resourceParams);
5972
+ }
5973
+ function typeCheckConfig(untrustedConfig) {
5974
+ const config = {};
5975
+ typeCheckConfig$h(untrustedConfig, config, getFlatDataProcessInformation_ConfigPropertyMetadata);
5976
+ return config;
5977
+ }
5978
+ function validateAdapterConfig(untrustedConfig, configPropertyNames) {
5979
+ if (!untrustedIsObject(untrustedConfig)) {
5980
+ return null;
5981
+ }
5982
+ if (process.env.NODE_ENV !== 'production') {
5983
+ validateConfig(untrustedConfig, configPropertyNames);
5984
+ }
5985
+ const config = typeCheckConfig(untrustedConfig);
5986
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
5987
+ return null;
5988
+ }
5989
+ return config;
5990
+ }
5991
+ function adapterFragment(luvio, config) {
5992
+ createResourceParams(config);
5993
+ return select();
5994
+ }
5995
+ function onFetchResponseSuccess(luvio, config, resourceParams, response) {
5996
+ const snapshot = ingestSuccess(luvio, resourceParams, response, {
5997
+ config,
5998
+ resolve: () => buildNetworkSnapshot(luvio, config, snapshotRefreshOptions)
5999
+ });
6000
+ return luvio.storeBroadcast().then(() => snapshot);
6001
+ }
6002
+ function onFetchResponseError(luvio, config, resourceParams, response) {
6003
+ const snapshot = ingestError(luvio, resourceParams, response, {
6004
+ config,
6005
+ resolve: () => buildNetworkSnapshot(luvio, config, snapshotRefreshOptions)
6006
+ });
6007
+ return luvio.storeBroadcast().then(() => snapshot);
6008
+ }
6009
+ function buildNetworkSnapshot(luvio, config, options) {
6010
+ const resourceParams = createResourceParams(config);
6011
+ const request = createResourceRequest(resourceParams);
6012
+ return luvio.dispatchResourceRequest(request, options)
6013
+ .then((response) => {
6014
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess(luvio, config, resourceParams, response), () => {
6015
+ const cache = new StoreKeyMap();
6016
+ getResponseCacheKeys(cache, luvio, resourceParams, response.body);
6017
+ return cache;
6018
+ });
6019
+ }, (response) => {
6020
+ return luvio.handleErrorResponse(() => onFetchResponseError(luvio, config, resourceParams, response));
6021
+ });
6022
+ }
6023
+ function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
6024
+ return buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext, buildNetworkSnapshot, undefined, false);
6025
+ }
6026
+ function buildCachedSnapshotCachePolicy(context, storeLookup) {
6027
+ const { luvio, config } = context;
6028
+ const selector = {
6029
+ recordId: keyBuilder(luvio, config),
6030
+ node: adapterFragment(luvio, config),
6031
+ variables: {},
6032
+ };
6033
+ const cacheSnapshot = storeLookup(selector, {
6034
+ config,
6035
+ resolve: () => buildNetworkSnapshot(luvio, config, snapshotRefreshOptions)
6036
+ });
6037
+ return cacheSnapshot;
6038
+ }
6039
+ const getFlatDataProcessInformationAdapterFactory = (luvio) => function healthcloud__getFlatDataProcessInformation(untrustedConfig, requestContext) {
6040
+ const config = validateAdapterConfig(untrustedConfig, getFlatDataProcessInformation_ConfigPropertyNames);
6041
+ // Invalid or incomplete config
6042
+ if (config === null) {
6043
+ return null;
6044
+ }
6045
+ return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
6046
+ buildCachedSnapshotCachePolicy, buildNetworkSnapshotCachePolicy);
6047
+ };
6048
+
6049
+ export { bookSlotChainAdapterFactory, broadcastVisitAssignmentAdapterFactory, cancelSlotChainAdapterFactory, createVisitBroadcastAdapterFactory, digitalVerificationAdapterFactory, genericConnectApiGETAdapterFactory, genericConnectApiPOSTAdapterFactory, getEntityDetailsInfoAdapterFactory, getFlatDataProcessInformationAdapterFactory, getQuotasAndAllocationAdapterFactory, getSlotChainsAdapterFactory, getSlotsAdapterFactory, getWorkTypeServiceTerritoriesAdapterFactory, moveToNextStepAdapterFactory, rescheduleSlotChainAdapterFactory, validateSlotChainAdapterFactory, workTypeLeadTimeAdapterFactory };