@tocca-systems/twp-cli 0.14.1 → 0.15.1

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 (318) hide show
  1. package/CHANGELOG.public.md +23 -0
  2. package/README.md +27 -0
  3. package/command-model/account-lock.json +108 -0
  4. package/command-model/address.json +40 -0
  5. package/command-model/agent-loop.json +1121 -0
  6. package/command-model/agent.json +838 -0
  7. package/command-model/ai-chat-history.json +239 -0
  8. package/command-model/ai-rag.json +118 -0
  9. package/command-model/ai-task-copilot.json +235 -0
  10. package/command-model/ai-token-usage.json +421 -0
  11. package/command-model/analysis-page-access-rule.json +250 -0
  12. package/command-model/analysis.json +153 -0
  13. package/command-model/announcement.json +208 -0
  14. package/command-model/api-key.json +255 -0
  15. package/command-model/api-usage.json +123 -0
  16. package/command-model/attendance-report-category.json +263 -0
  17. package/command-model/attendance-report-reason-detail.json +291 -0
  18. package/command-model/attendance-report-reason.json +279 -0
  19. package/command-model/attendance-report.json +384 -0
  20. package/command-model/attendance-timesheet.json +92 -0
  21. package/command-model/attendance.json +34 -0
  22. package/command-model/audit-log.json +146 -0
  23. package/command-model/auth.json +268 -0
  24. package/command-model/authorize.json +60 -0
  25. package/command-model/auto-charge.json +149 -0
  26. package/command-model/badge.json +116 -0
  27. package/command-model/billing.json +297 -0
  28. package/command-model/budget.json +505 -0
  29. package/command-model/business-card.json +47 -0
  30. package/command-model/business-place.json +323 -0
  31. package/command-model/capacity.json +171 -0
  32. package/command-model/catalog.json +234 -0
  33. package/command-model/chat-channel.json +566 -0
  34. package/command-model/chat-mention-group.json +135 -0
  35. package/command-model/chat-message.json +296 -0
  36. package/command-model/chat-tenant-connection.json +173 -0
  37. package/command-model/cli-auth.json +212 -0
  38. package/command-model/cms-tag.json +323 -0
  39. package/command-model/commuting-expense.json +422 -0
  40. package/command-model/company-case-document.json +41 -0
  41. package/command-model/company-contract-document.json +350 -0
  42. package/command-model/company.json +581 -0
  43. package/command-model/config.json +63 -0
  44. package/command-model/contract.json +546 -0
  45. package/command-model/credit.json +629 -0
  46. package/command-model/cross-project-report.json +40 -0
  47. package/command-model/customer-campaign.json +181 -0
  48. package/command-model/customer-contact.json +538 -0
  49. package/command-model/customer-interaction.json +714 -0
  50. package/command-model/customer-people.json +129 -0
  51. package/command-model/customer.json +129 -0
  52. package/command-model/cycle-time-analysis.json +59 -0
  53. package/command-model/dashboard-calendar.json +40 -0
  54. package/command-model/department.json +374 -0
  55. package/command-model/deposit-plan.json +69 -0
  56. package/command-model/deposit.json +498 -0
  57. package/command-model/desktop-release.json +63 -0
  58. package/command-model/domain-knowledge-doc.json +287 -0
  59. package/command-model/domain-knowledge.json +246 -0
  60. package/command-model/dynamo-attachment.json +253 -0
  61. package/command-model/dynamo-cms.json +1322 -0
  62. package/command-model/dynamo-inquiry.json +417 -0
  63. package/command-model/dynamo-support.json +297 -0
  64. package/command-model/email-change.json +59 -0
  65. package/command-model/equipment-category.json +129 -0
  66. package/command-model/equipment.json +614 -0
  67. package/command-model/estimate-case-document.json +349 -0
  68. package/command-model/estimate-format.json +465 -0
  69. package/command-model/estimate-no-rule.json +236 -0
  70. package/command-model/estimate.json +1025 -0
  71. package/command-model/evaluation-pdf.json +68 -0
  72. package/command-model/evaluation-period.json +476 -0
  73. package/command-model/evaluation.json +786 -0
  74. package/command-model/expense-settings.json +60 -0
  75. package/command-model/external-integration-proxy.json +1261 -0
  76. package/command-model/faq-notion-import.json +246 -0
  77. package/command-model/faq.json +410 -0
  78. package/command-model/favorite.json +179 -0
  79. package/command-model/feedback.json +544 -0
  80. package/command-model/fiscal-year-setting.json +167 -0
  81. package/command-model/floor-map.json +175 -0
  82. package/command-model/follow-up-message-template.json +197 -0
  83. package/command-model/git-hub-pr-status.json +41 -0
  84. package/command-model/goal-sheet.json +350 -0
  85. package/command-model/google-auth.json +100 -0
  86. package/command-model/hearing-auth.json +329 -0
  87. package/command-model/hearing-invitation.json +252 -0
  88. package/command-model/hearing-session.json +194 -0
  89. package/command-model/hearing.json +929 -0
  90. package/command-model/holiday.json +362 -0
  91. package/command-model/hr-checklist-template.json +261 -0
  92. package/command-model/hr-checklist.json +185 -0
  93. package/command-model/hr-qualification.json +108 -0
  94. package/command-model/html-editor.json +55 -0
  95. package/command-model/index.json +1500 -0
  96. package/command-model/inquiry-response-generator.json +43 -0
  97. package/command-model/inquiry-routing.json +364 -0
  98. package/command-model/invoice-auto-template.json +245 -0
  99. package/command-model/invoice-no-rule.json +236 -0
  100. package/command-model/invoice.json +897 -0
  101. package/command-model/job-title.json +421 -0
  102. package/command-model/knowledge-qa.json +62 -0
  103. package/command-model/knowledge-recommendation-feedback.json +102 -0
  104. package/command-model/knowledge-recommendation.json +56 -0
  105. package/command-model/legacy-migration.json +76 -0
  106. package/command-model/license-assignment.json +296 -0
  107. package/command-model/license-type.json +288 -0
  108. package/command-model/license.json +525 -0
  109. package/command-model/login-history.json +99 -0
  110. package/command-model/man-hour.json +107 -0
  111. package/command-model/master-announcement.json +520 -0
  112. package/command-model/master-billing.json +117 -0
  113. package/command-model/master-pricing.json +246 -0
  114. package/command-model/master-product.json +523 -0
  115. package/command-model/master-support-ai.json +39 -0
  116. package/command-model/master-support.json +450 -0
  117. package/command-model/master-tenant.json +1909 -0
  118. package/command-model/media-file-comment.json +142 -0
  119. package/command-model/media-file-hls.json +47 -0
  120. package/command-model/media-file-version.json +188 -0
  121. package/command-model/media-file.json +1712 -0
  122. package/command-model/media-folder.json +398 -0
  123. package/command-model/meeting-category.json +195 -0
  124. package/command-model/meeting-minutes.json +68 -0
  125. package/command-model/meeting-pdf.json +41 -0
  126. package/command-model/meeting-template.json +227 -0
  127. package/command-model/meeting.json +1030 -0
  128. package/command-model/member.json +132 -0
  129. package/command-model/microsoft-auth.json +97 -0
  130. package/command-model/milli-credit.json +273 -0
  131. package/command-model/ms365-calendar-o-auth.json +115 -0
  132. package/command-model/music-generation.json +232 -0
  133. package/command-model/my-task.json +167 -0
  134. package/command-model/my-training.json +158 -0
  135. package/command-model/news-perspective.json +215 -0
  136. package/command-model/note-category.json +149 -0
  137. package/command-model/note-comment.json +225 -0
  138. package/command-model/note-favorite.json +47 -0
  139. package/command-model/note-reaction.json +62 -0
  140. package/command-model/note-subscription.json +110 -0
  141. package/command-model/note.json +578 -0
  142. package/command-model/notification-recipient-rule.json +231 -0
  143. package/command-model/notification.json +336 -0
  144. package/command-model/notion-import.json +265 -0
  145. package/command-model/o-auth-client.json +334 -0
  146. package/command-model/onboarding-template.json +706 -0
  147. package/command-model/operating-hours.json +100 -0
  148. package/command-model/order-form-scan.json +33 -0
  149. package/command-model/org-chart.json +40 -0
  150. package/command-model/organization-announcement-category.json +135 -0
  151. package/command-model/organization-announcement.json +605 -0
  152. package/command-model/password-reset.json +100 -0
  153. package/command-model/payee.json +223 -0
  154. package/command-model/pc-situation.json +129 -0
  155. package/command-model/phone-change.json +65 -0
  156. package/command-model/policy-employee.json +99 -0
  157. package/command-model/policy.json +506 -0
  158. package/command-model/position.json +305 -0
  159. package/command-model/private-agent-loop.json +850 -0
  160. package/command-model/private-task.json +406 -0
  161. package/command-model/process.json +237 -0
  162. package/command-model/profit-analysis.json +183 -0
  163. package/command-model/profit-summary.json +70 -0
  164. package/command-model/project-assignment.json +55 -0
  165. package/command-model/project-cost.json +255 -0
  166. package/command-model/project-custom-field.json +379 -0
  167. package/command-model/project-digest.json +116 -0
  168. package/command-model/project-evaluation.json +313 -0
  169. package/command-model/project-health.json +158 -0
  170. package/command-model/project-member.json +468 -0
  171. package/command-model/project-process.json +310 -0
  172. package/command-model/project-profit-analysis.json +59 -0
  173. package/command-model/project-quality-check-corrective-task.json +126 -0
  174. package/command-model/project-quality-check-record.json +131 -0
  175. package/command-model/project-quality-check-scope.json +87 -0
  176. package/command-model/project-quality-check-status.json +63 -0
  177. package/command-model/project-repository.json +180 -0
  178. package/command-model/project-revenue.json +292 -0
  179. package/command-model/project-task-analytics.json +41 -0
  180. package/command-model/project-task-category.json +203 -0
  181. package/command-model/project-task-comment.json +430 -0
  182. package/command-model/project-task-form-options.json +41 -0
  183. package/command-model/project-task-label.json +203 -0
  184. package/command-model/project-task-link.json +169 -0
  185. package/command-model/project-task-milestone.json +215 -0
  186. package/command-model/project-task-rule.json +376 -0
  187. package/command-model/project-task-status.json +221 -0
  188. package/command-model/project-task-template.json +264 -0
  189. package/command-model/project-task-type.json +240 -0
  190. package/command-model/project-task-version.json +215 -0
  191. package/command-model/project-task-watcher.json +101 -0
  192. package/command-model/project-task.json +1476 -0
  193. package/command-model/project-template.json +443 -0
  194. package/command-model/project.json +979 -0
  195. package/command-model/prospect-activity.json +293 -0
  196. package/command-model/prospect-promotion.json +86 -0
  197. package/command-model/prospect.json +793 -0
  198. package/command-model/public-search.json +68 -0
  199. package/command-model/purchase-ai-field-mapping.json +293 -0
  200. package/command-model/purchase-document.json +349 -0
  201. package/command-model/purchase-estimate-scan.json +42 -0
  202. package/command-model/purchase-no-rule.json +242 -0
  203. package/command-model/purchase.json +608 -0
  204. package/command-model/push-subscription.json +108 -0
  205. package/command-model/qualification-import.json +91 -0
  206. package/command-model/qualification.json +252 -0
  207. package/command-model/quality-check-item.json +256 -0
  208. package/command-model/rag.json +76 -0
  209. package/command-model/rating-criteria.json +76 -0
  210. package/command-model/receivable-closing.json +105 -0
  211. package/command-model/receivable.json +63 -0
  212. package/command-model/received-invoice.json +151 -0
  213. package/command-model/refresh-token.json +31 -0
  214. package/command-model/report-format-order.json +48 -0
  215. package/command-model/report-saved-tab.json +154 -0
  216. package/command-model/report.json +2400 -0
  217. package/command-model/retrospective.json +591 -0
  218. package/command-model/revoke.json +34 -0
  219. package/command-model/risk-analysis.json +41 -0
  220. package/command-model/role-template.json +198 -0
  221. package/command-model/sales-ai-review-knowledge-draft.json +37 -0
  222. package/command-model/sales-ai-review-knowledge-pr.json +49 -0
  223. package/command-model/sales-ai-review-reason-list.json +70 -0
  224. package/command-model/sales-pdf.json +293 -0
  225. package/command-model/sales-rounding-setting.json +66 -0
  226. package/command-model/sales.json +425 -0
  227. package/command-model/saved-tab.json +150 -0
  228. package/command-model/saved-task-filter.json +154 -0
  229. package/command-model/seal-impression.json +195 -0
  230. package/command-model/segment.json +237 -0
  231. package/command-model/sidebar-badge-setting.json +60 -0
  232. package/command-model/skill-analytics.json +163 -0
  233. package/command-model/skill-category.json +235 -0
  234. package/command-model/skill-evaluation-export.json +49 -0
  235. package/command-model/skill-evaluation-record.json +140 -0
  236. package/command-model/skill-micro-feedback.json +132 -0
  237. package/command-model/skill-role-assignment.json +117 -0
  238. package/command-model/skill.json +327 -0
  239. package/command-model/staff-kpi-setting.json +186 -0
  240. package/command-model/staff-kpi.json +46 -0
  241. package/command-model/staffing-plan.json +428 -0
  242. package/command-model/storage.json +254 -0
  243. package/command-model/subscription.json +164 -0
  244. package/command-model/supplier-payment-schedule.json +237 -0
  245. package/command-model/supplier-payment.json +344 -0
  246. package/command-model/survey-tracker.json +398 -0
  247. package/command-model/survey.json +1759 -0
  248. package/command-model/task-analysis.json +34 -0
  249. package/command-model/task-branch.json +307 -0
  250. package/command-model/task-recurrence.json +261 -0
  251. package/command-model/task-wiki-link.json +155 -0
  252. package/command-model/tenant-ai-key.json +339 -0
  253. package/command-model/tenant-egress-policy.json +288 -0
  254. package/command-model/tenant-email-settings.json +143 -0
  255. package/command-model/tenant-git-hub-settings.json +361 -0
  256. package/command-model/tenant-master-email-change.json +59 -0
  257. package/command-model/tenant-rag-settings.json +382 -0
  258. package/command-model/tenant-registration.json +128 -0
  259. package/command-model/tenant-search.json +40 -0
  260. package/command-model/tenant-settings.json +1228 -0
  261. package/command-model/terms.json +90 -0
  262. package/command-model/test-execution.json +367 -0
  263. package/command-model/test-scenario.json +384 -0
  264. package/command-model/token.json +31 -0
  265. package/command-model/training-attendance.json +509 -0
  266. package/command-model/training-master.json +314 -0
  267. package/command-model/training-session.json +604 -0
  268. package/command-model/unified-search.json +127 -0
  269. package/command-model/update-record.json +90 -0
  270. package/command-model/user-api-key.json +357 -0
  271. package/command-model/user-assignment-calendar.json +47 -0
  272. package/command-model/user-assignment.json +663 -0
  273. package/command-model/user-contract-type.json +453 -0
  274. package/command-model/user-contract.json +759 -0
  275. package/command-model/user-group.json +147 -0
  276. package/command-model/user-info.json +34 -0
  277. package/command-model/user-invitation.json +1045 -0
  278. package/command-model/user-management.json +393 -0
  279. package/command-model/user-qualification.json +167 -0
  280. package/command-model/user-seal-generate.json +49 -0
  281. package/command-model/user-shortcut-setting.json +108 -0
  282. package/command-model/user-skill-profile.json +540 -0
  283. package/command-model/user.json +983 -0
  284. package/command-model/video-generation.json +456 -0
  285. package/command-model/web-search.json +67 -0
  286. package/command-model/well-known.json +63 -0
  287. package/command-model/whisper.json +88 -0
  288. package/command-model/wiki-collection.json +457 -0
  289. package/command-model/wiki-notion-import.json +172 -0
  290. package/command-model/wiki-template.json +187 -0
  291. package/command-model/wiki.json +449 -0
  292. package/command-model/worker-agent-run.json +185 -0
  293. package/command-model/worker-agent.json +524 -0
  294. package/command-model/workflow-ai-review.json +108 -0
  295. package/command-model/workflow-analysis.json +59 -0
  296. package/command-model/workflow-approval-delegation.json +135 -0
  297. package/command-model/workflow-approval.json +257 -0
  298. package/command-model/workflow-instance.json +273 -0
  299. package/command-model/workflow-tracker.json +481 -0
  300. package/command-model/workflow.json +553 -0
  301. package/command-model/workload-alert.json +105 -0
  302. package/dist/api-command-HGTPIEAP.js +73 -0
  303. package/dist/{app-BSEVWRJY.js → app-LLSZV6SM.js} +28 -27
  304. package/dist/{backlog-M5ORA4UV.js → backlog-AYEKG575.js} +2 -2
  305. package/dist/{chunk-V4VHRASG.js → chunk-7WEYBZSK.js} +1 -1
  306. package/dist/{run-6FWRZNZR.js → chunk-BPMSIIOU.js} +14 -14
  307. package/dist/{chunk-EOFANBVM.js → chunk-FKIZ5ZJU.js} +2 -2
  308. package/dist/{chunk-6JGIC2IW.js → chunk-HCO3IYGJ.js} +1 -1
  309. package/dist/{chunk-4WK2ECUX.js → chunk-S646CPM4.js} +3 -3
  310. package/dist/{chunk-ZVZL4QHS.js → chunk-Y5RTTQ4Y.js} +51 -25
  311. package/dist/cli.js +25 -23
  312. package/dist/{commands-S7RTRVR5.js → commands-RNBJ3AKL.js} +4 -4
  313. package/dist/{commands-YPT6RK74.js → commands-VUWI4ERO.js} +1 -1
  314. package/dist/{oneshot-FI5F5SP5.js → oneshot-HQJEXZHJ.js} +5 -5
  315. package/dist/run-BJQLIPWN.js +4 -0
  316. package/dist/{setup-JXETAINT.js → setup-OULTAG6G.js} +1 -1
  317. package/dist/{task-DAW7IUDT.js → task-UK4QO26W.js} +2 -2
  318. package/package.json +2 -1
