(raw: RawClient["server.session"])
| 65 | readonly location?: Endpoint3_1Request["payload"]["location"] |
| 66 | } |
| 67 | const Endpoint3_1 = (raw: RawClient["server.session"]) => (input?: Endpoint3_1Input) => |
| 68 | raw["session.create"]({ |
| 69 | payload: { id: input?.["id"], agent: input?.["agent"], model: input?.["model"], location: input?.["location"] }, |
| 70 | }).pipe( |
| 71 | Effect.mapError(mapClientError), |
| 72 | Effect.map((value) => value.data), |
| 73 | ) |
| 74 | |
| 75 | const Endpoint3_2 = (raw: RawClient["server.session"]) => () => |
| 76 | raw["session.active"]({}).pipe( |