Loading...
Loading...
Compare original and translation side by side
membranenpm install -g @membranehq/climembranenpm install -g @membranehq/climembrane login --tenantmembrane login complete <code>membrane login --tenantmembrane login complete <code>membrane search deputy --elementType=connector --jsonoutput.items[0].element?.idmembrane connect --connectorId=CONNECTOR_ID --jsonmembrane search deputy --elementType=connector --jsonoutput.items[0].element?.idmembrane connect --connectorId=CONNECTOR_ID --jsonmembrane connection list --jsonconnectionIdmembrane connection list --jsonconnectionIdmembrane action list --intent=QUERY --connectionId=CONNECTION_ID --jsonmembrane action list --intent=QUERY --connectionId=CONNECTION_ID --json| Name | Key | Description |
|---|---|---|
| Get Area by ID | get-area-by-id | Retrieve a specific operational unit (area) by its ID |
| List Areas | list-areas | Retrieve a list of operational units (areas) from Deputy |
| Clock Out Employee | clock-out-employee | End a timesheet for an employee (clock out) |
| Clock In Employee | clock-in-employee | Start a timesheet for an employee (clock in) |
| List Leave Requests | list-leave-requests | Retrieve a list of leave requests from Deputy |
| Create Shift | create-shift | Create a new shift (roster) in Deputy |
| Get Shift by ID | get-shift-by-id | Retrieve a specific shift by its ID |
| List Shifts | list-shifts | Retrieve a list of scheduled shifts (rosters) from Deputy |
| Get Timesheet by ID | get-timesheet-by-id | Retrieve a specific timesheet by its ID |
| List Timesheets | list-timesheets | Retrieve a list of timesheets from Deputy |
| Get Location by ID | get-location-by-id | Retrieve a specific location by its ID |
| List Locations | list-locations | Retrieve a list of all locations (companies) from Deputy |
| Create Employee | create-employee | Add a new employee to Deputy |
| Get Employee by ID | get-employee-by-id | Retrieve a specific employee by their ID |
| List Employees | list-employees | Retrieve a list of all employees from Deputy |
| 名称 | 键名 | 描述 |
|---|---|---|
| 根据ID获取区域 | get-area-by-id | 根据ID获取指定运营单元(区域) |
| 列出所有区域 | list-areas | 从Deputy获取运营单元(区域)列表 |
| 员工打卡下班 | clock-out-employee | 结束员工的工时表记录(打卡下班) |
| 员工打卡上班 | clock-in-employee | 为员工启动工时表记录(打卡上班) |
| 列出休假申请 | list-leave-requests | 从Deputy获取休假申请列表 |
| 创建排班 | create-shift | 在Deputy中创建新的排班(值班表) |
| 根据ID获取排班 | get-shift-by-id | 根据ID获取指定排班信息 |
| 列出所有排班 | list-shifts | 从Deputy获取已安排的排班(值班表)列表 |
| 根据ID获取工时表 | get-timesheet-by-id | 根据ID获取指定工时表信息 |
| 列出所有工时表 | list-timesheets | 从Deputy获取工时表列表 |
| 根据ID获取地点 | get-location-by-id | 根据ID获取指定地点信息 |
| 列出所有地点 | list-locations | 从Deputy获取所有地点(公司)列表 |
| 创建员工 | create-employee | 在Deputy中新增员工 |
| 根据ID获取员工信息 | get-employee-by-id | 根据ID获取指定员工信息 |
| 列出所有员工 | list-employees | 从Deputy获取所有员工列表 |
membrane action run --connectionId=CONNECTION_ID ACTION_ID --jsonmembrane action run --connectionId=CONNECTION_ID ACTION_ID --json --input "{ \"key\": \"value\" }"membrane action run --connectionId=CONNECTION_ID ACTION_ID --jsonmembrane action run --connectionId=CONNECTION_ID ACTION_ID --json --input "{ \"key\": \"value\" }"membrane 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