@forteplatforms/sdk 1.0.250 → 1.0.261

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.
@@ -45,6 +45,7 @@ import { type GetContentDownloadLinkResponse } from '../models/GetContentDownloa
45
45
  import { type ImpersonationTokenResponse } from '../models/ImpersonationTokenResponse';
46
46
  import { type ListContentResponse } from '../models/ListContentResponse';
47
47
  import { type ListCustomDomainsResponse } from '../models/ListCustomDomainsResponse';
48
+ import { type ListSessionsResponse } from '../models/ListSessionsResponse';
48
49
  import { type NotificationTemplatesResponse } from '../models/NotificationTemplatesResponse';
49
50
  import { type PaginatedResponseActionInvocationObject } from '../models/PaginatedResponseActionInvocationObject';
50
51
  import { type PaginatedResponseLogLineObject } from '../models/PaginatedResponseLogLineObject';
@@ -429,6 +430,10 @@ export interface ListUserPaymentsRequest {
429
430
  maxTime?: Date;
430
431
  nextToken?: string;
431
432
  }
433
+ export interface ListUserSessionsRequest {
434
+ projectId: string;
435
+ userId: string;
436
+ }
432
437
  export interface ListUserSubscriptionsRequest {
433
438
  projectId: string;
434
439
  userId: string;
@@ -585,6 +590,15 @@ export interface RefundPaymentRequest {
585
590
  paymentId: string;
586
591
  keepSubscriptionActive?: boolean;
587
592
  }
593
+ export interface RevokeAllUserSessionsRequest {
594
+ projectId: string;
595
+ userId: string;
596
+ }
597
+ export interface RevokeUserSessionRequest {
598
+ projectId: string;
599
+ userId: string;
600
+ sessionId: string;
601
+ }
588
602
  export interface SearchLogLinesRequest {
589
603
  projectId: string;
590
604
  serviceId: string;
@@ -1345,6 +1359,16 @@ export declare class ProjectsServerApi extends runtime.BaseAPI {
1345
1359
  /**
1346
1360
  */
1347
1361
  listUserPayments(requestParameters: ListUserPaymentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponsePaymentObject>;
1362
+ /**
1363
+ * Creates request options for listUserSessions without sending the request
1364
+ */
1365
+ listUserSessionsRequestOpts(requestParameters: ListUserSessionsRequest): Promise<runtime.RequestOpts>;
1366
+ /**
1367
+ */
1368
+ listUserSessionsRaw(requestParameters: ListUserSessionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListSessionsResponse>>;
1369
+ /**
1370
+ */
1371
+ listUserSessions(requestParameters: ListUserSessionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListSessionsResponse>;
1348
1372
  /**
1349
1373
  * Creates request options for listUserSubscriptions without sending the request
1350
1374
  */
@@ -1615,6 +1639,26 @@ export declare class ProjectsServerApi extends runtime.BaseAPI {
1615
1639
  /**
1616
1640
  */
1617
1641
  refundPayment(requestParameters: RefundPaymentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaymentObject>;
1642
+ /**
1643
+ * Creates request options for revokeAllUserSessions without sending the request
1644
+ */
1645
+ revokeAllUserSessionsRequestOpts(requestParameters: RevokeAllUserSessionsRequest): Promise<runtime.RequestOpts>;
1646
+ /**
1647
+ */
1648
+ revokeAllUserSessionsRaw(requestParameters: RevokeAllUserSessionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
1649
+ /**
1650
+ */
1651
+ revokeAllUserSessions(requestParameters: RevokeAllUserSessionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
1652
+ /**
1653
+ * Creates request options for revokeUserSession without sending the request
1654
+ */
1655
+ revokeUserSessionRequestOpts(requestParameters: RevokeUserSessionRequest): Promise<runtime.RequestOpts>;
1656
+ /**
1657
+ */
1658
+ revokeUserSessionRaw(requestParameters: RevokeUserSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
1659
+ /**
1660
+ */
1661
+ revokeUserSession(requestParameters: RevokeUserSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
1618
1662
  /**
1619
1663
  * Creates request options for searchLogLines without sending the request
1620
1664
  */
@@ -1846,6 +1890,8 @@ export declare const ListUserActionLogsActionTypeType: {
1846
1890
  readonly USER_LOGIN: "USER_LOGIN";
1847
1891
  readonly USER_LOGOUT: "USER_LOGOUT";
1848
1892
  readonly USER_LOGIN_OTP_SENT: "USER_LOGIN_OTP_SENT";
1893
+ readonly SESSION_REVOKED: "SESSION_REVOKED";
1894
+ readonly ALL_OTHER_SESSIONS_REVOKED: "ALL_OTHER_SESSIONS_REVOKED";
1849
1895
  readonly PAYMENT_CREATED: "PAYMENT_CREATED";
1850
1896
  readonly PAYMENT_REFUNDED: "PAYMENT_REFUNDED";
1851
1897
  readonly PAYMENT_METHOD_SETUP_STARTED: "PAYMENT_METHOD_SETUP_STARTED";
@@ -101,6 +101,7 @@ var GetContentDownloadLinkResponse_1 = require("../models/GetContentDownloadLink
101
101
  var ImpersonationTokenResponse_1 = require("../models/ImpersonationTokenResponse");
102
102
  var ListContentResponse_1 = require("../models/ListContentResponse");
103
103
  var ListCustomDomainsResponse_1 = require("../models/ListCustomDomainsResponse");
104
+ var ListSessionsResponse_1 = require("../models/ListSessionsResponse");
104
105
  var NotificationTemplatesResponse_1 = require("../models/NotificationTemplatesResponse");
105
106
  var PaginatedResponseActionInvocationObject_1 = require("../models/PaginatedResponseActionInvocationObject");
106
107
  var PaginatedResponseLogLineObject_1 = require("../models/PaginatedResponseLogLineObject");
@@ -4464,6 +4465,67 @@ var ProjectsServerApi = /** @class */ (function (_super) {
4464
4465
  });
4465
4466
  });
4466
4467
  };
4468
+ /**
4469
+ * Creates request options for listUserSessions without sending the request
4470
+ */
4471
+ ProjectsServerApi.prototype.listUserSessionsRequestOpts = function (requestParameters) {
4472
+ return __awaiter(this, void 0, void 0, function () {
4473
+ var queryParameters, headerParameters, urlPath;
4474
+ return __generator(this, function (_a) {
4475
+ if (requestParameters['projectId'] == null) {
4476
+ throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling listUserSessions().');
4477
+ }
4478
+ if (requestParameters['userId'] == null) {
4479
+ throw new runtime.RequiredError('userId', 'Required parameter "userId" was null or undefined when calling listUserSessions().');
4480
+ }
4481
+ queryParameters = {};
4482
+ headerParameters = {};
4483
+ urlPath = "/api/v1/projects/{projectId}/users/{userId}/sessions";
4484
+ urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
4485
+ urlPath = urlPath.replace('{userId}', encodeURIComponent(String(requestParameters['userId'])));
4486
+ return [2 /*return*/, {
4487
+ path: urlPath,
4488
+ method: 'GET',
4489
+ headers: headerParameters,
4490
+ query: queryParameters,
4491
+ }];
4492
+ });
4493
+ });
4494
+ };
4495
+ /**
4496
+ */
4497
+ ProjectsServerApi.prototype.listUserSessionsRaw = function (requestParameters, initOverrides) {
4498
+ return __awaiter(this, void 0, void 0, function () {
4499
+ var requestOptions, response;
4500
+ return __generator(this, function (_a) {
4501
+ switch (_a.label) {
4502
+ case 0: return [4 /*yield*/, this.listUserSessionsRequestOpts(requestParameters)];
4503
+ case 1:
4504
+ requestOptions = _a.sent();
4505
+ return [4 /*yield*/, this.request(requestOptions, initOverrides)];
4506
+ case 2:
4507
+ response = _a.sent();
4508
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, ListSessionsResponse_1.ListSessionsResponseFromJSON)(jsonValue); })];
4509
+ }
4510
+ });
4511
+ });
4512
+ };
4513
+ /**
4514
+ */
4515
+ ProjectsServerApi.prototype.listUserSessions = function (requestParameters, initOverrides) {
4516
+ return __awaiter(this, void 0, void 0, function () {
4517
+ var response;
4518
+ return __generator(this, function (_a) {
4519
+ switch (_a.label) {
4520
+ case 0: return [4 /*yield*/, this.listUserSessionsRaw(requestParameters, initOverrides)];
4521
+ case 1:
4522
+ response = _a.sent();
4523
+ return [4 /*yield*/, response.value()];
4524
+ case 2: return [2 /*return*/, _a.sent()];
4525
+ }
4526
+ });
4527
+ });
4528
+ };
4467
4529
  /**
4468
4530
  * Creates request options for listUserSubscriptions without sending the request
4469
4531
  */
@@ -6278,6 +6340,128 @@ var ProjectsServerApi = /** @class */ (function (_super) {
6278
6340
  });
6279
6341
  });
6280
6342
  };
6343
+ /**
6344
+ * Creates request options for revokeAllUserSessions without sending the request
6345
+ */
6346
+ ProjectsServerApi.prototype.revokeAllUserSessionsRequestOpts = function (requestParameters) {
6347
+ return __awaiter(this, void 0, void 0, function () {
6348
+ var queryParameters, headerParameters, urlPath;
6349
+ return __generator(this, function (_a) {
6350
+ if (requestParameters['projectId'] == null) {
6351
+ throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling revokeAllUserSessions().');
6352
+ }
6353
+ if (requestParameters['userId'] == null) {
6354
+ throw new runtime.RequiredError('userId', 'Required parameter "userId" was null or undefined when calling revokeAllUserSessions().');
6355
+ }
6356
+ queryParameters = {};
6357
+ headerParameters = {};
6358
+ urlPath = "/api/v1/projects/{projectId}/users/{userId}/sessions";
6359
+ urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
6360
+ urlPath = urlPath.replace('{userId}', encodeURIComponent(String(requestParameters['userId'])));
6361
+ return [2 /*return*/, {
6362
+ path: urlPath,
6363
+ method: 'DELETE',
6364
+ headers: headerParameters,
6365
+ query: queryParameters,
6366
+ }];
6367
+ });
6368
+ });
6369
+ };
6370
+ /**
6371
+ */
6372
+ ProjectsServerApi.prototype.revokeAllUserSessionsRaw = function (requestParameters, initOverrides) {
6373
+ return __awaiter(this, void 0, void 0, function () {
6374
+ var requestOptions, response;
6375
+ return __generator(this, function (_a) {
6376
+ switch (_a.label) {
6377
+ case 0: return [4 /*yield*/, this.revokeAllUserSessionsRequestOpts(requestParameters)];
6378
+ case 1:
6379
+ requestOptions = _a.sent();
6380
+ return [4 /*yield*/, this.request(requestOptions, initOverrides)];
6381
+ case 2:
6382
+ response = _a.sent();
6383
+ return [2 /*return*/, new runtime.VoidApiResponse(response)];
6384
+ }
6385
+ });
6386
+ });
6387
+ };
6388
+ /**
6389
+ */
6390
+ ProjectsServerApi.prototype.revokeAllUserSessions = function (requestParameters, initOverrides) {
6391
+ return __awaiter(this, void 0, void 0, function () {
6392
+ return __generator(this, function (_a) {
6393
+ switch (_a.label) {
6394
+ case 0: return [4 /*yield*/, this.revokeAllUserSessionsRaw(requestParameters, initOverrides)];
6395
+ case 1:
6396
+ _a.sent();
6397
+ return [2 /*return*/];
6398
+ }
6399
+ });
6400
+ });
6401
+ };
6402
+ /**
6403
+ * Creates request options for revokeUserSession without sending the request
6404
+ */
6405
+ ProjectsServerApi.prototype.revokeUserSessionRequestOpts = function (requestParameters) {
6406
+ return __awaiter(this, void 0, void 0, function () {
6407
+ var queryParameters, headerParameters, urlPath;
6408
+ return __generator(this, function (_a) {
6409
+ if (requestParameters['projectId'] == null) {
6410
+ throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling revokeUserSession().');
6411
+ }
6412
+ if (requestParameters['userId'] == null) {
6413
+ throw new runtime.RequiredError('userId', 'Required parameter "userId" was null or undefined when calling revokeUserSession().');
6414
+ }
6415
+ if (requestParameters['sessionId'] == null) {
6416
+ throw new runtime.RequiredError('sessionId', 'Required parameter "sessionId" was null or undefined when calling revokeUserSession().');
6417
+ }
6418
+ queryParameters = {};
6419
+ headerParameters = {};
6420
+ urlPath = "/api/v1/projects/{projectId}/users/{userId}/sessions/{sessionId}";
6421
+ urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
6422
+ urlPath = urlPath.replace('{userId}', encodeURIComponent(String(requestParameters['userId'])));
6423
+ urlPath = urlPath.replace('{sessionId}', encodeURIComponent(String(requestParameters['sessionId'])));
6424
+ return [2 /*return*/, {
6425
+ path: urlPath,
6426
+ method: 'DELETE',
6427
+ headers: headerParameters,
6428
+ query: queryParameters,
6429
+ }];
6430
+ });
6431
+ });
6432
+ };
6433
+ /**
6434
+ */
6435
+ ProjectsServerApi.prototype.revokeUserSessionRaw = function (requestParameters, initOverrides) {
6436
+ return __awaiter(this, void 0, void 0, function () {
6437
+ var requestOptions, response;
6438
+ return __generator(this, function (_a) {
6439
+ switch (_a.label) {
6440
+ case 0: return [4 /*yield*/, this.revokeUserSessionRequestOpts(requestParameters)];
6441
+ case 1:
6442
+ requestOptions = _a.sent();
6443
+ return [4 /*yield*/, this.request(requestOptions, initOverrides)];
6444
+ case 2:
6445
+ response = _a.sent();
6446
+ return [2 /*return*/, new runtime.VoidApiResponse(response)];
6447
+ }
6448
+ });
6449
+ });
6450
+ };
6451
+ /**
6452
+ */
6453
+ ProjectsServerApi.prototype.revokeUserSession = function (requestParameters, initOverrides) {
6454
+ return __awaiter(this, void 0, void 0, function () {
6455
+ return __generator(this, function (_a) {
6456
+ switch (_a.label) {
6457
+ case 0: return [4 /*yield*/, this.revokeUserSessionRaw(requestParameters, initOverrides)];
6458
+ case 1:
6459
+ _a.sent();
6460
+ return [2 /*return*/];
6461
+ }
6462
+ });
6463
+ });
6464
+ };
6281
6465
  /**
6282
6466
  * Creates request options for searchLogLines without sending the request
6283
6467
  */
@@ -7428,6 +7612,8 @@ exports.ListUserActionLogsActionTypeType = {
7428
7612
  USER_LOGIN: 'USER_LOGIN',
7429
7613
  USER_LOGOUT: 'USER_LOGOUT',
7430
7614
  USER_LOGIN_OTP_SENT: 'USER_LOGIN_OTP_SENT',
7615
+ SESSION_REVOKED: 'SESSION_REVOKED',
7616
+ ALL_OTHER_SESSIONS_REVOKED: 'ALL_OTHER_SESSIONS_REVOKED',
7431
7617
  PAYMENT_CREATED: 'PAYMENT_CREATED',
7432
7618
  PAYMENT_REFUNDED: 'PAYMENT_REFUNDED',
7433
7619
  PAYMENT_METHOD_SETUP_STARTED: 'PAYMENT_METHOD_SETUP_STARTED',
@@ -37,11 +37,13 @@ import { type CreateUserInviteRequest } from '../models/CreateUserInviteRequest'
37
37
  import { type GetContentDownloadLinkResponse } from '../models/GetContentDownloadLinkResponse';
38
38
  import { type ListContentResponse } from '../models/ListContentResponse';
39
39
  import { type ListMfaMethodsResponse } from '../models/ListMfaMethodsResponse';
40
+ import { type ListSessionsResponse } from '../models/ListSessionsResponse';
40
41
  import { type ListUserInvitesResponse } from '../models/ListUserInvitesResponse';
41
42
  import { type LoginUserResponse } from '../models/LoginUserResponse';
42
43
  import { type MfaChallengeRequest } from '../models/MfaChallengeRequest';
43
44
  import { type MfaChallengeResponse } from '../models/MfaChallengeResponse';
44
45
  import { type MfaVerifyRequest } from '../models/MfaVerifyRequest';
46
+ import { type PaginatedResponseLoginHistoryEntry } from '../models/PaginatedResponseLoginHistoryEntry';
45
47
  import { type PaginatedResponsePaymentObject } from '../models/PaginatedResponsePaymentObject';
46
48
  import { type PasswordLoginRequest } from '../models/PasswordLoginRequest';
47
49
  import { type PaymentMethodObject } from '../models/PaymentMethodObject';
@@ -67,6 +69,7 @@ export interface ActivateMfaMethodOperationRequest {
67
69
  export interface CancelMySubscriptionRequest {
68
70
  projectId: string;
69
71
  subscriptionId: string;
72
+ authorization?: string;
70
73
  }
71
74
  export interface ChangeMyPasswordRequest {
72
75
  projectId: string;
@@ -104,23 +107,29 @@ export interface CreateUserInviteOperationRequest {
104
107
  export interface DeleteContactMethodRequest {
105
108
  projectId: string;
106
109
  contactMethodId: string;
110
+ authorization?: string;
107
111
  }
108
112
  export interface DeleteMfaMethodRequest {
109
113
  projectId: string;
110
114
  mfaMethodId: string;
115
+ authorization?: string;
111
116
  }
112
117
  export interface GenerateBackupCodesRequest {
113
118
  projectId: string;
119
+ authorization?: string;
114
120
  }
115
121
  export interface GetAccountRequest {
116
122
  projectId: string;
123
+ authorization?: string;
117
124
  }
118
125
  export interface GetBackupCodeStatusRequest {
119
126
  projectId: string;
127
+ authorization?: string;
120
128
  }
121
129
  export interface GetMySubscriptionRequest {
122
130
  projectId: string;
123
131
  subscriptionId: string;
132
+ authorization?: string;
124
133
  }
125
134
  export interface GoogleAuthLoginCallbackRequest {
126
135
  projectId: string;
@@ -128,11 +137,20 @@ export interface GoogleAuthLoginCallbackRequest {
128
137
  credential: string;
129
138
  recaptchaToken?: string;
130
139
  }
140
+ export interface ListLoginHistoryRequest {
141
+ projectId: string;
142
+ authorization?: string;
143
+ minTime?: Date;
144
+ maxTime?: Date;
145
+ nextToken?: string;
146
+ }
131
147
  export interface ListMfaMethodsRequest {
132
148
  projectId: string;
149
+ authorization?: string;
133
150
  }
134
151
  export interface ListMyPaymentsRequest {
135
152
  projectId: string;
153
+ authorization?: string;
136
154
  metadataKey?: string;
137
155
  metadataValue?: string;
138
156
  minTime?: Date;
@@ -141,11 +159,17 @@ export interface ListMyPaymentsRequest {
141
159
  }
142
160
  export interface ListMySubscriptionsRequest {
143
161
  projectId: string;
162
+ authorization?: string;
144
163
  page?: number;
145
164
  pageSize?: number;
146
165
  }
166
+ export interface ListSessionsRequest {
167
+ projectId: string;
168
+ authorization?: string;
169
+ }
147
170
  export interface ListUserInvitesRequest {
148
171
  projectId: string;
172
+ authorization?: string;
149
173
  }
150
174
  export interface LogoutRequest {
151
175
  projectId: string;
@@ -185,14 +209,25 @@ export interface RequestPasswordResetOperationRequest {
185
209
  export interface ResendContactMethodVerificationCodeRequest {
186
210
  projectId: string;
187
211
  contactMethodId: string;
212
+ authorization?: string;
188
213
  }
189
214
  export interface ResendLoginOtpRequest {
190
215
  projectId: string;
191
216
  pendingLoginId: string;
192
217
  }
218
+ export interface RevokeOtherSessionsRequest {
219
+ projectId: string;
220
+ authorization?: string;
221
+ }
222
+ export interface RevokeSessionRequest {
223
+ projectId: string;
224
+ sessionId: string;
225
+ authorization?: string;
226
+ }
193
227
  export interface RevokeUserInviteRequest {
194
228
  projectId: string;
195
229
  inviteId: string;
230
+ authorization?: string;
196
231
  }
197
232
  export interface SendMfaChallengeRequest {
198
233
  projectId: string;
@@ -217,6 +252,7 @@ export interface UsersCreatePaymentRequest {
217
252
  }
218
253
  export interface UsersCreatePaymentMethodRequest {
219
254
  projectId: string;
255
+ authorization?: string;
220
256
  }
221
257
  export interface UsersCreatePaymentPreviewRequest {
222
258
  projectId: string;
@@ -236,34 +272,42 @@ export interface UsersCreateSubscriptionPreviewRequest {
236
272
  export interface UsersDeleteContentRequest {
237
273
  projectId: string;
238
274
  contentId: string;
275
+ authorization?: string;
239
276
  }
240
277
  export interface UsersDeletePaymentMethodRequest {
241
278
  projectId: string;
242
279
  paymentMethodId: string;
280
+ authorization?: string;
243
281
  }
244
282
  export interface UsersFinalizeContentRequest {
245
283
  projectId: string;
246
284
  pendingContentId: string;
285
+ authorization?: string;
247
286
  }
248
287
  export interface UsersGetContentRequest {
249
288
  projectId: string;
250
289
  contentId: string;
290
+ authorization?: string;
251
291
  }
252
292
  export interface UsersGetContentDownloadLinkRequest {
253
293
  projectId: string;
254
294
  contentId: string;
295
+ authorization?: string;
255
296
  }
256
297
  export interface UsersGetPaymentMethodRequest {
257
298
  projectId: string;
258
299
  paymentMethodId: string;
300
+ authorization?: string;
259
301
  }
260
302
  export interface UsersListContentRequest {
261
303
  projectId: string;
304
+ authorization?: string;
262
305
  page?: number;
263
306
  pageSize?: number;
264
307
  }
265
308
  export interface UsersListPaymentMethodsRequest {
266
309
  projectId: string;
310
+ authorization?: string;
267
311
  }
268
312
  export interface UsersUpdateContentOwnerRequest {
269
313
  projectId: string;
@@ -287,6 +331,7 @@ export interface VerifyContactMethodRequest {
287
331
  projectId: string;
288
332
  contactMethodId: string;
289
333
  verificationCode: string;
334
+ authorization?: string;
290
335
  }
291
336
  export interface VerifyMfaRequest {
292
337
  projectId: string;
@@ -457,6 +502,16 @@ export declare class UsersServerApi extends runtime.BaseAPI {
457
502
  /**
458
503
  */
459
504
  googleAuthLoginCallback(requestParameters: GoogleAuthLoginCallbackRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LoginUserResponse>;
505
+ /**
506
+ * Creates request options for listLoginHistory without sending the request
507
+ */
508
+ listLoginHistoryRequestOpts(requestParameters: ListLoginHistoryRequest): Promise<runtime.RequestOpts>;
509
+ /**
510
+ */
511
+ listLoginHistoryRaw(requestParameters: ListLoginHistoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedResponseLoginHistoryEntry>>;
512
+ /**
513
+ */
514
+ listLoginHistory(requestParameters: ListLoginHistoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseLoginHistoryEntry>;
460
515
  /**
461
516
  * Creates request options for listMfaMethods without sending the request
462
517
  */
@@ -487,6 +542,16 @@ export declare class UsersServerApi extends runtime.BaseAPI {
487
542
  /**
488
543
  */
489
544
  listMySubscriptions(requestParameters: ListMySubscriptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<SubscriptionObject>>;
545
+ /**
546
+ * Creates request options for listSessions without sending the request
547
+ */
548
+ listSessionsRequestOpts(requestParameters: ListSessionsRequest): Promise<runtime.RequestOpts>;
549
+ /**
550
+ */
551
+ listSessionsRaw(requestParameters: ListSessionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListSessionsResponse>>;
552
+ /**
553
+ */
554
+ listSessions(requestParameters: ListSessionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListSessionsResponse>;
490
555
  /**
491
556
  * Creates request options for listUserInvites without sending the request
492
557
  */
@@ -587,6 +652,26 @@ export declare class UsersServerApi extends runtime.BaseAPI {
587
652
  /**
588
653
  */
589
654
  resendLoginOtp(requestParameters: ResendLoginOtpRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateOtpLoginResponse>;
655
+ /**
656
+ * Creates request options for revokeOtherSessions without sending the request
657
+ */
658
+ revokeOtherSessionsRequestOpts(requestParameters: RevokeOtherSessionsRequest): Promise<runtime.RequestOpts>;
659
+ /**
660
+ */
661
+ revokeOtherSessionsRaw(requestParameters: RevokeOtherSessionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
662
+ /**
663
+ */
664
+ revokeOtherSessions(requestParameters: RevokeOtherSessionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
665
+ /**
666
+ * Creates request options for revokeSession without sending the request
667
+ */
668
+ revokeSessionRequestOpts(requestParameters: RevokeSessionRequest): Promise<runtime.RequestOpts>;
669
+ /**
670
+ */
671
+ revokeSessionRaw(requestParameters: RevokeSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
672
+ /**
673
+ */
674
+ revokeSession(requestParameters: RevokeSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
590
675
  /**
591
676
  * Creates request options for revokeUserInvite without sending the request
592
677
  */