@dynamic-labs/sdk-api-core 0.0.526 → 0.0.527
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
|
@@ -2,19 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
5
7
|
/* tslint:disable */
|
|
6
|
-
/* eslint-disable */
|
|
7
|
-
/**
|
|
8
|
-
* Dashboard API
|
|
9
|
-
* Dashboard API documentation
|
|
10
|
-
*
|
|
11
|
-
* The version of the OpenAPI document: 1.0.0
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
15
|
-
* https://openapi-generator.tech
|
|
16
|
-
* Do not edit the class manually.
|
|
17
|
-
*/
|
|
18
8
|
function RegisterSessionKeyRequestFromJSON(json) {
|
|
19
9
|
return RegisterSessionKeyRequestFromJSONTyped(json);
|
|
20
10
|
}
|
|
@@ -24,6 +14,7 @@ function RegisterSessionKeyRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
24
14
|
}
|
|
25
15
|
return {
|
|
26
16
|
'publicKey': json['publicKey'],
|
|
17
|
+
'prevSessionKeySignature': !runtime.exists(json, 'prevSessionKeySignature') ? undefined : json['prevSessionKeySignature'],
|
|
27
18
|
};
|
|
28
19
|
}
|
|
29
20
|
function RegisterSessionKeyRequestToJSON(value) {
|
|
@@ -35,6 +26,7 @@ function RegisterSessionKeyRequestToJSON(value) {
|
|
|
35
26
|
}
|
|
36
27
|
return {
|
|
37
28
|
'publicKey': value.publicKey,
|
|
29
|
+
'prevSessionKeySignature': value.prevSessionKeySignature,
|
|
38
30
|
};
|
|
39
31
|
}
|
|
40
32
|
|
|
@@ -21,6 +21,12 @@ export interface RegisterSessionKeyRequest {
|
|
|
21
21
|
* @memberof RegisterSessionKeyRequest
|
|
22
22
|
*/
|
|
23
23
|
publicKey: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof RegisterSessionKeyRequest
|
|
28
|
+
*/
|
|
29
|
+
prevSessionKeySignature?: string;
|
|
24
30
|
}
|
|
25
31
|
export declare function RegisterSessionKeyRequestFromJSON(json: any): RegisterSessionKeyRequest;
|
|
26
32
|
export declare function RegisterSessionKeyRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RegisterSessionKeyRequest;
|
|
@@ -1,16 +1,6 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
1
3
|
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Dashboard API
|
|
5
|
-
* Dashboard API documentation
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
4
|
function RegisterSessionKeyRequestFromJSON(json) {
|
|
15
5
|
return RegisterSessionKeyRequestFromJSONTyped(json);
|
|
16
6
|
}
|
|
@@ -20,6 +10,7 @@ function RegisterSessionKeyRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
20
10
|
}
|
|
21
11
|
return {
|
|
22
12
|
'publicKey': json['publicKey'],
|
|
13
|
+
'prevSessionKeySignature': !exists(json, 'prevSessionKeySignature') ? undefined : json['prevSessionKeySignature'],
|
|
23
14
|
};
|
|
24
15
|
}
|
|
25
16
|
function RegisterSessionKeyRequestToJSON(value) {
|
|
@@ -31,6 +22,7 @@ function RegisterSessionKeyRequestToJSON(value) {
|
|
|
31
22
|
}
|
|
32
23
|
return {
|
|
33
24
|
'publicKey': value.publicKey,
|
|
25
|
+
'prevSessionKeySignature': value.prevSessionKeySignature,
|
|
34
26
|
};
|
|
35
27
|
}
|
|
36
28
|
|