@seamapi/types 1.499.0 → 1.501.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.
Files changed (32) hide show
  1. package/dist/connect.cjs +71 -133
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +140 -183
  4. package/dist/index.cjs +71 -133
  5. package/dist/index.cjs.map +1 -1
  6. package/dist/index.d.cts +1 -1
  7. package/lib/seam/connect/model-types.d.ts +1 -1
  8. package/lib/seam/connect/models/batch.d.ts +98 -12
  9. package/lib/seam/connect/models/batch.js +3 -0
  10. package/lib/seam/connect/models/batch.js.map +1 -1
  11. package/lib/seam/connect/models/{customization_profiles/customization_profile.js → customization-profiles/customization-profile.js} +1 -1
  12. package/lib/seam/connect/models/{customization_profiles/customization_profile.js.map → customization-profiles/customization-profile.js.map} +1 -1
  13. package/lib/seam/connect/models/customization-profiles/index.d.ts +1 -0
  14. package/lib/seam/connect/models/customization-profiles/index.js +2 -0
  15. package/lib/seam/connect/models/customization-profiles/index.js.map +1 -0
  16. package/lib/seam/connect/models/index.d.ts +1 -1
  17. package/lib/seam/connect/models/index.js +1 -1
  18. package/lib/seam/connect/models/index.js.map +1 -1
  19. package/lib/seam/connect/models/instant-keys/instant-key.d.ts +4 -4
  20. package/lib/seam/connect/openapi.d.ts +65 -170
  21. package/lib/seam/connect/openapi.js +51 -115
  22. package/lib/seam/connect/openapi.js.map +1 -1
  23. package/lib/seam/connect/route-types.d.ts +18 -0
  24. package/package.json +1 -1
  25. package/src/lib/seam/connect/model-types.ts +1 -0
  26. package/src/lib/seam/connect/models/batch.ts +3 -0
  27. package/src/lib/seam/connect/models/customization-profiles/index.ts +1 -0
  28. package/src/lib/seam/connect/models/index.ts +1 -1
  29. package/src/lib/seam/connect/openapi.ts +51 -115
  30. package/src/lib/seam/connect/route-types.ts +22 -0
  31. package/lib/seam/connect/models/{customization_profiles/customization_profile.d.ts → customization-profiles/customization-profile.d.ts} +2 -2
  32. /package/src/lib/seam/connect/models/{customization_profiles/customization_profile.ts → customization-profiles/customization-profile.ts} +0 -0
@@ -27494,13 +27494,13 @@ declare const batch: z.ZodObject<{
27494
27494
  secondary_color: z.ZodOptional<z.ZodString>;
27495
27495
  logo_url: z.ZodOptional<z.ZodString>;
27496
27496
  }, "strip", z.ZodTypeAny, {
27497
+ logo_url?: string | undefined;
27497
27498
  primary_color?: string | undefined;
27498
27499
  secondary_color?: string | undefined;
27499
- logo_url?: string | undefined;
27500
27500
  }, {
27501
+ logo_url?: string | undefined;
27501
27502
  primary_color?: string | undefined;
27502
27503
  secondary_color?: string | undefined;
27503
- logo_url?: string | undefined;
27504
27504
  }>>;
