@kickflow/mcp-server 0.1.4 → 0.1.6

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 (59) hide show
  1. package/README.md +23 -0
  2. package/dist/index.js +4 -238
  3. package/dist/index.js.map +1 -1
  4. package/dist/kickflow-api/generated/audit-log/audit-log.zod.d.ts +8 -8
  5. package/dist/kickflow-api/generated/audit-log/audit-log.zod.js +5 -5
  6. package/dist/kickflow-api/generated/audit-log/audit-log.zod.js.map +1 -1
  7. package/dist/kickflow-api/generated/category/category.zod.d.ts +1 -1
  8. package/dist/kickflow-api/generated/category/category.zod.js +1 -1
  9. package/dist/kickflow-api/generated/comment/comment.zod.d.ts +25 -25
  10. package/dist/kickflow-api/generated/comment/comment.zod.js +25 -25
  11. package/dist/kickflow-api/generated/comment/comment.zod.js.map +1 -1
  12. package/dist/kickflow-api/generated/file/file.zod.d.ts +1 -1
  13. package/dist/kickflow-api/generated/file/file.zod.js +1 -1
  14. package/dist/kickflow-api/generated/folder/folder.zod.d.ts +21 -21
  15. package/dist/kickflow-api/generated/folder/folder.zod.js +22 -22
  16. package/dist/kickflow-api/generated/folder/folder.zod.js.map +1 -1
  17. package/dist/kickflow-api/generated/general-master/general-master.zod.d.ts +33 -33
  18. package/dist/kickflow-api/generated/general-master/general-master.zod.js +37 -37
  19. package/dist/kickflow-api/generated/general-master/general-master.zod.js.map +1 -1
  20. package/dist/kickflow-api/generated/grade/grade.zod.d.ts +11 -11
  21. package/dist/kickflow-api/generated/grade/grade.zod.js +13 -13
  22. package/dist/kickflow-api/generated/grade/grade.zod.js.map +1 -1
  23. package/dist/kickflow-api/generated/kickflowRESTAPIV1.d.ts +1 -1
  24. package/dist/kickflow-api/generated/kickflowRESTAPIV1.js +4 -4
  25. package/dist/kickflow-api/generated/kickflowRESTAPIV1.schemas.d.ts +944 -931
  26. package/dist/kickflow-api/generated/kickflowRESTAPIV1.schemas.js +16 -7
  27. package/dist/kickflow-api/generated/kickflowRESTAPIV1.schemas.js.map +1 -1
  28. package/dist/kickflow-api/generated/organization-chart/organization-chart.zod.d.ts +7 -7
  29. package/dist/kickflow-api/generated/organization-chart/organization-chart.zod.js +7 -7
  30. package/dist/kickflow-api/generated/proxy-applicant/proxy-applicant.zod.d.ts +41 -41
  31. package/dist/kickflow-api/generated/proxy-applicant/proxy-applicant.zod.js +33 -33
  32. package/dist/kickflow-api/generated/proxy-applicant/proxy-applicant.zod.js.map +1 -1
  33. package/dist/kickflow-api/generated/proxy-approver/proxy-approver.zod.d.ts +41 -41
  34. package/dist/kickflow-api/generated/proxy-approver/proxy-approver.zod.js +33 -33
  35. package/dist/kickflow-api/generated/proxy-approver/proxy-approver.zod.js.map +1 -1
  36. package/dist/kickflow-api/generated/role/role.zod.d.ts +38 -32
  37. package/dist/kickflow-api/generated/role/role.zod.js +38 -32
  38. package/dist/kickflow-api/generated/role/role.zod.js.map +1 -1
  39. package/dist/kickflow-api/generated/route/route.zod.d.ts +49 -44
  40. package/dist/kickflow-api/generated/route/route.zod.js +46 -42
  41. package/dist/kickflow-api/generated/route/route.zod.js.map +1 -1
  42. package/dist/kickflow-api/generated/team/team.zod.d.ts +73 -50
  43. package/dist/kickflow-api/generated/team/team.zod.js +71 -49
  44. package/dist/kickflow-api/generated/team/team.zod.js.map +1 -1
  45. package/dist/kickflow-api/generated/ticket/ticket.zod.d.ts +6733 -5603
  46. package/dist/kickflow-api/generated/ticket/ticket.zod.js +5774 -5217
  47. package/dist/kickflow-api/generated/ticket/ticket.zod.js.map +1 -1
  48. package/dist/kickflow-api/generated/user/user.zod.d.ts +42 -39
  49. package/dist/kickflow-api/generated/user/user.zod.js +42 -40
  50. package/dist/kickflow-api/generated/user/user.zod.js.map +1 -1
  51. package/dist/kickflow-api/generated/workflow/workflow.zod.d.ts +136 -115
  52. package/dist/kickflow-api/generated/workflow/workflow.zod.js +118 -107
  53. package/dist/kickflow-api/generated/workflow/workflow.zod.js.map +1 -1
  54. package/dist/kickflow-api/tools/file/upload-file.js +3 -1
  55. package/dist/kickflow-api/tools/file/upload-file.js.map +1 -1
  56. package/dist/server.d.ts +4 -0
  57. package/dist/server.js +240 -0
  58. package/dist/server.js.map +1 -0
  59. package/package.json +10 -5
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Generated by orval v7.8.0 🍺
2
+ * Generated by orval v7.9.0 🍺
3
3
  * Do not edit manually.
4
4
  * kickflow REST API v1
5
5
  * kickflowの開発者用REST API (v1)
@@ -14,6 +14,11 @@ export interface ErrorResponse {
14
14
  /** エラーメッセージ */
15
15
  message: string;
16
16
  }
17
+ /**
18
+ * コード
19
+ * @maxLength 100
20
+ */
21
+ export type GradeCode = string | null;
17
22
  /**
18
23
  * 役職
19
24
  */
