simplelogin-client 0.0.1 → 0.1.6
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/package.json +16 -5
- package/tscBuild/index.js +23 -40
- package/tscBuild/sdk/api.d.ts +1732 -1801
- package/tscBuild/sdk/api.js +2129 -2252
- package/tscBuild/sdk/configuration.d.ts +40 -40
- package/tscBuild/sdk/configuration.js +44 -44
- package/tscBuild/sdk/index.d.ts +2 -2
- package/tscBuild/sdk/index.js +19 -31
package/tscBuild/sdk/api.d.ts
CHANGED
|
@@ -10,17 +10,17 @@
|
|
|
10
10
|
* Do not edit the file manually.
|
|
11
11
|
*/
|
|
12
12
|
export type Response = any;
|
|
13
|
-
import { Configuration } from
|
|
13
|
+
import { Configuration } from "./configuration";
|
|
14
14
|
export declare const BASE_PATH: string;
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
17
17
|
* @export
|
|
18
18
|
*/
|
|
19
19
|
export declare const COLLECTION_FORMATS: {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
csv: string;
|
|
21
|
+
ssv: string;
|
|
22
|
+
tsv: string;
|
|
23
|
+
pipes: string;
|
|
24
24
|
};
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
@@ -28,7 +28,7 @@ export declare const COLLECTION_FORMATS: {
|
|
|
28
28
|
* @interface FetchAPI
|
|
29
29
|
*/
|
|
30
30
|
export interface FetchAPI {
|
|
31
|
-
|
|
31
|
+
(url: string, init?: any): Promise<Response>;
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
34
34
|
*
|
|
@@ -36,8 +36,8 @@ export interface FetchAPI {
|
|
|
36
36
|
* @interface FetchArgs
|
|
37
37
|
*/
|
|
38
38
|
export interface FetchArgs {
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
url: string;
|
|
40
|
+
options: any;
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
@@ -45,10 +45,10 @@ export interface FetchArgs {
|
|
|
45
45
|
* @class BaseAPI
|
|
46
46
|
*/
|
|
47
47
|
export declare class BaseAPI {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
48
|
+
protected basePath: string;
|
|
49
|
+
protected fetch: FetchAPI;
|
|
50
|
+
protected configuration: Configuration;
|
|
51
|
+
constructor(configuration?: Configuration, basePath?: string, fetch?: FetchAPI);
|
|
52
52
|
}
|
|
53
53
|
/**
|
|
54
54
|
*
|
|
@@ -57,9 +57,9 @@ export declare class BaseAPI {
|
|
|
57
57
|
* @extends {Error}
|
|
58
58
|
*/
|
|
59
59
|
export declare class RequiredError extends Error {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
60
|
+
field: string;
|
|
61
|
+
name: "RequiredError";
|
|
62
|
+
constructor(field: string, msg?: string);
|
|
63
63
|
}
|
|
64
64
|
/**
|
|
65
65
|
*
|
|
@@ -67,102 +67,102 @@ export declare class RequiredError extends Error {
|
|
|
67
67
|
* @interface Alias
|
|
68
68
|
*/
|
|
69
69
|
export interface Alias {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {Date}
|
|
73
|
+
* @memberof Alias
|
|
74
|
+
*/
|
|
75
|
+
creationDate: Date;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {number}
|
|
79
|
+
* @memberof Alias
|
|
80
|
+
*/
|
|
81
|
+
creationTimestamp: number;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {Email}
|
|
85
|
+
* @memberof Alias
|
|
86
|
+
*/
|
|
87
|
+
email: Email;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {string}
|
|
91
|
+
* @memberof Alias
|
|
92
|
+
*/
|
|
93
|
+
name: string;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @type {boolean}
|
|
97
|
+
* @memberof Alias
|
|
98
|
+
*/
|
|
99
|
+
enabled: boolean;
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @type {number}
|
|
103
|
+
* @memberof Alias
|
|
104
|
+
*/
|
|
105
|
+
id: number;
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @type {MailboxModelRef}
|
|
109
|
+
* @memberof Alias
|
|
110
|
+
*/
|
|
111
|
+
mailbox: MailboxModelRef;
|
|
112
|
+
/**
|
|
113
|
+
*
|
|
114
|
+
* @type {Array<MailboxModelRef>}
|
|
115
|
+
* @memberof Alias
|
|
116
|
+
*/
|
|
117
|
+
mailboxes: Array<MailboxModelRef>;
|
|
118
|
+
/**
|
|
119
|
+
*
|
|
120
|
+
* @type {AliasLatestActivity}
|
|
121
|
+
* @memberof Alias
|
|
122
|
+
*/
|
|
123
|
+
latestActivity: AliasLatestActivity;
|
|
124
|
+
/**
|
|
125
|
+
*
|
|
126
|
+
* @type {number}
|
|
127
|
+
* @memberof Alias
|
|
128
|
+
*/
|
|
129
|
+
nbBlock: number;
|
|
130
|
+
/**
|
|
131
|
+
*
|
|
132
|
+
* @type {number}
|
|
133
|
+
* @memberof Alias
|
|
134
|
+
*/
|
|
135
|
+
nbForward: number;
|
|
136
|
+
/**
|
|
137
|
+
*
|
|
138
|
+
* @type {number}
|
|
139
|
+
* @memberof Alias
|
|
140
|
+
*/
|
|
141
|
+
nbReply: number;
|
|
142
|
+
/**
|
|
143
|
+
*
|
|
144
|
+
* @type {string}
|
|
145
|
+
* @memberof Alias
|
|
146
|
+
*/
|
|
147
|
+
note: string;
|
|
148
|
+
/**
|
|
149
|
+
*
|
|
150
|
+
* @type {boolean}
|
|
151
|
+
* @memberof Alias
|
|
152
|
+
*/
|
|
153
|
+
pinned: boolean;
|
|
154
|
+
/**
|
|
155
|
+
*
|
|
156
|
+
* @type {boolean}
|
|
157
|
+
* @memberof Alias
|
|
158
|
+
*/
|
|
159
|
+
disablePgp: boolean;
|
|
160
|
+
/**
|
|
161
|
+
*
|
|
162
|
+
* @type {boolean}
|
|
163
|
+
* @memberof Alias
|
|
164
|
+
*/
|
|
165
|
+
supportPgp: boolean;
|
|
166
166
|
}
|
|
167
167
|
/**
|
|
168
168
|
*
|
|
@@ -170,42 +170,42 @@ export interface Alias {
|
|
|
170
170
|
* @interface AliasAliasIdActivities
|
|
171
171
|
*/
|
|
172
172
|
export interface AliasAliasIdActivities {
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
173
|
+
/**
|
|
174
|
+
*
|
|
175
|
+
* @type {string}
|
|
176
|
+
* @memberof AliasAliasIdActivities
|
|
177
|
+
*/
|
|
178
|
+
action: string;
|
|
179
|
+
/**
|
|
180
|
+
*
|
|
181
|
+
* @type {string}
|
|
182
|
+
* @memberof AliasAliasIdActivities
|
|
183
|
+
*/
|
|
184
|
+
from: string;
|
|
185
|
+
/**
|
|
186
|
+
*
|
|
187
|
+
* @type {UnixTimestamp}
|
|
188
|
+
* @memberof AliasAliasIdActivities
|
|
189
|
+
*/
|
|
190
|
+
timestamp: UnixTimestamp;
|
|
191
|
+
/**
|
|
192
|
+
*
|
|
193
|
+
* @type {string}
|
|
194
|
+
* @memberof AliasAliasIdActivities
|
|
195
|
+
*/
|
|
196
|
+
to: string;
|
|
197
|
+
/**
|
|
198
|
+
*
|
|
199
|
+
* @type {string}
|
|
200
|
+
* @memberof AliasAliasIdActivities
|
|
201
|
+
*/
|
|
202
|
+
reverseAlias: string;
|
|
203
|
+
/**
|
|
204
|
+
*
|
|
205
|
+
* @type {string}
|
|
206
|
+
* @memberof AliasAliasIdActivities
|
|
207
|
+
*/
|
|
208
|
+
reverseAliasAddress: string;
|
|
209
209
|
}
|
|
210
210
|
/**
|
|
211
211
|
*
|
|
@@ -213,12 +213,12 @@ export interface AliasAliasIdActivities {
|
|
|
213
213
|
* @interface AliasAliasIdActivitiesModelArray
|
|
214
214
|
*/
|
|
215
215
|
export interface AliasAliasIdActivitiesModelArray {
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
216
|
+
/**
|
|
217
|
+
*
|
|
218
|
+
* @type {Array<AliasAliasIdActivities>}
|
|
219
|
+
* @memberof AliasAliasIdActivitiesModelArray
|
|
220
|
+
*/
|
|
221
|
+
activities?: Array<AliasAliasIdActivities>;
|
|
222
222
|
}
|
|
223
223
|
/**
|
|
224
224
|
*
|
|
@@ -226,60 +226,60 @@ export interface AliasAliasIdActivitiesModelArray {
|
|
|
226
226
|
* @interface AliasAliasIdContacts
|
|
227
227
|
*/
|
|
228
228
|
export interface AliasAliasIdContacts {
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
229
|
+
/**
|
|
230
|
+
* Unique identifier for the email address.
|
|
231
|
+
* @type {number}
|
|
232
|
+
* @memberof AliasAliasIdContacts
|
|
233
|
+
*/
|
|
234
|
+
id: number;
|
|
235
|
+
/**
|
|
236
|
+
* Email address for the contact.
|
|
237
|
+
* @type {string}
|
|
238
|
+
* @memberof AliasAliasIdContacts
|
|
239
|
+
*/
|
|
240
|
+
contact: string;
|
|
241
|
+
/**
|
|
242
|
+
*
|
|
243
|
+
* @type {Date}
|
|
244
|
+
* @memberof AliasAliasIdContacts
|
|
245
|
+
*/
|
|
246
|
+
creationDate: Date;
|
|
247
|
+
/**
|
|
248
|
+
*
|
|
249
|
+
* @type {UnixTimestamp}
|
|
250
|
+
* @memberof AliasAliasIdContacts
|
|
251
|
+
*/
|
|
252
|
+
creationTimestamp: UnixTimestamp;
|
|
253
|
+
/**
|
|
254
|
+
*
|
|
255
|
+
* @type {Date}
|
|
256
|
+
* @memberof AliasAliasIdContacts
|
|
257
|
+
*/
|
|
258
|
+
lastEmailSentDate?: Date;
|
|
259
|
+
/**
|
|
260
|
+
* Unix timestamp when the last email was sent.
|
|
261
|
+
* @type {number}
|
|
262
|
+
* @memberof AliasAliasIdContacts
|
|
263
|
+
*/
|
|
264
|
+
lastEmailSentTimestamp?: number;
|
|
265
|
+
/**
|
|
266
|
+
* Reverse alias for the email address.
|
|
267
|
+
* @type {string}
|
|
268
|
+
* @memberof AliasAliasIdContacts
|
|
269
|
+
*/
|
|
270
|
+
reverseAlias: string;
|
|
271
|
+
/**
|
|
272
|
+
* Whether the email address is blocked for forwarding.
|
|
273
|
+
* @type {boolean}
|
|
274
|
+
* @memberof AliasAliasIdContacts
|
|
275
|
+
*/
|
|
276
|
+
blockForward?: boolean;
|
|
277
|
+
/**
|
|
278
|
+
* Whether the contact already existed.
|
|
279
|
+
* @type {boolean}
|
|
280
|
+
* @memberof AliasAliasIdContacts
|
|
281
|
+
*/
|
|
282
|
+
existed?: boolean;
|
|
283
283
|
}
|
|
284
284
|
/**
|
|
285
285
|
*
|
|
@@ -287,12 +287,12 @@ export interface AliasAliasIdContacts {
|
|
|
287
287
|
* @interface AliasAliasIdContactsModelArray
|
|
288
288
|
*/
|
|
289
289
|
export interface AliasAliasIdContactsModelArray {
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
290
|
+
/**
|
|
291
|
+
*
|
|
292
|
+
* @type {Array<AliasAliasIdContacts>}
|
|
293
|
+
* @memberof AliasAliasIdContactsModelArray
|
|
294
|
+
*/
|
|
295
|
+
contacts?: Array<AliasAliasIdContacts>;
|
|
296
296
|
}
|
|
297
297
|
/**
|
|
298
298
|
*
|
|
@@ -300,12 +300,12 @@ export interface AliasAliasIdContactsModelArray {
|
|
|
300
300
|
* @interface AliasAliasIdContactsPost
|
|
301
301
|
*/
|
|
302
302
|
export interface AliasAliasIdContactsPost {
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
303
|
+
/**
|
|
304
|
+
*
|
|
305
|
+
* @type {Email}
|
|
306
|
+
* @memberof AliasAliasIdContactsPost
|
|
307
|
+
*/
|
|
308
|
+
contact: Email;
|
|
309
309
|
}
|
|
310
310
|
/**
|
|
311
311
|
*
|
|
@@ -313,12 +313,12 @@ export interface AliasAliasIdContactsPost {
|
|
|
313
313
|
* @interface AliasAliasIdDelete
|
|
314
314
|
*/
|
|
315
315
|
export interface AliasAliasIdDelete {
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
316
|
+
/**
|
|
317
|
+
*
|
|
318
|
+
* @type {boolean}
|
|
319
|
+
* @memberof AliasAliasIdDelete
|
|
320
|
+
*/
|
|
321
|
+
deleted?: boolean;
|
|
322
322
|
}
|
|
323
323
|
/**
|
|
324
324
|
*
|
|
@@ -326,42 +326,42 @@ export interface AliasAliasIdDelete {
|
|
|
326
326
|
* @interface AliasAliasIdPatch
|
|
327
327
|
*/
|
|
328
328
|
export interface AliasAliasIdPatch {
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
329
|
+
/**
|
|
330
|
+
*
|
|
331
|
+
* @type {string}
|
|
332
|
+
* @memberof AliasAliasIdPatch
|
|
333
|
+
*/
|
|
334
|
+
note?: string;
|
|
335
|
+
/**
|
|
336
|
+
*
|
|
337
|
+
* @type {number}
|
|
338
|
+
* @memberof AliasAliasIdPatch
|
|
339
|
+
*/
|
|
340
|
+
mailboxId?: number;
|
|
341
|
+
/**
|
|
342
|
+
*
|
|
343
|
+
* @type {string}
|
|
344
|
+
* @memberof AliasAliasIdPatch
|
|
345
|
+
*/
|
|
346
|
+
name?: string;
|
|
347
|
+
/**
|
|
348
|
+
*
|
|
349
|
+
* @type {Array<number>}
|
|
350
|
+
* @memberof AliasAliasIdPatch
|
|
351
|
+
*/
|
|
352
|
+
mailboxIds?: Array<number>;
|
|
353
|
+
/**
|
|
354
|
+
*
|
|
355
|
+
* @type {boolean}
|
|
356
|
+
* @memberof AliasAliasIdPatch
|
|
357
|
+
*/
|
|
358
|
+
disablePgp?: boolean;
|
|
359
|
+
/**
|
|
360
|
+
*
|
|
361
|
+
* @type {boolean}
|
|
362
|
+
* @memberof AliasAliasIdPatch
|
|
363
|
+
*/
|
|
364
|
+
pinned?: boolean;
|
|
365
365
|
}
|
|
366
366
|
/**
|
|
367
367
|
*
|
|
@@ -369,12 +369,12 @@ export interface AliasAliasIdPatch {
|
|
|
369
369
|
* @interface AliasAliasIdTogglePost
|
|
370
370
|
*/
|
|
371
371
|
export interface AliasAliasIdTogglePost {
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
372
|
+
/**
|
|
373
|
+
*
|
|
374
|
+
* @type {boolean}
|
|
375
|
+
* @memberof AliasAliasIdTogglePost
|
|
376
|
+
*/
|
|
377
|
+
enabled?: boolean;
|
|
378
378
|
}
|
|
379
379
|
/**
|
|
380
380
|
*
|
|
@@ -382,36 +382,36 @@ export interface AliasAliasIdTogglePost {
|
|
|
382
382
|
* @interface AliasCustomNewPost
|
|
383
383
|
*/
|
|
384
384
|
export interface AliasCustomNewPost {
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
385
|
+
/**
|
|
386
|
+
* The first part of the alias that user can choose.
|
|
387
|
+
* @type {string}
|
|
388
|
+
* @memberof AliasCustomNewPost
|
|
389
|
+
*/
|
|
390
|
+
aliasPrefix: string;
|
|
391
|
+
/**
|
|
392
|
+
* One of the suffixes returned in the options endpoint.
|
|
393
|
+
* @type {string}
|
|
394
|
+
* @memberof AliasCustomNewPost
|
|
395
|
+
*/
|
|
396
|
+
signedSuffix: string;
|
|
397
|
+
/**
|
|
398
|
+
*
|
|
399
|
+
* @type {Array<number>}
|
|
400
|
+
* @memberof AliasCustomNewPost
|
|
401
|
+
*/
|
|
402
|
+
mailboxIds: Array<number>;
|
|
403
|
+
/**
|
|
404
|
+
* Note of this alias
|
|
405
|
+
* @type {string}
|
|
406
|
+
* @memberof AliasCustomNewPost
|
|
407
|
+
*/
|
|
408
|
+
note?: string;
|
|
409
|
+
/**
|
|
410
|
+
* Name of this alias
|
|
411
|
+
* @type {string}
|
|
412
|
+
* @memberof AliasCustomNewPost
|
|
413
|
+
*/
|
|
414
|
+
name?: string;
|
|
415
415
|
}
|
|
416
416
|
/**
|
|
417
417
|
*
|
|
@@ -419,24 +419,24 @@ export interface AliasCustomNewPost {
|
|
|
419
419
|
* @interface AliasLatestActivity
|
|
420
420
|
*/
|
|
421
421
|
export interface AliasLatestActivity {
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
422
|
+
/**
|
|
423
|
+
*
|
|
424
|
+
* @type {string}
|
|
425
|
+
* @memberof AliasLatestActivity
|
|
426
|
+
*/
|
|
427
|
+
action: string;
|
|
428
|
+
/**
|
|
429
|
+
*
|
|
430
|
+
* @type {AliasLatestActivityContact}
|
|
431
|
+
* @memberof AliasLatestActivity
|
|
432
|
+
*/
|
|
433
|
+
contact: AliasLatestActivityContact;
|
|
434
|
+
/**
|
|
435
|
+
*
|
|
436
|
+
* @type {number}
|
|
437
|
+
* @memberof AliasLatestActivity
|
|
438
|
+
*/
|
|
439
|
+
timestamp: number;
|
|
440
440
|
}
|
|
441
441
|
/**
|
|
442
442
|
*
|
|
@@ -444,24 +444,24 @@ export interface AliasLatestActivity {
|
|
|
444
444
|
* @interface AliasLatestActivityContact
|
|
445
445
|
*/
|
|
446
446
|
export interface AliasLatestActivityContact {
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
447
|
+
/**
|
|
448
|
+
*
|
|
449
|
+
* @type {Email}
|
|
450
|
+
* @memberof AliasLatestActivityContact
|
|
451
|
+
*/
|
|
452
|
+
email: Email;
|
|
453
|
+
/**
|
|
454
|
+
*
|
|
455
|
+
* @type {string}
|
|
456
|
+
* @memberof AliasLatestActivityContact
|
|
457
|
+
*/
|
|
458
|
+
name: string;
|
|
459
|
+
/**
|
|
460
|
+
*
|
|
461
|
+
* @type {string}
|
|
462
|
+
* @memberof AliasLatestActivityContact
|
|
463
|
+
*/
|
|
464
|
+
reverseAlias: string;
|
|
465
465
|
}
|
|
466
466
|
/**
|
|
467
467
|
*
|
|
@@ -469,12 +469,12 @@ export interface AliasLatestActivityContact {
|
|
|
469
469
|
* @interface AliasModelArray
|
|
470
470
|
*/
|
|
471
471
|
export interface AliasModelArray {
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
472
|
+
/**
|
|
473
|
+
*
|
|
474
|
+
* @type {Array<Alias>}
|
|
475
|
+
* @memberof AliasModelArray
|
|
476
|
+
*/
|
|
477
|
+
aliases?: Array<Alias>;
|
|
478
478
|
}
|
|
479
479
|
/**
|
|
480
480
|
*
|
|
@@ -482,30 +482,30 @@ export interface AliasModelArray {
|
|
|
482
482
|
* @interface AliasOptions
|
|
483
483
|
*/
|
|
484
484
|
export interface AliasOptions {
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
485
|
+
/**
|
|
486
|
+
* Whether the user can create an alias or not
|
|
487
|
+
* @type {boolean}
|
|
488
|
+
* @memberof AliasOptions
|
|
489
|
+
*/
|
|
490
|
+
canCreate: boolean;
|
|
491
|
+
/**
|
|
492
|
+
*
|
|
493
|
+
* @type {string}
|
|
494
|
+
* @memberof AliasOptions
|
|
495
|
+
*/
|
|
496
|
+
prefixSuggestion: string;
|
|
497
|
+
/**
|
|
498
|
+
*
|
|
499
|
+
* @type {Array<AliasOptionsSuffixes>}
|
|
500
|
+
* @memberof AliasOptions
|
|
501
|
+
*/
|
|
502
|
+
suffixes: Array<AliasOptionsSuffixes>;
|
|
503
|
+
/**
|
|
504
|
+
*
|
|
505
|
+
* @type {Array<AliasOptionsRecommendation>}
|
|
506
|
+
* @memberof AliasOptions
|
|
507
|
+
*/
|
|
508
|
+
recommendation?: Array<AliasOptionsRecommendation>;
|
|
509
509
|
}
|
|
510
510
|
/**
|
|
511
511
|
*
|
|
@@ -513,18 +513,18 @@ export interface AliasOptions {
|
|
|
513
513
|
* @interface AliasOptionsRecommendation
|
|
514
514
|
*/
|
|
515
515
|
export interface AliasOptionsRecommendation {
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
516
|
+
/**
|
|
517
|
+
*
|
|
518
|
+
* @type {string}
|
|
519
|
+
* @memberof AliasOptionsRecommendation
|
|
520
|
+
*/
|
|
521
|
+
alias: string;
|
|
522
|
+
/**
|
|
523
|
+
*
|
|
524
|
+
* @type {string}
|
|
525
|
+
* @memberof AliasOptionsRecommendation
|
|
526
|
+
*/
|
|
527
|
+
hostname: string;
|
|
528
528
|
}
|
|
529
529
|
/**
|
|
530
530
|
*
|
|
@@ -532,30 +532,30 @@ export interface AliasOptionsRecommendation {
|
|
|
532
532
|
* @interface AliasOptionsSuffixes
|
|
533
533
|
*/
|
|
534
534
|
export interface AliasOptionsSuffixes {
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
535
|
+
/**
|
|
536
|
+
*
|
|
537
|
+
* @type {string}
|
|
538
|
+
* @memberof AliasOptionsSuffixes
|
|
539
|
+
*/
|
|
540
|
+
suffix: string;
|
|
541
|
+
/**
|
|
542
|
+
*
|
|
543
|
+
* @type {string}
|
|
544
|
+
* @memberof AliasOptionsSuffixes
|
|
545
|
+
*/
|
|
546
|
+
signedSuffix: string;
|
|
547
|
+
/**
|
|
548
|
+
*
|
|
549
|
+
* @type {boolean}
|
|
550
|
+
* @memberof AliasOptionsSuffixes
|
|
551
|
+
*/
|
|
552
|
+
isCustom: boolean;
|
|
553
|
+
/**
|
|
554
|
+
*
|
|
555
|
+
* @type {boolean}
|
|
556
|
+
* @memberof AliasOptionsSuffixes
|
|
557
|
+
*/
|
|
558
|
+
isPremium: boolean;
|
|
559
559
|
}
|
|
560
560
|
/**
|
|
561
561
|
*
|
|
@@ -563,12 +563,12 @@ export interface AliasOptionsSuffixes {
|
|
|
563
563
|
* @interface AliasRandomNewPost
|
|
564
564
|
*/
|
|
565
565
|
export interface AliasRandomNewPost {
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
566
|
+
/**
|
|
567
|
+
* Note of this alias
|
|
568
|
+
* @type {string}
|
|
569
|
+
* @memberof AliasRandomNewPost
|
|
570
|
+
*/
|
|
571
|
+
note?: string;
|
|
572
572
|
}
|
|
573
573
|
/**
|
|
574
574
|
*
|
|
@@ -576,18 +576,18 @@ export interface AliasRandomNewPost {
|
|
|
576
576
|
* @interface AuthActivatePost
|
|
577
577
|
*/
|
|
578
578
|
export interface AuthActivatePost {
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
579
|
+
/**
|
|
580
|
+
*
|
|
581
|
+
* @type {Email}
|
|
582
|
+
* @memberof AuthActivatePost
|
|
583
|
+
*/
|
|
584
|
+
email: Email;
|
|
585
|
+
/**
|
|
586
|
+
* Activation code sent to email
|
|
587
|
+
* @type {string}
|
|
588
|
+
* @memberof AuthActivatePost
|
|
589
|
+
*/
|
|
590
|
+
code: string;
|
|
591
591
|
}
|
|
592
592
|
/**
|
|
593
593
|
*
|
|
@@ -595,12 +595,12 @@ export interface AuthActivatePost {
|
|
|
595
595
|
* @interface AuthForgotPasswordPost
|
|
596
596
|
*/
|
|
597
597
|
export interface AuthForgotPasswordPost {
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
598
|
+
/**
|
|
599
|
+
*
|
|
600
|
+
* @type {Email}
|
|
601
|
+
* @memberof AuthForgotPasswordPost
|
|
602
|
+
*/
|
|
603
|
+
email: Email;
|
|
604
604
|
}
|
|
605
605
|
/**
|
|
606
606
|
*
|
|
@@ -608,36 +608,36 @@ export interface AuthForgotPasswordPost {
|
|
|
608
608
|
* @interface AuthLogin
|
|
609
609
|
*/
|
|
610
610
|
export interface AuthLogin {
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
611
|
+
/**
|
|
612
|
+
* User's name, could be an empty string.
|
|
613
|
+
* @type {string}
|
|
614
|
+
* @memberof AuthLogin
|
|
615
|
+
*/
|
|
616
|
+
name: string;
|
|
617
|
+
/**
|
|
618
|
+
*
|
|
619
|
+
* @type {Email}
|
|
620
|
+
* @memberof AuthLogin
|
|
621
|
+
*/
|
|
622
|
+
email: Email;
|
|
623
|
+
/**
|
|
624
|
+
*
|
|
625
|
+
* @type {boolean}
|
|
626
|
+
* @memberof AuthLogin
|
|
627
|
+
*/
|
|
628
|
+
mfaEnabled: boolean;
|
|
629
|
+
/**
|
|
630
|
+
* Only useful when user enables MFA. In this case, user needs to enter their OTP token in order to login.
|
|
631
|
+
* @type {string}
|
|
632
|
+
* @memberof AuthLogin
|
|
633
|
+
*/
|
|
634
|
+
mfaKey: string;
|
|
635
|
+
/**
|
|
636
|
+
* If MFA is not enabled, the api key is returned right away.
|
|
637
|
+
* @type {string}
|
|
638
|
+
* @memberof AuthLogin
|
|
639
|
+
*/
|
|
640
|
+
apiKey: string;
|
|
641
641
|
}
|
|
642
642
|
/**
|
|
643
643
|
*
|
|
@@ -645,24 +645,24 @@ export interface AuthLogin {
|
|
|
645
645
|
* @interface AuthLoginPost
|
|
646
646
|
*/
|
|
647
647
|
export interface AuthLoginPost {
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
648
|
+
/**
|
|
649
|
+
*
|
|
650
|
+
* @type {Email}
|
|
651
|
+
* @memberof AuthLoginPost
|
|
652
|
+
*/
|
|
653
|
+
email: Email;
|
|
654
|
+
/**
|
|
655
|
+
*
|
|
656
|
+
* @type {string}
|
|
657
|
+
* @memberof AuthLoginPost
|
|
658
|
+
*/
|
|
659
|
+
password: string;
|
|
660
|
+
/**
|
|
661
|
+
*
|
|
662
|
+
* @type {string}
|
|
663
|
+
* @memberof AuthLoginPost
|
|
664
|
+
*/
|
|
665
|
+
device: string;
|
|
666
666
|
}
|
|
667
667
|
/**
|
|
668
668
|
*
|
|
@@ -670,24 +670,24 @@ export interface AuthLoginPost {
|
|
|
670
670
|
* @interface AuthMfa
|
|
671
671
|
*/
|
|
672
672
|
export interface AuthMfa {
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
673
|
+
/**
|
|
674
|
+
* User's name, could be an empty string
|
|
675
|
+
* @type {string}
|
|
676
|
+
* @memberof AuthMfa
|
|
677
|
+
*/
|
|
678
|
+
name: string;
|
|
679
|
+
/**
|
|
680
|
+
* If MFA is not enabled, the api key is returned right away.
|
|
681
|
+
* @type {string}
|
|
682
|
+
* @memberof AuthMfa
|
|
683
|
+
*/
|
|
684
|
+
apiKey: string;
|
|
685
|
+
/**
|
|
686
|
+
*
|
|
687
|
+
* @type {Email}
|
|
688
|
+
* @memberof AuthMfa
|
|
689
|
+
*/
|
|
690
|
+
email: Email;
|
|
691
691
|
}
|
|
692
692
|
/**
|
|
693
693
|
*
|
|
@@ -695,24 +695,24 @@ export interface AuthMfa {
|
|
|
695
695
|
* @interface AuthMfaPost
|
|
696
696
|
*/
|
|
697
697
|
export interface AuthMfaPost {
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
698
|
+
/**
|
|
699
|
+
* OTP token that user enters
|
|
700
|
+
* @type {string}
|
|
701
|
+
* @memberof AuthMfaPost
|
|
702
|
+
*/
|
|
703
|
+
mfaToken: string;
|
|
704
|
+
/**
|
|
705
|
+
* MFA key obtained in previous auth request
|
|
706
|
+
* @type {string}
|
|
707
|
+
* @memberof AuthMfaPost
|
|
708
|
+
*/
|
|
709
|
+
mfaKey: string;
|
|
710
|
+
/**
|
|
711
|
+
* The device name, used to create an ApiKey associated with this device
|
|
712
|
+
* @type {string}
|
|
713
|
+
* @memberof AuthMfaPost
|
|
714
|
+
*/
|
|
715
|
+
device: string;
|
|
716
716
|
}
|
|
717
717
|
/**
|
|
718
718
|
*
|
|
@@ -720,12 +720,12 @@ export interface AuthMfaPost {
|
|
|
720
720
|
* @interface AuthReactivatePost
|
|
721
721
|
*/
|
|
722
722
|
export interface AuthReactivatePost {
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
723
|
+
/**
|
|
724
|
+
*
|
|
725
|
+
* @type {Email}
|
|
726
|
+
* @memberof AuthReactivatePost
|
|
727
|
+
*/
|
|
728
|
+
email: Email;
|
|
729
729
|
}
|
|
730
730
|
/**
|
|
731
731
|
*
|
|
@@ -733,18 +733,18 @@ export interface AuthReactivatePost {
|
|
|
733
733
|
* @interface AuthRegisterPost
|
|
734
734
|
*/
|
|
735
735
|
export interface AuthRegisterPost {
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
736
|
+
/**
|
|
737
|
+
*
|
|
738
|
+
* @type {string}
|
|
739
|
+
* @memberof AuthRegisterPost
|
|
740
|
+
*/
|
|
741
|
+
email: string;
|
|
742
|
+
/**
|
|
743
|
+
*
|
|
744
|
+
* @type {string}
|
|
745
|
+
* @memberof AuthRegisterPost
|
|
746
|
+
*/
|
|
747
|
+
password: string;
|
|
748
748
|
}
|
|
749
749
|
/**
|
|
750
750
|
*
|
|
@@ -752,66 +752,66 @@ export interface AuthRegisterPost {
|
|
|
752
752
|
* @interface CustomDomain
|
|
753
753
|
*/
|
|
754
754
|
export interface CustomDomain {
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
755
|
+
/**
|
|
756
|
+
*
|
|
757
|
+
* @type {boolean}
|
|
758
|
+
* @memberof CustomDomain
|
|
759
|
+
*/
|
|
760
|
+
catchAll: boolean;
|
|
761
|
+
/**
|
|
762
|
+
*
|
|
763
|
+
* @type {Date}
|
|
764
|
+
* @memberof CustomDomain
|
|
765
|
+
*/
|
|
766
|
+
creationDate: Date;
|
|
767
|
+
/**
|
|
768
|
+
*
|
|
769
|
+
* @type {UnixTimestamp}
|
|
770
|
+
* @memberof CustomDomain
|
|
771
|
+
*/
|
|
772
|
+
creationTimestamp: UnixTimestamp;
|
|
773
|
+
/**
|
|
774
|
+
*
|
|
775
|
+
* @type {string}
|
|
776
|
+
* @memberof CustomDomain
|
|
777
|
+
*/
|
|
778
|
+
domainName: string;
|
|
779
|
+
/**
|
|
780
|
+
*
|
|
781
|
+
* @type {number}
|
|
782
|
+
* @memberof CustomDomain
|
|
783
|
+
*/
|
|
784
|
+
id: number;
|
|
785
|
+
/**
|
|
786
|
+
*
|
|
787
|
+
* @type {boolean}
|
|
788
|
+
* @memberof CustomDomain
|
|
789
|
+
*/
|
|
790
|
+
isVerified: boolean;
|
|
791
|
+
/**
|
|
792
|
+
*
|
|
793
|
+
* @type {Array<MailboxModelRef>}
|
|
794
|
+
* @memberof CustomDomain
|
|
795
|
+
*/
|
|
796
|
+
mailboxes: Array<MailboxModelRef>;
|
|
797
|
+
/**
|
|
798
|
+
*
|
|
799
|
+
* @type {string}
|
|
800
|
+
* @memberof CustomDomain
|
|
801
|
+
*/
|
|
802
|
+
name: string;
|
|
803
|
+
/**
|
|
804
|
+
*
|
|
805
|
+
* @type {number}
|
|
806
|
+
* @memberof CustomDomain
|
|
807
|
+
*/
|
|
808
|
+
nbAlias: number;
|
|
809
|
+
/**
|
|
810
|
+
*
|
|
811
|
+
* @type {boolean}
|
|
812
|
+
* @memberof CustomDomain
|
|
813
|
+
*/
|
|
814
|
+
randomPrefixGeneration: boolean;
|
|
815
815
|
}
|
|
816
816
|
/**
|
|
817
817
|
*
|
|
@@ -834,42 +834,42 @@ export type Email = string;
|
|
|
834
834
|
* @interface Mailbox
|
|
835
835
|
*/
|
|
836
836
|
export interface Mailbox {
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
837
|
+
/**
|
|
838
|
+
*
|
|
839
|
+
* @type {Email}
|
|
840
|
+
* @memberof Mailbox
|
|
841
|
+
*/
|
|
842
|
+
email: Email;
|
|
843
|
+
/**
|
|
844
|
+
*
|
|
845
|
+
* @type {number}
|
|
846
|
+
* @memberof Mailbox
|
|
847
|
+
*/
|
|
848
|
+
id: number;
|
|
849
|
+
/**
|
|
850
|
+
*
|
|
851
|
+
* @type {boolean}
|
|
852
|
+
* @memberof Mailbox
|
|
853
|
+
*/
|
|
854
|
+
_default: boolean;
|
|
855
|
+
/**
|
|
856
|
+
*
|
|
857
|
+
* @type {UnixTimestamp}
|
|
858
|
+
* @memberof Mailbox
|
|
859
|
+
*/
|
|
860
|
+
creationTimestamp: UnixTimestamp;
|
|
861
|
+
/**
|
|
862
|
+
*
|
|
863
|
+
* @type {number}
|
|
864
|
+
* @memberof Mailbox
|
|
865
|
+
*/
|
|
866
|
+
nbAlias: number;
|
|
867
|
+
/**
|
|
868
|
+
*
|
|
869
|
+
* @type {boolean}
|
|
870
|
+
* @memberof Mailbox
|
|
871
|
+
*/
|
|
872
|
+
verified: boolean;
|
|
873
873
|
}
|
|
874
874
|
/**
|
|
875
875
|
*
|
|
@@ -877,24 +877,24 @@ export interface Mailbox {
|
|
|
877
877
|
* @interface MailboxMailboxIdPut
|
|
878
878
|
*/
|
|
879
879
|
export interface MailboxMailboxIdPut {
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
880
|
+
/**
|
|
881
|
+
* If true, set the mailbox as the default mailbox.
|
|
882
|
+
* @type {boolean}
|
|
883
|
+
* @memberof MailboxMailboxIdPut
|
|
884
|
+
*/
|
|
885
|
+
_default?: boolean;
|
|
886
|
+
/**
|
|
887
|
+
*
|
|
888
|
+
* @type {Email}
|
|
889
|
+
* @memberof MailboxMailboxIdPut
|
|
890
|
+
*/
|
|
891
|
+
email?: Email;
|
|
892
|
+
/**
|
|
893
|
+
* If true, cancel the email change of the mailbox.
|
|
894
|
+
* @type {boolean}
|
|
895
|
+
* @memberof MailboxMailboxIdPut
|
|
896
|
+
*/
|
|
897
|
+
cancelEmailChange?: boolean;
|
|
898
898
|
}
|
|
899
899
|
/**
|
|
900
900
|
*
|
|
@@ -902,12 +902,12 @@ export interface MailboxMailboxIdPut {
|
|
|
902
902
|
* @interface MailboxModelArray
|
|
903
903
|
*/
|
|
904
904
|
export interface MailboxModelArray {
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
905
|
+
/**
|
|
906
|
+
*
|
|
907
|
+
* @type {Array<Mailbox>}
|
|
908
|
+
* @memberof MailboxModelArray
|
|
909
|
+
*/
|
|
910
|
+
mailboxes?: Array<Mailbox>;
|
|
911
911
|
}
|
|
912
912
|
/**
|
|
913
913
|
*
|
|
@@ -915,18 +915,18 @@ export interface MailboxModelArray {
|
|
|
915
915
|
* @interface MailboxModelRef
|
|
916
916
|
*/
|
|
917
917
|
export interface MailboxModelRef {
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
918
|
+
/**
|
|
919
|
+
*
|
|
920
|
+
* @type {Email}
|
|
921
|
+
* @memberof MailboxModelRef
|
|
922
|
+
*/
|
|
923
|
+
email: Email;
|
|
924
|
+
/**
|
|
925
|
+
*
|
|
926
|
+
* @type {number}
|
|
927
|
+
* @memberof MailboxModelRef
|
|
928
|
+
*/
|
|
929
|
+
id: number;
|
|
930
930
|
}
|
|
931
931
|
/**
|
|
932
932
|
*
|
|
@@ -934,12 +934,12 @@ export interface MailboxModelRef {
|
|
|
934
934
|
* @interface MailboxPost
|
|
935
935
|
*/
|
|
936
936
|
export interface MailboxPost {
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
937
|
+
/**
|
|
938
|
+
*
|
|
939
|
+
* @type {Email}
|
|
940
|
+
* @memberof MailboxPost
|
|
941
|
+
*/
|
|
942
|
+
email?: Email;
|
|
943
943
|
}
|
|
944
944
|
/**
|
|
945
945
|
*
|
|
@@ -947,12 +947,12 @@ export interface MailboxPost {
|
|
|
947
947
|
* @interface ModelError
|
|
948
948
|
*/
|
|
949
949
|
export interface ModelError {
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
950
|
+
/**
|
|
951
|
+
* Error message
|
|
952
|
+
* @type {string}
|
|
953
|
+
* @memberof ModelError
|
|
954
|
+
*/
|
|
955
|
+
error?: string;
|
|
956
956
|
}
|
|
957
957
|
/**
|
|
958
958
|
*
|
|
@@ -960,12 +960,12 @@ export interface ModelError {
|
|
|
960
960
|
* @interface Success
|
|
961
961
|
*/
|
|
962
962
|
export interface Success {
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
963
|
+
/**
|
|
964
|
+
*
|
|
965
|
+
* @type {boolean}
|
|
966
|
+
* @memberof Success
|
|
967
|
+
*/
|
|
968
|
+
ok: boolean;
|
|
969
969
|
}
|
|
970
970
|
/**
|
|
971
971
|
*
|
|
@@ -973,12 +973,12 @@ export interface Success {
|
|
|
973
973
|
* @interface SudoPatch
|
|
974
974
|
*/
|
|
975
975
|
export interface SudoPatch {
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
976
|
+
/**
|
|
977
|
+
*
|
|
978
|
+
* @type {string}
|
|
979
|
+
* @memberof SudoPatch
|
|
980
|
+
*/
|
|
981
|
+
password?: string;
|
|
982
982
|
}
|
|
983
983
|
/**
|
|
984
984
|
* Unix timestamp
|
|
@@ -991,12 +991,12 @@ export type UnixTimestamp = number;
|
|
|
991
991
|
* @interface UserApiKey
|
|
992
992
|
*/
|
|
993
993
|
export interface UserApiKey {
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
994
|
+
/**
|
|
995
|
+
*
|
|
996
|
+
* @type {string}
|
|
997
|
+
* @memberof UserApiKey
|
|
998
|
+
*/
|
|
999
|
+
apiKey: string;
|
|
1000
1000
|
}
|
|
1001
1001
|
/**
|
|
1002
1002
|
*
|
|
@@ -1004,12 +1004,12 @@ export interface UserApiKey {
|
|
|
1004
1004
|
* @interface UserApiKeyPost
|
|
1005
1005
|
*/
|
|
1006
1006
|
export interface UserApiKeyPost {
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1007
|
+
/**
|
|
1008
|
+
* Device name
|
|
1009
|
+
* @type {string}
|
|
1010
|
+
* @memberof UserApiKeyPost
|
|
1011
|
+
*/
|
|
1012
|
+
device: string;
|
|
1013
1013
|
}
|
|
1014
1014
|
/**
|
|
1015
1015
|
*
|
|
@@ -1017,12 +1017,12 @@ export interface UserApiKeyPost {
|
|
|
1017
1017
|
* @interface UserCookieToken
|
|
1018
1018
|
*/
|
|
1019
1019
|
export interface UserCookieToken {
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1020
|
+
/**
|
|
1021
|
+
*
|
|
1022
|
+
* @type {string}
|
|
1023
|
+
* @memberof UserCookieToken
|
|
1024
|
+
*/
|
|
1025
|
+
token: string;
|
|
1026
1026
|
}
|
|
1027
1027
|
/**
|
|
1028
1028
|
*
|
|
@@ -1030,42 +1030,42 @@ export interface UserCookieToken {
|
|
|
1030
1030
|
* @interface UserInfo
|
|
1031
1031
|
*/
|
|
1032
1032
|
export interface UserInfo {
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1033
|
+
/**
|
|
1034
|
+
* User's full name
|
|
1035
|
+
* @type {string}
|
|
1036
|
+
* @memberof UserInfo
|
|
1037
|
+
*/
|
|
1038
|
+
name: string;
|
|
1039
|
+
/**
|
|
1040
|
+
*
|
|
1041
|
+
* @type {Email}
|
|
1042
|
+
* @memberof UserInfo
|
|
1043
|
+
*/
|
|
1044
|
+
email: Email;
|
|
1045
|
+
/**
|
|
1046
|
+
* Whether the user is a premium user or not
|
|
1047
|
+
* @type {boolean}
|
|
1048
|
+
* @memberof UserInfo
|
|
1049
|
+
*/
|
|
1050
|
+
isPremium: boolean;
|
|
1051
|
+
/**
|
|
1052
|
+
* Whether the user is in trial period or not
|
|
1053
|
+
* @type {boolean}
|
|
1054
|
+
* @memberof UserInfo
|
|
1055
|
+
*/
|
|
1056
|
+
inTrial: boolean;
|
|
1057
|
+
/**
|
|
1058
|
+
* URL of the user's profile picture
|
|
1059
|
+
* @type {string}
|
|
1060
|
+
* @memberof UserInfo
|
|
1061
|
+
*/
|
|
1062
|
+
profilePicture: string;
|
|
1063
|
+
/**
|
|
1064
|
+
*
|
|
1065
|
+
* @type {number}
|
|
1066
|
+
* @memberof UserInfo
|
|
1067
|
+
*/
|
|
1068
|
+
maxAliasFreePlan: number;
|
|
1069
1069
|
}
|
|
1070
1070
|
/**
|
|
1071
1071
|
*
|
|
@@ -1073,346 +1073,336 @@ export interface UserInfo {
|
|
|
1073
1073
|
* @interface UserInfoPatch
|
|
1074
1074
|
*/
|
|
1075
1075
|
export interface UserInfoPatch {
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1076
|
+
/**
|
|
1077
|
+
* Image of the new profile picture encoded in base64. Set to null to remove current profile picture.
|
|
1078
|
+
* @type {string}
|
|
1079
|
+
* @memberof UserInfoPatch
|
|
1080
|
+
*/
|
|
1081
|
+
profilePicture?: string;
|
|
1082
|
+
/**
|
|
1083
|
+
* New name of the user
|
|
1084
|
+
* @type {string}
|
|
1085
|
+
* @memberof UserInfoPatch
|
|
1086
|
+
*/
|
|
1087
|
+
name?: string;
|
|
1088
1088
|
}
|
|
1089
1089
|
/**
|
|
1090
1090
|
* AccountApi - fetch parameter creator
|
|
1091
1091
|
* @export
|
|
1092
1092
|
*/
|
|
1093
1093
|
export declare const AccountApiFetchParamCreator: (configuration?: Configuration) => {
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1094
|
+
/**
|
|
1095
|
+
* Activate a new account with the activation code that was sent to the user's email.
|
|
1096
|
+
* @summary Activate account
|
|
1097
|
+
* @param {AuthActivatePost} body
|
|
1098
|
+
* @param {*} [options] Override http request option.
|
|
1099
|
+
* @throws {RequiredError}
|
|
1100
|
+
*/
|
|
1101
|
+
activateAccount(body: AuthActivatePost, options?: any): FetchArgs;
|
|
1102
|
+
/**
|
|
1103
|
+
* Create a new API key
|
|
1104
|
+
* @summary Create API key
|
|
1105
|
+
* @param {UserApiKeyPost} body
|
|
1106
|
+
* @param {*} [options] Override http request option.
|
|
1107
|
+
* @throws {RequiredError}
|
|
1108
|
+
*/
|
|
1109
|
+
createApiKey(body: UserApiKeyPost, options?: any): FetchArgs;
|
|
1110
|
+
/**
|
|
1111
|
+
* Delete user (requires sudo mode)
|
|
1112
|
+
* @summary Delete user
|
|
1113
|
+
* @param {*} [options] Override http request option.
|
|
1114
|
+
* @throws {RequiredError}
|
|
1115
|
+
*/
|
|
1116
|
+
deleteUser(options?: any): FetchArgs;
|
|
1117
|
+
/**
|
|
1118
|
+
* Enable sudo mode
|
|
1119
|
+
* @summary Enable sudo mode
|
|
1120
|
+
* @param {SudoPatch} body
|
|
1121
|
+
* @param {*} [options] Override http request option.
|
|
1122
|
+
* @throws {RequiredError}
|
|
1123
|
+
*/
|
|
1124
|
+
enableSudoMode(body: SudoPatch, options?: any): FetchArgs;
|
|
1125
|
+
/**
|
|
1126
|
+
* Request a link to reset the password for a registered account.
|
|
1127
|
+
* @summary Forgot password
|
|
1128
|
+
* @param {AuthForgotPasswordPost} body
|
|
1129
|
+
* @param {*} [options] Override http request option.
|
|
1130
|
+
* @throws {RequiredError}
|
|
1131
|
+
*/
|
|
1132
|
+
forgotPassword(body: AuthForgotPasswordPost, options?: any): FetchArgs;
|
|
1133
|
+
/**
|
|
1134
|
+
* Get a one time use cookie to exchange it for a valid cookie in the web app
|
|
1135
|
+
* @summary Get cookie token
|
|
1136
|
+
* @param {*} [options] Override http request option.
|
|
1137
|
+
* @throws {RequiredError}
|
|
1138
|
+
*/
|
|
1139
|
+
getCookieToken(options?: any): FetchArgs;
|
|
1140
|
+
/**
|
|
1141
|
+
* Get user info
|
|
1142
|
+
* @summary Get user info
|
|
1143
|
+
* @param {*} [options] Override http request option.
|
|
1144
|
+
* @throws {RequiredError}
|
|
1145
|
+
*/
|
|
1146
|
+
getUserInfo(options?: any): FetchArgs;
|
|
1147
|
+
/**
|
|
1148
|
+
* Login using email and password to get an access token.
|
|
1149
|
+
* @summary Login
|
|
1150
|
+
* @param {AuthLoginPost} body
|
|
1151
|
+
* @param {*} [options] Override http request option.
|
|
1152
|
+
* @throws {RequiredError}
|
|
1153
|
+
*/
|
|
1154
|
+
login(body: AuthLoginPost, options?: any): FetchArgs;
|
|
1155
|
+
/**
|
|
1156
|
+
* Log out user
|
|
1157
|
+
* @summary Logout
|
|
1158
|
+
* @param {*} [options] Override http request option.
|
|
1159
|
+
* @throws {RequiredError}
|
|
1160
|
+
*/
|
|
1161
|
+
logout(options?: any): FetchArgs;
|
|
1162
|
+
/**
|
|
1163
|
+
* Authenticate using MFA
|
|
1164
|
+
* @summary MFA authentication
|
|
1165
|
+
* @param {AuthMfaPost} body The api_key is used in all subsequent requests. It's empty if MFA is enabled. If user hasn't enabled MFA, mfa_key is empty.
|
|
1166
|
+
* @param {*} [options] Override http request option.
|
|
1167
|
+
* @throws {RequiredError}
|
|
1168
|
+
*/
|
|
1169
|
+
mfa(body: AuthMfaPost, options?: any): FetchArgs;
|
|
1170
|
+
/**
|
|
1171
|
+
* Request a new activation code for an account that was already registered, but not activated yet.
|
|
1172
|
+
* @summary Reactivate account
|
|
1173
|
+
* @param {AuthReactivatePost} body
|
|
1174
|
+
* @param {*} [options] Override http request option.
|
|
1175
|
+
* @throws {RequiredError}
|
|
1176
|
+
*/
|
|
1177
|
+
reactivateAccount(body: AuthReactivatePost, options?: any): FetchArgs;
|
|
1178
|
+
/**
|
|
1179
|
+
* Register a new account
|
|
1180
|
+
* @summary Register account
|
|
1181
|
+
* @param {AuthRegisterPost} body
|
|
1182
|
+
* @param {*} [options] Override http request option.
|
|
1183
|
+
* @throws {RequiredError}
|
|
1184
|
+
*/
|
|
1185
|
+
registerAccount(body: AuthRegisterPost, options?: any): FetchArgs;
|
|
1186
|
+
/**
|
|
1187
|
+
* Update user info
|
|
1188
|
+
* @summary Update user info
|
|
1189
|
+
* @param {UserInfoPatch} body
|
|
1190
|
+
* @param {*} [options] Override http request option.
|
|
1191
|
+
* @throws {RequiredError}
|
|
1192
|
+
*/
|
|
1193
|
+
updateUserInfo(body: UserInfoPatch, options?: any): FetchArgs;
|
|
1194
1194
|
};
|
|
1195
1195
|
/**
|
|
1196
1196
|
* AccountApi - functional programming interface
|
|
1197
1197
|
* @export
|
|
1198
1198
|
*/
|
|
1199
1199
|
export declare const AccountApiFp: (configuration?: Configuration) => {
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
* @summary Update user info
|
|
1301
|
-
* @param {UserInfoPatch} body
|
|
1302
|
-
* @param {*} [options] Override http request option.
|
|
1303
|
-
* @throws {RequiredError}
|
|
1304
|
-
*/
|
|
1305
|
-
updateUserInfo(body: UserInfoPatch, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<UserInfo>;
|
|
1200
|
+
/**
|
|
1201
|
+
* Activate a new account with the activation code that was sent to the user's email.
|
|
1202
|
+
* @summary Activate account
|
|
1203
|
+
* @param {AuthActivatePost} body
|
|
1204
|
+
* @param {*} [options] Override http request option.
|
|
1205
|
+
* @throws {RequiredError}
|
|
1206
|
+
*/
|
|
1207
|
+
activateAccount(body: AuthActivatePost, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
|
|
1208
|
+
/**
|
|
1209
|
+
* Create a new API key
|
|
1210
|
+
* @summary Create API key
|
|
1211
|
+
* @param {UserApiKeyPost} body
|
|
1212
|
+
* @param {*} [options] Override http request option.
|
|
1213
|
+
* @throws {RequiredError}
|
|
1214
|
+
*/
|
|
1215
|
+
createApiKey(body: UserApiKeyPost, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<UserApiKey>;
|
|
1216
|
+
/**
|
|
1217
|
+
* Delete user (requires sudo mode)
|
|
1218
|
+
* @summary Delete user
|
|
1219
|
+
* @param {*} [options] Override http request option.
|
|
1220
|
+
* @throws {RequiredError}
|
|
1221
|
+
*/
|
|
1222
|
+
deleteUser(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Success>;
|
|
1223
|
+
/**
|
|
1224
|
+
* Enable sudo mode
|
|
1225
|
+
* @summary Enable sudo mode
|
|
1226
|
+
* @param {SudoPatch} body
|
|
1227
|
+
* @param {*} [options] Override http request option.
|
|
1228
|
+
* @throws {RequiredError}
|
|
1229
|
+
*/
|
|
1230
|
+
enableSudoMode(body: SudoPatch, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Success>;
|
|
1231
|
+
/**
|
|
1232
|
+
* Request a link to reset the password for a registered account.
|
|
1233
|
+
* @summary Forgot password
|
|
1234
|
+
* @param {AuthForgotPasswordPost} body
|
|
1235
|
+
* @param {*} [options] Override http request option.
|
|
1236
|
+
* @throws {RequiredError}
|
|
1237
|
+
*/
|
|
1238
|
+
forgotPassword(body: AuthForgotPasswordPost, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
|
|
1239
|
+
/**
|
|
1240
|
+
* Get a one time use cookie to exchange it for a valid cookie in the web app
|
|
1241
|
+
* @summary Get cookie token
|
|
1242
|
+
* @param {*} [options] Override http request option.
|
|
1243
|
+
* @throws {RequiredError}
|
|
1244
|
+
*/
|
|
1245
|
+
getCookieToken(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<UserCookieToken>;
|
|
1246
|
+
/**
|
|
1247
|
+
* Get user info
|
|
1248
|
+
* @summary Get user info
|
|
1249
|
+
* @param {*} [options] Override http request option.
|
|
1250
|
+
* @throws {RequiredError}
|
|
1251
|
+
*/
|
|
1252
|
+
getUserInfo(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<UserInfo>;
|
|
1253
|
+
/**
|
|
1254
|
+
* Login using email and password to get an access token.
|
|
1255
|
+
* @summary Login
|
|
1256
|
+
* @param {AuthLoginPost} body
|
|
1257
|
+
* @param {*} [options] Override http request option.
|
|
1258
|
+
* @throws {RequiredError}
|
|
1259
|
+
*/
|
|
1260
|
+
login(body: AuthLoginPost, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<AuthLogin>;
|
|
1261
|
+
/**
|
|
1262
|
+
* Log out user
|
|
1263
|
+
* @summary Logout
|
|
1264
|
+
* @param {*} [options] Override http request option.
|
|
1265
|
+
* @throws {RequiredError}
|
|
1266
|
+
*/
|
|
1267
|
+
logout(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<UserInfo>;
|
|
1268
|
+
/**
|
|
1269
|
+
* Authenticate using MFA
|
|
1270
|
+
* @summary MFA authentication
|
|
1271
|
+
* @param {AuthMfaPost} body The api_key is used in all subsequent requests. It's empty if MFA is enabled. If user hasn't enabled MFA, mfa_key is empty.
|
|
1272
|
+
* @param {*} [options] Override http request option.
|
|
1273
|
+
* @throws {RequiredError}
|
|
1274
|
+
*/
|
|
1275
|
+
mfa(body: AuthMfaPost, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<AuthMfa>;
|
|
1276
|
+
/**
|
|
1277
|
+
* Request a new activation code for an account that was already registered, but not activated yet.
|
|
1278
|
+
* @summary Reactivate account
|
|
1279
|
+
* @param {AuthReactivatePost} body
|
|
1280
|
+
* @param {*} [options] Override http request option.
|
|
1281
|
+
* @throws {RequiredError}
|
|
1282
|
+
*/
|
|
1283
|
+
reactivateAccount(body: AuthReactivatePost, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
|
|
1284
|
+
/**
|
|
1285
|
+
* Register a new account
|
|
1286
|
+
* @summary Register account
|
|
1287
|
+
* @param {AuthRegisterPost} body
|
|
1288
|
+
* @param {*} [options] Override http request option.
|
|
1289
|
+
* @throws {RequiredError}
|
|
1290
|
+
*/
|
|
1291
|
+
registerAccount(body: AuthRegisterPost, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
|
|
1292
|
+
/**
|
|
1293
|
+
* Update user info
|
|
1294
|
+
* @summary Update user info
|
|
1295
|
+
* @param {UserInfoPatch} body
|
|
1296
|
+
* @param {*} [options] Override http request option.
|
|
1297
|
+
* @throws {RequiredError}
|
|
1298
|
+
*/
|
|
1299
|
+
updateUserInfo(body: UserInfoPatch, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<UserInfo>;
|
|
1306
1300
|
};
|
|
1307
1301
|
/**
|
|
1308
1302
|
* AccountApi - factory interface
|
|
1309
1303
|
* @export
|
|
1310
1304
|
*/
|
|
1311
|
-
export declare const AccountApiFactory: (
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
* @param {*} [options] Override http request option.
|
|
1413
|
-
* @throws {RequiredError}
|
|
1414
|
-
*/
|
|
1415
|
-
updateUserInfo(body: UserInfoPatch, options?: any): Promise<UserInfo>;
|
|
1305
|
+
export declare const AccountApiFactory: (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) => {
|
|
1306
|
+
/**
|
|
1307
|
+
* Activate a new account with the activation code that was sent to the user's email.
|
|
1308
|
+
* @summary Activate account
|
|
1309
|
+
* @param {AuthActivatePost} body
|
|
1310
|
+
* @param {*} [options] Override http request option.
|
|
1311
|
+
* @throws {RequiredError}
|
|
1312
|
+
*/
|
|
1313
|
+
activateAccount(body: AuthActivatePost, options?: any): Promise<any>;
|
|
1314
|
+
/**
|
|
1315
|
+
* Create a new API key
|
|
1316
|
+
* @summary Create API key
|
|
1317
|
+
* @param {UserApiKeyPost} body
|
|
1318
|
+
* @param {*} [options] Override http request option.
|
|
1319
|
+
* @throws {RequiredError}
|
|
1320
|
+
*/
|
|
1321
|
+
createApiKey(body: UserApiKeyPost, options?: any): Promise<UserApiKey>;
|
|
1322
|
+
/**
|
|
1323
|
+
* Delete user (requires sudo mode)
|
|
1324
|
+
* @summary Delete user
|
|
1325
|
+
* @param {*} [options] Override http request option.
|
|
1326
|
+
* @throws {RequiredError}
|
|
1327
|
+
*/
|
|
1328
|
+
deleteUser(options?: any): Promise<Success>;
|
|
1329
|
+
/**
|
|
1330
|
+
* Enable sudo mode
|
|
1331
|
+
* @summary Enable sudo mode
|
|
1332
|
+
* @param {SudoPatch} body
|
|
1333
|
+
* @param {*} [options] Override http request option.
|
|
1334
|
+
* @throws {RequiredError}
|
|
1335
|
+
*/
|
|
1336
|
+
enableSudoMode(body: SudoPatch, options?: any): Promise<Success>;
|
|
1337
|
+
/**
|
|
1338
|
+
* Request a link to reset the password for a registered account.
|
|
1339
|
+
* @summary Forgot password
|
|
1340
|
+
* @param {AuthForgotPasswordPost} body
|
|
1341
|
+
* @param {*} [options] Override http request option.
|
|
1342
|
+
* @throws {RequiredError}
|
|
1343
|
+
*/
|
|
1344
|
+
forgotPassword(body: AuthForgotPasswordPost, options?: any): Promise<any>;
|
|
1345
|
+
/**
|
|
1346
|
+
* Get a one time use cookie to exchange it for a valid cookie in the web app
|
|
1347
|
+
* @summary Get cookie token
|
|
1348
|
+
* @param {*} [options] Override http request option.
|
|
1349
|
+
* @throws {RequiredError}
|
|
1350
|
+
*/
|
|
1351
|
+
getCookieToken(options?: any): Promise<UserCookieToken>;
|
|
1352
|
+
/**
|
|
1353
|
+
* Get user info
|
|
1354
|
+
* @summary Get user info
|
|
1355
|
+
* @param {*} [options] Override http request option.
|
|
1356
|
+
* @throws {RequiredError}
|
|
1357
|
+
*/
|
|
1358
|
+
getUserInfo(options?: any): Promise<UserInfo>;
|
|
1359
|
+
/**
|
|
1360
|
+
* Login using email and password to get an access token.
|
|
1361
|
+
* @summary Login
|
|
1362
|
+
* @param {AuthLoginPost} body
|
|
1363
|
+
* @param {*} [options] Override http request option.
|
|
1364
|
+
* @throws {RequiredError}
|
|
1365
|
+
*/
|
|
1366
|
+
login(body: AuthLoginPost, options?: any): Promise<AuthLogin>;
|
|
1367
|
+
/**
|
|
1368
|
+
* Log out user
|
|
1369
|
+
* @summary Logout
|
|
1370
|
+
* @param {*} [options] Override http request option.
|
|
1371
|
+
* @throws {RequiredError}
|
|
1372
|
+
*/
|
|
1373
|
+
logout(options?: any): Promise<UserInfo>;
|
|
1374
|
+
/**
|
|
1375
|
+
* Authenticate using MFA
|
|
1376
|
+
* @summary MFA authentication
|
|
1377
|
+
* @param {AuthMfaPost} body The api_key is used in all subsequent requests. It's empty if MFA is enabled. If user hasn't enabled MFA, mfa_key is empty.
|
|
1378
|
+
* @param {*} [options] Override http request option.
|
|
1379
|
+
* @throws {RequiredError}
|
|
1380
|
+
*/
|
|
1381
|
+
mfa(body: AuthMfaPost, options?: any): Promise<AuthMfa>;
|
|
1382
|
+
/**
|
|
1383
|
+
* Request a new activation code for an account that was already registered, but not activated yet.
|
|
1384
|
+
* @summary Reactivate account
|
|
1385
|
+
* @param {AuthReactivatePost} body
|
|
1386
|
+
* @param {*} [options] Override http request option.
|
|
1387
|
+
* @throws {RequiredError}
|
|
1388
|
+
*/
|
|
1389
|
+
reactivateAccount(body: AuthReactivatePost, options?: any): Promise<any>;
|
|
1390
|
+
/**
|
|
1391
|
+
* Register a new account
|
|
1392
|
+
* @summary Register account
|
|
1393
|
+
* @param {AuthRegisterPost} body
|
|
1394
|
+
* @param {*} [options] Override http request option.
|
|
1395
|
+
* @throws {RequiredError}
|
|
1396
|
+
*/
|
|
1397
|
+
registerAccount(body: AuthRegisterPost, options?: any): Promise<any>;
|
|
1398
|
+
/**
|
|
1399
|
+
* Update user info
|
|
1400
|
+
* @summary Update user info
|
|
1401
|
+
* @param {UserInfoPatch} body
|
|
1402
|
+
* @param {*} [options] Override http request option.
|
|
1403
|
+
* @throws {RequiredError}
|
|
1404
|
+
*/
|
|
1405
|
+
updateUserInfo(body: UserInfoPatch, options?: any): Promise<UserInfo>;
|
|
1416
1406
|
};
|
|
1417
1407
|
/**
|
|
1418
1408
|
* AccountApi - object-oriented interface
|
|
@@ -1421,472 +1411,431 @@ export declare const AccountApiFactory: (
|
|
|
1421
1411
|
* @extends {BaseAPI}
|
|
1422
1412
|
*/
|
|
1423
1413
|
export declare class AccountApi extends BaseAPI {
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1414
|
+
/**
|
|
1415
|
+
* Activate a new account with the activation code that was sent to the user's email.
|
|
1416
|
+
* @summary Activate account
|
|
1417
|
+
* @param {AuthActivatePost} body
|
|
1418
|
+
* @param {*} [options] Override http request option.
|
|
1419
|
+
* @throws {RequiredError}
|
|
1420
|
+
* @memberof AccountApi
|
|
1421
|
+
*/
|
|
1422
|
+
activateAccount(body: AuthActivatePost, options?: any): Promise<any>;
|
|
1423
|
+
/**
|
|
1424
|
+
* Create a new API key
|
|
1425
|
+
* @summary Create API key
|
|
1426
|
+
* @param {UserApiKeyPost} body
|
|
1427
|
+
* @param {*} [options] Override http request option.
|
|
1428
|
+
* @throws {RequiredError}
|
|
1429
|
+
* @memberof AccountApi
|
|
1430
|
+
*/
|
|
1431
|
+
createApiKey(body: UserApiKeyPost, options?: any): Promise<UserApiKey>;
|
|
1432
|
+
/**
|
|
1433
|
+
* Delete user (requires sudo mode)
|
|
1434
|
+
* @summary Delete user
|
|
1435
|
+
* @param {*} [options] Override http request option.
|
|
1436
|
+
* @throws {RequiredError}
|
|
1437
|
+
* @memberof AccountApi
|
|
1438
|
+
*/
|
|
1439
|
+
deleteUser(options?: any): Promise<Success>;
|
|
1440
|
+
/**
|
|
1441
|
+
* Enable sudo mode
|
|
1442
|
+
* @summary Enable sudo mode
|
|
1443
|
+
* @param {SudoPatch} body
|
|
1444
|
+
* @param {*} [options] Override http request option.
|
|
1445
|
+
* @throws {RequiredError}
|
|
1446
|
+
* @memberof AccountApi
|
|
1447
|
+
*/
|
|
1448
|
+
enableSudoMode(body: SudoPatch, options?: any): Promise<Success>;
|
|
1449
|
+
/**
|
|
1450
|
+
* Request a link to reset the password for a registered account.
|
|
1451
|
+
* @summary Forgot password
|
|
1452
|
+
* @param {AuthForgotPasswordPost} body
|
|
1453
|
+
* @param {*} [options] Override http request option.
|
|
1454
|
+
* @throws {RequiredError}
|
|
1455
|
+
* @memberof AccountApi
|
|
1456
|
+
*/
|
|
1457
|
+
forgotPassword(body: AuthForgotPasswordPost, options?: any): Promise<any>;
|
|
1458
|
+
/**
|
|
1459
|
+
* Get a one time use cookie to exchange it for a valid cookie in the web app
|
|
1460
|
+
* @summary Get cookie token
|
|
1461
|
+
* @param {*} [options] Override http request option.
|
|
1462
|
+
* @throws {RequiredError}
|
|
1463
|
+
* @memberof AccountApi
|
|
1464
|
+
*/
|
|
1465
|
+
getCookieToken(options?: any): Promise<UserCookieToken>;
|
|
1466
|
+
/**
|
|
1467
|
+
* Get user info
|
|
1468
|
+
* @summary Get user info
|
|
1469
|
+
* @param {*} [options] Override http request option.
|
|
1470
|
+
* @throws {RequiredError}
|
|
1471
|
+
* @memberof AccountApi
|
|
1472
|
+
*/
|
|
1473
|
+
getUserInfo(options?: any): Promise<UserInfo>;
|
|
1474
|
+
/**
|
|
1475
|
+
* Login using email and password to get an access token.
|
|
1476
|
+
* @summary Login
|
|
1477
|
+
* @param {AuthLoginPost} body
|
|
1478
|
+
* @param {*} [options] Override http request option.
|
|
1479
|
+
* @throws {RequiredError}
|
|
1480
|
+
* @memberof AccountApi
|
|
1481
|
+
*/
|
|
1482
|
+
login(body: AuthLoginPost, options?: any): Promise<AuthLogin>;
|
|
1483
|
+
/**
|
|
1484
|
+
* Log out user
|
|
1485
|
+
* @summary Logout
|
|
1486
|
+
* @param {*} [options] Override http request option.
|
|
1487
|
+
* @throws {RequiredError}
|
|
1488
|
+
* @memberof AccountApi
|
|
1489
|
+
*/
|
|
1490
|
+
logout(options?: any): Promise<UserInfo>;
|
|
1491
|
+
/**
|
|
1492
|
+
* Authenticate using MFA
|
|
1493
|
+
* @summary MFA authentication
|
|
1494
|
+
* @param {AuthMfaPost} body The api_key is used in all subsequent requests. It's empty if MFA is enabled. If user hasn't enabled MFA, mfa_key is empty.
|
|
1495
|
+
* @param {*} [options] Override http request option.
|
|
1496
|
+
* @throws {RequiredError}
|
|
1497
|
+
* @memberof AccountApi
|
|
1498
|
+
*/
|
|
1499
|
+
mfa(body: AuthMfaPost, options?: any): Promise<AuthMfa>;
|
|
1500
|
+
/**
|
|
1501
|
+
* Request a new activation code for an account that was already registered, but not activated yet.
|
|
1502
|
+
* @summary Reactivate account
|
|
1503
|
+
* @param {AuthReactivatePost} body
|
|
1504
|
+
* @param {*} [options] Override http request option.
|
|
1505
|
+
* @throws {RequiredError}
|
|
1506
|
+
* @memberof AccountApi
|
|
1507
|
+
*/
|
|
1508
|
+
reactivateAccount(body: AuthReactivatePost, options?: any): Promise<any>;
|
|
1509
|
+
/**
|
|
1510
|
+
* Register a new account
|
|
1511
|
+
* @summary Register account
|
|
1512
|
+
* @param {AuthRegisterPost} body
|
|
1513
|
+
* @param {*} [options] Override http request option.
|
|
1514
|
+
* @throws {RequiredError}
|
|
1515
|
+
* @memberof AccountApi
|
|
1516
|
+
*/
|
|
1517
|
+
registerAccount(body: AuthRegisterPost, options?: any): Promise<any>;
|
|
1518
|
+
/**
|
|
1519
|
+
* Update user info
|
|
1520
|
+
* @summary Update user info
|
|
1521
|
+
* @param {UserInfoPatch} body
|
|
1522
|
+
* @param {*} [options] Override http request option.
|
|
1523
|
+
* @throws {RequiredError}
|
|
1524
|
+
* @memberof AccountApi
|
|
1525
|
+
*/
|
|
1526
|
+
updateUserInfo(body: UserInfoPatch, options?: any): Promise<UserInfo>;
|
|
1537
1527
|
}
|
|
1538
1528
|
/**
|
|
1539
1529
|
* AliasApi - fetch parameter creator
|
|
1540
1530
|
* @export
|
|
1541
1531
|
*/
|
|
1542
1532
|
export declare const AliasApiFetchParamCreator: (configuration?: Configuration) => {
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1533
|
+
/**
|
|
1534
|
+
* Create a new contact for an alias by id.
|
|
1535
|
+
* @summary Create contact
|
|
1536
|
+
* @param {AliasAliasIdContactsPost} body Updated settings for the given alias.
|
|
1537
|
+
* @param {number} aliasId ID of an alias
|
|
1538
|
+
* @param {*} [options] Override http request option.
|
|
1539
|
+
* @throws {RequiredError}
|
|
1540
|
+
*/
|
|
1541
|
+
createContact(body: AliasAliasIdContactsPost, aliasId: number, options?: any): FetchArgs;
|
|
1542
|
+
/**
|
|
1543
|
+
* Create a new custom alias
|
|
1544
|
+
* @summary Create custom alias
|
|
1545
|
+
* @param {AliasCustomNewPost} body
|
|
1546
|
+
* @param {string} [hostname] This information is important to know where an alias is used in order to suggest user the same alias if they want to create on alias on the same website in the future.
|
|
1547
|
+
* @param {*} [options] Override http request option.
|
|
1548
|
+
* @throws {RequiredError}
|
|
1549
|
+
*/
|
|
1550
|
+
createCustomAlias(body: AliasCustomNewPost, hostname?: string, options?: any): FetchArgs;
|
|
1551
|
+
/**
|
|
1552
|
+
* Create a new random alias
|
|
1553
|
+
* @summary Create random alias
|
|
1554
|
+
* @param {AliasRandomNewPost} body
|
|
1555
|
+
* @param {string} [hostname] This information is important to know where an alias is used in order to suggest user the same alias if they want to create on alias on the same website in the future.
|
|
1556
|
+
* @param {string} [mode] Either `uuid` or `word`. By default, use the user setting when creating new random alias.
|
|
1557
|
+
* @param {*} [options] Override http request option.
|
|
1558
|
+
* @throws {RequiredError}
|
|
1559
|
+
*/
|
|
1560
|
+
createRandomAlias(body: AliasRandomNewPost, hostname?: string, mode?: string, options?: any): FetchArgs;
|
|
1561
|
+
/**
|
|
1562
|
+
* Delete specific alias by id.
|
|
1563
|
+
* @summary Delete alias
|
|
1564
|
+
* @param {number} aliasId ID of an alias
|
|
1565
|
+
* @param {*} [options] Override http request option.
|
|
1566
|
+
* @throws {RequiredError}
|
|
1567
|
+
*/
|
|
1568
|
+
deleteAlias(aliasId: number, options?: any): FetchArgs;
|
|
1569
|
+
/**
|
|
1570
|
+
* Get activities for specific alias by id.
|
|
1571
|
+
* @summary Get activities
|
|
1572
|
+
* @param {number} aliasId ID of an alias
|
|
1573
|
+
* @param {number} pageId The endpoint returns maximum 20 aliases for each page.
|
|
1574
|
+
* @param {*} [options] Override http request option.
|
|
1575
|
+
* @throws {RequiredError}
|
|
1576
|
+
*/
|
|
1577
|
+
getActivities(aliasId: number, pageId: number, options?: any): FetchArgs;
|
|
1578
|
+
/**
|
|
1579
|
+
* Get specific alias by id.
|
|
1580
|
+
* @summary Get alias
|
|
1581
|
+
* @param {number} aliasId ID of an alias
|
|
1582
|
+
* @param {*} [options] Override http request option.
|
|
1583
|
+
* @throws {RequiredError}
|
|
1584
|
+
*/
|
|
1585
|
+
getAlias(aliasId: number, options?: any): FetchArgs;
|
|
1586
|
+
/**
|
|
1587
|
+
* User alias info and suggestion. Used by the first extension screen when user opens the extension.
|
|
1588
|
+
* @summary Get alias options
|
|
1589
|
+
* @param {string} [hostname] This information is important to know where an alias is used in order to suggest user the same alias if they want to create on alias on the same website in the future.
|
|
1590
|
+
* @param {*} [options] Override http request option.
|
|
1591
|
+
* @throws {RequiredError}
|
|
1592
|
+
*/
|
|
1593
|
+
getAliasOptions(hostname?: string, options?: any): FetchArgs;
|
|
1594
|
+
/**
|
|
1595
|
+
* Get user aliases. Please note `pinned`, `disabled`, `enabled` are exclusive, i.e. only one can be present. They can only be set to `true`.
|
|
1596
|
+
* @summary Get aliases
|
|
1597
|
+
* @param {number} pageId The endpoint returns maximum 20 aliases for each page.
|
|
1598
|
+
* @param {boolean} [pinned] If set, only pinned aliases are returned.
|
|
1599
|
+
* @param {boolean} [disabled] If set, only disabled aliases are returned.
|
|
1600
|
+
* @param {boolean} [enabled] If set, only enabled aliases are returned.
|
|
1601
|
+
* @param {*} [options] Override http request option.
|
|
1602
|
+
* @throws {RequiredError}
|
|
1603
|
+
*/
|
|
1604
|
+
getAliases(pageId: number, pinned?: boolean, disabled?: boolean, enabled?: boolean, options?: any): FetchArgs;
|
|
1605
|
+
/**
|
|
1606
|
+
* Get contacts for specific alias by id.
|
|
1607
|
+
* @summary Get contacts
|
|
1608
|
+
* @param {number} aliasId ID of an alias
|
|
1609
|
+
* @param {number} pageId The endpoint returns maximum 20 aliases for each page.
|
|
1610
|
+
* @param {*} [options] Override http request option.
|
|
1611
|
+
* @throws {RequiredError}
|
|
1612
|
+
*/
|
|
1613
|
+
getContacts(aliasId: number, pageId: number, options?: any): FetchArgs;
|
|
1614
|
+
/**
|
|
1615
|
+
* Enable or disable specific alias by id.
|
|
1616
|
+
* @summary Toggle alias
|
|
1617
|
+
* @param {number} aliasId ID of an alias
|
|
1618
|
+
* @param {*} [options] Override http request option.
|
|
1619
|
+
* @throws {RequiredError}
|
|
1620
|
+
*/
|
|
1621
|
+
toggleAlias(aliasId: number, options?: any): FetchArgs;
|
|
1622
|
+
/**
|
|
1623
|
+
* Update specific alias by id.
|
|
1624
|
+
* @summary Update alias
|
|
1625
|
+
* @param {AliasAliasIdPatch} body Updated settings for the given alias.
|
|
1626
|
+
* @param {number} aliasId ID of an alias
|
|
1627
|
+
* @param {*} [options] Override http request option.
|
|
1628
|
+
* @throws {RequiredError}
|
|
1629
|
+
*/
|
|
1630
|
+
updateAlias(body: AliasAliasIdPatch, aliasId: number, options?: any): FetchArgs;
|
|
1641
1631
|
};
|
|
1642
1632
|
/**
|
|
1643
1633
|
* AliasApi - functional programming interface
|
|
1644
1634
|
* @export
|
|
1645
1635
|
*/
|
|
1646
1636
|
export declare const AliasApiFp: (configuration?: Configuration) => {
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
options?: any,
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
* @param {number} aliasId ID of an alias
|
|
1746
|
-
* @param {number} pageId The endpoint returns maximum 20 aliases for each page.
|
|
1747
|
-
* @param {*} [options] Override http request option.
|
|
1748
|
-
* @throws {RequiredError}
|
|
1749
|
-
*/
|
|
1750
|
-
getContacts(
|
|
1751
|
-
aliasId: number,
|
|
1752
|
-
pageId: number,
|
|
1753
|
-
options?: any,
|
|
1754
|
-
): (fetch?: FetchAPI, basePath?: string) => Promise<AliasAliasIdContactsModelArray>;
|
|
1755
|
-
/**
|
|
1756
|
-
* Enable or disable specific alias by id.
|
|
1757
|
-
* @summary Toggle alias
|
|
1758
|
-
* @param {number} aliasId ID of an alias
|
|
1759
|
-
* @param {*} [options] Override http request option.
|
|
1760
|
-
* @throws {RequiredError}
|
|
1761
|
-
*/
|
|
1762
|
-
toggleAlias(aliasId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<AliasAliasIdTogglePost>;
|
|
1763
|
-
/**
|
|
1764
|
-
* Update specific alias by id.
|
|
1765
|
-
* @summary Update alias
|
|
1766
|
-
* @param {AliasAliasIdPatch} body Updated settings for the given alias.
|
|
1767
|
-
* @param {number} aliasId ID of an alias
|
|
1768
|
-
* @param {*} [options] Override http request option.
|
|
1769
|
-
* @throws {RequiredError}
|
|
1770
|
-
*/
|
|
1771
|
-
updateAlias(
|
|
1772
|
-
body: AliasAliasIdPatch,
|
|
1773
|
-
aliasId: number,
|
|
1774
|
-
options?: any,
|
|
1775
|
-
): (fetch?: FetchAPI, basePath?: string) => Promise<Success>;
|
|
1637
|
+
/**
|
|
1638
|
+
* Create a new contact for an alias by id.
|
|
1639
|
+
* @summary Create contact
|
|
1640
|
+
* @param {AliasAliasIdContactsPost} body Updated settings for the given alias.
|
|
1641
|
+
* @param {number} aliasId ID of an alias
|
|
1642
|
+
* @param {*} [options] Override http request option.
|
|
1643
|
+
* @throws {RequiredError}
|
|
1644
|
+
*/
|
|
1645
|
+
createContact(body: AliasAliasIdContactsPost, aliasId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<AliasAliasIdContacts>;
|
|
1646
|
+
/**
|
|
1647
|
+
* Create a new custom alias
|
|
1648
|
+
* @summary Create custom alias
|
|
1649
|
+
* @param {AliasCustomNewPost} body
|
|
1650
|
+
* @param {string} [hostname] This information is important to know where an alias is used in order to suggest user the same alias if they want to create on alias on the same website in the future.
|
|
1651
|
+
* @param {*} [options] Override http request option.
|
|
1652
|
+
* @throws {RequiredError}
|
|
1653
|
+
*/
|
|
1654
|
+
createCustomAlias(body: AliasCustomNewPost, hostname?: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Alias>;
|
|
1655
|
+
/**
|
|
1656
|
+
* Create a new random alias
|
|
1657
|
+
* @summary Create random alias
|
|
1658
|
+
* @param {AliasRandomNewPost} body
|
|
1659
|
+
* @param {string} [hostname] This information is important to know where an alias is used in order to suggest user the same alias if they want to create on alias on the same website in the future.
|
|
1660
|
+
* @param {string} [mode] Either `uuid` or `word`. By default, use the user setting when creating new random alias.
|
|
1661
|
+
* @param {*} [options] Override http request option.
|
|
1662
|
+
* @throws {RequiredError}
|
|
1663
|
+
*/
|
|
1664
|
+
createRandomAlias(body: AliasRandomNewPost, hostname?: string, mode?: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Alias>;
|
|
1665
|
+
/**
|
|
1666
|
+
* Delete specific alias by id.
|
|
1667
|
+
* @summary Delete alias
|
|
1668
|
+
* @param {number} aliasId ID of an alias
|
|
1669
|
+
* @param {*} [options] Override http request option.
|
|
1670
|
+
* @throws {RequiredError}
|
|
1671
|
+
*/
|
|
1672
|
+
deleteAlias(aliasId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<AliasAliasIdDelete>;
|
|
1673
|
+
/**
|
|
1674
|
+
* Get activities for specific alias by id.
|
|
1675
|
+
* @summary Get activities
|
|
1676
|
+
* @param {number} aliasId ID of an alias
|
|
1677
|
+
* @param {number} pageId The endpoint returns maximum 20 aliases for each page.
|
|
1678
|
+
* @param {*} [options] Override http request option.
|
|
1679
|
+
* @throws {RequiredError}
|
|
1680
|
+
*/
|
|
1681
|
+
getActivities(aliasId: number, pageId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<AliasAliasIdActivitiesModelArray>;
|
|
1682
|
+
/**
|
|
1683
|
+
* Get specific alias by id.
|
|
1684
|
+
* @summary Get alias
|
|
1685
|
+
* @param {number} aliasId ID of an alias
|
|
1686
|
+
* @param {*} [options] Override http request option.
|
|
1687
|
+
* @throws {RequiredError}
|
|
1688
|
+
*/
|
|
1689
|
+
getAlias(aliasId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Alias>;
|
|
1690
|
+
/**
|
|
1691
|
+
* User alias info and suggestion. Used by the first extension screen when user opens the extension.
|
|
1692
|
+
* @summary Get alias options
|
|
1693
|
+
* @param {string} [hostname] This information is important to know where an alias is used in order to suggest user the same alias if they want to create on alias on the same website in the future.
|
|
1694
|
+
* @param {*} [options] Override http request option.
|
|
1695
|
+
* @throws {RequiredError}
|
|
1696
|
+
*/
|
|
1697
|
+
getAliasOptions(hostname?: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<AliasOptions>;
|
|
1698
|
+
/**
|
|
1699
|
+
* Get user aliases. Please note `pinned`, `disabled`, `enabled` are exclusive, i.e. only one can be present. They can only be set to `true`.
|
|
1700
|
+
* @summary Get aliases
|
|
1701
|
+
* @param {number} pageId The endpoint returns maximum 20 aliases for each page.
|
|
1702
|
+
* @param {boolean} [pinned] If set, only pinned aliases are returned.
|
|
1703
|
+
* @param {boolean} [disabled] If set, only disabled aliases are returned.
|
|
1704
|
+
* @param {boolean} [enabled] If set, only enabled aliases are returned.
|
|
1705
|
+
* @param {*} [options] Override http request option.
|
|
1706
|
+
* @throws {RequiredError}
|
|
1707
|
+
*/
|
|
1708
|
+
getAliases(pageId: number, pinned?: boolean, disabled?: boolean, enabled?: boolean, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<AliasModelArray>;
|
|
1709
|
+
/**
|
|
1710
|
+
* Get contacts for specific alias by id.
|
|
1711
|
+
* @summary Get contacts
|
|
1712
|
+
* @param {number} aliasId ID of an alias
|
|
1713
|
+
* @param {number} pageId The endpoint returns maximum 20 aliases for each page.
|
|
1714
|
+
* @param {*} [options] Override http request option.
|
|
1715
|
+
* @throws {RequiredError}
|
|
1716
|
+
*/
|
|
1717
|
+
getContacts(aliasId: number, pageId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<AliasAliasIdContactsModelArray>;
|
|
1718
|
+
/**
|
|
1719
|
+
* Enable or disable specific alias by id.
|
|
1720
|
+
* @summary Toggle alias
|
|
1721
|
+
* @param {number} aliasId ID of an alias
|
|
1722
|
+
* @param {*} [options] Override http request option.
|
|
1723
|
+
* @throws {RequiredError}
|
|
1724
|
+
*/
|
|
1725
|
+
toggleAlias(aliasId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<AliasAliasIdTogglePost>;
|
|
1726
|
+
/**
|
|
1727
|
+
* Update specific alias by id.
|
|
1728
|
+
* @summary Update alias
|
|
1729
|
+
* @param {AliasAliasIdPatch} body Updated settings for the given alias.
|
|
1730
|
+
* @param {number} aliasId ID of an alias
|
|
1731
|
+
* @param {*} [options] Override http request option.
|
|
1732
|
+
* @throws {RequiredError}
|
|
1733
|
+
*/
|
|
1734
|
+
updateAlias(body: AliasAliasIdPatch, aliasId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Success>;
|
|
1776
1735
|
};
|
|
1777
1736
|
/**
|
|
1778
1737
|
* AliasApi - factory interface
|
|
1779
1738
|
* @export
|
|
1780
1739
|
*/
|
|
1781
|
-
export declare const AliasApiFactory: (
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
options?: any
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
toggleAlias(aliasId: number, options?: any): Promise<AliasAliasIdTogglePost>;
|
|
1881
|
-
/**
|
|
1882
|
-
* Update specific alias by id.
|
|
1883
|
-
* @summary Update alias
|
|
1884
|
-
* @param {AliasAliasIdPatch} body Updated settings for the given alias.
|
|
1885
|
-
* @param {number} aliasId ID of an alias
|
|
1886
|
-
* @param {*} [options] Override http request option.
|
|
1887
|
-
* @throws {RequiredError}
|
|
1888
|
-
*/
|
|
1889
|
-
updateAlias(body: AliasAliasIdPatch, aliasId: number, options?: any): Promise<Success>;
|
|
1740
|
+
export declare const AliasApiFactory: (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) => {
|
|
1741
|
+
/**
|
|
1742
|
+
* Create a new contact for an alias by id.
|
|
1743
|
+
* @summary Create contact
|
|
1744
|
+
* @param {AliasAliasIdContactsPost} body Updated settings for the given alias.
|
|
1745
|
+
* @param {number} aliasId ID of an alias
|
|
1746
|
+
* @param {*} [options] Override http request option.
|
|
1747
|
+
* @throws {RequiredError}
|
|
1748
|
+
*/
|
|
1749
|
+
createContact(body: AliasAliasIdContactsPost, aliasId: number, options?: any): Promise<AliasAliasIdContacts>;
|
|
1750
|
+
/**
|
|
1751
|
+
* Create a new custom alias
|
|
1752
|
+
* @summary Create custom alias
|
|
1753
|
+
* @param {AliasCustomNewPost} body
|
|
1754
|
+
* @param {string} [hostname] This information is important to know where an alias is used in order to suggest user the same alias if they want to create on alias on the same website in the future.
|
|
1755
|
+
* @param {*} [options] Override http request option.
|
|
1756
|
+
* @throws {RequiredError}
|
|
1757
|
+
*/
|
|
1758
|
+
createCustomAlias(body: AliasCustomNewPost, hostname?: string, options?: any): Promise<Alias>;
|
|
1759
|
+
/**
|
|
1760
|
+
* Create a new random alias
|
|
1761
|
+
* @summary Create random alias
|
|
1762
|
+
* @param {AliasRandomNewPost} body
|
|
1763
|
+
* @param {string} [hostname] This information is important to know where an alias is used in order to suggest user the same alias if they want to create on alias on the same website in the future.
|
|
1764
|
+
* @param {string} [mode] Either `uuid` or `word`. By default, use the user setting when creating new random alias.
|
|
1765
|
+
* @param {*} [options] Override http request option.
|
|
1766
|
+
* @throws {RequiredError}
|
|
1767
|
+
*/
|
|
1768
|
+
createRandomAlias(body: AliasRandomNewPost, hostname?: string, mode?: string, options?: any): Promise<Alias>;
|
|
1769
|
+
/**
|
|
1770
|
+
* Delete specific alias by id.
|
|
1771
|
+
* @summary Delete alias
|
|
1772
|
+
* @param {number} aliasId ID of an alias
|
|
1773
|
+
* @param {*} [options] Override http request option.
|
|
1774
|
+
* @throws {RequiredError}
|
|
1775
|
+
*/
|
|
1776
|
+
deleteAlias(aliasId: number, options?: any): Promise<AliasAliasIdDelete>;
|
|
1777
|
+
/**
|
|
1778
|
+
* Get activities for specific alias by id.
|
|
1779
|
+
* @summary Get activities
|
|
1780
|
+
* @param {number} aliasId ID of an alias
|
|
1781
|
+
* @param {number} pageId The endpoint returns maximum 20 aliases for each page.
|
|
1782
|
+
* @param {*} [options] Override http request option.
|
|
1783
|
+
* @throws {RequiredError}
|
|
1784
|
+
*/
|
|
1785
|
+
getActivities(aliasId: number, pageId: number, options?: any): Promise<AliasAliasIdActivitiesModelArray>;
|
|
1786
|
+
/**
|
|
1787
|
+
* Get specific alias by id.
|
|
1788
|
+
* @summary Get alias
|
|
1789
|
+
* @param {number} aliasId ID of an alias
|
|
1790
|
+
* @param {*} [options] Override http request option.
|
|
1791
|
+
* @throws {RequiredError}
|
|
1792
|
+
*/
|
|
1793
|
+
getAlias(aliasId: number, options?: any): Promise<Alias>;
|
|
1794
|
+
/**
|
|
1795
|
+
* User alias info and suggestion. Used by the first extension screen when user opens the extension.
|
|
1796
|
+
* @summary Get alias options
|
|
1797
|
+
* @param {string} [hostname] This information is important to know where an alias is used in order to suggest user the same alias if they want to create on alias on the same website in the future.
|
|
1798
|
+
* @param {*} [options] Override http request option.
|
|
1799
|
+
* @throws {RequiredError}
|
|
1800
|
+
*/
|
|
1801
|
+
getAliasOptions(hostname?: string, options?: any): Promise<AliasOptions>;
|
|
1802
|
+
/**
|
|
1803
|
+
* Get user aliases. Please note `pinned`, `disabled`, `enabled` are exclusive, i.e. only one can be present. They can only be set to `true`.
|
|
1804
|
+
* @summary Get aliases
|
|
1805
|
+
* @param {number} pageId The endpoint returns maximum 20 aliases for each page.
|
|
1806
|
+
* @param {boolean} [pinned] If set, only pinned aliases are returned.
|
|
1807
|
+
* @param {boolean} [disabled] If set, only disabled aliases are returned.
|
|
1808
|
+
* @param {boolean} [enabled] If set, only enabled aliases are returned.
|
|
1809
|
+
* @param {*} [options] Override http request option.
|
|
1810
|
+
* @throws {RequiredError}
|
|
1811
|
+
*/
|
|
1812
|
+
getAliases(pageId: number, pinned?: boolean, disabled?: boolean, enabled?: boolean, options?: any): Promise<AliasModelArray>;
|
|
1813
|
+
/**
|
|
1814
|
+
* Get contacts for specific alias by id.
|
|
1815
|
+
* @summary Get contacts
|
|
1816
|
+
* @param {number} aliasId ID of an alias
|
|
1817
|
+
* @param {number} pageId The endpoint returns maximum 20 aliases for each page.
|
|
1818
|
+
* @param {*} [options] Override http request option.
|
|
1819
|
+
* @throws {RequiredError}
|
|
1820
|
+
*/
|
|
1821
|
+
getContacts(aliasId: number, pageId: number, options?: any): Promise<AliasAliasIdContactsModelArray>;
|
|
1822
|
+
/**
|
|
1823
|
+
* Enable or disable specific alias by id.
|
|
1824
|
+
* @summary Toggle alias
|
|
1825
|
+
* @param {number} aliasId ID of an alias
|
|
1826
|
+
* @param {*} [options] Override http request option.
|
|
1827
|
+
* @throws {RequiredError}
|
|
1828
|
+
*/
|
|
1829
|
+
toggleAlias(aliasId: number, options?: any): Promise<AliasAliasIdTogglePost>;
|
|
1830
|
+
/**
|
|
1831
|
+
* Update specific alias by id.
|
|
1832
|
+
* @summary Update alias
|
|
1833
|
+
* @param {AliasAliasIdPatch} body Updated settings for the given alias.
|
|
1834
|
+
* @param {number} aliasId ID of an alias
|
|
1835
|
+
* @param {*} [options] Override http request option.
|
|
1836
|
+
* @throws {RequiredError}
|
|
1837
|
+
*/
|
|
1838
|
+
updateAlias(body: AliasAliasIdPatch, aliasId: number, options?: any): Promise<Success>;
|
|
1890
1839
|
};
|
|
1891
1840
|
/**
|
|
1892
1841
|
* AliasApi - object-oriented interface
|
|
@@ -1895,167 +1844,157 @@ export declare const AliasApiFactory: (
|
|
|
1895
1844
|
* @extends {BaseAPI}
|
|
1896
1845
|
*/
|
|
1897
1846
|
export declare class AliasApi extends BaseAPI {
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
* @param {number} aliasId ID of an alias
|
|
2008
|
-
* @param {*} [options] Override http request option.
|
|
2009
|
-
* @throws {RequiredError}
|
|
2010
|
-
* @memberof AliasApi
|
|
2011
|
-
*/
|
|
2012
|
-
updateAlias(body: AliasAliasIdPatch, aliasId: number, options?: any): Promise<Success>;
|
|
1847
|
+
/**
|
|
1848
|
+
* Create a new contact for an alias by id.
|
|
1849
|
+
* @summary Create contact
|
|
1850
|
+
* @param {AliasAliasIdContactsPost} body Updated settings for the given alias.
|
|
1851
|
+
* @param {number} aliasId ID of an alias
|
|
1852
|
+
* @param {*} [options] Override http request option.
|
|
1853
|
+
* @throws {RequiredError}
|
|
1854
|
+
* @memberof AliasApi
|
|
1855
|
+
*/
|
|
1856
|
+
createContact(body: AliasAliasIdContactsPost, aliasId: number, options?: any): Promise<AliasAliasIdContacts>;
|
|
1857
|
+
/**
|
|
1858
|
+
* Create a new custom alias
|
|
1859
|
+
* @summary Create custom alias
|
|
1860
|
+
* @param {AliasCustomNewPost} body
|
|
1861
|
+
* @param {string} [hostname] This information is important to know where an alias is used in order to suggest user the same alias if they want to create on alias on the same website in the future.
|
|
1862
|
+
* @param {*} [options] Override http request option.
|
|
1863
|
+
* @throws {RequiredError}
|
|
1864
|
+
* @memberof AliasApi
|
|
1865
|
+
*/
|
|
1866
|
+
createCustomAlias(body: AliasCustomNewPost, hostname?: string, options?: any): Promise<Alias>;
|
|
1867
|
+
/**
|
|
1868
|
+
* Create a new random alias
|
|
1869
|
+
* @summary Create random alias
|
|
1870
|
+
* @param {AliasRandomNewPost} body
|
|
1871
|
+
* @param {string} [hostname] This information is important to know where an alias is used in order to suggest user the same alias if they want to create on alias on the same website in the future.
|
|
1872
|
+
* @param {string} [mode] Either `uuid` or `word`. By default, use the user setting when creating new random alias.
|
|
1873
|
+
* @param {*} [options] Override http request option.
|
|
1874
|
+
* @throws {RequiredError}
|
|
1875
|
+
* @memberof AliasApi
|
|
1876
|
+
*/
|
|
1877
|
+
createRandomAlias(body: AliasRandomNewPost, hostname?: string, mode?: string, options?: any): Promise<Alias>;
|
|
1878
|
+
/**
|
|
1879
|
+
* Delete specific alias by id.
|
|
1880
|
+
* @summary Delete alias
|
|
1881
|
+
* @param {number} aliasId ID of an alias
|
|
1882
|
+
* @param {*} [options] Override http request option.
|
|
1883
|
+
* @throws {RequiredError}
|
|
1884
|
+
* @memberof AliasApi
|
|
1885
|
+
*/
|
|
1886
|
+
deleteAlias(aliasId: number, options?: any): Promise<AliasAliasIdDelete>;
|
|
1887
|
+
/**
|
|
1888
|
+
* Get activities for specific alias by id.
|
|
1889
|
+
* @summary Get activities
|
|
1890
|
+
* @param {number} aliasId ID of an alias
|
|
1891
|
+
* @param {number} pageId The endpoint returns maximum 20 aliases for each page.
|
|
1892
|
+
* @param {*} [options] Override http request option.
|
|
1893
|
+
* @throws {RequiredError}
|
|
1894
|
+
* @memberof AliasApi
|
|
1895
|
+
*/
|
|
1896
|
+
getActivities(aliasId: number, pageId: number, options?: any): Promise<AliasAliasIdActivitiesModelArray>;
|
|
1897
|
+
/**
|
|
1898
|
+
* Get specific alias by id.
|
|
1899
|
+
* @summary Get alias
|
|
1900
|
+
* @param {number} aliasId ID of an alias
|
|
1901
|
+
* @param {*} [options] Override http request option.
|
|
1902
|
+
* @throws {RequiredError}
|
|
1903
|
+
* @memberof AliasApi
|
|
1904
|
+
*/
|
|
1905
|
+
getAlias(aliasId: number, options?: any): Promise<Alias>;
|
|
1906
|
+
/**
|
|
1907
|
+
* User alias info and suggestion. Used by the first extension screen when user opens the extension.
|
|
1908
|
+
* @summary Get alias options
|
|
1909
|
+
* @param {string} [hostname] This information is important to know where an alias is used in order to suggest user the same alias if they want to create on alias on the same website in the future.
|
|
1910
|
+
* @param {*} [options] Override http request option.
|
|
1911
|
+
* @throws {RequiredError}
|
|
1912
|
+
* @memberof AliasApi
|
|
1913
|
+
*/
|
|
1914
|
+
getAliasOptions(hostname?: string, options?: any): Promise<AliasOptions>;
|
|
1915
|
+
/**
|
|
1916
|
+
* Get user aliases. Please note `pinned`, `disabled`, `enabled` are exclusive, i.e. only one can be present. They can only be set to `true`.
|
|
1917
|
+
* @summary Get aliases
|
|
1918
|
+
* @param {number} pageId The endpoint returns maximum 20 aliases for each page.
|
|
1919
|
+
* @param {boolean} [pinned] If set, only pinned aliases are returned.
|
|
1920
|
+
* @param {boolean} [disabled] If set, only disabled aliases are returned.
|
|
1921
|
+
* @param {boolean} [enabled] If set, only enabled aliases are returned.
|
|
1922
|
+
* @param {*} [options] Override http request option.
|
|
1923
|
+
* @throws {RequiredError}
|
|
1924
|
+
* @memberof AliasApi
|
|
1925
|
+
*/
|
|
1926
|
+
getAliases(pageId: number, pinned?: boolean, disabled?: boolean, enabled?: boolean, options?: any): Promise<AliasModelArray>;
|
|
1927
|
+
/**
|
|
1928
|
+
* Get contacts for specific alias by id.
|
|
1929
|
+
* @summary Get contacts
|
|
1930
|
+
* @param {number} aliasId ID of an alias
|
|
1931
|
+
* @param {number} pageId The endpoint returns maximum 20 aliases for each page.
|
|
1932
|
+
* @param {*} [options] Override http request option.
|
|
1933
|
+
* @throws {RequiredError}
|
|
1934
|
+
* @memberof AliasApi
|
|
1935
|
+
*/
|
|
1936
|
+
getContacts(aliasId: number, pageId: number, options?: any): Promise<AliasAliasIdContactsModelArray>;
|
|
1937
|
+
/**
|
|
1938
|
+
* Enable or disable specific alias by id.
|
|
1939
|
+
* @summary Toggle alias
|
|
1940
|
+
* @param {number} aliasId ID of an alias
|
|
1941
|
+
* @param {*} [options] Override http request option.
|
|
1942
|
+
* @throws {RequiredError}
|
|
1943
|
+
* @memberof AliasApi
|
|
1944
|
+
*/
|
|
1945
|
+
toggleAlias(aliasId: number, options?: any): Promise<AliasAliasIdTogglePost>;
|
|
1946
|
+
/**
|
|
1947
|
+
* Update specific alias by id.
|
|
1948
|
+
* @summary Update alias
|
|
1949
|
+
* @param {AliasAliasIdPatch} body Updated settings for the given alias.
|
|
1950
|
+
* @param {number} aliasId ID of an alias
|
|
1951
|
+
* @param {*} [options] Override http request option.
|
|
1952
|
+
* @throws {RequiredError}
|
|
1953
|
+
* @memberof AliasApi
|
|
1954
|
+
*/
|
|
1955
|
+
updateAlias(body: AliasAliasIdPatch, aliasId: number, options?: any): Promise<Success>;
|
|
2013
1956
|
}
|
|
2014
1957
|
/**
|
|
2015
1958
|
* CustomDomainApi - fetch parameter creator
|
|
2016
1959
|
* @export
|
|
2017
1960
|
*/
|
|
2018
1961
|
export declare const CustomDomainApiFetchParamCreator: (configuration?: Configuration) => {
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
1962
|
+
/**
|
|
1963
|
+
* Get users custom domains.
|
|
1964
|
+
* @summary Get custom domains
|
|
1965
|
+
* @param {number} aliasId ID of an alias
|
|
1966
|
+
* @param {*} [options] Override http request option.
|
|
1967
|
+
* @throws {RequiredError}
|
|
1968
|
+
*/
|
|
1969
|
+
getCustomDomains(aliasId: number, options?: any): FetchArgs;
|
|
2027
1970
|
};
|
|
2028
1971
|
/**
|
|
2029
1972
|
* CustomDomainApi - functional programming interface
|
|
2030
1973
|
* @export
|
|
2031
1974
|
*/
|
|
2032
1975
|
export declare const CustomDomainApiFp: (configuration?: Configuration) => {
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
1976
|
+
/**
|
|
1977
|
+
* Get users custom domains.
|
|
1978
|
+
* @summary Get custom domains
|
|
1979
|
+
* @param {number} aliasId ID of an alias
|
|
1980
|
+
* @param {*} [options] Override http request option.
|
|
1981
|
+
* @throws {RequiredError}
|
|
1982
|
+
*/
|
|
1983
|
+
getCustomDomains(aliasId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<CustomDomain>;
|
|
2041
1984
|
};
|
|
2042
1985
|
/**
|
|
2043
1986
|
* CustomDomainApi - factory interface
|
|
2044
1987
|
* @export
|
|
2045
1988
|
*/
|
|
2046
|
-
export declare const CustomDomainApiFactory: (
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
* @param {*} [options] Override http request option.
|
|
2056
|
-
* @throws {RequiredError}
|
|
2057
|
-
*/
|
|
2058
|
-
getCustomDomains(aliasId: number, options?: any): Promise<CustomDomain>;
|
|
1989
|
+
export declare const CustomDomainApiFactory: (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) => {
|
|
1990
|
+
/**
|
|
1991
|
+
* Get users custom domains.
|
|
1992
|
+
* @summary Get custom domains
|
|
1993
|
+
* @param {number} aliasId ID of an alias
|
|
1994
|
+
* @param {*} [options] Override http request option.
|
|
1995
|
+
* @throws {RequiredError}
|
|
1996
|
+
*/
|
|
1997
|
+
getCustomDomains(aliasId: number, options?: any): Promise<CustomDomain>;
|
|
2059
1998
|
};
|
|
2060
1999
|
/**
|
|
2061
2000
|
* CustomDomainApi - object-oriented interface
|
|
@@ -2064,137 +2003,129 @@ export declare const CustomDomainApiFactory: (
|
|
|
2064
2003
|
* @extends {BaseAPI}
|
|
2065
2004
|
*/
|
|
2066
2005
|
export declare class CustomDomainApi extends BaseAPI {
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2006
|
+
/**
|
|
2007
|
+
* Get users custom domains.
|
|
2008
|
+
* @summary Get custom domains
|
|
2009
|
+
* @param {number} aliasId ID of an alias
|
|
2010
|
+
* @param {*} [options] Override http request option.
|
|
2011
|
+
* @throws {RequiredError}
|
|
2012
|
+
* @memberof CustomDomainApi
|
|
2013
|
+
*/
|
|
2014
|
+
getCustomDomains(aliasId: number, options?: any): Promise<CustomDomain>;
|
|
2076
2015
|
}
|
|
2077
2016
|
/**
|
|
2078
2017
|
* MailboxApi - fetch parameter creator
|
|
2079
2018
|
* @export
|
|
2080
2019
|
*/
|
|
2081
2020
|
export declare const MailboxApiFetchParamCreator: (configuration?: Configuration) => {
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2021
|
+
/**
|
|
2022
|
+
* Create a new mailbox
|
|
2023
|
+
* @summary Create mailbox
|
|
2024
|
+
* @param {MailboxPost} body The new mailbox address
|
|
2025
|
+
* @param {*} [options] Override http request option.
|
|
2026
|
+
* @throws {RequiredError}
|
|
2027
|
+
*/
|
|
2028
|
+
createMailbox(body: MailboxPost, options?: any): FetchArgs;
|
|
2029
|
+
/**
|
|
2030
|
+
* Delete specific mailbox by id.
|
|
2031
|
+
* @summary Delete mailbox
|
|
2032
|
+
* @param {number} mailboxId ID of a mailbox
|
|
2033
|
+
* @param {*} [options] Override http request option.
|
|
2034
|
+
* @throws {RequiredError}
|
|
2035
|
+
*/
|
|
2036
|
+
deleteMailbox(mailboxId: number, options?: any): FetchArgs;
|
|
2037
|
+
/**
|
|
2038
|
+
* Get user mailboxes.
|
|
2039
|
+
* @summary Get mailboxes
|
|
2040
|
+
* @param {*} [options] Override http request option.
|
|
2041
|
+
* @throws {RequiredError}
|
|
2042
|
+
*/
|
|
2043
|
+
getMailboxes(options?: any): FetchArgs;
|
|
2044
|
+
/**
|
|
2045
|
+
* Update specific mailbox by id.
|
|
2046
|
+
* @summary Update mailbox
|
|
2047
|
+
* @param {MailboxMailboxIdPut} body Updated settings of mailbox
|
|
2048
|
+
* @param {number} mailboxId ID of a mailbox
|
|
2049
|
+
* @param {*} [options] Override http request option.
|
|
2050
|
+
* @throws {RequiredError}
|
|
2051
|
+
*/
|
|
2052
|
+
updateMailbox(body: MailboxMailboxIdPut, mailboxId: number, options?: any): FetchArgs;
|
|
2114
2053
|
};
|
|
2115
2054
|
/**
|
|
2116
2055
|
* MailboxApi - functional programming interface
|
|
2117
2056
|
* @export
|
|
2118
2057
|
*/
|
|
2119
2058
|
export declare const MailboxApiFp: (configuration?: Configuration) => {
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
body: MailboxMailboxIdPut,
|
|
2153
|
-
mailboxId: number,
|
|
2154
|
-
options?: any,
|
|
2155
|
-
): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
|
|
2059
|
+
/**
|
|
2060
|
+
* Create a new mailbox
|
|
2061
|
+
* @summary Create mailbox
|
|
2062
|
+
* @param {MailboxPost} body The new mailbox address
|
|
2063
|
+
* @param {*} [options] Override http request option.
|
|
2064
|
+
* @throws {RequiredError}
|
|
2065
|
+
*/
|
|
2066
|
+
createMailbox(body: MailboxPost, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Mailbox>;
|
|
2067
|
+
/**
|
|
2068
|
+
* Delete specific mailbox by id.
|
|
2069
|
+
* @summary Delete mailbox
|
|
2070
|
+
* @param {number} mailboxId ID of a mailbox
|
|
2071
|
+
* @param {*} [options] Override http request option.
|
|
2072
|
+
* @throws {RequiredError}
|
|
2073
|
+
*/
|
|
2074
|
+
deleteMailbox(mailboxId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
|
|
2075
|
+
/**
|
|
2076
|
+
* Get user mailboxes.
|
|
2077
|
+
* @summary Get mailboxes
|
|
2078
|
+
* @param {*} [options] Override http request option.
|
|
2079
|
+
* @throws {RequiredError}
|
|
2080
|
+
*/
|
|
2081
|
+
getMailboxes(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<MailboxModelArray>;
|
|
2082
|
+
/**
|
|
2083
|
+
* Update specific mailbox by id.
|
|
2084
|
+
* @summary Update mailbox
|
|
2085
|
+
* @param {MailboxMailboxIdPut} body Updated settings of mailbox
|
|
2086
|
+
* @param {number} mailboxId ID of a mailbox
|
|
2087
|
+
* @param {*} [options] Override http request option.
|
|
2088
|
+
* @throws {RequiredError}
|
|
2089
|
+
*/
|
|
2090
|
+
updateMailbox(body: MailboxMailboxIdPut, mailboxId: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
|
|
2156
2091
|
};
|
|
2157
2092
|
/**
|
|
2158
2093
|
* MailboxApi - factory interface
|
|
2159
2094
|
* @export
|
|
2160
2095
|
*/
|
|
2161
|
-
export declare const MailboxApiFactory: (
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
* @param {*} [options] Override http request option.
|
|
2195
|
-
* @throws {RequiredError}
|
|
2196
|
-
*/
|
|
2197
|
-
updateMailbox(body: MailboxMailboxIdPut, mailboxId: number, options?: any): Promise<any>;
|
|
2096
|
+
export declare const MailboxApiFactory: (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) => {
|
|
2097
|
+
/**
|
|
2098
|
+
* Create a new mailbox
|
|
2099
|
+
* @summary Create mailbox
|
|
2100
|
+
* @param {MailboxPost} body The new mailbox address
|
|
2101
|
+
* @param {*} [options] Override http request option.
|
|
2102
|
+
* @throws {RequiredError}
|
|
2103
|
+
*/
|
|
2104
|
+
createMailbox(body: MailboxPost, options?: any): Promise<Mailbox>;
|
|
2105
|
+
/**
|
|
2106
|
+
* Delete specific mailbox by id.
|
|
2107
|
+
* @summary Delete mailbox
|
|
2108
|
+
* @param {number} mailboxId ID of a mailbox
|
|
2109
|
+
* @param {*} [options] Override http request option.
|
|
2110
|
+
* @throws {RequiredError}
|
|
2111
|
+
*/
|
|
2112
|
+
deleteMailbox(mailboxId: number, options?: any): Promise<any>;
|
|
2113
|
+
/**
|
|
2114
|
+
* Get user mailboxes.
|
|
2115
|
+
* @summary Get mailboxes
|
|
2116
|
+
* @param {*} [options] Override http request option.
|
|
2117
|
+
* @throws {RequiredError}
|
|
2118
|
+
*/
|
|
2119
|
+
getMailboxes(options?: any): Promise<MailboxModelArray>;
|
|
2120
|
+
/**
|
|
2121
|
+
* Update specific mailbox by id.
|
|
2122
|
+
* @summary Update mailbox
|
|
2123
|
+
* @param {MailboxMailboxIdPut} body Updated settings of mailbox
|
|
2124
|
+
* @param {number} mailboxId ID of a mailbox
|
|
2125
|
+
* @param {*} [options] Override http request option.
|
|
2126
|
+
* @throws {RequiredError}
|
|
2127
|
+
*/
|
|
2128
|
+
updateMailbox(body: MailboxMailboxIdPut, mailboxId: number, options?: any): Promise<any>;
|
|
2198
2129
|
};
|
|
2199
2130
|
/**
|
|
2200
2131
|
* MailboxApi - object-oriented interface
|
|
@@ -2203,40 +2134,40 @@ export declare const MailboxApiFactory: (
|
|
|
2203
2134
|
* @extends {BaseAPI}
|
|
2204
2135
|
*/
|
|
2205
2136
|
export declare class MailboxApi extends BaseAPI {
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2137
|
+
/**
|
|
2138
|
+
* Create a new mailbox
|
|
2139
|
+
* @summary Create mailbox
|
|
2140
|
+
* @param {MailboxPost} body The new mailbox address
|
|
2141
|
+
* @param {*} [options] Override http request option.
|
|
2142
|
+
* @throws {RequiredError}
|
|
2143
|
+
* @memberof MailboxApi
|
|
2144
|
+
*/
|
|
2145
|
+
createMailbox(body: MailboxPost, options?: any): Promise<Mailbox>;
|
|
2146
|
+
/**
|
|
2147
|
+
* Delete specific mailbox by id.
|
|
2148
|
+
* @summary Delete mailbox
|
|
2149
|
+
* @param {number} mailboxId ID of a mailbox
|
|
2150
|
+
* @param {*} [options] Override http request option.
|
|
2151
|
+
* @throws {RequiredError}
|
|
2152
|
+
* @memberof MailboxApi
|
|
2153
|
+
*/
|
|
2154
|
+
deleteMailbox(mailboxId: number, options?: any): Promise<any>;
|
|
2155
|
+
/**
|
|
2156
|
+
* Get user mailboxes.
|
|
2157
|
+
* @summary Get mailboxes
|
|
2158
|
+
* @param {*} [options] Override http request option.
|
|
2159
|
+
* @throws {RequiredError}
|
|
2160
|
+
* @memberof MailboxApi
|
|
2161
|
+
*/
|
|
2162
|
+
getMailboxes(options?: any): Promise<MailboxModelArray>;
|
|
2163
|
+
/**
|
|
2164
|
+
* Update specific mailbox by id.
|
|
2165
|
+
* @summary Update mailbox
|
|
2166
|
+
* @param {MailboxMailboxIdPut} body Updated settings of mailbox
|
|
2167
|
+
* @param {number} mailboxId ID of a mailbox
|
|
2168
|
+
* @param {*} [options] Override http request option.
|
|
2169
|
+
* @throws {RequiredError}
|
|
2170
|
+
* @memberof MailboxApi
|
|
2171
|
+
*/
|
|
2172
|
+
updateMailbox(body: MailboxMailboxIdPut, mailboxId: number, options?: any): Promise<any>;
|
|
2242
2173
|
}
|