@tocca-systems/twp-cli 0.14.1 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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-KPZHOOY2.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/{chunk-EOFANBVM.js → chunk-FKIZ5ZJU.js} +2 -2
  307. package/dist/{chunk-6JGIC2IW.js → chunk-HCO3IYGJ.js} +1 -1
  308. package/dist/{run-6FWRZNZR.js → chunk-JD752WTS.js} +6 -7
  309. package/dist/{chunk-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-N3HIHYO7.js +4 -0
  316. package/dist/{setup-JXETAINT.js → setup-OULTAG6G.js} +1 -1
  317. package/dist/{task-DAW7IUDT.js → task-UK4QO26W.js} +2 -2
  318. package/package.json +2 -1
@@ -0,0 +1,1025 @@
1
+ {
2
+ "domain": "estimate",
3
+ "operations": [
4
+ {
5
+ "name": "create",
6
+ "domain": "estimate",
7
+ "operationId": "estimate.store",
8
+ "method": "POST",
9
+ "path": "/v2/sales/estimates",
10
+ "summary": "見積作成",
11
+ "pathParams": [],
12
+ "queryParams": [],
13
+ "body": {
14
+ "schema": {
15
+ "type": "object",
16
+ "properties": {
17
+ "estimate_format_id": {
18
+ "type": "integer"
19
+ },
20
+ "estimate_no_rule_id": {
21
+ "type": [
22
+ "integer",
23
+ "null"
24
+ ]
25
+ },
26
+ "title": {
27
+ "type": "string",
28
+ "maxLength": 500
29
+ },
30
+ "company_id": {
31
+ "type": [
32
+ "integer",
33
+ "null"
34
+ ]
35
+ },
36
+ "project_id": {
37
+ "type": [
38
+ "string",
39
+ "null"
40
+ ],
41
+ "maxLength": 36
42
+ },
43
+ "department_id": {
44
+ "type": "string",
45
+ "maxLength": 36
46
+ },
47
+ "estimate_user_id": {
48
+ "type": [
49
+ "string",
50
+ "null"
51
+ ],
52
+ "maxLength": 36
53
+ },
54
+ "kpi_user_id": {
55
+ "type": [
56
+ "string",
57
+ "null"
58
+ ],
59
+ "maxLength": 36
60
+ },
61
+ "business_place_id": {
62
+ "type": [
63
+ "integer",
64
+ "null"
65
+ ]
66
+ },
67
+ "has_work_report": {
68
+ "type": "boolean"
69
+ },
70
+ "seal_impression_id": {
71
+ "type": [
72
+ "integer",
73
+ "null"
74
+ ]
75
+ },
76
+ "reliability": {
77
+ "type": [
78
+ "string",
79
+ "null"
80
+ ],
81
+ "enum": [
82
+ "60",
83
+ "55",
84
+ "50",
85
+ "40",
86
+ "30",
87
+ "20",
88
+ "10",
89
+ "02",
90
+ "01",
91
+ null
92
+ ]
93
+ },
94
+ "estimate_type": {
95
+ "type": [
96
+ "string",
97
+ "null"
98
+ ],
99
+ "enum": [
100
+ "rough",
101
+ "formal",
102
+ null
103
+ ]
104
+ },
105
+ "project_category": {
106
+ "type": [
107
+ "string",
108
+ "null"
109
+ ],
110
+ "enum": [
111
+ "contracted",
112
+ "maintenance",
113
+ "ai_support",
114
+ "license",
115
+ "ses_other",
116
+ "ses_own",
117
+ null
118
+ ]
119
+ },
120
+ "evaluation_multiplier_category": {
121
+ "type": [
122
+ "string",
123
+ "null"
124
+ ],
125
+ "enum": [
126
+ "self_sourced_new",
127
+ "company_lead_new",
128
+ "directed_new",
129
+ "self_sourced_new_handoff",
130
+ "company_lead_new_handoff",
131
+ "directed_new_handoff",
132
+ "repeat",
133
+ "tossup_received",
134
+ null
135
+ ]
136
+ },
137
+ "status": {
138
+ "type": [
139
+ "string",
140
+ "null"
141
+ ],
142
+ "enum": [
143
+ "new",
144
+ "create_completed",
145
+ "in_progress",
146
+ "approved",
147
+ "rejected",
148
+ "submitted",
149
+ "deleted",
150
+ null
151
+ ]
152
+ },
153
+ "estimate_date": {
154
+ "type": "string",
155
+ "format": "date-time"
156
+ },
157
+ "estimate_expiration_date": {
158
+ "type": [
159
+ "string",
160
+ "null"
161
+ ],
162
+ "format": "date-time"
163
+ },
164
+ "order_acceptance_issue_date": {
165
+ "type": [
166
+ "string",
167
+ "null"
168
+ ],
169
+ "format": "date-time"
170
+ },
171
+ "order_issue_date": {
172
+ "type": [
173
+ "string",
174
+ "null"
175
+ ],
176
+ "format": "date-time"
177
+ },
178
+ "order_no": {
179
+ "type": [
180
+ "string",
181
+ "null"
182
+ ],
183
+ "maxLength": 100
184
+ },
185
+ "order_no_blank": {
186
+ "type": "boolean"
187
+ },
188
+ "billing_acceptance_category": {
189
+ "type": [
190
+ "string",
191
+ "null"
192
+ ],
193
+ "enum": [
194
+ "bulk",
195
+ "per_detail",
196
+ "monthly",
197
+ null
198
+ ]
199
+ },
200
+ "billing_date": {
201
+ "type": "string",
202
+ "format": "date-time"
203
+ },
204
+ "delivery_date": {
205
+ "type": [
206
+ "string",
207
+ "null"
208
+ ],
209
+ "format": "date-time"
210
+ },
211
+ "monthly_period_start": {
212
+ "type": [
213
+ "string",
214
+ "null"
215
+ ],
216
+ "pattern": "^\\d{4}-\\d{2}$"
217
+ },
218
+ "monthly_period_end": {
219
+ "type": [
220
+ "string",
221
+ "null"
222
+ ],
223
+ "pattern": "^\\d{4}-\\d{2}$"
224
+ },
225
+ "terms": {
226
+ "type": [
227
+ "string",
228
+ "null"
229
+ ]
230
+ },
231
+ "order_acceptance_terms": {
232
+ "type": [
233
+ "string",
234
+ "null"
235
+ ]
236
+ },
237
+ "memo": {
238
+ "type": [
239
+ "string",
240
+ "null"
241
+ ]
242
+ },
243
+ "internal_memo": {
244
+ "type": [
245
+ "string",
246
+ "null"
247
+ ],
248
+ "maxLength": 5000
249
+ },
250
+ "manage_form_data": {
251
+ "type": [
252
+ "array",
253
+ "null"
254
+ ],
255
+ "items": {
256
+ "type": "string"
257
+ }
258
+ },
259
+ "details": {
260
+ "type": "array",
261
+ "items": {
262
+ "type": "object",
263
+ "properties": {
264
+ "item_name": {
265
+ "type": "string",
266
+ "maxLength": 500
267
+ },
268
+ "quantity": {
269
+ "type": "number",
270
+ "minimum": 0
271
+ },
272
+ "unit": {
273
+ "type": "string",
274
+ "enum": [
275
+ "set",
276
+ "item",
277
+ "unit",
278
+ "hour",
279
+ "day",
280
+ "month",
281
+ "person",
282
+ "person_month",
283
+ "person_day"
284
+ ]
285
+ },
286
+ "unit_price": {
287
+ "type": "integer"
288
+ },
289
+ "tax_rate": {
290
+ "type": "string",
291
+ "enum": [
292
+ "10",
293
+ "8",
294
+ "0"
295
+ ]
296
+ },
297
+ "acceptance_date": {
298
+ "type": [
299
+ "string",
300
+ "null"
301
+ ],
302
+ "format": "date-time"
303
+ }
304
+ },
305
+ "required": [
306
+ "item_name",
307
+ "quantity",
308
+ "unit",
309
+ "unit_price",
310
+ "tax_rate"
311
+ ]
312
+ },
313
+ "minItems": 1
314
+ },
315
+ "recipients": {
316
+ "type": "array",
317
+ "items": {
318
+ "type": "object",
319
+ "properties": {
320
+ "customer_contact_id": {
321
+ "type": "string",
322
+ "maxLength": 64
323
+ },
324
+ "recipient_type": {
325
+ "type": [
326
+ "string",
327
+ "null"
328
+ ],
329
+ "enum": [
330
+ "to",
331
+ "cc",
332
+ null
333
+ ]
334
+ }
335
+ },
336
+ "required": [
337
+ "customer_contact_id"
338
+ ]
339
+ },
340
+ "maxItems": 50
341
+ }
342
+ },
343
+ "required": [
344
+ "estimate_format_id",
345
+ "title",
346
+ "department_id",
347
+ "estimate_date",
348
+ "billing_date",
349
+ "details"
350
+ ],
351
+ "title": "EstimateStoreRequest"
352
+ }
353
+ },
354
+ "resultPath": null,
355
+ "risk": "write",
356
+ "aliases": []
357
+ },
358
+ {
359
+ "name": "delete",
360
+ "domain": "estimate",
361
+ "operationId": "estimate.destroy",
362
+ "method": "DELETE",
363
+ "path": "/v2/sales/estimates/{id}",
364
+ "summary": "見積削除",
365
+ "pathParams": [
366
+ {
367
+ "name": "id",
368
+ "type": "string",
369
+ "required": true,
370
+ "source": "spec"
371
+ }
372
+ ],
373
+ "queryParams": [],
374
+ "body": null,
375
+ "resultPath": null,
376
+ "risk": "destructive",
377
+ "aliases": []
378
+ },
379
+ {
380
+ "name": "delete-allocations",
381
+ "domain": "estimate",
382
+ "operationId": "estimate.deleteAllocations",
383
+ "method": "DELETE",
384
+ "path": "/v2/sales/estimates/{id}/allocations",
385
+ "summary": "見積の部署按分を削除",
386
+ "pathParams": [
387
+ {
388
+ "name": "id",
389
+ "type": "string",
390
+ "required": true,
391
+ "source": "spec"
392
+ }
393
+ ],
394
+ "queryParams": [],
395
+ "body": null,
396
+ "resultPath": null,
397
+ "risk": "destructive",
398
+ "aliases": []
399
+ },
400
+ {
401
+ "name": "deposits",
402
+ "domain": "estimate",
403
+ "operationId": "estimate.deposits",
404
+ "method": "GET",
405
+ "path": "/v2/sales/estimates/{id}/deposits",
406
+ "summary": "見積関連入金一覧",
407
+ "pathParams": [
408
+ {
409
+ "name": "id",
410
+ "type": "string",
411
+ "required": true,
412
+ "source": "spec"
413
+ }
414
+ ],
415
+ "queryParams": [
416
+ {
417
+ "name": "limit",
418
+ "type": "integer",
419
+ "required": false,
420
+ "description": "1ページあたりの件数",
421
+ "source": "curation"
422
+ },
423
+ {
424
+ "name": "cursor",
425
+ "type": "string",
426
+ "required": false,
427
+ "description": "次ページの取得に使うカーソル",
428
+ "source": "curation"
429
+ }
430
+ ],
431
+ "body": null,
432
+ "resultPath": null,
433
+ "risk": "read",
434
+ "aliases": []
435
+ },
436
+ {
437
+ "name": "get",
438
+ "domain": "estimate",
439
+ "operationId": "estimate.show",
440
+ "method": "GET",
441
+ "path": "/v2/sales/estimates/{id}",
442
+ "summary": "見積詳細取得",
443
+ "pathParams": [
444
+ {
445
+ "name": "id",
446
+ "type": "string",
447
+ "required": true,
448
+ "source": "spec"
449
+ }
450
+ ],
451
+ "queryParams": [
452
+ {
453
+ "name": "limit",
454
+ "type": "integer",
455
+ "required": false,
456
+ "description": "1ページあたりの件数",
457
+ "source": "curation"
458
+ },
459
+ {
460
+ "name": "cursor",
461
+ "type": "string",
462
+ "required": false,
463
+ "description": "次ページの取得に使うカーソル",
464
+ "source": "curation"
465
+ }
466
+ ],
467
+ "body": null,
468
+ "resultPath": null,
469
+ "risk": "read",
470
+ "aliases": []
471
+ },
472
+ {
473
+ "name": "link-invoice",
474
+ "domain": "estimate",
475
+ "operationId": "estimate.linkInvoice",
476
+ "method": "POST",
477
+ "path": "/v2/sales/estimates/{id}/link-invoice",
478
+ "summary": "請求書を見積に紐づけ",
479
+ "pathParams": [
480
+ {
481
+ "name": "id",
482
+ "type": "string",
483
+ "required": true,
484
+ "source": "spec"
485
+ }
486
+ ],
487
+ "queryParams": [],
488
+ "body": {
489
+ "schema": {
490
+ "type": "object",
491
+ "properties": {
492
+ "invoice_no": {
493
+ "type": "string",
494
+ "maxLength": 255
495
+ }
496
+ },
497
+ "required": [
498
+ "invoice_no"
499
+ ]
500
+ }
501
+ },
502
+ "resultPath": null,
503
+ "risk": "write",
504
+ "aliases": []
505
+ },
506
+ {
507
+ "name": "list",
508
+ "domain": "estimate",
509
+ "operationId": "estimate.index",
510
+ "method": "GET",
511
+ "path": "/v2/sales/estimates",
512
+ "summary": "見積一覧取得",
513
+ "pathParams": [],
514
+ "queryParams": [
515
+ {
516
+ "name": "sort_column",
517
+ "type": "string",
518
+ "required": false,
519
+ "source": "spec"
520
+ },
521
+ {
522
+ "name": "sort_direction",
523
+ "type": "string",
524
+ "required": false,
525
+ "source": "spec"
526
+ },
527
+ {
528
+ "name": "limit",
529
+ "type": "integer",
530
+ "required": false,
531
+ "description": "1ページあたりの件数",
532
+ "source": "curation"
533
+ },
534
+ {
535
+ "name": "cursor",
536
+ "type": "string",
537
+ "required": false,
538
+ "description": "次ページの取得に使うカーソル",
539
+ "source": "curation"
540
+ }
541
+ ],
542
+ "body": null,
543
+ "resultPath": null,
544
+ "risk": "read",
545
+ "aliases": []
546
+ },
547
+ {
548
+ "name": "list-allocations",
549
+ "domain": "estimate",
550
+ "operationId": "estimate.listAllocations",
551
+ "method": "GET",
552
+ "path": "/v2/sales/estimates/{id}/allocations",
553
+ "summary": "見積の部署按分一覧取得",
554
+ "pathParams": [
555
+ {
556
+ "name": "id",
557
+ "type": "string",
558
+ "required": true,
559
+ "source": "spec"
560
+ }
561
+ ],
562
+ "queryParams": [
563
+ {
564
+ "name": "limit",
565
+ "type": "integer",
566
+ "required": false,
567
+ "description": "1ページあたりの件数",
568
+ "source": "curation"
569
+ },
570
+ {
571
+ "name": "cursor",
572
+ "type": "string",
573
+ "required": false,
574
+ "description": "次ページの取得に使うカーソル",
575
+ "source": "curation"
576
+ }
577
+ ],
578
+ "body": null,
579
+ "resultPath": null,
580
+ "risk": "read",
581
+ "aliases": []
582
+ },
583
+ {
584
+ "name": "update",
585
+ "domain": "estimate",
586
+ "operationId": "estimate.update",
587
+ "method": "PUT",
588
+ "path": "/v2/sales/estimates/{id}",
589
+ "summary": "見積更新",
590
+ "pathParams": [
591
+ {
592
+ "name": "id",
593
+ "type": "string",
594
+ "required": true,
595
+ "source": "spec"
596
+ }
597
+ ],
598
+ "queryParams": [],
599
+ "body": {
600
+ "schema": {
601
+ "type": "object",
602
+ "properties": {
603
+ "estimate_format_id": {
604
+ "type": "integer"
605
+ },
606
+ "title": {
607
+ "type": "string",
608
+ "maxLength": 500
609
+ },
610
+ "company_id": {
611
+ "type": [
612
+ "integer",
613
+ "null"
614
+ ]
615
+ },
616
+ "project_id": {
617
+ "type": [
618
+ "string",
619
+ "null"
620
+ ],
621
+ "maxLength": 36
622
+ },
623
+ "department_id": {
624
+ "type": "string",
625
+ "maxLength": 36
626
+ },
627
+ "estimate_user_id": {
628
+ "type": [
629
+ "string",
630
+ "null"
631
+ ],
632
+ "maxLength": 36
633
+ },
634
+ "kpi_user_id": {
635
+ "type": [
636
+ "string",
637
+ "null"
638
+ ],
639
+ "maxLength": 36
640
+ },
641
+ "business_place_id": {
642
+ "type": [
643
+ "integer",
644
+ "null"
645
+ ]
646
+ },
647
+ "has_work_report": {
648
+ "type": "boolean"
649
+ },
650
+ "seal_impression_id": {
651
+ "type": [
652
+ "integer",
653
+ "null"
654
+ ]
655
+ },
656
+ "reliability": {
657
+ "type": [
658
+ "string",
659
+ "null"
660
+ ],
661
+ "enum": [
662
+ "60",
663
+ "55",
664
+ "50",
665
+ "40",
666
+ "30",
667
+ "20",
668
+ "10",
669
+ "02",
670
+ "01",
671
+ null
672
+ ]
673
+ },
674
+ "estimate_type": {
675
+ "type": [
676
+ "string",
677
+ "null"
678
+ ],
679
+ "enum": [
680
+ "rough",
681
+ "formal",
682
+ null
683
+ ]
684
+ },
685
+ "project_category": {
686
+ "type": [
687
+ "string",
688
+ "null"
689
+ ],
690
+ "enum": [
691
+ "contracted",
692
+ "maintenance",
693
+ "ai_support",
694
+ "license",
695
+ "ses_other",
696
+ "ses_own",
697
+ null
698
+ ]
699
+ },
700
+ "evaluation_multiplier_category": {
701
+ "type": [
702
+ "string",
703
+ "null"
704
+ ],
705
+ "enum": [
706
+ "self_sourced_new",
707
+ "company_lead_new",
708
+ "directed_new",
709
+ "self_sourced_new_handoff",
710
+ "company_lead_new_handoff",
711
+ "directed_new_handoff",
712
+ "repeat",
713
+ "tossup_received",
714
+ null
715
+ ]
716
+ },
717
+ "status": {
718
+ "type": [
719
+ "string",
720
+ "null"
721
+ ],
722
+ "enum": [
723
+ "new",
724
+ "create_completed",
725
+ "in_progress",
726
+ "approved",
727
+ "rejected",
728
+ "submitted",
729
+ "deleted",
730
+ null
731
+ ]
732
+ },
733
+ "estimate_date": {
734
+ "type": "string",
735
+ "format": "date-time"
736
+ },
737
+ "estimate_expiration_date": {
738
+ "type": [
739
+ "string",
740
+ "null"
741
+ ],
742
+ "format": "date-time"
743
+ },
744
+ "order_acceptance_issue_date": {
745
+ "type": [
746
+ "string",
747
+ "null"
748
+ ],
749
+ "format": "date-time"
750
+ },
751
+ "order_issue_date": {
752
+ "type": [
753
+ "string",
754
+ "null"
755
+ ],
756
+ "format": "date-time"
757
+ },
758
+ "order_no": {
759
+ "type": [
760
+ "string",
761
+ "null"
762
+ ],
763
+ "maxLength": 100
764
+ },
765
+ "order_no_blank": {
766
+ "type": "boolean"
767
+ },
768
+ "billing_acceptance_category": {
769
+ "type": [
770
+ "string",
771
+ "null"
772
+ ],
773
+ "enum": [
774
+ "bulk",
775
+ "per_detail",
776
+ "monthly",
777
+ null
778
+ ]
779
+ },
780
+ "billing_date": {
781
+ "type": "string",
782
+ "format": "date-time"
783
+ },
784
+ "delivery_date": {
785
+ "type": [
786
+ "string",
787
+ "null"
788
+ ],
789
+ "format": "date-time"
790
+ },
791
+ "monthly_period_start": {
792
+ "type": [
793
+ "string",
794
+ "null"
795
+ ],
796
+ "pattern": "^\\d{4}-\\d{2}$"
797
+ },
798
+ "monthly_period_end": {
799
+ "type": [
800
+ "string",
801
+ "null"
802
+ ],
803
+ "pattern": "^\\d{4}-\\d{2}$"
804
+ },
805
+ "terms": {
806
+ "type": [
807
+ "string",
808
+ "null"
809
+ ]
810
+ },
811
+ "order_acceptance_terms": {
812
+ "type": [
813
+ "string",
814
+ "null"
815
+ ]
816
+ },
817
+ "memo": {
818
+ "type": [
819
+ "string",
820
+ "null"
821
+ ]
822
+ },
823
+ "internal_memo": {
824
+ "type": [
825
+ "string",
826
+ "null"
827
+ ],
828
+ "maxLength": 5000
829
+ },
830
+ "approval_comment": {
831
+ "type": [
832
+ "string",
833
+ "null"
834
+ ],
835
+ "maxLength": 1000
836
+ },
837
+ "manage_form_data": {
838
+ "type": [
839
+ "array",
840
+ "null"
841
+ ],
842
+ "items": {
843
+ "type": "string"
844
+ }
845
+ },
846
+ "details": {
847
+ "type": "array",
848
+ "items": {
849
+ "type": "object",
850
+ "properties": {
851
+ "item_name": {
852
+ "type": "string",
853
+ "maxLength": 500
854
+ },
855
+ "quantity": {
856
+ "type": "number",
857
+ "minimum": 0
858
+ },
859
+ "unit": {
860
+ "type": "string",
861
+ "enum": [
862
+ "set",
863
+ "item",
864
+ "unit",
865
+ "hour",
866
+ "day",
867
+ "month",
868
+ "person",
869
+ "person_month",
870
+ "person_day"
871
+ ]
872
+ },
873
+ "unit_price": {
874
+ "type": "integer"
875
+ },
876
+ "tax_rate": {
877
+ "type": "string",
878
+ "enum": [
879
+ "10",
880
+ "8",
881
+ "0"
882
+ ]
883
+ },
884
+ "acceptance_date": {
885
+ "type": [
886
+ "string",
887
+ "null"
888
+ ],
889
+ "format": "date-time"
890
+ }
891
+ }
892
+ },
893
+ "minItems": 1
894
+ },
895
+ "recipients": {
896
+ "type": "array",
897
+ "items": {
898
+ "type": "object",
899
+ "properties": {
900
+ "customer_contact_id": {
901
+ "type": "string",
902
+ "maxLength": 64
903
+ },
904
+ "recipient_type": {
905
+ "type": [
906
+ "string",
907
+ "null"
908
+ ],
909
+ "enum": [
910
+ "to",
911
+ "cc",
912
+ null
913
+ ]
914
+ }
915
+ },
916
+ "required": [
917
+ "customer_contact_id"
918
+ ]
919
+ },
920
+ "maxItems": 50
921
+ }
922
+ },
923
+ "title": "EstimateUpdateRequest"
924
+ }
925
+ },
926
+ "resultPath": null,
927
+ "risk": "write",
928
+ "aliases": []
929
+ },
930
+ {
931
+ "name": "update-internal-memo",
932
+ "domain": "estimate",
933
+ "operationId": "estimate.updateInternalMemo",
934
+ "method": "PATCH",
935
+ "path": "/v2/sales/estimates/{id}/internal-memo",
936
+ "summary": "見積の社内共有メモを更新する",
937
+ "pathParams": [
938
+ {
939
+ "name": "id",
940
+ "type": "string",
941
+ "required": true,
942
+ "source": "spec"
943
+ }
944
+ ],
945
+ "queryParams": [],
946
+ "body": {
947
+ "schema": {
948
+ "type": "object",
949
+ "properties": {
950
+ "internal_memo": {
951
+ "type": [
952
+ "string",
953
+ "null"
954
+ ],
955
+ "maxLength": 5000
956
+ }
957
+ },
958
+ "required": [
959
+ "internal_memo"
960
+ ]
961
+ }
962
+ },
963
+ "resultPath": null,
964
+ "risk": "write",
965
+ "aliases": []
966
+ },
967
+ {
968
+ "name": "upsert-allocations",
969
+ "domain": "estimate",
970
+ "operationId": "estimate.upsertAllocations",
971
+ "method": "POST",
972
+ "path": "/v2/sales/estimates/{id}/allocations",
973
+ "summary": "見積の部署按分を一括更新(全件置換)",
974
+ "pathParams": [
975
+ {
976
+ "name": "id",
977
+ "type": "string",
978
+ "required": true,
979
+ "source": "spec"
980
+ }
981
+ ],
982
+ "queryParams": [],
983
+ "body": {
984
+ "schema": {
985
+ "type": "object",
986
+ "properties": {
987
+ "allocations": {
988
+ "type": "array",
989
+ "items": {
990
+ "type": "object",
991
+ "properties": {
992
+ "department_id": {
993
+ "type": "string",
994
+ "maxLength": 36
995
+ },
996
+ "amount": {
997
+ "type": "integer",
998
+ "minimum": 0
999
+ },
1000
+ "percentage": {
1001
+ "type": "number",
1002
+ "minimum": 0,
1003
+ "maximum": 100
1004
+ }
1005
+ },
1006
+ "required": [
1007
+ "department_id",
1008
+ "amount",
1009
+ "percentage"
1010
+ ]
1011
+ },
1012
+ "minItems": 1
1013
+ }
1014
+ },
1015
+ "required": [
1016
+ "allocations"
1017
+ ]
1018
+ }
1019
+ },
1020
+ "resultPath": null,
1021
+ "risk": "write",
1022
+ "aliases": []
1023
+ }
1024
+ ]
1025
+ }