@tocca-systems/twp-cli 0.14.0 → 0.15.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 (320) hide show
  1. package/CHANGELOG.public.md +31 -0
  2. package/README.md +27 -0
  3. package/command-model/account-lock.json +108 -0
  4. package/command-model/address.json +40 -0
  5. package/command-model/agent-loop.json +1121 -0
  6. package/command-model/agent.json +838 -0
  7. package/command-model/ai-chat-history.json +239 -0
  8. package/command-model/ai-rag.json +118 -0
  9. package/command-model/ai-task-copilot.json +235 -0
  10. package/command-model/ai-token-usage.json +421 -0
  11. package/command-model/analysis-page-access-rule.json +250 -0
  12. package/command-model/analysis.json +153 -0
  13. package/command-model/announcement.json +208 -0
  14. package/command-model/api-key.json +255 -0
  15. package/command-model/api-usage.json +123 -0
  16. package/command-model/attendance-report-category.json +263 -0
  17. package/command-model/attendance-report-reason-detail.json +291 -0
  18. package/command-model/attendance-report-reason.json +279 -0
  19. package/command-model/attendance-report.json +384 -0
  20. package/command-model/attendance-timesheet.json +92 -0
  21. package/command-model/attendance.json +34 -0
  22. package/command-model/audit-log.json +146 -0
  23. package/command-model/auth.json +268 -0
  24. package/command-model/authorize.json +60 -0
  25. package/command-model/auto-charge.json +149 -0
  26. package/command-model/badge.json +116 -0
  27. package/command-model/billing.json +297 -0
  28. package/command-model/budget.json +505 -0
  29. package/command-model/business-card.json +47 -0
  30. package/command-model/business-place.json +323 -0
  31. package/command-model/capacity.json +171 -0
  32. package/command-model/catalog.json +234 -0
  33. package/command-model/chat-channel.json +566 -0
  34. package/command-model/chat-mention-group.json +135 -0
  35. package/command-model/chat-message.json +296 -0
  36. package/command-model/chat-tenant-connection.json +173 -0
  37. package/command-model/cli-auth.json +212 -0
  38. package/command-model/cms-tag.json +323 -0
  39. package/command-model/commuting-expense.json +422 -0
  40. package/command-model/company-case-document.json +41 -0
  41. package/command-model/company-contract-document.json +350 -0
  42. package/command-model/company.json +581 -0
  43. package/command-model/config.json +63 -0
  44. package/command-model/contract.json +546 -0
  45. package/command-model/credit.json +629 -0
  46. package/command-model/cross-project-report.json +40 -0
  47. package/command-model/customer-campaign.json +181 -0
  48. package/command-model/customer-contact.json +538 -0
  49. package/command-model/customer-interaction.json +714 -0
  50. package/command-model/customer-people.json +129 -0
  51. package/command-model/customer.json +129 -0
  52. package/command-model/cycle-time-analysis.json +59 -0
  53. package/command-model/dashboard-calendar.json +40 -0
  54. package/command-model/department.json +374 -0
  55. package/command-model/deposit-plan.json +69 -0
  56. package/command-model/deposit.json +498 -0
  57. package/command-model/desktop-release.json +63 -0
  58. package/command-model/domain-knowledge-doc.json +287 -0
  59. package/command-model/domain-knowledge.json +246 -0
  60. package/command-model/dynamo-attachment.json +253 -0
  61. package/command-model/dynamo-cms.json +1322 -0
  62. package/command-model/dynamo-inquiry.json +417 -0
  63. package/command-model/dynamo-support.json +297 -0
  64. package/command-model/email-change.json +59 -0
  65. package/command-model/equipment-category.json +129 -0
  66. package/command-model/equipment.json +614 -0
  67. package/command-model/estimate-case-document.json +349 -0
  68. package/command-model/estimate-format.json +465 -0
  69. package/command-model/estimate-no-rule.json +236 -0
  70. package/command-model/estimate.json +1025 -0
  71. package/command-model/evaluation-pdf.json +68 -0
  72. package/command-model/evaluation-period.json +476 -0
  73. package/command-model/evaluation.json +786 -0
  74. package/command-model/expense-settings.json +60 -0
  75. package/command-model/external-integration-proxy.json +1261 -0
  76. package/command-model/faq-notion-import.json +246 -0
  77. package/command-model/faq.json +410 -0
  78. package/command-model/favorite.json +179 -0
  79. package/command-model/feedback.json +544 -0
  80. package/command-model/fiscal-year-setting.json +167 -0
  81. package/command-model/floor-map.json +175 -0
  82. package/command-model/follow-up-message-template.json +197 -0
  83. package/command-model/git-hub-pr-status.json +41 -0
  84. package/command-model/goal-sheet.json +350 -0
  85. package/command-model/google-auth.json +100 -0
  86. package/command-model/hearing-auth.json +329 -0
  87. package/command-model/hearing-invitation.json +252 -0
  88. package/command-model/hearing-session.json +194 -0
  89. package/command-model/hearing.json +929 -0
  90. package/command-model/holiday.json +362 -0
  91. package/command-model/hr-checklist-template.json +261 -0
  92. package/command-model/hr-checklist.json +185 -0
  93. package/command-model/hr-qualification.json +108 -0
  94. package/command-model/html-editor.json +55 -0
  95. package/command-model/index.json +1500 -0
  96. package/command-model/inquiry-response-generator.json +43 -0
  97. package/command-model/inquiry-routing.json +364 -0
  98. package/command-model/invoice-auto-template.json +245 -0
  99. package/command-model/invoice-no-rule.json +236 -0
  100. package/command-model/invoice.json +897 -0
  101. package/command-model/job-title.json +421 -0
  102. package/command-model/knowledge-qa.json +62 -0
  103. package/command-model/knowledge-recommendation-feedback.json +102 -0
  104. package/command-model/knowledge-recommendation.json +56 -0
  105. package/command-model/legacy-migration.json +76 -0
  106. package/command-model/license-assignment.json +296 -0
  107. package/command-model/license-type.json +288 -0
  108. package/command-model/license.json +525 -0
  109. package/command-model/login-history.json +99 -0
  110. package/command-model/man-hour.json +107 -0
  111. package/command-model/master-announcement.json +520 -0
  112. package/command-model/master-billing.json +117 -0
  113. package/command-model/master-pricing.json +246 -0
  114. package/command-model/master-product.json +523 -0
  115. package/command-model/master-support-ai.json +39 -0
  116. package/command-model/master-support.json +450 -0
  117. package/command-model/master-tenant.json +1909 -0
  118. package/command-model/media-file-comment.json +142 -0
  119. package/command-model/media-file-hls.json +47 -0
  120. package/command-model/media-file-version.json +188 -0
  121. package/command-model/media-file.json +1712 -0
  122. package/command-model/media-folder.json +398 -0
  123. package/command-model/meeting-category.json +195 -0
  124. package/command-model/meeting-minutes.json +68 -0
  125. package/command-model/meeting-pdf.json +41 -0
  126. package/command-model/meeting-template.json +227 -0
  127. package/command-model/meeting.json +1030 -0
  128. package/command-model/member.json +132 -0
  129. package/command-model/microsoft-auth.json +97 -0
  130. package/command-model/milli-credit.json +273 -0
  131. package/command-model/ms365-calendar-o-auth.json +115 -0
  132. package/command-model/music-generation.json +232 -0
  133. package/command-model/my-task.json +167 -0
  134. package/command-model/my-training.json +158 -0
  135. package/command-model/news-perspective.json +215 -0
  136. package/command-model/note-category.json +149 -0
  137. package/command-model/note-comment.json +225 -0
  138. package/command-model/note-favorite.json +47 -0
  139. package/command-model/note-reaction.json +62 -0
  140. package/command-model/note-subscription.json +110 -0
  141. package/command-model/note.json +578 -0
  142. package/command-model/notification-recipient-rule.json +231 -0
  143. package/command-model/notification.json +336 -0
  144. package/command-model/notion-import.json +265 -0
  145. package/command-model/o-auth-client.json +334 -0
  146. package/command-model/onboarding-template.json +706 -0
  147. package/command-model/operating-hours.json +100 -0
  148. package/command-model/order-form-scan.json +33 -0
  149. package/command-model/org-chart.json +40 -0
  150. package/command-model/organization-announcement-category.json +135 -0
  151. package/command-model/organization-announcement.json +605 -0
  152. package/command-model/password-reset.json +100 -0
  153. package/command-model/payee.json +223 -0
  154. package/command-model/pc-situation.json +129 -0
  155. package/command-model/phone-change.json +65 -0
  156. package/command-model/policy-employee.json +99 -0
  157. package/command-model/policy.json +506 -0
  158. package/command-model/position.json +305 -0
  159. package/command-model/private-agent-loop.json +850 -0
  160. package/command-model/private-task.json +406 -0
  161. package/command-model/process.json +237 -0
  162. package/command-model/profit-analysis.json +183 -0
  163. package/command-model/profit-summary.json +70 -0
  164. package/command-model/project-assignment.json +55 -0
  165. package/command-model/project-cost.json +255 -0
  166. package/command-model/project-custom-field.json +379 -0
  167. package/command-model/project-digest.json +116 -0
  168. package/command-model/project-evaluation.json +313 -0
  169. package/command-model/project-health.json +158 -0
  170. package/command-model/project-member.json +468 -0
  171. package/command-model/project-process.json +310 -0
  172. package/command-model/project-profit-analysis.json +59 -0
  173. package/command-model/project-quality-check-corrective-task.json +126 -0
  174. package/command-model/project-quality-check-record.json +131 -0
  175. package/command-model/project-quality-check-scope.json +87 -0
  176. package/command-model/project-quality-check-status.json +63 -0
  177. package/command-model/project-repository.json +180 -0
  178. package/command-model/project-revenue.json +292 -0
  179. package/command-model/project-task-analytics.json +41 -0
  180. package/command-model/project-task-category.json +203 -0
  181. package/command-model/project-task-comment.json +430 -0
  182. package/command-model/project-task-form-options.json +41 -0
  183. package/command-model/project-task-label.json +203 -0
  184. package/command-model/project-task-link.json +169 -0
  185. package/command-model/project-task-milestone.json +215 -0
  186. package/command-model/project-task-rule.json +376 -0
  187. package/command-model/project-task-status.json +221 -0
  188. package/command-model/project-task-template.json +264 -0
  189. package/command-model/project-task-type.json +240 -0
  190. package/command-model/project-task-version.json +215 -0
  191. package/command-model/project-task-watcher.json +101 -0
  192. package/command-model/project-task.json +1476 -0
  193. package/command-model/project-template.json +443 -0
  194. package/command-model/project.json +979 -0
  195. package/command-model/prospect-activity.json +293 -0
  196. package/command-model/prospect-promotion.json +86 -0
  197. package/command-model/prospect.json +793 -0
  198. package/command-model/public-search.json +68 -0
  199. package/command-model/purchase-ai-field-mapping.json +293 -0
  200. package/command-model/purchase-document.json +349 -0
  201. package/command-model/purchase-estimate-scan.json +42 -0
  202. package/command-model/purchase-no-rule.json +242 -0
  203. package/command-model/purchase.json +608 -0
  204. package/command-model/push-subscription.json +108 -0
  205. package/command-model/qualification-import.json +91 -0
  206. package/command-model/qualification.json +252 -0
  207. package/command-model/quality-check-item.json +256 -0
  208. package/command-model/rag.json +76 -0
  209. package/command-model/rating-criteria.json +76 -0
  210. package/command-model/receivable-closing.json +105 -0
  211. package/command-model/receivable.json +63 -0
  212. package/command-model/received-invoice.json +151 -0
  213. package/command-model/refresh-token.json +31 -0
  214. package/command-model/report-format-order.json +48 -0
  215. package/command-model/report-saved-tab.json +154 -0
  216. package/command-model/report.json +2400 -0
  217. package/command-model/retrospective.json +591 -0
  218. package/command-model/revoke.json +34 -0
  219. package/command-model/risk-analysis.json +41 -0
  220. package/command-model/role-template.json +198 -0
  221. package/command-model/sales-ai-review-knowledge-draft.json +37 -0
  222. package/command-model/sales-ai-review-knowledge-pr.json +49 -0
  223. package/command-model/sales-ai-review-reason-list.json +70 -0
  224. package/command-model/sales-pdf.json +293 -0
  225. package/command-model/sales-rounding-setting.json +66 -0
  226. package/command-model/sales.json +425 -0
  227. package/command-model/saved-tab.json +150 -0
  228. package/command-model/saved-task-filter.json +154 -0
  229. package/command-model/seal-impression.json +195 -0
  230. package/command-model/segment.json +237 -0
  231. package/command-model/sidebar-badge-setting.json +60 -0
  232. package/command-model/skill-analytics.json +163 -0
  233. package/command-model/skill-category.json +235 -0
  234. package/command-model/skill-evaluation-export.json +49 -0
  235. package/command-model/skill-evaluation-record.json +140 -0
  236. package/command-model/skill-micro-feedback.json +132 -0
  237. package/command-model/skill-role-assignment.json +117 -0
  238. package/command-model/skill.json +327 -0
  239. package/command-model/staff-kpi-setting.json +186 -0
  240. package/command-model/staff-kpi.json +46 -0
  241. package/command-model/staffing-plan.json +428 -0
  242. package/command-model/storage.json +254 -0
  243. package/command-model/subscription.json +164 -0
  244. package/command-model/supplier-payment-schedule.json +237 -0
  245. package/command-model/supplier-payment.json +344 -0
  246. package/command-model/survey-tracker.json +398 -0
  247. package/command-model/survey.json +1759 -0
  248. package/command-model/task-analysis.json +34 -0
  249. package/command-model/task-branch.json +307 -0
  250. package/command-model/task-recurrence.json +261 -0
  251. package/command-model/task-wiki-link.json +155 -0
  252. package/command-model/tenant-ai-key.json +339 -0
  253. package/command-model/tenant-egress-policy.json +288 -0
  254. package/command-model/tenant-email-settings.json +143 -0
  255. package/command-model/tenant-git-hub-settings.json +361 -0
  256. package/command-model/tenant-master-email-change.json +59 -0
  257. package/command-model/tenant-rag-settings.json +382 -0
  258. package/command-model/tenant-registration.json +128 -0
  259. package/command-model/tenant-search.json +40 -0
  260. package/command-model/tenant-settings.json +1228 -0
  261. package/command-model/terms.json +90 -0
  262. package/command-model/test-execution.json +367 -0
  263. package/command-model/test-scenario.json +384 -0
  264. package/command-model/token.json +31 -0
  265. package/command-model/training-attendance.json +509 -0
  266. package/command-model/training-master.json +314 -0
  267. package/command-model/training-session.json +604 -0
  268. package/command-model/unified-search.json +127 -0
  269. package/command-model/update-record.json +90 -0
  270. package/command-model/user-api-key.json +357 -0
  271. package/command-model/user-assignment-calendar.json +47 -0
  272. package/command-model/user-assignment.json +663 -0
  273. package/command-model/user-contract-type.json +453 -0
  274. package/command-model/user-contract.json +759 -0
  275. package/command-model/user-group.json +147 -0
  276. package/command-model/user-info.json +34 -0
  277. package/command-model/user-invitation.json +1045 -0
  278. package/command-model/user-management.json +393 -0
  279. package/command-model/user-qualification.json +167 -0
  280. package/command-model/user-seal-generate.json +49 -0
  281. package/command-model/user-shortcut-setting.json +108 -0
  282. package/command-model/user-skill-profile.json +540 -0
  283. package/command-model/user.json +983 -0
  284. package/command-model/video-generation.json +456 -0
  285. package/command-model/web-search.json +67 -0
  286. package/command-model/well-known.json +63 -0
  287. package/command-model/whisper.json +88 -0
  288. package/command-model/wiki-collection.json +457 -0
  289. package/command-model/wiki-notion-import.json +172 -0
  290. package/command-model/wiki-template.json +187 -0
  291. package/command-model/wiki.json +449 -0
  292. package/command-model/worker-agent-run.json +185 -0
  293. package/command-model/worker-agent.json +524 -0
  294. package/command-model/workflow-ai-review.json +108 -0
  295. package/command-model/workflow-analysis.json +59 -0
  296. package/command-model/workflow-approval-delegation.json +135 -0
  297. package/command-model/workflow-approval.json +257 -0
  298. package/command-model/workflow-instance.json +273 -0
  299. package/command-model/workflow-tracker.json +481 -0
  300. package/command-model/workflow.json +553 -0
  301. package/command-model/workload-alert.json +105 -0
  302. package/dist/api-command-KPZHOOY2.js +73 -0
  303. package/dist/{app-OOHRCRTG.js → app-LLSZV6SM.js} +33 -32
  304. package/dist/{backlog-M5ORA4UV.js → backlog-AYEKG575.js} +2 -2
  305. package/dist/{chunk-V4VHRASG.js → chunk-7WEYBZSK.js} +1 -1
  306. package/dist/{chunk-EOFANBVM.js → chunk-FKIZ5ZJU.js} +2 -2
  307. package/dist/{chunk-6JGIC2IW.js → chunk-HCO3IYGJ.js} +1 -1
  308. package/dist/{run-6FWRZNZR.js → chunk-JD752WTS.js} +6 -7
  309. package/dist/chunk-S646CPM4.js +9 -0
  310. package/dist/{chunk-KIOMZ2ZU.js → chunk-Y5RTTQ4Y.js} +68 -41
  311. package/dist/cli.js +25 -23
  312. package/dist/{commands-MQ32SI5I.js → commands-RNBJ3AKL.js} +18 -17
  313. package/dist/{commands-YPT6RK74.js → commands-VUWI4ERO.js} +1 -1
  314. package/dist/oneshot-HQJEXZHJ.js +18 -0
  315. package/dist/run-N3HIHYO7.js +4 -0
  316. package/dist/{setup-JXETAINT.js → setup-OULTAG6G.js} +1 -1
  317. package/dist/{task-DAW7IUDT.js → task-UK4QO26W.js} +2 -2
  318. package/package.json +6 -2
  319. package/dist/chunk-NNOYO67O.js +0 -7
  320. package/dist/oneshot-4RW7KWY5.js +0 -18
