@pushwoosh/rpc-v2-http-api-data 0.2.285 → 0.2.287
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/api_tokens.d.ts +5 -0
- package/data.js +4 -0
- package/package.json +1 -1
package/api_tokens.d.ts
CHANGED
|
@@ -49,6 +49,11 @@ export type Restrictions = {
|
|
|
49
49
|
groupsSelectAll: boolean;
|
|
50
50
|
/** Grant all applications instead of an explicit device_data_applications list */
|
|
51
51
|
deviceDataSelectAll: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Addresses the token may be used from, as single IPs or CIDRs (IPv4/IPv6).
|
|
54
|
+
* Empty list keeps the token usable from anywhere; not available for device tokens.
|
|
55
|
+
*/
|
|
56
|
+
allowedCidrs: string[];
|
|
52
57
|
};
|
|
53
58
|
export type CreateApiTokenRequest = {
|
|
54
59
|
/** Token display name (max 64 characters) */
|
package/data.js
CHANGED