@seamapi/types 1.1105.0 → 1.1107.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -825,6 +825,7 @@ export type ExternalResources = z.infer<typeof external_resources>;
825
825
  export declare const customer_data: z.ZodObject<{
826
826
  customer_key: z.ZodEffects<z.ZodString, string, string>;
827
827
  customization_profile_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
828
+ low_battery_alert_threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
828
829
  } & {
829
830
  spaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
830
831
  name: z.ZodString;
@@ -1371,6 +1372,7 @@ export declare const customer_data: z.ZodObject<{
1371
1372
  building_keys?: string[] | undefined;
1372
1373
  listing_keys?: string[] | undefined;
1373
1374
  }[] | undefined;
1375
+ low_battery_alert_threshold?: number | null | undefined;
1374
1376
  rooms?: {
1375
1377
  name: string;
1376
1378
  room_key: string;
@@ -1537,6 +1539,7 @@ export declare const customer_data: z.ZodObject<{
1537
1539
  building_keys?: string[] | undefined;
1538
1540
  listing_keys?: string[] | undefined;
1539
1541
  }[] | undefined;
1542
+ low_battery_alert_threshold?: number | null | undefined;
1540
1543
  rooms?: {
1541
1544
  name: string;
1542
1545
  room_key: string;
@@ -83,6 +83,13 @@ export const customer_data = z
83
83
  .nullable()
84
84
  .optional()
85
85
  .describe("ID of the customization profile to use for this customer. Access grants that automations create for this customer use this profile. Pass `null` to remove the customer's customization profile."),
86
+ low_battery_alert_threshold: z
87
+ .number()
88
+ .min(0)
89
+ .max(1)
90
+ .nullable()
91
+ .optional()
92
+ .describe("Battery level, from 0 to 1, at or below which `device.low_battery` events fire for this customer's devices. Overrides the workspace and device defaults. Pass `null` to remove the customer's override."),
86
93
  })
87
94
  .merge(external_resources);
88
95
  export * from './access-grant-resources.js';
@@ -1 +1 @@
1
- {"version":3,"file":"customer-data.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/customer/customer-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AAK,CAAC,qBAAqB,CAAC;SAC5B,QAAQ,EAAE;SACV,QAAQ,CAAC,wBAAwB,CAAC;CACtC,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC;KAC3B,MAAM,CAAC;IACN,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CAAC;SACN,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,KAAK,GAAG,CAAC,IAAI,EAAE,EAAE;QACnC,OAAO,EAAE,8CAA8C;KACxD,CAAC;SACD,QAAQ,CAAC,0CAA0C,CAAC;IACvD,wBAAwB,EAAE,CAAC;SACxB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CACP,iMAAiM,CAClM;CACJ,CAAC;KACD,KAAK,CAAC,kBAAkB,CAAC,CAAA;AAI5B,cAAc,6BAA6B,CAAA;AAC3C,cAAc,yBAAyB,CAAA;AACvC,cAAc,8BAA8B,CAAA"}
1
+ {"version":3,"file":"customer-data.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/customer/customer-data.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAA;AAE3B,OAAO,EACL,qBAAqB,EACrB,gBAAgB,EAChB,oBAAoB,GACrB,MAAM,6BAA6B,CAAA;AACpC,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EACpB,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,yBAAyB,EACzB,iBAAiB,EACjB,aAAa,EACb,aAAa,EACb,aAAa,GACd,MAAM,yBAAyB,CAAA;AAChC,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,qBAAqB,EACrB,eAAe,EACf,sBAAsB,EACtB,aAAa,GACd,MAAM,8BAA8B,CAAA;AAErC,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC;IACzC,MAAM,EAAE,CA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ClM;IACH,2BAA2B,EAAE,CAAC;SAC3B,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CAAC;SACN,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CACP,yMAAyM,CAC1M;CACJ,CAAC;KACD,KAAK,CAAC,kBAAkB,CAAC,CAAA;AAI5B,cAAc,6BAA6B,CAAA;AAC3C,cAAc,yBAAyB,CAAA;AACvC,cAAc,8BAA8B,CAAA"}
@@ -4,15 +4,18 @@ export declare const customer: z.ZodObject<{
4
4
  workspace_id: z.ZodString;
5
5
  created_at: z.ZodString;
6
6
  customization_profile_id: z.ZodNullable<z.ZodString>;
7
+ low_battery_alert_threshold: z.ZodNullable<z.ZodNumber>;
7
8
  }, "strip", z.ZodTypeAny, {
8
9
  workspace_id: string;
9
10
  created_at: string;
10
11
  customer_key: string;
11
12
  customization_profile_id: string | null;
13
+ low_battery_alert_threshold: number | null;
12
14
  }, {
13
15
  workspace_id: string;
14
16
  created_at: string;
15
17
  customer_key: string;
16
18
  customization_profile_id: string | null;
19
+ low_battery_alert_threshold: number | null;
17
20
  }>;
18
21
  export type Customer = z.infer<typeof customer>;
@@ -14,6 +14,10 @@ export const customer = z.object({
14
14
  .uuid()
15
15
  .nullable()
16
16
  .describe('ID of the customization profile the customer uses. Access grants that automations create for this customer use this profile. This can differ from the profiles the customer owns.'),
17
+ low_battery_alert_threshold: z
18
+ .number()
19
+ .nullable()
20
+ .describe("Battery level, from 0 to 1, at or below which `device.low_battery` events fire for this customer's devices. `null` means the workspace or device default applies."),
17
21
  }).describe(`
18
22
  ---
19
23
  route_path: /customers
@@ -1 +1 @@
1
- {"version":3,"file":"customer.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/customer/customer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAA;AAE3B,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAEzC,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/B,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,QAAQ,CAAC,mDAAmD,CAAC;IAChE,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,mDAAmD,CAAC;IAChE,UAAU,EAAE,QAAQ,CAAC,QAAQ,CAC3B,kDAAkD,CACnD;IACD,wBAAwB,EAAE,CAAC;SACxB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,EAAE;SACV,QAAQ,CACP,mLAAmL,CACpL;CACJ,CAAC,CAAC,QAAQ,CAAC;;;;;;GAMT,CAAC,CAAA"}
1
+ {"version":3,"file":"customer.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/customer/customer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAA;AAE3B,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAEzC,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/B,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,QAAQ,CAAC,mDAAmD,CAAC;IAChE,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,mDAAmD,CAAC;IAChE,UAAU,EAAE,QAAQ,CAAC,QAAQ,CAC3B,kDAAkD,CACnD;IACD,wBAAwB,EAAE,CAAC;SACxB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,EAAE;SACV,QAAQ,CACP,mLAAmL,CACpL;IACH,2BAA2B,EAAE,CAAC;SAC3B,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,mKAAmK,CACpK;CACJ,CAAC,CAAC,QAAQ,CAAC;;;;;;GAMT,CAAC,CAAA"}
@@ -12754,6 +12754,12 @@ const openapi = {
12754
12754
  nullable: true,
12755
12755
  type: 'string',
12756
12756
  },
12757
+ low_battery_alert_threshold: {
12758
+ description: "Battery level, from 0 to 1, at or below which `device.low_battery` events fire for this customer's devices. `null` means the workspace or device default applies.",
12759
+ format: 'float',
12760
+ nullable: true,
12761
+ type: 'number',
12762
+ },
12757
12763
  workspace_id: {
12758
12764
  description: 'ID of the workspace associated with the customer.',
12759
12765
  format: 'uuid',
@@ -12765,6 +12771,7 @@ const openapi = {
12765
12771
  'workspace_id',
12766
12772
  'created_at',
12767
12773
  'customization_profile_id',
12774
+ 'low_battery_alert_threshold',
12768
12775
  ],
12769
12776
  type: 'object',
12770
12777
  'x-route-path': '/customers',
@@ -46508,6 +46515,14 @@ const openapi = {
46508
46515
  },
46509
46516
  type: 'array',
46510
46517
  },
46518
+ low_battery_alert_threshold: {
46519
+ description: "Battery level, from 0 to 1, at or below which `device.low_battery` events fire for this customer's devices. Overrides the workspace and device defaults. Pass `null` to remove the customer's override.",
46520
+ format: 'float',
46521
+ maximum: 1,
46522
+ minimum: 0,
46523
+ nullable: true,
46524
+ type: 'number',
46525
+ },
46511
46526
  properties: {
46512
46527
  description: 'List of short-term rental properties.',
46513
46528
  items: {
@@ -47562,6 +47577,14 @@ const openapi = {
47562
47577
  },
47563
47578
  type: 'array',
47564
47579
  },
47580
+ low_battery_alert_threshold: {
47581
+ description: "Battery level, from 0 to 1, at or below which `device.low_battery` events fire for this customer's devices. Overrides the workspace and device defaults. Pass `null` to remove the customer's override.",
47582
+ format: 'float',
47583
+ maximum: 1,
47584
+ minimum: 0,
47585
+ nullable: true,
47586
+ type: 'number',
47587
+ },
47565
47588
  properties: {
47566
47589
  description: 'List of short-term rental properties.',
47567
47590
  items: {
@@ -64156,6 +64179,370 @@ const openapi = {
64156
64179
  'x-title': 'Update a Space',
64157
64180
  },
64158
64181
  },
64182
+ '/speakers/mute': {
64183
+ post: {
64184
+ description: 'Mutes a specified speaker. To check whether a speaker supports muting, use `device.can_mute_speaker`.',
64185
+ operationId: 'speakersMutePost',
64186
+ requestBody: {
64187
+ content: {
64188
+ 'application/json': {
64189
+ schema: {
64190
+ properties: {
64191
+ device_id: {
64192
+ description: 'ID of the speaker that you want to mute.',
64193
+ format: 'uuid',
64194
+ type: 'string',
64195
+ },
64196
+ },
64197
+ required: ['device_id'],
64198
+ type: 'object',
64199
+ },
64200
+ },
64201
+ },
64202
+ },
64203
+ responses: {
64204
+ '200': {
64205
+ content: {
64206
+ 'application/json': {
64207
+ schema: {
64208
+ properties: {
64209
+ action_attempt: {
64210
+ $ref: '#/components/schemas/action_attempt',
64211
+ },
64212
+ ok: { type: 'boolean' },
64213
+ },
64214
+ required: ['action_attempt', 'ok'],
64215
+ type: 'object',
64216
+ },
64217
+ },
64218
+ },
64219
+ description: 'OK',
64220
+ },
64221
+ '400': { description: 'Bad Request' },
64222
+ '401': { description: 'Unauthorized' },
64223
+ },
64224
+ security: [
64225
+ { client_session: [] },
64226
+ { pat_with_workspace: [] },
64227
+ { console_session_with_workspace: [] },
64228
+ { api_key: [] },
64229
+ ],
64230
+ summary: '/speakers/mute',
64231
+ tags: [],
64232
+ 'x-action-attempt-type': 'SET_SPEAKER_MUTE',
64233
+ 'x-fern-sdk-group-name': ['speakers'],
64234
+ 'x-fern-sdk-method-name': 'mute',
64235
+ 'x-fern-sdk-return-value': 'action_attempt',
64236
+ 'x-response-key': 'action_attempt',
64237
+ 'x-title': 'Mute a Speaker',
64238
+ 'x-undocumented': 'Unreleased.',
64239
+ },
64240
+ },
64241
+ '/speakers/pause': {
64242
+ post: {
64243
+ description: 'Pauses playback on a specified speaker. Playback also pauses on the speakers grouped with it, and the action attempt result lists every affected speaker. To check whether a speaker supports pausing playback, use `device.can_pause_speaker_playback`.',
64244
+ operationId: 'speakersPausePost',
64245
+ requestBody: {
64246
+ content: {
64247
+ 'application/json': {
64248
+ schema: {
64249
+ properties: {
64250
+ device_id: {
64251
+ description: 'ID of the speaker on which you want to pause playback.',
64252
+ format: 'uuid',
64253
+ type: 'string',
64254
+ },
64255
+ },
64256
+ required: ['device_id'],
64257
+ type: 'object',
64258
+ },
64259
+ },
64260
+ },
64261
+ },
64262
+ responses: {
64263
+ '200': {
64264
+ content: {
64265
+ 'application/json': {
64266
+ schema: {
64267
+ properties: {
64268
+ action_attempt: {
64269
+ $ref: '#/components/schemas/action_attempt',
64270
+ },
64271
+ ok: { type: 'boolean' },
64272
+ },
64273
+ required: ['action_attempt', 'ok'],
64274
+ type: 'object',
64275
+ },
64276
+ },
64277
+ },
64278
+ description: 'OK',
64279
+ },
64280
+ '400': { description: 'Bad Request' },
64281
+ '401': { description: 'Unauthorized' },
64282
+ },
64283
+ security: [
64284
+ { client_session: [] },
64285
+ { pat_with_workspace: [] },
64286
+ { console_session_with_workspace: [] },
64287
+ { api_key: [] },
64288
+ ],
64289
+ summary: '/speakers/pause',
64290
+ tags: [],
64291
+ 'x-action-attempt-type': 'PAUSE_SPEAKER_PLAYBACK',
64292
+ 'x-fern-sdk-group-name': ['speakers'],
64293
+ 'x-fern-sdk-method-name': 'pause',
64294
+ 'x-fern-sdk-return-value': 'action_attempt',
64295
+ 'x-response-key': 'action_attempt',
64296
+ 'x-title': 'Pause Playback on a Speaker',
64297
+ 'x-undocumented': 'Unreleased.',
64298
+ },
64299
+ },
64300
+ '/speakers/play_chime': {
64301
+ post: {
64302
+ description: 'Plays a short chime on a specified speaker. To check whether a speaker supports playing a chime, use `device.can_play_speaker_chime`.',
64303
+ operationId: 'speakersPlayChimePost',
64304
+ requestBody: {
64305
+ content: {
64306
+ 'application/json': {
64307
+ schema: {
64308
+ properties: {
64309
+ device_id: {
64310
+ description: 'ID of the speaker on which you want to play a chime.',
64311
+ format: 'uuid',
64312
+ type: 'string',
64313
+ },
64314
+ volume: {
64315
+ description: "Volume at which to play the chime, on the speaker's native volume scale. If you omit this parameter, the chime plays at the speaker's current volume.",
64316
+ format: 'float',
64317
+ type: 'number',
64318
+ },
64319
+ },
64320
+ required: ['device_id'],
64321
+ type: 'object',
64322
+ },
64323
+ },
64324
+ },
64325
+ },
64326
+ responses: {
64327
+ '200': {
64328
+ content: {
64329
+ 'application/json': {
64330
+ schema: {
64331
+ properties: {
64332
+ action_attempt: {
64333
+ $ref: '#/components/schemas/action_attempt',
64334
+ },
64335
+ ok: { type: 'boolean' },
64336
+ },
64337
+ required: ['action_attempt', 'ok'],
64338
+ type: 'object',
64339
+ },
64340
+ },
64341
+ },
64342
+ description: 'OK',
64343
+ },
64344
+ '400': { description: 'Bad Request' },
64345
+ '401': { description: 'Unauthorized' },
64346
+ },
64347
+ security: [
64348
+ { client_session: [] },
64349
+ { pat_with_workspace: [] },
64350
+ { console_session_with_workspace: [] },
64351
+ { api_key: [] },
64352
+ ],
64353
+ summary: '/speakers/play_chime',
64354
+ tags: [],
64355
+ 'x-action-attempt-type': 'PLAY_SPEAKER_CHIME',
64356
+ 'x-fern-sdk-group-name': ['speakers'],
64357
+ 'x-fern-sdk-method-name': 'play_chime',
64358
+ 'x-fern-sdk-return-value': 'action_attempt',
64359
+ 'x-response-key': 'action_attempt',
64360
+ 'x-title': 'Play a Chime on a Speaker',
64361
+ 'x-undocumented': 'Unreleased.',
64362
+ },
64363
+ },
64364
+ '/speakers/resume': {
64365
+ post: {
64366
+ description: 'Resumes playback on a specified speaker. Playback also resumes on the speakers grouped with it, and the action attempt result lists every affected speaker. To check whether a speaker supports resuming playback, use `device.can_pause_speaker_playback`.',
64367
+ operationId: 'speakersResumePost',
64368
+ requestBody: {
64369
+ content: {
64370
+ 'application/json': {
64371
+ schema: {
64372
+ properties: {
64373
+ device_id: {
64374
+ description: 'ID of the speaker on which you want to resume playback.',
64375
+ format: 'uuid',
64376
+ type: 'string',
64377
+ },
64378
+ },
64379
+ required: ['device_id'],
64380
+ type: 'object',
64381
+ },
64382
+ },
64383
+ },
64384
+ },
64385
+ responses: {
64386
+ '200': {
64387
+ content: {
64388
+ 'application/json': {
64389
+ schema: {
64390
+ properties: {
64391
+ action_attempt: {
64392
+ $ref: '#/components/schemas/action_attempt',
64393
+ },
64394
+ ok: { type: 'boolean' },
64395
+ },
64396
+ required: ['action_attempt', 'ok'],
64397
+ type: 'object',
64398
+ },
64399
+ },
64400
+ },
64401
+ description: 'OK',
64402
+ },
64403
+ '400': { description: 'Bad Request' },
64404
+ '401': { description: 'Unauthorized' },
64405
+ },
64406
+ security: [
64407
+ { client_session: [] },
64408
+ { pat_with_workspace: [] },
64409
+ { console_session_with_workspace: [] },
64410
+ { api_key: [] },
64411
+ ],
64412
+ summary: '/speakers/resume',
64413
+ tags: [],
64414
+ 'x-action-attempt-type': 'RESUME_SPEAKER_PLAYBACK',
64415
+ 'x-fern-sdk-group-name': ['speakers'],
64416
+ 'x-fern-sdk-method-name': 'resume',
64417
+ 'x-fern-sdk-return-value': 'action_attempt',
64418
+ 'x-response-key': 'action_attempt',
64419
+ 'x-title': 'Resume Playback on a Speaker',
64420
+ 'x-undocumented': 'Unreleased.',
64421
+ },
64422
+ },
64423
+ '/speakers/set_volume': {
64424
+ post: {
64425
+ description: "Sets the volume of a specified speaker. The volume must be between the speaker's `properties.speaker.min_volume` and `properties.speaker.max_volume`, in increments of `properties.speaker.volume_step`. To check whether a speaker supports setting its volume, use `device.can_set_speaker_volume`.",
64426
+ operationId: 'speakersSetVolumePost',
64427
+ requestBody: {
64428
+ content: {
64429
+ 'application/json': {
64430
+ schema: {
64431
+ properties: {
64432
+ device_id: {
64433
+ description: 'ID of the speaker for which you want to set the volume.',
64434
+ format: 'uuid',
64435
+ type: 'string',
64436
+ },
64437
+ volume: {
64438
+ description: "Volume that you want to set, on the speaker's native volume scale.",
64439
+ format: 'float',
64440
+ type: 'number',
64441
+ },
64442
+ },
64443
+ required: ['device_id', 'volume'],
64444
+ type: 'object',
64445
+ },
64446
+ },
64447
+ },
64448
+ },
64449
+ responses: {
64450
+ '200': {
64451
+ content: {
64452
+ 'application/json': {
64453
+ schema: {
64454
+ properties: {
64455
+ action_attempt: {
64456
+ $ref: '#/components/schemas/action_attempt',
64457
+ },
64458
+ ok: { type: 'boolean' },
64459
+ },
64460
+ required: ['action_attempt', 'ok'],
64461
+ type: 'object',
64462
+ },
64463
+ },
64464
+ },
64465
+ description: 'OK',
64466
+ },
64467
+ '400': { description: 'Bad Request' },
64468
+ '401': { description: 'Unauthorized' },
64469
+ },
64470
+ security: [
64471
+ { client_session: [] },
64472
+ { pat_with_workspace: [] },
64473
+ { console_session_with_workspace: [] },
64474
+ { api_key: [] },
64475
+ ],
64476
+ summary: '/speakers/set_volume',
64477
+ tags: [],
64478
+ 'x-action-attempt-type': 'SET_SPEAKER_VOLUME',
64479
+ 'x-fern-sdk-group-name': ['speakers'],
64480
+ 'x-fern-sdk-method-name': 'set_volume',
64481
+ 'x-fern-sdk-return-value': 'action_attempt',
64482
+ 'x-response-key': 'action_attempt',
64483
+ 'x-title': 'Set the Volume of a Speaker',
64484
+ 'x-undocumented': 'Unreleased.',
64485
+ },
64486
+ },
64487
+ '/speakers/unmute': {
64488
+ post: {
64489
+ description: 'Unmutes a specified speaker. To check whether a speaker supports unmuting, use `device.can_mute_speaker`.',
64490
+ operationId: 'speakersUnmutePost',
64491
+ requestBody: {
64492
+ content: {
64493
+ 'application/json': {
64494
+ schema: {
64495
+ properties: {
64496
+ device_id: {
64497
+ description: 'ID of the speaker that you want to unmute.',
64498
+ format: 'uuid',
64499
+ type: 'string',
64500
+ },
64501
+ },
64502
+ required: ['device_id'],
64503
+ type: 'object',
64504
+ },
64505
+ },
64506
+ },
64507
+ },
64508
+ responses: {
64509
+ '200': {
64510
+ content: {
64511
+ 'application/json': {
64512
+ schema: {
64513
+ properties: {
64514
+ action_attempt: {
64515
+ $ref: '#/components/schemas/action_attempt',
64516
+ },
64517
+ ok: { type: 'boolean' },
64518
+ },
64519
+ required: ['action_attempt', 'ok'],
64520
+ type: 'object',
64521
+ },
64522
+ },
64523
+ },
64524
+ description: 'OK',
64525
+ },
64526
+ '400': { description: 'Bad Request' },
64527
+ '401': { description: 'Unauthorized' },
64528
+ },
64529
+ security: [
64530
+ { client_session: [] },
64531
+ { pat_with_workspace: [] },
64532
+ { console_session_with_workspace: [] },
64533
+ { api_key: [] },
64534
+ ],
64535
+ summary: '/speakers/unmute',
64536
+ tags: [],
64537
+ 'x-action-attempt-type': 'SET_SPEAKER_MUTE',
64538
+ 'x-fern-sdk-group-name': ['speakers'],
64539
+ 'x-fern-sdk-method-name': 'unmute',
64540
+ 'x-fern-sdk-return-value': 'action_attempt',
64541
+ 'x-response-key': 'action_attempt',
64542
+ 'x-title': 'Unmute a Speaker',
64543
+ 'x-undocumented': 'Unreleased.',
64544
+ },
64545
+ },
64159
64546
  '/thermostats/activate_climate_preset': {
64160
64547
  post: {
64161
64548
  description: 'Activates a specified [climate preset](https://www.seam.co/docs/capability-guides/thermostats/creating-and-managing-climate-presets) for a specified [thermostat](https://www.seam.co/docs/capability-guides/thermostats).',