@kickflow/mcp-server 1.0.5 → 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 +1282 -1715
- package/dist/kickflow-api/generated/kickflowRESTAPIV1.schemas.js +44 -105
- 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 +96 -96
- 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 +9012 -9010
- package/dist/kickflow-api/generated/ticket/ticket.zod.js +130998 -41639
- 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 +178 -178
- 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 +9 -9
|
@@ -8,9 +8,18 @@ import * as zod from 'zod';
|
|
|
8
8
|
export const listProxyApproversQueryPageDefault = 1;
|
|
9
9
|
export const listProxyApproversQueryPerPageDefault = 25;
|
|
10
10
|
export const listProxyApproversQueryPerPageMax = 100;
|
|
11
|
-
export const
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
export const ListProxyApproversQueryParams = zod.object({
|
|
12
|
+
page: zod
|
|
13
|
+
.number()
|
|
14
|
+
.min(1)
|
|
15
|
+
.default(listProxyApproversQueryPageDefault)
|
|
16
|
+
.describe('ページ'),
|
|
17
|
+
perPage: zod
|
|
18
|
+
.number()
|
|
19
|
+
.min(1)
|
|
20
|
+
.max(listProxyApproversQueryPerPageMax)
|
|
21
|
+
.default(listProxyApproversQueryPerPageDefault)
|
|
22
|
+
.describe('1ページあたりの件数'),
|
|
14
23
|
});
|
|
15
24
|
export const listProxyApproversResponseUserEmailMax = 254;
|
|
16
25
|
export const listProxyApproversResponseUserCodeMax = 100;
|
|
@@ -28,157 +37,349 @@ export const listProxyApproversResponseWorkflowsItemCodeRegExp = new RegExp('^[a
|
|
|
28
37
|
export const listProxyApproversResponseWorkflowsItemPublicTicketDefault = false;
|
|
29
38
|
export const listProxyApproversResponseWorkflowsItemVisibleToTeamMembersDefault = false;
|
|
30
39
|
export const listProxyApproversResponseWorkflowsItemAllowEditingOfViewersDefault = true;
|
|
31
|
-
export const
|
|
32
|
-
export const
|
|
33
|
-
export const
|
|
34
|
-
export const
|
|
35
|
-
export const
|
|
36
|
-
export const
|
|
37
|
-
export const
|
|
38
|
-
export const
|
|
39
|
-
export const
|
|
40
|
-
export const
|
|
41
|
-
export const
|
|
42
|
-
export const
|
|
43
|
-
export const
|
|
44
|
-
export const
|
|
45
|
-
export const
|
|
46
|
-
export const
|
|
47
|
-
export const
|
|
40
|
+
export const listProxyApproversResponseWorkflowsItemAuthorOneEmailMax = 254;
|
|
41
|
+
export const listProxyApproversResponseWorkflowsItemAuthorOneCodeMax = 100;
|
|
42
|
+
export const listProxyApproversResponseWorkflowsItemAuthorOneFirstNameMax = 255;
|
|
43
|
+
export const listProxyApproversResponseWorkflowsItemAuthorOneLastNameMax = 255;
|
|
44
|
+
export const listProxyApproversResponseWorkflowsItemAuthorOneFullNameMax = 255;
|
|
45
|
+
export const listProxyApproversResponseWorkflowsItemAuthorOneEmployeeIdMax = 30;
|
|
46
|
+
export const listProxyApproversResponseWorkflowsItemVersionAuthorOneEmailMax = 254;
|
|
47
|
+
export const listProxyApproversResponseWorkflowsItemVersionAuthorOneCodeMax = 100;
|
|
48
|
+
export const listProxyApproversResponseWorkflowsItemVersionAuthorOneFirstNameMax = 255;
|
|
49
|
+
export const listProxyApproversResponseWorkflowsItemVersionAuthorOneLastNameMax = 255;
|
|
50
|
+
export const listProxyApproversResponseWorkflowsItemVersionAuthorOneFullNameMax = 255;
|
|
51
|
+
export const listProxyApproversResponseWorkflowsItemVersionAuthorOneEmployeeIdMax = 30;
|
|
52
|
+
export const listProxyApproversResponseWorkflowsItemFolderOneNameMax = 300;
|
|
53
|
+
export const listProxyApproversResponseWorkflowsItemFolderOneCodeMax = 100;
|
|
54
|
+
export const listProxyApproversResponseWorkflowsItemFolderOneWorkflowsCountMin = 0;
|
|
55
|
+
export const listProxyApproversResponseWorkflowsItemFolderOneRoutesCountMin = 0;
|
|
56
|
+
export const listProxyApproversResponseWorkflowsItemFolderOnePipelinesCountMin = 0;
|
|
48
57
|
export const listProxyApproversResponseWorkflowsItemCategoriesItemNameMax = 100;
|
|
49
|
-
export const
|
|
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
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
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
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
58
|
+
export const ListProxyApproversResponseItem = zod
|
|
59
|
+
.object({
|
|
60
|
+
id: zod.uuid().describe('UUID'),
|
|
61
|
+
createdAt: zod.iso.datetime({}).describe('作成日時'),
|
|
62
|
+
updatedAt: zod.iso.datetime({}).describe('更新日時'),
|
|
63
|
+
user: zod
|
|
64
|
+
.object({
|
|
65
|
+
id: zod.uuid().describe('UUID'),
|
|
66
|
+
email: zod
|
|
67
|
+
.email()
|
|
68
|
+
.max(listProxyApproversResponseUserEmailMax)
|
|
69
|
+
.describe('メールアドレス'),
|
|
70
|
+
code: zod
|
|
71
|
+
.string()
|
|
72
|
+
.max(listProxyApproversResponseUserCodeMax)
|
|
73
|
+
.describe('コード'),
|
|
74
|
+
firstName: zod
|
|
75
|
+
.string()
|
|
76
|
+
.max(listProxyApproversResponseUserFirstNameMax)
|
|
77
|
+
.describe('名'),
|
|
78
|
+
lastName: zod
|
|
79
|
+
.string()
|
|
80
|
+
.max(listProxyApproversResponseUserLastNameMax)
|
|
81
|
+
.describe('姓'),
|
|
82
|
+
fullName: zod
|
|
83
|
+
.string()
|
|
84
|
+
.max(listProxyApproversResponseUserFullNameMax)
|
|
85
|
+
.describe('フルネーム'),
|
|
86
|
+
employeeId: zod
|
|
87
|
+
.string()
|
|
88
|
+
.max(listProxyApproversResponseUserEmployeeIdMax)
|
|
89
|
+
.nullish()
|
|
90
|
+
.describe('社員番号'),
|
|
91
|
+
image: zod
|
|
92
|
+
.object({
|
|
93
|
+
'100x100': zod.string().nullable(),
|
|
94
|
+
'64x64': zod.string().nullable(),
|
|
95
|
+
'32x32': zod.string().nullable(),
|
|
96
|
+
})
|
|
97
|
+
.describe('ユーザー画像のURL。サイズごとに複数のURLを返します。'),
|
|
98
|
+
status: zod
|
|
99
|
+
.enum(['invited', 'activated', 'suspended', 'deactivated'])
|
|
100
|
+
.describe('ステータス'),
|
|
101
|
+
locale: zod.string().describe('ロケール(jaまたはen)'),
|
|
102
|
+
createdAt: zod.iso.datetime({}).describe('作成日時'),
|
|
103
|
+
updatedAt: zod.iso.datetime({}).describe('更新日時'),
|
|
104
|
+
deactivatedAt: zod.iso.datetime({}).nullish().describe('削除日時'),
|
|
105
|
+
})
|
|
106
|
+
.describe('ユーザー'),
|
|
107
|
+
proxyUser: zod
|
|
108
|
+
.object({
|
|
109
|
+
id: zod.uuid().describe('UUID'),
|
|
110
|
+
email: zod
|
|
111
|
+
.email()
|
|
112
|
+
.max(listProxyApproversResponseProxyUserEmailMax)
|
|
113
|
+
.describe('メールアドレス'),
|
|
114
|
+
code: zod
|
|
115
|
+
.string()
|
|
116
|
+
.max(listProxyApproversResponseProxyUserCodeMax)
|
|
117
|
+
.describe('コード'),
|
|
118
|
+
firstName: zod
|
|
119
|
+
.string()
|
|
120
|
+
.max(listProxyApproversResponseProxyUserFirstNameMax)
|
|
121
|
+
.describe('名'),
|
|
122
|
+
lastName: zod
|
|
123
|
+
.string()
|
|
124
|
+
.max(listProxyApproversResponseProxyUserLastNameMax)
|
|
125
|
+
.describe('姓'),
|
|
126
|
+
fullName: zod
|
|
127
|
+
.string()
|
|
128
|
+
.max(listProxyApproversResponseProxyUserFullNameMax)
|
|
129
|
+
.describe('フルネーム'),
|
|
130
|
+
employeeId: zod
|
|
131
|
+
.string()
|
|
132
|
+
.max(listProxyApproversResponseProxyUserEmployeeIdMax)
|
|
133
|
+
.nullish()
|
|
134
|
+
.describe('社員番号'),
|
|
135
|
+
image: zod
|
|
136
|
+
.object({
|
|
137
|
+
'100x100': zod.string().nullable(),
|
|
138
|
+
'64x64': zod.string().nullable(),
|
|
139
|
+
'32x32': zod.string().nullable(),
|
|
140
|
+
})
|
|
141
|
+
.describe('ユーザー画像のURL。サイズごとに複数のURLを返します。'),
|
|
142
|
+
status: zod
|
|
143
|
+
.enum(['invited', 'activated', 'suspended', 'deactivated'])
|
|
144
|
+
.describe('ステータス'),
|
|
145
|
+
locale: zod.string().describe('ロケール(jaまたはen)'),
|
|
146
|
+
createdAt: zod.iso.datetime({}).describe('作成日時'),
|
|
147
|
+
updatedAt: zod.iso.datetime({}).describe('更新日時'),
|
|
148
|
+
deactivatedAt: zod.iso.datetime({}).nullish().describe('削除日時'),
|
|
149
|
+
})
|
|
150
|
+
.describe('ユーザー'),
|
|
151
|
+
startsOn: zod.iso.date().nullable().describe('開始日'),
|
|
152
|
+
endsOn: zod.iso.date().nullable().describe('終了日'),
|
|
153
|
+
workflows: zod
|
|
154
|
+
.array(zod
|
|
155
|
+
.object({
|
|
156
|
+
id: zod.string().describe('UUID'),
|
|
157
|
+
code: zod
|
|
158
|
+
.string()
|
|
159
|
+
.regex(listProxyApproversResponseWorkflowsItemCodeRegExp)
|
|
160
|
+
.describe('コード'),
|
|
161
|
+
versionId: zod.string().describe('バージョンのUUID'),
|
|
162
|
+
versionNumber: zod.number().describe('バージョン番号'),
|
|
163
|
+
name: zod.string().describe('名前'),
|
|
164
|
+
description: zod.string().describe('説明'),
|
|
165
|
+
status: zod
|
|
166
|
+
.enum(['visible', 'invisible', 'deleted'])
|
|
167
|
+
.describe('ステータス。visibleは有効、invisibleは無効、deletedは削除済み。'),
|
|
168
|
+
publicTicket: zod
|
|
169
|
+
.boolean()
|
|
170
|
+
.default(listProxyApproversResponseWorkflowsItemPublicTicketDefault)
|
|
171
|
+
.describe('チケットがテナント全体に共有される場合true'),
|
|
172
|
+
visibleToManager: zod
|
|
173
|
+
.enum(['none', 'direct', 'all'])
|
|
174
|
+
.describe('申請者の上長を共有ユーザーに追加するか。noneは追加しない、directは直属の上長のみ、allはすべての上長を表す。'),
|
|
175
|
+
visibleToTeamMembers: zod
|
|
176
|
+
.boolean()
|
|
177
|
+
.default(listProxyApproversResponseWorkflowsItemVisibleToTeamMembersDefault)
|
|
178
|
+
.describe('申請チームのメンバーが共有ユーザーに追加される場合true'),
|
|
179
|
+
titleDescription: zod
|
|
180
|
+
.string()
|
|
181
|
+
.nullable()
|
|
182
|
+
.describe('タイトルの説明'),
|
|
183
|
+
ticketNumberFormat: zod
|
|
184
|
+
.string()
|
|
185
|
+
.nullable()
|
|
186
|
+
.describe('チケット番号のフォーマット'),
|
|
187
|
+
overwritable: zod
|
|
188
|
+
.boolean()
|
|
189
|
+
.describe('承認者による上書きが可能な場合true'),
|
|
190
|
+
createdAt: zod.string().describe('作成日時'),
|
|
191
|
+
updatedAt: zod.string().describe('更新日時'),
|
|
192
|
+
titleInputMode: zod
|
|
193
|
+
.enum(['none', 'input', 'calculate'])
|
|
194
|
+
.describe('タイトル入力モード'),
|
|
195
|
+
titleFormula: zod.string().nullable().describe('タイトルの計算式'),
|
|
196
|
+
allowEditingOfViewers: zod
|
|
197
|
+
.boolean()
|
|
198
|
+
.default(listProxyApproversResponseWorkflowsItemAllowEditingOfViewersDefault)
|
|
199
|
+
.describe('共有ユーザーの編集が可能な場合true'),
|
|
200
|
+
author: zod
|
|
201
|
+
.union([
|
|
202
|
+
zod
|
|
203
|
+
.object({
|
|
204
|
+
id: zod.uuid().describe('UUID'),
|
|
205
|
+
email: zod
|
|
206
|
+
.email()
|
|
207
|
+
.max(listProxyApproversResponseWorkflowsItemAuthorOneEmailMax)
|
|
208
|
+
.describe('メールアドレス'),
|
|
209
|
+
code: zod
|
|
210
|
+
.string()
|
|
211
|
+
.max(listProxyApproversResponseWorkflowsItemAuthorOneCodeMax)
|
|
212
|
+
.describe('コード'),
|
|
213
|
+
firstName: zod
|
|
214
|
+
.string()
|
|
215
|
+
.max(listProxyApproversResponseWorkflowsItemAuthorOneFirstNameMax)
|
|
216
|
+
.describe('名'),
|
|
217
|
+
lastName: zod
|
|
218
|
+
.string()
|
|
219
|
+
.max(listProxyApproversResponseWorkflowsItemAuthorOneLastNameMax)
|
|
220
|
+
.describe('姓'),
|
|
221
|
+
fullName: zod
|
|
222
|
+
.string()
|
|
223
|
+
.max(listProxyApproversResponseWorkflowsItemAuthorOneFullNameMax)
|
|
224
|
+
.describe('フルネーム'),
|
|
225
|
+
employeeId: zod
|
|
226
|
+
.string()
|
|
227
|
+
.max(listProxyApproversResponseWorkflowsItemAuthorOneEmployeeIdMax)
|
|
228
|
+
.nullish()
|
|
229
|
+
.describe('社員番号'),
|
|
230
|
+
image: zod
|
|
231
|
+
.object({
|
|
232
|
+
'100x100': zod.string().nullable(),
|
|
233
|
+
'64x64': zod.string().nullable(),
|
|
234
|
+
'32x32': zod.string().nullable(),
|
|
235
|
+
})
|
|
236
|
+
.describe('ユーザー画像のURL。サイズごとに複数のURLを返します。'),
|
|
237
|
+
status: zod
|
|
238
|
+
.enum([
|
|
239
|
+
'invited',
|
|
240
|
+
'activated',
|
|
241
|
+
'suspended',
|
|
242
|
+
'deactivated',
|
|
243
|
+
])
|
|
244
|
+
.describe('ステータス'),
|
|
245
|
+
locale: zod.string().describe('ロケール(jaまたはen)'),
|
|
246
|
+
createdAt: zod.iso.datetime({}).describe('作成日時'),
|
|
247
|
+
updatedAt: zod.iso.datetime({}).describe('更新日時'),
|
|
248
|
+
deactivatedAt: zod.iso
|
|
249
|
+
.datetime({})
|
|
250
|
+
.nullish()
|
|
251
|
+
.describe('削除日時'),
|
|
252
|
+
})
|
|
253
|
+
.describe('ユーザー'),
|
|
254
|
+
zod.null(),
|
|
255
|
+
])
|
|
256
|
+
.describe('作成者'),
|
|
257
|
+
versionAuthor: zod
|
|
258
|
+
.union([
|
|
259
|
+
zod
|
|
260
|
+
.object({
|
|
261
|
+
id: zod.uuid().describe('UUID'),
|
|
262
|
+
email: zod
|
|
263
|
+
.email()
|
|
264
|
+
.max(listProxyApproversResponseWorkflowsItemVersionAuthorOneEmailMax)
|
|
265
|
+
.describe('メールアドレス'),
|
|
266
|
+
code: zod
|
|
267
|
+
.string()
|
|
268
|
+
.max(listProxyApproversResponseWorkflowsItemVersionAuthorOneCodeMax)
|
|
269
|
+
.describe('コード'),
|
|
270
|
+
firstName: zod
|
|
271
|
+
.string()
|
|
272
|
+
.max(listProxyApproversResponseWorkflowsItemVersionAuthorOneFirstNameMax)
|
|
273
|
+
.describe('名'),
|
|
274
|
+
lastName: zod
|
|
275
|
+
.string()
|
|
276
|
+
.max(listProxyApproversResponseWorkflowsItemVersionAuthorOneLastNameMax)
|
|
277
|
+
.describe('姓'),
|
|
278
|
+
fullName: zod
|
|
279
|
+
.string()
|
|
280
|
+
.max(listProxyApproversResponseWorkflowsItemVersionAuthorOneFullNameMax)
|
|
281
|
+
.describe('フルネーム'),
|
|
282
|
+
employeeId: zod
|
|
283
|
+
.string()
|
|
284
|
+
.max(listProxyApproversResponseWorkflowsItemVersionAuthorOneEmployeeIdMax)
|
|
285
|
+
.nullish()
|
|
286
|
+
.describe('社員番号'),
|
|
287
|
+
image: zod
|
|
288
|
+
.object({
|
|
289
|
+
'100x100': zod.string().nullable(),
|
|
290
|
+
'64x64': zod.string().nullable(),
|
|
291
|
+
'32x32': zod.string().nullable(),
|
|
292
|
+
})
|
|
293
|
+
.describe('ユーザー画像のURL。サイズごとに複数のURLを返します。'),
|
|
294
|
+
status: zod
|
|
295
|
+
.enum([
|
|
296
|
+
'invited',
|
|
297
|
+
'activated',
|
|
298
|
+
'suspended',
|
|
299
|
+
'deactivated',
|
|
300
|
+
])
|
|
301
|
+
.describe('ステータス'),
|
|
302
|
+
locale: zod.string().describe('ロケール(jaまたはen)'),
|
|
303
|
+
createdAt: zod.iso.datetime({}).describe('作成日時'),
|
|
304
|
+
updatedAt: zod.iso.datetime({}).describe('更新日時'),
|
|
305
|
+
deactivatedAt: zod.iso
|
|
306
|
+
.datetime({})
|
|
307
|
+
.nullish()
|
|
308
|
+
.describe('削除日時'),
|
|
309
|
+
})
|
|
310
|
+
.describe('ユーザー'),
|
|
311
|
+
zod.null(),
|
|
312
|
+
])
|
|
313
|
+
.describe('バージョン作成者'),
|
|
314
|
+
folder: zod
|
|
315
|
+
.object({
|
|
316
|
+
id: zod.uuid().describe('UUID'),
|
|
317
|
+
name: zod
|
|
318
|
+
.string()
|
|
319
|
+
.max(listProxyApproversResponseWorkflowsItemFolderOneNameMax)
|
|
320
|
+
.describe('名前'),
|
|
321
|
+
code: zod
|
|
322
|
+
.string()
|
|
323
|
+
.max(listProxyApproversResponseWorkflowsItemFolderOneCodeMax)
|
|
324
|
+
.describe('コード'),
|
|
325
|
+
description: zod.string().nullish().describe('説明'),
|
|
326
|
+
workflowsCount: zod
|
|
327
|
+
.number()
|
|
328
|
+
.min(listProxyApproversResponseWorkflowsItemFolderOneWorkflowsCountMin)
|
|
329
|
+
.describe('フォルダ内のワークフロー数'),
|
|
330
|
+
routesCount: zod
|
|
331
|
+
.number()
|
|
332
|
+
.min(listProxyApproversResponseWorkflowsItemFolderOneRoutesCountMin)
|
|
333
|
+
.describe('フォルダ内の経路数'),
|
|
334
|
+
pipelinesCount: zod
|
|
335
|
+
.number()
|
|
336
|
+
.min(listProxyApproversResponseWorkflowsItemFolderOnePipelinesCountMin)
|
|
337
|
+
.describe('フォルダ内のパイプライン数'),
|
|
338
|
+
createdAt: zod.iso.datetime({}).describe('作成日時'),
|
|
339
|
+
updatedAt: zod.iso.datetime({}).describe('更新日時'),
|
|
340
|
+
})
|
|
341
|
+
.describe('フォルダ')
|
|
342
|
+
.describe('フォルダ'),
|
|
343
|
+
categories: zod
|
|
344
|
+
.array(zod
|
|
345
|
+
.object({
|
|
346
|
+
id: zod.uuid().describe('UUID'),
|
|
347
|
+
name: zod
|
|
348
|
+
.string()
|
|
349
|
+
.max(listProxyApproversResponseWorkflowsItemCategoriesItemNameMax)
|
|
350
|
+
.describe('名前'),
|
|
351
|
+
createdAt: zod.iso.datetime({}).describe('作成日時'),
|
|
352
|
+
updatedAt: zod.iso.datetime({}).describe('更新日時'),
|
|
353
|
+
})
|
|
354
|
+
.describe('カテゴリ'))
|
|
355
|
+
.describe('カテゴリの配列'),
|
|
356
|
+
})
|
|
357
|
+
.describe('ワークフロー'))
|
|
358
|
+
.describe('対象ワークフロー'),
|
|
359
|
+
})
|
|
360
|
+
.describe('代理承認');
|
|
361
|
+
export const ListProxyApproversResponse = zod.array(ListProxyApproversResponseItem);
|
|
170
362
|
/**
|
|
171
363
|
* 代理承認を新規作成します。
|
|
172
364
|
|
|
173
365
|
このAPIの実行には、ユーザーの管理権限が必要です。ただし、自分の代理承認の設定をすべてのユーザーに許可している場合、管理権限は不要です。
|
|
174
366
|
* @summary 代理承認を作成
|
|
175
367
|
*/
|
|
176
|
-
export const
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
368
|
+
export const CreateProxyApproverBody = zod.object({
|
|
369
|
+
userId: zod.uuid().describe('代理されるユーザーID'),
|
|
370
|
+
proxyUserId: zod.uuid().describe('代理するユーザーID'),
|
|
371
|
+
startsOn: zod.iso
|
|
372
|
+
.date()
|
|
373
|
+
.nullish()
|
|
374
|
+
.describe('開始日。nullの場合、すでに始まっているものとして扱います。'),
|
|
375
|
+
endsOn: zod.iso
|
|
376
|
+
.date()
|
|
377
|
+
.nullish()
|
|
378
|
+
.describe('終了日。nullの場合、無期限として扱います。'),
|
|
379
|
+
workflowIds: zod
|
|
380
|
+
.array(zod.uuid())
|
|
381
|
+
.optional()
|
|
382
|
+
.describe('対象ワークフローのID'),
|
|
182
383
|
});
|
|
183
384
|
export const createProxyApproverResponseUserEmailMax = 254;
|
|
184
385
|
export const createProxyApproverResponseUserCodeMax = 100;
|
|
@@ -196,151 +397,334 @@ export const createProxyApproverResponseWorkflowsItemCodeRegExp = new RegExp('^[
|
|
|
196
397
|
export const createProxyApproverResponseWorkflowsItemPublicTicketDefault = false;
|
|
197
398
|
export const createProxyApproverResponseWorkflowsItemVisibleToTeamMembersDefault = false;
|
|
198
399
|
export const createProxyApproverResponseWorkflowsItemAllowEditingOfViewersDefault = true;
|
|
199
|
-
export const
|
|
200
|
-
export const
|
|
201
|
-
export const
|
|
202
|
-
export const
|
|
203
|
-
export const
|
|
204
|
-
export const
|
|
205
|
-
export const
|
|
206
|
-
export const
|
|
207
|
-
export const
|
|
208
|
-
export const
|
|
209
|
-
export const
|
|
210
|
-
export const
|
|
211
|
-
export const
|
|
212
|
-
export const
|
|
213
|
-
export const
|
|
214
|
-
export const
|
|
215
|
-
export const
|
|
400
|
+
export const createProxyApproverResponseWorkflowsItemAuthorOneEmailMax = 254;
|
|
401
|
+
export const createProxyApproverResponseWorkflowsItemAuthorOneCodeMax = 100;
|
|
402
|
+
export const createProxyApproverResponseWorkflowsItemAuthorOneFirstNameMax = 255;
|
|
403
|
+
export const createProxyApproverResponseWorkflowsItemAuthorOneLastNameMax = 255;
|
|
404
|
+
export const createProxyApproverResponseWorkflowsItemAuthorOneFullNameMax = 255;
|
|
405
|
+
export const createProxyApproverResponseWorkflowsItemAuthorOneEmployeeIdMax = 30;
|
|
406
|
+
export const createProxyApproverResponseWorkflowsItemVersionAuthorOneEmailMax = 254;
|
|
407
|
+
export const createProxyApproverResponseWorkflowsItemVersionAuthorOneCodeMax = 100;
|
|
408
|
+
export const createProxyApproverResponseWorkflowsItemVersionAuthorOneFirstNameMax = 255;
|
|
409
|
+
export const createProxyApproverResponseWorkflowsItemVersionAuthorOneLastNameMax = 255;
|
|
410
|
+
export const createProxyApproverResponseWorkflowsItemVersionAuthorOneFullNameMax = 255;
|
|
411
|
+
export const createProxyApproverResponseWorkflowsItemVersionAuthorOneEmployeeIdMax = 30;
|
|
412
|
+
export const createProxyApproverResponseWorkflowsItemFolderOneNameMax = 300;
|
|
413
|
+
export const createProxyApproverResponseWorkflowsItemFolderOneCodeMax = 100;
|
|
414
|
+
export const createProxyApproverResponseWorkflowsItemFolderOneWorkflowsCountMin = 0;
|
|
415
|
+
export const createProxyApproverResponseWorkflowsItemFolderOneRoutesCountMin = 0;
|
|
416
|
+
export const createProxyApproverResponseWorkflowsItemFolderOnePipelinesCountMin = 0;
|
|
216
417
|
export const createProxyApproverResponseWorkflowsItemCategoriesItemNameMax = 100;
|
|
217
|
-
export const
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
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
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
418
|
+
export const CreateProxyApproverResponse = zod
|
|
419
|
+
.object({
|
|
420
|
+
id: zod.uuid().describe('UUID'),
|
|
421
|
+
createdAt: zod.iso.datetime({}).describe('作成日時'),
|
|
422
|
+
updatedAt: zod.iso.datetime({}).describe('更新日時'),
|
|
423
|
+
user: zod
|
|
424
|
+
.object({
|
|
425
|
+
id: zod.uuid().describe('UUID'),
|
|
426
|
+
email: zod
|
|
427
|
+
.email()
|
|
428
|
+
.max(createProxyApproverResponseUserEmailMax)
|
|
429
|
+
.describe('メールアドレス'),
|
|
430
|
+
code: zod
|
|
431
|
+
.string()
|
|
432
|
+
.max(createProxyApproverResponseUserCodeMax)
|
|
433
|
+
.describe('コード'),
|
|
434
|
+
firstName: zod
|
|
435
|
+
.string()
|
|
436
|
+
.max(createProxyApproverResponseUserFirstNameMax)
|
|
437
|
+
.describe('名'),
|
|
438
|
+
lastName: zod
|
|
439
|
+
.string()
|
|
440
|
+
.max(createProxyApproverResponseUserLastNameMax)
|
|
441
|
+
.describe('姓'),
|
|
442
|
+
fullName: zod
|
|
443
|
+
.string()
|
|
444
|
+
.max(createProxyApproverResponseUserFullNameMax)
|
|
445
|
+
.describe('フルネーム'),
|
|
446
|
+
employeeId: zod
|
|
447
|
+
.string()
|
|
448
|
+
.max(createProxyApproverResponseUserEmployeeIdMax)
|
|
449
|
+
.nullish()
|
|
450
|
+
.describe('社員番号'),
|
|
451
|
+
image: zod
|
|
452
|
+
.object({
|
|
453
|
+
'100x100': zod.string().nullable(),
|
|
454
|
+
'64x64': zod.string().nullable(),
|
|
455
|
+
'32x32': zod.string().nullable(),
|
|
456
|
+
})
|
|
457
|
+
.describe('ユーザー画像のURL。サイズごとに複数のURLを返します。'),
|
|
458
|
+
status: zod
|
|
459
|
+
.enum(['invited', 'activated', 'suspended', 'deactivated'])
|
|
460
|
+
.describe('ステータス'),
|
|
461
|
+
locale: zod.string().describe('ロケール(jaまたはen)'),
|
|
462
|
+
createdAt: zod.iso.datetime({}).describe('作成日時'),
|
|
463
|
+
updatedAt: zod.iso.datetime({}).describe('更新日時'),
|
|
464
|
+
deactivatedAt: zod.iso.datetime({}).nullish().describe('削除日時'),
|
|
465
|
+
})
|
|
466
|
+
.describe('ユーザー'),
|
|
467
|
+
proxyUser: zod
|
|
468
|
+
.object({
|
|
469
|
+
id: zod.uuid().describe('UUID'),
|
|
470
|
+
email: zod
|
|
471
|
+
.email()
|
|
472
|
+
.max(createProxyApproverResponseProxyUserEmailMax)
|
|
473
|
+
.describe('メールアドレス'),
|
|
474
|
+
code: zod
|
|
475
|
+
.string()
|
|
476
|
+
.max(createProxyApproverResponseProxyUserCodeMax)
|
|
477
|
+
.describe('コード'),
|
|
478
|
+
firstName: zod
|
|
479
|
+
.string()
|
|
480
|
+
.max(createProxyApproverResponseProxyUserFirstNameMax)
|
|
481
|
+
.describe('名'),
|
|
482
|
+
lastName: zod
|
|
483
|
+
.string()
|
|
484
|
+
.max(createProxyApproverResponseProxyUserLastNameMax)
|
|
485
|
+
.describe('姓'),
|
|
486
|
+
fullName: zod
|
|
487
|
+
.string()
|
|
488
|
+
.max(createProxyApproverResponseProxyUserFullNameMax)
|
|
489
|
+
.describe('フルネーム'),
|
|
490
|
+
employeeId: zod
|
|
491
|
+
.string()
|
|
492
|
+
.max(createProxyApproverResponseProxyUserEmployeeIdMax)
|
|
493
|
+
.nullish()
|
|
494
|
+
.describe('社員番号'),
|
|
495
|
+
image: zod
|
|
496
|
+
.object({
|
|
497
|
+
'100x100': zod.string().nullable(),
|
|
498
|
+
'64x64': zod.string().nullable(),
|
|
499
|
+
'32x32': zod.string().nullable(),
|
|
500
|
+
})
|
|
501
|
+
.describe('ユーザー画像のURL。サイズごとに複数のURLを返します。'),
|
|
502
|
+
status: zod
|
|
503
|
+
.enum(['invited', 'activated', 'suspended', 'deactivated'])
|
|
504
|
+
.describe('ステータス'),
|
|
505
|
+
locale: zod.string().describe('ロケール(jaまたはen)'),
|
|
506
|
+
createdAt: zod.iso.datetime({}).describe('作成日時'),
|
|
507
|
+
updatedAt: zod.iso.datetime({}).describe('更新日時'),
|
|
508
|
+
deactivatedAt: zod.iso.datetime({}).nullish().describe('削除日時'),
|
|
509
|
+
})
|
|
510
|
+
.describe('ユーザー'),
|
|
511
|
+
startsOn: zod.iso.date().nullable().describe('開始日'),
|
|
512
|
+
endsOn: zod.iso.date().nullable().describe('終了日'),
|
|
513
|
+
workflows: zod
|
|
514
|
+
.array(zod
|
|
515
|
+
.object({
|
|
516
|
+
id: zod.string().describe('UUID'),
|
|
517
|
+
code: zod
|
|
518
|
+
.string()
|
|
519
|
+
.regex(createProxyApproverResponseWorkflowsItemCodeRegExp)
|
|
520
|
+
.describe('コード'),
|
|
521
|
+
versionId: zod.string().describe('バージョンのUUID'),
|
|
522
|
+
versionNumber: zod.number().describe('バージョン番号'),
|
|
523
|
+
name: zod.string().describe('名前'),
|
|
524
|
+
description: zod.string().describe('説明'),
|
|
525
|
+
status: zod
|
|
526
|
+
.enum(['visible', 'invisible', 'deleted'])
|
|
527
|
+
.describe('ステータス。visibleは有効、invisibleは無効、deletedは削除済み。'),
|
|
528
|
+
publicTicket: zod
|
|
529
|
+
.boolean()
|
|
530
|
+
.default(createProxyApproverResponseWorkflowsItemPublicTicketDefault)
|
|
531
|
+
.describe('チケットがテナント全体に共有される場合true'),
|
|
532
|
+
visibleToManager: zod
|
|
533
|
+
.enum(['none', 'direct', 'all'])
|
|
534
|
+
.describe('申請者の上長を共有ユーザーに追加するか。noneは追加しない、directは直属の上長のみ、allはすべての上長を表す。'),
|
|
535
|
+
visibleToTeamMembers: zod
|
|
536
|
+
.boolean()
|
|
537
|
+
.default(createProxyApproverResponseWorkflowsItemVisibleToTeamMembersDefault)
|
|
538
|
+
.describe('申請チームのメンバーが共有ユーザーに追加される場合true'),
|
|
539
|
+
titleDescription: zod
|
|
540
|
+
.string()
|
|
541
|
+
.nullable()
|
|
542
|
+
.describe('タイトルの説明'),
|
|
543
|
+
ticketNumberFormat: zod
|
|
544
|
+
.string()
|
|
545
|
+
.nullable()
|
|
546
|
+
.describe('チケット番号のフォーマット'),
|
|
547
|
+
overwritable: zod
|
|
548
|
+
.boolean()
|
|
549
|
+
.describe('承認者による上書きが可能な場合true'),
|
|
550
|
+
createdAt: zod.string().describe('作成日時'),
|
|
551
|
+
updatedAt: zod.string().describe('更新日時'),
|
|
552
|
+
titleInputMode: zod
|
|
553
|
+
.enum(['none', 'input', 'calculate'])
|
|
554
|
+
.describe('タイトル入力モード'),
|
|
555
|
+
titleFormula: zod.string().nullable().describe('タイトルの計算式'),
|
|
556
|
+
allowEditingOfViewers: zod
|
|
557
|
+
.boolean()
|
|
558
|
+
.default(createProxyApproverResponseWorkflowsItemAllowEditingOfViewersDefault)
|
|
559
|
+
.describe('共有ユーザーの編集が可能な場合true'),
|
|
560
|
+
author: zod
|
|
561
|
+
.union([
|
|
562
|
+
zod
|
|
563
|
+
.object({
|
|
564
|
+
id: zod.uuid().describe('UUID'),
|
|
565
|
+
email: zod
|
|
566
|
+
.email()
|
|
567
|
+
.max(createProxyApproverResponseWorkflowsItemAuthorOneEmailMax)
|
|
568
|
+
.describe('メールアドレス'),
|
|
569
|
+
code: zod
|
|
570
|
+
.string()
|
|
571
|
+
.max(createProxyApproverResponseWorkflowsItemAuthorOneCodeMax)
|
|
572
|
+
.describe('コード'),
|
|
573
|
+
firstName: zod
|
|
574
|
+
.string()
|
|
575
|
+
.max(createProxyApproverResponseWorkflowsItemAuthorOneFirstNameMax)
|
|
576
|
+
.describe('名'),
|
|
577
|
+
lastName: zod
|
|
578
|
+
.string()
|
|
579
|
+
.max(createProxyApproverResponseWorkflowsItemAuthorOneLastNameMax)
|
|
580
|
+
.describe('姓'),
|
|
581
|
+
fullName: zod
|
|
582
|
+
.string()
|
|
583
|
+
.max(createProxyApproverResponseWorkflowsItemAuthorOneFullNameMax)
|
|
584
|
+
.describe('フルネーム'),
|
|
585
|
+
employeeId: zod
|
|
586
|
+
.string()
|
|
587
|
+
.max(createProxyApproverResponseWorkflowsItemAuthorOneEmployeeIdMax)
|
|
588
|
+
.nullish()
|
|
589
|
+
.describe('社員番号'),
|
|
590
|
+
image: zod
|
|
591
|
+
.object({
|
|
592
|
+
'100x100': zod.string().nullable(),
|
|
593
|
+
'64x64': zod.string().nullable(),
|
|
594
|
+
'32x32': zod.string().nullable(),
|
|
595
|
+
})
|
|
596
|
+
.describe('ユーザー画像のURL。サイズごとに複数のURLを返します。'),
|
|
597
|
+
status: zod
|
|
598
|
+
.enum([
|
|
599
|
+
'invited',
|
|
600
|
+
'activated',
|
|
601
|
+
'suspended',
|
|
602
|
+
'deactivated',
|
|
603
|
+
])
|
|
604
|
+
.describe('ステータス'),
|
|
605
|
+
locale: zod.string().describe('ロケール(jaまたはen)'),
|
|
606
|
+
createdAt: zod.iso.datetime({}).describe('作成日時'),
|
|
607
|
+
updatedAt: zod.iso.datetime({}).describe('更新日時'),
|
|
608
|
+
deactivatedAt: zod.iso
|
|
609
|
+
.datetime({})
|
|
610
|
+
.nullish()
|
|
611
|
+
.describe('削除日時'),
|
|
612
|
+
})
|
|
613
|
+
.describe('ユーザー'),
|
|
614
|
+
zod.null(),
|
|
615
|
+
])
|
|
616
|
+
.describe('作成者'),
|
|
617
|
+
versionAuthor: zod
|
|
618
|
+
.union([
|
|
619
|
+
zod
|
|
620
|
+
.object({
|
|
621
|
+
id: zod.uuid().describe('UUID'),
|
|
622
|
+
email: zod
|
|
623
|
+
.email()
|
|
624
|
+
.max(createProxyApproverResponseWorkflowsItemVersionAuthorOneEmailMax)
|
|
625
|
+
.describe('メールアドレス'),
|
|
626
|
+
code: zod
|
|
627
|
+
.string()
|
|
628
|
+
.max(createProxyApproverResponseWorkflowsItemVersionAuthorOneCodeMax)
|
|
629
|
+
.describe('コード'),
|
|
630
|
+
firstName: zod
|
|
631
|
+
.string()
|
|
632
|
+
.max(createProxyApproverResponseWorkflowsItemVersionAuthorOneFirstNameMax)
|
|
633
|
+
.describe('名'),
|
|
634
|
+
lastName: zod
|
|
635
|
+
.string()
|
|
636
|
+
.max(createProxyApproverResponseWorkflowsItemVersionAuthorOneLastNameMax)
|
|
637
|
+
.describe('姓'),
|
|
638
|
+
fullName: zod
|
|
639
|
+
.string()
|
|
640
|
+
.max(createProxyApproverResponseWorkflowsItemVersionAuthorOneFullNameMax)
|
|
641
|
+
.describe('フルネーム'),
|
|
642
|
+
employeeId: zod
|
|
643
|
+
.string()
|
|
644
|
+
.max(createProxyApproverResponseWorkflowsItemVersionAuthorOneEmployeeIdMax)
|
|
645
|
+
.nullish()
|
|
646
|
+
.describe('社員番号'),
|
|
647
|
+
image: zod
|
|
648
|
+
.object({
|
|
649
|
+
'100x100': zod.string().nullable(),
|
|
650
|
+
'64x64': zod.string().nullable(),
|
|
651
|
+
'32x32': zod.string().nullable(),
|
|
652
|
+
})
|
|
653
|
+
.describe('ユーザー画像のURL。サイズごとに複数のURLを返します。'),
|
|
654
|
+
status: zod
|
|
655
|
+
.enum([
|
|
656
|
+
'invited',
|
|
657
|
+
'activated',
|
|
658
|
+
'suspended',
|
|
659
|
+
'deactivated',
|
|
660
|
+
])
|
|
661
|
+
.describe('ステータス'),
|
|
662
|
+
locale: zod.string().describe('ロケール(jaまたはen)'),
|
|
663
|
+
createdAt: zod.iso.datetime({}).describe('作成日時'),
|
|
664
|
+
updatedAt: zod.iso.datetime({}).describe('更新日時'),
|
|
665
|
+
deactivatedAt: zod.iso
|
|
666
|
+
.datetime({})
|
|
667
|
+
.nullish()
|
|
668
|
+
.describe('削除日時'),
|
|
669
|
+
})
|
|
670
|
+
.describe('ユーザー'),
|
|
671
|
+
zod.null(),
|
|
672
|
+
])
|
|
673
|
+
.describe('バージョン作成者'),
|
|
674
|
+
folder: zod
|
|
675
|
+
.object({
|
|
676
|
+
id: zod.uuid().describe('UUID'),
|
|
677
|
+
name: zod
|
|
678
|
+
.string()
|
|
679
|
+
.max(createProxyApproverResponseWorkflowsItemFolderOneNameMax)
|
|
680
|
+
.describe('名前'),
|
|
681
|
+
code: zod
|
|
682
|
+
.string()
|
|
683
|
+
.max(createProxyApproverResponseWorkflowsItemFolderOneCodeMax)
|
|
684
|
+
.describe('コード'),
|
|
685
|
+
description: zod.string().nullish().describe('説明'),
|
|
686
|
+
workflowsCount: zod
|
|
687
|
+
.number()
|
|
688
|
+
.min(createProxyApproverResponseWorkflowsItemFolderOneWorkflowsCountMin)
|
|
689
|
+
.describe('フォルダ内のワークフロー数'),
|
|
690
|
+
routesCount: zod
|
|
691
|
+
.number()
|
|
692
|
+
.min(createProxyApproverResponseWorkflowsItemFolderOneRoutesCountMin)
|
|
693
|
+
.describe('フォルダ内の経路数'),
|
|
694
|
+
pipelinesCount: zod
|
|
695
|
+
.number()
|
|
696
|
+
.min(createProxyApproverResponseWorkflowsItemFolderOnePipelinesCountMin)
|
|
697
|
+
.describe('フォルダ内のパイプライン数'),
|
|
698
|
+
createdAt: zod.iso.datetime({}).describe('作成日時'),
|
|
699
|
+
updatedAt: zod.iso.datetime({}).describe('更新日時'),
|
|
700
|
+
})
|
|
701
|
+
.describe('フォルダ')
|
|
702
|
+
.describe('フォルダ'),
|
|
703
|
+
categories: zod
|
|
704
|
+
.array(zod
|
|
705
|
+
.object({
|
|
706
|
+
id: zod.uuid().describe('UUID'),
|
|
707
|
+
name: zod
|
|
708
|
+
.string()
|
|
709
|
+
.max(createProxyApproverResponseWorkflowsItemCategoriesItemNameMax)
|
|
710
|
+
.describe('名前'),
|
|
711
|
+
createdAt: zod.iso.datetime({}).describe('作成日時'),
|
|
712
|
+
updatedAt: zod.iso.datetime({}).describe('更新日時'),
|
|
713
|
+
})
|
|
714
|
+
.describe('カテゴリ'))
|
|
715
|
+
.describe('カテゴリの配列'),
|
|
716
|
+
})
|
|
717
|
+
.describe('ワークフロー'))
|
|
718
|
+
.describe('対象ワークフロー'),
|
|
719
|
+
})
|
|
720
|
+
.describe('代理承認');
|
|
337
721
|
/**
|
|
338
722
|
* 指定した代理承認を削除します。
|
|
339
723
|
|
|
340
724
|
このAPIの実行には、ユーザーの管理権限が必要です。ただし、自分の代理承認の設定をすべてのユーザーに許可している場合、管理権限は不要です。
|
|
341
725
|
* @summary 代理承認を削除
|
|
342
726
|
*/
|
|
343
|
-
export const
|
|
344
|
-
|
|
727
|
+
export const DeleteProxyApproverParams = zod.object({
|
|
728
|
+
proxyApproverId: zod.uuid().describe('代理承認のUUID'),
|
|
345
729
|
});
|
|
346
730
|
//# sourceMappingURL=proxy-approver.zod.js.map
|