@breign/client 1.0.30 → 1.0.32

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.
@@ -162,6 +162,12 @@ export interface AgentPatchUio {
162
162
  * @memberof AgentPatchUio
163
163
  */
164
164
  agentType?: AgentTypeUio;
165
+ /**
166
+ *
167
+ * @type {boolean}
168
+ * @memberof AgentPatchUio
169
+ */
170
+ personal?: boolean;
165
171
  }
166
172
  /**
167
173
  * Check if a given object implements the AgentPatchUio interface.
@@ -60,6 +60,7 @@ function AgentPatchUioFromJSONTyped(json, ignoreDiscriminator) {
60
60
  'isTemplate': json['isTemplate'] == null ? undefined : json['isTemplate'],
61
61
  'deleted': json['deleted'] == null ? undefined : json['deleted'],
62
62
  'agentType': json['agentType'] == null ? undefined : (0, AgentTypeUio_1.AgentTypeUioFromJSON)(json['agentType']),
63
+ 'personal': json['personal'] == null ? undefined : json['personal'],
63
64
  };
64
65
  }
65
66
  function AgentPatchUioToJSON(json) {
@@ -93,5 +94,6 @@ function AgentPatchUioToJSONTyped(value, ignoreDiscriminator = false) {
93
94
  'isTemplate': value['isTemplate'],
94
95
  'deleted': value['deleted'],
95
96
  'agentType': (0, AgentTypeUio_1.AgentTypeUioToJSON)(value['agentType']),
97
+ 'personal': value['personal'],
96
98
  };
97
99
  }
@@ -112,6 +112,18 @@ export interface AgentRequestUio {
112
112
  modules?: {
113
113
  [key: string]: AgentModuleUio;
114
114
  };
115
+ /**
116
+ *
117
+ * @type {boolean}
118
+ * @memberof AgentRequestUio
119
+ */
120
+ personal?: boolean;
121
+ /**
122
+ *
123
+ * @type {string}
124
+ * @memberof AgentRequestUio
125
+ */
126
+ createdBy?: string;
115
127
  }
116
128
  /**
117
129
  * Check if a given object implements the AgentRequestUio interface.
@@ -61,6 +61,8 @@ function AgentRequestUioFromJSONTyped(json, ignoreDiscriminator) {
61
61
  'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
62
62
  'isActivated': json['isActivated'] == null ? undefined : json['isActivated'],
63
63
  'modules': json['modules'] == null ? undefined : ((0, runtime_1.mapValues)(json['modules'], AgentModuleUio_1.AgentModuleUioFromJSON)),
64
+ 'personal': json['personal'] == null ? undefined : json['personal'],
65
+ 'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
64
66
  };
65
67
  }
66
68
  function AgentRequestUioToJSON(json) {
@@ -86,5 +88,7 @@ function AgentRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
86
88
  'createdAt': value['createdAt'],
87
89
  'isActivated': value['isActivated'],
88
90
  'modules': value['modules'] == null ? undefined : ((0, runtime_1.mapValues)(value['modules'], AgentModuleUio_1.AgentModuleUioToJSON)),
91
+ 'personal': value['personal'],
92
+ 'createdBy': value['createdBy'],
89
93
  };
90
94
  }
@@ -183,6 +183,18 @@ export interface AgentUio {
183
183
  favoriteOutfit?: {
184
184
  [key: string]: any;
185
185
  };
186
+ /**
187
+ *
188
+ * @type {boolean}
189
+ * @memberof AgentUio
190
+ */
191
+ personal?: boolean;
192
+ /**
193
+ *
194
+ * @type {string}
195
+ * @memberof AgentUio
196
+ */
197
+ createdBy?: string;
186
198
  }
187
199
  /**
188
200
  * Check if a given object implements the AgentUio interface.
@@ -76,6 +76,8 @@ function AgentUioFromJSONTyped(json, ignoreDiscriminator) {
76
76
  'deleted': json['deleted'] == null ? undefined : json['deleted'],
77
77
  'agentType': json['agentType'] == null ? undefined : (0, AgentTypeUio_1.AgentTypeUioFromJSON)(json['agentType']),
78
78
  'favoriteOutfit': json['favoriteOutfit'] == null ? undefined : json['favoriteOutfit'],
79
+ 'personal': json['personal'] == null ? undefined : json['personal'],
80
+ 'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
79
81
  };
80
82
  }
81
83
  function AgentUioToJSON(json) {
@@ -112,5 +114,7 @@ function AgentUioToJSONTyped(value, ignoreDiscriminator = false) {
112
114
  'deleted': value['deleted'],
113
115
  'agentType': (0, AgentTypeUio_1.AgentTypeUioToJSON)(value['agentType']),
114
116
  'favoriteOutfit': value['favoriteOutfit'],
117
+ 'personal': value['personal'],
118
+ 'createdBy': value['createdBy'],
115
119
  };
116
120
  }
@@ -17,6 +17,7 @@ export declare const FileStatusUio: {
17
17
  readonly Scraping: "SCRAPING";
18
18
  readonly Pending: "PENDING";
19
19
  readonly Uploaded: "UPLOADED";
20
+ readonly Processing: "PROCESSING";
20
21
  readonly Indexed: "INDEXED";
21
22
  };
22
23
  export type FileStatusUio = typeof FileStatusUio[keyof typeof FileStatusUio];
@@ -27,6 +27,7 @@ exports.FileStatusUio = {
27
27
  Scraping: 'SCRAPING',
28
28
  Pending: 'PENDING',
29
29
  Uploaded: 'UPLOADED',
30
+ Processing: 'PROCESSING',
30
31
  Indexed: 'INDEXED'
31
32
  };
32
33
  function instanceOfFileStatusUio(value) {
@@ -46,7 +46,21 @@ export interface ProviderCreateRequestUio {
46
46
  * @memberof ProviderCreateRequestUio
47
47
  */
