Skip to content

Commit

Permalink
ci: Generate code
Browse files Browse the repository at this point in the history
  • Loading branch information
seambot committed Sep 26, 2023
1 parent 7e70c6f commit 82ea55f
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions src/lib/seam/connect/routes/noise-sensors-noise-thresholds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,16 +64,12 @@ export class SeamHttpNoiseSensorsNoiseThresholds {
return new SeamHttpNoiseSensorsNoiseThresholds(opts)
}

async create(
body: NoiseSensorsNoiseThresholdsCreateBody,
): Promise<NoiseSensorsNoiseThresholdsCreateResponse['action_attempt']> {
const { data } =
await this.client.request<NoiseSensorsNoiseThresholdsCreateResponse>({
url: '/noise_sensors/noise_thresholds/create',
method: 'post',
data: body,
})
return data.action_attempt
async create(body: NoiseSensorsNoiseThresholdsCreateBody): Promise<void> {
await this.client.request<NoiseSensorsNoiseThresholdsCreateResponse>({
url: '/noise_sensors/noise_thresholds/create',
method: 'post',
data: body,
})
}

async delete(body: NoiseSensorsNoiseThresholdsDeleteBody): Promise<void> {
Expand Down

0 comments on commit 82ea55f

Please sign in to comment.