@forteplatforms/sdk 1.0.253 → 1.0.262

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.
@@ -0,0 +1,74 @@
1
+ /**
2
+ * OpenAPI definition
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface SessionSummary
16
+ */
17
+ export interface SessionSummary {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SessionSummary
22
+ */
23
+ sessionId: string;
24
+ /**
25
+ *
26
+ * @type {Date}
27
+ * @memberof SessionSummary
28
+ */
29
+ creationTime: Date;
30
+ /**
31
+ *
32
+ * @type {Date}
33
+ * @memberof SessionSummary
34
+ */
35
+ expirationTime?: Date;
36
+ /**
37
+ *
38
+ * @type {Date}
39
+ * @memberof SessionSummary
40
+ */
41
+ lastActivityAt?: Date;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof SessionSummary
46
+ */
47
+ sourceIpAddress?: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof SessionSummary
52
+ */
53
+ approximateLocation?: string;
54
+ /**
55
+ *
56
+ * @type {boolean}
57
+ * @memberof SessionSummary
58
+ */
59
+ current?: boolean;
60
+ /**
61
+ *
62
+ * @type {boolean}
63
+ * @memberof SessionSummary
64
+ */
65
+ impersonation?: boolean;
66
+ }
67
+ /**
68
+ * Check if a given object implements the SessionSummary interface.
69
+ */
70
+ export declare function instanceOfSessionSummary(value: object): value is SessionSummary;
71
+ export declare function SessionSummaryFromJSON(json: any): SessionSummary;
72
+ export declare function SessionSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): SessionSummary;
73
+ export declare function SessionSummaryToJSON(json: any): SessionSummary;
74
+ export declare function SessionSummaryToJSONTyped(value?: SessionSummary | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * OpenAPI definition
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfSessionSummary = instanceOfSessionSummary;
17
+ exports.SessionSummaryFromJSON = SessionSummaryFromJSON;
18
+ exports.SessionSummaryFromJSONTyped = SessionSummaryFromJSONTyped;
19
+ exports.SessionSummaryToJSON = SessionSummaryToJSON;
20
+ exports.SessionSummaryToJSONTyped = SessionSummaryToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the SessionSummary interface.
23
+ */
24
+ function instanceOfSessionSummary(value) {
25
+ if (!('sessionId' in value) || value['sessionId'] === undefined)
26
+ return false;
27
+ if (!('creationTime' in value) || value['creationTime'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function SessionSummaryFromJSON(json) {
32
+ return SessionSummaryFromJSONTyped(json, false);
33
+ }
34
+ function SessionSummaryFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'sessionId': json['sessionId'],
40
+ 'creationTime': (new Date(json['creationTime'])),
41
+ 'expirationTime': json['expirationTime'] == null ? undefined : (new Date(json['expirationTime'])),
42
+ 'lastActivityAt': json['lastActivityAt'] == null ? undefined : (new Date(json['lastActivityAt'])),
43
+ 'sourceIpAddress': json['sourceIpAddress'] == null ? undefined : json['sourceIpAddress'],
44
+ 'approximateLocation': json['approximateLocation'] == null ? undefined : json['approximateLocation'],
45
+ 'current': json['current'] == null ? undefined : json['current'],
46
+ 'impersonation': json['impersonation'] == null ? undefined : json['impersonation'],
47
+ };
48
+ }
49
+ function SessionSummaryToJSON(json) {
50
+ return SessionSummaryToJSONTyped(json, false);
51
+ }
52
+ function SessionSummaryToJSONTyped(value, ignoreDiscriminator) {
53
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
54
+ if (value == null) {
55
+ return value;
56
+ }
57
+ return {
58
+ 'sessionId': value['sessionId'],
59
+ 'creationTime': value['creationTime'].toISOString(),
60
+ 'expirationTime': value['expirationTime'] == null ? value['expirationTime'] : value['expirationTime'].toISOString(),
61
+ 'lastActivityAt': value['lastActivityAt'] == null ? value['lastActivityAt'] : value['lastActivityAt'].toISOString(),
62
+ 'sourceIpAddress': value['sourceIpAddress'],
63
+ 'approximateLocation': value['approximateLocation'],
64
+ 'current': value['current'],
65
+ 'impersonation': value['impersonation'],
66
+ };
67
+ }
@@ -51,6 +51,12 @@ export interface UserActionLogObject {
51
51
  * @memberof UserActionLogObject
52
52
  */
53
53
  performedByAccountId?: string;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof UserActionLogObject
58
+ */
59
+ sourceIpAddress?: string;
54
60
  /**
55
61
  *
56
62
  * @type {{ [key: string]: string; }}
@@ -79,6 +85,8 @@ export declare const UserActionLogObjectActionTypeType: {
79
85
  readonly USER_LOGIN: "USER_LOGIN";
80
86
  readonly USER_LOGOUT: "USER_LOGOUT";
81
87
  readonly USER_LOGIN_OTP_SENT: "USER_LOGIN_OTP_SENT";
88
+ readonly SESSION_REVOKED: "SESSION_REVOKED";
89
+ readonly ALL_OTHER_SESSIONS_REVOKED: "ALL_OTHER_SESSIONS_REVOKED";
82
90
  readonly PAYMENT_CREATED: "PAYMENT_CREATED";
83
91
  readonly PAYMENT_REFUNDED: "PAYMENT_REFUNDED";
84
92
  readonly PAYMENT_METHOD_SETUP_STARTED: "PAYMENT_METHOD_SETUP_STARTED";
@@ -38,6 +38,8 @@ exports.UserActionLogObjectActionTypeType = {
38
38
  USER_LOGIN: 'USER_LOGIN',
39
39
  USER_LOGOUT: 'USER_LOGOUT',
40
40
  USER_LOGIN_OTP_SENT: 'USER_LOGIN_OTP_SENT',
41
+ SESSION_REVOKED: 'SESSION_REVOKED',
42
+ ALL_OTHER_SESSIONS_REVOKED: 'ALL_OTHER_SESSIONS_REVOKED',
41
43
  PAYMENT_CREATED: 'PAYMENT_CREATED',
42
44
  PAYMENT_REFUNDED: 'PAYMENT_REFUNDED',
43
45
  PAYMENT_METHOD_SETUP_STARTED: 'PAYMENT_METHOD_SETUP_STARTED',
@@ -95,6 +97,7 @@ function UserActionLogObjectFromJSONTyped(json, ignoreDiscriminator) {
95
97
  'contactMethodId': json['contactMethodId'] == null ? undefined : json['contactMethodId'],
96
98
  'paymentMethodId': json['paymentMethodId'] == null ? undefined : json['paymentMethodId'],
97
99
  'performedByAccountId': json['performedByAccountId'] == null ? undefined : json['performedByAccountId'],
100
+ 'sourceIpAddress': json['sourceIpAddress'] == null ? undefined : json['sourceIpAddress'],
98
101
  'metadata': json['metadata'] == null ? undefined : json['metadata'],
99
102
  };
100
103
  }
@@ -113,6 +116,7 @@ function UserActionLogObjectToJSONTyped(value, ignoreDiscriminator) {
113
116
  'contactMethodId': value['contactMethodId'],
114
117
  'paymentMethodId': value['paymentMethodId'],
115
118
  'performedByAccountId': value['performedByAccountId'],
119
+ 'sourceIpAddress': value['sourceIpAddress'],
116
120
  'metadata': value['metadata'],
117
121
  };
118
122
  }
@@ -67,8 +67,10 @@ export * from './LatencyStats';
67
67
  export * from './ListContentResponse';
68
68
  export * from './ListCustomDomainsResponse';
69
69
  export * from './ListMfaMethodsResponse';
70
+ export * from './ListSessionsResponse';
70
71
  export * from './ListUserInvitesResponse';
71
72
  export * from './LogLineObject';
73
+ export * from './LoginHistoryEntry';
72
74
  export * from './LoginUserResponse';
73
75
  export * from './MfaChallengeRequest';
74
76
  export * from './MfaChallengeResponse';
@@ -80,6 +82,7 @@ export * from './NotificationTemplatesConfig';
80
82
  export * from './NotificationTemplatesResponse';
81
83
  export * from './PaginatedResponseActionInvocationObject';
82
84
  export * from './PaginatedResponseLogLineObject';
85
+ export * from './PaginatedResponseLoginHistoryEntry';
83
86
  export * from './PaginatedResponsePaymentObject';
84
87
  export * from './PaginatedResponseRequestLogObject';
85
88
  export * from './PaginatedResponseServiceBuildRequestObject';
@@ -116,6 +119,7 @@ export * from './ServiceBuildRequestObject';
116
119
  export * from './ServiceMetricsResponse';
117
120
  export * from './ServiceObject';
118
121
  export * from './ServiceRouteMetricsResponse';
122
+ export * from './SessionSummary';
119
123
  export * from './SpenderAggregate';
120
124
  export * from './StateCurrencyTotals';
121
125
  export * from './StateHistory';
@@ -85,8 +85,10 @@ __exportStar(require("./LatencyStats"), exports);
85
85
  __exportStar(require("./ListContentResponse"), exports);
86
86
  __exportStar(require("./ListCustomDomainsResponse"), exports);
87
87
  __exportStar(require("./ListMfaMethodsResponse"), exports);
88
+ __exportStar(require("./ListSessionsResponse"), exports);
88
89
  __exportStar(require("./ListUserInvitesResponse"), exports);
89
90
  __exportStar(require("./LogLineObject"), exports);
91
+ __exportStar(require("./LoginHistoryEntry"), exports);
90
92
  __exportStar(require("./LoginUserResponse"), exports);
91
93
  __exportStar(require("./MfaChallengeRequest"), exports);
92
94
  __exportStar(require("./MfaChallengeResponse"), exports);
@@ -98,6 +100,7 @@ __exportStar(require("./NotificationTemplatesConfig"), exports);
98
100
  __exportStar(require("./NotificationTemplatesResponse"), exports);
99
101
  __exportStar(require("./PaginatedResponseActionInvocationObject"), exports);
100
102
  __exportStar(require("./PaginatedResponseLogLineObject"), exports);
103
+ __exportStar(require("./PaginatedResponseLoginHistoryEntry"), exports);
101
104
  __exportStar(require("./PaginatedResponsePaymentObject"), exports);
102
105
  __exportStar(require("./PaginatedResponseRequestLogObject"), exports);
103
106
  __exportStar(require("./PaginatedResponseServiceBuildRequestObject"), exports);
@@ -134,6 +137,7 @@ __exportStar(require("./ServiceBuildRequestObject"), exports);
134
137
  __exportStar(require("./ServiceMetricsResponse"), exports);
135
138
  __exportStar(require("./ServiceObject"), exports);
136
139
  __exportStar(require("./ServiceRouteMetricsResponse"), exports);
140
+ __exportStar(require("./SessionSummary"), exports);
137
141
  __exportStar(require("./SpenderAggregate"), exports);
138
142
  __exportStar(require("./StateCurrencyTotals"), exports);
139
143
  __exportStar(require("./StateHistory"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forteplatforms/sdk",
3
- "version": "1.0.253",
3
+ "version": "1.0.262",
4
4
  "description": "Official TypeScript SDK for Forte Platforms",
5
5
  "author": "Forte Platforms <support@forteplatforms.com>",
6
6
  "repository": {