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