@salesforce/lds-adapters-platform-sharing 1.346.0 → 1.347.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.
|
@@ -211,7 +211,7 @@ function equals$i(existing, incoming) {
|
|
|
211
211
|
return true;
|
|
212
212
|
}
|
|
213
213
|
|
|
214
|
-
const VERSION$h = "
|
|
214
|
+
const VERSION$h = "b984cbd781a1fe08882148dd1f42ac20";
|
|
215
215
|
function validate$h(obj, path = 'QueueRepresentation') {
|
|
216
216
|
const v_error = (() => {
|
|
217
217
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -222,16 +222,41 @@ function validate$h(obj, path = 'QueueRepresentation') {
|
|
|
222
222
|
if (typeof obj_developerName !== 'string') {
|
|
223
223
|
return new TypeError('Expected "string" but received "' + typeof obj_developerName + '" (at "' + path_developerName + '")');
|
|
224
224
|
}
|
|
225
|
+
const obj_modifiedById = obj.modifiedById;
|
|
226
|
+
const path_modifiedById = path + '.modifiedById';
|
|
227
|
+
if (typeof obj_modifiedById !== 'string') {
|
|
228
|
+
return new TypeError('Expected "string" but received "' + typeof obj_modifiedById + '" (at "' + path_modifiedById + '")');
|
|
229
|
+
}
|
|
230
|
+
const obj_modifiedByName = obj.modifiedByName;
|
|
231
|
+
const path_modifiedByName = path + '.modifiedByName';
|
|
232
|
+
if (typeof obj_modifiedByName !== 'string') {
|
|
233
|
+
return new TypeError('Expected "string" but received "' + typeof obj_modifiedByName + '" (at "' + path_modifiedByName + '")');
|
|
234
|
+
}
|
|
235
|
+
const obj_modifiedDate = obj.modifiedDate;
|
|
236
|
+
const path_modifiedDate = path + '.modifiedDate';
|
|
237
|
+
if (typeof obj_modifiedDate !== 'string') {
|
|
238
|
+
return new TypeError('Expected "string" but received "' + typeof obj_modifiedDate + '" (at "' + path_modifiedDate + '")');
|
|
239
|
+
}
|
|
225
240
|
const obj_name = obj.name;
|
|
226
241
|
const path_name = path + '.name';
|
|
227
242
|
if (typeof obj_name !== 'string') {
|
|
228
243
|
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
229
244
|
}
|
|
245
|
+
const obj_queueEmail = obj.queueEmail;
|
|
246
|
+
const path_queueEmail = path + '.queueEmail';
|
|
247
|
+
if (typeof obj_queueEmail !== 'string') {
|
|
248
|
+
return new TypeError('Expected "string" but received "' + typeof obj_queueEmail + '" (at "' + path_queueEmail + '")');
|
|
249
|
+
}
|
|
230
250
|
const obj_queueId = obj.queueId;
|
|
231
251
|
const path_queueId = path + '.queueId';
|
|
232
252
|
if (typeof obj_queueId !== 'string') {
|
|
233
253
|
return new TypeError('Expected "string" but received "' + typeof obj_queueId + '" (at "' + path_queueId + '")');
|
|
234
254
|
}
|
|
255
|
+
const obj_supportedSObjects = obj.supportedSObjects;
|
|
256
|
+
const path_supportedSObjects = path + '.supportedSObjects';
|
|
257
|
+
if (typeof obj_supportedSObjects !== 'string') {
|
|
258
|
+
return new TypeError('Expected "string" but received "' + typeof obj_supportedSObjects + '" (at "' + path_supportedSObjects + '")');
|
|
259
|
+
}
|
|
235
260
|
})();
|
|
236
261
|
return v_error === undefined ? null : v_error;
|
|
237
262
|
}
|
|
@@ -245,13 +270,33 @@ const select$n = function QueueRepresentationSelect() {
|
|
|
245
270
|
name: 'developerName',
|
|
246
271
|
kind: 'Scalar'
|
|
247
272
|
},
|
|
273
|
+
{
|
|
274
|
+
name: 'modifiedById',
|
|
275
|
+
kind: 'Scalar'
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
name: 'modifiedByName',
|
|
279
|
+
kind: 'Scalar'
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
name: 'modifiedDate',
|
|
283
|
+
kind: 'Scalar'
|
|
284
|
+
},
|
|
248
285
|
{
|
|
249
286
|
name: 'name',
|
|
250
287
|
kind: 'Scalar'
|
|
251
288
|
},
|
|
289
|
+
{
|
|
290
|
+
name: 'queueEmail',
|
|
291
|
+
kind: 'Scalar'
|
|
292
|
+
},
|
|
252
293
|
{
|
|
253
294
|
name: 'queueId',
|
|
254
295
|
kind: 'Scalar'
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
name: 'supportedSObjects',
|
|
299
|
+
kind: 'Scalar'
|
|
255
300
|
}
|
|
256
301
|
]
|
|
257
302
|
};
|
|
@@ -262,16 +307,41 @@ function equals$h(existing, incoming) {
|
|
|
262
307
|
if (!(existing_developerName === incoming_developerName)) {
|
|
263
308
|
return false;
|
|
264
309
|
}
|
|
310
|
+
const existing_modifiedById = existing.modifiedById;
|
|
311
|
+
const incoming_modifiedById = incoming.modifiedById;
|
|
312
|
+
if (!(existing_modifiedById === incoming_modifiedById)) {
|
|
313
|
+
return false;
|
|
314
|
+
}
|
|
315
|
+
const existing_modifiedByName = existing.modifiedByName;
|
|
316
|
+
const incoming_modifiedByName = incoming.modifiedByName;
|
|
317
|
+
if (!(existing_modifiedByName === incoming_modifiedByName)) {
|
|
318
|
+
return false;
|
|
319
|
+
}
|
|
320
|
+
const existing_modifiedDate = existing.modifiedDate;
|
|
321
|
+
const incoming_modifiedDate = incoming.modifiedDate;
|
|
322
|
+
if (!(existing_modifiedDate === incoming_modifiedDate)) {
|
|
323
|
+
return false;
|
|
324
|
+
}
|
|
265
325
|
const existing_name = existing.name;
|
|
266
326
|
const incoming_name = incoming.name;
|
|
267
327
|
if (!(existing_name === incoming_name)) {
|
|
268
328
|
return false;
|
|
269
329
|
}
|
|
330
|
+
const existing_queueEmail = existing.queueEmail;
|
|
331
|
+
const incoming_queueEmail = incoming.queueEmail;
|
|
332
|
+
if (!(existing_queueEmail === incoming_queueEmail)) {
|
|
333
|
+
return false;
|
|
334
|
+
}
|
|
270
335
|
const existing_queueId = existing.queueId;
|
|
271
336
|
const incoming_queueId = incoming.queueId;
|
|
272
337
|
if (!(existing_queueId === incoming_queueId)) {
|
|
273
338
|
return false;
|
|
274
339
|
}
|
|
340
|
+
const existing_supportedSObjects = existing.supportedSObjects;
|
|
341
|
+
const incoming_supportedSObjects = incoming.supportedSObjects;
|
|
342
|
+
if (!(existing_supportedSObjects === incoming_supportedSObjects)) {
|
|
343
|
+
return false;
|
|
344
|
+
}
|
|
275
345
|
return true;
|
|
276
346
|
}
|
|
277
347
|
|
|
@@ -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 = "b984cbd781a1fe08882148dd1f42ac20";
|
|
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: QueueRepresentation, existing: QueueRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): QueueRepresentationNormalized;
|
|
@@ -16,10 +16,20 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
16
16
|
export interface QueueRepresentationNormalized {
|
|
17
17
|
/** The API name of the queue. */
|
|
18
18
|
developerName: string;
|
|
19
|
+
/** The Id of user who last modified the Queue. */
|
|
20
|
+
modifiedById: string;
|
|
21
|
+
/** The name of user who last modified the Queue. */
|
|
22
|
+
modifiedByName: string;
|
|
23
|
+
/** The date when the Queue was last modified. */
|
|
24
|
+
modifiedDate: string;
|
|
19
25
|
/** The name of the Queue. */
|
|
20
26
|
name: string;
|
|
27
|
+
/** Queue Email. */
|
|
28
|
+
queueEmail: string;
|
|
21
29
|
/** The Id of the queue. */
|
|
22
30
|
queueId: string;
|
|
31
|
+
/** Supported Objects. */
|
|
32
|
+
supportedSObjects: string;
|
|
23
33
|
}
|
|
24
34
|
/**
|
|
25
35
|
* Output representation of an instance of a Queue for a given user.
|
|
@@ -29,6 +39,11 @@ export interface QueueRepresentationNormalized {
|
|
|
29
39
|
*/
|
|
30
40
|
export interface QueueRepresentation {
|
|
31
41
|
developerName: string;
|
|
42
|
+
modifiedById: string;
|
|
43
|
+
modifiedByName: string;
|
|
44
|
+
modifiedDate: string;
|
|
32
45
|
name: string;
|
|
46
|
+
queueEmail: string;
|
|
33
47
|
queueId: string;
|
|
48
|
+
supportedSObjects: string;
|
|
34
49
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-platform-sharing",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.347.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.347.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.347.0"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -804,7 +804,7 @@ function equals$f(existing, incoming) {
|
|
|
804
804
|
return true;
|
|
805
805
|
}
|
|
806
806
|
|
|
807
|
-
const VERSION$e = "
|
|
807
|
+
const VERSION$e = "b984cbd781a1fe08882148dd1f42ac20";
|
|
808
808
|
function validate$e(obj, path = 'QueueRepresentation') {
|
|
809
809
|
const v_error = (() => {
|
|
810
810
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -815,16 +815,41 @@ function validate$e(obj, path = 'QueueRepresentation') {
|
|
|
815
815
|
if (typeof obj_developerName !== 'string') {
|
|
816
816
|
return new TypeError('Expected "string" but received "' + typeof obj_developerName + '" (at "' + path_developerName + '")');
|
|
817
817
|
}
|
|
818
|
+
const obj_modifiedById = obj.modifiedById;
|
|
819
|
+
const path_modifiedById = path + '.modifiedById';
|
|
820
|
+
if (typeof obj_modifiedById !== 'string') {
|
|
821
|
+
return new TypeError('Expected "string" but received "' + typeof obj_modifiedById + '" (at "' + path_modifiedById + '")');
|
|
822
|
+
}
|
|
823
|
+
const obj_modifiedByName = obj.modifiedByName;
|
|
824
|
+
const path_modifiedByName = path + '.modifiedByName';
|
|
825
|
+
if (typeof obj_modifiedByName !== 'string') {
|
|
826
|
+
return new TypeError('Expected "string" but received "' + typeof obj_modifiedByName + '" (at "' + path_modifiedByName + '")');
|
|
827
|
+
}
|
|
828
|
+
const obj_modifiedDate = obj.modifiedDate;
|
|
829
|
+
const path_modifiedDate = path + '.modifiedDate';
|
|
830
|
+
if (typeof obj_modifiedDate !== 'string') {
|
|
831
|
+
return new TypeError('Expected "string" but received "' + typeof obj_modifiedDate + '" (at "' + path_modifiedDate + '")');
|
|
832
|
+
}
|
|
818
833
|
const obj_name = obj.name;
|
|
819
834
|
const path_name = path + '.name';
|
|
820
835
|
if (typeof obj_name !== 'string') {
|
|
821
836
|
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
822
837
|
}
|
|
838
|
+
const obj_queueEmail = obj.queueEmail;
|
|
839
|
+
const path_queueEmail = path + '.queueEmail';
|
|
840
|
+
if (typeof obj_queueEmail !== 'string') {
|
|
841
|
+
return new TypeError('Expected "string" but received "' + typeof obj_queueEmail + '" (at "' + path_queueEmail + '")');
|
|
842
|
+
}
|
|
823
843
|
const obj_queueId = obj.queueId;
|
|
824
844
|
const path_queueId = path + '.queueId';
|
|
825
845
|
if (typeof obj_queueId !== 'string') {
|
|
826
846
|
return new TypeError('Expected "string" but received "' + typeof obj_queueId + '" (at "' + path_queueId + '")');
|
|
827
847
|
}
|
|
848
|
+
const obj_supportedSObjects = obj.supportedSObjects;
|
|
849
|
+
const path_supportedSObjects = path + '.supportedSObjects';
|
|
850
|
+
if (typeof obj_supportedSObjects !== 'string') {
|
|
851
|
+
return new TypeError('Expected "string" but received "' + typeof obj_supportedSObjects + '" (at "' + path_supportedSObjects + '")');
|
|
852
|
+
}
|
|
828
853
|
})();
|
|
829
854
|
return v_error === undefined ? null : v_error;
|
|
830
855
|
}
|
|
@@ -838,13 +863,33 @@ const select$i = function QueueRepresentationSelect() {
|
|
|
838
863
|
name: 'developerName',
|
|
839
864
|
kind: 'Scalar'
|
|
840
865
|
},
|
|
866
|
+
{
|
|
867
|
+
name: 'modifiedById',
|
|
868
|
+
kind: 'Scalar'
|
|
869
|
+
},
|
|
870
|
+
{
|
|
871
|
+
name: 'modifiedByName',
|
|
872
|
+
kind: 'Scalar'
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
name: 'modifiedDate',
|
|
876
|
+
kind: 'Scalar'
|
|
877
|
+
},
|
|
841
878
|
{
|
|
842
879
|
name: 'name',
|
|
843
880
|
kind: 'Scalar'
|
|
844
881
|
},
|
|
882
|
+
{
|
|
883
|
+
name: 'queueEmail',
|
|
884
|
+
kind: 'Scalar'
|
|
885
|
+
},
|
|
845
886
|
{
|
|
846
887
|
name: 'queueId',
|
|
847
888
|
kind: 'Scalar'
|
|
889
|
+
},
|
|
890
|
+
{
|
|
891
|
+
name: 'supportedSObjects',
|
|
892
|
+
kind: 'Scalar'
|
|
848
893
|
}
|
|
849
894
|
]
|
|
850
895
|
};
|
|
@@ -855,16 +900,41 @@ function equals$e(existing, incoming) {
|
|
|
855
900
|
if (!(existing_developerName === incoming_developerName)) {
|
|
856
901
|
return false;
|
|
857
902
|
}
|
|
903
|
+
const existing_modifiedById = existing.modifiedById;
|
|
904
|
+
const incoming_modifiedById = incoming.modifiedById;
|
|
905
|
+
if (!(existing_modifiedById === incoming_modifiedById)) {
|
|
906
|
+
return false;
|
|
907
|
+
}
|
|
908
|
+
const existing_modifiedByName = existing.modifiedByName;
|
|
909
|
+
const incoming_modifiedByName = incoming.modifiedByName;
|
|
910
|
+
if (!(existing_modifiedByName === incoming_modifiedByName)) {
|
|
911
|
+
return false;
|
|
912
|
+
}
|
|
913
|
+
const existing_modifiedDate = existing.modifiedDate;
|
|
914
|
+
const incoming_modifiedDate = incoming.modifiedDate;
|
|
915
|
+
if (!(existing_modifiedDate === incoming_modifiedDate)) {
|
|
916
|
+
return false;
|
|
917
|
+
}
|
|
858
918
|
const existing_name = existing.name;
|
|
859
919
|
const incoming_name = incoming.name;
|
|
860
920
|
if (!(existing_name === incoming_name)) {
|
|
861
921
|
return false;
|
|
862
922
|
}
|
|
923
|
+
const existing_queueEmail = existing.queueEmail;
|
|
924
|
+
const incoming_queueEmail = incoming.queueEmail;
|
|
925
|
+
if (!(existing_queueEmail === incoming_queueEmail)) {
|
|
926
|
+
return false;
|
|
927
|
+
}
|
|
863
928
|
const existing_queueId = existing.queueId;
|
|
864
929
|
const incoming_queueId = incoming.queueId;
|
|
865
930
|
if (!(existing_queueId === incoming_queueId)) {
|
|
866
931
|
return false;
|
|
867
932
|
}
|
|
933
|
+
const existing_supportedSObjects = existing.supportedSObjects;
|
|
934
|
+
const incoming_supportedSObjects = incoming.supportedSObjects;
|
|
935
|
+
if (!(existing_supportedSObjects === incoming_supportedSObjects)) {
|
|
936
|
+
return false;
|
|
937
|
+
}
|
|
868
938
|
return true;
|
|
869
939
|
}
|
|
870
940
|
|
|
@@ -3348,4 +3418,4 @@ withDefaultLuvio((luvio) => {
|
|
|
3348
3418
|
});
|
|
3349
3419
|
|
|
3350
3420
|
export { addRemoveUserToGroups, addRemoveUserToGroups_imperative, getAllSobjects, getAllSobjects_imperative, getGroupsForUser, getGroupsForUser_imperative, getPublicGroupMembershipDetails, getPublicGroupMembershipDetails_imperative, getPublicGroupShareData, getPublicGroupShareData_imperative, getUserPermissions, getUserPermissions_imperative };
|
|
3351
|
-
// version: 1.
|
|
3421
|
+
// version: 1.347.0-31679f40fc
|
package/src/raml/api.raml
CHANGED
|
@@ -359,6 +359,21 @@ types:
|
|
|
359
359
|
queueId:
|
|
360
360
|
description: The Id of the queue.
|
|
361
361
|
type: string
|
|
362
|
+
queueEmail:
|
|
363
|
+
description: Queue Email.
|
|
364
|
+
type: string
|
|
365
|
+
supportedSObjects:
|
|
366
|
+
description: Supported Objects.
|
|
367
|
+
type: string
|
|
368
|
+
modifiedByName:
|
|
369
|
+
description: The name of user who last modified the Queue.
|
|
370
|
+
type: string
|
|
371
|
+
modifiedById:
|
|
372
|
+
description: The Id of user who last modified the Queue.
|
|
373
|
+
type: string
|
|
374
|
+
modifiedDate:
|
|
375
|
+
description: The date when the Queue was last modified.
|
|
376
|
+
type: string
|
|
362
377
|
QueuesSharingRepresentation:
|
|
363
378
|
description: Output representation of queues with given group as a member
|
|
364
379
|
type: object
|