@tocca-systems/twp-cli 0.17.0 → 0.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/README.md +46 -3
  2. package/command-model/company.json +19 -0
  3. package/command-model/department.json +10 -0
  4. package/command-model/equipment.json +5 -0
  5. package/command-model/index.json +20 -20
  6. package/command-model/invoice.json +24 -2
  7. package/command-model/meeting.json +29 -9
  8. package/command-model/my-task.json +1 -0
  9. package/command-model/note.json +34 -8
  10. package/command-model/notification.json +35 -0
  11. package/command-model/private-task.json +46 -1
  12. package/command-model/project-member.json +2 -1
  13. package/command-model/project-task-comment.json +1 -1
  14. package/command-model/project-task.json +153 -4
  15. package/command-model/project.json +49 -2
  16. package/command-model/prospect.json +24 -1
  17. package/command-model/report.json +62 -18
  18. package/command-model/survey.json +38 -29
  19. package/command-model/user.json +2 -1
  20. package/command-model/wiki.json +29 -5
  21. package/command-model/workflow-instance.json +8 -3
  22. package/dist/{ai-dispatch-NTBNFFCS.js → ai-dispatch-27EZS2S3.js} +1 -1
  23. package/dist/{api-command-UIL4WGMG.js → api-command-BH6ILQNX.js} +1 -1
  24. package/dist/{app-LLSZV6SM.js → app-4LRDLLTV.js} +22 -21
  25. package/dist/{chunk-KXFT226N.js → chunk-77CQG7O7.js} +16 -14
  26. package/dist/chunk-BOBSH3QN.js +9 -0
  27. package/dist/{chunk-3WJHTPOZ.js → chunk-H3JTPDCJ.js} +7 -4
  28. package/dist/{chunk-EZCMF4I3.js → chunk-SQSVA6AT.js} +3 -2
  29. package/dist/{chunk-Y5RTTQ4Y.js → chunk-U4QQNRXF.js} +90 -43
  30. package/dist/cli.js +41 -27
  31. package/dist/{commands-UGGBVOYU.js → commands-XYKBLMXT.js} +17 -14
  32. package/dist/{oneshot-HQJEXZHJ.js → oneshot-5EM5NFTK.js} +8 -7
  33. package/dist/{run-DWQEHR6I.js → run-XALXQIC3.js} +1 -1
  34. package/dist/{setup-I4PA2TQW.js → setup-AJ56N6XO.js} +1 -1
  35. package/dist/{task-7K54BO5U.js → task-VVBXZLPU.js} +38 -7
  36. package/package.json +1 -1
  37. package/dist/chunk-S646CPM4.js +0 -9
@@ -7,7 +7,7 @@
7
7
  "operationId": "note.store",
8
8
  "method": "POST",
9
9
  "path": "/v2/notes",
10
- "summary": "",
10
+ "summary": "ノートを作成",
11
11
  "pathParams": [],
12
12
  "queryParams": [],
