@kickflow/mcp-server 1.0.6 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/README.md +8 -4
  2. package/dist/index.mjs +63310 -0
  3. package/dist/index.mjs.map +1 -0
  4. package/package.json +22 -30
  5. package/dist/index.d.ts +0 -2
  6. package/dist/index.js +0 -64
  7. package/dist/index.js.map +0 -1
  8. package/dist/kickflow-api/custom-axios-instance.d.ts +0 -6
  9. package/dist/kickflow-api/custom-axios-instance.js +0 -44
  10. package/dist/kickflow-api/custom-axios-instance.js.map +0 -1
  11. package/dist/kickflow-api/generated/api-definitions.d.ts +0 -19
  12. package/dist/kickflow-api/generated/api-definitions.js +0 -1094
  13. package/dist/kickflow-api/generated/api-definitions.js.map +0 -1
  14. package/dist/kickflow-api/generated/audit-log/audit-log.zod.d.ts +0 -89
  15. package/dist/kickflow-api/generated/audit-log/audit-log.zod.js +0 -53
  16. package/dist/kickflow-api/generated/audit-log/audit-log.zod.js.map +0 -1
  17. package/dist/kickflow-api/generated/category/category.zod.d.ts +0 -71
  18. package/dist/kickflow-api/generated/category/category.zod.js +0 -67
  19. package/dist/kickflow-api/generated/category/category.zod.js.map +0 -1
  20. package/dist/kickflow-api/generated/comment/comment.zod.d.ts +0 -403
  21. package/dist/kickflow-api/generated/comment/comment.zod.js +0 -305
  22. package/dist/kickflow-api/generated/comment/comment.zod.js.map +0 -1
  23. package/dist/kickflow-api/generated/file/file.zod.d.ts +0 -34
  24. package/dist/kickflow-api/generated/file/file.zod.js +0 -35
  25. package/dist/kickflow-api/generated/file/file.zod.js.map +0 -1
  26. package/dist/kickflow-api/generated/folder/folder.zod.d.ts +0 -236
  27. package/dist/kickflow-api/generated/folder/folder.zod.js +0 -227
  28. package/dist/kickflow-api/generated/folder/folder.zod.js.map +0 -1
  29. package/dist/kickflow-api/generated/general-master/general-master.zod.d.ts +0 -520
  30. package/dist/kickflow-api/generated/general-master/general-master.zod.js +0 -387
  31. package/dist/kickflow-api/generated/general-master/general-master.zod.js.map +0 -1
  32. package/dist/kickflow-api/generated/grade/grade.zod.d.ts +0 -148
  33. package/dist/kickflow-api/generated/grade/grade.zod.js +0 -141
  34. package/dist/kickflow-api/generated/grade/grade.zod.js.map +0 -1
  35. package/dist/kickflow-api/generated/kickflowRESTAPIV1.d.ts +0 -193
  36. package/dist/kickflow-api/generated/kickflowRESTAPIV1.js +0 -1118
  37. package/dist/kickflow-api/generated/kickflowRESTAPIV1.js.map +0 -1
  38. package/dist/kickflow-api/generated/kickflowRESTAPIV1.schemas.d.ts +0 -3703
  39. package/dist/kickflow-api/generated/kickflowRESTAPIV1.schemas.js +0 -346
  40. package/dist/kickflow-api/generated/kickflowRESTAPIV1.schemas.js.map +0 -1
  41. package/dist/kickflow-api/generated/organization-chart/organization-chart.zod.d.ts +0 -193
  42. package/dist/kickflow-api/generated/organization-chart/organization-chart.zod.js +0 -180
  43. package/dist/kickflow-api/generated/organization-chart/organization-chart.zod.js.map +0 -1
  44. package/dist/kickflow-api/generated/proxy-applicant/proxy-applicant.zod.d.ts +0 -560
  45. package/dist/kickflow-api/generated/proxy-applicant/proxy-applicant.zod.js +0 -346
  46. package/dist/kickflow-api/generated/proxy-applicant/proxy-applicant.zod.js.map +0 -1
  47. package/dist/kickflow-api/generated/proxy-approver/proxy-approver.zod.d.ts +0 -560
  48. package/dist/kickflow-api/generated/proxy-approver/proxy-approver.zod.js +0 -346
  49. package/dist/kickflow-api/generated/proxy-approver/proxy-approver.zod.js.map +0 -1
  50. package/dist/kickflow-api/generated/role/role.zod.d.ts +0 -509
  51. package/dist/kickflow-api/generated/role/role.zod.js +0 -356
  52. package/dist/kickflow-api/generated/role/role.zod.js.map +0 -1
  53. package/dist/kickflow-api/generated/route/route.zod.d.ts +0 -499
  54. package/dist/kickflow-api/generated/route/route.zod.js +0 -329
  55. package/dist/kickflow-api/generated/route/route.zod.js.map +0 -1
  56. package/dist/kickflow-api/generated/team/team.zod.d.ts +0 -526
  57. package/dist/kickflow-api/generated/team/team.zod.js +0 -463
  58. package/dist/kickflow-api/generated/team/team.zod.js.map +0 -1
  59. package/dist/kickflow-api/generated/ticket/ticket.zod.d.ts +0 -58732
  60. package/dist/kickflow-api/generated/ticket/ticket.zod.js +0 -41758
  61. package/dist/kickflow-api/generated/ticket/ticket.zod.js.map +0 -1
  62. package/dist/kickflow-api/generated/user/user.zod.d.ts +0 -525
  63. package/dist/kickflow-api/generated/user/user.zod.js +0 -431
  64. package/dist/kickflow-api/generated/user/user.zod.js.map +0 -1
  65. package/dist/kickflow-api/generated/workflow/workflow.zod.d.ts +0 -1218
  66. package/dist/kickflow-api/generated/workflow/workflow.zod.js +0 -832
  67. package/dist/kickflow-api/generated/workflow/workflow.zod.js.map +0 -1
  68. package/dist/kickflow-api/generated/zod-schemas.d.ts +0 -1
  69. package/dist/kickflow-api/generated/zod-schemas.js +0 -39
  70. package/dist/kickflow-api/generated/zod-schemas.js.map +0 -1
  71. package/dist/kickflow-api/schema-registry.d.ts +0 -11
  72. package/dist/kickflow-api/schema-registry.js +0 -66
  73. package/dist/kickflow-api/schema-registry.js.map +0 -1
  74. package/dist/kickflow-api/special-handlers.d.ts +0 -16
  75. package/dist/kickflow-api/special-handlers.js +0 -67
  76. package/dist/kickflow-api/special-handlers.js.map +0 -1
  77. package/dist/kickflow-api/tools/call-api.d.ts +0 -3
  78. package/dist/kickflow-api/tools/call-api.js +0 -192
  79. package/dist/kickflow-api/tools/call-api.js.map +0 -1
  80. package/dist/kickflow-api/tools/discover-apis.d.ts +0 -3
  81. package/dist/kickflow-api/tools/discover-apis.js +0 -18
  82. package/dist/kickflow-api/tools/discover-apis.js.map +0 -1
  83. package/dist/kickflow-api/tools/get-api-info.d.ts +0 -3
  84. package/dist/kickflow-api/tools/get-api-info.js +0 -76
  85. package/dist/kickflow-api/tools/get-api-info.js.map +0 -1
  86. package/dist/server.d.ts +0 -4
  87. package/dist/server.js +0 -26
  88. package/dist/server.js.map +0 -1
  89. package/dist/types.d.ts +0 -9
  90. package/dist/types.js +0 -2
  91. package/dist/types.js.map +0 -1
