@salesforce/lds-adapters-platform-sharing 1.424.0 → 1.426.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/sfdc/index.js CHANGED
@@ -14,7 +14,7 @@
14
14
  /* proxy-compat-disable */
15
15
  import { createInstrumentedAdapter, createLDSAdapter, createWireAdapterConstructor, createImperativeAdapter } from 'force/ldsBindings';
16
16
  import { withDefaultLuvio } from 'force/ldsEngine';
17
- import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$6, typeCheckConfig as typeCheckConfig$6, StoreKeyMap, createResourceParams as createResourceParams$6 } from 'force/luvioEngine';
17
+ import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$7, typeCheckConfig as typeCheckConfig$7, StoreKeyMap, createResourceParams as createResourceParams$7 } from 'force/luvioEngine';
18
18
 
19
19
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
20
20
  const { keys: ObjectKeys, create: ObjectCreate } = Object;
@@ -101,9 +101,9 @@ function createLink(ref) {
101
101
  };
102
102
  }
103
103
 
104
- const TTL$5 = 300;
105
- const VERSION$k = "9934cf4cb3fdd0b955c08c2d695a9a53";
106
- function validate$k(obj, path = 'UserGroupMembershipDetailsRepresentation') {
104
+ const TTL$6 = 300;
105
+ const VERSION$o = "9934cf4cb3fdd0b955c08c2d695a9a53";
106
+ function validate$o(obj, path = 'UserGroupMembershipDetailsRepresentation') {
107
107
  const v_error = (() => {
108
108
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
109
109
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -145,14 +145,14 @@ function validate$k(obj, path = 'UserGroupMembershipDetailsRepresentation') {
145
145
  })();
146
146
  return v_error === undefined ? null : v_error;
147
147
  }
148
- const RepresentationType$5 = 'UserGroupMembershipDetailsRepresentation';
149
- function normalize$5(input, existing, path, luvio, store, timestamp) {
148
+ const RepresentationType$6 = 'UserGroupMembershipDetailsRepresentation';
149
+ function normalize$6(input, existing, path, luvio, store, timestamp) {
150
150
  return input;
151
151
  }
152
- const select$q = function UserGroupMembershipDetailsRepresentationSelect() {
152
+ const select$v = function UserGroupMembershipDetailsRepresentationSelect() {
153
153
  return {
154
154
  kind: 'Fragment',
155
- version: VERSION$k,
155
+ version: VERSION$o,
156
156
  private: [],
157
157
  selections: [
158
158
  {
@@ -176,7 +176,7 @@ const select$q = function UserGroupMembershipDetailsRepresentationSelect() {
176
176
  ]
177
177
  };
178
178
  };
179
- function equals$k(existing, incoming) {
179
+ function equals$o(existing, incoming) {
180
180
  const existing_isSuccess = existing.isSuccess;
181
181
  const incoming_isSuccess = incoming.isSuccess;
182
182
  if (!(existing_isSuccess === incoming_isSuccess)) {
@@ -209,7 +209,516 @@ function equals$k(existing, incoming) {
209
209
  }
210
210
  return true;
211
211
  }
212
- const ingest$5 = function UserGroupMembershipDetailsRepresentationIngest(input, path, luvio, store, timestamp) {
212
+ const ingest$6 = function UserGroupMembershipDetailsRepresentationIngest(input, path, luvio, store, timestamp) {
213
+ if (process.env.NODE_ENV !== 'production') {
214
+ const validateError = validate$o(input);
215
+ if (validateError !== null) {
216
+ throw validateError;
217
+ }
218
+ }
219
+ const key = path.fullPath;
220
+ const ttlToUse = TTL$6;
221
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "sharing", VERSION$o, RepresentationType$6, equals$o);
222
+ return createLink(key);
223
+ };
224
+ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
225
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
226
+ const rootKey = fullPathFactory();
227
+ rootKeySet.set(rootKey, {
228
+ namespace: keyPrefix,
229
+ representationName: RepresentationType$6,
230
+ mergeable: false
231
+ });
232
+ }
233
+
234
+ function select$u(luvio, params) {
235
+ return select$v();
236
+ }
237
+ function keyBuilder$d(luvio, params) {
238
+ return keyPrefix + '::UserGroupMembershipDetailsRepresentation:(' + 'userId:' + params.body.userId + '::' + 'memberType:' + params.body.memberType + '::' + 'operation:' + params.body.operation + '::' + 'selectedGroups:' + params.body.selectedGroups + ')';
239
+ }
240
+ function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
241
+ getTypeCacheKeys$6(storeKeyMap, luvio, response, () => keyBuilder$d(luvio, resourceParams));
242
+ }
243
+ function ingestSuccess$6(luvio, resourceParams, response, snapshotRefresh) {
244
+ const { body } = response;
245
+ const key = keyBuilder$d(luvio, resourceParams);
246
+ luvio.storeIngest(key, ingest$6, body);
247
+ const snapshot = luvio.storeLookup({
248
+ recordId: key,
249
+ node: select$u(),
250
+ variables: {},
251
+ }, snapshotRefresh);
252
+ if (process.env.NODE_ENV !== 'production') {
253
+ if (snapshot.state !== 'Fulfilled') {
254
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
255
+ }
256
+ }
257
+ deepFreeze(snapshot.data);
258
+ return snapshot;
259
+ }
260
+ function ingestError$6(luvio, params, error, snapshotRefresh) {
261
+ const key = keyBuilder$d(luvio, params);
262
+ const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
263
+ const storeMetadataParams = {
264
+ ttl: TTL$6,
265
+ namespace: keyPrefix,
266
+ version: VERSION$o,
267
+ representationName: RepresentationType$6
268
+ };
269
+ luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
270
+ return errorSnapshot;
271
+ }
272
+ function createResourceRequest$6(config) {
273
+ const headers = {};
274
+ return {
275
+ baseUri: '/services/data/v67.0',
276
+ basePath: '/sharing/addRemoveUserToGroups',
277
+ method: 'post',
278
+ body: config.body,
279
+ urlParams: {},
280
+ queryParams: {},
281
+ headers,
282
+ priority: 'normal',
283
+ };
284
+ }
285
+
286
+ const adapterName$6 = 'addRemoveUserToGroups';
287
+ const addRemoveUserToGroups_ConfigPropertyMetadata = [
288
+ generateParamConfigMetadata('userId', true, 2 /* Body */, 0 /* String */),
289
+ generateParamConfigMetadata('memberType', true, 2 /* Body */, 0 /* String */),
290
+ generateParamConfigMetadata('operation', true, 2 /* Body */, 0 /* String */),
291
+ generateParamConfigMetadata('selectedGroups', true, 2 /* Body */, 0 /* String */, true),
292
+ ];
293
+ const addRemoveUserToGroups_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, addRemoveUserToGroups_ConfigPropertyMetadata);
294
+ const createResourceParams$6 = /*#__PURE__*/ createResourceParams$7(addRemoveUserToGroups_ConfigPropertyMetadata);
295
+ function keyBuilder$c(luvio, config) {
296
+ const resourceParams = createResourceParams$6(config);
297
+ return keyBuilder$d(luvio, resourceParams);
298
+ }
299
+ function typeCheckConfig$6(untrustedConfig) {
300
+ const config = {};
301
+ typeCheckConfig$7(untrustedConfig, config, addRemoveUserToGroups_ConfigPropertyMetadata);
302
+ return config;
303
+ }
304
+ function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
305
+ if (!untrustedIsObject(untrustedConfig)) {
306
+ return null;
307
+ }
308
+ if (process.env.NODE_ENV !== 'production') {
309
+ validateConfig(untrustedConfig, configPropertyNames);
310
+ }
311
+ const config = typeCheckConfig$6(untrustedConfig);
312
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
313
+ return null;
314
+ }
315
+ return config;
316
+ }
317
+ function adapterFragment$6(luvio, config) {
318
+ createResourceParams$6(config);
319
+ return select$u();
320
+ }
321
+ function onFetchResponseSuccess$6(luvio, config, resourceParams, response) {
322
+ const snapshot = ingestSuccess$6(luvio, resourceParams, response, {
323
+ config,
324
+ resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
325
+ });
326
+ return luvio.storeBroadcast().then(() => snapshot);
327
+ }
328
+ function onFetchResponseError$6(luvio, config, resourceParams, response) {
329
+ const snapshot = ingestError$6(luvio, resourceParams, response, {
330
+ config,
331
+ resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
332
+ });
333
+ return luvio.storeBroadcast().then(() => snapshot);
334
+ }
335
+ function buildNetworkSnapshot$6(luvio, config, options) {
336
+ const resourceParams = createResourceParams$6(config);
337
+ const request = createResourceRequest$6(resourceParams);
338
+ return luvio.dispatchResourceRequest(request, options)
339
+ .then((response) => {
340
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$6(luvio, config, resourceParams, response), () => {
341
+ const cache = new StoreKeyMap();
342
+ getResponseCacheKeys$6(cache, luvio, resourceParams, response.body);
343
+ return cache;
344
+ });
345
+ }, (response) => {
346
+ return luvio.handleErrorResponse(() => onFetchResponseError$6(luvio, config, resourceParams, response));
347
+ });
348
+ }
349
+ function buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext) {
350
+ return buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext, buildNetworkSnapshot$6, 'get', false);
351
+ }
352
+ function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
353
+ const { luvio, config } = context;
354
+ const selector = {
355
+ recordId: keyBuilder$c(luvio, config),
356
+ node: adapterFragment$6(luvio, config),
357
+ variables: {},
358
+ };
359
+ const cacheSnapshot = storeLookup(selector, {
360
+ config,
361
+ resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
362
+ });
363
+ return cacheSnapshot;
364
+ }
365
+ const addRemoveUserToGroupsAdapterFactory = (luvio) => function sharing__addRemoveUserToGroups(untrustedConfig, requestContext) {
366
+ const config = validateAdapterConfig$6(untrustedConfig, addRemoveUserToGroups_ConfigPropertyNames);
367
+ // Invalid or incomplete config
368
+ if (config === null) {
369
+ return null;
370
+ }
371
+ return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
372
+ buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$6);
373
+ };
374
+
375
+ const VERSION$n = "5cbfb84642634b52469e0a010f5161bc";
376
+ function validate$n(obj, path = 'UserAssignmentRepresentation') {
377
+ const v_error = (() => {
378
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
379
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
380
+ }
381
+ const obj_assigned = obj.assigned;
382
+ const path_assigned = path + '.assigned';
383
+ if (typeof obj_assigned !== 'boolean') {
384
+ return new TypeError('Expected "boolean" but received "' + typeof obj_assigned + '" (at "' + path_assigned + '")');
385
+ }
386
+ const obj_userId = obj.userId;
387
+ const path_userId = path + '.userId';
388
+ if (typeof obj_userId !== 'string') {
389
+ return new TypeError('Expected "string" but received "' + typeof obj_userId + '" (at "' + path_userId + '")');
390
+ }
391
+ })();
392
+ return v_error === undefined ? null : v_error;
393
+ }
394
+ const select$t = function UserAssignmentRepresentationSelect() {
395
+ return {
396
+ kind: 'Fragment',
397
+ version: VERSION$n,
398
+ private: [],
399
+ selections: [
400
+ {
401
+ name: 'assigned',
402
+ kind: 'Scalar'
403
+ },
404
+ {
405
+ name: 'userId',
406
+ kind: 'Scalar'
407
+ }
408
+ ]
409
+ };
410
+ };
411
+ function equals$n(existing, incoming) {
412
+ const existing_assigned = existing.assigned;
413
+ const incoming_assigned = incoming.assigned;
414
+ if (!(existing_assigned === incoming_assigned)) {
415
+ return false;
416
+ }
417
+ const existing_userId = existing.userId;
418
+ const incoming_userId = incoming.userId;
419
+ if (!(existing_userId === incoming_userId)) {
420
+ return false;
421
+ }
422
+ return true;
423
+ }
424
+
425
+ const VERSION$m = "62913ea2213cd909b94eaadc07213c99";
426
+ function validate$m(obj, path = 'PublicGroupAssignmentComparisonRepresentation') {
427
+ const v_error = (() => {
428
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
429
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
430
+ }
431
+ const obj_entityId = obj.entityId;
432
+ const path_entityId = path + '.entityId';
433
+ if (typeof obj_entityId !== 'string') {
434
+ return new TypeError('Expected "string" but received "' + typeof obj_entityId + '" (at "' + path_entityId + '")');
435
+ }
436
+ const obj_entityLabel = obj.entityLabel;
437
+ const path_entityLabel = path + '.entityLabel';
438
+ if (typeof obj_entityLabel !== 'string') {
439
+ return new TypeError('Expected "string" but received "' + typeof obj_entityLabel + '" (at "' + path_entityLabel + '")');
440
+ }
441
+ const obj_entityName = obj.entityName;
442
+ const path_entityName = path + '.entityName';
443
+ if (typeof obj_entityName !== 'string') {
444
+ return new TypeError('Expected "string" but received "' + typeof obj_entityName + '" (at "' + path_entityName + '")');
445
+ }
446
+ const obj_userAssignments = obj.userAssignments;
447
+ const path_userAssignments = path + '.userAssignments';
448
+ if (!ArrayIsArray(obj_userAssignments)) {
449
+ return new TypeError('Expected "array" but received "' + typeof obj_userAssignments + '" (at "' + path_userAssignments + '")');
450
+ }
451
+ for (let i = 0; i < obj_userAssignments.length; i++) {
452
+ const obj_userAssignments_item = obj_userAssignments[i];
453
+ const path_userAssignments_item = path_userAssignments + '[' + i + ']';
454
+ const referencepath_userAssignments_itemValidationError = validate$n(obj_userAssignments_item, path_userAssignments_item);
455
+ if (referencepath_userAssignments_itemValidationError !== null) {
456
+ let message = 'Object doesn\'t match UserAssignmentRepresentation (at "' + path_userAssignments_item + '")\n';
457
+ message += referencepath_userAssignments_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
458
+ return new TypeError(message);
459
+ }
460
+ }
461
+ })();
462
+ return v_error === undefined ? null : v_error;
463
+ }
464
+ const select$s = function PublicGroupAssignmentComparisonRepresentationSelect() {
465
+ const { selections: UserAssignmentRepresentation__selections, opaque: UserAssignmentRepresentation__opaque, } = select$t();
466
+ return {
467
+ kind: 'Fragment',
468
+ version: VERSION$m,
469
+ private: [],
470
+ selections: [
471
+ {
472
+ name: 'entityId',
473
+ kind: 'Scalar'
474
+ },
475
+ {
476
+ name: 'entityLabel',
477
+ kind: 'Scalar'
478
+ },
479
+ {
480
+ name: 'entityName',
481
+ kind: 'Scalar'
482
+ },
483
+ {
484
+ name: 'userAssignments',
485
+ kind: 'Object',
486
+ plural: true,
487
+ selections: UserAssignmentRepresentation__selections
488
+ }
489
+ ]
490
+ };
491
+ };
492
+ function equals$m(existing, incoming) {
493
+ const existing_entityId = existing.entityId;
494
+ const incoming_entityId = incoming.entityId;
495
+ if (!(existing_entityId === incoming_entityId)) {
496
+ return false;
497
+ }
498
+ const existing_entityLabel = existing.entityLabel;
499
+ const incoming_entityLabel = incoming.entityLabel;
500
+ if (!(existing_entityLabel === incoming_entityLabel)) {
501
+ return false;
502
+ }
503
+ const existing_entityName = existing.entityName;
504
+ const incoming_entityName = incoming.entityName;
505
+ if (!(existing_entityName === incoming_entityName)) {
506
+ return false;
507
+ }
508
+ const existing_userAssignments = existing.userAssignments;
509
+ const incoming_userAssignments = incoming.userAssignments;
510
+ const equals_userAssignments_items = equalsArray(existing_userAssignments, incoming_userAssignments, (existing_userAssignments_item, incoming_userAssignments_item) => {
511
+ if (!(equals$n(existing_userAssignments_item, incoming_userAssignments_item))) {
512
+ return false;
513
+ }
514
+ });
515
+ if (equals_userAssignments_items === false) {
516
+ return false;
517
+ }
518
+ return true;
519
+ }
520
+
521
+ const VERSION$l = "e395895c0b59bebdfb5cd567f72b894a";
522
+ function validate$l(obj, path = 'QueueAssignmentComparisonRepresentation') {
523
+ const v_error = (() => {
524
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
525
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
526
+ }
527
+ const obj_entityId = obj.entityId;
528
+ const path_entityId = path + '.entityId';
529
+ if (typeof obj_entityId !== 'string') {
530
+ return new TypeError('Expected "string" but received "' + typeof obj_entityId + '" (at "' + path_entityId + '")');
531
+ }
532
+ const obj_entityLabel = obj.entityLabel;
533
+ const path_entityLabel = path + '.entityLabel';
534
+ if (typeof obj_entityLabel !== 'string') {
535
+ return new TypeError('Expected "string" but received "' + typeof obj_entityLabel + '" (at "' + path_entityLabel + '")');
536
+ }
537
+ const obj_entityName = obj.entityName;
538
+ const path_entityName = path + '.entityName';
539
+ if (typeof obj_entityName !== 'string') {
540
+ return new TypeError('Expected "string" but received "' + typeof obj_entityName + '" (at "' + path_entityName + '")');
541
+ }
542
+ const obj_userAssignments = obj.userAssignments;
543
+ const path_userAssignments = path + '.userAssignments';
544
+ if (!ArrayIsArray(obj_userAssignments)) {
545
+ return new TypeError('Expected "array" but received "' + typeof obj_userAssignments + '" (at "' + path_userAssignments + '")');
546
+ }
547
+ for (let i = 0; i < obj_userAssignments.length; i++) {
548
+ const obj_userAssignments_item = obj_userAssignments[i];
549
+ const path_userAssignments_item = path_userAssignments + '[' + i + ']';
550
+ const referencepath_userAssignments_itemValidationError = validate$n(obj_userAssignments_item, path_userAssignments_item);
551
+ if (referencepath_userAssignments_itemValidationError !== null) {
552
+ let message = 'Object doesn\'t match UserAssignmentRepresentation (at "' + path_userAssignments_item + '")\n';
553
+ message += referencepath_userAssignments_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
554
+ return new TypeError(message);
555
+ }
556
+ }
557
+ })();
558
+ return v_error === undefined ? null : v_error;
559
+ }
560
+ const select$r = function QueueAssignmentComparisonRepresentationSelect() {
561
+ const { selections: UserAssignmentRepresentation__selections, opaque: UserAssignmentRepresentation__opaque, } = select$t();
562
+ return {
563
+ kind: 'Fragment',
564
+ version: VERSION$l,
565
+ private: [],
566
+ selections: [
567
+ {
568
+ name: 'entityId',
569
+ kind: 'Scalar'
570
+ },
571
+ {
572
+ name: 'entityLabel',
573
+ kind: 'Scalar'
574
+ },
575
+ {
576
+ name: 'entityName',
577
+ kind: 'Scalar'
578
+ },
579
+ {
580
+ name: 'userAssignments',
581
+ kind: 'Object',
582
+ plural: true,
583
+ selections: UserAssignmentRepresentation__selections
584
+ }
585
+ ]
586
+ };
587
+ };
588
+ function equals$l(existing, incoming) {
589
+ const existing_entityId = existing.entityId;
590
+ const incoming_entityId = incoming.entityId;
591
+ if (!(existing_entityId === incoming_entityId)) {
592
+ return false;
593
+ }
594
+ const existing_entityLabel = existing.entityLabel;
595
+ const incoming_entityLabel = incoming.entityLabel;
596
+ if (!(existing_entityLabel === incoming_entityLabel)) {
597
+ return false;
598
+ }
599
+ const existing_entityName = existing.entityName;
600
+ const incoming_entityName = incoming.entityName;
601
+ if (!(existing_entityName === incoming_entityName)) {
602
+ return false;
603
+ }
604
+ const existing_userAssignments = existing.userAssignments;
605
+ const incoming_userAssignments = incoming.userAssignments;
606
+ const equals_userAssignments_items = equalsArray(existing_userAssignments, incoming_userAssignments, (existing_userAssignments_item, incoming_userAssignments_item) => {
607
+ if (!(equals$n(existing_userAssignments_item, incoming_userAssignments_item))) {
608
+ return false;
609
+ }
610
+ });
611
+ if (equals_userAssignments_items === false) {
612
+ return false;
613
+ }
614
+ return true;
615
+ }
616
+
617
+ const TTL$5 = 300;
618
+ const VERSION$k = "6bc69197dbd16addf30f2b16af7bb9e5";
619
+ function validate$k(obj, path = 'CompareUserAssignmentsRepresentation') {
620
+ const v_error = (() => {
621
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
622
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
623
+ }
624
+ const obj_entityType = obj.entityType;
625
+ const path_entityType = path + '.entityType';
626
+ if (typeof obj_entityType !== 'string') {
627
+ return new TypeError('Expected "string" but received "' + typeof obj_entityType + '" (at "' + path_entityType + '")');
628
+ }
629
+ const obj_publicGroupAssignments = obj.publicGroupAssignments;
630
+ const path_publicGroupAssignments = path + '.publicGroupAssignments';
631
+ if (!ArrayIsArray(obj_publicGroupAssignments)) {
632
+ return new TypeError('Expected "array" but received "' + typeof obj_publicGroupAssignments + '" (at "' + path_publicGroupAssignments + '")');
633
+ }
634
+ for (let i = 0; i < obj_publicGroupAssignments.length; i++) {
635
+ const obj_publicGroupAssignments_item = obj_publicGroupAssignments[i];
636
+ const path_publicGroupAssignments_item = path_publicGroupAssignments + '[' + i + ']';
637
+ const referencepath_publicGroupAssignments_itemValidationError = validate$m(obj_publicGroupAssignments_item, path_publicGroupAssignments_item);
638
+ if (referencepath_publicGroupAssignments_itemValidationError !== null) {
639
+ let message = 'Object doesn\'t match PublicGroupAssignmentComparisonRepresentation (at "' + path_publicGroupAssignments_item + '")\n';
640
+ message += referencepath_publicGroupAssignments_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
641
+ return new TypeError(message);
642
+ }
643
+ }
644
+ const obj_queueAssignments = obj.queueAssignments;
645
+ const path_queueAssignments = path + '.queueAssignments';
646
+ if (!ArrayIsArray(obj_queueAssignments)) {
647
+ return new TypeError('Expected "array" but received "' + typeof obj_queueAssignments + '" (at "' + path_queueAssignments + '")');
648
+ }
649
+ for (let i = 0; i < obj_queueAssignments.length; i++) {
650
+ const obj_queueAssignments_item = obj_queueAssignments[i];
651
+ const path_queueAssignments_item = path_queueAssignments + '[' + i + ']';
652
+ const referencepath_queueAssignments_itemValidationError = validate$l(obj_queueAssignments_item, path_queueAssignments_item);
653
+ if (referencepath_queueAssignments_itemValidationError !== null) {
654
+ let message = 'Object doesn\'t match QueueAssignmentComparisonRepresentation (at "' + path_queueAssignments_item + '")\n';
655
+ message += referencepath_queueAssignments_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
656
+ return new TypeError(message);
657
+ }
658
+ }
659
+ })();
660
+ return v_error === undefined ? null : v_error;
661
+ }
662
+ const RepresentationType$5 = 'CompareUserAssignmentsRepresentation';
663
+ function normalize$5(input, existing, path, luvio, store, timestamp) {
664
+ return input;
665
+ }
666
+ const select$q = function CompareUserAssignmentsRepresentationSelect() {
667
+ const { selections: PublicGroupAssignmentComparisonRepresentation__selections, opaque: PublicGroupAssignmentComparisonRepresentation__opaque, } = select$s();
668
+ const { selections: QueueAssignmentComparisonRepresentation__selections, opaque: QueueAssignmentComparisonRepresentation__opaque, } = select$r();
669
+ return {
670
+ kind: 'Fragment',
671
+ version: VERSION$k,
672
+ private: [],
673
+ selections: [
674
+ {
675
+ name: 'entityType',
676
+ kind: 'Scalar'
677
+ },
678
+ {
679
+ name: 'publicGroupAssignments',
680
+ kind: 'Object',
681
+ plural: true,
682
+ selections: PublicGroupAssignmentComparisonRepresentation__selections
683
+ },
684
+ {
685
+ name: 'queueAssignments',
686
+ kind: 'Object',
687
+ plural: true,
688
+ selections: QueueAssignmentComparisonRepresentation__selections
689
+ }
690
+ ]
691
+ };
692
+ };
693
+ function equals$k(existing, incoming) {
694
+ const existing_entityType = existing.entityType;
695
+ const incoming_entityType = incoming.entityType;
696
+ if (!(existing_entityType === incoming_entityType)) {
697
+ return false;
698
+ }
699
+ const existing_publicGroupAssignments = existing.publicGroupAssignments;
700
+ const incoming_publicGroupAssignments = incoming.publicGroupAssignments;
701
+ const equals_publicGroupAssignments_items = equalsArray(existing_publicGroupAssignments, incoming_publicGroupAssignments, (existing_publicGroupAssignments_item, incoming_publicGroupAssignments_item) => {
702
+ if (!(equals$m(existing_publicGroupAssignments_item, incoming_publicGroupAssignments_item))) {
703
+ return false;
704
+ }
705
+ });
706
+ if (equals_publicGroupAssignments_items === false) {
707
+ return false;
708
+ }
709
+ const existing_queueAssignments = existing.queueAssignments;
710
+ const incoming_queueAssignments = incoming.queueAssignments;
711
+ const equals_queueAssignments_items = equalsArray(existing_queueAssignments, incoming_queueAssignments, (existing_queueAssignments_item, incoming_queueAssignments_item) => {
712
+ if (!(equals$l(existing_queueAssignments_item, incoming_queueAssignments_item))) {
713
+ return false;
714
+ }
715
+ });
716
+ if (equals_queueAssignments_items === false) {
717
+ return false;
718
+ }
719
+ return true;
720
+ }
721
+ const ingest$5 = function CompareUserAssignmentsRepresentationIngest(input, path, luvio, store, timestamp) {
213
722
  if (process.env.NODE_ENV !== 'production') {
214
723
  const validateError = validate$k(input);
215
724
  if (validateError !== null) {
@@ -235,7 +744,7 @@ function select$p(luvio, params) {
235
744
  return select$q();
236
745
  }
237
746
  function keyBuilder$b(luvio, params) {
238
- return keyPrefix + '::UserGroupMembershipDetailsRepresentation:(' + 'userId:' + params.body.userId + '::' + 'memberType:' + params.body.memberType + '::' + 'operation:' + params.body.operation + '::' + 'selectedGroups:' + params.body.selectedGroups + ')';
747
+ return keyPrefix + '::CompareUserAssignmentsRepresentation:(' + 'userIds:' + params.body.userIds + '::' + 'entityType:' + params.body.entityType + '::' + 'limit:' + params.body.limit + '::' + 'offset:' + params.body.offset + '::' + 'sortBy:' + params.body.sortBy + '::' + 'sortOrder:' + params.body.sortOrder + '::' + 'searchTerm:' + params.body.searchTerm + '::' + 'showOnlyDifferences:' + params.body.showOnlyDifferences + ')';
239
748
  }
240
749
  function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
241
750
  getTypeCacheKeys$5(storeKeyMap, luvio, response, () => keyBuilder$b(luvio, resourceParams));
@@ -273,7 +782,7 @@ function createResourceRequest$5(config) {
273
782
  const headers = {};
274
783
  return {
275
784
  baseUri: '/services/data/v67.0',
276
- basePath: '/sharing/addRemoveUserToGroups',
785
+ basePath: '/sharing/compareUserAssignments',
277
786
  method: 'post',
278
787
  body: config.body,
279
788
  urlParams: {},
@@ -283,22 +792,26 @@ function createResourceRequest$5(config) {
283
792
  };
284
793
  }
285
794
 
286
- const adapterName$5 = 'addRemoveUserToGroups';
287
- const addRemoveUserToGroups_ConfigPropertyMetadata = [
288
- generateParamConfigMetadata('userId', true, 2 /* Body */, 0 /* String */),
289
- generateParamConfigMetadata('memberType', true, 2 /* Body */, 0 /* String */),
290
- generateParamConfigMetadata('operation', true, 2 /* Body */, 0 /* String */),
291
- generateParamConfigMetadata('selectedGroups', true, 2 /* Body */, 0 /* String */, true),
795
+ const adapterName$5 = 'compareUserAssignments';
796
+ const compareUserAssignments_ConfigPropertyMetadata = [
797
+ generateParamConfigMetadata('userIds', true, 2 /* Body */, 0 /* String */, true),
798
+ generateParamConfigMetadata('entityType', true, 2 /* Body */, 0 /* String */),
799
+ generateParamConfigMetadata('limit', true, 2 /* Body */, 3 /* Integer */),
800
+ generateParamConfigMetadata('offset', true, 2 /* Body */, 3 /* Integer */),
801
+ generateParamConfigMetadata('sortBy', true, 2 /* Body */, 0 /* String */),
802
+ generateParamConfigMetadata('sortOrder', true, 2 /* Body */, 0 /* String */),
803
+ generateParamConfigMetadata('searchTerm', true, 2 /* Body */, 0 /* String */),
804
+ generateParamConfigMetadata('showOnlyDifferences', true, 2 /* Body */, 1 /* Boolean */),
292
805
  ];
293
- const addRemoveUserToGroups_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, addRemoveUserToGroups_ConfigPropertyMetadata);
294
- const createResourceParams$5 = /*#__PURE__*/ createResourceParams$6(addRemoveUserToGroups_ConfigPropertyMetadata);
806
+ const compareUserAssignments_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, compareUserAssignments_ConfigPropertyMetadata);
807
+ const createResourceParams$5 = /*#__PURE__*/ createResourceParams$7(compareUserAssignments_ConfigPropertyMetadata);
295
808
  function keyBuilder$a(luvio, config) {
296
809
  const resourceParams = createResourceParams$5(config);
297
810
  return keyBuilder$b(luvio, resourceParams);
298
811
  }
299
812
  function typeCheckConfig$5(untrustedConfig) {
300
813
  const config = {};
301
- typeCheckConfig$6(untrustedConfig, config, addRemoveUserToGroups_ConfigPropertyMetadata);
814
+ typeCheckConfig$7(untrustedConfig, config, compareUserAssignments_ConfigPropertyMetadata);
302
815
  return config;
303
816
  }
304
817
  function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
@@ -347,7 +860,7 @@ function buildNetworkSnapshot$5(luvio, config, options) {
347
860
  });
348
861
  }
349
862
  function buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext) {
350
- return buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext, buildNetworkSnapshot$5, 'get', false);
863
+ return buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext, buildNetworkSnapshot$5, 'get', false);
351
864
  }
