@salesforce/lds-adapters-industries-scheduler 1.278.0 → 1.280.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (19) hide show
  1. package/dist/es/es2018/industries-scheduler.js +1331 -299
  2. package/dist/es/es2018/types/src/generated/adapters/getAppointmentFromToken.d.ts +27 -0
  3. package/dist/es/es2018/types/src/generated/adapters/getGroupAppointments.d.ts +36 -0
  4. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +2 -0
  5. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +5 -1
  6. package/dist/es/es2018/types/src/generated/resources/getConnectSchedulingAppointmentFromToken.d.ts +15 -0
  7. package/dist/es/es2018/types/src/generated/resources/postConnectSchedulingGroupAppointments.d.ts +24 -0
  8. package/dist/es/es2018/types/src/generated/types/AppointmentFromTokenInputRepresentation.d.ts +28 -0
  9. package/dist/es/es2018/types/src/generated/types/GetAppointmentFromTokenOutputRepresentation.d.ts +28 -0
  10. package/dist/es/es2018/types/src/generated/types/GetAppointmentFromTokenResult.d.ts +34 -0
  11. package/dist/es/es2018/types/src/generated/types/GetGroupAppointmentsInputRepresentation.d.ts +55 -0
  12. package/dist/es/es2018/types/src/generated/types/GetGroupAppointmentsListResult.d.ts +29 -0
  13. package/dist/es/es2018/types/src/generated/types/GetGroupAppointmentsOutputRepresentation.d.ts +29 -0
  14. package/dist/es/es2018/types/src/generated/types/GroupAppointmentResult.d.ts +59 -0
  15. package/dist/es/es2018/types/src/generated/types/ServiceAppointmentRepresentation.d.ts +58 -0
  16. package/package.json +4 -4
  17. package/sfdc/index.js +1452 -398
  18. package/src/raml/api.raml +216 -0
  19. package/src/raml/luvio.raml +10 -0
@@ -4,7 +4,7 @@
4
4
  * For full license text, see the LICENSE.txt file
5
5
  */
6
6
 
7
- import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$6, typeCheckConfig as typeCheckConfig$c, StoreKeyMap, createResourceParams as createResourceParams$c } from '@luvio/engine';
7
+ import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$8, typeCheckConfig as typeCheckConfig$e, StoreKeyMap, createResourceParams as createResourceParams$e } from '@luvio/engine';
8
8
 
9
9
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
10
10
  const { keys: ObjectKeys, create: ObjectCreate } = Object;
@@ -91,8 +91,451 @@ function createLink(ref) {
91
91
  };
92
92
  }
93
93
 
