@genesislcap/foundation-user 14.302.0 → 14.302.1-alpha-945e484.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.
Files changed (29) hide show
  1. package/dist/dts/tsdoc-metadata.json +1 -1
  2. package/dist/foundation-user.api.json +1 -1
  3. package/docs/api/foundation-user.defaultuser.addauthenticationchangelistener.md +33 -3
  4. package/docs/api/foundation-user.defaultuser.haspermission.md +33 -3
  5. package/docs/api/foundation-user.defaultuser.hasprofile.md +33 -3
  6. package/docs/api/foundation-user.defaultuser.md +493 -33
  7. package/docs/api/foundation-user.defaultuser.set.md +33 -3
  8. package/docs/api/foundation-user.defaultuser.trackaction.md +31 -3
  9. package/docs/api/foundation-user.legacyuserapi.md +100 -8
  10. package/docs/api/foundation-user.md +283 -31
  11. package/docs/api/foundation-user.setuserproperties.md +136 -8
  12. package/docs/api/foundation-user.user.addauthenticationchangelistener.md +33 -3
  13. package/docs/api/foundation-user.user.haspermission.md +33 -3
  14. package/docs/api/foundation-user.user.hasprofile.md +33 -3
  15. package/docs/api/foundation-user.user.md +279 -21
  16. package/docs/api/foundation-user.user.set.md +33 -3
  17. package/docs/api/foundation-user.useractionhistory.md +86 -8
  18. package/docs/api/foundation-user.useractionhistory.trackaction.md +31 -3
  19. package/docs/api/foundation-user.userconfig.md +98 -8
  20. package/docs/api/foundation-user.userconfig.setuser.md +45 -4
  21. package/docs/api/foundation-user.userconfig.unsetuser.md +31 -3
  22. package/docs/api/foundation-user.userdetailsproductproperty.md +60 -4
  23. package/docs/api/foundation-user.userdetailsproperty.md +155 -9
  24. package/docs/api/foundation-user.userdetailssystemproperty.md +41 -3
  25. package/docs/api/foundation-user.userpathhistory.md +88 -8
  26. package/docs/api/foundation-user.userqueueproperties.md +98 -6
  27. package/docs/api/index.md +21 -3
  28. package/docs/api-report.md.api.md +316 -0
  29. package/package.json +12 -12
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.34.9"
8
+ "packageVersion": "7.52.10"
9
9
  }
10
10
  ]
