@breign/client 1.0.106 → 1.0.107

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.
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { UserUio } from './UserUio';
12
+ import type { AuthCodeRequestUserUio } from './AuthCodeRequestUserUio';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -18,10 +18,10 @@ import type { UserUio } from './UserUio';
18
18
  export interface AuthCodeConfirmRequestUio {
19
19
  /**
20
20
  *
21
- * @type {UserUio}
21
+ * @type {AuthCodeRequestUserUio}
22
22
  * @memberof AuthCodeConfirmRequestUio
23
23
  */
24
- user: UserUio;
24
+ user: AuthCodeRequestUserUio;
25
25
  /**
26
26
  *
27
27
  * @type {string}
@@ -33,7 +33,7 @@ export interface AuthCodeConfirmRequestUio {
33
33
  * @type {string}
34
34
  * @memberof AuthCodeConfirmRequestUio
35
35
  */
36
- name: string;
36
+ name?: string;
37
37
  }
38
38
  /**
39
39
  * Check if a given object implements the AuthCodeConfirmRequestUio interface.
@@ -18,7 +18,7 @@ exports.AuthCodeConfirmRequestUioFromJSON = AuthCodeConfirmRequestUioFromJSON;
18
18
  exports.AuthCodeConfirmRequestUioFromJSONTyped = AuthCodeConfirmRequestUioFromJSONTyped;
19
19
  exports.AuthCodeConfirmRequestUioToJSON = AuthCodeConfirmRequestUioToJSON;
20
20
  exports.AuthCodeConfirmRequestUioToJSONTyped = AuthCodeConfirmRequestUioToJSONTyped;
21
- const UserUio_1 = require("./UserUio");
21
+ const AuthCodeRequestUserUio_1 = require("./AuthCodeRequestUserUio");
22
22
  /**
23
23
  * Check if a given object implements the AuthCodeConfirmRequestUio interface.
24
24
  */
@@ -27,8 +27,6 @@ function instanceOfAuthCodeConfirmRequestUio(value) {
27
27
  return false;
28
28
  if (!('code' in value) || value['code'] === undefined)
29
29
  return false;
30
- if (!('name' in value) || value['name'] === undefined)
31
- return false;
32
30
  return true;
33
31
  }
34
32
  function AuthCodeConfirmRequestUioFromJSON(json) {
@@ -39,9 +37,9 @@ function AuthCodeConfirmRequestUioFromJSONTyped(json, ignoreDiscriminator) {
39
37
  return json;
40
38
  }
41
39
  return {
42
- 'user': (0, UserUio_1.UserUioFromJSON)(json['user']),
40
+ 'user': (0, AuthCodeRequestUserUio_1.AuthCodeRequestUserUioFromJSON)(json['user']),
43
41
  'code': json['code'],
44
- 'name': json['name'],
42
+ 'name': json['name'] == null ? undefined : json['name'],
45
43
  };
46
44
  }
47
45
  function AuthCodeConfirmRequestUioToJSON(json) {
@@ -52,7 +50,7 @@ function AuthCodeConfirmRequestUioToJSONTyped(value, ignoreDiscriminator = false
52
50
  return value;
53
51
  }
54
52
  return {
55
- 'user': (0, UserUio_1.UserUioToJSON)(value['user']),
53
+ 'user': (0, AuthCodeRequestUserUio_1.AuthCodeRequestUserUioToJSON)(value['user']),
56
54
  'code': value['code'],
57
55
  'name': value['name'],
58
56
  };
@@ -9,8 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { UserUio } from './UserUio';
13
- import type { AuthTypeUio } from './AuthTypeUio';
12
+ import type { AuthCodeRequestUserUio } from './AuthCodeRequestUserUio';
14
13
  /**
15
14
  *
16
15
  * @export
@@ -19,17 +18,25 @@ import type { AuthTypeUio } from './AuthTypeUio';
19
18
  export interface AuthCodeRequestUio {
20
19
  /**
21
20
  *
22
- * @type {UserUio}
21
+ * @type {AuthCodeRequestUserUio}
23
22
  * @memberof AuthCodeRequestUio
24
23
  */
25
- user: UserUio;
24
+ user: AuthCodeRequestUserUio;
26
25
  /**
27
26
  *
28
- * @type {AuthTypeUio}
27
+ * @type {string}
29
28
  * @memberof AuthCodeRequestUio
30
29
  */
31
- type: AuthTypeUio;
30
+ type: AuthCodeRequestUioTypeEnum;
32
31
  }
