@seamapi/types 1.358.0 → 1.360.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 (38) hide show
  1. package/dist/connect.cjs +532 -11
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +2726 -1075
  4. package/lib/seam/connect/model-types.d.ts +1 -1
  5. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +100 -0
  6. package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +100 -0
  7. package/lib/seam/connect/models/acs/acs-access-group.d.ts +14 -14
  8. package/lib/seam/connect/models/acs/acs-credential.d.ts +74 -74
  9. package/lib/seam/connect/models/acs/acs-encoder.d.ts +8 -8
  10. package/lib/seam/connect/models/acs/acs-system.d.ts +72 -72
  11. package/lib/seam/connect/models/acs/acs-user.d.ts +104 -104
  12. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +168 -168
  13. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +72 -72
  14. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +96 -96
  15. package/lib/seam/connect/models/connect-webviews/connect-webview.d.ts +2 -2
  16. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +634 -21
  17. package/lib/seam/connect/models/connected-accounts/connected-account.js +56 -0
  18. package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
  19. package/lib/seam/connect/models/devices/device-metadata.d.ts +24 -24
  20. package/lib/seam/connect/models/devices/device.d.ts +146 -46
  21. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +127 -27
  22. package/lib/seam/connect/models/events/access-codes.d.ts +68 -68
  23. package/lib/seam/connect/models/events/connect-webviews.d.ts +4 -4
  24. package/lib/seam/connect/models/events/connected-accounts.d.ts +28 -28
  25. package/lib/seam/connect/models/events/devices.d.ts +188 -128
  26. package/lib/seam/connect/models/events/devices.js +10 -0
  27. package/lib/seam/connect/models/events/devices.js.map +1 -1
  28. package/lib/seam/connect/models/events/seam-event.d.ts +144 -115
  29. package/lib/seam/connect/openapi.d.ts +482 -4
  30. package/lib/seam/connect/openapi.js +469 -2
  31. package/lib/seam/connect/openapi.js.map +1 -1
  32. package/lib/seam/connect/route-types.d.ts +601 -2
  33. package/package.json +2 -2
  34. package/src/lib/seam/connect/model-types.ts +0 -2
  35. package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +77 -2
  36. package/src/lib/seam/connect/models/events/devices.ts +13 -0
  37. package/src/lib/seam/connect/openapi.ts +502 -2
  38. package/src/lib/seam/connect/route-types.ts +633 -0
@@ -32,12 +32,12 @@ export declare const acs_system_error_map: z.ZodObject<{
32
32
  error_code: z.ZodLiteral<"seam_bridge_disconnected">;
33
33
  }>, "strip", z.ZodTypeAny, {
34
34
  message: string;
35
- error_code: "seam_bridge_disconnected";
36
35
  created_at: string;
36
+ error_code: "seam_bridge_disconnected";
37
37
  }, {
38
38
  message: string;
39
- error_code: "seam_bridge_disconnected";
40
39
  created_at: string;
40
+ error_code: "seam_bridge_disconnected";
41
41
  }>>>;
42
42
  visionline_instance_unreachable: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
43
43
  created_at: z.ZodString;
@@ -46,12 +46,12 @@ export declare const acs_system_error_map: z.ZodObject<{
46
46
  error_code: z.ZodLiteral<"visionline_instance_unreachable">;
47
47
  }>, "strip", z.ZodTypeAny, {
48
48
  message: string;
49
- error_code: "visionline_instance_unreachable";
50
49
  created_at: string;
50
+ error_code: "visionline_instance_unreachable";
51
51
  }, {
52
52
  message: string;
53
- error_code: "visionline_instance_unreachable";
54
53
  created_at: string;
54
+ error_code: "visionline_instance_unreachable";
55
55
  }>>>;
56
56
  salto_ks_subscription_limit_exceeded: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
57
57
  created_at: z.ZodString;
@@ -60,12 +60,12 @@ export declare const acs_system_error_map: z.ZodObject<{
60
60
  error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
61
61
  }>, "strip", z.ZodTypeAny, {
62
62
  message: string;
63
- error_code: "salto_ks_subscription_limit_exceeded";
64
63
  created_at: string;
64
+ error_code: "salto_ks_subscription_limit_exceeded";
65
65
  }, {
66
66
  message: string;
67
- error_code: "salto_ks_subscription_limit_exceeded";
68
67
  created_at: string;
68
+ error_code: "salto_ks_subscription_limit_exceeded";
69
69
  }>>>;
70
70
  acs_system_disconnected: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