48
48
  endpoint?: string;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof ProviderCreateRequestUio
53
+ */
54
+ providerSource?: ProviderCreateRequestUioProviderSourceEnum;
49
55
  }
56
+ /**
57
+ * @export
58
+ */
59
+ export declare const ProviderCreateRequestUioProviderSourceEnum: {
60
+ readonly Internal: "INTERNAL";
61
+ readonly External: "EXTERNAL";
62
+ };
63
+ export type ProviderCreateRequestUioProviderSourceEnum = typeof ProviderCreateRequestUioProviderSourceEnum[keyof typeof ProviderCreateRequestUioProviderSourceEnum];
50
64
  /**
51
65
  * Check if a given object implements the ProviderCreateRequestUio interface.
52
66
  */
@@ -13,12 +13,20 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.ProviderCreateRequestUioProviderSourceEnum = void 0;
16
17
  exports.instanceOfProviderCreateRequestUio = instanceOfProviderCreateRequestUio;
17
18
  exports.ProviderCreateRequestUioFromJSON = ProviderCreateRequestUioFromJSON;
18
19
  exports.ProviderCreateRequestUioFromJSONTyped = ProviderCreateRequestUioFromJSONTyped;
19
20
  exports.ProviderCreateRequestUioToJSON = ProviderCreateRequestUioToJSON;
20
21
  exports.ProviderCreateRequestUioToJSONTyped = ProviderCreateRequestUioToJSONTyped;
21
22
  const ProviderTypeUio_1 = require("./ProviderTypeUio");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.ProviderCreateRequestUioProviderSourceEnum = {
27
+ Internal: 'INTERNAL',
28
+ External: 'EXTERNAL'
29
+ };
22
30
  /**
23
31
  * Check if a given object implements the ProviderCreateRequestUio interface.
24
32
  */
@@ -44,6 +52,7 @@ function ProviderCreateRequestUioFromJSONTyped(json, ignoreDiscriminator) {
44
52
  'models': json['models'],
45
53
  'apiKey': json['apiKey'] == null ? undefined : json['apiKey'],
46
54
  'endpoint': json['endpoint'] == null ? undefined : json['endpoint'],
55
+ 'providerSource': json['providerSource'] == null ? undefined : json['providerSource'],
47
56
  };
48
57
  }
49
58
  function ProviderCreateRequestUioToJSON(json) {
@@ -59,5 +68,6 @@ function ProviderCreateRequestUioToJSONTyped(value, ignoreDiscriminator = false)
59
68
  'models': value['models'],
60
69
  'apiKey': value['apiKey'],
61
70
  'endpoint': value['endpoint'],
71
+ 'providerSource': value['providerSource'],
62
72
  };
63
73
  }
@@ -33,6 +33,12 @@ export interface ProviderSimpleUio {
33
33
  * @memberof ProviderSimpleUio
34
34
  */
35
35
  providerType: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ProviderSimpleUio
40
+ */
41
+ providerSource?: string;
36
42
  /**
37
43
  *
38
44
  * @type {Array<string>}
@@ -43,6 +43,7 @@ function ProviderSimpleUioFromJSONTyped(json, ignoreDiscriminator) {
43
43
  'id': json['id'],
44
44
  'name': json['name'],
45
45
  'providerType': json['providerType'],
46
+ 'providerSource': json['providerSource'] == null ? undefined : json['providerSource'],
46
47
  'models': json['models'],
47
48
  };
48
49
  }
@@ -57,6 +58,7 @@ function ProviderSimpleUioToJSONTyped(value, ignoreDiscriminator = false) {
57
58
  'id': value['id'],
58
59
  'name': value['name'],
59
60
  'providerType': value['providerType'],
61
+ 'providerSource': value['providerSource'],
60
62
  'models': value['models'],
61
63
  };
62
64
  }
@@ -46,6 +46,12 @@ export interface ProviderUio {
46
46
  * @memberof ProviderUio
47
47
  */
48
48
  endpoint?: string;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof ProviderUio
53
+ */
54
+ providerSource?: ProviderUioProviderSourceEnum;
49
55
  /**
50
56
  *
51
57
  * @type {string}
@@ -59,6 +65,14 @@ export interface ProviderUio {
59
65
  */
60
66
  createdAt: string;
61
67
  }