13
13
  "body": {
@@ -135,7 +135,7 @@
135
135
  "operationId": "note.destroy",
136
136
  "method": "DELETE",
137
137
  "path": "/v2/notes/{id}",
138
- "summary": "",
138
+ "summary": "ノートを削除",
139
139
  "pathParams": [
140
140
  {
141
141
  "name": "id",
@@ -156,7 +156,7 @@
156
156
  "operationId": "note.show",
157
157
  "method": "GET",
158
158
  "path": "/v2/notes/{id}",
159
- "summary": "",
159
+ "summary": "ノート詳細を取得",
160
160
  "pathParams": [
161
161
  {
162
162
  "name": "id",
@@ -192,43 +192,49 @@
192
192
  "operationId": "note.index",
193
193
  "method": "GET",
194
194
  "path": "/v2/notes",
195
- "summary": "",
195
+ "summary": "ノート一覧を取得",
196
196
  "pathParams": [],
197
197
  "queryParams": [
198
198
  {
199
199
  "name": "sort_by",
200
200
  "type": "string",
201
201
  "required": false,
202
+ "description": "並び順(manual / created_at / updated_at / view_count / comment_count / reaction_count)",
202
203
  "source": "spec"
203
204
  },
204
205
  {
205
206
  "name": "status",
206
207
  "type": "string",
207
208
  "required": false,
209
+ "description": "状態で絞り込む(draft / published)",
208
210
  "source": "spec"
209
211
  },
210
212
  {
211
213
  "name": "category_id",
212
214
  "type": "string",
213
215
  "required": false,
216
+ "description": "カテゴリIDで絞り込む",
214
217
  "source": "spec"
215
218
  },
216
219
  {
217
220
  "name": "tag",
218
221
  "type": "string",
219
222
  "required": false,
223
+ "description": "タグで絞り込む",
220
224
  "source": "spec"
221
225
  },
222
226
  {
223
227
  "name": "keyword",
224
228
  "type": "string",
225
229
  "required": false,
230
+ "description": "キーワードで絞り込む",
226
231
  "source": "spec"
227
232
  },
228
233
  {
229
234
  "name": "visibility",
230
235
  "type": "string",
231
236
  "required": false,
237
+ "description": "公開範囲で絞り込む(private / tenant / external / public)",
232
238
  "source": "spec"
233
239
  },
234
240
  {
@@ -242,6 +248,7 @@
242
248
  "name": "created_by",
243
249
  "type": "string",
244
250
  "required": false,
251
+ "description": "作成者のユーザーIDで絞り込む",
245
252
  "source": "spec"
246
253
  },
247
254
  {
@@ -250,6 +257,20 @@
250
257
  "required": false,
251
258
  "description": "1ページあたりの件数",
252
259
  "source": "curation"
260
+ },
261
+ {
262
+ "name": "mine",
263
+ "type": "boolean",
264
+ "required": false,
265
+ "description": "true で自分が作成したノートだけにする",
266
+ "source": "curation"
267
+ },
268
+ {
269
+ "name": "is_favorited",
270
+ "type": "boolean",
271
+ "required": false,
272
+ "description": "true でお気に入りに登録したノートだけにする",
273
+ "source": "curation"
253
274
  }
254
275
  ],
255
276
  "body": null,
@@ -263,19 +284,21 @@
263
284
  "operationId": "note.publicNotes",
264
285
  "method": "GET",
265
286
  "path": "/v2/notes/public",
266
- "summary": "",
287
+ "summary": "公開ノート一覧を取得",
267
288
  "pathParams": [],
268
289
  "queryParams": [
269
290
  {
270
291
  "name": "tag",
271
292
  "type": "string",
272
293
  "required": false,
294
+ "description": "タグで絞り込む",
273
295
  "source": "spec"
274
296
  },
275
297
  {
276
298
  "name": "keyword",
277
299
  "type": "string",
278
300
  "required": false,
301
+ "description": "キーワードで絞り込む",
279
302
  "source": "spec"
280
303
  },
281
304
  {
@@ -373,25 +396,28 @@
373
396
  "operationId": "note.subscribed",
374
397
  "method": "GET",
375
398
  "path": "/v2/notes/subscribed",
376
- "summary": "",
399
+ "summary": "購読しているノートの一覧を取得",
377
400
  "pathParams": [],
378
401
  "queryParams": [
379
402
  {
380
403
  "name": "tenant_id",
381
404
  "type": "string",
382
405
  "required": false,
406
+ "description": "発行元のテナントで絞り込む",
383
407
  "source": "spec"
384
408
  },
385
409
  {
386
410
  "name": "tag",
387
411
  "type": "string",
388
412
  "required": false,
413
+ "description": "タグで絞り込む",
389
414
  "source": "spec"
390
415
  },
391
416
  {
392
417
  "name": "keyword",
393
418
  "type": "string",
394
419
  "required": false,
420
+ "description": "キーワードで絞り込む",
395
421
  "source": "spec"
396
422
  },
397
423
  {
@@ -420,7 +446,7 @@
420
446
  "operationId": "note.tags",
421
447
  "method": "GET",
422
448
  "path": "/v2/notes/tags",
423
- "summary": "",
449
+ "summary": "ノートのタグ一覧を取得",
424
450
  "pathParams": [],
425
451
  "queryParams": [
426
452
  {
@@ -449,7 +475,7 @@
449
475
  "operationId": "note.update",
450
476
  "method": "PUT",
451
477
  "path": "/v2/notes/{id}",
452
- "summary": "",
478
+ "summary": "ノートを更新",
453
479
  "pathParams": [
454
480
  {
455
481
  "name": "id",
@@ -146,6 +146,41 @@
146
146
  "required": false,
147
147
  "description": "次ページの取得に使うカーソル",
148
148
  "source": "curation"
149
+ },
150
+ {
151
+ "name": "read_status",
152
+ "type": "string",
153
+ "required": false,
154
+ "description": "既読状態で絞り込む(unread / read)。付けるとカーソル方式で返る",
155
+ "source": "curation"
156
+ },
157
+ {
158
+ "name": "reaction_status",
159
+ "type": "string",
160
+ "required": false,
161
+ "description": "対応状況で絞り込む(unreacted / in_progress / done)。付けるとカーソル方式で返る",
162
+ "source": "curation"
163
+ },
164
+ {
165
+ "name": "category",
166
+ "type": "string",
167
+ "required": false,
168
+ "description": "通知カテゴリで絞り込む(カーソル方式のとき)",
169
+ "source": "curation"
170
+ },
171
+ {
172
+ "name": "action_required",
173
+ "type": "boolean",
174
+ "required": false,
175
+ "description": "true で要対応(未読、または既読で未対応)の通知だけにする",
176
+ "source": "curation"
177
+ },
178
+ {
179
+ "name": "search_keyword",
180
+ "type": "string",
181
+ "required": false,
182
+ "description": "キーワードで絞り込む",
183
+ "source": "curation"
149
184
  }
150
185
  ],
151
186
  "body": null,
@@ -186,18 +186,21 @@
186
186
  "name": "keyword",
187
187
  "type": "string",
188
188
  "required": false,
189
+ "description": "キーワードで絞り込む",
189
190
  "source": "spec"
190
191
  },
191
192
  {
192
193
  "name": "sort_column",
193
194
  "type": "string",
194
195
  "required": false,
196
+ "description": "並べ替える列(subject / status / priority / due_date / updated_at)。カンマ区切りで3列まで",
195
197
  "source": "spec"
196
198
  },
197
199
  {
198
200
  "name": "sort_direction",
199
201
  "type": "string",
200
202
  "required": false,
203
+ "description": "asc / desc。sort_column と同じ順にカンマ区切りで並べる",
201
204
  "source": "spec"
202
205
  },
203
206
  {
@@ -213,10 +216,52 @@
213
216
  "required": false,
214
217
  "description": "次ページの取得に使うカーソル",
215
218
  "source": "curation"
219
+ },
220
+ {
221
+ "name": "status_id",
222
+ "type": "string",
223
+ "required": false,
224
+ "description": "ステータスIDで絞り込む",
225
+ "source": "curation"
226
+ },
227
+ {
228
+ "name": "exclude_status_ids",
229
+ "type": "string",
230
+ "required": false,
231
+ "description": "除外するステータスID(カンマ区切り)",
232
+ "source": "curation"
233
+ },
234
+ {
235
+ "name": "type_id",
236
+ "type": "string",
237
+ "required": false,
238
+ "description": "種別IDで絞り込む",
239
+ "source": "curation"
240
+ },
241
+ {
242
+ "name": "category_id",
243
+ "type": "string",
244
+ "required": false,
245
+ "description": "カテゴリIDで絞り込む",
246
+ "source": "curation"
247
+ },
248
+ {
249
+ "name": "label_ids",
250
+ "type": "string",
251
+ "required": false,
252
+ "description": "ラベルIDで絞り込む(カンマ区切り)",
253
+ "source": "curation"
254
+ },
255
+ {
256
+ "name": "priority",
257
+ "type": "string",
258
+ "required": false,
259
+ "description": "優先度で絞り込む(1 高 / 2 中 / 3 低)",
260
+ "source": "curation"
216
261
  }
217
262
  ],
218
263
  "body": null,
219
- "resultPath": null,
264
+ "resultPath": "items",
220
265
  "risk": "read",
221
266
  "aliases": []
222
267
  },
@@ -194,6 +194,7 @@
194
194
  "name": "role",
195
195
  "type": "string",
196
196
  "required": false,
197
+ "description": "プロジェクト内の役割で絞り込む",
197
198
  "source": "spec"
198
199
  },
199
200
  {
@@ -212,7 +213,7 @@
212
213
  }
213
214
  ],
214
215
  "body": null,
215
- "resultPath": null,
216
+ "resultPath": "list",
216
217
  "risk": "read",
217
218
  "aliases": []
218
219
  },
@@ -285,7 +285,7 @@
285
285
  }
286
286
  ],
287
287
  "body": null,
288
- "resultPath": null,
288
+ "resultPath": "items",
289
289
  "risk": "read",
290
290
  "aliases": []
291
291
  },
@@ -39,7 +39,7 @@
39
39
  }
40
40
  ],