32
+ /**
33
+ * @export
34
+ */
35
+ export declare const AuthCodeRequestUioTypeEnum: {
36
+ readonly ApiKey: "API_KEY";
37
+ readonly Jwt: "JWT";
38
+ };
39
+ export type AuthCodeRequestUioTypeEnum = typeof AuthCodeRequestUioTypeEnum[keyof typeof AuthCodeRequestUioTypeEnum];
33
40
  /**
34
41
  * Check if a given object implements the AuthCodeRequestUio interface.
35
42
  */
@@ -13,13 +13,20 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.AuthCodeRequestUioTypeEnum = void 0;
16
17
  exports.instanceOfAuthCodeRequestUio = instanceOfAuthCodeRequestUio;
17
18
  exports.AuthCodeRequestUioFromJSON = AuthCodeRequestUioFromJSON;
18
19
  exports.AuthCodeRequestUioFromJSONTyped = AuthCodeRequestUioFromJSONTyped;
19
20
  exports.AuthCodeRequestUioToJSON = AuthCodeRequestUioToJSON;
20
21
  exports.AuthCodeRequestUioToJSONTyped = AuthCodeRequestUioToJSONTyped;
21
- const UserUio_1 = require("./UserUio");
22
- const AuthTypeUio_1 = require("./AuthTypeUio");
22
+ const AuthCodeRequestUserUio_1 = require("./AuthCodeRequestUserUio");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.AuthCodeRequestUioTypeEnum = {
27
+ ApiKey: 'API_KEY',
28
+ Jwt: 'JWT'
29
+ };
23
30
  /**
24
31
  * Check if a given object implements the AuthCodeRequestUio interface.
25
32
  */
@@ -38,8 +45,8 @@ function AuthCodeRequestUioFromJSONTyped(json, ignoreDiscriminator) {
38
45
  return json;
39
46
  }
40
47
  return {
41
- 'user': (0, UserUio_1.UserUioFromJSON)(json['user']),
42
- 'type': (0, AuthTypeUio_1.AuthTypeUioFromJSON)(json['type']),
48
+ 'user': (0, AuthCodeRequestUserUio_1.AuthCodeRequestUserUioFromJSON)(json['user']),
49
+ 'type': json['type'],
43
50
  };
44
51
  }
45
52
  function AuthCodeRequestUioToJSON(json) {
@@ -50,7 +57,7 @@ function AuthCodeRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
50
57
  return value;
51
58
  }
52
59
  return {
53
- 'user': (0, UserUio_1.UserUioToJSON)(value['user']),
54
- 'type': (0, AuthTypeUio_1.AuthTypeUioToJSON)(value['type']),
60
+ 'user': (0, AuthCodeRequestUserUio_1.AuthCodeRequestUserUioToJSON)(value['user']),
61
+ 'type': value['type'],
55
62
  };
56
63
  }
