@salesforce/lds-adapters-platform-sharing 1.312.1 → 1.314.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 +197 -87
- package/dist/es/es2018/types/src/generated/types/PublicGroupSummaryRepresentation.d.ts +5 -1
- package/dist/es/es2018/types/src/generated/types/QueuesSharingRepresentation.d.ts +37 -0
- package/package.json +3 -3
- package/sfdc/index.js +218 -108
- package/src/raml/api.raml +21 -0
|
@@ -91,8 +91,8 @@ function createLink(ref) {
|
|
|
91
91
|
};
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
const VERSION$
|
|
95
|
-
function validate$
|
|
94
|
+
const VERSION$h = "7d75e40a9fde9f60ae02b6dde36257ce";
|
|
95
|
+
function validate$h(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 + '")');
|
|
@@ -120,10 +120,10 @@ function validate$g(obj, path = 'PublicGroupRepresentation') {
|
|
|
120
120
|
})();
|
|
121
121
|
return v_error === undefined ? null : v_error;
|
|
122
122
|
}
|
|
123
|
-
const select$
|
|
123
|
+
const select$m = function PublicGroupRepresentationSelect() {
|
|
124
124
|
return {
|
|
125
125
|
kind: 'Fragment',
|
|
126
|
-
version: VERSION$
|
|
126
|
+
version: VERSION$h,
|
|
127
127
|
private: [],
|
|
128
128
|
selections: [
|
|
129
129
|
{
|
|
@@ -145,7 +145,7 @@ const select$l = function PublicGroupRepresentationSelect() {
|
|
|
145
145
|
]
|
|
146
146
|
};
|
|
147
147
|
};
|
|
148
|
-
function equals$
|
|
148
|
+
function equals$h(existing, incoming) {
|
|
149
149
|
const existing_includeBosses = existing.includeBosses;
|
|
150
150
|
const incoming_includeBosses = incoming.includeBosses;
|
|
151
151
|
if (!(existing_includeBosses === incoming_includeBosses)) {
|
|
@@ -169,8 +169,8 @@ function equals$g(existing, incoming) {
|
|
|
169
169
|
return true;
|
|
170
170
|
}
|
|
171
171
|
|
|
172
|
-
const VERSION$
|
|
173
|
-
function validate$
|
|
172
|
+
const VERSION$g = "89ae3fce0ad09282e80bd77a9c483003";
|
|
173
|
+
function validate$g(obj, path = 'QueueRepresentation') {
|
|
174
174
|
const v_error = (() => {
|
|
175
175
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
176
176
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -193,10 +193,10 @@ function validate$f(obj, path = 'QueueRepresentation') {
|
|
|
193
193
|
})();
|
|
194
194
|
return v_error === undefined ? null : v_error;
|
|
195
195
|
}
|
|
196
|
-
const select$
|
|
196
|
+
const select$l = function QueueRepresentationSelect() {
|
|
197
197
|
return {
|
|
198
198
|
kind: 'Fragment',
|
|
199
|
-
version: VERSION$
|
|
199
|
+
version: VERSION$g,
|
|
200
200
|
private: [],
|
|
201
201
|
selections: [
|
|
202
202
|
{
|
|
@@ -214,7 +214,7 @@ const select$k = function QueueRepresentationSelect() {
|
|
|
214
214
|
]
|
|
215
215
|
};
|
|
216
216
|
};
|
|
217
|
-
function equals$
|
|
217
|
+
function equals$g(existing, incoming) {
|
|
218
218
|
const existing_developerName = existing.developerName;
|
|
219
219
|
const incoming_developerName = incoming.developerName;
|
|
220
220
|
if (!(existing_developerName === incoming_developerName)) {
|
|
@@ -234,8 +234,8 @@ function equals$f(existing, incoming) {
|
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
const TTL$4 = 300;
|
|
237
|
-
const VERSION$
|
|
238
|
-
function validate$
|
|
237
|
+
const VERSION$f = "3659c4a4f46957a3a2b5cb2d2383180d";
|
|
238
|
+
function validate$f(obj, path = 'GroupCollectionRepresentation') {
|
|
239
239
|
const v_error = (() => {
|
|
240
240
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
241
241
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -248,7 +248,7 @@ function validate$e(obj, path = 'GroupCollectionRepresentation') {
|
|
|
248
248
|
for (let i = 0; i < obj_publicGroupRepresentations.length; i++) {
|
|
249
249
|
const obj_publicGroupRepresentations_item = obj_publicGroupRepresentations[i];
|
|
250
250
|
const path_publicGroupRepresentations_item = path_publicGroupRepresentations + '[' + i + ']';
|
|
251
|
-
const referencepath_publicGroupRepresentations_itemValidationError = validate$
|
|
251
|
+
const referencepath_publicGroupRepresentations_itemValidationError = validate$h(obj_publicGroupRepresentations_item, path_publicGroupRepresentations_item);
|
|
252
252
|
if (referencepath_publicGroupRepresentations_itemValidationError !== null) {
|
|
253
253
|
let message = 'Object doesn\'t match PublicGroupRepresentation (at "' + path_publicGroupRepresentations_item + '")\n';
|
|
254
254
|
message += referencepath_publicGroupRepresentations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -263,7 +263,7 @@ function validate$e(obj, path = 'GroupCollectionRepresentation') {
|
|
|
263
263
|
for (let i = 0; i < obj_queueRepresentations.length; i++) {
|
|
264
264
|
const obj_queueRepresentations_item = obj_queueRepresentations[i];
|
|
265
265
|
const path_queueRepresentations_item = path_queueRepresentations + '[' + i + ']';
|
|
266
|
-
const referencepath_queueRepresentations_itemValidationError = validate$
|
|
266
|
+
const referencepath_queueRepresentations_itemValidationError = validate$g(obj_queueRepresentations_item, path_queueRepresentations_item);
|
|
267
267
|
if (referencepath_queueRepresentations_itemValidationError !== null) {
|
|
268
268
|
let message = 'Object doesn\'t match QueueRepresentation (at "' + path_queueRepresentations_item + '")\n';
|
|
269
269
|
message += referencepath_queueRepresentations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -277,12 +277,12 @@ const RepresentationType$4 = 'GroupCollectionRepresentation';
|
|
|
277
277
|
function normalize$4(input, existing, path, luvio, store, timestamp) {
|
|
278
278
|
return input;
|
|
279
279
|
}
|
|
280
|
-
const select$
|
|
281
|
-
const { selections: PublicGroupRepresentation__selections, opaque: PublicGroupRepresentation__opaque, } = select$
|
|
282
|
-
const { selections: QueueRepresentation__selections, opaque: QueueRepresentation__opaque, } = select$
|
|
280
|
+
const select$k = function GroupCollectionRepresentationSelect() {
|
|
281
|
+
const { selections: PublicGroupRepresentation__selections, opaque: PublicGroupRepresentation__opaque, } = select$m();
|
|
282
|
+
const { selections: QueueRepresentation__selections, opaque: QueueRepresentation__opaque, } = select$l();
|
|
283
283
|
return {
|
|
284
284
|
kind: 'Fragment',
|
|
285
|
-
version: VERSION$
|
|
285
|
+
version: VERSION$f,
|
|
286
286
|
private: [],
|
|
287
287
|
selections: [
|
|
288
288
|
{
|
|
@@ -300,11 +300,11 @@ const select$j = function GroupCollectionRepresentationSelect() {
|
|
|
300
300
|
]
|
|
301
301
|
};
|
|
302
302
|
};
|
|
303
|
-
function equals$
|
|
303
|
+
function equals$f(existing, incoming) {
|
|
304
304
|
const existing_publicGroupRepresentations = existing.publicGroupRepresentations;
|
|
305
305
|
const incoming_publicGroupRepresentations = incoming.publicGroupRepresentations;
|
|
306
306
|
const equals_publicGroupRepresentations_items = equalsArray(existing_publicGroupRepresentations, incoming_publicGroupRepresentations, (existing_publicGroupRepresentations_item, incoming_publicGroupRepresentations_item) => {
|
|
307
|
-
if (!(equals$
|
|
307
|
+
if (!(equals$h(existing_publicGroupRepresentations_item, incoming_publicGroupRepresentations_item))) {
|
|
308
308
|
return false;
|
|
309
309
|
}
|
|
310
310
|
});
|
|
@@ -314,7 +314,7 @@ function equals$e(existing, incoming) {
|
|
|
314
314
|
const existing_queueRepresentations = existing.queueRepresentations;
|
|
315
315
|
const incoming_queueRepresentations = incoming.queueRepresentations;
|
|
316
316
|
const equals_queueRepresentations_items = equalsArray(existing_queueRepresentations, incoming_queueRepresentations, (existing_queueRepresentations_item, incoming_queueRepresentations_item) => {
|
|
317
|
-
if (!(equals$
|
|
317
|
+
if (!(equals$g(existing_queueRepresentations_item, incoming_queueRepresentations_item))) {
|
|
318
318
|
return false;
|
|
319
319
|
}
|
|
320
320
|
});
|
|
@@ -325,14 +325,14 @@ function equals$e(existing, incoming) {
|
|
|
325
325
|
}
|
|
326
326
|
const ingest$4 = function GroupCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
327
327
|
if (process.env.NODE_ENV !== 'production') {
|
|
328
|
-
const validateError = validate$
|
|
328
|
+
const validateError = validate$f(input);
|
|
329
329
|
if (validateError !== null) {
|
|
330
330
|
throw validateError;
|
|
331
331
|
}
|
|
332
332
|
}
|
|
333
333
|
const key = path.fullPath;
|
|
334
334
|
const ttlToUse = TTL$4;
|
|
335
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "sharing", VERSION$
|
|
335
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "sharing", VERSION$f, RepresentationType$4, equals$f);
|
|
336
336
|
return createLink(key);
|
|
337
337
|
};
|
|
338
338
|
function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -345,8 +345,8 @@ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
345
345
|
});
|
|
346
346
|
}
|
|
347
347
|
|
|
348
|
-
function select$
|
|
349
|
-
return select$
|
|
348
|
+
function select$j(luvio, params) {
|
|
349
|
+
return select$k();
|
|
350
350
|
}
|
|
351
351
|
function keyBuilder$9(luvio, params) {
|
|
352
352
|
return keyPrefix + '::GroupCollectionRepresentation:(' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'sortBy:' + params.queryParams.sortBy + ',' + 'sortOrder:' + params.queryParams.sortOrder + ',' + 'groupType:' + params.urlParams.groupType + ',' + 'userId:' + params.urlParams.userId + ')';
|
|
@@ -360,7 +360,7 @@ function ingestSuccess$4(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
360
360
|
luvio.storeIngest(key, ingest$4, body);
|
|
361
361
|
const snapshot = luvio.storeLookup({
|
|
362
362
|
recordId: key,
|
|
363
|
-
node: select$
|
|
363
|
+
node: select$j(),
|
|
364
364
|
variables: {},
|
|
365
365
|
}, snapshotRefresh);
|
|
366
366
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -377,7 +377,7 @@ function ingestError$4(luvio, params, error, snapshotRefresh) {
|
|
|
377
377
|
const storeMetadataParams = {
|
|
378
378
|
ttl: TTL$4,
|
|
379
379
|
namespace: keyPrefix,
|
|
380
|
-
version: VERSION$
|
|
380
|
+
version: VERSION$f,
|
|
381
381
|
representationName: RepresentationType$4
|
|
382
382
|
};
|
|
383
383
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -432,7 +432,7 @@ function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
|
|
|
432
432
|
}
|
|
433
433
|
function adapterFragment$4(luvio, config) {
|
|
434
434
|
createResourceParams$4(config);
|
|
435
|
-
return select$
|
|
435
|
+
return select$j();
|
|
436
436
|
}
|
|
437
437
|
function onFetchResponseSuccess$4(luvio, config, resourceParams, response) {
|
|
438
438
|
const snapshot = ingestSuccess$4(luvio, resourceParams, response, {
|
|
@@ -488,8 +488,8 @@ const getGroupsForUserAdapterFactory = (luvio) => function sharing__getGroupsFor
|
|
|
488
488
|
buildCachedSnapshotCachePolicy$4, buildNetworkSnapshotCachePolicy$4);
|
|
489
489
|
};
|
|
490
490
|
|
|
491
|
-
const VERSION$
|
|
492
|
-
function validate$
|
|
491
|
+
const VERSION$e = "10400ecb443c1cd1f8fa280e9f89ded8";
|
|
492
|
+
function validate$e(obj, path = 'PublicGroupMembersInPublicGroupRepresentation') {
|
|
493
493
|
const v_error = (() => {
|
|
494
494
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
495
495
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -532,10 +532,10 @@ function validate$d(obj, path = 'PublicGroupMembersInPublicGroupRepresentation')
|
|
|
532
532
|
})();
|
|
533
533
|
return v_error === undefined ? null : v_error;
|
|
534
534
|
}
|
|
535
|
-
const select$
|
|
535
|
+
const select$i = function PublicGroupMembersInPublicGroupRepresentationSelect() {
|
|
536
536
|
return {
|
|
537
537
|
kind: 'Fragment',
|
|
538
|
-
version: VERSION$
|
|
538
|
+
version: VERSION$e,
|
|
539
539
|
private: [],
|
|
540
540
|
selections: [
|
|
541
541
|
{
|
|
@@ -569,7 +569,7 @@ const select$h = function PublicGroupMembersInPublicGroupRepresentationSelect()
|
|
|
569
569
|
]
|
|
570
570
|
};
|
|
571
571
|
};
|
|
572
|
-
function equals$
|
|
572
|
+
function equals$e(existing, incoming) {
|
|
573
573
|
const existing_includeBosses = existing.includeBosses;
|
|
574
574
|
const incoming_includeBosses = incoming.includeBosses;
|
|
575
575
|
if (!(existing_includeBosses === incoming_includeBosses)) {
|
|
@@ -608,8 +608,8 @@ function equals$d(existing, incoming) {
|
|
|
608
608
|
return true;
|
|
609
609
|
}
|
|
610
610
|
|
|
611
|
-
const VERSION$
|
|
612
|
-
function validate$
|
|
611
|
+
const VERSION$d = "23a331717bb19992d3c37b818fc7008a";
|
|
612
|
+
function validate$d(obj, path = 'RolesInGroupRepresentation') {
|
|
613
613
|
const v_error = (() => {
|
|
614
614
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
615
615
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -652,10 +652,10 @@ function validate$c(obj, path = 'RolesInGroupRepresentation') {
|
|
|
652
652
|
})();
|
|
653
653
|
return v_error === undefined ? null : v_error;
|
|
654
654
|
}
|
|
655
|
-
const select$
|
|
655
|
+
const select$h = function RolesInGroupRepresentationSelect() {
|
|
656
656
|
return {
|
|
657
657
|
kind: 'Fragment',
|
|
658
|
-
version: VERSION$
|
|
658
|
+
version: VERSION$d,
|
|
659
659
|
private: [],
|
|
660
660
|
selections: [
|
|
661
661
|
{
|
|
@@ -689,7 +689,7 @@ const select$g = function RolesInGroupRepresentationSelect() {
|
|
|
689
689
|
]
|
|
690
690
|
};
|
|
691
691
|
};
|
|
692
|
-
function equals$
|
|
692
|
+
function equals$d(existing, incoming) {
|
|
693
693
|
const existing_dataId = existing.dataId;
|
|
694
694
|
const incoming_dataId = incoming.dataId;
|
|
695
695
|
if (!(existing_dataId === incoming_dataId)) {
|
|
@@ -728,8 +728,8 @@ function equals$c(existing, incoming) {
|
|
|
728
728
|
return true;
|
|
729
729
|
}
|
|
730
730
|
|
|
731
|
-
const VERSION$
|
|
732
|
-
function validate$
|
|
731
|
+
const VERSION$c = "81212e87b01ada2a285c551aadcec218";
|
|
732
|
+
function validate$c(obj, path = 'UserMembersInPublicGroupRepresentation') {
|
|
733
733
|
const v_error = (() => {
|
|
734
734
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
735
735
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -777,10 +777,10 @@ function validate$b(obj, path = 'UserMembersInPublicGroupRepresentation') {
|
|
|
777
777
|
})();
|
|
778
778
|
return v_error === undefined ? null : v_error;
|
|
779
779
|
}
|
|
780
|
-
const select$
|
|
780
|
+
const select$g = function UserMembersInPublicGroupRepresentationSelect() {
|
|
781
781
|
return {
|
|
782
782
|
kind: 'Fragment',
|
|
783
|
-
version: VERSION$
|
|
783
|
+
version: VERSION$c,
|
|
784
784
|
private: [],
|
|
785
785
|
selections: [
|
|
786
786
|
{
|
|
@@ -818,7 +818,7 @@ const select$f = function UserMembersInPublicGroupRepresentationSelect() {
|
|
|
818
818
|
]
|
|
819
819
|
};
|
|
820
820
|
};
|
|
821
|
-
function equals$
|
|
821
|
+
function equals$c(existing, incoming) {
|
|
822
822
|
const existing_status = existing.status;
|
|
823
823
|
const incoming_status = incoming.status;
|
|
824
824
|
if (!(existing_status === incoming_status)) {
|
|
@@ -863,8 +863,8 @@ function equals$b(existing, incoming) {
|
|
|
863
863
|
}
|
|
864
864
|
|
|
865
865
|
const TTL$3 = 300;
|
|
866
|
-
const VERSION$
|
|
867
|
-
function validate$
|
|
866
|
+
const VERSION$b = "ff9b160e9ebbf564f9bbe3a7ee37cc16";
|
|
867
|
+
function validate$b(obj, path = 'PublicGroupMembershipDetailsRepresentation') {
|
|
868
868
|
const v_error = (() => {
|
|
869
869
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
870
870
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -882,7 +882,7 @@ function validate$a(obj, path = 'PublicGroupMembershipDetailsRepresentation') {
|
|
|
882
882
|
for (let i = 0; i < obj_listChannelPrograms.length; i++) {
|
|
883
883
|
const obj_listChannelPrograms_item = obj_listChannelPrograms[i];
|
|
884
884
|
const path_listChannelPrograms_item = path_listChannelPrograms + '[' + i + ']';
|
|
885
|
-
const referencepath_listChannelPrograms_itemValidationError = validate$
|
|
885
|
+
const referencepath_listChannelPrograms_itemValidationError = validate$e(obj_listChannelPrograms_item, path_listChannelPrograms_item);
|
|
886
886
|
if (referencepath_listChannelPrograms_itemValidationError !== null) {
|
|
887
887
|
let message = 'Object doesn\'t match PublicGroupMembersInPublicGroupRepresentation (at "' + path_listChannelPrograms_item + '")\n';
|
|
888
888
|
message += referencepath_listChannelPrograms_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -897,7 +897,7 @@ function validate$a(obj, path = 'PublicGroupMembershipDetailsRepresentation') {
|
|
|
897
897
|
for (let i = 0; i < obj_listPublicGroups.length; i++) {
|
|
898
898
|
const obj_listPublicGroups_item = obj_listPublicGroups[i];
|
|
899
899
|
const path_listPublicGroups_item = path_listPublicGroups + '[' + i + ']';
|
|
900
|
-
const referencepath_listPublicGroups_itemValidationError = validate$
|
|
900
|
+
const referencepath_listPublicGroups_itemValidationError = validate$e(obj_listPublicGroups_item, path_listPublicGroups_item);
|
|
901
901
|
if (referencepath_listPublicGroups_itemValidationError !== null) {
|
|
902
902
|
let message = 'Object doesn\'t match PublicGroupMembersInPublicGroupRepresentation (at "' + path_listPublicGroups_item + '")\n';
|
|
903
903
|
message += referencepath_listPublicGroups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -912,7 +912,7 @@ function validate$a(obj, path = 'PublicGroupMembershipDetailsRepresentation') {
|
|
|
912
912
|
for (let i = 0; i < obj_listRoles.length; i++) {
|
|
913
913
|
const obj_listRoles_item = obj_listRoles[i];
|
|
914
914
|
const path_listRoles_item = path_listRoles + '[' + i + ']';
|
|
915
|
-
const referencepath_listRoles_itemValidationError = validate$
|
|
915
|
+
const referencepath_listRoles_itemValidationError = validate$d(obj_listRoles_item, path_listRoles_item);
|
|
916
916
|
if (referencepath_listRoles_itemValidationError !== null) {
|
|
917
917
|
let message = 'Object doesn\'t match RolesInGroupRepresentation (at "' + path_listRoles_item + '")\n';
|
|
918
918
|
message += referencepath_listRoles_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -927,7 +927,7 @@ function validate$a(obj, path = 'PublicGroupMembershipDetailsRepresentation') {
|
|
|
927
927
|
for (let i = 0; i < obj_listRolesAndInternalSubordinates.length; i++) {
|
|
928
928
|
const obj_listRolesAndInternalSubordinates_item = obj_listRolesAndInternalSubordinates[i];
|
|
929
929
|
const path_listRolesAndInternalSubordinates_item = path_listRolesAndInternalSubordinates + '[' + i + ']';
|
|
930
|
-
const referencepath_listRolesAndInternalSubordinates_itemValidationError = validate$
|
|
930
|
+
const referencepath_listRolesAndInternalSubordinates_itemValidationError = validate$d(obj_listRolesAndInternalSubordinates_item, path_listRolesAndInternalSubordinates_item);
|
|
931
931
|
if (referencepath_listRolesAndInternalSubordinates_itemValidationError !== null) {
|
|
932
932
|
let message = 'Object doesn\'t match RolesInGroupRepresentation (at "' + path_listRolesAndInternalSubordinates_item + '")\n';
|
|
933
933
|
message += referencepath_listRolesAndInternalSubordinates_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -942,7 +942,7 @@ function validate$a(obj, path = 'PublicGroupMembershipDetailsRepresentation') {
|
|
|
942
942
|
for (let i = 0; i < obj_listRolesInternalAndPortalSubordinates.length; i++) {
|
|
943
943
|
const obj_listRolesInternalAndPortalSubordinates_item = obj_listRolesInternalAndPortalSubordinates[i];
|
|
944
944
|
const path_listRolesInternalAndPortalSubordinates_item = path_listRolesInternalAndPortalSubordinates + '[' + i + ']';
|
|
945
|
-
const referencepath_listRolesInternalAndPortalSubordinates_itemValidationError = validate$
|
|
945
|
+
const referencepath_listRolesInternalAndPortalSubordinates_itemValidationError = validate$d(obj_listRolesInternalAndPortalSubordinates_item, path_listRolesInternalAndPortalSubordinates_item);
|
|
946
946
|
if (referencepath_listRolesInternalAndPortalSubordinates_itemValidationError !== null) {
|
|
947
947
|
let message = 'Object doesn\'t match RolesInGroupRepresentation (at "' + path_listRolesInternalAndPortalSubordinates_item + '")\n';
|
|
948
948
|
message += referencepath_listRolesInternalAndPortalSubordinates_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -957,7 +957,7 @@ function validate$a(obj, path = 'PublicGroupMembershipDetailsRepresentation') {
|
|
|
957
957
|
for (let i = 0; i < obj_listTerritories.length; i++) {
|
|
958
958
|
const obj_listTerritories_item = obj_listTerritories[i];
|
|
959
959
|
const path_listTerritories_item = path_listTerritories + '[' + i + ']';
|
|
960
|
-
const referencepath_listTerritories_itemValidationError = validate$
|
|
960
|
+
const referencepath_listTerritories_itemValidationError = validate$d(obj_listTerritories_item, path_listTerritories_item);
|
|
961
961
|
if (referencepath_listTerritories_itemValidationError !== null) {
|
|
962
962
|
let message = 'Object doesn\'t match RolesInGroupRepresentation (at "' + path_listTerritories_item + '")\n';
|
|
963
963
|
message += referencepath_listTerritories_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -972,7 +972,7 @@ function validate$a(obj, path = 'PublicGroupMembershipDetailsRepresentation') {
|
|
|
972
972
|
for (let i = 0; i < obj_listUsers.length; i++) {
|
|
973
973
|
const obj_listUsers_item = obj_listUsers[i];
|
|
974
974
|
const path_listUsers_item = path_listUsers + '[' + i + ']';
|
|
975
|
-
const referencepath_listUsers_itemValidationError = validate$
|
|
975
|
+
const referencepath_listUsers_itemValidationError = validate$c(obj_listUsers_item, path_listUsers_item);
|
|
976
976
|
if (referencepath_listUsers_itemValidationError !== null) {
|
|
977
977
|
let message = 'Object doesn\'t match UserMembersInPublicGroupRepresentation (at "' + path_listUsers_item + '")\n';
|
|
978
978
|
message += referencepath_listUsers_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -986,13 +986,13 @@ const RepresentationType$3 = 'PublicGroupMembershipDetailsRepresentation';
|
|
|
986
986
|
function normalize$3(input, existing, path, luvio, store, timestamp) {
|
|
987
987
|
return input;
|
|
988
988
|
}
|
|
989
|
-
const select$
|
|
990
|
-
const { selections: PublicGroupMembersInPublicGroupRepresentation__selections, opaque: PublicGroupMembersInPublicGroupRepresentation__opaque, } = select$
|
|
991
|
-
const { selections: RolesInGroupRepresentation__selections, opaque: RolesInGroupRepresentation__opaque, } = select$
|
|
992
|
-
const { selections: UserMembersInPublicGroupRepresentation__selections, opaque: UserMembersInPublicGroupRepresentation__opaque, } = select$
|
|
989
|
+
const select$f = function PublicGroupMembershipDetailsRepresentationSelect() {
|
|
990
|
+
const { selections: PublicGroupMembersInPublicGroupRepresentation__selections, opaque: PublicGroupMembersInPublicGroupRepresentation__opaque, } = select$i();
|
|
991
|
+
const { selections: RolesInGroupRepresentation__selections, opaque: RolesInGroupRepresentation__opaque, } = select$h();
|
|
992
|
+
const { selections: UserMembersInPublicGroupRepresentation__selections, opaque: UserMembersInPublicGroupRepresentation__opaque, } = select$g();
|
|
993
993
|
return {
|
|
994
994
|
kind: 'Fragment',
|
|
995
|
-
version: VERSION$
|
|
995
|
+
version: VERSION$b,
|
|
996
996
|
private: [],
|
|
997
997
|
selections: [
|
|
998
998
|
{
|
|
@@ -1044,7 +1044,7 @@ const select$e = function PublicGroupMembershipDetailsRepresentationSelect() {
|
|
|
1044
1044
|
]
|
|
1045
1045
|
};
|
|
1046
1046
|
};
|
|
1047
|
-
function equals$
|
|
1047
|
+
function equals$b(existing, incoming) {
|
|
1048
1048
|
const existing_isMember = existing.isMember;
|
|
1049
1049
|
const incoming_isMember = incoming.isMember;
|
|
1050
1050
|
if (!(existing_isMember === incoming_isMember)) {
|
|
@@ -1053,7 +1053,7 @@ function equals$a(existing, incoming) {
|
|
|
1053
1053
|
const existing_listChannelPrograms = existing.listChannelPrograms;
|
|
1054
1054
|
const incoming_listChannelPrograms = incoming.listChannelPrograms;
|
|
1055
1055
|
const equals_listChannelPrograms_items = equalsArray(existing_listChannelPrograms, incoming_listChannelPrograms, (existing_listChannelPrograms_item, incoming_listChannelPrograms_item) => {
|
|
1056
|
-
if (!(equals$
|
|
1056
|
+
if (!(equals$e(existing_listChannelPrograms_item, incoming_listChannelPrograms_item))) {
|
|
1057
1057
|
return false;
|
|
1058
1058
|
}
|
|
1059
1059
|
});
|
|
@@ -1063,7 +1063,7 @@ function equals$a(existing, incoming) {
|
|
|
1063
1063
|
const existing_listPublicGroups = existing.listPublicGroups;
|
|
1064
1064
|
const incoming_listPublicGroups = incoming.listPublicGroups;
|
|
1065
1065
|
const equals_listPublicGroups_items = equalsArray(existing_listPublicGroups, incoming_listPublicGroups, (existing_listPublicGroups_item, incoming_listPublicGroups_item) => {
|
|
1066
|
-
if (!(equals$
|
|
1066
|
+
if (!(equals$e(existing_listPublicGroups_item, incoming_listPublicGroups_item))) {
|
|
1067
1067
|
return false;
|
|
1068
1068
|
}
|
|
1069
1069
|
});
|
|
@@ -1073,7 +1073,7 @@ function equals$a(existing, incoming) {
|
|
|
1073
1073
|
const existing_listRoles = existing.listRoles;
|
|
1074
1074
|
const incoming_listRoles = incoming.listRoles;
|
|
1075
1075
|
const equals_listRoles_items = equalsArray(existing_listRoles, incoming_listRoles, (existing_listRoles_item, incoming_listRoles_item) => {
|
|
1076
|
-
if (!(equals$
|
|
1076
|
+
if (!(equals$d(existing_listRoles_item, incoming_listRoles_item))) {
|
|
1077
1077
|
return false;
|
|
1078
1078
|
}
|
|
1079
1079
|
});
|
|
@@ -1083,7 +1083,7 @@ function equals$a(existing, incoming) {
|
|
|
1083
1083
|
const existing_listRolesAndInternalSubordinates = existing.listRolesAndInternalSubordinates;
|
|
1084
1084
|
const incoming_listRolesAndInternalSubordinates = incoming.listRolesAndInternalSubordinates;
|
|
1085
1085
|
const equals_listRolesAndInternalSubordinates_items = equalsArray(existing_listRolesAndInternalSubordinates, incoming_listRolesAndInternalSubordinates, (existing_listRolesAndInternalSubordinates_item, incoming_listRolesAndInternalSubordinates_item) => {
|
|
1086
|
-
if (!(equals$
|
|
1086
|
+
if (!(equals$d(existing_listRolesAndInternalSubordinates_item, incoming_listRolesAndInternalSubordinates_item))) {
|
|
1087
1087
|
return false;
|
|
1088
1088
|
}
|
|
1089
1089
|
});
|
|
@@ -1093,7 +1093,7 @@ function equals$a(existing, incoming) {
|
|
|
1093
1093
|
const existing_listRolesInternalAndPortalSubordinates = existing.listRolesInternalAndPortalSubordinates;
|
|
1094
1094
|
const incoming_listRolesInternalAndPortalSubordinates = incoming.listRolesInternalAndPortalSubordinates;
|
|
1095
1095
|
const equals_listRolesInternalAndPortalSubordinates_items = equalsArray(existing_listRolesInternalAndPortalSubordinates, incoming_listRolesInternalAndPortalSubordinates, (existing_listRolesInternalAndPortalSubordinates_item, incoming_listRolesInternalAndPortalSubordinates_item) => {
|
|
1096
|
-
if (!(equals$
|
|
1096
|
+
if (!(equals$d(existing_listRolesInternalAndPortalSubordinates_item, incoming_listRolesInternalAndPortalSubordinates_item))) {
|
|
1097
1097
|
return false;
|
|
1098
1098
|
}
|
|
1099
1099
|
});
|
|
@@ -1103,7 +1103,7 @@ function equals$a(existing, incoming) {
|
|
|
1103
1103
|
const existing_listTerritories = existing.listTerritories;
|
|
1104
1104
|
const incoming_listTerritories = incoming.listTerritories;
|
|
1105
1105
|
const equals_listTerritories_items = equalsArray(existing_listTerritories, incoming_listTerritories, (existing_listTerritories_item, incoming_listTerritories_item) => {
|
|
1106
|
-
if (!(equals$
|
|
1106
|
+
if (!(equals$d(existing_listTerritories_item, incoming_listTerritories_item))) {
|
|
1107
1107
|
return false;
|
|
1108
1108
|
}
|
|
1109
1109
|
});
|
|
@@ -1113,7 +1113,7 @@ function equals$a(existing, incoming) {
|
|
|
1113
1113
|
const existing_listUsers = existing.listUsers;
|
|
1114
1114
|
const incoming_listUsers = incoming.listUsers;
|
|
1115
1115
|
const equals_listUsers_items = equalsArray(existing_listUsers, incoming_listUsers, (existing_listUsers_item, incoming_listUsers_item) => {
|
|
1116
|
-
if (!(equals$
|
|
1116
|
+
if (!(equals$c(existing_listUsers_item, incoming_listUsers_item))) {
|
|
1117
1117
|
return false;
|
|
1118
1118
|
}
|
|
1119
1119
|
});
|
|
@@ -1124,14 +1124,14 @@ function equals$a(existing, incoming) {
|
|
|
1124
1124
|
}
|
|
1125
1125
|
const ingest$3 = function PublicGroupMembershipDetailsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1126
1126
|
if (process.env.NODE_ENV !== 'production') {
|
|
1127
|
-
const validateError = validate$
|
|
1127
|
+
const validateError = validate$b(input);
|
|
1128
1128
|
if (validateError !== null) {
|
|
1129
1129
|
throw validateError;
|
|
1130
1130
|
}
|
|
1131
1131
|
}
|
|
1132
1132
|
const key = path.fullPath;
|
|
1133
1133
|
const ttlToUse = TTL$3;
|
|
1134
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "sharing", VERSION$
|
|
1134
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "sharing", VERSION$b, RepresentationType$3, equals$b);
|
|
1135
1135
|
return createLink(key);
|
|
1136
1136
|
};
|
|
1137
1137
|
function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1144,8 +1144,8 @@ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1144
1144
|
});
|
|
1145
1145
|
}
|
|
1146
1146
|
|
|
1147
|
-
function select$
|
|
1148
|
-
return select$
|
|
1147
|
+
function select$e(luvio, params) {
|
|
1148
|
+
return select$f();
|
|
1149
1149
|
}
|
|
1150
1150
|
function keyBuilder$7(luvio, params) {
|
|
1151
1151
|
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 + ')';
|
|
@@ -1159,7 +1159,7 @@ function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
1159
1159
|
luvio.storeIngest(key, ingest$3, body);
|
|
1160
1160
|
const snapshot = luvio.storeLookup({
|
|
1161
1161
|
recordId: key,
|
|
1162
|
-
node: select$
|
|
1162
|
+
node: select$e(),
|
|
1163
1163
|
variables: {},
|
|
1164
1164
|
}, snapshotRefresh);
|
|
1165
1165
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -1176,7 +1176,7 @@ function ingestError$3(luvio, params, error, snapshotRefresh) {
|
|
|
1176
1176
|
const storeMetadataParams = {
|
|
1177
1177
|
ttl: TTL$3,
|
|
1178
1178
|
namespace: keyPrefix,
|
|
1179
|
-
version: VERSION$
|
|
1179
|
+
version: VERSION$b,
|
|
1180
1180
|
representationName: RepresentationType$3
|
|
1181
1181
|
};
|
|
1182
1182
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -1235,7 +1235,7 @@ function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
|
|
|
1235
1235
|
}
|
|
1236
1236
|
function adapterFragment$3(luvio, config) {
|
|
1237
1237
|
createResourceParams$3(config);
|
|
1238
|
-
return select$
|
|
1238
|
+
return select$e();
|
|
1239
1239
|
}
|
|
1240
1240
|
function onFetchResponseSuccess$3(luvio, config, resourceParams, response) {
|
|
1241
1241
|
const snapshot = ingestSuccess$3(luvio, resourceParams, response, {
|
|
@@ -1291,8 +1291,8 @@ const getPublicGroupMembershipDetailsAdapterFactory = (luvio) => function sharin
|
|
|
1291
1291
|
buildCachedSnapshotCachePolicy$3, buildNetworkSnapshotCachePolicy$3);
|
|
1292
1292
|
};
|
|
1293
1293
|
|
|
1294
|
-
const VERSION$
|
|
1295
|
-
function validate$
|
|
1294
|
+
const VERSION$a = "11e587d0bd769c0df33d7cce4eb7210d";
|
|
1295
|
+
function validate$a(obj, path = 'IncludedGroupsSharingRepresentation') {
|
|
1296
1296
|
const v_error = (() => {
|
|
1297
1297
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1298
1298
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1325,10 +1325,10 @@ function validate$9(obj, path = 'IncludedGroupsSharingRepresentation') {
|
|
|
1325
1325
|
})();
|
|
1326
1326
|
return v_error === undefined ? null : v_error;
|
|
1327
1327
|
}
|
|
1328
|
-
const select$
|
|
1328
|
+
const select$d = function IncludedGroupsSharingRepresentationSelect() {
|
|
1329
1329
|
return {
|
|
1330
1330
|
kind: 'Fragment',
|
|
1331
|
-
version: VERSION$
|
|
1331
|
+
version: VERSION$a,
|
|
1332
1332
|
private: [],
|
|
1333
1333
|
selections: [
|
|
1334
1334
|
{
|
|
@@ -1354,7 +1354,7 @@ const select$c = function IncludedGroupsSharingRepresentationSelect() {
|
|
|
1354
1354
|
]
|
|
1355
1355
|
};
|
|
1356
1356
|
};
|
|
1357
|
-
function equals$
|
|
1357
|
+
function equals$a(existing, incoming) {
|
|
1358
1358
|
const existing_grantAccessHierarchies = existing.grantAccessHierarchies;
|
|
1359
1359
|
const incoming_grantAccessHierarchies = incoming.grantAccessHierarchies;
|
|
1360
1360
|
if (!(existing_grantAccessHierarchies === incoming_grantAccessHierarchies)) {
|
|
@@ -1383,8 +1383,8 @@ function equals$9(existing, incoming) {
|
|
|
1383
1383
|
return true;
|
|
1384
1384
|
}
|
|
1385
1385
|
|
|
1386
|
-
const VERSION$
|
|
1387
|
-
function validate$
|
|
1386
|
+
const VERSION$9 = "06eef993be289c8b20b37b2ae6f4c5ee";
|
|
1387
|
+
function validate$9(obj, path = 'ListViewGroupSharingRepresentation') {
|
|
1388
1388
|
const v_error = (() => {
|
|
1389
1389
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1390
1390
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1402,7 +1402,67 @@ function validate$8(obj, path = 'ListViewGroupSharingRepresentation') {
|
|
|
1402
1402
|
})();
|
|
1403
1403
|
return v_error === undefined ? null : v_error;
|
|
1404
1404
|
}
|
|
1405
|
-
const select$
|
|
1405
|
+
const select$c = function ListViewGroupSharingRepresentationSelect() {
|
|
1406
|
+
return {
|
|
1407
|
+
kind: 'Fragment',
|
|
1408
|
+
version: VERSION$9,
|
|
1409
|
+
private: [],
|
|
1410
|
+
selections: [
|
|
1411
|
+
{
|
|
1412
|
+
name: 'developerName',
|
|
1413
|
+
kind: 'Scalar'
|
|
1414
|
+
},
|
|
1415
|
+
{
|
|
1416
|
+
name: 'label',
|
|
1417
|
+
kind: 'Scalar'
|
|
1418
|
+
}
|
|
1419
|
+
]
|
|
1420
|
+
};
|
|
1421
|
+
};
|
|
1422
|
+
function equals$9(existing, incoming) {
|
|
1423
|
+
const existing_developerName = existing.developerName;
|
|
1424
|
+
const incoming_developerName = incoming.developerName;
|
|
1425
|
+
if (!(existing_developerName === incoming_developerName)) {
|
|
1426
|
+
return false;
|
|
1427
|
+
}
|
|
1428
|
+
const existing_label = existing.label;
|
|
1429
|
+
const incoming_label = incoming.label;
|
|
1430
|
+
if (!(existing_label === incoming_label)) {
|
|
1431
|
+
return false;
|
|
1432
|
+
}
|
|
1433
|
+
return true;
|
|
1434
|
+
}
|
|
1435
|
+
|
|
1436
|
+
const VERSION$8 = "07fe7eab011def0e046285b2d5c9d774";
|
|
1437
|
+
function validate$8(obj, path = 'QueuesSharingRepresentation') {
|
|
1438
|
+
const v_error = (() => {
|
|
1439
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1440
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1441
|
+
}
|
|
1442
|
+
const obj_developerName = obj.developerName;
|
|
1443
|
+
const path_developerName = path + '.developerName';
|
|
1444
|
+
if (typeof obj_developerName !== 'string') {
|
|
1445
|
+
return new TypeError('Expected "string" but received "' + typeof obj_developerName + '" (at "' + path_developerName + '")');
|
|
1446
|
+
}
|
|
1447
|
+
const obj_email = obj.email;
|
|
1448
|
+
const path_email = path + '.email';
|
|
1449
|
+
if (typeof obj_email !== 'string') {
|
|
1450
|
+
return new TypeError('Expected "string" but received "' + typeof obj_email + '" (at "' + path_email + '")');
|
|
1451
|
+
}
|
|
1452
|
+
const obj_label = obj.label;
|
|
1453
|
+
const path_label = path + '.label';
|
|
1454
|
+
if (typeof obj_label !== 'string') {
|
|
1455
|
+
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
1456
|
+
}
|
|
1457
|
+
const obj_supportedObjects = obj.supportedObjects;
|
|
1458
|
+
const path_supportedObjects = path + '.supportedObjects';
|
|
1459
|
+
if (typeof obj_supportedObjects !== 'string') {
|
|
1460
|
+
return new TypeError('Expected "string" but received "' + typeof obj_supportedObjects + '" (at "' + path_supportedObjects + '")');
|
|
1461
|
+
}
|
|
1462
|
+
})();
|
|
1463
|
+
return v_error === undefined ? null : v_error;
|
|
1464
|
+
}
|
|
1465
|
+
const select$b = function QueuesSharingRepresentationSelect() {
|
|
1406
1466
|
return {
|
|
1407
1467
|
kind: 'Fragment',
|
|
1408
1468
|
version: VERSION$8,
|
|
@@ -1412,9 +1472,17 @@ const select$b = function ListViewGroupSharingRepresentationSelect() {
|
|
|
1412
1472
|
name: 'developerName',
|
|
1413
1473
|
kind: 'Scalar'
|
|
1414
1474
|
},
|
|
1475
|
+
{
|
|
1476
|
+
name: 'email',
|
|
1477
|
+
kind: 'Scalar'
|
|
1478
|
+
},
|
|
1415
1479
|
{
|
|
1416
1480
|
name: 'label',
|
|
1417
1481
|
kind: 'Scalar'
|
|
1482
|
+
},
|
|
1483
|
+
{
|
|
1484
|
+
name: 'supportedObjects',
|
|
1485
|
+
kind: 'Scalar'
|
|
1418
1486
|
}
|
|
1419
1487
|
]
|
|
1420
1488
|
};
|
|
@@ -1425,11 +1493,21 @@ function equals$8(existing, incoming) {
|
|
|
1425
1493
|
if (!(existing_developerName === incoming_developerName)) {
|
|
1426
1494
|
return false;
|
|
1427
1495
|
}
|
|
1496
|
+
const existing_email = existing.email;
|
|
1497
|
+
const incoming_email = incoming.email;
|
|
1498
|
+
if (!(existing_email === incoming_email)) {
|
|
1499
|
+
return false;
|
|
1500
|
+
}
|
|
1428
1501
|
const existing_label = existing.label;
|
|
1429
1502
|
const incoming_label = incoming.label;
|
|
1430
1503
|
if (!(existing_label === incoming_label)) {
|
|
1431
1504
|
return false;
|
|
1432
1505
|
}
|
|
1506
|
+
const existing_supportedObjects = existing.supportedObjects;
|
|
1507
|
+
const incoming_supportedObjects = incoming.supportedObjects;
|
|
1508
|
+
if (!(existing_supportedObjects === incoming_supportedObjects)) {
|
|
1509
|
+
return false;
|
|
1510
|
+
}
|
|
1433
1511
|
return true;
|
|
1434
1512
|
}
|
|
1435
1513
|
|
|
@@ -1696,7 +1774,7 @@ function equals$5(existing, incoming) {
|
|
|
1696
1774
|
}
|
|
1697
1775
|
|
|
1698
1776
|
const TTL$2 = 300;
|
|
1699
|
-
const VERSION$4 = "
|
|
1777
|
+
const VERSION$4 = "15c900aaeff3e74e7f57fc5b1e879cea";
|
|
1700
1778
|
function validate$4(obj, path = 'PublicGroupSummaryRepresentation') {
|
|
1701
1779
|
const v_error = (() => {
|
|
1702
1780
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1710,7 +1788,7 @@ function validate$4(obj, path = 'PublicGroupSummaryRepresentation') {
|
|
|
1710
1788
|
for (let i = 0; i < obj_includedGroupsSharing.length; i++) {
|
|
1711
1789
|
const obj_includedGroupsSharing_item = obj_includedGroupsSharing[i];
|
|
1712
1790
|
const path_includedGroupsSharing_item = path_includedGroupsSharing + '[' + i + ']';
|
|
1713
|
-
const referencepath_includedGroupsSharing_itemValidationError = validate$
|
|
1791
|
+
const referencepath_includedGroupsSharing_itemValidationError = validate$a(obj_includedGroupsSharing_item, path_includedGroupsSharing_item);
|
|
1714
1792
|
if (referencepath_includedGroupsSharing_itemValidationError !== null) {
|
|
1715
1793
|
let message = 'Object doesn\'t match IncludedGroupsSharingRepresentation (at "' + path_includedGroupsSharing_item + '")\n';
|
|
1716
1794
|
message += referencepath_includedGroupsSharing_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1725,13 +1803,28 @@ function validate$4(obj, path = 'PublicGroupSummaryRepresentation') {
|
|
|
1725
1803
|
for (let i = 0; i < obj_listViewGroupSharing.length; i++) {
|
|
1726
1804
|
const obj_listViewGroupSharing_item = obj_listViewGroupSharing[i];
|
|
1727
1805
|
const path_listViewGroupSharing_item = path_listViewGroupSharing + '[' + i + ']';
|
|
1728
|
-
const referencepath_listViewGroupSharing_itemValidationError = validate$
|
|
1806
|
+
const referencepath_listViewGroupSharing_itemValidationError = validate$9(obj_listViewGroupSharing_item, path_listViewGroupSharing_item);
|
|
1729
1807
|
if (referencepath_listViewGroupSharing_itemValidationError !== null) {
|
|
1730
1808
|
let message = 'Object doesn\'t match ListViewGroupSharingRepresentation (at "' + path_listViewGroupSharing_item + '")\n';
|
|
1731
1809
|
message += referencepath_listViewGroupSharing_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1732
1810
|
return new TypeError(message);
|
|
1733
1811
|
}
|
|
1734
1812
|
}
|
|
1813
|
+
const obj_queuesSharing = obj.queuesSharing;
|
|
1814
|
+
const path_queuesSharing = path + '.queuesSharing';
|
|
1815
|
+
if (!ArrayIsArray(obj_queuesSharing)) {
|
|
1816
|
+
return new TypeError('Expected "array" but received "' + typeof obj_queuesSharing + '" (at "' + path_queuesSharing + '")');
|
|
1817
|
+
}
|
|
1818
|
+
for (let i = 0; i < obj_queuesSharing.length; i++) {
|
|
1819
|
+
const obj_queuesSharing_item = obj_queuesSharing[i];
|
|
1820
|
+
const path_queuesSharing_item = path_queuesSharing + '[' + i + ']';
|
|
1821
|
+
const referencepath_queuesSharing_itemValidationError = validate$8(obj_queuesSharing_item, path_queuesSharing_item);
|
|
1822
|
+
if (referencepath_queuesSharing_itemValidationError !== null) {
|
|
1823
|
+
let message = 'Object doesn\'t match QueuesSharingRepresentation (at "' + path_queuesSharing_item + '")\n';
|
|
1824
|
+
message += referencepath_queuesSharing_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1825
|
+
return new TypeError(message);
|
|
1826
|
+
}
|
|
1827
|
+
}
|
|
1735
1828
|
const obj_reportAndDashboardFolderGroupSharing = obj.reportAndDashboardFolderGroupSharing;
|
|
1736
1829
|
const path_reportAndDashboardFolderGroupSharing = path + '.reportAndDashboardFolderGroupSharing';
|
|
1737
1830
|
if (!ArrayIsArray(obj_reportAndDashboardFolderGroupSharing)) {
|
|
@@ -1785,8 +1878,9 @@ function normalize$2(input, existing, path, luvio, store, timestamp) {
|
|
|
1785
1878
|
return input;
|
|
1786
1879
|
}
|
|
1787
1880
|
const select$7 = function PublicGroupSummaryRepresentationSelect() {
|
|
1788
|
-
const { selections: IncludedGroupsSharingRepresentation__selections, opaque: IncludedGroupsSharingRepresentation__opaque, } = select$
|
|
1789
|
-
const { selections: ListViewGroupSharingRepresentation__selections, opaque: ListViewGroupSharingRepresentation__opaque, } = select$
|
|
1881
|
+
const { selections: IncludedGroupsSharingRepresentation__selections, opaque: IncludedGroupsSharingRepresentation__opaque, } = select$d();
|
|
1882
|
+
const { selections: ListViewGroupSharingRepresentation__selections, opaque: ListViewGroupSharingRepresentation__opaque, } = select$c();
|
|
1883
|
+
const { selections: QueuesSharingRepresentation__selections, opaque: QueuesSharingRepresentation__opaque, } = select$b();
|
|
1790
1884
|
const { selections: ReportAndDashboardFolderGroupSharingRepresentation__selections, opaque: ReportAndDashboardFolderGroupSharingRepresentation__opaque, } = select$a();
|
|
1791
1885
|
const { selections: SharingRulesCriteriaGroupSharingRepresentation__selections, opaque: SharingRulesCriteriaGroupSharingRepresentation__opaque, } = select$9();
|
|
1792
1886
|
const { selections: SharingRulesOwnerGroupSharingRepresentation__selections, opaque: SharingRulesOwnerGroupSharingRepresentation__opaque, } = select$8();
|
|
@@ -1807,6 +1901,12 @@ const select$7 = function PublicGroupSummaryRepresentationSelect() {
|
|
|
1807
1901
|
plural: true,
|
|
1808
1902
|
selections: ListViewGroupSharingRepresentation__selections
|
|
1809
1903
|
},
|
|
1904
|
+
{
|
|
1905
|
+
name: 'queuesSharing',
|
|
1906
|
+
kind: 'Object',
|
|
1907
|
+
plural: true,
|
|
1908
|
+
selections: QueuesSharingRepresentation__selections
|
|
1909
|
+
},
|
|
1810
1910
|
{
|
|
1811
1911
|
name: 'reportAndDashboardFolderGroupSharing',
|
|
1812
1912
|
kind: 'Object',
|
|
@@ -1832,7 +1932,7 @@ function equals$4(existing, incoming) {
|
|
|
1832
1932
|
const existing_includedGroupsSharing = existing.includedGroupsSharing;
|
|
1833
1933
|
const incoming_includedGroupsSharing = incoming.includedGroupsSharing;
|
|
1834
1934
|
const equals_includedGroupsSharing_items = equalsArray(existing_includedGroupsSharing, incoming_includedGroupsSharing, (existing_includedGroupsSharing_item, incoming_includedGroupsSharing_item) => {
|
|
1835
|
-
if (!(equals$
|
|
1935
|
+
if (!(equals$a(existing_includedGroupsSharing_item, incoming_includedGroupsSharing_item))) {
|
|
1836
1936
|
return false;
|
|
1837
1937
|
}
|
|
1838
1938
|
});
|
|
@@ -1842,13 +1942,23 @@ function equals$4(existing, incoming) {
|
|
|
1842
1942
|
const existing_listViewGroupSharing = existing.listViewGroupSharing;
|
|
1843
1943
|
const incoming_listViewGroupSharing = incoming.listViewGroupSharing;
|
|
1844
1944
|
const equals_listViewGroupSharing_items = equalsArray(existing_listViewGroupSharing, incoming_listViewGroupSharing, (existing_listViewGroupSharing_item, incoming_listViewGroupSharing_item) => {
|
|
1845
|
-
if (!(equals$
|
|
1945
|
+
if (!(equals$9(existing_listViewGroupSharing_item, incoming_listViewGroupSharing_item))) {
|
|
1846
1946
|
return false;
|
|
1847
1947
|
}
|
|
1848
1948
|
});
|
|
1849
1949
|
if (equals_listViewGroupSharing_items === false) {
|
|
1850
1950
|
return false;
|
|
1851
1951
|
}
|
|
1952
|
+
const existing_queuesSharing = existing.queuesSharing;
|
|
1953
|
+
const incoming_queuesSharing = incoming.queuesSharing;
|
|
1954
|
+
const equals_queuesSharing_items = equalsArray(existing_queuesSharing, incoming_queuesSharing, (existing_queuesSharing_item, incoming_queuesSharing_item) => {
|
|
1955
|
+
if (!(equals$8(existing_queuesSharing_item, incoming_queuesSharing_item))) {
|
|
1956
|
+
return false;
|
|
1957
|
+
}
|
|
1958
|
+
});
|
|
1959
|
+
if (equals_queuesSharing_items === false) {
|
|
1960
|
+
return false;
|
|
1961
|
+
}
|
|
1852
1962
|
const existing_reportAndDashboardFolderGroupSharing = existing.reportAndDashboardFolderGroupSharing;
|
|
1853
1963
|
const incoming_reportAndDashboardFolderGroupSharing = incoming.reportAndDashboardFolderGroupSharing;
|
|
1854
1964
|
const equals_reportAndDashboardFolderGroupSharing_items = equalsArray(existing_reportAndDashboardFolderGroupSharing, incoming_reportAndDashboardFolderGroupSharing, (existing_reportAndDashboardFolderGroupSharing_item, incoming_reportAndDashboardFolderGroupSharing_item) => {
|