@seamapi/types 1.933.0 → 1.934.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 (29) hide show
  1. package/dist/connect.cjs +88 -21
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +299 -43
  4. package/dist/index.cjs +88 -21
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/devices/device-metadata.d.ts +28 -0
  7. package/lib/seam/connect/models/devices/device-metadata.js +14 -0
  8. package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
  9. package/lib/seam/connect/models/devices/device-provider.d.ts +2 -1
  10. package/lib/seam/connect/models/devices/device-provider.js +2 -1
  11. package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
  12. package/lib/seam/connect/models/devices/device-type.d.ts +1 -0
  13. package/lib/seam/connect/models/devices/device-type.js +1 -0
  14. package/lib/seam/connect/models/devices/device-type.js.map +1 -1
  15. package/lib/seam/connect/models/devices/device.d.ts +43 -3
  16. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +31 -3
  17. package/lib/seam/connect/models/events/access-codes.d.ts +12 -12
  18. package/lib/seam/connect/models/events/seam-event.d.ts +6 -6
  19. package/lib/seam/connect/openapi.js +59 -0
  20. package/lib/seam/connect/openapi.js.map +1 -1
  21. package/lib/seam/connect/route-types.d.ts +218 -31
  22. package/lib/seam/devicedb/models/device-model.d.ts +4 -4
  23. package/lib/seam/devicedb/route-specs.d.ts +8 -8
  24. package/package.json +1 -1
  25. package/src/lib/seam/connect/models/devices/device-metadata.ts +15 -0
  26. package/src/lib/seam/connect/models/devices/device-provider.ts +2 -1
  27. package/src/lib/seam/connect/models/devices/device-type.ts +1 -0
  28. package/src/lib/seam/connect/openapi.ts +59 -0
  29. package/src/lib/seam/connect/route-types.ts +255 -0
@@ -128,6 +128,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
128
128
  workspace_id: string;
129
129
  created_at: string;
130
130
  connected_account_id: string;
131
+ description: string;
131
132
  from: {
132
133
  name: string | null;
133
134
  };
@@ -138,7 +139,6 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
138
139
  event_id: string;
139
140
  occurred_at: string;
140
141
  event_type: "access_code.name_changed";
141
- description: string;
142
142
  device_custom_metadata?: Record<string, string | boolean> | undefined;
143
143
  connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
