@tocca-systems/twp-cli 0.117.0 → 0.118.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 +10 -0
- package/README.md +61 -0
- package/command-model/_routes.json +61 -0
- package/command-model/attendance.json +1 -1
- package/command-model/corporate-document.json +4 -3
- package/command-model/corporate-procedure-master.json +2 -2
- package/command-model/corporate-procedure.json +1 -0
- package/command-model/corporate-resolution-reflection.json +10 -0
- package/command-model/corporate-share.json +2 -2
- package/command-model/external-integration-proxy.json +19 -2
- package/command-model/feedback.json +1 -1
- package/command-model/index.json +11 -6
- package/command-model/journal-candidate.json +10 -0
- package/command-model/journal-entry.json +17 -0
- package/command-model/master-tenant.json +2 -2
- package/command-model/microsoft-graph-proxy-v2.json +5 -0
- package/command-model/organization-announcement.json +2 -2
- package/command-model/project.json +2 -2
- package/command-model/slack-favorite.json +9 -0
- package/command-model/slack-proxy.json +16 -0
- package/command-model/tenant-settings.json +2 -2
- package/command-model/user-contract.json +2 -2
- package/command-model/user-invitation.json +2 -2
- package/command-model/user-management.json +2 -2
- package/dist/{agent-2BNIUX2U.js → agent-PPGLLMZ4.js} +3 -3
- package/dist/{agent-loop-5SMJG7CB.js → agent-loop-AFE464C3.js} +5 -5
- package/dist/{ai-dispatch-GKNQNJWB.js → ai-dispatch-Z3ZNUIG3.js} +10 -10
- package/dist/analysis-SKX3VGCN.js +5 -0
- package/dist/{announcement-6FE7ZS4Z.js → announcement-FZ6B7G4D.js} +2 -2
- package/dist/{api-command-OF6D2Y36.js → api-command-HVBQEVVL.js} +4 -4
- package/dist/{api-key-TRRJUKYE.js → api-key-6QT5CIYM.js} +2 -2
- package/dist/{app-G5PY25EA.js → app-3VBNFFZL.js} +5 -5
- package/dist/{attendance-correct-2KTCXVJX.js → attendance-correct-33DVBUBR.js} +1 -1
- package/dist/{attendance-lists-OIF5KYDQ.js → attendance-lists-BW4TCDWX.js} +2 -2
- package/dist/{backlog-3WLFVEBA.js → backlog-F5MLDNXW.js} +1 -1
- package/dist/budget-5QIBQKUB.js +5 -0
- package/dist/{chunk-B6VOXDMC.js → chunk-4QAP2N5A.js} +2 -2
- package/dist/{chunk-IKCXJBSF.js → chunk-5XLIFWA7.js} +1 -1
- package/dist/{chunk-KPLC3UP7.js → chunk-7C7FJ4X2.js} +2 -2
- package/dist/{chunk-VUHJJVA5.js → chunk-7PEFW5JV.js} +1 -1
- package/dist/{chunk-K2OFZL2O.js → chunk-AEQDKZL2.js} +1 -1
- package/dist/{chunk-G5YZ6JDI.js → chunk-B74PDVXR.js} +1 -1
- package/dist/{chunk-SEFV7AQB.js → chunk-BZ35ZVOH.js} +2 -2
- package/dist/{chunk-FHWNKVGK.js → chunk-DTXIUEI4.js} +3 -3
- package/dist/chunk-EHTIDLJV.js +196 -0
- package/dist/{chunk-3MDBLYZF.js → chunk-EUWKWKN7.js} +1 -1
- package/dist/{chunk-VSVJQNIB.js → chunk-F4EJFIPH.js} +2 -2
- package/dist/{chunk-L4THNX4M.js → chunk-G5O3KDR2.js} +1 -1
- package/dist/chunk-GIPA4UUA.js +4 -0
- package/dist/{chunk-36EIV45C.js → chunk-GJUJRFS6.js} +1 -1
- package/dist/{chunk-56LHHEE2.js → chunk-GQC6E3BW.js} +1 -1
- package/dist/{chunk-CBQ6Y74J.js → chunk-H75ZWP32.js} +2 -2
- package/dist/{chunk-IOVZDBAD.js → chunk-HKOXMDET.js} +1 -1
- package/dist/{chunk-ZFSQJAYZ.js → chunk-JYBNSRA2.js} +1 -1
- package/dist/{chunk-DK77GMSP.js → chunk-LPJUD6X6.js} +1 -1
- package/dist/{chunk-6R6CY6KM.js → chunk-LTPAMQQZ.js} +1 -1
- package/dist/{chunk-LEZ576RA.js → chunk-NJSGN5IX.js} +4 -3
- package/dist/{chunk-SMOBUQPO.js → chunk-OO2TJJPS.js} +1 -1
- package/dist/{chunk-4JF6M5X7.js → chunk-QE3JVQ2F.js} +1 -1
- package/dist/chunk-RZIBYY6R.js +13 -0
- package/dist/{chunk-6H5TPSXU.js → chunk-SGALWCVP.js} +1 -1
- package/dist/{chunk-DEPFLEQL.js → chunk-SSMDTJ4J.js} +1 -1
- package/dist/{chunk-HGM6DDYN.js → chunk-U5TB44DX.js} +1 -1
- package/dist/{chunk-YPEEZXOX.js → chunk-V2FEOFI6.js} +1 -1
- package/dist/{chunk-YAKWBS4M.js → chunk-VQZ6OJPW.js} +1 -1
- package/dist/chunk-ZIF6GDHE.js +4 -0
- package/dist/cli.js +63 -9
- package/dist/{commands-OXPHECT2.js → commands-5L3QDPDT.js} +79 -66
- package/dist/{commands-P77EIMBU.js → commands-U4UK2YNN.js} +1 -1
- package/dist/{company-GYE4NSYY.js → company-TEH3UDTL.js} +4 -3
- package/dist/{completion-3FLCVV73.js → completion-I774HXVN.js} +1 -1
- package/dist/{content-JB6P46IF.js → content-USUA7RUB.js} +3 -3
- package/dist/{contract-J7IPD2IT.js → contract-6BRJPQC3.js} +3 -3
- package/dist/{corporate-2QRAGFZ4.js → corporate-JGR35A63.js} +3 -3
- package/dist/{department-PJOH2MXZ.js → department-C32KBC75.js} +2 -2
- package/dist/deposit-EI6NSTUR.js +4 -0
- package/dist/{domain-knowledge-G4NBJGWD.js → domain-knowledge-CRGXY5SJ.js} +2 -2
- package/dist/{estimate-MDCQUAIA.js → estimate-CL7SU3X3.js} +4 -4
- package/dist/{evaluation-BVIVVRAX.js → evaluation-LYUX5EDD.js} +3 -3
- package/dist/{expense-MQPJVLVB.js → expense-DO7HP3NS.js} +2 -2
- package/dist/{faq-MBW7SLC6.js → faq-YARV5LN5.js} +3 -3
- package/dist/{fiscal-year-4GC3CLDB.js → fiscal-year-QZOTRXQR.js} +2 -2
- package/dist/github-MSNGBNKG.js +68 -0
- package/dist/{holiday-GTYFPTAI.js → holiday-CITGW3BZ.js} +3 -3
- package/dist/{inquiry-QECSQJWD.js → inquiry-KIPSQR5A.js} +2 -2
- package/dist/{invoice-7PVEO7WG.js → invoice-CWMKCZ6P.js} +3 -3
- package/dist/{job-title-T3EVIB5D.js → job-title-IDQBNG3Q.js} +2 -2
- package/dist/{knowledge-5ZKO6N5X.js → knowledge-LJFD3O3Z.js} +3 -3
- package/dist/{leave-WBZRI7ZO.js → leave-IB5KP4CH.js} +3 -3
- package/dist/license-Y2ZWLW3S.js +4 -0
- package/dist/{login-history-ZF2QVJ4S.js → login-history-USYGBQTM.js} +1 -1
- package/dist/{logout-guard-KQLNCNJP.js → logout-guard-JAGBQBHF.js} +1 -1
- package/dist/{media-5UU6VILF.js → media-VF6AJRAT.js} +4 -4
- package/dist/{notification-WVJ6V2UN.js → notification-T2KL7BFS.js} +2 -2
- package/dist/ojt-TXHZEETH.js +4 -0
- package/dist/{oneshot-BDKA2IGL.js → oneshot-5QIZI5LS.js} +2 -2
- package/dist/{plan-submit-QQPKYJ3M.js → plan-submit-3O7C7KZR.js} +1 -1
- package/dist/{position-U56E7GX6.js → position-NVJC7NGO.js} +2 -2
- package/dist/project-MS2QS4CU.js +5 -0
- package/dist/{prospect-ROAE2JQ6.js → prospect-6YBHL7IY.js} +3 -3
- package/dist/{purchase-T3QS3EPW.js → purchase-RPB74UTY.js} +4 -4
- package/dist/receivable-C5UG7YIH.js +4 -0
- package/dist/{redmine-GTHXTKKD.js → redmine-YCZGH5HI.js} +2 -2
- package/dist/{registry-A7WTKMXM.js → registry-5Q7FHP7W.js} +1 -1
- package/dist/{report-TCFRJYL6.js → report-4XQMOBEG.js} +1 -1
- package/dist/run-J2XAPDRL.js +5 -0
- package/dist/sales-ai-review-3RPRJEER.js +5 -0
- package/dist/{sales-master-SGT73CHC.js → sales-master-CRTMCSDO.js} +3 -3
- package/dist/sales-numbering-CE54TP4C.js +4 -0
- package/dist/{search-JP77X4JS.js → search-CVOVZFOP.js} +2 -2
- package/dist/{segment-ZTWVP32K.js → segment-BVH4CP4K.js} +2 -2
- package/dist/{server-settings-DOWTEZGC.js → server-settings-5PLGKJ2Q.js} +1 -1
- package/dist/{setup-3NYVAJKI.js → setup-77KRKEXA.js} +1 -1
- package/dist/skill-7QMF5K3J.js +5 -0
- package/dist/{skill-check-HL67H4KC.js → skill-check-2XYES4X3.js} +1 -1
- package/dist/slack-5LGWMABL.js +102 -0
- package/dist/{staffing-board-PORZDQBF.js → staffing-board-QF22N5GI.js} +2 -2
- package/dist/{supplier-payment-FCIATDMY.js → supplier-payment-D7XBSMHW.js} +3 -3
- package/dist/{support-ZSYBBO52.js → support-JDU2RPJC.js} +3 -2
- package/dist/{task-OHQ7BTOP.js → task-FRA74NQB.js} +4 -4
- package/dist/{user-PJRISUPH.js → user-7QPSUBOD.js} +5 -5
- package/dist/{user-contract-type-I4KTAIZ3.js → user-contract-type-PUWHXPL2.js} +2 -2
- package/dist/{user-group-44DPCXVC.js → user-group-S3HU4GBJ.js} +2 -2
- package/dist/worker-agent-DKEJYYQ2.js +4 -0
- package/dist/workflow-B7MNNDPL.js +4 -0
- package/package.json +1 -1
- package/dist/analysis-IZJ7OGBS.js +0 -5
- package/dist/budget-NA2SD5YD.js +0 -4
- package/dist/chunk-A7MM5WSC.js +0 -184
- package/dist/chunk-HDTQIFEZ.js +0 -13
- package/dist/chunk-LKWVPL64.js +0 -4
- package/dist/deposit-BBDYJVOG.js +0 -4
- package/dist/license-AMXSVUUX.js +0 -4
- package/dist/ojt-F53MIJS4.js +0 -4
- package/dist/project-YAFIKH4Z.js +0 -4
- package/dist/receivable-QGNV2FT7.js +0 -4
- package/dist/run-AOZ4DCJZ.js +0 -5
- package/dist/sales-ai-review-2RBOUUYJ.js +0 -4
- package/dist/sales-numbering-GLWL3NOI.js +0 -4
- package/dist/skill-HA3DBVJ3.js +0 -4
- package/dist/worker-agent-56PJ6YTR.js +0 -4
- package/dist/workflow-ZWRPMTBR.js +0 -4
package/CHANGELOG.public.md
CHANGED
|
@@ -11,6 +11,16 @@
|
|
|
11
11
|
`CHANGELOG.md` に残してあります。顧客向けの履歴は public 公開以降を対象とします。
|
|
12
12
|
-->
|
|
13
13
|
|
|
14
|
+
## 0.118.0
|
|
15
|
+
|
|
16
|
+
`twp slack` で、TWP に登録した Slack ワークスペースのチャネル・DM・メッセージ・メンションを読み、メッセージ送信とスレッド返信ができるようになりました(送信は `--yes` が必要で、送る前に送信先のチャネル名を表示します)。
|
|
17
|
+
|
|
18
|
+
`twp github` を追加しました。TWP の個人設定(外部システム連携)に登録した GitHub アカウントで、Issue・PR とそのコメント・レビュー、リポジトリのファイル一覧・ファイルの中身・コミット履歴を読めます。コード検索もできます。書き込みはできません。
|
|
19
|
+
|
|
20
|
+
エージェントループの実行中、AI の出力の末尾(伏字化済み)を約1分ごとにサーバへ送り、画面から途中経過を確認できるようになりました。
|
|
21
|
+
|
|
22
|
+
エージェントループの実行中アイテムを画面から中断すると、実行中の AI を止めて「中断」として記録するようになりました。
|
|
23
|
+
|
|
14
24
|
## 0.117.0
|
|
15
25
|
|
|
16
26
|
`twp teams reaction` の `--reaction` に like / heart などの名前を指定しても、絵文字に置き換えて付け外しできるようになりました。
|
package/README.md
CHANGED
|
@@ -85,6 +85,7 @@ TWP(Tocca Working Platform)を、ターミナルから使うための CLI
|
|
|
85
85
|
| **できる** | `twp wiki` / `twp note` / `twp meeting` による、wiki ページ(親ページ直下の子の一覧を含む)・ノート・議事録(開催日の期間で絞り込み)の一覧と、本文を `--output text` で文書として読むこと。wiki ページの作成・更新・移動・削除と、親子構造・タグ・版の履歴と差分・被リンク・関連タスクの読み取り、索引(`twp wiki digest`)の出力 |
|
|
86
86
|
| **できる** | `twp knowledge` によるドメイン知識(社内 Wiki 相当のナレッジベース)の一覧・詳細・作成・設定変更・削除と、記事の一覧(ディレクトリ・深さで絞り込み)・本文(Markdown)を読む・作成・更新・移動・削除。KB は ID でも slug でも指定できます。KB の作成・設定変更・削除はドメイン知識の管理者だけです |
|
|
87
87
|
| **できる** | `twp outlook` / `twp teams` / `twp onedrive` による Microsoft 365 の読み取り(メール・添付・予定、Teams のチーム・チャネル・チャット(メンバーを含む)・メッセージ・スレッド返信・自分宛てメンション、OneDrive のファイルの一覧・情報・ダウンロード)。TWP に Microsoft アカウントでログインしたことがあるユーザーが対象です。書き込みはメールの送信・返信・全員返信・転送(`twp outlook mail send` / `reply` / `reply-all` / `forward`)、Teams のチャット送信・チャネル投稿・スレッド返信(`twp teams message send` / `reply send`)とリアクションの付け外し(`twp teams reaction add` / `remove`)、予定の作成・更新・削除(`twp outlook event create` / `update` / `delete`)、共有リンクの作成(`twp onedrive link create`)ができ(いずれも `--yes` が必要)、OneDrive へのアップロード(`twp onedrive item upload`)もできます |
|
|
88
|
+
| **できる** | `twp slack` による Slack の読み取り(登録済みワークスペース・チャネル・DM・メンバー・メッセージ・スレッド返信・自分宛てメンション・メッセージ検索)と、メッセージ送信・スレッド返信(`twp slack message send` / `reply send`・`--yes` が必要)、お気に入りのチャネル・DM の管理(`twp slack favorite`)。TWP の個人設定で Slack のユーザートークンを登録したユーザーが対象です |
|
|
88
89
|
| **できる** | `twp task-loop` による、TWP のタスクキューを手元の AI CLI に実行させる常駐ループ |
|
|
89
90
|
| **できる** | `twp task-loop item` / `history` による、エージェントループのキューの一覧・投入・更新・先頭への移動・削除と、期間を指定した実行履歴の参照。更新・移動・削除はテナントの管理者の権限が要ります |
|
|
90
91
|
| **できる** | `twp completion bash` / `zsh` / `fish` / `powershell` によるシェル補完(コマンド名・操作名・フラグ名。プロジェクトやステータスの値は補完しません)と、`twp configure` による既定のプロジェクト・出力形式・Backlog スペース・既定プロファイルの対話設定 |
|
|
@@ -2075,6 +2076,36 @@ twp redmine issue update <チケット番号> [--notes-file <パス>] [--stat
|
|
|
2075
2076
|
- `twp redmine attachment download` は `twp backlog attachment download` と同じく **`--out` のパスへ実体を書き出し、既存ファイルは `--force` を付けたときだけ上書きします**。添付ID は `twp redmine attachment list` の `id` で、ファイル名では指定できません
|
|
2076
2077
|
- 接続先が IP 制限などで TWP から届かないときは、その旨のエラーで失敗します(終了コード 4)
|
|
2077
2078
|
|
|
2079
|
+
### GitHub の Issue・PR・コメント・レビュー・リポジトリの中身を読む
|
|
2080
|
+
|
|
2081
|
+
TWP の個人設定(外部システム連携)に登録した GitHub アカウントを通して、Issue・PR とそのコメント・レビュー、リポジトリのファイル・コミットを読みます。書き込みはできません。
|
|
2082
|
+
|
|
2083
|
+
```
|
|
2084
|
+
twp github account list # 登録済みのアカウント(--account に渡す ID)
|
|
2085
|
+
twp github repo list [--account <ID|username>] [--limit <件数>] [--page <番号>]
|
|
2086
|
+
twp github issue list --repo <owner/repo> [--state open|closed|all] [--limit <件数>] [--page <番号>]
|
|
2087
|
+
twp github issue get <番号> --repo <owner/repo>
|
|
2088
|
+
twp github issue search <検索式> # 例: "repo:o/r is:pr is:open"
|
|
2089
|
+
twp github pr list --repo <owner/repo> [--state open|closed|all]
|
|
2090
|
+
twp github pr get <番号> --repo <owner/repo> # 本文・head/base・変更行数
|
|
2091
|
+
twp github comment list <番号> --repo <owner/repo> [--all] # Issue / PR の会話欄
|
|
2092
|
+
twp github review list <PR番号> --repo <owner/repo> [--all] # 承認・変更要求
|
|
2093
|
+
twp github review-comment list <PR番号> --repo <owner/repo> [--all] # 差分の行に付いたコメント
|
|
2094
|
+
twp github branch list --repo <owner/repo> [--all]
|
|
2095
|
+
twp github tree get --repo <owner/repo> [--path <ディレクトリ>] [--ref <ref>] [--recursive]
|
|
2096
|
+
twp github file get <パス> --repo <owner/repo> [--ref <ref>]
|
|
2097
|
+
twp github commit list --repo <owner/repo> [--ref <ref>] [--path <パス>] [--author <作者>] [--since <日時>] [--until <日時>] [--all]
|
|
2098
|
+
twp github code search <検索式> [--all] # 例: "foo repo:o/r"
|
|
2099
|
+
```
|
|
2100
|
+
|
|
2101
|
+
- **アカウントの登録が1件だけなら `--account` は省略できます**(そのとき、どのアカウントを使ったかを必ず表示します)。2件以上なら `--account` で指定してください。`--account` には ID のほか `username@host`・username・host が使えます
|
|
2102
|
+
- `--repo` は `<owner>/<repo>` の形です(`twp github repo list` の `full_name`)。形の違う値は送る前に止めます
|
|
2103
|
+
- `issue list` / `pr list` / `repo list` / `issue search` は続きの有無を返さない接続面なので `--all` はありません。続きは `--page` を進めてください。一覧の本文は切り詰められています(Issue 1000 文字・PR 500 文字。全文は `get`)
|
|
2104
|
+
- `comment list` / `review list` / `review-comment list` / `branch list` / `commit list` / `code search` は `--all` で最後まで辿れます
|
|
2105
|
+
- `file get` は本文を返せないとき `content` が `null` になり、理由が `content_unavailable` に入ります(`too_large` / `binary` / `not_utf8` / `not_a_file`)。空のファイルは空文字で、`null` とは区別されます。ディレクトリを指すと直下の一覧を返します
|
|
2106
|
+
- `tree get --recursive` が GitHub の上限(10 万件・7MB)を超えると `truncated: true` になります。そのときは `--path` で範囲を絞ってください
|
|
2107
|
+
- github.com のコード検索は `repo:` / `org:` / `user:` のいずれかを含まない検索式を受け付けません
|
|
2108
|
+
|
|
2078
2109
|
### Microsoft 365(Outlook・Teams・OneDrive)を読む
|
|
2079
2110
|
|
|
2080
2111
|
TWP に Microsoft アカウントでログインしたことがあるユーザーは、自分のメール・予定・Teams・OneDrive を読めます。メールの送信・返信・転送、Teams のチャット送信・チャネル投稿・スレッド返信、予定の作成・更新・削除、OneDrive へのアップロードと共有リンクの作成もできます。
|
|
@@ -2158,6 +2189,36 @@ twp onedrive link create <項目ID> --scope organization|anonymous [--type vie
|
|
|
2158
2189
|
- ダウンロードは **`--out` のパスへ実体をそのまま書き出し**、既存ファイルは `--force` を付けたときだけ上書きします。添付・ファイルの名前から書き出し先を組み立てることはしません
|
|
2159
2190
|
- 要約列(table / text / tsv)の本文はプレーンテキストに直して1行に畳んだものです。元の HTML やメンション・リアクションは `--output json` で読めます
|
|
2160
2191
|
|
|
2192
|
+
### Slack を読む・送る
|
|
2193
|
+
|
|
2194
|
+
TWP の個人設定(外部連携)に登録した Slack ワークスペースを通して、チャネル・DM のメッセージを読み、送ります。並びは `twp teams` と同じです。
|
|
2195
|
+
|
|
2196
|
+
```
|
|
2197
|
+
twp slack favorite list [--kind channel|dm] # お気に入り(用途の説明つき)。送り先に迷ったら最初に見る
|
|
2198
|
+
twp slack favorite add --kind channel|dm --channel <ID> [--workspace <ID|名前>] [--name <名前>] [--description <文>]
|
|
2199
|
+
twp slack favorite update --kind channel|dm --channel <ID> [--workspace <ID|名前>] [--name <名前>] [--description <文>]
|
|
2200
|
+
twp slack favorite order <種別> <id> [<id> …] # id は favorite list の id(<ワークスペースID>#<会話ID>)
|
|
2201
|
+
twp slack favorite remove --kind channel|dm --channel <ID> --workspace <ID> --yes
|
|
2202
|
+
|
|
2203
|
+
twp slack workspace list # --workspace に渡す id / 名前
|
|
2204
|
+
twp slack channel list [--workspace <ID|名前>] [--limit <件数>] [--all] # --channel に渡す id
|
|
2205
|
+
twp slack dm list [--workspace <ID|名前>] [--limit <件数>] [--all]
|
|
2206
|
+
twp slack member list [--workspace <ID|名前>] [--limit <件数>] [--all]
|
|
2207
|
+
twp slack message list --channel <ID> [--oldest <ts>] [--latest <ts>] [--limit <件数>] [--all]
|
|
2208
|
+
twp slack message send --channel <ID> (--body-file <パス> | --body <文字列>) --yes
|
|
2209
|
+
twp slack reply list <ts> --channel <ID> [--limit <件数>] [--all]
|
|
2210
|
+
twp slack reply send <ts> --channel <ID> (--body-file <パス> | --body <文字列>) --yes
|
|
2211
|
+
twp slack mention list [--workspace <ID|名前>] [--limit <件数>] [--all]
|
|
2212
|
+
twp slack search messages <検索語> [--workspace <ID|名前>] [--limit <件数>] [--all]
|
|
2213
|
+
```
|
|
2214
|
+
|
|
2215
|
+
- `--workspace` は ID・ワークスペース名・チームID(`T…`)のどれでも指定できます。**登録が1件なら省略でき**(そのことを表示します)、0件・2件以上なら止まります
|
|
2216
|
+
- **チャネル・DM は会話ID(`C…` / `G…` / `D…`)だけで指定します**(チャネル名では指定できません)。`twp slack channel list --all --query "[?name=='general'].id"` で探すか、`favorite list` の `conversation_id` を使ってください
|
|
2217
|
+
- **権限(スコープ)が足りないと、不足しているスコープ名つきで終了コード 3 で止まります**(例: 「権限不足のため再登録が必要です(不足: chat:write)」)。Slack アプリにスコープを足してトークンを発行し直し、個人設定で登録し直してください。トークンが無効・失効しているときも同じく登録し直します
|
|
2218
|
+
- ⚠ **メッセージ送信・スレッド返信は、実行した瞬間にメンバーへ通知が届きます。** `--yes` が無ければ実行しません。`--dry-run` で送信先(ワークスペース・チャネル名・会話ID)と本文を確かめてから `--yes` を付けてください。送る前(`--dry-run` を含む)に会話を引き直して名前を表示し、参加していない・アーカイブ済みの会話へは送りません(会話の読み取りスコープ `channels:read` / `groups:read` / `im:read` / `mpim:read` のうち該当するものが要ります)。本文は Slack の mrkdwn としてそのまま送ります(40,000 文字まで。メンションは `<@ユーザーID>`)。終了コード 4 になっても投稿済みのことがあるので、打ち直す前に `message list` / `reply list` で確かめてください
|
|
2219
|
+
- `--limit` の上限はチャネル・DM・メンバー・メッセージ・返信が 999、メンションと検索が 100 です(超える値は送る前に止めます)。メンションと検索の `--cursor` はページ番号です
|
|
2220
|
+
- お気に入りは自分だけに見え、TWP 側に保存するので Slack のトークンが失効していても一覧・編集できます
|
|
2221
|
+
|
|
2161
2222
|
### エージェントループを回す
|
|
2162
2223
|
|
|
2163
2224
|
```
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
"schemaVersion": 2,
|
|
3
3
|
"routes": {
|
|
4
4
|
"DELETE /v2/accounting/account-titles/{id}": "accounting-master",
|
|
5
|
+
"DELETE /v2/accounting/journal-entry-drafts/{id}": "journal-entry",
|
|
5
6
|
"DELETE /v2/accounting/tax-categories/{id}": "accounting-master",
|
|
6
7
|
"DELETE /v2/admin/ai-keys/{provider}": "tenant-ai-key",
|
|
7
8
|
"DELETE /v2/admin/api-keys/{id}": "api-key",
|
|
@@ -78,6 +79,7 @@
|
|
|
78
79
|
"DELETE /v2/integrations/backlog/{spaceId}/issues/{issueIdOrKey}/comments/{commentId}": "external-integration-proxy",
|
|
79
80
|
"DELETE /v2/integrations/ms365/calendar/events/{eventId}": "microsoft-graph-proxy-v2",
|
|
80
81
|
"DELETE /v2/integrations/ms365/teams/favorites/{kind}/{id}": "microsoft-graph-proxy-v2",
|
|
82
|
+
"DELETE /v2/integrations/slack/favorites/{kind}/{workspaceId}/{conversationId}": "slack-favorite",
|
|
81
83
|
"DELETE /v2/license-assignments/{id}": "license-assignment",
|
|
82
84
|
"DELETE /v2/license-types/{id}": "license-type",
|
|
83
85
|
"DELETE /v2/licenses/{featureCode}/seats/billing-interval": "license",
|
|
@@ -283,6 +285,13 @@
|
|
|
283
285
|
"GET /v2/accounting/fixed-assets/ledger": "fixed-asset",
|
|
284
286
|
"GET /v2/accounting/fixed-assets/ledger/export": "fixed-asset",
|
|
285
287
|
"GET /v2/accounting/fixed-assets/{id}": "fixed-asset",
|
|
288
|
+
"GET /v2/accounting/journal": "journal-entry",
|
|
289
|
+
"GET /v2/accounting/journal-candidates": "journal-candidate",
|
|
290
|
+
"GET /v2/accounting/journal-candidates/{id}": "journal-candidate",
|
|
291
|
+
"GET /v2/accounting/journal-entries/{id}": "journal-entry",
|
|
292
|
+
"GET /v2/accounting/journal-entry-drafts": "journal-entry",
|
|
293
|
+
"GET /v2/accounting/journal-entry-drafts/{id}": "journal-entry",
|
|
294
|
+
"GET /v2/accounting/journal-entry-drafts/{id}/events": "journal-entry",
|
|
286
295
|
"GET /v2/accounting/mappings": "accounting-master",
|
|
287
296
|
"GET /v2/accounting/settings": "accounting-master",
|
|
288
297
|
"GET /v2/accounting/tax-categories": "accounting-master",
|
|
@@ -495,6 +504,7 @@
|
|
|
495
504
|
"GET /v2/cms/tags/{id}": "cms-tag",
|
|
496
505
|
"GET /v2/config/access": "config",
|
|
497
506
|
"GET /v2/config/features": "config",
|
|
507
|
+
"GET /v2/corporate/agenda-types": "corporate-procedure",
|
|
498
508
|
"GET /v2/corporate/articles": "corporate-management",
|
|
499
509
|
"GET /v2/corporate/articles/{id}/download": "corporate-management",
|
|
500
510
|
"GET /v2/corporate/documents": "corporate-document",
|
|
@@ -518,6 +528,7 @@
|
|
|
518
528
|
"GET /v2/corporate/procedures/{id}/receipts/{receiptId}/download": "corporate-procedure-ledger",
|
|
519
529
|
"GET /v2/corporate/profile": "corporate-management",
|
|
520
530
|
"GET /v2/corporate/registration-status/history": "corporate-management",
|
|
531
|
+
"GET /v2/corporate/resolution-reflections": "corporate-resolution-reflection",
|
|
521
532
|
"GET /v2/corporate/rights": "corporate-right",
|
|
522
533
|
"GET /v2/corporate/rights/rules": "corporate-right",
|
|
523
534
|
"GET /v2/corporate/rights/{id}": "corporate-right",
|
|
@@ -691,18 +702,32 @@
|
|
|
691
702
|
"GET /v2/integrations/backlog/{spaceId}/issues/{issueIdOrKey}/attachments": "external-integration-proxy",
|
|
692
703
|
"GET /v2/integrations/backlog/{spaceId}/issues/{issueIdOrKey}/attachments/{attachmentId}": "external-integration-proxy",
|
|
693
704
|
"GET /v2/integrations/backlog/{spaceId}/issues/{issueIdOrKey}/comments": "external-integration-proxy",
|
|
705
|
+
"GET /v2/integrations/backlog/{spaceId}/notifications": "external-integration-proxy",
|
|
706
|
+
"GET /v2/integrations/backlog/{spaceId}/notifications/count": "external-integration-proxy",
|
|
694
707
|
"GET /v2/integrations/backlog/{spaceId}/priorities": "external-integration-proxy",
|
|
695
708
|
"GET /v2/integrations/backlog/{spaceId}/projects": "external-integration-proxy",
|
|
696
709
|
"GET /v2/integrations/backlog/{spaceId}/projects/{projectIdOrKey}/issue-types": "external-integration-proxy",
|
|
697
710
|
"GET /v2/integrations/backlog/{spaceId}/projects/{projectIdOrKey}/statuses": "external-integration-proxy",
|
|
698
711
|
"GET /v2/integrations/backlog/{spaceId}/projects/{projectIdOrKey}/users": "external-integration-proxy",
|
|
712
|
+
"GET /v2/integrations/backlog/{spaceId}/projects/{projectIdOrKey}/versions": "external-integration-proxy",
|
|
713
|
+
"GET /v2/integrations/backlog/{spaceId}/resolutions": "external-integration-proxy",
|
|
714
|
+
"GET /v2/integrations/backlog/{spaceId}/users/myself": "external-integration-proxy",
|
|
699
715
|
"GET /v2/integrations/github/accounts": "external-integration-proxy",
|
|
700
716
|
"GET /v2/integrations/github/{accountId}/repos": "external-integration-proxy",
|
|
717
|
+
"GET /v2/integrations/github/{accountId}/repos/{owner}/{repo}/branches": "external-integration-proxy",
|
|
718
|
+
"GET /v2/integrations/github/{accountId}/repos/{owner}/{repo}/commits": "external-integration-proxy",
|
|
719
|
+
"GET /v2/integrations/github/{accountId}/repos/{owner}/{repo}/contents": "external-integration-proxy",
|
|
701
720
|
"GET /v2/integrations/github/{accountId}/repos/{owner}/{repo}/issues": "external-integration-proxy",
|
|
702
721
|
"GET /v2/integrations/github/{accountId}/repos/{owner}/{repo}/issues/{number}": "external-integration-proxy",
|
|
722
|
+
"GET /v2/integrations/github/{accountId}/repos/{owner}/{repo}/issues/{number}/comments": "external-integration-proxy",
|
|
703
723
|
"GET /v2/integrations/github/{accountId}/repos/{owner}/{repo}/pulls": "external-integration-proxy",
|
|
704
724
|
"GET /v2/integrations/github/{accountId}/repos/{owner}/{repo}/pulls/{number}": "external-integration-proxy",
|
|
725
|
+
"GET /v2/integrations/github/{accountId}/repos/{owner}/{repo}/pulls/{number}/comments": "external-integration-proxy",
|
|
726
|
+
"GET /v2/integrations/github/{accountId}/repos/{owner}/{repo}/pulls/{number}/reviews": "external-integration-proxy",
|
|
727
|
+
"GET /v2/integrations/github/{accountId}/repos/{owner}/{repo}/tree": "external-integration-proxy",
|
|
728
|
+
"GET /v2/integrations/github/{accountId}/search/code": "external-integration-proxy",
|
|
705
729
|
"GET /v2/integrations/github/{accountId}/search/issues": "external-integration-proxy",
|
|
730
|
+
"GET /v2/integrations/ms365/calendar/calendarView": "microsoft-graph-proxy-v2",
|
|
706
731
|
"GET /v2/integrations/ms365/calendar/events": "microsoft-graph-proxy-v2",
|
|
707
732
|
"GET /v2/integrations/ms365/calendar/events/{eventId}": "microsoft-graph-proxy-v2",
|
|
708
733
|
"GET /v2/integrations/ms365/drives/{driveId}/items/{itemId}": "microsoft-graph-proxy-v2",
|
|
@@ -715,6 +740,7 @@
|
|
|
715
740
|
"GET /v2/integrations/ms365/outlook/messages/{messageId}/attachments/{attachmentId}/content": "microsoft-graph-proxy-v2",
|
|
716
741
|
"GET /v2/integrations/ms365/status": "microsoft-graph-proxy-v2",
|
|
717
742
|
"GET /v2/integrations/ms365/teams/chats": "microsoft-graph-proxy-v2",
|
|
743
|
+
"GET /v2/integrations/ms365/teams/chats/{chatId}/members": "microsoft-graph-proxy-v2",
|
|
718
744
|
"GET /v2/integrations/ms365/teams/chats/{chatId}/messages": "microsoft-graph-proxy-v2",
|
|
719
745
|
"GET /v2/integrations/ms365/teams/favorites": "microsoft-graph-proxy-v2",
|
|
720
746
|
"GET /v2/integrations/ms365/teams/mentions": "microsoft-graph-proxy-v2",
|
|
@@ -734,6 +760,18 @@
|
|
|
734
760
|
"GET /v2/integrations/redmine/{serverId}/issues": "external-integration-proxy",
|
|
735
761
|
"GET /v2/integrations/redmine/{serverId}/issues/{issueId}": "external-integration-proxy",
|
|
736
762
|
"GET /v2/integrations/redmine/{serverId}/projects": "external-integration-proxy",
|
|
763
|
+
"GET /v2/integrations/redmine/{serverId}/projects/{projectId}/memberships": "external-integration-proxy",
|
|
764
|
+
"GET /v2/integrations/redmine/{serverId}/users/current": "external-integration-proxy",
|
|
765
|
+
"GET /v2/integrations/slack/favorites": "slack-favorite",
|
|
766
|
+
"GET /v2/integrations/slack/workspaces": "slack-proxy",
|
|
767
|
+
"GET /v2/integrations/slack/{workspaceId}/channels": "slack-proxy",
|
|
768
|
+
"GET /v2/integrations/slack/{workspaceId}/conversations/{channelId}": "slack-proxy",
|
|
769
|
+
"GET /v2/integrations/slack/{workspaceId}/conversations/{channelId}/messages": "slack-proxy",
|
|
770
|
+
"GET /v2/integrations/slack/{workspaceId}/conversations/{channelId}/messages/{ts}/replies": "slack-proxy",
|
|
771
|
+
"GET /v2/integrations/slack/{workspaceId}/dms": "slack-proxy",
|
|
772
|
+
"GET /v2/integrations/slack/{workspaceId}/members": "slack-proxy",
|
|
773
|
+
"GET /v2/integrations/slack/{workspaceId}/mentions": "slack-proxy",
|
|
774
|
+
"GET /v2/integrations/slack/{workspaceId}/search": "slack-proxy",
|
|
737
775
|
"GET /v2/invitations/{token}": "user-invitation",
|
|
738
776
|
"GET /v2/knowledge/qa/history": "knowledge-qa",
|
|
739
777
|
"GET /v2/license-assignments": "license-assignment",
|
|
@@ -1450,6 +1488,7 @@
|
|
|
1450
1488
|
"PATCH /v2/integrations/backlog/{spaceId}/issues/{issueIdOrKey}": "external-integration-proxy",
|
|
1451
1489
|
"PATCH /v2/integrations/ms365/calendar/events/{eventId}": "microsoft-graph-proxy-v2",
|
|
1452
1490
|
"PATCH /v2/integrations/notion/{workspaceId}/pages/{pageId}": "external-integration-proxy",
|
|
1491
|
+
"PATCH /v2/integrations/redmine/{serverId}/issues/{issueId}": "external-integration-proxy",
|
|
1453
1492
|
"PATCH /v2/master/supports/{id}/status": "master-support",
|
|
1454
1493
|
"PATCH /v2/meetings/{id}/voice": "meeting",
|
|
1455
1494
|
"PATCH /v2/notifications/{id}/reaction": "notification",
|
|
@@ -1481,6 +1520,14 @@
|
|
|
1481
1520
|
"POST /v2/accounting/fixed-assets": "fixed-asset",
|
|
1482
1521
|
"POST /v2/accounting/fixed-assets/{id}/cancel-disposal": "fixed-asset",
|
|
1483
1522
|
"POST /v2/accounting/fixed-assets/{id}/dispose": "fixed-asset",
|
|
1523
|
+
"POST /v2/accounting/journal-candidates/generate": "journal-candidate",
|
|
1524
|
+
"POST /v2/accounting/journal-candidates/post": "journal-candidate",
|
|
1525
|
+
"POST /v2/accounting/journal-candidates/{id}/post": "journal-candidate",
|
|
1526
|
+
"POST /v2/accounting/journal-entries/{id}/correct": "journal-entry",
|
|
1527
|
+
"POST /v2/accounting/journal-entry-drafts": "journal-entry",
|
|
1528
|
+
"POST /v2/accounting/journal-entry-drafts/{id}/post": "journal-entry",
|
|
1529
|
+
"POST /v2/accounting/journal-entry-drafts/{id}/return": "journal-entry",
|
|
1530
|
+
"POST /v2/accounting/journal-entry-drafts/{id}/submit": "journal-entry",
|
|
1484
1531
|
"POST /v2/accounting/tax-categories": "accounting-master",
|
|
1485
1532
|
"POST /v2/accounting/tax-categories/{id}/activate": "accounting-master",
|
|
1486
1533
|
"POST /v2/accounting/tax-categories/{id}/deactivate": "accounting-master",
|
|
@@ -1611,10 +1658,12 @@
|
|
|
1611
1658
|
"POST /v2/corporate/articles/{id}/ai-draft": "corporate-document-extraction",
|
|
1612
1659
|
"POST /v2/corporate/documents": "corporate-document",
|
|
1613
1660
|
"POST /v2/corporate/documents/{id}/ai-draft": "corporate-document-extraction",
|
|
1661
|
+
"POST /v2/corporate/documents/{id}/approval": "corporate-document",
|
|
1614
1662
|
"POST /v2/corporate/documents/{id}/versions": "corporate-document",
|
|
1615
1663
|
"POST /v2/corporate/establishment-guide/start": "corporate-establishment-guide",
|
|
1616
1664
|
"POST /v2/corporate/meetings": "corporate-meeting",
|
|
1617
1665
|
"POST /v2/corporate/meetings/{id}/agendas": "corporate-meeting",
|
|
1666
|
+
"POST /v2/corporate/meetings/{id}/agendas/{agendaId}/reflections": "corporate-resolution-reflection",
|
|
1618
1667
|
"POST /v2/corporate/meetings/{id}/resolutions/confirm": "corporate-meeting",
|
|
1619
1668
|
"POST /v2/corporate/meetings/{id}/resolutions/corrections": "corporate-meeting",
|
|
1620
1669
|
"POST /v2/corporate/officers": "corporate-officer",
|
|
@@ -1624,6 +1673,8 @@
|
|
|
1624
1673
|
"POST /v2/corporate/procedures/from-master": "corporate-procedure-ledger",
|
|
1625
1674
|
"POST /v2/corporate/procedures/{id}/receipts": "corporate-procedure-ledger",
|
|
1626
1675
|
"POST /v2/corporate/registration-status": "corporate-management",
|
|
1676
|
+
"POST /v2/corporate/resolution-reflections/{id}/apply": "corporate-resolution-reflection",
|
|
1677
|
+
"POST /v2/corporate/resolution-reflections/{id}/discard": "corporate-resolution-reflection",
|
|
1627
1678
|
"POST /v2/corporate/rights": "corporate-right",
|
|
1628
1679
|
"POST /v2/corporate/rights/{id}/end": "corporate-right",
|
|
1629
1680
|
"POST /v2/corporate/share-classes": "corporate-share",
|
|
@@ -1726,6 +1777,7 @@
|
|
|
1726
1777
|
"POST /v2/inquiries/{id}/generate-response": "inquiry-response-generator",
|
|
1727
1778
|
"POST /v2/integrations/backlog/{spaceId}/issues": "external-integration-proxy",
|
|
1728
1779
|
"POST /v2/integrations/backlog/{spaceId}/issues/{issueIdOrKey}/comments": "external-integration-proxy",
|
|
1780
|
+
"POST /v2/integrations/backlog/{spaceId}/notifications/{notificationId}/mark-as-read": "external-integration-proxy",
|
|
1729
1781
|
"POST /v2/integrations/ms365/calendar/events": "microsoft-graph-proxy-v2",
|
|
1730
1782
|
"POST /v2/integrations/ms365/drives/{driveId}/items/{itemId}/createLink": "microsoft-graph-proxy-v2",
|
|
1731
1783
|
"POST /v2/integrations/ms365/drives/{driveId}/items/{parentId}/createUploadSession": "microsoft-graph-proxy-v2",
|
|
@@ -1735,9 +1787,14 @@
|
|
|
1735
1787
|
"POST /v2/integrations/ms365/outlook/messages/{messageId}/replyAll": "microsoft-graph-proxy-v2",
|
|
1736
1788
|
"POST /v2/integrations/ms365/outlook/sendMail": "microsoft-graph-proxy-v2",
|
|
1737
1789
|
"POST /v2/integrations/ms365/teams/chats/{chatId}/messages": "microsoft-graph-proxy-v2",
|
|
1790
|
+
"POST /v2/integrations/ms365/teams/chats/{chatId}/messages/{messageId}/{reactionAction}": "microsoft-graph-proxy-v2",
|
|
1738
1791
|
"POST /v2/integrations/ms365/teams/teams/{teamId}/channels/{channelId}/messages": "microsoft-graph-proxy-v2",
|
|
1739
1792
|
"POST /v2/integrations/ms365/teams/teams/{teamId}/channels/{channelId}/messages/{messageId}/replies": "microsoft-graph-proxy-v2",
|
|
1793
|
+
"POST /v2/integrations/ms365/teams/teams/{teamId}/channels/{channelId}/messages/{messageId}/replies/{replyId}/{reactionAction}": "microsoft-graph-proxy-v2",
|
|
1794
|
+
"POST /v2/integrations/ms365/teams/teams/{teamId}/channels/{channelId}/messages/{messageId}/{reactionAction}": "microsoft-graph-proxy-v2",
|
|
1740
1795
|
"POST /v2/integrations/notion/{workspaceId}/databases/{databaseId}/query": "external-integration-proxy",
|
|
1796
|
+
"POST /v2/integrations/slack/{workspaceId}/conversations/{channelId}/messages": "slack-proxy",
|
|
1797
|
+
"POST /v2/integrations/slack/{workspaceId}/conversations/{channelId}/messages/{ts}/replies": "slack-proxy",
|
|
1741
1798
|
"POST /v2/invitations/{token}/accept": "user-invitation",
|
|
1742
1799
|
"POST /v2/knowledge/qa": "knowledge-qa",
|
|
1743
1800
|
"POST /v2/license-assignments": "license-assignment",
|
|
@@ -2243,6 +2300,7 @@
|
|
|
2243
2300
|
"PUT /v2/accounting/account-titles/order": "accounting-master",
|
|
2244
2301
|
"PUT /v2/accounting/account-titles/{id}": "accounting-master",
|
|
2245
2302
|
"PUT /v2/accounting/fixed-assets/{id}": "fixed-asset",
|
|
2303
|
+
"PUT /v2/accounting/journal-entry-drafts/{id}": "journal-entry",
|
|
2246
2304
|
"PUT /v2/accounting/settings": "accounting-master",
|
|
2247
2305
|
"PUT /v2/accounting/tax-categories/order": "accounting-master",
|
|
2248
2306
|
"PUT /v2/accounting/tax-categories/{id}": "accounting-master",
|
|
@@ -2305,6 +2363,7 @@
|
|
|
2305
2363
|
"PUT /v2/corporate/officers/{id}": "corporate-officer",
|
|
2306
2364
|
"PUT /v2/corporate/procedures/{id}": "corporate-procedure-ledger",
|
|
2307
2365
|
"PUT /v2/corporate/profile": "corporate-management",
|
|
2366
|
+
"PUT /v2/corporate/resolution-reflections/{id}": "corporate-resolution-reflection",
|
|
2308
2367
|
"PUT /v2/corporate/rights/{id}": "corporate-right",
|
|
2309
2368
|
"PUT /v2/corporate/share-classes/{id}": "corporate-share",
|
|
2310
2369
|
"PUT /v2/corporate/share-rounds/{id}": "corporate-share-round",
|
|
@@ -2348,6 +2407,8 @@
|
|
|
2348
2407
|
"PUT /v2/inquiries/routing/settings": "inquiry-routing",
|
|
2349
2408
|
"PUT /v2/integrations/ms365/teams/favorites": "microsoft-graph-proxy-v2",
|
|
2350
2409
|
"PUT /v2/integrations/ms365/teams/favorites/order": "microsoft-graph-proxy-v2",
|
|
2410
|
+
"PUT /v2/integrations/slack/favorites": "slack-favorite",
|
|
2411
|
+
"PUT /v2/integrations/slack/favorites/order": "slack-favorite",
|
|
2351
2412
|
"PUT /v2/license-assignments/{id}": "license-assignment",
|
|
2352
2413
|
"PUT /v2/license-types/{id}": "license-type",
|
|
2353
2414
|
"PUT /v2/licenses/{featureCode}/seats": "license",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"domain": "attendance",
|
|
3
3
|
"operations": [
|
|
4
|
-
{"name":"attendance-timesheet.show","domain":"attendance","operationId":"attendance.attendanceTimesheet.show","method":"GET","path":"/v2/attendance/timesheet","summary":"勤怠表を取得","pathParams":[],"queryParams":[],"body":null,"resultPath":
|
|
4
|
+
{"name":"attendance-timesheet.show","domain":"attendance","operationId":"attendance.attendanceTimesheet.show","method":"GET","path":"/v2/attendance/timesheet","summary":"勤怠表を取得","pathParams":[],"queryParams":[],"body":null,"resultPath":null,"risk":"read","aliases":[]}
|
|
5
5
|
]
|
|
6
6
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"domain": "corporate-document",
|
|
3
3
|
"operations": [
|
|
4
|
-
{"name":"
|
|
4
|
+
{"name":"apply-approval","domain":"corporate-document","operationId":"corporateDocument.applyApproval","method":"POST","path":"/v2/corporate/documents/{id}/approval","summary":"承認・却下・差し戻しはワークフローの承認者がワークフロー画面・API で行い、結果は事後アクションで記録される。","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"workflow_id":{"type":"string","maxLength":100},"approver_officer_ids":{"type":["array","null"],"items":{"type":"integer","minimum":1}},"comment":{"type":["string","null"],"maxLength":2000}},"required":["workflow_id"],"title":"CorporateMinutesApprovalRequest"}},"resultPath":null,"risk":"write","aliases":[]},
|
|
5
|
+
{"name":"create","domain":"corporate-document","operationId":"corporateDocument.store","method":"POST","path":"/v2/corporate/documents","summary":"","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary","contentMediaType":"application/octet-stream"},"document_type":{"type":"string","maxLength":100},"title":{"type":["string","null"],"maxLength":255},"prepared_on":{"type":["string","null"],"format":"date"},"submitted_on":{"type":["string","null"],"format":"date"},"retention_years":{"type":["integer","null"],"minimum":1,"maximum":100},"procedure_id":{"type":["integer","null"],"minimum":1},"officer_id":{"type":["integer","null"],"minimum":1},"right_id":{"type":["integer","null"],"minimum":1},"meeting_id":{"type":["integer","null"],"minimum":1},"note":{"type":["string","null"],"maxLength":1000}},"required":["file","document_type"],"title":"CorporateDocumentStoreRequest"}},"resultPath":null,"risk":"write","aliases":[]},
|
|
5
6
|
{"name":"download","domain":"corporate-document","operationId":"corporateDocument.download","method":"GET","path":"/v2/corporate/documents/{id}/download","summary":"","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":null,"risk":"read","aliases":[]},
|
|
6
7
|
{"name":"get","domain":"corporate-document","operationId":"corporateDocument.show","method":"GET","path":"/v2/corporate/documents/{id}","summary":"","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":null,"risk":"read","aliases":[]},
|
|
7
|
-
{"name":"list","domain":"corporate-document","operationId":"corporateDocument.index","method":"GET","path":"/v2/corporate/documents","summary":"","pathParams":[],"queryParams":[{"name":"procedure_id","type":"integer","required":false,"source":"spec"},{"name":"officer_id","type":"integer","required":false,"source":"spec"},{"name":"right_id","type":"integer","required":false,"source":"spec"},{"name":"document_type","type":"string","required":false,"source":"spec"}],"body":null,"resultPath":"items","risk":"read","aliases":[]},
|
|
8
|
-
{"name":"store-version","domain":"corporate-document","operationId":"corporateDocument.storeVersion","method":"POST","path":"/v2/corporate/documents/{id}/versions","summary":"","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary","contentMediaType":"application/octet-stream"},"document_type":{"type":"string","maxLength":100},"title":{"type":["string","null"],"maxLength":255},"prepared_on":{"type":["string","null"],"format":"date"},"submitted_on":{"type":["string","null"],"format":"date"},"retention_years":{"type":["integer","null"],"minimum":1,"maximum":100},"procedure_id":{"type":["integer","null"],"minimum":1},"officer_id":{"type":["integer","null"],"minimum":1},"right_id":{"type":["integer","null"],"minimum":1},"note":{"type":["string","null"],"maxLength":1000}},"required":["file","document_type"],"title":"CorporateDocumentStoreRequest"}},"resultPath":null,"risk":"write","aliases":[]}
|
|
8
|
+
{"name":"list","domain":"corporate-document","operationId":"corporateDocument.index","method":"GET","path":"/v2/corporate/documents","summary":"","pathParams":[],"queryParams":[{"name":"procedure_id","type":"integer","required":false,"source":"spec"},{"name":"officer_id","type":"integer","required":false,"source":"spec"},{"name":"right_id","type":"integer","required":false,"source":"spec"},{"name":"meeting_id","type":"integer","required":false,"source":"spec"},{"name":"document_type","type":"string","required":false,"source":"spec"}],"body":null,"resultPath":"items","risk":"read","aliases":[]},
|
|
9
|
+
{"name":"store-version","domain":"corporate-document","operationId":"corporateDocument.storeVersion","method":"POST","path":"/v2/corporate/documents/{id}/versions","summary":"","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary","contentMediaType":"application/octet-stream"},"document_type":{"type":"string","maxLength":100},"title":{"type":["string","null"],"maxLength":255},"prepared_on":{"type":["string","null"],"format":"date"},"submitted_on":{"type":["string","null"],"format":"date"},"retention_years":{"type":["integer","null"],"minimum":1,"maximum":100},"procedure_id":{"type":["integer","null"],"minimum":1},"officer_id":{"type":["integer","null"],"minimum":1},"right_id":{"type":["integer","null"],"minimum":1},"meeting_id":{"type":["integer","null"],"minimum":1},"note":{"type":["string","null"],"maxLength":1000}},"required":["file","document_type"],"title":"CorporateDocumentStoreRequest"}},"resultPath":null,"risk":"write","aliases":[]}
|
|
9
10
|
]
|
|
10
11
|
}
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
"domain": "corporate-procedure-master",
|
|
3
3
|
"operations": [
|
|
4
4
|
{"name":"approve","domain":"corporate-procedure-master","operationId":"corporateProcedureMaster.approve","method":"POST","path":"/v2/master/corporate-procedure-masters/{id}/approve","summary":"","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":null,"risk":"write","aliases":[]},
|
|
5
|
-
{"name":"create","domain":"corporate-procedure-master","operationId":"corporateProcedureMaster.store","method":"POST","path":"/v2/master/corporate-procedure-masters","summary":"","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"procedure_code":{"type":"string","pattern":"^[a-z0-9_]+$","maxLength":64},"name":{"type":"string","maxLength":255},"authority":{"type":"string","enum":["tax_office","pension_office","labor_standards_office","hello_work","legal_affairs_bureau","municipality","other"]},"submit_to":{"type":"string","maxLength":255},"effective_from":{"type":"string","format":"date"},"effective_to":{"type":["string","null"],"format":"date"},"applicability":{"type":"object","properties":{"registration_statuses":{"type":["array","null"],"items":{"type":"string","enum":["sole_proprietor","preparing","applying","registered","dissolving"]}},"requires_employees":{"type":["boolean","null"]},"optional":{"type":["boolean","null"]},"via_sole_proprietor":{"type":["boolean","null"]},"note":{"type":["string","null"],"maxLength":1000}}},"trigger_events":{"type":["array","null"],"items":{"type":"string","enum":["established","payroll_office_opened","first_employment","officer_appointed","officer_reappointed","officer_resigned","officer_term_expiring","registered_matter_changed"]},"maxItems":20},"deadline_rule":{"type":"object","properties":{"count_from":{"type":"string","enum":["event_day","next_day"]},"unit":{"type":"string","enum":["days","weeks","months"]},"value":{"type":"integer","minimum":1,"maximum":1000},"note":{"type":["string","null"],"maxLength":1000}}},"validity_rule":{"type":"object","properties":{"period_months_choices":{"type":"array","items":{"type":"integer","minimum":1,"maximum":120}},"notify_days_before":{"type":"array","items":{"type":"integer","minimum":0,"maximum":366}}}},"required_documents":{"type":["array","null"],"items":{"type":"string","maxLength":500},"maxItems":100},"entry_items":{"type":["array","null"],"items":{"type":"string","maxLength":500},"maxItems":100},"form_source_url":{"type":["string","null"],"format":"uri","maxLength":2048},"source_urls":{"type":["array","null"],"items":{"type":"string","format":"uri","maxLength":2048},"maxItems":20},"knowledge":{"type":["string","null"],"maxLength":20000}},"required":["procedure_code","name","authority","submit_to","effective_from","applicability","validity_rule"],"title":"SaveCorporateProcedureMasterRequest"}},"resultPath":null,"risk":"write","aliases":[]},
|
|
5
|
+
{"name":"create","domain":"corporate-procedure-master","operationId":"corporateProcedureMaster.store","method":"POST","path":"/v2/master/corporate-procedure-masters","summary":"","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"procedure_code":{"type":"string","pattern":"^[a-z0-9_]+$","maxLength":64},"name":{"type":"string","maxLength":255},"authority":{"type":"string","enum":["tax_office","pension_office","labor_standards_office","hello_work","legal_affairs_bureau","municipality","other"]},"submit_to":{"type":"string","maxLength":255},"effective_from":{"type":"string","format":"date"},"effective_to":{"type":["string","null"],"format":"date"},"applicability":{"type":"object","properties":{"registration_statuses":{"type":["array","null"],"items":{"type":"string","enum":["sole_proprietor","preparing","applying","registered","dissolving"]}},"requires_employees":{"type":["boolean","null"]},"optional":{"type":["boolean","null"]},"via_sole_proprietor":{"type":["boolean","null"]},"note":{"type":["string","null"],"maxLength":1000}}},"trigger_events":{"type":["array","null"],"items":{"type":"string","enum":["established","payroll_office_opened","first_employment","officer_appointed","officer_reappointed","officer_resigned","officer_term_expiring","registered_matter_changed"]},"maxItems":20},"deadline_rule":{"type":"object","properties":{"count_from":{"type":"string","enum":["event_day","next_day"]},"unit":{"type":"string","enum":["days","weeks","months"]},"value":{"type":"integer","minimum":1,"maximum":1000},"note":{"type":["string","null"],"maxLength":1000}}},"validity_rule":{"type":"object","properties":{"period_months_choices":{"type":"array","items":{"type":"integer","minimum":1,"maximum":120}},"notify_days_before":{"type":"array","items":{"type":"integer","minimum":0,"maximum":366}}}},"agenda_rule":{"type":"object","properties":{"registration":{"type":"string","enum":["required","not_required","conditional"]},"condition_question":{"type":["string","null"],"maxLength":1000},"start_date":{"type":"string","enum":["resolved_on","effective_on"]},"start_date_label":{"type":["string","null"],"maxLength":100},"trigger_event":{"type":"string","enum":["established","payroll_office_opened","first_employment","officer_appointed","officer_reappointed","officer_resigned","officer_term_expiring","registered_matter_changed"]},"note":{"type":["string","null"],"maxLength":1000}}},"required_documents":{"type":["array","null"],"items":{"type":"string","maxLength":500},"maxItems":100},"entry_items":{"type":["array","null"],"items":{"type":"string","maxLength":500},"maxItems":100},"form_source_url":{"type":["string","null"],"format":"uri","maxLength":2048},"source_urls":{"type":["array","null"],"items":{"type":"string","format":"uri","maxLength":2048},"maxItems":20},"knowledge":{"type":["string","null"],"maxLength":20000}},"required":["procedure_code","name","authority","submit_to","effective_from","applicability","validity_rule"],"title":"SaveCorporateProcedureMasterRequest"}},"resultPath":null,"risk":"write","aliases":[]},
|
|
6
6
|
{"name":"delete","domain":"corporate-procedure-master","operationId":"corporateProcedureMaster.destroy","method":"DELETE","path":"/v2/master/corporate-procedure-masters/{id}","summary":"","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":"","risk":"destructive","aliases":[]},
|
|
7
7
|
{"name":"get","domain":"corporate-procedure-master","operationId":"corporateProcedureMaster.show","method":"GET","path":"/v2/master/corporate-procedure-masters/{id}","summary":"","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":null,"risk":"read","aliases":[]},
|
|
8
8
|
{"name":"list","domain":"corporate-procedure-master","operationId":"corporateProcedureMaster.index","method":"GET","path":"/v2/master/corporate-procedure-masters","summary":"","pathParams":[],"queryParams":[{"name":"procedure_code","type":"string","required":false,"source":"spec"},{"name":"status","type":"string","required":false,"source":"spec"}],"body":null,"resultPath":"items","risk":"read","aliases":[]},
|
|
9
9
|
{"name":"publish","domain":"corporate-procedure-master","operationId":"corporateProcedureMaster.publish","method":"POST","path":"/v2/master/corporate-procedure-masters/{id}/publish","summary":"","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":null,"risk":"write","aliases":[]},
|
|
10
|
-
{"name":"update","domain":"corporate-procedure-master","operationId":"corporateProcedureMaster.update","method":"PUT","path":"/v2/master/corporate-procedure-masters/{id}","summary":"","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"procedure_code":{"type":"string","pattern":"^[a-z0-9_]+$","maxLength":64},"name":{"type":"string","maxLength":255},"authority":{"type":"string","enum":["tax_office","pension_office","labor_standards_office","hello_work","legal_affairs_bureau","municipality","other"]},"submit_to":{"type":"string","maxLength":255},"effective_from":{"type":"string","format":"date"},"effective_to":{"type":["string","null"],"format":"date"},"applicability":{"type":"object","properties":{"registration_statuses":{"type":["array","null"],"items":{"type":"string","enum":["sole_proprietor","preparing","applying","registered","dissolving"]}},"requires_employees":{"type":["boolean","null"]},"optional":{"type":["boolean","null"]},"via_sole_proprietor":{"type":["boolean","null"]},"note":{"type":["string","null"],"maxLength":1000}}},"trigger_events":{"type":["array","null"],"items":{"type":"string","enum":["established","payroll_office_opened","first_employment","officer_appointed","officer_reappointed","officer_resigned","officer_term_expiring","registered_matter_changed"]},"maxItems":20},"deadline_rule":{"type":"object","properties":{"count_from":{"type":"string","enum":["event_day","next_day"]},"unit":{"type":"string","enum":["days","weeks","months"]},"value":{"type":"integer","minimum":1,"maximum":1000},"note":{"type":["string","null"],"maxLength":1000}}},"validity_rule":{"type":"object","properties":{"period_months_choices":{"type":"array","items":{"type":"integer","minimum":1,"maximum":120}},"notify_days_before":{"type":"array","items":{"type":"integer","minimum":0,"maximum":366}}}},"required_documents":{"type":["array","null"],"items":{"type":"string","maxLength":500},"maxItems":100},"entry_items":{"type":["array","null"],"items":{"type":"string","maxLength":500},"maxItems":100},"form_source_url":{"type":["string","null"],"format":"uri","maxLength":2048},"source_urls":{"type":["array","null"],"items":{"type":"string","format":"uri","maxLength":2048},"maxItems":20},"knowledge":{"type":["string","null"],"maxLength":20000}},"required":["procedure_code","name","authority","submit_to","effective_from","applicability","validity_rule"],"title":"SaveCorporateProcedureMasterRequest"}},"resultPath":null,"risk":"write","aliases":[]}
|
|
10
|
+
{"name":"update","domain":"corporate-procedure-master","operationId":"corporateProcedureMaster.update","method":"PUT","path":"/v2/master/corporate-procedure-masters/{id}","summary":"","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"procedure_code":{"type":"string","pattern":"^[a-z0-9_]+$","maxLength":64},"name":{"type":"string","maxLength":255},"authority":{"type":"string","enum":["tax_office","pension_office","labor_standards_office","hello_work","legal_affairs_bureau","municipality","other"]},"submit_to":{"type":"string","maxLength":255},"effective_from":{"type":"string","format":"date"},"effective_to":{"type":["string","null"],"format":"date"},"applicability":{"type":"object","properties":{"registration_statuses":{"type":["array","null"],"items":{"type":"string","enum":["sole_proprietor","preparing","applying","registered","dissolving"]}},"requires_employees":{"type":["boolean","null"]},"optional":{"type":["boolean","null"]},"via_sole_proprietor":{"type":["boolean","null"]},"note":{"type":["string","null"],"maxLength":1000}}},"trigger_events":{"type":["array","null"],"items":{"type":"string","enum":["established","payroll_office_opened","first_employment","officer_appointed","officer_reappointed","officer_resigned","officer_term_expiring","registered_matter_changed"]},"maxItems":20},"deadline_rule":{"type":"object","properties":{"count_from":{"type":"string","enum":["event_day","next_day"]},"unit":{"type":"string","enum":["days","weeks","months"]},"value":{"type":"integer","minimum":1,"maximum":1000},"note":{"type":["string","null"],"maxLength":1000}}},"validity_rule":{"type":"object","properties":{"period_months_choices":{"type":"array","items":{"type":"integer","minimum":1,"maximum":120}},"notify_days_before":{"type":"array","items":{"type":"integer","minimum":0,"maximum":366}}}},"agenda_rule":{"type":"object","properties":{"registration":{"type":"string","enum":["required","not_required","conditional"]},"condition_question":{"type":["string","null"],"maxLength":1000},"start_date":{"type":"string","enum":["resolved_on","effective_on"]},"start_date_label":{"type":["string","null"],"maxLength":100},"trigger_event":{"type":"string","enum":["established","payroll_office_opened","first_employment","officer_appointed","officer_reappointed","officer_resigned","officer_term_expiring","registered_matter_changed"]},"note":{"type":["string","null"],"maxLength":1000}}},"required_documents":{"type":["array","null"],"items":{"type":"string","maxLength":500},"maxItems":100},"entry_items":{"type":["array","null"],"items":{"type":"string","maxLength":500},"maxItems":100},"form_source_url":{"type":["string","null"],"format":"uri","maxLength":2048},"source_urls":{"type":["array","null"],"items":{"type":"string","format":"uri","maxLength":2048},"maxItems":20},"knowledge":{"type":["string","null"],"maxLength":20000}},"required":["procedure_code","name","authority","submit_to","effective_from","applicability","validity_rule"],"title":"SaveCorporateProcedureMasterRequest"}},"resultPath":null,"risk":"write","aliases":[]}
|
|
11
11
|
]
|
|
12
12
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"domain": "corporate-procedure",
|
|
3
3
|
"operations": [
|
|
4
|
+
{"name":"agenda-types","domain":"corporate-procedure","operationId":"corporateProcedure.agendaTypes","method":"GET","path":"/v2/corporate/agenda-types","summary":"","pathParams":[],"queryParams":[{"name":"date","type":"string","required":false,"source":"spec"},{"name":"trigger_event","type":"string","required":false,"source":"spec"}],"body":null,"resultPath":"items","risk":"read","aliases":[]},
|
|
4
5
|
{"name":"get","domain":"corporate-procedure","operationId":"corporateProcedure.show","method":"GET","path":"/v2/corporate/procedure-masters/{procedureCode}","summary":"","pathParams":[{"name":"procedureCode","type":"string","required":true,"source":"spec"}],"queryParams":[{"name":"date","type":"string","required":false,"source":"spec"},{"name":"trigger_event","type":"string","required":false,"source":"spec"}],"body":null,"resultPath":"data","risk":"read","aliases":[]},
|
|
5
6
|
{"name":"list","domain":"corporate-procedure","operationId":"corporateProcedure.index","method":"GET","path":"/v2/corporate/procedure-masters","summary":"","pathParams":[],"queryParams":[{"name":"date","type":"string","required":false,"source":"spec"},{"name":"trigger_event","type":"string","required":false,"source":"spec"}],"body":null,"resultPath":"items","risk":"read","aliases":[]}
|
|
6
7
|
]
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "corporate-resolution-reflection",
|
|
3
|
+
"operations": [
|
|
4
|
+
{"name":"apply","domain":"corporate-resolution-reflection","operationId":"corporateResolutionReflection.apply","method":"POST","path":"/v2/corporate/resolution-reflections/{id}/apply","summary":"","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":null,"risk":"write","aliases":[]},
|
|
5
|
+
{"name":"create","domain":"corporate-resolution-reflection","operationId":"corporateResolutionReflection.store","method":"POST","path":"/v2/corporate/meetings/{id}/agendas/{agendaId}/reflections","summary":"","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"},{"name":"agendaId","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"kind":{"type":"string","enum":["officer_appoint","officer_reappoint","officer_resign","share_transfer"]},"payload":{"type":"object","properties":{"officer_id":{"type":["integer","null"],"minimum":1},"name":{"type":["string","null"],"maxLength":255},"name_kana":{"type":["string","null"],"maxLength":255},"role":{"type":["string","null"],"enum":["director","auditor","accounting_advisor",null]},"position_title":{"type":["string","null"],"maxLength":100},"has_representative_authority":{"type":["boolean","null"]},"elected_on":{"type":["string","null"],"format":"date"},"appointed_on":{"type":["string","null"],"format":"date"},"term_years":{"type":["integer","null"],"minimum":1,"maximum":10},"is_registered":{"type":["boolean","null"]},"resigned_on":{"type":["string","null"],"format":"date"},"resignation_reason":{"type":["string","null"],"enum":["term_expired","resigned","dismissed","deceased","other",null]},"occurred_on":{"type":["string","null"],"format":"date"},"share_class_id":{"type":["integer","null"],"minimum":1},"from_shareholder_id":{"type":["integer","null"],"minimum":1},"to_shareholder_id":{"type":["integer","null"],"minimum":1},"shares":{"type":["integer","null"],"minimum":1,"maximum":100000000000},"unit_price":{"type":["number","null"],"minimum":0,"maximum":10000000000000000},"note":{"type":["string","null"],"maxLength":1000}}}},"required":["kind","payload"],"title":"CorporateResolutionReflectionRequest"}},"resultPath":null,"risk":"write","aliases":[]},
|
|
6
|
+
{"name":"discard","domain":"corporate-resolution-reflection","operationId":"corporateResolutionReflection.discard","method":"POST","path":"/v2/corporate/resolution-reflections/{id}/discard","summary":"","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"reason":{"type":["string","null"],"maxLength":1000}},"title":"CorporateResolutionReflectionDiscardRequest"}},"resultPath":null,"risk":"write","aliases":[]},
|
|
7
|
+
{"name":"list","domain":"corporate-resolution-reflection","operationId":"corporateResolutionReflection.index","method":"GET","path":"/v2/corporate/resolution-reflections","summary":"","pathParams":[],"queryParams":[{"name":"meeting_id","type":["integer","null"],"required":false,"source":"spec"},{"name":"target","type":["string","null"],"required":false,"source":"spec"},{"name":"target_id","type":["integer","null"],"required":false,"source":"spec"}],"body":null,"resultPath":"items","risk":"read","aliases":[]},
|
|
8
|
+
{"name":"update","domain":"corporate-resolution-reflection","operationId":"corporateResolutionReflection.update","method":"PUT","path":"/v2/corporate/resolution-reflections/{id}","summary":"","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"kind":{"type":"string","enum":["officer_appoint","officer_reappoint","officer_resign","share_transfer"]},"payload":{"type":"object","properties":{"officer_id":{"type":["integer","null"],"minimum":1},"name":{"type":["string","null"],"maxLength":255},"name_kana":{"type":["string","null"],"maxLength":255},"role":{"type":["string","null"],"enum":["director","auditor","accounting_advisor",null]},"position_title":{"type":["string","null"],"maxLength":100},"has_representative_authority":{"type":["boolean","null"]},"elected_on":{"type":["string","null"],"format":"date"},"appointed_on":{"type":["string","null"],"format":"date"},"term_years":{"type":["integer","null"],"minimum":1,"maximum":10},"is_registered":{"type":["boolean","null"]},"resigned_on":{"type":["string","null"],"format":"date"},"resignation_reason":{"type":["string","null"],"enum":["term_expired","resigned","dismissed","deceased","other",null]},"occurred_on":{"type":["string","null"],"format":"date"},"share_class_id":{"type":["integer","null"],"minimum":1},"from_shareholder_id":{"type":["integer","null"],"minimum":1},"to_shareholder_id":{"type":["integer","null"],"minimum":1},"shares":{"type":["integer","null"],"minimum":1,"maximum":100000000000},"unit_price":{"type":["number","null"],"minimum":0,"maximum":10000000000000000},"note":{"type":["string","null"],"maxLength":1000}}}},"required":["kind","payload"],"title":"CorporateResolutionReflectionRequest"}},"resultPath":null,"risk":"write","aliases":[]}
|
|
9
|
+
]
|
|
10
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"domain": "corporate-share",
|
|
3
3
|
"operations": [
|
|
4
|
-
{"name":"correct-transaction","domain":"corporate-share","operationId":"corporateShare.correctTransaction","method":"POST","path":"/v2/corporate/share-transactions/{id}/correct","summary":"","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"transaction_type":{"type":"string","enum":["issuance","transfer","treasury_acquisition","treasury_disposal","treasury_cancellation","split","consolidation","opening_balance"]},"occurred_on":{"type":"string","format":"date"},"share_class_id":{"type":"integer","minimum":1},"from_shareholder_id":{"type":["integer","null"],"minimum":1},"to_shareholder_id":{"type":["integer","null"],"minimum":1},"shares":{"type":["integer","null"],"minimum":1,"maximum":100000000000},"ratio_numerator":{"type":["integer","null"],"minimum":1,"maximum":1000000},"ratio_denominator":{"type":["integer","null"],"minimum":1,"maximum":1000000},"unit_price":{"type":["number","null"],"minimum":0,"maximum":10000000000000000},"document_id":{"type":["integer","null"],"minimum":1},"approval_on":{"type":["string","null"],"format":"date"},"approval_document_id":{"type":["integer","null"],"minimum":1},"note":{"type":["string","null"],"maxLength":1000}},"required":["transaction_type","occurred_on","share_class_id"],"title":"CorporateShareTransactionRequest"}},"resultPath":null,"risk":"write","aliases":[]},
|
|
4
|
+
{"name":"correct-transaction","domain":"corporate-share","operationId":"corporateShare.correctTransaction","method":"POST","path":"/v2/corporate/share-transactions/{id}/correct","summary":"","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"transaction_type":{"type":"string","enum":["issuance","transfer","treasury_acquisition","treasury_disposal","treasury_cancellation","split","consolidation","opening_balance"]},"occurred_on":{"type":"string","format":"date"},"share_class_id":{"type":"integer","minimum":1},"from_shareholder_id":{"type":["integer","null"],"minimum":1},"to_shareholder_id":{"type":["integer","null"],"minimum":1},"shares":{"type":["integer","null"],"minimum":1,"maximum":100000000000},"ratio_numerator":{"type":["integer","null"],"minimum":1,"maximum":1000000},"ratio_denominator":{"type":["integer","null"],"minimum":1,"maximum":1000000},"unit_price":{"type":["number","null"],"minimum":0,"maximum":10000000000000000},"document_id":{"type":["integer","null"],"minimum":1},"approval_on":{"type":["string","null"],"format":"date"},"approval_document_id":{"type":["integer","null"],"minimum":1},"approval_agenda_id":{"type":["integer","null"],"minimum":1},"note":{"type":["string","null"],"maxLength":1000}},"required":["transaction_type","occurred_on","share_class_id"],"title":"CorporateShareTransactionRequest"}},"resultPath":null,"risk":"write","aliases":[]},
|
|
5
5
|
{"name":"holdings","domain":"corporate-share","operationId":"corporateShare.holdings","method":"GET","path":"/v2/corporate/share-holdings","summary":"","pathParams":[],"queryParams":[{"name":"as_of","type":["string","null"],"required":false,"source":"spec"}],"body":null,"resultPath":null,"risk":"read","aliases":[]},
|
|
6
6
|
{"name":"index-classes","domain":"corporate-share","operationId":"corporateShare.indexClasses","method":"GET","path":"/v2/corporate/share-classes","summary":"","pathParams":[],"queryParams":[],"body":null,"resultPath":"items","risk":"read","aliases":[]},
|
|
7
7
|
{"name":"index-shareholders","domain":"corporate-share","operationId":"corporateShare.indexShareholders","method":"GET","path":"/v2/corporate/shareholders","summary":"","pathParams":[],"queryParams":[],"body":null,"resultPath":"items","risk":"read","aliases":[]},
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
{"name":"show-transaction","domain":"corporate-share","operationId":"corporateShare.showTransaction","method":"GET","path":"/v2/corporate/share-transactions/{id}","summary":"","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":null,"risk":"read","aliases":[]},
|
|
12
12
|
{"name":"store-class","domain":"corporate-share","operationId":"corporateShare.storeClass","method":"POST","path":"/v2/corporate/share-classes","summary":"","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"name":{"type":"string","pattern":"\\S","maxLength":100},"is_common":{"type":"boolean"},"has_voting_rights":{"type":"boolean"},"has_dividend_rights":{"type":"boolean"},"is_transfer_restricted":{"type":"boolean"},"authorized_shares":{"type":"integer","minimum":1,"maximum":100000000000},"note":{"type":["string","null"],"maxLength":1000}},"required":["name","authorized_shares"],"title":"CorporateShareClassRequest"}},"resultPath":null,"risk":"write","aliases":[]},
|
|
13
13
|
{"name":"store-shareholder","domain":"corporate-share","operationId":"corporateShare.storeShareholder","method":"POST","path":"/v2/corporate/shareholders","summary":"","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"shareholder_type":{"type":"string","enum":["individual","corporation"]},"name":{"type":"string","pattern":"\\S","maxLength":255},"address":{"type":["string","null"],"maxLength":500},"note":{"type":["string","null"],"maxLength":1000}},"required":["shareholder_type","name"],"title":"CorporateShareholderRequest"}},"resultPath":null,"risk":"write","aliases":[]},
|
|
14
|
-
{"name":"store-transaction","domain":"corporate-share","operationId":"corporateShare.storeTransaction","method":"POST","path":"/v2/corporate/share-transactions","summary":"","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"transaction_type":{"type":"string","enum":["issuance","transfer","treasury_acquisition","treasury_disposal","treasury_cancellation","split","consolidation","opening_balance"]},"occurred_on":{"type":"string","format":"date"},"share_class_id":{"type":"integer","minimum":1},"from_shareholder_id":{"type":["integer","null"],"minimum":1},"to_shareholder_id":{"type":["integer","null"],"minimum":1},"shares":{"type":["integer","null"],"minimum":1,"maximum":100000000000},"ratio_numerator":{"type":["integer","null"],"minimum":1,"maximum":1000000},"ratio_denominator":{"type":["integer","null"],"minimum":1,"maximum":1000000},"unit_price":{"type":["number","null"],"minimum":0,"maximum":10000000000000000},"document_id":{"type":["integer","null"],"minimum":1},"approval_on":{"type":["string","null"],"format":"date"},"approval_document_id":{"type":["integer","null"],"minimum":1},"note":{"type":["string","null"],"maxLength":1000}},"required":["transaction_type","occurred_on","share_class_id"],"title":"CorporateShareTransactionRequest"}},"resultPath":null,"risk":"write","aliases":[]},
|
|
14
|
+
{"name":"store-transaction","domain":"corporate-share","operationId":"corporateShare.storeTransaction","method":"POST","path":"/v2/corporate/share-transactions","summary":"","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"transaction_type":{"type":"string","enum":["issuance","transfer","treasury_acquisition","treasury_disposal","treasury_cancellation","split","consolidation","opening_balance"]},"occurred_on":{"type":"string","format":"date"},"share_class_id":{"type":"integer","minimum":1},"from_shareholder_id":{"type":["integer","null"],"minimum":1},"to_shareholder_id":{"type":["integer","null"],"minimum":1},"shares":{"type":["integer","null"],"minimum":1,"maximum":100000000000},"ratio_numerator":{"type":["integer","null"],"minimum":1,"maximum":1000000},"ratio_denominator":{"type":["integer","null"],"minimum":1,"maximum":1000000},"unit_price":{"type":["number","null"],"minimum":0,"maximum":10000000000000000},"document_id":{"type":["integer","null"],"minimum":1},"approval_on":{"type":["string","null"],"format":"date"},"approval_document_id":{"type":["integer","null"],"minimum":1},"approval_agenda_id":{"type":["integer","null"],"minimum":1},"note":{"type":["string","null"],"maxLength":1000}},"required":["transaction_type","occurred_on","share_class_id"],"title":"CorporateShareTransactionRequest"}},"resultPath":null,"risk":"write","aliases":[]},
|
|
15
15
|
{"name":"update-class","domain":"corporate-share","operationId":"corporateShare.updateClass","method":"PUT","path":"/v2/corporate/share-classes/{id}","summary":"","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"name":{"type":"string","pattern":"\\S","maxLength":100},"is_common":{"type":"boolean"},"has_voting_rights":{"type":"boolean"},"has_dividend_rights":{"type":"boolean"},"is_transfer_restricted":{"type":"boolean"},"authorized_shares":{"type":"integer","minimum":1,"maximum":100000000000},"note":{"type":["string","null"],"maxLength":1000}},"required":["name","authorized_shares"],"title":"CorporateShareClassRequest"}},"resultPath":null,"risk":"write","aliases":[]},
|
|
16
16
|
{"name":"update-shareholder","domain":"corporate-share","operationId":"corporateShare.updateShareholder","method":"PUT","path":"/v2/corporate/shareholders/{id}","summary":"","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"shareholder_type":{"type":"string","enum":["individual","corporation"]},"name":{"type":"string","pattern":"\\S","maxLength":255},"address":{"type":["string","null"],"maxLength":500},"note":{"type":["string","null"],"maxLength":1000}},"required":["shareholder_type","name"],"title":"CorporateShareholderRequest"}},"resultPath":null,"risk":"write","aliases":[]}
|
|
17
17
|
]
|