@dynamic-labs/sdk-api 0.0.395 → 0.0.397

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",
3
- "version": "0.0.395",
3
+ "version": "0.0.397",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -17,7 +17,7 @@ function DynamicJwtFromJSONTyped(json, ignoreDiscriminator) {
17
17
  return json;
18
18
  }
19
19
  return {
20
- 'kid': !runtime.exists(json, 'kid') ? undefined : json['kid'],
20
+ 'kid': json['kid'],
21
21
  'aud': json['aud'],
22
22
  'iss': json['iss'],
23
23
  'sub': json['sub'],
@@ -24,7 +24,7 @@ export interface DynamicJwt {
24
24
  * @type {string}
25
25
  * @memberof DynamicJwt
26
26
  */
27
- kid?: string;
27
+ kid: string;
28
28
  /**
29
29
  *
30
30
  * @type {string}
@@ -13,7 +13,7 @@ function DynamicJwtFromJSONTyped(json, ignoreDiscriminator) {
13
13
  return json;
14
14
  }
15
15
  return {
16
- 'kid': !exists(json, 'kid') ? undefined : json['kid'],
16
+ 'kid': json['kid'],
17
17
  'aud': json['aud'],
18
18
  'iss': json['iss'],
19
19
  'sub': json['sub'],
@@ -87,6 +87,7 @@ exports.UnprocessableEntityErrorCode = void 0;
87
87
  UnprocessableEntityErrorCode["MfaInvalidCode"] = "mfa_invalid_code";
88
88
  UnprocessableEntityErrorCode["MfaInvalidRequest"] = "mfa_invalid_request";
89
89
  UnprocessableEntityErrorCode["InvalidPhone"] = "invalid_phone";
90
+ UnprocessableEntityErrorCode["GateExists"] = "gate_exists";
90
91
  })(exports.UnprocessableEntityErrorCode || (exports.UnprocessableEntityErrorCode = {}));
91
92
  function UnprocessableEntityErrorCodeFromJSON(json) {
92
93
  return UnprocessableEntityErrorCodeFromJSONTyped(json);
@@ -79,7 +79,8 @@ export declare enum UnprocessableEntityErrorCode {
79
79
  MfaDeviceNotFound = "mfa_device_not_found",
80
80
  MfaInvalidCode = "mfa_invalid_code",
81
81
  MfaInvalidRequest = "mfa_invalid_request",
82
- InvalidPhone = "invalid_phone"
82
+ InvalidPhone = "invalid_phone",
83
+ GateExists = "gate_exists"
83
84
  }
84
85
  export declare function UnprocessableEntityErrorCodeFromJSON(json: any): UnprocessableEntityErrorCode;
85
86
  export declare function UnprocessableEntityErrorCodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): UnprocessableEntityErrorCode;
@@ -83,6 +83,7 @@ var UnprocessableEntityErrorCode;
83
83
  UnprocessableEntityErrorCode["MfaInvalidCode"] = "mfa_invalid_code";
84
84
  UnprocessableEntityErrorCode["MfaInvalidRequest"] = "mfa_invalid_request";
85
85
  UnprocessableEntityErrorCode["InvalidPhone"] = "invalid_phone";
86
+ UnprocessableEntityErrorCode["GateExists"] = "gate_exists";
86
87
  })(UnprocessableEntityErrorCode || (UnprocessableEntityErrorCode = {}));
87
88
  function UnprocessableEntityErrorCodeFromJSON(json) {
88
89
  return UnprocessableEntityErrorCodeFromJSONTyped(json);