@salesforce/lds-adapters-platform-sharing 1.304.0 → 1.306.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 +114 -2
- package/dist/es/es2018/types/src/generated/types/PublicGroupMembershipDetailsRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/UserPermissionInfoRepresentation.d.ts +22 -1
- package/package.json +3 -3
- package/sfdc/index.js +115 -3
- package/src/raml/api.raml +24 -0
|
@@ -863,12 +863,17 @@ function equals$b(existing, incoming) {
|
|
|
863
863
|
}
|
|
864
864
|
|
|
865
865
|
const TTL$3 = 300;
|
|
866
|
-
const VERSION$a = "
|
|
866
|
+
const VERSION$a = "ff9b160e9ebbf564f9bbe3a7ee37cc16";
|
|
867
867
|
function validate$a(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 + '")');
|
|
871
871
|
}
|
|
872
|
+
const obj_isMember = obj.isMember;
|
|
873
|
+
const path_isMember = path + '.isMember';
|
|
874
|
+
if (typeof obj_isMember !== 'boolean') {
|
|
875
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isMember + '" (at "' + path_isMember + '")');
|
|
876
|
+
}
|
|
872
877
|
const obj_listChannelPrograms = obj.listChannelPrograms;
|
|
873
878
|
const path_listChannelPrograms = path + '.listChannelPrograms';
|
|
874
879
|
if (!ArrayIsArray(obj_listChannelPrograms)) {
|
|
@@ -990,6 +995,10 @@ const select$e = function PublicGroupMembershipDetailsRepresentationSelect() {
|
|
|
990
995
|
version: VERSION$a,
|
|
991
996
|
private: [],
|
|
992
997
|
selections: [
|
|
998
|
+
{
|
|
999
|
+
name: 'isMember',
|
|
1000
|
+
kind: 'Scalar'
|
|
1001
|
+
},
|
|
993
1002
|
{
|
|
994
1003
|
name: 'listChannelPrograms',
|
|
995
1004
|
kind: 'Object',
|
|
@@ -1036,6 +1045,11 @@ const select$e = function PublicGroupMembershipDetailsRepresentationSelect() {
|
|
|
1036
1045
|
};
|
|
1037
1046
|
};
|
|
1038
1047
|
function equals$a(existing, incoming) {
|
|
1048
|
+
const existing_isMember = existing.isMember;
|
|
1049
|
+
const incoming_isMember = incoming.isMember;
|
|
1050
|
+
if (!(existing_isMember === incoming_isMember)) {
|
|
1051
|
+
return false;
|
|
1052
|
+
}
|
|
1039
1053
|
const existing_listChannelPrograms = existing.listChannelPrograms;
|
|
1040
1054
|
const incoming_listChannelPrograms = incoming.listChannelPrograms;
|
|
1041
1055
|
const equals_listChannelPrograms_items = equalsArray(existing_listChannelPrograms, incoming_listChannelPrograms, (existing_listChannelPrograms_item, incoming_listChannelPrograms_item) => {
|
|
@@ -2345,12 +2359,47 @@ const getAllSobjectsAdapterFactory = (luvio) => function sharing__getAllSobjects
|
|
|
2345
2359
|
buildCachedSnapshotCachePolicy$1, buildNetworkSnapshotCachePolicy$1);
|
|
2346
2360
|
};
|
|
2347
2361
|
|
|
2348
|
-
const VERSION$1 = "
|
|
2362
|
+
const VERSION$1 = "8f69c6b84d8d2d88af30e45bfe796380";
|
|
2349
2363
|
function validate$1(obj, path = 'UserPermissionInfoRepresentation') {
|
|
2350
2364
|
const v_error = (() => {
|
|
2351
2365
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2352
2366
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2353
2367
|
}
|
|
2368
|
+
const obj_parentApiName = obj.parentApiName;
|
|
2369
|
+
const path_parentApiName = path + '.parentApiName';
|
|
2370
|
+
if (typeof obj_parentApiName !== 'string') {
|
|
2371
|
+
return new TypeError('Expected "string" but received "' + typeof obj_parentApiName + '" (at "' + path_parentApiName + '")');
|
|
2372
|
+
}
|
|
2373
|
+
const obj_parentDescription = obj.parentDescription;
|
|
2374
|
+
const path_parentDescription = path + '.parentDescription';
|
|
2375
|
+
if (typeof obj_parentDescription !== 'string') {
|
|
2376
|
+
return new TypeError('Expected "string" but received "' + typeof obj_parentDescription + '" (at "' + path_parentDescription + '")');
|
|
2377
|
+
}
|
|
2378
|
+
const obj_parentHasActivationRequired = obj.parentHasActivationRequired;
|
|
2379
|
+
const path_parentHasActivationRequired = path + '.parentHasActivationRequired';
|
|
2380
|
+
if (typeof obj_parentHasActivationRequired !== 'boolean') {
|
|
2381
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_parentHasActivationRequired + '" (at "' + path_parentHasActivationRequired + '")');
|
|
2382
|
+
}
|
|
2383
|
+
const obj_parentId = obj.parentId;
|
|
2384
|
+
const path_parentId = path + '.parentId';
|
|
2385
|
+
if (typeof obj_parentId !== 'string') {
|
|
2386
|
+
return new TypeError('Expected "string" but received "' + typeof obj_parentId + '" (at "' + path_parentId + '")');
|
|
2387
|
+
}
|
|
2388
|
+
const obj_parentIsCustom = obj.parentIsCustom;
|
|
2389
|
+
const path_parentIsCustom = path + '.parentIsCustom';
|
|
2390
|
+
if (typeof obj_parentIsCustom !== 'boolean') {
|
|
2391
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_parentIsCustom + '" (at "' + path_parentIsCustom + '")');
|
|
2392
|
+
}
|
|
2393
|
+
const obj_parentLabel = obj.parentLabel;
|
|
2394
|
+
const path_parentLabel = path + '.parentLabel';
|
|
2395
|
+
if (typeof obj_parentLabel !== 'string') {
|
|
2396
|
+
return new TypeError('Expected "string" but received "' + typeof obj_parentLabel + '" (at "' + path_parentLabel + '")');
|
|
2397
|
+
}
|
|
2398
|
+
const obj_parentProfileLicense = obj.parentProfileLicense;
|
|
2399
|
+
const path_parentProfileLicense = path + '.parentProfileLicense';
|
|
2400
|
+
if (typeof obj_parentProfileLicense !== 'string') {
|
|
2401
|
+
return new TypeError('Expected "string" but received "' + typeof obj_parentProfileLicense + '" (at "' + path_parentProfileLicense + '")');
|
|
2402
|
+
}
|
|
2354
2403
|
const obj_userPermApiName = obj.userPermApiName;
|
|
2355
2404
|
const path_userPermApiName = path + '.userPermApiName';
|
|
2356
2405
|
if (typeof obj_userPermApiName !== 'string') {
|
|
@@ -2375,6 +2424,34 @@ const select$2 = function UserPermissionInfoRepresentationSelect() {
|
|
|
2375
2424
|
version: VERSION$1,
|
|
2376
2425
|
private: [],
|
|
2377
2426
|
selections: [
|
|
2427
|
+
{
|
|
2428
|
+
name: 'parentApiName',
|
|
2429
|
+
kind: 'Scalar'
|
|
2430
|
+
},
|
|
2431
|
+
{
|
|
2432
|
+
name: 'parentDescription',
|
|
2433
|
+
kind: 'Scalar'
|
|
2434
|
+
},
|
|
2435
|
+
{
|
|
2436
|
+
name: 'parentHasActivationRequired',
|
|
2437
|
+
kind: 'Scalar'
|
|
2438
|
+
},
|
|
2439
|
+
{
|
|
2440
|
+
name: 'parentId',
|
|
2441
|
+
kind: 'Scalar'
|
|
2442
|
+
},
|
|
2443
|
+
{
|
|
2444
|
+
name: 'parentIsCustom',
|
|
2445
|
+
kind: 'Scalar'
|
|
2446
|
+
},
|
|
2447
|
+
{
|
|
2448
|
+
name: 'parentLabel',
|
|
2449
|
+
kind: 'Scalar'
|
|
2450
|
+
},
|
|
2451
|
+
{
|
|
2452
|
+
name: 'parentProfileLicense',
|
|
2453
|
+
kind: 'Scalar'
|
|
2454
|
+
},
|
|
2378
2455
|
{
|
|
2379
2456
|
name: 'userPermApiName',
|
|
2380
2457
|
kind: 'Scalar'
|
|
@@ -2391,6 +2468,41 @@ const select$2 = function UserPermissionInfoRepresentationSelect() {
|
|
|
2391
2468
|
};
|
|
2392
2469
|
};
|
|
2393
2470
|
function equals$1(existing, incoming) {
|
|
2471
|
+
const existing_parentHasActivationRequired = existing.parentHasActivationRequired;
|
|
2472
|
+
const incoming_parentHasActivationRequired = incoming.parentHasActivationRequired;
|
|
2473
|
+
if (!(existing_parentHasActivationRequired === incoming_parentHasActivationRequired)) {
|
|
2474
|
+
return false;
|
|
2475
|
+
}
|
|
2476
|
+
const existing_parentIsCustom = existing.parentIsCustom;
|
|
2477
|
+
const incoming_parentIsCustom = incoming.parentIsCustom;
|
|
2478
|
+
if (!(existing_parentIsCustom === incoming_parentIsCustom)) {
|
|
2479
|
+
return false;
|
|
2480
|
+
}
|
|
2481
|
+
const existing_parentApiName = existing.parentApiName;
|
|
2482
|
+
const incoming_parentApiName = incoming.parentApiName;
|
|
2483
|
+
if (!(existing_parentApiName === incoming_parentApiName)) {
|
|
2484
|
+
return false;
|
|
2485
|
+
}
|
|
2486
|
+
const existing_parentDescription = existing.parentDescription;
|
|
2487
|
+
const incoming_parentDescription = incoming.parentDescription;
|
|
2488
|
+
if (!(existing_parentDescription === incoming_parentDescription)) {
|
|
2489
|
+
return false;
|
|
2490
|
+
}
|
|
2491
|
+
const existing_parentId = existing.parentId;
|
|
2492
|
+
const incoming_parentId = incoming.parentId;
|
|
2493
|
+
if (!(existing_parentId === incoming_parentId)) {
|
|
2494
|
+
return false;
|
|
2495
|
+
}
|
|
2496
|
+
const existing_parentLabel = existing.parentLabel;
|
|
2497
|
+
const incoming_parentLabel = incoming.parentLabel;
|
|
2498
|
+
if (!(existing_parentLabel === incoming_parentLabel)) {
|
|
2499
|
+
return false;
|
|
2500
|
+
}
|
|
2501
|
+
const existing_parentProfileLicense = existing.parentProfileLicense;
|
|
2502
|
+
const incoming_parentProfileLicense = incoming.parentProfileLicense;
|
|
2503
|
+
if (!(existing_parentProfileLicense === incoming_parentProfileLicense)) {
|
|
2504
|
+
return false;
|
|
2505
|
+
}
|
|
2394
2506
|
const existing_userPermApiName = existing.userPermApiName;
|
|
2395
2507
|
const incoming_userPermApiName = incoming.userPermApiName;
|
|
2396
2508
|
if (!(existing_userPermApiName === incoming_userPermApiName)) {
|
package/dist/es/es2018/types/src/generated/types/PublicGroupMembershipDetailsRepresentation.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { RolesInGroupRepresentation as RolesInGroupRepresentation_RolesInGroupRe
|
|
|
3
3
|
import { UserMembersInPublicGroupRepresentation as UserMembersInPublicGroupRepresentation_UserMembersInPublicGroupRepresentation } from './UserMembersInPublicGroupRepresentation';
|
|
4
4
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
5
5
|
export declare const TTL = 300;
|
|
6
|
-
export declare const VERSION = "
|
|
6
|
+
export declare const VERSION = "ff9b160e9ebbf564f9bbe3a7ee37cc16";
|
|
7
7
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
8
8
|
export declare const RepresentationType: string;
|
|
9
9
|
export declare function normalize(input: PublicGroupMembershipDetailsRepresentation, existing: PublicGroupMembershipDetailsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PublicGroupMembershipDetailsRepresentationNormalized;
|
|
@@ -18,6 +18,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
18
18
|
* (none)
|
|
19
19
|
*/
|
|
20
20
|
export interface PublicGroupMembershipDetailsRepresentationNormalized {
|
|
21
|
+
/** Is Member of Group */
|
|
22
|
+
isMember: boolean;
|
|
21
23
|
/** Output response data for Channel Programs */
|
|
22
24
|
listChannelPrograms: Array<PublicGroupMembersInPublicGroupRepresentation_PublicGroupMembersInPublicGroupRepresentation>;
|
|
23
25
|
/** Output response data for Public Groups */
|
|
@@ -40,6 +42,7 @@ export interface PublicGroupMembershipDetailsRepresentationNormalized {
|
|
|
40
42
|
* (none)
|
|
41
43
|
*/
|
|
42
44
|
export interface PublicGroupMembershipDetailsRepresentation {
|
|
45
|
+
isMember: boolean;
|
|
43
46
|
listChannelPrograms: Array<PublicGroupMembersInPublicGroupRepresentation_PublicGroupMembersInPublicGroupRepresentation>;
|
|
44
47
|
listPublicGroups: Array<PublicGroupMembersInPublicGroupRepresentation_PublicGroupMembersInPublicGroupRepresentation>;
|
|
45
48
|
listRoles: Array<RolesInGroupRepresentation_RolesInGroupRepresentation>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
-
export declare const VERSION = "
|
|
2
|
+
export declare const VERSION = "8f69c6b84d8d2d88af30e45bfe796380";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
5
|
export declare function normalize(input: UserPermissionInfoRepresentation, existing: UserPermissionInfoRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): UserPermissionInfoRepresentationNormalized;
|
|
@@ -14,6 +14,20 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
14
14
|
* (none)
|
|
15
15
|
*/
|
|
16
16
|
export interface UserPermissionInfoRepresentationNormalized {
|
|
17
|
+
/** The user permission's parentApiName */
|
|
18
|
+
parentApiName: string;
|
|
19
|
+
/** The user permission's parentDescription */
|
|
20
|
+
parentDescription: string;
|
|
21
|
+
/** The user permission's parentHasActivationRequired */
|
|
22
|
+
parentHasActivationRequired: boolean;
|
|
23
|
+
/** The user permission's parentId */
|
|
24
|
+
parentId: string;
|
|
25
|
+
/** The user permission's parentIsCustom */
|
|
26
|
+
parentIsCustom: boolean;
|
|
27
|
+
/** The user permission's parentLabel */
|
|
28
|
+
parentLabel: string;
|
|
29
|
+
/** The user permission's parentProfileLicense */
|
|
30
|
+
parentProfileLicense: string;
|
|
17
31
|
/** The user permission's apiName */
|
|
18
32
|
userPermApiName: string;
|
|
19
33
|
/** The user permission's description */
|
|
@@ -28,6 +42,13 @@ export interface UserPermissionInfoRepresentationNormalized {
|
|
|
28
42
|
* (none)
|
|
29
43
|
*/
|
|
30
44
|
export interface UserPermissionInfoRepresentation {
|
|
45
|
+
parentApiName: string;
|
|
46
|
+
parentDescription: string;
|
|
47
|
+
parentHasActivationRequired: boolean;
|
|
48
|
+
parentId: string;
|
|
49
|
+
parentIsCustom: boolean;
|
|
50
|
+
parentLabel: string;
|
|
51
|
+
parentProfileLicense: string;
|
|
31
52
|
userPermApiName: string;
|
|
32
53
|
userPermDescription: string;
|
|
33
54
|
userPermLabel: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-platform-sharing",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.306.0",
|
|
4
4
|
"description": "Sharing",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/platform-sharing.js",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"test:unit": "jest"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@salesforce/lds-bindings": "^1.
|
|
43
|
+
"@salesforce/lds-bindings": "^1.306.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.306.0"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -1185,12 +1185,17 @@ function equals$9(existing, incoming) {
|
|
|
1185
1185
|
}
|
|
1186
1186
|
|
|
1187
1187
|
const TTL$2 = 300;
|
|
1188
|
-
const VERSION$8 = "
|
|
1188
|
+
const VERSION$8 = "ff9b160e9ebbf564f9bbe3a7ee37cc16";
|
|
1189
1189
|
function validate$8(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 + '")');
|
|
1193
1193
|
}
|
|
1194
|
+
const obj_isMember = obj.isMember;
|
|
1195
|
+
const path_isMember = path + '.isMember';
|
|
1196
|
+
if (typeof obj_isMember !== 'boolean') {
|
|
1197
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isMember + '" (at "' + path_isMember + '")');
|
|
1198
|
+
}
|
|
1194
1199
|
const obj_listChannelPrograms = obj.listChannelPrograms;
|
|
1195
1200
|
const path_listChannelPrograms = path + '.listChannelPrograms';
|
|
1196
1201
|
if (!ArrayIsArray(obj_listChannelPrograms)) {
|
|
@@ -1312,6 +1317,10 @@ const select$b = function PublicGroupMembershipDetailsRepresentationSelect() {
|
|
|
1312
1317
|
version: VERSION$8,
|
|
1313
1318
|
private: [],
|
|
1314
1319
|
selections: [
|
|
1320
|
+
{
|
|
1321
|
+
name: 'isMember',
|
|
1322
|
+
kind: 'Scalar'
|
|
1323
|
+
},
|
|
1315
1324
|
{
|
|
1316
1325
|
name: 'listChannelPrograms',
|
|
1317
1326
|
kind: 'Object',
|
|
@@ -1358,6 +1367,11 @@ const select$b = function PublicGroupMembershipDetailsRepresentationSelect() {
|
|
|
1358
1367
|
};
|
|
1359
1368
|
};
|
|
1360
1369
|
function equals$8(existing, incoming) {
|
|
1370
|
+
const existing_isMember = existing.isMember;
|
|
1371
|
+
const incoming_isMember = incoming.isMember;
|
|
1372
|
+
if (!(existing_isMember === incoming_isMember)) {
|
|
1373
|
+
return false;
|
|
1374
|
+
}
|
|
1361
1375
|
const existing_listChannelPrograms = existing.listChannelPrograms;
|
|
1362
1376
|
const incoming_listChannelPrograms = incoming.listChannelPrograms;
|
|
1363
1377
|
const equals_listChannelPrograms_items = equalsArray(existing_listChannelPrograms, incoming_listChannelPrograms, (existing_listChannelPrograms_item, incoming_listChannelPrograms_item) => {
|
|
@@ -2355,12 +2369,47 @@ const getPublicGroupShareDataAdapterFactory = (luvio) => function sharing__getPu
|
|
|
2355
2369
|
buildCachedSnapshotCachePolicy$1, buildNetworkSnapshotCachePolicy$1);
|
|
2356
2370
|
};
|
|
2357
2371
|
|
|
2358
|
-
const VERSION$1 = "
|
|
2372
|
+
const VERSION$1 = "8f69c6b84d8d2d88af30e45bfe796380";
|
|
2359
2373
|
function validate$1(obj, path = 'UserPermissionInfoRepresentation') {
|
|
2360
2374
|
const v_error = (() => {
|
|
2361
2375
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2362
2376
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2363
2377
|
}
|
|
2378
|
+
const obj_parentApiName = obj.parentApiName;
|
|
2379
|
+
const path_parentApiName = path + '.parentApiName';
|
|
2380
|
+
if (typeof obj_parentApiName !== 'string') {
|
|
2381
|
+
return new TypeError('Expected "string" but received "' + typeof obj_parentApiName + '" (at "' + path_parentApiName + '")');
|
|
2382
|
+
}
|
|
2383
|
+
const obj_parentDescription = obj.parentDescription;
|
|
2384
|
+
const path_parentDescription = path + '.parentDescription';
|
|
2385
|
+
if (typeof obj_parentDescription !== 'string') {
|
|
2386
|
+
return new TypeError('Expected "string" but received "' + typeof obj_parentDescription + '" (at "' + path_parentDescription + '")');
|
|
2387
|
+
}
|
|
2388
|
+
const obj_parentHasActivationRequired = obj.parentHasActivationRequired;
|
|
2389
|
+
const path_parentHasActivationRequired = path + '.parentHasActivationRequired';
|
|
2390
|
+
if (typeof obj_parentHasActivationRequired !== 'boolean') {
|
|
2391
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_parentHasActivationRequired + '" (at "' + path_parentHasActivationRequired + '")');
|
|
2392
|
+
}
|
|
2393
|
+
const obj_parentId = obj.parentId;
|
|
2394
|
+
const path_parentId = path + '.parentId';
|
|
2395
|
+
if (typeof obj_parentId !== 'string') {
|
|
2396
|
+
return new TypeError('Expected "string" but received "' + typeof obj_parentId + '" (at "' + path_parentId + '")');
|
|
2397
|
+
}
|
|
2398
|
+
const obj_parentIsCustom = obj.parentIsCustom;
|
|
2399
|
+
const path_parentIsCustom = path + '.parentIsCustom';
|
|
2400
|
+
if (typeof obj_parentIsCustom !== 'boolean') {
|
|
2401
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_parentIsCustom + '" (at "' + path_parentIsCustom + '")');
|
|
2402
|
+
}
|
|
2403
|
+
const obj_parentLabel = obj.parentLabel;
|
|
2404
|
+
const path_parentLabel = path + '.parentLabel';
|
|
2405
|
+
if (typeof obj_parentLabel !== 'string') {
|
|
2406
|
+
return new TypeError('Expected "string" but received "' + typeof obj_parentLabel + '" (at "' + path_parentLabel + '")');
|
|
2407
|
+
}
|
|
2408
|
+
const obj_parentProfileLicense = obj.parentProfileLicense;
|
|
2409
|
+
const path_parentProfileLicense = path + '.parentProfileLicense';
|
|
2410
|
+
if (typeof obj_parentProfileLicense !== 'string') {
|
|
2411
|
+
return new TypeError('Expected "string" but received "' + typeof obj_parentProfileLicense + '" (at "' + path_parentProfileLicense + '")');
|
|
2412
|
+
}
|
|
2364
2413
|
const obj_userPermApiName = obj.userPermApiName;
|
|
2365
2414
|
const path_userPermApiName = path + '.userPermApiName';
|
|
2366
2415
|
if (typeof obj_userPermApiName !== 'string') {
|
|
@@ -2385,6 +2434,34 @@ const select$2 = function UserPermissionInfoRepresentationSelect() {
|
|
|
2385
2434
|
version: VERSION$1,
|
|
2386
2435
|
private: [],
|
|
2387
2436
|
selections: [
|
|
2437
|
+
{
|
|
2438
|
+
name: 'parentApiName',
|
|
2439
|
+
kind: 'Scalar'
|
|
2440
|
+
},
|
|
2441
|
+
{
|
|
2442
|
+
name: 'parentDescription',
|
|
2443
|
+
kind: 'Scalar'
|
|
2444
|
+
},
|
|
2445
|
+
{
|
|
2446
|
+
name: 'parentHasActivationRequired',
|
|
2447
|
+
kind: 'Scalar'
|
|
2448
|
+
},
|
|
2449
|
+
{
|
|
2450
|
+
name: 'parentId',
|
|
2451
|
+
kind: 'Scalar'
|
|
2452
|
+
},
|
|
2453
|
+
{
|
|
2454
|
+
name: 'parentIsCustom',
|
|
2455
|
+
kind: 'Scalar'
|
|
2456
|
+
},
|
|
2457
|
+
{
|
|
2458
|
+
name: 'parentLabel',
|
|
2459
|
+
kind: 'Scalar'
|
|
2460
|
+
},
|
|
2461
|
+
{
|
|
2462
|
+
name: 'parentProfileLicense',
|
|
2463
|
+
kind: 'Scalar'
|
|
2464
|
+
},
|
|
2388
2465
|
{
|
|
2389
2466
|
name: 'userPermApiName',
|
|
2390
2467
|
kind: 'Scalar'
|
|
@@ -2401,6 +2478,41 @@ const select$2 = function UserPermissionInfoRepresentationSelect() {
|
|
|
2401
2478
|
};
|
|
2402
2479
|
};
|
|
2403
2480
|
function equals$1(existing, incoming) {
|
|
2481
|
+
const existing_parentHasActivationRequired = existing.parentHasActivationRequired;
|
|
2482
|
+
const incoming_parentHasActivationRequired = incoming.parentHasActivationRequired;
|
|
2483
|
+
if (!(existing_parentHasActivationRequired === incoming_parentHasActivationRequired)) {
|
|
2484
|
+
return false;
|
|
2485
|
+
}
|
|
2486
|
+
const existing_parentIsCustom = existing.parentIsCustom;
|
|
2487
|
+
const incoming_parentIsCustom = incoming.parentIsCustom;
|
|
2488
|
+
if (!(existing_parentIsCustom === incoming_parentIsCustom)) {
|
|
2489
|
+
return false;
|
|
2490
|
+
}
|
|
2491
|
+
const existing_parentApiName = existing.parentApiName;
|
|
2492
|
+
const incoming_parentApiName = incoming.parentApiName;
|
|
2493
|
+
if (!(existing_parentApiName === incoming_parentApiName)) {
|
|
2494
|
+
return false;
|
|
2495
|
+
}
|
|
2496
|
+
const existing_parentDescription = existing.parentDescription;
|
|
2497
|
+
const incoming_parentDescription = incoming.parentDescription;
|
|
2498
|
+
if (!(existing_parentDescription === incoming_parentDescription)) {
|
|
2499
|
+
return false;
|
|
2500
|
+
}
|
|
2501
|
+
const existing_parentId = existing.parentId;
|
|
2502
|
+
const incoming_parentId = incoming.parentId;
|
|
2503
|
+
if (!(existing_parentId === incoming_parentId)) {
|
|
2504
|
+
return false;
|
|
2505
|
+
}
|
|
2506
|
+
const existing_parentLabel = existing.parentLabel;
|
|
2507
|
+
const incoming_parentLabel = incoming.parentLabel;
|
|
2508
|
+
if (!(existing_parentLabel === incoming_parentLabel)) {
|
|
2509
|
+
return false;
|
|
2510
|
+
}
|
|
2511
|
+
const existing_parentProfileLicense = existing.parentProfileLicense;
|
|
2512
|
+
const incoming_parentProfileLicense = incoming.parentProfileLicense;
|
|
2513
|
+
if (!(existing_parentProfileLicense === incoming_parentProfileLicense)) {
|
|
2514
|
+
return false;
|
|
2515
|
+
}
|
|
2404
2516
|
const existing_userPermApiName = existing.userPermApiName;
|
|
2405
2517
|
const incoming_userPermApiName = incoming.userPermApiName;
|
|
2406
2518
|
if (!(existing_userPermApiName === incoming_userPermApiName)) {
|
|
@@ -2715,4 +2827,4 @@ withDefaultLuvio((luvio) => {
|
|
|
2715
2827
|
});
|
|
2716
2828
|
|
|
2717
2829
|
export { getAllSobjects, getAllSobjects_imperative, getGroupsForUser, getGroupsForUser_imperative, getPublicGroupMembershipDetails, getPublicGroupMembershipDetails_imperative, getPublicGroupShareData, getPublicGroupShareData_imperative, getUserPermissions, getUserPermissions_imperative };
|
|
2718
|
-
// version: 1.
|
|
2830
|
+
// version: 1.306.0-c047984840
|
package/src/raml/api.raml
CHANGED
|
@@ -177,6 +177,9 @@ types:
|
|
|
177
177
|
API
|
|
178
178
|
type: object
|
|
179
179
|
properties:
|
|
180
|
+
isMember:
|
|
181
|
+
description: Is Member of Group
|
|
182
|
+
type: boolean
|
|
180
183
|
listChannelPrograms:
|
|
181
184
|
description: Output response data for Channel Programs
|
|
182
185
|
type: array
|
|
@@ -686,6 +689,27 @@ types:
|
|
|
686
689
|
UI
|
|
687
690
|
type: object
|
|
688
691
|
properties:
|
|
692
|
+
parentApiName:
|
|
693
|
+
description: The user permission's parentApiName
|
|
694
|
+
type: string
|
|
695
|
+
parentDescription:
|
|
696
|
+
description: The user permission's parentDescription
|
|
697
|
+
type: string
|
|
698
|
+
parentHasActivationRequired:
|
|
699
|
+
description: The user permission's parentHasActivationRequired
|
|
700
|
+
type: boolean
|
|
701
|
+
parentId:
|
|
702
|
+
description: The user permission's parentId
|
|
703
|
+
type: string
|
|
704
|
+
parentIsCustom:
|
|
705
|
+
description: The user permission's parentIsCustom
|
|
706
|
+
type: boolean
|
|
707
|
+
parentLabel:
|
|
708
|
+
description: The user permission's parentLabel
|
|
709
|
+
type: string
|
|
710
|
+
parentProfileLicense:
|
|
711
|
+
description: The user permission's parentProfileLicense
|
|
712
|
+
type: string
|
|
689
713
|
userPermApiName:
|
|
690
714
|
description: The user permission's apiName
|
|
691
715
|
type: string
|