@salesforce/lds-adapters-platform-sharing 1.421.0 → 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
|
@@ -91,8 +91,8 @@ function createLink(ref) {
|
|
|
91
91
|
};
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
const VERSION$
|
|
95
|
-
function validate$
|
|
94
|
+
const VERSION$k = "56d2fddc6bd67f680c2301e397df75c1";
|
|
95
|
+
function validate$k(obj, path = 'PublicGroupRepresentation') {
|
|
96
96
|
const v_error = (() => {
|
|
97
97
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
98
98
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -140,10 +140,10 @@ function validate$i(obj, path = 'PublicGroupRepresentation') {
|
|
|
140
140
|
})();
|
|
141
141
|
return v_error === undefined ? null : v_error;
|
|
142
142
|
}
|
|
143
|
-
const select$
|
|
143
|
+
const select$q = function PublicGroupRepresentationSelect() {
|
|
144
144
|
return {
|
|
145
145
|
kind: 'Fragment',
|
|
146
|
-
version: VERSION$
|
|
146
|
+
version: VERSION$k,
|
|
147
147
|
private: [],
|
|
148
148
|
selections: [
|
|
149
149
|
{
|
|
@@ -181,7 +181,7 @@ const select$o = function PublicGroupRepresentationSelect() {
|
|
|
181
181
|
]
|
|
182
182
|
};
|
|
183
183
|
};
|
|
184
|
-
function equals$
|
|
184
|
+
function equals$k(existing, incoming) {
|
|
185
185
|
const existing_includeBosses = existing.includeBosses;
|
|
186
186
|
const incoming_includeBosses = incoming.includeBosses;
|
|
187
187
|
if (!(existing_includeBosses === incoming_includeBosses)) {
|
|
@@ -225,8 +225,8 @@ function equals$i(existing, incoming) {
|
|
|
225
225
|
return true;
|
|
226
226
|
}
|
|
227
227
|
|
|
228
|
-
const VERSION$
|
|
229
|
-
function validate$
|
|
228
|
+
const VERSION$j = "86395e9e3ea80502810c8109ecd94d68";
|
|
229
|
+
function validate$j(obj, path = 'QueueRepresentation') {
|
|
230
230
|
const v_error = (() => {
|
|
231
231
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
232
232
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -279,10 +279,10 @@ function validate$h(obj, path = 'QueueRepresentation') {
|
|
|
279
279
|
})();
|
|
280
280
|
return v_error === undefined ? null : v_error;
|
|
281
281
|
}
|
|
282
|
-
const select$
|
|
282
|
+
const select$p = function QueueRepresentationSelect() {
|
|
283
283
|
return {
|
|
284
284
|
kind: 'Fragment',
|
|
285
|
-
version: VERSION$
|
|
285
|
+
version: VERSION$j,
|
|
286
286
|
private: [],
|
|
287
287
|
selections: [
|
|
288
288
|
{
|
|
@@ -324,7 +324,7 @@ const select$n = function QueueRepresentationSelect() {
|
|
|
324
324
|
]
|
|
325
325
|
};
|
|
326
326
|
};
|
|
327
|
-
function equals$
|
|
327
|
+
function equals$j(existing, incoming) {
|
|
328
328
|
const existing_developerName = existing.developerName;
|
|
329
329
|
const incoming_developerName = incoming.developerName;
|
|
330
330
|
if (!(existing_developerName === incoming_developerName)) {
|
|
@@ -374,8 +374,8 @@ function equals$h(existing, incoming) {
|
|
|
374
374
|
}
|
|
375
375
|
|
|
376
376
|
const TTL$5 = 300;
|
|
377
|
-
const VERSION$
|
|
378
|
-
function validate$
|
|
377
|
+
const VERSION$i = "3659c4a4f46957a3a2b5cb2d2383180d";
|
|
378
|
+
function validate$i(obj, path = 'GroupCollectionRepresentation') {
|
|
379
379
|
const v_error = (() => {
|
|
380
380
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
381
381
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -388,7 +388,7 @@ function validate$g(obj, path = 'GroupCollectionRepresentation') {
|
|
|
388
388
|
for (let i = 0; i < obj_publicGroupRepresentations.length; i++) {
|
|
389
389
|
const obj_publicGroupRepresentations_item = obj_publicGroupRepresentations[i];
|
|
390
390
|
const path_publicGroupRepresentations_item = path_publicGroupRepresentations + '[' + i + ']';
|
|
391
|
-
const referencepath_publicGroupRepresentations_itemValidationError = validate$
|
|
391
|
+
const referencepath_publicGroupRepresentations_itemValidationError = validate$k(obj_publicGroupRepresentations_item, path_publicGroupRepresentations_item);
|
|
392
392
|
if (referencepath_publicGroupRepresentations_itemValidationError !== null) {
|
|
393
393
|
let message = 'Object doesn\'t match PublicGroupRepresentation (at "' + path_publicGroupRepresentations_item + '")\n';
|
|
394
394
|
message += referencepath_publicGroupRepresentations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -403,7 +403,7 @@ function validate$g(obj, path = 'GroupCollectionRepresentation') {
|
|
|
403
403
|
for (let i = 0; i < obj_queueRepresentations.length; i++) {
|
|
404
404
|
const obj_queueRepresentations_item = obj_queueRepresentations[i];
|
|
405
405
|
const path_queueRepresentations_item = path_queueRepresentations + '[' + i + ']';
|
|
406
|
-
const referencepath_queueRepresentations_itemValidationError = validate$
|
|
406
|
+
const referencepath_queueRepresentations_itemValidationError = validate$j(obj_queueRepresentations_item, path_queueRepresentations_item);
|
|
407
407
|
if (referencepath_queueRepresentations_itemValidationError !== null) {
|
|
408
408
|
let message = 'Object doesn\'t match QueueRepresentation (at "' + path_queueRepresentations_item + '")\n';
|
|
409
409
|
message += referencepath_queueRepresentations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -417,12 +417,12 @@ const RepresentationType$5 = 'GroupCollectionRepresentation';
|
|
|
417
417
|
function normalize$5(input, existing, path, luvio, store, timestamp) {
|
|
418
418
|
return input;
|
|
419
419
|
}
|
|
420
|
-
const select$
|
|
421
|
-
const { selections: PublicGroupRepresentation__selections, opaque: PublicGroupRepresentation__opaque, } = select$
|
|
422
|
-
const { selections: QueueRepresentation__selections, opaque: QueueRepresentation__opaque, } = select$
|
|
420
|
+
const select$o = function GroupCollectionRepresentationSelect() {
|
|
421
|
+
const { selections: PublicGroupRepresentation__selections, opaque: PublicGroupRepresentation__opaque, } = select$q();
|
|
422
|
+
const { selections: QueueRepresentation__selections, opaque: QueueRepresentation__opaque, } = select$p();
|
|
423
423
|
return {
|
|
424
424
|
kind: 'Fragment',
|
|
425
|
-
version: VERSION$
|
|
425
|
+
version: VERSION$i,
|
|
426
426
|
private: [],
|
|
427
427
|
selections: [
|
|
428
428
|
{
|
|
@@ -440,11 +440,11 @@ const select$m = function GroupCollectionRepresentationSelect() {
|
|
|
440
440
|
]
|
|
441
441
|
};
|
|
442
442
|
};
|
|
443
|
-
function equals$
|
|
443
|
+
function equals$i(existing, incoming) {
|
|
444
444
|
const existing_publicGroupRepresentations = existing.publicGroupRepresentations;
|
|
445
445
|
const incoming_publicGroupRepresentations = incoming.publicGroupRepresentations;
|
|
446
446
|
const equals_publicGroupRepresentations_items = equalsArray(existing_publicGroupRepresentations, incoming_publicGroupRepresentations, (existing_publicGroupRepresentations_item, incoming_publicGroupRepresentations_item) => {
|
|
447
|
-
if (!(equals$
|
|
447
|
+
if (!(equals$k(existing_publicGroupRepresentations_item, incoming_publicGroupRepresentations_item))) {
|
|
448
448
|
return false;
|
|
449
449
|
}
|
|
450
450
|
});
|
|
@@ -454,7 +454,7 @@ function equals$g(existing, incoming) {
|
|
|
454
454
|
const existing_queueRepresentations = existing.queueRepresentations;
|
|
455
455
|
const incoming_queueRepresentations = incoming.queueRepresentations;
|
|
456
456
|
const equals_queueRepresentations_items = equalsArray(existing_queueRepresentations, incoming_queueRepresentations, (existing_queueRepresentations_item, incoming_queueRepresentations_item) => {
|
|
457
|
-
if (!(equals$
|
|
457
|
+
if (!(equals$j(existing_queueRepresentations_item, incoming_queueRepresentations_item))) {
|
|
458
458
|
return false;
|
|
459
459
|
}
|
|
460
460
|
});
|
|
@@ -465,14 +465,14 @@ function equals$g(existing, incoming) {
|
|
|
465
465
|
}
|
|
466
466
|
const ingest$5 = function GroupCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
467
467
|
if (process.env.NODE_ENV !== 'production') {
|
|
468
|
-
const validateError = validate$
|
|
468
|
+
const validateError = validate$i(input);
|
|
469
469
|
if (validateError !== null) {
|
|
470
470
|
throw validateError;
|
|
471
471
|
}
|
|
472
472
|
}
|
|
473
473
|
const key = path.fullPath;
|
|
474
474
|
const ttlToUse = TTL$5;
|
|
475
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "sharing", VERSION$
|
|
475
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "sharing", VERSION$i, RepresentationType$5, equals$i);
|
|
476
476
|
return createLink(key);
|
|
477
477
|
};
|
|
478
478
|
function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -485,8 +485,8 @@ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
485
485
|
});
|
|
486
486
|
}
|
|
487
487
|
|
|
488
|
-
function select$
|
|
489
|
-
return select$
|
|
488
|
+
function select$n(luvio, params) {
|
|
489
|
+
return select$o();
|
|
490
490
|
}
|
|
491
491
|
function keyBuilder$b(luvio, params) {
|
|
492
492
|
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 + ')';
|
|
@@ -500,7 +500,7 @@ function ingestSuccess$5(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
500
500
|
luvio.storeIngest(key, ingest$5, body);
|
|
501
501
|
const snapshot = luvio.storeLookup({
|
|
502
502
|
recordId: key,
|
|
503
|
-
node: select$
|
|
503
|
+
node: select$n(),
|
|
504
504
|
variables: {},
|
|
505
505
|
}, snapshotRefresh);
|
|
506
506
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -517,7 +517,7 @@ function ingestError$5(luvio, params, error, snapshotRefresh) {
|
|
|
517
517
|
const storeMetadataParams = {
|
|
518
518
|
ttl: TTL$5,
|
|
519
519
|
namespace: keyPrefix,
|
|
520
|
-
version: VERSION$
|
|
520
|
+
version: VERSION$i,
|
|
521
521
|
representationName: RepresentationType$5
|
|
522
522
|
};
|
|
523
523
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -574,7 +574,7 @@ function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
|
|
|
574
574
|
}
|
|
575
575
|
function adapterFragment$5(luvio, config) {
|
|
576
576
|
createResourceParams$5(config);
|
|
577
|
-
return select$
|
|
577
|
+
return select$n();
|
|
578
578
|
}
|
|
579
579
|
function onFetchResponseSuccess$5(luvio, config, resourceParams, response) {
|
|
580
580
|
const snapshot = ingestSuccess$5(luvio, resourceParams, response, {
|
|
@@ -631,8 +631,8 @@ const getGroupsForUserAdapterFactory = (luvio) => function sharing__getGroupsFor
|
|
|
631
631
|
};
|
|
632
632
|
|
|
633
633
|
const TTL$4 = 300;
|
|
634
|
-
const VERSION$
|
|
635
|
-
function validate$
|
|
634
|
+
const VERSION$h = "9934cf4cb3fdd0b955c08c2d695a9a53";
|
|
635
|
+
function validate$h(obj, path = 'UserGroupMembershipDetailsRepresentation') {
|
|
636
636
|
const v_error = (() => {
|
|
637
637
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
638
638
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -678,10 +678,10 @@ const RepresentationType$4 = 'UserGroupMembershipDetailsRepresentation';
|
|
|
678
678
|
function normalize$4(input, existing, path, luvio, store, timestamp) {
|
|
679
679
|
return input;
|
|
680
680
|
}
|
|
681
|
-
const select$
|
|
681
|
+
const select$m = function UserGroupMembershipDetailsRepresentationSelect() {
|
|
682
682
|
return {
|
|
683
683
|
kind: 'Fragment',
|
|
684
|
-
version: VERSION$
|
|
684
|
+
version: VERSION$h,
|
|
685
685
|
private: [],
|
|
686
686
|
selections: [
|
|
687
687
|
{
|
|
@@ -705,7 +705,7 @@ const select$k = function UserGroupMembershipDetailsRepresentationSelect() {
|
|
|
705
705
|
]
|
|
706
706
|
};
|
|
707
707
|
};
|
|
708
|
-
function equals$
|
|
708
|
+
function equals$h(existing, incoming) {
|
|
709
709
|
const existing_isSuccess = existing.isSuccess;
|
|
710
710
|
const incoming_isSuccess = incoming.isSuccess;
|
|
711
711
|
if (!(existing_isSuccess === incoming_isSuccess)) {
|
|
@@ -740,14 +740,14 @@ function equals$f(existing, incoming) {
|
|
|
740
740
|
}
|
|
741
741
|
const ingest$4 = function UserGroupMembershipDetailsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
742
742
|
if (process.env.NODE_ENV !== 'production') {
|
|
743
|
-
const validateError = validate$
|
|
743
|
+
const validateError = validate$h(input);
|
|
744
744
|
if (validateError !== null) {
|
|
745
745
|
throw validateError;
|
|
746
746
|
}
|
|
747
747
|
}
|
|
748
748
|
const key = path.fullPath;
|
|
749
749
|
const ttlToUse = TTL$4;
|
|
750
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "sharing", VERSION$
|
|
750
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "sharing", VERSION$h, RepresentationType$4, equals$h);
|
|
751
751
|
return createLink(key);
|
|
752
752
|
};
|
|
753
753
|
function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -760,8 +760,8 @@ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
760
760
|
});
|
|
761
761
|
}
|
|
762
762
|
|
|
763
|
-
function select$
|
|
764
|
-
return select$
|
|
763
|
+
function select$l(luvio, params) {
|
|
764
|
+
return select$m();
|
|
765
765
|
}
|
|
766
766
|
function keyBuilder$9(luvio, params) {
|
|
767
767
|
return keyPrefix + '::UserGroupMembershipDetailsRepresentation:(' + 'userId:' + params.body.userId + '::' + 'memberType:' + params.body.memberType + '::' + 'operation:' + params.body.operation + '::' + 'selectedGroups:' + params.body.selectedGroups + ')';
|
|
@@ -775,7 +775,7 @@ function ingestSuccess$4(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
775
775
|
luvio.storeIngest(key, ingest$4, body);
|
|
776
776
|
const snapshot = luvio.storeLookup({
|
|
777
777
|
recordId: key,
|
|
778
|
-
node: select$
|
|
778
|
+
node: select$l(),
|
|
779
779
|
variables: {},
|
|
780
780
|
}, snapshotRefresh);
|
|
781
781
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -792,7 +792,7 @@ function ingestError$4(luvio, params, error, snapshotRefresh) {
|
|
|
792
792
|
const storeMetadataParams = {
|
|
793
793
|
ttl: TTL$4,
|
|
794
794
|
namespace: keyPrefix,
|
|
795
|
-
version: VERSION$
|
|
795
|
+
version: VERSION$h,
|
|
796
796
|
representationName: RepresentationType$4
|
|
797
797
|
};
|
|
798
798
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -845,7 +845,7 @@ function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
|
|
|
845
845
|
}
|
|
846
846
|
function adapterFragment$4(luvio, config) {
|
|
847
847
|
createResourceParams$4(config);
|
|
848
|
-
return select$
|
|
848
|
+
return select$l();
|
|
849
849
|
}
|
|
850
850
|
function onFetchResponseSuccess$4(luvio, config, resourceParams, response) {
|
|
851
851
|
const snapshot = ingestSuccess$4(luvio, resourceParams, response, {
|
|
@@ -901,8 +901,8 @@ const addRemoveUserToGroupsAdapterFactory = (luvio) => function sharing__addRemo
|
|
|
901
901
|
buildCachedSnapshotCachePolicy$4, buildNetworkSnapshotCachePolicy$4);
|
|
902
902
|
};
|
|
903
903
|
|
|
904
|
-
const VERSION$
|
|
905
|
-
function validate$
|
|
904
|
+
const VERSION$g = "10400ecb443c1cd1f8fa280e9f89ded8";
|
|
905
|
+
function validate$g(obj, path = 'PublicGroupMembersInPublicGroupRepresentation') {
|
|
906
906
|
const v_error = (() => {
|
|
907
907
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
908
908
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -945,10 +945,10 @@ function validate$e(obj, path = 'PublicGroupMembersInPublicGroupRepresentation')
|
|
|
945
945
|
})();
|
|
946
946
|
return v_error === undefined ? null : v_error;
|
|
947
947
|
}
|
|
948
|
-
const select$
|
|
948
|
+
const select$k = function PublicGroupMembersInPublicGroupRepresentationSelect() {
|
|
949
949
|
return {
|
|
950
950
|
kind: 'Fragment',
|
|
951
|
-
version: VERSION$
|
|
951
|
+
version: VERSION$g,
|
|
952
952
|
private: [],
|
|
953
953
|
selections: [
|
|
954
954
|
{
|
|
@@ -982,7 +982,7 @@ const select$i = function PublicGroupMembersInPublicGroupRepresentationSelect()
|
|
|
982
982
|
]
|
|
983
983
|
};
|
|
984
984
|
};
|
|
985
|
-
function equals$
|
|
985
|
+
function equals$g(existing, incoming) {
|
|
986
986
|
const existing_includeBosses = existing.includeBosses;
|
|
987
987
|
const incoming_includeBosses = incoming.includeBosses;
|
|
988
988
|
if (!(existing_includeBosses === incoming_includeBosses)) {
|
|
@@ -1021,8 +1021,8 @@ function equals$e(existing, incoming) {
|
|
|
1021
1021
|
return true;
|
|
1022
1022
|
}
|
|
1023
1023
|
|
|
1024
|
-
const VERSION$
|
|
1025
|
-
function validate$
|
|
1024
|
+
const VERSION$f = "23a331717bb19992d3c37b818fc7008a";
|
|
1025
|
+
function validate$f(obj, path = 'RolesInGroupRepresentation') {
|
|
1026
1026
|
const v_error = (() => {
|
|
1027
1027
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1028
1028
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1065,10 +1065,10 @@ function validate$d(obj, path = 'RolesInGroupRepresentation') {
|
|
|
1065
1065
|
})();
|
|
1066
1066
|
return v_error === undefined ? null : v_error;
|
|
1067
1067
|
}
|
|
1068
|
-
const select$
|
|
1068
|
+
const select$j = function RolesInGroupRepresentationSelect() {
|
|
1069
1069
|
return {
|
|
1070
1070
|
kind: 'Fragment',
|
|
1071
|
-
version: VERSION$
|
|
1071
|
+
version: VERSION$f,
|
|
1072
1072
|
private: [],
|
|
1073
1073
|
selections: [
|
|
1074
1074
|
{
|
|
@@ -1102,7 +1102,7 @@ const select$h = function RolesInGroupRepresentationSelect() {
|
|
|
1102
1102
|
]
|
|
1103
1103
|
};
|
|
1104
1104
|
};
|
|
1105
|
-
function equals$
|
|
1105
|
+
function equals$f(existing, incoming) {
|
|
1106
1106
|
const existing_dataId = existing.dataId;
|
|
1107
1107
|
const incoming_dataId = incoming.dataId;
|
|
1108
1108
|
if (!(existing_dataId === incoming_dataId)) {
|
|
@@ -1141,8 +1141,8 @@ function equals$d(existing, incoming) {
|
|
|
1141
1141
|
return true;
|
|
1142
1142
|
}
|
|
1143
1143
|
|
|
1144
|
-
const VERSION$
|
|
1145
|
-
function validate$
|
|
1144
|
+
const VERSION$e = "81212e87b01ada2a285c551aadcec218";
|
|
1145
|
+
function validate$e(obj, path = 'UserMembersInPublicGroupRepresentation') {
|
|
1146
1146
|
const v_error = (() => {
|
|
1147
1147
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1148
1148
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1190,10 +1190,10 @@ function validate$c(obj, path = 'UserMembersInPublicGroupRepresentation') {
|
|
|
1190
1190
|
})();
|
|
1191
1191
|
return v_error === undefined ? null : v_error;
|
|
1192
1192
|
}
|
|
1193
|
-
const select$
|
|
1193
|
+
const select$i = function UserMembersInPublicGroupRepresentationSelect() {
|
|
1194
1194
|
return {
|
|
1195
1195
|
kind: 'Fragment',
|
|
1196
|
-
version: VERSION$
|
|
1196
|
+
version: VERSION$e,
|
|
1197
1197
|
private: [],
|
|
1198
1198
|
selections: [
|
|
1199
1199
|
{
|
|
@@ -1231,7 +1231,7 @@ const select$g = function UserMembersInPublicGroupRepresentationSelect() {
|
|
|
1231
1231
|
]
|
|
1232
1232
|
};
|
|
1233
1233
|
};
|
|
1234
|
-
function equals$
|
|
1234
|
+
function equals$e(existing, incoming) {
|
|
1235
1235
|
const existing_status = existing.status;
|
|
1236
1236
|
const incoming_status = incoming.status;
|
|
1237
1237
|
if (!(existing_status === incoming_status)) {
|
|
@@ -1276,8 +1276,8 @@ function equals$c(existing, incoming) {
|
|
|
1276
1276
|
}
|
|
1277
1277
|
|
|
1278
1278
|
const TTL$3 = 300;
|
|
1279
|
-
const VERSION$
|
|
1280
|
-
function validate$
|
|
1279
|
+
const VERSION$d = "ff9b160e9ebbf564f9bbe3a7ee37cc16";
|
|
1280
|
+
function validate$d(obj, path = 'PublicGroupMembershipDetailsRepresentation') {
|
|
1281
1281
|
const v_error = (() => {
|
|
1282
1282
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1283
1283
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1295,7 +1295,7 @@ function validate$b(obj, path = 'PublicGroupMembershipDetailsRepresentation') {
|
|
|
1295
1295
|
for (let i = 0; i < obj_listChannelPrograms.length; i++) {
|
|
1296
1296
|
const obj_listChannelPrograms_item = obj_listChannelPrograms[i];
|
|
1297
1297
|
const path_listChannelPrograms_item = path_listChannelPrograms + '[' + i + ']';
|
|
1298
|
-
const referencepath_listChannelPrograms_itemValidationError = validate$
|
|
1298
|
+
const referencepath_listChannelPrograms_itemValidationError = validate$g(obj_listChannelPrograms_item, path_listChannelPrograms_item);
|
|
1299
1299
|
if (referencepath_listChannelPrograms_itemValidationError !== null) {
|
|
1300
1300
|
let message = 'Object doesn\'t match PublicGroupMembersInPublicGroupRepresentation (at "' + path_listChannelPrograms_item + '")\n';
|
|
1301
1301
|
message += referencepath_listChannelPrograms_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1310,7 +1310,7 @@ function validate$b(obj, path = 'PublicGroupMembershipDetailsRepresentation') {
|
|
|
1310
1310
|
for (let i = 0; i < obj_listPublicGroups.length; i++) {
|
|
1311
1311
|
const obj_listPublicGroups_item = obj_listPublicGroups[i];
|
|
1312
1312
|
const path_listPublicGroups_item = path_listPublicGroups + '[' + i + ']';
|
|
1313
|
-
const referencepath_listPublicGroups_itemValidationError = validate$
|
|
1313
|
+
const referencepath_listPublicGroups_itemValidationError = validate$g(obj_listPublicGroups_item, path_listPublicGroups_item);
|
|
1314
1314
|
if (referencepath_listPublicGroups_itemValidationError !== null) {
|
|
1315
1315
|
let message = 'Object doesn\'t match PublicGroupMembersInPublicGroupRepresentation (at "' + path_listPublicGroups_item + '")\n';
|
|
1316
1316
|
message += referencepath_listPublicGroups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1325,7 +1325,7 @@ function validate$b(obj, path = 'PublicGroupMembershipDetailsRepresentation') {
|
|
|
1325
1325
|
for (let i = 0; i < obj_listRoles.length; i++) {
|
|
1326
1326
|
const obj_listRoles_item = obj_listRoles[i];
|
|
1327
1327
|
const path_listRoles_item = path_listRoles + '[' + i + ']';
|
|
1328
|
-
const referencepath_listRoles_itemValidationError = validate$
|
|
1328
|
+
const referencepath_listRoles_itemValidationError = validate$f(obj_listRoles_item, path_listRoles_item);
|
|
1329
1329
|
if (referencepath_listRoles_itemValidationError !== null) {
|
|
1330
1330
|
let message = 'Object doesn\'t match RolesInGroupRepresentation (at "' + path_listRoles_item + '")\n';
|
|
1331
1331
|
message += referencepath_listRoles_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1340,7 +1340,7 @@ function validate$b(obj, path = 'PublicGroupMembershipDetailsRepresentation') {
|
|
|
1340
1340
|
for (let i = 0; i < obj_listRolesAndInternalSubordinates.length; i++) {
|
|
1341
1341
|
const obj_listRolesAndInternalSubordinates_item = obj_listRolesAndInternalSubordinates[i];
|
|
1342
1342
|
const path_listRolesAndInternalSubordinates_item = path_listRolesAndInternalSubordinates + '[' + i + ']';
|
|
1343
|
-
const referencepath_listRolesAndInternalSubordinates_itemValidationError = validate$
|
|
1343
|
+
const referencepath_listRolesAndInternalSubordinates_itemValidationError = validate$f(obj_listRolesAndInternalSubordinates_item, path_listRolesAndInternalSubordinates_item);
|
|
1344
1344
|
if (referencepath_listRolesAndInternalSubordinates_itemValidationError !== null) {
|
|
1345
1345
|
let message = 'Object doesn\'t match RolesInGroupRepresentation (at "' + path_listRolesAndInternalSubordinates_item + '")\n';
|
|
1346
1346
|
message += referencepath_listRolesAndInternalSubordinates_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1355,7 +1355,7 @@ function validate$b(obj, path = 'PublicGroupMembershipDetailsRepresentation') {
|
|
|
1355
1355
|
for (let i = 0; i < obj_listRolesInternalAndPortalSubordinates.length; i++) {
|
|
1356
1356
|
const obj_listRolesInternalAndPortalSubordinates_item = obj_listRolesInternalAndPortalSubordinates[i];
|
|
1357
1357
|
const path_listRolesInternalAndPortalSubordinates_item = path_listRolesInternalAndPortalSubordinates + '[' + i + ']';
|
|
1358
|
-
const referencepath_listRolesInternalAndPortalSubordinates_itemValidationError = validate$
|
|
1358
|
+
const referencepath_listRolesInternalAndPortalSubordinates_itemValidationError = validate$f(obj_listRolesInternalAndPortalSubordinates_item, path_listRolesInternalAndPortalSubordinates_item);
|
|
1359
1359
|
if (referencepath_listRolesInternalAndPortalSubordinates_itemValidationError !== null) {
|
|
1360
1360
|
let message = 'Object doesn\'t match RolesInGroupRepresentation (at "' + path_listRolesInternalAndPortalSubordinates_item + '")\n';
|
|
1361
1361
|
message += referencepath_listRolesInternalAndPortalSubordinates_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1370,7 +1370,7 @@ function validate$b(obj, path = 'PublicGroupMembershipDetailsRepresentation') {
|
|
|
1370
1370
|
for (let i = 0; i < obj_listTerritories.length; i++) {
|
|
1371
1371
|
const obj_listTerritories_item = obj_listTerritories[i];
|
|
1372
1372
|
const path_listTerritories_item = path_listTerritories + '[' + i + ']';
|
|
1373
|
-
const referencepath_listTerritories_itemValidationError = validate$
|
|
1373
|
+
const referencepath_listTerritories_itemValidationError = validate$f(obj_listTerritories_item, path_listTerritories_item);
|
|
1374
1374
|
if (referencepath_listTerritories_itemValidationError !== null) {
|
|
1375
1375
|
let message = 'Object doesn\'t match RolesInGroupRepresentation (at "' + path_listTerritories_item + '")\n';
|
|
1376
1376
|
message += referencepath_listTerritories_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1385,7 +1385,7 @@ function validate$b(obj, path = 'PublicGroupMembershipDetailsRepresentation') {
|
|
|
1385
1385
|
for (let i = 0; i < obj_listUsers.length; i++) {
|
|
1386
1386
|
const obj_listUsers_item = obj_listUsers[i];
|
|
1387
1387
|
const path_listUsers_item = path_listUsers + '[' + i + ']';
|
|
1388
|
-
const referencepath_listUsers_itemValidationError = validate$
|
|
1388
|
+
const referencepath_listUsers_itemValidationError = validate$e(obj_listUsers_item, path_listUsers_item);
|
|
1389
1389
|
if (referencepath_listUsers_itemValidationError !== null) {
|
|
1390
1390
|
let message = 'Object doesn\'t match UserMembersInPublicGroupRepresentation (at "' + path_listUsers_item + '")\n';
|
|
1391
1391
|
message += referencepath_listUsers_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1399,13 +1399,13 @@ const RepresentationType$3 = 'PublicGroupMembershipDetailsRepresentation';
|
|
|
1399
1399
|
function normalize$3(input, existing, path, luvio, store, timestamp) {
|
|
1400
1400
|
return input;
|
|
1401
1401
|
}
|
|
1402
|
-
const select$
|
|
1403
|
-
const { selections: PublicGroupMembersInPublicGroupRepresentation__selections, opaque: PublicGroupMembersInPublicGroupRepresentation__opaque, } = select$
|
|
1404
|
-
const { selections: RolesInGroupRepresentation__selections, opaque: RolesInGroupRepresentation__opaque, } = select$
|
|
1405
|
-
const { selections: UserMembersInPublicGroupRepresentation__selections, opaque: UserMembersInPublicGroupRepresentation__opaque, } = select$
|
|
1402
|
+
const select$h = function PublicGroupMembershipDetailsRepresentationSelect() {
|
|
1403
|
+
const { selections: PublicGroupMembersInPublicGroupRepresentation__selections, opaque: PublicGroupMembersInPublicGroupRepresentation__opaque, } = select$k();
|
|
1404
|
+
const { selections: RolesInGroupRepresentation__selections, opaque: RolesInGroupRepresentation__opaque, } = select$j();
|
|
1405
|
+
const { selections: UserMembersInPublicGroupRepresentation__selections, opaque: UserMembersInPublicGroupRepresentation__opaque, } = select$i();
|
|
1406
1406
|
return {
|
|
1407
1407
|
kind: 'Fragment',
|
|
1408
|
-
version: VERSION$
|
|
1408
|
+
version: VERSION$d,
|
|
1409
1409
|
private: [],
|
|
1410
1410
|
selections: [
|
|
1411
1411
|
{
|
|
@@ -1457,7 +1457,7 @@ const select$f = function PublicGroupMembershipDetailsRepresentationSelect() {
|
|
|
1457
1457
|
]
|
|
1458
1458
|
};
|
|
1459
1459
|
};
|
|
1460
|
-
function equals$
|
|
1460
|
+
function equals$d(existing, incoming) {
|
|
1461
1461
|
const existing_isMember = existing.isMember;
|
|
1462
1462
|
const incoming_isMember = incoming.isMember;
|
|
1463
1463
|
if (!(existing_isMember === incoming_isMember)) {
|
|
@@ -1466,7 +1466,7 @@ function equals$b(existing, incoming) {
|
|
|
1466
1466
|
const existing_listChannelPrograms = existing.listChannelPrograms;
|
|
1467
1467
|
const incoming_listChannelPrograms = incoming.listChannelPrograms;
|
|
1468
1468
|
const equals_listChannelPrograms_items = equalsArray(existing_listChannelPrograms, incoming_listChannelPrograms, (existing_listChannelPrograms_item, incoming_listChannelPrograms_item) => {
|
|
1469
|
-
if (!(equals$
|
|
1469
|
+
if (!(equals$g(existing_listChannelPrograms_item, incoming_listChannelPrograms_item))) {
|
|
1470
1470
|
return false;
|
|
1471
1471
|
}
|
|
1472
1472
|
});
|
|
@@ -1476,7 +1476,7 @@ function equals$b(existing, incoming) {
|
|
|
1476
1476
|
const existing_listPublicGroups = existing.listPublicGroups;
|
|
1477
1477
|
const incoming_listPublicGroups = incoming.listPublicGroups;
|
|
1478
1478
|
const equals_listPublicGroups_items = equalsArray(existing_listPublicGroups, incoming_listPublicGroups, (existing_listPublicGroups_item, incoming_listPublicGroups_item) => {
|
|
1479
|
-
if (!(equals$
|
|
1479
|
+
if (!(equals$g(existing_listPublicGroups_item, incoming_listPublicGroups_item))) {
|
|
1480
1480
|
return false;
|
|
1481
1481
|
}
|
|
1482
1482
|
});
|
|
@@ -1486,7 +1486,7 @@ function equals$b(existing, incoming) {
|
|
|
1486
1486
|
const existing_listRoles = existing.listRoles;
|
|
1487
1487
|
const incoming_listRoles = incoming.listRoles;
|
|
1488
1488
|
const equals_listRoles_items = equalsArray(existing_listRoles, incoming_listRoles, (existing_listRoles_item, incoming_listRoles_item) => {
|
|
1489
|
-
if (!(equals$
|
|
1489
|
+
if (!(equals$f(existing_listRoles_item, incoming_listRoles_item))) {
|
|
1490
1490
|
return false;
|
|
1491
1491
|
}
|
|
1492
1492
|
});
|
|
@@ -1496,7 +1496,7 @@ function equals$b(existing, incoming) {
|
|
|
1496
1496
|
const existing_listRolesAndInternalSubordinates = existing.listRolesAndInternalSubordinates;
|
|
1497
1497
|
const incoming_listRolesAndInternalSubordinates = incoming.listRolesAndInternalSubordinates;
|
|
1498
1498
|
const equals_listRolesAndInternalSubordinates_items = equalsArray(existing_listRolesAndInternalSubordinates, incoming_listRolesAndInternalSubordinates, (existing_listRolesAndInternalSubordinates_item, incoming_listRolesAndInternalSubordinates_item) => {
|
|
1499
|
-
if (!(equals$
|
|
1499
|
+
if (!(equals$f(existing_listRolesAndInternalSubordinates_item, incoming_listRolesAndInternalSubordinates_item))) {
|
|
1500
1500
|
return false;
|
|
1501
1501
|
}
|
|
1502
1502
|
});
|
|
@@ -1506,7 +1506,7 @@ function equals$b(existing, incoming) {
|
|
|
1506
1506
|
const existing_listRolesInternalAndPortalSubordinates = existing.listRolesInternalAndPortalSubordinates;
|
|
1507
1507
|
const incoming_listRolesInternalAndPortalSubordinates = incoming.listRolesInternalAndPortalSubordinates;
|
|
1508
1508
|
const equals_listRolesInternalAndPortalSubordinates_items = equalsArray(existing_listRolesInternalAndPortalSubordinates, incoming_listRolesInternalAndPortalSubordinates, (existing_listRolesInternalAndPortalSubordinates_item, incoming_listRolesInternalAndPortalSubordinates_item) => {
|
|
1509
|
-
if (!(equals$
|
|
1509
|
+
if (!(equals$f(existing_listRolesInternalAndPortalSubordinates_item, incoming_listRolesInternalAndPortalSubordinates_item))) {
|
|
1510
1510
|
return false;
|
|
1511
1511
|
}
|
|
1512
1512
|
});
|
|
@@ -1516,7 +1516,7 @@ function equals$b(existing, incoming) {
|
|
|
1516
1516
|
const existing_listTerritories = existing.listTerritories;
|
|
1517
1517
|
const incoming_listTerritories = incoming.listTerritories;
|
|
1518
1518
|
const equals_listTerritories_items = equalsArray(existing_listTerritories, incoming_listTerritories, (existing_listTerritories_item, incoming_listTerritories_item) => {
|
|
1519
|
-
if (!(equals$
|
|
1519
|
+
if (!(equals$f(existing_listTerritories_item, incoming_listTerritories_item))) {
|
|
1520
1520
|
return false;
|
|
1521
1521
|
}
|
|
1522
1522
|
});
|
|
@@ -1526,7 +1526,7 @@ function equals$b(existing, incoming) {
|
|
|
1526
1526
|
const existing_listUsers = existing.listUsers;
|
|
1527
1527
|
const incoming_listUsers = incoming.listUsers;
|
|
1528
1528
|
const equals_listUsers_items = equalsArray(existing_listUsers, incoming_listUsers, (existing_listUsers_item, incoming_listUsers_item) => {
|
|
1529
|
-
if (!(equals$
|
|
1529
|
+
if (!(equals$e(existing_listUsers_item, incoming_listUsers_item))) {
|
|
1530
1530
|
return false;
|
|
1531
1531
|
}
|
|
1532
1532
|
});
|
|
@@ -1537,14 +1537,14 @@ function equals$b(existing, incoming) {
|
|
|
1537
1537
|
}
|
|
1538
1538
|
const ingest$3 = function PublicGroupMembershipDetailsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1539
1539
|
if (process.env.NODE_ENV !== 'production') {
|
|
1540
|
-
const validateError = validate$
|
|
1540
|
+
const validateError = validate$d(input);
|
|
1541
1541
|
if (validateError !== null) {
|
|
1542
1542
|
throw validateError;
|
|
1543
1543
|
}
|
|
1544
1544
|
}
|
|
1545
1545
|
const key = path.fullPath;
|
|
1546
1546
|
const ttlToUse = TTL$3;
|
|
1547
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "sharing", VERSION$
|
|
1547
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "sharing", VERSION$d, RepresentationType$3, equals$d);
|
|
1548
1548
|
return createLink(key);
|
|
1549
1549
|
};
|
|
1550
1550
|
function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1557,8 +1557,8 @@ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1557
1557
|
});
|
|
1558
1558
|
}
|
|
1559
1559
|
|
|
1560
|
-
function select$
|
|
1561
|
-
return select$
|
|
1560
|
+
function select$g(luvio, params) {
|
|
1561
|
+
return select$h();
|
|
1562
1562
|
}
|
|
1563
1563
|
function keyBuilder$7(luvio, params) {
|
|
1564
1564
|
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 + ')';
|
|
@@ -1572,7 +1572,7 @@ function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
1572
1572
|
luvio.storeIngest(key, ingest$3, body);
|
|
1573
1573
|
const snapshot = luvio.storeLookup({
|
|
1574
1574
|
recordId: key,
|
|
1575
|
-
node: select$
|
|
1575
|
+
node: select$g(),
|
|
1576
1576
|
variables: {},
|
|
1577
1577
|
}, snapshotRefresh);
|
|
1578
1578
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -1589,7 +1589,7 @@ function ingestError$3(luvio, params, error, snapshotRefresh) {
|
|
|
1589
1589
|
const storeMetadataParams = {
|
|
1590
1590
|
ttl: TTL$3,
|
|
1591
1591
|
namespace: keyPrefix,
|
|
1592
|
-
version: VERSION$
|
|
1592
|
+
version: VERSION$d,
|
|
1593
1593
|
representationName: RepresentationType$3
|
|
1594
1594
|
};
|
|
1595
1595
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -1648,7 +1648,7 @@ function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
|
|
|
1648
1648
|
}
|
|
1649
1649
|
function adapterFragment$3(luvio, config) {
|
|
1650
1650
|
createResourceParams$3(config);
|
|
1651
|
-
return select$
|
|
1651
|
+
return select$g();
|
|
1652
1652
|
}
|
|
1653
1653
|
function onFetchResponseSuccess$3(luvio, config, resourceParams, response) {
|
|
1654
1654
|
const snapshot = ingestSuccess$3(luvio, resourceParams, response, {
|
|
@@ -1704,8 +1704,8 @@ const getPublicGroupMembershipDetailsAdapterFactory = (luvio) => function sharin
|
|
|
1704
1704
|
buildCachedSnapshotCachePolicy$3, buildNetworkSnapshotCachePolicy$3);
|
|
1705
1705
|
};
|
|
1706
1706
|
|
|
1707
|
-
const VERSION$
|
|
1708
|
-
function validate$
|
|
1707
|
+
const VERSION$c = "11e587d0bd769c0df33d7cce4eb7210d";
|
|
1708
|
+
function validate$c(obj, path = 'IncludedGroupsSharingRepresentation') {
|
|
1709
1709
|
const v_error = (() => {
|
|
1710
1710
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1711
1711
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1738,10 +1738,10 @@ function validate$a(obj, path = 'IncludedGroupsSharingRepresentation') {
|
|
|
1738
1738
|
})();
|
|
1739
1739
|
return v_error === undefined ? null : v_error;
|
|
1740
1740
|
}
|
|
1741
|
-
const select$
|
|
1741
|
+
const select$f = function IncludedGroupsSharingRepresentationSelect() {
|
|
1742
1742
|
return {
|
|
1743
1743
|
kind: 'Fragment',
|
|
1744
|
-
version: VERSION$
|
|
1744
|
+
version: VERSION$c,
|
|
1745
1745
|
private: [],
|
|
1746
1746
|
selections: [
|
|
1747
1747
|
{
|
|
@@ -1767,7 +1767,7 @@ const select$d = function IncludedGroupsSharingRepresentationSelect() {
|
|
|
1767
1767
|
]
|
|
1768
1768
|
};
|
|
1769
1769
|
};
|
|
1770
|
-
function equals$
|
|
1770
|
+
function equals$c(existing, incoming) {
|
|
1771
1771
|
const existing_grantAccessHierarchies = existing.grantAccessHierarchies;
|
|
1772
1772
|
const incoming_grantAccessHierarchies = incoming.grantAccessHierarchies;
|
|
1773
1773
|
if (!(existing_grantAccessHierarchies === incoming_grantAccessHierarchies)) {
|
|
@@ -1796,8 +1796,8 @@ function equals$a(existing, incoming) {
|
|
|
1796
1796
|
return true;
|
|
1797
1797
|
}
|
|
1798
1798
|
|
|
1799
|
-
const VERSION$
|
|
1800
|
-
function validate$
|
|
1799
|
+
const VERSION$b = "b8227d5d544c32d4b6c8f7048a6529d9";
|
|
1800
|
+
function validate$b(obj, path = 'ListViewGroupSharingRepresentation') {
|
|
1801
1801
|
const v_error = (() => {
|
|
1802
1802
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1803
1803
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1825,10 +1825,10 @@ function validate$9(obj, path = 'ListViewGroupSharingRepresentation') {
|
|
|
1825
1825
|
})();
|
|
1826
1826
|
return v_error === undefined ? null : v_error;
|
|
1827
1827
|
}
|
|
1828
|
-
const select$
|
|
1828
|
+
const select$e = function ListViewGroupSharingRepresentationSelect() {
|
|
1829
1829
|
return {
|
|
1830
1830
|
kind: 'Fragment',
|
|
1831
|
-
version: VERSION$
|
|
1831
|
+
version: VERSION$b,
|
|
1832
1832
|
private: [],
|
|
1833
1833
|
selections: [
|
|
1834
1834
|
{
|
|
@@ -1850,7 +1850,7 @@ const select$c = function ListViewGroupSharingRepresentationSelect() {
|
|
|
1850
1850
|
]
|
|
1851
1851
|
};
|
|
1852
1852
|
};
|
|
1853
|
-
function equals$
|
|
1853
|
+
function equals$b(existing, incoming) {
|
|
1854
1854
|
const existing_developerName = existing.developerName;
|
|
1855
1855
|
const incoming_developerName = incoming.developerName;
|
|
1856
1856
|
if (!(existing_developerName === incoming_developerName)) {
|
|
@@ -1874,8 +1874,107 @@ function equals$9(existing, incoming) {
|
|
|
1874
1874
|
return true;
|
|
1875
1875
|
}
|
|
1876
1876
|
|
|
1877
|
-
const VERSION$
|
|
1878
|
-
function validate$
|
|
1877
|
+
const VERSION$a = "fb2361053d1fd9f868dafaa1597ff80a";
|
|
1878
|
+
function validate$a(obj, path = 'QueueSupportedObjectDetailsRepresentation') {
|
|
1879
|
+
const v_error = (() => {
|
|
1880
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1881
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1882
|
+
}
|
|
1883
|
+
const obj_apiName = obj.apiName;
|
|
1884
|
+
const path_apiName = path + '.apiName';
|
|
1885
|
+
if (typeof obj_apiName !== 'string') {
|
|
1886
|
+
return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
|
|
1887
|
+
}
|
|
1888
|
+
const obj_isCustom = obj.isCustom;
|
|
1889
|
+
const path_isCustom = path + '.isCustom';
|
|
1890
|
+
let obj_isCustom_union0 = null;
|
|
1891
|
+
const obj_isCustom_union0_error = (() => {
|
|
1892
|
+
if (typeof obj_isCustom !== 'boolean') {
|
|
1893
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isCustom + '" (at "' + path_isCustom + '")');
|
|
1894
|
+
}
|
|
1895
|
+
})();
|
|
1896
|
+
if (obj_isCustom_union0_error != null) {
|
|
1897
|
+
obj_isCustom_union0 = obj_isCustom_union0_error.message;
|
|
1898
|
+
}
|
|
1899
|
+
let obj_isCustom_union1 = null;
|
|
1900
|
+
const obj_isCustom_union1_error = (() => {
|
|
1901
|
+
if (obj_isCustom !== null) {
|
|
1902
|
+
return new TypeError('Expected "null" but received "' + typeof obj_isCustom + '" (at "' + path_isCustom + '")');
|
|
1903
|
+
}
|
|
1904
|
+
})();
|
|
1905
|
+
if (obj_isCustom_union1_error != null) {
|
|
1906
|
+
obj_isCustom_union1 = obj_isCustom_union1_error.message;
|
|
1907
|
+
}
|
|
1908
|
+
if (obj_isCustom_union0 && obj_isCustom_union1) {
|
|
1909
|
+
let message = 'Object doesn\'t match union (at "' + path_isCustom + '")';
|
|
1910
|
+
message += '\n' + obj_isCustom_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
1911
|
+
message += '\n' + obj_isCustom_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
1912
|
+
return new TypeError(message);
|
|
1913
|
+
}
|
|
1914
|
+
const obj_masterLabel = obj.masterLabel;
|
|
1915
|
+
const path_masterLabel = path + '.masterLabel';
|
|
1916
|
+
if (typeof obj_masterLabel !== 'string') {
|
|
1917
|
+
return new TypeError('Expected "string" but received "' + typeof obj_masterLabel + '" (at "' + path_masterLabel + '")');
|
|
1918
|
+
}
|
|
1919
|
+
const obj_namespace = obj.namespace;
|
|
1920
|
+
const path_namespace = path + '.namespace';
|
|
1921
|
+
if (typeof obj_namespace !== 'string') {
|
|
1922
|
+
return new TypeError('Expected "string" but received "' + typeof obj_namespace + '" (at "' + path_namespace + '")');
|
|
1923
|
+
}
|
|
1924
|
+
})();
|
|
1925
|
+
return v_error === undefined ? null : v_error;
|
|
1926
|
+
}
|
|
1927
|
+
const select$d = function QueueSupportedObjectDetailsRepresentationSelect() {
|
|
1928
|
+
return {
|
|
1929
|
+
kind: 'Fragment',
|
|
1930
|
+
version: VERSION$a,
|
|
1931
|
+
private: [],
|
|
1932
|
+
selections: [
|
|
1933
|
+
{
|
|
1934
|
+
name: 'apiName',
|
|
1935
|
+
kind: 'Scalar'
|
|
1936
|
+
},
|
|
1937
|
+
{
|
|
1938
|
+
name: 'isCustom',
|
|
1939
|
+
kind: 'Scalar'
|
|
1940
|
+
},
|
|
1941
|
+
{
|
|
1942
|
+
name: 'masterLabel',
|
|
1943
|
+
kind: 'Scalar'
|
|
1944
|
+
},
|
|
1945
|
+
{
|
|
1946
|
+
name: 'namespace',
|
|
1947
|
+
kind: 'Scalar'
|
|
1948
|
+
}
|
|
1949
|
+
]
|
|
1950
|
+
};
|
|
1951
|
+
};
|
|
1952
|
+
function equals$a(existing, incoming) {
|
|
1953
|
+
const existing_apiName = existing.apiName;
|
|
1954
|
+
const incoming_apiName = incoming.apiName;
|
|
1955
|
+
if (!(existing_apiName === incoming_apiName)) {
|
|
1956
|
+
return false;
|
|
1957
|
+
}
|
|
1958
|
+
const existing_masterLabel = existing.masterLabel;
|
|
1959
|
+
const incoming_masterLabel = incoming.masterLabel;
|
|
1960
|
+
if (!(existing_masterLabel === incoming_masterLabel)) {
|
|
1961
|
+
return false;
|
|
1962
|
+
}
|
|
1963
|
+
const existing_namespace = existing.namespace;
|
|
1964
|
+
const incoming_namespace = incoming.namespace;
|
|
1965
|
+
if (!(existing_namespace === incoming_namespace)) {
|
|
1966
|
+
return false;
|
|
1967
|
+
}
|
|
1968
|
+
const existing_isCustom = existing.isCustom;
|
|
1969
|
+
const incoming_isCustom = incoming.isCustom;
|
|
1970
|
+
if (!(existing_isCustom === incoming_isCustom)) {
|
|
1971
|
+
return false;
|
|
1972
|
+
}
|
|
1973
|
+
return true;
|
|
1974
|
+
}
|
|
1975
|
+
|
|
1976
|
+
const VERSION$9 = "07fe7eab011def0e046285b2d5c9d774";
|
|
1977
|
+
function validate$9(obj, path = 'QueuesSharingRepresentation') {
|
|
1879
1978
|
const v_error = (() => {
|
|
1880
1979
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1881
1980
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1903,10 +2002,10 @@ function validate$8(obj, path = 'QueuesSharingRepresentation') {
|
|
|
1903
2002
|
})();
|
|
1904
2003
|
return v_error === undefined ? null : v_error;
|
|
1905
2004
|
}
|
|
1906
|
-
const select$
|
|
2005
|
+
const select$c = function QueuesSharingRepresentationSelect() {
|
|
1907
2006
|
return {
|
|
1908
2007
|
kind: 'Fragment',
|
|
1909
|
-
version: VERSION$
|
|
2008
|
+
version: VERSION$9,
|
|
1910
2009
|
private: [],
|
|
1911
2010
|
selections: [
|
|
1912
2011
|
{
|
|
@@ -1928,7 +2027,7 @@ const select$b = function QueuesSharingRepresentationSelect() {
|
|
|
1928
2027
|
]
|
|
1929
2028
|
};
|
|
1930
2029
|
};
|
|
1931
|
-
function equals$
|
|
2030
|
+
function equals$9(existing, incoming) {
|
|
1932
2031
|
const existing_developerName = existing.developerName;
|
|
1933
2032
|
const incoming_developerName = incoming.developerName;
|
|
1934
2033
|
if (!(existing_developerName === incoming_developerName)) {
|
|
@@ -1952,8 +2051,8 @@ function equals$8(existing, incoming) {
|
|
|
1952
2051
|
return true;
|
|
1953
2052
|
}
|
|
1954
2053
|
|
|
1955
|
-
const VERSION$
|
|
1956
|
-
function validate$
|
|
2054
|
+
const VERSION$8 = "a0ed38b40ad9886f3e05a1b65fd2e246";
|
|
2055
|
+
function validate$8(obj, path = 'ReportAndDashboardFolderGroupSharingRepresentation') {
|
|
1957
2056
|
const v_error = (() => {
|
|
1958
2057
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1959
2058
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1991,10 +2090,10 @@ function validate$7(obj, path = 'ReportAndDashboardFolderGroupSharingRepresentat
|
|
|
1991
2090
|
})();
|
|
1992
2091
|
return v_error === undefined ? null : v_error;
|
|
1993
2092
|
}
|
|
1994
|
-
const select$
|
|
2093
|
+
const select$b = function ReportAndDashboardFolderGroupSharingRepresentationSelect() {
|
|
1995
2094
|
return {
|
|
1996
2095
|
kind: 'Fragment',
|
|
1997
|
-
version: VERSION$
|
|
2096
|
+
version: VERSION$8,
|
|
1998
2097
|
private: [],
|
|
1999
2098
|
selections: [
|
|
2000
2099
|
{
|
|
@@ -2024,7 +2123,7 @@ const select$a = function ReportAndDashboardFolderGroupSharingRepresentationSele
|
|
|
2024
2123
|
]
|
|
2025
2124
|
};
|
|
2026
2125
|
};
|
|
2027
|
-
function equals$
|
|
2126
|
+
function equals$8(existing, incoming) {
|
|
2028
2127
|
const existing_accessLevel = existing.accessLevel;
|
|
2029
2128
|
const incoming_accessLevel = incoming.accessLevel;
|
|
2030
2129
|
if (!(existing_accessLevel === incoming_accessLevel)) {
|
|
@@ -2058,6 +2157,56 @@ function equals$7(existing, incoming) {
|
|
|
2058
2157
|
return true;
|
|
2059
2158
|
}
|
|
2060
2159
|
|
|
2160
|
+
const VERSION$7 = "4c90b0d9bf8b7462cb8d0f8a6edb5ec2";
|
|
2161
|
+
function validate$7(obj, path = 'RoutingConfigDetailsRepresentation') {
|
|
2162
|
+
const v_error = (() => {
|
|
2163
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2164
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2165
|
+
}
|
|
2166
|
+
const obj_id = obj.id;
|
|
2167
|
+
const path_id = path + '.id';
|
|
2168
|
+
if (typeof obj_id !== 'string') {
|
|
2169
|
+
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
2170
|
+
}
|
|
2171
|
+
const obj_masterLabel = obj.masterLabel;
|
|
2172
|
+
const path_masterLabel = path + '.masterLabel';
|
|
2173
|
+
if (typeof obj_masterLabel !== 'string') {
|
|
2174
|
+
return new TypeError('Expected "string" but received "' + typeof obj_masterLabel + '" (at "' + path_masterLabel + '")');
|
|
2175
|
+
}
|
|
2176
|
+
})();
|
|
2177
|
+
return v_error === undefined ? null : v_error;
|
|
2178
|
+
}
|
|
2179
|
+
const select$a = function RoutingConfigDetailsRepresentationSelect() {
|
|
2180
|
+
return {
|
|
2181
|
+
kind: 'Fragment',
|
|
2182
|
+
version: VERSION$7,
|
|
2183
|
+
private: [],
|
|
2184
|
+
selections: [
|
|
2185
|
+
{
|
|
2186
|
+
name: 'id',
|
|
2187
|
+
kind: 'Scalar'
|
|
2188
|
+
},
|
|
2189
|
+
{
|
|
2190
|
+
name: 'masterLabel',
|
|
2191
|
+
kind: 'Scalar'
|
|
2192
|
+
}
|
|
2193
|
+
]
|
|
2194
|
+
};
|
|
2195
|
+
};
|
|
2196
|
+
function equals$7(existing, incoming) {
|
|
2197
|
+
const existing_id = existing.id;
|
|
2198
|
+
const incoming_id = incoming.id;
|
|
2199
|
+
if (!(existing_id === incoming_id)) {
|
|
2200
|
+
return false;
|
|
2201
|
+
}
|
|
2202
|
+
const existing_masterLabel = existing.masterLabel;
|
|
2203
|
+
const incoming_masterLabel = incoming.masterLabel;
|
|
2204
|
+
if (!(existing_masterLabel === incoming_masterLabel)) {
|
|
2205
|
+
return false;
|
|
2206
|
+
}
|
|
2207
|
+
return true;
|
|
2208
|
+
}
|
|
2209
|
+
|
|
2061
2210
|
const VERSION$6 = "c1fd46badd6b7d74d5d487367b066f42";
|
|
2062
2211
|
function validate$6(obj, path = 'SharingRulesCriteriaGroupSharingRepresentation') {
|
|
2063
2212
|
const v_error = (() => {
|
|
@@ -2271,7 +2420,7 @@ function equals$5(existing, incoming) {
|
|
|
2271
2420
|
}
|
|
2272
2421
|
|
|
2273
2422
|
const TTL$2 = 300;
|
|
2274
|
-
const VERSION$4 = "
|
|
2423
|
+
const VERSION$4 = "688d1ce4756fb7c7fcbf8a2f2ac1ae7c";
|
|
2275
2424
|
function validate$4(obj, path = 'PublicGroupSummaryRepresentation') {
|
|
2276
2425
|
const v_error = (() => {
|
|
2277
2426
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2285,7 +2434,7 @@ function validate$4(obj, path = 'PublicGroupSummaryRepresentation') {
|
|
|
2285
2434
|
for (let i = 0; i < obj_includedGroupsSharing.length; i++) {
|
|
2286
2435
|
const obj_includedGroupsSharing_item = obj_includedGroupsSharing[i];
|
|
2287
2436
|
const path_includedGroupsSharing_item = path_includedGroupsSharing + '[' + i + ']';
|
|
2288
|
-
const referencepath_includedGroupsSharing_itemValidationError = validate$
|
|
2437
|
+
const referencepath_includedGroupsSharing_itemValidationError = validate$c(obj_includedGroupsSharing_item, path_includedGroupsSharing_item);
|
|
2289
2438
|
if (referencepath_includedGroupsSharing_itemValidationError !== null) {
|
|
2290
2439
|
let message = 'Object doesn\'t match IncludedGroupsSharingRepresentation (at "' + path_includedGroupsSharing_item + '")\n';
|
|
2291
2440
|
message += referencepath_includedGroupsSharing_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2300,13 +2449,30 @@ function validate$4(obj, path = 'PublicGroupSummaryRepresentation') {
|
|
|
2300
2449
|
for (let i = 0; i < obj_listViewGroupSharing.length; i++) {
|
|
2301
2450
|
const obj_listViewGroupSharing_item = obj_listViewGroupSharing[i];
|
|
2302
2451
|
const path_listViewGroupSharing_item = path_listViewGroupSharing + '[' + i + ']';
|
|
2303
|
-
const referencepath_listViewGroupSharing_itemValidationError = validate$
|
|
2452
|
+
const referencepath_listViewGroupSharing_itemValidationError = validate$b(obj_listViewGroupSharing_item, path_listViewGroupSharing_item);
|
|
2304
2453
|
if (referencepath_listViewGroupSharing_itemValidationError !== null) {
|
|
2305
2454
|
let message = 'Object doesn\'t match ListViewGroupSharingRepresentation (at "' + path_listViewGroupSharing_item + '")\n';
|
|
2306
2455
|
message += referencepath_listViewGroupSharing_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2307
2456
|
return new TypeError(message);
|
|
2308
2457
|
}
|
|
2309
2458
|
}
|
|
2459
|
+
if (obj.queueSupportedObjectDetails !== undefined) {
|
|
2460
|
+
const obj_queueSupportedObjectDetails = obj.queueSupportedObjectDetails;
|
|
2461
|
+
const path_queueSupportedObjectDetails = path + '.queueSupportedObjectDetails';
|
|
2462
|
+
if (!ArrayIsArray(obj_queueSupportedObjectDetails)) {
|
|
2463
|
+
return new TypeError('Expected "array" but received "' + typeof obj_queueSupportedObjectDetails + '" (at "' + path_queueSupportedObjectDetails + '")');
|
|
2464
|
+
}
|
|
2465
|
+
for (let i = 0; i < obj_queueSupportedObjectDetails.length; i++) {
|
|
2466
|
+
const obj_queueSupportedObjectDetails_item = obj_queueSupportedObjectDetails[i];
|
|
2467
|
+
const path_queueSupportedObjectDetails_item = path_queueSupportedObjectDetails + '[' + i + ']';
|
|
2468
|
+
const referencepath_queueSupportedObjectDetails_itemValidationError = validate$a(obj_queueSupportedObjectDetails_item, path_queueSupportedObjectDetails_item);
|
|
2469
|
+
if (referencepath_queueSupportedObjectDetails_itemValidationError !== null) {
|
|
2470
|
+
let message = 'Object doesn\'t match QueueSupportedObjectDetailsRepresentation (at "' + path_queueSupportedObjectDetails_item + '")\n';
|
|
2471
|
+
message += referencepath_queueSupportedObjectDetails_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2472
|
+
return new TypeError(message);
|
|
2473
|
+
}
|
|
2474
|
+
}
|
|
2475
|
+
}
|
|
2310
2476
|
const obj_queuesSharing = obj.queuesSharing;
|
|
2311
2477
|
const path_queuesSharing = path + '.queuesSharing';
|
|
2312
2478
|
if (!ArrayIsArray(obj_queuesSharing)) {
|
|
@@ -2315,7 +2481,7 @@ function validate$4(obj, path = 'PublicGroupSummaryRepresentation') {
|
|
|
2315
2481
|
for (let i = 0; i < obj_queuesSharing.length; i++) {
|
|
2316
2482
|
const obj_queuesSharing_item = obj_queuesSharing[i];
|
|
2317
2483
|
const path_queuesSharing_item = path_queuesSharing + '[' + i + ']';
|
|
2318
|
-
const referencepath_queuesSharing_itemValidationError = validate$
|
|
2484
|
+
const referencepath_queuesSharing_itemValidationError = validate$9(obj_queuesSharing_item, path_queuesSharing_item);
|
|
2319
2485
|
if (referencepath_queuesSharing_itemValidationError !== null) {
|
|
2320
2486
|
let message = 'Object doesn\'t match QueuesSharingRepresentation (at "' + path_queuesSharing_item + '")\n';
|
|
2321
2487
|
message += referencepath_queuesSharing_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2330,13 +2496,44 @@ function validate$4(obj, path = 'PublicGroupSummaryRepresentation') {
|
|
|
2330
2496
|
for (let i = 0; i < obj_reportAndDashboardFolderGroupSharing.length; i++) {
|
|
2331
2497
|
const obj_reportAndDashboardFolderGroupSharing_item = obj_reportAndDashboardFolderGroupSharing[i];
|
|
2332
2498
|
const path_reportAndDashboardFolderGroupSharing_item = path_reportAndDashboardFolderGroupSharing + '[' + i + ']';
|
|
2333
|
-
const referencepath_reportAndDashboardFolderGroupSharing_itemValidationError = validate$
|
|
2499
|
+
const referencepath_reportAndDashboardFolderGroupSharing_itemValidationError = validate$8(obj_reportAndDashboardFolderGroupSharing_item, path_reportAndDashboardFolderGroupSharing_item);
|
|
2334
2500
|
if (referencepath_reportAndDashboardFolderGroupSharing_itemValidationError !== null) {
|
|
2335
2501
|
let message = 'Object doesn\'t match ReportAndDashboardFolderGroupSharingRepresentation (at "' + path_reportAndDashboardFolderGroupSharing_item + '")\n';
|
|
2336
2502
|
message += referencepath_reportAndDashboardFolderGroupSharing_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2337
2503
|
return new TypeError(message);
|
|
2338
2504
|
}
|
|
2339
2505
|
}
|
|
2506
|
+
if (obj.routingConfigDetails !== undefined) {
|
|
2507
|
+
const obj_routingConfigDetails = obj.routingConfigDetails;
|
|
2508
|
+
const path_routingConfigDetails = path + '.routingConfigDetails';
|
|
2509
|
+
let obj_routingConfigDetails_union0 = null;
|
|
2510
|
+
const obj_routingConfigDetails_union0_error = (() => {
|
|
2511
|
+
const referencepath_routingConfigDetailsValidationError = validate$7(obj_routingConfigDetails, path_routingConfigDetails);
|
|
2512
|
+
if (referencepath_routingConfigDetailsValidationError !== null) {
|
|
2513
|
+
let message = 'Object doesn\'t match RoutingConfigDetailsRepresentation (at "' + path_routingConfigDetails + '")\n';
|
|
2514
|
+
message += referencepath_routingConfigDetailsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2515
|
+
return new TypeError(message);
|
|
2516
|
+
}
|
|
2517
|
+
})();
|
|
2518
|
+
if (obj_routingConfigDetails_union0_error != null) {
|
|
2519
|
+
obj_routingConfigDetails_union0 = obj_routingConfigDetails_union0_error.message;
|
|
2520
|
+
}
|
|
2521
|
+
let obj_routingConfigDetails_union1 = null;
|
|
2522
|
+
const obj_routingConfigDetails_union1_error = (() => {
|
|
2523
|
+
if (obj_routingConfigDetails !== null) {
|
|
2524
|
+
return new TypeError('Expected "null" but received "' + typeof obj_routingConfigDetails + '" (at "' + path_routingConfigDetails + '")');
|
|
2525
|
+
}
|
|
2526
|
+
})();
|
|
2527
|
+
if (obj_routingConfigDetails_union1_error != null) {
|
|
2528
|
+
obj_routingConfigDetails_union1 = obj_routingConfigDetails_union1_error.message;
|
|
2529
|
+
}
|
|
2530
|
+
if (obj_routingConfigDetails_union0 && obj_routingConfigDetails_union1) {
|
|
2531
|
+
let message = 'Object doesn\'t match union (at "' + path_routingConfigDetails + '")';
|
|
2532
|
+
message += '\n' + obj_routingConfigDetails_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
2533
|
+
message += '\n' + obj_routingConfigDetails_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2534
|
+
return new TypeError(message);
|
|
2535
|
+
}
|
|
2536
|
+
}
|
|
2340
2537
|
const obj_sharingRulesCriteriaGroupSharing = obj.sharingRulesCriteriaGroupSharing;
|
|
2341
2538
|
const path_sharingRulesCriteriaGroupSharing = path + '.sharingRulesCriteriaGroupSharing';
|
|
2342
2539
|
if (!ArrayIsArray(obj_sharingRulesCriteriaGroupSharing)) {
|
|
@@ -2375,10 +2572,12 @@ function normalize$2(input, existing, path, luvio, store, timestamp) {
|
|
|
2375
2572
|
return input;
|
|
2376
2573
|
}
|
|
2377
2574
|
const select$7 = function PublicGroupSummaryRepresentationSelect() {
|
|
2378
|
-
const { selections: IncludedGroupsSharingRepresentation__selections, opaque: IncludedGroupsSharingRepresentation__opaque, } = select$
|
|
2379
|
-
const { selections: ListViewGroupSharingRepresentation__selections, opaque: ListViewGroupSharingRepresentation__opaque, } = select$
|
|
2380
|
-
const { selections:
|
|
2381
|
-
const { selections:
|
|
2575
|
+
const { selections: IncludedGroupsSharingRepresentation__selections, opaque: IncludedGroupsSharingRepresentation__opaque, } = select$f();
|
|
2576
|
+
const { selections: ListViewGroupSharingRepresentation__selections, opaque: ListViewGroupSharingRepresentation__opaque, } = select$e();
|
|
2577
|
+
const { selections: QueueSupportedObjectDetailsRepresentation__selections, opaque: QueueSupportedObjectDetailsRepresentation__opaque, } = select$d();
|
|
2578
|
+
const { selections: QueuesSharingRepresentation__selections, opaque: QueuesSharingRepresentation__opaque, } = select$c();
|
|
2579
|
+
const { selections: ReportAndDashboardFolderGroupSharingRepresentation__selections, opaque: ReportAndDashboardFolderGroupSharingRepresentation__opaque, } = select$b();
|
|
2580
|
+
const { selections: RoutingConfigDetailsRepresentation__selections, opaque: RoutingConfigDetailsRepresentation__opaque, } = select$a();
|
|
2382
2581
|
const { selections: SharingRulesCriteriaGroupSharingRepresentation__selections, opaque: SharingRulesCriteriaGroupSharingRepresentation__opaque, } = select$9();
|
|
2383
2582
|
const { selections: SharingRulesOwnerGroupSharingRepresentation__selections, opaque: SharingRulesOwnerGroupSharingRepresentation__opaque, } = select$8();
|
|
2384
2583
|
return {
|
|
@@ -2398,6 +2597,13 @@ const select$7 = function PublicGroupSummaryRepresentationSelect() {
|
|
|
2398
2597
|
plural: true,
|
|
2399
2598
|
selections: ListViewGroupSharingRepresentation__selections
|
|
2400
2599
|
},
|
|
2600
|
+
{
|
|
2601
|
+
name: 'queueSupportedObjectDetails',
|
|
2602
|
+
kind: 'Object',
|
|
2603
|
+
plural: true,
|
|
2604
|
+
selections: QueueSupportedObjectDetailsRepresentation__selections,
|
|
2605
|
+
required: false
|
|
2606
|
+
},
|
|
2401
2607
|
{
|
|
2402
2608
|
name: 'queuesSharing',
|
|
2403
2609
|
kind: 'Object',
|
|
@@ -2410,6 +2616,13 @@ const select$7 = function PublicGroupSummaryRepresentationSelect() {
|
|
|
2410
2616
|
plural: true,
|
|
2411
2617
|
selections: ReportAndDashboardFolderGroupSharingRepresentation__selections
|
|
2412
2618
|
},
|
|
2619
|
+
{
|
|
2620
|
+
name: 'routingConfigDetails',
|
|
2621
|
+
kind: 'Object',
|
|
2622
|
+
nullable: true,
|
|
2623
|
+
selections: RoutingConfigDetailsRepresentation__selections,
|
|
2624
|
+
required: false
|
|
2625
|
+
},
|
|
2413
2626
|
{
|
|
2414
2627
|
name: 'sharingRulesCriteriaGroupSharing',
|
|
2415
2628
|
kind: 'Object',
|
|
@@ -2429,7 +2642,7 @@ function equals$4(existing, incoming) {
|
|
|
2429
2642
|
const existing_includedGroupsSharing = existing.includedGroupsSharing;
|
|
2430
2643
|
const incoming_includedGroupsSharing = incoming.includedGroupsSharing;
|
|
2431
2644
|
const equals_includedGroupsSharing_items = equalsArray(existing_includedGroupsSharing, incoming_includedGroupsSharing, (existing_includedGroupsSharing_item, incoming_includedGroupsSharing_item) => {
|
|
2432
|
-
if (!(equals$
|
|
2645
|
+
if (!(equals$c(existing_includedGroupsSharing_item, incoming_includedGroupsSharing_item))) {
|
|
2433
2646
|
return false;
|
|
2434
2647
|
}
|
|
2435
2648
|
});
|
|
@@ -2439,17 +2652,35 @@ function equals$4(existing, incoming) {
|
|
|
2439
2652
|
const existing_listViewGroupSharing = existing.listViewGroupSharing;
|
|
2440
2653
|
const incoming_listViewGroupSharing = incoming.listViewGroupSharing;
|
|
2441
2654
|
const equals_listViewGroupSharing_items = equalsArray(existing_listViewGroupSharing, incoming_listViewGroupSharing, (existing_listViewGroupSharing_item, incoming_listViewGroupSharing_item) => {
|
|
2442
|
-
if (!(equals$
|
|
2655
|
+
if (!(equals$b(existing_listViewGroupSharing_item, incoming_listViewGroupSharing_item))) {
|
|
2443
2656
|
return false;
|
|
2444
2657
|
}
|
|
2445
2658
|
});
|
|
2446
2659
|
if (equals_listViewGroupSharing_items === false) {
|
|
2447
2660
|
return false;
|
|
2448
2661
|
}
|
|
2662
|
+
const existing_queueSupportedObjectDetails = existing.queueSupportedObjectDetails;
|
|
2663
|
+
const incoming_queueSupportedObjectDetails = incoming.queueSupportedObjectDetails;
|
|
2664
|
+
// if at least one of these optionals is defined
|
|
2665
|
+
if (existing_queueSupportedObjectDetails !== undefined || incoming_queueSupportedObjectDetails !== undefined) {
|
|
2666
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
2667
|
+
// not equal
|
|
2668
|
+
if (existing_queueSupportedObjectDetails === undefined || incoming_queueSupportedObjectDetails === undefined) {
|
|
2669
|
+
return false;
|
|
2670
|
+
}
|
|
2671
|
+
const equals_queueSupportedObjectDetails_items = equalsArray(existing_queueSupportedObjectDetails, incoming_queueSupportedObjectDetails, (existing_queueSupportedObjectDetails_item, incoming_queueSupportedObjectDetails_item) => {
|
|
2672
|
+
if (!(equals$a(existing_queueSupportedObjectDetails_item, incoming_queueSupportedObjectDetails_item))) {
|
|
2673
|
+
return false;
|
|
2674
|
+
}
|
|
2675
|
+
});
|
|
2676
|
+
if (equals_queueSupportedObjectDetails_items === false) {
|
|
2677
|
+
return false;
|
|
2678
|
+
}
|
|
2679
|
+
}
|
|
2449
2680
|
const existing_queuesSharing = existing.queuesSharing;
|
|
2450
2681
|
const incoming_queuesSharing = incoming.queuesSharing;
|
|
2451
2682
|
const equals_queuesSharing_items = equalsArray(existing_queuesSharing, incoming_queuesSharing, (existing_queuesSharing_item, incoming_queuesSharing_item) => {
|
|
2452
|
-
if (!(equals$
|
|
2683
|
+
if (!(equals$9(existing_queuesSharing_item, incoming_queuesSharing_item))) {
|
|
2453
2684
|
return false;
|
|
2454
2685
|
}
|
|
2455
2686
|
});
|
|
@@ -2459,13 +2690,29 @@ function equals$4(existing, incoming) {
|
|
|
2459
2690
|
const existing_reportAndDashboardFolderGroupSharing = existing.reportAndDashboardFolderGroupSharing;
|
|
2460
2691
|
const incoming_reportAndDashboardFolderGroupSharing = incoming.reportAndDashboardFolderGroupSharing;
|
|
2461
2692
|
const equals_reportAndDashboardFolderGroupSharing_items = equalsArray(existing_reportAndDashboardFolderGroupSharing, incoming_reportAndDashboardFolderGroupSharing, (existing_reportAndDashboardFolderGroupSharing_item, incoming_reportAndDashboardFolderGroupSharing_item) => {
|
|
2462
|
-
if (!(equals$
|
|
2693
|
+
if (!(equals$8(existing_reportAndDashboardFolderGroupSharing_item, incoming_reportAndDashboardFolderGroupSharing_item))) {
|
|
2463
2694
|
return false;
|
|
2464
2695
|
}
|
|
2465
2696
|
});
|
|
2466
2697
|
if (equals_reportAndDashboardFolderGroupSharing_items === false) {
|
|
2467
2698
|
return false;
|
|
2468
2699
|
}
|
|
2700
|
+
const existing_routingConfigDetails = existing.routingConfigDetails;
|
|
2701
|
+
const incoming_routingConfigDetails = incoming.routingConfigDetails;
|
|
2702
|
+
// if at least one of these optionals is defined
|
|
2703
|
+
if (existing_routingConfigDetails !== undefined || incoming_routingConfigDetails !== undefined) {
|
|
2704
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
2705
|
+
// not equal
|
|
2706
|
+
if (existing_routingConfigDetails === undefined || incoming_routingConfigDetails === undefined) {
|
|
2707
|
+
return false;
|
|
2708
|
+
}
|
|
2709
|
+
if (!(existing_routingConfigDetails === incoming_routingConfigDetails
|
|
2710
|
+
|| (existing_routingConfigDetails != null &&
|
|
2711
|
+
incoming_routingConfigDetails != null &&
|
|
2712
|
+
equals$7(existing_routingConfigDetails, incoming_routingConfigDetails)))) {
|
|
2713
|
+
return false;
|
|
2714
|
+
}
|
|
2715
|
+
}
|
|
2469
2716
|
const existing_sharingRulesCriteriaGroupSharing = existing.sharingRulesCriteriaGroupSharing;
|
|
2470
2717
|
const incoming_sharingRulesCriteriaGroupSharing = incoming.sharingRulesCriteriaGroupSharing;
|
|
2471
2718
|
const equals_sharingRulesCriteriaGroupSharing_items = equalsArray(existing_sharingRulesCriteriaGroupSharing, incoming_sharingRulesCriteriaGroupSharing, (existing_sharingRulesCriteriaGroupSharing_item, incoming_sharingRulesCriteriaGroupSharing_item) => {
|