@seamapi/types 1.151.0 → 1.153.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 +26 -6
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +62 -6
- package/lib/seam/connect/models/connect-webviews/connect-webview.d.ts +3 -3
- package/lib/seam/connect/models/connect-webviews/connect-webview.js +10 -3
- package/lib/seam/connect/models/connect-webviews/connect-webview.js.map +1 -1
- package/lib/seam/connect/models/devices/device-metadata.d.ts +10 -0
- package/lib/seam/connect/models/devices/device-metadata.js +2 -0
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/managed-device.d.ts +18 -0
- package/lib/seam/connect/openapi.d.ts +8 -0
- package/lib/seam/connect/openapi.js +12 -3
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +51 -3
- package/package.json +1 -1
- package/src/lib/seam/connect/models/connect-webviews/connect-webview.ts +14 -3
- package/src/lib/seam/connect/models/devices/device-metadata.ts +2 -0
- package/src/lib/seam/connect/openapi.ts +14 -3
- package/src/lib/seam/connect/route-types.ts +51 -3
|
@@ -1787,9 +1787,19 @@ export interface Routes {
|
|
|
1787
1787
|
url: string;
|
|
1788
1788
|
device_selection_mode: 'none' | 'single' | 'multiple';
|
|
1789
1789
|
accepted_providers: string[];
|
|
1790
|
+
/**
|
|
1791
|
+
---
|
|
1792
|
+
deprecated: Unused. Will be removed.
|
|
1793
|
+
---
|
|
1794
|
+
*/
|
|
1790
1795
|
accepted_devices: string[];
|
|
1791
|
-
|
|
1796
|
+
/**
|
|
1797
|
+
---
|
|
1798
|
+
deprecated: Unused. Will be removed.
|
|
1799
|
+
---
|
|
1800
|
+
*/
|
|
1792
1801
|
any_device_allowed: boolean;
|
|
1802
|
+
any_provider_allowed: boolean;
|
|
1793
1803
|
login_successful: boolean;
|
|
1794
1804
|
status: 'pending' | 'failed' | 'authorized';
|
|
1795
1805
|
custom_redirect_url: string | null;
|
|
@@ -1831,9 +1841,19 @@ export interface Routes {
|
|
|
1831
1841
|
url: string;
|
|
1832
1842
|
device_selection_mode: 'none' | 'single' | 'multiple';
|
|
1833
1843
|
accepted_providers: string[];
|
|
1844
|
+
/**
|
|
1845
|
+
---
|
|
1846
|
+
deprecated: Unused. Will be removed.
|
|
1847
|
+
---
|
|
1848
|
+
*/
|
|
1834
1849
|
accepted_devices: string[];
|
|
1835
|
-
|
|
1850
|
+
/**
|
|
1851
|
+
---
|
|
1852
|
+
deprecated: Unused. Will be removed.
|
|
1853
|
+
---
|
|
1854
|
+
*/
|
|
1836
1855
|
any_device_allowed: boolean;
|
|
1856
|
+
any_provider_allowed: boolean;
|
|
1837
1857
|
login_successful: boolean;
|
|
1838
1858
|
status: 'pending' | 'failed' | 'authorized';
|
|
1839
1859
|
custom_redirect_url: string | null;
|
|
@@ -1866,9 +1886,19 @@ export interface Routes {
|
|
|
1866
1886
|
url: string;
|
|
1867
1887
|
device_selection_mode: 'none' | 'single' | 'multiple';
|
|
1868
1888
|
accepted_providers: string[];
|
|
1889
|
+
/**
|
|
1890
|
+
---
|
|
1891
|
+
deprecated: Unused. Will be removed.
|
|
1892
|
+
---
|
|
1893
|
+
*/
|
|
1869
1894
|
accepted_devices: string[];
|
|
1870
|
-
|
|
1895
|
+
/**
|
|
1896
|
+
---
|
|
1897
|
+
deprecated: Unused. Will be removed.
|
|
1898
|
+
---
|
|
1899
|
+
*/
|
|
1871
1900
|
any_device_allowed: boolean;
|
|
1901
|
+
any_provider_allowed: boolean;
|
|
1872
1902
|
login_successful: boolean;
|
|
1873
1903
|
status: 'pending' | 'failed' | 'authorized';
|
|
1874
1904
|
custom_redirect_url: string | null;
|
|
@@ -2286,6 +2316,8 @@ export interface Routes {
|
|
|
2286
2316
|
product_type: string;
|
|
2287
2317
|
product_model: string;
|
|
2288
2318
|
device_info_model: string;
|
|
2319
|
+
keypad_uuid?: string | undefined;
|
|
2320
|
+
locker_status_hardlock?: number | undefined;
|
|
2289
2321
|
} | undefined;
|
|
2290
2322
|
tedee_metadata?: {
|
|
2291
2323
|
device_id: number;
|
|
@@ -2818,6 +2850,8 @@ export interface Routes {
|
|
|
2818
2850
|
product_type: string;
|
|
2819
2851
|
product_model: string;
|
|
2820
2852
|
device_info_model: string;
|
|
2853
|
+
keypad_uuid?: string | undefined;
|
|
2854
|
+
locker_status_hardlock?: number | undefined;
|
|
2821
2855
|
} | undefined;
|
|
2822
2856
|
tedee_metadata?: {
|
|
2823
2857
|
device_id: number;
|
|
@@ -3724,6 +3758,8 @@ export interface Routes {
|
|
|
3724
3758
|
product_type: string;
|
|
3725
3759
|
product_model: string;
|
|
3726
3760
|
device_info_model: string;
|
|
3761
|
+
keypad_uuid?: string | undefined;
|
|
3762
|
+
locker_status_hardlock?: number | undefined;
|
|
3727
3763
|
} | undefined;
|
|
3728
3764
|
tedee_metadata?: {
|
|
3729
3765
|
device_id: number;
|
|
@@ -4231,6 +4267,8 @@ export interface Routes {
|
|
|
4231
4267
|
product_type: string;
|
|
4232
4268
|
product_model: string;
|
|
4233
4269
|
device_info_model: string;
|
|
4270
|
+
keypad_uuid?: string | undefined;
|
|
4271
|
+
locker_status_hardlock?: number | undefined;
|
|
4234
4272
|
} | undefined;
|
|
4235
4273
|
tedee_metadata?: {
|
|
4236
4274
|
device_id: number;
|
|
@@ -4763,6 +4801,8 @@ export interface Routes {
|
|
|
4763
4801
|
product_type: string;
|
|
4764
4802
|
product_model: string;
|
|
4765
4803
|
device_info_model: string;
|
|
4804
|
+
keypad_uuid?: string | undefined;
|
|
4805
|
+
locker_status_hardlock?: number | undefined;
|
|
4766
4806
|
} | undefined;
|
|
4767
4807
|
tedee_metadata?: {
|
|
4768
4808
|
device_id: number;
|
|
@@ -5270,6 +5310,8 @@ export interface Routes {
|
|
|
5270
5310
|
product_type: string;
|
|
5271
5311
|
product_model: string;
|
|
5272
5312
|
device_info_model: string;
|
|
5313
|
+
keypad_uuid?: string | undefined;
|
|
5314
|
+
locker_status_hardlock?: number | undefined;
|
|
5273
5315
|
} | undefined;
|
|
5274
5316
|
tedee_metadata?: {
|
|
5275
5317
|
device_id: number;
|
|
@@ -6418,6 +6460,8 @@ export interface Routes {
|
|
|
6418
6460
|
product_type: string;
|
|
6419
6461
|
product_model: string;
|
|
6420
6462
|
device_info_model: string;
|
|
6463
|
+
keypad_uuid?: string | undefined;
|
|
6464
|
+
locker_status_hardlock?: number | undefined;
|
|
6421
6465
|
} | undefined;
|
|
6422
6466
|
tedee_metadata?: {
|
|
6423
6467
|
device_id: number;
|
|
@@ -7026,6 +7070,8 @@ export interface Routes {
|
|
|
7026
7070
|
product_type: string;
|
|
7027
7071
|
product_model: string;
|
|
7028
7072
|
device_info_model: string;
|
|
7073
|
+
keypad_uuid?: string | undefined;
|
|
7074
|
+
locker_status_hardlock?: number | undefined;
|
|
7029
7075
|
} | undefined;
|
|
7030
7076
|
tedee_metadata?: {
|
|
7031
7077
|
device_id: number;
|
|
@@ -7817,6 +7863,8 @@ export interface Routes {
|
|
|
7817
7863
|
product_type: string;
|
|
7818
7864
|
product_model: string;
|
|
7819
7865
|
device_info_model: string;
|
|
7866
|
+
keypad_uuid?: string | undefined;
|
|
7867
|
+
locker_status_hardlock?: number | undefined;
|
|
7820
7868
|
} | undefined;
|
|
7821
7869
|
tedee_metadata?: {
|
|
7822
7870
|
device_id: number;
|
package/package.json
CHANGED
|
@@ -19,11 +19,22 @@ export const connect_webview = z.object({
|
|
|
19
19
|
// TODO: Use enum value.
|
|
20
20
|
accepted_providers: z.array(z.string()),
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
accepted_devices: z.array(z.string()).describe(
|
|
23
|
+
`
|
|
24
|
+
---
|
|
25
|
+
deprecated: Unused. Will be removed.
|
|
26
|
+
---
|
|
27
|
+
`,
|
|
28
|
+
),
|
|
29
|
+
any_device_allowed: z.boolean().describe(
|
|
30
|
+
`
|
|
31
|
+
---
|
|
32
|
+
deprecated: Unused. Will be removed.
|
|
33
|
+
---
|
|
34
|
+
`,
|
|
35
|
+
),
|
|
24
36
|
|
|
25
37
|
any_provider_allowed: z.boolean(),
|
|
26
|
-
any_device_allowed: z.boolean(),
|
|
27
38
|
login_successful: z.boolean(),
|
|
28
39
|
status: z.enum(['pending', 'failed', 'authorized']),
|
|
29
40
|
custom_redirect_url: z.string().url().nullable(),
|
|
@@ -205,6 +205,8 @@ export const device_metadata = z
|
|
|
205
205
|
product_type: z.string(),
|
|
206
206
|
product_model: z.string(),
|
|
207
207
|
device_info_model: z.string(),
|
|
208
|
+
keypad_uuid: z.string().optional(),
|
|
209
|
+
locker_status_hardlock: z.number().optional(),
|
|
208
210
|
}),
|
|
209
211
|
|
|
210
212
|
tedee_metadata: z.object({
|
|
@@ -420,9 +420,18 @@ export default {
|
|
|
420
420
|
},
|
|
421
421
|
connect_webview: {
|
|
422
422
|
properties: {
|
|
423
|
-
accepted_devices: {
|
|
423
|
+
accepted_devices: {
|
|
424
|
+
description:
|
|
425
|
+
'\n ---\n deprecated: Unused. Will be removed.\n ---\n ',
|
|
426
|
+
items: { type: 'string' },
|
|
427
|
+
type: 'array',
|
|
428
|
+
},
|
|
424
429
|
accepted_providers: { items: { type: 'string' }, type: 'array' },
|
|
425
|
-
any_device_allowed: {
|
|
430
|
+
any_device_allowed: {
|
|
431
|
+
description:
|
|
432
|
+
'\n ---\n deprecated: Unused. Will be removed.\n ---\n ',
|
|
433
|
+
type: 'boolean',
|
|
434
|
+
},
|
|
426
435
|
any_provider_allowed: { type: 'boolean' },
|
|
427
436
|
authorized_at: {
|
|
428
437
|
format: 'date-time',
|
|
@@ -473,8 +482,8 @@ export default {
|
|
|
473
482
|
'device_selection_mode',
|
|
474
483
|
'accepted_providers',
|
|
475
484
|
'accepted_devices',
|
|
476
|
-
'any_provider_allowed',
|
|
477
485
|
'any_device_allowed',
|
|
486
|
+
'any_provider_allowed',
|
|
478
487
|
'login_successful',
|
|
479
488
|
'status',
|
|
480
489
|
'custom_redirect_url',
|
|
@@ -1245,6 +1254,8 @@ export default {
|
|
|
1245
1254
|
device_id: { type: 'string' },
|
|
1246
1255
|
device_info_model: { type: 'string' },
|
|
1247
1256
|
device_name: { type: 'string' },
|
|
1257
|
+
keypad_uuid: { type: 'string' },
|
|
1258
|
+
locker_status_hardlock: { type: 'number' },
|
|
1248
1259
|
product_model: { type: 'string' },
|
|
1249
1260
|
product_name: { type: 'string' },
|
|
1250
1261
|
product_type: { type: 'string' },
|
|
@@ -2055,9 +2055,19 @@ export interface Routes {
|
|
|
2055
2055
|
url: string
|
|
2056
2056
|
device_selection_mode: 'none' | 'single' | 'multiple'
|
|
2057
2057
|
accepted_providers: string[]
|
|
2058
|
+
/**
|
|
2059
|
+
---
|
|
2060
|
+
deprecated: Unused. Will be removed.
|
|
2061
|
+
---
|
|
2062
|
+
*/
|
|
2058
2063
|
accepted_devices: string[]
|
|
2059
|
-
|
|
2064
|
+
/**
|
|
2065
|
+
---
|
|
2066
|
+
deprecated: Unused. Will be removed.
|
|
2067
|
+
---
|
|
2068
|
+
*/
|
|
2060
2069
|
any_device_allowed: boolean
|
|
2070
|
+
any_provider_allowed: boolean
|
|
2061
2071
|
login_successful: boolean
|
|
2062
2072
|
status: 'pending' | 'failed' | 'authorized'
|
|
2063
2073
|
custom_redirect_url: string | null
|
|
@@ -2099,9 +2109,19 @@ export interface Routes {
|
|
|
2099
2109
|
url: string
|
|
2100
2110
|
device_selection_mode: 'none' | 'single' | 'multiple'
|
|
2101
2111
|
accepted_providers: string[]
|
|
2112
|
+
/**
|
|
2113
|
+
---
|
|
2114
|
+
deprecated: Unused. Will be removed.
|
|
2115
|
+
---
|
|
2116
|
+
*/
|
|
2102
2117
|
accepted_devices: string[]
|
|
2103
|
-
|
|
2118
|
+
/**
|
|
2119
|
+
---
|
|
2120
|
+
deprecated: Unused. Will be removed.
|
|
2121
|
+
---
|
|
2122
|
+
*/
|
|
2104
2123
|
any_device_allowed: boolean
|
|
2124
|
+
any_provider_allowed: boolean
|
|
2105
2125
|
login_successful: boolean
|
|
2106
2126
|
status: 'pending' | 'failed' | 'authorized'
|
|
2107
2127
|
custom_redirect_url: string | null
|
|
@@ -2134,9 +2154,19 @@ export interface Routes {
|
|
|
2134
2154
|
url: string
|
|
2135
2155
|
device_selection_mode: 'none' | 'single' | 'multiple'
|
|
2136
2156
|
accepted_providers: string[]
|
|
2157
|
+
/**
|
|
2158
|
+
---
|
|
2159
|
+
deprecated: Unused. Will be removed.
|
|
2160
|
+
---
|
|
2161
|
+
*/
|
|
2137
2162
|
accepted_devices: string[]
|
|
2138
|
-
|
|
2163
|
+
/**
|
|
2164
|
+
---
|
|
2165
|
+
deprecated: Unused. Will be removed.
|
|
2166
|
+
---
|
|
2167
|
+
*/
|
|
2139
2168
|
any_device_allowed: boolean
|
|
2169
|
+
any_provider_allowed: boolean
|
|
2140
2170
|
login_successful: boolean
|
|
2141
2171
|
status: 'pending' | 'failed' | 'authorized'
|
|
2142
2172
|
custom_redirect_url: string | null
|
|
@@ -2666,6 +2696,8 @@ export interface Routes {
|
|
|
2666
2696
|
product_type: string
|
|
2667
2697
|
product_model: string
|
|
2668
2698
|
device_info_model: string
|
|
2699
|
+
keypad_uuid?: string | undefined
|
|
2700
|
+
locker_status_hardlock?: number | undefined
|
|
2669
2701
|
}
|
|
2670
2702
|
| undefined
|
|
2671
2703
|
tedee_metadata?:
|
|
@@ -3544,6 +3576,8 @@ export interface Routes {
|
|
|
3544
3576
|
product_type: string
|
|
3545
3577
|
product_model: string
|
|
3546
3578
|
device_info_model: string
|
|
3579
|
+
keypad_uuid?: string | undefined
|
|
3580
|
+
locker_status_hardlock?: number | undefined
|
|
3547
3581
|
}
|
|
3548
3582
|
| undefined
|
|
3549
3583
|
tedee_metadata?:
|
|
@@ -5055,6 +5089,8 @@ export interface Routes {
|
|
|
5055
5089
|
product_type: string
|
|
5056
5090
|
product_model: string
|
|
5057
5091
|
device_info_model: string
|
|
5092
|
+
keypad_uuid?: string | undefined
|
|
5093
|
+
locker_status_hardlock?: number | undefined
|
|
5058
5094
|
}
|
|
5059
5095
|
| undefined
|
|
5060
5096
|
tedee_metadata?:
|
|
@@ -5781,6 +5817,8 @@ export interface Routes {
|
|
|
5781
5817
|
product_type: string
|
|
5782
5818
|
product_model: string
|
|
5783
5819
|
device_info_model: string
|
|
5820
|
+
keypad_uuid?: string | undefined
|
|
5821
|
+
locker_status_hardlock?: number | undefined
|
|
5784
5822
|
}
|
|
5785
5823
|
| undefined
|
|
5786
5824
|
tedee_metadata?:
|
|
@@ -6659,6 +6697,8 @@ export interface Routes {
|
|
|
6659
6697
|
product_type: string
|
|
6660
6698
|
product_model: string
|
|
6661
6699
|
device_info_model: string
|
|
6700
|
+
keypad_uuid?: string | undefined
|
|
6701
|
+
locker_status_hardlock?: number | undefined
|
|
6662
6702
|
}
|
|
6663
6703
|
| undefined
|
|
6664
6704
|
tedee_metadata?:
|
|
@@ -7385,6 +7425,8 @@ export interface Routes {
|
|
|
7385
7425
|
product_type: string
|
|
7386
7426
|
product_model: string
|
|
7387
7427
|
device_info_model: string
|
|
7428
|
+
keypad_uuid?: string | undefined
|
|
7429
|
+
locker_status_hardlock?: number | undefined
|
|
7388
7430
|
}
|
|
7389
7431
|
| undefined
|
|
7390
7432
|
tedee_metadata?:
|
|
@@ -8788,6 +8830,8 @@ export interface Routes {
|
|
|
8788
8830
|
product_type: string
|
|
8789
8831
|
product_model: string
|
|
8790
8832
|
device_info_model: string
|
|
8833
|
+
keypad_uuid?: string | undefined
|
|
8834
|
+
locker_status_hardlock?: number | undefined
|
|
8791
8835
|
}
|
|
8792
8836
|
| undefined
|
|
8793
8837
|
tedee_metadata?:
|
|
@@ -9748,6 +9792,8 @@ export interface Routes {
|
|
|
9748
9792
|
product_type: string
|
|
9749
9793
|
product_model: string
|
|
9750
9794
|
device_info_model: string
|
|
9795
|
+
keypad_uuid?: string | undefined
|
|
9796
|
+
locker_status_hardlock?: number | undefined
|
|
9751
9797
|
}
|
|
9752
9798
|
| undefined
|
|
9753
9799
|
tedee_metadata?:
|
|
@@ -10766,6 +10812,8 @@ export interface Routes {
|
|
|
10766
10812
|
product_type: string
|
|
10767
10813
|
product_model: string
|
|
10768
10814
|
device_info_model: string
|
|
10815
|
+
keypad_uuid?: string | undefined
|
|
10816
|
+
locker_status_hardlock?: number | undefined
|
|
10769
10817
|
}
|
|
10770
10818
|
| undefined
|
|
10771
10819
|
tedee_metadata?:
|