@salesforce/lds-adapters-platform-sharing 1.421.1 → 1.422.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.
- package/dist/es/es2018/platform-sharing.js +364 -117
- package/dist/es/es2018/types/src/generated/types/PublicGroupSummaryRepresentation.d.ts +9 -1
- package/dist/es/es2018/types/src/generated/types/QueueSupportedObjectDetailsRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/RoutingConfigDetailsRepresentation.d.ts +31 -0
- package/package.json +3 -3
- package/sfdc/index.js +385 -138
- package/src/raml/api.raml +36 -0
package/sfdc/index.js
CHANGED
|
@@ -102,8 +102,8 @@ function createLink(ref) {
|
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
const TTL$5 = 300;
|
|
105
|
-
const VERSION$
|
|
106
|
-
function validate$
|
|
105
|
+
const VERSION$k = "9934cf4cb3fdd0b955c08c2d695a9a53";
|
|
106
|
+
function validate$k(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 + '")');
|
|
@@ -149,10 +149,10 @@ const RepresentationType$5 = 'UserGroupMembershipDetailsRepresentation';
|
|
|
149
149
|
function normalize$5(input, existing, path, luvio, store, timestamp) {
|
|
150
150
|
return input;
|
|
151
151
|
}
|
|
152
|
-
const select$
|
|
152
|
+
const select$q = function UserGroupMembershipDetailsRepresentationSelect() {
|
|
153
153
|
return {
|
|
154
154
|
kind: 'Fragment',
|
|
155
|
-
version: VERSION$
|
|
155
|
+
version: VERSION$k,
|
|
156
156
|
private: [],
|
|
157
157
|
selections: [
|
|
158
158
|
{
|
|
@@ -176,7 +176,7 @@ const select$o = function UserGroupMembershipDetailsRepresentationSelect() {
|
|
|
176
176
|
]
|
|
177
177
|
};
|
|
178
178
|
};
|
|
179
|
-
function equals$
|
|
179
|
+
function equals$k(existing, incoming) {
|
|
180
180
|
const existing_isSuccess = existing.isSuccess;
|
|
181
181
|
const incoming_isSuccess = incoming.isSuccess;
|
|
182
182
|
if (!(existing_isSuccess === incoming_isSuccess)) {
|
|
@@ -211,14 +211,14 @@ function equals$i(existing, incoming) {
|
|
|
211
211
|
}
|
|
212
212
|
const ingest$5 = function UserGroupMembershipDetailsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
213
213
|
if (process.env.NODE_ENV !== 'production') {
|
|
214
|
-
const validateError = validate$
|
|
214
|
+
const validateError = validate$k(input);
|
|
215
215
|
if (validateError !== null) {
|
|
216
216
|
throw validateError;
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
219
|
const key = path.fullPath;
|
|
220
220
|
const ttlToUse = TTL$5;
|
|
221
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "sharing", VERSION$
|
|
221
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "sharing", VERSION$k, RepresentationType$5, equals$k);
|
|
222
222
|
return createLink(key);
|
|
223
223
|
};
|
|
224
224
|
function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -231,8 +231,8 @@ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
231
231
|
});
|
|
232
232
|
}
|
|
233
233
|
|
|
234
|
-
function select$
|
|
235
|
-
return select$
|
|
234
|
+
function select$p(luvio, params) {
|
|
235
|
+
return select$q();
|
|
236
236
|
}
|
|
237
237
|
function keyBuilder$b(luvio, params) {
|
|
238
238
|
return keyPrefix + '::UserGroupMembershipDetailsRepresentation:(' + 'userId:' + params.body.userId + '::' + 'memberType:' + params.body.memberType + '::' + 'operation:' + params.body.operation + '::' + 'selectedGroups:' + params.body.selectedGroups + ')';
|
|
@@ -246,7 +246,7 @@ function ingestSuccess$5(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
246
246
|
luvio.storeIngest(key, ingest$5, body);
|
|
247
247
|
const snapshot = luvio.storeLookup({
|
|
248
248
|
recordId: key,
|
|
249
|
-
node: select$
|
|
249
|
+
node: select$p(),
|
|
250
250
|
variables: {},
|
|
251
251
|
}, snapshotRefresh);
|
|
252
252
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -263,7 +263,7 @@ function ingestError$5(luvio, params, error, snapshotRefresh) {
|
|
|
263
263
|
const storeMetadataParams = {
|
|
264
264
|
ttl: TTL$5,
|
|
265
265
|
namespace: keyPrefix,
|
|
266
|
-
version: VERSION$
|
|
266
|
+
version: VERSION$k,
|
|
267
267
|
representationName: RepresentationType$5
|
|
268
268
|
};
|
|
269
269
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -316,7 +316,7 @@ function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
|
|
|
316
316
|
}
|
|
317
317
|
function adapterFragment$5(luvio, config) {
|
|
318
318
|
createResourceParams$5(config);
|
|
319
|
-
return select$
|
|
319
|
+
return select$p();
|
|
320
320
|
}
|
|
321
321
|
function onFetchResponseSuccess$5(luvio, config, resourceParams, response) {
|
|
322
322
|
const snapshot = ingestSuccess$5(luvio, resourceParams, response, {
|
|
@@ -372,8 +372,8 @@ const addRemoveUserToGroupsAdapterFactory = (luvio) => function sharing__addRemo
|
|
|
372
372
|
buildCachedSnapshotCachePolicy$5, buildNetworkSnapshotCachePolicy$5);
|
|
373
373
|
};
|
|
374
374
|
|
|
375
|
-
const VERSION$
|
|
376
|
-
function validate$
|
|
375
|
+
const VERSION$j = "8f1b312aa04c8869624b95b9e3f3cd4e";
|
|
376
|
+
function validate$j(obj, path = 'SobjectOutputSharingRepresentation') {
|
|
377
377
|
const v_error = (() => {
|
|
378
378
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
379
379
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -401,10 +401,10 @@ function validate$h(obj, path = 'SobjectOutputSharingRepresentation') {
|
|
|
401
401
|
})();
|
|
402
402
|
return v_error === undefined ? null : v_error;
|
|
403
403
|
}
|
|
404
|
-
const select$
|
|
404
|
+
const select$o = function SobjectOutputSharingRepresentationSelect() {
|
|
405
405
|
return {
|
|
406
406
|
kind: 'Fragment',
|
|
407
|
-
version: VERSION$
|
|
407
|
+
version: VERSION$j,
|
|
408
408
|
private: [],
|
|
409
409
|
selections: [
|
|
410
410
|
{
|
|
@@ -426,7 +426,7 @@ const select$m = function SobjectOutputSharingRepresentationSelect() {
|
|
|
426
426
|
]
|
|
427
427
|
};
|
|
428
428
|
};
|
|
429
|
-
function equals$
|
|
429
|
+
function equals$j(existing, incoming) {
|
|
430
430
|
const existing_apiName = existing.apiName;
|
|
431
431
|
const incoming_apiName = incoming.apiName;
|
|
432
432
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -451,8 +451,8 @@ function equals$h(existing, incoming) {
|
|
|
451
451
|
}
|
|
452
452
|
|
|
453
453
|
const TTL$4 = 900000;
|
|
454
|
-
const VERSION$
|
|
455
|
-
function validate$
|
|
454
|
+
const VERSION$i = "891459dfe3e992adddad156c898d3aef";
|
|
455
|
+
function validate$i(obj, path = 'SobjectsOutputSharingRepresentation') {
|
|
456
456
|
const v_error = (() => {
|
|
457
457
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
458
458
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -470,7 +470,7 @@ function validate$g(obj, path = 'SobjectsOutputSharingRepresentation') {
|
|
|
470
470
|
for (let i = 0; i < obj_sobjects.length; i++) {
|
|
471
471
|
const obj_sobjects_item = obj_sobjects[i];
|
|
472
472
|
const path_sobjects_item = path_sobjects + '[' + i + ']';
|
|
473
|
-
const referencepath_sobjects_itemValidationError = validate$
|
|
473
|
+
const referencepath_sobjects_itemValidationError = validate$j(obj_sobjects_item, path_sobjects_item);
|
|
474
474
|
if (referencepath_sobjects_itemValidationError !== null) {
|
|
475
475
|
let message = 'Object doesn\'t match SobjectOutputSharingRepresentation (at "' + path_sobjects_item + '")\n';
|
|
476
476
|
message += referencepath_sobjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -484,11 +484,11 @@ const RepresentationType$4 = 'SobjectsOutputSharingRepresentation';
|
|
|
484
484
|
function normalize$4(input, existing, path, luvio, store, timestamp) {
|
|
485
485
|
return input;
|
|
486
486
|
}
|
|
487
|
-
const select$
|
|
488
|
-
const { selections: SobjectOutputSharingRepresentation__selections, opaque: SobjectOutputSharingRepresentation__opaque, } = select$
|
|
487
|
+
const select$n = function SobjectsOutputSharingRepresentationSelect() {
|
|
488
|
+
const { selections: SobjectOutputSharingRepresentation__selections, opaque: SobjectOutputSharingRepresentation__opaque, } = select$o();
|
|
489
489
|
return {
|
|
490
490
|
kind: 'Fragment',
|
|
491
|
-
version: VERSION$
|
|
491
|
+
version: VERSION$i,
|
|
492
492
|
private: [],
|
|
493
493
|
selections: [
|
|
494
494
|
{
|
|
@@ -504,7 +504,7 @@ const select$l = function SobjectsOutputSharingRepresentationSelect() {
|
|
|
504
504
|
]
|
|
505
505
|
};
|
|
506
506
|
};
|
|
507
|
-
function equals$
|
|
507
|
+
function equals$i(existing, incoming) {
|
|
508
508
|
const existing_size = existing.size;
|
|
509
509
|
const incoming_size = incoming.size;
|
|
510
510
|
if (!(existing_size === incoming_size)) {
|
|
@@ -513,7 +513,7 @@ function equals$g(existing, incoming) {
|
|
|
513
513
|
const existing_sobjects = existing.sobjects;
|
|
514
514
|
const incoming_sobjects = incoming.sobjects;
|
|
515
515
|
const equals_sobjects_items = equalsArray(existing_sobjects, incoming_sobjects, (existing_sobjects_item, incoming_sobjects_item) => {
|
|
516
|
-
if (!(equals$
|
|
516
|
+
if (!(equals$j(existing_sobjects_item, incoming_sobjects_item))) {
|
|
517
517
|
return false;
|
|
518
518
|
}
|
|
519
519
|
});
|
|
@@ -524,14 +524,14 @@ function equals$g(existing, incoming) {
|
|
|
524
524
|
}
|
|
525
525
|
const ingest$4 = function SobjectsOutputSharingRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
526
526
|
if (process.env.NODE_ENV !== 'production') {
|
|
527
|
-
const validateError = validate$
|
|
527
|
+
const validateError = validate$i(input);
|
|
528
528
|
if (validateError !== null) {
|
|
529
529
|
throw validateError;
|
|
530
530
|
}
|
|
531
531
|
}
|
|
532
532
|
const key = path.fullPath;
|
|
533
533
|
const ttlToUse = TTL$4;
|
|
534
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "sharing", VERSION$
|
|
534
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "sharing", VERSION$i, RepresentationType$4, equals$i);
|
|
535
535
|
return createLink(key);
|
|
536
536
|
};
|
|
537
537
|
function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -544,8 +544,8 @@ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
544
544
|
});
|
|
545
545
|
}
|
|
546
546
|
|
|
547
|
-
function select$
|
|
548
|
-
return select$
|
|
547
|
+
function select$m(luvio, params) {
|
|
548
|
+
return select$n();
|
|
549
549
|
}
|
|
550
550
|
function keyBuilder$9(luvio, params) {
|
|
551
551
|
return keyPrefix + '::SobjectsOutputSharingRepresentation:(' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'searchText:' + params.queryParams.searchText + ')';
|
|
@@ -559,7 +559,7 @@ function ingestSuccess$4(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
559
559
|
luvio.storeIngest(key, ingest$4, body);
|
|
560
560
|
const snapshot = luvio.storeLookup({
|
|
561
561
|
recordId: key,
|
|
562
|
-
node: select$
|
|
562
|
+
node: select$m(),
|
|
563
563
|
variables: {},
|
|
564
564
|
}, snapshotRefresh);
|
|
565
565
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -576,7 +576,7 @@ function ingestError$4(luvio, params, error, snapshotRefresh) {
|
|
|
576
576
|
const storeMetadataParams = {
|
|
577
577
|
ttl: TTL$4,
|
|
578
578
|
namespace: keyPrefix,
|
|
579
|
-
version: VERSION$
|
|
579
|
+
version: VERSION$i,
|
|
580
580
|
representationName: RepresentationType$4
|
|
581
581
|
};
|
|
582
582
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -628,7 +628,7 @@ function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
|
|
|
628
628
|
}
|
|
629
629
|
function adapterFragment$4(luvio, config) {
|
|
630
630
|
createResourceParams$4(config);
|
|
631
|
-
return select$
|
|
631
|
+
return select$m();
|
|
632
632
|
}
|
|
633
633
|
function onFetchResponseSuccess$4(luvio, config, resourceParams, response) {
|
|
634
634
|
const snapshot = ingestSuccess$4(luvio, resourceParams, response, {
|
|
@@ -684,8 +684,8 @@ const getAllSobjectsAdapterFactory = (luvio) => function sharing__getAllSobjects
|
|
|
684
684
|
buildCachedSnapshotCachePolicy$4, buildNetworkSnapshotCachePolicy$4);
|
|
685
685
|
};
|
|
686
686
|
|
|
687
|
-
const VERSION$
|
|
688
|
-
function validate$
|
|
687
|
+
const VERSION$h = "56d2fddc6bd67f680c2301e397df75c1";
|
|
688
|
+
function validate$h(obj, path = 'PublicGroupRepresentation') {
|
|
689
689
|
const v_error = (() => {
|
|
690
690
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
691
691
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -733,10 +733,10 @@ function validate$f(obj, path = 'PublicGroupRepresentation') {
|
|
|
733
733
|
})();
|
|
734
734
|
return v_error === undefined ? null : v_error;
|
|
735
735
|
}
|
|
736
|
-
const select$
|
|
736
|
+
const select$l = function PublicGroupRepresentationSelect() {
|
|
737
737
|
return {
|
|
738
738
|
kind: 'Fragment',
|
|
739
|
-
version: VERSION$
|
|
739
|
+
version: VERSION$h,
|
|
740
740
|
private: [],
|
|
741
741
|
selections: [
|
|
742
742
|
{
|
|
@@ -774,7 +774,7 @@ const select$j = function PublicGroupRepresentationSelect() {
|
|
|
774
774
|
]
|
|
775
775
|
};
|
|
776
776
|
};
|
|
777
|
-
function equals$
|
|
777
|
+
function equals$h(existing, incoming) {
|
|
778
778
|
const existing_includeBosses = existing.includeBosses;
|
|
779
779
|
const incoming_includeBosses = incoming.includeBosses;
|
|
780
780
|
if (!(existing_includeBosses === incoming_includeBosses)) {
|
|
@@ -818,8 +818,8 @@ function equals$f(existing, incoming) {
|
|
|
818
818
|
return true;
|
|
819
819
|
}
|
|
820
820
|
|
|
821
|
-
const VERSION$
|
|
822
|
-
function validate$
|
|
821
|
+
const VERSION$g = "86395e9e3ea80502810c8109ecd94d68";
|
|
822
|
+
function validate$g(obj, path = 'QueueRepresentation') {
|
|
823
823
|
const v_error = (() => {
|
|
824
824
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
825
825
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -872,10 +872,10 @@ function validate$e(obj, path = 'QueueRepresentation') {
|
|
|
872
872
|
})();
|
|
873
873
|
return v_error === undefined ? null : v_error;
|
|
874
874
|
}
|
|
875
|
-
const select$
|
|
875
|
+
const select$k = function QueueRepresentationSelect() {
|
|
876
876
|
return {
|
|
877
877
|
kind: 'Fragment',
|
|
878
|
-
version: VERSION$
|
|
878
|
+
version: VERSION$g,
|
|
879
879
|
private: [],
|
|
880
880
|
selections: [
|
|
881
881
|
{
|
|
@@ -917,7 +917,7 @@ const select$i = function QueueRepresentationSelect() {
|
|
|
917
917
|
]
|
|
918
918
|
};
|
|
919
919
|
};
|
|
920
|
-
function equals$
|
|
920
|
+
function equals$g(existing, incoming) {
|
|
921
921
|
const existing_developerName = existing.developerName;
|
|
922
922
|
const incoming_developerName = incoming.developerName;
|
|
923
923
|
if (!(existing_developerName === incoming_developerName)) {
|
|
@@ -967,8 +967,8 @@ function equals$e(existing, incoming) {
|
|
|
967
967
|
}
|
|
968
968
|
|
|
969
969
|
const TTL$3 = 300;
|
|
970
|
-
const VERSION$
|
|
971
|
-
function validate$
|
|
970
|
+
const VERSION$f = "3659c4a4f46957a3a2b5cb2d2383180d";
|
|
971
|
+
function validate$f(obj, path = 'GroupCollectionRepresentation') {
|
|
972
972
|
const v_error = (() => {
|
|
973
973
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
974
974
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -981,7 +981,7 @@ function validate$d(obj, path = 'GroupCollectionRepresentation') {
|
|
|
981
981
|
for (let i = 0; i < obj_publicGroupRepresentations.length; i++) {
|
|
982
982
|
const obj_publicGroupRepresentations_item = obj_publicGroupRepresentations[i];
|
|
983
983
|
const path_publicGroupRepresentations_item = path_publicGroupRepresentations + '[' + i + ']';
|
|
984
|
-
const referencepath_publicGroupRepresentations_itemValidationError = validate$
|
|
984
|
+
const referencepath_publicGroupRepresentations_itemValidationError = validate$h(obj_publicGroupRepresentations_item, path_publicGroupRepresentations_item);
|
|
985
985
|
if (referencepath_publicGroupRepresentations_itemValidationError !== null) {
|
|
986
986
|
let message = 'Object doesn\'t match PublicGroupRepresentation (at "' + path_publicGroupRepresentations_item + '")\n';
|
|
987
987
|
message += referencepath_publicGroupRepresentations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -996,7 +996,7 @@ function validate$d(obj, path = 'GroupCollectionRepresentation') {
|
|
|
996
996
|
for (let i = 0; i < obj_queueRepresentations.length; i++) {
|
|
997
997
|
const obj_queueRepresentations_item = obj_queueRepresentations[i];
|
|
998
998
|
const path_queueRepresentations_item = path_queueRepresentations + '[' + i + ']';
|
|
999
|
-
const referencepath_queueRepresentations_itemValidationError = validate$
|
|
999
|
+
const referencepath_queueRepresentations_itemValidationError = validate$g(obj_queueRepresentations_item, path_queueRepresentations_item);
|
|
1000
1000
|
if (referencepath_queueRepresentations_itemValidationError !== null) {
|
|
1001
1001
|
let message = 'Object doesn\'t match QueueRepresentation (at "' + path_queueRepresentations_item + '")\n';
|
|
1002
1002
|
message += referencepath_queueRepresentations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1010,12 +1010,12 @@ const RepresentationType$3 = 'GroupCollectionRepresentation';
|
|
|
1010
1010
|
function normalize$3(input, existing, path, luvio, store, timestamp) {
|
|
1011
1011
|
return input;
|
|
1012
1012
|
}
|
|
1013
|
-
const select$
|
|
1014
|
-
const { selections: PublicGroupRepresentation__selections, opaque: PublicGroupRepresentation__opaque, } = select$
|
|
1015
|
-
const { selections: QueueRepresentation__selections, opaque: QueueRepresentation__opaque, } = select$
|
|
1013
|
+
const select$j = function GroupCollectionRepresentationSelect() {
|
|
1014
|
+
const { selections: PublicGroupRepresentation__selections, opaque: PublicGroupRepresentation__opaque, } = select$l();
|
|
1015
|
+
const { selections: QueueRepresentation__selections, opaque: QueueRepresentation__opaque, } = select$k();
|
|
1016
1016
|
return {
|
|
1017
1017
|
kind: 'Fragment',
|
|
1018
|
-
version: VERSION$
|
|
1018
|
+
version: VERSION$f,
|
|
1019
1019
|
private: [],
|
|
1020
1020
|
selections: [
|
|
1021
1021
|
{
|
|
@@ -1033,11 +1033,11 @@ const select$h = function GroupCollectionRepresentationSelect() {
|
|
|
1033
1033
|
]
|
|
1034
1034
|
};
|
|
1035
1035
|
};
|
|
1036
|
-
function equals$
|
|
1036
|
+
function equals$f(existing, incoming) {
|
|
1037
1037
|
const existing_publicGroupRepresentations = existing.publicGroupRepresentations;
|
|
1038
1038
|
const incoming_publicGroupRepresentations = incoming.publicGroupRepresentations;
|
|
1039
1039
|
const equals_publicGroupRepresentations_items = equalsArray(existing_publicGroupRepresentations, incoming_publicGroupRepresentations, (existing_publicGroupRepresentations_item, incoming_publicGroupRepresentations_item) => {
|
|
1040
|
-
if (!(equals$
|
|
1040
|
+
if (!(equals$h(existing_publicGroupRepresentations_item, incoming_publicGroupRepresentations_item))) {
|
|
1041
1041
|
return false;
|
|
1042
1042
|
}
|
|
1043
1043
|
});
|
|
@@ -1047,7 +1047,7 @@ function equals$d(existing, incoming) {
|
|
|
1047
1047
|
const existing_queueRepresentations = existing.queueRepresentations;
|
|
1048
1048
|
const incoming_queueRepresentations = incoming.queueRepresentations;
|
|
1049
1049
|
const equals_queueRepresentations_items = equalsArray(existing_queueRepresentations, incoming_queueRepresentations, (existing_queueRepresentations_item, incoming_queueRepresentations_item) => {
|
|
1050
|
-
if (!(equals$
|
|
1050
|
+
if (!(equals$g(existing_queueRepresentations_item, incoming_queueRepresentations_item))) {
|
|
1051
1051
|
return false;
|
|
1052
1052
|
}
|
|
1053
1053
|
});
|
|
@@ -1058,14 +1058,14 @@ function equals$d(existing, incoming) {
|
|
|
1058
1058
|
}
|
|
1059
1059
|
const ingest$3 = function GroupCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1060
1060
|
if (process.env.NODE_ENV !== 'production') {
|
|
1061
|
-
const validateError = validate$
|
|
1061
|
+
const validateError = validate$f(input);
|
|
1062
1062
|
if (validateError !== null) {
|
|
1063
1063
|
throw validateError;
|
|
1064
1064
|
}
|
|
1065
1065
|
}
|
|
1066
1066
|
const key = path.fullPath;
|
|
1067
1067
|
const ttlToUse = TTL$3;
|
|
1068
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "sharing", VERSION$
|
|
1068
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "sharing", VERSION$f, RepresentationType$3, equals$f);
|
|
1069
1069
|
return createLink(key);
|
|
1070
1070
|
};
|
|
1071
1071
|
function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1078,8 +1078,8 @@ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1078
1078
|
});
|
|
1079
1079
|
}
|
|
1080
1080
|
|
|
1081
|
-
function select$
|
|
1082
|
-
return select$
|
|
1081
|
+
function select$i(luvio, params) {
|
|
1082
|
+
return select$j();
|
|
1083
1083
|
}
|
|
1084
1084
|
function keyBuilder$7(luvio, params) {
|
|
1085
1085
|
return keyPrefix + '::GroupCollectionRepresentation:(' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'sortBy:' + params.queryParams.sortBy + ',' + 'sortOrder:' + params.queryParams.sortOrder + ',' + 'groupMembership:' + params.queryParams.groupMembership + ',' + 'searchTerm:' + params.queryParams.searchTerm + ',' + 'groupType:' + params.urlParams.groupType + ',' + 'userId:' + params.urlParams.userId + ')';
|
|
@@ -1093,7 +1093,7 @@ function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
1093
1093
|
luvio.storeIngest(key, ingest$3, body);
|
|
1094
1094
|
const snapshot = luvio.storeLookup({
|
|
1095
1095
|
recordId: key,
|
|
1096
|
-
node: select$
|
|
1096
|
+
node: select$i(),
|
|
1097
1097
|
variables: {},
|
|
1098
1098
|
}, snapshotRefresh);
|
|
1099
1099
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -1110,7 +1110,7 @@ function ingestError$3(luvio, params, error, snapshotRefresh) {
|
|
|
1110
1110
|
const storeMetadataParams = {
|
|
1111
1111
|
ttl: TTL$3,
|
|
1112
1112
|
namespace: keyPrefix,
|
|
1113
|
-
version: VERSION$
|
|
1113
|
+
version: VERSION$f,
|
|
1114
1114
|
representationName: RepresentationType$3
|
|
1115
1115
|
};
|
|
1116
1116
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -1167,7 +1167,7 @@ function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
|
|
|
1167
1167
|
}
|
|
1168
1168
|
function adapterFragment$3(luvio, config) {
|
|
1169
1169
|
createResourceParams$3(config);
|
|
1170
|
-
return select$
|
|
1170
|
+
return select$i();
|
|
1171
1171
|
}
|
|
1172
1172
|
function onFetchResponseSuccess$3(luvio, config, resourceParams, response) {
|
|
1173
1173
|
const snapshot = ingestSuccess$3(luvio, resourceParams, response, {
|
|
@@ -1223,8 +1223,8 @@ const getGroupsForUserAdapterFactory = (luvio) => function sharing__getGroupsFor
|
|
|
1223
1223
|
buildCachedSnapshotCachePolicy$3, buildNetworkSnapshotCachePolicy$3);
|
|
1224
1224
|
};
|
|
1225
1225
|
|
|
1226
|
-
const VERSION$
|
|
1227
|
-
function validate$
|
|
1226
|
+
const VERSION$e = "10400ecb443c1cd1f8fa280e9f89ded8";
|
|
1227
|
+
function validate$e(obj, path = 'PublicGroupMembersInPublicGroupRepresentation') {
|
|
1228
1228
|
const v_error = (() => {
|
|
1229
1229
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1230
1230
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1267,10 +1267,10 @@ function validate$c(obj, path = 'PublicGroupMembersInPublicGroupRepresentation')
|
|
|
1267
1267
|
})();
|
|
1268
1268
|
return v_error === undefined ? null : v_error;
|
|
1269
1269
|
}
|
|
1270
|
-
const select$
|
|
1270
|
+
const select$h = function PublicGroupMembersInPublicGroupRepresentationSelect() {
|
|
1271
1271
|
return {
|
|
1272
1272
|
kind: 'Fragment',
|
|
1273
|
-
version: VERSION$
|
|
1273
|
+
version: VERSION$e,
|
|
1274
1274
|
private: [],
|
|
1275
1275
|
selections: [
|
|
1276
1276
|
{
|
|
@@ -1304,7 +1304,7 @@ const select$f = function PublicGroupMembersInPublicGroupRepresentationSelect()
|
|
|
1304
1304
|
]
|
|
1305
1305
|
};
|
|
1306
1306
|
};
|
|
1307
|
-
function equals$
|
|
1307
|
+
function equals$e(existing, incoming) {
|
|
1308
1308
|
const existing_includeBosses = existing.includeBosses;
|
|
1309
1309
|
const incoming_includeBosses = incoming.includeBosses;
|
|
1310
1310
|
if (!(existing_includeBosses === incoming_includeBosses)) {
|
|
@@ -1343,8 +1343,8 @@ function equals$c(existing, incoming) {
|
|
|
1343
1343
|
return true;
|
|
1344
1344
|
}
|
|
1345
1345
|
|
|
1346
|
-
const VERSION$
|
|
1347
|
-
function validate$
|
|
1346
|
+
const VERSION$d = "23a331717bb19992d3c37b818fc7008a";
|
|
1347
|
+
function validate$d(obj, path = 'RolesInGroupRepresentation') {
|
|
1348
1348
|
const v_error = (() => {
|
|
1349
1349
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1350
1350
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1387,10 +1387,10 @@ function validate$b(obj, path = 'RolesInGroupRepresentation') {
|
|
|
1387
1387
|
})();
|
|
1388
1388
|
return v_error === undefined ? null : v_error;
|
|
1389
1389
|
}
|
|
1390
|
-
const select$
|
|
1390
|
+
const select$g = function RolesInGroupRepresentationSelect() {
|
|
1391
1391
|
return {
|
|
1392
1392
|
kind: 'Fragment',
|
|
1393
|
-
version: VERSION$
|
|
1393
|
+
version: VERSION$d,
|
|
1394
1394
|
private: [],
|
|
1395
1395
|
selections: [
|
|
1396
1396
|
{
|
|
@@ -1424,7 +1424,7 @@ const select$e = function RolesInGroupRepresentationSelect() {
|
|
|
1424
1424
|
]
|
|
1425
1425
|
};
|
|
1426
1426
|
};
|
|
1427
|
-
function equals$
|
|
1427
|
+
function equals$d(existing, incoming) {
|
|
1428
1428
|
const existing_dataId = existing.dataId;
|
|
1429
1429
|
const incoming_dataId = incoming.dataId;
|
|
1430
1430
|
if (!(existing_dataId === incoming_dataId)) {
|
|
@@ -1463,8 +1463,8 @@ function equals$b(existing, incoming) {
|
|
|
1463
1463
|
return true;
|
|
1464
1464
|
}
|
|
1465
1465
|
|
|
1466
|
-
const VERSION$
|
|
1467
|
-
function validate$
|
|
1466
|
+
const VERSION$c = "81212e87b01ada2a285c551aadcec218";
|
|
1467
|
+
function validate$c(obj, path = 'UserMembersInPublicGroupRepresentation') {
|
|
1468
1468
|
const v_error = (() => {
|
|
1469
1469
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1470
1470
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1512,10 +1512,10 @@ function validate$a(obj, path = 'UserMembersInPublicGroupRepresentation') {
|
|
|
1512
1512
|
})();
|
|
1513
1513
|
return v_error === undefined ? null : v_error;
|
|
1514
1514
|
}
|
|
1515
|
-
const select$
|
|
1515
|
+
const select$f = function UserMembersInPublicGroupRepresentationSelect() {
|
|
1516
1516
|
return {
|
|
1517
1517
|
kind: 'Fragment',
|
|
1518
|
-
version: VERSION$
|
|
1518
|
+
version: VERSION$c,
|
|
1519
1519
|
private: [],
|
|
1520
1520
|
selections: [
|
|
1521
1521
|
{
|
|
@@ -1553,7 +1553,7 @@ const select$d = function UserMembersInPublicGroupRepresentationSelect() {
|
|
|
1553
1553
|
]
|
|
1554
1554
|
};
|
|
1555
1555
|
};
|
|
1556
|
-
function equals$
|
|
1556
|
+
function equals$c(existing, incoming) {
|
|
1557
1557
|
const existing_status = existing.status;
|
|
1558
1558
|
const incoming_status = incoming.status;
|
|
1559
1559
|
if (!(existing_status === incoming_status)) {
|
|
@@ -1598,8 +1598,8 @@ function equals$a(existing, incoming) {
|
|
|
1598
1598
|
}
|
|
1599
1599
|
|
|
1600
1600
|
const TTL$2 = 300;
|
|
1601
|
-
const VERSION$
|
|
1602
|
-
function validate$
|
|
1601
|
+
const VERSION$b = "ff9b160e9ebbf564f9bbe3a7ee37cc16";
|
|
1602
|
+
function validate$b(obj, path = 'PublicGroupMembershipDetailsRepresentation') {
|
|
1603
1603
|
const v_error = (() => {
|
|
1604
1604
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1605
1605
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1617,7 +1617,7 @@ function validate$9(obj, path = 'PublicGroupMembershipDetailsRepresentation') {
|
|
|
1617
1617
|
for (let i = 0; i < obj_listChannelPrograms.length; i++) {
|
|
1618
1618
|
const obj_listChannelPrograms_item = obj_listChannelPrograms[i];
|
|
1619
1619
|
const path_listChannelPrograms_item = path_listChannelPrograms + '[' + i + ']';
|
|
1620
|
-
const referencepath_listChannelPrograms_itemValidationError = validate$
|
|
1620
|
+
const referencepath_listChannelPrograms_itemValidationError = validate$e(obj_listChannelPrograms_item, path_listChannelPrograms_item);
|
|
1621
1621
|
if (referencepath_listChannelPrograms_itemValidationError !== null) {
|
|
1622
1622
|
let message = 'Object doesn\'t match PublicGroupMembersInPublicGroupRepresentation (at "' + path_listChannelPrograms_item + '")\n';
|
|
1623
1623
|
message += referencepath_listChannelPrograms_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1632,7 +1632,7 @@ function validate$9(obj, path = 'PublicGroupMembershipDetailsRepresentation') {
|
|
|
1632
1632
|
for (let i = 0; i < obj_listPublicGroups.length; i++) {
|
|
1633
1633
|
const obj_listPublicGroups_item = obj_listPublicGroups[i];
|
|
1634
1634
|
const path_listPublicGroups_item = path_listPublicGroups + '[' + i + ']';
|
|
1635
|
-
const referencepath_listPublicGroups_itemValidationError = validate$
|
|
1635
|
+
const referencepath_listPublicGroups_itemValidationError = validate$e(obj_listPublicGroups_item, path_listPublicGroups_item);
|
|
1636
1636
|
if (referencepath_listPublicGroups_itemValidationError !== null) {
|
|
1637
1637
|
let message = 'Object doesn\'t match PublicGroupMembersInPublicGroupRepresentation (at "' + path_listPublicGroups_item + '")\n';
|
|
1638
1638
|
message += referencepath_listPublicGroups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1647,7 +1647,7 @@ function validate$9(obj, path = 'PublicGroupMembershipDetailsRepresentation') {
|
|
|
1647
1647
|
for (let i = 0; i < obj_listRoles.length; i++) {
|
|
1648
1648
|
const obj_listRoles_item = obj_listRoles[i];
|
|
1649
1649
|
const path_listRoles_item = path_listRoles + '[' + i + ']';
|
|
1650
|
-
const referencepath_listRoles_itemValidationError = validate$
|
|
1650
|
+
const referencepath_listRoles_itemValidationError = validate$d(obj_listRoles_item, path_listRoles_item);
|
|
1651
1651
|
if (referencepath_listRoles_itemValidationError !== null) {
|
|
1652
1652
|
let message = 'Object doesn\'t match RolesInGroupRepresentation (at "' + path_listRoles_item + '")\n';
|
|
1653
1653
|
message += referencepath_listRoles_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1662,7 +1662,7 @@ function validate$9(obj, path = 'PublicGroupMembershipDetailsRepresentation') {
|
|
|
1662
1662
|
for (let i = 0; i < obj_listRolesAndInternalSubordinates.length; i++) {
|
|
1663
1663
|
const obj_listRolesAndInternalSubordinates_item = obj_listRolesAndInternalSubordinates[i];
|
|
1664
1664
|
const path_listRolesAndInternalSubordinates_item = path_listRolesAndInternalSubordinates + '[' + i + ']';
|
|
1665
|
-
const referencepath_listRolesAndInternalSubordinates_itemValidationError = validate$
|
|
1665
|
+
const referencepath_listRolesAndInternalSubordinates_itemValidationError = validate$d(obj_listRolesAndInternalSubordinates_item, path_listRolesAndInternalSubordinates_item);
|
|
1666
1666
|
if (referencepath_listRolesAndInternalSubordinates_itemValidationError !== null) {
|
|
1667
1667
|
let message = 'Object doesn\'t match RolesInGroupRepresentation (at "' + path_listRolesAndInternalSubordinates_item + '")\n';
|
|
1668
1668
|
message += referencepath_listRolesAndInternalSubordinates_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1677,7 +1677,7 @@ function validate$9(obj, path = 'PublicGroupMembershipDetailsRepresentation') {
|
|
|
1677
1677
|
for (let i = 0; i < obj_listRolesInternalAndPortalSubordinates.length; i++) {
|
|
1678
1678
|
const obj_listRolesInternalAndPortalSubordinates_item = obj_listRolesInternalAndPortalSubordinates[i];
|
|
1679
1679
|
const path_listRolesInternalAndPortalSubordinates_item = path_listRolesInternalAndPortalSubordinates + '[' + i + ']';
|
|
1680
|
-
const referencepath_listRolesInternalAndPortalSubordinates_itemValidationError = validate$
|
|
1680
|
+
const referencepath_listRolesInternalAndPortalSubordinates_itemValidationError = validate$d(obj_listRolesInternalAndPortalSubordinates_item, path_listRolesInternalAndPortalSubordinates_item);
|
|
1681
1681
|
if (referencepath_listRolesInternalAndPortalSubordinates_itemValidationError !== null) {
|
|
1682
1682
|
let message = 'Object doesn\'t match RolesInGroupRepresentation (at "' + path_listRolesInternalAndPortalSubordinates_item + '")\n';
|
|
1683
1683
|
message += referencepath_listRolesInternalAndPortalSubordinates_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1692,7 +1692,7 @@ function validate$9(obj, path = 'PublicGroupMembershipDetailsRepresentation') {
|
|
|
1692
1692
|
for (let i = 0; i < obj_listTerritories.length; i++) {
|
|
1693
1693
|
const obj_listTerritories_item = obj_listTerritories[i];
|
|
1694
1694
|
const path_listTerritories_item = path_listTerritories + '[' + i + ']';
|
|
1695
|
-
const referencepath_listTerritories_itemValidationError = validate$
|
|
1695
|
+
const referencepath_listTerritories_itemValidationError = validate$d(obj_listTerritories_item, path_listTerritories_item);
|
|
1696
1696
|
if (referencepath_listTerritories_itemValidationError !== null) {
|
|
1697
1697
|
let message = 'Object doesn\'t match RolesInGroupRepresentation (at "' + path_listTerritories_item + '")\n';
|
|
1698
1698
|
message += referencepath_listTerritories_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1707,7 +1707,7 @@ function validate$9(obj, path = 'PublicGroupMembershipDetailsRepresentation') {
|
|
|
1707
1707
|
for (let i = 0; i < obj_listUsers.length; i++) {
|
|
1708
1708
|
const obj_listUsers_item = obj_listUsers[i];
|
|
1709
1709
|
const path_listUsers_item = path_listUsers + '[' + i + ']';
|
|
1710
|
-
const referencepath_listUsers_itemValidationError = validate$
|
|
1710
|
+
const referencepath_listUsers_itemValidationError = validate$c(obj_listUsers_item, path_listUsers_item);
|
|
1711
1711
|
if (referencepath_listUsers_itemValidationError !== null) {
|
|
1712
1712
|
let message = 'Object doesn\'t match UserMembersInPublicGroupRepresentation (at "' + path_listUsers_item + '")\n';
|
|
1713
1713
|
message += referencepath_listUsers_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1721,13 +1721,13 @@ const RepresentationType$2 = 'PublicGroupMembershipDetailsRepresentation';
|
|
|
1721
1721
|
function normalize$2(input, existing, path, luvio, store, timestamp) {
|
|
1722
1722
|
return input;
|
|
1723
1723
|
}
|
|
1724
|
-
const select$
|
|
1725
|
-
const { selections: PublicGroupMembersInPublicGroupRepresentation__selections, opaque: PublicGroupMembersInPublicGroupRepresentation__opaque, } = select$
|
|
1726
|
-
const { selections: RolesInGroupRepresentation__selections, opaque: RolesInGroupRepresentation__opaque, } = select$
|
|
1727
|
-
const { selections: UserMembersInPublicGroupRepresentation__selections, opaque: UserMembersInPublicGroupRepresentation__opaque, } = select$
|
|
1724
|
+
const select$e = function PublicGroupMembershipDetailsRepresentationSelect() {
|
|
1725
|
+
const { selections: PublicGroupMembersInPublicGroupRepresentation__selections, opaque: PublicGroupMembersInPublicGroupRepresentation__opaque, } = select$h();
|
|
1726
|
+
const { selections: RolesInGroupRepresentation__selections, opaque: RolesInGroupRepresentation__opaque, } = select$g();
|
|
1727
|
+
const { selections: UserMembersInPublicGroupRepresentation__selections, opaque: UserMembersInPublicGroupRepresentation__opaque, } = select$f();
|
|
1728
1728
|
return {
|
|
1729
1729
|
kind: 'Fragment',
|
|
1730
|
-
version: VERSION$
|
|
1730
|
+
version: VERSION$b,
|
|
1731
1731
|
private: [],
|
|
1732
1732
|
selections: [
|
|
1733
1733
|
{
|
|
@@ -1779,7 +1779,7 @@ const select$c = function PublicGroupMembershipDetailsRepresentationSelect() {
|
|
|
1779
1779
|
]
|
|
1780
1780
|
};
|
|
1781
1781
|
};
|
|
1782
|
-
function equals$
|
|
1782
|
+
function equals$b(existing, incoming) {
|
|
1783
1783
|
const existing_isMember = existing.isMember;
|
|
1784
1784
|
const incoming_isMember = incoming.isMember;
|
|
1785
1785
|
if (!(existing_isMember === incoming_isMember)) {
|
|
@@ -1788,7 +1788,7 @@ function equals$9(existing, incoming) {
|
|
|
1788
1788
|
const existing_listChannelPrograms = existing.listChannelPrograms;
|
|
1789
1789
|
const incoming_listChannelPrograms = incoming.listChannelPrograms;
|
|
1790
1790
|
const equals_listChannelPrograms_items = equalsArray(existing_listChannelPrograms, incoming_listChannelPrograms, (existing_listChannelPrograms_item, incoming_listChannelPrograms_item) => {
|
|
1791
|
-
if (!(equals$
|
|
1791
|
+
if (!(equals$e(existing_listChannelPrograms_item, incoming_listChannelPrograms_item))) {
|
|
1792
1792
|
return false;
|
|
1793
1793
|
}
|
|
1794
1794
|
});
|
|
@@ -1798,7 +1798,7 @@ function equals$9(existing, incoming) {
|
|
|
1798
1798
|
const existing_listPublicGroups = existing.listPublicGroups;
|
|
1799
1799
|
const incoming_listPublicGroups = incoming.listPublicGroups;
|
|
1800
1800
|
const equals_listPublicGroups_items = equalsArray(existing_listPublicGroups, incoming_listPublicGroups, (existing_listPublicGroups_item, incoming_listPublicGroups_item) => {
|
|
1801
|
-
if (!(equals$
|
|
1801
|
+
if (!(equals$e(existing_listPublicGroups_item, incoming_listPublicGroups_item))) {
|
|
1802
1802
|
return false;
|
|
1803
1803
|
}
|
|
1804
1804
|
});
|
|
@@ -1808,7 +1808,7 @@ function equals$9(existing, incoming) {
|
|
|
1808
1808
|
const existing_listRoles = existing.listRoles;
|
|
1809
1809
|
const incoming_listRoles = incoming.listRoles;
|
|
1810
1810
|
const equals_listRoles_items = equalsArray(existing_listRoles, incoming_listRoles, (existing_listRoles_item, incoming_listRoles_item) => {
|
|
1811
|
-
if (!(equals$
|
|
1811
|
+
if (!(equals$d(existing_listRoles_item, incoming_listRoles_item))) {
|
|
1812
1812
|
return false;
|
|
1813
1813
|
}
|
|
1814
1814
|
});
|
|
@@ -1818,7 +1818,7 @@ function equals$9(existing, incoming) {
|
|
|
1818
1818
|
const existing_listRolesAndInternalSubordinates = existing.listRolesAndInternalSubordinates;
|
|
1819
1819
|
const incoming_listRolesAndInternalSubordinates = incoming.listRolesAndInternalSubordinates;
|
|
1820
1820
|
const equals_listRolesAndInternalSubordinates_items = equalsArray(existing_listRolesAndInternalSubordinates, incoming_listRolesAndInternalSubordinates, (existing_listRolesAndInternalSubordinates_item, incoming_listRolesAndInternalSubordinates_item) => {
|
|
1821
|
-
if (!(equals$
|
|
1821
|
+
if (!(equals$d(existing_listRolesAndInternalSubordinates_item, incoming_listRolesAndInternalSubordinates_item))) {
|
|
1822
1822
|
return false;
|
|
1823
1823
|
}
|
|
1824
1824
|
});
|
|
@@ -1828,7 +1828,7 @@ function equals$9(existing, incoming) {
|
|
|
1828
1828
|
const existing_listRolesInternalAndPortalSubordinates = existing.listRolesInternalAndPortalSubordinates;
|
|
1829
1829
|
const incoming_listRolesInternalAndPortalSubordinates = incoming.listRolesInternalAndPortalSubordinates;
|
|
1830
1830
|
const equals_listRolesInternalAndPortalSubordinates_items = equalsArray(existing_listRolesInternalAndPortalSubordinates, incoming_listRolesInternalAndPortalSubordinates, (existing_listRolesInternalAndPortalSubordinates_item, incoming_listRolesInternalAndPortalSubordinates_item) => {
|
|
1831
|
-
if (!(equals$
|
|
1831
|
+
if (!(equals$d(existing_listRolesInternalAndPortalSubordinates_item, incoming_listRolesInternalAndPortalSubordinates_item))) {
|
|
1832
1832
|
return false;
|
|
1833
1833
|
}
|
|
1834
1834
|
});
|
|
@@ -1838,7 +1838,7 @@ function equals$9(existing, incoming) {
|
|
|
1838
1838
|
const existing_listTerritories = existing.listTerritories;
|
|
1839
1839
|
const incoming_listTerritories = incoming.listTerritories;
|
|
1840
1840
|
const equals_listTerritories_items = equalsArray(existing_listTerritories, incoming_listTerritories, (existing_listTerritories_item, incoming_listTerritories_item) => {
|
|
1841
|
-
if (!(equals$
|
|
1841
|
+
if (!(equals$d(existing_listTerritories_item, incoming_listTerritories_item))) {
|
|
1842
1842
|
return false;
|
|
1843
1843
|
}
|
|
1844
1844
|
});
|
|
@@ -1848,7 +1848,7 @@ function equals$9(existing, incoming) {
|
|
|
1848
1848
|
const existing_listUsers = existing.listUsers;
|
|
1849
1849
|
const incoming_listUsers = incoming.listUsers;
|
|
1850
1850
|
const equals_listUsers_items = equalsArray(existing_listUsers, incoming_listUsers, (existing_listUsers_item, incoming_listUsers_item) => {
|
|
1851
|
-
if (!(equals$
|
|
1851
|
+
if (!(equals$c(existing_listUsers_item, incoming_listUsers_item))) {
|
|
1852
1852
|
return false;
|
|
1853
1853
|
}
|
|
1854
1854
|
});
|
|
@@ -1859,14 +1859,14 @@ function equals$9(existing, incoming) {
|
|
|
1859
1859
|
}
|
|
1860
1860
|
const ingest$2 = function PublicGroupMembershipDetailsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1861
1861
|
if (process.env.NODE_ENV !== 'production') {
|
|
1862
|
-
const validateError = validate$
|
|
1862
|
+
const validateError = validate$b(input);
|
|
1863
1863
|
if (validateError !== null) {
|
|
1864
1864
|
throw validateError;
|
|
1865
1865
|
}
|
|
1866
1866
|
}
|
|
1867
1867
|
const key = path.fullPath;
|
|
1868
1868
|
const ttlToUse = TTL$2;
|
|
1869
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "sharing", VERSION$
|
|
1869
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "sharing", VERSION$b, RepresentationType$2, equals$b);
|
|
1870
1870
|
return createLink(key);
|
|
1871
1871
|
};
|
|
1872
1872
|
function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1879,8 +1879,8 @@ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1879
1879
|
});
|
|
1880
1880
|
}
|
|
1881
1881
|
|
|
1882
|
-
function select$
|
|
1883
|
-
return select$
|
|
1882
|
+
function select$d(luvio, params) {
|
|
1883
|
+
return select$e();
|
|
1884
1884
|
}
|
|
1885
1885
|
function keyBuilder$5(luvio, params) {
|
|
1886
1886
|
return keyPrefix + '::PublicGroupMembershipDetailsRepresentation:(' + 'filterCriteria:' + params.body.filterCriteria + '::' + 'groupId:' + params.body.groupId + '::' + 'limit:' + params.body.limit + '::' + 'offset:' + params.body.offset + '::' + 'operation:' + params.body.operation + '::' + 'orderBy:' + params.body.orderBy + '::' + 'orderType:' + params.body.orderType + '::' + 'selectedMembers:' + params.body.selectedMembers + ')';
|
|
@@ -1894,7 +1894,7 @@ function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
1894
1894
|
luvio.storeIngest(key, ingest$2, body);
|
|
1895
1895
|
const snapshot = luvio.storeLookup({
|
|
1896
1896
|
recordId: key,
|
|
1897
|
-
node: select$
|
|
1897
|
+
node: select$d(),
|
|
1898
1898
|
variables: {},
|
|
1899
1899
|
}, snapshotRefresh);
|
|
1900
1900
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -1911,7 +1911,7 @@ function ingestError$2(luvio, params, error, snapshotRefresh) {
|
|
|
1911
1911
|
const storeMetadataParams = {
|
|
1912
1912
|
ttl: TTL$2,
|
|
1913
1913
|
namespace: keyPrefix,
|
|
1914
|
-
version: VERSION$
|
|
1914
|
+
version: VERSION$b,
|
|
1915
1915
|
representationName: RepresentationType$2
|
|
1916
1916
|
};
|
|
1917
1917
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -1970,7 +1970,7 @@ function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
|
|
|
1970
1970
|
}
|
|
1971
1971
|
function adapterFragment$2(luvio, config) {
|
|
1972
1972
|
createResourceParams$2(config);
|
|
1973
|
-
return select$
|
|
1973
|
+
return select$d();
|
|
1974
1974
|
}
|
|
1975
1975
|
function onFetchResponseSuccess$2(luvio, config, resourceParams, response) {
|
|
1976
1976
|
const snapshot = ingestSuccess$2(luvio, resourceParams, response, {
|
|
@@ -2026,8 +2026,8 @@ const getPublicGroupMembershipDetailsAdapterFactory = (luvio) => function sharin
|
|
|
2026
2026
|
buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
|
|
2027
2027
|
};
|
|
2028
2028
|
|
|
2029
|
-
const VERSION$
|
|
2030
|
-
function validate$
|
|
2029
|
+
const VERSION$a = "11e587d0bd769c0df33d7cce4eb7210d";
|
|
2030
|
+
function validate$a(obj, path = 'IncludedGroupsSharingRepresentation') {
|
|
2031
2031
|
const v_error = (() => {
|
|
2032
2032
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2033
2033
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2060,10 +2060,10 @@ function validate$8(obj, path = 'IncludedGroupsSharingRepresentation') {
|
|
|
2060
2060
|
})();
|
|
2061
2061
|
return v_error === undefined ? null : v_error;
|
|
2062
2062
|
}
|
|
2063
|
-
const select$
|
|
2063
|
+
const select$c = function IncludedGroupsSharingRepresentationSelect() {
|
|
2064
2064
|
return {
|
|
2065
2065
|
kind: 'Fragment',
|
|
2066
|
-
version: VERSION$
|
|
2066
|
+
version: VERSION$a,
|
|
2067
2067
|
private: [],
|
|
2068
2068
|
selections: [
|
|
2069
2069
|
{
|
|
@@ -2089,7 +2089,7 @@ const select$a = function IncludedGroupsSharingRepresentationSelect() {
|
|
|
2089
2089
|
]
|
|
2090
2090
|
};
|
|
2091
2091
|
};
|
|
2092
|
-
function equals$
|
|
2092
|
+
function equals$a(existing, incoming) {
|
|
2093
2093
|
const existing_grantAccessHierarchies = existing.grantAccessHierarchies;
|
|
2094
2094
|
const incoming_grantAccessHierarchies = incoming.grantAccessHierarchies;
|
|
2095
2095
|
if (!(existing_grantAccessHierarchies === incoming_grantAccessHierarchies)) {
|
|
@@ -2118,8 +2118,8 @@ function equals$8(existing, incoming) {
|
|
|
2118
2118
|
return true;
|
|
2119
2119
|
}
|
|
2120
2120
|
|
|
2121
|
-
const VERSION$
|
|
2122
|
-
function validate$
|
|
2121
|
+
const VERSION$9 = "b8227d5d544c32d4b6c8f7048a6529d9";
|
|
2122
|
+
function validate$9(obj, path = 'ListViewGroupSharingRepresentation') {
|
|
2123
2123
|
const v_error = (() => {
|
|
2124
2124
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2125
2125
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2147,10 +2147,10 @@ function validate$7(obj, path = 'ListViewGroupSharingRepresentation') {
|
|
|
2147
2147
|
})();
|
|
2148
2148
|
return v_error === undefined ? null : v_error;
|
|
2149
2149
|
}
|
|
2150
|
-
const select$
|
|
2150
|
+
const select$b = function ListViewGroupSharingRepresentationSelect() {
|
|
2151
2151
|
return {
|
|
2152
2152
|
kind: 'Fragment',
|
|
2153
|
-
version: VERSION$
|
|
2153
|
+
version: VERSION$9,
|
|
2154
2154
|
private: [],
|
|
2155
2155
|
selections: [
|
|
2156
2156
|
{
|
|
@@ -2172,7 +2172,7 @@ const select$9 = function ListViewGroupSharingRepresentationSelect() {
|
|
|
2172
2172
|
]
|
|
2173
2173
|
};
|
|
2174
2174
|
};
|
|
2175
|
-
function equals$
|
|
2175
|
+
function equals$9(existing, incoming) {
|
|
2176
2176
|
const existing_developerName = existing.developerName;
|
|
2177
2177
|
const incoming_developerName = incoming.developerName;
|
|
2178
2178
|
if (!(existing_developerName === incoming_developerName)) {
|
|
@@ -2196,8 +2196,107 @@ function equals$7(existing, incoming) {
|
|
|
2196
2196
|
return true;
|
|
2197
2197
|
}
|
|
2198
2198
|
|
|
2199
|
-
const VERSION$
|
|
2200
|
-
function validate$
|
|
2199
|
+
const VERSION$8 = "fb2361053d1fd9f868dafaa1597ff80a";
|
|
2200
|
+
function validate$8(obj, path = 'QueueSupportedObjectDetailsRepresentation') {
|
|
2201
|
+
const v_error = (() => {
|
|
2202
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2203
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2204
|
+
}
|
|
2205
|
+
const obj_apiName = obj.apiName;
|
|
2206
|
+
const path_apiName = path + '.apiName';
|
|
2207
|
+
if (typeof obj_apiName !== 'string') {
|
|
2208
|
+
return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
|
|
2209
|
+
}
|
|
2210
|
+
const obj_isCustom = obj.isCustom;
|
|
2211
|
+
const path_isCustom = path + '.isCustom';
|
|
2212
|
+
let obj_isCustom_union0 = null;
|
|
2213
|
+
const obj_isCustom_union0_error = (() => {
|
|
2214
|
+
if (typeof obj_isCustom !== 'boolean') {
|
|
2215
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isCustom + '" (at "' + path_isCustom + '")');
|
|
2216
|
+
}
|
|
2217
|
+
})();
|
|
2218
|
+
if (obj_isCustom_union0_error != null) {
|
|
2219
|
+
obj_isCustom_union0 = obj_isCustom_union0_error.message;
|
|
2220
|
+
}
|
|
2221
|
+
let obj_isCustom_union1 = null;
|
|
2222
|
+
const obj_isCustom_union1_error = (() => {
|
|
2223
|
+
if (obj_isCustom !== null) {
|
|
2224
|
+
return new TypeError('Expected "null" but received "' + typeof obj_isCustom + '" (at "' + path_isCustom + '")');
|
|
2225
|
+
}
|
|
2226
|
+
})();
|
|
2227
|
+
if (obj_isCustom_union1_error != null) {
|
|
2228
|
+
obj_isCustom_union1 = obj_isCustom_union1_error.message;
|
|
2229
|
+
}
|
|
2230
|
+
if (obj_isCustom_union0 && obj_isCustom_union1) {
|
|
2231
|
+
let message = 'Object doesn\'t match union (at "' + path_isCustom + '")';
|
|
2232
|
+
message += '\n' + obj_isCustom_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
2233
|
+
message += '\n' + obj_isCustom_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2234
|
+
return new TypeError(message);
|
|
2235
|
+
}
|
|
2236
|
+
const obj_masterLabel = obj.masterLabel;
|
|
2237
|
+
const path_masterLabel = path + '.masterLabel';
|
|
2238
|
+
if (typeof obj_masterLabel !== 'string') {
|
|
2239
|
+
return new TypeError('Expected "string" but received "' + typeof obj_masterLabel + '" (at "' + path_masterLabel + '")');
|
|
2240
|
+
}
|
|
2241
|
+
const obj_namespace = obj.namespace;
|
|
2242
|
+
const path_namespace = path + '.namespace';
|
|
2243
|
+
if (typeof obj_namespace !== 'string') {
|
|
2244
|
+
return new TypeError('Expected "string" but received "' + typeof obj_namespace + '" (at "' + path_namespace + '")');
|
|
2245
|
+
}
|
|
2246
|
+
})();
|
|
2247
|
+
return v_error === undefined ? null : v_error;
|
|
2248
|
+
}
|
|
2249
|
+
const select$a = function QueueSupportedObjectDetailsRepresentationSelect() {
|
|
2250
|
+
return {
|
|
2251
|
+
kind: 'Fragment',
|
|
2252
|
+
version: VERSION$8,
|
|
2253
|
+
private: [],
|
|
2254
|
+
selections: [
|
|
2255
|
+
{
|
|
2256
|
+
name: 'apiName',
|
|
2257
|
+
kind: 'Scalar'
|
|
2258
|
+
},
|
|
2259
|
+
{
|
|
2260
|
+
name: 'isCustom',
|
|
2261
|
+
kind: 'Scalar'
|
|
2262
|
+
},
|
|
2263
|
+
{
|
|
2264
|
+
name: 'masterLabel',
|
|
2265
|
+
kind: 'Scalar'
|
|
2266
|
+
},
|
|
2267
|
+
{
|
|
2268
|
+
name: 'namespace',
|
|
2269
|
+
kind: 'Scalar'
|
|
2270
|
+
}
|
|
2271
|
+
]
|
|
2272
|
+
};
|
|
2273
|
+
};
|
|
2274
|
+
function equals$8(existing, incoming) {
|
|
2275
|
+
const existing_apiName = existing.apiName;
|
|
2276
|
+
const incoming_apiName = incoming.apiName;
|
|
2277
|
+
if (!(existing_apiName === incoming_apiName)) {
|
|
2278
|
+
return false;
|
|
2279
|
+
}
|
|
2280
|
+
const existing_masterLabel = existing.masterLabel;
|
|
2281
|
+
const incoming_masterLabel = incoming.masterLabel;
|
|
2282
|
+
if (!(existing_masterLabel === incoming_masterLabel)) {
|
|
2283
|
+
return false;
|
|
2284
|
+
}
|
|
2285
|
+
const existing_namespace = existing.namespace;
|
|
2286
|
+
const incoming_namespace = incoming.namespace;
|
|
2287
|
+
if (!(existing_namespace === incoming_namespace)) {
|
|
2288
|
+
return false;
|
|
2289
|
+
}
|
|
2290
|
+
const existing_isCustom = existing.isCustom;
|
|
2291
|
+
const incoming_isCustom = incoming.isCustom;
|
|
2292
|
+
if (!(existing_isCustom === incoming_isCustom)) {
|
|
2293
|
+
return false;
|
|
2294
|
+
}
|
|
2295
|
+
return true;
|
|
2296
|
+
}
|
|
2297
|
+
|
|
2298
|
+
const VERSION$7 = "07fe7eab011def0e046285b2d5c9d774";
|
|
2299
|
+
function validate$7(obj, path = 'QueuesSharingRepresentation') {
|
|
2201
2300
|
const v_error = (() => {
|
|
2202
2301
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2203
2302
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2225,10 +2324,10 @@ function validate$6(obj, path = 'QueuesSharingRepresentation') {
|
|
|
2225
2324
|
})();
|
|
2226
2325
|
return v_error === undefined ? null : v_error;
|
|
2227
2326
|
}
|
|
2228
|
-
const select$
|
|
2327
|
+
const select$9 = function QueuesSharingRepresentationSelect() {
|
|
2229
2328
|
return {
|
|
2230
2329
|
kind: 'Fragment',
|
|
2231
|
-
version: VERSION$
|
|
2330
|
+
version: VERSION$7,
|
|
2232
2331
|
private: [],
|
|
2233
2332
|
selections: [
|
|
2234
2333
|
{
|
|
@@ -2250,7 +2349,7 @@ const select$8 = function QueuesSharingRepresentationSelect() {
|
|
|
2250
2349
|
]
|
|
2251
2350
|
};
|
|
2252
2351
|
};
|
|
2253
|
-
function equals$
|
|
2352
|
+
function equals$7(existing, incoming) {
|
|
2254
2353
|
const existing_developerName = existing.developerName;
|
|
2255
2354
|
const incoming_developerName = incoming.developerName;
|
|
2256
2355
|
if (!(existing_developerName === incoming_developerName)) {
|
|
@@ -2274,8 +2373,8 @@ function equals$6(existing, incoming) {
|
|
|
2274
2373
|
return true;
|
|
2275
2374
|
}
|
|
2276
2375
|
|
|
2277
|
-
const VERSION$
|
|
2278
|
-
function validate$
|
|
2376
|
+
const VERSION$6 = "a0ed38b40ad9886f3e05a1b65fd2e246";
|
|
2377
|
+
function validate$6(obj, path = 'ReportAndDashboardFolderGroupSharingRepresentation') {
|
|
2279
2378
|
const v_error = (() => {
|
|
2280
2379
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2281
2380
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2313,10 +2412,10 @@ function validate$5(obj, path = 'ReportAndDashboardFolderGroupSharingRepresentat
|
|
|
2313
2412
|
})();
|
|
2314
2413
|
return v_error === undefined ? null : v_error;
|
|
2315
2414
|
}
|
|
2316
|
-
const select$
|
|
2415
|
+
const select$8 = function ReportAndDashboardFolderGroupSharingRepresentationSelect() {
|
|
2317
2416
|
return {
|
|
2318
2417
|
kind: 'Fragment',
|
|
2319
|
-
version: VERSION$
|
|
2418
|
+
version: VERSION$6,
|
|
2320
2419
|
private: [],
|
|
2321
2420
|
selections: [
|
|
2322
2421
|
{
|
|
@@ -2346,7 +2445,7 @@ const select$7 = function ReportAndDashboardFolderGroupSharingRepresentationSele
|
|
|
2346
2445
|
]
|
|
2347
2446
|
};
|
|
2348
2447
|
};
|
|
2349
|
-
function equals$
|
|
2448
|
+
function equals$6(existing, incoming) {
|
|
2350
2449
|
const existing_accessLevel = existing.accessLevel;
|
|
2351
2450
|
const incoming_accessLevel = incoming.accessLevel;
|
|
2352
2451
|
if (!(existing_accessLevel === incoming_accessLevel)) {
|
|
@@ -2380,6 +2479,56 @@ function equals$5(existing, incoming) {
|
|
|
2380
2479
|
return true;
|
|
2381
2480
|
}
|
|
2382
2481
|
|
|
2482
|
+
const VERSION$5 = "4c90b0d9bf8b7462cb8d0f8a6edb5ec2";
|
|
2483
|
+
function validate$5(obj, path = 'RoutingConfigDetailsRepresentation') {
|
|
2484
|
+
const v_error = (() => {
|
|
2485
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2486
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2487
|
+
}
|
|
2488
|
+
const obj_id = obj.id;
|
|
2489
|
+
const path_id = path + '.id';
|
|
2490
|
+
if (typeof obj_id !== 'string') {
|
|
2491
|
+
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
2492
|
+
}
|
|
2493
|
+
const obj_masterLabel = obj.masterLabel;
|
|
2494
|
+
const path_masterLabel = path + '.masterLabel';
|
|
2495
|
+
if (typeof obj_masterLabel !== 'string') {
|
|
2496
|
+
return new TypeError('Expected "string" but received "' + typeof obj_masterLabel + '" (at "' + path_masterLabel + '")');
|
|
2497
|
+
}
|
|
2498
|
+
})();
|
|
2499
|
+
return v_error === undefined ? null : v_error;
|
|
2500
|
+
}
|
|
2501
|
+
const select$7 = function RoutingConfigDetailsRepresentationSelect() {
|
|
2502
|
+
return {
|
|
2503
|
+
kind: 'Fragment',
|
|
2504
|
+
version: VERSION$5,
|
|
2505
|
+
private: [],
|
|
2506
|
+
selections: [
|
|
2507
|
+
{
|
|
2508
|
+
name: 'id',
|
|
2509
|
+
kind: 'Scalar'
|
|
2510
|
+
},
|
|
2511
|
+
{
|
|
2512
|
+
name: 'masterLabel',
|
|
2513
|
+
kind: 'Scalar'
|
|
2514
|
+
}
|
|
2515
|
+
]
|
|
2516
|
+
};
|
|
2517
|
+
};
|
|
2518
|
+
function equals$5(existing, incoming) {
|
|
2519
|
+
const existing_id = existing.id;
|
|
2520
|
+
const incoming_id = incoming.id;
|
|
2521
|
+
if (!(existing_id === incoming_id)) {
|
|
2522
|
+
return false;
|
|
2523
|
+
}
|
|
2524
|
+
const existing_masterLabel = existing.masterLabel;
|
|
2525
|
+
const incoming_masterLabel = incoming.masterLabel;
|
|
2526
|
+
if (!(existing_masterLabel === incoming_masterLabel)) {
|
|
2527
|
+
return false;
|
|
2528
|
+
}
|
|
2529
|
+
return true;
|
|
2530
|
+
}
|
|
2531
|
+
|
|
2383
2532
|
const VERSION$4 = "c1fd46badd6b7d74d5d487367b066f42";
|
|
2384
2533
|
function validate$4(obj, path = 'SharingRulesCriteriaGroupSharingRepresentation') {
|
|
2385
2534
|
const v_error = (() => {
|
|
@@ -2593,7 +2742,7 @@ function equals$3(existing, incoming) {
|
|
|
2593
2742
|
}
|
|
2594
2743
|
|
|
2595
2744
|
const TTL$1 = 300;
|
|
2596
|
-
const VERSION$2 = "
|
|
2745
|
+
const VERSION$2 = "688d1ce4756fb7c7fcbf8a2f2ac1ae7c";
|
|
2597
2746
|
function validate$2(obj, path = 'PublicGroupSummaryRepresentation') {
|
|
2598
2747
|
const v_error = (() => {
|
|
2599
2748
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2607,7 +2756,7 @@ function validate$2(obj, path = 'PublicGroupSummaryRepresentation') {
|
|
|
2607
2756
|
for (let i = 0; i < obj_includedGroupsSharing.length; i++) {
|
|
2608
2757
|
const obj_includedGroupsSharing_item = obj_includedGroupsSharing[i];
|
|
2609
2758
|
const path_includedGroupsSharing_item = path_includedGroupsSharing + '[' + i + ']';
|
|
2610
|
-
const referencepath_includedGroupsSharing_itemValidationError = validate$
|
|
2759
|
+
const referencepath_includedGroupsSharing_itemValidationError = validate$a(obj_includedGroupsSharing_item, path_includedGroupsSharing_item);
|
|
2611
2760
|
if (referencepath_includedGroupsSharing_itemValidationError !== null) {
|
|
2612
2761
|
let message = 'Object doesn\'t match IncludedGroupsSharingRepresentation (at "' + path_includedGroupsSharing_item + '")\n';
|
|
2613
2762
|
message += referencepath_includedGroupsSharing_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2622,13 +2771,30 @@ function validate$2(obj, path = 'PublicGroupSummaryRepresentation') {
|
|
|
2622
2771
|
for (let i = 0; i < obj_listViewGroupSharing.length; i++) {
|
|
2623
2772
|
const obj_listViewGroupSharing_item = obj_listViewGroupSharing[i];
|
|
2624
2773
|
const path_listViewGroupSharing_item = path_listViewGroupSharing + '[' + i + ']';
|
|
2625
|
-
const referencepath_listViewGroupSharing_itemValidationError = validate$
|
|
2774
|
+
const referencepath_listViewGroupSharing_itemValidationError = validate$9(obj_listViewGroupSharing_item, path_listViewGroupSharing_item);
|
|
2626
2775
|
if (referencepath_listViewGroupSharing_itemValidationError !== null) {
|
|
2627
2776
|
let message = 'Object doesn\'t match ListViewGroupSharingRepresentation (at "' + path_listViewGroupSharing_item + '")\n';
|
|
2628
2777
|
message += referencepath_listViewGroupSharing_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2629
2778
|
return new TypeError(message);
|
|
2630
2779
|
}
|
|
2631
2780
|
}
|
|
2781
|
+
if (obj.queueSupportedObjectDetails !== undefined) {
|
|
2782
|
+
const obj_queueSupportedObjectDetails = obj.queueSupportedObjectDetails;
|
|
2783
|
+
const path_queueSupportedObjectDetails = path + '.queueSupportedObjectDetails';
|
|
2784
|
+
if (!ArrayIsArray(obj_queueSupportedObjectDetails)) {
|
|
2785
|
+
return new TypeError('Expected "array" but received "' + typeof obj_queueSupportedObjectDetails + '" (at "' + path_queueSupportedObjectDetails + '")');
|
|
2786
|
+
}
|
|
2787
|
+
for (let i = 0; i < obj_queueSupportedObjectDetails.length; i++) {
|
|
2788
|
+
const obj_queueSupportedObjectDetails_item = obj_queueSupportedObjectDetails[i];
|
|
2789
|
+
const path_queueSupportedObjectDetails_item = path_queueSupportedObjectDetails + '[' + i + ']';
|
|
2790
|
+
const referencepath_queueSupportedObjectDetails_itemValidationError = validate$8(obj_queueSupportedObjectDetails_item, path_queueSupportedObjectDetails_item);
|
|
2791
|
+
if (referencepath_queueSupportedObjectDetails_itemValidationError !== null) {
|
|
2792
|
+
let message = 'Object doesn\'t match QueueSupportedObjectDetailsRepresentation (at "' + path_queueSupportedObjectDetails_item + '")\n';
|
|
2793
|
+
message += referencepath_queueSupportedObjectDetails_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2794
|
+
return new TypeError(message);
|
|
2795
|
+
}
|
|
2796
|
+
}
|
|
2797
|
+
}
|
|
2632
2798
|
const obj_queuesSharing = obj.queuesSharing;
|
|
2633
2799
|
const path_queuesSharing = path + '.queuesSharing';
|
|
2634
2800
|
if (!ArrayIsArray(obj_queuesSharing)) {
|
|
@@ -2637,7 +2803,7 @@ function validate$2(obj, path = 'PublicGroupSummaryRepresentation') {
|
|
|
2637
2803
|
for (let i = 0; i < obj_queuesSharing.length; i++) {
|
|
2638
2804
|
const obj_queuesSharing_item = obj_queuesSharing[i];
|
|
2639
2805
|
const path_queuesSharing_item = path_queuesSharing + '[' + i + ']';
|
|
2640
|
-
const referencepath_queuesSharing_itemValidationError = validate$
|
|
2806
|
+
const referencepath_queuesSharing_itemValidationError = validate$7(obj_queuesSharing_item, path_queuesSharing_item);
|
|
2641
2807
|
if (referencepath_queuesSharing_itemValidationError !== null) {
|
|
2642
2808
|
let message = 'Object doesn\'t match QueuesSharingRepresentation (at "' + path_queuesSharing_item + '")\n';
|
|
2643
2809
|
message += referencepath_queuesSharing_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2652,13 +2818,44 @@ function validate$2(obj, path = 'PublicGroupSummaryRepresentation') {
|
|
|
2652
2818
|
for (let i = 0; i < obj_reportAndDashboardFolderGroupSharing.length; i++) {
|
|
2653
2819
|
const obj_reportAndDashboardFolderGroupSharing_item = obj_reportAndDashboardFolderGroupSharing[i];
|
|
2654
2820
|
const path_reportAndDashboardFolderGroupSharing_item = path_reportAndDashboardFolderGroupSharing + '[' + i + ']';
|
|
2655
|
-
const referencepath_reportAndDashboardFolderGroupSharing_itemValidationError = validate$
|
|
2821
|
+
const referencepath_reportAndDashboardFolderGroupSharing_itemValidationError = validate$6(obj_reportAndDashboardFolderGroupSharing_item, path_reportAndDashboardFolderGroupSharing_item);
|
|
2656
2822
|
if (referencepath_reportAndDashboardFolderGroupSharing_itemValidationError !== null) {
|
|
2657
2823
|
let message = 'Object doesn\'t match ReportAndDashboardFolderGroupSharingRepresentation (at "' + path_reportAndDashboardFolderGroupSharing_item + '")\n';
|
|
2658
2824
|
message += referencepath_reportAndDashboardFolderGroupSharing_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2659
2825
|
return new TypeError(message);
|
|
2660
2826
|
}
|
|
2661
2827
|
}
|
|
2828
|
+
if (obj.routingConfigDetails !== undefined) {
|
|
2829
|
+
const obj_routingConfigDetails = obj.routingConfigDetails;
|
|
2830
|
+
const path_routingConfigDetails = path + '.routingConfigDetails';
|
|
2831
|
+
let obj_routingConfigDetails_union0 = null;
|
|
2832
|
+
const obj_routingConfigDetails_union0_error = (() => {
|
|
2833
|
+
const referencepath_routingConfigDetailsValidationError = validate$5(obj_routingConfigDetails, path_routingConfigDetails);
|
|
2834
|
+
if (referencepath_routingConfigDetailsValidationError !== null) {
|
|
2835
|
+
let message = 'Object doesn\'t match RoutingConfigDetailsRepresentation (at "' + path_routingConfigDetails + '")\n';
|
|
2836
|
+
message += referencepath_routingConfigDetailsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2837
|
+
return new TypeError(message);
|
|
2838
|
+
}
|
|
2839
|
+
})();
|
|
2840
|
+
if (obj_routingConfigDetails_union0_error != null) {
|
|
2841
|
+
obj_routingConfigDetails_union0 = obj_routingConfigDetails_union0_error.message;
|
|
2842
|
+
}
|
|
2843
|
+
let obj_routingConfigDetails_union1 = null;
|
|
2844
|
+
const obj_routingConfigDetails_union1_error = (() => {
|
|
2845
|
+
if (obj_routingConfigDetails !== null) {
|
|
2846
|
+
return new TypeError('Expected "null" but received "' + typeof obj_routingConfigDetails + '" (at "' + path_routingConfigDetails + '")');
|
|
2847
|
+
}
|
|
2848
|
+
})();
|
|
2849
|
+
if (obj_routingConfigDetails_union1_error != null) {
|
|
2850
|
+
obj_routingConfigDetails_union1 = obj_routingConfigDetails_union1_error.message;
|
|
2851
|
+
}
|
|
2852
|
+
if (obj_routingConfigDetails_union0 && obj_routingConfigDetails_union1) {
|
|
2853
|
+
let message = 'Object doesn\'t match union (at "' + path_routingConfigDetails + '")';
|
|
2854
|
+
message += '\n' + obj_routingConfigDetails_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
2855
|
+
message += '\n' + obj_routingConfigDetails_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2856
|
+
return new TypeError(message);
|
|
2857
|
+
}
|
|
2858
|
+
}
|
|
2662
2859
|
const obj_sharingRulesCriteriaGroupSharing = obj.sharingRulesCriteriaGroupSharing;
|
|
2663
2860
|
const path_sharingRulesCriteriaGroupSharing = path + '.sharingRulesCriteriaGroupSharing';
|
|
2664
2861
|
if (!ArrayIsArray(obj_sharingRulesCriteriaGroupSharing)) {
|
|
@@ -2697,10 +2894,12 @@ function normalize$1(input, existing, path, luvio, store, timestamp) {
|
|
|
2697
2894
|
return input;
|
|
2698
2895
|
}
|
|
2699
2896
|
const select$4 = function PublicGroupSummaryRepresentationSelect() {
|
|
2700
|
-
const { selections: IncludedGroupsSharingRepresentation__selections, opaque: IncludedGroupsSharingRepresentation__opaque, } = select$
|
|
2701
|
-
const { selections: ListViewGroupSharingRepresentation__selections, opaque: ListViewGroupSharingRepresentation__opaque, } = select$
|
|
2702
|
-
const { selections:
|
|
2703
|
-
const { selections:
|
|
2897
|
+
const { selections: IncludedGroupsSharingRepresentation__selections, opaque: IncludedGroupsSharingRepresentation__opaque, } = select$c();
|
|
2898
|
+
const { selections: ListViewGroupSharingRepresentation__selections, opaque: ListViewGroupSharingRepresentation__opaque, } = select$b();
|
|
2899
|
+
const { selections: QueueSupportedObjectDetailsRepresentation__selections, opaque: QueueSupportedObjectDetailsRepresentation__opaque, } = select$a();
|
|
2900
|
+
const { selections: QueuesSharingRepresentation__selections, opaque: QueuesSharingRepresentation__opaque, } = select$9();
|
|
2901
|
+
const { selections: ReportAndDashboardFolderGroupSharingRepresentation__selections, opaque: ReportAndDashboardFolderGroupSharingRepresentation__opaque, } = select$8();
|
|
2902
|
+
const { selections: RoutingConfigDetailsRepresentation__selections, opaque: RoutingConfigDetailsRepresentation__opaque, } = select$7();
|
|
2704
2903
|
const { selections: SharingRulesCriteriaGroupSharingRepresentation__selections, opaque: SharingRulesCriteriaGroupSharingRepresentation__opaque, } = select$6();
|
|
2705
2904
|
const { selections: SharingRulesOwnerGroupSharingRepresentation__selections, opaque: SharingRulesOwnerGroupSharingRepresentation__opaque, } = select$5();
|
|
2706
2905
|
return {
|
|
@@ -2720,6 +2919,13 @@ const select$4 = function PublicGroupSummaryRepresentationSelect() {
|
|
|
2720
2919
|
plural: true,
|
|
2721
2920
|
selections: ListViewGroupSharingRepresentation__selections
|
|
2722
2921
|
},
|
|
2922
|
+
{
|
|
2923
|
+
name: 'queueSupportedObjectDetails',
|
|
2924
|
+
kind: 'Object',
|
|
2925
|
+
plural: true,
|
|
2926
|
+
selections: QueueSupportedObjectDetailsRepresentation__selections,
|
|
2927
|
+
required: false
|
|
2928
|
+
},
|
|
2723
2929
|
{
|
|
2724
2930
|
name: 'queuesSharing',
|
|
2725
2931
|
kind: 'Object',
|
|
@@ -2732,6 +2938,13 @@ const select$4 = function PublicGroupSummaryRepresentationSelect() {
|
|
|
2732
2938
|
plural: true,
|
|
2733
2939
|
selections: ReportAndDashboardFolderGroupSharingRepresentation__selections
|
|
2734
2940
|
},
|
|
2941
|
+
{
|
|
2942
|
+
name: 'routingConfigDetails',
|
|
2943
|
+
kind: 'Object',
|
|
2944
|
+
nullable: true,
|
|
2945
|
+
selections: RoutingConfigDetailsRepresentation__selections,
|
|
2946
|
+
required: false
|
|
2947
|
+
},
|
|
2735
2948
|
{
|
|
2736
2949
|
name: 'sharingRulesCriteriaGroupSharing',
|
|
2737
2950
|
kind: 'Object',
|
|
@@ -2751,7 +2964,7 @@ function equals$2(existing, incoming) {
|
|
|
2751
2964
|
const existing_includedGroupsSharing = existing.includedGroupsSharing;
|
|
2752
2965
|
const incoming_includedGroupsSharing = incoming.includedGroupsSharing;
|
|
2753
2966
|
const equals_includedGroupsSharing_items = equalsArray(existing_includedGroupsSharing, incoming_includedGroupsSharing, (existing_includedGroupsSharing_item, incoming_includedGroupsSharing_item) => {
|
|
2754
|
-
if (!(equals$
|
|
2967
|
+
if (!(equals$a(existing_includedGroupsSharing_item, incoming_includedGroupsSharing_item))) {
|
|
2755
2968
|
return false;
|
|
2756
2969
|
}
|
|
2757
2970
|
});
|
|
@@ -2761,17 +2974,35 @@ function equals$2(existing, incoming) {
|
|
|
2761
2974
|
const existing_listViewGroupSharing = existing.listViewGroupSharing;
|
|
2762
2975
|
const incoming_listViewGroupSharing = incoming.listViewGroupSharing;
|
|
2763
2976
|
const equals_listViewGroupSharing_items = equalsArray(existing_listViewGroupSharing, incoming_listViewGroupSharing, (existing_listViewGroupSharing_item, incoming_listViewGroupSharing_item) => {
|
|
2764
|
-
if (!(equals$
|
|
2977
|
+
if (!(equals$9(existing_listViewGroupSharing_item, incoming_listViewGroupSharing_item))) {
|
|
2765
2978
|
return false;
|
|
2766
2979
|
}
|
|
2767
2980
|
});
|
|
2768
2981
|
if (equals_listViewGroupSharing_items === false) {
|
|
2769
2982
|
return false;
|
|
2770
2983
|
}
|
|
2984
|
+
const existing_queueSupportedObjectDetails = existing.queueSupportedObjectDetails;
|
|
2985
|
+
const incoming_queueSupportedObjectDetails = incoming.queueSupportedObjectDetails;
|
|
2986
|
+
// if at least one of these optionals is defined
|
|
2987
|
+
if (existing_queueSupportedObjectDetails !== undefined || incoming_queueSupportedObjectDetails !== undefined) {
|
|
2988
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
2989
|
+
// not equal
|
|
2990
|
+
if (existing_queueSupportedObjectDetails === undefined || incoming_queueSupportedObjectDetails === undefined) {
|
|
2991
|
+
return false;
|
|
2992
|
+
}
|
|
2993
|
+
const equals_queueSupportedObjectDetails_items = equalsArray(existing_queueSupportedObjectDetails, incoming_queueSupportedObjectDetails, (existing_queueSupportedObjectDetails_item, incoming_queueSupportedObjectDetails_item) => {
|
|
2994
|
+
if (!(equals$8(existing_queueSupportedObjectDetails_item, incoming_queueSupportedObjectDetails_item))) {
|
|
2995
|
+
return false;
|
|
2996
|
+
}
|
|
2997
|
+
});
|
|
2998
|
+
if (equals_queueSupportedObjectDetails_items === false) {
|
|
2999
|
+
return false;
|
|
3000
|
+
}
|
|
3001
|
+
}
|
|
2771
3002
|
const existing_queuesSharing = existing.queuesSharing;
|
|
2772
3003
|
const incoming_queuesSharing = incoming.queuesSharing;
|
|
2773
3004
|
const equals_queuesSharing_items = equalsArray(existing_queuesSharing, incoming_queuesSharing, (existing_queuesSharing_item, incoming_queuesSharing_item) => {
|
|
2774
|
-
if (!(equals$
|
|
3005
|
+
if (!(equals$7(existing_queuesSharing_item, incoming_queuesSharing_item))) {
|
|
2775
3006
|
return false;
|
|
2776
3007
|
}
|
|
2777
3008
|
});
|
|
@@ -2781,13 +3012,29 @@ function equals$2(existing, incoming) {
|
|
|
2781
3012
|
const existing_reportAndDashboardFolderGroupSharing = existing.reportAndDashboardFolderGroupSharing;
|
|
2782
3013
|
const incoming_reportAndDashboardFolderGroupSharing = incoming.reportAndDashboardFolderGroupSharing;
|
|
2783
3014
|
const equals_reportAndDashboardFolderGroupSharing_items = equalsArray(existing_reportAndDashboardFolderGroupSharing, incoming_reportAndDashboardFolderGroupSharing, (existing_reportAndDashboardFolderGroupSharing_item, incoming_reportAndDashboardFolderGroupSharing_item) => {
|
|
2784
|
-
if (!(equals$
|
|
3015
|
+
if (!(equals$6(existing_reportAndDashboardFolderGroupSharing_item, incoming_reportAndDashboardFolderGroupSharing_item))) {
|
|
2785
3016
|
return false;
|
|
2786
3017
|
}
|
|
2787
3018
|
});
|
|
2788
3019
|
if (equals_reportAndDashboardFolderGroupSharing_items === false) {
|
|
2789
3020
|
return false;
|
|
2790
3021
|
}
|
|
3022
|
+
const existing_routingConfigDetails = existing.routingConfigDetails;
|
|
3023
|
+
const incoming_routingConfigDetails = incoming.routingConfigDetails;
|
|
3024
|
+
// if at least one of these optionals is defined
|
|
3025
|
+
if (existing_routingConfigDetails !== undefined || incoming_routingConfigDetails !== undefined) {
|
|
3026
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3027
|
+
// not equal
|
|
3028
|
+
if (existing_routingConfigDetails === undefined || incoming_routingConfigDetails === undefined) {
|
|
3029
|
+
return false;
|
|
3030
|
+
}
|
|
3031
|
+
if (!(existing_routingConfigDetails === incoming_routingConfigDetails
|
|
3032
|
+
|| (existing_routingConfigDetails != null &&
|
|
3033
|
+
incoming_routingConfigDetails != null &&
|
|
3034
|
+
equals$5(existing_routingConfigDetails, incoming_routingConfigDetails)))) {
|
|
3035
|
+
return false;
|
|
3036
|
+
}
|
|
3037
|
+
}
|
|
2791
3038
|
const existing_sharingRulesCriteriaGroupSharing = existing.sharingRulesCriteriaGroupSharing;
|
|
2792
3039
|
const incoming_sharingRulesCriteriaGroupSharing = incoming.sharingRulesCriteriaGroupSharing;
|
|
2793
3040
|
const equals_sharingRulesCriteriaGroupSharing_items = equalsArray(existing_sharingRulesCriteriaGroupSharing, incoming_sharingRulesCriteriaGroupSharing, (existing_sharingRulesCriteriaGroupSharing_item, incoming_sharingRulesCriteriaGroupSharing_item) => {
|
|
@@ -3446,4 +3693,4 @@ withDefaultLuvio((luvio) => {
|
|
|
3446
3693
|
});
|
|
3447
3694
|
|
|
3448
3695
|
export { addRemoveUserToGroups, addRemoveUserToGroups_imperative, getAllSobjects, getAllSobjects_imperative, getGroupsForUser, getGroupsForUser_imperative, getPublicGroupMembershipDetails, getPublicGroupMembershipDetails_imperative, getPublicGroupShareData, getPublicGroupShareData_imperative, getUserPermissions, getUserPermissions_imperative };
|
|
3449
|
-
// version: 1.
|
|
3696
|
+
// version: 1.422.0-9f6d0160d8
|