@@ -22,7 +27,7 @@ export interface Grade {
22
27
  id: string;
23
28
  /**
24
29
  * 名前
25
- * @maxLength 255
30
+ * @maxLength 300
26
31
  */
27
32
  name: string;
28
33
  /**
@@ -33,10 +38,9 @@ export interface Grade {
33
38
  level: number;
34
39
  /**
35
40
  * コード
36
- * @maxLength 255
37
- * @nullable
41
+ * @maxLength 100
38
42
  */
39
- code: string | null;
43
+ code: GradeCode;
40
44
  /** デフォルトの役職かどうか */
41
45
  isDefault: boolean;
42
46
  /** 作成日時 */
@@ -50,7 +54,7 @@ export interface Grade {
50
54
  export interface GradeCreateBody {
51
55
  /**
52
56
  * 名前
53
- * @maxLength 255
57
+ * @maxLength 300
54
58
  */
55
59
  name: string;
56
60
  /**
@@ -60,8 +64,8 @@ export interface GradeCreateBody {
60
64
  */
61
65
  level: number;
62
66
  /**
63
- * コード。未指定の場合、ランダムな英数字がセットされます。
64
- * @maxLength 255
67
+ * コード。未指定の場合、ランダムな英数字が自動的に設定されます。
68
+ * @maxLength 100
65
69
  */
66
70
  code?: string;
67
71
  }
@@ -80,19 +84,24 @@ export interface GradeUpdateBody {
80
84
  * @maximum 255
81
85
  */
82
86
  level?: number;
83
- /** コード。未指定の場合、ランダムな英数字がセットされます。 */
87
+ /** コード。未指定の場合、ランダムな英数字が自動的に設定されます。 */
84
88
  code?: string;
85
89
  }
90
+ /**
91
+ * 社員番号
92
+ * @maxLength 30
93
+ */
94
+ export type UserEmployeeId = string | null;
95
+ export type UserImage100x100 = string | null;
96
+ export type UserImage64x64 = string | null;
97
+ export type UserImage32x32 = string | null;
86
98
  /**
87
99
  * ユーザー画像のURL。サイズごとに複数のURLを返します。
88
100
  */
89
101
  export type UserImage = {
90
- /** @nullable */
91
- '100x100': string | null;
92
- /** @nullable */
93
- '64x64': string | null;
94
- /** @nullable */
95
- '32x32': string | null;
102
+ '100x100': UserImage100x100;
103
+ '64x64': UserImage64x64;
104
+ '32x32': UserImage32x32;
96
105
  };
97
106
  /**
98
107
  * ステータス
@@ -104,6 +113,10 @@ export declare const UserStatus: {
104
113
  readonly suspended: "suspended";
105
114
  readonly deactivated: "deactivated";
106
115
  };
116
+ /**
117
+ * 削除日時
118
+ */
119
+ export type UserDeactivatedAt = string | null;
107
120
  /**
108
121
  * ユーザー
109
122
  */
@@ -112,12 +125,12 @@ export interface User {
112
125
  id: string;
113
126
  /**
114
127
  * メールアドレス
115
- * @maxLength 255
128
+ * @maxLength 254
116
129
  */
117
130
  email: string;
118
131
  /**
119
132
  * コード
120
- * @maxLength 255
133
+ * @maxLength 100
121
134
  */
122
135
  code: string;
123
136
  /**
@@ -137,10 +150,9 @@ export interface User {
137
150
  fullName: string;
138
151
  /**
139
152
  * 社員番号
140
- * @maxLength 255
141
- * @nullable
153
+ * @maxLength 30
142
154
  */
143
- employeeId?: string | null;
155
+ employeeId?: UserEmployeeId;
144
156
  /** ユーザー画像のURL。サイズごとに複数のURLを返します。 */
145
157
  image: UserImage;
146
158
  /** ステータス */
@@ -151,16 +163,21 @@ export interface User {
151
163
  createdAt: string;
152
164
  /** 更新日時 */
153
165
  updatedAt: string;
154
- /**
155
- * 削除日時
156
- * @nullable
157
- */
158
- deactivatedAt?: string | null;
166
+ /** 削除日時 */
167
+ deactivatedAt?: UserDeactivatedAt;
159
168
  }
160
169
  /**
161
170
  * ユーザー詳細
162
171
  */
163
172
  export type UserDetail = User;
173
+ /**
174
+ * 開始日
175
+ */
176
+ export type ProxyApplicantStartsOn = string | null;
177
+ /**
178
+ * 終了日
179
+ */
180
+ export type ProxyApplicantEndsOn = string | null;
164
181
  /**
165
182
  * 代理申請
166
183
  */
@@ -173,19 +190,21 @@ export interface ProxyApplicant {
173
190
  updatedAt: string;
174
191
  user: User;
175
192
  proxyUser: User;
176
- /**
177
- * 開始日
178
- * @nullable
179
- */
180
- startsOn: string | null;
181
- /**
182
- * 終了日
183
- * @nullable
184
- */
185
- endsOn: string | null;
193
+ /** 開始日 */
194
+ startsOn: ProxyApplicantStartsOn;
195
+ /** 終了日 */
196
+ endsOn: ProxyApplicantEndsOn;
186
197
  /** 対象ワークフロー */
187
198
  workflows: Workflow[];
188
199
  }
200
+ /**
201
+ * 開始日
202
+ */
203
+ export type ProxyApproverStartsOn = string | null;
204
+ /**
205
+ * 終了日
206
+ */
207
+ export type ProxyApproverEndsOn = string | null;
189
208
  /**
190
209
  * 代理承認
191
210
  */
@@ -198,19 +217,18 @@ export interface ProxyApprover {
198
217
  updatedAt: string;
199
218
  user: User;
200
219
  proxyUser: User;
201
- /**
202
- * 開始日
203
- * @nullable
204
- */
205
- startsOn: string | null;
206
- /**
207
- * 終了日
208
- * @nullable
209
- */
210
- endsOn: string | null;
220
+ /** 開始日 */
221
+ startsOn: ProxyApproverStartsOn;
222
+ /** 終了日 */
223
+ endsOn: ProxyApproverEndsOn;
211
224
  /** 対象ワークフロー */
212
225
  workflows: Workflow[];
213
226
  }
227
+ /**
228
+ * 管理用メモ
229
+ * @maxLength 10000
230
+ */
231
+ export type TeamNotes = string | null;
214
232
  /**
215
233
  * チーム
216
234
  */
@@ -219,16 +237,21 @@ export interface Team {
219
237
  id: string;
220
238
  /**
221
239
  * 名前
222
- * @maxLength 255
240
+ * @maxLength 300
223
241
  */
224
242
  name: string;
225
243
  /** 上位組織を含む名前 */
226
244
  fullName: string;
227
245
  /**
228
246
  * コード
229
- * @maxLength 255
247
+ * @maxLength 100
230
248
  */
231
249
  code: string;
250
+ /**
251
+ * 管理用メモ
252
+ * @maxLength 10000
253
+ */
254
+ notes?: TeamNotes;
232
255
  /** 承認専用チームかどうか */
233
256
  approveOnly: boolean;
234
257
  /**
@@ -241,20 +264,12 @@ export interface Team {
241
264
  /** 更新日時 */
242
265
  updatedAt: string;
243
266
  }
244
- /**
245
- * @nullable
246
- */
247
- export type TeamDetailAllOfParentAnyOf = unknown | null;
248
267
  /**
249
268
  * 親チーム
250
- * @nullable
251
269
  */
252
- export type TeamDetailAllOfParent = Team | TeamDetailAllOfParentAnyOf | null;
270
+ export type TeamDetailAllOfParent = Team | null;
253
271
  export type TeamDetailAllOf = {
254
- /**
255
- * 親チーム
256
- * @nullable
257
- */
272
+ /** 親チーム */
258
273
  parent?: TeamDetailAllOfParent;
259
274
  /** 子チーム */
260
275
  children: Team[];
@@ -267,14 +282,20 @@ export type TeamDetailAllOf = {
267
282
  * チームの詳細
268
283
  */
269
284
  export type TeamDetail = Team & TeamDetailAllOf;
285
+ /**
286
+ * 管理用メモ
287
+ */
288
+ export type TeamCreateBodyNotes = string | null;
270
289
  /**
271
290
  * チームを作成するときのrequest body
272
291
  */
273
292
  export interface TeamCreateBody {
274
293
  /** 名前 */
275
294
  name: string;
276
- /** コード。未指定の場合、ランダムな英数字がセットされます。 */
295
+ /** コード。未指定の場合、ランダムな英数字が自動的に設定されます。 */
277
296
  code?: string;
297
+ /** 管理用メモ */
298
+ notes?: TeamCreateBodyNotes;
278
299
  /** 親チームのUUID。nullの場合、作成したチームはルートになります。 */
279
300
  parentId?: string;
280
301
  /** 承認専用チームかどうか */
@@ -286,8 +307,10 @@ export interface TeamCreateBody {
286
307
  export interface TeamUpdateBody {
287
308
  /** 名前 */
288
309
  name?: string;
289
- /** コード。未指定の場合、ランダムな英数字がセットされます。 */
310
+ /** コード。未指定の場合、ランダムな英数字が自動的に設定されます。 */
290
311
  code?: string;
312
+ /** 管理用メモ */
313
+ notes?: string;
291
314
  /** 親チームのID */
292
315
  parentId?: string;
293
316
  /** 承認専用チームかどうか */
@@ -295,9 +318,8 @@ export interface TeamUpdateBody {
295
318
  }
296
319
  /**
297
320
  * 有効化の予定
298
- * @nullable
299
321
  */
300
- export type OrganizationChartActivationPlan = {
322
+ export type OrganizationChartActivationPlanAnyOf = {
301
323
  /** UUID */
302
324
  id: string;
303
325
  /** 有効化の予定日 */
@@ -306,7 +328,11 @@ export type OrganizationChartActivationPlan = {
306
328
  createdAt: string;
307
329
  /** 更新日時 */
308
330
  updatedAt: string;
309
- } | null;
331
+ };
332
+ /**
333
+ * 有効化の予定
334
+ */
335
+ export type OrganizationChartActivationPlan = OrganizationChartActivationPlanAnyOf | null;
310
336
  /**
311
337
  * 組織図
312
338
  */
@@ -315,7 +341,7 @@ export interface OrganizationChart {
315
341
  id: string;
316
342
  /**
317
343
  * 名前
318
- * @maxLength 255
344
+ * @maxLength 300
319
345
  */
320
346
  name: string;
321
347
  /** 現在有効な組織図かどうか */
@@ -328,10 +354,7 @@ export interface OrganizationChart {
328
354
  createdAt: string;
329
355
  /** 更新日時 */
330
356
  updatedAt: string;
331
- /**
332
- * 有効化の予定
333
- * @nullable
334
- */
357
+ /** 有効化の予定 */
335
358
  activationPlan: OrganizationChartActivationPlan;
336
359
  }
337
360
  /**
@@ -366,7 +389,7 @@ export interface Role {
366
389
  id: string;
367
390
  /**
368
391
  * 名前
369
- * @maxLength 255
392
+ * @maxLength 300
370
393
  */
371
394
  name: string;
372
395
  /** 編集可能かどうか。「すべての管理者」のときだけfalseになります。 */
@@ -531,6 +554,10 @@ export interface Category {
531
554
  /** 更新日時 */
532
555
  updatedAt: string;
533
556
  }
557
+ /**
558
+ * 説明
559
+ */
560
+ export type FolderDescription = string | null;
534
561
  /**
535
562
  * フォルダ
536
563
  */
@@ -539,19 +566,16 @@ export interface Folder {
539
566
  id: string;
540
567
  /**
541
568
  * 名前
542
- * @maxLength 255
569
+ * @maxLength 300
543
570
  */
544
571
  name: string;
545
572
  /**
546
573
  * コード
547
- * @maxLength 255
574
+ * @maxLength 100
548
575
  */
549
576
  code: string;
550
- /**
551
- * 説明
552
- * @nullable
553
- */
554
- description?: string | null;
577
+ /** 説明 */
578
+ description?: FolderDescription;
555
579
  /**
556
580
  * フォルダ内のワークフロー数
557
581
  * @minimum 0
@@ -582,6 +606,10 @@ export type FolderDetailAllOf = {
582
606
  * フォルダの詳細
583
607
  */
584
608
  export type FolderDetail = Folder & FolderDetailAllOf;
609
+ /**
610
+ * 説明
611
+ */
612
+ export type GeneralMasterDescription = string | null;
585
613
  /**
586
614
  * 汎用マスタ
587
615
  */
@@ -590,19 +618,16 @@ export interface GeneralMaster {
590
618
  id: string;
591
619
  /**
592
620
  * コード
593
- * @maxLength 255
621
+ * @maxLength 100
594
622
  */
595
623
  code: string;
596
624
  /**
597
625
  * 名前
598
- * @maxLength 255
626
+ * @maxLength 300
599
627
  */
600
628
  name: string;
601
- /**
602
- * 説明
603
- * @nullable
604
- */
605
- description: string | null;
629
+ /** 説明 */
630
+ description: GeneralMasterDescription;
606
631
  /** 作成日時 */
607
632
  createdAt: string;
608
633
  /** 更新日時 */
@@ -610,10 +635,23 @@ export interface GeneralMaster {
610
635
  /** カスタムフィールドの配列 */
611
636
  fields: GeneralMasterField[];
612
637
  }
638
+ /**
639
+ * 説明
640
+ */
641
+ export type GeneralMasterItemDescription = string | null;
642
+ /**
643
+ * 有効期限の開始日
644
+ */
645
+ export type GeneralMasterItemStartsOn = string | null;
646
+ /**
647
+ * 有効期限の終了日
648
+ */
649
+ export type GeneralMasterItemEndsOn = string | null;
650
+ export type GeneralMasterItemInputsItemValueAnyOf = string | null;
613
651
  /**
614
652
  * 入力値
615
653
  */
616
- export type GeneralMasterItemInputsItemValue = string | null | string[];
654
+ export type GeneralMasterItemInputsItemValue = GeneralMasterItemInputsItemValueAnyOf | string[];
617
655
  export type GeneralMasterItemInputsItem = {
618
656
  /** UUID */
619
657
  id: string;
@@ -633,36 +671,31 @@ export interface GeneralMasterItem {
633
671
  id: string;
634
672
  /**
635
673
  * コード
636
- * @maxLength 255
674
+ * @maxLength 100
637
675
  */
638
676
  code: string;
639
677
  /**
640
678
  * 名前
641
- * @maxLength 255
679
+ * @maxLength 100
642
680
  */
643
681
  name: string;
644
- /**
645
- * 説明
646
- * @nullable
647
- */
648
- description: string | null;
682
+ /** 説明 */
683
+ description: GeneralMasterItemDescription;
649
684
  /** 作成日時 */
650
685
  createdAt: string;
651
686
  /** 更新日時 */
652
687
  updatedAt: string;
653
- /**
654
- * 有効期限の開始日
655
- * @nullable
656
- */
657
- startsOn: string | null;
658
- /**
659
- * 有効期限の終了日
660
- * @nullable
661
- */
662
- endsOn: string | null;
688
+ /** 有効期限の開始日 */
689
+ startsOn: GeneralMasterItemStartsOn;
690
+ /** 有効期限の終了日 */
691
+ endsOn: GeneralMasterItemEndsOn;
663
692
  /** カスタムフィールドの入力の配列 */
664
693
  inputs: GeneralMasterItemInputsItem[];
665
694
  }
695
+ /**
696
+ * フィールドの説明
697
+ */
698
+ export type GeneralMasterFieldDescription = string | null;
666
699
  /**
667
700
  * フィールドの型
668
701
  */
@@ -676,6 +709,10 @@ export declare const GeneralMasterFieldFieldType: {
676
709
  readonly pull_down: "pull_down";
677
710
  readonly date: "date";
678
711
  };
712
+ /**
713
+ * 選択肢。fieldTypeがcheckboxまたはpull_downのときのみ。
714
+ */
715
+ export type GeneralMasterFieldOptions = string[] | null;
679
716
  /**
680
717
  * 汎用マスタのカスタムフィールド
681
718
  */
@@ -684,17 +721,14 @@ export interface GeneralMasterField {
684
721
  id: string;
685
722
  /**
686
723
  * フィールド名
687
- * @maxLength 255
724
+ * @maxLength 300
688
725
  */
689
726
  title: string;
690
- /**
691
- * フィールドの説明
692
- * @nullable
693
- */
694
- description: string | null;
727
+ /** フィールドの説明 */
728
+ description: GeneralMasterFieldDescription;
695
729
  /**
696
730
  * フィールドのコード
697
- * @maxLength 255
731
+ * @maxLength 100
698
732
  */
699
733
  code: string;
700
734
  /** フィールドの型 */
@@ -703,11 +737,8 @@ export interface GeneralMasterField {
703
737
  required: boolean;
704
738
  /** 管理者以外も閲覧可能な場合true */
705
739
  visible: boolean;
706
- /**
707
- * 選択肢。fieldTypeがcheckboxまたはpull_downのときのみ。
708
- * @nullable
709
- */
710
- options: string[] | null;
740
+ /** 選択肢。fieldTypeがcheckboxまたはpull_downのときのみ。 */
741
+ options: GeneralMasterFieldOptions;
711
742
  /** 作成日時 */
712
743
  createdAt: string;
713
744
  /** 更新日時 */
@@ -731,6 +762,14 @@ export declare const WorkflowVisibleToManager: {
731
762
  readonly direct: "direct";
732
763
  readonly all: "all";
733
764
  };
765
+ /**
766
+ * タイトルの説明
767
+ */
768
+ export type WorkflowTitleDescription = string | null;
769
+ /**
770
+ * チケット番号のフォーマット
771
+ */
772
+ export type WorkflowTicketNumberFormat = string | null;
734
773
  /**
735
774
  * タイトル入力モード
736
775
  */
@@ -741,23 +780,17 @@ export declare const WorkflowTitleInputMode: {
741
780
  readonly calculate: "calculate";
742
781
  };
743
782
  /**
744
- * @nullable
783
+ * タイトルの計算式
745
784
  */
746
- export type WorkflowAuthorAnyOf = unknown | null;
785
+ export type WorkflowTitleFormula = string | null;
747
786
  /**
748
787
  * 作成者
749
- * @nullable
750
- */
751
- export type WorkflowAuthor = User | WorkflowAuthorAnyOf | null;
752
- /**
753
- * @nullable
754
788
  */
755
- export type WorkflowVersionAuthorAnyOf = unknown | null;
789
+ export type WorkflowAuthor = User | null;
756
790
  /**
757
791
  * バージョン作成者
758
- * @nullable
759
792
  */
760
- export type WorkflowVersionAuthor = User | WorkflowVersionAuthorAnyOf | null;
793
+ export type WorkflowVersionAuthor = User | null;
761
794
  /**
762
795
  * ワークフロー
763
796
  */
@@ -785,16 +818,10 @@ export interface Workflow {
785
818
  visibleToManager: WorkflowVisibleToManager;
786
819
  /** 申請チームのメンバーが共有ユーザーに追加される場合true */
787
820
  visibleToTeamMembers: boolean;
788
- /**
789
- * タイトルの説明
790
- * @nullable
791
- */
792
- titleDescription: string | null;
793
- /**
794
- * チケット番号のフォーマット
795
- * @nullable
796
- */
797
- ticketNumberFormat: string | null;
821
+ /** タイトルの説明 */
822
+ titleDescription: WorkflowTitleDescription;
823
+ /** チケット番号のフォーマット */
824
+ ticketNumberFormat: WorkflowTicketNumberFormat;
798
825
  /** 承認者による上書きが可能な場合true */
799
826
  overwritable: boolean;
800
827
  /** 作成日時 */
@@ -803,22 +830,13 @@ export interface Workflow {
803
830
  updatedAt: string;
804
831
  /** タイトル入力モード */
805
832
  titleInputMode: WorkflowTitleInputMode;
806
- /**
807
- * タイトルの計算式
808
- * @nullable
809
- */
810
- titleFormula: string | null;
833
+ /** タイトルの計算式 */
834
+ titleFormula: WorkflowTitleFormula;
811
835
  /** 共有ユーザーの編集が可能な場合true */
812
836
  allowEditingOfViewers?: boolean;
813
- /**
814
- * 作成者
815
- * @nullable
816
- */
837
+ /** 作成者 */
817
838
  author: WorkflowAuthor;
818
- /**
819
- * バージョン作成者
820
- * @nullable
821
- */
839
+ /** バージョン作成者 */
822
840
  versionAuthor: WorkflowVersionAuthor;
823
841
  /** フォルダ */
824
842
  folder: Folder;
@@ -829,14 +847,10 @@ export type WorkflowInTicketAllOfCloudSignSettingAnyOf = {
829
847
  /** 書類の添付が必須な場合true */
830
848
  required: boolean;
831
849
  };
832
- /**
833
- * @nullable
834
- */
835
- export type WorkflowInTicketAllOfCloudSignSettingAnyOfTwo = unknown | null;
836
850
  /**
837
851
  * クラウドサイン連携設定
838
852
  */
839
- export type WorkflowInTicketAllOfCloudSignSetting = WorkflowInTicketAllOfCloudSignSettingAnyOf | WorkflowInTicketAllOfCloudSignSettingAnyOfTwo;
853
+ export type WorkflowInTicketAllOfCloudSignSetting = WorkflowInTicketAllOfCloudSignSettingAnyOf | null;
840
854
  export type WorkflowInTicketAllOf = {
841
855
  /** セクション・明細を表すオブジェクトを画面に表示される順に格納した配列。 */
842
856
  sectionList?: SectionListItem[];
@@ -862,32 +876,53 @@ export declare const SectionListItemSectionType: {
862
876
  readonly form: "form";
863
877
  readonly slip: "slip";
864
878
  };
879
+ /**
880
+ * タイトル
881
+ */
882
+ export type SectionListItemTitle = string | null;
883
+ /**
884
+ * 説明
885
+ */
886
+ export type SectionListItemDescription = string | null;
887
+ /**
888
+ * 条件の組み合わせタイプ。all=すべて、any=いずれか、custom=高度な条件式。明細セクションには含まれません。
889
+ */
890
+ export type SectionListItemCombinationType = (typeof SectionListItemCombinationType)[keyof typeof SectionListItemCombinationType];
891
+ export declare const SectionListItemCombinationType: {
892
+ readonly all: "all";
893
+ readonly any: "any";
894
+ readonly custom: "custom";
895
+ };
896
+ /**
897
+ * 高度な条件式
898
+ */
899
+ export type SectionListItemCombinationExpression = string | null;
865
900
  /**
866
901
  * 明細セクションまたはフォームセクション
867
902
  */
868
903
  export interface SectionListItem {
869
904
  sectionType: SectionListItemSectionType;
870
- /**
871
- * タイトル
872
- * @nullable
873
- */
874
- title: string | null;
875
- /**
876
- * 説明
877
- * @nullable
878
- */
879
- description: string | null;
905
+ /** タイトル */
906
+ title: SectionListItemTitle;
907
+ /** 説明 */
908
+ description: SectionListItemDescription;
880
909
  /** フォームセクションのID(UUID)。明細セクションには含まれません。 */
881
910
  id?: string;
882
911
  /** フォームフィールド。明細セクションには含まれません。 */
883
912
  formFields?: FormFieldDetail[];
884
913
  /** 表示条件があるかどうか。明細セクションには含まれません。 */
885
914
  conditional?: boolean;
886
- /** 条件をすべて満たす必要があるかどうか。明細セクションには含まれません。 */
887
- conditionAllOf?: boolean;
915
+ /** 条件の組み合わせタイプ。all=すべて、any=いずれか、custom=高度な条件式。明細セクションには含まれません。 */
916
+ combinationType?: SectionListItemCombinationType;
917
+ /** 高度な条件式 */
918
+ combinationExpression?: SectionListItemCombinationExpression;
888
919
  /** 明細フィールド。フォームセクションには含まれません。 */
889
920
  slipFields?: SlipFieldDetail[];
890
921
  }
922
+ /**
923
+ * 説明
924
+ */
925
+ export type FormFieldDescription = string | null;
891
926
  /**
892
927
  * フィールドの型
893
928
  */
@@ -909,6 +944,10 @@ export declare const FormFieldFieldType: {
909
944
  readonly button_api: "button_api";
910
945
  readonly button_kintone: "button_kintone";
911
946
  };
947
+ /**
948
+ * 選択肢のリスト。型がcheckboxまたはpull_downのときのみ値が入ります。
949
+ */
950
+ export type FormFieldOptions = string[] | null;
912
951
  /**
913
952
  * フォームサイズ。fullの場合全幅、halfの場合1/2になります。
914
953
  */
@@ -917,6 +956,64 @@ export declare const FormFieldSize: {
917
956
  readonly full: "full";
918
957
  readonly half: "half";
919
958
  };
959
+ /**
960
+ * 正規表現フォーマット
961
+ */
962
+ export type FormFieldRegexpFormat = string | null;
963
+ /**
964
+ * 計算式。
965
+ 型がcalculationのときのみ値が入ります。
966
+ */
967
+ export type FormFieldFormula = string | null;
968
+ /**
969
+ * 初期値
970
+ */
971
+ export type FormFieldDefaultValue = string | null;
972
+ /**
973
+ * 最小値
974
+ */
975
+ export type FormFieldMinValue = number | null;
976
+ /**
977
+ * 最大値
978
+ */
979
+ export type FormFieldMaxValue = number | null;
980
+ /**
981
+ * 最小文字数
982
+ * @minimum 0
983
+ */
984
+ export type FormFieldMinLength = number | null;
985
+ /**
986
+ * 最大文字数
987
+ * @minimum 0
988
+ */
989
+ export type FormFieldMaxLength = number | null;
990
+ /**
991
+ * 小数の桁数
992
+ * @minimum 0
993
+ */
994
+ export type FormFieldDecimalDigit = number | null;
995
+ /**
996
+ * カンマ区切りで表示する場合true。
997
+ 整数、数値、自動計算フィールド以外ではnullが入ります。
998
+ */
999
+ export type FormFieldDelimited = boolean | null;
1000
+ /**
1001
+ * 単位(接頭辞)
1002
+ */
1003
+ export type FormFieldPrefix = string | null;
1004
+ /**
1005
+ * 単位(接尾辞)
1006
+ */
1007
+ export type FormFieldSuffix = string | null;
1008
+ /**
1009
+ * 隠しフィールドである場合true
1010
+ */
1011
+ export type FormFieldHidden = boolean | null;
1012
+ /**
1013
+ * trueの時、申請者・承認者が画面上から値を入力することを禁止します。
1014
+ 外部API連携(ボタン)による代入や、REST API経由での入力はこのオプションの対象外です。
1015
+ */
1016
+ export type FormFieldReadonlyOnUi = boolean | null;
920
1017
  /**
921
1018
  * フォームフィールド
922
1019
  */
@@ -924,15 +1021,12 @@ export interface FormField {
924
1021
  /** UUID */
925
1022
  id: string;
926
1023
  /**
927
- * 説明文
928
- * @maxLength 255
1024
+ * 説明
1025
+ * @maxLength 300
929
1026
  */
930
1027
  title: string;
931
- /**
932
- * 説明文
933
- * @nullable
934
- */
935
- description: string | null;
1028
+ /** 説明 */
1029
+ description: FormFieldDescription;
936
1030
  /** フィールドの型 */
937
1031
  fieldType: FormFieldFieldType;
938
1032
  /** 必須項目かどうか */
@@ -941,161 +1035,91 @@ export interface FormField {
941
1035
  approver: boolean;
942
1036
  /** 申請者が編集可能かどうか */
943
1037
  author?: boolean;
944
- /**
945
- * 選択肢のリスト。型がcheckboxまたはpull_downのときのみ値が入ります。
946
- * @nullable
947
- */
948
- options: string[] | null;
1038
+ /** 選択肢のリスト。型がcheckboxまたはpull_downのときのみ値が入ります。 */
1039
+ options: FormFieldOptions;
949
1040
  /**
950
1041
  * コード
951
- * @maxLength 255
1042
+ * @maxLength 100
952
1043
  */
953
1044
  code: string;
954
1045
  /** フォームサイズ。fullの場合全幅、halfの場合1/2になります。 */
955
1046
  size: FormFieldSize;
956
- /**
957
- * 正規表現フォーマット
958
- * @nullable
959
- */
960
- regexpFormat: string | null;
961
- /**
962
- * 計算式。
963
- 型がcalculationのときのみ値が入ります。
964
- * @nullable
965
- */
966
- formula: string | null;
967
- /**
968
- * 初期値
969
- * @nullable
970
- */
971
- defaultValue: string | null;
972
- /**
973
- * 最小値
974
- * @nullable
975
- */
976
- minValue: number | null;
977
- /**
978
- * 最大値
979
- * @nullable
980
- */
981
- maxValue: number | null;
1047
+ /** 正規表現フォーマット */
1048
+ regexpFormat: FormFieldRegexpFormat;
1049
+ /** 計算式。
1050
+ 型がcalculationのときのみ値が入ります。 */
1051
+ formula: FormFieldFormula;
1052
+ /** 初期値 */
1053
+ defaultValue: FormFieldDefaultValue;
1054
+ /** 最小値 */
1055
+ minValue: FormFieldMinValue;
1056
+ /** 最大値 */
1057
+ maxValue: FormFieldMaxValue;
982
1058
  /**
983
1059
  * 最小文字数
984
1060
  * @minimum 0
985
- * @nullable
986
1061
  */
987
- minLength: number | null;
1062
+ minLength: FormFieldMinLength;
988
1063
  /**
989
1064
  * 最大文字数
990
1065
  * @minimum 0
991
- * @nullable
992
1066
  */
993
- maxLength: number | null;
1067
+ maxLength: FormFieldMaxLength;
994
1068
  /**
995
1069
  * 小数の桁数
996
1070
  * @minimum 0
997
- * @nullable
998
1071
  */
999
- decimalDigit: number | null;
1000
- /**
1001
- * カンマ区切りで表示する場合true。
1002
- 整数、数値、自動計算フィールド以外ではnullが入ります。
1003
- * @nullable
1004
- */
1005
- delimited: boolean | null;
1006
- /**
1007
- * 単位(接頭辞)
1008
- * @nullable
1009
- */
1010
- prefix: string | null;
1011
- /**
1012
- * 単位(接尾辞)
1013
- * @nullable
1014
- */
1015
- suffix: string | null;
1016
- /**
1017
- * 隠しフィールドである場合true
1018
- * @nullable
1019
- */
1020
- hidden?: boolean | null;
1021
- /**
1022
- * trueの時、申請者・承認者が画面上から値を入力することを禁止します。
1023
- 外部API連携(ボタン)による代入や、REST API経由での入力はこのオプションの対象外です。
1024
- * @nullable
1025
- */
1026
- readonlyOnUi?: boolean | null;
1072
+ decimalDigit: FormFieldDecimalDigit;
1073
+ /** カンマ区切りで表示する場合true。
1074
+ 整数、数値、自動計算フィールド以外ではnullが入ります。 */
1075
+ delimited: FormFieldDelimited;
1076
+ /** 単位(接頭辞) */
1077
+ prefix: FormFieldPrefix;
1078
+ /** 単位(接尾辞) */
1079
+ suffix: FormFieldSuffix;
1080
+ /** 隠しフィールドである場合true */
1081
+ hidden?: FormFieldHidden;
1082
+ /** trueの時、申請者・承認者が画面上から値を入力することを禁止します。
1083
+ 外部API連携(ボタン)による代入や、REST API経由での入力はこのオプションの対象外です。 */
1084
+ readonlyOnUi?: FormFieldReadonlyOnUi;
1027
1085
  }
1028
- /**
1029
- * @nullable
1030
- */
1031
- export type FormFieldDetailAllOfGeneralMasterAnyOf = unknown | null;
1032
1086
  /**
1033
1087
  * 汎用マスタ(汎用マスタフィールドの場合)
1034
- * @nullable
1035
- */
1036
- export type FormFieldDetailAllOfGeneralMaster = GeneralMaster | FormFieldDetailAllOfGeneralMasterAnyOf | null;
1037
- /**
1038
- * @nullable
1039
1088
  */
1040
- export type FormFieldDetailAllOfDefaultGeneralMasterItemAnyOf = unknown | null;
1089
+ export type FormFieldDetailAllOfGeneralMaster = GeneralMaster | null;
1041
1090
  /**
1042
1091
  * 初期値(汎用マスタフィールドの場合)
1043
- * @nullable
1044
- */
1045
- export type FormFieldDetailAllOfDefaultGeneralMasterItem = GeneralMasterItem | FormFieldDetailAllOfDefaultGeneralMasterItemAnyOf | null;
1046
- /**
1047
- * @nullable
1048
1092
  */
1049
- export type FormFieldDetailAllOfExternalApiSettingAnyOf = unknown | null;
1093
+ export type FormFieldDetailAllOfDefaultGeneralMasterItem = GeneralMasterItem | null;
1050
1094
  /**
1051
1095
  * 外部API設定。fieldTypeがbutton_apiのときのみ値が入ります。
1052
- * @nullable
1053
1096
  */
1054
- export type FormFieldDetailAllOfExternalApiSetting = ExternalApiSetting | FormFieldDetailAllOfExternalApiSettingAnyOf | null;
1055
- /**
1056
- * @nullable
1057
- */
1058
- export type FormFieldDetailAllOfKintoneAppSettingAnyOf = unknown | null;
1097
+ export type FormFieldDetailAllOfExternalApiSetting = ExternalApiSetting | null;
1059
1098
  /**
1060
1099
  * 外部API設定。fieldTypeがbutton_kintoneのときのみ値が入ります。
1061
- * @nullable
1062
1100
  */
1063
- export type FormFieldDetailAllOfKintoneAppSetting = KintoneAppSetting | FormFieldDetailAllOfKintoneAppSettingAnyOf | null;
1101
+ export type FormFieldDetailAllOfKintoneAppSetting = KintoneAppSetting | null;
1064
1102
  /**
1065
- * @nullable
1103
+ * ClimberCloud連携設定。fieldTypeがfileのときのみ値が入ります。
1066
1104
  */
1067
- export type FormFieldDetailAllOfClimberCloudSettingAnyOf = unknown | null;
1105
+ export type FormFieldDetailAllOfClimberCloudSetting = ClimberCloudSetting | null;
1068
1106
  /**
1069
- * ClimberCloud連携設定。fieldTypeがfileのときのみ値が入ります。
1070
- * @nullable
1107
+ * 汎用マスタ型フィールドの自動絞り込みの設定
1071
1108
  */
1072
- export type FormFieldDetailAllOfClimberCloudSetting = ClimberCloudSetting | FormFieldDetailAllOfClimberCloudSettingAnyOf | null;
1109
+ export type FormFieldDetailAllOfGeneralMasterSearchFilters = GeneralMasterSearchFilter[] | null;
1073
1110
  export type FormFieldDetailAllOf = {
1074
- /**
1075
- * 汎用マスタ(汎用マスタフィールドの場合)
1076
- * @nullable
1077
- */
1111
+ /** 汎用マスタ(汎用マスタフィールドの場合) */
1078
1112
  generalMaster?: FormFieldDetailAllOfGeneralMaster;
1079
- /**
1080
- * 初期値(汎用マスタフィールドの場合)
1081
- * @nullable
1082
- */
1113
+ /** 初期値(汎用マスタフィールドの場合) */
1083
1114
  defaultGeneralMasterItem?: FormFieldDetailAllOfDefaultGeneralMasterItem;
1084
- /**
1085
- * 外部API設定。fieldTypeがbutton_apiのときのみ値が入ります。
1086
- * @nullable
1087
- */
1115
+ /** 外部API設定。fieldTypeがbutton_apiのときのみ値が入ります。 */
1088
1116
  externalApiSetting?: FormFieldDetailAllOfExternalApiSetting;
1089
- /**
1090
- * 外部API設定。fieldTypeがbutton_kintoneのときのみ値が入ります。
1091
- * @nullable
1092
- */
1117
+ /** 外部API設定。fieldTypeがbutton_kintoneのときのみ値が入ります。 */
1093
1118
  kintoneAppSetting?: FormFieldDetailAllOfKintoneAppSetting;
1094
- /**
1095
- * ClimberCloud連携設定。fieldTypeがfileのときのみ値が入ります。
1096
- * @nullable
1097
- */
1119
+ /** ClimberCloud連携設定。fieldTypeがfileのときのみ値が入ります。 */
1098
1120
  climberCloudSetting?: FormFieldDetailAllOfClimberCloudSetting;
1121
+ /** 汎用マスタ型フィールドの自動絞り込みの設定 */
1122
+ generalMasterSearchFilters?: FormFieldDetailAllOfGeneralMasterSearchFilters;
1099
1123
  };
1100
1124
  /**
1101
1125
  * フォームフィールドの詳細
@@ -1118,17 +1142,22 @@ export type ExternalApiSettingHeadersItem = {
1118
1142
  /** ヘッダーの値 */
1119
1143
  value: string;
1120
1144
  };
1145
+ /**
1146
+ * 複数レコードを含む場合の配列へのJSONPath
1147
+ */
1148
+ export type ExternalApiSettingArrayJsonPath = string | null;
1149
+ /**
1150
+ * 選択用テーブルでのタイトル
1151
+ */
1152
+ export type ExternalApiSettingMappingsItemTitle = string | null;
1121
1153
  export type ExternalApiSettingMappingsItem = {
1122
1154
  formField: FormField;
1123
1155
  /** 値抽出用のJSONPath */
1124
1156
  jsonPath: string;
1125
1157
  /** 選択用テーブルで表示する場合true */
1126
1158
  displayInTable: boolean;
1127
- /**
1128
- * 選択用テーブルでのタイトル
1129
- * @nullable
1130
- */
1131
- title: string | null;
1159
+ /** 選択用テーブルでのタイトル */
1160
+ title: ExternalApiSettingMappingsItemTitle;
1132
1161
  };
1133
1162
  /**
1134
1163
  * 外部API設定
@@ -1144,11 +1173,8 @@ export interface ExternalApiSetting {
1144
1173
  headers: ExternalApiSettingHeadersItem[];
1145
1174
  /** レスポンスが複数レコードを含む場合true */
1146
1175
  responseArray: boolean;
1147
- /**
1148
- * 複数レコードを含む場合の配列へのJSONPath
1149
- * @nullable
1150
- */
1151
- arrayJsonPath: string | null;
1176
+ /** 複数レコードを含む場合の配列へのJSONPath */
1177
+ arrayJsonPath: ExternalApiSettingArrayJsonPath;
1152
1178
  /** フィールドへのマッピング設定 */
1153
1179
  mappings: ExternalApiSettingMappingsItem[];
1154
1180
  }
@@ -1187,6 +1213,52 @@ export declare const SlipFieldFieldType: {
1187
1213
  readonly team: "team";
1188
1214
  readonly ticket: "ticket";
1189
1215
  };
1216
+ /**
1217
+ * 正規表現フォーマット
1218
+ */
1219
+ export type SlipFieldRegexpFormat = string | null;
1220
+ /**
1221
+ * 計算式。型が自動計算のときのみ値が入ります。
1222
+ */
1223
+ export type SlipFieldFormula = string | null;
1224
+ /**
1225
+ * 最大値
1226
+ */
1227
+ export type SlipFieldMaxValue = number | null;
1228
+ /**
1229
+ * 最小値
1230
+ */
1231
+ export type SlipFieldMinValue = number | null;
1232
+ /**
1233
+ * 初期値
1234
+ */
1235
+ export type SlipFieldDefaultValue = string | null;
1236
+ /**
1237
+ * 小数の桁数
1238
+ */
1239
+ export type SlipFieldDecimalDigit = number | null;
1240
+ /**
1241
+ * カンマ区切りで表示する場合true。
1242
+ 整数、数値、自動計算フィールド以外ではnullが入ります。
1243
+ */
1244
+ export type SlipFieldDelimited = boolean | null;
1245
+ /**
1246
+ * 単位(接頭辞)
1247
+ */
1248
+ export type SlipFieldPrefix = string | null;
1249
+ /**
1250
+ * 単位(接尾辞)
1251
+ */
1252
+ export type SlipFieldSuffix = string | null;
1253
+ /**
1254
+ * 隠しフィールドである場合true
1255
+ */
1256
+ export type SlipFieldHidden = boolean | null;
1257
+ /**
1258
+ * trueの時、申請者・承認者が画面上から値を入力することを禁止します。
1259
+ 外部API連携(ボタン)による代入や、REST API経由での入力はこのオプションの対象外です。
1260
+ */
1261
+ export type SlipFieldReadonlyOnUi = boolean | null;
1190
1262
  /**
1191
1263
  * 明細フィールド
1192
1264
  */
@@ -1205,98 +1277,49 @@ export interface SlipField {
1205
1277
  showTotal: boolean;
1206
1278
  /** 選択肢。プルダウンまたはチェックボックスのときのみ値が入ります。 */
1207
1279
  options: string[];
1208
- /**
1209
- * 正規表現フォーマット
1210
- * @nullable
1211
- */
1212
- regexpFormat: string | null;
1213
- /**
1214
- * 計算式。型が自動計算のときのみ値が入ります。
1215
- * @nullable
1216
- */
1217
- formula: string | null;
1218
- /**
1219
- * 最大値
1220
- * @nullable
1221
- */
1222
- maxValue: number | null;
1223
- /**
1224
- * 最小値
1225
- * @nullable
1226
- */
1227
- minValue: number | null;
1228
- /**
1229
- * 初期値
1230
- * @nullable
1231
- */
1232
- defaultValue: string | null;
1233
- /**
1234
- * 小数の桁数
1235
- * @nullable
1236
- */
1237
- decimalDigit: number | null;
1238
- /**
1239
- * カンマ区切りで表示する場合true。
1240
- 整数、数値、自動計算フィールド以外ではnullが入ります。
1241
- * @nullable
1242
- */
1243
- delimited: boolean | null;
1280
+ /** 正規表現フォーマット */
1281
+ regexpFormat: SlipFieldRegexpFormat;
1282
+ /** 計算式。型が自動計算のときのみ値が入ります。 */
1283
+ formula: SlipFieldFormula;
1284
+ /** 最大値 */
1285
+ maxValue: SlipFieldMaxValue;
1286
+ /** 最小値 */
1287
+ minValue: SlipFieldMinValue;
1288
+ /** 初期値 */
1289
+ defaultValue: SlipFieldDefaultValue;
1290
+ /** 小数の桁数 */
1291
+ decimalDigit: SlipFieldDecimalDigit;
1292
+ /** カンマ区切りで表示する場合true。
1293
+ 整数、数値、自動計算フィールド以外ではnullが入ります。 */
1294
+ delimited: SlipFieldDelimited;
1244
1295
  /** 添付可能な拡張子リスト */
1245
1296
  allowedExtensions: string[];
1246
- /**
1247
- * 単位(接頭辞)
1248
- * @nullable
1249
- */
1250
- prefix: string | null;
1251
- /**
1252
- * 単位(接尾辞)
1253
- * @nullable
1254
- */
1255
- suffix: string | null;
1297
+ /** 単位(接頭辞) */
1298
+ prefix: SlipFieldPrefix;
1299
+ /** 単位(接尾辞) */
1300
+ suffix: SlipFieldSuffix;
1256
1301
  /** 承認者が編集可能かどうか */
1257
1302
  approver: boolean;
1258
1303
  /** 申請者が編集可能かどうか */
1259
1304
  author?: boolean;
1260
- /**
1261
- * 隠しフィールドである場合true
1262
- * @nullable
1263
- */
1264
- hidden?: boolean | null;
1265
- /**
1266
- * trueの時、申請者・承認者が画面上から値を入力することを禁止します。
1267
- 外部API連携(ボタン)による代入や、REST API経由での入力はこのオプションの対象外です。
1268
- * @nullable
1269
- */
1270
- readonlyOnUi?: boolean | null;
1305
+ /** 隠しフィールドである場合true */
1306
+ hidden?: SlipFieldHidden;
1307
+ /** trueの時、申請者・承認者が画面上から値を入力することを禁止します。
1308
+ 外部API連携(ボタン)による代入や、REST API経由での入力はこのオプションの対象外です。 */
1309
+ readonlyOnUi?: SlipFieldReadonlyOnUi;
1271
1310
  }
1272
- /**
1273
- * @nullable
1274
- */
1275
- export type SlipFieldDetailAllOfGeneralMasterAnyOf = unknown | null;
1276
1311
  /**
1277
1312
  * 汎用マスタ。型が汎用マスタのときのみ値が入ります。
1278
- * @nullable
1279
1313
  */
1280
- export type SlipFieldDetailAllOfGeneralMaster = GeneralMaster | SlipFieldDetailAllOfGeneralMasterAnyOf | null;
1281
- /**
1282
- * @nullable
1283
- */
1284
- export type SlipFieldDetailAllOfDefaultGeneralMasterItemAnyOf = unknown | null;
1314
+ export type SlipFieldDetailAllOfGeneralMaster = GeneralMaster | null;
1285
1315
  /**
1286
1316
  * 汎用マスタアイテムの初期値
1287
- * @nullable
1288
1317
  */
1289
- export type SlipFieldDetailAllOfDefaultGeneralMasterItem = GeneralMasterItem | SlipFieldDetailAllOfDefaultGeneralMasterItemAnyOf | null;
1318
+ export type SlipFieldDetailAllOfDefaultGeneralMasterItem = GeneralMasterItem | null;
1290
1319
  export type SlipFieldDetailAllOf = {
1291
- /**
1292
- * 汎用マスタ。型が汎用マスタのときのみ値が入ります。
1293
- * @nullable
1294
- */
1320
+ /** 汎用マスタ。型が汎用マスタのときのみ値が入ります。 */
1295
1321
  generalMaster?: SlipFieldDetailAllOfGeneralMaster;
1296
- /**
1297
- * 汎用マスタアイテムの初期値
1298
- * @nullable
1299
- */
1322
+ /** 汎用マスタアイテムの初期値 */
1300
1323
  defaultGeneralMasterItem?: SlipFieldDetailAllOfDefaultGeneralMasterItem;
1301
1324
  };
1302
1325
  /**
@@ -1322,14 +1345,13 @@ export declare const WorkflowRouteConditionCombinationType: {
1322
1345
  readonly custom: "custom";
1323
1346
  };
1324
1347
  /**
1325
- * @nullable
1348
+ * 経路。routeまたはerrorMessageは片方のみ値が入ります。
1326
1349
  */
1327
- export type WorkflowRouteConditionRouteAnyOf = unknown | null;
1350
+ export type WorkflowRouteConditionRoute = Route | null;
1328
1351
  /**
1329
- * 経路。routeまたはerrorMessageは片方のみ値が入ります。
1330
- * @nullable
1352
+ * 申請拒否時のエラーメッセージ。routeまたはerrorMessageは片方のみ値が入ります。
1331
1353
  */
1332
- export type WorkflowRouteConditionRoute = Route | WorkflowRouteConditionRouteAnyOf | null;
1354
+ export type WorkflowRouteConditionErrorMessage = string | null;
1333
1355
  /**
1334
1356
  * ワークフローの経路分岐
1335
1357
  */
@@ -1342,46 +1364,29 @@ export interface WorkflowRouteCondition {
1342
1364
  combinationType: WorkflowRouteConditionCombinationType;
1343
1365
  /** 高度な条件式 */
1344
1366
  combinationExpression: string;
1345
- /**
1346
- * 経路。routeまたはerrorMessageは片方のみ値が入ります。
1347
- * @nullable
1348
- */
1367
+ /** 経路。routeまたはerrorMessageは片方のみ値が入ります。 */
1349
1368
  route: WorkflowRouteConditionRoute;
1350
1369
  /** 条件 */
1351
1370
  conditionFields: WorkflowRouteConditionField[];
1352
- /**
1353
- * 申請拒否時のエラーメッセージ。routeまたはerrorMessageは片方のみ値が入ります。
1354
- * @nullable
1355
- */
1356
- errorMessage: string | null;
1371
+ /** 申請拒否時のエラーメッセージ。routeまたはerrorMessageは片方のみ値が入ります。 */
1372
+ errorMessage: WorkflowRouteConditionErrorMessage;
1357
1373
  }
1358
1374
  /**
1359
- * @nullable
1375
+ * しきい値
1360
1376
  */
1361
- export type WorkflowRouteConditionFieldGradeAnyOf = unknown | null;
1377
+ export type WorkflowRouteConditionFieldValue = string | null;
1362
1378
  /**
1363
1379
  * しきい値として使う役職
1364
- * @nullable
1365
- */
1366
- export type WorkflowRouteConditionFieldGrade = Grade | WorkflowRouteConditionFieldGradeAnyOf | null;
1367
- /**
1368
- * @nullable
1369
1380
  */
1370
- export type WorkflowRouteConditionFieldTeamAnyOf = unknown | null;
1381
+ export type WorkflowRouteConditionFieldGrade = Grade | null;
1371
1382
  /**
1372
1383
  * しきい値として使うチーム
1373
- * @nullable
1374
1384
  */
1375
- export type WorkflowRouteConditionFieldTeam = Team | WorkflowRouteConditionFieldTeamAnyOf | null;
1376
- /**
1377
- * @nullable
1378
- */
1379
- export type WorkflowRouteConditionFieldGeneralMasterItemAnyOf = unknown | null;
1385
+ export type WorkflowRouteConditionFieldTeam = Team | null;
1380
1386
  /**
1381
1387
  * しきい値として使う汎用マスタアイテム
1382
- * @nullable
1383
1388
  */
1384
- export type WorkflowRouteConditionFieldGeneralMasterItem = GeneralMasterItem | WorkflowRouteConditionFieldGeneralMasterItemAnyOf | null;
1389
+ export type WorkflowRouteConditionFieldGeneralMasterItem = GeneralMasterItem | null;
1385
1390
  /**
1386
1391
  * ワークフロー経路分岐の条件
1387
1392
  */
@@ -1390,76 +1395,40 @@ export interface WorkflowRouteConditionField {
1390
1395
  id: string;
1391
1396
  /** 演算子 */
1392
1397
  symbol: string;
1393
- /**
1394
- * しきい値
1395
- * @nullable
1396
- */
1397
- value: string | null;
1398
+ /** しきい値 */
1399
+ value: WorkflowRouteConditionFieldValue;
1398
1400
  /** 対象のフォームフィールド */
1399
1401
  formField: FormField;
1400
- /**
1401
- * しきい値として使う役職
1402
- * @nullable
1403
- */
1402
+ /** しきい値として使う役職 */
1404
1403
  grade: WorkflowRouteConditionFieldGrade;
1405
- /**
1406
- * しきい値として使うチーム
1407
- * @nullable
1408
- */
1404
+ /** しきい値として使うチーム */
1409
1405
  team: WorkflowRouteConditionFieldTeam;
1410
- /**
1411
- * しきい値として使う汎用マスタアイテム
1412
- * @nullable
1413
- */
1406
+ /** しきい値として使う汎用マスタアイテム */
1414
1407
  generalMasterItem: WorkflowRouteConditionFieldGeneralMasterItem;
1415
1408
  }
1416
- /**
1417
- * @nullable
1418
- */
1419
- export type WorkflowTicketViewerUserAnyOf = unknown | null;
1420
1409
  /**
1421
1410
  * ユーザー。ユーザーとチームは片方のみ値が入ります。
1422
- * @nullable
1423
- */
1424
- export type WorkflowTicketViewerUser = User | WorkflowTicketViewerUserAnyOf | null;
1425
- /**
1426
- * @nullable
1427
1411
  */
1428
- export type WorkflowTicketViewerTeamAnyOf = unknown | null;
1412
+ export type WorkflowTicketViewerUser = User | null;
1429
1413
  /**
1430
1414
  * チーム。ユーザーとチームは片方のみ値が入ります。
1431
- * @nullable
1432
1415
  */
1433
- export type WorkflowTicketViewerTeam = Team | WorkflowTicketViewerTeamAnyOf | null;
1434
- /**
1435
- * @nullable
1436
- */
1437
- export type WorkflowTicketViewerGradeAnyOf = unknown | null;
1416
+ export type WorkflowTicketViewerTeam = Team | null;
1438
1417
  /**
1439
1418
  * 役職。チーム指定で役職も指定する場合のみ値が入ります。
1440
- * @nullable
1441
1419
  */
1442
- export type WorkflowTicketViewerGrade = Grade | WorkflowTicketViewerGradeAnyOf | null;
1420
+ export type WorkflowTicketViewerGrade = Grade | null;
1443
1421
  /**
1444
1422
  * ワークフロー単位で設定された共有ユーザー
1445
1423
  */
1446
1424
  export interface WorkflowTicketViewer {
1447
1425
  /** UUID */
1448
1426
  id: string;
1449
- /**
1450
- * ユーザー。ユーザーとチームは片方のみ値が入ります。
1451
- * @nullable
1452
- */
1427
+ /** ユーザー。ユーザーとチームは片方のみ値が入ります。 */
1453
1428
  user: WorkflowTicketViewerUser;
1454
- /**
1455
- * チーム。ユーザーとチームは片方のみ値が入ります。
1456
- * @nullable
1457
- */
1429
+ /** チーム。ユーザーとチームは片方のみ値が入ります。 */
1458
1430
  team: WorkflowTicketViewerTeam;
1459
- /**
1460
- * 役職。チーム指定で役職も指定する場合のみ値が入ります。
1461
- * @nullable
1462
- */
1431
+ /** 役職。チーム指定で役職も指定する場合のみ値が入ります。 */
1463
1432
  grade: WorkflowTicketViewerGrade;
1464
1433
  }
1465
1434
  /**
@@ -1471,20 +1440,11 @@ export declare const RouteStatus: {
1471
1440
  readonly deleted: "deleted";
1472
1441
  readonly error: "error";
1473
1442
  };
1474
- /**
1475
- * @nullable
1476
- */
1477
- export type RouteAuthorAnyOf = unknown | null;
1478
1443
  /**
1479
1444
  * 作成者
1480
- * @nullable
1481
- */
1482
- export type RouteAuthor = User | RouteAuthorAnyOf | null;
1483
- /**
1484
- * @nullable
1485
1445
  */
1486
- export type RouteVersionAuthorAnyOf = unknown | null;
1487
- export type RouteVersionAuthor = User | RouteVersionAuthorAnyOf;
1446
+ export type RouteAuthor = User | null;
1447
+ export type RouteVersionAuthor = User | null;
1488
1448
  /**
1489
1449
  * 経路
1490
1450
  */
@@ -1501,16 +1461,13 @@ export interface Route {
1501
1461
  versionNumber: number;
1502
1462
  /** 名前 */
1503
1463
  name: string;
1504
- /** 説明文 */
1464
+ /** 説明 */
1505
1465
  description: string;
1506
1466
  /** 作成日時 */
1507
1467
  createdAt: string;
1508
1468
  /** 更新日時 */
1509
1469
  updatedAt: string;
1510
- /**
1511
- * 作成者
1512
- * @nullable
1513
- */
1470
+ /** 作成者 */
1514
1471
  author?: RouteAuthor;
1515
1472
  versionAuthor?: RouteVersionAuthor;
1516
1473
  /** フォルダ */
@@ -1536,6 +1493,7 @@ export declare const RouteStepStepType: {
1536
1493
  readonly author_customizable: "author_customizable";
1537
1494
  readonly assignee_customizable: "assignee_customizable";
1538
1495
  readonly dynamic_team: "dynamic_team";
1496
+ readonly dynamic_user: "dynamic_user";
1539
1497
  };
1540
1498
  /**
1541
1499
  * アクションタイプ。承認/差し戻しの場合approve、回覧(確認あり)の場合confirm、回覧(確認なし)の場合noneになります。
@@ -1546,21 +1504,24 @@ export declare const RouteStepActionType: {
1546
1504
  readonly confirm: "confirm";
1547
1505
  readonly none: "none";
1548
1506
  };
1507
+ /**
1508
+ * 承認者への指示
1509
+ */
1510
+ export type RouteStepInstruction = string | null;
1549
1511
  /**
1550
1512
  * フォールバックのタイプ
1551
- * @nullable
1552
1513
  */
1553
- export type RouteStepFallbackType = (typeof RouteStepFallbackType)[keyof typeof RouteStepFallbackType] | null;
1554
- export declare const RouteStepFallbackType: {
1555
- readonly direct_manager: "direct_manager";
1556
- readonly higher_manager: "higher_manager";
1557
- readonly skip: "skip";
1558
- };
1514
+ export type RouteStepFallbackType = 'direct_manager' | 'higher_manager' | 'skip' | null;
1559
1515
  /**
1560
- * @nullable
1516
+ * 最小指名人数。「申請者が指名」ステップのみ設定可能。
1517
+ * @minimum 0
1561
1518
  */
1562
- export type RouteStepRouteStepConditionAnyOf = unknown | null;
1563
- export type RouteStepRouteStepCondition = RouteStepCondition | RouteStepRouteStepConditionAnyOf;
1519
+ export type RouteStepMinCustomAssignees = number | null;
1520
+ /**
1521
+ * 承認者の選び方
1522
+ */
1523
+ export type RouteStepApproverAssignmentInstruction = string | null;
1524
+ export type RouteStepRouteStepCondition = RouteStepCondition | null;
1564
1525
  /**
1565
1526
  * 経路ステップ
1566
1527
  */
@@ -1575,33 +1536,23 @@ export interface RouteStep {
1575
1536
  title: string;
1576
1537
  /** アクションタイプ。承認/差し戻しの場合approve、回覧(確認あり)の場合confirm、回覧(確認なし)の場合noneになります。 */
1577
1538
  actionType: RouteStepActionType;
1578
- /**
1579
- * 承認者への指示
1580
- * @nullable
1581
- */
1582
- instruction: string | null;
1539
+ /** 承認者への指示 */
1540
+ instruction: RouteStepInstruction;
1583
1541
  /** 必要な承認人数 */
1584
1542
  requiredApprovalsNumber: number;
1585
1543
  /** 必要な承認割合(%) */
1586
1544
  requiredApprovalsPercent: number;
1587
- /**
1588
- * フォールバックのタイプ
1589
- * @nullable
1590
- */
1545
+ /** フォールバックのタイプ */
1591
1546
  fallbackType: RouteStepFallbackType;
1592
1547
  /** 自己承認を許可するか */
1593
1548
  allowSelfApproval: boolean;
1594
1549
  /**
1595
1550
  * 最小指名人数。「申請者が指名」ステップのみ設定可能。
1596
1551
  * @minimum 0
1597
- * @nullable
1598
1552
  */
1599
- minCustomAssignees: number | null;
1600
- /**
1601
- * 承認者の選び方
1602
- * @nullable
1603
- */
1604
- approverAssignmentInstruction: string | null;
1553
+ minCustomAssignees: RouteStepMinCustomAssignees;
1554
+ /** 承認者の選び方 */
1555
+ approverAssignmentInstruction: RouteStepApproverAssignmentInstruction;
1605
1556
  /** 承認者の指定に使うユーザーの配列 */
1606
1557
  users: User[];
1607
1558
  /** 承認者の指定に使うチームと役職の条件 */
@@ -1618,7 +1569,7 @@ export interface RouteStepTarget {
1618
1569
  gradeSymbol?: string;
1619
1570
  /** 承認者の指定に使う役職の配列 */
1620
1571
  grades?: Grade[];
1621
- /** 承認者タイプ「チームを動的に指定」で指定する変数名が入ります。 */
1572
+ /** 承認者タイプ「チームを動的に指定」または「ユーザーを動的に指定」で指定する変数名が入ります。 */
1622
1573
  variable?: string;
1623
1574
  }
1624
1575
  /**
@@ -1685,6 +1636,14 @@ export interface RouteStepConditionField {
1685
1636
  /** しきい値として使う汎用マスタアイテム */
1686
1637
  generalMasterItem?: GeneralMasterItem;
1687
1638
  }
1639
+ /**
1640
+ * チケット番号
1641
+ */
1642
+ export type TicketTicketNumber = string | null;
1643
+ /**
1644
+ * タイトル
1645
+ */
1646
+ export type TicketTitle = string | null;
1688
1647
  /**
1689
1648
  * ステータス
1690
1649
  */
@@ -1697,24 +1656,30 @@ export declare const TicketStatus: {
1697
1656
  readonly archived: "archived";
1698
1657
  readonly denied: "denied";
1699
1658
  };
1700
- /**
1701
- * @nullable
1702
- */
1703
- export type TicketSubStatusAnyOf = unknown | null;
1704
1659
  /**
1705
1660
  * サブステータス。処理中のみ値が入ります。
1706
- * @nullable
1707
1661
  */
1708
- export type TicketSubStatus = SubStatus | TicketSubStatusAnyOf | null;
1662
+ export type TicketSubStatus = SubStatus | null;
1709
1663
  /**
1710
- * @nullable
1664
+ * 申請者。代理申請の場合、代理人が入ります。外部ゲストの場合はnullになります。
1711
1665
  */
1712
- export type TicketProxyClientUserAnyOf = unknown | null;
1666
+ export type TicketAuthor = User | null;
1713
1667
  /**
1714
1668
  * 代理申請を依頼したユーザー。代理申請の場合のみ値が入ります。
1715
- * @nullable
1716
1669
  */
1717
- export type TicketProxyClientUser = User | TicketProxyClientUserAnyOf | null;
1670
+ export type TicketProxyClientUser = User | null;
1671
+ /**
1672
+ * 申請日時
1673
+ */
1674
+ export type TicketOpenedAt = string | null;
1675
+ /**
1676
+ * 完了日時
1677
+ */
1678
+ export type TicketCompletedAt = string | null;
1679
+ /**
1680
+ * アーカイブ日時
1681
+ */
1682
+ export type TicketArchivedAt = string | null;
1718
1683
  /**
1719
1684
  * チケットの共有範囲の上書き設定
1720
1685
  */
@@ -1735,48 +1700,30 @@ export interface Ticket {
1735
1700
  /** UUID */
1736
1701
  id: string;
1737
1702
  /** チケット番号 */
1738
- ticketNumber: string;
1739
- /**
1740
- * タイトル
1741
- * @nullable
1742
- */
1743
- title?: string | null;
1703
+ ticketNumber: TicketTicketNumber;
1704
+ /** タイトル */
1705
+ title?: TicketTitle;
1744
1706
  /** ステータス */
1745
1707
  status: TicketStatus;
1746
- /**
1747
- * サブステータス。処理中のみ値が入ります。
1748
- * @nullable
1749
- */
1708
+ /** サブステータス。処理中のみ値が入ります。 */
1750
1709
  subStatus?: TicketSubStatus;
1751
1710
  /**
1752
1711
  * 現在のステップ。0が起票者、1が最初の承認ステップ。
1753
1712
  * @minimum 0
1754
1713
  */
1755
1714
  currentStep: number;
1756
- /** 申請者。代理申請の場合、代理人が入ります。 */
1757
- author: User;
1758
- /**
1759
- * 代理申請を依頼したユーザー。代理申請の場合のみ値が入ります。
1760
- * @nullable
1761
- */
1715
+ /** 申請者。代理申請の場合、代理人が入ります。外部ゲストの場合はnullになります。 */
1716
+ author: TicketAuthor;
1717
+ /** 代理申請を依頼したユーザー。代理申請の場合のみ値が入ります。 */
1762
1718
  proxyClientUser: TicketProxyClientUser;
1763
1719
  /** 作成日時 */
1764
1720
  createdAt: string;
1765
- /**
1766
- * 申請日時
1767
- * @nullable
1768
- */
1769
- openedAt: string | null;
1770
- /**
1771
- * 完了日時
1772
- * @nullable
1773
- */
1774
- completedAt: string | null;
1775
- /**
1776
- * アーカイブ日時
1777
- * @nullable
1778
- */
1779
- archivedAt: string | null;
1721
+ /** 申請日時 */
1722
+ openedAt: TicketOpenedAt;
1723
+ /** 完了日時 */
1724
+ completedAt: TicketCompletedAt;
1725
+ /** アーカイブ日時 */
1726
+ archivedAt: TicketArchivedAt;
1780
1727
  /** 更新日時 */
1781
1728
  updatedAt: string;
1782
1729
  /** チケットがテナント全体に共有の場合true */
@@ -1794,41 +1741,22 @@ export type TicketWithStepAllOf = {
1794
1741
  };
1795
1742
  export type TicketWithStep = Ticket & TicketWithStepAllOf;
1796
1743
  /**
1797
- * @nullable
1744
+ * 申請者の所属チーム. 外部ゲストの場合はnullになります。
1798
1745
  */
1799
- export type TicketDetailAllOfAuthorTeamAnyOf = unknown | null;
1800
- /**
1801
- * 申請者の所属チーム
1802
- * @nullable
1803
- */
1804
- export type TicketDetailAllOfAuthorTeam = Team | TicketDetailAllOfAuthorTeamAnyOf | null;
1805
- /**
1806
- * @nullable
1807
- */
1808
- export type TicketDetailAllOfRouteAnyOf = unknown | null;
1746
+ export type TicketDetailAllOfAuthorTeam = Team | null;
1809
1747
  /**
1810
1748
  * このチケットの承認経路。申請拒否状態の場合、nullになります。
1811
- * @nullable
1812
- */
1813
- export type TicketDetailAllOfRoute = RouteDetail | TicketDetailAllOfRouteAnyOf | null;
1814
- /**
1815
- * @nullable
1816
1749
  */
1817
- export type TicketDetailAllOfTriggerTicketAnyOf = unknown | null;
1750
+ export type TicketDetailAllOfRoute = RouteDetail | null;
1818
1751
  /**
1819
1752
  * 元のチケット(パイプラインで作成されたときのみ値が入ります)
1820
- * @nullable
1821
1753
  */
1822
- export type TicketDetailAllOfTriggerTicket = Ticket | TicketDetailAllOfTriggerTicketAnyOf | null;
1823
- /**
1824
- * @nullable
1825
- */
1826
- export type TicketDetailAllOfCloudSignDocumentAnyOf = unknown | null;
1754
+ export type TicketDetailAllOfTriggerTicket = Ticket | null;
1827
1755
  /**
1828
1756
  * クラウドサイン書類のステータス
1829
1757
  */
1830
- export type TicketDetailAllOfCloudSignDocumentAnyOfTwoStatus = (typeof TicketDetailAllOfCloudSignDocumentAnyOfTwoStatus)[keyof typeof TicketDetailAllOfCloudSignDocumentAnyOfTwoStatus];
1831
- export declare const TicketDetailAllOfCloudSignDocumentAnyOfTwoStatus: {
1758
+ export type TicketDetailAllOfCloudSignDocumentAnyOfStatus = (typeof TicketDetailAllOfCloudSignDocumentAnyOfStatus)[keyof typeof TicketDetailAllOfCloudSignDocumentAnyOfStatus];
1759
+ export declare const TicketDetailAllOfCloudSignDocumentAnyOfStatus: {
1832
1760
  readonly draft: "draft";
1833
1761
  readonly in_progress: "in_progress";
1834
1762
  readonly rejected: "rejected";
@@ -1836,7 +1764,7 @@ export declare const TicketDetailAllOfCloudSignDocumentAnyOfTwoStatus: {
1836
1764
  readonly imported: "imported";
1837
1765
  readonly completed: "completed";
1838
1766
  };
1839
- export type TicketDetailAllOfCloudSignDocumentAnyOfTwo = {
1767
+ export type TicketDetailAllOfCloudSignDocumentAnyOf = {
1840
1768
  /** UUID */
1841
1769
  id: string;
1842
1770
  /** クラウドサイン書類のID */
@@ -1844,7 +1772,7 @@ export type TicketDetailAllOfCloudSignDocumentAnyOfTwo = {
1844
1772
  /** クラウドサイン書類のタイトル */
1845
1773
  documentTitle: string;
1846
1774
  /** クラウドサイン書類のステータス */
1847
- status: TicketDetailAllOfCloudSignDocumentAnyOfTwoStatus;
1775
+ status: TicketDetailAllOfCloudSignDocumentAnyOfStatus;
1848
1776
  /** クラウドサインがサンドボックス環境の場合true */
1849
1777
  sandbox: boolean;
1850
1778
  /** 作成日時 */
@@ -1856,24 +1784,14 @@ export type TicketDetailAllOfCloudSignDocumentAnyOfTwo = {
1856
1784
  };
1857
1785
  /**
1858
1786
  * 添付されたクラウドサインの書類
1859
- * @nullable
1860
1787
  */
1861
- export type TicketDetailAllOfCloudSignDocument = TicketDetailAllOfCloudSignDocumentAnyOf | TicketDetailAllOfCloudSignDocumentAnyOfTwo | null;
1788
+ export type TicketDetailAllOfCloudSignDocument = null | TicketDetailAllOfCloudSignDocumentAnyOf;
1862
1789
  export type TicketDetailAllOf = {
1863
- /**
1864
- * 申請者の所属チーム
1865
- * @nullable
1866
- */
1790
+ /** 申請者の所属チーム. 外部ゲストの場合はnullになります。 */
1867
1791
  authorTeam: TicketDetailAllOfAuthorTeam;
1868
- /**
1869
- * このチケットの承認経路。申請拒否状態の場合、nullになります。
1870
- * @nullable
1871
- */
1792
+ /** このチケットの承認経路。申請拒否状態の場合、nullになります。 */
1872
1793
  route: TicketDetailAllOfRoute;
1873
- /**
1874
- * 元のチケット(パイプラインで作成されたときのみ値が入ります)
1875
- * @nullable
1876
- */
1794
+ /** 元のチケット(パイプラインで作成されたときのみ値が入ります) */
1877
1795
  triggerTicket?: TicketDetailAllOfTriggerTicket;
1878
1796
  /** 次のチケット(パイプラインで次のチケットを作成したときのみ値が入ります) */
1879
1797
  nextTickets?: Ticket[];
@@ -1883,10 +1801,7 @@ export type TicketDetailAllOf = {
1883
1801
  ticketSections: TicketSection[];
1884
1802
  /** フォームの入力 */
1885
1803
  inputs: TicketInput[];
1886
- /**
1887
- * 添付されたクラウドサインの書類
1888
- * @nullable
1889
- */
1804
+ /** 添付されたクラウドサインの書類 */
1890
1805
  cloudSignDocument: TicketDetailAllOfCloudSignDocument;
1891
1806
  /** チケットのステップ */
1892
1807
  steps: TicketStep[];
@@ -1895,11 +1810,15 @@ export type TicketDetailAllOf = {
1895
1810
  * チケットの詳細
1896
1811
  */
1897
1812
  export type TicketDetail = Ticket & TicketDetailAllOf;
1813
+ export type TicketInputValueAnyOf = string | null;
1814
+ export type TicketInputValueAnyOfTwo = unknown[] | null;
1815
+ export type TicketInputValueAnyOfThree = number | null;
1816
+ export type TicketInputValueAnyOfFour = number | null;
1898
1817
  /**
1899
1818
  * 入力値
1900
1819
  フィールドの型が汎用マスタアイテム、ユーザー、チーム、チケットの場合、JSON Arrayがキャッシュとして保存されます。
1901
1820
  */
1902
- export type TicketInputValue = string | null | unknown[] | null | number | null | number | null;
1821
+ export type TicketInputValue = TicketInputValueAnyOf | TicketInputValueAnyOfTwo | TicketInputValueAnyOfThree | TicketInputValueAnyOfFour;
1903
1822
  /**
1904
1823
  * チケットのフォーム入力
1905
1824
  */
@@ -1932,6 +1851,14 @@ export interface TicketSection {
1932
1851
  /** このセクションの入力の配列 */
1933
1852
  inputs: TicketInput[];
1934
1853
  }
1854
+ /**
1855
+ * 経路ステップのUUID。カスタムステップの場合、nullになります。
1856
+ */
1857
+ export type TicketStepRouteStepId = string | null;
1858
+ /**
1859
+ * ステップのタイトル
1860
+ */
1861
+ export type TicketStepTitle = string | null;
1935
1862
  /**
1936
1863
  * アクションタイプ。承認/差し戻しの場合approve、回覧(確認あり)の場合confirm、回覧(確認なし)の場合noneになります。
1937
1864
  */
@@ -1941,40 +1868,28 @@ export declare const TicketStepActionType: {
1941
1868
  readonly confirm: "confirm";
1942
1869
  readonly none: "none";
1943
1870
  };
1944
- /**
1945
- * @nullable
1946
- */
1947
- export type TicketStepFallbackResultAnyOf = unknown | null;
1948
1871
  /**
1949
1872
  * フォールバックの結果
1950
- * @nullable
1951
1873
  */
1952
- export type TicketStepFallbackResult = 'direct_manager' | 'higher_manager' | 'skip' | TicketStepFallbackResultAnyOf | null;
1874
+ export type TicketStepFallbackResult = 'direct_manager' | 'higher_manager' | 'skip' | null;
1953
1875
  /**
1954
- * @nullable
1876
+ * 承認ステップの作成者。カスタムステップの場合のみ、値が入ります。
1955
1877
  */
1956
- export type TicketStepAuthorAnyOf = unknown | null;
1878
+ export type TicketStepAuthor = User | null;
1957
1879
  /**
1958
- * 承認ステップの作成者。カスタムステップの場合のみ、値が入ります。
1959
- * @nullable
1880
+ * ステップが完了した日時。過去のデータではnullを返します。
1960
1881
  */
1961
- export type TicketStepAuthor = User | TicketStepAuthorAnyOf | null;
1882
+ export type TicketStepCompletedAt = string | null;
1962
1883
  /**
1963
1884
  * チケット承認ステップ
1964
1885
  */
1965
1886
  export interface TicketStep {
1966
1887
  /** UUID */
1967
1888
  id: string;
1968
- /**
1969
- * 経路ステップのUUID。カスタムステップの場合、nullになります。
1970
- * @nullable
1971
- */
1972
- routeStepId: string | null;
1973
- /**
1974
- * ステップのタイトル
1975
- * @nullable
1976
- */
1977
- title: string | null;
1889
+ /** 経路ステップのUUID。カスタムステップの場合、nullになります。 */
1890
+ routeStepId: TicketStepRouteStepId;
1891
+ /** ステップのタイトル */
1892
+ title: TicketStepTitle;
1978
1893
  /** アクションタイプ。承認/差し戻しの場合approve、回覧(確認あり)の場合confirm、回覧(確認なし)の場合noneになります。 */
1979
1894
  actionType: TicketStepActionType;
1980
1895
  /** 必要な承認人数 */
@@ -1987,26 +1902,21 @@ export interface TicketStep {
1987
1902
  skip: boolean;
1988
1903
  /** フォールバックした場合true */
1989
1904
  fallback: boolean;
1990
- /**
1991
- * フォールバックの結果
1992
- * @nullable
1993
- */
1905
+ /** フォールバックの結果 */
1994
1906
  fallbackResult: TicketStepFallbackResult;
1995
- /**
1996
- * 承認ステップの作成者。カスタムステップの場合のみ、値が入ります。
1997
- * @nullable
1998
- */
1907
+ /** 承認ステップの作成者。カスタムステップの場合のみ、値が入ります。 */
1999
1908
  author: TicketStepAuthor;
2000
1909
  /** 承認者 */
2001
1910
  assignees: TicketAssignee[];
2002
1911
  /** ステップが完了している場合true */
2003
1912
  completed: boolean;
2004
- /**
2005
- * ステップが完了した日時。過去のデータではnullを返します。
2006
- * @nullable
2007
- */
2008
- completedAt: string | null;
1913
+ /** ステップが完了した日時。過去のデータではnullを返します。 */
1914
+ completedAt: TicketStepCompletedAt;
2009
1915
  }
1916
+ /**
1917
+ * 承認日時。古いデータではnullを返します。
1918
+ */
1919
+ export type TicketAssigneeCompletedAt = string | null;
2010
1920
  /**
2011
1921
  * チケット承認者
2012
1922
  */
@@ -2019,11 +1929,8 @@ export interface TicketAssignee {
2019
1929
  current: boolean;
2020
1930
  /** 承認済みの場合true */
2021
1931
  completed: boolean;
2022
- /**
2023
- * 承認日時。古いデータではnullを返します。
2024
- * @nullable
2025
- */
2026
- completedAt: string | null;
1932
+ /** 承認日時。古いデータではnullを返します。 */
1933
+ completedAt: TicketAssigneeCompletedAt;
2027
1934
  /** 承認を保留中の場合true */
2028
1935
  pending: boolean;
2029
1936
  user: User;
@@ -2058,9 +1965,8 @@ export interface SlipItem {
2058
1965
  * 入力値
2059
1966
 
2060
1967
  フィールドの型が汎用マスタアイテムの場合、JSON Arrayがキャッシュとして保存されます。
2061
- * @nullable
2062
1968
  */
2063
- export type SlipItemInputValue = string | null | unknown[] | null | number | null | number | null | null;
1969
+ export type SlipItemInputValue = string | unknown[] | number | number | null;
2064
1970
  /**
2065
1971
  * 明細アイテム入力
2066
1972
  */
@@ -2073,12 +1979,9 @@ export interface SlipItemInput {
2073
1979
  createdAt: string;
2074
1980
  /** 更新日時 */
2075
1981
  updatedAt: string;
2076
- /**
2077
- * 入力値
1982
+ /** 入力値
2078
1983
 
2079
- フィールドの型が汎用マスタアイテムの場合、JSON Arrayがキャッシュとして保存されます。
2080
- * @nullable
2081
- */
1984
+ フィールドの型が汎用マスタアイテムの場合、JSON Arrayがキャッシュとして保存されます。 */
2082
1985
  value: SlipItemInputValue;
2083
1986
  /** 入力値: 汎用マスタアイテム */
2084
1987
  generalMasterItems: GeneralMasterItem[];
@@ -2091,6 +1994,10 @@ export interface SlipItemInput {
2091
1994
  /** 添付ファイル */
2092
1995
  attachments: Attachment[];
2093
1996
  }
1997
+ /**
1998
+ * 説明
1999
+ */
2000
+ export type LabelDescription = string | null;
2094
2001
  /**
2095
2002
  * ラベル
2096
2003
  */
@@ -2099,11 +2006,8 @@ export interface Label {
2099
2006
  id: string;
2100
2007
  /** 名前 */
2101
2008
  name: string;
2102
- /**
2103
- * 説明
2104
- * @nullable
2105
- */
2106
- description: string | null;
2009
+ /** 説明 */
2010
+ description: LabelDescription;
2107
2011
  /**
2108
2012
  * ラベルの色。#なしHEXコード(例: ff0000)
2109
2013
  * @minLength 6
@@ -2116,6 +2020,10 @@ export interface Label {
2116
2020
  /** 更新日時 */
2117
2021
  updatedAt: string;
2118
2022
  }
2023
+ /**
2024
+ * 説明
2025
+ */
2026
+ export type SubStatusNotes = string | null;
2119
2027
  /**
2120
2028
  * サブステータス
2121
2029
  */
@@ -2126,57 +2034,32 @@ export interface SubStatus {
2126
2034
  code: string;
2127
2035
  /** 名前 */
2128
2036
  name: string;
2129
- /**
2130
- * 説明
2131
- * @nullable
2132
- */
2133
- notes: string | null;
2037
+ /** 説明 */
2038
+ notes: SubStatusNotes;
2134
2039
  /** 作成日時 */
2135
2040
  createdAt: string;
2136
2041
  /** 更新日時 */
2137
2042
  updatedAt: string;
2138
2043
  }
2139
- /**
2140
- * @nullable
2141
- */
2142
- export type TicketViewerUserAnyOf = unknown | null;
2143
- /**
2144
- * @nullable
2145
- */
2146
- export type TicketViewerUser = User | TicketViewerUserAnyOf | null;
2147
- /**
2148
- * @nullable
2149
- */
2150
- export type TicketViewerTeamAnyOf = unknown | null;
2151
- /**
2152
- * @nullable
2153
- */
2154
- export type TicketViewerTeam = Team | TicketViewerTeamAnyOf | null;
2155
- /**
2156
- * @nullable
2157
- */
2158
- export type TicketViewerGradeAnyOf = unknown | null;
2159
- /**
2160
- * @nullable
2161
- */
2162
- export type TicketViewerGrade = Grade | TicketViewerGradeAnyOf | null;
2044
+ export type TicketViewerUser = User | null;
2045
+ export type TicketViewerTeam = Team | null;
2046
+ export type TicketViewerGrade = Grade | null;
2163
2047
  /**
2164
2048
  * チケットの共有ユーザー
2165
2049
  */
2166
2050
  export interface TicketViewer {
2167
2051
  /** UUID */
2168
2052
  id: string;
2169
- /** @nullable */
2170
2053
  user: TicketViewerUser;
2171
- /** @nullable */
2172
2054
  team: TicketViewerTeam;
2173
- /** @nullable */
2174
2055
  grade: TicketViewerGrade;
2175
- /**
2176
- * 下位のチームを含めるかどうか
2177
- */
2056
+ /** 下位のチームを含めるかどうか */
2178
2057
  descendants: boolean;
2179
2058
  }
2059
+ /**
2060
+ * 削除日時
2061
+ */
2062
+ export type CommentDeletedAt = string | null;
2180
2063
  /**
2181
2064
  * コメント
2182
2065
  */
@@ -2191,64 +2074,107 @@ export interface Comment {
2191
2074
  createdAt: string;
2192
2075
  /** 更新日時 */
2193
2076
  updatedAt: string;
2194
- /**
2195
- * 削除日時
2196
- * @nullable
2197
- */
2198
- deletedAt: string | null;
2077
+ /** 削除日時 */
2078
+ deletedAt: CommentDeletedAt;
2199
2079
  user: User;
2200
2080
  /** メンションしたユーザーの配列 */
2201
2081
  mentionedUsers: User[];
2202
2082
  }
2203
- /**
2204
- * @nullable
2205
- */
2206
- export type AuditLogUserAnyOf = unknown | null;
2207
2083
  /**
2208
2084
  * 操作ユーザー。システムによる操作の場合はnull。
2209
- * @nullable
2210
2085
  */
2211
- export type AuditLogUser = User | AuditLogUserAnyOf | null;
2086
+ export type AuditLogUser = User | null;
2212
2087
  /**
2213
2088
  * 操作データ
2214
- * @nullable
2215
2089
  */
2216
- export type AuditLogData = {
2090
+ export type AuditLogDataAnyOf = {
2217
2091
  [key: string]: unknown;
2218
- } | null;
2092
+ };
2093
+ /**
2094
+ * 操作データ
2095
+ */
2096
+ export type AuditLogData = AuditLogDataAnyOf | null;
2097
+ /**
2098
+ * リモートIPアドレス
2099
+ */
2100
+ export type AuditLogRemoteIp = string | null;
2101
+ /**
2102
+ * システムによる操作種別
2103
+ */
2104
+ export type AuditLogSystemType = string | null;
2219
2105
  /**
2220
2106
  * 監査ログ
2221
2107
  */
2222
2108
  export interface AuditLog {
2223
2109
  /** UUID */
2224
2110
  id: string;
2225
- /**
2226
- * 操作ユーザー。システムによる操作の場合はnull。
2227
- * @nullable
2228
- */
2111
+ /** 操作ユーザー。システムによる操作の場合はnull。 */
2229
2112
  user: AuditLogUser;
2230
2113
  /** 操作種別 */
2231
2114
  action: string;
2232
- /**
2233
- * 操作データ
2234
- * @nullable
2235
- */
2115
+ /** 操作データ */
2236
2116
  data: AuditLogData;
2237
- /**
2238
- * リモートIPアドレス
2239
- * @nullable
2240
- */
2241
- remoteIp: string | null;
2242
- /**
2243
- * システムによる操作種別
2244
- * @nullable
2245
- */
2246
- systemType: string | null;
2117
+ /** リモートIPアドレス */
2118
+ remoteIp: AuditLogRemoteIp;
2119
+ /** システムによる操作種別 */
2120
+ systemType: AuditLogSystemType;
2247
2121
  /** 作成日時 */
2248
2122
  createdAt: string;
2249
2123
  /** 更新日時 */
2250
2124
  updatedAt: string;
2251
2125
  }
2126
+ export type WebhookRequestBodyPingData = {
2127
+ /** メッセージ。eventTypeがpingの場合に使用されます。 */
2128
+ message?: string;
2129
+ };
2130
+ /**
2131
+ * Webhookのリクエストボディ(ping)
2132
+ */
2133
+ export interface WebhookRequestBodyPing {
2134
+ /** イベントの種類 */
2135
+ eventType?: string;
2136
+ tenant?: WebhookTenant;
2137
+ user?: User;
2138
+ data?: WebhookRequestBodyPingData;
2139
+ }
2140
+ export type WebhookRequestBodyTicketData = {
2141
+ ticket?: TicketWithStep;
2142
+ };
2143
+ /**
2144
+ * Webhookのリクエストボディ(ticket_*)
2145
+ */
2146
+ export interface WebhookRequestBodyTicket {
2147
+ /** イベントの種類 */
2148
+ eventType?: string;
2149
+ tenant?: WebhookTenant;
2150
+ user?: User;
2151
+ data?: WebhookRequestBodyTicketData;
2152
+ }
2153
+ export type WebhookRequestBodyCommentData = {
2154
+ ticket?: TicketWithStep;
2155
+ comment?: Comment;
2156
+ };
2157
+ /**
2158
+ * Webhookのリクエストボディ(comment_*)
2159
+ */
2160
+ export interface WebhookRequestBodyComment {
2161
+ /** イベントの種類 */
2162
+ eventType?: string;
2163
+ tenant?: WebhookTenant;
2164
+ user?: User;
2165
+ data?: WebhookRequestBodyCommentData;
2166
+ }
2167
+ /**
2168
+ * Webhookのテナント情報
2169
+ */
2170
+ export interface WebhookTenant {
2171
+ /** テナントのUUID */
2172
+ id?: string;
2173
+ /** テナントのパブリックID(サブドメイン) */
2174
+ publicId?: string;
2175
+ /** テナント名 */
2176
+ name?: string;
2177
+ }
2252
2178
  /**
2253
2179
  * kintone連携
2254
2180
  */
@@ -2286,6 +2212,31 @@ export interface KintoneAppSetting {
2286
2212
  /** フィールドへのマッピング設定 */
2287
2213
  mappings: KintoneAppSettingMappingsItem[];
2288
2214
  }
2215
+ /**
2216
+ * 絞り込み先のフィールドのタイプ
2217
+ */
2218
+ export type GeneralMasterSearchFilterFieldType = (typeof GeneralMasterSearchFilterFieldType)[keyof typeof GeneralMasterSearchFilterFieldType];
2219
+ export declare const GeneralMasterSearchFilterFieldType: {
2220
+ readonly free_word: "free_word";
2221
+ readonly name: "name";
2222
+ readonly code: "code";
2223
+ readonly description: "description";
2224
+ readonly custom_field: "custom_field";
2225
+ };
2226
+ /**
2227
+ * fieldType=custom_fieldの場合に絞り込み先の汎用マスタのカスタムフィールドのID(UUID)
2228
+ */
2229
+ export type GeneralMasterSearchFilterGeneralMasterFieldId = string | null;
2230
+ export interface GeneralMasterSearchFilter {
2231
+ /** UUID */
2232
+ id: string;
2233
+ /** 絞り込みに使う汎用フィールドのID(UUID) */
2234
+ filterFormFieldId: string;
2235
+ /** 絞り込み先のフィールドのタイプ */
2236
+ fieldType: GeneralMasterSearchFilterFieldType;
2237
+ /** fieldType=custom_fieldの場合に絞り込み先の汎用マスタのカスタムフィールドのID(UUID) */
2238
+ generalMasterFieldId: GeneralMasterSearchFilterGeneralMasterFieldId;
2239
+ }
2289
2240
  /**
2290
2241
  * Bad Request
2291
2242
  */
@@ -2305,14 +2256,14 @@ export type NotFoundResponse = ErrorResponse;
2305
2256
  /**
2306
2257
  * バリデーションエラーの詳細
2307
2258
  */
2308
- export type UnprocessableEntityResponseAllOfErrors = {
2259
+ export type UnprocessableContentResponseAllOfErrors = {
2309
2260
  [key: string]: string[];
2310
2261
  };
2311
- export type UnprocessableEntityResponseAllOf = {
2262
+ export type UnprocessableContentResponseAllOf = {
2312
2263
  /** バリデーションエラーの詳細 */
2313
- errors?: UnprocessableEntityResponseAllOfErrors;
2264
+ errors?: UnprocessableContentResponseAllOfErrors;
2314
2265
  };
2315
- export type UnprocessableEntityResponse = ErrorResponse & UnprocessableEntityResponseAllOf;
2266
+ export type UnprocessableContentResponse = ErrorResponse & UnprocessableContentResponseAllOf;
2316
2267
  export type ListCategoriesParams = {
2317
2268
  /**
2318
2269
  * ページ
@@ -2349,19 +2300,24 @@ export type ListFoldersParams = {
2349
2300
  */
2350
2301
  sortBy?: string;
2351
2302
  };
2303
+ /**
2304
+ * 親フォルダのID
2305
+ */
2306
+ export type CreateFolderBodyParentFolderId = string | null;
2352
2307
  export type CreateFolderBody = {
2353
2308
  /** 名前 */
2354
2309
  name: string;
2355
- /** コード。未指定の場合、ランダムな英数字がセットされます。 */
2310
+ /** コード。未指定の場合、ランダムな英数字が自動的に設定されます。 */
2356
2311
  code?: string;
2357
2312
  /** フォルダの説明 */
2358
2313
  description?: string;
2359
- /**
2360
- * 親フォルダのID
2361
- * @nullable
2362
- */
2363
- parentFolderId?: string | null;
2314
+ /** 親フォルダのID */
2315
+ parentFolderId?: CreateFolderBodyParentFolderId;
2364
2316
  };
2317
+ /**
2318
+ * 親フォルダのID
2319
+ */
2320
+ export type UpdateFolderBodyParentFolderId = string | null;
2365
2321
  export type UpdateFolderBody = {
2366
2322
  /** 名前 */
2367
2323
  name?: string;
@@ -2369,11 +2325,8 @@ export type UpdateFolderBody = {
2369
2325
  code?: string;
2370
2326
  /** フォルダの説明 */
2371
2327
  description?: string;
2372
- /**
2373
- * 親フォルダのID
2374
- * @nullable
2375
- */
2376
- parentFolderId?: string | null;
2328
+ /** 親フォルダのID */
2329
+ parentFolderId?: UpdateFolderBodyParentFolderId;
2377
2330
  };
2378
2331
  export type ListGeneralMastersParams = {
2379
2332
  /**
@@ -2389,6 +2342,18 @@ export type ListGeneralMastersParams = {
2389
2342
  */
2390
2343
  sortBy?: string;
2391
2344
  };
2345
+ /**
2346
+ * コード。未指定の場合、ランダムな英数字が自動的に設定されます。
2347
+ */
2348
+ export type CreateGeneralMasterBodyCode = string | null;
2349
+ /**
2350
+ * 説明
2351
+ */
2352
+ export type CreateGeneralMasterBodyDescription = string | null;
2353
+ /**
2354
+ * フィールドの説明
2355
+ */
2356
+ export type CreateGeneralMasterBodyFieldsItemDescription = string | null;
2392
2357
  /**
2393
2358
  * フィールドの型
2394
2359
  */
@@ -2402,68 +2367,62 @@ export declare const CreateGeneralMasterBodyFieldsItemFieldType: {
2402
2367
  readonly pull_down: "pull_down";
2403
2368
  readonly date: "date";
2404
2369
  };
2370
+ /**
2371
+ * 選択肢。fieldTypeがcheckboxまたはpull_downのとき必須。
2372
+ */
2373
+ export type CreateGeneralMasterBodyFieldsItemOptions = string[] | null;
2405
2374
  export type CreateGeneralMasterBodyFieldsItem = {
2406
2375
  /** フィールド名 */
2407
2376
  title: string;
2408
- /**
2409
- * フィールドの説明
2410
- * @nullable
2411
- */
2412
- description?: string | null;
2377
+ /** フィールドの説明 */
2378
+ description?: CreateGeneralMasterBodyFieldsItemDescription;
2413
2379
  /** フィールドのコード */
2414
2380
  code: string;
2415
2381
  /** 入力必須かどうか */
2416
2382
  required: boolean;
2417
2383
  /** フィールドの型 */
2418
2384
  fieldType: CreateGeneralMasterBodyFieldsItemFieldType;
2419
- /**
2420
- * 選択肢。fieldTypeがcheckboxまたはpull_downのとき必須。
2421
- * @nullable
2422
- */
2423
- options?: string[] | null;
2385
+ /** 選択肢。fieldTypeがcheckboxまたはpull_downのとき必須。 */
2386
+ options?: CreateGeneralMasterBodyFieldsItemOptions;
2424
2387
  /** 管理者以外も閲覧可能な場合true */
2425
2388
  visible?: boolean;
2426
2389
  };
2427
2390
  export type CreateGeneralMasterBody = {
2428
2391
  /** 名前 */
2429
2392
  name: string;
2430
- /**
2431
- * コード。未指定の場合、ランダムな英数字がセットされます。
2432
- * @nullable
2433
- */
2434
- code?: string | null;
2435
- /**
2436
- * 説明
2437
- * @nullable
2438
- */
2439
- description?: string | null;
2393
+ /** コード。未指定の場合、ランダムな英数字が自動的に設定されます。 */
2394
+ code?: CreateGeneralMasterBodyCode;
2395
+ /** 説明 */
2396
+ description?: CreateGeneralMasterBodyDescription;
2440
2397
  /** カスタムフィールドの配列 */
2441
2398
  fields?: CreateGeneralMasterBodyFieldsItem[];
2442
2399
  };
2400
+ /**
2401
+ * フィールドの説明
2402
+ */
2403
+ export type UpdateGeneralMasterBodyFieldsItemDescription = string | null;
2404
+ /**
2405
+ * 選択肢。fieldTypeがcheckboxまたはpull_downのときのみ必須。
2406
+ */
2407
+ export type UpdateGeneralMasterBodyFieldsItemOptions = string[] | null;
2443
2408
  export type UpdateGeneralMasterBodyFieldsItem = {
2444
2409
  /** フィールド名 */
2445
2410
  title?: string;
2446
- /**
2447
- * フィールドの説明
2448
- * @nullable
2449
- */
2450
- description?: string | null;
2411
+ /** フィールドの説明 */
2412
+ description?: UpdateGeneralMasterBodyFieldsItemDescription;
2451
2413
  /** フィールドのコード */
2452
2414
  code: string;
2453
2415
  /** 入力必須かどうか */
2454
2416
  required?: boolean;
2455
2417
  /** フィールドの型 */
2456
2418
  fieldType?: string;
2457
- /**
2458
- * 選択肢。fieldTypeがcheckboxまたはpull_downのときのみ必須。
2459
- * @nullable
2460
- */
2461
- options?: string[] | null;
2419
+ /** 選択肢。fieldTypeがcheckboxまたはpull_downのときのみ必須。 */
2420
+ options?: UpdateGeneralMasterBodyFieldsItemOptions;
2462
2421
  /** 管理者以外も閲覧可能な場合true */
2463
2422
  visible?: boolean;
2464
2423
  };
2465
2424
  export type UpdateGeneralMasterBody = {
2466
- /** コード。未指定の場合、ランダムな英数字がセットされます。 */
2425
+ /** コード。未指定の場合、ランダムな英数字が自動的に設定されます。 */
2467
2426
  code?: string;
2468
2427
  /** 名前 */
2469
2428
  name?: string;
@@ -2486,10 +2445,19 @@ export type ListGeneralMasterItemsParams = {
2486
2445
  */
2487
2446
  sortBy?: string;
2488
2447
  };
2448
+ /**
2449
+ * 有効期限の開始日
2450
+ */
2451
+ export type CreateGeneralMasterItemBodyStartsOn = string | null;
2452
+ /**
2453
+ * 有効期限の終了日
2454
+ */
2455
+ export type CreateGeneralMasterItemBodyEndsOn = string | null;
2456
+ export type CreateGeneralMasterItemBodyInputsItemValueOneOf = string | null;
2489
2457
  /**
2490
2458
  * 入力値。カスタムフィールドがcheckboxまたはpull_downの場合は文字列の配列、それ以外は文字列。
2491
2459
  */
2492
- export type CreateGeneralMasterItemBodyInputsItemValue = string | null | string[];
2460
+ export type CreateGeneralMasterItemBodyInputsItemValue = CreateGeneralMasterItemBodyInputsItemValueOneOf | string[];
2493
2461
  export type CreateGeneralMasterItemBodyInputsItem = {
2494
2462
  /** フィールドのコード */
2495
2463
  code: string;
@@ -2497,29 +2465,32 @@ export type CreateGeneralMasterItemBodyInputsItem = {
2497
2465
  value: CreateGeneralMasterItemBodyInputsItemValue;
2498
2466
  };
2499
2467
  export type CreateGeneralMasterItemBody = {
2500
- /** コード。未指定の場合、ランダムな英数字がセットされます。 */
2468
+ /** コード。未指定の場合、ランダムな英数字が自動的に設定されます。 */
2501
2469
  code?: string;
2502
2470
  /** 名前 */
2503
2471
  name: string;
2504
2472
  /** 説明 */
2505
2473
  description?: string;
2506
- /**
2507
- * 有効期限の開始日
2508
- * @nullable
2509
- */
2510
- startsOn?: string | null;
2511
- /**
2512
- * 有効期限の終了日
2513
- * @nullable
2514
- */
2515
- endsOn?: string | null;
2474
+ /** 有効期限の開始日 */
2475
+ startsOn?: CreateGeneralMasterItemBodyStartsOn;
2476
+ /** 有効期限の終了日 */
2477
+ endsOn?: CreateGeneralMasterItemBodyEndsOn;
2516
2478
  /** カスタムフィールドの入力。必須ではないカスタムフィールドを含む、すべてのカスタムフィールドに対して入力する必要があります。 */
2517
2479
  inputs: CreateGeneralMasterItemBodyInputsItem[];
2518
2480
  };
2481
+ /**
2482
+ * 有効期限の開始日
2483
+ */
2484
+ export type UpdateGeneralMasterItemBodyStartsOn = string | null;
2485
+ /**
2486
+ * 有効期限の終了日
2487
+ */
2488
+ export type UpdateGeneralMasterItemBodyEndsOn = string | null;
2489
+ export type UpdateGeneralMasterItemBodyInputsItemValueOneOf = string | null;
2519
2490
  /**
2520
2491
  * 入力値。カスタムフィールドがcheckboxまたはpull_downの場合文字列の配列、それ以外の場合文字列。
2521
2492
  */
2522
- export type UpdateGeneralMasterItemBodyInputsItemValue = string | null | string[];
2493
+ export type UpdateGeneralMasterItemBodyInputsItemValue = UpdateGeneralMasterItemBodyInputsItemValueOneOf | string[];
2523
2494
  export type UpdateGeneralMasterItemBodyInputsItem = {
2524
2495
  /** フィールドのコード */
2525
2496
  code: string;
@@ -2527,22 +2498,16 @@ export type UpdateGeneralMasterItemBodyInputsItem = {
2527
2498
  value: UpdateGeneralMasterItemBodyInputsItemValue;
2528
2499
  };
2529
2500
  export type UpdateGeneralMasterItemBody = {
2530
- /** コード。未指定の場合、ランダムな英数字がセットされます。 */
2501
+ /** コード。未指定の場合、ランダムな英数字が自動的に設定されます。 */
2531
2502
  code?: string;
2532
2503
  /** 名前 */
2533
2504
  name?: string;
2534
2505
  /** 説明 */
2535
2506
  description?: string;
2536
- /**
2537
- * 有効期限の開始日
2538
- * @nullable
2539
- */
2540
- startsOn?: string | null;
2541
- /**
2542
- * 有効期限の終了日
2543
- * @nullable
2544
- */
2545
- endsOn?: string | null;
2507
+ /** 有効期限の開始日 */
2508
+ startsOn?: UpdateGeneralMasterItemBodyStartsOn;
2509
+ /** 有効期限の終了日 */
2510
+ endsOn?: UpdateGeneralMasterItemBodyEndsOn;
2546
2511
  /** カスタムフィールドの入力。必須ではないカスタムフィールドを含む、すべてのカスタムフィールドに対して入力する必要があります。 */
2547
2512
  inputs?: UpdateGeneralMasterItemBodyInputsItem[];
2548
2513
  };
@@ -2783,40 +2748,64 @@ export declare const CreateTicketBodyStatus: {
2783
2748
  readonly draft: "draft";
2784
2749
  readonly in_progress: "in_progress";
2785
2750
  };
2751
+ /**
2752
+ * 依頼者となるユーザーのUUID。代理申請の場合のみ指定してください。
2753
+ */
2754
+ export type CreateTicketBodyProxyClientUserId = string | null;
2755
+ /**
2756
+ * チケットのタイトル。ワークフローでtitleInputModeがinputのときのみ設定可能です。
2757
+ */
2758
+ export type CreateTicketBodyTitle = string | null;
2759
+ /**
2760
+ * 明細セクションのUUID。
2761
+ */
2762
+ export type CreateTicketBodySlipItemsItemSlipSectionId = string | null;
2763
+ /**
2764
+ * 明細フィールドのUUID。slipFieldIdまたはslipFieldCodeは片方のみ必須です。
2765
+ */
2766
+ export type CreateTicketBodySlipItemsItemInputsItemSlipFieldId = string | null;
2767
+ /**
2768
+ * 明細フィールドのコード。slipFieldIdまたはslipFieldCodeは片方のみ必須です。
2769
+ */
2770
+ export type CreateTicketBodySlipItemsItemInputsItemSlipFieldCode = string | null;
2771
+ export type CreateTicketBodySlipItemsItemInputsItemValueOneOf = string | null;
2786
2772
  /**
2787
2773
  * 入力値。フィールドがチェックボックスタイプのときは配列で指定してください。
2788
2774
  */
2789
- export type CreateTicketBodySlipItemsItemInputsItemValue = string | null | string[];
2775
+ export type CreateTicketBodySlipItemsItemInputsItemValue = CreateTicketBodySlipItemsItemInputsItemValueOneOf | string[];
2776
+ export type CreateTicketBodySlipItemsItemInputsItemGeneralMasterItemIdOneOf = string | null;
2790
2777
  /**
2791
2778
  * 汎用マスタアイテムのUUID。フィールドが汎用マスタタイプのときのみ指定してください。
2792
2779
  */
2793
- export type CreateTicketBodySlipItemsItemInputsItemGeneralMasterItemId = string | null | string[];
2780
+ export type CreateTicketBodySlipItemsItemInputsItemGeneralMasterItemId = CreateTicketBodySlipItemsItemInputsItemGeneralMasterItemIdOneOf | string[];
2781
+ export type CreateTicketBodySlipItemsItemInputsItemUserIdOneOf = string | null;
2794
2782
  /**
2795
2783
  * ユーザーUUID。フィールドがユーザータイプのときのみ指定してください。
2796
2784
  */
2797
- export type CreateTicketBodySlipItemsItemInputsItemUserId = string | null | string[];
2785
+ export type CreateTicketBodySlipItemsItemInputsItemUserId = CreateTicketBodySlipItemsItemInputsItemUserIdOneOf | string[];
2786
+ export type CreateTicketBodySlipItemsItemInputsItemTeamIdOneOf = string | null;
2798
2787
  /**
2799
2788
  * チームUUID。フィールドがチームタイプのときのみ指定してください。
2800
2789
  */
2801
- export type CreateTicketBodySlipItemsItemInputsItemTeamId = string | null | string[];
2790
+ export type CreateTicketBodySlipItemsItemInputsItemTeamId = CreateTicketBodySlipItemsItemInputsItemTeamIdOneOf | string[];
2791
+ export type CreateTicketBodySlipItemsItemInputsItemTicketIdOneOf = string | null;
2802
2792
  /**
2803
2793
  * チケットUUID。フィールドがチケットタイプのときのみ指定してください。
2804
2794
  */
2805
- export type CreateTicketBodySlipItemsItemInputsItemTicketId = string | null | string[];
2795
+ export type CreateTicketBodySlipItemsItemInputsItemTicketId = CreateTicketBodySlipItemsItemInputsItemTicketIdOneOf | string[];
2796
+ /**
2797
+ * 添付ファイルの署名済みID。
2798
+ フィールドがファイルタイプのときのみ指定してください。
2799
+ */
2800
+ export type CreateTicketBodySlipItemsItemInputsItemFiles = string[] | null;
2806
2801
  /**
2807
2802
  * 明細アイテム入力
2808
2803
  */
2809
2804
  export type CreateTicketBodySlipItemsItemInputsItem = {
2810
- /**
2811
- * 明細フィールドのUUID。slipFieldIdまたはslipFieldCodeは片方のみ必須です。
2812
- * @nullable
2813
- */
2814
- slipFieldId?: string | null;
2815
- /**
2816
- * 明細フィールドのコード。slipFieldIdまたはslipFieldCodeは片方のみ必須です。
2817
- * @nullable
2818
- */
2819
- slipFieldCode?: string | null;
2805
+ /** 明細フィールドのUUID。slipFieldIdまたはslipFieldCodeは片方のみ必須です。 */
2806
+ slipFieldId?: CreateTicketBodySlipItemsItemInputsItemSlipFieldId;
2807
+ /** 明細フィールドのコード。slipFieldIdまたはslipFieldCodeは片方のみ必須です。 */
2808
+ slipFieldCode?: CreateTicketBodySlipItemsItemInputsItemSlipFieldCode;
2820
2809
  /** 入力値。フィールドがチェックボックスタイプのときは配列で指定してください。 */
2821
2810
  value?: CreateTicketBodySlipItemsItemInputsItemValue;
2822
2811
  /** 汎用マスタアイテムのUUID。フィールドが汎用マスタタイプのときのみ指定してください。 */
@@ -2827,59 +2816,65 @@ export type CreateTicketBodySlipItemsItemInputsItem = {
2827
2816
  teamId?: CreateTicketBodySlipItemsItemInputsItemTeamId;
2828
2817
  /** チケットUUID。フィールドがチケットタイプのときのみ指定してください。 */
2829
2818
  ticketId?: CreateTicketBodySlipItemsItemInputsItemTicketId;
2830
- /**
2831
- * 添付ファイルの署名済みID。
2832
- フィールドがファイルタイプのときのみ指定してください。
2833
- * @nullable
2834
- */
2835
- files?: string[] | null;
2819
+ /** 添付ファイルの署名済みID。
2820
+ フィールドがファイルタイプのときのみ指定してください。 */
2821
+ files?: CreateTicketBodySlipItemsItemInputsItemFiles;
2836
2822
  };
2837
2823
  /**
2838
2824
  * 明細アイテム
2839
2825
  */
2840
2826
  export type CreateTicketBodySlipItemsItem = {
2841
- /**
2842
- * 明細セクションのUUID。
2843
- * @nullable
2844
- */
2845
- slipSectionId?: string | null;
2827
+ /** 明細セクションのUUID。 */
2828
+ slipSectionId?: CreateTicketBodySlipItemsItemSlipSectionId;
2846
2829
  /** 明細アイテム入力の配列 */
2847
2830
  inputs: CreateTicketBodySlipItemsItemInputsItem[];
2848
2831
  };
2832
+ /**
2833
+ * フォームフィールドのUUID。formFieldIdまたはformFieldCodeは片方のみ必須です。
2834
+ */
2835
+ export type CreateTicketBodyInputsItemFormFieldId = string | null;
2836
+ /**
2837
+ * フォームフィールドのコード。formFieldIdまたはformFieldCodeは片方のみ必須です。
2838
+ */
2839
+ export type CreateTicketBodyInputsItemFormFieldCode = string | null;
2840
+ export type CreateTicketBodyInputsItemValueOneOf = string | null;
2849
2841
  /**
2850
2842
  * 入力値。フィールドがチェックボックスタイプのときは配列で指定してください。
2851
2843
  */
2852
- export type CreateTicketBodyInputsItemValue = string | null | string[];
2844
+ export type CreateTicketBodyInputsItemValue = CreateTicketBodyInputsItemValueOneOf | string[];
2845
+ export type CreateTicketBodyInputsItemGeneralMasterItemIdOneOf = string | null;
2853
2846
  /**
2854
2847
  * 汎用マスタアイテムのUUID。フィールドが汎用マスタタイプのときのみ指定してください。
2855
2848
  */
2856
- export type CreateTicketBodyInputsItemGeneralMasterItemId = string | null | string[];
2849
+ export type CreateTicketBodyInputsItemGeneralMasterItemId = CreateTicketBodyInputsItemGeneralMasterItemIdOneOf | string[];
2850
+ export type CreateTicketBodyInputsItemUserIdOneOf = string | null;
2857
2851
  /**
2858
2852
  * ユーザーUUID。フィールドがユーザータイプのときのみ指定してください。
2859
2853
  */
2860
- export type CreateTicketBodyInputsItemUserId = string | null | string[];
2854
+ export type CreateTicketBodyInputsItemUserId = CreateTicketBodyInputsItemUserIdOneOf | string[];
2855
+ export type CreateTicketBodyInputsItemTeamIdOneOf = string | null;
2861
2856
  /**
2862
2857
  * チームUUID。フィールドがチームタイプのときのみ指定してください。
2863
2858
  */
2864
- export type CreateTicketBodyInputsItemTeamId = string | null | string[];
2859
+ export type CreateTicketBodyInputsItemTeamId = CreateTicketBodyInputsItemTeamIdOneOf | string[];
2860
+ export type CreateTicketBodyInputsItemTicketIdOneOf = string | null;
2865
2861
  /**
2866
2862
  * チケットUUID。フィールドがチケットタイプのときのみ指定してください。
2867
2863
  */
2868
- export type CreateTicketBodyInputsItemTicketId = string | null | string[];
2864
+ export type CreateTicketBodyInputsItemTicketId = CreateTicketBodyInputsItemTicketIdOneOf | string[];
2865
+ /**
2866
+ * 添付ファイルの署名済みID。
2867
+ フィールドがファイルタイプのときのみ指定してください。
2868
+ */
2869
+ export type CreateTicketBodyInputsItemFiles = string[] | null;
2869
2870
  /**
2870
2871
  * フォームの入力
2871
2872
  */
2872
2873
  export type CreateTicketBodyInputsItem = {
2873
- /**
2874
- * フォームフィールドのUUID。formFieldIdまたはformFieldCodeは片方のみ必須です。
2875
- * @nullable
2876
- */
2877
- formFieldId?: string | null;
2878
- /**
2879
- * フォームフィールドのUUID。formFieldIdまたはformFieldCodeは片方のみ必須です。
2880
- * @nullable
2881
- */
2882
- formFieldCode?: string | null;
2874
+ /** フォームフィールドのUUID。formFieldIdまたはformFieldCodeは片方のみ必須です。 */
2875
+ formFieldId?: CreateTicketBodyInputsItemFormFieldId;
2876
+ /** フォームフィールドのコード。formFieldIdまたはformFieldCodeは片方のみ必須です。 */
2877
+ formFieldCode?: CreateTicketBodyInputsItemFormFieldCode;
2883
2878
  /** 入力値。フィールドがチェックボックスタイプのときは配列で指定してください。 */
2884
2879
  value?: CreateTicketBodyInputsItemValue;
2885
2880
  /** 汎用マスタアイテムのUUID。フィールドが汎用マスタタイプのときのみ指定してください。 */
@@ -2890,12 +2885,9 @@ export type CreateTicketBodyInputsItem = {
2890
2885
  teamId?: CreateTicketBodyInputsItemTeamId;
2891
2886
  /** チケットUUID。フィールドがチケットタイプのときのみ指定してください。 */
2892
2887
  ticketId?: CreateTicketBodyInputsItemTicketId;
2893
- /**
2894
- * 添付ファイルの署名済みID。
2895
- フィールドがファイルタイプのときのみ指定してください。
2896
- * @nullable
2897
- */
2898
- files?: string[] | null;
2888
+ /** 添付ファイルの署名済みID。
2889
+ フィールドがファイルタイプのときのみ指定してください。 */
2890
+ files?: CreateTicketBodyInputsItemFiles;
2899
2891
  };
2900
2892
  /**
2901
2893
  * クラウドサイン書類。ワークフローでクラウドサイン連携が有効な場合のみ指定してください。
@@ -2908,12 +2900,16 @@ export type CreateTicketBodyCloudSignDocument = {
2908
2900
  /** クラウドサインのサンドボックス環境の場合true */
2909
2901
  sandbox: string;
2910
2902
  };
2911
- export type CreateTicketBodyApproversItem = {
2903
+ export type CreateTicketBodyApproversAnyOfItem = {
2912
2904
  /** 承認者を指定する経路ステップのコード */
2913
2905
  routeStepCode: string;
2914
2906
  /** 承認者として指定するユーザーのUUID */
2915
2907
  userId: string[];
2916
2908
  };
2909
+ /**
2910
+ * 承認タイプが「申請者が指名」の経路ステップの承認者を指定する配列。
2911
+ */
2912
+ export type CreateTicketBodyApprovers = CreateTicketBodyApproversAnyOfItem[] | null;
2917
2913
  export type CreateTicketBody = {
2918
2914
  /** ステータス。作成ではdraftまたはin_progressのみ選択可能です。 */
2919
2915
  status: CreateTicketBodyStatus;
@@ -2921,27 +2917,18 @@ export type CreateTicketBody = {
2921
2917
  workflowId: string;
2922
2918
  /** 申請チームのUUID */
2923
2919
  authorTeamId: string;
2924
- /**
2925
- * 依頼者となるユーザーのUUID。代理申請の場合のみ指定してください。
2926
- * @nullable
2927
- */
2928
- proxyClientUserId?: string | null;
2929
- /**
2930
- * チケットのタイトル。ワークフローでtitleInputModeがinputのときのみ設定可能です。
2931
- * @nullable
2932
- */
2933
- title?: string | null;
2920
+ /** 依頼者となるユーザーのUUID。代理申請の場合のみ指定してください。 */
2921
+ proxyClientUserId?: CreateTicketBodyProxyClientUserId;
2922
+ /** チケットのタイトル。ワークフローでtitleInputModeがinputのときのみ設定可能です。 */
2923
+ title?: CreateTicketBodyTitle;
2934
2924
  /** 明細アイテムの配列。明細ワークフローの場合、このフィールドは必須です。 */
2935
2925
  slipItems?: CreateTicketBodySlipItemsItem[];
2936
2926
  /** フォームの入力の配列。ワークフローのすべてのフォームフィールドに対応する入力を入れてください。 */
2937
2927
  inputs: CreateTicketBodyInputsItem[];
2938
2928
  /** クラウドサイン書類。ワークフローでクラウドサイン連携が有効な場合のみ指定してください。 */
2939
2929
  cloudSignDocument?: CreateTicketBodyCloudSignDocument;
2940
- /**
2941
- * 承認タイプが「申請者が指名」の経路ステップの承認者を指定する配列。
2942
- * @nullable
2943
- */
2944
- approvers?: CreateTicketBodyApproversItem[] | null;
2930
+ /** 承認タイプが「申請者が指名」の経路ステップの承認者を指定する配列。 */
2931
+ approvers?: CreateTicketBodyApprovers;
2945
2932
  };
2946
2933
  export type ListTasksParams = {
2947
2934
  /**
@@ -3053,40 +3040,52 @@ export declare const UpdateTicketBodyStatus: {
3053
3040
  readonly in_progress: "in_progress";
3054
3041
  readonly rejected: "rejected";
3055
3042
  };
3043
+ /**
3044
+ * 明細フィールドのUUID。slipFieldIdまたはslipFieldCodeは片方のみ必須です。
3045
+ */
3046
+ export type UpdateTicketBodySlipItemsItemInputsItemSlipFieldId = string | null;
3047
+ /**
3048
+ * 明細フィールドのコード。slipFieldIdまたはslipFieldCodeは片方のみ必須です。
3049
+ */
3050
+ export type UpdateTicketBodySlipItemsItemInputsItemSlipFieldCode = string | null;
3051
+ export type UpdateTicketBodySlipItemsItemInputsItemValueOneOf = string | null;
3056
3052
  /**
3057
3053
  * 入力値。フィールドがチェックボックスタイプのときは配列で指定してください。
3058
3054
  */
3059
- export type UpdateTicketBodySlipItemsItemInputsItemValue = string | null | string[];
3055
+ export type UpdateTicketBodySlipItemsItemInputsItemValue = UpdateTicketBodySlipItemsItemInputsItemValueOneOf | string[];
3056
+ export type UpdateTicketBodySlipItemsItemInputsItemGeneralMasterItemIdOneOf = string | null;
3060
3057
  /**
3061
3058
  * 汎用マスタアイテムのUUID。フィールドが汎用マスタタイプのときのみ指定してください。
3062
3059
  */
3063
- export type UpdateTicketBodySlipItemsItemInputsItemGeneralMasterItemId = string | null | string[];
3060
+ export type UpdateTicketBodySlipItemsItemInputsItemGeneralMasterItemId = UpdateTicketBodySlipItemsItemInputsItemGeneralMasterItemIdOneOf | string[];
3061
+ export type UpdateTicketBodySlipItemsItemInputsItemUserIdOneOf = string | null;
3064
3062
  /**
3065
3063
  * ユーザーUUID。フィールドがユーザータイプのときのみ指定してください。
3066
3064
  */
3067
- export type UpdateTicketBodySlipItemsItemInputsItemUserId = string | null | string[];
3065
+ export type UpdateTicketBodySlipItemsItemInputsItemUserId = UpdateTicketBodySlipItemsItemInputsItemUserIdOneOf | string[];
3066
+ export type UpdateTicketBodySlipItemsItemInputsItemTeamIdOneOf = string | null;
3068
3067
  /**
3069
3068
  * チームUUID。フィールドがチームタイプのときのみ指定してください。
3070
3069
  */
3071
- export type UpdateTicketBodySlipItemsItemInputsItemTeamId = string | null | string[];
3070
+ export type UpdateTicketBodySlipItemsItemInputsItemTeamId = UpdateTicketBodySlipItemsItemInputsItemTeamIdOneOf | string[];
3071
+ export type UpdateTicketBodySlipItemsItemInputsItemTicketIdOneOf = string | null;
3072
3072
  /**
3073
3073
  * チケットUUID。フィールドがチケットタイプのときのみ指定してください。
3074
3074
  */
3075
- export type UpdateTicketBodySlipItemsItemInputsItemTicketId = string | null | string[];
3075
+ export type UpdateTicketBodySlipItemsItemInputsItemTicketId = UpdateTicketBodySlipItemsItemInputsItemTicketIdOneOf | string[];
3076
+ /**
3077
+ * 添付ファイルの署名済みID。
3078
+ フィールドがファイルタイプのときのみ指定してください。
3079
+ */
3080
+ export type UpdateTicketBodySlipItemsItemInputsItemFiles = string[] | null;
3076
3081
  /**
3077
3082
  * 明細アイテム入力
3078
3083
  */
3079
3084
  export type UpdateTicketBodySlipItemsItemInputsItem = {
3080
- /**
3081
- * 明細フィールドのUUID。slipFieldIdまたはslipFieldCodeは片方のみ必須です。
3082
- * @nullable
3083
- */
3084
- slipFieldId?: string | null;
3085
- /**
3086
- * 明細フィールドのコード。slipFieldIdまたはslipFieldCodeは片方のみ必須です。
3087
- * @nullable
3088
- */
3089
- slipFieldCode?: string | null;
3085
+ /** 明細フィールドのUUID。slipFieldIdまたはslipFieldCodeは片方のみ必須です。 */
3086
+ slipFieldId?: UpdateTicketBodySlipItemsItemInputsItemSlipFieldId;
3087
+ /** 明細フィールドのコード。slipFieldIdまたはslipFieldCodeは片方のみ必須です。 */
3088
+ slipFieldCode?: UpdateTicketBodySlipItemsItemInputsItemSlipFieldCode;
3090
3089
  /** 入力値。フィールドがチェックボックスタイプのときは配列で指定してください。 */
3091
3090
  value?: UpdateTicketBodySlipItemsItemInputsItemValue;
3092
3091
  /** 汎用マスタアイテムのUUID。フィールドが汎用マスタタイプのときのみ指定してください。 */
@@ -3097,12 +3096,9 @@ export type UpdateTicketBodySlipItemsItemInputsItem = {
3097
3096
  teamId?: UpdateTicketBodySlipItemsItemInputsItemTeamId;
3098
3097
  /** チケットUUID。フィールドがチケットタイプのときのみ指定してください。 */
3099
3098
  ticketId?: UpdateTicketBodySlipItemsItemInputsItemTicketId;
3100
- /**
3101
- * 添付ファイルの署名済みID。
3102
- フィールドがファイルタイプのときのみ指定してください。
3103
- * @nullable
3104
- */
3105
- files?: string[] | null;
3099
+ /** 添付ファイルの署名済みID。
3100
+ フィールドがファイルタイプのときのみ指定してください。 */
3101
+ files?: UpdateTicketBodySlipItemsItemInputsItemFiles;
3106
3102
  };
3107
3103
  /**
3108
3104
  * 明細アイテム
@@ -3111,40 +3107,52 @@ export type UpdateTicketBodySlipItemsItem = {
3111
3107
  /** 明細アイテム入力の配列 */
3112
3108
  inputs: UpdateTicketBodySlipItemsItemInputsItem[];
3113
3109
  };
3110
+ /**
3111
+ * フォームフィールドのUUID。formFieldIdまたはformFieldCodeは片方のみ必須です。
3112
+ */
3113
+ export type UpdateTicketBodyInputsItemFormFieldId = string | null;
3114
+ /**
3115
+ * フォームフィールドのコード。formFieldIdまたはformFieldCodeは片方のみ必須です。
3116
+ */
3117
+ export type UpdateTicketBodyInputsItemFormFieldCode = string | null;
3118
+ export type UpdateTicketBodyInputsItemValueOneOf = string | null;
3114
3119
  /**
3115
3120
  * 入力値。フィールドがチェックボックスタイプのときは配列で指定してください。
3116
3121
  */
3117
- export type UpdateTicketBodyInputsItemValue = string | null | string[];
3122
+ export type UpdateTicketBodyInputsItemValue = UpdateTicketBodyInputsItemValueOneOf | string[];
3123
+ export type UpdateTicketBodyInputsItemGeneralMasterItemIdOneOf = string | null;
3118
3124
  /**
3119
3125
  * 汎用マスタアイテムのUUID。フィールドが汎用マスタタイプのときのみ指定してください。
3120
3126
  */
3121
- export type UpdateTicketBodyInputsItemGeneralMasterItemId = string | null | string[];
3127
+ export type UpdateTicketBodyInputsItemGeneralMasterItemId = UpdateTicketBodyInputsItemGeneralMasterItemIdOneOf | string[];
3128
+ export type UpdateTicketBodyInputsItemUserIdOneOf = string | null;
3122
3129
  /**
3123
3130
  * ユーザーUUID。フィールドがユーザータイプのときのみ指定してください。
3124
3131
  */
3125
- export type UpdateTicketBodyInputsItemUserId = string | null | string[];
3132
+ export type UpdateTicketBodyInputsItemUserId = UpdateTicketBodyInputsItemUserIdOneOf | string[];
3133
+ export type UpdateTicketBodyInputsItemTeamIdOneOf = string | null;
3126
3134
  /**
3127
3135
  * チームUUID。フィールドがチームタイプのときのみ指定してください。
3128
3136
  */
3129
- export type UpdateTicketBodyInputsItemTeamId = string | null | string[];
3137
+ export type UpdateTicketBodyInputsItemTeamId = UpdateTicketBodyInputsItemTeamIdOneOf | string[];
3138
+ export type UpdateTicketBodyInputsItemTicketIdOneOf = string | null;
3130
3139
  /**
3131
3140
  * チケットUUID。フィールドがチケットタイプのときのみ指定してください。
3132
3141
  */
3133
- export type UpdateTicketBodyInputsItemTicketId = string | null | string[];
3142
+ export type UpdateTicketBodyInputsItemTicketId = UpdateTicketBodyInputsItemTicketIdOneOf | string[];
3143
+ /**
3144
+ * 添付ファイルの署名済みID。
3145
+ フィールドがファイルタイプのときのみ指定してください。
3146
+ */
3147
+ export type UpdateTicketBodyInputsItemFiles = string[] | null;
3134
3148
  /**
3135
3149
  * フォームの入力
3136
3150
  */
3137
3151
  export type UpdateTicketBodyInputsItem = {
3138
- /**
3139
- * フォームフィールドのUUID。formFieldIdまたはformFieldCodeは片方のみ必須です。
3140
- * @nullable
3141
- */
3142
- formFieldId?: string | null;
3143
- /**
3144
- * フォームフィールドのコード。formFieldIdまたはformFieldCodeは片方のみ必須です。
3145
- * @nullable
3146
- */
3147
- formFieldCode?: string | null;
3152
+ /** フォームフィールドのUUID。formFieldIdまたはformFieldCodeは片方のみ必須です。 */
3153
+ formFieldId?: UpdateTicketBodyInputsItemFormFieldId;
3154
+ /** フォームフィールドのコード。formFieldIdまたはformFieldCodeは片方のみ必須です。 */
3155
+ formFieldCode?: UpdateTicketBodyInputsItemFormFieldCode;
3148
3156
  /** 入力値。フィールドがチェックボックスタイプのときは配列で指定してください。 */
3149
3157
  value?: UpdateTicketBodyInputsItemValue;
3150
3158
  /** 汎用マスタアイテムのUUID。フィールドが汎用マスタタイプのときのみ指定してください。 */
@@ -3155,12 +3163,9 @@ export type UpdateTicketBodyInputsItem = {
3155
3163
  teamId?: UpdateTicketBodyInputsItemTeamId;
3156
3164
  /** チケットUUID。フィールドがチケットタイプのときのみ指定してください。 */
3157
3165
  ticketId?: UpdateTicketBodyInputsItemTicketId;
3158
- /**
3159
- * 添付ファイルの署名済みID。
3160
- フィールドがファイルタイプのときのみ指定してください。
3161
- * @nullable
3162
- */
3163
- files?: string[] | null;
3166
+ /** 添付ファイルの署名済みID。
3167
+ フィールドがファイルタイプのときのみ指定してください。 */
3168
+ files?: UpdateTicketBodyInputsItemFiles;
3164
3169
  };
3165
3170
  /**
3166
3171
  * クラウドサイン書類。ワークフローでクラウドサイン連携が有効な場合のみ指定してください。
@@ -3173,12 +3178,16 @@ export type UpdateTicketBodyCloudSignDocument = {
3173
3178
  /** クラウドサインのサンドボックス環境の場合true */
3174
3179
  sandbox: boolean;
3175
3180
  };
3176
- export type UpdateTicketBodyApproversItem = {
3181
+ export type UpdateTicketBodyApproversAnyOfItem = {
3177
3182
  /** 承認者を指定する経路ステップのコード */
3178
3183
  routeStepCode: string;
3179
3184
  /** 承認者として指定するユーザーのUUID */
3180
3185
  userId: string[];
3181
3186
  };
3187
+ /**
3188
+ * 承認タイプが「申請者が指名」の経路ステップの承認者を指定する配列。
3189
+ */
3190
+ export type UpdateTicketBodyApprovers = UpdateTicketBodyApproversAnyOfItem[] | null;
3182
3191
  export type UpdateTicketBody = {
3183
3192
  /** ステータス。更新ではdraft, in_progress, rejectedのみ選択可能です。 */
3184
3193
  status?: UpdateTicketBodyStatus;
@@ -3197,11 +3206,8 @@ export type UpdateTicketBody = {
3197
3206
  inputs?: UpdateTicketBodyInputsItem[];
3198
3207
  /** クラウドサイン書類。ワークフローでクラウドサイン連携が有効な場合のみ指定してください。 */
3199
3208
  cloudSignDocument?: UpdateTicketBodyCloudSignDocument;
3200
- /**
3201
- * 承認タイプが「申請者が指名」の経路ステップの承認者を指定する配列。
3202
- * @nullable
3203
- */
3204
- approvers?: UpdateTicketBodyApproversItem[] | null;
3209
+ /** 承認タイプが「申請者が指名」の経路ステップの承認者を指定する配列。 */
3210
+ approvers?: UpdateTicketBodyApprovers;
3205
3211
  };
3206
3212
  export type RejectTicketBody = {
3207
3213
  /** 差し戻し先のステップ番号(0が起票者、1が最初の承認ステップ) */
@@ -3236,35 +3242,29 @@ export type ListViewersParams = {
3236
3242
  };
3237
3243
  /**
3238
3244
  * ユーザーのUUID。userIdとteamIdは片方のみ必須です。
3239
- * @nullable
3240
3245
  */
3241
3246
  export type CreateViewerBodyUserId = string | string[] | null;
3242
3247
  /**
3243
3248
  * チームのUUID。userIdとteamIdは片方のみ必須です。
3244
- * @nullable
3245
3249
  */
3246
3250
  export type CreateViewerBodyTeamId = string | string[] | null;
3251
+ /**
3252
+ * 役職のUUID。teamId指定時のみ、任意で指定できます。
3253
+ */
3254
+ export type CreateViewerBodyGradeId = string | null;
3255
+ /**
3256
+ * 下位のチームを含めるかどうかをteamId指定時のみ指定できます。未指定時はfalse扱いです。
3257
+ */
3258
+ export type CreateViewerBodyDescendants = boolean | null;
3247
3259
  export type CreateViewerBody = {
3248
- /**
3249
- * ユーザーのUUID。userIdとteamIdは片方のみ必須です。
3250
- * @nullable
3251
- */
3260
+ /** ユーザーのUUID。userIdとteamIdは片方のみ必須です。 */
3252
3261
  userId?: CreateViewerBodyUserId;
3253
- /**
3254
- * チームのUUID。userIdとteamIdは片方のみ必須です。
3255
- * @nullable
3256
- */
3262
+ /** チームのUUID。userIdとteamIdは片方のみ必須です。 */
3257
3263
  teamId?: CreateViewerBodyTeamId;
3258
- /**
3259
- * 役職のUUID。teamId指定時のみ、任意で指定できます。
3260
- * @nullable
3261
- */
3262
- gradeId?: string | null;
3263
- /**
3264
- * 下位のチームを含めるかどうかをteamId指定時のみ指定できます。未指定時はfalse扱いです。
3265
- * @nullable
3266
- */
3267
- descendants?: boolean | null;
3264
+ /** 役職のUUID。teamId指定時のみ、任意で指定できます。 */
3265
+ gradeId?: CreateViewerBodyGradeId;
3266
+ /** 下位のチームを含めるかどうかをteamId指定時のみ指定できます。未指定時はfalse扱いです。 */
3267
+ descendants?: CreateViewerBodyDescendants;
3268
3268
  };
3269
3269
  export type ListCommentsParams = {
3270
3270
  /**
@@ -3280,14 +3280,15 @@ export type ListCommentsParams = {
3280
3280
  */
3281
3281
  sortBy?: string;
3282
3282
  };
3283
+ /**
3284
+ * 添付ファイルの署名済みID
3285
+ */
3286
+ export type CreateCommentBodyFiles = string[] | null;
3283
3287
  export type CreateCommentBody = {
3284
3288
  /** 本文 */
3285
3289
  body: string;
3286
- /**
3287
- * 添付ファイルの署名済みID
3288
- * @nullable
3289
- */
3290
- files?: string[] | null;
3290
+ /** 添付ファイルの署名済みID */
3291
+ files?: CreateCommentBodyFiles;
3291
3292
  };
3292
3293
  export type UpdateCommentBody = {
3293
3294
  /** 本文 */
@@ -3318,12 +3319,17 @@ export declare const ListUsersStatusItem: {
3318
3319
  readonly suspended: "suspended";
3319
3320
  readonly deactivated: "deactivated";
3320
3321
  };
3322
+ /**
3323
+ * 社員番号
3324
+ * @maxLength 30
3325
+ */
3326
+ export type CreateUserBodyEmployeeId = string | null;
3321
3327
  export type CreateUserBody = {
3322
3328
  /** メールアドレス */
3323
3329
  email: string;
3324
3330
  /**
3325
- * コード。未指定の場合、ランダムな英数字がセットされます。
3326
- * @maxLength 255
3331
+ * コード。未指定の場合、ランダムな英数字が自動的に設定されます。
3332
+ * @maxLength 100
3327
3333
  */
3328
3334
  code: string;
3329
3335
  /**
@@ -3340,20 +3346,24 @@ export type CreateUserBody = {
3340
3346
  sendEmail?: boolean;
3341
3347
  /**
3342
3348
  * 社員番号
3343
- * @maxLength 255
3344
- * @nullable
3349
+ * @maxLength 30
3345
3350
  */
3346
- employeeId?: string | null;
3351
+ employeeId?: CreateUserBodyEmployeeId;
3347
3352
  };
3353
+ /**
3354
+ * 社員番号
3355
+ * @maxLength 30
3356
+ */
3357
+ export type UpdateUserBodyEmployeeId = string | null;
3348
3358
  export type UpdateUserBody = {
3349
3359
  /**
3350
3360
  * メールアドレス
3351
- * @maxLength 255
3361
+ * @maxLength 254
3352
3362
  */
3353
3363
  email?: string;
3354
3364
  /**
3355
3365
  * コード
3356
- * @maxLength 255
3366
+ * @maxLength 100
3357
3367
  */
3358
3368
  code?: string;
3359
3369
  /**
@@ -3368,10 +3378,9 @@ export type UpdateUserBody = {
3368
3378
  lastName?: string;
3369
3379
  /**
3370
3380
  * 社員番号
3371
- * @maxLength 255
3372
- * @nullable
3381
+ * @maxLength 30
3373
3382
  */
3374
- employeeId?: string | null;
3383
+ employeeId?: UpdateUserBodyEmployeeId;
3375
3384
  };
3376
3385
  export type LookupUserByEmailParams = {
3377
3386
  /**
@@ -3463,21 +3472,23 @@ export type ListProxyApplicantsParams = {
3463
3472
  */
3464
3473
  perPage?: number;
3465
3474
  };
3475
+ /**
3476
+ * 開始日。nullの場合、すでに開始しているものとして扱います。
3477
+ */
3478
+ export type CreateProxyApplicantBodyStartsOn = string | null;
3479
+ /**
3480
+ * 終了日。nullの場合、無期限のものとして扱います。
3481
+ */
3482
+ export type CreateProxyApplicantBodyEndsOn = string | null;
3466
3483
  export type CreateProxyApplicantBody = {
3467
3484
  /** 代理されるユーザーID */
3468
3485
  userId: string;
3469
3486
  /** 代理するユーザーID */
3470
3487
  proxyUserId: string;
3471
- /**
3472
- * 開始日。nullの場合、すでに開始しているものとして扱います。
3473
- * @nullable
3474
- */
3475
- startsOn?: string | null;
3476
- /**
3477
- * 終了日。nullの場合、無期限のものとして扱います。
3478
- * @nullable
3479
- */
3480
- endsOn?: string | null;
3488
+ /** 開始日。nullの場合、すでに開始しているものとして扱います。 */
3489
+ startsOn?: CreateProxyApplicantBodyStartsOn;
3490
+ /** 終了日。nullの場合、無期限のものとして扱います。 */
3491
+ endsOn?: CreateProxyApplicantBodyEndsOn;
3481
3492
  /** 対象ワークフローのID */
3482
3493
  workflowIds?: string[];
3483
3494
  };
@@ -3491,21 +3502,23 @@ export type ListProxyApproversParams = {
3491
3502
  */
3492
3503
  perPage?: number;
3493
3504
  };
3505
+ /**
3506
+ * 開始日。nullの場合、すでに始まっているものとして扱います。
3507
+ */
3508
+ export type CreateProxyApproverBodyStartsOn = string | null;
3509
+ /**
3510
+ * 終了日。nullの場合、無期限として扱います。
3511
+ */
3512
+ export type CreateProxyApproverBodyEndsOn = string | null;
3494
3513
  export type CreateProxyApproverBody = {
3495
3514
  /** 代理されるユーザーID */
3496
3515
  userId: string;
3497
3516
  /** 代理するユーザーID */
3498
3517
  proxyUserId: string;
3499
- /**
3500
- * 開始日。nullの場合、すでに始まっているものとして扱います。
3501
- * @nullable
3502
- */
3503
- startsOn?: string | null;
3504
- /**
3505
- * 終了日。nullの場合、無期限として扱います。
3506
- * @nullable
3507
- */
3508
- endsOn?: string | null;
3518
+ /** 開始日。nullの場合、すでに始まっているものとして扱います。 */
3519
+ startsOn?: CreateProxyApproverBodyStartsOn;
3520
+ /** 終了日。nullの場合、無期限として扱います。 */
3521
+ endsOn?: CreateProxyApproverBodyEndsOn;
3509
3522
  /** 対象ワークフローのID */
3510
3523
  workflowIds?: string[];
3511
3524
  };