(wantedId: string, input: RejectInput = {})
| 305 | } |
| 306 | |
| 307 | async reject(wantedId: string, input: RejectInput = {}): Promise<MutationOutcome> { |
| 308 | return unwrap( |
| 309 | await reject({ ctx: this.#ctx(), wantedId, reason: input.reason }), |
| 310 | this.#config.onError |
| 311 | ); |
| 312 | } |
| 313 | |
| 314 | async close(wantedId: string): Promise<MutationOutcome> { |
| 315 | return unwrap(await close({ ctx: this.#ctx(), wantedId }), this.#config.onError); |