94
- const VERSION$v = "745ed19773bc6307c6816a6d100b0cbe";
95
- function validate$z(obj, path = 'GetEngagementChannelTypeResult') {
94
+ const VERSION$B = "634dc06358471b779c123191ac182d64";
95
+ function validate$F(obj, path = 'ServiceAppointmentRepresentation') {
96
+ const v_error = (() => {
97
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
98
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
99
+ }
100
+ const obj_appointmentType = obj.appointmentType;
101
+ const path_appointmentType = path + '.appointmentType';
102
+ if (typeof obj_appointmentType !== 'string') {
103
+ return new TypeError('Expected "string" but received "' + typeof obj_appointmentType + '" (at "' + path_appointmentType + '")');
104
+ }
105
+ const obj_engagementChannelTypeId = obj.engagementChannelTypeId;
106
+ const path_engagementChannelTypeId = path + '.engagementChannelTypeId';
107
+ if (typeof obj_engagementChannelTypeId !== 'string') {
108
+ return new TypeError('Expected "string" but received "' + typeof obj_engagementChannelTypeId + '" (at "' + path_engagementChannelTypeId + '")');
109
+ }
110
+ const obj_id = obj.id;
111
+ const path_id = path + '.id';
112
+ if (typeof obj_id !== 'string') {
113
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
114
+ }
115
+ const obj_isAnonymousBooking = obj.isAnonymousBooking;
116
+ const path_isAnonymousBooking = path + '.isAnonymousBooking';
117
+ if (typeof obj_isAnonymousBooking !== 'boolean') {
118
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isAnonymousBooking + '" (at "' + path_isAnonymousBooking + '")');
119
+ }
120
+ const obj_parentRecordId = obj.parentRecordId;
121
+ const path_parentRecordId = path + '.parentRecordId';
122
+ if (typeof obj_parentRecordId !== 'string') {
123
+ return new TypeError('Expected "string" but received "' + typeof obj_parentRecordId + '" (at "' + path_parentRecordId + '")');
124
+ }
125
+ const obj_schedEndTime = obj.schedEndTime;
126
+ const path_schedEndTime = path + '.schedEndTime';
127
+ if (typeof obj_schedEndTime !== 'string') {
128
+ return new TypeError('Expected "string" but received "' + typeof obj_schedEndTime + '" (at "' + path_schedEndTime + '")');
129
+ }
130
+ const obj_schedStartTime = obj.schedStartTime;
131
+ const path_schedStartTime = path + '.schedStartTime';
132
+ if (typeof obj_schedStartTime !== 'string') {
133
+ return new TypeError('Expected "string" but received "' + typeof obj_schedStartTime + '" (at "' + path_schedStartTime + '")');
134
+ }
135
+ const obj_serviceTerritoryId = obj.serviceTerritoryId;
136
+ const path_serviceTerritoryId = path + '.serviceTerritoryId';
137
+ if (typeof obj_serviceTerritoryId !== 'string') {
138
+ return new TypeError('Expected "string" but received "' + typeof obj_serviceTerritoryId + '" (at "' + path_serviceTerritoryId + '")');
139
+ }
140
+ const obj_status = obj.status;
141
+ const path_status = path + '.status';
142
+ if (typeof obj_status !== 'string') {
143
+ return new TypeError('Expected "string" but received "' + typeof obj_status + '" (at "' + path_status + '")');
144
+ }
145
+ const obj_statusCategory = obj.statusCategory;
146
+ const path_statusCategory = path + '.statusCategory';
147
+ if (typeof obj_statusCategory !== 'string') {
148
+ return new TypeError('Expected "string" but received "' + typeof obj_statusCategory + '" (at "' + path_statusCategory + '")');
149
+ }
150
+ const obj_workTypeId = obj.workTypeId;
151
+ const path_workTypeId = path + '.workTypeId';
152
+ if (typeof obj_workTypeId !== 'string') {
153
+ return new TypeError('Expected "string" but received "' + typeof obj_workTypeId + '" (at "' + path_workTypeId + '")');
154
+ }
155
+ })();
156
+ return v_error === undefined ? null : v_error;
157
+ }
158
+ const select$P = function ServiceAppointmentRepresentationSelect() {
159
+ return {
160
+ kind: 'Fragment',
161
+ version: VERSION$B,
162
+ private: [],
163
+ selections: [
164
+ {
165
+ name: 'appointmentType',
166
+ kind: 'Scalar'
167
+ },
168
+ {
169
+ name: 'engagementChannelTypeId',
170
+ kind: 'Scalar'
171
+ },
172
+ {
173
+ name: 'id',
174
+ kind: 'Scalar'
175
+ },
176
+ {
177
+ name: 'isAnonymousBooking',
178
+ kind: 'Scalar'
179
+ },
180
+ {
181
+ name: 'parentRecordId',
182
+ kind: 'Scalar'
183
+ },
184
+ {
185
+ name: 'schedEndTime',
186
+ kind: 'Scalar'
187
+ },
188
+ {
189
+ name: 'schedStartTime',
190
+ kind: 'Scalar'
191
+ },
192
+ {
193
+ name: 'serviceTerritoryId',
194
+ kind: 'Scalar'
195
+ },
196
+ {
197
+ name: 'status',
198
+ kind: 'Scalar'
199
+ },
200
+ {
201
+ name: 'statusCategory',
202
+ kind: 'Scalar'
203
+ },
204
+ {
205
+ name: 'workTypeId',
206
+ kind: 'Scalar'
207
+ }
208
+ ]
209
+ };
210
+ };
211
+ function equals$B(existing, incoming) {
212
+ const existing_isAnonymousBooking = existing.isAnonymousBooking;
213
+ const incoming_isAnonymousBooking = incoming.isAnonymousBooking;
214
+ if (!(existing_isAnonymousBooking === incoming_isAnonymousBooking)) {
215
+ return false;
216
+ }
217
+ const existing_appointmentType = existing.appointmentType;
218
+ const incoming_appointmentType = incoming.appointmentType;
219
+ if (!(existing_appointmentType === incoming_appointmentType)) {
220
+ return false;
221
+ }
222
+ const existing_engagementChannelTypeId = existing.engagementChannelTypeId;
223
+ const incoming_engagementChannelTypeId = incoming.engagementChannelTypeId;
224
+ if (!(existing_engagementChannelTypeId === incoming_engagementChannelTypeId)) {
225
+ return false;
226
+ }
227
+ const existing_id = existing.id;
228
+ const incoming_id = incoming.id;
229
+ if (!(existing_id === incoming_id)) {
230
+ return false;
231
+ }
232
+ const existing_parentRecordId = existing.parentRecordId;
233
+ const incoming_parentRecordId = incoming.parentRecordId;
234
+ if (!(existing_parentRecordId === incoming_parentRecordId)) {
235
+ return false;
236
+ }
237
+ const existing_schedEndTime = existing.schedEndTime;
238
+ const incoming_schedEndTime = incoming.schedEndTime;
239
+ if (!(existing_schedEndTime === incoming_schedEndTime)) {
240
+ return false;
241
+ }
242
+ const existing_schedStartTime = existing.schedStartTime;
243
+ const incoming_schedStartTime = incoming.schedStartTime;
244
+ if (!(existing_schedStartTime === incoming_schedStartTime)) {
245
+ return false;
246
+ }
247
+ const existing_serviceTerritoryId = existing.serviceTerritoryId;
248
+ const incoming_serviceTerritoryId = incoming.serviceTerritoryId;
249
+ if (!(existing_serviceTerritoryId === incoming_serviceTerritoryId)) {
250
+ return false;
251
+ }
252
+ const existing_status = existing.status;
253
+ const incoming_status = incoming.status;
254
+ if (!(existing_status === incoming_status)) {
255
+ return false;
256
+ }
257
+ const existing_statusCategory = existing.statusCategory;
258
+ const incoming_statusCategory = incoming.statusCategory;
259
+ if (!(existing_statusCategory === incoming_statusCategory)) {
260
+ return false;
261
+ }
262
+ const existing_workTypeId = existing.workTypeId;
263
+ const incoming_workTypeId = incoming.workTypeId;
264
+ if (!(existing_workTypeId === incoming_workTypeId)) {
265
+ return false;
266
+ }
267
+ return true;
268
+ }
269
+
270
+ const VERSION$A = "b1536afef5d2b4f327b99edfd2bcde75";
271
+ function validate$E(obj, path = 'GetAppointmentFromTokenResult') {
272
+ const v_error = (() => {
273
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
274
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
275
+ }
276
+ const obj_serviceAppointment = obj.serviceAppointment;
277
+ const path_serviceAppointment = path + '.serviceAppointment';
278
+ const referencepath_serviceAppointmentValidationError = validate$F(obj_serviceAppointment, path_serviceAppointment);
279
+ if (referencepath_serviceAppointmentValidationError !== null) {
280
+ let message = 'Object doesn\'t match ServiceAppointmentRepresentation (at "' + path_serviceAppointment + '")\n';
281
+ message += referencepath_serviceAppointmentValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
282
+ return new TypeError(message);
283
+ }
284
+ const obj_serviceResourceId = obj.serviceResourceId;
285
+ const path_serviceResourceId = path + '.serviceResourceId';
286
+ if (typeof obj_serviceResourceId !== 'string') {
287
+ return new TypeError('Expected "string" but received "' + typeof obj_serviceResourceId + '" (at "' + path_serviceResourceId + '")');
288
+ }
289
+ const obj_workTypeGroupId = obj.workTypeGroupId;
290
+ const path_workTypeGroupId = path + '.workTypeGroupId';
291
+ if (typeof obj_workTypeGroupId !== 'string') {
292
+ return new TypeError('Expected "string" but received "' + typeof obj_workTypeGroupId + '" (at "' + path_workTypeGroupId + '")');
293
+ }
294
+ })();
295
+ return v_error === undefined ? null : v_error;
296
+ }
297
+ const select$O = function GetAppointmentFromTokenResultSelect() {
298
+ const { selections: ServiceAppointmentRepresentation__selections, opaque: ServiceAppointmentRepresentation__opaque, } = select$P();
299
+ return {
300
+ kind: 'Fragment',
301
+ version: VERSION$A,
302
+ private: [],
303
+ selections: [
304
+ {
305
+ name: 'serviceAppointment',
306
+ kind: 'Object',
307
+ selections: ServiceAppointmentRepresentation__selections
308
+ },
309
+ {
310
+ name: 'serviceResourceId',
311
+ kind: 'Scalar'
312
+ },
313
+ {
314
+ name: 'workTypeGroupId',
315
+ kind: 'Scalar'
316
+ }
317
+ ]
318
+ };
319
+ };
320
+ function equals$A(existing, incoming) {
321
+ const existing_serviceResourceId = existing.serviceResourceId;
322
+ const incoming_serviceResourceId = incoming.serviceResourceId;
323
+ if (!(existing_serviceResourceId === incoming_serviceResourceId)) {
324
+ return false;
325
+ }
326
+ const existing_workTypeGroupId = existing.workTypeGroupId;
327
+ const incoming_workTypeGroupId = incoming.workTypeGroupId;
328
+ if (!(existing_workTypeGroupId === incoming_workTypeGroupId)) {
329
+ return false;
330
+ }
331
+ const existing_serviceAppointment = existing.serviceAppointment;
332
+ const incoming_serviceAppointment = incoming.serviceAppointment;
333
+ if (!(equals$B(existing_serviceAppointment, incoming_serviceAppointment))) {
334
+ return false;
335
+ }
336
+ return true;
337
+ }
338
+
339
+ const VERSION$z = "083f2aef413359729868ac5e60c9cc70";
340
+ function validate$D(obj, path = 'GetAppointmentFromTokenOutputRepresentation') {
341
+ const v_error = (() => {
342
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
343
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
344
+ }
345
+ const obj_result = obj.result;
346
+ const path_result = path + '.result';
347
+ const referencepath_resultValidationError = validate$E(obj_result, path_result);
348
+ if (referencepath_resultValidationError !== null) {
349
+ let message = 'Object doesn\'t match GetAppointmentFromTokenResult (at "' + path_result + '")\n';
350
+ message += referencepath_resultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
351
+ return new TypeError(message);
352
+ }
353
+ })();
354
+ return v_error === undefined ? null : v_error;
355
+ }
356
+ const RepresentationType$f = 'GetAppointmentFromTokenOutputRepresentation';
357
+ function normalize$f(input, existing, path, luvio, store, timestamp) {
358
+ return input;
359
+ }
360
+ const select$N = function GetAppointmentFromTokenOutputRepresentationSelect() {
361
+ const { selections: GetAppointmentFromTokenResult__selections, opaque: GetAppointmentFromTokenResult__opaque, } = select$O();
362
+ return {
363
+ kind: 'Fragment',
364
+ version: VERSION$z,
365
+ private: [],
366
+ selections: [
367
+ {
368
+ name: 'result',
369
+ kind: 'Object',
370
+ selections: GetAppointmentFromTokenResult__selections
371
+ }
372
+ ]
373
+ };
374
+ };
375
+ function equals$z(existing, incoming) {
376
+ const existing_result = existing.result;
377
+ const incoming_result = incoming.result;
378
+ if (!(equals$A(existing_result, incoming_result))) {
379
+ return false;
380
+ }
381
+ return true;
382
+ }
383
+ const ingest$f = function GetAppointmentFromTokenOutputRepresentationIngest(input, path, luvio, store, timestamp) {
384
+ if (process.env.NODE_ENV !== 'production') {
385
+ const validateError = validate$D(input);
386
+ if (validateError !== null) {
387
+ throw validateError;
388
+ }
389
+ }
390
+ const key = path.fullPath;
391
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 360000;
392
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "IndustriesScheduler", VERSION$z, RepresentationType$f, equals$z);
393
+ return createLink(key);
394
+ };
395
+ function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
396
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
397
+ const rootKey = fullPathFactory();
398
+ rootKeySet.set(rootKey, {
399
+ namespace: keyPrefix,
400
+ representationName: RepresentationType$f,
401
+ mergeable: false
402
+ });
403
+ }
404
+
405
+ function select$M(luvio, params) {
406
+ return select$N();
407
+ }
408
+ function keyBuilder$n(luvio, params) {
409
+ return keyPrefix + '::GetAppointmentFromTokenOutputRepresentation:(' + 'appointmentToken:' + params.queryParams.appointmentToken + ')';
410
+ }
411
+ function getResponseCacheKeys$d(storeKeyMap, luvio, resourceParams, response) {
412
+ getTypeCacheKeys$f(storeKeyMap, luvio, response, () => keyBuilder$n(luvio, resourceParams));
413
+ }
414
+ function ingestSuccess$d(luvio, resourceParams, response, snapshotRefresh) {
415
+ const { body } = response;
416
+ const key = keyBuilder$n(luvio, resourceParams);
417
+ luvio.storeIngest(key, ingest$f, body);
418
+ const snapshot = luvio.storeLookup({
419
+ recordId: key,
420
+ node: select$M(),
421
+ variables: {},
422
+ }, snapshotRefresh);
423
+ if (process.env.NODE_ENV !== 'production') {
424
+ if (snapshot.state !== 'Fulfilled') {
425
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
426
+ }
427
+ }
428
+ deepFreeze(snapshot.data);
429
+ return snapshot;
430
+ }
431
+ function ingestError$7(luvio, params, error, snapshotRefresh) {
432
+ const key = keyBuilder$n(luvio, params);
433
+ const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
434
+ luvio.storeIngestError(key, errorSnapshot);
435
+ return errorSnapshot;
436
+ }
437
+ function createResourceRequest$d(config) {
438
+ const headers = {};
439
+ return {
440
+ baseUri: '/services/data/v61.0',
441
+ basePath: '/connect/scheduling/appointment-from-token',
442
+ method: 'get',
443
+ body: null,
444
+ urlParams: {},
445
+ queryParams: config.queryParams,
446
+ headers,
447
+ priority: 'normal',
448
+ };
449
+ }
450
+
451
+ const adapterName$d = 'getAppointmentFromToken';
452
+ const getAppointmentFromToken_ConfigPropertyMetadata = [
453
+ generateParamConfigMetadata('appointmentToken', false, 1 /* QueryParameter */, 0 /* String */),
454
+ ];
455
+ const getAppointmentFromToken_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, getAppointmentFromToken_ConfigPropertyMetadata);
456
+ const createResourceParams$d = /*#__PURE__*/ createResourceParams$e(getAppointmentFromToken_ConfigPropertyMetadata);
457
+ function keyBuilder$m(luvio, config) {
458
+ const resourceParams = createResourceParams$d(config);
459
+ return keyBuilder$n(luvio, resourceParams);
460
+ }
461
+ function typeCheckConfig$d(untrustedConfig) {
462
+ const config = {};
463
+ typeCheckConfig$e(untrustedConfig, config, getAppointmentFromToken_ConfigPropertyMetadata);
464
+ return config;
465
+ }
466
+ function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
467
+ if (!untrustedIsObject(untrustedConfig)) {
468
+ return null;
469
+ }
470
+ if (process.env.NODE_ENV !== 'production') {
471
+ validateConfig(untrustedConfig, configPropertyNames);
472
+ }
473
+ const config = typeCheckConfig$d(untrustedConfig);
474
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
475
+ return null;
476
+ }
477
+ return config;
478
+ }
479
+ function adapterFragment$7(luvio, config) {
480
+ createResourceParams$d(config);
481
+ return select$M();
482
+ }
483
+ function onFetchResponseSuccess$7(luvio, config, resourceParams, response) {
484
+ const snapshot = ingestSuccess$d(luvio, resourceParams, response, {
485
+ config,
486
+ resolve: () => buildNetworkSnapshot$d(luvio, config, snapshotRefreshOptions)
487
+ });
488
+ return luvio.storeBroadcast().then(() => snapshot);
489
+ }
490
+ function onFetchResponseError$7(luvio, config, resourceParams, response) {
491
+ const snapshot = ingestError$7(luvio, resourceParams, response, {
492
+ config,
493
+ resolve: () => buildNetworkSnapshot$d(luvio, config, snapshotRefreshOptions)
494
+ });
495
+ return luvio.storeBroadcast().then(() => snapshot);
496
+ }
497
+ function buildNetworkSnapshot$d(luvio, config, options) {
498
+ const resourceParams = createResourceParams$d(config);
499
+ const request = createResourceRequest$d(resourceParams);
500
+ return luvio.dispatchResourceRequest(request, options)
501
+ .then((response) => {
502
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$7(luvio, config, resourceParams, response), () => {
503
+ const cache = new StoreKeyMap();
504
+ getResponseCacheKeys$d(cache, luvio, resourceParams, response.body);
505
+ return cache;
506
+ });
507
+ }, (response) => {
508
+ return luvio.handleErrorResponse(() => onFetchResponseError$7(luvio, config, resourceParams, response));
509
+ });
510
+ }
511
+ function buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext) {
512
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$d, undefined, false);
513
+ }
514
+ function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
515
+ const { luvio, config } = context;
516
+ const selector = {
517
+ recordId: keyBuilder$m(luvio, config),
518
+ node: adapterFragment$7(luvio, config),
519
+ variables: {},
520
+ };
521
+ const cacheSnapshot = storeLookup(selector, {
522
+ config,
523
+ resolve: () => buildNetworkSnapshot$d(luvio, config, snapshotRefreshOptions)
524
+ });
525
+ return cacheSnapshot;
526
+ }
527
+ const getAppointmentFromTokenAdapterFactory = (luvio) => function IndustriesScheduler__getAppointmentFromToken(untrustedConfig, requestContext) {
528
+ const config = validateAdapterConfig$d(untrustedConfig, getAppointmentFromToken_ConfigPropertyNames);
529
+ // Invalid or incomplete config
530
+ if (config === null) {
531
+ return null;
532
+ }
533
+ return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
534
+ buildCachedSnapshotCachePolicy$7, buildNetworkSnapshotCachePolicy$7);
535
+ };
536
+
537
+ const VERSION$y = "745ed19773bc6307c6816a6d100b0cbe";
538
+ function validate$C(obj, path = 'GetEngagementChannelTypeResult') {
96
539
  const v_error = (() => {
97
540
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
98
541
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -104,299 +547,930 @@ function validate$z(obj, path = 'GetEngagementChannelTypeResult') {
104
547
  return new TypeError('Expected "string" but received "' + typeof obj_contactPoint + '" (at "' + path_contactPoint + '")');
105
548
  }
106
549
  }
107
- if (obj.contactPointType !== undefined) {
108
- const obj_contactPointType = obj.contactPointType;
109
- const path_contactPointType = path + '.contactPointType';
110
- if (typeof obj_contactPointType !== 'string') {
111
- return new TypeError('Expected "string" but received "' + typeof obj_contactPointType + '" (at "' + path_contactPointType + '")');
550
+ if (obj.contactPointType !== undefined) {
551
+ const obj_contactPointType = obj.contactPointType;
552
+ const path_contactPointType = path + '.contactPointType';
553
+ if (typeof obj_contactPointType !== 'string') {
554
+ return new TypeError('Expected "string" but received "' + typeof obj_contactPointType + '" (at "' + path_contactPointType + '")');
555
+ }
556
+ }
557
+ if (obj.id !== undefined) {
558
+ const obj_id = obj.id;
559
+ const path_id = path + '.id';
560
+ if (typeof obj_id !== 'string') {
561
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
562
+ }
563
+ }
564
+ if (obj.name !== undefined) {
565
+ const obj_name = obj.name;
566
+ const path_name = path + '.name';
567
+ if (typeof obj_name !== 'string') {
568
+ return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
569
+ }
570
+ }
571
+ if (obj.workTypeGroupIds !== undefined) {
572
+ const obj_workTypeGroupIds = obj.workTypeGroupIds;
573
+ const path_workTypeGroupIds = path + '.workTypeGroupIds';
574
+ if (!ArrayIsArray(obj_workTypeGroupIds)) {
575
+ return new TypeError('Expected "array" but received "' + typeof obj_workTypeGroupIds + '" (at "' + path_workTypeGroupIds + '")');
576
+ }
577
+ for (let i = 0; i < obj_workTypeGroupIds.length; i++) {
578
+ const obj_workTypeGroupIds_item = obj_workTypeGroupIds[i];
579
+ const path_workTypeGroupIds_item = path_workTypeGroupIds + '[' + i + ']';
580
+ if (typeof obj_workTypeGroupIds_item !== 'string') {
581
+ return new TypeError('Expected "string" but received "' + typeof obj_workTypeGroupIds_item + '" (at "' + path_workTypeGroupIds_item + '")');
582
+ }
583
+ }
584
+ }
585
+ if (obj.workTypeIds !== undefined) {
586
+ const obj_workTypeIds = obj.workTypeIds;
587
+ const path_workTypeIds = path + '.workTypeIds';
588
+ if (!ArrayIsArray(obj_workTypeIds)) {
589
+ return new TypeError('Expected "array" but received "' + typeof obj_workTypeIds + '" (at "' + path_workTypeIds + '")');
590
+ }
591
+ for (let i = 0; i < obj_workTypeIds.length; i++) {
592
+ const obj_workTypeIds_item = obj_workTypeIds[i];
593
+ const path_workTypeIds_item = path_workTypeIds + '[' + i + ']';
594
+ if (typeof obj_workTypeIds_item !== 'string') {
595
+ return new TypeError('Expected "string" but received "' + typeof obj_workTypeIds_item + '" (at "' + path_workTypeIds_item + '")');
596
+ }
597
+ }
598
+ }
599
+ })();
600
+ return v_error === undefined ? null : v_error;
601
+ }
602
+ const select$L = function GetEngagementChannelTypeResultSelect() {
603
+ return {
604
+ kind: 'Fragment',
605
+ version: VERSION$y,
606
+ private: [],
607
+ selections: [
608
+ {
609
+ name: 'contactPoint',
610
+ kind: 'Scalar',
611
+ required: false
612
+ },
613
+ {
614
+ name: 'contactPointType',
615
+ kind: 'Scalar',
616
+ required: false
617
+ },
618
+ {
619
+ name: 'id',
620
+ kind: 'Scalar',
621
+ required: false
622
+ },
623
+ {
624
+ name: 'name',
625
+ kind: 'Scalar',
626
+ required: false
627
+ },
628
+ {
629
+ name: 'workTypeGroupIds',
630
+ kind: 'Scalar',
631
+ plural: true,
632
+ required: false
633
+ },
634
+ {
635
+ name: 'workTypeIds',
636
+ kind: 'Scalar',
637
+ plural: true,
638
+ required: false
639
+ }
640
+ ]
641
+ };
642
+ };
643
+ function equals$y(existing, incoming) {
644
+ const existing_contactPoint = existing.contactPoint;
645
+ const incoming_contactPoint = incoming.contactPoint;
646
+ // if at least one of these optionals is defined
647
+ if (existing_contactPoint !== undefined || incoming_contactPoint !== undefined) {
648
+ // if one of these is not defined we know the other is defined and therefore
649
+ // not equal
650
+ if (existing_contactPoint === undefined || incoming_contactPoint === undefined) {
651
+ return false;
652
+ }
653
+ if (!(existing_contactPoint === incoming_contactPoint)) {
654
+ return false;
655
+ }
656
+ }
657
+ const existing_contactPointType = existing.contactPointType;
658
+ const incoming_contactPointType = incoming.contactPointType;
659
+ // if at least one of these optionals is defined
660
+ if (existing_contactPointType !== undefined || incoming_contactPointType !== undefined) {
661
+ // if one of these is not defined we know the other is defined and therefore
662
+ // not equal
663
+ if (existing_contactPointType === undefined || incoming_contactPointType === undefined) {
664
+ return false;
665
+ }
666
+ if (!(existing_contactPointType === incoming_contactPointType)) {
667
+ return false;
668
+ }
669
+ }
670
+ const existing_id = existing.id;
671
+ const incoming_id = incoming.id;
672
+ // if at least one of these optionals is defined
673
+ if (existing_id !== undefined || incoming_id !== undefined) {
674
+ // if one of these is not defined we know the other is defined and therefore
675
+ // not equal
676
+ if (existing_id === undefined || incoming_id === undefined) {
677
+ return false;
678
+ }
679
+ if (!(existing_id === incoming_id)) {
680
+ return false;
681
+ }
682
+ }
683
+ const existing_name = existing.name;
684
+ const incoming_name = incoming.name;
685
+ // if at least one of these optionals is defined
686
+ if (existing_name !== undefined || incoming_name !== undefined) {
687
+ // if one of these is not defined we know the other is defined and therefore
688
+ // not equal
689
+ if (existing_name === undefined || incoming_name === undefined) {
690
+ return false;
691
+ }
692
+ if (!(existing_name === incoming_name)) {
693
+ return false;
694
+ }
695
+ }
696
+ const existing_workTypeGroupIds = existing.workTypeGroupIds;
697
+ const incoming_workTypeGroupIds = incoming.workTypeGroupIds;
698
+ // if at least one of these optionals is defined
699
+ if (existing_workTypeGroupIds !== undefined || incoming_workTypeGroupIds !== undefined) {
700
+ // if one of these is not defined we know the other is defined and therefore
701
+ // not equal
702
+ if (existing_workTypeGroupIds === undefined || incoming_workTypeGroupIds === undefined) {
703
+ return false;
704
+ }
705
+ const equals_workTypeGroupIds_items = equalsArray(existing_workTypeGroupIds, incoming_workTypeGroupIds, (existing_workTypeGroupIds_item, incoming_workTypeGroupIds_item) => {
706
+ if (!(existing_workTypeGroupIds_item === incoming_workTypeGroupIds_item)) {
707
+ return false;
708
+ }
709
+ });
710
+ if (equals_workTypeGroupIds_items === false) {
711
+ return false;
712
+ }
713
+ }
714
+ const existing_workTypeIds = existing.workTypeIds;
715
+ const incoming_workTypeIds = incoming.workTypeIds;
716
+ // if at least one of these optionals is defined
717
+ if (existing_workTypeIds !== undefined || incoming_workTypeIds !== undefined) {
718
+ // if one of these is not defined we know the other is defined and therefore
719
+ // not equal
720
+ if (existing_workTypeIds === undefined || incoming_workTypeIds === undefined) {
721
+ return false;
722
+ }
723
+ const equals_workTypeIds_items = equalsArray(existing_workTypeIds, incoming_workTypeIds, (existing_workTypeIds_item, incoming_workTypeIds_item) => {
724
+ if (!(existing_workTypeIds_item === incoming_workTypeIds_item)) {
725
+ return false;
726
+ }
727
+ });
728
+ if (equals_workTypeIds_items === false) {
729
+ return false;
730
+ }
731
+ }
732
+ return true;
733
+ }
734
+
735
+ const VERSION$x = "129c53d5f8fb579d31c255a020838251";
736
+ function validate$B(obj, path = 'GetEngagementChannelTypeListResult') {
737
+ const v_error = (() => {
738
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
739
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
740
+ }
741
+ const obj_engagementChannelTypes = obj.engagementChannelTypes;
742
+ const path_engagementChannelTypes = path + '.engagementChannelTypes';
743
+ if (!ArrayIsArray(obj_engagementChannelTypes)) {
744
+ return new TypeError('Expected "array" but received "' + typeof obj_engagementChannelTypes + '" (at "' + path_engagementChannelTypes + '")');
745
+ }
746
+ for (let i = 0; i < obj_engagementChannelTypes.length; i++) {
747
+ const obj_engagementChannelTypes_item = obj_engagementChannelTypes[i];
748
+ const path_engagementChannelTypes_item = path_engagementChannelTypes + '[' + i + ']';
749
+ const referencepath_engagementChannelTypes_itemValidationError = validate$C(obj_engagementChannelTypes_item, path_engagementChannelTypes_item);
750
+ if (referencepath_engagementChannelTypes_itemValidationError !== null) {
751
+ let message = 'Object doesn\'t match GetEngagementChannelTypeResult (at "' + path_engagementChannelTypes_item + '")\n';
752
+ message += referencepath_engagementChannelTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
753
+ return new TypeError(message);
754
+ }
755
+ }
756
+ })();
757
+ return v_error === undefined ? null : v_error;
758
+ }
759
+ const select$K = function GetEngagementChannelTypeListResultSelect() {
760
+ const { selections: GetEngagementChannelTypeResult__selections, opaque: GetEngagementChannelTypeResult__opaque, } = select$L();
761
+ return {
762
+ kind: 'Fragment',
763
+ version: VERSION$x,
764
+ private: [],
765
+ selections: [
766
+ {
767
+ name: 'engagementChannelTypes',
768
+ kind: 'Object',
769
+ plural: true,
770
+ selections: GetEngagementChannelTypeResult__selections
771
+ }
772
+ ]
773
+ };
774
+ };
775
+ function equals$x(existing, incoming) {
776
+ const existing_engagementChannelTypes = existing.engagementChannelTypes;
777
+ const incoming_engagementChannelTypes = incoming.engagementChannelTypes;
778
+ const equals_engagementChannelTypes_items = equalsArray(existing_engagementChannelTypes, incoming_engagementChannelTypes, (existing_engagementChannelTypes_item, incoming_engagementChannelTypes_item) => {
779
+ if (!(equals$y(existing_engagementChannelTypes_item, incoming_engagementChannelTypes_item))) {
780
+ return false;
781
+ }
782
+ });
783
+ if (equals_engagementChannelTypes_items === false) {
784
+ return false;
785
+ }
786
+ return true;
787
+ }
788
+
789
+ const VERSION$w = "622654426aa18b7c8846e6d863a5f446";
790
+ function validate$A(obj, path = 'GetEngagementChannelTypeOutputRepresentation') {
791
+ const v_error = (() => {
792
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
793
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
794
+ }
795
+ const obj_result = obj.result;
796
+ const path_result = path + '.result';
797
+ const referencepath_resultValidationError = validate$B(obj_result, path_result);
798
+ if (referencepath_resultValidationError !== null) {
799
+ let message = 'Object doesn\'t match GetEngagementChannelTypeListResult (at "' + path_result + '")\n';
800
+ message += referencepath_resultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
801
+ return new TypeError(message);
802
+ }
803
+ })();
804
+ return v_error === undefined ? null : v_error;
805
+ }
806
+ const RepresentationType$e = 'GetEngagementChannelTypeOutputRepresentation';
807
+ function normalize$e(input, existing, path, luvio, store, timestamp) {
808
+ return input;
809
+ }
810
+ const select$J = function GetEngagementChannelTypeOutputRepresentationSelect() {
811
+ const { selections: GetEngagementChannelTypeListResult__selections, opaque: GetEngagementChannelTypeListResult__opaque, } = select$K();
812
+ return {
813
+ kind: 'Fragment',
814
+ version: VERSION$w,
815
+ private: [],
816
+ selections: [
817
+ {
818
+ name: 'result',
819
+ kind: 'Object',
820
+ selections: GetEngagementChannelTypeListResult__selections
112
821
  }
822
+ ]
823
+ };
824
+ };
825
+ function equals$w(existing, incoming) {
826
+ const existing_result = existing.result;
827
+ const incoming_result = incoming.result;
828
+ if (!(equals$x(existing_result, incoming_result))) {
829
+ return false;
830
+ }
831
+ return true;
832
+ }
833
+ const ingest$e = function GetEngagementChannelTypeOutputRepresentationIngest(input, path, luvio, store, timestamp) {
834
+ if (process.env.NODE_ENV !== 'production') {
835
+ const validateError = validate$A(input);
836
+ if (validateError !== null) {
837
+ throw validateError;
113
838
  }
114
- if (obj.id !== undefined) {
115
- const obj_id = obj.id;
116
- const path_id = path + '.id';
117
- if (typeof obj_id !== 'string') {
118
- return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
839
+ }
840
+ const key = path.fullPath;
841
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 360000;
842
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "IndustriesScheduler", VERSION$w, RepresentationType$e, equals$w);
843
+ return createLink(key);
844
+ };
845
+ function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
846
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
847
+ const rootKey = fullPathFactory();
848
+ rootKeySet.set(rootKey, {
849
+ namespace: keyPrefix,
850
+ representationName: RepresentationType$e,
851
+ mergeable: false
852
+ });
853
+ }
854
+
855
+ function select$I(luvio, params) {
856
+ return select$J();
857
+ }
858
+ function keyBuilder$l(luvio, params) {
859
+ return keyPrefix + '::GetEngagementChannelTypeOutputRepresentation:(' + 'workTypeGroupIds:' + params.queryParams.workTypeGroupIds + ',' + 'workTypeIds:' + params.queryParams.workTypeIds + ')';
860
+ }
861
+ function getResponseCacheKeys$c(storeKeyMap, luvio, resourceParams, response) {
862
+ getTypeCacheKeys$e(storeKeyMap, luvio, response, () => keyBuilder$l(luvio, resourceParams));
863
+ }
864
+ function ingestSuccess$c(luvio, resourceParams, response, snapshotRefresh) {
865
+ const { body } = response;
866
+ const key = keyBuilder$l(luvio, resourceParams);
867
+ luvio.storeIngest(key, ingest$e, body);
868
+ const snapshot = luvio.storeLookup({
869
+ recordId: key,
870
+ node: select$I(),
871
+ variables: {},
872
+ }, snapshotRefresh);
873
+ if (process.env.NODE_ENV !== 'production') {
874
+ if (snapshot.state !== 'Fulfilled') {
875
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
876
+ }
877
+ }
878
+ deepFreeze(snapshot.data);
879
+ return snapshot;
880
+ }
881
+ function ingestError$6(luvio, params, error, snapshotRefresh) {
882
+ const key = keyBuilder$l(luvio, params);
883
+ const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
884
+ luvio.storeIngestError(key, errorSnapshot);
885
+ return errorSnapshot;
886
+ }
887
+ function createResourceRequest$c(config) {
888
+ const headers = {};
889
+ return {
890
+ baseUri: '/services/data/v61.0',
891
+ basePath: '/connect/scheduling/engagement-channel-types',
892
+ method: 'get',
893
+ body: null,
894
+ urlParams: {},
895
+ queryParams: config.queryParams,
896
+ headers,
897
+ priority: 'normal',
898
+ };
899
+ }
900
+
901
+ const adapterName$c = 'getEngagementChannelTypes';
902
+ const getEngagementChannelTypes_ConfigPropertyMetadata = [
903
+ generateParamConfigMetadata('workTypeGroupIds', false, 1 /* QueryParameter */, 0 /* String */, true),
904
+ generateParamConfigMetadata('workTypeIds', false, 1 /* QueryParameter */, 0 /* String */, true),
905
+ ];
906
+ const getEngagementChannelTypes_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, getEngagementChannelTypes_ConfigPropertyMetadata);
907
+ const createResourceParams$c = /*#__PURE__*/ createResourceParams$e(getEngagementChannelTypes_ConfigPropertyMetadata);
908
+ function keyBuilder$k(luvio, config) {
909
+ const resourceParams = createResourceParams$c(config);
910
+ return keyBuilder$l(luvio, resourceParams);
911
+ }
912
+ function typeCheckConfig$c(untrustedConfig) {
913
+ const config = {};
914
+ typeCheckConfig$e(untrustedConfig, config, getEngagementChannelTypes_ConfigPropertyMetadata);
915
+ return config;
916
+ }
917
+ function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
918
+ if (!untrustedIsObject(untrustedConfig)) {
919
+ return null;
920
+ }
921
+ if (process.env.NODE_ENV !== 'production') {
922
+ validateConfig(untrustedConfig, configPropertyNames);
923
+ }
924
+ const config = typeCheckConfig$c(untrustedConfig);
925
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
926
+ return null;
927
+ }
928
+ return config;
929
+ }
930
+ function adapterFragment$6(luvio, config) {
931
+ createResourceParams$c(config);
932
+ return select$I();
933
+ }
934
+ function onFetchResponseSuccess$6(luvio, config, resourceParams, response) {
935
+ const snapshot = ingestSuccess$c(luvio, resourceParams, response, {
936
+ config,
937
+ resolve: () => buildNetworkSnapshot$c(luvio, config, snapshotRefreshOptions)
938
+ });
939
+ return luvio.storeBroadcast().then(() => snapshot);
940
+ }
941
+ function onFetchResponseError$6(luvio, config, resourceParams, response) {
942
+ const snapshot = ingestError$6(luvio, resourceParams, response, {
943
+ config,
944
+ resolve: () => buildNetworkSnapshot$c(luvio, config, snapshotRefreshOptions)
945
+ });
946
+ return luvio.storeBroadcast().then(() => snapshot);
947
+ }
948
+ function buildNetworkSnapshot$c(luvio, config, options) {
949
+ const resourceParams = createResourceParams$c(config);
950
+ const request = createResourceRequest$c(resourceParams);
951
+ return luvio.dispatchResourceRequest(request, options)
952
+ .then((response) => {
953
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$6(luvio, config, resourceParams, response), () => {
954
+ const cache = new StoreKeyMap();
955
+ getResponseCacheKeys$c(cache, luvio, resourceParams, response.body);
956
+ return cache;
957
+ });
958
+ }, (response) => {
959
+ return luvio.handleErrorResponse(() => onFetchResponseError$6(luvio, config, resourceParams, response));
960
+ });
961
+ }
962
+ function buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext) {
963
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$c, undefined, false);
964
+ }
965
+ function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
966
+ const { luvio, config } = context;
967
+ const selector = {
968
+ recordId: keyBuilder$k(luvio, config),
969
+ node: adapterFragment$6(luvio, config),
970
+ variables: {},
971
+ };
972
+ const cacheSnapshot = storeLookup(selector, {
973
+ config,
974
+ resolve: () => buildNetworkSnapshot$c(luvio, config, snapshotRefreshOptions)
975
+ });
976
+ return cacheSnapshot;
977
+ }
978
+ const getEngagementChannelTypesAdapterFactory = (luvio) => function IndustriesScheduler__getEngagementChannelTypes(untrustedConfig, requestContext) {
979
+ const config = validateAdapterConfig$c(untrustedConfig, getEngagementChannelTypes_ConfigPropertyNames);
980
+ // Invalid or incomplete config
981
+ if (config === null) {
982
+ return null;
983
+ }
984
+ return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
985
+ buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$6);
986
+ };
987
+
988
+ const VERSION$v = "c53d2d7c54f3f7e132ff8f6059f30726";
989
+ function validate$z(obj, path = 'ExtendedFieldsOutputRepresentation') {
990
+ const v_error = (() => {
991
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
992
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
993
+ }
994
+ const obj_name = obj.name;
995
+ const path_name = path + '.name';
996
+ if (typeof obj_name !== 'string') {
997
+ return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
998
+ }
999
+ const obj_value = obj.value;
1000
+ const path_value = path + '.value';
1001
+ if (typeof obj_value !== 'string') {
1002
+ return new TypeError('Expected "string" but received "' + typeof obj_value + '" (at "' + path_value + '")');
1003
+ }
1004
+ })();
1005
+ return v_error === undefined ? null : v_error;
1006
+ }
1007
+ const select$H = function ExtendedFieldsOutputRepresentationSelect() {
1008
+ return {
1009
+ kind: 'Fragment',
1010
+ version: VERSION$v,
1011
+ private: [],
1012
+ selections: [
1013
+ {
1014
+ name: 'name',
1015
+ kind: 'Scalar'
1016
+ },
1017
+ {
1018
+ name: 'value',
1019
+ kind: 'Scalar'
119
1020
  }
1021
+ ]
1022
+ };
1023
+ };
1024
+ function equals$v(existing, incoming) {
1025
+ const existing_name = existing.name;
1026
+ const incoming_name = incoming.name;
1027
+ if (!(existing_name === incoming_name)) {
1028
+ return false;
1029
+ }
1030
+ const existing_value = existing.value;
1031
+ const incoming_value = incoming.value;
1032
+ if (!(existing_value === incoming_value)) {
1033
+ return false;
1034
+ }
1035
+ return true;
1036
+ }
1037
+
1038
+ const VERSION$u = "2fdd732299aa055ecee5f83b5212dad5";
1039
+ function validate$y(obj, path = 'GroupAppointmentResult') {
1040
+ const v_error = (() => {
1041
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1042
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
120
1043
  }
121
- if (obj.name !== undefined) {
122
- const obj_name = obj.name;
123
- const path_name = path + '.name';
124
- if (typeof obj_name !== 'string') {
125
- return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
1044
+ if (obj.appointmentId !== undefined) {
1045
+ const obj_appointmentId = obj.appointmentId;
1046
+ const path_appointmentId = path + '.appointmentId';
1047
+ if (typeof obj_appointmentId !== 'string') {
1048
+ return new TypeError('Expected "string" but received "' + typeof obj_appointmentId + '" (at "' + path_appointmentId + '")');
126
1049
  }
127
1050
  }
128
- if (obj.workTypeGroupIds !== undefined) {
129
- const obj_workTypeGroupIds = obj.workTypeGroupIds;
130
- const path_workTypeGroupIds = path + '.workTypeGroupIds';
131
- if (!ArrayIsArray(obj_workTypeGroupIds)) {
132
- return new TypeError('Expected "array" but received "' + typeof obj_workTypeGroupIds + '" (at "' + path_workTypeGroupIds + '")');
1051
+ if (obj.attendeeCount !== undefined) {
1052
+ const obj_attendeeCount = obj.attendeeCount;
1053
+ const path_attendeeCount = path + '.attendeeCount';
1054
+ if (typeof obj_attendeeCount !== 'number' || (typeof obj_attendeeCount === 'number' && Math.floor(obj_attendeeCount) !== obj_attendeeCount)) {
1055
+ return new TypeError('Expected "integer" but received "' + typeof obj_attendeeCount + '" (at "' + path_attendeeCount + '")');
133
1056
  }
134
- for (let i = 0; i < obj_workTypeGroupIds.length; i++) {
135
- const obj_workTypeGroupIds_item = obj_workTypeGroupIds[i];
136
- const path_workTypeGroupIds_item = path_workTypeGroupIds + '[' + i + ']';
137
- if (typeof obj_workTypeGroupIds_item !== 'string') {
138
- return new TypeError('Expected "string" but received "' + typeof obj_workTypeGroupIds_item + '" (at "' + path_workTypeGroupIds_item + '")');
1057
+ }
1058
+ if (obj.attendeeLimit !== undefined) {
1059
+ const obj_attendeeLimit = obj.attendeeLimit;
1060
+ const path_attendeeLimit = path + '.attendeeLimit';
1061
+ if (typeof obj_attendeeLimit !== 'number' || (typeof obj_attendeeLimit === 'number' && Math.floor(obj_attendeeLimit) !== obj_attendeeLimit)) {
1062
+ return new TypeError('Expected "integer" but received "' + typeof obj_attendeeLimit + '" (at "' + path_attendeeLimit + '")');
1063
+ }
1064
+ }
1065
+ if (obj.endTime !== undefined) {
1066
+ const obj_endTime = obj.endTime;
1067
+ const path_endTime = path + '.endTime';
1068
+ if (typeof obj_endTime !== 'string') {
1069
+ return new TypeError('Expected "string" but received "' + typeof obj_endTime + '" (at "' + path_endTime + '")');
1070
+ }
1071
+ }
1072
+ if (obj.engagementChannelTypeId !== undefined) {
1073
+ const obj_engagementChannelTypeId = obj.engagementChannelTypeId;
1074
+ const path_engagementChannelTypeId = path + '.engagementChannelTypeId';
1075
+ if (typeof obj_engagementChannelTypeId !== 'string') {
1076
+ return new TypeError('Expected "string" but received "' + typeof obj_engagementChannelTypeId + '" (at "' + path_engagementChannelTypeId + '")');
1077
+ }
1078
+ }
1079
+ if (obj.extendedFields !== undefined) {
1080
+ const obj_extendedFields = obj.extendedFields;
1081
+ const path_extendedFields = path + '.extendedFields';
1082
+ if (!ArrayIsArray(obj_extendedFields)) {
1083
+ return new TypeError('Expected "array" but received "' + typeof obj_extendedFields + '" (at "' + path_extendedFields + '")');
1084
+ }
1085
+ for (let i = 0; i < obj_extendedFields.length; i++) {
1086
+ const obj_extendedFields_item = obj_extendedFields[i];
1087
+ const path_extendedFields_item = path_extendedFields + '[' + i + ']';
1088
+ const referencepath_extendedFields_itemValidationError = validate$z(obj_extendedFields_item, path_extendedFields_item);
1089
+ if (referencepath_extendedFields_itemValidationError !== null) {
1090
+ let message = 'Object doesn\'t match ExtendedFieldsOutputRepresentation (at "' + path_extendedFields_item + '")\n';
1091
+ message += referencepath_extendedFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1092
+ return new TypeError(message);
1093
+ }
1094
+ }
1095
+ }
1096
+ if (obj.parentRecordId !== undefined) {
1097
+ const obj_parentRecordId = obj.parentRecordId;
1098
+ const path_parentRecordId = path + '.parentRecordId';
1099
+ if (typeof obj_parentRecordId !== 'string') {
1100
+ return new TypeError('Expected "string" but received "' + typeof obj_parentRecordId + '" (at "' + path_parentRecordId + '")');
1101
+ }
1102
+ }
1103
+ if (obj.resourceIds !== undefined) {
1104
+ const obj_resourceIds = obj.resourceIds;
1105
+ const path_resourceIds = path + '.resourceIds';
1106
+ if (!ArrayIsArray(obj_resourceIds)) {
1107
+ return new TypeError('Expected "array" but received "' + typeof obj_resourceIds + '" (at "' + path_resourceIds + '")');
1108
+ }
1109
+ for (let i = 0; i < obj_resourceIds.length; i++) {
1110
+ const obj_resourceIds_item = obj_resourceIds[i];
1111
+ const path_resourceIds_item = path_resourceIds + '[' + i + ']';
1112
+ if (typeof obj_resourceIds_item !== 'string') {
1113
+ return new TypeError('Expected "string" but received "' + typeof obj_resourceIds_item + '" (at "' + path_resourceIds_item + '")');
139
1114
  }
140
1115
  }
141
1116
  }
142
- if (obj.workTypeIds !== undefined) {
143
- const obj_workTypeIds = obj.workTypeIds;
144
- const path_workTypeIds = path + '.workTypeIds';
145
- if (!ArrayIsArray(obj_workTypeIds)) {
146
- return new TypeError('Expected "array" but received "' + typeof obj_workTypeIds + '" (at "' + path_workTypeIds + '")');
1117
+ if (obj.startTime !== undefined) {
1118
+ const obj_startTime = obj.startTime;
1119
+ const path_startTime = path + '.startTime';
1120
+ if (typeof obj_startTime !== 'string') {
1121
+ return new TypeError('Expected "string" but received "' + typeof obj_startTime + '" (at "' + path_startTime + '")');
1122
+ }
1123
+ }
1124
+ if (obj.territoryId !== undefined) {
1125
+ const obj_territoryId = obj.territoryId;
1126
+ const path_territoryId = path + '.territoryId';
1127
+ if (typeof obj_territoryId !== 'string') {
1128
+ return new TypeError('Expected "string" but received "' + typeof obj_territoryId + '" (at "' + path_territoryId + '")');
147
1129
  }
148
- for (let i = 0; i < obj_workTypeIds.length; i++) {
149
- const obj_workTypeIds_item = obj_workTypeIds[i];
150
- const path_workTypeIds_item = path_workTypeIds + '[' + i + ']';
151
- if (typeof obj_workTypeIds_item !== 'string') {
152
- return new TypeError('Expected "string" but received "' + typeof obj_workTypeIds_item + '" (at "' + path_workTypeIds_item + '")');
153
- }
1130
+ }
1131
+ if (obj.workTypeId !== undefined) {
1132
+ const obj_workTypeId = obj.workTypeId;
1133
+ const path_workTypeId = path + '.workTypeId';
1134
+ if (typeof obj_workTypeId !== 'string') {
1135
+ return new TypeError('Expected "string" but received "' + typeof obj_workTypeId + '" (at "' + path_workTypeId + '")');
154
1136
  }
155
1137
  }
156
1138
  })();
157
1139
  return v_error === undefined ? null : v_error;
158
1140
  }
159
- const select$H = function GetEngagementChannelTypeResultSelect() {
1141
+ const select$G = function GroupAppointmentResultSelect() {
1142
+ const { selections: ExtendedFieldsOutputRepresentation__selections, opaque: ExtendedFieldsOutputRepresentation__opaque, } = select$H();
160
1143
  return {
161
1144
  kind: 'Fragment',
162
- version: VERSION$v,
1145
+ version: VERSION$u,
163
1146
  private: [],
164
1147
  selections: [
165
1148
  {
166
- name: 'contactPoint',
1149
+ name: 'appointmentId',
167
1150
  kind: 'Scalar',
168
1151
  required: false
169
1152
  },
170
1153
  {
171
- name: 'contactPointType',
1154
+ name: 'attendeeCount',
172
1155
  kind: 'Scalar',
173
1156
  required: false
174
1157
  },
175
1158
  {
176
- name: 'id',
1159
+ name: 'attendeeLimit',
177
1160
  kind: 'Scalar',
178
1161
  required: false
179
1162
  },
180
1163
  {
181
- name: 'name',
1164
+ name: 'endTime',
182
1165
  kind: 'Scalar',
183
1166
  required: false
184
1167
  },
185
1168
  {
186
- name: 'workTypeGroupIds',
1169
+ name: 'engagementChannelTypeId',
187
1170
  kind: 'Scalar',
1171
+ required: false
1172
+ },
1173
+ {
1174
+ name: 'extendedFields',
1175
+ kind: 'Object',
188
1176
  plural: true,
1177
+ selections: ExtendedFieldsOutputRepresentation__selections,
189
1178
  required: false
190
1179
  },
191
1180
  {
192
- name: 'workTypeIds',
1181
+ name: 'parentRecordId',
1182
+ kind: 'Scalar',
1183
+ required: false
1184
+ },
1185
+ {
1186
+ name: 'resourceIds',
193
1187
  kind: 'Scalar',
194
1188
  plural: true,
195
1189
  required: false
1190
+ },
1191
+ {
1192
+ name: 'startTime',
1193
+ kind: 'Scalar',
1194
+ required: false
1195
+ },
1196
+ {
1197
+ name: 'territoryId',
1198
+ kind: 'Scalar',
1199
+ required: false
1200
+ },
1201
+ {
1202
+ name: 'workTypeId',
1203
+ kind: 'Scalar',
1204
+ required: false
196
1205
  }
197
1206
  ]
198
1207
  };
199
1208
  };
200
- function equals$v(existing, incoming) {
201
- const existing_contactPoint = existing.contactPoint;
202
- const incoming_contactPoint = incoming.contactPoint;
1209
+ function equals$u(existing, incoming) {
1210
+ const existing_attendeeCount = existing.attendeeCount;
1211
+ const incoming_attendeeCount = incoming.attendeeCount;
203
1212
  // if at least one of these optionals is defined
204
- if (existing_contactPoint !== undefined || incoming_contactPoint !== undefined) {
1213
+ if (existing_attendeeCount !== undefined || incoming_attendeeCount !== undefined) {
205
1214
  // if one of these is not defined we know the other is defined and therefore
206
1215
  // not equal
207
- if (existing_contactPoint === undefined || incoming_contactPoint === undefined) {
1216
+ if (existing_attendeeCount === undefined || incoming_attendeeCount === undefined) {
208
1217
  return false;
209
1218
  }
210
- if (!(existing_contactPoint === incoming_contactPoint)) {
1219
+ if (!(existing_attendeeCount === incoming_attendeeCount)) {
211
1220
  return false;
212
1221
  }
213
1222
  }
214
- const existing_contactPointType = existing.contactPointType;
215
- const incoming_contactPointType = incoming.contactPointType;
1223
+ const existing_attendeeLimit = existing.attendeeLimit;
1224
+ const incoming_attendeeLimit = incoming.attendeeLimit;
216
1225
  // if at least one of these optionals is defined
217
- if (existing_contactPointType !== undefined || incoming_contactPointType !== undefined) {
1226
+ if (existing_attendeeLimit !== undefined || incoming_attendeeLimit !== undefined) {
218
1227
  // if one of these is not defined we know the other is defined and therefore
219
1228
  // not equal
220
- if (existing_contactPointType === undefined || incoming_contactPointType === undefined) {
1229
+ if (existing_attendeeLimit === undefined || incoming_attendeeLimit === undefined) {
221
1230
  return false;
222
1231
  }
223
- if (!(existing_contactPointType === incoming_contactPointType)) {
1232
+ if (!(existing_attendeeLimit === incoming_attendeeLimit)) {
224
1233
  return false;
225
1234
  }
226
1235
  }
227
- const existing_id = existing.id;
228
- const incoming_id = incoming.id;
1236
+ const existing_appointmentId = existing.appointmentId;
1237
+ const incoming_appointmentId = incoming.appointmentId;
229
1238
  // if at least one of these optionals is defined
230
- if (existing_id !== undefined || incoming_id !== undefined) {
1239
+ if (existing_appointmentId !== undefined || incoming_appointmentId !== undefined) {
231
1240
  // if one of these is not defined we know the other is defined and therefore
232
1241
  // not equal
233
- if (existing_id === undefined || incoming_id === undefined) {
1242
+ if (existing_appointmentId === undefined || incoming_appointmentId === undefined) {
234
1243
  return false;
235
1244
  }
236
- if (!(existing_id === incoming_id)) {
1245
+ if (!(existing_appointmentId === incoming_appointmentId)) {
237
1246
  return false;
238
1247
  }
239
1248
  }
240
- const existing_name = existing.name;
241
- const incoming_name = incoming.name;
1249
+ const existing_endTime = existing.endTime;
1250
+ const incoming_endTime = incoming.endTime;
242
1251
  // if at least one of these optionals is defined
243
- if (existing_name !== undefined || incoming_name !== undefined) {
1252
+ if (existing_endTime !== undefined || incoming_endTime !== undefined) {
244
1253
  // if one of these is not defined we know the other is defined and therefore
245
1254
  // not equal
246
- if (existing_name === undefined || incoming_name === undefined) {
1255
+ if (existing_endTime === undefined || incoming_endTime === undefined) {
247
1256
  return false;
248
1257
  }
249
- if (!(existing_name === incoming_name)) {
1258
+ if (!(existing_endTime === incoming_endTime)) {
250
1259
  return false;
251
1260
  }
252
1261
  }
253
- const existing_workTypeGroupIds = existing.workTypeGroupIds;
254
- const incoming_workTypeGroupIds = incoming.workTypeGroupIds;
1262
+ const existing_engagementChannelTypeId = existing.engagementChannelTypeId;
1263
+ const incoming_engagementChannelTypeId = incoming.engagementChannelTypeId;
255
1264
  // if at least one of these optionals is defined
256
- if (existing_workTypeGroupIds !== undefined || incoming_workTypeGroupIds !== undefined) {
1265
+ if (existing_engagementChannelTypeId !== undefined || incoming_engagementChannelTypeId !== undefined) {
257
1266
  // if one of these is not defined we know the other is defined and therefore
258
1267
  // not equal
259
- if (existing_workTypeGroupIds === undefined || incoming_workTypeGroupIds === undefined) {
1268
+ if (existing_engagementChannelTypeId === undefined || incoming_engagementChannelTypeId === undefined) {
260
1269
  return false;
261
1270
  }
262
- const equals_workTypeGroupIds_items = equalsArray(existing_workTypeGroupIds, incoming_workTypeGroupIds, (existing_workTypeGroupIds_item, incoming_workTypeGroupIds_item) => {
263
- if (!(existing_workTypeGroupIds_item === incoming_workTypeGroupIds_item)) {
1271
+ if (!(existing_engagementChannelTypeId === incoming_engagementChannelTypeId)) {
1272
+ return false;
1273
+ }
1274
+ }
1275
+ const existing_parentRecordId = existing.parentRecordId;
1276
+ const incoming_parentRecordId = incoming.parentRecordId;
1277
+ // if at least one of these optionals is defined
1278
+ if (existing_parentRecordId !== undefined || incoming_parentRecordId !== undefined) {
1279
+ // if one of these is not defined we know the other is defined and therefore
1280
+ // not equal
1281
+ if (existing_parentRecordId === undefined || incoming_parentRecordId === undefined) {
1282
+ return false;
1283
+ }
1284
+ if (!(existing_parentRecordId === incoming_parentRecordId)) {
1285
+ return false;
1286
+ }
1287
+ }
1288
+ const existing_startTime = existing.startTime;
1289
+ const incoming_startTime = incoming.startTime;
1290
+ // if at least one of these optionals is defined
1291
+ if (existing_startTime !== undefined || incoming_startTime !== undefined) {
1292
+ // if one of these is not defined we know the other is defined and therefore
1293
+ // not equal
1294
+ if (existing_startTime === undefined || incoming_startTime === undefined) {
1295
+ return false;
1296
+ }
1297
+ if (!(existing_startTime === incoming_startTime)) {
1298
+ return false;
1299
+ }
1300
+ }
1301
+ const existing_territoryId = existing.territoryId;
1302
+ const incoming_territoryId = incoming.territoryId;
1303
+ // if at least one of these optionals is defined
1304
+ if (existing_territoryId !== undefined || incoming_territoryId !== undefined) {
1305
+ // if one of these is not defined we know the other is defined and therefore
1306
+ // not equal
1307
+ if (existing_territoryId === undefined || incoming_territoryId === undefined) {
1308
+ return false;
1309
+ }
1310
+ if (!(existing_territoryId === incoming_territoryId)) {
1311
+ return false;
1312
+ }
1313
+ }
1314
+ const existing_workTypeId = existing.workTypeId;
1315
+ const incoming_workTypeId = incoming.workTypeId;
1316
+ // if at least one of these optionals is defined
1317
+ if (existing_workTypeId !== undefined || incoming_workTypeId !== undefined) {
1318
+ // if one of these is not defined we know the other is defined and therefore
1319
+ // not equal
1320
+ if (existing_workTypeId === undefined || incoming_workTypeId === undefined) {
1321
+ return false;
1322
+ }
1323
+ if (!(existing_workTypeId === incoming_workTypeId)) {
1324
+ return false;
1325
+ }
1326
+ }
1327
+ const existing_extendedFields = existing.extendedFields;
1328
+ const incoming_extendedFields = incoming.extendedFields;
1329
+ // if at least one of these optionals is defined
1330
+ if (existing_extendedFields !== undefined || incoming_extendedFields !== undefined) {
1331
+ // if one of these is not defined we know the other is defined and therefore
1332
+ // not equal
1333
+ if (existing_extendedFields === undefined || incoming_extendedFields === undefined) {
1334
+ return false;
1335
+ }
1336
+ const equals_extendedFields_items = equalsArray(existing_extendedFields, incoming_extendedFields, (existing_extendedFields_item, incoming_extendedFields_item) => {
1337
+ if (!(equals$v(existing_extendedFields_item, incoming_extendedFields_item))) {
264
1338
  return false;
265
1339
  }
266
1340
  });
267
- if (equals_workTypeGroupIds_items === false) {
1341
+ if (equals_extendedFields_items === false) {
268
1342
  return false;
269
1343
  }
270
1344
  }
271
- const existing_workTypeIds = existing.workTypeIds;
272
- const incoming_workTypeIds = incoming.workTypeIds;
1345
+ const existing_resourceIds = existing.resourceIds;
1346
+ const incoming_resourceIds = incoming.resourceIds;
273
1347
  // if at least one of these optionals is defined
274
- if (existing_workTypeIds !== undefined || incoming_workTypeIds !== undefined) {
1348
+ if (existing_resourceIds !== undefined || incoming_resourceIds !== undefined) {
275
1349
  // if one of these is not defined we know the other is defined and therefore
276
1350
  // not equal
277
- if (existing_workTypeIds === undefined || incoming_workTypeIds === undefined) {
1351
+ if (existing_resourceIds === undefined || incoming_resourceIds === undefined) {
278
1352
  return false;
279
1353
  }
280
- const equals_workTypeIds_items = equalsArray(existing_workTypeIds, incoming_workTypeIds, (existing_workTypeIds_item, incoming_workTypeIds_item) => {
281
- if (!(existing_workTypeIds_item === incoming_workTypeIds_item)) {
1354
+ const equals_resourceIds_items = equalsArray(existing_resourceIds, incoming_resourceIds, (existing_resourceIds_item, incoming_resourceIds_item) => {
1355
+ if (!(existing_resourceIds_item === incoming_resourceIds_item)) {
282
1356
  return false;
283
1357
  }
284
1358
  });
285
- if (equals_workTypeIds_items === false) {
1359
+ if (equals_resourceIds_items === false) {
286
1360
  return false;
287
1361
  }
288
1362
  }
289
1363
  return true;
290
1364
  }
291
1365
 
292
- const VERSION$u = "129c53d5f8fb579d31c255a020838251";
293
- function validate$y(obj, path = 'GetEngagementChannelTypeListResult') {
1366
+ const VERSION$t = "285a28be083bf65a61201b367253b128";
1367
+ function validate$x(obj, path = 'GetGroupAppointmentsListResult') {
294
1368
  const v_error = (() => {
295
1369
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
296
1370
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
297
1371
  }
298
- const obj_engagementChannelTypes = obj.engagementChannelTypes;
299
- const path_engagementChannelTypes = path + '.engagementChannelTypes';
300
- if (!ArrayIsArray(obj_engagementChannelTypes)) {
301
- return new TypeError('Expected "array" but received "' + typeof obj_engagementChannelTypes + '" (at "' + path_engagementChannelTypes + '")');
302
- }
303
- for (let i = 0; i < obj_engagementChannelTypes.length; i++) {
304
- const obj_engagementChannelTypes_item = obj_engagementChannelTypes[i];
305
- const path_engagementChannelTypes_item = path_engagementChannelTypes + '[' + i + ']';
306
- const referencepath_engagementChannelTypes_itemValidationError = validate$z(obj_engagementChannelTypes_item, path_engagementChannelTypes_item);
307
- if (referencepath_engagementChannelTypes_itemValidationError !== null) {
308
- let message = 'Object doesn\'t match GetEngagementChannelTypeResult (at "' + path_engagementChannelTypes_item + '")\n';
309
- message += referencepath_engagementChannelTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1372
+ const obj_groupAppointments = obj.groupAppointments;
1373
+ const path_groupAppointments = path + '.groupAppointments';
1374
+ if (!ArrayIsArray(obj_groupAppointments)) {
1375
+ return new TypeError('Expected "array" but received "' + typeof obj_groupAppointments + '" (at "' + path_groupAppointments + '")');
1376
+ }
1377
+ for (let i = 0; i < obj_groupAppointments.length; i++) {
1378
+ const obj_groupAppointments_item = obj_groupAppointments[i];
1379
+ const path_groupAppointments_item = path_groupAppointments + '[' + i + ']';
1380
+ const referencepath_groupAppointments_itemValidationError = validate$y(obj_groupAppointments_item, path_groupAppointments_item);
1381
+ if (referencepath_groupAppointments_itemValidationError !== null) {
1382
+ let message = 'Object doesn\'t match GroupAppointmentResult (at "' + path_groupAppointments_item + '")\n';
1383
+ message += referencepath_groupAppointments_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
310
1384
  return new TypeError(message);
311
1385
  }
312
1386
  }
313
1387
  })();
314
1388
  return v_error === undefined ? null : v_error;
315
1389
  }
316
- const select$G = function GetEngagementChannelTypeListResultSelect() {
317
- const { selections: GetEngagementChannelTypeResult__selections, opaque: GetEngagementChannelTypeResult__opaque, } = select$H();
1390
+ const select$F = function GetGroupAppointmentsListResultSelect() {
1391
+ const { selections: GroupAppointmentResult__selections, opaque: GroupAppointmentResult__opaque, } = select$G();
318
1392
  return {
319
1393
  kind: 'Fragment',
320
- version: VERSION$u,
1394
+ version: VERSION$t,
321
1395
  private: [],
322
1396
  selections: [
323
1397
  {
324
- name: 'engagementChannelTypes',
1398
+ name: 'groupAppointments',
325
1399
  kind: 'Object',
326
1400
  plural: true,
327
- selections: GetEngagementChannelTypeResult__selections
1401
+ selections: GroupAppointmentResult__selections
328
1402
  }
329
1403
  ]
330
1404
  };
331
1405
  };
332
- function equals$u(existing, incoming) {
333
- const existing_engagementChannelTypes = existing.engagementChannelTypes;
334
- const incoming_engagementChannelTypes = incoming.engagementChannelTypes;
335
- const equals_engagementChannelTypes_items = equalsArray(existing_engagementChannelTypes, incoming_engagementChannelTypes, (existing_engagementChannelTypes_item, incoming_engagementChannelTypes_item) => {
336
- if (!(equals$v(existing_engagementChannelTypes_item, incoming_engagementChannelTypes_item))) {
1406
+ function equals$t(existing, incoming) {
1407
+ const existing_groupAppointments = existing.groupAppointments;
1408
+ const incoming_groupAppointments = incoming.groupAppointments;
1409
+ const equals_groupAppointments_items = equalsArray(existing_groupAppointments, incoming_groupAppointments, (existing_groupAppointments_item, incoming_groupAppointments_item) => {
1410
+ if (!(equals$u(existing_groupAppointments_item, incoming_groupAppointments_item))) {
337
1411
  return false;
338
1412
  }
339
1413
  });
340
- if (equals_engagementChannelTypes_items === false) {
1414
+ if (equals_groupAppointments_items === false) {
341
1415
  return false;
342
1416
  }
343
1417
  return true;
344
1418
  }
345
1419
 
346
- const VERSION$t = "622654426aa18b7c8846e6d863a5f446";
347
- function validate$x(obj, path = 'GetEngagementChannelTypeOutputRepresentation') {
1420
+ const VERSION$s = "dd808b5c4d7acc763844a203f7558772";
1421
+ function validate$w(obj, path = 'GetGroupAppointmentsOutputRepresentation') {
348
1422
  const v_error = (() => {
349
1423
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
350
1424
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
351
1425
  }
352
1426
  const obj_result = obj.result;
353
1427
  const path_result = path + '.result';
354
- const referencepath_resultValidationError = validate$y(obj_result, path_result);
1428
+ const referencepath_resultValidationError = validate$x(obj_result, path_result);
355
1429
  if (referencepath_resultValidationError !== null) {
356
- let message = 'Object doesn\'t match GetEngagementChannelTypeListResult (at "' + path_result + '")\n';
1430
+ let message = 'Object doesn\'t match GetGroupAppointmentsListResult (at "' + path_result + '")\n';
357
1431
  message += referencepath_resultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
358
1432
  return new TypeError(message);
359
1433
  }
360
1434
  })();
361
1435
  return v_error === undefined ? null : v_error;
362
1436
  }
363
- const RepresentationType$d = 'GetEngagementChannelTypeOutputRepresentation';
1437
+ const RepresentationType$d = 'GetGroupAppointmentsOutputRepresentation';
364
1438
  function normalize$d(input, existing, path, luvio, store, timestamp) {
365
1439
  return input;
366
1440
  }
367
- const select$F = function GetEngagementChannelTypeOutputRepresentationSelect() {
368
- const { selections: GetEngagementChannelTypeListResult__selections, opaque: GetEngagementChannelTypeListResult__opaque, } = select$G();
1441
+ const select$E = function GetGroupAppointmentsOutputRepresentationSelect() {
1442
+ const { selections: GetGroupAppointmentsListResult__selections, opaque: GetGroupAppointmentsListResult__opaque, } = select$F();
369
1443
  return {
370
1444
  kind: 'Fragment',
371
- version: VERSION$t,
1445
+ version: VERSION$s,
372
1446
  private: [],
373
1447
  selections: [
374
1448
  {
375
1449
  name: 'result',
376
1450
  kind: 'Object',
377
- selections: GetEngagementChannelTypeListResult__selections
1451
+ selections: GetGroupAppointmentsListResult__selections
378
1452
  }
379
1453
  ]
380
1454
  };
381
1455
  };
382
- function equals$t(existing, incoming) {
1456
+ function equals$s(existing, incoming) {
383
1457
  const existing_result = existing.result;
384
1458
  const incoming_result = incoming.result;
385
- if (!(equals$u(existing_result, incoming_result))) {
1459
+ if (!(equals$t(existing_result, incoming_result))) {
386
1460
  return false;
387
1461
  }
388
1462
  return true;
389
1463
  }
390
- const ingest$d = function GetEngagementChannelTypeOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1464
+ const ingest$d = function GetGroupAppointmentsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
391
1465
  if (process.env.NODE_ENV !== 'production') {
392
- const validateError = validate$x(input);
1466
+ const validateError = validate$w(input);
393
1467
  if (validateError !== null) {
394
1468
  throw validateError;
395
1469
  }
396
1470
  }
397
1471
  const key = path.fullPath;
398
1472
  const ttlToUse = path.ttl !== undefined ? path.ttl : 360000;
399
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "IndustriesScheduler", VERSION$t, RepresentationType$d, equals$t);
1473
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "IndustriesScheduler", VERSION$s, RepresentationType$d, equals$s);
400
1474
  return createLink(key);
401
1475
  };
402
1476
  function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
@@ -409,11 +1483,11 @@ function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
409
1483
  });
410
1484
  }
411
1485
 
412
- function select$E(luvio, params) {
413
- return select$F();
1486
+ function select$D(luvio, params) {
1487
+ return select$E();
414
1488
  }
415
1489
  function keyBuilder$j(luvio, params) {
416
- return keyPrefix + '::GetEngagementChannelTypeOutputRepresentation:(' + 'workTypeGroupIds:' + params.queryParams.workTypeGroupIds + ',' + 'workTypeIds:' + params.queryParams.workTypeIds + ')';
1490
+ return keyPrefix + '::GetGroupAppointmentsOutputRepresentation:(' + (params.body.startTime === undefined ? 'startTime' : 'startTime:' + params.body.startTime) + '::' + (params.body.endTime === undefined ? 'endTime' : 'endTime:' + params.body.endTime) + '::' + (params.body.limit === undefined ? 'limit' : 'limit:' + params.body.limit) + '::' + (params.body.offset === undefined ? 'offset' : 'offset:' + params.body.offset) + '::' + (params.body.filterByWorkTypeGroups === undefined ? 'filterByWorkTypeGroups' : 'filterByWorkTypeGroups:' + params.body.filterByWorkTypeGroups) + '::' + (params.body.filterByWorkTypes === undefined ? 'filterByWorkTypes' : 'filterByWorkTypes:' + params.body.filterByWorkTypes) + '::' + (params.body.filterByParentRecords === undefined ? 'filterByParentRecords' : 'filterByParentRecords:' + params.body.filterByParentRecords) + '::' + (params.body.filterByTerritories === undefined ? 'filterByTerritories' : 'filterByTerritories:' + params.body.filterByTerritories) + '::' + (params.body.filterByResources === undefined ? 'filterByResources' : 'filterByResources:' + params.body.filterByResources) + '::' + (params.body.extendedFieldsToQuery === undefined ? 'extendedFieldsToQuery' : 'extendedFieldsToQuery:' + params.body.extendedFieldsToQuery) + ')';
417
1491
  }
418
1492
  function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
419
1493
  getTypeCacheKeys$d(storeKeyMap, luvio, response, () => keyBuilder$j(luvio, resourceParams));
@@ -424,7 +1498,7 @@ function ingestSuccess$b(luvio, resourceParams, response, snapshotRefresh) {
424
1498
  luvio.storeIngest(key, ingest$d, body);
425
1499
  const snapshot = luvio.storeLookup({
426
1500
  recordId: key,
427
- node: select$E(),
1501
+ node: select$D(),
428
1502
  variables: {},
429
1503
  }, snapshotRefresh);
430
1504
  if (process.env.NODE_ENV !== 'production') {
@@ -445,30 +1519,38 @@ function createResourceRequest$b(config) {
445
1519
  const headers = {};
446
1520
  return {
447
1521
  baseUri: '/services/data/v61.0',
448
- basePath: '/connect/scheduling/engagement-channel-types',
449
- method: 'get',
450
- body: null,
1522
+ basePath: '/connect/scheduling/group-appointments',
1523
+ method: 'post',
1524
+ body: config.body,
451
1525
  urlParams: {},
452
- queryParams: config.queryParams,
1526
+ queryParams: {},
453
1527
  headers,
454
1528
  priority: 'normal',
455
1529
  };
456
1530
  }
457
1531
 
458
- const adapterName$b = 'getEngagementChannelTypes';
459
- const getEngagementChannelTypes_ConfigPropertyMetadata = [
460
- generateParamConfigMetadata('workTypeGroupIds', false, 1 /* QueryParameter */, 0 /* String */, true),
461
- generateParamConfigMetadata('workTypeIds', false, 1 /* QueryParameter */, 0 /* String */, true),
1532
+ const adapterName$b = 'getGroupAppointments';
1533
+ const getGroupAppointments_ConfigPropertyMetadata = [
1534
+ generateParamConfigMetadata('startTime', false, 2 /* Body */, 0 /* String */),
1535
+ generateParamConfigMetadata('endTime', false, 2 /* Body */, 0 /* String */),
1536
+ generateParamConfigMetadata('limit', false, 2 /* Body */, 3 /* Integer */),
1537
+ generateParamConfigMetadata('offset', false, 2 /* Body */, 3 /* Integer */),
1538
+ generateParamConfigMetadata('filterByWorkTypeGroups', false, 2 /* Body */, 0 /* String */, true),
1539
+ generateParamConfigMetadata('filterByWorkTypes', false, 2 /* Body */, 0 /* String */, true),
1540
+ generateParamConfigMetadata('filterByParentRecords', false, 2 /* Body */, 0 /* String */, true),
1541
+ generateParamConfigMetadata('filterByTerritories', false, 2 /* Body */, 0 /* String */, true),
1542
+ generateParamConfigMetadata('filterByResources', false, 2 /* Body */, 0 /* String */, true),
1543
+ generateParamConfigMetadata('extendedFieldsToQuery', false, 2 /* Body */, 0 /* String */, true),
462
1544
  ];
463
- const getEngagementChannelTypes_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, getEngagementChannelTypes_ConfigPropertyMetadata);
464
- const createResourceParams$b = /*#__PURE__*/ createResourceParams$c(getEngagementChannelTypes_ConfigPropertyMetadata);
1545
+ const getGroupAppointments_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, getGroupAppointments_ConfigPropertyMetadata);
1546
+ const createResourceParams$b = /*#__PURE__*/ createResourceParams$e(getGroupAppointments_ConfigPropertyMetadata);
465
1547
  function keyBuilder$i(luvio, config) {
466
1548
  const resourceParams = createResourceParams$b(config);
467
1549
  return keyBuilder$j(luvio, resourceParams);
468
1550
  }
469
1551
  function typeCheckConfig$b(untrustedConfig) {
470
1552
  const config = {};
471
- typeCheckConfig$c(untrustedConfig, config, getEngagementChannelTypes_ConfigPropertyMetadata);
1553
+ typeCheckConfig$e(untrustedConfig, config, getGroupAppointments_ConfigPropertyMetadata);
472
1554
  return config;
473
1555
  }
474
1556
  function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
@@ -486,7 +1568,7 @@ function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
486
1568
  }
487
1569
  function adapterFragment$5(luvio, config) {
488
1570
  createResourceParams$b(config);
489
- return select$E();
1571
+ return select$D();
490
1572
  }
491
1573
  function onFetchResponseSuccess$5(luvio, config, resourceParams, response) {
492
1574
  const snapshot = ingestSuccess$b(luvio, resourceParams, response, {
@@ -517,7 +1599,7 @@ function buildNetworkSnapshot$b(luvio, config, options) {
517
1599
  });
518
1600
  }
519
1601
  function buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext) {
520
- return buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext, buildNetworkSnapshot$b, undefined, false);
1602
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$b, 'get', false);
521
1603
  }
522
1604
  function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
523
1605
  const { luvio, config } = context;
@@ -532,8 +1614,8 @@ function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
532
1614
  });
533
1615
  return cacheSnapshot;
534
1616
  }
535
- const getEngagementChannelTypesAdapterFactory = (luvio) => function IndustriesScheduler__getEngagementChannelTypes(untrustedConfig, requestContext) {
536
- const config = validateAdapterConfig$b(untrustedConfig, getEngagementChannelTypes_ConfigPropertyNames);
1617
+ const getGroupAppointmentsAdapterFactory = (luvio) => function IndustriesScheduler__getGroupAppointments(untrustedConfig, requestContext) {
1618
+ const config = validateAdapterConfig$b(untrustedConfig, getGroupAppointments_ConfigPropertyNames);
537
1619
  // Invalid or incomplete config
538
1620
  if (config === null) {
539
1621
  return null;
@@ -542,8 +1624,8 @@ const getEngagementChannelTypesAdapterFactory = (luvio) => function IndustriesSc
542
1624
  buildCachedSnapshotCachePolicy$5, buildNetworkSnapshotCachePolicy$5);
543
1625
  };
544
1626
 
545
- const VERSION$s = "235368820a5a56f542c7f4ecb4e2141c";
546
- function validate$w(obj, path = 'WaitlistServiceResourceWithWorkTypes') {
1627
+ const VERSION$r = "235368820a5a56f542c7f4ecb4e2141c";
1628
+ function validate$v(obj, path = 'WaitlistServiceResourceWithWorkTypes') {
547
1629
  const v_error = (() => {
548
1630
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
549
1631
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -578,10 +1660,10 @@ function validate$w(obj, path = 'WaitlistServiceResourceWithWorkTypes') {
578
1660
  })();
579
1661
  return v_error === undefined ? null : v_error;
580
1662
  }
581
- const select$D = function WaitlistServiceResourceWithWorkTypesSelect() {
1663
+ const select$C = function WaitlistServiceResourceWithWorkTypesSelect() {
582
1664
  return {
583
1665
  kind: 'Fragment',
584
- version: VERSION$s,
1666
+ version: VERSION$r,
585
1667
  private: [],
586
1668
  selections: [
587
1669
  {
@@ -604,7 +1686,7 @@ const select$D = function WaitlistServiceResourceWithWorkTypesSelect() {
604
1686
  ]
605
1687
  };
606
1688
  };
607
- function equals$s(existing, incoming) {
1689
+ function equals$r(existing, incoming) {
608
1690
  const existing_id = existing.id;
609
1691
  const incoming_id = incoming.id;
610
1692
  if (!(existing_id === incoming_id)) {
@@ -633,8 +1715,8 @@ function equals$s(existing, incoming) {
633
1715
  return true;
634
1716
  }
635
1717
 
636
- const VERSION$r = "9d573b064500fae0b4205231dae5af50";
637
- function validate$v(obj, path = 'WaitlistWorkTypeGroup') {
1718
+ const VERSION$q = "9d573b064500fae0b4205231dae5af50";
1719
+ function validate$u(obj, path = 'WaitlistWorkTypeGroup') {
638
1720
  const v_error = (() => {
639
1721
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
640
1722
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -656,10 +1738,10 @@ function validate$v(obj, path = 'WaitlistWorkTypeGroup') {
656
1738
  })();
657
1739
  return v_error === undefined ? null : v_error;
658
1740
  }
659
- const select$C = function WaitlistWorkTypeGroupSelect() {
1741
+ const select$B = function WaitlistWorkTypeGroupSelect() {
660
1742
  return {
661
1743
  kind: 'Fragment',
662
- version: VERSION$r,
1744
+ version: VERSION$q,
663
1745
  private: [],
664
1746
  selections: [
665
1747
  {
@@ -675,7 +1757,7 @@ const select$C = function WaitlistWorkTypeGroupSelect() {
675
1757
  ]
676
1758
  };
677
1759
  };
678
- function equals$r(existing, incoming) {
1760
+ function equals$q(existing, incoming) {
679
1761
  const existing_id = existing.id;
680
1762
  const incoming_id = incoming.id;
681
1763
  // if at least one of these optionals is defined
@@ -705,8 +1787,8 @@ function equals$r(existing, incoming) {
705
1787
  return true;
706
1788
  }
707
1789
 
708
- const VERSION$q = "30392f4c9c348c3e9081046d48f7bd4b";
709
- function validate$u(obj, path = 'GetNextWaitlistParticipantResult') {
1790
+ const VERSION$p = "30392f4c9c348c3e9081046d48f7bd4b";
1791
+ function validate$t(obj, path = 'GetNextWaitlistParticipantResult') {
710
1792
  const v_error = (() => {
711
1793
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
712
1794
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -720,7 +1802,7 @@ function validate$u(obj, path = 'GetNextWaitlistParticipantResult') {
720
1802
  }
721
1803
  const obj_waitlistServiceResource = obj.waitlistServiceResource;
722
1804
  const path_waitlistServiceResource = path + '.waitlistServiceResource';
723
- const referencepath_waitlistServiceResourceValidationError = validate$w(obj_waitlistServiceResource, path_waitlistServiceResource);
1805
+ const referencepath_waitlistServiceResourceValidationError = validate$v(obj_waitlistServiceResource, path_waitlistServiceResource);
724
1806
  if (referencepath_waitlistServiceResourceValidationError !== null) {
725
1807
  let message = 'Object doesn\'t match WaitlistServiceResourceWithWorkTypes (at "' + path_waitlistServiceResource + '")\n';
726
1808
  message += referencepath_waitlistServiceResourceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -735,7 +1817,7 @@ function validate$u(obj, path = 'GetNextWaitlistParticipantResult') {
735
1817
  for (let i = 0; i < obj_workTypeGroups.length; i++) {
736
1818
  const obj_workTypeGroups_item = obj_workTypeGroups[i];
737
1819
  const path_workTypeGroups_item = path_workTypeGroups + '[' + i + ']';
738
- const referencepath_workTypeGroups_itemValidationError = validate$v(obj_workTypeGroups_item, path_workTypeGroups_item);
1820
+ const referencepath_workTypeGroups_itemValidationError = validate$u(obj_workTypeGroups_item, path_workTypeGroups_item);
739
1821
  if (referencepath_workTypeGroups_itemValidationError !== null) {
740
1822
  let message = 'Object doesn\'t match WaitlistWorkTypeGroup (at "' + path_workTypeGroups_item + '")\n';
741
1823
  message += referencepath_workTypeGroups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -753,12 +1835,12 @@ function validate$u(obj, path = 'GetNextWaitlistParticipantResult') {
753
1835
  })();
754
1836
  return v_error === undefined ? null : v_error;
755
1837
  }
756
- const select$B = function GetNextWaitlistParticipantResultSelect() {
757
- const { selections: WaitlistServiceResourceWithWorkTypes__selections, opaque: WaitlistServiceResourceWithWorkTypes__opaque, } = select$D();
758
- const { selections: WaitlistWorkTypeGroup__selections, opaque: WaitlistWorkTypeGroup__opaque, } = select$C();
1838
+ const select$A = function GetNextWaitlistParticipantResultSelect() {
1839
+ const { selections: WaitlistServiceResourceWithWorkTypes__selections, opaque: WaitlistServiceResourceWithWorkTypes__opaque, } = select$C();
1840
+ const { selections: WaitlistWorkTypeGroup__selections, opaque: WaitlistWorkTypeGroup__opaque, } = select$B();
759
1841
  return {
760
1842
  kind: 'Fragment',
761
- version: VERSION$q,
1843
+ version: VERSION$p,
762
1844
  private: [],
763
1845
  selections: [
764
1846
  {
@@ -786,7 +1868,7 @@ const select$B = function GetNextWaitlistParticipantResultSelect() {
786
1868
  ]
787
1869
  };
788
1870
  };
789
- function equals$q(existing, incoming) {
1871
+ function equals$p(existing, incoming) {
790
1872
  const existing_waitlistParticipantId = existing.waitlistParticipantId;
791
1873
  const incoming_waitlistParticipantId = incoming.waitlistParticipantId;
792
1874
  // if at least one of these optionals is defined
@@ -815,7 +1897,7 @@ function equals$q(existing, incoming) {
815
1897
  }
816
1898
  const existing_waitlistServiceResource = existing.waitlistServiceResource;
817
1899
  const incoming_waitlistServiceResource = incoming.waitlistServiceResource;
818
- if (!(equals$s(existing_waitlistServiceResource, incoming_waitlistServiceResource))) {
1900
+ if (!(equals$r(existing_waitlistServiceResource, incoming_waitlistServiceResource))) {
819
1901
  return false;
820
1902
  }
821
1903
  const existing_workTypeGroups = existing.workTypeGroups;
@@ -828,7 +1910,7 @@ function equals$q(existing, incoming) {
828
1910
  return false;
829
1911
  }
830
1912
  const equals_workTypeGroups_items = equalsArray(existing_workTypeGroups, incoming_workTypeGroups, (existing_workTypeGroups_item, incoming_workTypeGroups_item) => {
831
- if (!(equals$r(existing_workTypeGroups_item, incoming_workTypeGroups_item))) {
1913
+ if (!(equals$q(existing_workTypeGroups_item, incoming_workTypeGroups_item))) {
832
1914
  return false;
833
1915
  }
834
1916
  });
@@ -839,15 +1921,15 @@ function equals$q(existing, incoming) {
839
1921
  return true;
840
1922
  }
841
1923
 
842
- const VERSION$p = "fdb3c9715f03c84992830bbcea4fb245";
843
- function validate$t(obj, path = 'GetNextWaitlistParticipantOutputRepresentation') {
1924
+ const VERSION$o = "fdb3c9715f03c84992830bbcea4fb245";
1925
+ function validate$s(obj, path = 'GetNextWaitlistParticipantOutputRepresentation') {
844
1926
  const v_error = (() => {
845
1927
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
846
1928
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
847
1929
  }
848
1930
  const obj_result = obj.result;
849
1931
  const path_result = path + '.result';
850
- const referencepath_resultValidationError = validate$u(obj_result, path_result);
1932
+ const referencepath_resultValidationError = validate$t(obj_result, path_result);
851
1933
  if (referencepath_resultValidationError !== null) {
852
1934
  let message = 'Object doesn\'t match GetNextWaitlistParticipantResult (at "' + path_result + '")\n';
853
1935
  message += referencepath_resultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -860,11 +1942,11 @@ const RepresentationType$c = 'GetNextWaitlistParticipantOutputRepresentation';
860
1942
  function normalize$c(input, existing, path, luvio, store, timestamp) {
861
1943
  return input;
862
1944
  }
863
- const select$A = function GetNextWaitlistParticipantOutputRepresentationSelect() {
864
- const { selections: GetNextWaitlistParticipantResult__selections, opaque: GetNextWaitlistParticipantResult__opaque, } = select$B();
1945
+ const select$z = function GetNextWaitlistParticipantOutputRepresentationSelect() {
1946
+ const { selections: GetNextWaitlistParticipantResult__selections, opaque: GetNextWaitlistParticipantResult__opaque, } = select$A();
865
1947
  return {
866
1948
  kind: 'Fragment',
867
- version: VERSION$p,
1949
+ version: VERSION$o,
868
1950
  private: [],
869
1951
  selections: [
870
1952
  {
@@ -875,24 +1957,24 @@ const select$A = function GetNextWaitlistParticipantOutputRepresentationSelect()
875
1957
  ]
876
1958
  };
877
1959
  };
878
- function equals$p(existing, incoming) {
1960
+ function equals$o(existing, incoming) {
879
1961
  const existing_result = existing.result;
880
1962
  const incoming_result = incoming.result;
881
- if (!(equals$q(existing_result, incoming_result))) {
1963
+ if (!(equals$p(existing_result, incoming_result))) {
882
1964
  return false;
883
1965
  }
884
1966
  return true;
885
1967
  }
886
1968
  const ingest$c = function GetNextWaitlistParticipantOutputRepresentationIngest(input, path, luvio, store, timestamp) {
887
1969
  if (process.env.NODE_ENV !== 'production') {
888
- const validateError = validate$t(input);
1970
+ const validateError = validate$s(input);
889
1971
  if (validateError !== null) {
890
1972
  throw validateError;
891
1973
  }
892
1974
  }
893
1975
  const key = path.fullPath;
894
1976
  const ttlToUse = path.ttl !== undefined ? path.ttl : 360000;
895
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "IndustriesScheduler", VERSION$p, RepresentationType$c, equals$p);
1977
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "IndustriesScheduler", VERSION$o, RepresentationType$c, equals$o);
896
1978
  return createLink(key);
897
1979
  };
898
1980
  function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
@@ -905,8 +1987,8 @@ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
905
1987
  });
906
1988
  }
907
1989
 
908
- function select$z(luvio, params) {
909
- return select$A();
1990
+ function select$y(luvio, params) {
1991
+ return select$z();
910
1992
  }
911
1993
  function keyBuilder$h(luvio, params) {
912
1994
  return keyPrefix + '::GetNextWaitlistParticipantOutputRepresentation:(' + 'userId:' + params.queryParams.userId + ')';
@@ -920,7 +2002,7 @@ function ingestSuccess$a(luvio, resourceParams, response, snapshotRefresh) {
920
2002
  luvio.storeIngest(key, ingest$c, body);
921
2003
  const snapshot = luvio.storeLookup({
922
2004
  recordId: key,
923
- node: select$z(),
2005
+ node: select$y(),
924
2006
  variables: {},
925
2007
  }, snapshotRefresh);
926
2008
  if (process.env.NODE_ENV !== 'production') {
@@ -956,14 +2038,14 @@ const getNextWaitlistParticipant_ConfigPropertyMetadata = [
956
2038
  generateParamConfigMetadata('userId', false, 1 /* QueryParameter */, 0 /* String */),
957
2039
  ];
958
2040
  const getNextWaitlistParticipant_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, getNextWaitlistParticipant_ConfigPropertyMetadata);
959
- const createResourceParams$a = /*#__PURE__*/ createResourceParams$c(getNextWaitlistParticipant_ConfigPropertyMetadata);
2041
+ const createResourceParams$a = /*#__PURE__*/ createResourceParams$e(getNextWaitlistParticipant_ConfigPropertyMetadata);
960
2042
  function keyBuilder$g(luvio, config) {
961
2043
  const resourceParams = createResourceParams$a(config);
962
2044
  return keyBuilder$h(luvio, resourceParams);
963
2045
  }
964
2046
  function typeCheckConfig$a(untrustedConfig) {
965
2047
  const config = {};
966
- typeCheckConfig$c(untrustedConfig, config, getNextWaitlistParticipant_ConfigPropertyMetadata);
2048
+ typeCheckConfig$e(untrustedConfig, config, getNextWaitlistParticipant_ConfigPropertyMetadata);
967
2049
  return config;
968
2050
  }
969
2051
  function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
@@ -981,7 +2063,7 @@ function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
981
2063
  }
982
2064
  function adapterFragment$4(luvio, config) {
983
2065
  createResourceParams$a(config);
984
- return select$z();
2066
+ return select$y();
985
2067
  }
986
2068
  function onFetchResponseSuccess$4(luvio, config, resourceParams, response) {
987
2069
  const snapshot = ingestSuccess$a(luvio, resourceParams, response, {
@@ -1012,7 +2094,7 @@ function buildNetworkSnapshot$a(luvio, config, options) {
1012
2094
  });
1013
2095
  }
1014
2096
  function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext) {
1015
- return buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext, buildNetworkSnapshot$a, undefined, false);
2097
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$a, undefined, false);
1016
2098
  }
1017
2099
  function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
1018
2100
  const { luvio, config } = context;
@@ -1037,8 +2119,8 @@ const getNextWaitlistParticipantAdapterFactory = (luvio) => function IndustriesS
1037
2119
  buildCachedSnapshotCachePolicy$4, buildNetworkSnapshotCachePolicy$4);
1038
2120
  };
1039
2121
 
1040
- const VERSION$o = "2ef071c700b84cba91e63e981e2eede7";
1041
- function validate$s(obj, path = 'WaitlistServiceResource') {
2122
+ const VERSION$n = "2ef071c700b84cba91e63e981e2eede7";
2123
+ function validate$r(obj, path = 'WaitlistServiceResource') {
1042
2124
  const v_error = (() => {
1043
2125
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1044
2126
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1060,10 +2142,10 @@ function validate$s(obj, path = 'WaitlistServiceResource') {
1060
2142
  })();
1061
2143
  return v_error === undefined ? null : v_error;
1062
2144
  }
1063
- const select$y = function WaitlistServiceResourceSelect() {
2145
+ const select$x = function WaitlistServiceResourceSelect() {
1064
2146
  return {
1065
2147
  kind: 'Fragment',
1066
- version: VERSION$o,
2148
+ version: VERSION$n,
1067
2149
  private: [],
1068
2150
  selections: [
1069
2151
  {
@@ -1079,7 +2161,7 @@ const select$y = function WaitlistServiceResourceSelect() {
1079
2161
  ]
1080
2162
  };
1081
2163
  };
1082
- function equals$o(existing, incoming) {
2164
+ function equals$n(existing, incoming) {
1083
2165
  const existing_id = existing.id;
1084
2166
  const incoming_id = incoming.id;
1085
2167
  // if at least one of these optionals is defined
@@ -1109,8 +2191,8 @@ function equals$o(existing, incoming) {
1109
2191
  return true;
1110
2192
  }
1111
2193
 
1112
- const VERSION$n = "94839138e6c7630a1a31cfdb12c02cf8";
1113
- function validate$r(obj, path = 'ParticipantRecentInteractionsResult') {
2194
+ const VERSION$m = "94839138e6c7630a1a31cfdb12c02cf8";
2195
+ function validate$q(obj, path = 'ParticipantRecentInteractionsResult') {
1114
2196
  const v_error = (() => {
1115
2197
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1116
2198
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1123,7 +2205,7 @@ function validate$r(obj, path = 'ParticipantRecentInteractionsResult') {
1123
2205
  for (let i = 0; i < obj_serviceResources.length; i++) {
1124
2206
  const obj_serviceResources_item = obj_serviceResources[i];
1125
2207
  const path_serviceResources_item = path_serviceResources + '[' + i + ']';
1126
- const referencepath_serviceResources_itemValidationError = validate$s(obj_serviceResources_item, path_serviceResources_item);
2208
+ const referencepath_serviceResources_itemValidationError = validate$r(obj_serviceResources_item, path_serviceResources_item);
1127
2209
  if (referencepath_serviceResources_itemValidationError !== null) {
1128
2210
  let message = 'Object doesn\'t match WaitlistServiceResource (at "' + path_serviceResources_item + '")\n';
1129
2211
  message += referencepath_serviceResources_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1133,11 +2215,11 @@ function validate$r(obj, path = 'ParticipantRecentInteractionsResult') {
1133
2215
  })();
1134
2216
  return v_error === undefined ? null : v_error;
1135
2217
  }
1136
- const select$x = function ParticipantRecentInteractionsResultSelect() {
1137
- const { selections: WaitlistServiceResource__selections, opaque: WaitlistServiceResource__opaque, } = select$y();
2218
+ const select$w = function ParticipantRecentInteractionsResultSelect() {
2219
+ const { selections: WaitlistServiceResource__selections, opaque: WaitlistServiceResource__opaque, } = select$x();
1138
2220
  return {
1139
2221
  kind: 'Fragment',
1140
- version: VERSION$n,
2222
+ version: VERSION$m,
1141
2223
  private: [],
1142
2224
  selections: [
1143
2225
  {
@@ -1149,11 +2231,11 @@ const select$x = function ParticipantRecentInteractionsResultSelect() {
1149
2231
  ]
1150
2232
  };
1151
2233
  };
1152
- function equals$n(existing, incoming) {
2234
+ function equals$m(existing, incoming) {
1153
2235
  const existing_serviceResources = existing.serviceResources;
1154
2236
  const incoming_serviceResources = incoming.serviceResources;
1155
2237
  const equals_serviceResources_items = equalsArray(existing_serviceResources, incoming_serviceResources, (existing_serviceResources_item, incoming_serviceResources_item) => {
1156
- if (!(equals$o(existing_serviceResources_item, incoming_serviceResources_item))) {
2238
+ if (!(equals$n(existing_serviceResources_item, incoming_serviceResources_item))) {
1157
2239
  return false;
1158
2240
  }
1159
2241
  });
@@ -1163,15 +2245,15 @@ function equals$n(existing, incoming) {
1163
2245
  return true;
1164
2246
  }
1165
2247
 
1166
- const VERSION$m = "24dc5bcc8caeafb90382a21924b4dda8";
1167
- function validate$q(obj, path = 'ParticipantRecentInteractionsOutputRepresentation') {
2248
+ const VERSION$l = "24dc5bcc8caeafb90382a21924b4dda8";
2249
+ function validate$p(obj, path = 'ParticipantRecentInteractionsOutputRepresentation') {
1168
2250
  const v_error = (() => {
1169
2251
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1170
2252
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1171
2253
  }
1172
2254
  const obj_result = obj.result;
1173
2255
  const path_result = path + '.result';
1174
- const referencepath_resultValidationError = validate$r(obj_result, path_result);
2256
+ const referencepath_resultValidationError = validate$q(obj_result, path_result);
1175
2257
  if (referencepath_resultValidationError !== null) {
1176
2258
  let message = 'Object doesn\'t match ParticipantRecentInteractionsResult (at "' + path_result + '")\n';
1177
2259
  message += referencepath_resultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1184,11 +2266,11 @@ const RepresentationType$b = 'ParticipantRecentInteractionsOutputRepresentation'
1184
2266
  function normalize$b(input, existing, path, luvio, store, timestamp) {
1185
2267
  return input;
1186
2268
  }
1187
- const select$w = function ParticipantRecentInteractionsOutputRepresentationSelect() {
1188
- const { selections: ParticipantRecentInteractionsResult__selections, opaque: ParticipantRecentInteractionsResult__opaque, } = select$x();
2269
+ const select$v = function ParticipantRecentInteractionsOutputRepresentationSelect() {
2270
+ const { selections: ParticipantRecentInteractionsResult__selections, opaque: ParticipantRecentInteractionsResult__opaque, } = select$w();
1189
2271
  return {
1190
2272
  kind: 'Fragment',
1191
- version: VERSION$m,
2273
+ version: VERSION$l,
1192
2274
  private: [],
1193
2275
  selections: [
1194
2276
  {
@@ -1199,24 +2281,24 @@ const select$w = function ParticipantRecentInteractionsOutputRepresentationSelec
1199
2281
  ]
1200
2282
  };
1201
2283
  };
1202
- function equals$m(existing, incoming) {
2284
+ function equals$l(existing, incoming) {
1203
2285
  const existing_result = existing.result;
1204
2286
  const incoming_result = incoming.result;
1205
- if (!(equals$n(existing_result, incoming_result))) {
2287
+ if (!(equals$m(existing_result, incoming_result))) {
1206
2288
  return false;
1207
2289
  }
1208
2290
  return true;
1209
2291
  }
1210
2292
  const ingest$b = function ParticipantRecentInteractionsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1211
2293
  if (process.env.NODE_ENV !== 'production') {
1212
- const validateError = validate$q(input);
2294
+ const validateError = validate$p(input);
1213
2295
  if (validateError !== null) {
1214
2296
  throw validateError;
1215
2297
  }
1216
2298
  }
1217
2299
  const key = path.fullPath;
1218
2300
  const ttlToUse = path.ttl !== undefined ? path.ttl : 360000;
1219
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "IndustriesScheduler", VERSION$m, RepresentationType$b, equals$m);
2301
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "IndustriesScheduler", VERSION$l, RepresentationType$b, equals$l);
1220
2302
  return createLink(key);
1221
2303
  };
1222
2304
  function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
@@ -1229,8 +2311,8 @@ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
1229
2311
  });
1230
2312
  }
1231
2313
 
1232
- function select$v(luvio, params) {
1233
- return select$w();
2314
+ function select$u(luvio, params) {
2315
+ return select$v();
1234
2316
  }
1235
2317
  function keyBuilder$f(luvio, params) {
1236
2318
  return keyPrefix + '::ParticipantRecentInteractionsOutputRepresentation:(' + 'filterByResourceIds:' + params.queryParams.filterByResourceIds + ',' + 'participantId:' + params.queryParams.participantId + ',' + 'territoryId:' + params.queryParams.territoryId + ')';
@@ -1244,7 +2326,7 @@ function ingestSuccess$9(luvio, resourceParams, response, snapshotRefresh) {
1244
2326
  luvio.storeIngest(key, ingest$b, body);
1245
2327
  const snapshot = luvio.storeLookup({
1246
2328
  recordId: key,
1247
- node: select$v(),
2329
+ node: select$u(),
1248
2330
  variables: {},
1249
2331
  }, snapshotRefresh);
1250
2332
  if (process.env.NODE_ENV !== 'production') {
@@ -1282,14 +2364,14 @@ const getParticipantRecentInteractions_ConfigPropertyMetadata = [
1282
2364
  generateParamConfigMetadata('territoryId', false, 1 /* QueryParameter */, 0 /* String */),
1283
2365
  ];
1284
2366
  const getParticipantRecentInteractions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, getParticipantRecentInteractions_ConfigPropertyMetadata);
1285
- const createResourceParams$9 = /*#__PURE__*/ createResourceParams$c(getParticipantRecentInteractions_ConfigPropertyMetadata);
2367
+ const createResourceParams$9 = /*#__PURE__*/ createResourceParams$e(getParticipantRecentInteractions_ConfigPropertyMetadata);
1286
2368
  function keyBuilder$e(luvio, config) {
1287
2369
  const resourceParams = createResourceParams$9(config);
1288
2370
  return keyBuilder$f(luvio, resourceParams);
1289
2371
  }
1290
2372
  function typeCheckConfig$9(untrustedConfig) {
1291
2373
  const config = {};
1292
- typeCheckConfig$c(untrustedConfig, config, getParticipantRecentInteractions_ConfigPropertyMetadata);
2374
+ typeCheckConfig$e(untrustedConfig, config, getParticipantRecentInteractions_ConfigPropertyMetadata);
1293
2375
  return config;
1294
2376
  }
1295
2377
  function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
@@ -1307,7 +2389,7 @@ function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
1307
2389
  }
1308
2390
  function adapterFragment$3(luvio, config) {
1309
2391
  createResourceParams$9(config);
1310
- return select$v();
2392
+ return select$u();
1311
2393
  }
1312
2394
  function onFetchResponseSuccess$3(luvio, config, resourceParams, response) {
1313
2395
  const snapshot = ingestSuccess$9(luvio, resourceParams, response, {
@@ -1338,7 +2420,7 @@ function buildNetworkSnapshot$9(luvio, config, options) {
1338
2420
  });
1339
2421
  }
1340
2422
  function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
1341
- return buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext, buildNetworkSnapshot$9, undefined, false);
2423
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$9, undefined, false);
1342
2424
  }
1343
2425
  function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
1344
2426
  const { luvio, config } = context;
@@ -1363,56 +2445,6 @@ const getParticipantRecentInteractionsAdapterFactory = (luvio) => function Indus
1363
2445
  buildCachedSnapshotCachePolicy$3, buildNetworkSnapshotCachePolicy$3);
1364
2446
  };
1365
2447
 
1366
- const VERSION$l = "c53d2d7c54f3f7e132ff8f6059f30726";
1367
- function validate$p(obj, path = 'ExtendedFieldsOutputRepresentation') {
1368
- const v_error = (() => {
1369
- if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1370
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1371
- }
1372
- const obj_name = obj.name;
1373
- const path_name = path + '.name';
1374
- if (typeof obj_name !== 'string') {
1375
- return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
1376
- }
1377
- const obj_value = obj.value;
1378
- const path_value = path + '.value';
1379
- if (typeof obj_value !== 'string') {
1380
- return new TypeError('Expected "string" but received "' + typeof obj_value + '" (at "' + path_value + '")');
1381
- }
1382
- })();
1383
- return v_error === undefined ? null : v_error;
1384
- }
1385
- const select$u = function ExtendedFieldsOutputRepresentationSelect() {
1386
- return {
1387
- kind: 'Fragment',
1388
- version: VERSION$l,
1389
- private: [],
1390
- selections: [
1391
- {
1392
- name: 'name',
1393
- kind: 'Scalar'
1394
- },
1395
- {
1396
- name: 'value',
1397
- kind: 'Scalar'
1398
- }
1399
- ]
1400
- };
1401
- };
1402
- function equals$l(existing, incoming) {
1403
- const existing_name = existing.name;
1404
- const incoming_name = incoming.name;
1405
- if (!(existing_name === incoming_name)) {
1406
- return false;
1407
- }
1408
- const existing_value = existing.value;
1409
- const incoming_value = incoming.value;
1410
- if (!(existing_value === incoming_value)) {
1411
- return false;
1412
- }
1413
- return true;
1414
- }
1415
-
1416
2448
  const VERSION$k = "d5db628ccd69eb00e87ff518e66c3467";
1417
2449
  function validate$o(obj, path = 'ServiceAppointmentAttendeeResult') {
1418
2450
  const v_error = (() => {
@@ -1612,16 +2644,16 @@ const updateServiceAppointmentAttendee_ConfigPropertyMetadata = [
1612
2644
  generateParamConfigMetadata('extendedFields', false, 2 /* Body */, 4 /* Unsupported */, true),
1613
2645
  ];
1614
2646
  const updateServiceAppointmentAttendee_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, updateServiceAppointmentAttendee_ConfigPropertyMetadata);
1615
- const createResourceParams$8 = /*#__PURE__*/ createResourceParams$c(updateServiceAppointmentAttendee_ConfigPropertyMetadata);
2647
+ const createResourceParams$8 = /*#__PURE__*/ createResourceParams$e(updateServiceAppointmentAttendee_ConfigPropertyMetadata);
1616
2648
  function typeCheckConfig$8(untrustedConfig) {
1617
2649
  const config = {};
1618
- typeCheckConfig$c(untrustedConfig, config, updateServiceAppointmentAttendee_ConfigPropertyMetadata);
2650
+ typeCheckConfig$e(untrustedConfig, config, updateServiceAppointmentAttendee_ConfigPropertyMetadata);
1619
2651
  const untrustedConfig_extendedFields = untrustedConfig.extendedFields;
1620
2652
  if (ArrayIsArray$1(untrustedConfig_extendedFields)) {
1621
2653
  const untrustedConfig_extendedFields_array = [];
1622
2654
  for (let i = 0, arrayLength = untrustedConfig_extendedFields.length; i < arrayLength; i++) {
1623
2655
  const untrustedConfig_extendedFields_item = untrustedConfig_extendedFields[i];
1624
- const referenceExtendedFieldsOutputRepresentationValidationError = validate$p(untrustedConfig_extendedFields_item);
2656
+ const referenceExtendedFieldsOutputRepresentationValidationError = validate$z(untrustedConfig_extendedFields_item);
1625
2657
  if (referenceExtendedFieldsOutputRepresentationValidationError === null) {
1626
2658
  untrustedConfig_extendedFields_array.push(untrustedConfig_extendedFields_item);
1627
2659
  }
@@ -1716,16 +2748,16 @@ const createServiceAppointmentAttendee_ConfigPropertyMetadata = [
1716
2748
  generateParamConfigMetadata('extendedFields', false, 2 /* Body */, 4 /* Unsupported */, true),
1717
2749
  ];
1718
2750
  const createServiceAppointmentAttendee_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, createServiceAppointmentAttendee_ConfigPropertyMetadata);
1719
- const createResourceParams$7 = /*#__PURE__*/ createResourceParams$c(createServiceAppointmentAttendee_ConfigPropertyMetadata);
2751
+ const createResourceParams$7 = /*#__PURE__*/ createResourceParams$e(createServiceAppointmentAttendee_ConfigPropertyMetadata);
1720
2752
  function typeCheckConfig$7(untrustedConfig) {
1721
2753
  const config = {};
1722
- typeCheckConfig$c(untrustedConfig, config, createServiceAppointmentAttendee_ConfigPropertyMetadata);
2754
+ typeCheckConfig$e(untrustedConfig, config, createServiceAppointmentAttendee_ConfigPropertyMetadata);
1723
2755
  const untrustedConfig_extendedFields = untrustedConfig.extendedFields;
1724
2756
  if (ArrayIsArray$1(untrustedConfig_extendedFields)) {
1725
2757
  const untrustedConfig_extendedFields_array = [];
1726
2758
  for (let i = 0, arrayLength = untrustedConfig_extendedFields.length; i < arrayLength; i++) {
1727
2759
  const untrustedConfig_extendedFields_item = untrustedConfig_extendedFields[i];
1728
- const referenceExtendedFieldsOutputRepresentationValidationError = validate$p(untrustedConfig_extendedFields_item);
2760
+ const referenceExtendedFieldsOutputRepresentationValidationError = validate$z(untrustedConfig_extendedFields_item);
1729
2761
  if (referenceExtendedFieldsOutputRepresentationValidationError === null) {
1730
2762
  untrustedConfig_extendedFields_array.push(untrustedConfig_extendedFields_item);
1731
2763
  }
@@ -2071,7 +3103,7 @@ const updateServiceAppointment_ConfigPropertyMetadata = [
2071
3103
  generateParamConfigMetadata('updateServiceAppointmentInput', true, 2 /* Body */, 4 /* Unsupported */),
2072
3104
  ];
2073
3105
  const updateServiceAppointment_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, updateServiceAppointment_ConfigPropertyMetadata);
2074
- const createResourceParams$6 = /*#__PURE__*/ createResourceParams$c(updateServiceAppointment_ConfigPropertyMetadata);
3106
+ const createResourceParams$6 = /*#__PURE__*/ createResourceParams$e(updateServiceAppointment_ConfigPropertyMetadata);
2075
3107
  function typeCheckConfig$6(untrustedConfig) {
2076
3108
  const config = {};
2077
3109
  const untrustedConfig_updateServiceAppointmentInput = untrustedConfig.updateServiceAppointmentInput;
@@ -2216,7 +3248,7 @@ const createServiceAppointment_ConfigPropertyMetadata = [
2216
3248
  generateParamConfigMetadata('createServiceAppointmentInput', true, 2 /* Body */, 4 /* Unsupported */),
2217
3249
  ];
2218
3250
  const createServiceAppointment_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, createServiceAppointment_ConfigPropertyMetadata);
2219
- const createResourceParams$5 = /*#__PURE__*/ createResourceParams$c(createServiceAppointment_ConfigPropertyMetadata);
3251
+ const createResourceParams$5 = /*#__PURE__*/ createResourceParams$e(createServiceAppointment_ConfigPropertyMetadata);
2220
3252
  function typeCheckConfig$5(untrustedConfig) {
2221
3253
  const config = {};
2222
3254
  const untrustedConfig_createServiceAppointmentInput = untrustedConfig.createServiceAppointmentInput;
@@ -2559,14 +3591,14 @@ const getServiceTerritoryCapacity_ConfigPropertyMetadata = [
2559
3591
  generateParamConfigMetadata('startDate', false, 1 /* QueryParameter */, 0 /* String */),
2560
3592
  ];
2561
3593
  const getServiceTerritoryCapacity_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, getServiceTerritoryCapacity_ConfigPropertyMetadata);
2562
- const createResourceParams$4 = /*#__PURE__*/ createResourceParams$c(getServiceTerritoryCapacity_ConfigPropertyMetadata);
3594
+ const createResourceParams$4 = /*#__PURE__*/ createResourceParams$e(getServiceTerritoryCapacity_ConfigPropertyMetadata);
2563
3595
  function keyBuilder$8(luvio, config) {
2564
3596
  const resourceParams = createResourceParams$4(config);
2565
3597
  return keyBuilder$9(luvio, resourceParams);
2566
3598
  }
2567
3599
  function typeCheckConfig$4(untrustedConfig) {
2568
3600
  const config = {};
2569
- typeCheckConfig$c(untrustedConfig, config, getServiceTerritoryCapacity_ConfigPropertyMetadata);
3601
+ typeCheckConfig$e(untrustedConfig, config, getServiceTerritoryCapacity_ConfigPropertyMetadata);
2570
3602
  return config;
2571
3603
  }
2572
3604
  function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
@@ -2615,7 +3647,7 @@ function buildNetworkSnapshot$4(luvio, config, options) {
2615
3647
  });
2616
3648
  }
2617
3649
  function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
2618
- return buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
3650
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
2619
3651
  }
2620
3652
  function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
2621
3653
  const { luvio, config } = context;
@@ -2905,7 +3937,7 @@ const createWaitlistAppointment_ConfigPropertyMetadata = [
2905
3937
  generateParamConfigMetadata('waitlistAppointmentInput', true, 2 /* Body */, 4 /* Unsupported */),
2906
3938
  ];
2907
3939
  const createWaitlistAppointment_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, createWaitlistAppointment_ConfigPropertyMetadata);
2908
- const createResourceParams$3 = /*#__PURE__*/ createResourceParams$c(createWaitlistAppointment_ConfigPropertyMetadata);
3940
+ const createResourceParams$3 = /*#__PURE__*/ createResourceParams$e(createWaitlistAppointment_ConfigPropertyMetadata);
2909
3941
  function typeCheckConfig$3(untrustedConfig) {
2910
3942
  const config = {};
2911
3943
  const untrustedConfig_waitlistAppointmentInput = untrustedConfig.waitlistAppointmentInput;
@@ -3273,7 +4305,7 @@ const createWaitlistCheckIn_ConfigPropertyMetadata = [
3273
4305
  generateParamConfigMetadata('waitlistCheckInInput', true, 2 /* Body */, 4 /* Unsupported */),
3274
4306
  ];
3275
4307
  const createWaitlistCheckIn_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, createWaitlistCheckIn_ConfigPropertyMetadata);
3276
- const createResourceParams$2 = /*#__PURE__*/ createResourceParams$c(createWaitlistCheckIn_ConfigPropertyMetadata);
4308
+ const createResourceParams$2 = /*#__PURE__*/ createResourceParams$e(createWaitlistCheckIn_ConfigPropertyMetadata);
3277
4309
  function typeCheckConfig$2(untrustedConfig) {
3278
4310
  const config = {};
3279
4311
  const untrustedConfig_waitlistCheckInInput = untrustedConfig.waitlistCheckInInput;
@@ -3555,7 +4587,7 @@ function validate$6(obj, path = 'WaitlistParticipantResult') {
3555
4587
  for (let i = 0; i < obj_extendedFields.length; i++) {
3556
4588
  const obj_extendedFields_item = obj_extendedFields[i];
3557
4589
  const path_extendedFields_item = path_extendedFields + '[' + i + ']';
3558
- const referencepath_extendedFields_itemValidationError = validate$p(obj_extendedFields_item, path_extendedFields_item);
4590
+ const referencepath_extendedFields_itemValidationError = validate$z(obj_extendedFields_item, path_extendedFields_item);
3559
4591
  if (referencepath_extendedFields_itemValidationError !== null) {
3560
4592
  let message = 'Object doesn\'t match ExtendedFieldsOutputRepresentation (at "' + path_extendedFields_item + '")\n';
3561
4593
  message += referencepath_extendedFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3587,7 +4619,7 @@ function validate$6(obj, path = 'WaitlistParticipantResult') {
3587
4619
  if (obj.serviceResource !== undefined) {
3588
4620
  const obj_serviceResource = obj.serviceResource;
3589
4621
  const path_serviceResource = path + '.serviceResource';
3590
- const referencepath_serviceResourceValidationError = validate$s(obj_serviceResource, path_serviceResource);
4622
+ const referencepath_serviceResourceValidationError = validate$r(obj_serviceResource, path_serviceResource);
3591
4623
  if (referencepath_serviceResourceValidationError !== null) {
3592
4624
  let message = 'Object doesn\'t match WaitlistServiceResource (at "' + path_serviceResource + '")\n';
3593
4625
  message += referencepath_serviceResourceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3604,7 +4636,7 @@ function validate$6(obj, path = 'WaitlistParticipantResult') {
3604
4636
  if (obj.workTypeGroup !== undefined) {
3605
4637
  const obj_workTypeGroup = obj.workTypeGroup;
3606
4638
  const path_workTypeGroup = path + '.workTypeGroup';
3607
- const referencepath_workTypeGroupValidationError = validate$v(obj_workTypeGroup, path_workTypeGroup);
4639
+ const referencepath_workTypeGroupValidationError = validate$u(obj_workTypeGroup, path_workTypeGroup);
3608
4640
  if (referencepath_workTypeGroupValidationError !== null) {
3609
4641
  let message = 'Object doesn\'t match WaitlistWorkTypeGroup (at "' + path_workTypeGroup + '")\n';
3610
4642
  message += referencepath_workTypeGroupValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3615,10 +4647,10 @@ function validate$6(obj, path = 'WaitlistParticipantResult') {
3615
4647
  return v_error === undefined ? null : v_error;
3616
4648
  }
3617
4649
  const select$8 = function WaitlistParticipantResultSelect() {
3618
- const { selections: ExtendedFieldsOutputRepresentation__selections, opaque: ExtendedFieldsOutputRepresentation__opaque, } = select$u();
4650
+ const { selections: ExtendedFieldsOutputRepresentation__selections, opaque: ExtendedFieldsOutputRepresentation__opaque, } = select$H();
3619
4651
  const { selections: WaitlistParticipantParticipant__selections, opaque: WaitlistParticipantParticipant__opaque, } = select$9();
3620
- const { selections: WaitlistServiceResource__selections, opaque: WaitlistServiceResource__opaque, } = select$y();
3621
- const { selections: WaitlistWorkTypeGroup__selections, opaque: WaitlistWorkTypeGroup__opaque, } = select$C();
4652
+ const { selections: WaitlistServiceResource__selections, opaque: WaitlistServiceResource__opaque, } = select$x();
4653
+ const { selections: WaitlistWorkTypeGroup__selections, opaque: WaitlistWorkTypeGroup__opaque, } = select$B();
3622
4654
  return {
3623
4655
  kind: 'Fragment',
3624
4656
  version: VERSION$6,
@@ -3709,7 +4741,7 @@ function equals$6(existing, incoming) {
3709
4741
  const existing_extendedFields = existing.extendedFields;
3710
4742
  const incoming_extendedFields = incoming.extendedFields;
3711
4743
  const equals_extendedFields_items = equalsArray(existing_extendedFields, incoming_extendedFields, (existing_extendedFields_item, incoming_extendedFields_item) => {
3712
- if (!(equals$l(existing_extendedFields_item, incoming_extendedFields_item))) {
4744
+ if (!(equals$v(existing_extendedFields_item, incoming_extendedFields_item))) {
3713
4745
  return false;
3714
4746
  }
3715
4747
  });
@@ -3738,7 +4770,7 @@ function equals$6(existing, incoming) {
3738
4770
  if (existing_serviceResource === undefined || incoming_serviceResource === undefined) {
3739
4771
  return false;
3740
4772
  }
3741
- if (!(equals$o(existing_serviceResource, incoming_serviceResource))) {
4773
+ if (!(equals$n(existing_serviceResource, incoming_serviceResource))) {
3742
4774
  return false;
3743
4775
  }
3744
4776
  }
@@ -3751,7 +4783,7 @@ function equals$6(existing, incoming) {
3751
4783
  if (existing_workTypeGroup === undefined || incoming_workTypeGroup === undefined) {
3752
4784
  return false;
3753
4785
  }
3754
- if (!(equals$r(existing_workTypeGroup, incoming_workTypeGroup))) {
4786
+ if (!(equals$q(existing_workTypeGroup, incoming_workTypeGroup))) {
3755
4787
  return false;
3756
4788
  }
3757
4789
  }
@@ -3794,7 +4826,7 @@ function validate$5(obj, path = 'WaitlistResult') {
3794
4826
  for (let i = 0; i < obj_serviceResources.length; i++) {
3795
4827
  const obj_serviceResources_item = obj_serviceResources[i];
3796
4828
  const path_serviceResources_item = path_serviceResources + '[' + i + ']';
3797
- const referencepath_serviceResources_itemValidationError = validate$s(obj_serviceResources_item, path_serviceResources_item);
4829
+ const referencepath_serviceResources_itemValidationError = validate$r(obj_serviceResources_item, path_serviceResources_item);
3798
4830
  if (referencepath_serviceResources_itemValidationError !== null) {
3799
4831
  let message = 'Object doesn\'t match WaitlistServiceResource (at "' + path_serviceResources_item + '")\n';
3800
4832
  message += referencepath_serviceResources_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3845,7 +4877,7 @@ function validate$5(obj, path = 'WaitlistResult') {
3845
4877
  for (let i = 0; i < obj_workTypeGroups.length; i++) {
3846
4878
  const obj_workTypeGroups_item = obj_workTypeGroups[i];
3847
4879
  const path_workTypeGroups_item = path_workTypeGroups + '[' + i + ']';
3848
- const referencepath_workTypeGroups_itemValidationError = validate$v(obj_workTypeGroups_item, path_workTypeGroups_item);
4880
+ const referencepath_workTypeGroups_itemValidationError = validate$u(obj_workTypeGroups_item, path_workTypeGroups_item);
3849
4881
  if (referencepath_workTypeGroups_itemValidationError !== null) {
3850
4882
  let message = 'Object doesn\'t match WaitlistWorkTypeGroup (at "' + path_workTypeGroups_item + '")\n';
3851
4883
  message += referencepath_workTypeGroups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3857,10 +4889,10 @@ function validate$5(obj, path = 'WaitlistResult') {
3857
4889
  return v_error === undefined ? null : v_error;
3858
4890
  }
3859
4891
  const select$7 = function WaitlistResultSelect() {
3860
- const { selections: WaitlistServiceResource__selections, opaque: WaitlistServiceResource__opaque, } = select$y();
4892
+ const { selections: WaitlistServiceResource__selections, opaque: WaitlistServiceResource__opaque, } = select$x();
3861
4893
  const { selections: WaitlistAnalytics__selections, opaque: WaitlistAnalytics__opaque, } = select$a();
3862
4894
  const { selections: WaitlistParticipantResult__selections, opaque: WaitlistParticipantResult__opaque, } = select$8();
3863
- const { selections: WaitlistWorkTypeGroup__selections, opaque: WaitlistWorkTypeGroup__opaque, } = select$C();
4895
+ const { selections: WaitlistWorkTypeGroup__selections, opaque: WaitlistWorkTypeGroup__opaque, } = select$B();
3864
4896
  return {
3865
4897
  kind: 'Fragment',
3866
4898
  version: VERSION$5,
@@ -3979,7 +5011,7 @@ function equals$5(existing, incoming) {
3979
5011
  return false;
3980
5012
  }
3981
5013
  const equals_serviceResources_items = equalsArray(existing_serviceResources, incoming_serviceResources, (existing_serviceResources_item, incoming_serviceResources_item) => {
3982
- if (!(equals$o(existing_serviceResources_item, incoming_serviceResources_item))) {
5014
+ if (!(equals$n(existing_serviceResources_item, incoming_serviceResources_item))) {
3983
5015
  return false;
3984
5016
  }
3985
5017
  });
@@ -4028,7 +5060,7 @@ function equals$5(existing, incoming) {
4028
5060
  return false;
4029
5061
  }
4030
5062
  const equals_workTypeGroups_items = equalsArray(existing_workTypeGroups, incoming_workTypeGroups, (existing_workTypeGroups_item, incoming_workTypeGroups_item) => {
4031
- if (!(equals$r(existing_workTypeGroups_item, incoming_workTypeGroups_item))) {
5063
+ if (!(equals$q(existing_workTypeGroups_item, incoming_workTypeGroups_item))) {
4032
5064
  return false;
4033
5065
  }
4034
5066
  });
@@ -4072,7 +5104,7 @@ function validate$4(obj, path = 'WaitlistWorkType') {
4072
5104
  if (obj.workTypeGroup !== undefined) {
4073
5105
  const obj_workTypeGroup = obj.workTypeGroup;
4074
5106
  const path_workTypeGroup = path + '.workTypeGroup';
4075
- const referencepath_workTypeGroupValidationError = validate$v(obj_workTypeGroup, path_workTypeGroup);
5107
+ const referencepath_workTypeGroupValidationError = validate$u(obj_workTypeGroup, path_workTypeGroup);
4076
5108
  if (referencepath_workTypeGroupValidationError !== null) {
4077
5109
  let message = 'Object doesn\'t match WaitlistWorkTypeGroup (at "' + path_workTypeGroup + '")\n';
4078
5110
  message += referencepath_workTypeGroupValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4084,7 +5116,7 @@ function validate$4(obj, path = 'WaitlistWorkType') {
4084
5116
  }
4085
5117
  const select$6 = function WaitlistWorkTypeSelect() {
4086
5118
  const { selections: WaitlistResult__selections, opaque: WaitlistResult__opaque, } = select$7();
4087
- const { selections: WaitlistWorkTypeGroup__selections, opaque: WaitlistWorkTypeGroup__opaque, } = select$C();
5119
+ const { selections: WaitlistWorkTypeGroup__selections, opaque: WaitlistWorkTypeGroup__opaque, } = select$B();
4088
5120
  return {
4089
5121
  kind: 'Fragment',
4090
5122
  version: VERSION$4,
@@ -4164,7 +5196,7 @@ function equals$4(existing, incoming) {
4164
5196
  if (existing_workTypeGroup === undefined || incoming_workTypeGroup === undefined) {
4165
5197
  return false;
4166
5198
  }
4167
- if (!(equals$r(existing_workTypeGroup, incoming_workTypeGroup))) {
5199
+ if (!(equals$q(existing_workTypeGroup, incoming_workTypeGroup))) {
4168
5200
  return false;
4169
5201
  }
4170
5202
  }
@@ -4186,7 +5218,7 @@ function validate$3(obj, path = 'WaitlistRelationshipsResult') {
4186
5218
  for (let i = 0; i < obj_serviceResources.length; i++) {
4187
5219
  const obj_serviceResources_item = obj_serviceResources[i];
4188
5220
  const path_serviceResources_item = path_serviceResources + '[' + i + ']';
4189
- const referencepath_serviceResources_itemValidationError = validate$s(obj_serviceResources_item, path_serviceResources_item);
5221
+ const referencepath_serviceResources_itemValidationError = validate$r(obj_serviceResources_item, path_serviceResources_item);
4190
5222
  if (referencepath_serviceResources_itemValidationError !== null) {
4191
5223
  let message = 'Object doesn\'t match WaitlistServiceResource (at "' + path_serviceResources_item + '")\n';
4192
5224
  message += referencepath_serviceResources_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4215,7 +5247,7 @@ function validate$3(obj, path = 'WaitlistRelationshipsResult') {
4215
5247
  return v_error === undefined ? null : v_error;
4216
5248
  }
4217
5249
  const select$5 = function WaitlistRelationshipsResultSelect() {
4218
- const { selections: WaitlistServiceResource__selections, opaque: WaitlistServiceResource__opaque, } = select$y();
5250
+ const { selections: WaitlistServiceResource__selections, opaque: WaitlistServiceResource__opaque, } = select$x();
4219
5251
  const { selections: WaitlistWorkType__selections, opaque: WaitlistWorkType__opaque, } = select$6();
4220
5252
  return {
4221
5253
  kind: 'Fragment',
@@ -4250,7 +5282,7 @@ function equals$3(existing, incoming) {
4250
5282
  return false;
4251
5283
  }
4252
5284
  const equals_serviceResources_items = equalsArray(existing_serviceResources, incoming_serviceResources, (existing_serviceResources_item, incoming_serviceResources_item) => {
4253
- if (!(equals$o(existing_serviceResources_item, incoming_serviceResources_item))) {
5285
+ if (!(equals$n(existing_serviceResources_item, incoming_serviceResources_item))) {
4254
5286
  return false;
4255
5287
  }
4256
5288
  });
@@ -4398,14 +5430,14 @@ const getWaitlistRelationships_ConfigPropertyMetadata = [
4398
5430
  generateParamConfigMetadata('workTypeIds', false, 1 /* QueryParameter */, 0 /* String */, true),
4399
5431
  ];
4400
5432
  const getWaitlistRelationships_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getWaitlistRelationships_ConfigPropertyMetadata);
4401
- const createResourceParams$1 = /*#__PURE__*/ createResourceParams$c(getWaitlistRelationships_ConfigPropertyMetadata);
5433
+ const createResourceParams$1 = /*#__PURE__*/ createResourceParams$e(getWaitlistRelationships_ConfigPropertyMetadata);
4402
5434
  function keyBuilder$2(luvio, config) {
4403
5435
  const resourceParams = createResourceParams$1(config);
4404
5436
  return keyBuilder$3(luvio, resourceParams);
4405
5437
  }
4406
5438
  function typeCheckConfig$1(untrustedConfig) {
4407
5439
  const config = {};
4408
- typeCheckConfig$c(untrustedConfig, config, getWaitlistRelationships_ConfigPropertyMetadata);
5440
+ typeCheckConfig$e(untrustedConfig, config, getWaitlistRelationships_ConfigPropertyMetadata);
4409
5441
  return config;
4410
5442
  }
4411
5443
  function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
@@ -4454,7 +5486,7 @@ function buildNetworkSnapshot$1(luvio, config, options) {
4454
5486
  });
4455
5487
  }
4456
5488
  function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
4457
- return buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
5489
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
4458
5490
  }
4459
5491
  function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
4460
5492
  const { luvio, config } = context;
@@ -4656,14 +5688,14 @@ const getWaitlists_ConfigPropertyMetadata = [
4656
5688
  generateParamConfigMetadata('waitlistIds', false, 1 /* QueryParameter */, 0 /* String */, true),
4657
5689
  ];
4658
5690
  const getWaitlists_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, getWaitlists_ConfigPropertyMetadata);
4659
- const createResourceParams = /*#__PURE__*/ createResourceParams$c(getWaitlists_ConfigPropertyMetadata);
5691
+ const createResourceParams = /*#__PURE__*/ createResourceParams$e(getWaitlists_ConfigPropertyMetadata);
4660
5692
  function keyBuilder(luvio, config) {
4661
5693
  const resourceParams = createResourceParams(config);
4662
5694
  return keyBuilder$1(luvio, resourceParams);
4663
5695
  }
4664
5696
  function typeCheckConfig(untrustedConfig) {
4665
5697
  const config = {};
4666
- typeCheckConfig$c(untrustedConfig, config, getWaitlists_ConfigPropertyMetadata);
5698
+ typeCheckConfig$e(untrustedConfig, config, getWaitlists_ConfigPropertyMetadata);
4667
5699
  return config;
4668
5700
  }
4669
5701
  function validateAdapterConfig(untrustedConfig, configPropertyNames) {
@@ -4712,7 +5744,7 @@ function buildNetworkSnapshot(luvio, config, options) {
4712
5744
  });
4713
5745
  }
4714
5746
  function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
4715
- return buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext, buildNetworkSnapshot, undefined, false);
5747
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot, undefined, false);
4716
5748
  }
4717
5749
  function buildCachedSnapshotCachePolicy(context, storeLookup) {
4718
5750
  const { luvio, config } = context;
@@ -4737,4 +5769,4 @@ const getWaitlistsAdapterFactory = (luvio) => function IndustriesScheduler__getW
4737
5769
  buildCachedSnapshotCachePolicy, buildNetworkSnapshotCachePolicy);
4738
5770
  };
4739
5771
 
4740
- export { createServiceAppointmentAdapterFactory, createServiceAppointmentAttendeeAdapterFactory, createWaitlistAppointmentAdapterFactory, createWaitlistCheckInAdapterFactory, getEngagementChannelTypesAdapterFactory, getNextWaitlistParticipantAdapterFactory, getParticipantRecentInteractionsAdapterFactory, getServiceTerritoryCapacityAdapterFactory, getWaitlistRelationshipsAdapterFactory, getWaitlistsAdapterFactory, updateServiceAppointmentAdapterFactory, updateServiceAppointmentAttendeeAdapterFactory };
5772
+ export { createServiceAppointmentAdapterFactory, createServiceAppointmentAttendeeAdapterFactory, createWaitlistAppointmentAdapterFactory, createWaitlistCheckInAdapterFactory, getAppointmentFromTokenAdapterFactory, getEngagementChannelTypesAdapterFactory, getGroupAppointmentsAdapterFactory, getNextWaitlistParticipantAdapterFactory, getParticipantRecentInteractionsAdapterFactory, getServiceTerritoryCapacityAdapterFactory, getWaitlistRelationshipsAdapterFactory, getWaitlistsAdapterFactory, updateServiceAppointmentAdapterFactory, updateServiceAppointmentAttendeeAdapterFactory };