@smartico/public-api 0.0.98 → 0.0.99

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartico/public-api",
3
- "version": "0.0.98",
3
+ "version": "0.0.99",
4
4
  "description": "Smartico public API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -69,6 +69,8 @@ export enum ClassId {
69
69
  MARK_INBOX_READ_RESPONSE = 530,
70
70
  MARK_INBOX_STARRED_REQUEST = 531,
71
71
  MARK_INBOX_STARRED_RESPONSE = 532,
72
+ MARK_INBOX_DELETED_REQUEST = 535,
73
+ MARK_INBOX_DELETED_RESPONSE = 536,
72
74
 
73
75
 
74
76
  GET_BONUSES_REQUEST = 600,
@@ -15,4 +15,5 @@ export interface InboxMessage {
15
15
  engagement_uid: string;
16
16
  is_read: boolean;
17
17
  is_starred: boolean;
18
+ is_deleted: boolean;
18
19
  }
@@ -0,0 +1,6 @@
1
+ import { ProtocolMessage } from "../Base/ProtocolMessage";
2
+
3
+ export interface MarkInboxMessageDeletedRequest extends ProtocolMessage {
4
+ engagement_uid?: string;
5
+ all_deleted?: boolean;
6
+ }
@@ -0,0 +1,5 @@
1
+ import { ProtocolMessage } from "../Base/ProtocolMessage";
2
+
3
+ export interface MarkInboxMessageDeletedResponse extends ProtocolMessage {
4
+ errCode: number;
5
+ }
@@ -5,4 +5,6 @@ export * from "./InboxMessageType";
5
5
  export * from "./MarkInboxMessageReadRequest";
6
6
  export * from "./MarkInboxMessageReadResponse";
7
7
  export * from "./MarkInboxMessageStarredRequest";
8
- export * from "./MarkInboxMessageStarredResponse";
8
+ export * from "./MarkInboxMessageStarredResponse";
9
+ export * from './MarkInboxMessageDeletedRequest';
10
+ export * from './MarkInboxMessageDeletedResponse';