@breign/client 1.0.38 → 1.0.39

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.
@@ -0,0 +1,39 @@
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
+ import type { AgentCreatorUserUio } from './AgentCreatorUserUio';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface AgentCreatorUio
17
+ */
18
+ export interface AgentCreatorUio {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof AgentCreatorUio
23
+ */
24
+ id?: string;
25
+ /**
26
+ *
27
+ * @type {AgentCreatorUserUio}
28
+ * @memberof AgentCreatorUio
29
+ */
30
+ user?: AgentCreatorUserUio;
31
+ }
32
+ /**
33
+ * Check if a given object implements the AgentCreatorUio interface.
34
+ */
35
+ export declare function instanceOfAgentCreatorUio(value: object): value is AgentCreatorUio;
36
+ export declare function AgentCreatorUioFromJSON(json: any): AgentCreatorUio;
37
+ export declare function AgentCreatorUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentCreatorUio;
38
+ export declare function AgentCreatorUioToJSON(json: any): AgentCreatorUio;
39
+ export declare function AgentCreatorUioToJSONTyped(value?: AgentCreatorUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,51 @@
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.instanceOfAgentCreatorUio = instanceOfAgentCreatorUio;
17
+ exports.AgentCreatorUioFromJSON = AgentCreatorUioFromJSON;
18
+ exports.AgentCreatorUioFromJSONTyped = AgentCreatorUioFromJSONTyped;
19
+ exports.AgentCreatorUioToJSON = AgentCreatorUioToJSON;
20
+ exports.AgentCreatorUioToJSONTyped = AgentCreatorUioToJSONTyped;
21
+ const AgentCreatorUserUio_1 = require("./AgentCreatorUserUio");
22
+ /**
23
+ * Check if a given object implements the AgentCreatorUio interface.
24
+ */
25
+ function instanceOfAgentCreatorUio(value) {
26
+ return true;
27
+ }
28
+ function AgentCreatorUioFromJSON(json) {
29
+ return AgentCreatorUioFromJSONTyped(json, false);
30
+ }
31
+ function AgentCreatorUioFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'id': json['id'] == null ? undefined : json['id'],
37
+ 'user': json['user'] == null ? undefined : (0, AgentCreatorUserUio_1.AgentCreatorUserUioFromJSON)(json['user']),
38
+ };
39
+ }
40
+ function AgentCreatorUioToJSON(json) {
41
+ return AgentCreatorUioToJSONTyped(json, false);
42
+ }
43
+ function AgentCreatorUioToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'id': value['id'],
49
+ 'user': (0, AgentCreatorUserUio_1.AgentCreatorUserUioToJSON)(value['user']),
50
+ };
51
+ }
@@ -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 AgentCreatorUserUio
16
+ */
17
+ export interface AgentCreatorUserUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof AgentCreatorUserUio
22
+ */
23
+ name?: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the AgentCreatorUserUio interface.
27
+ */
28
+ export declare function instanceOfAgentCreatorUserUio(value: object): value is AgentCreatorUserUio;
29
+ export declare function AgentCreatorUserUioFromJSON(json: any): AgentCreatorUserUio;
30
+ export declare function AgentCreatorUserUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentCreatorUserUio;
31
+ export declare function AgentCreatorUserUioToJSON(json: any): AgentCreatorUserUio;
32
+ export declare function AgentCreatorUserUioToJSONTyped(value?: AgentCreatorUserUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,48 @@
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.instanceOfAgentCreatorUserUio = instanceOfAgentCreatorUserUio;
17
+ exports.AgentCreatorUserUioFromJSON = AgentCreatorUserUioFromJSON;
18
+ exports.AgentCreatorUserUioFromJSONTyped = AgentCreatorUserUioFromJSONTyped;
19
+ exports.AgentCreatorUserUioToJSON = AgentCreatorUserUioToJSON;
20
+ exports.AgentCreatorUserUioToJSONTyped = AgentCreatorUserUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the AgentCreatorUserUio interface.
23
+ */
24
+ function instanceOfAgentCreatorUserUio(value) {
25
+ return true;
26
+ }
27
+ function AgentCreatorUserUioFromJSON(json) {
28
+ return AgentCreatorUserUioFromJSONTyped(json, false);
29
+ }
30
+ function AgentCreatorUserUioFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'name': json['name'] == null ? undefined : json['name'],
36
+ };
37
+ }
38
+ function AgentCreatorUserUioToJSON(json) {
39
+ return AgentCreatorUserUioToJSONTyped(json, false);
40
+ }
41
+ function AgentCreatorUserUioToJSONTyped(value, ignoreDiscriminator = false) {
42
+ if (value == null) {
43
+ return value;
44
+ }
45
+ return {
46
+ 'name': value['name'],
47
+ };
48
+ }
@@ -12,6 +12,7 @@
12
12
  import type { AgentSubscriptionUio } from './AgentSubscriptionUio';
