@pushwoosh/rpc-v2-http-api-data 0.1.984 → 0.1.985
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 +6 -0
- package/devices.d.ts +5 -1
- package/package.json +1 -1
package/data.js
CHANGED
package/devices.d.ts
CHANGED
|
@@ -7,10 +7,14 @@ export interface DevicesService {
|
|
|
7
7
|
export type SetTagsRequest = {
|
|
8
8
|
/** application code */
|
|
9
9
|
application?: string;
|
|
10
|
-
/** device
|
|
10
|
+
/** device hwid (use to set device-specific tags) */
|
|
11
11
|
hwid?: string;
|
|
12
12
|
/** to remove tag value, send empty string or null */
|
|
13
13
|
tags?: object;
|
|
14
|
+
/** user id (to set user-specific tags) */
|
|
15
|
+
userId?: string;
|
|
16
|
+
/** platform (device type), used only when creating a device by hwid */
|
|
17
|
+
platform?: number;
|
|
14
18
|
};
|
|
15
19
|
export type SetTagsResponse = {
|
|
16
20
|
/** map<string, value>, value -- string, []string */
|