@breign/client 1.0.6 → 1.0.8

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.
Files changed (48) hide show
  1. package/dist/models/AgentRequestUio.d.ts +9 -0
  2. package/dist/models/AgentRequestUio.js +4 -0
  3. package/dist/models/AgentUio.d.ts +10 -3
  4. package/dist/models/AgentUio.js +4 -3
  5. package/dist/models/AppCreateRequestUio.d.ts +6 -0
  6. package/dist/models/AppCreateRequestUio.js +2 -0
  7. package/dist/models/AppSequencesInnerUio.d.ts +38 -0
  8. package/dist/models/AppSequencesInnerUio.js +50 -0
  9. package/dist/models/AppUio.d.ts +47 -3
  10. package/dist/models/AppUio.js +18 -10
  11. package/dist/models/ChatMessageUio.d.ts +3 -2
  12. package/dist/models/ChatMessageUio.js +3 -2
  13. package/dist/models/ChatUio.d.ts +6 -0
  14. package/dist/models/ChatUio.js +2 -0
  15. package/dist/models/ConversationFlowNodeEntrypointsUio.d.ts +32 -0
  16. package/dist/models/ConversationFlowNodeEntrypointsUio.js +48 -0
  17. package/dist/models/ConversationFlowNodeUio.d.ts +51 -0
  18. package/dist/models/ConversationFlowNodeUio.js +55 -0
  19. package/dist/models/ConversationUio.d.ts +7 -0
  20. package/dist/models/ConversationUio.js +5 -0
  21. package/dist/models/FileCreationRequestUio.d.ts +1 -1
  22. package/dist/models/FileCreationRequestUio.js +1 -3
  23. package/dist/models/FileCreationResponseUio.d.ts +18 -12
  24. package/dist/models/FileCreationResponseUio.js +10 -20
  25. package/dist/models/FileFormDataUio.d.ts +38 -0
  26. package/dist/models/FileFormDataUio.js +50 -0
  27. package/dist/models/FileUio.d.ts +25 -6
  28. package/dist/models/FileUio.js +13 -18
  29. package/dist/models/FileWithDownloadUrlUio.d.ts +25 -6
  30. package/dist/models/FileWithDownloadUrlUio.js +13 -18
  31. package/dist/models/KnowledgeBaseFilesInnerUio.d.ts +44 -0
  32. package/dist/models/KnowledgeBaseFilesInnerUio.js +58 -0
  33. package/dist/models/KnowledgeBaseUio.d.ts +132 -0
  34. package/dist/models/KnowledgeBaseUio.js +90 -0
  35. package/dist/models/ModelAgentUio.d.ts +159 -0
  36. package/dist/models/ModelAgentUio.js +112 -0
  37. package/dist/models/OrganizationUio.d.ts +0 -9
  38. package/dist/models/OrganizationUio.js +0 -6
  39. package/dist/models/UserUio.d.ts +56 -1
  40. package/dist/models/UserUio.js +21 -4
  41. package/dist/models/UserUserUio.d.ts +32 -0
  42. package/dist/models/UserUserUio.js +50 -0
  43. package/dist/models/index.d.ts +8 -1
  44. package/dist/models/index.js +8 -1
  45. package/dist/openapi.json +357 -44
  46. package/package.json +1 -1
  47. package/dist/models/AgentKnowledgeBaseUio.d.ts +0 -57
  48. package/dist/models/AgentKnowledgeBaseUio.js +0 -67
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breign/client",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "main": "dist/index.js",
5
5
  "exports": {
6
6
  ".": "./dist/index.js",
@@ -1,57 +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
- import type { KnowledgeBasePrivacyUio } from './KnowledgeBasePrivacyUio';
13
- /**
14
- *
15
- * @export
16
- * @interface AgentKnowledgeBaseUio
17
- */
18
- export interface AgentKnowledgeBaseUio {
19
- /**
20
- *
21
- * @type {string}
22
- * @memberof AgentKnowledgeBaseUio
23
- */
24
- id: string;
25
- /**
26
- *
27
- * @type {string}
28
- * @memberof AgentKnowledgeBaseUio
29
- */
30
- name: string;
31
- /**
32
- *
33
- * @type {KnowledgeBasePrivacyUio}
34
- * @memberof AgentKnowledgeBaseUio
35
- */
36
- privacy: KnowledgeBasePrivacyUio;
37
- /**
38
- *
39
- * @type {string}
40
- * @memberof AgentKnowledgeBaseUio
41
- */
42
- organisationId: string;
43
- /**
44
- *
45
- * @type {Array<string>}
46
- * @memberof AgentKnowledgeBaseUio
47
- */
48
- authorizedAgents: Array<string>;
49
- }
50
- /**
51
- * Check if a given object implements the AgentKnowledgeBaseUio interface.
52
- */
53
- export declare function instanceOfAgentKnowledgeBaseUio(value: object): value is AgentKnowledgeBaseUio;
54
- export declare function AgentKnowledgeBaseUioFromJSON(json: any): AgentKnowledgeBaseUio;
55
- export declare function AgentKnowledgeBaseUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentKnowledgeBaseUio;
56
- export declare function AgentKnowledgeBaseUioToJSON(json: any): AgentKnowledgeBaseUio;
57
- export declare function AgentKnowledgeBaseUioToJSONTyped(value?: AgentKnowledgeBaseUio | null, ignoreDiscriminator?: boolean): any;
@@ -1,67 +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.instanceOfAgentKnowledgeBaseUio = instanceOfAgentKnowledgeBaseUio;
17
- exports.AgentKnowledgeBaseUioFromJSON = AgentKnowledgeBaseUioFromJSON;
18
- exports.AgentKnowledgeBaseUioFromJSONTyped = AgentKnowledgeBaseUioFromJSONTyped;
19
- exports.AgentKnowledgeBaseUioToJSON = AgentKnowledgeBaseUioToJSON;
20
- exports.AgentKnowledgeBaseUioToJSONTyped = AgentKnowledgeBaseUioToJSONTyped;
21
- const KnowledgeBasePrivacyUio_1 = require("./KnowledgeBasePrivacyUio");
22
- /**
23
- * Check if a given object implements the AgentKnowledgeBaseUio interface.
24
- */
25
- function instanceOfAgentKnowledgeBaseUio(value) {
26
- if (!('id' in value) || value['id'] === undefined)
27
- return false;
28
- if (!('name' in value) || value['name'] === undefined)
29
- return false;
30
- if (!('privacy' in value) || value['privacy'] === undefined)
31
- return false;
32
- if (!('organisationId' in value) || value['organisationId'] === undefined)
33
- return false;
34
- if (!('authorizedAgents' in value) || value['authorizedAgents'] === undefined)
35
- return false;
36
- return true;
37
- }
38
- function AgentKnowledgeBaseUioFromJSON(json) {
39
- return AgentKnowledgeBaseUioFromJSONTyped(json, false);
40
- }
41
- function AgentKnowledgeBaseUioFromJSONTyped(json, ignoreDiscriminator) {
42
- if (json == null) {
43
- return json;
44
- }
45
- return {
46
- 'id': json['id'],
47
- 'name': json['name'],
48
- 'privacy': (0, KnowledgeBasePrivacyUio_1.KnowledgeBasePrivacyUioFromJSON)(json['privacy']),
49
- 'organisationId': json['organisationId'],
50
- 'authorizedAgents': json['authorizedAgents'],
51
- };
52
- }
53
- function AgentKnowledgeBaseUioToJSON(json) {
54
- return AgentKnowledgeBaseUioToJSONTyped(json, false);
55
- }
56
- function AgentKnowledgeBaseUioToJSONTyped(value, ignoreDiscriminator = false) {
57
- if (value == null) {
58
- return value;
59
- }
60
- return {
61
- 'id': value['id'],
62
- 'name': value['name'],
63
- 'privacy': (0, KnowledgeBasePrivacyUio_1.KnowledgeBasePrivacyUioToJSON)(value['privacy']),
64
- 'organisationId': value['organisationId'],
65
- 'authorizedAgents': value['authorizedAgents'],
66
- };
67
- }