@breign/client 1.0.164 → 1.0.166

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 (137) hide show
  1. package/dist/apis/InboxApi.d.ts +61 -0
  2. package/dist/apis/InboxApi.js +156 -0
  3. package/dist/apis/KnowledgeApi.d.ts +43 -1
  4. package/dist/apis/KnowledgeApi.js +104 -0
  5. package/dist/apis/ProjectsApi.d.ts +113 -0
  6. package/dist/apis/ProjectsApi.js +278 -0
  7. package/dist/apis/TicketsApi.d.ts +288 -0
  8. package/dist/apis/TicketsApi.js +690 -0
  9. package/dist/apis/index.d.ts +3 -0
  10. package/dist/apis/index.js +3 -0
  11. package/dist/models/AcceptTicketProposalRequestUio.d.ts +72 -0
  12. package/dist/models/AcceptTicketProposalRequestUio.js +64 -0
  13. package/dist/models/ActorRefUio.d.ts +39 -0
  14. package/dist/models/ActorRefUio.js +55 -0
  15. package/dist/models/ActorTypeUio.d.ts +26 -0
  16. package/dist/models/ActorTypeUio.js +52 -0
  17. package/dist/models/AddKnowledgeSiteExclusionRequestUio.d.ts +32 -0
  18. package/dist/models/AddKnowledgeSiteExclusionRequestUio.js +50 -0
  19. package/dist/models/AddKnowledgeSiteExclusionResponseUio.d.ts +44 -0
  20. package/dist/models/AddKnowledgeSiteExclusionResponseUio.js +58 -0
  21. package/dist/models/AgentTicketActivityUio.d.ts +69 -0
  22. package/dist/models/AgentTicketActivityUio.js +75 -0
  23. package/dist/models/AgentTicketCreationUio.d.ts +25 -0
  24. package/dist/models/AgentTicketCreationUio.js +51 -0
  25. package/dist/models/ChatMessageUio.d.ts +7 -0
  26. package/dist/models/ChatMessageUio.js +3 -0
  27. package/dist/models/ConversationTicketProposalUio.d.ts +71 -0
  28. package/dist/models/ConversationTicketProposalUio.js +77 -0
  29. package/dist/models/CreateProjectRequestUio.d.ts +70 -0
  30. package/dist/models/CreateProjectRequestUio.js +66 -0
  31. package/dist/models/CreateTicketArtifactRequestUio.d.ts +44 -0
  32. package/dist/models/CreateTicketArtifactRequestUio.js +56 -0
  33. package/dist/models/CreateTicketArtifactResponseUio.d.ts +40 -0
  34. package/dist/models/CreateTicketArtifactResponseUio.js +56 -0
  35. package/dist/models/CreateTicketEventRequestUio.d.ts +38 -0
  36. package/dist/models/CreateTicketEventRequestUio.js +52 -0
  37. package/dist/models/CreateTicketRequestUio.d.ts +85 -0
  38. package/dist/models/CreateTicketRequestUio.js +71 -0
  39. package/dist/models/FileCreationResponseUio.d.ts +7 -0
  40. package/dist/models/FileCreationResponseUio.js +2 -0
  41. package/dist/models/FileUio.d.ts +7 -0
  42. package/dist/models/FileUio.js +2 -0
  43. package/dist/models/FileWithDownloadUrlUio.d.ts +7 -0
  44. package/dist/models/FileWithDownloadUrlUio.js +2 -0
  45. package/dist/models/InboxCountUio.d.ts +38 -0
  46. package/dist/models/InboxCountUio.js +54 -0
  47. package/dist/models/InboxItemKindUio.d.ts +28 -0
  48. package/dist/models/InboxItemKindUio.js +54 -0
  49. package/dist/models/InboxItemProjectUio.d.ts +44 -0
  50. package/dist/models/InboxItemProjectUio.js +58 -0
  51. package/dist/models/InboxItemStatusUio.d.ts +25 -0
  52. package/dist/models/InboxItemStatusUio.js +51 -0
  53. package/dist/models/InboxItemTicketUio.d.ts +44 -0
  54. package/dist/models/InboxItemTicketUio.js +58 -0
  55. package/dist/models/InboxItemUio.d.ts +107 -0
  56. package/dist/models/InboxItemUio.js +99 -0
  57. package/dist/models/InboxTabUio.d.ts +26 -0
  58. package/dist/models/InboxTabUio.js +52 -0
  59. package/dist/models/KnowledgeFileUio.d.ts +7 -0
  60. package/dist/models/KnowledgeFileUio.js +2 -0
  61. package/dist/models/KnowledgeSiteExclusionsUio.d.ts +32 -0
  62. package/dist/models/KnowledgeSiteExclusionsUio.js +50 -0
  63. package/dist/models/KnowledgeSitePagesRemovalUio.d.ts +38 -0
  64. package/dist/models/KnowledgeSitePagesRemovalUio.js +54 -0
  65. package/dist/models/MemberRefUio.d.ts +39 -0
  66. package/dist/models/MemberRefUio.js +55 -0
  67. package/dist/models/MemberTypeUio.d.ts +25 -0
  68. package/dist/models/MemberTypeUio.js +51 -0
  69. package/dist/models/ProjectActivityUio.d.ts +51 -0
  70. package/dist/models/ProjectActivityUio.js +63 -0
  71. package/dist/models/ProjectAttentionUio.d.ts +50 -0
  72. package/dist/models/ProjectAttentionUio.js +62 -0
  73. package/dist/models/ProjectCountsUio.d.ts +68 -0
  74. package/dist/models/ProjectCountsUio.js +74 -0
  75. package/dist/models/ProjectMemberRoleUio.d.ts +25 -0
  76. package/dist/models/ProjectMemberRoleUio.js +51 -0
  77. package/dist/models/ProjectMemberUio.d.ts +53 -0
  78. package/dist/models/ProjectMemberUio.js +63 -0
  79. package/dist/models/ProjectOverviewUio.d.ts +68 -0
  80. package/dist/models/ProjectOverviewUio.js +76 -0
  81. package/dist/models/ProjectSettingsUio.d.ts +40 -0
  82. package/dist/models/ProjectSettingsUio.js +56 -0
  83. package/dist/models/ProjectSummaryUio.d.ts +128 -0
  84. package/dist/models/ProjectSummaryUio.js +116 -0
  85. package/dist/models/ProjectUio.d.ts +100 -0
  86. package/dist/models/ProjectUio.js +96 -0
  87. package/dist/models/SetProjectMembersRequestUio.d.ts +33 -0
  88. package/dist/models/SetProjectMembersRequestUio.js +51 -0
  89. package/dist/models/SetTicketAssigneesRequestUio.d.ts +40 -0
  90. package/dist/models/SetTicketAssigneesRequestUio.js +54 -0
  91. package/dist/models/StartKnowledgeBaseScrappingRequestUio.d.ts +1 -0
  92. package/dist/models/TicketArtifactDownloadUrlUio.d.ts +32 -0
  93. package/dist/models/TicketArtifactDownloadUrlUio.js +50 -0
  94. package/dist/models/TicketArtifactSourceUio.d.ts +25 -0
  95. package/dist/models/TicketArtifactSourceUio.js +51 -0
  96. package/dist/models/TicketArtifactStatusUio.d.ts +25 -0
  97. package/dist/models/TicketArtifactStatusUio.js +51 -0
  98. package/dist/models/TicketArtifactUio.d.ts +83 -0
  99. package/dist/models/TicketArtifactUio.js +85 -0
  100. package/dist/models/TicketAssigneeInputUio.d.ts +39 -0
  101. package/dist/models/TicketAssigneeInputUio.js +55 -0
  102. package/dist/models/TicketAssigneeStateUio.d.ts +29 -0
  103. package/dist/models/TicketAssigneeStateUio.js +55 -0
  104. package/dist/models/TicketAssigneeUio.d.ts +58 -0
  105. package/dist/models/TicketAssigneeUio.js +68 -0
  106. package/dist/models/TicketBoardColumnUio.d.ts +46 -0
  107. package/dist/models/TicketBoardColumnUio.js +60 -0
  108. package/dist/models/TicketBoardUio.d.ts +33 -0
  109. package/dist/models/TicketBoardUio.js +51 -0
  110. package/dist/models/TicketEventKindUio.d.ts +27 -0
  111. package/dist/models/TicketEventKindUio.js +53 -0
  112. package/dist/models/TicketEventUio.d.ts +78 -0
  113. package/dist/models/TicketEventUio.js +80 -0
  114. package/dist/models/TicketPriorityUio.d.ts +26 -0
  115. package/dist/models/TicketPriorityUio.js +52 -0
  116. package/dist/models/TicketProposalPayloadUio.d.ts +72 -0
  117. package/dist/models/TicketProposalPayloadUio.js +78 -0
  118. package/dist/models/TicketProposalStatusUio.d.ts +27 -0
  119. package/dist/models/TicketProposalStatusUio.js +53 -0
  120. package/dist/models/TicketReviewDecisionUio.d.ts +25 -0
  121. package/dist/models/TicketReviewDecisionUio.js +51 -0
  122. package/dist/models/TicketReviewRequestUio.d.ts +39 -0
  123. package/dist/models/TicketReviewRequestUio.js +53 -0
  124. package/dist/models/TicketStartModeUio.d.ts +25 -0
  125. package/dist/models/TicketStartModeUio.js +51 -0
  126. package/dist/models/TicketStatusUio.d.ts +28 -0
  127. package/dist/models/TicketStatusUio.js +54 -0
  128. package/dist/models/TicketUio.d.ts +163 -0
  129. package/dist/models/TicketUio.js +139 -0
  130. package/dist/models/UpdateProjectRequestUio.d.ts +63 -0
  131. package/dist/models/UpdateProjectRequestUio.js +59 -0
  132. package/dist/models/UpdateTicketRequestUio.d.ts +77 -0
  133. package/dist/models/UpdateTicketRequestUio.js +65 -0
  134. package/dist/models/index.d.ts +56 -0
  135. package/dist/models/index.js +56 -0
  136. package/dist/openapi.json +4942 -2075
  137. package/package.json +1 -1
