o2g-node-sdk 1.0.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 (103) hide show
  1. package/README.md +10 -0
  2. package/dist/ErrorInfo.d.ts +87 -0
  3. package/dist/host.d.ts +17 -0
  4. package/dist/o2g-analytics.d.ts +66 -0
  5. package/dist/o2g-cc-agent.d.ts +247 -0
  6. package/dist/o2g-cc-mngt.d.ts +32 -0
  7. package/dist/o2g-cc-pilot.d.ts +42 -0
  8. package/dist/o2g-comlog.d.ts +173 -0
  9. package/dist/o2g-directory.d.ts +88 -0
  10. package/dist/o2g-eventSummary.d.ts +33 -0
  11. package/dist/o2g-maint.d.ts +48 -0
  12. package/dist/o2g-messaging.d.ts +115 -0
  13. package/dist/o2g-node-sdk.d.ts +159 -0
  14. package/dist/o2g-node-sdk.js +2 -0
  15. package/dist/o2g-node-sdk.js.map +1 -0
  16. package/dist/o2g-pbx-mngt.d.ts +146 -0
  17. package/dist/o2g-phone-set-prog.d.ts +29 -0
  18. package/dist/o2g-routing.d.ts +267 -0
  19. package/dist/o2g-rsi.d.ts +160 -0
  20. package/dist/o2g-telephony.d.ts +795 -0
  21. package/dist/o2g-user-mngt.d.ts +42 -0
  22. package/dist/o2g-users.d.ts +85 -0
  23. package/dist/subscription.d.ts +258 -0
  24. package/dist/types/analytics/call-type.d.ts +24 -0
  25. package/dist/types/analytics/charging-file.d.ts +27 -0
  26. package/dist/types/analytics/charging-result.d.ts +43 -0
  27. package/dist/types/analytics/charging.d.ts +105 -0
  28. package/dist/types/analytics/incident.d.ts +46 -0
  29. package/dist/types/analytics/tel-facility.d.ts +44 -0
  30. package/dist/types/analytics/time-range.d.ts +22 -0
  31. package/dist/types/cc-agent/cc-agent-events.d.ts +54 -0
  32. package/dist/types/cc-agent/cc-agent-types.d.ts +71 -0
  33. package/dist/types/cc-agent/intrusion-mode.d.ts +24 -0
  34. package/dist/types/cc-agent/operator-dyn-state.d.ts +56 -0
  35. package/dist/types/cc-agent/operator-main-state.d.ts +21 -0
  36. package/dist/types/cc-agent/operator-type.d.ts +16 -0
  37. package/dist/types/cc-mngt/calendar/abstract-calendar.d.ts +7 -0
  38. package/dist/types/cc-mngt/calendar/calendar.d.ts +19 -0
  39. package/dist/types/cc-mngt/calendar/day-of-week.d.ts +33 -0
  40. package/dist/types/cc-mngt/calendar/exception-calendar.d.ts +26 -0
  41. package/dist/types/cc-mngt/calendar/normal-calendar.d.ts +27 -0
  42. package/dist/types/cc-mngt/calendar/transition.d.ts +49 -0
  43. package/dist/types/cc-mngt/cc-mngt-types.d.ts +0 -0
  44. package/dist/types/cc-mngt/pilot-rule-set.d.ts +27 -0
  45. package/dist/types/cc-mngt/pilot-rule.d.ts +14 -0
  46. package/dist/types/cc-mngt/pilot.d.ts +56 -0
  47. package/dist/types/cc-pilot/cc-pilot-events.d.ts +111 -0
  48. package/dist/types/comlog/com-record.d.ts +51 -0
  49. package/dist/types/comlog/comlog-events.d.ts +74 -0
  50. package/dist/types/comlog/comlog-types.d.ts +131 -0
  51. package/dist/types/comlog/option.d.ts +23 -0
  52. package/dist/types/comlog/page.d.ts +33 -0
  53. package/dist/types/comlog/query-filter.d.ts +44 -0
  54. package/dist/types/comlog/query-result.d.ts +27 -0
  55. package/dist/types/comlog/reason.d.ts +61 -0
  56. package/dist/types/comlog/role.d.ts +17 -0
  57. package/dist/types/common/common-types.d.ts +78 -0
  58. package/dist/types/directory/criteria.d.ts +90 -0
  59. package/dist/types/directory/directory-types.d.ts +44 -0
  60. package/dist/types/directory/filter-item.d.ts +21 -0
  61. package/dist/types/directory/operation-filter.d.ts +21 -0
  62. package/dist/types/events/events.d.ts +54 -0
  63. package/dist/types/eventsummary/event-summary-counter.d.ts +44 -0
  64. package/dist/types/eventsummary/event-summary-events.d.ts +15 -0
  65. package/dist/types/maint/maint-events.d.ts +51 -0
  66. package/dist/types/maint/maint-types.d.ts +162 -0
  67. package/dist/types/messaging/messaging-types.d.ts +120 -0
  68. package/dist/types/pbxmngt/attribute-filter.d.ts +30 -0
  69. package/dist/types/pbxmngt/attribute-type.d.ts +34 -0
  70. package/dist/types/pbxmngt/filter.d.ts +46 -0
  71. package/dist/types/pbxmngt/model.d.ts +63 -0
  72. package/dist/types/pbxmngt/pbx-attr-map.d.ts +91 -0
  73. package/dist/types/pbxmngt/pbx-attribute.d.ts +87 -0
  74. package/dist/types/pbxmngt/pbx-object.d.ts +45 -0
  75. package/dist/types/pbxmngt/pbxmngt-events.d.ts +59 -0
  76. package/dist/types/pbxmngt/pbxmngt-types.d.ts +14 -0
  77. package/dist/types/phoneset/device-key.d.ts +27 -0
  78. package/dist/types/phoneset/phoneset-types.d.ts +17 -0
  79. package/dist/types/phoneset/pin-control.d.ts +21 -0
  80. package/dist/types/phoneset/pin.d.ts +50 -0
  81. package/dist/types/phoneset/programmable-key.d.ts +23 -0
  82. package/dist/types/phoneset/softkey.d.ts +17 -0
  83. package/dist/types/routing/destination.d.ts +19 -0
  84. package/dist/types/routing/forward.d.ts +51 -0
  85. package/dist/types/routing/overflow.d.ts +42 -0
  86. package/dist/types/routing/routing-capability.d.ts +31 -0
  87. package/dist/types/routing/routing-events.d.ts +15 -0
  88. package/dist/types/routing/routing-state.d.ts +67 -0
  89. package/dist/types/routing/routing-types.d.ts +10 -0
  90. package/dist/types/rsi/add-digit-coll-criteria.d.ts +16 -0
  91. package/dist/types/rsi/collection-cause.d.ts +21 -0
  92. package/dist/types/rsi/routing-caller-type.d.ts +17 -0
  93. package/dist/types/rsi/routing-reason.d.ts +25 -0
  94. package/dist/types/rsi/rsi-events.d.ts +76 -0
  95. package/dist/types/rsi/rsi-types.d.ts +49 -0
  96. package/dist/types/rsi/tones.d.ts +25 -0
  97. package/dist/types/telephony/RecordingAction.d.ts +6 -0
  98. package/dist/types/telephony/acr-skill.d.ts +29 -0
  99. package/dist/types/telephony/telephony-events.d.ts +292 -0
  100. package/dist/types/telephony/telephony-types.d.ts +587 -0
  101. package/dist/types/users/users-events.d.ts +33 -0
  102. package/dist/types/users/users-types.d.ts +129 -0
  103. package/package.json +33 -0
