@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.
- package/dist/apis/InboxApi.d.ts +61 -0
- package/dist/apis/InboxApi.js +156 -0
- package/dist/apis/KnowledgeApi.d.ts +43 -1
- package/dist/apis/KnowledgeApi.js +104 -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/AddKnowledgeSiteExclusionRequestUio.d.ts +32 -0
- package/dist/models/AddKnowledgeSiteExclusionRequestUio.js +50 -0
- package/dist/models/AddKnowledgeSiteExclusionResponseUio.d.ts +44 -0
- package/dist/models/AddKnowledgeSiteExclusionResponseUio.js +58 -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/FileCreationResponseUio.d.ts +7 -0
- package/dist/models/FileCreationResponseUio.js +2 -0
- package/dist/models/FileUio.d.ts +7 -0
- package/dist/models/FileUio.js +2 -0
- package/dist/models/FileWithDownloadUrlUio.d.ts +7 -0
- package/dist/models/FileWithDownloadUrlUio.js +2 -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/KnowledgeFileUio.d.ts +7 -0
- package/dist/models/KnowledgeFileUio.js +2 -0
- package/dist/models/KnowledgeSiteExclusionsUio.d.ts +32 -0
- package/dist/models/KnowledgeSiteExclusionsUio.js +50 -0
- package/dist/models/KnowledgeSitePagesRemovalUio.d.ts +38 -0
- package/dist/models/KnowledgeSitePagesRemovalUio.js +54 -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/StartKnowledgeBaseScrappingRequestUio.d.ts +1 -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 +56 -0
- package/dist/models/index.js +56 -0
- package/dist/openapi.json +4942 -2075
- package/package.json +1 -1
|
@@ -0,0 +1,56 @@
|
|
|
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.instanceOfCreateTicketArtifactResponseUio = instanceOfCreateTicketArtifactResponseUio;
|
|
17
|
+
exports.CreateTicketArtifactResponseUioFromJSON = CreateTicketArtifactResponseUioFromJSON;
|
|
18
|
+
exports.CreateTicketArtifactResponseUioFromJSONTyped = CreateTicketArtifactResponseUioFromJSONTyped;
|
|
19
|
+
exports.CreateTicketArtifactResponseUioToJSON = CreateTicketArtifactResponseUioToJSON;
|
|
20
|
+
exports.CreateTicketArtifactResponseUioToJSONTyped = CreateTicketArtifactResponseUioToJSONTyped;
|
|
21
|
+
const TicketArtifactUio_1 = require("./TicketArtifactUio");
|
|
22
|
+
const S3UploadBodyUio_1 = require("./S3UploadBodyUio");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the CreateTicketArtifactResponseUio interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfCreateTicketArtifactResponseUio(value) {
|
|
27
|
+
if (!('artifact' in value) || value['artifact'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('upload' in value) || value['upload'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function CreateTicketArtifactResponseUioFromJSON(json) {
|
|
34
|
+
return CreateTicketArtifactResponseUioFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function CreateTicketArtifactResponseUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'artifact': (0, TicketArtifactUio_1.TicketArtifactUioFromJSON)(json['artifact']),
|
|
42
|
+
'upload': (0, S3UploadBodyUio_1.S3UploadBodyUioFromJSON)(json['upload']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function CreateTicketArtifactResponseUioToJSON(json) {
|
|
46
|
+
return CreateTicketArtifactResponseUioToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function CreateTicketArtifactResponseUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'artifact': (0, TicketArtifactUio_1.TicketArtifactUioToJSON)(value['artifact']),
|
|
54
|
+
'upload': (0, S3UploadBodyUio_1.S3UploadBodyUioToJSON)(value['upload']),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -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
|
+
* Un commentaire humain ; les @mentions sont détectées dans le texte.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CreateTicketEventRequestUio
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateTicketEventRequestUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateTicketEventRequestUio
|
|
22
|
+
*/
|
|
23
|
+
body: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof CreateTicketEventRequestUio
|
|
28
|
+
*/
|
|
29
|
+
artifactIds?: Array<string>;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the CreateTicketEventRequestUio interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfCreateTicketEventRequestUio(value: object): value is CreateTicketEventRequestUio;
|
|
35
|
+
export declare function CreateTicketEventRequestUioFromJSON(json: any): CreateTicketEventRequestUio;
|
|
36
|
+
export declare function CreateTicketEventRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateTicketEventRequestUio;
|
|
37
|
+
export declare function CreateTicketEventRequestUioToJSON(json: any): CreateTicketEventRequestUio;
|
|
38
|
+
export declare function CreateTicketEventRequestUioToJSONTyped(value?: CreateTicketEventRequestUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -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.instanceOfCreateTicketEventRequestUio = instanceOfCreateTicketEventRequestUio;
|
|
17
|
+
exports.CreateTicketEventRequestUioFromJSON = CreateTicketEventRequestUioFromJSON;
|
|
18
|
+
exports.CreateTicketEventRequestUioFromJSONTyped = CreateTicketEventRequestUioFromJSONTyped;
|
|
19
|
+
exports.CreateTicketEventRequestUioToJSON = CreateTicketEventRequestUioToJSON;
|
|
20
|
+
exports.CreateTicketEventRequestUioToJSONTyped = CreateTicketEventRequestUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CreateTicketEventRequestUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfCreateTicketEventRequestUio(value) {
|
|
25
|
+
if (!('body' in value) || value['body'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function CreateTicketEventRequestUioFromJSON(json) {
|
|
30
|
+
return CreateTicketEventRequestUioFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function CreateTicketEventRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'body': json['body'],
|
|
38
|
+
'artifactIds': json['artifactIds'] == null ? undefined : json['artifactIds'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function CreateTicketEventRequestUioToJSON(json) {
|
|
42
|
+
return CreateTicketEventRequestUioToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function CreateTicketEventRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'body': value['body'],
|
|
50
|
+
'artifactIds': value['artifactIds'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
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 { TicketPriorityUio } from './TicketPriorityUio';
|
|
14
|
+
import type { TicketAssigneeInputUio } from './TicketAssigneeInputUio';
|
|
15
|
+
import type { MemberRefUio } from './MemberRefUio';
|
|
16
|
+
import type { TicketStatusUio } from './TicketStatusUio';
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface CreateTicketRequestUio
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateTicketRequestUio {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreateTicketRequestUio
|
|
27
|
+
*/
|
|
28
|
+
title: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreateTicketRequestUio
|
|
33
|
+
*/
|
|
34
|
+
description?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {TicketStatusUio}
|
|
38
|
+
* @memberof CreateTicketRequestUio
|
|
39
|
+
*/
|
|
40
|
+
status?: TicketStatusUio;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {TicketPriorityUio}
|
|
44
|
+
* @memberof CreateTicketRequestUio
|
|
45
|
+
*/
|
|
46
|
+
priority?: TicketPriorityUio;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {Array<string>}
|
|
50
|
+
* @memberof CreateTicketRequestUio
|
|
51
|
+
*/
|
|
52
|
+
labels?: Array<string>;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof CreateTicketRequestUio
|
|
57
|
+
*/
|
|
58
|
+
dueDate?: string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {Array<TicketAssigneeInputUio>}
|
|
62
|
+
* @memberof CreateTicketRequestUio
|
|
63
|
+
*/
|
|
64
|
+
assignees?: Array<TicketAssigneeInputUio>;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {MemberRefUio}
|
|
68
|
+
* @memberof CreateTicketRequestUio
|
|
69
|
+
*/
|
|
70
|
+
reviewer?: MemberRefUio | null;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {TicketStartModeUio}
|
|
74
|
+
* @memberof CreateTicketRequestUio
|
|
75
|
+
*/
|
|
76
|
+
startMode?: TicketStartModeUio;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Check if a given object implements the CreateTicketRequestUio interface.
|
|
80
|
+
*/
|
|
81
|
+
export declare function instanceOfCreateTicketRequestUio(value: object): value is CreateTicketRequestUio;
|
|
82
|
+
export declare function CreateTicketRequestUioFromJSON(json: any): CreateTicketRequestUio;
|
|
83
|
+
export declare function CreateTicketRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateTicketRequestUio;
|
|
84
|
+
export declare function CreateTicketRequestUioToJSON(json: any): CreateTicketRequestUio;
|
|
85
|
+
export declare function CreateTicketRequestUioToJSONTyped(value?: CreateTicketRequestUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -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
|
+
}
|
|
@@ -133,6 +133,13 @@ export interface FileCreationResponseUio {
|
|
|
133
133
|
* @memberof FileCreationResponseUio
|
|
134
134
|
*/
|
|
135
135
|
isActive?: boolean;
|
|
136
|
+
/**
|
|
137
|
+
* Websites only. URLs never scraped, each one along with everything below it, applied on every resync.
|
|
138
|
+
*
|
|
139
|
+
* @type {Array<string>}
|
|
140
|
+
* @memberof FileCreationResponseUio
|
|
141
|
+
*/
|
|
142
|
+
scrapingExclusions?: Array<string>;
|
|
136
143
|
/**
|
|
137
144
|
*
|
|
138
145
|
* @type {UploadMethodUio}
|
|
@@ -72,6 +72,7 @@ function FileCreationResponseUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
72
72
|
'status': json['status'] == null ? undefined : (0, FileStatusUio_1.FileStatusUioFromJSON)(json['status']),
|
|
73
73
|
'error': json['error'] == null ? undefined : json['error'],
|
|
74
74
|
'isActive': json['isActive'] == null ? undefined : json['isActive'],
|
|
75
|
+
'scrapingExclusions': json['scrapingExclusions'] == null ? undefined : json['scrapingExclusions'],
|
|
75
76
|
'method': (0, UploadMethodUio_1.UploadMethodUioFromJSON)(json['method']),
|
|
76
77
|
'headers': json['headers'],
|
|
77
78
|
};
|
|
@@ -103,6 +104,7 @@ function FileCreationResponseUioToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
103
104
|
'status': (0, FileStatusUio_1.FileStatusUioToJSON)(value['status']),
|
|
104
105
|
'error': value['error'],
|
|
105
106
|
'isActive': value['isActive'],
|
|
107
|
+
'scrapingExclusions': value['scrapingExclusions'],
|
|
106
108
|
'method': (0, UploadMethodUio_1.UploadMethodUioToJSON)(value['method']),
|
|
107
109
|
'headers': value['headers'],
|
|
108
110
|
};
|
package/dist/models/FileUio.d.ts
CHANGED
|
@@ -132,6 +132,13 @@ export interface FileUio {
|
|
|
132
132
|
* @memberof FileUio
|
|
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 FileUio
|
|
140
|
+
*/
|
|
141
|
+
scrapingExclusions?: Array<string>;
|
|
135
142
|
}
|
|
136
143
|
/**
|
|
137
144
|
* @export
|
package/dist/models/FileUio.js
CHANGED
|
@@ -63,6 +63,7 @@ function FileUioFromJSONTyped(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 FileUioToJSON(json) {
|
|
@@ -92,5 +93,6 @@ function FileUioToJSONTyped(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
|
}
|
|
@@ -132,6 +132,13 @@ export interface FileWithDownloadUrlUio {
|
|
|
132
132
|
* @memberof FileWithDownloadUrlUio
|
|
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 FileWithDownloadUrlUio
|
|
140
|
+
*/
|
|
141
|
+
scrapingExclusions?: Array<string>;
|
|
135
142
|
/**
|
|
136
143
|
* Temporary URL to download the file
|
|
137
144
|
* @type {string}
|
|
@@ -65,6 +65,7 @@ function FileWithDownloadUrlUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
65
65
|
'status': json['status'] == null ? undefined : (0, FileStatusUio_1.FileStatusUioFromJSON)(json['status']),
|
|
66
66
|
'error': json['error'] == null ? undefined : json['error'],
|
|
67
67
|
'isActive': json['isActive'] == null ? undefined : json['isActive'],
|
|
68
|
+
'scrapingExclusions': json['scrapingExclusions'] == null ? undefined : json['scrapingExclusions'],
|
|
68
69
|
'downloadURL': json['downloadURL'],
|
|
69
70
|
};
|
|
70
71
|
}
|
|
@@ -95,6 +96,7 @@ function FileWithDownloadUrlUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
95
96
|
'status': (0, FileStatusUio_1.FileStatusUioToJSON)(value['status']),
|
|
96
97
|
'error': value['error'],
|
|
97
98
|
'isActive': value['isActive'],
|
|
99
|
+
'scrapingExclusions': value['scrapingExclusions'],
|
|
98
100
|
'downloadURL': value['downloadURL'],
|
|
99
101
|
};
|
|
100
102
|
}
|
|
@@ -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;
|