@breign/client 1.0.165 → 1.0.167

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 (130) hide show
  1. package/dist/apis/InboxApi.d.ts +61 -0
  2. package/dist/apis/InboxApi.js +156 -0
  3. package/dist/apis/ProjectsApi.d.ts +113 -0
  4. package/dist/apis/ProjectsApi.js +278 -0
  5. package/dist/apis/TicketsApi.d.ts +301 -0
  6. package/dist/apis/TicketsApi.js +719 -0
  7. package/dist/apis/index.d.ts +3 -0
  8. package/dist/apis/index.js +3 -0
  9. package/dist/models/AcceptTicketProposalRequestUio.d.ts +72 -0
  10. package/dist/models/AcceptTicketProposalRequestUio.js +64 -0
  11. package/dist/models/ActorRefUio.d.ts +39 -0
  12. package/dist/models/ActorRefUio.js +55 -0
  13. package/dist/models/ActorTypeUio.d.ts +26 -0
  14. package/dist/models/ActorTypeUio.js +52 -0
  15. package/dist/models/AgentTicketActivityUio.d.ts +69 -0
  16. package/dist/models/AgentTicketActivityUio.js +75 -0
  17. package/dist/models/AgentTicketCreationUio.d.ts +25 -0
  18. package/dist/models/AgentTicketCreationUio.js +51 -0
  19. package/dist/models/ChatMessageUio.d.ts +7 -0
  20. package/dist/models/ChatMessageUio.js +3 -0
  21. package/dist/models/ConversationTicketProposalUio.d.ts +71 -0
  22. package/dist/models/ConversationTicketProposalUio.js +77 -0
  23. package/dist/models/CreateProjectRequestUio.d.ts +70 -0
  24. package/dist/models/CreateProjectRequestUio.js +66 -0
  25. package/dist/models/CreateTicketArtifactRequestUio.d.ts +44 -0
  26. package/dist/models/CreateTicketArtifactRequestUio.js +56 -0
  27. package/dist/models/CreateTicketArtifactResponseUio.d.ts +40 -0
  28. package/dist/models/CreateTicketArtifactResponseUio.js +56 -0
  29. package/dist/models/CreateTicketEventRequestUio.d.ts +38 -0
  30. package/dist/models/CreateTicketEventRequestUio.js +52 -0
  31. package/dist/models/CreateTicketRequestUio.d.ts +85 -0
  32. package/dist/models/CreateTicketRequestUio.js +71 -0
  33. package/dist/models/InboxCountUio.d.ts +38 -0
  34. package/dist/models/InboxCountUio.js +54 -0
  35. package/dist/models/InboxItemKindUio.d.ts +28 -0
  36. package/dist/models/InboxItemKindUio.js +54 -0
  37. package/dist/models/InboxItemProjectUio.d.ts +44 -0
  38. package/dist/models/InboxItemProjectUio.js +58 -0
  39. package/dist/models/InboxItemStatusUio.d.ts +25 -0
  40. package/dist/models/InboxItemStatusUio.js +51 -0
  41. package/dist/models/InboxItemTicketUio.d.ts +44 -0
  42. package/dist/models/InboxItemTicketUio.js +58 -0
  43. package/dist/models/InboxItemUio.d.ts +107 -0
  44. package/dist/models/InboxItemUio.js +99 -0
  45. package/dist/models/InboxTabUio.d.ts +26 -0
  46. package/dist/models/InboxTabUio.js +52 -0
  47. package/dist/models/MemberRefUio.d.ts +39 -0
  48. package/dist/models/MemberRefUio.js +55 -0
  49. package/dist/models/MemberTypeUio.d.ts +25 -0
  50. package/dist/models/MemberTypeUio.js +51 -0
  51. package/dist/models/ProjectActivityUio.d.ts +51 -0
  52. package/dist/models/ProjectActivityUio.js +63 -0
  53. package/dist/models/ProjectAttentionUio.d.ts +50 -0
  54. package/dist/models/ProjectAttentionUio.js +62 -0
  55. package/dist/models/ProjectCountsUio.d.ts +68 -0
  56. package/dist/models/ProjectCountsUio.js +74 -0
  57. package/dist/models/ProjectMemberRoleUio.d.ts +25 -0
  58. package/dist/models/ProjectMemberRoleUio.js +51 -0
  59. package/dist/models/ProjectMemberUio.d.ts +53 -0
  60. package/dist/models/ProjectMemberUio.js +63 -0
  61. package/dist/models/ProjectOverviewUio.d.ts +68 -0
  62. package/dist/models/ProjectOverviewUio.js +76 -0
  63. package/dist/models/ProjectSettingsUio.d.ts +46 -0
  64. package/dist/models/ProjectSettingsUio.js +58 -0
  65. package/dist/models/ProjectSummaryUio.d.ts +128 -0
  66. package/dist/models/ProjectSummaryUio.js +116 -0
  67. package/dist/models/ProjectUio.d.ts +100 -0
  68. package/dist/models/ProjectUio.js +96 -0
  69. package/dist/models/SetProjectMembersRequestUio.d.ts +33 -0
  70. package/dist/models/SetProjectMembersRequestUio.js +51 -0
  71. package/dist/models/SetTicketAssigneesRequestUio.d.ts +40 -0
  72. package/dist/models/SetTicketAssigneesRequestUio.js +54 -0
  73. package/dist/models/TicketAgentExecutionPendingQuestionUio.d.ts +38 -0
  74. package/dist/models/TicketAgentExecutionPendingQuestionUio.js +54 -0
  75. package/dist/models/TicketAgentExecutionUio.d.ts +90 -0
  76. package/dist/models/TicketAgentExecutionUio.js +88 -0
  77. package/dist/models/TicketAgentPlanUio.d.ts +39 -0
  78. package/dist/models/TicketAgentPlanUio.js +55 -0
  79. package/dist/models/TicketAgentRunStatusUio.d.ts +28 -0
  80. package/dist/models/TicketAgentRunStatusUio.js +54 -0
  81. package/dist/models/TicketArtifactDownloadUrlUio.d.ts +32 -0
  82. package/dist/models/TicketArtifactDownloadUrlUio.js +50 -0
  83. package/dist/models/TicketArtifactSourceUio.d.ts +25 -0
  84. package/dist/models/TicketArtifactSourceUio.js +51 -0
  85. package/dist/models/TicketArtifactStatusUio.d.ts +25 -0
  86. package/dist/models/TicketArtifactStatusUio.js +51 -0
  87. package/dist/models/TicketArtifactUio.d.ts +83 -0
  88. package/dist/models/TicketArtifactUio.js +85 -0
  89. package/dist/models/TicketAssigneeInputUio.d.ts +39 -0
  90. package/dist/models/TicketAssigneeInputUio.js +55 -0
  91. package/dist/models/TicketAssigneeStateUio.d.ts +29 -0
  92. package/dist/models/TicketAssigneeStateUio.js +55 -0
  93. package/dist/models/TicketAssigneeUio.d.ts +58 -0
  94. package/dist/models/TicketAssigneeUio.js +68 -0
  95. package/dist/models/TicketBoardColumnUio.d.ts +46 -0
  96. package/dist/models/TicketBoardColumnUio.js +60 -0
  97. package/dist/models/TicketBoardUio.d.ts +33 -0
  98. package/dist/models/TicketBoardUio.js +51 -0
  99. package/dist/models/TicketEventKindUio.d.ts +27 -0
  100. package/dist/models/TicketEventKindUio.js +53 -0
  101. package/dist/models/TicketEventUio.d.ts +78 -0
  102. package/dist/models/TicketEventUio.js +80 -0
  103. package/dist/models/TicketPlanStepStatusUio.d.ts +26 -0
  104. package/dist/models/TicketPlanStepStatusUio.js +52 -0
  105. package/dist/models/TicketPlanStepUio.d.ts +39 -0
  106. package/dist/models/TicketPlanStepUio.js +55 -0
  107. package/dist/models/TicketPriorityUio.d.ts +26 -0
  108. package/dist/models/TicketPriorityUio.js +52 -0
  109. package/dist/models/TicketProposalPayloadUio.d.ts +72 -0
  110. package/dist/models/TicketProposalPayloadUio.js +78 -0
  111. package/dist/models/TicketProposalStatusUio.d.ts +27 -0
  112. package/dist/models/TicketProposalStatusUio.js +53 -0
  113. package/dist/models/TicketReviewDecisionUio.d.ts +25 -0
  114. package/dist/models/TicketReviewDecisionUio.js +51 -0
  115. package/dist/models/TicketReviewRequestUio.d.ts +39 -0
  116. package/dist/models/TicketReviewRequestUio.js +53 -0
  117. package/dist/models/TicketStartModeUio.d.ts +25 -0
  118. package/dist/models/TicketStartModeUio.js +51 -0
  119. package/dist/models/TicketStatusUio.d.ts +28 -0
  120. package/dist/models/TicketStatusUio.js +54 -0
  121. package/dist/models/TicketUio.d.ts +163 -0
  122. package/dist/models/TicketUio.js +139 -0
  123. package/dist/models/UpdateProjectRequestUio.d.ts +63 -0
  124. package/dist/models/UpdateProjectRequestUio.js +59 -0
  125. package/dist/models/UpdateTicketRequestUio.d.ts +77 -0
  126. package/dist/models/UpdateTicketRequestUio.js +65 -0
  127. package/dist/models/index.d.ts +58 -0
  128. package/dist/models/index.js +58 -0
  129. package/dist/openapi.json +8282 -5479
  130. package/package.json +1 -1
