@dynamic-labs/sdk-api-core 0.0.849 → 0.0.850
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
CHANGED
|
@@ -63,6 +63,8 @@ function DynamicJwtFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
63
63
|
'info': !runtime.exists(json, 'info') ? undefined : JwtPayloadDeprecatedInfo.JwtPayloadDeprecatedInfoFromJSON(json['info']),
|
|
64
64
|
'serverAuth': !runtime.exists(json, 'server_auth') ? undefined : json['server_auth'],
|
|
65
65
|
'hashedIp': !runtime.exists(json, 'hashed_ip') ? undefined : json['hashed_ip'],
|
|
66
|
+
'originalSid': !runtime.exists(json, 'originalSid') ? undefined : json['originalSid'],
|
|
67
|
+
'refreshExp': !runtime.exists(json, 'refreshExp') ? undefined : json['refreshExp'],
|
|
66
68
|
};
|
|
67
69
|
}
|
|
68
70
|
function DynamicJwtToJSON(value) {
|
|
@@ -118,6 +120,8 @@ function DynamicJwtToJSON(value) {
|
|
|
118
120
|
'info': JwtPayloadDeprecatedInfo.JwtPayloadDeprecatedInfoToJSON(value.info),
|
|
119
121
|
'server_auth': value.serverAuth,
|
|
120
122
|
'hashed_ip': value.hashedIp,
|
|
123
|
+
'originalSid': value.originalSid,
|
|
124
|
+
'refreshExp': value.refreshExp,
|
|
121
125
|
};
|
|
122
126
|
}
|
|
123
127
|
|
|
@@ -290,6 +290,18 @@ export interface DynamicJwt {
|
|
|
290
290
|
* @memberof DynamicJwt
|
|
291
291
|
*/
|
|
292
292
|
hashedIp?: string;
|
|
293
|
+
/**
|
|
294
|
+
* Original session ID
|
|
295
|
+
* @type {string}
|
|
296
|
+
* @memberof DynamicJwt
|
|
297
|
+
*/
|
|
298
|
+
originalSid?: string;
|
|
299
|
+
/**
|
|
300
|
+
* Refresh expiration timestamp
|
|
301
|
+
* @type {number}
|
|
302
|
+
* @memberof DynamicJwt
|
|
303
|
+
*/
|
|
304
|
+
refreshExp?: number;
|
|
293
305
|
}
|
|
294
306
|
export declare function DynamicJwtFromJSON(json: any): DynamicJwt;
|
|
295
307
|
export declare function DynamicJwtFromJSONTyped(json: any, ignoreDiscriminator: boolean): DynamicJwt;
|
package/src/models/DynamicJwt.js
CHANGED
|
@@ -59,6 +59,8 @@ function DynamicJwtFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
59
59
|
'info': !exists(json, 'info') ? undefined : JwtPayloadDeprecatedInfoFromJSON(json['info']),
|
|
60
60
|
'serverAuth': !exists(json, 'server_auth') ? undefined : json['server_auth'],
|
|
61
61
|
'hashedIp': !exists(json, 'hashed_ip') ? undefined : json['hashed_ip'],
|
|
62
|
+
'originalSid': !exists(json, 'originalSid') ? undefined : json['originalSid'],
|
|
63
|
+
'refreshExp': !exists(json, 'refreshExp') ? undefined : json['refreshExp'],
|
|
62
64
|
};
|
|
63
65
|
}
|
|
64
66
|
function DynamicJwtToJSON(value) {
|
|
@@ -114,6 +116,8 @@ function DynamicJwtToJSON(value) {
|
|
|
114
116
|
'info': JwtPayloadDeprecatedInfoToJSON(value.info),
|
|
115
117
|
'server_auth': value.serverAuth,
|
|
116
118
|
'hashed_ip': value.hashedIp,
|
|
119
|
+
'originalSid': value.originalSid,
|
|
120
|
+
'refreshExp': value.refreshExp,
|
|
117
121
|
};
|
|
118
122
|
}
|
|
119
123
|
|
|
@@ -30,6 +30,8 @@ function MinifiedDynamicJwtFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
30
|
'username': !runtime.exists(json, 'username') ? undefined : json['username'],
|
|
31
31
|
'serverAuth': !runtime.exists(json, 'server_auth') ? undefined : json['server_auth'],
|
|
32
32
|
'hashedIp': !runtime.exists(json, 'hashed_ip') ? undefined : json['hashed_ip'],
|
|
33
|
+
'originalSid': !runtime.exists(json, 'originalSid') ? undefined : json['originalSid'],
|
|
34
|
+
'refreshExp': !runtime.exists(json, 'refreshExp') ? undefined : json['refreshExp'],
|
|
33
35
|
};
|
|
34
36
|
}
|
|
35
37
|
function MinifiedDynamicJwtToJSON(value) {
|
|
@@ -56,6 +58,8 @@ function MinifiedDynamicJwtToJSON(value) {
|
|
|
56
58
|
'username': value.username,
|
|
57
59
|
'server_auth': value.serverAuth,
|
|
58
60
|
'hashed_ip': value.hashedIp,
|
|
61
|
+
'originalSid': value.originalSid,
|
|
62
|
+
'refreshExp': value.refreshExp,
|
|
59
63
|
};
|
|
60
64
|
}
|
|
61
65
|
|
|
@@ -112,6 +112,18 @@ export interface MinifiedDynamicJwt {
|
|
|
112
112
|
* @memberof MinifiedDynamicJwt
|
|
113
113
|
*/
|
|
114
114
|
hashedIp?: string;
|
|
115
|
+
/**
|
|
116
|
+
* Original session ID
|
|
117
|
+
* @type {string}
|
|
118
|
+
* @memberof MinifiedDynamicJwt
|
|
119
|
+
*/
|
|
120
|
+
originalSid?: string;
|
|
121
|
+
/**
|
|
122
|
+
* Refresh expiration timestamp
|
|
123
|
+
* @type {number}
|
|
124
|
+
* @memberof MinifiedDynamicJwt
|
|
125
|
+
*/
|
|
126
|
+
refreshExp?: number;
|
|
115
127
|
}
|
|
116
128
|
export declare function MinifiedDynamicJwtFromJSON(json: any): MinifiedDynamicJwt;
|
|
117
129
|
export declare function MinifiedDynamicJwtFromJSONTyped(json: any, ignoreDiscriminator: boolean): MinifiedDynamicJwt;
|
|
@@ -26,6 +26,8 @@ function MinifiedDynamicJwtFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
26
26
|
'username': !exists(json, 'username') ? undefined : json['username'],
|
|
27
27
|
'serverAuth': !exists(json, 'server_auth') ? undefined : json['server_auth'],
|
|
28
28
|
'hashedIp': !exists(json, 'hashed_ip') ? undefined : json['hashed_ip'],
|
|
29
|
+
'originalSid': !exists(json, 'originalSid') ? undefined : json['originalSid'],
|
|
30
|
+
'refreshExp': !exists(json, 'refreshExp') ? undefined : json['refreshExp'],
|
|
29
31
|
};
|
|
30
32
|
}
|
|
31
33
|
function MinifiedDynamicJwtToJSON(value) {
|
|
@@ -52,6 +54,8 @@ function MinifiedDynamicJwtToJSON(value) {
|
|
|
52
54
|
'username': value.username,
|
|
53
55
|
'server_auth': value.serverAuth,
|
|
54
56
|
'hashed_ip': value.hashedIp,
|
|
57
|
+
'originalSid': value.originalSid,
|
|
58
|
+
'refreshExp': value.refreshExp,
|
|
55
59
|
};
|
|
56
60
|
}
|
|
57
61
|
|