@tocca-systems/twp-cli 0.113.0 → 0.115.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.
- package/CHANGELOG.public.md +26 -0
- package/README.md +77 -9
- package/command-model/_routes.json +217 -1
- package/command-model/advance-payment.json +17 -0
- package/command-model/analysis.json +1 -2
- package/command-model/announcement.json +2 -1
- package/command-model/budget.json +1 -1
- package/command-model/cms-tag.json +1 -1
- package/command-model/contract.json +2 -2
- package/command-model/corporate-document-extraction.json +7 -0
- package/command-model/corporate-document.json +10 -0
- package/command-model/corporate-establishment-guide.json +7 -0
- package/command-model/corporate-management.json +13 -0
- package/command-model/corporate-meeting.json +18 -0
- package/command-model/corporate-officer.json +12 -0
- package/command-model/corporate-procedure-ledger.json +13 -0
- package/command-model/corporate-procedure-master.json +12 -0
- package/command-model/corporate-procedure.json +7 -0
- package/command-model/corporate-right.json +11 -0
- package/command-model/corporate-share-register.json +10 -0
- package/command-model/corporate-share-round.json +11 -0
- package/command-model/corporate-share.json +18 -0
- package/command-model/corporate-shareholder-relation.json +14 -0
- package/command-model/corporate-stock-option.json +13 -0
- package/command-model/department.json +2 -2
- package/command-model/dynamo-cms.json +1 -1
- package/command-model/employee-change-request.json +8 -0
- package/command-model/employee-profile.json +12 -0
- package/command-model/estimate-format.json +2 -2
- package/command-model/estimate.json +2 -2
- package/command-model/expense-receipt-scan.json +6 -0
- package/command-model/expense-report.json +4 -2
- package/command-model/expense-settings.json +1 -1
- package/command-model/fixed-asset.json +13 -0
- package/command-model/hr-headcount.json +6 -0
- package/command-model/index.json +48 -9
- package/command-model/invoice.json +2 -2
- package/command-model/master-tenant.json +2 -2
- package/command-model/media-file.json +3 -3
- package/command-model/meeting.json +4 -2
- package/command-model/my-number.json +12 -0
- package/command-model/organization-announcement.json +2 -1
- package/command-model/payroll-item-definition.json +10 -0
- package/command-model/payroll-run.json +14 -0
- package/command-model/position.json +2 -2
- package/command-model/private-task.json +1 -0
- package/command-model/profit-analysis.json +1 -1
- package/command-model/project-task-comment.json +1 -1
- package/command-model/project-task-detail-bundle.json +6 -0
- package/command-model/project-task-status.json +2 -2
- package/command-model/purchase.json +2 -2
- package/command-model/requirement-doc-ai-edit.json +8 -0
- package/command-model/requirement-doc-generation.json +7 -0
- package/command-model/requirement-doc-source.json +13 -0
- package/command-model/requirement-doc-version.json +9 -0
- package/command-model/requirement-doc.json +14 -0
- package/command-model/requirement-issue.json +9 -0
- package/command-model/requirement-item.json +10 -0
- package/command-model/requirement-saved-instruction.json +8 -0
- package/command-model/requirement-source-candidate.json +6 -0
- package/command-model/requirement-task-proposal.json +7 -0
- package/command-model/requirement-template.json +9 -0
- package/command-model/requirement-test-spec.json +8 -0
- package/command-model/sales.json +3 -3
- package/command-model/staff-assignment.json +6 -0
- package/command-model/staffing-board-cell.json +1 -1
- package/command-model/staffing-board-note.json +1 -1
- package/command-model/staffing-board-tentative-assignment.json +1 -1
- package/command-model/task-requirement-link.json +7 -0
- package/command-model/tenant-settings.json +1 -1
- package/command-model/user-api-key.json +2 -2
- package/command-model/user-invitation.json +2 -2
- package/command-model/user-list-item-order.json +1 -1
- package/command-model/user-management.json +2 -2
- package/command-model/user.json +4 -0
- package/dist/{agent-AYLGY3BB.js → agent-2BNIUX2U.js} +1 -1
- package/dist/{agent-loop-PCSEEC5I.js → agent-loop-5IBBUKPF.js} +1 -1
- package/dist/{analysis-2537EFLH.js → analysis-IZJ7OGBS.js} +2 -2
- package/dist/{announcement-MIJPGHPT.js → announcement-6FE7ZS4Z.js} +1 -1
- package/dist/{api-command-FUZMN2UG.js → api-command-XHXLX45I.js} +2 -2
- package/dist/{api-key-43ZSXW62.js → api-key-TRRJUKYE.js} +1 -1
- package/dist/{app-53I4JR7T.js → app-H6WJRVDR.js} +2 -2
- package/dist/{attendance-correct-65ABGMLE.js → attendance-correct-2KTCXVJX.js} +1 -1
- package/dist/{attendance-lists-PAEWTI3V.js → attendance-lists-OIF5KYDQ.js} +1 -1
- package/dist/{backlog-2RACUD5K.js → backlog-3WLFVEBA.js} +62 -30
- package/dist/{budget-WZXVQWDV.js → budget-NA2SD5YD.js} +2 -2
- package/dist/{capacity-list-command-7SR23CXI.js → capacity-list-command-W3HOC5YB.js} +7 -7
- package/dist/{chunk-AJ3VYAJA.js → chunk-3MDBLYZF.js} +1 -1
- package/dist/{chunk-OB7UZWA3.js → chunk-4JF6M5X7.js} +1 -1
- package/dist/{chunk-K3GASXG6.js → chunk-56LHHEE2.js} +1 -1
- package/dist/{chunk-HBX6AOAD.js → chunk-5R5Z6KHV.js} +5 -5
- package/dist/{chunk-ODW2QKMP.js → chunk-6H5TPSXU.js} +1 -1
- package/dist/{chunk-MSQ4ZGMA.js → chunk-A7MM5WSC.js} +33 -30
- package/dist/{chunk-OFVBVG3B.js → chunk-B6VOXDMC.js} +1 -1
- package/dist/chunk-BBV5NLQZ.js +13 -0
- package/dist/{chunk-WPYILRQL.js → chunk-CBQ6Y74J.js} +1 -1
- package/dist/{chunk-YW34MBIB.js → chunk-DEPFLEQL.js} +1 -1
- package/dist/{chunk-PMQDBTQH.js → chunk-DK77GMSP.js} +1 -1
- package/dist/{chunk-LOJ2CV36.js → chunk-G5YZ6JDI.js} +1 -1
- package/dist/{chunk-Y4YHARQA.js → chunk-HGM6DDYN.js} +1 -1
- package/dist/{chunk-NYQZVYU2.js → chunk-IKCXJBSF.js} +1 -1
- package/dist/{chunk-5ZTQEXXS.js → chunk-IOVZDBAD.js} +1 -1
- package/dist/{chunk-45JULJ2S.js → chunk-K2OFZL2O.js} +1 -1
- package/dist/{chunk-HO3PWICX.js → chunk-KPLC3UP7.js} +1 -1
- package/dist/{chunk-QXHS43NL.js → chunk-L4THNX4M.js} +1 -1
- package/dist/{chunk-FMB6FW6J.js → chunk-LEZ576RA.js} +14 -13
- package/dist/{chunk-O6AXI6DC.js → chunk-SEFV7AQB.js} +2 -2
- package/dist/{chunk-VUXMQWXG.js → chunk-SMOBUQPO.js} +1 -1
- package/dist/{chunk-XPZUORRN.js → chunk-VSVJQNIB.js} +1 -1
- package/dist/{chunk-656KBH24.js → chunk-VUHJJVA5.js} +1 -1
- package/dist/{chunk-THB6NEWD.js → chunk-VVOPXTGC.js} +6 -6
- package/dist/{chunk-BBIUAMTH.js → chunk-YAKWBS4M.js} +1 -1
- package/dist/{chunk-N3TO2KIZ.js → chunk-YPEEZXOX.js} +1 -1
- package/dist/cli.js +65 -12
- package/dist/{commands-FYBNM5KV.js → commands-CIMVQEMO.js} +44 -40
- package/dist/{commands-F665OECQ.js → commands-WNPM6734.js} +1 -1
- package/dist/{company-YI4OVANT.js → company-GYE4NSYY.js} +2 -2
- package/dist/content-JB6P46IF.js +293 -0
- package/dist/{contract-RXVHSZJG.js → contract-J7IPD2IT.js} +1 -1
- package/dist/{corporate-AQ2LPSBG.js → corporate-2QRAGFZ4.js} +1 -1
- package/dist/{department-65REBZMP.js → department-PJOH2MXZ.js} +1 -1
- package/dist/{deposit-RLIULDRQ.js → deposit-BBDYJVOG.js} +1 -1
- package/dist/{domain-knowledge-OYT7POYP.js → domain-knowledge-G4NBJGWD.js} +1 -1
- package/dist/{estimate-7KT5IXH3.js → estimate-MDCQUAIA.js} +3 -3
- package/dist/{evaluation-44QSBVVH.js → evaluation-BVIVVRAX.js} +2 -2
- package/dist/{expense-23HWGLWY.js → expense-MQPJVLVB.js} +1 -1
- package/dist/{faq-CTOJOO6T.js → faq-MBW7SLC6.js} +2 -2
- package/dist/{fiscal-year-IUWEC5AA.js → fiscal-year-4GC3CLDB.js} +1 -1
- package/dist/{holiday-VWMRG4AH.js → holiday-GTYFPTAI.js} +2 -2
- package/dist/{inquiry-UG2E5ITT.js → inquiry-QECSQJWD.js} +1 -1
- package/dist/{invoice-LV2MJK4U.js → invoice-7PVEO7WG.js} +2 -2
- package/dist/{job-title-4B35R6ZE.js → job-title-T3EVIB5D.js} +1 -1
- package/dist/{knowledge-7VWTWBER.js → knowledge-5ZKO6N5X.js} +1 -1
- package/dist/{leave-KA3SGHYU.js → leave-WBZRI7ZO.js} +2 -2
- package/dist/{license-Q4RQ57DH.js → license-AMXSVUUX.js} +1 -1
- package/dist/{login-history-S6NKWDLL.js → login-history-ZF2QVJ4S.js} +1 -1
- package/dist/{logout-guard-6SCLP4NT.js → logout-guard-KQLNCNJP.js} +1 -1
- package/dist/{media-KYJJ4BYG.js → media-JDLTK23Z.js} +2 -2
- package/dist/{notification-5UFR4FQN.js → notification-WVJ6V2UN.js} +1 -1
- package/dist/{oneshot-SXDITFOC.js → oneshot-BDKA2IGL.js} +1 -1
- package/dist/{outlook-DLEA27PZ.js → outlook-U4XXFMC3.js} +24 -18
- package/dist/{plan-submit-HXPVV4DR.js → plan-submit-QQPKYJ3M.js} +1 -1
- package/dist/{position-XXLZAXVO.js → position-U56E7GX6.js} +1 -1
- package/dist/{project-GSHZGWIF.js → project-YAFIKH4Z.js} +2 -2
- package/dist/{prospect-7EBYOBRL.js → prospect-ROAE2JQ6.js} +1 -1
- package/dist/{purchase-FRJHJY4H.js → purchase-T3QS3EPW.js} +2 -2
- package/dist/{receivable-SVRIFJVZ.js → receivable-QGNV2FT7.js} +1 -1
- package/dist/redmine-GTHXTKKD.js +74 -0
- package/dist/{registry-JDY2ICUY.js → registry-TAPAIGQV.js} +1 -1
- package/dist/{report-EY3KIRFT.js → report-TCFRJYL6.js} +1 -1
- package/dist/{run-4DK6MYLO.js → run-ISFJYA2U.js} +1 -1
- package/dist/{runner-command-F65BLHXF.js → runner-command-POVZMRJ5.js} +1 -1
- package/dist/{sales-ai-review-LZFRA6U4.js → sales-ai-review-2RBOUUYJ.js} +1 -1
- package/dist/{sales-master-DUR6YYIP.js → sales-master-SGT73CHC.js} +2 -2
- package/dist/{sales-numbering-HVMZBCNG.js → sales-numbering-GLWL3NOI.js} +1 -1
- package/dist/{search-CNOLTZTG.js → search-JP77X4JS.js} +1 -1
- package/dist/{segment-OSPMFLLA.js → segment-ZTWVP32K.js} +1 -1
- package/dist/{server-settings-MQKXV7XS.js → server-settings-DOWTEZGC.js} +1 -1
- package/dist/{setup-2Y2EFPOZ.js → setup-3NYVAJKI.js} +1 -1
- package/dist/{skill-JMK4VX3I.js → skill-HA3DBVJ3.js} +2 -2
- package/dist/{staffing-board-RVEMCX2L.js → staffing-board-PORZDQBF.js} +2 -2
- package/dist/status-command-LBTN3UWE.js +17 -0
- package/dist/{supplier-payment-JCQJZEEA.js → supplier-payment-FCIATDMY.js} +2 -2
- package/dist/{support-F2BLNOZC.js → support-ZSYBBO52.js} +1 -1
- package/dist/{task-FAUIKWDV.js → task-FLIYESKS.js} +3 -3
- package/dist/{teams-3ZI6ZY3F.js → teams-HGOGRVEL.js} +41 -18
- package/dist/{user-OWL3YYLY.js → user-6ACQM4GJ.js} +3 -3
- package/dist/{user-contract-type-OEJML4L4.js → user-contract-type-I4KTAIZ3.js} +1 -1
- package/dist/{user-group-GEWEFEPQ.js → user-group-44DPCXVC.js} +1 -1
- package/dist/{worker-agent-P5GLTH3T.js → worker-agent-56PJ6YTR.js} +1 -1
- package/dist/{workflow-GHBK3DDT.js → workflow-ZWRPMTBR.js} +1 -1
- package/package.json +1 -1
- package/dist/chunk-RESKTLOO.js +0 -13
- package/dist/content-EJARXH6K.js +0 -129
- package/dist/redmine-RC7KMVWT.js +0 -35
- package/dist/status-command-GAYY6LQE.js +0 -17
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"domain": "user-invitation",
|
|
3
3
|
"operations": [
|
|
4
4
|
{"name":"accept","domain":"user-invitation","operationId":"userInvitation.accept","method":"POST","path":"/v2/invitations/{token}/accept","summary":"招待を受諾(公開)","pathParams":[{"name":"token","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"name":{"type":"string","maxLength":255},"password":{"type":"string","minLength":8},"password_confirmation":{"type":"string","minLength":8}},"required":["name","password","password_confirmation"],"title":"AcceptInvitationRequest"}},"resultPath":"","risk":"write","aliases":[]},
|
|
5
|
-
{"name":"bulk-store","domain":"user-invitation","operationId":"userInvitation.bulkStore","method":"POST","path":"/v2/admin/invitations/bulk","summary":"一括招待を送信(テナント管理者用)","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"invitations":{"type":"array","items":{"type":"object","properties":{"email":{"type":"string","format":"email","maxLength":255},"role":{"type":"string","enum":["super_admin","admin","user"]}},"required":["email","role"]},"minItems":1,"maxItems":50},"use_default_permissions":{"type":"boolean"},"feature_permissions":{"type":"object","properties":{"support":{"type":["string","null"],"enum":["admin","editor","none",null]},"inquiry":{"type":["string","null"],"enum":["admin","member","none",null]},"content_management":{"type":["string","null"],"enum":["admin","member","none",null]},"project":{"type":["string","null"],"enum":["admin","editor","viewer","none",null]},"workflow":{"type":["string","null"],"enum":["admin","member","none",null]},"hearing":{"type":["string","null"],"enum":["admin","viewer","none",null]},"task_management":{"type":["string","null"],"enum":["admin","member","none",null]},"media_file":{"type":["string","null"],"enum":["admin","member","none",null]},"sales":{"type":["string","null"],"enum":["admin","member","none",null]},"agent":{"type":["string","null"],"enum":["admin","member","none",null]},"attendance":{"type":["string","null"],"enum":["admin","paid_leave_admin","member","none",null]},"report":{"type":["string","null"],"enum":["admin","member","none",null]},"hr_management":{"type":["string","null"],"enum":["admin","member","none",null]},"analysis":{"type":["string","null"],"enum":["admin","member","none",null]},"learning":{"type":["string","null"],"enum":["admin","member","none",null]},"expense":{"type":["string","null"],"enum":["admin","member","none",null]},"license_management":{"type":["string","null"],"enum":["admin","viewer","none",null]},"test":{"type":["string","null"],"enum":["admin","member","none",null]},"notes":{"type":["string","null"],"enum":["admin","member","none",null]},"chat":{"type":["string","null"],"enum":["admin","member","none",null]},"wiki_management":{"type":["string","null"],"enum":["admin","editor","viewer","none",null]},"meeting_minutes":{"type":["string","null"],"enum":["admin","member","none",null]},"customer":{"type":["string","null"],"enum":["admin","editor","viewer","none",null]},"survey":{"type":["string","null"],"enum":["admin","member","none",null]},"organization_survey":{"type":["string","null"],"enum":["admin","member","none",null]},"feedback":{"type":["string","null"],"enum":["admin","member","none",null]},"equipment_management":{"type":["string","null"],"enum":["admin","member","none",null]},"floor_map":{"type":["string","null"],"enum":["admin","member","none",null]},"ojt":{"type":["string","null"],"enum":["admin","member","none",null]},"policy_management":{"type":["string","null"],"enum":["admin","member","none",null]},"faq_management":{"type":["string","null"],"enum":["admin","member","none",null]},"domain_knowledge":{"type":["string","null"],"enum":["admin","member","none",null]},"publicity":{"type":["string","null"],"enum":["admin","member","none",null]},"recreation":{"type":["string","null"],"enum":["admin","member","none",null]},"secrets":{"type":["string","null"],"enum":["admin","member","none",null]},"support_management":{"type":["string","null"],"enum":["admin","member","none",null]}}}},"required":["invitations"],"title":"BulkCreateInvitationRequest"}},"resultPath":"","risk":"write","aliases":[]},
|
|
6
|
-
{"name":"create","domain":"user-invitation","operationId":"userInvitation.store","method":"POST","path":"/v2/admin/invitations","summary":"招待を送信(テナント管理者用)","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"email":{"type":"string","format":"email","maxLength":255},"user_name":{"type":["string","null"],"maxLength":255},"role":{"type":"string","enum":["super_admin","admin","user"]},"use_default_permissions":{"type":"boolean"},"feature_permissions":{"type":"object","properties":{"support":{"type":["string","null"],"enum":["admin","editor","none",null]},"inquiry":{"type":["string","null"],"enum":["admin","member","none",null]},"content_management":{"type":["string","null"],"enum":["admin","member","none",null]},"project":{"type":["string","null"],"enum":["admin","editor","viewer","none",null]},"workflow":{"type":["string","null"],"enum":["admin","member","none",null]},"hearing":{"type":["string","null"],"enum":["admin","viewer","none",null]},"task_management":{"type":["string","null"],"enum":["admin","member","none",null]},"media_file":{"type":["string","null"],"enum":["admin","member","none",null]},"sales":{"type":["string","null"],"enum":["admin","member","none",null]},"agent":{"type":["string","null"],"enum":["admin","member","none",null]},"attendance":{"type":["string","null"],"enum":["admin","paid_leave_admin","member","none",null]},"report":{"type":["string","null"],"enum":["admin","member","none",null]},"hr_management":{"type":["string","null"],"enum":["admin","member","none",null]},"analysis":{"type":["string","null"],"enum":["admin","member","none",null]},"learning":{"type":["string","null"],"enum":["admin","member","none",null]},"expense":{"type":["string","null"],"enum":["admin","member","none",null]},"license_management":{"type":["string","null"],"enum":["admin","viewer","none",null]},"test":{"type":["string","null"],"enum":["admin","member","none",null]},"notes":{"type":["string","null"],"enum":["admin","member","none",null]},"chat":{"type":["string","null"],"enum":["admin","member","none",null]},"wiki_management":{"type":["string","null"],"enum":["admin","editor","viewer","none",null]},"meeting_minutes":{"type":["string","null"],"enum":["admin","member","none",null]},"customer":{"type":["string","null"],"enum":["admin","editor","viewer","none",null]},"survey":{"type":["string","null"],"enum":["admin","member","none",null]},"organization_survey":{"type":["string","null"],"enum":["admin","member","none",null]},"feedback":{"type":["string","null"],"enum":["admin","member","none",null]},"equipment_management":{"type":["string","null"],"enum":["admin","member","none",null]},"floor_map":{"type":["string","null"],"enum":["admin","member","none",null]},"ojt":{"type":["string","null"],"enum":["admin","member","none",null]},"policy_management":{"type":["string","null"],"enum":["admin","member","none",null]},"faq_management":{"type":["string","null"],"enum":["admin","member","none",null]},"domain_knowledge":{"type":["string","null"],"enum":["admin","member","none",null]},"publicity":{"type":["string","null"],"enum":["admin","member","none",null]},"recreation":{"type":["string","null"],"enum":["admin","member","none",null]},"secrets":{"type":["string","null"],"enum":["admin","member","none",null]},"support_management":{"type":["string","null"],"enum":["admin","member","none",null]}}}},"required":["email","role"],"title":"CreateInvitationRequest"}},"resultPath":"","risk":"write","aliases":[]},
|
|
5
|
+
{"name":"bulk-store","domain":"user-invitation","operationId":"userInvitation.bulkStore","method":"POST","path":"/v2/admin/invitations/bulk","summary":"一括招待を送信(テナント管理者用)","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"invitations":{"type":"array","items":{"type":"object","properties":{"email":{"type":"string","format":"email","maxLength":255},"role":{"type":"string","enum":["super_admin","admin","user"]}},"required":["email","role"]},"minItems":1,"maxItems":50},"use_default_permissions":{"type":"boolean"},"feature_permissions":{"type":"object","properties":{"support":{"type":["string","null"],"enum":["admin","editor","none",null]},"inquiry":{"type":["string","null"],"enum":["admin","member","none",null]},"content_management":{"type":["string","null"],"enum":["admin","member","none",null]},"project":{"type":["string","null"],"enum":["admin","editor","viewer","none",null]},"workflow":{"type":["string","null"],"enum":["admin","member","none",null]},"hearing":{"type":["string","null"],"enum":["admin","viewer","none",null]},"task_management":{"type":["string","null"],"enum":["admin","member","none",null]},"media_file":{"type":["string","null"],"enum":["admin","member","none",null]},"sales":{"type":["string","null"],"enum":["admin","member","none",null]},"agent":{"type":["string","null"],"enum":["admin","member","none",null]},"attendance":{"type":["string","null"],"enum":["admin","paid_leave_admin","member","none",null]},"report":{"type":["string","null"],"enum":["admin","member","none",null]},"hr_management":{"type":["string","null"],"enum":["admin","member","none",null]},"analysis":{"type":["string","null"],"enum":["admin","member","none",null]},"learning":{"type":["string","null"],"enum":["admin","member","none",null]},"expense":{"type":["string","null"],"enum":["admin","member","none",null]},"license_management":{"type":["string","null"],"enum":["admin","viewer","none",null]},"test":{"type":["string","null"],"enum":["admin","member","none",null]},"notes":{"type":["string","null"],"enum":["admin","member","none",null]},"chat":{"type":["string","null"],"enum":["admin","member","none",null]},"wiki_management":{"type":["string","null"],"enum":["admin","editor","viewer","none",null]},"meeting_minutes":{"type":["string","null"],"enum":["admin","member","none",null]},"customer":{"type":["string","null"],"enum":["admin","editor","viewer","none",null]},"survey":{"type":["string","null"],"enum":["admin","member","none",null]},"organization_survey":{"type":["string","null"],"enum":["admin","member","none",null]},"feedback":{"type":["string","null"],"enum":["admin","member","none",null]},"equipment_management":{"type":["string","null"],"enum":["admin","member","none",null]},"floor_map":{"type":["string","null"],"enum":["admin","member","none",null]},"ojt":{"type":["string","null"],"enum":["admin","member","none",null]},"policy_management":{"type":["string","null"],"enum":["admin","member","none",null]},"faq_management":{"type":["string","null"],"enum":["admin","member","none",null]},"announcement_management":{"type":["string","null"],"enum":["admin","member","none",null]},"domain_knowledge":{"type":["string","null"],"enum":["admin","member","none",null]},"publicity":{"type":["string","null"],"enum":["admin","member","none",null]},"recreation":{"type":["string","null"],"enum":["admin","member","none",null]},"requirements_definition":{"type":["string","null"],"enum":["admin","member","none",null]},"secrets":{"type":["string","null"],"enum":["admin","member","none",null]},"corporate_management":{"type":["string","null"],"enum":["admin","member","none",null]},"support_management":{"type":["string","null"],"enum":["admin","member","none",null]}}}},"required":["invitations"],"title":"BulkCreateInvitationRequest"}},"resultPath":"","risk":"write","aliases":[]},
|
|
6
|
+
{"name":"create","domain":"user-invitation","operationId":"userInvitation.store","method":"POST","path":"/v2/admin/invitations","summary":"招待を送信(テナント管理者用)","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"email":{"type":"string","format":"email","maxLength":255},"user_name":{"type":["string","null"],"maxLength":255},"role":{"type":"string","enum":["super_admin","admin","user"]},"use_default_permissions":{"type":"boolean"},"feature_permissions":{"type":"object","properties":{"support":{"type":["string","null"],"enum":["admin","editor","none",null]},"inquiry":{"type":["string","null"],"enum":["admin","member","none",null]},"content_management":{"type":["string","null"],"enum":["admin","member","none",null]},"project":{"type":["string","null"],"enum":["admin","editor","viewer","none",null]},"workflow":{"type":["string","null"],"enum":["admin","member","none",null]},"hearing":{"type":["string","null"],"enum":["admin","viewer","none",null]},"task_management":{"type":["string","null"],"enum":["admin","member","none",null]},"media_file":{"type":["string","null"],"enum":["admin","member","none",null]},"sales":{"type":["string","null"],"enum":["admin","member","none",null]},"agent":{"type":["string","null"],"enum":["admin","member","none",null]},"attendance":{"type":["string","null"],"enum":["admin","paid_leave_admin","member","none",null]},"report":{"type":["string","null"],"enum":["admin","member","none",null]},"hr_management":{"type":["string","null"],"enum":["admin","member","none",null]},"analysis":{"type":["string","null"],"enum":["admin","member","none",null]},"learning":{"type":["string","null"],"enum":["admin","member","none",null]},"expense":{"type":["string","null"],"enum":["admin","member","none",null]},"license_management":{"type":["string","null"],"enum":["admin","viewer","none",null]},"test":{"type":["string","null"],"enum":["admin","member","none",null]},"notes":{"type":["string","null"],"enum":["admin","member","none",null]},"chat":{"type":["string","null"],"enum":["admin","member","none",null]},"wiki_management":{"type":["string","null"],"enum":["admin","editor","viewer","none",null]},"meeting_minutes":{"type":["string","null"],"enum":["admin","member","none",null]},"customer":{"type":["string","null"],"enum":["admin","editor","viewer","none",null]},"survey":{"type":["string","null"],"enum":["admin","member","none",null]},"organization_survey":{"type":["string","null"],"enum":["admin","member","none",null]},"feedback":{"type":["string","null"],"enum":["admin","member","none",null]},"equipment_management":{"type":["string","null"],"enum":["admin","member","none",null]},"floor_map":{"type":["string","null"],"enum":["admin","member","none",null]},"ojt":{"type":["string","null"],"enum":["admin","member","none",null]},"policy_management":{"type":["string","null"],"enum":["admin","member","none",null]},"faq_management":{"type":["string","null"],"enum":["admin","member","none",null]},"announcement_management":{"type":["string","null"],"enum":["admin","member","none",null]},"domain_knowledge":{"type":["string","null"],"enum":["admin","member","none",null]},"publicity":{"type":["string","null"],"enum":["admin","member","none",null]},"recreation":{"type":["string","null"],"enum":["admin","member","none",null]},"requirements_definition":{"type":["string","null"],"enum":["admin","member","none",null]},"secrets":{"type":["string","null"],"enum":["admin","member","none",null]},"corporate_management":{"type":["string","null"],"enum":["admin","member","none",null]},"support_management":{"type":["string","null"],"enum":["admin","member","none",null]}}}},"required":["email","role"],"title":"CreateInvitationRequest"}},"resultPath":"","risk":"write","aliases":[]},
|
|
7
7
|
{"name":"delete","domain":"user-invitation","operationId":"userInvitation.destroy","method":"DELETE","path":"/v2/admin/invitations/{token}","summary":"招待を取り消し(テナント管理者用)","pathParams":[{"name":"token","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":"","risk":"destructive","aliases":[]},
|
|
8
8
|
{"name":"get","domain":"user-invitation","operationId":"userInvitation.show","method":"GET","path":"/v2/invitations/{token}","summary":"招待詳細を取得(公開)","pathParams":[{"name":"token","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":"","risk":"read","aliases":[]},
|
|
9
9
|
{"name":"list","domain":"user-invitation","operationId":"userInvitation.index","method":"GET","path":"/v2/admin/invitations","summary":"招待一覧を取得(テナント管理者用)","pathParams":[],"queryParams":[],"body":null,"resultPath":"","risk":"read","aliases":[]},
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"domain": "user-list-item-order",
|
|
3
3
|
"operations": [
|
|
4
4
|
{"name":"get","domain":"user-list-item-order","operationId":"userListItemOrder.show","method":"GET","path":"/v2/user/list-item-orders","summary":"並び順を取得","pathParams":[],"queryParams":[{"name":"list_type","type":"string","required":true,"source":"spec"}],"body":null,"resultPath":null,"risk":"read","aliases":[]},
|
|
5
|
-
{"name":"update","domain":"user-list-item-order","operationId":"userListItemOrder.update","method":"PUT","path":"/v2/user/list-item-orders","summary":"並び順を保存(全置換)","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"list_type":{"type":"string","enum":["my_task_active_projects","my_task_closed_projects","my_task_active_segments","my_task_closed_segments"]},"item_ids":{"type":"array","items":{"type":"string","maxLength":
|
|
5
|
+
{"name":"update","domain":"user-list-item-order","operationId":"userListItemOrder.update","method":"PUT","path":"/v2/user/list-item-orders","summary":"並び順を保存(全置換)","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"list_type":{"type":"string","enum":["my_task_active_projects","my_task_closed_projects","my_task_active_segments","my_task_closed_segments","sidebar_menu_order","sidebar_menu_hidden"]},"item_ids":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":500,"uniqueItems":true}},"required":["list_type","item_ids"],"title":"ListItemOrderRequest"}},"resultPath":null,"risk":"write","aliases":[]}
|
|
6
6
|
]
|
|
7
7
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"domain": "user-management",
|
|
3
3
|
"operations": [
|
|
4
4
|
{"name":"admin-user-search","domain":"user-management","operationId":"userManagement.adminUserSearch","method":"POST","path":"/v2/admin/users/search","summary":"管理者用ユーザー検索(DynamoDB)","pathParams":[],"queryParams":[],"body":null,"resultPath":"list","risk":"write","aliases":[]},
|
|
5
|
-
{"name":"create","domain":"user-management","operationId":"userManagement.store","method":"POST","path":"/v2/admin/users","summary":"ユーザーを作成 (POST /admin/users)","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"user_name":{"type":"string","maxLength":255},"user_name_kana":{"type":["string","null"],"maxLength":255},"login_id":{"type":"string","format":"email","maxLength":255},"password":{"type":"string","minLength":8},"type":{"type":"string","enum":["0","1"]},"two_factor_authentication_type":{"type":["string","null"],"enum":["0","1","2",null]},"two_factor_tel":{"type":["string","null"],"maxLength":20},"cost_manager_flg":{"type":["boolean","null"]},"analyst_flg":{"type":["boolean","null"]},"punch_correction_flg":{"type":["boolean","null"]},"display_flg":{"type":["boolean","null"]},"memberlist_flg":{"type":["boolean","null"]},"dashboard_flg":{"type":["boolean","null"]},"org_chart_flg":{"type":["boolean","null"]},"hire_date":{"type":["string","null"],"format":"date"},"employee_code":{"type":["string","null"],"maxLength":50},"employee_identifier":{"type":["string","null"],"maxLength":255},"personal_email":{"type":["string","null"],"format":"email","maxLength":255},"personal_tel":{"type":["string","null"],"maxLength":20},"emergency_contact_name":{"type":["string","null"],"maxLength":255},"emergency_contact_address":{"type":["string","null"],"maxLength":1000},"emergency_contact_tel":{"type":["string","null"],"maxLength":50},"emergency_contact_relationship":{"type":["string","null"],"maxLength":255},"support_level":{"type":["string","null"],"enum":["admin","editor","none",null]},"inquiry_level":{"type":["string","null"],"enum":["admin","member","none",null]},"content_management_level":{"type":["string","null"],"enum":["admin","member","none",null]},"project_level":{"type":["string","null"],"enum":["admin","editor","viewer","none",null]},"workflow_level":{"type":["string","null"],"enum":["admin","member","none",null]},"hearing_level":{"type":["string","null"],"enum":["admin","viewer","none",null]},"task_management_level":{"type":["string","null"],"enum":["admin","member","none",null]},"media_file_level":{"type":["string","null"],"enum":["admin","member","none",null]},"sales_level":{"type":["string","null"],"enum":["admin","member","none",null]},"agent_level":{"type":["string","null"],"enum":["admin","member","none",null]},"attendance_level":{"type":["string","null"],"enum":["admin","paid_leave_admin","member","none",null]},"report_level":{"type":["string","null"],"enum":["admin","member","none",null]},"hr_management_level":{"type":["string","null"],"enum":["admin","member","none",null]},"analysis_level":{"type":["string","null"],"enum":["admin","member","none",null]},"learning_level":{"type":["string","null"],"enum":["admin","member","none",null]},"expense_level":{"type":["string","null"],"enum":["admin","member","none",null]},"license_management_level":{"type":["string","null"],"enum":["admin","viewer","none",null]},"test_level":{"type":["string","null"],"enum":["admin","member","none",null]},"notes_level":{"type":["string","null"],"enum":["admin","member","none",null]},"chat_level":{"type":["string","null"],"enum":["admin","member","none",null]},"wiki_management_level":{"type":["string","null"],"enum":["admin","editor","viewer","none",null]},"meeting_minutes_level":{"type":["string","null"],"enum":["admin","member","none",null]},"customer_level":{"type":["string","null"],"enum":["admin","editor","viewer","none",null]},"survey_level":{"type":["string","null"],"enum":["admin","member","none",null]},"organization_survey_level":{"type":["string","null"],"enum":["admin","member","none",null]},"feedback_level":{"type":["string","null"],"enum":["admin","member","none",null]},"equipment_management_level":{"type":["string","null"],"enum":["admin","member","none",null]},"floor_map_level":{"type":["string","null"],"enum":["admin","member","none",null]},"ojt_level":{"type":["string","null"],"enum":["admin","member","none",null]},"policy_management_level":{"type":["string","null"],"enum":["admin","member","none",null]},"faq_management_level":{"type":["string","null"],"enum":["admin","member","none",null]},"domain_knowledge_level":{"type":["string","null"],"enum":["admin","member","none",null]},"publicity_level":{"type":["string","null"],"enum":["admin","member","none",null]},"recreation_level":{"type":["string","null"],"enum":["admin","member","none",null]},"secrets_level":{"type":["string","null"],"enum":["admin","member","none",null]},"support_management_level":{"type":["string","null"],"enum":["admin","member","none",null]}},"required":["user_name","login_id","password","type"],"title":"UserCreateRequest"}},"resultPath":"license_warnings","risk":"write","aliases":[]},
|
|
5
|
+
{"name":"create","domain":"user-management","operationId":"userManagement.store","method":"POST","path":"/v2/admin/users","summary":"ユーザーを作成 (POST /admin/users)","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"user_name":{"type":"string","maxLength":255},"user_name_kana":{"type":["string","null"],"maxLength":255},"login_id":{"type":"string","format":"email","maxLength":255},"password":{"type":"string","minLength":8},"type":{"type":"string","enum":["0","1"]},"two_factor_authentication_type":{"type":["string","null"],"enum":["0","1","2",null]},"two_factor_tel":{"type":["string","null"],"maxLength":20},"cost_manager_flg":{"type":["boolean","null"]},"analyst_flg":{"type":["boolean","null"]},"punch_correction_flg":{"type":["boolean","null"]},"display_flg":{"type":["boolean","null"]},"memberlist_flg":{"type":["boolean","null"]},"dashboard_flg":{"type":["boolean","null"]},"org_chart_flg":{"type":["boolean","null"]},"hire_date":{"type":["string","null"],"format":"date"},"employee_code":{"type":["string","null"],"maxLength":50},"employee_identifier":{"type":["string","null"],"maxLength":255},"personal_email":{"type":["string","null"],"format":"email","maxLength":255},"personal_tel":{"type":["string","null"],"maxLength":20},"emergency_contact_name":{"type":["string","null"],"maxLength":255},"emergency_contact_address":{"type":["string","null"],"maxLength":1000},"emergency_contact_tel":{"type":["string","null"],"maxLength":50},"emergency_contact_relationship":{"type":["string","null"],"maxLength":255},"support_level":{"type":["string","null"],"enum":["admin","editor","none",null]},"inquiry_level":{"type":["string","null"],"enum":["admin","member","none",null]},"content_management_level":{"type":["string","null"],"enum":["admin","member","none",null]},"project_level":{"type":["string","null"],"enum":["admin","editor","viewer","none",null]},"workflow_level":{"type":["string","null"],"enum":["admin","member","none",null]},"hearing_level":{"type":["string","null"],"enum":["admin","viewer","none",null]},"task_management_level":{"type":["string","null"],"enum":["admin","member","none",null]},"media_file_level":{"type":["string","null"],"enum":["admin","member","none",null]},"sales_level":{"type":["string","null"],"enum":["admin","member","none",null]},"agent_level":{"type":["string","null"],"enum":["admin","member","none",null]},"attendance_level":{"type":["string","null"],"enum":["admin","paid_leave_admin","member","none",null]},"report_level":{"type":["string","null"],"enum":["admin","member","none",null]},"hr_management_level":{"type":["string","null"],"enum":["admin","member","none",null]},"analysis_level":{"type":["string","null"],"enum":["admin","member","none",null]},"learning_level":{"type":["string","null"],"enum":["admin","member","none",null]},"expense_level":{"type":["string","null"],"enum":["admin","member","none",null]},"license_management_level":{"type":["string","null"],"enum":["admin","viewer","none",null]},"test_level":{"type":["string","null"],"enum":["admin","member","none",null]},"notes_level":{"type":["string","null"],"enum":["admin","member","none",null]},"chat_level":{"type":["string","null"],"enum":["admin","member","none",null]},"wiki_management_level":{"type":["string","null"],"enum":["admin","editor","viewer","none",null]},"meeting_minutes_level":{"type":["string","null"],"enum":["admin","member","none",null]},"customer_level":{"type":["string","null"],"enum":["admin","editor","viewer","none",null]},"survey_level":{"type":["string","null"],"enum":["admin","member","none",null]},"organization_survey_level":{"type":["string","null"],"enum":["admin","member","none",null]},"feedback_level":{"type":["string","null"],"enum":["admin","member","none",null]},"equipment_management_level":{"type":["string","null"],"enum":["admin","member","none",null]},"floor_map_level":{"type":["string","null"],"enum":["admin","member","none",null]},"ojt_level":{"type":["string","null"],"enum":["admin","member","none",null]},"policy_management_level":{"type":["string","null"],"enum":["admin","member","none",null]},"faq_management_level":{"type":["string","null"],"enum":["admin","member","none",null]},"announcement_management_level":{"type":["string","null"],"enum":["admin","member","none",null]},"domain_knowledge_level":{"type":["string","null"],"enum":["admin","member","none",null]},"publicity_level":{"type":["string","null"],"enum":["admin","member","none",null]},"recreation_level":{"type":["string","null"],"enum":["admin","member","none",null]},"requirements_definition_level":{"type":["string","null"],"enum":["admin","member","none",null]},"secrets_level":{"type":["string","null"],"enum":["admin","member","none",null]},"corporate_management_level":{"type":["string","null"],"enum":["admin","member","none",null]},"support_management_level":{"type":["string","null"],"enum":["admin","member","none",null]}},"required":["user_name","login_id","password","type"],"title":"UserCreateRequest"}},"resultPath":"license_warnings","risk":"write","aliases":[]},
|
|
6
6
|
{"name":"get","domain":"user-management","operationId":"userManagement.show","method":"GET","path":"/v2/admin/users/{id}","summary":"ユーザー詳細を取得 (GET /admin/users/{id})","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":null,"risk":"read","aliases":[]},
|
|
7
7
|
{"name":"get-user-seal-impression","domain":"user-management","operationId":"userManagement.getUserSealImpression","method":"GET","path":"/v2/admin/users/{id}/seal-impression","summary":"管理者がメンバーの印影設定を取得 (GET /admin/users/{id}/seal-impression)","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":null,"risk":"read","aliases":[]},
|
|
8
8
|
{"name":"index-members","domain":"user-management","operationId":"userManagement.indexMembers","method":"GET","path":"/v2/admin/members","summary":"メンバー一覧を取得 (GET /admin/members)","pathParams":[],"queryParams":[{"name":"search_keyword","type":"string","required":false,"source":"spec"},{"name":"search_sort_column","type":"string","required":false,"source":"spec"},{"name":"search_sort_direction","type":"string","required":false,"source":"spec"}],"body":null,"resultPath":"list","risk":"read","aliases":[]},
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
{"name":"list-users-with-permissions","domain":"user-management","operationId":"userManagement.listUsersWithPermissions","method":"GET","path":"/v2/admin/users/permissions-matrix","summary":"ユーザー×機能権限マトリクスデータを取得(管理者向け)","pathParams":[],"queryParams":[{"name":"keyword","type":"string","required":false,"source":"spec"},{"name":"include_hidden","type":"string","required":false,"source":"spec"}],"body":null,"resultPath":"items","risk":"read","aliases":[]},
|
|
12
12
|
{"name":"member-search","domain":"user-management","operationId":"userManagement.memberSearch","method":"POST","path":"/v2/admin/members/search","summary":"ユーザー検索(シンプル版)- DynamoDB","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"search_keyword":{"type":["string","null"],"maxLength":100},"search_page_no":{"type":["integer","null"],"minimum":1},"search_page_limit":{"type":["integer","null"],"minimum":1,"maximum":1000},"search_sort_column":{"type":["string","null"]},"search_sort_direction":{"type":["string","null"],"enum":["asc","desc",null]}}}},"resultPath":"list","risk":"write","aliases":[]},
|
|
13
13
|
{"name":"resolve-names","domain":"user-management","operationId":"userManagement.resolveNames","method":"POST","path":"/v2/admin/users/resolve-names","summary":"ユーザー名をバッチ解決 (POST /admin/users/resolve-names)","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"user_ids":{"type":"array","items":{"type":"string"},"minItems":1,"maxItems":100}},"required":["user_ids"]}},"resultPath":null,"risk":"write","aliases":[]},
|
|
14
|
-
{"name":"update","domain":"user-management","operationId":"userManagement.update","method":"PUT","path":"/v2/admin/users/{id}","summary":"ユーザーを更新 (PUT /admin/users/{id})","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"update_fields":{"type":["array","null"],"items":{"type":"string"}},"user_name":{"type":["string","null"],"maxLength":255},"user_name_kana":{"type":["string","null"],"maxLength":255},"login_id":{"type":["string","null"],"format":"email","maxLength":255},"password":{"type":["string","null"],"minLength":8},"type":{"type":["string","null"],"enum":["0","1",null]},"auth_type":{"type":["string","null"],"enum":["all","password","oauth","disabled",null]},"two_factor_authentication_type":{"type":["string","null"],"enum":["0","1","2",null]},"two_factor_tel":{"type":["string","null"],"maxLength":20},"hire_date":{"type":["string","null"],"format":"date"},"cost_manager_flg":{"type":["boolean","null"]},"analyst_flg":{"type":["boolean","null"]},"punch_correction_flg":{"type":["boolean","null"]},"display_flg":{"type":["boolean","null"]},"memberlist_flg":{"type":["boolean","null"]},"dashboard_flg":{"type":["boolean","null"]},"org_chart_flg":{"type":["boolean","null"]},"employee_code":{"type":["string","null"],"maxLength":50},"employee_identifier":{"type":["string","null"],"maxLength":255},"personal_email":{"type":["string","null"],"format":"email","maxLength":255},"personal_tel":{"type":["string","null"],"maxLength":20},"emergency_contact_name":{"type":["string","null"],"maxLength":255},"emergency_contact_address":{"type":["string","null"],"maxLength":1000},"emergency_contact_tel":{"type":["string","null"],"maxLength":50},"emergency_contact_relationship":{"type":["string","null"],"maxLength":255},"support_level":{"type":["string","null"],"enum":["admin","editor","none",null]},"inquiry_level":{"type":["string","null"],"enum":["admin","member","none",null]},"content_management_level":{"type":["string","null"],"enum":["admin","member","none",null]},"project_level":{"type":["string","null"],"enum":["admin","editor","viewer","none",null]},"workflow_level":{"type":["string","null"],"enum":["admin","member","none",null]},"hearing_level":{"type":["string","null"],"enum":["admin","viewer","none",null]},"task_management_level":{"type":["string","null"],"enum":["admin","member","none",null]},"media_file_level":{"type":["string","null"],"enum":["admin","member","none",null]},"sales_level":{"type":["string","null"],"enum":["admin","member","none",null]},"agent_level":{"type":["string","null"],"enum":["admin","member","none",null]},"attendance_level":{"type":["string","null"],"enum":["admin","paid_leave_admin","member","none",null]},"report_level":{"type":["string","null"],"enum":["admin","member","none",null]},"hr_management_level":{"type":["string","null"],"enum":["admin","member","none",null]},"analysis_level":{"type":["string","null"],"enum":["admin","member","none",null]},"learning_level":{"type":["string","null"],"enum":["admin","member","none",null]},"expense_level":{"type":["string","null"],"enum":["admin","member","none",null]},"license_management_level":{"type":["string","null"],"enum":["admin","viewer","none",null]},"test_level":{"type":["string","null"],"enum":["admin","member","none",null]},"notes_level":{"type":["string","null"],"enum":["admin","member","none",null]},"chat_level":{"type":["string","null"],"enum":["admin","member","none",null]},"wiki_management_level":{"type":["string","null"],"enum":["admin","editor","viewer","none",null]},"meeting_minutes_level":{"type":["string","null"],"enum":["admin","member","none",null]},"customer_level":{"type":["string","null"],"enum":["admin","editor","viewer","none",null]},"survey_level":{"type":["string","null"],"enum":["admin","member","none",null]},"organization_survey_level":{"type":["string","null"],"enum":["admin","member","none",null]},"feedback_level":{"type":["string","null"],"enum":["admin","member","none",null]},"equipment_management_level":{"type":["string","null"],"enum":["admin","member","none",null]},"floor_map_level":{"type":["string","null"],"enum":["admin","member","none",null]},"ojt_level":{"type":["string","null"],"enum":["admin","member","none",null]},"policy_management_level":{"type":["string","null"],"enum":["admin","member","none",null]},"faq_management_level":{"type":["string","null"],"enum":["admin","member","none",null]},"domain_knowledge_level":{"type":["string","null"],"enum":["admin","member","none",null]},"publicity_level":{"type":["string","null"],"enum":["admin","member","none",null]},"recreation_level":{"type":["string","null"],"enum":["admin","member","none",null]},"secrets_level":{"type":["string","null"],"enum":["admin","member","none",null]},"support_management_level":{"type":["string","null"],"enum":["admin","member","none",null]}},"title":"UserBasicUpdateRequest"}},"resultPath":null,"risk":"write","aliases":[]},
|
|
14
|
+
{"name":"update","domain":"user-management","operationId":"userManagement.update","method":"PUT","path":"/v2/admin/users/{id}","summary":"ユーザーを更新 (PUT /admin/users/{id})","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"update_fields":{"type":["array","null"],"items":{"type":"string"}},"user_name":{"type":["string","null"],"maxLength":255},"user_name_kana":{"type":["string","null"],"maxLength":255},"login_id":{"type":["string","null"],"format":"email","maxLength":255},"password":{"type":["string","null"],"minLength":8},"type":{"type":["string","null"],"enum":["0","1",null]},"auth_type":{"type":["string","null"],"enum":["all","password","oauth","disabled",null]},"two_factor_authentication_type":{"type":["string","null"],"enum":["0","1","2",null]},"two_factor_tel":{"type":["string","null"],"maxLength":20},"hire_date":{"type":["string","null"],"format":"date"},"cost_manager_flg":{"type":["boolean","null"]},"analyst_flg":{"type":["boolean","null"]},"punch_correction_flg":{"type":["boolean","null"]},"display_flg":{"type":["boolean","null"]},"memberlist_flg":{"type":["boolean","null"]},"dashboard_flg":{"type":["boolean","null"]},"org_chart_flg":{"type":["boolean","null"]},"employee_code":{"type":["string","null"],"maxLength":50},"employee_identifier":{"type":["string","null"],"maxLength":255},"personal_email":{"type":["string","null"],"format":"email","maxLength":255},"personal_tel":{"type":["string","null"],"maxLength":20},"emergency_contact_name":{"type":["string","null"],"maxLength":255},"emergency_contact_address":{"type":["string","null"],"maxLength":1000},"emergency_contact_tel":{"type":["string","null"],"maxLength":50},"emergency_contact_relationship":{"type":["string","null"],"maxLength":255},"support_level":{"type":["string","null"],"enum":["admin","editor","none",null]},"inquiry_level":{"type":["string","null"],"enum":["admin","member","none",null]},"content_management_level":{"type":["string","null"],"enum":["admin","member","none",null]},"project_level":{"type":["string","null"],"enum":["admin","editor","viewer","none",null]},"workflow_level":{"type":["string","null"],"enum":["admin","member","none",null]},"hearing_level":{"type":["string","null"],"enum":["admin","viewer","none",null]},"task_management_level":{"type":["string","null"],"enum":["admin","member","none",null]},"media_file_level":{"type":["string","null"],"enum":["admin","member","none",null]},"sales_level":{"type":["string","null"],"enum":["admin","member","none",null]},"agent_level":{"type":["string","null"],"enum":["admin","member","none",null]},"attendance_level":{"type":["string","null"],"enum":["admin","paid_leave_admin","member","none",null]},"report_level":{"type":["string","null"],"enum":["admin","member","none",null]},"hr_management_level":{"type":["string","null"],"enum":["admin","member","none",null]},"analysis_level":{"type":["string","null"],"enum":["admin","member","none",null]},"learning_level":{"type":["string","null"],"enum":["admin","member","none",null]},"expense_level":{"type":["string","null"],"enum":["admin","member","none",null]},"license_management_level":{"type":["string","null"],"enum":["admin","viewer","none",null]},"test_level":{"type":["string","null"],"enum":["admin","member","none",null]},"notes_level":{"type":["string","null"],"enum":["admin","member","none",null]},"chat_level":{"type":["string","null"],"enum":["admin","member","none",null]},"wiki_management_level":{"type":["string","null"],"enum":["admin","editor","viewer","none",null]},"meeting_minutes_level":{"type":["string","null"],"enum":["admin","member","none",null]},"customer_level":{"type":["string","null"],"enum":["admin","editor","viewer","none",null]},"survey_level":{"type":["string","null"],"enum":["admin","member","none",null]},"organization_survey_level":{"type":["string","null"],"enum":["admin","member","none",null]},"feedback_level":{"type":["string","null"],"enum":["admin","member","none",null]},"equipment_management_level":{"type":["string","null"],"enum":["admin","member","none",null]},"floor_map_level":{"type":["string","null"],"enum":["admin","member","none",null]},"ojt_level":{"type":["string","null"],"enum":["admin","member","none",null]},"policy_management_level":{"type":["string","null"],"enum":["admin","member","none",null]},"faq_management_level":{"type":["string","null"],"enum":["admin","member","none",null]},"announcement_management_level":{"type":["string","null"],"enum":["admin","member","none",null]},"domain_knowledge_level":{"type":["string","null"],"enum":["admin","member","none",null]},"publicity_level":{"type":["string","null"],"enum":["admin","member","none",null]},"recreation_level":{"type":["string","null"],"enum":["admin","member","none",null]},"requirements_definition_level":{"type":["string","null"],"enum":["admin","member","none",null]},"secrets_level":{"type":["string","null"],"enum":["admin","member","none",null]},"corporate_management_level":{"type":["string","null"],"enum":["admin","member","none",null]},"support_management_level":{"type":["string","null"],"enum":["admin","member","none",null]}},"title":"UserBasicUpdateRequest"}},"resultPath":null,"risk":"write","aliases":[]},
|
|
15
15
|
{"name":"update-user-seal-impression","domain":"user-management","operationId":"userManagement.updateUserSealImpression","method":"PUT","path":"/v2/admin/users/{id}/seal-impression","summary":"管理者がメンバーの印影設定を更新 (PUT /admin/users/{id}/seal-impression)","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"attachment_id":{"type":["string","null"],"format":"uuid"}}}},"resultPath":null,"risk":"write","aliases":[]}
|
|
16
16
|
]
|
|
17
17
|
}
|
package/command-model/user.json
CHANGED
|
@@ -5,10 +5,12 @@
|
|
|
5
5
|
{"name":"add-git-hub-account","domain":"user","operationId":"user.addGitHubAccount","method":"POST","path":"/v2/user/external-integrations/github","summary":"GitHubアカウントを追加","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"host":{"type":"string","pattern":"^[a-zA-Z0-9.-]+$","maxLength":255},"token":{"type":"string"},"email":{"type":["string","null"],"format":"email","maxLength":255},"username":{"type":["string","null"],"maxLength":255}},"required":["host","token"]}},"resultPath":null,"risk":"write","aliases":[]},
|
|
6
6
|
{"name":"add-notion-workspace","domain":"user","operationId":"user.addNotionWorkspace","method":"POST","path":"/v2/user/external-integrations/notion","summary":"Notionワークスペースを追加","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"token":{"type":"string"},"workspace_name":{"type":["string","null"],"maxLength":255}},"required":["token"]}},"resultPath":null,"risk":"write","aliases":[]},
|
|
7
7
|
{"name":"add-redmine-server","domain":"user","operationId":"user.addRedmineServer","method":"POST","path":"/v2/user/external-integrations/redmine","summary":"Redmine接続先を追加","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"base_url":{"type":"string","format":"uri","maxLength":255},"api_key":{"type":"string","maxLength":255},"name":{"type":["string","null"],"maxLength":100}},"required":["base_url","api_key"],"title":"SaveRedmineServerRequest"}},"resultPath":null,"risk":"write","aliases":[]},
|
|
8
|
+
{"name":"add-slack-workspace","domain":"user","operationId":"user.addSlackWorkspace","method":"POST","path":"/v2/user/external-integrations/slack","summary":"Slackワークスペースを追加","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"token":{"type":"string","pattern":"^(xoxe\\.)?xoxp-[\\w.-]+$","maxLength":255},"workspace_name":{"type":["string","null"],"maxLength":255}},"required":["token"],"title":"SaveSlackWorkspaceRequest"}},"resultPath":null,"risk":"write","aliases":[]},
|
|
8
9
|
{"name":"delete-backlog-space","domain":"user","operationId":"user.deleteBacklogSpace","method":"DELETE","path":"/v2/user/external-integrations/backlog/{id}","summary":"Backlogスペースを削除","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":null,"risk":"destructive","aliases":[]},
|
|
9
10
|
{"name":"delete-git-hub-account","domain":"user","operationId":"user.deleteGitHubAccount","method":"DELETE","path":"/v2/user/external-integrations/github/{id}","summary":"GitHubアカウントを削除","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":null,"risk":"destructive","aliases":[]},
|
|
10
11
|
{"name":"delete-notion-workspace","domain":"user","operationId":"user.deleteNotionWorkspace","method":"DELETE","path":"/v2/user/external-integrations/notion/{id}","summary":"Notionワークスペースを削除","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":null,"risk":"destructive","aliases":[]},
|
|
11
12
|
{"name":"delete-redmine-server","domain":"user","operationId":"user.deleteRedmineServer","method":"DELETE","path":"/v2/user/external-integrations/redmine/{id}","summary":"Redmine接続先を削除","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":"","risk":"destructive","aliases":[]},
|
|
13
|
+
{"name":"delete-slack-workspace","domain":"user","operationId":"user.deleteSlackWorkspace","method":"DELETE","path":"/v2/user/external-integrations/slack/{id}","summary":"Slackワークスペースを削除(Slack 側のトークン失効は best-effort。失敗しても削除は成功とする)","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":"","risk":"destructive","aliases":[]},
|
|
12
14
|
{"name":"get-ai-plugin-settings","domain":"user","operationId":"user.getAiPluginSettings","method":"GET","path":"/v2/user/ai-plugin-settings","summary":"Get the authenticated user's AI plugin settings.","pathParams":[],"queryParams":[],"body":null,"resultPath":null,"risk":"read","aliases":[]},
|
|
13
15
|
{"name":"get-avatar","domain":"user","operationId":"user.getAvatar","method":"GET","path":"/v2/user/avatar","summary":"Get the authenticated user's avatar settings","pathParams":[],"queryParams":[],"body":null,"resultPath":null,"risk":"read","aliases":[]},
|
|
14
16
|
{"name":"get-external-integrations","domain":"user","operationId":"user.getExternalIntegrations","method":"GET","path":"/v2/user/external-integrations","summary":"外部システム連携一覧を取得","pathParams":[],"queryParams":[],"body":null,"resultPath":null,"risk":"read","aliases":[]},
|
|
@@ -23,6 +25,7 @@
|
|
|
23
25
|
{"name":"test-git-hub-connection","domain":"user","operationId":"user.testGitHubConnection","method":"POST","path":"/v2/user/external-integrations/github/{id}/test","summary":"GitHub接続テスト","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":null,"risk":"write","aliases":[]},
|
|
24
26
|
{"name":"test-notion-connection","domain":"user","operationId":"user.testNotionConnection","method":"POST","path":"/v2/user/external-integrations/notion/{id}/test","summary":"Notion接続テスト","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":null,"risk":"write","aliases":[]},
|
|
25
27
|
{"name":"test-redmine-connection","domain":"user","operationId":"user.testRedmineConnection","method":"POST","path":"/v2/user/external-integrations/redmine/{id}/test","summary":"Redmine接続テスト(APIキーの持ち主を取得する)","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":null,"risk":"write","aliases":[]},
|
|
28
|
+
{"name":"test-slack-connection","domain":"user","operationId":"user.testSlackConnection","method":"POST","path":"/v2/user/external-integrations/slack/{id}/test","summary":"Slack接続テスト(トークンの持ち主を取得する)","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":null,"risk":"write","aliases":[]},
|
|
26
29
|
{"name":"update","domain":"user","operationId":"user.update","method":"PUT","path":"/v2/user","summary":"Update the authenticated user's profile.","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"name":{"type":"string","maxLength":255},"personal_email":{"type":["string","null"],"format":"email","maxLength":255},"personal_tel":{"type":["string","null"],"maxLength":50},"emergency_contact_name":{"type":["string","null"],"maxLength":255},"emergency_contact_address":{"type":["string","null"],"maxLength":1000},"emergency_contact_tel":{"type":["string","null"],"maxLength":50},"emergency_contact_relationship":{"type":["string","null"],"maxLength":255},"note_nickname":{"type":["string","null"],"maxLength":50}},"required":["name"]}},"resultPath":null,"risk":"write","aliases":[]},
|
|
27
30
|
{"name":"update-ai-plugin-settings","domain":"user","operationId":"user.updateAiPluginSettings","method":"PUT","path":"/v2/user/ai-plugin-settings","summary":"Update the authenticated user's AI plugin settings","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"settings":{"type":"array","items":{"type":"boolean"},"minItems":1}},"required":["settings"]}},"resultPath":null,"risk":"write","aliases":[]},
|
|
28
31
|
{"name":"update-avatar","domain":"user","operationId":"user.updateAvatar","method":"PUT","path":"/v2/user/avatar","summary":"Update the authenticated user's avatar settings","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"attachment_id":{"type":["string","null"],"format":"uuid"}}}},"resultPath":null,"risk":"write","aliases":[]},
|
|
@@ -34,6 +37,7 @@
|
|
|
34
37
|
{"name":"update-password","domain":"user","operationId":"user.updatePassword","method":"PUT","path":"/v2/user/password","summary":"Update the authenticated user's password","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"current_password":{"type":"string"},"password":{"type":"string"},"password_confirmation":{"type":"string"}},"required":["current_password","password","password_confirmation"]}},"resultPath":null,"risk":"write","aliases":[]},
|
|
35
38
|
{"name":"update-redmine-server","domain":"user","operationId":"user.updateRedmineServer","method":"PUT","path":"/v2/user/external-integrations/redmine/{id}","summary":"Redmine接続先を更新","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"base_url":{"type":"string","format":"uri","maxLength":255},"api_key":{"type":"string","maxLength":255},"name":{"type":["string","null"],"maxLength":100}},"title":"SaveRedmineServerRequest"}},"resultPath":null,"risk":"write","aliases":[]},
|
|
36
39
|
{"name":"update-seal-impression","domain":"user","operationId":"user.updateSealImpression","method":"PUT","path":"/v2/user/seal-impression","summary":"Update the authenticated user's seal impression settings","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"attachment_id":{"type":["string","null"],"format":"uuid"}}}},"resultPath":null,"risk":"write","aliases":[]},
|
|
40
|
+
{"name":"update-slack-workspace","domain":"user","operationId":"user.updateSlackWorkspace","method":"PUT","path":"/v2/user/external-integrations/slack/{id}","summary":"Slackワークスペースを更新(トークンを差し替えるときだけ auth.test を通す)","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"token":{"type":["string","null"],"pattern":"^(xoxe\\.)?xoxp-[\\w.-]+$","maxLength":255},"workspace_name":{"type":["string","null"],"maxLength":255}},"title":"SaveSlackWorkspaceRequest"}},"resultPath":null,"risk":"write","aliases":[]},
|
|
37
41
|
{"name":"update-two-factor-settings","domain":"user","operationId":"user.updateTwoFactorSettings","method":"PUT","path":"/v2/user/two-factor-settings","summary":"Update the authenticated user's two-factor authentication settings","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"two_factor_authentication_type":{"type":"string","enum":["0","1","2"]}},"required":["two_factor_authentication_type"]}},"resultPath":null,"risk":"write","aliases":[]}
|
|
38
42
|
]
|
|
39
43
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRequire as __twpCreateRequire } from 'node:module';
|
|
2
2
|
const require = __twpCreateRequire(import.meta.url);
|
|
3
|
-
import{SCHEDULE_HELP,parseSchedule}from"./chunk-
|
|
3
|
+
import{SCHEDULE_HELP,parseSchedule}from"./chunk-G5YZ6JDI.js";import"./chunk-WVCEKC7V.js";import{charCount,readBody}from"./chunk-HEH3PUW2.js";import"./chunk-W4NLJ2YK.js";import"./chunk-BD7O73GK.js";import"./chunk-VGT2EGH6.js";import{AGENT_REPOSITORIES_PATH,AGENT_SCHEDULES_PATH,AGENT_SESSIONS_PATH}from"./chunk-A7MM5WSC.js";import{isSafePathSegment}from"./chunk-HVZUXLQ4.js";import{ApiError}from"./chunk-JA5A6UJ2.js";import"./chunk-MMVXE2CJ.js";
|
|
4
4
|
import"./chunk-SBRTBKEZ.js";import{LIST_FLAGS,LIST_PAGING_HELP,envelopePaging,nonEmpty,positiveInteger}from"./chunk-MI6HVYR2.js";import{requireResolved,withResolved}from"./chunk-PS5QFKHB.js";import{isRecord,pick}from"./chunk-3ZRMMBP5.js";import{ApiRejectedError,ApiResponseError,NetworkError,UsageError,WaitTimeoutError}from"./chunk-VFPY2A23.js";import{NotLoggedInError,SessionExpiredError}from"./chunk-XNLIEUAW.js";import"./chunk-J7QYPKVK.js";import"./chunk-EDF4U5BT.js";
|
|
5
5
|
import"./chunk-RZVI6PMW.js";import"./chunk-OKATZ4SN.js";import"./chunk-NHYMHCAT.js";import"./chunk-VSJBJXZO.js";var LABEL="\u5B9A\u671F\u5B9F\u884C";var LIST_COLUMNS=["schedule_id","name","enabled","schedule","repository_full_name","next_run_at","last_run_at","disabled_reason","owner_user_id"];var GET_COLUMNS=["schedule_id","name","enabled","schedule","repository_full_name","base_branch","ai_provider","ai_model","next_run_at","last_run_at","last_session_id","consecutive_failures","disabled_reason","owner_user_id","can_edit","can_disable","created_at","updated_at"];var RUN_COLUMNS=["run_id","created_at","t\
|
|
6
6
|
rigger","result","skip_reason","session_id","pr_url","error_message"];var NAME_MAX_CHARS=100;var INSTRUCTION_MAX_CHARS=1e4;var RUNS_MAX_LIMIT=100;var FORBIDDEN="AI\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u6A5F\u80FD\u306E\u30E9\u30A4\u30BB\u30F3\u30B9\uFF08agent\uFF09\u304C\u3042\u306A\u305F\u306E\u30A2\u30AB\u30A6\u30F3\u30C8\u306B\u5272\u308A\u5F53\u3066\u3089\u308C\u3066\u3044\u306A\u3044\u304B\u3001\u4ED6\u30E6\u30FC\u30B6\u30FC\u306E\u5B9A\u671F\u5B9F\u884C\u3092\u5909\u66F4\u3057\u3088\u3046\u3068\u3057\u3066\u3044\u307E\u3059\u3002\u7DE8\u96C6\u30FB\u524A\u9664\u30FB\u6709\u52B9\u5316\u30FB\u4ECA\u3059\u3050\u5B9F\u884C\u306F\u30AA\u30FC\u30CA\u30FC\u672C\u4EBA\u3060\u3051\u3001\u7121\u52B9\u5316\u306F\u30AA\u30FC\u30CA\u30FC\u3068\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u7BA1\u7406\u8005\u304C\u3067\u304D\u307E\u3059\u3002";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRequire as __twpCreateRequire } from 'node:module';
|
|
2
2
|
const require = __twpCreateRequire(import.meta.url);
|
|
3
|
-
import{stepToItem}from"./chunk-2UTJI3BT.js";import"./chunk-VEEZJNOB.js";import{loadLocalConfig}from"./chunk-
|
|
3
|
+
import{stepToItem}from"./chunk-2UTJI3BT.js";import"./chunk-VEEZJNOB.js";import{loadLocalConfig}from"./chunk-LEZ576RA.js";import{parseOperations}from"./chunk-S5MDCZEF.js";import"./chunk-VYDPW2YO.js";import"./chunk-TTST7UDR.js";import{loadAiConfig}from"./chunk-ZFSWQQH3.js";import{SKILL_PREFIX_RE,setSkillPrefix}from"./chunk-6CS5L24D.js";import"./chunk-N2UVRM3Z.js";import"./chunk-UZUV5FYG.js";import{PRIVATE_PROJECT_PREFIX,PRIVATE_PROJECT_REF,
|
|
4
4
|
isPrivateProjectRef,privateProjectId}from"./chunk-RMFLTSOV.js";import"./chunk-BD7O73GK.js";import"./chunk-SBRTBKEZ.js";import{LIST_FLAGS,LIST_PAGING_HELP,envelopePaging,nonEmpty,positiveInteger}from"./chunk-MI6HVYR2.js";import{requireResolved,singleRef,withResolved}from"./chunk-PS5QFKHB.js";import{acknowledgement,isRecord,pick}from"./chunk-3ZRMMBP5.js";import{ApiResponseError,UsageError}from"./chunk-VFPY2A23.js";import"./chunk-PMOUHEJQ.js";import"./chunk-J7QYPKVK.js";
|
|
5
5
|
import"./chunk-5WGOHFAS.js";import"./chunk-RZVI6PMW.js";import"./chunk-NHYMHCAT.js";import"./chunk-VSJBJXZO.js";var LABEL="\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u30EB\u30FC\u30D7\u306E\u30A2\u30A4\u30C6\u30E0";var STATUSES=["pending","processing","completed","failed"];var AI_TYPES=["claude","gemini","codex","copilot"];var EFFORTS=["low","medium","high","xhigh","max"];var PRIORITIES=["P0","P1","P2","P3"];var LIST_COLUMNS=["item_id","status","task_key","label","ai_type","ai_effort","runner_id","created_at"];var GET_COLUMNS=["item_id","status","task_key","label","prompt","ai_type","ai_model","ai_effort","runn\
|
|
6
6
|
er_id","attempt_count","reclaim_count","error_message","created_by_name","created_at","started_at","completed_at"];var HISTORY_COLUMNS=["item_id","status","task_key","skill","ai_type","runner_id","duration_ms","cost_usd","created_at"];var PLAN_RESULTS=["enqueued","empty","json_not_found","ai_failed","error","skipped","gated","locked","abandoned"];var PLAN_HISTORY_COLUMNS=["plan_run_id","result","runner_id","ai_type","duration_ms","cost_usd","step_count","started_at"];var PROJECT_FLAG={name:"--pr\
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createRequire as __twpCreateRequire } from 'node:module';
|
|
2
2
|
const require = __twpCreateRequire(import.meta.url);
|
|
3
|
-
import{DEPARTMENT_FLAG,FROM_FLAG,MANHOUR_DESCRIPTION,MANHOUR_FROM_FLAG,MANHOUR_TO_FLAG,MONTH_FLAG,TO_FLAG,USER_FLAG,analysisDomain,analysisForbidden,currentMonth,dataOf,levelGuidance,listIn,manhourNotes,manhourQuery,manhourRows,monthColumns,monthRange,monthsBetween,noArgs,periodNote,profitRows,rangeNotes,recordOf,resolveFilters,resolvedOrUndefined,responseMonths,staffKpiRows,workloadDistributionNotes,workloadDistributionRows}from"./chunk-
|
|
4
|
-
import"./chunk-
|
|
3
|
+
import{DEPARTMENT_FLAG,FROM_FLAG,MANHOUR_DESCRIPTION,MANHOUR_FROM_FLAG,MANHOUR_TO_FLAG,MONTH_FLAG,TO_FLAG,USER_FLAG,analysisDomain,analysisForbidden,currentMonth,dataOf,levelGuidance,listIn,manhourNotes,manhourQuery,manhourRows,monthColumns,monthRange,monthsBetween,noArgs,periodNote,profitRows,rangeNotes,recordOf,resolveFilters,resolvedOrUndefined,responseMonths,staffKpiRows,workloadDistributionNotes,workloadDistributionRows}from"./chunk-L4THNX4M.js";import"./chunk-KPLC3UP7.js";import"./chunk-UVCJXHWN.js";
|
|
4
|
+
import"./chunk-IOVZDBAD.js";import"./chunk-EXT4AIDF.js";import"./chunk-JJSBBWJ5.js";import"./chunk-HEH3PUW2.js";import"./chunk-W4NLJ2YK.js";import"./chunk-BD7O73GK.js";import"./chunk-VGT2EGH6.js";import"./chunk-A7MM5WSC.js";import"./chunk-HVZUXLQ4.js";import"./chunk-JA5A6UJ2.js";import"./chunk-MMVXE2CJ.js";import"./chunk-SBRTBKEZ.js";import"./chunk-MI6HVYR2.js";import"./chunk-PS5QFKHB.js";import"./chunk-3ZRMMBP5.js";
|
|
5
5
|
import"./chunk-VFPY2A23.js";import"./chunk-J7QYPKVK.js";import"./chunk-EDF4U5BT.js";import"./chunk-RZVI6PMW.js";import"./chunk-OKATZ4SN.js";import"./chunk-NHYMHCAT.js";import"./chunk-VSJBJXZO.js";export{DEPARTMENT_FLAG,FROM_FLAG,MANHOUR_DESCRIPTION,MANHOUR_FROM_FLAG,MANHOUR_TO_FLAG,MONTH_FLAG,TO_FLAG,USER_FLAG,analysisDomain,analysisForbidden,currentMonth,dataOf,levelGuidance,listIn,manhourNotes,manhourQuery,manhourRows,monthColumns,monthRange,monthsBetween,noArgs,periodNote,profitRows,rangeNotes,recordOf,resolveFilters,resolvedOrUndefined,responseMonths,staffKpiRows,workloadDistributionNotes,workloadDistributionRows};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRequire as __twpCreateRequire } from 'node:module';
|
|
2
2
|
const require = __twpCreateRequire(import.meta.url);
|
|
3
|
-
import{composeDocument,htmlToText,metaLine}from"./chunk-62GRAKUD.js";import{boundedText}from"./chunk-JJSBBWJ5.js";import{readBody}from"./chunk-HEH3PUW2.js";import"./chunk-W4NLJ2YK.js";import"./chunk-BD7O73GK.js";import{ANNOUNCEMENTS_PATH}from"./chunk-
|
|
3
|
+
import{composeDocument,htmlToText,metaLine}from"./chunk-62GRAKUD.js";import{boundedText}from"./chunk-JJSBBWJ5.js";import{readBody}from"./chunk-HEH3PUW2.js";import"./chunk-W4NLJ2YK.js";import"./chunk-BD7O73GK.js";import{ANNOUNCEMENTS_PATH}from"./chunk-A7MM5WSC.js";import{isSafePathSegment}from"./chunk-HVZUXLQ4.js";import"./chunk-JA5A6UJ2.js";import"./chunk-MMVXE2CJ.js";import"./chunk-SBRTBKEZ.js";import{LIST_FLAGS,LIST_PAGING_HELP,envelopePaging,
|
|
4
4
|
positiveInteger}from"./chunk-MI6HVYR2.js";import{requireResolved,withResolved}from"./chunk-PS5QFKHB.js";import{isRecord,pick}from"./chunk-3ZRMMBP5.js";import{ApiResponseError,UsageError}from"./chunk-VFPY2A23.js";import"./chunk-J7QYPKVK.js";import"./chunk-EDF4U5BT.js";import"./chunk-RZVI6PMW.js";import"./chunk-NHYMHCAT.js";import"./chunk-VSJBJXZO.js";var LABEL="\u304A\u77E5\u3089\u305B";var LIST_COLUMNS=["id","publish_start_at","sender_name","category_name","title","is_read","require_confirmation","is_confirmed"];var UNCONFIRMED_COLUMNS=["id","publish_start_at","publish_end_at","importance","title"];var GET_COLUMNS=["id","title","sender_name","category_name","importance_name","publish_start_at","publish_end_at","is_organization","is_read","require_confirmation","is_confirmed","allow_replies","link_url"];var REPLY_COLUMNS=["id","created_at","\
|
|
5
5
|
user_name","is_mine","content"];var REPLY_MAX_CHARS=2e3;function noArgs(input,op){if(input.args.length>0){throw new UsageError(`${op} \u306F\u4F4D\u7F6E\u5F15\u6570\u3092\u53D6\u308A\u307E\u305B\u3093: ${input.args.join(" ")}`,`twp announcement ${op} help`)}}function checkId(raw,help){const id=raw.trim();if(id==="")throw new UsageError("\u304A\u77E5\u3089\u305B\u306E ID \u3092\u6307\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",help);if(!isSafePathSegment(id)){throw new UsageError(`\u304A\u77E5\u3089\u305B\u306E ID \u3068\u3057\u3066\u4F7F\u3048\u306A\u3044\
|
|
6
6
|
\u5024\u3067\u3059: ${id}`,"\u304A\u77E5\u3089\u305B\u306E ID \u306F twp announcement list \u306E id \u5217\u3067\u78BA\u8A8D\u3067\u304D\u307E\u3059\u3002")}return id}function announcementId(input,op){const help=`twp announcement ${op} help`;const[raw,...rest]=input.args;if(rest.length>0)throw new UsageError(`${op} \u304C\u53D7\u3051\u53D6\u308C\u308B\u304A\u77E5\u3089\u305B ID \u306F1\u3064\u3060\u3051\u3067\u3059: ${rest.join(" ")}`,help);return checkId(raw??"",help)}function announcementIds(input){
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __twpCreateRequire } from 'node:module';
|
|
2
2
|
const require = __twpCreateRequire(import.meta.url);
|
|
3
|
-
import{CommandModelMissingError,MAX_REPORTED_VIOLATIONS,loadCommandModelDomain,loadCommandModelRoutes,validateBody,validateQuery}from"./chunk-CDAU3M7F.js";import{exitCodeFor,fetchAllPages,reportError}from"./chunk-
|
|
4
|
-
import{readBody}from"./chunk-HEH3PUW2.js";import{ALLOW_REDACTED_FLAG,NO_REDACT_FLAG,NO_REDACT_NOTICE}from"./chunk-W4NLJ2YK.js";import{redactSecretValues,redactSecrets,withDebug}from"./chunk-BD7O73GK.js";import{parseOperationArgs,repeatedValues}from"./chunk-VGT2EGH6.js";import"./chunk-
|
|
3
|
+
import{CommandModelMissingError,MAX_REPORTED_VIOLATIONS,loadCommandModelDomain,loadCommandModelRoutes,validateBody,validateQuery}from"./chunk-CDAU3M7F.js";import{exitCodeFor,fetchAllPages,reportError}from"./chunk-5R5Z6KHV.js";import"./chunk-BBV5NLQZ.js";import{evaluateQuery}from"./chunk-GFLGXGWE.js";import{renderOutput}from"./chunk-P4QSPSOQ.js";import"./chunk-Q3B65OFC.js";import{describeWaitResult,parseWaitOptions,waitUntilTerminal}from"./chunk-WVCEKC7V.js";
|
|
4
|
+
import{readBody}from"./chunk-HEH3PUW2.js";import{ALLOW_REDACTED_FLAG,NO_REDACT_FLAG,NO_REDACT_NOTICE}from"./chunk-W4NLJ2YK.js";import{redactSecretValues,redactSecrets,withDebug}from"./chunk-BD7O73GK.js";import{parseOperationArgs,repeatedValues}from"./chunk-VGT2EGH6.js";import"./chunk-A7MM5WSC.js";import"./chunk-HVZUXLQ4.js";import{ApiError,TwpApiClient,appendQuery}from"./chunk-JA5A6UJ2.js";import"./chunk-MMVXE2CJ.js";import"./chunk-SBRTBKEZ.js";
|
|
5
5
|
import{DEFAULT_MAX_ITEMS,DEFAULT_MAX_PAGES,envelopePaging,isPageNumberEnvelope,pageRangeNotes,positiveInteger,readEnvelopeCursor,readPageNumberCursor,shellQuote}from"./chunk-MI6HVYR2.js";import"./chunk-3ZRMMBP5.js";import{ApiResponseError,EXIT_OK,EXIT_WAIT_TIMEOUT,NetworkError,UsageError}from"./chunk-VFPY2A23.js";import{GLOBAL_OPTIONS_HELP}from"./chunk-KIZIRVW6.js";import{AuthSession,NotLoggedInError,SessionExpiredError,loadCredentials}from"./chunk-XNLIEUAW.js";import{
|
|
6
6
|
httpFetch}from"./chunk-J7QYPKVK.js";import{effectiveApiUrl,resolveConfiguredOutput,resolveProfile}from"./chunk-EDF4U5BT.js";import"./chunk-RZVI6PMW.js";import{HELP_TOKEN}from"./chunk-AAABT3AX.js";import"./chunk-OKATZ4SN.js";import{OUTPUT_FORMATS,resolveOutputFormat}from"./chunk-RKBUJKI5.js";import"./chunk-UREA4ZIG.js";import{stripTerminalControls}from"./chunk-NHYMHCAT.js";import"./chunk-VSJBJXZO.js";var MIN_SEGMENT_CHARS=3;var parsedCache=new WeakMap;function splitSegments(path){return path.split("/").filter(segment=>segment!=="")}function parseRoutes(routes){const cached=parsedCache.get(routes);if(cached!==void 0)return cached;const parsed=[];for(const[key,domain]of Object.entries(routes.routes)){const space=key.indexOf(" ");if(space<=0)continue;const template=key.slice(space+1);parsed.push({method:key.slice(0,space),template,domain,segments:splitSegments(template).map(segment=>/^\{[^/{}]+\}$/.
|
|
7
7
|
test(segment)?null:segment)})}parsedCache.set(routes,parsed);return parsed}function matches(route,segments){if(route.segments.length!==segments.length)return false;return route.segments.every((literal,i)=>literal===null||literal===segments[i])}function compareSpecificity(a,b){const literals=route=>route.segments.filter(segment=>segment!==null).length;const diff=literals(b)-literals(a);if(diff!==0)return diff;for(let i=0;i<a.segments.length;i+=1){const aLiteral=a.segments[i]!==null;const bLiteral=b.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRequire as __twpCreateRequire } from 'node:module';
|
|
2
2
|
const require = __twpCreateRequire(import.meta.url);
|
|
3
|
-
import{repeatedValues}from"./chunk-VGT2EGH6.js";import{API_KEYS_PATH}from"./chunk-
|
|
3
|
+
import{repeatedValues}from"./chunk-VGT2EGH6.js";import{API_KEYS_PATH}from"./chunk-A7MM5WSC.js";import{isSafePathSegment}from"./chunk-HVZUXLQ4.js";import"./chunk-JA5A6UJ2.js";import"./chunk-MMVXE2CJ.js";import"./chunk-SBRTBKEZ.js";import{nonEmpty}from"./chunk-MI6HVYR2.js";import{requireResolved,singleRef,withResolved}from"./chunk-PS5QFKHB.js";import{isRecord,pick}from"./chunk-3ZRMMBP5.js";import{ApiResponseError,UsageError}from"./chunk-VFPY2A23.js";
|
|
4
4
|
import"./chunk-J7QYPKVK.js";import"./chunk-EDF4U5BT.js";import"./chunk-RZVI6PMW.js";import"./chunk-OKATZ4SN.js";import"./chunk-NHYMHCAT.js";import"./chunk-VSJBJXZO.js";import fs from"fs";import path from"path";var LABEL="API \u30AD\u30FC";var FORBIDDEN="\u7D44\u7E54\u7BA1\u7406\u8005\u306E\u6A29\u9650\u304C\u5FC5\u8981\u3067\u3059\u3002\u30C6\u30CA\u30F3\u30C8 API \u30AD\u30FC\u306F\u7D44\u7E54\u7BA1\u7406\u8005\u3060\u3051\u304C\u6271\u3048\u307E\u3059";var LIST_COLUMNS=["id","name","key_prefix","status","permissions","expires_at","last_used_at","created_at"];var GET_COLUMNS=["id","name","description","key_prefix","status","permissions","expires_at","last_used_at","created_at","updated_at"];var PERMISSION_COLUMNS=[
|
|
5
5
|
"value","label","category","description"];var STATUS_VALUES=["active","inactive"];var REF_HELP="<\u30AD\u30FC> \u306F API \u30AD\u30FC\u306E ID\u30FB\u540D\u524D\u30FB\u30AD\u30FC\u306E\u5148\u982D8\u6587\u5B57\uFF08key_prefix\u3002\u4F8B twpk_AbC\uFF09\u3067\u6307\u5B9A\u3067\u304D\u307E\u3059\u3002\nID \u4EE5\u5916\u306F\u4E00\u89A7\u3068\u7167\u5408\u3057\u307E\u3059\uFF08\u30AD\u30E3\u30C3\u30B7\u30E5\u3057\u306A\u3044\uFF09\u3002\u540D\u524D\u304C\u8907\u6570\u306B\u4E00\u81F4\u3059\u308C\u3070\u5019\u88DC\u3092\u51FA\u3057\u3066\u6B62\u307E\u308A\u307E\u3059\u3002";
|
|
6
6
|
var CREATOR_NOTE="\u4F5C\u6210\u8005\u306F\u30B5\u30FC\u30D0\u306E\u5FDC\u7B54\u306B\u542B\u307E\u308C\u306A\u3044\u305F\u3081\u8868\u793A\u3067\u304D\u307E\u305B\u3093\u3002last_used_at \u306F\u5916\u90E8 API \u3067\u306E\u5229\u7528\u3067\u306F\u66F4\u65B0\u3055\u308C\u307E\u305B\u3093\uFF08\u30AD\u30FC\u3092\u4F7F\u3063\u3066\u3082 null \u306E\u307E\u307E\uFF09\u3002\u68DA\u5378\u3057\u306E\u6839\u62E0\u306B\u3057\u306A\u3044\u3067\u304F\u3060\u3055\u3044\u3002";var PROPAGATION_NOTE="\u5916\u90E8 API \u306F\
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __twpCreateRequire } from 'node:module';
|
|
2
2
|
const require = __twpCreateRequire(import.meta.url);
|
|
3
3
|
import{RESIDENT_TOKEN_CAP,activateModeFiles,activatePermissionSettings,buildResidentSet,buildSystemPrompt,createAuditLogger,createTwpToolkit,currentBranch,describeAuditLog,describeToolCatalog,displayCwd,executeTool,findProjectTwpSubdir,localTools,lstatOrNull,parseFrontMatter,parseRule,persistProjectAllow,projectPermissionsPath,projectRootFor,readFileTool,residentInputs,resolveGitExecutable,runTurn,secretReason}from"./chunk-6R6CY6KM.js";import"./chunk-CDAU3M7F.js";import{buildDiffLines,
|
|
4
|
-
diffStat}from"./chunk-VRBI2NPI.js";import{require_fuzzysort}from"./chunk-DIMZRTLE.js";import"./chunk-N2UVRM3Z.js";import"./chunk-BD7O73GK.js";import"./chunk-
|
|
4
|
+
diffStat}from"./chunk-VRBI2NPI.js";import{require_fuzzysort}from"./chunk-DIMZRTLE.js";import"./chunk-N2UVRM3Z.js";import"./chunk-BD7O73GK.js";import"./chunk-A7MM5WSC.js";import"./chunk-HVZUXLQ4.js";import"./chunk-JA5A6UJ2.js";import"./chunk-MMVXE2CJ.js";import"./chunk-SBRTBKEZ.js";import"./chunk-VFPY2A23.js";import{RelayError,builtinCatalog,classifyModelSwitch,createRuntime,formatContextRemaining,loadCachedCatalog,modelLabel,pickModel,specFor,
|
|
5
5
|
toModelInfos}from"./chunk-65SBCDVQ.js";import"./chunk-D233KKXW.js";import"./chunk-PMOUHEJQ.js";import"./chunk-XNLIEUAW.js";import{proxyDiagnostics}from"./chunk-J7QYPKVK.js";import{checkMinSupportedVersion,isBelowMinSupported,minSupportedBlockMessage}from"./chunk-DXXFUNYN.js";import"./chunk-EDF4U5BT.js";import{configReadDirs,twpHomeDir}from"./chunk-RZVI6PMW.js";import{parseArgv}from"./chunk-YNZZRPI3.js";import{applyPermissionMode,checkPermission,
|
|
6
6
|
describePermissionMode,getMode,isModeId,modeSource,nextMode}from"./chunk-2LOT54OO.js";import"./chunk-NJL3H2BB.js";import"./chunk-AAABT3AX.js";import"./chunk-AH4KHEAC.js";import{formatUnknownArgs}from"./chunk-OKATZ4SN.js";import{isFullWidth,isWide,stringWidth,stripAnsi}from"./chunk-UREA4ZIG.js";import{stripTerminalControls}from"./chunk-NHYMHCAT.js";import{__commonJS,__export,__require,__toESM}from"./chunk-VSJBJXZO.js";var require_react_production=__commonJS({"node_modules/react/cjs/react.production.js"(exports){"use strict";var REACT_ELEMENT_TYPE=Symbol.for("react.transitional.element");var REACT_PORTAL_TYPE=Symbol.for("react.portal");var REACT_FRAGMENT_TYPE=Symbol.for("react.fragment");var REACT_STRICT_MODE_TYPE=Symbol.for("react.strict_mode");var REACT_PROFILER_TYPE=Symbol.for("react.profiler");var REACT_CONSUMER_TYPE=Symbol.for("react.consumer");var REACT_CONTEXT_TYPE=Symbol.for("react.context");var REACT_FORWARD_REF_TYPE=Symbol.
|
|
7
7
|
for("react.forward_ref");var REACT_SUSPENSE_TYPE=Symbol.for("react.suspense");var REACT_MEMO_TYPE=Symbol.for("react.memo");var REACT_LAZY_TYPE=Symbol.for("react.lazy");var REACT_ACTIVITY_TYPE=Symbol.for("react.activity");var REACT_VIEW_TRANSITION_TYPE=Symbol.for("react.view_transition");var MAYBE_ITERATOR_SYMBOL=Symbol.iterator;function getIteratorFn(maybeIterable){if(null===maybeIterable||"object"!==typeof maybeIterable)return null;maybeIterable=MAYBE_ITERATOR_SYMBOL&&maybeIterable[MAYBE_ITERATOR_SYMBOL]||
|
|
@@ -1212,7 +1212,7 @@ cwd()){const listed=await gitListFiles(cwd2);const raw=listed??await walkFiles(c
|
|
|
1212
1212
|
1;const after=/^[^\s]*/.exec(text.slice(cursor))?.[0]??"";return{query,start,end:cursor+after.length}}var TWP_SLASH_ROUTES={"/tasks":{domain:"task",operation:"list"},"/task":{domain:"task",operation:"get"},"/projects":{domain:"project",operation:"list"}};function isTwpSlashCommand(name){return Object.hasOwn(TWP_SLASH_ROUTES,name)}async function runTwpSlashCommand(name,args,deps){const route=TWP_SLASH_ROUTES[name];if(!Object.hasOwn(TWP_SLASH_ROUTES,name)||route===void 0){return{code:2,out:"",err:`\u4E0D\u660E\u306A\u30B3\u30DE\u30F3\u30C9: ${name}
|
|
1213
1213
|
`}}const parsed=parseArgv([route.domain,route.operation,...args]);if(parsed.command!=="domain"||parsed.domain!==route.domain){return{code:2,out:"",err:`${name}: \u3053\u306E\u5F15\u6570\u306F\u4F7F\u3048\u307E\u305B\u3093\uFF08${args.join(" ")}\uFF09
|
|
1214
1214
|
`}}if(parsed.unknown.length>0){return{code:2,out:"",err:`\u4E0D\u660E\u306A\u5F15\u6570: ${formatUnknownArgs(parsed.unknown)}
|
|
1215
|
-
`}}let out="";let err="";const io={out:text=>void(out+=text),err:text=>void(err+=text),isTty:true};const globals={profile:parsed.profile??deps.profile,...parsed.output!==void 0?{output:parsed.output}:{},...parsed.query!==void 0?{query:parsed.query}:{},dryRun:parsed.dryRun,debug:parsed.debug,yes:parsed.yes,refresh:parsed.refresh};const{runDomain}=await import("./run-
|
|
1215
|
+
`}}let out="";let err="";const io={out:text=>void(out+=text),err:text=>void(err+=text),isTty:true};const globals={profile:parsed.profile??deps.profile,...parsed.output!==void 0?{output:parsed.output}:{},...parsed.query!==void 0?{query:parsed.query}:{},dryRun:parsed.dryRun,debug:parsed.debug,yes:parsed.yes,refresh:parsed.refresh};const{runDomain}=await import("./run-ISFJYA2U.js");try{const code=await runDomain({domain:route.domain,...parsed.operation!==void 0?{operation:parsed.operation}:
|
|
1216
1216
|
{},argv:parsed.domainArgv,help:parsed.domainHelp,globals,version:deps.version,io,...deps.fetchImpl!==void 0?{fetchImpl:deps.fetchImpl}:{}});return{code,out,err}}catch(e){return{code:1,out,err:`${err}${e.message}
|
|
1217
1217
|
`}}}var GIT_LOG_OUTPUT=["9f3c1a2 feat(ui): \u4E00\u89A7\u306E\u30D5\u30A3\u30EB\u30BF\u3092 URL \u30AF\u30A8\u30EA\u3068\u540C\u671F\u3059\u308B","4b8e0d7 fix(ui): \u4EEE\u60F3\u30B9\u30AF\u30ED\u30FC\u30EB\u306E\u884C\u9AD8\u3055\u3092\u5B9F\u6E2C\u5024\u306B\u5408\u308F\u305B\u308B","c15a99e refactor(api): \u4E00\u89A7\u53D6\u5F97\u306E\u30DA\u30FC\u30B8\u30F3\u30B0\u51E6\u7406\u3092\u5171\u901A\u5316\u3059\u308B","2d70f4b test: \u4E00\u89A7\u30D5\u30A3\u30EB\u30BF\u306E\u56DE\u5E30\u30C6\u30B9\u30C8\u3092\u8FFD\u52A0\u3059\u308B",
|
|
1218
1218
|
"a6e2b38 fix(api): \u7A7A\u306E\u691C\u7D22\u6761\u4EF6\u3067\u5168\u4EF6\u8FD4\u3089\u306A\u3044\u3088\u3046\u306B\u3059\u308B","7c40d51 chore(deps): \u958B\u767A\u4F9D\u5B58\u3092\u6700\u65B0\u3078\u66F4\u65B0\u3059\u308B","e83b1c6 docs: \u30BB\u30C3\u30C8\u30A2\u30C3\u30D7\u624B\u9806\u306B Node 22 \u306E\u524D\u63D0\u3092\u8FFD\u8A18\u3059\u308B","b91f7a4 fix(ui): \u30E2\u30FC\u30C0\u30EB\u306E\u91CD\u306A\u308A\u9806\u3092\u6307\u5B9A\u3059\u308B","5a2c8e0 perf(api): \u4E00\u89A7\u306E N+1 \u3092\u89E3\u6D88\u3059\u308B",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRequire as __twpCreateRequire } from 'node:module';
|
|
2
2
|
const require = __twpCreateRequire(import.meta.url);
|
|
3
|
-
import{PUNCH_TYPES,assertMonthOpen,attendanceDomain}from"./chunk-
|
|
3
|
+
import{PUNCH_TYPES,assertMonthOpen,attendanceDomain}from"./chunk-KPLC3UP7.js";import"./chunk-UVCJXHWN.js";import"./chunk-IOVZDBAD.js";import{dateFlag,monthFlag}from"./chunk-EXT4AIDF.js";import"./chunk-JJSBBWJ5.js";import"./chunk-HEH3PUW2.js";import"./chunk-W4NLJ2YK.js";import"./chunk-BD7O73GK.js";import"./chunk-VGT2EGH6.js";import"./chunk-A7MM5WSC.js";import{isSafePathSegment}from"./chunk-HVZUXLQ4.js";import"./chunk-JA5A6UJ2.js";
|
|
4
4
|
import"./chunk-MMVXE2CJ.js";import"./chunk-SBRTBKEZ.js";import"./chunk-MI6HVYR2.js";import{requireResolved,withResolved}from"./chunk-PS5QFKHB.js";import{isRecord,pick}from"./chunk-3ZRMMBP5.js";import{ApiRejectedError,ApiResponseError,UsageError}from"./chunk-VFPY2A23.js";import"./chunk-J7QYPKVK.js";import"./chunk-EDF4U5BT.js";import"./chunk-RZVI6PMW.js";import"./chunk-OKATZ4SN.js";import"./chunk-NHYMHCAT.js";import"./chunk-VSJBJXZO.js";var CREATE_USAGE="twp attendance record create --date <YYYY-MM-DD> --time <HH:MM> --type <clock-in|clock-out|break-start|break-end|switch> [--project <\u30B3\u30FC\u30C9|ID>] [--task <\u30BF\u30B9\u30AFID>] [--memo <\u30E1\u30E2>]";var UPDATE_USAGE="twp attendance record update <\u8A18\u9332ID> --memo <\u30E1\u30E2> [--month <YYYY-MM>]";var DELETE_USAGE="twp attendance record delete <\u8A18\u9332ID> --reason <\u7406\u7531> --yes [--month <YYYY-MM>]";var MOVE_USAGE="twp attendance record move <\u8A18\u9332\
|
|
5
5
|
ID> --project <\u30B3\u30FC\u30C9|ID> [--month <YYYY-MM>]";var TEXT_MAX=500;var UUID_PATTERN=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;var TIME_PATTERN=/^(\d{2}):(\d{2})(?::(\d{2}))?$/;var CLOSED_REASON="\u30B5\u30FC\u30D0\u306F\u7DE0\u3081\u6E08\u307F\u306E\u6708\u3078\u306E\u4FEE\u6B63\u3092\u62D2\u5426\u305B\u305A\u7DE0\u3081\u306E\u96C6\u8A08\u3092\u6D17\u3044\u66FF\u3048\u308B\u306E\u3067\u3001CLI \u304C\u9001\u308B\u524D\u306B\u6B62\u3081\u3066\u3044\u307E\u3059\u3002";
|
|
6
6
|
var FORBIDDEN="\u81EA\u5206\u306E\u6253\u523B\u306E\u4FEE\u6B63\u306B\u306F\u6253\u523B\u4FEE\u6B63\u306E\u6A29\u9650\uFF08\u30E6\u30FC\u30B6\u30FC\u8A2D\u5B9A\u306E\u300C\u6253\u523B\u4FEE\u6B63\u300D\uFF09\u3068\u52E4\u6020\u306E\u5229\u7528\u6A29\u9650\u304C\u5FC5\u8981\u3067\u3059\u3002\u30C6\u30CA\u30F3\u30C8\u306E\u7BA1\u7406\u8005\u306B\u4ED8\u4E0E\u3092\u4F9D\u983C\u3057\u3066\u304F\u3060\u3055\u3044";var RECORD_COLUMNS=["id","type","type_label","recorded_at","year_month","project_id","t\
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRequire as __twpCreateRequire } from 'node:module';
|
|
2
2
|
const require = __twpCreateRequire(import.meta.url);
|
|
3
|
-
import{hoursMinutes}from"./chunk-
|
|
3
|
+
import{hoursMinutes}from"./chunk-KPLC3UP7.js";import"./chunk-UVCJXHWN.js";import"./chunk-IOVZDBAD.js";import{monthFlag}from"./chunk-EXT4AIDF.js";import"./chunk-JJSBBWJ5.js";import"./chunk-HEH3PUW2.js";import"./chunk-W4NLJ2YK.js";import"./chunk-BD7O73GK.js";import"./chunk-VGT2EGH6.js";import"./chunk-A7MM5WSC.js";import"./chunk-HVZUXLQ4.js";import"./chunk-JA5A6UJ2.js";import"./chunk-MMVXE2CJ.js";import"./chunk-SBRTBKEZ.js";
|
|
4
4
|
import"./chunk-MI6HVYR2.js";import"./chunk-PS5QFKHB.js";import{isRecord,pick}from"./chunk-3ZRMMBP5.js";import{ApiResponseError,UsageError}from"./chunk-VFPY2A23.js";import"./chunk-J7QYPKVK.js";import"./chunk-EDF4U5BT.js";import"./chunk-RZVI6PMW.js";import"./chunk-OKATZ4SN.js";import"./chunk-NHYMHCAT.js";import"./chunk-VSJBJXZO.js";var MONTH_FLAG={name:"--month",summary:"\u5BFE\u8C61\u306E\u5E74\u6708\uFF08YYYY-MM\uFF09",takesValue:true,placeholder:"<YYYY-MM>"};var ME_FLAG={name:"--me",summary:"\u81EA\u5206\u306E\u5206\u3060\u3051\u3092\u8868\u793A\u3059\u308B\uFF08\u7121\u3051\u308C\u3070\u5168\u54E1\u5206\u30FB\u7BA1\u7406\u8005\uFF09",takesValue:false};var FORBIDDEN_ADMIN="\u6A29\u9650\u304C\u8DB3\u308A\u307E\u305B\u3093\u3002\u5168\u54E1\u5206\uFF08--me \u306A\u3057\uFF09\u306F\u52E4\u6020\u306E\u7BA1\u7406\u8005\u6A29\u9650\uFF08\u52E4\u6020: \u7BA1\u7406\u8005\uFF09\u3001\u81EA\u5206\u306E\u5206\uFF08--me\uFF09\u306F\u52E4\u6020\u306E\u5229\u7528\u6A29\u9650\u304C\u8981\u308A\u307E\u3059\u3002\u30C6\u30CA\u30F3\u30C8\u306E\u7BA1\u7406\u8005\u306B\u6A29\u9650\u306E\u4ED8\u4E0E\u3092\u4F9D\u983C\u3057\u3066\u304F\u3060\u3055\u3044";
|
|
5
5
|
function listBody(spec,body){if(!isRecord(body)||!Array.isArray(body[spec.key])){throw new ApiResponseError(`${spec.label}\u306E\u5FDC\u7B54\u306B ${spec.key} \u304C\u3042\u308A\u307E\u305B\u3093\u3002\u63A5\u7D9A\u5148\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002`)}return body}function monthListOperation(spec){const usage=`twp ${spec.domain} list [--month <YYYY-MM>] [--me]`;return{name:"list",summary:`\u6708\u306E${spec.label}\u3092\u4E00\u89A7\u3059\u308B\uFF08--me \u3067\u81EA\u5206\u306E\u5206\u30FB\u7121\u3051\u308C\u3070\u5168\u54E1\u5206\uFF1D\u7BA1\u7406\u8005\uFF09`,
|
|
6
6
|
usage,description:`GET ${spec.path} \u3092\u8868\u793A\u3057\u307E\u3059\uFF08\u5168\u54E1\u5206\u30FB\u52E4\u6020\u306E\u7BA1\u7406\u8005\u6A29\u9650\u304C\u5FC5\u8981\uFF09\u3002--me \u3092\u4ED8\u3051\u308B\u3068 GET ${spec.path}/me\uFF08\u81EA\u5206\u306E\u5206\uFF09\u3067\u3059\u3002
|