@@ -0,0 +1,116 @@
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.instanceOfProjectSummaryUio = instanceOfProjectSummaryUio;
17
+ exports.ProjectSummaryUioFromJSON = ProjectSummaryUioFromJSON;
18
+ exports.ProjectSummaryUioFromJSONTyped = ProjectSummaryUioFromJSONTyped;
19
+ exports.ProjectSummaryUioToJSON = ProjectSummaryUioToJSON;
20
+ exports.ProjectSummaryUioToJSONTyped = ProjectSummaryUioToJSONTyped;
21
+ const ProjectSettingsUio_1 = require("./ProjectSettingsUio");
22
+ const ActorRefUio_1 = require("./ActorRefUio");
23
+ const ProjectCountsUio_1 = require("./ProjectCountsUio");
24
+ const ProjectAttentionUio_1 = require("./ProjectAttentionUio");
25
+ const ProjectActivityUio_1 = require("./ProjectActivityUio");
26
+ const ProjectMemberUio_1 = require("./ProjectMemberUio");
27
+ /**
28
+ * Check if a given object implements the ProjectSummaryUio interface.
29
+ */
30
+ function instanceOfProjectSummaryUio(value) {
31
+ if (!('id' in value) || value['id'] === undefined)
32
+ return false;
33
+ if (!('organizationId' in value) || value['organizationId'] === undefined)
34
+ return false;
35
+ if (!('key' in value) || value['key'] === undefined)
36
+ return false;
37
+ if (!('name' in value) || value['name'] === undefined)
38
+ return false;
39
+ if (!('description' in value) || value['description'] === undefined)
40
+ return false;
41
+ if (!('color' in value) || value['color'] === undefined)
42
+ return false;
43
+ if (!('dueDate' in value) || value['dueDate'] === undefined)
44
+ return false;
45
+ if (!('settings' in value) || value['settings'] === undefined)
46
+ return false;
47
+ if (!('archivedAt' in value) || value['archivedAt'] === undefined)
48
+ return false;
49
+ if (!('createdBy' in value) || value['createdBy'] === undefined)
50
+ return false;
51
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
52
+ return false;
53
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined)
54
+ return false;
55
+ if (!('counts' in value) || value['counts'] === undefined)
56
+ return false;
57
+ if (!('members' in value) || value['members'] === undefined)
58
+ return false;
59
+ if (!('attention' in value) || value['attention'] === undefined)
60
+ return false;
61
+ if (!('lastActivity' in value) || value['lastActivity'] === undefined)
62
+ return false;
63
+ return true;
64
+ }
65
+ function ProjectSummaryUioFromJSON(json) {
66
+ return ProjectSummaryUioFromJSONTyped(json, false);
67
+ }
68
+ function ProjectSummaryUioFromJSONTyped(json, ignoreDiscriminator) {
69
+ if (json == null) {
70
+ return json;
71
+ }
72
+ return {
73
+ 'id': json['id'],
74
+ 'organizationId': json['organizationId'],
75
+ 'key': json['key'],
76
+ 'name': json['name'],
77
+ 'description': json['description'],
78
+ 'color': json['color'],
79
+ 'dueDate': json['dueDate'],
80
+ 'settings': (0, ProjectSettingsUio_1.ProjectSettingsUioFromJSON)(json['settings']),
81
+ 'archivedAt': json['archivedAt'],
82
+ 'createdBy': (0, ActorRefUio_1.ActorRefUioFromJSON)(json['createdBy']),
83
+ 'createdAt': json['createdAt'],
84
+ 'updatedAt': json['updatedAt'],
85
+ 'counts': (0, ProjectCountsUio_1.ProjectCountsUioFromJSON)(json['counts']),
86
+ 'members': (json['members'].map(ProjectMemberUio_1.ProjectMemberUioFromJSON)),
87
+ 'attention': (0, ProjectAttentionUio_1.ProjectAttentionUioFromJSON)(json['attention']),
88
+ 'lastActivity': (0, ProjectActivityUio_1.ProjectActivityUioFromJSON)(json['lastActivity']),
89
+ };
90
+ }
91
+ function ProjectSummaryUioToJSON(json) {
92
+ return ProjectSummaryUioToJSONTyped(json, false);
93
+ }
94
+ function ProjectSummaryUioToJSONTyped(value, ignoreDiscriminator = false) {
95
+ if (value == null) {
96
+ return value;
97
+ }
98
+ return {
99
+ 'id': value['id'],
100
+ 'organizationId': value['organizationId'],
101
+ 'key': value['key'],
102
+ 'name': value['name'],
103
+ 'description': value['description'],
104
+ 'color': value['color'],
105
+ 'dueDate': value['dueDate'],
106
+ 'settings': (0, ProjectSettingsUio_1.ProjectSettingsUioToJSON)(value['settings']),
107
+ 'archivedAt': value['archivedAt'],
108
+ 'createdBy': (0, ActorRefUio_1.ActorRefUioToJSON)(value['createdBy']),
109
+ 'createdAt': value['createdAt'],
110
+ 'updatedAt': value['updatedAt'],
111
+ 'counts': (0, ProjectCountsUio_1.ProjectCountsUioToJSON)(value['counts']),
112
+ 'members': (value['members'].map(ProjectMemberUio_1.ProjectMemberUioToJSON)),
113
+ 'attention': (0, ProjectAttentionUio_1.ProjectAttentionUioToJSON)(value['attention']),
114
+ 'lastActivity': (0, ProjectActivityUio_1.ProjectActivityUioToJSON)(value['lastActivity']),
115
+ };
116
+ }
@@ -0,0 +1,100 @@
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 { ProjectSettingsUio } from './ProjectSettingsUio';
13
+ import type { ActorRefUio } from './ActorRefUio';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface ProjectUio
18
+ */
19
+ export interface ProjectUio {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof ProjectUio
24
+ */
25
+ id: string;
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof ProjectUio
30
+ */
31
+ organizationId: string;
32
+ /**
33
+ * Préfixe des identifiants de tickets (BRN donne BRN-142), unique dans l'organisation
34
+ * @type {string}
35
+ * @memberof ProjectUio
36
+ */
37
+ key: string;
38
+ /**
39
+ *
40
+ * @type {string}
41
+ * @memberof ProjectUio
42
+ */
43
+ name: string;
44
+ /**
45
+ *
46
+ * @type {string}
47
+ * @memberof ProjectUio
48
+ */
49
+ description: string | null;
50
+ /**
51
+ *
52
+ * @type {string}
53
+ * @memberof ProjectUio
54
+ */
55
+ color: string | null;
56
+ /**
57
+ *
58
+ * @type {string}
59
+ * @memberof ProjectUio
60
+ */
61
+ dueDate: string | null;
62
+ /**
63
+ *
64
+ * @type {ProjectSettingsUio}
65
+ * @memberof ProjectUio
66
+ */
67
+ settings: ProjectSettingsUio;
68
+ /**
69
+ *
70
+ * @type {string}
71
+ * @memberof ProjectUio
72
+ */
73
+ archivedAt: string | null;
74
+ /**
75
+ *
76
+ * @type {ActorRefUio}
77
+ * @memberof ProjectUio
78
+ */
79
+ createdBy: ActorRefUio;
80
+ /**
81
+ *
82
+ * @type {string}
83
+ * @memberof ProjectUio
84
+ */
85
+ createdAt: string;
86
+ /**
87
+ *
88
+ * @type {string}
89
+ * @memberof ProjectUio
90
+ */
91
+ updatedAt: string;
92
+ }
93
+ /**
94
+ * Check if a given object implements the ProjectUio interface.
95
+ */
96
+ export declare function instanceOfProjectUio(value: object): value is ProjectUio;
97
+ export declare function ProjectUioFromJSON(json: any): ProjectUio;
98
+ export declare function ProjectUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectUio;
99
+ export declare function ProjectUioToJSON(json: any): ProjectUio;
100
+ export declare function ProjectUioToJSONTyped(value?: ProjectUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,96 @@
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.instanceOfProjectUio = instanceOfProjectUio;
17
+ exports.ProjectUioFromJSON = ProjectUioFromJSON;
18
+ exports.ProjectUioFromJSONTyped = ProjectUioFromJSONTyped;
19
+ exports.ProjectUioToJSON = ProjectUioToJSON;
20
+ exports.ProjectUioToJSONTyped = ProjectUioToJSONTyped;
21
+ const ProjectSettingsUio_1 = require("./ProjectSettingsUio");
22
+ const ActorRefUio_1 = require("./ActorRefUio");
23
+ /**
24
+ * Check if a given object implements the ProjectUio interface.
25
+ */
26
+ function instanceOfProjectUio(value) {
27
+ if (!('id' in value) || value['id'] === undefined)
28
+ return false;
29
+ if (!('organizationId' in value) || value['organizationId'] === undefined)
30
+ return false;
31
+ if (!('key' in value) || value['key'] === undefined)
32
+ return false;
33
+ if (!('name' in value) || value['name'] === undefined)
34
+ return false;
35
+ if (!('description' in value) || value['description'] === undefined)
36
+ return false;
37
+ if (!('color' in value) || value['color'] === undefined)
38
+ return false;
39
+ if (!('dueDate' in value) || value['dueDate'] === undefined)
40
+ return false;
41
+ if (!('settings' in value) || value['settings'] === undefined)
42
+ return false;
43
+ if (!('archivedAt' in value) || value['archivedAt'] === undefined)
44
+ return false;
45
+ if (!('createdBy' in value) || value['createdBy'] === undefined)
46
+ return false;
47
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
48
+ return false;
49
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined)
50
+ return false;
51
+ return true;
52
+ }
53
+ function ProjectUioFromJSON(json) {
54
+ return ProjectUioFromJSONTyped(json, false);
55
+ }
56
+ function ProjectUioFromJSONTyped(json, ignoreDiscriminator) {
57
+ if (json == null) {
58
+ return json;
59
+ }
60
+ return {
61
+ 'id': json['id'],
62
+ 'organizationId': json['organizationId'],
63
+ 'key': json['key'],
64
+ 'name': json['name'],
65
+ 'description': json['description'],
66
+ 'color': json['color'],
67
+ 'dueDate': json['dueDate'],
68
+ 'settings': (0, ProjectSettingsUio_1.ProjectSettingsUioFromJSON)(json['settings']),
69
+ 'archivedAt': json['archivedAt'],
70
+ 'createdBy': (0, ActorRefUio_1.ActorRefUioFromJSON)(json['createdBy']),
71
+ 'createdAt': json['createdAt'],
72
+ 'updatedAt': json['updatedAt'],
73
+ };
74
+ }
75
+ function ProjectUioToJSON(json) {
76
+ return ProjectUioToJSONTyped(json, false);
77
+ }
78
+ function ProjectUioToJSONTyped(value, ignoreDiscriminator = false) {
79
+ if (value == null) {
80
+ return value;
81
+ }
82
+ return {
83
+ 'id': value['id'],
84
+ 'organizationId': value['organizationId'],
85
+ 'key': value['key'],
86
+ 'name': value['name'],
87
+ 'description': value['description'],
88
+ 'color': value['color'],
89
+ 'dueDate': value['dueDate'],
90
+ 'settings': (0, ProjectSettingsUio_1.ProjectSettingsUioToJSON)(value['settings']),
91
+ 'archivedAt': value['archivedAt'],
92
+ 'createdBy': (0, ActorRefUio_1.ActorRefUioToJSON)(value['createdBy']),
93
+ 'createdAt': value['createdAt'],
94
+ 'updatedAt': value['updatedAt'],
95
+ };
96
+ }
@@ -0,0 +1,33 @@
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 { ProjectMemberUio } from './ProjectMemberUio';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SetProjectMembersRequestUio
17
+ */
18
+ export interface SetProjectMembersRequestUio {
19
+ /**
20
+ *
21
+ * @type {Array<ProjectMemberUio>}
22
+ * @memberof SetProjectMembersRequestUio
23
+ */
24
+ members: Array<ProjectMemberUio>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the SetProjectMembersRequestUio interface.
28
+ */
29
+ export declare function instanceOfSetProjectMembersRequestUio(value: object): value is SetProjectMembersRequestUio;
30
+ export declare function SetProjectMembersRequestUioFromJSON(json: any): SetProjectMembersRequestUio;
31
+ export declare function SetProjectMembersRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): SetProjectMembersRequestUio;
32
+ export declare function SetProjectMembersRequestUioToJSON(json: any): SetProjectMembersRequestUio;
33
+ export declare function SetProjectMembersRequestUioToJSONTyped(value?: SetProjectMembersRequestUio | 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.instanceOfSetProjectMembersRequestUio = instanceOfSetProjectMembersRequestUio;
17
+ exports.SetProjectMembersRequestUioFromJSON = SetProjectMembersRequestUioFromJSON;
18
+ exports.SetProjectMembersRequestUioFromJSONTyped = SetProjectMembersRequestUioFromJSONTyped;
19
+ exports.SetProjectMembersRequestUioToJSON = SetProjectMembersRequestUioToJSON;
20
+ exports.SetProjectMembersRequestUioToJSONTyped = SetProjectMembersRequestUioToJSONTyped;
21
+ const ProjectMemberUio_1 = require("./ProjectMemberUio");
22
+ /**
23
+ * Check if a given object implements the SetProjectMembersRequestUio interface.
24
+ */
25
+ function instanceOfSetProjectMembersRequestUio(value) {
26
+ if (!('members' in value) || value['members'] === undefined)
27
+ return false;
28
+ return true;
29
+ }
30
+ function SetProjectMembersRequestUioFromJSON(json) {
31
+ return SetProjectMembersRequestUioFromJSONTyped(json, false);
32
+ }
33
+ function SetProjectMembersRequestUioFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'members': (json['members'].map(ProjectMemberUio_1.ProjectMemberUioFromJSON)),
39
+ };
40
+ }
41
+ function SetProjectMembersRequestUioToJSON(json) {
42
+ return SetProjectMembersRequestUioToJSONTyped(json, false);
43
+ }
44
+ function SetProjectMembersRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'members': (value['members'].map(ProjectMemberUio_1.ProjectMemberUioToJSON)),
50
+ };
51
+ }
@@ -0,0 +1,40 @@
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 { TicketStartModeUio } from './TicketStartModeUio';
13
+ import type { TicketAssigneeInputUio } from './TicketAssigneeInputUio';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface SetTicketAssigneesRequestUio
18
+ */
19
+ export interface SetTicketAssigneesRequestUio {
20
+ /**
21
+ *
22
+ * @type {Array<TicketAssigneeInputUio>}
23
+ * @memberof SetTicketAssigneesRequestUio
24
+ */
25
+ assignees: Array<TicketAssigneeInputUio>;
26
+ /**
27
+ *
28
+ * @type {TicketStartModeUio}
29
+ * @memberof SetTicketAssigneesRequestUio
30
+ */
31
+ startMode?: TicketStartModeUio;
32
+ }
33
+ /**
34
+ * Check if a given object implements the SetTicketAssigneesRequestUio interface.
35
+ */
36
+ export declare function instanceOfSetTicketAssigneesRequestUio(value: object): value is SetTicketAssigneesRequestUio;
37
+ export declare function SetTicketAssigneesRequestUioFromJSON(json: any): SetTicketAssigneesRequestUio;
38
+ export declare function SetTicketAssigneesRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): SetTicketAssigneesRequestUio;
39
+ export declare function SetTicketAssigneesRequestUioToJSON(json: any): SetTicketAssigneesRequestUio;
40
+ export declare function SetTicketAssigneesRequestUioToJSONTyped(value?: SetTicketAssigneesRequestUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,54 @@
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.instanceOfSetTicketAssigneesRequestUio = instanceOfSetTicketAssigneesRequestUio;
17
+ exports.SetTicketAssigneesRequestUioFromJSON = SetTicketAssigneesRequestUioFromJSON;
18
+ exports.SetTicketAssigneesRequestUioFromJSONTyped = SetTicketAssigneesRequestUioFromJSONTyped;
19
+ exports.SetTicketAssigneesRequestUioToJSON = SetTicketAssigneesRequestUioToJSON;
20
+ exports.SetTicketAssigneesRequestUioToJSONTyped = SetTicketAssigneesRequestUioToJSONTyped;
21
+ const TicketStartModeUio_1 = require("./TicketStartModeUio");
22
+ const TicketAssigneeInputUio_1 = require("./TicketAssigneeInputUio");
23
+ /**
24
+ * Check if a given object implements the SetTicketAssigneesRequestUio interface.
25
+ */
26
+ function instanceOfSetTicketAssigneesRequestUio(value) {
27
+ if (!('assignees' in value) || value['assignees'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function SetTicketAssigneesRequestUioFromJSON(json) {
32
+ return SetTicketAssigneesRequestUioFromJSONTyped(json, false);
33
+ }
34
+ function SetTicketAssigneesRequestUioFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'assignees': (json['assignees'].map(TicketAssigneeInputUio_1.TicketAssigneeInputUioFromJSON)),
40
+ 'startMode': json['startMode'] == null ? undefined : (0, TicketStartModeUio_1.TicketStartModeUioFromJSON)(json['startMode']),
41
+ };
42
+ }
43
+ function SetTicketAssigneesRequestUioToJSON(json) {
44
+ return SetTicketAssigneesRequestUioToJSONTyped(json, false);
45
+ }
46
+ function SetTicketAssigneesRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'assignees': (value['assignees'].map(TicketAssigneeInputUio_1.TicketAssigneeInputUioToJSON)),
52
+ 'startMode': (0, TicketStartModeUio_1.TicketStartModeUioToJSON)(value['startMode']),
53
+ };
54
+ }
@@ -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 TicketAgentExecutionPendingQuestionUio
16
+ */
17
+ export interface TicketAgentExecutionPendingQuestionUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof TicketAgentExecutionPendingQuestionUio
22
+ */
23
+ callId: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof TicketAgentExecutionPendingQuestionUio
28
+ */
29
+ question: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the TicketAgentExecutionPendingQuestionUio interface.
33
+ */
34
+ export declare function instanceOfTicketAgentExecutionPendingQuestionUio(value: object): value is TicketAgentExecutionPendingQuestionUio;
35
+ export declare function TicketAgentExecutionPendingQuestionUioFromJSON(json: any): TicketAgentExecutionPendingQuestionUio;
36
+ export declare function TicketAgentExecutionPendingQuestionUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): TicketAgentExecutionPendingQuestionUio;
37
+ export declare function TicketAgentExecutionPendingQuestionUioToJSON(json: any): TicketAgentExecutionPendingQuestionUio;
38
+ export declare function TicketAgentExecutionPendingQuestionUioToJSONTyped(value?: TicketAgentExecutionPendingQuestionUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,54 @@
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.instanceOfTicketAgentExecutionPendingQuestionUio = instanceOfTicketAgentExecutionPendingQuestionUio;
17
+ exports.TicketAgentExecutionPendingQuestionUioFromJSON = TicketAgentExecutionPendingQuestionUioFromJSON;
18
+ exports.TicketAgentExecutionPendingQuestionUioFromJSONTyped = TicketAgentExecutionPendingQuestionUioFromJSONTyped;
19
+ exports.TicketAgentExecutionPendingQuestionUioToJSON = TicketAgentExecutionPendingQuestionUioToJSON;
20
+ exports.TicketAgentExecutionPendingQuestionUioToJSONTyped = TicketAgentExecutionPendingQuestionUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the TicketAgentExecutionPendingQuestionUio interface.
23
+ */
24
+ function instanceOfTicketAgentExecutionPendingQuestionUio(value) {
25
+ if (!('callId' in value) || value['callId'] === undefined)
26
+ return false;
27
+ if (!('question' in value) || value['question'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function TicketAgentExecutionPendingQuestionUioFromJSON(json) {
32
+ return TicketAgentExecutionPendingQuestionUioFromJSONTyped(json, false);
33
+ }
34
+ function TicketAgentExecutionPendingQuestionUioFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'callId': json['callId'],
40
+ 'question': json['question'],
41
+ };
42
+ }
43
+ function TicketAgentExecutionPendingQuestionUioToJSON(json) {
44
+ return TicketAgentExecutionPendingQuestionUioToJSONTyped(json, false);
45
+ }
46
+ function TicketAgentExecutionPendingQuestionUioToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'callId': value['callId'],
52
+ 'question': value['question'],
53
+ };
54
+ }
@@ -0,0 +1,90 @@
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 { TicketAgentExecutionPendingQuestionUio } from './TicketAgentExecutionPendingQuestionUio';
13
+ import type { TicketAgentPlanUio } from './TicketAgentPlanUio';
14
+ import type { TicketAgentRunStatusUio } from './TicketAgentRunStatusUio';
15
+ import type { ConversationContextUsageUio } from './ConversationContextUsageUio';
16
+ /**
17
+ * Ce que fait un agent assigné sur le ticket, pour le panneau « Exécution en cours ».
18
+ * @export
19
+ * @interface TicketAgentExecutionUio
20
+ */
21
+ export interface TicketAgentExecutionUio {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof TicketAgentExecutionUio
26
+ */
27
+ agentId: string;
28
+ /**
29
+ *
30
+ * @type {TicketAgentRunStatusUio}
31
+ * @memberof TicketAgentExecutionUio
32
+ */
33
+ status: TicketAgentRunStatusUio;
34
+ /**
35
+ * Session de travail de l'agent sur ce ticket ; null tant qu'il n'a pas commencé.
36
+ * @type {string}
37
+ * @memberof TicketAgentExecutionUio
38
+ */
39
+ conversationId: string | null;
40
+ /**
41
+ * Début de l'exécution en cours.
42
+ * @type {string}
43
+ * @memberof TicketAgentExecutionUio
44
+ */
45
+ startedAt: string | null;
46
+ /**
47
+ * Fin de la dernière exécution.
48
+ * @type {string}
49
+ * @memberof TicketAgentExecutionUio
50
+ */
51
+ lastRunAt: string | null;
52
+ /**
53
+ * Heure prévue du prochain réveil, s'il y en a un en attente.
54
+ * @type {string}
55
+ * @memberof TicketAgentExecutionUio
56
+ */
57
+ queuedAt: string | null;
58
+ /**
59
+ *
60
+ * @type {TicketAgentPlanUio}
61
+ * @memberof TicketAgentExecutionUio
62
+ */
63
+ plan: TicketAgentPlanUio | null;
64
+ /**
65
+ *
66
+ * @type {ConversationContextUsageUio}
67
+ * @memberof TicketAgentExecutionUio
68
+ */
69
+ contextUsage?: ConversationContextUsageUio;
70
+ /**
71
+ *
72
+ * @type {TicketAgentExecutionPendingQuestionUio}
73
+ * @memberof TicketAgentExecutionUio
74
+ */
75
+ pendingQuestion: TicketAgentExecutionPendingQuestionUio | null;
76
+ /**
77
+ *
78
+ * @type {string}
79
+ * @memberof TicketAgentExecutionUio
80
+ */
81
+ lastError: string | null;
82
+ }
83
+ /**
84
+ * Check if a given object implements the TicketAgentExecutionUio interface.
85
+ */
86
+ export declare function instanceOfTicketAgentExecutionUio(value: object): value is TicketAgentExecutionUio;
87
+ export declare function TicketAgentExecutionUioFromJSON(json: any): TicketAgentExecutionUio;
88
+ export declare function TicketAgentExecutionUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): TicketAgentExecutionUio;
89
+ export declare function TicketAgentExecutionUioToJSON(json: any): TicketAgentExecutionUio;
90
+ export declare function TicketAgentExecutionUioToJSONTyped(value?: TicketAgentExecutionUio | null, ignoreDiscriminator?: boolean): any;