13
13
  import type { AgentToolUio } from './AgentToolUio';
14
14
  import type { PersonaUio } from './PersonaUio';
15
+ import type { AgentCreatorUio } from './AgentCreatorUio';
15
16
  import type { EngineUio } from './EngineUio';
16
17
  import type { PromptInitUio } from './PromptInitUio';
17
18
  import type { AgentTypeUio } from './AgentTypeUio';
@@ -195,6 +196,12 @@ export interface AgentUio {
195
196
  * @memberof AgentUio
196
197
  */
197
198
  createdBy?: string;
199
+ /**
200
+ *
201
+ * @type {AgentCreatorUio}
202
+ * @memberof AgentUio
203
+ */
204
+ creator?: AgentCreatorUio;
198
205
  }
199
206
  /**
200
207
  * Check if a given object implements the AgentUio interface.
@@ -21,6 +21,7 @@ exports.AgentUioToJSONTyped = AgentUioToJSONTyped;
21
21
  const AgentSubscriptionUio_1 = require("./AgentSubscriptionUio");
22
22
  const AgentToolUio_1 = require("./AgentToolUio");
23
23
  const PersonaUio_1 = require("./PersonaUio");
24
+ const AgentCreatorUio_1 = require("./AgentCreatorUio");
24
25
  const EngineUio_1 = require("./EngineUio");
25
26
  const PromptInitUio_1 = require("./PromptInitUio");
26
27
  const AgentTypeUio_1 = require("./AgentTypeUio");
@@ -78,6 +79,7 @@ function AgentUioFromJSONTyped(json, ignoreDiscriminator) {
78
79
  'favoriteOutfit': json['favoriteOutfit'] == null ? undefined : json['favoriteOutfit'],
79
80
  'personal': json['personal'] == null ? undefined : json['personal'],
80
81
  'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
82
+ 'creator': json['creator'] == null ? undefined : (0, AgentCreatorUio_1.AgentCreatorUioFromJSON)(json['creator']),
81
83
  };
82
84
  }
83
85
  function AgentUioToJSON(json) {
@@ -116,5 +118,6 @@ function AgentUioToJSONTyped(value, ignoreDiscriminator = false) {
116
118
  'favoriteOutfit': value['favoriteOutfit'],
117
119
  'personal': value['personal'],
118
120
  'createdBy': value['createdBy'],
121
+ 'creator': (0, AgentCreatorUio_1.AgentCreatorUioToJSON)(value['creator']),
119
122
  };
120
123
  }
@@ -1,4 +1,6 @@
1
1
  export * from './AdditionalUio';
2
+ export * from './AgentCreatorUio';
3
+ export * from './AgentCreatorUserUio';
2
4
  export * from './AgentDuplicateRequestUio';
3
5
  export * from './AgentFlowCreateUio';
4
6
  export * from './AgentFlowUio';
@@ -17,6 +17,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  /* tslint:disable */
18
18
  /* eslint-disable */
19
19
  __exportStar(require("./AdditionalUio"), exports);
20
+ __exportStar(require("./AgentCreatorUio"), exports);
21
+ __exportStar(require("./AgentCreatorUserUio"), exports);
20
22
  __exportStar(require("./AgentDuplicateRequestUio"), exports);
21
23
  __exportStar(require("./AgentFlowCreateUio"), exports);
22
24
  __exportStar(require("./AgentFlowUio"), exports);
package/dist/openapi.json CHANGED
@@ -6286,6 +6286,9 @@
6286
6286
  },
6287
6287
  "createdBy" : {
6288
6288
  "type" : "string"
6289
+ },
6290
+ "creator" : {
6291
+ "$ref" : "#/components/schemas/Agent_creator"
6289
6292
  }
6290
6293
  },
6291
6294
  "required" : [ "id", "modules", "name", "organisationId", "persona", "promptInit" ],
@@ -9017,6 +9020,25 @@
9017
9020
  },
9018
9021
  "type" : "object"
9019
9022
  },
9023
+ "Agent_creator_user" : {
9024
+ "properties" : {
9025
+ "name" : {
9026
+ "type" : "string"
9027
+ }
9028
+ },
9029
+ "type" : "object"
9030
+ },
9031
+ "Agent_creator" : {
9032
+ "properties" : {
9033
+ "id" : {
9034
+ "type" : "string"
9035
+ },
9036
+ "user" : {
9037
+ "$ref" : "#/components/schemas/Agent_creator_user"
9038
+ }
9039
+ },
9040
+ "type" : "object"
9041
+ },
9020
9042
  "AgentSubscription_textInteractions" : {
9021
9043
  "properties" : {
9022
9044
  "included" : {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breign/client",
3
- "version": "1.0.38",
3
+ "version": "1.0.39",
4
4
  "main": "dist/index.js",
5
5
  "exports": {
6
6
  ".": "./dist/index.js",