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://chargeover.com/" --jsonstate: "READY"membrane connection ensuremembrane connection ensure "https://chargeover.com/" --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 Subscriptions | list-subscriptions | Query and list subscriptions |
| List Items | list-items | Query and list items |
| List Transactions | list-transactions | Query and list transactions |
| List Invoices | list-invoices | Query and list invoices |
| List Customers | list-customers | Query and list customers with optional filtering |
| Get Subscription | get-subscription | Get a subscription by ID |
| Get Item | get-item | Get an item by ID |
| Get Transaction | get-transaction | Get a transaction by ID |
| Get Invoice | get-invoice | Get a specific invoice by ID |
| Get Customer | get-customer | Get a specific customer by ID |
| Create Subscription | create-subscription | Create a new subscription for a customer |
| Create Item | create-item | Create a new item (product/service) |
| Create Invoice | create-invoice | Create a new invoice for a customer |
| Create Customer | create-customer | Create a new customer in ChargeOver |
| Update Item | update-item | Update an existing item |
| Update Customer | update-customer | Update an existing customer |
| Delete Item | delete-item | Delete an item by ID |
| Delete Customer | delete-customer | Delete a customer by ID |
| Cancel Subscription | cancel-subscription | Cancel a subscription |
| Make Payment | make-payment | Make a payment for a customer |
| 名称 | 标识 | 描述 |
|---|---|---|
| List Subscriptions(列出订阅) | list-subscriptions | 查询并列出订阅 |
| List Items(列出项目) | list-items | 查询并列出项目 |
| List Transactions(列出交易记录) | list-transactions | 查询并列出交易记录 |
| List Invoices(列出发票) | list-invoices | 查询并列出发票 |
| List Customers(列出客户) | list-customers | 查询并列出客户,可选择过滤条件 |
| Get Subscription(获取订阅) | get-subscription | 通过ID获取订阅 |
| Get Item(获取项目) | get-item | 通过ID获取项目 |
| Get Transaction(获取交易记录) | get-transaction | 通过ID获取交易记录 |
| Get Invoice(获取发票) | get-invoice | 通过ID获取特定发票 |
| Get Customer(获取客户) | get-customer | 通过ID获取特定客户 |
| Create Subscription(创建订阅) | create-subscription | 为客户创建新订阅 |
| Create Item(创建项目) | create-item | 创建新项目(产品/服务) |
| Create Invoice(创建发票) | create-invoice | 为客户创建新发票 |
| Create Customer(创建客户) | create-customer | 在ChargeOver中创建新客户 |
| Update Item(更新项目) | update-item | 更新现有项目 |
| Update Customer(更新客户) | update-customer | 更新现有客户 |
| Delete Item(删除项目) | delete-item | 通过ID删除项目 |
| Delete Customer(删除客户) | delete-customer | 通过ID删除客户 |
| Cancel Subscription(取消订阅) | cancel-subscription | 取消订阅 |
| Make Payment(发起付款) | make-payment | 为客户发起付款 |
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