352
865
  function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
353
866
  const { luvio, config } = context;
@@ -362,8 +875,8 @@ function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
362
875
  });
363
876
  return cacheSnapshot;
364
877
  }
365
- const addRemoveUserToGroupsAdapterFactory = (luvio) => function sharing__addRemoveUserToGroups(untrustedConfig, requestContext) {
366
- const config = validateAdapterConfig$5(untrustedConfig, addRemoveUserToGroups_ConfigPropertyNames);
878
+ const compareUserAssignmentsAdapterFactory = (luvio) => function sharing__compareUserAssignments(untrustedConfig, requestContext) {
879
+ const config = validateAdapterConfig$5(untrustedConfig, compareUserAssignments_ConfigPropertyNames);
367
880
  // Invalid or incomplete config
368
881
  if (config === null) {
369
882
  return null;
@@ -603,14 +1116,14 @@ const getAllSobjects_ConfigPropertyMetadata = [
603
1116
  generateParamConfigMetadata('searchText', false, 1 /* QueryParameter */, 0 /* String */),
604
1117
  ];
605
1118
  const getAllSobjects_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, getAllSobjects_ConfigPropertyMetadata);
606
- const createResourceParams$4 = /*#__PURE__*/ createResourceParams$6(getAllSobjects_ConfigPropertyMetadata);
1119
+ const createResourceParams$4 = /*#__PURE__*/ createResourceParams$7(getAllSobjects_ConfigPropertyMetadata);
607
1120
  function keyBuilder$8(luvio, config) {
608
1121
  const resourceParams = createResourceParams$4(config);
609
1122
  return keyBuilder$9(luvio, resourceParams);
610
1123
  }
611
1124
  function typeCheckConfig$4(untrustedConfig) {
612
1125
  const config = {};
613
- typeCheckConfig$6(untrustedConfig, config, getAllSobjects_ConfigPropertyMetadata);
1126
+ typeCheckConfig$7(untrustedConfig, config, getAllSobjects_ConfigPropertyMetadata);
614
1127
  return config;
615
1128
  }
616
1129
  function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
@@ -659,7 +1172,7 @@ function buildNetworkSnapshot$4(luvio, config, options) {
659
1172
  });
660
1173
  }
