@tocca-systems/twp-cli 0.52.0 → 0.53.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (323) hide show
  1. package/CHANGELOG.public.md +10 -0
  2. package/README.md +18 -1
  3. package/command-model/account-lock.json +3 -103
  4. package/command-model/address.json +1 -35
  5. package/command-model/agent-loop.json +31 -1116
  6. package/command-model/agent.json +18 -833
  7. package/command-model/ai-chat-history.json +7 -234
  8. package/command-model/ai-rag.json +2 -113
  9. package/command-model/ai-task-copilot.json +6 -230
  10. package/command-model/ai-token-usage.json +9 -416
  11. package/command-model/analysis-page-access-rule.json +6 -245
  12. package/command-model/analysis.json +2 -148
  13. package/command-model/announcement.json +7 -203
  14. package/command-model/api-key.json +7 -250
  15. package/command-model/api-usage.json +3 -118
  16. package/command-model/attendance-report-category.json +6 -258
  17. package/command-model/attendance-report-reason-detail.json +6 -286
  18. package/command-model/attendance-report-reason.json +6 -274
  19. package/command-model/attendance-report.json +7 -379
  20. package/command-model/attendance-timesheet.json +3 -87
  21. package/command-model/attendance.json +1 -29
  22. package/command-model/audit-log.json +3 -141
  23. package/command-model/auth.json +10 -263
  24. package/command-model/authorize.json +2 -55
  25. package/command-model/auto-charge.json +4 -144
  26. package/command-model/badge.json +4 -111
  27. package/command-model/billing.json +8 -292
  28. package/command-model/budget.json +12 -500
  29. package/command-model/business-card.json +1 -42
  30. package/command-model/business-place.json +5 -318
  31. package/command-model/capacity.json +5 -166
  32. package/command-model/catalog.json +7 -229
  33. package/command-model/chat-channel.json +17 -561
  34. package/command-model/chat-mention-group.json +4 -130
  35. package/command-model/chat-message.json +7 -291
  36. package/command-model/chat-tenant-connection.json +7 -168
  37. package/command-model/cli-auth.json +6 -207
  38. package/command-model/cms-tag.json +8 -318
  39. package/command-model/commuting-expense.json +12 -417
  40. package/command-model/company-case-document.json +1 -36
  41. package/command-model/company-contract-document.json +9 -345
  42. package/command-model/company.json +5 -595
  43. package/command-model/config.json +2 -58
  44. package/command-model/contract.json +5 -541
  45. package/command-model/credit.json +20 -624
  46. package/command-model/cross-project-report.json +1 -35
  47. package/command-model/customer-campaign.json +5 -176
  48. package/command-model/customer-contact.json +8 -533
  49. package/command-model/customer-interaction.json +10 -709
  50. package/command-model/customer-people.json +3 -124
  51. package/command-model/customer.json +3 -124
  52. package/command-model/cycle-time-analysis.json +1 -54
  53. package/command-model/dashboard-calendar.json +1 -35
  54. package/command-model/department.json +8 -379
  55. package/command-model/deposit-plan.json +2 -64
  56. package/command-model/deposit.json +10 -493
  57. package/command-model/desktop-release.json +2 -58
  58. package/command-model/domain-knowledge-doc.json +6 -282
  59. package/command-model/domain-knowledge.json +5 -241
  60. package/command-model/dynamo-attachment.json +7 -248
  61. package/command-model/dynamo-cms.json +25 -1317
  62. package/command-model/dynamo-inquiry.json +11 -453
  63. package/command-model/dynamo-support.json +9 -292
  64. package/command-model/email-change.json +2 -54
  65. package/command-model/equipment-category.json +4 -124
  66. package/command-model/equipment.json +12 -614
  67. package/command-model/estimate-case-document.json +9 -344
  68. package/command-model/estimate-format.json +5 -460
  69. package/command-model/estimate-no-rule.json +5 -231
  70. package/command-model/estimate.json +11 -1020
  71. package/command-model/evaluation-pdf.json +2 -63
  72. package/command-model/evaluation-period.json +8 -471
  73. package/command-model/evaluation.json +18 -781
  74. package/command-model/expense-settings.json +2 -55
  75. package/command-model/external-integration-proxy.json +30 -1256
  76. package/command-model/faq-notion-import.json +7 -241
  77. package/command-model/faq.json +7 -405
  78. package/command-model/favorite.json +5 -174
  79. package/command-model/feedback.json +14 -539
  80. package/command-model/fiscal-year-setting.json +5 -162
  81. package/command-model/floor-map.json +5 -170
  82. package/command-model/follow-up-message-template.json +6 -192
  83. package/command-model/git-hub-pr-status.json +1 -36
  84. package/command-model/goal-sheet.json +12 -345
  85. package/command-model/google-auth.json +2 -95
  86. package/command-model/hearing-auth.json +11 -324
  87. package/command-model/hearing-invitation.json +5 -247
  88. package/command-model/hearing-session.json +5 -189
  89. package/command-model/hearing.json +22 -924
  90. package/command-model/holiday.json +10 -357
  91. package/command-model/hr-checklist-template.json +5 -256
  92. package/command-model/hr-checklist.json +6 -180
  93. package/command-model/hr-qualification.json +2 -103
  94. package/command-model/html-editor.json +2 -50
  95. package/command-model/index.json +298 -1490
  96. package/command-model/inquiry-response-generator.json +1 -38
  97. package/command-model/inquiry-routing.json +12 -359
  98. package/command-model/invoice-auto-template.json +7 -240
  99. package/command-model/invoice-no-rule.json +5 -231
  100. package/command-model/invoice.json +13 -914
  101. package/command-model/job-title.json +9 -416
  102. package/command-model/knowledge-qa.json +2 -57
  103. package/command-model/knowledge-recommendation-feedback.json +2 -97
  104. package/command-model/knowledge-recommendation.json +1 -51
  105. package/command-model/legacy-migration.json +2 -71
  106. package/command-model/license-assignment.json +7 -291
  107. package/command-model/license-type.json +7 -283
  108. package/command-model/license.json +15 -520
  109. package/command-model/login-history.json +2 -94
  110. package/command-model/man-hour.json +2 -102
  111. package/command-model/master-announcement.json +8 -515
  112. package/command-model/master-billing.json +3 -112
  113. package/command-model/master-pricing.json +7 -241
  114. package/command-model/master-product.json +12 -518
  115. package/command-model/master-support-ai.json +1 -34
  116. package/command-model/master-support.json +10 -445
  117. package/command-model/master-tenant.json +22 -1904
  118. package/command-model/media-file-comment.json +4 -137
  119. package/command-model/media-file-hls.json +2 -42
  120. package/command-model/media-file-version.json +5 -183
  121. package/command-model/media-file.json +44 -1707
  122. package/command-model/media-folder.json +11 -393
  123. package/command-model/meeting-category.json +5 -190
  124. package/command-model/meeting-minutes.json +1 -63
  125. package/command-model/meeting-pdf.json +1 -36
  126. package/command-model/meeting-template.json +5 -222
  127. package/command-model/meeting.json +13 -1045
  128. package/command-model/member.json +2 -127
  129. package/command-model/microsoft-auth.json +2 -92
  130. package/command-model/milli-credit.json +8 -268
  131. package/command-model/ms365-calendar-o-auth.json +4 -110
  132. package/command-model/music-generation.json +6 -227
  133. package/command-model/my-task.json +5 -163
  134. package/command-model/my-training.json +4 -153
  135. package/command-model/news-perspective.json +7 -210
  136. package/command-model/note-category.json +4 -144
  137. package/command-model/note-comment.json +5 -220
  138. package/command-model/note-favorite.json +2 -42
  139. package/command-model/note-reaction.json +2 -57
  140. package/command-model/note-subscription.json +4 -105
  141. package/command-model/note.json +10 -599
  142. package/command-model/notification-recipient-rule.json +5 -226
  143. package/command-model/notification.json +10 -366
  144. package/command-model/notion-import.json +6 -260
  145. package/command-model/o-auth-client.json +6 -329
  146. package/command-model/onboarding-template.json +17 -701
  147. package/command-model/operating-hours.json +1 -95
  148. package/command-model/order-form-scan.json +1 -28
  149. package/command-model/org-chart.json +1 -35
  150. package/command-model/organization-announcement-category.json +4 -130
  151. package/command-model/organization-announcement.json +10 -600
  152. package/command-model/password-reset.json +3 -95
  153. package/command-model/payee.json +5 -218
  154. package/command-model/pc-situation.json +1 -124
  155. package/command-model/phone-change.json +2 -60
  156. package/command-model/policy-employee.json +3 -94
  157. package/command-model/policy.json +12 -501
  158. package/command-model/position.json +6 -300
  159. package/command-model/private-agent-loop.json +29 -845
  160. package/command-model/private-task.json +7 -446
  161. package/command-model/process.json +6 -232
  162. package/command-model/profit-analysis.json +3 -178
  163. package/command-model/profit-summary.json +1 -65
  164. package/command-model/project-assignment.json +1 -50
  165. package/command-model/project-cost.json +5 -250
  166. package/command-model/project-custom-field.json +6 -374
  167. package/command-model/project-digest.json +3 -111
  168. package/command-model/project-evaluation.json +8 -308
  169. package/command-model/project-health.json +3 -153
  170. package/command-model/project-member.json +9 -464
  171. package/command-model/project-process.json +7 -305
  172. package/command-model/project-profit-analysis.json +1 -54
  173. package/command-model/project-quality-check-corrective-task.json +3 -121
  174. package/command-model/project-quality-check-record.json +3 -126
  175. package/command-model/project-quality-check-scope.json +2 -82
  176. package/command-model/project-quality-check-status.json +2 -58
  177. package/command-model/project-repository.json +5 -175
  178. package/command-model/project-revenue.json +6 -287
  179. package/command-model/project-task-analytics.json +1 -36
  180. package/command-model/project-task-category.json +5 -198
  181. package/command-model/project-task-comment.json +7 -425
  182. package/command-model/project-task-form-options.json +1 -36
  183. package/command-model/project-task-label.json +5 -198
  184. package/command-model/project-task-link.json +4 -164
  185. package/command-model/project-task-milestone.json +5 -210
  186. package/command-model/project-task-rule.json +7 -371
  187. package/command-model/project-task-status.json +5 -216
  188. package/command-model/project-task-template.json +5 -259
  189. package/command-model/project-task-type.json +5 -235
  190. package/command-model/project-task-version.json +5 -210
  191. package/command-model/project-task-watcher.json +3 -96
  192. package/command-model/project-task.json +22 -1620
  193. package/command-model/project-template.json +7 -438
  194. package/command-model/project.json +10 -1063
  195. package/command-model/prospect-activity.json +5 -288
  196. package/command-model/prospect-promotion.json +2 -81
  197. package/command-model/prospect.json +9 -811
  198. package/command-model/public-search.json +1 -63
  199. package/command-model/purchase-ai-field-mapping.json +6 -288
  200. package/command-model/purchase-document.json +9 -344
  201. package/command-model/purchase-estimate-scan.json +1 -37
  202. package/command-model/purchase-no-rule.json +5 -237
  203. package/command-model/purchase.json +7 -603
  204. package/command-model/push-subscription.json +3 -103
  205. package/command-model/qualification-import.json +4 -86
  206. package/command-model/qualification.json +7 -247
  207. package/command-model/quality-check-item.json +5 -251
  208. package/command-model/rag.json +2 -71
  209. package/command-model/rating-criteria.json +2 -71
  210. package/command-model/receivable-closing.json +4 -100
  211. package/command-model/receivable.json +2 -58
  212. package/command-model/received-invoice.json +4 -146
  213. package/command-model/refresh-token.json +1 -26
  214. package/command-model/report-format-order.json +2 -43
  215. package/command-model/report-saved-tab.json +5 -149
  216. package/command-model/report.json +51 -2439
  217. package/command-model/retrospective.json +15 -586
  218. package/command-model/revoke.json +1 -29
  219. package/command-model/risk-analysis.json +1 -36
  220. package/command-model/role-template.json +4 -193
  221. package/command-model/sales-ai-review-knowledge-draft.json +1 -32
  222. package/command-model/sales-ai-review-knowledge-pr.json +1 -44
  223. package/command-model/sales-ai-review-reason-list.json +1 -65
  224. package/command-model/sales-pdf.json +8 -288
  225. package/command-model/sales-rounding-setting.json +2 -61
  226. package/command-model/sales.json +12 -420
  227. package/command-model/saved-tab.json +5 -145
  228. package/command-model/saved-task-filter.json +4 -149
  229. package/command-model/seal-impression.json +5 -190
  230. package/command-model/segment.json +6 -232
  231. package/command-model/sidebar-badge-setting.json +2 -55
  232. package/command-model/skill-analytics.json +4 -158
  233. package/command-model/skill-category.json +5 -230
  234. package/command-model/skill-evaluation-export.json +1 -44
  235. package/command-model/skill-evaluation-record.json +2 -135
  236. package/command-model/skill-micro-feedback.json +3 -127
  237. package/command-model/skill-role-assignment.json +3 -112
  238. package/command-model/skill.json +7 -322
  239. package/command-model/staff-kpi-setting.json +4 -181
  240. package/command-model/staff-kpi.json +2 -82
  241. package/command-model/staffing-plan.json +8 -464
  242. package/command-model/storage.json +9 -249
  243. package/command-model/subscription.json +6 -159
  244. package/command-model/supplier-payment-schedule.json +5 -232
  245. package/command-model/supplier-payment.json +6 -339
  246. package/command-model/survey-tracker.json +6 -393
  247. package/command-model/survey.json +36 -1763
  248. package/command-model/task-analysis.json +1 -29
  249. package/command-model/task-branch.json +7 -302
  250. package/command-model/task-recurrence.json +5 -256
  251. package/command-model/task-wiki-link.json +4 -150
  252. package/command-model/tenant-ai-key.json +10 -334
  253. package/command-model/tenant-egress-policy.json +7 -283
  254. package/command-model/tenant-email-settings.json +5 -138
  255. package/command-model/tenant-git-hub-settings.json +13 -356
  256. package/command-model/tenant-master-email-change.json +2 -54
  257. package/command-model/tenant-rag-settings.json +9 -377
  258. package/command-model/tenant-registration.json +3 -123
  259. package/command-model/tenant-search.json +1 -35
  260. package/command-model/tenant-settings.json +24 -1223
  261. package/command-model/terms.json +3 -85
  262. package/command-model/test-execution.json +10 -362
  263. package/command-model/test-scenario.json +9 -379
  264. package/command-model/token.json +1 -26
  265. package/command-model/training-attendance.json +12 -504
  266. package/command-model/training-master.json +6 -309
  267. package/command-model/training-session.json +11 -599
  268. package/command-model/unified-search.json +2 -122
  269. package/command-model/update-record.json +2 -85
  270. package/command-model/user-api-key.json +7 -352
  271. package/command-model/user-assignment-calendar.json +1 -42
  272. package/command-model/user-assignment.json +15 -658
  273. package/command-model/user-contract-type.json +6 -448
  274. package/command-model/user-contract.json +7 -754
  275. package/command-model/user-group.json +7 -142
  276. package/command-model/user-info.json +1 -29
  277. package/command-model/user-invitation.json +7 -1040
  278. package/command-model/user-management.json +12 -1523
  279. package/command-model/user-qualification.json +4 -162
  280. package/command-model/user-seal-generate.json +1 -44
  281. package/command-model/user-shortcut-setting.json +3 -103
  282. package/command-model/user-skill-profile.json +11 -535
  283. package/command-model/user.json +30 -979
  284. package/command-model/video-generation.json +8 -451
  285. package/command-model/web-search.json +1 -62
  286. package/command-model/well-known.json +2 -58
  287. package/command-model/whisper.json +2 -83
  288. package/command-model/wiki-collection.json +13 -452
  289. package/command-model/wiki-notion-import.json +5 -167
  290. package/command-model/wiki-template.json +5 -182
  291. package/command-model/wiki.json +11 -468
  292. package/command-model/worker-agent-run.json +5 -180
  293. package/command-model/worker-agent.json +10 -519
  294. package/command-model/workflow-ai-review.json +3 -103
  295. package/command-model/workflow-analysis.json +1 -54
  296. package/command-model/workflow-approval-delegation.json +4 -130
  297. package/command-model/workflow-approval.json +8 -252
  298. package/command-model/workflow-instance.json +7 -273
  299. package/command-model/workflow-tracker.json +8 -476
  300. package/command-model/workflow.json +9 -548
  301. package/command-model/workload-alert.json +3 -100
  302. package/dist/{agent-loop-QP6UHX4R.js → agent-loop-D35USHWR.js} +1 -1
  303. package/dist/{ai-dispatch-VDNMECKK.js → ai-dispatch-3JJ4ICJF.js} +2 -2
  304. package/dist/{api-command-5LQFOG24.js → api-command-NZ4GJ7BW.js} +1 -1
  305. package/dist/{app-G524XCIA.js → app-67TGWKPM.js} +1 -1
  306. package/dist/{budget-AM7JJ5YP.js → budget-YQHHSX7Q.js} +1 -1
  307. package/dist/{chunk-QVPU4HHG.js → chunk-52HYPBSW.js} +13 -13
  308. package/dist/chunk-E7TZU54Y.js +17 -0
  309. package/dist/{chunk-K7OIECPN.js → chunk-JY4VWR5O.js} +4 -4
  310. package/dist/{chunk-E34FX2DF.js → chunk-NQJV2X2R.js} +1 -1
  311. package/dist/cli.js +19 -8
  312. package/dist/{commands-TYUK7MV4.js → commands-5VM6LUB5.js} +1 -1
  313. package/dist/{commands-BXU44JWS.js → commands-CVSXWYGR.js} +14 -14
  314. package/dist/{logout-guard-BIF2B7JE.js → logout-guard-ZQV2OPIO.js} +1 -1
  315. package/dist/{media-TIRJJUNN.js → media-ZIAI4GEB.js} +1 -1
  316. package/dist/{registry-3PWIZP2X.js → registry-4QVXMTGW.js} +1 -1
  317. package/dist/{run-XZZR3OKX.js → run-KXZBNXJF.js} +1 -1
  318. package/dist/server-settings-WYHQZV2N.js +3 -0
  319. package/dist/{setup-JGGFVRUW.js → setup-G24BYLQV.js} +1 -1
  320. package/dist/{teams-GPXJPXNC.js → teams-5EXL65HN.js} +53 -25
  321. package/package.json +1 -1
  322. package/dist/chunk-SA7A5WF2.js +0 -15
  323. package/dist/server-settings-TUBJ4P57.js +0 -3
