@kickflow/mcp-server 1.0.6 → 1.0.7
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/kickflow-api/generated/api-definitions.js +817 -817
- package/dist/kickflow-api/generated/api-definitions.js.map +1 -1
- package/dist/kickflow-api/generated/audit-log/audit-log.zod.d.ts +17 -17
- package/dist/kickflow-api/generated/audit-log/audit-log.zod.js +90 -42
- package/dist/kickflow-api/generated/audit-log/audit-log.zod.js.map +1 -1
- package/dist/kickflow-api/generated/category/category.zod.d.ts +9 -9
- package/dist/kickflow-api/generated/category/category.zod.js +50 -31
- package/dist/kickflow-api/generated/category/category.zod.js.map +1 -1
- package/dist/kickflow-api/generated/comment/comment.zod.d.ts +67 -67
- package/dist/kickflow-api/generated/comment/comment.zod.js +492 -247
- package/dist/kickflow-api/generated/comment/comment.zod.js.map +1 -1
- package/dist/kickflow-api/generated/file/file.zod.d.ts +4 -4
- package/dist/kickflow-api/generated/file/file.zod.js +13 -13
- package/dist/kickflow-api/generated/file/file.zod.js.map +1 -1
- package/dist/kickflow-api/generated/folder/folder.zod.d.ts +56 -56
- package/dist/kickflow-api/generated/folder/folder.zod.js +374 -179
- package/dist/kickflow-api/generated/folder/folder.zod.js.map +1 -1
- package/dist/kickflow-api/generated/general-master/general-master.zod.d.ts +24 -24
- package/dist/kickflow-api/generated/general-master/general-master.zod.js +607 -267
- package/dist/kickflow-api/generated/general-master/general-master.zod.js.map +1 -1
- package/dist/kickflow-api/generated/grade/grade.zod.d.ts +17 -17
- package/dist/kickflow-api/generated/grade/grade.zod.js +157 -59
- package/dist/kickflow-api/generated/grade/grade.zod.js.map +1 -1
- package/dist/kickflow-api/generated/kickflowRESTAPIV1.js +1 -6
- package/dist/kickflow-api/generated/kickflowRESTAPIV1.js.map +1 -1
- package/dist/kickflow-api/generated/kickflowRESTAPIV1.schemas.d.ts +1243 -1679
- package/dist/kickflow-api/generated/kickflowRESTAPIV1.schemas.js +44 -96
- package/dist/kickflow-api/generated/kickflowRESTAPIV1.schemas.js.map +1 -1
- package/dist/kickflow-api/generated/organization-chart/organization-chart.zod.d.ts +20 -20
- package/dist/kickflow-api/generated/organization-chart/organization-chart.zod.js +189 -116
- package/dist/kickflow-api/generated/organization-chart/organization-chart.zod.js.map +1 -1
- package/dist/kickflow-api/generated/proxy-applicant/proxy-applicant.zod.d.ts +82 -82
- package/dist/kickflow-api/generated/proxy-applicant/proxy-applicant.zod.js +670 -286
- package/dist/kickflow-api/generated/proxy-applicant/proxy-applicant.zod.js.map +1 -1
- package/dist/kickflow-api/generated/proxy-approver/proxy-approver.zod.d.ts +82 -82
- package/dist/kickflow-api/generated/proxy-approver/proxy-approver.zod.js +670 -286
- package/dist/kickflow-api/generated/proxy-approver/proxy-approver.zod.js.map +1 -1
- package/dist/kickflow-api/generated/role/role.zod.d.ts +69 -69
- package/dist/kickflow-api/generated/role/role.zod.js +753 -281
- package/dist/kickflow-api/generated/role/role.zod.js.map +1 -1
- package/dist/kickflow-api/generated/route/route.zod.d.ts +91 -91
- package/dist/kickflow-api/generated/route/route.zod.js +795 -312
- package/dist/kickflow-api/generated/route/route.zod.js.map +1 -1
- package/dist/kickflow-api/generated/team/team.zod.d.ts +123 -123
- package/dist/kickflow-api/generated/team/team.zod.js +775 -373
- package/dist/kickflow-api/generated/team/team.zod.js.map +1 -1
- package/dist/kickflow-api/generated/ticket/ticket.zod.d.ts +8808 -8808
- package/dist/kickflow-api/generated/ticket/ticket.zod.js +130997 -41640
- package/dist/kickflow-api/generated/ticket/ticket.zod.js.map +1 -1
- package/dist/kickflow-api/generated/user/user.zod.d.ts +98 -98
- package/dist/kickflow-api/generated/user/user.zod.js +593 -291
- package/dist/kickflow-api/generated/user/user.zod.js.map +1 -1
- package/dist/kickflow-api/generated/workflow/workflow.zod.d.ts +175 -175
- package/dist/kickflow-api/generated/workflow/workflow.zod.js +2384 -810
- package/dist/kickflow-api/generated/workflow/workflow.zod.js.map +1 -1
- package/dist/kickflow-api/schema-registry.js +6 -2
- package/dist/kickflow-api/schema-registry.js.map +1 -1
- package/package.json +7 -7
|
@@ -3,303 +3,548 @@ import * as zod from 'zod';
|
|
|
3
3
|
* チケットのコメント一覧を取得します。
|
|
4
4
|
* @summary コメントの一覧を取得
|
|
5
5
|
*/
|
|
6
|
-
export const
|
|
7
|
-
|
|
6
|
+
export const ListCommentsParams = zod.object({
|
|
7
|
+
ticketId: zod.uuid().describe('チケットのUUID'),
|
|
8
8
|
});
|
|
9
9
|
export const listCommentsQueryPageDefault = 1;
|
|
10
10
|
export const listCommentsQueryPerPageDefault = 25;
|
|
11
11
|
export const listCommentsQueryPerPageMax = 100;
|
|
12
12
|
export const listCommentsQuerySortByRegExp = new RegExp('^(createdAt)(-asc|-desc)?$');
|
|
13
|
-
export const
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
export const ListCommentsQueryParams = zod.object({
|
|
14
|
+
page: zod
|
|
15
|
+
.number()
|
|
16
|
+
.min(1)
|
|
17
|
+
.default(listCommentsQueryPageDefault)
|
|
18
|
+
.describe('ページ'),
|
|
19
|
+
perPage: zod
|
|
20
|
+
.number()
|
|
21
|
+
.min(1)
|
|
22
|
+
.max(listCommentsQueryPerPageMax)
|
|
23
|
+
.default(listCommentsQueryPerPageDefault)
|
|
24
|
+
.describe('1ページあたりの件数'),
|
|
25
|
+
sortBy: zod
|
|
26
|
+
.string()
|
|
27
|
+
.regex(listCommentsQuerySortByRegExp)
|
|
28
|
+
.optional()
|
|
29
|
+
.describe('ソート対象のフィールドと順序。指定可能なフィールド: createdAt'),
|
|
17
30
|
});
|
|
18
|
-
export const
|
|
19
|
-
export const
|
|
20
|
-
export const
|
|
21
|
-
export const
|
|
22
|
-
export const
|
|
23
|
-
export const
|
|
31
|
+
export const listCommentsResponseUserOneEmailMax = 254;
|
|
32
|
+
export const listCommentsResponseUserOneCodeMax = 100;
|
|
33
|
+
export const listCommentsResponseUserOneFirstNameMax = 255;
|
|
34
|
+
export const listCommentsResponseUserOneLastNameMax = 255;
|
|
35
|
+
export const listCommentsResponseUserOneFullNameMax = 255;
|
|
36
|
+
export const listCommentsResponseUserOneEmployeeIdMax = 30;
|
|
24
37
|
export const listCommentsResponseMentionedUsersItemEmailMax = 254;
|
|
25
38
|
export const listCommentsResponseMentionedUsersItemCodeMax = 100;
|
|
26
39
|
export const listCommentsResponseMentionedUsersItemFirstNameMax = 255;
|
|
27
40
|
export const listCommentsResponseMentionedUsersItemLastNameMax = 255;
|
|
28
41
|
export const listCommentsResponseMentionedUsersItemFullNameMax = 255;
|
|
29
42
|
export const listCommentsResponseMentionedUsersItemEmployeeIdMax = 30;
|
|
30
|
-
export const
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
})
|
|
80
|
-
|
|
43
|
+
export const ListCommentsResponseItem = zod
|
|
44
|
+
.object({
|
|
45
|
+
id: zod.uuid().describe('UUID'),
|
|
46
|
+
body: zod.string().describe('本文'),
|
|
47
|
+
attachments: zod
|
|
48
|
+
.array(zod
|
|
49
|
+
.object({
|
|
50
|
+
signedId: zod.string().describe('署名済みID'),
|
|
51
|
+
filename: zod.string().describe('ファイル名'),
|
|
52
|
+
url: zod.url().describe('ファイルURL'),
|
|
53
|
+
})
|
|
54
|
+
.describe('添付ファイル'))
|
|
55
|
+
.describe('添付ファイル'),
|
|
56
|
+
createdAt: zod.iso.datetime({}).describe('作成日時'),
|
|
57
|
+
updatedAt: zod.iso.datetime({}).describe('更新日時'),
|
|
58
|
+
deletedAt: zod.iso.datetime({}).nullable().describe('削除日時'),
|
|
59
|
+
user: zod
|
|
60
|
+
.object({
|
|
61
|
+
id: zod.uuid().describe('UUID'),
|
|
62
|
+
email: zod
|
|
63
|
+
.email()
|
|
64
|
+
.max(listCommentsResponseUserOneEmailMax)
|
|
65
|
+
.describe('メールアドレス'),
|
|
66
|
+
code: zod
|
|
67
|
+
.string()
|
|
68
|
+
.max(listCommentsResponseUserOneCodeMax)
|
|
69
|
+
.describe('コード'),
|
|
70
|
+
firstName: zod
|
|
71
|
+
.string()
|
|
72
|
+
.max(listCommentsResponseUserOneFirstNameMax)
|
|
73
|
+
.describe('名'),
|
|
74
|
+
lastName: zod
|
|
75
|
+
.string()
|
|
76
|
+
.max(listCommentsResponseUserOneLastNameMax)
|
|
77
|
+
.describe('姓'),
|
|
78
|
+
fullName: zod
|
|
79
|
+
.string()
|
|
80
|
+
.max(listCommentsResponseUserOneFullNameMax)
|
|
81
|
+
.describe('フルネーム'),
|
|
82
|
+
employeeId: zod
|
|
83
|
+
.string()
|
|
84
|
+
.max(listCommentsResponseUserOneEmployeeIdMax)
|
|
85
|
+
.nullish()
|
|
86
|
+
.describe('社員番号'),
|
|
87
|
+
image: zod
|
|
88
|
+
.object({
|
|
89
|
+
'100x100': zod.string().nullable(),
|
|
90
|
+
'64x64': zod.string().nullable(),
|
|
91
|
+
'32x32': zod.string().nullable(),
|
|
92
|
+
})
|
|
93
|
+
.describe('ユーザー画像のURL。サイズごとに複数のURLを返します。'),
|
|
94
|
+
status: zod
|
|
95
|
+
.enum(['invited', 'activated', 'suspended', 'deactivated'])
|
|
96
|
+
.describe('ステータス'),
|
|
97
|
+
locale: zod.string().describe('ロケール(jaまたはen)'),
|
|
98
|
+
createdAt: zod.iso.datetime({}).describe('作成日時'),
|
|
99
|
+
updatedAt: zod.iso.datetime({}).describe('更新日時'),
|
|
100
|
+
deactivatedAt: zod.iso.datetime({}).nullish().describe('削除日時'),
|
|
101
|
+
})
|
|
102
|
+
.describe('ユーザー'),
|
|
103
|
+
mentionedUsers: zod
|
|
104
|
+
.array(zod
|
|
105
|
+
.object({
|
|
106
|
+
id: zod.uuid().describe('UUID'),
|
|
107
|
+
email: zod
|
|
108
|
+
.email()
|
|
109
|
+
.max(listCommentsResponseMentionedUsersItemEmailMax)
|
|
110
|
+
.describe('メールアドレス'),
|
|
111
|
+
code: zod
|
|
112
|
+
.string()
|
|
113
|
+
.max(listCommentsResponseMentionedUsersItemCodeMax)
|
|
114
|
+
.describe('コード'),
|
|
115
|
+
firstName: zod
|
|
116
|
+
.string()
|
|
117
|
+
.max(listCommentsResponseMentionedUsersItemFirstNameMax)
|
|
118
|
+
.describe('名'),
|
|
119
|
+
lastName: zod
|
|
120
|
+
.string()
|
|
121
|
+
.max(listCommentsResponseMentionedUsersItemLastNameMax)
|
|
122
|
+
.describe('姓'),
|
|
123
|
+
fullName: zod
|
|
124
|
+
.string()
|
|
125
|
+
.max(listCommentsResponseMentionedUsersItemFullNameMax)
|
|
126
|
+
.describe('フルネーム'),
|
|
127
|
+
employeeId: zod
|
|
128
|
+
.string()
|
|
129
|
+
.max(listCommentsResponseMentionedUsersItemEmployeeIdMax)
|
|
130
|
+
.nullish()
|
|
131
|
+
.describe('社員番号'),
|
|
132
|
+
image: zod
|
|
133
|
+
.object({
|
|
134
|
+
'100x100': zod.string().nullable(),
|
|
135
|
+
'64x64': zod.string().nullable(),
|
|
136
|
+
'32x32': zod.string().nullable(),
|
|
137
|
+
})
|
|
138
|
+
.describe('ユーザー画像のURL。サイズごとに複数のURLを返します。'),
|
|
139
|
+
status: zod
|
|
140
|
+
.enum(['invited', 'activated', 'suspended', 'deactivated'])
|
|
141
|
+
.describe('ステータス'),
|
|
142
|
+
locale: zod.string().describe('ロケール(jaまたはen)'),
|
|
143
|
+
createdAt: zod.iso.datetime({}).describe('作成日時'),
|
|
144
|
+
updatedAt: zod.iso.datetime({}).describe('更新日時'),
|
|
145
|
+
deactivatedAt: zod.iso.datetime({}).nullish().describe('削除日時'),
|
|
146
|
+
})
|
|
147
|
+
.describe('ユーザー'))
|
|
148
|
+
.describe('メンションしたユーザーの配列'),
|
|
149
|
+
})
|
|
150
|
+
.describe('コメント');
|
|
151
|
+
export const ListCommentsResponse = zod.array(ListCommentsResponseItem);
|
|
81
152
|
/**
|
|
82
153
|
* チケットにコメントを投稿します。
|
|
83
154
|
* @summary コメントを投稿
|
|
84
155
|
*/
|
|
85
|
-
export const
|
|
86
|
-
|
|
156
|
+
export const CreateCommentParams = zod.object({
|
|
157
|
+
ticketId: zod.uuid().describe('チケットのUUID'),
|
|
87
158
|
});
|
|
88
|
-
export const
|
|
89
|
-
|
|
90
|
-
|
|
159
|
+
export const CreateCommentBody = zod.object({
|
|
160
|
+
body: zod.string().describe('本文'),
|
|
161
|
+
files: zod.array(zod.string()).nullish().describe('添付ファイルの署名済みID'),
|
|
91
162
|
});
|
|
92
|
-
export const
|
|
93
|
-
export const
|
|
94
|
-
export const
|
|
95
|
-
export const
|
|
96
|
-
export const
|
|
97
|
-
export const
|
|
163
|
+
export const createCommentResponseUserOneEmailMax = 254;
|
|
164
|
+
export const createCommentResponseUserOneCodeMax = 100;
|
|
165
|
+
export const createCommentResponseUserOneFirstNameMax = 255;
|
|
166
|
+
export const createCommentResponseUserOneLastNameMax = 255;
|
|
167
|
+
export const createCommentResponseUserOneFullNameMax = 255;
|
|
168
|
+
export const createCommentResponseUserOneEmployeeIdMax = 30;
|
|
98
169
|
export const createCommentResponseMentionedUsersItemEmailMax = 254;
|
|
99
170
|
export const createCommentResponseMentionedUsersItemCodeMax = 100;
|
|
100
171
|
export const createCommentResponseMentionedUsersItemFirstNameMax = 255;
|
|
101
172
|
export const createCommentResponseMentionedUsersItemLastNameMax = 255;
|
|
102
173
|
export const createCommentResponseMentionedUsersItemFullNameMax = 255;
|
|
103
174
|
export const createCommentResponseMentionedUsersItemEmployeeIdMax = 30;
|
|
104
|
-
export const
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
})
|
|
175
|
+
export const CreateCommentResponse = zod
|
|
176
|
+
.object({
|
|
177
|
+
id: zod.uuid().describe('UUID'),
|
|
178
|
+
body: zod.string().describe('本文'),
|
|
179
|
+
attachments: zod
|
|
180
|
+
.array(zod
|
|
181
|
+
.object({
|
|
182
|
+
signedId: zod.string().describe('署名済みID'),
|
|
183
|
+
filename: zod.string().describe('ファイル名'),
|
|
184
|
+
url: zod.url().describe('ファイルURL'),
|
|
185
|
+
})
|
|
186
|
+
.describe('添付ファイル'))
|
|
187
|
+
.describe('添付ファイル'),
|
|
188
|
+
createdAt: zod.iso.datetime({}).describe('作成日時'),
|
|
189
|
+
updatedAt: zod.iso.datetime({}).describe('更新日時'),
|
|
190
|
+
deletedAt: zod.iso.datetime({}).nullable().describe('削除日時'),
|
|
191
|
+
user: zod
|
|
192
|
+
.object({
|
|
193
|
+
id: zod.uuid().describe('UUID'),
|
|
194
|
+
email: zod
|
|
195
|
+
.email()
|
|
196
|
+
.max(createCommentResponseUserOneEmailMax)
|
|
197
|
+
.describe('メールアドレス'),
|
|
198
|
+
code: zod
|
|
199
|
+
.string()
|
|
200
|
+
.max(createCommentResponseUserOneCodeMax)
|
|
201
|
+
.describe('コード'),
|
|
202
|
+
firstName: zod
|
|
203
|
+
.string()
|
|
204
|
+
.max(createCommentResponseUserOneFirstNameMax)
|
|
205
|
+
.describe('名'),
|
|
206
|
+
lastName: zod
|
|
207
|
+
.string()
|
|
208
|
+
.max(createCommentResponseUserOneLastNameMax)
|
|
209
|
+
.describe('姓'),
|
|
210
|
+
fullName: zod
|
|
211
|
+
.string()
|
|
212
|
+
.max(createCommentResponseUserOneFullNameMax)
|
|
213
|
+
.describe('フルネーム'),
|
|
214
|
+
employeeId: zod
|
|
215
|
+
.string()
|
|
216
|
+
.max(createCommentResponseUserOneEmployeeIdMax)
|
|
217
|
+
.nullish()
|
|
218
|
+
.describe('社員番号'),
|
|
219
|
+
image: zod
|
|
220
|
+
.object({
|
|
221
|
+
'100x100': zod.string().nullable(),
|
|
222
|
+
'64x64': zod.string().nullable(),
|
|
223
|
+
'32x32': zod.string().nullable(),
|
|
224
|
+
})
|
|
225
|
+
.describe('ユーザー画像のURL。サイズごとに複数のURLを返します。'),
|
|
226
|
+
status: zod
|
|
227
|
+
.enum(['invited', 'activated', 'suspended', 'deactivated'])
|
|
228
|
+
.describe('ステータス'),
|
|
229
|
+
locale: zod.string().describe('ロケール(jaまたはen)'),
|
|
230
|
+
createdAt: zod.iso.datetime({}).describe('作成日時'),
|
|
231
|
+
updatedAt: zod.iso.datetime({}).describe('更新日時'),
|
|
232
|
+
deactivatedAt: zod.iso.datetime({}).nullish().describe('削除日時'),
|
|
233
|
+
})
|
|
234
|
+
.describe('ユーザー'),
|
|
235
|
+
mentionedUsers: zod
|
|
236
|
+
.array(zod
|
|
237
|
+
.object({
|
|
238
|
+
id: zod.uuid().describe('UUID'),
|
|
239
|
+
email: zod
|
|
240
|
+
.email()
|
|
241
|
+
.max(createCommentResponseMentionedUsersItemEmailMax)
|
|
242
|
+
.describe('メールアドレス'),
|
|
243
|
+
code: zod
|
|
244
|
+
.string()
|
|
245
|
+
.max(createCommentResponseMentionedUsersItemCodeMax)
|
|
246
|
+
.describe('コード'),
|
|
247
|
+
firstName: zod
|
|
248
|
+
.string()
|
|
249
|
+
.max(createCommentResponseMentionedUsersItemFirstNameMax)
|
|
250
|
+
.describe('名'),
|
|
251
|
+
lastName: zod
|
|
252
|
+
.string()
|
|
253
|
+
.max(createCommentResponseMentionedUsersItemLastNameMax)
|
|
254
|
+
.describe('姓'),
|
|
255
|
+
fullName: zod
|
|
256
|
+
.string()
|
|
257
|
+
.max(createCommentResponseMentionedUsersItemFullNameMax)
|
|
258
|
+
.describe('フルネーム'),
|
|
259
|
+
employeeId: zod
|
|
260
|
+
.string()
|
|
261
|
+
.max(createCommentResponseMentionedUsersItemEmployeeIdMax)
|
|
262
|
+
.nullish()
|
|
263
|
+
.describe('社員番号'),
|
|
264
|
+
image: zod
|
|
265
|
+
.object({
|
|
266
|
+
'100x100': zod.string().nullable(),
|
|
267
|
+
'64x64': zod.string().nullable(),
|
|
268
|
+
'32x32': zod.string().nullable(),
|
|
269
|
+
})
|
|
270
|
+
.describe('ユーザー画像のURL。サイズごとに複数のURLを返します。'),
|
|
271
|
+
status: zod
|
|
272
|
+
.enum(['invited', 'activated', 'suspended', 'deactivated'])
|
|
273
|
+
.describe('ステータス'),
|
|
274
|
+
locale: zod.string().describe('ロケール(jaまたはen)'),
|
|
275
|
+
createdAt: zod.iso.datetime({}).describe('作成日時'),
|
|
276
|
+
updatedAt: zod.iso.datetime({}).describe('更新日時'),
|
|
277
|
+
deactivatedAt: zod.iso.datetime({}).nullish().describe('削除日時'),
|
|
278
|
+
})
|
|
279
|
+
.describe('ユーザー'))
|
|
280
|
+
.describe('メンションしたユーザーの配列'),
|
|
281
|
+
})
|
|
282
|
+
.describe('コメント');
|
|
154
283
|
/**
|
|
155
284
|
* チケットのコメントを取得します。
|
|
156
285
|
* @summary コメントを取得
|
|
157
286
|
*/
|
|
158
|
-
export const
|
|
159
|
-
|
|
160
|
-
|
|
287
|
+
export const GetCommentParams = zod.object({
|
|
288
|
+
ticketId: zod.uuid().describe('チケットのUUID'),
|
|
289
|
+
commentId: zod.uuid().describe('コメントのUUID'),
|
|
161
290
|
});
|
|
162
|
-
export const
|
|
163
|
-
export const
|
|
164
|
-
export const
|
|
165
|
-
export const
|
|
166
|
-
export const
|
|
167
|
-
export const
|
|
291
|
+
export const getCommentResponseUserOneEmailMax = 254;
|
|
292
|
+
export const getCommentResponseUserOneCodeMax = 100;
|
|
293
|
+
export const getCommentResponseUserOneFirstNameMax = 255;
|
|
294
|
+
export const getCommentResponseUserOneLastNameMax = 255;
|
|
295
|
+
export const getCommentResponseUserOneFullNameMax = 255;
|
|
296
|
+
export const getCommentResponseUserOneEmployeeIdMax = 30;
|
|
168
297
|
export const getCommentResponseMentionedUsersItemEmailMax = 254;
|
|
169
298
|
export const getCommentResponseMentionedUsersItemCodeMax = 100;
|
|
170
299
|
export const getCommentResponseMentionedUsersItemFirstNameMax = 255;
|
|
171
300
|
export const getCommentResponseMentionedUsersItemLastNameMax = 255;
|
|
172
301
|
export const getCommentResponseMentionedUsersItemFullNameMax = 255;
|
|
173
302
|
export const getCommentResponseMentionedUsersItemEmployeeIdMax = 30;
|
|
174
|
-
export const
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
})
|
|
303
|
+
export const GetCommentResponse = zod
|
|
304
|
+
.object({
|
|
305
|
+
id: zod.uuid().describe('UUID'),
|
|
306
|
+
body: zod.string().describe('本文'),
|
|
307
|
+
attachments: zod
|
|
308
|
+
.array(zod
|
|
309
|
+
.object({
|
|
310
|
+
signedId: zod.string().describe('署名済みID'),
|
|
311
|
+
filename: zod.string().describe('ファイル名'),
|
|
312
|
+
url: zod.url().describe('ファイルURL'),
|
|
313
|
+
})
|
|
314
|
+
.describe('添付ファイル'))
|
|
315
|
+
.describe('添付ファイル'),
|
|
316
|
+
createdAt: zod.iso.datetime({}).describe('作成日時'),
|
|
317
|
+
updatedAt: zod.iso.datetime({}).describe('更新日時'),
|
|
318
|
+
deletedAt: zod.iso.datetime({}).nullable().describe('削除日時'),
|
|
319
|
+
user: zod
|
|
320
|
+
.object({
|
|
321
|
+
id: zod.uuid().describe('UUID'),
|
|
322
|
+
email: zod
|
|
323
|
+
.email()
|
|
324
|
+
.max(getCommentResponseUserOneEmailMax)
|
|
325
|
+
.describe('メールアドレス'),
|
|
326
|
+
code: zod
|
|
327
|
+
.string()
|
|
328
|
+
.max(getCommentResponseUserOneCodeMax)
|
|
329
|
+
.describe('コード'),
|
|
330
|
+
firstName: zod
|
|
331
|
+
.string()
|
|
332
|
+
.max(getCommentResponseUserOneFirstNameMax)
|
|
333
|
+
.describe('名'),
|
|
334
|
+
lastName: zod
|
|
335
|
+
.string()
|
|
336
|
+
.max(getCommentResponseUserOneLastNameMax)
|
|
337
|
+
.describe('姓'),
|
|
338
|
+
fullName: zod
|
|
339
|
+
.string()
|
|
340
|
+
.max(getCommentResponseUserOneFullNameMax)
|
|
341
|
+
.describe('フルネーム'),
|
|
342
|
+
employeeId: zod
|
|
343
|
+
.string()
|
|
344
|
+
.max(getCommentResponseUserOneEmployeeIdMax)
|
|
345
|
+
.nullish()
|
|
346
|
+
.describe('社員番号'),
|
|
347
|
+
image: zod
|
|
348
|
+
.object({
|
|
349
|
+
'100x100': zod.string().nullable(),
|
|
350
|
+
'64x64': zod.string().nullable(),
|
|
351
|
+
'32x32': zod.string().nullable(),
|
|
352
|
+
})
|
|
353
|
+
.describe('ユーザー画像のURL。サイズごとに複数のURLを返します。'),
|
|
354
|
+
status: zod
|
|
355
|
+
.enum(['invited', 'activated', 'suspended', 'deactivated'])
|
|
356
|
+
.describe('ステータス'),
|
|
357
|
+
locale: zod.string().describe('ロケール(jaまたはen)'),
|
|
358
|
+
createdAt: zod.iso.datetime({}).describe('作成日時'),
|
|
359
|
+
updatedAt: zod.iso.datetime({}).describe('更新日時'),
|
|
360
|
+
deactivatedAt: zod.iso.datetime({}).nullish().describe('削除日時'),
|
|
361
|
+
})
|
|
362
|
+
.describe('ユーザー'),
|
|
363
|
+
mentionedUsers: zod
|
|
364
|
+
.array(zod
|
|
365
|
+
.object({
|
|
366
|
+
id: zod.uuid().describe('UUID'),
|
|
367
|
+
email: zod
|
|
368
|
+
.email()
|
|
369
|
+
.max(getCommentResponseMentionedUsersItemEmailMax)
|
|
370
|
+
.describe('メールアドレス'),
|
|
371
|
+
code: zod
|
|
372
|
+
.string()
|
|
373
|
+
.max(getCommentResponseMentionedUsersItemCodeMax)
|
|
374
|
+
.describe('コード'),
|
|
375
|
+
firstName: zod
|
|
376
|
+
.string()
|
|
377
|
+
.max(getCommentResponseMentionedUsersItemFirstNameMax)
|
|
378
|
+
.describe('名'),
|
|
379
|
+
lastName: zod
|
|
380
|
+
.string()
|
|
381
|
+
.max(getCommentResponseMentionedUsersItemLastNameMax)
|
|
382
|
+
.describe('姓'),
|
|
383
|
+
fullName: zod
|
|
384
|
+
.string()
|
|
385
|
+
.max(getCommentResponseMentionedUsersItemFullNameMax)
|
|
386
|
+
.describe('フルネーム'),
|
|
387
|
+
employeeId: zod
|
|
388
|
+
.string()
|
|
389
|
+
.max(getCommentResponseMentionedUsersItemEmployeeIdMax)
|
|
390
|
+
.nullish()
|
|
391
|
+
.describe('社員番号'),
|
|
392
|
+
image: zod
|
|
393
|
+
.object({
|
|
394
|
+
'100x100': zod.string().nullable(),
|
|
395
|
+
'64x64': zod.string().nullable(),
|
|
396
|
+
'32x32': zod.string().nullable(),
|
|
397
|
+
})
|
|
398
|
+
.describe('ユーザー画像のURL。サイズごとに複数のURLを返します。'),
|
|
399
|
+
status: zod
|
|
400
|
+
.enum(['invited', 'activated', 'suspended', 'deactivated'])
|
|
401
|
+
.describe('ステータス'),
|
|
402
|
+
locale: zod.string().describe('ロケール(jaまたはen)'),
|
|
403
|
+
createdAt: zod.iso.datetime({}).describe('作成日時'),
|
|
404
|
+
updatedAt: zod.iso.datetime({}).describe('更新日時'),
|
|
405
|
+
deactivatedAt: zod.iso.datetime({}).nullish().describe('削除日時'),
|
|
406
|
+
})
|
|
407
|
+
.describe('ユーザー'))
|
|
408
|
+
.describe('メンションしたユーザーの配列'),
|
|
409
|
+
})
|
|
410
|
+
.describe('コメント');
|
|
224
411
|
/**
|
|
225
412
|
* チケットのコメントを更新します。添付ファイルは更新できません。
|
|
226
413
|
* @summary コメントを更新
|
|
227
414
|
*/
|
|
228
|
-
export const
|
|
229
|
-
|
|
230
|
-
|
|
415
|
+
export const UpdateCommentParams = zod.object({
|
|
416
|
+
ticketId: zod.uuid().describe('チケットのUUID'),
|
|
417
|
+
commentId: zod.uuid().describe('コメントのUUID'),
|
|
231
418
|
});
|
|
232
|
-
export const
|
|
233
|
-
|
|
419
|
+
export const UpdateCommentBody = zod.object({
|
|
420
|
+
body: zod.string().describe('本文'),
|
|
234
421
|
});
|
|
235
|
-
export const
|
|
236
|
-
export const
|
|
237
|
-
export const
|
|
238
|
-
export const
|
|
239
|
-
export const
|
|
240
|
-
export const
|
|
422
|
+
export const updateCommentResponseUserOneEmailMax = 254;
|
|
423
|
+
export const updateCommentResponseUserOneCodeMax = 100;
|
|
424
|
+
export const updateCommentResponseUserOneFirstNameMax = 255;
|
|
425
|
+
export const updateCommentResponseUserOneLastNameMax = 255;
|
|
426
|
+
export const updateCommentResponseUserOneFullNameMax = 255;
|
|
427
|
+
export const updateCommentResponseUserOneEmployeeIdMax = 30;
|
|
241
428
|
export const updateCommentResponseMentionedUsersItemEmailMax = 254;
|
|
242
429
|
export const updateCommentResponseMentionedUsersItemCodeMax = 100;
|
|
243
430
|
export const updateCommentResponseMentionedUsersItemFirstNameMax = 255;
|
|
244
431
|
export const updateCommentResponseMentionedUsersItemLastNameMax = 255;
|
|
245
432
|
export const updateCommentResponseMentionedUsersItemFullNameMax = 255;
|
|
246
433
|
export const updateCommentResponseMentionedUsersItemEmployeeIdMax = 30;
|
|
247
|
-
export const
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
})
|
|
434
|
+
export const UpdateCommentResponse = zod
|
|
435
|
+
.object({
|
|
436
|
+
id: zod.uuid().describe('UUID'),
|
|
437
|
+
body: zod.string().describe('本文'),
|
|
438
|
+
attachments: zod
|
|
439
|
+
.array(zod
|
|
440
|
+
.object({
|
|
441
|
+
signedId: zod.string().describe('署名済みID'),
|
|
442
|
+
filename: zod.string().describe('ファイル名'),
|
|
443
|
+
url: zod.url().describe('ファイルURL'),
|
|
444
|
+
})
|
|
445
|
+
.describe('添付ファイル'))
|
|
446
|
+
.describe('添付ファイル'),
|
|
447
|
+
createdAt: zod.iso.datetime({}).describe('作成日時'),
|
|
448
|
+
updatedAt: zod.iso.datetime({}).describe('更新日時'),
|
|
449
|
+
deletedAt: zod.iso.datetime({}).nullable().describe('削除日時'),
|
|
450
|
+
user: zod
|
|
451
|
+
.object({
|
|
452
|
+
id: zod.uuid().describe('UUID'),
|
|
453
|
+
email: zod
|
|
454
|
+
.email()
|
|
455
|
+
.max(updateCommentResponseUserOneEmailMax)
|
|
456
|
+
.describe('メールアドレス'),
|
|
457
|
+
code: zod
|
|
458
|
+
.string()
|
|
459
|
+
.max(updateCommentResponseUserOneCodeMax)
|
|
460
|
+
.describe('コード'),
|
|
461
|
+
firstName: zod
|
|
462
|
+
.string()
|
|
463
|
+
.max(updateCommentResponseUserOneFirstNameMax)
|
|
464
|
+
.describe('名'),
|
|
465
|
+
lastName: zod
|
|
466
|
+
.string()
|
|
467
|
+
.max(updateCommentResponseUserOneLastNameMax)
|
|
468
|
+
.describe('姓'),
|
|
469
|
+
fullName: zod
|
|
470
|
+
.string()
|
|
471
|
+
.max(updateCommentResponseUserOneFullNameMax)
|
|
472
|
+
.describe('フルネーム'),
|
|
473
|
+
employeeId: zod
|
|
474
|
+
.string()
|
|
475
|
+
.max(updateCommentResponseUserOneEmployeeIdMax)
|
|
476
|
+
.nullish()
|
|
477
|
+
.describe('社員番号'),
|
|
478
|
+
image: zod
|
|
479
|
+
.object({
|
|
480
|
+
'100x100': zod.string().nullable(),
|
|
481
|
+
'64x64': zod.string().nullable(),
|
|
482
|
+
'32x32': zod.string().nullable(),
|
|
483
|
+
})
|
|
484
|
+
.describe('ユーザー画像のURL。サイズごとに複数のURLを返します。'),
|
|
485
|
+
status: zod
|
|
486
|
+
.enum(['invited', 'activated', 'suspended', 'deactivated'])
|
|
487
|
+
.describe('ステータス'),
|
|
488
|
+
locale: zod.string().describe('ロケール(jaまたはen)'),
|
|
489
|
+
createdAt: zod.iso.datetime({}).describe('作成日時'),
|
|
490
|
+
updatedAt: zod.iso.datetime({}).describe('更新日時'),
|
|
491
|
+
deactivatedAt: zod.iso.datetime({}).nullish().describe('削除日時'),
|
|
492
|
+
})
|
|
493
|
+
.describe('ユーザー'),
|
|
494
|
+
mentionedUsers: zod
|
|
495
|
+
.array(zod
|
|
496
|
+
.object({
|
|
497
|
+
id: zod.uuid().describe('UUID'),
|
|
498
|
+
email: zod
|
|
499
|
+
.email()
|
|
500
|
+
.max(updateCommentResponseMentionedUsersItemEmailMax)
|
|
501
|
+
.describe('メールアドレス'),
|
|
502
|
+
code: zod
|
|
503
|
+
.string()
|
|
504
|
+
.max(updateCommentResponseMentionedUsersItemCodeMax)
|
|
505
|
+
.describe('コード'),
|
|
506
|
+
firstName: zod
|
|
507
|
+
.string()
|
|
508
|
+
.max(updateCommentResponseMentionedUsersItemFirstNameMax)
|
|
509
|
+
.describe('名'),
|
|
510
|
+
lastName: zod
|
|
511
|
+
.string()
|
|
512
|
+
.max(updateCommentResponseMentionedUsersItemLastNameMax)
|
|
513
|
+
.describe('姓'),
|
|
514
|
+
fullName: zod
|
|
515
|
+
.string()
|
|
516
|
+
.max(updateCommentResponseMentionedUsersItemFullNameMax)
|
|
517
|
+
.describe('フルネーム'),
|
|
518
|
+
employeeId: zod
|
|
519
|
+
.string()
|
|
520
|
+
.max(updateCommentResponseMentionedUsersItemEmployeeIdMax)
|
|
521
|
+
.nullish()
|
|
522
|
+
.describe('社員番号'),
|
|
523
|
+
image: zod
|
|
524
|
+
.object({
|
|
525
|
+
'100x100': zod.string().nullable(),
|
|
526
|
+
'64x64': zod.string().nullable(),
|
|
527
|
+
'32x32': zod.string().nullable(),
|
|
528
|
+
})
|
|
529
|
+
.describe('ユーザー画像のURL。サイズごとに複数のURLを返します。'),
|
|
530
|
+
status: zod
|
|
531
|
+
.enum(['invited', 'activated', 'suspended', 'deactivated'])
|
|
532
|
+
.describe('ステータス'),
|
|
533
|
+
locale: zod.string().describe('ロケール(jaまたはen)'),
|
|
534
|
+
createdAt: zod.iso.datetime({}).describe('作成日時'),
|
|
535
|
+
updatedAt: zod.iso.datetime({}).describe('更新日時'),
|
|
536
|
+
deactivatedAt: zod.iso.datetime({}).nullish().describe('削除日時'),
|
|
537
|
+
})
|
|
538
|
+
.describe('ユーザー'))
|
|
539
|
+
.describe('メンションしたユーザーの配列'),
|
|
540
|
+
})
|
|
541
|
+
.describe('コメント');
|
|
297
542
|
/**
|
|
298
543
|
* チケットのコメントを削除します。
|
|
299
544
|
* @summary コメントを削除
|
|
300
545
|
*/
|
|
301
|
-
export const
|
|
302
|
-
|
|
303
|
-
|
|
546
|
+
export const DeleteCommentParams = zod.object({
|
|
547
|
+
ticketId: zod.uuid().describe('チケットのUUID'),
|
|
548
|
+
commentId: zod.uuid().describe('コメントのUUID'),
|
|
304
549
|
});
|
|
305
550
|
//# sourceMappingURL=comment.zod.js.map
|