71
71
  created_at: z.ZodString;
@@ -74,12 +74,12 @@ export declare const acs_system_error_map: z.ZodObject<{
74
74
  error_code: z.ZodLiteral<"acs_system_disconnected">;
75
75
  }>, "strip", z.ZodTypeAny, {
76
76
  message: string;
77
- error_code: "acs_system_disconnected";
78
77
  created_at: string;
78
+ error_code: "acs_system_disconnected";
79
79
  }, {
80
80
  message: string;
81
- error_code: "acs_system_disconnected";
82
81
  created_at: string;
82
+ error_code: "acs_system_disconnected";
83
83
  }>>>;
84
84
  account_disconnected: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
85
85
  created_at: z.ZodString;
@@ -88,12 +88,12 @@ export declare const acs_system_error_map: z.ZodObject<{
88
88
  error_code: z.ZodLiteral<"account_disconnected">;
89
89
  }>, "strip", z.ZodTypeAny, {
90
90
  message: string;
91
- error_code: "account_disconnected";
92
91
  created_at: string;
92
+ error_code: "account_disconnected";
93
93
  }, {
94
94
  message: string;
95
- error_code: "account_disconnected";
96
95
  created_at: string;
96
+ error_code: "account_disconnected";
97
97
  }>>>;
98
98
  salto_ks_certification_expired: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
99
99
  created_at: z.ZodString;
@@ -102,74 +102,74 @@ export declare const acs_system_error_map: z.ZodObject<{
102
102
  error_code: z.ZodLiteral<"salto_ks_certification_expired">;
103
103
  }>, "strip", z.ZodTypeAny, {
104
104
  message: string;
105
- error_code: "salto_ks_certification_expired";
106
105
  created_at: string;
106
+ error_code: "salto_ks_certification_expired";
107
107
  }, {
108
108
  message: string;
109
- error_code: "salto_ks_certification_expired";
110
109
  created_at: string;
110
+ error_code: "salto_ks_certification_expired";
111
111
  }>>>;