661
1174
  function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext) {
662
- return buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
1175
+ return buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
663
1176
  }
664
1177
  function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
665
1178
  const { luvio, config } = context;
@@ -1142,14 +1655,14 @@ const getGroupsForUser_ConfigPropertyMetadata = [
1142
1655
  generateParamConfigMetadata('searchTerm', false, 1 /* QueryParameter */, 0 /* String */),
1143
1656
  ];
1144
1657
  const getGroupsForUser_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getGroupsForUser_ConfigPropertyMetadata);
1145
- const createResourceParams$3 = /*#__PURE__*/ createResourceParams$6(getGroupsForUser_ConfigPropertyMetadata);
1658
+ const createResourceParams$3 = /*#__PURE__*/ createResourceParams$7(getGroupsForUser_ConfigPropertyMetadata);
1146
1659
  function keyBuilder$6(luvio, config) {
1147
1660
  const resourceParams = createResourceParams$3(config);
1148
1661
  return keyBuilder$7(luvio, resourceParams);
1149
1662
  }
1150
1663
  function typeCheckConfig$3(untrustedConfig) {
1151
1664
  const config = {};
1152
- typeCheckConfig$6(untrustedConfig, config, getGroupsForUser_ConfigPropertyMetadata);
1665
+ typeCheckConfig$7(untrustedConfig, config, getGroupsForUser_ConfigPropertyMetadata);
1153
1666
  return config;
1154
1667
  }
