@seamapi/types 1.498.0 → 1.500.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.
@@ -30656,6 +30656,31 @@ declare const batch: z.ZodObject<{
30656
30656
  max_override_period_minutes?: number | null | undefined;
30657
30657
  is_override_allowed?: boolean | undefined;
30658
30658
  }>, "many">>;
30659
+ noise_thresholds: z.ZodOptional<z.ZodArray<z.ZodObject<{
30660
+ noise_threshold_id: z.ZodString;
30661
+ device_id: z.ZodString;
30662
+ name: z.ZodString;
30663
+ noise_threshold_nrs: z.ZodOptional<z.ZodNumber>;
30664
+ starts_daily_at: z.ZodString;
30665
+ ends_daily_at: z.ZodString;
30666
+ noise_threshold_decibels: z.ZodNumber;
30667
+ }, "strip", z.ZodTypeAny, {
30668
+ name: string;
30669
+ device_id: string;
30670
+ noise_threshold_id: string;
30671
+ starts_daily_at: string;
30672
+ ends_daily_at: string;
30673
+ noise_threshold_decibels: number;
30674
+ noise_threshold_nrs?: number | undefined;
30675
+ }, {
30676
+ name: string;
30677
+ device_id: string;
30678
+ noise_threshold_id: string;
30679
+ starts_daily_at: string;
30680
+ ends_daily_at: string;
30681
+ noise_threshold_decibels: number;
30682
+ noise_threshold_nrs?: number | undefined;
30683
+ }>, "many">>;
30659
30684
  }, "strip", z.ZodTypeAny, {
30660
30685
  batch_type: "spaces" | "access_grants" | "access_methods" | "workspaces";
30661
30686
  thermostat_daily_programs?: {
@@ -34490,6 +34515,15 @@ declare const batch: z.ZodObject<{
34490
34515
  max_override_period_minutes?: number | null | undefined;
34491
34516
  is_override_allowed?: boolean | undefined;
34492
34517
  }[] | undefined;
34518
+ noise_thresholds?: {
34519
+ name: string;
34520
+ device_id: string;
34521
+ noise_threshold_id: string;
34522
+ starts_daily_at: string;
34523
+ ends_daily_at: string;
34524
+ noise_threshold_decibels: number;
34525
+ noise_threshold_nrs?: number | undefined;
34526
+ }[] | undefined;
34493
34527
  }, {
34494
34528
  batch_type: "spaces" | "access_grants" | "access_methods" | "workspaces";
34495
34529
  thermostat_daily_programs?: {
@@ -38324,6 +38358,15 @@ declare const batch: z.ZodObject<{
38324
38358
  max_override_period_minutes?: number | null | undefined;
38325
38359
  is_override_allowed?: boolean | undefined;
38326
38360
  }[] | undefined;
38361
+ noise_thresholds?: {
38362
+ name: string;
38363
+ device_id: string;
38364
+ noise_threshold_id: string;
38365
+ starts_daily_at: string;
38366
+ ends_daily_at: string;
38367
+ noise_threshold_decibels: number;
38368
+ noise_threshold_nrs?: number | undefined;
38369
+ }[] | undefined;
38327
38370
  }>;
38328
38371
  type Batch = z.infer<typeof batch>;
38329
38372
 
@@ -55122,6 +55165,42 @@ declare const _default: {
55122
55165
  type: string;
55123
55166
  'x-route-path': string;
55124
55167
  };
55168
+ customization_profile: {
55169
+ description: string;
55170
+ properties: {
55171
+ created_at: {
55172
+ format: string;
55173
+ type: string;
55174
+ };
55175
+ customization_profile_id: {
55176
+ format: string;
55177
+ type: string;
55178
+ };
55179
+ logo_url: {
55180
+ format: string;
55181
+ type: string;
55182
+ };
55183
+ name: {
55184
+ nullable: boolean;
55185
+ type: string;
55186
+ };
55187
+ primary_color: {
55188
+ type: string;
55189
+ };
55190
+ secondary_color: {
55191
+ type: string;
55192
+ };
55193
+ workspace_id: {
55194
+ format: string;
55195
+ type: string;
55196
+ };
55197
+ };
55198
+ required: string[];
55199
+ type: string;
55200
+ 'x-route-path': string;
55201
+ 'x-title': string;
55202
+ 'x-undocumented': string;
55203
+ };
55125
55204
  device: {
55126
55205
  description: string;
55127
55206
  properties: {
@@ -69116,6 +69195,12 @@ declare const _default: {
69116
69195
  };
69117
69196
  type: string;
69118
69197
  };
69198
+ noise_thresholds: {
69199
+ items: {
69200
+ $ref: string;
69201
+ };
69202
+ type: string;
69203
+ };
69119
69204
  spaces: {
69120
69205
  items: {
69121
69206
  $ref: string;
@@ -69361,6 +69446,12 @@ declare const _default: {
69361
69446
  };
69362
69447
  type: string;
69363
69448
  };
69449
+ noise_thresholds: {
69450
+ items: {
69451
+ $ref: string;
69452
+ };
69453
+ type: string;
69454
+ };
69364
69455
  spaces: {
69365
69456
  items: {
69366
69457
  $ref: string;
@@ -98880,40 +98971,7 @@ declare const _default: {
98880
98971
  schema: {
98881
98972
  properties: {
98882
98973
  customization_profile: {
98883
- description: string;
98884
- properties: {
98885
- created_at: {
98886
- format: string;
98887
- type: string;
98888
- };
98889
- customization_profile_id: {
98890
- format: string;
98891
- type: string;
98892
- };
98893
- logo_url: {
98894
- format: string;
98895
- type: string;
98896
- };
98897
- name: {
98898
- nullable: boolean;
98899
- type: string;
98900
- };
98901
- primary_color: {
98902
- type: string;
98903
- };
98904
- secondary_color: {
98905
- type: string;
98906
- };
98907
- workspace_id: {
98908
- format: string;
98909
- type: string;
98910
- };
98911
- };
98912
- required: string[];
98913
- type: string;
98914
- 'x-route-path': string;
98915
- 'x-title': string;
98916
- 'x-undocumented': string;
98974
+ $ref: string;
98917
98975
  };
98918
98976
  ok: {
98919
98977
  type: string;
@@ -98984,40 +99042,7 @@ declare const _default: {
98984
99042
  schema: {
98985
99043
  properties: {
98986
99044
  customization_profile: {
98987
- description: string;
98988
- properties: {
98989
- created_at: {
98990
- format: string;
98991
- type: string;
98992
- };
98993
- customization_profile_id: {
98994
- format: string;
98995
- type: string;
98996
- };
98997
- logo_url: {
98998
- format: string;
98999
- type: string;
99000
- };
99001
- name: {
99002
- nullable: boolean;
99003
- type: string;
99004
- };
99005
- primary_color: {
99006
- type: string;
99007
- };
99008
- secondary_color: {
99009
- type: string;
99010
- };
99011
- workspace_id: {
99012
- format: string;
99013
- type: string;
99014
- };
99015
- };
99016
- required: string[];
99017
- type: string;
99018
- 'x-route-path': string;
99019
- 'x-title': string;
99020
- 'x-undocumented': string;
99045
+ $ref: string;
99021
99046
  };
99022
99047
  ok: {
99023
99048
  type: string;
@@ -99093,40 +99118,7 @@ declare const _default: {
99093
99118
  schema: {
99094
99119
  properties: {
99095
99120
  customization_profile: {
99096
- description: string;
99097
- properties: {
99098
- created_at: {
99099
- format: string;
99100
- type: string;
99101
- };
99102
- customization_profile_id: {
99103
- format: string;
99104
- type: string;
99105
- };
99106
- logo_url: {
99107
- format: string;
99108
- type: string;
99109
- };
99110
- name: {
99111
- nullable: boolean;
99112
- type: string;
99113
- };
99114
- primary_color: {
99115
- type: string;
99116
- };
99117
- secondary_color: {
99118
- type: string;
99119
- };
99120
- workspace_id: {
99121
- format: string;
99122
- type: string;
99123
- };
99124
- };
99125
- required: string[];
99126
- type: string;
99127
- 'x-route-path': string;
99128
- 'x-title': string;
99129
- 'x-undocumented': string;
99121
+ $ref: string;
99130
99122
  };
99131
99123
  ok: {
99132
99124
  type: string;
@@ -99189,40 +99181,7 @@ declare const _default: {
99189
99181
  properties: {
99190
99182
  customization_profiles: {
99191
99183
  items: {
99192
- description: string;
99193
- properties: {
99194
- created_at: {
99195
- format: string;
99196
- type: string;
99197
- };
99198
- customization_profile_id: {
99199
- format: string;
99200
- type: string;
99201
- };
99202
- logo_url: {
99203
- format: string;
99204
- type: string;
99205
- };
99206
- name: {
99207
- nullable: boolean;
99208
- type: string;
99209
- };
99210
- primary_color: {
99211
- type: string;
99212
- };
99213
- secondary_color: {
99214
- type: string;
99215
- };
99216
- workspace_id: {
99217
- format: string;
99218
- type: string;
99219
- };
99220
- };
99221
- required: string[];
99222
- type: string;
99223
- 'x-route-path': string;
99224
- 'x-title': string;
99225
- 'x-undocumented': string;
99184
+ $ref: string;
99226
99185
  };
99227
99186
  type: string;
99228
99187
  };
@@ -99285,40 +99244,7 @@ declare const _default: {
99285
99244
  properties: {
99286
99245
  customization_profiles: {
99287
99246
  items: {
99288
- description: string;
99289
- properties: {
99290
- created_at: {
99291
- format: string;
99292
- type: string;
99293
- };
99294
- customization_profile_id: {
99295
- format: string;
99296
- type: string;
99297
- };
99298
- logo_url: {
99299
- format: string;
99300
- type: string;
99301
- };
99302
- name: {
99303
- nullable: boolean;
99304
- type: string;
99305
- };
99306
- primary_color: {
99307
- type: string;
99308
- };
99309
- secondary_color: {
99310
- type: string;
99311
- };
99312
- workspace_id: {
99313
- format: string;
99314
- type: string;
99315
- };
99316
- };
99317
- required: string[];
99318
- type: string;
99319
- 'x-route-path': string;
99320
- 'x-title': string;
99321
- 'x-undocumented': string;
99247
+ $ref: string;
99322
99248
  };
99323
99249
  type: string;
99324
99250
  };
@@ -99711,6 +99637,12 @@ declare const _default: {
99711
99637
  };
99712
99638
  type: string;
99713
99639
  };
99640
+ noise_thresholds: {
99641
+ items: {
99642
+ $ref: string;
99643
+ };
99644
+ type: string;
99645
+ };
99714
99646
  spaces: {
99715
99647
  items: {
99716
99648
  $ref: string;
@@ -99938,6 +99870,12 @@ declare const _default: {
99938
99870
  };
99939
99871
  type: string;
99940
99872
  };
99873
+ noise_thresholds: {
99874
+ items: {
99875
+ $ref: string;
99876
+ };
99877
+ type: string;
99878
+ };
99941
99879
  spaces: {
99942
99880
  items: {
99943
99881
  $ref: string;
@@ -120735,6 +120673,22 @@ type Routes = {
120735
120673
  message: string;
120736
120674
  }[];
120737
120675
  }[] | undefined;
120676
+ noise_thresholds?: {
120677
+ /** Unique identifier for the noise threshold. */
120678
+ noise_threshold_id: string;
120679
+ /** Unique identifier for the device that contains the noise threshold. */
120680
+ device_id: string;
120681
+ /** Name of the noise threshold. */
120682
+ name: string;
120683
+ /** Noise level in Noiseaware Noise Risk Score (NRS) for the noise threshold. This parameter is only relevant for [Noiseaware sensors](https://docs.seam.co/latest/device-and-system-integration-guides/noiseaware-sensors). */
120684
+ noise_threshold_nrs?: number | undefined;
120685
+ /** Time at which the noise threshold should become active daily. */
120686
+ starts_daily_at: string;
120687
+ /** Time at which the noise threshold should become inactive daily. */
120688
+ ends_daily_at: string;
120689
+ /** Noise level in decibels for the noise threshold. */
120690
+ noise_threshold_decibels: number;
120691
+ }[] | undefined;
120738
120692
  };
120739
120693
  };
120740
120694
  };
@@ -186685,6 +186639,22 @@ type Routes = {
186685
186639
  message: string;
186686
186640
  }[];
186687
186641
  }[] | undefined;
186642
+ noise_thresholds?: {
186643
+ /** Unique identifier for the noise threshold. */
186644
+ noise_threshold_id: string;
186645
+ /** Unique identifier for the device that contains the noise threshold. */
186646
+ device_id: string;
186647
+ /** Name of the noise threshold. */
186648
+ name: string;
186649
+ /** Noise level in Noiseaware Noise Risk Score (NRS) for the noise threshold. This parameter is only relevant for [Noiseaware sensors](https://docs.seam.co/latest/device-and-system-integration-guides/noiseaware-sensors). */
186650
+ noise_threshold_nrs?: number | undefined;
186651
+ /** Time at which the noise threshold should become active daily. */
186652
+ starts_daily_at: string;
186653
+ /** Time at which the noise threshold should become inactive daily. */
186654
+ ends_daily_at: string;
186655
+ /** Noise level in decibels for the noise threshold. */
186656
+ noise_threshold_decibels: number;
186657
+ }[] | undefined;
186688
186658
  };
186689
186659
  };
186690
186660
  };