@@ -0,0 +1,587 @@
1
+ import { PartyInfo } from "../common/common-types";
2
+ /**
3
+ * PilotStatus represents the possible state of a CCD pilot.
4
+ */
5
+ export declare enum PilotStatus {
6
+ /**
7
+ * The pilot is opened.
8
+ */
9
+ OPEN = "OPEN",
10
+ /**
11
+ * The pilot is blocked.
12
+ */
13
+ BLOCKED = "BLOCKED",
14
+ /**
15
+ * The pilot is on a blocked on a rule.
16
+ */
17
+ BLOCKED_ON_RULE = "BLOCKED_ON_RULE",
18
+ /**
19
+ * The pilot is blocked on a blocking rule.
20
+ */
21
+ BLOCKED_ON_BLOCKED_RULE = "BLOCKED_ON_BLOCKED_RULE",
22
+ /**
23
+ * The pilot is in general forwarding.
24
+ */
25
+ GENERAL_FORWARDING = "GENERAL_FORWARDING",
26
+ /**
27
+ * The pilot is in general forwarding on a rule.
28
+ */
29
+ GENERAL_FORWARDING_ON_RULE = "GENERAL_FORWARDING_ON_RULE",
30
+ /**
31
+ * The pilot is blocked while in general forwarding on a rule.
32
+ */
33
+ BLOCKED_ON_GENERAL_FORWARDING_RULE = "BLOCKED_ON_GENERAL_FORWARDING_RULE",
34
+ /**
35
+ * Other state
36
+ */
37
+ OTHER = "OTHER"
38
+ }
39
+ /**
40
+ * AcdData represents the acd extension for an acd call.
41
+ */
42
+ export type AcdData = {
43
+ /**
44
+ * The information associated to this acd call.
45
+ */
46
+ callInfo: {
47
+ /**
48
+ * The waiting time in a queue from which the call has been distributed.
49
+ */
50
+ queueWaitingTime: number;
51
+ /**
52
+ * The global waiting time in the CCD.
53
+ */
54
+ globalWaitingTime: number;
55
+ /**
56
+ * The agent group the agent who answer the call is logged in.
57
+ */
58
+ agentGroup: number;
59
+ /**
60
+ * Whether it's a local acd call
61
+ */
62
+ local: boolean;
63
+ };
64
+ /**
65
+ * The information about the queue that has distributed this call.
66
+ */
67
+ queueData: {
68
+ /**
69
+ * The estimated waiting time in the queue.
70
+ */
71
+ waitingTime: number;
72
+ /**
73
+ * Whether this queue is saturated.
74
+ */
75
+ saturated: boolean;
76
+ };
77
+ /**
78
+ * The pilot who has distributed this call.
79
+ */
80
+ pilotNumber: string;
81
+ /**
82
+ * The RSI point that has distribuet this call.
83
+ */
84
+ rsiNumber: string;
85
+ /**
86
+ * Whether the transfer on the pilot was supervised.
87
+ */
88
+ supervisedTransfer: boolean;
89
+ /**
90
+ * The information about the possible transfer on a pilot.
91
+ */
92
+ pilotTransferInfo: {
93
+ /**
94
+ * Whether the transfer on this CCD pilot is possible.
95
+ */
96
+ transferPossible: boolean;
97
+ /**
98
+ * The pilot state.
99
+ */
100
+ pilotStatus: PilotStatus;
101
+ };
102
+ };
103
+ /**
104
+ * TrunkIdentification provide provide information on network timeslot and trunk eqt number for external calls.
105
+ */
106
+ export type TrunkIdentification = {
107
+ networkTimeslot: number;
108
+ trunkNeqt: number[];
109
+ };
110
+ /**
111
+ * MediaState represents a media state.
112
+ */
113
+ export declare enum MediaState {
114
+ /**
115
+ * Unknown media state. O2G server is unable to provide the information.
116
+ */
117
+ UNKNOWN = "UNKNOWN",
118
+ /**
119
+ * The OFF_HOOK state is used when the device is busy for other reasons than a call; typically during service activation.
120
+ */
121
+ OFF_HOOK = "OFF_HOOK",
122
+ /**
123
+ * Idle state, no activity on the media.
124
+ */
125
+ IDLE = "IDLE",
126
+ /**
127
+ * The call is releasing.
128
+ */
129
+ RELEASING = "RELEASING",
130
+ /**
131
+ * A make call is in progress.
132
+ */
133
+ DIALING = "DIALING",
134
+ /**
135
+ * The call has been placed on hold.
136
+ */
137
+ HELD = "HELD",
138
+ /**
139
+ * An incoming call is ringing.
140
+ */
141
+ RINGING_INCOMING = "RINGING_INCOMING",
142
+ /**
143
+ * An outgoing call is in progress and the other party is ringing.
144
+ */
145
+ RINGING_OUTGOING = "RINGING_OUTGOING",
146
+ /**
147
+ * The call is active.
148
+ */
149
+ ACTIVE = "ACTIVE"
150
+ }
151
+ /**
152
+ * RecordState represent the recording state of a call.
153
+ */
154
+ export declare enum RecordState {
155
+ /**
156
+ * The recording is paused.
157
+ */
158
+ PAUSED = "PAUSED",
159
+ /**
160
+ * The recording is in progress.
161
+ */
162
+ RECORDING = "RECORDING"
163
+ }
164
+ /**
165
+ * Tag represents a tag (a define name and value), associated to a call.
166
+ */
167
+ export type Tag = {
168
+ /**
169
+ * The tag name.
170
+ */
171
+ name: string;
172
+ /**
173
+ * The tag value.
174
+ */
175
+ value: string;
176
+ /**
177
+ * The tag visibilities.
178
+ */
179
+ visibilities: string[];
180
+ };
181
+ /**
182
+ * {@code Capabilities} represents the call capabilities.
183
+ */
184
+ export type CallCapabilities = {
185
+ /**
186
+ * Whether a device can be added to this call.
187
+ */
188
+ addDevice: boolean;
189
+ /**
190
+ * Whether a participant can be added to this call.
191
+ */
192
+ addParticipant: boolean;
193
+ /**
194
+ * Whether this call can be intruted.
195
+ */
196
+ intruded: boolean;
197
+ /**
198
+ * Whether it is possible to make intrusion on the user called through this call.
199
+ */
200
+ intrusion: boolean;
201
+ /**
202
+ * Whether this call can be transferred.
203
+ */
204
+ transfer: boolean;
205
+ /**
206
+ * Whether this call can be blind transferred.
207
+ */
208
+ blindTransfer: boolean;
209
+ /**
210
+ * Whether this call can be merged.
211
+ */
212
+ merge: boolean;
213
+ /**
214
+ * Whether this call can be redirected.
215
+ */
216
+ redirect: boolean;
217
+ /**
218
+ * Whether this call can be picked up.
219
+ */
220
+ pickedUp: boolean;
221
+ /**
222
+ * Whether this call can be redirected on voice mail.
223
+ */
224
+ redirectToVoiceMail: boolean;
225
+ /**
226
+ * Whether this call can overflow on voice mail.
227
+ */
228
+ overflowToVoiceMail: boolean;
229
+ /**
230
+ * Whether this call can be dropped.
231
+ */
232
+ dropMe: boolean;
233
+ /**
234
+ * Whether this call can be terminated.
235
+ */
236
+ terminate: boolean;
237
+ /**
238
+ * Whether this call can be rejected.
239
+ */
240
+ reject: boolean;
241
+ /**
242
+ * Whether this call can be called back.
243
+ */
244
+ callBack: boolean;
245
+ /**
246
+ * Whether this call can be parked.
247
+ */
248
+ park: boolean;
249
+ /**
250
+ * Whether this call can be recorded.
251
+ */
252
+ startRecord: boolean;
253
+ /**
254
+ * Whether this call can stop recording.
255
+ */
256
+ stopRecord: boolean;
257
+ /**
258
+ * Whether this call can pause recording.
259
+ */
260
+ pauseRecord: boolean;
261
+ /**
262
+ * Whether this call can resume recording.
263
+ */
264
+ resumeRecord: boolean;
265
+ /**
266
+ * Whether drop participant can be invoked.
267
+ */
268
+ dropParticipant: boolean;
269
+ /**
270
+ * Whether mute participant can be invoked.
271
+ */
272
+ muteParticipant: boolean;
273
+ /**
274
+ * Whether hold participant can be invoked.
275
+ */
276
+ holdParticipant: boolean;
277
+ };
278
+ /**
279
+ * CallData represents the data associated to a call.
280
+ */
281
+ export type CallData = {
282
+ /**
283
+ * The initial party called.
284
+ */
285
+ initialCalled: PartyInfo;
286
+ /**
287
+ * Whether it is a device call.
288
+ */
289
+ deviceCall: boolean;
290
+ /**
291
+ * Whether this call is anonymous
292
+ */
293
+ anonymous: boolean;
294
+ /**
295
+ * tThis call UUID.
296
+ */
297
+ callUUID: string;
298
+ /**
299
+ * The state of this call.
300
+ */
301
+ state: MediaState;
302
+ /**
303
+ * The record state of this call.
304
+ */
305
+ recordState: RecordState;
306
+ /**
307
+ * This call tags.
308
+ */
309
+ tags: Tag[];
310
+ /**
311
+ * The call capabilities.
312
+ */
313
+ capabilities: CallCapabilities;
314
+ /**
315
+ * The call associated data.
316
+ */
317
+ associatedData: string;
318
+ /**
319
+ * This call account info.
320
+ */
321
+ accountInfo: string;
322
+ /**
323
+ * This call associated acd data.
324
+ */
325
+ acdCallData: AcdData;
326
+ /**
327
+ * TrunkIdentification if external call
328
+ */
329
+ trunkIdentification: TrunkIdentification;
330
+ };
331
+ /**
332
+ * LegCapabilities represents the capability of a leg. The action that can
333
+ * be carried out on the leg according to its state.
334
+ */
335
+ export type LegCapabilities = {
336
+ /**
337
+ * Whether the leg can answer.
338
+ */
339
+ answer: boolean;
340
+ /**
341
+ * Whether the leg can be dropped.
342
+ */
343
+ drop: boolean;
344
+ /**
345
+ * Whether the leg can be put on hold.
346
+ */
347
+ hold: boolean;
348
+ /**
349
+ * Whether can be retrieved.
350
+ */
351
+ retrieve: boolean;
352
+ /**
353
+ * Whether the leg can be reconnected.
354
+ */
355
+ reconnect: boolean;
356
+ /**
357
+ * Whether the leg can be muted.
358
+ */
359
+ mute: boolean;
360
+ /**
361
+ * Whether the leg can be unmuted.
362
+ */
363
+ unMute: boolean;
364
+ /**
365
+ * Whether the leg can send dtmf.
366
+ */
367
+ sendDtmf: boolean;
368
+ /**
369
+ * Whether the leg can switch device.
370
+ */
371
+ switchDevice: boolean;
372
+ };
373
+ /**
374
+ * Describes a leg. A leg represents the user's device involved in a call for a
375
+ * dedicated media.
376
+ */
377
+ export type Leg = {
378
+ /**
379
+ * The phone number of the device associated to this leg.
380
+ */
381
+ deviceId: string;
382
+ /**
383
+ * The media state.
384
+ */
385
+ state: MediaState;
386
+ /**
387
+ * Whether the remote party is ringing.
388
+ */
389
+ ringingRemote: boolean;
390
+ /**
391
+ * The leg capabilities.
392
+ */
393
+ capabilities: LegCapabilities;
394
+ };
395
+ /**
396
+ * Represent a participant to a call. A call can have several participants (case of a conference for exemple).
397
+ * A participant is identified by its 'participantId', a unique 'string generated by the O2G server
398
+ */
399
+ export type Participant = {
400
+ /**
401
+ * This participant identifier.
402
+ */
403
+ participantId: string;
404
+ /**
405
+ * This participant identity.
406
+ */
407
+ identity: PartyInfo;
408
+ /**
409
+ * Whether this paticipant is anonymous.
410
+ */
411
+ anonymous: boolean;
412
+ /**
413
+ * Whether this participant can be dropped.
414
+ */
415
+ undroppable: boolean;
416
+ /**
417
+ * The participant media state.
418
+ */
419
+ state: MediaState;
420
+ };
421
+ /**
422
+ * This class describe a call.
423
+ * <p>
424
+ * An outgoing call is created by invoking one of the 'makeCall' methods
425
+ * of {@link Telephony}.
426
+ */
427
+ export type Call = {
428
+ /**
429
+ * The reference of this call.
430
+ */
431
+ callRef: string;
432
+ /**
433
+ * The data associated to this call.
434
+ */
435
+ callData: CallData;
436
+ /**
437
+ * The legs associated to this call.
438
+ */
439
+ legs: Leg[];
440
+ /**
441
+ * The participants associated to this call.
442
+ */
443
+ participants: Participant[];
444
+ };
445
+ /**
446
+ * DeviceCapabilities represents the capability of a device.
447
+ */
448
+ export type DeviceCapabilities = {
449
+ /**
450
+ * The device identifier.
451
+ */
452
+ deviceId: string;
453
+ /**
454
+ * Wheather this device can make a call.
455
+ */
456
+ makeCall: boolean;
457
+ /**
458
+ * Wheather his device can make a business call.
459
+ */
460
+ makeBusinessCall: boolean;
461
+ /**
462
+ * Wheather this device can make a private call.
463
+ */
464
+ makePrivateCall: boolean;
465
+ /**
466
+ * Wheather this device can unpark a call.
467
+ */
468
+ unParkCall: boolean;
469
+ };
470
+ /**
471
+ * Represent the possible user states.
472
+ */
473
+ export declare enum UserState {
474
+ /**
475
+ * The user is free, there is no call in progress
476
+ */
477
+ FREE = "FREE",
478
+ /**
479
+ * The user is busy
480
+ */
481
+ BUSY = "BUSY",
482
+ /**
483
+ * The user state is unknown
484
+ */
485
+ UNKNOWN = "UNKNOWN"
486
+ }
487
+ /**
488
+ * Represent the telephonic state of a user.
489
+ */
490
+ export type TelephonicState = {
491
+ /**
492
+ * The collection of active calls.
493
+ */
494
+ calls: Call[];
495
+ /**
496
+ * The collection of device capabilities.
497
+ */
498
+ deviceCapabilities: DeviceCapabilities[];
499
+ /**
500
+ * The user state.
501
+ */
502
+ userState: UserState;
503
+ };
504
+ /**
505
+ * OperationalState represents a device dynamic state.
506
+ */
507
+ export declare enum OperationalState {
508
+ /**
509
+ * The device is in service.
510
+ */
511
+ IN_SERVICE = "IN_SERVICE",
512
+ /**
513
+ * The device is out of service.
514
+ */
515
+ OUT_OF_SERVICE = "OUT_OF_SERVICE",
516
+ /**
517
+ * The dynamic state of the device can not be retrieved.
518
+ */
519
+ UNKNOWN = "UNKNOWN"
520
+ }
521
+ /**
522
+ * DeviceState represents the state of a device.
523
+ */
524
+ export type DeviceState = {
525
+ /**
526
+ * The device identifier.
527
+ */
528
+ deviceId: string;
529
+ /**
530
+ * The device state.
531
+ */
532
+ state: OperationalState;
533
+ };
534
+ /**
535
+ * Describes the status of a user regarding hunting groups
536
+ */
537
+ export type HuntingGroupStatus = {
538
+ /**
539
+ * Whether a user is logged in a hunting group.
540
+ */
541
+ logon: boolean;
542
+ };
543
+ /**
544
+ * HuntingGroups gives the hunting group information for a user. A user
545
+ * can be member of only one hunting group.
546
+ */
547
+ export type HuntingGroups = {
548
+ /**
549
+ * The list of existing hunting groups.
550
+ */
551
+ hgList: string[];
552
+ /**
553
+ * The hunting group which the user is a member.
554
+ */
555
+ currentHg: string;
556
+ };
557
+ /**
558
+ * Callback represenst a callback request. A callback request is
559
+ * invoked by a caller to ask the user to call him back as sson as possible.
560
+ */
561
+ export type Callback = {
562
+ /**
563
+ * This callback request id.
564
+ */
565
+ callbackId: string;
566
+ /**
567
+ * The party who has requested the callback.
568
+ */
569
+ partyInfo: PartyInfo;
570
+ };
571
+ /**
572
+ * MiniMessage class represents a mini message exchanged between two users.
573
+ */
574
+ export type MiniMessage = {
575
+ /**
576
+ * The sender of this message.
577
+ */
578
+ sender: string;
579
+ /**
580
+ * The date the mini message has been sent.
581
+ */
582
+ dateTime: string;
583
+ /**
584
+ * The text message.
585
+ */
586
+ message: string;
587
+ };
@@ -0,0 +1,33 @@
1
+ import { O2GEvent } from "../../internal/events/o2g-event";
2
+ import { User } from "../users/users-types";
3
+ /**
4
+ * This event is sent on creation of an user (only for administrator).
5
+ */
6
+ export type OnUserCreated = O2GEvent<'OnUserCreated', {
7
+ /**
8
+ * The created user
9
+ */
10
+ user: User;
11
+ }>;
12
+ /**
13
+ * This event is sent when user is deleted (only for administrator).
14
+ */
15
+ export type OnUserDeleted = O2GEvent<'OnUserDeleted', {
16
+ /**
17
+ * Login name of the user (identifier which can be used for filtering).
18
+ */
19
+ loginName: string;
20
+ }>;
21
+ /**
22
+ * This event is sent on any change on the user's data.
23
+ */
24
+ export type OnUserInfoChanged = O2GEvent<'OnUserInfoChanged', {
25
+ /**
26
+ * Login name of the user receiving the event.
27
+ */
28
+ loginName: string;
29
+ /**
30
+ * The changed user.
31
+ */
32
+ user: User;
33
+ }>;