| 198 | } |
| 199 | |
| 200 | async postDeployUploaded(deployId: string, buildManifest: BuildManifest | null): Promise<DeployInfo> { |
| 201 | return await this._fetch<DeployInfo>(new URL(`/cli/deploy/${deployId}/uploaded`, this._apiOrigin), { |
| 202 | method: "POST", |
| 203 | headers: {"content-type": "application/json"}, |
| 204 | body: JSON.stringify(buildManifest) |
| 205 | }); |
| 206 | } |
| 207 | |
| 208 | async postAuthRequest(options: {scopes: string[]; deviceDescription: string}): Promise<PostAuthRequestResponse> { |
| 209 | return await this._fetch<PostAuthRequestResponse>(new URL("/cli/auth/request", this._apiOrigin), { |