@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,88 @@
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.instanceOfTicketAgentExecutionUio = instanceOfTicketAgentExecutionUio;
17
+ exports.TicketAgentExecutionUioFromJSON = TicketAgentExecutionUioFromJSON;
18
+ exports.TicketAgentExecutionUioFromJSONTyped = TicketAgentExecutionUioFromJSONTyped;
19
+ exports.TicketAgentExecutionUioToJSON = TicketAgentExecutionUioToJSON;
20
+ exports.TicketAgentExecutionUioToJSONTyped = TicketAgentExecutionUioToJSONTyped;
21
+ const TicketAgentExecutionPendingQuestionUio_1 = require("./TicketAgentExecutionPendingQuestionUio");
22
+ const TicketAgentPlanUio_1 = require("./TicketAgentPlanUio");
23
+ const TicketAgentRunStatusUio_1 = require("./TicketAgentRunStatusUio");
24
+ const ConversationContextUsageUio_1 = require("./ConversationContextUsageUio");
25
+ /**
26
+ * Check if a given object implements the TicketAgentExecutionUio interface.
27
+ */
28
+ function instanceOfTicketAgentExecutionUio(value) {
29
+ if (!('agentId' in value) || value['agentId'] === undefined)
30
+ return false;
31
+ if (!('status' in value) || value['status'] === undefined)
32
+ return false;
33
+ if (!('conversationId' in value) || value['conversationId'] === undefined)
34
+ return false;
35
+ if (!('startedAt' in value) || value['startedAt'] === undefined)
36
+ return false;
37
+ if (!('lastRunAt' in value) || value['lastRunAt'] === undefined)
38
+ return false;
39
+ if (!('queuedAt' in value) || value['queuedAt'] === undefined)
40
+ return false;
41
+ if (!('plan' in value) || value['plan'] === undefined)
42
+ return false;
43
+ if (!('pendingQuestion' in value) || value['pendingQuestion'] === undefined)
44
+ return false;
45
+ if (!('lastError' in value) || value['lastError'] === undefined)
46
+ return false;
47
+ return true;
48
+ }
49
+ function TicketAgentExecutionUioFromJSON(json) {
50
+ return TicketAgentExecutionUioFromJSONTyped(json, false);
51
+ }
52
+ function TicketAgentExecutionUioFromJSONTyped(json, ignoreDiscriminator) {
53
+ if (json == null) {
54
+ return json;
55
+ }
56
+ return {
57
+ 'agentId': json['agentId'],
58
+ 'status': (0, TicketAgentRunStatusUio_1.TicketAgentRunStatusUioFromJSON)(json['status']),
59
+ 'conversationId': json['conversationId'],
60
+ 'startedAt': json['startedAt'],
61
+ 'lastRunAt': json['lastRunAt'],
62
+ 'queuedAt': json['queuedAt'],
63
+ 'plan': (0, TicketAgentPlanUio_1.TicketAgentPlanUioFromJSON)(json['plan']),
64
+ 'contextUsage': json['contextUsage'] == null ? undefined : (0, ConversationContextUsageUio_1.ConversationContextUsageUioFromJSON)(json['contextUsage']),
65
+ 'pendingQuestion': (0, TicketAgentExecutionPendingQuestionUio_1.TicketAgentExecutionPendingQuestionUioFromJSON)(json['pendingQuestion']),
66
+ 'lastError': json['lastError'],
67
+ };
68
+ }
69
+ function TicketAgentExecutionUioToJSON(json) {
70
+ return TicketAgentExecutionUioToJSONTyped(json, false);
71
+ }
72
+ function TicketAgentExecutionUioToJSONTyped(value, ignoreDiscriminator = false) {
73
+ if (value == null) {
74
+ return value;
75
+ }
76
+ return {
77
+ 'agentId': value['agentId'],
78
+ 'status': (0, TicketAgentRunStatusUio_1.TicketAgentRunStatusUioToJSON)(value['status']),
79
+ 'conversationId': value['conversationId'],
80
+ 'startedAt': value['startedAt'],
81
+ 'lastRunAt': value['lastRunAt'],
82
+ 'queuedAt': value['queuedAt'],
83
+ 'plan': (0, TicketAgentPlanUio_1.TicketAgentPlanUioToJSON)(value['plan']),
84
+ 'contextUsage': (0, ConversationContextUsageUio_1.ConversationContextUsageUioToJSON)(value['contextUsage']),
85
+ 'pendingQuestion': (0, TicketAgentExecutionPendingQuestionUio_1.TicketAgentExecutionPendingQuestionUioToJSON)(value['pendingQuestion']),
86
+ 'lastError': value['lastError'],
87
+ };
88
+ }
@@ -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 { TicketPlanStepUio } from './TicketPlanStepUio';
13
+ /**
14
+ * Le plan que l'agent a publié pour ce ticket, et où il en est.
15
+ * @export
16
+ * @interface TicketAgentPlanUio
17
+ */
18
+ export interface TicketAgentPlanUio {
19
+ /**
20
+ *
21
+ * @type {Array<TicketPlanStepUio>}
22
+ * @memberof TicketAgentPlanUio
23
+ */
24
+ steps: Array<TicketPlanStepUio>;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof TicketAgentPlanUio
29
+ */
30
+ updatedAt: string;
31
+ }
32
+ /**
33
+ * Check if a given object implements the TicketAgentPlanUio interface.
34
+ */
35
+ export declare function instanceOfTicketAgentPlanUio(value: object): value is TicketAgentPlanUio;
36
+ export declare function TicketAgentPlanUioFromJSON(json: any): TicketAgentPlanUio;
37
+ export declare function TicketAgentPlanUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): TicketAgentPlanUio;
38
+ export declare function TicketAgentPlanUioToJSON(json: any): TicketAgentPlanUio;
39
+ export declare function TicketAgentPlanUioToJSONTyped(value?: TicketAgentPlanUio | 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.instanceOfTicketAgentPlanUio = instanceOfTicketAgentPlanUio;
17
+ exports.TicketAgentPlanUioFromJSON = TicketAgentPlanUioFromJSON;
18
+ exports.TicketAgentPlanUioFromJSONTyped = TicketAgentPlanUioFromJSONTyped;
19
+ exports.TicketAgentPlanUioToJSON = TicketAgentPlanUioToJSON;
20
+ exports.TicketAgentPlanUioToJSONTyped = TicketAgentPlanUioToJSONTyped;
21
+ const TicketPlanStepUio_1 = require("./TicketPlanStepUio");
22
+ /**
23
+ * Check if a given object implements the TicketAgentPlanUio interface.
24
+ */
25
+ function instanceOfTicketAgentPlanUio(value) {
26
+ if (!('steps' in value) || value['steps'] === undefined)
27
+ return false;
28
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ function TicketAgentPlanUioFromJSON(json) {
33
+ return TicketAgentPlanUioFromJSONTyped(json, false);
34
+ }
35
+ function TicketAgentPlanUioFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'steps': (json['steps'].map(TicketPlanStepUio_1.TicketPlanStepUioFromJSON)),
41
+ 'updatedAt': json['updatedAt'],
42
+ };
43
+ }
44
+ function TicketAgentPlanUioToJSON(json) {
45
+ return TicketAgentPlanUioToJSONTyped(json, false);
46
+ }
47
+ function TicketAgentPlanUioToJSONTyped(value, ignoreDiscriminator = false) {
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'steps': (value['steps'].map(TicketPlanStepUio_1.TicketPlanStepUioToJSON)),
53
+ 'updatedAt': value['updatedAt'],
54
+ };
55
+ }
@@ -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
+ * Où en est le travail d'un agent sur un ticket : idle (rien en cours), queued (réveil en attente), running (il travaille), waiting_human (il attend la réponse à une question), failed (la dernière exécution a échoué).
14
+ * @export
15
+ */
16
+ export declare const TicketAgentRunStatusUio: {
17
+ readonly Idle: "idle";
18
+ readonly Queued: "queued";
19
+ readonly Running: "running";
20
+ readonly WaitingHuman: "waiting_human";
21
+ readonly Failed: "failed";
22
+ };
23
+ export type TicketAgentRunStatusUio = typeof TicketAgentRunStatusUio[keyof typeof TicketAgentRunStatusUio];
24
+ export declare function instanceOfTicketAgentRunStatusUio(value: any): boolean;
25
+ export declare function TicketAgentRunStatusUioFromJSON(json: any): TicketAgentRunStatusUio;
26
+ export declare function TicketAgentRunStatusUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): TicketAgentRunStatusUio;
27
+ export declare function TicketAgentRunStatusUioToJSON(value?: TicketAgentRunStatusUio | null): any;
28
+ export declare function TicketAgentRunStatusUioToJSONTyped(value: any, ignoreDiscriminator: boolean): TicketAgentRunStatusUio;
@@ -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.TicketAgentRunStatusUio = void 0;
17
+ exports.instanceOfTicketAgentRunStatusUio = instanceOfTicketAgentRunStatusUio;
18
+ exports.TicketAgentRunStatusUioFromJSON = TicketAgentRunStatusUioFromJSON;
19
+ exports.TicketAgentRunStatusUioFromJSONTyped = TicketAgentRunStatusUioFromJSONTyped;
20
+ exports.TicketAgentRunStatusUioToJSON = TicketAgentRunStatusUioToJSON;
21
+ exports.TicketAgentRunStatusUioToJSONTyped = TicketAgentRunStatusUioToJSONTyped;
22
+ /**
23
+ * Où en est le travail d'un agent sur un ticket : idle (rien en cours), queued (réveil en attente), running (il travaille), waiting_human (il attend la réponse à une question), failed (la dernière exécution a échoué).
24
+ * @export
25
+ */
26
+ exports.TicketAgentRunStatusUio = {
27
+ Idle: 'idle',
28
+ Queued: 'queued',
29
+ Running: 'running',
30
+ WaitingHuman: 'waiting_human',
31
+ Failed: 'failed'
32
+ };
33
+ function instanceOfTicketAgentRunStatusUio(value) {
34
+ for (const key in exports.TicketAgentRunStatusUio) {
35
+ if (Object.prototype.hasOwnProperty.call(exports.TicketAgentRunStatusUio, key)) {
36
+ if (exports.TicketAgentRunStatusUio[key] === value) {
37
+ return true;
38
+ }
39
+ }
40
+ }
41
+ return false;
42
+ }
43
+ function TicketAgentRunStatusUioFromJSON(json) {
44
+ return TicketAgentRunStatusUioFromJSONTyped(json, false);
45
+ }
46
+ function TicketAgentRunStatusUioFromJSONTyped(json, ignoreDiscriminator) {
47
+ return json;
48
+ }
49
+ function TicketAgentRunStatusUioToJSON(value) {
50
+ return value;
51
+ }
52
+ function TicketAgentRunStatusUioToJSONTyped(value, ignoreDiscriminator) {
53
+ return value;
54
+ }
@@ -0,0 +1,32 @@
1
+ /**
2
+ * brain-client
3
+ * Api ands models for brain-app and brain-app
4
+ *
5
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface TicketArtifactDownloadUrlUio
16
+ */
17
+ export interface TicketArtifactDownloadUrlUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof TicketArtifactDownloadUrlUio
22
+ */
23
+ url: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the TicketArtifactDownloadUrlUio interface.
27
+ */
28
+ export declare function instanceOfTicketArtifactDownloadUrlUio(value: object): value is TicketArtifactDownloadUrlUio;
29
+ export declare function TicketArtifactDownloadUrlUioFromJSON(json: any): TicketArtifactDownloadUrlUio;
30
+ export declare function TicketArtifactDownloadUrlUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): TicketArtifactDownloadUrlUio;
31
+ export declare function TicketArtifactDownloadUrlUioToJSON(json: any): TicketArtifactDownloadUrlUio;
32
+ export declare function TicketArtifactDownloadUrlUioToJSONTyped(value?: TicketArtifactDownloadUrlUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * brain-client
6
+ * Api ands models for brain-app and brain-app
7
+ *
8
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfTicketArtifactDownloadUrlUio = instanceOfTicketArtifactDownloadUrlUio;
17
+ exports.TicketArtifactDownloadUrlUioFromJSON = TicketArtifactDownloadUrlUioFromJSON;
18
+ exports.TicketArtifactDownloadUrlUioFromJSONTyped = TicketArtifactDownloadUrlUioFromJSONTyped;
19
+ exports.TicketArtifactDownloadUrlUioToJSON = TicketArtifactDownloadUrlUioToJSON;
20
+ exports.TicketArtifactDownloadUrlUioToJSONTyped = TicketArtifactDownloadUrlUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the TicketArtifactDownloadUrlUio interface.
23
+ */
24
+ function instanceOfTicketArtifactDownloadUrlUio(value) {
25
+ if (!('url' in value) || value['url'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function TicketArtifactDownloadUrlUioFromJSON(json) {
30
+ return TicketArtifactDownloadUrlUioFromJSONTyped(json, false);
31
+ }
32
+ function TicketArtifactDownloadUrlUioFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'url': json['url'],
38
+ };
39
+ }
40
+ function TicketArtifactDownloadUrlUioToJSON(json) {
41
+ return TicketArtifactDownloadUrlUioToJSONTyped(json, false);
42
+ }
43
+ function TicketArtifactDownloadUrlUioToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'url': value['url'],
49
+ };
50
+ }
@@ -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 TicketArtifactSourceUio: {
17
+ readonly File: "file";
18
+ readonly Workspace: "workspace";
19
+ };
20
+ export type TicketArtifactSourceUio = typeof TicketArtifactSourceUio[keyof typeof TicketArtifactSourceUio];
21
+ export declare function instanceOfTicketArtifactSourceUio(value: any): boolean;
22
+ export declare function TicketArtifactSourceUioFromJSON(json: any): TicketArtifactSourceUio;
23
+ export declare function TicketArtifactSourceUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): TicketArtifactSourceUio;
24
+ export declare function TicketArtifactSourceUioToJSON(value?: TicketArtifactSourceUio | null): any;
25
+ export declare function TicketArtifactSourceUioToJSONTyped(value: any, ignoreDiscriminator: boolean): TicketArtifactSourceUio;
@@ -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.TicketArtifactSourceUio = void 0;
17
+ exports.instanceOfTicketArtifactSourceUio = instanceOfTicketArtifactSourceUio;
18
+ exports.TicketArtifactSourceUioFromJSON = TicketArtifactSourceUioFromJSON;
19
+ exports.TicketArtifactSourceUioFromJSONTyped = TicketArtifactSourceUioFromJSONTyped;
20
+ exports.TicketArtifactSourceUioToJSON = TicketArtifactSourceUioToJSON;
21
+ exports.TicketArtifactSourceUioToJSONTyped = TicketArtifactSourceUioToJSONTyped;
22
+ /**
23
+ *
24
+ * @export
25
+ */
26
+ exports.TicketArtifactSourceUio = {
27
+ File: 'file',
28
+ Workspace: 'workspace'
29
+ };
30
+ function instanceOfTicketArtifactSourceUio(value) {
31
+ for (const key in exports.TicketArtifactSourceUio) {
32
+ if (Object.prototype.hasOwnProperty.call(exports.TicketArtifactSourceUio, key)) {
33
+ if (exports.TicketArtifactSourceUio[key] === value) {
34
+ return true;
35
+ }
36
+ }
37
+ }
38
+ return false;
39
+ }
40
+ function TicketArtifactSourceUioFromJSON(json) {
41
+ return TicketArtifactSourceUioFromJSONTyped(json, false);
42
+ }
43
+ function TicketArtifactSourceUioFromJSONTyped(json, ignoreDiscriminator) {
44
+ return json;
45
+ }
46
+ function TicketArtifactSourceUioToJSON(value) {
47
+ return value;
48
+ }
49
+ function TicketArtifactSourceUioToJSONTyped(value, ignoreDiscriminator) {
50
+ return value;
51
+ }
@@ -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 TicketArtifactStatusUio: {
17
+ readonly Uploading: "uploading";
18
+ readonly Ready: "ready";
19
+ };
20
+ export type TicketArtifactStatusUio = typeof TicketArtifactStatusUio[keyof typeof TicketArtifactStatusUio];
21
+ export declare function instanceOfTicketArtifactStatusUio(value: any): boolean;
22
+ export declare function TicketArtifactStatusUioFromJSON(json: any): TicketArtifactStatusUio;
23
+ export declare function TicketArtifactStatusUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): TicketArtifactStatusUio;
24
+ export declare function TicketArtifactStatusUioToJSON(value?: TicketArtifactStatusUio | null): any;
25
+ export declare function TicketArtifactStatusUioToJSONTyped(value: any, ignoreDiscriminator: boolean): TicketArtifactStatusUio;
@@ -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.TicketArtifactStatusUio = void 0;
17
+ exports.instanceOfTicketArtifactStatusUio = instanceOfTicketArtifactStatusUio;
18
+ exports.TicketArtifactStatusUioFromJSON = TicketArtifactStatusUioFromJSON;
19
+ exports.TicketArtifactStatusUioFromJSONTyped = TicketArtifactStatusUioFromJSONTyped;
20
+ exports.TicketArtifactStatusUioToJSON = TicketArtifactStatusUioToJSON;
21
+ exports.TicketArtifactStatusUioToJSONTyped = TicketArtifactStatusUioToJSONTyped;
22
+ /**
23
+ *
24
+ * @export
25
+ */
26
+ exports.TicketArtifactStatusUio = {
27
+ Uploading: 'uploading',
28
+ Ready: 'ready'
29
+ };
30
+ function instanceOfTicketArtifactStatusUio(value) {
31
+ for (const key in exports.TicketArtifactStatusUio) {
32
+ if (Object.prototype.hasOwnProperty.call(exports.TicketArtifactStatusUio, key)) {
33
+ if (exports.TicketArtifactStatusUio[key] === value) {
34
+ return true;
35
+ }
36
+ }
37
+ }
38
+ return false;
39
+ }
40
+ function TicketArtifactStatusUioFromJSON(json) {
41
+ return TicketArtifactStatusUioFromJSONTyped(json, false);
42
+ }
43
+ function TicketArtifactStatusUioFromJSONTyped(json, ignoreDiscriminator) {
44
+ return json;
45
+ }
46
+ function TicketArtifactStatusUioToJSON(value) {
47
+ return value;
48
+ }
49
+ function TicketArtifactStatusUioToJSONTyped(value, ignoreDiscriminator) {
50
+ return value;
51
+ }
@@ -0,0 +1,83 @@
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 { TicketArtifactSourceUio } from './TicketArtifactSourceUio';
14
+ import type { TicketArtifactStatusUio } from './TicketArtifactStatusUio';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface TicketArtifactUio
19
+ */
20
+ export interface TicketArtifactUio {
21
+ /**
22
+ *
23
+ * @type {string}
24
+ * @memberof TicketArtifactUio
25
+ */
26
+ id: string;
27
+ /**
28
+ *
29
+ * @type {string}
30
+ * @memberof TicketArtifactUio
31
+ */
32
+ ticketId: string;
33
+ /**
34
+ *
35
+ * @type {string}
36
+ * @memberof TicketArtifactUio
37
+ */
38
+ name: string;
39
+ /**
40
+ *
41
+ * @type {string}
42
+ * @memberof TicketArtifactUio
43
+ */
44
+ mimeType: string;
45
+ /**
46
+ *
47
+ * @type {number}
48
+ * @memberof TicketArtifactUio
49
+ */
50
+ size: number | null;
51
+ /**
52
+ *
53
+ * @type {TicketArtifactSourceUio}
54
+ * @memberof TicketArtifactUio
55
+ */
56
+ source: TicketArtifactSourceUio;
57
+ /**
58
+ *
59
+ * @type {TicketArtifactStatusUio}
60
+ * @memberof TicketArtifactUio
61
+ */
62
+ status: TicketArtifactStatusUio;
63
+ /**
64
+ *
65
+ * @type {ActorRefUio}
66
+ * @memberof TicketArtifactUio
67
+ */
68
+ addedBy: ActorRefUio;
69
+ /**
70
+ *
71
+ * @type {string}
72
+ * @memberof TicketArtifactUio
73
+ */
74
+ createdAt: string;
75
+ }
76
+ /**
77
+ * Check if a given object implements the TicketArtifactUio interface.
78
+ */
79
+ export declare function instanceOfTicketArtifactUio(value: object): value is TicketArtifactUio;
80
+ export declare function TicketArtifactUioFromJSON(json: any): TicketArtifactUio;
81
+ export declare function TicketArtifactUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): TicketArtifactUio;
82
+ export declare function TicketArtifactUioToJSON(json: any): TicketArtifactUio;
83
+ export declare function TicketArtifactUioToJSONTyped(value?: TicketArtifactUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,85 @@
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.instanceOfTicketArtifactUio = instanceOfTicketArtifactUio;
17
+ exports.TicketArtifactUioFromJSON = TicketArtifactUioFromJSON;
18
+ exports.TicketArtifactUioFromJSONTyped = TicketArtifactUioFromJSONTyped;
19
+ exports.TicketArtifactUioToJSON = TicketArtifactUioToJSON;
20
+ exports.TicketArtifactUioToJSONTyped = TicketArtifactUioToJSONTyped;
21
+ const ActorRefUio_1 = require("./ActorRefUio");
22
+ const TicketArtifactSourceUio_1 = require("./TicketArtifactSourceUio");
23
+ const TicketArtifactStatusUio_1 = require("./TicketArtifactStatusUio");
24
+ /**
25
+ * Check if a given object implements the TicketArtifactUio interface.
26
+ */
27
+ function instanceOfTicketArtifactUio(value) {
28
+ if (!('id' in value) || value['id'] === undefined)
29
+ return false;
30
+ if (!('ticketId' in value) || value['ticketId'] === undefined)
31
+ return false;
32
+ if (!('name' in value) || value['name'] === undefined)
33
+ return false;
34
+ if (!('mimeType' in value) || value['mimeType'] === undefined)
35
+ return false;
36
+ if (!('size' in value) || value['size'] === undefined)
37
+ return false;
38
+ if (!('source' in value) || value['source'] === undefined)
39
+ return false;
40
+ if (!('status' in value) || value['status'] === undefined)
41
+ return false;
42
+ if (!('addedBy' in value) || value['addedBy'] === undefined)
43
+ return false;
44
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
45
+ return false;
46
+ return true;
47
+ }
48
+ function TicketArtifactUioFromJSON(json) {
49
+ return TicketArtifactUioFromJSONTyped(json, false);
50
+ }
51
+ function TicketArtifactUioFromJSONTyped(json, ignoreDiscriminator) {
52
+ if (json == null) {
53
+ return json;
54
+ }
55
+ return {
56
+ 'id': json['id'],
57
+ 'ticketId': json['ticketId'],
58
+ 'name': json['name'],
59
+ 'mimeType': json['mimeType'],
60
+ 'size': json['size'],
61
+ 'source': (0, TicketArtifactSourceUio_1.TicketArtifactSourceUioFromJSON)(json['source']),
62
+ 'status': (0, TicketArtifactStatusUio_1.TicketArtifactStatusUioFromJSON)(json['status']),
63
+ 'addedBy': (0, ActorRefUio_1.ActorRefUioFromJSON)(json['addedBy']),
64
+ 'createdAt': json['createdAt'],
65
+ };
66
+ }
67
+ function TicketArtifactUioToJSON(json) {
68
+ return TicketArtifactUioToJSONTyped(json, false);
69
+ }
70
+ function TicketArtifactUioToJSONTyped(value, ignoreDiscriminator = false) {
71
+ if (value == null) {
72
+ return value;
73
+ }
74
+ return {
75
+ 'id': value['id'],
76
+ 'ticketId': value['ticketId'],
77
+ 'name': value['name'],
78
+ 'mimeType': value['mimeType'],
79
+ 'size': value['size'],
80
+ 'source': (0, TicketArtifactSourceUio_1.TicketArtifactSourceUioToJSON)(value['source']),
81
+ 'status': (0, TicketArtifactStatusUio_1.TicketArtifactStatusUioToJSON)(value['status']),
82
+ 'addedBy': (0, ActorRefUio_1.ActorRefUioToJSON)(value['addedBy']),
83
+ 'createdAt': value['createdAt'],
84
+ };
85
+ }