@tocca-systems/twp-cli 0.52.0 → 0.53.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 (323) hide show
  1. package/CHANGELOG.public.md +10 -0
  2. package/README.md +18 -1
  3. package/command-model/account-lock.json +3 -103
  4. package/command-model/address.json +1 -35
  5. package/command-model/agent-loop.json +31 -1116
  6. package/command-model/agent.json +18 -833
  7. package/command-model/ai-chat-history.json +7 -234
  8. package/command-model/ai-rag.json +2 -113
  9. package/command-model/ai-task-copilot.json +6 -230
  10. package/command-model/ai-token-usage.json +9 -416
  11. package/command-model/analysis-page-access-rule.json +6 -245
  12. package/command-model/analysis.json +2 -148
  13. package/command-model/announcement.json +7 -203
  14. package/command-model/api-key.json +7 -250
  15. package/command-model/api-usage.json +3 -118
  16. package/command-model/attendance-report-category.json +6 -258
  17. package/command-model/attendance-report-reason-detail.json +6 -286
  18. package/command-model/attendance-report-reason.json +6 -274
  19. package/command-model/attendance-report.json +7 -379
  20. package/command-model/attendance-timesheet.json +3 -87
  21. package/command-model/attendance.json +1 -29
  22. package/command-model/audit-log.json +3 -141
  23. package/command-model/auth.json +10 -263
  24. package/command-model/authorize.json +2 -55
  25. package/command-model/auto-charge.json +4 -144
  26. package/command-model/badge.json +4 -111
  27. package/command-model/billing.json +8 -292
  28. package/command-model/budget.json +12 -500
  29. package/command-model/business-card.json +1 -42
  30. package/command-model/business-place.json +5 -318
  31. package/command-model/capacity.json +5 -166
  32. package/command-model/catalog.json +7 -229
  33. package/command-model/chat-channel.json +17 -561
  34. package/command-model/chat-mention-group.json +4 -130
  35. package/command-model/chat-message.json +7 -291
  36. package/command-model/chat-tenant-connection.json +7 -168
  37. package/command-model/cli-auth.json +6 -207
  38. package/command-model/cms-tag.json +8 -318
  39. package/command-model/commuting-expense.json +12 -417
  40. package/command-model/company-case-document.json +1 -36
  41. package/command-model/company-contract-document.json +9 -345
  42. package/command-model/company.json +5 -595
  43. package/command-model/config.json +2 -58
  44. package/command-model/contract.json +5 -541
  45. package/command-model/credit.json +20 -624
  46. package/command-model/cross-project-report.json +1 -35
  47. package/command-model/customer-campaign.json +5 -176
  48. package/command-model/customer-contact.json +8 -533
  49. package/command-model/customer-interaction.json +10 -709
  50. package/command-model/customer-people.json +3 -124
  51. package/command-model/customer.json +3 -124
  52. package/command-model/cycle-time-analysis.json +1 -54
  53. package/command-model/dashboard-calendar.json +1 -35
  54. package/command-model/department.json +8 -379
  55. package/command-model/deposit-plan.json +2 -64
  56. package/command-model/deposit.json +10 -493
  57. package/command-model/desktop-release.json +2 -58
  58. package/command-model/domain-knowledge-doc.json +6 -282
  59. package/command-model/domain-knowledge.json +5 -241
  60. package/command-model/dynamo-attachment.json +7 -248
  61. package/command-model/dynamo-cms.json +25 -1317
  62. package/command-model/dynamo-inquiry.json +11 -453
  63. package/command-model/dynamo-support.json +9 -292
  64. package/command-model/email-change.json +2 -54
  65. package/command-model/equipment-category.json +4 -124
  66. package/command-model/equipment.json +12 -614
  67. package/command-model/estimate-case-document.json +9 -344
  68. package/command-model/estimate-format.json +5 -460
  69. package/command-model/estimate-no-rule.json +5 -231
  70. package/command-model/estimate.json +11 -1020
  71. package/command-model/evaluation-pdf.json +2 -63
  72. package/command-model/evaluation-period.json +8 -471
  73. package/command-model/evaluation.json +18 -781
  74. package/command-model/expense-settings.json +2 -55
  75. package/command-model/external-integration-proxy.json +30 -1256
  76. package/command-model/faq-notion-import.json +7 -241
  77. package/command-model/faq.json +7 -405
  78. package/command-model/favorite.json +5 -174
  79. package/command-model/feedback.json +14 -539
  80. package/command-model/fiscal-year-setting.json +5 -162
  81. package/command-model/floor-map.json +5 -170
  82. package/command-model/follow-up-message-template.json +6 -192
  83. package/command-model/git-hub-pr-status.json +1 -36
  84. package/command-model/goal-sheet.json +12 -345
  85. package/command-model/google-auth.json +2 -95
  86. package/command-model/hearing-auth.json +11 -324
  87. package/command-model/hearing-invitation.json +5 -247
  88. package/command-model/hearing-session.json +5 -189
  89. package/command-model/hearing.json +22 -924
  90. package/command-model/holiday.json +10 -357
  91. package/command-model/hr-checklist-template.json +5 -256
  92. package/command-model/hr-checklist.json +6 -180
  93. package/command-model/hr-qualification.json +2 -103
  94. package/command-model/html-editor.json +2 -50
  95. package/command-model/index.json +298 -1490
  96. package/command-model/inquiry-response-generator.json +1 -38
  97. package/command-model/inquiry-routing.json +12 -359
  98. package/command-model/invoice-auto-template.json +7 -240
  99. package/command-model/invoice-no-rule.json +5 -231
  100. package/command-model/invoice.json +13 -914
  101. package/command-model/job-title.json +9 -416
  102. package/command-model/knowledge-qa.json +2 -57
  103. package/command-model/knowledge-recommendation-feedback.json +2 -97
  104. package/command-model/knowledge-recommendation.json +1 -51
  105. package/command-model/legacy-migration.json +2 -71
  106. package/command-model/license-assignment.json +7 -291
  107. package/command-model/license-type.json +7 -283
  108. package/command-model/license.json +15 -520
  109. package/command-model/login-history.json +2 -94
  110. package/command-model/man-hour.json +2 -102
  111. package/command-model/master-announcement.json +8 -515
  112. package/command-model/master-billing.json +3 -112
  113. package/command-model/master-pricing.json +7 -241
  114. package/command-model/master-product.json +12 -518
  115. package/command-model/master-support-ai.json +1 -34
  116. package/command-model/master-support.json +10 -445
  117. package/command-model/master-tenant.json +22 -1904
  118. package/command-model/media-file-comment.json +4 -137
  119. package/command-model/media-file-hls.json +2 -42
  120. package/command-model/media-file-version.json +5 -183
  121. package/command-model/media-file.json +44 -1707
  122. package/command-model/media-folder.json +11 -393
  123. package/command-model/meeting-category.json +5 -190
  124. package/command-model/meeting-minutes.json +1 -63
  125. package/command-model/meeting-pdf.json +1 -36
  126. package/command-model/meeting-template.json +5 -222
  127. package/command-model/meeting.json +13 -1045
  128. package/command-model/member.json +2 -127
  129. package/command-model/microsoft-auth.json +2 -92
  130. package/command-model/milli-credit.json +8 -268
  131. package/command-model/ms365-calendar-o-auth.json +4 -110
  132. package/command-model/music-generation.json +6 -227
  133. package/command-model/my-task.json +5 -163
  134. package/command-model/my-training.json +4 -153
  135. package/command-model/news-perspective.json +7 -210
  136. package/command-model/note-category.json +4 -144
  137. package/command-model/note-comment.json +5 -220
  138. package/command-model/note-favorite.json +2 -42
  139. package/command-model/note-reaction.json +2 -57
  140. package/command-model/note-subscription.json +4 -105
  141. package/command-model/note.json +10 -599
  142. package/command-model/notification-recipient-rule.json +5 -226
  143. package/command-model/notification.json +10 -366
  144. package/command-model/notion-import.json +6 -260
  145. package/command-model/o-auth-client.json +6 -329
  146. package/command-model/onboarding-template.json +17 -701
  147. package/command-model/operating-hours.json +1 -95
  148. package/command-model/order-form-scan.json +1 -28
  149. package/command-model/org-chart.json +1 -35
  150. package/command-model/organization-announcement-category.json +4 -130
  151. package/command-model/organization-announcement.json +10 -600
  152. package/command-model/password-reset.json +3 -95
  153. package/command-model/payee.json +5 -218
  154. package/command-model/pc-situation.json +1 -124
  155. package/command-model/phone-change.json +2 -60
  156. package/command-model/policy-employee.json +3 -94
  157. package/command-model/policy.json +12 -501
  158. package/command-model/position.json +6 -300
  159. package/command-model/private-agent-loop.json +29 -845
  160. package/command-model/private-task.json +7 -446
  161. package/command-model/process.json +6 -232
  162. package/command-model/profit-analysis.json +3 -178
  163. package/command-model/profit-summary.json +1 -65
  164. package/command-model/project-assignment.json +1 -50
  165. package/command-model/project-cost.json +5 -250
  166. package/command-model/project-custom-field.json +6 -374
  167. package/command-model/project-digest.json +3 -111
  168. package/command-model/project-evaluation.json +8 -308
  169. package/command-model/project-health.json +3 -153
  170. package/command-model/project-member.json +9 -464
  171. package/command-model/project-process.json +7 -305
  172. package/command-model/project-profit-analysis.json +1 -54
  173. package/command-model/project-quality-check-corrective-task.json +3 -121
  174. package/command-model/project-quality-check-record.json +3 -126
  175. package/command-model/project-quality-check-scope.json +2 -82
  176. package/command-model/project-quality-check-status.json +2 -58
  177. package/command-model/project-repository.json +5 -175
  178. package/command-model/project-revenue.json +6 -287
  179. package/command-model/project-task-analytics.json +1 -36
  180. package/command-model/project-task-category.json +5 -198
  181. package/command-model/project-task-comment.json +7 -425
  182. package/command-model/project-task-form-options.json +1 -36
  183. package/command-model/project-task-label.json +5 -198
  184. package/command-model/project-task-link.json +4 -164
  185. package/command-model/project-task-milestone.json +5 -210
  186. package/command-model/project-task-rule.json +7 -371
  187. package/command-model/project-task-status.json +5 -216
  188. package/command-model/project-task-template.json +5 -259
  189. package/command-model/project-task-type.json +5 -235
  190. package/command-model/project-task-version.json +5 -210
  191. package/command-model/project-task-watcher.json +3 -96
  192. package/command-model/project-task.json +22 -1620
  193. package/command-model/project-template.json +7 -438
  194. package/command-model/project.json +10 -1063
  195. package/command-model/prospect-activity.json +5 -288
  196. package/command-model/prospect-promotion.json +2 -81
  197. package/command-model/prospect.json +9 -811
  198. package/command-model/public-search.json +1 -63
  199. package/command-model/purchase-ai-field-mapping.json +6 -288
  200. package/command-model/purchase-document.json +9 -344
  201. package/command-model/purchase-estimate-scan.json +1 -37
  202. package/command-model/purchase-no-rule.json +5 -237
  203. package/command-model/purchase.json +7 -603
  204. package/command-model/push-subscription.json +3 -103
  205. package/command-model/qualification-import.json +4 -86
  206. package/command-model/qualification.json +7 -247
  207. package/command-model/quality-check-item.json +5 -251
  208. package/command-model/rag.json +2 -71
  209. package/command-model/rating-criteria.json +2 -71
  210. package/command-model/receivable-closing.json +4 -100
  211. package/command-model/receivable.json +2 -58
  212. package/command-model/received-invoice.json +4 -146
  213. package/command-model/refresh-token.json +1 -26
  214. package/command-model/report-format-order.json +2 -43
  215. package/command-model/report-saved-tab.json +5 -149
  216. package/command-model/report.json +51 -2439
  217. package/command-model/retrospective.json +15 -586
  218. package/command-model/revoke.json +1 -29
  219. package/command-model/risk-analysis.json +1 -36
  220. package/command-model/role-template.json +4 -193
  221. package/command-model/sales-ai-review-knowledge-draft.json +1 -32
  222. package/command-model/sales-ai-review-knowledge-pr.json +1 -44
  223. package/command-model/sales-ai-review-reason-list.json +1 -65
  224. package/command-model/sales-pdf.json +8 -288
  225. package/command-model/sales-rounding-setting.json +2 -61
  226. package/command-model/sales.json +12 -420
  227. package/command-model/saved-tab.json +5 -145
  228. package/command-model/saved-task-filter.json +4 -149
  229. package/command-model/seal-impression.json +5 -190
  230. package/command-model/segment.json +6 -232
  231. package/command-model/sidebar-badge-setting.json +2 -55
  232. package/command-model/skill-analytics.json +4 -158
  233. package/command-model/skill-category.json +5 -230
  234. package/command-model/skill-evaluation-export.json +1 -44
  235. package/command-model/skill-evaluation-record.json +2 -135
  236. package/command-model/skill-micro-feedback.json +3 -127
  237. package/command-model/skill-role-assignment.json +3 -112
  238. package/command-model/skill.json +7 -322
  239. package/command-model/staff-kpi-setting.json +4 -181
  240. package/command-model/staff-kpi.json +2 -82
  241. package/command-model/staffing-plan.json +8 -464
  242. package/command-model/storage.json +9 -249
  243. package/command-model/subscription.json +6 -159
  244. package/command-model/supplier-payment-schedule.json +5 -232
  245. package/command-model/supplier-payment.json +6 -339
  246. package/command-model/survey-tracker.json +6 -393
  247. package/command-model/survey.json +36 -1763
  248. package/command-model/task-analysis.json +1 -29
  249. package/command-model/task-branch.json +7 -302
  250. package/command-model/task-recurrence.json +5 -256
  251. package/command-model/task-wiki-link.json +4 -150
  252. package/command-model/tenant-ai-key.json +10 -334
  253. package/command-model/tenant-egress-policy.json +7 -283
  254. package/command-model/tenant-email-settings.json +5 -138
  255. package/command-model/tenant-git-hub-settings.json +13 -356
  256. package/command-model/tenant-master-email-change.json +2 -54
  257. package/command-model/tenant-rag-settings.json +9 -377
  258. package/command-model/tenant-registration.json +3 -123
  259. package/command-model/tenant-search.json +1 -35
  260. package/command-model/tenant-settings.json +24 -1223
  261. package/command-model/terms.json +3 -85
  262. package/command-model/test-execution.json +10 -362
  263. package/command-model/test-scenario.json +9 -379
  264. package/command-model/token.json +1 -26
  265. package/command-model/training-attendance.json +12 -504
  266. package/command-model/training-master.json +6 -309
  267. package/command-model/training-session.json +11 -599
  268. package/command-model/unified-search.json +2 -122
  269. package/command-model/update-record.json +2 -85
  270. package/command-model/user-api-key.json +7 -352
  271. package/command-model/user-assignment-calendar.json +1 -42
  272. package/command-model/user-assignment.json +15 -658
  273. package/command-model/user-contract-type.json +6 -448
  274. package/command-model/user-contract.json +7 -754
  275. package/command-model/user-group.json +7 -142
  276. package/command-model/user-info.json +1 -29
  277. package/command-model/user-invitation.json +7 -1040
  278. package/command-model/user-management.json +12 -1523
  279. package/command-model/user-qualification.json +4 -162
  280. package/command-model/user-seal-generate.json +1 -44
  281. package/command-model/user-shortcut-setting.json +3 -103
  282. package/command-model/user-skill-profile.json +11 -535
  283. package/command-model/user.json +30 -979
  284. package/command-model/video-generation.json +8 -451
  285. package/command-model/web-search.json +1 -62
  286. package/command-model/well-known.json +2 -58
  287. package/command-model/whisper.json +2 -83
  288. package/command-model/wiki-collection.json +13 -452
  289. package/command-model/wiki-notion-import.json +5 -167
  290. package/command-model/wiki-template.json +5 -182
  291. package/command-model/wiki.json +11 -468
  292. package/command-model/worker-agent-run.json +5 -180
  293. package/command-model/worker-agent.json +10 -519
  294. package/command-model/workflow-ai-review.json +3 -103
  295. package/command-model/workflow-analysis.json +1 -54
  296. package/command-model/workflow-approval-delegation.json +4 -130
  297. package/command-model/workflow-approval.json +8 -252
  298. package/command-model/workflow-instance.json +7 -273
  299. package/command-model/workflow-tracker.json +8 -476
  300. package/command-model/workflow.json +9 -548
  301. package/command-model/workload-alert.json +3 -100
  302. package/dist/{agent-loop-QP6UHX4R.js → agent-loop-D35USHWR.js} +1 -1
  303. package/dist/{ai-dispatch-VDNMECKK.js → ai-dispatch-3JJ4ICJF.js} +2 -2
  304. package/dist/{api-command-5LQFOG24.js → api-command-NZ4GJ7BW.js} +1 -1
  305. package/dist/{app-G524XCIA.js → app-67TGWKPM.js} +1 -1
  306. package/dist/{budget-AM7JJ5YP.js → budget-YQHHSX7Q.js} +1 -1
  307. package/dist/{chunk-QVPU4HHG.js → chunk-52HYPBSW.js} +13 -13
  308. package/dist/chunk-E7TZU54Y.js +17 -0
  309. package/dist/{chunk-K7OIECPN.js → chunk-JY4VWR5O.js} +4 -4
  310. package/dist/{chunk-E34FX2DF.js → chunk-NQJV2X2R.js} +1 -1
  311. package/dist/cli.js +19 -8
  312. package/dist/{commands-TYUK7MV4.js → commands-5VM6LUB5.js} +1 -1
  313. package/dist/{commands-BXU44JWS.js → commands-CVSXWYGR.js} +14 -14
  314. package/dist/{logout-guard-BIF2B7JE.js → logout-guard-ZQV2OPIO.js} +1 -1
  315. package/dist/{media-TIRJJUNN.js → media-ZIAI4GEB.js} +1 -1
  316. package/dist/{registry-3PWIZP2X.js → registry-4QVXMTGW.js} +1 -1
  317. package/dist/{run-XZZR3OKX.js → run-KXZBNXJF.js} +1 -1
  318. package/dist/server-settings-WYHQZV2N.js +3 -0
  319. package/dist/{setup-JGGFVRUW.js → setup-G24BYLQV.js} +1 -1
  320. package/dist/{teams-GPXJPXNC.js → teams-5EXL65HN.js} +53 -25
  321. package/package.json +1 -1
  322. package/dist/chunk-SA7A5WF2.js +0 -15
  323. package/dist/server-settings-TUBJ4P57.js +0 -3