@@ -0,0 +1,58 @@
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.instanceOfInboxItemProjectUio = instanceOfInboxItemProjectUio;
17
+ exports.InboxItemProjectUioFromJSON = InboxItemProjectUioFromJSON;
18
+ exports.InboxItemProjectUioFromJSONTyped = InboxItemProjectUioFromJSONTyped;
19
+ exports.InboxItemProjectUioToJSON = InboxItemProjectUioToJSON;
20
+ exports.InboxItemProjectUioToJSONTyped = InboxItemProjectUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the InboxItemProjectUio interface.
23
+ */
24
+ function instanceOfInboxItemProjectUio(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
27
+ if (!('key' in value) || value['key'] === undefined)
28
+ return false;
29
+ if (!('name' in value) || value['name'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function InboxItemProjectUioFromJSON(json) {
34
+ return InboxItemProjectUioFromJSONTyped(json, false);
35
+ }
36
+ function InboxItemProjectUioFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'id': json['id'],
42
+ 'key': json['key'],
43
+ 'name': json['name'],
44
+ };
45
+ }
46
+ function InboxItemProjectUioToJSON(json) {
47
+ return InboxItemProjectUioToJSONTyped(json, false);
48
+ }
49
+ function InboxItemProjectUioToJSONTyped(value, ignoreDiscriminator = false) {
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'id': value['id'],
55
+ 'key': value['key'],
56
+ 'name': value['name'],
57
+ };
58
+ }
@@ -0,0 +1,25 @@
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 InboxItemStatusUio: {
17
+ readonly Pending: "pending";
18
+ readonly Done: "done";
19
+ };
20
+ export type InboxItemStatusUio = typeof InboxItemStatusUio[keyof typeof InboxItemStatusUio];
21
+ export declare function instanceOfInboxItemStatusUio(value: any): boolean;
22
+ export declare function InboxItemStatusUioFromJSON(json: any): InboxItemStatusUio;
23
+ export declare function InboxItemStatusUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): InboxItemStatusUio;
24
+ export declare function InboxItemStatusUioToJSON(value?: InboxItemStatusUio | null): any;
25
+ export declare function InboxItemStatusUioToJSONTyped(value: any, ignoreDiscriminator: boolean): InboxItemStatusUio;
@@ -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.InboxItemStatusUio = void 0;
17
+ exports.instanceOfInboxItemStatusUio = instanceOfInboxItemStatusUio;
18
+ exports.InboxItemStatusUioFromJSON = InboxItemStatusUioFromJSON;
19
+ exports.InboxItemStatusUioFromJSONTyped = InboxItemStatusUioFromJSONTyped;
20
+ exports.InboxItemStatusUioToJSON = InboxItemStatusUioToJSON;
21
+ exports.InboxItemStatusUioToJSONTyped = InboxItemStatusUioToJSONTyped;
22
+ /**
23
+ *
24
+ * @export
25
+ */
26
+ exports.InboxItemStatusUio = {
27
+ Pending: 'pending',
28
+ Done: 'done'
29
+ };
30
+ function instanceOfInboxItemStatusUio(value) {
31
+ for (const key in exports.InboxItemStatusUio) {
32
+ if (Object.prototype.hasOwnProperty.call(exports.InboxItemStatusUio, key)) {
33
+ if (exports.InboxItemStatusUio[key] === value) {
34
+ return true;
35
+ }
36
+ }
37
+ }
38
+ return false;
39
+ }
40
+ function InboxItemStatusUioFromJSON(json) {
41
+ return InboxItemStatusUioFromJSONTyped(json, false);
42
+ }
43
+ function InboxItemStatusUioFromJSONTyped(json, ignoreDiscriminator) {
44
+ return json;
45
+ }
46
+ function InboxItemStatusUioToJSON(value) {
47
+ return value;
48
+ }
49
+ function InboxItemStatusUioToJSONTyped(value, ignoreDiscriminator) {
50
+ return value;
51
+ }
@@ -0,0 +1,44 @@
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 InboxItemTicketUio
16
+ */
17
+ export interface InboxItemTicketUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof InboxItemTicketUio
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof InboxItemTicketUio
28
+ */
29
+ key: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof InboxItemTicketUio
34
+ */
35
+ title: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the InboxItemTicketUio interface.
39
+ */
40
+ export declare function instanceOfInboxItemTicketUio(value: object): value is InboxItemTicketUio;
41
+ export declare function InboxItemTicketUioFromJSON(json: any): InboxItemTicketUio;
42
+ export declare function InboxItemTicketUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): InboxItemTicketUio;
43
+ export declare function InboxItemTicketUioToJSON(json: any): InboxItemTicketUio;
44
+ export declare function InboxItemTicketUioToJSONTyped(value?: InboxItemTicketUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,58 @@
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.instanceOfInboxItemTicketUio = instanceOfInboxItemTicketUio;
17
+ exports.InboxItemTicketUioFromJSON = InboxItemTicketUioFromJSON;
18
+ exports.InboxItemTicketUioFromJSONTyped = InboxItemTicketUioFromJSONTyped;
19
+ exports.InboxItemTicketUioToJSON = InboxItemTicketUioToJSON;
20
+ exports.InboxItemTicketUioToJSONTyped = InboxItemTicketUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the InboxItemTicketUio interface.
23
+ */
24
+ function instanceOfInboxItemTicketUio(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
27
+ if (!('key' in value) || value['key'] === undefined)
28
+ return false;
29
+ if (!('title' in value) || value['title'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function InboxItemTicketUioFromJSON(json) {
34
+ return InboxItemTicketUioFromJSONTyped(json, false);
35
+ }
36
+ function InboxItemTicketUioFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'id': json['id'],
42
+ 'key': json['key'],
43
+ 'title': json['title'],
44
+ };
45
+ }
46
+ function InboxItemTicketUioToJSON(json) {
47
+ return InboxItemTicketUioToJSONTyped(json, false);
48
+ }
49
+ function InboxItemTicketUioToJSONTyped(value, ignoreDiscriminator = false) {
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'id': value['id'],
55
+ 'key': value['key'],
56
+ 'title': value['title'],
57
+ };
58
+ }
@@ -0,0 +1,107 @@
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 { InboxItemStatusUio } from './InboxItemStatusUio';
13
+ import type { InboxItemTicketUio } from './InboxItemTicketUio';
14
+ import type { ActorRefUio } from './ActorRefUio';
15
+ import type { InboxItemProjectUio } from './InboxItemProjectUio';
16
+ import type { InboxItemKindUio } from './InboxItemKindUio';
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface InboxItemUio
21
+ */
22
+ export interface InboxItemUio {
23
+ /**
24
+ * Identifiant de l'élément ; pour une question Human_ask hors ticket, l'identifiant de l'appel (callId).
25
+ * @type {string}
26
+ * @memberof InboxItemUio
27
+ */
28
+ id: string;
29
+ /**
30
+ *
31
+ * @type {InboxItemKindUio}
32
+ * @memberof InboxItemUio
33
+ */
34
+ kind: InboxItemKindUio;
35
+ /**
36
+ *
37
+ * @type {InboxItemStatusUio}
38
+ * @memberof InboxItemUio
39
+ */
40
+ status: InboxItemStatusUio;
41
+ /**
42
+ *
43
+ * @type {ActorRefUio}
44
+ * @memberof InboxItemUio
45
+ */
46
+ requestedBy: ActorRefUio;
47
+ /**
48
+ *
49
+ * @type {InboxItemProjectUio}
50
+ * @memberof InboxItemUio
51
+ */
52
+ project: InboxItemProjectUio | null;
53
+ /**
54
+ *
55
+ * @type {InboxItemTicketUio}
56
+ * @memberof InboxItemUio
57
+ */
58
+ ticket: InboxItemTicketUio | null;
59
+ /**
60
+ * Objet visé : callId pour une question, proposalId pour une proposition, identifiant de l'événement pour une mention, identifiant du ticket pour une relecture ou un feu vert.
61
+ * @type {string}
62
+ * @memberof InboxItemUio
63
+ */
64
+ refId: string;
65
+ /**
66
+ * Texte à afficher (question, titre proposé, extrait de la mention…)
67
+ * @type {string}
68
+ * @memberof InboxItemUio
69
+ */
70
+ summary: string;
71
+ /**
72
+ * Détails selon le type : pour question, { options?, humanConversationId?, expiresAt? } ; pour ticket_proposal, { conversationId, proposal } ; pour go_ahead, { agentId }.
73
+ * @type {{ [key: string]: any; }}
74
+ * @memberof InboxItemUio
75
+ */
76
+ data: {
77
+ [key: string]: any;
78
+ };
79
+ /**
80
+ *
81
+ * @type {string}
82
+ * @memberof InboxItemUio
83
+ */
84
+ createdAt: string;
85
+ /**
86
+ *
87
+ * @type {string}
88
+ * @memberof InboxItemUio
89
+ */
90
+ resolvedAt: string | null;
91
+ /**
92
+ *
93
+ * @type {{ [key: string]: any; }}
94
+ * @memberof InboxItemUio
95
+ */
96
+ resolution: {
97
+ [key: string]: any;
98
+ } | null;
99
+ }
100
+ /**
101
+ * Check if a given object implements the InboxItemUio interface.
102
+ */
103
+ export declare function instanceOfInboxItemUio(value: object): value is InboxItemUio;
104
+ export declare function InboxItemUioFromJSON(json: any): InboxItemUio;
105
+ export declare function InboxItemUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): InboxItemUio;
106
+ export declare function InboxItemUioToJSON(json: any): InboxItemUio;
107
+ export declare function InboxItemUioToJSONTyped(value?: InboxItemUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,99 @@
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.instanceOfInboxItemUio = instanceOfInboxItemUio;
17
+ exports.InboxItemUioFromJSON = InboxItemUioFromJSON;
18
+ exports.InboxItemUioFromJSONTyped = InboxItemUioFromJSONTyped;
19
+ exports.InboxItemUioToJSON = InboxItemUioToJSON;
20
+ exports.InboxItemUioToJSONTyped = InboxItemUioToJSONTyped;
21
+ const InboxItemStatusUio_1 = require("./InboxItemStatusUio");
22
+ const InboxItemTicketUio_1 = require("./InboxItemTicketUio");
23
+ const ActorRefUio_1 = require("./ActorRefUio");
24
+ const InboxItemProjectUio_1 = require("./InboxItemProjectUio");
25
+ const InboxItemKindUio_1 = require("./InboxItemKindUio");
26
+ /**
27
+ * Check if a given object implements the InboxItemUio interface.
28
+ */
29
+ function instanceOfInboxItemUio(value) {
30
+ if (!('id' in value) || value['id'] === undefined)
31
+ return false;
32
+ if (!('kind' in value) || value['kind'] === undefined)
33
+ return false;
34
+ if (!('status' in value) || value['status'] === undefined)
35
+ return false;
36
+ if (!('requestedBy' in value) || value['requestedBy'] === undefined)
37
+ return false;
38
+ if (!('project' in value) || value['project'] === undefined)
39
+ return false;
40
+ if (!('ticket' in value) || value['ticket'] === undefined)
41
+ return false;
42
+ if (!('refId' in value) || value['refId'] === undefined)
43
+ return false;
44
+ if (!('summary' in value) || value['summary'] === undefined)
45
+ return false;
46
+ if (!('data' in value) || value['data'] === undefined)
47
+ return false;
48
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
49
+ return false;
50
+ if (!('resolvedAt' in value) || value['resolvedAt'] === undefined)
51
+ return false;
52
+ if (!('resolution' in value) || value['resolution'] === undefined)
53
+ return false;
54
+ return true;
55
+ }
56
+ function InboxItemUioFromJSON(json) {
57
+ return InboxItemUioFromJSONTyped(json, false);
58
+ }
59
+ function InboxItemUioFromJSONTyped(json, ignoreDiscriminator) {
60
+ if (json == null) {
61
+ return json;
62
+ }
63
+ return {
64
+ 'id': json['id'],
65
+ 'kind': (0, InboxItemKindUio_1.InboxItemKindUioFromJSON)(json['kind']),
66
+ 'status': (0, InboxItemStatusUio_1.InboxItemStatusUioFromJSON)(json['status']),
67
+ 'requestedBy': (0, ActorRefUio_1.ActorRefUioFromJSON)(json['requestedBy']),
68
+ 'project': (0, InboxItemProjectUio_1.InboxItemProjectUioFromJSON)(json['project']),
69
+ 'ticket': (0, InboxItemTicketUio_1.InboxItemTicketUioFromJSON)(json['ticket']),
70
+ 'refId': json['refId'],
71
+ 'summary': json['summary'],
72
+ 'data': json['data'],
73
+ 'createdAt': json['createdAt'],
74
+ 'resolvedAt': json['resolvedAt'],
75
+ 'resolution': json['resolution'],
76
+ };
77
+ }
78
+ function InboxItemUioToJSON(json) {
79
+ return InboxItemUioToJSONTyped(json, false);
80
+ }
81
+ function InboxItemUioToJSONTyped(value, ignoreDiscriminator = false) {
82
+ if (value == null) {
83
+ return value;
84
+ }
85
+ return {
86
+ 'id': value['id'],
87
+ 'kind': (0, InboxItemKindUio_1.InboxItemKindUioToJSON)(value['kind']),
88
+ 'status': (0, InboxItemStatusUio_1.InboxItemStatusUioToJSON)(value['status']),
89
+ 'requestedBy': (0, ActorRefUio_1.ActorRefUioToJSON)(value['requestedBy']),
90
+ 'project': (0, InboxItemProjectUio_1.InboxItemProjectUioToJSON)(value['project']),
91
+ 'ticket': (0, InboxItemTicketUio_1.InboxItemTicketUioToJSON)(value['ticket']),
92
+ 'refId': value['refId'],
93
+ 'summary': value['summary'],
94
+ 'data': value['data'],
95
+ 'createdAt': value['createdAt'],
96
+ 'resolvedAt': value['resolvedAt'],
97
+ 'resolution': value['resolution'],
98
+ };
99
+ }
@@ -0,0 +1,26 @@
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 InboxTabUio: {
17
+ readonly Todo: "todo";
18
+ readonly Mentions: "mentions";
19
+ readonly Done: "done";
20
+ };
21
+ export type InboxTabUio = typeof InboxTabUio[keyof typeof InboxTabUio];
22
+ export declare function instanceOfInboxTabUio(value: any): boolean;
23
+ export declare function InboxTabUioFromJSON(json: any): InboxTabUio;
24
+ export declare function InboxTabUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): InboxTabUio;
25
+ export declare function InboxTabUioToJSON(value?: InboxTabUio | null): any;
26
+ export declare function InboxTabUioToJSONTyped(value: any, ignoreDiscriminator: boolean): InboxTabUio;
@@ -0,0 +1,52 @@
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.InboxTabUio = void 0;
17
+ exports.instanceOfInboxTabUio = instanceOfInboxTabUio;
18
+ exports.InboxTabUioFromJSON = InboxTabUioFromJSON;
19
+ exports.InboxTabUioFromJSONTyped = InboxTabUioFromJSONTyped;
20
+ exports.InboxTabUioToJSON = InboxTabUioToJSON;
21
+ exports.InboxTabUioToJSONTyped = InboxTabUioToJSONTyped;
22
+ /**
23
+ *
24
+ * @export
25
+ */
26
+ exports.InboxTabUio = {
27
+ Todo: 'todo',
28
+ Mentions: 'mentions',
29
+ Done: 'done'
30
+ };
31
+ function instanceOfInboxTabUio(value) {
32
+ for (const key in exports.InboxTabUio) {
33
+ if (Object.prototype.hasOwnProperty.call(exports.InboxTabUio, key)) {
34
+ if (exports.InboxTabUio[key] === value) {
35
+ return true;
36
+ }
37
+ }
38
+ }
39
+ return false;
40
+ }
41
+ function InboxTabUioFromJSON(json) {
42
+ return InboxTabUioFromJSONTyped(json, false);
43
+ }
44
+ function InboxTabUioFromJSONTyped(json, ignoreDiscriminator) {
45
+ return json;
46
+ }
47
+ function InboxTabUioToJSON(value) {
48
+ return value;
49
+ }
50
+ function InboxTabUioToJSONTyped(value, ignoreDiscriminator) {
51
+ return value;
52
+ }
@@ -132,6 +132,13 @@ export interface KnowledgeFileUio {
132
132
  * @memberof KnowledgeFileUio
133
133
  */
134
134
  isActive?: boolean;
135
+ /**
136
+ * Websites only. URLs never scraped, each one along with everything below it, applied on every resync.
137
+ *
138
+ * @type {Array<string>}
139
+ * @memberof KnowledgeFileUio
140
+ */
141
+ scrapingExclusions?: Array<string>;
135
142
  }
