@dynamic-labs/sdk-api 0.0.300 → 0.0.301
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
|
@@ -16,6 +16,7 @@ function OauthRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
16
16
|
'code': json['code'],
|
|
17
17
|
'codeVerifier': !runtime.exists(json, 'codeVerifier') ? undefined : json['codeVerifier'],
|
|
18
18
|
'state': !runtime.exists(json, 'state') ? undefined : json['state'],
|
|
19
|
+
'captchaToken': !runtime.exists(json, 'captchaToken') ? undefined : json['captchaToken'],
|
|
19
20
|
};
|
|
20
21
|
}
|
|
21
22
|
function OauthRequestToJSON(value) {
|
|
@@ -29,6 +30,7 @@ function OauthRequestToJSON(value) {
|
|
|
29
30
|
'code': value.code,
|
|
30
31
|
'codeVerifier': value.codeVerifier,
|
|
31
32
|
'state': value.state,
|
|
33
|
+
'captchaToken': value.captchaToken,
|
|
32
34
|
};
|
|
33
35
|
}
|
|
34
36
|
|
|
@@ -33,6 +33,12 @@ export interface OauthRequest {
|
|
|
33
33
|
* @memberof OauthRequest
|
|
34
34
|
*/
|
|
35
35
|
state?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Optional captcha token to verify that the user is not a bot
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof OauthRequest
|
|
40
|
+
*/
|
|
41
|
+
captchaToken?: string;
|
|
36
42
|
}
|
|
37
43
|
export declare function OauthRequestFromJSON(json: any): OauthRequest;
|
|
38
44
|
export declare function OauthRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): OauthRequest;
|
|
@@ -12,6 +12,7 @@ function OauthRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
12
12
|
'code': json['code'],
|
|
13
13
|
'codeVerifier': !exists(json, 'codeVerifier') ? undefined : json['codeVerifier'],
|
|
14
14
|
'state': !exists(json, 'state') ? undefined : json['state'],
|
|
15
|
+
'captchaToken': !exists(json, 'captchaToken') ? undefined : json['captchaToken'],
|
|
15
16
|
};
|
|
16
17
|
}
|
|
17
18
|
function OauthRequestToJSON(value) {
|
|
@@ -25,6 +26,7 @@ function OauthRequestToJSON(value) {
|
|
|
25
26
|
'code': value.code,
|
|
26
27
|
'codeVerifier': value.codeVerifier,
|
|
27
28
|
'state': value.state,
|
|
29
|
+
'captchaToken': value.captchaToken,
|
|
28
30
|
};
|
|
29
31
|
}
|
|
30
32
|
|