@@ -0,0 +1,32 @@
1
+ /**
2
+ * brain-client
3
+ * Api ands models for brain-app and brain-app
4
+ *
5
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface AuthCodeRequestUserUio
16
+ */
17
+ export interface AuthCodeRequestUserUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof AuthCodeRequestUserUio
22
+ */
23
+ email: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the AuthCodeRequestUserUio interface.
27
+ */
28
+ export declare function instanceOfAuthCodeRequestUserUio(value: object): value is AuthCodeRequestUserUio;
29
+ export declare function AuthCodeRequestUserUioFromJSON(json: any): AuthCodeRequestUserUio;
30
+ export declare function AuthCodeRequestUserUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthCodeRequestUserUio;
31
+ export declare function AuthCodeRequestUserUioToJSON(json: any): AuthCodeRequestUserUio;
32
+ export declare function AuthCodeRequestUserUioToJSONTyped(value?: AuthCodeRequestUserUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * brain-client
6
+ * Api ands models for brain-app and brain-app
7
+ *
8
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfAuthCodeRequestUserUio = instanceOfAuthCodeRequestUserUio;
17
+ exports.AuthCodeRequestUserUioFromJSON = AuthCodeRequestUserUioFromJSON;
18
+ exports.AuthCodeRequestUserUioFromJSONTyped = AuthCodeRequestUserUioFromJSONTyped;
19
+ exports.AuthCodeRequestUserUioToJSON = AuthCodeRequestUserUioToJSON;
20
+ exports.AuthCodeRequestUserUioToJSONTyped = AuthCodeRequestUserUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the AuthCodeRequestUserUio interface.
23
+ */
24
+ function instanceOfAuthCodeRequestUserUio(value) {
25
+ if (!('email' in value) || value['email'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function AuthCodeRequestUserUioFromJSON(json) {
30
+ return AuthCodeRequestUserUioFromJSONTyped(json, false);
31
+ }
32
+ function AuthCodeRequestUserUioFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'email': json['email'],
38
+ };
39
+ }
40
+ function AuthCodeRequestUserUioToJSON(json) {
41
+ return AuthCodeRequestUserUioToJSONTyped(json, false);
42
+ }
43
+ function AuthCodeRequestUserUioToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'email': value['email'],
49
+ };
50
+ }
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { OrganizationMemberUserUio } from './OrganizationMemberUserUio';
12
+ import type { AuthCodeRequestUserUio } from './AuthCodeRequestUserUio';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -36,10 +36,10 @@ export interface OrganizationMemberUio {
36
36
  createdAt: string;
37
37
  /**
38
38
  *
39
- * @type {OrganizationMemberUserUio}
39
+ * @type {AuthCodeRequestUserUio}
40
40
  * @memberof OrganizationMemberUio
41
41
  */
42
- user: OrganizationMemberUserUio;
42
+ user: AuthCodeRequestUserUio;
43
43
  }
44
44
  /**
45
45
  * Check if a given object implements the OrganizationMemberUio interface.
@@ -18,7 +18,7 @@ exports.OrganizationMemberUioFromJSON = OrganizationMemberUioFromJSON;
18
18
  exports.OrganizationMemberUioFromJSONTyped = OrganizationMemberUioFromJSONTyped;
19
19
  exports.OrganizationMemberUioToJSON = OrganizationMemberUioToJSON;
20
20
  exports.OrganizationMemberUioToJSONTyped = OrganizationMemberUioToJSONTyped;
21
- const OrganizationMemberUserUio_1 = require("./OrganizationMemberUserUio");
21
+ const AuthCodeRequestUserUio_1 = require("./AuthCodeRequestUserUio");
22
22
  /**
23
23
  * Check if a given object implements the OrganizationMemberUio interface.
24
24
  */
@@ -44,7 +44,7 @@ function OrganizationMemberUioFromJSONTyped(json, ignoreDiscriminator) {
44
44
  'id': json['id'],
45
45
  'role': json['role'],
46
46
  'createdAt': json['createdAt'],
47
- 'user': (0, OrganizationMemberUserUio_1.OrganizationMemberUserUioFromJSON)(json['user']),
47
+ 'user': (0, AuthCodeRequestUserUio_1.AuthCodeRequestUserUioFromJSON)(json['user']),
48
48
  };
49
49
  }