144
144
  }, {
@@ -146,6 +146,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
146
146
  workspace_id: string;
147
147
  created_at: string;
148
148
  connected_account_id: string;
149
+ description: string;
149
150
  from: {
150
151
  name: string | null;
151
152
  };
@@ -156,7 +157,6 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
156
157
  event_id: string;
157
158
  occurred_at: string;
158
159
  event_type: "access_code.name_changed";
159
- description: string;
160
160
  device_custom_metadata?: Record<string, string | boolean> | undefined;
161
161
  connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
162
162
  }>, z.ZodObject<{
@@ -192,6 +192,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
192
192
  workspace_id: string;
193
193
  created_at: string;
194
194
  connected_account_id: string;
195
+ description: string;
195
196
  from: {
196
197
  code: string | null;
197
198
  };
@@ -202,7 +203,6 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
202
203
  event_id: string;
203
204
  occurred_at: string;
204
205
  event_type: "access_code.code_changed";
205
- description: string;
206
206
  device_custom_metadata?: Record<string, string | boolean> | undefined;
207
207
  connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
208
208
  }, {
@@ -210,6 +210,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
210
210
  workspace_id: string;
211
211
  created_at: string;
212
212
  connected_account_id: string;
213
+ description: string;
213
214
  from: {
214
215
  code: string | null;
215
216
  };
@@ -220,7 +221,6 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
220
221
  event_id: string;
221
222
  occurred_at: string;
222
223
  event_type: "access_code.code_changed";
223
- description: string;
224
224
  device_custom_metadata?: Record<string, string | boolean> | undefined;
225
225
  connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
226
226
  }>, z.ZodObject<{
@@ -262,6 +262,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
262
262
  workspace_id: string;
263
263
  created_at: string;
264
264
  connected_account_id: string;
265
+ description: string;
265
266
  from: {
266
267
  starts_at: string | null;
267
268
  ends_at: string | null;
@@ -274,7 +275,6 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
274
275
  event_id: string;
275
276
  occurred_at: string;
276
277
  event_type: "access_code.time_frame_changed";
277
- description: string;
278
278
  device_custom_metadata?: Record<string, string | boolean> | undefined;
279
279
  connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
280
280
  }, {
@@ -282,6 +282,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
282
282
  workspace_id: string;
283
283
  created_at: string;
284
284
  connected_account_id: string;
285
+ description: string;
285
286
  from: {
286
287
  starts_at: string | null;
287
288
  ends_at: string | null;
@@ -294,7 +295,6 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
294
295
  event_id: string;
295
296
  occurred_at: string;
296
297
  event_type: "access_code.time_frame_changed";
297
- description: string;
298
298
  device_custom_metadata?: Record<string, string | boolean> | undefined;
299
299
  connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
300
300
  }>, z.ZodObject<{
@@ -11519,6 +11519,7 @@ const openapi = {
11519
11519
  'ultraloq_lock',
11520
11520
  'keyincode_lock',
11521
11521
  'omnitec_lock',
11522
+ 'kisi_lock',
11522
11523
  ],
11523
11524
  type: 'string',
11524
11525
  },
@@ -12889,6 +12890,37 @@ const openapi = {
12889
12890
  },
12890
12891
  type: 'object',
12891
12892
  },
12893
+ kisi_metadata: {
12894
+ description: 'Metadata for a Kisi device.',
12895
+ properties: {
12896
+ description: {
12897
+ description: 'Description for a Kisi device.',
12898
+ nullable: true,
12899
+ type: 'string',
12900
+ },
12901
+ lock_id: {
12902
+ description: 'Lock ID for a Kisi device.',
12903
+ format: 'float',
12904
+ type: 'number',
12905
+ },
12906
+ lock_name: {
12907
+ description: 'Lock name for a Kisi device.',
12908
+ type: 'string',
12909
+ },
12910
+ place_name: {
12911
+ description: 'Place name for a Kisi device.',
12912
+ nullable: true,
12913
+ type: 'string',
12914
+ },
12915
+ },
12916
+ required: [
12917
+ 'lock_id',
12918
+ 'lock_name',
12919
+ 'place_name',
12920
+ 'description',
12921
+ ],
12922
+ type: 'object',
12923
+ },
12892
12924
  korelock_metadata: {
12893
12925
  description: 'Metadata for a Korelock device.',
12894
12926
  properties: {
@@ -15489,6 +15521,7 @@ const openapi = {
15489
15521
  'guesty',
15490
15522
  'acuity_scheduling',
15491
15523
  'omnitec',
15524
+ 'kisi',
15492
15525
  ],
15493
15526
  type: 'string',
15494
15527
  },
@@ -29034,6 +29067,7 @@ const openapi = {
29034
29067
  'ultraloq_lock',
29035
29068
  'keyincode_lock',
29036
29069
  'omnitec_lock',
29070
+ 'kisi_lock',
29037
29071
  ],
29038
29072
  type: 'string',
29039
29073
  },
@@ -47533,6 +47567,7 @@ const openapi = {
47533
47567
  'guesty',
47534
47568
  'acuity_scheduling',
47535
47569
  'omnitec',
47570
+ 'kisi',
47536
47571
  'yale_access',
47537
47572
  'hid_cm',
47538
47573
  'google_nest',
@@ -51481,6 +51516,7 @@ const openapi = {
51481
51516
  'ultraloq_lock',
51482
51517
  'keyincode_lock',
51483
51518
  'omnitec_lock',
51519
+ 'kisi_lock',
51484
51520
  ],
51485
51521
  type: 'string',
51486
51522
  },
@@ -51557,6 +51593,7 @@ const openapi = {
51557
51593
  'ultraloq_lock',
51558
51594
  'keyincode_lock',
51559
51595
  'omnitec_lock',
51596
+ 'kisi_lock',
51560
51597
  ],
51561
51598
  type: 'string',
51562
51599
  },
@@ -51632,6 +51669,7 @@ const openapi = {
51632
51669
  'dormakaba_oracode',
51633
51670
  'tedee',
51634
51671
  'keyincode',
51672
+ 'kisi',
51635
51673
  'akiles',
51636
51674
  'ecobee',
51637
51675
  'honeywell_resideo',
@@ -51651,6 +51689,7 @@ const openapi = {
51651
51689
  'guesty',
51652
51690
  'acuity_scheduling',
51653
51691
  'omnitec',
51692
+ 'kisi',
51654
51693
  'slack',
51655
51694
  ],
51656
51695
  type: 'string',
@@ -51924,6 +51963,7 @@ const openapi = {
51924
51963
  'ultraloq_lock',
51925
51964
  'keyincode_lock',
51926
51965
  'omnitec_lock',
51966
+ 'kisi_lock',
51927
51967
  ],
51928
51968
  type: 'string',
51929
51969
  },
@@ -51996,6 +52036,7 @@ const openapi = {
51996
52036
  'ultraloq_lock',
51997
52037
  'keyincode_lock',
51998
52038
  'omnitec_lock',
52039
+ 'kisi_lock',
51999
52040
  ],
52000
52041
  type: 'string',
52001
52042
  },