@@ -0,0 +1,1759 @@
1
+ {
2
+ "domain": "survey",
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": "",
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": "",
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
+ "source": "spec"
734
+ },
735
+ {
736
+ "name": "limit",
737
+ "type": "integer",
738
+ "required": false,
739
+ "description": "1ページあたりの件数",
740
+ "source": "curation"
741
+ },
742
+ {
743
+ "name": "cursor",
744
+ "type": "string",
745
+ "required": false,
746
+ "description": "次ページの取得に使うカーソル",
747
+ "source": "curation"
748
+ }
749
+ ],
750
+ "body": null,
751
+ "resultPath": null,
752
+ "risk": "read",
753
+ "aliases": []
754
+ },
755
+ {
756
+ "name": "get-results",
757
+ "domain": "survey",
758
+ "operationId": "survey.getResults",
759
+ "method": "GET",
760
+ "path": "/v2/surveys/{id}/results",
761
+ "summary": "",
762
+ "pathParams": [
763
+ {
764
+ "name": "id",
765
+ "type": "string",
766
+ "required": true,
767
+ "source": "spec"
768
+ }
769
+ ],
770
+ "queryParams": [
771
+ {
772
+ "name": "limit",
773
+ "type": "integer",
774
+ "required": false,
775
+ "description": "1ページあたりの件数",
776
+ "source": "curation"
777
+ },
778
+ {
779
+ "name": "cursor",
780
+ "type": "string",
781
+ "required": false,
782
+ "description": "次ページの取得に使うカーソル",
783
+ "source": "curation"
784
+ }
785
+ ],
786
+ "body": null,
787
+ "resultPath": "questions",
788
+ "risk": "read",
789
+ "aliases": []
790
+ },
791
+ {
792
+ "name": "list",
793
+ "domain": "survey",
794
+ "operationId": "survey.index",
795
+ "method": "GET",
796
+ "path": "/v2/surveys",
797
+ "summary": "",
798
+ "pathParams": [],
799
+ "queryParams": [
800
+ {
801
+ "name": "survey_type",
802
+ "type": "string",
803
+ "required": false,
804
+ "source": "spec"
805
+ },
806
+ {
807
+ "name": "status",
808
+ "type": "string",
809
+ "required": false,
810
+ "source": "spec"
811
+ },
812
+ {
813
+ "name": "link_category",
814
+ "type": "string",
815
+ "required": false,
816
+ "source": "spec"
817
+ },
818
+ {
819
+ "name": "cursor",
820
+ "type": "string",
821
+ "required": false,
822
+ "description": "次ページの取得に使うカーソル",
823
+ "source": "curation"
824
+ },
825
+ {
826
+ "name": "limit",
827
+ "type": "integer",
828
+ "required": false,
829
+ "description": "1ページあたりの件数",
830
+ "source": "curation"
831
+ }
832
+ ],
833
+ "body": null,
834
+ "resultPath": "items",
835
+ "risk": "read",
836
+ "aliases": []
837
+ },
838
+ {
839
+ "name": "list-invited-users",
840
+ "domain": "survey",
841
+ "operationId": "survey.listInvitedUsers",
842
+ "method": "GET",
843
+ "path": "/v2/surveys/{id}/invited-users",
844
+ "summary": "閲覧招待ユーザーの一覧を取得する。",
845
+ "pathParams": [
846
+ {
847
+ "name": "id",
848
+ "type": "string",
849
+ "required": true,
850
+ "source": "spec"
851
+ }
852
+ ],
853
+ "queryParams": [
854
+ {
855
+ "name": "limit",
856
+ "type": "integer",
857
+ "required": false,
858
+ "description": "1ページあたりの件数",
859
+ "source": "curation"
860
+ },
861
+ {
862
+ "name": "cursor",
863
+ "type": "string",
864
+ "required": false,
865
+ "description": "次ページの取得に使うカーソル",
866
+ "source": "curation"
867
+ }
868
+ ],
869
+ "body": null,
870
+ "resultPath": null,
871
+ "risk": "read",
872
+ "aliases": []
873
+ },
874
+ {
875
+ "name": "list-questions",
876
+ "domain": "survey",
877
+ "operationId": "survey.listQuestions",
878
+ "method": "GET",
879
+ "path": "/v2/surveys/{id}/questions",
880
+ "summary": "",
881
+ "pathParams": [
882
+ {
883
+ "name": "id",
884
+ "type": "string",
885
+ "required": true,
886
+ "source": "spec"
887
+ }
888
+ ],
889
+ "queryParams": [
890
+ {
891
+ "name": "limit",
892
+ "type": "integer",
893
+ "required": false,
894
+ "description": "1ページあたりの件数",
895
+ "source": "curation"
896
+ },
897
+ {
898
+ "name": "cursor",
899
+ "type": "string",
900
+ "required": false,
901
+ "description": "次ページの取得に使うカーソル",
902
+ "source": "curation"
903
+ }
904
+ ],
905
+ "body": null,
906
+ "resultPath": "items",
907
+ "risk": "read",
908
+ "aliases": []
909
+ },
910
+ {
911
+ "name": "list-responses",
912
+ "domain": "survey",
913
+ "operationId": "survey.listResponses",
914
+ "method": "GET",
915
+ "path": "/v2/surveys/{id}/responses",
916
+ "summary": "",
917
+ "pathParams": [
918
+ {
919
+ "name": "id",
920
+ "type": "string",
921
+ "required": true,
922
+ "source": "spec"
923
+ }
924
+ ],
925
+ "queryParams": [
926
+ {
927
+ "name": "sort_by",
928
+ "type": "string",
929
+ "required": false,
930
+ "source": "spec"
931
+ },
932
+ {
933
+ "name": "sort_order",
934
+ "type": "string",
935
+ "required": false,
936
+ "source": "spec"
937
+ },
938
+ {
939
+ "name": "limit",
940
+ "type": "integer",
941
+ "required": false,
942
+ "description": "1ページあたりの件数",
943
+ "source": "curation"
944
+ },
945
+ {
946
+ "name": "cursor",
947
+ "type": "string",
948
+ "required": false,
949
+ "description": "次ページの取得に使うカーソル",
950
+ "source": "curation"
951
+ }
952
+ ],
953
+ "body": null,
954
+ "resultPath": "items",
955
+ "risk": "read",
956
+ "aliases": []
957
+ },
958
+ {
959
+ "name": "list-targets",
960
+ "domain": "survey",
961
+ "operationId": "survey.listTargets",
962
+ "method": "GET",
963
+ "path": "/v2/surveys/{id}/targets",
964
+ "summary": "",
965
+ "pathParams": [
966
+ {
967
+ "name": "id",
968
+ "type": "string",
969
+ "required": true,
970
+ "source": "spec"
971
+ }
972
+ ],
973
+ "queryParams": [
974
+ {
975
+ "name": "limit",
976
+ "type": "integer",
977
+ "required": false,
978
+ "description": "1ページあたりの件数",
979
+ "source": "curation"
980
+ },
981
+ {
982
+ "name": "cursor",
983
+ "type": "string",
984
+ "required": false,
985
+ "description": "次ページの取得に使うカーソル",
986
+ "source": "curation"
987
+ }
988
+ ],
989
+ "body": null,
990
+ "resultPath": "items",
991
+ "risk": "read",
992
+ "aliases": []
993
+ },
994
+ {
995
+ "name": "my-notifiable-pending",
996
+ "domain": "survey",
997
+ "operationId": "survey.myNotifiablePending",
998
+ "method": "GET",
999
+ "path": "/v2/surveys/my/pending-tasks",
1000
+ "summary": "「やるべきタスク」「本日のやるべきタスク」に表示する未回答サーベイを取得する。",
1001
+ "pathParams": [],
1002
+ "queryParams": [
1003
+ {
1004
+ "name": "channel",
1005
+ "type": "string",
1006
+ "required": false,
1007
+ "source": "spec"
1008
+ },
1009
+ {
1010
+ "name": "scope",
1011
+ "type": "string",
1012
+ "required": false,
1013
+ "source": "spec"
1014
+ },
1015
+ {
1016
+ "name": "limit",
1017
+ "type": "integer",
1018
+ "required": false,
1019
+ "description": "1ページあたりの件数",
1020
+ "source": "curation"
1021
+ },
1022
+ {
1023
+ "name": "cursor",
1024
+ "type": "string",
1025
+ "required": false,
1026
+ "description": "次ページの取得に使うカーソル",
1027
+ "source": "curation"
1028
+ }
1029
+ ],
1030
+ "body": null,
1031
+ "resultPath": "items",
1032
+ "risk": "read",
1033
+ "aliases": []
1034
+ },
1035
+ {
1036
+ "name": "my-pending",
1037
+ "domain": "survey",
1038
+ "operationId": "survey.myPending",
1039
+ "method": "GET",
1040
+ "path": "/v2/surveys/my",
1041
+ "summary": "",
1042
+ "pathParams": [],
1043
+ "queryParams": [
1044
+ {
1045
+ "name": "survey_type",
1046
+ "type": "string",
1047
+ "required": false,
1048
+ "source": "spec"
1049
+ },
1050
+ {
1051
+ "name": "limit",
1052
+ "type": "integer",
1053
+ "required": false,
1054
+ "description": "1ページあたりの件数",
1055
+ "source": "curation"
1056
+ },
1057
+ {
1058
+ "name": "cursor",
1059
+ "type": "string",
1060
+ "required": false,
1061
+ "description": "次ページの取得に使うカーソル",
1062
+ "source": "curation"
1063
+ }
1064
+ ],
1065
+ "body": null,
1066
+ "resultPath": "items",
1067
+ "risk": "read",
1068
+ "aliases": []
1069
+ },
1070
+ {
1071
+ "name": "notification-audience-eligibility",
1072
+ "domain": "survey",
1073
+ "operationId": "survey.notificationAudienceEligibility",
1074
+ "method": "POST",
1075
+ "path": "/v2/surveys/notification-audience-eligibility",
1076
+ "summary": "指定ユーザー公開の未回答通知可否を、契約・所属情報を露出せず集約判定する。",
1077
+ "pathParams": [],
1078
+ "queryParams": [],
1079
+ "body": {
1080
+ "schema": {
1081
+ "type": "object",
1082
+ "properties": {
1083
+ "user_ids": {
1084
+ "type": "array",
1085
+ "items": {
1086
+ "type": "string"
1087
+ },
1088
+ "minItems": 1,
1089
+ "maxItems": 1000,
1090
+ "uniqueItems": true
1091
+ }
1092
+ },
1093
+ "required": [
1094
+ "user_ids"
1095
+ ]
1096
+ }
1097
+ },
1098
+ "resultPath": null,
1099
+ "risk": "write",
1100
+ "aliases": []
1101
+ },
1102
+ {
1103
+ "name": "publish",
1104
+ "domain": "survey",
1105
+ "operationId": "survey.publish",
1106
+ "method": "POST",
1107
+ "path": "/v2/surveys/{id}/publish",
1108
+ "summary": "",
1109
+ "pathParams": [
1110
+ {
1111
+ "name": "id",
1112
+ "type": "string",
1113
+ "required": true,
1114
+ "source": "spec"
1115
+ }
1116
+ ],
1117
+ "queryParams": [],
1118
+ "body": null,
1119
+ "resultPath": null,
1120
+ "risk": "write",
1121
+ "aliases": []
1122
+ },
1123
+ {
1124
+ "name": "register-customer",
1125
+ "domain": "survey",
1126
+ "operationId": "survey.registerCustomer",
1127
+ "method": "POST",
1128
+ "path": "/v2/surveys/{id}/responses/{responseId}/register-customer",
1129
+ "summary": "",
1130
+ "pathParams": [
1131
+ {
1132
+ "name": "id",
1133
+ "type": "string",
1134
+ "required": true,
1135
+ "source": "spec"
1136
+ },
1137
+ {
1138
+ "name": "responseId",
1139
+ "type": "string",
1140
+ "required": true,
1141
+ "source": "spec"
1142
+ }
1143
+ ],
1144
+ "queryParams": [],
1145
+ "body": {
1146
+ "schema": {
1147
+ "type": "object",
1148
+ "properties": {
1149
+ "company_id": {
1150
+ "type": "string"
1151
+ }
1152
+ }
1153
+ }
1154
+ },
1155
+ "resultPath": null,
1156
+ "risk": "write",
1157
+ "aliases": []
1158
+ },
1159
+ {
1160
+ "name": "reorder-questions",
1161
+ "domain": "survey",
1162
+ "operationId": "survey.reorderQuestions",
1163
+ "method": "PUT",
1164
+ "path": "/v2/surveys/{id}/questions/reorder",
1165
+ "summary": "",
1166
+ "pathParams": [
1167
+ {
1168
+ "name": "id",
1169
+ "type": "string",
1170
+ "required": true,
1171
+ "source": "spec"
1172
+ }
1173
+ ],
1174
+ "queryParams": [],
1175
+ "body": {
1176
+ "schema": {
1177
+ "type": "object",
1178
+ "properties": {
1179
+ "question_ids": {
1180
+ "type": "array",
1181
+ "items": {
1182
+ "type": "string"
1183
+ },
1184
+ "minItems": 1
1185
+ }
1186
+ },
1187
+ "required": [
1188
+ "question_ids"
1189
+ ]
1190
+ }
1191
+ },
1192
+ "resultPath": null,
1193
+ "risk": "write",
1194
+ "aliases": []
1195
+ },
1196
+ {
1197
+ "name": "revoke-public-token",
1198
+ "domain": "survey",
1199
+ "operationId": "survey.revokePublicToken",
1200
+ "method": "DELETE",
1201
+ "path": "/v2/surveys/{id}/public-token",
1202
+ "summary": "",
1203
+ "pathParams": [
1204
+ {
1205
+ "name": "id",
1206
+ "type": "string",
1207
+ "required": true,
1208
+ "source": "spec"
1209
+ }
1210
+ ],
1211
+ "queryParams": [],
1212
+ "body": null,
1213
+ "resultPath": null,
1214
+ "risk": "destructive",
1215
+ "aliases": []
1216
+ },
1217
+ {
1218
+ "name": "set-accepting-responses",
1219
+ "domain": "survey",
1220
+ "operationId": "survey.setAcceptingResponses",
1221
+ "method": "PATCH",
1222
+ "path": "/v2/surveys/{id}/accepting-responses",
1223
+ "summary": "",
1224
+ "pathParams": [
1225
+ {
1226
+ "name": "id",
1227
+ "type": "string",
1228
+ "required": true,
1229
+ "source": "spec"
1230
+ }
1231
+ ],
1232
+ "queryParams": [],
1233
+ "body": {
1234
+ "schema": {
1235
+ "type": "object",
1236
+ "properties": {
1237
+ "accepting": {
1238
+ "type": "boolean"
1239
+ }
1240
+ },
1241
+ "required": [
1242
+ "accepting"
1243
+ ]
1244
+ }
1245
+ },
1246
+ "resultPath": null,
1247
+ "risk": "write",
1248
+ "aliases": []
1249
+ },
1250
+ {
1251
+ "name": "submit-response",
1252
+ "domain": "survey",
1253
+ "operationId": "survey.submitResponse",
1254
+ "method": "POST",
1255
+ "path": "/v2/surveys/{id}/responses",
1256
+ "summary": "",
1257
+ "pathParams": [
1258
+ {
1259
+ "name": "id",
1260
+ "type": "string",
1261
+ "required": true,
1262
+ "source": "spec"
1263
+ }
1264
+ ],
1265
+ "queryParams": [],
1266
+ "body": {
1267
+ "schema": {
1268
+ "type": "object",
1269
+ "properties": {
1270
+ "answers": {
1271
+ "type": "array",
1272
+ "items": {
1273
+ "type": "object",
1274
+ "properties": {
1275
+ "question_id": {
1276
+ "type": "string"
1277
+ },
1278
+ "selected_option": {
1279
+ "type": [
1280
+ "string",
1281
+ "null"
1282
+ ]
1283
+ },
1284
+ "selected_options": {
1285
+ "type": [
1286
+ "array",
1287
+ "null"
1288
+ ],
1289
+ "items": {
1290
+ "type": "string"
1291
+ }
1292
+ },
1293
+ "text": {
1294
+ "type": [
1295
+ "string",
1296
+ "null"
1297
+ ],
1298
+ "maxLength": 5000
1299
+ },
1300
+ "rating": {
1301
+ "type": [
1302
+ "integer",
1303
+ "null"
1304
+ ],
1305
+ "minimum": 0,
1306
+ "maximum": 10
1307
+ },
1308
+ "value": {
1309
+ "type": [
1310
+ "string",
1311
+ "null"
1312
+ ]
1313
+ },
1314
+ "other_text": {
1315
+ "type": [
1316
+ "string",
1317
+ "null"
1318
+ ],
1319
+ "maxLength": 1000
1320
+ }
1321
+ },
1322
+ "required": [
1323
+ "question_id"
1324
+ ]
1325
+ },
1326
+ "minItems": 1
1327
+ }
1328
+ },
1329
+ "required": [
1330
+ "answers"
1331
+ ]
1332
+ }
1333
+ },
1334
+ "resultPath": null,
1335
+ "risk": "write",
1336
+ "aliases": []
1337
+ },
1338
+ {
1339
+ "name": "update",
1340
+ "domain": "survey",
1341
+ "operationId": "survey.update",
1342
+ "method": "PUT",
1343
+ "path": "/v2/surveys/{id}",
1344
+ "summary": "",
1345
+ "pathParams": [
1346
+ {
1347
+ "name": "id",
1348
+ "type": "string",
1349
+ "required": true,
1350
+ "source": "spec"
1351
+ }
1352
+ ],
1353
+ "queryParams": [],
1354
+ "body": {
1355
+ "schema": {
1356
+ "type": "object",
1357
+ "properties": {
1358
+ "title": {
1359
+ "type": "string",
1360
+ "maxLength": 255
1361
+ },
1362
+ "survey_type": {
1363
+ "type": [
1364
+ "string",
1365
+ "null"
1366
+ ],
1367
+ "enum": [
1368
+ "general",
1369
+ "anonymous",
1370
+ "feedback",
1371
+ "organization",
1372
+ null
1373
+ ]
1374
+ },
1375
+ "type": {
1376
+ "type": [
1377
+ "string",
1378
+ "null"
1379
+ ],
1380
+ "enum": [
1381
+ "general",
1382
+ "anonymous",
1383
+ "feedback",
1384
+ "organization",
1385
+ null
1386
+ ]
1387
+ },
1388
+ "target_selection_mode": {
1389
+ "type": [
1390
+ "string",
1391
+ "null"
1392
+ ],
1393
+ "enum": [
1394
+ "all_enrolled",
1395
+ "manual",
1396
+ null
1397
+ ]
1398
+ },
1399
+ "starts_at": {
1400
+ "type": [
1401
+ "string",
1402
+ "null"
1403
+ ]
1404
+ },
1405
+ "start_at": {
1406
+ "type": [
1407
+ "string",
1408
+ "null"
1409
+ ]
1410
+ },
1411
+ "ends_at": {
1412
+ "type": [
1413
+ "string",
1414
+ "null"
1415
+ ]
1416
+ },
1417
+ "end_at": {
1418
+ "type": [
1419
+ "string",
1420
+ "null"
1421
+ ]
1422
+ },
1423
+ "anonymous": {
1424
+ "type": [
1425
+ "boolean",
1426
+ "null"
1427
+ ]
1428
+ },
1429
+ "allow_multiple": {
1430
+ "type": [
1431
+ "boolean",
1432
+ "null"
1433
+ ]
1434
+ },
1435
+ "link_category": {
1436
+ "type": [
1437
+ "string",
1438
+ "null"
1439
+ ],
1440
+ "enum": [
1441
+ "none",
1442
+ "training_application",
1443
+ "training_followup",
1444
+ null
1445
+ ]
1446
+ },
1447
+ "visibility": {
1448
+ "type": [
1449
+ "string",
1450
+ "null"
1451
+ ],
1452
+ "enum": [
1453
+ "all",
1454
+ "employee",
1455
+ "specific",
1456
+ null
1457
+ ]
1458
+ },
1459
+ "visibility_user_ids": {
1460
+ "type": [
1461
+ "array",
1462
+ "null"
1463
+ ],
1464
+ "items": {
1465
+ "type": "string"
1466
+ }
1467
+ },
1468
+ "invited_user_ids": {
1469
+ "type": [
1470
+ "array",
1471
+ "null"
1472
+ ],
1473
+ "items": {
1474
+ "type": "string"
1475
+ }
1476
+ },
1477
+ "distribution_config": {
1478
+ "type": [
1479
+ "array",
1480
+ "null"
1481
+ ],
1482
+ "items": {
1483
+ "type": "string"
1484
+ }
1485
+ },
1486
+ "reminder_config": {
1487
+ "type": [
1488
+ "array",
1489
+ "null"
1490
+ ],
1491
+ "items": {
1492
+ "type": "string"
1493
+ }
1494
+ },
1495
+ "recurring_config": {
1496
+ "type": "object",
1497
+ "properties": {
1498
+ "enabled": {
1499
+ "type": "boolean"
1500
+ },
1501
+ "frequency": {
1502
+ "type": "string",
1503
+ "enum": [
1504
+ "monthly",
1505
+ "bimonthly",
1506
+ "quarterly"
1507
+ ]
1508
+ },
1509
+ "timing_type": {
1510
+ "type": "string",
1511
+ "enum": [
1512
+ "week_of_month",
1513
+ "first_business_day"
1514
+ ]
1515
+ },
1516
+ "start_month": {
1517
+ "type": [
1518
+ "integer",
1519
+ "null"
1520
+ ],
1521
+ "minimum": 1,
1522
+ "maximum": 12
1523
+ },
1524
+ "week_of_month": {
1525
+ "type": "integer",
1526
+ "minimum": 1,
1527
+ "maximum": 4
1528
+ },
1529
+ "day_of_week": {
1530
+ "type": "integer",
1531
+ "minimum": 0,
1532
+ "maximum": 6
1533
+ },
1534
+ "response_period_days": {
1535
+ "type": "integer",
1536
+ "minimum": 1,
1537
+ "maximum": 365
1538
+ },
1539
+ "response_period_unit": {
1540
+ "type": "string",
1541
+ "enum": [
1542
+ "calendar",
1543
+ "business"
1544
+ ]
1545
+ }
1546
+ }
1547
+ },
1548
+ "notification_config": {
1549
+ "type": "object",
1550
+ "properties": {
1551
+ "clock_in_popup": {
1552
+ "type": "boolean"
1553
+ },
1554
+ "task_list": {
1555
+ "type": "boolean"
1556
+ },
1557
+ "in_app": {
1558
+ "type": "boolean"
1559
+ },
1560
+ "email": {
1561
+ "type": "boolean"
1562
+ }
1563
+ },
1564
+ "required": [
1565
+ "clock_in_popup",
1566
+ "task_list",
1567
+ "in_app",
1568
+ "email"
1569
+ ]
1570
+ }
1571
+ }
1572
+ }
1573
+ },
1574
+ "resultPath": "warnings",
1575
+ "risk": "write",
1576
+ "aliases": []
1577
+ },
1578
+ {
1579
+ "name": "update-invited-users",
1580
+ "domain": "survey",
1581
+ "operationId": "survey.updateInvitedUsers",
1582
+ "method": "PUT",
1583
+ "path": "/v2/surveys/{id}/invited-users",
1584
+ "summary": "閲覧招待ユーザーを更新する(リスト全体を置き換える)。",
1585
+ "pathParams": [
1586
+ {
1587
+ "name": "id",
1588
+ "type": "string",
1589
+ "required": true,
1590
+ "source": "spec"
1591
+ }
1592
+ ],
1593
+ "queryParams": [],
1594
+ "body": {
1595
+ "schema": {
1596
+ "type": "object",
1597
+ "properties": {
1598
+ "invited_user_ids": {
1599
+ "type": "array",
1600
+ "items": {
1601
+ "type": "string"
1602
+ }
1603
+ }
1604
+ },
1605
+ "required": [
1606
+ "invited_user_ids"
1607
+ ]
1608
+ }
1609
+ },
1610
+ "resultPath": null,
1611
+ "risk": "write",
1612
+ "aliases": []
1613
+ },
1614
+ {
1615
+ "name": "update-notification-policy",
1616
+ "domain": "survey",
1617
+ "operationId": "survey.updateNotificationPolicy",
1618
+ "method": "PUT",
1619
+ "path": "/v2/surveys/notification-policy",
1620
+ "summary": "組織サーベイの未回答通知方針(テナント共通)を更新する。",
1621
+ "pathParams": [],
1622
+ "queryParams": [],
1623
+ "body": {
1624
+ "schema": {
1625
+ "type": "object",
1626
+ "properties": {
1627
+ "scope": {
1628
+ "type": "string",
1629
+ "enum": [
1630
+ "organization"
1631
+ ]
1632
+ }
1633
+ },
1634
+ "required": [
1635
+ "scope"
1636
+ ]
1637
+ }
1638
+ },
1639
+ "resultPath": null,
1640
+ "risk": "write",
1641
+ "aliases": []
1642
+ },
1643
+ {
1644
+ "name": "update-question",
1645
+ "domain": "survey",
1646
+ "operationId": "survey.updateQuestion",
1647
+ "method": "PUT",
1648
+ "path": "/v2/surveys/{id}/questions/{questionId}",
1649
+ "summary": "",
1650
+ "pathParams": [
1651
+ {
1652
+ "name": "id",
1653
+ "type": "string",
1654
+ "required": true,
1655
+ "source": "spec"
1656
+ },
1657
+ {
1658
+ "name": "questionId",
1659
+ "type": "string",
1660
+ "required": true,
1661
+ "source": "spec"
1662
+ }
1663
+ ],
1664
+ "queryParams": [],
1665
+ "body": {
1666
+ "schema": {
1667
+ "type": "object",
1668
+ "properties": {
1669
+ "question_text": {
1670
+ "type": "string",
1671
+ "maxLength": 1000
1672
+ },
1673
+ "question_type": {
1674
+ "type": "string",
1675
+ "enum": [
1676
+ "single_choice",
1677
+ "multi_choice",
1678
+ "free_text",
1679
+ "rating",
1680
+ "text",
1681
+ "textarea",
1682
+ "date",
1683
+ "single_select",
1684
+ "multi_select",
1685
+ "email",
1686
+ "number",
1687
+ "training_session_select"
1688
+ ]
1689
+ },
1690
+ "options": {
1691
+ "type": [
1692
+ "array",
1693
+ "null"
1694
+ ],
1695
+ "items": {
1696
+ "type": "string"
1697
+ }
1698
+ },
1699
+ "required": {
1700
+ "type": [
1701
+ "boolean",
1702
+ "null"
1703
+ ]
1704
+ },
1705
+ "sort_order": {
1706
+ "type": [
1707
+ "integer",
1708
+ "null"
1709
+ ],
1710
+ "minimum": 0
1711
+ },
1712
+ "rating_min": {
1713
+ "type": [
1714
+ "integer",
1715
+ "null"
1716
+ ],
1717
+ "minimum": 0,
1718
+ "maximum": 10
1719
+ },
1720
+ "rating_max": {
1721
+ "type": [
1722
+ "integer",
1723
+ "null"
1724
+ ],
1725
+ "minimum": 1,
1726
+ "maximum": 10
1727
+ },
1728
+ "rating_min_label": {
1729
+ "type": [
1730
+ "string",
1731
+ "null"
1732
+ ],
1733
+ "maxLength": 100
1734
+ },
1735
+ "rating_max_label": {
1736
+ "type": [
1737
+ "string",
1738
+ "null"
1739
+ ],
1740
+ "maxLength": 100
1741
+ },
1742
+ "extra": {
1743
+ "type": [
1744
+ "array",
1745
+ "null"
1746
+ ],
1747
+ "items": {
1748
+ "type": "string"
1749
+ }
1750
+ }
1751
+ }
1752
+ }
1753
+ },
1754
+ "resultPath": null,
1755
+ "risk": "write",
1756
+ "aliases": []
1757
+ }
1758
+ ]
1759
+ }