41
41
  "body": null,
42
- "resultPath": null,
42
+ "resultPath": "items",
43
43
  "risk": "read",
44
44
  "aliases": []
45
45
  },
@@ -534,18 +534,21 @@
534
534
  "name": "format",
535
535
  "type": "string",
536
536
  "required": false,
537
+ "description": "出力形式(csv / xlsx)",
537
538
  "source": "spec"
538
539
  },
539
540
  {
540
541
  "name": "keyword",
541
542
  "type": "string",
542
543
  "required": false,
544
+ "description": "キーワードで絞り込む",
543
545
  "source": "spec"
544
546
  },
545
547
  {
546
548
  "name": "recurrence_type",
547
549
  "type": "string",
548
550
  "required": false,
551
+ "description": "繰り返し周期で絞り込む(一覧と同じ値)",
549
552
  "source": "spec"
550
553
  },
551
554
  {
@@ -561,6 +564,62 @@
561
564
  "required": false,
562
565
  "description": "次ページの取得に使うカーソル",
563
566
  "source": "curation"
567
+ },
568
+ {
569
+ "name": "status_id",
570
+ "type": "string",
571
+ "required": false,
572
+ "description": "ステータスIDで絞り込む",
573
+ "source": "curation"
574
+ },
575
+ {
576
+ "name": "type_id",
577
+ "type": "string",
578
+ "required": false,
579
+ "description": "種別IDで絞り込む",
580
+ "source": "curation"
581
+ },
582
+ {
583
+ "name": "category_id",
584
+ "type": "string",
585
+ "required": false,
586
+ "description": "カテゴリIDで絞り込む",
587
+ "source": "curation"
588
+ },
589
+ {
590
+ "name": "version_id",
591
+ "type": "string",
592
+ "required": false,
593
+ "description": "バージョンIDで絞り込む",
594
+ "source": "curation"
595
+ },
596
+ {
597
+ "name": "milestone_id",
598
+ "type": "string",
599
+ "required": false,
600
+ "description": "マイルストーンIDで絞り込む",
601
+ "source": "curation"
602
+ },
603
+ {
604
+ "name": "label_ids",
605
+ "type": "string",
606
+ "required": false,
607
+ "description": "ラベルIDで絞り込む(カンマ区切り)",
608
+ "source": "curation"
609
+ },
610
+ {
611
+ "name": "assignee_id",
612
+ "type": "string",
613
+ "required": false,
614
+ "description": "担当者のユーザーIDで絞り込む",
615
+ "source": "curation"
616
+ },
617
+ {
618
+ "name": "created_by",
619
+ "type": "string",
620
+ "required": false,
621
+ "description": "起票者のユーザーIDで絞り込む",
622
+ "source": "curation"
564
623
  }
