@pushwoosh/rpc-v2-http-api-data 0.1.448 → 0.1.449

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.
@@ -4,7 +4,16 @@ export interface AccountInvitesService {
4
4
  Delete(request: DeleteRequest): Promise<DeleteResponse>;
5
5
  Create(request: CreateRequest): Promise<CreateResponse>;
6
6
  }
7
- export type ListRequest = {};
7
+ export type ListRequest_OrderBy = 'INVITE_DATE' | 'EMAIL';
8
+ export type ListRequest_OrderDirection = 'ASC' | 'DESC';
9
+ export type ListRequest = {
10
+ page?: number;
11
+ perPage?: number;
12
+ orderBy?: ListRequest_OrderBy;
13
+ orderDirection?: ListRequest_OrderDirection;
14
+ searchByEmail?: string;
15
+ searchByStatus?: string;
16
+ };
8
17
  export type ListResponse_Invite = {
9
18
  code: string;
10
19
  email: string;
@@ -13,16 +22,20 @@ export type ListResponse_Invite = {
13
22
  };
14
23
  export type ListResponse = {
15
24
  invites: ListResponse_Invite[];
25
+ page: number;
26
+ perPage: number;
27
+ totalPages: number;
16
28
  };
17
29
  export type ResendRequest = {
18
30
  code?: string;
19
31
  };
20
32
  export type ResendResponse = {};
21
33
  export type CreateRequest = {
34
+ group?: string;
22
35
  email?: string;
23
36
  };
24
37
  export type CreateResponse = {};
25
38
  export type DeleteRequest = {
26
- code?: string;
39
+ email?: string;
27
40
  };
28
41
  export type DeleteResponse = {};
package/data.js CHANGED
@@ -188,9 +188,42 @@ export const data = {
188
188
  }
189
189
  }
190
190
  },
191
+ "pushwoosh.rpc_v2.account_invites.ListRequest.OrderBy": {
192
+ "type": "E",
193
+ "values": [
194
+ "INVITE_DATE",
195
+ "EMAIL"
196
+ ]
197
+ },
198
+ "pushwoosh.rpc_v2.account_invites.ListRequest.OrderDirection": {
199
+ "type": "E",
200
+ "values": [
201
+ "ASC",
202
+ "DESC"
203
+ ]
204
+ },
191
205
  "pushwoosh.rpc_v2.account_invites.ListRequest": {
192
206
  "type": "I",
193
- "fields": {}
207
+ "fields": {
208
+ "page": {
209
+ "type": "number"
210
+ },
211
+ "perPage": {
212
+ "type": "number"
213
+ },
214
+ "orderBy": {
215
+ "type": "pushwoosh.rpc_v2.account_invites.ListRequest.OrderBy"
216
+ },
217
+ "orderDirection": {
218
+ "type": "pushwoosh.rpc_v2.account_invites.ListRequest.OrderDirection"
219
+ },
220
+ "searchByEmail": {
221
+ "type": "string"
222
+ },
223
+ "searchByStatus": {
224
+ "type": "string"
225
+ }
226
+ }
194
227
  },
195
228
  "pushwoosh.rpc_v2.account_invites.ListResponse.Invite": {
196
229
  "type": "I",
@@ -215,6 +248,15 @@ export const data = {
215
248
  "invites": {
216
249
  "type": "pushwoosh.rpc_v2.account_invites.ListResponse.Invite",
217
250
  "array": true
251
+ },
252
+ "page": {
253
+ "type": "number"
254
+ },
255
+ "perPage": {
256
+ "type": "number"
257
+ },
258
+ "totalPages": {
259
+ "type": "number"
218
260
  }
219
261
  }
220
262
  },
@@ -233,6 +275,9 @@ export const data = {
233
275
  "pushwoosh.rpc_v2.account_invites.CreateRequest": {
234
276
  "type": "I",
235
277
  "fields": {
278
+ "group": {
279
+ "type": "string"
280
+ },
236
281
  "email": {
237
282
  "type": "string"
238
283
  }
@@ -245,7 +290,7 @@ export const data = {
245
290
  "pushwoosh.rpc_v2.account_invites.DeleteRequest": {
246
291
  "type": "I",
247
292
  "fields": {
248
- "code": {
293
+ "email": {
249
294
  "type": "string"
250
295
  }
251
296
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.1.448",
3
+ "version": "0.1.449",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",