@equisoft/account-service-sdk-typescript 9.6.1-snapshot.20250609131042 → 9.6.1-snapshot.20250610182740
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.
|
@@ -20,6 +20,8 @@ import { SsoProviderFromJSON, SsoProviderToJSON, } from './SsoProvider';
|
|
|
20
20
|
export function instanceOfSession(value) {
|
|
21
21
|
if (!('sessionId' in value) || value['sessionId'] === undefined)
|
|
22
22
|
return false;
|
|
23
|
+
if (!('uuid' in value) || value['uuid'] === undefined)
|
|
24
|
+
return false;
|
|
23
25
|
if (!('state' in value) || value['state'] === undefined)
|
|
24
26
|
return false;
|
|
25
27
|
if (!('created' in value) || value['created'] === undefined)
|
|
@@ -45,6 +47,7 @@ export function SessionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
47
|
}
|
|
46
48
|
return {
|
|
47
49
|
'sessionId': json['sessionId'],
|
|
50
|
+
'uuid': json['uuid'],
|
|
48
51
|
'state': SessionStateFromJSON(json['state']),
|
|
49
52
|
'created': (new Date(json['created'])),
|
|
50
53
|
'suspend': (new Date(json['suspend'])),
|
|
@@ -67,6 +70,7 @@ export function SessionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
67
70
|
}
|
|
68
71
|
return {
|
|
69
72
|
'sessionId': value['sessionId'],
|
|
73
|
+
'uuid': value['uuid'],
|
|
70
74
|
'state': SessionStateToJSON(value['state']),
|
|
71
75
|
'created': ((value['created']).toISOString()),
|
|
72
76
|
'suspend': ((value['suspend']).toISOString()),
|
package/dist/models/Session.d.ts
CHANGED
package/dist/models/Session.js
CHANGED
|
@@ -27,6 +27,8 @@ const SsoProvider_1 = require("./SsoProvider");
|
|
|
27
27
|
function instanceOfSession(value) {
|
|
28
28
|
if (!('sessionId' in value) || value['sessionId'] === undefined)
|
|
29
29
|
return false;
|
|
30
|
+
if (!('uuid' in value) || value['uuid'] === undefined)
|
|
31
|
+
return false;
|
|
30
32
|
if (!('state' in value) || value['state'] === undefined)
|
|
31
33
|
return false;
|
|
32
34
|
if (!('created' in value) || value['created'] === undefined)
|
|
@@ -52,6 +54,7 @@ function SessionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
52
54
|
}
|
|
53
55
|
return {
|
|
54
56
|
'sessionId': json['sessionId'],
|
|
57
|
+
'uuid': json['uuid'],
|
|
55
58
|
'state': (0, SessionState_1.SessionStateFromJSON)(json['state']),
|
|
56
59
|
'created': (new Date(json['created'])),
|
|
57
60
|
'suspend': (new Date(json['suspend'])),
|
|
@@ -74,6 +77,7 @@ function SessionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
74
77
|
}
|
|
75
78
|
return {
|
|
76
79
|
'sessionId': value['sessionId'],
|
|
80
|
+
'uuid': value['uuid'],
|
|
77
81
|
'state': (0, SessionState_1.SessionStateToJSON)(value['state']),
|
|
78
82
|
'created': ((value['created']).toISOString()),
|
|
79
83
|
'suspend': ((value['suspend']).toISOString()),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equisoft/account-service-sdk-typescript",
|
|
3
|
-
"version": "9.6.1-snapshot.
|
|
3
|
+
"version": "9.6.1-snapshot.20250610182740",
|
|
4
4
|
"description": "OpenAPI client for @equisoft/account-service-sdk-typescript",
|
|
5
5
|
"author": "OpenAPI-Generator",
|
|
6
6
|
"repository": {
|
package/src/models/Session.ts
CHANGED
|
@@ -47,6 +47,12 @@ export interface Session {
|
|
|
47
47
|
* @memberof Session
|
|
48
48
|
*/
|
|
49
49
|
sessionId: string;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof Session
|
|
54
|
+
*/
|
|
55
|
+
uuid: string;
|
|
50
56
|
/**
|
|
51
57
|
*
|
|
52
58
|
* @type {SessionState}
|
|
@@ -122,6 +128,7 @@ export interface Session {
|
|
|
122
128
|
*/
|
|
123
129
|
export function instanceOfSession(value: object): value is Session {
|
|
124
130
|
if (!('sessionId' in value) || value['sessionId'] === undefined) return false;
|
|
131
|
+
if (!('uuid' in value) || value['uuid'] === undefined) return false;
|
|
125
132
|
if (!('state' in value) || value['state'] === undefined) return false;
|
|
126
133
|
if (!('created' in value) || value['created'] === undefined) return false;
|
|
127
134
|
if (!('suspend' in value) || value['suspend'] === undefined) return false;
|
|
@@ -143,6 +150,7 @@ export function SessionFromJSONTyped(json: any, ignoreDiscriminator: boolean): S
|
|
|
143
150
|
return {
|
|
144
151
|
|
|
145
152
|
'sessionId': json['sessionId'],
|
|
153
|
+
'uuid': json['uuid'],
|
|
146
154
|
'state': SessionStateFromJSON(json['state']),
|
|
147
155
|
'created': (new Date(json['created'])),
|
|
148
156
|
'suspend': (new Date(json['suspend'])),
|
|
@@ -169,6 +177,7 @@ export function SessionToJSONTyped(value?: Session | null, ignoreDiscriminator:
|
|
|
169
177
|
return {
|
|
170
178
|
|
|
171
179
|
'sessionId': value['sessionId'],
|
|
180
|
+
'uuid': value['uuid'],
|
|
172
181
|
'state': SessionStateToJSON(value['state']),
|
|
173
182
|
'created': ((value['created']).toISOString()),
|
|
174
183
|
'suspend': ((value['suspend']).toISOString()),
|