68
+ /**
69
+ * @export
70
+ */
71
+ export declare const ProviderUioProviderSourceEnum: {
72
+ readonly Internal: "INTERNAL";
73
+ readonly External: "EXTERNAL";
74
+ };
75
+ export type ProviderUioProviderSourceEnum = typeof ProviderUioProviderSourceEnum[keyof typeof ProviderUioProviderSourceEnum];
62
76
  /**
63
77
  * Check if a given object implements the ProviderUio interface.
64
78
  */
@@ -13,12 +13,20 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.ProviderUioProviderSourceEnum = void 0;
16
17
  exports.instanceOfProviderUio = instanceOfProviderUio;
17
18
  exports.ProviderUioFromJSON = ProviderUioFromJSON;
18
19
  exports.ProviderUioFromJSONTyped = ProviderUioFromJSONTyped;
19
20
  exports.ProviderUioToJSON = ProviderUioToJSON;
20
21
  exports.ProviderUioToJSONTyped = ProviderUioToJSONTyped;
21
22
  const ProviderTypeUio_1 = require("./ProviderTypeUio");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.ProviderUioProviderSourceEnum = {
27
+ Internal: 'INTERNAL',
28
+ External: 'EXTERNAL'
29
+ };
22
30
  /**
23
31
  * Check if a given object implements the ProviderUio interface.
24
32
  */
@@ -48,6 +56,7 @@ function ProviderUioFromJSONTyped(json, ignoreDiscriminator) {
48
56
  'models': json['models'],
49
57
  'apiKey': json['apiKey'] == null ? undefined : json['apiKey'],
50
58
  'endpoint': json['endpoint'] == null ? undefined : json['endpoint'],
59
+ 'providerSource': json['providerSource'] == null ? undefined : json['providerSource'],
51
60
  'id': json['id'],
52
61
  'createdAt': json['createdAt'],
53
62
  };
@@ -65,6 +74,7 @@ function ProviderUioToJSONTyped(value, ignoreDiscriminator = false) {
65
74
  'models': value['models'],
66
75
  'apiKey': value['apiKey'],
67
76
  'endpoint': value['endpoint'],
77
+ 'providerSource': value['providerSource'],
68
78
  'id': value['id'],
69
79
  'createdAt': value['createdAt'],
70
80
  };
package/dist/openapi.json CHANGED
@@ -6091,6 +6091,12 @@
6091
6091
  "additionalProperties" : true,
6092
6092
  "maxProperties" : 100,
6093
6093
  "type" : "object"
6094
+ },
6095
+ "personal" : {
6096
+ "type" : "boolean"
6097
+ },
6098
+ "createdBy" : {
6099
+ "type" : "string"
6094
6100
  }
6095
6101
  },
6096
6102
  "required" : [ "id", "modules", "name", "organisationId", "persona", "promptInit" ],
@@ -6249,6 +6255,12 @@
6249
6255
  "$ref" : "#/components/schemas/AgentModule"
6250
6256
  },
6251
6257
  "type" : "object"
6258
+ },
6259
+ "personal" : {
6260
+ "type" : "boolean"
6261
+ },
6262
+ "createdBy" : {
6263
+ "type" : "string"
6252
6264
  }
6253
6265
  },
6254
6266
  "required" : [ "name", "organisationId", "persona", "promptInit" ],
@@ -6334,6 +6346,9 @@
6334
6346
  },
6335
6347
  "agentType" : {
6336
6348
  "$ref" : "#/components/schemas/AgentType"
6349
+ },
6350
+ "personal" : {
6351
+ "type" : "boolean"
6337
6352
  }
6338
6353
  },
6339
6354
  "type" : "object"
@@ -7855,6 +7870,10 @@
7855
7870
  },
7856
7871
  "endpoint" : {
7857
7872
  "type" : "string"
7873
+ },
7874
+ "providerSource" : {
7875
+ "enum" : [ "INTERNAL", "EXTERNAL" ],
7876
+ "type" : "string"
7858
7877
  }
7859
7878
  },
7860
7879
  "required" : [ "models", "name", "providerType" ],
@@ -7872,6 +7891,9 @@
7872
7891
  "providerType" : {
7873
7892
  "type" : "string"
7874
7893
  },
7894
+ "providerSource" : {
7895
+ "type" : "string"
7896
+ },
7875
7897
  "models" : {
7876
7898
  "items" : {
7877
7899
  "type" : "string"
@@ -8229,7 +8251,7 @@
8229
8251
  "type" : "object"
8230
8252
  },
8231
8253
  "FileStatus" : {
8232
- "enum" : [ "SCRAPING", "PENDING", "UPLOADED", "INDEXED" ],
8254
+ "enum" : [ "SCRAPING", "PENDING", "UPLOADED", "PROCESSING", "INDEXED" ],
8233
8255
  "type" : "string"
8234
8256
  },
8235
8257
  "ToolCreateRequest" : {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breign/client",
3
- "version": "1.0.30",
3
+ "version": "1.0.32",
4
4
  "main": "dist/index.js",
5
5
  "exports": {
6
6
  ".": "./dist/index.js",