@breign/client 1.0.165 → 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.
- package/dist/apis/InboxApi.d.ts +61 -0
- package/dist/apis/InboxApi.js +156 -0
- package/dist/apis/ProjectsApi.d.ts +113 -0
- package/dist/apis/ProjectsApi.js +278 -0
- package/dist/apis/TicketsApi.d.ts +288 -0
- package/dist/apis/TicketsApi.js +690 -0
- package/dist/apis/index.d.ts +3 -0
- package/dist/apis/index.js +3 -0
- package/dist/models/AcceptTicketProposalRequestUio.d.ts +72 -0
- package/dist/models/AcceptTicketProposalRequestUio.js +64 -0
- package/dist/models/ActorRefUio.d.ts +39 -0
- package/dist/models/ActorRefUio.js +55 -0
- package/dist/models/ActorTypeUio.d.ts +26 -0
- package/dist/models/ActorTypeUio.js +52 -0
- package/dist/models/AgentTicketActivityUio.d.ts +69 -0
- package/dist/models/AgentTicketActivityUio.js +75 -0
- package/dist/models/AgentTicketCreationUio.d.ts +25 -0
- package/dist/models/AgentTicketCreationUio.js +51 -0
- package/dist/models/ChatMessageUio.d.ts +7 -0
- package/dist/models/ChatMessageUio.js +3 -0
- package/dist/models/ConversationTicketProposalUio.d.ts +71 -0
- package/dist/models/ConversationTicketProposalUio.js +77 -0
- package/dist/models/CreateProjectRequestUio.d.ts +70 -0
- package/dist/models/CreateProjectRequestUio.js +66 -0
- package/dist/models/CreateTicketArtifactRequestUio.d.ts +44 -0
- package/dist/models/CreateTicketArtifactRequestUio.js +56 -0
- package/dist/models/CreateTicketArtifactResponseUio.d.ts +40 -0
- package/dist/models/CreateTicketArtifactResponseUio.js +56 -0
- package/dist/models/CreateTicketEventRequestUio.d.ts +38 -0
- package/dist/models/CreateTicketEventRequestUio.js +52 -0
- package/dist/models/CreateTicketRequestUio.d.ts +85 -0
- package/dist/models/CreateTicketRequestUio.js +71 -0
- package/dist/models/InboxCountUio.d.ts +38 -0
- package/dist/models/InboxCountUio.js +54 -0
- package/dist/models/InboxItemKindUio.d.ts +28 -0
- package/dist/models/InboxItemKindUio.js +54 -0
- package/dist/models/InboxItemProjectUio.d.ts +44 -0
- package/dist/models/InboxItemProjectUio.js +58 -0
- package/dist/models/InboxItemStatusUio.d.ts +25 -0
- package/dist/models/InboxItemStatusUio.js +51 -0
- package/dist/models/InboxItemTicketUio.d.ts +44 -0
- package/dist/models/InboxItemTicketUio.js +58 -0
- package/dist/models/InboxItemUio.d.ts +107 -0
- package/dist/models/InboxItemUio.js +99 -0
- package/dist/models/InboxTabUio.d.ts +26 -0
- package/dist/models/InboxTabUio.js +52 -0
- package/dist/models/MemberRefUio.d.ts +39 -0
- package/dist/models/MemberRefUio.js +55 -0
- package/dist/models/MemberTypeUio.d.ts +25 -0
- package/dist/models/MemberTypeUio.js +51 -0
- package/dist/models/ProjectActivityUio.d.ts +51 -0
- package/dist/models/ProjectActivityUio.js +63 -0
- package/dist/models/ProjectAttentionUio.d.ts +50 -0
- package/dist/models/ProjectAttentionUio.js +62 -0
- package/dist/models/ProjectCountsUio.d.ts +68 -0
- package/dist/models/ProjectCountsUio.js +74 -0
- package/dist/models/ProjectMemberRoleUio.d.ts +25 -0
- package/dist/models/ProjectMemberRoleUio.js +51 -0
- package/dist/models/ProjectMemberUio.d.ts +53 -0
- package/dist/models/ProjectMemberUio.js +63 -0
- package/dist/models/ProjectOverviewUio.d.ts +68 -0
- package/dist/models/ProjectOverviewUio.js +76 -0
- package/dist/models/ProjectSettingsUio.d.ts +40 -0
- package/dist/models/ProjectSettingsUio.js +56 -0
- package/dist/models/ProjectSummaryUio.d.ts +128 -0
- package/dist/models/ProjectSummaryUio.js +116 -0
- package/dist/models/ProjectUio.d.ts +100 -0
- package/dist/models/ProjectUio.js +96 -0
- package/dist/models/SetProjectMembersRequestUio.d.ts +33 -0
- package/dist/models/SetProjectMembersRequestUio.js +51 -0
- package/dist/models/SetTicketAssigneesRequestUio.d.ts +40 -0
- package/dist/models/SetTicketAssigneesRequestUio.js +54 -0
- package/dist/models/TicketArtifactDownloadUrlUio.d.ts +32 -0
- package/dist/models/TicketArtifactDownloadUrlUio.js +50 -0
- package/dist/models/TicketArtifactSourceUio.d.ts +25 -0
- package/dist/models/TicketArtifactSourceUio.js +51 -0
- package/dist/models/TicketArtifactStatusUio.d.ts +25 -0
- package/dist/models/TicketArtifactStatusUio.js +51 -0
- package/dist/models/TicketArtifactUio.d.ts +83 -0
- package/dist/models/TicketArtifactUio.js +85 -0
- package/dist/models/TicketAssigneeInputUio.d.ts +39 -0
- package/dist/models/TicketAssigneeInputUio.js +55 -0
- package/dist/models/TicketAssigneeStateUio.d.ts +29 -0
- package/dist/models/TicketAssigneeStateUio.js +55 -0
- package/dist/models/TicketAssigneeUio.d.ts +58 -0
- package/dist/models/TicketAssigneeUio.js +68 -0
- package/dist/models/TicketBoardColumnUio.d.ts +46 -0
- package/dist/models/TicketBoardColumnUio.js +60 -0
- package/dist/models/TicketBoardUio.d.ts +33 -0
- package/dist/models/TicketBoardUio.js +51 -0
- package/dist/models/TicketEventKindUio.d.ts +27 -0
- package/dist/models/TicketEventKindUio.js +53 -0
- package/dist/models/TicketEventUio.d.ts +78 -0
- package/dist/models/TicketEventUio.js +80 -0
- package/dist/models/TicketPriorityUio.d.ts +26 -0
- package/dist/models/TicketPriorityUio.js +52 -0
- package/dist/models/TicketProposalPayloadUio.d.ts +72 -0
- package/dist/models/TicketProposalPayloadUio.js +78 -0
- package/dist/models/TicketProposalStatusUio.d.ts +27 -0
- package/dist/models/TicketProposalStatusUio.js +53 -0
- package/dist/models/TicketReviewDecisionUio.d.ts +25 -0
- package/dist/models/TicketReviewDecisionUio.js +51 -0
- package/dist/models/TicketReviewRequestUio.d.ts +39 -0
- package/dist/models/TicketReviewRequestUio.js +53 -0
- package/dist/models/TicketStartModeUio.d.ts +25 -0
- package/dist/models/TicketStartModeUio.js +51 -0
- package/dist/models/TicketStatusUio.d.ts +28 -0
- package/dist/models/TicketStatusUio.js +54 -0
- package/dist/models/TicketUio.d.ts +163 -0
- package/dist/models/TicketUio.js +139 -0
- package/dist/models/UpdateProjectRequestUio.d.ts +63 -0
- package/dist/models/UpdateProjectRequestUio.js +59 -0
- package/dist/models/UpdateTicketRequestUio.d.ts +77 -0
- package/dist/models/UpdateTicketRequestUio.js +65 -0
- package/dist/models/index.d.ts +52 -0
- package/dist/models/index.js +52 -0
- package/dist/openapi.json +5020 -2364
- package/package.json +1 -1
|
@@ -0,0 +1,71 @@
|
|
|
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.instanceOfCreateTicketRequestUio = instanceOfCreateTicketRequestUio;
|
|
17
|
+
exports.CreateTicketRequestUioFromJSON = CreateTicketRequestUioFromJSON;
|
|
18
|
+
exports.CreateTicketRequestUioFromJSONTyped = CreateTicketRequestUioFromJSONTyped;
|
|
19
|
+
exports.CreateTicketRequestUioToJSON = CreateTicketRequestUioToJSON;
|
|
20
|
+
exports.CreateTicketRequestUioToJSONTyped = CreateTicketRequestUioToJSONTyped;
|
|
21
|
+
const TicketStartModeUio_1 = require("./TicketStartModeUio");
|
|
22
|
+
const TicketPriorityUio_1 = require("./TicketPriorityUio");
|
|
23
|
+
const TicketAssigneeInputUio_1 = require("./TicketAssigneeInputUio");
|
|
24
|
+
const MemberRefUio_1 = require("./MemberRefUio");
|
|
25
|
+
const TicketStatusUio_1 = require("./TicketStatusUio");
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the CreateTicketRequestUio interface.
|
|
28
|
+
*/
|
|
29
|
+
function instanceOfCreateTicketRequestUio(value) {
|
|
30
|
+
if (!('title' in value) || value['title'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function CreateTicketRequestUioFromJSON(json) {
|
|
35
|
+
return CreateTicketRequestUioFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function CreateTicketRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'title': json['title'],
|
|
43
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
44
|
+
'status': json['status'] == null ? undefined : (0, TicketStatusUio_1.TicketStatusUioFromJSON)(json['status']),
|
|
45
|
+
'priority': json['priority'] == null ? undefined : (0, TicketPriorityUio_1.TicketPriorityUioFromJSON)(json['priority']),
|
|
46
|
+
'labels': json['labels'] == null ? undefined : json['labels'],
|
|
47
|
+
'dueDate': json['dueDate'] == null ? undefined : json['dueDate'],
|
|
48
|
+
'assignees': json['assignees'] == null ? undefined : (json['assignees'].map(TicketAssigneeInputUio_1.TicketAssigneeInputUioFromJSON)),
|
|
49
|
+
'reviewer': json['reviewer'] == null ? undefined : (0, MemberRefUio_1.MemberRefUioFromJSON)(json['reviewer']),
|
|
50
|
+
'startMode': json['startMode'] == null ? undefined : (0, TicketStartModeUio_1.TicketStartModeUioFromJSON)(json['startMode']),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
function CreateTicketRequestUioToJSON(json) {
|
|
54
|
+
return CreateTicketRequestUioToJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
function CreateTicketRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'title': value['title'],
|
|
62
|
+
'description': value['description'],
|
|
63
|
+
'status': (0, TicketStatusUio_1.TicketStatusUioToJSON)(value['status']),
|
|
64
|
+
'priority': (0, TicketPriorityUio_1.TicketPriorityUioToJSON)(value['priority']),
|
|
65
|
+
'labels': value['labels'],
|
|
66
|
+
'dueDate': value['dueDate'],
|
|
67
|
+
'assignees': value['assignees'] == null ? undefined : (value['assignees'].map(TicketAssigneeInputUio_1.TicketAssigneeInputUioToJSON)),
|
|
68
|
+
'reviewer': (0, MemberRefUio_1.MemberRefUioToJSON)(value['reviewer']),
|
|
69
|
+
'startMode': (0, TicketStartModeUio_1.TicketStartModeUioToJSON)(value['startMode']),
|
|
70
|
+
};
|
|
71
|
+
}
|
|
@@ -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 InboxCountUio
|
|
16
|
+
*/
|
|
17
|
+
export interface InboxCountUio {
|
|
18
|
+
/**
|
|
19
|
+
* Actions en attente (questions, propositions, relectures, feux verts)
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof InboxCountUio
|
|
22
|
+
*/
|
|
23
|
+
todo: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof InboxCountUio
|
|
28
|
+
*/
|
|
29
|
+
mentions: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the InboxCountUio interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfInboxCountUio(value: object): value is InboxCountUio;
|
|
35
|
+
export declare function InboxCountUioFromJSON(json: any): InboxCountUio;
|
|
36
|
+
export declare function InboxCountUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): InboxCountUio;
|
|
37
|
+
export declare function InboxCountUioToJSON(json: any): InboxCountUio;
|
|
38
|
+
export declare function InboxCountUioToJSONTyped(value?: InboxCountUio | 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.instanceOfInboxCountUio = instanceOfInboxCountUio;
|
|
17
|
+
exports.InboxCountUioFromJSON = InboxCountUioFromJSON;
|
|
18
|
+
exports.InboxCountUioFromJSONTyped = InboxCountUioFromJSONTyped;
|
|
19
|
+
exports.InboxCountUioToJSON = InboxCountUioToJSON;
|
|
20
|
+
exports.InboxCountUioToJSONTyped = InboxCountUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the InboxCountUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfInboxCountUio(value) {
|
|
25
|
+
if (!('todo' in value) || value['todo'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('mentions' in value) || value['mentions'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function InboxCountUioFromJSON(json) {
|
|
32
|
+
return InboxCountUioFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function InboxCountUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'todo': json['todo'],
|
|
40
|
+
'mentions': json['mentions'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function InboxCountUioToJSON(json) {
|
|
44
|
+
return InboxCountUioToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function InboxCountUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'todo': value['todo'],
|
|
52
|
+
'mentions': value['mentions'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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
|
+
* question, ticket_proposal, review et go_ahead sont des actions (onglet « À traiter ») ; mention a son propre onglet.
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const InboxItemKindUio: {
|
|
17
|
+
readonly Question: "question";
|
|
18
|
+
readonly TicketProposal: "ticket_proposal";
|
|
19
|
+
readonly Review: "review";
|
|
20
|
+
readonly GoAhead: "go_ahead";
|
|
21
|
+
readonly Mention: "mention";
|
|
22
|
+
};
|
|
23
|
+
export type InboxItemKindUio = typeof InboxItemKindUio[keyof typeof InboxItemKindUio];
|
|
24
|
+
export declare function instanceOfInboxItemKindUio(value: any): boolean;
|
|
25
|
+
export declare function InboxItemKindUioFromJSON(json: any): InboxItemKindUio;
|
|
26
|
+
export declare function InboxItemKindUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): InboxItemKindUio;
|
|
27
|
+
export declare function InboxItemKindUioToJSON(value?: InboxItemKindUio | null): any;
|
|
28
|
+
export declare function InboxItemKindUioToJSONTyped(value: any, ignoreDiscriminator: boolean): InboxItemKindUio;
|
|
@@ -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.InboxItemKindUio = void 0;
|
|
17
|
+
exports.instanceOfInboxItemKindUio = instanceOfInboxItemKindUio;
|
|
18
|
+
exports.InboxItemKindUioFromJSON = InboxItemKindUioFromJSON;
|
|
19
|
+
exports.InboxItemKindUioFromJSONTyped = InboxItemKindUioFromJSONTyped;
|
|
20
|
+
exports.InboxItemKindUioToJSON = InboxItemKindUioToJSON;
|
|
21
|
+
exports.InboxItemKindUioToJSONTyped = InboxItemKindUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* question, ticket_proposal, review et go_ahead sont des actions (onglet « À traiter ») ; mention a son propre onglet.
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.InboxItemKindUio = {
|
|
27
|
+
Question: 'question',
|
|
28
|
+
TicketProposal: 'ticket_proposal',
|
|
29
|
+
Review: 'review',
|
|
30
|
+
GoAhead: 'go_ahead',
|
|
31
|
+
Mention: 'mention'
|
|
32
|
+
};
|
|
33
|
+
function instanceOfInboxItemKindUio(value) {
|
|
34
|
+
for (const key in exports.InboxItemKindUio) {
|
|
35
|
+
if (Object.prototype.hasOwnProperty.call(exports.InboxItemKindUio, key)) {
|
|
36
|
+
if (exports.InboxItemKindUio[key] === value) {
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
return false;
|
|
42
|
+
}
|
|
43
|
+
function InboxItemKindUioFromJSON(json) {
|
|
44
|
+
return InboxItemKindUioFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function InboxItemKindUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
function InboxItemKindUioToJSON(value) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
function InboxItemKindUioToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
@@ -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 InboxItemProjectUio
|
|
16
|
+
*/
|
|
17
|
+
export interface InboxItemProjectUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof InboxItemProjectUio
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof InboxItemProjectUio
|
|
28
|
+
*/
|
|
29
|
+
key: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof InboxItemProjectUio
|
|
34
|
+
*/
|
|
35
|
+
name: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the InboxItemProjectUio interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfInboxItemProjectUio(value: object): value is InboxItemProjectUio;
|
|
41
|
+
export declare function InboxItemProjectUioFromJSON(json: any): InboxItemProjectUio;
|
|
42
|
+
export declare function InboxItemProjectUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): InboxItemProjectUio;
|
|
43
|
+
export declare function InboxItemProjectUioToJSON(json: any): InboxItemProjectUio;
|
|
44
|
+
export declare function InboxItemProjectUioToJSONTyped(value?: InboxItemProjectUio | 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.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;
|