@pushwoosh/rpc-v2-http-api-data 0.2.324 → 0.2.325

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
@@ -10617,6 +10617,9 @@ export const data = {
10617
10617
  },
10618
10618
  "initiatorTokenId": {
10619
10619
  "type": "number"
10620
+ },
10621
+ "initiatorEmail": {
10622
+ "type": "string"
10620
10623
  }
10621
10624
  }
10622
10625
  },
@@ -10700,6 +10703,9 @@ export const data = {
10700
10703
  },
10701
10704
  "finishedAt": {
10702
10705
  "type": "Date"
10706
+ },
10707
+ "initiatorEmail": {
10708
+ "type": "string"
10703
10709
  }
10704
10710
  }
10705
10711
  },
package/data_erasure.d.ts CHANGED
@@ -65,6 +65,11 @@ export type ListDataErasureTasksRequest = {
65
65
  initiatorUserId?: number;
66
66
  /** Keeps the tasks an api token started; 0 leaves every initiator in. */
67
67
  initiatorTokenId?: number;
68
+ /**
69
+ * Keeps the tasks a control panel user started, by address, case-insensitively;
70
+ * the panel has the address of a person, not the id the journal stores next to it.
71
+ */
72
+ initiatorEmail?: string;
68
73
  };
69
74
  export type ListDataErasureTasksResponse = {
70
75
  tasks: DataErasureTask[];
@@ -95,6 +100,11 @@ export type DataErasureTask = {
95
100
  created: Date;
96
101
  startedAt: Date;
97
102
  finishedAt: Date;
103
+ /**
104
+ * Address of the control panel user who started the task; empty for an api token
105
+ * and for the tasks written before the journal kept it.
106
+ */
107
+ initiatorEmail: string;
98
108
  };
99
109
  export type GetDataErasureTaskReportRequest = {
100
110
  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.324",
3
+ "version": "0.2.325",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",