1155
1668
  function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
@@ -1198,7 +1711,7 @@ function buildNetworkSnapshot$3(luvio, config, options) {
1198
1711
  });
1199
1712
  }
1200
1713
  function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
1201
- return buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
1714
+ return buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
1202
1715
  }
1203
1716
  function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
1204
1717
  const { luvio, config } = context;
@@ -1943,14 +2456,14 @@ const getPublicGroupMembershipDetails_ConfigPropertyMetadata = [
1943
2456
  generateParamConfigMetadata('selectedMembers', true, 2 /* Body */, 0 /* String */, true),
1944
2457
  ];
1945
2458
  const getPublicGroupMembershipDetails_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getPublicGroupMembershipDetails_ConfigPropertyMetadata);
1946
- const createResourceParams$2 = /*#__PURE__*/ createResourceParams$6(getPublicGroupMembershipDetails_ConfigPropertyMetadata);
2459
+ const createResourceParams$2 = /*#__PURE__*/ createResourceParams$7(getPublicGroupMembershipDetails_ConfigPropertyMetadata);
1947
2460
  function keyBuilder$4(luvio, config) {
1948
2461
  const resourceParams = createResourceParams$2(config);
1949
2462
  return keyBuilder$5(luvio, resourceParams);
1950
2463
  }
