@breign/client 1.0.14 → 1.0.16

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.
@@ -21,7 +21,13 @@ export interface AuthCodeConfirmResponseUio {
21
21
  * @type {ApiKeyUio}
22
22
  * @memberof AuthCodeConfirmResponseUio
23
23
  */
24
- apiKey: ApiKeyUio;
24
+ apiKey?: ApiKeyUio;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof AuthCodeConfirmResponseUio
29
+ */
30
+ token?: string;
25
31
  /**
26
32
  *
27
33
  * @type {string}
@@ -23,8 +23,6 @@ const ApiKeyUio_1 = require("./ApiKeyUio");
23
23
  * Check if a given object implements the AuthCodeConfirmResponseUio interface.
24
24
  */
25
25
  function instanceOfAuthCodeConfirmResponseUio(value) {
26
- if (!('apiKey' in value) || value['apiKey'] === undefined)
27
- return false;
28
26
  if (!('message' in value) || value['message'] === undefined)
29
27
  return false;
30
28
  return true;
@@ -37,7 +35,8 @@ function AuthCodeConfirmResponseUioFromJSONTyped(json, ignoreDiscriminator) {
37
35
  return json;
38
36
  }
39
37
  return {
40
- 'apiKey': (0, ApiKeyUio_1.ApiKeyUioFromJSON)(json['apiKey']),
38
+ 'apiKey': json['apiKey'] == null ? undefined : (0, ApiKeyUio_1.ApiKeyUioFromJSON)(json['apiKey']),
39
+ 'token': json['token'] == null ? undefined : json['token'],
41
40
  'message': json['message'],
42
41
  };
43
42
  }
@@ -50,6 +49,7 @@ function AuthCodeConfirmResponseUioToJSONTyped(value, ignoreDiscriminator = fals
50
49
  }
51
50
  return {
52
51
  'apiKey': (0, ApiKeyUio_1.ApiKeyUioToJSON)(value['apiKey']),
52
+ 'token': value['token'],
53
53
  'message': value['message'],
54
54
  };
55
55
  }
@@ -21,7 +21,7 @@ export interface PersonaUio {
21
21
  * @type {string}
22
22
  * @memberof PersonaUio
23
23
  */
24
- _default: string;
24
+ default: string;
25
25
  }
26
26
  /**
27
27
  * Check if a given object implements the PersonaUio interface.
@@ -22,7 +22,7 @@ exports.PersonaUioToJSONTyped = PersonaUioToJSONTyped;
22
22
  * Check if a given object implements the PersonaUio interface.
23
23
  */
24
24
  function instanceOfPersonaUio(value) {
25
- if (!('_default' in value) || value['_default'] === undefined)
25
+ if (!('default' in value) || value['default'] === undefined)
26
26
  return false;
27
27
  return true;
28
28
  }
@@ -35,7 +35,7 @@ function PersonaUioFromJSONTyped(json, ignoreDiscriminator) {
35
35
  }
36
36
  return {
37
37
  ...json,
38
- '_default': json['default'],
38
+ 'default': json['default'],
39
39
  };
40
40
  }
41
41
  function PersonaUioToJSON(json) {
@@ -47,6 +47,6 @@ function PersonaUioToJSONTyped(value, ignoreDiscriminator = false) {
47
47
  }
48
48
  return {
49
49
  ...value,
50
- 'default': value['_default'],
50
+ 'default': value['default'],
51
51
  };
52
52
  }
@@ -21,7 +21,7 @@ export interface PromptInitUio {
21
21
  * @type {string}
22
22
  * @memberof PromptInitUio
23
23
  */
24
- _default: string;
24
+ default: string;
25
25
  }
26
26
  /**
27
27
  * Check if a given object implements the PromptInitUio interface.
@@ -22,7 +22,7 @@ exports.PromptInitUioToJSONTyped = PromptInitUioToJSONTyped;
22
22
  * Check if a given object implements the PromptInitUio interface.
23
23
  */
24
24
  function instanceOfPromptInitUio(value) {
25
- if (!('_default' in value) || value['_default'] === undefined)
25
+ if (!('default' in value) || value['default'] === undefined)
26
26
  return false;
27
27
  return true;
28
28
  }
@@ -35,7 +35,7 @@ function PromptInitUioFromJSONTyped(json, ignoreDiscriminator) {
35
35
  }
36
36
  return {
37
37
  ...json,
38
- '_default': json['default'],
38
+ 'default': json['default'],
39
39
  };
40
40
  }
41
41
  function PromptInitUioToJSON(json) {
@@ -47,6 +47,6 @@ function PromptInitUioToJSONTyped(value, ignoreDiscriminator = false) {
47
47
  }
48
48
  return {
49
49
  ...value,
50
- 'default': value['_default'],
50
+ 'default': value['default'],
51
51
  };
52
52
  }
package/dist/openapi.json CHANGED
@@ -6793,11 +6793,14 @@
6793
6793
  "apiKey" : {
6794
6794
  "$ref" : "#/components/schemas/ApiKey"
6795
6795
  },
6796
+ "token" : {
6797
+ "type" : "string"
6798
+ },
6796
6799
  "message" : {
6797
6800
  "type" : "string"
6798
6801
  }
6799
6802
  },
6800
- "required" : [ "apiKey", "message" ],
6803
+ "required" : [ "message" ],
6801
6804
  "type" : "object"
6802
6805
  },
6803
6806
  "ApiKey" : {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breign/client",
3
- "version": "1.0.14",
3
+ "version": "1.0.16",
4
4
  "main": "dist/index.js",
5
5
  "exports": {
6
6
  ".": "./dist/index.js",