11
11
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "metadata": {
3
3
  "toolPackage": "@microsoft/api-extractor",
4
- "toolVersion": "7.34.9",
4
+ "toolVersion": "7.52.10",
5
5
  "schemaVersion": 1011,
6
6
  "oldestForwardsCompatibleVersion": 1001,
7
7
  "tsdocConfig": {
@@ -12,9 +12,39 @@ addAuthenticationChangeListener(listener: Listener<UserAuthenticationChangeEvent
12
12
 
13
13
  ## Parameters
14
14
 
15
- | Parameter | Type | Description |
16
- | --- | --- | --- |
17
- | listener | Listener&lt;[UserAuthenticationChangeEvent](./foundation-user.userauthenticationchangeevent.md)<!-- -->&gt; | A listener function. |
15
+ <table><thead><tr><th>
16
+
17
+ Parameter
18
+
19
+
20
+ </th><th>
21
+
22
+ Type
23
+
24
+
25
+ </th><th>
26
+
27
+ Description
28
+
29
+
30
+ </th></tr></thead>
31
+ <tbody><tr><td>
32
+
33
+ listener
34
+
35
+
36
+ </td><td>
37
+
38
+ Listener&lt;[UserAuthenticationChangeEvent](./foundation-user.userauthenticationchangeevent.md)<!-- -->&gt;
39
+
40
+
41
+ </td><td>
42
+
43
+ A listener function.
44
+
45
+
46
+ </td></tr>
47
+ </tbody></table>
18
48
 
19
49
  **Returns:**
20
50
 
@@ -12,9 +12,39 @@ hasPermission(permission: string | string[]): boolean;
12
12
 
13
13
  ## Parameters
14
14
 
15
- | Parameter | Type | Description |
16
- | --- | --- | --- |
17
- | permission | string \| string\[\] | A permission string or an array of permission strings to check. |
15
+ <table><thead><tr><th>
16
+
17
+ Parameter
18
+
19
+
20
+ </th><th>
21
+
22
+ Type
23
+
24
+
25
+ </th><th>
26
+
27
+ Description
28
+
29
+
30
+ </th></tr></thead>
31
+ <tbody><tr><td>
32
+
33
+ permission
34
+
35
+
36
+ </td><td>
37
+
38
+ string \| string\[\]
39
+
40
+
41
+ </td><td>
42
+
43
+ A permission string or an array of permission strings to check.
44
+
45
+
46
+ </td></tr>
47
+ </tbody></table>
18
48
 
19
49
  **Returns:**
20
50
 
@@ -12,9 +12,39 @@ hasProfile(profile: string | string[]): boolean;
12
12
 
13
13
  ## Parameters
14
14
 
15
- | Parameter | Type | Description |
16
- | --- | --- | --- |
17
- | profile | string \| string\[\] | A profile string or an array of profile strings to check. |
15
+ <table><thead><tr><th>
16
+
17
+ Parameter
18
+
19
+
20
+ </th><th>
21
+
22
+ Type
23
+
24
+
25
+ </th><th>
26
+
27
+ Description
28
+
29
+
30
+ </th></tr></thead>
31
+ <tbody><tr><td>
32
+
33
+ profile
34
+
35
+
36
+ </td><td>
37
+
38
+ string \| string\[\]
39
+
40
+
41
+ </td><td>
42
+
43
+ A profile string or an array of profile strings to check.
44
+
45
+
46
+ </td></tr>
47
+ </tbody></table>
18
48
 
19
49
  **Returns:**
20
50
 
@@ -15,40 +15,500 @@ export declare class DefaultUser implements User
15
15
 
16
16
  ## Properties
17
17
 
18
- | Property | Modifiers | Type | Description |
19
- | --- | --- | --- | --- |
20
- | [actionHistory](./foundation-user.defaultuser.actionhistory.md) | | unknown\[\] | Array of actions that have been tracked. |
21
- | [details](./foundation-user.defaultuser.details.md) | | [SetUserProperties](./foundation-user.setuserproperties.md)<!-- -->\['details'\] | |
22
- | [isAnonymous](./foundation-user.defaultuser.isanonymous.md) | <code>readonly</code> | boolean | |
23
- | [isAuthenticated](./foundation-user.defaultuser.isauthenticated.md) | | boolean | |
24
- | [pathHistory](./foundation-user.defaultuser.pathhistory.md) | | string\[\] | Array of paths that have been tracked. |
25
- | [permission](./foundation-user.defaultuser.permission.md) | | string\[\] | |
26
- | [permissions](./foundation-user.defaultuser.permissions.md) | <code>readonly</code> | string\[\] | |
27
- | [profile](./foundation-user.defaultuser.profile.md) | | string\[\] | |
28
- | [profiles](./foundation-user.defaultuser.profiles.md) | <code>readonly</code> | string\[\] | |
29
- | [rawProperties](./foundation-user.defaultuser.rawproperties.md) | | Partial&lt;[SetUserProperties](./foundation-user.setuserproperties.md)<!-- -->&gt; | A structuredClone of the raw unmanaged properties used to set the user. |
30
- | [sourceRef](./foundation-user.defaultuser.sourceref.md) | | string | |
31
- | [userKVs](./foundation-user.defaultuser.userkvs.md) | | { \[key: string\]: any; } | |
32
- | [username](./foundation-user.defaultuser.username.md) | <code>readonly</code> | string | |
33
- | [userName](./foundation-user.defaultuser.username.md) | | string | |
18
+ <table><thead><tr><th>
19
+
20
+ Property
21
+
22
+
23
+ </th><th>
24
+
25
+ Modifiers
26
+
27
+
28
+ </th><th>
29
+
30
+ Type
31
+
32
+
33
+ </th><th>
34
+
35
+ Description
36
+
37
+
38
+ </th></tr></thead>
39
+ <tbody><tr><td>
40
+
41
+ [actionHistory](./foundation-user.defaultuser.actionhistory.md)
42
+
43
+
44
+ </td><td>
45
+
46
+
47
+ </td><td>
48
+
49
+ unknown\[\]
50
+
51
+
52
+ </td><td>
53
+
54
+ Array of actions that have been tracked.
55
+
56
+
57
+ </td></tr>
58
+ <tr><td>
59
+
60
+ [details](./foundation-user.defaultuser.details.md)
61
+
62
+
63
+ </td><td>
64
+
65
+
66
+ </td><td>
67
+
68
+ [SetUserProperties](./foundation-user.setuserproperties.md)<!-- -->\['details'\]
69
+
70
+
71
+ </td><td>
72
+
73
+
74
+
75
+ </td></tr>
76
+ <tr><td>
77
+
78
+ [isAnonymous](./foundation-user.defaultuser.isanonymous.md)
79
+
80
+
81
+ </td><td>
82
+
83
+ `readonly`
84
+
85
+
86
+ </td><td>
87
+
88
+ boolean
89
+
90
+
91
+ </td><td>
92
+
93
+
94
+
95
+ </td></tr>
96
+ <tr><td>
97
+
98
+ [isAuthenticated](./foundation-user.defaultuser.isauthenticated.md)
99
+
100
+
101
+ </td><td>
102
+
103
+
104
+ </td><td>
105
+
106
+ boolean
107
+
108
+
109
+ </td><td>
110
+
111
+
112
+
113
+ </td></tr>
114
+ <tr><td>
115
+
116
+ [pathHistory](./foundation-user.defaultuser.pathhistory.md)
117
+
118
+
119
+ </td><td>
120
+
121
+
122
+ </td><td>
123
+
124
+ string\[\]
125
+
126
+
127
+ </td><td>
128
+
129
+ Array of paths that have been tracked.
130
+
131
+
132
+ </td></tr>
133
+ <tr><td>
134
+
135
+ [permission](./foundation-user.defaultuser.permission.md)
136
+
137
+
138
+ </td><td>
139
+
140
+
141
+ </td><td>
142
+
143
+ string\[\]
144
+
145
+
146
+ </td><td>
147
+
148
+
149
+
150
+ </td></tr>
151
+ <tr><td>
152
+
153
+ [permissions](./foundation-user.defaultuser.permissions.md)
154
+
155
+
156
+ </td><td>
157
+
158
+ `readonly`
159
+
160
+
161
+ </td><td>
162
+
163
+ string\[\]
164
+
165
+
166
+ </td><td>
167
+
168
+
169
+ </td></tr>
170
+ <tr><td>
171
+
172
+ [profile](./foundation-user.defaultuser.profile.md)
173
+
174
+
175
+ </td><td>
176
+
177
+
178
+ </td><td>
179
+
180
+ string\[\]
181
+
182
+
183
+ </td><td>
184
+
185
+
186
+
187
+ </td></tr>
188
+ <tr><td>
189
+
190
+ [profiles](./foundation-user.defaultuser.profiles.md)
191
+
192
+
193
+ </td><td>
194
+
195
+ `readonly`
196
+
197
+
198
+ </td><td>
199
+
200
+ string\[\]
201
+
202
+
203
+ </td><td>
204
+
205
+
206
+ </td></tr>
207
+ <tr><td>
208
+
209
+ [rawProperties](./foundation-user.defaultuser.rawproperties.md)
210
+
211
+
212
+ </td><td>
213
+
214
+
215
+ </td><td>
216
+
217
+ Partial&lt;[SetUserProperties](./foundation-user.setuserproperties.md)<!-- -->&gt;
218
+
219
+
220
+ </td><td>
221
+
222
+ A structuredClone of the raw unmanaged properties used to set the user.
223
+
224
+
225
+ </td></tr>
226
+ <tr><td>
227
+
228
+ [sourceRef](./foundation-user.defaultuser.sourceref.md)
229
+
230
+
231
+ </td><td>
232
+
233
+
234
+ </td><td>
235
+
236
+ string
237
+
238
+
239
+ </td><td>
240
+
241
+
242
+
243
+ </td></tr>
244
+ <tr><td>
245
+
246
+ [userKVs](./foundation-user.defaultuser.userkvs.md)
247
+
248
+
249
+ </td><td>
250
+
251
+
252
+ </td><td>
253
+
254
+ { \[key: string\]: any; }
255
+
256
+
257
+ </td><td>
258
+
259
+
260
+
261
+ </td></tr>
262
+ <tr><td>
263
+
264
+ [username](./foundation-user.defaultuser.username.md)
265
+
266
+
267
+ </td><td>
268
+
269
+ `readonly`
270
+
271
+
272
+ </td><td>
273
+
274
+ string
275
+
276
+
277
+ </td><td>
278
+
279
+
280
+ </td></tr>
281
+ <tr><td>
282
+
283
+ [userName](./foundation-user.defaultuser.username.md)
284
+
285
+
286
+ </td><td>
287
+
288
+
289
+ </td><td>
290
+
291
+ string
292
+
293
+
294
+ </td><td>
295
+
296
+
297
+
298
+ </td></tr>
299
+ </tbody></table>
34
300
 
35
301
  ## Methods
36
302
 
37
- | Method | Modifiers | Description |
38
- | --- | --- | --- |
39
- | [addAuthenticationChangeListener(listener)](./foundation-user.defaultuser.addauthenticationchangelistener.md) | | |
40
- | [clearActions()](./foundation-user.defaultuser.clearactions.md) | | Clears action history. |
41
- | [clearPaths()](./foundation-user.defaultuser.clearpaths.md) | | Clears path history. |
42
- | [clearTrackingHistory()](./foundation-user.defaultuser.cleartrackinghistory.md) | | |
43
- | [hasAdminProfile()](./foundation-user.defaultuser.hasadminprofile.md) | | |
44
- | [hasPermission(permission)](./foundation-user.defaultuser.haspermission.md) | | |
45
- | [hasProfile(profile)](./foundation-user.defaultuser.hasprofile.md) | | |
46
- | [isAdmin()](./foundation-user.defaultuser.isadmin.md) | | |
47
- | [isBanned()](./foundation-user.defaultuser.isbanned.md) | | |
48
- | [lastAction()](./foundation-user.defaultuser.lastaction.md) | | |
49
- | [lastPath()](./foundation-user.defaultuser.lastpath.md) | | May be used to return to a target path after authentication. |
50
- | [set(properties)](./foundation-user.defaultuser.set.md) | | |
51
- | [trackAction(details)](./foundation-user.defaultuser.trackaction.md) | | Track an action. |
52
- | [trackPath()](./foundation-user.defaultuser.trackpath.md) | | Track current path. |
53
- | [unset()](./foundation-user.defaultuser.unset.md) | | |
303
+ <table><thead><tr><th>
304
+
305
+ Method
306
+
307
+
308
+ </th><th>
309
+
310
+ Modifiers
311
+
312
+
313
+ </th><th>
314
+
315
+ Description
316
+
317
+
318
+ </th></tr></thead>
319
+ <tbody><tr><td>
320
+
321
+ [addAuthenticationChangeListener(listener)](./foundation-user.defaultuser.addauthenticationchangelistener.md)
322
+
323
+
324
+ </td><td>
325
+
326
+
327
+ </td><td>
328
+
329
+
330
+ </td></tr>
331
+ <tr><td>
332
+
333
+ [clearActions()](./foundation-user.defaultuser.clearactions.md)
334
+
335
+
336
+ </td><td>
337
+
338
+
339
+ </td><td>
340
+
341
+ Clears action history.
342
+
343
+
344
+ </td></tr>
345
+ <tr><td>
346
+
347
+ [clearPaths()](./foundation-user.defaultuser.clearpaths.md)
348
+
349
+
350
+ </td><td>
351
+
352
+
353
+ </td><td>
354
+
355
+ Clears path history.
356
+
357
+
358
+ </td></tr>
359
+ <tr><td>
360
+
361
+ [clearTrackingHistory()](./foundation-user.defaultuser.cleartrackinghistory.md)
362
+
363
+
364
+ </td><td>
365
+
366
+
367
+ </td><td>
368
+
369
+
370
+
371
+ </td></tr>
372
+ <tr><td>
373
+
374
+ [hasAdminProfile()](./foundation-user.defaultuser.hasadminprofile.md)
375
+
376
+
377
+ </td><td>
378
+
379
+
380
+ </td><td>
381
+
382
+
383
+ </td></tr>
384
+ <tr><td>
385
+
386
+ [hasPermission(permission)](./foundation-user.defaultuser.haspermission.md)
387
+
388
+
389
+ </td><td>
390
+
391
+
392
+ </td><td>
393
+
394
+
395
+ </td></tr>
396
+ <tr><td>
397
+
398
+ [hasProfile(profile)](./foundation-user.defaultuser.hasprofile.md)
399
+
400
+
401
+ </td><td>
402
+
403
+
404
+ </td><td>
405
+
406
+
407
+ </td></tr>
408
+ <tr><td>
409
+
410
+ [isAdmin()](./foundation-user.defaultuser.isadmin.md)
411
+
412
+
413
+ </td><td>
414
+
415
+
416
+ </td><td>
417
+
418
+
419
+
420
+ </td></tr>
421
+ <tr><td>
422
+
423
+ [isBanned()](./foundation-user.defaultuser.isbanned.md)
424
+
425
+
426
+ </td><td>
427
+
428
+
429
+ </td><td>
430
+
431
+
432
+
433
+ </td></tr>
434
+ <tr><td>
435
+
436
+ [lastAction()](./foundation-user.defaultuser.lastaction.md)
437
+
438
+
439
+ </td><td>
440
+
441
+
442
+ </td><td>
443
+
444
+
445
+ </td></tr>
446
+ <tr><td>
447
+
448
+ [lastPath()](./foundation-user.defaultuser.lastpath.md)
449
+
450
+
451
+ </td><td>
452
+
453
+
454
+ </td><td>
455
+
456
+ May be used to return to a target path after authentication.
457
+
458
+
459
+ </td></tr>
460
+ <tr><td>
461
+
462
+ [set(properties)](./foundation-user.defaultuser.set.md)
463
+
464
+
465
+ </td><td>
466
+
467
+
468
+ </td><td>
469
+
470
+
471
+ </td></tr>
472
+ <tr><td>
473
+
474
+ [trackAction(details)](./foundation-user.defaultuser.trackaction.md)
475
+
476
+
477
+ </td><td>
478
+
479
+
480
+ </td><td>
481
+
482
+ Track an action.
483
+
484
+
485
+ </td></tr>
486
+ <tr><td>
487
+
488
+ [trackPath()](./foundation-user.defaultuser.trackpath.md)
489
+
490
+
491
+ </td><td>
492
+
493
+
494
+ </td><td>
495
+
496
+ Track current path.
497
+
498
+
499
+ </td></tr>
500
+ <tr><td>
501
+
502
+ [unset()](./foundation-user.defaultuser.unset.md)
503
+
504
+
505
+ </td><td>
506
+
507
+
508
+ </td><td>
509
+
510
+
511
+
512
+ </td></tr>
513
+ </tbody></table>
54
514
 
@@ -12,9 +12,39 @@ set(properties: Partial<SetUserProperties>): User;
12
12
 
13
13
  ## Parameters
14
14
 
15
- | Parameter | Type | Description |
16
- | --- | --- | --- |
17
- | properties | Partial&lt;[SetUserProperties](./foundation-user.setuserproperties.md)<!-- -->&gt; | The UserProperties used to populate the User. |
15
+ <table><thead><tr><th>
16
+
17
+ Parameter
18
+
19
+
20
+ </th><th>
21
+
22
+ Type
23
+
24
+
25
+ </th><th>
26
+
27
+ Description
28
+
29
+
30
+ </th></tr></thead>
31
+ <tbody><tr><td>
32
+
33
+ properties
34
+
35
+
36
+ </td><td>
37
+
38
+ Partial&lt;[SetUserProperties](./foundation-user.setuserproperties.md)<!-- -->&gt;
39
+
40
+
41
+ </td><td>
42
+
43
+ The UserProperties used to populate the User.
44
+
45
+
46
+ </td></tr>
47
+ </tbody></table>
18
48
 
19
49
  **Returns:**
20
50