(input: AddUserOperationInput)
| 326 | } |
| 327 | |
| 328 | async addUser(input: AddUserOperationInput): Promise<Request> { |
| 329 | const result = await this.actor.create_request({ |
| 330 | execution_plan: [{ Immediate: null }], |
| 331 | expiration_dt: [], |
| 332 | title: [], |
| 333 | summary: [], |
| 334 | operation: { AddUser: input }, |
| 335 | deduplication_key: [], |
| 336 | tags: [], |
| 337 | }); |
| 338 | |
| 339 | if (variantIs(result, 'Err')) { |
| 340 | throw result.Err; |
| 341 | } |
| 342 | |
| 343 | return result.Ok.request; |
| 344 | } |
| 345 | |
| 346 | async editUser(input: EditUserOperationInput): Promise<Request> { |
| 347 | const result = await this.actor.create_request({ |
nothing calls this directly
no test coverage detected