112
112
  }, "strip", z.ZodTypeAny, {
113
113
  account_disconnected?: {
114
114
  message: string;
115
- error_code: "account_disconnected";
116
115
  created_at: string;
116
+ error_code: "account_disconnected";
117
117
  } | null | undefined;
118
- seam_bridge_disconnected?: {
118
+ salto_ks_subscription_limit_exceeded?: {
119
119
  message: string;
120
- error_code: "seam_bridge_disconnected";
121
120
  created_at: string;
121
+ error_code: "salto_ks_subscription_limit_exceeded";
122
122
  } | null | undefined;
123
- visionline_instance_unreachable?: {
123
+ seam_bridge_disconnected?: {
124
124
  message: string;
125
- error_code: "visionline_instance_unreachable";
126
125
  created_at: string;
126
+ error_code: "seam_bridge_disconnected";
127
127
  } | null | undefined;
128
- salto_ks_subscription_limit_exceeded?: {
128
+ visionline_instance_unreachable?: {
129
129
  message: string;
130
- error_code: "salto_ks_subscription_limit_exceeded";
131
130
  created_at: string;
131
+ error_code: "visionline_instance_unreachable";
132
132
  } | null | undefined;
133
133
  acs_system_disconnected?: {
134
134
  message: string;
135
- error_code: "acs_system_disconnected";
136
135
  created_at: string;
136
+ error_code: "acs_system_disconnected";
137
137
  } | null | undefined;
138
138
  salto_ks_certification_expired?: {
139
139
  message: string;
140
- error_code: "salto_ks_certification_expired";
141
140
  created_at: string;
141
+ error_code: "salto_ks_certification_expired";
142
142
  } | null | undefined;
143
143
  }, {
144
144
  account_disconnected?: {
145
145
  message: string;
146
- error_code: "account_disconnected";
147
146
  created_at: string;
147
+ error_code: "account_disconnected";
148
148
  } | null | undefined;
149
- seam_bridge_disconnected?: {
149
+ salto_ks_subscription_limit_exceeded?: {
150
150
  message: string;
151
- error_code: "seam_bridge_disconnected";
152
151
  created_at: string;
152
+ error_code: "salto_ks_subscription_limit_exceeded";
153
153
  } | null | undefined;
154
- visionline_instance_unreachable?: {
154
+ seam_bridge_disconnected?: {
155
155
  message: string;
156
- error_code: "visionline_instance_unreachable";
157
156
  created_at: string;
157
+ error_code: "seam_bridge_disconnected";
158
158
  } | null | undefined;
159
- salto_ks_subscription_limit_exceeded?: {
159
+ visionline_instance_unreachable?: {
160
160
  message: string;
161
- error_code: "salto_ks_subscription_limit_exceeded";
162
161
  created_at: string;
162
+ error_code: "visionline_instance_unreachable";
163
163
  } | null | undefined;
164
164
  acs_system_disconnected?: {
165
165
  message: string;
166
- error_code: "acs_system_disconnected";
167
166
  created_at: string;
167
+ error_code: "acs_system_disconnected";
168
168
  } | null | undefined;
169
169
  salto_ks_certification_expired?: {
170
170
  message: string;
171
- error_code: "salto_ks_certification_expired";
172
171
  created_at: string;
172
+ error_code: "salto_ks_certification_expired";
173
173
  } | null | undefined;
174
174
  }>;
175
175
  export type AcsSystemErrorMap = z.infer<typeof acs_system_error_map>;
@@ -181,12 +181,12 @@ export declare const acs_system_warning_map: z.ZodObject<{
181
181
  warning_code: z.ZodLiteral<"salto_ks_subscription_limit_almost_reached">;
182
182
  }>, "strip", z.ZodTypeAny, {
183
183
  message: string;
184
- warning_code: "salto_ks_subscription_limit_almost_reached";
185
184
  created_at: string;
185
+ warning_code: "salto_ks_subscription_limit_almost_reached";
186
186
  }, {
187
187
  message: string;
188
- warning_code: "salto_ks_subscription_limit_almost_reached";
189
188
  created_at: string;
189
+ warning_code: "salto_ks_subscription_limit_almost_reached";
190
190
  }>>>;
191
191
  time_zone_does_not_match_location: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
192
192
  created_at: z.ZodString;
@@ -196,37 +196,37 @@ export declare const acs_system_warning_map: z.ZodObject<{
196
196
  misconfigured_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
197
197
  }>, "strip", z.ZodTypeAny, {
198
198
  message: string;
199
- warning_code: "time_zone_does_not_match_location";
200
199
  created_at: string;
200
+ warning_code: "time_zone_does_not_match_location";
201
201
  misconfigured_acs_entrance_ids?: string[] | undefined;
202
202
  }, {
203
203
  message: string;
204
- warning_code: "time_zone_does_not_match_location";
205
204
  created_at: string;
205
+ warning_code: "time_zone_does_not_match_location";
206
206
  misconfigured_acs_entrance_ids?: string[] | undefined;
207
207
  }>>>;
208
208
  }, "strip", z.ZodTypeAny, {
209
209
  salto_ks_subscription_limit_almost_reached?: {
210
210
  message: string;
211
- warning_code: "salto_ks_subscription_limit_almost_reached";
212
211
  created_at: string;
212
+ warning_code: "salto_ks_subscription_limit_almost_reached";
213
213
  } | null | undefined;
214
214
  time_zone_does_not_match_location?: {
215
215
  message: string;
216
- warning_code: "time_zone_does_not_match_location";
217
216
  created_at: string;
217
+ warning_code: "time_zone_does_not_match_location";
218
218
  misconfigured_acs_entrance_ids?: string[] | undefined;
219
219
  } | null | undefined;
220
220
  }, {
221
221
  salto_ks_subscription_limit_almost_reached?: {
222
222
  message: string;
223
- warning_code: "salto_ks_subscription_limit_almost_reached";
224
223
  created_at: string;
224
+ warning_code: "salto_ks_subscription_limit_almost_reached";
225
225
  } | null | undefined;
226
226
  time_zone_does_not_match_location?: {
227
227
  message: string;
228
- warning_code: "time_zone_does_not_match_location";
229
228
  created_at: string;
229
+ warning_code: "time_zone_does_not_match_location";
230
230
  misconfigured_acs_entrance_ids?: string[] | undefined;
231
231
  } | null | undefined;
232
232
  }>;
@@ -273,12 +273,12 @@ export declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
273
273
  error_code: z.ZodLiteral<"seam_bridge_disconnected">;
274
274
  }>, "strip", z.ZodTypeAny, {
275
275
  message: string;
276
- error_code: "seam_bridge_disconnected";
277
276
  created_at: string;
277
+ error_code: "seam_bridge_disconnected";
278
278
  }, {
279
279
  message: string;
280
- error_code: "seam_bridge_disconnected";
281
280
  created_at: string;
281
+ error_code: "seam_bridge_disconnected";
282
282
  }>, z.ZodObject<z.objectUtil.extendShape<{
283
283
  created_at: z.ZodString;
284
284
  message: z.ZodString;
@@ -286,12 +286,12 @@ export declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
286
286
  error_code: z.ZodLiteral<"visionline_instance_unreachable">;
287
287
  }>, "strip", z.ZodTypeAny, {
288
288
  message: string;
289
- error_code: "visionline_instance_unreachable";
290
289
  created_at: string;
290
+ error_code: "visionline_instance_unreachable";
291
291
  }, {
292
292
  message: string;
293
- error_code: "visionline_instance_unreachable";
294
293
  created_at: string;
294
+ error_code: "visionline_instance_unreachable";
295
295
  }>, z.ZodObject<z.objectUtil.extendShape<{
296
296
  created_at: z.ZodString;
297
297
  message: z.ZodString;
@@ -299,12 +299,12 @@ export declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
299
299
  error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
300
300
  }>, "strip", z.ZodTypeAny, {
301
301
  message: string;
302
- error_code: "salto_ks_subscription_limit_exceeded";
303
302
  created_at: string;
303
+ error_code: "salto_ks_subscription_limit_exceeded";
304
304
  }, {
305
305
  message: string;
306
- error_code: "salto_ks_subscription_limit_exceeded";
307
306
  created_at: string;
307
+ error_code: "salto_ks_subscription_limit_exceeded";
308
308
  }>, z.ZodObject<z.objectUtil.extendShape<{
309
309
  created_at: z.ZodString;
310
310
  message: z.ZodString;
@@ -312,12 +312,12 @@ export declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
312
312
  error_code: z.ZodLiteral<"acs_system_disconnected">;
313
313
  }>, "strip", z.ZodTypeAny, {
314
314
  message: string;
315
- error_code: "acs_system_disconnected";
316
315
  created_at: string;
316
+ error_code: "acs_system_disconnected";
317
317
  }, {
318
318
  message: string;
319
- error_code: "acs_system_disconnected";
320
319
  created_at: string;
320
+ error_code: "acs_system_disconnected";
321
321
  }>, z.ZodObject<z.objectUtil.extendShape<{
322
322
  created_at: z.ZodString;
323
323
  message: z.ZodString;
@@ -325,12 +325,12 @@ export declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
325
325
  error_code: z.ZodLiteral<"account_disconnected">;
326
326
  }>, "strip", z.ZodTypeAny, {
327
327
  message: string;
328
- error_code: "account_disconnected";
329
328
  created_at: string;
329
+ error_code: "account_disconnected";
330
330
  }, {
331
331
  message: string;
332
- error_code: "account_disconnected";
333
332
  created_at: string;
333
+ error_code: "account_disconnected";
334
334
  }>, z.ZodObject<z.objectUtil.extendShape<{
335
335
  created_at: z.ZodString;
336
336
  message: z.ZodString;
@@ -338,12 +338,12 @@ export declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
338
338
  error_code: z.ZodLiteral<"salto_ks_certification_expired">;
339
339
  }>, "strip", z.ZodTypeAny, {
340
340
  message: string;
341
- error_code: "salto_ks_certification_expired";
342
341
  created_at: string;
342
+ error_code: "salto_ks_certification_expired";
343
343
  }, {
344
344
  message: string;
345
- error_code: "salto_ks_certification_expired";
346
345
  created_at: string;
346
+ error_code: "salto_ks_certification_expired";
347
347
  }>]>, "many">;
348
348
  warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
349
349
  created_at: z.ZodString;
@@ -352,12 +352,12 @@ export declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
352
352
  warning_code: z.ZodLiteral<"salto_ks_subscription_limit_almost_reached">;
353
353
  }>, "strip", z.ZodTypeAny, {
354
354
  message: string;
355
- warning_code: "salto_ks_subscription_limit_almost_reached";
356
355
  created_at: string;
356
+ warning_code: "salto_ks_subscription_limit_almost_reached";
357
357
  }, {
358
358
  message: string;
359
- warning_code: "salto_ks_subscription_limit_almost_reached";
360
359
  created_at: string;
360
+ warning_code: "salto_ks_subscription_limit_almost_reached";
361
361
  }>, z.ZodObject<z.objectUtil.extendShape<{
362
362
  created_at: z.ZodString;
363
363
  message: z.ZodString;
@@ -366,13 +366,13 @@ export declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
366
366
  misconfigured_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
367
367
  }>, "strip", z.ZodTypeAny, {
368
368
  message: string;
369
- warning_code: "time_zone_does_not_match_location";
370
369
  created_at: string;
370
+ warning_code: "time_zone_does_not_match_location";
371
371
  misconfigured_acs_entrance_ids?: string[] | undefined;
372
372
  }, {
373
373
  message: string;
374
- warning_code: "time_zone_does_not_match_location";
375
374
  created_at: string;
375
+ warning_code: "time_zone_does_not_match_location";
376
376
  misconfigured_acs_entrance_ids?: string[] | undefined;
377
377
  }>]>, "many">;
378
378
  }, {
@@ -385,41 +385,41 @@ export declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
385
385
  time_zone: string | null;
386
386
  };
