@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.
Files changed (3) hide show
  1. package/data.js +6 -0
  2. package/devices.d.ts +5 -1
  3. package/package.json +1 -1
package/data.js CHANGED
@@ -6278,6 +6278,12 @@ export const data = {
6278
6278
  },
6279
6279
  "tags": {
6280
6280
  "type": "object"
6281
+ },
6282
+ "userId": {
6283
+ "type": "string"
6284
+ },
6285
+ "platform": {
6286
+ "type": "number"
6281
6287
  }
6282
6288
  }
6283
6289
  },
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 or user hwid */
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 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.1.984",
3
+ "version": "0.1.985",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",