136
143
  /**
137
144
  * @export
@@ -63,6 +63,7 @@ function KnowledgeFileUioFromJSONTyped(json, ignoreDiscriminator) {
63
63
  'status': json['status'] == null ? undefined : (0, FileStatusUio_1.FileStatusUioFromJSON)(json['status']),
64
64
  'error': json['error'] == null ? undefined : json['error'],
65
65
  'isActive': json['isActive'] == null ? undefined : json['isActive'],
66
+ 'scrapingExclusions': json['scrapingExclusions'] == null ? undefined : json['scrapingExclusions'],
66
67
  };
67
68
  }
68
69
  function KnowledgeFileUioToJSON(json) {
@@ -92,5 +93,6 @@ function KnowledgeFileUioToJSONTyped(value, ignoreDiscriminator = false) {
92
93
  'status': (0, FileStatusUio_1.FileStatusUioToJSON)(value['status']),
93
94
  'error': value['error'],
94
95
  'isActive': value['isActive'],
96
+ 'scrapingExclusions': value['scrapingExclusions'],
95
97
  };
96
98
  }
@@ -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 KnowledgeSiteExclusionsUio
16
+ */
17
+ export interface KnowledgeSiteExclusionsUio {
18
+ /**
19
+ *
20
+ * @type {Array<string>}
21
+ * @memberof KnowledgeSiteExclusionsUio
22
+ */
23
+ scrapingExclusions: Array<string>;
24
+ }
25
+ /**
26
+ * Check if a given object implements the KnowledgeSiteExclusionsUio interface.
27
+ */
28
+ export declare function instanceOfKnowledgeSiteExclusionsUio(value: object): value is KnowledgeSiteExclusionsUio;
29
+ export declare function KnowledgeSiteExclusionsUioFromJSON(json: any): KnowledgeSiteExclusionsUio;
30
+ export declare function KnowledgeSiteExclusionsUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): KnowledgeSiteExclusionsUio;
31
+ export declare function KnowledgeSiteExclusionsUioToJSON(json: any): KnowledgeSiteExclusionsUio;
32
+ export declare function KnowledgeSiteExclusionsUioToJSONTyped(value?: KnowledgeSiteExclusionsUio | 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.instanceOfKnowledgeSiteExclusionsUio = instanceOfKnowledgeSiteExclusionsUio;
17
+ exports.KnowledgeSiteExclusionsUioFromJSON = KnowledgeSiteExclusionsUioFromJSON;
18
+ exports.KnowledgeSiteExclusionsUioFromJSONTyped = KnowledgeSiteExclusionsUioFromJSONTyped;
19
+ exports.KnowledgeSiteExclusionsUioToJSON = KnowledgeSiteExclusionsUioToJSON;
20
+ exports.KnowledgeSiteExclusionsUioToJSONTyped = KnowledgeSiteExclusionsUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the KnowledgeSiteExclusionsUio interface.
23
+ */
24
+ function instanceOfKnowledgeSiteExclusionsUio(value) {
25
+ if (!('scrapingExclusions' in value) || value['scrapingExclusions'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function KnowledgeSiteExclusionsUioFromJSON(json) {
30
+ return KnowledgeSiteExclusionsUioFromJSONTyped(json, false);
31
+ }
32
+ function KnowledgeSiteExclusionsUioFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'scrapingExclusions': json['scrapingExclusions'],
38
+ };
39
+ }
40
+ function KnowledgeSiteExclusionsUioToJSON(json) {
41
+ return KnowledgeSiteExclusionsUioToJSONTyped(json, false);
42
+ }
43
+ function KnowledgeSiteExclusionsUioToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'scrapingExclusions': value['scrapingExclusions'],
49
+ };
50
+ }
@@ -0,0 +1,38 @@
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 KnowledgeSitePagesRemovalUio
16
+ */
17
+ export interface KnowledgeSitePagesRemovalUio {
18
+ /**
19
+ * URLs of the removed pages
20
+ * @type {Array<string>}
21
+ * @memberof KnowledgeSitePagesRemovalUio
22
+ */
23
+ removedPages: Array<string>;
24
+ /**
25
+ * URLs of the pages that could not be removed
26
+ * @type {Array<string>}
27
+ * @memberof KnowledgeSitePagesRemovalUio
28
+ */
29
+ failedPages: Array<string>;
30
+ }
31
+ /**
32
+ * Check if a given object implements the KnowledgeSitePagesRemovalUio interface.
33
+ */
34
+ export declare function instanceOfKnowledgeSitePagesRemovalUio(value: object): value is KnowledgeSitePagesRemovalUio;
35
+ export declare function KnowledgeSitePagesRemovalUioFromJSON(json: any): KnowledgeSitePagesRemovalUio;
36
+ export declare function KnowledgeSitePagesRemovalUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): KnowledgeSitePagesRemovalUio;
37
+ export declare function KnowledgeSitePagesRemovalUioToJSON(json: any): KnowledgeSitePagesRemovalUio;
38
+ export declare function KnowledgeSitePagesRemovalUioToJSONTyped(value?: KnowledgeSitePagesRemovalUio | null, ignoreDiscriminator?: boolean): any;