@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,39 @@
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 { MemberTypeUio } from './MemberTypeUio';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface TicketAssigneeInputUio
17
+ */
18
+ export interface TicketAssigneeInputUio {
19
+ /**
20
+ *
21
+ * @type {MemberTypeUio}
22
+ * @memberof TicketAssigneeInputUio
23
+ */
24
+ type: MemberTypeUio;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof TicketAssigneeInputUio
29
+ */
30
+ id: string;
31
+ }
32
+ /**
33
+ * Check if a given object implements the TicketAssigneeInputUio interface.
34
+ */
35
+ export declare function instanceOfTicketAssigneeInputUio(value: object): value is TicketAssigneeInputUio;
36
+ export declare function TicketAssigneeInputUioFromJSON(json: any): TicketAssigneeInputUio;
37
+ export declare function TicketAssigneeInputUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): TicketAssigneeInputUio;
38
+ export declare function TicketAssigneeInputUioToJSON(json: any): TicketAssigneeInputUio;
39
+ export declare function TicketAssigneeInputUioToJSONTyped(value?: TicketAssigneeInputUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,55 @@
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.instanceOfTicketAssigneeInputUio = instanceOfTicketAssigneeInputUio;
17
+ exports.TicketAssigneeInputUioFromJSON = TicketAssigneeInputUioFromJSON;
18
+ exports.TicketAssigneeInputUioFromJSONTyped = TicketAssigneeInputUioFromJSONTyped;
19
+ exports.TicketAssigneeInputUioToJSON = TicketAssigneeInputUioToJSON;
20
+ exports.TicketAssigneeInputUioToJSONTyped = TicketAssigneeInputUioToJSONTyped;
21
+ const MemberTypeUio_1 = require("./MemberTypeUio");
22
+ /**
23
+ * Check if a given object implements the TicketAssigneeInputUio interface.
24
+ */
25
+ function instanceOfTicketAssigneeInputUio(value) {
26
+ if (!('type' in value) || value['type'] === undefined)
27
+ return false;
28
+ if (!('id' in value) || value['id'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ function TicketAssigneeInputUioFromJSON(json) {
33
+ return TicketAssigneeInputUioFromJSONTyped(json, false);
34
+ }
35
+ function TicketAssigneeInputUioFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'type': (0, MemberTypeUio_1.MemberTypeUioFromJSON)(json['type']),
41
+ 'id': json['id'],
42
+ };
43
+ }
44
+ function TicketAssigneeInputUioToJSON(json) {
45
+ return TicketAssigneeInputUioToJSONTyped(json, false);
46
+ }
47
+ function TicketAssigneeInputUioToJSONTyped(value, ignoreDiscriminator = false) {
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'type': (0, MemberTypeUio_1.MemberTypeUioToJSON)(value['type']),
53
+ 'id': value['id'],
54
+ };
55
+ }
@@ -0,0 +1,29 @@
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
+ * Où en est un assigné sur ce ticket : assigned (pas commencé), held (attend le feu vert), working, waiting (attend une réponse humaine), blocked, done.
14
+ * @export
15
+ */
16
+ export declare const TicketAssigneeStateUio: {
17
+ readonly Assigned: "assigned";
18
+ readonly Held: "held";
19
+ readonly Working: "working";
20
+ readonly Waiting: "waiting";
21
+ readonly Blocked: "blocked";
22
+ readonly Done: "done";
23
+ };
24
+ export type TicketAssigneeStateUio = typeof TicketAssigneeStateUio[keyof typeof TicketAssigneeStateUio];
25
+ export declare function instanceOfTicketAssigneeStateUio(value: any): boolean;
26
+ export declare function TicketAssigneeStateUioFromJSON(json: any): TicketAssigneeStateUio;
27
+ export declare function TicketAssigneeStateUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): TicketAssigneeStateUio;
28
+ export declare function TicketAssigneeStateUioToJSON(value?: TicketAssigneeStateUio | null): any;
29
+ export declare function TicketAssigneeStateUioToJSONTyped(value: any, ignoreDiscriminator: boolean): TicketAssigneeStateUio;
@@ -0,0 +1,55 @@
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.TicketAssigneeStateUio = void 0;
17
+ exports.instanceOfTicketAssigneeStateUio = instanceOfTicketAssigneeStateUio;
18
+ exports.TicketAssigneeStateUioFromJSON = TicketAssigneeStateUioFromJSON;
19
+ exports.TicketAssigneeStateUioFromJSONTyped = TicketAssigneeStateUioFromJSONTyped;
20
+ exports.TicketAssigneeStateUioToJSON = TicketAssigneeStateUioToJSON;
21
+ exports.TicketAssigneeStateUioToJSONTyped = TicketAssigneeStateUioToJSONTyped;
22
+ /**
23
+ * Où en est un assigné sur ce ticket : assigned (pas commencé), held (attend le feu vert), working, waiting (attend une réponse humaine), blocked, done.
24
+ * @export
25
+ */
26
+ exports.TicketAssigneeStateUio = {
27
+ Assigned: 'assigned',
28
+ Held: 'held',
29
+ Working: 'working',
30
+ Waiting: 'waiting',
31
+ Blocked: 'blocked',
32
+ Done: 'done'
33
+ };
34
+ function instanceOfTicketAssigneeStateUio(value) {
35
+ for (const key in exports.TicketAssigneeStateUio) {
36
+ if (Object.prototype.hasOwnProperty.call(exports.TicketAssigneeStateUio, key)) {
37
+ if (exports.TicketAssigneeStateUio[key] === value) {
38
+ return true;
39
+ }
40
+ }
41
+ }
42
+ return false;
43
+ }
44
+ function TicketAssigneeStateUioFromJSON(json) {
45
+ return TicketAssigneeStateUioFromJSONTyped(json, false);
46
+ }
47
+ function TicketAssigneeStateUioFromJSONTyped(json, ignoreDiscriminator) {
48
+ return json;
49
+ }
50
+ function TicketAssigneeStateUioToJSON(value) {
51
+ return value;
52
+ }
53
+ function TicketAssigneeStateUioToJSONTyped(value, ignoreDiscriminator) {
54
+ return value;
55
+ }
@@ -0,0 +1,58 @@
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 { MemberTypeUio } from './MemberTypeUio';
13
+ import type { TicketAssigneeStateUio } from './TicketAssigneeStateUio';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface TicketAssigneeUio
18
+ */
19
+ export interface TicketAssigneeUio {
20
+ /**
21
+ *
22
+ * @type {MemberTypeUio}
23
+ * @memberof TicketAssigneeUio
24
+ */
25
+ type: MemberTypeUio;
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof TicketAssigneeUio
30
+ */
31
+ id: string;
32
+ /**
33
+ *
34
+ * @type {TicketAssigneeStateUio}
35
+ * @memberof TicketAssigneeUio
36
+ */
37
+ state: TicketAssigneeStateUio;
38
+ /**
39
+ * Précision libre sur l'état (« attend l'accès au registre »…)
40
+ * @type {string}
41
+ * @memberof TicketAssigneeUio
42
+ */
43
+ stateNote: string | null;
44
+ /**
45
+ *
46
+ * @type {string}
47
+ * @memberof TicketAssigneeUio
48
+ */
49
+ updatedAt: string;
50
+ }
51
+ /**
52
+ * Check if a given object implements the TicketAssigneeUio interface.
53
+ */
54
+ export declare function instanceOfTicketAssigneeUio(value: object): value is TicketAssigneeUio;
55
+ export declare function TicketAssigneeUioFromJSON(json: any): TicketAssigneeUio;
56
+ export declare function TicketAssigneeUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): TicketAssigneeUio;
57
+ export declare function TicketAssigneeUioToJSON(json: any): TicketAssigneeUio;
58
+ export declare function TicketAssigneeUioToJSONTyped(value?: TicketAssigneeUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,68 @@
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.instanceOfTicketAssigneeUio = instanceOfTicketAssigneeUio;
17
+ exports.TicketAssigneeUioFromJSON = TicketAssigneeUioFromJSON;
18
+ exports.TicketAssigneeUioFromJSONTyped = TicketAssigneeUioFromJSONTyped;
19
+ exports.TicketAssigneeUioToJSON = TicketAssigneeUioToJSON;
20
+ exports.TicketAssigneeUioToJSONTyped = TicketAssigneeUioToJSONTyped;
21
+ const MemberTypeUio_1 = require("./MemberTypeUio");
22
+ const TicketAssigneeStateUio_1 = require("./TicketAssigneeStateUio");
23
+ /**
24
+ * Check if a given object implements the TicketAssigneeUio interface.
25
+ */
26
+ function instanceOfTicketAssigneeUio(value) {
27
+ if (!('type' in value) || value['type'] === undefined)
28
+ return false;
29
+ if (!('id' in value) || value['id'] === undefined)
30
+ return false;
31
+ if (!('state' in value) || value['state'] === undefined)
32
+ return false;
33
+ if (!('stateNote' in value) || value['stateNote'] === undefined)
34
+ return false;
35
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined)
36
+ return false;
37
+ return true;
38
+ }
39
+ function TicketAssigneeUioFromJSON(json) {
40
+ return TicketAssigneeUioFromJSONTyped(json, false);
41
+ }
42
+ function TicketAssigneeUioFromJSONTyped(json, ignoreDiscriminator) {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+ 'type': (0, MemberTypeUio_1.MemberTypeUioFromJSON)(json['type']),
48
+ 'id': json['id'],
49
+ 'state': (0, TicketAssigneeStateUio_1.TicketAssigneeStateUioFromJSON)(json['state']),
50
+ 'stateNote': json['stateNote'],
51
+ 'updatedAt': json['updatedAt'],
52
+ };
53
+ }
54
+ function TicketAssigneeUioToJSON(json) {
55
+ return TicketAssigneeUioToJSONTyped(json, false);
56
+ }
57
+ function TicketAssigneeUioToJSONTyped(value, ignoreDiscriminator = false) {
58
+ if (value == null) {
59
+ return value;
60
+ }
61
+ return {
62
+ 'type': (0, MemberTypeUio_1.MemberTypeUioToJSON)(value['type']),
63
+ 'id': value['id'],
64
+ 'state': (0, TicketAssigneeStateUio_1.TicketAssigneeStateUioToJSON)(value['state']),
65
+ 'stateNote': value['stateNote'],
66
+ 'updatedAt': value['updatedAt'],
67
+ };
68
+ }
@@ -0,0 +1,46 @@
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 { TicketUio } from './TicketUio';
13
+ import type { TicketStatusUio } from './TicketStatusUio';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface TicketBoardColumnUio
18
+ */
19
+ export interface TicketBoardColumnUio {
20
+ /**
21
+ *
22
+ * @type {TicketStatusUio}
23
+ * @memberof TicketBoardColumnUio
24
+ */
25
+ status: TicketStatusUio;
26
+ /**
27
+ * Nombre total de tickets dans la colonne
28
+ * @type {number}
29
+ * @memberof TicketBoardColumnUio
30
+ */
31
+ total: number;
32
+ /**
33
+ * Tous les tickets des colonnes ouvertes ; pour done, seulement les plus récents (la suite se consulte dans la liste filtrée sur done).
34
+ * @type {Array<TicketUio>}
35
+ * @memberof TicketBoardColumnUio
36
+ */
37
+ tickets: Array<TicketUio>;
38
+ }
39
+ /**
40
+ * Check if a given object implements the TicketBoardColumnUio interface.
41
+ */
42
+ export declare function instanceOfTicketBoardColumnUio(value: object): value is TicketBoardColumnUio;
43
+ export declare function TicketBoardColumnUioFromJSON(json: any): TicketBoardColumnUio;
44
+ export declare function TicketBoardColumnUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): TicketBoardColumnUio;
45
+ export declare function TicketBoardColumnUioToJSON(json: any): TicketBoardColumnUio;
46
+ export declare function TicketBoardColumnUioToJSONTyped(value?: TicketBoardColumnUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,60 @@
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.instanceOfTicketBoardColumnUio = instanceOfTicketBoardColumnUio;
17
+ exports.TicketBoardColumnUioFromJSON = TicketBoardColumnUioFromJSON;
18
+ exports.TicketBoardColumnUioFromJSONTyped = TicketBoardColumnUioFromJSONTyped;
19
+ exports.TicketBoardColumnUioToJSON = TicketBoardColumnUioToJSON;
20
+ exports.TicketBoardColumnUioToJSONTyped = TicketBoardColumnUioToJSONTyped;
21
+ const TicketUio_1 = require("./TicketUio");
22
+ const TicketStatusUio_1 = require("./TicketStatusUio");
23
+ /**
24
+ * Check if a given object implements the TicketBoardColumnUio interface.
25
+ */
26
+ function instanceOfTicketBoardColumnUio(value) {
27
+ if (!('status' in value) || value['status'] === undefined)
28
+ return false;
29
+ if (!('total' in value) || value['total'] === undefined)
30
+ return false;
31
+ if (!('tickets' in value) || value['tickets'] === undefined)
32
+ return false;
33
+ return true;
34
+ }
35
+ function TicketBoardColumnUioFromJSON(json) {
36
+ return TicketBoardColumnUioFromJSONTyped(json, false);
37
+ }
38
+ function TicketBoardColumnUioFromJSONTyped(json, ignoreDiscriminator) {
39
+ if (json == null) {
40
+ return json;
41
+ }
42
+ return {
43
+ 'status': (0, TicketStatusUio_1.TicketStatusUioFromJSON)(json['status']),
44
+ 'total': json['total'],
45
+ 'tickets': (json['tickets'].map(TicketUio_1.TicketUioFromJSON)),
46
+ };
47
+ }
48
+ function TicketBoardColumnUioToJSON(json) {
49
+ return TicketBoardColumnUioToJSONTyped(json, false);
50
+ }
51
+ function TicketBoardColumnUioToJSONTyped(value, ignoreDiscriminator = false) {
52
+ if (value == null) {
53
+ return value;
54
+ }
55
+ return {
56
+ 'status': (0, TicketStatusUio_1.TicketStatusUioToJSON)(value['status']),
57
+ 'total': value['total'],
58
+ 'tickets': (value['tickets'].map(TicketUio_1.TicketUioToJSON)),
59
+ };
60
+ }
@@ -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 { TicketBoardColumnUio } from './TicketBoardColumnUio';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface TicketBoardUio
17
+ */
18
+ export interface TicketBoardUio {
19
+ /**
20
+ *
21
+ * @type {Array<TicketBoardColumnUio>}
22
+ * @memberof TicketBoardUio
23
+ */
24
+ columns: Array<TicketBoardColumnUio>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the TicketBoardUio interface.
28
+ */
29
+ export declare function instanceOfTicketBoardUio(value: object): value is TicketBoardUio;
30
+ export declare function TicketBoardUioFromJSON(json: any): TicketBoardUio;
31
+ export declare function TicketBoardUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): TicketBoardUio;
32
+ export declare function TicketBoardUioToJSON(json: any): TicketBoardUio;
33
+ export declare function TicketBoardUioToJSONTyped(value?: TicketBoardUio | 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.instanceOfTicketBoardUio = instanceOfTicketBoardUio;
17
+ exports.TicketBoardUioFromJSON = TicketBoardUioFromJSON;
18
+ exports.TicketBoardUioFromJSONTyped = TicketBoardUioFromJSONTyped;
19
+ exports.TicketBoardUioToJSON = TicketBoardUioToJSON;
20
+ exports.TicketBoardUioToJSONTyped = TicketBoardUioToJSONTyped;
21
+ const TicketBoardColumnUio_1 = require("./TicketBoardColumnUio");
22
+ /**
23
+ * Check if a given object implements the TicketBoardUio interface.
24
+ */
25
+ function instanceOfTicketBoardUio(value) {
26
+ if (!('columns' in value) || value['columns'] === undefined)
27
+ return false;
28
+ return true;
29
+ }
30
+ function TicketBoardUioFromJSON(json) {
31
+ return TicketBoardUioFromJSONTyped(json, false);
32
+ }
33
+ function TicketBoardUioFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'columns': (json['columns'].map(TicketBoardColumnUio_1.TicketBoardColumnUioFromJSON)),
39
+ };
40
+ }
41
+ function TicketBoardUioToJSON(json) {
42
+ return TicketBoardUioToJSONTyped(json, false);
43
+ }
44
+ function TicketBoardUioToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'columns': (value['columns'].map(TicketBoardColumnUio_1.TicketBoardColumnUioToJSON)),
50
+ };
51
+ }
@@ -0,0 +1,27 @@
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
+ * comment et report sont écrits par un humain ou un agent ; question porte une question d'agent à un humain ; event est une trace système (création, statut, assignation…).
14
+ * @export
15
+ */
16
+ export declare const TicketEventKindUio: {
17
+ readonly Comment: "comment";
18
+ readonly Report: "report";
19
+ readonly Question: "question";
20
+ readonly Event: "event";
21
+ };
22
+ export type TicketEventKindUio = typeof TicketEventKindUio[keyof typeof TicketEventKindUio];
23
+ export declare function instanceOfTicketEventKindUio(value: any): boolean;
24
+ export declare function TicketEventKindUioFromJSON(json: any): TicketEventKindUio;
25
+ export declare function TicketEventKindUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): TicketEventKindUio;
26
+ export declare function TicketEventKindUioToJSON(value?: TicketEventKindUio | null): any;
27
+ export declare function TicketEventKindUioToJSONTyped(value: any, ignoreDiscriminator: boolean): TicketEventKindUio;
@@ -0,0 +1,53 @@
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.TicketEventKindUio = void 0;
17
+ exports.instanceOfTicketEventKindUio = instanceOfTicketEventKindUio;
18
+ exports.TicketEventKindUioFromJSON = TicketEventKindUioFromJSON;
19
+ exports.TicketEventKindUioFromJSONTyped = TicketEventKindUioFromJSONTyped;
20
+ exports.TicketEventKindUioToJSON = TicketEventKindUioToJSON;
21
+ exports.TicketEventKindUioToJSONTyped = TicketEventKindUioToJSONTyped;
22
+ /**
23
+ * comment et report sont écrits par un humain ou un agent ; question porte une question d'agent à un humain ; event est une trace système (création, statut, assignation…).
24
+ * @export
25
+ */
26
+ exports.TicketEventKindUio = {
27
+ Comment: 'comment',
28
+ Report: 'report',
29
+ Question: 'question',
30
+ Event: 'event'
31
+ };
32
+ function instanceOfTicketEventKindUio(value) {
33
+ for (const key in exports.TicketEventKindUio) {
34
+ if (Object.prototype.hasOwnProperty.call(exports.TicketEventKindUio, key)) {
35
+ if (exports.TicketEventKindUio[key] === value) {
36
+ return true;
37
+ }
38
+ }
39
+ }
40
+ return false;
41
+ }
42
+ function TicketEventKindUioFromJSON(json) {
43
+ return TicketEventKindUioFromJSONTyped(json, false);
44
+ }
45
+ function TicketEventKindUioFromJSONTyped(json, ignoreDiscriminator) {
46
+ return json;
47
+ }
48
+ function TicketEventKindUioToJSON(value) {
49
+ return value;
50
+ }
51
+ function TicketEventKindUioToJSONTyped(value, ignoreDiscriminator) {
52
+ return value;
53
+ }
@@ -0,0 +1,78 @@
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 { ActorRefUio } from './ActorRefUio';
13
+ import type { TicketEventKindUio } from './TicketEventKindUio';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface TicketEventUio
18
+ */
19
+ export interface TicketEventUio {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof TicketEventUio
24
+ */
25
+ id: string;
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof TicketEventUio
30
+ */
31
+ ticketId: string;
32
+ /**
33
+ *
34
+ * @type {ActorRefUio}
35
+ * @memberof TicketEventUio
36
+ */
37
+ author: ActorRefUio;
38
+ /**
39
+ *
40
+ * @type {TicketEventKindUio}
41
+ * @memberof TicketEventUio
42
+ */
43
+ kind: TicketEventKindUio;
44
+ /**
45
+ *
46
+ * @type {string}
47
+ * @memberof TicketEventUio
48
+ */
49
+ body: string | null;
50
+ /**
51
+ * Détails selon le type : pour event, { action, from?, to?, member? } ; pour report, { title } ; pour question, { humanRequest: TicketQuestion } ; mentions dans { mentions: MemberRef[] }.
52
+ * @type {{ [key: string]: any; }}
53
+ * @memberof TicketEventUio
54
+ */
55
+ data: {
56
+ [key: string]: any;
57
+ };
58
+ /**
59
+ *
60
+ * @type {Array<string>}
61
+ * @memberof TicketEventUio
62
+ */
63
+ artifactIds: Array<string>;
64
+ /**
65
+ *
66
+ * @type {string}
67
+ * @memberof TicketEventUio
68
+ */
69
+ createdAt: string;
70
+ }
71
+ /**
72
+ * Check if a given object implements the TicketEventUio interface.
73
+ */
74
+ export declare function instanceOfTicketEventUio(value: object): value is TicketEventUio;
75
+ export declare function TicketEventUioFromJSON(json: any): TicketEventUio;
76
+ export declare function TicketEventUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): TicketEventUio;
77
+ export declare function TicketEventUioToJSON(json: any): TicketEventUio;
78
+ export declare function TicketEventUioToJSONTyped(value?: TicketEventUio | null, ignoreDiscriminator?: boolean): any;