@tocca-systems/twp-cli 0.96.1 → 0.96.2
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 +6 -0
- package/command-model/_routes.json +303 -5
- package/command-model/accounting-master.json +22 -0
- package/command-model/agent-loop.json +33 -3
- package/command-model/ai-token-usage.json +1 -1
- package/command-model/ai-training-attempt.json +9 -0
- package/command-model/ai-training-program.json +7 -0
- package/command-model/analysis-alert-threshold.json +7 -0
- package/command-model/analysis-page-access-rule.json +2 -2
- package/command-model/analysis.json +2 -1
- package/command-model/announcement.json +4 -0
- package/command-model/attendance-report-reason-detail.json +1 -1
- package/command-model/attendance-report-reason.json +1 -1
- package/command-model/attendance-report.json +1 -1
- package/command-model/audit-log.json +2 -2
- package/command-model/badge.json +2 -0
- package/command-model/budget.json +4 -4
- package/command-model/cash-flow.json +6 -0
- package/command-model/chat-channel.json +8 -3
- package/command-model/chat-mention-group.json +1 -1
- package/command-model/chat-message.json +17 -2
- package/command-model/chat-presence.json +11 -0
- package/command-model/chat-scheduled-message.json +9 -0
- package/command-model/chat.json +6 -0
- package/command-model/cli-tool-catalog.json +6 -0
- package/command-model/commuting-expense.json +1 -0
- package/command-model/company.json +3 -2
- package/command-model/container-agent-schedule.json +14 -0
- package/command-model/contract.json +4 -3
- package/command-model/customer-people.json +1 -1
- package/command-model/department.json +3 -3
- package/command-model/deposit.json +2 -1
- package/command-model/device-token.json +7 -0
- package/command-model/domain-knowledge-doc.json +3 -3
- package/command-model/dynamo-attachment.json +1 -0
- package/command-model/dynamo-inquiry.json +3 -1
- package/command-model/dynamo-support.json +1 -1
- package/command-model/estimate-case-document.json +3 -2
- package/command-model/estimate.json +11 -5
- package/command-model/evaluation.json +3 -3
- package/command-model/expense-report.json +19 -0
- package/command-model/expense-settings.json +1 -1
- package/command-model/faq.json +3 -2
- package/command-model/goal-sheet.json +5 -4
- package/command-model/google-auth.json +1 -1
- package/command-model/hearing.json +1 -1
- package/command-model/hr-checklist.json +1 -0
- package/command-model/index.json +81 -41
- package/command-model/inquiry-routing.json +3 -1
- package/command-model/invoice.json +3 -3
- package/command-model/license-type.json +2 -2
- package/command-model/master-support.json +3 -3
- package/command-model/master-tenant.json +4 -4
- package/command-model/media-file.json +3 -2
- package/command-model/media-folder.json +3 -3
- package/command-model/meeting-template.json +2 -2
- package/command-model/meeting.json +6 -4
- package/command-model/microsoft-auth.json +1 -1
- package/command-model/microsoft-graph-proxy-v2.json +42 -0
- package/command-model/my-ai-training.json +7 -0
- package/command-model/note.json +1 -1
- package/command-model/notification.json +1 -1
- package/command-model/organization-announcement.json +3 -2
- package/command-model/private-agent-loop.json +21 -6
- package/command-model/private-task.json +4 -2
- package/command-model/profit-analysis.json +2 -2
- package/command-model/project-evaluation.json +3 -3
- package/command-model/project-inventory-continuation.json +6 -0
- package/command-model/project-inventory-overview.json +6 -0
- package/command-model/project-inventory-request.json +7 -0
- package/command-model/project-inventory-settings.json +7 -0
- package/command-model/project-member.json +3 -3
- package/command-model/project-status-report-project.json +6 -0
- package/command-model/project-status-report-settings.json +7 -0
- package/command-model/project-task-attachment.json +7 -0
- package/command-model/project-task-category.json +2 -2
- package/command-model/project-task-label.json +2 -2
- package/command-model/project-task-link.json +3 -2
- package/command-model/project-task-milestone.json +2 -2
- package/command-model/project-task-status.json +2 -2
- package/command-model/project-task-type.json +2 -2
- package/command-model/project-task-version.json +2 -2
- package/command-model/project-task-watcher.json +2 -2
- package/command-model/project-task.json +3 -3
- package/command-model/project-team-chat.json +8 -0
- package/command-model/project.json +5 -5
- package/command-model/purchase-ai-field-mapping.json +2 -2
- package/command-model/purchase-document.json +1 -0
- package/command-model/purchase.json +2 -2
- package/command-model/receivable.json +1 -1
- package/command-model/recreation-club.json +11 -0
- package/command-model/report.json +5 -5
- package/command-model/retrospective.json +1 -1
- package/command-model/role-template.json +1 -1
- package/command-model/sales-default-recipient-set.json +10 -0
- package/command-model/sales-pdf.json +2 -1
- package/command-model/sales-recent-recipient.json +6 -0
- package/command-model/sales-setting.json +11 -0
- package/command-model/skill-analytics.json +1 -1
- package/command-model/skill-evaluation-record.json +1 -0
- package/command-model/skill-micro-feedback.json +1 -0
- package/command-model/skill.json +1 -1
- package/command-model/sns-connection.json +10 -0
- package/command-model/staff-kpi-setting.json +1 -1
- package/command-model/staff-kpi.json +1 -0
- package/command-model/staffing-board-cell.json +7 -0
- package/command-model/staffing-board-note.json +8 -0
- package/command-model/staffing-board-snapshot.json +10 -0
- package/command-model/staffing-board-tentative-assignment.json +12 -0
- package/command-model/staffing-board-tentative-import.json +7 -0
- package/command-model/staffing-plan.json +4 -2
- package/command-model/statutory-rate-set.json +14 -0
- package/command-model/supplier-payment.json +2 -2
- package/command-model/survey-tracker.json +1 -1
- package/command-model/survey.json +1 -0
- package/command-model/teams-link.json +9 -0
- package/command-model/tenant-rate-override.json +8 -0
- package/command-model/tenant-settings.json +2 -2
- package/command-model/token.json +1 -1
- package/command-model/training-attendance.json +1 -1
- package/command-model/training-session.json +1 -1
- package/command-model/unified-search.json +1 -1
- package/command-model/user-api-key.json +2 -2
- package/command-model/user-contract-type.json +2 -2
- package/command-model/user-group.json +1 -0
- package/command-model/user-invitation.json +2 -2
- package/command-model/user-list-display-setting.json +7 -0
- package/command-model/user-list-item-order.json +7 -0
- package/command-model/user-management.json +3 -3
- package/command-model/user-recent-work.json +8 -0
- package/command-model/video-generation.json +2 -2
- package/command-model/wiki-collection.json +2 -2
- package/command-model/wiki.json +3 -1
- package/command-model/worker-agent-run.json +1 -0
- package/command-model/worker-agent.json +3 -3
- package/command-model/workflow-approval-delegation.json +1 -0
- package/command-model/workflow-approval.json +1 -0
- package/command-model/workflow-attachment-pdf-preview.json +6 -0
- package/command-model/workflow-comment-attachment.json +8 -0
- package/command-model/workflow-estimate-input.json +9 -0
- package/command-model/workflow-instance.json +3 -2
- package/command-model/workflow.json +3 -2
- package/dist/cli.js +1 -1
- package/package.json +1 -1
- package/command-model/prospect-activity.json +0 -10
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"domain": "workflow-instance",
|
|
3
3
|
"operations": [
|
|
4
|
-
{"name":"apply","domain":"workflow-instance","operationId":"workflowInstance.apply","method":"POST","path":"/v2/workflows/instances/{id}/apply","summary":"申請を実行","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"title":{"type":"string","maxLength":255},"form_data":{"type":"array","items":{"type":"string"}},"comment":{"type":["string","null"],"maxLength":2000}}}},"resultPath":"","risk":"write","aliases":[]},
|
|
4
|
+
{"name":"apply","domain":"workflow-instance","operationId":"workflowInstance.apply","method":"POST","path":"/v2/workflows/instances/{id}/apply","summary":"申請を実行","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"title":{"type":"string","maxLength":255},"form_data":{"type":"array","items":{"type":"string"}},"comment":{"type":["string","null"],"maxLength":2000},"extra_approvers":{"type":["array","null"],"items":{"type":"object","properties":{"user_id":{"type":"string"},"anchor_step_no":{"type":"integer","minimum":1},"placement":{"type":"string","enum":["before","after"]}},"required":["user_id","anchor_step_no","placement"]}}}}},"resultPath":"","risk":"write","aliases":[]},
|
|
5
|
+
{"name":"comment","domain":"workflow-instance","operationId":"workflowInstance.comment","method":"POST","path":"/v2/workflows/instances/{id}/comments","summary":"承認・差し戻し等の操作をせずに、申請へコメントだけを残す","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"comment":{"type":"string","maxLength":2000},"mentioned_user_ids":{"type":"array","items":{"type":["string","null"],"maxLength":200},"maxItems":50},"attachment_ids":{"type":"array","items":{"type":"string","maxLength":200},"maxItems":10}},"required":["comment"],"title":"StoreWorkflowInstanceCommentRequest"}},"resultPath":null,"risk":"write","aliases":[]},
|
|
5
6
|
{"name":"create","domain":"workflow-instance","operationId":"workflowInstance.store","method":"POST","path":"/v2/workflows/instances","summary":"申請を作成(下書き)","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"workflow_id":{"type":"string"},"title":{"type":"string","maxLength":255},"form_data":{"type":"array","items":{"type":"string"}}},"required":["workflow_id"]}},"resultPath":"","risk":"write","aliases":[]},
|
|
6
7
|
{"name":"delete","domain":"workflow-instance","operationId":"workflowInstance.destroy","method":"DELETE","path":"/v2/workflows/instances/{id}","summary":"申請を削除(下書きまたは差し戻し状態)","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":"","risk":"destructive","aliases":[]},
|
|
7
8
|
{"name":"get","domain":"workflow-instance","operationId":"workflowInstance.show","method":"GET","path":"/v2/workflows/instances/{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":[]},
|
|
8
9
|
{"name":"history","domain":"workflow-instance","operationId":"workflowInstance.history","method":"GET","path":"/v2/workflows/history","summary":"承認履歴一覧を取得(ページネーション対応)","pathParams":[],"queryParams":[{"name":"workflow_id","type":["string","null"],"required":false,"description":"ワークフロー(申請の種類)IDで絞り込む","source":"spec"},{"name":"cursor","type":"string","required":false,"description":"次ページの取得に使うカーソル","source":"curation"},{"name":"status","type":"string","required":false,"description":"申請の状態で絞り込む","source":"spec"},{"name":"keyword","type":"string","required":false,"description":"キーワードで絞り込む","source":"spec"},{"name":"limit","type":"integer","required":false,"description":"1ページあたりの件数","source":"curation"}],"body":null,"resultPath":"items","risk":"read","aliases":[]},
|
|
9
|
-
{"name":"list","domain":"workflow-instance","operationId":"workflowInstance.index","method":"GET","path":"/v2/workflows/instances","summary":"自分の申請一覧を取得(ページネーション対応)","pathParams":[],"queryParams":[{"name":"workflow_id","type":["string","null"],"required":false,"description":"ワークフロー(申請の種類)IDで絞り込む","source":"spec"},{"name":"status","type":"string","required":false,"description":"申請の状態で絞り込む","source":"spec"},{"name":"cursor","type":"string","required":false,"description":"次ページの取得に使うカーソル","source":"curation"},{"name":"limit","type":"integer","required":false,"description":"1ページあたりの件数","source":"curation"}],"body":null,"resultPath":"items","risk":"read","aliases":[]},
|
|
10
|
+
{"name":"list","domain":"workflow-instance","operationId":"workflowInstance.index","method":"GET","path":"/v2/workflows/instances","summary":"自分の申請一覧を取得(ページネーション対応)","pathParams":[],"queryParams":[{"name":"workflow_id","type":["string","null"],"required":false,"description":"ワークフロー(申請の種類)IDで絞り込む","source":"spec"},{"name":"workflow_ids","type":["string","null"],"required":false,"source":"spec"},{"name":"status","type":"string","required":false,"description":"申請の状態で絞り込む","source":"spec"},{"name":"cursor","type":"string","required":false,"description":"次ページの取得に使うカーソル","source":"curation"},{"name":"limit","type":"integer","required":false,"description":"1ページあたりの件数","source":"curation"}],"body":null,"resultPath":"items","risk":"read","aliases":[]},
|
|
10
11
|
{"name":"update","domain":"workflow-instance","operationId":"workflowInstance.update","method":"PUT","path":"/v2/workflows/instances/{id}","summary":"申請を更新(下書き状態のみ)","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"title":{"type":"string","maxLength":255},"form_data":{"type":"array","items":{"type":"string"}}}}},"resultPath":"","risk":"write","aliases":[]}
|
|
11
12
|
]
|
|
12
13
|
}
|
|
@@ -3,12 +3,13 @@
|
|
|
3
3
|
"operations": [
|
|
4
4
|
{"name":"applicable-by-category","domain":"workflow","operationId":"workflow.applicableByCategory","method":"GET","path":"/v2/workflows/applicable/{category}","summary":"カテゴリ別の申請可能なワークフロー一覧を取得(is_hidden無視)","pathParams":[{"name":"category","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":"list","risk":"read","aliases":[]},
|
|
5
5
|
{"name":"applicable-list","domain":"workflow","operationId":"workflow.applicableList","method":"GET","path":"/v2/workflows/applicable","summary":"申請可能なワークフロー一覧を取得","pathParams":[],"queryParams":[{"name":"limit","type":"integer","required":false,"description":"1ページあたりの件数","source":"curation"},{"name":"cursor","type":"string","required":false,"description":"次ページの取得に使うカーソル","source":"curation"}],"body":null,"resultPath":"list","risk":"read","aliases":[]},
|
|
6
|
+
{"name":"applicant-profile","domain":"workflow","operationId":"workflow.applicantProfile","method":"GET","path":"/v2/workflows/applicant-profile","summary":"申請者本人の自動入力値を取得する","pathParams":[],"queryParams":[{"name":"limit","type":"integer","required":false,"description":"1ページあたりの件数","source":"curation"},{"name":"cursor","type":"string","required":false,"description":"次ページの取得に使うカーソル","source":"curation"}],"body":null,"resultPath":"","risk":"read","aliases":[]},
|
|
6
7
|
{"name":"approver-preview","domain":"workflow","operationId":"workflow.approverPreview","method":"POST","path":"/v2/workflows/approver-preview","summary":"承認者条件のプレビュー: 現時点で該当する承認者を解決して返す","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"approver_condition_set":{"type":"object","properties":{"condition_groups":{"type":"array","items":{"type":"string"}}}}},"required":["approver_condition_set"]}},"resultPath":"","risk":"write","aliases":[]},
|
|
7
|
-
{"name":"create","domain":"workflow","operationId":"workflow.store","method":"POST","path":"/v2/workflows","summary":"ワークフロー定義を作成","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"name":{"type":"string","maxLength":255},"approver_description":{"type":["string","null"],"maxLength":2000},"default_title":{"type":["string","null"],"maxLength":255},"status":{"type":"string","enum":["active","inactive","draft"]},"defined_category":{"type":["string","null"],"maxLength":100},"form_definition":{"type":"array","items":{"type":"string"}},"target_condition_set":{"type":"array","items":{"type":"string"}},"valid_from":{"type":["string","null"],"format":"date"},"valid_to":{"type":["string","null"],"format":"date"},"sort":{"type":"integer","minimum":0},"is_hidden":{"type":"boolean"},"auto_skip_same_approver":{"type":"boolean"},"view_permission_condition_set":{"type":"array","items":{"type":"string"}},"equipment_category_ids":{"type":"array","items":{"type":"string","maxLength":36}},"steps":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":255},"approver_condition_set":{"type":"array","items":{"type":"string"},"minItems":1},"notification_usergroup_ids":{"type":"array","items":{"type":"string"}},"is_final_step":{"type":"boolean"},"fallback_approver_user_id":{"type":["string","null"],"maxLength":255},"reminder_days":{"type":["integer","null"],"minimum":1,"maximum":365},"escalation_days":{"type":["integer","null"],"minimum":1,"maximum":365},"prohibit_same_approver":{"type":"boolean"}},"required":["name","approver_condition_set"]}}},"required":["name"]}},"resultPath":"","risk":"write","aliases":[]},
|
|
8
|
+
{"name":"create","domain":"workflow","operationId":"workflow.store","method":"POST","path":"/v2/workflows","summary":"ワークフロー定義を作成","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"name":{"type":"string","maxLength":255},"approver_description":{"type":["string","null"],"maxLength":2000},"default_title":{"type":["string","null"],"maxLength":255},"status":{"type":"string","enum":["active","inactive","draft"]},"defined_category":{"type":["string","null"],"maxLength":100},"form_definition":{"type":"array","items":{"type":"string"}},"target_condition_set":{"type":"array","items":{"type":"string"}},"valid_from":{"type":["string","null"],"format":"date"},"valid_to":{"type":["string","null"],"format":"date"},"sort":{"type":"integer","minimum":0},"is_hidden":{"type":"boolean"},"auto_skip_same_approver":{"type":"boolean"},"require_pre_submit_ai_review":{"type":"boolean"},"allow_extra_approvers":{"type":"boolean"},"view_permission_condition_set":{"type":"array","items":{"type":"string"}},"equipment_category_ids":{"type":"array","items":{"type":"string","maxLength":36}},"steps":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":255},"approver_condition_set":{"type":"array","items":{"type":"string"},"minItems":1},"notification_usergroup_ids":{"type":"array","items":{"type":"string"}},"is_final_step":{"type":"boolean"},"fallback_approver_user_id":{"type":["string","null"],"maxLength":255},"reminder_days":{"type":["integer","null"],"minimum":1,"maximum":365},"escalation_days":{"type":["integer","null"],"minimum":1,"maximum":365},"prohibit_same_approver":{"type":"boolean"},"apply_condition":{"type":["object","null"],"properties":{"metric":{"type":"string","maxLength":100},"operator":{"type":"string","enum":["gte","lt"]},"value":{"type":"integer","minimum":0}}}},"required":["name","approver_condition_set"]}}},"required":["name"]}},"resultPath":"","risk":"write","aliases":[]},
|
|
8
9
|
{"name":"delete","domain":"workflow","operationId":"workflow.destroy","method":"DELETE","path":"/v2/workflows/{id}","summary":"ワークフロー定義を削除","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":"","risk":"destructive","aliases":[]},
|
|
9
10
|
{"name":"get","domain":"workflow","operationId":"workflow.show","method":"GET","path":"/v2/workflows/{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":"","risk":"read","aliases":[]},
|
|
10
11
|
{"name":"list","domain":"workflow","operationId":"workflow.index","method":"GET","path":"/v2/workflows","summary":"ワークフロー定義一覧を取得","pathParams":[],"queryParams":[{"name":"status","type":"string","required":false,"source":"spec"},{"name":"category","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":"list","risk":"read","aliases":[]},
|
|
11
12
|
{"name":"recalculate-candidates","domain":"workflow","operationId":"workflow.recalculateCandidates","method":"POST","path":"/v2/workflows/{id}/recalculate-candidates","summary":"承認候補者を再計算する","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":"","risk":"write","aliases":[]},
|
|
12
|
-
{"name":"update","domain":"workflow","operationId":"workflow.update","method":"PUT","path":"/v2/workflows/{id}","summary":"ワークフロー定義を更新","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"name":{"type":"string","maxLength":255},"approver_description":{"type":["string","null"],"maxLength":2000},"default_title":{"type":["string","null"],"maxLength":255},"status":{"type":"string","enum":["active","inactive","draft"]},"defined_category":{"type":["string","null"],"maxLength":100},"form_definition":{"type":"array","items":{"type":"string"}},"target_condition_set":{"type":"array","items":{"type":"string"}},"valid_from":{"type":["string","null"],"format":"date"},"valid_to":{"type":["string","null"],"format":"date"},"sort":{"type":"integer","minimum":0},"is_hidden":{"type":"boolean"},"auto_skip_same_approver":{"type":"boolean"},"view_permission_condition_set":{"type":"array","items":{"type":"string"}},"equipment_category_ids":{"type":"array","items":{"type":"string","maxLength":36}},"steps":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":255},"approver_condition_set":{"type":"array","items":{"type":"string"},"minItems":1},"notification_usergroup_ids":{"type":"array","items":{"type":"string"}},"is_final_step":{"type":"boolean"},"fallback_approver_user_id":{"type":["string","null"],"maxLength":255},"reminder_days":{"type":["integer","null"],"minimum":1,"maximum":365},"escalation_days":{"type":["integer","null"],"minimum":1,"maximum":365},"prohibit_same_approver":{"type":"boolean"}},"required":["name","approver_condition_set"]}}}}},"resultPath":"","risk":"write","aliases":[]}
|
|
13
|
+
{"name":"update","domain":"workflow","operationId":"workflow.update","method":"PUT","path":"/v2/workflows/{id}","summary":"ワークフロー定義を更新","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"name":{"type":"string","maxLength":255},"approver_description":{"type":["string","null"],"maxLength":2000},"default_title":{"type":["string","null"],"maxLength":255},"status":{"type":"string","enum":["active","inactive","draft"]},"defined_category":{"type":["string","null"],"maxLength":100},"form_definition":{"type":"array","items":{"type":"string"}},"target_condition_set":{"type":"array","items":{"type":"string"}},"valid_from":{"type":["string","null"],"format":"date"},"valid_to":{"type":["string","null"],"format":"date"},"sort":{"type":"integer","minimum":0},"is_hidden":{"type":"boolean"},"auto_skip_same_approver":{"type":"boolean"},"require_pre_submit_ai_review":{"type":"boolean"},"allow_extra_approvers":{"type":"boolean"},"view_permission_condition_set":{"type":"array","items":{"type":"string"}},"equipment_category_ids":{"type":"array","items":{"type":"string","maxLength":36}},"steps":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":255},"approver_condition_set":{"type":"array","items":{"type":"string"},"minItems":1},"notification_usergroup_ids":{"type":"array","items":{"type":"string"}},"is_final_step":{"type":"boolean"},"fallback_approver_user_id":{"type":["string","null"],"maxLength":255},"reminder_days":{"type":["integer","null"],"minimum":1,"maximum":365},"escalation_days":{"type":["integer","null"],"minimum":1,"maximum":365},"prohibit_same_approver":{"type":"boolean"},"apply_condition":{"type":["object","null"],"properties":{"metric":{"type":"string","maxLength":100},"operator":{"type":"string","enum":["gte","lt"]},"value":{"type":"integer","minimum":0}}}},"required":["name","approver_condition_set"]}}}}},"resultPath":"","risk":"write","aliases":[]}
|
|
13
14
|
]
|
|
14
15
|
}
|
package/dist/cli.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire as __twpCreateRequire } from 'node:module';
|
|
3
3
|
const require = __twpCreateRequire(import.meta.url);
|
|
4
|
-
import{GLOBAL_OPTIONS_HELP}from"./chunk-PECIBNFD.js";import{parseArgv}from"./chunk-FKTYYARF.js";import"./chunk-2LOT54OO.js";import"./chunk-NJL3H2BB.js";import"./chunk-6FI4ZMZ7.js";import"./chunk-TJQZYYG3.js";import{formatUnknownArgs}from"./chunk-OKATZ4SN.js";import"./chunk-VSJBJXZO.js";var VERSION=true?"0.96.
|
|
4
|
+
import{GLOBAL_OPTIONS_HELP}from"./chunk-PECIBNFD.js";import{parseArgv}from"./chunk-FKTYYARF.js";import"./chunk-2LOT54OO.js";import"./chunk-NJL3H2BB.js";import"./chunk-6FI4ZMZ7.js";import"./chunk-TJQZYYG3.js";import{formatUnknownArgs}from"./chunk-OKATZ4SN.js";import"./chunk-VSJBJXZO.js";var VERSION=true?"0.96.2":"0.0.0-dev";var HELP=`twp ${VERSION} \u2014 TWP CLI
|
|
5
5
|
|
|
6
6
|
\u4F7F\u3044\u65B9:
|
|
7
7
|
twp \u5BFE\u8A71 TUI \u3092\u8D77\u52D5
|
package/package.json
CHANGED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"domain": "prospect-activity",
|
|
3
|
-
"operations": [
|
|
4
|
-
{"name":"create","domain":"prospect-activity","operationId":"prospectActivity.store","method":"POST","path":"/v2/prospects/{prospectId}/activities","summary":"アプローチ履歴の登録","pathParams":[{"name":"prospectId","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"method":{"type":"string","enum":["call","form","email","mail","visit","other"]},"result":{"type":"string","enum":["no_answer","rejected","interested","appointment","other"]},"activity_date":{"type":["string","null"],"format":"date-time"},"next_action_date":{"type":["string","null"],"format":"date"},"content":{"type":["string","null"],"maxLength":10000},"campaign_id":{"type":["string","null"],"maxLength":255},"status":{"type":["string","null"],"enum":["new","approaching","responded","appointment","rejected","on_hold",null]}},"required":["method","result"]}},"resultPath":null,"risk":"write","aliases":[]},
|
|
5
|
-
{"name":"delete","domain":"prospect-activity","operationId":"prospectActivity.destroy","method":"DELETE","path":"/v2/prospects/{prospectId}/activities/{activityId}","summary":"アプローチ履歴の削除(論理削除)","pathParams":[{"name":"prospectId","type":"string","required":true,"source":"spec"},{"name":"activityId","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":null,"risk":"destructive","aliases":[]},
|
|
6
|
-
{"name":"list","domain":"prospect-activity","operationId":"prospectActivity.index","method":"GET","path":"/v2/prospects/{prospectId}/activities","summary":"アプローチ履歴一覧(activity_date 降順)","pathParams":[{"name":"prospectId","type":"string","required":true,"source":"spec"}],"queryParams":[{"name":"cursor","type":"string","required":false,"description":"次ページの取得に使うカーソル","source":"curation"},{"name":"limit","type":"integer","required":false,"description":"1ページあたりの件数","source":"curation"}],"body":null,"resultPath":"items","risk":"read","aliases":[]},
|
|
7
|
-
{"name":"options","domain":"prospect-activity","operationId":"prospectActivity.options","method":"GET","path":"/v2/prospects/activity-options","summary":"選択肢(手段・結果)の一覧。MCP 経由の利用者が値を推測しなくて済むように公開する。","pathParams":[],"queryParams":[{"name":"limit","type":"integer","required":false,"description":"1ページあたりの件数","source":"curation"},{"name":"cursor","type":"string","required":false,"description":"次ページの取得に使うカーソル","source":"curation"}],"body":null,"resultPath":"results","risk":"read","aliases":[]},
|
|
8
|
-
{"name":"update","domain":"prospect-activity","operationId":"prospectActivity.update","method":"PUT","path":"/v2/prospects/{prospectId}/activities/{activityId}","summary":"アプローチ履歴の更新","pathParams":[{"name":"prospectId","type":"string","required":true,"source":"spec"},{"name":"activityId","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"method":{"type":"string","enum":["call","form","email","mail","visit","other"]},"result":{"type":"string","enum":["no_answer","rejected","interested","appointment","other"]},"activity_date":{"type":["string","null"],"format":"date-time"},"next_action_date":{"type":["string","null"],"format":"date"},"content":{"type":["string","null"],"maxLength":10000},"campaign_id":{"type":["string","null"],"maxLength":255},"status":{"type":["string","null"],"enum":["new","approaching","responded","appointment","rejected","on_hold",null]}},"required":["method","result"]}},"resultPath":null,"risk":"write","aliases":[]}
|
|
9
|
-
]
|
|
10
|
-
}
|