@@ -1,506 +1,17 @@
1
1
  {
2
2
  "domain": "policy",
3
3
  "operations": [
4
- {
5
- "name": "categories",
6
- "domain": "policy",
7
- "operationId": "policy.categories",
8
- "method": "GET",
9
- "path": "/v2/policies/categories",
10
- "summary": "分類の選択肢(FEのセレクトボックス用)。",
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": "categories",
30
- "risk": "read",
31
- "aliases": []
32
- },
33
- {
34
- "name": "create",
35
- "domain": "policy",
36
- "operationId": "policy.store",
37
- "method": "POST",
38
- "path": "/v2/policies",
39
- "summary": "",
40
- "pathParams": [],
41
- "queryParams": [],
42
- "body": {
43
- "schema": {
44
- "type": "object",
45
- "properties": {
46
- "category": {
47
- "type": "string",
48
- "enum": [
49
- "work_rules",
50
- "leave_and_duty",
51
- "allowance_and_expense",
52
- "supplementary_provisions",
53
- "information_security",
54
- "article36_agreement",
55
- "labor_agreement"
56
- ]
57
- },
58
- "title": {
59
- "type": "string",
60
- "maxLength": 255
61
- }
62
- },
63
- "required": [
64
- "category",
65
- "title"
66
- ],
67
- "title": "StorePolicyRequest"
68
- }
69
- },
70
- "resultPath": null,
71
- "risk": "write",
72
- "aliases": []
73
- },
74
- {
75
- "name": "delete",
76
- "domain": "policy",
77
- "operationId": "policy.destroy",
78
- "method": "DELETE",
79
- "path": "/v2/policies/{policyId}",
80
- "summary": "",
81
- "pathParams": [
82
- {
83
- "name": "policyId",
84
- "type": "string",
85
- "required": true,
86
- "source": "spec"
87
- }
88
- ],
89
- "queryParams": [],
90
- "body": null,
91
- "resultPath": null,
92
- "risk": "destructive",
93
- "aliases": []
94
- },
95
- {
96
- "name": "destroy-version",
97
- "domain": "policy",
98
- "operationId": "policy.destroyVersion",
99
- "method": "DELETE",
100
- "path": "/v2/policies/{policyId}/versions/{versionId}",
101
- "summary": "",
102
- "pathParams": [
103
- {
104
- "name": "policyId",
105
- "type": "string",
106
- "required": true,
107
- "source": "spec"
108
- },
109
- {
110
- "name": "versionId",
111
- "type": "string",
112
- "required": true,
113
- "source": "spec"
114
- }
115
- ],
116
- "queryParams": [],
117
- "body": null,
118
- "resultPath": null,
119
- "risk": "destructive",
120
- "aliases": []
121
- },
122
- {
123
- "name": "get",
124
- "domain": "policy",
125
- "operationId": "policy.show",
126
- "method": "GET",
127
- "path": "/v2/policies/{policyId}",
128
- "summary": "規程詳細。",
129
- "pathParams": [
130
- {
131
- "name": "policyId",
132
- "type": "string",
133
- "required": true,
134
- "source": "spec"
135
- }
136
- ],
137
- "queryParams": [
138
- {
139
- "name": "limit",
140
- "type": "integer",
141
- "required": false,
142
- "description": "1ページあたりの件数",
143
- "source": "curation"
144
- },
145
- {
146
- "name": "cursor",
147
- "type": "string",
148
- "required": false,
149
- "description": "次ページの取得に使うカーソル",
150
- "source": "curation"
151
- }
152
- ],
153
- "body": null,
154
- "resultPath": null,
155
- "risk": "read",
156
- "aliases": []
157
- },
158
- {
159
- "name": "list",
160
- "domain": "policy",
161
- "operationId": "policy.index",
162
- "method": "GET",
163
- "path": "/v2/policies",
164
- "summary": "規程一覧(版・公開対象を含む)。",
165
- "pathParams": [],
166
- "queryParams": [
167
- {
168
- "name": "limit",
169
- "type": "integer",
170
- "required": false,
171
- "description": "1ページあたりの件数",
172
- "source": "curation"
173
- },
174
- {
175
- "name": "cursor",
176
- "type": "string",
177
- "required": false,
178
- "description": "次ページの取得に使うカーソル",
179
- "source": "curation"
180
- }
181
- ],
182
- "body": null,
183
- "resultPath": "policies",
184
- "risk": "read",
185
- "aliases": []
186
- },
187
- {
188
- "name": "set-targets",
189
- "domain": "policy",
190
- "operationId": "policy.setTargets",
191
- "method": "PUT",
192
- "path": "/v2/policies/{policyId}/targets",
193
- "summary": "公開対象を洗い替える(PUT セマンティクス)。",
194
- "pathParams": [
195
- {
196
- "name": "policyId",
197
- "type": "string",
198
- "required": true,
199
- "source": "spec"
200
- }
201
- ],
202
- "queryParams": [],
203
- "body": {
204
- "schema": {
205
- "type": "object",
206
- "properties": {
207
- "targets": {
208
- "type": "array",
209
- "items": {
210
- "type": "object",
211
- "properties": {
212
- "target_type": {
213
- "type": "string",
214
- "enum": [
215
- "all",
216
- "admin_only",
217
- "user_only",
218
- "department",
219
- "department_position",
220
- "project",
221
- "user",
222
- "contract_type"
223
- ]
224
- },
225
- "target_id": {
226
- "type": [
227
- "string",
228
- "null"
229
- ],
230
- "maxLength": 255
231
- },
232
- "target_name": {
233
- "type": [
234
- "string",
235
- "null"
236
- ],
237
- "maxLength": 255
238
- }
239
- },
240
- "required": [
241
- "target_type"
242
- ]
243
- }
244
- }
245
- },
246
- "required": [
247
- "targets"
248
- ],
249
- "title": "SetPolicyTargetsRequest"
250
- }
251
- },
252
- "resultPath": "targets",
253
- "risk": "write",
254
- "aliases": []
255
- },
256
- {
257
- "name": "store-version",
258
- "domain": "policy",
259
- "operationId": "policy.storeVersion",
260
- "method": "POST",
261
- "path": "/v2/policies/{policyId}/versions",
262
- "summary": "",
263
- "pathParams": [
264
- {
265
- "name": "policyId",
266
- "type": "string",
267
- "required": true,
268
- "source": "spec"
269
- }
270
- ],
271
- "queryParams": [],
272
- "body": {
273
- "schema": {
274
- "type": "object",
275
- "properties": {
276
- "attachment_id": {
277
- "type": "string",
278
- "maxLength": 255
279
- },
280
- "file_name": {
281
- "type": "string",
282
- "maxLength": 255
283
- },
284
- "file_size": {
285
- "type": [
286
- "integer",
287
- "null"
288
- ],
289
- "minimum": 0
290
- },
291
- "effective_from": {
292
- "type": "string",
293
- "format": "date"
294
- },
295
- "effective_to": {
296
- "type": [
297
- "string",
298
- "null"
299
- ],
300
- "format": "date"
301
- },
302
- "note": {
303
- "type": [
304
- "string",
305
- "null"
306
- ],
307
- "maxLength": 1000
308
- }
309
- },
310
- "required": [
311
- "attachment_id",
312
- "file_name",
313
- "effective_from"
314
- ],
315
- "title": "StorePolicyVersionRequest"
316
- }
317
- },
318
- "resultPath": null,
319
- "risk": "write",
320
- "aliases": []
321
- },
322
- {
323
- "name": "targets",
324
- "domain": "policy",
325
- "operationId": "policy.targets",
326
- "method": "GET",
327
- "path": "/v2/policies/{policyId}/targets",
328
- "summary": "",
329
- "pathParams": [
330
- {
331
- "name": "policyId",
332
- "type": "string",
333
- "required": true,
334
- "source": "spec"
335
- }
336
- ],
337
- "queryParams": [
338
- {
339
- "name": "limit",
340
- "type": "integer",
341
- "required": false,
342
- "description": "1ページあたりの件数",
343
- "source": "curation"
344
- },
345
- {
346
- "name": "cursor",
347
- "type": "string",
348
- "required": false,
349
- "description": "次ページの取得に使うカーソル",
350
- "source": "curation"
351
- }
352
- ],
353
- "body": null,
354
- "resultPath": "targets",
355
- "risk": "read",
356
- "aliases": []
357
- },
358
- {
359
- "name": "update",
360
- "domain": "policy",
361
- "operationId": "policy.update",
362
- "method": "PUT",
363
- "path": "/v2/policies/{policyId}",
364
- "summary": "",
365
- "pathParams": [
366
- {
367
- "name": "policyId",
368
- "type": "string",
369
- "required": true,
370
- "source": "spec"
371
- }
372
- ],
373
- "queryParams": [],
374
- "body": {
375
- "schema": {
376
- "type": "object",
377
- "properties": {
378
- "category": {
379
- "type": "string",
380
- "enum": [
381
- "work_rules",
382
- "leave_and_duty",
383
- "allowance_and_expense",
384
- "supplementary_provisions",
385
- "information_security",
386
- "article36_agreement",
387
- "labor_agreement"
388
- ]
389
- },
390
- "title": {
391
- "type": "string",
392
- "maxLength": 255
393
- }
394
- },
395
- "title": "UpdatePolicyRequest"
396
- }
397
- },
398
- "resultPath": null,
399
- "risk": "write",
400
- "aliases": []
401
- },
402
- {
403
- "name": "update-version",
404
- "domain": "policy",
405
- "operationId": "policy.updateVersion",
406
- "method": "PUT",
407
- "path": "/v2/policies/{policyId}/versions/{versionId}",
408
- "summary": "",
409
- "pathParams": [
410
- {
411
- "name": "policyId",
412
- "type": "string",
413
- "required": true,
414
- "source": "spec"
415
- },
416
- {
417
- "name": "versionId",
418
- "type": "string",
419
- "required": true,
420
- "source": "spec"
421
- }
422
- ],
423
- "queryParams": [],
424
- "body": {
425
- "schema": {
426
- "type": "object",
427
- "properties": {
428
- "attachment_id": {
429
- "type": "string",
430
- "maxLength": 255
431
- },
432
- "file_name": {
433
- "type": "string",
434
- "maxLength": 255
435
- },
436
- "file_size": {
437
- "type": [
438
- "integer",
439
- "null"
440
- ],
441
- "minimum": 0
442
- },
443
- "effective_from": {
444
- "type": "string",
445
- "format": "date"
446
- },
447
- "effective_to": {
448
- "type": [
449
- "string",
450
- "null"
451
- ],
452
- "format": "date"
453
- },
454
- "note": {
455
- "type": [
456
- "string",
457
- "null"
458
- ],
459
- "maxLength": 1000
460
- }
461
- },
462
- "title": "UpdatePolicyVersionRequest"
463
- }
464
- },
465
- "resultPath": null,
466
- "risk": "write",
467
- "aliases": []
468
- },
469
- {
470
- "name": "versions",
471
- "domain": "policy",
472
- "operationId": "policy.versions",
473
- "method": "GET",
474
- "path": "/v2/policies/{policyId}/versions",
475
- "summary": "版一覧(総務は過去版を含む全版)。",
476
- "pathParams": [
477
- {
478
- "name": "policyId",
479
- "type": "string",
480
- "required": true,
481
- "source": "spec"
482
- }
483
- ],
484
- "queryParams": [
485
- {
486
- "name": "limit",
487
- "type": "integer",
488
- "required": false,
489
- "description": "1ページあたりの件数",
490
- "source": "curation"
491
- },
492
- {
493
- "name": "cursor",
494
- "type": "string",
495
- "required": false,
496
- "description": "次ページの取得に使うカーソル",
497
- "source": "curation"
498
- }
499
- ],
500
- "body": null,
501
- "resultPath": "versions",
502
- "risk": "read",
503
- "aliases": []
504
- }
4
+ {"name":"categories","domain":"policy","operationId":"policy.categories","method":"GET","path":"/v2/policies/categories","summary":"分類の選択肢(FEのセレクトボックス用)。","pathParams":[],"queryParams":[{"name":"limit","type":"integer","required":false,"description":"1ページあたりの件数","source":"curation"},{"name":"cursor","type":"string","required":false,"description":"次ページの取得に使うカーソル","source":"curation"}],"body":null,"resultPath":"categories","risk":"read","aliases":[]},
5
+ {"name":"create","domain":"policy","operationId":"policy.store","method":"POST","path":"/v2/policies","summary":"","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"category":{"type":"string","enum":["work_rules","leave_and_duty","allowance_and_expense","supplementary_provisions","information_security","article36_agreement","labor_agreement"]},"title":{"type":"string","maxLength":255}},"required":["category","title"],"title":"StorePolicyRequest"}},"resultPath":null,"risk":"write","aliases":[]},
6
+ {"name":"delete","domain":"policy","operationId":"policy.destroy","method":"DELETE","path":"/v2/policies/{policyId}","summary":"","pathParams":[{"name":"policyId","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":null,"risk":"destructive","aliases":[]},
7
+ {"name":"destroy-version","domain":"policy","operationId":"policy.destroyVersion","method":"DELETE","path":"/v2/policies/{policyId}/versions/{versionId}","summary":"","pathParams":[{"name":"policyId","type":"string","required":true,"source":"spec"},{"name":"versionId","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":null,"risk":"destructive","aliases":[]},
8
+ {"name":"get","domain":"policy","operationId":"policy.show","method":"GET","path":"/v2/policies/{policyId}","summary":"規程詳細。","pathParams":[{"name":"policyId","type":"string","required":true,"source":"spec"}],"queryParams":[{"name":"limit","type":"integer","required":false,"description":"1ページあたりの件数","source":"curation"},{"name":"cursor","type":"string","required":false,"description":"次ページの取得に使うカーソル","source":"curation"}],"body":null,"resultPath":null,"risk":"read","aliases":[]},
9
+ {"name":"list","domain":"policy","operationId":"policy.index","method":"GET","path":"/v2/policies","summary":"規程一覧(版・公開対象を含む)。","pathParams":[],"queryParams":[{"name":"limit","type":"integer","required":false,"description":"1ページあたりの件数","source":"curation"},{"name":"cursor","type":"string","required":false,"description":"次ページの取得に使うカーソル","source":"curation"}],"body":null,"resultPath":"policies","risk":"read","aliases":[]},
10
+ {"name":"set-targets","domain":"policy","operationId":"policy.setTargets","method":"PUT","path":"/v2/policies/{policyId}/targets","summary":"公開対象を洗い替える(PUT セマンティクス)。","pathParams":[{"name":"policyId","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"targets":{"type":"array","items":{"type":"object","properties":{"target_type":{"type":"string","enum":["all","admin_only","user_only","department","department_position","project","user","contract_type"]},"target_id":{"type":["string","null"],"maxLength":255},"target_name":{"type":["string","null"],"maxLength":255}},"required":["target_type"]}}},"required":["targets"],"title":"SetPolicyTargetsRequest"}},"resultPath":"targets","risk":"write","aliases":[]},
11
+ {"name":"store-version","domain":"policy","operationId":"policy.storeVersion","method":"POST","path":"/v2/policies/{policyId}/versions","summary":"","pathParams":[{"name":"policyId","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"attachment_id":{"type":"string","maxLength":255},"file_name":{"type":"string","maxLength":255},"file_size":{"type":["integer","null"],"minimum":0},"effective_from":{"type":"string","format":"date"},"effective_to":{"type":["string","null"],"format":"date"},"note":{"type":["string","null"],"maxLength":1000}},"required":["attachment_id","file_name","effective_from"],"title":"StorePolicyVersionRequest"}},"resultPath":null,"risk":"write","aliases":[]},
12
+ {"name":"targets","domain":"policy","operationId":"policy.targets","method":"GET","path":"/v2/policies/{policyId}/targets","summary":"","pathParams":[{"name":"policyId","type":"string","required":true,"source":"spec"}],"queryParams":[{"name":"limit","type":"integer","required":false,"description":"1ページあたりの件数","source":"curation"},{"name":"cursor","type":"string","required":false,"description":"次ページの取得に使うカーソル","source":"curation"}],"body":null,"resultPath":"targets","risk":"read","aliases":[]},
13
+ {"name":"update","domain":"policy","operationId":"policy.update","method":"PUT","path":"/v2/policies/{policyId}","summary":"","pathParams":[{"name":"policyId","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"category":{"type":"string","enum":["work_rules","leave_and_duty","allowance_and_expense","supplementary_provisions","information_security","article36_agreement","labor_agreement"]},"title":{"type":"string","maxLength":255}},"title":"UpdatePolicyRequest"}},"resultPath":null,"risk":"write","aliases":[]},
14
+ {"name":"update-version","domain":"policy","operationId":"policy.updateVersion","method":"PUT","path":"/v2/policies/{policyId}/versions/{versionId}","summary":"","pathParams":[{"name":"policyId","type":"string","required":true,"source":"spec"},{"name":"versionId","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"attachment_id":{"type":"string","maxLength":255},"file_name":{"type":"string","maxLength":255},"file_size":{"type":["integer","null"],"minimum":0},"effective_from":{"type":"string","format":"date"},"effective_to":{"type":["string","null"],"format":"date"},"note":{"type":["string","null"],"maxLength":1000}},"title":"UpdatePolicyVersionRequest"}},"resultPath":null,"risk":"write","aliases":[]},
15
+ {"name":"versions","domain":"policy","operationId":"policy.versions","method":"GET","path":"/v2/policies/{policyId}/versions","summary":"版一覧(総務は過去版を含む全版)。","pathParams":[{"name":"policyId","type":"string","required":true,"source":"spec"}],"queryParams":[{"name":"limit","type":"integer","required":false,"description":"1ページあたりの件数","source":"curation"},{"name":"cursor","type":"string","required":false,"description":"次ページの取得に使うカーソル","source":"curation"}],"body":null,"resultPath":"versions","risk":"read","aliases":[]}
505
16
  ]
506
17
  }