@pushwoosh/rpc-v2-http-api-data 0.2.496 → 0.2.498
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 +19 -0
- package/package.json +1 -1
- package/pushwoosh_rpc_popup_forms_v3.d.ts +4 -1
- package/test_devices.d.ts +13 -1
package/data.js
CHANGED
|
@@ -39489,6 +39489,16 @@ export const data = {
|
|
|
39489
39489
|
"fields": {
|
|
39490
39490
|
"application": {
|
|
39491
39491
|
"type": "string"
|
|
39492
|
+
},
|
|
39493
|
+
"page": {
|
|
39494
|
+
"type": "number"
|
|
39495
|
+
},
|
|
39496
|
+
"perPage": {
|
|
39497
|
+
"type": "number"
|
|
39498
|
+
},
|
|
39499
|
+
"searchByHwids": {
|
|
39500
|
+
"type": "string",
|
|
39501
|
+
"array": true
|
|
39492
39502
|
}
|
|
39493
39503
|
}
|
|
39494
39504
|
},
|
|
@@ -39498,6 +39508,15 @@ export const data = {
|
|
|
39498
39508
|
"testDevices": {
|
|
39499
39509
|
"type": "pushwoosh.rpc_v2.test_devices.TestDevice",
|
|
39500
39510
|
"array": true
|
|
39511
|
+
},
|
|
39512
|
+
"total": {
|
|
39513
|
+
"type": "number"
|
|
39514
|
+
},
|
|
39515
|
+
"page": {
|
|
39516
|
+
"type": "number"
|
|
39517
|
+
},
|
|
39518
|
+
"perPage": {
|
|
39519
|
+
"type": "number"
|
|
39501
39520
|
}
|
|
39502
39521
|
}
|
|
39503
39522
|
},
|
package/package.json
CHANGED
|
@@ -163,7 +163,10 @@ export interface PopupFormsService {
|
|
|
163
163
|
* string ("EQUALS" | "STARTS_WITH") to match the other categorical fields.
|
|
164
164
|
*/
|
|
165
165
|
export type PageRule = {
|
|
166
|
-
/**
|
|
166
|
+
/**
|
|
167
|
+
* Page path, e.g. "/checkout": any alphabet, spaces and - _ . ~ ! $ & ' ( ) * + , ; = : @ / are allowed.
|
|
168
|
+
* A full URL or an encoded path is accepted: domain, query and fragment are cut, the path is decoded and lowercased.
|
|
169
|
+
*/
|
|
167
170
|
path: string;
|
|
168
171
|
/** Match operator: "EQUALS" (exact path) or "STARTS_WITH" (path prefix). */
|
|
169
172
|
operator: string;
|
package/test_devices.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export interface TestDevicesService {
|
|
|
10
10
|
Create: TestDevicesService_Create;
|
|
11
11
|
/** Confirms a pending email, SMS, WhatsApp or LINE test device using the verification code sent by create_test_device, then creates the test device record. Use only after create_test_device returned needs_verify=true. */
|
|
12
12
|
Verify: TestDevicesService_Verify;
|
|
13
|
-
/** Lists
|
|
13
|
+
/** Lists test devices registered for an application (application code XXXXX-XXXXX) with name, push token, HWID and platform, newest first; pages with per_page, or narrows to given HWIDs. Use to see which devices receive test sends before adding or removing one. */
|
|
14
14
|
List: TestDevicesService_List;
|
|
15
15
|
/** Removes a test device from an application by HWID or push token and clears its PW_TestDevice tag on the device. Use to stop a device from receiving test sends; cannot be undone. */
|
|
16
16
|
Delete: TestDevicesService_Delete;
|
|
@@ -79,10 +79,22 @@ export type VerifyResponse = {};
|
|
|
79
79
|
export type ListRequest = {
|
|
80
80
|
/** application code */
|
|
81
81
|
application?: string;
|
|
82
|
+
/** zero-based page number, used together with per_page */
|
|
83
|
+
page?: number;
|
|
84
|
+
/** page size, 1-100; 0 returns all test devices in one response */
|
|
85
|
+
perPage?: number;
|
|
86
|
+
/** only test devices with these HWIDs, up to 100 */
|
|
87
|
+
searchByHwids?: string[];
|
|
82
88
|
};
|
|
83
89
|
export type ListResponse = {
|
|
84
90
|
/** collection of test devices */
|
|
85
91
|
testDevices: TestDevice[];
|
|
92
|
+
/** number of test devices matching the request across all pages */
|
|
93
|
+
total: number;
|
|
94
|
+
/** page number from the request */
|
|
95
|
+
page: number;
|
|
96
|
+
/** page size from the request */
|
|
97
|
+
perPage: number;
|
|
86
98
|
};
|
|
87
99
|
export type DeleteRequest = {
|
|
88
100
|
/** application code */
|