@@ -1,3703 +0,0 @@
1
- /**
2
- * エラーレスポンス
3
- */
4
- export interface ErrorResponse {
5
- /** エラーコード */
6
- code: string;
7
- /** エラーメッセージ */
8
- message: string;
9
- }
10
- /**
11
- * コード
12
- * @maxLength 100
13
- */
14
- export type GradeCode = string | null;
15
- /**
16
- * 役職
17
- */
18
- export interface Grade {
19
- /** UUID */
20
- id: string;
21
- /**
22
- * 名前
23
- * @maxLength 300
24
- */
25
- name: string;
26
- /**
27
- * レベル
28
- * @minimum 0
29
- * @maximum 255
30
- */
31
- level: number;
32
- /**
33
- * コード
34
- * @maxLength 100
35
- */
36
- code: GradeCode;
37
- /** デフォルトの役職かどうか */
38
- isDefault: boolean;
39
- /** 作成日時 */
40
- createdAt: string;
41
- /** 更新日時 */
42
- updatedAt: string;
43
- }
44
- /**
45
- * 役職を作成するときのrequest body
46
- */
47
- export interface GradeCreateBody {
48
- /**
49
- * 名前
50
- * @maxLength 300
51
- */
52
- name: string;
53
- /**
54
- * レベル
55
- * @minimum 0
56
- * @maximum 255
57
- */
58
- level: number;
59
- /**
60
- * コード。未指定の場合、ランダムな英数字が自動的に設定されます。
61
- * @maxLength 100
62
- */
63
- code?: string;
64
- }
65
- /**
66
- * 役職を更新するときのrequest body
67
- */
68
- export interface GradeUpdateBody {
69
- /**
70
- * 名前
71
- * @maxLength 300
72
- */
73
- name?: string;
74
- /**
75
- * レベル
76
- * @minimum 0
77
- * @maximum 255
78
- */
79
- level?: number;
80
- /**
81
- * コード。未指定の場合、ランダムな英数字が自動的に設定されます。
82
- * @maxLength 100
83
- */
84
- code?: string;
85
- }
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
- /**
95
- * ユーザー画像のURL。サイズごとに複数のURLを返します。
96
- */
97
- export type UserImage = {
98
- '100x100': UserImage100x100;
99
- '64x64': UserImage64x64;
100
- '32x32': UserImage32x32;
101
- };
102
- /**
103
- * ステータス
104
- */
105
- export type UserStatus = (typeof UserStatus)[keyof typeof UserStatus];
106
- export declare const UserStatus: {
107
- readonly invited: "invited";
108
- readonly activated: "activated";
109
- readonly suspended: "suspended";
110
- readonly deactivated: "deactivated";
111
- };
112
- /**
113
- * 削除日時
114
- */
115
- export type UserDeactivatedAt = string | null;
116
- /**
117
- * ユーザー
118
- */
119
- export interface User {
120
- /** UUID */
121
- id: string;
122
- /**
123
- * メールアドレス
124
- * @maxLength 254
125
- */
126
- email: string;
127
- /**
128
- * コード
129
- * @maxLength 100
130
- */
131
- code: string;
132
- /**
133
- * 名
134
- * @maxLength 255
135
- */
136
- firstName: string;
137
- /**
138
- * 姓
139
- * @maxLength 255
140
- */
141
- lastName: string;
142
- /**
143
- * フルネーム
144
- * @maxLength 255
145
- */
146
- fullName: string;
147
- /**
148
- * 社員番号
149
- * @maxLength 30
150
- */
151
- employeeId?: UserEmployeeId;
152
- /** ユーザー画像のURL。サイズごとに複数のURLを返します。 */
153
- image: UserImage;
154
- /** ステータス */
155
- status: UserStatus;
156
- /** ロケール(jaまたはen) */
157
- locale: string;
158
- /** 作成日時 */
159
- createdAt: string;
160
- /** 更新日時 */
161
- updatedAt: string;
162
- /** 削除日時 */
163
- deactivatedAt?: UserDeactivatedAt;
164
- }
165
- /**
166
- * ユーザー詳細
167
- */
168
- export type UserDetail = User;
169
- /**
170
- * 開始日
171
- */
172
- export type ProxyApplicantStartsOn = string | null;
173
- /**
174
- * 終了日
175
- */
176
- export type ProxyApplicantEndsOn = string | null;
177
- /**
178
- * 代理申請
179
- */
180
- export interface ProxyApplicant {
181
- /** UUID */
182
- id: string;
183
- /** 作成日時 */
184
- createdAt: string;
185
- /** 更新日時 */
186
- updatedAt: string;
187
- user: User;
188
- proxyUser: User;
189
- /** 開始日 */
190
- startsOn: ProxyApplicantStartsOn;
191
- /** 終了日 */
192
- endsOn: ProxyApplicantEndsOn;
193
- /** 対象ワークフロー */
194
- workflows: Workflow[];
195
- }
196
- /**
197
- * 開始日
198
- */
199
- export type ProxyApproverStartsOn = string | null;
200
- /**
201
- * 終了日
202
- */
203
- export type ProxyApproverEndsOn = string | null;
204
- /**
205
- * 代理承認
206
- */
207
- export interface ProxyApprover {
208
- /** UUID */
209
- id: string;
210
- /** 作成日時 */
211
- createdAt: string;
212
- /** 更新日時 */
213
- updatedAt: string;
214
- user: User;
215
- proxyUser: User;
216
- /** 開始日 */
217
- startsOn: ProxyApproverStartsOn;
218
- /** 終了日 */
219
- endsOn: ProxyApproverEndsOn;
220
- /** 対象ワークフロー */
221
- workflows: Workflow[];
222
- }
223
- /**
224
- * 管理用メモ
225
- * @maxLength 10000
226
- */
227
- export type TeamNotes = string | null;
228
- /**
229
- * チーム
230
- */
231
- export interface Team {
232
- /** UUID */
233
- id: string;
234
- /**
235
- * 名前
236
- * @maxLength 300
237
- */
238
- name: string;
239
- /** 上位組織を含む名前 */
240
- fullName: string;
241
- /**
242
- * コード
243
- * @maxLength 100
244
- */
245
- code: string;
246
- /**
247
- * 管理用メモ
248
- * @maxLength 10000
249
- */
250
- notes?: TeamNotes;
251
- /** 承認専用チームかどうか */
252
- approveOnly: boolean;
253
- /**
254
- * ユーザー数
255
- * @minimum 0
256
- */
257
- usersCount: number;
258
- /** 作成日時 */
259
- createdAt: string;
260
- /** 更新日時 */
261
- updatedAt: string;
262
- }
263
- /**
264
- * 親チーム
265
- */
266
- export type TeamDetailAllOfParent = Team | null;
267
- export type TeamDetailAllOf = {
268
- /** 親チーム */
269
- parent?: TeamDetailAllOfParent;
270
- /** 子チーム */
271
- children: Team[];
272
- /** メンバーの配列。
273
-
274
- 注意:パフォーマンス上の理由から、100件を超えるメンバーを返すことはできません。101件以上のメンバーをすべて取得したい場合は、別途メンバー取得APIを呼び出してください。 */
275
- users: MemberUser[];
276
- };
277
- /**
278
- * チームの詳細
279
- */
280
- export type TeamDetail = Team & TeamDetailAllOf;
281
- /**
282
- * 管理用メモ
283
- */
284
- export type TeamCreateBodyNotes = string | null;
285
- /**
286
- * チームを作成するときのrequest body
287
- */
288
- export interface TeamCreateBody {
289
- /** 名前 */
290
- name: string;
291
- /** コード。未指定の場合、ランダムな英数字が自動的に設定されます。 */
292
- code?: string;
293
- /** 管理用メモ */
294
- notes?: TeamCreateBodyNotes;
295
- /** 親チームのUUID。nullの場合、作成したチームはルートになります。 */
296
- parentId?: string;
297
- /** 承認専用チームかどうか */
298
- approveOnly?: boolean;
299
- }
300
- /**
301
- * チームを更新するときのrequest body
302
- */
303
- export interface TeamUpdateBody {
304
- /** 名前 */
305
- name?: string;
306
- /** コード。未指定の場合、ランダムな英数字が自動的に設定されます。 */
307
- code?: string;
308
- /** 管理用メモ */
309
- notes?: string;
310
- /** 親チームのID */
311
- parentId?: string;
312
- /** 承認専用チームかどうか */
313
- approveOnly?: boolean;
314
- }
315
- /**
316
- * 有効化の予定
317
- */
318
- export type OrganizationChartActivationPlanAnyOf = {
319
- /** UUID */
320
- id: string;
321
- /** 有効化の予定日 */
322
- dueOn: string;
323
- /** 作成日時 */
324
- createdAt: string;
325
- /** 更新日時 */
326
- updatedAt: string;
327
- };
328
- /**
329
- * 有効化の予定
330
- */
331
- export type OrganizationChartActivationPlan = OrganizationChartActivationPlanAnyOf | null;
332
- /**
333
- * 組織図
334
- */
335
- export interface OrganizationChart {
336
- /** UUID */
337
- id: string;
338
- /**
339
- * 名前
340
- * @maxLength 300
341
- */
342
- name: string;
343
- /** 現在有効な組織図かどうか */
344
- current: boolean;
345
- /** チーム数 */
346
- teamsCount: number;
347
- /** 所属数 */
348
- membershipsCount: number;
349
- /** 作成日時 */
350
- createdAt: string;
351
- /** 更新日時 */
352
- updatedAt: string;
353
- /** 有効化の予定 */
354
- activationPlan: OrganizationChartActivationPlan;
355
- }
356
- /**
357
- * 組織図の詳細
358
- */
359
- export type OrganizationChartDetail = OrganizationChart;
360
- /**
361
- * 組織図を作成・更新するときのrequest body
362
- */
363
- export interface OrganizationChartBody {
364
- /** 名前 */
365
- name: string;
366
- }
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
- /**
381
- * 管理者ロール
382
- */
383
- export interface Role {
384
- /** UUID */
385
- id: string;
386
- /**
387
- * 名前
388
- * @maxLength 300
389
- */
390
- name: string;
391
- /** 編集可能かどうか。「すべての管理者」のときだけfalseになります。 */
392
- editable: boolean;
393
- /**
394
- * この管理者ロールに所属するユーザー数
395
- * @minimum 0
396
- */
397
- usersCount: number;
398
- /** 作成日時 */
399
- createdAt: string;
400
- /** 更新日時 */
401
- updatedAt: string;
402
- }
403
- /**
404
- * 権限タイプ
405
- */
406
- export type RoleDetailAllOfPermissionListItemPermission = (typeof RoleDetailAllOfPermissionListItemPermission)[keyof typeof RoleDetailAllOfPermissionListItemPermission];
407
- export declare const RoleDetailAllOfPermissionListItemPermission: {
408
- readonly tenant: "tenant";
409
- readonly billing: "billing";
410
- readonly integration: "integration";
411
- readonly security: "security";
412
- readonly audit: "audit";
413
- readonly stats: "stats";
414
- readonly workflow: "workflow";
415
- readonly route: "route";
416
- readonly pipeline: "pipeline";
417
- readonly workflow_misc: "workflow_misc";
418
- readonly user: "user";
419
- readonly team: "team";
420
- readonly role: "role";
421
- readonly master: "master";
422
- readonly ticket_read: "ticket_read";
423
- readonly ticket_write: "ticket_write";
424
- readonly label: "label";
425
- readonly automation: "automation";
426
- };
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
- /**
444
- * 管理者ロールの詳細
445
- */
446
- export type RoleDetail = Role & RoleDetailAllOf;
447
- /**
448
- * 権限タイプ
449
- */
450
- export type RoleCreateBodyPermissionListItemPermission = (typeof RoleCreateBodyPermissionListItemPermission)[keyof typeof RoleCreateBodyPermissionListItemPermission];
451
- export declare const RoleCreateBodyPermissionListItemPermission: {
452
- readonly tenant: "tenant";
453
- readonly billing: "billing";
454
- readonly integration: "integration";
455
- readonly security: "security";
456
- readonly audit: "audit";
457
- readonly stats: "stats";
458
- readonly workflow: "workflow";
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[];
482
- };
483
- /**
484
- * 管理者ロールを作成するときのrequest body
485
- */
486
- export interface RoleCreateBody {
487
- /** 名前 */
488
- name: string;
489
- /** 権限リスト */
490
- permissionList: RoleCreateBodyPermissionListItem[];
491
- }
492
- /**
493
- * 権限タイプ
494
- */
495
- export type RoleUpdateBodyPermissionListItemPermission = (typeof RoleUpdateBodyPermissionListItemPermission)[keyof typeof RoleUpdateBodyPermissionListItemPermission];
496
- export declare const RoleUpdateBodyPermissionListItemPermission: {
497
- readonly tenant: "tenant";
498
- readonly billing: "billing";
499
- readonly integration: "integration";
500
- readonly security: "security";
501
- readonly audit: "audit";
502
- readonly stats: "stats";
503
- readonly workflow: "workflow";
504
- readonly route: "route";
505
- readonly pipeline: "pipeline";
506
- readonly workflow_misc: "workflow_misc";
507
- readonly user: "user";
508
- readonly team: "team";
509
- readonly role: "role";
510
- readonly master: "master";
511
- readonly ticket_read: "ticket_read";
512
- readonly ticket_write: "ticket_write";
513
- readonly label: "label";
514
- readonly automation: "automation";
515
- };
516
- export type RoleUpdateBodyPermissionListItem = {
517
- /** 権限タイプ */
518
- permission: RoleUpdateBodyPermissionListItemPermission;
519
- /** 管理対象を制限する場合true */
520
- restricted: boolean;
521
- /** 管理対象のフォルダID */
522
- folderIds?: string[];
523
- /** 管理対象の汎用マスタID */
524
- generalMasterIds?: string[];
525
- /** 管理対象のチームID */
526
- teamIds?: string[];
527
- };
528
- /**
529
- * 管理者ロールを更新するときのrequest body
530
- */
531
- export interface RoleUpdateBody {
532
- /** 名前 */
533
- name?: string;
534
- /** 権限リスト */
535
- permissionList?: RoleUpdateBodyPermissionListItem[];
536
- }
537
- /**
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
- * フォルダ
559
- */
560
- export interface Folder {
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 = {
596
- /** 親フォルダからルートフォルダまでの配列 */
597
- ancestors?: Folder[];
598
- /** 子フォルダ */
599
- children?: Folder[];
600
- };
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
- export type GeneralMasterItemInputsItem = {
652
- /** UUID */
653
- id: string;
654
- /** 入力値 */
655
- value: GeneralMasterItemInputsItemValue;
656
- /** 作成日時 */
657
- createdAt: string;
658
- /** 更新日時 */
659
- updatedAt: string;
660
- field: GeneralMasterField;
661
- };
662
- /**
663
- * 汎用マスタのアイテム
664
- */
665
- export interface GeneralMasterItem {
666
- /** UUID */
667
- id: string;
668
- /**
669
- * コード
670
- * @maxLength 100
671
- */
672
- code: string;
673
- /**
674
- * 名前
675
- * @maxLength 100
676
- */
677
- name: string;
678
- /** 説明 */
679
- description: GeneralMasterItemDescription;
680
- /** 作成日時 */
681
- createdAt: string;
682
- /** 更新日時 */
683
- 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
- /**
719
- * フィールド名
720
- * @maxLength 300
721
- */
722
- title: string;
723
- /** フィールドの説明 */
724
- description: GeneralMasterFieldDescription;
725
- /**
726
- * フィールドのコード
727
- * @maxLength 100
728
- */
729
- code: string;
730
- /** フィールドの型 */
731
- fieldType: GeneralMasterFieldFieldType;
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;
742
- }
743
- /**
744
- * ステータス。visibleは有効、invisibleは無効、deletedは削除済み。
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
- * ワークフロー
792
- */
793
- export interface Workflow {
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 = {
843
- /** 書類の添付が必須な場合true */
844
- 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;
870
- export type SectionListItemSectionType = (typeof SectionListItemSectionType)[keyof typeof SectionListItemSectionType];
871
- export declare const SectionListItemSectionType: {
872
- readonly form: "form";
873
- readonly slip: "slip";
874
- };
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
- /**
923
- * フィールドの型
924
- */
925
- export type FormFieldFieldType = (typeof FormFieldFieldType)[keyof typeof FormFieldFieldType];
926
- export declare const FormFieldFieldType: {
927
- readonly text: "text";
928
- readonly text_long: "text_long";
929
- readonly number: "number";
930
- readonly integer: "integer";
931
- readonly checkbox: "checkbox";
932
- readonly pull_down: "pull_down";
933
- readonly date: "date";
934
- readonly file: "file";
935
- readonly master: "master";
936
- readonly user: "user";
937
- readonly team: "team";
938
- readonly ticket: "ticket";
939
- readonly calculation: "calculation";
940
- readonly button_api: "button_api";
941
- readonly button_kintone: "button_kintone";
942
- };
943
- /**
944
- * 選択肢のリスト。型がcheckboxまたはpull_downのときのみ値が入ります。
945
- */
946
- export type FormFieldOptions = string[] | null;
947
- /**
948
- * フォームサイズ。fullの場合全幅、halfの場合1/2になります。
949
- */
950
- export type FormFieldSize = (typeof FormFieldSize)[keyof typeof FormFieldSize];
951
- export declare const FormFieldSize: {
952
- readonly full: "full";
953
- readonly half: "half";
954
- };
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
- /**
1014
- * フォームフィールド
1015
- */
1016
- export interface FormField {
1017
- /** UUID */
1018
- id: string;
1019
- /**
1020
- * 説明
1021
- * @maxLength 300
1022
- */
1023
- title: string;
1024
- /** 説明 */
1025
- description: FormFieldDescription;
1026
- /** フィールドの型 */
1027
- fieldType: FormFieldFieldType;
1028
- /** 必須項目かどうか */
1029
- required: boolean;
1030
- /** 承認者が編集可能かどうか */
1031
- approver: boolean;
1032
- /** 申請者が編集可能かどうか */
1033
- author?: boolean;
1034
- /** 選択肢のリスト。型がcheckboxまたはpull_downのときのみ値が入ります。 */
1035
- options: FormFieldOptions;
1036
- /**
1037
- * コード
1038
- * @maxLength 100
1039
- */
1040
- code: string;
1041
- /** フォームサイズ。fullの場合全幅、halfの場合1/2になります。 */
1042
- size: FormFieldSize;
1043
- /** 正規表現フォーマット */
1044
- regexpFormat: FormFieldRegexpFormat;
1045
- /** 計算式。
1046
- 型がcalculationのときのみ値が入ります。 */
1047
- formula: FormFieldFormula;
1048
- /** 初期値 */
1049
- defaultValue: FormFieldDefaultValue;
1050
- /** 最小値 */
1051
- minValue: FormFieldMinValue;
1052
- /** 最大値 */
1053
- maxValue: FormFieldMaxValue;
1054
- /**
1055
- * 最小文字数
1056
- * @minimum 0
1057
- */
1058
- minLength: FormFieldMinLength;
1059
- /**
1060
- * 最大文字数
1061
- * @minimum 0
1062
- */
1063
- maxLength: FormFieldMaxLength;
1064
- /**
1065
- * 小数の桁数
1066
- * @minimum 0
1067
- */
1068
- decimalDigit: FormFieldDecimalDigit;
1069
- /** カンマ区切りで表示する場合true。
1070
- 整数、数値、自動計算フィールド以外ではnullが入ります。 */
1071
- delimited: FormFieldDelimited;
1072
- /** 単位(接頭辞) */
1073
- prefix: FormFieldPrefix;
1074
- /** 単位(接尾辞) */
1075
- suffix: FormFieldSuffix;
1076
- /** 隠しフィールドである場合true */
1077
- hidden?: FormFieldHidden;
1078
- /** trueの時、申請者・承認者が画面上から値を入力することを禁止します。
1079
- 外部API連携(ボタン)による代入や、REST API経由での入力はこのオプションの対象外です。 */
1080
- readonlyOnUi?: FormFieldReadonlyOnUi;
1081
- }
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
- /**
1125
- * HTTPメソッド
1126
- */
1127
- export type ExternalApiSettingHttpMethod = (typeof ExternalApiSettingHttpMethod)[keyof typeof ExternalApiSettingHttpMethod];
1128
- export declare const ExternalApiSettingHttpMethod: {
1129
- readonly get: "get";
1130
- readonly post: "post";
1131
- readonly put: "put";
1132
- readonly delete: "delete";
1133
- readonly patch: "patch";
1134
- };
1135
- export type ExternalApiSettingHeadersItem = {
1136
- /** ヘッダーのキー */
1137
- key: string;
1138
- /** ヘッダーの値 */
1139
- value: string;
1140
- };
1141
- /**
1142
- * 複数レコードを含む場合の配列へのJSONPath
1143
- */
1144
- export type ExternalApiSettingArrayJsonPath = string | null;
1145
- /**
1146
- * 選択用テーブルでのタイトル
1147
- */
1148
- export type ExternalApiSettingMappingsItemTitle = string | null;
1149
- export type ExternalApiSettingMappingsItem = {
1150
- formField: FormField;
1151
- /** 値抽出用のJSONPath */
1152
- jsonPath: string;
1153
- /** 選択用テーブルで表示する場合true */
1154
- displayInTable: boolean;
1155
- /** 選択用テーブルでのタイトル */
1156
- title: ExternalApiSettingMappingsItemTitle;
1157
- };
1158
- /**
1159
- * 外部API設定
1160
- */
1161
- export interface ExternalApiSetting {
1162
- /** UUID */
1163
- id: string;
1164
- /** HTTPメソッド */
1165
- httpMethod: ExternalApiSettingHttpMethod;
1166
- /** URL */
1167
- url: string;
1168
- /** リクエストヘッダー */
1169
- headers: ExternalApiSettingHeadersItem[];
1170
- /** レスポンスが複数レコードを含む場合true */
1171
- responseArray: boolean;
1172
- /** 複数レコードを含む場合の配列へのJSONPath */
1173
- arrayJsonPath: ExternalApiSettingArrayJsonPath;
1174
- /** フィールドへのマッピング設定 */
1175
- mappings: ExternalApiSettingMappingsItem[];
1176
- }
1177
- export type ClimberCloudSettingMappingsItem = {
1178
- formField: FormField;
1179
- /** 表示順(1から始まります) */
1180
- order: number;
1181
- };
1182
- /**
1183
- * ClimberCloud連携設定
1184
- */
1185
- export interface ClimberCloudSetting {
1186
- /** UUID */
1187
- id: string;
1188
- /** ファイル付きリストID */
1189
- contentsId: string;
1190
- formField: FormField;
1191
- /** ClimberCloudのカラムとのマッピング設定 */
1192
- mappings: ClimberCloudSettingMappingsItem[];
1193
- }
1194
- /**
1195
- * フィールドの型
1196
- */
1197
- export type SlipFieldFieldType = (typeof SlipFieldFieldType)[keyof typeof SlipFieldFieldType];
1198
- export declare const SlipFieldFieldType: {
1199
- readonly text: "text";
1200
- readonly number: "number";
1201
- readonly integer: "integer";
1202
- readonly calculation: "calculation";
1203
- readonly pull_down: "pull_down";
1204
- readonly checkbox: "checkbox";
1205
- readonly date: "date";
1206
- readonly file: "file";
1207
- readonly master: "master";
1208
- readonly user: "user";
1209
- readonly team: "team";
1210
- readonly ticket: "ticket";
1211
- };
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
- /**
1259
- * 明細フィールド
1260
- */
1261
- export interface SlipField {
1262
- /** UUID */
1263
- id: string;
1264
- /** フィールドの型 */
1265
- fieldType: SlipFieldFieldType;
1266
- /** フィールドのコード */
1267
- code: string;
1268
- /** タイトル */
1269
- title: string;
1270
- /** 入力必須の場合true */
1271
- required: boolean;
1272
- /** 列の合計を表示する場合true */
1273
- showTotal: boolean;
1274
- /** 選択肢。プルダウンまたはチェックボックスのときのみ値が入ります。 */
1275
- options: string[];
1276
- /** 正規表現フォーマット */
1277
- regexpFormat: SlipFieldRegexpFormat;
1278
- /** 計算式。型が自動計算のときのみ値が入ります。 */
1279
- formula: SlipFieldFormula;
1280
- /** 最大値 */
1281
- maxValue: SlipFieldMaxValue;
1282
- /** 最小値 */
1283
- minValue: SlipFieldMinValue;
1284
- /** 初期値 */
1285
- defaultValue: SlipFieldDefaultValue;
1286
- /** 小数の桁数 */
1287
- decimalDigit: SlipFieldDecimalDigit;
1288
- /** カンマ区切りで表示する場合true。
1289
- 整数、数値、自動計算フィールド以外ではnullが入ります。 */
1290
- delimited: SlipFieldDelimited;
1291
- /** 添付可能な拡張子リスト */
1292
- allowedExtensions: string[];
1293
- /** 単位(接頭辞) */
1294
- prefix: SlipFieldPrefix;
1295
- /** 単位(接尾辞) */
1296
- suffix: SlipFieldSuffix;
1297
- /** 承認者が編集可能かどうか */
1298
- approver: boolean;
1299
- /** 申請者が編集可能かどうか */
1300
- author?: boolean;
1301
- /** 隠しフィールドである場合true */
1302
- hidden?: SlipFieldHidden;
1303
- /** trueの時、申請者・承認者が画面上から値を入力することを禁止します。
1304
- 外部API連携(ボタン)による代入や、REST API経由での入力はこのオプションの対象外です。 */
1305
- readonlyOnUi?: SlipFieldReadonlyOnUi;
1306
- }
1307
- /**
1308
- * 汎用マスタ。型が汎用マスタのときのみ値が入ります。
1309
- */
1310
- export type SlipFieldDetailAllOfGeneralMaster = GeneralMaster | null;
1311
- /**
1312
- * 汎用マスタアイテムの初期値
1313
- */
1314
- export type SlipFieldDetailAllOfDefaultGeneralMasterItem = GeneralMasterItem | null;
1315
- export type SlipFieldDetailAllOf = {
1316
- /** 汎用マスタ。型が汎用マスタのときのみ値が入ります。 */
1317
- generalMaster?: SlipFieldDetailAllOfGeneralMaster;
1318
- /** 汎用マスタアイテムの初期値 */
1319
- defaultGeneralMasterItem?: SlipFieldDetailAllOfDefaultGeneralMasterItem;
1320
- };
1321
- /**
1322
- * 明細フィールドの詳細
1323
- */
1324
- export type SlipFieldDetail = SlipField & SlipFieldDetailAllOf;
1325
- /**
1326
- * 経路分岐タイプ
1327
- */
1328
- export type WorkflowRouteConditionConditionType = (typeof WorkflowRouteConditionConditionType)[keyof typeof WorkflowRouteConditionConditionType];
1329
- export declare const WorkflowRouteConditionConditionType: {
1330
- readonly always: "always";
1331
- readonly field: "field";
1332
- readonly field_otherwise: "field_otherwise";
1333
- };
1334
- /**
1335
- * 条件の組み合わせタイプ
1336
- */
1337
- export type WorkflowRouteConditionCombinationType = (typeof WorkflowRouteConditionCombinationType)[keyof typeof WorkflowRouteConditionCombinationType];
1338
- export declare const WorkflowRouteConditionCombinationType: {
1339
- readonly all: "all";
1340
- readonly any: "any";
1341
- readonly custom: "custom";
1342
- };
1343
- /**
1344
- * 経路。routeまたはerrorMessageは片方のみ値が入ります。
1345
- */
1346
- export type WorkflowRouteConditionRoute = Route | null;
1347
- /**
1348
- * 申請拒否時のエラーメッセージ。routeまたはerrorMessageは片方のみ値が入ります。
1349
- */
1350
- export type WorkflowRouteConditionErrorMessage = string | null;
1351
- /**
1352
- * ワークフローの経路分岐
1353
- */
1354
- export interface WorkflowRouteCondition {
1355
- /** UUID */
1356
- id: string;
1357
- /** 経路分岐タイプ */
1358
- conditionType: WorkflowRouteConditionConditionType;
1359
- /** 条件の組み合わせタイプ */
1360
- combinationType: WorkflowRouteConditionCombinationType;
1361
- /** 高度な条件式 */
1362
- combinationExpression: string;
1363
- /** 経路。routeまたはerrorMessageは片方のみ値が入ります。 */
1364
- route: WorkflowRouteConditionRoute;
1365
- /** 条件 */
1366
- conditionFields: WorkflowRouteConditionField[];
1367
- /** 申請拒否時のエラーメッセージ。routeまたはerrorMessageは片方のみ値が入ります。 */
1368
- errorMessage: WorkflowRouteConditionErrorMessage;
1369
- }
1370
- /**
1371
- * 演算子
1372
- */
1373
- export type WorkflowRouteConditionFieldSymbol = (typeof WorkflowRouteConditionFieldSymbol)[keyof typeof WorkflowRouteConditionFieldSymbol];
1374
- export declare const WorkflowRouteConditionFieldSymbol: {
1375
- readonly equal: "equal";
1376
- readonly not_equal: "not_equal";
1377
- readonly greater_than: "greater_than";
1378
- readonly greater_than_or_equal: "greater_than_or_equal";
1379
- readonly less_than: "less_than";
1380
- readonly less_than_or_equal: "less_than_or_equal";
1381
- readonly include: "include";
1382
- readonly exclude: "exclude";
1383
- readonly is_empty: "is_empty";
1384
- readonly is_not_empty: "is_not_empty";
1385
- readonly descendants_or_equal: "descendants_or_equal";
1386
- };
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
- /**
1404
- * ワークフロー経路分岐の条件
1405
- */
1406
- export interface WorkflowRouteConditionField {
1407
- /** UUID */
1408
- id: string;
1409
- /** 演算子 */
1410
- symbol: WorkflowRouteConditionFieldSymbol;
1411
- /** しきい値 */
1412
- value: WorkflowRouteConditionFieldValue;
1413
- /** 対象のフォームフィールド */
1414
- formField: FormField;
1415
- /** しきい値として使う役職 */
1416
- grade: WorkflowRouteConditionFieldGrade;
1417
- /** しきい値として使うチーム */
1418
- team: WorkflowRouteConditionFieldTeam;
1419
- /** しきい値として使う汎用マスタアイテム */
1420
- generalMasterItem: WorkflowRouteConditionFieldGeneralMasterItem;
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;
1446
- }
1447
- /**
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
- * 経路
1463
- */
1464
- export interface Route {
1465
- /** UUID */
1466
- id: string;
1467
- /** コード */
1468
- code: string;
1469
- /** ステータス */
1470
- status: RouteStatus;
1471
- /** バージョンのID */
1472
- versionId: string;
1473
- /** バージョン番号 */
1474
- versionNumber: number;
1475
- /** 名前 */
1476
- name: string;
1477
- /** 説明 */
1478
- description: string;
1479
- /** 作成日時 */
1480
- createdAt: string;
1481
- /** 更新日時 */
1482
- updatedAt: string;
1483
- /** 作成者 */
1484
- author?: RouteAuthor;
1485
- versionAuthor?: RouteVersionAuthor;
1486
- /** フォルダ */
1487
- folder: Folder;
1488
- }
1489
- export type RouteDetailAllOf = {
1490
- /** 経路ステップ */
1491
- steps: RouteStep[];
1492
- };
1493
- /**
1494
- * 経路の詳細情報
1495
- */
1496
- export type RouteDetail = Route & RouteDetailAllOf;
1497
- /**
1498
- * ステップのタイプ
1499
- */
1500
- export type RouteStepStepType = (typeof RouteStepStepType)[keyof typeof RouteStepStepType];
1501
- export declare const RouteStepStepType: {
1502
- readonly author: "author";
1503
- readonly manager: "manager";
1504
- readonly team: "team";
1505
- readonly user: "user";
1506
- readonly author_customizable: "author_customizable";
1507
- readonly assignee_customizable: "assignee_customizable";
1508
- readonly dynamic_team: "dynamic_team";
1509
- readonly dynamic_user: "dynamic_user";
1510
- };
1511
- /**
1512
- * アクションタイプ。承認/差し戻しの場合approve、回覧(確認あり)の場合confirm、回覧(確認なし)の場合noneになります。
1513
- */
1514
- export type RouteStepActionType = (typeof RouteStepActionType)[keyof typeof RouteStepActionType];
1515
- export declare const RouteStepActionType: {
1516
- readonly approve: "approve";
1517
- readonly confirm: "confirm";
1518
- readonly none: "none";
1519
- };
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
- export interface RouteStepTarget {
1586
- team?: Team;
1587
- /** stepType=author_customizableまたはstepType=assignee_customizableの場合に、指定したチームの下位チームのメンバーも承認者候補に含めるかどうか(true: 含める、false: 含めない) */
1588
- descendants?: boolean;
1589
- /** 役職の比較条件。役職が指定されているときのみ値が入ります。 */
1590
- gradeSymbol?: RouteStepTargetGradeSymbol;
1591
- /** 承認者の指定に使う役職の配列 */
1592
- grades?: Grade[];
1593
- /** 承認者タイプ「チームを動的に指定」または「ユーザーを動的に指定」で指定する変数名が入ります。 */
1594
- variable?: RouteStepTargetVariable;
1595
- }
1596
- /**
1597
- * 実行タイプ
1598
- */
1599
- export type RouteStepConditionConditionType = (typeof RouteStepConditionConditionType)[keyof typeof RouteStepConditionConditionType];
1600
- export declare const RouteStepConditionConditionType: {
1601
- readonly always: "always";
1602
- readonly conditional: "conditional";
1603
- readonly conditional_skip: "conditional_skip";
1604
- };
1605
- /**
1606
- * 条件の組み合わせタイプ
1607
- */
1608
- export type RouteStepConditionCombinationType = (typeof RouteStepConditionCombinationType)[keyof typeof RouteStepConditionCombinationType];
1609
- export declare const RouteStepConditionCombinationType: {
1610
- readonly all: "all";
1611
- readonly any: "any";
1612
- };
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
- /**
1626
- * 変数のフィールド
1627
- */
1628
- export type RouteStepConditionFieldFieldKey = (typeof RouteStepConditionFieldFieldKey)[keyof typeof RouteStepConditionFieldFieldKey];
1629
- export declare const RouteStepConditionFieldFieldKey: {
1630
- readonly author_grade: "author_grade";
1631
- readonly author_team: "author_team";
1632
- readonly text_variable: "text_variable";
1633
- readonly number_variable: "number_variable";
1634
- readonly checkbox_variable: "checkbox_variable";
1635
- readonly general_master_variable: "general_master_variable";
1636
- readonly other_variable: "other_variable";
1637
- };
1638
- /**
1639
- * 演算子
1640
- */
1641
- export type RouteStepConditionFieldSymbol = (typeof RouteStepConditionFieldSymbol)[keyof typeof RouteStepConditionFieldSymbol];
1642
- export declare const RouteStepConditionFieldSymbol: {
1643
- readonly equal: "equal";
1644
- readonly not_equal: "not_equal";
1645
- readonly greater_than: "greater_than";
1646
- readonly greater_than_or_equal: "greater_than_or_equal";
1647
- readonly less_than: "less_than";
1648
- readonly less_than_or_equal: "less_than_or_equal";
1649
- readonly include: "include";
1650
- readonly exclude: "exclude";
1651
- readonly is_empty: "is_empty";
1652
- readonly is_not_empty: "is_not_empty";
1653
- readonly descendants_or_equal: "descendants_or_equal";
1654
- readonly not_descendants_or_equal: "not_descendants_or_equal";
1655
- };
1656
- /**
1657
- * ステップごとに設定できる実行条件の詳細
1658
- */
1659
- export interface RouteStepConditionField {
1660
- /** UUID */
1661
- id?: string;
1662
- /** 変数 */
1663
- variable?: string;
1664
- /** 変数のフィールド */
1665
- fieldKey?: RouteStepConditionFieldFieldKey;
1666
- /** 演算子 */
1667
- symbol?: RouteStepConditionFieldSymbol;
1668
- /** しきい値 */
1669
- value?: string;
1670
- /** しきい値として使う役職 */
1671
- grade?: Grade;
1672
- /** しきい値として使うチーム */
1673
- team?: Team;
1674
- /** しきい値として使う汎用マスタアイテム */
1675
- generalMasterItem?: GeneralMasterItem;
1676
- }
1677
- /**
1678
- * チケット番号
1679
- */
1680
- export type TicketTicketNumber = string | null;
1681
- /**
1682
- * タイトル
1683
- */
1684
- export type TicketTitle = string | null;
1685
- /**
1686
- * ステータス
1687
- */
1688
- export type TicketStatus = (typeof TicketStatus)[keyof typeof TicketStatus];
1689
- export declare const TicketStatus: {
1690
- readonly draft: "draft";
1691
- readonly in_progress: "in_progress";
1692
- readonly completed: "completed";
1693
- readonly rejected: "rejected";
1694
- readonly archived: "archived";
1695
- readonly denied: "denied";
1696
- readonly permanently_deleted: "permanently_deleted";
1697
- };
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
- /**
1723
- * チケットの共有範囲の上書き設定
1724
- */
1725
- export type TicketForcedPublicType = (typeof TicketForcedPublicType)[keyof typeof TicketForcedPublicType];
1726
- export declare const TicketForcedPublicType: {
1727
- readonly follow_workflow: "follow_workflow";
1728
- readonly forced_public: "forced_public";
1729
- readonly forced_private: "forced_private";
1730
- };
1731
- /**
1732
- * このチケットのワークフロー情報。チケットを一件だけ取得した場合のみ、セクションや共有ユーザーを含むより詳細なワークフロー情報が入ります。
1733
- */
1734
- export type TicketWorkflow = Workflow | WorkflowInTicket;
1735
- /**
1736
- * チケット
1737
- */
1738
- export interface Ticket {
1739
- /** UUID */
1740
- id: string;
1741
- /** チケット番号 */
1742
- ticketNumber: TicketTicketNumber;
1743
- /** タイトル */
1744
- title?: TicketTitle;
1745
- /** ステータス */
1746
- status: TicketStatus;
1747
- /** サブステータス。処理中のみ値が入ります。 */
1748
- subStatus?: TicketSubStatus;
1749
- /**
1750
- * 現在のステップ。0が起票者、1が最初の承認ステップ。
1751
- * @minimum 0
1752
- */
1753
- currentStep: number;
1754
- /** 申請者。代理申請の場合、代理人が入ります。外部ゲストの場合はnullになります。 */
1755
- author: TicketAuthor;
1756
- /** 代理申請を依頼したユーザー。代理申請の場合のみ値が入ります。 */
1757
- proxyClientUser: TicketProxyClientUser;
1758
- /** 作成日時 */
1759
- createdAt: string;
1760
- /** 申請日時 */
1761
- openedAt: TicketOpenedAt;
1762
- /** 完了日時 */
1763
- completedAt: TicketCompletedAt;
1764
- /** アーカイブ日時 */
1765
- archivedAt: TicketArchivedAt;
1766
- /** 更新日時 */
1767
- updatedAt: string;
1768
- /** チケットがテナント全体に共有の場合true */
1769
- publicStatus: boolean;
1770
- /** チケットの共有範囲の上書き設定 */
1771
- forcedPublicType: TicketForcedPublicType;
1772
- /** このチケットのワークフロー情報。チケットを一件だけ取得した場合のみ、セクションや共有ユーザーを含むより詳細なワークフロー情報が入ります。 */
1773
- workflow: TicketWorkflow;
1774
- /** チケットのラベルの配列 */
1775
- labels: Label[];
1776
- }
1777
- export type TicketWithStepAllOf = {
1778
- /** ステップの配列 */
1779
- steps: TicketStep[];
1780
- };
1781
- export type TicketWithStep = Ticket & TicketWithStepAllOf;
1782
- /**
1783
- * 申請者の所属チーム. 外部ゲストの場合はnullになります。
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
- * クラウドサイン書類のステータス
1796
- */
1797
- export type TicketDetailAllOfCloudSignDocumentAnyOfStatus = (typeof TicketDetailAllOfCloudSignDocumentAnyOfStatus)[keyof typeof TicketDetailAllOfCloudSignDocumentAnyOfStatus];
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 = {
1807
- /** UUID */
1808
- id: string;
1809
- /** クラウドサイン書類のID */
1810
- documentId: string;
1811
- /** クラウドサイン書類のタイトル */
1812
- documentTitle: string;
1813
- /** クラウドサイン書類のステータス */
1814
- status: TicketDetailAllOfCloudSignDocumentAnyOfStatus;
1815
- /** クラウドサインがサンドボックス環境の場合true */
1816
- sandbox: boolean;
1817
- /** 作成日時 */
1818
- createdAt: string;
1819
- /** 更新日時 */
1820
- updatedAt: string;
1821
- /** クラウドサイン書類のURL */
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;
1861
- /**
1862
- * チケットのフォーム入力
1863
- */
1864
- export interface TicketInput {
1865
- /** UUID */
1866
- id: string;
1867
- /** 入力値
1868
- フィールドの型が汎用マスタアイテム、ユーザー、チーム、チケットの場合、JSON Arrayがキャッシュとして保存されます。 */
1869
- value: TicketInputValue;
1870
- formField?: FormField;
1871
- /** 入力値: 汎用マスタアイテム */
1872
- generalMasterItems?: GeneralMasterItem[];
1873
- /** 入力値: ユーザー */
1874
- users?: User[];
1875
- /** 入力値: チーム */
1876
- teams?: Team[];
1877
- /** 入力値: チケット */
1878
- inputTickets?: Ticket[];
1879
- /** 添付ファイル */
1880
- attachments?: Attachment[];
1881
- }
1882
- /**
1883
- * チケットのセクション
1884
- */
1885
- export interface TicketSection {
1886
- /** ワークフローのセクションID */
1887
- sectionId: string;
1888
- /** セクションの表示状態 */
1889
- visible: boolean;
1890
- /** このセクションの入力の配列 */
1891
- inputs: TicketInput[];
1892
- }
1893
- /**
1894
- * 経路ステップのUUID。カスタムステップの場合、nullになります。
1895
- */
1896
- export type TicketStepRouteStepId = string | null;
1897
- /**
1898
- * ステップのタイトル
1899
- */
1900
- export type TicketStepTitle = string | null;
1901
- /**
1902
- * アクションタイプ。承認/差し戻しの場合approve、回覧(確認あり)の場合confirm、回覧(確認なし)の場合noneになります。
1903
- */
1904
- export type TicketStepActionType = (typeof TicketStepActionType)[keyof typeof TicketStepActionType];
1905
- export declare const TicketStepActionType: {
1906
- readonly approve: "approve";
1907
- readonly confirm: "confirm";
1908
- readonly none: "none";
1909
- };
1910
- /**
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を返します。
1920
- */
1921
- export type TicketStepCompletedAt = string | null;
1922
- /**
1923
- * チケット承認ステップ
1924
- */
1925
- export interface TicketStep {
1926
- /** UUID */
1927
- id: string;
1928
- /** 経路ステップのUUID。カスタムステップの場合、nullになります。 */
1929
- routeStepId: TicketStepRouteStepId;
1930
- /** ステップのタイトル */
1931
- title: TicketStepTitle;
1932
- /** アクションタイプ。承認/差し戻しの場合approve、回覧(確認あり)の場合confirm、回覧(確認なし)の場合noneになります。 */
1933
- actionType: TicketStepActionType;
1934
- /** 必要な承認人数 */
1935
- requiredApprovalsNumber: number;
1936
- /** 必要な承認割合% */
1937
- requiredApprovalsPercent: number;
1938
- /** ステップの順序。最初の承認ステップが1。 */
1939
- stepOrder: number;
1940
- /** スキップ可能な場合true */
1941
- skip: boolean;
1942
- /** フォールバックした場合true */
1943
- fallback: boolean;
1944
- /** フォールバックの結果 */
1945
- fallbackResult: TicketStepFallbackResult;
1946
- /** 承認ステップの作成者。カスタムステップの場合のみ、値が入ります。 */
1947
- author: TicketStepAuthor;
1948
- /** 承認者 */
1949
- assignees: TicketAssignee[];
1950
- /** ステップが完了している場合true */
1951
- completed: boolean;
1952
- /** ステップが完了した日時。過去のデータではnullを返します。 */
1953
- completedAt: TicketStepCompletedAt;
1954
- }
1955
- /**
1956
- * 承認日時。古いデータではnullを返します。
1957
- */
1958
- export type TicketAssigneeCompletedAt = string | null;
1959
- /**
1960
- * チケット承認者
1961
- */
1962
- export interface TicketAssignee {
1963
- /** UUID */
1964
- id: string;
1965
- /** ステップ番号。1が最初の承認ステップ。 */
1966
- stepOrder: number;
1967
- /** 現在の承認ステップの場合true */
1968
- current: boolean;
1969
- /** 承認済みの場合true */
1970
- completed: boolean;
1971
- /** 承認日時。古いデータではnullを返します。 */
1972
- completedAt: TicketAssigneeCompletedAt;
1973
- /** 承認を保留中の場合true */
1974
- pending: boolean;
1975
- user: User;
1976
- }
1977
- /**
1978
- * 添付ファイル
1979
- */
1980
- export interface Attachment {
1981
- /** 署名済みID */
1982
- signedId: string;
1983
- /** ファイル名 */
1984
- filename: string;
1985
- /** ファイルURL */
1986
- url: string;
1987
- }
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
- /**
2010
- * 明細アイテム入力
2011
- */
2012
- export interface SlipItemInput {
2013
- /** UUID */
2014
- id: string;
2015
- /** 明細フィールドのUUID */
2016
- slipFieldId: string;
2017
- /** 作成日時 */
2018
- createdAt: string;
2019
- /** 更新日時 */
2020
- updatedAt: string;
2021
- /** 入力値
2022
-
2023
- フィールドの型が汎用マスタアイテムの場合、JSON Arrayがキャッシュとして保存されます。 */
2024
- value: SlipItemInputValue;
2025
- /** 入力値: 汎用マスタアイテム */
2026
- generalMasterItems: GeneralMasterItem[];
2027
- /** 入力値: ユーザー */
2028
- users?: User[];
2029
- /** 入力値: チーム */
2030
- teams?: Team[];
2031
- /** 入力値: チケット */
2032
- inputTickets?: Ticket[];
2033
- /** 添付ファイル */
2034
- attachments: Attachment[];
2035
- }
2036
- /**
2037
- * 説明
2038
- */
2039
- export type LabelDescription = string | null;
2040
- /**
2041
- * ラベル
2042
- */
2043
- export interface Label {
2044
- /** UUID */
2045
- id: string;
2046
- /** 名前 */
2047
- name: string;
2048
- /** 説明 */
2049
- description: LabelDescription;
2050
- /**
2051
- * ラベルの色。#なしHEXコード(例: ff0000)
2052
- * @minLength 6
2053
- * @maxLength 6
2054
- * @pattern ^[a-f0-9]{6}$
2055
- */
2056
- color: string;
2057
- /** 作成日時 */
2058
- createdAt: string;
2059
- /** 更新日時 */
2060
- updatedAt: string;
2061
- }
2062
- /**
2063
- * 説明
2064
- */
2065
- export type SubStatusNotes = string | null;
2066
- /**
2067
- * サブステータス
2068
- */
2069
- export interface SubStatus {
2070
- /** UUID */
2071
- id: string;
2072
- /** コード */
2073
- code: string;
2074
- /** 名前 */
2075
- name: string;
2076
- /** 説明 */
2077
- notes: SubStatusNotes;
2078
- /** 作成日時 */
2079
- createdAt: string;
2080
- /** 更新日時 */
2081
- updatedAt: string;
2082
- }
2083
- export type TicketViewerUser = User | null;
2084
- export type TicketViewerTeam = Team | null;
2085
- export type TicketViewerGrade = Grade | null;
2086
- /**
2087
- * チケットの共有ユーザー
2088
- */
2089
- export interface TicketViewer {
2090
- /** UUID */
2091
- id: string;
2092
- user: TicketViewerUser;
2093
- team: TicketViewerTeam;
2094
- grade: TicketViewerGrade;
2095
- /** 下位のチームを含めるかどうか */
2096
- descendants: boolean;
2097
- }
2098
- /**
2099
- * 削除日時
2100
- */
2101
- export type CommentDeletedAt = string | null;
2102
- /**
2103
- * コメント
2104
- */
2105
- export interface Comment {
2106
- /** UUID */
2107
- id: string;
2108
- /** 本文 */
2109
- body: string;
2110
- /** 添付ファイル */
2111
- attachments: Attachment[];
2112
- /** 作成日時 */
2113
- createdAt: string;
2114
- /** 更新日時 */
2115
- updatedAt: string;
2116
- /** 削除日時 */
2117
- deletedAt: CommentDeletedAt;
2118
- user: User;
2119
- /** メンションしたユーザーの配列 */
2120
- mentionedUsers: User[];
2121
- }
2122
- /**
2123
- * 操作ユーザー。システムによる操作の場合はnull。
2124
- */
2125
- export type AuditLogUser = User | null;
2126
- /**
2127
- * 操作データ
2128
- */
2129
- export type AuditLogDataAnyOf = {
2130
- [key: string]: unknown;
2131
- };
2132
- /**
2133
- * 操作データ
2134
- */
2135
- export type AuditLogData = AuditLogDataAnyOf | null;
2136
- /**
2137
- * リモートIPアドレス
2138
- */
2139
- export type AuditLogRemoteIp = string | null;
2140
- /**
2141
- * システムによる操作種別
2142
- */
2143
- export type AuditLogSystemType = 'automation' | null;
2144
- /**
2145
- * 監査ログ
2146
- */
2147
- export interface AuditLog {
2148
- /** UUID */
2149
- id: string;
2150
- /** 操作ユーザー。システムによる操作の場合はnull。 */
2151
- user: AuditLogUser;
2152
- /** 操作種別 */
2153
- action: string;
2154
- /** 操作データ */
2155
- data: AuditLogData;
2156
- /** リモートIPアドレス */
2157
- remoteIp: AuditLogRemoteIp;
2158
- /** システムによる操作種別 */
2159
- systemType: AuditLogSystemType;
2160
- /** 作成日時 */
2161
- createdAt: string;
2162
- /** 更新日時 */
2163
- updatedAt: string;
2164
- }
2165
- export type WebhookRequestBodyPingData = {
2166
- /** メッセージ。eventTypeがpingの場合に使用されます。 */
2167
- message?: string;
2168
- };
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
- /**
2207
- * Webhookのテナント情報
2208
- */
2209
- export interface WebhookTenant {
2210
- /** テナントのUUID */
2211
- id?: string;
2212
- /** テナントのパブリックID(サブドメイン) */
2213
- publicId?: string;
2214
- /** テナント名 */
2215
- name?: string;
2216
- }
2217
- /**
2218
- * kintone連携
2219
- */
2220
- export interface KintoneApp {
2221
- /** UUID */
2222
- id: string;
2223
- /** kintoneアプリ名 */
2224
- name: string;
2225
- /** kintoneドメイン */
2226
- domain: string;
2227
- /** kintoneアプリID */
2228
- appId: string;
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;
2242
- };
2243
- /**
2244
- * kintone連携設定
2245
- */
2246
- export interface KintoneAppSetting {
2247
- /** UUID */
2248
- id: string;
2249
- formField: FormField;
2250
- kintoneApp: KintoneApp;
2251
- /** フィールドへのマッピング設定 */
2252
- mappings: KintoneAppSettingMappingsItem[];
2253
- }
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";
2264
- };
2265
- /**
2266
- * fieldType=custom_fieldの場合に絞り込み先の汎用マスタのカスタムフィールドのID(UUID)
2267
- */
2268
- export type GeneralMasterSearchFilterGeneralMasterFieldId = string | null;
2269
- export interface GeneralMasterSearchFilter {
2270
- /** UUID */
2271
- id: string;
2272
- /** 絞り込みに使う汎用フィールドのID(UUID) */
2273
- filterFormFieldId: string;
2274
- /** 絞り込み先のフィールドのタイプ */
2275
- fieldType: GeneralMasterSearchFilterFieldType;
2276
- /** fieldType=custom_fieldの場合に絞り込み先の汎用マスタのカスタムフィールドのID(UUID) */
2277
- generalMasterFieldId: GeneralMasterSearchFilterGeneralMasterFieldId;
2278
- }
2279
- /**
2280
- * Bad Request
2281
- */
2282
- export type BadRequestResponse = ErrorResponse;
2283
- /**
2284
- * Unauthorized
2285
- */
2286
- export type UnauthorizedResponse = ErrorResponse;
2287
- /**
2288
- * Forbidden
2289
- */
2290
- export type ForbiddenResponse = ErrorResponse;
2291
- /**
2292
- * Not Found
2293
- */
2294
- export type NotFoundResponse = ErrorResponse;
2295
- /**
2296
- * バリデーションエラーの詳細
2297
- */
2298
- export type UnprocessableContentResponseAllOfErrors = {
2299
- [key: string]: string[];
2300
- };
2301
- export type UnprocessableContentResponseAllOf = {
2302
- /** バリデーションエラーの詳細 */
2303
- errors?: UnprocessableContentResponseAllOfErrors;
2304
- };
2305
- export type UnprocessableContentResponse = ErrorResponse & UnprocessableContentResponseAllOf;
2306
- export type ListCategoriesParams = {
2307
- /**
2308
- * ページ
2309
- * @minimum 1
2310
- */
2311
- page?: number;
2312
- /**
2313
- * 1ページあたりの件数
2314
- * @minimum 1
2315
- * @maximum 100
2316
- */
2317
- perPage?: number;
2318
- /**
2319
- * ソート対象のフィールドと順序。指定可能なフィールド: name, createdAt, updatedAt
2320
- * @pattern ^(name|createdAt|updatedAt)(-asc|-desc)?$
2321
- */
2322
- sortBy?: string;
2323
- };
2324
- export type CreateCategoryBody = {
2325
- /** 名前 */
2326
- name: string;
2327
- };
2328
- export type UpdateCategoryBody = {
2329
- /** 名前 */
2330
- name: string;
2331
- };
2332
- export type ListFoldersParams = {
2333
- /**
2334
- * ページ
2335
- * @minimum 1
2336
- */
2337
- page?: number;
2338
- /**
2339
- * 1ページあたりの件数
2340
- * @minimum 1
2341
- * @maximum 100
2342
- */
2343
- perPage?: number;
2344
- /**
2345
- * ソート対象のフィールドと順序。指定可能なフィールド: createdAt, name, fullName
2346
- * @pattern ^(createdAt|name|fullName)(-asc|-desc)?$
2347
- */
2348
- sortBy?: string;
2349
- };
2350
- /**
2351
- * 親フォルダのID
2352
- */
2353
- export type CreateFolderBodyParentFolderId = string | null;
2354
- export type CreateFolderBody = {
2355
- /** 名前 */
2356
- name: string;
2357
- /** コード。未指定の場合、ランダムな英数字が自動的に設定されます。 */
2358
- code?: string;
2359
- /** フォルダの説明 */
2360
- description?: string;
2361
- /** 親フォルダのID */
2362
- parentFolderId?: CreateFolderBodyParentFolderId;
2363
- };
2364
- /**
2365
- * 親フォルダのID
2366
- */
2367
- export type UpdateFolderBodyParentFolderId = string | null;
2368
- export type UpdateFolderBody = {
2369
- /** 名前 */
2370
- name?: string;
2371
- /** コード */
2372
- code?: string;
2373
- /** フォルダの説明 */
2374
- description?: string;
2375
- /** 親フォルダのID */
2376
- parentFolderId?: UpdateFolderBodyParentFolderId;
2377
- };
2378
- export type ListGeneralMastersParams = {
2379
- /**
2380
- * ページ
2381
- * @minimum 1
2382
- */
2383
- page?: number;
2384
- /**
2385
- * 1ページあたりの件数
2386
- * @minimum 1
2387
- * @maximum 100
2388
- */
2389
- perPage?: number;
2390
- /**
2391
- * ソート対象のフィールドと順序。指定可能なフィールド: createdAt, code, name
2392
- * @pattern ^(createdAt|code|name)(-asc|-desc)?$
2393
- */
2394
- sortBy?: string;
2395
- };
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
- /**
2409
- * フィールドの型
2410
- */
2411
- export type CreateGeneralMasterBodyFieldsItemFieldType = (typeof CreateGeneralMasterBodyFieldsItemFieldType)[keyof typeof CreateGeneralMasterBodyFieldsItemFieldType];
2412
- export declare const CreateGeneralMasterBodyFieldsItemFieldType: {
2413
- readonly text: "text";
2414
- readonly text_long: "text_long";
2415
- readonly number: "number";
2416
- readonly integer: "integer";
2417
- readonly checkbox: "checkbox";
2418
- readonly pull_down: "pull_down";
2419
- readonly date: "date";
2420
- };
2421
- /**
2422
- * 選択肢。fieldTypeがcheckboxまたはpull_downのとき必須。
2423
- */
2424
- export type CreateGeneralMasterBodyFieldsItemOptions = string[] | null;
2425
- export type CreateGeneralMasterBodyFieldsItem = {
2426
- /** フィールド名 */
2427
- title: string;
2428
- /** フィールドの説明 */
2429
- description?: CreateGeneralMasterBodyFieldsItemDescription;
2430
- /** フィールドのコード */
2431
- code: string;
2432
- /** 入力必須かどうか */
2433
- required: boolean;
2434
- /** フィールドの型 */
2435
- fieldType: CreateGeneralMasterBodyFieldsItemFieldType;
2436
- /** 選択肢。fieldTypeがcheckboxまたはpull_downのとき必須。 */
2437
- options?: CreateGeneralMasterBodyFieldsItemOptions;
2438
- /** 管理者以外も閲覧可能な場合true */
2439
- visible?: boolean;
2440
- };
2441
- export type CreateGeneralMasterBody = {
2442
- /** 名前 */
2443
- name: string;
2444
- /** コード。未指定の場合、ランダムな英数字が自動的に設定されます。 */
2445
- code?: CreateGeneralMasterBodyCode;
2446
- /** 説明 */
2447
- description?: CreateGeneralMasterBodyDescription;
2448
- /** カスタムフィールドの配列 */
2449
- fields?: CreateGeneralMasterBodyFieldsItem[];
2450
- };
2451
- /**
2452
- * フィールドの説明
2453
- */
2454
- export type UpdateGeneralMasterBodyFieldsItemDescription = string | null;
2455
- /**
2456
- * 選択肢。fieldTypeがcheckboxまたはpull_downのときのみ必須。
2457
- */
2458
- export type UpdateGeneralMasterBodyFieldsItemOptions = string[] | null;
2459
- export type UpdateGeneralMasterBodyFieldsItem = {
2460
- /** フィールド名 */
2461
- title?: string;
2462
- /** フィールドの説明 */
2463
- description?: UpdateGeneralMasterBodyFieldsItemDescription;
2464
- /** フィールドのコード */
2465
- code: string;
2466
- /** 入力必須かどうか */
2467
- required?: boolean;
2468
- /** フィールドの型 */
2469
- fieldType?: string;
2470
- /** 選択肢。fieldTypeがcheckboxまたはpull_downのときのみ必須。 */
2471
- options?: UpdateGeneralMasterBodyFieldsItemOptions;
2472
- /** 管理者以外も閲覧可能な場合true */
2473
- visible?: boolean;
2474
- };
2475
- export type UpdateGeneralMasterBody = {
2476
- /** コード。未指定の場合、ランダムな英数字が自動的に設定されます。 */
2477
- code?: string;
2478
- /** 名前 */
2479
- name?: string;
2480
- /** 説明 */
2481
- description?: string;
2482
- /** カスタムフィールドの配列 */
2483
- fields?: UpdateGeneralMasterBodyFieldsItem[];
2484
- };
2485
- export type ListGeneralMasterItemsParams = {
2486
- /**
2487
- * ページ
2488
- * @minimum 1
2489
- */
2490
- page?: number;
2491
- /**
2492
- * 1ページあたりの件数
2493
- * @minimum 1
2494
- * @maximum 100
2495
- */
2496
- perPage?: number;
2497
- /**
2498
- * ソート対象のフィールドと順序。指定可能なフィールド: createdAt, code, name
2499
- * @pattern ^(createdAt|code|name)(-asc|-desc)?$
2500
- */
2501
- sortBy?: string;
2502
- };
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
- export type CreateGeneralMasterItemBodyInputsItem = {
2517
- /** フィールドのコード */
2518
- code: string;
2519
- /** 入力値。カスタムフィールドがcheckboxの場合は文字列の配列、それ以外は文字列。 */
2520
- value: CreateGeneralMasterItemBodyInputsItemValue;
2521
- };
2522
- export type CreateGeneralMasterItemBody = {
2523
- /** コード。未指定の場合、ランダムな英数字が自動的に設定されます。 */
2524
- code?: string;
2525
- /** 名前 */
2526
- name: string;
2527
- /** 説明 */
2528
- description?: string;
2529
- /** 有効期限の開始日 */
2530
- startsOn?: CreateGeneralMasterItemBodyStartsOn;
2531
- /** 有効期限の終了日 */
2532
- endsOn?: CreateGeneralMasterItemBodyEndsOn;
2533
- /** カスタムフィールドの入力。必須ではないカスタムフィールドを含む、すべてのカスタムフィールドに対して入力する必要があります。 */
2534
- inputs: CreateGeneralMasterItemBodyInputsItem[];
2535
- };
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
- export type UpdateGeneralMasterItemBodyInputsItem = {
2550
- /** フィールドのコード */
2551
- code: string;
2552
- /** 入力値。カスタムフィールドがcheckboxの場合文字列の配列、それ以外の場合文字列。 */
2553
- value: UpdateGeneralMasterItemBodyInputsItemValue;
2554
- };
2555
- export type UpdateGeneralMasterItemBody = {
2556
- /** コード。未指定の場合、ランダムな英数字が自動的に設定されます。 */
2557
- code?: string;
2558
- /** 名前 */
2559
- name?: string;
2560
- /** 説明 */
2561
- description?: string;
2562
- /** 有効期限の開始日 */
2563
- startsOn?: UpdateGeneralMasterItemBodyStartsOn;
2564
- /** 有効期限の終了日 */
2565
- endsOn?: UpdateGeneralMasterItemBodyEndsOn;
2566
- /** カスタムフィールドの入力。必須ではないカスタムフィールドを含む、すべてのカスタムフィールドに対して入力する必要があります。 */
2567
- inputs?: UpdateGeneralMasterItemBodyInputsItem[];
2568
- };
2569
- export type ListGradesParams = {
2570
- /**
2571
- * ページ
2572
- * @minimum 1
2573
- */
2574
- page?: number;
2575
- /**
2576
- * 1ページあたりの件数
2577
- * @minimum 1
2578
- * @maximum 100
2579
- */
2580
- perPage?: number;
2581
- /**
2582
- * ソート対象のフィールドと順序。指定可能なフィールド: level, code
2583
- * @pattern ^(level|code)(-asc|-desc)?$
2584
- */
2585
- sortBy?: string;
2586
- };
2587
- export type ListOrganizationChartsParams = {
2588
- /**
2589
- * ページ
2590
- * @minimum 1
2591
- */
2592
- page?: number;
2593
- /**
2594
- * 1ページあたりの件数
2595
- * @minimum 1
2596
- * @maximum 100
2597
- */
2598
- perPage?: number;
2599
- /**
2600
- * ソート対象のフィールドと順序。指定可能なフィールド: createdAt, name
2601
- * @pattern ^(createdAt|name)(-asc|-desc)?$
2602
- */
2603
- sortBy?: string;
2604
- };
2605
- export type ActivateOrganizationChartBody = {
2606
- /** 有効化する日付。nullの場合、即時で有効化します。 */
2607
- dueOn?: string;
2608
- };
2609
- export type ListTeamsParams = {
2610
- /**
2611
- * 親チームのUUID
2612
- */
2613
- parentId?: string;
2614
- /**
2615
- * ページ
2616
- * @minimum 1
2617
- */
2618
- page?: number;
2619
- /**
2620
- * 1ページあたりの件数
2621
- * @minimum 1
2622
- * @maximum 100
2623
- */
2624
- perPage?: number;
2625
- };
2626
- export type ListTeamMembersParams = {
2627
- /**
2628
- * ページ。1が先頭のページ。
2629
- * @minimum 1
2630
- */
2631
- page?: number;
2632
- /**
2633
- * 1ページあたりの件数
2634
- * @minimum 1
2635
- * @maximum 100
2636
- */
2637
- perPage?: number;
2638
- };
2639
- export type CreateTeamMembersBodyUsersItem = {
2640
- /** ユーザーのUUID */
2641
- id: string;
2642
- /** 上長の場合、true */
2643
- leader: boolean;
2644
- /**
2645
- * 役職のUUID
2646
- * @minItems 1
2647
- */
2648
- gradeIds?: string[];
2649
- };
2650
- export type CreateTeamMembersBody = {
2651
- /**
2652
- * メンバーに追加したいユーザー情報の配列
2653
- * @minItems 1
2654
- * @maxItems 10
2655
- */
2656
- users: CreateTeamMembersBodyUsersItem[];
2657
- };
2658
- export type DeleteTeamMembersBody = {
2659
- /**
2660
- * ユーザーのUUIDの配列
2661
- * @minItems 1
2662
- * @maxItems 10
2663
- */
2664
- userIds: string[];
2665
- };
2666
- export type UpdateTeamMemberBody = {
2667
- /** 上長の場合、true */
2668
- leader: boolean;
2669
- /**
2670
- * 役職のUUID
2671
- * @minItems 1
2672
- */
2673
- gradeIds: string[];
2674
- };
2675
- export type ListRolesParams = {
2676
- /**
2677
- * ページ
2678
- * @minimum 1
2679
- */
2680
- page?: number;
2681
- /**
2682
- * 1ページあたりの件数
2683
- * @minimum 1
2684
- * @maximum 100
2685
- */
2686
- perPage?: number;
2687
- /**
2688
- * ソート対象のフィールドと順序。指定可能なフィールド: createdAt, name
2689
- * @pattern ^(createdAt|name)(-asc|-desc)?$
2690
- */
2691
- sortBy?: string;
2692
- };
2693
- export type CreateRoleMembersBody = {
2694
- /**
2695
- * ユーザーUUIDの配列
2696
- * @minItems 1
2697
- * @maxItems 10
2698
- */
2699
- userIds: string[];
2700
- };
2701
- export type ListRoleMembersParams = {
2702
- /**
2703
- * ページ
2704
- * @minimum 1
2705
- */
2706
- page?: number;
2707
- /**
2708
- * 1ページあたりの件数
2709
- * @minimum 1
2710
- * @maximum 100
2711
- */
2712
- perPage?: number;
2713
- };
2714
- export type ListTicketsParams = {
2715
- /**
2716
- * ページ
2717
- * @minimum 1
2718
- */
2719
- page?: number;
2720
- /**
2721
- * 1ページあたりの件数
2722
- * @minimum 1
2723
- * @maximum 100
2724
- */
2725
- perPage?: number;
2726
- /**
2727
- * ソート対象のフィールドと順序。指定可能なフィールド: createdAt, updatedAt
2728
- * @pattern ^(createdAt|updatedAt)(-asc|-desc)?$
2729
- */
2730
- sortBy?: string;
2731
- /**
2732
- * ステータスの配列
2733
- */
2734
- status?: 'draft' | 'in_progress' | 'rejected' | 'completed' | 'denied' | 'archived' | ListTicketsStatusOneOfItem[];
2735
- /**
2736
- * サブステータスのUUIDの配列
2737
- */
2738
- subStatusIds?: string[];
2739
- /**
2740
- * ワークフローのUUID
2741
- */
2742
- workflowId?: string;
2743
- /**
2744
- * 申請者のUUID
2745
- */
2746
- authorId?: string;
2747
- /**
2748
- * 申請時に選択したチームの上位組織を含む名前
2749
- */
2750
- authorTeamFullName?: string;
2751
- /**
2752
- * チケット番号
2753
- */
2754
- ticketNumber?: string;
2755
- /**
2756
- * 作成日時の起点
2757
- */
2758
- createdAtStart?: string;
2759
- /**
2760
- * 作成日時の終点
2761
- */
2762
- createdAtEnd?: string;
2763
- /**
2764
- * 更新日時の起点
2765
- */
2766
- updatedAtStart?: string;
2767
- /**
2768
- * 更新日時の終点
2769
- */
2770
- updatedAtEnd?: string;
2771
- /**
2772
- * 申請日時の起点
2773
- */
2774
- openedAtStart?: string;
2775
- /**
2776
- * 申請日時の終点
2777
- */
2778
- openedAtEnd?: string;
2779
- /**
2780
- * 完了日時の起点
2781
- */
2782
- completedAtStart?: string;
2783
- /**
2784
- * 完了日時の終点
2785
- */
2786
- completedAtEnd?: string;
2787
- /**
2788
- * アーカイブ日時の起点
2789
- */
2790
- archivedAtStart?: string;
2791
- /**
2792
- * アーカイブ日時の終点
2793
- */
2794
- archivedAtEnd?: string;
2795
- /**
2796
- * 承認者のUUID。assigneeStatusとセットで指定してください。
2797
- */
2798
- assigneeUserId?: string;
2799
- /**
2800
- * 承認者の状態。assigneeUserIdとセットで指定してください。
2801
- */
2802
- assigneeStatus?: ListTicketsAssigneeStatusItem[];
2803
- /**
2804
- * 現在の承認ステップ名
2805
- */
2806
- stepTitle?: string;
2807
- };
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
- export type ListTicketsAssigneeStatusItem = (typeof ListTicketsAssigneeStatusItem)[keyof typeof ListTicketsAssigneeStatusItem];
2818
- export declare const ListTicketsAssigneeStatusItem: {
2819
- readonly all: "all";
2820
- readonly current: "current";
2821
- readonly approved: "approved";
2822
- };
2823
- /**
2824
- * ステータス。作成ではdraftまたはin_progressのみ選択可能です。
2825
- */
2826
- export type CreateTicketBodyStatus = (typeof CreateTicketBodyStatus)[keyof typeof CreateTicketBodyStatus];
2827
- export declare const CreateTicketBodyStatus: {
2828
- readonly draft: "draft";
2829
- readonly in_progress: "in_progress";
2830
- };
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
- /**
2882
- * 明細アイテム入力
2883
- */
2884
- export type CreateTicketBodySlipItemsItemInputsItem = {
2885
- /** 明細フィールドのUUID。slipFieldIdまたはslipFieldCodeは片方のみ必須です。 */
2886
- slipFieldId?: CreateTicketBodySlipItemsItemInputsItemSlipFieldId;
2887
- /** 明細フィールドのコード。slipFieldIdまたはslipFieldCodeは片方のみ必須です。 */
2888
- slipFieldCode?: CreateTicketBodySlipItemsItemInputsItemSlipFieldCode;
2889
- /** 入力値。フィールドがチェックボックスタイプのときは配列で指定してください。 */
2890
- value?: CreateTicketBodySlipItemsItemInputsItemValue;
2891
- /** 汎用マスタアイテムのUUID。フィールドが汎用マスタタイプのときのみ指定してください。 */
2892
- generalMasterItemId?: CreateTicketBodySlipItemsItemInputsItemGeneralMasterItemId;
2893
- /** ユーザーUUID。フィールドがユーザータイプのときのみ指定してください。 */
2894
- userId?: CreateTicketBodySlipItemsItemInputsItemUserId;
2895
- /** チームUUID。フィールドがチームタイプのときのみ指定してください。 */
2896
- teamId?: CreateTicketBodySlipItemsItemInputsItemTeamId;
2897
- /** チケットUUID。フィールドがチケットタイプのときのみ指定してください。 */
2898
- ticketId?: CreateTicketBodySlipItemsItemInputsItemTicketId;
2899
- /** 添付ファイルの署名済みID。
2900
- フィールドがファイルタイプのときのみ指定してください。 */
2901
- files?: CreateTicketBodySlipItemsItemInputsItemFiles;
2902
- };
2903
- /**
2904
- * 明細アイテム
2905
- */
2906
- export type CreateTicketBodySlipItemsItem = {
2907
- /** 明細セクションのUUID。 */
2908
- slipSectionId?: CreateTicketBodySlipItemsItemSlipSectionId;
2909
- /** 明細アイテム入力の配列 */
2910
- inputs: CreateTicketBodySlipItemsItemInputsItem[];
2911
- };
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
- /**
2951
- * フォームの入力
2952
- */
2953
- export type CreateTicketBodyInputsItem = {
2954
- /** フォームフィールドのUUID。formFieldIdまたはformFieldCodeは片方のみ必須です。 */
2955
- formFieldId?: CreateTicketBodyInputsItemFormFieldId;
2956
- /** フォームフィールドのコード。formFieldIdまたはformFieldCodeは片方のみ必須です。 */
2957
- formFieldCode?: CreateTicketBodyInputsItemFormFieldCode;
2958
- /** 入力値。フィールドがチェックボックスタイプのときは配列で指定してください。 */
2959
- value?: CreateTicketBodyInputsItemValue;
2960
- /** 汎用マスタアイテムのUUID。フィールドが汎用マスタタイプのときのみ指定してください。 */
2961
- generalMasterItemId?: CreateTicketBodyInputsItemGeneralMasterItemId;
2962
- /** ユーザーUUID。フィールドがユーザータイプのときのみ指定してください。 */
2963
- userId?: CreateTicketBodyInputsItemUserId;
2964
- /** チームUUID。フィールドがチームタイプのときのみ指定してください。 */
2965
- teamId?: CreateTicketBodyInputsItemTeamId;
2966
- /** チケットUUID。フィールドがチケットタイプのときのみ指定してください。 */
2967
- ticketId?: CreateTicketBodyInputsItemTicketId;
2968
- /** 添付ファイルの署名済みID。
2969
- フィールドがファイルタイプのときのみ指定してください。 */
2970
- files?: CreateTicketBodyInputsItemFiles;
2971
- };
2972
- /**
2973
- * クラウドサイン書類。ワークフローでクラウドサイン連携が有効な場合のみ指定してください。
2974
- */
2975
- export type CreateTicketBodyCloudSignDocument = {
2976
- /** クラウドサイン書類のID */
2977
- id: string;
2978
- /** クラウドサイン書類のタイトル */
2979
- title: string;
2980
- /** クラウドサインのサンドボックス環境の場合true */
2981
- sandbox: string;
2982
- };
2983
- export type CreateTicketBodyApproversAnyOfItem = {
2984
- /** 承認者を指定する経路ステップのコード */
2985
- routeStepCode: string;
2986
- /** 承認者として指定するユーザーのUUID */
2987
- userId: string[];
2988
- };
2989
- /**
2990
- * 承認タイプが「申請者が指名」の経路ステップの承認者を指定する配列。
2991
- */
2992
- export type CreateTicketBodyApprovers = CreateTicketBodyApproversAnyOfItem[] | null;
2993
- export type CreateTicketBody = {
2994
- /** ステータス。作成ではdraftまたはin_progressのみ選択可能です。 */
2995
- status: CreateTicketBodyStatus;
2996
- /** ワークフローのUUID */
2997
- workflowId: string;
2998
- /** 申請チームのUUID */
2999
- authorTeamId: string;
3000
- /** 依頼者となるユーザーのUUID。代理申請の場合のみ指定してください。 */
3001
- proxyClientUserId?: CreateTicketBodyProxyClientUserId;
3002
- /** チケットのタイトル。ワークフローでtitleInputModeがinputのときのみ設定可能です。 */
3003
- title?: CreateTicketBodyTitle;
3004
- /** 明細アイテムの配列。明細ワークフローの場合、このフィールドは必須です。 */
3005
- slipItems?: CreateTicketBodySlipItemsItem[];
3006
- /** フォームの入力の配列。ワークフローのすべてのフォームフィールドに対応する入力を入れてください。 */
3007
- inputs: CreateTicketBodyInputsItem[];
3008
- /** クラウドサイン書類。ワークフローでクラウドサイン連携が有効な場合のみ指定してください。 */
3009
- cloudSignDocument?: CreateTicketBodyCloudSignDocument;
3010
- /** 承認タイプが「申請者が指名」の経路ステップの承認者を指定する配列。 */
3011
- approvers?: CreateTicketBodyApprovers;
3012
- };
3013
- export type ListTasksParams = {
3014
- /**
3015
- * ページ
3016
- * @minimum 1
3017
- */
3018
- page?: number;
3019
- /**
3020
- * 1ページあたりの件数
3021
- * @minimum 1
3022
- * @maximum 100
3023
- */
3024
- perPage?: number;
3025
- /**
3026
- * ソート対象のフィールドと順序。指定可能なフィールド: createdAt, updatedAt, openedAt, assignedToMeAt
3027
- * @pattern ^(createdAt|updatedAt|openedAt|assignedToMeAt)(-asc|-desc)?$
3028
- */
3029
- sortBy?: string;
3030
- /**
3031
- * ステータスの配列
3032
- */
3033
- status?: ListTasksStatusItem[];
3034
- /**
3035
- * サブステータスのUUIDの配列
3036
- */
3037
- subStatusIds?: string[];
3038
- /**
3039
- * ワークフローのUUID
3040
- */
3041
- workflowId?: string;
3042
- /**
3043
- * 申請者のUUID
3044
- */
3045
- authorId?: string;
3046
- /**
3047
- * 申請時に選択したチームの上位組織を含む名前
3048
- */
3049
- authorTeamFullName?: string;
3050
- /**
3051
- * チケット番号
3052
- */
3053
- ticketNumber?: string;
3054
- /**
3055
- * 作成日時の起点
3056
- */
3057
- createdAtStart?: string;
3058
- /**
3059
- * 作成日時の終点
3060
- */
3061
- createdAtEnd?: string;
3062
- /**
3063
- * 更新日時の起点
3064
- */
3065
- updatedAtStart?: string;
3066
- /**
3067
- * 更新日時の終点
3068
- */
3069
- updatedAtEnd?: string;
3070
- /**
3071
- * 申請日時の起点
3072
- */
3073
- openedAtStart?: string;
3074
- /**
3075
- * 申請日時の終点
3076
- */
3077
- openedAtEnd?: string;
3078
- /**
3079
- * 承認依頼日時の起点
3080
- */
3081
- assignedToMeAtStart?: string;
3082
- /**
3083
- * 承認依頼日時の終点
3084
- */
3085
- assignedToMeAtEnd?: string;
3086
- /**
3087
- * 完了日時の起点
3088
- */
3089
- completedAtStart?: string;
3090
- /**
3091
- * 完了日時の終点
3092
- */
3093
- completedAtEnd?: string;
3094
- /**
3095
- * アーカイブ日時の起点
3096
- */
3097
- archivedAtStart?: string;
3098
- /**
3099
- * アーカイブ日時の終点
3100
- */
3101
- archivedAtEnd?: string;
3102
- /**
3103
- * 現在の承認ステップ名
3104
- */
3105
- stepTitle?: string;
3106
- /**
3107
- * 承認の保留状態でチケットを絞り込みます。
3108
- - true: 保留中のチケットのみを取得
3109
- - false: 保留されていないチケットのみを取得
3110
- */
3111
- pending?: ListTasksPending;
3112
- };
3113
- export type ListTasksStatusItem = (typeof ListTasksStatusItem)[keyof typeof ListTasksStatusItem];
3114
- export declare const ListTasksStatusItem: {
3115
- readonly draft: "draft";
3116
- readonly in_progress: "in_progress";
3117
- readonly rejected: "rejected";
3118
- readonly completed: "completed";
3119
- readonly deleted: "deleted";
3120
- };
3121
- export type ListTasksPending = (typeof ListTasksPending)[keyof typeof ListTasksPending];
3122
- export declare const ListTasksPending: {
3123
- readonly true: "true";
3124
- readonly false: "false";
3125
- };
3126
- /**
3127
- * ステータス。更新ではdraft, in_progress, rejectedのみ選択可能です。
3128
- */
3129
- export type UpdateTicketBodyStatus = (typeof UpdateTicketBodyStatus)[keyof typeof UpdateTicketBodyStatus];
3130
- export declare const UpdateTicketBodyStatus: {
3131
- readonly draft: "draft";
3132
- readonly in_progress: "in_progress";
3133
- readonly rejected: "rejected";
3134
- };
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
- /**
3174
- * 明細アイテム入力
3175
- */
3176
- export type UpdateTicketBodySlipItemsItemInputsItem = {
3177
- /** 明細フィールドのUUID。slipFieldIdまたはslipFieldCodeは片方のみ必須です。 */
3178
- slipFieldId?: UpdateTicketBodySlipItemsItemInputsItemSlipFieldId;
3179
- /** 明細フィールドのコード。slipFieldIdまたはslipFieldCodeは片方のみ必須です。 */
3180
- slipFieldCode?: UpdateTicketBodySlipItemsItemInputsItemSlipFieldCode;
3181
- /** 入力値。フィールドがチェックボックスタイプのときは配列で指定してください。 */
3182
- value?: UpdateTicketBodySlipItemsItemInputsItemValue;
3183
- /** 汎用マスタアイテムのUUID。フィールドが汎用マスタタイプのときのみ指定してください。 */
3184
- generalMasterItemId?: UpdateTicketBodySlipItemsItemInputsItemGeneralMasterItemId;
3185
- /** ユーザーUUID。フィールドがユーザータイプのときのみ指定してください。 */
3186
- userId?: UpdateTicketBodySlipItemsItemInputsItemUserId;
3187
- /** チームUUID。フィールドがチームタイプのときのみ指定してください。 */
3188
- teamId?: UpdateTicketBodySlipItemsItemInputsItemTeamId;
3189
- /** チケットUUID。フィールドがチケットタイプのときのみ指定してください。 */
3190
- ticketId?: UpdateTicketBodySlipItemsItemInputsItemTicketId;
3191
- /** 添付ファイルの署名済みID。
3192
- フィールドがファイルタイプのときのみ指定してください。 */
3193
- files?: UpdateTicketBodySlipItemsItemInputsItemFiles;
3194
- };
3195
- /**
3196
- * 明細アイテム
3197
- */
3198
- export type UpdateTicketBodySlipItemsItem = {
3199
- /** 明細アイテム入力の配列 */
3200
- inputs: UpdateTicketBodySlipItemsItemInputsItem[];
3201
- };
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
- /**
3241
- * フォームの入力
3242
- */
3243
- export type UpdateTicketBodyInputsItem = {
3244
- /** フォームフィールドのUUID。formFieldIdまたはformFieldCodeは片方のみ必須です。 */
3245
- formFieldId?: UpdateTicketBodyInputsItemFormFieldId;
3246
- /** フォームフィールドのコード。formFieldIdまたはformFieldCodeは片方のみ必須です。 */
3247
- formFieldCode?: UpdateTicketBodyInputsItemFormFieldCode;
3248
- /** 入力値。フィールドがチェックボックスタイプのときは配列で指定してください。 */
3249
- value?: UpdateTicketBodyInputsItemValue;
3250
- /** 汎用マスタアイテムのUUID。フィールドが汎用マスタタイプのときのみ指定してください。 */
3251
- generalMasterItemId?: UpdateTicketBodyInputsItemGeneralMasterItemId;
3252
- /** ユーザーUUID。フィールドがユーザータイプのときのみ指定してください。 */
3253
- userId?: UpdateTicketBodyInputsItemUserId;
3254
- /** チームUUID。フィールドがチームタイプのときのみ指定してください。 */
3255
- teamId?: UpdateTicketBodyInputsItemTeamId;
3256
- /** チケットUUID。フィールドがチケットタイプのときのみ指定してください。 */
3257
- ticketId?: UpdateTicketBodyInputsItemTicketId;
3258
- /** 添付ファイルの署名済みID。
3259
- フィールドがファイルタイプのときのみ指定してください。 */
3260
- files?: UpdateTicketBodyInputsItemFiles;
3261
- };
3262
- /**
3263
- * クラウドサイン書類。ワークフローでクラウドサイン連携が有効な場合のみ指定してください。
3264
- */
3265
- export type UpdateTicketBodyCloudSignDocument = {
3266
- /** クラウドサイン書類のID */
3267
- id: string;
3268
- /** クラウドサイン書類のタイトル */
3269
- title: string;
3270
- /** クラウドサインのサンドボックス環境の場合true */
3271
- sandbox: boolean;
3272
- };
3273
- export type UpdateTicketBodyApproversAnyOfItem = {
3274
- /** 承認者を指定する経路ステップのコード */
3275
- routeStepCode: string;
3276
- /** 承認者として指定するユーザーのUUID */
3277
- userId: string[];
3278
- };
3279
- /**
3280
- * 承認タイプが「申請者が指名」の経路ステップの承認者を指定する配列。
3281
- */
3282
- export type UpdateTicketBodyApprovers = UpdateTicketBodyApproversAnyOfItem[] | null;
3283
- export type UpdateTicketBody = {
3284
- /** ステータス。更新ではdraft, in_progress, rejectedのみ選択可能です。 */
3285
- status?: UpdateTicketBodyStatus;
3286
- /** 申請チームのUUID */
3287
- authorTeamId?: string;
3288
- /** 依頼者となるユーザーのUUID。代理申請の場合のみ指定してください。 */
3289
- proxyClientUserId?: string;
3290
- /** チケットのタイトル。ワークフローでallow_titleがtrueのときのみ設定可能です。 */
3291
- title?: string;
3292
- /** 明細アイテムの配列 */
3293
- slipItems?: UpdateTicketBodySlipItemsItem[];
3294
- /** フォームの入力の配列。
3295
- 注意:申請者による更新時は、ワークフローのすべてのフォームフィールドに対応する入力を入れてください。
3296
- 注意:承認者による更新時は、承認者用フィールドに対応する入力のみ入れてください。
3297
- 注意:明細ワークフローの場合、slipItemsも同時にリクエストボディに入れてください。 */
3298
- inputs?: UpdateTicketBodyInputsItem[];
3299
- /** クラウドサイン書類。ワークフローでクラウドサイン連携が有効な場合のみ指定してください。 */
3300
- cloudSignDocument?: UpdateTicketBodyCloudSignDocument;
3301
- /** 承認タイプが「申請者が指名」の経路ステップの承認者を指定する配列。 */
3302
- approvers?: UpdateTicketBodyApprovers;
3303
- };
3304
- export type RejectTicketBody = {
3305
- /** 差し戻し先のステップ番号(0が起票者、1が最初の承認ステップ) */
3306
- to: number;
3307
- };
3308
- export type DenyTicketBody = {
3309
- [key: string]: unknown;
3310
- };
3311
- export type ListTicketLinksParams = {
3312
- /**
3313
- * ページ
3314
- * @minimum 1
3315
- */
3316
- page?: number;
3317
- /**
3318
- * 1ページあたりの件数
3319
- * @minimum 1
3320
- * @maximum 100
3321
- */
3322
- perPage?: number;
3323
- };
3324
- export type ListViewersParams = {
3325
- /**
3326
- * ページ
3327
- * @minimum 1
3328
- */
3329
- page?: number;
3330
- /**
3331
- * 1ページあたりの件数
3332
- * @minimum 1
3333
- * @maximum 100
3334
- */
3335
- perPage?: number;
3336
- /**
3337
- * ソート対象のフィールドと順序。指定可能なフィールド: createdAt
3338
- * @pattern ^(createdAt)(-asc|-desc)?$
3339
- */
3340
- sortBy?: string;
3341
- };
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
- export type CreateViewerBody = {
3359
- /** ユーザーのUUID。userIdとteamIdは片方のみ必須です。 */
3360
- userId?: CreateViewerBodyUserId;
3361
- /** チームのUUID。userIdとteamIdは片方のみ必須です。 */
3362
- teamId?: CreateViewerBodyTeamId;
3363
- /** 役職のUUID。teamId指定時のみ、任意で指定できます。 */
3364
- gradeId?: CreateViewerBodyGradeId;
3365
- /** 下位のチームを含めるかどうかをteamId指定時のみ指定できます。未指定時はfalse扱いです。 */
3366
- descendants?: CreateViewerBodyDescendants;
3367
- };
3368
- export type ListCommentsParams = {
3369
- /**
3370
- * ページ
3371
- * @minimum 1
3372
- */
3373
- page?: number;
3374
- /**
3375
- * 1ページあたりの件数
3376
- * @minimum 1
3377
- * @maximum 100
3378
- */
3379
- perPage?: number;
3380
- /**
3381
- * ソート対象のフィールドと順序。指定可能なフィールド: createdAt
3382
- * @pattern ^(createdAt)(-asc|-desc)?$
3383
- */
3384
- sortBy?: string;
3385
- };
3386
- /**
3387
- * 添付ファイルの署名済みID
3388
- */
3389
- export type CreateCommentBodyFiles = string[] | null;
3390
- export type CreateCommentBody = {
3391
- /** 本文 */
3392
- body: string;
3393
- /** 添付ファイルの署名済みID */
3394
- files?: CreateCommentBodyFiles;
3395
- };
3396
- export type UpdateCommentBody = {
3397
- /** 本文 */
3398
- body: string;
3399
- };
3400
- export type ListUsersParams = {
3401
- /**
3402
- * ページ
3403
- * @minimum 1
3404
- */
3405
- page?: number;
3406
- /**
3407
- * 1ページあたりの件数
3408
- * @minimum 1
3409
- * @maximum 100
3410
- */
3411
- perPage?: number;
3412
- /**
3413
- * ステータスによる絞り込み
3414
- */
3415
- status?: ListUsersStatusItem[];
3416
- /**
3417
- * ソート対象のフィールドと順序。指定可能なフィールド: email, code
3418
- * @pattern ^(email|code)(-asc|-desc)?$
3419
- */
3420
- sortBy?: string;
3421
- };
3422
- export type ListUsersStatusItem = (typeof ListUsersStatusItem)[keyof typeof ListUsersStatusItem];
3423
- export declare const ListUsersStatusItem: {
3424
- readonly invited: "invited";
3425
- readonly activated: "activated";
3426
- readonly suspended: "suspended";
3427
- readonly deactivated: "deactivated";
3428
- };
3429
- /**
3430
- * 社員番号
3431
- * @maxLength 30
3432
- */
3433
- export type CreateUserBodyEmployeeId = string | null;
3434
- export type CreateUserBody = {
3435
- /** メールアドレス */
3436
- email: string;
3437
- /**
3438
- * コード。未指定の場合、ランダムな英数字が自動的に設定されます。
3439
- * @maxLength 100
3440
- */
3441
- code: string;
3442
- /**
3443
- * 名
3444
- * @maxLength 255
3445
- */
3446
- firstName: string;
3447
- /**
3448
- * 姓
3449
- * @maxLength 255
3450
- */
3451
- lastName: string;
3452
- /** 招待メールを送信する場合true(デフォルト)、送信しない場合false */
3453
- sendEmail?: boolean;
3454
- /**
3455
- * 社員番号
3456
- * @maxLength 30
3457
- */
3458
- employeeId?: CreateUserBodyEmployeeId;
3459
- };
3460
- /**
3461
- * 社員番号
3462
- * @maxLength 30
3463
- */
3464
- export type UpdateUserBodyEmployeeId = string | null;
3465
- export type UpdateUserBody = {
3466
- /**
3467
- * メールアドレス
3468
- * @maxLength 254
3469
- */
3470
- email?: string;
3471
- /**
3472
- * コード
3473
- * @maxLength 100
3474
- */
3475
- code?: string;
3476
- /**
3477
- * 名
3478
- * @maxLength 255
3479
- */
3480
- firstName?: string;
3481
- /**
3482
- * 姓
3483
- * @maxLength 255
3484
- */
3485
- lastName?: string;
3486
- /**
3487
- * 社員番号
3488
- * @maxLength 30
3489
- */
3490
- employeeId?: UpdateUserBodyEmployeeId;
3491
- };
3492
- export type LookupUserByEmailParams = {
3493
- /**
3494
- * メールアドレス(URLエンコードを行ったもの)
3495
- */
3496
- email: string;
3497
- };
3498
- export type ListUserTeamsParams = {
3499
- /**
3500
- * ページ
3501
- * @minimum 1
3502
- */
3503
- page?: number;
3504
- /**
3505
- * 1ページあたりの件数
3506
- * @minimum 1
3507
- * @maximum 100
3508
- */
3509
- perPage?: number;
3510
- /**
3511
- * trueの場合、申請可能なチームのみ返す。デフォルトはfalse(すべてのチームを返す)
3512
- */
3513
- submittable?: boolean;
3514
- };
3515
- export type ListUserRolesParams = {
3516
- /**
3517
- * ページ
3518
- * @minimum 1
3519
- */
3520
- page?: number;
3521
- /**
3522
- * 1ページあたりの件数
3523
- * @minimum 1
3524
- * @maximum 100
3525
- */
3526
- perPage?: number;
3527
- };
3528
- export type ListRoutesParams = {
3529
- /**
3530
- * ページ。1が最初のページ。
3531
- * @minimum 1
3532
- */
3533
- page?: number;
3534
- /**
3535
- * 1ページあたりの件数
3536
- * @minimum 1
3537
- * @maximum 100
3538
- */
3539
- perPage?: number;
3540
- /**
3541
- * ソート対象のフィールドと順序。指定可能なフィールド: createdAt, folderId
3542
- * @pattern ^(createdAt|folderId)(-asc|-desc)?$
3543
- */
3544
- sortBy?: string;
3545
- /**
3546
- * ステータス
3547
- */
3548
- status?: ListRoutesStatusItem[];
3549
- /**
3550
- * フォルダのUUID
3551
- */
3552
- folderId?: string;
3553
- };
3554
- export type ListRoutesStatusItem = (typeof ListRoutesStatusItem)[keyof typeof ListRoutesStatusItem];
3555
- export declare const ListRoutesStatusItem: {
3556
- readonly visible: "visible";
3557
- readonly error: "error";
3558
- };
3559
- export type ListWorkflowsParams = {
3560
- /**
3561
- * ページ。1が最初のページ。
3562
- * @minimum 1
3563
- */
3564
- page?: number;
3565
- /**
3566
- * 1ページあたりの件数
3567
- * @minimum 1
3568
- * @maximum 100
3569
- */
3570
- perPage?: number;
3571
- /**
3572
- * ソート対象のフィールドと順序。指定可能なフィールド: createdAt, updatedAt, name, status
3573
- * @pattern ^(createdAt|updatedAt|name|status)(-asc|-desc)?$
3574
- */
3575
- sortBy?: string;
3576
- /**
3577
- * ステータス
3578
- */
3579
- status?: ListWorkflowsStatusItem[];
3580
- };
3581
- export type ListWorkflowsStatusItem = (typeof ListWorkflowsStatusItem)[keyof typeof ListWorkflowsStatusItem];
3582
- export declare const ListWorkflowsStatusItem: {
3583
- readonly visible: "visible";
3584
- readonly invisible: "invisible";
3585
- };
3586
- export type ListProxyApplicantsParams = {
3587
- /**
3588
- * ページ
3589
- * @minimum 1
3590
- */
3591
- page?: number;
3592
- /**
3593
- * 1ページあたりの件数
3594
- * @minimum 1
3595
- * @maximum 100
3596
- */
3597
- perPage?: number;
3598
- };
3599
- /**
3600
- * 開始日。nullの場合、すでに開始しているものとして扱います。
3601
- */
3602
- export type CreateProxyApplicantBodyStartsOn = string | null;
3603
- /**
3604
- * 終了日。nullの場合、無期限のものとして扱います。
3605
- */
3606
- export type CreateProxyApplicantBodyEndsOn = string | null;
3607
- export type CreateProxyApplicantBody = {
3608
- /** 代理されるユーザーID */
3609
- userId: string;
3610
- /** 代理するユーザーID */
3611
- proxyUserId: string;
3612
- /** 開始日。nullの場合、すでに開始しているものとして扱います。 */
3613
- startsOn?: CreateProxyApplicantBodyStartsOn;
3614
- /** 終了日。nullの場合、無期限のものとして扱います。 */
3615
- endsOn?: CreateProxyApplicantBodyEndsOn;
3616
- /** 対象ワークフローのID */
3617
- workflowIds?: string[];
3618
- };
3619
- export type ListProxyApproversParams = {
3620
- /**
3621
- * ページ
3622
- * @minimum 1
3623
- */
3624
- page?: number;
3625
- /**
3626
- * 1ページあたりの件数
3627
- * @minimum 1
3628
- * @maximum 100
3629
- */
3630
- perPage?: number;
3631
- };
3632
- /**
3633
- * 開始日。nullの場合、すでに始まっているものとして扱います。
3634
- */
3635
- export type CreateProxyApproverBodyStartsOn = string | null;
3636
- /**
3637
- * 終了日。nullの場合、無期限として扱います。
3638
- */
3639
- export type CreateProxyApproverBodyEndsOn = string | null;
3640
- export type CreateProxyApproverBody = {
3641
- /** 代理されるユーザーID */
3642
- userId: string;
3643
- /** 代理するユーザーID */
3644
- proxyUserId: string;
3645
- /** 開始日。nullの場合、すでに始まっているものとして扱います。 */
3646
- startsOn?: CreateProxyApproverBodyStartsOn;
3647
- /** 終了日。nullの場合、無期限として扱います。 */
3648
- endsOn?: CreateProxyApproverBodyEndsOn;
3649
- /** 対象ワークフローのID */
3650
- workflowIds?: string[];
3651
- };
3652
- export type UploadFileBody = {
3653
- /** 添付ファイル */
3654
- file?: Blob;
3655
- };
3656
- export type UploadFile200 = {
3657
- /** 添付ファイルの署名済みID */
3658
- signedId: string;
3659
- };
3660
- export type GetFile200 = {
3661
- /** Amazon S3のURL */
3662
- url: string;
3663
- /** ファイル名 */
3664
- filename: string;
3665
- /** チェックサム */
3666
- checksum: string;
3667
- /** バイト数 */
3668
- byteSize: number;
3669
- /** Content-Type */
3670
- contentType: string;
3671
- /** 作成日時 */
3672
- createdAt: string;
3673
- };
3674
- export type ListAuditLogsParams = {
3675
- /**
3676
- * ページ
3677
- * @minimum 1
3678
- */
3679
- page?: number;
3680
- /**
3681
- * 1ページあたりの件数
3682
- * @minimum 1
3683
- * @maximum 100
3684
- */
3685
- perPage?: number;
3686
- /**
3687
- * ソート対象のフィールドと順序。フィールドは createdAt のみ指定可能。
3688
- * @pattern ^(createdAt)(-asc|-desc)?$
3689
- */
3690
- sortBy?: string;
3691
- /**
3692
- * 作成日時の起点
3693
- */
3694
- createdAtStart?: string;
3695
- /**
3696
- * 作成日時の終点
3697
- */
3698
- createdAtEnd?: string;
3699
- /**
3700
- * ユーザーID
3701
- */
3702
- userId?: string;
3703
- };