1951
2464
  function typeCheckConfig$2(untrustedConfig) {
1952
2465
  const config = {};
1953
- typeCheckConfig$6(untrustedConfig, config, getPublicGroupMembershipDetails_ConfigPropertyMetadata);
2466
+ typeCheckConfig$7(untrustedConfig, config, getPublicGroupMembershipDetails_ConfigPropertyMetadata);
1954
2467
  const untrustedConfig_filterCriteria = untrustedConfig.filterCriteria;
1955
2468
  config.filterCriteria = untrustedConfig_filterCriteria;
1956
2469
  return config;
@@ -2001,7 +2514,7 @@ function buildNetworkSnapshot$2(luvio, config, options) {
2001
2514
  });
2002
2515
  }
2003
2516
  function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
2004
- return buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, 'get', false);
2517
+ return buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, 'get', false);
2005
2518
  }
2006
2519
  function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
2007
2520
  const { luvio, config } = context;
@@ -3142,14 +3655,14 @@ const getPublicGroupShareData_ConfigPropertyMetadata = [
3142
3655
  generateParamConfigMetadata('orderType', true, 2 /* Body */, 0 /* String */),
3143
3656
  ];
3144
3657
  const getPublicGroupShareData_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getPublicGroupShareData_ConfigPropertyMetadata);
