@bizdoc/core 3.8.10 → 3.9.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/index.d.ts CHANGED
@@ -150,8 +150,8 @@ interface HeaderModel<T = any> {
150
150
  documentId: number;
151
151
  substituteId?: string;
152
152
  ownerId: string;
153
- action?: string;
154
- ownerById?: string;
153
+ actionId?: string;
154
+ ownerBy?: string;
155
155
  id: number;
156
156
  version: number;
157
157
  formId: string;
@@ -160,12 +160,14 @@ interface HeaderModel<T = any> {
160
160
  value?: number;
161
161
  received: Date;
162
162
  replied?: Date;
163
+ repliedBy?: string;
163
164
  folderId: string;
164
165
  read: boolean;
165
166
  note?: string;
166
- /** sender id */
167
+ /** author of note */
167
168
  noteBy?: string;
168
169
  senderId?: string;
170
+ senderBy?: string;
169
171
  stateId: string;
170
172
  currencyCode?: string;
171
173
  flag?: boolean;
@@ -182,7 +184,7 @@ interface DocumentModel<T = any> {
182
184
  currencyCode?: string;
183
185
  value?: number;
184
186
  ownerId: string;
185
- ownerById?: string;
187
+ ownerBy?: string;
186
188
  documentId: number;
187
189
  version: number;
188
190
  formId: string;
@@ -232,7 +234,7 @@ interface RecipientModel<T = any> extends HeaderModel<T>, DocumentModel<T> {
232
234
  roleId?: string;
233
235
  escalated?: boolean;
234
236
  tags?: string[];
235
- byId?: string;
237
+ repliedBy?: string;
236
238
  substituteId?: string;
237
239
  }
238
240
  interface ConnectorInfo {
@@ -279,7 +281,8 @@ declare type LogType = 'Submit' | 'Download' | 'StateChange' | 'ActionTaken' | '
279
281
  interface Recipient {
280
282
  originId?: number;
281
283
  substituteId?: string;
282
- byId?: string;
284
+ senderId?: string;
285
+ senderBy?: string;
283
286
  nodeId?: string;
284
287
  userId: string;
285
288
  pending: boolean;
@@ -287,8 +290,9 @@ interface Recipient {
287
290
  role?: string;
288
291
  received: Date;
289
292
  replied?: Date;
293
+ repliedBy?: string;
290
294
  estimate?: boolean;
291
- action?: string;
295
+ actionId?: string;
292
296
  fyi?: boolean;
293
297
  id: number;
294
298
  note?: string;
@@ -412,7 +416,6 @@ interface Profile {
412
416
  byId?: string;
413
417
  byName?: string;
414
418
  name: string;
415
- impersonating?: string;
416
419
  available?: AvailabilityState | null;
417
420
  gender?: Gender;
418
421
  byGender?: Gender;
@@ -432,11 +435,12 @@ interface Profile {
432
435
  widgets: Widget[];
433
436
  notifications: Notification[];
434
437
  options: Options$5;
435
- inbox: HeaderModel[];
436
- inboxCount?: number;
438
+ /** unread */
439
+ inboxCount: number;
437
440
  messages: Message[];
438
- messagesCount?: number;
439
- recents?: HeaderModel[];
441
+ /** unread */
442
+ messagesCount: number;
443
+ /** chat */
440
444
  conversations: Contact[];
441
445
  conversationsCount: number;
442
446
  license?: License;
@@ -1188,8 +1192,8 @@ declare class SessionService {
1188
1192
  */
1189
1193
  listImpersonate(search?: string): Observable<PersonInfo[]>;
1190
1194
  impersonate(userId: string): Observable<PersonInfo>;
1191
- markInboxAsTouched(): Promise<WatermarkInfo>;
1192
- markNotificationsAsTouched(): Promise<WatermarkInfo>;
1195
+ markInboxAsTouched(): Promise<void> | Promise<WatermarkInfo>;
1196
+ markNotificationsAsTouched(): Promise<void> | Promise<WatermarkInfo>;
1193
1197
  private _constructPalette;
1194
1198
  private _getBrowserLang;
1195
1199
  /**
@@ -7850,13 +7854,16 @@ declare class ExpandedItemComponent implements OnInit, OnDestroy {
7850
7854
  private readonly _destroy;
7851
7855
  constructor(_sb: PromptService, _chat: ChatInfo, _accounts: AccountService, _mailbox: MailboxService, _session: SessionService, _dir: Directionality, _dialog: MatDialog, _translate: TranslateService, _messaging: HubService);
7852
7856
  ngOnInit(): void;
7857
+ /** */
7858
+ private _refresh;
7859
+ /** */
7853
7860
  private _note;
7854
7861
  private _target;
7855
7862
  private _actionName;
7856
7863
  private _fromNow;
7857
7864
  private _duration;
7858
7865
  /** */
7859
- private _refresh;
7866
+ private _sender;
7860
7867
  private _comments;
7861
7868
  private _awaiting;
7862
7869
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bizdoc/core",
3
- "version": "3.8.10",
3
+ "version": "3.9.0",
4
4
  "author": "Moding Ltd.",
5
5
  "homepage": "https://github.com/moding-il/bizdoc.core",
6
6
  "license": "https://github.com/moding-il/bizdoc.core/blob/master/License.md",