387
387
  name: string;
388
- connected_account_id: string;
389
388
  created_at: string;
389
+ connected_account_id: string;
390
390
  errors: ({
391
391
  message: string;
392
- error_code: "seam_bridge_disconnected";
393
392
  created_at: string;
393
+ error_code: "seam_bridge_disconnected";
394
394
  } | {
395
395
  message: string;
396
- error_code: "visionline_instance_unreachable";
397
396
  created_at: string;
397
+ error_code: "visionline_instance_unreachable";
398
398
  } | {
399
399
  message: string;
400
- error_code: "salto_ks_subscription_limit_exceeded";
401
400
  created_at: string;
401
+ error_code: "salto_ks_subscription_limit_exceeded";
402
402
  } | {
403
403
  message: string;
404
- error_code: "acs_system_disconnected";
405
404
  created_at: string;
405
+ error_code: "acs_system_disconnected";
406
406
  } | {
407
407
  message: string;
408
- error_code: "account_disconnected";
409
408
  created_at: string;
409
+ error_code: "account_disconnected";
410
410
  } | {
411
411
  message: string;
412
- error_code: "salto_ks_certification_expired";
413
412
  created_at: string;
413
+ error_code: "salto_ks_certification_expired";
414
414
  })[];
415
415
  warnings: ({
416
416
  message: string;
417
- warning_code: "salto_ks_subscription_limit_almost_reached";
418
417
  created_at: string;
418
+ warning_code: "salto_ks_subscription_limit_almost_reached";
419
419
  } | {
420
420
  message: string;
421
- warning_code: "time_zone_does_not_match_location";
422
421
  created_at: string;
422
+ warning_code: "time_zone_does_not_match_location";
423
423
  misconfigured_acs_entrance_ids?: string[] | undefined;
424
424
  })[];
