@dynamic-labs/sdk-api 0.0.259 → 0.0.260
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 OauthRequestFromJSON(json) {
|
|
19
9
|
return OauthRequestFromJSONTyped(json);
|
|
20
10
|
}
|
|
@@ -24,6 +14,8 @@ function OauthRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
24
14
|
}
|
|
25
15
|
return {
|
|
26
16
|
'code': json['code'],
|
|
17
|
+
'codeVerifier': !runtime.exists(json, 'codeVerifier') ? undefined : json['codeVerifier'],
|
|
18
|
+
'state': !runtime.exists(json, 'state') ? undefined : json['state'],
|
|
27
19
|
};
|
|
28
20
|
}
|
|
29
21
|
function OauthRequestToJSON(value) {
|
|
@@ -35,6 +27,8 @@ function OauthRequestToJSON(value) {
|
|
|
35
27
|
}
|
|
36
28
|
return {
|
|
37
29
|
'code': value.code,
|
|
30
|
+
'codeVerifier': value.codeVerifier,
|
|
31
|
+
'state': value.state,
|
|
38
32
|
};
|
|
39
33
|
}
|
|
40
34
|
|
|
@@ -21,6 +21,18 @@ export interface OauthRequest {
|
|
|
21
21
|
* @memberof OauthRequest
|
|
22
22
|
*/
|
|
23
23
|
code: string;
|
|
24
|
+
/**
|
|
25
|
+
* Temporary auth code verifier for oauth2 access
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof OauthRequest
|
|
28
|
+
*/
|
|
29
|
+
codeVerifier?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Temporary auth state for oauth2 access
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof OauthRequest
|
|
34
|
+
*/
|
|
35
|
+
state?: string;
|
|
24
36
|
}
|
|
25
37
|
export declare function OauthRequestFromJSON(json: any): OauthRequest;
|
|
26
38
|
export declare function OauthRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): OauthRequest;
|
|
@@ -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 OauthRequestFromJSON(json) {
|
|
15
5
|
return OauthRequestFromJSONTyped(json);
|
|
16
6
|
}
|
|
@@ -20,6 +10,8 @@ function OauthRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
20
10
|
}
|
|
21
11
|
return {
|
|
22
12
|
'code': json['code'],
|
|
13
|
+
'codeVerifier': !exists(json, 'codeVerifier') ? undefined : json['codeVerifier'],
|
|
14
|
+
'state': !exists(json, 'state') ? undefined : json['state'],
|
|
23
15
|
};
|
|
24
16
|
}
|
|
25
17
|
function OauthRequestToJSON(value) {
|
|
@@ -31,6 +23,8 @@ function OauthRequestToJSON(value) {
|
|
|
31
23
|
}
|
|
32
24
|
return {
|
|
33
25
|
'code': value.code,
|
|
26
|
+
'codeVerifier': value.codeVerifier,
|
|
27
|
+
'state': value.state,
|
|
34
28
|
};
|
|
35
29
|
}
|
|
36
30
|
|