@pushwoosh/rpc-v2-http-api-data 0.2.313 → 0.2.315
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 +15 -0
- package/data_erasure.d.ts +11 -1
- package/package.json +1 -1
package/data.js
CHANGED
|
@@ -10593,6 +10593,21 @@ export const data = {
|
|
|
10593
10593
|
},
|
|
10594
10594
|
"includeDryRuns": {
|
|
10595
10595
|
"type": "boolean"
|
|
10596
|
+
},
|
|
10597
|
+
"from": {
|
|
10598
|
+
"type": "Date"
|
|
10599
|
+
},
|
|
10600
|
+
"to": {
|
|
10601
|
+
"type": "Date"
|
|
10602
|
+
},
|
|
10603
|
+
"applicationCode": {
|
|
10604
|
+
"type": "string"
|
|
10605
|
+
},
|
|
10606
|
+
"initiatorUserId": {
|
|
10607
|
+
"type": "number"
|
|
10608
|
+
},
|
|
10609
|
+
"initiatorTokenId": {
|
|
10610
|
+
"type": "number"
|
|
10596
10611
|
}
|
|
10597
10612
|
}
|
|
10598
10613
|
},
|
package/data_erasure.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export interface DataErasureService {
|
|
|
15
15
|
CreateTask: DataErasureService_CreateTask;
|
|
16
16
|
/** Returns one data erasure task with its status and counters: how many subjects were erased, not found or failed. Use to follow a task started by create_data_erasure_task. */
|
|
17
17
|
GetTask: DataErasureService_GetTask;
|
|
18
|
-
/** Lists the erasures of the account, newest first — the audit journal of who erased what and when. Dry runs are measurements and are left out; pass include_dry_runs to see them next to the erasures they measured. */
|
|
18
|
+
/** Lists the erasures of the account, newest first — the audit journal of who erased what and when, narrowed by period, application or initiator. Dry runs are measurements and are left out; pass include_dry_runs to see them next to the erasures they measured. */
|
|
19
19
|
ListTasks: DataErasureService_ListTasks;
|
|
20
20
|
/** Returns the per-identifier outcome of one task: what was deleted, not found, skipped or failed. Identifiers are reported as hashes, the task never stores them in the clear. */
|
|
21
21
|
ListTaskRows: DataErasureService_ListTaskRows;
|
|
@@ -55,6 +55,16 @@ export type ListDataErasureTasksRequest = {
|
|
|
55
55
|
offset?: number;
|
|
56
56
|
/** Dry runs are measurements, not erasures, and are left out unless asked for. */
|
|
57
57
|
includeDryRuns?: boolean;
|
|
58
|
+
/** Started at or after this moment. */
|
|
59
|
+
from?: Date;
|
|
60
|
+
/** Started before this moment. */
|
|
61
|
+
to?: Date;
|
|
62
|
+
/** Keeps the tasks that cover this application (format XXXXX-XXXXX). */
|
|
63
|
+
applicationCode?: string;
|
|
64
|
+
/** Keeps the tasks a control panel user started; 0 leaves every initiator in. */
|
|
65
|
+
initiatorUserId?: number;
|
|
66
|
+
/** Keeps the tasks an api token started; 0 leaves every initiator in. */
|
|
67
|
+
initiatorTokenId?: number;
|
|
58
68
|
};
|
|
59
69
|
export type ListDataErasureTasksResponse = {
|
|
60
70
|
tasks: DataErasureTask[];
|