565
624
  ],
566
625
  "body": null,
@@ -739,42 +798,49 @@
739
798
  "name": "keyword",
740
799
  "type": "string",
741
800
  "required": false,
801
+ "description": "キーワードで絞り込む",
742
802
  "source": "spec"
743
803
  },
744
804
  {
745
805
  "name": "sort_column",
746
806
  "type": "string",
747
807
  "required": false,
808
+ "description": "並べ替える列(key / subject / assignee / type / status / priority / dueDate / category / version / milestone / updatedAt)。カンマ区切りで3列まで",
748
809
  "source": "spec"
749
810
  },
750
811
  {
751
812
  "name": "sort_direction",
752
813
  "type": "string",
753
814
  "required": false,
815
+ "description": "asc / desc。sort_column と同じ順にカンマ区切りで並べる",
754
816
  "source": "spec"
755
817
  },
756
818
  {
757
819
  "name": "condition",
758
820
  "type": "string",
759
821
  "required": false,
822
+ "description": "状態で絞り込む(overdue=期限切れ / stagnant=停滞 / risk=リスクあり)",
760
823
  "source": "spec"
761
824
  },
762
825
  {
763
826
  "name": "completed_from",
764
827
  "type": "string",
765
828
  "required": false,
829
+ "description": "完了日がこの日以降(YYYY-MM-DD・日本時間)",
766
830
  "source": "spec"
767
831
  },
768
832
  {
769
833
  "name": "completed_to",
770
834
  "type": "string",
771
835
  "required": false,
836
+ "description": "完了日がこの日以前(YYYY-MM-DD・日本時間)",
772
837
  "source": "spec"
773
838
  },
774
839
  {
775
840
  "name": "recurrence_type",
776
841
  "type": "string",
777
842
  "required": false,
843
+ "description": "繰り返し周期で絞り込む(daily / weekly / monthly / quarterly / half_yearly / yearly。any で周期ありすべて)",
778
844
  "source": "spec"
779
845
  },
