@seamapi/types 1.85.0 → 1.86.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/README.md +5 -0
- package/dist/connect.cjs +30 -4
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +78 -3
- package/lib/seam/connect/openapi.d.ts +64 -0
- package/lib/seam/connect/openapi.js +27 -1
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +14 -3
- 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/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +27 -1
- package/src/lib/seam/connect/route-types.ts +14 -3
- package/src/lib/seam/connect/unstable/models/devices/managed-device.ts +2 -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;
|
|
@@ -10197,12 +10241,22 @@ declare const _default: {
|
|
|
10197
10241
|
properties: {
|
|
10198
10242
|
custom_metadata_has: {
|
|
10199
10243
|
additionalProperties: {
|
|
10244
|
+
nullable: boolean;
|
|
10200
10245
|
oneOf: ({
|
|
10201
10246
|
maxLength: number;
|
|
10202
10247
|
type: string;
|
|
10248
|
+
format?: never;
|
|
10249
|
+
nullable?: never;
|
|
10203
10250
|
} | {
|
|
10204
10251
|
type: string;
|
|
10205
10252
|
maxLength?: never;
|
|
10253
|
+
format?: never;
|
|
10254
|
+
nullable?: never;
|
|
10255
|
+
} | {
|
|
10256
|
+
format: string;
|
|
10257
|
+
nullable: boolean;
|
|
10258
|
+
type: string;
|
|
10259
|
+
maxLength?: never;
|
|
10206
10260
|
})[];
|
|
10207
10261
|
};
|
|
10208
10262
|
description: string;
|
|
@@ -10468,12 +10522,22 @@ declare const _default: {
|
|
|
10468
10522
|
properties: {
|
|
10469
10523
|
custom_metadata_has: {
|
|
10470
10524
|
additionalProperties: {
|
|
10525
|
+
nullable: boolean;
|
|
10471
10526
|
oneOf: ({
|
|
10472
10527
|
maxLength: number;
|
|
10473
10528
|
type: string;
|
|
10529
|
+
format?: never;
|
|
10530
|
+
nullable?: never;
|
|
10474
10531
|
} | {
|
|
10475
10532
|
type: string;
|
|
10476
10533
|
maxLength?: never;
|
|
10534
|
+
format?: never;
|
|
10535
|
+
nullable?: never;
|
|
10536
|
+
} | {
|
|
10537
|
+
format: string;
|
|
10538
|
+
nullable: boolean;
|
|
10539
|
+
type: string;
|
|
10540
|
+
maxLength?: never;
|
|
10477
10541
|
})[];
|
|
10478
10542
|
};
|
|
10479
10543
|
description: string;
|
|
@@ -18198,7 +18262,7 @@ interface Routes {
|
|
|
18198
18262
|
device_selection_mode?: ('none' | 'single' | 'multiple') | undefined;
|
|
18199
18263
|
custom_redirect_url?: string | undefined;
|
|
18200
18264
|
custom_redirect_failure_url?: string | undefined;
|
|
18201
|
-
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' | '
|
|
18265
|
+
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;
|
|
18202
18266
|
provider_category?: ('stable' | 'consumer_smartlocks' | 'internal_beta') | undefined;
|
|
18203
18267
|
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
18204
18268
|
automatically_manage_new_devices?: boolean | undefined;
|
|
@@ -18282,7 +18346,7 @@ interface Routes {
|
|
|
18282
18346
|
commonParams: {
|
|
18283
18347
|
user_identifier_key?: string | undefined;
|
|
18284
18348
|
/** Returns devices where the webview's custom_metadata contains all of the provided key/value pairs. */
|
|
18285
|
-
custom_metadata_has?: Record<string, string | boolean> | undefined;
|
|
18349
|
+
custom_metadata_has?: Record<string, string | boolean | null> | undefined;
|
|
18286
18350
|
};
|
|
18287
18351
|
formData: {};
|
|
18288
18352
|
jsonResponse: {
|
|
@@ -18371,7 +18435,7 @@ interface Routes {
|
|
|
18371
18435
|
jsonBody: {};
|
|
18372
18436
|
commonParams: {
|
|
18373
18437
|
/** Returns devices where the account's custom_metadata contains all of the provided key/value pairs. */
|
|
18374
|
-
custom_metadata_has?: Record<string, string | boolean> | undefined;
|
|
18438
|
+
custom_metadata_has?: Record<string, string | boolean | null> | undefined;
|
|
18375
18439
|
};
|
|
18376
18440
|
formData: {};
|
|
18377
18441
|
jsonResponse: {
|
|
@@ -18897,6 +18961,7 @@ interface Routes {
|
|
|
18897
18961
|
created_at: string;
|
|
18898
18962
|
/** Indicates whether Seam manages the device. */
|
|
18899
18963
|
is_managed: true;
|
|
18964
|
+
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
18900
18965
|
};
|
|
18901
18966
|
};
|
|
18902
18967
|
};
|
|
@@ -19370,6 +19435,7 @@ interface Routes {
|
|
|
19370
19435
|
created_at: string;
|
|
19371
19436
|
/** Indicates whether Seam manages the device. */
|
|
19372
19437
|
is_managed: true;
|
|
19438
|
+
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
19373
19439
|
}>;
|
|
19374
19440
|
};
|
|
19375
19441
|
};
|
|
@@ -20161,6 +20227,7 @@ interface Routes {
|
|
|
20161
20227
|
created_at: string;
|
|
20162
20228
|
/** Indicates whether Seam manages the device. */
|
|
20163
20229
|
is_managed: true;
|
|
20230
|
+
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
20164
20231
|
};
|
|
20165
20232
|
device: {
|
|
20166
20233
|
/** Unique identifier for the device. */
|
|
@@ -20612,6 +20679,7 @@ interface Routes {
|
|
|
20612
20679
|
created_at: string;
|
|
20613
20680
|
/** Indicates whether Seam manages the device. */
|
|
20614
20681
|
is_managed: true;
|
|
20682
|
+
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
20615
20683
|
};
|
|
20616
20684
|
};
|
|
20617
20685
|
};
|
|
@@ -21085,6 +21153,7 @@ interface Routes {
|
|
|
21085
21153
|
created_at: string;
|
|
21086
21154
|
/** Indicates whether Seam manages the device. */
|
|
21087
21155
|
is_managed: true;
|
|
21156
|
+
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
21088
21157
|
}>;
|
|
21089
21158
|
devices: Array<{
|
|
21090
21159
|
/** Unique identifier for the device. */
|
|
@@ -21536,6 +21605,7 @@ interface Routes {
|
|
|
21536
21605
|
created_at: string;
|
|
21537
21606
|
/** Indicates whether Seam manages the device. */
|
|
21538
21607
|
is_managed: true;
|
|
21608
|
+
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
21539
21609
|
}>;
|
|
21540
21610
|
};
|
|
21541
21611
|
};
|
|
@@ -22280,6 +22350,7 @@ interface Routes {
|
|
|
22280
22350
|
created_at: string;
|
|
22281
22351
|
/** Indicates whether Seam manages the device. */
|
|
22282
22352
|
is_managed: true;
|
|
22353
|
+
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
22283
22354
|
assa_abloy_credential_service_metadata?: {
|
|
22284
22355
|
has_active_endpoint: boolean;
|
|
22285
22356
|
endpoints: Array<{
|
|
@@ -22763,6 +22834,7 @@ interface Routes {
|
|
|
22763
22834
|
created_at: string;
|
|
22764
22835
|
/** Indicates whether Seam manages the device. */
|
|
22765
22836
|
is_managed: true;
|
|
22837
|
+
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
22766
22838
|
assa_abloy_credential_service_metadata?: {
|
|
22767
22839
|
has_active_endpoint: boolean;
|
|
22768
22840
|
endpoints: Array<{
|
|
@@ -23409,6 +23481,7 @@ interface Routes {
|
|
|
23409
23481
|
created_at: string;
|
|
23410
23482
|
/** Indicates whether Seam manages the device. */
|
|
23411
23483
|
is_managed: true;
|
|
23484
|
+
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
23412
23485
|
};
|
|
23413
23486
|
};
|
|
23414
23487
|
};
|
|
@@ -23912,6 +23985,7 @@ interface Routes {
|
|
|
23912
23985
|
created_at: string;
|
|
23913
23986
|
/** Indicates whether Seam manages the device. */
|
|
23914
23987
|
is_managed: true;
|
|
23988
|
+
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
23915
23989
|
}>;
|
|
23916
23990
|
};
|
|
23917
23991
|
};
|
|
@@ -24577,6 +24651,7 @@ interface Routes {
|
|
|
24577
24651
|
created_at: string;
|
|
24578
24652
|
/** Indicates whether Seam manages the device. */
|
|
24579
24653
|
is_managed: true;
|
|
24654
|
+
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
24580
24655
|
}>;
|
|
24581
24656
|
};
|
|
24582
24657
|
};
|
|
@@ -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;
|
|
@@ -10123,10 +10167,20 @@ declare const _default: {
|
|
|
10123
10167
|
properties: {
|
|
10124
10168
|
custom_metadata_has: {
|
|
10125
10169
|
additionalProperties: {
|
|
10170
|
+
nullable: boolean;
|
|
10126
10171
|
oneOf: ({
|
|
10127
10172
|
maxLength: number;
|
|
10128
10173
|
type: string;
|
|
10174
|
+
format?: never;
|
|
10175
|
+
nullable?: never;
|
|
10176
|
+
} | {
|
|
10177
|
+
type: string;
|
|
10178
|
+
maxLength?: never;
|
|
10179
|
+
format?: never;
|
|
10180
|
+
nullable?: never;
|
|
10129
10181
|
} | {
|
|
10182
|
+
format: string;
|
|
10183
|
+
nullable: boolean;
|
|
10130
10184
|
type: string;
|
|
10131
10185
|
maxLength?: never;
|
|
10132
10186
|
})[];
|
|
@@ -10394,10 +10448,20 @@ declare const _default: {
|
|
|
10394
10448
|
properties: {
|
|
10395
10449
|
custom_metadata_has: {
|
|
10396
10450
|
additionalProperties: {
|
|
10451
|
+
nullable: boolean;
|
|
10397
10452
|
oneOf: ({
|
|
10398
10453
|
maxLength: number;
|
|
10399
10454
|
type: string;
|
|
10455
|
+
format?: never;
|
|
10456
|
+
nullable?: never;
|
|
10457
|
+
} | {
|
|
10458
|
+
type: string;
|
|
10459
|
+
maxLength?: never;
|
|
10460
|
+
format?: never;
|
|
10461
|
+
nullable?: never;
|
|
10400
10462
|
} | {
|
|
10463
|
+
format: string;
|
|
10464
|
+
nullable: boolean;
|
|
10401
10465
|
type: string;
|
|
10402
10466
|
maxLength?: never;
|
|
10403
10467
|
})[];
|
|
@@ -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
|
},
|
|
@@ -7453,9 +7475,11 @@ export default {
|
|
|
7453
7475
|
properties: {
|
|
7454
7476
|
custom_metadata_has: {
|
|
7455
7477
|
additionalProperties: {
|
|
7478
|
+
nullable: true,
|
|
7456
7479
|
oneOf: [
|
|
7457
7480
|
{ maxLength: 500, type: 'string' },
|
|
7458
7481
|
{ type: 'boolean' },
|
|
7482
|
+
{ format: 'null', nullable: true, type: 'string' },
|
|
7459
7483
|
],
|
|
7460
7484
|
},
|
|
7461
7485
|
description: "Returns devices where the webview's custom_metadata contains all of the provided key/value pairs.",
|
|
@@ -7642,9 +7666,11 @@ export default {
|
|
|
7642
7666
|
properties: {
|
|
7643
7667
|
custom_metadata_has: {
|
|
7644
7668
|
additionalProperties: {
|
|
7669
|
+
nullable: true,
|
|
7645
7670
|
oneOf: [
|
|
7646
7671
|
{ maxLength: 500, type: 'string' },
|
|
7647
7672
|
{ type: 'boolean' },
|
|
7673
|
+
{ format: 'null', nullable: true, type: 'string' },
|
|
7648
7674
|
],
|
|
7649
7675
|
},
|
|
7650
7676
|
description: "Returns devices where the account's custom_metadata contains all of the provided key/value pairs.",
|