@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
package/sfdc/index.js
CHANGED
|
@@ -101,8 +101,8 @@ function createLink(ref) {
|
|
|
101
101
|
};
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
const VERSION$
|
|
105
|
-
function validate$
|
|
104
|
+
const VERSION$h = "8f1b312aa04c8869624b95b9e3f3cd4e";
|
|
105
|
+
function validate$h(obj, path = 'SobjectOutputSharingRepresentation') {
|
|
106
106
|
const v_error = (() => {
|
|
107
107
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
108
108
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -130,10 +130,10 @@ function validate$g(obj, path = 'SobjectOutputSharingRepresentation') {
|
|
|
130
130
|
})();
|
|
131
131
|
return v_error === undefined ? null : v_error;
|
|
132
132
|
}
|
|
133
|
-
const select$
|
|
133
|
+
const select$m = function SobjectOutputSharingRepresentationSelect() {
|
|
134
134
|
return {
|
|
135
135
|
kind: 'Fragment',
|
|
136
|
-
version: VERSION$
|
|
136
|
+
version: VERSION$h,
|
|
137
137
|
private: [],
|
|
138
138
|
selections: [
|
|
139
139
|
{
|
|
@@ -155,7 +155,7 @@ const select$l = function SobjectOutputSharingRepresentationSelect() {
|
|
|
155
155
|
]
|
|
156
156
|
};
|
|
157
157
|
};
|
|
158
|
-
function equals$
|
|
158
|
+
function equals$h(existing, incoming) {
|
|
159
159
|
const existing_apiName = existing.apiName;
|
|
160
160
|
const incoming_apiName = incoming.apiName;
|
|
161
161
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -180,8 +180,8 @@ function equals$g(existing, incoming) {
|
|
|
180
180
|
}
|
|
181
181
|
|
|
182
182
|
const TTL$4 = 900000;
|
|
183
|
-
const VERSION$
|
|
184
|
-
function validate$
|
|
183
|
+
const VERSION$g = "891459dfe3e992adddad156c898d3aef";
|
|
184
|
+
function validate$g(obj, path = 'SobjectsOutputSharingRepresentation') {
|
|
185
185
|
const v_error = (() => {
|
|
186
186
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
187
187
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -199,7 +199,7 @@ function validate$f(obj, path = 'SobjectsOutputSharingRepresentation') {
|
|
|
199
199
|
for (let i = 0; i < obj_sobjects.length; i++) {
|
|
200
200
|
const obj_sobjects_item = obj_sobjects[i];
|
|
201
201
|
const path_sobjects_item = path_sobjects + '[' + i + ']';
|
|
202
|
-
const referencepath_sobjects_itemValidationError = validate$
|
|
202
|
+
const referencepath_sobjects_itemValidationError = validate$h(obj_sobjects_item, path_sobjects_item);
|
|
203
203
|
if (referencepath_sobjects_itemValidationError !== null) {
|
|
204
204
|
let message = 'Object doesn\'t match SobjectOutputSharingRepresentation (at "' + path_sobjects_item + '")\n';
|
|
205
205
|
message += referencepath_sobjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -213,11 +213,11 @@ const RepresentationType$4 = 'SobjectsOutputSharingRepresentation';
|
|
|
213
213
|
function normalize$4(input, existing, path, luvio, store, timestamp) {
|
|
214
214
|
return input;
|
|
215
215
|
}
|
|
216
|
-
const select$
|
|
217
|
-
const { selections: SobjectOutputSharingRepresentation__selections, opaque: SobjectOutputSharingRepresentation__opaque, } = select$
|
|
216
|
+
const select$l = function SobjectsOutputSharingRepresentationSelect() {
|
|
217
|
+
const { selections: SobjectOutputSharingRepresentation__selections, opaque: SobjectOutputSharingRepresentation__opaque, } = select$m();
|
|
218
218
|
return {
|
|
219
219
|
kind: 'Fragment',
|
|
220
|
-
version: VERSION$
|
|
220
|
+
version: VERSION$g,
|
|
221
221
|
private: [],
|
|
222
222
|
selections: [
|
|
223
223
|
{
|
|
@@ -233,7 +233,7 @@ const select$k = function SobjectsOutputSharingRepresentationSelect() {
|
|
|
233
233
|
]
|
|
234
234
|
};
|
|
235
235
|
};
|
|
236
|
-
function equals$
|
|
236
|
+
function equals$g(existing, incoming) {
|
|
237
237
|
const existing_size = existing.size;
|
|
238
238
|
const incoming_size = incoming.size;
|
|
239
239
|
if (!(existing_size === incoming_size)) {
|
|
@@ -242,7 +242,7 @@ function equals$f(existing, incoming) {
|
|
|
242
242
|
const existing_sobjects = existing.sobjects;
|
|
243
243
|
const incoming_sobjects = incoming.sobjects;
|
|
244
244
|
const equals_sobjects_items = equalsArray(existing_sobjects, incoming_sobjects, (existing_sobjects_item, incoming_sobjects_item) => {
|
|
245
|
-
if (!(equals$
|
|
245
|
+
if (!(equals$h(existing_sobjects_item, incoming_sobjects_item))) {
|
|
246
246
|
return false;
|
|
247
247
|
}
|
|
248
248
|
});
|
|
@@ -253,14 +253,14 @@ function equals$f(existing, incoming) {
|
|
|
253
253
|
}
|
|
254
254
|
const ingest$4 = function SobjectsOutputSharingRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
255
255
|
if (process.env.NODE_ENV !== 'production') {
|
|
256
|
-
const validateError = validate$
|
|
256
|
+
const validateError = validate$g(input);
|
|
257
257
|
if (validateError !== null) {
|
|
258
258
|
throw validateError;
|
|
259
259
|
}
|
|
260
260
|
}
|
|
261
261
|
const key = path.fullPath;
|
|
262
262
|
const ttlToUse = TTL$4;
|
|
263
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "sharing", VERSION$
|
|
263
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "sharing", VERSION$g, RepresentationType$4, equals$g);
|
|
264
264
|
return createLink(key);
|
|
265
265
|
};
|
|
266
266
|
function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -273,8 +273,8 @@ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
273
273
|
});
|
|
274
274
|
}
|
|
275
275
|
|
|
276
|
-
function select$
|
|
277
|
-
return select$
|
|
276
|
+
function select$k(luvio, params) {
|
|
277
|
+
return select$l();
|
|
278
278
|
}
|
|
279
279
|
function keyBuilder$9(luvio, params) {
|
|
280
280
|
return keyPrefix + '::SobjectsOutputSharingRepresentation:(' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'searchText:' + params.queryParams.searchText + ')';
|
|
@@ -288,7 +288,7 @@ function ingestSuccess$4(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
288
288
|
luvio.storeIngest(key, ingest$4, body);
|
|
289
289
|
const snapshot = luvio.storeLookup({
|
|
290
290
|
recordId: key,
|
|
291
|
-
node: select$
|
|
291
|
+
node: select$k(),
|
|
292
292
|
variables: {},
|
|
293
293
|
}, snapshotRefresh);
|
|
294
294
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -305,7 +305,7 @@ function ingestError$4(luvio, params, error, snapshotRefresh) {
|
|
|
305
305
|
const storeMetadataParams = {
|
|
306
306
|
ttl: TTL$4,
|
|
307
307
|
namespace: keyPrefix,
|
|
308
|
-
version: VERSION$
|
|
308
|
+
version: VERSION$g,
|
|
309
309
|
representationName: RepresentationType$4
|
|
310
310
|
};
|
|
311
311
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -357,7 +357,7 @@ function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
|
|
|
357
357
|
}
|
|
358
358
|
function adapterFragment$4(luvio, config) {
|
|
359
359
|
createResourceParams$4(config);
|
|
360
|
-
return select$
|
|
360
|
+
return select$k();
|
|
361
361
|
}
|
|
362
362
|
function onFetchResponseSuccess$4(luvio, config, resourceParams, response) {
|
|
363
363
|
const snapshot = ingestSuccess$4(luvio, resourceParams, response, {
|
|
@@ -413,8 +413,8 @@ const getAllSobjectsAdapterFactory = (luvio) => function sharing__getAllSobjects
|
|
|
413
413
|
buildCachedSnapshotCachePolicy$4, buildNetworkSnapshotCachePolicy$4);
|
|
414
414
|
};
|
|
415
415
|
|
|
416
|
-
const VERSION$
|
|
417
|
-
function validate$
|
|
416
|
+
const VERSION$f = "7d75e40a9fde9f60ae02b6dde36257ce";
|
|
417
|
+
function validate$f(obj, path = 'PublicGroupRepresentation') {
|
|
418
418
|
const v_error = (() => {
|
|
419
419
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
420
420
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -442,10 +442,10 @@ function validate$e(obj, path = 'PublicGroupRepresentation') {
|
|
|
442
442
|
})();
|
|
443
443
|
return v_error === undefined ? null : v_error;
|
|
444
444
|
}
|
|
445
|
-
const select$
|
|
445
|
+
const select$j = function PublicGroupRepresentationSelect() {
|
|
446
446
|
return {
|
|
447
447
|
kind: 'Fragment',
|
|
448
|
-
version: VERSION$
|
|
448
|
+
version: VERSION$f,
|
|
449
449
|
private: [],
|
|
450
450
|
selections: [
|
|
451
451
|
{
|
|
@@ -467,7 +467,7 @@ const select$i = function PublicGroupRepresentationSelect() {
|
|
|
467
467
|
]
|
|
468
468
|
};
|
|
469
469
|
};
|
|
470
|
-
function equals$
|
|
470
|
+
function equals$f(existing, incoming) {
|
|
471
471
|
const existing_includeBosses = existing.includeBosses;
|
|
472
472
|
const incoming_includeBosses = incoming.includeBosses;
|
|
473
473
|
if (!(existing_includeBosses === incoming_includeBosses)) {
|
|
@@ -491,8 +491,8 @@ function equals$e(existing, incoming) {
|
|
|
491
491
|
return true;
|
|
492
492
|
}
|
|
493
493
|
|
|
494
|
-
const VERSION$
|
|
495
|
-
function validate$
|
|
494
|
+
const VERSION$e = "89ae3fce0ad09282e80bd77a9c483003";
|
|
495
|
+
function validate$e(obj, path = 'QueueRepresentation') {
|
|
496
496
|
const v_error = (() => {
|
|
497
497
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
498
498
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -515,10 +515,10 @@ function validate$d(obj, path = 'QueueRepresentation') {
|
|
|
515
515
|
})();
|
|
516
516
|
return v_error === undefined ? null : v_error;
|
|
517
517
|
}
|
|
518
|
-
const select$
|
|
518
|
+
const select$i = function QueueRepresentationSelect() {
|
|
519
519
|
return {
|
|
520
520
|
kind: 'Fragment',
|
|
521
|
-
version: VERSION$
|
|
521
|
+
version: VERSION$e,
|
|
522
522
|
private: [],
|
|
523
523
|
selections: [
|
|
524
524
|
{
|
|
@@ -536,7 +536,7 @@ const select$h = function QueueRepresentationSelect() {
|
|
|
536
536
|
]
|
|
537
537
|
};
|
|
538
538
|
};
|
|
539
|
-
function equals$
|
|
539
|
+
function equals$e(existing, incoming) {
|
|
540
540
|
const existing_developerName = existing.developerName;
|
|
541
541
|
const incoming_developerName = incoming.developerName;
|
|
542
542
|
if (!(existing_developerName === incoming_developerName)) {
|
|
@@ -556,8 +556,8 @@ function equals$d(existing, incoming) {
|
|
|
556
556
|
}
|
|
557
557
|
|
|
558
558
|
const TTL$3 = 300;
|
|
559
|
-
const VERSION$
|
|
560
|
-
function validate$
|
|
559
|
+
const VERSION$d = "3659c4a4f46957a3a2b5cb2d2383180d";
|
|
560
|
+
function validate$d(obj, path = 'GroupCollectionRepresentation') {
|
|
561
561
|
const v_error = (() => {
|
|
562
562
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
563
563
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -570,7 +570,7 @@ function validate$c(obj, path = 'GroupCollectionRepresentation') {
|
|
|
570
570
|
for (let i = 0; i < obj_publicGroupRepresentations.length; i++) {
|
|
571
571
|
const obj_publicGroupRepresentations_item = obj_publicGroupRepresentations[i];
|
|
572
572
|
const path_publicGroupRepresentations_item = path_publicGroupRepresentations + '[' + i + ']';
|
|
573
|
-
const referencepath_publicGroupRepresentations_itemValidationError = validate$
|
|
573
|
+
const referencepath_publicGroupRepresentations_itemValidationError = validate$f(obj_publicGroupRepresentations_item, path_publicGroupRepresentations_item);
|
|
574
574
|
if (referencepath_publicGroupRepresentations_itemValidationError !== null) {
|
|
575
575
|
let message = 'Object doesn\'t match PublicGroupRepresentation (at "' + path_publicGroupRepresentations_item + '")\n';
|
|
576
576
|
message += referencepath_publicGroupRepresentations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -585,7 +585,7 @@ function validate$c(obj, path = 'GroupCollectionRepresentation') {
|
|
|
585
585
|
for (let i = 0; i < obj_queueRepresentations.length; i++) {
|
|
586
586
|
const obj_queueRepresentations_item = obj_queueRepresentations[i];
|
|
587
587
|
const path_queueRepresentations_item = path_queueRepresentations + '[' + i + ']';
|
|
588
|
-
const referencepath_queueRepresentations_itemValidationError = validate$
|
|
588
|
+
const referencepath_queueRepresentations_itemValidationError = validate$e(obj_queueRepresentations_item, path_queueRepresentations_item);
|
|
589
589
|
if (referencepath_queueRepresentations_itemValidationError !== null) {
|
|
590
590
|
let message = 'Object doesn\'t match QueueRepresentation (at "' + path_queueRepresentations_item + '")\n';
|
|
591
591
|
message += referencepath_queueRepresentations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -599,12 +599,12 @@ const RepresentationType$3 = 'GroupCollectionRepresentation';
|
|
|
599
599
|
function normalize$3(input, existing, path, luvio, store, timestamp) {
|
|
600
600
|
return input;
|
|
601
601
|
}
|
|
602
|
-
const select$
|
|
603
|
-
const { selections: PublicGroupRepresentation__selections, opaque: PublicGroupRepresentation__opaque, } = select$
|
|
604
|
-
const { selections: QueueRepresentation__selections, opaque: QueueRepresentation__opaque, } = select$
|
|
602
|
+
const select$h = function GroupCollectionRepresentationSelect() {
|
|
603
|
+
const { selections: PublicGroupRepresentation__selections, opaque: PublicGroupRepresentation__opaque, } = select$j();
|
|
604
|
+
const { selections: QueueRepresentation__selections, opaque: QueueRepresentation__opaque, } = select$i();
|
|
605
605
|
return {
|
|
606
606
|
kind: 'Fragment',
|
|
607
|
-
version: VERSION$
|
|
607
|
+
version: VERSION$d,
|
|
608
608
|
private: [],
|
|
609
609
|
selections: [
|
|
610
610
|
{
|
|
@@ -622,11 +622,11 @@ const select$g = function GroupCollectionRepresentationSelect() {
|
|
|
622
622
|
]
|
|
623
623
|
};
|
|
624
624
|
};
|
|
625
|
-
function equals$
|
|
625
|
+
function equals$d(existing, incoming) {
|
|
626
626
|
const existing_publicGroupRepresentations = existing.publicGroupRepresentations;
|
|
627
627
|
const incoming_publicGroupRepresentations = incoming.publicGroupRepresentations;
|
|
628
628
|
const equals_publicGroupRepresentations_items = equalsArray(existing_publicGroupRepresentations, incoming_publicGroupRepresentations, (existing_publicGroupRepresentations_item, incoming_publicGroupRepresentations_item) => {
|
|
629
|
-
if (!(equals$
|
|
629
|
+
if (!(equals$f(existing_publicGroupRepresentations_item, incoming_publicGroupRepresentations_item))) {
|
|
630
630
|
return false;
|
|
631
631
|
}
|
|
632
632
|
});
|
|
@@ -636,7 +636,7 @@ function equals$c(existing, incoming) {
|
|
|
636
636
|
const existing_queueRepresentations = existing.queueRepresentations;
|
|
637
637
|
const incoming_queueRepresentations = incoming.queueRepresentations;
|
|
638
638
|
const equals_queueRepresentations_items = equalsArray(existing_queueRepresentations, incoming_queueRepresentations, (existing_queueRepresentations_item, incoming_queueRepresentations_item) => {
|
|
639
|
-
if (!(equals$
|
|
639
|
+
if (!(equals$e(existing_queueRepresentations_item, incoming_queueRepresentations_item))) {
|
|
640
640
|
return false;
|
|
641
641
|
}
|
|
642
642
|
});
|
|
@@ -647,14 +647,14 @@ function equals$c(existing, incoming) {
|
|
|
647
647
|
}
|
|
648
648
|
const ingest$3 = function GroupCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
649
649
|
if (process.env.NODE_ENV !== 'production') {
|
|
650
|
-
const validateError = validate$
|
|
650
|
+
const validateError = validate$d(input);
|
|
651
651
|
if (validateError !== null) {
|
|
652
652
|
throw validateError;
|
|
653
653
|
}
|
|
654
654
|
}
|
|
655
655
|
const key = path.fullPath;
|
|
656
656
|
const ttlToUse = TTL$3;
|
|
657
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "sharing", VERSION$
|
|
657
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "sharing", VERSION$d, RepresentationType$3, equals$d);
|
|
658
658
|
return createLink(key);
|
|
659
659
|
};
|
|
660
660
|
function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -667,8 +667,8 @@ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
667
667
|
});
|
|
668
668
|
}
|
|
669
669
|
|
|
670
|
-
function select$
|
|
671
|
-
return select$
|
|
670
|
+
function select$g(luvio, params) {
|
|
671
|
+
return select$h();
|
|
672
672
|
}
|
|
673
673
|
function keyBuilder$7(luvio, params) {
|
|
674
674
|
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 + ')';
|
|
@@ -682,7 +682,7 @@ function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
682
682
|
luvio.storeIngest(key, ingest$3, body);
|
|
683
683
|
const snapshot = luvio.storeLookup({
|
|
684
684
|
recordId: key,
|
|
685
|
-
node: select$
|
|
685
|
+
node: select$g(),
|
|
686
686
|
variables: {},
|
|
687
687
|
}, snapshotRefresh);
|
|
688
688
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -699,7 +699,7 @@ function ingestError$3(luvio, params, error, snapshotRefresh) {
|
|
|
699
699
|
const storeMetadataParams = {
|
|
700
700
|
ttl: TTL$3,
|
|
701
701
|
namespace: keyPrefix,
|
|
702
|
-
version: VERSION$
|
|
702
|
+
version: VERSION$d,
|
|
703
703
|
representationName: RepresentationType$3
|
|
704
704
|
};
|
|
705
705
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -754,7 +754,7 @@ function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
|
|
|
754
754
|
}
|
|
755
755
|
function adapterFragment$3(luvio, config) {
|
|
756
756
|
createResourceParams$3(config);
|
|
757
|
-
return select$
|
|
757
|
+
return select$g();
|
|
758
758
|
}
|
|
759
759
|
function onFetchResponseSuccess$3(luvio, config, resourceParams, response) {
|
|
760
760
|
const snapshot = ingestSuccess$3(luvio, resourceParams, response, {
|
|
@@ -810,8 +810,8 @@ const getGroupsForUserAdapterFactory = (luvio) => function sharing__getGroupsFor
|
|
|
810
810
|
buildCachedSnapshotCachePolicy$3, buildNetworkSnapshotCachePolicy$3);
|
|
811
811
|
};
|
|
812
812
|
|
|
813
|
-
const VERSION$
|
|
814
|
-
function validate$
|
|
813
|
+
const VERSION$c = "10400ecb443c1cd1f8fa280e9f89ded8";
|
|
814
|
+
function validate$c(obj, path = 'PublicGroupMembersInPublicGroupRepresentation') {
|
|
815
815
|
const v_error = (() => {
|
|
816
816
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
817
817
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -854,10 +854,10 @@ function validate$b(obj, path = 'PublicGroupMembersInPublicGroupRepresentation')
|
|
|
854
854
|
})();
|
|
855
855
|
return v_error === undefined ? null : v_error;
|
|
856
856
|
}
|
|
857
|
-
const select$
|
|
857
|
+
const select$f = function PublicGroupMembersInPublicGroupRepresentationSelect() {
|
|
858
858
|
return {
|
|
859
859
|
kind: 'Fragment',
|
|
860
|
-
version: VERSION$
|
|
860
|
+
version: VERSION$c,
|
|
861
861
|
private: [],
|
|
862
862
|
selections: [
|
|
863
863
|
{
|
|
@@ -891,7 +891,7 @@ const select$e = function PublicGroupMembersInPublicGroupRepresentationSelect()
|
|
|
891
891
|
]
|
|
892
892
|
};
|
|
893
893
|
};
|
|
894
|
-
function equals$
|
|
894
|
+
function equals$c(existing, incoming) {
|
|
895
895
|
const existing_includeBosses = existing.includeBosses;
|
|
896
896
|
const incoming_includeBosses = incoming.includeBosses;
|
|
897
897
|
if (!(existing_includeBosses === incoming_includeBosses)) {
|
|
@@ -930,8 +930,8 @@ function equals$b(existing, incoming) {
|
|
|
930
930
|
return true;
|
|
931
931
|
}
|
|
932
932
|
|
|
933
|
-
const VERSION$
|
|
934
|
-
function validate$
|
|
933
|
+
const VERSION$b = "23a331717bb19992d3c37b818fc7008a";
|
|
934
|
+
function validate$b(obj, path = 'RolesInGroupRepresentation') {
|
|
935
935
|
const v_error = (() => {
|
|
936
936
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
937
937
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -974,10 +974,10 @@ function validate$a(obj, path = 'RolesInGroupRepresentation') {
|
|
|
974
974
|
})();
|
|
975
975
|
return v_error === undefined ? null : v_error;
|
|
976
976
|
}
|
|
977
|
-
const select$
|
|
977
|
+
const select$e = function RolesInGroupRepresentationSelect() {
|
|
978
978
|
return {
|
|
979
979
|
kind: 'Fragment',
|
|
980
|
-
version: VERSION$
|
|
980
|
+
version: VERSION$b,
|
|
981
981
|
private: [],
|
|
982
982
|
selections: [
|
|
983
983
|
{
|
|
@@ -1011,7 +1011,7 @@ const select$d = function RolesInGroupRepresentationSelect() {
|
|
|
1011
1011
|
]
|
|
1012
1012
|
};
|
|
1013
1013
|
};
|
|
1014
|
-
function equals$
|
|
1014
|
+
function equals$b(existing, incoming) {
|
|
1015
1015
|
const existing_dataId = existing.dataId;
|
|
1016
1016
|
const incoming_dataId = incoming.dataId;
|
|
1017
1017
|
if (!(existing_dataId === incoming_dataId)) {
|
|
@@ -1050,8 +1050,8 @@ function equals$a(existing, incoming) {
|
|
|
1050
1050
|
return true;
|
|
1051
1051
|
}
|
|
1052
1052
|
|
|
1053
|
-
const VERSION$
|
|
1054
|
-
function validate$
|
|
1053
|
+
const VERSION$a = "81212e87b01ada2a285c551aadcec218";
|
|
1054
|
+
function validate$a(obj, path = 'UserMembersInPublicGroupRepresentation') {
|
|
1055
1055
|
const v_error = (() => {
|
|
1056
1056
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1057
1057
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1099,10 +1099,10 @@ function validate$9(obj, path = 'UserMembersInPublicGroupRepresentation') {
|
|
|
1099
1099
|
})();
|
|
1100
1100
|
return v_error === undefined ? null : v_error;
|
|
1101
1101
|
}
|
|
1102
|
-
const select$
|
|
1102
|
+
const select$d = function UserMembersInPublicGroupRepresentationSelect() {
|
|
1103
1103
|
return {
|
|
1104
1104
|
kind: 'Fragment',
|
|
1105
|
-
version: VERSION$
|
|
1105
|
+
version: VERSION$a,
|
|
1106
1106
|
private: [],
|
|
1107
1107
|
selections: [
|
|
1108
1108
|
{
|
|
@@ -1140,7 +1140,7 @@ const select$c = function UserMembersInPublicGroupRepresentationSelect() {
|
|
|
1140
1140
|
]
|
|
1141
1141
|
};
|
|
1142
1142
|
};
|
|
1143
|
-
function equals$
|
|
1143
|
+
function equals$a(existing, incoming) {
|
|
1144
1144
|
const existing_status = existing.status;
|
|
1145
1145
|
const incoming_status = incoming.status;
|
|
1146
1146
|
if (!(existing_status === incoming_status)) {
|
|
@@ -1185,8 +1185,8 @@ function equals$9(existing, incoming) {
|
|
|
1185
1185
|
}
|
|
1186
1186
|
|
|
1187
1187
|
const TTL$2 = 300;
|
|
1188
|
-
const VERSION$
|
|
1189
|
-
function validate$
|
|
1188
|
+
const VERSION$9 = "ff9b160e9ebbf564f9bbe3a7ee37cc16";
|
|
1189
|
+
function validate$9(obj, path = 'PublicGroupMembershipDetailsRepresentation') {
|
|
1190
1190
|
const v_error = (() => {
|
|
1191
1191
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1192
1192
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1204,7 +1204,7 @@ function validate$8(obj, path = 'PublicGroupMembershipDetailsRepresentation') {
|
|
|
1204
1204
|
for (let i = 0; i < obj_listChannelPrograms.length; i++) {
|
|
1205
1205
|
const obj_listChannelPrograms_item = obj_listChannelPrograms[i];
|
|
1206
1206
|
const path_listChannelPrograms_item = path_listChannelPrograms + '[' + i + ']';
|
|
1207
|
-
const referencepath_listChannelPrograms_itemValidationError = validate$
|
|
1207
|
+
const referencepath_listChannelPrograms_itemValidationError = validate$c(obj_listChannelPrograms_item, path_listChannelPrograms_item);
|
|
1208
1208
|
if (referencepath_listChannelPrograms_itemValidationError !== null) {
|
|
1209
1209
|
let message = 'Object doesn\'t match PublicGroupMembersInPublicGroupRepresentation (at "' + path_listChannelPrograms_item + '")\n';
|
|
1210
1210
|
message += referencepath_listChannelPrograms_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1219,7 +1219,7 @@ function validate$8(obj, path = 'PublicGroupMembershipDetailsRepresentation') {
|
|
|
1219
1219
|
for (let i = 0; i < obj_listPublicGroups.length; i++) {
|
|
1220
1220
|
const obj_listPublicGroups_item = obj_listPublicGroups[i];
|
|
1221
1221
|
const path_listPublicGroups_item = path_listPublicGroups + '[' + i + ']';
|
|
1222
|
-
const referencepath_listPublicGroups_itemValidationError = validate$
|
|
1222
|
+
const referencepath_listPublicGroups_itemValidationError = validate$c(obj_listPublicGroups_item, path_listPublicGroups_item);
|
|
1223
1223
|
if (referencepath_listPublicGroups_itemValidationError !== null) {
|
|
1224
1224
|
let message = 'Object doesn\'t match PublicGroupMembersInPublicGroupRepresentation (at "' + path_listPublicGroups_item + '")\n';
|
|
1225
1225
|
message += referencepath_listPublicGroups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1234,7 +1234,7 @@ function validate$8(obj, path = 'PublicGroupMembershipDetailsRepresentation') {
|
|
|
1234
1234
|
for (let i = 0; i < obj_listRoles.length; i++) {
|
|
1235
1235
|
const obj_listRoles_item = obj_listRoles[i];
|
|
1236
1236
|
const path_listRoles_item = path_listRoles + '[' + i + ']';
|
|
1237
|
-
const referencepath_listRoles_itemValidationError = validate$
|
|
1237
|
+
const referencepath_listRoles_itemValidationError = validate$b(obj_listRoles_item, path_listRoles_item);
|
|
1238
1238
|
if (referencepath_listRoles_itemValidationError !== null) {
|
|
1239
1239
|
let message = 'Object doesn\'t match RolesInGroupRepresentation (at "' + path_listRoles_item + '")\n';
|
|
1240
1240
|
message += referencepath_listRoles_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1249,7 +1249,7 @@ function validate$8(obj, path = 'PublicGroupMembershipDetailsRepresentation') {
|
|
|
1249
1249
|
for (let i = 0; i < obj_listRolesAndInternalSubordinates.length; i++) {
|
|
1250
1250
|
const obj_listRolesAndInternalSubordinates_item = obj_listRolesAndInternalSubordinates[i];
|
|
1251
1251
|
const path_listRolesAndInternalSubordinates_item = path_listRolesAndInternalSubordinates + '[' + i + ']';
|
|
1252
|
-
const referencepath_listRolesAndInternalSubordinates_itemValidationError = validate$
|
|
1252
|
+
const referencepath_listRolesAndInternalSubordinates_itemValidationError = validate$b(obj_listRolesAndInternalSubordinates_item, path_listRolesAndInternalSubordinates_item);
|
|
1253
1253
|
if (referencepath_listRolesAndInternalSubordinates_itemValidationError !== null) {
|
|
1254
1254
|
let message = 'Object doesn\'t match RolesInGroupRepresentation (at "' + path_listRolesAndInternalSubordinates_item + '")\n';
|
|
1255
1255
|
message += referencepath_listRolesAndInternalSubordinates_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1264,7 +1264,7 @@ function validate$8(obj, path = 'PublicGroupMembershipDetailsRepresentation') {
|
|
|
1264
1264
|
for (let i = 0; i < obj_listRolesInternalAndPortalSubordinates.length; i++) {
|
|
1265
1265
|
const obj_listRolesInternalAndPortalSubordinates_item = obj_listRolesInternalAndPortalSubordinates[i];
|
|
1266
1266
|
const path_listRolesInternalAndPortalSubordinates_item = path_listRolesInternalAndPortalSubordinates + '[' + i + ']';
|
|
1267
|
-
const referencepath_listRolesInternalAndPortalSubordinates_itemValidationError = validate$
|
|
1267
|
+
const referencepath_listRolesInternalAndPortalSubordinates_itemValidationError = validate$b(obj_listRolesInternalAndPortalSubordinates_item, path_listRolesInternalAndPortalSubordinates_item);
|
|
1268
1268
|
if (referencepath_listRolesInternalAndPortalSubordinates_itemValidationError !== null) {
|
|
1269
1269
|
let message = 'Object doesn\'t match RolesInGroupRepresentation (at "' + path_listRolesInternalAndPortalSubordinates_item + '")\n';
|
|
1270
1270
|
message += referencepath_listRolesInternalAndPortalSubordinates_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1279,7 +1279,7 @@ function validate$8(obj, path = 'PublicGroupMembershipDetailsRepresentation') {
|
|
|
1279
1279
|
for (let i = 0; i < obj_listTerritories.length; i++) {
|
|
1280
1280
|
const obj_listTerritories_item = obj_listTerritories[i];
|
|
1281
1281
|
const path_listTerritories_item = path_listTerritories + '[' + i + ']';
|
|
1282
|
-
const referencepath_listTerritories_itemValidationError = validate$
|
|
1282
|
+
const referencepath_listTerritories_itemValidationError = validate$b(obj_listTerritories_item, path_listTerritories_item);
|
|
1283
1283
|
if (referencepath_listTerritories_itemValidationError !== null) {
|
|
1284
1284
|
let message = 'Object doesn\'t match RolesInGroupRepresentation (at "' + path_listTerritories_item + '")\n';
|
|
1285
1285
|
message += referencepath_listTerritories_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1294,7 +1294,7 @@ function validate$8(obj, path = 'PublicGroupMembershipDetailsRepresentation') {
|
|
|
1294
1294
|
for (let i = 0; i < obj_listUsers.length; i++) {
|
|
1295
1295
|
const obj_listUsers_item = obj_listUsers[i];
|
|
1296
1296
|
const path_listUsers_item = path_listUsers + '[' + i + ']';
|
|
1297
|
-
const referencepath_listUsers_itemValidationError = validate$
|
|
1297
|
+
const referencepath_listUsers_itemValidationError = validate$a(obj_listUsers_item, path_listUsers_item);
|
|
1298
1298
|
if (referencepath_listUsers_itemValidationError !== null) {
|
|
1299
1299
|
let message = 'Object doesn\'t match UserMembersInPublicGroupRepresentation (at "' + path_listUsers_item + '")\n';
|
|
1300
1300
|
message += referencepath_listUsers_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1308,13 +1308,13 @@ const RepresentationType$2 = 'PublicGroupMembershipDetailsRepresentation';
|
|
|
1308
1308
|
function normalize$2(input, existing, path, luvio, store, timestamp) {
|
|
1309
1309
|
return input;
|
|
1310
1310
|
}
|
|
1311
|
-
const select$
|
|
1312
|
-
const { selections: PublicGroupMembersInPublicGroupRepresentation__selections, opaque: PublicGroupMembersInPublicGroupRepresentation__opaque, } = select$
|
|
1313
|
-
const { selections: RolesInGroupRepresentation__selections, opaque: RolesInGroupRepresentation__opaque, } = select$
|
|
1314
|
-
const { selections: UserMembersInPublicGroupRepresentation__selections, opaque: UserMembersInPublicGroupRepresentation__opaque, } = select$
|
|
1311
|
+
const select$c = function PublicGroupMembershipDetailsRepresentationSelect() {
|
|
1312
|
+
const { selections: PublicGroupMembersInPublicGroupRepresentation__selections, opaque: PublicGroupMembersInPublicGroupRepresentation__opaque, } = select$f();
|
|
1313
|
+
const { selections: RolesInGroupRepresentation__selections, opaque: RolesInGroupRepresentation__opaque, } = select$e();
|
|
1314
|
+
const { selections: UserMembersInPublicGroupRepresentation__selections, opaque: UserMembersInPublicGroupRepresentation__opaque, } = select$d();
|
|
1315
1315
|
return {
|
|
1316
1316
|
kind: 'Fragment',
|
|
1317
|
-
version: VERSION$
|
|
1317
|
+
version: VERSION$9,
|
|
1318
1318
|
private: [],
|
|
1319
1319
|
selections: [
|
|
1320
1320
|
{
|
|
@@ -1366,7 +1366,7 @@ const select$b = function PublicGroupMembershipDetailsRepresentationSelect() {
|
|
|
1366
1366
|
]
|
|
1367
1367
|
};
|
|
1368
1368
|
};
|
|
1369
|
-
function equals$
|
|
1369
|
+
function equals$9(existing, incoming) {
|
|
1370
1370
|
const existing_isMember = existing.isMember;
|
|
1371
1371
|
const incoming_isMember = incoming.isMember;
|
|
1372
1372
|
if (!(existing_isMember === incoming_isMember)) {
|
|
@@ -1375,7 +1375,7 @@ function equals$8(existing, incoming) {
|
|
|
1375
1375
|
const existing_listChannelPrograms = existing.listChannelPrograms;
|
|
1376
1376
|
const incoming_listChannelPrograms = incoming.listChannelPrograms;
|
|
1377
1377
|
const equals_listChannelPrograms_items = equalsArray(existing_listChannelPrograms, incoming_listChannelPrograms, (existing_listChannelPrograms_item, incoming_listChannelPrograms_item) => {
|
|
1378
|
-
if (!(equals$
|
|
1378
|
+
if (!(equals$c(existing_listChannelPrograms_item, incoming_listChannelPrograms_item))) {
|
|
1379
1379
|
return false;
|
|
1380
1380
|
}
|
|
1381
1381
|
});
|
|
@@ -1385,7 +1385,7 @@ function equals$8(existing, incoming) {
|
|
|
1385
1385
|
const existing_listPublicGroups = existing.listPublicGroups;
|
|
1386
1386
|
const incoming_listPublicGroups = incoming.listPublicGroups;
|
|
1387
1387
|
const equals_listPublicGroups_items = equalsArray(existing_listPublicGroups, incoming_listPublicGroups, (existing_listPublicGroups_item, incoming_listPublicGroups_item) => {
|
|
1388
|
-
if (!(equals$
|
|
1388
|
+
if (!(equals$c(existing_listPublicGroups_item, incoming_listPublicGroups_item))) {
|
|
1389
1389
|
return false;
|
|
1390
1390
|
}
|
|
1391
1391
|
});
|
|
@@ -1395,7 +1395,7 @@ function equals$8(existing, incoming) {
|
|
|
1395
1395
|
const existing_listRoles = existing.listRoles;
|
|
1396
1396
|
const incoming_listRoles = incoming.listRoles;
|
|
1397
1397
|
const equals_listRoles_items = equalsArray(existing_listRoles, incoming_listRoles, (existing_listRoles_item, incoming_listRoles_item) => {
|
|
1398
|
-
if (!(equals$
|
|
1398
|
+
if (!(equals$b(existing_listRoles_item, incoming_listRoles_item))) {
|
|
1399
1399
|
return false;
|
|
1400
1400
|
}
|
|
1401
1401
|
});
|
|
@@ -1405,7 +1405,7 @@ function equals$8(existing, incoming) {
|
|
|
1405
1405
|
const existing_listRolesAndInternalSubordinates = existing.listRolesAndInternalSubordinates;
|
|
1406
1406
|
const incoming_listRolesAndInternalSubordinates = incoming.listRolesAndInternalSubordinates;
|
|
1407
1407
|
const equals_listRolesAndInternalSubordinates_items = equalsArray(existing_listRolesAndInternalSubordinates, incoming_listRolesAndInternalSubordinates, (existing_listRolesAndInternalSubordinates_item, incoming_listRolesAndInternalSubordinates_item) => {
|
|
1408
|
-
if (!(equals$
|
|
1408
|
+
if (!(equals$b(existing_listRolesAndInternalSubordinates_item, incoming_listRolesAndInternalSubordinates_item))) {
|
|
1409
1409
|
return false;
|
|
1410
1410
|
}
|
|
1411
1411
|
});
|
|
@@ -1415,7 +1415,7 @@ function equals$8(existing, incoming) {
|
|
|
1415
1415
|
const existing_listRolesInternalAndPortalSubordinates = existing.listRolesInternalAndPortalSubordinates;
|
|
1416
1416
|
const incoming_listRolesInternalAndPortalSubordinates = incoming.listRolesInternalAndPortalSubordinates;
|
|
1417
1417
|
const equals_listRolesInternalAndPortalSubordinates_items = equalsArray(existing_listRolesInternalAndPortalSubordinates, incoming_listRolesInternalAndPortalSubordinates, (existing_listRolesInternalAndPortalSubordinates_item, incoming_listRolesInternalAndPortalSubordinates_item) => {
|
|
1418
|
-
if (!(equals$
|
|
1418
|
+
if (!(equals$b(existing_listRolesInternalAndPortalSubordinates_item, incoming_listRolesInternalAndPortalSubordinates_item))) {
|
|
1419
1419
|
return false;
|
|
1420
1420
|
}
|
|
1421
1421
|
});
|
|
@@ -1425,7 +1425,7 @@ function equals$8(existing, incoming) {
|
|
|
1425
1425
|
const existing_listTerritories = existing.listTerritories;
|
|
1426
1426
|
const incoming_listTerritories = incoming.listTerritories;
|
|
1427
1427
|
const equals_listTerritories_items = equalsArray(existing_listTerritories, incoming_listTerritories, (existing_listTerritories_item, incoming_listTerritories_item) => {
|
|
1428
|
-
if (!(equals$
|
|
1428
|
+
if (!(equals$b(existing_listTerritories_item, incoming_listTerritories_item))) {
|
|
1429
1429
|
return false;
|
|
1430
1430
|
}
|
|
1431
1431
|
});
|
|
@@ -1435,7 +1435,7 @@ function equals$8(existing, incoming) {
|
|
|
1435
1435
|
const existing_listUsers = existing.listUsers;
|
|
1436
1436
|
const incoming_listUsers = incoming.listUsers;
|
|
1437
1437
|
const equals_listUsers_items = equalsArray(existing_listUsers, incoming_listUsers, (existing_listUsers_item, incoming_listUsers_item) => {
|
|
1438
|
-
if (!(equals$
|
|
1438
|
+
if (!(equals$a(existing_listUsers_item, incoming_listUsers_item))) {
|
|
1439
1439
|
return false;
|
|
1440
1440
|
}
|
|
1441
1441
|
});
|
|
@@ -1446,14 +1446,14 @@ function equals$8(existing, incoming) {
|
|
|
1446
1446
|
}
|
|
1447
1447
|
const ingest$2 = function PublicGroupMembershipDetailsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1448
1448
|
if (process.env.NODE_ENV !== 'production') {
|
|
1449
|
-
const validateError = validate$
|
|
1449
|
+
const validateError = validate$9(input);
|
|
1450
1450
|
if (validateError !== null) {
|
|
1451
1451
|
throw validateError;
|
|
1452
1452
|
}
|
|
1453
1453
|
}
|
|
1454
1454
|
const key = path.fullPath;
|
|
1455
1455
|
const ttlToUse = TTL$2;
|
|
1456
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "sharing", VERSION$
|
|
1456
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "sharing", VERSION$9, RepresentationType$2, equals$9);
|
|
1457
1457
|
return createLink(key);
|
|
1458
1458
|
};
|
|
1459
1459
|
function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1466,8 +1466,8 @@ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1466
1466
|
});
|
|
1467
1467
|
}
|
|
1468
1468
|
|
|
1469
|
-
function select$
|
|
1470
|
-
return select$
|
|
1469
|
+
function select$b(luvio, params) {
|
|
1470
|
+
return select$c();
|
|
1471
1471
|
}
|
|
1472
1472
|
function keyBuilder$5(luvio, params) {
|
|
1473
1473
|
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 + ')';
|
|
@@ -1481,7 +1481,7 @@ function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
1481
1481
|
luvio.storeIngest(key, ingest$2, body);
|
|
1482
1482
|
const snapshot = luvio.storeLookup({
|
|
1483
1483
|
recordId: key,
|
|
1484
|
-
node: select$
|
|
1484
|
+
node: select$b(),
|
|
1485
1485
|
variables: {},
|
|
1486
1486
|
}, snapshotRefresh);
|
|
1487
1487
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -1498,7 +1498,7 @@ function ingestError$2(luvio, params, error, snapshotRefresh) {
|
|
|
1498
1498
|
const storeMetadataParams = {
|
|
1499
1499
|
ttl: TTL$2,
|
|
1500
1500
|
namespace: keyPrefix,
|
|
1501
|
-
version: VERSION$
|
|
1501
|
+
version: VERSION$9,
|
|
1502
1502
|
representationName: RepresentationType$2
|
|
1503
1503
|
};
|
|
1504
1504
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -1557,7 +1557,7 @@ function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
|
|
|
1557
1557
|
}
|
|
1558
1558
|
function adapterFragment$2(luvio, config) {
|
|
1559
1559
|
createResourceParams$2(config);
|
|
1560
|
-
return select$
|
|
1560
|
+
return select$b();
|
|
1561
1561
|
}
|
|
1562
1562
|
function onFetchResponseSuccess$2(luvio, config, resourceParams, response) {
|
|
1563
1563
|
const snapshot = ingestSuccess$2(luvio, resourceParams, response, {
|
|
@@ -1613,8 +1613,8 @@ const getPublicGroupMembershipDetailsAdapterFactory = (luvio) => function sharin
|
|
|
1613
1613
|
buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
|
|
1614
1614
|
};
|
|
1615
1615
|
|
|
1616
|
-
const VERSION$
|
|
1617
|
-
function validate$
|
|
1616
|
+
const VERSION$8 = "11e587d0bd769c0df33d7cce4eb7210d";
|
|
1617
|
+
function validate$8(obj, path = 'IncludedGroupsSharingRepresentation') {
|
|
1618
1618
|
const v_error = (() => {
|
|
1619
1619
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1620
1620
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1647,10 +1647,10 @@ function validate$7(obj, path = 'IncludedGroupsSharingRepresentation') {
|
|
|
1647
1647
|
})();
|
|
1648
1648
|
return v_error === undefined ? null : v_error;
|
|
1649
1649
|
}
|
|
1650
|
-
const select$
|
|
1650
|
+
const select$a = function IncludedGroupsSharingRepresentationSelect() {
|
|
1651
1651
|
return {
|
|
1652
1652
|
kind: 'Fragment',
|
|
1653
|
-
version: VERSION$
|
|
1653
|
+
version: VERSION$8,
|
|
1654
1654
|
private: [],
|
|
1655
1655
|
selections: [
|
|
1656
1656
|
{
|
|
@@ -1676,7 +1676,7 @@ const select$9 = function IncludedGroupsSharingRepresentationSelect() {
|
|
|
1676
1676
|
]
|
|
1677
1677
|
};
|
|
1678
1678
|
};
|
|
1679
|
-
function equals$
|
|
1679
|
+
function equals$8(existing, incoming) {
|
|
1680
1680
|
const existing_grantAccessHierarchies = existing.grantAccessHierarchies;
|
|
1681
1681
|
const incoming_grantAccessHierarchies = incoming.grantAccessHierarchies;
|
|
1682
1682
|
if (!(existing_grantAccessHierarchies === incoming_grantAccessHierarchies)) {
|
|
@@ -1705,8 +1705,8 @@ function equals$7(existing, incoming) {
|
|
|
1705
1705
|
return true;
|
|
1706
1706
|
}
|
|
1707
1707
|
|
|
1708
|
-
const VERSION$
|
|
1709
|
-
function validate$
|
|
1708
|
+
const VERSION$7 = "06eef993be289c8b20b37b2ae6f4c5ee";
|
|
1709
|
+
function validate$7(obj, path = 'ListViewGroupSharingRepresentation') {
|
|
1710
1710
|
const v_error = (() => {
|
|
1711
1711
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1712
1712
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1724,7 +1724,67 @@ function validate$6(obj, path = 'ListViewGroupSharingRepresentation') {
|
|
|
1724
1724
|
})();
|
|
1725
1725
|
return v_error === undefined ? null : v_error;
|
|
1726
1726
|
}
|
|
1727
|
-
const select$
|
|
1727
|
+
const select$9 = function ListViewGroupSharingRepresentationSelect() {
|
|
1728
|
+
return {
|
|
1729
|
+
kind: 'Fragment',
|
|
1730
|
+
version: VERSION$7,
|
|
1731
|
+
private: [],
|
|
1732
|
+
selections: [
|
|
1733
|
+
{
|
|
1734
|
+
name: 'developerName',
|
|
1735
|
+
kind: 'Scalar'
|
|
1736
|
+
},
|
|
1737
|
+
{
|
|
1738
|
+
name: 'label',
|
|
1739
|
+
kind: 'Scalar'
|
|
1740
|
+
}
|
|
1741
|
+
]
|
|
1742
|
+
};
|
|
1743
|
+
};
|
|
1744
|
+
function equals$7(existing, incoming) {
|
|
1745
|
+
const existing_developerName = existing.developerName;
|
|
1746
|
+
const incoming_developerName = incoming.developerName;
|
|
1747
|
+
if (!(existing_developerName === incoming_developerName)) {
|
|
1748
|
+
return false;
|
|
1749
|
+
}
|
|
1750
|
+
const existing_label = existing.label;
|
|
1751
|
+
const incoming_label = incoming.label;
|
|
1752
|
+
if (!(existing_label === incoming_label)) {
|
|
1753
|
+
return false;
|
|
1754
|
+
}
|
|
1755
|
+
return true;
|
|
1756
|
+
}
|
|
1757
|
+
|
|
1758
|
+
const VERSION$6 = "07fe7eab011def0e046285b2d5c9d774";
|
|
1759
|
+
function validate$6(obj, path = 'QueuesSharingRepresentation') {
|
|
1760
|
+
const v_error = (() => {
|
|
1761
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1762
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1763
|
+
}
|
|
1764
|
+
const obj_developerName = obj.developerName;
|
|
1765
|
+
const path_developerName = path + '.developerName';
|
|
1766
|
+
if (typeof obj_developerName !== 'string') {
|
|
1767
|
+
return new TypeError('Expected "string" but received "' + typeof obj_developerName + '" (at "' + path_developerName + '")');
|
|
1768
|
+
}
|
|
1769
|
+
const obj_email = obj.email;
|
|
1770
|
+
const path_email = path + '.email';
|
|
1771
|
+
if (typeof obj_email !== 'string') {
|
|
1772
|
+
return new TypeError('Expected "string" but received "' + typeof obj_email + '" (at "' + path_email + '")');
|
|
1773
|
+
}
|
|
1774
|
+
const obj_label = obj.label;
|
|
1775
|
+
const path_label = path + '.label';
|
|
1776
|
+
if (typeof obj_label !== 'string') {
|
|
1777
|
+
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
1778
|
+
}
|
|
1779
|
+
const obj_supportedObjects = obj.supportedObjects;
|
|
1780
|
+
const path_supportedObjects = path + '.supportedObjects';
|
|
1781
|
+
if (typeof obj_supportedObjects !== 'string') {
|
|
1782
|
+
return new TypeError('Expected "string" but received "' + typeof obj_supportedObjects + '" (at "' + path_supportedObjects + '")');
|
|
1783
|
+
}
|
|
1784
|
+
})();
|
|
1785
|
+
return v_error === undefined ? null : v_error;
|
|
1786
|
+
}
|
|
1787
|
+
const select$8 = function QueuesSharingRepresentationSelect() {
|
|
1728
1788
|
return {
|
|
1729
1789
|
kind: 'Fragment',
|
|
1730
1790
|
version: VERSION$6,
|
|
@@ -1734,9 +1794,17 @@ const select$8 = function ListViewGroupSharingRepresentationSelect() {
|
|
|
1734
1794
|
name: 'developerName',
|
|
1735
1795
|
kind: 'Scalar'
|
|
1736
1796
|
},
|
|
1797
|
+
{
|
|
1798
|
+
name: 'email',
|
|
1799
|
+
kind: 'Scalar'
|
|
1800
|
+
},
|
|
1737
1801
|
{
|
|
1738
1802
|
name: 'label',
|
|
1739
1803
|
kind: 'Scalar'
|
|
1804
|
+
},
|
|
1805
|
+
{
|
|
1806
|
+
name: 'supportedObjects',
|
|
1807
|
+
kind: 'Scalar'
|
|
1740
1808
|
}
|
|
1741
1809
|
]
|
|
1742
1810
|
};
|
|
@@ -1747,11 +1815,21 @@ function equals$6(existing, incoming) {
|
|
|
1747
1815
|
if (!(existing_developerName === incoming_developerName)) {
|
|
1748
1816
|
return false;
|
|
1749
1817
|
}
|
|
1818
|
+
const existing_email = existing.email;
|
|
1819
|
+
const incoming_email = incoming.email;
|
|
1820
|
+
if (!(existing_email === incoming_email)) {
|
|
1821
|
+
return false;
|
|
1822
|
+
}
|
|
1750
1823
|
const existing_label = existing.label;
|
|
1751
1824
|
const incoming_label = incoming.label;
|
|
1752
1825
|
if (!(existing_label === incoming_label)) {
|
|
1753
1826
|
return false;
|
|
1754
1827
|
}
|
|
1828
|
+
const existing_supportedObjects = existing.supportedObjects;
|
|
1829
|
+
const incoming_supportedObjects = incoming.supportedObjects;
|
|
1830
|
+
if (!(existing_supportedObjects === incoming_supportedObjects)) {
|
|
1831
|
+
return false;
|
|
1832
|
+
}
|
|
1755
1833
|
return true;
|
|
1756
1834
|
}
|
|
1757
1835
|
|
|
@@ -2018,7 +2096,7 @@ function equals$3(existing, incoming) {
|
|
|
2018
2096
|
}
|
|
2019
2097
|
|
|
2020
2098
|
const TTL$1 = 300;
|
|
2021
|
-
const VERSION$2 = "
|
|
2099
|
+
const VERSION$2 = "15c900aaeff3e74e7f57fc5b1e879cea";
|
|
2022
2100
|
function validate$2(obj, path = 'PublicGroupSummaryRepresentation') {
|
|
2023
2101
|
const v_error = (() => {
|
|
2024
2102
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2032,7 +2110,7 @@ function validate$2(obj, path = 'PublicGroupSummaryRepresentation') {
|
|
|
2032
2110
|
for (let i = 0; i < obj_includedGroupsSharing.length; i++) {
|
|
2033
2111
|
const obj_includedGroupsSharing_item = obj_includedGroupsSharing[i];
|
|
2034
2112
|
const path_includedGroupsSharing_item = path_includedGroupsSharing + '[' + i + ']';
|
|
2035
|
-
const referencepath_includedGroupsSharing_itemValidationError = validate$
|
|
2113
|
+
const referencepath_includedGroupsSharing_itemValidationError = validate$8(obj_includedGroupsSharing_item, path_includedGroupsSharing_item);
|
|
2036
2114
|
if (referencepath_includedGroupsSharing_itemValidationError !== null) {
|
|
2037
2115
|
let message = 'Object doesn\'t match IncludedGroupsSharingRepresentation (at "' + path_includedGroupsSharing_item + '")\n';
|
|
2038
2116
|
message += referencepath_includedGroupsSharing_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2047,13 +2125,28 @@ function validate$2(obj, path = 'PublicGroupSummaryRepresentation') {
|
|
|
2047
2125
|
for (let i = 0; i < obj_listViewGroupSharing.length; i++) {
|
|
2048
2126
|
const obj_listViewGroupSharing_item = obj_listViewGroupSharing[i];
|
|
2049
2127
|
const path_listViewGroupSharing_item = path_listViewGroupSharing + '[' + i + ']';
|
|
2050
|
-
const referencepath_listViewGroupSharing_itemValidationError = validate$
|
|
2128
|
+
const referencepath_listViewGroupSharing_itemValidationError = validate$7(obj_listViewGroupSharing_item, path_listViewGroupSharing_item);
|
|
2051
2129
|
if (referencepath_listViewGroupSharing_itemValidationError !== null) {
|
|
2052
2130
|
let message = 'Object doesn\'t match ListViewGroupSharingRepresentation (at "' + path_listViewGroupSharing_item + '")\n';
|
|
2053
2131
|
message += referencepath_listViewGroupSharing_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2054
2132
|
return new TypeError(message);
|
|
2055
2133
|
}
|
|
2056
2134
|
}
|
|
2135
|
+
const obj_queuesSharing = obj.queuesSharing;
|
|
2136
|
+
const path_queuesSharing = path + '.queuesSharing';
|
|
2137
|
+
if (!ArrayIsArray(obj_queuesSharing)) {
|
|
2138
|
+
return new TypeError('Expected "array" but received "' + typeof obj_queuesSharing + '" (at "' + path_queuesSharing + '")');
|
|
2139
|
+
}
|
|
2140
|
+
for (let i = 0; i < obj_queuesSharing.length; i++) {
|
|
2141
|
+
const obj_queuesSharing_item = obj_queuesSharing[i];
|
|
2142
|
+
const path_queuesSharing_item = path_queuesSharing + '[' + i + ']';
|
|
2143
|
+
const referencepath_queuesSharing_itemValidationError = validate$6(obj_queuesSharing_item, path_queuesSharing_item);
|
|
2144
|
+
if (referencepath_queuesSharing_itemValidationError !== null) {
|
|
2145
|
+
let message = 'Object doesn\'t match QueuesSharingRepresentation (at "' + path_queuesSharing_item + '")\n';
|
|
2146
|
+
message += referencepath_queuesSharing_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2147
|
+
return new TypeError(message);
|
|
2148
|
+
}
|
|
2149
|
+
}
|
|
2057
2150
|
const obj_reportAndDashboardFolderGroupSharing = obj.reportAndDashboardFolderGroupSharing;
|
|
2058
2151
|
const path_reportAndDashboardFolderGroupSharing = path + '.reportAndDashboardFolderGroupSharing';
|
|
2059
2152
|
if (!ArrayIsArray(obj_reportAndDashboardFolderGroupSharing)) {
|
|
@@ -2107,8 +2200,9 @@ function normalize$1(input, existing, path, luvio, store, timestamp) {
|
|
|
2107
2200
|
return input;
|
|
2108
2201
|
}
|
|
2109
2202
|
const select$4 = function PublicGroupSummaryRepresentationSelect() {
|
|
2110
|
-
const { selections: IncludedGroupsSharingRepresentation__selections, opaque: IncludedGroupsSharingRepresentation__opaque, } = select$
|
|
2111
|
-
const { selections: ListViewGroupSharingRepresentation__selections, opaque: ListViewGroupSharingRepresentation__opaque, } = select$
|
|
2203
|
+
const { selections: IncludedGroupsSharingRepresentation__selections, opaque: IncludedGroupsSharingRepresentation__opaque, } = select$a();
|
|
2204
|
+
const { selections: ListViewGroupSharingRepresentation__selections, opaque: ListViewGroupSharingRepresentation__opaque, } = select$9();
|
|
2205
|
+
const { selections: QueuesSharingRepresentation__selections, opaque: QueuesSharingRepresentation__opaque, } = select$8();
|
|
2112
2206
|
const { selections: ReportAndDashboardFolderGroupSharingRepresentation__selections, opaque: ReportAndDashboardFolderGroupSharingRepresentation__opaque, } = select$7();
|
|
2113
2207
|
const { selections: SharingRulesCriteriaGroupSharingRepresentation__selections, opaque: SharingRulesCriteriaGroupSharingRepresentation__opaque, } = select$6();
|
|
2114
2208
|
const { selections: SharingRulesOwnerGroupSharingRepresentation__selections, opaque: SharingRulesOwnerGroupSharingRepresentation__opaque, } = select$5();
|
|
@@ -2129,6 +2223,12 @@ const select$4 = function PublicGroupSummaryRepresentationSelect() {
|
|
|
2129
2223
|
plural: true,
|
|
2130
2224
|
selections: ListViewGroupSharingRepresentation__selections
|
|
2131
2225
|
},
|
|
2226
|
+
{
|
|
2227
|
+
name: 'queuesSharing',
|
|
2228
|
+
kind: 'Object',
|
|
2229
|
+
plural: true,
|
|
2230
|
+
selections: QueuesSharingRepresentation__selections
|
|
2231
|
+
},
|
|
2132
2232
|
{
|
|
2133
2233
|
name: 'reportAndDashboardFolderGroupSharing',
|
|
2134
2234
|
kind: 'Object',
|
|
@@ -2154,7 +2254,7 @@ function equals$2(existing, incoming) {
|
|
|
2154
2254
|
const existing_includedGroupsSharing = existing.includedGroupsSharing;
|
|
2155
2255
|
const incoming_includedGroupsSharing = incoming.includedGroupsSharing;
|
|
2156
2256
|
const equals_includedGroupsSharing_items = equalsArray(existing_includedGroupsSharing, incoming_includedGroupsSharing, (existing_includedGroupsSharing_item, incoming_includedGroupsSharing_item) => {
|
|
2157
|
-
if (!(equals$
|
|
2257
|
+
if (!(equals$8(existing_includedGroupsSharing_item, incoming_includedGroupsSharing_item))) {
|
|
2158
2258
|
return false;
|
|
2159
2259
|
}
|
|
2160
2260
|
});
|
|
@@ -2164,13 +2264,23 @@ function equals$2(existing, incoming) {
|
|
|
2164
2264
|
const existing_listViewGroupSharing = existing.listViewGroupSharing;
|
|
2165
2265
|
const incoming_listViewGroupSharing = incoming.listViewGroupSharing;
|
|
2166
2266
|
const equals_listViewGroupSharing_items = equalsArray(existing_listViewGroupSharing, incoming_listViewGroupSharing, (existing_listViewGroupSharing_item, incoming_listViewGroupSharing_item) => {
|
|
2167
|
-
if (!(equals$
|
|
2267
|
+
if (!(equals$7(existing_listViewGroupSharing_item, incoming_listViewGroupSharing_item))) {
|
|
2168
2268
|
return false;
|
|
2169
2269
|
}
|
|
2170
2270
|
});
|
|
2171
2271
|
if (equals_listViewGroupSharing_items === false) {
|
|
2172
2272
|
return false;
|
|
2173
2273
|
}
|
|
2274
|
+
const existing_queuesSharing = existing.queuesSharing;
|
|
2275
|
+
const incoming_queuesSharing = incoming.queuesSharing;
|
|
2276
|
+
const equals_queuesSharing_items = equalsArray(existing_queuesSharing, incoming_queuesSharing, (existing_queuesSharing_item, incoming_queuesSharing_item) => {
|
|
2277
|
+
if (!(equals$6(existing_queuesSharing_item, incoming_queuesSharing_item))) {
|
|
2278
|
+
return false;
|
|
2279
|
+
}
|
|
2280
|
+
});
|
|
2281
|
+
if (equals_queuesSharing_items === false) {
|
|
2282
|
+
return false;
|
|
2283
|
+
}
|
|
2174
2284
|
const existing_reportAndDashboardFolderGroupSharing = existing.reportAndDashboardFolderGroupSharing;
|
|
2175
2285
|
const incoming_reportAndDashboardFolderGroupSharing = incoming.reportAndDashboardFolderGroupSharing;
|
|
2176
2286
|
const equals_reportAndDashboardFolderGroupSharing_items = equalsArray(existing_reportAndDashboardFolderGroupSharing, incoming_reportAndDashboardFolderGroupSharing, (existing_reportAndDashboardFolderGroupSharing_item, incoming_reportAndDashboardFolderGroupSharing_item) => {
|
|
@@ -2827,4 +2937,4 @@ withDefaultLuvio((luvio) => {
|
|
|
2827
2937
|
});
|
|
2828
2938
|
|
|
2829
2939
|
export { getAllSobjects, getAllSobjects_imperative, getGroupsForUser, getGroupsForUser_imperative, getPublicGroupMembershipDetails, getPublicGroupMembershipDetails_imperative, getPublicGroupShareData, getPublicGroupShareData_imperative, getUserPermissions, getUserPermissions_imperative };
|
|
2830
|
-
// version: 1.
|
|
2940
|
+
// version: 1.314.0-022b0c843b
|