@@ -0,0 +1,421 @@
1
+ {
2
+ "domain": "ai-token-usage",
3
+ "operations": [
4
+ {
5
+ "name": "all-tenants-summary",
6
+ "domain": "ai-token-usage",
7
+ "operationId": "aiTokenUsage.allTenantsSummary",
8
+ "method": "GET",
9
+ "path": "/v2/master/ai/token-usage/tenants",
10
+ "summary": "マスター管理者向け: 全テナントの使用量サマリーを取得",
11
+ "pathParams": [],
12
+ "queryParams": [
13
+ {
14
+ "name": "month",
15
+ "type": "string",
16
+ "required": false,
17
+ "source": "spec"
18
+ },
19
+ {
20
+ "name": "search",
21
+ "type": "string",
22
+ "required": false,
23
+ "source": "spec"
24
+ },
25
+ {
26
+ "name": "limit",
27
+ "type": "integer",
28
+ "required": false,
29
+ "description": "1ページあたりの件数",
30
+ "source": "curation"
31
+ },
32
+ {
33
+ "name": "cursor",
34
+ "type": "string",
35
+ "required": false,
36
+ "description": "次ページの取得に使うカーソル",
37
+ "source": "curation"
38
+ }
39
+ ],
40
+ "body": null,
41
+ "resultPath": "",
42
+ "risk": "read",
43
+ "aliases": []
44
+ },
45
+ {
46
+ "name": "by-user",
47
+ "domain": "ai-token-usage",
48
+ "operationId": "aiTokenUsage.byUser",
49
+ "method": "GET",
50
+ "path": "/v2/ai/token-usage/users/{userId}",
51
+ "summary": "ユーザーの使用量を取得",
52
+ "pathParams": [
53
+ {
54
+ "name": "userId",
55
+ "type": "string",
56
+ "required": true,
57
+ "source": "spec"
58
+ }
59
+ ],
60
+ "queryParams": [
61
+ {
62
+ "name": "start_date",
63
+ "type": "string",
64
+ "required": false,
65
+ "source": "spec"
66
+ },
67
+ {
68
+ "name": "end_date",
69
+ "type": "string",
70
+ "required": false,
71
+ "source": "spec"
72
+ },
73
+ {
74
+ "name": "limit",
75
+ "type": "integer",
76
+ "required": false,
77
+ "description": "1ページあたりの件数",
78
+ "source": "curation"
79
+ },
80
+ {
81
+ "name": "cursor",
82
+ "type": "string",
83
+ "required": false,
84
+ "description": "次ページの取得に使うカーソル",
85
+ "source": "curation"
86
+ }
87
+ ],
88
+ "body": null,
89
+ "resultPath": "",
90
+ "risk": "read",
91
+ "aliases": []
92
+ },
93
+ {
94
+ "name": "daily",
95
+ "domain": "ai-token-usage",
96
+ "operationId": "aiTokenUsage.daily",
97
+ "method": "GET",
98
+ "path": "/v2/ai/token-usage/daily",
99
+ "summary": "日別使用量を取得",
100
+ "pathParams": [],
101
+ "queryParams": [
102
+ {
103
+ "name": "start_date",
104
+ "type": "string",
105
+ "required": false,
106
+ "source": "spec"
107
+ },
108
+ {
109
+ "name": "end_date",
110
+ "type": "string",
111
+ "required": false,
112
+ "source": "spec"
113
+ },
114
+ {
115
+ "name": "limit",
116
+ "type": "integer",
117
+ "required": false,
118
+ "description": "1ページあたりの件数",
119
+ "source": "curation"
120
+ },
121
+ {
122
+ "name": "cursor",
123
+ "type": "string",
124
+ "required": false,
125
+ "description": "次ページの取得に使うカーソル",
126
+ "source": "curation"
127
+ }
128
+ ],
129
+ "body": null,
130
+ "resultPath": "",
131
+ "risk": "read",
132
+ "aliases": []
133
+ },
134
+ {
135
+ "name": "monthly",
136
+ "domain": "ai-token-usage",
137
+ "operationId": "aiTokenUsage.monthly",
138
+ "method": "GET",
139
+ "path": "/v2/ai/token-usage/monthly",
140
+ "summary": "月別使用量を取得",
141
+ "pathParams": [],
142
+ "queryParams": [
143
+ {
144
+ "name": "month",
145
+ "type": "string",
146
+ "required": false,
147
+ "source": "spec"
148
+ },
149
+ {
150
+ "name": "limit",
151
+ "type": "integer",
152
+ "required": false,
153
+ "description": "1ページあたりの件数",
154
+ "source": "curation"
155
+ },
156
+ {
157
+ "name": "cursor",
158
+ "type": "string",
159
+ "required": false,
160
+ "description": "次ページの取得に使うカーソル",
161
+ "source": "curation"
162
+ }
163
+ ],
164
+ "body": null,
165
+ "resultPath": "",
166
+ "risk": "read",
167
+ "aliases": []
168
+ },
169
+ {
170
+ "name": "my-usage",
171
+ "domain": "ai-token-usage",
172
+ "operationId": "aiTokenUsage.myUsage",
173
+ "method": "GET",
174
+ "path": "/v2/ai/token-usage/my",
175
+ "summary": "現在のユーザーの使用量を取得",
176
+ "pathParams": [],
177
+ "queryParams": [
178
+ {
179
+ "name": "start_date",
180
+ "type": "string",
181
+ "required": false,
182
+ "source": "spec"
183
+ },
184
+ {
185
+ "name": "end_date",
186
+ "type": "string",
187
+ "required": false,
188
+ "source": "spec"
189
+ },
190
+ {
191
+ "name": "limit",
192
+ "type": "integer",
193
+ "required": false,
194
+ "description": "1ページあたりの件数",
195
+ "source": "curation"
196
+ },
197
+ {
198
+ "name": "cursor",
199
+ "type": "string",
200
+ "required": false,
201
+ "description": "次ページの取得に使うカーソル",
202
+ "source": "curation"
203
+ }
204
+ ],
205
+ "body": null,
206
+ "resultPath": "",
207
+ "risk": "read",
208
+ "aliases": []
209
+ },
210
+ {
211
+ "name": "ranking",
212
+ "domain": "ai-token-usage",
213
+ "operationId": "aiTokenUsage.ranking",
214
+ "method": "GET",
215
+ "path": "/v2/ai/token-usage/ranking",
216
+ "summary": "ユーザー別ランキングを取得",
217
+ "pathParams": [],
218
+ "queryParams": [
219
+ {
220
+ "name": "month",
221
+ "type": "string",
222
+ "required": false,
223
+ "source": "spec"
224
+ },
225
+ {
226
+ "name": "limit",
227
+ "type": "integer",
228
+ "required": false,
229
+ "description": "1ページあたりの件数",
230
+ "source": "curation"
231
+ },
232
+ {
233
+ "name": "cursor",
234
+ "type": "string",
235
+ "required": false,
236
+ "description": "次ページの取得に使うカーソル",
237
+ "source": "curation"
238
+ }
239
+ ],
240
+ "body": null,
241
+ "resultPath": "",
242
+ "risk": "read",
243
+ "aliases": []
244
+ },
245
+ {
246
+ "name": "record",
247
+ "domain": "ai-token-usage",
248
+ "operationId": "aiTokenUsage.record",
249
+ "method": "POST",
250
+ "path": "/v2/ai/token-usage",
251
+ "summary": "トークン使用量を記録",
252
+ "pathParams": [],
253
+ "queryParams": [],
254
+ "body": {
255
+ "schema": {
256
+ "type": "object",
257
+ "properties": {
258
+ "session_id": {
259
+ "type": [
260
+ "string",
261
+ "null"
262
+ ],
263
+ "maxLength": 100
264
+ },
265
+ "model": {
266
+ "type": "string",
267
+ "maxLength": 100
268
+ },
269
+ "type": {
270
+ "type": "string",
271
+ "enum": [
272
+ "text",
273
+ "voice",
274
+ "realtime"
275
+ ]
276
+ },
277
+ "prompt_tokens": {
278
+ "type": "integer",
279
+ "minimum": 0
280
+ },
281
+ "completion_tokens": {
282
+ "type": "integer",
283
+ "minimum": 0
284
+ },
285
+ "total_tokens": {
286
+ "type": "integer",
287
+ "minimum": 0
288
+ },
289
+ "estimated_cost": {
290
+ "type": [
291
+ "number",
292
+ "null"
293
+ ],
294
+ "minimum": 0
295
+ },
296
+ "audio_prompt_tokens": {
297
+ "type": [
298
+ "integer",
299
+ "null"
300
+ ],
301
+ "minimum": 0
302
+ },
303
+ "audio_completion_tokens": {
304
+ "type": [
305
+ "integer",
306
+ "null"
307
+ ],
308
+ "minimum": 0
309
+ },
310
+ "cached_prompt_tokens": {
311
+ "type": [
312
+ "integer",
313
+ "null"
314
+ ],
315
+ "minimum": 0
316
+ }
317
+ },
318
+ "required": [
319
+ "model",
320
+ "type",
321
+ "prompt_tokens",
322
+ "completion_tokens",
323
+ "total_tokens"
324
+ ]
325
+ }
326
+ },
327
+ "resultPath": null,
328
+ "risk": "write",
329
+ "aliases": []
330
+ },
331
+ {
332
+ "name": "summary",
333
+ "domain": "ai-token-usage",
334
+ "operationId": "aiTokenUsage.summary",
335
+ "method": "GET",
336
+ "path": "/v2/ai/token-usage/summary",
337
+ "summary": "テナントの使用量サマリーを取得",
338
+ "pathParams": [],
339
+ "queryParams": [
340
+ {
341
+ "name": "month",
342
+ "type": "string",
343
+ "required": false,
344
+ "source": "spec"
345
+ },
346
+ {
347
+ "name": "start_date",
348
+ "type": "string",
349
+ "required": false,
350
+ "source": "spec"
351
+ },
352
+ {
353
+ "name": "end_date",
354
+ "type": "string",
355
+ "required": false,
356
+ "source": "spec"
357
+ },
358
+ {
359
+ "name": "limit",
360
+ "type": "integer",
361
+ "required": false,
362
+ "description": "1ページあたりの件数",
363
+ "source": "curation"
364
+ },
365
+ {
366
+ "name": "cursor",
367
+ "type": "string",
368
+ "required": false,
369
+ "description": "次ページの取得に使うカーソル",
370
+ "source": "curation"
371
+ }
372
+ ],
373
+ "body": null,
374
+ "resultPath": "",
375
+ "risk": "read",
376
+ "aliases": []
377
+ },
378
+ {
379
+ "name": "tenant-detail",
380
+ "domain": "ai-token-usage",
381
+ "operationId": "aiTokenUsage.tenantDetail",
382
+ "method": "GET",
383
+ "path": "/v2/master/ai/token-usage/tenants/{tenantId}",
384
+ "summary": "マスター管理者向け: 特定テナントの詳細使用量を取得",
385
+ "pathParams": [
386
+ {
387
+ "name": "tenantId",
388
+ "type": "string",
389
+ "required": true,
390
+ "source": "spec"
391
+ }
392
+ ],
393
+ "queryParams": [
394
+ {
395
+ "name": "month",
396
+ "type": "string",
397
+ "required": false,
398
+ "source": "spec"
399
+ },
400
+ {
401
+ "name": "limit",
402
+ "type": "integer",
403
+ "required": false,
404
+ "description": "1ページあたりの件数",
405
+ "source": "curation"
406
+ },
407
+ {
408
+ "name": "cursor",
409
+ "type": "string",
410
+ "required": false,
411
+ "description": "次ページの取得に使うカーソル",
412
+ "source": "curation"
413
+ }
414
+ ],
415
+ "body": null,
416
+ "resultPath": "",
417
+ "risk": "read",
418
+ "aliases": []
419
+ }
420
+ ]
421
+ }
@@ -0,0 +1,250 @@
1
+ {
2
+ "domain": "analysis-page-access-rule",
3
+ "operations": [
4
+ {
5
+ "name": "accessible-pages",
6
+ "domain": "analysis-page-access-rule",
7
+ "operationId": "analysisPageAccessRule.accessiblePages",
8
+ "method": "GET",
9
+ "path": "/v2/analysis/accessible-pages",
10
+ "summary": "ログイン中のユーザーがアクセスできる分析ページのキー一覧。",
11
+ "pathParams": [],
12
+ "queryParams": [
13
+ {
14
+ "name": "limit",
15
+ "type": "integer",
16
+ "required": false,
17
+ "description": "1ページあたりの件数",
18
+ "source": "curation"
19
+ },
20
+ {
21
+ "name": "cursor",
22
+ "type": "string",
23
+ "required": false,
24
+ "description": "次ページの取得に使うカーソル",
25
+ "source": "curation"
26
+ }
27
+ ],
28
+ "body": null,
29
+ "resultPath": "",
30
+ "risk": "read",
31
+ "aliases": []
32
+ },
33
+ {
34
+ "name": "delete",
35
+ "domain": "analysis-page-access-rule",
36
+ "operationId": "analysisPageAccessRule.destroy",
37
+ "method": "DELETE",
38
+ "path": "/v2/analysis/page-access-rules/{pageKey}",
39
+ "summary": "ルールを削除する(機能別権限だけの判定へ戻る)。",
40
+ "pathParams": [
41
+ {
42
+ "name": "pageKey",
43
+ "type": "string",
44
+ "required": true,
45
+ "source": "spec"
46
+ }
47
+ ],
48
+ "queryParams": [],
49
+ "body": null,
50
+ "resultPath": "",
51
+ "risk": "destructive",
52
+ "aliases": []
53
+ },
54
+ {
55
+ "name": "get",
56
+ "domain": "analysis-page-access-rule",
57
+ "operationId": "analysisPageAccessRule.show",
58
+ "method": "GET",
59
+ "path": "/v2/analysis/page-access-rules/{pageKey}",
60
+ "summary": "ページのアクセス対象ルールを取得する(未設定なら既定値を返す)。",
61
+ "pathParams": [
62
+ {
63
+ "name": "pageKey",
64
+ "type": "string",
65
+ "required": true,
66
+ "source": "spec"
67
+ }
68
+ ],
69
+ "queryParams": [
70
+ {
71
+ "name": "limit",
72
+ "type": "integer",
73
+ "required": false,
74
+ "description": "1ページあたりの件数",
75
+ "source": "curation"
76
+ },
77
+ {
78
+ "name": "cursor",
79
+ "type": "string",
80
+ "required": false,
81
+ "description": "次ページの取得に使うカーソル",
82
+ "source": "curation"
83
+ }
84
+ ],
85
+ "body": null,
86
+ "resultPath": "",
87
+ "risk": "read",
88
+ "aliases": []
89
+ },
90
+ {
91
+ "name": "list",
92
+ "domain": "analysis-page-access-rule",
93
+ "operationId": "analysisPageAccessRule.index",
94
+ "method": "GET",
95
+ "path": "/v2/analysis/page-access-rules",
96
+ "summary": "設定可能な分析ページと、テナントの現在の設定を一覧する。",
97
+ "pathParams": [],
98
+ "queryParams": [
99
+ {
100
+ "name": "limit",
101
+ "type": "integer",
102
+ "required": false,
103
+ "description": "1ページあたりの件数",
104
+ "source": "curation"
105
+ },
106
+ {
107
+ "name": "cursor",
108
+ "type": "string",
109
+ "required": false,
110
+ "description": "次ページの取得に使うカーソル",
111
+ "source": "curation"
112
+ }
113
+ ],
114
+ "body": null,
115
+ "resultPath": "",
116
+ "risk": "read",
117
+ "aliases": []
118
+ },
119
+ {
120
+ "name": "preview",
121
+ "domain": "analysis-page-access-rule",
122
+ "operationId": "analysisPageAccessRule.preview",
123
+ "method": "POST",
124
+ "path": "/v2/analysis/page-access-rules/{pageKey}/preview",
125
+ "summary": "現在の設定で実際に誰がページを開けるかを解決して返す(設定画面のプレビュー)。",
126
+ "pathParams": [
127
+ {
128
+ "name": "pageKey",
129
+ "type": "string",
130
+ "required": true,
131
+ "source": "spec"
132
+ }
133
+ ],
134
+ "queryParams": [],
135
+ "body": {
136
+ "schema": {
137
+ "type": "object",
138
+ "properties": {
139
+ "department_ids": {
140
+ "type": "array",
141
+ "items": {
142
+ "type": "string",
143
+ "maxLength": 255
144
+ },
145
+ "maxItems": 100
146
+ },
147
+ "include_descendant_departments": {
148
+ "type": "boolean"
149
+ },
150
+ "position_ids": {
151
+ "type": "array",
152
+ "items": {
153
+ "type": "string",
154
+ "maxLength": 255
155
+ },
156
+ "maxItems": 100
157
+ },
158
+ "min_position_rank": {
159
+ "type": [
160
+ "integer",
161
+ "null"
162
+ ],
163
+ "minimum": 0,
164
+ "maximum": 9999
165
+ },
166
+ "user_ids": {
167
+ "type": "array",
168
+ "items": {
169
+ "type": "string",
170
+ "maxLength": 255
171
+ },
172
+ "maxItems": 500
173
+ }
174
+ }
175
+ }
176
+ },
177
+ "resultPath": "",
178
+ "risk": "write",
179
+ "aliases": []
180
+ },
181
+ {
182
+ "name": "update",
183
+ "domain": "analysis-page-access-rule",
184
+ "operationId": "analysisPageAccessRule.update",
185
+ "method": "PUT",
186
+ "path": "/v2/analysis/page-access-rules/{pageKey}",
187
+ "summary": "ページのアクセス対象ルールを保存する。",
188
+ "pathParams": [
189
+ {
190
+ "name": "pageKey",
191
+ "type": "string",
192
+ "required": true,
193
+ "source": "spec"
194
+ }
195
+ ],
196
+ "queryParams": [],
197
+ "body": {
198
+ "schema": {
199
+ "type": "object",
200
+ "properties": {
201
+ "department_ids": {
202
+ "type": "array",
203
+ "items": {
204
+ "type": "string",
205
+ "maxLength": 255
206
+ },
207
+ "maxItems": 100
208
+ },
209
+ "include_descendant_departments": {
210
+ "type": "boolean"
211
+ },
212
+ "position_ids": {
213
+ "type": "array",
214
+ "items": {
215
+ "type": "string",
216
+ "maxLength": 255
217
+ },
218
+ "maxItems": 100
219
+ },
220
+ "min_position_rank": {
221
+ "type": [
222
+ "integer",
223
+ "null"
224
+ ],
225
+ "minimum": 0,
226
+ "maximum": 9999
227
+ },
228
+ "user_ids": {
229
+ "type": "array",
230
+ "items": {
231
+ "type": "string",
232
+ "maxLength": 255
233
+ },
234
+ "maxItems": 500
235
+ },
236
+ "enabled": {
237
+ "type": "boolean"
238
+ }
239
+ },
240
+ "required": [
241
+ "enabled"
242
+ ]
243
+ }
244
+ },
245
+ "resultPath": "",
246
+ "risk": "write",
247
+ "aliases": []
248
+ }
249
+ ]
250
+ }