@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
|
@@ -7,11 +7,6 @@ export interface ErrorResponse {
|
|
|
7
7
|
/** エラーメッセージ */
|
|
8
8
|
message: string;
|
|
9
9
|
}
|
|
10
|
-
/**
|
|
11
|
-
* コード
|
|
12
|
-
* @maxLength 100
|
|
13
|
-
*/
|
|
14
|
-
export type GradeCode = string | null;
|
|
15
10
|
/**
|
|
16
11
|
* 役職
|
|
17
12
|
*/
|
|
@@ -32,8 +27,9 @@ export interface Grade {
|
|
|
32
27
|
/**
|
|
33
28
|
* コード
|
|
34
29
|
* @maxLength 100
|
|
30
|
+
* @nullable
|
|
35
31
|
*/
|
|
36
|
-
code:
|
|
32
|
+
code: string | null;
|
|
37
33
|
/** デフォルトの役職かどうか */
|
|
38
34
|
isDefault: boolean;
|
|
39
35
|
/** 作成日時 */
|
|
@@ -83,21 +79,16 @@ export interface GradeUpdateBody {
|
|
|
83
79
|
*/
|
|
84
80
|
code?: string;
|
|
85
81
|
}
|
|
86
|
-
/**
|
|
87
|
-
* 社員番号
|
|
88
|
-
* @maxLength 30
|
|
89
|
-
*/
|
|
90
|
-
export type UserEmployeeId = string | null;
|
|
91
|
-
export type UserImage100x100 = string | null;
|
|
92
|
-
export type UserImage64x64 = string | null;
|
|
93
|
-
export type UserImage32x32 = string | null;
|
|
94
82
|
/**
|
|
95
83
|
* ユーザー画像のURL。サイズごとに複数のURLを返します。
|
|
96
84
|
*/
|
|
97
85
|
export type UserImage = {
|
|
98
|
-
|
|
99
|
-
'
|
|
100
|
-
|
|
86
|
+
/** @nullable */
|
|
87
|
+
'100x100': string | null;
|
|
88
|
+
/** @nullable */
|
|
89
|
+
'64x64': string | null;
|
|
90
|
+
/** @nullable */
|
|
91
|
+
'32x32': string | null;
|
|
101
92
|
};
|
|
102
93
|
/**
|
|
103
94
|
* ステータス
|
|
@@ -109,10 +100,6 @@ export declare const UserStatus: {
|
|
|
109
100
|
readonly suspended: "suspended";
|
|
110
101
|
readonly deactivated: "deactivated";
|
|
111
102
|
};
|
|
112
|
-
/**
|
|
113
|
-
* 削除日時
|
|
114
|
-
*/
|
|
115
|
-
export type UserDeactivatedAt = string | null;
|
|
116
103
|
/**
|
|
117
104
|
* ユーザー
|
|
118
105
|
*/
|
|
@@ -147,8 +134,9 @@ export interface User {
|
|
|
147
134
|
/**
|
|
148
135
|
* 社員番号
|
|
149
136
|
* @maxLength 30
|
|
137
|
+
* @nullable
|
|
150
138
|
*/
|
|
151
|
-
employeeId?:
|
|
139
|
+
employeeId?: string | null;
|
|
152
140
|
/** ユーザー画像のURL。サイズごとに複数のURLを返します。 */
|
|
153
141
|
image: UserImage;
|
|
154
142
|
/** ステータス */
|
|
@@ -159,21 +147,161 @@ export interface User {
|
|
|
159
147
|
createdAt: string;
|
|
160
148
|
/** 更新日時 */
|
|
161
149
|
updatedAt: string;
|
|
162
|
-
/**
|
|
163
|
-
|
|
150
|
+
/**
|
|
151
|
+
* 削除日時
|
|
152
|
+
* @nullable
|
|
153
|
+
*/
|
|
154
|
+
deactivatedAt?: string | null;
|
|
164
155
|
}
|
|
165
156
|
/**
|
|
166
157
|
* ユーザー詳細
|
|
167
158
|
*/
|
|
168
159
|
export type UserDetail = User;
|
|
169
160
|
/**
|
|
170
|
-
*
|
|
161
|
+
* ステータス。visibleは有効、invisibleは無効、deletedは削除済み。
|
|
162
|
+
*/
|
|
163
|
+
export type WorkflowStatus = (typeof WorkflowStatus)[keyof typeof WorkflowStatus];
|
|
164
|
+
export declare const WorkflowStatus: {
|
|
165
|
+
readonly visible: "visible";
|
|
166
|
+
readonly invisible: "invisible";
|
|
167
|
+
readonly deleted: "deleted";
|
|
168
|
+
};
|
|
169
|
+
/**
|
|
170
|
+
* 申請者の上長を共有ユーザーに追加するか。noneは追加しない、directは直属の上長のみ、allはすべての上長を表す。
|
|
171
|
+
*/
|
|
172
|
+
export type WorkflowVisibleToManager = (typeof WorkflowVisibleToManager)[keyof typeof WorkflowVisibleToManager];
|
|
173
|
+
export declare const WorkflowVisibleToManager: {
|
|
174
|
+
readonly none: "none";
|
|
175
|
+
readonly direct: "direct";
|
|
176
|
+
readonly all: "all";
|
|
177
|
+
};
|
|
178
|
+
/**
|
|
179
|
+
* タイトル入力モード
|
|
180
|
+
*/
|
|
181
|
+
export type WorkflowTitleInputMode = (typeof WorkflowTitleInputMode)[keyof typeof WorkflowTitleInputMode];
|
|
182
|
+
export declare const WorkflowTitleInputMode: {
|
|
183
|
+
readonly none: "none";
|
|
184
|
+
readonly input: "input";
|
|
185
|
+
readonly calculate: "calculate";
|
|
186
|
+
};
|
|
187
|
+
/**
|
|
188
|
+
* フォルダ
|
|
189
|
+
*/
|
|
190
|
+
export interface Folder {
|
|
191
|
+
/** UUID */
|
|
192
|
+
id: string;
|
|
193
|
+
/**
|
|
194
|
+
* 名前
|
|
195
|
+
* @maxLength 300
|
|
196
|
+
*/
|
|
197
|
+
name: string;
|
|
198
|
+
/**
|
|
199
|
+
* コード
|
|
200
|
+
* @maxLength 100
|
|
201
|
+
*/
|
|
202
|
+
code: string;
|
|
203
|
+
/**
|
|
204
|
+
* 説明
|
|
205
|
+
* @nullable
|
|
206
|
+
*/
|
|
207
|
+
description?: string | null;
|
|
208
|
+
/**
|
|
209
|
+
* フォルダ内のワークフロー数
|
|
210
|
+
* @minimum 0
|
|
211
|
+
*/
|
|
212
|
+
workflowsCount: number;
|
|
213
|
+
/**
|
|
214
|
+
* フォルダ内の経路数
|
|
215
|
+
* @minimum 0
|
|
216
|
+
*/
|
|
217
|
+
routesCount: number;
|
|
218
|
+
/**
|
|
219
|
+
* フォルダ内のパイプライン数
|
|
220
|
+
* @minimum 0
|
|
221
|
+
*/
|
|
222
|
+
pipelinesCount: number;
|
|
223
|
+
/** 作成日時 */
|
|
224
|
+
createdAt: string;
|
|
225
|
+
/** 更新日時 */
|
|
226
|
+
updatedAt: string;
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* カテゴリ
|
|
171
230
|
*/
|
|
172
|
-
export
|
|
231
|
+
export interface Category {
|
|
232
|
+
/** UUID */
|
|
233
|
+
id: string;
|
|
234
|
+
/**
|
|
235
|
+
* 名前
|
|
236
|
+
* @maxLength 100
|
|
237
|
+
*/
|
|
238
|
+
name: string;
|
|
239
|
+
/** 作成日時 */
|
|
240
|
+
createdAt: string;
|
|
241
|
+
/** 更新日時 */
|
|
242
|
+
updatedAt: string;
|
|
243
|
+
}
|
|
173
244
|
/**
|
|
174
|
-
*
|
|
245
|
+
* ワークフロー
|
|
175
246
|
*/
|
|
176
|
-
export
|
|
247
|
+
export interface Workflow {
|
|
248
|
+
/** UUID */
|
|
249
|
+
id: string;
|
|
250
|
+
/**
|
|
251
|
+
* コード
|
|
252
|
+
* @pattern ^[a-zA-Z0-9_-]+$
|
|
253
|
+
*/
|
|
254
|
+
code: string;
|
|
255
|
+
/** バージョンのUUID */
|
|
256
|
+
versionId: string;
|
|
257
|
+
/** バージョン番号 */
|
|
258
|
+
versionNumber: number;
|
|
259
|
+
/** 名前 */
|
|
260
|
+
name: string;
|
|
261
|
+
/** 説明 */
|
|
262
|
+
description: string;
|
|
263
|
+
/** ステータス。visibleは有効、invisibleは無効、deletedは削除済み。 */
|
|
264
|
+
status: WorkflowStatus;
|
|
265
|
+
/** チケットがテナント全体に共有される場合true */
|
|
266
|
+
publicTicket: boolean;
|
|
267
|
+
/** 申請者の上長を共有ユーザーに追加するか。noneは追加しない、directは直属の上長のみ、allはすべての上長を表す。 */
|
|
268
|
+
visibleToManager: WorkflowVisibleToManager;
|
|
269
|
+
/** 申請チームのメンバーが共有ユーザーに追加される場合true */
|
|
270
|
+
visibleToTeamMembers: boolean;
|
|
271
|
+
/**
|
|
272
|
+
* タイトルの説明
|
|
273
|
+
* @nullable
|
|
274
|
+
*/
|
|
275
|
+
titleDescription: string | null;
|
|
276
|
+
/**
|
|
277
|
+
* チケット番号のフォーマット
|
|
278
|
+
* @nullable
|
|
279
|
+
*/
|
|
280
|
+
ticketNumberFormat: string | null;
|
|
281
|
+
/** 承認者による上書きが可能な場合true */
|
|
282
|
+
overwritable: boolean;
|
|
283
|
+
/** 作成日時 */
|
|
284
|
+
createdAt: string;
|
|
285
|
+
/** 更新日時 */
|
|
286
|
+
updatedAt: string;
|
|
287
|
+
/** タイトル入力モード */
|
|
288
|
+
titleInputMode: WorkflowTitleInputMode;
|
|
289
|
+
/**
|
|
290
|
+
* タイトルの計算式
|
|
291
|
+
* @nullable
|
|
292
|
+
*/
|
|
293
|
+
titleFormula: string | null;
|
|
294
|
+
/** 共有ユーザーの編集が可能な場合true */
|
|
295
|
+
allowEditingOfViewers?: boolean;
|
|
296
|
+
/** 作成者 */
|
|
297
|
+
author: User | null;
|
|
298
|
+
/** バージョン作成者 */
|
|
299
|
+
versionAuthor: User | null;
|
|
300
|
+
/** フォルダ */
|
|
301
|
+
folder: Folder;
|
|
302
|
+
/** カテゴリの配列 */
|
|
303
|
+
categories: Category[];
|
|
304
|
+
}
|
|
177
305
|
/**
|
|
178
306
|
* 代理申請
|
|
179
307
|
*/
|
|
@@ -186,21 +314,19 @@ export interface ProxyApplicant {
|
|
|
186
314
|
updatedAt: string;
|
|
187
315
|
user: User;
|
|
188
316
|
proxyUser: User;
|
|
189
|
-
/**
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
317
|
+
/**
|
|
318
|
+
* 開始日
|
|
319
|
+
* @nullable
|
|
320
|
+
*/
|
|
321
|
+
startsOn: string | null;
|
|
322
|
+
/**
|
|
323
|
+
* 終了日
|
|
324
|
+
* @nullable
|
|
325
|
+
*/
|
|
326
|
+
endsOn: string | null;
|
|
193
327
|
/** 対象ワークフロー */
|
|
194
328
|
workflows: Workflow[];
|
|
195
329
|
}
|
|
196
|
-
/**
|
|
197
|
-
* 開始日
|
|
198
|
-
*/
|
|
199
|
-
export type ProxyApproverStartsOn = string | null;
|
|
200
|
-
/**
|
|
201
|
-
* 終了日
|
|
202
|
-
*/
|
|
203
|
-
export type ProxyApproverEndsOn = string | null;
|
|
204
330
|
/**
|
|
205
331
|
* 代理承認
|
|
206
332
|
*/
|
|
@@ -213,18 +339,19 @@ export interface ProxyApprover {
|
|
|
213
339
|
updatedAt: string;
|
|
214
340
|
user: User;
|
|
215
341
|
proxyUser: User;
|
|
216
|
-
/**
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
342
|
+
/**
|
|
343
|
+
* 開始日
|
|
344
|
+
* @nullable
|
|
345
|
+
*/
|
|
346
|
+
startsOn: string | null;
|
|
347
|
+
/**
|
|
348
|
+
* 終了日
|
|
349
|
+
* @nullable
|
|
350
|
+
*/
|
|
351
|
+
endsOn: string | null;
|
|
220
352
|
/** 対象ワークフロー */
|
|
221
353
|
workflows: Workflow[];
|
|
222
354
|
}
|
|
223
|
-
/**
|
|
224
|
-
* 管理用メモ
|
|
225
|
-
* @maxLength 10000
|
|
226
|
-
*/
|
|
227
|
-
export type TeamNotes = string | null;
|
|
228
355
|
/**
|
|
229
356
|
* チーム
|
|
230
357
|
*/
|
|
@@ -246,8 +373,9 @@ export interface Team {
|
|
|
246
373
|
/**
|
|
247
374
|
* 管理用メモ
|
|
248
375
|
* @maxLength 10000
|
|
376
|
+
* @nullable
|
|
249
377
|
*/
|
|
250
|
-
notes?:
|
|
378
|
+
notes?: string | null;
|
|
251
379
|
/** 承認専用チームかどうか */
|
|
252
380
|
approveOnly: boolean;
|
|
253
381
|
/**
|
|
@@ -261,12 +389,23 @@ export interface Team {
|
|
|
261
389
|
updatedAt: string;
|
|
262
390
|
}
|
|
263
391
|
/**
|
|
264
|
-
*
|
|
392
|
+
* チームの所属メンバー
|
|
393
|
+
*/
|
|
394
|
+
export type MemberUser = User & {
|
|
395
|
+
/**
|
|
396
|
+
* 役職
|
|
397
|
+
* @minItems 1
|
|
398
|
+
*/
|
|
399
|
+
grades: Grade[];
|
|
400
|
+
/** 上長かどうか */
|
|
401
|
+
leader: boolean;
|
|
402
|
+
};
|
|
403
|
+
/**
|
|
404
|
+
* チームの詳細
|
|
265
405
|
*/
|
|
266
|
-
export type
|
|
267
|
-
export type TeamDetailAllOf = {
|
|
406
|
+
export type TeamDetail = Team & {
|
|
268
407
|
/** 親チーム */
|
|
269
|
-
parent?:
|
|
408
|
+
parent?: Team | null;
|
|
270
409
|
/** 子チーム */
|
|
271
410
|
children: Team[];
|
|
272
411
|
/** メンバーの配列。
|
|
@@ -274,14 +413,6 @@ export type TeamDetailAllOf = {
|
|
|
274
413
|
注意:パフォーマンス上の理由から、100件を超えるメンバーを返すことはできません。101件以上のメンバーをすべて取得したい場合は、別途メンバー取得APIを呼び出してください。 */
|
|
275
414
|
users: MemberUser[];
|
|
276
415
|
};
|
|
277
|
-
/**
|
|
278
|
-
* チームの詳細
|
|
279
|
-
*/
|
|
280
|
-
export type TeamDetail = Team & TeamDetailAllOf;
|
|
281
|
-
/**
|
|
282
|
-
* 管理用メモ
|
|
283
|
-
*/
|
|
284
|
-
export type TeamCreateBodyNotes = string | null;
|
|
285
416
|
/**
|
|
286
417
|
* チームを作成するときのrequest body
|
|
287
418
|
*/
|
|
@@ -290,8 +421,11 @@ export interface TeamCreateBody {
|
|
|
290
421
|
name: string;
|
|
291
422
|
/** コード。未指定の場合、ランダムな英数字が自動的に設定されます。 */
|
|
292
423
|
code?: string;
|
|
293
|
-
/**
|
|
294
|
-
|
|
424
|
+
/**
|
|
425
|
+
* 管理用メモ
|
|
426
|
+
* @nullable
|
|
427
|
+
*/
|
|
428
|
+
notes?: string | null;
|
|
295
429
|
/** 親チームのUUID。nullの場合、作成したチームはルートになります。 */
|
|
296
430
|
parentId?: string;
|
|
297
431
|
/** 承認専用チームかどうか */
|
|
@@ -314,8 +448,9 @@ export interface TeamUpdateBody {
|
|
|
314
448
|
}
|
|
315
449
|
/**
|
|
316
450
|
* 有効化の予定
|
|
451
|
+
* @nullable
|
|
317
452
|
*/
|
|
318
|
-
export type
|
|
453
|
+
export type OrganizationChartActivationPlan = {
|
|
319
454
|
/** UUID */
|
|
320
455
|
id: string;
|
|
321
456
|
/** 有効化の予定日 */
|
|
@@ -324,11 +459,7 @@ export type OrganizationChartActivationPlanAnyOf = {
|
|
|
324
459
|
createdAt: string;
|
|
325
460
|
/** 更新日時 */
|
|
326
461
|
updatedAt: string;
|
|
327
|
-
};
|
|
328
|
-
/**
|
|
329
|
-
* 有効化の予定
|
|
330
|
-
*/
|
|
331
|
-
export type OrganizationChartActivationPlan = OrganizationChartActivationPlanAnyOf | null;
|
|
462
|
+
} | null;
|
|
332
463
|
/**
|
|
333
464
|
* 組織図
|
|
334
465
|
*/
|
|
@@ -350,7 +481,10 @@ export interface OrganizationChart {
|
|
|
350
481
|
createdAt: string;
|
|
351
482
|
/** 更新日時 */
|
|
352
483
|
updatedAt: string;
|
|
353
|
-
/**
|
|
484
|
+
/**
|
|
485
|
+
* 有効化の予定
|
|
486
|
+
* @nullable
|
|
487
|
+
*/
|
|
354
488
|
activationPlan: OrganizationChartActivationPlan;
|
|
355
489
|
}
|
|
356
490
|
/**
|
|
@@ -364,19 +498,6 @@ export interface OrganizationChartBody {
|
|
|
364
498
|
/** 名前 */
|
|
365
499
|
name: string;
|
|
366
500
|
}
|
|
367
|
-
export type MemberUserAllOf = {
|
|
368
|
-
/**
|
|
369
|
-
* 役職
|
|
370
|
-
* @minItems 1
|
|
371
|
-
*/
|
|
372
|
-
grades: Grade[];
|
|
373
|
-
/** 上長かどうか */
|
|
374
|
-
leader: boolean;
|
|
375
|
-
};
|
|
376
|
-
/**
|
|
377
|
-
* チームの所属メンバー
|
|
378
|
-
*/
|
|
379
|
-
export type MemberUser = MemberUserAllOf & User;
|
|
380
501
|
/**
|
|
381
502
|
* 管理者ロール
|
|
382
503
|
*/
|
|
@@ -403,8 +524,8 @@ export interface Role {
|
|
|
403
524
|
/**
|
|
404
525
|
* 権限タイプ
|
|
405
526
|
*/
|
|
406
|
-
export type
|
|
407
|
-
export declare const
|
|
527
|
+
export type RoleDetailPermissionListItemPermission = (typeof RoleDetailPermissionListItemPermission)[keyof typeof RoleDetailPermissionListItemPermission];
|
|
528
|
+
export declare const RoleDetailPermissionListItemPermission: {
|
|
408
529
|
readonly tenant: "tenant";
|
|
409
530
|
readonly billing: "billing";
|
|
410
531
|
readonly integration: "integration";
|
|
@@ -424,73 +545,150 @@ export declare const RoleDetailAllOfPermissionListItemPermission: {
|
|
|
424
545
|
readonly label: "label";
|
|
425
546
|
readonly automation: "automation";
|
|
426
547
|
};
|
|
427
|
-
export type RoleDetailAllOfPermissionListItem = {
|
|
428
|
-
/** 権限タイプ */
|
|
429
|
-
permission: RoleDetailAllOfPermissionListItemPermission;
|
|
430
|
-
/** 管理対象が制限されている場合true */
|
|
431
|
-
restricted: boolean;
|
|
432
|
-
/** 管理対象のフォルダ */
|
|
433
|
-
folders: Folder[];
|
|
434
|
-
/** 管理対象の汎用マスタ */
|
|
435
|
-
generalMasters: GeneralMaster[];
|
|
436
|
-
/** 管理対象のチーム */
|
|
437
|
-
teams: Team[];
|
|
438
|
-
};
|
|
439
|
-
export type RoleDetailAllOf = {
|
|
440
|
-
/** 権限のリスト */
|
|
441
|
-
permissionList: RoleDetailAllOfPermissionListItem[];
|
|
442
|
-
};
|
|
443
548
|
/**
|
|
444
|
-
*
|
|
445
|
-
*/
|
|
446
|
-
export type RoleDetail = Role & RoleDetailAllOf;
|
|
447
|
-
/**
|
|
448
|
-
* 権限タイプ
|
|
549
|
+
* フィールドの型
|
|
449
550
|
*/
|
|
450
|
-
export type
|
|
451
|
-
export declare const
|
|
452
|
-
readonly
|
|
453
|
-
readonly
|
|
454
|
-
readonly
|
|
455
|
-
readonly
|
|
456
|
-
readonly
|
|
457
|
-
readonly
|
|
458
|
-
readonly
|
|
459
|
-
readonly route: "route";
|
|
460
|
-
readonly pipeline: "pipeline";
|
|
461
|
-
readonly workflow_misc: "workflow_misc";
|
|
462
|
-
readonly user: "user";
|
|
463
|
-
readonly team: "team";
|
|
464
|
-
readonly role: "role";
|
|
465
|
-
readonly master: "master";
|
|
466
|
-
readonly ticket_read: "ticket_read";
|
|
467
|
-
readonly ticket_write: "ticket_write";
|
|
468
|
-
readonly label: "label";
|
|
469
|
-
readonly automation: "automation";
|
|
470
|
-
};
|
|
471
|
-
export type RoleCreateBodyPermissionListItem = {
|
|
472
|
-
/** 権限タイプ */
|
|
473
|
-
permission: RoleCreateBodyPermissionListItemPermission;
|
|
474
|
-
/** 管理対象を制限する場合true */
|
|
475
|
-
restricted: boolean;
|
|
476
|
-
/** 管理対象のフォルダID */
|
|
477
|
-
folderIds?: string[];
|
|
478
|
-
/** 管理対象の汎用マスタID */
|
|
479
|
-
generalMasterIds?: string[];
|
|
480
|
-
/** 管理対象のチームID */
|
|
481
|
-
teamIds?: string[];
|
|
551
|
+
export type GeneralMasterFieldFieldType = (typeof GeneralMasterFieldFieldType)[keyof typeof GeneralMasterFieldFieldType];
|
|
552
|
+
export declare const GeneralMasterFieldFieldType: {
|
|
553
|
+
readonly text: "text";
|
|
554
|
+
readonly text_long: "text_long";
|
|
555
|
+
readonly number: "number";
|
|
556
|
+
readonly integer: "integer";
|
|
557
|
+
readonly checkbox: "checkbox";
|
|
558
|
+
readonly pull_down: "pull_down";
|
|
559
|
+
readonly date: "date";
|
|
482
560
|
};
|
|
483
561
|
/**
|
|
484
|
-
*
|
|
562
|
+
* 汎用マスタのカスタムフィールド
|
|
485
563
|
*/
|
|
486
|
-
export interface
|
|
487
|
-
/**
|
|
488
|
-
|
|
489
|
-
/**
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
564
|
+
export interface GeneralMasterField {
|
|
565
|
+
/** UUID */
|
|
566
|
+
id: string;
|
|
567
|
+
/**
|
|
568
|
+
* フィールド名
|
|
569
|
+
* @maxLength 300
|
|
570
|
+
*/
|
|
571
|
+
title: string;
|
|
572
|
+
/**
|
|
573
|
+
* フィールドの説明
|
|
574
|
+
* @nullable
|
|
575
|
+
*/
|
|
576
|
+
description: string | null;
|
|
577
|
+
/**
|
|
578
|
+
* フィールドのコード
|
|
579
|
+
* @maxLength 100
|
|
580
|
+
*/
|
|
581
|
+
code: string;
|
|
582
|
+
/** フィールドの型 */
|
|
583
|
+
fieldType: GeneralMasterFieldFieldType;
|
|
584
|
+
/** 必須項目かどうか */
|
|
585
|
+
required: boolean;
|
|
586
|
+
/** 管理者以外も閲覧可能な場合true */
|
|
587
|
+
visible: boolean;
|
|
588
|
+
/**
|
|
589
|
+
* 選択肢。fieldTypeがcheckboxまたはpull_downのときのみ。
|
|
590
|
+
* @nullable
|
|
591
|
+
*/
|
|
592
|
+
options: string[] | null;
|
|
593
|
+
/** 作成日時 */
|
|
594
|
+
createdAt: string;
|
|
595
|
+
/** 更新日時 */
|
|
596
|
+
updatedAt: string;
|
|
597
|
+
}
|
|
598
|
+
/**
|
|
599
|
+
* 汎用マスタ
|
|
600
|
+
*/
|
|
601
|
+
export interface GeneralMaster {
|
|
602
|
+
/** UUID */
|
|
603
|
+
id: string;
|
|
604
|
+
/**
|
|
605
|
+
* コード
|
|
606
|
+
* @maxLength 100
|
|
607
|
+
*/
|
|
608
|
+
code: string;
|
|
609
|
+
/**
|
|
610
|
+
* 名前
|
|
611
|
+
* @maxLength 300
|
|
612
|
+
*/
|
|
613
|
+
name: string;
|
|
614
|
+
/**
|
|
615
|
+
* 説明
|
|
616
|
+
* @nullable
|
|
617
|
+
*/
|
|
618
|
+
description: string | null;
|
|
619
|
+
/** 作成日時 */
|
|
620
|
+
createdAt: string;
|
|
621
|
+
/** 更新日時 */
|
|
622
|
+
updatedAt: string;
|
|
623
|
+
/** カスタムフィールドの配列 */
|
|
624
|
+
fields: GeneralMasterField[];
|
|
625
|
+
}
|
|
626
|
+
export type RoleDetailPermissionListItem = {
|
|
627
|
+
/** 権限タイプ */
|
|
628
|
+
permission: RoleDetailPermissionListItemPermission;
|
|
629
|
+
/** 管理対象が制限されている場合true */
|
|
630
|
+
restricted: boolean;
|
|
631
|
+
/** 管理対象のフォルダ */
|
|
632
|
+
folders: Folder[];
|
|
633
|
+
/** 管理対象の汎用マスタ */
|
|
634
|
+
generalMasters: GeneralMaster[];
|
|
635
|
+
/** 管理対象のチーム */
|
|
636
|
+
teams: Team[];
|
|
637
|
+
};
|
|
638
|
+
/**
|
|
639
|
+
* 管理者ロールの詳細
|
|
640
|
+
*/
|
|
641
|
+
export type RoleDetail = Role & {
|
|
642
|
+
/** 権限のリスト */
|
|
643
|
+
permissionList: RoleDetailPermissionListItem[];
|
|
644
|
+
};
|
|
645
|
+
/**
|
|
646
|
+
* 権限タイプ
|
|
647
|
+
*/
|
|
648
|
+
export type RoleCreateBodyPermissionListItemPermission = (typeof RoleCreateBodyPermissionListItemPermission)[keyof typeof RoleCreateBodyPermissionListItemPermission];
|
|
649
|
+
export declare const RoleCreateBodyPermissionListItemPermission: {
|
|
650
|
+
readonly tenant: "tenant";
|
|
651
|
+
readonly billing: "billing";
|
|
652
|
+
readonly integration: "integration";
|
|
653
|
+
readonly security: "security";
|
|
654
|
+
readonly audit: "audit";
|
|
655
|
+
readonly stats: "stats";
|
|
656
|
+
readonly workflow: "workflow";
|
|
657
|
+
readonly route: "route";
|
|
658
|
+
readonly pipeline: "pipeline";
|
|
659
|
+
readonly workflow_misc: "workflow_misc";
|
|
660
|
+
readonly user: "user";
|
|
661
|
+
readonly team: "team";
|
|
662
|
+
readonly role: "role";
|
|
663
|
+
readonly master: "master";
|
|
664
|
+
readonly ticket_read: "ticket_read";
|
|
665
|
+
readonly ticket_write: "ticket_write";
|
|
666
|
+
readonly label: "label";
|
|
667
|
+
readonly automation: "automation";
|
|
668
|
+
};
|
|
669
|
+
export type RoleCreateBodyPermissionListItem = {
|
|
670
|
+
/** 権限タイプ */
|
|
671
|
+
permission: RoleCreateBodyPermissionListItemPermission;
|
|
672
|
+
/** 管理対象を制限する場合true */
|
|
673
|
+
restricted: boolean;
|
|
674
|
+
/** 管理対象のフォルダID */
|
|
675
|
+
folderIds?: string[];
|
|
676
|
+
/** 管理対象の汎用マスタID */
|
|
677
|
+
generalMasterIds?: string[];
|
|
678
|
+
/** 管理対象のチームID */
|
|
679
|
+
teamIds?: string[];
|
|
680
|
+
};
|
|
681
|
+
/**
|
|
682
|
+
* 管理者ロールを作成するときのrequest body
|
|
683
|
+
*/
|
|
684
|
+
export interface RoleCreateBody {
|
|
685
|
+
/** 名前 */
|
|
686
|
+
name: string;
|
|
687
|
+
/** 権限リスト */
|
|
688
|
+
permissionList: RoleCreateBodyPermissionListItem[];
|
|
689
|
+
}
|
|
690
|
+
/**
|
|
691
|
+
* 権限タイプ
|
|
494
692
|
*/
|
|
495
693
|
export type RoleUpdateBodyPermissionListItemPermission = (typeof RoleUpdateBodyPermissionListItemPermission)[keyof typeof RoleUpdateBodyPermissionListItemPermission];
|
|
496
694
|
export declare const RoleUpdateBodyPermissionListItemPermission: {
|
|
@@ -535,124 +733,19 @@ export interface RoleUpdateBody {
|
|
|
535
733
|
permissionList?: RoleUpdateBodyPermissionListItem[];
|
|
536
734
|
}
|
|
537
735
|
/**
|
|
538
|
-
*
|
|
539
|
-
*/
|
|
540
|
-
export interface Category {
|
|
541
|
-
/** UUID */
|
|
542
|
-
id: string;
|
|
543
|
-
/**
|
|
544
|
-
* 名前
|
|
545
|
-
* @maxLength 100
|
|
546
|
-
*/
|
|
547
|
-
name: string;
|
|
548
|
-
/** 作成日時 */
|
|
549
|
-
createdAt: string;
|
|
550
|
-
/** 更新日時 */
|
|
551
|
-
updatedAt: string;
|
|
552
|
-
}
|
|
553
|
-
/**
|
|
554
|
-
* 説明
|
|
555
|
-
*/
|
|
556
|
-
export type FolderDescription = string | null;
|
|
557
|
-
/**
|
|
558
|
-
* フォルダ
|
|
736
|
+
* フォルダの詳細
|
|
559
737
|
*/
|
|
560
|
-
export
|
|
561
|
-
/** UUID */
|
|
562
|
-
id: string;
|
|
563
|
-
/**
|
|
564
|
-
* 名前
|
|
565
|
-
* @maxLength 300
|
|
566
|
-
*/
|
|
567
|
-
name: string;
|
|
568
|
-
/**
|
|
569
|
-
* コード
|
|
570
|
-
* @maxLength 100
|
|
571
|
-
*/
|
|
572
|
-
code: string;
|
|
573
|
-
/** 説明 */
|
|
574
|
-
description?: FolderDescription;
|
|
575
|
-
/**
|
|
576
|
-
* フォルダ内のワークフロー数
|
|
577
|
-
* @minimum 0
|
|
578
|
-
*/
|
|
579
|
-
workflowsCount: number;
|
|
580
|
-
/**
|
|
581
|
-
* フォルダ内の経路数
|
|
582
|
-
* @minimum 0
|
|
583
|
-
*/
|
|
584
|
-
routesCount: number;
|
|
585
|
-
/**
|
|
586
|
-
* フォルダ内のパイプライン数
|
|
587
|
-
* @minimum 0
|
|
588
|
-
*/
|
|
589
|
-
pipelinesCount: number;
|
|
590
|
-
/** 作成日時 */
|
|
591
|
-
createdAt: string;
|
|
592
|
-
/** 更新日時 */
|
|
593
|
-
updatedAt: string;
|
|
594
|
-
}
|
|
595
|
-
export type FolderDetailAllOf = {
|
|
738
|
+
export type FolderDetail = Folder & {
|
|
596
739
|
/** 親フォルダからルートフォルダまでの配列 */
|
|
597
740
|
ancestors?: Folder[];
|
|
598
741
|
/** 子フォルダ */
|
|
599
742
|
children?: Folder[];
|
|
600
743
|
};
|
|
601
|
-
/**
|
|
602
|
-
* フォルダの詳細
|
|
603
|
-
*/
|
|
604
|
-
export type FolderDetail = Folder & FolderDetailAllOf;
|
|
605
|
-
/**
|
|
606
|
-
* 説明
|
|
607
|
-
*/
|
|
608
|
-
export type GeneralMasterDescription = string | null;
|
|
609
|
-
/**
|
|
610
|
-
* 汎用マスタ
|
|
611
|
-
*/
|
|
612
|
-
export interface GeneralMaster {
|
|
613
|
-
/** UUID */
|
|
614
|
-
id: string;
|
|
615
|
-
/**
|
|
616
|
-
* コード
|
|
617
|
-
* @maxLength 100
|
|
618
|
-
*/
|
|
619
|
-
code: string;
|
|
620
|
-
/**
|
|
621
|
-
* 名前
|
|
622
|
-
* @maxLength 300
|
|
623
|
-
*/
|
|
624
|
-
name: string;
|
|
625
|
-
/** 説明 */
|
|
626
|
-
description: GeneralMasterDescription;
|
|
627
|
-
/** 作成日時 */
|
|
628
|
-
createdAt: string;
|
|
629
|
-
/** 更新日時 */
|
|
630
|
-
updatedAt: string;
|
|
631
|
-
/** カスタムフィールドの配列 */
|
|
632
|
-
fields: GeneralMasterField[];
|
|
633
|
-
}
|
|
634
|
-
/**
|
|
635
|
-
* 説明
|
|
636
|
-
*/
|
|
637
|
-
export type GeneralMasterItemDescription = string | null;
|
|
638
|
-
/**
|
|
639
|
-
* 有効期限の開始日
|
|
640
|
-
*/
|
|
641
|
-
export type GeneralMasterItemStartsOn = string | null;
|
|
642
|
-
/**
|
|
643
|
-
* 有効期限の終了日
|
|
644
|
-
*/
|
|
645
|
-
export type GeneralMasterItemEndsOn = string | null;
|
|
646
|
-
export type GeneralMasterItemInputsItemValueAnyOf = string | null;
|
|
647
|
-
/**
|
|
648
|
-
* 入力値
|
|
649
|
-
*/
|
|
650
|
-
export type GeneralMasterItemInputsItemValue = GeneralMasterItemInputsItemValueAnyOf | string[];
|
|
651
744
|
export type GeneralMasterItemInputsItem = {
|
|
652
745
|
/** UUID */
|
|
653
746
|
id: string;
|
|
654
747
|
/** 入力値 */
|
|
655
|
-
value:
|
|
748
|
+
value: string | null | string[];
|
|
656
749
|
/** 作成日時 */
|
|
657
750
|
createdAt: string;
|
|
658
751
|
/** 更新日時 */
|
|
@@ -675,250 +768,40 @@ export interface GeneralMasterItem {
|
|
|
675
768
|
* @maxLength 100
|
|
676
769
|
*/
|
|
677
770
|
name: string;
|
|
678
|
-
/**
|
|
679
|
-
|
|
771
|
+
/**
|
|
772
|
+
* 説明
|
|
773
|
+
* @nullable
|
|
774
|
+
*/
|
|
775
|
+
description: string | null;
|
|
680
776
|
/** 作成日時 */
|
|
681
777
|
createdAt: string;
|
|
682
778
|
/** 更新日時 */
|
|
683
779
|
updatedAt: string;
|
|
684
|
-
/** 有効期限の開始日 */
|
|
685
|
-
startsOn: GeneralMasterItemStartsOn;
|
|
686
|
-
/** 有効期限の終了日 */
|
|
687
|
-
endsOn: GeneralMasterItemEndsOn;
|
|
688
|
-
/** カスタムフィールドの入力の配列 */
|
|
689
|
-
inputs: GeneralMasterItemInputsItem[];
|
|
690
|
-
}
|
|
691
|
-
/**
|
|
692
|
-
* フィールドの説明
|
|
693
|
-
*/
|
|
694
|
-
export type GeneralMasterFieldDescription = string | null;
|
|
695
|
-
/**
|
|
696
|
-
* フィールドの型
|
|
697
|
-
*/
|
|
698
|
-
export type GeneralMasterFieldFieldType = (typeof GeneralMasterFieldFieldType)[keyof typeof GeneralMasterFieldFieldType];
|
|
699
|
-
export declare const GeneralMasterFieldFieldType: {
|
|
700
|
-
readonly text: "text";
|
|
701
|
-
readonly text_long: "text_long";
|
|
702
|
-
readonly number: "number";
|
|
703
|
-
readonly integer: "integer";
|
|
704
|
-
readonly checkbox: "checkbox";
|
|
705
|
-
readonly pull_down: "pull_down";
|
|
706
|
-
readonly date: "date";
|
|
707
|
-
};
|
|
708
|
-
/**
|
|
709
|
-
* 選択肢。fieldTypeがcheckboxまたはpull_downのときのみ。
|
|
710
|
-
*/
|
|
711
|
-
export type GeneralMasterFieldOptions = string[] | null;
|
|
712
|
-
/**
|
|
713
|
-
* 汎用マスタのカスタムフィールド
|
|
714
|
-
*/
|
|
715
|
-
export interface GeneralMasterField {
|
|
716
|
-
/** UUID */
|
|
717
|
-
id: string;
|
|
718
780
|
/**
|
|
719
|
-
*
|
|
720
|
-
* @
|
|
781
|
+
* 有効期限の開始日
|
|
782
|
+
* @nullable
|
|
721
783
|
*/
|
|
722
|
-
|
|
723
|
-
/** フィールドの説明 */
|
|
724
|
-
description: GeneralMasterFieldDescription;
|
|
784
|
+
startsOn: string | null;
|
|
725
785
|
/**
|
|
726
|
-
*
|
|
727
|
-
* @
|
|
786
|
+
* 有効期限の終了日
|
|
787
|
+
* @nullable
|
|
728
788
|
*/
|
|
729
|
-
|
|
730
|
-
/**
|
|
731
|
-
|
|
732
|
-
/** 必須項目かどうか */
|
|
733
|
-
required: boolean;
|
|
734
|
-
/** 管理者以外も閲覧可能な場合true */
|
|
735
|
-
visible: boolean;
|
|
736
|
-
/** 選択肢。fieldTypeがcheckboxまたはpull_downのときのみ。 */
|
|
737
|
-
options: GeneralMasterFieldOptions;
|
|
738
|
-
/** 作成日時 */
|
|
739
|
-
createdAt: string;
|
|
740
|
-
/** 更新日時 */
|
|
741
|
-
updatedAt: string;
|
|
789
|
+
endsOn: string | null;
|
|
790
|
+
/** カスタムフィールドの入力の配列 */
|
|
791
|
+
inputs: GeneralMasterItemInputsItem[];
|
|
742
792
|
}
|
|
743
793
|
/**
|
|
744
|
-
*
|
|
745
|
-
*/
|
|
746
|
-
export type WorkflowStatus = (typeof WorkflowStatus)[keyof typeof WorkflowStatus];
|
|
747
|
-
export declare const WorkflowStatus: {
|
|
748
|
-
readonly visible: "visible";
|
|
749
|
-
readonly invisible: "invisible";
|
|
750
|
-
readonly deleted: "deleted";
|
|
751
|
-
};
|
|
752
|
-
/**
|
|
753
|
-
* 申請者の上長を共有ユーザーに追加するか。noneは追加しない、directは直属の上長のみ、allはすべての上長を表す。
|
|
754
|
-
*/
|
|
755
|
-
export type WorkflowVisibleToManager = (typeof WorkflowVisibleToManager)[keyof typeof WorkflowVisibleToManager];
|
|
756
|
-
export declare const WorkflowVisibleToManager: {
|
|
757
|
-
readonly none: "none";
|
|
758
|
-
readonly direct: "direct";
|
|
759
|
-
readonly all: "all";
|
|
760
|
-
};
|
|
761
|
-
/**
|
|
762
|
-
* タイトルの説明
|
|
763
|
-
*/
|
|
764
|
-
export type WorkflowTitleDescription = string | null;
|
|
765
|
-
/**
|
|
766
|
-
* チケット番号のフォーマット
|
|
767
|
-
*/
|
|
768
|
-
export type WorkflowTicketNumberFormat = string | null;
|
|
769
|
-
/**
|
|
770
|
-
* タイトル入力モード
|
|
771
|
-
*/
|
|
772
|
-
export type WorkflowTitleInputMode = (typeof WorkflowTitleInputMode)[keyof typeof WorkflowTitleInputMode];
|
|
773
|
-
export declare const WorkflowTitleInputMode: {
|
|
774
|
-
readonly none: "none";
|
|
775
|
-
readonly input: "input";
|
|
776
|
-
readonly calculate: "calculate";
|
|
777
|
-
};
|
|
778
|
-
/**
|
|
779
|
-
* タイトルの計算式
|
|
780
|
-
*/
|
|
781
|
-
export type WorkflowTitleFormula = string | null;
|
|
782
|
-
/**
|
|
783
|
-
* 作成者
|
|
784
|
-
*/
|
|
785
|
-
export type WorkflowAuthor = User | null;
|
|
786
|
-
/**
|
|
787
|
-
* バージョン作成者
|
|
788
|
-
*/
|
|
789
|
-
export type WorkflowVersionAuthor = User | null;
|
|
790
|
-
/**
|
|
791
|
-
* ワークフロー
|
|
794
|
+
* クラウドサイン連携設定
|
|
792
795
|
*/
|
|
793
|
-
export
|
|
794
|
-
/** UUID */
|
|
795
|
-
id: string;
|
|
796
|
-
/**
|
|
797
|
-
* コード
|
|
798
|
-
* @pattern ^[a-zA-Z0-9_-]+$
|
|
799
|
-
*/
|
|
800
|
-
code: string;
|
|
801
|
-
/** バージョンのUUID */
|
|
802
|
-
versionId: string;
|
|
803
|
-
/** バージョン番号 */
|
|
804
|
-
versionNumber: number;
|
|
805
|
-
/** 名前 */
|
|
806
|
-
name: string;
|
|
807
|
-
/** 説明 */
|
|
808
|
-
description: string;
|
|
809
|
-
/** ステータス。visibleは有効、invisibleは無効、deletedは削除済み。 */
|
|
810
|
-
status: WorkflowStatus;
|
|
811
|
-
/** チケットがテナント全体に共有される場合true */
|
|
812
|
-
publicTicket: boolean;
|
|
813
|
-
/** 申請者の上長を共有ユーザーに追加するか。noneは追加しない、directは直属の上長のみ、allはすべての上長を表す。 */
|
|
814
|
-
visibleToManager: WorkflowVisibleToManager;
|
|
815
|
-
/** 申請チームのメンバーが共有ユーザーに追加される場合true */
|
|
816
|
-
visibleToTeamMembers: boolean;
|
|
817
|
-
/** タイトルの説明 */
|
|
818
|
-
titleDescription: WorkflowTitleDescription;
|
|
819
|
-
/** チケット番号のフォーマット */
|
|
820
|
-
ticketNumberFormat: WorkflowTicketNumberFormat;
|
|
821
|
-
/** 承認者による上書きが可能な場合true */
|
|
822
|
-
overwritable: boolean;
|
|
823
|
-
/** 作成日時 */
|
|
824
|
-
createdAt: string;
|
|
825
|
-
/** 更新日時 */
|
|
826
|
-
updatedAt: string;
|
|
827
|
-
/** タイトル入力モード */
|
|
828
|
-
titleInputMode: WorkflowTitleInputMode;
|
|
829
|
-
/** タイトルの計算式 */
|
|
830
|
-
titleFormula: WorkflowTitleFormula;
|
|
831
|
-
/** 共有ユーザーの編集が可能な場合true */
|
|
832
|
-
allowEditingOfViewers?: boolean;
|
|
833
|
-
/** 作成者 */
|
|
834
|
-
author: WorkflowAuthor;
|
|
835
|
-
/** バージョン作成者 */
|
|
836
|
-
versionAuthor: WorkflowVersionAuthor;
|
|
837
|
-
/** フォルダ */
|
|
838
|
-
folder: Folder;
|
|
839
|
-
/** カテゴリの配列 */
|
|
840
|
-
categories: Category[];
|
|
841
|
-
}
|
|
842
|
-
export type WorkflowInTicketAllOfCloudSignSettingAnyOf = {
|
|
796
|
+
export type WorkflowInTicketCloudSignSetting = {
|
|
843
797
|
/** 書類の添付が必須な場合true */
|
|
844
798
|
required: boolean;
|
|
845
|
-
};
|
|
846
|
-
/**
|
|
847
|
-
* クラウドサイン連携設定
|
|
848
|
-
*/
|
|
849
|
-
export type WorkflowInTicketAllOfCloudSignSetting = WorkflowInTicketAllOfCloudSignSettingAnyOf | null;
|
|
850
|
-
export type WorkflowInTicketAllOf = {
|
|
851
|
-
/** セクション・明細を表すオブジェクトを画面に表示される順に格納した配列。 */
|
|
852
|
-
sectionList?: SectionListItem[];
|
|
853
|
-
/** ワークフロー単位のチケット共有ユーザー */
|
|
854
|
-
ticketViewers: WorkflowTicketViewer[];
|
|
855
|
-
/** クラウドサイン連携設定 */
|
|
856
|
-
cloudSignSetting: WorkflowInTicketAllOfCloudSignSetting;
|
|
857
|
-
};
|
|
858
|
-
/**
|
|
859
|
-
* チケットに含まれるワークフロー。セクション情報と共有ユーザー情報を含みます。
|
|
860
|
-
*/
|
|
861
|
-
export type WorkflowInTicket = Workflow & WorkflowInTicketAllOf;
|
|
862
|
-
export type WorkflowDetailAllOf = {
|
|
863
|
-
/** 経路分岐 */
|
|
864
|
-
routeConditions: WorkflowRouteCondition[];
|
|
865
|
-
};
|
|
866
|
-
/**
|
|
867
|
-
* ワークフローの詳細
|
|
868
|
-
*/
|
|
869
|
-
export type WorkflowDetail = WorkflowInTicket & WorkflowDetailAllOf;
|
|
799
|
+
} | null;
|
|
870
800
|
export type SectionListItemSectionType = (typeof SectionListItemSectionType)[keyof typeof SectionListItemSectionType];
|
|
871
801
|
export declare const SectionListItemSectionType: {
|
|
872
802
|
readonly form: "form";
|
|
873
803
|
readonly slip: "slip";
|
|
874
804
|
};
|
|
875
|
-
/**
|
|
876
|
-
* タイトル
|
|
877
|
-
*/
|
|
878
|
-
export type SectionListItemTitle = string | null;
|
|
879
|
-
/**
|
|
880
|
-
* 説明
|
|
881
|
-
*/
|
|
882
|
-
export type SectionListItemDescription = string | null;
|
|
883
|
-
/**
|
|
884
|
-
* 条件の組み合わせタイプ。all=すべて、any=いずれか、custom=高度な条件式。明細セクションには含まれません。
|
|
885
|
-
*/
|
|
886
|
-
export type SectionListItemCombinationType = (typeof SectionListItemCombinationType)[keyof typeof SectionListItemCombinationType];
|
|
887
|
-
export declare const SectionListItemCombinationType: {
|
|
888
|
-
readonly all: "all";
|
|
889
|
-
readonly any: "any";
|
|
890
|
-
readonly custom: "custom";
|
|
891
|
-
};
|
|
892
|
-
/**
|
|
893
|
-
* 高度な条件式
|
|
894
|
-
*/
|
|
895
|
-
export type SectionListItemCombinationExpression = string | null;
|
|
896
|
-
/**
|
|
897
|
-
* 明細セクションまたはフォームセクション
|
|
898
|
-
*/
|
|
899
|
-
export interface SectionListItem {
|
|
900
|
-
sectionType: SectionListItemSectionType;
|
|
901
|
-
/** タイトル */
|
|
902
|
-
title: SectionListItemTitle;
|
|
903
|
-
/** 説明 */
|
|
904
|
-
description: SectionListItemDescription;
|
|
905
|
-
/** フォームセクションのID(UUID)。明細セクションには含まれません。 */
|
|
906
|
-
id?: string;
|
|
907
|
-
/** フォームフィールド。明細セクションには含まれません。 */
|
|
908
|
-
formFields?: FormFieldDetail[];
|
|
909
|
-
/** 表示条件があるかどうか。明細セクションには含まれません。 */
|
|
910
|
-
conditional?: boolean;
|
|
911
|
-
/** 条件の組み合わせタイプ。all=すべて、any=いずれか、custom=高度な条件式。明細セクションには含まれません。 */
|
|
912
|
-
combinationType?: SectionListItemCombinationType;
|
|
913
|
-
/** 高度な条件式 */
|
|
914
|
-
combinationExpression?: SectionListItemCombinationExpression;
|
|
915
|
-
/** 明細フィールド。フォームセクションには含まれません。 */
|
|
916
|
-
slipFields?: SlipFieldDetail[];
|
|
917
|
-
}
|
|
918
|
-
/**
|
|
919
|
-
* 説明
|
|
920
|
-
*/
|
|
921
|
-
export type FormFieldDescription = string | null;
|
|
922
805
|
/**
|
|
923
806
|
* フィールドの型
|
|
924
807
|
*/
|
|
@@ -940,10 +823,6 @@ export declare const FormFieldFieldType: {
|
|
|
940
823
|
readonly button_api: "button_api";
|
|
941
824
|
readonly button_kintone: "button_kintone";
|
|
942
825
|
};
|
|
943
|
-
/**
|
|
944
|
-
* 選択肢のリスト。型がcheckboxまたはpull_downのときのみ値が入ります。
|
|
945
|
-
*/
|
|
946
|
-
export type FormFieldOptions = string[] | null;
|
|
947
826
|
/**
|
|
948
827
|
* フォームサイズ。fullの場合全幅、halfの場合1/2になります。
|
|
949
828
|
*/
|
|
@@ -952,64 +831,6 @@ export declare const FormFieldSize: {
|
|
|
952
831
|
readonly full: "full";
|
|
953
832
|
readonly half: "half";
|
|
954
833
|
};
|
|
955
|
-
/**
|
|
956
|
-
* 正規表現フォーマット
|
|
957
|
-
*/
|
|
958
|
-
export type FormFieldRegexpFormat = string | null;
|
|
959
|
-
/**
|
|
960
|
-
* 計算式。
|
|
961
|
-
型がcalculationのときのみ値が入ります。
|
|
962
|
-
*/
|
|
963
|
-
export type FormFieldFormula = string | null;
|
|
964
|
-
/**
|
|
965
|
-
* 初期値
|
|
966
|
-
*/
|
|
967
|
-
export type FormFieldDefaultValue = string | null;
|
|
968
|
-
/**
|
|
969
|
-
* 最小値
|
|
970
|
-
*/
|
|
971
|
-
export type FormFieldMinValue = number | null;
|
|
972
|
-
/**
|
|
973
|
-
* 最大値
|
|
974
|
-
*/
|
|
975
|
-
export type FormFieldMaxValue = number | null;
|
|
976
|
-
/**
|
|
977
|
-
* 最小文字数
|
|
978
|
-
* @minimum 0
|
|
979
|
-
*/
|
|
980
|
-
export type FormFieldMinLength = number | null;
|
|
981
|
-
/**
|
|
982
|
-
* 最大文字数
|
|
983
|
-
* @minimum 0
|
|
984
|
-
*/
|
|
985
|
-
export type FormFieldMaxLength = number | null;
|
|
986
|
-
/**
|
|
987
|
-
* 小数の桁数
|
|
988
|
-
* @minimum 0
|
|
989
|
-
*/
|
|
990
|
-
export type FormFieldDecimalDigit = number | null;
|
|
991
|
-
/**
|
|
992
|
-
* カンマ区切りで表示する場合true。
|
|
993
|
-
整数、数値、自動計算フィールド以外ではnullが入ります。
|
|
994
|
-
*/
|
|
995
|
-
export type FormFieldDelimited = boolean | null;
|
|
996
|
-
/**
|
|
997
|
-
* 単位(接頭辞)
|
|
998
|
-
*/
|
|
999
|
-
export type FormFieldPrefix = string | null;
|
|
1000
|
-
/**
|
|
1001
|
-
* 単位(接尾辞)
|
|
1002
|
-
*/
|
|
1003
|
-
export type FormFieldSuffix = string | null;
|
|
1004
|
-
/**
|
|
1005
|
-
* 隠しフィールドである場合true
|
|
1006
|
-
*/
|
|
1007
|
-
export type FormFieldHidden = boolean | null;
|
|
1008
|
-
/**
|
|
1009
|
-
* trueの時、申請者・承認者が画面上から値を入力することを禁止します。
|
|
1010
|
-
外部API連携(ボタン)による代入や、REST API経由での入力はこのオプションの対象外です。
|
|
1011
|
-
*/
|
|
1012
|
-
export type FormFieldReadonlyOnUi = boolean | null;
|
|
1013
834
|
/**
|
|
1014
835
|
* フォームフィールド
|
|
1015
836
|
*/
|
|
@@ -1021,8 +842,11 @@ export interface FormField {
|
|
|
1021
842
|
* @maxLength 300
|
|
1022
843
|
*/
|
|
1023
844
|
title: string;
|
|
1024
|
-
/**
|
|
1025
|
-
|
|
845
|
+
/**
|
|
846
|
+
* 説明
|
|
847
|
+
* @nullable
|
|
848
|
+
*/
|
|
849
|
+
description: string | null;
|
|
1026
850
|
/** フィールドの型 */
|
|
1027
851
|
fieldType: FormFieldFieldType;
|
|
1028
852
|
/** 必須項目かどうか */
|
|
@@ -1031,8 +855,11 @@ export interface FormField {
|
|
|
1031
855
|
approver: boolean;
|
|
1032
856
|
/** 申請者が編集可能かどうか */
|
|
1033
857
|
author?: boolean;
|
|
1034
|
-
/**
|
|
1035
|
-
|
|
858
|
+
/**
|
|
859
|
+
* 選択肢のリスト。型がcheckboxまたはpull_downのときのみ値が入ります。
|
|
860
|
+
* @nullable
|
|
861
|
+
*/
|
|
862
|
+
options: string[] | null;
|
|
1036
863
|
/**
|
|
1037
864
|
* コード
|
|
1038
865
|
* @maxLength 100
|
|
@@ -1040,87 +867,78 @@ export interface FormField {
|
|
|
1040
867
|
code: string;
|
|
1041
868
|
/** フォームサイズ。fullの場合全幅、halfの場合1/2になります。 */
|
|
1042
869
|
size: FormFieldSize;
|
|
1043
|
-
/**
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
/**
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
870
|
+
/**
|
|
871
|
+
* 正規表現フォーマット
|
|
872
|
+
* @nullable
|
|
873
|
+
*/
|
|
874
|
+
regexpFormat: string | null;
|
|
875
|
+
/**
|
|
876
|
+
* 計算式。
|
|
877
|
+
型がcalculationのときのみ値が入ります。
|
|
878
|
+
* @nullable
|
|
879
|
+
*/
|
|
880
|
+
formula: string | null;
|
|
881
|
+
/**
|
|
882
|
+
* 初期値
|
|
883
|
+
* @nullable
|
|
884
|
+
*/
|
|
885
|
+
defaultValue: string | null;
|
|
886
|
+
/**
|
|
887
|
+
* 最小値
|
|
888
|
+
* @nullable
|
|
889
|
+
*/
|
|
890
|
+
minValue: number | null;
|
|
891
|
+
/**
|
|
892
|
+
* 最大値
|
|
893
|
+
* @nullable
|
|
894
|
+
*/
|
|
895
|
+
maxValue: number | null;
|
|
1054
896
|
/**
|
|
1055
897
|
* 最小文字数
|
|
1056
898
|
* @minimum 0
|
|
899
|
+
* @nullable
|
|
1057
900
|
*/
|
|
1058
|
-
minLength:
|
|
901
|
+
minLength: number | null;
|
|
1059
902
|
/**
|
|
1060
903
|
* 最大文字数
|
|
1061
904
|
* @minimum 0
|
|
905
|
+
* @nullable
|
|
1062
906
|
*/
|
|
1063
|
-
maxLength:
|
|
907
|
+
maxLength: number | null;
|
|
1064
908
|
/**
|
|
1065
909
|
* 小数の桁数
|
|
1066
910
|
* @minimum 0
|
|
911
|
+
* @nullable
|
|
912
|
+
*/
|
|
913
|
+
decimalDigit: number | null;
|
|
914
|
+
/**
|
|
915
|
+
* カンマ区切りで表示する場合true。
|
|
916
|
+
整数、数値、自動計算フィールド以外ではnullが入ります。
|
|
917
|
+
* @nullable
|
|
918
|
+
*/
|
|
919
|
+
delimited: boolean | null;
|
|
920
|
+
/**
|
|
921
|
+
* 単位(接頭辞)
|
|
922
|
+
* @nullable
|
|
923
|
+
*/
|
|
924
|
+
prefix: string | null;
|
|
925
|
+
/**
|
|
926
|
+
* 単位(接尾辞)
|
|
927
|
+
* @nullable
|
|
928
|
+
*/
|
|
929
|
+
suffix: string | null;
|
|
930
|
+
/**
|
|
931
|
+
* 隠しフィールドである場合true
|
|
932
|
+
* @nullable
|
|
1067
933
|
*/
|
|
1068
|
-
|
|
1069
|
-
/**
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
suffix: FormFieldSuffix;
|
|
1076
|
-
/** 隠しフィールドである場合true */
|
|
1077
|
-
hidden?: FormFieldHidden;
|
|
1078
|
-
/** trueの時、申請者・承認者が画面上から値を入力することを禁止します。
|
|
1079
|
-
外部API連携(ボタン)による代入や、REST API経由での入力はこのオプションの対象外です。 */
|
|
1080
|
-
readonlyOnUi?: FormFieldReadonlyOnUi;
|
|
934
|
+
hidden?: boolean | null;
|
|
935
|
+
/**
|
|
936
|
+
* trueの時、申請者・承認者が画面上から値を入力することを禁止します。
|
|
937
|
+
外部API連携(ボタン)による代入や、REST API経由での入力はこのオプションの対象外です。
|
|
938
|
+
* @nullable
|
|
939
|
+
*/
|
|
940
|
+
readonlyOnUi?: boolean | null;
|
|
1081
941
|
}
|
|
1082
|
-
/**
|
|
1083
|
-
* 汎用マスタ(汎用マスタフィールドの場合)
|
|
1084
|
-
*/
|
|
1085
|
-
export type FormFieldDetailAllOfGeneralMaster = GeneralMaster | null;
|
|
1086
|
-
/**
|
|
1087
|
-
* 初期値(汎用マスタフィールドの場合)
|
|
1088
|
-
*/
|
|
1089
|
-
export type FormFieldDetailAllOfDefaultGeneralMasterItem = GeneralMasterItem | null;
|
|
1090
|
-
/**
|
|
1091
|
-
* 外部API設定。fieldTypeがbutton_apiのときのみ値が入ります。
|
|
1092
|
-
*/
|
|
1093
|
-
export type FormFieldDetailAllOfExternalApiSetting = ExternalApiSetting | null;
|
|
1094
|
-
/**
|
|
1095
|
-
* 外部API設定。fieldTypeがbutton_kintoneのときのみ値が入ります。
|
|
1096
|
-
*/
|
|
1097
|
-
export type FormFieldDetailAllOfKintoneAppSetting = KintoneAppSetting | null;
|
|
1098
|
-
/**
|
|
1099
|
-
* ClimberCloud連携設定。fieldTypeがfileのときのみ値が入ります。
|
|
1100
|
-
*/
|
|
1101
|
-
export type FormFieldDetailAllOfClimberCloudSetting = ClimberCloudSetting | null;
|
|
1102
|
-
/**
|
|
1103
|
-
* 汎用マスタ型フィールドの自動絞り込みの設定
|
|
1104
|
-
*/
|
|
1105
|
-
export type FormFieldDetailAllOfGeneralMasterSearchFilters = GeneralMasterSearchFilter[] | null;
|
|
1106
|
-
export type FormFieldDetailAllOf = {
|
|
1107
|
-
/** 汎用マスタ(汎用マスタフィールドの場合) */
|
|
1108
|
-
generalMaster?: FormFieldDetailAllOfGeneralMaster;
|
|
1109
|
-
/** 初期値(汎用マスタフィールドの場合) */
|
|
1110
|
-
defaultGeneralMasterItem?: FormFieldDetailAllOfDefaultGeneralMasterItem;
|
|
1111
|
-
/** 外部API設定。fieldTypeがbutton_apiのときのみ値が入ります。 */
|
|
1112
|
-
externalApiSetting?: FormFieldDetailAllOfExternalApiSetting;
|
|
1113
|
-
/** 外部API設定。fieldTypeがbutton_kintoneのときのみ値が入ります。 */
|
|
1114
|
-
kintoneAppSetting?: FormFieldDetailAllOfKintoneAppSetting;
|
|
1115
|
-
/** ClimberCloud連携設定。fieldTypeがfileのときのみ値が入ります。 */
|
|
1116
|
-
climberCloudSetting?: FormFieldDetailAllOfClimberCloudSetting;
|
|
1117
|
-
/** 汎用マスタ型フィールドの自動絞り込みの設定 */
|
|
1118
|
-
generalMasterSearchFilters?: FormFieldDetailAllOfGeneralMasterSearchFilters;
|
|
1119
|
-
};
|
|
1120
|
-
/**
|
|
1121
|
-
* フォームフィールドの詳細
|
|
1122
|
-
*/
|
|
1123
|
-
export type FormFieldDetail = FormField & FormFieldDetailAllOf;
|
|
1124
942
|
/**
|
|
1125
943
|
* HTTPメソッド
|
|
1126
944
|
*/
|
|
@@ -1138,22 +956,17 @@ export type ExternalApiSettingHeadersItem = {
|
|
|
1138
956
|
/** ヘッダーの値 */
|
|
1139
957
|
value: string;
|
|
1140
958
|
};
|
|
1141
|
-
/**
|
|
1142
|
-
* 複数レコードを含む場合の配列へのJSONPath
|
|
1143
|
-
*/
|
|
1144
|
-
export type ExternalApiSettingArrayJsonPath = string | null;
|
|
1145
|
-
/**
|
|
1146
|
-
* 選択用テーブルでのタイトル
|
|
1147
|
-
*/
|
|
1148
|
-
export type ExternalApiSettingMappingsItemTitle = string | null;
|
|
1149
959
|
export type ExternalApiSettingMappingsItem = {
|
|
1150
960
|
formField: FormField;
|
|
1151
961
|
/** 値抽出用のJSONPath */
|
|
1152
962
|
jsonPath: string;
|
|
1153
963
|
/** 選択用テーブルで表示する場合true */
|
|
1154
964
|
displayInTable: boolean;
|
|
1155
|
-
/**
|
|
1156
|
-
|
|
965
|
+
/**
|
|
966
|
+
* 選択用テーブルでのタイトル
|
|
967
|
+
* @nullable
|
|
968
|
+
*/
|
|
969
|
+
title: string | null;
|
|
1157
970
|
};
|
|
1158
971
|
/**
|
|
1159
972
|
* 外部API設定
|
|
@@ -1169,10 +982,50 @@ export interface ExternalApiSetting {
|
|
|
1169
982
|
headers: ExternalApiSettingHeadersItem[];
|
|
1170
983
|
/** レスポンスが複数レコードを含む場合true */
|
|
1171
984
|
responseArray: boolean;
|
|
1172
|
-
/**
|
|
1173
|
-
|
|
985
|
+
/**
|
|
986
|
+
* 複数レコードを含む場合の配列へのJSONPath
|
|
987
|
+
* @nullable
|
|
988
|
+
*/
|
|
989
|
+
arrayJsonPath: string | null;
|
|
990
|
+
/** フィールドへのマッピング設定 */
|
|
991
|
+
mappings: ExternalApiSettingMappingsItem[];
|
|
992
|
+
}
|
|
993
|
+
/**
|
|
994
|
+
* kintone連携
|
|
995
|
+
*/
|
|
996
|
+
export interface KintoneApp {
|
|
997
|
+
/** UUID */
|
|
998
|
+
id: string;
|
|
999
|
+
/** kintoneアプリ名 */
|
|
1000
|
+
name: string;
|
|
1001
|
+
/** kintoneドメイン */
|
|
1002
|
+
domain: string;
|
|
1003
|
+
/** kintoneアプリID */
|
|
1004
|
+
appId: string;
|
|
1005
|
+
}
|
|
1006
|
+
export type KintoneAppSettingMappingsItem = {
|
|
1007
|
+
/** UUID */
|
|
1008
|
+
id: string;
|
|
1009
|
+
/** 選択用テーブルで表示する場合true */
|
|
1010
|
+
displayInTable: boolean;
|
|
1011
|
+
/** kintoneフィールドコード */
|
|
1012
|
+
kintoneFieldCode: string;
|
|
1013
|
+
/** kintoneフィールドコード */
|
|
1014
|
+
kintoneFieldName: string;
|
|
1015
|
+
/** kintoneフィールドコード */
|
|
1016
|
+
kintoneFieldType: string;
|
|
1017
|
+
formField: FormField;
|
|
1018
|
+
};
|
|
1019
|
+
/**
|
|
1020
|
+
* kintone連携設定
|
|
1021
|
+
*/
|
|
1022
|
+
export interface KintoneAppSetting {
|
|
1023
|
+
/** UUID */
|
|
1024
|
+
id: string;
|
|
1025
|
+
formField: FormField;
|
|
1026
|
+
kintoneApp: KintoneApp;
|
|
1174
1027
|
/** フィールドへのマッピング設定 */
|
|
1175
|
-
mappings:
|
|
1028
|
+
mappings: KintoneAppSettingMappingsItem[];
|
|
1176
1029
|
}
|
|
1177
1030
|
export type ClimberCloudSettingMappingsItem = {
|
|
1178
1031
|
formField: FormField;
|
|
@@ -1191,6 +1044,59 @@ export interface ClimberCloudSetting {
|
|
|
1191
1044
|
/** ClimberCloudのカラムとのマッピング設定 */
|
|
1192
1045
|
mappings: ClimberCloudSettingMappingsItem[];
|
|
1193
1046
|
}
|
|
1047
|
+
/**
|
|
1048
|
+
* 絞り込み先のフィールドのタイプ
|
|
1049
|
+
*/
|
|
1050
|
+
export type GeneralMasterSearchFilterFieldType = (typeof GeneralMasterSearchFilterFieldType)[keyof typeof GeneralMasterSearchFilterFieldType];
|
|
1051
|
+
export declare const GeneralMasterSearchFilterFieldType: {
|
|
1052
|
+
readonly free_word: "free_word";
|
|
1053
|
+
readonly name: "name";
|
|
1054
|
+
readonly code: "code";
|
|
1055
|
+
readonly description: "description";
|
|
1056
|
+
readonly custom_field: "custom_field";
|
|
1057
|
+
};
|
|
1058
|
+
export interface GeneralMasterSearchFilter {
|
|
1059
|
+
/** UUID */
|
|
1060
|
+
id: string;
|
|
1061
|
+
/** 絞り込みに使う汎用フィールドのID(UUID) */
|
|
1062
|
+
filterFormFieldId: string;
|
|
1063
|
+
/** 絞り込み先のフィールドのタイプ */
|
|
1064
|
+
fieldType: GeneralMasterSearchFilterFieldType;
|
|
1065
|
+
/**
|
|
1066
|
+
* fieldType=custom_fieldの場合に絞り込み先の汎用マスタのカスタムフィールドのID(UUID)
|
|
1067
|
+
* @nullable
|
|
1068
|
+
*/
|
|
1069
|
+
generalMasterFieldId: string | null;
|
|
1070
|
+
}
|
|
1071
|
+
/**
|
|
1072
|
+
* フォームフィールドの詳細
|
|
1073
|
+
*/
|
|
1074
|
+
export type FormFieldDetail = FormField & {
|
|
1075
|
+
/** 汎用マスタ(汎用マスタフィールドの場合) */
|
|
1076
|
+
generalMaster?: GeneralMaster | null;
|
|
1077
|
+
/** 初期値(汎用マスタフィールドの場合) */
|
|
1078
|
+
defaultGeneralMasterItem?: GeneralMasterItem | null;
|
|
1079
|
+
/** 外部API設定。fieldTypeがbutton_apiのときのみ値が入ります。 */
|
|
1080
|
+
externalApiSetting?: ExternalApiSetting | null;
|
|
1081
|
+
/** 外部API設定。fieldTypeがbutton_kintoneのときのみ値が入ります。 */
|
|
1082
|
+
kintoneAppSetting?: KintoneAppSetting | null;
|
|
1083
|
+
/** ClimberCloud連携設定。fieldTypeがfileのときのみ値が入ります。 */
|
|
1084
|
+
climberCloudSetting?: ClimberCloudSetting | null;
|
|
1085
|
+
/**
|
|
1086
|
+
* 汎用マスタ型フィールドの自動絞り込みの設定
|
|
1087
|
+
* @nullable
|
|
1088
|
+
*/
|
|
1089
|
+
generalMasterSearchFilters?: GeneralMasterSearchFilter[] | null;
|
|
1090
|
+
};
|
|
1091
|
+
/**
|
|
1092
|
+
* 条件の組み合わせタイプ。all=すべて、any=いずれか、custom=高度な条件式。明細セクションには含まれません。
|
|
1093
|
+
*/
|
|
1094
|
+
export type SectionListItemCombinationType = (typeof SectionListItemCombinationType)[keyof typeof SectionListItemCombinationType];
|
|
1095
|
+
export declare const SectionListItemCombinationType: {
|
|
1096
|
+
readonly all: "all";
|
|
1097
|
+
readonly any: "any";
|
|
1098
|
+
readonly custom: "custom";
|
|
1099
|
+
};
|
|
1194
1100
|
/**
|
|
1195
1101
|
* フィールドの型
|
|
1196
1102
|
*/
|
|
@@ -1209,52 +1115,6 @@ export declare const SlipFieldFieldType: {
|
|
|
1209
1115
|
readonly team: "team";
|
|
1210
1116
|
readonly ticket: "ticket";
|
|
1211
1117
|
};
|
|
1212
|
-
/**
|
|
1213
|
-
* 正規表現フォーマット
|
|
1214
|
-
*/
|
|
1215
|
-
export type SlipFieldRegexpFormat = string | null;
|
|
1216
|
-
/**
|
|
1217
|
-
* 計算式。型が自動計算のときのみ値が入ります。
|
|
1218
|
-
*/
|
|
1219
|
-
export type SlipFieldFormula = string | null;
|
|
1220
|
-
/**
|
|
1221
|
-
* 最大値
|
|
1222
|
-
*/
|
|
1223
|
-
export type SlipFieldMaxValue = number | null;
|
|
1224
|
-
/**
|
|
1225
|
-
* 最小値
|
|
1226
|
-
*/
|
|
1227
|
-
export type SlipFieldMinValue = number | null;
|
|
1228
|
-
/**
|
|
1229
|
-
* 初期値
|
|
1230
|
-
*/
|
|
1231
|
-
export type SlipFieldDefaultValue = string | null;
|
|
1232
|
-
/**
|
|
1233
|
-
* 小数の桁数
|
|
1234
|
-
*/
|
|
1235
|
-
export type SlipFieldDecimalDigit = number | null;
|
|
1236
|
-
/**
|
|
1237
|
-
* カンマ区切りで表示する場合true。
|
|
1238
|
-
整数、数値、自動計算フィールド以外ではnullが入ります。
|
|
1239
|
-
*/
|
|
1240
|
-
export type SlipFieldDelimited = boolean | null;
|
|
1241
|
-
/**
|
|
1242
|
-
* 単位(接頭辞)
|
|
1243
|
-
*/
|
|
1244
|
-
export type SlipFieldPrefix = string | null;
|
|
1245
|
-
/**
|
|
1246
|
-
* 単位(接尾辞)
|
|
1247
|
-
*/
|
|
1248
|
-
export type SlipFieldSuffix = string | null;
|
|
1249
|
-
/**
|
|
1250
|
-
* 隠しフィールドである場合true
|
|
1251
|
-
*/
|
|
1252
|
-
export type SlipFieldHidden = boolean | null;
|
|
1253
|
-
/**
|
|
1254
|
-
* trueの時、申請者・承認者が画面上から値を入力することを禁止します。
|
|
1255
|
-
外部API連携(ボタン)による代入や、REST API経由での入力はこのオプションの対象外です。
|
|
1256
|
-
*/
|
|
1257
|
-
export type SlipFieldReadonlyOnUi = boolean | null;
|
|
1258
1118
|
/**
|
|
1259
1119
|
* 明細フィールド
|
|
1260
1120
|
*/
|
|
@@ -1273,55 +1133,134 @@ export interface SlipField {
|
|
|
1273
1133
|
showTotal: boolean;
|
|
1274
1134
|
/** 選択肢。プルダウンまたはチェックボックスのときのみ値が入ります。 */
|
|
1275
1135
|
options: string[];
|
|
1276
|
-
/**
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
/**
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1136
|
+
/**
|
|
1137
|
+
* 正規表現フォーマット
|
|
1138
|
+
* @nullable
|
|
1139
|
+
*/
|
|
1140
|
+
regexpFormat: string | null;
|
|
1141
|
+
/**
|
|
1142
|
+
* 計算式。型が自動計算のときのみ値が入ります。
|
|
1143
|
+
* @nullable
|
|
1144
|
+
*/
|
|
1145
|
+
formula: string | null;
|
|
1146
|
+
/**
|
|
1147
|
+
* 最大値
|
|
1148
|
+
* @nullable
|
|
1149
|
+
*/
|
|
1150
|
+
maxValue: number | null;
|
|
1151
|
+
/**
|
|
1152
|
+
* 最小値
|
|
1153
|
+
* @nullable
|
|
1154
|
+
*/
|
|
1155
|
+
minValue: number | null;
|
|
1156
|
+
/**
|
|
1157
|
+
* 初期値
|
|
1158
|
+
* @nullable
|
|
1159
|
+
*/
|
|
1160
|
+
defaultValue: string | null;
|
|
1161
|
+
/**
|
|
1162
|
+
* 小数の桁数
|
|
1163
|
+
* @nullable
|
|
1164
|
+
*/
|
|
1165
|
+
decimalDigit: number | null;
|
|
1166
|
+
/**
|
|
1167
|
+
* カンマ区切りで表示する場合true。
|
|
1168
|
+
整数、数値、自動計算フィールド以外ではnullが入ります。
|
|
1169
|
+
* @nullable
|
|
1170
|
+
*/
|
|
1171
|
+
delimited: boolean | null;
|
|
1291
1172
|
/** 添付可能な拡張子リスト */
|
|
1292
1173
|
allowedExtensions: string[];
|
|
1293
|
-
/**
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1174
|
+
/**
|
|
1175
|
+
* 単位(接頭辞)
|
|
1176
|
+
* @nullable
|
|
1177
|
+
*/
|
|
1178
|
+
prefix: string | null;
|
|
1179
|
+
/**
|
|
1180
|
+
* 単位(接尾辞)
|
|
1181
|
+
* @nullable
|
|
1182
|
+
*/
|
|
1183
|
+
suffix: string | null;
|
|
1297
1184
|
/** 承認者が編集可能かどうか */
|
|
1298
1185
|
approver: boolean;
|
|
1299
1186
|
/** 申請者が編集可能かどうか */
|
|
1300
1187
|
author?: boolean;
|
|
1301
|
-
/**
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1188
|
+
/**
|
|
1189
|
+
* 隠しフィールドである場合true
|
|
1190
|
+
* @nullable
|
|
1191
|
+
*/
|
|
1192
|
+
hidden?: boolean | null;
|
|
1193
|
+
/**
|
|
1194
|
+
* trueの時、申請者・承認者が画面上から値を入力することを禁止します。
|
|
1195
|
+
外部API連携(ボタン)による代入や、REST API経由での入力はこのオプションの対象外です。
|
|
1196
|
+
* @nullable
|
|
1197
|
+
*/
|
|
1198
|
+
readonlyOnUi?: boolean | null;
|
|
1306
1199
|
}
|
|
1307
1200
|
/**
|
|
1308
|
-
*
|
|
1309
|
-
*/
|
|
1310
|
-
export type SlipFieldDetailAllOfGeneralMaster = GeneralMaster | null;
|
|
1311
|
-
/**
|
|
1312
|
-
* 汎用マスタアイテムの初期値
|
|
1201
|
+
* 明細フィールドの詳細
|
|
1313
1202
|
*/
|
|
1314
|
-
export type
|
|
1315
|
-
export type SlipFieldDetailAllOf = {
|
|
1203
|
+
export type SlipFieldDetail = SlipField & {
|
|
1316
1204
|
/** 汎用マスタ。型が汎用マスタのときのみ値が入ります。 */
|
|
1317
|
-
generalMaster?:
|
|
1205
|
+
generalMaster?: GeneralMaster | null;
|
|
1318
1206
|
/** 汎用マスタアイテムの初期値 */
|
|
1319
|
-
defaultGeneralMasterItem?:
|
|
1207
|
+
defaultGeneralMasterItem?: GeneralMasterItem | null;
|
|
1320
1208
|
};
|
|
1321
1209
|
/**
|
|
1322
|
-
*
|
|
1210
|
+
* 明細セクションまたはフォームセクション
|
|
1211
|
+
*/
|
|
1212
|
+
export interface SectionListItem {
|
|
1213
|
+
sectionType: SectionListItemSectionType;
|
|
1214
|
+
/**
|
|
1215
|
+
* タイトル
|
|
1216
|
+
* @nullable
|
|
1217
|
+
*/
|
|
1218
|
+
title: string | null;
|
|
1219
|
+
/**
|
|
1220
|
+
* 説明
|
|
1221
|
+
* @nullable
|
|
1222
|
+
*/
|
|
1223
|
+
description: string | null;
|
|
1224
|
+
/** フォームセクションのID(UUID)。明細セクションには含まれません。 */
|
|
1225
|
+
id?: string;
|
|
1226
|
+
/** フォームフィールド。明細セクションには含まれません。 */
|
|
1227
|
+
formFields?: FormFieldDetail[];
|
|
1228
|
+
/** 表示条件があるかどうか。明細セクションには含まれません。 */
|
|
1229
|
+
conditional?: boolean;
|
|
1230
|
+
/** 条件の組み合わせタイプ。all=すべて、any=いずれか、custom=高度な条件式。明細セクションには含まれません。 */
|
|
1231
|
+
combinationType?: SectionListItemCombinationType;
|
|
1232
|
+
/**
|
|
1233
|
+
* 高度な条件式
|
|
1234
|
+
* @nullable
|
|
1235
|
+
*/
|
|
1236
|
+
combinationExpression?: string | null;
|
|
1237
|
+
/** 明細フィールド。フォームセクションには含まれません。 */
|
|
1238
|
+
slipFields?: SlipFieldDetail[];
|
|
1239
|
+
}
|
|
1240
|
+
/**
|
|
1241
|
+
* ワークフロー単位で設定された共有ユーザー
|
|
1242
|
+
*/
|
|
1243
|
+
export interface WorkflowTicketViewer {
|
|
1244
|
+
/** UUID */
|
|
1245
|
+
id: string;
|
|
1246
|
+
/** ユーザー。ユーザーとチームは片方のみ値が入ります。 */
|
|
1247
|
+
user: User | null;
|
|
1248
|
+
/** チーム。ユーザーとチームは片方のみ値が入ります。 */
|
|
1249
|
+
team: Team | null;
|
|
1250
|
+
/** 役職。チーム指定で役職も指定する場合のみ値が入ります。 */
|
|
1251
|
+
grade: Grade | null;
|
|
1252
|
+
}
|
|
1253
|
+
/**
|
|
1254
|
+
* チケットに含まれるワークフロー。セクション情報と共有ユーザー情報を含みます。
|
|
1323
1255
|
*/
|
|
1324
|
-
export type
|
|
1256
|
+
export type WorkflowInTicket = Workflow & {
|
|
1257
|
+
/** セクション・明細を表すオブジェクトを画面に表示される順に格納した配列。 */
|
|
1258
|
+
sectionList?: SectionListItem[];
|
|
1259
|
+
/** ワークフロー単位のチケット共有ユーザー */
|
|
1260
|
+
ticketViewers: WorkflowTicketViewer[];
|
|
1261
|
+
/** クラウドサイン連携設定 */
|
|
1262
|
+
cloudSignSetting: WorkflowInTicketCloudSignSetting;
|
|
1263
|
+
};
|
|
1325
1264
|
/**
|
|
1326
1265
|
* 経路分岐タイプ
|
|
1327
1266
|
*/
|
|
@@ -1341,31 +1280,41 @@ export declare const WorkflowRouteConditionCombinationType: {
|
|
|
1341
1280
|
readonly custom: "custom";
|
|
1342
1281
|
};
|
|
1343
1282
|
/**
|
|
1344
|
-
*
|
|
1345
|
-
*/
|
|
1346
|
-
export type WorkflowRouteConditionRoute = Route | null;
|
|
1347
|
-
/**
|
|
1348
|
-
* 申請拒否時のエラーメッセージ。routeまたはerrorMessageは片方のみ値が入ります。
|
|
1283
|
+
* ステータス
|
|
1349
1284
|
*/
|
|
1350
|
-
export type
|
|
1285
|
+
export type RouteStatus = (typeof RouteStatus)[keyof typeof RouteStatus];
|
|
1286
|
+
export declare const RouteStatus: {
|
|
1287
|
+
readonly visible: "visible";
|
|
1288
|
+
readonly deleted: "deleted";
|
|
1289
|
+
readonly error: "error";
|
|
1290
|
+
};
|
|
1351
1291
|
/**
|
|
1352
|
-
*
|
|
1292
|
+
* 経路
|
|
1353
1293
|
*/
|
|
1354
|
-
export interface
|
|
1294
|
+
export interface Route {
|
|
1355
1295
|
/** UUID */
|
|
1356
1296
|
id: string;
|
|
1357
|
-
/**
|
|
1358
|
-
|
|
1359
|
-
/**
|
|
1360
|
-
|
|
1361
|
-
/**
|
|
1362
|
-
|
|
1363
|
-
/**
|
|
1364
|
-
|
|
1365
|
-
/**
|
|
1366
|
-
|
|
1367
|
-
/**
|
|
1368
|
-
|
|
1297
|
+
/** コード */
|
|
1298
|
+
code: string;
|
|
1299
|
+
/** ステータス */
|
|
1300
|
+
status: RouteStatus;
|
|
1301
|
+
/** バージョンのID */
|
|
1302
|
+
versionId: string;
|
|
1303
|
+
/** バージョン番号 */
|
|
1304
|
+
versionNumber: number;
|
|
1305
|
+
/** 名前 */
|
|
1306
|
+
name: string;
|
|
1307
|
+
/** 説明 */
|
|
1308
|
+
description: string;
|
|
1309
|
+
/** 作成日時 */
|
|
1310
|
+
createdAt: string;
|
|
1311
|
+
/** 更新日時 */
|
|
1312
|
+
updatedAt: string;
|
|
1313
|
+
/** 作成者 */
|
|
1314
|
+
author?: User | null;
|
|
1315
|
+
versionAuthor?: User | null;
|
|
1316
|
+
/** フォルダ */
|
|
1317
|
+
folder: Folder;
|
|
1369
1318
|
}
|
|
1370
1319
|
/**
|
|
1371
1320
|
* 演算子
|
|
@@ -1384,22 +1333,6 @@ export declare const WorkflowRouteConditionFieldSymbol: {
|
|
|
1384
1333
|
readonly is_not_empty: "is_not_empty";
|
|
1385
1334
|
readonly descendants_or_equal: "descendants_or_equal";
|
|
1386
1335
|
};
|
|
1387
|
-
/**
|
|
1388
|
-
* しきい値
|
|
1389
|
-
*/
|
|
1390
|
-
export type WorkflowRouteConditionFieldValue = string | null;
|
|
1391
|
-
/**
|
|
1392
|
-
* しきい値として使う役職
|
|
1393
|
-
*/
|
|
1394
|
-
export type WorkflowRouteConditionFieldGrade = Grade | null;
|
|
1395
|
-
/**
|
|
1396
|
-
* しきい値として使うチーム
|
|
1397
|
-
*/
|
|
1398
|
-
export type WorkflowRouteConditionFieldTeam = Team | null;
|
|
1399
|
-
/**
|
|
1400
|
-
* しきい値として使う汎用マスタアイテム
|
|
1401
|
-
*/
|
|
1402
|
-
export type WorkflowRouteConditionFieldGeneralMasterItem = GeneralMasterItem | null;
|
|
1403
1336
|
/**
|
|
1404
1337
|
* ワークフロー経路分岐の条件
|
|
1405
1338
|
*/
|
|
@@ -1408,92 +1341,49 @@ export interface WorkflowRouteConditionField {
|
|
|
1408
1341
|
id: string;
|
|
1409
1342
|
/** 演算子 */
|
|
1410
1343
|
symbol: WorkflowRouteConditionFieldSymbol;
|
|
1411
|
-
/**
|
|
1412
|
-
|
|
1344
|
+
/**
|
|
1345
|
+
* しきい値
|
|
1346
|
+
* @nullable
|
|
1347
|
+
*/
|
|
1348
|
+
value: string | null;
|
|
1413
1349
|
/** 対象のフォームフィールド */
|
|
1414
1350
|
formField: FormField;
|
|
1415
1351
|
/** しきい値として使う役職 */
|
|
1416
|
-
grade:
|
|
1352
|
+
grade: Grade | null;
|
|
1417
1353
|
/** しきい値として使うチーム */
|
|
1418
|
-
team:
|
|
1354
|
+
team: Team | null;
|
|
1419
1355
|
/** しきい値として使う汎用マスタアイテム */
|
|
1420
|
-
generalMasterItem:
|
|
1421
|
-
}
|
|
1422
|
-
/**
|
|
1423
|
-
* ユーザー。ユーザーとチームは片方のみ値が入ります。
|
|
1424
|
-
*/
|
|
1425
|
-
export type WorkflowTicketViewerUser = User | null;
|
|
1426
|
-
/**
|
|
1427
|
-
* チーム。ユーザーとチームは片方のみ値が入ります。
|
|
1428
|
-
*/
|
|
1429
|
-
export type WorkflowTicketViewerTeam = Team | null;
|
|
1430
|
-
/**
|
|
1431
|
-
* 役職。チーム指定で役職も指定する場合のみ値が入ります。
|
|
1432
|
-
*/
|
|
1433
|
-
export type WorkflowTicketViewerGrade = Grade | null;
|
|
1434
|
-
/**
|
|
1435
|
-
* ワークフロー単位で設定された共有ユーザー
|
|
1436
|
-
*/
|
|
1437
|
-
export interface WorkflowTicketViewer {
|
|
1438
|
-
/** UUID */
|
|
1439
|
-
id: string;
|
|
1440
|
-
/** ユーザー。ユーザーとチームは片方のみ値が入ります。 */
|
|
1441
|
-
user: WorkflowTicketViewerUser;
|
|
1442
|
-
/** チーム。ユーザーとチームは片方のみ値が入ります。 */
|
|
1443
|
-
team: WorkflowTicketViewerTeam;
|
|
1444
|
-
/** 役職。チーム指定で役職も指定する場合のみ値が入ります。 */
|
|
1445
|
-
grade: WorkflowTicketViewerGrade;
|
|
1356
|
+
generalMasterItem: GeneralMasterItem | null;
|
|
1446
1357
|
}
|
|
1447
1358
|
/**
|
|
1448
|
-
*
|
|
1449
|
-
*/
|
|
1450
|
-
export type RouteStatus = (typeof RouteStatus)[keyof typeof RouteStatus];
|
|
1451
|
-
export declare const RouteStatus: {
|
|
1452
|
-
readonly visible: "visible";
|
|
1453
|
-
readonly deleted: "deleted";
|
|
1454
|
-
readonly error: "error";
|
|
1455
|
-
};
|
|
1456
|
-
/**
|
|
1457
|
-
* 作成者
|
|
1458
|
-
*/
|
|
1459
|
-
export type RouteAuthor = User | null;
|
|
1460
|
-
export type RouteVersionAuthor = User | null;
|
|
1461
|
-
/**
|
|
1462
|
-
* 経路
|
|
1359
|
+
* ワークフローの経路分岐
|
|
1463
1360
|
*/
|
|
1464
|
-
export interface
|
|
1361
|
+
export interface WorkflowRouteCondition {
|
|
1465
1362
|
/** UUID */
|
|
1466
1363
|
id: string;
|
|
1467
|
-
/**
|
|
1468
|
-
|
|
1469
|
-
/**
|
|
1470
|
-
|
|
1471
|
-
/**
|
|
1472
|
-
|
|
1473
|
-
/**
|
|
1474
|
-
|
|
1475
|
-
/**
|
|
1476
|
-
|
|
1477
|
-
/**
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
updatedAt: string;
|
|
1483
|
-
/** 作成者 */
|
|
1484
|
-
author?: RouteAuthor;
|
|
1485
|
-
versionAuthor?: RouteVersionAuthor;
|
|
1486
|
-
/** フォルダ */
|
|
1487
|
-
folder: Folder;
|
|
1364
|
+
/** 経路分岐タイプ */
|
|
1365
|
+
conditionType: WorkflowRouteConditionConditionType;
|
|
1366
|
+
/** 条件の組み合わせタイプ */
|
|
1367
|
+
combinationType: WorkflowRouteConditionCombinationType;
|
|
1368
|
+
/** 高度な条件式 */
|
|
1369
|
+
combinationExpression: string;
|
|
1370
|
+
/** 経路。routeまたはerrorMessageは片方のみ値が入ります。 */
|
|
1371
|
+
route: Route | null;
|
|
1372
|
+
/** 条件 */
|
|
1373
|
+
conditionFields: WorkflowRouteConditionField[];
|
|
1374
|
+
/**
|
|
1375
|
+
* 申請拒否時のエラーメッセージ。routeまたはerrorMessageは片方のみ値が入ります。
|
|
1376
|
+
* @nullable
|
|
1377
|
+
*/
|
|
1378
|
+
errorMessage: string | null;
|
|
1488
1379
|
}
|
|
1489
|
-
export type RouteDetailAllOf = {
|
|
1490
|
-
/** 経路ステップ */
|
|
1491
|
-
steps: RouteStep[];
|
|
1492
|
-
};
|
|
1493
1380
|
/**
|
|
1494
|
-
*
|
|
1381
|
+
* ワークフローの詳細
|
|
1495
1382
|
*/
|
|
1496
|
-
export type
|
|
1383
|
+
export type WorkflowDetail = WorkflowInTicket & {
|
|
1384
|
+
/** 経路分岐 */
|
|
1385
|
+
routeConditions: WorkflowRouteCondition[];
|
|
1386
|
+
};
|
|
1497
1387
|
/**
|
|
1498
1388
|
* ステップのタイプ
|
|
1499
1389
|
*/
|
|
@@ -1517,81 +1407,19 @@ export declare const RouteStepActionType: {
|
|
|
1517
1407
|
readonly confirm: "confirm";
|
|
1518
1408
|
readonly none: "none";
|
|
1519
1409
|
};
|
|
1520
|
-
/**
|
|
1521
|
-
* 承認者への指示
|
|
1522
|
-
*/
|
|
1523
|
-
export type RouteStepInstruction = string | null;
|
|
1524
|
-
/**
|
|
1525
|
-
* フォールバックのタイプ
|
|
1526
|
-
*/
|
|
1527
|
-
export type RouteStepFallbackType = 'direct_manager' | 'higher_manager' | 'skip' | 'no_fallback' | 'higher_team' | null;
|
|
1528
|
-
/**
|
|
1529
|
-
* 最小指名人数。「申請者が指名」ステップのみ設定可能。
|
|
1530
|
-
* @minimum 0
|
|
1531
|
-
*/
|
|
1532
|
-
export type RouteStepMinCustomAssignees = number | null;
|
|
1533
|
-
/**
|
|
1534
|
-
* 承認者の選び方
|
|
1535
|
-
*/
|
|
1536
|
-
export type RouteStepApproverAssignmentInstruction = string | null;
|
|
1537
|
-
export type RouteStepRouteStepCondition = RouteStepCondition | null;
|
|
1538
|
-
/**
|
|
1539
|
-
* 経路ステップ
|
|
1540
|
-
*/
|
|
1541
|
-
export interface RouteStep {
|
|
1542
|
-
/** UUID */
|
|
1543
|
-
id: string;
|
|
1544
|
-
/** ステップ順序(1から始まります) */
|
|
1545
|
-
stepOrder: number;
|
|
1546
|
-
/** ステップのタイプ */
|
|
1547
|
-
stepType: RouteStepStepType;
|
|
1548
|
-
/** タイトル */
|
|
1549
|
-
title: string;
|
|
1550
|
-
/** アクションタイプ。承認/差し戻しの場合approve、回覧(確認あり)の場合confirm、回覧(確認なし)の場合noneになります。 */
|
|
1551
|
-
actionType: RouteStepActionType;
|
|
1552
|
-
/** 承認者への指示 */
|
|
1553
|
-
instruction: RouteStepInstruction;
|
|
1554
|
-
/** 必要な承認人数 */
|
|
1555
|
-
requiredApprovalsNumber: number;
|
|
1556
|
-
/** 必要な承認割合(%) */
|
|
1557
|
-
requiredApprovalsPercent: number;
|
|
1558
|
-
/** フォールバックのタイプ */
|
|
1559
|
-
fallbackType: RouteStepFallbackType;
|
|
1560
|
-
/** 自己承認を許可するか */
|
|
1561
|
-
allowSelfApproval: boolean;
|
|
1562
|
-
/**
|
|
1563
|
-
* 最小指名人数。「申請者が指名」ステップのみ設定可能。
|
|
1564
|
-
* @minimum 0
|
|
1565
|
-
*/
|
|
1566
|
-
minCustomAssignees: RouteStepMinCustomAssignees;
|
|
1567
|
-
/** 承認者の選び方 */
|
|
1568
|
-
approverAssignmentInstruction: RouteStepApproverAssignmentInstruction;
|
|
1569
|
-
/** 承認者の指定に使うユーザーの配列 */
|
|
1570
|
-
users: User[];
|
|
1571
|
-
/** 承認者の指定に使うチームと役職の条件 */
|
|
1572
|
-
targets?: RouteStepTarget[];
|
|
1573
|
-
routeStepCondition?: RouteStepRouteStepCondition;
|
|
1574
|
-
/** コード */
|
|
1575
|
-
code: string;
|
|
1576
|
-
}
|
|
1577
|
-
/**
|
|
1578
|
-
* 役職の比較条件。役職が指定されているときのみ値が入ります。
|
|
1579
|
-
*/
|
|
1580
|
-
export type RouteStepTargetGradeSymbol = 'equal' | 'greater_than' | 'greater_than_or_equal' | 'less_than' | 'less_than_or_equal' | 'any_of' | null;
|
|
1581
|
-
/**
|
|
1582
|
-
* 承認者タイプ「チームを動的に指定」または「ユーザーを動的に指定」で指定する変数名が入ります。
|
|
1583
|
-
*/
|
|
1584
|
-
export type RouteStepTargetVariable = string | null;
|
|
1585
1410
|
export interface RouteStepTarget {
|
|
1586
1411
|
team?: Team;
|
|
1587
1412
|
/** stepType=author_customizableまたはstepType=assignee_customizableの場合に、指定したチームの下位チームのメンバーも承認者候補に含めるかどうか(true: 含める、false: 含めない) */
|
|
1588
1413
|
descendants?: boolean;
|
|
1589
1414
|
/** 役職の比較条件。役職が指定されているときのみ値が入ります。 */
|
|
1590
|
-
gradeSymbol?:
|
|
1415
|
+
gradeSymbol?: 'equal' | 'greater_than' | 'greater_than_or_equal' | 'less_than' | 'less_than_or_equal' | 'any_of' | null;
|
|
1591
1416
|
/** 承認者の指定に使う役職の配列 */
|
|
1592
1417
|
grades?: Grade[];
|
|
1593
|
-
/**
|
|
1594
|
-
|
|
1418
|
+
/**
|
|
1419
|
+
* 承認者タイプ「チームを動的に指定」または「ユーザーを動的に指定」で指定する変数名が入ります。
|
|
1420
|
+
* @nullable
|
|
1421
|
+
*/
|
|
1422
|
+
variable?: string | null;
|
|
1595
1423
|
}
|
|
1596
1424
|
/**
|
|
1597
1425
|
* 実行タイプ
|
|
@@ -1610,18 +1438,6 @@ export declare const RouteStepConditionCombinationType: {
|
|
|
1610
1438
|
readonly all: "all";
|
|
1611
1439
|
readonly any: "any";
|
|
1612
1440
|
};
|
|
1613
|
-
/**
|
|
1614
|
-
* ステップごとに設定できる実行条件
|
|
1615
|
-
*/
|
|
1616
|
-
export interface RouteStepCondition {
|
|
1617
|
-
/** UUID */
|
|
1618
|
-
id?: string;
|
|
1619
|
-
/** 実行タイプ */
|
|
1620
|
-
conditionType?: RouteStepConditionConditionType;
|
|
1621
|
-
/** 条件の組み合わせタイプ */
|
|
1622
|
-
combinationType?: RouteStepConditionCombinationType;
|
|
1623
|
-
routeStepConditionFields?: RouteStepConditionField[];
|
|
1624
|
-
}
|
|
1625
1441
|
/**
|
|
1626
1442
|
* 変数のフィールド
|
|
1627
1443
|
*/
|
|
@@ -1675,13 +1491,70 @@ export interface RouteStepConditionField {
|
|
|
1675
1491
|
generalMasterItem?: GeneralMasterItem;
|
|
1676
1492
|
}
|
|
1677
1493
|
/**
|
|
1678
|
-
*
|
|
1494
|
+
* ステップごとに設定できる実行条件
|
|
1495
|
+
*/
|
|
1496
|
+
export interface RouteStepCondition {
|
|
1497
|
+
/** UUID */
|
|
1498
|
+
id?: string;
|
|
1499
|
+
/** 実行タイプ */
|
|
1500
|
+
conditionType?: RouteStepConditionConditionType;
|
|
1501
|
+
/** 条件の組み合わせタイプ */
|
|
1502
|
+
combinationType?: RouteStepConditionCombinationType;
|
|
1503
|
+
routeStepConditionFields?: RouteStepConditionField[];
|
|
1504
|
+
}
|
|
1505
|
+
/**
|
|
1506
|
+
* 経路ステップ
|
|
1679
1507
|
*/
|
|
1680
|
-
export
|
|
1508
|
+
export interface RouteStep {
|
|
1509
|
+
/** UUID */
|
|
1510
|
+
id: string;
|
|
1511
|
+
/** ステップ順序(1から始まります) */
|
|
1512
|
+
stepOrder: number;
|
|
1513
|
+
/** ステップのタイプ */
|
|
1514
|
+
stepType: RouteStepStepType;
|
|
1515
|
+
/** タイトル */
|
|
1516
|
+
title: string;
|
|
1517
|
+
/** アクションタイプ。承認/差し戻しの場合approve、回覧(確認あり)の場合confirm、回覧(確認なし)の場合noneになります。 */
|
|
1518
|
+
actionType: RouteStepActionType;
|
|
1519
|
+
/**
|
|
1520
|
+
* 承認者への指示
|
|
1521
|
+
* @nullable
|
|
1522
|
+
*/
|
|
1523
|
+
instruction: string | null;
|
|
1524
|
+
/** 必要な承認人数 */
|
|
1525
|
+
requiredApprovalsNumber: number;
|
|
1526
|
+
/** 必要な承認割合(%) */
|
|
1527
|
+
requiredApprovalsPercent: number;
|
|
1528
|
+
/** フォールバックのタイプ */
|
|
1529
|
+
fallbackType: 'direct_manager' | 'higher_manager' | 'skip' | 'no_fallback' | 'higher_team' | null;
|
|
1530
|
+
/** 自己承認を許可するか */
|
|
1531
|
+
allowSelfApproval: boolean;
|
|
1532
|
+
/**
|
|
1533
|
+
* 最小指名人数。「申請者が指名」ステップのみ設定可能。
|
|
1534
|
+
* @minimum 0
|
|
1535
|
+
* @nullable
|
|
1536
|
+
*/
|
|
1537
|
+
minCustomAssignees: number | null;
|
|
1538
|
+
/**
|
|
1539
|
+
* 承認者の選び方
|
|
1540
|
+
* @nullable
|
|
1541
|
+
*/
|
|
1542
|
+
approverAssignmentInstruction: string | null;
|
|
1543
|
+
/** 承認者の指定に使うユーザーの配列 */
|
|
1544
|
+
users: User[];
|
|
1545
|
+
/** 承認者の指定に使うチームと役職の条件 */
|
|
1546
|
+
targets?: RouteStepTarget[];
|
|
1547
|
+
routeStepCondition?: RouteStepCondition | null;
|
|
1548
|
+
/** コード */
|
|
1549
|
+
code: string;
|
|
1550
|
+
}
|
|
1681
1551
|
/**
|
|
1682
|
-
*
|
|
1552
|
+
* 経路の詳細情報
|
|
1683
1553
|
*/
|
|
1684
|
-
export type
|
|
1554
|
+
export type RouteDetail = Route & {
|
|
1555
|
+
/** 経路ステップ */
|
|
1556
|
+
steps: RouteStep[];
|
|
1557
|
+
};
|
|
1685
1558
|
/**
|
|
1686
1559
|
* ステータス
|
|
1687
1560
|
*/
|
|
@@ -1695,30 +1568,6 @@ export declare const TicketStatus: {
|
|
|
1695
1568
|
readonly denied: "denied";
|
|
1696
1569
|
readonly permanently_deleted: "permanently_deleted";
|
|
1697
1570
|
};
|
|
1698
|
-
/**
|
|
1699
|
-
* サブステータス。処理中のみ値が入ります。
|
|
1700
|
-
*/
|
|
1701
|
-
export type TicketSubStatus = SubStatus | null;
|
|
1702
|
-
/**
|
|
1703
|
-
* 申請者。代理申請の場合、代理人が入ります。外部ゲストの場合はnullになります。
|
|
1704
|
-
*/
|
|
1705
|
-
export type TicketAuthor = User | null;
|
|
1706
|
-
/**
|
|
1707
|
-
* 代理申請を依頼したユーザー。代理申請の場合のみ値が入ります。
|
|
1708
|
-
*/
|
|
1709
|
-
export type TicketProxyClientUser = User | null;
|
|
1710
|
-
/**
|
|
1711
|
-
* 申請日時
|
|
1712
|
-
*/
|
|
1713
|
-
export type TicketOpenedAt = string | null;
|
|
1714
|
-
/**
|
|
1715
|
-
* 完了日時
|
|
1716
|
-
*/
|
|
1717
|
-
export type TicketCompletedAt = string | null;
|
|
1718
|
-
/**
|
|
1719
|
-
* アーカイブ日時
|
|
1720
|
-
*/
|
|
1721
|
-
export type TicketArchivedAt = string | null;
|
|
1722
1571
|
/**
|
|
1723
1572
|
* チケットの共有範囲の上書き設定
|
|
1724
1573
|
*/
|
|
@@ -1729,175 +1578,107 @@ export declare const TicketForcedPublicType: {
|
|
|
1729
1578
|
readonly forced_private: "forced_private";
|
|
1730
1579
|
};
|
|
1731
1580
|
/**
|
|
1732
|
-
*
|
|
1733
|
-
*/
|
|
1734
|
-
export type TicketWorkflow = Workflow | WorkflowInTicket;
|
|
1735
|
-
/**
|
|
1736
|
-
* チケット
|
|
1581
|
+
* サブステータス
|
|
1737
1582
|
*/
|
|
1738
|
-
export interface
|
|
1583
|
+
export interface SubStatus {
|
|
1739
1584
|
/** UUID */
|
|
1740
1585
|
id: string;
|
|
1741
|
-
/**
|
|
1742
|
-
|
|
1743
|
-
/**
|
|
1744
|
-
|
|
1745
|
-
/** ステータス */
|
|
1746
|
-
status: TicketStatus;
|
|
1747
|
-
/** サブステータス。処理中のみ値が入ります。 */
|
|
1748
|
-
subStatus?: TicketSubStatus;
|
|
1586
|
+
/** コード */
|
|
1587
|
+
code: string;
|
|
1588
|
+
/** 名前 */
|
|
1589
|
+
name: string;
|
|
1749
1590
|
/**
|
|
1750
|
-
*
|
|
1751
|
-
* @
|
|
1591
|
+
* 説明
|
|
1592
|
+
* @nullable
|
|
1752
1593
|
*/
|
|
1753
|
-
|
|
1754
|
-
/** 申請者。代理申請の場合、代理人が入ります。外部ゲストの場合はnullになります。 */
|
|
1755
|
-
author: TicketAuthor;
|
|
1756
|
-
/** 代理申請を依頼したユーザー。代理申請の場合のみ値が入ります。 */
|
|
1757
|
-
proxyClientUser: TicketProxyClientUser;
|
|
1594
|
+
notes: string | null;
|
|
1758
1595
|
/** 作成日時 */
|
|
1759
1596
|
createdAt: string;
|
|
1760
|
-
/** 申請日時 */
|
|
1761
|
-
openedAt: TicketOpenedAt;
|
|
1762
|
-
/** 完了日時 */
|
|
1763
|
-
completedAt: TicketCompletedAt;
|
|
1764
|
-
/** アーカイブ日時 */
|
|
1765
|
-
archivedAt: TicketArchivedAt;
|
|
1766
1597
|
/** 更新日時 */
|
|
1767
1598
|
updatedAt: string;
|
|
1768
|
-
/** チケットがテナント全体に共有の場合true */
|
|
1769
|
-
publicStatus: boolean;
|
|
1770
|
-
/** チケットの共有範囲の上書き設定 */
|
|
1771
|
-
forcedPublicType: TicketForcedPublicType;
|
|
1772
|
-
/** このチケットのワークフロー情報。チケットを一件だけ取得した場合のみ、セクションや共有ユーザーを含むより詳細なワークフロー情報が入ります。 */
|
|
1773
|
-
workflow: TicketWorkflow;
|
|
1774
|
-
/** チケットのラベルの配列 */
|
|
1775
|
-
labels: Label[];
|
|
1776
1599
|
}
|
|
1777
|
-
export type TicketWithStepAllOf = {
|
|
1778
|
-
/** ステップの配列 */
|
|
1779
|
-
steps: TicketStep[];
|
|
1780
|
-
};
|
|
1781
|
-
export type TicketWithStep = Ticket & TicketWithStepAllOf;
|
|
1782
1600
|
/**
|
|
1783
|
-
*
|
|
1784
|
-
*/
|
|
1785
|
-
export type TicketDetailAllOfAuthorTeam = Team | null;
|
|
1786
|
-
/**
|
|
1787
|
-
* このチケットの承認経路。申請拒否状態の場合、nullになります。
|
|
1788
|
-
*/
|
|
1789
|
-
export type TicketDetailAllOfRoute = RouteDetail | null;
|
|
1790
|
-
/**
|
|
1791
|
-
* 元のチケット(パイプラインで作成されたときのみ値が入ります)
|
|
1792
|
-
*/
|
|
1793
|
-
export type TicketDetailAllOfTriggerTicket = Ticket | null;
|
|
1794
|
-
/**
|
|
1795
|
-
* クラウドサイン書類のステータス
|
|
1601
|
+
* ラベル
|
|
1796
1602
|
*/
|
|
1797
|
-
export
|
|
1798
|
-
export declare const TicketDetailAllOfCloudSignDocumentAnyOfStatus: {
|
|
1799
|
-
readonly draft: "draft";
|
|
1800
|
-
readonly in_progress: "in_progress";
|
|
1801
|
-
readonly rejected: "rejected";
|
|
1802
|
-
readonly template: "template";
|
|
1803
|
-
readonly imported: "imported";
|
|
1804
|
-
readonly completed: "completed";
|
|
1805
|
-
};
|
|
1806
|
-
export type TicketDetailAllOfCloudSignDocumentAnyOf = {
|
|
1603
|
+
export interface Label {
|
|
1807
1604
|
/** UUID */
|
|
1808
1605
|
id: string;
|
|
1809
|
-
/**
|
|
1810
|
-
|
|
1811
|
-
/**
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1606
|
+
/** 名前 */
|
|
1607
|
+
name: string;
|
|
1608
|
+
/**
|
|
1609
|
+
* 説明
|
|
1610
|
+
* @nullable
|
|
1611
|
+
*/
|
|
1612
|
+
description: string | null;
|
|
1613
|
+
/**
|
|
1614
|
+
* ラベルの色。#なしHEXコード(例: ff0000)
|
|
1615
|
+
* @minLength 6
|
|
1616
|
+
* @maxLength 6
|
|
1617
|
+
* @pattern ^[a-f0-9]{6}$
|
|
1618
|
+
*/
|
|
1619
|
+
color: string;
|
|
1817
1620
|
/** 作成日時 */
|
|
1818
1621
|
createdAt: string;
|
|
1819
1622
|
/** 更新日時 */
|
|
1820
1623
|
updatedAt: string;
|
|
1821
|
-
|
|
1822
|
-
url: string;
|
|
1823
|
-
};
|
|
1824
|
-
/**
|
|
1825
|
-
* 添付されたクラウドサインの書類
|
|
1826
|
-
*/
|
|
1827
|
-
export type TicketDetailAllOfCloudSignDocument = null | TicketDetailAllOfCloudSignDocumentAnyOf;
|
|
1828
|
-
export type TicketDetailAllOf = {
|
|
1829
|
-
/** 申請者の所属チーム. 外部ゲストの場合はnullになります。 */
|
|
1830
|
-
authorTeam: TicketDetailAllOfAuthorTeam;
|
|
1831
|
-
/** このチケットの承認経路。申請拒否状態の場合、nullになります。 */
|
|
1832
|
-
route: TicketDetailAllOfRoute;
|
|
1833
|
-
/** 元のチケット(パイプラインで作成されたときのみ値が入ります) */
|
|
1834
|
-
triggerTicket?: TicketDetailAllOfTriggerTicket;
|
|
1835
|
-
/** 次のチケット(パイプラインで次のチケットを作成したときのみ値が入ります) */
|
|
1836
|
-
nextTickets?: Ticket[];
|
|
1837
|
-
/** 明細の入力 */
|
|
1838
|
-
slipItems: SlipItem[];
|
|
1839
|
-
/** セクションの配列 */
|
|
1840
|
-
ticketSections: TicketSection[];
|
|
1841
|
-
/** フォームの入力 */
|
|
1842
|
-
inputs: TicketInput[];
|
|
1843
|
-
/** 添付されたクラウドサインの書類 */
|
|
1844
|
-
cloudSignDocument: TicketDetailAllOfCloudSignDocument;
|
|
1845
|
-
/** チケットのステップ */
|
|
1846
|
-
steps: TicketStep[];
|
|
1847
|
-
};
|
|
1848
|
-
/**
|
|
1849
|
-
* チケットの詳細
|
|
1850
|
-
*/
|
|
1851
|
-
export type TicketDetail = Ticket & TicketDetailAllOf;
|
|
1852
|
-
export type TicketInputValueAnyOf = string | null;
|
|
1853
|
-
export type TicketInputValueAnyOfTwo = unknown[] | null;
|
|
1854
|
-
export type TicketInputValueAnyOfThree = number | null;
|
|
1855
|
-
export type TicketInputValueAnyOfFour = number | null;
|
|
1856
|
-
/**
|
|
1857
|
-
* 入力値
|
|
1858
|
-
フィールドの型が汎用マスタアイテム、ユーザー、チーム、チケットの場合、JSON Arrayがキャッシュとして保存されます。
|
|
1859
|
-
*/
|
|
1860
|
-
export type TicketInputValue = TicketInputValueAnyOf | TicketInputValueAnyOfTwo | TicketInputValueAnyOfThree | TicketInputValueAnyOfFour;
|
|
1624
|
+
}
|
|
1861
1625
|
/**
|
|
1862
|
-
*
|
|
1626
|
+
* チケット
|
|
1863
1627
|
*/
|
|
1864
|
-
export interface
|
|
1628
|
+
export interface Ticket {
|
|
1865
1629
|
/** UUID */
|
|
1866
1630
|
id: string;
|
|
1867
|
-
/**
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
/**
|
|
1878
|
-
|
|
1879
|
-
/**
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
/**
|
|
1887
|
-
|
|
1888
|
-
/**
|
|
1889
|
-
|
|
1890
|
-
/**
|
|
1891
|
-
|
|
1631
|
+
/**
|
|
1632
|
+
* チケット番号
|
|
1633
|
+
* @nullable
|
|
1634
|
+
*/
|
|
1635
|
+
ticketNumber: string | null;
|
|
1636
|
+
/**
|
|
1637
|
+
* タイトル
|
|
1638
|
+
* @nullable
|
|
1639
|
+
*/
|
|
1640
|
+
title?: string | null;
|
|
1641
|
+
/** ステータス */
|
|
1642
|
+
status: TicketStatus;
|
|
1643
|
+
/** サブステータス。処理中のみ値が入ります。 */
|
|
1644
|
+
subStatus?: SubStatus | null;
|
|
1645
|
+
/**
|
|
1646
|
+
* 現在のステップ。0が起票者、1が最初の承認ステップ。
|
|
1647
|
+
* @minimum 0
|
|
1648
|
+
*/
|
|
1649
|
+
currentStep: number;
|
|
1650
|
+
/** 申請者。代理申請の場合、代理人が入ります。外部ゲストの場合はnullになります。 */
|
|
1651
|
+
author: User | null;
|
|
1652
|
+
/** 代理申請を依頼したユーザー。代理申請の場合のみ値が入ります。 */
|
|
1653
|
+
proxyClientUser: User | null;
|
|
1654
|
+
/** 作成日時 */
|
|
1655
|
+
createdAt: string;
|
|
1656
|
+
/**
|
|
1657
|
+
* 申請日時
|
|
1658
|
+
* @nullable
|
|
1659
|
+
*/
|
|
1660
|
+
openedAt: string | null;
|
|
1661
|
+
/**
|
|
1662
|
+
* 完了日時
|
|
1663
|
+
* @nullable
|
|
1664
|
+
*/
|
|
1665
|
+
completedAt: string | null;
|
|
1666
|
+
/**
|
|
1667
|
+
* アーカイブ日時
|
|
1668
|
+
* @nullable
|
|
1669
|
+
*/
|
|
1670
|
+
archivedAt: string | null;
|
|
1671
|
+
/** 更新日時 */
|
|
1672
|
+
updatedAt: string;
|
|
1673
|
+
/** チケットがテナント全体に共有の場合true */
|
|
1674
|
+
publicStatus: boolean;
|
|
1675
|
+
/** チケットの共有範囲の上書き設定 */
|
|
1676
|
+
forcedPublicType: TicketForcedPublicType;
|
|
1677
|
+
/** このチケットのワークフロー情報。チケットを一件だけ取得した場合のみ、セクションや共有ユーザーを含むより詳細なワークフロー情報が入ります。 */
|
|
1678
|
+
workflow: Workflow | WorkflowInTicket;
|
|
1679
|
+
/** チケットのラベルの配列 */
|
|
1680
|
+
labels: Label[];
|
|
1892
1681
|
}
|
|
1893
|
-
/**
|
|
1894
|
-
* 経路ステップのUUID。カスタムステップの場合、nullになります。
|
|
1895
|
-
*/
|
|
1896
|
-
export type TicketStepRouteStepId = string | null;
|
|
1897
|
-
/**
|
|
1898
|
-
* ステップのタイトル
|
|
1899
|
-
*/
|
|
1900
|
-
export type TicketStepTitle = string | null;
|
|
1901
1682
|
/**
|
|
1902
1683
|
* アクションタイプ。承認/差し戻しの場合approve、回覧(確認あり)の場合confirm、回覧(確認なし)の場合noneになります。
|
|
1903
1684
|
*/
|
|
@@ -1908,27 +1689,42 @@ export declare const TicketStepActionType: {
|
|
|
1908
1689
|
readonly none: "none";
|
|
1909
1690
|
};
|
|
1910
1691
|
/**
|
|
1911
|
-
*
|
|
1912
|
-
*/
|
|
1913
|
-
export type TicketStepFallbackResult = 'direct_manager' | 'higher_manager' | 'skip' | 'no_fallback' | 'higher_team' | null;
|
|
1914
|
-
/**
|
|
1915
|
-
* 承認ステップの作成者。カスタムステップの場合のみ、値が入ります。
|
|
1916
|
-
*/
|
|
1917
|
-
export type TicketStepAuthor = User | null;
|
|
1918
|
-
/**
|
|
1919
|
-
* ステップが完了した日時。過去のデータではnullを返します。
|
|
1692
|
+
* チケット承認者
|
|
1920
1693
|
*/
|
|
1921
|
-
export
|
|
1694
|
+
export interface TicketAssignee {
|
|
1695
|
+
/** UUID */
|
|
1696
|
+
id: string;
|
|
1697
|
+
/** ステップ番号。1が最初の承認ステップ。 */
|
|
1698
|
+
stepOrder: number;
|
|
1699
|
+
/** 現在の承認ステップの場合true */
|
|
1700
|
+
current: boolean;
|
|
1701
|
+
/** 承認済みの場合true */
|
|
1702
|
+
completed: boolean;
|
|
1703
|
+
/**
|
|
1704
|
+
* 承認日時。古いデータではnullを返します。
|
|
1705
|
+
* @nullable
|
|
1706
|
+
*/
|
|
1707
|
+
completedAt: string | null;
|
|
1708
|
+
/** 承認を保留中の場合true */
|
|
1709
|
+
pending: boolean;
|
|
1710
|
+
user: User;
|
|
1711
|
+
}
|
|
1922
1712
|
/**
|
|
1923
1713
|
* チケット承認ステップ
|
|
1924
1714
|
*/
|
|
1925
1715
|
export interface TicketStep {
|
|
1926
1716
|
/** UUID */
|
|
1927
1717
|
id: string;
|
|
1928
|
-
/**
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1718
|
+
/**
|
|
1719
|
+
* 経路ステップのUUID。カスタムステップの場合、nullになります。
|
|
1720
|
+
* @nullable
|
|
1721
|
+
*/
|
|
1722
|
+
routeStepId: string | null;
|
|
1723
|
+
/**
|
|
1724
|
+
* ステップのタイトル
|
|
1725
|
+
* @nullable
|
|
1726
|
+
*/
|
|
1727
|
+
title: string | null;
|
|
1932
1728
|
/** アクションタイプ。承認/差し戻しの場合approve、回覧(確認あり)の場合confirm、回覧(確認なし)の場合noneになります。 */
|
|
1933
1729
|
actionType: TicketStepActionType;
|
|
1934
1730
|
/** 必要な承認人数 */
|
|
@@ -1942,38 +1738,44 @@ export interface TicketStep {
|
|
|
1942
1738
|
/** フォールバックした場合true */
|
|
1943
1739
|
fallback: boolean;
|
|
1944
1740
|
/** フォールバックの結果 */
|
|
1945
|
-
fallbackResult:
|
|
1741
|
+
fallbackResult: 'direct_manager' | 'higher_manager' | 'skip' | 'no_fallback' | 'higher_team' | null;
|
|
1946
1742
|
/** 承認ステップの作成者。カスタムステップの場合のみ、値が入ります。 */
|
|
1947
|
-
author:
|
|
1743
|
+
author: User | null;
|
|
1948
1744
|
/** 承認者 */
|
|
1949
1745
|
assignees: TicketAssignee[];
|
|
1950
1746
|
/** ステップが完了している場合true */
|
|
1951
1747
|
completed: boolean;
|
|
1952
|
-
/**
|
|
1953
|
-
|
|
1748
|
+
/**
|
|
1749
|
+
* ステップが完了した日時。過去のデータではnullを返します。
|
|
1750
|
+
* @nullable
|
|
1751
|
+
*/
|
|
1752
|
+
completedAt: string | null;
|
|
1954
1753
|
}
|
|
1754
|
+
export type TicketWithStep = Ticket & {
|
|
1755
|
+
/** ステップの配列 */
|
|
1756
|
+
steps: TicketStep[];
|
|
1757
|
+
};
|
|
1955
1758
|
/**
|
|
1956
|
-
*
|
|
1957
|
-
*/
|
|
1958
|
-
export type TicketAssigneeCompletedAt = string | null;
|
|
1959
|
-
/**
|
|
1960
|
-
* チケット承認者
|
|
1759
|
+
* 添付されたクラウドサインの書類
|
|
1961
1760
|
*/
|
|
1962
|
-
export
|
|
1761
|
+
export type TicketDetailCloudSignDocument = null | {
|
|
1963
1762
|
/** UUID */
|
|
1964
1763
|
id: string;
|
|
1965
|
-
/**
|
|
1966
|
-
|
|
1967
|
-
/**
|
|
1968
|
-
|
|
1969
|
-
/**
|
|
1970
|
-
|
|
1971
|
-
/**
|
|
1972
|
-
|
|
1973
|
-
/**
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1764
|
+
/** クラウドサイン書類のID */
|
|
1765
|
+
documentId: string;
|
|
1766
|
+
/** クラウドサイン書類のタイトル */
|
|
1767
|
+
documentTitle: string;
|
|
1768
|
+
/** クラウドサイン書類のステータス */
|
|
1769
|
+
status: 'draft' | 'in_progress' | 'rejected' | 'template' | 'imported' | 'completed';
|
|
1770
|
+
/** クラウドサインがサンドボックス環境の場合true */
|
|
1771
|
+
sandbox: boolean;
|
|
1772
|
+
/** 作成日時 */
|
|
1773
|
+
createdAt: string;
|
|
1774
|
+
/** 更新日時 */
|
|
1775
|
+
updatedAt: string;
|
|
1776
|
+
/** クラウドサイン書類のURL */
|
|
1777
|
+
url: string;
|
|
1778
|
+
};
|
|
1977
1779
|
/**
|
|
1978
1780
|
* 添付ファイル
|
|
1979
1781
|
*/
|
|
@@ -1985,27 +1787,6 @@ export interface Attachment {
|
|
|
1985
1787
|
/** ファイルURL */
|
|
1986
1788
|
url: string;
|
|
1987
1789
|
}
|
|
1988
|
-
/**
|
|
1989
|
-
* 明細アイテム
|
|
1990
|
-
*/
|
|
1991
|
-
export interface SlipItem {
|
|
1992
|
-
/** UUID */
|
|
1993
|
-
id: string;
|
|
1994
|
-
/** 明細アイテムの入力の配列 */
|
|
1995
|
-
inputs: SlipItemInput[];
|
|
1996
|
-
/** 作成日時 */
|
|
1997
|
-
createdAt: string;
|
|
1998
|
-
/** 更新日時 */
|
|
1999
|
-
updatedAt: string;
|
|
2000
|
-
/** 明細セクションのUUID */
|
|
2001
|
-
slipSectionId: string;
|
|
2002
|
-
}
|
|
2003
|
-
/**
|
|
2004
|
-
* 入力値
|
|
2005
|
-
|
|
2006
|
-
フィールドの型が汎用マスタアイテムの場合、JSON Arrayがキャッシュとして保存されます。
|
|
2007
|
-
*/
|
|
2008
|
-
export type SlipItemInputValue = string | unknown[] | number | number | null;
|
|
2009
1790
|
/**
|
|
2010
1791
|
* 明細アイテム入力
|
|
2011
1792
|
*/
|
|
@@ -2021,7 +1802,7 @@ export interface SlipItemInput {
|
|
|
2021
1802
|
/** 入力値
|
|
2022
1803
|
|
|
2023
1804
|
フィールドの型が汎用マスタアイテムの場合、JSON Arrayがキャッシュとして保存されます。 */
|
|
2024
|
-
value:
|
|
1805
|
+
value: string | unknown[] | number | null;
|
|
2025
1806
|
/** 入力値: 汎用マスタアイテム */
|
|
2026
1807
|
generalMasterItems: GeneralMasterItem[];
|
|
2027
1808
|
/** 入力値: ユーザー */
|
|
@@ -2034,71 +1815,87 @@ export interface SlipItemInput {
|
|
|
2034
1815
|
attachments: Attachment[];
|
|
2035
1816
|
}
|
|
2036
1817
|
/**
|
|
2037
|
-
*
|
|
2038
|
-
*/
|
|
2039
|
-
export type LabelDescription = string | null;
|
|
2040
|
-
/**
|
|
2041
|
-
* ラベル
|
|
1818
|
+
* 明細アイテム
|
|
2042
1819
|
*/
|
|
2043
|
-
export interface
|
|
1820
|
+
export interface SlipItem {
|
|
2044
1821
|
/** UUID */
|
|
2045
1822
|
id: string;
|
|
2046
|
-
/**
|
|
2047
|
-
|
|
2048
|
-
/** 説明 */
|
|
2049
|
-
description: LabelDescription;
|
|
2050
|
-
/**
|
|
2051
|
-
* ラベルの色。#なしHEXコード(例: ff0000)
|
|
2052
|
-
* @minLength 6
|
|
2053
|
-
* @maxLength 6
|
|
2054
|
-
* @pattern ^[a-f0-9]{6}$
|
|
2055
|
-
*/
|
|
2056
|
-
color: string;
|
|
1823
|
+
/** 明細アイテムの入力の配列 */
|
|
1824
|
+
inputs: SlipItemInput[];
|
|
2057
1825
|
/** 作成日時 */
|
|
2058
1826
|
createdAt: string;
|
|
2059
1827
|
/** 更新日時 */
|
|
2060
1828
|
updatedAt: string;
|
|
1829
|
+
/** 明細セクションのUUID */
|
|
1830
|
+
slipSectionId: string;
|
|
2061
1831
|
}
|
|
2062
1832
|
/**
|
|
2063
|
-
*
|
|
2064
|
-
*/
|
|
2065
|
-
export type SubStatusNotes = string | null;
|
|
2066
|
-
/**
|
|
2067
|
-
* サブステータス
|
|
1833
|
+
* チケットのフォーム入力
|
|
2068
1834
|
*/
|
|
2069
|
-
export interface
|
|
1835
|
+
export interface TicketInput {
|
|
2070
1836
|
/** UUID */
|
|
2071
1837
|
id: string;
|
|
2072
|
-
/**
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
/**
|
|
2077
|
-
|
|
2078
|
-
/**
|
|
2079
|
-
|
|
2080
|
-
/**
|
|
2081
|
-
|
|
1838
|
+
/** 入力値
|
|
1839
|
+
フィールドの型が汎用マスタアイテム、ユーザー、チーム、チケットの場合、JSON Arrayがキャッシュとして保存されます。 */
|
|
1840
|
+
value: string | null | unknown[] | number;
|
|
1841
|
+
formField?: FormField;
|
|
1842
|
+
/** 入力値: 汎用マスタアイテム */
|
|
1843
|
+
generalMasterItems?: GeneralMasterItem[];
|
|
1844
|
+
/** 入力値: ユーザー */
|
|
1845
|
+
users?: User[];
|
|
1846
|
+
/** 入力値: チーム */
|
|
1847
|
+
teams?: Team[];
|
|
1848
|
+
/** 入力値: チケット */
|
|
1849
|
+
inputTickets?: Ticket[];
|
|
1850
|
+
/** 添付ファイル */
|
|
1851
|
+
attachments?: Attachment[];
|
|
1852
|
+
}
|
|
1853
|
+
/**
|
|
1854
|
+
* チケットのセクション
|
|
1855
|
+
*/
|
|
1856
|
+
export interface TicketSection {
|
|
1857
|
+
/** ワークフローのセクションID */
|
|
1858
|
+
sectionId: string;
|
|
1859
|
+
/** セクションの表示状態 */
|
|
1860
|
+
visible: boolean;
|
|
1861
|
+
/** このセクションの入力の配列 */
|
|
1862
|
+
inputs: TicketInput[];
|
|
2082
1863
|
}
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
1864
|
+
/**
|
|
1865
|
+
* チケットの詳細
|
|
1866
|
+
*/
|
|
1867
|
+
export type TicketDetail = Ticket & {
|
|
1868
|
+
/** 申請者の所属チーム. 外部ゲストの場合はnullになります。 */
|
|
1869
|
+
authorTeam: Team | null;
|
|
1870
|
+
/** このチケットの承認経路。申請拒否状態の場合、nullになります。 */
|
|
1871
|
+
route: RouteDetail | null;
|
|
1872
|
+
/** 元のチケット(パイプラインで作成されたときのみ値が入ります) */
|
|
1873
|
+
triggerTicket?: Ticket | null;
|
|
1874
|
+
/** 次のチケット(パイプラインで次のチケットを作成したときのみ値が入ります) */
|
|
1875
|
+
nextTickets?: Ticket[];
|
|
1876
|
+
/** 明細の入力 */
|
|
1877
|
+
slipItems: SlipItem[];
|
|
1878
|
+
/** セクションの配列 */
|
|
1879
|
+
ticketSections: TicketSection[];
|
|
1880
|
+
/** フォームの入力 */
|
|
1881
|
+
inputs: TicketInput[];
|
|
1882
|
+
/** 添付されたクラウドサインの書類 */
|
|
1883
|
+
cloudSignDocument: TicketDetailCloudSignDocument;
|
|
1884
|
+
/** チケットのステップ */
|
|
1885
|
+
steps: TicketStep[];
|
|
1886
|
+
};
|
|
2086
1887
|
/**
|
|
2087
1888
|
* チケットの共有ユーザー
|
|
2088
1889
|
*/
|
|
2089
1890
|
export interface TicketViewer {
|
|
2090
1891
|
/** UUID */
|
|
2091
1892
|
id: string;
|
|
2092
|
-
user:
|
|
2093
|
-
team:
|
|
2094
|
-
grade:
|
|
1893
|
+
user: User | null;
|
|
1894
|
+
team: Team | null;
|
|
1895
|
+
grade: Grade | null;
|
|
2095
1896
|
/** 下位のチームを含めるかどうか */
|
|
2096
1897
|
descendants: boolean;
|
|
2097
1898
|
}
|
|
2098
|
-
/**
|
|
2099
|
-
* 削除日時
|
|
2100
|
-
*/
|
|
2101
|
-
export type CommentDeletedAt = string | null;
|
|
2102
1899
|
/**
|
|
2103
1900
|
* コメント
|
|
2104
1901
|
*/
|
|
@@ -2113,34 +1910,30 @@ export interface Comment {
|
|
|
2113
1910
|
createdAt: string;
|
|
2114
1911
|
/** 更新日時 */
|
|
2115
1912
|
updatedAt: string;
|
|
2116
|
-
/**
|
|
2117
|
-
|
|
1913
|
+
/**
|
|
1914
|
+
* 削除日時
|
|
1915
|
+
* @nullable
|
|
1916
|
+
*/
|
|
1917
|
+
deletedAt: string | null;
|
|
2118
1918
|
user: User;
|
|
2119
1919
|
/** メンションしたユーザーの配列 */
|
|
2120
1920
|
mentionedUsers: User[];
|
|
2121
1921
|
}
|
|
2122
|
-
/**
|
|
2123
|
-
* 操作ユーザー。システムによる操作の場合はnull。
|
|
2124
|
-
*/
|
|
2125
|
-
export type AuditLogUser = User | null;
|
|
2126
1922
|
/**
|
|
2127
1923
|
* 操作データ
|
|
1924
|
+
* @nullable
|
|
2128
1925
|
*/
|
|
2129
|
-
export type
|
|
1926
|
+
export type AuditLogData = {
|
|
2130
1927
|
[key: string]: unknown;
|
|
2131
|
-
};
|
|
2132
|
-
/**
|
|
2133
|
-
* 操作データ
|
|
2134
|
-
*/
|
|
2135
|
-
export type AuditLogData = AuditLogDataAnyOf | null;
|
|
2136
|
-
/**
|
|
2137
|
-
* リモートIPアドレス
|
|
2138
|
-
*/
|
|
2139
|
-
export type AuditLogRemoteIp = string | null;
|
|
1928
|
+
} | null;
|
|
2140
1929
|
/**
|
|
2141
1930
|
* システムによる操作種別
|
|
1931
|
+
* @nullable
|
|
2142
1932
|
*/
|
|
2143
|
-
export type AuditLogSystemType =
|
|
1933
|
+
export type AuditLogSystemType = (typeof AuditLogSystemType)[keyof typeof AuditLogSystemType] | null;
|
|
1934
|
+
export declare const AuditLogSystemType: {
|
|
1935
|
+
readonly automation: "automation";
|
|
1936
|
+
};
|
|
2144
1937
|
/**
|
|
2145
1938
|
* 監査ログ
|
|
2146
1939
|
*/
|
|
@@ -2148,14 +1941,23 @@ export interface AuditLog {
|
|
|
2148
1941
|
/** UUID */
|
|
2149
1942
|
id: string;
|
|
2150
1943
|
/** 操作ユーザー。システムによる操作の場合はnull。 */
|
|
2151
|
-
user:
|
|
1944
|
+
user: User | null;
|
|
2152
1945
|
/** 操作種別 */
|
|
2153
1946
|
action: string;
|
|
2154
|
-
/**
|
|
1947
|
+
/**
|
|
1948
|
+
* 操作データ
|
|
1949
|
+
* @nullable
|
|
1950
|
+
*/
|
|
2155
1951
|
data: AuditLogData;
|
|
2156
|
-
/**
|
|
2157
|
-
|
|
2158
|
-
|
|
1952
|
+
/**
|
|
1953
|
+
* リモートIPアドレス
|
|
1954
|
+
* @nullable
|
|
1955
|
+
*/
|
|
1956
|
+
remoteIp: string | null;
|
|
1957
|
+
/**
|
|
1958
|
+
* システムによる操作種別
|
|
1959
|
+
* @nullable
|
|
1960
|
+
*/
|
|
2159
1961
|
systemType: AuditLogSystemType;
|
|
2160
1962
|
/** 作成日時 */
|
|
2161
1963
|
createdAt: string;
|
|
@@ -2166,43 +1968,6 @@ export type WebhookRequestBodyPingData = {
|
|
|
2166
1968
|
/** メッセージ。eventTypeがpingの場合に使用されます。 */
|
|
2167
1969
|
message?: string;
|
|
2168
1970
|
};
|
|
2169
|
-
/**
|
|
2170
|
-
* Webhookのリクエストボディ(ping)
|
|
2171
|
-
*/
|
|
2172
|
-
export interface WebhookRequestBodyPing {
|
|
2173
|
-
/** イベントの種類 */
|
|
2174
|
-
eventType?: string;
|
|
2175
|
-
tenant?: WebhookTenant;
|
|
2176
|
-
user?: User;
|
|
2177
|
-
data?: WebhookRequestBodyPingData;
|
|
2178
|
-
}
|
|
2179
|
-
export type WebhookRequestBodyTicketData = {
|
|
2180
|
-
ticket?: TicketDetail;
|
|
2181
|
-
};
|
|
2182
|
-
/**
|
|
2183
|
-
* Webhookのリクエストボディ(ticket_*)
|
|
2184
|
-
*/
|
|
2185
|
-
export interface WebhookRequestBodyTicket {
|
|
2186
|
-
/** イベントの種類 */
|
|
2187
|
-
eventType?: string;
|
|
2188
|
-
tenant?: WebhookTenant;
|
|
2189
|
-
user?: User;
|
|
2190
|
-
data?: WebhookRequestBodyTicketData;
|
|
2191
|
-
}
|
|
2192
|
-
export type WebhookRequestBodyCommentData = {
|
|
2193
|
-
ticket?: TicketWithStep;
|
|
2194
|
-
comment?: Comment;
|
|
2195
|
-
};
|
|
2196
|
-
/**
|
|
2197
|
-
* Webhookのリクエストボディ(comment_*)
|
|
2198
|
-
*/
|
|
2199
|
-
export interface WebhookRequestBodyComment {
|
|
2200
|
-
/** イベントの種類 */
|
|
2201
|
-
eventType?: string;
|
|
2202
|
-
tenant?: WebhookTenant;
|
|
2203
|
-
user?: User;
|
|
2204
|
-
data?: WebhookRequestBodyCommentData;
|
|
2205
|
-
}
|
|
2206
1971
|
/**
|
|
2207
1972
|
* Webhookのテナント情報
|
|
2208
1973
|
*/
|
|
@@ -2215,66 +1980,41 @@ export interface WebhookTenant {
|
|
|
2215
1980
|
name?: string;
|
|
2216
1981
|
}
|
|
2217
1982
|
/**
|
|
2218
|
-
*
|
|
1983
|
+
* Webhookのリクエストボディ(ping)
|
|
2219
1984
|
*/
|
|
2220
|
-
export interface
|
|
2221
|
-
/**
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
}
|
|
2230
|
-
export type KintoneAppSettingMappingsItem = {
|
|
2231
|
-
/** UUID */
|
|
2232
|
-
id: string;
|
|
2233
|
-
/** 選択用テーブルで表示する場合true */
|
|
2234
|
-
displayInTable: boolean;
|
|
2235
|
-
/** kintoneフィールドコード */
|
|
2236
|
-
kintoneFieldCode: string;
|
|
2237
|
-
/** kintoneフィールドコード */
|
|
2238
|
-
kintoneFieldName: string;
|
|
2239
|
-
/** kintoneフィールドコード */
|
|
2240
|
-
kintoneFieldType: string;
|
|
2241
|
-
formField: FormField;
|
|
1985
|
+
export interface WebhookRequestBodyPing {
|
|
1986
|
+
/** イベントの種類 */
|
|
1987
|
+
eventType?: string;
|
|
1988
|
+
tenant?: WebhookTenant;
|
|
1989
|
+
user?: User;
|
|
1990
|
+
data?: WebhookRequestBodyPingData;
|
|
1991
|
+
}
|
|
1992
|
+
export type WebhookRequestBodyTicketData = {
|
|
1993
|
+
ticket?: TicketDetail;
|
|
2242
1994
|
};
|
|
2243
1995
|
/**
|
|
2244
|
-
*
|
|
1996
|
+
* Webhookのリクエストボディ(ticket_*)
|
|
2245
1997
|
*/
|
|
2246
|
-
export interface
|
|
2247
|
-
/**
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
mappings: KintoneAppSettingMappingsItem[];
|
|
1998
|
+
export interface WebhookRequestBodyTicket {
|
|
1999
|
+
/** イベントの種類 */
|
|
2000
|
+
eventType?: string;
|
|
2001
|
+
tenant?: WebhookTenant;
|
|
2002
|
+
user?: User;
|
|
2003
|
+
data?: WebhookRequestBodyTicketData;
|
|
2253
2004
|
}
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
export type GeneralMasterSearchFilterFieldType = (typeof GeneralMasterSearchFilterFieldType)[keyof typeof GeneralMasterSearchFilterFieldType];
|
|
2258
|
-
export declare const GeneralMasterSearchFilterFieldType: {
|
|
2259
|
-
readonly free_word: "free_word";
|
|
2260
|
-
readonly name: "name";
|
|
2261
|
-
readonly code: "code";
|
|
2262
|
-
readonly description: "description";
|
|
2263
|
-
readonly custom_field: "custom_field";
|
|
2005
|
+
export type WebhookRequestBodyCommentData = {
|
|
2006
|
+
ticket?: TicketWithStep;
|
|
2007
|
+
comment?: Comment;
|
|
2264
2008
|
};
|
|
2265
2009
|
/**
|
|
2266
|
-
*
|
|
2010
|
+
* Webhookのリクエストボディ(comment_*)
|
|
2267
2011
|
*/
|
|
2268
|
-
export
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
/** 絞り込み先のフィールドのタイプ */
|
|
2275
|
-
fieldType: GeneralMasterSearchFilterFieldType;
|
|
2276
|
-
/** fieldType=custom_fieldの場合に絞り込み先の汎用マスタのカスタムフィールドのID(UUID) */
|
|
2277
|
-
generalMasterFieldId: GeneralMasterSearchFilterGeneralMasterFieldId;
|
|
2012
|
+
export interface WebhookRequestBodyComment {
|
|
2013
|
+
/** イベントの種類 */
|
|
2014
|
+
eventType?: string;
|
|
2015
|
+
tenant?: WebhookTenant;
|
|
2016
|
+
user?: User;
|
|
2017
|
+
data?: WebhookRequestBodyCommentData;
|
|
2278
2018
|
}
|
|
2279
2019
|
/**
|
|
2280
2020
|
* Bad Request
|
|
@@ -2295,14 +2035,13 @@ export type NotFoundResponse = ErrorResponse;
|
|
|
2295
2035
|
/**
|
|
2296
2036
|
* バリデーションエラーの詳細
|
|
2297
2037
|
*/
|
|
2298
|
-
export type
|
|
2038
|
+
export type UnprocessableContentResponseErrors = {
|
|
2299
2039
|
[key: string]: string[];
|
|
2300
2040
|
};
|
|
2301
|
-
export type
|
|
2041
|
+
export type UnprocessableContentResponse = ErrorResponse & {
|
|
2302
2042
|
/** バリデーションエラーの詳細 */
|
|
2303
|
-
errors?:
|
|
2043
|
+
errors?: UnprocessableContentResponseErrors;
|
|
2304
2044
|
};
|
|
2305
|
-
export type UnprocessableContentResponse = ErrorResponse & UnprocessableContentResponseAllOf;
|
|
2306
2045
|
export type ListCategoriesParams = {
|
|
2307
2046
|
/**
|
|
2308
2047
|
* ページ
|
|
@@ -2347,10 +2086,6 @@ export type ListFoldersParams = {
|
|
|
2347
2086
|
*/
|
|
2348
2087
|
sortBy?: string;
|
|
2349
2088
|
};
|
|
2350
|
-
/**
|
|
2351
|
-
* 親フォルダのID
|
|
2352
|
-
*/
|
|
2353
|
-
export type CreateFolderBodyParentFolderId = string | null;
|
|
2354
2089
|
export type CreateFolderBody = {
|
|
2355
2090
|
/** 名前 */
|
|
2356
2091
|
name: string;
|
|
@@ -2358,13 +2093,12 @@ export type CreateFolderBody = {
|
|
|
2358
2093
|
code?: string;
|
|
2359
2094
|
/** フォルダの説明 */
|
|
2360
2095
|
description?: string;
|
|
2361
|
-
/**
|
|
2362
|
-
|
|
2096
|
+
/**
|
|
2097
|
+
* 親フォルダのID
|
|
2098
|
+
* @nullable
|
|
2099
|
+
*/
|
|
2100
|
+
parentFolderId?: string | null;
|
|
2363
2101
|
};
|
|
2364
|
-
/**
|
|
2365
|
-
* 親フォルダのID
|
|
2366
|
-
*/
|
|
2367
|
-
export type UpdateFolderBodyParentFolderId = string | null;
|
|
2368
2102
|
export type UpdateFolderBody = {
|
|
2369
2103
|
/** 名前 */
|
|
2370
2104
|
name?: string;
|
|
@@ -2372,8 +2106,11 @@ export type UpdateFolderBody = {
|
|
|
2372
2106
|
code?: string;
|
|
2373
2107
|
/** フォルダの説明 */
|
|
2374
2108
|
description?: string;
|
|
2375
|
-
/**
|
|
2376
|
-
|
|
2109
|
+
/**
|
|
2110
|
+
* 親フォルダのID
|
|
2111
|
+
* @nullable
|
|
2112
|
+
*/
|
|
2113
|
+
parentFolderId?: string | null;
|
|
2377
2114
|
};
|
|
2378
2115
|
export type ListGeneralMastersParams = {
|
|
2379
2116
|
/**
|
|
@@ -2393,18 +2130,6 @@ export type ListGeneralMastersParams = {
|
|
|
2393
2130
|
*/
|
|
2394
2131
|
sortBy?: string;
|
|
2395
2132
|
};
|
|
2396
|
-
/**
|
|
2397
|
-
* コード。未指定の場合、ランダムな英数字が自動的に設定されます。
|
|
2398
|
-
*/
|
|
2399
|
-
export type CreateGeneralMasterBodyCode = string | null;
|
|
2400
|
-
/**
|
|
2401
|
-
* 説明
|
|
2402
|
-
*/
|
|
2403
|
-
export type CreateGeneralMasterBodyDescription = string | null;
|
|
2404
|
-
/**
|
|
2405
|
-
* フィールドの説明
|
|
2406
|
-
*/
|
|
2407
|
-
export type CreateGeneralMasterBodyFieldsItemDescription = string | null;
|
|
2408
2133
|
/**
|
|
2409
2134
|
* フィールドの型
|
|
2410
2135
|
*/
|
|
@@ -2418,57 +2143,63 @@ export declare const CreateGeneralMasterBodyFieldsItemFieldType: {
|
|
|
2418
2143
|
readonly pull_down: "pull_down";
|
|
2419
2144
|
readonly date: "date";
|
|
2420
2145
|
};
|
|
2421
|
-
/**
|
|
2422
|
-
* 選択肢。fieldTypeがcheckboxまたはpull_downのとき必須。
|
|
2423
|
-
*/
|
|
2424
|
-
export type CreateGeneralMasterBodyFieldsItemOptions = string[] | null;
|
|
2425
2146
|
export type CreateGeneralMasterBodyFieldsItem = {
|
|
2426
2147
|
/** フィールド名 */
|
|
2427
2148
|
title: string;
|
|
2428
|
-
/**
|
|
2429
|
-
|
|
2149
|
+
/**
|
|
2150
|
+
* フィールドの説明
|
|
2151
|
+
* @nullable
|
|
2152
|
+
*/
|
|
2153
|
+
description?: string | null;
|
|
2430
2154
|
/** フィールドのコード */
|
|
2431
2155
|
code: string;
|
|
2432
2156
|
/** 入力必須かどうか */
|
|
2433
2157
|
required: boolean;
|
|
2434
2158
|
/** フィールドの型 */
|
|
2435
2159
|
fieldType: CreateGeneralMasterBodyFieldsItemFieldType;
|
|
2436
|
-
/**
|
|
2437
|
-
|
|
2160
|
+
/**
|
|
2161
|
+
* 選択肢。fieldTypeがcheckboxまたはpull_downのとき必須。
|
|
2162
|
+
* @nullable
|
|
2163
|
+
*/
|
|
2164
|
+
options?: string[] | null;
|
|
2438
2165
|
/** 管理者以外も閲覧可能な場合true */
|
|
2439
2166
|
visible?: boolean;
|
|
2440
2167
|
};
|
|
2441
2168
|
export type CreateGeneralMasterBody = {
|
|
2442
2169
|
/** 名前 */
|
|
2443
2170
|
name: string;
|
|
2444
|
-
/**
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2171
|
+
/**
|
|
2172
|
+
* コード。未指定の場合、ランダムな英数字が自動的に設定されます。
|
|
2173
|
+
* @nullable
|
|
2174
|
+
*/
|
|
2175
|
+
code?: string | null;
|
|
2176
|
+
/**
|
|
2177
|
+
* 説明
|
|
2178
|
+
* @nullable
|
|
2179
|
+
*/
|
|
2180
|
+
description?: string | null;
|
|
2448
2181
|
/** カスタムフィールドの配列 */
|
|
2449
2182
|
fields?: CreateGeneralMasterBodyFieldsItem[];
|
|
2450
2183
|
};
|
|
2451
|
-
/**
|
|
2452
|
-
* フィールドの説明
|
|
2453
|
-
*/
|
|
2454
|
-
export type UpdateGeneralMasterBodyFieldsItemDescription = string | null;
|
|
2455
|
-
/**
|
|
2456
|
-
* 選択肢。fieldTypeがcheckboxまたはpull_downのときのみ必須。
|
|
2457
|
-
*/
|
|
2458
|
-
export type UpdateGeneralMasterBodyFieldsItemOptions = string[] | null;
|
|
2459
2184
|
export type UpdateGeneralMasterBodyFieldsItem = {
|
|
2460
2185
|
/** フィールド名 */
|
|
2461
2186
|
title?: string;
|
|
2462
|
-
/**
|
|
2463
|
-
|
|
2187
|
+
/**
|
|
2188
|
+
* フィールドの説明
|
|
2189
|
+
* @nullable
|
|
2190
|
+
*/
|
|
2191
|
+
description?: string | null;
|
|
2464
2192
|
/** フィールドのコード */
|
|
2465
2193
|
code: string;
|
|
2466
2194
|
/** 入力必須かどうか */
|
|
2467
2195
|
required?: boolean;
|
|
2468
2196
|
/** フィールドの型 */
|
|
2469
2197
|
fieldType?: string;
|
|
2470
|
-
/**
|
|
2471
|
-
|
|
2198
|
+
/**
|
|
2199
|
+
* 選択肢。fieldTypeがcheckboxまたはpull_downのときのみ必須。
|
|
2200
|
+
* @nullable
|
|
2201
|
+
*/
|
|
2202
|
+
options?: string[] | null;
|
|
2472
2203
|
/** 管理者以外も閲覧可能な場合true */
|
|
2473
2204
|
visible?: boolean;
|
|
2474
2205
|
};
|
|
@@ -2500,24 +2231,11 @@ export type ListGeneralMasterItemsParams = {
|
|
|
2500
2231
|
*/
|
|
2501
2232
|
sortBy?: string;
|
|
2502
2233
|
};
|
|
2503
|
-
/**
|
|
2504
|
-
* 有効期限の開始日
|
|
2505
|
-
*/
|
|
2506
|
-
export type CreateGeneralMasterItemBodyStartsOn = string | null;
|
|
2507
|
-
/**
|
|
2508
|
-
* 有効期限の終了日
|
|
2509
|
-
*/
|
|
2510
|
-
export type CreateGeneralMasterItemBodyEndsOn = string | null;
|
|
2511
|
-
export type CreateGeneralMasterItemBodyInputsItemValueOneOf = string | null;
|
|
2512
|
-
/**
|
|
2513
|
-
* 入力値。カスタムフィールドがcheckboxの場合は文字列の配列、それ以外は文字列。
|
|
2514
|
-
*/
|
|
2515
|
-
export type CreateGeneralMasterItemBodyInputsItemValue = CreateGeneralMasterItemBodyInputsItemValueOneOf | string[];
|
|
2516
2234
|
export type CreateGeneralMasterItemBodyInputsItem = {
|
|
2517
2235
|
/** フィールドのコード */
|
|
2518
2236
|
code: string;
|
|
2519
2237
|
/** 入力値。カスタムフィールドがcheckboxの場合は文字列の配列、それ以外は文字列。 */
|
|
2520
|
-
value:
|
|
2238
|
+
value: string | null | string[];
|
|
2521
2239
|
};
|
|
2522
2240
|
export type CreateGeneralMasterItemBody = {
|
|
2523
2241
|
/** コード。未指定の場合、ランダムな英数字が自動的に設定されます。 */
|
|
@@ -2526,31 +2244,24 @@ export type CreateGeneralMasterItemBody = {
|
|
|
2526
2244
|
name: string;
|
|
2527
2245
|
/** 説明 */
|
|
2528
2246
|
description?: string;
|
|
2529
|
-
/**
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2247
|
+
/**
|
|
2248
|
+
* 有効期限の開始日
|
|
2249
|
+
* @nullable
|
|
2250
|
+
*/
|
|
2251
|
+
startsOn?: string | null;
|
|
2252
|
+
/**
|
|
2253
|
+
* 有効期限の終了日
|
|
2254
|
+
* @nullable
|
|
2255
|
+
*/
|
|
2256
|
+
endsOn?: string | null;
|
|
2533
2257
|
/** カスタムフィールドの入力。必須ではないカスタムフィールドを含む、すべてのカスタムフィールドに対して入力する必要があります。 */
|
|
2534
2258
|
inputs: CreateGeneralMasterItemBodyInputsItem[];
|
|
2535
2259
|
};
|
|
2536
|
-
/**
|
|
2537
|
-
* 有効期限の開始日
|
|
2538
|
-
*/
|
|
2539
|
-
export type UpdateGeneralMasterItemBodyStartsOn = string | null;
|
|
2540
|
-
/**
|
|
2541
|
-
* 有効期限の終了日
|
|
2542
|
-
*/
|
|
2543
|
-
export type UpdateGeneralMasterItemBodyEndsOn = string | null;
|
|
2544
|
-
export type UpdateGeneralMasterItemBodyInputsItemValueOneOf = string | null;
|
|
2545
|
-
/**
|
|
2546
|
-
* 入力値。カスタムフィールドがcheckboxの場合文字列の配列、それ以外の場合文字列。
|
|
2547
|
-
*/
|
|
2548
|
-
export type UpdateGeneralMasterItemBodyInputsItemValue = UpdateGeneralMasterItemBodyInputsItemValueOneOf | string[];
|
|
2549
2260
|
export type UpdateGeneralMasterItemBodyInputsItem = {
|
|
2550
2261
|
/** フィールドのコード */
|
|
2551
2262
|
code: string;
|
|
2552
2263
|
/** 入力値。カスタムフィールドがcheckboxの場合文字列の配列、それ以外の場合文字列。 */
|
|
2553
|
-
value:
|
|
2264
|
+
value: string | null | string[];
|
|
2554
2265
|
};
|
|
2555
2266
|
export type UpdateGeneralMasterItemBody = {
|
|
2556
2267
|
/** コード。未指定の場合、ランダムな英数字が自動的に設定されます。 */
|
|
@@ -2559,10 +2270,16 @@ export type UpdateGeneralMasterItemBody = {
|
|
|
2559
2270
|
name?: string;
|
|
2560
2271
|
/** 説明 */
|
|
2561
2272
|
description?: string;
|
|
2562
|
-
/**
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2273
|
+
/**
|
|
2274
|
+
* 有効期限の開始日
|
|
2275
|
+
* @nullable
|
|
2276
|
+
*/
|
|
2277
|
+
startsOn?: string | null;
|
|
2278
|
+
/**
|
|
2279
|
+
* 有効期限の終了日
|
|
2280
|
+
* @nullable
|
|
2281
|
+
*/
|
|
2282
|
+
endsOn?: string | null;
|
|
2566
2283
|
/** カスタムフィールドの入力。必須ではないカスタムフィールドを含む、すべてのカスタムフィールドに対して入力する必要があります。 */
|
|
2567
2284
|
inputs?: UpdateGeneralMasterItemBodyInputsItem[];
|
|
2568
2285
|
};
|
|
@@ -2731,7 +2448,7 @@ export type ListTicketsParams = {
|
|
|
2731
2448
|
/**
|
|
2732
2449
|
* ステータスの配列
|
|
2733
2450
|
*/
|
|
2734
|
-
status?: 'draft' | 'in_progress' | 'rejected' | 'completed' | 'denied' | 'archived' |
|
|
2451
|
+
status?: 'draft' | 'in_progress' | 'rejected' | 'completed' | 'denied' | 'archived' | ('draft' | 'in_progress' | 'rejected' | 'completed' | 'denied' | 'archived')[];
|
|
2735
2452
|
/**
|
|
2736
2453
|
* サブステータスのUUIDの配列
|
|
2737
2454
|
*/
|
|
@@ -2805,15 +2522,6 @@ export type ListTicketsParams = {
|
|
|
2805
2522
|
*/
|
|
2806
2523
|
stepTitle?: string;
|
|
2807
2524
|
};
|
|
2808
|
-
export type ListTicketsStatusOneOfItem = (typeof ListTicketsStatusOneOfItem)[keyof typeof ListTicketsStatusOneOfItem];
|
|
2809
|
-
export declare const ListTicketsStatusOneOfItem: {
|
|
2810
|
-
readonly draft: "draft";
|
|
2811
|
-
readonly in_progress: "in_progress";
|
|
2812
|
-
readonly rejected: "rejected";
|
|
2813
|
-
readonly completed: "completed";
|
|
2814
|
-
readonly denied: "denied";
|
|
2815
|
-
readonly archived: "archived";
|
|
2816
|
-
};
|
|
2817
2525
|
export type ListTicketsAssigneeStatusItem = (typeof ListTicketsAssigneeStatusItem)[keyof typeof ListTicketsAssigneeStatusItem];
|
|
2818
2526
|
export declare const ListTicketsAssigneeStatusItem: {
|
|
2819
2527
|
readonly all: "all";
|
|
@@ -2828,146 +2536,79 @@ export declare const CreateTicketBodyStatus: {
|
|
|
2828
2536
|
readonly draft: "draft";
|
|
2829
2537
|
readonly in_progress: "in_progress";
|
|
2830
2538
|
};
|
|
2831
|
-
/**
|
|
2832
|
-
* 依頼者となるユーザーのUUID。代理申請の場合のみ指定してください。
|
|
2833
|
-
*/
|
|
2834
|
-
export type CreateTicketBodyProxyClientUserId = string | null;
|
|
2835
|
-
/**
|
|
2836
|
-
* チケットのタイトル。ワークフローでtitleInputModeがinputのときのみ設定可能です。
|
|
2837
|
-
*/
|
|
2838
|
-
export type CreateTicketBodyTitle = string | null;
|
|
2839
|
-
/**
|
|
2840
|
-
* 明細セクションのUUID。
|
|
2841
|
-
*/
|
|
2842
|
-
export type CreateTicketBodySlipItemsItemSlipSectionId = string | null;
|
|
2843
|
-
/**
|
|
2844
|
-
* 明細フィールドのUUID。slipFieldIdまたはslipFieldCodeは片方のみ必須です。
|
|
2845
|
-
*/
|
|
2846
|
-
export type CreateTicketBodySlipItemsItemInputsItemSlipFieldId = string | null;
|
|
2847
|
-
/**
|
|
2848
|
-
* 明細フィールドのコード。slipFieldIdまたはslipFieldCodeは片方のみ必須です。
|
|
2849
|
-
*/
|
|
2850
|
-
export type CreateTicketBodySlipItemsItemInputsItemSlipFieldCode = string | null;
|
|
2851
|
-
export type CreateTicketBodySlipItemsItemInputsItemValueOneOf = string | null;
|
|
2852
|
-
/**
|
|
2853
|
-
* 入力値。フィールドがチェックボックスタイプのときは配列で指定してください。
|
|
2854
|
-
*/
|
|
2855
|
-
export type CreateTicketBodySlipItemsItemInputsItemValue = CreateTicketBodySlipItemsItemInputsItemValueOneOf | string[];
|
|
2856
|
-
export type CreateTicketBodySlipItemsItemInputsItemGeneralMasterItemIdOneOf = string | null;
|
|
2857
|
-
/**
|
|
2858
|
-
* 汎用マスタアイテムのUUID。フィールドが汎用マスタタイプのときのみ指定してください。
|
|
2859
|
-
*/
|
|
2860
|
-
export type CreateTicketBodySlipItemsItemInputsItemGeneralMasterItemId = CreateTicketBodySlipItemsItemInputsItemGeneralMasterItemIdOneOf | string[];
|
|
2861
|
-
export type CreateTicketBodySlipItemsItemInputsItemUserIdOneOf = string | null;
|
|
2862
|
-
/**
|
|
2863
|
-
* ユーザーUUID。フィールドがユーザータイプのときのみ指定してください。
|
|
2864
|
-
*/
|
|
2865
|
-
export type CreateTicketBodySlipItemsItemInputsItemUserId = CreateTicketBodySlipItemsItemInputsItemUserIdOneOf | string[];
|
|
2866
|
-
export type CreateTicketBodySlipItemsItemInputsItemTeamIdOneOf = string | null;
|
|
2867
|
-
/**
|
|
2868
|
-
* チームUUID。フィールドがチームタイプのときのみ指定してください。
|
|
2869
|
-
*/
|
|
2870
|
-
export type CreateTicketBodySlipItemsItemInputsItemTeamId = CreateTicketBodySlipItemsItemInputsItemTeamIdOneOf | string[];
|
|
2871
|
-
export type CreateTicketBodySlipItemsItemInputsItemTicketIdOneOf = string | null;
|
|
2872
|
-
/**
|
|
2873
|
-
* チケットUUID。フィールドがチケットタイプのときのみ指定してください。
|
|
2874
|
-
*/
|
|
2875
|
-
export type CreateTicketBodySlipItemsItemInputsItemTicketId = CreateTicketBodySlipItemsItemInputsItemTicketIdOneOf | string[];
|
|
2876
|
-
/**
|
|
2877
|
-
* 添付ファイルの署名済みID。
|
|
2878
|
-
フィールドがファイルタイプのときのみ指定してください。
|
|
2879
|
-
*/
|
|
2880
|
-
export type CreateTicketBodySlipItemsItemInputsItemFiles = string[] | null;
|
|
2881
2539
|
/**
|
|
2882
2540
|
* 明細アイテム入力
|
|
2883
2541
|
*/
|
|
2884
2542
|
export type CreateTicketBodySlipItemsItemInputsItem = {
|
|
2885
|
-
/**
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
|
|
2543
|
+
/**
|
|
2544
|
+
* 明細フィールドのUUID。slipFieldIdまたはslipFieldCodeは片方のみ必須です。
|
|
2545
|
+
* @nullable
|
|
2546
|
+
*/
|
|
2547
|
+
slipFieldId?: string | null;
|
|
2548
|
+
/**
|
|
2549
|
+
* 明細フィールドのコード。slipFieldIdまたはslipFieldCodeは片方のみ必須です。
|
|
2550
|
+
* @nullable
|
|
2551
|
+
*/
|
|
2552
|
+
slipFieldCode?: string | null;
|
|
2889
2553
|
/** 入力値。フィールドがチェックボックスタイプのときは配列で指定してください。 */
|
|
2890
|
-
value?:
|
|
2554
|
+
value?: string | null | string[];
|
|
2891
2555
|
/** 汎用マスタアイテムのUUID。フィールドが汎用マスタタイプのときのみ指定してください。 */
|
|
2892
|
-
generalMasterItemId?:
|
|
2556
|
+
generalMasterItemId?: string | null | string[];
|
|
2893
2557
|
/** ユーザーUUID。フィールドがユーザータイプのときのみ指定してください。 */
|
|
2894
|
-
userId?:
|
|
2558
|
+
userId?: string | null | string[];
|
|
2895
2559
|
/** チームUUID。フィールドがチームタイプのときのみ指定してください。 */
|
|
2896
|
-
teamId?:
|
|
2560
|
+
teamId?: string | null | string[];
|
|
2897
2561
|
/** チケットUUID。フィールドがチケットタイプのときのみ指定してください。 */
|
|
2898
|
-
ticketId?:
|
|
2899
|
-
/**
|
|
2900
|
-
|
|
2901
|
-
|
|
2562
|
+
ticketId?: string | null | string[];
|
|
2563
|
+
/**
|
|
2564
|
+
* 添付ファイルの署名済みID。
|
|
2565
|
+
フィールドがファイルタイプのときのみ指定してください。
|
|
2566
|
+
* @nullable
|
|
2567
|
+
*/
|
|
2568
|
+
files?: string[] | null;
|
|
2902
2569
|
};
|
|
2903
2570
|
/**
|
|
2904
2571
|
* 明細アイテム
|
|
2905
2572
|
*/
|
|
2906
2573
|
export type CreateTicketBodySlipItemsItem = {
|
|
2907
|
-
/**
|
|
2908
|
-
|
|
2574
|
+
/**
|
|
2575
|
+
* 明細セクションのUUID。
|
|
2576
|
+
* @nullable
|
|
2577
|
+
*/
|
|
2578
|
+
slipSectionId?: string | null;
|
|
2909
2579
|
/** 明細アイテム入力の配列 */
|
|
2910
2580
|
inputs: CreateTicketBodySlipItemsItemInputsItem[];
|
|
2911
2581
|
};
|
|
2912
|
-
/**
|
|
2913
|
-
* フォームフィールドのUUID。formFieldIdまたはformFieldCodeは片方のみ必須です。
|
|
2914
|
-
*/
|
|
2915
|
-
export type CreateTicketBodyInputsItemFormFieldId = string | null;
|
|
2916
|
-
/**
|
|
2917
|
-
* フォームフィールドのコード。formFieldIdまたはformFieldCodeは片方のみ必須です。
|
|
2918
|
-
*/
|
|
2919
|
-
export type CreateTicketBodyInputsItemFormFieldCode = string | null;
|
|
2920
|
-
export type CreateTicketBodyInputsItemValueOneOf = string | null;
|
|
2921
|
-
/**
|
|
2922
|
-
* 入力値。フィールドがチェックボックスタイプのときは配列で指定してください。
|
|
2923
|
-
*/
|
|
2924
|
-
export type CreateTicketBodyInputsItemValue = CreateTicketBodyInputsItemValueOneOf | string[];
|
|
2925
|
-
export type CreateTicketBodyInputsItemGeneralMasterItemIdOneOf = string | null;
|
|
2926
|
-
/**
|
|
2927
|
-
* 汎用マスタアイテムのUUID。フィールドが汎用マスタタイプのときのみ指定してください。
|
|
2928
|
-
*/
|
|
2929
|
-
export type CreateTicketBodyInputsItemGeneralMasterItemId = CreateTicketBodyInputsItemGeneralMasterItemIdOneOf | string[];
|
|
2930
|
-
export type CreateTicketBodyInputsItemUserIdOneOf = string | null;
|
|
2931
|
-
/**
|
|
2932
|
-
* ユーザーUUID。フィールドがユーザータイプのときのみ指定してください。
|
|
2933
|
-
*/
|
|
2934
|
-
export type CreateTicketBodyInputsItemUserId = CreateTicketBodyInputsItemUserIdOneOf | string[];
|
|
2935
|
-
export type CreateTicketBodyInputsItemTeamIdOneOf = string | null;
|
|
2936
|
-
/**
|
|
2937
|
-
* チームUUID。フィールドがチームタイプのときのみ指定してください。
|
|
2938
|
-
*/
|
|
2939
|
-
export type CreateTicketBodyInputsItemTeamId = CreateTicketBodyInputsItemTeamIdOneOf | string[];
|
|
2940
|
-
export type CreateTicketBodyInputsItemTicketIdOneOf = string | null;
|
|
2941
|
-
/**
|
|
2942
|
-
* チケットUUID。フィールドがチケットタイプのときのみ指定してください。
|
|
2943
|
-
*/
|
|
2944
|
-
export type CreateTicketBodyInputsItemTicketId = CreateTicketBodyInputsItemTicketIdOneOf | string[];
|
|
2945
|
-
/**
|
|
2946
|
-
* 添付ファイルの署名済みID。
|
|
2947
|
-
フィールドがファイルタイプのときのみ指定してください。
|
|
2948
|
-
*/
|
|
2949
|
-
export type CreateTicketBodyInputsItemFiles = string[] | null;
|
|
2950
2582
|
/**
|
|
2951
2583
|
* フォームの入力
|
|
2952
2584
|
*/
|
|
2953
2585
|
export type CreateTicketBodyInputsItem = {
|
|
2954
|
-
/**
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
|
|
2586
|
+
/**
|
|
2587
|
+
* フォームフィールドのUUID。formFieldIdまたはformFieldCodeは片方のみ必須です。
|
|
2588
|
+
* @nullable
|
|
2589
|
+
*/
|
|
2590
|
+
formFieldId?: string | null;
|
|
2591
|
+
/**
|
|
2592
|
+
* フォームフィールドのコード。formFieldIdまたはformFieldCodeは片方のみ必須です。
|
|
2593
|
+
* @nullable
|
|
2594
|
+
*/
|
|
2595
|
+
formFieldCode?: string | null;
|
|
2958
2596
|
/** 入力値。フィールドがチェックボックスタイプのときは配列で指定してください。 */
|
|
2959
|
-
value?:
|
|
2597
|
+
value?: string | null | string[];
|
|
2960
2598
|
/** 汎用マスタアイテムのUUID。フィールドが汎用マスタタイプのときのみ指定してください。 */
|
|
2961
|
-
generalMasterItemId?:
|
|
2599
|
+
generalMasterItemId?: string | null | string[];
|
|
2962
2600
|
/** ユーザーUUID。フィールドがユーザータイプのときのみ指定してください。 */
|
|
2963
|
-
userId?:
|
|
2601
|
+
userId?: string | null | string[];
|
|
2964
2602
|
/** チームUUID。フィールドがチームタイプのときのみ指定してください。 */
|
|
2965
|
-
teamId?:
|
|
2603
|
+
teamId?: string | null | string[];
|
|
2966
2604
|
/** チケットUUID。フィールドがチケットタイプのときのみ指定してください。 */
|
|
2967
|
-
ticketId?:
|
|
2968
|
-
/**
|
|
2969
|
-
|
|
2970
|
-
|
|
2605
|
+
ticketId?: string | null | string[];
|
|
2606
|
+
/**
|
|
2607
|
+
* 添付ファイルの署名済みID。
|
|
2608
|
+
フィールドがファイルタイプのときのみ指定してください。
|
|
2609
|
+
* @nullable
|
|
2610
|
+
*/
|
|
2611
|
+
files?: string[] | null;
|
|
2971
2612
|
};
|
|
2972
2613
|
/**
|
|
2973
2614
|
* クラウドサイン書類。ワークフローでクラウドサイン連携が有効な場合のみ指定してください。
|
|
@@ -2980,16 +2621,12 @@ export type CreateTicketBodyCloudSignDocument = {
|
|
|
2980
2621
|
/** クラウドサインのサンドボックス環境の場合true */
|
|
2981
2622
|
sandbox: string;
|
|
2982
2623
|
};
|
|
2983
|
-
export type
|
|
2624
|
+
export type CreateTicketBodyApproversItem = {
|
|
2984
2625
|
/** 承認者を指定する経路ステップのコード */
|
|
2985
2626
|
routeStepCode: string;
|
|
2986
2627
|
/** 承認者として指定するユーザーのUUID */
|
|
2987
2628
|
userId: string[];
|
|
2988
2629
|
};
|
|
2989
|
-
/**
|
|
2990
|
-
* 承認タイプが「申請者が指名」の経路ステップの承認者を指定する配列。
|
|
2991
|
-
*/
|
|
2992
|
-
export type CreateTicketBodyApprovers = CreateTicketBodyApproversAnyOfItem[] | null;
|
|
2993
2630
|
export type CreateTicketBody = {
|
|
2994
2631
|
/** ステータス。作成ではdraftまたはin_progressのみ選択可能です。 */
|
|
2995
2632
|
status: CreateTicketBodyStatus;
|
|
@@ -2997,18 +2634,27 @@ export type CreateTicketBody = {
|
|
|
2997
2634
|
workflowId: string;
|
|
2998
2635
|
/** 申請チームのUUID */
|
|
2999
2636
|
authorTeamId: string;
|
|
3000
|
-
/**
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
2637
|
+
/**
|
|
2638
|
+
* 依頼者となるユーザーのUUID。代理申請の場合のみ指定してください。
|
|
2639
|
+
* @nullable
|
|
2640
|
+
*/
|
|
2641
|
+
proxyClientUserId?: string | null;
|
|
2642
|
+
/**
|
|
2643
|
+
* チケットのタイトル。ワークフローでtitleInputModeがinputのときのみ設定可能です。
|
|
2644
|
+
* @nullable
|
|
2645
|
+
*/
|
|
2646
|
+
title?: string | null;
|
|
3004
2647
|
/** 明細アイテムの配列。明細ワークフローの場合、このフィールドは必須です。 */
|
|
3005
2648
|
slipItems?: CreateTicketBodySlipItemsItem[];
|
|
3006
2649
|
/** フォームの入力の配列。ワークフローのすべてのフォームフィールドに対応する入力を入れてください。 */
|
|
3007
2650
|
inputs: CreateTicketBodyInputsItem[];
|
|
3008
2651
|
/** クラウドサイン書類。ワークフローでクラウドサイン連携が有効な場合のみ指定してください。 */
|
|
3009
2652
|
cloudSignDocument?: CreateTicketBodyCloudSignDocument;
|
|
3010
|
-
/**
|
|
3011
|
-
|
|
2653
|
+
/**
|
|
2654
|
+
* 承認タイプが「申請者が指名」の経路ステップの承認者を指定する配列。
|
|
2655
|
+
* @nullable
|
|
2656
|
+
*/
|
|
2657
|
+
approvers?: CreateTicketBodyApproversItem[] | null;
|
|
3012
2658
|
};
|
|
3013
2659
|
export type ListTasksParams = {
|
|
3014
2660
|
/**
|
|
@@ -3132,65 +2778,36 @@ export declare const UpdateTicketBodyStatus: {
|
|
|
3132
2778
|
readonly in_progress: "in_progress";
|
|
3133
2779
|
readonly rejected: "rejected";
|
|
3134
2780
|
};
|
|
3135
|
-
/**
|
|
3136
|
-
* 明細フィールドのUUID。slipFieldIdまたはslipFieldCodeは片方のみ必須です。
|
|
3137
|
-
*/
|
|
3138
|
-
export type UpdateTicketBodySlipItemsItemInputsItemSlipFieldId = string | null;
|
|
3139
|
-
/**
|
|
3140
|
-
* 明細フィールドのコード。slipFieldIdまたはslipFieldCodeは片方のみ必須です。
|
|
3141
|
-
*/
|
|
3142
|
-
export type UpdateTicketBodySlipItemsItemInputsItemSlipFieldCode = string | null;
|
|
3143
|
-
export type UpdateTicketBodySlipItemsItemInputsItemValueOneOf = string | null;
|
|
3144
|
-
/**
|
|
3145
|
-
* 入力値。フィールドがチェックボックスタイプのときは配列で指定してください。
|
|
3146
|
-
*/
|
|
3147
|
-
export type UpdateTicketBodySlipItemsItemInputsItemValue = UpdateTicketBodySlipItemsItemInputsItemValueOneOf | string[];
|
|
3148
|
-
export type UpdateTicketBodySlipItemsItemInputsItemGeneralMasterItemIdOneOf = string | null;
|
|
3149
|
-
/**
|
|
3150
|
-
* 汎用マスタアイテムのUUID。フィールドが汎用マスタタイプのときのみ指定してください。
|
|
3151
|
-
*/
|
|
3152
|
-
export type UpdateTicketBodySlipItemsItemInputsItemGeneralMasterItemId = UpdateTicketBodySlipItemsItemInputsItemGeneralMasterItemIdOneOf | string[];
|
|
3153
|
-
export type UpdateTicketBodySlipItemsItemInputsItemUserIdOneOf = string | null;
|
|
3154
|
-
/**
|
|
3155
|
-
* ユーザーUUID。フィールドがユーザータイプのときのみ指定してください。
|
|
3156
|
-
*/
|
|
3157
|
-
export type UpdateTicketBodySlipItemsItemInputsItemUserId = UpdateTicketBodySlipItemsItemInputsItemUserIdOneOf | string[];
|
|
3158
|
-
export type UpdateTicketBodySlipItemsItemInputsItemTeamIdOneOf = string | null;
|
|
3159
|
-
/**
|
|
3160
|
-
* チームUUID。フィールドがチームタイプのときのみ指定してください。
|
|
3161
|
-
*/
|
|
3162
|
-
export type UpdateTicketBodySlipItemsItemInputsItemTeamId = UpdateTicketBodySlipItemsItemInputsItemTeamIdOneOf | string[];
|
|
3163
|
-
export type UpdateTicketBodySlipItemsItemInputsItemTicketIdOneOf = string | null;
|
|
3164
|
-
/**
|
|
3165
|
-
* チケットUUID。フィールドがチケットタイプのときのみ指定してください。
|
|
3166
|
-
*/
|
|
3167
|
-
export type UpdateTicketBodySlipItemsItemInputsItemTicketId = UpdateTicketBodySlipItemsItemInputsItemTicketIdOneOf | string[];
|
|
3168
|
-
/**
|
|
3169
|
-
* 添付ファイルの署名済みID。
|
|
3170
|
-
フィールドがファイルタイプのときのみ指定してください。
|
|
3171
|
-
*/
|
|
3172
|
-
export type UpdateTicketBodySlipItemsItemInputsItemFiles = string[] | null;
|
|
3173
2781
|
/**
|
|
3174
2782
|
* 明細アイテム入力
|
|
3175
2783
|
*/
|
|
3176
2784
|
export type UpdateTicketBodySlipItemsItemInputsItem = {
|
|
3177
|
-
/**
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
2785
|
+
/**
|
|
2786
|
+
* 明細フィールドのUUID。slipFieldIdまたはslipFieldCodeは片方のみ必須です。
|
|
2787
|
+
* @nullable
|
|
2788
|
+
*/
|
|
2789
|
+
slipFieldId?: string | null;
|
|
2790
|
+
/**
|
|
2791
|
+
* 明細フィールドのコード。slipFieldIdまたはslipFieldCodeは片方のみ必須です。
|
|
2792
|
+
* @nullable
|
|
2793
|
+
*/
|
|
2794
|
+
slipFieldCode?: string | null;
|
|
3181
2795
|
/** 入力値。フィールドがチェックボックスタイプのときは配列で指定してください。 */
|
|
3182
|
-
value?:
|
|
2796
|
+
value?: string | null | string[];
|
|
3183
2797
|
/** 汎用マスタアイテムのUUID。フィールドが汎用マスタタイプのときのみ指定してください。 */
|
|
3184
|
-
generalMasterItemId?:
|
|
2798
|
+
generalMasterItemId?: string | null | string[];
|
|
3185
2799
|
/** ユーザーUUID。フィールドがユーザータイプのときのみ指定してください。 */
|
|
3186
|
-
userId?:
|
|
2800
|
+
userId?: string | null | string[];
|
|
3187
2801
|
/** チームUUID。フィールドがチームタイプのときのみ指定してください。 */
|
|
3188
|
-
teamId?:
|
|
2802
|
+
teamId?: string | null | string[];
|
|
3189
2803
|
/** チケットUUID。フィールドがチケットタイプのときのみ指定してください。 */
|
|
3190
|
-
ticketId?:
|
|
3191
|
-
/**
|
|
3192
|
-
|
|
3193
|
-
|
|
2804
|
+
ticketId?: string | null | string[];
|
|
2805
|
+
/**
|
|
2806
|
+
* 添付ファイルの署名済みID。
|
|
2807
|
+
フィールドがファイルタイプのときのみ指定してください。
|
|
2808
|
+
* @nullable
|
|
2809
|
+
*/
|
|
2810
|
+
files?: string[] | null;
|
|
3194
2811
|
};
|
|
3195
2812
|
/**
|
|
3196
2813
|
* 明細アイテム
|
|
@@ -3199,65 +2816,36 @@ export type UpdateTicketBodySlipItemsItem = {
|
|
|
3199
2816
|
/** 明細アイテム入力の配列 */
|
|
3200
2817
|
inputs: UpdateTicketBodySlipItemsItemInputsItem[];
|
|
3201
2818
|
};
|
|
3202
|
-
/**
|
|
3203
|
-
* フォームフィールドのUUID。formFieldIdまたはformFieldCodeは片方のみ必須です。
|
|
3204
|
-
*/
|
|
3205
|
-
export type UpdateTicketBodyInputsItemFormFieldId = string | null;
|
|
3206
|
-
/**
|
|
3207
|
-
* フォームフィールドのコード。formFieldIdまたはformFieldCodeは片方のみ必須です。
|
|
3208
|
-
*/
|
|
3209
|
-
export type UpdateTicketBodyInputsItemFormFieldCode = string | null;
|
|
3210
|
-
export type UpdateTicketBodyInputsItemValueOneOf = string | null;
|
|
3211
|
-
/**
|
|
3212
|
-
* 入力値。フィールドがチェックボックスタイプのときは配列で指定してください。
|
|
3213
|
-
*/
|
|
3214
|
-
export type UpdateTicketBodyInputsItemValue = UpdateTicketBodyInputsItemValueOneOf | string[];
|
|
3215
|
-
export type UpdateTicketBodyInputsItemGeneralMasterItemIdOneOf = string | null;
|
|
3216
|
-
/**
|
|
3217
|
-
* 汎用マスタアイテムのUUID。フィールドが汎用マスタタイプのときのみ指定してください。
|
|
3218
|
-
*/
|
|
3219
|
-
export type UpdateTicketBodyInputsItemGeneralMasterItemId = UpdateTicketBodyInputsItemGeneralMasterItemIdOneOf | string[];
|
|
3220
|
-
export type UpdateTicketBodyInputsItemUserIdOneOf = string | null;
|
|
3221
|
-
/**
|
|
3222
|
-
* ユーザーUUID。フィールドがユーザータイプのときのみ指定してください。
|
|
3223
|
-
*/
|
|
3224
|
-
export type UpdateTicketBodyInputsItemUserId = UpdateTicketBodyInputsItemUserIdOneOf | string[];
|
|
3225
|
-
export type UpdateTicketBodyInputsItemTeamIdOneOf = string | null;
|
|
3226
|
-
/**
|
|
3227
|
-
* チームUUID。フィールドがチームタイプのときのみ指定してください。
|
|
3228
|
-
*/
|
|
3229
|
-
export type UpdateTicketBodyInputsItemTeamId = UpdateTicketBodyInputsItemTeamIdOneOf | string[];
|
|
3230
|
-
export type UpdateTicketBodyInputsItemTicketIdOneOf = string | null;
|
|
3231
|
-
/**
|
|
3232
|
-
* チケットUUID。フィールドがチケットタイプのときのみ指定してください。
|
|
3233
|
-
*/
|
|
3234
|
-
export type UpdateTicketBodyInputsItemTicketId = UpdateTicketBodyInputsItemTicketIdOneOf | string[];
|
|
3235
|
-
/**
|
|
3236
|
-
* 添付ファイルの署名済みID。
|
|
3237
|
-
フィールドがファイルタイプのときのみ指定してください。
|
|
3238
|
-
*/
|
|
3239
|
-
export type UpdateTicketBodyInputsItemFiles = string[] | null;
|
|
3240
2819
|
/**
|
|
3241
2820
|
* フォームの入力
|
|
3242
2821
|
*/
|
|
3243
2822
|
export type UpdateTicketBodyInputsItem = {
|
|
3244
|
-
/**
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
2823
|
+
/**
|
|
2824
|
+
* フォームフィールドのUUID。formFieldIdまたはformFieldCodeは片方のみ必須です。
|
|
2825
|
+
* @nullable
|
|
2826
|
+
*/
|
|
2827
|
+
formFieldId?: string | null;
|
|
2828
|
+
/**
|
|
2829
|
+
* フォームフィールドのコード。formFieldIdまたはformFieldCodeは片方のみ必須です。
|
|
2830
|
+
* @nullable
|
|
2831
|
+
*/
|
|
2832
|
+
formFieldCode?: string | null;
|
|
3248
2833
|
/** 入力値。フィールドがチェックボックスタイプのときは配列で指定してください。 */
|
|
3249
|
-
value?:
|
|
2834
|
+
value?: string | null | string[];
|
|
3250
2835
|
/** 汎用マスタアイテムのUUID。フィールドが汎用マスタタイプのときのみ指定してください。 */
|
|
3251
|
-
generalMasterItemId?:
|
|
2836
|
+
generalMasterItemId?: string | null | string[];
|
|
3252
2837
|
/** ユーザーUUID。フィールドがユーザータイプのときのみ指定してください。 */
|
|
3253
|
-
userId?:
|
|
2838
|
+
userId?: string | null | string[];
|
|
3254
2839
|
/** チームUUID。フィールドがチームタイプのときのみ指定してください。 */
|
|
3255
|
-
teamId?:
|
|
2840
|
+
teamId?: string | null | string[];
|
|
3256
2841
|
/** チケットUUID。フィールドがチケットタイプのときのみ指定してください。 */
|
|
3257
|
-
ticketId?:
|
|
3258
|
-
/**
|
|
3259
|
-
|
|
3260
|
-
|
|
2842
|
+
ticketId?: string | null | string[];
|
|
2843
|
+
/**
|
|
2844
|
+
* 添付ファイルの署名済みID。
|
|
2845
|
+
フィールドがファイルタイプのときのみ指定してください。
|
|
2846
|
+
* @nullable
|
|
2847
|
+
*/
|
|
2848
|
+
files?: string[] | null;
|
|
3261
2849
|
};
|
|
3262
2850
|
/**
|
|
3263
2851
|
* クラウドサイン書類。ワークフローでクラウドサイン連携が有効な場合のみ指定してください。
|
|
@@ -3270,16 +2858,12 @@ export type UpdateTicketBodyCloudSignDocument = {
|
|
|
3270
2858
|
/** クラウドサインのサンドボックス環境の場合true */
|
|
3271
2859
|
sandbox: boolean;
|
|
3272
2860
|
};
|
|
3273
|
-
export type
|
|
2861
|
+
export type UpdateTicketBodyApproversItem = {
|
|
3274
2862
|
/** 承認者を指定する経路ステップのコード */
|
|
3275
2863
|
routeStepCode: string;
|
|
3276
2864
|
/** 承認者として指定するユーザーのUUID */
|
|
3277
2865
|
userId: string[];
|
|
3278
2866
|
};
|
|
3279
|
-
/**
|
|
3280
|
-
* 承認タイプが「申請者が指名」の経路ステップの承認者を指定する配列。
|
|
3281
|
-
*/
|
|
3282
|
-
export type UpdateTicketBodyApprovers = UpdateTicketBodyApproversAnyOfItem[] | null;
|
|
3283
2867
|
export type UpdateTicketBody = {
|
|
3284
2868
|
/** ステータス。更新ではdraft, in_progress, rejectedのみ選択可能です。 */
|
|
3285
2869
|
status?: UpdateTicketBodyStatus;
|
|
@@ -3298,8 +2882,11 @@ export type UpdateTicketBody = {
|
|
|
3298
2882
|
inputs?: UpdateTicketBodyInputsItem[];
|
|
3299
2883
|
/** クラウドサイン書類。ワークフローでクラウドサイン連携が有効な場合のみ指定してください。 */
|
|
3300
2884
|
cloudSignDocument?: UpdateTicketBodyCloudSignDocument;
|
|
3301
|
-
/**
|
|
3302
|
-
|
|
2885
|
+
/**
|
|
2886
|
+
* 承認タイプが「申請者が指名」の経路ステップの承認者を指定する配列。
|
|
2887
|
+
* @nullable
|
|
2888
|
+
*/
|
|
2889
|
+
approvers?: UpdateTicketBodyApproversItem[] | null;
|
|
3303
2890
|
};
|
|
3304
2891
|
export type RejectTicketBody = {
|
|
3305
2892
|
/** 差し戻し先のステップ番号(0が起票者、1が最初の承認ステップ) */
|
|
@@ -3339,31 +2926,21 @@ export type ListViewersParams = {
|
|
|
3339
2926
|
*/
|
|
3340
2927
|
sortBy?: string;
|
|
3341
2928
|
};
|
|
3342
|
-
/**
|
|
3343
|
-
* ユーザーのUUID。userIdとteamIdは片方のみ必須です。
|
|
3344
|
-
*/
|
|
3345
|
-
export type CreateViewerBodyUserId = string | string[] | null;
|
|
3346
|
-
/**
|
|
3347
|
-
* チームのUUID。userIdとteamIdは片方のみ必須です。
|
|
3348
|
-
*/
|
|
3349
|
-
export type CreateViewerBodyTeamId = string | string[] | null;
|
|
3350
|
-
/**
|
|
3351
|
-
* 役職のUUID。teamId指定時のみ、任意で指定できます。
|
|
3352
|
-
*/
|
|
3353
|
-
export type CreateViewerBodyGradeId = string | null;
|
|
3354
|
-
/**
|
|
3355
|
-
* 下位のチームを含めるかどうかをteamId指定時のみ指定できます。未指定時はfalse扱いです。
|
|
3356
|
-
*/
|
|
3357
|
-
export type CreateViewerBodyDescendants = boolean | null;
|
|
3358
2929
|
export type CreateViewerBody = {
|
|
3359
2930
|
/** ユーザーのUUID。userIdとteamIdは片方のみ必須です。 */
|
|
3360
|
-
userId?:
|
|
2931
|
+
userId?: string | string[] | null;
|
|
3361
2932
|
/** チームのUUID。userIdとteamIdは片方のみ必須です。 */
|
|
3362
|
-
teamId?:
|
|
3363
|
-
/**
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
2933
|
+
teamId?: string | string[] | null;
|
|
2934
|
+
/**
|
|
2935
|
+
* 役職のUUID。teamId指定時のみ、任意で指定できます。
|
|
2936
|
+
* @nullable
|
|
2937
|
+
*/
|
|
2938
|
+
gradeId?: string | null;
|
|
2939
|
+
/**
|
|
2940
|
+
* 下位のチームを含めるかどうかをteamId指定時のみ指定できます。未指定時はfalse扱いです。
|
|
2941
|
+
* @nullable
|
|
2942
|
+
*/
|
|
2943
|
+
descendants?: boolean | null;
|
|
3367
2944
|
};
|
|
3368
2945
|
export type ListCommentsParams = {
|
|
3369
2946
|
/**
|
|
@@ -3383,15 +2960,14 @@ export type ListCommentsParams = {
|
|
|
3383
2960
|
*/
|
|
3384
2961
|
sortBy?: string;
|
|
3385
2962
|
};
|
|
3386
|
-
/**
|
|
3387
|
-
* 添付ファイルの署名済みID
|
|
3388
|
-
*/
|
|
3389
|
-
export type CreateCommentBodyFiles = string[] | null;
|
|
3390
2963
|
export type CreateCommentBody = {
|
|
3391
2964
|
/** 本文 */
|
|
3392
2965
|
body: string;
|
|
3393
|
-
/**
|
|
3394
|
-
|
|
2966
|
+
/**
|
|
2967
|
+
* 添付ファイルの署名済みID
|
|
2968
|
+
* @nullable
|
|
2969
|
+
*/
|
|
2970
|
+
files?: string[] | null;
|
|
3395
2971
|
};
|
|
3396
2972
|
export type UpdateCommentBody = {
|
|
3397
2973
|
/** 本文 */
|
|
@@ -3426,11 +3002,6 @@ export declare const ListUsersStatusItem: {
|
|
|
3426
3002
|
readonly suspended: "suspended";
|
|
3427
3003
|
readonly deactivated: "deactivated";
|
|
3428
3004
|
};
|
|
3429
|
-
/**
|
|
3430
|
-
* 社員番号
|
|
3431
|
-
* @maxLength 30
|
|
3432
|
-
*/
|
|
3433
|
-
export type CreateUserBodyEmployeeId = string | null;
|
|
3434
3005
|
export type CreateUserBody = {
|
|
3435
3006
|
/** メールアドレス */
|
|
3436
3007
|
email: string;
|
|
@@ -3454,14 +3025,10 @@ export type CreateUserBody = {
|
|
|
3454
3025
|
/**
|
|
3455
3026
|
* 社員番号
|
|
3456
3027
|
* @maxLength 30
|
|
3028
|
+
* @nullable
|
|
3457
3029
|
*/
|
|
3458
|
-
employeeId?:
|
|
3030
|
+
employeeId?: string | null;
|
|
3459
3031
|
};
|
|
3460
|
-
/**
|
|
3461
|
-
* 社員番号
|
|
3462
|
-
* @maxLength 30
|
|
3463
|
-
*/
|
|
3464
|
-
export type UpdateUserBodyEmployeeId = string | null;
|
|
3465
3032
|
export type UpdateUserBody = {
|
|
3466
3033
|
/**
|
|
3467
3034
|
* メールアドレス
|
|
@@ -3486,8 +3053,9 @@ export type UpdateUserBody = {
|
|
|
3486
3053
|
/**
|
|
3487
3054
|
* 社員番号
|
|
3488
3055
|
* @maxLength 30
|
|
3056
|
+
* @nullable
|
|
3489
3057
|
*/
|
|
3490
|
-
employeeId?:
|
|
3058
|
+
employeeId?: string | null;
|
|
3491
3059
|
};
|
|
3492
3060
|
export type LookupUserByEmailParams = {
|
|
3493
3061
|
/**
|
|
@@ -3596,23 +3164,21 @@ export type ListProxyApplicantsParams = {
|
|
|
3596
3164
|
*/
|
|
3597
3165
|
perPage?: number;
|
|
3598
3166
|
};
|
|
3599
|
-
/**
|
|
3600
|
-
* 開始日。nullの場合、すでに開始しているものとして扱います。
|
|
3601
|
-
*/
|
|
3602
|
-
export type CreateProxyApplicantBodyStartsOn = string | null;
|
|
3603
|
-
/**
|
|
3604
|
-
* 終了日。nullの場合、無期限のものとして扱います。
|
|
3605
|
-
*/
|
|
3606
|
-
export type CreateProxyApplicantBodyEndsOn = string | null;
|
|
3607
3167
|
export type CreateProxyApplicantBody = {
|
|
3608
3168
|
/** 代理されるユーザーID */
|
|
3609
3169
|
userId: string;
|
|
3610
3170
|
/** 代理するユーザーID */
|
|
3611
3171
|
proxyUserId: string;
|
|
3612
|
-
/**
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
3172
|
+
/**
|
|
3173
|
+
* 開始日。nullの場合、すでに開始しているものとして扱います。
|
|
3174
|
+
* @nullable
|
|
3175
|
+
*/
|
|
3176
|
+
startsOn?: string | null;
|
|
3177
|
+
/**
|
|
3178
|
+
* 終了日。nullの場合、無期限のものとして扱います。
|
|
3179
|
+
* @nullable
|
|
3180
|
+
*/
|
|
3181
|
+
endsOn?: string | null;
|
|
3616
3182
|
/** 対象ワークフローのID */
|
|
3617
3183
|
workflowIds?: string[];
|
|
3618
3184
|
};
|
|
@@ -3629,23 +3195,21 @@ export type ListProxyApproversParams = {
|
|
|
3629
3195
|
*/
|
|
3630
3196
|
perPage?: number;
|
|
3631
3197
|
};
|
|
3632
|
-
/**
|
|
3633
|
-
* 開始日。nullの場合、すでに始まっているものとして扱います。
|
|
3634
|
-
*/
|
|
3635
|
-
export type CreateProxyApproverBodyStartsOn = string | null;
|
|
3636
|
-
/**
|
|
3637
|
-
* 終了日。nullの場合、無期限として扱います。
|
|
3638
|
-
*/
|
|
3639
|
-
export type CreateProxyApproverBodyEndsOn = string | null;
|
|
3640
3198
|
export type CreateProxyApproverBody = {
|
|
3641
3199
|
/** 代理されるユーザーID */
|
|
3642
3200
|
userId: string;
|
|
3643
3201
|
/** 代理するユーザーID */
|
|
3644
3202
|
proxyUserId: string;
|
|
3645
|
-
/**
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3203
|
+
/**
|
|
3204
|
+
* 開始日。nullの場合、すでに始まっているものとして扱います。
|
|
3205
|
+
* @nullable
|
|
3206
|
+
*/
|
|
3207
|
+
startsOn?: string | null;
|
|
3208
|
+
/**
|
|
3209
|
+
* 終了日。nullの場合、無期限として扱います。
|
|
3210
|
+
* @nullable
|
|
3211
|
+
*/
|
|
3212
|
+
endsOn?: string | null;
|
|
3649
3213
|
/** 対象ワークフローのID */
|
|
3650
3214
|
workflowIds?: string[];
|
|
3651
3215
|
};
|