@@ -52131,6 +52172,7 @@ const openapi = {
52131
52172
  'dormakaba_oracode',
52132
52173
  'tedee',
52133
52174
  'keyincode',
52175
+ 'kisi',
52134
52176
  'akiles',
52135
52177
  'ecobee',
52136
52178
  'honeywell_resideo',
@@ -52150,6 +52192,7 @@ const openapi = {
52150
52192
  'guesty',
52151
52193
  'acuity_scheduling',
52152
52194
  'omnitec',
52195
+ 'kisi',
52153
52196
  'slack',
52154
52197
  ],
52155
52198
  type: 'string',
@@ -54230,6 +54273,7 @@ const openapi = {
54230
54273
  'ultraloq_lock',
54231
54274
  'keyincode_lock',
54232
54275
  'omnitec_lock',
54276
+ 'kisi_lock',
54233
54277
  ],
54234
54278
  type: 'string',
54235
54279
  },
@@ -54306,6 +54350,7 @@ const openapi = {
54306
54350
  'ultraloq_lock',
54307
54351
  'keyincode_lock',
54308
54352
  'omnitec_lock',
54353
+ 'kisi_lock',
54309
54354
  ],
54310
54355
  type: 'string',
54311
54356
  },
@@ -54381,6 +54426,7 @@ const openapi = {
54381
54426
  'dormakaba_oracode',
54382
54427
  'tedee',
54383
54428
  'keyincode',
54429
+ 'kisi',
54384
54430
  'akiles',
54385
54431
  'ecobee',
54386
54432
  'honeywell_resideo',
@@ -54400,6 +54446,7 @@ const openapi = {
54400
54446
  'guesty',
54401
54447
  'acuity_scheduling',
54402
54448
  'omnitec',
54449
+ 'kisi',
54403
54450
  'slack',
54404
54451
  ],
54405
54452
  type: 'string',
@@ -54672,6 +54719,7 @@ const openapi = {
54672
54719
  'ultraloq_lock',
54673
54720
  'keyincode_lock',
54674
54721
  'omnitec_lock',
54722
+ 'kisi_lock',
54675
54723
  ],
54676
54724
  type: 'string',
54677
54725
  },
@@ -54744,6 +54792,7 @@ const openapi = {
54744
54792
  'ultraloq_lock',
54745
54793
  'keyincode_lock',
54746
54794
  'omnitec_lock',
54795
+ 'kisi_lock',
54747
54796
  ],
54748
54797
  type: 'string',
54749
54798
  },
@@ -54879,6 +54928,7 @@ const openapi = {
54879
54928
  'dormakaba_oracode',
54880
54929
  'tedee',
54881
54930
  'keyincode',
54931
+ 'kisi',
54882
54932
  'akiles',
54883
54933
  'ecobee',
54884
54934
  'honeywell_resideo',
@@ -54898,6 +54948,7 @@ const openapi = {
54898
54948
  'guesty',
54899
54949
  'acuity_scheduling',
54900
54950
  'omnitec',
54951
+ 'kisi',
54901
54952
  'slack',
54902
54953
  ],
54903
54954
  type: 'string',
@@ -56911,6 +56962,7 @@ const openapi = {
56911
56962
  'ultraloq_lock',
56912
56963
  'keyincode_lock',
56913
56964
  'omnitec_lock',
56965
+ 'kisi_lock',
56914
56966
  ],
56915
56967
  type: 'string',
56916
56968
  },
@@ -56951,6 +57003,7 @@ const openapi = {
56951
57003
  'ultraloq_lock',
56952
57004
  'keyincode_lock',
56953
57005
  'omnitec_lock',
57006
+ 'kisi_lock',
56954
57007
  ],
56955
57008
  type: 'string',
56956
57009
  },
@@ -56988,11 +57041,13 @@ const openapi = {
56988
57041
  'dormakaba_oracode',
56989
57042
  'tedee',
56990
57043
  'keyincode',
57044
+ 'kisi',
56991
57045
  'akiles',
56992
57046
  'korelock',
56993
57047
  'smartthings',
56994
57048
  'ultraloq',
56995
57049
  'omnitec',
57050
+ 'kisi',
56996
57051
  ],
56997
57052
  type: 'string',
56998
57053
  },
@@ -57264,6 +57319,7 @@ const openapi = {
57264
57319
  'ultraloq_lock',
57265
57320
  'keyincode_lock',
57266
57321
  'omnitec_lock',
57322
+ 'kisi_lock',
57267
57323
  ],
57268
57324
  type: 'string',
57269
57325
  },
@@ -57300,6 +57356,7 @@ const openapi = {
57300
57356
  'ultraloq_lock',
57301
57357
  'keyincode_lock',
57302
57358
  'omnitec_lock',
57359
+ 'kisi_lock',
57303
57360
  ],
57304
57361
  type: 'string',
57305
57362
  },
@@ -57397,11 +57454,13 @@ const openapi = {
57397
57454
  'dormakaba_oracode',
57398
57455
  'tedee',
57399
57456
  'keyincode',
57457
+ 'kisi',
57400
57458
  'akiles',
57401
57459
  'korelock',
57402
57460
  'smartthings',
57403
57461
  'ultraloq',
57404
57462
  'omnitec',
57463
+ 'kisi',
57405
57464
  ],
57406
57465
  type: 'string',
57407
57466
  },