780
846
  {
@@ -790,10 +856,87 @@
790
856
  "required": false,
791
857
  "description": "次ページの取得に使うカーソル",
792
858
  "source": "curation"
859
+ },
860
+ {
861
+ "name": "status_id",
862
+ "type": "string",
863
+ "required": false,
864
+ "description": "ステータスIDで絞り込む",
865
+ "source": "curation"
866
+ },
867
+ {
868
+ "name": "exclude_status_ids",
869
+ "type": "string",
870
+ "required": false,
871
+ "description": "除外するステータスID(カンマ区切り)",
872
+ "source": "curation"
873
+ },
874
+ {
875
+ "name": "type_id",
876
+ "type": "string",
877
+ "required": false,
878
+ "description": "種別IDで絞り込む",
879
+ "source": "curation"
880
+ },
881
+ {
882
+ "name": "category_id",
883
+ "type": "string",
884
+ "required": false,
885
+ "description": "カテゴリIDで絞り込む",
886
+ "source": "curation"
887
+ },
888
+ {
889
+ "name": "version_id",
890
+ "type": "string",
891
+ "required": false,
892
+ "description": "バージョンIDで絞り込む",
893
+ "source": "curation"
894
+ },
895
+ {
896
+ "name": "milestone_id",
897
+ "type": "string",
898
+ "required": false,
899
+ "description": "マイルストーンIDで絞り込む",
900
+ "source": "curation"
901
+ },
902
+ {
903
+ "name": "label_ids",
904
+ "type": "string",
905
+ "required": false,
906
+ "description": "ラベルIDで絞り込む(カンマ区切り)",
907
+ "source": "curation"
908
+ },
909
+ {
910
+ "name": "assignee_id",
911
+ "type": "string",
912
+ "required": false,
913
+ "description": "担当者のユーザーIDで絞り込む",
914
+ "source": "curation"
915
+ },
916
+ {
917
+ "name": "created_by",
918
+ "type": "string",
919
+ "required": false,
920
+ "description": "起票者のユーザーIDで絞り込む",
921
+ "source": "curation"
922
+ },
923
+ {
924
+ "name": "priority",
925
+ "type": "string",
926
+ "required": false,
927
+ "description": "優先度で絞り込む(1 高 / 2 中 / 3 低)",
928
+ "source": "curation"
929
+ },
930
+ {
931
+ "name": "exclude_subtasks",
932
+ "type": "boolean",
933
+ "required": false,
934
+ "description": "true で子タスクを除く",
935
+ "source": "curation"
793
936
  }
794
937
  ],
795
938
  "body": null,
796
- "resultPath": null,
939
+ "resultPath": "items",
797
940
  "risk": "read",
798
941
  "aliases": []
799
942
  },
@@ -810,36 +953,42 @@
810
953
  "name": "scope",
811
954
  "type": "string",
812
955
  "required": false,
956
+ "description": "表示範囲(me=自分の活動・既定 / all=テナント全体)",
813
957
  "source": "spec"
814
958
  },
815
959
  {
816
960
  "name": "keyword",
817
961
  "type": "string",
818
962
  "required": false,
963
+ "description": "キーワードで絞り込む",
819
964
  "source": "spec"
820
965
  },
821
966
  {
822
967
  "name": "date_from",
823
968
  "type": "string",
824
969
  "required": false,
970
+ "description": "この日以降の活動(YYYY-MM-DD)",
825
971
  "source": "spec"
826
972
  },
827
973
  {
828
974
  "name": "date_to",
829
975
  "type": "string",
830
976
  "required": false,
977
+ "description": "この日以前の活動(YYYY-MM-DD)",
831
978
  "source": "spec"
832
979
  },
833
980
  {
834
981
  "name": "action",
835
982
  "type": "string",
836
983
  "required": false,
984
+ "description": "操作の種類で絞り込む",
837
985
  "source": "spec"
838
986
  },
839
987
  {
840
988
  "name": "entity_type",
841
989
  "type": "string",
842
990
  "required": false,
991
+ "description": "対象の種類で絞り込む(既定はすべて)",
843
992
  "source": "spec"
844
993
  },
845
994
  {
@@ -923,7 +1072,7 @@
923
1072
  }
924
1073
  ],
925
1074
  "body": null,
926
- "resultPath": null,
1075
+ "resultPath": "items",
927
1076
  "risk": "read",
928
1077
  "aliases": []
929
1078
  },
@@ -1227,7 +1376,7 @@
1227
1376
  }
1228
1377
  ],
1229
1378
  "body": null,
1230
- "resultPath": null,
1379
+ "resultPath": "items",
1231
1380
  "risk": "read",
1232
1381
  "aliases": []
1233
1382
  },