50
50
  function OrganizationMemberUioToJSON(json) {
@@ -58,6 +58,6 @@ function OrganizationMemberUioToJSONTyped(value, ignoreDiscriminator = false) {
58
58
  'id': value['id'],
59
59
  'role': value['role'],
60
60
  'createdAt': value['createdAt'],
61
- 'user': (0, OrganizationMemberUserUio_1.OrganizationMemberUserUioToJSON)(value['user']),
61
+ 'user': (0, AuthCodeRequestUserUio_1.AuthCodeRequestUserUioToJSON)(value['user']),
62
62
  };
63
63
  }
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { OrganizationMemberUserUio } from './OrganizationMemberUserUio';
12
+ import type { AuthCodeRequestUserUio } from './AuthCodeRequestUserUio';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -30,10 +30,10 @@ export interface UserUio {
30
30
  isAdmin?: boolean;
31
31
  /**
32
32
  *
33
- * @type {OrganizationMemberUserUio}
33
+ * @type {AuthCodeRequestUserUio}
34
34
  * @memberof UserUio
35
35
  */
36
- user?: OrganizationMemberUserUio;
36
+ user?: AuthCodeRequestUserUio;
37
37
  /**
38
38
  *
39
39
  * @type {string}
@@ -18,7 +18,7 @@ exports.UserUioFromJSON = UserUioFromJSON;
18
18
  exports.UserUioFromJSONTyped = UserUioFromJSONTyped;
19
19
  exports.UserUioToJSON = UserUioToJSON;
20
20
  exports.UserUioToJSONTyped = UserUioToJSONTyped;
21
- const OrganizationMemberUserUio_1 = require("./OrganizationMemberUserUio");
21
+ const AuthCodeRequestUserUio_1 = require("./AuthCodeRequestUserUio");
22
22
  /**
23
23
  * Check if a given object implements the UserUio interface.
24
24
  */
@@ -35,7 +35,7 @@ function UserUioFromJSONTyped(json, ignoreDiscriminator) {
35
35
  return {
36
36
  'id': json['id'] == null ? undefined : json['id'],
37
37
  'isAdmin': json['isAdmin'] == null ? undefined : json['isAdmin'],
38
- 'user': json['user'] == null ? undefined : (0, OrganizationMemberUserUio_1.OrganizationMemberUserUioFromJSON)(json['user']),
38
+ 'user': json['user'] == null ? undefined : (0, AuthCodeRequestUserUio_1.AuthCodeRequestUserUioFromJSON)(json['user']),
39
39
  'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
40
40
  'brains': json['brains'] == null ? undefined : json['brains'],
41
41
  'canCreateAgents': json['canCreateAgents'] == null ? undefined : json['canCreateAgents'],
@@ -55,7 +55,7 @@ function UserUioToJSONTyped(value, ignoreDiscriminator = false) {
55
55
  return {
56
56
  'id': value['id'],
57
57
  'isAdmin': value['isAdmin'],
58
- 'user': (0, OrganizationMemberUserUio_1.OrganizationMemberUserUioToJSON)(value['user']),
58
+ 'user': (0, AuthCodeRequestUserUio_1.AuthCodeRequestUserUioToJSON)(value['user']),
59
59
  'createdAt': value['createdAt'],
60
60
  'brains': value['brains'],
61
61
  'canCreateAgents': value['canCreateAgents'],
@@ -77,8 +77,8 @@ export * from './AudioFillerExistsResponseUio';
77
77
  export * from './AuthCodeConfirmRequestUio';
78
78
  export * from './AuthCodeConfirmResponseUio';
79
79
  export * from './AuthCodeRequestUio';
80
+ export * from './AuthCodeRequestUserUio';
80
81
  export * from './AuthCodeResponseUio';
81
- export * from './AuthTypeUio';
82
82
  export * from './BodyWithIdUio';
83
83
  export * from './BodyWithMessageUio';
84
84
  export * from './ChatContextAttachmentUio';
@@ -203,7 +203,6 @@ export * from './ModelDefinitionUio';
203
203
  export * from './ModelUio';
204
204
  export * from './OrganizationEngineUio';
205
205
  export * from './OrganizationMemberUio';
206
- export * from './OrganizationMemberUserUio';
207
206
  export * from './OrganizationPermissionKeyUio';
208
207
  export * from './OrganizationUio';
209
208
  export * from './OrganizationUserInviteRequestUio';
@@ -95,8 +95,8 @@ __exportStar(require("./AudioFillerExistsResponseUio"), exports);
95
95
  __exportStar(require("./AuthCodeConfirmRequestUio"), exports);
96
96
  __exportStar(require("./AuthCodeConfirmResponseUio"), exports);
97
97
  __exportStar(require("./AuthCodeRequestUio"), exports);
98
+ __exportStar(require("./AuthCodeRequestUserUio"), exports);
98
99
  __exportStar(require("./AuthCodeResponseUio"), exports);
99
- __exportStar(require("./AuthTypeUio"), exports);
100
100
  __exportStar(require("./BodyWithIdUio"), exports);
101
101
  __exportStar(require("./BodyWithMessageUio"), exports);
102
102
  __exportStar(require("./ChatContextAttachmentUio"), exports);
@@ -221,7 +221,6 @@ __exportStar(require("./ModelDefinitionUio"), exports);
221
221
  __exportStar(require("./ModelUio"), exports);
222
222
  __exportStar(require("./OrganizationEngineUio"), exports);
223
223
  __exportStar(require("./OrganizationMemberUio"), exports);
224
- __exportStar(require("./OrganizationMemberUserUio"), exports);
225
224
  __exportStar(require("./OrganizationPermissionKeyUio"), exports);
226
225
  __exportStar(require("./OrganizationUio"), exports);
227
226
  __exportStar(require("./OrganizationUserInviteRequestUio"), exports);
package/dist/openapi.json CHANGED
@@ -12771,10 +12771,11 @@
12771
12771
  "AuthCodeRequest" : {
12772
12772
  "properties" : {
12773
12773
  "user" : {
12774
- "$ref" : "#/components/schemas/User"
12774
+ "$ref" : "#/components/schemas/AuthCodeRequest_user"
12775
12775
  },
12776
12776
  "type" : {
12777
- "$ref" : "#/components/schemas/AuthType"
12777
+ "enum" : [ "API_KEY", "JWT" ],
12778
+ "type" : "string"
12778
12779
  }
12779
12780
  },
12780
12781
  "required" : [ "type", "user" ],
@@ -12795,7 +12796,7 @@
12795
12796
  "AuthCodeConfirmRequest" : {
12796
12797
  "properties" : {
12797
12798
  "user" : {
12798
- "$ref" : "#/components/schemas/User"
12799
+ "$ref" : "#/components/schemas/AuthCodeRequest_user"
12799
12800
  },
12800
12801
  "code" : {
12801
12802
  "type" : "string"
@@ -12804,7 +12805,7 @@
12804
12805
  "type" : "string"
12805
12806
  }
12806
12807
  },
12807
- "required" : [ "code", "name", "user" ],
12808
+ "required" : [ "code", "user" ],
12808
12809
  "type" : "object"
12809
12810
  },
12810
12811
  "AuthCodeConfirmResponse" : {
@@ -13835,7 +13836,7 @@
13835
13836
  "type" : "string"
13836
13837
  },
13837
13838
  "user" : {
13838
- "$ref" : "#/components/schemas/OrganizationMember_user"
13839
+ "$ref" : "#/components/schemas/AuthCodeRequest_user"
13839
13840
  }
13840
13841
  },
13841
13842
  "required" : [ "createdAt", "id", "role", "user" ],
@@ -14875,51 +14876,6 @@
14875
14876
  "required" : [ "id", "src", "type" ],
14876
14877
  "type" : "object"
14877
14878
  },
14878
- "User" : {
14879
- "properties" : {
14880
- "id" : {
14881
- "type" : "string"
14882
- },
14883
- "isAdmin" : {
14884
- "type" : "boolean"
14885
- },
14886
- "user" : {
14887
- "$ref" : "#/components/schemas/OrganizationMember_user"
14888
- },
14889
- "createdAt" : {
14890
- "type" : "string"
14891
- },
14892
- "brains" : {
14893
- "items" : {
14894
- "type" : "string"
14895
- },
14896
- "type" : "array"
14897
- },
14898
- "canCreateAgents" : {
14899
- "type" : "boolean"
14900
- },
14901
- "maxAgents" : {
14902
- "nullable" : true
14903
- },
14904
- "apiKeys" : {
14905
- "items" : {
14906
- "type" : "string"
14907
- },
14908
- "type" : "array"
14909
- },
14910
- "locked" : {
14911
- "type" : "boolean"
14912
- },
14913
- "allAgents" : {
14914
- "type" : "boolean"
14915
- }
14916
- },
14917
- "type" : "object"
14918
- },
14919
- "AuthType" : {
14920
- "enum" : [ "API_KEY" ],
14921
- "type" : "string"
14922
- },
14923
14879
  "AudioFileType" : {
14924
14880
  "enum" : [ "reference" ],
14925
14881
  "type" : "string"
@@ -15038,6 +14994,47 @@
15038
14994
  "enum" : [ "ELEVENLABS" ],
15039
14995
  "type" : "string"
15040
14996
  },
14997
+ "User" : {
14998
+ "properties" : {
14999
+ "id" : {
15000
+ "type" : "string"
15001
+ },
15002
+ "isAdmin" : {
15003
+ "type" : "boolean"
15004
+ },
15005
+ "user" : {
15006
+ "$ref" : "#/components/schemas/AuthCodeRequest_user"
15007
+ },
15008
+ "createdAt" : {
15009
+ "type" : "string"
15010
+ },
15011
+ "brains" : {
15012
+ "items" : {
15013
+ "type" : "string"
15014
+ },
15015
+ "type" : "array"
15016
+ },
15017
+ "canCreateAgents" : {
15018
+ "type" : "boolean"
15019
+ },
15020
+ "maxAgents" : {
15021
+ "nullable" : true
15022
+ },
15023
+ "apiKeys" : {
15024
+ "items" : {
15025
+ "type" : "string"
15026
+ },
15027
+ "type" : "array"
15028
+ },
15029
+ "locked" : {
15030
+ "type" : "boolean"
15031
+ },
15032
+ "allAgents" : {
15033
+ "type" : "boolean"
15034
+ }
15035
+ },
15036
+ "type" : "object"
15037
+ },
15041
15038
  "deleteMessageAudio_200_response" : {
15042
15039
  "properties" : {
15043
15040
  "message" : {
@@ -15896,6 +15893,15 @@
15896
15893
  "required" : [ "source", "task", "value" ],
15897
15894
  "type" : "object"
15898
15895
  },
15896
+ "AuthCodeRequest_user" : {
15897
+ "properties" : {
15898
+ "email" : {
15899
+ "type" : "string"
15900
+ }
15901
+ },
15902
+ "required" : [ "email" ],
15903
+ "type" : "object"
15904
+ },
15899
15905
  "ChunkCreateRequest_content_inner" : {
15900
15906
  "properties" : {
15901
15907
  "fileName" : {
@@ -15974,15 +15980,6 @@
15974
15980
  "required" : [ "id" ],
15975
15981
  "type" : "object"
15976
15982
  },
15977
- "OrganizationMember_user" : {
15978
- "properties" : {
15979
- "email" : {
15980
- "type" : "string"
15981
- }
15982
- },
15983
- "required" : [ "email" ],
15984
- "type" : "object"
15985
- },
15986
15983
  "KnowledgeFileSummary_knowledgeBaseId" : {
15987
15984
  "oneOf" : [ {
15988
15985
  "type" : "string"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breign/client",
3
- "version": "1.0.106",
3
+ "version": "1.0.107",
4
4
  "main": "dist/index.js",
5
5
  "exports": {
6
6
  ".": "./dist/index.js",
@@ -1,24 +0,0 @@
1
- /**
2
- * brain-client
3
- * Api ands models for brain-app and brain-app
4
- *
5
- * The version of the OpenAPI document: 0.0.0-SNAPSHOT
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- */
16
- export declare const AuthTypeUio: {
17
- readonly ApiKey: "API_KEY";
18
- };
19
- export type AuthTypeUio = typeof AuthTypeUio[keyof typeof AuthTypeUio];
20
- export declare function instanceOfAuthTypeUio(value: any): boolean;
21
- export declare function AuthTypeUioFromJSON(json: any): AuthTypeUio;
22
- export declare function AuthTypeUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthTypeUio;
23
- export declare function AuthTypeUioToJSON(value?: AuthTypeUio | null): any;
24
- export declare function AuthTypeUioToJSONTyped(value: any, ignoreDiscriminator: boolean): AuthTypeUio;
@@ -1,50 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * brain-client
6
- * Api ands models for brain-app and brain-app
7
- *
8
- * The version of the OpenAPI document: 0.0.0-SNAPSHOT
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.AuthTypeUio = void 0;
17
- exports.instanceOfAuthTypeUio = instanceOfAuthTypeUio;
18
- exports.AuthTypeUioFromJSON = AuthTypeUioFromJSON;
19
- exports.AuthTypeUioFromJSONTyped = AuthTypeUioFromJSONTyped;
20
- exports.AuthTypeUioToJSON = AuthTypeUioToJSON;
21
- exports.AuthTypeUioToJSONTyped = AuthTypeUioToJSONTyped;
22
- /**
23
- *
24
- * @export
25
- */
26
- exports.AuthTypeUio = {
27
- ApiKey: 'API_KEY'
28
- };
29
- function instanceOfAuthTypeUio(value) {
30
- for (const key in exports.AuthTypeUio) {
31
- if (Object.prototype.hasOwnProperty.call(exports.AuthTypeUio, key)) {
32
- if (exports.AuthTypeUio[key] === value) {
33
- return true;
34
- }
35
- }
36
- }
37
- return false;
38
- }
39
- function AuthTypeUioFromJSON(json) {
40
- return AuthTypeUioFromJSONTyped(json, false);
41
- }
42
- function AuthTypeUioFromJSONTyped(json, ignoreDiscriminator) {
43
- return json;
44
- }
45
- function AuthTypeUioToJSON(value) {
46
- return value;
47
- }
48
- function AuthTypeUioToJSONTyped(value, ignoreDiscriminator) {
49
- return value;
50
- }
@@ -1,32 +0,0 @@
1
- /**
2
- * brain-client
3
- * Api ands models for brain-app and brain-app
4
- *
5
- * The version of the OpenAPI document: 0.0.0-SNAPSHOT
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface OrganizationMemberUserUio
16
- */
17
- export interface OrganizationMemberUserUio {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof OrganizationMemberUserUio
22
- */
23
- email: string;
24
- }
25
- /**
26
- * Check if a given object implements the OrganizationMemberUserUio interface.
27
- */
28
- export declare function instanceOfOrganizationMemberUserUio(value: object): value is OrganizationMemberUserUio;
29
- export declare function OrganizationMemberUserUioFromJSON(json: any): OrganizationMemberUserUio;
30
- export declare function OrganizationMemberUserUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationMemberUserUio;
31
- export declare function OrganizationMemberUserUioToJSON(json: any): OrganizationMemberUserUio;
32
- export declare function OrganizationMemberUserUioToJSONTyped(value?: OrganizationMemberUserUio | null, ignoreDiscriminator?: boolean): any;
@@ -1,50 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * brain-client
6
- * Api ands models for brain-app and brain-app
7
- *
8
- * The version of the OpenAPI document: 0.0.0-SNAPSHOT
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfOrganizationMemberUserUio = instanceOfOrganizationMemberUserUio;
17
- exports.OrganizationMemberUserUioFromJSON = OrganizationMemberUserUioFromJSON;
18
- exports.OrganizationMemberUserUioFromJSONTyped = OrganizationMemberUserUioFromJSONTyped;
19
- exports.OrganizationMemberUserUioToJSON = OrganizationMemberUserUioToJSON;
20
- exports.OrganizationMemberUserUioToJSONTyped = OrganizationMemberUserUioToJSONTyped;
21
- /**
22
- * Check if a given object implements the OrganizationMemberUserUio interface.
23
- */
24
- function instanceOfOrganizationMemberUserUio(value) {
25
- if (!('email' in value) || value['email'] === undefined)
26
- return false;
27
- return true;
28
- }
29
- function OrganizationMemberUserUioFromJSON(json) {
30
- return OrganizationMemberUserUioFromJSONTyped(json, false);
31
- }
32
- function OrganizationMemberUserUioFromJSONTyped(json, ignoreDiscriminator) {
33
- if (json == null) {
34
- return json;
35
- }
36
- return {
37
- 'email': json['email'],
38
- };
39
- }
40
- function OrganizationMemberUserUioToJSON(json) {
41
- return OrganizationMemberUserUioToJSONTyped(json, false);
42
- }
43
- function OrganizationMemberUserUioToJSONTyped(value, ignoreDiscriminator = false) {
44
- if (value == null) {
45
- return value;
46
- }
47
- return {
48
- 'email': value['email'],
49
- };
50
- }