@seamapi/types 1.85.1 → 1.87.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.
- package/dist/connect.cjs +46 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +101 -1
- package/lib/seam/connect/openapi.d.ts +88 -0
- package/lib/seam/connect/openapi.js +45 -1
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +13 -1
- package/lib/seam/connect/unstable/models/devices/managed-device.d.ts +3 -0
- package/lib/seam/connect/unstable/models/devices/managed-device.js +2 -0
- package/lib/seam/connect/unstable/models/devices/managed-device.js.map +1 -1
- package/lib/seam/connect/unstable/models/devices/phone.d.ts +3 -0
- package/lib/seam/connect/unstable/models/events/access_code_events.d.ts +70 -0
- package/lib/seam/connect/unstable/models/events/access_code_events.js +33 -0
- package/lib/seam/connect/unstable/models/events/access_code_events.js.map +1 -0
- package/lib/seam/connect/unstable/models/events/connected_account_events.d.ts +48 -0
- package/lib/seam/connect/unstable/models/events/connected_account_events.js +24 -0
- package/lib/seam/connect/unstable/models/events/connected_account_events.js.map +1 -0
- package/lib/seam/connect/unstable/models/events/device_events.d.ts +63 -0
- package/lib/seam/connect/unstable/models/events/device_events.js +21 -0
- package/lib/seam/connect/unstable/models/events/device_events.js.map +1 -0
- package/lib/seam/connect/unstable/models/events/lock_events.d.ts +42 -0
- package/lib/seam/connect/unstable/models/events/lock_events.js +22 -0
- package/lib/seam/connect/unstable/models/events/lock_events.js.map +1 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +45 -1
- package/src/lib/seam/connect/route-types.ts +13 -1
- package/src/lib/seam/connect/unstable/models/devices/managed-device.ts +2 -0
- package/src/lib/seam/connect/unstable/models/events/access_code_events.ts +37 -0
- package/src/lib/seam/connect/unstable/models/events/connected_account_events.ts +27 -0
- package/src/lib/seam/connect/unstable/models/events/device_events.ts +24 -0
- package/src/lib/seam/connect/unstable/models/events/lock_events.ts +25 -0
package/dist/connect.d.cts
CHANGED
|
@@ -740,6 +740,28 @@ declare const _default: {
|
|
|
740
740
|
format: string;
|
|
741
741
|
type: string;
|
|
742
742
|
};
|
|
743
|
+
custom_metadata: {
|
|
744
|
+
additionalProperties: {
|
|
745
|
+
nullable: boolean;
|
|
746
|
+
oneOf: ({
|
|
747
|
+
maxLength: number;
|
|
748
|
+
type: string;
|
|
749
|
+
format?: never;
|
|
750
|
+
nullable?: never;
|
|
751
|
+
} | {
|
|
752
|
+
type: string;
|
|
753
|
+
maxLength?: never;
|
|
754
|
+
format?: never;
|
|
755
|
+
nullable?: never;
|
|
756
|
+
} | {
|
|
757
|
+
format: string;
|
|
758
|
+
nullable: boolean;
|
|
759
|
+
type: string;
|
|
760
|
+
maxLength?: never;
|
|
761
|
+
})[];
|
|
762
|
+
};
|
|
763
|
+
type: string;
|
|
764
|
+
};
|
|
743
765
|
device_id: {
|
|
744
766
|
description: string;
|
|
745
767
|
format: string;
|
|
@@ -2316,6 +2338,28 @@ declare const _default: {
|
|
|
2316
2338
|
format: string;
|
|
2317
2339
|
type: string;
|
|
2318
2340
|
};
|
|
2341
|
+
custom_metadata: {
|
|
2342
|
+
additionalProperties: {
|
|
2343
|
+
nullable: boolean;
|
|
2344
|
+
oneOf: ({
|
|
2345
|
+
maxLength: number;
|
|
2346
|
+
type: string;
|
|
2347
|
+
format?: never;
|
|
2348
|
+
nullable?: never;
|
|
2349
|
+
} | {
|
|
2350
|
+
type: string;
|
|
2351
|
+
maxLength?: never;
|
|
2352
|
+
format?: never;
|
|
2353
|
+
nullable?: never;
|
|
2354
|
+
} | {
|
|
2355
|
+
format: string;
|
|
2356
|
+
nullable: boolean;
|
|
2357
|
+
type: string;
|
|
2358
|
+
maxLength?: never;
|
|
2359
|
+
})[];
|
|
2360
|
+
};
|
|
2361
|
+
type: string;
|
|
2362
|
+
};
|
|
2319
2363
|
device_id: {
|
|
2320
2364
|
description: string;
|
|
2321
2365
|
format: string;
|
|
@@ -11314,6 +11358,28 @@ declare const _default: {
|
|
|
11314
11358
|
'application/json': {
|
|
11315
11359
|
schema: {
|
|
11316
11360
|
properties: {
|
|
11361
|
+
custom_metadata: {
|
|
11362
|
+
additionalProperties: {
|
|
11363
|
+
nullable: boolean;
|
|
11364
|
+
oneOf: ({
|
|
11365
|
+
maxLength: number;
|
|
11366
|
+
type: string;
|
|
11367
|
+
format?: never;
|
|
11368
|
+
nullable?: never;
|
|
11369
|
+
} | {
|
|
11370
|
+
type: string;
|
|
11371
|
+
maxLength?: never;
|
|
11372
|
+
format?: never;
|
|
11373
|
+
nullable?: never;
|
|
11374
|
+
} | {
|
|
11375
|
+
format: string;
|
|
11376
|
+
nullable: boolean;
|
|
11377
|
+
type: string;
|
|
11378
|
+
maxLength?: never;
|
|
11379
|
+
})[];
|
|
11380
|
+
};
|
|
11381
|
+
type: string;
|
|
11382
|
+
};
|
|
11317
11383
|
device_id: {
|
|
11318
11384
|
format: string;
|
|
11319
11385
|
type: string;
|
|
@@ -11393,6 +11459,28 @@ declare const _default: {
|
|
|
11393
11459
|
'application/json': {
|
|
11394
11460
|
schema: {
|
|
11395
11461
|
properties: {
|
|
11462
|
+
custom_metadata: {
|
|
11463
|
+
additionalProperties: {
|
|
11464
|
+
nullable: boolean;
|
|
11465
|
+
oneOf: ({
|
|
11466
|
+
maxLength: number;
|
|
11467
|
+
type: string;
|
|
11468
|
+
format?: never;
|
|
11469
|
+
nullable?: never;
|
|
11470
|
+
} | {
|
|
11471
|
+
type: string;
|
|
11472
|
+
maxLength?: never;
|
|
11473
|
+
format?: never;
|
|
11474
|
+
nullable?: never;
|
|
11475
|
+
} | {
|
|
11476
|
+
format: string;
|
|
11477
|
+
nullable: boolean;
|
|
11478
|
+
type: string;
|
|
11479
|
+
maxLength?: never;
|
|
11480
|
+
})[];
|
|
11481
|
+
};
|
|
11482
|
+
type: string;
|
|
11483
|
+
};
|
|
11396
11484
|
device_id: {
|
|
11397
11485
|
format: string;
|
|
11398
11486
|
type: string;
|
|
@@ -18218,7 +18306,7 @@ interface Routes {
|
|
|
18218
18306
|
device_selection_mode?: ('none' | 'single' | 'multiple') | undefined;
|
|
18219
18307
|
custom_redirect_url?: string | undefined;
|
|
18220
18308
|
custom_redirect_failure_url?: string | undefined;
|
|
18221
|
-
accepted_providers?: Array<'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | '
|
|
18309
|
+
accepted_providers?: Array<'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'seam_bridge' | 'yale_access' | 'hid_cm' | 'google_nest'> | undefined;
|
|
18222
18310
|
provider_category?: ('stable' | 'consumer_smartlocks' | 'internal_beta') | undefined;
|
|
18223
18311
|
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
18224
18312
|
automatically_manage_new_devices?: boolean | undefined;
|
|
@@ -18917,6 +19005,7 @@ interface Routes {
|
|
|
18917
19005
|
created_at: string;
|
|
18918
19006
|
/** Indicates whether Seam manages the device. */
|
|
18919
19007
|
is_managed: true;
|
|
19008
|
+
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
18920
19009
|
};
|
|
18921
19010
|
};
|
|
18922
19011
|
};
|
|
@@ -19390,6 +19479,7 @@ interface Routes {
|
|
|
19390
19479
|
created_at: string;
|
|
19391
19480
|
/** Indicates whether Seam manages the device. */
|
|
19392
19481
|
is_managed: true;
|
|
19482
|
+
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
19393
19483
|
}>;
|
|
19394
19484
|
};
|
|
19395
19485
|
};
|
|
@@ -19590,6 +19680,7 @@ interface Routes {
|
|
|
19590
19680
|
} | undefined;
|
|
19591
19681
|
name?: (string | null) | undefined;
|
|
19592
19682
|
is_managed?: boolean;
|
|
19683
|
+
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
19593
19684
|
};
|
|
19594
19685
|
formData: {};
|
|
19595
19686
|
jsonResponse: {};
|
|
@@ -20181,6 +20272,7 @@ interface Routes {
|
|
|
20181
20272
|
created_at: string;
|
|
20182
20273
|
/** Indicates whether Seam manages the device. */
|
|
20183
20274
|
is_managed: true;
|
|
20275
|
+
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
20184
20276
|
};
|
|
20185
20277
|
device: {
|
|
20186
20278
|
/** Unique identifier for the device. */
|
|
@@ -20632,6 +20724,7 @@ interface Routes {
|
|
|
20632
20724
|
created_at: string;
|
|
20633
20725
|
/** Indicates whether Seam manages the device. */
|
|
20634
20726
|
is_managed: true;
|
|
20727
|
+
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
20635
20728
|
};
|
|
20636
20729
|
};
|
|
20637
20730
|
};
|
|
@@ -21105,6 +21198,7 @@ interface Routes {
|
|
|
21105
21198
|
created_at: string;
|
|
21106
21199
|
/** Indicates whether Seam manages the device. */
|
|
21107
21200
|
is_managed: true;
|
|
21201
|
+
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
21108
21202
|
}>;
|
|
21109
21203
|
devices: Array<{
|
|
21110
21204
|
/** Unique identifier for the device. */
|
|
@@ -21556,6 +21650,7 @@ interface Routes {
|
|
|
21556
21650
|
created_at: string;
|
|
21557
21651
|
/** Indicates whether Seam manages the device. */
|
|
21558
21652
|
is_managed: true;
|
|
21653
|
+
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
21559
21654
|
}>;
|
|
21560
21655
|
};
|
|
21561
21656
|
};
|
|
@@ -22300,6 +22395,7 @@ interface Routes {
|
|
|
22300
22395
|
created_at: string;
|
|
22301
22396
|
/** Indicates whether Seam manages the device. */
|
|
22302
22397
|
is_managed: true;
|
|
22398
|
+
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
22303
22399
|
assa_abloy_credential_service_metadata?: {
|
|
22304
22400
|
has_active_endpoint: boolean;
|
|
22305
22401
|
endpoints: Array<{
|
|
@@ -22783,6 +22879,7 @@ interface Routes {
|
|
|
22783
22879
|
created_at: string;
|
|
22784
22880
|
/** Indicates whether Seam manages the device. */
|
|
22785
22881
|
is_managed: true;
|
|
22882
|
+
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
22786
22883
|
assa_abloy_credential_service_metadata?: {
|
|
22787
22884
|
has_active_endpoint: boolean;
|
|
22788
22885
|
endpoints: Array<{
|
|
@@ -23429,6 +23526,7 @@ interface Routes {
|
|
|
23429
23526
|
created_at: string;
|
|
23430
23527
|
/** Indicates whether Seam manages the device. */
|
|
23431
23528
|
is_managed: true;
|
|
23529
|
+
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
23432
23530
|
};
|
|
23433
23531
|
};
|
|
23434
23532
|
};
|
|
@@ -23932,6 +24030,7 @@ interface Routes {
|
|
|
23932
24030
|
created_at: string;
|
|
23933
24031
|
/** Indicates whether Seam manages the device. */
|
|
23934
24032
|
is_managed: true;
|
|
24033
|
+
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
23935
24034
|
}>;
|
|
23936
24035
|
};
|
|
23937
24036
|
};
|
|
@@ -24597,6 +24696,7 @@ interface Routes {
|
|
|
24597
24696
|
created_at: string;
|
|
24598
24697
|
/** Indicates whether Seam manages the device. */
|
|
24599
24698
|
is_managed: true;
|
|
24699
|
+
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
24600
24700
|
}>;
|
|
24601
24701
|
};
|
|
24602
24702
|
};
|
|
@@ -666,6 +666,28 @@ declare const _default: {
|
|
|
666
666
|
format: string;
|
|
667
667
|
type: string;
|
|
668
668
|
};
|
|
669
|
+
custom_metadata: {
|
|
670
|
+
additionalProperties: {
|
|
671
|
+
nullable: boolean;
|
|
672
|
+
oneOf: ({
|
|
673
|
+
maxLength: number;
|
|
674
|
+
type: string;
|
|
675
|
+
format?: never;
|
|
676
|
+
nullable?: never;
|
|
677
|
+
} | {
|
|
678
|
+
type: string;
|
|
679
|
+
maxLength?: never;
|
|
680
|
+
format?: never;
|
|
681
|
+
nullable?: never;
|
|
682
|
+
} | {
|
|
683
|
+
format: string;
|
|
684
|
+
nullable: boolean;
|
|
685
|
+
type: string;
|
|
686
|
+
maxLength?: never;
|
|
687
|
+
})[];
|
|
688
|
+
};
|
|
689
|
+
type: string;
|
|
690
|
+
};
|
|
669
691
|
device_id: {
|
|
670
692
|
description: string;
|
|
671
693
|
format: string;
|
|
@@ -2242,6 +2264,28 @@ declare const _default: {
|
|
|
2242
2264
|
format: string;
|
|
2243
2265
|
type: string;
|
|
2244
2266
|
};
|
|
2267
|
+
custom_metadata: {
|
|
2268
|
+
additionalProperties: {
|
|
2269
|
+
nullable: boolean;
|
|
2270
|
+
oneOf: ({
|
|
2271
|
+
maxLength: number;
|
|
2272
|
+
type: string;
|
|
2273
|
+
format?: never;
|
|
2274
|
+
nullable?: never;
|
|
2275
|
+
} | {
|
|
2276
|
+
type: string;
|
|
2277
|
+
maxLength?: never;
|
|
2278
|
+
format?: never;
|
|
2279
|
+
nullable?: never;
|
|
2280
|
+
} | {
|
|
2281
|
+
format: string;
|
|
2282
|
+
nullable: boolean;
|
|
2283
|
+
type: string;
|
|
2284
|
+
maxLength?: never;
|
|
2285
|
+
})[];
|
|
2286
|
+
};
|
|
2287
|
+
type: string;
|
|
2288
|
+
};
|
|
2245
2289
|
device_id: {
|
|
2246
2290
|
description: string;
|
|
2247
2291
|
format: string;
|
|
@@ -11240,6 +11284,28 @@ declare const _default: {
|
|
|
11240
11284
|
'application/json': {
|
|
11241
11285
|
schema: {
|
|
11242
11286
|
properties: {
|
|
11287
|
+
custom_metadata: {
|
|
11288
|
+
additionalProperties: {
|
|
11289
|
+
nullable: boolean;
|
|
11290
|
+
oneOf: ({
|
|
11291
|
+
maxLength: number;
|
|
11292
|
+
type: string;
|
|
11293
|
+
format?: never;
|
|
11294
|
+
nullable?: never;
|
|
11295
|
+
} | {
|
|
11296
|
+
type: string;
|
|
11297
|
+
maxLength?: never;
|
|
11298
|
+
format?: never;
|
|
11299
|
+
nullable?: never;
|
|
11300
|
+
} | {
|
|
11301
|
+
format: string;
|
|
11302
|
+
nullable: boolean;
|
|
11303
|
+
type: string;
|
|
11304
|
+
maxLength?: never;
|
|
11305
|
+
})[];
|
|
11306
|
+
};
|
|
11307
|
+
type: string;
|
|
11308
|
+
};
|
|
11243
11309
|
device_id: {
|
|
11244
11310
|
format: string;
|
|
11245
11311
|
type: string;
|
|
@@ -11319,6 +11385,28 @@ declare const _default: {
|
|
|
11319
11385
|
'application/json': {
|
|
11320
11386
|
schema: {
|
|
11321
11387
|
properties: {
|
|
11388
|
+
custom_metadata: {
|
|
11389
|
+
additionalProperties: {
|
|
11390
|
+
nullable: boolean;
|
|
11391
|
+
oneOf: ({
|
|
11392
|
+
maxLength: number;
|
|
11393
|
+
type: string;
|
|
11394
|
+
format?: never;
|
|
11395
|
+
nullable?: never;
|
|
11396
|
+
} | {
|
|
11397
|
+
type: string;
|
|
11398
|
+
maxLength?: never;
|
|
11399
|
+
format?: never;
|
|
11400
|
+
nullable?: never;
|
|
11401
|
+
} | {
|
|
11402
|
+
format: string;
|
|
11403
|
+
nullable: boolean;
|
|
11404
|
+
type: string;
|
|
11405
|
+
maxLength?: never;
|
|
11406
|
+
})[];
|
|
11407
|
+
};
|
|
11408
|
+
type: string;
|
|
11409
|
+
};
|
|
11322
11410
|
device_id: {
|
|
11323
11411
|
format: string;
|
|
11324
11412
|
type: string;
|
|
@@ -524,6 +524,17 @@ export default {
|
|
|
524
524
|
format: 'date-time',
|
|
525
525
|
type: 'string',
|
|
526
526
|
},
|
|
527
|
+
custom_metadata: {
|
|
528
|
+
additionalProperties: {
|
|
529
|
+
nullable: true,
|
|
530
|
+
oneOf: [
|
|
531
|
+
{ maxLength: 500, type: 'string' },
|
|
532
|
+
{ type: 'boolean' },
|
|
533
|
+
{ format: 'null', nullable: true, type: 'string' },
|
|
534
|
+
],
|
|
535
|
+
},
|
|
536
|
+
type: 'object',
|
|
537
|
+
},
|
|
527
538
|
device_id: {
|
|
528
539
|
description: 'Unique identifier for the device.',
|
|
529
540
|
format: 'uuid',
|
|
@@ -1838,6 +1849,17 @@ export default {
|
|
|
1838
1849
|
format: 'date-time',
|
|
1839
1850
|
type: 'string',
|
|
1840
1851
|
},
|
|
1852
|
+
custom_metadata: {
|
|
1853
|
+
additionalProperties: {
|
|
1854
|
+
nullable: true,
|
|
1855
|
+
oneOf: [
|
|
1856
|
+
{ maxLength: 500, type: 'string' },
|
|
1857
|
+
{ type: 'boolean' },
|
|
1858
|
+
{ format: 'null', nullable: true, type: 'string' },
|
|
1859
|
+
],
|
|
1860
|
+
},
|
|
1861
|
+
type: 'object',
|
|
1862
|
+
},
|
|
1841
1863
|
device_id: {
|
|
1842
1864
|
description: 'Unique identifier for the device.',
|
|
1843
1865
|
format: 'uuid',
|
|
@@ -7270,7 +7292,6 @@ export default {
|
|
|
7270
7292
|
'my_2n',
|
|
7271
7293
|
'controlbyweb',
|
|
7272
7294
|
'nest',
|
|
7273
|
-
'google_nest',
|
|
7274
7295
|
'igloohome',
|
|
7275
7296
|
'ecobee',
|
|
7276
7297
|
'hubitat',
|
|
@@ -7284,6 +7305,7 @@ export default {
|
|
|
7284
7305
|
'seam_bridge',
|
|
7285
7306
|
'yale_access',
|
|
7286
7307
|
'hid_cm',
|
|
7308
|
+
'google_nest',
|
|
7287
7309
|
],
|
|
7288
7310
|
type: 'string',
|
|
7289
7311
|
},
|
|
@@ -8431,6 +8453,17 @@ export default {
|
|
|
8431
8453
|
'application/json': {
|
|
8432
8454
|
schema: {
|
|
8433
8455
|
properties: {
|
|
8456
|
+
custom_metadata: {
|
|
8457
|
+
additionalProperties: {
|
|
8458
|
+
nullable: true,
|
|
8459
|
+
oneOf: [
|
|
8460
|
+
{ maxLength: 500, type: 'string' },
|
|
8461
|
+
{ type: 'boolean' },
|
|
8462
|
+
{ format: 'null', nullable: true, type: 'string' },
|
|
8463
|
+
],
|
|
8464
|
+
},
|
|
8465
|
+
type: 'object',
|
|
8466
|
+
},
|
|
8434
8467
|
device_id: { format: 'uuid', type: 'string' },
|
|
8435
8468
|
is_managed: { default: true, type: 'boolean' },
|
|
8436
8469
|
name: { nullable: true, type: 'string' },
|
|
@@ -8477,6 +8510,17 @@ export default {
|
|
|
8477
8510
|
'application/json': {
|
|
8478
8511
|
schema: {
|
|
8479
8512
|
properties: {
|
|
8513
|
+
custom_metadata: {
|
|
8514
|
+
additionalProperties: {
|
|
8515
|
+
nullable: true,
|
|
8516
|
+
oneOf: [
|
|
8517
|
+
{ maxLength: 500, type: 'string' },
|
|
8518
|
+
{ type: 'boolean' },
|
|
8519
|
+
{ format: 'null', nullable: true, type: 'string' },
|
|
8520
|
+
],
|
|
8521
|
+
},
|
|
8522
|
+
type: 'object',
|
|
8523
|
+
},
|
|
8480
8524
|
device_id: { format: 'uuid', type: 'string' },
|
|
8481
8525
|
is_managed: { default: true, type: 'boolean' },
|
|
8482
8526
|
name: { nullable: true, type: 'string' },
|