3145
- const createResourceParams$1 = /*#__PURE__*/ createResourceParams$6(getPublicGroupShareData_ConfigPropertyMetadata);
3658
+ const createResourceParams$1 = /*#__PURE__*/ createResourceParams$7(getPublicGroupShareData_ConfigPropertyMetadata);
3146
3659
  function keyBuilder$2(luvio, config) {
3147
3660
  const resourceParams = createResourceParams$1(config);
3148
3661
  return keyBuilder$3(luvio, resourceParams);
3149
3662
  }
3150
3663
  function typeCheckConfig$1(untrustedConfig) {
3151
3664
  const config = {};
3152
- typeCheckConfig$6(untrustedConfig, config, getPublicGroupShareData_ConfigPropertyMetadata);
3665
+ typeCheckConfig$7(untrustedConfig, config, getPublicGroupShareData_ConfigPropertyMetadata);
3153
3666
  return config;
3154
3667
  }
3155
3668
  function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
@@ -3198,7 +3711,7 @@ function buildNetworkSnapshot$1(luvio, config, options) {
3198
3711
  });
3199
3712
  }
3200
3713
  function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
3201
- return buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, 'get', false);
3714
+ return buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, 'get', false);
3202
3715
  }
3203
3716
  function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
3204
3717
  const { luvio, config } = context;
