@pushwoosh/rpc-v2-http-api-data 0.2.301 → 0.2.302

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 CHANGED
@@ -10401,12 +10401,6 @@ export const data = {
10401
10401
  "fields": {
10402
10402
  "taskId": {
10403
10403
  "type": "number"
10404
- },
10405
- "confirmationRequired": {
10406
- "type": "boolean"
10407
- },
10408
- "confirmationThreshold": {
10409
- "type": "number"
10410
10404
  }
10411
10405
  }
10412
10406
  },
package/data_erasure.d.ts CHANGED
@@ -9,7 +9,7 @@ export type DataErasureService_ListTaskRows = RpcMethod<ListDataErasureTaskRowsR
9
9
  * follow it and show what it did.
10
10
  */
11
11
  export interface DataErasureService {
12
- /** Starts erasing the personal data of the listed subjects in the listed applications. Identifiers are user ids, device hwids or email addresses. With dry_run the task only counts what would be erased. Erasure is irreversible: above the threshold the call is refused until it carries the id of a finished dry run of the same scope. */
12
+ /** Starts erasing the personal data of the listed subjects in the listed applications. Identifiers are user ids, device hwids or email addresses. With dry_run the task only counts what would be erased. Erasure is irreversible: run it with dry_run first to see the volume, then repeat the call quoting that dry run in confirmation_dry_run_task_id. */
13
13
  CreateTask: DataErasureService_CreateTask;
14
14
  /** 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. */
15
15
  GetTask: DataErasureService_GetTask;
@@ -30,19 +30,13 @@ export type CreateDataErasureTaskRequest = {
30
30
  /** Counts what would be erased and writes nothing. */
31
31
  dryRun?: boolean;
32
32
  /**
33
- * Id of the finished dry run that measured this erase. Required above
34
- * confirmation_threshold subjects: nobody erases a volume they have not seen.
33
+ * Optional id of the finished dry run that measured this erase. When set, the
34
+ * erase is refused unless it matches that measurement subject for subject.
35
35
  */
36
36
  confirmationDryRunTaskId?: number;
37
37
  };
38
38
  export type CreateDataErasureTaskResponse = {
39
39
  taskId: number;
40
- /**
41
- * Set when the request was refused because it erases more subjects than the
42
- * threshold and carried no matching dry run.
43
- */
44
- confirmationRequired: boolean;
45
- confirmationThreshold: number;
46
40
  };
47
41
  export type GetDataErasureTaskRequest = {
48
42
  taskId?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.2.301",
3
+ "version": "0.2.302",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",