27505
27505
  }, "strip", z.ZodTypeAny, {
27506
27506
  workspace_id: string;
@@ -27512,9 +27512,9 @@ declare const batch: z.ZodObject<{
27512
27512
  instant_key_id: string;
27513
27513
  customization_profile_id?: string | undefined;
27514
27514
  customization?: {
27515
+ logo_url?: string | undefined;
27515
27516
  primary_color?: string | undefined;
27516
27517
  secondary_color?: string | undefined;
27517
- logo_url?: string | undefined;
27518
27518
  } | undefined;
27519
27519
  }, {
27520
27520
  workspace_id: string;
@@ -27526,9 +27526,9 @@ declare const batch: z.ZodObject<{
27526
27526
  instant_key_id: string;
27527
27527
  customization_profile_id?: string | undefined;
27528
27528
  customization?: {
27529
+ logo_url?: string | undefined;
27529
27530
  primary_color?: string | undefined;
27530
27531
  secondary_color?: string | undefined;
27531
- logo_url?: string | undefined;
27532
27532
  } | undefined;
27533
27533
  }>, "many">>;
27534
27534
  access_codes: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -30681,6 +30681,31 @@ declare const batch: z.ZodObject<{
30681
30681
  noise_threshold_decibels: number;
30682
30682
  noise_threshold_nrs?: number | undefined;
30683
30683
  }>, "many">>;
30684
+ customization_profiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
30685
+ workspace_id: z.ZodString;
30686
+ name: z.ZodNullable<z.ZodString>;
30687
+ customization_profile_id: z.ZodString;
30688
+ created_at: z.ZodString;
30689
+ logo_url: z.ZodOptional<z.ZodString>;
30690
+ primary_color: z.ZodOptional<z.ZodString>;
30691
+ secondary_color: z.ZodOptional<z.ZodString>;
30692
+ }, "strip", z.ZodTypeAny, {
30693
+ name: string | null;
30694
+ workspace_id: string;
30695
+ created_at: string;
30696
+ customization_profile_id: string;
30697
+ logo_url?: string | undefined;
30698
+ primary_color?: string | undefined;
30699
+ secondary_color?: string | undefined;
30700
+ }, {
30701
+ name: string | null;
30702
+ workspace_id: string;
30703
+ created_at: string;
30704
+ customization_profile_id: string;
30705
+ logo_url?: string | undefined;
30706
+ primary_color?: string | undefined;
30707
+ secondary_color?: string | undefined;
30708
+ }>, "many">>;
30684
30709
  }, "strip", z.ZodTypeAny, {
30685
30710
  batch_type: "spaces" | "access_grants" | "access_methods" | "workspaces";
30686
30711
  thermostat_daily_programs?: {
@@ -33903,9 +33928,9 @@ declare const batch: z.ZodObject<{
33903
33928
  instant_key_id: string;
33904
33929
  customization_profile_id?: string | undefined;
33905
33930
  customization?: {
33931
+ logo_url?: string | undefined;
33906
33932
  primary_color?: string | undefined;
33907
33933
  secondary_color?: string | undefined;
33908
- logo_url?: string | undefined;
33909
33934
  } | undefined;
33910
33935
  }[] | undefined;
33911
33936
  access_codes?: {
@@ -34524,6 +34549,15 @@ declare const batch: z.ZodObject<{
34524
34549
  noise_threshold_decibels: number;
34525
34550
  noise_threshold_nrs?: number | undefined;
34526
34551
  }[] | undefined;
34552
+ customization_profiles?: {
34553
+ name: string | null;
34554
+ workspace_id: string;
34555
+ created_at: string;
34556
+ customization_profile_id: string;
34557
+ logo_url?: string | undefined;
34558
+ primary_color?: string | undefined;
34559
+ secondary_color?: string | undefined;
34560
+ }[] | undefined;
34527
34561
  }, {
34528
34562
  batch_type: "spaces" | "access_grants" | "access_methods" | "workspaces";
34529
34563
  thermostat_daily_programs?: {
@@ -37746,9 +37780,9 @@ declare const batch: z.ZodObject<{
37746
37780
  instant_key_id: string;
37747
37781
  customization_profile_id?: string | undefined;
37748
37782
  customization?: {
37783
+ logo_url?: string | undefined;
37749
37784
  primary_color?: string | undefined;
37750
37785
  secondary_color?: string | undefined;
37751
- logo_url?: string | undefined;
37752
37786
  } | undefined;
37753
37787
  }[] | undefined;
37754
37788
  access_codes?: {
@@ -38367,6 +38401,15 @@ declare const batch: z.ZodObject<{
38367
38401
  noise_threshold_decibels: number;
38368
38402
  noise_threshold_nrs?: number | undefined;
38369
38403
  }[] | undefined;
38404
+ customization_profiles?: {
38405
+ name: string | null;
38406
+ workspace_id: string;
38407
+ created_at: string;
38408
+ customization_profile_id: string;
38409
+ logo_url?: string | undefined;
38410
+ primary_color?: string | undefined;
38411
+ secondary_color?: string | undefined;
38412
+ }[] | undefined;
38370
38413
  }>;
38371
38414
  type Batch = z.infer<typeof batch>;
38372
38415
 
@@ -39225,18 +39268,19 @@ declare const customization_profile: z.ZodObject<{
39225
39268
  workspace_id: string;
39226
39269
  created_at: string;
39227
39270
  customization_profile_id: string;
39271
+ logo_url?: string | undefined;
39228
39272
  primary_color?: string | undefined;
39229
39273
  secondary_color?: string | undefined;
39230
- logo_url?: string | undefined;
39231
39274
  }, {
39232
39275
  name: string | null;
39233
39276
  workspace_id: string;
39234
39277
  created_at: string;
39235
39278
  customization_profile_id: string;
39279
+ logo_url?: string | undefined;
39236
39280
  primary_color?: string | undefined;
39237
39281
  secondary_color?: string | undefined;
39238
- logo_url?: string | undefined;
39239
39282
  }>;
39283
+ type CustomizationProfile = z.infer<typeof customization_profile>;
39240
39284
 
39241
39285
  declare const device_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
39242
39286
  message: z.ZodString;
@@ -50347,13 +50391,13 @@ declare const instant_key: z.ZodObject<{
50347
50391
  secondary_color: z.ZodOptional<z.ZodString>;
50348
50392
  logo_url: z.ZodOptional<z.ZodString>;
50349
50393
  }, "strip", z.ZodTypeAny, {
50394
+ logo_url?: string | undefined;
50350
50395
  primary_color?: string | undefined;
50351
50396
  secondary_color?: string | undefined;
50352
- logo_url?: string | undefined;
50353
50397
  }, {
50398
+ logo_url?: string | undefined;
50354
50399
  primary_color?: string | undefined;
50355
50400
  secondary_color?: string | undefined;
50356
- logo_url?: string | undefined;
50357
50401
  }>>;
50358
50402
  }, "strip", z.ZodTypeAny, {
50359
50403
  workspace_id: string;
@@ -50365,9 +50409,9 @@ declare const instant_key: z.ZodObject<{
50365
50409
  instant_key_id: string;
50366
50410
  customization_profile_id?: string | undefined;
50367
50411
  customization?: {
50412
+ logo_url?: string | undefined;
50368
50413
  primary_color?: string | undefined;
50369
50414
  secondary_color?: string | undefined;
50370
- logo_url?: string | undefined;
50371
50415
  } | undefined;
50372
50416
  }, {
50373
50417
  workspace_id: string;
@@ -50379,9 +50423,9 @@ declare const instant_key: z.ZodObject<{
50379
50423
  instant_key_id: string;
50380
50424
  customization_profile_id?: string | undefined;
50381
50425
  customization?: {
50426
+ logo_url?: string | undefined;
50382
50427
  primary_color?: string | undefined;
50383
50428
  secondary_color?: string | undefined;
50384
- logo_url?: string | undefined;
50385
50429
  } | undefined;
50386
50430
  }>;
50387
50431
  type InstantKey = z.infer<typeof instant_key>;
@@ -55165,6 +55209,42 @@ declare const _default: {
55165
55209
  type: string;
55166
55210
  'x-route-path': string;
55167
55211
  };
55212
+ customization_profile: {
55213
+ description: string;
55214
+ properties: {
55215
+ created_at: {
55216
+ format: string;
55217
+ type: string;
55218
+ };
55219
+ customization_profile_id: {
55220
+ format: string;
55221
+ type: string;
55222
+ };
55223
+ logo_url: {
55224
+ format: string;
55225
+ type: string;
55226
+ };
55227
+ name: {
55228
+ nullable: boolean;
55229
+ type: string;
55230
+ };
55231
+ primary_color: {
55232
+ type: string;
55233
+ };
55234
+ secondary_color: {
55235
+ type: string;
55236
+ };
55237
+ workspace_id: {
55238
+ format: string;
55239
+ type: string;
55240
+ };
55241
+ };
55242
+ required: string[];
55243
+ type: string;
55244
+ 'x-route-path': string;
55245
+ 'x-title': string;
55246
+ 'x-undocumented': string;
55247
+ };
55168
55248
  device: {
55169
55249
  description: string;
55170
55250
  properties: {
@@ -69141,6 +69221,12 @@ declare const _default: {
69141
69221
  };
69142
69222
  type: string;
69143
69223
  };
69224
+ customization_profiles: {
69225
+ items: {
69226
+ $ref: string;
69227
+ };
69228
+ type: string;
69229
+ };
69144
69230
  devices: {
69145
69231
  items: {
69146
69232
  $ref: string;
@@ -69392,6 +69478,12 @@ declare const _default: {
69392
69478
  };
69393
69479
  type: string;
69394
69480
  };
69481
+ customization_profiles: {
69482
+ items: {
69483
+ $ref: string;
69484
+ };
69485
+ type: string;
69486
+ };
69395
69487
  devices: {
69396
69488
  items: {
69397
69489
  $ref: string;
@@ -98935,40 +99027,7 @@ declare const _default: {
98935
99027
  schema: {
98936
99028
  properties: {
98937
99029
  customization_profile: {
98938
- description: string;
98939
- properties: {
98940
- created_at: {
98941
- format: string;
98942
- type: string;
98943
- };
98944
- customization_profile_id: {
98945
- format: string;
98946
- type: string;
98947
- };
98948
- logo_url: {
98949
- format: string;
98950
- type: string;
98951
- };
98952
- name: {
98953
- nullable: boolean;
98954
- type: string;
98955
- };
98956
- primary_color: {
98957
- type: string;
98958
- };
98959
- secondary_color: {
98960
- type: string;
98961
- };
98962
- workspace_id: {
98963
- format: string;
98964
- type: string;
98965
- };
98966
- };
98967
- required: string[];
98968
- type: string;
98969
- 'x-route-path': string;
98970
- 'x-title': string;
98971
- 'x-undocumented': string;
99030
+ $ref: string;
98972
99031
  };
98973
99032
  ok: {
98974
99033
  type: string;
@@ -99039,40 +99098,7 @@ declare const _default: {
99039
99098
  schema: {
99040
99099
  properties: {
99041
99100
  customization_profile: {
99042
- description: string;
99043
- properties: {
99044
- created_at: {
99045
- format: string;
99046
- type: string;
99047
- };
99048
- customization_profile_id: {
99049
- format: string;
99050
- type: string;
99051
- };
99052
- logo_url: {
99053
- format: string;
99054
- type: string;
99055
- };
99056
- name: {
99057
- nullable: boolean;
99058
- type: string;
99059
- };
99060
- primary_color: {
99061
- type: string;
99062
- };
99063
- secondary_color: {
99064
- type: string;
99065
- };
99066
- workspace_id: {
99067
- format: string;
99068
- type: string;
99069
- };
99070
- };
99071
- required: string[];
99072
- type: string;
99073
- 'x-route-path': string;
99074
- 'x-title': string;
99075
- 'x-undocumented': string;
99101
+ $ref: string;
99076
99102
  };
99077
99103
  ok: {
99078
99104
  type: string;
@@ -99148,40 +99174,7 @@ declare const _default: {
99148
99174
  schema: {
99149
99175
  properties: {
99150
99176
  customization_profile: {
99151
- description: string;
99152
- properties: {
99153
- created_at: {
99154
- format: string;
99155
- type: string;
99156
- };
99157
- customization_profile_id: {
99158
- format: string;
99159
- type: string;
99160
- };
99161
- logo_url: {
99162
- format: string;
99163
- type: string;
99164
- };
99165
- name: {
99166
- nullable: boolean;
99167
- type: string;
99168
- };
99169
- primary_color: {
99170
- type: string;
99171
- };
99172
- secondary_color: {
99173
- type: string;
99174
- };
99175
- workspace_id: {
99176
- format: string;
99177
- type: string;
99178
- };
99179
- };
99180
- required: string[];
99181
- type: string;
99182
- 'x-route-path': string;
99183
- 'x-title': string;
99184
- 'x-undocumented': string;
99177
+ $ref: string;
99185
99178
  };
99186
99179
  ok: {
99187
99180
  type: string;
@@ -99244,40 +99237,7 @@ declare const _default: {
99244
99237
  properties: {
99245
99238
  customization_profiles: {
99246
99239
  items: {
99247
- description: string;
99248
- properties: {
99249
- created_at: {
99250
- format: string;
99251
- type: string;
99252
- };
99253
- customization_profile_id: {
99254
- format: string;
99255
- type: string;
99256
- };
99257
- logo_url: {
99258
- format: string;
99259
- type: string;
99260
- };
99261
- name: {
99262
- nullable: boolean;
99263
- type: string;
99264
- };
99265
- primary_color: {
99266
- type: string;
99267
- };
99268
- secondary_color: {
99269
- type: string;
99270
- };
99271
- workspace_id: {
99272
- format: string;
99273
- type: string;
99274
- };
99275
- };
99276
- required: string[];
99277
- type: string;
99278
- 'x-route-path': string;
99279
- 'x-title': string;
99280
- 'x-undocumented': string;
99240
+ $ref: string;
99281
99241
  };
99282
99242
  type: string;
99283
99243
  };
@@ -99340,40 +99300,7 @@ declare const _default: {
99340
99300
  properties: {
99341
99301
  customization_profiles: {
99342
99302
  items: {
99343
- description: string;
99344
- properties: {
99345
- created_at: {
99346
- format: string;
99347
- type: string;
99348
- };
99349
- customization_profile_id: {
99350
- format: string;
99351
- type: string;
99352
- };
99353
- logo_url: {
99354
- format: string;
99355
- type: string;
99356
- };
99357
- name: {
99358
- nullable: boolean;
99359
- type: string;
99360
- };
99361
- primary_color: {
99362
- type: string;
99363
- };
99364
- secondary_color: {
99365
- type: string;
99366
- };
99367
- workspace_id: {
99368
- format: string;
99369
- type: string;
99370
- };
99371
- };
99372
- required: string[];
99373
- type: string;
99374
- 'x-route-path': string;
99375
- 'x-title': string;
99376
- 'x-undocumented': string;
99303
+ $ref: string;
99377
99304
  };
99378
99305
  type: string;
99379
99306
  };
@@ -99748,6 +99675,12 @@ declare const _default: {
99748
99675
  };
99749
99676
  type: string;
99750
99677
  };
99678
+ customization_profiles: {
99679
+ items: {
99680
+ $ref: string;
99681
+ };
99682
+ type: string;
99683
+ };
99751
99684
  devices: {
99752
99685
  items: {
99753
99686
  $ref: string;
@@ -99981,6 +99914,12 @@ declare const _default: {
99981
99914
  };
99982
99915
  type: string;
99983
99916
  };
99917
+ customization_profiles: {
99918
+ items: {
99919
+ $ref: string;
99920
+ };
99921
+ type: string;
99922
+ };
99984
99923
  devices: {
99985
99924
  items: {
99986
99925
  $ref: string;
@@ -120818,6 +120757,15 @@ type Routes = {
120818
120757
  /** Noise level in decibels for the noise threshold. */
120819
120758
  noise_threshold_decibels: number;
120820
120759
  }[] | undefined;
120760
+ customization_profiles?: {
120761
+ workspace_id: string;
120762
+ name: string | null;
120763
+ customization_profile_id: string;
120764
+ created_at: string;
120765
+ logo_url?: string | undefined;
120766
+ primary_color?: string | undefined;
120767
+ secondary_color?: string | undefined;
120768
+ }[] | undefined;
120821
120769
  };
120822
120770
  };
120823
120771
  };
@@ -186784,6 +186732,15 @@ type Routes = {
186784
186732
  /** Noise level in decibels for the noise threshold. */
186785
186733
  noise_threshold_decibels: number;
186786
186734
  }[] | undefined;
186735
+ customization_profiles?: {
186736
+ workspace_id: string;
186737
+ name: string | null;
186738
+ customization_profile_id: string;
186739
+ created_at: string;
186740
+ logo_url?: string | undefined;
186741
+ primary_color?: string | undefined;
186742
+ secondary_color?: string | undefined;
186743
+ }[] | undefined;
186787
186744
  };
186788
186745
  };
186789
186746
  };
@@ -188151,4 +188108,4 @@ type RouteRequestParams<Path extends keyof Routes> = Routes[Path]['queryParams']
188151
188108
 
188152
188109
  declare const routes: {};
188153
188110
 
188154
- export { type AccessCode, type AccessCodeError, type AccessCodeWarning, type AccessGrant, type AccessMethod, type AcsAccessGroup, type AcsCredential, type AcsEncoder, type AcsEntrance, type AcsSystem, type AcsUser, type ActionAttempt, type Batch, type Bridge, type BuildingBlockType, type ClientSession, type ClimatePreset, type ConnectWebview, type ConnectedAccount, type ConnectedAccountError, type ConnectedAccountWarning, type CustomMetadata, type Device, type DeviceError, type DeviceProvider, type DeviceWarning, type InstantKey, type MagicLink, type NoiseThreshold, type Pagination, type RouteRequestBody, type RouteRequestParams, type RouteResponse, type Routes, type SeamEvent, type SeamEventType, type Space, type ThermostatDailyProgram, type ThermostatSchedule, type ThermostatWeeklyProgram, type UnmanagedAccessCode, type UnmanagedDevice, type UserIdentity, type Webhook, type Workspace, _default as openapi, routes, schemas };
188111
+ export { type AccessCode, type AccessCodeError, type AccessCodeWarning, type AccessGrant, type AccessMethod, type AcsAccessGroup, type AcsCredential, type AcsEncoder, type AcsEntrance, type AcsSystem, type AcsUser, type ActionAttempt, type Batch, type Bridge, type BuildingBlockType, type ClientSession, type ClimatePreset, type ConnectWebview, type ConnectedAccount, type ConnectedAccountError, type ConnectedAccountWarning, type CustomMetadata, type CustomizationProfile, type Device, type DeviceError, type DeviceProvider, type DeviceWarning, type InstantKey, type MagicLink, type NoiseThreshold, type Pagination, type RouteRequestBody, type RouteRequestParams, type RouteResponse, type Routes, type SeamEvent, type SeamEventType, type Space, type ThermostatDailyProgram, type ThermostatSchedule, type ThermostatWeeklyProgram, type UnmanagedAccessCode, type UnmanagedDevice, type UserIdentity, type Webhook, type Workspace, _default as openapi, routes, schemas };