Loading...
Loading...
Compare original and translation side by side
membranenpm install -g @membranehq/cli@latestmembranenpm install -g @membranehq/cli@latestmembrane login --tenant --clientName=<agentType>membrane login complete <code>--jsonmembrane login --tenant --clientName=<agentType>membrane login complete <code>--jsonmembrane connection ensuremembrane connection ensure "https://mercury.co" --jsonstate: "READY"membrane connection ensuremembrane connection ensure "https://mercury.co" --jsonREADYBUILDINGnpx @membranehq/cli connection get <id> --wait --json--wait--timeoutstateBUILDINGREADYCLIENT_ACTION_REQUIREDclientActionclientAction.type"connect""provide-input"clientAction.descriptionclientAction.uiUrlclientAction.agentInstructionsmembrane connection get <id> --jsonREADYCONFIGURATION_ERRORSETUP_FAILEDerrorBUILDINGnpx @membranehq/cli connection get <id> --wait --json--wait--timeoutBUILDINGREADYCLIENT_ACTION_REQUIREDclientActionclientAction.type"connect""provide-input"clientAction.descriptionclientAction.uiUrlclientAction.agentInstructionsmembrane connection get <id> --jsonREADYCONFIGURATION_ERRORSETUP_FAILEDerrormembrane action list --connectionId=CONNECTION_ID --intent "QUERY" --limit 10 --jsonidnamedescriptioninputSchemaoutputSchemamembrane action list --connectionId=CONNECTION_ID --intent "QUERY" --limit 10 --jsonidnamedescriptioninputSchemaoutputSchema| Name | Key | Description |
|---|---|---|
| List Accounts | list-accounts | Retrieve a list of all bank accounts in the organization |
| List Customers | list-customers | Retrieve a list of all customers in accounts receivable |
| List Invoices | list-invoices | Retrieve a list of all invoices in accounts receivable |
| List Recipients | list-recipients | Retrieve a paginated list of all payment recipients |
| List Transactions | list-transactions | Retrieve a paginated list of all transactions across all accounts with optional filtering |
| List Users | list-users | Retrieve a list of all users in the organization |
| List Treasury Accounts | list-treasury-accounts | Retrieve a list of all treasury accounts |
| List Treasury Transactions | list-treasury-transactions | Retrieve treasury transactions |
| List Credit Accounts | list-credit-accounts | Retrieve a list of all credit accounts |
| List Account Transactions | list-account-transactions | Retrieve transactions for a specific account with optional date filtering |
| Get Account | get-account | Retrieve details of a specific bank account by ID |
| Get Customer | get-customer | Retrieve details of a specific customer by ID |
| Get Invoice | get-invoice | Retrieve details of a specific invoice by ID |
| Get Recipient | get-recipient | Retrieve details of a specific payment recipient by ID |
| Get Transaction | get-transaction | Retrieve details of a specific transaction by ID |
| Get User | get-user | Retrieve details of a specific user by ID |
| Create Customer | create-customer | Create a new customer for accounts receivable and invoicing |
| Create Invoice | create-invoice | Create a new invoice for the organization |
| Create Recipient | create-recipient | Create a new payment recipient for making payments |
| Update Customer | update-customer | Update an existing customer |
| 名称 | 标识 | 描述 |
|---|---|---|
| List Accounts | list-accounts | 获取组织中所有银行账户的列表 |
| List Customers | list-customers | 获取应收账款中所有客户的列表 |
| List Invoices | list-invoices | 获取应收账款中所有发票的列表 |
| List Recipients | list-recipients | 获取所有付款收款人的分页列表 |
| List Transactions | list-transactions | 获取所有账户中所有交易的分页列表,支持可选过滤 |
| List Users | list-users | 获取组织中所有用户的列表 |
| List Treasury Accounts | list-treasury-accounts | 获取所有资金账户的列表 |
| List Treasury Transactions | list-treasury-transactions | 获取资金账户交易记录 |
| List Credit Accounts | list-credit-accounts | 获取所有信用账户的列表 |
| List Account Transactions | list-account-transactions | 获取特定账户的交易记录,支持可选日期过滤 |
| Get Account | get-account | 通过ID获取特定银行账户的详细信息 |
| Get Customer | get-customer | 通过ID获取特定客户的详细信息 |
| Get Invoice | get-invoice | 通过ID获取特定发票的详细信息 |
| Get Recipient | get-recipient | 通过ID获取特定付款收款人的详细信息 |
| Get Transaction | get-transaction | 通过ID获取特定交易的详细信息 |
| Get User | get-user | 通过ID获取特定用户的详细信息 |
| Create Customer | create-customer | 为应收账款和发票管理创建新客户 |
| Create Invoice | create-invoice | 为组织创建新发票 |
| Create Recipient | create-recipient | 创建新的付款收款人以进行付款 |
| Update Customer | update-customer | 更新现有客户信息 |
membrane action run <actionId> --connectionId=CONNECTION_ID --jsonmembrane action run <actionId> --connectionId=CONNECTION_ID --input '{"key": "value"}' --jsonoutputmembrane action run <actionId> --connectionId=CONNECTION_ID --jsonmembrane action run <actionId> --connectionId=CONNECTION_ID --input '{"key": "value"}' --jsonoutputmembrane request CONNECTION_ID /path/to/endpoint| Flag | Description |
|---|---|
| HTTP method (GET, POST, PUT, PATCH, DELETE). Defaults to GET |
| Add a request header (repeatable), e.g. |
| Request body (string) |
| Shorthand to send a JSON body and set |
| Send the body as-is without any processing |
| Query-string parameter (repeatable), e.g. |
| Path parameter (repeatable), e.g. |
membrane request CONNECTION_ID /path/to/endpoint| 标志 | 描述 |
|---|---|
| HTTP方法(GET、POST、PUT、PATCH、DELETE)。默认值为GET |
| 添加请求标头(可重复使用),例如 |
| 请求体(字符串) |
| 简写方式,用于发送JSON体并设置 |
| 按原样发送请求体,不进行任何处理 |
| 查询字符串参数(可重复使用),例如 |
| 路径参数(可重复使用),例如 |
membrane action list --intent=QUERYmembrane action list --intent=QUERY