@@ -1,1025 +1,16 @@
1
1
  {
2
2
  "domain": "estimate",
3
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
- }
4
+ {"name":"create","domain":"estimate","operationId":"estimate.store","method":"POST","path":"/v2/sales/estimates","summary":"見積作成","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"estimate_format_id":{"type":"integer"},"estimate_no_rule_id":{"type":["integer","null"]},"title":{"type":"string","maxLength":500},"company_id":{"type":["integer","null"]},"project_id":{"type":["string","null"],"maxLength":36},"department_id":{"type":"string","maxLength":36},"estimate_user_id":{"type":["string","null"],"maxLength":36},"kpi_user_id":{"type":["string","null"],"maxLength":36},"business_place_id":{"type":["integer","null"]},"has_work_report":{"type":"boolean"},"seal_impression_id":{"type":["integer","null"]},"reliability":{"type":["string","null"],"enum":["60","55","50","40","30","20","10","02","01",null]},"estimate_type":{"type":["string","null"],"enum":["rough","formal",null]},"project_category":{"type":["string","null"],"enum":["contracted","maintenance","ai_support","license","ses_other","ses_own",null]},"evaluation_multiplier_category":{"type":["string","null"],"enum":["self_sourced_new","company_lead_new","directed_new","self_sourced_new_handoff","company_lead_new_handoff","directed_new_handoff","repeat","tossup_received",null]},"status":{"type":["string","null"],"enum":["new","create_completed","in_progress","approved","rejected","submitted","deleted",null]},"estimate_date":{"type":"string","format":"date-time"},"estimate_expiration_date":{"type":["string","null"],"format":"date-time"},"order_acceptance_issue_date":{"type":["string","null"],"format":"date-time"},"order_issue_date":{"type":["string","null"],"format":"date-time"},"order_no":{"type":["string","null"],"maxLength":100},"order_no_blank":{"type":"boolean"},"billing_acceptance_category":{"type":["string","null"],"enum":["bulk","per_detail","monthly",null]},"billing_date":{"type":"string","format":"date-time"},"delivery_date":{"type":["string","null"],"format":"date-time"},"monthly_period_start":{"type":["string","null"],"pattern":"^\\d{4}-\\d{2}$"},"monthly_period_end":{"type":["string","null"],"pattern":"^\\d{4}-\\d{2}$"},"terms":{"type":["string","null"]},"order_acceptance_terms":{"type":["string","null"]},"memo":{"type":["string","null"]},"internal_memo":{"type":["string","null"],"maxLength":5000},"manage_form_data":{"type":["array","null"],"items":{"type":"string"}},"details":{"type":"array","items":{"type":"object","properties":{"item_name":{"type":"string","maxLength":500},"quantity":{"type":"number","minimum":0},"unit":{"type":"string","enum":["set","item","unit","hour","day","month","person","person_month","person_day"]},"unit_price":{"type":"integer"},"tax_rate":{"type":"string","enum":["10","8","0"]},"acceptance_date":{"type":["string","null"],"format":"date-time"}},"required":["item_name","quantity","unit","unit_price","tax_rate"]},"minItems":1},"recipients":{"type":"array","items":{"type":"object","properties":{"customer_contact_id":{"type":"string","maxLength":64},"recipient_type":{"type":["string","null"],"enum":["to","cc",null]}},"required":["customer_contact_id"]},"maxItems":50}},"required":["estimate_format_id","title","department_id","estimate_date","billing_date","details"],"title":"EstimateStoreRequest"}},"resultPath":null,"risk":"write","aliases":[]},
5
+ {"name":"delete","domain":"estimate","operationId":"estimate.destroy","method":"DELETE","path":"/v2/sales/estimates/{id}","summary":"見積削除","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":null,"risk":"destructive","aliases":[]},
6
+ {"name":"delete-allocations","domain":"estimate","operationId":"estimate.deleteAllocations","method":"DELETE","path":"/v2/sales/estimates/{id}/allocations","summary":"見積の部署按分を削除","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":null,"risk":"destructive","aliases":[]},
7
+ {"name":"deposits","domain":"estimate","operationId":"estimate.deposits","method":"GET","path":"/v2/sales/estimates/{id}/deposits","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":[]},
8
+ {"name":"get","domain":"estimate","operationId":"estimate.show","method":"GET","path":"/v2/sales/estimates/{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":[]},
9
+ {"name":"link-invoice","domain":"estimate","operationId":"estimate.linkInvoice","method":"POST","path":"/v2/sales/estimates/{id}/link-invoice","summary":"請求書を見積に紐づけ","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"invoice_no":{"type":"string","maxLength":255}},"required":["invoice_no"]}},"resultPath":null,"risk":"write","aliases":[]},
10
+ {"name":"list","domain":"estimate","operationId":"estimate.index","method":"GET","path":"/v2/sales/estimates","summary":"見積一覧取得","pathParams":[],"queryParams":[{"name":"sort_column","type":"string","required":false,"source":"spec"},{"name":"sort_direction","type":"string","required":false,"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":[]},
11
+ {"name":"list-allocations","domain":"estimate","operationId":"estimate.listAllocations","method":"GET","path":"/v2/sales/estimates/{id}/allocations","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":[]},
12
+ {"name":"update","domain":"estimate","operationId":"estimate.update","method":"PUT","path":"/v2/sales/estimates/{id}","summary":"見積更新","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"estimate_format_id":{"type":"integer"},"title":{"type":"string","maxLength":500},"company_id":{"type":["integer","null"]},"project_id":{"type":["string","null"],"maxLength":36},"department_id":{"type":"string","maxLength":36},"estimate_user_id":{"type":["string","null"],"maxLength":36},"kpi_user_id":{"type":["string","null"],"maxLength":36},"business_place_id":{"type":["integer","null"]},"has_work_report":{"type":"boolean"},"seal_impression_id":{"type":["integer","null"]},"reliability":{"type":["string","null"],"enum":["60","55","50","40","30","20","10","02","01",null]},"estimate_type":{"type":["string","null"],"enum":["rough","formal",null]},"project_category":{"type":["string","null"],"enum":["contracted","maintenance","ai_support","license","ses_other","ses_own",null]},"evaluation_multiplier_category":{"type":["string","null"],"enum":["self_sourced_new","company_lead_new","directed_new","self_sourced_new_handoff","company_lead_new_handoff","directed_new_handoff","repeat","tossup_received",null]},"status":{"type":["string","null"],"enum":["new","create_completed","in_progress","approved","rejected","submitted","deleted",null]},"estimate_date":{"type":"string","format":"date-time"},"estimate_expiration_date":{"type":["string","null"],"format":"date-time"},"order_acceptance_issue_date":{"type":["string","null"],"format":"date-time"},"order_issue_date":{"type":["string","null"],"format":"date-time"},"order_no":{"type":["string","null"],"maxLength":100},"order_no_blank":{"type":"boolean"},"billing_acceptance_category":{"type":["string","null"],"enum":["bulk","per_detail","monthly",null]},"billing_date":{"type":"string","format":"date-time"},"delivery_date":{"type":["string","null"],"format":"date-time"},"monthly_period_start":{"type":["string","null"],"pattern":"^\\d{4}-\\d{2}$"},"monthly_period_end":{"type":["string","null"],"pattern":"^\\d{4}-\\d{2}$"},"terms":{"type":["string","null"]},"order_acceptance_terms":{"type":["string","null"]},"memo":{"type":["string","null"]},"internal_memo":{"type":["string","null"],"maxLength":5000},"approval_comment":{"type":["string","null"],"maxLength":1000},"manage_form_data":{"type":["array","null"],"items":{"type":"string"}},"details":{"type":"array","items":{"type":"object","properties":{"item_name":{"type":"string","maxLength":500},"quantity":{"type":"number","minimum":0},"unit":{"type":"string","enum":["set","item","unit","hour","day","month","person","person_month","person_day"]},"unit_price":{"type":"integer"},"tax_rate":{"type":"string","enum":["10","8","0"]},"acceptance_date":{"type":["string","null"],"format":"date-time"}}},"minItems":1},"recipients":{"type":"array","items":{"type":"object","properties":{"customer_contact_id":{"type":"string","maxLength":64},"recipient_type":{"type":["string","null"],"enum":["to","cc",null]}},"required":["customer_contact_id"]},"maxItems":50}},"title":"EstimateUpdateRequest"}},"resultPath":null,"risk":"write","aliases":[]},
13
+ {"name":"update-internal-memo","domain":"estimate","operationId":"estimate.updateInternalMemo","method":"PATCH","path":"/v2/sales/estimates/{id}/internal-memo","summary":"見積の社内共有メモを更新する","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"internal_memo":{"type":["string","null"],"maxLength":5000}},"required":["internal_memo"]}},"resultPath":null,"risk":"write","aliases":[]},
14
+ {"name":"upsert-allocations","domain":"estimate","operationId":"estimate.upsertAllocations","method":"POST","path":"/v2/sales/estimates/{id}/allocations","summary":"見積の部署按分を一括更新(全件置換)","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"allocations":{"type":"array","items":{"type":"object","properties":{"department_id":{"type":"string","maxLength":36},"amount":{"type":"integer","minimum":0},"percentage":{"type":"number","minimum":0,"maximum":100}},"required":["department_id","amount","percentage"]},"minItems":1}},"required":["allocations"]}},"resultPath":null,"risk":"write","aliases":[]}
1024
15
  ]
1025
16
  }