@pushwoosh/rpc-v2-http-api-data 0.2.282 → 0.2.283
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/data.js +27 -2
- package/messages.d.ts +13 -2
- package/package.json +1 -1
package/data.js
CHANGED
|
@@ -20988,7 +20988,8 @@ export const data = {
|
|
|
20988
20988
|
"All",
|
|
20989
20989
|
"Push",
|
|
20990
20990
|
"Email",
|
|
20991
|
-
"Sms"
|
|
20991
|
+
"Sms",
|
|
20992
|
+
"Inbox"
|
|
20992
20993
|
]
|
|
20993
20994
|
},
|
|
20994
20995
|
"pushwoosh.rpc_v2.messages.PushInfo": {
|
|
@@ -21025,6 +21026,26 @@ export const data = {
|
|
|
21025
21026
|
}
|
|
21026
21027
|
}
|
|
21027
21028
|
},
|
|
21029
|
+
"pushwoosh.rpc_v2.messages.InboxInfo": {
|
|
21030
|
+
"type": "I",
|
|
21031
|
+
"fields": {
|
|
21032
|
+
"title": {
|
|
21033
|
+
"type": "string"
|
|
21034
|
+
},
|
|
21035
|
+
"content": {
|
|
21036
|
+
"type": "string"
|
|
21037
|
+
},
|
|
21038
|
+
"icon": {
|
|
21039
|
+
"type": "string"
|
|
21040
|
+
},
|
|
21041
|
+
"image": {
|
|
21042
|
+
"type": "string"
|
|
21043
|
+
},
|
|
21044
|
+
"expiresAt": {
|
|
21045
|
+
"type": "Date"
|
|
21046
|
+
}
|
|
21047
|
+
}
|
|
21048
|
+
},
|
|
21028
21049
|
"pushwoosh.rpc_v2.messages.Message.SchedulingType": {
|
|
21029
21050
|
"type": "E",
|
|
21030
21051
|
"values": [
|
|
@@ -21089,6 +21110,9 @@ export const data = {
|
|
|
21089
21110
|
"emailInfo": {
|
|
21090
21111
|
"type": "pushwoosh.rpc_v2.messages.EmailInfo"
|
|
21091
21112
|
},
|
|
21113
|
+
"inboxInfo": {
|
|
21114
|
+
"type": "pushwoosh.rpc_v2.messages.InboxInfo"
|
|
21115
|
+
},
|
|
21092
21116
|
"childMessages": {
|
|
21093
21117
|
"type": "pushwoosh.rpc_v2.messages.Message",
|
|
21094
21118
|
"array": true
|
|
@@ -21098,7 +21122,8 @@ export const data = {
|
|
|
21098
21122
|
"info": {
|
|
21099
21123
|
"oneof": [
|
|
21100
21124
|
"pushInfo",
|
|
21101
|
-
"emailInfo"
|
|
21125
|
+
"emailInfo",
|
|
21126
|
+
"inboxInfo"
|
|
21102
21127
|
]
|
|
21103
21128
|
}
|
|
21104
21129
|
}
|
package/messages.d.ts
CHANGED
|
@@ -37,7 +37,7 @@ export interface MessagesService {
|
|
|
37
37
|
/** Lists the message inbox of a single user (by user id): what the app's inbox screen would show, with per-message inbox status, send date and expiration. Use to check what a user still has in their inbox, as opposed to what was sent to their device. */
|
|
38
38
|
GetUserInboxMessages: MessagesService_GetUserInboxMessages;
|
|
39
39
|
}
|
|
40
|
-
export type Type = 'All' | 'Push' | 'Email' | 'Sms';
|
|
40
|
+
export type Type = 'All' | 'Push' | 'Email' | 'Sms' | 'Inbox';
|
|
41
41
|
export type PushInfo = {
|
|
42
42
|
content: string;
|
|
43
43
|
title: string;
|
|
@@ -50,6 +50,13 @@ export type EmailInfo = {
|
|
|
50
50
|
sendFrom: string;
|
|
51
51
|
sendFromName: string;
|
|
52
52
|
};
|
|
53
|
+
export type InboxInfo = {
|
|
54
|
+
title: string;
|
|
55
|
+
content: string;
|
|
56
|
+
icon: string;
|
|
57
|
+
image: string;
|
|
58
|
+
expiresAt: Date;
|
|
59
|
+
};
|
|
53
60
|
export type Message_SchedulingType = 'now' | 'device_tz' | 'custom_tz' | 'optimal_time';
|
|
54
61
|
export type Message_Status = 'status_unknown' | 'creating' | 'waiting' | 'pending' | 'processing' | 'done' | 'canceled' | 'fail' | 'deleted';
|
|
55
62
|
export type Message_info_pushInfo = {
|
|
@@ -60,7 +67,11 @@ export type Message_info_emailInfo = {
|
|
|
60
67
|
type: 'emailInfo';
|
|
61
68
|
data: EmailInfo;
|
|
62
69
|
};
|
|
63
|
-
export type
|
|
70
|
+
export type Message_info_inboxInfo = {
|
|
71
|
+
type: 'inboxInfo';
|
|
72
|
+
data: InboxInfo;
|
|
73
|
+
};
|
|
74
|
+
export type Message_info = Message_info_pushInfo | Message_info_emailInfo | Message_info_inboxInfo;
|
|
64
75
|
export type Message = {
|
|
65
76
|
id: number;
|
|
66
77
|
code: string;
|