@@ -3536,14 +4049,14 @@ const getUserPermissions_ConfigPropertyMetadata = [
3536
4049
  generateParamConfigMetadata('recordId', true, 1 /* QueryParameter */, 0 /* String */),
3537
4050
  ];
3538
4051
  const getUserPermissions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, getUserPermissions_ConfigPropertyMetadata);
3539
- const createResourceParams = /*#__PURE__*/ createResourceParams$6(getUserPermissions_ConfigPropertyMetadata);
4052
+ const createResourceParams = /*#__PURE__*/ createResourceParams$7(getUserPermissions_ConfigPropertyMetadata);
3540
4053
  function keyBuilder(luvio, config) {
3541
4054
  const resourceParams = createResourceParams(config);
3542
4055
  return keyBuilder$1(luvio, resourceParams);
3543
4056
  }
3544
4057
  function typeCheckConfig(untrustedConfig) {
3545
4058
  const config = {};
3546
- typeCheckConfig$6(untrustedConfig, config, getUserPermissions_ConfigPropertyMetadata);
4059
+ typeCheckConfig$7(untrustedConfig, config, getUserPermissions_ConfigPropertyMetadata);
3547
4060
  return config;
3548
4061
  }
3549
4062
  function validateAdapterConfig(untrustedConfig, configPropertyNames) {
@@ -3592,7 +4105,7 @@ function buildNetworkSnapshot(luvio, config, options) {
3592
4105
  });
3593
4106
  }
3594
4107
  function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
3595
- return buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext, buildNetworkSnapshot, undefined, false);
4108
+ return buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext, buildNetworkSnapshot, undefined, false);
3596
4109
  }
3597
4110
  function buildCachedSnapshotCachePolicy(context, storeLookup) {
3598
4111
  const { luvio, config } = context;
@@ -3618,6 +4131,7 @@ const getUserPermissionsAdapterFactory = (luvio) => function sharing__getUserPer
3618
4131
  };
3619
4132
 
3620
4133
  let addRemoveUserToGroups;
4134
+ let compareUserAssignments;
3621
4135
  let getAllSobjects;
3622
4136
  let getGroupsForUser;
3623
4137
  let getPublicGroupMembershipDetails;
@@ -3625,6 +4139,7 @@ let getPublicGroupShareData;
3625
4139
  let getUserPermissions;
3626
4140
  // Imperative GET Adapters
3627
4141
  let addRemoveUserToGroups_imperative;
4142
+ let compareUserAssignments_imperative;
3628
4143
  let getAllSobjects_imperative;
3629
4144
  let getGroupsForUser_imperative;
3630
4145
  let getPublicGroupMembershipDetails_imperative;
