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