@pushwoosh/rpc-v2-http-api-data 0.1.441 → 0.1.442
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 +66 -0
- package/messages.d.ts +20 -0
- package/package.json +1 -1
package/data.js
CHANGED
|
@@ -7282,6 +7282,12 @@ export const data = {
|
|
|
7282
7282
|
"response": "pushwoosh.rpc_v2.messages.FindRecipientsResponse",
|
|
7283
7283
|
"method": "post",
|
|
7284
7284
|
"path": "/api/messages/findRecipients"
|
|
7285
|
+
},
|
|
7286
|
+
"GetDeviceReceivedMessages": {
|
|
7287
|
+
"request": "pushwoosh.rpc_v2.messages.GetDeviceReceivedMessagesRequest",
|
|
7288
|
+
"response": "pushwoosh.rpc_v2.messages.GetDeviceReceivedMessagesResponse",
|
|
7289
|
+
"method": "post",
|
|
7290
|
+
"path": "/api/messages/getDeviceReceivedMessages"
|
|
7285
7291
|
}
|
|
7286
7292
|
}
|
|
7287
7293
|
},
|
|
@@ -7773,6 +7779,66 @@ export const data = {
|
|
|
7773
7779
|
}
|
|
7774
7780
|
}
|
|
7775
7781
|
},
|
|
7782
|
+
"pushwoosh.rpc_v2.messages.GetDeviceReceivedMessagesRequest": {
|
|
7783
|
+
"type": "I",
|
|
7784
|
+
"fields": {
|
|
7785
|
+
"application": {
|
|
7786
|
+
"type": "string"
|
|
7787
|
+
},
|
|
7788
|
+
"hwid": {
|
|
7789
|
+
"type": "string"
|
|
7790
|
+
}
|
|
7791
|
+
}
|
|
7792
|
+
},
|
|
7793
|
+
"pushwoosh.rpc_v2.messages.GetDeviceReceivedMessagesResponse.Message.Type": {
|
|
7794
|
+
"type": "E",
|
|
7795
|
+
"values": [
|
|
7796
|
+
"broadcast",
|
|
7797
|
+
"journey",
|
|
7798
|
+
"transactional"
|
|
7799
|
+
]
|
|
7800
|
+
},
|
|
7801
|
+
"pushwoosh.rpc_v2.messages.GetDeviceReceivedMessagesResponse.Message": {
|
|
7802
|
+
"type": "I",
|
|
7803
|
+
"fields": {
|
|
7804
|
+
"messageId": {
|
|
7805
|
+
"type": "number"
|
|
7806
|
+
},
|
|
7807
|
+
"messageCode": {
|
|
7808
|
+
"type": "string"
|
|
7809
|
+
},
|
|
7810
|
+
"campaignCode": {
|
|
7811
|
+
"type": "string"
|
|
7812
|
+
},
|
|
7813
|
+
"title": {
|
|
7814
|
+
"type": "string"
|
|
7815
|
+
},
|
|
7816
|
+
"content": {
|
|
7817
|
+
"type": "string"
|
|
7818
|
+
},
|
|
7819
|
+
"pushAlertsEnabled": {
|
|
7820
|
+
"type": "boolean"
|
|
7821
|
+
},
|
|
7822
|
+
"type": {
|
|
7823
|
+
"type": "pushwoosh.rpc_v2.messages.GetDeviceReceivedMessagesResponse.Message.Type"
|
|
7824
|
+
},
|
|
7825
|
+
"sendTime": {
|
|
7826
|
+
"type": "Date"
|
|
7827
|
+
},
|
|
7828
|
+
"openedTime": {
|
|
7829
|
+
"type": "Date"
|
|
7830
|
+
}
|
|
7831
|
+
}
|
|
7832
|
+
},
|
|
7833
|
+
"pushwoosh.rpc_v2.messages.GetDeviceReceivedMessagesResponse": {
|
|
7834
|
+
"type": "I",
|
|
7835
|
+
"fields": {
|
|
7836
|
+
"messages": {
|
|
7837
|
+
"type": "pushwoosh.rpc_v2.messages.GetDeviceReceivedMessagesResponse.Message",
|
|
7838
|
+
"array": true
|
|
7839
|
+
}
|
|
7840
|
+
}
|
|
7841
|
+
},
|
|
7776
7842
|
"pushwoosh.objects.filters.v1.__filter_collection_internal": {
|
|
7777
7843
|
"type": "I",
|
|
7778
7844
|
"fields": {
|
package/messages.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export interface MessagesService {
|
|
|
7
7
|
GetLinkClicksStatistics(request: GetLinkClicksStatisticsRequest): Promise<GetLinkClicksStatisticsResponse>;
|
|
8
8
|
GetDeliveryReport(request: GetDeliveryReportRequest): Promise<GetDeliveryReportResponse>;
|
|
9
9
|
FindRecipients(request: FindRecipientsRequest): Promise<FindRecipientsResponse>;
|
|
10
|
+
GetDeviceReceivedMessages(request: GetDeviceReceivedMessagesRequest): Promise<GetDeviceReceivedMessagesResponse>;
|
|
10
11
|
}
|
|
11
12
|
export type Type = 'All' | 'Push' | 'Email';
|
|
12
13
|
export type PushInfo = {
|
|
@@ -166,3 +167,22 @@ export type FindRecipientsResponse = {
|
|
|
166
167
|
recipients: FindRecipientsResponse_Recipient[];
|
|
167
168
|
searchBy: FindRecipientsResponse_SearchBy;
|
|
168
169
|
};
|
|
170
|
+
export type GetDeviceReceivedMessagesRequest = {
|
|
171
|
+
application?: string;
|
|
172
|
+
hwid?: string;
|
|
173
|
+
};
|
|
174
|
+
export type GetDeviceReceivedMessagesResponse_Message_Type = 'broadcast' | 'journey' | 'transactional';
|
|
175
|
+
export type GetDeviceReceivedMessagesResponse_Message = {
|
|
176
|
+
messageId: number;
|
|
177
|
+
messageCode: string;
|
|
178
|
+
campaignCode: string;
|
|
179
|
+
title: string;
|
|
180
|
+
content: string;
|
|
181
|
+
pushAlertsEnabled: boolean;
|
|
182
|
+
type: GetDeviceReceivedMessagesResponse_Message_Type;
|
|
183
|
+
sendTime: Date;
|
|
184
|
+
openedTime: Date;
|
|
185
|
+
};
|
|
186
|
+
export type GetDeviceReceivedMessagesResponse = {
|
|
187
|
+
messages: GetDeviceReceivedMessagesResponse_Message[];
|
|
188
|
+
};
|