@seamapi/types 1.149.0 → 1.149.1
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 +25 -10
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +19 -16
- package/lib/seam/connect/internal/schemas.d.ts +1 -1
- package/lib/seam/connect/internal/schemas.js +1 -1
- package/lib/seam/connect/internal/schemas.js.map +1 -1
- package/lib/seam/connect/models/{connect-webview.d.ts → connect-webviews/connect-webview.d.ts} +6 -5
- package/lib/seam/connect/models/{connect-webview.js → connect-webviews/connect-webview.js} +12 -5
- package/lib/seam/connect/models/connect-webviews/connect-webview.js.map +1 -0
- package/lib/seam/connect/models/connect-webviews/index.d.ts +1 -0
- package/lib/seam/connect/models/connect-webviews/index.js +2 -0
- package/lib/seam/connect/models/connect-webviews/index.js.map +1 -0
- package/lib/seam/connect/models/devices/managed-device.d.ts +0 -5
- package/lib/seam/connect/models/devices/managed-device.js.map +1 -1
- package/lib/seam/connect/models/index.d.ts +1 -1
- package/lib/seam/connect/models/index.js +1 -1
- package/lib/seam/connect/models/index.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +3 -0
- package/lib/seam/connect/openapi.js +13 -5
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +11 -11
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/schemas.ts +2 -0
- package/src/lib/seam/connect/models/acs/entrance.ts +1 -0
- package/src/lib/seam/connect/models/{connect-webview.ts → connect-webviews/connect-webview.ts} +16 -5
- package/src/lib/seam/connect/models/connect-webviews/index.ts +1 -0
- package/src/lib/seam/connect/models/devices/managed-device.ts +0 -9
- package/src/lib/seam/connect/models/index.ts +1 -1
- package/src/lib/seam/connect/openapi.ts +13 -5
- package/src/lib/seam/connect/route-types.ts +11 -11
- package/lib/seam/connect/models/connect-webview.js.map +0 -1
package/dist/connect.d.cts
CHANGED
|
@@ -2,15 +2,15 @@ import { z } from 'zod';
|
|
|
2
2
|
|
|
3
3
|
declare const connect_webview: z.ZodObject<{
|
|
4
4
|
connect_webview_id: z.ZodString;
|
|
5
|
-
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
6
|
-
url: z.ZodString;
|
|
7
5
|
workspace_id: z.ZodString;
|
|
6
|
+
created_at: z.ZodString;
|
|
7
|
+
connected_account_id: z.ZodNullable<z.ZodString>;
|
|
8
|
+
url: z.ZodString;
|
|
8
9
|
device_selection_mode: z.ZodEnum<["none", "single", "multiple"]>;
|
|
9
10
|
accepted_providers: z.ZodArray<z.ZodString, "many">;
|
|
10
11
|
accepted_devices: z.ZodArray<z.ZodString, "many">;
|
|
11
12
|
any_provider_allowed: z.ZodBoolean;
|
|
12
13
|
any_device_allowed: z.ZodBoolean;
|
|
13
|
-
created_at: z.ZodString;
|
|
14
14
|
login_successful: z.ZodBoolean;
|
|
15
15
|
status: z.ZodEnum<["pending", "failed", "authorized"]>;
|
|
16
16
|
custom_redirect_url: z.ZodNullable<z.ZodString>;
|
|
@@ -25,6 +25,7 @@ declare const connect_webview: z.ZodObject<{
|
|
|
25
25
|
status: "pending" | "failed" | "authorized";
|
|
26
26
|
workspace_id: string;
|
|
27
27
|
connect_webview_id: string;
|
|
28
|
+
connected_account_id: string | null;
|
|
28
29
|
url: string;
|
|
29
30
|
device_selection_mode: "none" | "single" | "multiple";
|
|
30
31
|
accepted_providers: string[];
|
|
@@ -39,12 +40,12 @@ declare const connect_webview: z.ZodObject<{
|
|
|
39
40
|
wait_for_device_creation: boolean;
|
|
40
41
|
authorized_at: string | null;
|
|
41
42
|
selected_provider: string | null;
|
|
42
|
-
connected_account_id?: string | undefined;
|
|
43
43
|
}, {
|
|
44
44
|
created_at: string;
|
|
45
45
|
status: "pending" | "failed" | "authorized";
|
|
46
46
|
workspace_id: string;
|
|
47
47
|
connect_webview_id: string;
|
|
48
|
+
connected_account_id: string | null;
|
|
48
49
|
url: string;
|
|
49
50
|
device_selection_mode: "none" | "single" | "multiple";
|
|
50
51
|
accepted_providers: string[];
|
|
@@ -59,7 +60,6 @@ declare const connect_webview: z.ZodObject<{
|
|
|
59
60
|
wait_for_device_creation: boolean;
|
|
60
61
|
authorized_at: string | null;
|
|
61
62
|
selected_provider: string | null;
|
|
62
|
-
connected_account_id?: string | undefined;
|
|
63
63
|
}>;
|
|
64
64
|
type ConnectWebview = z.infer<typeof connect_webview>;
|
|
65
65
|
|
|
@@ -591,6 +591,7 @@ declare const _default: {
|
|
|
591
591
|
};
|
|
592
592
|
connected_account_id: {
|
|
593
593
|
format: string;
|
|
594
|
+
nullable: boolean;
|
|
594
595
|
type: string;
|
|
595
596
|
};
|
|
596
597
|
created_at: {
|
|
@@ -9793,6 +9794,7 @@ declare const _default: {
|
|
|
9793
9794
|
type: string;
|
|
9794
9795
|
};
|
|
9795
9796
|
automatically_manage_new_devices: {
|
|
9797
|
+
default: boolean;
|
|
9796
9798
|
type: string;
|
|
9797
9799
|
};
|
|
9798
9800
|
custom_metadata: {
|
|
@@ -9832,6 +9834,7 @@ declare const _default: {
|
|
|
9832
9834
|
type: string;
|
|
9833
9835
|
};
|
|
9834
9836
|
wait_for_device_creation: {
|
|
9837
|
+
default: boolean;
|
|
9835
9838
|
type: string;
|
|
9836
9839
|
};
|
|
9837
9840
|
};
|
|
@@ -19010,23 +19013,23 @@ interface Routes {
|
|
|
19010
19013
|
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' | 'tedee' | 'honeywell_resideo' | 'latch' | 'yale_access' | 'hid_cm' | 'google_nest'> | undefined;
|
|
19011
19014
|
provider_category?: ('stable' | 'consumer_smartlocks' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'internal_beta') | undefined;
|
|
19012
19015
|
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
19013
|
-
automatically_manage_new_devices?: boolean
|
|
19014
|
-
wait_for_device_creation?: boolean
|
|
19016
|
+
automatically_manage_new_devices?: boolean;
|
|
19017
|
+
wait_for_device_creation?: boolean;
|
|
19015
19018
|
};
|
|
19016
19019
|
commonParams: {};
|
|
19017
19020
|
formData: {};
|
|
19018
19021
|
jsonResponse: {
|
|
19019
19022
|
connect_webview: {
|
|
19020
19023
|
connect_webview_id: string;
|
|
19021
|
-
connected_account_id?: string | undefined;
|
|
19022
|
-
url: string;
|
|
19023
19024
|
workspace_id: string;
|
|
19025
|
+
created_at: string;
|
|
19026
|
+
connected_account_id: string | null;
|
|
19027
|
+
url: string;
|
|
19024
19028
|
device_selection_mode: 'none' | 'single' | 'multiple';
|
|
19025
19029
|
accepted_providers: string[];
|
|
19026
19030
|
accepted_devices: string[];
|
|
19027
19031
|
any_provider_allowed: boolean;
|
|
19028
19032
|
any_device_allowed: boolean;
|
|
19029
|
-
created_at: string;
|
|
19030
19033
|
login_successful: boolean;
|
|
19031
19034
|
status: 'pending' | 'failed' | 'authorized';
|
|
19032
19035
|
custom_redirect_url: string | null;
|
|
@@ -19062,15 +19065,15 @@ interface Routes {
|
|
|
19062
19065
|
jsonResponse: {
|
|
19063
19066
|
connect_webview: {
|
|
19064
19067
|
connect_webview_id: string;
|
|
19065
|
-
connected_account_id?: string | undefined;
|
|
19066
|
-
url: string;
|
|
19067
19068
|
workspace_id: string;
|
|
19069
|
+
created_at: string;
|
|
19070
|
+
connected_account_id: string | null;
|
|
19071
|
+
url: string;
|
|
19068
19072
|
device_selection_mode: 'none' | 'single' | 'multiple';
|
|
19069
19073
|
accepted_providers: string[];
|
|
19070
19074
|
accepted_devices: string[];
|
|
19071
19075
|
any_provider_allowed: boolean;
|
|
19072
19076
|
any_device_allowed: boolean;
|
|
19073
|
-
created_at: string;
|
|
19074
19077
|
login_successful: boolean;
|
|
19075
19078
|
status: 'pending' | 'failed' | 'authorized';
|
|
19076
19079
|
custom_redirect_url: string | null;
|
|
@@ -19097,15 +19100,15 @@ interface Routes {
|
|
|
19097
19100
|
jsonResponse: {
|
|
19098
19101
|
connect_webviews: Array<{
|
|
19099
19102
|
connect_webview_id: string;
|
|
19100
|
-
connected_account_id?: string | undefined;
|
|
19101
|
-
url: string;
|
|
19102
19103
|
workspace_id: string;
|
|
19104
|
+
created_at: string;
|
|
19105
|
+
connected_account_id: string | null;
|
|
19106
|
+
url: string;
|
|
19103
19107
|
device_selection_mode: 'none' | 'single' | 'multiple';
|
|
19104
19108
|
accepted_providers: string[];
|
|
19105
19109
|
accepted_devices: string[];
|
|
19106
19110
|
any_provider_allowed: boolean;
|
|
19107
19111
|
any_device_allowed: boolean;
|
|
19108
|
-
created_at: string;
|
|
19109
19112
|
login_successful: boolean;
|
|
19110
19113
|
status: 'pending' | 'failed' | 'authorized';
|
|
19111
19114
|
custom_redirect_url: string | null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { access_code_code_constraint, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_access_method_type, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_credential_provisioning_automation, acs_entrance, acs_system, acs_system_capability_flags, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, capabilities, climate_setting, climate_setting_schedule, common_device_properties, custom_metadata_input, device_capability_flags, dormakaba_oracode_time_slot, enrollment_automation, fan_mode_setting, lock_device_type, managed_access_code, managed_device, network, noise_sensor_device_type, phone, phone_number, thermostat_capability_properties, thermostat_device_type, unmanaged_access_code, unmanaged_device, user_identity, } from '../models/index.js';
|
|
1
|
+
export { access_code_code_constraint, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_access_method_type, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_credential_provisioning_automation, acs_entrance, acs_system, acs_system_capability_flags, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, capabilities, climate_setting, climate_setting_schedule, common_device_properties, connect_webview_device_selection_mode, custom_metadata_input, device_capability_flags, device_metadata, dormakaba_oracode_time_slot, enrollment_automation, fan_mode_setting, lock_device_type, managed_access_code, managed_device, network, noise_sensor_device_type, phone, phone_number, thermostat_capability_properties, thermostat_device_type, unmanaged_access_code, unmanaged_device, user_identity, } from '../models/index.js';
|
|
2
2
|
export * from '../schemas.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { access_code_code_constraint, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_access_method_type, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_credential_provisioning_automation, acs_entrance, acs_system, acs_system_capability_flags, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, capabilities, climate_setting, climate_setting_schedule, common_device_properties, custom_metadata_input, device_capability_flags, dormakaba_oracode_time_slot, enrollment_automation, fan_mode_setting, lock_device_type, managed_access_code, managed_device, network, noise_sensor_device_type, phone, phone_number, thermostat_capability_properties, thermostat_device_type, unmanaged_access_code, unmanaged_device, user_identity, } from '../models/index.js';
|
|
1
|
+
export { access_code_code_constraint, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_access_method_type, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_credential_provisioning_automation, acs_entrance, acs_system, acs_system_capability_flags, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, capabilities, climate_setting, climate_setting_schedule, common_device_properties, connect_webview_device_selection_mode, custom_metadata_input, device_capability_flags, device_metadata, dormakaba_oracode_time_slot, enrollment_automation, fan_mode_setting, lock_device_type, managed_access_code, managed_device, network, noise_sensor_device_type, phone, phone_number, thermostat_capability_properties, thermostat_device_type, unmanaged_access_code, unmanaged_device, user_identity, } from '../models/index.js';
|
|
2
2
|
export * from '../schemas.js';
|
|
3
3
|
//# sourceMappingURL=schemas.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/internal/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,gBAAgB,EAChB,8BAA8B,EAC9B,cAAc,EACd,iCAAiC,EACjC,4BAA4B,EAC5B,mBAAmB,EACnB,iCAAiC,EACjC,sCAAsC,EACtC,YAAY,EACZ,UAAU,EACV,2BAA2B,EAC3B,wBAAwB,EACxB,QAAQ,EACR,sBAAsB,EACtB,eAAe,EACf,cAAc,EACd,YAAY,EACZ,eAAe,EACf,wBAAwB,EACxB,wBAAwB,EACxB,qBAAqB,EACrB,uBAAuB,EACvB,2BAA2B,EAC3B,qBAAqB,EACrB,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EACnB,cAAc,EACd,OAAO,EACP,wBAAwB,EACxB,KAAK,EACL,YAAY,EACZ,gCAAgC,EAChC,sBAAsB,EACtB,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,GACd,MAAM,oBAAoB,CAAA;AAC3B,cAAc,eAAe,CAAA"}
|
|
1
|
+
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/internal/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,gBAAgB,EAChB,8BAA8B,EAC9B,cAAc,EACd,iCAAiC,EACjC,4BAA4B,EAC5B,mBAAmB,EACnB,iCAAiC,EACjC,sCAAsC,EACtC,YAAY,EACZ,UAAU,EACV,2BAA2B,EAC3B,wBAAwB,EACxB,QAAQ,EACR,sBAAsB,EACtB,eAAe,EACf,cAAc,EACd,YAAY,EACZ,eAAe,EACf,wBAAwB,EACxB,wBAAwB,EACxB,qCAAqC,EACrC,qBAAqB,EACrB,uBAAuB,EACvB,eAAe,EACf,2BAA2B,EAC3B,qBAAqB,EACrB,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EACnB,cAAc,EACd,OAAO,EACP,wBAAwB,EACxB,KAAK,EACL,YAAY,EACZ,gCAAgC,EAChC,sBAAsB,EACtB,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,GACd,MAAM,oBAAoB,CAAA;AAC3B,cAAc,eAAe,CAAA"}
|
package/lib/seam/connect/models/{connect-webview.d.ts → connect-webviews/connect-webview.d.ts}
RENAMED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
export declare const connect_webview_device_selection_mode: z.ZodEnum<["none", "single", "multiple"]>;
|
|
2
3
|
export declare const connect_webview: z.ZodObject<{
|
|
3
4
|
connect_webview_id: z.ZodString;
|
|
4
|
-
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
5
|
-
url: z.ZodString;
|
|
6
5
|
workspace_id: z.ZodString;
|
|
6
|
+
created_at: z.ZodString;
|
|
7
|
+
connected_account_id: z.ZodNullable<z.ZodString>;
|
|
8
|
+
url: z.ZodString;
|
|
7
9
|
device_selection_mode: z.ZodEnum<["none", "single", "multiple"]>;
|
|
8
10
|
accepted_providers: z.ZodArray<z.ZodString, "many">;
|
|
9
11
|
accepted_devices: z.ZodArray<z.ZodString, "many">;
|
|
10
12
|
any_provider_allowed: z.ZodBoolean;
|
|
11
13
|
any_device_allowed: z.ZodBoolean;
|
|
12
|
-
created_at: z.ZodString;
|
|
13
14
|
login_successful: z.ZodBoolean;
|
|
14
15
|
status: z.ZodEnum<["pending", "failed", "authorized"]>;
|
|
15
16
|
custom_redirect_url: z.ZodNullable<z.ZodString>;
|
|
@@ -25,6 +26,7 @@ export declare const connect_webview: z.ZodObject<{
|
|
|
25
26
|
created_at: string;
|
|
26
27
|
workspace_id: string;
|
|
27
28
|
connect_webview_id: string;
|
|
29
|
+
connected_account_id: string | null;
|
|
28
30
|
device_selection_mode: "none" | "multiple" | "single";
|
|
29
31
|
accepted_providers: string[];
|
|
30
32
|
accepted_devices: string[];
|
|
@@ -38,13 +40,13 @@ export declare const connect_webview: z.ZodObject<{
|
|
|
38
40
|
wait_for_device_creation: boolean;
|
|
39
41
|
authorized_at: string | null;
|
|
40
42
|
selected_provider: string | null;
|
|
41
|
-
connected_account_id?: string | undefined;
|
|
42
43
|
}, {
|
|
43
44
|
url: string;
|
|
44
45
|
status: "failed" | "pending" | "authorized";
|
|
45
46
|
created_at: string;
|
|
46
47
|
workspace_id: string;
|
|
47
48
|
connect_webview_id: string;
|
|
49
|
+
connected_account_id: string | null;
|
|
48
50
|
device_selection_mode: "none" | "multiple" | "single";
|
|
49
51
|
accepted_providers: string[];
|
|
50
52
|
accepted_devices: string[];
|
|
@@ -58,6 +60,5 @@ export declare const connect_webview: z.ZodObject<{
|
|
|
58
60
|
wait_for_device_creation: boolean;
|
|
59
61
|
authorized_at: string | null;
|
|
60
62
|
selected_provider: string | null;
|
|
61
|
-
connected_account_id?: string | undefined;
|
|
62
63
|
}>;
|
|
63
64
|
export type ConnectWebview = z.infer<typeof connect_webview>;
|
|
@@ -1,16 +1,23 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { custom_metadata } from '
|
|
2
|
+
import { custom_metadata } from '../custom-metadata.js';
|
|
3
|
+
export const connect_webview_device_selection_mode = z.enum([
|
|
4
|
+
'none',
|
|
5
|
+
'single',
|
|
6
|
+
'multiple',
|
|
7
|
+
]);
|
|
3
8
|
export const connect_webview = z.object({
|
|
4
9
|
connect_webview_id: z.string().uuid(),
|
|
5
|
-
connected_account_id: z.string().uuid().optional(),
|
|
6
|
-
url: z.string().url(),
|
|
7
10
|
workspace_id: z.string().uuid(),
|
|
8
|
-
|
|
11
|
+
created_at: z.string().datetime(),
|
|
12
|
+
connected_account_id: z.string().uuid().nullable(),
|
|
13
|
+
url: z.string().url(),
|
|
14
|
+
device_selection_mode: connect_webview_device_selection_mode,
|
|
15
|
+
// TODO: Use enum value.
|
|
9
16
|
accepted_providers: z.array(z.string()),
|
|
17
|
+
// TODO: Use enum value.
|
|
10
18
|
accepted_devices: z.array(z.string()),
|
|
11
19
|
any_provider_allowed: z.boolean(),
|
|
12
20
|
any_device_allowed: z.boolean(),
|
|
13
|
-
created_at: z.string().datetime(),
|
|
14
21
|
login_successful: z.boolean(),
|
|
15
22
|
status: z.enum(['pending', 'failed', 'authorized']),
|
|
16
23
|
custom_redirect_url: z.string().url().nullable(),
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connect-webview.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/connect-webviews/connect-webview.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAEvD,MAAM,CAAC,MAAM,qCAAqC,GAAG,CAAC,CAAC,IAAI,CAAC;IAC1D,MAAM;IACN,QAAQ;IACR,UAAU;CACX,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACrC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,oBAAoB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IAClD,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACrB,qBAAqB,EAAE,qCAAqC;IAE5D,wBAAwB;IACxB,kBAAkB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAEvC,wBAAwB;IACxB,gBAAgB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAErC,oBAAoB,EAAE,CAAC,CAAC,OAAO,EAAE;IACjC,kBAAkB,EAAE,CAAC,CAAC,OAAO,EAAE;IAC/B,gBAAgB,EAAE,CAAC,CAAC,OAAO,EAAE;IAC7B,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,QAAQ,EAAE,YAAY,CAAC,CAAC;IACnD,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAChD,2BAA2B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACxD,eAAe;IACf,gCAAgC,EAAE,CAAC,CAAC,OAAO,EAAE;IAC7C,wBAAwB,EAAE,CAAC,CAAC,OAAO,EAAE;IACrC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC/C,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACzC,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './connect-webview.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/connect-webviews/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import type { SetRequired, Simplify } from 'type-fest';
|
|
2
1
|
import { z } from 'zod';
|
|
3
|
-
import { device_metadata } from './device-metadata.js';
|
|
4
2
|
export declare const device_capability_flags: z.ZodObject<{
|
|
5
3
|
can_remotely_unlock: z.ZodOptional<z.ZodBoolean>;
|
|
6
4
|
can_remotely_lock: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3921,6 +3919,3 @@ export declare const managed_device: z.ZodObject<{
|
|
|
3921
3919
|
can_simulate_removal?: boolean | undefined;
|
|
3922
3920
|
}>;
|
|
3923
3921
|
export type ManagedDevice = z.infer<typeof managed_device>;
|
|
3924
|
-
export type ManagedDeviceWithBackendMetadata<MetadataKey extends keyof z.infer<typeof device_metadata>> = Simplify<ManagedDevice & {
|
|
3925
|
-
properties: SetRequired<ManagedDevice['properties'], MetadataKey>;
|
|
3926
|
-
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"managed-device.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/devices/managed-device.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"managed-device.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/devices/managed-device.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAErE,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAA;AACzE,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAA;AAEjE,MAAM,CAAC,MAAM,uBAAuB,GAClC,gBAAgB,CAAC,uBAAuB,CAAC,MAAM,CAAC;IAC9C,oBAAoB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAC7C,CAAC,CAAA;AAEJ,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,CAAA;AAIzE,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,yCAAyC,CAAC;IACvE,IAAI,EAAE,CAAC,CAAC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K,CACJ,CAAC,CAAC,MAAM,CAAC;QACP,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;QACtB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;KACpB,CAAC,CACH;SACA,QAAQ,CACP,mYAAmY,CACpY;IACH,QAAQ,EAAE,CAAC;SACR,KAAK,CACJ,CAAC,CAAC,MAAM,CAAC;QACP,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;QACxB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;KACpB,CAAC,CACH;SACA,QAAQ,CACP,+YAA+Y,CAChZ;IACH,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,uDAAuD,CAAC;IACpE,UAAU,EAAE,CAAC;SACV,OAAO,CAAC,IAAI,CAAC;SACb,QAAQ,CAAC,4CAA4C,CAAC;IACzD,eAAe;CAChB,CAAC;KACD,KAAK,CAAC,uBAAuB,CAAC,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * from './access-codes/index.js';
|
|
2
2
|
export * from './acs/index.js';
|
|
3
3
|
export * from './capability-properties/index.js';
|
|
4
|
-
export * from './connect-
|
|
4
|
+
export * from './connect-webviews/index.js';
|
|
5
5
|
export * from './custom-metadata.js';
|
|
6
6
|
export * from './devices/index.js';
|
|
7
7
|
export * from './network.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * from './access-codes/index.js';
|
|
2
2
|
export * from './acs/index.js';
|
|
3
3
|
export * from './capability-properties/index.js';
|
|
4
|
-
export * from './connect-
|
|
4
|
+
export * from './connect-webviews/index.js';
|
|
5
5
|
export * from './custom-metadata.js';
|
|
6
6
|
export * from './devices/index.js';
|
|
7
7
|
export * from './network.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,kCAAkC,CAAA;AAChD,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,kCAAkC,CAAA;AAChD,cAAc,6BAA6B,CAAA;AAC3C,cAAc,sBAAsB,CAAA;AACpC,cAAc,oBAAoB,CAAA;AAClC,cAAc,cAAc,CAAA;AAC5B,cAAc,mBAAmB,CAAA;AACjC,cAAc,oBAAoB,CAAA"}
|
|
@@ -517,6 +517,7 @@ declare const _default: {
|
|
|
517
517
|
};
|
|
518
518
|
connected_account_id: {
|
|
519
519
|
format: string;
|
|
520
|
+
nullable: boolean;
|
|
520
521
|
type: string;
|
|
521
522
|
};
|
|
522
523
|
created_at: {
|
|
@@ -9719,6 +9720,7 @@ declare const _default: {
|
|
|
9719
9720
|
type: string;
|
|
9720
9721
|
};
|
|
9721
9722
|
automatically_manage_new_devices: {
|
|
9723
|
+
default: boolean;
|
|
9722
9724
|
type: string;
|
|
9723
9725
|
};
|
|
9724
9726
|
custom_metadata: {
|
|
@@ -9758,6 +9760,7 @@ declare const _default: {
|
|
|
9758
9760
|
type: string;
|
|
9759
9761
|
};
|
|
9760
9762
|
wait_for_device_creation: {
|
|
9763
|
+
default: boolean;
|
|
9761
9764
|
type: string;
|
|
9762
9765
|
};
|
|
9763
9766
|
};
|
|
@@ -411,7 +411,11 @@ export default {
|
|
|
411
411
|
},
|
|
412
412
|
automatically_manage_new_devices: { type: 'boolean' },
|
|
413
413
|
connect_webview_id: { format: 'uuid', type: 'string' },
|
|
414
|
-
connected_account_id: {
|
|
414
|
+
connected_account_id: {
|
|
415
|
+
format: 'uuid',
|
|
416
|
+
nullable: true,
|
|
417
|
+
type: 'string',
|
|
418
|
+
},
|
|
415
419
|
created_at: { format: 'date-time', type: 'string' },
|
|
416
420
|
custom_metadata: {
|
|
417
421
|
additionalProperties: {
|
|
@@ -442,14 +446,15 @@ export default {
|
|
|
442
446
|
},
|
|
443
447
|
required: [
|
|
444
448
|
'connect_webview_id',
|
|
445
|
-
'url',
|
|
446
449
|
'workspace_id',
|
|
450
|
+
'created_at',
|
|
451
|
+
'connected_account_id',
|
|
452
|
+
'url',
|
|
447
453
|
'device_selection_mode',
|
|
448
454
|
'accepted_providers',
|
|
449
455
|
'accepted_devices',
|
|
450
456
|
'any_provider_allowed',
|
|
451
457
|
'any_device_allowed',
|
|
452
|
-
'created_at',
|
|
453
458
|
'login_successful',
|
|
454
459
|
'status',
|
|
455
460
|
'custom_redirect_url',
|
|
@@ -7144,7 +7149,10 @@ export default {
|
|
|
7144
7149
|
},
|
|
7145
7150
|
type: 'array',
|
|
7146
7151
|
},
|
|
7147
|
-
automatically_manage_new_devices: {
|
|
7152
|
+
automatically_manage_new_devices: {
|
|
7153
|
+
default: true,
|
|
7154
|
+
type: 'boolean',
|
|
7155
|
+
},
|
|
7148
7156
|
custom_metadata: {
|
|
7149
7157
|
additionalProperties: {
|
|
7150
7158
|
nullable: true,
|
|
@@ -7173,7 +7181,7 @@ export default {
|
|
|
7173
7181
|
],
|
|
7174
7182
|
type: 'string',
|
|
7175
7183
|
},
|
|
7176
|
-
wait_for_device_creation: { type: 'boolean' },
|
|
7184
|
+
wait_for_device_creation: { default: false, type: 'boolean' },
|
|
7177
7185
|
},
|
|
7178
7186
|
type: 'object',
|
|
7179
7187
|
},
|