@@ -3636,6 +4151,11 @@ const addRemoveUserToGroupsMetadata = {
3636
4151
  name: 'addRemoveUserToGroups',
3637
4152
  ttl: 300,
3638
4153
  };
4154
+ const compareUserAssignmentsMetadata = {
4155
+ apiFamily: 'sharing',
4156
+ name: 'compareUserAssignments',
4157
+ ttl: 300,
4158
+ };
3639
4159
  const getAllSobjectsMetadata = { apiFamily: 'sharing', name: 'getAllSobjects', ttl: 900000 };
3640
4160
  const getGroupsForUserMetadata = { apiFamily: 'sharing', name: 'getGroupsForUser', ttl: 300 };
3641
4161
  const getPublicGroupMembershipDetailsMetadata = {
@@ -3653,6 +4173,7 @@ const getUserPermissionsMetadata = { apiFamily: 'sharing', name: 'getUserPermiss
3653
4173
  function bindExportsTo(luvio) {
3654
4174
  // LDS Adapters
3655
4175
  const addRemoveUserToGroups_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'addRemoveUserToGroups', addRemoveUserToGroupsAdapterFactory), addRemoveUserToGroupsMetadata);
4176
+ const compareUserAssignments_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'compareUserAssignments', compareUserAssignmentsAdapterFactory), compareUserAssignmentsMetadata);
3656
4177
  const getAllSobjects_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getAllSobjects', getAllSobjectsAdapterFactory), getAllSobjectsMetadata);
3657
4178
  const getGroupsForUser_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getGroupsForUser', getGroupsForUserAdapterFactory), getGroupsForUserMetadata);
3658
4179
  const getPublicGroupMembershipDetails_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getPublicGroupMembershipDetails', getPublicGroupMembershipDetailsAdapterFactory), getPublicGroupMembershipDetailsMetadata);
@@ -3660,6 +4181,7 @@ function bindExportsTo(luvio) {
3660
4181
  const getUserPermissions_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getUserPermissions', getUserPermissionsAdapterFactory), getUserPermissionsMetadata);
3661
4182
  return {
3662
4183
  addRemoveUserToGroups: createWireAdapterConstructor(luvio, addRemoveUserToGroups_ldsAdapter, addRemoveUserToGroupsMetadata),
4184
+ compareUserAssignments: createWireAdapterConstructor(luvio, compareUserAssignments_ldsAdapter, compareUserAssignmentsMetadata),
3663
4185
  getAllSobjects: createWireAdapterConstructor(luvio, getAllSobjects_ldsAdapter, getAllSobjectsMetadata),
3664
4186
  getGroupsForUser: createWireAdapterConstructor(luvio, getGroupsForUser_ldsAdapter, getGroupsForUserMetadata),
3665
4187
  getPublicGroupMembershipDetails: createWireAdapterConstructor(luvio, getPublicGroupMembershipDetails_ldsAdapter, getPublicGroupMembershipDetailsMetadata),
@@ -3667,6 +4189,7 @@ function bindExportsTo(luvio) {
3667
4189
  getUserPermissions: createWireAdapterConstructor(luvio, getUserPermissions_ldsAdapter, getUserPermissionsMetadata),
3668
4190
  // Imperative GET Adapters
3669
4191
  addRemoveUserToGroups_imperative: createImperativeAdapter(luvio, addRemoveUserToGroups_ldsAdapter, addRemoveUserToGroupsMetadata),
4192
+ compareUserAssignments_imperative: createImperativeAdapter(luvio, compareUserAssignments_ldsAdapter, compareUserAssignmentsMetadata),
3670
4193
  getAllSobjects_imperative: createImperativeAdapter(luvio, getAllSobjects_ldsAdapter, getAllSobjectsMetadata),
3671
4194
  getGroupsForUser_imperative: createImperativeAdapter(luvio, getGroupsForUser_ldsAdapter, getGroupsForUserMetadata),
3672
4195
  getPublicGroupMembershipDetails_imperative: createImperativeAdapter(luvio, getPublicGroupMembershipDetails_ldsAdapter, getPublicGroupMembershipDetailsMetadata),
@@ -3678,12 +4201,14 @@ function bindExportsTo(luvio) {
3678
4201
  withDefaultLuvio((luvio) => {
3679
4202
  ({
3680
4203
  addRemoveUserToGroups,
4204
+ compareUserAssignments,
3681
4205
  getAllSobjects,
3682
4206
  getGroupsForUser,
3683
4207
  getPublicGroupMembershipDetails,
3684
4208
  getPublicGroupShareData,
3685
4209
  getUserPermissions,
3686
4210
  addRemoveUserToGroups_imperative,
4211
+ compareUserAssignments_imperative,
3687
4212
  getAllSobjects_imperative,
3688
4213
  getGroupsForUser_imperative,
3689
4214
  getPublicGroupMembershipDetails_imperative,
@@ -3692,5 +4217,5 @@ withDefaultLuvio((luvio) => {
3692
4217
  } = bindExportsTo(luvio));
3693
4218
  });
3694
4219
 
3695
- export { addRemoveUserToGroups, addRemoveUserToGroups_imperative, getAllSobjects, getAllSobjects_imperative, getGroupsForUser, getGroupsForUser_imperative, getPublicGroupMembershipDetails, getPublicGroupMembershipDetails_imperative, getPublicGroupShareData, getPublicGroupShareData_imperative, getUserPermissions, getUserPermissions_imperative };
3696
- // version: 1.424.0-3bccebbf90
4220
+ export { addRemoveUserToGroups, addRemoveUserToGroups_imperative, compareUserAssignments, compareUserAssignments_imperative, getAllSobjects, getAllSobjects_imperative, getGroupsForUser, getGroupsForUser_imperative, getPublicGroupMembershipDetails, getPublicGroupMembershipDetails_imperative, getPublicGroupShareData, getPublicGroupShareData_imperative, getUserPermissions, getUserPermissions_imperative };
4221
+ // version: 1.426.1-9fe18ee3ae