@tocca-systems/twp-cli 0.52.1 → 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 (322) hide show
  1. package/CHANGELOG.public.md +6 -0
  2. package/README.md +17 -0
  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-SJM57WWD.js → api-command-NZ4GJ7BW.js} +1 -1
  305. package/dist/{app-VAVWKD2V.js → app-67TGWKPM.js} +1 -1
  306. package/dist/{chunk-QVPU4HHG.js → chunk-52HYPBSW.js} +13 -13
  307. package/dist/chunk-E7TZU54Y.js +17 -0
  308. package/dist/{chunk-SOTIQ42G.js → chunk-JY4VWR5O.js} +3 -3
  309. package/dist/{chunk-SXH3STVV.js → chunk-NQJV2X2R.js} +1 -1
  310. package/dist/cli.js +19 -8
  311. package/dist/{commands-TYUK7MV4.js → commands-5VM6LUB5.js} +1 -1
  312. package/dist/{commands-BXU44JWS.js → commands-CVSXWYGR.js} +14 -14
  313. package/dist/{logout-guard-BIF2B7JE.js → logout-guard-ZQV2OPIO.js} +1 -1
  314. package/dist/{media-XHCYH2ZJ.js → media-ZIAI4GEB.js} +1 -1
  315. package/dist/{registry-BNMOSTLK.js → registry-4QVXMTGW.js} +1 -1
  316. package/dist/{run-5FK7FTER.js → run-KXZBNXJF.js} +1 -1
  317. package/dist/server-settings-WYHQZV2N.js +3 -0
  318. package/dist/{setup-JGGFVRUW.js → setup-G24BYLQV.js} +1 -1
  319. package/dist/{teams-GPXJPXNC.js → teams-5EXL65HN.js} +53 -25
  320. package/package.json +1 -1
  321. package/dist/chunk-SA7A5WF2.js +0 -15
  322. package/dist/server-settings-TUBJ4P57.js +0 -3