425
425
  image_url: string;
@@ -447,41 +447,41 @@ export declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
447
447
  time_zone: string | null;
448
448
  };
449
449
  name: string;
450
- connected_account_id: string;
451
450
  created_at: string;
451
+ connected_account_id: string;
452
452
  errors: ({
453
453
  message: string;
454
- error_code: "seam_bridge_disconnected";
455
454
  created_at: string;
455
+ error_code: "seam_bridge_disconnected";
456
456
  } | {
457
457
  message: string;
458
- error_code: "visionline_instance_unreachable";
459
458
  created_at: string;
459
+ error_code: "visionline_instance_unreachable";
460
460
  } | {
461
461
  message: string;
462
- error_code: "salto_ks_subscription_limit_exceeded";
463
462
  created_at: string;
463
+ error_code: "salto_ks_subscription_limit_exceeded";
464
464
  } | {
465
465
  message: string;
466
- error_code: "acs_system_disconnected";
467
466
  created_at: string;
467
+ error_code: "acs_system_disconnected";
468
468
  } | {
469
469
  message: string;
470
- error_code: "account_disconnected";
471
470
  created_at: string;
471
+ error_code: "account_disconnected";
472
472
  } | {
473
473
  message: string;
474
- error_code: "salto_ks_certification_expired";
475
474
  created_at: string;
475
+ error_code: "salto_ks_certification_expired";
476
476
  })[];
477
477
  warnings: ({
478
478
  message: string;
479
- warning_code: "salto_ks_subscription_limit_almost_reached";
480
479
  created_at: string;
480
+ warning_code: "salto_ks_subscription_limit_almost_reached";
481
481
  } | {
482
482
  message: string;
483
- warning_code: "time_zone_does_not_match_location";
484
483
  created_at: string;
484
+ warning_code: "time_zone_does_not_match_location";
485
485
  misconfigured_acs_entrance_ids?: string[] | undefined;
486
486
  })[];
487
487
  image_url: string;