@dynamic-labs/sdk-api-core 0.0.509 → 0.0.511

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/sdk-api-core",
3
- "version": "0.0.509",
3
+ "version": "0.0.511",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -13,7 +13,7 @@ function OauthRequestFromJSONTyped(json, ignoreDiscriminator) {
13
13
  return json;
14
14
  }
15
15
  return {
16
- 'code': json['code'],
16
+ 'code': !runtime.exists(json, 'code') ? undefined : json['code'],
17
17
  'codeVerifier': !runtime.exists(json, 'codeVerifier') ? undefined : json['codeVerifier'],
18
18
  'state': json['state'],
19
19
  'captchaToken': !runtime.exists(json, 'captchaToken') ? undefined : json['captchaToken'],
@@ -20,7 +20,7 @@ export interface OauthRequest {
20
20
  * @type {string}
21
21
  * @memberof OauthRequest
22
22
  */
23
- code: string;
23
+ code?: string;
24
24
  /**
25
25
  * Temporary auth code verifier for oauth2 access
26
26
  * @type {string}
@@ -9,7 +9,7 @@ function OauthRequestFromJSONTyped(json, ignoreDiscriminator) {
9
9
  return json;
10
10
  }
11
11
  return {
12
- 'code': json['code'],
12
+ 'code': !exists(json, 'code') ? undefined : json['code'],
13
13
  'codeVerifier': !exists(json, 'codeVerifier') ? undefined : json['codeVerifier'],
14
14
  'state': json['state'],
15
15
  'captchaToken': !exists(json, 'captchaToken') ? undefined : json['captchaToken'],