@@ -1,1768 +1,41 @@
1
1
  {
2
2
  "domain": "survey",
3
3
  "operations": [
4
- {
5
- "name": "add-question",
6
- "domain": "survey",
7
- "operationId": "survey.addQuestion",
8
- "method": "POST",
9
- "path": "/v2/surveys/{id}/questions",
10
- "summary": "質問を追加",
11
- "pathParams": [
12
- {
13
- "name": "id",
14
- "type": "string",
15
- "required": true,
16
- "source": "spec"
17
- }
18
- ],
19
- "queryParams": [],
20
- "body": {
21
- "schema": {
22
- "type": "object",
23
- "properties": {
24
- "question_text": {
25
- "type": "string",
26
- "maxLength": 1000
27
- },
28
- "question_type": {
29
- "type": "string",
30
- "enum": [
31
- "single_choice",
32
- "multi_choice",
33
- "free_text",
34
- "rating",
35
- "text",
36
- "textarea",
37
- "date",
38
- "single_select",
39
- "multi_select",
40
- "email",
41
- "number",
42
- "training_session_select"
43
- ]
44
- },
45
- "options": {
46
- "type": [
47
- "array",
48
- "null"
49
- ],
50
- "items": {
51
- "type": "string"
52
- }
53
- },
54
- "required": {
55
- "type": [
56
- "boolean",
57
- "null"
58
- ]
59
- },
60
- "sort_order": {
61
- "type": [
62
- "integer",
63
- "null"
64
- ],
65
- "minimum": 0
66
- },
67
- "rating_min": {
68
- "type": [
69
- "integer",
70
- "null"
71
- ],
72
- "minimum": 0,
73
- "maximum": 10
74
- },
75
- "rating_max": {
76
- "type": [
77
- "integer",
78
- "null"
79
- ],
80
- "minimum": 1,
81
- "maximum": 10
82
- },
83
- "rating_min_label": {
84
- "type": [
85
- "string",
86
- "null"
87
- ],
88
- "maxLength": 100
89
- },
90
- "rating_max_label": {
91
- "type": [
92
- "string",
93
- "null"
94
- ],
95
- "maxLength": 100
96
- },
97
- "extra": {
98
- "type": [
99
- "array",
100
- "null"
101
- ],
102
- "items": {
103
- "type": "string"
104
- }
105
- }
106
- },
107
- "required": [
108
- "question_text",
109
- "question_type"
110
- ]
111
- }
112
- },
113
- "resultPath": null,
114
- "risk": "write",
115
- "aliases": []
116
- },
117
- {
118
- "name": "apply-template",
119
- "domain": "survey",
120
- "operationId": "survey.applyTemplate",
121
- "method": "POST",
122
- "path": "/v2/surveys/{id}/apply-template",
123
- "summary": "テンプレートの質問を適用",
124
- "pathParams": [
125
- {
126
- "name": "id",
127
- "type": "string",
128
- "required": true,
129
- "source": "spec"
130
- }
131
- ],
132
- "queryParams": [],
133
- "body": null,
134
- "resultPath": null,
135
- "risk": "write",
136
- "aliases": []
137
- },
138
- {
139
- "name": "bulk-add-targets",
140
- "domain": "survey",
141
- "operationId": "survey.bulkAddTargets",
142
- "method": "POST",
143
- "path": "/v2/surveys/{id}/targets/bulk",
144
- "summary": "回答対象者を一括で追加",
145
- "pathParams": [
146
- {
147
- "name": "id",
148
- "type": "string",
149
- "required": true,
150
- "source": "spec"
151
- }
152
- ],
153
- "queryParams": [],
154
- "body": {
155
- "schema": {
156
- "type": "object",
157
- "properties": {
158
- "department_ids": {
159
- "type": "array",
160
- "items": {
161
- "type": "string"
162
- }
163
- },
164
- "user_ids": {
165
- "type": "array",
166
- "items": {
167
- "type": "string"
168
- }
169
- }
170
- },
171
- "required": [
172
- "department_ids",
173
- "user_ids"
174
- ]
175
- }
176
- },
177
- "resultPath": "items",
178
- "risk": "write",
179
- "aliases": []
180
- },
181
- {
182
- "name": "close",
183
- "domain": "survey",
184
- "operationId": "survey.close",
185
- "method": "POST",
186
- "path": "/v2/surveys/{id}/close",
187
- "summary": "アンケートを締め切る",
188
- "pathParams": [
189
- {
190
- "name": "id",
191
- "type": "string",
192
- "required": true,
193
- "source": "spec"
194
- }
195
- ],
196
- "queryParams": [],
197
- "body": null,
198
- "resultPath": null,
199
- "risk": "write",
200
- "aliases": []
201
- },
202
- {
203
- "name": "create",
204
- "domain": "survey",
205
- "operationId": "survey.store",
206
- "method": "POST",
207
- "path": "/v2/surveys",
208
- "summary": "アンケートを作成",
209
- "pathParams": [],
210
- "queryParams": [],
211
- "body": {
212
- "schema": {
213
- "type": "object",
214
- "properties": {
215
- "title": {
216
- "type": "string",
217
- "maxLength": 255
218
- },
219
- "survey_type": {
220
- "type": [
221
- "string",
222
- "null"
223
- ],
224
- "enum": [
225
- "general",
226
- "anonymous",
227
- "feedback",
228
- "organization",
229
- null
230
- ]
231
- },
232
- "type": {
233
- "type": [
234
- "string",
235
- "null"
236
- ],
237
- "enum": [
238
- "general",
239
- "anonymous",
240
- "feedback",
241
- "organization",
242
- null
243
- ]
244
- },
245
- "target_selection_mode": {
246
- "type": [
247
- "string",
248
- "null"
249
- ],
250
- "enum": [
251
- "all_enrolled",
252
- "manual",
253
- null
254
- ]
255
- },
256
- "starts_at": {
257
- "type": [
258
- "string",
259
- "null"
260
- ]
261
- },
262
- "start_at": {
263
- "type": [
264
- "string",
265
- "null"
266
- ]
267
- },
268
- "ends_at": {
269
- "type": [
270
- "string",
271
- "null"
272
- ]
273
- },
274
- "end_at": {
275
- "type": [
276
- "string",
277
- "null"
278
- ]
279
- },
280
- "anonymous": {
281
- "type": [
282
- "boolean",
283
- "null"
284
- ]
285
- },
286
- "allow_multiple": {
287
- "type": [
288
- "boolean",
289
- "null"
290
- ]
291
- },
292
- "link_category": {
293
- "type": [
294
- "string",
295
- "null"
296
- ],
297
- "enum": [
298
- "none",
299
- "training_application",
300
- "training_followup",
301
- null
302
- ]
303
- },
304
- "visibility": {
305
- "type": [
306
- "string",
307
- "null"
308
- ],
309
- "enum": [
310
- "all",
311
- "employee",
312
- "specific",
313
- null
314
- ]
315
- },
316
- "visibility_user_ids": {
317
- "type": [
318
- "array",
319
- "null"
320
- ],
321
- "items": {
322
- "type": "string"
323
- }
324
- },
325
- "recurring_config": {
326
- "type": "object",
327
- "properties": {
328
- "enabled": {
329
- "type": "boolean"
330
- },
331
- "frequency": {
332
- "type": "string",
333
- "enum": [
334
- "monthly",
335
- "bimonthly",
336
- "quarterly"
337
- ]
338
- },
339
- "timing_type": {
340
- "type": "string",
341
- "enum": [
342
- "week_of_month",
343
- "first_business_day"
344
- ]
345
- },
346
- "start_month": {
347
- "type": [
348
- "integer",
349
- "null"
350
- ],
351
- "minimum": 1,
352
- "maximum": 12
353
- },
354
- "week_of_month": {
355
- "type": "integer",
356
- "minimum": 1,
357
- "maximum": 4
358
- },
359
- "day_of_week": {
360
- "type": "integer",
361
- "minimum": 0,
362
- "maximum": 6
363
- },
364
- "response_period_days": {
365
- "type": "integer",
366
- "minimum": 1,
367
- "maximum": 365
368
- },
369
- "response_period_unit": {
370
- "type": "string",
371
- "enum": [
372
- "calendar",
373
- "business"
374
- ]
375
- }
376
- }
377
- },
378
- "notification_config": {
379
- "type": "object",
380
- "properties": {
381
- "clock_in_popup": {
382
- "type": "boolean"
383
- },
384
- "task_list": {
385
- "type": "boolean"
386
- },
387
- "in_app": {
388
- "type": "boolean"
389
- },
390
- "email": {
391
- "type": "boolean"
392
- }
393
- },
394
- "required": [
395
- "clock_in_popup",
396
- "task_list",
397
- "in_app",
398
- "email"
399
- ]
400
- }
401
- },
402
- "required": [
403
- "title"
404
- ]
405
- }
406
- },
407
- "resultPath": null,
408
- "risk": "write",
409
- "aliases": []
410
- },
411
- {
412
- "name": "delete",
413
- "domain": "survey",
414
- "operationId": "survey.destroy",
415
- "method": "DELETE",
416
- "path": "/v2/surveys/{id}",
417
- "summary": "アンケートを削除",
418
- "pathParams": [
419
- {
420
- "name": "id",
421
- "type": "string",
422
- "required": true,
423
- "source": "spec"
424
- }
425
- ],
426
- "queryParams": [],
427
- "body": null,
428
- "resultPath": null,
429
- "risk": "destructive",
430
- "aliases": []
431
- },
432
- {
433
- "name": "delete-question",
434
- "domain": "survey",
435
- "operationId": "survey.deleteQuestion",
436
- "method": "DELETE",
437
- "path": "/v2/surveys/{id}/questions/{questionId}",
438
- "summary": "質問を削除",
439
- "pathParams": [
440
- {
441
- "name": "id",
442
- "type": "string",
443
- "required": true,
444
- "source": "spec"
445
- },
446
- {
447
- "name": "questionId",
448
- "type": "string",
449
- "required": true,
450
- "source": "spec"
451
- }
452
- ],
453
- "queryParams": [],
454
- "body": null,
455
- "resultPath": null,
456
- "risk": "destructive",
457
- "aliases": []
458
- },
459
- {
460
- "name": "delete-target",
461
- "domain": "survey",
462
- "operationId": "survey.deleteTarget",
463
- "method": "DELETE",
464
- "path": "/v2/surveys/{id}/targets/users/{userId}",
465
- "summary": "回答対象者から外す",
466
- "pathParams": [
467
- {
468
- "name": "id",
469
- "type": "string",
470
- "required": true,
471
- "source": "spec"
472
- },
473
- {
474
- "name": "userId",
475
- "type": "string",
476
- "required": true,
477
- "source": "spec"
478
- }
479
- ],
480
- "queryParams": [],
481
- "body": null,
482
- "resultPath": null,
483
- "risk": "destructive",
484
- "aliases": []
485
- },
486
- {
487
- "name": "destroy-response",
488
- "domain": "survey",
489
- "operationId": "survey.destroyResponse",
490
- "method": "DELETE",
491
- "path": "/v2/surveys/{id}/responses/{responseId}",
492
- "summary": "アンケートの個別回答を削除する。",
493
- "pathParams": [
494
- {
495
- "name": "id",
496
- "type": "string",
497
- "required": true,
498
- "source": "spec"
499
- },
500
- {
501
- "name": "responseId",
502
- "type": "string",
503
- "required": true,
504
- "source": "spec"
505
- }
506
- ],
507
- "queryParams": [],
508
- "body": null,
509
- "resultPath": null,
510
- "risk": "destructive",
511
- "aliases": []
512
- },
513
- {
514
- "name": "distribute",
515
- "domain": "survey",
516
- "operationId": "survey.distribute",
517
- "method": "POST",
518
- "path": "/v2/surveys/{id}/distribute",
519
- "summary": "回答対象者へアンケートを配信",
520
- "pathParams": [
521
- {
522
- "name": "id",
523
- "type": "string",
524
- "required": true,
525
- "source": "spec"
526
- }
527
- ],
528
- "queryParams": [],
529
- "body": null,
530
- "resultPath": null,
531
- "risk": "write",
532
- "aliases": []
533
- },
534
- {
535
- "name": "duplicate",
536
- "domain": "survey",
537
- "operationId": "survey.duplicate",
538
- "method": "POST",
539
- "path": "/v2/surveys/{id}/duplicate",
540
- "summary": "既存アンケート/組織サーベイを複製し、下書き状態の新規アンケートを作成する。",
541
- "pathParams": [
542
- {
543
- "name": "id",
544
- "type": "string",
545
- "required": true,
546
- "source": "spec"
547
- }
548
- ],
549
- "queryParams": [],
550
- "body": null,
551
- "resultPath": null,
552
- "risk": "write",
553
- "aliases": []
554
- },
555
- {
556
- "name": "export-aggregate-csv",
557
- "domain": "survey",
558
- "operationId": "survey.exportAggregateCsv",
559
- "method": "GET",
560
- "path": "/v2/surveys/{id}/aggregate/csv",
561
- "summary": "組織サーベイの集計CSV(全社平均・カテゴリ別・部署別)をエクスポートする。",
562
- "pathParams": [
563
- {
564
- "name": "id",
565
- "type": "string",
566
- "required": true,
567
- "source": "spec"
568
- }
569
- ],
570
- "queryParams": [
571
- {
572
- "name": "limit",
573
- "type": "integer",
574
- "required": false,
575
- "description": "1ページあたりの件数",
576
- "source": "curation"
577
- },
578
- {
579
- "name": "cursor",
580
- "type": "string",
581
- "required": false,
582
- "description": "次ページの取得に使うカーソル",
583
- "source": "curation"
584
- }
585
- ],
586
- "body": null,
587
- "resultPath": null,
588
- "risk": "read",
589
- "aliases": []
590
- },
591
- {
592
- "name": "export-responses-csv",
593
- "domain": "survey",
594
- "operationId": "survey.exportResponsesCsv",
595
- "method": "GET",
596
- "path": "/v2/surveys/{id}/responses/csv",
597
- "summary": "回答をCSVで出力",
598
- "pathParams": [
599
- {
600
- "name": "id",
601
- "type": "string",
602
- "required": true,
603
- "source": "spec"
604
- }
605
- ],
606
- "queryParams": [
607
- {
608
- "name": "limit",
609
- "type": "integer",
610
- "required": false,
611
- "description": "1ページあたりの件数",
612
- "source": "curation"
613
- },
614
- {
615
- "name": "cursor",
616
- "type": "string",
617
- "required": false,
618
- "description": "次ページの取得に使うカーソル",
619
- "source": "curation"
620
- }
621
- ],
622
- "body": null,
623
- "resultPath": null,
624
- "risk": "read",
625
- "aliases": []
626
- },
627
- {
628
- "name": "generate-public-token",
629
- "domain": "survey",
630
- "operationId": "survey.generatePublicToken",
631
- "method": "POST",
632
- "path": "/v2/surveys/{id}/public-token",
633
- "summary": "公開回答用のURLを発行",
634
- "pathParams": [
635
- {
636
- "name": "id",
637
- "type": "string",
638
- "required": true,
639
- "source": "spec"
640
- }
641
- ],
642
- "queryParams": [],
643
- "body": null,
644
- "resultPath": null,
645
- "risk": "write",
646
- "aliases": []
647
- },
648
- {
649
- "name": "get",
650
- "domain": "survey",
651
- "operationId": "survey.show",
652
- "method": "GET",
653
- "path": "/v2/surveys/{id}",
654
- "summary": "アンケート詳細を取得",
655
- "pathParams": [
656
- {
657
- "name": "id",
658
- "type": "string",
659
- "required": true,
660
- "source": "spec"
661
- }
662
- ],
663
- "queryParams": [
664
- {
665
- "name": "limit",
666
- "type": "integer",
667
- "required": false,
668
- "description": "1ページあたりの件数",
669
- "source": "curation"
670
- },
671
- {
672
- "name": "cursor",
673
- "type": "string",
674
- "required": false,
675
- "description": "次ページの取得に使うカーソル",
676
- "source": "curation"
677
- }
678
- ],
679
- "body": null,
680
- "resultPath": null,
681
- "risk": "read",
682
- "aliases": []
683
- },
684
- {
685
- "name": "get-form",
686
- "domain": "survey",
687
- "operationId": "survey.getForm",
688
- "method": "GET",
689
- "path": "/v2/surveys/{id}/form",
690
- "summary": "回答フォーム(アンケートと質問)を取得",
691
- "pathParams": [
692
- {
693
- "name": "id",
694
- "type": "string",
695
- "required": true,
696
- "source": "spec"
697
- }
698
- ],
699
- "queryParams": [
700
- {
701
- "name": "limit",
702
- "type": "integer",
703
- "required": false,
704
- "description": "1ページあたりの件数",
705
- "source": "curation"
706
- },
707
- {
708
- "name": "cursor",
709
- "type": "string",
710
- "required": false,
711
- "description": "次ページの取得に使うカーソル",
712
- "source": "curation"
713
- }
714
- ],
715
- "body": null,
716
- "resultPath": null,
717
- "risk": "read",
718
- "aliases": []
719
- },
720
- {
721
- "name": "get-notification-policy",
722
- "domain": "survey",
723
- "operationId": "survey.getNotificationPolicy",
724
- "method": "GET",
725
- "path": "/v2/surveys/notification-policy",
726
- "summary": "組織サーベイの未回答通知方針(テナント共通)を取得する。",
727
- "pathParams": [],
728
- "queryParams": [
729
- {
730
- "name": "scope",
731
- "type": "string",
732
- "required": false,
733
- "description": "方針の対象範囲",
734
- "source": "spec"
735
- },
736
- {
737
- "name": "limit",
738
- "type": "integer",
739
- "required": false,
740
- "description": "1ページあたりの件数",
741
- "source": "curation"
742
- },
743
- {
744
- "name": "cursor",
745
- "type": "string",
746
- "required": false,
747
- "description": "次ページの取得に使うカーソル",
748
- "source": "curation"
749
- }
750
- ],
751
- "body": null,
752
- "resultPath": null,
753
- "risk": "read",
754
- "aliases": []
755
- },
756
- {
757
- "name": "get-results",
758
- "domain": "survey",
759
- "operationId": "survey.getResults",
760
- "method": "GET",
761
- "path": "/v2/surveys/{id}/results",
762
- "summary": "集計結果を取得",
763
- "pathParams": [
764
- {
765
- "name": "id",
766
- "type": "string",
767
- "required": true,
768
- "source": "spec"
769
- }
770
- ],
771
- "queryParams": [
772
- {
773
- "name": "limit",
774
- "type": "integer",
775
- "required": false,
776
- "description": "1ページあたりの件数",
777
- "source": "curation"
778
- },
779
- {
780
- "name": "cursor",
781
- "type": "string",
782
- "required": false,
783
- "description": "次ページの取得に使うカーソル",
784
- "source": "curation"
785
- }
786
- ],
787
- "body": null,
788
- "resultPath": null,
789
- "risk": "read",
790
- "aliases": []
791
- },
792
- {
793
- "name": "list",
794
- "domain": "survey",
795
- "operationId": "survey.index",
796
- "method": "GET",
797
- "path": "/v2/surveys",
798
- "summary": "アンケート一覧を取得",
799
- "pathParams": [],
800
- "queryParams": [
801
- {
802
- "name": "survey_type",
803
- "type": "string",
804
- "required": false,
805
- "description": "アンケートの種類で絞り込む",
806
- "source": "spec"
807
- },
808
- {
809
- "name": "status",
810
- "type": "string",
811
- "required": false,
812
- "description": "状態で絞り込む",
813
- "source": "spec"
814
- },
815
- {
816
- "name": "link_category",
817
- "type": "string",
818
- "required": false,
819
- "description": "紐づけ先の分類で絞り込む",
820
- "source": "spec"
821
- },
822
- {
823
- "name": "cursor",
824
- "type": "string",
825
- "required": false,
826
- "description": "次ページの取得に使うカーソル",
827
- "source": "curation"
828
- },
829
- {
830
- "name": "limit",
831
- "type": "integer",
832
- "required": false,
833
- "description": "1ページあたりの件数",
834
- "source": "curation"
835
- }
836
- ],
837
- "body": null,
838
- "resultPath": "items",
839
- "risk": "read",
840
- "aliases": []
841
- },
842
- {
843
- "name": "list-invited-users",
844
- "domain": "survey",
845
- "operationId": "survey.listInvitedUsers",
846
- "method": "GET",
847
- "path": "/v2/surveys/{id}/invited-users",
848
- "summary": "閲覧招待ユーザーの一覧を取得する。",
849
- "pathParams": [
850
- {
851
- "name": "id",
852
- "type": "string",
853
- "required": true,
854
- "source": "spec"
855
- }
856
- ],
857
- "queryParams": [
858
- {
859
- "name": "limit",
860
- "type": "integer",
861
- "required": false,
862
- "description": "1ページあたりの件数",
863
- "source": "curation"
864
- },
865
- {
866
- "name": "cursor",
867
- "type": "string",
868
- "required": false,
869
- "description": "次ページの取得に使うカーソル",
870
- "source": "curation"
871
- }
872
- ],
873
- "body": null,
874
- "resultPath": "invited_user_ids",
875
- "risk": "read",
876
- "aliases": []
877
- },
878
- {
879
- "name": "list-questions",
880
- "domain": "survey",
881
- "operationId": "survey.listQuestions",
882
- "method": "GET",
883
- "path": "/v2/surveys/{id}/questions",
884
- "summary": "質問一覧を取得",
885
- "pathParams": [
886
- {
887
- "name": "id",
888
- "type": "string",
889
- "required": true,
890
- "source": "spec"
891
- }
892
- ],
893
- "queryParams": [
894
- {
895
- "name": "limit",
896
- "type": "integer",
897
- "required": false,
898
- "description": "1ページあたりの件数",
899
- "source": "curation"
900
- },
901
- {
902
- "name": "cursor",
903
- "type": "string",
904
- "required": false,
905
- "description": "次ページの取得に使うカーソル",
906
- "source": "curation"
907
- }
908
- ],
909
- "body": null,
910
- "resultPath": "items",
911
- "risk": "read",
912
- "aliases": []
913
- },
914
- {
915
- "name": "list-responses",
916
- "domain": "survey",
917
- "operationId": "survey.listResponses",
918
- "method": "GET",
919
- "path": "/v2/surveys/{id}/responses",
920
- "summary": "回答一覧を取得",
921
- "pathParams": [
922
- {
923
- "name": "id",
924
- "type": "string",
925
- "required": true,
926
- "source": "spec"
927
- }
928
- ],
929
- "queryParams": [
930
- {
931
- "name": "sort_by",
932
- "type": "string",
933
- "required": false,
934
- "description": "並べ替える項目",
935
- "source": "spec"
936
- },
937
- {
938
- "name": "sort_order",
939
- "type": "string",
940
- "required": false,
941
- "description": "asc / desc",
942
- "source": "spec"
943
- },
944
- {
945
- "name": "limit",
946
- "type": "integer",
947
- "required": false,
948
- "description": "1ページあたりの件数",
949
- "source": "curation"
950
- },
951
- {
952
- "name": "cursor",
953
- "type": "string",
954
- "required": false,
955
- "description": "次ページの取得に使うカーソル",
956
- "source": "curation"
957
- }
958
- ],
959
- "body": null,
960
- "resultPath": "items",
961
- "risk": "read",
962
- "aliases": []
963
- },
964
- {
965
- "name": "list-targets",
966
- "domain": "survey",
967
- "operationId": "survey.listTargets",
968
- "method": "GET",
969
- "path": "/v2/surveys/{id}/targets",
970
- "summary": "回答対象者の一覧を取得",
971
- "pathParams": [
972
- {
973
- "name": "id",
974
- "type": "string",
975
- "required": true,
976
- "source": "spec"
977
- }
978
- ],
979
- "queryParams": [
980
- {
981
- "name": "limit",
982
- "type": "integer",
983
- "required": false,
984
- "description": "1ページあたりの件数",
985
- "source": "curation"
986
- },
987
- {
988
- "name": "cursor",
989
- "type": "string",
990
- "required": false,
991
- "description": "次ページの取得に使うカーソル",
992
- "source": "curation"
993
- }
994
- ],
995
- "body": null,
996
- "resultPath": "items",
997
- "risk": "read",
998
- "aliases": []
999
- },
1000
- {
1001
- "name": "my-notifiable-pending",
1002
- "domain": "survey",
1003
- "operationId": "survey.myNotifiablePending",
1004
- "method": "GET",
1005
- "path": "/v2/surveys/my/pending-tasks",
1006
- "summary": "「やるべきタスク」「本日のやるべきタスク」に表示する未回答サーベイを取得する。",
1007
- "pathParams": [],
1008
- "queryParams": [
1009
- {
1010
- "name": "channel",
1011
- "type": "string",
1012
- "required": false,
1013
- "description": "表示先で絞り込む",
1014
- "source": "spec"
1015
- },
1016
- {
1017
- "name": "scope",
1018
- "type": "string",
1019
- "required": false,
1020
- "description": "対象範囲で絞り込む",
1021
- "source": "spec"
1022
- },
1023
- {
1024
- "name": "limit",
1025
- "type": "integer",
1026
- "required": false,
1027
- "description": "1ページあたりの件数",
1028
- "source": "curation"
1029
- },
1030
- {
1031
- "name": "cursor",
1032
- "type": "string",
1033
- "required": false,
1034
- "description": "次ページの取得に使うカーソル",
1035
- "source": "curation"
1036
- }
1037
- ],
1038
- "body": null,
1039
- "resultPath": "items",
1040
- "risk": "read",
1041
- "aliases": []
1042
- },
1043
- {
1044
- "name": "my-pending",
1045
- "domain": "survey",
1046
- "operationId": "survey.myPending",
1047
- "method": "GET",
1048
- "path": "/v2/surveys/my",
1049
- "summary": "自分が回答対象のアンケート一覧を取得",
1050
- "pathParams": [],
1051
- "queryParams": [
1052
- {
1053
- "name": "survey_type",
1054
- "type": "string",
1055
- "required": false,
1056
- "description": "アンケートの種類で絞り込む",
1057
- "source": "spec"
1058
- },
1059
- {
1060
- "name": "limit",
1061
- "type": "integer",
1062
- "required": false,
1063
- "description": "1ページあたりの件数",
1064
- "source": "curation"
1065
- },
1066
- {
1067
- "name": "cursor",
1068
- "type": "string",
1069
- "required": false,
1070
- "description": "次ページの取得に使うカーソル",
1071
- "source": "curation"
1072
- }
1073
- ],
1074
- "body": null,
1075
- "resultPath": "items",
1076
- "risk": "read",
1077
- "aliases": []
1078
- },
1079
- {
1080
- "name": "notification-audience-eligibility",
1081
- "domain": "survey",
1082
- "operationId": "survey.notificationAudienceEligibility",
1083
- "method": "POST",
1084
- "path": "/v2/surveys/notification-audience-eligibility",
1085
- "summary": "指定ユーザー公開の未回答通知可否を、契約・所属情報を露出せず集約判定する。",
1086
- "pathParams": [],
1087
- "queryParams": [],
1088
- "body": {
1089
- "schema": {
1090
- "type": "object",
1091
- "properties": {
1092
- "user_ids": {
1093
- "type": "array",
1094
- "items": {
1095
- "type": "string"
1096
- },
1097
- "minItems": 1,
1098
- "maxItems": 1000,
1099
- "uniqueItems": true
1100
- }
1101
- },
1102
- "required": [
1103
- "user_ids"
1104
- ]
1105
- }
1106
- },
1107
- "resultPath": null,
1108
- "risk": "write",
1109
- "aliases": []
1110
- },
1111
- {
1112
- "name": "publish",
1113
- "domain": "survey",
1114
- "operationId": "survey.publish",
1115
- "method": "POST",
1116
- "path": "/v2/surveys/{id}/publish",
1117
- "summary": "アンケートを公開",
1118
- "pathParams": [
1119
- {
1120
- "name": "id",
1121
- "type": "string",
1122
- "required": true,
1123
- "source": "spec"
1124
- }
1125
- ],
1126
- "queryParams": [],
1127
- "body": null,
1128
- "resultPath": null,
1129
- "risk": "write",
1130
- "aliases": []
1131
- },
1132
- {
1133
- "name": "register-customer",
1134
- "domain": "survey",
1135
- "operationId": "survey.registerCustomer",
1136
- "method": "POST",
1137
- "path": "/v2/surveys/{id}/responses/{responseId}/register-customer",
1138
- "summary": "回答者を顧客として登録",
1139
- "pathParams": [
1140
- {
1141
- "name": "id",
1142
- "type": "string",
1143
- "required": true,
1144
- "source": "spec"
1145
- },
1146
- {
1147
- "name": "responseId",
1148
- "type": "string",
1149
- "required": true,
1150
- "source": "spec"
1151
- }
1152
- ],
1153
- "queryParams": [],
1154
- "body": {
1155
- "schema": {
1156
- "type": "object",
1157
- "properties": {
1158
- "company_id": {
1159
- "type": "string"
1160
- }
1161
- }
1162
- }
1163
- },
1164
- "resultPath": null,
1165
- "risk": "write",
1166
- "aliases": []
1167
- },
1168
- {
1169
- "name": "reorder-questions",
1170
- "domain": "survey",
1171
- "operationId": "survey.reorderQuestions",
1172
- "method": "PUT",
1173
- "path": "/v2/surveys/{id}/questions/reorder",
1174
- "summary": "質問を並べ替える",
1175
- "pathParams": [
1176
- {
1177
- "name": "id",
1178
- "type": "string",
1179
- "required": true,
1180
- "source": "spec"
1181
- }
1182
- ],
1183
- "queryParams": [],
1184
- "body": {
1185
- "schema": {
1186
- "type": "object",
1187
- "properties": {
1188
- "question_ids": {
1189
- "type": "array",
1190
- "items": {
1191
- "type": "string"
1192
- },
1193
- "minItems": 1
1194
- }
1195
- },
1196
- "required": [
1197
- "question_ids"
1198
- ]
1199
- }
1200
- },
1201
- "resultPath": null,
1202
- "risk": "write",
1203
- "aliases": []
1204
- },
1205
- {
1206
- "name": "revoke-public-token",
1207
- "domain": "survey",
1208
- "operationId": "survey.revokePublicToken",
1209
- "method": "DELETE",
1210
- "path": "/v2/surveys/{id}/public-token",
1211
- "summary": "公開回答用のURLを無効にする",
1212
- "pathParams": [
1213
- {
1214
- "name": "id",
1215
- "type": "string",
1216
- "required": true,
1217
- "source": "spec"
1218
- }
1219
- ],
1220
- "queryParams": [],
1221
- "body": null,
1222
- "resultPath": null,
1223
- "risk": "destructive",
1224
- "aliases": []
1225
- },
1226
- {
1227
- "name": "set-accepting-responses",
1228
- "domain": "survey",
1229
- "operationId": "survey.setAcceptingResponses",
1230
- "method": "PATCH",
1231
- "path": "/v2/surveys/{id}/accepting-responses",
1232
- "summary": "回答の受付を再開・停止する",
1233
- "pathParams": [
1234
- {
1235
- "name": "id",
1236
- "type": "string",
1237
- "required": true,
1238
- "source": "spec"
1239
- }
1240
- ],
1241
- "queryParams": [],
1242
- "body": {
1243
- "schema": {
1244
- "type": "object",
1245
- "properties": {
1246
- "accepting": {
1247
- "type": "boolean"
1248
- }
1249
- },
1250
- "required": [
1251
- "accepting"
1252
- ]
1253
- }
1254
- },
1255
- "resultPath": null,
1256
- "risk": "write",
1257
- "aliases": []
1258
- },
1259
- {
1260
- "name": "submit-response",
1261
- "domain": "survey",
1262
- "operationId": "survey.submitResponse",
1263
- "method": "POST",
1264
- "path": "/v2/surveys/{id}/responses",
1265
- "summary": "回答を送信",
1266
- "pathParams": [
1267
- {
1268
- "name": "id",
1269
- "type": "string",
1270
- "required": true,
1271
- "source": "spec"
1272
- }
1273
- ],
1274
- "queryParams": [],
1275
- "body": {
1276
- "schema": {
1277
- "type": "object",
1278
- "properties": {
1279
- "answers": {
1280
- "type": "array",
1281
- "items": {
1282
- "type": "object",
1283
- "properties": {
1284
- "question_id": {
1285
- "type": "string"
1286
- },
1287
- "selected_option": {
1288
- "type": [
1289
- "string",
1290
- "null"
1291
- ]
1292
- },
1293
- "selected_options": {
1294
- "type": [
1295
- "array",
1296
- "null"
1297
- ],
1298
- "items": {
1299
- "type": "string"
1300
- }
1301
- },
1302
- "text": {
1303
- "type": [
1304
- "string",
1305
- "null"
1306
- ],
1307
- "maxLength": 5000
1308
- },
1309
- "rating": {
1310
- "type": [
1311
- "integer",
1312
- "null"
1313
- ],
1314
- "minimum": 0,
1315
- "maximum": 10
1316
- },
1317
- "value": {
1318
- "type": [
1319
- "string",
1320
- "null"
1321
- ]
1322
- },
1323
- "other_text": {
1324
- "type": [
1325
- "string",
1326
- "null"
1327
- ],
1328
- "maxLength": 1000
1329
- }
1330
- },
1331
- "required": [
1332
- "question_id"
1333
- ]
1334
- },
1335
- "minItems": 1
1336
- }
1337
- },
1338
- "required": [
1339
- "answers"
1340
- ]
1341
- }
1342
- },
1343
- "resultPath": null,
1344
- "risk": "write",
1345
- "aliases": []
1346
- },
1347
- {
1348
- "name": "update",
1349
- "domain": "survey",
1350
- "operationId": "survey.update",
1351
- "method": "PUT",
1352
- "path": "/v2/surveys/{id}",
1353
- "summary": "アンケートを更新",
1354
- "pathParams": [
1355
- {
1356
- "name": "id",
1357
- "type": "string",
1358
- "required": true,
1359
- "source": "spec"
1360
- }
1361
- ],
1362
- "queryParams": [],
1363
- "body": {
1364
- "schema": {
1365
- "type": "object",
1366
- "properties": {
1367
- "title": {
1368
- "type": "string",
1369
- "maxLength": 255
1370
- },
1371
- "survey_type": {
1372
- "type": [
1373
- "string",
1374
- "null"
1375
- ],
1376
- "enum": [
1377
- "general",
1378
- "anonymous",
1379
- "feedback",
1380
- "organization",
1381
- null
1382
- ]
1383
- },
1384
- "type": {
1385
- "type": [
1386
- "string",
1387
- "null"
1388
- ],
1389
- "enum": [
1390
- "general",
1391
- "anonymous",
1392
- "feedback",
1393
- "organization",
1394
- null
1395
- ]
1396
- },
1397
- "target_selection_mode": {
1398
- "type": [
1399
- "string",
1400
- "null"
1401
- ],
1402
- "enum": [
1403
- "all_enrolled",
1404
- "manual",
1405
- null
1406
- ]
1407
- },
1408
- "starts_at": {
1409
- "type": [
1410
- "string",
1411
- "null"
1412
- ]
1413
- },
1414
- "start_at": {
1415
- "type": [
1416
- "string",
1417
- "null"
1418
- ]
1419
- },
1420
- "ends_at": {
1421
- "type": [
1422
- "string",
1423
- "null"
1424
- ]
1425
- },
1426
- "end_at": {
1427
- "type": [
1428
- "string",
1429
- "null"
1430
- ]
1431
- },
1432
- "anonymous": {
1433
- "type": [
1434
- "boolean",
1435
- "null"
1436
- ]
1437
- },
1438
- "allow_multiple": {
1439
- "type": [
1440
- "boolean",
1441
- "null"
1442
- ]
1443
- },
1444
- "link_category": {
1445
- "type": [
1446
- "string",
1447
- "null"
1448
- ],
1449
- "enum": [
1450
- "none",
1451
- "training_application",
1452
- "training_followup",
1453
- null
1454
- ]
1455
- },
1456
- "visibility": {
1457
- "type": [
1458
- "string",
1459
- "null"
1460
- ],
1461
- "enum": [
1462
- "all",
1463
- "employee",
1464
- "specific",
1465
- null
1466
- ]
1467
- },
1468
- "visibility_user_ids": {
1469
- "type": [
1470
- "array",
1471
- "null"
1472
- ],
1473
- "items": {
1474
- "type": "string"
1475
- }
1476
- },
1477
- "invited_user_ids": {
1478
- "type": [
1479
- "array",
1480
- "null"
1481
- ],
1482
- "items": {
1483
- "type": "string"
1484
- }
1485
- },
1486
- "distribution_config": {
1487
- "type": [
1488
- "array",
1489
- "null"
1490
- ],
1491
- "items": {
1492
- "type": "string"
1493
- }
1494
- },
1495
- "reminder_config": {
1496
- "type": [
1497
- "array",
1498
- "null"
1499
- ],
1500
- "items": {
1501
- "type": "string"
1502
- }
1503
- },
1504
- "recurring_config": {
1505
- "type": "object",
1506
- "properties": {
1507
- "enabled": {
1508
- "type": "boolean"
1509
- },
1510
- "frequency": {
1511
- "type": "string",
1512
- "enum": [
1513
- "monthly",
1514
- "bimonthly",
1515
- "quarterly"
1516
- ]
1517
- },
1518
- "timing_type": {
1519
- "type": "string",
1520
- "enum": [
1521
- "week_of_month",
1522
- "first_business_day"
1523
- ]
1524
- },
1525
- "start_month": {
1526
- "type": [
1527
- "integer",
1528
- "null"
1529
- ],
1530
- "minimum": 1,
1531
- "maximum": 12
1532
- },
1533
- "week_of_month": {
1534
- "type": "integer",
1535
- "minimum": 1,
1536
- "maximum": 4
1537
- },
1538
- "day_of_week": {
1539
- "type": "integer",
1540
- "minimum": 0,
1541
- "maximum": 6
1542
- },
1543
- "response_period_days": {
1544
- "type": "integer",
1545
- "minimum": 1,
1546
- "maximum": 365
1547
- },
1548
- "response_period_unit": {
1549
- "type": "string",
1550
- "enum": [
1551
- "calendar",
1552
- "business"
1553
- ]
1554
- }
1555
- }
1556
- },
1557
- "notification_config": {
1558
- "type": "object",
1559
- "properties": {
1560
- "clock_in_popup": {
1561
- "type": "boolean"
1562
- },
1563
- "task_list": {
1564
- "type": "boolean"
1565
- },
1566
- "in_app": {
1567
- "type": "boolean"
1568
- },
1569
- "email": {
1570
- "type": "boolean"
1571
- }
1572
- },
1573
- "required": [
1574
- "clock_in_popup",
1575
- "task_list",
1576
- "in_app",
1577
- "email"
1578
- ]
1579
- }
1580
- }
1581
- }
1582
- },
1583
- "resultPath": "warnings",
1584
- "risk": "write",
1585
- "aliases": []
1586
- },
1587
- {
1588
- "name": "update-invited-users",
1589
- "domain": "survey",
1590
- "operationId": "survey.updateInvitedUsers",
1591
- "method": "PUT",
1592
- "path": "/v2/surveys/{id}/invited-users",
1593
- "summary": "閲覧招待ユーザーを更新する(リスト全体を置き換える)。",
1594
- "pathParams": [
1595
- {
1596
- "name": "id",
1597
- "type": "string",
1598
- "required": true,
1599
- "source": "spec"
1600
- }
1601
- ],
1602
- "queryParams": [],
1603
- "body": {
1604
- "schema": {
1605
- "type": "object",
1606
- "properties": {
1607
- "invited_user_ids": {
1608
- "type": "array",
1609
- "items": {
1610
- "type": "string"
1611
- }
1612
- }
1613
- },
1614
- "required": [
1615
- "invited_user_ids"
1616
- ]
1617
- }
1618
- },
1619
- "resultPath": null,
1620
- "risk": "write",
1621
- "aliases": []
1622
- },
1623
- {
1624
- "name": "update-notification-policy",
1625
- "domain": "survey",
1626
- "operationId": "survey.updateNotificationPolicy",
1627
- "method": "PUT",
1628
- "path": "/v2/surveys/notification-policy",
1629
- "summary": "組織サーベイの未回答通知方針(テナント共通)を更新する。",
1630
- "pathParams": [],
1631
- "queryParams": [],
1632
- "body": {
1633
- "schema": {
1634
- "type": "object",
1635
- "properties": {
1636
- "scope": {
1637
- "type": "string",
1638
- "enum": [
1639
- "organization"
1640
- ]
1641
- }
1642
- },
1643
- "required": [
1644
- "scope"
1645
- ]
1646
- }
1647
- },
1648
- "resultPath": null,
1649
- "risk": "write",
1650
- "aliases": []
1651
- },
1652
- {
1653
- "name": "update-question",
1654
- "domain": "survey",
1655
- "operationId": "survey.updateQuestion",
1656
- "method": "PUT",
1657
- "path": "/v2/surveys/{id}/questions/{questionId}",
1658
- "summary": "質問を更新",
1659
- "pathParams": [
1660
- {
1661
- "name": "id",
1662
- "type": "string",
1663
- "required": true,
1664
- "source": "spec"
1665
- },
1666
- {
1667
- "name": "questionId",
1668
- "type": "string",
1669
- "required": true,
1670
- "source": "spec"
1671
- }
1672
- ],
1673
- "queryParams": [],
1674
- "body": {
1675
- "schema": {
1676
- "type": "object",
1677
- "properties": {
1678
- "question_text": {
1679
- "type": "string",
1680
- "maxLength": 1000
1681
- },
1682
- "question_type": {
1683
- "type": "string",
1684
- "enum": [
1685
- "single_choice",
1686
- "multi_choice",
1687
- "free_text",
1688
- "rating",
1689
- "text",
1690
- "textarea",
1691
- "date",
1692
- "single_select",
1693
- "multi_select",
1694
- "email",
1695
- "number",
1696
- "training_session_select"
1697
- ]
1698
- },
1699
- "options": {
1700
- "type": [
1701
- "array",
1702
- "null"
1703
- ],
1704
- "items": {
1705
- "type": "string"
1706
- }
1707
- },
1708
- "required": {
1709
- "type": [
1710
- "boolean",
1711
- "null"
1712
- ]
1713
- },
1714
- "sort_order": {
1715
- "type": [
1716
- "integer",
1717
- "null"
1718
- ],
1719
- "minimum": 0
1720
- },
1721
- "rating_min": {
1722
- "type": [
1723
- "integer",
1724
- "null"
1725
- ],
1726
- "minimum": 0,
1727
- "maximum": 10
1728
- },
1729
- "rating_max": {
1730
- "type": [
1731
- "integer",
1732
- "null"
1733
- ],
1734
- "minimum": 1,
1735
- "maximum": 10
1736
- },
1737
- "rating_min_label": {
1738
- "type": [
1739
- "string",
1740
- "null"
1741
- ],
1742
- "maxLength": 100
1743
- },
1744
- "rating_max_label": {
1745
- "type": [
1746
- "string",
1747
- "null"
1748
- ],
1749
- "maxLength": 100
1750
- },
1751
- "extra": {
1752
- "type": [
1753
- "array",
1754
- "null"
1755
- ],
1756
- "items": {
1757
- "type": "string"
1758
- }
1759
- }
1760
- }
1761
- }
1762
- },
1763
- "resultPath": null,
1764
- "risk": "write",
1765
- "aliases": []
1766
- }
4
+ {"name":"add-question","domain":"survey","operationId":"survey.addQuestion","method":"POST","path":"/v2/surveys/{id}/questions","summary":"質問を追加","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"question_text":{"type":"string","maxLength":1000},"question_type":{"type":"string","enum":["single_choice","multi_choice","free_text","rating","text","textarea","date","single_select","multi_select","email","number","training_session_select"]},"options":{"type":["array","null"],"items":{"type":"string"}},"required":{"type":["boolean","null"]},"sort_order":{"type":["integer","null"],"minimum":0},"rating_min":{"type":["integer","null"],"minimum":0,"maximum":10},"rating_max":{"type":["integer","null"],"minimum":1,"maximum":10},"rating_min_label":{"type":["string","null"],"maxLength":100},"rating_max_label":{"type":["string","null"],"maxLength":100},"extra":{"type":["array","null"],"items":{"type":"string"}}},"required":["question_text","question_type"]}},"resultPath":null,"risk":"write","aliases":[]},
5
+ {"name":"apply-template","domain":"survey","operationId":"survey.applyTemplate","method":"POST","path":"/v2/surveys/{id}/apply-template","summary":"テンプレートの質問を適用","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":null,"risk":"write","aliases":[]},
6
+ {"name":"bulk-add-targets","domain":"survey","operationId":"survey.bulkAddTargets","method":"POST","path":"/v2/surveys/{id}/targets/bulk","summary":"回答対象者を一括で追加","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"department_ids":{"type":"array","items":{"type":"string"}},"user_ids":{"type":"array","items":{"type":"string"}}},"required":["department_ids","user_ids"]}},"resultPath":"items","risk":"write","aliases":[]},
7
+ {"name":"close","domain":"survey","operationId":"survey.close","method":"POST","path":"/v2/surveys/{id}/close","summary":"アンケートを締め切る","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":null,"risk":"write","aliases":[]},
8
+ {"name":"create","domain":"survey","operationId":"survey.store","method":"POST","path":"/v2/surveys","summary":"アンケートを作成","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"title":{"type":"string","maxLength":255},"survey_type":{"type":["string","null"],"enum":["general","anonymous","feedback","organization",null]},"type":{"type":["string","null"],"enum":["general","anonymous","feedback","organization",null]},"target_selection_mode":{"type":["string","null"],"enum":["all_enrolled","manual",null]},"starts_at":{"type":["string","null"]},"start_at":{"type":["string","null"]},"ends_at":{"type":["string","null"]},"end_at":{"type":["string","null"]},"anonymous":{"type":["boolean","null"]},"allow_multiple":{"type":["boolean","null"]},"link_category":{"type":["string","null"],"enum":["none","training_application","training_followup",null]},"visibility":{"type":["string","null"],"enum":["all","employee","specific",null]},"visibility_user_ids":{"type":["array","null"],"items":{"type":"string"}},"recurring_config":{"type":"object","properties":{"enabled":{"type":"boolean"},"frequency":{"type":"string","enum":["monthly","bimonthly","quarterly"]},"timing_type":{"type":"string","enum":["week_of_month","first_business_day"]},"start_month":{"type":["integer","null"],"minimum":1,"maximum":12},"week_of_month":{"type":"integer","minimum":1,"maximum":4},"day_of_week":{"type":"integer","minimum":0,"maximum":6},"response_period_days":{"type":"integer","minimum":1,"maximum":365},"response_period_unit":{"type":"string","enum":["calendar","business"]}}},"notification_config":{"type":"object","properties":{"clock_in_popup":{"type":"boolean"},"task_list":{"type":"boolean"},"in_app":{"type":"boolean"},"email":{"type":"boolean"}},"required":["clock_in_popup","task_list","in_app","email"]}},"required":["title"]}},"resultPath":null,"risk":"write","aliases":[]},
9
+ {"name":"delete","domain":"survey","operationId":"survey.destroy","method":"DELETE","path":"/v2/surveys/{id}","summary":"アンケートを削除","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":null,"risk":"destructive","aliases":[]},
10
+ {"name":"delete-question","domain":"survey","operationId":"survey.deleteQuestion","method":"DELETE","path":"/v2/surveys/{id}/questions/{questionId}","summary":"質問を削除","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"},{"name":"questionId","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":null,"risk":"destructive","aliases":[]},
11
+ {"name":"delete-target","domain":"survey","operationId":"survey.deleteTarget","method":"DELETE","path":"/v2/surveys/{id}/targets/users/{userId}","summary":"回答対象者から外す","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"},{"name":"userId","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":null,"risk":"destructive","aliases":[]},
12
+ {"name":"destroy-response","domain":"survey","operationId":"survey.destroyResponse","method":"DELETE","path":"/v2/surveys/{id}/responses/{responseId}","summary":"アンケートの個別回答を削除する。","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"},{"name":"responseId","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":null,"risk":"destructive","aliases":[]},
13
+ {"name":"distribute","domain":"survey","operationId":"survey.distribute","method":"POST","path":"/v2/surveys/{id}/distribute","summary":"回答対象者へアンケートを配信","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":null,"risk":"write","aliases":[]},
14
+ {"name":"duplicate","domain":"survey","operationId":"survey.duplicate","method":"POST","path":"/v2/surveys/{id}/duplicate","summary":"既存アンケート/組織サーベイを複製し、下書き状態の新規アンケートを作成する。","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":null,"risk":"write","aliases":[]},
15
+ {"name":"export-aggregate-csv","domain":"survey","operationId":"survey.exportAggregateCsv","method":"GET","path":"/v2/surveys/{id}/aggregate/csv","summary":"組織サーベイの集計CSV(全社平均・カテゴリ別・部署別)をエクスポートする。","pathParams":[{"name":"id","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":[]},
16
+ {"name":"export-responses-csv","domain":"survey","operationId":"survey.exportResponsesCsv","method":"GET","path":"/v2/surveys/{id}/responses/csv","summary":"回答をCSVで出力","pathParams":[{"name":"id","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":[]},
17
+ {"name":"generate-public-token","domain":"survey","operationId":"survey.generatePublicToken","method":"POST","path":"/v2/surveys/{id}/public-token","summary":"公開回答用のURLを発行","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":null,"risk":"write","aliases":[]},
18
+ {"name":"get","domain":"survey","operationId":"survey.show","method":"GET","path":"/v2/surveys/{id}","summary":"アンケート詳細を取得","pathParams":[{"name":"id","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":[]},
19
+ {"name":"get-form","domain":"survey","operationId":"survey.getForm","method":"GET","path":"/v2/surveys/{id}/form","summary":"回答フォーム(アンケートと質問)を取得","pathParams":[{"name":"id","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":[]},
20
+ {"name":"get-notification-policy","domain":"survey","operationId":"survey.getNotificationPolicy","method":"GET","path":"/v2/surveys/notification-policy","summary":"組織サーベイの未回答通知方針(テナント共通)を取得する。","pathParams":[],"queryParams":[{"name":"scope","type":"string","required":false,"description":"方針の対象範囲","source":"spec"},{"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":[]},
21
+ {"name":"get-results","domain":"survey","operationId":"survey.getResults","method":"GET","path":"/v2/surveys/{id}/results","summary":"集計結果を取得","pathParams":[{"name":"id","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":[]},
22
+ {"name":"list","domain":"survey","operationId":"survey.index","method":"GET","path":"/v2/surveys","summary":"アンケート一覧を取得","pathParams":[],"queryParams":[{"name":"survey_type","type":"string","required":false,"description":"アンケートの種類で絞り込む","source":"spec"},{"name":"status","type":"string","required":false,"description":"状態で絞り込む","source":"spec"},{"name":"link_category","type":"string","required":false,"description":"紐づけ先の分類で絞り込む","source":"spec"},{"name":"cursor","type":"string","required":false,"description":"次ページの取得に使うカーソル","source":"curation"},{"name":"limit","type":"integer","required":false,"description":"1ページあたりの件数","source":"curation"}],"body":null,"resultPath":"items","risk":"read","aliases":[]},
23
+ {"name":"list-invited-users","domain":"survey","operationId":"survey.listInvitedUsers","method":"GET","path":"/v2/surveys/{id}/invited-users","summary":"閲覧招待ユーザーの一覧を取得する。","pathParams":[{"name":"id","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":"invited_user_ids","risk":"read","aliases":[]},
24
+ {"name":"list-questions","domain":"survey","operationId":"survey.listQuestions","method":"GET","path":"/v2/surveys/{id}/questions","summary":"質問一覧を取得","pathParams":[{"name":"id","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":"items","risk":"read","aliases":[]},
25
+ {"name":"list-responses","domain":"survey","operationId":"survey.listResponses","method":"GET","path":"/v2/surveys/{id}/responses","summary":"回答一覧を取得","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[{"name":"sort_by","type":"string","required":false,"description":"並べ替える項目","source":"spec"},{"name":"sort_order","type":"string","required":false,"description":"asc / desc","source":"spec"},{"name":"limit","type":"integer","required":false,"description":"1ページあたりの件数","source":"curation"},{"name":"cursor","type":"string","required":false,"description":"次ページの取得に使うカーソル","source":"curation"}],"body":null,"resultPath":"items","risk":"read","aliases":[]},
26
+ {"name":"list-targets","domain":"survey","operationId":"survey.listTargets","method":"GET","path":"/v2/surveys/{id}/targets","summary":"回答対象者の一覧を取得","pathParams":[{"name":"id","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":"items","risk":"read","aliases":[]},
27
+ {"name":"my-notifiable-pending","domain":"survey","operationId":"survey.myNotifiablePending","method":"GET","path":"/v2/surveys/my/pending-tasks","summary":"「やるべきタスク」「本日のやるべきタスク」に表示する未回答サーベイを取得する。","pathParams":[],"queryParams":[{"name":"channel","type":"string","required":false,"description":"表示先で絞り込む","source":"spec"},{"name":"scope","type":"string","required":false,"description":"対象範囲で絞り込む","source":"spec"},{"name":"limit","type":"integer","required":false,"description":"1ページあたりの件数","source":"curation"},{"name":"cursor","type":"string","required":false,"description":"次ページの取得に使うカーソル","source":"curation"}],"body":null,"resultPath":"items","risk":"read","aliases":[]},
28
+ {"name":"my-pending","domain":"survey","operationId":"survey.myPending","method":"GET","path":"/v2/surveys/my","summary":"自分が回答対象のアンケート一覧を取得","pathParams":[],"queryParams":[{"name":"survey_type","type":"string","required":false,"description":"アンケートの種類で絞り込む","source":"spec"},{"name":"limit","type":"integer","required":false,"description":"1ページあたりの件数","source":"curation"},{"name":"cursor","type":"string","required":false,"description":"次ページの取得に使うカーソル","source":"curation"}],"body":null,"resultPath":"items","risk":"read","aliases":[]},
29
+ {"name":"notification-audience-eligibility","domain":"survey","operationId":"survey.notificationAudienceEligibility","method":"POST","path":"/v2/surveys/notification-audience-eligibility","summary":"指定ユーザー公開の未回答通知可否を、契約・所属情報を露出せず集約判定する。","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"user_ids":{"type":"array","items":{"type":"string"},"minItems":1,"maxItems":1000,"uniqueItems":true}},"required":["user_ids"]}},"resultPath":null,"risk":"write","aliases":[]},
30
+ {"name":"publish","domain":"survey","operationId":"survey.publish","method":"POST","path":"/v2/surveys/{id}/publish","summary":"アンケートを公開","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":null,"risk":"write","aliases":[]},
31
+ {"name":"register-customer","domain":"survey","operationId":"survey.registerCustomer","method":"POST","path":"/v2/surveys/{id}/responses/{responseId}/register-customer","summary":"回答者を顧客として登録","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"},{"name":"responseId","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"company_id":{"type":"string"}}}},"resultPath":null,"risk":"write","aliases":[]},
32
+ {"name":"reorder-questions","domain":"survey","operationId":"survey.reorderQuestions","method":"PUT","path":"/v2/surveys/{id}/questions/reorder","summary":"質問を並べ替える","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"question_ids":{"type":"array","items":{"type":"string"},"minItems":1}},"required":["question_ids"]}},"resultPath":null,"risk":"write","aliases":[]},
33
+ {"name":"revoke-public-token","domain":"survey","operationId":"survey.revokePublicToken","method":"DELETE","path":"/v2/surveys/{id}/public-token","summary":"公開回答用のURLを無効にする","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":null,"risk":"destructive","aliases":[]},
34
+ {"name":"set-accepting-responses","domain":"survey","operationId":"survey.setAcceptingResponses","method":"PATCH","path":"/v2/surveys/{id}/accepting-responses","summary":"回答の受付を再開・停止する","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"accepting":{"type":"boolean"}},"required":["accepting"]}},"resultPath":null,"risk":"write","aliases":[]},
35
+ {"name":"submit-response","domain":"survey","operationId":"survey.submitResponse","method":"POST","path":"/v2/surveys/{id}/responses","summary":"回答を送信","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"answers":{"type":"array","items":{"type":"object","properties":{"question_id":{"type":"string"},"selected_option":{"type":["string","null"]},"selected_options":{"type":["array","null"],"items":{"type":"string"}},"text":{"type":["string","null"],"maxLength":5000},"rating":{"type":["integer","null"],"minimum":0,"maximum":10},"value":{"type":["string","null"]},"other_text":{"type":["string","null"],"maxLength":1000}},"required":["question_id"]},"minItems":1}},"required":["answers"]}},"resultPath":null,"risk":"write","aliases":[]},
36
+ {"name":"update","domain":"survey","operationId":"survey.update","method":"PUT","path":"/v2/surveys/{id}","summary":"アンケートを更新","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"title":{"type":"string","maxLength":255},"survey_type":{"type":["string","null"],"enum":["general","anonymous","feedback","organization",null]},"type":{"type":["string","null"],"enum":["general","anonymous","feedback","organization",null]},"target_selection_mode":{"type":["string","null"],"enum":["all_enrolled","manual",null]},"starts_at":{"type":["string","null"]},"start_at":{"type":["string","null"]},"ends_at":{"type":["string","null"]},"end_at":{"type":["string","null"]},"anonymous":{"type":["boolean","null"]},"allow_multiple":{"type":["boolean","null"]},"link_category":{"type":["string","null"],"enum":["none","training_application","training_followup",null]},"visibility":{"type":["string","null"],"enum":["all","employee","specific",null]},"visibility_user_ids":{"type":["array","null"],"items":{"type":"string"}},"invited_user_ids":{"type":["array","null"],"items":{"type":"string"}},"distribution_config":{"type":["array","null"],"items":{"type":"string"}},"reminder_config":{"type":["array","null"],"items":{"type":"string"}},"recurring_config":{"type":"object","properties":{"enabled":{"type":"boolean"},"frequency":{"type":"string","enum":["monthly","bimonthly","quarterly"]},"timing_type":{"type":"string","enum":["week_of_month","first_business_day"]},"start_month":{"type":["integer","null"],"minimum":1,"maximum":12},"week_of_month":{"type":"integer","minimum":1,"maximum":4},"day_of_week":{"type":"integer","minimum":0,"maximum":6},"response_period_days":{"type":"integer","minimum":1,"maximum":365},"response_period_unit":{"type":"string","enum":["calendar","business"]}}},"notification_config":{"type":"object","properties":{"clock_in_popup":{"type":"boolean"},"task_list":{"type":"boolean"},"in_app":{"type":"boolean"},"email":{"type":"boolean"}},"required":["clock_in_popup","task_list","in_app","email"]}}}},"resultPath":"warnings","risk":"write","aliases":[]},
37
+ {"name":"update-invited-users","domain":"survey","operationId":"survey.updateInvitedUsers","method":"PUT","path":"/v2/surveys/{id}/invited-users","summary":"閲覧招待ユーザーを更新する(リスト全体を置き換える)。","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"invited_user_ids":{"type":"array","items":{"type":"string"}}},"required":["invited_user_ids"]}},"resultPath":null,"risk":"write","aliases":[]},
38
+ {"name":"update-notification-policy","domain":"survey","operationId":"survey.updateNotificationPolicy","method":"PUT","path":"/v2/surveys/notification-policy","summary":"組織サーベイの未回答通知方針(テナント共通)を更新する。","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"scope":{"type":"string","enum":["organization"]}},"required":["scope"]}},"resultPath":null,"risk":"write","aliases":[]},
39
+ {"name":"update-question","domain":"survey","operationId":"survey.updateQuestion","method":"PUT","path":"/v2/surveys/{id}/questions/{questionId}","summary":"質問を更新","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"},{"name":"questionId","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"question_text":{"type":"string","maxLength":1000},"question_type":{"type":"string","enum":["single_choice","multi_choice","free_text","rating","text","textarea","date","single_select","multi_select","email","number","training_session_select"]},"options":{"type":["array","null"],"items":{"type":"string"}},"required":{"type":["boolean","null"]},"sort_order":{"type":["integer","null"],"minimum":0},"rating_min":{"type":["integer","null"],"minimum":0,"maximum":10},"rating_max":{"type":["integer","null"],"minimum":1,"maximum":10},"rating_min_label":{"type":["string","null"],"maxLength":100},"rating_max_label":{"type":["string","null"],"maxLength":100},"extra":{"type":["array","null"],"items":{"type":"string"}}}}},"resultPath":null,"risk":"write","aliases":[]}
1767
40
  ]
1768
41
  }