@seamapi/types 1.85.1 → 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/dist/connect.cjs +24 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +56 -1
- package/lib/seam/connect/openapi.d.ts +44 -0
- package/lib/seam/connect/openapi.js +23 -1
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +12 -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/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +23 -1
- package/src/lib/seam/connect/route-types.ts +12 -1
- 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;
|
|
@@ -18218,7 +18262,7 @@ interface Routes {
|
|
|
18218
18262
|
device_selection_mode?: ('none' | 'single' | 'multiple') | undefined;
|
|
18219
18263
|
custom_redirect_url?: string | undefined;
|
|
18220
18264
|
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' | '
|
|
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;
|
|
18222
18266
|
provider_category?: ('stable' | 'consumer_smartlocks' | 'internal_beta') | undefined;
|
|
18223
18267
|
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
18224
18268
|
automatically_manage_new_devices?: boolean | undefined;
|
|
@@ -18917,6 +18961,7 @@ interface Routes {
|
|
|
18917
18961
|
created_at: string;
|
|
18918
18962
|
/** Indicates whether Seam manages the device. */
|
|
18919
18963
|
is_managed: true;
|
|
18964
|
+
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
18920
18965
|
};
|
|
18921
18966
|
};
|
|
18922
18967
|
};
|
|
@@ -19390,6 +19435,7 @@ interface Routes {
|
|
|
19390
19435
|
created_at: string;
|
|
19391
19436
|
/** Indicates whether Seam manages the device. */
|
|
19392
19437
|
is_managed: true;
|
|
19438
|
+
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
19393
19439
|
}>;
|
|
19394
19440
|
};
|
|
19395
19441
|
};
|
|
@@ -20181,6 +20227,7 @@ interface Routes {
|
|
|
20181
20227
|
created_at: string;
|
|
20182
20228
|
/** Indicates whether Seam manages the device. */
|
|
20183
20229
|
is_managed: true;
|
|
20230
|
+
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
20184
20231
|
};
|
|
20185
20232
|
device: {
|
|
20186
20233
|
/** Unique identifier for the device. */
|
|
@@ -20632,6 +20679,7 @@ interface Routes {
|
|
|
20632
20679
|
created_at: string;
|
|
20633
20680
|
/** Indicates whether Seam manages the device. */
|
|
20634
20681
|
is_managed: true;
|
|
20682
|
+
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
20635
20683
|
};
|
|
20636
20684
|
};
|
|
20637
20685
|
};
|
|
@@ -21105,6 +21153,7 @@ interface Routes {
|
|
|
21105
21153
|
created_at: string;
|
|
21106
21154
|
/** Indicates whether Seam manages the device. */
|
|
21107
21155
|
is_managed: true;
|
|
21156
|
+
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
21108
21157
|
}>;
|
|
21109
21158
|
devices: Array<{
|
|
21110
21159
|
/** Unique identifier for the device. */
|
|
@@ -21556,6 +21605,7 @@ interface Routes {
|
|
|
21556
21605
|
created_at: string;
|
|
21557
21606
|
/** Indicates whether Seam manages the device. */
|
|
21558
21607
|
is_managed: true;
|
|
21608
|
+
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
21559
21609
|
}>;
|
|
21560
21610
|
};
|
|
21561
21611
|
};
|
|
@@ -22300,6 +22350,7 @@ interface Routes {
|
|
|
22300
22350
|
created_at: string;
|
|
22301
22351
|
/** Indicates whether Seam manages the device. */
|
|
22302
22352
|
is_managed: true;
|
|
22353
|
+
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
22303
22354
|
assa_abloy_credential_service_metadata?: {
|
|
22304
22355
|
has_active_endpoint: boolean;
|
|
22305
22356
|
endpoints: Array<{
|
|
@@ -22783,6 +22834,7 @@ interface Routes {
|
|
|
22783
22834
|
created_at: string;
|
|
22784
22835
|
/** Indicates whether Seam manages the device. */
|
|
22785
22836
|
is_managed: true;
|
|
22837
|
+
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
22786
22838
|
assa_abloy_credential_service_metadata?: {
|
|
22787
22839
|
has_active_endpoint: boolean;
|
|
22788
22840
|
endpoints: Array<{
|
|
@@ -23429,6 +23481,7 @@ interface Routes {
|
|
|
23429
23481
|
created_at: string;
|
|
23430
23482
|
/** Indicates whether Seam manages the device. */
|
|
23431
23483
|
is_managed: true;
|
|
23484
|
+
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
23432
23485
|
};
|
|
23433
23486
|
};
|
|
23434
23487
|
};
|
|
@@ -23932,6 +23985,7 @@ interface Routes {
|
|
|
23932
23985
|
created_at: string;
|
|
23933
23986
|
/** Indicates whether Seam manages the device. */
|
|
23934
23987
|
is_managed: true;
|
|
23988
|
+
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
23935
23989
|
}>;
|
|
23936
23990
|
};
|
|
23937
23991
|
};
|
|
@@ -24597,6 +24651,7 @@ interface Routes {
|
|
|
24597
24651
|
created_at: string;
|
|
24598
24652
|
/** Indicates whether Seam manages the device. */
|
|
24599
24653
|
is_managed: true;
|
|
24654
|
+
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
24600
24655
|
}>;
|
|
24601
24656
|
};
|
|
24602
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;
|
|
@@ -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
|
},
|